PDA

Zobacz pełną wersję : Favico pod systemy mobilne a Dostępne Strony



cezarylee
10-01-2018, 19:42
Witam,

Panowie, głupie pytanie. Akurat obrabiam jeden z szablonów z Kuźni Dostępnych Stron. Mianowicie "jzukim_bb_2"
Wygenerowałem sobie favico, na PC jest ok, ale jak i gdzie dodać by andriody, iosy i w innych ładowały się iconki ?

Mam linki wygenerowane do ikonek


Include the following code in the head of your HTML document.
<link rel="apple-touch-icon" sizes="57x57" href="/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="/apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="/apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="/apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="/apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="/apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="/apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/manifest.json">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-TileImage" content="/ms-icon-144x144.png">
<meta name="theme-color" content="#ffffff">


Pytanie w którym pliku znajde tagi html by to wkleić, a bedzie mi potrzebne też do wklejenia kodu analityc bodaj też, więc sie i tak przyda znalezienie go...

siristru
11-01-2018, 08:17
Kod ten wklejasz w index.php w części <head>, najlepiej zaraz po meta.

http://prntscr.com/hyuvgq

Musisz zmienić URL do tych plików:


href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/icons/apple-icon-114x114.png">

Kod analitics możesz dodać za pomocą wtyczki Google Analitics

https://extensions.joomla.org/extension/asynchronous-google-analytics/

zwiastun
11-01-2018, 16:45
katalog szablonu/tpl/blocks/head.php