{ "info": { "author": "Roger Ineichen and the Zope Community", "author_email": "zope3-dev@zope.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Zope3", "Intended Audience :: Developers", "License :: OSI Approved :: Zope Public License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP" ], "description": "Macro viewlets are Zope 3 UI components. In particular they allow the developer\nto specify viewlets based on macros instead of entire templates.\n\n.. contents::\n\n==============\nMacro Provider\n==============\n\nThis package provides a ZCML directive which allows you to register a macro\ndefined in a template as a viewlet. Such a macro based viewlet acts 100% the\nsame as a other viewlets. It could be very handy if you want to write a layout\ntemplate in one page template and define selective parts as viewlets without\nadding any additional HTML. Let me show what this will look like:\n\nThe layout/master template can look like this::\n\n \n \n
\n