Download the PHP package fbeen/simplecmsbundle without Composer
On this page you can find all versions of the php package fbeen/simplecmsbundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download fbeen/simplecmsbundle
More information about fbeen/simplecmsbundle
Files in fbeen/simplecmsbundle
Package simplecmsbundle
Short Description Complete CMS functionality for Symfony 3
License MIT
Informations about the package simplecmsbundle
Simple CMS for Symfony 3
Installation
Download the necessary bundles with Composer:
Then add the bundles to the app/config/AppKernel.php file
Required configuration in app/config/config.yml:
Enable translation in app/config/config.yml:
Create the database and update the schema:
Apply routing in the app/config/routing.yml
Install the assets: (don't use the symlink option on windows)
Usage
How to load a content in a normal symfony controller
Loading dynamic content is as easy as loading data from each other entity. To search content based on its name we can make use of the findCompleteContent method from the ContentRepository. The repository will join all other data like the blockContainer and the underlying blocks at once.
Example how to create a homepage with the content of the CMS and additionally some newsitems
multi languages
Imagine that you want a website that supports three languages and that you want to have dutch as default language and english and german as additional languages.
add a locales parameter under parameters:
Change the a2lix translation form configuration
To be continued
All versions of simplecmsbundle with dependencies
symfony/framework-bundle Version ^3.0
knplabs/doctrine-behaviors Version ^1.1
sonata-project/admin-bundle Version ^3.9
sonata-project/doctrine-orm-admin-bundle Version ^3.1
egeloen/ckeditor-bundle Version ^4.0
a2lix/auto-form-bundle Version 0.1-beta.1
a2lix/translation-form-bundle Version ^2.1
knplabs/knp-paginator-bundle Version ^2.5