Announcement

Collapse
No announcement yet.

Is there a way to have a banner below the Navbar in the forum only? I do not want it to show on cms.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [Forum] Is there a way to have a banner below the Navbar in the forum only? I do not want it to show on cms.

    I noticed that if I use the global banner, the banner shows on the cms page too.

  • #2
    Well, I'm a novice, but I just wrote this code which I think will solve your problem. I'll test it in a moment and report back:

    Basically you add this to the end of your header template.
    Code:
    <vb:if condition="THIS_SCRIPT == 'vbcms'">
    <style type="text/css">
    #ad_global_below_navbar{ display:none; }
    </style>
    </vb:if>
    The idea is to use a conditional to see if you're on the CMS page and if so to remove that specific ad.

    - - - Updated - - -

    Just tested on vB 4.2 and it works.
    Last edited by dougdirac; Wed 19th Sep '12, 5:58pm. Reason: typo: your --> you're

    Comment


    • #3
      So did this work for you?

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...
      X