We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 51354
    • 11 Posts
    Hello,

    I want to change a TV on a successful user register. I use the Login plugin.
    Now i tried to use the post hook.

    [[!Register?
        &submitVar=`registerbtn`
        &postHooks=`usedInvite`...]]
    


    But this code just does not call the snippet usedInvite.

    Everything i do in the snippet is ignored.

    Anyone knows how to fix it??

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

    [ed. note: andreasf last edited this post 10 years, 11 months ago.]
      • 36192 ☆ A M B ☆
      • 55 Posts
      Does the snippet call correctly register a new user if you remove the post hook?

      Can you post the rest of your snippet call?

      In the first line of your post hook "usedInvite" can you add a debug line (write to the MODX error log for example)?

      • discuss.answer
        • 51354
        • 11 Posts
        I'm sorry... Made a typo error sad Snippet name was "useInvite"