5.1 question: how to add text to standard login box?

dduane - February 24, 2007 - 11:05

Folks,

I just need to add a couple of lines of text to my present login box (check http://www.youngwizards.com and you'll see it down in the left-hand column). Can anyone suggest where I should be looking to do this? The theme is a tweaked version of grey_box.

Thanks!

Best -- Diane

If all you need to do is add

sarvab - February 24, 2007 - 15:21

If all you need to do is add some text above the form, you could add this code to your template.php file

function yourtheme_user_login_block($form) {
  $output = t('Text you want to add');

  return $output . drupal_render($form);
}

Or return drupal_render($form) . $output; to add the text below the form

ALIAN DESIGN

That was exactly what I

dduane - February 24, 2007 - 18:41

That was exactly what I needed. Thanks so much!

Best -- Diane

Diane Duane | The Owl Springs Partnership | Co. WIcklow, Ireland
http://www.dianeduane.com/outofambit | http://www.youngwizards.com

Deleted

spidersilk - August 5, 2009 - 04:27

Deleted

Lynna

Spider Silk Design: http://www.spidersilk.net

 
 

Drupal is a registered trademark of Dries Buytaert.