I’ve experienced this with quite a few MODx sites I’ve developed. Just using QuickEdit in the most basic way (for example [*#content*], etc) produces QuickEdit markup output in pages viewed for people not logged in such as visitors. It’s only the markup and no QuickEdit controls are generated, but this rogue markup considerably affects how Safari draws the page. It’s weird because I force caching off by calling snippets via [!snippet!] in the few templates I use for a site, but the <quickedit> tags are still present.
I thought it’s possibly a snippet clash but I don’t use anything out of the ordinary and any custom stuff is pretty basic PHP, no event-based stuff. It’s been brought up a few times here and there’s never been any real answers so far, hopefully that’s still not the case. Cheers for any help in advance.
-
☆ A M B ☆
- 24,524 Posts
When you are working on these pages as a Manager user, the last thing you do before logging out is to clear the cache. This will get rid of the cached pages with the markup.
Just revisiting this, would "Clear cache on logout" be an easy plugin to knock up?
Quote from: sal at Jan 30, 2009, 01:25 AM
Just revisiting this, would "Clear cache on logout" be an easy plugin to knock up?
A plugin listening to the OnManagerLogout event containing:
Might do the trick.
I think you could also add a clearCache() call in:
manager/processors/logout.processor.php