For running J!5.1 you must https://fabrikar.com/forums/index.php?wiki/update-from-github/ or include the new file manually https://fabrikar.com/forums/index.php?threads/joomla-5-1-and-fabrik-cannot-find-files-error.54473/post-285151 See also Announcements
Please see our announcement here.
It's not really clear what you want/need.
Have a look at Fabrik 'out of the box' features like
WIKI and forum are your friends.
- filtering lists
- lists with ajaxfied links (i.e. open form or details in popup)
- related data with popup (open related filtered lists in a popup)
- Fabrik content plugin (show multiple fabrik items on one site)
- Fabrik list module
Yes, I did dig into the pointers, a bit.Did you dig into the pointers @troester gave you here above?
Also, this appears to be a very similar request: https://fabrikar.com/forums/index.p...lay-ajaxified-list-detail-side-by-side.53246/
Same principle, it seems.
Also, this appears to be a very similar request: https://fabrikar.com/forums/index.p...lay-ajaxified-list-detail-side-by-side.53246/
Same principle, it seems.
jQuery(document).on('click', '.fabrik_row > td', function() {
mytr = jQuery(this).parents("tr");
myrowid = mytr.find("td").eq(0).html();
myrowid = jQuery.trim(myrowid);
alert("Clicked row id is "+myrowid);
});
jQuery(document).on('click', '.fabrik_row > td', function() {
mytrid = jQuery(this).parents("tr").attr('id');
mychar = mytrid.lastIndexOf('_');
myid = mytrid.substring(mychar + 1);
alert("Clicked row id is "+myid);
});
That works indeed.Something like this in list_XX.js:
JavaScript:jQuery(document).on('click', '.fabrik_row > td', function() { mytr = jQuery(this).parents("tr"); myrowid = mytr.find("td").eq(0).html(); myrowid = jQuery.trim(myrowid); alert("Clicked row id is "+myrowid); });
And with this solution you need to have the id element's setting "Show in list" set to "Yes". Also id needs to be the first column in list. You can hide it with css, but it needs to exist in DOM.
Another approach would be to get the row id from clicked tr element's id (number after last "_"), something like:
JavaScript:jQuery(document).on('click', '.fabrik_row > td', function() { mytrid = jQuery(this).parents("tr").attr('id'); mychar = mytrid.lastIndexOf('_'); myid = mytrid.substring(mychar + 1); alert("Clicked row id is "+myid); });
P.S. These exact codes are not tested.
Yes, exactly.I assume, when you click on Manus list e.g. on row 1, you want the Elementer list to be showing only "Udsendelse 1" records? And "Udsendelse" in Elementer list is a databasejoin element referring to Manus.id ?
jQuery(document).on('click', '.fabrik_row > td', function() {
myval = jQuery(this).parents("tr").find('.firsttablename___udsendelse_element_class').text().trim();
alert(myval);
jQuery('#secondtablename___filterinputname').val(myval);
Fabrik.getBlock('list_XX').doFilter();
});
jQuery(document).on('click', '.fabrik_row > td', function() {
mytrid = jQuery(this).parents("tr").attr('id');
mychar = mytrid.lastIndexOf('_');
myid = mytrid.substring(mychar + 1);
alert(myid);
jQuery('#nemmanus_element___element_elementer_idvalue').val(myid);
Fabrik.getBlock('list_2').doFilter();
});