title: Add custom Sonata page route to the navbar
body: <p>I've created a custom Sonata page </p>
  
  <p>Simple route</p>
  
  <pre><code>medapp_adminStreamCommands:
      path:     /admin/stream
      defaults: { _controller: MedAppBundle:VideoChat/VideoChat:adminStreamCommands }
  </code></pre>
  
  <p>Controller that returns the admin pool</p>
  
  <pre><code>  public function adminStreamCommandsAction(Request $request)
      {
  
          return $this-&gt;render('@MedApp/AdminSonata/Stream/stream_commands.html.twig', array(
              'admin_pool' =&gt; $this-&gt;get('sonata.admin.pool')));
      }
  </code></pre>
  
  <p>Plain view template</p>
  
  <pre><code>{% extends '@MedApp/AdminSonata/standard_layout.html.twig' %}
  
  {% block content %}
  foobar
  {% endblock content 
  </code></pre>
  
  <p>This works, I can access it on my website with <code>/admin/foo</code> and I get a page which has the Sonata admin template with my 'foobar' content.</p>
  
  <p>My question is, how can I add this route to the left and top navbar without having to modify the default template?
  That is because the left menu is rendered by a KNP menu:</p>
  
  <pre><code>{% block side_bar_nav %}
      {% if app.user and is_granted('ROLE_SONATA_ADMIN') %}
          {{ knp_menu_render('sonata_admin_sidebar', {template: admin_pool.getTemplate('knp_menu_template')}) }}
      {% endif %}
  {% endblock side_bar_nav %}
  </code></pre>
  
  <p>And I somehow need to add my new page to be rendered by this menu.</p>
  
  <p>Normally, a page is added through a service, but these are built on top of an entity:</p>
  
  <pre><code>servicename:
       class: Bundle\Class
       arguments: [~, Bundle\Entity\Entityname, ~]
       tags:
           - { name: sonata.admin, manager_type: orm, group: admin, label: CustomName}
  </code></pre>
  
  <p>My page is not using an entity, though, just static content or content that is not dependant on an entity.</p>
  
  <p>I know already that I can modify the blocks that generate the menus, but I was thinking that the best way would be to add my class as a service tagged as sonata.admin that doesn't have an orm manager_type, in other words, is not an Entity. How can that be done?</p>