Could it be possible to do:

<dtml with getBackground_image>
#somediv {background-image: &dtml- SomeValuefromgetBackgroundImagescript;;}
</dtml with>



Den 6. jul. 2010 kl. 16.49 skrev Kees Hink:

I would like to allow non-technical users to set a background image for a section of the site. As a first step to achieve this, I've added an image field to the content type which constitutes such a section, but how can i get it into
CSS?

I've tried registering a new CSS resource in portal_css. The problem with this is that the context of portal_css is always the Plone Site, so the page template or view class the generates the resource has this as its context.

Kees
_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to