API
Version 7.x > API > Confused about themes and GetFileIconUrl(item.AttachmentExtension, "48"); View modes: 
User avatar
Member
Member
magnus-tenk - 11/22/2012 8:25:22 PM
   
Confused about themes and GetFileIconUrl(item.AttachmentExtension, "48");
="/App_Themes/Default/Images/FileIcons/48/default.gif">

Why is it going to the Default theme when I am using the EcommerceSite?

If I go to Css Stylesheets -> E-commerce Site -> Theme
it says "Current folder: ~/App_Themes/EcommerceSite"

/Magnus

User avatar
Member
Member
davids-kentico - 11/23/2012 10:16:06 AM
   
RE:Confused about themes and GetFileIconUrl(item.AttachmentExtension, "48");
The Default directory stores files that are common for all sites. Like file icons.

When you take a look at the E-commerce site, I'm sure you will be able to find elements that reference the EcommerceSite directory.

Is there a specific reason why you're asking?

User avatar
Member
Member
magnus-tenk - 11/23/2012 2:55:59 PM
   
RE:Confused about themes and GetFileIconUrl(item.AttachmentExtension, "48");
I was just a bit curious about if I had configured something wrong or if it was the expected behaviour.

I was writing a webpart for showing attached files after my own taste. It makes sense ofc, to have the icons for filetypes in a site wide location.

Thanks, Magnus