We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 21778
    • 223 Posts
    Quote from: sharkbait at Mar 05, 2009, 12:19 PM

    this might help -> http://modxcms.com/forums/index.php/topic,26834.msg163257.html#msg163257



    hehe i’m getting lazy with you around all the time smiley

    Thanks a ton for helping me out Jan! The menu is almost complete and I’m optimistic about the last few adjustments! I’m grateful for the time you invested in helping me with my little project, this has given me a lot experience with modx. I’m probably not finished asking stupid questions here, but at least it might last awhile now smiley ill change the post title to [solved] - Thanks again!
      • 26931
      • 2,314 Posts
      you’re welcome, i’m glad i could help! jan wink
        • 21778
        • 223 Posts
        heehe.. last thing if your still around jan..

        can’t freaking figure this out laugh &categoryFoldersTpl .... my call:
        [!Wayfinder?startId=`0` &config=`jmultilevel` &firstClass=`first` &levelClass=`level` &categoryFoldersTpl !]

        do i need to give it some kind of =`...` ? I have seleced blank templates for the containers i want to use this on. sorry, last time! lol...
          • 26931
          • 2,314 Posts
          ...i need to try as well, so it’s execise for me, and therefore good  wink

          create a chunk and name it for example "folder", chunk-code will be
          <li[+wf.classes+]>[+wf.linktext+][+wf.wrapper+]</li>
          then call wayfinder like this [!Wayfinder?startId=`0` &config=`jmultilevel` &parentRowTpl=`folder`!]

          you’ll need to adapt the css for the new menu-folder items, but they are no anker-tags any more, and the submenus will still appear

          hope that helps
            • 26931
            • 2,314 Posts
            or you place this in your jmultilevel.config.php-file:

            $parentRowTpl = '@CODE:<li[+wf.classes+]>[+wf.linktext+][+wf.wrapper+]</li>';


            right below
            $outerTpl = '...';


            and calll wayfinder like before, so it stays a wayfinder-config
              • 21778
              • 223 Posts
              Quote from: sharkbait at Mar 05, 2009, 02:31 PM

              ...i need to try as well, so it’s execise for me, and therefore good wink

              create a chunk and name it for example "folder", chunk-code will be
              <li[+wf.classes+]>[+wf.linktext+][+wf.wrapper+]</li>
              then call wayfinder like this [!Wayfinder?startId=`0` &config=`jmultilevel` &parentRowTpl=`folder`!]

              you’ll need to adapt the css for the new menu-folder items, but they are no anker-tags any more, and the submenus will still appear

              hope that helps

              Uh we have our self’s an IE7 extra-bonus effect laugh the submenus is positioned funny! Its working in firefox.
              http://www.norlins.dk/uchihaproject/index.php?id=8
              My current test subject in the menu is: Foreningen
                • 26931
                • 2,314 Posts
                shocked
                My current test subject in the menu is: Foreningen
                how did you manage to apply the changes to just one menu-folder-item?! it should actually be on all of them...

                and, well, yeah - wooohooo - IE’s wysiwtf css-rendering in full effect grin but that should be manageable
                  • 21778
                  • 223 Posts
                  Quote from: sharkbait at Mar 05, 2009, 03:04 PM

                  shocked
                  My current test subject in the menu is: Foreningen
                  how did you manage to apply the changes to just one menu-folder-item?! it should actually be on all of them...

                  and, well, yeah - wooohooo - IE’s wysiwtf css-rendering in full effect grin but that should be manageable

                  Well i told you a lie when i said that i had made all containers into blank templates... just did it with that one: Foreningen wink
                    • 26931
                    • 2,314 Posts
                    huh hmm...

                    but if you changed the appearance of the parentRowTpl, all folders should me just list-items without anker-tags

                    i’m probably more confused with the menu than you are grin
                      • 21778
                      • 223 Posts
                      &categoryFoldersTpl
                      the template chunk for category folders, category folders are determined by setting the template to blank or by setting the link attributes field to rel="category"

                      Placeholders
                      same as rowTpl

                      So i gave "Foreningen" a blank template as suggested above from wiki, and the call &categoryFoldersTpl knows that it should use our newly created ="folder" on that item only, since blank template. At least that’s how i understand it.. wink