Parser error on portal:SkinList

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/25/2011 5:40:52 PM
Gravatar
Total Posts 1203
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

Parser error on portal:SkinList

Hi Joe, I'm working from latest source code and am receiving this error when going into Administration, Site Settings:

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:SkinList'.

Source Error:

Line 54:                                 <mp:SiteLabel ID="lblSkin" ForControl="ddSkins" runat="server" CssClass="settinglabel"
Line 55:                                     ConfigKey="SiteSettingsSiteSkinLabel" EnableViewState="false"></mp:SiteLabel>
Line 56:                                 <portal:SkinList id="SkinSetting" runat="server" />
Line 57:                                 <portal:mojoHelpLink ID="MojoHelpLink2" runat="server" HelpKey="sitesettingssiteskinhelp" />
Line 58:                                 <asp:Button ID="btnRestoreSkins" runat="server" Visible="false" />


Source File: /Admin/SiteSettings.aspx    Line: 56

Not sure how to recover from this one.

Thanks Joe!

Jamie

5/25/2011 5:51:05 PM
Gravatar
Total Posts 18439

Re: Parser error on portal:SkinList

Hi Jamie,

I know the Web.config file is the most problematic file in terms of working from the repository because you may have custom changes.

In my copy and the repository copy it should have this in the <pages><controls> section of Web.config:

<add tagPrefix="portal" tagName="SkinList" src="~/Controls/SkinSetting.ascx"/>

reverting your copy and restoring customizations should solve it, or just adding that to your copy.

Hope that helps,

Joe

5/25/2011 5:54:24 PM
Gravatar
Total Posts 18439

Re: Parser error on portal:SkinList

I should also mention what its for.

Its a new control that encapsulates the skin list and the preview in colorbox. The same control is now also used in page settings and in the user profile when page level skins or user level skins are enabled, so it is easy to browse the skins in those situations. Previously it was page specific code only in site settings.

Best,

Joe

5/25/2011 6:00:57 PM
Gravatar
Total Posts 1203
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

Re: Parser error on portal:SkinList

Thanks Joe, that helps a ton. I wasn't sure exactly where to look for that definition, but now I know that they are ultimately defined in web.config. Sounds like a good addition to the controls!

Jamie

5/25/2011 6:09:42 PM
Gravatar
Total Posts 1203
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

Re: Parser error on portal:SkinList

I wanted to mention too that I really like the new ColorBox help overlay, and the way it opens to match the browser window size. However, with the site maximized on a widescreen monitor, the help window opens so wide that it's kind of hard to read. Do you think it would be reasonable to limit the maximum width of the window to 800 or 1000 px?

Jamie

5/25/2011 6:24:46 PM
Gravatar
Total Posts 18439

Re: Parser error on portal:SkinList

Hi Jamie,

Its basically the same thing as declaring controls at the top of .aspx files or .ascx files, but putting them in Web.config makes it so you don't have to declare them in the .aspx or .ascx files.

btw, on the topic of making web.config easier, I have implemented in recent versions but not yet documented or advertised that we no longer need to maintain smtp settings in both the system.net section of web.config and in user.config. It should now work entirely based on user.config or sitesettings smtp settings.

So we can probably change the documentation, but I wonder if you could test and verify my work before we do change the docs that it works correctly for registration, password recovery, places where it previously used the other settings? ie change or disable those old settings and verify it works. 

No pressure or anything, just if you get a chance, it would help me and I figure it would save you one thing you've had to maintain ;-D

Best,

Joe

 

5/25/2011 6:33:31 PM
Gravatar
Total Posts 18439

Re: Parser error on portal:SkinList

I'm still pondering the colorbox thing.

Basically now it uses something you can use anywhere, if you make a link with the class cblink it will open in a color box with the default settings. The default settings can be configured on a property of the ScriptLoader control in layout.master. So the default settings need to work in a wide variety of situations for that convenience, but other configurations could be wired up specifically for some links. Maybe I could add a property to the HelpLink control where you could set that configuration from theme.skin, but then it would have to be wired up specifically for the help link in addition to the more generic cblink class. So there are tradeoffs I'm still pondering.

But, yes thanks to you for brining in the colorbox! I like it much better than the old greybox lightbox plugin.

boy thats a weird sentence no one else would understand except us web folk ;-D

Best,

Joe

5/25/2011 6:58:13 PM
Gravatar
Total Posts 1203
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

Re: Parser error on portal:SkinList

Ha, you're right! I'll do some testing on SMTP tomorrow morning and let you know how it goes.

Jamie

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