LynK
Ecommerce Template Expert
Australia
696 Posts Pre-sales questions only (More Details...)
|
Posted - 12/27/2017 : 16:01:14
https://www.kennykreations.com/products.php How can I change the funny diamond shape with question mark to the arrows on the menu display? Thanks, Lyn
|
1818charlie
ECT Moderator
United Kingdom
1198 Posts |
Posted - 12/27/2017 : 18:07:45
This is caused by a character set issue. I'd remove the line <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> which is for use in HTML4, where as the line <meta charset="UTF-8"> is the default coding for HTML5 You should only have one character set referenced per page
Steve
Bolton, Lancashire, United Kingdom.
Using ECT PHP versions since 2004
Edited by - 1818charlie on 12/27/2017 18:12:24
|
LynK
Ecommerce Template Expert
Australia
696 Posts Pre-sales questions only (More Details...)
|
Posted - 12/28/2017 : 20:53:28
Thanks, Steve. I have replaced <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> with <meta charset="UTF-8"> in header.php and header-ect.php but it hasn't made any difference. Lyn
|
Andy
ECT Moderator
95440 Posts |
Posted - 12/29/2017 : 00:10:48
|
LynK
Ecommerce Template Expert
Australia
696 Posts Pre-sales questions only (More Details...)
|
Posted - 12/29/2017 : 00:40:32
Hi Andy,
admin.php is showing the following: Content-Type text/html; charset=iso-8859-1
Lyn
|
Andy
ECT Moderator
95440 Posts |
Posted - 12/29/2017 : 01:33:55
The charset in the admin and on the frontend store pages need to match so you would need to use this in includes.php $GLOBALS['adminencoding']="utf-8"; Then look under Store Admin > Database Utility and check what database collation is showing there. Andy Please feel free to review / rate our software
|
LynK
Ecommerce Template Expert
Australia
696 Posts Pre-sales questions only (More Details...)
|
Posted - 12/29/2017 : 01:54:50
Andy, if I choose the option Set Database Collation, it shows some as latin1_swedish_ci and some as utf8_general_ci. The website is now showing the nice arrows, not the question mark in a diamond. Thanks, Lyn
|
Andy
ECT Moderator
95440 Posts |
Posted - 12/29/2017 : 03:11:45
|
LynK
Ecommerce Template Expert
Australia
696 Posts Pre-sales questions only (More Details...)
|
Posted - 12/29/2017 : 03:56:29
Thanks, Andy. https://www.kennykreations.com/products.php The other issue I have discovered with this page is that the link to Embroidery is set up as category, instead of categories.php. I am having a brain fade at the moment and cannot see how to correct this. Lyn
|
Andy
ECT Moderator
95440 Posts |
Posted - 12/29/2017 : 04:04:34
|
LynK
Ecommerce Template Expert
Australia
696 Posts Pre-sales questions only (More Details...)
|
Posted - 12/29/2017 : 04:19:47
Andy, in the prodnavigation bar, the word Embroidery (underlined) is a link to category, which gives a 404 Error. The link should be to categories.php I am using Firefox and can edit it in Webdeveloper Addon and it works correctly, temporarily. Just have no idea where to set it up to work correctly. Obviously, I need to set the href="categories.php". Can't see where to do this??? Sure hope brain fades are not contagious! Lyn
|
Andy
ECT Moderator
95440 Posts |
Posted - 12/29/2017 : 04:27:32
|
LynK
Ecommerce Template Expert
Australia
696 Posts Pre-sales questions only (More Details...)
|
Posted - 12/29/2017 : 04:33:28
Yes Andy, there is a permalink set up for categories.php Lyn
|
Andy
ECT Moderator
95440 Posts |
Posted - 12/29/2017 : 06:10:34
|
LynK
Ecommerce Template Expert
Australia
696 Posts Pre-sales questions only (More Details...)
|
Posted - 12/29/2017 : 12:01:44
Andy, this is what I have in includes.php // SEO Tweeks //$GLOBALS['seodetailurls']=TRUE; //$GLOBALS['seocategoryurls']=TRUE; //$GLOBALS['seocaturlpattern']='/category/%s'; //$GLOBALS['seoprodurlpattern']='/products/%s'; //$GLOBALS['seourlsthrow301']=TRUE; //$GLOBALS['detailnameh1']=TRUE; //$GLOBALS['menucategoriesatroot']=TRUE; $GLOBALS['htmleditor']="ckeditor"; $GLOBALS['usecategoryname']=TRUE; $GLOBALS['usepnamefordetaillinks']=TRUE; $GLOBALS['detlinkspacechar']='-'; Lyn
|
Sinbad
ECT Moderator
USA
65937 Posts |
Posted - 12/29/2017 : 12:27:31
|
LynK
Ecommerce Template Expert
Australia
696 Posts Pre-sales questions only (More Details...)
|
Posted - 12/29/2017 : 12:30:06
Hi Marlene, This is what I have in htaccess.
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule>
# END WordPress Thanks, Lyn
|
Sinbad
ECT Moderator
USA
65937 Posts |
Posted - 12/29/2017 : 13:52:56
|
|
|