Disable RSS for specific forums?

CTXMedia

Well-known member
I just need a hand with disabling RSS for a couple of forums.

I assume this can be done with a template conditional to not show the RSS icon based on the forum's ID number? but how would I do this please (an example of how to code it in the template would be ideal ... (y))?

Thanks,
Shaun :D
 
Edit template node_forum_level_2

Find:
Code:
<div class="nodeControls">
<a href="{xen:link forums/index.rss, $forum}" class="tinyIcon feedIcon" title="{xen:phrase rss}">{xen:phrase rss}</a>
</div>

Replace:
Code:
<xen:if is="!in_array({$forum.node_id}, array(x,y,z))">
<div class="nodeControls">
<a href="{xen:link forums/index.rss, $forum}" class="tinyIcon feedIcon" title="{xen:phrase rss}">{xen:phrase rss}</a>
</div>
</xen:if>
Where x,y,z is a comma-separated list of the node ids to hide the RSS feed from.
 
Top Bottom