Links in demo updated - Radio in all styles adapted
-----

rmcgirr83 - activity24hours

Gesperrt
Forum Member
Site Admin
Beiträge: 649
Registriert: 3. Apr 2019, 17:36
Vorname: Jutta
Dein Land: Schweiz
Wohnort: Zuchwil / SO
Kontaktdaten:

rmcgirr83 - activity24hours

Beitrag von Forum Member » 20. Apr 2019, 09:05

Extension version 1.0.9

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 Ahoi um
- Öffne den Ordner Ahoi - template - event
- Öffne die Datei index_body_stat_blocks_after suche

Code: Alles auswählen

<h3 id="twentyfourhour_stats">{{ lang('TWENTYFOURHOUR_STATS') }}</h3>
und ersetze mit

Code: Alles auswählen

<h3 id="twentyfourhour_stats" class="add-fa">{{ lang('TWENTYFOURHOUR_STATS') }}</h3>
- Erstelle in Deinem Editor (zBsp. Notepad++) eine Datei mit folgendem Inhalt:

Code: Alles auswählen

<!-- INCLUDECSS @rmcgirr83_activity24hours/24stats.css -->
Speichere diese Datei in Ahoi - template - event mit der Bezeichnung overall_header_head_append als html.

Im Ordner Ahoi, 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: 20px;
	color: #494949;
	margin-right: 5px;
	padding-right: 5px;
	content: '\f242';
	vertical-align: middle;
}
Speichere die erstellte css im Ordner theme.

*********
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 Ahoi
- Open the folder Ahoi - 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>
- Create a file with the following content in your editor (e.g. Notepad++):

Code: Alles auswählen

<!-- INCLUDECSS @rmcgirr83_activity24hours/24stats.css -->
Save this file in Ahoi - template - event with the designation overall_header_head_append as html.

In the Ahoi 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: 20px;
	color: #494949;
	margin-right: 5px;
	padding-right: 5px;
	content: '\f242';
	vertical-align: middle;
}
Save the created css in the theme folder

Gesperrt

Zurück zu „Ahoi“