• Hello Fabrik Community

    Fabrik is now in the hands of the development team that brought you Fabrik for Joomla 4. We have recently transitioned the Fabrik site over to a new server and are busy trying to clean it up. We have upgraded the site to Joomla 4 and are running the latest version of Fabrik 4. We have also upgraded the Xenforo forum software to the latest version. Many of the widgets you might have been used to on the forum are no longer operational, many abandoned by the developers. We hope to bring back some of the important ones as we have time.

    Exciting times to be sure.

    The Fabrik 4.0 Official release is now available. In addition, the Fabrik codebase is now available in a public repository. See the notices about these in the announcements section

    We wish to shout out a very big Thank You to all of you who have made donations. They have really helped. But we can always use more...wink..wink..

    Also a big Thank You to those of you who have been assisting others in the forum. This takes a very big burden off of us as we work on bugs, the website and the future of Fabrik.

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