A Publisher Mode to fill an Entry as a recommendation.
The recommendation contains
- a title
- a message (required)
- an URL
The recommended way to install this is through composer.
Edit your composer.json
and add:
{
"require": {
"publisher/mode_recommendation": "dev-master"
}
}
And install dependencies:
$ curl -sS https://getcomposer.org/installer | php
$ php composer.phar install
You can find a symfony form in src/Recommendation/Form/Type and a twig template in Resources/view.
A general validation config for the entity is provided in Resources/config/validation.yml. For futher configuration please refer to the packages that implement the entities.
- publisher/entity_facebook_recommendation
- publisher/entity_twitter_recommendation
- publisher/entity_xing_recommendation