Skip to the content
Documentation

DefaultPreviewDesign

No ratings yet

Not part of Exponential 6.0.15: no settings file of the kernel (settings/*.ini) has the setting DefaultPreviewDesign in the group [VersionView], set or as a comment.

Summary

Sets the default preview design for Exponential releases prior to 3.6.

Usage

DefaultPreviewDesign= design_name

Contributors

Comments (1 historical)

Written by readers of the earlier documentation sites, kept as they were.

  1. siteaccess NOT design

    Bruce Morrison ·

    This setting is the default siteaccess to use to display the preview not the design
    from kernel/content/versionview.php

    $contentINI =& eZINI::instance( 'content.ini' );
    if ( !$siteAccess )
    {
        if ( $contentINI->hasVariable( 'VersionView', 'DefaultPreviewDesign' ) )
        {
            $siteAccess = $contentINI->variable( 'VersionView', 'DefaultPreviewDesign' );
        }
        else
        {
            $siteAccess = eZTemplateDesignResource::designSetting( 'site' );
        }
    }

Comments

Add a comment

Comments are read by a moderator before they appear.