NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: bergsj on October 05, 2009, 09:51:46 AM

Title: Number of records in browse
Post by: bergsj on October 05, 2009, 09:51:46 AM
Hello,
Does anyone know how to get the number of records inside the browse? Not the one on the page, but the total of the filtered browse. So I can let the user know how many records there are.

Greetz.
Sjoerd
Title: Re: Number of records in browse
Post by: Alberto on October 05, 2009, 12:52:55 PM
Hi,
You can take a look to my post:

http://www.nettalkcentral.com/index.php?option=com_smf&Itemid=36&topic=656.0

It can give you some ideas.

Cheers
Alberto
Title: Re: Number of records in browse
Post by: bergsj on October 06, 2009, 12:01:45 AM
Thanks, Alberto

This did the trick. Did you also manage to get the total pages?
So you can show the user: Page: 1 of 10 or something.
Title: Re: Number of records in browse
Post by: Alberto on October 06, 2009, 01:52:05 AM
Well... TotalPages is TotalRecords/RecordsPerPage, just add the variable and the code to my example and you are done.

Alberto