2 users online. Create an account or sign in to join them.Users
?debug posted forms
This is an open discussion with 5 replies, filed under Troubleshooting.
Search
There is an option in the configuration file (/manifest/config.php) that let’s you append the events results to your HTML source code:
###### PUBLIC ######
'public' => array(
'display_event_xml_in_source' => 'yes',
),
########
But won’t that hide that the XML in the source? :-)
You can also use
<xsl:comment>
<xsl:copy-of select="data/events" />
</xsl:comment>
somewhere in your master.xsl. It will show all event XML all the time. Just remember to disable it when you go production.
Argh… Of course - has been a long day :)
The display_event_xml_in_source is what I always use — it’s such a good idea!
great, that’s what I was looking for, thanks for that.
Create an account or sign in to comment.
Hi.
I’m quite new to Symphony and was just working out how to debug a posted form, my solution was to add ?debug to the form action which appeared to do what I wanted (i.e. display the debugger after the form had been posted and fully processed by all filters).
Is this the suggested way to debug a posted form or are there better solutions?
Cheers
Toby