Hi David, That was the clue i needed. Thank you!
Kees On 06/10/2010 06:12 PM, David Glick wrote: > On 6/10/10 7:29 AM, Kees Hink wrote: >> i would think that this profiles/default/viewlets.xml: >> <?xml version="1.0"?> >> <object> >> <order >> manager="plone.portalfooter" >> skinname="*" >> > >> <viewlet >> name="doormat.footer" >> remove="True" >> /> >> </order> >> </object> >> >> would do the job. No such luck, however. I've tried some variations, like >> using >> "purge" instead of "remove", appending it to other XML nodes as well, but it >> still doesn't remove the viewlet. >> > Remember that viewlets.xml doesn't actually control whether a viewlet is > registered or not; it only adjusts the order and can hide/unhide > viewlets. But registration happens in ZCML. If you want your viewlet > to only show up when your product is installed, register it for a > browser layer that is installed by your product and removed when it it > is uninstalled. > David > > -- > David Glick > Web Developer > Groundwire > 206.286.1235x32 > [email protected] > http://groundwire.org > > Sign up for Groundwire News! > Tips, tools and news delivered directly to your inbox. > http://groundwire.org/news-signup _______________________________________________ Product-Developers mailing list [email protected] http://lists.plone.org/mailman/listinfo/product-developers
