На странице со списком статей публикуется всегда первая картинка!

More
8 years 4 months ago #5942 by S3inc
Доброго времени суток, такая проблема. есть плагин JL Like, вызываю в своем компоненте беру первую картинку
$doc = new DOMDocument();
@$doc->loadHTML($item->introtext);
$tags = $doc->getElementsByTagName('img');
foreach ($tags as $tag) {
       $imagesone = "/".$tag->getAttribute('src');
}
 
JFactory::getLanguage()->load('plg_content_jllike', JPATH_ADMINISTRATOR, null, false, true);
require_once JPATH_ROOT .'/plugins/content/jllike/helper.php';
$helper = PlgJLLikeHelper::getInstance();
$helper->loadScriptAndStyle(1); //1-если в категории, 0-если в контенте
echo $helper->ShowIN($item->id, $link, $item->title, $imagesone);
В этоге при постинге любого поста, третьего или седьмого, беруться данные самого верхнего поста, как можно поправить уникальность?

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

More
8 years 4 months ago #5945 by JoomLine
Здравствуйте. К сожалению это не документированная функция для плагина JL Like. Мы гарантируем нормальную работу только с плагином JL Like PRO.

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

More
8 years 4 months ago #5947 by S3inc
ПРО версия аналогично ведет себя. без разницы про или обычная версия.

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

More
8 years 4 months ago #5954 by JoomLine
По про версии создайте тикет приведите страницу сайта в примере.

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

More
8 years 4 months ago #5956 by S3inc
Каким то обманом попахивает. так в самом начале и нужно было писать что нам не выгодно помогать по обыкновеннйо версии так как мы не заработаем денег. смысл покупать ПРО версию когда лайт не работает.

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

More
8 years 4 months ago #5957 by JoomLine
В коммерческой версии у нас эта функция заявлена, если она не работает, то мы обязаны вам помочь, в бесплатной версии этой функции не заявлено, по этому смысл тут разбираться?

Список функций плагина заявлен тут:
joomline.ru/rasshirenija/plugin/jllike.html - там такой функции нет, то что существуют обрывки кода от коммерческой версии не означает, что в бесплатной оно должно работать.
The following user(s) said Thank You: Damon

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

More
8 years 4 months ago #5960 by S3inc
Она не заявлена но она есть и она так же не работает.

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

Powered by Kunena Forum

Last from the forum

    • newtopbestblogger
    • The salmon roe warship is particularly alluring. There are such a lot of round and plump salmon roes, which are "crispy" in the mouth and have an top notch taste. Don’t suppose that the meals that simplest fees 20 yuan is not of excessive exceptional.
    • In Component / JL TV
    • firstwriteshop
    • The frame does not synthesize nutrition B12 on its personal. The main assets of diet B12 are animal proteins, such as clams, oatmeal, salmon, milk, yogurt, ham, eggs, bird, cereals, soy milk, almond milk, etc.
    • In Component / JL TV
    • 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
© 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.