Troubleshooting preview function in admin

Author Message

Mark Marsiglio

Wednesday 05 May 2004 9:29:41 pm

This is the last step that I need to complete a project - getting the preview button to show an accurate preview of the site. I have done the following:

(The site name is dms and dms_admin, and it uses the dms2 design)
-Set the correct user design (dms2) as an AvailableSiteDesignList item in the dms_admin content.ini.append, second in the list after admin
-Set the DefaultPreviewDesign=dms2 in the same content.ini.append (for dms_admin)</li>
-Left the dms_admin override.ini.append as the default, with the exception of one override of the admin interface which works properly
-Cleared the cache

The symptoms are:
-Pages that use the default classes display their previews correctly. They appear as they do on the user site, with the addition of the Site Design pull down and some other buttons below.
-Pages that use custom classes display a "Default Object View - Click here to create a custom template"
-If I add an override for these classes (copied from the user site override.ini.append) the overrides affect the admin in such a way that the admin interface breaks (either no page is displayed at all, or only the tabs and left menu are displayed with no content depending on which class is being viewed).
-The correct pagelayout.tpl for the preview is used, but the specific pagelayouts such as pagelayouthome.tpl and others are not correctly displayed when the should be (one is a class override and the other is a node override for the home page).
-Preview pages do not correctly show the context within the site in the breadcrumb trail navigation, or in the treemenu navigation. This is not too big of a problem, though.

If I click on the Create a custom template link on the preview pages which have the default object view, and create a new override that way, it does not have any effect on the preview (still default object view)

Running v 3.3-4 on Win2000

Any help or insight from someone who has previews working would be appreciated.

Thanks
Mark

http://www.thinkcreative.com
Turning Ideas Into Strategic Solutions

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 18 2025 19:13:17
Script start
Timing: Jan 18 2025 19:13:17
Module start 'layout'
Timing: Jan 18 2025 19:13:17
Module start 'content'
Timing: Jan 18 2025 19:13:17
Module end 'content'
Timing: Jan 18 2025 19:13:17
Script end

Main resources:

Total runtime0.6976 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0077 588.0469152.6406
Module start 'layout' 0.00770.0032 740.687539.4766
Module start 'content' 0.01090.6854 780.1641475.5234
Module end 'content' 0.69630.0013 1,255.68758.1250
Script end 0.6976  1,263.8125 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.4775160.0002
Check MTime0.00140.1976160.0001
Mysql Total
Database connection0.00100.140110.0010
Mysqli_queries0.653093.6044460.0142
Looping result0.00060.0908440.0000
Template Total0.654593.820.3273
Template load0.00210.304020.0011
Template processing0.652493.518420.3262
Template load and register function0.00010.014510.0001
states
state_id_array0.00130.179910.0013
state_identifier_array0.00200.289520.0010
Override
Cache load0.00180.2588210.0001
Sytem overhead
Fetch class attribute can translate value0.00070.103910.0007
Fetch class attribute name0.00100.144220.0005
XML
Image XML parsing0.00040.061110.0004
class_abstraction
Instantiating content class attribute0.00000.000620.0000
General
dbfile0.00080.1086150.0001
String conversion0.00000.001440.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 11
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs