Download the PHP package integrated/page-bundle without Composer
On this page you can find all versions of the php package integrated/page-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download integrated/page-bundle
More information about integrated/page-bundle
Files in integrated/page-bundle
Package page-bundle
Short Description Provides the possibility for the user to create pages on Integrated websites, and front-end editing when combined with the website-bundle
License MIT
Homepage http://www.integratedfordevelopers.com
Informations about the package page-bundle
IntegratedPageBundle
This bundle provides page management
Requirements
- See the require section in the composer.json
Features
- Page management
Documentation
Installation
This bundle can be installed following these steps:
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).
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.
some examples:
<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.
License
This bundle is under the MIT license. See the complete license in the bundle:
LICENSE
Contributing
Pull requests are welcome. Please see our CONTRIBUTING guide.
About
This bundle is part of the Integrated project. You can read more about this project on the Integrated for developers website.
All versions of page-bundle with dependencies
symfony/symfony Version ~2.8 || ~3.0
sensio/framework-extra-bundle Version ~3.0
doctrine/mongodb Version ~1.3
doctrine/mongodb-odm Version ~1.1.2
doctrine/mongodb-odm-bundle Version ~3.2
integrated/content-bundle Version ~0.7
integrated/formtype-bundle Version ~0.7
integrated/block-bundle Version ~0.7
integrated/menu-bundle Version ~0.7
integrated/theme-bundle Version ~0.7
integrated/slug-bundle Version ~0.7
knplabs/knp-paginator-bundle Version >=2.4