Hi
I need to instal may home page menunavbar in vb 5 - how i can make it - any ideas?
I need to instal may home page menunavbar in vb 5 - how i can make it - any ideas?
Welcome to the vBulletin support forums! In our community forums you can receive professional support and assistance with any issues you might have with your vBulletin Products.
Useful Links for Guests:
If you are having problems posting in the relevant areas for your software, please see this topic.
<?php class myproductname_Api_Page extends vB_Api_Extensions { public $product = 'myproductname'; public $version = '1.0.0'; public $developer = 'Foo Developer'; public $title = 'Site Integration'; public $minver = '5.0.0'; public $maxver = '6.0.0'; public $infourl = ''; public $checkurl = ''; public $AutoInstall = 0; public $extensionOrder = 5; public function fetchPageById($page, $pageid, $routeData = array()) { ob_start(); include('myheader.php'); $page['myHeader'] = ob_get_contents(); ob_end_clean(); ob_start(); include('myfooter.php'); $page['myFooter'] = ob_get_contents(); ob_end_clean(); return $page; } } ?>
{vb:raw page.myHeader} or {vb:raw page.myFooter}
Comment