Populating Elgg Registration Page

The registration page is where your new users register in your site. It has the basics fields like user, email, password, etc. But now, what if you want to put right next to registration form the Terms of use or some kind of notice or news?  Follow this tutorial to find that out.

First, open the “register.php” file which is located in “views\default\account\forms\”.

Then, locate this chunk of code:

<div id=”register-box”>
<h2><?php echo elgg_echo(‘register’); ?></h2>
<?php echo elgg_view(‘input/form’, array(‘action’ => “{$vars['url']}action/register”, ‘body’ => $form_body)) ?>
</div>

<div id=”register-box”><h2><?php echo elgg_echo(‘register’); ?></h2><?php echo elgg_view(‘input/form’, array(‘action’ => “{$vars['url']}action/register”, ‘body’ => $form_body)) ?></div>

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.

For more info about Elgg hosting solutions please visit Arvixe-Elgg Hosting

Happy Hosting!

Rodolfo Hernandez

Tags: , , , , , , , | Posted under Elgg | RSS 2.0

Author Spotlight

Rodolfo Hernandez

Rodolfo Hernandez

I like photography and reading books. Currently working for Arvixe as Elgg Community Liaison. Elgg Security Expert Web Security Expert CEO of UDP SW Social Web

Leave a Reply

Your email address will not be published. Required fields are marked *


7 × 6 =

You may use these HTML tags and attributes: <a href="" title="" rel=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>