search for: sidebar_menu

Displaying 3 results from an estimated 3 matches for "sidebar_menu".

2006 May 04
1
How do I identify the initiating View from within a Helper?
I would like to call a helper method from my View to construct a sidebar menu. The menu is contextual, so ideally I would like to do something like this: View ---- <%= sidebar_menu %> Helper ------ def sidebar_menu case _calling_view_ when ''_view_identifier_'' ... build menu... end end where ''_calling_view_'' is the key that points to the ''_view_identifier_'', if this this makes sense! I could send a para...
2006 May 04
1
Re: How do I identify the initiating View from within aHelper?
...Rails] Re: How do I identify the initiating View from within aHelper? Lindsay Boyd wrote: > I would like to call a helper method from my View to construct a sidebar > menu. The menu is contextual, so ideally I would like to do something > like this: > > View > ---- > <%= sidebar_menu %> > > Helper > ------ > def sidebar_menu > case _calling_view_ > when ''_view_identifier_'' > ... build menu... > end > end > > where ''_calling_view_'' is the key that points to the > ''_view_identifie...
2011 Aug 16
7
left menu for Fedena Project
i wanna add left menu in the http://demo.projectfedena.org/ login:admin password:admin123 as there is no left menu in that i thought of adding a left menu. can any one tell how to do that with ROR. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to