Jump to content

Adding an affiliate hook under the account menu?


Web Host Pro

Recommended Posts

Hi,

I am trying to add a link tot he affiliate login page under the account menu section. Just like the log in hook for the main section. I would like it to be under the:

login

register

lost password

(Affiliate Login)

Thanks for any help. I've checked the TMSecondaryNavbar.php file but can't see what to add.

I tried to add this: 

$primaryNavbar->getChild('Company')
                    ->addChild('Affiliate Login', array(
                    'uri' => 'affiliates.php',
                    'order' => '20',
                ));

But it crashed the whole site.

Thank you,
Charles

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated