Quote:
Originally Posted by thinksuccess
Well I want it to be integrated into the cart just like the pages in the help file are. So I created a static_page.tpl file and then did a link for home.php?mode=static_page blah blah
I put that link in the home.tpl file but it does not work.
|
Oh, if I get it right you are complicating things unnecesarily.
OPTION 1:
If it is to insert a some small page just on the left panel, you use the following line in your home.tpl file under the customers directory:
{include file="directory/to/file.html"}
OPTION 2:
On the other hand, if you have a complete page in mind (to appear in the middle of the site) but keeping all categories and menus visible, then just add a page thru your Admin Panel:
1. The last option on your admin panel says "Static Pages", click that.
2. There you can add information that will be automatically parsed thru your cart system and will appear under the help section, related to the language you are currently using for your admin.
3. Add a title and the text to the page, and simple HTML tags if you wish and save the file as enabled.
4. Go to your customers directory and you will see the link (with the title you gave the page) under the help section.
OPTION 3:
If you just need to add a link to some other page to open up on the site, but not within the cart system, just add this to your home.tpl file, in the area you want it to appear:
<center>
YOUR TITLE
</center>
Now remember that if you are trying to add a page to the home.tpl file as you described, it should work without problems, but if you are adding that link in a conditional section it will only appear if the section is enabled. (eg. if you added it to the section in home.tpl file under Bestsellers [before the closing IF tag] it will not appear unless you have bestsellers enabled).
Hope that can help.