OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
Property ID editable in "edit"-screen in Frontend (0 viewing) 

Joomla Real Estate

Go to bottom Favoured: 0

Property ID editable in "edit"-screen in Frontend

KimmoV (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Property ID editable in "edit"-screen in Frontend 3 Years, 1 Month ago
Karma: 0  
Hi

I do not think that the field PropertyID should be editable by anyone really when I have chosen auto-increment.
At the moment, the owner can enter "edit" and change it to whatever they want.



Where can I hide this field from the edit-screen?

Cheers,
Kimmo
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8230
graph
User Offline Click here to see the profile of this user
Re:Property ID editable in "edit"-screen in Frontend 3 Years, 1 Month ago
Karma: 101  
Hello

By default in OrdaSoft property management software we only recommend this ID and you may change this at edit time.

You may hide this from frontend "add house" page with help:
Please open below flle

{your site}/components/com_realestatemanager/realestatemanager.html.php
find rows look like:
Code:

                    <div class="row_add_house" id='houseid_label' >
                        <span><?php echo _REALESTATE_MANAGER_LABEL_PROPERTYID; ?>:*</span>
                        <input class="inputbox" type="text" id="houseid" name="houseid"
                          size="20" maxlength="20" value="<?php echo $row->houseid; ?>" />
                        <input type="hidden" name="idtrue" id="idtrue" value="<?php echo $row->id_true; ?>"/>
                    </div>



and replace to

Code:

                    <div class="row_add_house" id='houseid_label' >
                        <span><?php echo _REALESTATE_MANAGER_LABEL_PROPERTYID; ?>:*</span>
                        <input class="inputbox" type="hidden" id="houseid" name="houseid"
                          size="20" maxlength="20" value="<?php echo $row->houseid; ?>" />
                        <input type="hidden" name="idtrue" id="idtrue" value="<?php echo $row->id_true; ?>"/>
                    </div>



Please backup this file first

Regards
OrdaSoft team
Logged Logged
Last Edit: 2021/02/19 09:36 By admin.
The administrator has disabled public write access.
Go to top
»