Checkout vs edit

pred 9 rokmi 9 mesiacmi #636 od Roman
Checkout vs edit bolo vytvorené Roman
Hi,
In a single view
if user once push edit button (checkout item)
and don't save/cancel
this user have no edit button anymore, so user can't checkin.
if($canEdit && $this->item->checked_out == 0):
if recplace to 
$UserId = JFactory::getUser()->id;
if($canEdit && ($this->item->checked_out == 0 ||$this->item->checked_out == $UserId)):
checkedOut user able to finish the job:)

Prosím Prihlásiť alebo Registrácia pre zdieľanie konverzácie.

Čas vytvorenia stránky: 0.050 sekúnd
Funguje na Kunena fórum

We use cookies so that you can place orders and we can provide a better service. You can control the use of cookies at the individual browser level. If you reject cookies, you may still use our website, but your ability to use some features or areas of our website may be limited.