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
Installs: 1 246
Dependents: 2
Suggesters: 2
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=5.4
- doctrine/mongodb: ~1.3
- doctrine/mongodb-odm: ~1.1.2
- doctrine/mongodb-odm-bundle: ~3.2
- integrated/block-bundle: ~0.7
- integrated/content-bundle: ~0.7
- integrated/formtype-bundle: ~0.7
- integrated/menu-bundle: ~0.7
- integrated/slug-bundle: ~0.7
- integrated/theme-bundle: ~0.7
- knplabs/knp-paginator-bundle: >=2.4
- sensio/framework-extra-bundle: ~3.0
- symfony/symfony: ~2.8 || ~3.0
Requires (Dev)
- phpunit/phpunit: ^5.7
- squizlabs/php_codesniffer: ^2.8
Suggests
- integrated/website-bundle: Frontend block management for Integrated
- dev-master
- 0.7.x-dev
- 0.7
- 0.6.x-dev
- 0.6
- 0.5.x-dev
- 0.5
- 0.4.x-dev
- 0.4
- 0.3
- dev-INTEGRATED-1169
- dev-INTEGRATED-1186
- dev-INTEGRATED-1175
- dev-INTEGRATED-1174
- dev-INTEGRATED-1122
- dev-dynamicurls
- dev-INTEGRATED-1044-nicely-allign-checkboxes
- dev-INTEGRATED-1002
- dev-INTEGRATED-971-psr-0-to-psr-4-autoloader
- dev-INTEGRATED-955
- dev-INTEGRATED-903
- dev-test
- dev-INTEGRATED-553-re-apply-styles-in-new-de
- dev-release/0.1
This package is not auto-updated.
Last update: 2024-10-26 17:13:45 UTC
README
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.