[pmwiki-users] Attach: Syntax and the Default Upload Quick Reference

Patrick R. Michaud pmichaud at pobox.com
Sat Feb 4 13:41:41 CST 2006


On Sat, Feb 04, 2006 at 12:31:30PM -0700, H. Fox wrote:
> On 2/3/06, Neil Herber <nospam at eton.ca> wrote:
> > At 2006-02-03  03:45 PM -0600, Patrick R. Michaud is rumored to have said:
> > >If we're assuming javascript, then a simpler approach is probably to
> > >place all of this useful behavior on to the existing "Attach file"
> > >button in the edit form.  So then the sequence would be:
> > >
> > >    - Author presses "Attach file" in the button bar
> > >    - A window pops up showing the list of available attachments for
> > >      the page (perhaps with navigational elements to find attachments
> > >      for other pages or groups)
> > >    - Selects the file to be attached
> > >    - The javascript then inserts "Attach:author_selection.txt" directly into
> > >      the edit page at the current cursor position.
> 
> This might go without saying, but it should degrade gracefully.  By
> assuming JavaScript you'll leave a few authors without the useful
> behavior.

Yes, but those authors would continue to have the existing behavior,
which is at least workable, even if it's not the most convenient.

Pm




More information about the pmwiki-users mailing list