7

I have created a user account. Then signed out of admin and logged in with the new user account. But the new account does not have a logout link, So how can i show it to the other users ?

0

4 Answers 4

10

Create a link to user/logout. It can be a menu item or an HTML link in a block.

0
2

The logout link is included in the user menu that is standard to drupal.

Make sure the equivalent user menu block is active in an appropriate region and you will have your logout link

1

Step by step instructions:

In the view that you want to add 'logout' link

  1. Add new field
  2. Select 'Global: Custom Text'
  3. Uncheck 'Create a label'
  4. In textarea put: 'Logout'
  5. Click 'Rewrite Results'
  6. Check 'Output this field as a link'
  7. Link path: 'user/logout'
  8. Save

That's it.

1

For this you have to follow the following Steps: --Login with Admin --Go to the option of People --Now you have to click on "permissions" option --Here a list of various permissions is open --Now search "Toolbar" where you have to tick on the option of "Use the administration toolbar" for authenticated user --Just save it and it done.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.