title: CakePHP render different layout-file from internal / external link
body: <p>In my project, I'm displaying my views in a lightbox and I don't want the top-navigation to be loaded.
  I'm using:</p>
  
  <blockquote>
    <p>$this->render('ajax');</p>
  </blockquote>
  
  <p>That way, only the content is loaded and it looks nice inside the lightbox.</p>
  
  <p>The problem is, when I share the view-link.</p>
  
  <p>Clicking the view-link only shows the view page <strong>WITHOUT</strong> top-navigation (etc.)</p>
  
  <p><em><strong>Any idea, how I could change the render-value only for the view-method?</em></strong></p>