Project

General

Profile

Actions

Feature #19578

closed

Don't show the logged-in message when I'm logged in

Added by Simon Schick over 15 years ago. Updated almost 14 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
felogin
Target version:
-
Start date:
2008-11-06
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

When a user is logged in he gets at first the Logged-In message until he reloads the page.

But I want to display the logout-form if the user is logged in.

Therefore I've added a TypoScript-variable where you can choose if you want to display the logged-in-message or not.

If not he'll show the logout-form.

Typo3 v.4.2.2
felogin v.1.0.0
(issue imported from #M9746)


Files

tx_felogin_pi1.diff (1.14 KB) tx_felogin_pi1.diff Administrator Admin, 2008-11-06 11:10
tx_felogin_pi1_2008_11_10.diff (1.16 KB) tx_felogin_pi1_2008_11_10.diff Administrator Admin, 2008-11-10 14:04

Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #23350: Don't show the logged-in message when I'm logged inClosed2010-08-04

Actions
Actions #1

Updated by Simon Schick over 15 years ago

I've tested this additional parameter and I've found out that if you set a redirect-Url it didn't redirect to this url.

Therefore I've extendet the IF-condition.
Here is the new PatchFile.

Actions #2

Updated by Simon Schick about 15 years ago

I'm watching at this ticket for over 4 month - and nothing changed...

I'll write you a complete reason - why to implement this feature.

On my page I have a loginbox on the upper-left side of my webside.
Now if the user has logged in - I'll show him the Logout form directly and not a message that he has logged-in successfully...

If you want - here is my TypoScript for this box:

lib.login < plugin.tx_felogin_pi1
lib.login {
templateFile = fileadmin/templates/tx_felogin_pi1/boxed.html

redirectMode = loginError
  1. My Page for LoginErrors
    redirectPageLoginError = 49
preserveGETvars = all
showForgotPasswordLink = 0
dontShowLoggedInMessage = 1
_LOCAL_LANG {
de {
login = login
}
en {
login = login
}
}
}
[PIDinRootline = 49]
lib.login.redirectMode = login
  1. My LoginPage
    lib.login.redirectPageLogin = 51
    [end]
Actions #3

Updated by Simon Schick almost 14 years ago

My solution was to rebuild the loginbox by clean TypoScript.
Here's a german tutorial how to realize this:
http://www.typo3wizard.com/de/snippets/cool-stuff-typoscript/loginbox-per-typoscript-mit-kb-md5feuser-und-newloginbox.html

So I think this ticket is closed.

Actions #4

Updated by Mathias Schreiber almost 14 years ago

closed due to reporters request (if I got it wrong, please re-open)

Actions

Also available in: Atom PDF