This website can use cookies to improve the user experience

This website can use cookies to improve the user experience and to provide certain services and functions to users. Cookies contain small amounts of information (such as login information and user preferences) and will be stored on your device.

Enable All Cookies Privacy Policy

Make errors more prominent


avatar
cosmin 269
From: -
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.

Notice

This topic is archived. New comments cannot be posted and votes cannot be cast.

Responses to this topic


1 Re: Make errors more prominent
avatar
OP 269
From: -
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:
    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".
1 Re: Make errors more prominent
avatar
Administrator
1340
From: Vienna, Austria
Thanks for your suggestion. I will change it in next major release.

Notice

This topic is archived. New comments cannot be posted and votes cannot be cast.