Why *.skins files Work?

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
5/8/2008 1:11:44 PM
Gravatar
Total Posts 59

Why theme.skin files ind data\skins's subfolders Work?

Hello Joe:

Before today, I think *.skin files must be placed in the App_Themes Folder's  subfolders,  but I found you put the *.skins file in data\skins's subfolders, but I didn't find the code that use these *.skins files, Why they Work?

Thanks for helps!

5/8/2008 1:44:32 PM
Gravatar
Total Posts 18439

Re: Why *.skins files Work?

Hi,

I was able to make it work using a VirtualPathProvider, as mentioned in this article.

However, I really don't use asp.net themes (.skin files). I mean the files are there and in some cases I use it to asign css classes but never for direct style because when you do this you end up inline styles in the markup which bulks up the size of the page.

I recommend don't use .skin files and just use CSS. Though it does work so you can make your own choice.

Also I think the VirtualPathProvider doesn't work in medium trust and this is another reason not to rely on .skin files.

Hope it helps,

Joe

5/9/2008 7:45:25 PM
Gravatar
Total Posts 59

Re: Why *.skins files Work?

 

Thank you Joe!

It's Great!

 

You must sign in to post in the forums. This thread is closed to new posts.