在配置文件config/template.php中的'view_path' => '/template/simple',
并且在home模块中加了模板:
home/template/simple/article/list.html
但是,提示模板文件不存在。
之前只有默认模板是可以的:
home/controller/Article.php
home/view/article/lists.html
我是希望有两个模板:
home/controller/Article.php
home/template/simple/article/lists.html
home/template/prettify/article/lists.html
有谁试过吗?网上搜索的关于手机模板电脑模板的,还是不行。
最佳答案