| ||||||||||
| Shopping cart software Solutions for online shops and malls | ||||||||||
|
|
||||||||||
| X-Cart Home |
Where is the TITLE tag? | |||
![]() |
|
||
|
|
Thread Tools | Search this Thread |
|
#1
|
|||||||
|
|||||||
|
Our product pages have titles with characters double escaped. Was trying to fix this but cannot find the title tag anywhere in the templates for the product pages.
Any clues?
__________________
X-Cart Pro 4.5.5 Platinum X-Payments 1.0.6 PHP 5.3.14 MySQL 5.1.68 Apache 2.2.23 |
|||||||
|
#2
|
|||||||||
|
|||||||||
|
The Title is defined via the Smarty plugin. Please check the -> "include/templater/plugins/function.get_title.php" script.
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful Click here to learn how to apply patches X-Cart Extensions |
|||||||||
|
|||||||||
|
#3
|
|||||||
|
|||||||
|
Quote:
Thanks! All I needed to do was change the line: $title = @htmlspecialchars($title, ENT_QUOTES, $charset); To be: $title = @htmlspecialchars($title, ENT_QUOTES, $charset, false); Why is double encoding the default behavior?
__________________
X-Cart Pro 4.5.5 Platinum X-Payments 1.0.6 PHP 5.3.14 MySQL 5.1.68 Apache 2.2.23 |
|||||||
|
|
|||
|
X-Cart forums © 2001-2020
|
|||