I'm trying to show a menu based on what group a user is in once they have logged in. However, I'm not having any success. Here is an example (for one of the groups) of what I have in my _base.html file, which I'm extending in my other pages:
{% if currentUser.isInGroup('advisors') %}
<div class="secondary-navigation">
<div class="row">
<div class="small-1 columns group">
<h2>Advisors</h2>
</div>
<div class="small-11 columns navigation">
<ul>
<li><a href="">Advisors Home</a></li>
<li><a href="">Education</a></li>
<li><a href="">Blog</a></li>
<li><a href="">Events</a></li>
<li><a href="">Nav 5</a></li>
</ul>
</div>
</div>
</div>
{% endif %}
Any suggestions would be most welcome!
advisorsgroup, but that piece of the nav doesn't get displayed? Do you havedevModeon? – Marion Newlevant Jan 09 '17 at 22:11