os2display/campaign-bundle

There is no license information available for the latest version (2.1.0) of this package.

Os2Display campaigns

Installs: 428

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 4

Forks: 1

Open Issues: 0

Type:symfony-bundle

2.1.0 2019-05-20 11:27 UTC

This package is auto-updated.

Last update: 2024-10-20 23:53:27 UTC


README

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