Wrong results when using conlib:simplesearch

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
User avatar
josepha
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 37
Joined: Wed Oct 19, 2011 1:23 am
Contact:

Wrong results when using conlib:simplesearch

Post by josepha » Wed Sep 18, 2013 5:46 am

Hello,

The search page is giving the same results for any keywords, why is that ?
I am using the default Conlib, we never amend any line in it.
I have attached the Conlib files with this post.

What should i do to get it working ?

Thx
Never leave for tomorrow what you can do today.

User avatar
josepha
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 37
Joined: Wed Oct 19, 2011 1:23 am
Contact:

Re: Wrong results when using conlib:simplesearch

Post by josepha » Wed Sep 18, 2013 6:43 am

Update,

I found out that i need to use Conlib:CategorySearchSidebar, under the Left sidebar Layout !!
I added it but i don't need the output of it in the sidebar, now I am trying to hide the outputs such as: "Remove keywords" & Gender-name(number of results)

Any easy way to do it ?
Never leave for tomorrow what you can do today.

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: Wrong results when using conlib:simplesearch

Post by jmestep » Thu Sep 19, 2013 5:56 am

If you want to hide the entire search sidebar, you can wrap it in html comment out tags: <!-- [[xx ]] --> . As far as I can remember, the page worked fine after doing that.
If you want to hide only certain parts of it, it gets more tricky and I think it would mess up something with the search page since it is on that page also.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

User avatar
josepha
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 37
Joined: Wed Oct 19, 2011 1:23 am
Contact:

Re: Wrong results when using conlib:simplesearch

Post by josepha » Thu Sep 19, 2013 7:18 am

Hi,

Thanks for this Judy. but if I do that, the sort by name / price will not work, that sort function is using the sidebar as well :(
I am trying to only hide the text, links like "ExpandCategoryLinks", Narrow by Keyword .. ets

Thx
Never leave for tomorrow what you can do today.

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: Wrong results when using conlib:simplesearch

Post by jmestep » Fri Sep 20, 2013 4:24 am

You could try wrapping each section you do not want to show in html comment out tags. At one time in the past, I had disabled part of the code on a site and it required more than one change because after that what worked on the category page didn't work on the search page. Using html comment tags doesn't disable the code, it just hides it.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

User avatar
josepha
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 37
Joined: Wed Oct 19, 2011 1:23 am
Contact:

Re: Wrong results when using conlib:simplesearch

Post by josepha » Sun Sep 22, 2013 1:10 am

Great, It worked, I used the html tags for each (asp:Panel).

This case is solved.
Thanks Judy for your help.
Never leave for tomorrow what you can do today.

Post Reply