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.
I d like to remove the Login Register from the top right corner of the design. How do I do that?
Thanks
Comments
Comment #1
VM CreditAttribution: VM commentedinspect and if necessary edit page.tpl.php
Comment #2
farshad592 CreditAttribution: farshad592 commentedThanks - I did it using the page.tpl.php and the page-front.tpl.php . But I wish it was a block so I could call it in for some pages in case I needed that.
Comment #3
VM CreditAttribution: VM commentedtest the code in a page content type, if it works add it to a block or invetsigate the logintoboggan.module
Comment #4
danpros CreditAttribution: danpros commented@VM - thanks for your help :)
@farshad592 - Please read the Danland handbook, we already update it.
Closed.
Comment #5
verta CreditAttribution: verta commentedI'd like to make this a feature request.
I have user registration disabled at admin/user/settings using the setting
Public registrations: Only site administrators can create new user accounts.
and I'd like to not have to customize page.tpl.php on future updates to the theme to remove the "Register" link.
Comment #6
VM CreditAttribution: VM commentedIMO, removing the link for everyone isn't the way forward. I'd venture a guess that the link is needed in as many sites as it isn't needed. Thus trading one set of users who have to edit a tpl.php to remove the link for another set that will have to edit the tpl.php to add the link.
Comment #7
danpros CreditAttribution: danpros commentedHi,
Actually the login and register or feed icon can be disable via css
Below is the html output
To disable the login register rss
To disable the login register
To disable only the login
To disable only the register you can set the
#authorize ul li
todisplay:none;
and set the#authorize ul li.first
todisplay:block;
Add so on..
I think the problems solved. I close this.
Thanks,
Dan