|
本帖最后由 追影 于 2014-4-30 09:17 编辑
问:用户要自己构建 url :http://域名/大米CMS安装目录/index.php?s=/Mytest/index 该如何操作呢?注:url链接模式参考: http://www.damicms.com/New/17
答:
(1) 创建 \Web\Lib\Action\MytestAction.class.php
代码为:
class MytestAction extends BaseAction
{
}
(2) \Web\Tpl\default【您diy模板目录】\Mytest\index.html
在index.html 中就可以调用大米CMS的各种标签了
|
|