New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'Inner' support for forms #19
Comments
From mani...@gmail.com on July 12, 2009 19:16:33 Disclaimer: I'm not a TXP developer, just another TXP user. I've seen something similar in Django, where you can create that kind of wrapping This kind of idea could go in tandem with this proposal (also inspired in Django): http://forum.textpattern.com/viewtopic.php?pid=178734 |
From r.wetzlmayr on July 12, 2009 22:58:59 <txp:variable /> can be used to provide such functionality. Labels: Component-Core Priority-Low Type-Enhancement |
From artag...@gmail.com on July 12, 2009 23:48:36 This is analogous to the <r:yield> tag in Radiant. I agree it would be a useful addition. Although <txp:variable |
From artag...@gmail.com on July 15, 2009 22:58:47 Status: Confirmed |
From julian.l...@gmail.com on July 16, 2009 06:03:25 hi artagesw, not sure what means the new status ("Confirmed"). Maybe we can do some little more brainstorming on this, although no doubt you First, both wet and you says that <txp:variable /> can be used to provide such Seconda, there is also this post on TXP forum: http://forum.textpattern.com/viewtopic.php?id=31191 I think that FireFusion is suggesting some way to create variables directly from In other words: <txp:variable name="foo" value="1" /> Form "my_form": <txp:if_variable name="foo" value="1"> That may be seen as a little cumbersome, but at least, it currently works, and seems FireFusion may be suggesting something like <txp:output_form form="my_form" var="foo" value="1" /> to create txp:variables "on the fly". I don't like this last example too much. But, both examples could lead to another attempt to create a "One form to rule them Then, another idea: txp:output_form as a container tag, which may sound really This can also lead to the "one form to rule them all" approach. Anyway, I'm just thinking loud. I'm not a programmer and I'm probably be talking of |
From robinpel...@gmail.com on July 16, 2009 08:28:17 "FireFusion may be suggesting something like <txp:output_form form="my_form" var="foo" value="1" />" Actually it would be more like this. <txp:output_form form="my_form" var_name="value" /> That way you could define many variables in one output form. <txp:output_form form="my_form" var_name="value" var_name2="value" var_name3="value" /> |
From artag...@gmail.com on July 16, 2009 11:15:04 @Julian: "Confirmed" status means the proposed feature has been recognized as having merit and has been |
From artag...@gmail.com on July 18, 2009 01:16:01 This issue was closed by r3251 . Status: Fixed |
From mani...@gmail.com on August 24, 2009 17:33:42 Hi Sam, after doing some testing of this new feature (txp:output_form as container and But before going on, I would like to know if this is the place to discuss it, or Thanks. |
From artag...@gmail.com on August 24, 2009 17:53:23 Well, since this issue has been closed, I think it would be better to discuss related ideas in a forum post or on |
From r.wetzlmayr on March 09, 2010 03:32:24 Status: Resolved |
From mark.ericson on July 12, 2009 22:58:25
Today I was working on a new textpattern-based website and realized it
would be very powerful if I could effectively parameterize a form. I
would use this in several places in my site design to create consistent
wrapping of content, but with different content for different scenarios.
Effectively I would call a form which would provide the outer wrapping
tags, but I could pass some inner (x)html content.
This is a super oversimplification, doesn't adequately document the use
cases, but I was thinking of something like this:
Page contains:
<txp:output_form "myform">
</txp:output_form />
Where form "myform" is defined as:
Output would be:
Original issue: http://code.google.com/p/textpattern/issues/detail?id=15
The text was updated successfully, but these errors were encountered: