How to make a node, linking to another?

Author Message

Ilya Sazonov

Saturday 30 October 2010 4:04:01 am

Hello!

I know there's a possibility to make a copy of existing node. But what I need is something like a hard link in a file system.

Suppose I have 2 nodes - node1 and node2, and I have a list of these nodes (with links) on the page.

If you click on one of the links the page with the node related is shown. The trick is that besides title the nodes are identical. And if something is changed in node1 then theese changes are shown in node2.

So, is there any means for making that in ezPublish?

Romeo Antony

Saturday 30 October 2010 4:36:48 am

"I know there's a possibility to make a copy of existing node"

It is possible to create exact copy of a node. when you right click on the icon of a node you see the context menu from where you can easly copy a node(look for option copy).

I din't get you can u explain clearly

Gaetano Giunta

Saturday 30 October 2010 5:22:01 am

In eZP terms, it's called "multiple locations for an object". It means creating different nodes in the tree for the same object.

http://doc.ez.no/eZ-Publish/Technical-manual/4.4/Concepts-and-basics/Content-management/The-content-node-tree

In the admin interface, you add a new location for an existing object in the "Locations" tab

Principal Consultant International Business
Member of the Community Project Board

Ilya Sazonov

Saturday 30 October 2010 11:04:34 am

Reading it. Thank you very much!

Heath

Saturday 30 October 2010 1:35:29 pm

Hello,

I may have not understood the question but if I wanted to link one object to another I might use an Object Relation attribute.

http://doc.ez.no/eZ-Publish/Technical-manual/4.x/Concepts-and-basics/Content-management/Object-relations/(language)/eng-GB

http://doc.ez.no/eZ-Publish/User-manual/4.x/Images/Admin/Concept-object-relations/(language)/eng-GB

Cheers,

Heath

Brookins Consulting | http://brookinsconsulting.com/
Certified | http://auth.ez.no/certification/verify/380350
Solutions | http://projects.ez.no/users/community/brookins_consulting
eZpedia community documentation project | http://ezpedia.org

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 18 2025 10:41:34
Script start
Timing: Jan 18 2025 10:41:34
Module start 'layout'
Timing: Jan 18 2025 10:41:34
Module start 'content'
Timing: Jan 18 2025 10:41:35
Module end 'content'
Timing: Jan 18 2025 10:41:35
Script end

Main resources:

Total runtime0.8700 sec
Peak memory usage4,096.0000 KB
Database Queries67

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0066 588.0313152.6406
Module start 'layout' 0.00660.0032 740.671939.4844
Module start 'content' 0.00980.8589 780.1563636.5469
Module end 'content' 0.86870.0013 1,416.703112.1406
Script end 0.8699  1,428.8438 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.3615160.0002
Check MTime0.00130.1548160.0001
Mysql Total
Database connection0.00090.102410.0009
Mysqli_queries0.810493.1481670.0121
Looping result0.00080.0933650.0000
Template Total0.839796.520.4199
Template load0.00210.237920.0010
Template processing0.837696.280820.4188
Template load and register function0.00030.030410.0003
states
state_id_array0.00090.100310.0009
state_identifier_array0.00170.199420.0009
Override
Cache load0.00180.2038280.0001
Sytem overhead
Fetch class attribute can translate value0.00070.081840.0002
Fetch class attribute name0.00210.237180.0003
XML
Image XML parsing0.00160.178540.0004
class_abstraction
Instantiating content class attribute0.00000.002280.0000
General
dbfile0.00100.1122290.0000
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
5content/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/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: 15
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs