Quoting http://plone.org/documentation/kb/customizing-main-template-viewlets/tutorial-all-pages (about 1/4 of the page down)
If all you need is to reorder the viewlets in the Plone Default skin, you can simply copy the original viewlets.xml from CMFPlone/profiles/default/ into MyTheme/profiles/default/, and edit the copied file to make it reflect your needs.
When I do just that, I get no changes, not after reloading, not after a buildout, not anyhow. I did some slight manual changes to MyTheme/browser/templates/main_template.pt, which are picked up, so it is not so, that my product is ignored at all. So far I did not touch any essential code there, so this cannot be the reason.
This is for a plone 3.3.5 install. Anybody could give me clue here? Any infos needed, I am standing by :)
GenericSetup profiles need to be explicitly loaded, they are not loaded on start-up.
You can do this by either reinstalling your package in the QuickInstaller. Alternatively, you can just re-import just viewlets.xml via the setup tool. You'll find that tool in the ZMI (look for the portal_setup
tool):
Once there you select the Import
tab:
You'll then have to find your package profile in the drop-down list:
The tab will automatically reload once you make your choice. Scroll down to the "Viewlet Settings" step and check it's checkbox:
Then finally, uncheck the "Include dependencies?" checkbox at the bottom and click the "Import selected steps" button:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With