I have a custom view that I set up in drupal. What I would like to do is make a function call of some kind, and then assign the results to a php variable. I would like the contents of the view (as opposed to the results of a view export) in this new variable. Is this feasible? If it is a function call, I would appreciate a small example too. Thanks!
+1
A:
I haven't done too much hacking around in views, but it looks like maybe views_embed_view()
might be what you are looking for. I found a good overview of the views API here: http://www.trellon.com/content/blog/view-views-api
bkildow
2010-07-27 20:26:39
Thanks, this is what I was looking for.
ford
2010-07-30 22:05:28