This is trivial if you get the content through an extension - I've done many to output xml,vcards etc... but, I don't think you can change the content disposition from a template. It's always AFAIR coming from php.
How about go into index.php, and intercept the echo that writes out the page. Search for my custom tag, in my template e.g. <downloadable/> and if i find this, printout disposition header, and if not, carry on with page? - how bad is this quick fix on performance? (I did it, as a temporary solution, I will tryout wrap_operator)
How about go into index.php, and intercept the echo that writes out the page. Search for my custom tag, in my template e.g. <downloadable/> and if i find this, printout disposition header, and if not, carry on with page? - how bad is this quick fix on performance? (I did it, as a temporary solution, I will tryout wrap_operator)
It's not only performance issue, but the fact you are hacking the files of eZP installation. It's not really a clean way and you'll have to watch out for upgrades...
--
Nothing is impossible. Not if you can imagine it!
Hubert Farnsworth
You must be logged in to post messages in this topic!