I wonder what will happen if you wrap the cake:nocache tags with a comment
<!-- -->

Have you tried that?

Regards,

Alfredo

On Sun, Feb 15, 2009 at 8:35 PM, brian <[email protected]> wrote:

>
> I have the following in my main layout:
>
> <div id="content">
>        <cake:nocache><?php if ($session->check('Message.flash'))
> $session->flash(); ?></cake:nocache>
>        <?= $content_for_layout ?>
> </div>
>
> Because it's in the layout, views that I don't want cached won't have
> the cake tags stripped This is causing some styling issues, at least
> in FF. (why it doesn't just ignore the tag I don't know.) Is anyone
> else seeing this?
>
> I realise that those views for which this is happening won't have
> CacheHelper sifting through the markup to remove the tags, but does
> anyone have an idea for dealing with this?
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to