[pmwiki-users] Subfolders in "Uploads"? Esp. for Mini recipe

Roman romat2 at gmail.com
Wed Feb 3 11:18:21 CST 2010


Mike,
we haven't found per page attachments suggested by Hans and Petko
convinient. We use default per group attachments and when certain group has
many attachments so it needs to organize them then we use AttachSubDir - see
bellow.

In farmmap.txt I've added

AttachSubDir:   $UploadUrlFmt/$Group/

and then users can attach files in group subdirectories this way (instead of
Attach:):

AttachSubDir:SomeSubDir/file.ext

HTH, Roman

On Tue, Feb 2, 2010 at 18:04, Mike <mike at widowitz.com> wrote:

> Hello again,
>
> just trying again - would anybody be able to provide some help here?
>
> Basically, I'm trying to make the Mini recipe work with images clustered
> in subfolders - but all of the same PmWiki group. If possible, I'd also
> love to see subfolders for PmWiki attachments in general, but this would
> probably require a bit more reprogramming.
>
> Changing the Mini recipe to take subfolders as an argument should be
> easily possible thought... but when I tried, I failed as the folder
> structure is deeply coded into the Mini recipe...
>
> Thank you,
>
> Mike
>
>
>
> On 28.12.2009 10:00, Mike wrote:
> > Hello everyone again,
> >
> > (you can see from my activity that I'm trying to fix a few things these
> > days...)
> >
> > I was wondering if it is possible to organize uploads in the Uploads
> > directory in subdirectories, without using multiple groups.
> >
> > So, I'd like to use it like this:
> > uploads/Main/ - the "usual" uploads directory
> > uploads/Main/personal - contains personal pictures
> > uploads/Main/product1 - contains pictures of product 1
> > uploads/Main/product2 - contains pictures of product 2
> > etc.
> >
> > First, I'd like to have this just to keep stuff organized.
> >
> > Second, I'm displaying images with the Mini recipe - thanks Petko!!
> > great stuff!! - and would greatly appreciate if there was a way to tell
> > Mini to display all pictures of product 1 in one gallery, like
> >
> > Mini:product1/*.jpg
> >
> >
> > Is any of these two achievable?
> >
> > (I tried to work around with the Mini code, but it's quite closely
> > linked to the various Uploads variables so I failed... :-(
> >
> > Thank you!
> >
> > Mike
> >
> >
> >
>
> _______________________________________________
> 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/20100203/8107bbb7/attachment.html 


More information about the pmwiki-users mailing list