Error Adding 2.3.6.6 classes to theme.skin?

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.
6/10/2011 2:32:54 PM
Gravatar
Total Posts 114

Error Adding 2.3.6.6 classes to theme.skin?

Hi guys,

Added the two controls Joe specified for version 2.3.6.6 skins under Skins based on Artisteer-24* or artisteer-30* need this:

When I go to view the skin in a browser (From Visual Studio), I'm getting a parser error:

 

Server Error in '/' Application.


Parser Error

Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Unknown server tag 'portal:OuterWrapperPanel'.

Source Error:


Line 103:		/>
Line 104:
Line 105:        <portal:OuterWrapperPanel runat="server"
Line 106:   Element="div"
Line 107:   ExtraCssClasses="art-post"

Source File: /App_Themes/default1/theme.skin    Line: 105


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.225 

I pulled all the latest stuff from the repository, did a clean and full solution rebuild. What am I doing wrong?

Thanks in advance,

Duane

 

6/11/2011 5:37:38 AM
Gravatar
Total Posts 18439

Re: Error Adding 2.3.6.6 classes to theme.skin?

Hi Duane,

All the skins we ship under /Data/skins have what is needed so you can compare to those.

Every skin we ship has this at the top of the theme.skin file to declare the controls.

<%@ Register Namespace="mojoPortal.Web.UI" Assembly="mojoPortal.Web" TagPrefix="portal" %>

this was not a new change it has been there a long time. the <portal:OuterWrapper control is a new control but it should be recognized from the pre-existing declaration as shown above.

Hope that helps,

Joe

6/11/2011 11:38:59 AM
Gravatar
Total Posts 114

Re: Error Adding 2.3.6.6 classes to theme.skin?

Thanks, Joe! Your pinned post on Important Skin Changes says only that we needed to add these controls to theme.skin; appreciate the clarification!

Best always!

Duane

 

6/12/2011 1:40:16 PM
Gravatar
Total Posts 18439

Re: Error Adding 2.3.6.6 classes to theme.skin?

Hi Duane,

The reason the sticky thread doesn't mention the:

<%@ Register Namespace="mojoPortal.Web.UI" Assembly="mojoPortal.Web" TagPrefix="portal" %>

at the top of theme.skin is because it is not a new change from a recent version. That declaration has existed in the theme.skin file of every skin we have shipped for many versions. So it should not be missing from your skin unless you are starting from scratch empty files instead of copying and modifying skins we ship which is the recommended way.

Hope that helps,

Joe

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