[pmwiki-users] Update Attachments

Dominique Faure dominique.faure at gmail.com
Fri Feb 3 04:46:55 CST 2006


2006/2/3, Mike <mike at widowitz.com>:
> Patrick,
> would you mind to have a look at e.g. this page:
>
> http://astraxa.net/?6XO
>
> If you click on the "Attach" page, there will be the delta next to every
> attachment. It does not however on the main page...
>
> Thanks a lot,
>
> Mike
>
>
>
> Patrick R. Michaud wrote on 2/2/2006 18:16:
> > On Thu, Feb 02, 2006 at 01:35:46PM +0100, Mike wrote:
> >
> >>Hello group,
> >>
> >>I'm looking for a convenient way of making it easy for my users to
> >>update attachments - they are basically requesting to have some kind of
> >>"file-sharing-space" within our wiki, and many people have problems with
> >>the proper naming of files which they update and re-upload (resulting in
> >>things like "Our File.xls", "OurFile.xls" "OurFile" etc.
> >>
> >>Therefore, I looked at
> >>http://www.pmwiki.org/wiki/Cookbook/UpdateAttachments
> >>
> >>but can't make it work as I'd like to. First, the "Delta" next to the
> >>attachment link only appears on the "Attach" page, not on the actual
> >>page.
> >
> >
> > It should be appearing for every attachment -- I'm not sure why
> > it wouldn't be.
> >
> >
> >>Second, I'm not quite sure how to apply this recipe to my wiki -
> >>simply paste that code into config.php?
> >
> >
> > Yes, the code from UpdateAttachments is to be added to your
> > config.php.
> >
> >
> >>Finally, I'd like to replace the
> >>small "Delta" by something more meaningful to new users - I assume that
> >>I could simply replace "Delta" by e.g. "Click here to update this file"
> >>or something...
> >
> >
> > Yes, you can replace the "&Delta;" by whatever text you'd like.
> >
> > Pm
> >
>
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://host.pmichaud.com/mailman/listinfo/pmwiki-users
>

In fact, the FmtUploadList function doesn't take account of the
$LinkUploadCreateFmt variable potentially overloaded in skins... Cf.
scripts/upload.php line 277

Hope this help,
Dom




More information about the pmwiki-users mailing list