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)
-   -   Super simple question. (https://forum.x-cart.com/showthread.php?t=2764)

poboy 05-18-2003 08:30 PM

Super simple question.
 
I need help. I am making a new page. I can't seem to follow the FAQ's. I already have a tab to insert my link. I tried to follow suite with my help page like so: My help page is:
http://www.pfgpromotionals.com/admin/help.php?

My services page is this:
http://www.pfgpromotionals.com/admin/help.php?section=services

I want to make a page called Outlet Mall, I made my link this:

http://www.pfgpromotionals.com/admin/help.php?section=mall

I then created a template called"mall.tpl" in the help folder. I copied the code from the service.tpl and pasted it in the "mall.tpl" I just get sent to my help index page every time. What am I missing? I feel like somewhere I have to designate that the section "mall" will point to a page with the "mall.tpl" Please help. Thank you.

funkydunk 05-18-2003 10:37 PM

You need to amend the help/index.tpl template to tell it to go to the right template.

Add in:

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

and all will work smoothly. :D

poboy 05-19-2003 02:37 AM

You the man...again.
 
Another successful help. Thank you. It worked beautifully. Have a great day.


All times are GMT -8. The time now is 06:02 AM.

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