Topic on Project:Support desk/Flow

Skin Favicon and Logo

5
Nasirkhan (talkcontribs)

I want to use the custom Favicon and use the logo configured in the LocalSettings.php file. I found the following code in the Skin:Example, but unfortunately it does not show the logo.


Please help me to solve the issue and you may refer a doc where I can find the solution.


```

<div id="p-logo" class="mw-portlet" role="banner">

               <a href="{{link-mainpage}}">

               {{#data-logos}}

                   {{#icon}}<img src="{{.}}" width="40" height="40">{{/icon}}

                   {{#wordmark}}<img src="{{src}}" width="{{width}}" height="{{height}}">{{/wordmark}}

                   {{^wordmark}}<h1>{{msg-sitetitle}}</h1>{{/wordmark}}

               {{/data-logos}}

               </a>

           </div>

```

Nasirkhan (talkcontribs)

anyone knows the answer?

Jonathan3 (talkcontribs)

Do you mean you want a favicon and want that favicon to be the same as your existing logo?

Nasirkhan (talkcontribs)

I need two help,

  1. I need to know how to set a favicon.
  2. Example skin does not show any logo, whereas the logo path mentioned on the LocalSettings have a file there. So what is the reason of now showing it?
Jonathan3 (talkcontribs)

Just upload a favico.ico to the main directory. There are lots of articles about this (and probably better ways) on the internet

Skins are complicated. Just use Vector for now :-)

Reply to "Skin Favicon and Logo"