Thanks for solving the last problem!
But i still have one, i cannot remove required fields when saving houses. I follow another topic (link) suggestion
ordasoft.com/Forum/RealEstateManager-com...nt/Page-3.html#17266
but didin't work; that is what i did:
To remove the mandatory field you need go to your website/components/com_realestatemanager and open file realestatemanager.html.php then find "static function editHouse"
and delete for "year" this code
Code: |
} else if (form.year.value == ''){
window.scrollTo(0,findPosY(document.getElementById('rooms_alert')));
document.getElementById('alert_year').innerHTML =
"<?php echo _REALESTATE_MANAGER_INFOTEXT_JS_BUILD_YEAR; ?>";
document.getElementById('alert_year').style.color = "red";
document.getElementById('alert_year').style.color = "#FF0000";
return;
|
This changes for adding house from FRONTEND.
FOR backend (adding house from backend) you need edit the same file and delete the same code, but inyour website/administrator/components/com_realestatemanager
What is the problem? When saving in the backend it still asks me to select build year.
Thanks, regards