This site has been archived. To learn more about our current products Ibexa Content, Ibexa Experience, Ibexa Commerce head over to the Ibexa Developer Portal
Tuesday 12 October 2010 2:13:36 pm - 4 replies
Hi community,
My need is the following : I'm developping an extra layer on top of eZPublish and I have to get extra http headers from it without modifying the actual content.
How can I enforce eZPublish to set specific http headers without touching the kernel or developping an extra heavy extension ?
I've found some Cache-Control and other things in the site.ini but it not seems to be a generic mecanism.
Any help will do it.
Tuesday 12 October 2010 3:09:39 pm
If you need the editors / the content to be able to set the source of those headers, use the persistent_variable:
. node template sets the desired header in the persistent var
. pagelayout tpl uses a custom template operator to send the header if it finds it in $module_result.persistent_variable
You must be logged in to post messages in this topic!