Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

Automatic tool for upgrading from Smarty v2 to v3?

 
Post new topic   Reply to topic    Smarty Forum Index -> Smarty 3
View previous topic :: View next topic  
Author Message
danushia
Smarty n00b


Joined: 06 Jun 2016
Posts: 1

PostPosted: Mon Jun 06, 2016 4:27 pm    Post subject: Automatic tool for upgrading from Smarty v2 to v3? Reply with quote

I still have lots of clients using Smarty 2 - around 6000 templates to be upgraded. I'm finally pushing them to upgrade to Smarty 3, but I'm wondering if there is an automated tool to help.

Also, the link on the homepage to 'upgrade notes' is broken. I'm guessing it should be linking to here:
https://github.com/smarty-php/smarty/blob/master/SMARTY_2_BC_NOTES.txt
Back to top
View user's profile Send private message
AnrDaemon
Administrator


Joined: 03 Dec 2012
Posts: 1577

PostPosted: Tue Jun 07, 2016 10:39 pm    Post subject: Reply with quote

Given the nature of the issue, no such tool can be written.
In most cases, unless you've used sheer hackery in your templates, transition would be quite smooth.
In the rest of cases, you'd just have to go over each page and fix templates on case by case basis.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Smarty Forum Index -> Smarty 3 All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP