Page 2 of 2

Re: FE Login Problems

Posted: Sun 10. Apr 2011, 16:26
by flip-flop
Example:

Code: Select all

+ home  [ID:0]
+ ...

++ Truck dealers [ID:24]  -> parent category (Loginbase)

+++ Login MAN [e.g. ID:100]  -> {FELOGIN} (Login)
 
++++ MAN [ID:25]
++++ ....

+++ Login Volvo [e.g. ID:101] -> {FELOGIN} (Login)

++++ Volvo [ID:26]
++++ ....

Code: Select all

; -----------------------------------------
; Put in the level depth, root level = 0
; FELOGIN_LEVEL_DEPTH        = 1
FELOGIN_LEVEL_DEPTH	         = 1

; This is the ID of parent's level, root would be 0
; FELOGIN_LEVEL_ID           = 24
FELOGIN_LEVEL_ID             = 24
; -----------------------------------------
Knut

Re: FE Login Problems

Posted: Sun 10. Apr 2011, 19:16
by achilehero
Thanks, Knut!

I got it working. I don't know why, but, for some reason, the first time I did setup that, when I tried accessing the levels below the first one under {FELOGIN}, (i.e.: 2nd level under {FELOGIN}) it kept logging me out. Now it's working just fine, but I didn't make chenges to the structure. It may have been something I was missing, but ... anyway, ... it's OK now it's working. Thanks again!

Re: FE Login Problems

Posted: Tue 29. Nov 2011, 08:54
by hausmeister
hi,

is it possible to auto-redirect the user after successfull login to a defined page?

der hausmeister

Re: FE Login Problems

Posted: Tue 29. Nov 2011, 10:09
by achilehero
Yes. I did that.

In the felogin.logout.html just add a javascript redirect (like the one below) at the end of the code.

Code: Select all

<script type="text/javascript">
	window.location = "....";
</script>

Re: FE Login Problems

Posted: Tue 29. Nov 2011, 11:46
by hausmeister
the problem is, that i have different fe-login-areas with different startpages ;(

der hausmeister

Re: FE Login Problems

Posted: Tue 29. Nov 2011, 12:12
by achilehero
I solved that by making the aliases like this:

You can make the main logins like: index.php?section1, index.php?section2, index.php?section3, etc

And after that, the redirects add a suffix, like: index.php?section1-page, index.php?section2-page, etc

The javascript redirect would be:

Code: Select all

<script type="text/javascript">
	window.location = window.location += "-page";
</script>

Re: FE Login Problems

Posted: Tue 29. Nov 2011, 13:13
by hausmeister
niiiiiiiiiice. thank you :P

der hausmeister

Re: FE Login Problems

Posted: Tue 29. Nov 2011, 13:25
by achilehero
You' re welcome! :)

Re: FE Login Problems

Posted: Thu 1. Dec 2011, 20:56
by hausmeister
works perfect. thank you :D

der hausmeister

Re: FE Login Problems

Posted: Thu 1. Dec 2011, 21:19
by achilehero
I'm glad it's fine!