We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 9207 ☆ A M B ☆
    • 2,475 Posts
    Oiy... can you help explain this one? I was just gonna do this by issuing a SQL query -- you’re using some cool tricks there with the object methods, Jason, but I’m confused by the documentation. What exactly do you mean by "Template mode"? But... this thing isn’t really usable yet because it will direct to unpublished pages.


      • 23849
      • 223 Posts
      Awesome Snippet - Thanks OpenGeek!!!
        Nick Hoag
        Creative Partner
        The FutureForward

        http://thefutureforward.com
        • 28042 ☆ A M B ☆
        • 24,524 Posts
        Template mode = using tpl chunks to format the links
          Studying MODX in the desert - http://sottwell.com
          Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
          Join the Slack Community - http://modx.org
          • 32519
          • 94 Posts
          I can’t get my Nav to link back to the parent page. I thought I had it working earlier.
          My callout is: [!NavigateSiblings? &mode=`direct`!], but it’s called out directly in my template, as opposed to a chunk. Will this effect it? I have the exact chunks from the top of this page for my nav templates. The next and prev work just fine, but not the index.
            <a href="http://www.themovietimeline.net">The Movie Timeline</a> | <a href="http://www.antstuff.net">The Antfarm Site</a>
            • 32519
            • 94 Posts
            Any idea why this snippet won’t link back to the parent page?
              <a href="http://www.themovietimeline.net">The Movie Timeline</a> | <a href="http://www.antstuff.net">The Antfarm Site</a>
              • 32678
              • 290 Posts
              Question about this snippet -- I’m using it on two separate templates and need to differentiate its output based on the template in use. Is there a way to instruct it to look for a second set of placeholders?
                • 4952
                • 13 Posts
                Hi everyone,

                I hope someone can answer the following question.


                I have a document tree that looks like that (every document except "Definitions" shows in menu and is published):

                -> Definitions
                -> A
                -> Ape
                -> Asia
                -> B
                -> Bed
                -> Breakfast
                -> C
                -> Coca Cola

                ...and so on.


                Now for example if I’m at "Asia" I want the next button to link to "Bed", if I’m at "Bed", I want the prev button to link to "Asia".

                Is this realisable with NavigateSiblings?


                Thanks in advance!

                Daniel