thinkphp后台首页index用frameset时的注意事项
来源:互联网 发布:传智播客php源码下载 编辑:程序博客网 时间:2024/04/29 10:06
文件路径:aoli/admin/Lib/Action/IndexAction.class.php
<?php
class IndexAction extends Action{
public function index(){
$this->display();
}
public function top(){
$this->display();
}
public function left(){
$this->display();
}
public function right(){
$this->display();
}
}
?>
文件路径:aoli/admin/Tpl/default/Index
index.html
<frameset rows="20%,*">
<frame src="__URL__/top" name="top">
<frameset cols="20%,*">
<frame src="__URL__/left" name="left">
<frame src="__URL__/right" name="right">
</frameset>
</frameset>
top.html
left.html
right.html
注意事项:
<?php
?>
文件路径:aoli/admin/Tpl/default/Index
index.html
top.html
left.html
right.html
注意事项:
调用top.html,left.html,right.html的时候应该用路径__URL__/来调用方法,而不能用__TMPL__/Index/来调用模板。
原文地址:http://blog.sina.com.cn/s/blog_7fb1495b0100xj95.html
0 0
- thinkphp后台首页index用frameset时的注意事项
- thinkphp后台首页index用frameset时的注意事项
- ThinkPHP--后台首页品字形框架搭建
- thinkphp 后台入口隐藏index.php
- 网站首页的注意事项
- frameset框架的构建和注意事项
- iframe和frameset的后台设置
- 用thinkPHP创建在index下的控制器
- Thinkphp 学习之frameset
- thinkphp中使用frameset
- z-index的有关注意事项
- 稻壳首页模板index.php的建立
- Apache:设置首页运行index.html index.php的顺序
- Thinkphp一些诡异的注意事项
- ThinkPHP的SAE开发注意事项
- thinkphp 引入页首页尾的写法
- ThinkPHP 读取后台的数据库
- thinkphp 去掉URL 里面的index.php
- intellij idea开发struts+hibernate流程
- 编程珠玑——电话号码排序
- nodejs实现在线群聊
- Android获取时间戳,以及将时间戳转换为时间
- 20.文件系统和磁盘分区
- thinkphp后台首页index用frameset时的注意事项
- Canonical开发基于Linux Container的新一代虚拟化技术LXD
- centos 安装redmine
- 软件License资产——LicManager许可资产管理系统
- Visual Studio 2003一查找就卡死了
- LicManager对动态授权license的管理
- mmap
- 针对license的监控管理报告
- 盗版识别