List Manager Forum

Show Columns in pdf export

User moon_504 2012-06-01 19:26:09

Dear support,

How can I get the column lines to be displayed in the PDF export.

This is useful for us to show the separation of data in the different columns

Thanks

Anselm

Moonsoft support 2012-06-03 12:21:36

Hello,

(only for joomla 1.5, LM v0.0.3)

the pdf export uses fpdf library. In order to style your output you can edit this file:

joomla\components\com_listmanager\views\listmanager\tmpl\pdf.php


Search for this line, and change the border parameter from:

$posYfincell=$this->MultiCell($widthcol,6,utf8_decode($texto),0,'J',$fill,$posYini);

to

$posYfincell=$this->MultiCell($widthcol,6,utf8_decode($texto),1,'J',$fill,$posYini);


This should add all cells border to exported file. Here you have all information about the other parameters you can set:


http://www.fpdf.org/en/doc/multicell.htm

Regards

...
Support/development 10 hours

Get a bigger amount of hours for more complex tasks and get a 10% discount

Buy now!
...
Support/development

Perfect for small code changes or to correct any bug at your site

Buy now!