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.
Problem/Motivation
The module can only export the view's table, but not the content of each node in the view (if the view is node based).
Proposed resolution
The proposed solution is to create a new style (Doc (Full node content)), which extracts the node id's from the view, renders them in the given view mode, and then concatenates the results into a single html output.
The view mode should be settable on the settings page for the style.
Comment | File | Size | Author |
---|---|---|---|
#10 | exporting_full_content_revisions-1494450-10.patch | 6.82 KB | emanaton |
#9 | exporting_full_content_revisions-1494450-9.patch | 6.82 KB | emanaton |
#3 | exporting_full_content-1494450-3.patch | 6.66 KB | nagy.balint |
#1 | exporting_full_content-1494450-1.patch | 6.34 KB | nagy.balint |
Comments
Comment #1
nagy.balint CreditAttribution: nagy.balint commentedI've made this patch which achieves my goal.
If you apply it before #1379672: Export Button, make it styleable with CSS then you have to add
'export feed icon' => drupal_get_path('module', 'views_data_export') . '/images/doc.png',
after line 93, 'export feed file'
Because the export feed icon item became unnesecary due that improvement.
Comment #2
nagy.balint CreditAttribution: nagy.balint commentedchanged status.
Comment #3
nagy.balint CreditAttribution: nagy.balint commentedUpdated patch for latest dev.
Now it works for solr integrated views as well.
Comment #4
jodym CreditAttribution: jodym commentedThanks for the patch @nagy.balint, just what I needed, worked perfectly.
Comment #6
jodym CreditAttribution: jodym commentedComment #7
Ditiwi CreditAttribution: Ditiwi commented#3: exporting_full_content-1494450-3.patch queued for re-testing.
Comment #9
emanaton CreditAttribution: emanaton commentedIGNORE THIS PATCH
Comment #10
emanaton CreditAttribution: emanaton commentedIGNORE PREVIOUS PATCH; I made an error export it! Here's the corrected version:
Added modification to nagy.balint's code so that revisions can be properly rendered as well. =o)