Get the source node id of an object which is copied using addlocation method

Author Message

SathishKumar Subramanian

Wednesday 14 April 2004 9:56:56 am

Hi Everyone!

Usign the addlocation method I have copied an object and kept it in another location.I am in a situation to find out where I did copy (using addlocation). I need to findout the node id of the object source from where I have did addlocation. Is it possible to trace it backward in templates codings?

Please help to finout the solution.

thanks a& regards,
Sathish

SathishKumar Subramanian

Thursday 15 April 2004 5:05:17 am

I can find out the source node id by using the mysql table "ezcontentobject_tree " and addlocation object id.
Is it possible for me to get the Source node id inside template codings? and How can I use the mysql query execution inside template codings?

Please help me to find out the solution. :(

Thanks & Regards,
Sathish

Dominik Pich

Thursday 22 April 2004 1:27:34 am

Inspect the main location attribute of the places of a node...

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 01:00:24
Script start
Timing: Jan 19 2025 01:00:24
Module start 'layout'
Timing: Jan 19 2025 01:00:24
Module start 'content'
Timing: Jan 19 2025 01:00:25
Module end 'content'
Timing: Jan 19 2025 01:00:25
Script end

Main resources:

Total runtime0.7482 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0062 589.6484152.6875
Module start 'layout' 0.00620.0031 742.335939.5234
Module start 'content' 0.00920.7373 781.8594468.4063
Module end 'content' 0.74650.0016 1,250.26568.0625
Script end 0.7482  1,258.3281 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.4406160.0002
Check MTime0.00130.1731160.0001
Mysql Total
Database connection0.00080.110710.0008
Mysqli_queries0.702993.9459570.0123
Looping result0.00060.0812550.0000
Template Total0.715495.620.3577
Template load0.00210.275220.0010
Template processing0.713395.332920.3566
Template load and register function0.00020.028510.0002
states
state_id_array0.00100.133110.0010
state_identifier_array0.00100.131820.0005
Override
Cache load0.00170.2230160.0001
Sytem overhead
Fetch class attribute can translate value0.00140.185520.0007
Fetch class attribute name0.00120.164630.0004
XML
Image XML parsing0.00030.034620.0001
class_abstraction
Instantiating content class attribute0.00000.001730.0000
General
dbfile0.00180.2373100.0002
String conversion0.00000.001240.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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/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: 13
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs