---
title: "Protected page in menu- show on/off"
url: "https://www.typo3.net/d/62009-protected-page-in-menu-show-onoff"
source: "typo3.net"
tags: ["TYPO3","Menüs","English","Frage","Frontend-Benutzer"]
created: "2007-05-04"
last_reply: "2007-05-04"
replies: 3
solved: false
page: 1
pages: 1
lang: "en"
---

# Protected page in menu- show on/off

TYPO3 › Menüs · 3 Antworten · gestartet 2007-05-04

## Eröffnungsbeitrag

**htp** · 2007-05-04 · [Beitrag #1](https://www.typo3.net/d/62009-protected-page-in-menu-show-onoff/1)

Hi Dudes!

I have question about the protected pages in TYPO3.
When I create a protected page in TYPO3 and put in leftnavigation page holder (for example protected page's name is forum), when I'm not logged in I CANT'T see this page in the menu three. This is OK, but:

When I login, The forum link is visible.

I want this: If I'm NOT login via my fe user and password, I want to see this protected link- forum. But when I click on insted of the forum, user must see something like that: "Ooops, this page is for registred users only". Then, when I typed my username and password, click on the forum link, and I will see forum (error message will be gone).

Is this some extension for this kind of stuff, before I try to make something with [usergroup=*] [else] [global]. Am I on the right track for this? Is it possible?

Thanks, Georgi.

## Antworten

### [#2](https://www.typo3.net/d/62009-protected-page-in-menu-show-onoff/2) · cope · 2007-05-04

Hello Georgi,

sorry for my bad english.
As far as I can see you could simply create two pages, both with title forum eg. One of this pages will have the message "Ooops, please login first..." and the second one contains the forum.

Now you will set the first page to hidden (in page properties) at login
and the other page to visible at login.

Regards
Cope

### [#3](https://www.typo3.net/d/62009-protected-page-in-menu-show-onoff/3) · just2b · 2007-05-04

Hello,

or the better solution would be this
1 = TMENU
1 {
  showAccessRestrictedPages = 14
  showAccessRestrictedPages.addParams = &return_url=###RETURN_URL###&pageId=###PAGE_ID###

explanation in TsRef: <https://docs.typo3.org/m/typo3/reference-typoscript/main/en-us/ContentObjects/Hmenu/Tmenu/Index.html#menu-common-properties>

georg

### [#4](https://www.typo3.net/d/62009-protected-page-in-menu-show-onoff/4) · htp · 2007-05-04

Thank you very much to both of you!
You really helped me!

Cheers, Georgi

---

Quelle: „Protected page in menu- show on/off“, typo3.net, https://www.typo3.net/d/62009-protected-page-in-menu-show-onoff
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
