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

content.ini [AdminPreviewSettings]

The settings of [AdminPreviewSettings] in content.ini: AttributeTemplates

Download as PDF

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

On this page

content.ini [AdminPreviewSettings]

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

AttributeTemplates

A list of templates to include after the label of every field in the default full view of the admin designs
(node/view/admin_preview.tpl of admin4 and admin), with the field as $attribute and the node as $node: the
counterpart of [EditSettings] AttributeTemplates[] for marks an extension shows beside a stored value. A
class-specific admin_preview override is not covered unless it includes the list itself. The templates are named
without "design:" and found through the design of the siteaccess. The list is read when a template is compiled:
after a change, clear the template cache (php bin/php/ezcache.php --clear-id=template).
AttributeTemplates[]=content/view/myextension_attribute.tpl

Default: an empty list.

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

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