Content Export/Import Tool

Author Message

Björn [email protected]

Tuesday 20 May 2003 12:47:07 pm

To exchange ContentClasses and/or ContentObjects between installations.

This would be quite cool. Because then you don't have to set up your content object classes for every new install.

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

Jo Henrik Endrerud

Tuesday 20 May 2003 1:15:40 pm

This is planed functionallity, but I can't promise it will make it in the 3.1 release

Jo Henrik Endrerud | System Developer @ Seeds Consulting | http://www.seeds.no

Paul Borgermans

Thursday 29 May 2003 2:08:08 pm

If you could release the import export tool for classes independently from the general import/export tools for objects, it could increase the advances in contributions. I have a improved forum and calendar set of templates more or less ready. But these depend on some dedicated classes.

Paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Paul Forsyth

Friday 30 May 2003 12:13:56 am

Maybe not helpful but in the interim you could look at the code supplied in the kernel_clean.sql file to get an idea of the sql required.

If you know your class database structure (easy through webmin or myadmin) you can literally save the sql for your class and import it whenever.

Much better to have ez do this for you but could be a timesaver for now.

Paul

Björn [email protected]

Friday 30 May 2003 4:03:42 am

Yes, Paul B. hit the point.

If we would have such functionality. We would get to the point where typo3 or nuke already are. We would be able to create plug-ins that can be installed with just a click.

Bjoern

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

Harry Fuecks

Friday 30 May 2003 4:30:24 am

Third that on the content classes - for a start it makes me nervous having stuff which effectively defines the design of an application stored only in a database, particularily a database that isn't too strong on maintain constraints like MySQL. If "developing" content classes could also be performed using text files that would help alot - may be in an XML format or even as PHP classes.

Gabriel Ambuehl

Friday 30 May 2003 5:03:35 am

From my understanding, exporting a class isn't all too hard.
It's basically four tables you need to take care of, ezcontentclass and ezcontentclass_attribute and ezcontentclassgroup_attribute (ezcontentclassgroup is only needed if your content class is in a new group).

From ezcontentclass you need to export exactly the one row with the id of your class. From ezcontentclass_attribute you need to export all rows where contentclass_id has the same value as id above. This will basically contain the design of your class.

Now to actually see your class show up in the class list, you also need to export the rows with the matching contentclass_id from ezcontentclassgroup_attribute as these will tell ezpublish where to put the class in the system.

If I weren't hacking on my mail server, I'd probably write the few lines that are needed for this. Or maybe I will, anyway.

If you want it done the fast way, use ezDB and manipulate the DBs yourself, if you want it to do right, you should go the way through the API which is much more complex.

I think bypassing the API, this job could be done in about 50 lines.

Visit http://triligon.org

Bård Farstad

Tuesday 17 June 2003 12:25:29 am

Class import/export is planned for 3.2. We will have functions for exporting class(es) with the needed templates. This package can then be imported into any other eZ publish installation.

RIght after the 3.1 release ( next week ) we will post a release plan for 3.2 with the features we want to add for this release.

--bård

Documentation: http://ez.no/doc

Gabriel Ambuehl

Thursday 19 June 2003 2:27:06 am

How about contentobject export/import in 3.2?

Visit http://triligon.org

Negin Javadi

Wednesday 06 April 2005 12:58:54 am

at this time I'm posting this comment I'm using ezP3.5 is this tool implimented at this version?

n_j1981[at]yahoo[dot]com

Ekkehard Dörre

Wednesday 06 April 2005 2:00:45 am

Yep,

http://ez.no/ez_publish/documentation/ez_publish_3_4/content_object_import_and_export

Greetings, ekke

http://www.coolscreen.de - Over 40 years of certified eZ Publish know-how: http://www.cjw-network.com
CJW Newsletter: http://projects.ez.no/cjw_newsletter - http://cjw-network.com/en/ez-publ...w-newsletter-multi-channel-marketing

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.