How to customize user tabs in member's area

Discussion in 'aMember Pro v.4' started by fmagusto, Apr 7, 2013.

  1. fmagusto

    fmagusto Guest

    Hi, my site.php is

    Am_Di::getInstance()->hook->add(Am_Event::USER_MENU, 'onUserMenu');
    function onUserMenu(Am_Event $event)
    {
    $event->getMenu()->addPage(
    array(
    'id' => 'pageid',
    'label' => 'Blog Infoconcours',
    'uri' => '/blog',
    'order' => 1000
    )

    );

    I whant to
    // Remove a tab
    And
    // Add sub item to exiting tab

    But http://www.amember.com/docs/How_to_customize_user_tabs_in_member's_area
    Is dont work
  2. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    What tab do you want to remove and where new tab should be added exactly?
  3. fmagusto

    fmagusto Guest

    hi

    I want to del Renouveler/Ajouter un abonnement
    and add

    array(
    'id' => 'pageid',
    'label' => 'Wiki',
    'uri' => '/wiki',
    'order' => 809
    )

    hear
    {
    $event->getMenu()->addPage(
    array(
    'id' => 'pageid',
    'label' => 'Blog Infoconcours',
    'uri' => '/blog',
    'order' => 1000
    )

    );
  4. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    Are these custom bricks which you have added?
    Please contact us in helpdesk and provide access info then.

Share This Page