I'd like to list all files of a directory. These are pdf's and worddocs. The idea is that editors only have to upload new docs to that directory, after that webEdition will list them and provides a link to download those documents.
But how?
I hope someone can help me out.
Thanks in advance.
Listdir
Hello,
you can use the we:tag we:listview for this function, but the files must be uploaded with webEdition, not with a ftp client.
<we:listview type="document" workspaceID="id_of_the_folder">
<we:repeat>
<we:field name="we_path" hyperlink="true">
<we:field name="description">
</we:repeat>
</we:listview>
you can use the we:tag we:listview for this function, but the files must be uploaded with webEdition, not with a ftp client.
<we:listview type="document" workspaceID="id_of_the_folder">
<we:repeat>
<we:field name="we_path" hyperlink="true">
<we:field name="description">
</we:repeat>
</we:listview>
Wer ist online?
Mitglieder in diesem Forum: 0 Mitglieder und 2 Gäste