Disabling Version Mechanism for users on public website.

Author Message

John Smith

Saturday 01 August 2009 5:46:58 am

Hi guys,

I am building a website in which I have given permissions to the members so that they can edit their user acounts from the public website. But there is possibility that they can click other links on the website while editing their account. In other words, they would not come out of the their user editing interface either by store or cancel button.

Is there any way when they come back to user editing interface, they won't get message related to versions.

"This object is already being edited by you. You can either continue editing one of your drafts or you can create a new draft. "

Max Keil

Monday 03 August 2009 12:18:17 pm

Hi John,

[ContentSettings]
EditDirtyObjectAction=usecurrent

in your site.ini.append.php
should prevent eZ to show the versions before editing.

Mit freundlichen Grüßen
Best regards

Max Keil

____________________________________________________________
eZ Publish Gold Partner - http://www.all2e.com
http://ez.no/partners/worldwide_partners/all2e_gmbh

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

eZ debug

Timing: Jan 18 2025 10:31:06
Script start
Timing: Jan 18 2025 10:31:06
Module start 'layout'
Timing: Jan 18 2025 10:31:06
Module start 'content'
Timing: Jan 18 2025 10:31:06
Module end 'content'
Timing: Jan 18 2025 10:31:06
Script end

Main resources:

Total runtime0.0138 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0051 589.2891152.6563
Module start 'layout' 0.00510.0024 741.945339.5078
Module start 'content' 0.00750.0044 781.453189.5234
Module end 'content' 0.01190.0018 870.976630.3047
Script end 0.0138  901.2813 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002316.6638140.0002
Check MTime0.00117.7052140.0001
Mysql Total
Database connection0.00086.156210.0008
Mysqli_queries0.002215.894530.0007
Looping result0.00000.115810.0000
Template Total0.001410.310.0014
Template load0.00085.867510.0008
Template processing0.00064.351410.0006
Override
Cache load0.00064.031510.0006
General
dbfile0.00021.753080.0000
String conversion0.00000.058840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs