The relationship handler for content profile make use of views_handler_relationship::options() to set the content type for the relationship.
This works for views 2, however views 3 doesn't support any more this way to define options.
The attached patch replace options() by option_definition() so, Content Profile can be used without problems in both, views 2 and views 3. (All handlers for views 2 in views module are using option_definition to set options)
| Comment | File | Size | Author |
|---|---|---|---|
| content-profile-option_definition.patch | 710 bytes | dagmar |
Comments
Comment #1
Bilmar commentedConfirmed the issue in views 3 version. Patch applied smoothly and it fixed the issue. Thanks for the great work!
Comment #2
rburgundy commentedTested and all was good. Content Profile is an awesome module and I hope this patch gets committed soon in preparation for views 3 support.
Comment #3
Bilmar commentedHello,
For your reference, below are links to similar patches provided by dagmar in preparation for Views 3.
CCK - http://drupal.org/node/670344
Flag - http://drupal.org/node/673508
Thanks for the great work dagmar!
Comment #4
fagoCommitted. Good work, thanks!