Skip to content
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

zfcUserLoginWidget miss "Stay logged in" checkbox #19

Open
makrochip opened this issue Oct 5, 2013 · 2 comments
Open

zfcUserLoginWidget miss "Stay logged in" checkbox #19

makrochip opened this issue Oct 5, 2013 · 2 comments

Comments

@makrochip
Copy link

Module working fine on /user/login route after install&configure.
In my project that route is excluded, using zfcUserLoginWidget instead on all pages when no user logged in.
Unfortunately the "Stay logged in" checkbox is missing from widget.
Found that user_login_widget_view_template should be changed to use goalio-rememberme/view/zfc-user/user/login.phtml, but not sure how to do this.
Also readed Issue #7, but did not help too much.

@pdobrigkeit
Copy link
Member

Hey,
just checked out the code of the ViewHelper, and without testing, but the following could be able to work.

Add the following to the goaliorememberme.global.php inside the $zfcSettings Array:

'user_login_widget_view_template' => 'zfc-user/user/login',

That should overwrite the injected view template for the zfcUserLoginWidget. I didn't use that ViewHelper before, but if this actually works, I will modify the supplied config to do this out of the box.

@makrochip
Copy link
Author

Thanks for quick reply.
Solution tested and working as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants