[pmwiki-users] gallery use of randomquote

Crisses crisses at kinhost.org
Sat Dec 2 06:23:11 CST 2006


On Nov 28, 2006, at 11:45 AM, Nicholas Buttle wrote:

> hi
>
> I've got random images on my main page working by the
> following method
>
> 1.  Create a Group 'Gallery'
> 2.  Create a Page within the Gallery group called
> 'Latest'
> 3.  (:include {Gallery/Latest$RandomSection}:)
> 4.  Copy the images from the Gallery.Latest uploads
> folder into the Main.HomePage folder.
>
> Is there any way I can avoid the last step?
>
>
> So I want the generated code
>
> <img
> src='http://localhost/wikimenu1/uploads/Main.HomePage/1.jpg
>
> to be
>
> <img
> src='http://localhost/wikimenu1/uploads/Gallery.Latest/1.jpg
>
> Thanks to anyone who has the time to help
>
> Nicholas
>
>
Hi, Nicholas,

I'm afraid I don't know a good answer for this, but  I saw that no  
one answered your question.

Can someone help??

Alternatively, maybe I need more information to understand what  
you're trying to do.  If you want a random page from the Gallery  
group, I would look at Pagelists with a pagelist format (fmt=) of  
include or a customized format, instead of includes themselves.

Crisses





More information about the pmwiki-users mailing list