DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

Portal level favicons not working

 6 Replies
 3 Subscribed to this topic
 40 Subscribed to this forum
Sort:
Author
Messages
New Around Here
Posts: 3
New Around Here

I have two portals, both with unique favicon.ico files in their base (eg: 0, 20) directories. But DNN will always show the favicon in my DNN root directory. If I test the favicon files by putting them in the DNN root they work so I knwo it's not a file issue. If I ranme/delete the favicon file from the DNN root both sites show no favicon anymore.   I'm on version 9.06 

Growing Member
Posts: 85
Growing Member

Check your page source for [code] [/code] or similar and make sure the icons are displayed correctly when you access the href links directly. Favicon caching can be a bit odd with some browsers.

Senior Member
Posts: 1607
Senior Member
MVP
MVP
You're an MVP!
New Poster
New Poster
Congrats on posting!
Just having the favicon in the portals folder isn't enough. You need to also be sure to save the setting in Site Settings, if you haven't already done so. It's not by naming convention, unless a new feature got slipped in that I missed (which does happen). :)
Senior Member
Posts: 1322
Senior Member
3 Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
Lifesaver
Lifesaver
You're Life Saver!
New Poster
New Poster
Congrats on posting!
3 Engaged Reader
Engaged Reader
You are an engaged reader!

Also, please note that browsers are notorious for caching Favicons.
Make sure you test favicons in a private browser window or clear your browser cache.

 

 

New Around Here
Posts: 3
New Around Here

When attempting to use the favicon setting in site settings, .ico files don't show up in the file picker, and when I use the upload feature the Save button doesn't light up so I can select the save button. In the site file manager I can't see any .ico files even when I know they are in the selected folder, syncing the folder doesn't help either.

I can do sql updates so if anyone can share the format for the FavIconPath setting in the portalsettings table I could try updating it via the DB

Senior Member
Posts: 1322
Senior Member
3 Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
Lifesaver
Lifesaver
You're Life Saver!
New Poster
New Poster
Congrats on posting!
3 Engaged Reader
Engaged Reader
You are an engaged reader!

Hmm, right. Did you check:

Security > More > MORE SECURITY SETTINGS > Allowable File Extensions

to see if the .ico extension is in there?

If not please add it. :-)

New Around Here
Posts: 3
New Around Here
Posted By Timo Breumelhof - 40FINGERS on 5/18/2023 9:26 AM

Hmm, right. Did you check:

Security > More > MORE SECURITY SETTINGS > Allowable File Extensions

to see if the .ico extension is in there?

If not please add it. :-)

That's it! Thanks for your help everyone!

 

 

These Forums are for the discussion of the open source CMS DNN platform and ecosystem.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
  2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
  3. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  5. No Flaming or Trolling.
  6. No Profanity, Racism, or Prejudice.
  7. Site Moderators have the final word on approving / removing a thread or post or comment.
  8. English language posting only, please.

Would you like to help us?

Awesome! Simply post in the forums using the link below and we'll get you started.

Get Involved