Quote:
Originally Posted by syddos
You can ignore the above code, if it's not in your home.tpl. I think in your version of xcart, the above code is located in the common_templates.tpl file. It's not required for your "About Us.tpl" page.
Regards,
|
Thanks, syddos
You gave me a push in the right direction. The code was in
skin1/customer/home_main.tpl
So if I'm correct for those using version 3.2.1 and are confused on how to add additional text pages, here's a clearer description than the one in the member account FAQ:
Quote:
Create a new menu item in customer/home.tpl that will point to your page, you can put it for example after help menu section (the code between HTML comments):
{ include file="help.tpl" }
<table border=0 cellPadding=5 cellSpacing=0 width=100%>
<tr><td colspan=2 class="TableLeftElements">
About us
</td></tr>
</table>
</td>
<td width=20></td>
<td valign=top>
Then add selector in skin1/customer/home_main.tpl which will display your About Us template in the center of the cart:
{if $smarty.get.mode eq "subscribed"}
{include file="main/subscribe_confirmation.tpl"}
{elseif $smarty.get.mode eq "about_us"}
{include file="main/about_us.tpl"}
{elseif $smarty.get.mode eq "unsubscribed"}
{include file="main/unsubscribe_confirmation.tpl"}
2. Then create About Us template that will be displayed in the center, create file skin1/main/about_us.tpl and put the following lines there:
{ include file="location.tpl" last_location="About Us"}
{capture name=dialog}
Put your about us text here...
{/capture}
{ include file="dialog.tpl" title="Information about our company" content=$smarty.capture.dialog extra="width=100%"}
|
This works for text fine, but now all I need to do is work out how to include php pages such as a php helpdesk
Any ideas?
