OK, I finally managed to work around this thanks to this:
http://stackoverflow.com/questions/806650/in-cakephp-how-to-retrieve-joined-result-from-multiple-tables
I also had to remove $belongsTo from models because otherwise it would
naturally do joins twice causing conflicts. Of course the solutio
I can't find what the problem is.
OK guys, here's more details:
This is main table that will be updated:
class AcctTab extends AppModel {
public $primaryKey = 'aacct';
public $belongsTo = array('CardAcctTab' => array('foreignKey'
=> 'aacct'));
}
This is intermediate table to get
$this->ParentDomain->hasMany['ParentDomain']['conditions'] =
'ParentDomain.chronicle_id = 1';
On Jun 11, 8:45 am, Michael Gaiser wrote:
> So I have a table called Domains which has a parent_id allowing the domains
> to contain a parent/child relationship, the parent being referred to as
> ParentD
So I have a table called Domains which has a parent_id allowing the domains
to contain a parent/child relationship, the parent being referred to as
ParentDomain.
For the case I am working on, the ParentDomain has a variable called
chronicle_id. The condition I want to make will get all domains whe
Just wondering when I use AuthComponent::password, what its default hash
method is. I recently read that the creator of MD5 said not to use it for
password hashing, so was just curious.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakeP
Hello there,
I´m new with CakePHP and did the Cookbook-tutorials first. They worked
quite nice, but now i have the first questions. I wanted to change the
layout of the login form. It took a long time to this because of the
limitations of the form helper. And i realized, that it would propably
Hey thanks,
I had the same problem which has been resolved by using this solution.
--
View this message in context:
http://cakephp.1045679.n5.nabble.com/Login-Difficulty-CakePHP-2-0-tp4916439p5708682.html
Sent from the CakePHP mailing list archive at Nabble.com.
--
Our newest site for the co
Hey thanks,
I had the same problem which has been resolved by using this solution.
--
View this message in context:
http://cakephp.1045679.n5.nabble.com/Login-Difficulty-CakePHP-2-0-tp4916439p5708683.html
Sent from the CakePHP mailing list archive at Nabble.com.
--
Our newest site for the co
Hi,
I'm using CakePHP 2.1.
My main system has a User-model which I want to connect from within a
plugin model which is called SliderSlide.
So in the SliderSlide-model I want to define a belongsTo User
relationship but I don't want to define a hasMany SliderSlide in the
User model since the plugin m