• Fabrik4.5.1 for Joomla5.2.4

    Fabrik4.5.1 is out. This update is needed for J!5.2.4

    See Announcements

Any chance of updating the Inline Edit plugin for J4?

BasilC

Member
First of all, a huge thankyou to the brilliant team that have got Fabrik working so well on J4. I have a website that completely depends on Fabrik for much of its functionality and before you all set to work was thinking I might just abandon it, but you all came to the rescue.

One little question: Is there any possibility of getting the Inline Edit plugin working? On J3 it was extremely useful. I moved it over to J4, but when using Firefox I double click on an element to edit it, the widget doesn't open and the content of the field disappears. However, in the database nothing changes. Using Edge the behaviour is the same, except that a search widget pops up.

I'm aware of the warnings that it only works reliably in simple situations, but I only want it for very straightforward edits.
 
This is not something that is on our radar at the moment. You may feel free to hack away at the plugin yourself and see if you can get it working.
 
First of all, a huge thankyou to the brilliant team that have got Fabrik working so well on J4. I have a website that completely depends on Fabrik for much of its functionality and before you all set to work was thinking I might just abandon it, but you all came to the rescue.

One little question: Is there any possibility of getting the Inline Edit plugin working? On J3 it was extremely useful. I moved it over to J4, but when using Firefox I double click on an element to edit it, the widget doesn't open and the content of the field disappears. However, in the database nothing changes. Using Edge the behaviour is the same, except that a search widget pops up.

I'm aware of the warnings that it only works reliably in simple situations, but I only want it for very straightforward edits.
One more to join this request... :p;)

I understand it's not on the radar, but it would be very usefull...
 
I have just noticed today’s posts here having missed the earlier ones. I have been looking at this (when time allows) for a while. A couple of months ago I was having problems with modal forms causing the paging of the source list to be corrupted on return from the form. I posted about it at the time (Modal form bugs); it seems to be an old issue (from F3) and unlikely to be fixed any time soon.

So I started looking for an alternative. What I really wanted was a popup that would edit a few fields from a simple table and then close rapidly without reloading the list. I had a vague recollection of an inline edit plugin, but found that had not made it into F4, having problems already in F3. To check it, I added an inlineedit to an old F3 system and found it could do roughly what I wanted, so I produced an F4 version by making a few standard changes, as I had done a while ago for the button, list php_events and validationrule regex plugins that were missing from F4 at the time.

The result works in part, although I have done only limited testing; single fields can be edited and saved and, in its other mode, a list of fields can be edited in a single popup (including fields not displayed in the list). There are problems though; when triggered from a field in an odd-numbered row other that the top row, save hangs and the keyboard navigation around the fields does not work. Also the popup has F3 style buttons.

For my needs, I do not require individual field editing. I realise others might disagree, but I feel there is not much point in single field editing as it involves a popup rather than editing in-place (which would be like a spreadsheet). If you are going to have popup anyway, why not put several fields in it? Removing single field editing removes the need for field navigation and with it, one of the problems. For triggering an edit, field clicking could be replaced by taking over the row edit buttons.

I have spent a while investigating the code and am about to have a go at modifying the code to produce a new version, which should probably be called “popup” list plugin.

If anyone has any comments or observations, I will be pleased to hear them. I had intended to get a bit further with this before posting anything here, but seeing the other posts, thought I should report what I am attempting now.
 
We are happy to accept a PR to the Fabrik repository. It will need to be tested well.

If you plan to write a new plug-in there are some new folder structures, coding requirements, and installation changes you will need to implement. Let me know if this is the case and I will write up the requirements.
 
Hi,

I'm interested in attempting to update the Inline Edit plugin for Joomla 4.
Could you please provide me with the necessary requirements and access to the latest available version of the plugin?

Thanks in advance!
 
I suggest you pm @johnonorvic and see what he has. The old version you can find on the old Fabrik github https://github.com/Fabrik/fabrik

You should review the existing plugins that are in F4 to give you some idea of the structure. On the other hand you may wish to use one of the F5 plugins as your model. If you are going to change it you might as well make if F5 ready. I can send you one of the plugins in F5 structure if you like.
 
