Additional Views Support

jscheel - July 25, 2007 - 02:55
Project:DrupalIt
Version:5.x-1.4-beta2
Component:Code
Category:feature request
Priority:normal
Assigned:jscheel
Status:needs review
Description

First off, I love this module. It is exactly what I needed, exactly when I needed it. However, I did find a need to extend it slightly. I have added two new views items that I believe can really help extend Drupalit. The first addition adds an argument to pull all the nodes a user has voted on, using the uid. The other bridges buddylist with Drupalit by adding an argument for uid that pulls all the nodes that user's buddies have voted on.

The buddylist integration needs to check for the buddylist module existence before being included. Because I wasn't sure how best to do this (maybe separate .inc file with a require_once wrapped in a module_exists) I just wrote a separate module to extend Drupalit. A patch would probably be better, unless you don't want to include it in the core module. Just let me know! Attached is the meat of the views integration. I can roll a patch when I know how you want it extended.

AttachmentSize
drupalit_buddylistviews_views.txt1.87 KB

#1

jscheel - July 25, 2007 - 22:17
Category:task» feature request

#2

Prodigy - July 27, 2007 - 19:38

Sounds very interesting! Can we see your URL?? My only thing with drupalit! is trying to get a negative vote feature or a Digg like "Bury" feature.

#3

tic2000 - July 27, 2007 - 23:14

I think the best way is to make a separate .inc file

#4

funana - September 16, 2007 - 19:14

Great feature, I would really like to use it!

#5

dzynz - October 15, 2007 - 09:42

Please post a patch or separate module, I am dying for this!

 
 

Drupal is a registered trademark of Dries Buytaert.