Difference between revisions of "Add the custom element based on the Joomla User Group"

(Overview)
Line 5: Line 5:
 
In other use cases, you might want to have a VIP users, or simply "tag" the people that belong to a different [https://docs.joomla.org/User_Group_Access_levels_explained_in_simple_terms Joomla User Group] like this (notice the [[File:Staff.png]] badge under avatar)
 
In other use cases, you might want to have a VIP users, or simply "tag" the people that belong to a different [https://docs.joomla.org/User_Group_Access_levels_explained_in_simple_terms Joomla User Group] like this (notice the [[File:Staff.png]] badge under avatar)
 
:::[[File:Staff badge.png]]
 
:::[[File:Staff badge.png]]
 +
 +
==Template Override Is The Way To Go==
 +
While Joomla users are accustomed to use plugins to change the certain behavior of Joomla functionality, in this particular case it would be very hard to do it with a plugin because every Joomla site have different user groups, with the different unique ID which in turn would cause plugin to display nothing and give impression that it "don't work".

Revision as of 04:18, 16 June 2016

Overview

On our community website we are placing the mini badge in every activity stream item which help us distinguish between users with active, expired, or no license at all.

Badge-activity.png

In our case, the little green badge in lower right-hand corner JS Active help us determine that user is having an active license, so our support team can react accordingly.
In other use cases, you might want to have a VIP users, or simply "tag" the people that belong to a different Joomla User Group like this (notice the Staff.png badge under avatar)

Staff badge.png

Template Override Is The Way To Go

While Joomla users are accustomed to use plugins to change the certain behavior of Joomla functionality, in this particular case it would be very hard to do it with a plugin because every Joomla site have different user groups, with the different unique ID which in turn would cause plugin to display nothing and give impression that it "don't work".