Just to expand on what Amit said, you can override the default layout by creating:
/app/layouts/default.ctp This requires no controller code. You may also define layouts in controller classes (like amit's example) or you can define them in actions. For a reference you can look at /cake/libs/views/layouts/default.ctp to see the different variables used for content, i.e. <?php echo $content_for_layout; ?:> Kind Regards Stephen Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
