0

The CakePHP framework executes the debug function by placing HTML on the view layer. I have implemented a new CSS but the HTML from the debug doesn't work so well with the CSS.

How can I change cake's default HTML to export customer HTML when the debug is executed?

1 Answer 1

1

You can't, just look at the source code, it's all hard coded.

https://github.com/cakephp/cakephp/blob/2.5.2/lib/Cake/basics.php#L73 https://github.com/cakephp/cakephp/blob/1.3.19/cake/basics.php#L126

So either adapt your CSS, or create your own debug function with custom HTML output.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.