header-xh-01 header-xh-02 header-xh-03 header-xh-04 header-xh-05 header-xh-06 header-xh-07 header-xh-08 header-xh-09 header-xh-10 header-xh-11 header-xh-12 header-xh-13 header-xh-14
Sie sind hier: Startseite > Templates > fhs-basic-all > fhs-basic-all Version 2.4eu > favicon.php
Saarland English
A
Letzte Bearbeitung:

Logo fhs-basic-all V. 2.0
© by Karl Richard Lembach

favicon.php

In der ursprüngliche template.htm (also der von Frank Seidel) gibt es die Deklaration der Favicons:

<!-- *** IMPORTANT !!! Replace this part with your own data !!! (start) *** -->
<!-- *** for new icons, manifest ... use: https://realfavicongenerator.net/ *** -->
<link rel="apple-touch-icon" sizes="180x180" href="<?=$pth['folder']['templateimages']?>favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="<?=$pth['folder']['templateimages']?>favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="<?=$pth['folder']['templateimages']?>favicon/favicon-16x16.png">
<link rel="manifest" href="<?=$pth['folder']['templateimages']?>favicon/site.webmanifest">
<link rel="mask-icon" href="<?=$pth['folder']['templateimages']?>favicon/safari-pinned-tab.svg" color="#ddbb33">
<link rel="shortcut icon" href="<?=$pth['folder']['templateimages']?>favicon/favicon.ico">
<meta name="apple-mobile-web-app-title" content="My App">
<meta name="application-name" content="My App">
<meta name="msapplication-TileColor" content="#2d89ef">
<meta name="msapplication-TileImage" content="<?=$pth['folder']['templateimages']?>favicon/mstile-144x144.png">
<meta name="msapplication-config" content="<?=$pth['folder']['templateimages']?>favicon/browserconfig.xml">
<meta name="theme-color" content="#ffffff">
<!-- *** replace this part with your own data !!! (end) *** -->

Diesen Bereich habe ich dort entfernt und in die favicon.php verlagert.
Außerdem wurden die HTML-Kommentare in PHP-Kommentare umgewandelt:

Dateiname: templates/fhs-basic-all2_4_2-eu/favicon.php

<?php // *** IMPORTANT !!! Replace this part with your own data !!! (start) *** ;?>
<?php // *** for new icons, manifest ... use: https://realfavicongenerator.net/ *** ;?>
<?php // *** am besten den absoluten Pfad durch die Pfadangabe per Variable ersetzen: ;?>
<?php // *** z.B.: "/templates/fhs-basic-all2_3/images/" durch <?=$pth['folder']['templateimages']? > *** ;?>
<link rel="apple-touch-icon" sizes="57x57" href="<?=$pth['folder']['templateimages']?>favicon/apple-touch-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="<?=$pth['folder']['templateimages']?>favicon/apple-touch-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="<?=$pth['folder']['templateimages']?>favicon/apple-touch-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="<?=$pth['folder']['templateimages']?>favicon/apple-touch-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="<?=$pth['folder']['templateimages']?>favicon/apple-touch-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="<?=$pth['folder']['templateimages']?>favicon/apple-touch-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="<?=$pth['folder']['templateimages']?>favicon/apple-touch-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="<?=$pth['folder']['templateimages']?>favicon/apple-touch-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="<?=$pth['folder']['templateimages']?>favicon/apple-touch-icon-180x180.png">
<link rel="apple-touch-icon" sizes="180x180" href="<?=$pth['folder']['templateimages']?>favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="<?=$pth['folder']['templateimages']?>favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="192x192" href="<?=$pth['folder']['templateimages']?>favicon/android-chrome-192x192.png">
<link rel="icon" type="image/png" sizes="16x16" href="<?=$pth['folder']['templateimages']?>favicon/favicon-16x16.png">
<link rel="icon" type="image/png" sizes="32x32" href="<?=$pth['folder']['templateimages']?>favicon/favicon-32x32.png">
<link rel="manifest" href="<?=$pth['folder']['templateimages']?>favicon/site.webmanifest">
<link rel="mask-icon" href="<?=$pth['folder']['templateimages']?>favicon/safari-pinned-tab.svg" color="#e5823f">
<link rel="shortcut icon" href="<?=$pth['folder']['templateimages']?>favicon/favicon.ico">
<meta name="msapplication-TileColor" content="#ee8452">
<meta name="msapplication-TileImage" content="<?=$pth['folder']['templateimages']?>favicon/mstile-144x144.png">
<meta name="msapplication-config" content="<?=$pth['folder']['templateimages']?>favicon/browserconfig.xml">
<meta name="theme-color" content="#ffffff">
<?php // *** replace this part with your own data !!! (end) *** ;?>

Zur Anpassung an eigene Icons sind eigentlich nur die Dateien im Ordner '/templates/fhs-basic-all2_4-eu/images/favicon/' zu ersetzen. Nur dann, wenn man auch die Farben anpassen möchte, sind in der favicon.php Anpassungen notwendig.


| Seitenanfang | |  - - - By CrazyStat - - -

Please activate JavaScript in your browser.

» Sitemap