Page 1 of 1

Phoca PDF + Joomla 1.5 + SEF

Posted: 07 Nov 2011, 15:37
by hotpoint
Hi,
there's such a problem with Phoca PDF.
I've installed both the Component and the Content Plugin on Joomla! 1.5.22 Stable. The Plugin is surely enabled.
But icon-links in articles still lead to the default Joomla PDF layout.
For example, the pdf-link is enabled at the page http://nestandart.ru/sosatelnaya-reklam ... otipom.htm
The icon-link leads to the default and ugly http://nestandart.ru/sosatelnaya-reklam ... om/pdf.htm
As you can see, the link is modified by JoomSEF that I use for friendly urls, and it adds a suffix .htm to any address on the site.
When I use the non-sef link to PhocaPDF, it works great: http://nestandart.ru/sosatelnaya-reklam ... t=phocapdf
Is it possible to make icon-link show the same page as ?format=phocapdf and not default?

Thanks a lot.

Re: Phoca PDF + Joomla 1.5 + SEF

Posted: 07 Nov 2011, 18:04
by hotpoint
Thanks everybody!
Got the solution working great!
It's described here:
viewtopic.php?f=37&t=11216#p46183 and exactly in this lines:

Edit file: //components/com_content/helpers/icon.php
line 49 $url .= '&id='.$article->slug.'&format=pdf';
change pdf to phocapdf

It's all ok!

Re: Phoca PDF + Joomla 1.5 + SEF

Posted: 09 Nov 2011, 23:59
by Jan
Ok