I am trying to create a own viewlet to change the default plone site using viewlet.I created viewlets.xml file under profiles/default directory.In the viewlets.xml file contains the code to hide the default plone logo.I registered profiles directory in main configure.zcml file like this
configure.zcml
<plone:static directory="profiles" type="theme"/>
<include package=".profiles" />
But while creating instance am getting error like this IOError: [Errno 2] No such file or directory: '/home/oomsys/brundelre3/src/bdr.theme/src/bdr/theme/profiles/configure.zcml'
pls anyone help me.. still i m in struck
You do not need to register the
profiles
directory. It's automatically picked up by Generic Setup.EDIT
You do have to register the
profiles
directory but with a ZCML stanza like this:Once you install your package it will automatically run all the xml files within
profiles/defualt
.