Support Offline: Mon - Fri / 08:00am - 05:00pm (GMT +7)
Your Time: Our Time:

check Add "Item title" to Agent contact form fields

More
8 years 4 months ago #9227 by Gert Smets
Hi there,

In /components/com_jux_real_estate/models/message.php I have added 2 lines as seen below, in order to be able to send the username and content of a message to the Agent.

//send email to agent:
$mailer = JFactory::getMailer();
$config = JFactory::getConfig();
$sender = array(
	    $config->get('mailfrom'),
	    $config->get('fromname')
	    );
$mailer->setSender($sender);
$recipient = $post['toemail'];
$mailer->addRecipient($recipient);
$body = str_replace('{email}', $post['email'], $config_email->email_agent_to_user_body);
$body = str_replace('{user_name}', $post['name'], $body);
$body = str_replace('{user_content}', $post['content'], $body);

I would like to add an extra value which tells the Agent what Realty the message is about. Whether the "Item Title" or "Item Address" would be fine, but I have no idea how to obtain this.

Could you please help me?

Thanks a lot in advance.

Kind regards,
Gert

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

More
8 years 4 months ago #9249 by NT
Hi Springbone,
Thanks for contacting us and choosing our product!
I think as you are difficult issues and also take longer to do it. If a customer they are interested in the product they need, they will automatically depict detailed information of name and address in the message for the agents. Thanks

****************
Best Regards
__DiepNT__
The following user(s) said Thank You: Gert Smets

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

More
8 years 4 months ago #9279 by NT
Hi
This problem is quite laborious and complex. we will try to help you once. please give us 1 2 days (if it fails hope you can understand us :)). Thanks

****************
Best Regards
__DiepNT__

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

More
8 years 4 months ago #9295 by Gert Smets
Thank you very much! I really appreciate all your efforts.

Take your time, we'll see what's possible. I fully understand.

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

More
8 years 4 months ago #9326 by NT
Hi
I have edited the problem send mail "Add Item title to Agent contact form fields" success. please check your site.
Note: you may be interested in and want to tweak this code (Change into your language)
default.php files (components / com_jux_real_estate / views / realty / tmpl / default.php)
line 369. Thanks.

Hope this help!
If you really like our product please write a review and vote 100 points for us at:

extensions.joomla.org/extension/jux-real-estate

It will help us very much to develop our product! Many thanks!

****************
Best Regards
__DiepNT__
Attachments:

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

More
8 years 4 months ago - 8 years 4 months ago #9339 by Gert Smets
Great job! Thank you so much.

Unfortunately I discovered one more problem. My menulink was set to show the most recently edited realties first (see printscreen), but whatever I tried, nothing changes to the list page where my menulink refers to: greatsolutions.be/demetslexdemo/immo

A newly added realty is displayed at the bottom of the page. I really need to have the most recent items on top because many website visitors wouldn't notice new realties when they are shown at the end of the page.

Could you please take a look? Because of your fantastic support I already wrote a very nice review with perfect figures (100). You made me glad, I tried to make you glad . Everybody happy :)
Attachments:
Last edit: 8 years 4 months ago by Gert Smets.

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

More
8 years 4 months ago #9362 by NT
Hi,
Many thanks to you for what you did :).
On the issue of "Order By printing Immo" We wrote the query is incorrect.
I have edited and re-file update realties.php (components / com_jux_real_estate / models / realties.php). I see things working again. please check back. Thanks

****************
Best Regards
__DiepNT__

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

More
8 years 4 months ago #9385 by Gert Smets
My dear friend, thank you so much. Your assistance is really wonderful and unseen.

I have quite some Joomla-friends and I will certainly recommend you to all of them.

Thanks again for all your fantastic work.

YOU ARE THE BEST!!!

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

More
8 years 3 months ago #9400 by NT
OK. Thank you very much for what you have done. Wish you success in business.

****************
Best Regards
__DiepNT__

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

More
5 years 11 months ago #20019 by cluster
hello, can i get the same code so the realty title shows up on the email.
Thanks

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

Moderators: Jackie
Time to create page: 0.075 seconds
Powered by Kunena Forum