網路論壇
登入
網路論壇
simple-navigation
會話群組
關於
提供意見
說明
simple-navigation
聯絡版主和管理員
第 1 - 30 個,共有 126 個
全部標示為已讀取
檢舉群組
已選取 0 列
Mike
2022/3/8
Dynamically Order Menu Items
Is there any way I can order the menu items dynamically? So primary.item :account, 'Home',
未讀,
Dynamically Order Menu Items
Is there any way I can order the menu items dynamically? So primary.item :account, 'Home',
2022/3/8
joelc...@gmail.com
,
Andi Schacke
3
2018/7/16
Custom class on submenu ul
Can't get my head around it, but thanks anyway. quinta-feira, 5 de Julho de 2018 às 15:41:15 UTC+
未讀,
Custom class on submenu ul
Can't get my head around it, but thanks anyway. quinta-feira, 5 de Julho de 2018 às 15:41:15 UTC+
2018/7/16
rafael.mun...@gmail.com
,
Andi Schacke
2
2018/1/22
How to render my main menu with simple-navigation?
Hi Rafael, I don't think I get your problem. What do you mean by 'relate this form with
未讀,
How to render my main menu with simple-navigation?
Hi Rafael, I don't think I get your problem. What do you mean by 'relate this form with
2018/1/22
rafael.mun...@gmail.com
,
Andi Schacke
2
2017/11/26
I cannot install gem "simple-navigation"
Did you execute "rails generate navigation_config” as described in the docs? On Tue, Nov 21,
未讀,
I cannot install gem "simple-navigation"
Did you execute "rails generate navigation_config” as described in the docs? On Tue, Nov 21,
2017/11/26
siv...@a9.com
2017/11/2
Finding whether there is sub menu
I would like to identify for a selected top level menu item if there is sub menu or not. The main
未讀,
Finding whether there is sub menu
I would like to identify for a selected top level menu item if there is sub menu or not. The main
2017/11/2
Andi Schacke
2017/9/27
Re: [simple-navigation] Dynamically populate navigation from 3 models (primary, sub, sub-sub)
Hi Daniel, have you checked https://github.com/codeplant/simple-navigation/wiki/Dynamic-Navigation-
未讀,
Re: [simple-navigation] Dynamically populate navigation from 3 models (primary, sub, sub-sub)
Hi Daniel, have you checked https://github.com/codeplant/simple-navigation/wiki/Dynamic-Navigation-
2017/9/27
thef...@gmail.com
,
Andi Schacke
3
2015/6/1
Is possible to render <a> tag before <li> tag
Glad you could rewrite the code. The common way of rendering navigations is a-tag inside li-tag... If
未讀,
Is possible to render <a> tag before <li> tag
Glad you could rewrite the code. The common way of rendering navigations is a-tag inside li-tag... If
2015/6/1
aash.d...@gmail.com
,
Andi Schacke
2
2015/5/14
Error while running tests
the specs can be tested against multiple rails versions and thus you have to set a specific gem file:
未讀,
Error while running tests
the specs can be tested against multiple rails versions and thus you have to set a specific gem file:
2015/5/14
Alan Gallagher
,
Andi Schacke
2
2015/2/10
undefined local variable or method `render_navigation'
In your config file your refer to variable url, which is not defined anywere. You have to replace url
未讀,
undefined local variable or method `render_navigation'
In your config file your refer to variable url, which is not defined anywere. You have to replace url
2015/2/10
Shantanu Banerjee
, …
bruc...@autotrader.com
4
2014/10/28
undefined local variable or method `pages_menu' for #<#<Class:0xb506c3f8>:0xb50812bc>
attaching sample app On Tuesday, October 28, 2014 5:12:52 PM UTC-4, brucex wrote: I'm having the
未讀,
undefined local variable or method `pages_menu' for #<#<Class:0xb506c3f8>:0xb50812bc>
attaching sample app On Tuesday, October 28, 2014 5:12:52 PM UTC-4, brucex wrote: I'm having the
2014/10/28
Emery Miller
,
Andi Schacke
3
2014/6/10
Is there a way to globally configure :highlights_on => :subpath
Hi Andi, Great to hear about it's inclusion in 4.0, thanks for the confirmation. Cheers, Emery On
未讀,
Is there a way to globally configure :highlights_on => :subpath
Hi Andi, Great to hear about it's inclusion in 4.0, thanks for the confirmation. Cheers, Emery On
2014/6/10
happ...@gmail.com
,
Andi Schacke
6
2014/2/18
I'm not able to use specs
Now that I'm working on cleaning up the gem, using `gemspec` in the Gemfile solved the problem, I
未讀,
I'm not able to use specs
Now that I'm working on cleaning up the gem, using `gemspec` in the Gemfile solved the problem, I
2014/2/18
dlo...@gmail.com
,
Andi Schacke
2
2013/10/17
How To: Create a custom renderer that can create a similar navigation to Bootstrap
Hey, please see my answer on Stack Overflow. Cheers, Andi On Wed, Oct 16, 2013 at 11:29 PM, <
未讀,
How To: Create a custom renderer that can create a similar navigation to Bootstrap
Hey, please see my answer on Stack Overflow. Cheers, Andi On Wed, Oct 16, 2013 at 11:29 PM, <
2013/10/17
sange...@gmail.com
,
Andi Schacke
5
2013/9/20
Rendering subnav for GET and POST to the same page
There certainly seem to be some similarities. I'll try implementing some of those workarounds and
未讀,
Rendering subnav for GET and POST to the same page
There certainly seem to be some similarities. I'll try implementing some of those workarounds and
2013/9/20
mchava...@gmail.com
,
Andi Schacke
3
2013/9/4
Access to Navigation items from ApplicationController? v3.9.0
Did you check out the json renderer? It can also output hashes… Maybe it helps. https://github.com/
未讀,
Access to Navigation items from ApplicationController? v3.9.0
Did you check out the json renderer? It can also output hashes… Maybe it helps. https://github.com/
2013/9/4
fredrik.c...@gmail.com
,
Andi Schacke
2
2013/7/22
Allways expand sub menu
Hi Frederik, you can set the expand_all option to true in your render_navigation call. Andi On Tue,
未讀,
Allways expand sub menu
Hi Frederik, you can set the expand_all option to true in your render_navigation call. Andi On Tue,
2013/7/22
sigm...@gmail.com
, …
extreme....@gmail.com
6
2013/7/19
Problems with submenu rendering. Menu is built dynamically
Never mind.. I got it working. Was a bug in my model code.. A fully dynamic menu can be done using
未讀,
Problems with submenu rendering. Menu is built dynamically
Never mind.. I got it working. Was a bug in my model code.. A fully dynamic menu can be done using
2013/7/19
p.tes...@gmail.com
,
extreme....@gmail.com
3
2013/7/19
Deeply nested model
I actually got it working thanks to the help from a friend.. here is the code I used (ps. those CSS
未讀,
Deeply nested model
I actually got it working thanks to the help from a friend.. here is the code I used (ps. those CSS
2013/7/19
victor....@gmail.com
,
Andi Schacke
4
2013/5/13
problem with a redirection in url in menu option
Sorry for the late reply, are you still having issues with this? Andi On Tue, Feb 12, 2013 at 1:58 PM
未讀,
problem with a redirection in url in menu option
Sorry for the late reply, are you still having issues with this? Andi On Tue, Feb 12, 2013 at 1:58 PM
2013/5/13
gaa...@gmail.com
,
Andi Schacke
2
2013/4/7
Grouping a few items under one title
If sub1-sub4 are on the same level of navigation, this is not possible out of the box. You would
未讀,
Grouping a few items under one title
If sub1-sub4 are on the same level of navigation, this is not possible out of the box. You would
2013/4/7
daniel...@gmail.com
,
Andi Schacke
2
2013/3/30
Simple Navigation dosn't work for application with Devise.Is there way to fix it?
Can you post your stacktrace? Thanks. On Sat, Mar 30, 2013 at 3:52 AM, <daniel...@gmail.com
未讀,
Simple Navigation dosn't work for application with Devise.Is there way to fix it?
Can you post your stacktrace? Thanks. On Sat, Mar 30, 2013 at 3:52 AM, <daniel...@gmail.com
2013/3/30
telese...@gmail.com
,
Andi Schacke
3
2013/3/28
Example of horizontal tabs with some tabs having drop down menu
This really sounds exactly like a very common use case for using a jquery/javascript menu plugin. I
未讀,
Example of horizontal tabs with some tabs having drop down menu
This really sounds exactly like a very common use case for using a jquery/javascript menu plugin. I
2013/3/28
miz...@enigmaguild.org
,
Andi Schacke
3
2013/3/11
Controlling outer divs on 3rd level menu, and adjusting layout accordingly
Many thanks Andi! I have to say the level of feedback and support within the rails community as a
未讀,
Controlling outer divs on 3rd level menu, and adjusting layout accordingly
Many thanks Andi! I have to say the level of feedback and support within the rails community as a
2013/3/11
ja...@centrelearn.com
,
Andi Schacke
2
2013/1/30
Method to check if second level exists for an item?
Hi Jason, please check SimpleNavigation::Helpers#active_navigation_item in the source code. You can
未讀,
Method to check if second level exists for an item?
Hi Jason, please check SimpleNavigation::Helpers#active_navigation_item in the source code. You can
2013/1/30
Andi Schacke
2013/1/30
Re: [simple-navigation] Wrap Sub Nav in span tag
I guess you have three options: 1) Write a custom renderer which generates exactly the html output
未讀,
Re: [simple-navigation] Wrap Sub Nav in span tag
I guess you have three options: 1) Write a custom renderer which generates exactly the html output
2013/1/30
camer...@gmail.com
2
2013/1/9
Is possible to add an id to ul tag?
Got it just add to navigation.items do |primary| primary.dom_id = 'navigation' end Love this
未讀,
Is possible to add an id to ul tag?
Got it just add to navigation.items do |primary| primary.dom_id = 'navigation' end Love this
2013/1/9
Steven Noble
,
Andi Schacke
3
2012/12/17
trying to include a confirmation dialogue with my delete links
Thanks. Sorry I missed that one. I was searching too literally for "confirm" options rather
未讀,
trying to include a confirmation dialogue with my delete links
Thanks. Sorry I missed that one. I was searching too literally for "confirm" options rather
2012/12/17
Steven Noble
, …
Andi Schacke
4
2012/12/17
why isn't my :unless Proc stopping this primary.item from displaying?
Thanks. That makes sense. Steven. On 17/12/2012, at 8:39 PM, Andi Schacke <andreas.schacke@gmail.
未讀,
why isn't my :unless Proc stopping this primary.item from displaying?
Thanks. That makes sense. Steven. On 17/12/2012, at 8:39 PM, Andi Schacke <andreas.schacke@gmail.
2012/12/17
venkata reddy
,
Andi Schacke
2
2012/11/26
show breadcrumbs only if it contains more than on item(link)
Not out of the box, unfortunately... The initial purpose of simple-navigation was to render
未讀,
show breadcrumbs only if it contains more than on item(link)
Not out of the box, unfortunately... The initial purpose of simple-navigation was to render
2012/11/26
Bryan
,
mjtko
3
2012/11/7
Trouble adding dynamic categories to menu
That was it! Sometimes it takes someone else looking at your code to notice something so obvious.
未讀,
Trouble adding dynamic categories to menu
That was it! Sometimes it takes someone else looking at your code to notice something so obvious.
2012/11/7