PHP Code:
$navbits[$parent] = 'Sudbury Skate Spots'';
should be
PHP Code:
$navbits[$parent] = 'Sudbury Skate Spots';
(it had an extra quote)
Also,
PHP Code:
chdir('$vboptions[homeurl]/');
won't work, as $vboptions is set after global.php is ran, and of course even if it was set, you can't use variables inside single quotes.
Quote:
Originally Posted by James Grant
This is a really useful bit of code, but i want to change the style to something different too :ermm:
|
Assuming you are on 3.0.x: (mine is 3.0.7, may be a little dif)
global.php - find:
PHP Code:
$styleid = intval($styleid);
Above it, add:
PHP Code:
if (THIS_SCRIPT == 'yourscriptname')
{
$styleid = X;
}
(where yourscriptname is what you have defined at the top of your page)