Hello all,
i'm totally new to Joomla.
The Phoca Pdf plugin is amazingly working fine on every "standard" page i have. )
I needed to create a specific page wich displays a php created grid.
I use the Sourcerer plugin with {source} tag and it displays fine but when i try to print out in pdf, i have all the source code that gets on my document and no grid.
I searched almost everywhere on this support forum and Sourcerer's forum but no clues.
P.S : i tried with a more simplier php code in the {source} tag but nothing is working.
I think i have done something wrong somewhere because of the lack of same problems.
All help is highly apreciated!
Lionel
Page code displayed in output pdf
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Page code displayed in output pdf
Hi, since Phoca PDF 3, you can enable in options, that content plugins can be translated to PDF but be aware, this only work for simple html code (so if your plugin does render simple html code, it should be displayed in PDF)
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 3
- Joined: 13 Aug 2014, 14:12
Re: Page code displayed in output pdf
Hi Jan,
thanks a lot for responding me so fast!
Yes, php code does read a csv file and export an html table css formatted with html tags. Nothing really weird i think.
I searched for the option you mentioned. Is it this one :
Extensions -> Manage Plugins -> Phoca PDF Content -> Display plugin code (NO)
Because, an echo "test" in php does not print.
Is there a way to get through this?
Lionel
thanks a lot for responding me so fast!
Yes, php code does read a csv file and export an html table css formatted with html tags. Nothing really weird i think.
I searched for the option you mentioned. Is it this one :
Extensions -> Manage Plugins -> Phoca PDF Content -> Display plugin code (NO)
Because, an echo "test" in php does not print.
Is there a way to get through this?
Lionel
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Page code displayed in output pdf
Hi, I think, then you need to somehow check the errorLog on your server to see if there is not rendered any php error?
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 3
- Joined: 13 Aug 2014, 14:12
Re: Page code displayed in output pdf
Thanks a lot. I will check that.
Lionel
Lionel