[pmwiki-users] PITS 00308, putting attachments on edit page

Patrick R. Michaud pmichaud at pobox.com
Sun Jun 19 14:16:30 CDT 2005


On Sun, Jun 19, 2005 at 02:09:15PM -0500, Chris Cox wrote:
> I added 'markup:(:attachlist:)' to my
> PageEditFmt array to add the list of attachments for a
> Group to the edit page when editing.
> 
> I had a problem remember what the attachment was called when using
> Attach: in the editor.
> 
> Seemed like a good solution for this.
> 
> Does anyone do something better?
> 
> Couldn't make a wiki change to  PITS 00380, so I decided to
> post this idea here.

It's a good idea; on some sites the number of attachments can get

The truth is that PageEditFmt will be changing very soon, so 
that the display of the edit form will be stored in the Site.EditForm.
Then it'll be trivially simple to add (:attachlist:) into that
form.  (Of course, sites with custom values of $PageEditFmt will
continue to use that.)

See http://www.pmwiki.org/wiki/Test/EditForm for an example of
what I have in mind.

Pm



More information about the pmwiki-users mailing list