Put this in the controller method:

$this->layout = null;
$this->autoLayout = false;

On Fri, Apr 18, 2008 at 12:27 AM, Correl <[EMAIL PROTECTED]> wrote:
>
>  Every time I export a report using the helper it contains the data I
>  want, but also has this at the top of the file:
>  <!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>
>  <title>CakePHP(tm) : Reports</title>
>  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /
>  ><link rel="icon" href="/cake/favicon.ico" type="image/x-icon" />
>  <link rel="shortcut icon" href="/cake/favicon.ico" type="image/x-
>  icon" />
>  <link rel="stylesheet" type="text/css" href="/cake/css/
>  cake.generic.css" /></head>
>  <body>
>  "       <div id=""container"">"
>  "               <div id=""header"">"
>  "                       <h1>CakePHP Rapid Development</h1>"
>  "               </div>"
>  "               <div id=""content"">"
>
>
>
>  I think my settings are wrong. Any ideas what I could be doing wrong?
>
>  >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to