Adding Site Map in the page footer

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.
6/15/2010 7:50:09 AM
Gravatar
Total Posts 22

Adding Site Map in the page footer

Hi all,

I'm new to Mojoportal and I was wondering if there was an easy way to add the Mojoportal sitemap to the footer in the layout.Master file, so that it appears in every page of the site, as in these examples: http://www.webdesignerwall.com/trends/modern-sitemap-and-footer/

Apart from all the CSS involved, is there a snippet that I can use so that the site map appears there?

Thanks,

J.

6/16/2010 7:25:26 PM
Gravatar
Total Posts 1203
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

Re: Adding Site Map in the page footer

In your layout.master file, inside the div id=wrapfooter (or div class="art-footer-text" for Artisteer templates), add the following:

<portal:SiteMapLink id="AnotherSiteMapLink" runat="server" CssClass="sitemaplink" />

id can be set to whatever you want, but it has to be unique (assuming you have this portal control in multiple places).

Jamie

6/17/2010 8:01:38 AM
Gravatar
Total Posts 22

Re: Adding Site Map in the page footer

Thanks, but what I want is the actual site map to appear in the footer, not just a link to the site map.

6/17/2010 8:50:42 AM
Gravatar
Total Posts 18439

Re: Adding Site Map in the page footer

There is not really anything built in to do this. The ASP.NET SiteMap is a tree model and can be bound to menu or treeview or other hierarchal data controls, but it would take some custom menu to achieve that result and it would also depend on the structure of the site hierarchy. If we even had such a control it would only be useful for sites with a few pages. For example this site has hundreds of pages and we would not want to duplicate the menu in the footer with all the pages, instead I implemented a similar footer site map in my skin with hard coded links and markup in layout.master to important pages that I want to be easy to find.

Hope it helps,

Joe

6/17/2010 8:58:44 AM
Gravatar
Total Posts 22

Re: Adding Site Map in the page footer

Thanks Joe, I will hardcode the site map in the footer as well.

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