Hallo Forum,
habe eine Extension erstellt, die die Loginmaske etwas verändert (über die ux_SC_index) gemäß der Anleitung im Typo3 Kochbuch (http://bilder.buecher.de/zusatz/22/22487/22487712_lese_1.pdf)
class.ux_SC_index.php
<?php
class ux_SC_index extends SC_index {
function wrapLoginForm($content) {
$logo = $GLOBALS['TBE_STYLES']['logo_login'];
$loginboxImage = $this->makeLoginBoxImage();
$content='
<table cellspacing="0" cellpadding="0" border="0" id="wrapper">
<tr>
<td class="c-wrappercell" align="center">
<div id="loginimage"><img src="'.$logo.'" border="0" alt="" /></div>
<table callspacing="0" cellpadding="0" border="0" id="loginwrapper">
<tr>
<td>'.$loginboxImage.'</td>
<td>'.$content.'</td>
</tr>
<tr><td colspan="2">Erweiterung: Firma XY</td></tr>
</table>
<div id="copyrightnotice">'.$this->makeCopyrightNotice().'
</div>'.$this->makeLoginNews().'
</td>
</tr>
</table>';
return $content;
}
}
?>
sowie die ext_localconf.php
<?php
$ext_path = t3lib_extMgm::extPath($_EXTKEY);
$TYPO3_CONF_VARS['BE']['XCLASS']['typo3/index.php'] = $ext_path.
"class.ux_SC_index.php";
?>
und die ext_tables.php
<?php
$lConf = unserialize($TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY]);
$ExtPath = t3lib_extMgm::extRelPath($_EXTKEY);
$GLOBALS['TBE_STYLES']['loginBoxImage_rotationFolder'] =
$lConf['picture_path'] ? "../".$lConf['picture_path'] :
$ExtPath."res/loginimages/";
$GLOBALS['TBE_STYLES']['logo_login'] = $lConf['logo'] ?
"../".$lConf['logo'] : $GLOBALS['TBE_STYLES']['logo_login'];
?>
Nun kann ich mich im Firefox nicht mehr einloggen, er erkennt mein Passwort nicht mehr. Und komischerweise: im Internet Explorer funktioniert es noch?!
Viele Grüße