I hope someone could point me in the right direction here, im fairly new to vb so bear with me.
Im trying to to pass a php value from a varible to my navigation menu.
Im using a method from alistapart.com, that uses php to rewrite the current class in css.
What i have to do create a varible, in my case its
PHP Code:
$thisPage="Community";
after this i include the navagtion.php menu.
Ok so i know this menu works for the rest of my site but i cant get it to pass the varible.
I have created several plugins,
- One to include the header (of my main script)
- One to Set the $thisPage
- One to include the navagation.php
I have enabled the plugin system and nearly everything works, only problem is that vbulletin justs prints the varible's value instead of storing it .
im calling the plugin $thisPage in my vb header file, and my plugin contains
PHP Code:
$thisPage="Community";
vb just prints the word "Community" ?
Any ideas