[ZPT] Content-type on PageTemplateFile

Thomas Olsen tol@tanghus.dk
Fri, 25 Jan 2002 10:45:22 +0100


Hi

Is it in anyway possible programmatically to set the 'content_type' on a 
PageTemplateFile? I have tried to override it using RESPONSE.setHeader(...) 
but to no avail - it only works when I set the property from the ZMI.

Its in a CMF site so I guess I could program some logic which copies the 
template to the custom folder and sets the property but it seems very 
unelegant.

-- 
Regards
Thomas Olsen

http://www.tanghus.dk