i aggre with using ajax to checking the edited record.
and display notification if the current data is edited by some other users.
and when saved, the change is displayed both, so user can choose to use
which version that the document updated.. or merge it altogether
On Tue, Mar 15, 2011 at 11:55
On Mar 14, 2011, at 14:38, cricket wrote:
> On Mon, Mar 14, 2011 at 11:29 AM, Sarpidon wrote:
>>
>
>> What I did was to create a hidden input with the current timestamp
>> (when the edit page is generated)
>>
>> Upon save I check if the record has a greater timestamp than the one
>> from the hid
I think you need some AJAX to ping the server with the post_id when someone
open the post for edit.
You need to ping every X second.
When someone else trying to open the post for edit you check the ping table
and if the post is in edit mode you can disable the last user edit button.
you can even te
On Mon, Mar 14, 2011 at 11:29 AM, Sarpidon wrote:
> Thank you for your answers.
>
> What I did was to create a hidden input with the current timestamp
> (when the edit page is generated)
>
> Upon save I check if the record has a greater timestamp than the one
> from the hidden input and if so i re
save the article which is going to bite you on whatever way you do it.
>
> > mikek
>
> > > Thanks
>
> > > On Mar 14, 2:50 pm, Sarpidon wrote:
> > >> Hi, I tried searching for it but I cannot find anything useful. I am
> > >> trying to lock a
0 pm, Sarpidon wrote:
> >> Hi, I tried searching for it but I cannot find anything useful. I am
> >> trying to lock a page that is being edited by another user. In our
> >> site there could be many admins editing the frontpage (choosing main
> >> articles and so on
ocking hell if your user fails to
save the article which is going to bite you on whatever way you do it.
mikek
>
> Thanks
>
> On Mar 14, 2:50 pm, Sarpidon wrote:
>> Hi, I tried searching for it but I cannot find anything useful. I am
>> trying to lock a page that is being
av, Tilen Majerle
http://majerle.eu
2011/3/14 Sarpidon
> Ok. I guess I am looking for Optimistic Locking,
>
> has this been implemented on CakePHP? Anyone?
>
> Thanks
>
> On Mar 14, 2:50 pm, Sarpidon wrote:
> > Hi, I tried searching for it but I cannot find anything
Ok. I guess I am looking for Optimistic Locking,
has this been implemented on CakePHP? Anyone?
Thanks
On Mar 14, 2:50 pm, Sarpidon wrote:
> Hi, I tried searching for it but I cannot find anything useful. I am
> trying to lock a page that is being edited by another user. In our
> s
Hi, I tried searching for it but I cannot find anything useful. I am
trying to lock a page that is being edited by another user. In our
site there could be many admins editing the frontpage (choosing main
articles and so on), I want to be able to restrict the page to be
edited by a single user
10 matches
Mail list logo