inline CSS declaration on template

inline CSS declaration on template

Monday 17 May 2010 11:17:29 am - 4 replies

Author Message

Håvard Bergersen

Monday 17 May 2010 12:17:39 pm

Sure.. Why not? :)

Carlos Revillo

Monday 17 May 2010 2:12:16 pm

i think it should be possible to do it like that. in fact we have some similar examples. you should take care about absolute or relative paths.

but probably a more elegant solution could be usign ezjscore.

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

Adolfo Antón Bravo

Wednesday 19 May 2010 5:20:16 am

Hi all

10700 and me got it:

<body id="XXX" style="background: url('/{$PATH.data_map.IMAGE_CLASS.content.original.url}') 0 0 repeat;">

Thanks a lot!

xsto.info, el acceso a la información
dominios.coop, el ISP de la economía solidaria

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.