Search Items

dakini
Posts: 64
Joined: Mon May 27, 2013 11:11 am

Search Items

Post 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.
admin
Site Admin
Posts: 38004
Joined: Wed Sep 10, 2008 11:43 am

Re: Search Items

Post by admin »

Do you have more then 2 thumb tags at that page ?
Don't forget to run script update
dakini
Posts: 64
Joined: Mon May 27, 2013 11:11 am

Re: Search Items

Post 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>
admin
Site Admin
Posts: 38004
Joined: Wed Sep 10, 2008 11:43 am

Re: Search Items

Post by admin »

so what's wrong with TOTAL_ITEMS ?
Don't forget to run script update
dakini
Posts: 64
Joined: Mon May 27, 2013 11:11 am

Re: Search Items

Post 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....
admin
Site Admin
Posts: 38004
Joined: Wed Sep 10, 2008 11:43 am

Re: Search Items

Post by admin »

are you talking about domain/?search=... ?
or search log ?
Don't forget to run script update
dakini
Posts: 64
Joined: Mon May 27, 2013 11:11 am

Re: Search Items

Post 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 -->
admin
Site Admin
Posts: 38004
Joined: Wed Sep 10, 2008 11:43 am

Re: Search Items

Post by admin »

What does total_items show ?
Don't forget to run script update
dakini
Posts: 64
Joined: Mon May 27, 2013 11:11 am

Re: Search Items

Post 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
admin
Site Admin
Posts: 38004
Joined: Wed Sep 10, 2008 11:43 am

Re: Search Items

Post by admin »

Try this

Search '<!--SEARCH_QUERY-->', items found <!--ITEMS_FOUND-->
Don't forget to run script update
Post Reply