The sidebar navigation that you get with custom admin tabs is
generated by the farcry_core/admin/custom/sidebar.cfm file.  In there
is a call to the menu tag in farcry_core/tags/admin/

In the menu tag the display of the jump menu is controlled by
permissions and whether there are items in the array asubsections.
Like this :

Line 73: <cfif arraylen(asubsections) and showListbox>

In theory you could change this to :

        <cfif arraylen(asubsections) GT 1 and showListbox>

so that the drop down is only displayed if there is more than one subsection.

Bear in mind that changing the core code is a risky proposition.  Any
updates that you apply to core code will be overwritten if/when you
apply any updates.  Its probably worth taking a copy of the menu file
and putting it in a new folder under the tags folder eg. tags/custom
and calling that rather than adjusting the core files.

Hope that helps

Regards

Stephen


On 24/05/06, Coach B <[EMAIL PROTECTED]> wrote:
>
>
> Greetings,
>
> Does any one know what I have to do to remove the subsection drop down box
> in the left nav for a section that only has one subsection?
>
> i.e.
>
> <section id="VisualGuideTab" permission="VisualGuide" label="Visual Guide">
>         <subsection id="VisualGuide" permission="VisualGuide" label="Help">
>                 <menu label="Help Guides">
>                 <menuitem label="Visual Guide" 
> link="/admin/VisualGuide/index.htm" />
>                 </menu>
>         </subsection>
> </section>
>
> Regards Coach

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"farcry-dev" 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/farcry-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to