Why is my new viewlet showing up in other skins on other plone instances?
Up to Table of ContentsThis FAQ applies to: Plone 3.0.x
You probably don't have the layer=".interfaces.IThemeSpecific" line. Ensure that your entry in browser/configure.xml looks like this:
<browser:viewlet name="myskin.myspecialviewlet" manager="plone.app.layout.viewlets.interfaces.IPortalHeader" class=".viewlets.MySpecialViewlet" permission="zope2.View" layer=".interfaces.IThemeSpecific" />
You may need to restart Plone after the change is made.
see also:
-
Customizing the viewlets in main_template
- Since Plone 3.0, main_template.pt calls viewlet managers instead of METAL macros. Learn from this tutorial how viewlets can be programmatically reordered, hidden or added (from a product on the filesystem).