How to display total results for search
Can someone offer a tip on how to display the number of
matches found after executing the search on the search results or the navigation above it :roll: ? |
post removed cos it was cr*p
|
sorry..no it wont.
have removed the previous post cos it didn't fully work. Will put a new one in shortly. |
Okay .. this will.
add the following line to search.php after the $smarty->assign("main","search"); Code:
$smarty->assign("totalprod",$total_products_in_search); new code for search_result.tpl: Code:
{* $Id: search_result.tpl,v 1.10 2002/10/11 12:43:43 ambal Exp $ *} |
Works like a charm :)
Thanks! |
All times are GMT -8. The time now is 08:57 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.