Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
favicon
lukoie
New
how come that favicon.PNG link is mentioned just in the class/php files?
i can see the way you implemented it - instead of coding every time in the theme file, you just put favicon in the folder and its done, but what if i want to use animated favicon?
is it not better way to let favicon.ICO to be found in the theme root folder along with the png file, or something like that? and if its there - just use it instead of favicon.png?
anyway, i need to use ICO, but i think its not a good idea to edit core files for that!
i can see the way you implemented it - instead of coding every time in the theme file, you just put favicon in the folder and its done, but what if i want to use animated favicon?
is it not better way to let favicon.ICO to be found in the theme root folder along with the png file, or something like that? and if its there - just use it instead of favicon.png?
anyway, i need to use ICO, but i think its not a good idea to edit core files for that!
1
Comments
You can simply change the favicon in the config file.
The code in class.controller.php looks like this: That means: "Try to get the path to the favicon from the config variable 'Garden.FavIcon', but if that can't be found, just use 'themes/'.$this->Theme.'/design/favicon.png'."
So if you want to use your own favicon, just set the Garden.FavIcon config variable... something like:
$Configuration['Garden']['FavIcon'] = 'themes/lukoie/design/favicon.ico';
Vanilla Forums COO [GitHub, Twitter, About.me]
Vanilla Forums COO [GitHub, Twitter, About.me]
is it undocumented feature then?
@Tim, could you please react on my post here: http://vanillaforums.org/discussion/11248/localization-team/#Item_7
Vanilla Forums COO [GitHub, Twitter, About.me]
Here's an example: I wanted to add the apple-touch-icon tag to the Header of my page. I tried first using But because this did not work (error), I ended up adding the code manually before the following render-command was called in default.master.php of my theme: ?
why not add those "undocumented" features as the article, "config file features" or something?
why not giving us full list of possible strings in the config-sample file?
As a result of this terrible catastrophe, we're having to make hard choices about where we spend our limited amount of development time. The current primary goal is to get Vanilla 2 STABLE released, with as few bugs as possible (for you!), at which point we will have some breathing room to work on new themes, better documentation, some of your feature requests, etc.
On the other hand, if you really feel that strongly about the state of our documentation right now, you could always help out and contribute!
Vanilla Forums COO [GitHub, Twitter, About.me]
yes, i would like to contribute, but how am i suppose to do that?
firs of all i've been asking for a localization team
i'd like not to spread my time to localize my forum separately, and someone localizes their, but to coordinate our work
at the moment localization of vanilla is not efficient enough. i'd say not at all.
as for documentation you could at least describe in the wiki itseft who could edit it, and how that permissions are granted.
first of all 'd like to work around localization, and then to write that all in the wiki.
would be also great to have "Theming" category please
its not the easiest way to do. look at this project: http://translate.dokuwiki.org/
this is the best way to collaboratively translate applications.
but now we've came that a lot of string cannot be translated
and even translated ones are not rendered correct on the actual forum.
so basically better to wait for release date, and then do something, as they suggested
The favicon, to me, is a theme item. Shouldn't this be something is set by theme, not by site configuration? I'd like to see this moved to theme powered, not site powered.
On the other hand, put the favicon.ico in he root folder and reference it from the central config file. It could be argued that the favicon is for the the owner of the forum and has nothing to do with what theme happens to be running. After all, you should be able to use a third-party theme and not have it introduce its own favicon. There, I've convinced myself to change my mind ;-)
Nothing works for me. I uploaded my favicon.ico file and renamed it favicon.png. I DELETED all the ones that came with it. And the default one still shows up even though it no longer exists on the server!
Then I tried making all the code changes that were suggested here - and none of that helped either.
I've even checked it in a different browser that I had never looked at the site with until after making these changes and the default one shows up there too!
How in the world could it keep showing up if I've deleted every instance of it that I could find?
@jcncnc
try this in your duplicated question
http://vanillaforums.org/discussion/comment/200344/#Comment_200344
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.