I have a Drupal 7 view 'page' with various fields. One of those is a taxonomy term. I also have a view 'block' that has a Contextual filter set to the same term.
(I'm trying to filter the blocks results by the term in the page view)
I created a new block (under 'blocks') and added custom php to return and display the view.
If I hard code the term id with echo views_embed_view('events','block','1');
it works fine.
My question is; how do I get the value of a field in the page view with php. I've seen lots of example of how to get it from a normal node but not from another view.
Thanks in advance