HTML Module custom panel wrappers

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.
12/11/2013 6:30:46 PM
Gravatar
Total Posts 10

HTML Module custom panel wrappers

Hi Joe,

I'm using altcontent panels in the Header and Footer areas in Artisteer. Is there a way to customize the "OuterWrapperPanel, OuterBodyPanel, etc. in the theme.skin file, so I can have create the layout to match artisteer in those areas and assigned those layouts to the atlcontent panels. 

Currently those controls/css classes are for the content area and I have to create css overrides to correct for differences. Being able to assigned a "SkinId" to those controls would be nice or is there another way to do that?

Thanks, Burl

12/12/2013 9:51:01 AM
Gravatar
Total Posts 2253

Re: HTML Module custom panel wrappers

Hi,

You can use the following in your layout.master for the alt content panels:

<portal:LayoutPanel ID="divAlt1" runat="server" SkinID="TopPane">
     <asp:ContentPlaceHolder ID="altContent1" runat="server"></asp:ContentPlaceHolder>
</portal:LayoutPanel>

<portal:LayoutPanel ID="divAltContent2" runat="server" SkinID="BottomPane">
     <asp:ContentPlaceHolder ID="altContent2" runat="server"></asp:ContentPlaceHolder>
</portal:LayoutPanel>

And then add the following to your theme.skin file:

<portal:LayoutPanel runat="server" SkinID="TopPane"
    Element="div"
    ExtraCssClasses="top-pane clearfix"
    />

<portal:LayoutPanel runat="server" SkinID="BottomPane"
    Element="div"
    ExtraCssClasses="bottom-pane clearfix"
    />

Notice the SkinIDs on the LayoutPanel controls.

HTH,
Joe D.

12/14/2013 11:42:20 AM
Gravatar
Total Posts 10

Re: HTML Module custom panel wrappers

Hi Joe,

I've tried that with the LayoutPanels, however that won't work, it still renders the css and div's from the OuterWrapperPanel, InnerWrapperPanel, OuterBodyPanel and InnerBodyPanel that are assigned to the HTML module by default.

If I could assigned a SkinId to those panels and at the HTML module, then I could have custom OuterWrapperPanel, etc. as needed for my AltContent controls assigned in the header and footer areas.

Hope that makes sense, for now I can create css overrides to remove the formatting applied in artisteer, it's doable for now using the Css Options in the export module, but a pain

Thanks, Burl

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