太阳成游戏网站CMS框架是一款PHP8高性能·简单易用的CMS开源开发框架,基于MIT开源许可协议发布,免费且不限制商业使用,是免费开源的产品,以万端互联为设计理念,支持的微信公众号、小程序、APP客户端、移动端网站、PC网站等多终端式管理系统。
联系官方销售客服
QQ1835022299
028-61286886
我想调用指定顶级栏目下的子栏目及子栏目下的内容
例如:
产品中心
产品中心子栏目1 产品中心子栏目2 产品中心子栏目13
产品中心子栏目对应内容1 产品中心子栏目对应内容2 产品中心子栏目对应内容3
我想做,当我点击子栏目1的时候出现子栏目1 的内容 当点击子栏目2的时候 出现子栏目2的内容
有大佬指点一下吗?非常感谢,
{category module=share pid=1}
{$t.name}
{/category}
{module module=news catid=1}
{$t['title']}
MOER+
{/module}
//如果按照我现在这种就是一个个的写进去,并不是一整套调用出来的
{module module=news catid=2}
这是我目前写的,但是按照这种方式。无法调用所有的
{category module=share pid=1} {$t.name} {/category} {category module=share pid=1} {module module=$t.mid catid=$t.id num=10 cache=1 return=t2} {$t2['title']} MOER+ {/module} {/category}
{category module=share pid=1} {$t.name} {/category} {category module=share pid=1 return=c} {module module=$c.mid catid=$c.id num=10} {$t.title} MOER+ {/module} {/category}
{category module=share pid=1}
{$t.name}
{/category}
{module module=news catid=1}
{$t['title']}
MOER+
{/module}
//如果按照我现在这种就是一个个的写进去,并不是一整套调用出来的
{module module=news catid=2}
{$t['title']}
MOER+
{/module}
这是我目前写的,但是按照这种方式。无法调用所有的