NetTalk Central

Author Topic: Showing page indicator on the browse  (Read 4507 times)

alex.kolaric

  • Full Member
  • ***
  • Posts: 151
  • Do it or do not, there is no try
    • View Profile
    • Email
Showing page indicator on the browse
« on: September 09, 2010, 02:06:37 PM »
Hi,

is there a way to combine page active page indicator and quick page access links with the standard browse. Something like having:

1 2 3 4 5 6 7 8 9 ...

showing below the browse.

Thanks,
Alex


Rene Simons

  • Hero Member
  • *****
  • Posts: 650
    • View Profile
Re: Showing page indicator on the browse
« Reply #1 on: September 10, 2010, 02:23:42 AM »
Hi Alex,

During the webshop this subject was mentioned.
Bruce's comment on this is that when you want to do it the "Google way", you have to count or calculate the number of pages first. In short: There is a "price tag".
Besides that, it is not possible.

What you can do is fill the browse by file in stead of by page

Rene

Rene Simons
NT14.14

alex.kolaric

  • Full Member
  • ***
  • Posts: 151
  • Do it or do not, there is no try
    • View Profile
    • Email
Re: Showing page indicator on the browse
« Reply #2 on: September 10, 2010, 02:39:48 AM »
Hi Rene,

thanks for the info. I suspected that the answer will be such. I guess that this kind of behavior is possible without using standard NetTalk browse. More work but surely possible.

Regards,
Alex

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11251
    • View Profile
Re: Showing page indicator on the browse
« Reply #3 on: September 14, 2010, 12:16:05 AM »
Hi Alex,

In order to determine the correct number of pages, you would need to count the records in the view. The RECORDS statement won't help because of the effect of the filter on the browse.

To count the number of records is an "expensive" operation, in terms of time, but of course you are welcome to do it if you like. If you knew this number, and the current place of the data the user was browsing, you could very easily implement the feature you're thinking of.

On the other hand, I'm not sure that this is a particularly good way to navigate the data - a good locator is much better at actually getting to the data you want to find.

Cheers
Bruce


alex.kolaric

  • Full Member
  • ***
  • Posts: 151
  • Do it or do not, there is no try
    • View Profile
    • Email
Re: Showing page indicator on the browse
« Reply #4 on: September 14, 2010, 11:25:19 AM »
Hi Bruce,

thanks for the info. I prefer what we currently have as a browse better but I was asking this because usual way to present data on the web is using the result pages with links, or at least what I mostly see.

Regards,
Alex


Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11251
    • View Profile
Re: Showing page indicator on the browse
« Reply #5 on: September 14, 2010, 11:52:21 AM »
Hi Alex,

Google obviously uses it, but notice they mostly just "guess" the number.
You can tell this because if you go to page 2, 3 or 4 or whatever the number of pages changes.

cheers
Bruce