![]() |
$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. |
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)
|
Got it, thanks Lynne!
|
All times are GMT. The time now is 06:49 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|