ok, so must be missing the obvious. I've added a new menu to the header
view, but i cannot get it to be selected. Here is what I've added:

= topnav_tab :groups.l, { :url => groups_path, :section => 'groups' }

do i need to add the 'groups' section somewhere? I tried the applicatio.yml
with no luck, and couldn't find anywhere else it might go.

thoughts?


--
Levi Rosol
Twitter: @LeviRosol


On Mon, Dec 1, 2008 at 11:02 AM, Bruno Bornsztein <
[EMAIL PROTECTED]> wrote:

> Look in base_helper.rb#topnav_tab
>
> On Fri, Nov 28, 2008 at 12:34 AM, Levi Rosol <[EMAIL PROTECTED]> wrote:
>
>>
>> and on a related note, I'm having troubles getting a "selected" class
>> for my new menu item. Where can i find the logic used to build this
>> menu? specifically, where does it determine and set the selected
>> class?  Here's the code for the menu i've added:
>>
>> = topnav_tab :groups.l, { :url => groups_path, :section => 'groups' }
>>
>> This seems simple, so i'm sure i'm missing the obvious.
>>
>> Levi
>>
>> On Nov 28, 12:17 am, Levi Rosol <[EMAIL PROTECTED]> wrote:
>> > What header view is being or should be used? From what I can tell, the
>> > one that is being used is the header inside of the dappled theme that
>> > I've applied.
>> >
>> > My question is it necessary to have the header in the themes/dappled/
>> > views/shared folder? In my case i want to add additional menu items to
>> > the menu and have found that the header in the app/views/shared folder
>> > is getting ignored.
>> >
>> > I assume that if i delete the header in the dappled folder, the view
>> > in my app/views/shared will be used. Is this correct?
>>
>>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CommunityEngine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/communityengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to