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

site.ini [SiteDataSettings]

The settings of [SiteDataSettings] in site.ini: TemplateReadable

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/examples/ini-settings/site/SiteDataSettings.md

On this page

site.ini [SiteDataSettings]

The block [SiteDataSettings] of settings/site.ini, with 1 setting(s).

Besides the site the globe opens, a siteaccess is listed only where the
signed-in user may log in (user/login and its SiteAccess limitation, as the
login checks it).
The header's cache-blocks are keyed by the list and the request; a changed
SiteName, Locale or SiteDesign of a listed siteaccess shows once the template
caches of the administration siteaccess are cleared.
Site data: the name/value rows of the table ezsite_data (eZSiteData), such as
ezpublish-version. Setup > Site data (setup/sitedata, policy setup/system_info)
lists them. Templates read a row with
fetch( 'content', 'site_data', hash( 'name', 'my-flag' ) )
(the eZSiteData object, so .value is the value; false for a name not listed
here or not stored), but only the names listed here, as whole names: nothing
is readable until a name is added. Read only: templates never write a row.
Portions derived from LoveStack (mugoweb/ezpublish-legacy, commits a679a13176
and 94b7b6c239), Copyright (C) Mugo Web, GPL v2.

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

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

TemplateReadable

Default: an empty list.

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

Generated by ./console exp:help:examples from settings/site.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