-
- 256 Posts
I tried adding a ’favicon’ with this line in the template in the <head> section:
<link rel="icon" type="image/png" href="/tmlpicon.png" />
It works, but it seemed to wreck havoc with my template.
see here:
throughmylensphotography.com
It seemed to block all content from being displayed, and made the two green horizontal bars from the header disappear. It also looks like the CSS is gone from the footer. I haven’t altered the template any other way, or messed with CSS.
The page looks fine when viewed from within the manager.
PM me to find out how you can get a FREE ipad 2!
-
- 256 Posts
I replaced the template and it seemed to take care of a few problems.
Unfortunatley, another issue has arisen.
When you go to
http://throughmylensphotography.com/ You see the home page.
However, when you go to
http://throughmylensphotography.com/index.html you do not see the home page, just a blank page.
Friendly aliases are on, the suffix is .html, and the alias for the home page is index.
PM me to find out how you can get a FREE ipad 2!
don’t do that. index is a very special name. Call it home. Call it main. Call it anything but index.
-
- 256 Posts
changed it to home, and it works!
Thanks!
PM me to find out how you can get a FREE ipad 2!
-
- 356 Posts
in Modx where to put favicon in the root dir or in the template dir
-
- 256 Posts
Just use a line of code like this in your template under <head>
<link rel="icon" type="image/png" href="PATH_TO_IMAGE.png" />
for this example I used a PNG graphics file, but you can use JPEG, Bitmap, or an icon file. Just change the ’type=’ part to match the filetype.
For an icon file use:
type="image/x-icon"
PM me to find out how you can get a FREE ipad 2!