Thanks for your help.
This is what I did (in case someone else needs to do this one day…)
My site was live, so I wanted to do this TTW (through the web).
-
I went to /portal_setup and exported 'user schema' (which gives you a userschema.xml file)
-
I added the following to the userschema.xml file
<field type="zope.schema.Bool" users:forms="In User Profile" name="myfield" security:read-permission="cmf.ModifyPortalContent" security:write-permission="cmf.ModifyPortalContent"> <title>My title</title> </field>
-
I tar/zipped the file (on OS X / Linux this would be tar -zcvf myuserschema.tar userschema.xml
-
In /portal_setup/manage_tarballImport I chose 'myuserschema.tar' and imported it.
PS: In fact, I made a copy/paste of the site ( myzope:8080/manage_main ) and tested it on that first…