A blog module, with translatable posts, categories and tags.
This blog module will give you the ability to create blog posts, associate them with a category and multiple tags. Everything is transatable.
All AsgardCMS modules respect Semantic Versioning.
Using AsgardCMS's module download command:
php artisan asgard:download:module asgardcms/blog --migrations
This will download the module and run its migrations .
This is the recommended way if you wish to customise the fields, views, etc.
Execute the following command in your terminal
composer require asgardcms/blog-module
This is if the contact module is perfect for your use-case as-is, and doesn't need any changes to fit your needs.
Followed by a composer update
Note: After installation you'll have to give you the required permissions to get to the blog module pages in the backend.
blog.index
and blog.show
page in your front end theme.route(locale() . '.blog')
$posts
variable on which you can looproute(locale() . '.blog.slug', [$post->slug])
$latestPosts
variable containing the latest posts, this amount can be configured in the admin.$post->present()->previous
$post->present()->next
Install any module with the php artisan asgard:download:module
command.
php artisan asgard:download:module asgardcms/blog-module --migrations
This will download the module and run its migrations.
composer require asgardcms/blog-module
This is if the module is perfect for your use-case as-is, and doesn't need any changes to fit your needs.
Note: Don't forget to give yourself the required permissions before you can view the backend entries.