listdir num rows

basic functions and we:tags
Michael_S
Senior Member
Beiträge: 160
Registriert: Mi 4. Feb 2004, 02:39
Wohnort: London / UK
Kontaktdaten:

listdir num rows

Beitragvon Michael_S » Mi 24. Feb 2010, 14:05

Hi,

Is there a way to limit the number of rows displayed when using listdir?

Michael.
Production Area
London, UK
http://productionarea.com

e_herrmann
Senior Member
Beiträge: 1319
Registriert: Do 22. Mai 2003, 23:25

Re: listdir num rows

Beitragvon e_herrmann » Mi 24. Feb 2010, 14:32

Hi Michael,
it is not possible to limit the number of rows.
But why don't you use the listview tag. With the listview, you can list all sort of files to. For example all binaries:
<we:listview name="xy" workspaceID="\$wsID" contenttypes="binary" searchable="false" order="we_filename" desc="true">
Elko Herrmann
komplexx | internet.fotografie
web: http://www.komplexx.de

Michael_S
Senior Member
Beiträge: 160
Registriert: Mi 4. Feb 2004, 02:39
Wohnort: London / UK
Kontaktdaten:

Re: listdir num rows

Beitragvon Michael_S » Mi 24. Feb 2010, 14:59

Hi, Thanks for the swift reply, I forgot listvew could do the same job and it gives me the flexibility I need. The following link points you to a thread with the relevant code:

http://forum.webedition.de/viewtopic.php?f=39&t=10247

Michael.
Production Area
London, UK
http://productionarea.com


Zurück zu „Creating templates“

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 3 Gäste