I suggest you pm @johnonorvic and see what he has. The old version you can find on the old Fabrik github https://github.com/Fabrik/fabrik

You should review the existing plugins that are in F4 to give you some idea of the structure. On the other hand you may wish to use one of the F5 plugins as your model. If you are going to change it you might as well make if F5 ready. I can send you one of the plugins in F5 structure if you like.
Hi,

Thank you for your response! I appreciate the guidance.

Yes, I would love to receive one of the F5 plugins to use as a reference for updating the Inline Edit plugin. That would be very helpful.

Please let me know how I can get it.

Thanks again!
 
Having had to drop my work this plugin for a while, I am now working on it again and have made some more progress. On my original thread about the subject (Modal form bugs), there was recently a response from @ontarget and he has now offered to do some testing. Perhaps we can coordinate our efforts to get a better result and avoid too much duplication.

I started looking at this when I wanted a method of producing quick popups of simple forms. Using a List’s “Ajaxify links” shows a form as a popup, but when it is closed the list reloads, so the popup is no faster than a standard form. There are also problems with page navigation (hence the title of my original post). I thought the Inline Edit plugin might be useful as a basis for something, as it does produce quick popups of one of more fields. I soon got if working fairly well in F4 and then set about making it better, improving the display and including groups of fields. Unfortunately it is rather complex and obscure in its workings, but I hope I am over the worst of that now. I hope to have something soon that is good enough to share with others for test, comment and further work. Incidentally, I have, so far, given no thought to changes for F5, as I thought it best to get it basically working first.
 
I too am interested int his, I still use the J3 inline edit and need it for J4/J5.

Once it is ready I would also be happy to do testing on my various applications.

Thanks chaps.
 
Having had to drop my work this plugin for a while, I am now working on it again and have made some more progress. On my original thread about the subject (Modal form bugs), there was recently a response from @ontarget and he has now offered to do some testing. Perhaps we can coordinate our efforts to get a better result and avoid too much duplication.

I started looking at this when I wanted a method of producing quick popups of simple forms. Using a List’s “Ajaxify links” shows a form as a popup, but when it is closed the list reloads, so the popup is no faster than a standard form. There are also problems with page navigation (hence the title of my original post). I thought the Inline Edit plugin might be useful as a basis for something, as it does produce quick popups of one of more fields. I soon got if working fairly well in F4 and then set about making it better, improving the display and including groups of fields. Unfortunately it is rather complex and obscure in its workings, but I hope I am over the worst of that now. I hope to have something soon that is good enough to share with others for test, comment and further work. Incidentally, I have, so far, given no thought to changes for F5, as I thought it best to get it basically working first.
I appreciate the work you’ve been doing on updating the Inline Edit plugin. It’s a crucial feature for improving user experience with quick popups in Fabrik.

I’d be happy to collaborate on this. If you could publish the project on GitHub and share the repository (perhaps via private message), I could review the progress and suggest improvements. If needed, we could also create a separate branch to test and refine specific functionalities.

Looking forward to your feedback!
 
Additionally, having used it in the past, I recognize that, as it is structured, the Inline Edit plugin is mainly useful for quick modifications on a list. However, I am considering an alternative approach that could improve data interaction: a system that allows direct row modifications without having to save the entire form.

I am referring to the functionality of repeatable groups in Fabrik forms, where new rows can be added using the "+" button and removed with the "-" button. The idea would be to implement a similar mechanism for lists, but with the ability to save changes at the row level without requiring confirmation for the entire form. Ideally, each row could have its own save button or an action that allows immediate storage, avoiding the need to reload the entire page or the main form.

I realize this goes beyond a simple plugin and would require a deeper structural change. However, I believe that by integrating JavaScript commands directly into the form view, something similar might be achievable.
 
This sounds very much like what J! subForms do. They don't do auto save but I expect they could be made to do so. I have added subForms into the admin side for F5, I have not looked at the front end very much yet as I have been focusing on the admin. But I have had in the back of my mind to see if subForm techniques would work for the front end repeats. Won't get to that for a while though so feel free to play with it on F4.
 
Hello!
I'm in the same boat as you, eagerly waiting for the inline edit plugin :) If you need any help with testing the plugin, just let me know!
 
Back
Top