This plugin greets a user by name, and serves as a sample plugin for https://github.com/TACC/Core-CMS.
__dist-name__
:djangocms-tacc-sample
__package_name__
:djangocms_tacc_sample
__ClassName__
:TaccsiteSample
- "Plugin Name": "Sample (Greet User)"
- Add instance of plugin to a page.
- Set the "Guest Name" to any value.
- See plugin output when logged in and not logged in.
- Greets guest user as "Guest", unless configured otherwise.
- Greets guest user by guest name set via plugin instance.
- Greets logged in user by name based on available user data:
- "FirstName LastName"
- "FirstName"
- "username"