If you want the plugin to be in your own language, you can translate it (plugins/my-smtp-contact/lang/en.php) and send it to me.
Settings are saved to the plugin directory. Make sure that the necessary rights are permitted.
2020-03-27, 19:57:36 (This post was last modified: 2021-03-22, 13:52:49 by denis.)
Question:
Denis,
I have used your plugin for a while and I appreciate it a lot. Thank you for making it.
I was trying to add a new language file and had some issues where the whole site stopped responding once I chose that language in the plugin options. When I remove the plugin, the site is fine. I can't figure out how to change the language back or debug the issue. Please advise.
I would also like to see compatibility with i18n plugin - something as simple as loading the corresponding language file in MSC would be enough.
Thanks!
Answer:
Make your translation and upload the "xx.php" (for example) file to the directory - /my-smtp-contact/lang/ - then select your language file in the plugin settings. You can make a translation by analogy (en.php | ru.php)
The translation file is a PHP file. And if you break the language syntax, then the plugin will not work.
To return the default language, open the file - /my-smtp-contact/cfg.php
and change line 37 - $m_smtp_c_language="en";
This plugin does not use i18n plugin for translate. It is not necessary.
2020-04-10, 06:43:26 (This post was last modified: 2021-03-22, 13:53:07 by denis.)
Version 1.0.7:
- on/off Default CSS customization
- on/off Customizing the Alert() function
- substituting the senders email in the "From" field (not all hosts and email services support this; when using alternative fields, the last field with the "email" type is substituted)
2020-05-21, 19:17:09 (This post was last modified: 2021-03-22, 13:53:41 by denis.)
Version 1.0.9:
-fixed a problem with the plugin working in the main domain subdirectory (site.com/subdomain/GetSimple files).
Make sure everything is correct here: Settings => Website URL Something like this: http://site.com/subdomain/ In site.com/subdomain/ must be GetSimple files
2020-11-28, 22:08:25 (This post was last modified: 2021-03-22, 13:53:56 by denis.)
Version 1.1.1: DELETED:Â on/off Customizing the Alert() function (this was done because now a different method is used to display notifications).
ADDED:Â
- ability to select notifications: in the modal window or in the page - fixed bugs that did not allow placing multiple forms with alternative fields on one page
- some CSS and JS changes.
Thanks for maintaining this real great plugin.
Can you show me where to customize it so I can have:
name - email - telephone - etc. on the left side
instead of the default on top of the form fields ?
Probably a css thing but haven't figured out where.
Thanks.
Thanks for maintaining this real great plugin.
Can you show me where to customize it so I can have:
name - email - telephone - etc. on the left side
instead of the default on top of the form fields ?
Probably a css thing but haven't figured out where.
Thanks.
Hi,
1. You can ON alternative fields and create the desired form (do not use <br> so that there is no transition to another line);
2. If you want to use the standard form, you need to change the code in the my-smtp-contact.php file. After line 460 remove <br> in the required fields.
Quote:1. You can ON alternative fields and create the desired form (do not use <br> so that there is no transition to another line);
2. If you want to use the standard form, you need to change the code in the my-smtp-contact.php file. After line 460 remove <br> in the required fields.
Hi,
removing the <br> works perfectly,
thanks for the info.
I have a question about the plugin - is it possible to add a field with the option to send a copy of the message to me? if so how to do it?
I mean an additional checkbox with the option of sending a copy to the form sender from the address: email field.
2021-05-19, 14:12:48 (This post was last modified: 2021-05-19, 14:23:03 by denis.)
(2021-05-19, 06:34:59)vixrealitum Wrote: I have a question about the plugin - is it possible to add a field with the option to send a copy of the message to me? if so how to do it?
I mean an additional checkbox with the option of sending a copy to the form sender from the address: email field.
Not. To add this setting, you need to refine the plugin code. Both backend and frontend.
When using a standard form, this is simpler because the field with "e-mail" is known, which is not known when using alternative fields.
So far, I do not plan to add such a setting to the plugin.
Denis, I have one more question for you ... is it possible to make such a form divided into sections with your plugin? Please see the link. I tried to draw it.
(2021-08-26, 07:04:22)vixrealitum Wrote: Denis, I have one more question for you ... is it possible to make such a form divided into sections with your plugin? Please see the link. I tried to draw it.
You can try using alternative fields for this. By wrapping each section in a container and adding the desired class to this container. To do this, you need to know a little HTML and CSS.
The basic styles are located in the style.css file