Page 1 of 1

error on installing phoca pdf on Joomla 2.5.20

Posted: 04 May 2014, 15:03
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 ?

Re: error on installing phoca pdf on Joomla 2.5.20

Posted: 04 May 2014, 23:21
by Jan
Hi, just test your code, seems like the customization just includes parse error (missing ;, <?php, ?> { }, etc).

Jan

Re: error on installing phoca pdf on Joomla 2.5.20

Posted: 07 May 2014, 18:53
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.

Re: error on installing phoca pdf on Joomla 2.5.20

Posted: 11 May 2014, 23:54
by Jan
Hmm, when you paste it in another place (to test it - is this displayed?)