No PDF icon, but PDF text link!

Phoca PDF - creating PDF documents in Joomla! CMS
baijianpeng
Phoca Member
Phoca Member
Posts: 27
Joined: 11 Nov 2007, 05:03

No PDF icon, but PDF text link!

Post by baijianpeng »

I installed Phoca PDF v2.0.6 , which is the latest version now, on Joomla 2.5.8, and tested it today.

On the article page, I see a PDF text link on the upper right corner of article content, but , it is a text link, NOT an icon image !

I checked the source code of that page, the code around that link is:

[code]<ul class="actions"> <li class="print-icon"><a href="/rt/index.php?option=com_content&view=article&id=24:content-layouts&catid=29&Itemid=152&tmpl=component&format=pdf" onclick="" title="PDF" rel="nofollow">&#160;PDF&#160;</a></li> </ul>[/code]

Could you please tell me why the PDF icon image did not show up, but a text link?

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

Re: No PDF icon, but PDF text link!

Post by Jan »

Hi, is the displaying of Icons (print, send mail) set to Icons or to text - the PDF icon get the same behaviour.

Jan
If you find Phoca extensions useful, please support the project
baijianpeng
Phoca Member
Phoca Member
Posts: 27
Joined: 11 Nov 2007, 05:03

Re: No PDF icon, but PDF text link!

Post by baijianpeng »

Today I made a new test, in order to reply your post ( I had deleted former testing site). My new testing site is (joomla v2.5.9) :

localhost/259/

Now I see the PDF icon show up with the Print and Email icons, but , the icon image for PDF is losing, so there is a red cross instead of the correct image.

The source code is:

[code]<li class="print-icon"><a href="/259/index.php?option=com_content&view=article&id=8:beginners&catid=19&Itemid=260&tmpl=component&format=pdf" onclick="window.open(this.href,'win2','status=no,toolbar=no,scrollbars=yes,titlebar=no,menubar=no,resizable=yes,width=640,height=480,directories=no,location=no'); return false;" title="PDF" rel="nofollow"><img src="/259/" alt="PDF" /></a></li>[/code]

It seems that the image SRC attribute is wrong.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: No PDF icon, but PDF text link!

Post by Jan »

Hi,yes, testing now and there is no problem on my test servers (windows, linux) and get no such feedback about broken link from users anytime :idea: ...So try to retest the path settings on your server :idea:
If you find Phoca extensions useful, please support the project
Post Reply