8 Apr
2004
8 Apr
'04
10:54 a.m.
Is it possible to refer to a macro defined in the same file in a use-macro statement? Using: <div metal:use-macro="template/macros/render_fields"/> doesn't work because template is the main template called not necessary the one containing the macro and the use-macro. Using: <div metal:use-macro="here/pat/to/the/file/macros/render_fields"/> does work but if I move the file I need to change the content, and that's bade maintainability in my book :-) Regards, Johan -- Johan Carlsson Tel: + 46 8 31 24 94 Colliberty Mob: + 46 70 558 25 24 Torsgatan 72 Email: johanc@easypublisher.com SE-113 37 STOCKHOLM Skype: colliberty