Monday, October 31, 2011

Re: Can't get Plugin model to work / be noticed at all

My bet is that you don't have a plugin defined somewhere.  I had the same problem in a couple of places after the upgrade because I had forgotten to name which plugin the model could be found in.   

belongsTo = array(
    className = [PLUGIN].[MODEL]

instead of...

belongsTo = array(
    className = [MODEL]


And this goes for all relationships, and you might have just missed one. 

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
 
 
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: