Quote:
Originally Posted by BeakerUK
I'm probably being stupid, and I have done a search around. However how would I go about using the navbar link to automatically open in a new window or tab?
Many thanks in advance!
|
If I am not mistaken, you need to go to:
AdminCP -> Plugins & Products -> Plugin Manager -> Cyb- Chatbox -> parse_templates -> Edit
Find:
Code:
$cybcb_navbarlink = "<a href=\"misc.php?do=cchatbox\">".$vbphrase['cybcb_chatbox_full']."</a>";
Replace with:
Code:
$cybcb_navbarlink = "<a href=\"misc.php?do=cchatbox\" target=\"_blank\">".$vbphrase['cybcb_chatbox_full']."</a>";
This should open the Chatbox Full version (the link in the navbar) in a new window. I'm not sure of the HTML command for a new tab, nor if that feature even exists. Let me know if that works.
~ Sean