Hello, first, sorry for my english.

I need Help to Import the Sluggable behavior into a Cake-php 1.1
proyect. I modified the behavior´s consults to work with 1.1:

$result = $Model->find('all', array('conditions' => $conditions,
'fields' => array($Model->primaryKey, $this->__settings[$Model->alias]
['slug']), 'recursive' => -1));

to this:

$result = $Model->findAll($conditions, array($Model->primaryKey, $this-
>__settings[$Model->alias]['slug']), null, null, null, -1));

but, im not know the method for use this in the Model, I use:

        var $actsAs = array('plugin.Sluggable' => array('label' =>
'name','translation' => 'utf-8','overwrite'   => true));

in the model, but it doesn´t work

¿any idea?

Thk.



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to