Re: Problem importing Comments Behavior Class in Controller class

2011-09-27 Thread papac...@gmail.com
I have downloaded it from your Github. And import it file by file into
my dummie project.

On Sep 26, 2:12 pm, José Lorenzo jose@gmail.com wrote:
 How did you download the project, and where did you put the files?

-- 
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


Re: Problem importing Comments Behavior Class in Controller class

2011-09-26 Thread José Lorenzo
How did you download the project, and where did you put the files?

-- 
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


Problem importing Comments Behavior Class in Controller class

2011-09-10 Thread papac...@gmail.com
I was installing the Comments Component from CakeDC ( 
https://github.com/CakeDC/comments
)

But I have a strange error with Cakephp 1.3, my Controller refuses to
import my Model Behavior, i dont know if its an error of Inflector
Name to access the correct Behavior Class name but look at this =

in my controller i have:
public $components = array('RequestHandler','Comments.Comments' =
array('userModelClass' =  'User'));

and the cake classes transform into
app\models\behaviors\comments.commentable.php
and the expected name of the behavior:
class Comments.CommentableBehavior

as you can see it adds a dot point before my Behavior Name.

Any recommendations, or ideas are welcome.



-- 
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