2017 © Pedro Peláez
 

symfony-bundle page-bundle

Provides the possibility for the user to create pages on Integrated websites, and front-end editing when combined with the website-bundle

image

integrated/page-bundle

Provides the possibility for the user to create pages on Integrated websites, and front-end editing when combined with the website-bundle

  • Wednesday, September 6, 2017
  • by integrated
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1,195 Installations
  • PHP
  • 3 Dependents
  • 2 Suggesters
  • 0 Forks
  • 0 Open issues
  • 27 Versions
  • 2 % Grown

The README.md

IntegratedPageBundle

This bundle provides page management, (*1)

Requirements

  • See the require section in the composer.json

Features

  • Page management

Documentation

Installation

This bundle can be installed following these steps:, (*2)

Install using composer

$ php composer.phar require integrated/page-bundle:~0.3

Enable the bundle

// app/AppKernel.php
public function registerBundles()
{
    return array(
        // ...
        new Integrated\Bundle\PageBundle\IntegratedPageBundle()
        // ...
    );
}

Import the routing

# app/config/routing.yml
integrated_page:
    resource: @IntegratedPageBundle/Resources/config/routing.xml
    prefix: "/admin"

Using contentType pages

In order for contentType pages to work you need to define your controllers as services (examples can be found in Resources/config/controllers.xml)., (*3)

In the service you then have to tag your controller as a contentType controller by adding the tag "integrated_page". Furthermore the "class" attribute is required in this tag. By default the showAction will be called for the contentType controller, but you can also define one or more actions in the "controller_actions" attribute., (*4)

some examples:, (*5)

<tag name="integrated_page.contenttype_controller" class="Integrated\Bundle\ContentBundle\Document\Content\Article"/>
<tag name="integrated_page.contenttype_controller" class="Integrated\Bundle\ContentBundle\Document\Content\Relation\Company" controller_actions="fooAction, showAction"/>

The contentType pages will automatically be created when you create or change a contentType or channel. Channels must be enabled for the contentType, otherwise no page will be created. With multiple channels a page per channel will be created., (*6)

License

This bundle is under the MIT license. See the complete license in the bundle:, (*7)

LICENSE

Contributing

Pull requests are welcome. Please see our CONTRIBUTING guide., (*8)

About

This bundle is part of the Integrated project. You can read more about this project on the Integrated for developers website., (*9)

The Versions

30/03 2017

dev-INTEGRATED-1025-add-behat-phpunit-and-ph

dev-INTEGRATED-1025-add-behat-phpunit-and-ph http://www.integratedfordevelopers.com

Provides the possibility for the user to create pages on Integrated websites, and front-end editing when combined with the website-bundle

  Sources   Download

MIT

The Requires

 

The Development Requires

page integrated

27/03 2017

dev-INTEGRATED-572-url-and-breadcrumb-resolv

dev-INTEGRATED-572-url-and-breadcrumb-resolv http://www.integratedfordevelopers.com

Provides the possibility for the user to create pages on Integrated websites, and front-end editing when combined with the website-bundle

  Sources   Download

MIT

The Requires

 

The Development Requires

page integrated

02/03 2017

dev-INTEGRATED-971-psr-0-to-psr-4-autoloader

dev-INTEGRATED-971-psr-0-to-psr-4-autoloader http://www.integratedfordevelopers.com

Provides the possibility for the user to create pages on Integrated websites, and front-end editing when combined with the website-bundle

  Sources   Download

MIT

The Requires

 

The Development Requires

page integrated