|
|||||||
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Jul 2007
Posts: 112
Rep Power: 10 ![]() |
I have created a few extra fields and I need them to be searchable on the first search page, before a category is chosen. In my case the extra fields do apply to ALL categories.
As it is, extra fields only show up in search AFTER you choose a category and click search. Help with this would be greatly appreciated, I have discussed this in another thread but got nowhere. Thanks
__________________
Greg Version 3.1.9 and 4.0.3 Developer |
|
|
|
|
|
#2 |
|
68 Classifieds Staff
Join Date: Mar 2006
Location: Belmont, NC
Posts: 4,766
Rep Power: 110 ![]() |
If you open the search template file and locate the javascript at the top. Right above the closing {/literal} tag try to add this:
Code:
type=1; //1 is the id of the preselected category. displaySec(type);
__________________
Eric Barnes 68 Classifieds Developer Please do not send me a private message asking for support. Instead use these open forums or our ticket system. Customer Area | Issue Tracker | Documentation | 68C Mods | Submit a Ticket | 68 @ Twitter | My Modules |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Jul 2007
Posts: 112
Rep Power: 10 ![]() |
Thanks for the reply.
I just tried this with no luck. I assume that all this is supposed to do is preselect all(assuming I used all the category id's) my categories for the search. If so, I guess it would be ok, but it would be better to have the extra field search boxes show up on the first page as well. Would I be right in assuming that I would need to do it for every single category ID? If so would it be like this.. type=1; //1 is the id of the preselected category. displaySec(type); type=1; //1 is the id of the preselected category. displaySec(type); or like this.. type=1; //1 is the id of the preselected category. type=2; type=3; //etc displaySec(type); Thanks
__________________
Greg Version 3.1.9 and 4.0.3 Developer |
|
|
|
|
|
#4 |
|
Senior Member
Join Date: Jul 2007
Posts: 112
Rep Power: 10 ![]() |
Thanks to MAffO for solving this for me.
Cheers
__________________
Greg Version 3.1.9 and 4.0.3 Developer |
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Aug 2007
Posts: 19
Rep Power: 7 ![]() |
Is there anyway you could maybe PM or post here on how you were able to search extra fields on your home page? I have been having trouble with this for a while now. I have also been trying to have a search for all the categories in extra fields and have it searchable on my index. Thanks in advance.
__________________
Karim v3.1.9 Developer Edition |
|
|
|
|
|
#6 |
|
Senior Member
Join Date: Jul 2007
Posts: 112
Rep Power: 10 ![]() |
Maffo did some recoding for me to make this happen, I dont know the details but I do know he did not simply modify the way extra listings are handled, he hard coded it.
You would need to ask Maffo for full details, but understand he will not do this for free, it takes time and money.
__________________
Greg Version 3.1.9 and 4.0.3 Developer |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Searchable Extra Fields | pbraz | v3.1 Questions & Support | 17 | 02-15-2007 09:13 AM |
| Extrafields to be displayed on the search results and category listings page | objelland | v3.1 Questions & Support | 1 | 01-13-2007 08:50 AM |
| Search on Extra Fields | LR | v3.1 Questions & Support | 10 | 07-28-2006 08:45 AM |
| Extra Fields Not Appearing In Search Results | Dan Ashton | v3.0 Questions & Support | 4 | 05-02-2006 10:37 AM |
| Displaying extra field in Search and category listings | Bucketman | v3.0 Questions & Support | 3 | 04-26-2006 09:48 AM |