[Typo3] Can't tell if I'm logged in...
Vlatko Šurlan
vsurlan at net.hr
Tue Aug 30 20:33:59 CEST 2005
I just installed the arotealoginbox. Here is ts setup on the root page:
# Configuring the new login box
plugin.tx_arotealoginbox_pi1 {
pidLoginpage = 1
templateFile = EXT:arotea_loginbox/pi1/template.html
plugin.tx_arotea_loginbox_pi1.userStorage = 33
}
# Main TEMPLATE cObject for the BODY
temp.mainTemplate = TEMPLATE
temp.mainTemplate {
# Feeding the content from the Auto-parser to the TEMPLATE cObject:
template =< plugin.tx_automaketemplate_pi1
# Select only the content between the <head>-tags
workOnSubpart = DOCUMENT_HEAD
# Select only the content between the <body>-tags
workOnSubpart = DOCUMENT_BODY
# Insert the content
subparts.content < styles.content.get
# Insert the new login box
subparts.lgin < plugin.tx_arotealoginbox_pi1
}
And this is the modified html template part
<!-- ###TEMPLATE_LOGIN### begin -->
<form action="###LOGINPID###" method="post" name="form" id="form"
class="c1">
<input type="hidden" name="logintype" value="login">
<input type="hidden" name="redirect_url" value="">
<input type="hidden" name="pid" value="###USERSPID###">
<table border="0" cellspacing="0" cellpadding="0" align="top">
<tr><td id=lgin class=tgt align=center>
<table id=lginfrm align=center>
<tr>
<td>Korisnik</td>
<td><input type=text name=user size=15 class=txtbx></td>
<td rowspan=2><input type=image name=submit
src="fileadmin/template/imgs/btn.gif" width=26 height=16 border=0></td>
</tr>
<tr><td>Lozinka</td><td><input type=password name=pass size=15
class=txtbx></td></tr>
<tr><td><nobr>Zapamti me</nobr></td><td colspan=2><input
type="checkbox" name="tx_jullefeloginctl_autologin" value="1"></td></tr>
</table>
<!--<a href="http://pvc-stolarija.hr/index.php?id=27">::> Novi
račun</a><br>
<a href="http://pvc-stolarija.hr/index.php?id=27">::> Zaboravili
ste lozinku?</a><br>-->
</td></tr>
</table>
</form>
<!-- ###TEMPLATE_LOGIN### end -->
When I hit the login image I can't tell if I logged in or not, because
the login form remains just the same. I have a hunch there was no actual
loging performed... Any hints. Thanks in advance...
--
Isus Krist je umro za moje i tvoje opravdanje.
Jesus Christ died for yours and mine justification.
Vlatko Šurlan
vsurlan at REMOVETHISnet.hr
385 (0) 98 1722 187
More information about the TYPO3-english
mailing list