Sehr gute Idee, und nichts leichter als das. Look here: http://strzelectwo.kimla.de (announcement on banner about holidays). Text input in admin-panel, with a switch 'on-off'. Formatting through css.
1. create new items in config/lang_xx.php $config['anons']=""; $config['bAnons']=true; 2. create new item in templates/plugins.css #anons{padding:4px;font-weight:bold;width:390px;height:45px;top:74px;left:260px;position:absolute;border:#21c5f7 3px solid;z-index:2000;background:#eee;opacity:0.8;filter:alpha(opacity=80);text-align:left;} 3. create entry in templates/admin/settings.tpl over the row <tr class="end">
<tr class="l0"><th>Announcement <select name="bAnons">$sThrowAnonsSelect</select></th><td><textarea name="anons" value="$config[anons]" cols="100" rows="5">$sAnonsNoBR</textarea></td></tr> 4. create entries in actions_admin/settings.php uner the line: $sTextSizeSelect=...
$sThrowAnonsSelect=throwTrueFalseOrNullSelect($config['bAnons']); $sAnonsNoBR=str_replace('<br/>',chr(13).chr(10),$config['anons']); 5. create entry in core/common-admin.php in the function saveVariables under the line: $sValue=stripslashes($sValue);
$sValue=str_replace(chr(13).chr(10),'<br/>',$sValue); 6. create entry in templates/themes/default.php under the "menu block"
I have placed it directly under a dropdown menu and near an image. But when I click on the dropdown menu or image, the announcement-board is not fading away.