How to tell between an object that lives in a tree, and one that's been linked using "other location"

Author Message

Chris Fullerton

Friday 09 April 2004 2:44:35 pm

Sorry for the long, possibly unclear title, but:

I'm trying to have 2 sets of nav elements - one for all the "native" articles that belong to parent, and another set where the articles have been added using the "other location".

So far, the only difference I can see between the two is that native articles will have node_id = main_node_id and the "other location" article won't.

If that's the only way to tell the two apart, is there a way I can incorporate that into a fetch?

Dominik Pich

Thursday 22 April 2004 1:28:55 am

maybe via an attribute filter?

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 31 2025 07:29:02
Script start
Timing: Jan 31 2025 07:29:02
Module start 'layout'
Timing: Jan 31 2025 07:29:02
Module start 'content'
Timing: Jan 31 2025 07:29:03
Module end 'content'
Timing: Jan 31 2025 07:29:03
Script end

Main resources:

Total runtime1.3459 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.0054 588.6406151.2734
Module start 'layout' 0.00540.0030 739.914136.8203
Module start 'content' 0.00831.3367 776.7344879.1172
Module end 'content' 1.34500.0008 1,655.85167.7031
Script end 1.3458  1,663.5547 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00270.2024160.0002
Check MTime0.00110.0839160.0001
Mysql Total
Database connection0.00100.072710.0010
Mysqli_queries1.302396.7610540.0241
Looping result0.00060.0444520.0000
Template Total1.312297.520.6561
Template load0.00190.138320.0009
Template processing1.310397.352420.6551
Template load and register function0.00160.116310.0016
states
state_id_array0.00230.167510.0023
state_identifier_array0.00290.219020.0015
Override
Cache load0.00150.107990.0002
Sytem overhead
Fetch class attribute can translate value0.00190.138420.0009
Fetch class attribute name0.00210.155220.0010
XML
Image XML parsing0.00030.021620.0001
class_abstraction
Instantiating content class attribute0.00000.000720.0000
General
dbfile0.00280.2071100.0003
String conversion0.00000.000540.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
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 6
 Number of unique templates used: 4

Time used to render debug report: 0.0001 secs