Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/drupix/username_user_menu
🐮🇨🇭🫕 A simple module that add a menu item "User name" to the user account menu.
https://github.com/drupix/username_user_menu
drupal modules
Last synced: about 2 months ago
JSON representation
🐮🇨🇭🫕 A simple module that add a menu item "User name" to the user account menu.
- Host: GitHub
- URL: https://github.com/drupix/username_user_menu
- Owner: drupix
- License: gpl-2.0
- Created: 2022-03-08T00:28:53.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T23:00:33.000Z (about 2 years ago)
- Last Synced: 2024-11-06T17:57:40.741Z (3 months ago)
- Topics: drupal, modules
- Language: PHP
- Homepage:
- Size: 16.6 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Username user menu
[![drupal](https://img.shields.io/badge/drupal-^9%20||%20^10-blue.svg?style=flat-square&logo=drupal)](https://drupal.org/)
[![LICENSE](https://img.shields.io/github/license/drupix/twbase_utils?style=flat-square)](https://raw.githubusercontent.com/drupix/twbase_utils/master/LICENSE.txt)## Features
This is a simple module that add a menu item **"User name"** to the user account menu. At runtime, the menu item is replaced with the real "username" of the logged in user.
If the user entity has the following extra fields, they will be used instead of the username:
* field_firstname : First name / Text (plain)
* field_lastname : Last name / Text (plain)### Example
**Default (without extra fields) :**
* username
* My account (logged in users only)
* Log out ("Log in" for anonymous users)**With extra fields :**
First name: John\
Last name : Doe* John Doe
* My account (logged in users only)
* Log out ("Log in" for anonymous users)**Notes**: note that you have to manually edit the menu and rearrange items at .
## Installation
* Install as you would normally install a contributed Drupal module. Visit:
for further information.## Maintainers
Current maintainers:
* [drupix](https://www.drupal.org/u/drupix)
This project has been sponsored by myself!