[TYPO3-english] Condition to see if page has limited access
info at ursbraem.ch
Mon Apr 8 10:25:53 CEST 2013
sorry for the late reply. Thanks!
What I had in mind was not redirecting the user to the single login
page, but altering the rendered page if it is protected.
I could then display the login form on the page via ts, setting it to
show only if the user is not logged in, of course.
That's why I was looking for some kind of condition that tells my TS if
the page has restricted access or not. Is there something like that?
Am 19.03.13 11:09, schrieb Viktor Livakivskyi:
> You can think about making single page with login form and set globally:
> config.typolinkLinkAccessRestrictedPages = <id_of_page_with_form>
> also look at config.typolinkLinkAccessRestrictedPages_addParams, if you
> want to redirect user back to non-accessible before page after his
> successfull login.
>> this is probably very simple, but I couldn't look it up anyhow:
>> Is there a condition that applies when a page (or, maybe also its
>> content) has limited access rights AND the user doesn't have these rights?
>> -> to display a login form on the page - but only when needed.
>> I know I can check with
>> (show form)
>> - but I would like to set it globally, so as soon as editors create
>> restricted content, the login form will appear.
Certified Typo3 Integrator
More information about the TYPO3-english