Page 1 of 2

Search Items

Posted: Fri May 31, 2013 3:07 pm
by dakini
Im trying to find on template tags in wiki the tag for Search 'keyword', items found 54,

I want to edit search log template and i cant find the tag for how many items are found for that search query, i have tried <!--TOTAL_ITEMS--> but this is for total intems in current template.

Re: Search Items

Posted: Fri May 31, 2013 3:17 pm
by admin
Do you have more then 2 thumb tags at that page ?

Re: Search Items

Posted: Fri May 31, 2013 3:22 pm
by dakini
You mean more than 2 thumb tags in search log template?
No, Just one THUMB_URL

Here is the code from template

<thumb num=1-120>
<div class="thumb"><a href="/?search=<!--SEARCH_QUERY-->" title="Click to search for <!--SEARCH_QUERY-->" tooltip="true" target="_blank"><img src="<!--THUMB_URL-->" alt="<!--SEARCH_QUERY-->" /><p>(<font color="red">??</font>) videos found for this search</p>
<div class="infothumb"><!--SEARCH_QUERY--></div></a></div>
</thumb>

Re: Search Items

Posted: Fri May 31, 2013 3:38 pm
by admin
so what's wrong with TOTAL_ITEMS ?

Re: Search Items

Posted: Fri May 31, 2013 3:50 pm
by dakini
It show total items in search log, i want to out put like on thefault for each item, how many thumbs are for each serch result, on default template search_log it shows:

Search 'query', items found This number->35<-, Link to results drunk, Best item for this search....

Re: Search Items

Posted: Sat Jun 01, 2013 8:08 am
by admin
are you talking about domain/?search=... ?
or search log ?

Re: Search Items

Posted: Sat Jun 01, 2013 11:39 am
by dakini
yes im talking about search_log template, i want to modify it but i cant find the tag to show how many items are found for every search query, if you look in default template, for every search query it shows how many results are in it. But it uses <!-- default_1-100 -->

Re: Search Items

Posted: Sat Jun 01, 2013 4:02 pm
by admin
What does total_items show ?

Re: Search Items

Posted: Sat Jun 01, 2013 5:11 pm
by dakini
Totl_items shows the number of total thumbs in search_log, i need to output total thumbs for search query, exactly how default search log outputs

If i use custom template and i have for example

search query 1, search query 2, search query 3 in it, <!--total_items--> shows 3

In default search_log template <!--default_1-100--> it shows search query 1 (40) results, search query 2 (23) results, search query 3 (50) results.

in what im interested is with what tag i can output the results for each search query in search_log template

Hope you understand what im trying to explin

Re: Search Items

Posted: Sat Jun 01, 2013 6:56 pm
by admin
Try this

Search '<!--SEARCH_QUERY-->', items found <!--ITEMS_FOUND-->