• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Get rid of this button?

Sway

Active member
#4
I have managed to get that removed but now i still have an invisible drop down selection there, and i cant seem to get rid of it :l
 

Neil E.

Active member
#5
I removed the Help button using the TMS (template modification system -addon).

template: Navigation

Search:
Code:
<xen:if is="{$tabs.help}">
  <li class="navTab help {xen:if $tabs.help.selected, 'selected', 'Popup PopupControl PopupClosed'}">
 
    <a href="{$tabs.help.href}" class="navLink" rel="help">{$tabs.help.title}</a>
    <a href="{$tabs.help.href}" class="SplitCtrl" rel="Menu"></a>
 
    <div class="{xen:if {$tabs.help.selected}, 'tabLinks', 'Menu JsOnly tabMenu'}">
    <div class="primaryContent menuHeader">
      <h3>{$tabs.help.title}</h3>
      <div class="muted">{xen:phrase quick_links}</div>
    </div>
    <ul class="secondaryContent blockLinksList">
    <xen:hook name="navigation_tabs_help">
      <li><a href="{xen:link help/smilies}">{xen:phrase smilies}</a></li>
      <li><a href="{xen:link help/bb-codes}">{xen:phrase bb_codes}</a></li>
      <li><a href="{xen:link help/trophies}">{xen:phrase trophies}</a></li>
    </xen:hook>
    </ul>
    </div>
  </li>
</xen:if>

Replace:
leave the field completely blank

Bascially this means the help tab code is never executed. No styling change is required because the tab no longer exists when your page is served out.

I highly recommend using the TMS.
 

Neil E.

Active member
#7
Interesting how some things come back and bite you. While my TMS edit removed the Help tab, it also removed the tabLinks bar (that sits below the navTabs). This shows up ONLY when you click on Terms and Rules taking you to the "terms" page (all other pages are fine; this is why it took me a long time to discover the problem). The Terms and Rules link is at the bottom of the forum.

Using Shelley's CSS, the Help tab is not displayed, however the tabLinks still show when viewing the terms page. I changed my TMS edit to:

search
Code:
<ul class="secondaryContent blockLinksList">
      <xen:hook name="navigation_tabs_help">
            <li><a href="{xen:link help/smilies}">{xen:phrase smilies}</a></li>
            <li><a href="{xen:link help/bb-codes}">{xen:phrase bb_codes}</a></li>
            <li><a href="{xen:link help/trophies}">{xen:phrase trophies}</a></li>
      </xen:hook>
</ul>
replace (blank)

This removes the tabLinks. I expect Shelley will be along shortly to say "Just use this xyz CSS to make these disappear too".