I fixed the problems.
1. The reason for the problem of the spaces as first characters in the
html-source was a few spaces in a few file after the php-closure (like
this "?> "). After removing it, everything worked as a charm.
2. I fixed the other problem by using the code:
if ($this->RequestHandler->isRss()) {
$this->layout = 'rss';
}
Does anyone have a better solution for the layout?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---