OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
How to remove the "Square Footage" option????? (0 viewing) 

Joomla Real Estate

Go to bottom Favoured: 0

How to remove the "Square Footage" option?????

finster (Visitor)
Posts: 0
graphgraph
User Offline
How to remove the "Square Footage" option????? 9 Years, 1 Month ago
Karma: 0  
Greetings... great component!

But PLEASE, how can I remove the "Square Footage" label ("House_Size" code), or at least make it not required to add a new listing?

Thank you in advance!!!
Logged Logged
The administrator has disabled public write access.
Taras (User)
Platinum Boarder
Posts: 2857
graphgraph
User Offline Click here to see the profile of this user
Re:How to remove the "Square Footage" option????? 9 Years, 1 Month ago
Karma: 58  
Hello,

To remove the mandatory fields you need go to your website/components/com_realestatemanager and open file realestatemanager.html.php then find "static function editHouse"

and delete for examples for field rooms this code

Code:

else if (form.rooms.value == '' || !isValidNumber(form.rooms.value)){
                window.scrollTo(0,findPosY(document.getElementById('rooms_alert')));
                document.getElementById('rooms_alert').innerHTML =
                 "<?php echo _REALESTATE_MANAGER_INFOTEXT_JS_ROOMS; ?>";
                document.getElementById('rooms_alert').style.color = "red";
                document.getElementById('rooms').style.borderColor = "#FF0000";
                document.getElementById('rooms').style.color = "#FF0000";
                return;
            }



This changes for frontend; for backend need edit the same file realestatemanager.html.php and function, but in your website/administrator/components/com_realestatemanager
The same for other values.


Before make any change make a copy of file.
Logged Logged
The administrator has disabled public write access.
Baggins (User)
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
Re:How to remove the "Square Footage" option????? 7 Years ago
Karma: 0  
hi, I tried removing code but it doesnt fix it.

removed from administrator and publichtml locations.

still displays the square foot and garages etc?

am I doing something wrong?
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8366
graph
User Offline Click here to see the profile of this user
Re:How to remove the "Square Footage" option????? 7 Years ago
Karma: 102  
This code remove only mandatory requirements from fields.
For remove these fields at frontend - You need leave these fields empty.

Regards
Andrew
Ordasoft team
Logged Logged
The administrator has disabled public write access.
Go to top
»