GenericSetup is a Zope/cmf-based toolkit for managing site configuration. It allows you to specify through xml files various tweaks needed by your site at the time of installation.
Questions tagged [genericsetup]
30 questions
2
votes
3 answers
How can I add a classic portlet at the root of the portal when my product is installed?
What is the simplest way to do this? I added it in the portlets.xml file in profiles/default. It is now available in the "Add portlet" dropdown when I go to @@manage-portlets. But I need it automatically created.
Is it possible to explicitly specify…

sureshvv
- 4,234
- 1
- 26
- 32
2
votes
2 answers
Remove browser layer on Plone 5
In previous versions of Plone, QuickInstaller took care of automagically removing some stuff on uninstall time; that was the case of browser layers and resource registry resources. Now in Plone 5 is a best practice to include a GenericSetup profile…

hvelarde
- 2,875
- 14
- 34
2
votes
2 answers
How do I prevent values of custom registry entries to be overwritten on reinstall of my package?
My package introduces registry entries. Changes by site administrator should not be overwritten on reinstall of the package.
Many ways to Rome. I chose ftw.upgrade. I like the declarative way of the upgrade step syntax. Its possible to use an…

Katja Süss
- 759
- 6
- 13
2
votes
1 answer
How to register a browser layer programmatically
I know that a browser layer can be registered using GenericSetup and one XML file, but I need to make it programmatically.
Is this possible?

rodfersou
- 914
- 6
- 10
1
vote
3 answers
Plone 3 : Overriding the default Javascript files
I am using Plone 3 and currently trying to override one of the default javascript files i.e. table_sorter.js.
Under the browser directory of my product, I created a directory "javascripts" (just to keep things organized), then registered the…

Frankline
- 40,277
- 8
- 44
- 75
1
vote
1 answer
Unable to hide Products.Carousel.viewlet in version 1.1
Products,Carousel adds a viewlet to the plone.contentviews manager using some funky inline code in setuphandlers. I am trying to hide this viewlet. I have tried various techniques such as:
overriding the template in my configure.zcml
using the…

sureshvv
- 4,234
- 1
- 26
- 32
1
vote
2 answers
GenericSetup: What does toolset.xml accomplish if ToolInit still has to be called from initialize()
It seems that toolset.xml goes only half way. Ideally it should be able to do away with the ToolInit call in initialize() in __init__.py. But I could not get the tool icon to show in the ZMI without the ToolInit call.

sureshvv
- 4,234
- 1
- 26
- 32
1
vote
1 answer
Plone training setup error for Products.GenericSetup
I'm trying to learn how to develop an addon for Plone 5.
in order to do that I am sticking to the Plone 5 training (https://training.plone.org).
I am installing a Vagrant/Virtualbox machine with plone on it as suggested by the training, but when i…

Waynebird
- 227
- 1
- 8
1
vote
1 answer
Adding new permission to control panel configlet in Plone
I'm adding a new permission to an add-on to allow a user with Site Manager role to be able to access its control panel configlet.
I followed Plone's documentation on creating custom permissions, but I don't understand the need for the rolemap.xml…

hvelarde
- 2,875
- 14
- 34
1
vote
1 answer
Upgrade step to remove profile
We have one package that we identify that we don't need its profile (collective.js.cycle2) so I need to write an upgrade step to remove the existent profile.
Looking at the code I usually have to update profile, I found that in the end it calls:…

rodfersou
- 914
- 6
- 10
1
vote
1 answer
How to add a type to the typesUseViewActionInListings with Generic Setup?
How to add a type "MyType" to the typesUseViewActionInListings property of the site_properties property in the portal_properties tool?
Using a propertiestool.xml file with GenericSetup as the following will modify the existing/default types (Image,…

wolfrevo
- 6,651
- 2
- 26
- 38
0
votes
1 answer
Adding GenericSetup-created folders to the globalnav
I'm using GenericSetup to create a single container which I'd like to appear in the globalnav once the package is activated.
Is it possible to do this programmatically?

Matthew Trevor
- 14,354
- 6
- 37
- 50
0
votes
1 answer
Add Icon Button to TinyMCE (Plone)
I need to add a button to tinyMCEs toolbar. This button should include a icon:
Textstyles are not working as the text would be placed inside the i element. The plan is to place the cursor somewhere in the text. By…

jurihandl
- 665
- 1
- 9
- 24
0
votes
1 answer
Plone 4.2 permissions.zcml ignored or fails
When I try to include a permissions.zcml in my project, with this line on configure.zcml
or…

moestly
- 1,681
- 15
- 19
0
votes
1 answer
Custom views for ATDocuments created through GenericSetup
I have a folderish ATDocument class create through generic setup, generic setup xml configuration file has the following view variables defined:
TemplateFileName

Alex Volkov
- 2,812
- 23
- 27