Hi,
I have a model with the expandable behaviour from debuggable, and its
working great to add meta data to my content rows.

When I add related content via a habtm relationship, the expanded
fields arn't available.

Has anyone else found this problem, and maybe an easy fix?

so my contents table has this:

var $hasAndBelongsToMany = array(
                'Article' => array(
                        'className' => 'Content',
                        'joinTable' => 'articles_editions',
                        'foreignKey' => 'edition_id',
                        'associationForeignKey' => 'article_id',
                        'unique' => true,
                        'order' => 'ArticlesEdition.id',
                )
        );

which brings the related "articles" contents but without the meta
fields brough in by expandable.

Thanks for any help,

Will

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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