eZ Community » Forums » Developer » Object edit extension handler -...
expandshrink

Object edit extension handler - changelog

Object edit extension handler - changelog

Tuesday 28 March 2006 11:27:57 am - 10 replies

I'm looking at the content object edit extension handler functionality, which will be part of the upcoming eZ publish 3.8 release.

It looks like such a handler is ideal for implementing a "changelog", using a seperate db table. When editing an object, there will be an extra text field where you can write a little note about what you've changed in the specific version you're editing.

Is there anyone interested in having this "changelog" feature? Or was there someone with the same idea and has he or she already made such an extension?

Modified on Tuesday 28 March 2006 11:28:54 am by Kristof Coomans

Tuesday 28 March 2006 11:50:38 am

With the content diff implementation if implemented fully, this would rather be *why* something has changed blunk.gif Emoticon

--paul

Tuesday 28 March 2006 12:14:28 pm

Idd, you're right. That's what I actually meant happy.gif Emoticon

Tuesday 28 March 2006 6:06:50 pm

Hi,

Wouldn't it be easier/more the ez way to create a new attribute "logger" that tracks that ? No need for a separate table and you put that only on the content you want to track.

For those of us (ie. me blunk.gif Emoticon that have some difficulties to follow all the nice extensions you spoil us with, could you remind me what this content object edit extension handler does ?

Any link more than welcome.

X+

Tuesday 28 March 2006 8:12:59 pm

If you're having objects that can be edited by many people (eg. in a wiki), other people's changelog notes can get deleted by accident. I believe in some cases it's better to just have a changelog attribute, in other cases not.

You can read more about the new content edit extension handler functionality at http://pubsvn.ez.no/nextgen/trunk...8/content_edit_extension_handler.txt ( I didn't invent this one blunk.gif Emoticon ).

Modified on Tuesday 28 March 2006 8:14:06 pm by Kristof Coomans

Tuesday 28 March 2006 9:45:25 pm

Maybe we can get blog trackbacks without workflow hackery now?

I dont really see what you're trying to achieve, though. Is the changelog to be filled automatically or by the users?

Modified on Tuesday 28 March 2006 9:46:09 pm by Gabriel Ambuehl

Wednesday 29 March 2006 8:13:33 am

Hi guys

Xavier, you were right about the attribute. If we have a custom datatype (based on the text field) that clears it's own attribute content whenever a new version of the attribute gets created, then each object version can contain it's own changelog note. It will be very easy to display those notes eg. in the content/versions view in an additional column.

Thanks for bringing me back on the right track with your good advice! happy.gif Emoticon

Wednesday 29 March 2006 10:15:57 am

I committed something to SVN: http://pubsvn.ez.no/community/trunk/extension/changelog. You can take a look at it when you have some time.

Wednesday 29 March 2006 12:11:04 pm

Argl !

I managed to install and test your (wonderful) extension xajax to add classes and you've published 3 in the meantime blunk.gif Emoticon

Quick question on the licence: on one txt you mention LGPL but you're put the GPL.txt in the doc. What's the right one ?

I'm not sure it makes a lot of difference as it works only with ez that is GPLed, but anyway, just to pretend I've read the doc blunk.gif Emoticon

X+

Wednesday 29 March 2006 12:31:36 pm

Indeed, it had to be GPL. It has been corrected in svn.

Friday 08 December 2006 1:31:52 pm

<b>All</b>

I have added a basic entry for the changelog extension on eZpedia!
<i>http://ezpedia.org/wiki/en/ez/changelog_attribute</i>

Please feel free to extend and add to this documentation article.

//kracker

expandshrink

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

36 542 Users on board!

Forums menu