When "Theme developer" module is enabled, it messes up Coffee, and it outputs "Could not load data, please refresh the page". It's not surprising, because devel_themer adds many additional information and markup to the rendered pages. But it would be great to use Coffee without having to disable Theme developer first.
Could you make them work together?
For example, with $GLOBALS['devel_shutdown']
, you can supress the devel footer for a page, but I don't think it solves the problem.
$GLOBALS['devel_theme_calls']
and $GLOBALS['devel_themer_server']
also contains some relevant information, but I don't know what is the appropriate method to disable devel_themer for a simple page callback.
Do you have any ideas?
Thank you very much in advance, and thanks for developing this great module.
EDIT:
I opened an issue for Theme developer module: #2080385: What is the appropriate way to disable Theme developer temporarily for a page callback not to add its own markup?
Comments
Comment #0.0
Sk8erPeter CreditAttribution: Sk8erPeter commentedopening issue on Theme developer's issue queue
Comment #1
Nebel54Are you still having this issue? It does not occur on my machine (coffee 7.x-2.x dev, theme_devel (7.x-1.x).
Comment #2
michaelmol CreditAttribution: michaelmol commented