Help removing pager
Using Jamroom
Strumelia:
I put a QQQQ right BEFORE that core list function, and the QQQQ appears at the TOP of the section's forum posts there in that block/section, right below the section's Title bar. Then I put the QQQQ right AFTER the core list call, and the Qs appeared right UNDERneath the pager I'm trying to get rid of.
I'm not seeing any pager in the template after the code lines in question. It just goes on to create the remaining blocks of content in different areas, but no specific paging mentions.
This has got me all like scratchin' ma head. =8-\
I put a QQQQ right BEFORE that core list function, and the QQQQ appears at the TOP of the section's forum posts there in that block/section, right below the section's Title bar. Then I put the QQQQ right AFTER the core list call, and the Qs appeared right UNDERneath the pager I'm trying to get rid of.
I'm not seeing any pager in the template after the code lines in question. It just goes on to create the remaining blocks of content in different areas, but no specific paging mentions.
This has got me all like scratchin' ma head. =8-\
Just checked this for you and I see that pagination is coded in your index_forum.tpl, remove this:
{if $info.total_pages > 1}
<div class="block">
<table style="width:100%;">
<tr>
<td style="width:25%;">
{if isset($info.prev_page) && $info.prev_page > 0}
<input type="button" value="{jrCore_lang module="jrCore" id=26 default="<"}" class="form_button" onclick="jrLoad('#forumdiv','{$jamroom_url}/index_forum_list/p={$info.prev_page}/pb={$info.pagebreak}');$('html, body').animate({ scrollTop: $('#foradiv').offset().top -100 }, 'slow');return false;">
{/if}
</td>
<td style="width:50%;text-align:center;">
{if $info.total_pages <= 5}
{$info.page} / {$info.total_pages}
{else}
<form name="form" method="post" action="_self">
<select name="pagenum" class="form_select" style="width:60px;" onchange="var sel=this.form.pagenum.options[this.form.pagenum.selectedIndex].value;jrLoad(‘#forumdiv','{$jamroom_url}/index_forum_list/p=' +sel+'/pb={$info.pagebreak}');$('html, body').animate({ scrollTop: $('#foradiv').offset().top -100 }, 'slow');">
{for $pages=1 to $info.total_pages}
{if $info.page == $pages}
<option value="{$info.this_page}" selected="selected"> {$info.this_page}</option>
{else}
<option value="{$pages}"> {$pages}</option>
{/if}
{/for}
</select> / {$info.total_pages}
</form>
{/if}
</td>
<td style="width:25%;text-align:right;">
{if isset($info.next_page) && $info.next_page > 1}
<input type="button" value="{jrCore_lang module="jrCore" id=27 default=">"}" class="form_button" onclick="jrLoad('#forumdiv','{$jamroom_url}/index_forum_list/p={$info.next_page}/pb={$info.pagebreak}');$('html, body').animate({ scrollTop: $('#foradiv').offset().top -100 }, 'slow');return false;">
{/if}
</td>
</tr>
</table>
</div>
{/if}
and it will remove the page buttons.
Hope this helps!