[Typo3] Show some text if login is required?

René Schade schade at hypergenic.com
Wed Aug 17 15:11:05 CEST 2005


> 
> How do I present the fe_user with a text like "You must be 
> logged in to see this page, click here to login"?
> 
> I can control content if the user is logged in or not 
> ([loginUser *]), but this does not help me.
> 
> The problem typically occours if the user logs in, and 
> bookmarks a password protected page. If the bookmark later on 
> is followed, I just get a blank page (no content).
> 
> Regards,
> René
> 
> 
> Hi Rene. Have you tried inserting a standard text 
> contentelement on that page, and then in the "Access" field 
> set it to "Hide at any login"
> 
> When a user who ISN'T logged in, sees the page, the text 
> element is shown, but if the user IS logged in, the text 
> element will be hidden.
> 

Great idea, but then I have to do this on every page I create! This is too inconvenient.

René





More information about the TYPO3-english mailing list