Re: [TYPO3-english] Condition to see if page has limited access

2013-11-18 Thread Urs Bräm
This is what I was looking for: [globalVar = TSFE:page|doktype = 6] temp.login plugin.tx_felogin_pi1 [global] Am 13.03.13 20:34, schrieb Urs Bräm: Hi 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

Re: [TYPO3-english] Condition to see if page has limited access

2013-11-18 Thread Urs Bräm
Ah no, sorry, it doesn't work.. Am 18.11.13 16:42, schrieb Urs Bräm: This is what I was looking for: [globalVar = TSFE:page|doktype = 6] temp.login plugin.tx_felogin_pi1 [global] Am 13.03.13 20:34, schrieb Urs Bräm: Hi this is probably very simple, but I couldn't look it up anyhow: Is

Re: [TYPO3-english] Condition to see if page has limited access

2013-04-22 Thread Urs Bräm
Thanks, Patrick! Am 09.04.13 10:25, schrieb Patrick Schriner: Hi, I have used a user function on a similar occasion: function user_feloginFromNewsletterCheck() { $currentPage = $GLOBALS['TSFE']-page['uid']; if (t3lib_div::_GP('id') != $currentPage) { return TRUE; }

Re: [TYPO3-english] Condition to see if page has limited access

2013-04-09 Thread Patrick Schriner
Hi, I have used a user function on a similar occasion: function user_feloginFromNewsletterCheck() { $currentPage = $GLOBALS['TSFE']-page['uid']; if (t3lib_div::_GP('id') != $currentPage) { return TRUE; } return FALSE; } This only works if the 404

Re: [TYPO3-english] Condition to see if page has limited access

2013-04-08 Thread Urs Bräm
Hi Viktor 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.

Re: [TYPO3-english] Condition to see if page has limited access

2013-04-08 Thread Urs Bräm
Hi Viktor 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.

Re: [TYPO3-english] Condition to see if page has limited access

2013-04-08 Thread Loek Hilgersom
Hi Urs, I don't think such a condition exists, but you could create it using a userfunc [1]. Replacing the page content by a login box is certainly possible, but it sounds like you know that part. Loek [1]

Re: [TYPO3-english] Condition to see if page has limited access

2013-04-08 Thread Urs Bräm
Not bad, thanks! Am 08.04.13 11:13, schrieb Loek Hilgersom: Hi Urs, I don't think such a condition exists, but you could create it using a userfunc [1]. Replacing the page content by a login box is certainly possible, but it sounds like you know that part. Loek [1]

Re: [TYPO3-english] Condition to see if page has limited access

2013-03-19 Thread Viktor Livakivskyi
Hi. 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

[TYPO3-english] Condition to see if page has limited access

2013-03-13 Thread Urs Bräm
Hi 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