Forum Moderators: coopster

Message Too Old, No Replies

How to add new pages within Smarty?

         

toplisek

7:02 am on Mar 11, 2011 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



How to add new pages within Smarty? Should be pure content in seprate files and each language in separate folder?

Need help.

Is there some example of structure in Smarty for added pages?

gaurav467

12:17 pm on Mar 14, 2011 (gmt 0)



your presentation (HTML/CSS) from your application (PHP) code. However, it still contains some logic of its own. With respect to Smarty's design principles, the logic in the templates should be for presentation only.

toplisek

11:57 am on Mar 21, 2011 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



should be for presentation only.
You mean added text to tpl file should be in separate files to insert into many tpl files?

So, each page should have separate tpl file as there is different content text?

Is this correct or some sample how to insert text to tpl.