[Pmwiki-users] include with edit-link
Patrick R. Michaud
Thu Sep 30 14:12:24 CDT 2004
On Thu, Sep 30, 2004 at 09:11:06PM +0200, Knut Alboldt wrote:
> is it possible to implement a function to display an edit-link (or
> edit-button) of the included file before a a file is included without
> changing pmwiki.php. (pmwiki v1)
I looked briefly but didn't see an easy way to do it in v1. Sorry.
> If it's not possible in pmwiki v1, would it be in pmwiki v2 ?
Yup -- in fact in v2 it's fairly simple to do. You can even
define a specialized markup (e.g. [:incledit ...:]) that provides
the button while leaving [:include:] alone (or vice versa).
More information about the pmwiki-users