Support Forums

Location filter module

This is a discussion on Location filter module within the TemplateCodes forums, part of the Third Party Support category; Are the following changes possible in Location Filter module. - choose location from a drop down list. when there are ...


Go Back   68 Classifieds Forums > Third Party Support > TemplateCodes

Reply
 
Thread Tools Display Modes
Old 10-03-2010, 02:57 AM   #1
Customer
 
Join Date: Jun 2008
Location: Maldives
Posts: 134
Rep Power: 16
business is on a distinguished road
Default Location filter module

Are the following changes possible in Location Filter module.
- choose location from a drop down list. when there are many locations, a drop-down is convenient.
- mulitple levels - can we apply filter at, Country level, and then at State level if required.
__________________
v 4.2.0 Developer - Default Template
business is offline   Reply With Quote
Old 10-03-2010, 04:03 AM   #2
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,362
Rep Power: 85
seymourjames is a jewel in the rough
Default

1. possible but you will need to get quite deep down in the code and modify it.
2. I doubt this is going to be possible without rewriting most of the module.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C, Version 4 Templates & Modules
Get the Best U.S Hosting, Best U.K Hosting
seymourjames is offline   Reply With Quote
Old 10-03-2010, 05:40 PM   #3
Customer
 
Join Date: Jun 2008
Location: Maldives
Posts: 134
Rep Power: 16
business is on a distinguished road
Default

thanks.
The default field is set to state. And we can change to an extra field in config file. Is it possible to change it to the city field? What would I need to change? If I replace all $state with $city, will it work?
__________________
v 4.2.0 Developer - Default Template
business is offline   Reply With Quote
Old 10-03-2010, 05:48 PM   #4
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,362
Rep Power: 85
seymourjames is a jewel in the rough
Default

I have never tried to do that. Best to give it a whirl by picking through each file and using city rather than state. Alternatively you could replace your states by cities in your control panel although that may not be ideal.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C, Version 4 Templates & Modules
Get the Best U.S Hosting, Best U.K Hosting
seymourjames is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Location filter v2 magicosta TemplateCodes 1 08-17-2009 09:29 AM
V4.1.x Location Filter states magicosta Modules / Plugins / Modifications 15 07-31-2009 04:17 PM
Location Filter Module seymourjames Modification Release 6 06-03-2009 06:06 AM
V4.1.x location filter module beta james Modules / Plugins / Modifications 15 03-31-2009 04:23 AM
Location Filter ksuralta Technical Support 0 10-22-2007 05:53 AM


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


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