[TYPO3-german] newloginbox - Status/Logout anzeigen

Andre Dittmar typo3 at hotbytes.de
Thu Apr 13 11:12:12 CEST 2006


Hallo,

>> ich nutze die Extension newloginbox.

Ich nutze für diesen Zweck dann noch die "Loginbox for Better Login Plugin"
(arotea_loginbox). Evt. kannst Du das auch nur mit der newloginbox machen.
In Deinem HTML-Template brauchst Du einen Container, z.B. einen <div
id="login">&nbsp;</div> in den dann die Ausgabe erfolgen soll. Diesem
brauchst Du dann nur noch im Typoscript den Inhalt des Plugins zuweisen:

# Beispiel für Typoscript:
temp.maintmpl = TEMPLATE
temp.maintmpl {
  template =< plugin.tx_automaketemplate_pi1
  workOnSubpart = DOCUMENT_BODY

  subparts.login < plugin.tx_arotealoginbox_pi1

  subparts.news < temp.latest_news
  subparts.content < temp.content
}

Standardmässig wird so allerdings die Loginbox angezeigt wenn _kein_ User
angemeldet ist. Das könnte man mit einer Condition abfangen, z.B.:

# Beispiel für Condition (untestet)

[usergroup = *]
plugin.tx_arotealoginbox_pi1 >
[global]

Und zwar natürlich _bevor_ das Plugin-Objekt dem Subpart zugewiesen wird.
Wie gesagt, ich habe es nicht getestet, das ist nur mal so eine Idee. Evt.
gibt es auch andere Möglichkeiten...


Frohes Gelingen & Gruß
Andre

---
Andre Dittmar | hot bytes

Hofstatt 29
74226 Nordheim
Germany

Fon : +49 (0) 71 33 / 20 46 43
Fax : +49 (0) 71 33 / 20 46 42
D1  : +49 (0) 1 60 / 97 22 03 03

Web : http://www.hotbytes.de
Mail: mail at hotbytes.de

____________
Virus checked by G DATA AntiVirusKit
Version: AVK 16.6773 from 13.04.2006
Virus news: www.antiviruslab.com




More information about the TYPO3-german mailing list