聯(lián)系官方銷售客服
1835022288
028-61286886
模塊自定義后,可以為他單獨(dú)設(shè)計(jì),管理頁(yè)面和發(fā)布頁(yè)面
一、如何自己修改后臺(tái)模塊的模板又不影響系統(tǒng)升級(jí)呢?
默認(rèn)模塊模板介紹
發(fā)布/修改:/dayrui/App/Module/Views/share_post.html 列表:/dayrui/App/Module/Views/share_list.html
如果要改的話,不能改上面的文件,需要把它復(fù)制出來,再修改
比如demo模塊為例,那么他的自定義文件就是:
發(fā)布/修改:/dayrui/App/Demo/Views/demo_post.html 列表:/dayrui/App/Demo/Views/demo_list.html
把上面默認(rèn)模塊模板的文件復(fù)制進(jìn)去再重命名
注意:發(fā)布和修改頁(yè)面共用的模板是:***_post.html,如果有這個(gè)必要,也可以進(jìn)行區(qū)別發(fā)布和修改頁(yè)面,
例如:demo_post.html改為demo_edit.html,那么此edit文件就是修改界面的單獨(dú)模板了
二、模塊后臺(tái)模板介紹和對(duì)應(yīng)復(fù)制目錄介紹
模板名稱 | 默認(rèn)模板路徑 | 復(fù)制后的模板路徑 |
發(fā)布頁(yè)面 | /dayrui/App/Module/Views/share_post.html | /dayrui/App/Demo/Views/demo_post.html |
已通過的列表頁(yè)面 | /dayrui/App/Module/Views/share_list.html | /dayrui/App/Demo/Views/demo_list.html |
審核列表頁(yè)面 | /dayrui/App/Module/Views/share_list_verify.html | /dayrui/App/Demo/Views/demo_list_verify.html |
欄目列表頁(yè)面 | dayrui/Fcms/Module/Views/share_category_list.html | /dayrui/App/Demo/Views/demo_category_list.html |
欄目發(fā)布或修改頁(yè)面 | dayrui/Fcms/Module/Views/share_category_post.html | /dayrui/App/Demo/Views/demo_category_post.html |
評(píng)論列表頁(yè)面 | dayrui/Fcms/Comment/Views/share_comment_list.html | /dayrui/App/Demo/Views/demo_comment_list.html |
評(píng)論添加修改頁(yè)面 | dayrui/Fcms/Comment/Views/share_comment_post.html | /dayrui/App/Demo/Views/demo_comment_post.html |
評(píng)論評(píng)分查看頁(yè)面 | dayrui/Fcms/Comment/Views/share_comment_review.html | /dayrui/App/Demo/Views/demo_comment_review.html |
回收站管理頁(yè)面 | dayrui/Fcms/Comment/Views/share_list_recycle.html | /dayrui/App/Demo/Views/demo_list_recycle.html |
列表頁(yè)引用文件{template "mytable.html"}表示引用主框架的通用列表樣式文件,位于:dayrui/Fcms/View/mytable.html
請(qǐng)問自建模塊的后臺(tái)模板樣式在哪里查看使用?