We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 20764
    • 7 Posts
    I'm getting this really weird issue.

    Basically i have a siblingNav snippet call in a chunk like this which works fine:
    [[!siblingNav? &id=`4` &nextTpl=`next`]][[+sn.next]]


    Now when i change it to this:
    [[!siblingNav? &id=`[[+id]]` &nextTpl=`next`]][[+sn.next]]

    It stops me from saving the chunk...

    I though it might be an issue with siblingNav so i tried pdoTools/pdoNeighbor but it was exactly the same problem.

    Any idea why that might be?

    This question has been answered by sottwell. See the first response.

    • discuss.answer
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      There shouldn't be any problem with saving a chunk with that content. It sounds like some kind of mod_security problem. Can you save that snippet call in anything else, like a resource or a template?
        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
        • 20764
        • 7 Posts
        Quote from: sottwell at Sep 11, 2014, 07:57 AM
        There shouldn't be any problem with saving a chunk with that content. It sounds like some kind of mod_security problem. Can you save that snippet call in anything else, like a resource or a template?

        Thank you so much for your quick response.

        It was indeed a mod_security problem which was solved with the host.
        I've never encountered this issue before but since 2.3 it's the third time i've had to have the host look at the mod_security rules, i'm guessing the new update has changed a lot of things eh!