I want the print icon to be to the right of the breadcrumbs. And then remove it from where it is currently so that my categories and main content but right below the header.
I did find the code and moved it to home.tpl and changed the if statement a bit so that it would make a table and have the location.tpl in the first cell and the printable.tpl in the second cell.
That works fine....but after I go back to head and comment out everything after the line to remove to display products online, it gives me a smarty error
Quote:
Error: Smarty error: [in head.tpl line 127]: syntax error: mismatched tag {/if}. (Smarty_Compiler.class.php, line 2286) in /home/sassicat/public_html/shop/Smarty-2.6.12/Smarty.class.php on line 1095
Parse error: syntax error, unexpected T_ENDIF in /home/sassicat/public_html/shop/var/templates_c/%%68^689^68964653%%head.tpl.php on line 163
|
Here is the end of my head.tpl when I get the error
Code:
**** Remove this line to display how much products there are online ******}
{*****************
{if $main ne "fast_lane_checkout"}
<tr>
<td colspan="2" valign="middle" height="32">
<table cellspacing="0" cellpadding="0" width="100%">
<tr>
<td class="HeadTopPad"><img src="{$ImagesDir}/spacer.gif" alt="" /></td>
{if (($main eq 'catalog' && $cat ne '') || $main eq 'product' || ($main eq 'comparison' && $mode eq 'compare_table') || ($main eq 'choosing' && $smarty.get.mode eq 'choose')) && $config.Appearance.enabled_printable_version eq 'Y'}
<td class="PrintableRow" align="right">{include file="printable.tpl"}</td>
{/if}
</tr>
</table>
</td>
</tr>
{else}
{* Fast Lane Checkout page *}
<tr>
<td colspan="2" class="FLCTopPad"><img src="{$ImagesDir}/spacer.gif" alt="" /></td>
</tr>
{/if}
***************}
</table>
Can someone please tell me why I get this error by simply commenting out this code?
Thanks
Sassy