I read these docs again:
https://weblion.psu.edu/trac/weblion/wiki/PloneThreeUninstallProfile
http://plone.org/documentation/kb/genericsetup/creating-an-uninstall-profile

I'm doing all this on Plone 4, by the way.

Seeing as my profiles/default/viewlets.xml contains
<?xml version="1.0"?>
<object>
  <order
      manager="plone.portalfooter"
      skinname="*"
      >
    <viewlet
        name="doormat.footer"
        insert-before="*"
        />
  </order>
</object>

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.

I also looked at the differences between
http://svn.plone.org/svn/collective/plonetheme.labs/trunk/plonetheme/labs/profiles/default/viewlets.xml
and
http://svn.plone.org/svn/collective/plonetheme.labs/trunk/plonetheme/labs/profiles/uninstall/viewlets.xml,
and tried it like this:
<?xml version="1.0"?>
<object>
  <order
      manager="plone.portalfooter"
      skinname="*"
      purge="True"
      />
</object>
, still doesn't remove the viewlet.

Any advice is still welcome!

Kees


On 06/10/2010 02:41 PM, Matthew Wilkes wrote:
> 
> On 2010-06-10, at 1336, Yuri wrote:
> 
>>> <object>
>>>   <hidden manager="plone.portalfooter" skinname="*" purge="True" />
>>> </object>
> 
> That unhides all viewlets in the footer which isn't what you're trying to do. 
>  Check the docs again.
> 
> Matt
_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to