Affiliate Keywords Text

Discussion in 'Templates customization' started by cindybidar, Mar 28, 2016.

  1. cindybidar

    cindybidar aMember Pro Customer

    Joined:
    Oct 3, 2012
    Messages:
    12
    Where can I edit the text on the "Keywords" page on the Member Dashboard? And is it possible to remove that page completely?
  2. caesar

    caesar aMember Pro Developer Staff Member

    Joined:
    Oct 16, 2009
    Messages:
    2,295
    You can edit this text in following file
    amember/application/aff/views/aff/keywords.phtml

    It is possible to disable this page in Affiliate module configuration at
    aMember CP -> Configuration -> Setup/Configuration -> Affiliate
  3. cindybidar

    cindybidar aMember Pro Customer

    Joined:
    Oct 3, 2012
    Messages:
    12
    Thanks for the quick reply - but what am I looking for here:

    aMember CP -> Configuration -> Setup/Configuration -> Affiliate

    I don't see a way to disable the "keywords" menu item.
  4. caesar

    caesar aMember Pro Developer Staff Member

    Joined:
    Oct 16, 2009
    Messages:
    2,295
    I guess you use not recent version of aMember and it has not such option yet. Do you mind to upgrade to recent version?
  5. cindybidar

    cindybidar aMember Pro Customer

    Joined:
    Oct 3, 2012
    Messages:
    12
    I am using version 4.7.2 - the latest one available as far as I can see.
  6. caesar

    caesar aMember Pro Developer Staff Member

    Joined:
    Oct 16, 2009
    Messages:
    2,295
    Latest version is 5.0.5. You can upgrade to this version manually
    http://www.amember.com/docs/Upgrading_to_New_Version

    Another option you can remove this item from menu the following way.
    Edit file site.php (http://www.amember.com/docs/Site.php_file) and put following code to it:
    PHP:
    Am_Di::getInstance()->hook->add(Am_Event::USER_MENU, function(Am_Event $e) {
        
    $m $e->getMenu();
        if (
    $aff $m->findBy('id''aff')) {
            if (
    $k $aff->findBy('id''aff-keywords')) {
                
    $aff->removePage($k);
            }
        }
    });

Share This Page