- Posts: 2
Labels icons
- Jan H
- Topic Author
- Offline
- New Member
-
Less
More
12 years 5 months ago - 12 years 5 months ago #1
by Jan H
Labels icons was created by Jan H
Hi, Antonio
I was not sure if I should append to this thread or start another. On a similar note, I'm using Moodle 2.2.1 with Joomdle .9
I used the info in this thread to find how to change the icon for my label, but wondered if there is a way to disable the icon?
I use a Label for the purpose of breaking up my section only. By default, the "default.png" icon appears for each row with a label, and it was confusing the viewers.
Any suggestions? For now, I just made a custom blank icon 2 px high, but that is an ugly hack.
I was not sure if I should append to this thread or start another. On a similar note, I'm using Moodle 2.2.1 with Joomdle .9
I used the info in this thread to find how to change the icon for my label, but wondered if there is a way to disable the icon?
I use a Label for the purpose of breaking up my section only. By default, the "default.png" icon appears for each row with a label, and it was confusing the viewers.
Any suggestions? For now, I just made a custom blank icon 2 px high, but that is an ugly hack.
Last edit: 12 years 5 months ago by Antonio Durán.
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7902
12 years 5 months ago #2
by Antonio Durán
Replied by Antonio Durán on topic Labels icons
Thanks for the bug report. I moved your post to a new topic.
I tested and you are right: default icon appears next to label, when no icon should appear.
To fix it, edit administrator/components/com_joomdle/helpers/system.php, function get_icon_url, and add this to the switch statment:
I tested and you are right: default icon appears next to label, when no icon should appear.
To fix it, edit administrator/components/com_joomdle/helpers/system.php, function get_icon_url, and add this to the switch statment:
Code:
case 'label':
$filename = '';
break;
Please Log in or Create an account to join the conversation.