[Plone-UI] Uninstall Viewlets
prb75
pbeer at rocketsoftware.com
Fri May 29 19:35:05 UTC 2009
Yes I saw those links from a Google search. They didn't contain the info I
needed.
'Purge' did not cleanly uninstall everything. It kept leaving my viewlets
in tact along with the original Plone theme.
Here's the answer I was searching for.
The stumbling block was that hidden remove="True" means "Show It".
Not the most intuitive thing in the world but I've got it working.
<hidden manager="plone.portalheader" skinname="My Theme" >
<viewlet name="plone.global_sections" remove="True" />
<viewlet name="my.tabs" />
</hidden>
<hidden manager="plone.portalfooter" skinname="My Theme" >
<viewlet name="plone.footer" remove="True" />
<viewlet name="plone.colophon" remove="True" />
<viewlet name="my.theme.footer" />
</hidden>
<hidden manager="plone.htmlhead.links" skinname="My Theme" >
<viewlet name="plone.links.favicon" remove="True" />
<viewlet name="my.fav_icon" />
</hidden>
vedaw wrote:
>
> Hello,
>
> My understanding is that the "purge" command should work:
>
> http://plone.org/documentation/tutorial/customizing-main-template-viewlets/r
> eordering-and-hiding-viewlets/
>
> I haven't personally tried it, though.
>
> Cheers,
>
> - Veda
>
>
> On 5/28/09 6:10 PM, "prb75" <pbeer at rocketsoftware.com> wrote:
>
>>
>>
>>
>> prb75 wrote:
>>>
>>> Hi I'm new to Plone and I'm struggling to get my viewlets to uninstall.
>>> Could someone please post the uninstall viewlets.xml if this is my
>>> install:
>>>
>>>
>>> <order manager="plone.htmlhead.links" skinname="My Theme"
>>> based-on="Plone Default">
>>> <viewlet name="my.fav_icon" insert-before="*" />
>>> </order>
>>> <order manager="plone.portalfooter" skinname="My Theme"
>>> based-on="Plone
>>> Default">
>>> <viewlet name="my.theme.footer" />
>>> </order>
>>> <order manager="plone.portalheader" skinname="My Theme">
>>> <viewlet name="viewlets.MyTabs" />
>>> </order>
>>> <hidden manager="plone.portalheader" skinname="My Theme">
>>> <viewlet name="plone.global_sections" />
>>> </hidden>
>>> <hidden manager="plone.portalfooter" skinname="My Theme">
>>> <viewlet name="plone.footer" />
>>> <viewlet name="plone.colophon" />
>>> </hidden>
>>>
>>>
>>>
>
>
> _______________________________________________
> UI mailing list
> UI at lists.plone.org
> http://lists.plone.org/mailman/listinfo/ui
>
>
--
View this message in context: http://n2.nabble.com/Uninstall-Viewlets-tp2991251p2995634.html
Sent from the User Interface & Design mailing list archive at Nabble.com.
More information about the UI
mailing list