View 2.0 Integration

Heine - January 28, 2009 - 20:09
Project:Comment Upload
Version:6.x-1.x-dev
Component:Code
Category:task
Priority:critical
Assigned:netaustin
Status:needs review
Description

Comment Upload needs Views 2.0 (beg pardon) integration. aclight wrote a lot of Views 1 code, which might be useful.

#1

Heine - January 28, 2009 - 20:10
Assigned to:Anonymous» netaustin

Assigning

#2

netaustin - January 29, 2009 - 02:00

This simple integration is probably all that's needed at the moment--this exposes the comment_upload table and its relationships to files, nodes, and comments to views2. The attached views file should be created in a directory named "views" and renamed to comment_upload.views.inc.

AttachmentSize
views.patch 1.45 KB
comment_upload.views_.inc_.txt 1.84 KB

#3

netaustin - January 29, 2009 - 02:00
Status:active» needs review

#4

masood_mj - April 16, 2009 - 11:03

does anyone used this patch? I cannot find any change in views fields or relationships related to comment upload files

#5

mathias2711 - August 15, 2009 - 07:23

anyone tested this patch?

#6

Heine - August 15, 2009 - 07:50

Instead of asking if anyone did so, please test the patch and report back here.

#7

mathias2711 - August 15, 2009 - 08:30

I´ll tried it, but it isn`t working :-((( anyone any idea?

there was an error while patching

.../sites/all/modules/comment_upload# patch < views_30.patch
patching file comment_upload.install
Hunk #1 FAILED at 164.
patch: **** replacement text or line numbers mangled in hunk at line 18

#8

mathias2711 - August 15, 2009 - 08:50

it will be very nice if someone can fix this ;-)

#9

yhahn - September 20, 2009 - 03:27

Here is a re-rolled patch. Works as expected.

AttachmentSize
comment_upload_views.patch 2.97 KB

#10

RikiB - February 19, 2010 - 21:58

Im trying to use Views to display attached images and tried applying this patch. However in the fields there is only file description, nothing about displaying the actual images. Is there any way to do this?

 
 

Drupal is a registered trademark of Dries Buytaert.