Contentteller

Contentteller Support Forums
Home Forums > Contentteller > Feedback and Suggestions >

Make errors more prominent

Discussion in 'Feedback and Suggestions' started by cosmin, Jan 13, 2012.

  1. cosmin Customer

    Could you please make error or confirmation messages more prominent (admin interface and public side)? Right now if I don't post a summary for an article for instance, that message is hardly obvious (it doesn't even have a red background) and I find myself wondering what just happened. You could use something like your current forum up uses (it's pretty obvious and hard to miss, and feels just right). If they're easy to miss for me, they would be even easier to miss for the average web user, and they would just be a nice improvement.
    cosmin, Jan 13, 2012
    #1
  2. Philipp Administrator

    Thanks for your suggestion. I will change it in next major release.
    Philipp, Jan 22, 2012
    #2
  3. cosmin Customer

    This really doesn't need to wait until who knows when, at least not the styling part.
    You could just add two new classes to the CSS file. Somewhat like this:
    .success {
    color:#FFFFFF;
    font-weight:bold;
    background-color: #390; (green)
    font-size: large;
    display: block;
    }
    .error {
    color:#FFFFFF;
    font-weight:bold;
    background-color: #c00; (red)
    font-size: large;
    display: block;
    }
    The more tedious part would come when editing the PHP files like you do here in admindoprocessfilesqueue.php:
    PHP:
        if( pspell_check( $dictionary, $word ) )
                    {
                        
    $input_page_spelling .= $word . " ";
                    }
                    else
                    {
                        
    $suggestions = implode( ", ", pspell_suggest( $dictionary, $word ) );
                        ( 
    $suggestions ) ? $suggestions = $words_files[ 'SUGGESTIONS' ] . ": " . $suggestions : $suggestions = $words_files[ 'NO_SUGGESTIONS' ];
                        
    $input_page_spelling .= "<span style=\"background-color: rgb(235, 15, 20); font-weight:bold;\" title=\"" . $suggestions . "\"><strong>" . $word . "</strong></span> ";
                        
    $input_spell_errors++;
                    }
                }
    only you could use the two classes instead of "spans".
    cosmin, Feb 28, 2012
    #3
Show Ignored Content

Share This Page

Tweet
Forgot your password?
Contentteller Support Forums
Home Forums > Contentteller > Feedback and Suggestions >
  • Home
  • Forums

    Forums

    Quick Links
    • Search Forums
    • What's New?
  • Members

    Members

    Quick Links
    • Registered Members
    • Current Visitors
    • Recent Activity
  • Help

    Help

    Quick Links
    • Smilies
    • BB Codes
    • Trophies

Separate names with a comma.

Useful Searches

  • Recent Threads
More...
    Forum software by XenForo™ ©2010-2012 XenForo Ltd.