• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Fixed News feed enable option not respected by templates

Mike Tougeron

Well-known member
#1
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:phrase recent_activity}</a></li>
<li><a href="{xen:link account/news-feed}">{xen:phrase your_news_feed}</a></li>

wrap them in the if like:
<xen:if is="{$enableNewsFeed}"><li><a href="{xen:link recent-activity}">{xen:phrase recent_activity}</a></li></xen:if>
<xen:if is="{$enableNewsFeed}"><li><a href="{xen:link account/news-feed}">{xen:phrase your_news_feed}</a></li></xen:if>

As always, thanks for the good work.
-Mike
 

AndyB

Well-known member
#6
I just disabled the news feed here:

pic001.jpg

Problem is when viewing the Forum-View page I still see and can click the rss icons. I'm on v1.1.3.