Apple touch icon
- GK User
- Thu Jun 09, 2016 2:45 pm
Hello guys,
I was changing the touch devices images from different websites. On one website, the image was setup correctly but at the website source code I have noticed, that the path isnt correct.
I found this code:
Next to /templates/ a slash between the name of the template and images is missing. The correct path would be http://fc-greif.de/website/templates/fcgreif/images/logo-wappen.png But I don't know where I can paste the missing slash.
Do you know which file it is?
I was changing the touch devices images from different websites. On one website, the image was setup correctly but at the website source code I have noticed, that the path isnt correct.
I found this code:
- Code: Select all
<link rel="apple-touch-icon" href="http://fc-greif.de/website/templates/fcgreifimages/logo-wappen.png">
<link rel="apple-touch-icon-precompose" href="http://fc-greif.de/website/templates/fcgreifimages/logo-wappen.png">
Next to /templates/ a slash between the name of the template and images is missing. The correct path would be http://fc-greif.de/website/templates/fcgreif/images/logo-wappen.png But I don't know where I can paste the missing slash.
Do you know which file it is?
-
- Senior Boarder
- teitbite
- Sun Jun 12, 2016 11:31 am
Hi
It should be either in /layout/default.php or /layout/blocks/head.php
But You can just add the code to /layout/blocks/head.php again so it will get overwritten.
It should be either in /layout/default.php or /layout/blocks/head.php
But You can just add the code to /layout/blocks/head.php again so it will get overwritten.
-
- Moderator
- GK User
- Tue Jun 14, 2016 11:03 am
Thank you for the answer.
I've checked both files, but I cant see anything which looks like a path to the touch device icon.
I've checked both files, but I cant see anything which looks like a path to the touch device icon.
-
- Senior Boarder
- teitbite
- Sat Jun 18, 2016 11:38 am
Hi
So just add it there as I've said. It's most probably in joomla header details, so instead of digging for it it's much easier to override it.
So just add it there as I've said. It's most probably in joomla header details, so instead of digging for it it's much easier to override it.
-
- Moderator
- GK User
- Mon Jun 20, 2016 3:19 pm
But I have no clue where to put it. I can only see lots of PHP but the code which I have is HTML. And at one documentation which explains how to put CSS into the header, there was a part which said it isnt recommended to put the <link>-tag inside
-
- Senior Boarder
- teitbite
- Wed Jun 22, 2016 1:48 pm
Hi
Just put it at the very end of this file, but first close the PHP tags with "?>". So You will be able to have any html there.
Just put it at the very end of this file, but first close the PHP tags with "?>". So You will be able to have any html there.
-
- Moderator
- GK User
- Fri Jun 24, 2016 10:29 am
Phew... Thank you for being patient with me. I'm not quite good in PHP.
I've put the code at the very end of head.php. Every code seems to be closed and it works. Link to the touch-device.png image on the frontend seems to be ok now.
Thank you for your help.
I've put the code at the very end of head.php. Every code seems to be closed and it works. Link to the touch-device.png image on the frontend seems to be ok now.
Thank you for your help.
-
- Senior Boarder
- teitbite
- Mon Jun 27, 2016 9:05 am
Hi
Glad I could help.
---
If You were satisfied with our support please let other users know on Twitter: http://twitter.com/gavickpro or Facebook: http://www.facebook.com/gavickpro
Glad I could help.
---
If You were satisfied with our support please let other users know on Twitter: http://twitter.com/gavickpro or Facebook: http://www.facebook.com/gavickpro
-
- Moderator
8 posts
• Page 1 of 1