[Typo3] Password protected pages, fe-user isn't logged in

tobias erlacher tobi at 54tec.com
Thu Oct 27 21:25:51 CEST 2005


Hi Stefan

> We want to provide Bookmarks to restricted pages, and if no login,  
> redirect to Loginform.

you could create a extension template at your access restricted page or  
page tree and use the loginUser condition  
(http://typo3.org/documentation/document-library/doc_core_tsref/loginUser/)  
in your ts setup like this

[loginUser = *]
# show normal content aka do nothing
[else]
# overwrite your page.10.subparts.CONTENT (or similar) with the login  box
page.10.subparts.CONTENT<styles.content.loginform
[global]

have fun

Tobias Erlacher
www.typo3wizard.com



More information about the TYPO3-english mailing list