Portal Engine Questions on portal engine and web parts.
Version 7.x > Portal Engine > How to update allowed file types in CSS Themes tab? View modes: 
User avatar
Member
Member
DahlinDev - 4/18/2013 9:48:17 PM
   
How to update allowed file types in CSS Themes tab?
It appears when I am in:

CMS Site Manager > Development > CSS Stylesheets > [my site] edit > Theme (tab)

In this section it does not display all files I have on disk here. Is there a way I can update the allowed file types displayed and allowed to upload for this section?

User avatar
Kentico Customer Success
Kentico Customer Success
kentico_martind2 - 4/18/2013 9:57:22 PM
   
RE:How to update allowed file types in CSS Themes tab?
Hello,

Could you please tell me whiich specific file type(s) do you want to see in that section?

Best regards,
Martin Danko

User avatar
Member
Member
DahlinDev - 4/18/2013 10:37:42 PM
   
RE:How to update allowed file types in CSS Themes tab?
I would like to be able to add a .ico file.

User avatar
Kentico Customer Success
Kentico Customer Success
kentico_martind2 - 4/22/2013 3:26:44 AM
   
RE:How to update allowed file types in CSS Themes tab?
Hello,

You should be able to customize the following file: CMSModules\AdminControls\Controls\CSS\ThemeEditor.ascx.cs, method Page_Load() where you can find the allowed file types:
config.AllowedExtensions = "gif;png;bmp;jpg;jpeg;css;skin";
... just add your "ico" extension.

Best regards,
Martin Danko