Try this:
add in customer/home_main.tpl Code:
{elseif $main eq "newest"} in newest.php at the beginning add Code:
require "./auth.php"; and at the end: Code:
$smarty->assign("main","newest"); do not forget to remove Code:
require "./newest.php"; from home.php now try to run http://www.domain.com/store/newest.php Should work if I did not miss something :wink: Or just order this mod here: http://www.shopping-carts-upgrades.com/Newest-Products-Added-p-91.html and we'll set it up this way. |
Not working newest.php
I have created the newest.php and do the modifications indicated, but I can not see the new products...
|
i've tried to lok for a solution to this problem on my own but i'm not a sql guy... i need in my first page a newest products modules except it has to be on 3 columns and each column is a different category.
I think i know how it would work : each column is displayed like in the store and using the add_date we can narrow it down to say 5 or 10 products ordered by add_date. Can you guys help me out ? Thanks in advance ! |
I would be very interested in the ^ as well... Can anyone help out with this for the x-cart generation 4?
(wonderes why this is not default in x-cart....) |
Seems this mod is not working in 4.0.8
I get an error saying Parse error: parse error, unexpected T_USE in /home/www/www/pcdoktorn/newest.php on line 27 |
is it working in 4.0.9
Thanks |
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 $ *} 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 |
Also checked the shopcart/skin1/customer/home_main.tpl (x-cart 4.09)
And that is OK Code:
{if $smarty.get.mode eq "subscribed"} |
Also checked shopcart/skin1/customer/main/newest.tpl (x-cart 4.09)
And this is ok, so its got to be something in the shopcart/home.php file Code:
{* $Id: newest.tpl,v 1.13 2002/05/20 06:55:20 lucky Exp $ *} |
First of all
thanks for the great mod! I installed it yesterday and runs pretty well both as a welcome page and as a newest.php linkeable page. I'm interested in being able to show the result of newest products in several pages. I know I need to do something related with the products_per_page variable but don't know how or where. Here is my newest.tpl code: Code:
{* $Id: newest.tpl,v 1.13 2002/05/20 06:55:20 lucky Exp $ *} Code:
<? Thanks in advance. |
All times are GMT -8. The time now is 11:13 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.