We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 24732 ☆ A M B ☆
    • 300 Posts
    hoping to save someone else time.

    had my edit button failing silently, checked permissions etc, it still didn't update but WOULD delete and duplicate.

    1. In chunk NPOuterTpl I added

    [[!+np.errors]]
    [[!+np.errors_submit]]
    [[!+np.errors_presubmit]]


    with no conditionals.

    This ended up showing me my error which was "content missing"

    2. You have to set the &required field in your NewsPublisher call or it will default to `pagetitle,content`

    I set it to
    &required=`pagetitle`

    since thats all I need and bam it works.

    zillions of thanks to @BobRay for awesome work.
      ________

      Anne
      Toad-in-Chief
      Red Toad Media - Web Design, Louisville KY
      Hear me tweet: http://www.twitter.com/redtoadmedia
      "Bring on the imperialistic condiments." - Rory Gilmore
      • 3749
      • 24,544 Posts
      Great tip (and thanks for the kind words). smiley

      I wonder why the output modifiers didn't work as they should.

      Maybe they need a :then and maybe an :else?
        Did I help you? Buy me a beer
        Get my Book: MODX:The Official Guide
        MODX info for everyone: http://bobsguides.com/modx.html
        My MODX Extras
        Bob's Guides is now hosted at A2 MODX Hosting