Hi Amy,
xcart v3.2.1?
1. Create your "About Us" Template file in "xcart/skin1/help/" directory. To include the dialog.tpl, your code in your
About_us.tpl, should look like this:-
Quote:
{capture name=dialog}
{$lng.txt_about}
Put your HTML, TEXT etc here, I used the Language database with a variable to hold my About Us text.
{/capture}
{include file="dialog.tpl" title=$lng.lbl_about_our_site content=$smarty.capture.dialog extra="width=100%"}
|
2. Edit
xcart/skin1/help/index.tpl to include your "About Us" template. I have highlighted 2 that I created for my site (About Us, How2shop)
Quote:
{* $Id: index.tpl,v 1.5 2002/05/20 06:55:20 lucky Exp $ *}
{include file="location.tpl" last_location=$lng.lbl_help_zone}
{if $section eq "Password_Recovery"}
{include file="help/Password_Recovery.tpl"}
{elseif $section eq "Password_Recovery_message"}
{include file="help/Password_Recovery_message.tpl"}
{elseif $section eq "Password_Recovery_error"}
{include file="help/Password_Recovery.tpl"}
{elseif $section eq "FAQ"}
{include file="help/FAQ_HTML.tpl"}
{elseif $section eq "contactus"}
{include file="help/contactus.tpl"}
{elseif $section eq "about"}
{include file="help/about.tpl"}
{elseif $section eq "business"}
{include file="help/business.tpl"}
{elseif $section eq "conditions"}
{include file="help/conditions.tpl"}
{elseif $section eq "publicity"}
{include file="help/publicity.tpl"}
{elseif $section eq "how2shop"}
{include file="help/how2shop.tpl"}
{else}
{include file="help/general.tpl"}
{/if}
|
3. Change your code in to:-
Quote:
{ 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>
|
In my code I used
section=about I just forgot to put the "us" on the end.
Regards,