This topic is locked

Modify Page Navigation

4/2/2010 11:05:59 PM
PHPRunner General questions
bbarker author

I have a database where each entry is assigned a unique REGISTRATION number. The issue (feature?) is that we allow people to select their own REGISTRATION number - often times it is out of sequence. What I'd like to change is to have the Page Navigation list at the bottom of the page show the REGISTRATION number, not the database record number (or Page number).
When my users need to navigate within the database, they want to select a REGISTRATION number, not the internal (hidden) record (or Page) number.
How can I do this?

bbarker author 4/5/2010

I think that this is the code:
{BEGIN pagination_block}<DIV id="pagination_block{$id}" class="xboxcontentb message_block">{$pagination}

</DIV>{END pagination_block}</DIV></DIV></DIV></DIV><B class=xbottom><B class=xb4b></B><B

class=xb3b></B><B class=xb2b></B><B class=xb1b></B></B>{$footer}
What do I change so that it lists the field REGISTRATION instead of PAGE number?

Sergey Kornilov admin 4/6/2010

You cannot do it this way.
I guess you need to insert "PHP code snippet" and write your own piece of code that displays those links.

bbarker author 4/7/2010



You cannot do it this way.
I guess you need to insert "PHP code snippet" and write your own piece of code that displays those links.


Okay, that makes sense. I'll delete the existiing "page navigation" code.
So.... <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=49059&image=1&table=forumreplies' class='bbc_emoticon' alt=':rolleyes:' /> Does anybody have a piece of code that I can modify which will read a number field, and then give a partial listing of the numbers (10 at at time) in increasing size? (Essentially the same format as the current page navigation footer.)