Skin Specified on page makes menu disappear

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.
3/27/2013 3:50:49 PM
Gravatar
Total Posts 199

Skin Specified on page makes menu disappear

I have a two skin site.  Default skin for all internal pages and one specified on the home page.

These skins are identical at the moment and I am using mojo 2.3.9.6 full trust.

the internal pages display the top horizontal nav fine, but the specified home page skin makes the top horizontal nav disappear.

am I missing a setting that allows the menu to display in a two skin environment.  This did not happen in the previous version with the same skins I am using.

Any ideas - thanks in advance.

3/27/2013 4:22:51 PM
Gravatar
Total Posts 199

Re: Skin Specified on page makes menu disappear

UPDATE:

did a little more digging.

I am using flex menu for both skins.

<portal:SiteMenu ID="SiteMenu1" UseFlexMenu="true" runat="server" UseTreeView="false" HideMenuOnSiteMap="false" Direction="Horizontal"></portal:SiteMenu>

I can see that the default skin is getting the class applied: <ul class='art-hmenu'>

the specified skin 2 on the home page  does not get the class applied <ul>

both theme.skin files are identical for both skins.

3/28/2013 9:56:15 AM
Gravatar
Total Posts 18439

Re: Skin Specified on page makes menu disappear

I am not able to reproduce this problem. Just tried on the demo site.

3/29/2013 12:11:45 PM
Gravatar
Total Posts 199

Re: Skin Specified on page makes menu disappear

thanks for looking at this Joe.

I did find the cause and maybe this will help someone else.

I am using consolidated css in-case anyone wants to know and my theme.skin was an old version that I keep updating and in this situation I guess it was not fully correct:

old theme.skin had this for both skins: (only default skin would work and specified skin fails)

<%@ Register Namespace="mojoPortal.Web.UI" Assembly="mojoPortal.Web" TagPrefix="portal" %>
<%@ Register Namespace="mojoPortal.Web.Controls" Assembly="mojoPortal.Web.Controls" TagPrefix="mp" %>

I updated both skins theme.skin to have this: (after this update skins all work correctly)

<%@ Register Namespace="mojoPortal.Web.UI" Assembly="mojoPortal.Web" TagPrefix="portal" %>
<%@ Register Namespace="mojoPortal.Web.Controls" Assembly="mojoPortal.Web.Controls" TagPrefix="mp" %>
<%@ Register Namespace="mojoPortal.Web.ContentUI" Assembly="mojoPortal.Web" TagPrefix="html" %>
<%@ Register Namespace="mojoPortal.Web.BlogUI" Assembly="mojoPortal.Features.UI" TagPrefix="blog" %>
<%@ Register Namespace="mojoPortal.Web.ForumUI" Assembly="mojoPortal.Features.UI" TagPrefix="forum" %>
<%@ Register Namespace="mojoPortal.Web.FeedUI" Assembly="mojoPortal.Features.UI" TagPrefix="feed" %>
<%@ Register Namespace="mojoPortal.Web.SharedFilesUI" Assembly="mojoPortal.Features.UI" TagPrefix="sf" %>
<%@ Register TagPrefix="portal" TagName="ChildPagesSiteMap" Src="~/Controls/ChildPageMenu.ascx" %>
<%@ Register TagPrefix="portal" TagName="mojoRating" Src="~/Controls/mojoRating.ascx" %>
<%@ Register Namespace="Recaptcha" Assembly="Recaptcha" TagPrefix="Recaptcha" %>

 

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