Tuesday 12 August 2008 5:56:22 pm
Hi there, I have created separate eZ sections that are mapped to each sub-folder in my content hierarchy. eZ kindly adds section_id_7 (for example) to the outer <div> of each page which allows me to style each section uniquely using a CSS hook (to display a different banner for example). However, when I login and elect to edit a content object, the banners disappear because there is no longer a class of section_id_7 available in the HTML source. Worse, trying to cludge something in the templates won't work either as the $module_result.section_id variable is empty (it seems only available when browsing not editing for some weird reason). Is there a way to maintain the section-specific banners even while editing a content-object? I'm using eZp 4.0 with a modded ezwebin as a new eZ extension.
Many thanks for your time, Russ
Russell Michell, Wellington, New Zealand.
We're building! http://www.theruss.com/blog/
I'm on Twitter: http://twitter.com/therussdotcom
Believe nothing, consider everything.
|