This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.
Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.
Before posting questions here you might want to review the developer documentation.
Hello,
I am new to using MojoPortal and would like to remove the Site Map and Search links on the horizontal top menu that is displayed on all pages. I've searched the Forum and Master.Layout and can't seem to find the answer. Is this contained in Skins or in another Master.Layout or config file that I'm not finding?
Hi,
These links are in the layout.master file of your skin and you can remove those.See this section of the layout.master file and remove bold lines from it.
<div class="topnav"><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:SearchInput ID="SearchInput1" LinkOnly="True" RenderAsListItem="true" runat="server" /><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></div>
Hope Helps,
Asad
Thank you Asad for the prompt reply and information needed.
The suggestion of removing statements from Layout.Master for the skin didn't work. I stopped and restarted the IIS service and also rebooted the server. No go.
Asad's suggested changes will definitely stop them from appearing in the list. Are you sure you edited the correct layout.master? If you are working with one site, it will be the one in /data/sites/1/skins/[skin name].
Jamie
Thanks Jamie.
It's working now. I was modifying Layout.Maser in /data/skins and that's why it wasn't working.
Being new to MojoPortal is a great learning experience!