ectouch第六讲 之表常用链接
2015-08-18 18:40
204 查看
ECTouch1.0 常用链接:
精品属性商品mobile/index.php?m=default&c=category&type=best
新品属性商品mobile/index.php?m=default&c=category&type=new
热卖属性商品mobile/index.php?m=default&c=category&type=hot
促销商品 mobile/index.php?m=default&c=category&type=promotion
团购商品mobile/index.php?m=default&c=groupbuy
积分商城mobile/index.php?m=default&c=exchange
优惠活动 mobile/index.php?m=default&c=activity
拍卖活动mobile/index.php?m=default&c=auction
专题详情页mobile/index.php?c=topic&a=index&id=1
批发列表
mobile/index.php?c=wholesale
访问文章所有分类列表
mobile/index.php?m=default&c=article&a=art_list
访问文章分类列表 id为分类id
mobile/index.php?m=default&c=article&a=art_list&id=1
(以上链接都可以省略 index.php?m=default)
想找到更多的隐藏链接 可以查看控制器文件 目录mobileincludeappsdefaultcontroller
访问控制器名 前缀部分 如ArticleController.class.php 就可以直接以mobile/index.php?m=default&c=article访问。如果不能访问 则需要指定访问里面可访问的方法 &a=方法名。
模板文件当中的写法:
热卖属性商品
mobile/index.php?m=default&c=category&type=hot == {:url('category/index',array('type'=>'hot'))}
如:
<a href="{:url('category/index',array('type'=>'hot'))}">{$lang.hot_goods}</a>
精品属性商品mobile/index.php?m=default&c=category&type=best
新品属性商品mobile/index.php?m=default&c=category&type=new
热卖属性商品mobile/index.php?m=default&c=category&type=hot
促销商品 mobile/index.php?m=default&c=category&type=promotion
团购商品mobile/index.php?m=default&c=groupbuy
积分商城mobile/index.php?m=default&c=exchange
优惠活动 mobile/index.php?m=default&c=activity
拍卖活动mobile/index.php?m=default&c=auction
专题详情页mobile/index.php?c=topic&a=index&id=1
批发列表
mobile/index.php?c=wholesale
访问文章所有分类列表
mobile/index.php?m=default&c=article&a=art_list
访问文章分类列表 id为分类id
mobile/index.php?m=default&c=article&a=art_list&id=1
(以上链接都可以省略 index.php?m=default)
想找到更多的隐藏链接 可以查看控制器文件 目录mobileincludeappsdefaultcontroller
访问控制器名 前缀部分 如ArticleController.class.php 就可以直接以mobile/index.php?m=default&c=article访问。如果不能访问 则需要指定访问里面可访问的方法 &a=方法名。
模板文件当中的写法:
热卖属性商品
mobile/index.php?m=default&c=category&type=hot == {:url('category/index',array('type'=>'hot'))}
如:
<a href="{:url('category/index',array('type'=>'hot'))}">{$lang.hot_goods}</a>
相关文章推荐
- TCP/IP网络编程 学习笔记_11 --多进程服务器端
- 谈论Java原子变量和同步的效率 -- 颠覆你的生活
- 乐视云没创意,还拿“免费”说事儿
- 断点续传---多线程下载进阶(一)
- 2005-2006 ACM-ICPC East Central North America Regional Contest (ECNA 2005) G.Swamp Things
- 13个Xcode中常用的快捷键操作
- jsp和Servlet区别
- 源码编译安装samba
- HDU 5319(Painter-暴力)
- 理解Linux系统中的load average
- Android学习心得(14) --- Android代码混淆(2)
- ectouch第五讲 之表
- 一个内联汇编宏的示例
- Struts2 Struts2与servlet接口
- 动态规划求最长递增子序列
- DZ升级到X3.2后,UCenter用户管理中心进不了了
- Visual Studio 2010下载 + 附破解方法
- Team Formation
- 猜数字小游戏[C语言][自制]
- mysqld与mysqld_safe的区别