Submitted by wilkins on Sat, 2011-03-19 11:33 in Price Tapestry
Hi David
I am setting up multiple search results from one pt, managed to do this OK, is there a way to change the number of search results without changing the config as I am using that for my main results page.
Sure - config.php is included right at the top of all files (by includes/common.php), so pretty much anywhere in the code you can override any varible you like, for example:
Hi Brent,
Sure - config.php is included right at the top of all files (by includes/common.php), so pretty much anywhere in the code you can override any varible you like, for example:
$config_resultsPerPage = 20;
Cheers,
David.
--
PriceTapestry.com