Place content before Vertical Menu

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
12/17/2010 7:55:46 AM
Gravatar
Total Posts 10

Place content before Vertical Menu

Hi,

I am trying to port a site into MojoPortal.  I opted to use the artisteer-24verticalmenu3 template.  The main site menu is vertical and placed in the left hand pane.  I want to put some content in the left pane above the vertical menu.   The content comprises some major important links and needs to go on all pages.

Sorry I couldn't find any help in documentation or forum.  How can I achieve my desriable layout?

Many thanks,

Colin

 

 

 

12/17/2010 9:19:19 AM
Gravatar
Total Posts 2239

Re: Place content before Vertical Menu

Hi Colin,

You will need to edit the layout.master file of your chosen skin. For the artisteer-24verticalmenu3 skin specifically, you need to add the following directly above the <portal:SiteMenu control on line 80.

<asp:Panel ID="divAlt1" runat="server" CssClass="altcontent1">
<asp:ContentPlaceHolder ID="altContent1" runat="server"></asp:ContentPlaceHolder>
</asp:Panel>

Once you save this, you will have an additional content panel available named "Alternate Pane 1" to which you can add content.

HTH,
Joe D.

12/17/2010 9:45:58 AM
Gravatar
Total Posts 10

Re: Place content before Vertical Menu

Hi Joe,

Thank you. That is neat.  If I want the same content to appear on every page at that position, can I put the content directly in layout.master at line 80 instead of your recommended code. 

I suspect it is very bad practice to do it that way?  Perhaps I should create a user control with the html and reference this from the layout.master at line 80?

Best regards,

Colin

 

 

 

12/17/2010 10:02:18 AM
Gravatar
Total Posts 2239

Re: Place content before Vertical Menu

Hi Colin,

You can either place the content there manually, or use the ModuleWrapper control as described on this page: http://www.mojoportal.com/same-content-on-all-pages.aspx.

HTH,
Joe D.

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