[imp] Custom login with Custom Path and Mode dropdown

Matt testacc at xs4all.nl
Wed Feb 6 23:39:24 UTC 2008


First of all, sorry when I can't get the messages under eachother...
something with my mailclient maybe ?

> Zitat von Matt <testacc at xs4all.nl>:
>
>>> Zitat von Matt <testacc at xs4all.nl>:
>>>
>>>> I was already using a custom login and logout on a seperate path,
>>>> like:
>>>>
>>>> $conf['auth']['alternate_login'] = '/path/to/login';
>>>> $conf['auth']['redirect_on_logout'] = '/path/to/logout';
>>>>
>>>>
>>>> Ok, this works very well.
>>>>
>>>> Now there is the possibility that you can let a user chose what kind
>>>> of
>>>> email version he wants to be redirect to, like IMP, DIMP or MIMP I
>>>> would
>>>> like to have that in my custom login screen too.
>>>>
>>>> So I added the dropdown that is normally in the /imp/login.php but I
>>>> have
>>>> a problem here.
>>>>
>>>> The /imp/login.php posts to /imp/redirect.php. But because I use a
>>>> custom
>>>> login path, I'm not able to post to that redirect.php, it redirects me
>>>> back to /path/to/login.
>>>
>>> I don't understand. Why can't you post to redirect.php? That's what
>>> you did with your original login form, no?
>>
>> When I set a custom login path for my own login form and I want to
>> access
>> imp/login.php, it simply redirects me to my custom login path. The same
>> for imp/redirect.php
>
> Sure, that's why you specify a custom login screen.

True, but where do I post my form to including the MODE that I want to
chose ?

I'm not able to figure that one out.

The MODE form is generated by the system, but when I have the modules
installed like MIMP, I can add them manually to my custom dropdown.

>> When that redirect was not happening when I want to access or post to
>> that
>> redirect.php, I think it would have been solved.
>
> Sorry, I lost you here.
>
> Jan.

Normally I posted my forms to the page where the normal login of imp does
it also, redirect.php.

When I was able to post my form to that when I'm using a custom login form
it was solved, but when I post to it.. I'm redirect to my custom login
page because the install does not let me use redirect.php because of the
customlogin setting.


> --
> Do you need professional PHP or Horde consulting?
> http://horde.org/consulting/
>
> --
> IMP mailing list - Join the hunt: http://horde.org/bounties/#imp
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe at lists.horde.org
>




More information about the imp mailing list