Trouble making a simple event work
This is an open discussion with 3 replies, filed under Troubleshooting.
Search
Did you add the event to the page? If you go to the page editor, you’ll see a multiselect where you can choose which events are attached to that particular page.
No. Duh. Knew it had to be a dumb mistake, thanks. (I was working through the excellent tutorial from bauhouse which mentioned attaching events to pages)
@matth:
I don’t know how to inspect the debug information after a POST request
For debugging you can add ?debug
to the “action” attribute of your form. This willl take you right to the debug page.
Create an account or sign in to comment.
Using the default Symphony theme, I created an event that would create “Note” entries. The HTML form it generated is straightforward:
However, when I add that code to the home.xsl template and try to submit data, nothing happens (no error, no content added). As described in the docs, there should be some information returned no matter what, something following this format:
I don’t know how to inspect the debug information after a POST request, but I tried to access the note’s “message” tag in a number of ways, without success:
The “add a comment” event that came with the theme works just fine. Not sure where I’m going wrong.