Remove button navigation form payment form.

Discussion in 'Templates customization' started by budoshingikan, Jun 23, 2014.

  1. budoshingikan

    budoshingikan New Member

    Joined:
    Jan 26, 2013
    Messages:
    3
    How do I remove the navigation at the top of the Credit Card payment page? I think it confuses people.

    [​IMG]
  2. dale_sellers

    dale_sellers aMember Pro Customer

    Joined:
    Apr 12, 2013
    Messages:
    70
    Did you ever figure this out? When they are in the order process, I would like them to only see order type buttons, not all the nav buttons for the membership area. My guess is that it could be done with a simple "if statement" in site.php, but it's not simple to me. Any suggestions greatly appreciated.
  3. caesar

    caesar aMember Pro Developer Staff Member

    Joined:
    Oct 16, 2009
    Messages:
    1,659
    You need to edit some templates to achieve it. Please edit files
    amember/application/default/views/signup/signup.phtml
    amember/application/cc/views/cc/info.phtml

    and on top of these files add the following code
    PHP:
    <?php $this->layoutNoMenu true?>
    Actually I recommend to use themes instead of alter default templates. Please have a look
    http://www.amember.com/docs/Themes_and_Templates
  4. dale_sellers

    dale_sellers aMember Pro Customer

    Joined:
    Apr 12, 2013
    Messages:
    70
  5. dale_sellers

    dale_sellers aMember Pro Customer

    Joined:
    Apr 12, 2013
    Messages:
    70
    Works great. I also added snippet in...

    /amember/application/cart/views/cart/_basket.phtml

    ..., which took the nav menu out of the basket. I used custom theme as instructed:

    /members/application/default/themes/custom/cart/_basket.phtml

Share This Page