OS Property support center

[Solved] Add new input field in Edit Property page

More
10 years 1 month ago - 10 years 1 month ago #66537 by Marc
Good day,

I have changed the propertyedit.php as well as the details.html.tpl.php to add an additional text field to the General Information section for Properties.

I however am having trouble finding the correct file to change to add the new database column I added to the DB with PHPMyAdmin under the "#__osrs_properties" table.

Which file is responsible for the code-behind input validation and database insert for propertyedit.php?

Thanks,

Marc
Last edit: 10 years 1 month ago by Marc. Reason: Solved

Please Log in or Create an account to join the conversation.

More
10 years 1 month ago #66541 by Dang Thuc Dam
Replied by Dang Thuc Dam on topic Add new input field in Edit Property page
Hi,
The code is used to save property information is in: components > com_osproperty > classes > listing.php
Function: save
Thanks
Dam
The following user(s) said Thank You: Stuart, Marc

Please Log in or Create an account to join the conversation.

More
10 years 1 month ago #66599 by Marc
Thanks, found it in that file and confirm that I am able to change the database with the save function.

Please Log in or Create an account to join the conversation.

Moderators: Dang Thuc DamNguyen Phu Quan