Forums / Setup & design / remove: Default object view

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

eZ debug

Timing: Jan 31 2025 15:28:59
Script start
Timing: Jan 31 2025 15:28:59
Module start 'content'
Timing: Jan 31 2025 15:29:00
Module end 'content'
Timing: Jan 31 2025 15:29:00
Script end

Main resources:

Total runtime1.2044 sec
Peak memory usage8,192.0000 KB
Database Queries193

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0045 675.5234214.8047
Module start 'content' 0.00450.9988 890.32812,504.1016
Module end 'content' 1.00330.2010 3,394.4297577.5547
Script end 1.2043  3,971.9844 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00630.5223210.0003
Check MTime0.00140.1139210.0001
Mysql Total
Database connection0.00060.045810.0006
Mysqli_queries1.112192.33481930.0058
Looping result0.00180.14791910.0000
Template Total1.181898.120.5909
Template load0.00350.291120.0018
Template processing1.178397.833920.5891
Template load and register function0.00170.144620.0009
String conversion in template resource0.00000.001010.0000
Template parser: create text elements0.00010.005310.0001
Template parser: remove whitespace0.00000.000910.0000
Template parser: construct tree0.00050.041810.0005
states
state_id_array0.00080.066810.0008
state_identifier_array0.00090.074120.0004
Override
Cache load0.00320.2660210.0002
Sytem overhead
Fetch class attribute can translate value0.00130.110330.0004
Fetch class attribute name0.00190.154430.0006
XML
Image XML parsing0.00080.065830.0003
class_abstraction
Instantiating content class attribute0.00000.000730.0000
General
dbfile0.00160.1303260.0001
String conversion0.00000.000540.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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