Share » Forums » Developer » creating a new version in a language

creating a new version in a language

creating a new version in a language

Friday 30 May 2008 12:04:09 pm - 2 replies

Modified on Friday 30 May 2008 12:08:03 pm by *- pike

Author Message

*- pike

Friday 30 May 2008 12:19:02 pm

anyhew .. i hacked my way around it now.

i stole code from contentObject::copyVersion to instantiate new (or copy existing) attributes into the current version of the object.

then i store the version and it's done. oh, if the version was already published i need to publish it again, or the admin will be very confused.

whatever works :-)

*-pike

---------------
The class eZContentObjectTreeNode does.

Olivier Versanne

Monday 13 July 2009 9:43:51 am

Hi,

I think I have the same problem, but after calling copyVersion in my new language, my DataMap is empty.

So, could you give us an example of your working code?

Thanks *- pike!

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu