News
Table Name =
cms_news, cms_news_detail
Features
CRUD
Operation.- News's slug is auto-generated if slug field is empty and can be added desired slug too.
- News category selected in news is from
cms_news_category
table. - Publish
OFF
news category will be not displayed. - Single/Bulk Deletion, Single/Bulk Publish Toggle.
- Reserved data cannot be
deleted
. - The deleted data remains in the trash from where it can be
restored
back again. - When data is soft deleted the status get changed to
unpublished
. - The data can be permanently
deleted
from trash and cannot be recoverd. Image Update
can be done from list page.- The
Multi Data
can be added for each individual news. - Link button in list page redirects to their respective details page. Should be published to view the button.
- The preview action help to display the model's data content in frontend view in same way it might display to the end-user, even without saving the data into the database.
- To display in frontend
publish_date
,publish_date_to
,publish_date_from
should be valid.
Create
List
Update
Detail
Trash
Multi Data
In the news, we can add multiple data in a single news record. Here, the record stores in the tables named cms_news
and cms_news_detail
for multi-data feature and record stores in a table named cms_news
if no multi-data is recorded.