Forums / Setup & design / inline CSS declaration on template / Comment59128
André R.
Tuesday 18 May 2010 1:04:11 am
I don't see how ezjscore would help here, but I might be overlooking something.
One way is to create some section class like you say and somewhere in pagelayout fetch the one closest to current node in current path using something like 'parent_node_id', $node.path_array and sorting it by path.
eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription @: http://twitter.com/andrerom