We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 43592
    • 97 Posts
    Dear Bob Ray,

    It didn't do it I'm a little bit stucked on the problem...

    What I already tried and didnt do it:
    - Looking at the source: <form>-looks nice, no html error
    - Putting out all js didnt do it.
    - Klicking on chancel brings me back on the correct ressource
    - Newspublisher - call: Putting out the parentid &parentid=39 didnt do it
    - Rights problem - posting as admin didnt do it
    - I think the form submits because the page loads. It reloads the page without any success message.
    - Putting your snippet under the Newspublisher - call [[formtest]] leads to server error

    Additionaly i tried to list the ressources (I did already some with admin account over modx manager directly and nothing shows up)

    [[!getResources? &parents=`39` &where=`{"createdby:=":[[!+modx.user.id]]}` &tpl=`events_tpl` ]] 
    
    Test shows up


    !! Thank you for your help!
      • 3749
      • 24,544 Posts
      I'm afraid I don't have any idea what might be causing your problem. Sorry I can't be more help.
        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
      • discuss.answer
        • 43592
        • 97 Posts
        I got it:

          [[!NewsPublisher?&show=`pagetitle,Kursart,Leitung,Bundesland,Land,Straße,PLZ,Ort,Beginn,Ende,Kursbeitrag,Kursunterlagen,content`


        "content" wasnt included in my NewsPublisher call, because I dont need it (and event dont wanted it, so I worked around now), although it seems to be even required without any required-param call.

        Thanks!

          • 3749
          • 24,544 Posts
          I know it's been a while, but I was just re-reading this post and realized that I should have mentioned that if you add the &required property listing just the fields you want, the content field wouldn't be required. It's required by default if you leave out that property.
            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
            • 43592
            • 97 Posts
            Thank you for the exact information, BobRay

            I solved this issue by using the content field.
            But now I know how to do it better next time.