views API

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
ben.hamelin's picture

Missing fields, specifically node path field, within views result object

Hello!

I was wondering if anyone knew why there might be "missing" fields within the views result object. The specific field in question is the node "path" field. When previewing the view it of course is there. When I dump the results within my script it is not.

Here's some context:
I'm writing a custom script that will generate CSV data of blog nodes.

Within a PHP script, I have the following code:


$all_results_view = views_get_view("list_blog_entries");
$all_results_view->set_display("block_1");
$all_results_view->execute();

Read more
Subscribe with RSS Syndicate content