goldsky / FileDownload-R

FileDownload snippet for MODX revolution
12 stars 7 forks source link

Disable CSS Link Adding #41

Closed jonas-veselka closed 9 years ago

jonas-veselka commented 9 years ago

Hi, I'am using CSS preprocessor Sass and importing fd.css to my app.css. To avoid double loading styles, I would like to disable appending of LINK tag with fd.css stylesheet into HEAD. Based on documentation, I set &fileCss parameter to `` (empty string), but the empty LINK tag is still appending. It would be nice, if FD-R tested &fileCss first and if it’s empty, no LINK was appended. Thanks for Your great work on FD-R. Froggiewalker

goldsky commented 9 years ago

try &fileCss=disabled``

jonas-veselka commented 9 years ago

Great, this is what I needed to know. Thanks

goldsky commented 9 years ago

I think I missed that on rtfm, thanks for notifying.