Re: Flash messages redirect after a time interval?

2013-11-14 Thread Nick Rogers
Wow, I've been using CakePHP for years and never even knew about flash; I've always just used setFlash. Thanks for the information! On Thursday, November 14, 2013 7:16:58 AM UTC-7, euromark wrote: > > That is an old behavior invoked by flash() directly, which most of use > never ever use :) > >

Re: What code to put for using the CakeDC search plugin?

2013-11-14 Thread Charles Blackwell
Do you need a create a search function of some sort to get it to work? I am stuck on how to get it working. On Tuesday, December 13, 2011 6:51:30 PM UTC-5, Daniel wrote: > > OK, forget it, I got a basic search up and running now. > -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us

Re: How to prevent IE 7 browser from viewing site using cakephp 2.0?

2013-11-14 Thread Salines
This is good start point http://stackoverflow.com/questions/14057575/htaccess-redirect-to-specific-webpage-based-on-browser > > -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to th

Re: Pagination option url question

2013-11-14 Thread Salines
Question one: Can I overwrite the controller and action with my slugged_url value? To have something like http://domain.com/my_slugged_url/page:2? Yes, in your router put something like: Router::connect('/:slug/*', array('admin'=>false,'controller' => 'posts', 'action' => 'index'),array('pass'=

Re: Flash messages redirect after a time interval?

2013-11-14 Thread euromark
That is an old behavior invoked by flash() directly, which most of use never ever use :) https://github.com/cakephp/cakephp/blob/master/lib/Cake/Controller/Controller.php#L1000 So I would just ignore that and use flash messages via setFlash() Mark Am Donnerstag, 14. November 2013 06:47:19 UTC+1

How to upload and read file contents through command line + cakephp

2013-11-14 Thread Deena
Hello, I am new to cakephp. I am trying to read a file contents to save a row in my database using cakephp. Can anyone suggest me with steps how to upload and read file contents through command line. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/C

Flash messages redirect after a time interval?

2013-11-14 Thread Nick Rogers
Have a look at lines 33 and 34 of core.php. Is that referring to flash messages set by $this->Session->setFlash(); in the controller and then echo $this->Session->flash(); in the view? I have never witnessed the behavior de