Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Template metadata from php code

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Frameworks
View previous topic :: View next topic  
Author Message
DMarvelus
Smarty n00b


Joined: 02 May 2006
Posts: 1

PostPosted: Tue May 02, 2006 12:41 pm    Post subject: Template metadata from php code Reply with quote

I was wondering if there is any way that the data that php code gives to a template can be described. That way, for example, if I was making a PHP script, I could describe the data that the script generates(maybe in the script itself), give it to the designer, then they could do the design work.

Maybe it could be integrated into Dreamweaver where they could manipulate the data in a drag and drop fashion, just dragging it to where they want it on the page.

some one may have already done this.. but just wondering.
Back to top
View user's profile Send private message
toma
Smarty Regular


Joined: 25 Apr 2003
Posts: 62

PostPosted: Fri Mar 23, 2007 11:06 pm    Post subject: Reply with quote

{* Comments? *}
Back to top
View user's profile Send private message Visit poster's website
shannera
Administrator


Joined: 13 Feb 2006
Posts: 802
Location: Edertal, Germany

PostPosted: Mon Mar 26, 2007 9:06 am    Post subject: Reply with quote

By adding {debug} to a template the designer get a popup window where he can see what data is passed to the template.
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Frameworks 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