[pmwiki-users] Uploads by page, group and site

Simon nzskiwi at gmail.com
Tue Dec 15 12:23:41 CST 2009


I use this for my wiki.

I'd recommend running you whole wiki with uploads per page.

Otherwise using photos from one page on another can be problematical.

To achieve what you want (and I don't recommend it) add
UploadPrefixFmt statements
to each group and page config file you want to customise in the /local/

ps see also

2009/12/16 <pmwiki at 911networks.com>

> Hi,
> I'm trying to organize the uploads directory.
> 1. For specific pages only:  $UploadPrefixFmt = '/$Group/$Name';
> 2. for specific group only:  $UploadPrefixFmt = '/$Group';
> 3. For the whole site:  $UploadPrefixFmt = '';
> On some pages, I want the upload to be '/$Group/$Name'. On some, it's
> for the group. I don't want to repeat the image on every page of the
> group. The images in the sidebar are for the whole site.
> How do I control $UploadPrefixFmt? Is there some page syntax for it?
> --
> Thanks
> http://www.911networks.com
> When the network has to work
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20091216/bbfd0ae9/attachment.html 

More information about the pmwiki-users mailing list