
Damon
Staff
/ Moderator

Nov 25, 2006, 11:46 AM
Post #2 of 2
(594 views)
Shortcut
|
|
Re: [jeremed] Can I check to see if a publish rule has something published for it?
[In reply to]
|
Can't Post
|
|
Hi, Creating a category checkbox to select the option to publish the category RSS feed link is the way to go. There isn't a way via the templates to check the publish rule settings for this. After you create a category checkbox, add a templateif statement to your categoryIndex.html template. For example, if you create a category checkbox with the placeholder name "addRsslink", here would be the example code to add to your template: <!-- templateIf : $category.addRsslink$ eq "Yes" --> <br> <span class="webfeed"><a href="$published.rss.url$"> <img src="$_weburl$images/webfeed.gif" width="16" height="16" border="0" align="right"></a> <a href="$published.rss.url$">$category.name$ Feed</a> </span> <!-- /templateIf --> I hope that helps. I you need any more details just let us know. --------------------------------------------------- Cheers Damon Edis interactivetools.com Hire me! Save time by getting our experts to help with your project. http://www.interactivetools.com/consulting/
|