This could be a potential to solution to a problem I have just now. Can I assume that the code you (Steve) posted will cause the login.php file to render inside an overlay popup, in the same way that lightbox media opens on the majority of web 2.0 sites these days?
My own issue is to only allow registration/login via existing online accounts so if this code does what I think I could simple replace the login code with that of the social buttons... :-/
@LJager Yes with limitations, size of the box is made for elgg tabs, it is a little wide.
Update to poorman's lightbox
To correct the width from being 730px wide, change the css here
/mod/embed/views/default/embed/css.php
old code
#facebox .body {
padding: 10px;
background: white;
width: 730px;
-webkit-border-radius: 12px;
-moz-border-radius: 12px;
}
New code
#facebox .body {
padding: 10px;
background: white;
-webkit-border-radius: 12px;
-moz-border-radius: 12px;
}
If you have a theme you might have to fix the css there as well
/mod/yourtheme/views/default/css.php
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.