Announcement

Collapse
No announcement yet.

Create custom navbar for forum home only?

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

  • Create custom navbar for forum home only?

    What would be the best way to have a custom navbar on ONLY the forum home? Could I create another navbar style and name it navar2, then edit the FORUMHOME template to say $navbar2 instead of $navbar? I would want only the navbar on the forum home to be different, and the rest of the pages would be the default style navbar.

    Thanks.

  • #2
    If you are editing this template:

    Admin CP -> Styles & Templates -> Style Manager -> « » -> Navigation / Breadcrumb Templates -> navbar

    Then you can use a condition like this to display something on the index page only:

    Code:
    <if condition="THIS_SCRIPT == 'index'">
    
    </if>

    Comment

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