PDA

View Full Version : Creating new navbar tabs for different CMS sections


anolian
07-16-2011, 03:51 PM
EDIT: don't worry - I solved it eventually! Cheers

Hi

I've looked a lot for a solution to my problem, but all those I have found seem to solve only half of it. Hopefully someone can show me what I'm missing please.

I want to use vbCMS. As well as forums and blogs, I want several content sections with their own navbar tabs (equivalent to Home, Forums, Blogs, etc) which link to differnet sections in the CMS. I want the tabs to remain highlighted while the user remains in that section of my site or any of its subsections.

Effectively, I want to create a new section in the CMS as the same level as the "Home" section. In most CMS, this would be a simple requirement.

Unless I'm missing something, all the VB mod solutions I've seen involve writing a condition using the THIS_SCRIPT variable. However, since THIS_SCRIPT is the same for all vbCMS content, it doesn't allow tabs to link to different sections WITHIN the CMS.

If I can't create a section at the same level as "home" then I need to be able to write a condition which depends on the current section, not the current script (eg - "this_script = XXX && this_section = YYY).

Is there any way to do this ?? I'm amazed it isn't a basic option within vbCMS.

TIA for any assistance anyone can offer!

Cheers, Mike