View Single Post
  #5 (permalink)  
Old 11-23-2008, 09:36 AM
Ghool Ghool is offline
New Pligger
 
Join Date: Jan 2008
Posts: 16
Thank you very very much.. I have been trying this for a long time and finally got it to work.

I placed this in my pligg.tpl
{if ($page_number)<>"0"}Page number: {$page_number}{/if}

and this in index.php and upcomming.php
$main_smarty->assign('page_number', intval($_GET['page']))

Last edited by Ghool; 11-23-2008 at 09:46 AM.
Reply With Quote