<![CDATA[ just a quick troubleshooting NewsPublisher tip - My Forums]]> https://forums.modx.com/thread/?thread=99117 <![CDATA[Re: just a quick troubleshooting NewsPublisher tip]]> https://forums.modx.com/thread/99117/just-a-quick-troubleshooting-newspublisher-tip#dis-post-536070

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

Maybe they need a :then and maybe an :else?
]]>
BobRay Dec 17, 2015, 01:54 PM https://forums.modx.com/thread/99117/just-a-quick-troubleshooting-newspublisher-tip#dis-post-536070
<![CDATA[just a quick troubleshooting NewsPublisher tip]]> https://forums.modx.com/thread/99117/just-a-quick-troubleshooting-newspublisher-tip#dis-post-536025
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.]]>
redtoad Dec 16, 2015, 05:43 PM https://forums.modx.com/thread/99117/just-a-quick-troubleshooting-newspublisher-tip#dis-post-536025