thinkphp后台首页index用frameset时的注意事项
来源:互联网 发布:snmp流量监控软件 编辑:程序博客网 时间:2024/05/16 00:55
文件路径:项目/admin/Lib/Action/IndexAction.class.php
文件路径:项目/admin/Tpl/default/Index
top.html
left.html
right.html
注意事项:
调用top.html,left.html,right.html的时候应该用路径__URL__/来调用方法,而不能用__TMPL__/Index/来调用模板。
<?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(); } }?>
文件路径:项目/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
注意事项:
调用top.html,left.html,right.html的时候应该用路径__URL__/来调用方法,而不能用__TMPL__/Index/来调用模板。
- 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
- 文件的操作
- 时间类
- 写得蛮好的linux学习笔记
- 如何在Solaris10下修改IP地址(Solaris更改IP地址的方法)
- 杭电ACm1005求f(n)非递归
- thinkphp后台首页index用frameset时的注意事项
- 日期类
- windows 2008 64位 同时安装oracle 10g 64位database和11g 32位client
- thinkphp表单令牌错误的解决方法
- Android菜单详解(一)——理解android中的Menu
- php与mysql配置
- 毕业设计(二十七)--- 修改密码
- 十分钟掌握diff&patch用法
- php图片上传问题