Hi guys,

It took me a while to work out why my conventional links were
returning ajax style, layout-less pages!

- I have a page (in views/pages/) that has tabs, each of these tabs
causes a page refresh
- I use JQuery to hijack the links to make them ajax, so Cake returns
the view without the layout
- Other pages of the site link directly to specific tabs

So, If the request that triggers a view cache refresh happens to be an
ajax one, then the cache doesn't include the layout.
That means that my conventional direct links to these pages will
returned the cached, ajax optimised versions!!!

Is there an elegant way to deal with this?

Cheers!


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