[TYPO3-german] Probleme mit Global Conditions

RenéŽ Kockisch rene.kockisch at tu-cottbus.de
Fri Feb 15 20:23:41 CET 2008


Hallo Liste,

ich habe hier nen kleines Problem, und zwar habe ich mit newloginbox ein 
Loginformular in mein Menü gepackt und das funktioniert auch Problemlos, 
nur habe ich ein unerklärliches Phänomen :-) Jedesmal wenn ich 
eingeloggt bin erscheint unter meiner Loginbox die SeitenID der 
aktuellen Seite.

Ich habe nun schon alles mögliche Probiert aber scheinbar seh ich den 
Wald vor lauter Bäumen nicht mehr. Kann mir bitte mal jemand nen Anstoß 
geben?

Erstmal die Seite um die es geht.
http://www.tonspielzeug.de/tsp-relaunch/menuoben/startseite.html
Mit demo und 12345 könnt ihr euch mal anmelden und seht dann den Fehler. 
So und zum Abschluss der TS Code:

Bin für jeden Tip dankbar

lib.menuLeft = COA
lib.menuLeft.10 = HMENU

lib.menuLeft.10.special=list
lib.menuLeft.10.special.value = 94, 98, 97
lib.menuLeft.10.1 = TMENU
lib.menuLeft.10.1.NO = 1
lib.menuLeft.10.1.NO.linkWrap=<li>|</li>
lib.menuLeft.10.1.NO.RO=1
lib.menuLeft.10.1.ACT = 1
lib.menuLeft.10.1.ACT.doNotLinkIt = 0
lib.menuLeft.10.1.ACT.wrapItemAndSub = <li class="aktiv">|</li>

[usergroup = *]
lib.menuLeft.20 = TEXT
lib.menuLeft.20.data = TSFE : id
lib.menuLeft.20.wrap (
	  <li class="login" style="margin-top:7px; margin-bottom:7px;">
		<style>
		  form{}
  		
  		  .menuLogin label{padding-top:4px; font-size:8pt; float:left; 
width:5em; text-align:left;}
  		  .menuLogin input{width:60px; margin-left:0px;}
  		  .menuLogin .btn {margin-left:30px; margin-top:10px; width:53px;}
		</style>
		<form action="index.php?id=112" method="post" class="menuLogin">
		  <h3 style="font-size:10pt; font-weight:normal; 
margin-bottom:6px;">Login-Bereich</h3>
		  <p>Hallo <!--###USERNAME###-->!</p>
		  <input type="hidden" name="logintype" value="logout" />
		  <input type="submit" name="login" value="Logout" class="btn" />
		</form>
	  </li>
	)
[else]
lib.menuLeft.20 = TEXT
lib.menuLeft.20.data = TSFE : id
lib.menuLeft.20.wrap (
		<li class="login" style="margin-top:7px; margin-bottom:7px;">
		<style>
		  form{}
  		
  		  .menuLogin label{padding-top:4px; font-size:8pt; float:left; 
width:5em; text-align:left;}
  		  .menuLogin input{width:60px; margin-left:0px;}
  		  .menuLogin .btn {margin-left:30px; margin-top:10px; width:45px;}
		</style>
		<form action="index.php?id=112" method="post" class="menuLogin">
		  <h3 style="font-size:10pt; font-weight:normal; 
margin-bottom:6px;">Login-Bereich</h3>
		  <label for="name">Name:</label>
		  <input name="user" id="name" type="text" size="5" />
		  <label for="pass">Passwort:</label>
		  <input name="pass" id="pass" type="password" size="5" /><br />
		  <input type="submit" name="login" value="Login" class="btn" />
		  <input type="hidden" name="redirect_url" value="index.php?id=|" />
		  <input type="hidden" name="logintype" value="login" />
		  <input type="hidden" name="pid" value="123" />
		</form>
		</li>
	)
[global]

lib.menuLeft.30 = HMENU
lib.menuLeft.30 {
		special=list
		special.value = 99
		1 = TMENU
		1 {
		  NO = 1
		  NO {
		    linkWrap = <li class="newsletter">|</li>
		    RO=1
		  }
		  ACT = 1
   		  ACT {
   		    doNotLinkIt = 0
   		    wrapItemAndSub = <li class="aktiv newsletter">|</li>
   		  }
		}
	}
lib.menuLeft.40 = HMENU
lib.menuLeft.40 {
		special=list
		special.value = 100
		1 = TMENU
		1 {
		  NO = 1
		  NO {
		    linkWrap = <li class="rss">|</li>
		    RO=1
		  }
		  ACT = 1
   		  ACT {
   		    doNotLinkIt = 0
   		    wrapItemAndSub = <li class="aktiv rss">|</li>
   		  }
		}
	}
lib.menuLeft.50 = HMENU
lib.menuLeft.50 {
		special=list
		special.value = 101
		1 = TMENU
		1 {
		  NO = 1
		  NO {
		    linkWrap = <li>|</li>
		    RO=1
		  }
		  ACT = 1
   		  ACT {
   		    doNotLinkIt = 0
   		    wrapItemAndSub = <li class="aktiv">|</li>
   		  }
		}
	}





----------------------------------
Kosys - Kockisch ITK Systems and Services
Inh. Kockisch René

Görlitzer Str. 22
03046 Cottbus

Tel.: 0355/ 430 903 81
Fax.: 0355/ 430 903 84


Internet: www.kosys-cottbus.de
E-Mail: rene-kockisch at kosys-cottbus.de


More information about the TYPO3-german mailing list