[Product-Developers] Plone theming: Multiple base_properties
Carsten Senger
senger at rehfisch.de
Mon Jan 31 17:55:42 UTC 2011
--On Montag, Januar 31, 2011 09:33:29 -0800 ucalligaro
<u.calligaro at tecnoteca.it> wrote:
>
> Hi,
> I have a theme, and I want to use it in several sites (every site has a
> different combination of colors/images/etc).
> I can make several base_properties.props - one per color (something like
> base_properties_red.props, base_prperties_green.props, ..).
> Is there a way to set, in my plone site, the right base_properties to use?
Make a complete theme in one package. Then make additional themes that uses
all the skin folders from the base theme, but as the first one a special
folder. This files in this folder will override the ones in the lower skin
folders from your base theme.
e.g.
- my_base <- all the files you need
- plone_templates
- plone_images
...
Color variant
- my_red_theme
- my_base
- plone_templates
- plone_images
...
If you put a file with the same name in my_red_theme, it will be used
instead of the file in my_base. If you put base_properties into
my_red_theme, it will replace the complete base_properties from my_base.
You can find more information in the theming documentation on plone.org.
..Carsten
> Thanks for your precious help,
> Umberto
> --
> View this message in context:
> http://plone.293351.n2.nabble.com/Plone-theming-Multiple-base-properties-
> tp5977939p5977939.html Sent from the Product Developers mailing list
> archive at Nabble.com. _______________________________________________
> Product-Developers mailing list
> Product-Developers at lists.plone.org
> https://lists.plone.org/mailman/listinfo/product-developers
More information about the Product-Developers
mailing list