Skip to content

Publishing Mode for publisher/publisher to recommend e.g. articles from another website.

Notifications You must be signed in to change notification settings

PublisherHub/Publisher_Mode_Recommendation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Recommendation

A Publisher Mode to fill an Entry as a recommendation.

The recommendation contains

  • a title
  • a message (required)
  • an URL

Installation

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

Form (symfony/form)

You can find a symfony form in src/Recommendation/Form/Type and a twig template in Resources/view.

Validation with symfony/validator

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.

EntryModeEntity Packages that implement this mode

  • publisher/entity_facebook_recommendation
  • publisher/entity_twitter_recommendation
  • publisher/entity_xing_recommendation

About

Publishing Mode for publisher/publisher to recommend e.g. articles from another website.

Resources

Stars

Watchers

Forks

Packages

No packages published