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.
Display the feed item id in a view and take the field item id as an argument for a view.
Possible usage: Link to a feed item.
Since the title field only links to the original feed i used "Output this field as a link" and the Token "Replacement patterns" to create a custom link to the feed item.
First patch from me, maybe useful for someone else. Feedback welcome.
Comment | File | Size | Author |
---|---|---|---|
#3 | views.aggregator_feed_item_id.patch | 2.73 KB | e_log |
aggregator.views_.inc_.patch.zip | 1.32 KB | e_log |
Comments
Comment #1
merlinofchaos CreditAttribution: merlinofchaos commentedCan you attach a patch that isn't zipped? It's kind of a pain to download and unzip just to look at a patch
Comment #2
merlinofchaos CreditAttribution: merlinofchaos commentedWhen you do, please mark 'needs review'.
Comment #3
e_log CreditAttribution: e_log commentedOk, the patch needs to be applied to the whole views folder.
it changes the file: modules/aggregator.views.inc
and creates a new file: modules/aggregator/views_handler_argument_aggregator_iid.inc
Comment #4
merlinofchaos CreditAttribution: merlinofchaos commentedThis applies to 2.x but not to 3.x -- it looks ok from a once over.
dereine, do you think you can reroll this properly?
Comment #5
merlinofchaos CreditAttribution: merlinofchaos commentedSorry, was wrong; it does apply to 3.x as well. COmmitted -- doesn't apply to 7.x-3.x, needs a reroll.
Comment #6
dawehnerFixed and commited.