Hi,
I'm looking for a solution to generate nice pdf's on my site, and I stumbled upon Phoca PDF.
I can get it to work just fine with Joomla articles, but is it also compatible with K2 (http://www.get2k.org) ?
I've tried searching the forum, but couldn't find any info concerning K2.
Since each search term should be at least 4 characters, I've looked at every thread title, but with no success.
Anyway, K2 doesn't provide an option to generate pdf's, but there's a simple hack for this, which I've tried, and it works for Joomla articles (http://community.getk2.org/forum/topics ... ic%3A47292).
In short: I've just placed a view.pdf.php file in my K2 template folder, and added a PDF button to my template file. When I use the standard Joomla PDF function, the pdf is generated, but as expected, it looks quite awfull. When I try to generate a pdf with Phoca PDF, I'm getting the following error: PDF ERROR - Document cannot be created.
Do I have to modify the view.pdf.php file in order to get Phoca PDF to work with K2?
I would think that if the standard Joomla pdf gets created, it should also work with Phoca PDF, but it doesn't seem to be the case.
Any help would be appreciated.
Jurgen
ps: I'm using Joomla 1.5.23, and Phoca PDF 1.09
K2 compatibility
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: K2 compatibility
Hi, for now I don't know any plugin for Phoca PDF and K2. I think you need to modify the phocapdf document type in
libraries\joomla\document\ folder too.
Jan
libraries\joomla\document\ folder too.
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 4
- Joined: 29 Apr 2011, 23:18
Re: K2 compatibility
Hi,
Thanks for your reply.
I'm not a PHP programmer, but I've managed to modify the phocapdf document type, and it seems to be working now.
However, it only works with SEF urls disabled.
With SEF urls enabled, I'm getting a popup with the html page itself.
Could you please give me some hints how to get it working with SEF urls enabled?
regards,
Jurgen
Thanks for your reply.
I'm not a PHP programmer, but I've managed to modify the phocapdf document type, and it seems to be working now.
However, it only works with SEF urls disabled.
With SEF urls enabled, I'm getting a popup with the html page itself.
Could you please give me some hints how to get it working with SEF urls enabled?
regards,
Jurgen
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: K2 compatibility
Hi, try to change the sef parameter in plugin, I am running Phoca PDF with SEF enabled without problems, so for now don't have any experiences with problems with SEF ?
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 2
- Joined: 04 May 2013, 16:57
Re: K2 compatibility
Hi,
I have successfully installed phoca pdf in joomla and able to generate pdf for joomla articles. But it is not working for k2 items. Can you please let me know the step by step procedure to have this work for k2 items.
I have successfully installed phoca pdf in joomla and able to generate pdf for joomla articles. But it is not working for k2 items. Can you please let me know the step by step procedure to have this work for k2 items.
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: K2 compatibility
Hi, I don't know K2 but I think, for K2 there needs to written similar plugin like for the content is.
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 2
- Joined: 04 May 2013, 16:57
Re: K2 compatibility
Hi Jan, thanks for your reply. K2 is a joomla content module just like articles for joomla. I think, phoca pdf should know the k2 content and convert it to PDF. I tried modifying phocapdf.php code, but not able to generate the article content to pdf. It is just blank. Can you help me please.
Thanks
b600
Thanks
b600
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: K2 compatibility
Hi, as I wrote I have no experiences with K2 - I know that this is a component but I don't know how it works. So cannot give any advices as I have no idea if it has similar output as articles or other - in every case, I think, it will be different and completely new plugin needs to be written
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 15
- Joined: 10 May 2013, 15:50
- Contact:
Re: K2 compatibility
I'm sorry but i got to pushup this thread
Im really intersted too! Everybody wants it!
I found a Voting for a Wishlist with Phoca-PDF-functions
I really like to post ist here, because it would make K2 & Phoca very much better!!!
https://phoca.uservoice.com/forums/1272 ... ilters/hot
Im really intersted too! Everybody wants it!
I found a Voting for a Wishlist with Phoca-PDF-functions
I really like to post ist here, because it would make K2 & Phoca very much better!!!
https://phoca.uservoice.com/forums/1272 ... ilters/hot
-
- Phoca Newbie
- Posts: 1
- Joined: 27 Oct 2014, 12:28
Re: K2 compatibility
So, when will it be released?
We are waiting for it.
We are waiting for it.