[opencms-dev] listing files with taglib

Ruben Malchow ruben at disk0.de
Sun Aug 16 02:06:57 CEST 2009


hi,

is there a way to list files from the vfs using tags? as in 
cms:contentload, but for non-xml contents?

the situation is this: i have a field in my content xml for related 
images. i can have several of them, but i also want to be able to point 
this to an entire folder. so instead of saying "this one is related, and 
that one, and that one" i want to be able to just say "all of those".

now, to do that, i must first distinguish wether the referenced file is 
a file or a folder. if it is a file, i will just display it. if it is a 
folder, i want to list all images in that folder and display thumbnails 
for all.

any ideas/hints/suggestions?

.rm



More information about the opencms-dev mailing list