WebmasterSite.net

Search.tpl
results from hidden categories.

Version: 5.0.25
URL:

PrintPrint


Search.tpl
sparkalina
Forum Regular

Usergroup: Customer
Joined: Nov 25, 2003

Total Topics: 69
Total Posts: 198
quote post #1
Posted 12/11/08 - 10:10 AM:

In reference to this wsnlinks issue: http://www.webmastersite.net/forum...4&findpost=36168#post36168

I am having the same or similar issue in wsnclassifieds.

IE

Of the three category types that I have, two are hidden.

If you search for "vendor" using search.tpl/search.php I get

"1 matching items for "vendor" ---- yet there is no html spitting out the result.

I thought, well that's because I don't have the search results showing anything from the vendor category. Adding the correct html so search results for vendor are shown results in errors. Rather than convey the results, it only lists {ITEMTITLE} .... not the real title.

Should items in hidden categories appear in the NUMRESULTS section of the search.tpl template?


FYI: Count items in hidden categories and member item lists in totals? is set to NO.


Edited by sparkalina on 12/11/08 - 10:23 AM
Paul
developer
Avatar

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 65
Total Posts: 7604
quote post #2
Posted 12/17/08 - 12:09 PM:

Items in hidden categories do show, both in the totals and the results.

Whatever you're seeing has no relation to the linked thread, since you have less than a full page of results.

Edited by Paul on 12/17/08 - 12:18 PM
 
Search thread for
Download thread as


Sorry, you don't have permission to post. Log in, or register if you haven't yet.