Phoca PDF + Joomla 1.5 + SEF

Phoca PDF - creating PDF documents in Joomla! CMS
hotpoint
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 07 Nov 2011, 15:17

Phoca PDF + Joomla 1.5 + SEF

Post 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.
hotpoint
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 07 Nov 2011, 15:17

Re: Phoca PDF + Joomla 1.5 + SEF

Post 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!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca PDF + Joomla 1.5 + SEF

Post by Jan »

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