I am trying to add the [previous]1,2,3,....[next] page nav to the top of the page in line with 'Published'.
I found the file index_center.tpl in my template folder. Firstly I could only put a page nav under 'Published' and not with it. Secondly, this is the code I used and somehow the page nav works at the bottom but at the top its empty.
Any obvious mistake I am making?
Thank you.
PHP Code:
{php}
Global $page_size, $rows;
do_pages($rows, $page_size, getmyurl("root")); // show the "page" buttons at the bottom
// this will eventually be a smarty include
{/php}
{php}
Global $db, $main_smarty, $page_size, $from_where, $rows, $order_by, $offset, $linksum_sql, $linksum_count;
include('./libs/link_summary.php'); // this is the code that show the links / stories
{/php}
{php}
Global $page_size, $rows;
do_pages($rows, $page_size, getmyurl("root")); // show the "page" buttons at the bottom
// this will eventually be a smarty include
{/php}





Linear Mode




