Make different menus appear for different pages

Discussion in 'Templates customization' started by benfitts, Mar 6, 2011.

  1. benfitts

    benfitts Member

    Joined:
    Apr 10, 2008
    Messages:
    111
    Is it possible in Amember 3.2.3

    To put some conditional code in layout.html to only show a menu for specific pages? For example I have a navigation menu that appears on some pages but I don't want it to appear on others.

    For example: I don't want the menu to appear on the thanks page...
  2. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    Whats the IF that you want it to show for. not show for?
    ex. - product based?

    David
  3. benfitts

    benfitts Member

    Joined:
    Apr 10, 2008
    Messages:
    111
    Hi David,

    Thanks for your response.

    It is not product based. It is page based.

    I don't want the menu to appear on thanks.html, no matter what product someone purchased.

    I have AMThankYou and AMOffers.

    What is happening right now is my regular menu is appearing on the thank you page which throws off the entire page. Since I have AMThankYou I know it will generate the appropriate links for my members, so I want to hide my normal menu on the thank you page.
  4. benfitts

    benfitts Member

    Joined:
    Apr 10, 2008
    Messages:
    111
    I guess I can just turn off my header/footer and use the ones that come with AMOffers?

    However it might be good to know in the future if there is a way to hide the menu on a per page basis. Maybe I want to hide my menu from the profile page, or affiliates page or whatever.

    Thanks in advance!
  5. catalinse

    catalinse New Member

    Joined:
    Apr 19, 2009
    Messages:
    17
    If you want to hide for all products that is easy modification from footer and header but if you want to to make per product then its another story.
    How i see this is to create a new thank you page for every product with his own header and footer. I dont find anything yet to be at a push of button.

    If you find a better way i will like to know.

    Regards

Share This Page