How Can I Remove "Newsletter Archive" Link on member.php?

Discussion in 'Templates customization' started by question, Jun 6, 2010.

  1. question

    question New Member

    Joined:
    Oct 25, 2006
    Messages:
    30
    I have the latest version of Amember and on the member.php page, there is a menu bar across the top that has "main page" "add/renew sub", "your payment history", "newsletter archive", and "edit profile".

    I was wondering exactly how I can remove the "Newsletter Archive" option so it does not show up at all on member.php?

    Thanks in advance!
  2. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    To remove the tab from the file amember/tabs.inc.php

    comment out this line (comment means add //)
    // $this->add(new NewsletterArchiveTab(_TPL_NEWSLETTER_ARCHIVE, 'newsletter.php?a=archive', null));

    David
  3. question

    question New Member

    Joined:
    Oct 25, 2006
    Messages:
    30
    Thanks David, I appreciate it.
  4. rdpioneer

    rdpioneer New Member

    Joined:
    Apr 1, 2010
    Messages:
    27
    didn't work for me.
  5. steve_200

    steve_200 New Member

    Joined:
    Aug 15, 2009
    Messages:
    7
    I cannot see the file referred to.

    There is no file amember/tabs.inc.php that I can see.
    I have version 3.1.8
  6. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    Tabs is on 3.1.9. For 3.1.8 you need to edit member.html

    David

Share This Page