Re: 3.x: SessionHelper deprecated, what's the new version of this?

2015-04-23 Thread Joe Theuerkauf
Thanks guys. Looks like that did the trick. Guess i expected it to be more complicated, since before it mixed Session Flash. On Wed, 22 Apr 2015 at 00:34 Anthony GRASSIOT antograss...@gmail.com wrote: http://book.cakephp.org/3.0/en/views/helpers/flash.html Le 22 avr. 2015 06:17, Andras Kende

3.x: SessionHelper deprecated, what's the new version of this?

2015-04-21 Thread Joe T.
Looks like SessionHelper is/will be deprecated for 3.1 and request-session() is recommended... i have this chunk of code found in my Layout/default.ctp: div id=content ?= $this-Session-flash(); ? ?= $this-fetch('content'); ? /div i tried $this-request-session()-flash()

Re: 3.x: SessionHelper deprecated, what's the new version of this?

2015-04-21 Thread Andras Kende
Try: ?= $this-Flash-render(); ? https://github.com/cakephp/app/blob/master/src/Template/Layout/default.ctp#L49 https://github.com/cakephp/app/blob/master/src/Template/Layout/default.ctp#L49 Andras Kende On Apr 21, 2015, at 8:56 PM, Joe T. thooke...@gmail.com wrote: Looks like

Re: 3.x: SessionHelper deprecated, what's the new version of this?

2015-04-21 Thread Anthony GRASSIOT
http://book.cakephp.org/3.0/en/views/helpers/flash.html Le 22 avr. 2015 06:17, Andras Kende and...@kende.com a écrit : Try: ?= $this-Flash-render(); ? https://github.com/cakephp/app/blob/master/src/Template/Layout/default.ctp#L49 Andras Kende On Apr 21, 2015, at 8:56 PM, Joe T.