PDA

View Full Version : Adding AdminCP and ModCP Links to NavBar


theforumist
11-14-2014, 04:42 PM
I'm looking to add links to AdminCP and ModCP under quick links in it's own section in the navbar on my forum. How would I go about doing that?

Lynne
11-14-2014, 04:58 PM
Look in the navbar template and find the template_hook you want to use, then create a plugin using hook location parse_templates and put in this code:

$template_hook['navbar_quick_links_menu_pos1'] .= '<tr><td class="vbmenu_option"><a href="link.php">My Nav Link</a></td></tr>';

Replace "navbar_quick_links_menu_pos1" with your template_hook location and "link.php" with your link and "My Nav Link" with your text.

theforumist
11-14-2014, 06:20 PM
Simple enough. Thank you!