0
点赞
收藏
分享

微信扫一扫

Ecshop模板开发(十七):商城页面底部帮助信息


1、help.lbi

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<!--{if $helps}-->
<!-- {foreach from=$helps item=help_cat} -->
<dl>
<dt><a href='{$help_cat.cat_id}' title="{$help_cat.cat_name}">{$help_cat.cat_name}</a></dt>
<!-- {foreach from=$help_cat.article item=item} -->
<dd><a href="{$item.url}" title="{$item.title|escape:html}">{$item.short_title}</a></dd>
<!-- {/foreach} -->
</dl>
<!-- {/foreach} -->
<!--{/if}-->

2、引入

第一种

{include file="./library/help.lbi"}

第二种

<!-- #BeginLibraryItem "/library/help.lbi" -->
<!-- #EndLibraryItem -->


举报

相关推荐

0 条评论