[Typo3] Include loginbox on each page
Bernhard Kraft
kraftb at kraftb.at
Fri Jun 17 21:10:07 CEST 2005
mamax wrote:
> I want my Loginbox to be displayed on each page on my site (it's placed in
> the header part).
> The point is: my header is defined as part of the HTML template and the
> login is a marker inside the header.
>
> How can I define this ###LOGIN### object to refer a certain page (defined in
> T3, hence not a file but from the T3 db)?
You can do the following:
Insert:
?.marker = HTML
?.marker (
<form action="index.php?id=PAGE_ON_WHICH_YOU_WANT_TO_BE_AT_SUCCESSFULL_LOGIN" target="_self" method="POST" enctype="multipart/form-data">
<input type="text" name="user" value="">
<input type="password" name="pass" value="">
<input type="hidden" name="logintype" value="login">
<input type="hidden" name="pid" value="PID_OF_FE_USER_FOLDER">
<input type="submit" name="submit" value="Login">
</form>
)
this is enough to log in ...
greets,
Bernhard
More information about the TYPO3-english
mailing list