Thread: Newest Products
View Single Post
  #77  
Old 01-12-2005, 06:53 AM
  shishapipe's Avatar 
shishapipe shishapipe is offline
 

Advanced Member
  
Join Date: Dec 2004
Location: London
Posts: 47
 

Default

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
__________________
Regards Maxking

SERVER: Microsoft-IIS/5.0
MYSQL Server: 4.0.18-NT
PERL: 5.006001
PHP: 4.3.6
X-CART pro: 4.3
X-AOM: 4..3
X-RMA: 4..3X-FancyCategories 4.3
Skin: Own Design
Marketing Manager Professional 3.0 Bundle
Reply With Quote