PDA

View Full Version : RSS feed icon in forumdisplay


medicalforums
09-03-2009, 12:23 AM
Can anybody tell me why this RSS icon not showing in my forums!

I added this in the forumdisplay template

<td class="vbmenu_control" id="forumsearch.subforums" nowrap="nowrap"><a href="search.php?$session[sessionurl]f=$foruminfo[forumid]" rel="nofollow">$vbphrase[search_this_forum]</a> <if condition="$show['quicksearch']"><script type="text/javascript"> vbmenu_register("forumsearch.subforums"); </script></if></td>
</if>

<td><a href="external.php?type=rss2&forumids=$foruminfo[forumid]"><img src="images/added/feed-icon-animated.gif" height="14" width="14" alt="Feed Icon" title="Subscribe to $foruminfo[title]'s RSS Feed"></a></td>

</tr>
</table>

bmckinley
09-03-2009, 01:14 AM
change:

<td><a href="external.php?type=rss2&forumids=$foruminfo[forumid]"><img src="images/added/feed-icon-animated.gif" height="14" width="14" alt="Feed Icon" title="Subscribe to $foruminfo[title]'s RSS Feed"></a></td>


to this:

<td class="vbmenu_control"><a href="external.php?type=rss2&forumids=$foruminfo[forumid]"><img src="images/added/feed-icon-animated.gif" height="14" width="14" alt="Feed Icon" title="Subscribe to $foruminfo[title]'s RSS Feed"></a></td>


I'm not a coder, just a newb, but give it a shot...

medicalforums
09-03-2009, 01:33 AM
change to

<td class="vbmenu_control"><a href="external.php?type=rss2&forumids=$foruminfo[forumid]"><img src="images/added/feed-icon-animated.gif" height="14" width="14" alt="Feed Icon" title="Subscribe to $foruminfo[title]'s RSS Feed"></a></td>


I'm not a coder, just a newb, but give it a shot...

Thanks for the help but that didn't work either

bmckinley
09-03-2009, 02:26 AM
Try messing around with the href attribute designation. May need to be a little more specific. Maybe even go as far as <a href="http://yoursite/forum/external.php......




<td class="vbmenu_control"><a href="/external.php?type=rss2&forumids=$foruminfo[forumid]"><img src="images/added/feed-icon-animated.gif" height="14" width="14" alt="Feed Icon" title="Subscribe to $foruminfo[title]'s RSS Feed"></a></td>

medicalforums
09-03-2009, 03:16 AM
My bad

It was a big mistake

I was putting the code in forum lists table not in the thread list table!

Finally this code worked

<td class="tcat"><a href="external.php?type=rss2&forumids=$foruminfo[forumid]"><img class="inlineimg" src="$stylevar[imgdir_misc]/feed-icon-animated1.gif" border="0" height="20" width="20" alt="Feed Icon" title="Subscribe to $foruminfo[title]'s RSS Feed"></a></td>

Sorry for bothering you and thanks for all the help