Вывод в произвольном месте статьи.

More
9 years 1 week ago - 9 years 1 week ago #4634 by Юлия
Здравствуйте (JL Like PRO). У меня в статьях после текста материала идёт слоган и сейчас кнопки выводятся после слогана. Надо чтобы онии выводились сразу после текста статьи. Как настроить вывод плагина в произвольном месте статьи? Нужен или модуль или поправить шаблон статьи.
Если вставляю вот так в шаблон статьи:
<div itemprop="articleBody">
<?php echo $this->item->text; ?>
<?php

JFactory::getLanguage()->load('plg_content_jllikepro', JPATH_ADMINISTRATOR, null, false, true);
require_once JPATH_ROOT .'/plugins/content/jllikepro/helper.php';
$helper = PlgJLLikeProHelper::getInstance();
$helper->loadScriptAndStyle(0); //1-если в категории, 0-если в контенте
echo $helper->ShowIN($id, $link, $title, $image);
?>
</div>
Выводится:
Notice: Undefined variable: id in /.../components/com_content/views/article/tmpl/default.php on line 118 Notice:
Undefined variable: link in .../components/com_content/views/article/tmpl/default.php on line 118
Notice: Undefined variable: title in /...components/com_content/views/article/tmpl/default.php on line 118
Notice: Undefined variable: image in .../components/com_content/views/article/tmpl/default.php on line 118
Last edit: 9 years 1 week ago by Юлия.

Please Log in or Create an account to join the conversation.

More
9 years 1 week ago #4635 by JoomLine
Здравствуйте. Если у вас возникли проблемы создайте тикет.
joomline.net/ru/helpdesk/plugin/jllikepro.html мы вам поможем с настройкой плагина. В тиките укажите доступы в админ панель и FTP,

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum

Last from the forum

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

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