Hi,

I need to make this kind pseudo-code in ZCML

from Products.CMFPlone import getFSVersionTuple

if getFSVersionTuple() < (3, 1):

  <xyz:somedirective ...>

else: # Plone 3.1 and up

  <xyz:otherdirective ...>

I didn't find (or search correctly) something suitable to the "zcml:condition=..." attribute to do this. Should I stay in plain Python or there's a secret somewhere that gurus don't want to share ?

Cheers and thanks by advance for any hint.
--
Gilles Lenfant
INGENIWEB (TM) - SAS 50000 Euros - RC B 438 725 632
17 rue Louise Michel - 92300 Levallois Perret - France
Tel / Fax : 01.78.15.24.00
web : www.ingeniweb.com - « les Services Web Ingénieux »





_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to