CMS Thing
flexboxgrid vue-multiselect vue-quill-editor
Add config file to use admin templates., (*1)
Claws.php ``` return [ 'admin_templates' => 'claws.admin.templates', 'site_templates' => 'claws.site', ];, (*2)
Changes to Auth (Adding Guard and Provider
'claws_admin' => [ 'driver' => 'session', 'provider' => 'claws_admins', ],, (*3)
'claws_admins' => [ 'driver' => 'eloquent', 'model' => Claws\Models\Admin::class, ],, (*4)
```, (*5)
Currently different posts types are assigned to the AppService Provider within the boot method., (*6)
Adding types of content or settings, (*7)
PostRegister::register([ 'name' => 'page', 'urlBase' => '/', 'useCustomTemplates' => true, ]); PostRegister::register([ 'name' => 'post', 'createText' => 'Write A New Post', 'urlBase' => 'blog', 'icon' => 'fa-thumbtack', ]); PostRegister::addPostRenderTemplate('page','Custom Page Template','custom-page'); PostRegister::addPostContentTemplate('page','content_test', 'test-content' ); PostRegister::addPostContentTemplate('page','only_page_type', 'test-content-1', 'custom-page'); SettingsRegister::addSection('general','General','general'); // SettingsRegister::addSection('test','Test');