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.
<div class="tab-group">
<ul class="nav nav-tabs">
<li class="active"><a data-toggle="tab" href="#tab1">Tab1</a></li>
<li><a data-toggle="tab" href="#tab1">Tab2</a></li>
</ul>
<div class="tab-content">
<div id="tab1" class="tab-pane fade in active">
<?php
$group = $this->groups['group-for-tab1'];
$this->group = $group;
?>
<fieldset class="<?php echo $group->class; ?>" id="group<?php echo $group->id;?>" style="<?php echo $group->css;?>">
<?php
if (!empty($group->intro)) : ?>
<div class="groupintro"><?php echo $group->intro ?></div>
<?php
endif;
?>
<div class="block-elements">
<?php
$this->elements = $group->elements;
echo $this->loadTemplate($group->tmpl);
?>
</div>
<?php
if (!empty($group->outro)) : ?>
<div class="groupoutro"><?php echo $group->outro ?></div>
<?php endif; ?>
</fieldset>
</div>
<div id="tab2" class="tab-pane fade">
<?php
$group = $this->groups['group-for-tab-2'];
$this->group = $group;
?>
<fieldset class="<?php echo $group->class; ?>" id="group<?php echo $group->id;?>" style="<?php echo $group->css;?>">
<?php
if (!empty($group->intro)) : ?>
<div class="groupintro"><?php echo $group->intro ?></div>
<?php
endif;
?>
<div class="block-elements">
<?php
$this->elements = $group->elements;
echo $this->loadTemplate($group->tmpl);
?>
</div>
<?php
if (!empty($group->outro)) : ?>
<div class="groupoutro"><?php echo $group->outro ?></div>
<?php endif; ?>
</fieldset>
</div>
</div>
</div>
JHtml::_('bootstrap.framework');
JHtml::_('bootstrap.loadCss', true);
JHtml::_('bootstrap.loadCss', false, $this->direction);
echo '<pre>' . var_export($this->data, true) . '</pre>';
//exit;
echo $this->data[table_name___element_name];