Page 1 of 2

Pochapdf 2.5

Posted: 26 Apr 2015, 14:11
by rfj
Hi Jan

Have used your pochapdf in a 1.5 version with much pleasure :-)

I have made a site in Joomla 2.5, and your pdf creator ignores the 'Display Plug-In Code' function !

It is always displayed !

Hope you can help.

Best regards
Rene

Re: Pochapdf 2.5

Posted: 26 Apr 2015, 23:05
by Jan
Hi, which version of Phoca PDF component and which version of the Phoca PDF content plugin you are running?

Jan

Re: Pochapdf 2.5

Posted: 27 Apr 2015, 11:23
by rfj
Hi

Pocha PDF ver. 2.0.7
The plugin I can't find version !

Rene

Re: Pochapdf 2.5

Posted: 27 Apr 2015, 23:49
by Jan
See the extension manager, there you should get the info about the plugin, or see the ZIP file, there is set the version.

Jan

Re: Pochapdf 2.5

Posted: 29 Apr 2015, 08:33
by rfj
Hi

PDF: 2.0.7
Content: 2.0.6
System plugin: 3.0.0

Rene

Re: Pochapdf 2.5

Posted: 30 Apr 2015, 00:36
by Jan
Hi, the system plugin does not work for Joomla! 2.5, it is a Joomla! 3 extension.
But this is not related to the problem. Testing now and when I disable the conent plugin displaying, it will be normally ignored :idea: :idea:

Jan

Re: Pochapdf 2.5

Posted: 01 May 2015, 10:58
by rfj
Hi Jan

Can I find a System plugin for 2.5 ?
Do you think that the displaying of the content code can be solved ?
I know that no URL's can be listed, but can I send you some code to help you find the problem ?

Best regards
Rene

Re: Pochapdf 2.5

Posted: 02 May 2015, 15:09
by Jan
Hi, there is no system plugin for 2.5, the icon should be set by this method:

https://www.phoca.cz/documents/47-phoca- ... -and-usage

But the system plugin only cares about the icon, so this is not related to this topic, if you see the pdf icon, the system plugin is not more needed.


Jan

Re: Pochapdf 2.5

Posted: 06 May 2015, 17:14
by rfj
Hi Jan

The changes you describe does not work in 2.5.
Here the code I've tried to use:

<?php$phocaPDF = false;if (JPluginHelper::isEnabled(''phocapdf'', ''content'')) {
include_once(JPATH_ADMINISTRATOR.DS.''components''.DS.''com_phocapdf''.DS.''helpers''.DS.''phocapdf.php'');
$phocaPDF = PhocaPDFHelper::getPhocaPDFContentIcon($this->item, $params);
}?>
<?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) : ?>
<?php if ($params->get('show_print_icon')) : ?>
<li class="print-icon">
<?php echo JHtml::_('icon.print_popup', $this->item, $params); ?>
</li>
<?php endif; ?>

<?php if ($params->get('show_email_icon')) : ?>
<li class="email-icon">
<?php echo JHtml::_('icon.email', $this->item, $params); ?>
</li>
<?php endif; ?>

<?php if ($canEdit) : ?>
<li class="edit-icon">
<?php echo JHtml::_('icon.edit', $this->item, $params); ?>
</li>
<?php endif; ?>

<?php else : ?>
<li>
<?php echo JHtml::_('icon.print_screen', $this->item, $params); ?>
</li>
<?php endif; ?>

</ul>
<?php endif; ?>

Re: Pochapdf 2.5

Posted: 06 May 2015, 18:01
by rfj
Hi Jan

I use 'Ninja Access', it might have some affect to your code ?

{njaccess 0}









Users Manual




































{/njaccess}
{njaccess 2}









Users Manual








Spareparts







Branding








Drawings








Wiring Diagram


{/njaccess}