Download the PHP package plenta/contao-news-like-bundle without Composer
On this page you can find all versions of the php package plenta/contao-news-like-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download plenta/contao-news-like-bundle
More information about plenta/contao-news-like-bundle
Files in plenta/contao-news-like-bundle
Package contao-news-like-bundle
Short Description Integrate your own like button into your contao news.
License LGPL-3.0+
Homepage https://github.com/plenta/contao-news-like-bundle
Informations about the package contao-news-like-bundle
Contao News - Like Button
Integrate your own like button into your contao news.
Installation
Install using Contao Manager
Search for news like and you will find this extension.
Install using Composer
composer require plenta/contao-news-like-bundle
System requirements
- PHP:
^8.1
- Contao:
^4.13 || ^5.1
- Contao News Bundle:
^4.13 || ^5.1
Usage
You can either use our news templates or integrate the like button into your own templates.
Use our news templates
In the Newslist and/or Newsreader module, you can choose our templates news_latest_with_likes
or news_full_with_likes
as news template.
Integrate the like button into your own templates
To integrate the like button into your own templates, simply include our _plenta_likes.html.twig
Twig template where ever you want to display the button.
In PHP templates:
In Twig templates:
The news
variable expects the news item as an array.
All versions of contao-news-like-bundle with dependencies
contao/core-bundle Version ^4.13 || ^5.1
contao/news-bundle Version ^4.13 || ^5.1