[TYPO3-english] felogin on every page fails, logout works

Gorosito Gonzalo xgonzalo at gmail.com
Tue Oct 25 08:42:16 CEST 2011


Guys,

I'm dealing with the same problem now. I have a login form created on X page
and there the login works, but in order to show the login form inside all
pages I created a TS object:
lib.felogin = COA_INT
lib.felogin {
  10 < plugin.tx_felogin_pi1
}

And I use the lib.felogin in several templavoila mappings along the website.
Basically what is happening is if the login post comes with the pid
corresponding to the page that has a login form, it works, but I didn't
found a way to make the login box work on any page.

Any ideas?!

Thanks in advance!
#######################################
#  Gonzalo Gorosito
#  Programador && sysadmin
#
#  http://www.tutorialesdebian.com - Tutoriales para debianeros, scripts,
info, notícias y mucho mas.
#  http://www.ggorosito.com.ar - Website personal
#######################################


On Thu, May 12, 2011 at 12:29 PM, Tony Lush <tlush at advancewm.com> wrote:

> I am trying to put a login form on every page, substituting a logout form
> when someone is logged in.
>
> Every time an existing user tries to log in, the browser asks if they want
> to change their password and they get a login failure. The same credentials
> work on the default login page.
>
> When they are logged in, the logout button works.
>
> My TS is:
>
> # Login user
> ##############################**#########
> postCodeFooter= TEXT
> postCodeFooter.insertData = 1
> postCodeFooter.value (
> <div id="awm_login">
> <form action="index.php?id=90" method="post">
> <input type="text" id="user" name="user" class="top_login" value="User
> Name" />
> <input type="password" id="pass" name="pass" class="top_login" value="" />
> <input type="submit" name="submit" value="Login" class="login_button" />
> <input type="hidden" name="logintype" value="login" />
> <input type="hidden" name="pid" value="87" />
> </form>
> </div>
> )
>
> # Logout user
> ##############################**#########
> [loginUser = *]
> postCodeFooter.value (
> <div id="awm_login">
> <form action="index.php?id=90" method="post">
>
>        <b><!--###USERNAME###--> </b>
>        <input type="submit" name="submit" value="Logout"
> class="login_button"/>
>        <input type="hidden" name="logintype" value="logout" />
>        <input type="hidden" name="pid" value="87" />
> </form>
> </div>
> )
> [GLOBAL]
>
> Thank you -- Tony
> ______________________________**_________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-**bin/mailman/listinfo/typo3-**english<http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english>
>


More information about the TYPO3-english mailing list