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.
/*domPDF version < 0.8.6*/
#{$form} .fabrikElementContainer.span12 {position:relative;margin-bottom:10px}
#{$form} .fabrikElementContainer .span4 {display:inline-block;width:30%}
#{$form} .fabrikElementContainer .span8 {display:inline-block;left:31%;width:68%}
/*domPDF version 0.8.6, J! Bootstrap2 template*/
/*To get the labels left*/
#{$form} .fabrikElementContainer .span12 {position:relative;margin-bottom:10px;}
#{$form} .fabrikElementContainer .span4 {display:inline-block;width:30%;vertical-align:top;float:none;}
#{$form} .fabrikElementContainer .span8 {display:inline-block;width:66%;vertical-align:top;float:none;}
#{$form} .form-horizontal .control-label {float:none}
/*To get group columns, span4= 3 columns, span6= 2 columns etc*/
#{$form} .fabrikElementContainer.span6 {display:inline-block;width:48%;}
#{$form} .fabrikElementContainer.span4 {display:inline-block;width:30%;}
/*May be for image display*/
#{$form} img {width:auto;height:auto;}
#{$form} .icon-checkmark:before {content:'yes'}
#{$form} .icon-remove:before {content:'no'}
#listform_$c .fabrikList .row-fluid .span4 {display:inline-block;width:26%;float:none;}
#listform_$c .fabrikList .row-fluid {page-break-inside:avoid;}
?>
<div id="footdompdf">
<span class="footleft"><?php echo $this->table->label;?></span>
<span class="pagenum">Page </span>
</div>
<div id="headerdompdf">
<span class="headleft"><?php echo $this->table->label;?></span>
<span class="pdfdate">19-11-2013</span>
</div>
<?php
body {margin-top:1.5em;margin-bottom:1.5em}
#headerdompdf {
display:block;
position: fixed;
top: 0px;
width:100%;
height:1.1em;
border-bottom: 1px solid red;
}
#footdompdf {
display:block;
position: fixed;
bottom: 0px;
width:100%;
height: 1.1em;
border-top: 1px solid red;
}
#footdompdf .pagenum { position:absolute;
right: 20px;}
#footdompdf .pagenum:after {
content: counter(page) ; //This is including the page number at bottom right
}
#footdompdf .footleft {
color:red;
}
?>
<style>
@page {size:auto;
margin-top:3cm;margin-bottom:3cm;
odd-header-name: html_MyHeader1;
odd-footer-name: html_MyFooter1;
}
.fabrikDataContainer table {page-break-inside:auto;width:100%;}
</style>
<htmlpageheader name="MyHeader1">
<div style="text-align: right; border-bottom: 1px solid #000000; font-weight: bold; font-size: 10pt;">My document {DATE j-m-Y}</div>
</htmlpageheader>
<htmlpagefooter name="MyFooter1">
<table width="100%">
<tr>
<td width="33%">{DATE j-m-Y}</td>
<td width="33%" align="center">{PAGENO}/{nbpg}</td>
<td width="33%" style="text-align: right; ">My document</td>
</tr>
</table>
</htmlpagefooter>
<?php
* {font-family:'dejavu sans'!important}
@font-face {
font-family: 'yourfontname';
font-style: normal;
font-weight: normal;
src: url('https://websitedomain/subfoldername/yourfontname.ttf) format('truetype');
}
echo $this->filters['test___date_time']->displayValue;