Page
Table Name =
cms_page, cms_page_detail
Features
CRUD
Operation.- We can create static/dynamic page.
- The dynamic page's file created will be generated here (
resources\views\components\pages_dynamic
) - Single/Bulk Deletion, Single/Bulk Publish Toggle, Single/Bulk Dynamic page regenerate
- Reserved data cannot be
deleted
. - When data is soft deleted the status get changed to
unpublished
. - The data can be permanently deleted from trash and cannot be recoverd.
- The deleted data stores in trash and from trash it can be
restored
again. Image Update
can be done from list page.- 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.
- The publish
OFF
page writes empty on file and will not display on frontend. - On
Update
certain value of page's file, the previous value will bebackup
(_backup_<H:i>
). - The
multi-data
can be added for each individual pages.
Create
List
Update
Detail
Trash
Regenerate Page
Single/Bulk regenerate for dynamic page type
Multi Data
In this page, we can add multiple data in single page record. So the record stores in table cms_page
and cms_page_detail
for multi-data feature and record stores in table cms_page
if no multi-data is recorded.
Page Detail
In this page, multiple data is record. So the record stores in table cms_page_detail
.
Preview
The deletion, publish toggle, permanent delete and restore feature is same as in Menu
model.