By default the home page routes to a "static" page which may be edited by adding home.ctp to the views\pages dir or as Blackymetal says you may reroute the page to a specific controller. You will also do well to read up on elements which allow you to place "modules" into specific views.
On Mar 5, 2:12 am, kaushik <[email protected]> wrote: > Below is my 'default.thtml', it is working properly. But i cannot > understand how to call any specific controller in index page. > > <!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=iso-8859-1" /> > <title>Untitled Document</title> > </head> > > <body> > <?php echo $content_for_layout ?> > </body> > </html> > > Anyone can help me? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
