Increase amount of items listed...

A place to discuss and receive support for the Web Auction application.

Increase amount of items listed...

Postby ScottCA » Tue Mar 01, 2011 11:07 pm

How can I increase the amount of items listed from the default of "30" to "40"?

Thank you in advance,
~Scott
ScottCA
 
Posts: 2
Joined: Tue Mar 01, 2011 11:06 pm

Re: Increase amount of items listed...

Postby shannah » Wed Mar 02, 2011 12:32 pm

Add the following (or something like it) to the beginning of your index.php file:
Code: Select all
if ( !@$_REQUEST['-limit'] ){
    $_GET['-limit'] = $_REQUEST['-limit'] = 40;
}
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Re: Increase amount of items listed...

Postby ScottCA » Wed Mar 02, 2011 12:37 pm

Awesome! That worked! Thanks so much for the quick response!

*PS: Excellent script!
ScottCA
 
Posts: 2
Joined: Tue Mar 01, 2011 11:06 pm


Return to Web Auction Discussion

Who is online

Users browsing this forum: No registered users and 20 guests

Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved