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.

Comments

nagy.balint’s picture

StatusFileSize
new6.34 KB

I'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.

nagy.balint’s picture

Status: Active » Needs review

changed status.

nagy.balint’s picture

StatusFileSize
new6.66 KB

Updated patch for latest dev.

Now it works for solr integrated views as well.

jodym’s picture

Thanks for the patch @nagy.balint, just what I needed, worked perfectly.

Status: Needs review » Needs work

The last submitted patch, exporting_full_content-1494450-3.patch, failed testing.

jodym’s picture

Status: Needs work » Needs review
Ditiwi’s picture

Status: Needs review » Needs work

The last submitted patch, exporting_full_content-1494450-3.patch, failed testing.

emanaton’s picture

Status: Needs work » Needs review
StatusFileSize
new6.82 KB

IGNORE THIS PATCH

emanaton’s picture

IGNORE 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)

Status: Needs review » Needs work

The last submitted patch, exporting_full_content_revisions-1494450-10.patch, failed testing.

steven jones’s picture

Issue summary: View changes
Status: Needs work » Closed (won't fix)

Sorry for the lack of attention to your issue, please accept my apologies.

Drupal 7 is going to be end-of-life'd by the community in approximately 1 month.

As such, I am closing all non-critical looking, non-PHP compatibility issues for Views Data Export to tidy up the issue queues and reduce the noise. You can read about this on #3492246: Close down Drupal 7 issues.

If you feel like this issue has been closed by mistake, please do comment about re-opening it.
If you feel like the ticket is still relevant for the 8.x-1.x version of the module, then please search for a duplicate issue first, and if there really isn't one (and you've looked properly) then change the version on the ticket and re-open.

Thanks to everyone involved in this issue: for reporting it, and moving it along, it is truly appreciated.
The Drupal community wouldn't be what it is today without your involvement and effort, so I'm sorry that we couldn't get this issue resolved. Hopefully we'll work together in a future issue though, and get that one resolved :)