View Single Post
  #195  
Old 02-19-2013, 04:32 AM
 
PhilJ PhilJ is offline
 

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

Default Re: X-Cart Adapt Template

Re. X-Cart v4.5.5, there's a an extra field in the config table, so for the SQL patch, you just to add it on to each xcart_config entry line, eg.

Replace...

Quote:
REPLACE INTO xcart_config VALUES ('adapt_sep_1','<span style=\"color:red;font-size:20px;\">Theme Options</span>','','Adapt',100,'separator','','','');

With

Quote:
REPLACE INTO xcart_config VALUES ('adapt_sep_1','<span style=\"color:red;font-size:20px;\">Theme Options</span>','','Adapt',100,'separator','','','','');

If anyone wants the new v455 patch, just get in touch.

Also in v455, they took out the ability to use PHP tags in Smarty (security reasons?). If you want that back...

include/templater/templater.php

Replace...

Quote:
'PHP_TAGS' => false,

With...

Quote:
'PHP_TAGS' => true,

I think there's other smarty modifiers disabled in v455, keep an eye on your error logs.

My advice is to hold off on the v455 upgrade for a short while, unless you really feel you must have it

Or at the very least, clone your store and perform the upgrade on it... not your live store.
__________________
xcartmods.co.uk
Reply With Quote