Vertical Menu Only

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.
2/8/2013 1:05:28 AM
Gravatar
Total Posts 4

Vertical Menu Only

Hi all,

Is it possible to use a vertical menu only for website using Mojo 2.3.9.5 and Artistseer 4.1, with plugin. My web knowledge is limited. I have tried many variations with the Master Layout and the theme skin, to no avail.  Any help would be appreciated. 

Thankyou

 

2/8/2013 12:11:25 PM
Gravatar
Total Posts 92

mojoPortal Hosting & Design @ i7MEDIA!

Re: Vertical Menu Only

Vichus,

What skin are you wanting to modify?

-Elijah

2/8/2013 12:23:56 PM
Gravatar
Total Posts 18439

Re: Vertical Menu Only

The plugin doesn't have a way to determine if a design only has a vertical menu. I think it would require editing the skin after exporting.

You might need to remove the <portal:SiteMenu from layout.master if there is one, and then edit the theme.skin. Probably you would need to alter this part:

<portal:FlexMenu runat="server" SkinID="PageMenu"
    ContainerElement="div"
    ContainerCssClass="art-box art-vmenublock"
    RootUlCssClass="art-vmenu"
    DescriptionCssClass=""
    ChildContainerElement=""
    ChildContainerCssClass=""
    RootLevelLiCssClass=""
    ItemDepthCssPrefix=""
    ParentLiCssClass=""
    StartingNodeOffset="0"
    MaxDataBindDepth="-1"
    RenderDescription="false"
    UlSelectedCssClass="active"
    LiSelectedCssClass=""
    AnchorSelectedCssClass="active"
    AnchorChildSelectedCssClass="active"
    UlChildSelectedCssClass="active"
/>

changing the StartingNodeOffset from 0 to -1

Hope that helps,

Joe

2/8/2013 12:31:58 PM
Gravatar
Total Posts 18439

Re: Vertical Menu Only

Actually, I think what you would need to do is replace the <portal:PageMenu in layout.master with this:

<portal:sitemenu id="SiteMenu1" runat="server" useflexmenu="true" hidemenuonsitemap="false"></portal:sitemenu>

and remove it if there is another copy of <portal:SiteMenu

​Then in theme.skin

switch the SkinID for <portal:FlexMenu runat="server", change the one that has SkinID="PageMenu" to have SkinID="SiteMenu" and delete the other one from theme.skin that has SiteMenu or it will cause an error having 2 with the same skinid

​I tested this and it seemed to work

Hope that helps,

Joe

2/8/2013 11:55:29 PM
Gravatar
Total Posts 4

Re: Vertical Menu Only

HI Joe,

Thankyou for your help.

The combination of this to the theme.skin to my skin 

<portal:FlexMenu runat="server" SkinID="NoMenu"
    ContainerElement=""
    ContainerCssClass=""
    RootUlCssClass="art-hmenu"
    DescriptionCssClass=""
    ChildContainerElement=""
    ChildContainerCssClass=""
    RootLevelLiCssClass=""
    ItemDepthCssPrefix=""
    ParentLiCssClass=""
    MaxDataBindDepth="-1"
    RenderDescription="false"
    LiSelectedCssClass=""
    AnchorSelectedCssClass="active"
    AnchorChildSelectedCssClass="active"
/>

<portal:FlexMenu runat="server" SkinID="SiteMenu"
    ContainerElement="div"
    ContainerCssClass="art-box art-vmenublock"
    RootUlCssClass="art-vmenu"
    DescriptionCssClass=""
    ChildContainerElement=""
    ChildContainerCssClass=""
    RootLevelLiCssClass=""
    ItemDepthCssPrefix=""
    ParentLiCssClass=""
    StartingNodeOffset="-1"
    MaxDataBindDepth="-1"
    RenderDescription="false"
    UlSelectedCssClass="active"
    LiSelectedCssClass=""
    AnchorSelectedCssClass="active"
    AnchorChildSelectedCssClass="active"
    UlChildSelectedCssClass="active"
/>

 

and the changes to the master layout have worked beautifully.

Shame about the plugin, still the speed and accuracy that the plugin already supplies is fantastic. Thankyou.

A few beers on their way.

Enjoy!

 

2/9/2013 12:32:49 PM
Gravatar
Total Posts 18439

Re: Vertical Menu Only

Glad I was able to help. Many thanks for the beers!

Cheers,

Joe

7/12/2013 7:02:42 AM
Gravatar
Total Posts 4
There are some questions that cannot be answered by Google!

Re: Vertical Menu Only

Hello,

I found just deleting StartingNodeOffset helped show the root items.  You can set in Artisteer not to have a menu, but when you create the skin, it creates the vertical menu as a PageMenu, not a SiteMenu, even though there is no SiteMenu.

My problem now is that unless there is a submenu, the vertical menu disappears.

Any suggestions on how to fix this?

Michael

 

7/12/2013 7:26:57 AM
Gravatar
Total Posts 18439

Re: Vertical Menu Only

If you read this thread carefully it has the solution, you need to move <portal:SiteMenu from where it is to the palce where <portal:PageMenu is (Remove <portal:PageMenu completely) and then make the corresponding changes in theme.skin

​Thanks for the beers!

Cheers,

Joe

7/12/2013 8:34:19 AM
Gravatar
Total Posts 4
There are some questions that cannot be answered by Google!

Re: Vertical Menu Only

Hello

I got it to work now by doing just 2 simple changes:

1. theme.skin
In <portal:FlexMenu runat="server" SkinID="PageMenu"
Change: StartingNodeOffset to "-1"

2. layout.master

Add IsSubMenu="false" to the portal:pagemenu
e.g. <portal:pagemenu id="PageMenu1" runat="server" IsSubMenu="false" useflexmenu="true"></portal:pagemenu>

When I created the skin in Artisteer 4.1, I select the No Menu option and only worked with the Vertical Menu.

I hope this 2 step solution will help sloths like myself create skins with only a vertical menu smiley.

Please and Blessings
Michael

Enjoy the beers...

 

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