Zum Inhalt springen

logout button

Erstellt am 18. Oktober 2007 · 2 Antworten · letzte Antwort am 19. Oktober 2007

Tags: Frage, English

mario60 ·

Hello,

Is there a quick way to insert a logout button in any mm_forum page (= any page where I have a mm_forum plugin content element of some kind)?
If so, how?
Maybe this is not a mm_forum questions (i am not sure) but any help advise is very welcome.

Thanks
mario

SLAng ·

For Logout and Login you can use newloginbox Extension. By using a marker for example like ###LGOGIN### in your Design-Template, you can place it on every page.

Get in touch with the marker by TypoScript like this:

...
marks {
       LOGIN < plugin.tx_newloginbox_pi1
}

Another alternative ist to use content from another page. So create a new page and put the newloginbox Extennsion in Col "normal".

In your Design-Template set a marker as I have written above. (###LOGIN###)

In your TS-Setup define the marker:

temp {
	LOGIN = CONTENT
	LOGIN {
		table = tt_content
		select {
			pidInList = 12 // The PID you have created and where the Newloginbox Content is placed.
			orderBy = sorting
			where = colPos = 0 // 0 = normal
		}
	}
}

...
marks {
	LOGIN < temp.LOGIN
}
mario60 ·

Hello

thanks for your reply, but I do not get it (shame on me!).
Two questions:

1.I am trying both the CrCPH template and a very basic template setting as

page = PAGE
page.typeNum = 0

page.9 = HMENU
page.9.1 = TMENU
page.9.1.NO {
  linkWrap = <b>|</b><br />
}

page.20 = CONTENT
page.20.table = tt_content
page.20.select {
	pidInList = this
	where = colPos=0
}

How do I insert your ###LOGIN###, in either case?

2. I am trying newloginbox. I read that it should be possible to arrange things in such a way that I may redirect fe users from different groups to different pages. As a matter of fact, I am not able to get that. I tried a number of extensions (dkd_redirect_at_login, bzb_newloginbox_redirect, ecc.) but every single one seems to misbehaves somehow. Is there any succesfull solution?

Thanks a lot
mario

ps I am on my localhost, TYPO3 Ver. 4.1.2