Closed (fixed)
Project:
Lost & found issues
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
20 May 2008 at 21:25 UTC
Updated:
30 Jun 2008 at 14:12 UTC
Jump to comment: Most recent
I'd like to change the MLS# to Erf# but have no clue where or how to do this. Can anyone direct me in the right direction?
Another Issue:
where or how would one add a Province or State? Should that be entered in the code somewhere?
Also, in the search listing block, how can I edit the 'min' and 'max' values?
Currently the max amount you can select is 4,950,000. How can I change that to a higher figure?
Comments
Comment #1
nravens commentedIs this module not being supported anymore?
Comment #2
kenuck commentedHi Nakes.
1. changing MLS to Erf#
- edit listing_form.php and replace all "MLS #" with your new value.
2. Prov/Sate values currentyl need to be entered in directly into the database, use phpMyadmin and enter the values into the prov table, make sure you enter the correct corresponding country id from the country table.
3. changing min/max
- edit the listing.module file search for "create the price range"
- change the values in the for loops for min and max.
cheers
Comment #3
nravens commentedHi kenuck.
Thanks for your reply. I did the following so far:
"1. changing MLS to Erf#
- edit listing_form.php and replace all "MLS #" with your new value."
and also changed the "MLS" values in Listing.module as well as node-listing.tpl.php to "Erf" and it seems to have worked for the most part. However, the "MLS" still appears in the Listing's teaser... where would I change that?
I've used a find and replace feature and Only replaced the "MLS" values not any instances where "mls" was used...
EDIT: Fixed the problem with the teaser - Changed the "MLS" value in the node-listing.tpl.php in the theme
"2. Prov/Sate values currentyl need to be entered in directly into the database, use phpMyadmin and enter the values into the prov table, make sure you enter the correct corresponding country id from the country table."
I've tried this, but since it's the first time I edit database tables.... I don't think I did this properly because it doesn't return any values for the provinces I added for my Country ID... I'll keep messing around with this...but any more guidance will be much appreciated.
"3. changing min/max
- edit the listing.module file search for "create the price range"
- change the values in the for loops for min and max."
Attempted this as well, but it hasn't changed the values in the Search form... it still only allows a search for a Max value of 4,950,000
Thanks again for your assistance thus far...
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.