Log in

View Full Version : CMS Section name variable?


Kolyana
07-06-2011, 10:14 PM
We have been trying really hard to find a solution to this problem.

I'm trying to build a custom sub menu system that is linked to certain cms pages. The only solution I can think of is getting the current cms section via a variable. But I'm having a very difficult time finding that variable.

We just want to do a

<vb:if condition="$vboptions['CURRENT_CMS_SECTION'] == 'ARTWORK'">
// show submenu a
<vb:selse />
// show submenu b
</vb:if>

We don't want to hook, we don't want to define it on the admin side, we just want to be able to define and show the proper submenu from the template.

Thanks in advanced for any help.

brandondrury
10-27-2012, 06:06 PM
I need this same exact variable but am having hell finding the variables for the CMS.

Alright, I scraped something up: https://vborg.vbsupport.ru/showthread.php?t=289747

Brandon