Showing buttons plugin JL Like PRO in any place

This method created by us especially for sites that use extensions that are not supported by us.

An example of the integration of plug JL Like PRO in the forum Kunena.

In file:

/components/com_kunena/template/vash_shablon/html/topic/default.php

If you have not overridden component template is recommended you do in advance.

We are looking for a div with class kcontainer and paste the following code:

<php
require_once JPATH_ROOT .'/plugins/content/jllikepro/helper.php';
$helper = PlgJLLikeProHelper::getInstance();
$helper->loadScriptAndStyle(0);
echo $helper->ShowIN($id, $link, $title, $image);
?>

 

If you output plug-in component category, the parameter: $helper->loadScriptAndStyle(0); change the 0 to 1. However, working with multi-links can not be guaranteed in each component is implemented in different ways and it is impossible to predict all the action.

email: This email address is being protected from spambots. You need JavaScript enabled to view it.

© 2010- JoomLine

The Joomla!® name is used under a limited license from Open Source Matters in the United States and other countries. joomline.org is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.