[Typo3] Login form in urban nomad template?

Frank Rowold frank.rowold at lycos.de
Sat Aug 27 11:55:58 CEST 2005


Hi Salih				

thanks for your quick reply.

Still the login form does not show up in the top navigation bar. I am somehow lost.

Again, what I did so far:

I included 

<!-- ###LOGIN_LOGOUT### START -->

<!-- ###LOGIN_LOGOUT### END -->

to the urbannomad.html template file just as you did it. After that I copied the code you sent me yesterday into my setup.txt file - again just as you described it above. I modified it and adapted the pids as they are appear on my website. 

When I've done this I uninstalled the template and reinstalled it again using the extension manager in the backend for the modifications to take effect. BUT...... nothing changed. So, I had a look to the source code on my website and I found out that the 

<!-- ###LOGIN_LOGOUT### START -->

<!-- ###LOGIN_LOGOUT### END -->

tags are in the code but not the code I entered into setup.txt. Which means setup.txt took no effect. 

What am I doing wrong? How can I achieve that modifications to setup.txt will take effect? I thought I can achieve this by reinstalling the template using extension manager. 

Thanks for any help!

Best regards,

Frank

- Frank Rowold (frank.rowold)

-----------------------
This thread is located in the archive at this URL:
http://typo3.org/documentation/mailing-lists/english-main-list-archive/thread/110136326/
					
> Hi Frank,
> 
> - Sorry for my english!
> 
> >"template setup"
> 
> As you write, it is the setup.txt file in the static directory of the template.
> 
> I've added the login_logut codes after the 'Bottomlinks menu' section into the
> setup.txt file.
> It good works.
> 
> My code copied and pasted as below, I hope it helps to you.
> 
> ###########################################
> #------------------------------
> #   login_logout
> #------------------------------
> temp.login_logout = TEXT
> temp.login_logout.insertData = 1
> temp.login_logout.value (
> 
> <form action="index.php?id=3" target="_top" method="POST"
> style="margin-bottom:0;margin-right:0;margin-left:0;margin-top:2;"><input
> style="width:50px; height:18px; margin-left:5;" name="user" type="text"
> value="" title="Enter username"><input style="width:50px; height:18px;
> margin-left:5" name="pass" type="password" value="" title="Enter
> password"><input name="login" type="image" style="vertical-align:top;
> margin-left:30; border-right: 0px solid; border-top: 0px solid; border-left:
> 0px solid; border bottom: 0px solid; 0"
> src="fileadmin/templates/images/lock.gif" border=0 title="Login"><input
> type="hidden" name="logintype" value="login"><input type="hidden" name="pid"
> value="14"><input type="hidden" name="redirect_url"
> value="index.php?id={TSFE:id}">
> ######
> # "pid" value="14" - User Storage Folder (SysFolder).
> ######
> <p class="logintext" style="margin-left: 5px;" title="Forgot password"><a
> HREF="index.php?id=3&no_cache=1&tx_newloginbox_pi1[forgot]=1">Forgot your
> password?</a><img src="fileadmin/templates/images/spacer.gif" width="14px"
> height="4" border="0" alt=""><class="logintext" style="margin-left:0px;"
> title="Click on for registering"><a HREF="index.php?id=7">Register!</a></p>
> 
> </form>
> )
> 
> [usergroup =*]
> 
> temp.loginScript=PHP_SCRIPT
> temp.loginScript.file= fileadmin/templates/fe_user.inc
> temp.login_logout.value (
> 
> <form action="index.php?id=3" target="_top" method="POST"
> style="margin-bottom:0;margin-right:0;margin-left:0;margin-top:2;"><img
> src="fileadmin/templates/images/spacer.gif" width="4" height="4" border="0"
> alt="">
> <span class="subhead">Login as : </span><span
> class="logintext"><strong><!--###USERNAME###--></strong> </span>
> <input name="logout" type="image" style="vertical-align:top; margin-left:25;
> border-right: 0px solid; border-top: 0px solid; border-left: 0px solid; border
> bottom: 0px solid; 0"  src="fileadmin/templates/images/locked.gif" border=0
> title="Logout!">
> <input type="hidden" name="logintype" value="logout">
> <input type="hidden" name="redirect_url" value="index.php?id={TSFE:id}">
> 
> <p class="logintext" style="margin-left: 10px;" ><a
> href="index.php?id=5">Update your profile</a></p>
> 
> 
> </form>
> )
> 
> 
> [global]
> 
> subparts.login_logout < temp.login_logout
> 
> ################################################
> 
> I've solved my problem like this.
> 
> Best regards :-)
> 
> 
> - Salih Sertkaya (ssalih)
> 
> -----------------------
> This thread is located in the archive at this URL:
> http://typo3.org/documentation/mailing-lists/english-main-list-archive/thread/110136273/
> 
> _______________________________________________
> Typo3-english mailing list
> Typo3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
> 



More information about the TYPO3-english mailing list