Using latest Drupal 7 fully updated.
I need to change the user login system.. Change the title of the Username to 'Question 1' and the Password title to 'Question 2' Is there a way to do this please.
Also, user names and passwords will be based on a series of questions and answers. Is there a way I can get ddslideshow or views-slideshow to randomly read one one line at a time from a text file rather than create a content type and a lot of entries in the content system.
Thanks in advance Roger
On Tue, Oct 9, 2012 at 6:21 AM, Roger arelem@bigpond.com wrote:
Using latest Drupal 7 fully updated.
I need to change the user login system.. Change the title of the Username to 'Question 1' and the Password title to 'Question 2' Is there a way to do this please.
Maybe something like:
<?php /** * Implements hook_form_alter(). */ function deliver_form_alter(&$form, $form_state, $form_id) {
if ($form_id == 'user_login' || $form_id == 'user_login_block') {
// change the labels $form['name']['#title'] = t('My name label here'); $form['pass']['#title'] = t('My password label here');
} }
?>