??corrupted dialog.tpl??
Hi,
I've been trying to use the rounded corner mod from XCart Mods and appearance wise it's perfect. However if I implement the dialog.tpl which is supplied with the mod, you can't add any products to the cart. Click add to cart, the page refreshes and nothing is in it.
Here is the tpl, the only difference I can see over the original is the firts line and the div tags at the end. Would anyone be able to tell me why it corrupts the add to cart feature. I assume it's something to do with the first line of if statements?
{if $usertype eq "A" or ($usertype eq "P" and $active_modules.Simple_Mode ne "")}
{if $printable ne ''}
{include file="dialog_printable.tpl"}
{else}
<TABLE border="0" cellpadding="0" cellspacing="0" {$extra}>
<TR>
<TD height="15" class="DialogTitle" background="{$ImagesDir}/dialog_bg_n.gif" valign="bottom"> {$title}</TD>
</TR>
<TR><TD class="DialogBorder"><TABLE border="0" cellpadding="10" cellspacing="1" width="100%">
<TR><TD class="DialogBox">{$content}
</TD></TR>
</TABLE></TD></TR>
</TABLE>
{/if}
{else}
<div class="dialogtop"><font class="dialogtext">{$title}</font></div>
<div class="dialogbottom">{$content}</div>
{/if}
Thanks for any tips
Regards
Greg
__________________
XCart 4.0.19
XConfigurator 4.0.19
AOM 4.0.19
Zeus Server
|