How To disable the top navigation

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/7/2010 11:00:23 AM
Gravatar
Total Posts 3

How To disable the top navigation

I want to disable the top navigation which are sign in, register, search, site map so that vistors to the site will not be able to see these items.

Anyone who help please?

5/7/2010 12:28:53 PM
Gravatar
Total Posts 2239

Re: How To disable the top navigation

Hello,

The easiest way to get rid of all of these links is to remove them from your skin's layout.master file.

You will find it in \Data\Sites\1\skins\[NameOfYourSkin]\.

You are looking for the following:

<ul>
<portal:WelcomeMessage id="WelcomeMessage" runat="server" RenderAsListItem="true" ListItemCSS="firstnav" />
<portal:HomeLink id="HomeLink" runat="server" RenderAsListItem="true" />
<portal:SiteMapLink id="SiteMapLink2" runat="server" CssClass="sitelink" RenderAsListItem="true" />
<portal:MyPageLink id="MyPageLink1" runat="server" RenderAsListItem="true" />
<portal:UserProfileLink id="UserProfileLink" runat="server" RenderAsListItem="true" />
<portal:MailboxLink id="MailboxLink1" runat="server" RenderAsListItem="true" />
<portal:MemberListLink id="MemberListLink" runat="server" RenderAsListItem="true" />
<portal:RegisterLink id="RegisterLink" runat="server" RenderAsListItem="true" />
<portal:LoginLink id="LoginLink" runat="server" RenderAsListItem="true" />
<portal:LogoutLink id="LogoutLink" runat="server" RenderAsListItem="true" />
</ul>

Remove everything except the <portal:LogoutLink and you should be good.

HTH,
Joe D.

5/7/2010 4:22:27 PM
Gravatar
Total Posts 180
Thomas F. Heringer

Re: How To disable the top navigation

Would not it be better to change all of the settings on these to false except the one that you mentioned? This way if necessary it is not hard to turn it back to the way it was.

5/7/2010 4:49:46 PM
Gravatar
Total Posts 3

Re: How To disable the top navigation

Thanks Joe  D for your kind help.  I also want to change: the Powered by mojoPortal Design by i7MEDIA, LLC and also the skin color, could you please help?

Thanks

5/7/2010 6:17:55 PM
Gravatar
Total Posts 3

Re: How To disable the top navigation

If I set them to false, the item are not disabled. This method I have tried. 

5/11/2010 9:41:04 PM
Gravatar
Total Posts 2239

Re: How To disable the top navigation

Hello,

If you want to change the Powered By text, you can just remove the <portal:mojoPortalLink control from the layout.master. As far as the Design By i7MEDIA text, I assume you are using the i7MEDIA-2HorizontalMenus skin; you can remove the "design by" text after purchasing a license from https://i7media.net/clients/cart.php?gid=5.

To change the color of the background in the skin, open the style.css and change value of the background-color rule in the #wrapwebsite selector.

Hope this helps,
Joe D.

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