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

Free "What's New?" X-Cart module released!

 
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4
 
Thread Tools
  #81  
Old 10-20-2009, 12:38 PM
  flyclothing's Avatar 
flyclothing flyclothing is offline
 

eXpert
  
Join Date: Aug 2004
Location: Gilbert, AZ
Posts: 357
 

Default Re: Free "What's New?" X-Cart module released!

Did anyone get this working on 4.1? It seem to install fine but not work properly. A What's New category was created but the link just bounced back to the homepage.
__________________
Jonathan
Flyclothing, LLC
PO Box 1490
Gilbert, AZ 85299-1571
P 480.422.7350
F 888.359.2568
www.flysportsgear.com?MMCF_xcartforum (X-Cart 4.5.2) FOR SALE
Reply With Quote
  #82  
Old 11-03-2009, 11:36 PM
  Gijs's Avatar 
Gijs Gijs is offline
 

eXpert
  
Join Date: Aug 2004
Location: Belgium
Posts: 295
 

Default Internationalisation

Hi Victor,

1) txt_whats_new = We have added %new_products_txt% since your last visit.

2) %new_products_txt% is replaced in /modules/Whats_New/Whats_New.tpl with "$new_products_text"

3)$new_products_text displays in the bubble: xx new products.

Question:
Where can I change new products into a language variable to internationalize this variable?

Thanks for your reply in advance!

Best regards,

Gijs
__________________
X-cart 4.1.11
PHP 5 MySQL 5
www.wheelpalace.eu
Reply With Quote
  #83  
Old 11-05-2009, 11:50 PM
  Victor D's Avatar 
Victor D Victor D is offline
 

X-Adept
  
Join Date: Aug 2008
Posts: 643
 

Default Re: Free "What's New?" X-Cart module released!

txt_whats_new : We have added %new_products_txt% since your last visit.

%new_products_txt% is actually a number of new products so you need to keep it intact translating the rest of the variable.
For example:

%new_products_txt% productos nuevos.



But 'View all' text is hardcoded in this template as I see. Please create a variable for it on your own.
I will keep this in mind working on this next version.
__________________
Regards,
Victor Dubiniuk

X-Cart Skins Store
- twenty two different skins for 4.1.x and 4.2.x;
- 4.3.x compatible versions are available;
- refresh you store now!

Smart menu X-Cart add-on for 4.1.8 - 4.3.x
Featured Products Slide Show X-Cart add-on for 4.1.8 - 4.3.x
Reply With Quote
  #84  
Old 11-05-2009, 11:53 PM
  Victor D's Avatar 
Victor D Victor D is offline
 

X-Adept
  
Join Date: Aug 2008
Posts: 643
 

Default Re: Free "What's New?" X-Cart module released!

Quote:
Originally Posted by flyclothing
Did anyone get this working on 4.1? It seem to install fine but not work properly. A What's New category was created but the link just bounced back to the homepage.

In the most cases this means products.php is customized and you need to patch this file manually.
Read messages carefully installing the module.
__________________
Regards,
Victor Dubiniuk

X-Cart Skins Store
- twenty two different skins for 4.1.x and 4.2.x;
- 4.3.x compatible versions are available;
- refresh you store now!

Smart menu X-Cart add-on for 4.1.8 - 4.3.x
Featured Products Slide Show X-Cart add-on for 4.1.8 - 4.3.x
Reply With Quote
  #85  
Old 11-06-2009, 09:23 AM
  flyclothing's Avatar 
flyclothing flyclothing is offline
 

eXpert
  
Join Date: Aug 2004
Location: Gilbert, AZ
Posts: 357
 

Default Re: Free "What's New?" X-Cart module released!

Hey Victor,

We manually patched the entire mod and it didnt work. I went over the code several times. Everything seems to be in place, but the link just bounces back to homepage. Does DSEFU affect the mod?
__________________
Jonathan
Flyclothing, LLC
PO Box 1490
Gilbert, AZ 85299-1571
P 480.422.7350
F 888.359.2568
www.flysportsgear.com?MMCF_xcartforum (X-Cart 4.5.2) FOR SALE
Reply With Quote
  #86  
Old 11-09-2009, 06:32 AM
 
Christofer Christofer is offline
 

eXpert
  
Join Date: Apr 2009
Location: Thessaloniki, Greece
Posts: 202
 

Default Re: Free "What's New?" X-Cart module released!

