Hi,
Could anyone point me into the right direction of how to modify my registration page to be 2 coloumns rather than 1? I was thinking of 1 side being the registration details etc and the right side just being some text information. I'm not to adept at php but I can easily add stuff or modify things given the right code.
I'm Running the latest elgg release 1.7.6 and siteaccess plugin!
Thanks for your time ;)
Regards,
Adam
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.
- rjcalifornia@rjcalifornia
rjcalifornia - 0 likes
- johnandcharlie@johnandcharlie
johnandcharlie - 0 likes
- djSupport@djSupport
djSupport - 0 likes
- djSupport@djSupport
djSupport - 0 likes
- djSupport@djSupport
djSupport - 0 likes
- kxx4@kxx4
kxx4 - 0 likes
- TahoeBilly@TahoeBilly
TahoeBilly - 0 likes
- rjcalifornia@rjcalifornia
rjcalifornia - 0 likes
You must log in to post replies.Hi! In order to do that, please follow this guide:
First, open the “register.php” file which is located in “views\default\account\forms\”.
Then, locate this chunk of code:
Above that line of code, put this:
<div style=”width:400px;float:right;border:dotted cyan 2px; ” >
Replace me with any content you want to put here!!
</div>
And just replace that sentence with anything you want, and you’re done. Put pictures, news, terms of use, anything you want! It will be placed right next to the registration form.
Source: Here!
Rodolfo Hernandez
Arvixe/Elgg Community Liaison
Thanks. That's great. I've adapted it to work with Kevin Jardine's Flexreg replacement for the standard register.php that will be in mod\flexreg\views\default\account\forms\ if you have it installed.
You need to put it above the line
$content = '<div id="register-box">';
and use php:
echo "<div style='width:400px;float:right;border:dotted cyan 2px; ' >";
echo "Replace me with any content you want to put here!!";
echo "</div>";
@rjcalifornia Thank you for your support
its actually not working :-/ even after running upgrade.php it doesnt display the text 'Replace me with any content you want to put here!!' which I left in to test...
sorry my mistake for siteaccess users its in /mod/siteaccess/views/default/account/forms/register.php
@rjcalifornia: please what about adding more fileds like 'date of birth' and 'sex' in the registration form.
plugin custom reg with plugin
profile manager
take a look, you might like
@kxx4 Use this plugin to add custom fields to the profile (Such as date of birth and gender)
@djSupport ok, no problem, any time =)
Rodolfo Hernandez
Arvixe/Elgg Community Liaison