Hi!<br />
<br />
I'm developing a website using OpenCMS and am having a problem with creating links to files over which I loop using cms:contentload:<br />
<br />
<div> <cms:contentload collector="allInFolder" param="ePass/faqs/|FaqFile" editable="false"></div>
<div> <%-- create a date object from date value --%></div>
<div></div>
<div> <% int i = 0; %></div>
<div> </div>
<div> <cms:contentcheck ifexists="Subcategories"> </div>
<div> <cms:contentloop element="Subcategories"> </div>
<div> <cms:contentloop element="Faqs"></div>
<div> <span style="white-space: pre;"> </span><% i++; %></div>
<div> </cms:contentloop></div>
<div> </cms:contentloop> </div>
<div></div>
<div> </cms:contentcheck> </div>
<div> <b><a href="${opencms.filename}"><cms:contentshow element="Title" /></a></b> (<%= i %> answers) <br /></div>
<div></div>
</cms:contentload> <br />
<br />
This is 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?<br />
<br />
Thanks,<br />
Peter