Update D6 branch to work with View2 RC3
sirkitree - September 28, 2008 - 19:29
| Project: | Node comments |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | task |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Description
Views2 RC2 brought a few major changes to the system that module maintainers need to utilize in order to make their contributed modules compatible with it. See here for details: http://www.angrydonuts.com/attention-views-api-developers
Any help would be appreciated.

#1
Hi sirkitree!
I created a patch based on the documentation you linked in. It seems to work with Views2 RC3.
I tested only the basic functionality: it shows comments below the node and you can change the comment view between 'nodecomments' or 'nodecomment_threaded'. I haven't tried editing these views by the Views UI yet because they work for me.
Note: two patches are attached because I diffed first with the CVS version but realized that the issue is for the 6.x-1.x-dev.
#2
Thanks vbala. Your patch did not apply very cleanly, but I managed to sort out exactly what it was doing. The big help was the file creation. This has been committed to DRUPAL-6--1 branch, which (please note) is the same as the 6.x-1.x-dev
#3
#4
Sorry for the confusion, this has been my first patch.
It's good to see that it helped some :)
#5
thanks for making this patch. Unfortunatly Im to stupit to get it to work, but I am desperate to get it to work, my site is broken and it causes problem to downgrade views and cck at my site.
I did remove all + signes replacing the code in the exsisting files, as well as adding the hook_views_api to module file, also creating this new files in nodecomment/views directory that I did not have before. But I still cant find the comments at my site. Would it be possible to get instructions how to use the patch to get it to work?
#6
http://drupal.org/patch/apply
#7
thanks!! saved my day, now my website runs smooth again :)
#8
Automatically closed -- issue fixed for two weeks with no activity.