Duplicate entry \'0\' for key 1 SQL=INSERT INTO jos_fb_whoisonline (`userid` , `time`, `what`, `task`, `do`, `func`,`link`, `userip`, `user`) \n VALUES (\'0\', \'1223734139\', \'Rooms Search\',\'\',\'\',\'view\',\'/index.php?option=com_fireboard&Itemid=42&func=view&id=3518&catid=12\', \'38.103.63.59\', \'0\')
Favoured: 0
|
|
|
TOPIC: Rooms Search
|
|
|
|
Rooms Search 1 Year, 5 Months ago
|
Karma: 2
|
I'm wonder how can I change the categories under search, for instance.. room number:
if I want to change the room number field search
QUOTE: DEFINE("_EA_SRCH_FOR_ROOMS_1"," 1 ");
DEFINE("_EA_SRCH_FOR_ROOMS_2","min. 2");
DEFINE("_EA_SRCH_FOR_ROOMS_3","min. 3");
to be similar like the area field search
QUOTE:
DEFINE("_EA_SRCH_FOR_DWSPACE_1","< 50");
DEFINE("_EA_SRCH_FOR_DWSPACE_2","40 - 80");
so it can find objects with a room number between 4 and 6... how can it be done?
Or using another approach, if I want to add more room numbers to search (lets say a 10 room minimum) where and what do I have to change?
I could even try those two approaches for rooms and bed rooms, so if you can help me in any of them, please do so!
Thanks.
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
|
|
|
Re:Rooms Search 1 Year, 1 Month ago
|
Karma: 2
|
|
bump!
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
Nococo (User)
Fresh Boarder
Posts: 3
|
|
Re:Rooms Search 10 Months ago
|
Karma: 0
|
Hi,in first, sorry for my badless english...
pages : Estateagent.php
line 907 :
| Code: |
$srm[] = mosHTML::makeOption( '0', _EA_NO_OPTION );
$srm[] = mosHTML::makeOption( '1', _EA_SRCH_FOR_ROOMS_1 );
$srm[] = mosHTML::makeOption( '2', _EA_SRCH_FOR_ROOMS_2 );
$srm[] = mosHTML::makeOption( '3', _EA_SRCH_FOR_ROOMS_3 );
$srm[] = mosHTML::makeOption( '4', _EA_SRCH_FOR_ROOMS_4 );
$srm[] = mosHTML::makeOption( '5', _EA_SRCH_FOR_ROOMS_5 );
$srm[] = mosHTML::makeOption( '6', _EA_SRCH_FOR_ROOMS_6 );
$srm[] = mosHTML::makeOption( '7', _EA_SRCH_FOR_ROOMS_7 );
$sp[2] = mosHTML::«»selectList( $srm, 'rooms', 'class="inputbox" size="1"', 'value', 'text', 0 );
|
in relation with you're language file :
for me "french.php" the same i suppose for "english.php"
line 395
| Code: |
//-----------------------------------------------------------------------------------------
DEFINE("_EA_SRCH_FOR_ROOMS_1"," 1 "«»);
DEFINE("_EA_SRCH_FOR_ROOMS_2","min. 2"«»);
DEFINE("_EA_SRCH_FOR_ROOMS_3","min. 3"«»);
DEFINE("_EA_SRCH_FOR_ROOMS_4","min. 4"«»);
DEFINE("_EA_SRCH_FOR_ROOMS_5","min. 5"«»);
DEFINE("_EA_SRCH_FOR_ROOMS_6","min. 6"«»);
DEFINE("_EA_SRCH_FOR_ROOMS_7","min. 7"«»);
DEFINE("_EA_SRCH_FOR_ROOMS_8","min. 8"«»);
//-----------------------------------------------------------------------------------------
|
and thene modify you're structure.
I can't explain how change the search mode, because i'm looking for at the moment....if you know where is define the query for search in the database 
by !
Post edited by: Nococo, at: 2007/12/15 10:30<br><br>Post edited by: Nococo, at: 2007/12/15 10:31
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
|
|
|
|
|