OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
Search options in free edition (0 viewing) 

Joomla Real Estate

Go to bottom Favoured: 0

Search options in free edition

panda (Visitor)
Posts: 0
graphgraph
User Offline
Search options in free edition 10 Years, 6 Months ago
Karma: 0  
Hi all , very nice extension , i'm building a real estate site and i'm trying you free edition before purchasing pro version ... and i'm working around the search module .
I would like to have in the basic search fields option to search by lot size giving to users option like price or year tabs ... from ... to ...

is that possible ?
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8367
graph
User Offline Click here to see the profile of this user
Re:Search options in free edition 10 Years, 6 Months ago
Karma: 102  
Hello,

Please check our property search module for Real estate manager
ordasoft.com/All-Download/View-document-...module-2.2-Free.html

You may configure it in Joomla module manager

Thanks,
OrdaSoft team
Logged Logged
The administrator has disabled public write access.
panda (Visitor)
Posts: 0
graphgraph
User Offline
Re:Search options in free edition 10 Years, 6 Months ago
Karma: 0  
i tried all possibily configuration in search but i need to manually edit my one i think ...

i need to search by lot size , with $lotsize , $lotsize_to list in search , i saw voice is already listed in additional info when the agent insert data , so i only need to add list of option ( already done ) but i need function to search for that value
Logged Logged
The administrator has disabled public write access.
panda (Visitor)
Posts: 0
graphgraph
User Offline
Re:Search options in free edition 10 Years, 6 Months ago
Karma: 0  
I cannot post all code , forum give me error , so here attached what i have done and what i think i miss ...
File Attachment:
File Name: Modifica_Sito.txt
File Size: 4369
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8367
graph
User Offline Click here to see the profile of this user
Re:Search options in free edition 10 Years, 6 Months ago
Karma: 102  
Hello,

search in real estate manager we did in file:
{site}/components/com_realestatemanager/realestatemanager.php

function: searchHouses

and check how we do search for price: $pricefrom ; $priceto;

Thanks,
OrdaSoft team
Logged Logged
The administrator has disabled public write access.
panda (Visitor)
Posts: 0
graphgraph
User Offline
Re:Search options in free edition 10 Years, 6 Months ago
Karma: 0  
in the file SITOcomponentscom_realestatemanagerrealestatemanager.php

i found the part of the code used for LotSize and i removed the Whole if istance

Code:

if (isset($_REQUEST['Lot_size']) && $_REQUEST['Lot_size'] = "on") {
                $Lot_size = " ";
                if ($is_add_or)
                    $Lot_size = " or ";
                $is_add_or = true;
                $Lot_size .=" LOWER(b.lot_size) LIKE '$exactly' ";
            }



and i removed $Lot_size from here

Code:

$poisk_search = $session->get("poisk", "");

        $where = array();
        $Houseid = " ";
        $Description = " ";
        $Title = " ";
        $Address = " ";
        $Country = " ";
        $Region = " ";
        $City = " ";
        $District = " ";
        $Zipcode = " ";
        $Extra1 = " ";
        $Extra2 = " ";
        $Extra3 = " ";
        $Extra4 = " ";
        $Extra5 = " ";
        $Extra6 = " ";
        $Extra7 = " ";
        $Extra8 = " ";
        $Extra9 = " ";
        $Extra10 = " ";
        $Bathrooms = " ";
        $Bedrooms = " ";
        $Broker = " ";
        $Contacts = " ";
        $Agent = " ";
        $Area = " ";
        $Feature = " ";
        $HOA_dues = " ";
        $Lot_size = " ";
        $Model = " ";
        $School = " ";
        $School_district = " ";
        $Rent = " ";
        $RentSQL = " ";
        $RentSQL_JOIN_1 = " ";
        $RentSQL_JOIN_2 = " ";
        $RentSQL_rent_until = " ";



and here too

Code:

$RentSQL = $RentSQL . (($is_add_or) ? ( "( ( " . $Houseid . "  " . $Description . "  " . $Title . "  " . $Address .
                        "  " . $Country . "  " . $Region . "  " . $City . "  " . $District . "  " . $Zipcode . "  " . $Extra1 .
                        "  " . $Extra2 . "  " . $Extra3 . "  " . $Extra4 . "  " . $Extra5 . "  " . $Bathrooms . "  " . $Bedrooms . "  " . $Broker .
                        "  " . $Contacts . "  " . $Agent . "  " . $Area . "  " . $Feature . "  " . $HOA_dues . "  " . $Lot_size .
                        "  " . $Model . "  " . $School . "  " . $School_district . "  ))") : (" "));

Logged Logged
The administrator has disabled public write access.
Go to top
»