(no commit message)
[ikiwiki] / doc / recentchanges / change_47726461a4119741affa6536deec7dd1fe52ef0d._change
1 [[!meta author="""http://kerravonsen.dreamwidth.org/"""]]
2
3 [[!meta authorurl="""http://kerravonsen.dreamwidth.org/"""]]
4
5 [[!meta title="""change to forum/field_and_forms/comment_1_a0e976cb79f03dcff5e9a4511b90d160 on ikiwiki"""]]
6
7 [[!meta permalink="http://ikiwiki.info/recentchanges/#change-47726461a4119741affa6536deec7dd1fe52ef0d"]]
8
9 <div id="change-47726461a4119741affa6536deec7dd1fe52ef0d" class="metadata">
10 <span class="desc"><br />Changed pages:</span>
11 <span class="pagelinks">
12
13 <a href="http://git.ikiwiki.info/?p=ikiwiki;a=blobdiff;f=doc/forum/field_and_forms/comment_1_a0e976cb79f03dcff5e9a4511b90d160._comment;h=3e10dbbd9e2f662397f924a7493561a843d59768;hp=0000000000000000000000000000000000000000;hb=47726461a4119741affa6536deec7dd1fe52ef0d;hpb=8935a131d02ac13b6024dff9cbf7a5f837fcdc04" title="diff" rel="nofollow">[[diff|wikiicons/diff.png]]</a><a href="http://ikiwiki.info/ikiwiki.cgi?page=forum%2Ffield_and_forms%2Fcomment_1_a0e976cb79f03dcff5e9a4511b90d160&amp;do=goto" rel="nofollow">forum/field and forms/comment 1 a0e976cb79f03dcff5e9a4511b90d160</a>
14
15
16 </span>
17 <span class="desc"><br />Changed by:</span>
18 <span class="committer">
19
20 <a href="http://kerravonsen.dreamwidth.org/" rel="nofollow">kerravonsen [dreamwidth.org]</a>
21
22 </span>
23 <span class="desc"><br />Commit type:</span>
24 <span class="committype">web</span>
25 <span class="desc"><br />Date:</span>
26 <span class="changedate"><span class="relativedate" title="Tue, 23 Nov 2010 02:18:52 +0000">02:18:52 11/23/10</span></span>
27 <span class="desc"><br /></span>
28 </div>
29
30 <span class="revert">
31 <a href="http://ikiwiki.info/ikiwiki.cgi?rev=47726461a4119741affa6536deec7dd1fe52ef0d&amp;do=revert" title="revert" rel="nofollow">[[revert|wikiicons/revert.png]]</a>
32 </span>
33
34 <div class="changelog">
35
36
37 Added a comment: Limitations<br />
38
39
40 </div>
41
42 <div class="diff">
43 <pre>
44 diff --git a/doc/forum/field_and_forms/comment_1_a0e976cb79f03dcff5e9a4511b90d160._comment b/doc/forum/field_and_forms/comment_1_a0e976cb79f03dcff5e9a4511b90d160._comment
45 new file mode 100644
46 index 0000000..3e10dbb
47 --- /dev/null
48 +++ b/doc/forum/field_and_forms/comment_1_a0e976cb79f03dcff5e9a4511b90d160._comment
49 @@ -0,0 +1,19 @@
50 +&#91;&#91;!comment format=mdwn
51 + username=&quot;http://kerravonsen.dreamwidth.org/&quot;
52 + ip=&quot;60.241.8.244&quot;
53 + subject=&quot;Limitations&quot;
54 + date=&quot;2010-11-23T02:18:52Z&quot;
55 + content=&quot;&quot;&quot;
56 +I&#39;d already had a look at this idea before you posted this suggestion, and I ran into difficulties.
57 +So far as I can see, it makes most sense to use the mechanisms already in place for editing pages, and enhance them.
58 +Unfortunately, the whole edit-page setup expects a template file (by default, when editing pages, editpage.tmpl)
59 +and anything apart from \&quot;submit\&quot; buttons must have a placeholder in the template file, or it doesn&#39;t get displayed at all in the form.
60 +At least, that&#39;s what I&#39;ve found - I could be mistaken.
61 +
62 +But if it&#39;s true, that rather puts the kybosh on dynamically generated forms, so far as I can see.
63 +I mean, if you knew beforehand what all your fields were going to be, you could make a copy of editpage.tmpl, add in your fields where you want, and then make a plugin that uses that template instead of editpage.tmpl, but that&#39;s very limited.
64 +
65 +If someone could come up with a way of making dynamic forms, that would solve the problem, but I&#39;ve come up against a brick wall myself.  Joey?  Anyone?
66 +
67 +-- &#91;&#91;KathrynAndersen&#93;&#93;
68 +&quot;&quot;&quot;&#93;&#93;
69
70 </pre>
71 </div>
72
73 <!-- 47726461a4119741affa6536deec7dd1fe52ef0d -->