Wichtig: Diese Anleitung gilt für den Mixture ab Styleversion 3.2.5.5 (Diese Änderungen müssen nur gemacht werden, wenn vor der Extension ein Icon angzeigt werden soll)
Important: This instruction is valid for the Mixture from style version 3.2.5.5 on. (These changes must only be made if an icon is to be displayed before the extension)
Damit diese Erweiterung im Statistikblock mit Font Awesome Icon angezeigt wird, muss man einige Änderungen vornehmen. (Scroll down for EN instruction)
- Gehe zu Extensions - rmcgirr83 - activity24hours - styles
- Kopiere den Ordner prosilver und nenne ihn in Mixture um
- Öffne den Ordner Mixture - template - event
- Öffne die Datei
index_body_stat_blocks_after
suche
Code: Alles auswählen
<h3 id="twentyfourhour_stats">{{ lang('TWENTYFOURHOUR_STATS') }}</h3>
Code: Alles auswählen
<h3 id="twentyfourhour_stats" class="add-fa">{{ lang('TWENTYFOURHOUR_STATS') }}</h3>
Code: Alles auswählen
<!-- INCLUDECSS @rmcgirr83_activity24hours/24stats.css -->
overall_header_head_append
als html.Im Ordner Mixture, erstelle einen Ordner theme.
Erstelle eine leere css mit dem Namen 24stats.css
Füge in die erstellte css folgenden Inhalt ein:
Code: Alles auswählen
.add-fa::before {
font-family: FontAwesome;
font-size: 17px;
color: #D2D2D2;
background: -moz-linear-gradient(top, #D2D2D2 0%, #B5B5B5 90%);
background: -webkit-linear-gradient(top, #D2D2D2 0%,#B5B5B5 90%);
-webkit-background-clip: text;
-moz-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
margin-right: 5px;
padding-right: 5px;
content: '\f254';
vertical-align: middle;
}
*********
EN instruction
To display this extension in the statistics block with font Awesome icon, you need to make some changes.
- Go to Extensions - rmcgirr83 - activity24hours - styles
- Copy the folder prosilver and rename it to Mixture
- Open the folder Mixture - template - event
- Open the file
index_body_stat_blocks_after
search
Code: Alles auswählen
<h3 id="twentyfourhour_stats">{{ lang('TWENTYFOURHOUR_STATS') }}</h3>
and repleace it with
Code: Alles auswählen
<h3 id="twentyfourhour_stats" class="add-fa">{{ lang('TWENTYFOURHOUR_STATS') }}</h3>
Code: Alles auswählen
<!-- INCLUDECSS @rmcgirr83_activity24hours/24stats.css -->
overall_header_head_append
as html.In the Mixture folder, create a theme folder.
Create a file 24stats.css
Insert the following code into 24stats.css:
Code: Alles auswählen
.add-fa::before {
font-family: FontAwesome;
font-size: 17px;
color: #D2D2D2;
background: -moz-linear-gradient(top, #D2D2D2 0%, #B5B5B5 90%);
background: -webkit-linear-gradient(top, #D2D2D2 0%,#B5B5B5 90%);
-webkit-background-clip: text;
-moz-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
margin-right: 5px;
padding-right: 5px;
content: '\f254';
vertical-align: middle;
}