Sitemap on Every Page

A place for discussion about skinning and design. Before posting questions here you should review the documentation about creating skins.

This thread is closed to new posts. You must sign in to post in the forums.
5/27/2014 10:33:36 AM
Gravatar
Total Posts 18

Sitemap on Every Page

Is there a way to add a sitemap to the bottom of every page?  I looked at the code in the mojoPortal.Web solution before publishing MojoPortal and noticed that the sitemap page is separate from the CMS pages.  Is there code I can put in the layout.Master of a skin that will include a sitemap?  I'm using MojoPortal 2.4.0.3.  Thanks.

5/27/2014 10:49:12 AM
Gravatar
Total Posts 18444

Re: Sitemap on Every Page

Hi,

Another name for a site map on every page is a menu. You could easily put another <portal:SiteMenu control in the footer with a different id and SkinID and then use different theme.skin settings to make it fully expanded. All the Site Map page is is a page with a fully expanded menu. 

The articles under the Styling Menus section should be of help to you.

Hope that helps,

Joe

 

5/27/2014 10:55:54 AM
Gravatar
Total Posts 18444

Re: Sitemap on Every Page

For example you could put this in the footer area of layout.master:

<portal:sitemenu id="SiteMenu2" runat="server" UseTreeview="true" MenuSkinID="SiteMap" hidemenuonsitemap="false"></portal:sitemenu>

You might still need to do some css tweaking but that should make it render pretty much like Site Map page.

5/27/2014 1:03:14 PM
Gravatar
Total Posts 18

Re: Sitemap on Every Page

Thanks.  It is close to what I want.  After trying the code you gave me, which looks almost the same as what is at the top of the page of my horizontal menus, under sitemenu1 in my layout.master file, sitemenu2 shows the top levels for all of the main sections of the site, but only the child pages that are within the selected top level.  It looks fine in sitemenu1.  The differences are:

Sitemenu1:
<portal:sitemenu id="SiteMenu1" runat="server" useflexmenu="true" hidemenuonsitemap="false"></portal:sitemenu>

Sitemenu2:
<portal:sitemenu id="SiteMenu2" runat="server" UseTreeview="true" MenuSkinID="SiteMap" hidemenuonsitemap="false"></portal:sitemenu>

MenuSkinID="SiteMap" is the only difference.  Can you tell me why this would happen?  Thanks.

5/27/2014 2:52:48 PM
Gravatar
Total Posts 18

Re: Sitemap on Every Page

I noticed my glitch.  The expanded one uses flexmenu versus treeview menu.  I didn't look close enough at the portal:sitemenu syntax.  Thanks for the help. 

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