cool.. I'm getting this one. didn't know "search" had options like dir
and fmt.
is it b.t.w possible to display images in subfolders? haven't managed
to do so,

cause this:
[(search dir=files type=gif,jpg fmt="img:{+p}")]
shows images in top level e.g. /files

and this
[(search dir=files/covers/a type=gif,jpg fmt="img:{+p}")]
shows this:
img:nameofcover

this one is almost the good one
[(search dir=files/covers type=gif,jpg fmt="img:{+p}.jpg")]
shows covers in top level e.g. /files but links for upload for others
like this

img:nameofcover0.jpg? img:nameofcover1.jpg? img:nameofcover2.jpg?

regards,


On Mar 10, 2:29 pm, The Editor <[email protected]> wrote:
> I think what you want to do is something like:
>
> [(search dir=files type=gif,jpg fmt="img:{+p}")]
>
> Along with any other kinds of delimiters you want, or conditionals you want.
>
> Cheers,
> Dan
>
> On Tue, Mar 10, 2009 at 7:10 AM, Linly <[email protected]> wrote:
>
> > May be you can try using "include". Try something like:
>
> > [(include page={+p} lines=1)] putting into your template. You'll find
> > it interesting.
>
> > The include syntax can be seem here:
>
> >http://www.boltwire.com/index.php?p=docs.handbook.include
>
> > Cheers, linly
>
> > On Mar 10, 7:26 pm, kanesodi <[email protected]> wrote:
> >> Hello all,
>
> >> I use [(search group=something* template=some count=num)] for most of
> >> my pages.
> >> Now I would like to use something similar for displaying pictures.
> >> Like indexing files. Is that possible? if so, could you point me in
> >> the right direction?
>
> >> regards,
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"BoltWire" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/boltwire?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to