Oct 1, 2009
Force download a custom view using MediaView
Just some quick hint: Let’s assume you generate a non-html file using a view, layout and custom extension (sql, xml, json, etc..) and you want to offer the displayed result as a download. – Generally you would need to force-download the file, probably using MediaView. Problem is that it isn’t actually a real file for MediaView to work with. Here’s a quick workaround to that, using... read more

