View Single Post
  #11  
Old 11-11-2002, 09:47 AM
 
Cybro Cybro is offline
 

Advanced Member
  
Join Date: Nov 2002
Location: UK
Posts: 30
 

Default

Quote:
Q: I want to add aditional text page to X-cart where I can place some additional info about my site, how it can be done?
A: 1. First you have to edit template customer/home.tpl

Create new menu item 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>

Ok, so I added:
Quote:

<table border=0 cellPadding=5 cellSpacing=0 width=100%>
<tr><td colspan=2 class="TableLeftElements">
About us
</td></tr>
</table>
(the code between HTML comments)

Quote:
Then add selector which will diplay 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"}

Where does this code go?
I'm using version 3.2.1 and I see no reference to
Quote:

{if $smarty.get.mode eq "subscribed"}
{include file="main/subscribe_confirmation.tpl"}
to add the code between HTML comments.
__________________
Regards

Graham

Site in Progress...
(Version 3.2.2 Gold)
Reply With Quote