PDA

View Full Version : Is there a conditional for 'viewing forums'


JMEWLS`
10-25-2012, 03:34 AM
I want to put an individual banner up for my forums part that isn't visible on the CMS/mainpage.

Is this possible?

Ideally it's going to go atop of the navbar.

kh99
10-25-2012, 11:18 AM
You could try this:

<vb:if condition="!defined('CMS_SCRIPT') OR !CMS_SCRIPT">
// Only on non-cms pages
</vb:if>

JMEWLS`
10-26-2012, 08:12 AM
Is there also a conditional for viewing css parts?

kh99
10-26-2012, 11:01 AM
I'm not sure what you mean - can you give an example of a url (minus the domain name if you don't want to link to your site).

JMEWLS`
10-26-2012, 09:05 PM
CMS* Sorry, it was late last night. :lol:

kh99
10-26-2012, 09:16 PM
I thought you meant CMS, but unfortunately I still don't know what you mean.