3

I'm approaching to Diazo after a light use of collective.xdv.

Usually in xdv I could use a nice env variable "HTTP_X_XDV" to allow the rendering of certain css file (in portal_css via genericsetup). What I could use in Diazo?

Thank's Vito

Vito
  • 1,201
  • 1
  • 10
  • 16

1 Answers1

5

From the documentation of plone.app.theming, you can use this:

request/HTTP_X_THEME_ENABLED | nothing

http://pypi.python.org/pypi/plone.app.theming

toutpt
  • 5,145
  • 5
  • 38
  • 45