We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 29635
    • 361 Posts
    The Man Can! Reply #1, 20 years ago
    Hi all.
    I’m attempting to add a new "After Saving:" radio button that will open the next sibling (by menuindex). I could use a little help though.

    What I can’t figure out:
    How to get the ID of the "next" document.

    I think the best method would be somewhat similar to the NavigateSiblings snippet, but I’m having a lot of difficulty figuring out how what’s going on in it.

    If anybody could point me in the right direction to grab the relevant pieces of that snippet, I’d be grateful.

    Also, if there’s a way to go about this without hacking the core code, please let me know. From what I can tell, I wouldn’t be able to accomplish this with a plugin.
    Thanks.
      Need MODx Ecommerce? Try FoxyCart!