Exclude "prefix" (e.g. admin) from cacheAction globally

2014-04-22 Thread LDSign
Hi "CacheAction" allows us to set the actions which should be cached after setting Cahce.check to true. So far so good. But is it possible to disable caching for a special prefix so say cache all actions except for those which have the prefix "admin"? This will be a big increase in maintance i

Re: BUg in 2.5 ? database session blows up csrf checks (Cakephp 2.5.0-RC1 )

2014-04-22 Thread Mandar P
Thanks Mark What debug data should i supply to confirm above issue? On Tuesday, 22 April 2014 03:35:51 UTC+1, mark_story wrote: > > I just checked locally on a new copy of CakePHP 2.5.0, and wasn't able to > reproduce the issue. > > I used a baked MVC, SecurityComponent and set 'defaults' =>

Re: Routing and passed info help

2014-04-22 Thread euromark
query strings + https://github.com/CakeDC/search are the way to go for multiple filters that you want to persist Am Dienstag, 22. April 2014 14:26:04 UTC+2 schrieb advantage+: > > I have my index function and need to figure out to pass different > variables to paginate correct. > > > > Basica

Re: setting Flash messages from model

2014-04-22 Thread euromark
You were also the one asking here? http://www.dereuromark.de/2014/04/21/cakephp-flash-messages-2-0/ Right? I answered there. Most errors should result in an exception of some kind which you can catch. Am Montag, 21. April 2014 00:47:15 UTC+2 schrieb Ankan Adhikari: > > *Nothing new:* > So my mo

Routing and passed info help

2014-04-22 Thread Advantage+
I have my index function and need to figure out to pass different variables to paginate correct. Basically on the index the pagination grabs everything, but there are "filters" so take shoes for example it now gets passed that variables so the url looks like /shoes/page:2 But the problem no

Re: How to integrate Apache Lucene search engine with cakephp 2.x

2014-04-22 Thread José Lorenzo
I would strongly suggest using ElasticSearch. It is the easiest way of integrating lucene in any project. On Tuesday, April 22, 2014 6:11:19 AM UTC+2, Pawan Kumar wrote: > > I want to integrate *Apache Lucene Search engine* with *cakephp*, here > is the link for Apache Lucene serach engine http

How to integrate Apache Lucene search engine with cakephp 2.x

2014-04-22 Thread Pawan Kumar
I want to integrate *Apache Lucene Search engine* with *cakephp*, here is the link for Apache Lucene serach engine http://lucene.apache.org/core/ -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are

Re: [URGENT] cakephp + netbeans

2014-04-22 Thread Mădălin Ignișca
Hi. I use Netbeans 8.0 and learning currently CakePHP 2.4/3.0 and I can edit with Netbeans without any issue. Currently the CakePHP plugin for Netbeans isn't 100% compatible with latest 3.0 dev branch, but works nice with 2.4/2.5 (but isn't mandatory to use, just helps to speed up creation for

setting Flash messages from model

2014-04-22 Thread Ankan Adhikari
*Nothing new:* So my models are very heavy and granular on functionality. Controller actions calls -> method in model -> in turn may calls more methods in other related or same model etc. each of these methods in models return boolean for success or failure. I want each model method to be respon