Plone 3: Problems width hiding and reordering viewlets

5 messages Options Options
Embed this Post
Permalink
Gerhard Hug () Plone 3: Problems width hiding and reordering viewlets
Reply Threaded MoreMore options
Print post
Permalink
Hi

I have difficulties in handling the viewlets in plone 3.
To remove the site_actions from the portalheader i used the hidden node and
added the declaration "hidden manager" to viewlets.xml for my skinname as
described in the tutorial. It worked and the site_actions disappeared from
the header. Later on I decided to insert the site_actions again in the
header and removed the declaration "hidden manager" from the viewlets.xml.
But the site_actions didn't appear again in the header, even after
uninstall/install product and restart zope it is staying hidden.
It seems that the first changings in viewlets.xml are registered as a fixed
version which can not be changed any more (?).

Can anybody tell me how to handle this?
Thank you very much

Gerhard  

_______________________________________________
UI mailing list
UI@...
http://lists.plone.org/mailman/listinfo/ui
Emmanuel92 () Re: Plone 3: Problems width hiding and reordering viewlets
Reply Threaded MoreMore options
Print post
Permalink
RobZoneNet () Re: Plone 3: Problems width hiding and reordering viewlets
Reply Threaded MoreMore options
Print post
Permalink
In reply to this post by Gerhard Hug
Hi Gerard,

I had the same problem. It turns out you need to write a uninstall profile. I wrote a page on the wiki where I work that shows how. https://weblion.psu.edu/trac/weblion/wiki/PloneThreeUserInterfaceChanges  Good luck.
Rob

Gerhard Hug wrote:
Hi

I have difficulties in handling the viewlets in plone 3.
To remove the site_actions from the portalheader i used the hidden node and
added the declaration "hidden manager" to viewlets.xml for my skinname as
described in the tutorial. It worked and the site_actions disappeared from
the header. Later on I decided to insert the site_actions again in the
header and removed the declaration "hidden manager" from the viewlets.xml.
But the site_actions didn't appear again in the header, even after
uninstall/install product and restart zope it is staying hidden.
It seems that the first changings in viewlets.xml are registered as a fixed
version which can not be changed any more (?).

Can anybody tell me how to handle this?
Thank you very much

Gerhard  

_______________________________________________
UI mailing list
UI@lists.plone.org
http://lists.plone.org/mailman/listinfo/ui
Rodolfo.Dengo () Re: Plone 3: Problems width hiding and reordering viewlets
Reply Threaded MoreMore options
Print post
Permalink
In reply to this post by Gerhard Hug
Hi I'm having the same issue it appears that after the initial install of the theme, any changes to the viewlets.xml file are completely ignored.   I followed the tutorial here: https://weblion.psu.edu/trac/weblion/wiki/PloneThreeUserInterfaceChanges  and created the uninstall procedure still getting nowhere when changing the viewlets.xml file.  The logo was changed as well as the footer just like in the tutorial,  I also moved the path_bar and the personal bar to the contentview manager using Professional Plone Development book examples.  I'm now showing 2 personal_bar and 2 path_bar  with no way of hiding the originals in the header.

Gerhard Hug wrote:
I have difficulties in handling the viewlets in plone 3.
To remove the site_actions from the portalheader i used the hidden node and
added the declaration "hidden manager" to viewlets.xml for my skinname as
described in the tutorial. It worked and the site_actions disappeared from
the header. Later on I decided to insert the site_actions again in the
header and removed the declaration "hidden manager" from the viewlets.xml.
But the site_actions didn't appear again in the header, even after
uninstall/install product and restart zope it is staying hidden.
It seems that the first changings in viewlets.xml are registered as a fixed
version which can not be changed any more (?).
simmerdesigns () Re: Plone 3: Problems width hiding and reordering viewlets [added example]
Reply Threaded MoreMore options
Print post
Permalink
(This post was updated on )
Gentlemen, add remove="true" in the viewlet declarations that you wish to unhide or reorder. Then uninstall & reinstall your product. You should then see your changes take effect. Think of the "remove" as removing any previously imported order or hide instructions for that viewlet. For example:
  <hidden manager="plone.portalheader" skinname="My Theme">
    <viewlet name="plone.global_sections" remove="true" />
    <viewlet name="plone.logo" />
  </hidden>
Gerhard Hug wrote:
It seems that the first changings in viewlets.xml are registered as a fixed version which can not be changed any more (?).
Rodolfo.Dengo wrote:
Hi I'm having the same issue it appears that after the initial install of the theme, any changes to the viewlets.xml file are completely ignored.