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

I want to modify the hole page before output

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


Joined: 21 Oct 2011
Posts: 1

PostPosted: Fri Oct 21, 2011 10:57 am    Post subject: I want to modify the hole page before output Reply with quote

Am I able to replace ie all the words before output

Example:
Word1 will be replaced to word2 an all outputted pages
Input fields would be disabled ....
Back to top
View user's profile Send private message
U.Tews
Administrator


Joined: 22 Nov 2006
Posts: 5067
Location: Hamburg / Germany

PostPosted: Fri Oct 21, 2011 11:11 am    Post subject: Reply with quote

Use an output filter to do it.

See
http://www.smarty.net/docs/en/advanced.features.outputfilters.tpl
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Smarty Forum Index -> Plugins 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