blchv / convert-blog
A simple blog module
Installs: 7
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:magento2-module
Requires
- magento/product-community-edition: >=2.3.5 <=2.4.3
This package is auto-updated.
Last update: 2024-04-29 04:59:58 UTC
README
How to install
composer require blchv/convert-blog
Functionalities
-
1/ Convert_Blog module skeleton
-
2/ Declarative schema for db table structure
-
3/ CRUD models
-
4/ Data Patch inserting 2-3 post records into database
-
5/ Controllers for posts listing and view of separate post
-
6/ Admin panel page with settings that will allow admin for:
- a/ enable/disable module
- b/ choose field by which posts will sorted in post listing page (id/title/author/content)
-
7/ Web Api endpoints for:
- a/ GET /blog/post/:id (specific Post data)
- b/ GET /blog/post (list all public Posts)
- c/ POST /blog/post (Post creation)
- d/ PUT /blog/post (Post edit)
-
8/ "Please declare event when post is viewed and add log entry with statistic to the file"
-
9/ (Optional) Create new blog post after new product is created, in post add information using below template:
Title: "New product is available in our store - product_title
Content: "New product is available in our store product_title [product_sku].
-
10/ (Optional) Admin backend menu containing 2 adminhtml pages:
- 11/ Backend blogs list (grid)
- 12/ Backend blog form to add/update Posts