[opencms-dev] cms:resourceload to read subfolders.

Siegfried Ehret s.ehret at eurelis.com
Tue Feb 28 17:15:28 CET 2012


Hi all,

 

I'm trying to read available categories. ${folder} is the path I want to read, and I want its children folders.

 

<cms:resourceload collector="allInFolder" param="${folder}|folder|1000">

  <cms:resourceaccess var="item"/>

  <cms:contentinfo var="info"/>

  ${info.resultSize}

</cms:resourceload>

 

I'm not sure about the folder between the pipes, I tried with 0 (which seems to be the resource ID for folders), I tried with nothing, and I can't get it to work.

 

Any idea ?

 

Siegfried Ehret

 

Tel : +33 (0) 1 49 97 10 47

Développeur

EURELIS

AGITATEUR DE TECHNOLOGIES

Tel : +33 (0) 1 49 97 20 20

Fax : +33 (0) 1 47 68 20 19

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20120228/3eea8875/attachment.htm>


More information about the opencms-dev mailing list