Using it for the first time (revo 2215) to display on a private page the files contained into a directory ABOVE the httpdocs.
This dir is associated to a media source for easy manager uploads.
The final folder name comes frome an extented fields defined on the user's manager page.
As the user must be logged the Profile snippet is run at the beginning of the page, thu we get all user's placeholders.
[[+privateDIR01]] is the targeted forlder.
[[!FileDownload?
&getDir=/var/www/vhosts/XxXXxx/Priv_downloads/[[+privateDIR01]]/
&browseDirectories=0
&dateFormat=d/m/Y
&fileCss=[[++assets_url]]templates/tpl1/css/fd.css
]]
The output is TRIPLE what it should be. 2 files in the test folder but the list is :
file1
file2
file1
file2
file1
file2
Hi,
Using it for the first time (revo 2215) to display on a private page the files contained into a directory ABOVE the httpdocs. This dir is associated to a media source for easy manager uploads.
The final folder name comes frome an extented fields defined on the user's manager page. As the user must be logged the Profile snippet is run at the beginning of the page, thu we get all user's placeholders. [[+privateDIR01]] is the targeted forlder.
[[!FileDownload? &getDir=
/var/www/vhosts/XxXXxx/Priv_downloads/[[+privateDIR01]]/
&browseDirectories=0
&dateFormat=d/m/Y
&fileCss=[[++assets_url]]templates/tpl1/css/fd.css
]] The output is TRIPLE what it should be. 2 files in the test folder but the list is : file1 file2 file1 file2 file1 file2?? Thank you