-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- The plugin has been rewritten according to the architecture of Joomla 5 plugins. For Joomla 3 and Joomla 4, use the previous version of the plugin. - Favorites The button is now displayed in featured articles as well. CLoses #8 - Auto-hide the message Now the message "Thanks for the rating" is automatically hidden after 2 seconds. CLoses #7 - Bug Fixes Fixed a number of bugs that occurred on Joomla 5. Closes #5
- Loading branch information
1 parent
c9c8e0a
commit 9cf956c
Showing
20 changed files
with
703 additions
and
613 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
[![Version](https://img.shields.io/github/release/sergeytolkachyov/wt-content-like.svg?label=Version)](https://web-tolk.ru/dev/joomla-plugins/wt-content-like.html?utm_source=github) [![Status](https://img.shields.io/badge/Status-stable-green.svg)]() [![JoomlaVersion](https://img.shields.io/badge/Joomla-4.2-orange.svg)]() [![DocumentationRus](https://img.shields.io/badge/Documentation-rus-blue.svg)](https://web-tolk.ru/dev/joomla-plugins/wt-content-like.html?utm_source=github) [![DocumentationEng](https://img.shields.io/badge/Documentation-eng-blueviolet.svg)](https://web-tolk.ru/en/dev/joomla-plugins/wt-content-like.html?utm_source=github) | ||
# WT Content Like Joomla 3 and Joomla 4 plugin | ||
The plugin replaces the standard content rating with the like button. Supports custom output layouts. Works with Joomla 3 and Joomla 4. | ||
[![Version](https://img.shields.io/github/release/sergeytolkachyov/wt-content-like.svg?label=Version)](https://web-tolk.ru/dev/joomla-plugins/wt-content-like?utm_source=github) [![Status](https://img.shields.io/badge/Status-stable-green.svg)]() [![JoomlaVersion](https://img.shields.io/badge/Joomla-4.2-orange.svg)]() [![DocumentationRus](https://img.shields.io/badge/Documentation-rus-blue.svg)](https://web-tolk.ru/dev/joomla-plugins/wt-content-like.html?utm_source=github) [![DocumentationEng](https://img.shields.io/badge/Documentation-eng-blueviolet.svg)](https://web-tolk.ru/en/dev/joomla-plugins/wt-content-like.html?utm_source=github) | ||
# WT Content Like Joomla plugin | ||
The plugin replaces the standard content rating with the like button. Supports custom output layouts. Auto-hide the message "Thanks for the rating" after 2 seconds. Works in `com_content` categories and featured articles. Joomla 5 architecture. | ||
# Versions | ||
v.2.0.0 works with Joomla 5+. | ||
v.1.x works with Joomla 3 and Joomla 4. |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
24 changes: 12 additions & 12 deletions
24
...-GB/en-GB.plg_content_wt_content_like.ini → ...age/en-GB/plg_content_wt_content_like.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
PLG_WT_CONTENT_LIKE="Content - WT Content Like" | ||
PLG_WT_CONTENT_LIKE_DESC="<p>The plugin replaces the standard content rating with the like button. Supports custom output layouts.</p>" | ||
PLG_WT_CONTENT_LIKE_LAYOUT="Output layout. You can create your own layout in <code>plugins/content/wt_content_like/tmpl</code>" | ||
PLG_WT_CONTENT_LIKE_CSS_BTN_CLASS="<code>button</code> tag CSS class" | ||
PLG_WT_CONTENT_LIKE_CSS_ICON_CLASS="Icon CSS class" | ||
PLG_WT_CONTENT_LIKE_CSS_BADGE_CLASS="CSS class number of likes" | ||
PLG_WT_CONTENT_LIKE_SHOW_MICRODATA="Embed micro markup in the page Schema.org ?" | ||
PLG_WT_CONTENT_LIKE_CATEGORY_EXCLUDE="Exclude articles in categories" | ||
PLG_WT_CONTENT_LIKE_ARTICLE_POSITION="Button position in article" | ||
PLG_WT_CONTENT_LIKE_CATEGORY_POSITION="Button position in category" | ||
PLG_WT_CONTENT_LIKE_POSITION_BEFORE_DISPLAY_CONTENT="Before display content" | ||
PLG_WT_CONTENT_LIKE_POSITION_AFTER_DISPLAY_TITLE="After display title" | ||
PLG_WT_CONTENT_LIKE="Content - WT Content Like" | ||
PLG_WT_CONTENT_LIKE_DESC="<p>The plugin replaces the standard content rating with the like button. Supports custom output layouts.</p>" | ||
PLG_WT_CONTENT_LIKE_LAYOUT="Output layout. You can create your own layout in <code>plugins/content/wt_content_like/tmpl</code>" | ||
PLG_WT_CONTENT_LIKE_CSS_BTN_CLASS="<code>button</code> tag CSS class" | ||
PLG_WT_CONTENT_LIKE_CSS_ICON_CLASS="Icon CSS class" | ||
PLG_WT_CONTENT_LIKE_CSS_BADGE_CLASS="CSS class number of likes" | ||
PLG_WT_CONTENT_LIKE_SHOW_MICRODATA="Embed micro markup in the page Schema.org ?" | ||
PLG_WT_CONTENT_LIKE_CATEGORY_EXCLUDE="Exclude articles in categories" | ||
PLG_WT_CONTENT_LIKE_ARTICLE_POSITION="Button position in article" | ||
PLG_WT_CONTENT_LIKE_CATEGORY_POSITION="Button position in category" | ||
PLG_WT_CONTENT_LIKE_POSITION_BEFORE_DISPLAY_CONTENT="Before display content" | ||
PLG_WT_CONTENT_LIKE_POSITION_AFTER_DISPLAY_TITLE="After display title" | ||
PLG_WT_CONTENT_LIKE_POSITION_AFTER_DISPLAY_CONTENT="After display content" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
PLG_WT_CONTENT_LIKE = "Content - WT Content Like" | ||
PLG_WT_CONTENT_LIKE_DESC = "<p>The plugin replaces the standard content rating with the like button. Supports custom output layouts.</p>" | ||
PLG_WT_CONTENT_LIKE_AFTER_INSTALL = "Thank you for installing extension" | ||
PLG_WT_CONTENT_LIKE_AFTER_DISCOVER_INSTALL = "Thank you for installing extension" | ||
PLG_WT_CONTENT_LIKE_AFTER_UPDATE = "Thank you for updating extension" | ||
PLG_WT_CONTENT_LIKE_MAYBE_INTERESTING = "<h4>It may be interesting</h4><ul class=\"nav nav-tabs nav-stacked list-group\"><li class=\"list-group-item\"><a href=\"https://web-tolk.ru/en/dev/web-assets\" target=\"_blank\" title=\"Go to https://web-tolk.ru\">Joomla 4 & Joomla 5 Web Assets.</a></li><li class=\"list-group-item\"><a href=\"https://web-tolk.ru/en/dev/joomshopping\" target=\"_blank\" title=\"Go to https://web-tolk.ru\">JoomShopping extensions</a></li><li class=\"list-group-item\"><a href=\"https://web-tolk.ru/en/dev/joomla-plugins\" target=\"_blank\" title=\"Go to https://web-tolk.ru\">Joomla plugins</a></li><li class=\"list-group-item\"><a href=\"https://web-tolk.ru/en/dev/joomla-modules\" target=\"_blank\" title=\"Go to https://web-tolk.ru\">Joomla modules</a></li><li class=\"list-group-item\"><a href=\"https://web-tolk.ru/en/dev/components\" target=\"_blank\" title=\"Go to https://web-tolk.ru\">Joomla components</a></li><li class=\"list-group-item\"><a href=\"https://web-tolk.ru/en/dev/joomla-libraries\" target=\"_blank\" title=\"Go to https://web-tolk.ru\">Joomla libraries for developers.</a></li></ul>" | ||
PLG_WT_CONTENT_LIKE_WHATS_NEW = "<h3>v.2.0.0 What's new?</h3><h4>Joomla 5</h4><p>The plugin has been rewritten according to the architecture of Joomla 5 plugins. For Joomla 3 and Joomla 4, use the previous version of the plugin.</p><h4>Featured articles</h4><p>Now the button is also displayed in featured articles.</p><h4>Auto-hide the message</h4><p>Now the message \"Thanks for the rating\" is automatically hidden after 2 seconds.</p><h4>Bug fixes</h4><p>Fixed a number of errors that occurred on Joomla 5.</p>" | ||
PLG_WT_CONTENT_LIKE_JOOMLARU_TELEGRAM_CHAT = "Joomla community in Telegram" | ||
PLG_WT_CONTENT_LIKE_ERROR_COMPATIBLE_PHP = "This version is compatible only with PHP %s and later" | ||
PLG_WT_CONTENT_LIKE_ERROR_COMPATIBLE_JOOMLA = "This version is compatible only with Joomla %s and later" |
24 changes: 12 additions & 12 deletions
24
...-RU/ru-RU.plg_content_wt_content_like.ini → ...age/ru-RU/plg_content_wt_content_like.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
PLG_WT_CONTENT_LIKE="Контент - WT Content Like" | ||
PLG_WT_CONTENT_LIKE_DESC="<p>Плагин заменяет стандартный рейтинг материалов на кнопку like. Поддерживает пользовательские макеты вывода</p>" | ||
PLG_WT_CONTENT_LIKE_LAYOUT="Макет вывода. Можно создать свой макет в <code>plugins/content/wt_content_like/tmpl</code>" | ||
PLG_WT_CONTENT_LIKE_CSS_BTN_CLASS="CSS-класс тега <code>button</code>" | ||
PLG_WT_CONTENT_LIKE_CSS_ICON_CLASS="CSS-класс иконки" | ||
PLG_WT_CONTENT_LIKE_CSS_BADGE_CLASS="CSS-класс количества лайков" | ||
PLG_WT_CONTENT_LIKE_SHOW_MICRODATA="Внедрять в страницу микроразметку Schema.org?" | ||
PLG_WT_CONTENT_LIKE_CATEGORY_EXCLUDE="Исключать материалы категорий" | ||
PLG_WT_CONTENT_LIKE_ARTICLE_POSITION="Позиция кнопки в материале" | ||
PLG_WT_CONTENT_LIKE_CATEGORY_POSITION="Позиция кнопки в категории" | ||
PLG_WT_CONTENT_LIKE_POSITION_BEFORE_DISPLAY_CONTENT="Перед контентом" | ||
PLG_WT_CONTENT_LIKE_POSITION_AFTER_DISPLAY_TITLE="После заголовка" | ||
PLG_WT_CONTENT_LIKE="Контент - WT Content Like" | ||
PLG_WT_CONTENT_LIKE_DESC="<p>Плагин заменяет стандартный рейтинг материалов на кнопку like. Поддерживает пользовательские макеты вывода</p>" | ||
PLG_WT_CONTENT_LIKE_LAYOUT="Макет вывода. Можно создать свой макет в <code>plugins/content/wt_content_like/tmpl</code>" | ||
PLG_WT_CONTENT_LIKE_CSS_BTN_CLASS="CSS-класс тега <code>button</code>" | ||
PLG_WT_CONTENT_LIKE_CSS_ICON_CLASS="CSS-класс иконки" | ||
PLG_WT_CONTENT_LIKE_CSS_BADGE_CLASS="CSS-класс количества лайков" | ||
PLG_WT_CONTENT_LIKE_SHOW_MICRODATA="Внедрять в страницу микроразметку Schema.org?" | ||
PLG_WT_CONTENT_LIKE_CATEGORY_EXCLUDE="Исключать материалы категорий" | ||
PLG_WT_CONTENT_LIKE_ARTICLE_POSITION="Позиция кнопки в материале" | ||
PLG_WT_CONTENT_LIKE_CATEGORY_POSITION="Позиция кнопки в категории" | ||
PLG_WT_CONTENT_LIKE_POSITION_BEFORE_DISPLAY_CONTENT="Перед контентом" | ||
PLG_WT_CONTENT_LIKE_POSITION_AFTER_DISPLAY_TITLE="После заголовка" | ||
PLG_WT_CONTENT_LIKE_POSITION_AFTER_DISPLAY_CONTENT="После контента" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
PLG_WT_CONTENT_LIKE = "Контент - WT Content Like" | ||
PLG_WT_CONTENT_LIKE_DESC = "<p>Плагин заменяет стандартный рейтинг материалов на кнопку like. Поддерживает пользовательские макеты вывода</p>" | ||
PLG_WT_CONTENT_LIKE_AFTER_INSTALL = "Спасибо за установку расширения" | ||
PLG_WT_CONTENT_LIKE_AFTER_DISCOVER_INSTALL = "Спасибо за установку расширения" | ||
PLG_WT_CONTENT_LIKE_AFTER_UPDATE = "Спасибо за обновление расширения" | ||
PLG_WT_CONTENT_LIKE_AFTER_UNINSTALL = "Очень жаль, что вы удалили" | ||
PLG_WT_CONTENT_LIKE_MAYBE_INTERESTING = "<h4>Может быть интересно</h4><ul class=\"nav nav-tabs nav-stacked list-group\"><li class=\"list-group-item\"><a href=\"https://web-tolk.ru/dev/web-assets\" target=\"_blank\" title=\"Перейти на https://web-tolk.ru\">Joomla 4 & Joomla 5 Web Assets</a></li><li class=\"list-group-item\"><a href=\"https://web-tolk.ru/dev/joomshopping\" target=\"_blank\" title=\"Перейти на https://web-tolk.ru\">Расширения для JoomShopping</a></li><li class=\"list-group-item\"><a href=\"https://web-tolk.ru/dev/joomla-plugins\" target=\"_blank\" title=\"Перейти на https://web-tolk.ru\">Плагины Joomla</a></li><li class=\"list-group-item\"><a href=\"https://web-tolk.ru/dev/joomla-modules\" target=\"_blank\" title=\"Перейти на https://web-tolk.ru\">Модули Joomla</a></li><li class=\"list-group-item\"><a href=\"https://web-tolk.ru/dev/components\" target=\"_blank\" title=\"Перейти на https://web-tolk.ru\">Компоненты Joomla</a></li><li class=\"list-group-item\"><a href=\"https://web-tolk.ru/dev/biblioteki\" target=\"_blank\" title=\"Перейти на https://web-tolk.ru\">Библиотеки Joomla для разработчиков</a></li></ul>" | ||
PLG_WT_CONTENT_LIKE_WHATS_NEW = "<h3>v.2.0.0 Что нового?</h3><h4>Joomla 5</h4><p>Плагин переписан по архитектуре плагинов Joomla 5. Для Joomla 3 и Joomla 4 используйте предыдущую версию плагина.</p><h4>Избранные материалы</h4><p>Теперь кнопка отображается и в избранных материалах.</p><h4>Автосокрытие сообщения</h4><p>Теперь сообщение \"Спасибо за оценку\" автоматически скрывается спустя 2 секунды.</p><h4>Исправление ошибок</h4><p>Исправлен ряд ошибок, возникших на Joomla 5.</p>" | ||
PLG_WT_CONTENT_LIKE_JOOMLARU_TELEGRAM_CHAT = "Joomla сообщество в Телеграм" | ||
PLG_WT_CONTENT_LIKE_ERROR_COMPATIBLE_JOOMLA = "Эта версия совместима только с Joomla %s и выше." | ||
PLG_WT_CONTENT_LIKE_ERROR_COMPATIBLE_PHP = "Эта версия совместима только с PHP %s и выше." |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.