We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 5556
    • 4 Posts
    Ok here’s what I’m trying to do.

    I want to take my wayfinder that currently works, and change it so the parent row gets an image, and the row below is a javascript drop down menu. But i can’t get the thing to even show up for some reason. It works on my other pages. but it won’t on my new template. Help?



    Links:

    Original: http://tgpglobal.com/
    New: http://tgpglobal.com/index.php?id=39
      • 26903
      • 1,336 Posts
      Well, the <head> sections of the two templates are quite different, the working one has this for example

      <base href="http://tgpglobal.com/" />

      the broken one doesn’t.

      If you view the source of each page you’ll see what I mean.
        Use MODx, or the cat gets it!
        • 5556
        • 4 Posts
        Quote from: shamblett at Aug 20, 2009, 09:29 AM

        Well, the <head> sections of the two templates are quite different, the working one has this for example

        <base href="http://tgpglobal.com/" />

        Ok I added

        <base href="[(site_url)]" />

        But it’s still not showing up.

        "[[Wayfinder? &startId=`0` &level=`3` &parentClass=`hide` &parentRowTpl=`cssplay_parentRow` &outerTpl=`cssplay_outer` &innerTpl=`cssplay_inner` &rowTpl=`cssplay_row` &outerClass=`menu` &lastClass]]" is my Wayfinder code.
          • 26931
          • 2,314 Posts
          Hi there,

          not sure...

          you’ve got &lastClass in your call, maybe give it a value like &lastClass=`mylastclass`, leave it empty &lastClass=``, or don’t call it at all...but probably not just a parameter without equal sign and no backticks

          try calling wayfinder uncached as well [! ... !]
            • 5556
            • 4 Posts
            Ok nvm, I’m gonna code the pictures later. I got it to work, thanks guys!
              • 5556
              • 4 Posts
              Ok question, with my existing coding, how would I make the li tag increment automatically in my chunks section on Modx?

              I wanna add pictures for the navigation.
                • 16183
                • 1,390 Posts
                Quote from: Co2Noss at Aug 20, 2009, 05:06 PM

                Ok question, with my existing coding, how would I make the li tag increment automatically in my chunks section on Modx?

                I wanna add pictures for the navigation.

                This very question was asked here: http://modxcms.com/forums/index.php/topic,38970.0.html and two solutions were suggested. Please have a look and see if it what you are after.

                cheers/k