[SOLVED] Edit User profile -> disable version

Author Message

Michael Fürst

Tuesday 19 May 2009 12:07:50 pm

Hi there,

Is there a way to disable versioning for objects of the type "user"? There are two reasons for that:

1) In frontend Users shouldn't have to decide which version they want to edit if they change their profile data (for example if they didn't cancel or save an old draft)

2) Versioning of user objects isn't really important

Maybe there is also another way to disable the version-selection in frontend (for example automatically select the latest draft for editing).

Thanks in advance,
cheers,
Mike

Ivo Lukac

Tuesday 19 May 2009 3:08:41 pm

Hello Mike,

Here you go:
http://ez.no/doc/ez_publish/technical_manual/4_0/reference/configuration_files/site_ini/contentsettings/editdirtyobjectaction

put this into your frontend siteaccess site.ini:
[ContentSettings]
EditDirtyObjectAction=usecurrent

http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac

Michael Fürst

Wednesday 20 May 2009 2:28:45 am

Hi Ivo,

Omg.. ok, you'll have to know that... I would never expect this function behind this parameter :) I've already tried to do something with "VersionHistoryClass" - but that isn't working.

Thanks a lot guy! :)

Cheers,
Mike

Ivo Lukac

Wednesday 20 May 2009 4:06:40 am

Comes with years and years off digging ;)

Cheers

http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac

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