I am using Views PHP and having problem in doing a very basic thing.
In my view I added a field which I have to "Exclude from display" and show it only when there is a specific content type being called on Page.
So I used
Views PHP, which checks the content type. The only problem is that I don't know how to output this field.
$row -> myfield_name;
but that doesn't work.
So basically, I just need to use "Available Variables". But the
$row->myfield_name doesn't work.
I can't use the following as this gives raw field. I only want to use how this is intercepted in my view and how my view shows it. This is because this field is a video and my view is formatting it with JWplayer and hence calling it will call it as JWPlayer.
$value-> _field_data["body"] ["entity"] -> myfield_name ["und"]["value"];