22 Jul
2003
22 Jul
'03
9:31 p.m.
Gilles Lenfant wrote at 2003-7-22 15:44 +0200:
I made an all purpose widget macros collection template, and one macro from the template is used by another one.
Is there a kind of shortcut to tell the main macro that the secondary macro is defined in the same template ?
<div metal:define-macro="aux"> </div> <div metal:define-macro="main"> <div metal:use-macro="xxx/aux"> </div> </div>
Unfortunately not. I consider this a major drawback as it prevents the definition of macro libraries. Nowadays, we almost always use ZPT through CMF's "portal_skins". Therefore, "container" is the portal and we access the ZPTs via "container/ZPT_id". Dieter