Mike Tougeron
Well-known member
In the quick_navigation_menu template, it'd be nice if there is an if statement around the news feed links. Otherwise the links show up even if the news feed is disabled.
Instead of these two lines in the template:
<li><a href="{xen:link recent-activity}">{xen
hrase recent_activity}</a></li>
<li><a href="{xen:link account/news-feed}">{xen
hrase your_news_feed}</a></li>
wrap them in the if like:
<xen:if is="{$enableNewsFeed}"><li><a href="{xen:link recent-activity}">{xen
hrase recent_activity}</a></li></xen:if>
<xen:if is="{$enableNewsFeed}"><li><a href="{xen:link account/news-feed}">{xen
hrase your_news_feed}</a></li></xen:if>
As always, thanks for the good work.
-Mike
Instead of these two lines in the template:
<li><a href="{xen:link recent-activity}">{xen

<li><a href="{xen:link account/news-feed}">{xen

wrap them in the if like:
<xen:if is="{$enableNewsFeed}"><li><a href="{xen:link recent-activity}">{xen

<xen:if is="{$enableNewsFeed}"><li><a href="{xen:link account/news-feed}">{xen

As always, thanks for the good work.
-Mike