Search for related terms

2009-04-13 Thread sabkaraja
Hi, this is not purely Cake related - however I my application, I have a search where the user may search for a a person or person's initials or nickname. I want the results to show content from both. eg: CAKE, CAKEPHP, or CP should be identified as the same set. one way of doing that is storin

Re: error of memory???

2008-03-05 Thread sabkaraja
Last time I saw this error was when I ran an incorrect loop. please check your code. especially the loop condition. (and if possible paste them here for help) cheers On Mar 5, 12:51 am, Baz <[EMAIL PROTECTED]> wrote: > Isn't this a PHP error? Why are we talking bout wording the error message?

Re: Unbind Reverse Relations in Recursive Queries

2008-03-03 Thread sabkaraja
r.id=30') ))); How to make this work? Or Am I asking for sky :) thanks all On Mar 3, 12:59 pm, "Matias Lespiau" <[EMAIL PROTECTED]> wrote: > On Mon, Mar 3, 2008 at 5:38 AM, sabkaraja <[EMAIL PROTECTED]> wrote: > > > Hi > > Hi, > > &g

Unbind Reverse Relations in Recursive Queries

2008-03-02 Thread sabkaraja
Hi I have 3 models: Subject, Topic & Chapter Subject > hasMany > Topics & Topic > belongsTo > Subject Topic > hasMany > Chapters & Chapter > belongsTo > Topic User > HABTM > Chapter I am trying to do a recursive query ($this->Subject- >findAll('Subject.enabled=1'); ) to find out all the subject

Re: Makeing Routes work

2008-02-06 Thread sabkaraja
I think the correct way to do is to add this as the last rule: Router::connect('/*', array('controller' => 'pages', 'action' => 'view')); Thanks R On Feb 6, 2:39 pm, AD7six <[EMAIL PROTECTED]> wrote: > On Feb 6, 9:15 am, sabkaraja

Makeing Routes work

2008-02-06 Thread sabkaraja
Hi, I have religously followed the routing examples by the masters. But I am not sure how and why its not working for me: controllers users and admin which work fine. #default action for users Router::connect('/users/', array('controller' => 'users', 'action' => 'login')); #default action for a