simple register

Hi,

I want to have a "simpleregister" form with an action "simpleregister".

I copied the "register.php" form and renamed it to "simpleregister.php". I copied the "register.php" action and renamed it to "simpleregister.php".

I called on my dashboard page:

elgg_view_form('simpleregister');

The form is shown, but with enter on the register button I get the error message "file for action 'simpleregister' not found".

In function aalborg_theme_init() I added:

elgg_register_action('simpleregister', 'http://mydomain.com/elgg/actions/simpleregister.php', 'public');

What is missing ?

Beginning Developers

Beginning Developers

This space is for newcomers, who wish to build a new plugin or to customize an existing one to their liking