Err, I'm supposing you've changed only the page content. The "header" and "footer" are actually in your layout file, see ~/app/views/layouts/ default.ctp (if it doesn't exist create your own, but read The Cookbook first on views and layouts).
Hope that helps! On Oct 13, 7:48 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi, > > I already got a new index view but he keeps adding stuff around it. > > My view looks like this: > > <h1>Homepage</h1> > Dit is een nieuwssysteem, gemaakt met CakePHP. <br /> > Deze pagina is in ieder geval beter dan die saaie standaard pagina van > CakePHP.<br /> > <br /> > Als je deze pagina wilt veranderen kun je deze pagina verwijderen en > aan nieuwe aanmaken.<br /> > Zie tutorial voor verdere informatie.<br /> > <br /> > Zo dat is dan al weer aardig wat tekst. Het is aan jou de taak om er > een leuke pagina van de maken. > > But when i load the index i get this source: > > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> > <html xmlns="http://www.w3.org/1999/xhtml"> > <head> > <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> > <title> > CakePHP: the rapid development php framework: Home > </title> > <link href="/cakephp/favicon.ico" type="image/x-icon" > rel="icon"/><link href="/cakephp/favicon.ico" type="image/x-icon" > rel="shortcut > > icon"/><link rel="stylesheet" type="text/css" href="/cakephp/css/ > cake.generic.css" /></head> > <body> > <div id="container"> > <div id="header"> > <h1><a href="http://cakephp.org">CakePHP: the rapid > development php > framework</a></h1> > </div> > <div id="content"> > > <h1>Homepage</h1> > Dit is een nieuwssysteem, gemaakt met CakePHP. <br /> > Deze pagina is in ieder geval beter dan die saaie standaard pagina van > CakePHP.<br /> > <br /> > Als je deze pagina wilt veranderen kun je deze pagina verwijderen en > aan nieuwe aanmaken.<br /> > Zie tutorial voor verdere informatie.<br /> > <br /> > Zo dat is dan al weer aardig wat tekst. Het is aan jou de taak om er > een leuke pagina van de maken. > > </div> > <div id="footer"> > <a href="http://www.cakephp.org/" > target="_blank"><img src="/ > cakephp/img/cake.power.gif" alt="CakePHP: the rapid development php > framework" border="0" /></a> </div> > </div> > </body> > </html><!-- 0.1398s --> > > How do i turn of the default header and footer that he ads to my > files? > > Weccop --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
