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.
I submitted a pull request for this 16 days ago - along with a detailed list of the new/changed functions and how it works. Github link: Update inlineedit.js
Rob responded 2 days later with some questions and concerns - to which I responded and/or fixed. But I haven't heard a peep since.
/* this formats what was the popup modal to fit inside the list cell */
td.fabrik_list_260_group_509 div.modal {
position: initial;
top: initial;
left: initial;
z-index: initial;
width: auto;
margin-left: initial;
}
td.fabrik_list_260_group_509 div.modal div.modal-body div.control-group{
margin-bottom:0px;
}
tr[id^=list_260] td.focusClass div.modal div.modal-body {
padding:0!important;
}
td.fabrik_list_260_group_509 div.modal div.modal-body div.control-group div.fabrikElement{
display:flex;
}
/* gradient red border for cell with focus */
tr[id^=list_260] td.focusClass {
box-shadow: inset 0 0 8px rgba(255, 0, 0, 0.3);
-moz-box-shadow: inset 0 0 8px rgba(255, 0, 0, 0.3);
-webkit-box-shadow: inset 0 0 8px rgba(255, 0, 0, 0.3);
}
/*
This hides the labels and action buttons that are in the edit modal
It also hides the action buttons in the list itself - but you can remove the 1st 3 lines if you want to also show the list action buttons
*/
table[id^=list_260] thead tr th.fabrik_actions,
table.temptable thead tr th.fabrik_actions,
tr[id^=list_260] td.fabrik_actions,
td.fabrik_list_260_group_509 div div.modal-header,
td.fabrik_list_260_group_509 div div.modal-footer,
td.fabrik_list_260_group_509 div div.modal-body div label {
display:none;
}
/*
this hides the PK id column (that I needed to include for csv export/import)
and another textarea column that I don't want to show in the list yet include in csv/export import
*/
table[id^=list_260] thead tr th.master_report___id,
table.temptable thead tr th.master_report___id,
tr[id^=list_260] td.master_report___id,
table[id^=list_260] thead tr th.fb_jobcodes___job_description,
table.temptable thead tr th.fb_jobcodes___job_description,
tr[id^=list_260] td.fb_jobcodes___job_description {
display:none;
}
/* sets text input fields to the full width of the cell */
input#master_report___your_job_code,
input#master_report___your_title
{
width:100%;
}
/* sets numeric input fields to the full width of the cell and aligns right */
input#master_report___your_job_code,
input#master_report___ftes,
input#master_report___min_rate,
input#master_report___max_rate,
input#master_report___avg_rate,
input#master_report___min_mng,
input#master_report___max_mng,
input#master_report___avg_mng,
input#master_report___last_cash,
input#master_report___last_deferred,
input#master_report___years_in_job,
input#master_report___evening,
input#master_report___night,
input#master_report___weekend,
input#master_report___avg_base_comp,
input#master_report___add_cash_comp,
input#master_report___add_def_comp,
input#master_report___add_med_ed,
input#master_report___add_on_call,
input#master_report___physicians_in_category,
input#master_report___years_in_practice,
input#master_report___board_certified
{
width:100%;
text-align:right;
}
/* this is the 1st (left) non-editable text column that I want to show as bold */
tr[id^=list_260] td.master_report___job_title {
font-weight:bold;
}
/* these are the editable columns with text data that I want to color blue to better identify as editable */
tr[id^=list_260] td.master_report___your_job_code,
tr[id^=list_260] td.master_report___your_title {
color:blue;
}
/* these are the headings for columns with numeric data that I want to align-right
(This list is being used in 7 different menu options, each with different prefilters -
so no list ever really shows this many columns! - But this css covers all 7 possibilities
*/
th.master_report___ftes,
th.master_report___min_rate,
th.master_report___max_rate,
th.master_report___avg_rate,
th.master_report___min_mng,
th.master_report___max_mng,
th.master_report___avg_mng,
th.master_report___last_cash,
th.master_report___last_deferred,
th.master_report___years_in_job,
th.master_report___evening,
th.master_report___night,
th.master_report___weekend,
th.master_report___avg_base_comp,
th.master_report___add_cash_comp,
th.master_report___add_def_comp,
th.master_report___add_med_ed,
th.master_report___add_on_call,
th.master_report___physicians_in_category,
th.master_report___years_in_practice,
th.master_report___board_certified
{
text-align:right!important;
}
/* these are the editable columns with numeric data that I want to color blue to better identify as editable, and to align-right */
tr[id^=list_260] td.master_report___ftes,
tr[id^=list_260] td.master_report___min_rate,
tr[id^=list_260] td.master_report___max_rate,
tr[id^=list_260] td.master_report___avg_rate,
tr[id^=list_260] td.master_report___min_mng,
tr[id^=list_260] td.master_report___max_mng,
tr[id^=list_260] td.master_report___avg_mng,
tr[id^=list_260] td.master_report___last_cash,
tr[id^=list_260] td.master_report___last_deferred,
tr[id^=list_260] td.master_report___years_in_job,
tr[id^=list_260] td.master_report___evening,
tr[id^=list_260] td.master_report___night,
tr[id^=list_260] td.master_report___weekend,
tr[id^=list_260] td.master_report___avg_base_comp,
tr[id^=list_260] td.master_report___add_cash_comp,
tr[id^=list_260] td.master_report___add_def_comp,
tr[id^=list_260] td.master_report___add_med_ed,
tr[id^=list_260] td.master_report___add_on_call,
tr[id^=list_260] td.master_report___physicians_in_category,
tr[id^=list_260] td.master_report___years_in_practice,
tr[id^=list_260] td.master_report___board_certified
{
color:blue;
text-align:right;
}
It warms my heart to no end to know someone recognizes my many hours of work, thank you. But I've been overturning enough apple carts around here lately to even think about that just yet.BTW, are you going to make that new one available?
<?php
/**
* Bootstrap List Template - boostrap_inline - default_row
*
* @package Joomla
* @subpackage Fabrik
* @author Phil Bauer
* @license GNU/GPL http://www.gnu.org/copyleft/gpl.html
*/
// No direct access
defined('_JEXEC') or die('Restricted access');
$arowId = explode('_',$this->_row->id);
$nCount = count($arowId)-1;
$cspan = count($this->headings)-1;
$jobdesc = '';
$hidearray = array("master_report___id","master_report___job_code","master_report___job_title");
$intarray = array("master_report___min_mng","master_report___max_mng","master_report___avg_mng","master_report___last_cash","master_report___last_deferred","master_report___avg_base_comp","master_report___add_cash_comp","master_report___add_def_comp","master_report___add_med_ed","master_report___add_on_call","master_report___physicians_in_category","master_report___years_in_practice","master_report___board_certified,min_md");
?>
<tr id="<?php echo $this->_row->id;?>" class="<?php echo $this->_row->class;?>">
<?php foreach ($this->headings as $heading => $label) {
$thisClass = '';
$fullelname = isset($this->_row->data) ? $heading : '';
$style = empty($this->cellClass[$heading]['style']) ? '' : 'style="'.$this->cellClass[$heading]['style'].'"';
?>
<td class="<?php echo $this->cellClass[$heading]['class']?>" <?php echo $style?>>
<?php if(strpos($this->cellClass[$heading]['class'],'fabrik_select')>-1){ ?>
<?php echo isset($this->_row->data) ? $this->_row->data->$heading : '';?>
<?php }elseif(strpos($this->cellClass[$heading]['class'],'fabrik_actions')>-1){ ?>
<input type="checkbox" class="inlineflag" id="flag_<?php echo $this->_row->id;?>" value="1">
<input type="checkbox" class="validflag" id="valid_<?php echo $this->_row->id;?>" value="1">
<?php }else{
if(in_array($fullelname,$hidearray)){?>
<span class="<?php echo isset($this->_row->data) ? $heading : '';?>"><?php echo isset($this->_row->data) ? trim(strip_tags($this->_row->data->$heading)) : '';?></span>
<input style="display:none;" id="<?php echo isset($this->_row->data) ? $heading : '';?>_<?php echo $arowId[$nCount];?>" value="<?php echo isset($this->_row->data) ? trim(strip_tags($this->_row->data->$heading)) : '';?>">
<?php }elseif($fullelname=='fb_jobcodes___job_description'){
$jobdesc = isset($this->_row->data) ? trim(strip_tags($this->_row->data->$heading)) : '';
}elseif($fullelname=='master_report___your_title'){?>
<span style="display:none;" class="<?php echo isset($this->_row->data) ? $heading : '';?>"><?php echo isset($this->_row->data) ? trim(strip_tags($this->_row->data->$heading)) : '';?></span>
<textarea rel="tooltip" data-placement="top" data-original-title="" data-html="true" id="<?php echo isset($this->_row->data) ? $heading : '';?>_<?php echo $arowId[$nCount];?>" rows="1"><?php echo isset($this->_row->data) ? trim(strip_tags($this->_row->data->$heading)) : '';?></textarea>
<?php }elseif($fullelname=='master_report___your_job_code'){?>
<span style="display:none;" class="<?php echo isset($this->_row->data) ? $heading : '';?>"><?php echo isset($this->_row->data) && $this->_row->data->$heading<>'0.00' ? trim(strip_tags($this->_row->data->$heading)) : '';?></span>
<input rel="tooltip" data-placement="top" data-original-title="" data-html="true" id="<?php echo isset($this->_row->data) ? $heading : '';?>_<?php echo $arowId[$nCount];?>" class="<?php echo $thisClass;?>" value="<?php echo isset($this->_row->data) ? trim(strip_tags($this->_row->data->$heading)) : '';?>">
<?php }else{
if(isset($this->_row->data) && strpos($heading,'_ftes')!==false){
$thisClass = 'dec1';
}elseif(in_array($fullelname,$intarray)){
$thisClass = 'dec0';
}else{
$thisClass = 'dec2';
}
?>
<span style="display:none;" class="<?php echo isset($this->_row->data) ? $heading : '';?>"><?php echo isset($this->_row->data) && $this->_row->data->$heading<>'0.00' ? trim(strip_tags($this->_row->data->$heading)) : '';?></span>
<input rel="tooltip" data-placement="top" data-original-title="" data-html="true" id="<?php echo isset($this->_row->data) ? $heading : '';?>_<?php echo $arowId[$nCount];?>" class="<?php echo $thisClass;?>" value="<?php echo isset($this->_row->data) && $this->_row->data->$heading<>'0.00' ? trim(strip_tags($this->_row->data->$heading)) : '';?>">
<?php } } ?>
</td>
<?php } ?>
</tr>
<tr id="jd_<?php echo $this->_row->id;?>" class="jobcode" style="display:none;">
<td><span class="icon-forward-2" style="float:right;"></span></td><td colspan="<?php echo $cspan;?>"><?php echo $jobdesc;?></td>
</tr>
?>