Jump to content

How to upgrade 1.3 theme to be compatible with Smarty 3 (1.4) ??


Recommended Posts

  • 4 weeks later...
Hi,

it's impossible to update a template from 1.3 to 1.4.

You must create a new version of yours.


How would you do that? I just bought a theme last week for $100 and need it to work with 1.4 but I have little to no PHP knowledge.


Hello,

So if you do not know you ask someone here to do.
Link to comment
Share on other sites

Hi,

it's impossible to update a template from 1.3 to 1.4.

You must create a new version of yours.


No, it is not impossible. I upgraded EZTrader's et-cleanblue for 1.3 to 1.4
http://www.ezytrader.com/product.php?id_product=19

It even works with Smarty3. The thing you have to watch out for if you want Smarty3 is
the spaces around the curly braces. In Smarty3, you have to remove them. Also, includes
need to be rewritten.
Here's how it was in the 1.3 version:
{include file=$tpl_dir./breadcrumb.tpl} 



and here's how to make it work with Smarty 3

{include file="{$tpl_dir}/breadcrumb.tpl"} 

Link to comment
Share on other sites

Hi,

it's impossible to update a template from 1.3 to 1.4.

You must create a new version of yours.


No, it is not impossible. I upgraded EZTrader's et-cleanblue for 1.3 to 1.4
http://www.ezytrader.com/product.php?id_product=19

It even works with Smarty3. The thing you have to watch out for if you want Smarty3 is
the spaces around the curly braces. In Smarty3, you have to remove them. Also, includes
need to be rewritten.
Here's how it was in the 1.3 version:
{include file=$tpl_dir./breadcrumb.tpl} 



and here's how to make it work with Smarty 3

{include file="{$tpl_dir}/breadcrumb.tpl"} 



ok, cool, i'm waiting for a tuto wich explain all change to trnasform a template 1.3 to 1.4 with all foicntionnality like fancybox.

and explane what you give an example on :

#   v1.3.2.3 - 2887 (2010-10-01)   #



to speak about a prestashop 1.4 template ?

Link to comment
Share on other sites

Hi,

it's impossible to update a template from 1.3 to 1.4.

You must create a new version of yours.


No, it is not impossible. I upgraded EZTrader's et-cleanblue for 1.3 to 1.4
http://www.ezytrader.com/product.php?id_product=19

It even works with Smarty3. The thing you have to watch out for if you want Smarty3 is
the spaces around the curly braces. In Smarty3, you have to remove them. Also, includes
need to be rewritten.
Here's how it was in the 1.3 version:
{include file=$tpl_dir./breadcrumb.tpl} 



and here's how to make it work with Smarty 3

{include file="{$tpl_dir}/breadcrumb.tpl"} 



I would like to update my theme to be compatible with 1.4

Could you please give some guideliness?

I'm stuck at the first step. See the post below:

http://www.prestashop.com/forums/viewthread/97595/general_discussion/prestashop_theme_validator
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...