Closed (fixed)
Project:
Views data export
Version:
7.x-3.0-beta6
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
15 May 2012 at 11:12 UTC
Updated:
11 Jun 2013 at 17:50 UTC
I want to render a view with CSV style to a string, and when I do so:
$result = views_embed_view($viewname, $displayid);
echo $result;
it return a file, even if I do not ECHO the result it also returns me a file. And I want to have a rendered string to be able to work with it.
I was trying different implementations, not only views_embed_view function, but anytime I reach the render stage it returns me a file...
Please help.
Comments
Comment #1
steven jones commentedViews data export is kinda geared toward building a file, not a string. i'd suggest you have a look at using Views datasource which might work for your use case.