Hi,
I am trying to highlight a custom menu on the top navbar, but no success so far. Anyone would be kind enough to point me in the right direction?
This is my custom page:
Thank you very much!
I am trying to highlight a custom menu on the top navbar, but no success so far. Anyone would be kind enough to point me in the right direction?
This is my custom page:
Code:
// ####################### SET PHP ENVIRONMENT ########################### error_reporting(E_ALL & ~E_NOTICE); // #################### DEFINE IMPORTANT CONSTANTS ####################### define('THIS_SCRIPT', 'publicidade'); define('CSRF_PROTECTION', true); // change this depending on your filename // ################### PRE-CACHE TEMPLATES AND DATA ###################### // get special phrase groups $phrasegroups = array(); // get special data templates from the datastore $specialtemplates = array(); // pre-cache templates used by all actions $globaltemplates = array('publicidade', ); // pre-cache templates used by specific actions $actiontemplates = array(); // ######################### REQUIRE BACK-END ############################ // if your page is outside of your normal vb forums directory, you should change directories by uncommenting the next line // chdir ('/path/to/your/forums'); require_once('./global.php'); // ####################################################################### // ######################## START MAIN SCRIPT ############################ // ####################################################################### $navbits = construct_navbits(array('' => 'publicidade')); $navbar = render_navbar_template($navbits); // ###### NOW YOUR TEMPLATE IS BEING RENDERED ###### $templater = vB_Template::create('publicidade'); $templater->register_page_templates(); $templater->register('navbar', $navbar); print_output($templater->render());
Comment