i was trying with smarty i saw 2 tutorials but i didnt get the main idea
i know its to separate coding from html but i dont know how to do that i saw these tutorials but no result
is there anyone here have some time that can help me out in msn messenger or skype ...
What don't you get about the main idea? The main idea of a template engine is to let you abstract, make variable or immaterial (not concrete), your interface to files that can be edited apart from your source. What you do in your script for a page is gather your data, then
If you can describe your confusion better, perhaps I can helpyou. Otherwise, I do know that Smarty has a support forum in French, if you know it better than English.
thanks for the forum :d
anyway i know these things but what i dont get is for exemple
when the user login to the website i want the welcom message to be in the middle of the page not on the top :s
i want to control the results of my queries in the design
Yes, this is what Smarty does. You write the templates for the pages, and it outputs exactly what you want, how you want it. So if you want it in the center, write it so the template has the text centered; the output HTML will have it centered too.
thanks dude im gonan try to learn about smarty
|All times are GMT. The time now is 07:40 PM.|
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0