error on installing phoca pdf on Joomla 2.5.20

Phoca PDF - creating PDF documents in Joomla! CMS
deiszner
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 04 May 2014, 14:13

error on installing phoca pdf on Joomla 2.5.20

Post by deiszner »

Hi,

i want to install phoca-pdf to Joomla 2.5.20 (the newest 2.5 version).

After changing the file "components/com_content/views/article/tmpl/default.php" with

<?php if ($params->get('access-edit') || $params->get('show_print_icon') || $params->get('show_email_icon') || $phocaPDF) : ?>
<ul class="actions">
<?php echo $phocaPDF; ?>
<?php if (!$this->print) : ?>

there was an error:

Parse error: syntax error, unexpected $end in phoca pdf on line 234.

there is something missing in your code ?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: error on installing phoca pdf on Joomla 2.5.20

Post by Jan »

Hi, just test your code, seems like the customization just includes parse error (missing ;, <?php, ?> { }, etc).

Jan
If you find Phoca extensions useful, please support the project
deiszner
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 04 May 2014, 14:13

Re: error on installing phoca pdf on Joomla 2.5.20

Post by deiszner »

It was my failure - i do not have deleted the content to be deleted when installing phocapdf.

After deleting the lines of code - no error.

But there is no view of pdf-icon.

The print-icon is shown and the location of the pdf-icon is clear - but there is no pdf icon.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: error on installing phoca pdf on Joomla 2.5.20

Post by Jan »

Hmm, when you paste it in another place (to test it - is this displayed?)
If you find Phoca extensions useful, please support the project
Post Reply