OS Property support center

[Solved] Add new input field in Edit Property page

More
9 years 9 months ago - 9 years 9 months 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: 9 years 9 months ago by Marc. Reason: Solved

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

More
9 years 9 months ago #66541 by Mr. Dam
Replied by Mr. 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
9 years 9 months 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: Mr. DamNguyen Phu Quan