goldsky / FileDownload-R

FileDownload snippet for MODX revolution
12 stars 7 forks source link

Multilanguage – links to files missing language parameter #52

Open tloschen opened 8 years ago

tloschen commented 8 years ago

Hello, i want to get a list of files out of a directory and used filedownload-r to generate this. Everything is easy in the main language version, but for the second language it will not work. The links generated miss the /en/ and there is no chance to get this. Also it seems that the special chunks for "tplFile" isn't working. This is how i made the directory listing: [[!FileDownload? &getDir=[[++base_path]]XXX/YY/&browseDirectories=1&dateFormat=d.m.Y&fileCss=disabled&fileJs=disabled&tplWrapper=en.DownloadWrapperTpl&tplFile=en.DownloadFileTpl]]

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/36349580-multilanguage-links-to-files-missing-language-parameter?utm_campaign=plugin&utm_content=tracker%2F1480317&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F1480317&utm_medium=issues&utm_source=github).