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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

nagy.balint’s picture

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

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
FileSize
6.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.