OS Property support center

Call for details

More
9 years 7 months ago #69195 by Ahmed
Call for details was created by Ahmed
Hi

How can i change "Call for details" text in a property details to a button owner/agent "who published the property"

And for "Request for details"; if a logged in user, it automatically load his user details such as name and mail.

Thanks

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

  • Mr. Dam
  • Away
  • Administrator
  • Administrator
More
9 years 7 months ago #69197 by Mr. Dam
Replied by Mr. Dam on topic Call for details
Hi Ahmed,
You can use Translation tool at Back-end of OS Property to translate the text "Call for details", and in next OS Property version, we will update the name and email into the forms of user if they are logged in.
Thanks
Dam

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

  • Mr. Dam
  • Away
  • Administrator
  • Administrator
More
9 years 7 months ago #69198 by Mr. Dam
Replied by Mr. Dam on topic Call for details
In fact, you can add Name and Email of logged user into the Request More details form by these steps
1. Open file:
components > com_osproperty > helpers > common.php
2. Find function

requestMoreDetails

and
Code:
requestMoreDetailsTop

and below:
Code:
$configClass = OSPHelper::loadConfig();
please add:
Code:
$user = JFactory::getUser();

Thanks
Dam

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

Moderators: Mr. DamNguyen Phu Quan