Skip to content

trentinodigitale/merge

 
 

Repository files navigation

Merge eZ Publish extension

Introduction

Will let you merge two different content objects which you wish where the same object. Used to restructure and maintain your content tree.

Merge two content objects

This extension is used by going to Admin -> Setup -> Merge objects, and choosing two content objects of the same class with the browse button. You can then select the master object, which is the object you will end up with after the merge. You can also choose which content to keep based on the different existing translations in the two objects. When ready, click button to do the merging.

Supported features

Merge will copy selected content translations from the different attributes to the master content object ("Merge to..." column). This will be done by adding a new version on the master. It will use the builtin toString()/fromString() functionality for the copying.

For attributes of the object relation list datatype it will merge the relations from the two objects into the master (sort order will be master relations first, then slave relations).

Any reverse related objects will be updated to relate to the master object instead of the slave. This supports attributes of the object relation list datatype, single object relations, and XML fields. The children of any slave nodes will be moved to the master main node.

Each translation from the two objects will be created on the master object.

The slave object will be removed after the merge.

Todo

The merge does not support url alias history. When slave object is merged into master, url aliases should be updated to forward any urls to the master object.

Contributors

Written by Arne Bakkebø, Making Waves, on behalf of Norwegian Seafood Council, who required it to restructure their content.

Norwegian Seafood Council have the following eZ Publish sites around the globe:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 82.6%
  • Smarty 17.4%