![]() |
|
|||||||
| Register | Projects | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| v3.1 Modifications Questions on modifying 68 Classifieds. Please note these are not supported by 68 Classifieds, and may make future updates more difficult. |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
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 Developer |
|
#2
|
||||
|
||||
|
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 Customer Area | Issue Tracker | Knowledge Base | User Manuals | My Blog |
|
#3
|
|||
|
|||
|
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 Developer |
|
#4
|
|||
|
|||
|
Thanks to MAffO for solving this for me.
Cheers
__________________
Greg Version 3.1.9 Developer |
|
#5
|
|||
|
|||
|
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
|
|||
|
|||
|
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 Developer |
| 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 10:13 AM |
| Extrafields to be displayed on the search results and category listings page | objelland | v3.1 Questions & Support | 1 | 01-13-2007 09:50 AM |
| Search on Extra Fields | LR | v3.1 Questions & Support | 10 | 07-28-2006 09:45 AM |
| Extra Fields Not Appearing In Search Results | Dan Ashton | v3.0 Questions & Support | 4 | 05-02-2006 11:37 AM |
| Displaying extra field in Search and category listings | Bucketman | v3.0 Questions & Support | 3 | 04-26-2006 10:48 AM |