• 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.

How to: Add/Edit row in list view

aijosh

Member
Hello,

I am trying to implement this with not much luck.

LISTC (Posts [listA] with a join to Comment[listB])======
Code:
LIST A                                                                 LISTB
id,user, post                                                        id, postid,user,comment
1,ben,hello                                                           5,1,wallace,something
                                                                                6,1,james,another thing
                                                                                7,1,bond,why
2,shapiro,come over                                           12,2,brown,ok
                                                                                8,2,james,thanks
                                                                                9,2,wallace,bye

In this list view I want
.1 Comments to be able to be added right here in the list view
.2 the owners of comments to be able to edit or/and delete their comments.

How do I achieve this?
The two methods I could think of were/would not work.

Method 1;
Edit ListC list view template and add FormB and DetailB into each row (Form for posting and detail for viewing). This was going to work till I found out the ListView is a form on its own so the FormB I inserted into the row was nested into FormC and did not work.
So to test, I changed the <form.. in the ListView template to <div... and FormB started working...… well only the first occurrence of the form. The remaining forms in row 2 and below did not work. I'm guessing cos they all have the same formid.

Method 2;
Use Inline Edit List Plugin:
Well, the warning is clear in the wiki not to use this on joined tables so :-(

Is there a way to make this work?

Thanks
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top