-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Google Recaptcha does not load using yii2-minify-view #63
Comments
hi @thyseus , the problem is not in min js, is in jsPosition, |
@metola This does work indeed. Thanks a lot ! Is it possible to only use POS_HEAD on a specific controller & action (where the captcha is), but POS_END everywhere else? Javascript "feels" te be more performant to the end user if it is loaded as late as possible. |
Same problem, jsPosition not solve it. ReCaptcha.php added file by this code
but some reason extension not ignoring it |
Come across the same issue here. Not a fan of the fix t change the POS as _end is best practice for JS but doing so does fix the issue. |
@n30fly it works, ty |
Hi rmrevin,
at first: thanks a lot for your wonderful extension. It is great !
unfortunately i stumbled upon a problem:
I use the https://github.com/himiklab/yii2-recaptcha-widget to display an captcha on my page.
This widget loads a .js file directly from google:
https://github.com/himiklab/yii2-recaptcha-widget/blob/master/ReCaptcha.php#L109
When activating your extension, the .js file stops being loaded ! I have no Idea why this happens.
This is my configuration - which is very standard:
There is no AssetBundle to ignore since the file gets loaded from google. I also tried to do this:
but without success.
Do you have any ideas ?
Thanks a lot in advance !
The text was updated successfully, but these errors were encountered: