Hi,
In the site setup, i want to change the value of Versioning field for Page type to False (uncheck it) , please review below image, how can i do it?
Hi,
In the site setup, i want to change the value of Versioning field for Page type to False (uncheck it) , please review below image, how can i do it?
Usually, you would change the values (as you do in any form) and press "save". Unfortunately, the form controls of your case are apparently all disabled. I suppose this is a bug (alternatively, the current user may lack the necessary permissions).
The current user is admin (init user when installing Plone).
Can you take a look at if it can be edited on your site in site setup control panel ?
I looked (before my initial reply). Me, too, was unable to edit - that's why I supposed a bug.
Go to the "Behaviors" tabs and disable "Versioning".
i just want to change the default value of versioning field to False, any idea?
You cannot do that in your browser.
You'll need to setup a Plone addon package and add something like this:
my.package:behaviors.py
from plone.app.versioningbehavior import _
import plone.app.versioningbehavior.behaviors
class IVersionable(plone.app.versioningbehavior.behaviors.IVersionable):
versioning_enabled = schema.Bool(
title=_(u'label_versioning_enabled', default=u'Versioning enabled'),
description=_(u'help_versioning_enabled',
default=u'Enable/disable versioning for this document.'),
default=False,
required=False)
my.package:overrides.zcml
<plone:behavior
name="plone.versioning"
title="Versioning"
description="Versioning support with CMFEditions"
provides="my.package.behaviors.IVersionable"
factory="plone.app.versioningbehavior.behaviors.Versionable"
marker="plone.app.versioningbehavior.behaviors.IVersioningSupport"
for="plone.dexterity.interfaces.IDexterityContent"
/>
I have not actually tested this, so you probably will run into issues here.
Note that this will override the default for all contenttypes, not just Document.