[Zope3-Users] Problem with macro
Florian Lindner
mailinglists at xgm.de
Sun Feb 25 08:02:43 EST 2007
Hello,
I have a simple problem. A template:
<html metal:use-macro="views/standard_macros/view" i18n:domain="xgm.de/Blog">
<body>
<metal:block metal:define-macro="Blog">
<metal:block metal:fill-slot="body">
<h1 tal:content="context/title" />
<div tal:replace="context/description" />
[...]
</div>
</metal:block>
</metal:block>
</body>
</html>
That is registered as view.html.
Now I want to use the macro in another page:
div metal:use-macro="context/Blog/@@view.html/Blog" />
(tried different variations)
but that always causes a system error because the macro could not be found.
Thanks,
Florian
More information about the Zope3-users
mailing list