We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
或者登陆后怎么隐藏登陆和注册按钮然后显示用户信息呢?
The text was updated successfully, but these errors were encountered:
可以使用stl:if标签
Sorry, something went wrong.
想问下,登陆成功后,希望把名字显示出来!我在官网文档看到如下的方式: 想问下兄台,安装了登陆插件后,如何在网站header里调用登陆者昵称(姓名)。我用官网教程给的代码{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>
不过,这个在我cms 6.0版本无效,{user.DisplayName}没有能解析出登陆的用户名,是缺少什么必要的前提吗?我看5.0 cms提到用dynamic,6.0是否也需呢?
No branches or pull requests
或者登陆后怎么隐藏登陆和注册按钮然后显示用户信息呢?
The text was updated successfully, but these errors were encountered: