I want create in homepage a login section. If the user is a privilege user, he can see 2 reserved page.
So I thought to use a global variable inside login function. If this variable is 1 the user is privileged and he can see all menu (with 2 reserved page.) otherwise not.
the problem is that when user is logged I see the name of 2 reserved page in menu. If I clich on that page, I see content of page but in my menu the name of reserved page disappear. User seems log off. I try use session but something is wrong..
We've moved the forum!
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
Go to End
- Previous 10 entries
- 1
- Page 22(current)
Go to Top
- Previous 10 entries
- 1
- Page 22(current)