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

The settings of [VersionView] in content.ini: AvailableSiteDesignList, ViewModes

Download as PDF

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

On this page

content.ini [VersionView]

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

AvailableSiteDesignList

OBSOLETE: Use AvailableSiteDesignList instead
Specify all available site designs
AvailableSiteDesigns=standard;user;admin;demo
OBSOLETE: A list of designs the site can use

Default: a list of 1: admin.

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

ViewModes

AvailableSiteDesignList[]=base
The view modes a version can be shown in, content/versionview/<object>/<version>/(view_mode)/<mode>
(node/view/<mode>.tpl); another one is not available. Without the parameter it is full.
With more than one listed, the View control box of the preview in the admin offers them.
design/standard has node/view/print.tpl as an example of a print layout.

Default: a list of 1: full.

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

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