Thursday 26 January 2006 12:08:01 pm
yourtag was a typo of a placeholder named "yourtab" :-) In the code-samples I gave you, you have to replace all occurrences of "yourtab" and "ezyournavigationpart" with your values, e.g. you want to display a tab with the label "Community" then you could replace "yourtab" with "communitytab", "[Topmenu_yourtab]" with "[Topmenu_communitytab]", "ezyournavigationpart" with "ezcommunitypart" and so on. By the way. In the [Topmenu_...] section you can specify the string that you will see on your tab by assigning it to Name= To make the system a little bit clearer: First, define with a [Topmenu_...] section the attributes you want your tab to have (name, URL etc) then assign this as a [NavigationPart]. Remeber that Part[XXX]=YYY of the navigationpart section has to be equal to NavigationPartIdenfifier=XXX in the [Topmenu_YYY] section. Now, you have a tab that can be integrated into a menu. To show your tab in the top admin menu, just add the Tabs[]=YYY tab to the [TopAdminMenu] section.
sp@php.net
|