Hi all,
I can't help feeling lost. Some time a go I asked how to list images
in subfolders. The solution was: [(search dir=files/covers/0 type=jpg
fmt="[^img:{+p1}.jpg dir=covers/0^]")]
Now I have like 28 of this lines and want to shorten it and also have
more control over it's output.
I was thinking using dir=files/covers/0 as a variable to be used in
fmt. I tried serval and most of them lock me out. What I tried was
like this and a few others similar:
[(search dir=files/covers/0 type=jpg fmt="[^img:{+p1}.jpg dir={::dir}
^]")]
At the moment I have a table with a few rows/cell to show all images
and a link to view all images of one specific letter:
[t]
/* ROW 1 */
[r][h]#[h]A[h]B
[r]
[c][(search dir=files/covers/0 type=jpg fmt="[^img:{+p1}.jpg
dir=covers/0^]")]
[c][(search dir=files/covers/a type=jpg fmt="[^img:{+p1}.jpg
dir=covers/a^]")]
[c][(search dir=files/covers/b type=jpg fmt="[^img:{+p1}.jpg
dir=covers/b^]")]
[r]
[c][[0|view all covers]][c][[a|view all covers]][c][[b|view all
covers]]
[t]
(note: just a section of it, the rest is the same except for the
letters a-z)
I want to turn it into something more flexible. I think I can do that
if I know how to search recursively instead of pointing each dir=
But how? any suggestions?
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
-~----------~----~----~----~------~----~------~--~---