![]() |
New Help zone called resources?
I'm trying to create a new area, just like the help zone, but called resources
I have copied the help files, renamed and edited, but they don't work. I think the problem is in the php files: help.php Code:
# I have copied this and renamed it resources.php. I changed .include/help.php to include/resources.php, then copied and renamed the help.php file in the include folder. I took out all of the code that I thought was unnecessary for the resources section so my include/resources.php now looks like this: Code:
# OK, the main variable affects the title of the page in home.tpl, but where does the help_section variable go? (I have changed help_section to resources_section above.) I apologise if this doesn't make sense, I'm just at a loss about how to do this. Any advice gratefully received, Thanks Amy |
Hi Amy,
You'll want to do a check on the $main variable in skin1/customer/home_main.tpl Code:
{elseif $main eq "resources"} I'm not sure how your resources.php file looks now, but make sure you require auth.php, otherwise you may run into some errors if some requirements aren't being included. |
All times are GMT -8. The time now is 03:38 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.