Hello,
You need check function displayHouseMainPdf in realestatemanager.html
Please take attention to
Code: |
ob_end_clean();
ob_start();
|
and to
Code: |
$tbl = ob_get_contents();
ob_end_clean();
require_once($mosConfig_absolute_path ."/components/com_realestatemanager/tcpdf/config/lang/eng.php");
require_once($mosConfig_absolute_path ."/components/com_realestatemanager/tcpdf/tcpdf.php");
$pdf = new TCPDF1('P', 'mm', 'A4', true, 'UTF-8', false);
//$pdf->SetAuthor('');
$pdf->SetTitle('Real Estate manager');
$pdf->SetFont('freesans', 'B', 20);
$pdf->AddPage();
//$pdf->Write(0, 'Real Estate manager', '', 0, 'L', true, 0, false, false, 0);
$pdf->SetFont('freesans', '', 10);
$pdf->writeHTML($tbl, true, false, false, false, '');
$pdf->Output('Real_Estate_manager.pdf', 'I');
exit;
|
and again, you need understand we use tcpdf library for show house to PDF - there are possible some self output errors or CSS requirements
So you may be will need create alone CSS for PDF
Thanks,
OrdaSoft team