X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Third Party Add-Ons for X-Cart 4 (https://forum.x-cart.com/forumdisplay.php?f=45)
-   -   X-Cart Adapt Template (https://forum.x-cart.com/showthread.php?t=64553)

Pitak 11-29-2012 06:12 AM

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

PhilJ 12-03-2012 07:11 AM

Re: X-Cart Adapt Template
 
1 Attachment(s)
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

Pitak 12-03-2012 11:16 PM

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.

yages 12-04-2012 02:32 AM

Re: X-Cart Adapt Template
 
phil please answer my emails

Pitak 12-04-2012 06:58 AM

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.

PhilJ 12-04-2012 07:30 AM

Re: X-Cart Adapt Template
 
1 Attachment(s)
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

larag 12-04-2012 06:53 PM

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

PhilJ 12-05-2012 12:20 AM

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.

Pitak 12-05-2012 08:46 AM

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?

Pitak 12-09-2012 01:48 AM

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.


All times are GMT -8. The time now is 06:22 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.