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 [PreviewLinkSettings]

The settings of [PreviewLinkSettings] in content.ini: Enabled, DefaultLifetime, MaxLifetime, MaxActivePerVersion

Download as PDF

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

On this page

content.ini [PreviewLinkSettings]

The block [PreviewLinkSettings] of settings/content.ini, with 4 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).

Enabled

Share links to the preview of a draft (content/sharedpreview/<token>, expContentPreviewLink): a
reviewer without an account sees that one version through a signed, expiring and revocable link.
The signing key is the secret content.previewlink.key of the secret store (made with the first
link; removing it on Setup > Secrets ends every link). Guide: doc/eng-us/features/6.0/preview-links.md
true or false

Default: true.

<?php /* #?ini charset="utf-8"?
# settings/override/content.ini.append.php
[PreviewLinkSettings]
Enabled=true
*/ ?>

DefaultLifetime

Seconds a new link works when its maker does not choose (one day)

Default: 86400.

<?php /* #?ini charset="utf-8"?
# settings/override/content.ini.append.php
[PreviewLinkSettings]
DefaultLifetime=86400
*/ ?>

MaxLifetime

The longest a link may work, in seconds (seven days); at least 300

Default: 604800.

<?php /* #?ini charset="utf-8"?
# settings/override/content.ini.append.php
[PreviewLinkSettings]
MaxLifetime=604800
*/ ?>

MaxActivePerVersion

Links that work at the same time for one version

Default: 20.

<?php /* #?ini charset="utf-8"?
# settings/override/content.ini.append.php
[PreviewLinkSettings]
MaxActivePerVersion=20
*/ ?>

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