By jeremycaldwell on
I need some help adding text to the user "Log In" page: http://caesy.com/user
I would like to add text above the "username" field and create a new paragraph or two under the "Log In" button. The text below the "Log In" button should be outside of the border I have running around the entire log in form, so it would be its own line outside of the log in function.
Could someone please help me add these lines of text? What do I edit? I have tried getting the user.module edited to add this text but with no luck.
Comments
There are several ways you
There are several ways you can do this.
By far the easiest is to create a php page, type the text you want above the login, insert the "login block" in a php snippet and type the text you want after the login block.
Try inserrting php code like this in your page:
module_name = The name of the module (probably "Users")
The number = Is the $delta of the block (not sure - you'll have to experiment)
(snippet is from http://drupal.org/node/26502)
Or you can use the insert_block module
If the login block isn't quite what you want, you can imbed the "login page" in your custom login page
Including another page in your node
The other way is to define custom regions in your php template, and insert the block text before and after the login box. This is really only useful if you think you will need this functionality in a broader aplication.
Hope that helps.
Cheers,
--
tys
BLUE MOUNTAINS health & harmony
www.health-harmony.com.au
building an alternative health & spirituality community in the Blue Mountains
Got it working!
Thanks for the explanations and links to the topics. I was able to create a custom login page and it works awesome.
-Jeremy
www.eternalistic.net
--
Jeremy Caldwell
www.eternalistic.net