ZCML File
configure.zcml

<configure
    xmlns="http://namespaces.zope.org/zope"
    xmlns:browser="http://namespaces.zope.org/browser"
    xmlns:zcml="http://namespaces.zope.org/zcml"
    i18n_domain="zope"
    >
<browser:resourceDirectory
    name="tree_images"
    directory="images"
    />
<browser:pages
    class=".cookie.CookieTreeView"
    for="*"
    permission="zope.View"
    >
<browser:page
    name="cookie_tree"
    attribute="cookieTree"
    />
<browser:page
    name="folder_cookie_tree"
    attribute="folderTree"
    />
<browser:page
    name="site_cookie_tree"
    attribute="siteTree"
    />
<browser:page
    name="root_cookie_tree"
    attribute="rootTree"
    />
<browser:page
    name="virtualhost_cookie_tree"
    attribute="virtualHostTree"
    />
</browser:pages>
<browser:layer
    name="statictree"
    interface=".IStaticTreeLayer"
    bbb_aware="true"
    zcml:condition="have deprecatedlayers"
    />
<interface
    interface=".IStaticTreeSkin"
    type="zope.publisher.interfaces.browser.IBrowserSkinType"
    name="StaticTree"
    />
<browser:page
    layer=".IStaticTreeLayer"
    for="*"
    permission="zope.View"
    name="navigation_macros"
    template="navigation_macros.pt"
    />
</configure>