模块自定义后,可以为他单独设计,管理页面和发布页面
一、如何自己修改后台模块的模板又不影响系统升级呢?
默认模块模板介绍
发布/修改:/dayrui/Core/Views/share_post.html
列表:/dayrui/Core/Views/share_list.html
如果要改的话,不能改上面的文件,需要把它复制出来,再修改
比如demo模块为例,那么他的自定义文件就是:
发布/修改:/dayrui/App/Demo/Views/demo_post.html
列表:/dayrui/App/Demo/Views/demo_list.html
把上面默认模块模板的文件复制进去再重命名
注意:发布和修改页面共用的模板是:***_post.html,如果有这个必要,也可以进行区别发布和修改页面,
例如:demo_post.html改为demo_edit.html,那么此edit文件就是修改界面的单独模板了
二、模块后台模板介绍和对应复制目录介绍
模板名称
默认模板路径
复制后的模板路径
发布页面
/dayrui/Core/Views/share_post.html
/dayrui/App/Demo/Views/demo_post.html
已通过的列表页面
/dayrui/Core/Views/share_list.html
/dayrui/App/Demo/Views/demo_list.html
审核列表页面
/dayrui/Core/Views/share_list_verify.html
/dayrui/App/Demo/Views/demo_list_verify.html
栏目列表页面
dayrui/Core/Views/share_category_list.html
/dayrui/App/Demo/Views/demo_category_list.html
栏目发布或修改页面
dayrui/Core/Views/share_category_post.html
/dayrui/App/Demo/Views/demo_category_post.html
评论列表页面
dayrui/Core/Views/share_comment_list.html
/dayrui/App/Demo/Views/demo_comment_list.html
评论添加修改页面
dayrui/Core/Views/share_comment_post.html
/dayrui/App/Demo/Views/demo_comment_post.html
评论评分查看页面
dayrui/Core/Views/share_comment_review.html
/dayrui/App/Demo/Views/demo_comment_review.html
回收站管理页面
dayrui/Core/Views/share_list_recycle.html
/dayrui/App/Demo/Views/demo_list_recycle.html
迅睿CMS系统:https://www.xunruicms.com/