blue-mouse
Member
Hi,
I have my own PDF-template that produce something like on screenshoot.
I need to delete somethig what i have on top of printout "grey box"
I have also "table-label" on the top but this i can delete.
I have problem with "grey box".
What i really need is to start on the top of page with text:
echo "<strong><font color='blue'> Numer zam?wienia: $zam1 </font></strong><br/>";
The beginning of default.php in my custom pdf-template directory is:
I have my own PDF-template that produce something like on screenshoot.
I need to delete somethig what i have on top of printout "grey box"
I have also "table-label" on the top but this i can delete.
I have problem with "grey box".
What i really need is to start on the top of page with text:
echo "<strong><font color='blue'> Numer zam?wienia: $zam1 </font></strong><br/>";
The beginning of default.php in my custom pdf-template directory is:
PHP:
<?php
/**
* Fabrik List Template: Default
*
* @package Joomla
* @subpackage Fabrik
* @copyright Copyright (C) 2005 Fabrik. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
*/
// header('Content-type: text/plain; charset=utf-8');
// No direct access
defined('_JEXEC') or die;
$pageClass = $this->params->get('pageclass_sfx', '');
if ($pageClass !== '') :
echo '<div class="' . $pageClass . '">';
endif;
if ($this->tablePicker != '') : ?>
<div style="text-align:right"><?php echo JText::_('COM_FABRIK_LIST') ?>: <?php echo $this->tablePicker; ?></div>
<?php
endif;
if ($this->params->get('show_page_heading')) :
echo '<h4>' . $this->params->get('page_heading') . '</h4>';
endif;
if ($this->getModel()->getParams()->get('show-title', 1)) :?>
<h4><?php
echo $this->table->label;
echo "Alter tittle - test";
?></h4>
<?php endif;?>
<?php echo $this->table->intro;?>
<form class="fabrikForm" action="<?php echo $this->table->action;?>" method="post" id="<?php echo $this->formid;?>" name="fabrikList">
<?php echo $this->loadTemplate('buttons');
if ($this->showFilters) :
echo $this->loadTemplate('filter');
endif;
/*
* For some really ODD reason loading the headings template inside the group
* template causes an error as $this->_path['template'] doesnt cotain the correct
* path to this template - go figure!
*/
$this->headingstmpl = $this->loadTemplate('headings');
$this->showGroup = true;
?>
<div class="fabrikDataContainer <?php
echo $this->tableEmptyClass;
?>">
<?php foreach ($this->pluginBeforeList as $c) :
echo $c;
endforeach;?>
<div class="boxflex">
<table class="fabrikList" id="list_<?php
echo $this->table->renderid;
?>" >
<tfoot>
<tr class="fabrik___heading">
<td colspan="<?php
echo count($this->headings);
?>">
<?php
echo $this->nav;
?>
</td>
</tr>
</tfoot>
<?php
$gCounter = 0;
foreach ($this->rows as $groupedby => $group) :
if ($this->hasCalculations) : ?>
<tr class="fabrik_calculations">
<td colspan="6"><table class="rysio1">
<?php $j=0;
echo '<tr class="fabrik_calculations">';
echo "<td>";
$db =& JFactory::getDBO();
$order1 =FabrikHelperElement::filterValue(11356); //with 81
if (isset($order1)) {
$query = "SELECT `ip2_zamowienie_symbol1` FROM `ccjom_cc_kk_ip2_zamowienie` WHERE `id`= ".$order1." ";
$db->setQuery($query);
$result = $db->loadResult();
$zam1 = $result;
}
if($order1==0){
$zam1 = "Razem wszystkie zam?wienia";
}
echo "<br/><br/>";
echo "<br/><br/>";
echo "<br/><br/>";
echo "<br/><br/>";
echo "<br/><br/>";
echo "<strong><font color='blue'> Numer zam?wienia: $zam1 </font></strong><br/>";
echo "<br/><br/>";
echo "<br/><br/>";
echo "</td>";
echo "</tr>";
foreach ($this->calculations as $cal) {
if($j>0 and $j<= 1) {
echo '<tr class="fabrik_calculations fab1_danka">';