title: CakePHP: How to render an element in a layout?
body: <p>I use the following to render an element in <code>view/users/index.ctp</code>:</p>
  
  <pre><code>$this-&gt;renderElements('users/lmenu');
  </code></pre>
  
  <p>But when use the same line in the layout <code>default.ctp</code> I get an error:</p>
  
  <pre><code>Call to undefined method View::renderElements() 
  </code></pre>
  
  <p>How can I display an element in a layout?</p>