Joomla 3.4.6
JEM 2.1.5
be aware: changes will be overwritten in case of an update, but maybe it's usefull to someone.
When viewing the events view there are some things that are not looking that nicely
Left-icon
There is no icon displayed as the way for it was changed in Joomla 3
Currently there is a <span class="icon-events"></span> so it's possible to
address it.
The thing here is that it is having the icon class applied to it and therefore you have
to alter a bit of code/css.
File: ....administrator/components/com_jem/views/events/view.html.php
Function: "addToolbar"
there you will see
JToolBarHelper::title(JText::_('COM_JEM_EVENTS'), 'events');
change it to
JToolBarHelper::title('<span class="view_title">'.JText::_('COM_JEM_EVENTS').'</span>', 'events');
the "events" text is the part after the "icon-" and you can change it to something else if you want.
For example you can change it to "calendar" and it would show a calender icon as it's build in.
Build in icons of Joomla:
docs.joomla.org/J3.x:Joomla_Standard_Icomoon_Fonts/nl
--> as you can see there is no "events" in the list.
File: ....media/com_jem/css/backend.css
basicly the class for the icon was changed to icon-events. It's possible to alter the view.html.php
and to change events to 48-events but it would be better to add a class to backend.css
.icon-events
{
background-image: url(../images/icon-48-events.png);
}
When that is added the icon won't be displayed nicely as the css to display things is
expecting a different icon so you need to alter a bit more.
you could add
.container-title {
height: 50px;
}
.container-title h1.page-title {
display: block;
}
.view_title {
position: absolute;
top: 40px;
}
.page-title [class^="icon-"],
.page-title [class*=" icon-"] {
height: 48px;
width: 48px;
}
the class view_title was used so it wouldn't interfere with the page_title class.
just an example
to be continued.....