I have a simple question , I am trying to use ONE default layout with header and footer to automatically show in other .ctp files when I make them, but for some reason I cannot do it and also I was thinking of using one javascript file to show in all the other pages as well , can someone give me with example on how to make the header and footer from one default file show up on all the other files.
Thank you for your help
Here an example for your default.ctp
default.ctp
$this->fetch('content') ist the "magic" part of CakePHP. Here will be fetched your view.