Broken overrides

Author Message

Andreas Buzh Skau

Monday 24 May 2004 4:04:45 am

Hi,

I'm trying to setup a simple site in ezPublish (which I've not really used before).
I've created a few sections and overrides for them, to display content nicely, as per the example Chess Club tutorial.

However, as I've been expanding the site with new folders and sections, suddenly all my overrides except the front page stopped working, and reverted into using the "Default object view".

As far as I can tell, the overrides and folders are all there and set up as they should be.

Anyone got an idea on what's going on and what I can do to correct it?

Thanks,
Andreas B. Skau
High Performance Computing Group,
University of Oslo

Andreas Buzh Skau

Tuesday 25 May 2004 1:17:04 am

Ok, I figured it out..

It was because I added a new section, and for some reason the assignments got screwed up so that everything was assigned to the new section. Don't know what really caused this to happen, but I fixed it by reassigning the folders to the appropriate sections.

Kåre Køhler Høvik

Tuesday 25 May 2004 2:10:01 am

Assigning the new section to the root folder would explain the behaviour. If it happends again, and your able to reproduce it, please add a bug report on it.

--
Kåre Høvik

Kåre Høvik

Alexandre Cunha

Tuesday 25 May 2004 9:19:57 am

I have figure some problems / troubles with assing section before and cannot reproduce it.

I thing the way this is implemented now, is not the best option.

The way it works now:
- you create the section
- then assign the section to the folder node (or any other node content)

The way it should work (in my humble opinion it is the best and logic way):
make the assigment in reverse order ->
- create the section,
- then go to content view (admin interface) and assign the node content to the section (and not assign section to content!). If the content is a folder, then asks if want assign the children content too (recursive assingnment).
This is the troutbleless and logic way !

I Would like hear what other users thing.

axel

http://AlexandreCunha.com

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 19 2025 06:10:38
Script start
Timing: Jan 19 2025 06:10:38
Module start 'layout'
Timing: Jan 19 2025 06:10:38
Module start 'content'
Timing: Jan 19 2025 06:10:39
Module end 'content'
Timing: Jan 19 2025 06:10:39
Script end

Main resources:

Total runtime0.8477 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0054 589.1563152.6250
Module start 'layout' 0.00540.0031 741.781339.4453
Module start 'content' 0.00840.8377 781.2266582.5156
Module end 'content' 0.84620.0015 1,363.742212.1719
Script end 0.8477  1,375.9141 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.3655160.0002
Check MTime0.00120.1466160.0001
Mysql Total
Database connection0.00060.072410.0006
Mysqli_queries0.796793.9864620.0129
Looping result0.00060.0699600.0000
Template Total0.816896.420.4084
Template load0.00200.234820.0010
Template processing0.814896.119920.4074
Template load and register function0.00010.017110.0001
states
state_id_array0.00090.106310.0009
state_identifier_array0.00150.178020.0008
Override
Cache load0.00160.1943340.0000
Sytem overhead
Fetch class attribute can translate value0.00050.056230.0002
Fetch class attribute name0.00130.148050.0003
XML
Image XML parsing0.00080.098830.0003
class_abstraction
Instantiating content class attribute0.00000.001350.0000
General
dbfile0.00080.0952150.0001
String conversion0.00000.000940.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
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
9content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
5content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 21
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs