Support Forums


Go Back   68 Classifieds Forums > Legacy Help & Support > v3.1 Modules & Modifications

 
LinkBack Thread Tools Display Modes
Old 10-14-2007, 05:46 PM   #1
Senior Member
 
Join Date: Jul 2007
Posts: 112
Rep Power: 10
Greg H is on a distinguished road
Default Extra fields to be searchable on the first search page, before a category is chosen

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
Greg H is offline   Reply With Quote
Old 10-24-2007, 01:10 PM   #2
68 Classifieds Staff
 
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 4,766
Rep Power: 110
Eric Barnes is a jewel in the rough
Default

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);
I haven't tested this but it should point you in the right direction.
__________________
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
Eric Barnes is online now   Reply With Quote
Old 10-24-2007, 08:56 PM   #3
Senior Member
 
Join Date: Jul 2007
Posts: 112
Rep Power: 10
Greg H is on a distinguished road
Default

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
Greg H is offline   Reply With Quote
Old 11-27-2007, 05:59 PM   #4
Senior Member
 
Join Date: Jul 2007
Posts: 112
Rep Power: 10
Greg H is on a distinguished road
Default

Thanks to MAffO for solving this for me.

Cheers
__________________
Greg

Version 3.1.9 and 4.0.3 Developer
Greg H is offline   Reply With Quote
Old 11-28-2007, 12:10 PM   #5
Junior Member
 
Join Date: Aug 2007
Posts: 19
Rep Power: 7
kampbell is on a distinguished road
Default

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
kampbell is offline   Reply With Quote
Old 11-28-2007, 02:29 PM   #6
Senior Member
 
Join Date: Jul 2007
Posts: 112
Rep Power: 10
Greg H is on a distinguished road
Default

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
Greg H is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 10:15 PM.


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