Jump to content

navbar addChild uri target


mitch2k

Recommended Posts

Hi,

 

according to the documentations, I'm trying to add custom links to the six navigation bar:

 

$socialMediaPanel->addChild('twitter-link', array(

'uri' => 'https://twitter.com/ourgreatcompany',

'label' => 'Follow us on Twitter!',

'order' => 2,

'icon' => 'fa-twitter',

));

 

But how can I set the target of the link? I tried this:

'target' => '_blank',

 

but this does not work... anyone an idea how to do this

Link to comment
Share on other sites

  • 4 months later...

Same problem here. I couldn't find any solution for that yet.

Anyone knows how to do it?

The "Options" array for addChild() is not documented where it's supposed to be:

http://docs.whmcs.com/classes/classes/WHMCS.View.Menu.Item.html#method_addChild

 

Please WHMCS team: add which options we can use in the array and add the "target" option if it's not there already.

 

Thank you.

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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