Signup / Login links
<a {{ modal_attributes('auth/signup', {'url': current_path()}, false) }} class="multi-link">
<i class="fa fa-user"></i>
<span class="text">{{ trans('member.signup') }}</span>
</a>
Doesn't work, if we hardcode it to:
<a {{ modal_attributes('/absolute/path/auth/signup', {'url': current_path()}, false) }} class="multi-link">
<i class="fa fa-user"></i>
<span class="text">{{ trans('member.signup') }}</span>
</a>
It works
Interesting. I need to look at what modal_attributes actually does.
I changed modal url in ModalAttributes.php file, I added also index.php because my hosting is stupid. https://github.com/chack1172/mybb2/commit/1d0ceba9b9e9d2363640536889ff5292b3230358
@euantorano this may have something to do with the way we are getting the modal in javascript
Yeah, I’m going to rewrite the modal class this weekend hopefully and hopefully resolve this once and for all :)
On 16 Dec 2016, at 23:03, Eric Hocking [email protected] wrote:
@euantorano https://github.com/euantorano this may have something to do with the way we are getting the modal in javascript
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/mybb/mybb2/issues/208#issuecomment-267717261, or mute the thread https://github.com/notifications/unsubscribe-auth/AAttcRdIFtF0457XcYQQPSQ8yV1kcfJPks5rIxi9gaJpZM4ID8h5.