Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

content.ini [ReviewHoldSettings]

The settings of [ReviewHoldSettings] in content.ini: AutoHold, AutoHoldClassList, ExemptPolicyList

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/examples/ini-settings/content/ReviewHoldSettings.md

On this page

content.ini [ReviewHoldSettings]

The block [ReviewHoldSettings] of settings/content.ini, with 3 setting(s).

Never edit settings/content.ini itself: an update replaces it. Put the settings you change in an override, which wins over the shipped file:

  • settings/override/content.ini.append.php for every siteaccess,
  • settings/siteaccess/<siteaccess>/content.ini.append.php for one siteaccess,
  • extension/<extension>/settings/content.ini.append.php in an extension (read when the extension is active).

AutoHold

Auto-hold of content submitted by visitors (doc/eng-us/features/6.0/review-hold.md, "Auto-hold"): the first
publication of an object of a class in AutoHoldClassList[], made by a user who is not exempt (ExemptPolicyList[]),
is put into the review hold (review_hold/held) and its locations are hidden, in the publish operation itself (the
step auto-review-hold, right before the content edit handlers, the view cache and the search index), so visitors
never see it. A reviewer releases it in Dashboard > Recent content (moderation/recent) or in the website sidebar:
the hold is released and the locations hidden by the auto-hold are revealed. Recorded in the audit as
content.object.hold.auto. Needs the state group of the review hold (the upgrade step 6.0.15-review-hold); without
it nothing is held. Read in the siteaccess the content is published in.

enabled or disabled

Default: disabled.

<?php /* #?ini charset="utf-8"?
# settings/override/content.ini.append.php
[ReviewHoldSettings]
AutoHold=disabled
*/ ?>

AutoHoldClassList

The class identifiers whose new objects are held (comments, reviews, forum posts, user submissions ...).

Default: a list of 1: comment.

<?php /* #?ini charset="utf-8"?
# settings/override/content.ini.append.php
[ReviewHoldSettings]
# an empty "AutoHoldClassList[]" first replaces the shipped list; without it the items are added
AutoHoldClassList[]
AutoHoldClassList[]=comment
*/ ?>

ExemptPolicyList

Who is never auto-held: a user who has any of these (module/function). Three are read in detail:
state/assign may place the held state on the object (the state/assign policy with its limitations)
content/hide may hide (and so reveal) the object's location
moderation/act may run the actions of Dashboard > Recent content
any other module/function counts when the user has it at all.

Default: a list of 2: state/assign, moderation/act.

<?php /* #?ini charset="utf-8"?
# settings/override/content.ini.append.php
[ReviewHoldSettings]
# an empty "ExemptPolicyList[]" first replaces the shipped list; without it the items are added
ExemptPolicyList[]
ExemptPolicyList[]=state/assign
ExemptPolicyList[]=moderation/act
*/ ?>

Generated by ./console exp:help:examples from settings/content.ini. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x