|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
changing from Xtemplate to Smarty template engine
The xtemplate engine project is dead so i have to move my design layout engine in my CMS to something that has better support....
How about smarty Can i switch to smarty with my multi template html sites in Xtemplate i have it something like this: This is one file.......one file with many different blocks.. PHP Code:
Basically if i need to add a module like a question poll, a news feed or some kind of list....everything that i have to pull out from database and loop the records from it......no need for do some php work.....i only have to add a block (<!-- BEGIN: news --> and <!-- END: news --> and then it itīs parsed and printed out... so a designer that doesnīt know anything in php, can build a dynamic site i have donīt have to do anything in php for him... Does smarty have something similar things? and how is that done? |
|
#2
|
|||
|
|||
|
arnorg,
I'm not too familiar with Smarty, but I use patTemplate myself. Based on the code you posted, it seems very similar to patTemplate... Lindset has also written an article on getting started with patTemplate that will ease your transition. Hope that sheds some light.
__________________
____________________________________________ Developer Shed Weekly Writer | DevArticles Forum Moderator Build Your Own KlipFolio Klip With PHP FrankManno.com - Under Construction Design Interactive Group - Under Construction |
|
#3
|
|||
|
|||
|
Well...
Iīm not asking about switching to PatTemplate...i asking how i can switch the same blocks system in this template engines (pat and Xtemplate) to smarty.. Because Smarty is just the fastest... |
![]() |
| Viewing: Dev Articles Community Forums > Programming > General Programming Help > changing from Xtemplate to Smarty template engine |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|