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

nravens’s picture

Is this module not being supported anymore?

kenuck’s picture

Status: Active » Fixed

Hi 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

nravens’s picture

Hi 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...

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

Project: » Lost & found issues

This issue’s project has disappeared. Most likely, it was a sandbox project, which can be deleted by its maintainer. See the Lost & found issues project page for more details. (The missing project ID was 199796)