Home > Backend Development > PHP Tutorial > 第一次使用phpcms 标签问题

第一次使用phpcms 标签问题

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-23 13:26:56
Original
1131 people have browsed it

第一次使用phpcms的标签,独立模块安装完毕,跳转到tpl文件也是正常的,但是tpl文件中写的标签被直接输出了,没有解析.
tpl文件名test.tpl.php代码如下:

<?phpdefined('IN_ADMIN') or exit('No permission resources.');include $this->admin_tpl('header','admin');?><div class="nHover td-line"> <ul>{pc:content action="category" num="34" siteid="0" order="listorder ASC"}      {loop $data $r}            <li><a href="{$r[url]}">{$r[catname]}</a></li>      {/loop}{/pc}</ul></div></body></html>
Copy after login

求解


回复讨论(解决方案)

好吧,来个人领分吧,  答案是 PHPCMS后台代码是不能使用PC标签的,前台模板是可以用的。呵呵。。

 我是来混分的

PHPCMS后台代码是不能使用PC标签的,前台模板是可以用的。哈哈

哈哈,都有分都有分

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