Remove 'Write a testimonial' from menu.html?

Discussion in 'Templates customization' started by conan, Oct 7, 2004.

  1. conan

    conan Guest

    Hi there.

    This isn't something that's eating my brain away all day but I would like the answer.

    Menu.html holds all the links that we see on the left while logged in to Admin. I wanted to remove the 'Write a testimonial' link as it's not really needed by my client. Unfortunately it also has {if is_lite() } which isn't happy when it's removed from the page and causes the whole thing to crash. I guess it's a Smarty thing but could you please let me know a quick way to take it out? I've left the 'aMember Manual' link there as they will definately need that :)

    Thanks

    Andrew
  2. jasondavis

    jasondavis New Member

    Joined:
    Aug 1, 2003
    Messages:
    85
    why don't you just remove

    Code:
     <li type=square><a target=_blank href="http://www.cgi-central.net/forum/forumdisplay.php?f=18">Write a testimonial</a>
  3. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    ..
    from amember/templates/menu.html

    :)
  4. conan

    conan Guest

    Nice one Alex

    Thanks for that. It worked.

    If I delete the whole

    <li type=square><a target=_blank href="http://www.cgi-central.net/forum/forumdisplay.php?f=18">Write a testimonial</a> {if is_lite() }

    in one go, the page crashes..........BUT if I leave the {if is_lite() } at the end, it all works good.

    Andrew

Share This Page