"Fabrik List - Inline Edit" plugin with diferent actions

jmdc

Member
Hello,

I am using bootstrap default template and i am trying to create another template with these code in /components/com_fabrik/views/list/tmpl/bootstrap2/default_row.php:

Code:
<tr id="<?php echo $this->_row->id;?>" class="<?php echo $this->_row->class;?>">
    <?php

foreach ($this->headings as $heading => $label) {
                $extra_class = "";
               
                if ($heading == 'mylist___myelement') {
                  if ($this->_row->data->mylist___myelement_raw == "4") {
                      $extra_class = "value_in_range";
                  }
                  else {
                      $extra_class = "value_not_in_range2";
                  }
                }

               
        $style = empty($this->cellClass[$heading]['style']) ? '' : 'style="'.$this->cellClass[$heading]['style'].'"';
        ?>
        <td class="<?php echo $extra_class . ' ' . $this->cellClass[$heading]['class']?>" <?php echo $style?>>
            <?php echo @$this->_row->data->$heading;?>
        </td>
    <?php }?>
</tr>

So i am trying to have different colors in mylist___myelement field...And it works!!
But my problem is that "Fabrik List - Inline Edit" plugin doesn?t work anymore...:(

How can i have this code working with "Fabrik List - Inline Edit" plugin?

Thank you in advance
 
We are in need of some funding.
More details.

Thank you.

Members online

No members online now.
Back
Top