This formatting happens in a helper and I return the $out variable and
echo it.
foreach ($this->data['Resumeitem'] as $ri)
{
# debug(Sanitize::html($res->formatSection($ri, $count)));
echo $res->formatSection($ri,$count);
echo "\n\n";
$count++;
}
The bottom of the $res->formatSection is just:
return $out;
That debug() statement shows me the raw html and it looks absolutely
right as it comes from the helper. But when it gets output it's all
weird.
I did a bit of testing and it seemed like this weirdness with div's
wasn't happening in the view so maybe I'll just move this function to
the main view code, rather than the helper. But I sure wish I
understood what was happening. I commented out everything in my
app_controller just to make sure there wasn't something in there
messing up, moved my css file out of the way. Those were the most
obvious places where I could imagine weird things like this happening,
but that didn't change anything.
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
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