]> sipb.mit.edu Git - ikiwiki.git/blob - doc/todo/more_flexible_inline_postform.mdwn
Merge commit 'smcv/ready/depends-exact'
[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]]