[TemplateSettings]
DevelopmentMode=enabled
Debug=disabled
ShowXHTMLCode=disabled
ShowUsedTemplates=enabled

[DebugSettings]
DebugOutput=enabled
DebugRedirection=disabled

Dans le fichier template.ini.append.php

[PHP]
PHPOperatorList[striptags]=strip_tags

Dans le template

{$node.data_map.body.content.output.output_text|striptags|shorten(100)}
$existing = eZCollaborationNotificationRule::fetchItemTypeList( $collaborationIdentifier, array( $userID ) );
if ( count( $existing ) == 0 ) {
    $rule = eZCollaborationNotificationRule::create( $collaborationIdentifier, $userID );
    $rule->store( );
}

[ContentSettings]
ViewCaching=disabled
PreViewCache=disabled

[TemplateSettings]
TemplateCache=disabled
TemplateCompile=disabled
TemplateOptimization=disabled
{set-block scope=root variable=cache_ttl}0{/set-block}
[SiteAccessRules]
Rules[]=access;disable
Rules[]=module;ezinfo/about
# A dé-commenter selon les spécifications du site
#Rules[]=module;user/register
#Rules[]=module;user/forgotpassword
#Rules[]=module;user/activate
#Rules[]=module;user/success
{def $list = fetch( 'content', 'list', hash( 'parent_node_id', $node.node_id,
                                             'class_filter_type',  'include',
                                             'class_filter_array', array( 'page' ),
                                             'offset', 0,
                                             'limit', 10,
                                             'sort_by', $node.sort_array  ) ) }
{def $related = fetch( 'content', 'related_objects', hash( 'object_id', $node.contentobject_id,
                                                           'attribute_identifier', 'class/attribute',
                                                           'limit', 10,
                                                           'offset', 0,
                                                           'sort_by', array('published', false()) ) ) }
Filter[]=geometry/scale=;
Filter[]=geometry/scalewidth=
Filter[]=geometry/scaleheight=
Filter[]=geometry/scaledownonly=;
Filter[]=geometry/scalewidthdownonly=
Filter[]=geometry/scaleheightdownonly=
Filter[]=geometry/scaleexact=;
Filter[]=geometry/crop=;;x;y
[RegionalSettings]
Locale=fre-FR
ContentObjectLocale=fre-FR
SiteLanguageList[]=fre-FR
TextTranslation=enabled
[full_page]
Source=node/view/full.tpl
MatchFile=full/page.tpl
Subdir=templates
Match[class_identifier]=page
#Autres exemples de Match
#Match[node]=28
#Match[section]=5
[Transformation]
Groups[]=urlalias_lowercase

[urlalias_lowercase]
Files[]
Extensions[]
Commands[]
Commands[]=normalize
Commands[]=transform
Commands[]=decompose
Commands[]=transliterate
Commands[]=diacritical
Commands[]=url_cleanup
Commands[]=lowercase
php bin/php/ezcache.php --clear-all
Top