summaryrefslogtreecommitdiff
path: root/doc/recentchanges/change_47726461a4119741affa6536deec7dd1fe52ef0d._change
blob: 19d7c3035e9b8e35af1e52ddc7007bb76022fca4 (plain)
  1. [[!meta author="""http://kerravonsen.dreamwidth.org/"""]]
  2. [[!meta authorurl="""http://kerravonsen.dreamwidth.org/"""]]
  3. [[!meta title="""change to forum/field_and_forms/comment_1_a0e976cb79f03dcff5e9a4511b90d160 on ikiwiki"""]]
  4. [[!meta permalink="http://ikiwiki.info/recentchanges/#change-47726461a4119741affa6536deec7dd1fe52ef0d"]]
  5. <div id="change-47726461a4119741affa6536deec7dd1fe52ef0d" class="metadata">
  6. <span class="desc"><br />Changed pages:</span>
  7. <span class="pagelinks">
  8. <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>
  9. </span>
  10. <span class="desc"><br />Changed by:</span>
  11. <span class="committer">
  12. <a href="http://kerravonsen.dreamwidth.org/" rel="nofollow">kerravonsen [dreamwidth.org]</a>
  13. </span>
  14. <span class="desc"><br />Commit type:</span>
  15. <span class="committype">web</span>
  16. <span class="desc"><br />Date:</span>
  17. <span class="changedate"><span class="relativedate" title="Tue, 23 Nov 2010 02:18:52 +0000">02:18:52 11/23/10</span></span>
  18. <span class="desc"><br /></span>
  19. </div>
  20. <span class="revert">
  21. <a href="http://ikiwiki.info/ikiwiki.cgi?rev=47726461a4119741affa6536deec7dd1fe52ef0d&amp;do=revert" title="revert" rel="nofollow">[[revert|wikiicons/revert.png]]</a>
  22. </span>
  23. <div class="changelog">
  24. Added a comment: Limitations<br />
  25. </div>
  26. <div class="diff">
  27. <pre>
  28. diff --git a/doc/forum/field_and_forms/comment_1_a0e976cb79f03dcff5e9a4511b90d160._comment b/doc/forum/field_and_forms/comment_1_a0e976cb79f03dcff5e9a4511b90d160._comment
  29. new file mode 100644
  30. index 0000000..3e10dbb
  31. --- /dev/null
  32. +++ b/doc/forum/field_and_forms/comment_1_a0e976cb79f03dcff5e9a4511b90d160._comment
  33. @@ -0,0 +1,19 @@
  34. +&#91;&#91;!comment format=mdwn
  35. + username=&quot;http://kerravonsen.dreamwidth.org/&quot;
  36. + ip=&quot;60.241.8.244&quot;
  37. + subject=&quot;Limitations&quot;
  38. + date=&quot;2010-11-23T02:18:52Z&quot;
  39. + content=&quot;&quot;&quot;
  40. +I&#39;d already had a look at this idea before you posted this suggestion, and I ran into difficulties.
  41. +So far as I can see, it makes most sense to use the mechanisms already in place for editing pages, and enhance them.
  42. +Unfortunately, the whole edit-page setup expects a template file (by default, when editing pages, editpage.tmpl)
  43. +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.
  44. +At least, that&#39;s what I&#39;ve found - I could be mistaken.
  45. +
  46. +But if it&#39;s true, that rather puts the kybosh on dynamically generated forms, so far as I can see.
  47. +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.
  48. +
  49. +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?
  50. +
  51. +-- &#91;&#91;KathrynAndersen&#93;&#93;
  52. +&quot;&quot;&quot;&#93;&#93;
  53. </pre>
  54. </div>
  55. <!-- 47726461a4119741affa6536deec7dd1fe52ef0d -->