os2display / campaign-bundle
Os2Display campaigns
Installs: 429
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 2
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=7.2
- stof/doctrine-extensions-bundle: ^1.3
Requires (Dev)
- behat/mink-browserkit-driver: ^1.3
- behat/mink-extension: ^2.2
- behat/mink-selenium2-driver: ^1.3
- behat/symfony2-extension: ^2.1
- behatch/contexts: ^2.6
- sensio/generator-bundle: ^2.3
README
Important
This project is no longer actively maintained.
The source code in this repository is no longer maintained. It has been superseded by version 2, which offers improved features and better support.
Thank you to all who have contributed to this project. We recommend transitioning to Os2Display version 2 for continued support and updates.
Final Release: The final stable release is version 2.1.0
campaign-bundle
Extends os2display with campaigns.
Campaigns supply a new functionality for controlling content on the screens.
With campaigns a group of screens can be "taken over" for a given period of time with a given channel. After the period has expired the screen returns to the regular content.
Installation
Add the git repository to "repositories" in composer.json
.
"repositories": {
"os2display/campaign-bundle": {
"type": "vcs",
"url": "https://github.com/os2display/campaign-bundle"
},
...
}
Require the bundle with composer.
composer require os2display/campaign-bundle
Enable the bundle in AppKernel.php
, by adding Os2DisplayCampaignBundle to $bundles.
NB! This should be done after adding Os2Display/CoreBundle since, MiddlewareCommunications.php from CoreBundle is overridden in CampaignBundle.
new Stof\DoctrineExtensionsBundle\StofDoctrineExtensionsBundle(), new Os2Display\CampaignBundle\Os2DisplayCampaignBundle()
Enable timestampable
and blameable
in your configuration:
stof_doctrine_extensions: orm: default: timestampable: true blameable: true