We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 708
    • 144 Posts
    hi

    is will be possible to have this type of code in place as ul/li, because it is more useful with multilevel menus ...and more easy to style no ?

    is it already exist ? if yes where ?
    is not, how can i style sub categories ?

    thx
      AipHesBlOg
      Serveur Local Linux Ubuntu - Apache 2.2.9 - Php 5.2.6 - MySQL 5.0.67
      ---------------------------------------------------------------
      French webdesigner
      • 3707
      • 241 Posts
      Yes, you just need to use custom template chunks. Some basic examples might be:

      &outerTpl
      <dl id="topnav" [+wf.classes+]>
      	[+wf.wrapper+]
      </dl>

      &rowTpl
      <dt [+wf.id+][+wf.classes+]><a href="[+wf.link+]" title="[+wf.title+]" [+wf.attributes+]>[+wf.linktext+]</a></dt>
      <dd>[+wf.introtext+]</dd>

      For multi-level menus, you’ll probably need to use more of the Wayfinder template chunks.
        • 708
        • 144 Posts
        oh great..;this will be very useful !
        another idea; do you know examples with the jquery library for making menus ? because i’m not fan of mootools...and ie doesn’t too wink
          AipHesBlOg
          Serveur Local Linux Ubuntu - Apache 2.2.9 - Php 5.2.6 - MySQL 5.0.67
          ---------------------------------------------------------------
          French webdesigner
          • 25663 MODX Staff
          • 12,272 Posts
          You might look at the wayfinder ebook (over 150 pages I think!) listed here: http://modxcms.com/learn/it.html (right column)
            Ryan Thrash, MODX Co-Founder
            Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
            • 26931
            • 2,314 Posts
            Hi,

            in this thread -> http://modxcms.com/forums/index.php/topic,31376.0.html are some wayfinder jquery-configs attached, and one in my signature as well smiley

            jan
              • 708
              • 144 Posts
              great ebook ! thx very much...i hope my low level in english will be sufficient to read and understand it

              @jan: i’ll go to see your link
                AipHesBlOg
                Serveur Local Linux Ubuntu - Apache 2.2.9 - Php 5.2.6 - MySQL 5.0.67
                ---------------------------------------------------------------
                French webdesigner
                • 25483
                • 741 Posts
                Isn’t it better to use the <ul> and <li>’s? Thought that was better for SEO!
                  with regards,

                  Ronald Lokers
                  'Front-end developer' @ h2o Media

                  • 25663 MODX Staff
                  • 12,272 Posts
                  I don’t think UL/LI vs DD/DL would make any appreciable difference that couldn’t be better addressed by implementing a proper sitemap protocol map and content edits.
                    Ryan Thrash, MODX Co-Founder
                    Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me