PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Classifieds Bug Reports (http://www.photopost.com/forum/classifieds-bug-reports/)
-   -   Search box not working in Category view (http://www.photopost.com/forum/classifieds-bug-reports/144796-search-box-not-working-category-view.html)

softsingapore December 20th, 2010 03:18 AM

Search box not working in Category view
 
Hi there

My Search box in the Category view is not working. For example, please see the URL below. If you search for "Boss", it just show everything in the Pedals/Effects category and not filter out the "Boss" items.

Pedals and Effects - Classifieds

Chuck S December 20th, 2010 07:38 AM

Looks to me like your using the latest code.

For instance your templates is not current.

Download 4.1 and upload everything that should help to ensure you have all the proper files

for instance your cathead template is not correct in this regard.

softsingapore December 21st, 2010 12:30 AM

Hi Chuck

Thank you so much. Re-uploaded the files and it is working fine now.

Chuck S December 21st, 2010 07:09 AM

No problem. Always a good thing to make sure your using the latest files. You miss one and it can play havoc with things as you see.

Badger January 15th, 2011 05:40 AM

Thought I'd had my problem here as it's exactly the same.

Never noticed it before, but I've had several members report the "category search" isn't working on same current version and the files checked and are current.

Works fine from PPClassifieds "home" search ... :confused:

Is there a particular template I can look at and patch?

Thanks .. :)

Regards,
Doug

Chuck S January 15th, 2011 08:54 AM

cathead template would be the template and if you download and upload that make sure to reupload showcat templates as well.

I really do not tell people how to do things piecemeal as if all the new files are uploaded then these types of issues do not happen. Thats why you see me always saying upload all files except install and config files.

Badger January 15th, 2011 09:05 AM

Quote:

Originally Posted by Chuck S (Post 1283290)
cathead template would be the template and if you download and upload that make sure to reupload showcat templates as well.

I really do not tell people how to do things piecemeal as if all the new files are uploaded then these types of issues do not happen. Thats why you see me always saying upload all files except install and config files.

Thanks Chuck ... :)

Ok, all files (templates) are current and it still doesn't seem to do the category "search" properly when executed from the small search box located in top right corner. It works fine when any "search" is done from the the Home page of PPClassifieds.

Note: Search within a category works fine when you use the "Search" option selectable from the NavBar (advanced search options), so the problem ONLY exists for us when someone uses the small search box located in top right corner and does so while viewing a category.

By the way ... Happy New Year .. :D

Regards,
Doug

Chuck S January 15th, 2011 09:32 AM

Are you sure you have loaded all the templates every folder?

Site links also work as I could most definately show you your template is old.

Badger January 15th, 2011 09:57 AM

Quote:

Originally Posted by Chuck S (Post 1283293)
Are you sure you have loaded all the templates every folder?

Site links also work as I could most definately show you your template is old.

Well, they are exactly the same as the last time I went through the exercise of uploading new templates. I then had to go through hours of modding to restore the changes you had helped us with to provide better integration with vb4 and it's profiles, PM's etc.

I really don't want to do that again, so I've just removed

include( "{$Globals['TMPL_PATH']}/searchbox.tmpl" );

from cathead.tmpl so members now either use the box search from main home screen or the "Search" function from the Navbar, the latter two of which work fine.

Thanks for your help .. :)

Regards,
Doug

Chuck S January 15th, 2011 10:18 AM

Yes I know you have modified things which is why I point out thats most likely the culprit

You can look at the gentlemans link to his site above

The issue I beleive if I remember correctly is the old cathead template has a form element going to showcat.php which it should not because everything goes to search.php which is why all new templates must be used. You can reapply modifications after the fact.

Badger January 15th, 2011 10:23 AM

Thanks again Chuck ... :)

Can you tell me which form element going to showcat.php in my template below needs to be deleted to fix it?

Regards,
Doug

Code:

Content visible to verified customers only.

Chuck S January 15th, 2011 10:45 AM

Doug

Your very template shows me your using old outdated templates. Have you tried grabbing the templates from the actual downloaded code?

The ones you will need to replace in the templates vb4enhanced directory are

cathead
membhead
searchbox
showcat
showcat1
showcat2
showcat3
showcat4
showmembers


All times are GMT -5. The time now is 11:56 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97