remove: Default object view

Author Message

J B

Tuesday 28 September 2004 6:11:44 am

Hi,

Searcdhed and searched this one, but no joy.

I created a new content class called "members" so that when I click on this list of members it displays in a certain way.
This is kind of working as it renders correctly, however, ot also has a header and footer in the document which I can't seem to override.

At the top is says:

Default object view. Click to create a custom template, Node ID: 90, Object ID: 89

Linking to: http://removed.com/ezpub/index.php/corporate/setup/templateview/node/view/full.tpl
At the bottome it has buttons that have edit or preview or remove or bookmark or notify options:

No matter what I do, I can't get rid of this.

Any ideas.

Thanks

Mark Marsiglio

Tuesday 28 September 2004 6:37:53 am

You seem to have created a new override for the line view of the members class. This is used when you are displaying a list of items, such as your member list. The full view is what is used to display the main item, which may or may not show a list of items within it (see the "show children" function on the Folder class).

You will need to create a new template to control the "full" view of the class which contains your members. If this is a folder, it should have worked correctly by default, but it sounds like it is something custom.

From the setup screen/templates, try selecting the standard template "node/view/full.tpl" and creating a new override. Select your siteaccess, tell the template which class to override (the class of the parent of your Members) and then select "copy of default" or whichever option is more appropriate.

Once this is done, edit the template that it has created for you. This will make sure that the overrides are correct and that everything is set up properly.

The Default Object View message should only appear when no override is in place for the Full view of the object.

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 19 2025 15:05:26
Script start
Timing: Jan 19 2025 15:05:26
Module start 'layout'
Timing: Jan 19 2025 15:05:26
Module start 'content'
Timing: Jan 19 2025 15:05:27
Module end 'content'
Timing: Jan 19 2025 15:05:27
Script end

Main resources:

Total runtime0.9778 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0066 590.2734152.6250
Module start 'layout' 0.00660.0036 742.898439.4453
Module start 'content' 0.01020.9662 782.3438525.9609
Module end 'content' 0.97640.0013 1,308.30478.1641
Script end 0.9777  1,316.4688 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.3576160.0002
Check MTime0.00140.1441160.0001
Mysql Total
Database connection0.00100.099210.0010
Mysqli_queries0.927494.8456540.0172
Looping result0.00050.0479520.0000
Template Total0.947996.920.4739
Template load0.00200.200520.0010
Template processing0.945996.738720.4729
Template load and register function0.00010.015210.0001
states
state_id_array0.00070.075310.0007
state_identifier_array0.00060.060620.0003
Override
Cache load0.00160.1649210.0001
Sytem overhead
Fetch class attribute can translate value0.00050.052320.0003
Fetch class attribute name0.00120.125430.0004
XML
Image XML parsing0.00460.471320.0023
class_abstraction
Instantiating content class attribute0.00000.001030.0000
General
dbfile0.00550.5593150.0004
String conversion0.00000.001040.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
2content/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
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.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: 12
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs