Results 1 to 1 of 1
March 13th, 2010, 03:24 PM #1
Records per page and [CurrentRangeStart]
- Join Date
- April 8th, 2007
Hi to all,
This is my first post, but been using WebMerge for 5 years now.
This is my scenario and question:
I have a database which I sort by category, subcategory, release-date and part-num to create a three tier website.
In the third pass where I create the details pages I control the index pages (subcategory pages) to 40 products per page cut-off.
I'm using the following code in my index (subcategory) page:
Showing records <b>[WM-CurrentRangeStart]</b> to <b>[WM-CurrentRangeEnd]</b> of <b>[WM-CurrentRecordCount]</b> products.
It produces the following:
Showing records 145 to 192 of 1308 products.
There are 20 subcategories in this category. The subcategory in this example is forth (4) subcategory and there are only 45 records for this subcategory.
Shouldn't it display the following?
"Showing records 1 to 40 of 45 products" for page 1 of subcategory
"Showing records 40 to 45 of 45 products" for page 2 of subcategory
It looks like it is displaying all the records in the database (1308 in my sample DB I'm using for test purposes).
Is there any way to make [WM-CurrentRangeStart], [WM-CurrentRangeEnd] and [WM-CurrentRecordCount] pertain to the current subcategory and not to the entire database?
I'm using version 2.6b1
By warrenkuhl in forum WebMerge (Fourthworld.com)Replies: 4Last Post: May 26th, 2008, 04:23 PM
By johnnyWebAffiliate in forum WebMerge (Fourthworld.com)Replies: 6Last Post: July 29th, 2006, 08:26 AM
By kili in forum WebMerge (Fourthworld.com)Replies: 11Last Post: July 16th, 2005, 01:31 PM
By kea12345 in forum WebMerge (Fourthworld.com)Replies: 1Last Post: August 3rd, 2004, 09:58 PM
By jsegal in forum WebMerge (Fourthworld.com)Replies: 1Last Post: April 21st, 2004, 07:41 AM