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
See Announcement
We are still working on the Joomla update.
.fabrik_row .fabrikDivElement:nth-of-type(1) {
float: left;
width: 50%;
}
.fabrik_row .fabrikDivElement:nth-of-type(2) {
float: left;
width: 50%;
}
<?php
/**
* Fabrik List Template: Div Row
* Note the div cell container is now generated in the default template
* in FabrikHelperHTML::bootstrapGrid();
*
* @package Joomla
* @subpackage Fabrik
* @copyright Copyright (C) 2005-2016 Media A-Team, Inc. - All rights reserved.
* @license GNU/GPL http://www.gnu.org/copyleft/gpl.html
*/
// No direct access
defined('_JEXEC') or die('Restricted access');
?>
<?php foreach ($this->headings as $heading => $label) :
$d = @$this->_row->data->$heading;
if (isset($this->showEmpty) && $this->showEmpty === false && trim(strip_tags($d)) == '') :
continue;
endif;
$h = $this->headingClass[$heading];
$c = $this->cellClass[$heading];
$hStyle = empty($h['style']) ? '' : 'style="' . $h['style'] . '"';
$cStyle = empty($c['style']) ? '' : 'style="'. $c['style'].'"';
?>
<div class="row-fluid fabrikDivElement">
<?php if (isset($this->showLabels) && $this->showLabels) :
echo '<span class="muted ' . $h['class'] . '" ' . $hStyle . '>' . $label . ': </span>';
endif; ?>
<?php echo '<span class="' . $c['class'] . '" ' . $cStyle . '>' . $d . '</span>'; ?>
</div>
<?php
endforeach;
?>
<?php
/**
* Fabrik List Template: Default Custom CSS
*
* @package Joomla
* @subpackage Fabrik
* @copyright Copyright (C) 2005-2016 Media A-Team, Inc. - All rights reserved.
* @license GNU/GPL http://www.gnu.org/copyleft/gpl.html
*/
/**
* If you need to make small adjustments or additions to the CSS for a Fabrik
* list template, you can create a custom_css.php file, which will be loaded after
* the main template_css.php for the template.
*
* This file will be invoked as a PHP file, so the list ID
* can be used in order to narrow the scope of any style changes. You do
* this by prepending #listform_$c to any selectors you use. This will become
* (say) #listform_12, owhich will be the HTML ID of your list on the page.
*
* See examples below, which you should remove if you copy this file.
*
* Don't edit anything outside of the BEGIN and END comments.
*
* For more on custom CSS, see the Wiki at:
*
* http://www.fabrikar.com/forums/index.php?wiki/form-and-details-templates/#the-custom-css-file
*
* NOTE - for backward compatibility with Fabrik 2.1, and in case you
* just prefer a simpler CSS file, without the added PHP parsing that
* allows you to be be more specific in your selectors, we will also include
* a custom.css we find in the same location as this file.
*
*/
header('Content-type: text/css');
$c = $_REQUEST['c'];
echo <<<EOT
/* BEGIN - Your CSS styling starts here */
.fabrik_row .fabrikDivElement:nth-of-type(1) {
float: left;
width: 50%;
}
.fabrik_row .fabrikDivElement:nth-of-type(2) {
float: left;
width: 50%;
}
/* END - Your CSS styling ends here */
EOT;
<br />
<b>Parse error</b>: syntax error, unexpected end of file, expecting variable (T_VARIABLE) or heredoc end (T_END_HEREDOC) or ${ (T_DOLLAR_OPEN_CURLY_BRACES) or {$ (T_CURLY_OPEN) in <b>.../components/com_fabrik/views/list/tmpl/div/custom_css.php</b> on line <b>48</b><br />