OS Property support center

Request more details, how to edit the fields?

More
10 years 8 months ago #55466 by JOYCE
I would like to change the request more details form, I prefer to have only a request info form with: Name, phone, Email, date from, date to and a text box for comment.
It is possible to change the Request more details form and make a contact form like I need it?
An other option is modify the sharing form into a contact form with the field I want.

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

More
10 years 8 months ago #55481 by Dang Thuc Dam
Replied by Dang Thuc Dam on topic Request more details, how to edit the fields?
Hi,
You can modify the Request more details form at:
components > com_osproperty > templates > your_current_template > details.html.tpl.php
You can add new fields if you want. But in the function that is used to send the Request, you should modify the PHP code to get variables (from new fields).
That function is defined in:
components > com_osproperty > classes > listing.php
function sendRequestDetails
When you get new variables, you can add it into "Request more details" email content. I hope you will be able to implement it, but it should be a complex modification.
Thanks
Dam
The following user(s) said Thank You: JOYCE

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

More
9 years 9 months ago #72722 by Mark
hi

im trying to change the subject field in the contact form, can you point me in the right direction.
thxs

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

More
9 years 9 months ago #72727 by Dang Thuc Dam
Replied by Dang Thuc Dam on topic Request more details, how to edit the fields?
Hi Mark,
Please go to Back-end > OS Property > Translation tool and search the language constant
OS_REQUEST
and then, all the subjects and content will be shown in the list, and you will be able to translate them
Thanks
Dam

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

Moderators: Dang Thuc DamNguyen Phu Quan