This topic is locked

Help with pager

12/16/2005 7:24:08 PM
PHPRunner General questions
K
keenick author

Is it possible to have the pager at the top of the page also? Not sure if this is a feature request or if I missed something in the documentation. My users are complaining that they have to scroll down - and I have the horizontal layout and the pager is set at 30. Thanks for any comments or workarounds.

Sergey Kornilov admin 12/19/2005

Hi,
you can easily modify PHPRunner-created files to show pagination controls at the top of the page.

Here is the snippet that displays the pager:

<?php // Pagination: Write Control?>

<script language="JavaScript">WritePagination(<?php echo $mypage;?>,<?php echo $maxpages;?>);</script>


I.e. you can insert it just before this line in ..._list.php file:

<!-- delete form -->

K
keenick author 12/24/2005

Hi,

you can easily modify PHPRunner-created files to show pagination controls at the top of the page.

Here is the snippet that displays the pager:
I.e. you can insert it just before this line in ..._list.php file:


Thanks for the info-I'll give it a try. <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=7212&image=1&table=forumreplies' class='bbc_emoticon' alt=':)' />