I want to add a new property name to base_properties.props or even to a
theme_properties.props
It should not be customized through the ZMI. It should be used through
GenericSetup.

The problem I've got is that a new dtml-variable within .props file is not
accepted.

I will get following traceback:

Traceback (most recent call last):

  File
"/usr/local/Plone/buildout-cache/eggs/Products.CMFCore-2.1.2-py2.4.egg/Products/CMFCore/DirectoryView.py",
line 272, in prepareContents
    properties=metadata.getProperties())

  File
"/usr/local/Plone/buildout-cache/eggs/Products.CMFCore-2.1.2-py2.4.egg/Products/CMFCore/FSObject.py",
line 76, in __init__
    self._readFile(0)

  File
"/usr/local/Plone/buildout-cache/eggs/Products.CMFCore-2.1.2-py2.4.egg/Products/CMFCore/FSPropertiesObject.py",
line 130, in _readFile
    raise ValueError, ( 'Error processing line %s of %s:\n%s'

ValueError: Error processing line 14 of
/usr/local/Plone/zinstance/src/mytheme/my/theme/skins/mytheme_theme_styles/base_properties.props:
headerBackgroundColor=#DAEAC6

It seems that it is necessary to define a new property with it's type
before. Or something like this.

Any helpful hints ?

By the way: It is recommended not to use base_properties.props
(http://plone.org/documentation/kb/creating-custom-style/base-properties)
Is it supposed that in future Plone versions the dtml-with in css will be
not longer allowed. Or is it only meant that it will get into Zope ? I do
not understand the background on this topic.

-fl

-- 
View this message in context: 
http://plone.293351.n2.nabble.com/base-properties-usage-in-GenericSetup-tp5109481p5109481.html
Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.
_______________________________________________
Setup mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/setup

Reply via email to