Page 1 of 1

no pdf icon because of artisteer template

Posted: 15 Nov 2013, 03:53
by alhe0012
Hi there,

i read following guide for installing and using phoca pdf in joomla 3.0.

https://www.phoca.cz/documents/47-phoca- ... e-joomla-3

It was really helpfull until the part 'Customizing Joomla! core content files'. Here the documentation is no help for me, cause im using artisteer templates in my joomla. These templates overrides the Joomla! content files, so I cant editing the files that are mentioned in the documentation.

So how do I know, what code exactly I have to change in my artisteer generated php files?
When someone does know the answer, I can post all the specific parta of my php files.

Can I avoid editing this files and solve the problem in an other way?

best regards
alex

Re: no pdf icon because of artisteer template

Posted: 19 Nov 2013, 11:55
by Justus
Hi Alex,

I am using J2.5.16 and an Artisteer template, too.

You need to copy/modify acccording to https://www.phoca.cz/documents/47-phoca- ... -and-usage some files in your artisteer template because it overwrites the original.

Important! Before you overwrite these files in your artisteer template make a backup copy in the same folder (xyz_original.php) !!

The files which need to be changed are located in: your_template/html/com_content/article/

Example of the procedure for the article view:
1. Backup the original file in your template folder
2. copy/overwrite the (copied) artisteer file: templates/your_template/html/com_content/article/default.php
with the phoca file from components/views/article/default.php
This will overwrite your artisteer template, you need to tweak the php code matching to your template style also.
3. copy the phoca file components/views/article/view.pdf.php to the folder templates/your_template/html/com_content/article/

As soon as I have replaced the file shown above the style has changed (of course) but the PDF icon was there and worked fine for this example in the article view. For other views you need to change the artisteer files in the folder category, featured as well.

Hope it helps.

Re: no pdf icon because of artisteer template

Posted: 10 Feb 2014, 04:32
by Jimmuk
Hi,

I also use Artisteer and found the same problem initially.

What I found is you have to goto the 'Menu Manager' section and for each menu or sub menu select 'Show pdf icon' under options

I didn't have to modify any of the Artisteer template files.

Hope this helps..

Jimmuk