Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By Dotgarden on
Hi!
I'd like to add some marketing friendly text for my client on the login page:
/user/login. How do I do this?
Also, same thing for the page once you have successfully logged in.. /user/3
I'd like to add some "welcome" text there with perhaps a link or two. How do i do that?
I'm new to drupal... so, step by step would be helpful.
Thanks!
Comments
Just install the i tweak
Just install the i tweak module that will definitely helping you towards this....
try it out...
http://drupal.org/project/itweak_login
Thanks. I installed it, and
Thanks. I installed it, and it only gives me the option to add text to the registration page (in addition to changing the field names).
I'd like to edit the text for the login page, as well as the login success page.
How to I add text to these? You know, a paragraph?
looks like custom text is coming to iTweak Login as well
per #791148: Ability to add text before username field in login page
--
http://drupaltees.com
80s themed Drupal T-Shirts
hi yuvraj....... i think you
hi yuvraj.......
i think you hve installed itweak_login.
will u tell how i will i do it because i am facing problem.
thanx.
Try using custom template
Try using custom template files for login/register and forgot password. Put in content you want before the login form.
page-user-login.tpl.php
page-user-register.tpl.php
page-user-password.tpl.php
Ask if you need any help!!
Hi - this was exactly what I
Hi - this was exactly what I was looking for too! However, could you tell me where to find/put those files?
what to do
hi
if u recieve answer please tell me also.
Do anyone know where these
Do anyone know where these files are located?
theme folder
put this files into your themes folder from where your theme is being rendered..
Thank you for your
Thank you for your answer.....
but...I'm still not sure on how to do this...
What should the files i create contain?
Only the text that I want to show or do I have to copy some other file and paste the few lines of text into there?
Actually I was hoping that it would be possible just to edit the page (which I called login) and put in a piece of php
so that the owner of the page can edit the text which is displayed after login, without having to edit php files.
Do you know what I mean?
here is a stripped out
here is a stripped out registration page
What do you mean by the owner of the page able to edit the text which is displayed.
combo of custom template file and block
Hi- Some folks already recommended overriding with a custom template file (.tpl.php). Give a little searching for the zillions of tutorial explaining in depth while .tpl.php files are used, where to put them, and what caveats to avoid.
As for adding custom text that the client can modify, consider adding a block (/admin/build/block) that show/hides based on path. The path might be user/* or just user/register specifically, etc. The tricky part here will be how much access you want to grant the owner of the page (assumed you mean your client for whom you're building the site?). You can visit the user permissions page and give this role the ability to administer blocks..
Hope this helps somewhat :)
-Bronius
--
http://drupaltees.com
80s themed Drupal T-Shirts
I solved the problem by...
I did choose to solve the problem like this:
Now the client can change the txt shown to logged in users at the login page.
I have these custom template
I have these custom template files under my theme folder and flush all the cache.
However neither user login,register, request password page is being used.
My theme is ninesixty theme.
look at the info file as to
look at the info file as to where the template files are supposed to be located. sometimes you have to put them in a different folder under the theme itself.