The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
$navclass use
I'm moving two custom pages and using USERCP_SHELL to incorporate the pages into the User CP. When I view the pages $navclass is basically non-existant and the menu is black (custom style). What am I forgetting to include/missing to get $navclass to display in the menu? I'm just using alt2 for the custom links in the menu so that's fine, but how do I include the navclass variable?
Thanks for your help. I'm assuming it's easy, but can't find it. |
#2
|
||||
|
||||
So you are writing your own custom pages? You will need to include the code from the member.php page that defines $navclass if you want to use it on your custom page. ($navclass is defined in the function construct_usercp_nav, which is in functions_user.php)
|
#3
|
|||
|
|||
Got it, thanks Lynne!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|