How to add a views block in a basic page via editor? I have created a basic page through the editor of drupal 7 and I have started coding the body using the PHP code text format. So far so good, apart from the fact that I want to embed a block from a view (showing three nodes) and the code below which seems to work when I put it directly into a php file, doesn't activate within the body. I am using Bootstrap by the way.

&lt;div class="third-box"&gt;
  &lt;div class="col-xs-12"&gt;
    &lt;?php print views_embed_view("mylatest_events", "block"); ?&gt;
  &lt;/div&gt;

  &lt;div class=clear&gt;&lt;/div&gt;
  &lt;p class="text-center"&gt;&lt;br&gt;&lt;strong&gt;Flavour text to describe the view here.&lt;/strong&gt;&lt;/p&gt;
&lt;/div&gt;


Any suggestions?
Have you tried to use the simplest php-code inside your body field ?
For example,

&lt;?php print 'The simplest text'; ?&gt;


It can be situation, where filter for content of your field is configured wrongly.

Moreover, it would be nice to try names of the view and view mode.