Home >Backend Development >PHP Tutorial >有用过BEESCMS的吗请教一问题

有用过BEESCMS的吗请教一问题

WBOY
WBOYOriginal
2016-06-23 14:28:431005browse

首页怎么调用单页内容 麻烦问下 好几个单页呢 分为不同的id,另外再问下 这个适合做二次开发部


回复讨论(解决方案)

{dede:sql sql='Select content from sh_arctype where id=20'}[field:content /]

{/dede:sql}

个人觉得适合二次开发

我的思路是这样的:
    在主栏目下建立一个子栏目,然后在通过以下代码来获取子栏目(即是你所要获取的单页栏目)
        {loop source=get_tpl_list_nav('1')}
{print $v['cate_name']/}
{/loop}
    希望可以帮得到你了。

Statement:
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