[pmwiki-users] Include page action?

Peter Bowers pbowers at pobox.com
Tue Dec 6 23:53:57 CST 2011

On Wed, Dec 7, 2011 at 4:42 AM, Ryan Varick <rvarick at gmail.com> wrote:
> Is is possible to use the (:include:) directive for specific page actions?
> For example, is there any way to (:include:) the ?action=edit or
> ?action=source variants of a page? Instead of reloading the page for these
> actions, I simply want to show a previously-hidden, pre-populated DIV.

If I understand correctly you want to load the same page 3 different
times, each in a different "mode" (i.e., edit, browse, source).  Then
you wish to be able to switch instantaneously between the modes by
clicking on a tab or a button or something and just toggling the
appropriate view into visible.  Is that correct?

If I've understood correctly I think you're going to have significant
difficulties with this.  The closest I've seen is blogit's AJAX
editing (which is *very* cute, btw).  But these actions are used in
too many contexts within pmwiki to be able to have the same page
loaded in 3 different modes, I think.  It is probably possible, but I
wouldn't want to underestimate the headache -- I think this would be a
fairly significant development project.


More information about the pmwiki-users mailing list