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

X-Cart Adapt Template

 
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4
 
Thread Tools
  #101  
Old 11-29-2012, 06:12 AM
 
Pitak Pitak is offline
 

Advanced Member
  
Join Date: Jun 2012
Posts: 87
 

Default Re: X-Cart Adapt Template

Phil, the testimonials script on this web site (which uses your ability template) is displaying Thai language correctly. Does this mean there is a fix to make that happen?
http://www.allergy-freefoods.com/store/home.php
__________________
X-Cart Gold Plus v4.6.6
xcartmods.co.uk reBOOT Template v3.52
Reply With Quote
  #102  
Old 12-03-2012, 07:11 AM
 
PhilJ PhilJ is offline
 

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

Default Re: X-Cart Adapt Template

Quote:
Phil, it is working now. However, I'm disappointed to find out that it does not support UTF-8 text encoding. Testimonials that are written in my language are rendered unreadable.

Is there a way to implement UTF-8 support?

Hi Pitak, sorry for the delay, here's what you do...

1) In testimonial_send.php

Before...

Code:
if (mysql_errno() == 0) {

Insert...

Code:
mysql_query("SET NAMES 'utf8'");

In the same file, replace the two instances of...
Code:
. "Content-Type: text/html; charset=\"ISO-8859-1\"\n"

With...

Code:
. "Content-type: text/html; charset=\"UTF-8\"\n"

2) In /admin/grid/inc/prepare_grid.php

Ensure this line appears after the opening <?php

If your prepare_grid.php file is encoded, use the attached.

Code:
mysql_query("SET NAMES 'utf8'");

Here is an example of Thia text in a testimonial
Attached Files
File Type: php prepare_grid.php (3.7 KB, 2 views)
__________________
xcartmods.co.uk
Reply With Quote
  #103  
Old 12-03-2012, 11:16 PM
 
Pitak Pitak is offline
 

Advanced Member
  
Join Date: Jun 2012
Posts: 87
 

Default Re: X-Cart Adapt Template

Phil, it is working great now. Thank you for the fix.

Quote:
Originally Posted by PhilJ
In the same file, replace the two instances of...
Code:
. "Content-Type: text/html; charset=\"ISO-8859-1\"\n"

With...

Code:
. "Content-type: text/plain; charset=\"UTF-8\"\n"


I found only one instance of
Code:
. "Content-Type: text/html; charset=\"ISO-8859-1\"\n"


The other instance is similar, but with a text/plain instead of text/html.
__________________
X-Cart Gold Plus v4.6.6
xcartmods.co.uk reBOOT Template v3.52
Reply With Quote
  #104  
Old 12-04-2012, 02:32 AM
 
yages yages is offline
 

eXpert
  
Join Date: Sep 2004
Location: Australia
Posts: 332
 

Default Re: X-Cart Adapt Template

phil please answer my emails
__________________
yages
x-cart version 4.5.5
Reply With Quote
  #105  
Old 12-04-2012, 06:58 AM
 
Pitak Pitak is offline
 

Advanced Member
  
Join Date: Jun 2012
Posts: 87
 

Default Re: X-Cart Adapt Template

Phil, in the checkout page (1 page checkout) there's a missing button beside the coupon code box. Any update to that template file as I'm still using v1.01.
__________________
X-Cart Gold Plus v4.6.6
xcartmods.co.uk reBOOT Template v3.52
Reply With Quote
  #106  
Old 12-04-2012, 07:30 AM
 
PhilJ PhilJ is offline
 

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

Default Re: X-Cart Adapt Template

Quote:
Phil, in the checkout page (1 page checkout) there's a missing button beside the coupon code box. Any update to that template file as I'm still using v1.01.

See attached.

skin/adapt/modules/One_Page_Checkout/summary/coupon.tpl
Attached Files
File Type: tpl coupon.tpl (1.0 KB, 3 views)
__________________
xcartmods.co.uk
Reply With Quote
  #107  
Old 12-04-2012, 06:53 PM
 
larag larag is offline
 

Advanced Member
  
Join Date: Sep 2009
Posts: 35
 

Default Re: X-Cart Adapt Template

I am getting ready to go live but I am stuck on 2 things.
How do I control the content of the promotions box? I have gone over everything and haven't found out where it would be...

I have an images problem. My header, footer and slider images simply do not display. I don't have any issues with my background or product images.

I look forward to some guidance.
I'm working with the Adapt template and X-Cart 4.5.4
__________________
4.1.10
Reply With Quote
  #108  
Old 12-05-2012, 12:20 AM
 
PhilJ PhilJ is offline
 

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

Default Re: X-Cart Adapt Template

Quote:
How do I control the content of the promotions box?

Edit skin/adapt/custom/promos.tpl

Quote:
My header, footer and slider images simply do not display.

Ensure that your <root>/files directory permissions are not set to 700 - Change them to 755.
__________________
xcartmods.co.uk
Reply With Quote
  #109  
Old 12-05-2012, 08:46 AM
 
Pitak Pitak is offline
 

Advanced Member
  
Join Date: Jun 2012
Posts: 87
 

Default Re: X-Cart Adapt Template

For a guest who is checking out (OPC), he'll have to enter his email address and password for the new account. Many of my customers are stuck here, wondering what password they need to enter.

I'd like to add some explanation above the password field (maybe editing the password label). I can't seem to be able to find the correct template file to edit. Can you help?
__________________
X-Cart Gold Plus v4.6.6
xcartmods.co.uk reBOOT Template v3.52
Reply With Quote
  #110  
Old 12-09-2012, 01:48 AM
 
Pitak Pitak is offline
 

Advanced Member
  
Join Date: Jun 2012
Posts: 87
 

Default Re: X-Cart Adapt Template

Phil, in Internet Explorer, when the mouse cursor moved to the 4 level dropdown flyout category menu or the dropdown menu (at the top of the screen), the screen "jumps" up and down randomly. Can you provide the updated files that fix this bug. Thanks.
__________________
X-Cart Gold Plus v4.6.6
xcartmods.co.uk reBOOT Template v3.52
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 01:30 PM.

   

 
X-Cart forums © 2001-2020