ibexa

Caution: This documentation is for eZ Publish legacy, from version 3.x to 5.x.

DefaultPreviewDesign

Summary

Sets the default preview design for eZ Publish releases prior to 3.6.

Usage

 

DefaultPreviewDesign= design_name

Frederik Holljen (01/07/2005 9:06 am)

Frederik Holljen (01/07/2005 10:42 am)


Comments

  • siteaccess NOT design

    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' );
        }
    }