Hello,

  I'm trying to add a 'mobile' requestFormat following cookbook
tutorial http://www.symfony-project.org/cookbook/1_2/en/iphone.

  Everything seems fine but: in the action, $request->getRequestFormat
() gives me 'mobile'. Unfortunately, I only get a white screen. The
template indexSuccess.mobile.php is not executed.

  After some search, I noticed that if i request the page
htttp://domaine.name/test/index?sf_format=css, I got an error :
indexSuccess.css.php not found ( normal behavior ), if I delete my
indexSuccess.mobile.php, the request index?sf_format=mobile should
give me an error 500 "indexSuccess.mobile.php not found )... no error;
just a white page.

  I have tested this on three sf1.2 project, with the same result ...

  Here is my question : do I have to declare the new 'mobile'
requestFormat ? I have try to declare it in factories.yml but this
doesn't change the behavior.

  request:
    param:
      [...]
      formats:
         [...]
         mobile: [text/html,application/xhtml+xml,application/xml]

Thanks for your  help !
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to