Friday 18 March 2005 12:12:38 am
Hi, I am generating CSS stylesheets dynamically in eZ publish. This is somewhat related to Jason's post: http://ez.no/community/forum/setup_design/image_links_within_a_linked_css_file I am doing this to set background images on menu items, etc. and don't want to mess up the html. All is rather straightforward: I edited layout.ini.append.php for the user site to include the following
[css]
PageLayout=css_pagelayout.tpl
Then, I use css_pagelayout.tpl to create the CSS I need. eZ publish is such a great tool. The only thing that does not work ok is that eZ publish sets the Content-Type header to text/html, and I cannot find any place to change this. Has anyone created an alternative layout for a site that uses another content type? I have searched the eZ publish site, but I cannot find any hints.
Thanks, Ben
|