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

Where is the TITLE tag?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 08-02-2012, 04:46 AM
 
NuAlpha NuAlpha is offline
 

X-Adept
  
Join Date: Aug 2003
Location: US
Posts: 598
 

Question Where is the TITLE tag?

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
Reply With Quote
  #2  
Old 08-03-2012, 04:16 AM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: Where is the TITLE tag?

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
Reply With Quote

The following user thanks qualiteam for this useful post:
NuAlpha (08-16-2012)
  #3  
Old 08-16-2012, 03:46 PM
 
NuAlpha NuAlpha is offline
 

X-Adept
  
Join Date: Aug 2003
Location: US
Posts: 598
 

Default Re: Where is the TITLE tag?

Quote:
Originally Posted by qualiteam
The Title is defined via the Smarty plugin. Please check the -> "include/templater/plugins/function.get_title.php" script.

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
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 03:04 AM.

   

 
X-Cart forums © 2001-2020