Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I added a filter for the parent feed's title. I like this better than filtering by parent feed's nid as was already supplied. Patch is working for me.
Comment | File | Size | Author |
---|---|---|---|
#11 | feedapi_views_parent_feed_title_251957_11.patch | 5.32 KB | jtsnow |
#8 | feedapi_views_parent_feed_title.patch | 5.79 KB | jtsnow |
#7 | feedapi_views_parent_feed_title.patch | 41.92 KB | jtsnow |
#2 | feedapi_parent_name_filter.patch | 1.95 KB | Alex UA |
parent_title_filter.patch | 1.74 KB | Jody Lynn |
Comments
Comment #1
Alex UA CreditAttribution: Alex UA commentedThis is working here:
http://zivtech.com/videos/wall-o-feeds
Comment #2
Alex UA CreditAttribution: Alex UA commentedI rerolled this patch against the latest dev version of FeedAPI's feedapi_node_views.module . I'm surprised nobody else has needed this...
Comment #3
Aron NovakUseful! Thanks. Committed.
Comment #4
siddhen CreditAttribution: siddhen commentedsubscribing to D6 port.
Comment #5
drewish CreditAttribution: drewish commentedThe patch on #347526: Full views support, admin/content/feed powered by views would allow you to do this in the D6 version. You'd add a relationship to the parent feed and then add a filter or argument for the Node title but specify that you'd like to use the Parent feed relationship that you just added.
Comment #6
Jody LynnIt looks like whether or not you use the relationship as you describe or just use an exposed filter for FeedAPI Item: Parent feed, you end up with an exposed filter that's a search bar instead of a dropdown selector, which would be more appropriate.
Comment #7
jtsnow CreditAttribution: jtsnow commentedHere is a patch that combines the patch from #347526: Full views support, admin/content/feed powered by views and adds a filter for parent feed title via a dropdown select box. Note that this filter requires use of the 'Parent feed' relationship.
Comment #8
jtsnow CreditAttribution: jtsnow commentedHere is an updated patch against the latest dev version. Also fixed a bug in which 'All' could not be selected by default. This is being used at http://zivtech.com/videos/drupal-video-planet
Comment #9
Jody LynnPatch in #8 looks good and is working for us.
Comment #10
drewish CreditAttribution: drewish commentedjtsnow, why did you merge the code in? it would have been better to keep the issue over on #347526: Full views support, admin/content/feed powered by views where it started. now there's duplicate code spread between two issues. please merge your changes into that issue.
Comment #11
jtsnow CreditAttribution: jtsnow commentedMy apologies, drewish. Anyway, now that #347526: Full views support, admin/content/feed powered by views has been committed, I've re-rolled the patch to add this filter.
Comment #12
drewish CreditAttribution: drewish commentedwhy can't you do that by adding a relationship, then filtering on node.title on the parent relationship?
Comment #13
jtsnow CreditAttribution: jtsnow commentedYou can, but that method only provides a text box to enter the feed title. This patch provides a select box that lists all feed titles. A live example is at http://zivtech.com/videos/drupal-video-planet
Comment #14
bcobin CreditAttribution: bcobin commentedI am completely, totally, utterly confused - the parent feed dropdown would be an enormous help, but I don't know which patch(es) to apply and to which version(s)!
I see the patch was for the "latest dev version" as of December 31, but that version seems not to be available.
I think I've tried every combo, including the thread in #11; the closest I've come was being able to select Feed Title as an option at one point, but I got the error message the field_not_defined, or something like that.
Any help here would be greatly appreciated - filtering by the Parent Feed title is intuitive and obvious as opposed to the current interface. Thanks for coming up with the code and, hopefully, for some guidance as to using it!
Comment #15
drewish CreditAttribution: drewish commentedokay, i agree that this is a worthwile feature, but the implementation feels wrong to me. i going to need this for a site of mine so i'll take a swing at it.
Comment #16
Steve Dondley CreditAttribution: Steve Dondley commented+1 Works as advertised.
-1 It would be better to allow the option to selection of more than one feed with a multi-select menu.
Comment #17
Webster619 CreditAttribution: Webster619 commentedThe multi select exposed filter would be a nice addition.
Comment #18
Aaron Stanush CreditAttribution: Aaron Stanush commentedMissing handler error after applying #11 patch
1) I applied the patch from #11
2) I already have the "FeedAPI Item: Parent feed" relationship set up in my view
3) Added a new filter: FeedAPI Item > FeedAPI Item: Parent Feed Title
4) The following error appears instead of the filter settings:
handler for node > feed_title doesn't exist!
(see screenshot)Comment #19
Valeratal CreditAttribution: Valeratal commentedso
How Filter by Parent Feed Title?