Re: [TYPO3-english] Typo3 CLI and PHPUnit

2014-01-22 Thread Stefano Kowalke
Hey John, if you like to test these testing extension like you did you need to install them. Have a look in the manual [1] how to do that. It differss a little bit from the normal way via the Extension Manager. Otherwise these extensions are not there for direct testing but will used for the

Re: [TYPO3-english] Typo3 CLI and PHPUnit

2014-01-22 Thread Stefano Kowalke
Here the link to the manual page. [1] http://docs.typo3.org/typo3cms/extensions/phpunit/3.7.22/#installation Stefano ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

Re: [TYPO3-english] Typo3 CLI and PHPUnit

2014-01-22 Thread Knut Behrends
Here is some code to get you started. If your extension is called myext, put this class into a directory called myext/test These tests are checking the mysql connectivity via dbal. In the username, password, connectionstring fields/param you should put your oen values. ?php /** * Testsuite

[TYPO3-english] More than three layouts - Fluid

2014-01-22 Thread Tom Warwick
Morning all, Im currently using Fluid as my templating engine, I have three different layouts currently, however when I add a fourth template to my TS (as well as creating a new BE layout) I am unable to see it under Front End Layouts in the backend. Is it the case that Fluid doesnt support

Re: [TYPO3-english] More than three layouts - Fluid

2014-01-22 Thread Mikel
There should be no limit for backend layouts. Do you mix up backend and frontend layouts? You were saying that you are creating a new BE layout and you can't see it under Frontend Layouts? You should see the backend layout under Backend Layout... Morning all, Im currently using Fluid as my

[TYPO3-english] Re: More than three layouts - Fluid

2014-01-22 Thread Tom Warwick
Hi Mikel, For each of my FE templates I have a BE layout linked to it. However when I create my fourth FE layout - it doesn't appear in the FE layout drop down. Hope I made it a bit more sense this time. Tom ___ TYPO3-english mailing list

[TYPO3-english] Re: More than three layouts - Fluid

2014-01-22 Thread Tom Warwick
How embarrassing ... I cleared the cache and it now appears :S Remember folks ... always clear the cache. Thanks for help Mickel. ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org

[TYPO3-english] pageNotFound_handling - best practice?

2014-01-22 Thread Martin Bless
Hello friends, I'm looking for kind of best practice to implement the error handling. Im on TYPO3 CMS 4.7 with a multidomain multitree multilanguage setup. So this has to be adapted to the new situation: if (substr($_SERVER['REQUEST_URI'] . '/', 0, 4) == '/en/') {

[TYPO3-english] Page access to several FE usergroups

2014-01-22 Thread Sergio Catalá
Hi list, I have the next problem: I want to give access rights for a page to two FE usergroups: G1 AND G2. I realized that when we give access to two usergroups, we make an OR, not an AND. I would need the user belongs to BOTH usergroups to access the page. How would it be the best solution

Re: [TYPO3-english] Page access to several FE usergroups

2014-01-22 Thread Mikel
Can you work with subgroups? Add a new user group and make this to the parent user group of your two existing user groups. --- Main FE user group (new) - G1 - G2 When you give access rights to Main FE user group, all sub groups will have access. You could also define all

[TYPO3-english] TYPO3 empty line on top of downloaded files from server

2014-01-22 Thread Andriy Valkiv
On page I create File Links content element. I've uploaded some files (ext: dxf,pdf,xls). All is fine, but when I try to download some files from server (not direct link e.g. uploads/media/example.pdf), they don't open. e.g. with pdf files I have a message pdf-file was manipulated since

Re: [TYPO3-english] TYPO3 empty line on top of downloaded files from server

2014-01-22 Thread Steffen Gebert
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 There is probably an output made somewhere in the PHP code, e.g. a 2nd line break after a closing ? tag. I'm not sure, what the easiest way to figure this out is. Kind regards Steffen - -- Steffen Gebert TYPO3 Server Administration Team Member