[TYPO3-english] Check backend user login
Hello, is there a way to check in TypoScript whether a backend user is logged in? I am aware of TSFE-beUserLogin, but this flag is only set when a user is logged in, he has access to the current page and the page appears in one of his pagemounts (see class.t3lib_tsfebeuserauth:: extPageReadAccess). I want to display links to some BE User sections whenever a BE user is logged in and on every page regardless of his access rights. Thanks, Martin Altmayer ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] Check backend user login
--- Original Nachricht --- Absender: Martin Altmayer Datum: 28.02.2012 12:51: Hello, is there a way to check in TypoScript whether a backend user is logged in? I am aware of TSFE-beUserLogin, but this flag is only set when a user is logged in, he has access to the current page and the page appears in one of his pagemounts (see class.t3lib_tsfebeuserauth:: extPageReadAccess). I want to display links to some BE User sections whenever a BE user is logged in and on every page regardless of his access rights. Thanks, Martin Altmayer check for globalVar and BE_user will give e.g. [globalvar = TSFE:beuserLoagin 0] #TS code goes here [global] Peter -- Fiat lux! Docendo discimus. _ uon GbR http://www.uon.li http://www.xing.com/profile/Peter_Russ ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
[TYPO3-english] Allow .htaccess in $TYPO3_CONF_VARS['EXT']['excludeForPackaging']
Hello, I want to configure $TYPO3_CONF_VARS['EXT']['excludeForPackaging'] in the TYPO3 Global Configuration, that it include .htaccess files. The default value for the ['EXT']['excludeForPackaging'] is: (CVS|\\..*|.*~|.*\\.bak) As you can see, all files .* are excluded while packaging a TYPO3 extension via extension manager. Which syntax do I need, to exclude all .* files except .htaccess ? Thx in advance! -- Cheers, Josef Florian Glatz blog: http://typo3blog.at vcard: http://www.josefglatz.at ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] Check backend user login
maybe typolink.linkAccessRestrictedPages = 1 helps?! - Georg Am 28.02.2012 12:51, schrieb Martin Altmayer: Hello, is there a way to check in TypoScript whether a backend user is logged in? I am aware of TSFE-beUserLogin, but this flag is only set when a user is logged in, he has access to the current page and the page appears in one of his pagemounts (see class.t3lib_tsfebeuserauth:: extPageReadAccess). I want to display links to some BE User sections whenever a BE user is logged in and on every page regardless of his access rights. Thanks, Martin Altmayer ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] Clearing cache - Clear all caches?
Is there any possibility to clear extbase cache via clear page content in the backend? -- Cheers, Josef Florian Glatz blog: http://typo3blog.at vcard: http://www.josefglatz.at ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
[TYPO3-english] userTSconfig TCAdefaults.pages.l18n_cfg = 2 without any effect?
i tried to use TCAdefaults.pages.l18n_cfg = 2 within userTSconfig for various users and user groups, but it had no effect at all. i use TYPO3 4.6.1. anybody with the same problem? kind regards. roland ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] Allow .htaccess in $TYPO3_CONF_VARS['EXT']['excludeForPackaging']
On 28-2-2012 15:06, Josef F. Glatz wrote: I want to configure $TYPO3_CONF_VARS['EXT']['excludeForPackaging'] in the TYPO3 Global Configuration, that it include .htaccess files. The default value for the ['EXT']['excludeForPackaging'] is: (CVS|\\..*|.*~|.*\\.bak) As you can see, all files .* are excluded while packaging a TYPO3 extension via extension manager. Which syntax do I need, to exclude all .* files except .htaccess ? Not tested, not perfect, but I think it will do the job in normal cases: (CVS|\\..*(?!htaccess)|.*~|.*\\.bak) \\..*(?!htaccess) will match a dot possibly followed by something but it can't end with htaccess. So it will also include .myhtaccess in packaging but that won't be a big problem I guess. -- Kind regards / met vriendelijke groet, Jigal van Hemert. ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
[TYPO3-english] output CONTENT.select query in browser
Hello, For debugging purposes I would like to see the query performed. So how do I output it to a browser? temp.vartest = CONTENT temp.vartest { select { selectFields = title } # tried to do it this way, but it doesn't work: stdWrap.debugFunc = 2 } -- kind regards, Muriel le Pair ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] userTSconfig TCAdefaults.pages.l18n_cfg = 2 without any effect?
Hi Roland, Roland wrote: i tried to use TCAdefaults.pages.l18n_cfg = 2 within userTSconfig for various users and user groups, but it had no effect at all. Works for me if I use the list or page module. i use TYPO3 4.6.1. anybody with the same problem? I can confirm that this is a bug if the page is inserted via the page tree drag and drop feature. Would you please be so kind a create a bugreport here? http://forge.typo3.org/projects/typo3v4-core/issues Best regards -- Philipp Gampe – PGP-Key 0AD96065 – TYPO3 UG Bonn/Köln – linkvalidator ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] output CONTENT.select query in browser
Hi Muriel le Pair, Muriel le Pair wrote: For debugging purposes I would like to see the query performed. So how do I output it to a browser? temp.vartest = CONTENT temp.vartest { select { selectFields = title } # tried to do it this way, but it doesn't work: stdWrap.debugFunc = 2 } Funny, I did not find a solution either. I even had a short look into the code and there seems to be no place where this could be shown. Even if you turn on explain select queries in admin panel, the query is not shown. Would you please be so kind and open a feature request? http://forge.typo3.org/projects/typo3v4-core/issues Best regards -- Philipp Gampe – PGP-Key 0AD96065 – TYPO3 UG Bonn/Köln – linkvalidator ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] sr_feuser_register 2.6.2 Update - gender marker
I think the time has come to use another fe_user register extension, also because of lack of support for saltedpassword. Sry if i am moaning, but updating sr_feuser_register is always a pain! I totally agree. That's why I used datamints_feuser for my latest project. It's rather simple, but it was OK in this case. Unfortunately, there's no template support. HTML markup is hardcoded in the extension. Fortunately, it's not bad, so with good CSS, you can style it pretty well. Jan ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] userTSconfig TCAdefaults.pages.l18n_cfg = 2 without any effect?
Hi, I can confirm that this is a bug if the page is inserted via the page tree drag and drop feature. Would you please be so kind a create a bugreport here? http://forge.typo3.org/projects/typo3v4-core/issues That's a well known bug: http://forge.typo3.org/issues/25021 Regards, Andreas ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] output CONTENT.select query in browser
The quick and dirty way: enable sqlDebug in the install tool and make a spelling mistake in your query on purpose so you'll get the debug output in the frontend. Make sure your IP is included in the devIPmask. Loek On 02/28/2012 04:56 PM, Muriel le Pair wrote: Hello, For debugging purposes I would like to see the query performed. So how do I output it to a browser? temp.vartest = CONTENT temp.vartest { select { selectFields = title } # tried to do it this way, but it doesn't work: stdWrap.debugFunc = 2 } -- kind regards, Muriel le Pair ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] userTSconfig TCAdefaults.pages.l18n_cfg = 2 without any effect?
thank you for that information! kind regards. roland Am 28.02.12 23:02, schrieb Andreas Kiessling: Hi, I can confirm that this is a bug if the page is inserted via the page tree drag and drop feature. Would you please be so kind a create a bugreport here? http://forge.typo3.org/projects/typo3v4-core/issues That's a well known bug: http://forge.typo3.org/issues/25021 Regards, Andreas ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english