Как вывести кнопки плагина JL Like PRO на главной странице сайта?

More
10 years 3 months ago #4393 by Владислав
Здравствуйте, как вывести кнопки плагина JL Like PRO на главной странице сайта?

как-нибудь в модуле вывести это плагин или код кнопок который формирует этот плагин или как-то подругому.
этот плагин формирует html код на странице:
Warning: Spoiler!

пробовал добавить такой код в модуль и опубликовать модуль на главной. не получилось.
У меня на главной вообще нет материалов. Может всетаки как-то можно добавть соц кнопки на главную сайта? Очень нужны. помогите пожалуйста.

Please Log in to join the conversation.

More
10 years 3 months ago - 10 years 3 months ago #4394 by JoomLine
Здравствуйте.
Вы может использовать следующий способ вызова плагина JL Like PRO. Он описан в этой статье.
joomline.ru/docs/jllikepro/564-vyvod-kno...oizvolnom-meste.html

Что вам надо?
Взять код:
<?php
require_once JPATH_ROOT .'/plugins/content/jllikepro/helper.php';
$helper = PlgJLLikeProHelper::getInstance();
$helper->loadScriptAndStyle(0); //1-если в категории, 0-если в контенте
echo $helper->ShowIN($id, $link, $title, $image);
?>
И вставить в PHP модуль допустим вот этот: extensions.joomla.org/extensions/extensi...pts-integration/jumi
Или любой другой который вы используете или вам нравится.
Last edit: 10 years 3 months ago by JoomLine.
The following user(s) said Thank You: Владислав

Please Log in to join the conversation.

More
10 years 3 months ago - 10 years 3 months ago #4395 by Владислав
Спасибо большое.
Я вставил код в модуль mod_php и вот такую ошибку мне выдало -
Warning: require_once(/home/p62191/www/................/plugins/content/jllikepro/helper.php) [function.require-once]: failed to open stream: No such file or directory in /home/p62191/www/mq5.ru/modules/mod_php/mod_php.php(36) : eval()'d code on line 4
 
Fatal error: require_once() [function.require]: Failed opening required '/home/p62191/www/........./plugins/content/jllikepro/helper.php' (include_path='.:/usr/local/php52/lib/php') in /home/p62191/www/mq5.ru/modules/mod_php/mod_php.php(36) : eval()'d code on line 4

библиотеки не хватает не подскажете?
Last edit: 10 years 3 months ago by Владислав.

Please Log in to join the conversation.

More
10 years 3 months ago #4396 by JoomLine
Создайте тикет... в личном кабинете. В нем укажите доступ в админ панель. Проверил сейчас, все должно работать.

Please Log in to join the conversation.

More
10 years 3 months ago #4397 by Владислав
может дело в том, что у меня джумла 1.5 и плагин версии plg_jllikepro_v2.4.1_j2.5_j1.5_unpack.zip ?

Please Log in to join the conversation.

More
10 years 3 months ago #4398 by JoomLine
Тогда работать не будет обновления плагина для Joomla 1.5 более года не выходили. И эту возможность мы добавили только в версии 2.7.0.
В ближайший год мы прекратим и поддержку Joomla 2.5 в наших расширениях.

Please Log in to join the conversation.

More
10 years 3 months ago #4399 by Владислав
Уже понял, у меня просто нет файла helper.php на который идет код(((
Это очень плохо что нет поддержки((( Сайты с возрастом уже вряд ли будут переезжать на новые версии движков компонентов и т.д.

Please Log in to join the conversation.

Powered by Kunena Forum

Last from the forum

    • чет не работает
    • You may have heard about the for a while now, but you still don't dare to visit them. It is time for you to lose your fear of these prostitute websites. Take your mobile phone, and visit it now. The escorts are local prostitutes you can access for a minimum amount.
    • In Component / Yandex Market XML
    • JL Content Fields Filter в настройках полей нет та...
    •   Здравствуйте. joomline.ru/rasshirenija/moduli/jlconten...=m4vw1l4vab486665406 отсюда с гитхаба скачал и установил на джумла версии 4.1.5 со страницы установка расширений. После установки появилась ошибка " Class "Joomla\Plugin\Jlcontentfieldsfilter\Extension\Jlcontentfieldsfilter" not found" Зашел на фтп по пути /plugins/system/ и перенес папку в /plugins сменив namespace. Дальше все по инструкции - в системе активировал плагин. В модулях включил. Захожу в созданное поле - есть стандартные вкладки, вкладки "Параметры фильтрации" нет. Что делать? >>>>>>>>>>>>>>>>>>>>> Hello. joomline.ru/rasshirenija/moduli/jlconten...=m4vw1l4vab486665406 I downloaded version 4.1.5 from GitHub and installed it on Joomla from the extension installation page. After installation, an error occurred: "Class "Joomla\Plugin\Jlcontentfieldsfilter\Extension\Jlcontentfieldsfilter" not found." I went to ftp at /plugins/system/ and moved the link to /plugins, changing the namespace. Then everything according to the instructions - the plugin was activated in the system. It is enabled in the modules. I go to the created field - there are standard tabs, but there is no "Filter parameters" tab. What should I do?  
    • In Modules Joomline / JL Content Fields Filter
    • JL Content Fields Filter в настройках полей нет та...
    • Здравствуйте. joomline.ru/rasshirenija/moduli/jlconten...=m4vw1l4vab486665406 отсюда с гитхаба скачал и установил на джумла версии 4.1.5 со страницы установка расширений. После установки появилась ошибка " Class "Joomla\Plugin\Jlcontentfieldsfilter\Extension\Jlcontentfieldsfilter" not found" Зашел на фтп по пути /plugins/system/ и перенес папку в /plugins сменив namespace. Дальше все по инструкции - в системе активировал плагин. В модулях включил. Захожу в созданное поле - есть стандартные вкладки, вкладки "Параметры фильтрации" нет. Что делать? >>>>>>>>>>>>>>>>>>>>> Hello. joomline.ru/rasshirenija/moduli/jlconten...=m4vw1l4vab486665406 I downloaded version 4.1.5 from GitHub and installed it on Joomla from the extension installation page. After installation, an error occurred: "Class "Joomla\Plugin\Jlcontentfieldsfilter\Extension\Jlcontentfieldsfilter" not found." I went to ftp at /plugins/system/ and moved the link to /plugins, changing the namespace. Then everything according to the instructions - the plugin was activated in the system. It is enabled in the modules. I go to the created field - there are standard tabs, but there is no "Filter parameters" tab. What should I do?
    • In Plugins Joomline / Other plugin
© 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.