minesh93 / cms-thing
There is no license information available for the latest version (1.0) of this package.
CMS Thing
1.0
2017-12-18 22:22 UTC
Requires
None
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-09-19 09:36:23 UTC
README
NPM Dependancies for building JS + CSS
flexboxgrid
vue-multiselect
vue-quill-editor
Add config file to use admin templates.
Claws.php
return [
'admin_templates' => 'claws.admin.templates',
'site_templates' => 'claws.site',
];
Changes to Auth (Adding Guard and Provider
'claws_admin' => [
'driver' => 'session',
'provider' => 'claws_admins',
],
'claws_admins' => [
'driver' => 'eloquent',
'model' => Claws\Models\Admin::class,
],
Binding Content
Currently different posts types are assigned to the AppService Provider within the boot method.
Adding types of content or settings
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');