Removing buttons

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • areyes
    New Member
    • Jul 2002
    • 16

    Removing buttons

    I would like to remove the "members" and "calendar" buttons from the top of all of the pages because the client does not want this functionality and disabling the functionality doesn't get rid of the button. Do I have to remove the buttons from every template or is there a faster method to "globally" add/remove buttons?

    Thanks in advance,
    Alison
  • Jake Bunce
    Senior Member
    • Dec 2000
    • 46598
    • 3.6.x

    #2
    Admin CP -> Templates -> Modify -> [expand list] -> header. remove the code in red:

    <!-- toplinks -->
    <a href="usercp.php?s=$session[sessionhash]"><img src="{imagesfolder}/top_profile.gif" alt="Here you can view your subscribed threads, work with private messages and edit your profile and preferences" border="0"></a>
    <a href="register.php?s=$session[sessionhash]&action=signup"><img src="{imagesfolder}/top_register.gif" alt="Registration is free!" border="0"></a>
    <a href="calendar.php?s=$session[sessionhash]"><img src="{imagesfolder}/top_calendar.gif" alt="Calendar" border="0"></a>
    <a href="memberlist.php?s=$session[sessionhash]"><img src="{imagesfolder}/top_members.gif" alt="Find other members" border="0"></a>

    <a href="misc.php?s=$session[sessionhash]&action=faq"><img src="{imagesfolder}/top_faq.gif" alt="Frequently Asked Questions" border="0"></a>
    <a href="search.php?s=$session[sessionhash]"><img src="{imagesfolder}/top_search.gif" alt="Search" border="0"></a>
    <a href="index.php?s=$session[sessionhash]"><img src="{imagesfolder}/top_home.gif" alt="Home" border="0"></a>
    <!-- <a href="member.php?s=$session[sessionhash]&action=logout"><img src="{imagesfolder}/top_logout.gif" alt="Logout" border="0"></a> -->
    &nbsp;
    <!-- /toplinks -->

    Comment

    • areyes
      New Member
      • Jul 2002
      • 16

      #3
      Perfect!!

      Thanks, you're the man! I promise no more questions today

      Comment

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