Active
Project:
Leech
Version:
5.x-1.x-dev
Component:
General
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
28 Mar 2007 at 17:01 UTC
Updated:
21 May 2007 at 18:53 UTC
Attached is the skeleton of a module to integrate leech with Views. Currently it offers an additional filter and argument that both allow you to display lists of nodes from specific feeds, additionally it provides a few field definitions.
At this point it does what I need it to - so I sure other people would be able to use it as well.
To use it - remove the .txt from the filename, drop it into the leech directory and enable it on the modules page.
| Comment | File | Size | Author |
|---|---|---|---|
| leech_views.module.txt | 5.61 KB | jmiccolis |
Comments
Comment #1
michelleSounds like a useful module. Any plans for a 5.x version?
Thanks,
Michelle
Comment #2
geojaz commentedThis actually seems to work perfectly for 5.0...
All you need to do is:
1. create a folder within the main leech directory called leech_views
2. make a new file: leech_views.info with the following text:
; $Id: leech_views.info,v 1 jmiccolis Exp $
name = Leech_views
description = "Provides views support for Leech"
dependencies = leech
package = leech
version = 5.0
3. Create leech_views.module as in the original instructions.
4. Activate the module... So far, so good... I'll post an update if anything changes!
Comment #3
alex_b commentedadded to 4.7.x branch.
Comment #4
discursives commentedthis works for me too for 5-1
Comment #5
alex_b commentedJust dropped in without any changes?
Comment #6
patchak commentedDropped in and works perfectly, in 5.1. The only that does not work if taht when I give a NID as argument (feed ID) it does not seem to pass the feed name to the variable in the title.
Instead of showing "the latest nodes by "source name", it displays nothing as the source name, not even the %1 sign.
I added the %1 in the title field of the argument in the view, so I think it's a bug... Anyone care tolook at that?
thanks,
Patchak
Comment #7
patchak commentedThere is actually this error that pops up in the modules page...
warning: Error parsing sites/all/modules/leech/leech_views/leech_views.info on line 1 in /var/www/html/geekfr/includes/module.inc on line 195.
Comment #8
alex_b commentedpatchak, we are talking 5.x now, right?
Comment #9
patchak commentedyeah... I did not notice any other bugs except the error message adn the fact that it does not show the argument title properly...