Make errors more prominent
cosmin 269
From: -
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
cosmin
OP
269
From: -
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:
only you could use the two classes instead of "spans".
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
Philipp
From: Austria
Administrator
1342From: Austria
Thanks for your suggestion. I will change it in next major release.