Support Forums

Filtering Results on showlistings.tpl

This is a discussion on Filtering Results on showlistings.tpl within the Technical Support forums, part of the Technical Support Forums category; What version of 68 Classifieds are you running? Example: V4.2.0 Designer What template are you using? Default Please describe in ...


Go Back   68 Classifieds Forums > Technical Support Forums > Technical Support

Reply
 
Thread Tools Display Modes
Old 10-15-2010, 10:42 PM   #1
Customer
 
Join Date: Sep 2006
Posts: 68
Rep Power: 19
rockabilly is on a distinguished road
Default Filtering Results on showlistings.tpl

What version of 68 Classifieds are you running?
Example: V4.2.0 Designer

What template are you using?
Default

Please describe in detail the issue you are having:

I have several extra drop down fields, and I would like to place one or two of these over the table on the showlistings.tpl to filter the results. For example, if I have a drop down with various colors, and a person selects blue, then the results would refresh and return the ads with "blue".
Is there a way to do this?

Thank you....
rockabilly is offline   Reply With Quote
Old 10-15-2010, 11:19 PM   #2
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 2,975
Rep Power: 73
seymourjames is a jewel in the rough
Default

You are going to have to be clearer on this one. In effect, the only filtering done is by the search function where extrafields can be made searchable or not. The listing filter that TemplateCodes supplies will also filter listings but only on one extra field. If you are actually talking about a filtering capability on extrafields within the showlistings itself then the answer is I think this will be very difficult and I would not have a clue where to start on that one.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68 Classifieds
seymourjames is offline   Reply With Quote
Old 10-15-2010, 11:50 PM   #3
Customer
 
Join Date: Sep 2006
Posts: 68
Rep Power: 19
rockabilly is on a distinguished road
Default

Thanks for your reply. I was hoping there was code associated with the field ID that I could put above the table in the showlistings template so people can refine the search results with extra field drop downs.
I'll attach an example to this message.





Quote:
Originally Posted by seymourjames
You are going to have to be clearer on this one. In effect, the only filtering done is by the search function where extrafields can be made searchable or not. The listing filter that TemplateCodes supplies will also filter listings but only on one extra field. If you are actually talking about a filtering capability on extrafields within the showlistings itself then the answer is I think this will bevery difficult and I would not have a clue where to start on that one.
rockabilly is offline   Reply With Quote
Old 10-16-2010, 07:37 AM   #4
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 2,975
Rep Power: 73
seymourjames is a jewel in the rough
Default

I don't think this is a realistic development to undertake without a considerable budget available to develop a complex filtering module. You would need to find a skilled php developer to do it. This one would not be for the faint hearted. I see no easy way to do it exactly as you are implying from your picture.

The only thing I can think of which gets some of the way would be to put the advanced search function on the showlisitings page (many core file changes) or if you wish to avoid that we do have a global search module (avoids playing with core files). Then set it up so it is pre populated with the category. Then the extra fields could be selected, the button pressed on the search function and the page is returned back as a page of search results. This would only work for category listings as you have shown and not if you started with a page of search results or you would then need to pre populate with several variables. Seems all rather complex for little gain. I also see search engine optimization and indexing issues if it were done the way you imply because the url would not be changing.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68 Classifieds

Last edited by seymourjames; 10-16-2010 at 07:47 AM.
seymourjames is offline   Reply With Quote
Old 10-16-2010, 01:15 PM   #5
Customer
 
Join Date: Sep 2006
Posts: 68
Rep Power: 19
rockabilly is on a distinguished road
Default

Thanks for all of the information, I appreciate it. I had been mistakenly indicating that I have the designer version in my posts instead of the developer version, which I do have. I don't know if that would make a difference in having the ability to add these drop downs. I'll take a look at the global search module that you referred to.

Thanks again....



Quote:
Originally Posted by seymourjames
I don't think this is a realistic development to undertake without a considerable budget available to develop a complex filtering module. You would need to find a skilled php developer to do it. This one would not be for the faint hearted. I see no easy way to do it exactly as you are implying from your picture.

The only thing I can think of which gets some of the way would be to put the advanced search function on the showlisitings page (many core file changes) or if you wish to avoid that we do have a global search module (avoids playing with core files). Then set it up so it is pre populated with the category. Then the extra fields could be selected, the button pressed on the search function and the page is returned back as a page of search results. This would only work for category listings as you have shown and not if you started with a page of search results or you would then need to pre populate with several variables. Seems all rather complex for little gain. I also see search engine optimization and indexing issues if it were done the way you imply because the url would not be changing.
rockabilly is offline   Reply With Quote
Old 10-16-2010, 01:36 PM   #6
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 2,975
Rep Power: 73
seymourjames is a jewel in the rough
Default

I was speaking to mikentosh earlier and he may have something that will do what you are seeking to do. The global search module module is no longer sold or supported although it could be used as a basis for what you are seeking to do. It is not really the solution you are looking for. Best to contact mikentosh about this one.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68 Classifieds
seymourjames is offline   Reply With Quote
Old 10-16-2010, 03:27 PM   #7
Customer
 
Join Date: Sep 2006
Posts: 68
Rep Power: 19
rockabilly is on a distinguished road
Default

Thank you. I'll contact Mike about this. I was hoping that it could as easy as inserting code like this on the page, but code that would call up the value of the extra field ID (such as a drop down or text field, whatever the extra field may be) and the specific category ID that it was place over. I use custom cats, so if this can be done, I could insert this on a page like noprice.tpl and have a different template for each category I place this over.

Thank you....





<form id="searchform" method="get" action="searchresults.php">
<input type="text" name="searchtext" class="search_input" size="15" value="Keyword Search!" onfocus="if (this.value==this.defaultValue) this.value='';" />
<input type="image" value="Submit" src="templates/deepsea/images/searchbar.png" />
</form>





Quote:
Originally Posted by seymourjames
I was speaking to mikentosh earlier and he may have something that will do what you are seeking to do. The global search module module is no longer sold or supported although it could be used as a basis for what you are seeking to do. It is not really the solution you are looking for. Best to contact mikentosh about this one.

Last edited by rockabilly; 10-16-2010 at 03:30 PM.
rockabilly is offline   Reply With Quote
Old 10-21-2010, 02:44 PM   #8
Customer
 
Join Date: Jun 2008
Location: Maldives
Posts: 134
Rep Power: 13
business is on a distinguished road
Default

A filter/refine search feature would be very useful. But given the way extra fields are structured in 68C, it seems to be a major development that would cost money and put extra load on the server.
__________________
v 4.2.0 Developer - Default Template
business is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
CSS Horizontal & Filtering modules metrony TemplateCodes 5 02-01-2010 09:18 AM
IP filtering pirod Technical Support 1 04-24-2009 05:45 PM
Re-order results in showlistings.tpl? sunshinemike Technical Support 1 03-11-2009 11:02 AM
filtering new listings to certain pages jason1971 Templates, HTML, CSS, and Design Help 0 03-08-2009 05:05 AM
filtering emails during registration possible? Shadman Technical Support 3 08-25-2008 07:31 PM


All times are GMT -4. The time now is 05:26 PM.


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