Active
Project:
Role indicators
Version:
7.x-1.0
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
10 Apr 2015 at 16:03 UTC
Updated:
10 Apr 2015 at 16:04 UTC
Jump to comment: Most recent
Hi
We are attempting to add multiple indicators on the profile avatar or picture, but it seems that the code is adding all the role indicators into one span tag which will in return only show one image.
The code as follows:
else {
$markup = "<span class='" . implode(' ', $classes) . "'></span>";
}this is what is returns:
<span class="role-indicator-2 role-indicator-3 role-indicator-5 role-indicator"></span>
This is what we would like it to do...
<span class="role-indicator-2"></span>
<span class="role-indicator-3"></span>
<span class="role-indicator-5"></span>
<span class="role-indicator"></span>in order to show all our indicators.
Sorry we aren't to good with php, but are very willing to learn if you could point us in the right direction..
Any help would be appreciated.
Thanks
Comments
Comment #1
Kwaailappies commented