i want to edit the modules/What_New/config.php the :
if (isset($_COOKIE['online'])) {
$aw_new_products = func_query_first_cell("select count(*) from $sql_tbl[products] where add_date > ".$_COOKIE['online']." and add_date < ".time());
$smarty->assign("new_products_count",$aw_new_products);
$smarty->assign("new_products_date",$_COOKIE['online']);
$smarty->assign("new_products_text",($aw_new_products == 1)?$aw_new_products." new product":$aw_new_products." new products");
setcookie("last_visit", time(), time()+94608000);
} else {
setcookie("online", $_COOKIE['last_visit'], 0);
setcookie("last_visit", time(), time()+94608000);
$aw_new_products = func_query_first_cell("select count(*) from $sql_tbl[products] where add_date > ".$_COOKIE['last_visit']." and add_date < ".time());
$smarty->assign("new_products_text",($new_products_count == 1)?"$aw_new_products new product":"$aw_new_products new products");
$smarty->assign("new_products_count",$aw_new_products);
$smarty->assign("new_products_date",$_COOKIE['last_visit']);



I want to edit the BOLD text to be language variable, coz i can't translate the txt_whats_new and leave the bold text to be on language. It will look weird. Also the http://www.gsmcorner.gr/home.php?WhatsNew=Y still doesn't work, in the past you ask for login details but i was on holiday. Can you have a look?
__________________
X-Cart Gold : 4.2.1 (on linux parallels plesk / mysql)
Php v5.2.9 (Zend: 2.2.0) - MySql v5.0.79 - LiteSpeed server
Modules : X-Offer & X-Aom & One page checkout
Product tabs & Product downloads & many more
Reply With Quote
  #87  
Old 11-09-2009, 06:36 AM
 
mrerotic mrerotic is offline
 

eXpert
  
Join Date: Feb 2009
Posts: 264
 

Default Re: Free "What's New?" X-Cart module released!

Issue I have is I cant seem to provide a description to show for this 'Whats New' category. If anyone has any ideas, please let me know.

Thanks
__________________
x-cart 4.2.3
AlteredCart Smart Search
Auto Featured Products Mod (Personal Mod)
BCSE Product Importer Pro & Drop Shipper Pro
CDSEO Pro
CMS EZRecommends
EE slider login (Personal Mod)
Next Prev Link Mod (Customized)
ShadowBox Detailed Images (Personal Mod)
Shop By Price (Customized)
Social Media (Personal Mod)
Switch Layout View (Personal Mod)
Special Offers
Testimonials (Personal Mod)
Whats New (Customized)
Reply With Quote
  #88  
Old 11-13-2009, 01:04 PM
 
ibdmanhb ibdmanhb is offline
 

Senior Member
  
Join Date: Mar 2008
Posts: 190
 

Default Re: Free "What's New?" X-Cart module released!

Hey Victor,
I installed this mod on a 4.1.9 cart and all seemed well, I upgraded to 4.1.12 recently and I just had a returning customer contact me saying IE7 was spitting an error: Internet explorer can not open the internet site:http://www.ocsurfwear.com,operation aborted. The page only shows a little of the bubble and nothing else. I disabled the module and the problem went away. I don't know if this problem existed before and no one took the time to email me or it cropped up after the 4.1.12 upgrade. I have seen other references to this IE error from IE5 and up, IE8 seems to work OK. Some people talk about JS errors and others have to do with tags in the wrong places. Any idea?? Where would I disable just the bubble option and leave the whats new catagory intact in the menus to test if thats whats causing the error?

Thanks
__________________
X-cart X5 business
VPS Liquidweb
Linux/Litespeed
php7.3


https://www.lourdeslove.com
https://calnetsecurity.com
https://www.ReligiousClub.com
https://www.caltecservices.com
Reply With Quote
  #89  
Old 11-17-2009, 12:26 AM
  Victor D's Avatar 
Victor D Victor D is offline
 

X-Adept
  
Join Date: Aug 2008
Posts: 643
 

Default Re: Free "What's New?" X-Cart module released!

Quote:
Originally Posted by ibdmanhb
Hey Victor,
I installed this mod on a 4.1.9 cart and all seemed well, I upgraded to 4.1.12 recently and I just had a returning customer contact me saying IE7 was spitting an error: Internet explorer can not open the internet site:http://www.ocsurfwear.com,operation aborted. The page only shows a little of the bubble and nothing else. I disabled the module and the problem went away. I don't know if this problem existed before and no one took the time to email me or it cropped up after the 4.1.12 upgrade. I have seen other references to this IE error from IE5 and up, IE8 seems to work OK. Some people talk about JS errors and others have to do with tags in the wrong places. Any idea?? Where would I disable just the bubble option and leave the whats new catagory intact in the menus to test if thats whats causing the error?
Thanks

Please upgrade to the latest version. This issue is fixed there
__________________
Regards,
Victor Dubiniuk

X-Cart Skins Store
- twenty two different skins for 4.1.x and 4.2.x;
- 4.3.x compatible versions are available;
- refresh you store now!

Smart menu X-Cart add-on for 4.1.8 - 4.3.x
Featured Products Slide Show X-Cart add-on for 4.1.8 - 4.3.x
Reply With Quote
  #90  
Old 11-17-2009, 12:21 PM
 
ibdmanhb ibdmanhb is offline
 

Senior Member
  
Join Date: Mar 2008
Posts: 190
 

Default Re: Free "What's New?" X-Cart module released!

Thanks for the reply, I like this module and I hate to keep it disabled. Should I upload the latest files from your site and re-run the automatic install?

Thank you again
__________________
X-cart X5 business
VPS Liquidweb
Linux/Litespeed
php7.3


https://www.lourdeslove.com
https://calnetsecurity.com
https://www.ReligiousClub.com
https://www.caltecservices.com
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4



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 12:56 AM.

   

 
X-Cart forums © 2001-2020