Table and Phoca PDF

Phoca PDF - creating PDF documents in Joomla! CMS
grease082
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 04 May 2011, 21:06

Table and Phoca PDF

Post by grease082 »

Hi, i've got a Problem.

If I use tables in my content and I want to make a pdf with phocapdf the table won't work correctly, the tables where all very small and not beautiful.

What can i do to solve this problem?
Can anybody help me?

Regards
grease082
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Table and Phoca PDF

Post by Jan »

Hi, check the html code of the tables, PDF is not like HTML, so converting tables is not so easy, but clean tables should be converted ok, like e.g. here:

https://www.phoca.cz/demo/phocapdf-demo

Jan
If you find Phoca extensions useful, please support the project
syntax
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 16 Nov 2011, 16:01

Re: Table and Phoca PDF

Post by syntax »

Hi, I have the same problem. I copied the code and if I have more than one table it works only with the first. :x
And what is behind the class "phocatable" ?
Thank you
Last edited by syntax on 18 Nov 2011, 03:47, edited 1 time in total.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Table and Phoca PDF

Post by Jan »

Hi, check the html of the table, if it is clean.

Jan
If you find Phoca extensions useful, please support the project
syntax
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 16 Nov 2011, 16:01

Re: Table and Phoca PDF

Post by syntax »

thank you for reply. no possibility for costumize phocapdf table style?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Table and Phoca PDF

Post by Jan »

Hi, the table is translated from HTML and some CSS rules. For customization it, you can do it in html or then customize the output in TCPDF class :idea:

Jan
If you find Phoca extensions useful, please support the project
Post Reply