[[!FileDownload?
&getDir=`../PDF/[[parentAlias?]]/[[*alias]]/`
&extShown=`pdf`
&tplFile=`pdfFileRowTPL`
&tplWrapper=``
&plugins=`[
{ "name":"waterMarkPDF"
,"event":"BeforeFileDownload"
}]`
]]$linktofile = $plugin.getProperties('filePath');$currentUser = $modx->getLoginUserName();
This question has been answered by glynszasz. See the first response.
Any error?No error that I can find. Nothing seems to come up within the MODX Error Report menu item or the error_log file. Perhaps there is a debug option within DownloadR that I can enable to see what is going on.
<li><a href="water.php?path=[[+fd.url]]" target="_blank">[[+fd.filename]]</a></li>