WebmasterSite.net

Register | Forgot Password

Search.tpl
results from hidden categories.

Version: 5.0.25
printPrint


Search.tpl
sparkalina
Forum Regular

Usergroup: Customer
Joined: Nov 25, 2003

Total Topics: 60
Total Posts: 180
Posted 12/11/08 - 10:10 AM:
quote post
#1
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
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California

Total Topics: 64
Total Posts: 7217
Posted 12/17/08 - 12:09 PM:
quote post
#2
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

"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
Search thread for
Download thread as


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

WSN Links WSN Gallery WSN Knowledge Base WSN Forum WSN Classifieds WSN Directory WSN Software Directory