]> sipb.mit.edu Git - ikiwiki.git/blob - doc/todo/more_flexible_inline_postform.mdwn
comments
[ikiwiki.git] / doc / todo / more_flexible_inline_postform.mdwn
1 Using the [[plugins/inline]] plugin, you can get an inline-postform for
2 creating new pages.
3
4 It would be quite nice to have the flexibility to do this outside of the
5 inline directive.
6
7 I've got a proof-of-concept hacked inline comment submission example at
8 <http://dev.jmtd.net/comments/> for example. I've just copied the HTML from
9 the post form and stuck it inside a [[plugins/toggle]].
10
11 (Before Simon completed the comments plugin, I thought this would the a
12 logical first step towards doing comment-like things with inlined pages).
13
14 -- [[Jon]]
15
16 > Perhaps what we need is a `postform` plugin/directive that inline depends
17 > on (automatically enables); its preprocess method could automatically be
18 > invoked from preprocess_inline when needed. --[[smcv]]
19
20 >> I've been looking at this stuff again. I think you are right, this would
21 >> be the right approach. The comments plugin could use it similarly, allowing
22 >> sites which desire it to have an inline comment submission form on all
23 >> pages with comments enabled. I'm going to take a look. -- [[Jon]]