Home > Backend Development > PHP Tutorial > ecshop 二次开发有关问题

ecshop 二次开发有关问题

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-13 12:02:08
Original
833 people have browsed it

ecshop 二次开发问题
小弟刚接触ecshop ,有些疑惑,望有经验的大神们解答
{$goods.short_style_name|escape:html}
如上代码,两个问题,这是一个查看商品详情的url,我想问,这个链接上并没有指明要跳到那个方法,我在找到商品详情的方法时,也没看见要指明跳转的页面,谁能告诉我ecshop是怎么跳转的呢?
第二个问题:|escape:html这个事什么?我试图把他去掉,但是页面无变化啊,没感觉有什么用
------解决方案--------------------
这是模板标签的语言。。。。
$goods.url是个变量
escape:html应该是输出变量时要做的处理。你输出的内容处理前和处理后没差别的话,当然是没变化的。

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template