Number of sub menu levels

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

4/1/2017 2:43:40 AM
Gravatar
Total Posts 18
regards, Svein-Martin Holt Norway

Number of sub menu levels

First of all I will say that I am really happy about i7media taking over mojoportal and continue the development of the product. I have been using mojoportal for the last 7 seven years.

Now I am looking about using some of the new skins and have upgraded to version 2.5, so my site will be more mobile and ipad friendly.

One problem I have is that the free new mojoskins only have one level of submenus. I use 2 levels on my site.

Is that something where a fix is available?

I checked some of the codes and a comment in a .js file was that bootstrap menus normally have only 1 submenu level. So I guess it may be a problem.

 

regards,

Svein-Martin Holt

www.platelayer.com

My new testsite version 2.5: http://mojo25.platelayer.com

 

4/3/2017 9:42:04 AM
Gravatar
Total Posts 183
Community Expert

mojoPortal Hosting & Design @ i7MEDIA!

Re: Number of sub menu levels

Hi,

It looks like you may have downloaded Framework before one of our hotfix patches was published. The problem is probably the setting in your theme.skin file that sets MaxDataRenderDepth to 1 on the main menu when it should be -1 (no limit).

You can redownloaded framework and this should be fixed. Alternatively, you can just fix it yourself by replacing the entire <portal:flexmenu /> with the SkinId of "MainMenu" in your theme.skin with the following:

<portal:FlexMenu runat="server" SkinID="MainMenu"
	AnchorChildSelectedCssClass=""
	AnchorCssClass=""
	AnchorInnerHtmlBottom=""
	AnchorInnerHtmlTop=""
	AnchorSelectedCssClass=""
	ChildContainerCssClass="subnav"
	ChildContainerElement=""
	ChildNodesPerUl="-1"
	ChildUlCssClass="dropdown-menu"
	ContainerCssClass="site-nav"
	ContainerElement=""
	DescriptionCssClass="mp-mm-desc"
	ExtraBottomMarkup=""
	ExtraTopMarkup=""
	IsMobileSkin="false"
	ItemDepthCssPrefix=""
	LiChildSelectedCssClass="active"
	LiCssClass=""
	LiSelectedCssClass="active"
	MaxDataRenderDepth="-1"
	ParentLiCssClass="dropdown-toggle"
	RenderCustomClassOnAnchor=""
	RenderCustomClassOnLi=""
	RenderDescription="true"
	RootLevelLiCssClass=""
	RootUlCssClass="nav navbar-nav navbar-right"
	StartingNodeOffset="-1"
	UlChildSelectedCssClass=""
	UlSelectedCssClass=""
/>
If you're having trouble finding the right tag, you can just search the theme.skin for "MainMenu" and it should be there. In an unaltered version of framework it will appear on line 374. Hope this helps!
4/3/2017 2:01:13 PM
Gravatar
Total Posts 18
regards, Svein-Martin Holt Norway

Re: Number of sub menu levels

This did the trick.

Thank you very much for fast respons and a working solution.

regards, Svein-Martin Holt, Norway.

4/3/2017 9:43:06 PM
Gravatar
Total Posts 11

Re: Number of sub menu levels

mojoportal bootstrap skin should have 2 options in setting, that is: fixing header and/or fixing footter when scroll. just my 2 cents thought.

4/28/2017 12:37:11 PM
Gravatar
Total Posts 1992

Re: Number of sub menu levels

Hi,

We're looking at adding some skin options features to mojoPortal. The general idea is to allow skin developers to create their own options and site owners (those who use the skins) can interact with those options. 

Your requests would be things that would be covered by the skin options feature if the skin developer chooses to create those options. 

The skins we release with mojoPortal aren't intended to cover every scenario. We would rather have skin developers come up with skins that cover various scenarios and then submit them to the mojoSkins project. Community involvement is a high priority for the mojoPortal project now. 

Thanks,
Joe