Topic: Configuration

Hi, was wondering how to change a couple of things... 1. how to take out the option of a "city" search, i.e. am selling properties in a single city/location and 2. how to change the currency from "$" to a different currency.

Any help much appreciated!!

Mark

Re: Configuration

If you look at the page browse.php, you should be able to just comment out lines 50 through 72 and the search box won't show up:

<!-- City: <select name="citystate[]" size="4" multiple> -->
 51 <?php
 52 /* $result = mysql_query("SELECT 
 53         ".$table_prefix."homes.city,
 54         ".$table_prefix."homes.state,
 55         ".$table_prefix."homes.status,  
 56         ".$table_prefix."statuses.*,
 57          count(*) AS num_town 
 58         FROM ".$table_prefix."homes, 
 59         ".$table_prefix."statuses
 60         where
 61         ".$table_prefix."statuses.id = ".$table_prefix."homes.status
 62         and
 63         ".$table_prefix."statuses.shown !='n'
 64         GROUP BY city,state ORDER BY state, city;",$link);
 65  while ($a_row =mysql_fetch_array ($result) )
65  while ($a_row =mysql_fetch_array ($result) )
 66  {
 67                                                                                       $city = stripslashes($a_row['city']);
 68   print "<option value=\"$a_row[city]___$a_row[state]\">$city, $a_row[state]     ($a_row[num_town])";
 69  */                                                                                    }
 70 ?>
 71  <!-- </select>
 72  <br /> -->
Patrick
Lead developer FreeRealty
Other claims to fame: http://www.rwcinc.net
Enrolled Agent, Licensed to Represent Taxpayers before Exams, Appeals and Conference divisions of the Internal Revenue Service.