Skins for supporting pages

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.
10/18/2012 11:24:10 PM
Gravatar
Total Posts 111
Matt Millican InternetMill

Skins for supporting pages

It seems like supporting pages for custom modules use the default skin of the site.  Is it possible to have them inherit the skin from the page where the module?

For example, say I have a "Location search" page and a "Locator" module installed on that page.  The module might have a Details.aspx page (which has the pageid and mid params in the querystring).  The Details.aspx page doesn't seem to be taking the skin that the Location search page has?

Am I missing something here, or has anyone found a way to do this?

Thanks!
Matt

10/19/2012 6:33:44 AM
Gravatar
Total Posts 18439

Re: Skins for supporting pages

Hi Matt,

Put this in your supporting page. As long as you are passing in the pageid to your supporting page this should do it.

protected override void OnPreInit(EventArgs e)
{
AllowSkinOverride = true;
base.OnPreInit(e);
}

Hope that helps,

Joe

10/19/2012 2:25:59 PM
Gravatar
Total Posts 111
Matt Millican InternetMill

Re: Skins for supporting pages

Awesome! Thanks for the quick reply Joe!  I'll try this out later on!

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