How do I create skins?

A place for discussion about skinning and design. Before posting questions here you should review the documentation about creating skins.

This thread is closed to new posts. You must sign in to post in the forums.
4/19/2009 8:09:53 PM
Gravatar
Total Posts 29

How do I create skins?

I've read here: http://www.mojoportal.com/creatingskins.aspx and here: http://www.mojoportal.com/understandingthelayoutmasterfile.aspx I made a copy of a skin and I see it listed under my site with the name i have it. But I don't knwo the procedure to edit it. Is it that I should open one of the source code projects and point it to the skin I want to modify? I don't know where to start or what to do, help please.

4/20/2009 5:27:23 AM
Gravatar
Total Posts 18439

Re: How do I create skins?

You can edit skin files with a plain text editor like Notepad.  Mainly you edit the css, you can also edit the layout.master.

When designing a skin you should disable the skin cache by set these to false in Web.config or user.config

<add key="CacheCssOnServer" value="false" />
<add key="CacheCssInBrowser" value="false" />

After you finish you shoud set those back to true.

Hope it helps,

Joe

4/20/2009 8:29:17 AM
Gravatar
Total Posts 29

Re: How do I create skins?

I had already disabled the cache. Its just that I would need to make changes to the layout.master as well as the css files. When I open the directory for the skin in VS2008 I notice that some references cannot be found particularly controls with the prefix "portal". So I wanted to know if there is some kind of skins project that has all the necessary references for the layout.master to work so that when I edit it and the CSS I can see the reflected changes. If I am on the wrong path please indicate.

4/20/2009 8:40:57 AM
Gravatar
Total Posts 18439

Re: How do I create skins?

Those controls are declared in Web.config, so the problem is the way you're opening the directory in VS it does not know about the Web.config.

If you want to use VS I recommend use the source code and the included .sln, otherwise just use a text editor. Or else maybe if you open the whole root web folder in VS it may work.

Hope it helps,

Joe 

4/22/2009 4:38:52 AM
Gravatar
Total Posts 29

Re: How do I create skins?

So basically the best approach to skin editing/creation is simply save and refresh over and over until i get the desired effect?

4/22/2009 6:45:18 AM
Gravatar
Total Posts 18439

Re: How do I create skins?

Thats how I do it, I don't know any magical short cuts. Basically I start with an existing skin that has a layout as close as possible to what I'm going for. I don't pick a starting skin based on colors because those are easier to change than layout. I make small changes and refresh over and over. If I make a change that doesn't have the desired effect I back it out and try something else and gradually it does what I want.

Hope it helps,

Joe

4/22/2009 8:40:26 AM
Gravatar
Total Posts 29

Re: How do I create skins?

Ok, thanks. I'll stick to that.

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