Gk Contact and Dynamic reply to

GK User
Wed Jun 17, 2015 9:28 am
Hi !
How can I configure the contact plugin so that when I receive a contact form and reply it is send to the user and not to the admin ?
http://www.lejardindescausses.com
Thanks for help.
Regards
User avatar
Gold Boarder

teitbite
Fri Jun 19, 2015 4:12 pm
Hi

I do not think You can force it. There is a box to check for user if he wants to receive the copy. If You want to hack it than You need to contact joomla developers.
User avatar
Moderator

GK User
Thu Jul 16, 2015 3:40 pm
Hi,
the problem is not with the user (don't care if he receives or not a copy)
it is with the reply.
You receive a form by email sent by the website
if you reply to the email, it is not sent to the user but to the website admin.
I gona look for a fix and post it if I can find the solution.
User avatar
Gold Boarder

teitbite
Sat Jul 18, 2015 10:47 am
Hi

You can always use some 3rd party contact extension where this can be changed in it's configuration.
User avatar
Moderator

GK User
Tue Oct 27, 2015 5:07 pm
Hi,
maybe I'm not the only one facing this issue ?
both gk_contact and gk_reservation plugins have the same problem :
no "dynamic-reply to" function
when using Joomla native contact form, you can reply to user (which seems normal)
when using gk_contact (and reservation) : your reply is to website email - that's a bug don't you think ?
I can use third-party extension that's right but it would not make your extensions better - that's too bad.
User avatar
Gold Boarder

teitbite
Thu Oct 29, 2015 8:15 pm
Hi

Our plugins are using settings from joomla mail configuration in global joomla configuration for server. The field called "From mail" is used as the reply email address.
User avatar
Moderator

GK User
Sun Nov 08, 2015 9:34 pm
Dear Repitor,

In the file:
/plugins/system/plg_gkcontact/plg_gkcontact.php
find the line 129 and change
$config->get('config.mailfrom'),
to
$post['gkcontact-email'],

I hope this little tip will help you.

Christos Digkas,
Software Engineer
User avatar
Fresh Boarder

GK User
Sun Nov 08, 2015 9:45 pm
My previous tip works for contact form. For reservation form you must find the file:
/plugins/system/plg_gkreservation/plg_gkreservation.php
go to the line 154 and change the
$config->get('config.mailfrom'),
to
$post['gkreservation-email'],

Of cource, if you want, you can clean it from possible spaces before and after the email.

Christos Digkas
Software Engineer
User avatar
Fresh Boarder

GK User
Thu Nov 12, 2015 9:33 am
Hi Christos
many thanks for your reply ! that's exactly what I needed.
I will try your fix and tell how it works.
If it's okay, that will help every users !
Best regards
User avatar
Gold Boarder

GK User
Thu Nov 12, 2015 1:48 pm
It works like a charm !
Thanks again Christos :D
User avatar
Gold Boarder


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.