gustavts
Forum Replies Created
-
good!!!
thank your for your support
Hi MailPoet,
no. Your solution creates a new line under the checkbox. This is not proper for a form in the side bar.
If this is not right, please post here how to do this.Please, read applying your attention my question in the first message:
“How can I include HTML in the checkbox text field without an added HTML field? Adding another HTML field means too much lines, and design becomes ugly”
I have disabled updates until the solution appears
thanks
Unfortunately with that Plugin I’m unable to insert the html with the checkbox.
Finally I have solved the issue adding some PHP replace code at the end of the widget (/wp-content/plugins/mailpoet/lib/Form/Widget.php):
$pol1 = 'Privacy Policy'; $pol2 = '<a href="https://mydomain.com/privacy-policy/"><span style="text-decoration:underline">Privacy Policy</span></a>'; $output = str_replace($pol1, $pol2, $output); // JUST BEFORE THIS $output = $this->wp->applyFilters('mailpoet_form_widget_post_process', $output);Hope it can be solved some day
I fear there is need of one link to read the policies. The GDPR information should be present in the same place where the user should accept the policies before submit the form. In case of no inclusion of the complete text, we should put one link to open the policies for reading.
Thanks for the plugin :). I will try to add the link with that.
Anyway, it is really trivial for the developers to allow HTML code in the same checkbox text of the Widget. Hope they can do this to avoid installation of more plugins.
Thanks!
Hi Daan,
just to write that finally I have solved the issue.
The fault was in php7.0, it seems there is some malfunction with Curl. (Working in one CPanel server). Even when the php-curl was show like active with php7.0, and even when a hand made .php script worked with Curl, it didn’t work with WordPress. A very strange thing!!. I have solved the problem by updating php version.
To solve this problem I have found a plugin named “Core Control” quite useful to me. For some reason it doesn’t appears when searching inside WordPress Plugins page. It is here: https://ww.wp.xz.cn/plugins/core-control/
Now OMGF works. Still I cannot load all the fonts locally although I can see the fault is in the theme.
Thanks for all your help!
* btw: I have found this article for developers about how to bypass absence of Curl: https://www.htmlcenter.com/blog/please-stop-using-curl-in-wordpress-plugins/
it is quite old, I don’t have idea if this can be useful or not. Just I leave here for your knowledge
- This reply was modified 6 years, 4 months ago by gustavts.
thanks!. I have sent you a message with details from your website contact page at https://daan.dev.
I have tried also with another browser (basilisk) instead Firefox and no difference
The “[more info]” is a link to this error mozilla page:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors/Unexpected_type- This reply was modified 6 years, 4 months ago by gustavts.
sorry, it is a fresh install.
I have tried to delete and install again, and the behavior is the samethx
no, That only means “more information”
the fonts to be loaded are “Noto” and “Open Sans”