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

is there any good output plugins here?

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


Joined: 02 Mar 2007
Posts: 2

PostPosted: Fri Mar 02, 2007 2:41 pm    Post subject: is there any good output plugins here? Reply with quote

i wondering if its available to download or find a plugin which should take the code just before output, remove whitespacecharacters like the built in plugin in smarty and after that sort the code out with tabs to a nice looking treeview.

From this output:
Code:
<html>
<head>
<title>Smarty</title>
</head>
<body>
<div>
some text
</div>
</body>
</html>


to similar like this after:
Code:
<html>
   <head>
      <title>Smarty</title>
   </head>
   <body>
      <div>
         some text
      </div>
   </body>
</html>
Back to top
View user's profile Send private message
boots
Administrator


Joined: 16 Apr 2003
Posts: 5611
Location: Toronto, Canada

PostPosted: Sat Mar 03, 2007 2:00 am    Post subject: Reply with quote

Maybe write a simple outputfilter that uses PHP's tidy extension,
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