[pmwiki-users] Re: Moving from group uploads to per-page uploads (was: Images in another group)

Patrick R. Michaud pmichaud at pobox.com
Wed Dec 7 15:43:47 CST 2005


On Wed, Dec 07, 2005 at 09:35:42PM +0100, Mikael Nilsson wrote:
> On a related note, what should I do in order to move the existing
> uploads I have to per-page uploads?
> 
> Currently my $UploadPrefixFmt is unchanged from the default, and I have
> a number of uploads. I want to change this variable to
> 
> $UploadPrefixFmt = '/$FullName';
> 
> and at the same time, move my existing uploads around so that they are
> found in the right places. Is there a smart way to do that?

Unfortunately there's not currently a simple mechanism for doing this.

I would probably go ahead and set $UploadPrefixFmt, then do a search on
the site for all pages containing "Attach:" (be sure to use the quotes)
and then re-upload any attachments directly from the uploads directory.

Pm




More information about the pmwiki-users mailing list