lockrow - what is is it?

Bauer

Well-Known Member
In 'Latest Commits' I see changes to the "lockrow" plugin.

I never heard of it before. But my guess is it's something I might be able to use in my project. Where can I find some info on what it does and how it works?

Anyhow, it doesn't show up anywhere on the backend in Joomla on my server - yet the folders and files are there.

Nothing with ''lock' in the name shows up anywhere in Joomla or Fabrik - and I'm really lost as to why.

Can anyone offer some suggestions as to how I can install the 'lockrow' list and element plugins?
 
It's an element plugin. 'Allows automatic locking of a row when a user is editing.' that's the descriptionthat shows when you select it.
 
I added it a last month, some custom work for @bea - I originally wrote it in Fabrik v2, but it didn't originally get migrated to 3.x.

It's a combination of a list plugin and an element plugin. You have to add both. It then automatically locks a row when the row is edited (by storing a timestamp and user ID in the lock element field), with the lock "owned" by the editing user. If the user saves the form, the lock is removed. If they don't save it, there's a configurable timeout for the lock. If you display the lockrow element in list view, it shows a locked or unlocked padlock icon, and you can optionally allow AJAX unlocking by clicking on the icon. At some point I'll probably add AJAX locking as well (it wasn't something Bea needed at the time).

-- hugh
 
Thanks Hugh. My original problem was I couldn't get it installed. Forgot about 'Discover', Duh. I now have it installed on a test list but haven't yet got around to testing per your instructions. It's late - I need to 'sleep on' what I might use it for.;)
 
Obviously the main use right now is to prevent two people from editing the same row at the same time.

Once I've added the AJAX lock, and another planned improvement, adding access levels for locking / unlocking, it'll be a little more flexible, so authorized users can easily lock and unlock arbitrary rows from list view.

Hugh

Sent from my Pixel 2 XL using Tapatalk
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top