i'm not sure, but you have to load Tags plugin too with CakePlugin::load(); :) -- Lep pozdrav, Tilen Majerle http://majerle.eu
2012/3/2 lorenzo <ferri.lore...@gmail.com> > hi bakers, i'm in trouble with a plugin model that don't get actsAs in the > program flow. > The scenario: model Foo in Moo Plugin. I want use tags plugin > http://cakedc.com/downloads/view/cakephp_tags_plugin. > > cake don't catch the actsAs and if i debug the model in the controller ( > print_r($Foo); ), the actsAs variable is null! > > the code: > > class Foo extends MooAppModel > { > var $name = 'PointRoute'; > var $actsAs = array( > 'Tags.Taggable' => array( > 'separator' => ',', > 'field' => 'tags', > 'tagAlias' => 'Tag', > 'tagClass' => 'Tags.Tag', > 'taggedClass' => 'Tags.Tagged', > 'foreignKey' => 'foreign_key', > 'associationForeignKey' => 'tag_id', > 'cacheWeight' => true, > 'automaticTagging' => true, > 'unsetInAfterFind' => false, > 'resetBinding' => false) > ); > } > > thanks! > > -- > 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+unsubscr...@googlegroups.com For more options, visit this group > at http://groups.google.com/group/cake-php > -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php