content object version

Author Message

Lonny Kapelushnik

Monday 19 July 2010 10:10:31 am

Is it possible to have the same content object published in two different nodes using different versions or when you edit one does it automatically update all of the nodes using that content object?

Carlos Revillo

Monday 19 July 2010 10:46:26 am

The second. i don't think you can have different versions of the same object for each node.

Kévin S.

Tuesday 20 July 2010 12:17:19 am

I agree with Carlos, you'll surely have to create two distincts objects.

Versions are just here to provide a little versionning system, not for what you want to do...

Romeo Antony

Tuesday 20 July 2010 3:55:56 am

Lonny, it is not possible.But can you please tell me in which context u need to do like that.

Lonny Kapelushnik

Tuesday 20 July 2010 1:44:37 pm

Hi everyone,

Thank you for the confirmation. I do not actually need this feature. I needed to manipulate the data in the database and I wanted to make sure that only one version is used at a time.

When I had originally asked the question I had the idea in my mind that the current_version field was in the ezcontentobject_tree table and not the ezcontentobject table. So it was really my mistake in the first place that even brought this into question.

Thanks again!

Kévin S.

Wednesday 21 July 2010 12:02:41 am

You're welcome !

PS : Maybe you can tag the thread as solved ;)

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 09:15:53
Script start
Timing: Jan 31 2025 09:15:53
Module start 'layout'
Timing: Jan 31 2025 09:15:53
Module start 'content'
Timing: Jan 31 2025 09:15:54
Module end 'content'
Timing: Jan 31 2025 09:15:54
Script end

Main resources:

Total runtime1.1904 sec
Peak memory usage4,096.0000 KB
Database Queries70

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0064 588.1250151.2109
Module start 'layout' 0.00640.0028 739.335936.6328
Module start 'content' 0.00921.1804 775.96881,022.3984
Module end 'content' 1.18970.0007 1,798.367211.8750
Script end 1.1904  1,810.2422 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.2586160.0002
Check MTime0.00120.1036160.0001
Mysql Total
Database connection0.00080.067910.0008
Mysqli_queries1.114993.6557700.0159
Looping result0.00050.0437680.0000
Template Total1.108693.120.5543
Template load0.00200.169520.0010
Template processing1.106592.951320.5533
Template load and register function0.00130.111110.0013
states
state_id_array0.00500.416810.0050
state_identifier_array0.00210.176620.0011
Override
Cache load0.00170.1427200.0001
Sytem overhead
Fetch class attribute can translate value0.00050.038240.0001
Fetch class attribute name0.00180.154670.0003
XML
Image XML parsing0.00260.219340.0007
class_abstraction
Instantiating content class attribute0.00000.000970.0000
General
dbfile0.02842.3896160.0018
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
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.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: 15
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs