Recent Topics Widget or "Latest Topics"
2 posters
Page 1 of 1
Recent Topics Widget or "Latest Topics"
Hi,
My question in summary is... HOW do you move the "Recent Topics" widget to other parts of your forum, such as part of the "Who is Online" Box, or the header, or anywhere else besides the left and the right columns.
This is the code for mod_recent_topics, now through trial and error I have deduced that this code manipulates the widget itself. However as far as the PLACEMENT of the widget is concerned, I am confused.
Where in the Templates are the widgets located? I assume they would be in General > Index_body...
and would be labeled as {Widget_content_left}.
I am gathering that if I could take that code and move it somewhere else... to lets say header or footer, the widget would appear there instead of the columns.
Please help me, I have an extraordinarily large headache from thinking too much.
Code for mod_recent_topics:
My question in summary is... HOW do you move the "Recent Topics" widget to other parts of your forum, such as part of the "Who is Online" Box, or the header, or anywhere else besides the left and the right columns.
This is the code for mod_recent_topics, now through trial and error I have deduced that this code manipulates the widget itself. However as far as the PLACEMENT of the widget is concerned, I am confused.
Where in the Templates are the widgets located? I assume they would be in General > Index_body...
and would be labeled as {Widget_content_left}.
I am gathering that if I could take that code and move it somewhere else... to lets say header or footer, the widget would appear there instead of the columns.
Please help me, I have an extraordinarily large headache from thinking too much.
Code for mod_recent_topics:
- Code:
<!-- BEGIN scrolling_row -->
<table class="forumline" width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="catLeft" height="25">
<span class="genmed module-title">{L_RECENT_TOPICS}</span>
</td>
</tr>
<tr>
<td class="row1" align="left" id="comments_scroll_div">
<!-- BEGIN recent_topic_row -->
» <a onmouseover="document.getElementById('comments_scroll_container').stop();" onmouseout="document.getElementById('comments_scroll_container').start();" href="{scrolling_row.recent_topic_row.U_TITLE}" title="{scrolling_row.recent_topic_row.L_TITLE}">{scrolling_row.recent_topic_row.L_TITLE}</a><br />
<img src="{ICON_TIME}" alt="" />{scrolling_row.recent_topic_row.S_POSTTIME} {BY}
<!-- BEGIN switch_poster -->
<a onmouseover="document.getElementById('comments_scroll_container').stop();" onmouseout="document.getElementById('comments_scroll_container').start();" href="{scrolling_row.recent_topic_row.switch_poster.U_POSTER}">{scrolling_row.recent_topic_row.switch_poster.S_POSTER}</a><br /><br />
<!-- END switch_poster -->
<!-- BEGIN switch_poster_guest -->
{scrolling_row.recent_topic_row.switch_poster_guest.S_POSTER}<br /><br />
<!-- END switch_poster_guest -->
<!--
<a onmouseover="document.getElementById('comments_scroll_container').stop();" onmouseout="document.getElementById('comments_scroll_container').start();" href="{scrolling_row.recent_topic_row.U_POSTER}">{scrolling_row.recent_topic_row.S_POSTER}</a><br /><br />
-->
<!-- END recent_topic_row -->
</td>
</tr>
</table>
<script type="text/javascript">
//<![CDATA[
$(function(){
div_marquee('comments_scroll_div', 'comments_scroll_container', '{SCROLL_WAY}', '{SCROLL_STEP}', '{SCROLL_DELAY}', '{SCROLL_HEIGHT}', 'genmed');
});
//]]>
</script>
<!-- END scrolling_row -->
<!-- BEGIN classical_row -->
<table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
<tr>
<td class="catHead" height="25"><span class="genmed"><b><center>{L_RECENT_TOPICS}</center></b></span></td>
</tr>
<tr>
<td class="row1" align="left"><span class="gensmall">
<!-- BEGIN recent_topic_row -->
» <a href="{classical_row.recent_topic_row.U_TITLE}">{classical_row.recent_topic_row.L_TITLE}</a><br />{BY}
<!-- BEGIN switch_poster -->
<a href="{classical_row.recent_topic_row.switch_poster.U_POSTER}">{classical_row.recent_topic_row.switch_poster.S_POSTER}</a>
<!-- END switch_poster -->
<!-- BEGIN switch_poster_guest -->
{classical_row.recent_topic_row.switch_poster_guest.S_POSTER}
<!-- END switch_poster_guest -->
{ON} {classical_row.recent_topic_row.S_POSTTIME}<br /><br />
<!--
<a href="{classical_row.recent_topic_row.U_POSTER}">{classical_row.recent_topic_row.S_POSTER}</a> {ON} {classical_row.recent_topic_row.S_POSTTIME}<br /><br />
-->
<!-- END recent_topic_row -->
</span></td>
</tr>
</table>
<!-- END classical_row -->
Re: Recent Topics Widget or "Latest Topics"
I don't think that's possible, but i guess, you can do this on the portal on the top and bottom part.
Jophy- ForumGuru
-
Posts : 17924
Reputation : 836
Language : English
Location : Somewhere

» Recent topics/Latest posts widget in Generalities
» Exclude recent posts from specific forum(s) from last/recent topics widget?
» Change Recent Topics widget to Recent Posts?
» Latest Topics, Most viewed and active topics in same widget
» Recent/Latest Topics System Position Problem
» Exclude recent posts from specific forum(s) from last/recent topics widget?
» Change Recent Topics widget to Recent Posts?
» Latest Topics, Most viewed and active topics in same widget
» Recent/Latest Topics System Position Problem
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum