Menu
  • HOME
  • TAGS

How to set background-color using Diazo manifest parameter (XSL)

css,xslt,diazo

I found a solution in a Quintagroup theme at https://github.com/quintagroup/quintagroup.theme.sunrain/blob/master/quintagroup/theme/sunrain/static/tune.xml <after theme-children="/html/head/style"> body { background-color: <xsl:value-of select="$body_background_color" />; } </after> This adds my css code to the end of an existing style tag in the header....

“TypeError: make_staticdir() got an unexpected keyword argument 'document_root'” running Diazo through Proxy

python,plone,diazo

It turns out that this error is caused by a mistake in the proxy.ini file due to which a suppressed error is thrown in the webobentrypoints library. To correct this, please change the third section of proxy.ini entitled "app:static" to use "path" instead of the incorrect "document_root" such that it...

Mobile app marker for Plone / Diazo

android,ios,iphone,plone,diazo

Have you seen zettwerk.mobiletheming? It allows you to define a different theme for a different url - so you can provide two (diazo) themes for one page. There is also an example (jquery.mobile based) theme which you can try: zettwerk.mobile. Also check the provided screencasts to see it in action....