ihqs / ContactBundle

This is a Contact Bundle built on the Observer Pattern. Plug any listener you want to your contact form in a really simple way and flexible way
http://ihqs.net
25 stars 15 forks source link

Compatible with symfony 2.0.15 #10

Closed mente closed 12 years ago

mente commented 12 years ago
mik356ua commented 12 years ago

Still incompatible! Since version 2.0.13 of Symfony (maybe earlier) you must send your form "POST" data using "query" parameter.

{% render "IHQSContactBundle:Contact:form" with {}, { 'query':app.request.request.all } %}

That's because "render" tag is being processed as sub-request. And since that version all sub-requests are forced to use "GET" method therefore your embedded ContactController will loose all "POST" data if you miss it.