goldsky / FileDownload-R

FileDownload snippet for MODX revolution
12 stars 7 forks source link

How to run a snippet twice? #2

Closed MacKlaud closed 13 years ago

MacKlaud commented 13 years ago

Hi. Sorry for the translation of google. How to run a snippet twice on the same page with different settings and folders?

goldsky commented 13 years ago

You just made me aware to the MODX's condition on getService() method. It won't process the different properties because the class has been loaded by the first snippet call with its properties.

I just made a change on here: https://github.com/goldsky/FileDownload-R/commit/306375e23c15e12155842178fa6acab34bf7c03d

MacKlaud commented 13 years ago

Thanks