2017 © Pedro Peláez
 

ezplatform-bundle content-on-the-fly-prototype

Platform UI Content on the Fly feature

image

ezsystems/content-on-the-fly-prototype

Platform UI Content on the Fly feature

  • Wednesday, February 14, 2018
  • by bdunogier
  • Repository
  • 16 Watchers
  • 5 Stars
  • 102,986 Installations
  • JavaScript
  • 8 Dependents
  • 0 Suggesters
  • 12 Forks
  • 0 Open issues
  • 22 Versions
  • 7 % Grown

The README.md

content-on-the-fly

Platform UI Content on the Fly feature, (*1)

Install

  1. From your eZ Platform installation, run composer:, (*2)

    $ composer require ezsystems/content-on-the-fly-prototype
    
  2. Enable the bundle by adding:, (*3)

    new EzSystems\EzContentOnTheFlyBundle\EzSystemsEzContentOnTheFlyBundle()
    

    to app/AppKernel.php., (*4)

  3. Setup routing by adding bundle configuration to app/config/routing.yml:, (*5)

    _contentOnTheFly:
      resource: "@ContentOnTheFlyBundle/Resources/config/routing.yml"
      prefix:   '%ezpublish_rest.path_prefix%'
    
  4. Clear cache and setup assets with $ composer run-script post-update-cmd, (*6)

    (if you use prod env make sure that it is set with $ export SYMFONY_ENV=prod first)., (*7)

Configuration

Example application configuration (app/config/config.yml):, (*8)

# ...

content_on_the_fly:
    system:
        site:                       # Configuration per SiteAccess
            content:
                article:            # Content identifier
                    location:
                        - 2         # Suggested location(s)
                default:            # Default, in case of unconfigured content identifier
                    location:
                        - 2
                        - 43

Default bundle configuration:, (*9)

parameters:
    content_on_the_fly.default.content:
        image:
            location:
                - 51    # /Media/Images
        default:
            location:
                - 2     # /Home
                - 43    # /Media

Default location for content type

If suggested locations are provided for a Content Type (or default) the first location in the list will be preselected., (*10)

Preselected content type

To set the Content Type you have to provide the 'contentTypeIdentifier' in the config of the 'contentDiscover' event. Example:, (*11)

/**
* ...
* @param config.visibleMethod {String} which tab should be open. Default: 'browse', possible values: 'browse', 'search', 'create'
* @param config.contentTypeIdentifier {String} content type identifier. Default: none, example values: 'image', 'blog', 'article', 'blog_post'
*                                     this parameter is limited to the Create tab, config that works across all tabs will be added in the future
*/
app.fire('contentDiscover', {
    config: {
        // ...
        visibleMethod: 'create',
        contentTypeIdentifier: 'image'
    }
});

The Versions

14/02 2018

dev-master

9999999-dev

Platform UI Content on the Fly feature

  Sources   Download

GPL-2.0

The Requires

 

The Development Requires

14/02 2018

v0.1.12

0.1.12.0

Platform UI Content on the Fly feature

  Sources   Download

GPL-2.0

The Requires

 

The Development Requires

14/02 2018

v0.1.12-rc1

0.1.12.0-RC1

Platform UI Content on the Fly feature

  Sources   Download

GPL-2.0

The Requires

 

The Development Requires

30/01 2018

dev-EZP-28041-testing-on-travis

dev-EZP-28041-testing-on-travis

Platform UI Content on the Fly feature

  Sources   Download

GPL-2.0

The Requires

 

The Development Requires

24/07 2017

v0.1.11

0.1.11.0

Platform UI Content on the Fly feature

  Sources   Download

GPL-2.0

The Requires

 

The Development Requires

24/07 2017

v0.1.11-rc1

0.1.11.0-RC1

Platform UI Content on the Fly feature

  Sources   Download

GPL-2.0

The Requires

 

The Development Requires

09/05 2017

v0.1.10

0.1.10.0

Platform UI Content on the Fly feature

  Sources   Download

GPL-2.0

The Requires

 

The Development Requires

09/05 2017

v0.1.10-rc1

0.1.10.0-RC1

Platform UI Content on the Fly feature

  Sources   Download

GPL-2.0

The Requires

 

The Development Requires

18/04 2017

v0.1.9

0.1.9.0

Platform UI Content on the Fly feature

  Sources   Download

GPL-2.0

The Requires

 

The Development Requires

14/04 2017

v0.1.9-rc2

0.1.9.0-RC2

Platform UI Content on the Fly feature

  Sources   Download

GPL-2.0

The Requires

 

The Development Requires

13/04 2017

v0.1.9-rc1

0.1.9.0-RC1

Platform UI Content on the Fly feature

  Sources   Download

GPL-2.0

The Requires

 

The Development Requires

28/02 2017

v0.1.8

0.1.8.0

Platform UI Content on the Fly feature

  Sources   Download

GPL-2.0

The Requires

 

28/02 2017

v0.1.8-rc2

0.1.8.0-RC2

Platform UI Content on the Fly feature

  Sources   Download

GPL-2.0

The Requires

 

23/02 2017

v0.1.8-rc1

0.1.8.0-RC1

Platform UI Content on the Fly feature

  Sources   Download

GPL-2.0

The Requires

 

30/11 2016

v0.1.7

0.1.7.0

Platform UI Content on the Fly feature

  Sources   Download

GPL-2.0

The Requires

 

02/08 2016

v0.1.6

0.1.6.0

Platform UI Content on the Fly feature

  Sources   Download

GPL-2.0

The Requires

 

28/07 2016

v0.1.5

0.1.5.0

Platform UI Content on the Fly feature

  Sources   Download

GPL-2.0

The Requires

 

14/07 2016

v0.1.4

0.1.4.0

Platform UI Content on the Fly feature

  Sources   Download

GPL-2.0

The Requires

 

08/07 2016

v0.1.3

0.1.3.0

Platform UI Content on the Fly feature

  Sources   Download

GPL-2.0

The Requires

 

29/06 2016

v0.1.2

0.1.2.0

Platform UI Content on the Fly feature

  Sources   Download

GPL-2.0

The Requires

 

22/06 2016

v0.1.1

0.1.1.0

Platform UI Content on the Fly feature

  Sources   Download

GPL-2.0

The Requires

 

16/06 2016

v0.1.0

0.1.0.0

Platform UI Content on the Fly feature

  Sources   Download

GPL-2.0

The Requires