Re: $session-flash() in view displaying a 1
Thanks leafchild, that was indeed the issue. I missed the obvious :) On Jul 27, 10:50 pm, leafchild leafchild.b...@gmail.com wrote: I think you don't need echo Just type: ?php $session-flash(); ? I had this issue and after taking echo fixed the the issue. On Jul 27, 1:04 pm, Taff taff.law...@googlemail.com wrote: Hey, I baked a controller with the following snippet: $this-Session-setFlash(__('List has been saved', true)); Why the underscores, and what does true denote, I couldn't find a reference anywhere? Also in myview echo $session-flash(); is returning div id=flashMessage class=messageList has been saved/div1 After an evening of huntingwhere on earth is that 1 being generated, and how do I do away with it? Thanks for any pointers! Taff --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
$session-flash() in view displaying a 1
Hey, I baked a controller with the following snippet: $this-Session-setFlash(__('List has been saved', true)); Why the underscores, and what does true denote, I couldn't find a reference anywhere? Also in my view echo $session-flash(); is returning div id=flashMessage class=messageList has been saved/div1 After an evening of huntingwhere on earth is that 1 being generated, and how do I do away with it? Thanks for any pointers! Taff --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: $session-flash() in view displaying a 1
I think you don't need echo Just type: ?php $session-flash(); ? I had this issue and after taking echo fixed the the issue. On Jul 27, 1:04 pm, Taff taff.law...@googlemail.com wrote: Hey, I baked a controller with the following snippet: $this-Session-setFlash(__('List has been saved', true)); Why the underscores, and what does true denote, I couldn't find a reference anywhere? Also in my view echo $session-flash(); is returning div id=flashMessage class=messageList has been saved/div1 After an evening of huntingwhere on earth is that 1 being generated, and how do I do away with it? Thanks for any pointers! Taff --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---