EYOUCMS,在模板中定义变量的标签是哪个?
EYOUCMS,在模板中定义变量的标签是哪个?
答:assign标签
具体代码示例:
{eyou:assign name='typeid' value='5' /} {eyou:type typeid='$typeid'} <a href="{$field.typeurl}">{$field.typename}</a> {/eyou:type} {eyou:channel typeid='$typeid' type='self'} <a href="{$field.typeurl}">{$field.typename}</a> {/eyou:channel}