A place for discussion about skinning and design. Before posting questions here you should review the documentation about creating skins.
I'm wanting to add some heading content in the top pane to the SearchResults.aspx page. I'm on version 2.3.7.0.
I'm pretty close after researching it and am using a content instance and ModuleWrapper as shown below.
<asp:Content ContentPlaceHolderID="altContent1" ID="MPTopPane" runat="server"> <portal:ModuleWrapper ID="mdl126" runat="server" ConfigureModuleID="126" ShowOnlyOnCmsPages="false"/> </asp:Content>
The odd part is if I have the ContentPlaceHolderID="altContent1" I don't get an error but the content is not placed on the page. However if I change it to altContent2 it works but of course it's in the footer instead of the header.
My custom skin layout.Master contains the following which to me seems like what would be needed for the altContent1 to work but I must be missing something else.
<div id="wrapcenter-top"> <asp:Panel ID="divAlt1" runat="server" CssClass="altcontent1"> <asp:ContentPlaceHolder ID="altContent1" runat="server"></asp:ContentPlaceHolder> <portal:Breadcrumbs id="Breadcrumbs" runat="server"></portal:Breadcrumbs> </asp:Panel> </div>
Any help would be appreciated.
Thanks, Mark
Hi Mark,
try adding HideEmptyAlt1="false" on the <portal:StylesheetCombiner control in your layout.master file.
Hope that helps,
Joe
That did it! Thanks for the help!