Note: YaY-Cms is available on GitHub !
This is yet another Yii Content Management System.
The Design is kept really simple, this module just consists of a sitecontent table. It is able to be embedded in your already existing Application layout, but also provides a simple own layout schema.
If available, it embeds the CKEditor or the tinyMCE in the sitecontent textarea. Both packages are not shipped with the package. Please see the documentation how to activate them.
The module contains English and German translations.
Further Documentation (like a Mysql Workbench .mwb file) is provided in the docs/ directory of the Module.
Import the docs/schema_mysql.sql to the mysql Database that your Application runs.
Extract the archive yaycms.tar.bz2 into your protected/modules folder.
Add the module to your Application Configuration.
[...] 'modules' => array( 'cms' => array( 'languages' => array('de', 'en') // place all valid languages here ), [...]
If you want to use the layout of your existing Web Application, set the layout to an empty string or null:
'layout' => ''
Otherwise an simple default layout of the cms will be used.
Administrate your Content by using
or, when using a Route configuration, possibly
In order to let your Application render the content at appropriate places, do is like this:
// This will render a ul,li-based Menu containing all child elements of // the menu points. Cms::renderMenuPoints($menu_id);
Also see the models/Cms.php for additional features.