I am trying to add a new button or link to my log in form. The button would simply link to another page outside of the drupal framework. I am looking at the
form_alter hook but I am not sure if I completely understand how to implement my update.
do I have to update the template.php page?
The form is the login form on the front page. Any help would be great.
I am pretty sure I need something like the following :
<?php $form['preview'] = array( '#type' => 'button', '#value' => t('Preview'), '#weight' => 19, ); ?>
But I need to add the link. request.php to the button so when clicked it will go to request.php. Also I am not sure where to add this code and how to direct it to my log in form.