X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   How to set new *.tpl in "help_section" (https://forum.x-cart.com/showthread.php?t=8749)

loman 08-03-2004 08:30 AM

How to set new *.tpl in "help_section"
 
I need to add new 'sections' to the "help" section. It appears the *.tpl files called by
www.??.com/store/partner/help.php?section=
are required to have values set for their respective 'section name' so the system some how recognizes them by the name listed after "?section="

Example= /store/partner/help.php?section=conditions
calls /store/help/conditions.tpl
which in turn has an include calling "help/conditions_customers.tpl"

If I create a new file named disclaimer.tpl, how do I set the x-cart system to recognize disclaimer.tpl when called from the link
/store/partner/help.php?section=disclaimer
which is supposed to call
/store/help/disclaimer.tpl
which in turn has an include calling "help/disclaimer_customers.tpl"

Is this value or variable set in a *.php file called even earlier?

shan 08-03-2004 09:30 AM

see skin1/help/index.tpl

eg

Code:

{elseif $section eq "newsection"}
{include file="help/newsection.tpl"}


loman 08-03-2004 10:08 AM

Shan, thank you...that is exactly what I needed!


All times are GMT -8. The time now is 04:30 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.