Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

What's new mod

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #21  
Old 01-11-2007, 05:39 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: What's new mod

Thanks for the mod, seems to work fine in v4.x.
16/1/08 - UPDATED TO FIX SECURITY RISK
Attached Files
File Type: zip X-Cart_Newest_Products_v4.x_Fixed_160108.zip (2.1 KB, 173 views)
__________________
xcartmods.co.uk
Reply With Quote
  #22  
Old 01-31-2007, 10:06 AM
 
tangal tangal is offline
 

Newbie
  
Join Date: Jan 2007
Posts: 1
 

Default Re: What's new mod

Hi!

I am using X-Cart Pro 4.1.5 and am looking to install this modification .. I'm at this point:
3) In /skin1/customer/home_main.tpl
Add the following...
{elseif $wn ne ""}
{include file="customer/newest.tpl"}

Instead of adding it to my home_main.tpl, I'd like to add a link in my categories menu. Does anyone have any newbie advice on how to do this? I found my categories.tpl but I am not sure what to add (the above code?) and where to add it in the code.

Thanks in advance for any help with this
__________________
tangal
4.1.5 X-Cart Pro
Reply With Quote
  #23  
Old 02-05-2007, 01:33 PM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: What's new mod

I don't think this mod works with version 4.1.x. It works fine with version 4.0.x though.

Anyway, the newest.tpl refers to the output page I believe. You need to call newproduct.php (or whatever its called) from a link.
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
  #24  
Old 02-12-2007, 04:49 AM
 
Jerrad Jerrad is offline
 

X-Adept
  
Join Date: Nov 2004
Location: The Netherlands
Posts: 484
 

Default Re: What's new mod

Thanks for this mod. I've got it working, but somehow loading the page(s) with the newest products takes ages...

Anybody got a idea what could be causing this?
Thanks!
__________________
X-Cart 4.0.12
Heavy modified with paid, free and forum mods.
PHP 5.2.5 | MYSQL 5.0.51a
Reply With Quote
  #25  
Old 02-24-2007, 04:15 PM
 
hwayneb hwayneb is offline
 

Advanced Member
  
Join Date: Sep 2006
Posts: 41
 

Default Re: What's new mod

Does this Mod work with 4.1.3 ????

When I install this - It returns all the products.
__________________
Wayne Browning
http://www.QuirksOfArt.com
x-cart 4.3.1, Mods: CDSEO, Feeds Manager, Vertical Menu, Smart Search, Sitemap
Reply With Quote
  #26  
Old 02-24-2007, 11:09 PM
 
paryaei paryaei is offline
 

Senior Member
  
Join Date: Jun 2006
Posts: 112
 

Default Re: What's new mod

The same here . whatever # you set it on , still returns all the products !!!
philj maybe able to answer this !!!
__________________
Paryaei
Xcart pro version: 4.1.12
& All the X-cart add ons
& Heavily moded
Reply With Quote
  #27  
Old 04-06-2007, 10:44 PM
 
mesut mesut is offline
 

Member
  
Join Date: Feb 2007
Location: New York
Posts: 16
 

Default Re: What's new mod

I have exact same problem. It does not matter what you put for wn. It shows just all products.

for example my store has totaly 25 products. wn=1 or wn=7 all 25 products appears then.

I did not get it.

Any help?
__________________
Version 4.1.6
Reply With Quote
  #28  
Old 05-30-2007, 08:59 AM
 
JediSam04 JediSam04 is offline
 

Advanced Member
  
Join Date: Sep 2004
Location: Columbia, SC
Posts: 43
 

Default Re: What's new mod

Is there any chance that this mod will be updated to work with 4.1.7?
__________________
JediSam04
Version 4.1.11
X-AOM 4.1.10
PHP 5.2.6
MySQL 5.0.51a-community
Hosting by EWDHosting
DSEFU, Feed Manager, Custom mods
Reply With Quote
  #29  
Old 07-21-2007, 10:55 PM
 
fogelka fogelka is offline
 

Advanced Member
  
Join Date: Jun 2006
Posts: 83
 

Default Re: What's new mod

This mod works great, except...

Example:
I want to see the items added in the last 14 days. Site is set to show 12 items per page.
** I have 15 new items.
** I call the script, and it shows the first 12 items.
** I click on the page 2 button, but instead of the remaining 3 items, I get most or all the items on the site.

I can see that when I hover over the page 2 button, it is going to go to:

www.domain.com/search.php?mode=search&page=2

Wheras the first page is on:

www.domain.com/newest.php?wn=14


Ideas, anyone?

- Ken
__________________
xcart v4.0.18 [linux]

Loyalty Points, DSEFU, Easy Checkout, Featured Product Manager, Remember Me, Relevant Search, Vertical Flyouts, Multiple Category Templates. Loads of other tweaks and mods learned in forums.
Reply With Quote
  #30  
Old 07-22-2007, 04:49 AM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: What's new mod

See the thread at http://forum.x-cart.com/showthread.php?t=1084 for a working version similar to this mod (I think its better) for 4.0.x and later in the thread (around page 19) a working version for 4.1.x
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 06:03 AM.

   

 
X-Cart forums © 2001-2020