文档给的参考内容如下,我现在用的cms 6.0,是不是这个实体内容取消啦?我查文档没有一点关于这方面的介绍。想使用{user.DisplayName}显示登陆的用户名,还需要别的前提吗?
<stl:if type="IsUserLoggin">
stl:yes
您好,
{user.DisplayName}
用户中心
购物车
我的订单
<stl:logout class="logout">退出</stl:logout>
</stl:yes>
stl:no
<stl:login style="color:#797979;">登录</stl:login>
<stl:register style="color:#797979;">注册</stl:register>
<stl:login type="weibo" class="weibo">微博登录</stl:login>
<stl:login type="qq" class="qq">QQ登录</stl:login>
<stl:login type="weixin" class="weixin">微信登录</stl:login>
</stl:no>
</stl:if>