How i can change the position of pagination in FlatForum?

I need to place the pagination in footer and too in header of page. Which the best way to i make this?

Thanks,

Comments

agusain’s picture

To have pagination in footer and too in header (for a taxonomy term) i place a line of code in taxomomy.module file
i replace
function taxonomy_render_nodes($result) {
if (db_num_rows($result) > 0) {
while ($node = db_fetch_object($result)) {
$output .= node_view(node_load($node->nid), 1);
}
$output .= theme('pager', NULL, variable_get('default_nodes_main', 10), 0);
}
else {
$output .= '

'. t('There are currently no posts in this category.') .'

';
}
return $output;
}

with

function taxonomy_render_nodes($result) {
if (db_num_rows($result) > 0) {
$output .= theme('pager', NULL, variable_get('default_nodes_main', 10), 0);

while ($node = db_fetch_object($result)) {
$output .= node_view(node_load($node->nid), 1);
}
$output .= theme('pager', NULL, variable_get('default_nodes_main', 10), 0);
}
else {
$output .= '

'. t('There are currently no posts in this category.') .'

';
}
return $output;
}