Preview ignores site-design overrides

Author Message

Thomas Brandl

Tuesday 05 August 2003 9:09:46 am

If have an article with a object relation to an image. I have overridden the standard ezembed.tpl in order to display the thumbnail directly in the article.
In preview mode however, override.ini is omited.
When copying my site-designs override.ini into my settings/siteaccess/admin folder (corporate_site_admin, I'm using the corporate_site template to build up my site), preview is displayed correctly.

Shouldn't preview look for the site-designs override.ini in the first place?

Applies to 3.2-1 beta.

Thanks!
Tom

Paul Forsyth

Monday 06 October 2003 7:32:31 am

I just found this out today too.

I need to add in overrides from my user siteaccess to the admin siteaccess. Obviously this causes scalability problems (several siteacccess overrides).

Is this a bug or a feature?

I also found two bugs relating to previews:

http://ez.no/developer/ez_publish_3/bug_reports/previewing_an_object_with_a_matchparent_override
http://ez.no/developer/ez_publish_3/bug_reports/preview_doesnt_respect_defaultpreviewdesign_setting

There is an easy fix for the default preview bug but im not sure about the other.

Anyone else use preview, 3.2, and have problems?

Paul

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 30 2025 21:37:39
Script start
Timing: Jan 30 2025 21:37:39
Module start 'layout'
Timing: Jan 30 2025 21:37:39
Module start 'content'
Timing: Jan 30 2025 21:37:39
Module end 'content'
Timing: Jan 30 2025 21:37:39
Script end

Main resources:

Total runtime0.0287 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0088 588.1484151.2109
Module start 'layout' 0.00890.0044 739.3594220.6875
Module start 'content' 0.01330.0138 960.0469997.6641
Module end 'content' 0.02710.0016 1,957.710929.9922
Script end 0.0287  1,987.7031 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00289.8663140.0002
Check MTime0.00113.7643140.0001
Mysql Total
Database connection0.00072.345310.0007
Mysqli_queries0.006121.284630.0020
Looping result0.00000.049010.0000
Template Total0.00113.910.0011
Template load0.00093.014110.0009
Template processing0.00020.857410.0002
Override
Cache load0.00062.143410.0006
General
dbfile0.00155.268880.0002
String conversion0.00000.031640.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs