Closed Sulpher closed 1 year ago
В настройках плагина включите нужные переключатели.
Спасибо, я открыл не тот плагин (системный). фильтром искал по фразе jcomments.
в контент плагине вижу, под четверку меньше параметров.
планируете ли добавить недостающие из тройки?
и по внешнему виду вот как получается:
предлагаю доработать отображение в одну строку
планируете ли добавить недостающие из тройки?
нет, т.к. шаблон используется джумловский для отображения Подробнее
+ добавлен css класс comments-readmore
для ссылки комментариев. Шаблон можно переназначить, а стили для ссылки добавить в css.
и по внешнему виду вот как получается:
вы можете сами это сделать через стили css.
Попробуйте https://github.com/exstreme/Jcomments-4/raw/2eed1c2ac095ea046afe165a7718cf791799e354/build/packages/plg_content_jcomments.zip Просто поверх перезалейте 3 файла links.php, jcomments.php, jcomments.xml Должно помочь с отображением.
Накатил. теперь другое дело. спасибо!
идея: посмотрите на скрин выше - иногда нужно не только primary, то и просто button default поставить. не хочется переопределять шаблон для плагина. предлагаю внести параметр: класс кнопки.
идея: посмотрите на скрин выше - иногда нужно не только primary, то и просто button default поставить. не хочется переопределять шаблон для плагина. предлагаю внести параметр: класс кнопки.
Макет ссылок на комментарии сделан в одном стиле с макетом "Подробнее" в Джумле.
"Comments" link in the list of Featured Articles doesn't seem to work. I still got “read more” button in my homepage. And of course, I have two read more buttons. Any solution?
@Vigoleto I cannot reproduce the issue. Do you have caching enabled?
Hello sir Not that I know of. It was a long journey migrating form Joomla 2.5 to 4.4.4, maybe I mess something up. :( Here is all the Jcomments in the Extensions Manager, maybe I did leave some old stuff? I’m using Yootheme pro – just figuring out how it works, I don’t know if its related. The site address is https://3joomlabackup.forumat-bg.com/ if that helps in some way
@Vigoleto that yootheme pro template you are using?
@Globulopolis Yes, I’m using yootheme pro template Do you think that the theme is causing the problem?
@Globulopolis Yes, I’m using yootheme pro template Do you think that the theme is causing the problem?
Maybe. Try switch to default joomla template.
@Globulopolis Ok, I did some testing as you kindly suggested.
So somehow the Yootheme overrides the rule - “Comments link in the list featured articles”. If I understand correctly, looking through the class “btn.btn-secondary”, the extra button is displayed as a secondary button. Maybe I could edit my theme articles.php so that that secondary button wont display. But I don’t know what to look for. I know is too much to ask for further help, but can you point me to the right direction?
@Vigoleto I need some time to find solution for this issue.
@Globulopolis Thank you kindly for looking in to it
В тройке есть плагин Система - Комментарии
заменяет вывод кнопки подробнее на свой блок с кол-вом комментов:
на четверке после миграции вот так:
не дописан функционал.