View Full Version : Where does the breadcrumb come from?
robertpro2a
08-14-2008, 01:57 AM
I have a custom template, and it correctly includes the $navbar line. But I need to set that navbar line somehow in the custompage.php line. Is there like a:
"define('set_location', "Show This On Navbar") kind of thing?
Thanks.
RLShare
08-14-2008, 02:20 AM
$navbits = array();
$navbits[$parent] = 'Your Page Name';
$navbits = construct_navbits($navbits);
eval('$navbar = "' . fetch_template('navbar') . '";');
robertpro2a
08-14-2008, 04:17 AM
Thank you very much RLShare! Works perfectly..although is there a way to add a URL to it? For example:
$navbits = array("Knowledge Base");
$navbits[$parent] = 'Select Model';
$navbits = construct_navbits($navbits);
eval('$navbar = "' . fetch_template('navbar') . '";');
eval('print_output("' . fetch_template('blank') . '");');
Which outputs:
My Site> Knowledge Base
-----------------------_>Select Model
But I would like to make "Knowledge Base" have a URL. Right now it has a default URL of "0".
Thanks.
Dismounted
08-14-2008, 07:23 AM
$navbits = array();
$navbits['knowledgebase.php'] = 'Knowledge Base';
$navbits[$parent] = 'Select Model';
$navbits = construct_navbits($navbits);
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.