Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • How to apply style to a cakephp debug console

    • 0
    • 0
    • 1
    • 0
    • 0
    • 0
    • 0
    • 0
    • 620
    Comment on it

    We have cakephp debug on or off option in core.php file, if debug is on then all errors and query will show at the bottom of the page. we can give it some different style or UI so that it will be more readable. we can apply css like below code

    .cake-sql-log {
        position:fixed;
        top:99%;
        z-index:10;
        width:100%;
        background-color:black;
        color:white;
        border-collapse:collapse;
    }
    
    .cake-sql-log caption {
        background-color:#900;
        color:#FFF; 
    }
    
    .cake-sql-log:hover {
        top:auto;
        bottom:0;
    }
    
    .cake-sql-log td {
        padding:3px;
        border:1px solid #999;
        background-color:#EEE;
        color:#000;
    }
    

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: