[Product-Developers] Inconsistent Diazo File Path Base

Chris Heiland heiland at gmail.com
Fri Feb 25 18:40:16 UTC 2011


While configuring diazo I'm noticing a strange inconsistency and
wanted to ask if this was normal. In the control panel for the product
under the 'Rules file' the path is not consistent when plone is run in
fg vs bg (normal mode?). I have plone 4.0.2 installed via bulidout
with the latest KGS for collective.xdv.

My theme folder with files used for transforming:

$ /plone/buildout/theme/

In fg mode on my local dev machine or the server I can set the path to
'theme/rules.xml'. However, when I run this in bg locally or via
supervisor on the server I have to set the path as follows:
'../theme/rules.xml'. is there a path I have to set somewhere to keep
this all consistent? I'd rather not use absolute paths to keep the
configuration portable.

Thanks.



More information about the Product-Developers mailing list