Cant get it to work on x-cart 4.09
This works ok
http://www.shisha.co.uk/shopcart/newest.php
but when i use
http://www.shisha.co.uk/shopcart/home.php
I get the NEW blue bar at the bottom but no products
Any ideas, i have followed the postings, but cant find the problem.
I Know that the code for x-cart 4.09 in shopcart/skin1/customer/main/welcome.tpl is working fine
Code:
{* $Id: welcome.tpl,v 1.23 2004/05/28 12:21:00 max Exp $ *}
<TABLE border="0" cellpadding="0" cellspacing="0" width="100%">
<TR>
<TD height="19" class="WelcomeTitle" background="{$ImagesDir}/custom/welcome_title_bottom_bg.gif" valign="top">
{if ($active_modules.Greet_Visitor ne "") AND ($smarty.cookies.GreetingCookie ne "")}
{$lng.lbl_welcome_back}, {$smarty.cookies.GreetingCookie|replace:"\'":"'"}
{else}
{$lng.lbl_welcome_to} { $config.Company.company_name }
{/if}
</TD>
</TR>
<TR>
<TD>[img]{$ImagesDir}/spacer.gif[/img]</TD>
</TR>
<TR><TD class="WelcomeBox" background="{$ImagesDir}/custom/welcome_bg.gif"><TABLE border="0" cellpadding="5" cellspacing="10">
<TR>
<TD valign="top">[img]{$ImagesDir}/custom/welcome_image.gif[/img]</TD>
<TD class="WelcomeBox">{$lng.txt_welcome}
</TD></TR>
</TABLE></TD></TR>
</TABLE>
{*capture name=dialog}
{$lng.txt_welcome}
{/capture}
{if ($active_modules.Greet_Visitor ne "") AND ($smarty.cookies.GreetingCookie ne "")}
{include file="dialog.tpl" title="`$lng.lbl_welcome_back`, `$smarty.cookies.GreetingCookie`" content=$smarty.capture.dialog extra="width=100%" dialog_box_color="_orange"}
{else}
{include file="dialog.tpl" title="`$lng.lbl_welcome_to` `$config.Company.company_name`" content=$smarty.capture.dialog extra="width=100%" dialog_box_color="_orange"}
{/if*}
{if $active_modules.Bestsellers ne "" and $config.Modules.bestsellers_menu ne "Y"}
{include file="modules/Bestsellers/bestsellers.tpl"}
{/if}
{include file="customer/main/featured.tpl" f_products=$f_products dialog_title_color="_orange"}
{include file="customer/main/newest.tpl" newproducts=$newproducts dialog_title_color="_orange"}
I know that the shopcart/newest.php works fine.
So all i need to check now is the:
shopcart/home.php modification
shopcart/skin1/customer/home_main.tpl modification
shopcart/skin1/customer/main/newest.tpl modification