Skip to main content
2 events
when toggle format what by license comment
Jun 4, 2014 at 17:52 comment added DWils I like this idea, but can I also use the if condition to decide if I should load layout and render layout? Basically I will load a pdf in iframe in content block, or if user wants to download the pdf, using the same url with ?download=1&file=path/to/file.pdf, and using htaccess to redirect requests to pdf files. So if pdf is accessed directly, load in a page, with option to download.
Jun 4, 2014 at 4:48 history answered Amit Bera CC BY-SA 3.0