Looping over files - OpenCMS
- by John Manak
Hi!
I'm developing a website using OpenCMS and am having a problem with creating links to files over which I loop using cms:contentload:
<cms:contentload collector="allInFolder" param="faqs/|FaqFile" editable="false">
<b><a href="${opencms.filename}"><cms:contentshow element="Title" /></a></b><br />
</cms:contentload>
This is a part of the index.jsp file. All the links unfortunately lead to index.jsp and not to the individual FAQ files. Do you know how to change this so that it works as expected?
Thanks,
John