Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Wachter Bernd 48 posts 68 karma points
    Oct 15, 2009 @ 17:15
    Wachter Bernd
    0

    Vertical Menu with Submenu

    Hello,

    I have Umbraco V4 and must make a Vertical Menu...

    My Menu must like this.

    -------------------------------------------
    Menuepoint 1
    Menuepoint 2
      - Submenue 1
      - Submenue 2
      -Submenue 3
    Menuepoint 3
    Menuepoint 4
    ------------------------------------------


    Ok i have my Menu on the left Site Vertical..
    All my Root Menu Items must be show..
    and when i click on a Menu does have Submenus the Menu must be collaps and shows the Submenu Point of the aktive Page ?????

    The Root Item Menuepoint 2 has Submenu Point....
    and then when i click on Menupoint 2 i must go to this Site and on this Site i must have
    show the Submenue Points in my Menu
    like this in my Demo

     

    Please can everyone Help me ??

     

    Thanks Bernd

     

     

     

  • Tim 225 posts 690 karma points
    Oct 15, 2009 @ 17:16
    Tim
    0

    Hiya,

    Take a look at this package which will do what you are after.

    T

  • Wachter Bernd 48 posts 68 karma points
    Oct 15, 2009 @ 17:38
    Wachter Bernd
    0

    Hello,

    Jehh this is what i want !!

    I have Installed this Package and Test..

    It works perfect for me.. Only when i Start my Homepage all Menue Points are open Shows ??
    and when i go to a other Page then works perfect ....

     

    Must i have a separatly Homepage with other Parameters ?????

     

     

  • Tim 225 posts 690 karma points
    Oct 15, 2009 @ 17:43
    Tim
    0

    Paste the macro code in here and I'll take a look, you may just need to tweak one of the parameters.

    T

  • Tim 225 posts 690 karma points
    Oct 15, 2009 @ 17:43
    Tim
    0

    Don't forget to up vote the package if it works for you!

    T

  • Wachter Bernd 48 posts 68 karma points
    Oct 15, 2009 @ 17:53
    Wachter Bernd
    0

    Here is my Macro Code
    what i have in my Masterpage

     

    <umbraco:Macro startingLevel="1" recurse="1" selectBranches="0" maxMenuDepth="2" ulBaseClass="RootClass" branchClass="SubClass" selectedClass="SelectClass" forceNode="" expandChildren="1" forceHome="0" Alias="[COG]Navigation" runat="server"></umbraco:Macro>

  • Tim 225 posts 690 karma points
    Oct 15, 2009 @ 18:00
    Tim
    0

    Try this:

    <umbraco:Macro startingLevel="1" recurse="1" selectBranches="0" maxMenuDepth="2" ulBaseClass="RootClass" branchClass="SubClass" selectedClass="SelectClass" forceNode="" expandChildren="0" forceHome="0" Alias="[COG]Navigation" runat="server"></umbraco:Macro>

    T

  • Wachter Bernd 48 posts 68 karma points
    Oct 15, 2009 @ 18:13
    Wachter Bernd
    0

    Yes Thanks it works perfect !!!!

     

  • Tim 225 posts 690 karma points
    Oct 15, 2009 @ 18:18
    Tim
    0

    Glad I could help!

    Don't forget to accept the answer and up vote the package!!

    T

  • Wachter Bernd 48 posts 68 karma points
    Oct 15, 2009 @ 18:20
    Wachter Bernd
    0

    I want vote an become the following Message ?

     

    You cannot vote yet

    You need at least 70 karma points to be able to rate items on our.umbraco.org

    You gain karma points every time you do something constructive, like answering topics on the forum, or starting new ones or publishing your work as a project

  • Tim 225 posts 690 karma points
    Oct 15, 2009 @ 18:22
    Tim
    0

    Rats!

    Ahhh well. You only have 45 Karma points to go!

    T

  • Wachter Bernd 48 posts 68 karma points
    Oct 16, 2009 @ 08:42
    Wachter Bernd
    0

    Hi Tim,

     

    What must i do does i can the Active Page can marked as active in my Menu ???

    When i Bsp. click the Menu Item Test and comes on the Test Page does the Menu Point Test
    in my Menu is marked as active... (Font Bold, Undeline or so ).... ??

  • Tim 225 posts 690 karma points
    Oct 16, 2009 @ 16:20
    Tim
    0

    Hi,

    The Selected Class parameter sets the class in the selected (active) menu item, you can then control the style in the stylesheet:

    i.e. if you have set the Selected Class parameter to be Active

    .Active{font-weight:bold;color:red;}

    It works the same way for the Brach Class which is the class set on all pages that are an ancestor of the current active page.

    T

  • Kennith Nielsen 16 posts 21 karma points
    Jul 10, 2010 @ 23:16
    Kennith Nielsen
    0

    Anyone who want's to give this a try can find it here http://our.umbraco.org/projects/website-utilities/cogworks-flexible-navigation I has been moved

Please Sign in or register to post replies

Write your reply to:

Draft