Page 1 of 1

Can I put the pdf icon in a module position?

Posted: 28 Mar 2014, 18:03
by oorzaak
Hi,

I have Phoca Pdf running on a site and it's working great. However the customer asked me if it is possible to display the pdf link/icon in a module position, along with a few social media buttons on the site, rather than in its current position (article icons position, near the article title).

Is this possible or is the link/icon integrated with the content component in such a way that it cannot be placed within a module position?


Kind regards,
Frits

Re: Can I put the pdf icon in a module position?

Posted: 28 Mar 2014, 18:42
by Jan
Hi, there are more possible ways but maybe all too complicated - you can somehow move the icon with help of css to module position - or e.g. write own module which somehow get the right number of displayed article and will render right link for the PDF.

Jan

Re: Can I put the pdf icon in a module position?

Posted: 28 Mar 2014, 18:53
by oorzaak
Hi Jan, thanks for replying so quickly!

I'd rather put my cards on the module solution. I checked the hmtl code that is rendered by the current button. If I understand you AND the code correctly, then the module should somehow create a link like this one (on a test domain of my site) on the corresponding page:
Is this correct? If so, then it should not be too hard. I have NoNumber's Sourcerer running on this site already and I know a bit of the Joomla framework.

Anyway I'd rather do it this way than moving the icon around with css, which in my opinion is far less reliable (cross platform) than a healthy bit of php.


Kind regards, Frits

Re: Can I put the pdf icon in a module position?

Posted: 30 Mar 2014, 22:41
by Jan
Hi, yes, if you are able to get such link in module, then this is the best solution - yes, the only function in article is the rendering the link - so if you have right link, you can paste it everywhere you need.

Jan

Re: Can I put the pdf icon in a module position?

Posted: 02 Apr 2014, 13:05
by oorzaak
Got it running now!

Thanks,

Frits

Re: Can I put the pdf icon in a module position?

Posted: 03 Apr 2014, 13:07
by Jan
Great to hear it.

Jan