From dmitry at typo3.org Mon Sep 1 10:31:21 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Mon, 01 Sep 2008 11:31:21 +0300 Subject: [TYPO3-dev] Flexform language In-Reply-To: References: Message-ID: Hi! Steffen Kamper wrote: > i examined lang-habdling in flexforms. There is one thing i don't agree > and want to hear your opinion. There are somethings that I do not agree too but it is a taboo to change language handling in flexforms because it will ruin too much. > Using 1 > tceforms looks for installed language (in sys_languages). if found, it > choose language of BE (if i'm right) Wrong... > So what i don't agree: > Labels of flexform alway should use lanuage setting of BE_USER > independent of choosen language for the record, so IMHO this seems to be > mixed up. They do. Read the FE localization manual to see what langDisable really does. -- Dmitry Dulepov TYPO3 Core team My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book In the blog: http://typo3bloke.net/pages/book-reviews/presentation-zen-by-garr-reynolds/ From info at sk-typo3.de Mon Sep 1 10:39:52 2008 From: info at sk-typo3.de (Steffen Kamper) Date: Mon, 01 Sep 2008 10:39:52 +0200 Subject: [TYPO3-dev] Flexform language In-Reply-To: References: Message-ID: Dmitry Dulepov [typo3] schrieb: >> So what i don't agree: >> Labels of flexform alway should use lanuage setting of BE_USER >> independent of choosen language for the record, so IMHO this seems to >> be mixed up. > > They do. Read the FE localization manual to see what langDisable really > does. > Hi Dmitry, this is result of my tests. I have german BE, insert a plugin with Flexform : it has english labels. If i create a language record "german" flexform has german labels - all without any translation of the record This is the point i want to discuss, i don't want to reinvent lang-handling of Flexforms, so my point are only the labels in BE vg Steffen From dmitry at typo3.org Mon Sep 1 10:59:23 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Mon, 01 Sep 2008 11:59:23 +0300 Subject: [TYPO3-dev] Flexform language In-Reply-To: References: Message-ID: Hi! Steffen Kamper wrote: > I have german BE, insert a plugin with Flexform : it has english labels. > If i create a language record "german" flexform has german labels - all > without any translation of the record Take a look to DS XML. I am sure labels there are defined as references to LLL file. So, when translator sees these labels, they are in the language he is using to translate to. That was Kasper's idea I think. To me it looks motivated. -- Dmitry Dulepov TYPO3 Core team My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book In the blog: http://typo3bloke.net/pages/book-reviews/presentation-zen-by-garr-reynolds/ From info at sk-typo3.de Mon Sep 1 11:04:42 2008 From: info at sk-typo3.de (Steffen Kamper) Date: Mon, 01 Sep 2008 11:04:42 +0200 Subject: [TYPO3-dev] Flexform language In-Reply-To: References: Message-ID: Hi Dmitry, Dmitry Dulepov [typo3] schrieb: > Hi! > > Steffen Kamper wrote: >> I have german BE, insert a plugin with Flexform : it has english labels. >> If i create a language record "german" flexform has german labels - >> all without any translation of the record > > Take a look to DS XML. I am sure labels there are defined as references > to LLL file. So, when translator sees these labels, they are in the > language he is using to translate to. That was Kasper's idea I think. To > me it looks motivated. > i looked in source of tceforms - flex field rendering. Sure, labels are with reference to LL-file, like other labels of fields too. But in flexform the language for labels is choosen from record language which is wrong IMHO. So if you don't translate the record, lang of labels is DEF while other fields are using $GLOBALS['LANG']->lang vg Steffen From dmitry at typo3.org Mon Sep 1 14:22:07 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Mon, 01 Sep 2008 15:22:07 +0300 Subject: [TYPO3-dev] Flexform language In-Reply-To: References: Message-ID: Hi! Steffen Kamper wrote: > i looked in source of tceforms - flex field rendering. > Sure, labels are with reference to LL-file, like other labels of fields > too. > But in flexform the language for labels is choosen from record language > which is wrong IMHO. So if you don't translate the record, lang of > labels is DEF while other fields are using $GLOBALS['LANG']->lang Well, consult FE localization manual and see what (and if) it says anything on the subject. If it does, it can't be changed... -- Dmitry Dulepov TYPO3 Core team My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book In the blog: http://typo3bloke.net/pages/book-reviews/presentation-zen-by-garr-reynolds/ From info at sk-typo3.de Mon Sep 1 14:37:09 2008 From: info at sk-typo3.de (Steffen Kamper) Date: Mon, 01 Sep 2008 14:37:09 +0200 Subject: [TYPO3-dev] Flexform language In-Reply-To: References: Message-ID: Dmitry Dulepov [typo3] schrieb: > Hi! > > Steffen Kamper wrote: >> i looked in source of tceforms - flex field rendering. >> Sure, labels are with reference to LL-file, like other labels of >> fields too. >> But in flexform the language for labels is choosen from record >> language which is wrong IMHO. So if you don't translate the record, >> lang of labels is DEF while other fields are using $GLOBALS['LANG']->lang > > Well, consult FE localization manual and see what (and if) it says > anything on the subject. If it does, it can't be changed... > Hi, i did. There is nothing inside about the labels. It explains how localisation is done with flexforms. So i see no reason to change output of the labels. This should be consistent with output of other form labels in tceforms (and doesn't touch the localisation feature of flexforms) vg Steffen From dmitry at typo3.org Mon Sep 1 15:12:13 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Mon, 01 Sep 2008 16:12:13 +0300 Subject: [TYPO3-dev] Flexform language In-Reply-To: References: Message-ID: Hi! Steffen Kamper wrote: > i did. There is nothing inside about the labels. It explains how > localisation is done with flexforms. > > So i see no reason to change output of the labels. This should be > consistent with output of other form labels in tceforms (and doesn't > touch the localisation feature of flexforms) What's about translator mode? Any hints on workflow, etc? Sometimes labels in translator's language help a lot. -- Dmitry Dulepov TYPO3 Core team My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book In the blog: http://typo3bloke.net/pages/book-reviews/presentation-zen-by-garr-reynolds/ From info at sk-typo3.de Mon Sep 1 15:51:03 2008 From: info at sk-typo3.de (Steffen Kamper) Date: Mon, 01 Sep 2008 15:51:03 +0200 Subject: [TYPO3-dev] Flexform language In-Reply-To: References: Message-ID: Hi, Dmitry Dulepov [typo3] schrieb: > What's about translator mode? Any hints on workflow, etc? Sometimes > labels in translator's language help a lot. > i don't see a reason why labels in flexforms should be shown in different language as other labels of form fields. A translator normally choose the BE language he understand, also translator has to understand the language of the content to be translated as well. What do you exactly mean with translater mode / workflow ? In general if you have a editor you give him his native language for BE. In case you have a german editor who don't speak english he won't understand meaning of flexform fields with english label/description. Again, i don't speak about content of the fields or language mode ;-) vg Steffen From info at sk-typo3.de Mon Sep 1 16:52:02 2008 From: info at sk-typo3.de (Steffen Kamper) Date: Mon, 01 Sep 2008 16:52:02 +0200 Subject: [TYPO3-dev] TYPO3 Bug Day coming up this Friday, August 29th In-Reply-To: References: Message-ID: Ingo Renner schrieb: > Hi all, > > TYPO3 Bug Day has established itself as a new regularly reocurring event > after having been a big success every time before. > > If you're an extension developer and never really got into the inner > workings of the TYPO3 core, this is your chance to gain insight. If you > always had an annoyance that drove you crazy and that you want to see > fixed, let us know. > > On August 29th please join us on IRC (#typo3-bugday on > irc.freenode.net), where you can offer your help in fixing bugs and > cleaning up the bugtracker. The core developers Ingo Renner, Benjamin > Mack, Ingmar Schlecht, and Christian Jul Jensen will be around to assist > interested developers and to coordinate the event. > > For more information also check out the pages dedicated to TYPO3's Bug > Day: http://typo3.org/development/bug-fixing/bug-day/ > > > best > Ingo > > Hi, i'm wondering about less action in core list after Bug day. I'm also wondering about no core member review of sent patches. In general there are such big amount of open patches in core list that need review, at least core members have to vote to get them in core. I'm tired about sending reminders, i myself have about >7 open patches in this list. Also i feel the importance of the reviews instead of flooding list with new patches (don't misunderstand, patches are alway good and welcome) but for patchers the low input of core members is kind of frustrating. There are some "all time active" members being active, but they can't review all open patches! vg Steffen From dmitry at typo3.org Mon Sep 1 17:24:17 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Mon, 01 Sep 2008 18:24:17 +0300 Subject: [TYPO3-dev] TYPO3 Bug Day coming up this Friday, August 29th In-Reply-To: References: Message-ID: Hi! Steffen Kamper wrote: > i'm wondering about less action in core list after Bug day. > I'm also wondering about no core member review of sent patches. > > In general there are such big amount of open patches in core list that > need review, at least core members have to vote to get them in core. > I'm tired about sending reminders, i myself have about >7 open patches > in this list. Also i feel the importance of the reviews instead of > flooding list with new patches (don't misunderstand, patches are alway > good and welcome) but for patchers the low input of core members is kind > of frustrating. There are some "all time active" members being active, > but they can't review all open patches! Hm, seems like you hit the same problem that core team hit long time ago: people send patches and no one looks at them... -- Dmitry Dulepov TYPO3 Core team My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book In the blog: http://typo3bloke.net/pages/book-reviews/presentation-zen-by-garr-reynolds/ From info at sk-typo3.de Mon Sep 1 17:28:44 2008 From: info at sk-typo3.de (Steffen Kamper) Date: Mon, 01 Sep 2008 17:28:44 +0200 Subject: [TYPO3-dev] TYPO3 Bug Day coming up this Friday, August 29th In-Reply-To: References: Message-ID: Dmitry Dulepov [typo3] schrieb: > Hi! > > Steffen Kamper wrote: >> i'm wondering about less action in core list after Bug day. >> I'm also wondering about no core member review of sent patches. >> >> In general there are such big amount of open patches in core list that >> need review, at least core members have to vote to get them in core. >> I'm tired about sending reminders, i myself have about >7 open patches >> in this list. Also i feel the importance of the reviews instead of >> flooding list with new patches (don't misunderstand, patches are alway >> good and welcome) but for patchers the low input of core members is >> kind of frustrating. There are some "all time active" members being >> active, but they can't review all open patches! > > Hm, seems like you hit the same problem that core team hit long time > ago: people send patches and no one looks at them... > Hi Dmitry, yes, it seems so. And you are one of the exceptions as you are reviewing a lot of patches, many thx to you for that! So what to do? Long time well known problem, but no change anyway? vg Steffen From franz at fholzinger.com Mon Sep 1 18:06:40 2008 From: franz at fholzinger.com (Franz Holzinger) Date: Mon, 01 Sep 2008 18:06:40 +0200 Subject: [TYPO3-dev] TYPO3 Bug Day coming up this Friday, August 29th In-Reply-To: References: Message-ID: Steffen Kamper a ?crit : > In general there are such big amount of open patches in core list that > need review, at least core members have to vote to get them in core. > I'm tired about sending reminders, i myself have about >7 open patches > in this list. Also i feel the importance of the reviews instead of > flooding list with new patches (don't misunderstand, patches are alway > good and welcome) but for patchers the low input of core members is kind > of frustrating. There are some "all time active" members being active, > but they can't review all open patches! and there is still a long list of patches on the bugtracker http://bugs.typo3.org/ At the moment it does not make much sense to send anything to the Core list or write more patches because of the lack of response. - Franz From dmitry at typo3.org Mon Sep 1 18:18:03 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Mon, 01 Sep 2008 19:18:03 +0300 Subject: [TYPO3-dev] TYPO3 Bug Day coming up this Friday, August 29th In-Reply-To: References: Message-ID: Hi! Steffen Kamper wrote: > yes, it seems so. And you are one of the exceptions as you are reviewing > a lot of patches, many thx to you for that! :) > So what to do? Long time well known problem, but no change anyway? Once I proposed a ban on new patches for a week. The whole week should be dedicated only to reviews. May be we should really try it? -- Dmitry Dulepov TYPO3 Core team My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book In the blog: http://typo3bloke.net/pages/book-reviews/presentation-zen-by-garr-reynolds/ From masi-no at spam-typo3.org Mon Sep 1 18:28:35 2008 From: masi-no at spam-typo3.org (Martin Kutschker) Date: Mon, 01 Sep 2008 18:28:35 +0200 Subject: [TYPO3-dev] TYPO3 Bug Day coming up this Friday, August 29th In-Reply-To: References: Message-ID: Dmitry Dulepov [typo3] schrieb: > Hi! > > Steffen Kamper wrote: >> yes, it seems so. And you are one of the exceptions as you are >> reviewing a lot of patches, many thx to you for that! > > :) > >> So what to do? Long time well known problem, but no change anyway? > > Once I proposed a ban on new patches for a week. The whole week should > be dedicated only to reviews. May be we should really try it? Why not? Or something like a review day. Reviewing (with proper testing *) is much more time consuming as some on the lists may think. Masi * even thinking about the problem and it's solution is not always done in a couple of minutes. From typo3 at jhpc.de Mon Sep 1 18:29:48 2008 From: typo3 at jhpc.de (Helmut Hummel) Date: Mon, 01 Sep 2008 18:29:48 +0200 Subject: [TYPO3-dev] Adding snippet to standard .htaccess ruleset to avoid 404 recursion Message-ID: Hi there, how about adding the snippet Dmitry provided in his blog post[1] to the _htaccess sample that comes with the dummy package? It avoids a big problem you encounter, whe using TYPO3 with a custom 404 page and " References: Message-ID: Dmitry Dulepov [typo3] a ?crit : > Steffen Kamper wrote: >> yes, it seems so. And you are one of the exceptions as you are >> reviewing a lot of patches, many thx to you for that! > > :) > >> So what to do? Long time well known problem, but no change anyway? > > Once I proposed a ban on new patches for a week. The whole week should > be dedicated only to reviews. May be we should really try it? Make a freeze until all patches older than 1 month are in the TYPO3 Core or at least the API is enhanced so it can be easily moved into a patch extension. So others could aleady use it by installing an extension and even start to enhance this for the future. A patch extension however should not require any XCLASS! Franz From info at sk-typo3.de Mon Sep 1 18:42:28 2008 From: info at sk-typo3.de (Steffen Kamper) Date: Mon, 01 Sep 2008 18:42:28 +0200 Subject: [TYPO3-dev] TYPO3 Bug Day coming up this Friday, August 29th In-Reply-To: References: Message-ID: Martin Kutschker schrieb: > Dmitry Dulepov [typo3] schrieb: >> Hi! >> >> Steffen Kamper wrote: >>> yes, it seems so. And you are one of the exceptions as you are >>> reviewing a lot of patches, many thx to you for that! >> :) >> >>> So what to do? Long time well known problem, but no change anyway? >> Once I proposed a ban on new patches for a week. The whole week should >> be dedicated only to reviews. May be we should really try it? > > Why not? Or something like a review day. Reviewing (with proper testing > *) is much more time consuming as some on the lists may think. > > Masi > > * even thinking about the problem and it's solution is not always done > in a couple of minutes. well, +1 for a "review" day. Unfortunally the inactive members also not read this list so how address them? Should be done internal. And yes, reviewing / understanding is difficult and time consuming. And it needs a special care. May be it should also be a rule to make a test note "How to test and reproduce" vg Steffen From lolli at schwarzbu.ch Mon Sep 1 18:47:55 2008 From: lolli at schwarzbu.ch (Christian Kuhn) Date: Mon, 01 Sep 2008 18:47:55 +0200 Subject: [TYPO3-dev] TYPO3 Bug Day coming up this Friday, August 29th In-Reply-To: References: Message-ID: Hi! Steffen Kamper wrote: > Dmitry Dulepov [typo3] schrieb: >> Hi! >> >> Steffen Kamper wrote: >>> i'm wondering about less action in core list after Bug day. >>> I'm also wondering about no core member review of sent patches. >>> >>> In general there are such big amount of open patches in core list that >>> need review, at least core members have to vote to get them in core. >>> I'm tired about sending reminders, i myself have about >7 open patches >>> in this list. Also i feel the importance of the reviews instead of >>> flooding list with new patches (don't misunderstand, patches are alway >>> good and welcome) but for patchers the low input of core members is >>> kind of frustrating. There are some "all time active" members being >>> active, but they can't review all open patches! >> Hm, seems like you hit the same problem that core team hit long time >> ago: people send patches and no one looks at them... The fact that a lot of patches already got +1 from an external dev and are still not reviewed by a core dev is indeed a bit frustrating. Benni just told me he needs to finish a customer project and will then give some time to the core list again. It's generally good to see core devs working on new major features, there are some things for 4.3 I am really looking forward to. Some of the more simple things are done by externals today and this is good. The bugday already guided some people on how to patch and send to the list. Maybe there could be some core devs who are officially assigned to patch reviewing and guiding new devs? I try do do the following to take some load off from core devs: - Test more patches faithfully than I send in. - Update patches if they are not ok from my point of view (sometimes just because of CGL), regardless of who sent them and how old long they have been hanging around. - Give tips on how to simple test / verify an issue. I will probably start a new round of reviewing and testing older patches the next days. I really hope this helps if at least someone verifies or updates things to be compliant to current trunk. > Hi Dmitry, > > yes, it seems so. And you are one of the exceptions as you are reviewing > a lot of patches, many thx to you for that! *sign* Your work is highly appreciated! Your input is always straight forwards and points important problems out. Regards Christian From benni at typo3.org Mon Sep 1 19:11:34 2008 From: benni at typo3.org (Benjamin Mack) Date: Mon, 01 Sep 2008 12:11:34 -0500 Subject: [TYPO3-dev] Adding snippet to standard .htaccess ruleset to avoid 404 recursion In-Reply-To: References: Message-ID: Hey Helmut, good idea. Want to create a patch for this? -- All the best, benni. -SDG- From peter at umloud.dk Mon Sep 1 19:13:28 2008 From: peter at umloud.dk (Peter Klein) Date: Mon, 1 Sep 2008 19:13:28 +0200 Subject: [TYPO3-dev] Append sheet to existing plugin flexform Message-ID: Is there any way to append a FlexForm sheet to the FlexForm setup of an existing plugin? What I want, is to add an extra sheet (tab) of options to the tt_news flexform setup. I can replace the entire sheet by issuing a: t3lib_extMgm::addPiFlexFormValue(9, 'FILE:EXT:myext/flexform_ds.xml'); But then I have to update my flexform file everytime the oringinal flexform file is changed. :( -- Peter Klein From mail-spam at ringerge.org Mon Sep 1 19:25:15 2008 From: mail-spam at ringerge.org (Georg Ringer) Date: Mon, 01 Sep 2008 19:25:15 +0200 Subject: [TYPO3-dev] Append sheet to existing plugin flexform In-Reply-To: References: Message-ID: Peter Klein schrieb: > Is there any way to append a FlexForm sheet to the FlexForm setup of an > existing plugin? IMO not :( georg From info at sk-typo3.de Mon Sep 1 19:42:03 2008 From: info at sk-typo3.de (Steffen Kamper) Date: Mon, 01 Sep 2008 19:42:03 +0200 Subject: [TYPO3-dev] Append sheet to existing plugin flexform In-Reply-To: References: Message-ID: Peter Klein schrieb: > Is there any way to append a FlexForm sheet to the FlexForm setup of an > existing plugin? > > What I want, is to add an extra sheet (tab) of options to the tt_news > flexform setup. > > I can replace the entire sheet by issuing a: > > t3lib_extMgm::addPiFlexFormValue(9, 'FILE:EXT:myext/flexform_ds.xml'); > > But then I have to update my flexform file everytime the oringinal flexform > file is changed. :( > > -- > Peter Klein > > > Hi, have a look to Dmitry's comments, you see a possibility to include complete flexform EXT:comments/pi1/flexform_ds_general.xml EXT:comments/pi1/flexform_ds_advanced.xml EXT:comments/pi1/flexform_ds_spamprotect.xml so you probably add your flexform and include original one vg Steffen From fsuter at cobweb.ch Mon Sep 1 21:15:41 2008 From: fsuter at cobweb.ch (Francois Suter) Date: Mon, 01 Sep 2008 21:15:41 +0200 Subject: [TYPO3-dev] TYPO3 Bug Day coming up this Friday, August 29th In-Reply-To: References: Message-ID: Hi, > Once I proposed a ban on new patches for a week. The whole week should > be dedicated only to reviews. May be we should really try it? Could be a solution, but we would still need to have people available for reviewing. And as Christian notes in another post, in some cases it's strict core devs that are needed, because some patches already have enough non-core-devs +1's. We could also declare that next Bug Day (Sep 26) is Review Day. Cheers -- Francois Suter Cobweb Development Sarl - http://www.cobweb.ch From peter at umloud.dk Mon Sep 1 21:42:03 2008 From: peter at umloud.dk (Peter Klein) Date: Mon, 1 Sep 2008 21:42:03 +0200 Subject: [TYPO3-dev] Append sheet to existing plugin flexform References: Message-ID: "Steffen Kamper" wrote in message news:mailman.1.1220290923.20354.typo3-dev at lists.netfielders.de... > Peter Klein schrieb: >> Is there any way to append a FlexForm sheet to the FlexForm setup of an >> existing plugin? >> >> What I want, is to add an extra sheet (tab) of options to the tt_news >> flexform setup. >> > > have a look to Dmitry's comments, you see a possibility to include > complete flexform > > EXT:comments/pi1/flexform_ds_general.xml > EXT:comments/pi1/flexform_ds_advanced.xml > > EXT:comments/pi1/flexform_ds_spamprotect.xml > > > so you probably add your flexform and include original one > > vg Steffen Hi Steffen. Unfortunatly that doesn't work, as the above example can import seperate sheets, but not complete flexform files. So in order for this to work, tt_news (and other) should have all it's flexform sheets split up in seperate files, with one main "flexform:ds.xml" that loads all the external sheets. That way, you just create your own "flexform:ds.xml", that loaded the same external sheets as the original, + your extra sheet. -- Peter Klein From info at sk-typo3.de Mon Sep 1 22:38:21 2008 From: info at sk-typo3.de (Steffen Kamper) Date: Mon, 01 Sep 2008 22:38:21 +0200 Subject: [TYPO3-dev] Append sheet to existing plugin flexform In-Reply-To: References: Message-ID: Peter Klein schrieb: > "Steffen Kamper" wrote in message > news:mailman.1.1220290923.20354.typo3-dev at lists.netfielders.de... >> Peter Klein schrieb: >>> Is there any way to append a FlexForm sheet to the FlexForm setup of an >>> existing plugin? >>> >>> What I want, is to add an extra sheet (tab) of options to the tt_news >>> flexform setup. >>> >> have a look to Dmitry's comments, you see a possibility to include >> complete flexform >> >> EXT:comments/pi1/flexform_ds_general.xml >> EXT:comments/pi1/flexform_ds_advanced.xml >> >> EXT:comments/pi1/flexform_ds_spamprotect.xml >> >> >> so you probably add your flexform and include original one >> >> vg Steffen > > Hi Steffen. > > Unfortunatly that doesn't work, as the above example can import seperate > sheets, but not complete flexform files. > So in order for this to work, tt_news (and other) should have all it's > flexform sheets split up in seperate files, with one main "flexform:ds.xml" > that loads all the external sheets. > > That way, you just create your own "flexform:ds.xml", that loaded the same > external sheets as the original, + your extra sheet. > > -- > Peter Klein > > > Hi Peter, ok, i see the limitation. What's about replacing original flexform, reading original Flexform and including in own? At least you should only have a flexform where the original values can be read with same reference. vg Steffen From masi-no at spam-typo3.org Mon Sep 1 22:54:55 2008 From: masi-no at spam-typo3.org (Martin Kutschker) Date: Mon, 01 Sep 2008 22:54:55 +0200 Subject: [TYPO3-dev] TYPO3 Bug Day coming up this Friday, August 29th In-Reply-To: References: Message-ID: Steffen Kamper schrieb: > > And yes, reviewing / understanding is difficult and time consuming. And > it needs a special care. One of the biggest tasks is to see - as Kasper phrased it - the big picture. What other parts of TYPO3 will the change affect? Will the new code break something? This is the hardest part for new TYPO3 programmers. Unfortunately it takes a considerable amount of time to read TYPO3's code. I never started a read-all-files sections so I still haven't read all files by now ;-) Masi From dmitry at typo3.org Tue Sep 2 08:42:40 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Tue, 02 Sep 2008 09:42:40 +0300 Subject: [TYPO3-dev] TYPO3 Bug Day coming up this Friday, August 29th In-Reply-To: References: Message-ID: Hi! Christian Kuhn wrote: > The fact that a lot of patches already got +1 from an external dev and > are still not reviewed by a core dev is indeed a bit frustrating. Benni > just told me he needs to finish a customer project and will then give > some time to the core list again. I can tell only about myself. Sometimes I do not feel like I am a right person to review the patch because I feel weak in that area (EM, for example). On the other case I do not like the idea on the intuitive level but this is not a reason to stop the patch. So I keep quiet again. Yet another case is that testing the patch takes lots of effort to reproduce the bug (it was like that with #8232). Other developers may have the same reasons. Don't also forget that all core devs do core work in their spare time. Only v5 team is paid for working on TYPO3, v4 is not! > Maybe there could be some core devs who are officially assigned to patch > reviewing and guiding new devs? It is difficult to "assign" people in core team because they are not oligated to work on core (not paid for this). Core team members mostly volunteer for tasks. -- Dmitry Dulepov TYPO3 Core team My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book In the blog: http://typo3bloke.net/pages/book-reviews/presentation-zen-by-garr-reynolds/ From dmitry at typo3.org Tue Sep 2 08:45:45 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Tue, 02 Sep 2008 09:45:45 +0300 Subject: [TYPO3-dev] Append sheet to existing plugin flexform In-Reply-To: References: Message-ID: Hi! Peter Klein wrote: > Is there any way to append a FlexForm sheet to the FlexForm setup of an > existing plugin? > > What I want, is to add an extra sheet (tab) of options to the tt_news > flexform setup. > > I can replace the entire sheet by issuing a: > > t3lib_extMgm::addPiFlexFormValue(9, 'FILE:EXT:myext/flexform_ds.xml'); > > But then I have to update my flexform file everytime the oringinal flexform > file is changed. :( I thought about this feature (extending flexform). My idea was that you can not only add a new sheet but override flexform definition in existing sheets. This is not possible now but can be developed. As usual it needs time and sponsoring :D Therefore it is in the idea box for now. I know how to do it, I simply do not have time/money for it. -- Dmitry Dulepov TYPO3 Core team My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book In the blog: http://typo3bloke.net/pages/book-reviews/presentation-zen-by-garr-reynolds/ From fsuter at cobweb.ch Tue Sep 2 09:56:43 2008 From: fsuter at cobweb.ch (Francois Suter) Date: Tue, 02 Sep 2008 09:56:43 +0200 Subject: [TYPO3-dev] Can wizard_edit.php behave like wizard_add.php? Message-ID: Hi all, I have defined some wizard configuration in one of my extensions as such: 'wizards' => array( 'add' => array( 'type' => 'script', 'title' => 'LLL:EXT:displaycontroller/locallang_db.xml:wizards.add_dataprovider', 'script' => 'wizard_add.php', 'icon' => 'add.gif', 'params' => array( 'table' => 'tx_dataquery_queries', 'pid' => '###CURRENT_PID###', 'setValue' => 'append' ) ), 'edit' => array( 'type' => 'popup', 'title' => 'LLL:EXT:displaycontroller/locallang_db.xml:wizards.edit_dataprovider', 'script' => 'wizard_edit.php', 'icon' => 'edit2.gif', 'popup_onlyOpenIfSelected' => 1 ), ) This configuration is based on examples from Core APIs and works fine. However I would like the edit window to open inside the same frame and not in a popup window. Just like the add wizard does. Unfortunately I couldn't achieve that. All I got was a blank frame. Is this possible at all and, if yes, what is the proper configuration? Cheers -- Francois Suter Cobweb Development Sarl - http://www.cobweb.ch From news at ringerge.org Tue Sep 2 10:01:29 2008 From: news at ringerge.org (Georg Ringer) Date: Tue, 02 Sep 2008 10:01:29 +0200 Subject: [TYPO3-dev] Can wizard_edit.php behave like wizard_add.php? In-Reply-To: References: Message-ID: Hi, change 'type' => 'popup', to 'type' => 'script', maybe this works but I don't know georg From franz at fholzinger.com Tue Sep 2 10:23:42 2008 From: franz at fholzinger.com (Franz Holzinger) Date: Tue, 02 Sep 2008 10:23:42 +0200 Subject: [TYPO3-dev] TYPO3 Bug Day coming up this Friday, August 29th In-Reply-To: References: Message-ID: Dmitry Dulepov [typo3] a ?crit : > It is difficult to "assign" people in core team because they are not > oligated to work on core (not paid for this). Core team members mostly > volunteer for tasks. But then many bugfixes and enhancements are blocked by Core people. No improvements can be made to the TYPO3 Core by others and not even by Core members themselves. Therefore even _extension developers_ should be allowed to put their patches into svn trunk if they have two +1 and nobody opposes after 3 weeks or has a better solution at the moment. The patch could be removed again later before the next release is published, if it did not work and nobody has been willing to fix it in time. - Franz From dmitry at typo3.org Tue Sep 2 10:30:37 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Tue, 02 Sep 2008 11:30:37 +0300 Subject: [TYPO3-dev] TYPO3 Bug Day coming up this Friday, August 29th In-Reply-To: References: Message-ID: Hi! Franz Holzinger wrote: > But then many bugfixes and enhancements are blocked by Core people. No > improvements can be made to the TYPO3 Core by others and not even by > Core members themselves. Usually they are blocked for a reason. > Therefore even _extension developers_ should be allowed to put their > patches into svn trunk if they have two +1 and nobody opposes after 3 > weeks or has a better solution at the moment. The patch could be removed > again later before the next release is published, if it did not work and > nobody has been willing to fix it in time. No. We do not risk the stability of the TYPO3 core. -- Dmitry Dulepov TYPO3 Core team My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book In the blog: http://typo3bloke.net/pages/book-reviews/presentation-zen-by-garr-reynolds/ From masi-no at spam-typo3.org Tue Sep 2 10:32:55 2008 From: masi-no at spam-typo3.org (Martin Kutschker) Date: Tue, 02 Sep 2008 10:32:55 +0200 Subject: [TYPO3-dev] TYPO3 Bug Day coming up this Friday, August 29th In-Reply-To: References: Message-ID: Franz Holzinger schrieb: > Dmitry Dulepov [typo3] a ?crit : > >> It is difficult to "assign" people in core team because they are not >> oligated to work on core (not paid for this). Core team members mostly >> volunteer for tasks. > > But then many bugfixes and enhancements are blocked by Core people. No > improvements can be made to the TYPO3 Core by others and not even by > Core members themselves. > Therefore even _extension developers_ should be allowed to put their > patches into svn trunk if they have two +1 and nobody opposes after 3 > weeks or has a better solution at the moment. The patch could be removed > again later before the next release is published, if it did not work and > nobody has been willing to fix it in time. No. QA is poor enough as it is now. Core devs are no superiour beings but they have proven that they know enough of this "big picture" to judge if a patch may be committed. Masi From dmitry at typo3.org Tue Sep 2 10:32:54 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Tue, 02 Sep 2008 11:32:54 +0300 Subject: [TYPO3-dev] TYPO3 Bug Day coming up this Friday, August 29th In-Reply-To: References: Message-ID: Hi! Dmitry Dulepov [typo3] wrote: >> Therefore even _extension developers_ should be allowed to put their >> patches into svn trunk if they have two +1 and nobody opposes after 3 >> weeks or has a better solution at the moment. The patch could be >> removed again later before the next release is published, if it did >> not work and nobody has been willing to fix it in time. > > No. We do not risk the stability of the TYPO3 core. Btw, if every extension developer will be allowed to commit, next release will have lots of security bulletins or performance issues. I often have to work with other extension and fix either SQL injections or set_no_cache() there. Think, would Linux kernel people allow any Linux developer to commit to the Linux kernel? What will happen then? -- Dmitry Dulepov TYPO3 Core team My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book In the blog: http://typo3bloke.net/pages/book-reviews/presentation-zen-by-garr-reynolds/ From fsuter at cobweb.ch Tue Sep 2 10:48:20 2008 From: fsuter at cobweb.ch (Francois Suter) Date: Tue, 02 Sep 2008 10:48:20 +0200 Subject: [TYPO3-dev] Can wizard_edit.php behave like wizard_add.php? In-Reply-To: References: Message-ID: Hi, > change > 'type' => 'popup', > to > 'type' => 'script', > > maybe this works but I don't know I tried, but it'a not enough. If I do that I get an empty frame with just: inside... Cheers -- Francois Suter Cobweb Development Sarl - http://www.cobweb.ch From franz at fholzinger.com Tue Sep 2 10:54:54 2008 From: franz at fholzinger.com (Franz Holzinger) Date: Tue, 02 Sep 2008 10:54:54 +0200 Subject: [TYPO3-dev] TYPO3 Bug Day coming up this Friday, August 29th In-Reply-To: References: Message-ID: Dmitry Dulepov [typo3] a ?crit : >>> Therefore even _extension developers_ should be allowed to put their >>> patches into svn trunk if they have two +1 and nobody opposes after 3 >>> weeks or has a better solution at the moment. The patch could be >>> removed again later before the next release is published, if it did >>> not work and nobody has been willing to fix it in time. >> >> No. We do not risk the stability of the TYPO3 core. > > Btw, if every extension developer will be allowed to commit, next > release will have lots of security bulletins or performance issues. I > often have to work with other extension and fix either SQL injections or > set_no_cache() there. The core developers have had 3 weeks to give a -1 because of such a case. So they can concentrate more on checking only the SQL statements. Many more patches could provide many more improvements to TYPO3. Many of them are blocked for a undefinite long period of time. > Think, would Linux kernel people allow any Linux developer to commit to > the Linux kernel? What will happen then? You cannot compare this, because the LINUX kernel is a sponsored work. And no normal developer will want to contribute to the kernel, but rather to the desktop environment like KDE and GNOME. Franz From fsuter at cobweb.ch Tue Sep 2 10:56:43 2008 From: fsuter at cobweb.ch (Francois Suter) Date: Tue, 02 Sep 2008 10:56:43 +0200 Subject: [TYPO3-dev] Can wizard_edit.php behave like wizard_add.php? In-Reply-To: References: Message-ID: Hi, > I tried, but it'a not enough. If I do that I get an empty frame with just: > > > > inside... Following up on that, I found what the problem is. When the wizard is of type "popup", the edit wizard receives the following information: currentValue tx_datadisplay_displays_1 currentSelectedValues tx_datadisplay_displays_1, But when the same wizard is declared as type "script", that information is *not* passed to the wizard, hencer the empty frame. Should this be considered a bug or is the edit wizard designed to be used purely as a popup? Cheers -- Francois Suter Cobweb Development Sarl - http://www.cobweb.ch From franz at fholzinger.com Tue Sep 2 11:11:31 2008 From: franz at fholzinger.com (Franz Holzinger) Date: Tue, 02 Sep 2008 11:11:31 +0200 Subject: [TYPO3-dev] TYPO3 Bug Day coming up this Friday, August 29th In-Reply-To: References: Message-ID: Dmitry Dulepov [typo3] a ?crit : > Think, would Linux kernel people allow any Linux developer to commit to > the Linux kernel? What will happen then? Did you ever see such an error message under LINUX, when everything is blocked? LINUX Kernel Fatal Error: Module named "mymodule" was NOT loaded! (linux_extMgm::extPath) This never happens under any LINUX, however a normal TYPO3 user will happen to end up here. Nobody would use a LINUX kernel which could cause such a big trouble to users and where not restart could help. Unfortunately not even some of such serious blockers are getting fixed in TYPO3. It had helped already a lot if the error message would be telling more than only saying that it is a fatal error. Franz From dmitry at typo3.org Tue Sep 2 11:31:30 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Tue, 02 Sep 2008 12:31:30 +0300 Subject: [TYPO3-dev] TYPO3 Bug Day coming up this Friday, August 29th In-Reply-To: References: Message-ID: Hi! Franz Holzinger wrote: > Did you ever see such an error message under LINUX, when everything is > blocked? > > LINUX Kernel Fatal Error: Module named "mymodule" was NOT loaded! > (linux_extMgm::extPath) I admit, this is a bad thing and should be fixed. Is there a patch already? > This never happens under any LINUX, however a normal TYPO3 user will > happen to end up here. Nobody would use a LINUX kernel which could cause > such a big trouble to users and where not restart could help. > > Unfortunately not even some of such serious blockers are getting fixed > in TYPO3. It had helped already a lot if the error message would be > telling more than only saying that it is a fatal error. Post the request to core list and make reminders if no one looks at it! -- Dmitry Dulepov TYPO3 Core team My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book In the blog: http://typo3bloke.net/pages/book-reviews/presentation-zen-by-garr-reynolds/ From dmitry at typo3.org Tue Sep 2 11:34:04 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Tue, 02 Sep 2008 12:34:04 +0300 Subject: [TYPO3-dev] TYPO3 Bug Day coming up this Friday, August 29th In-Reply-To: References: Message-ID: Hi! Franz Holzinger wrote: > The core developers have had 3 weeks to give a -1 because of such a > case. So they can concentrate more on checking only the SQL statements. > Many more patches could provide many more improvements to TYPO3. Many of > them are blocked for a undefinite long period of time. I know. Some of mine are blocked for years now and I apply them manually for each new version at my servers. But still some patches are turned down because they do harm to other parts of the system. We cannot let that happen. It may hit business of companies who use TYPO3. >> Think, would Linux kernel people allow any Linux developer to commit >> to the Linux kernel? What will happen then? > You cannot compare this, because the LINUX kernel is a sponsored work. > And no normal developer will want to contribute to the kernel, but > rather to the desktop environment like KDE and GNOME. Some work for TYPO3 core is also sponsored. Unfortunately TYPO3 association does not care about v4 any more and they sponsor only v5 :( So it is all in the hands of 3rd party interested companies... -- Dmitry Dulepov TYPO3 Core team My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book In the blog: http://typo3bloke.net/pages/book-reviews/presentation-zen-by-garr-reynolds/ From franz at fholzinger.com Tue Sep 2 11:45:25 2008 From: franz at fholzinger.com (Franz Holzinger) Date: Tue, 02 Sep 2008 11:45:25 +0200 Subject: [TYPO3-dev] TYPO3 Bug Day coming up this Friday, August 29th In-Reply-To: References: Message-ID: Dmitry Dulepov [typo3] a ?crit : > Franz Holzinger wrote: >> Did you ever see such an error message under LINUX, when everything is >> blocked? >> >> LINUX Kernel Fatal Error: Module named "mymodule" was NOT loaded! >> (linux_extMgm::extPath) > > I admit, this is a bad thing and should be fixed. Is there a patch already? A minimum would be this patch http://bugs.typo3.org/view.php?id=5873 which at least gives me more info for bugtracking. At the moment I am stuck again with the same bug. _TYPO3 Fatal Error: Extension key "extkey" was NOT loaded! (t3lib_extMgm::extPath)_ I do not know why, but the latest TYPO3 4.3 trunk demands an extension. So please let me get this patch into svn trunk. This would save me a lot of time for investigations. I would also provide another patch if you tell me what should be done here and you agree to help to get it into Core later. - Franz From oliver at typo3.org Tue Sep 2 13:55:16 2008 From: oliver at typo3.org (Oliver Hader) Date: Tue, 02 Sep 2008 13:55:16 +0200 Subject: [TYPO3-dev] Pages overlay from TypoScript Message-ID: Hi guys, maybe I didn't have enough coffee today, but also maybe this is currently not possible: Scenario: I want to display the localized title of a page in FE by the RECORDS object in TypoScript - example: temp.pageTitle = RECORDS temp.pageTitle { source = pages_123 tables = pages conf.pages < lib.whatever } In tslib_cObj there's a call to $GLOBALS['TSFE']->sys_page->getRecordOverlay() which won't work for pages, since pages have an own table for localization stuff - thus getPageOverlay() would be correct for the table 'pages' in the RECORDS and CONTENT TS-object... Do I need more coffee? olly -- Oliver Hader TYPO3 4.3 Release Manager From info at sk-typo3.de Tue Sep 2 14:04:32 2008 From: info at sk-typo3.de (Steffen Kamper) Date: Tue, 02 Sep 2008 14:04:32 +0200 Subject: [TYPO3-dev] Pages overlay from TypoScript In-Reply-To: References: Message-ID: Oliver Hader schrieb: > Hi guys, > > maybe I didn't have enough coffee today, but also maybe this is > currently not possible: > > Scenario: > I want to display the localized title of a page in FE by the RECORDS > object in TypoScript - example: > > temp.pageTitle = RECORDS > temp.pageTitle { > source = pages_123 > tables = pages > conf.pages < lib.whatever > } > > In tslib_cObj there's a call to > $GLOBALS['TSFE']->sys_page->getRecordOverlay() which won't work for > pages, since pages have an own table for localization stuff - thus > getPageOverlay() would be correct for the table 'pages' in the RECORDS > and CONTENT TS-object... > > Do I need more coffee? > > olly Hi olly, more coffee isn't bad anyway ... :-) You're right, as pages don't have [ctrl][languageField] There is missing the check for [ctrl][transForeignTable] which is configured in TCA of pages. vg Steffen From fsuter at cobweb.ch Tue Sep 2 14:14:54 2008 From: fsuter at cobweb.ch (Francois Suter) Date: Tue, 02 Sep 2008 14:14:54 +0200 Subject: [TYPO3-dev] Pages overlay from TypoScript In-Reply-To: References: Message-ID: Hi, > You're right, as pages don't have [ctrl][languageField] > > There is missing the check for [ctrl][transForeignTable] which is > configured in TCA of pages. I stumbled on this problem too and worked around by not using a RECORDS object, but a HMENU with a special property of type list. Then special.value is a stdWrap, so you should be able to extract what you need. Hopefully.. HTH -- Francois Suter Cobweb Development Sarl - http://www.cobweb.ch From lolli at schwarzbu.ch Tue Sep 2 15:03:23 2008 From: lolli at schwarzbu.ch (Christian Kuhn) Date: Tue, 02 Sep 2008 15:03:23 +0200 Subject: [TYPO3-dev] TYPO3 Bug Day coming up this Friday, August 29th In-Reply-To: References: Message-ID: Hi, Franz Holzinger wrote: > Dmitry Dulepov [typo3] a ?crit : > >> Think, would Linux kernel people allow any Linux developer to commit to >> the Linux kernel? What will happen then? > > Did you ever see such an error message under LINUX, when everything is > blocked? > > LINUX Kernel Fatal Error: Module named "mymodule" was NOT loaded! > (linux_extMgm::extPath) > > This never happens under any LINUX, however a normal TYPO3 user will > happen to end up here. Nobody would use a LINUX kernel which could cause > such a big trouble to users and where not restart could help. If your refer to the vanilla Linus tree of Linux, there is a well known, very monolithic, well structured, long and winding road to get patches in. They usually go over Sub or Sub-Sub Maintainers or even through separate trees for the testing and fixing process (eg. linux nextgen, mm-tree). Even if you have a nice solution to something, but you fucked up some tiny bit in this hole process, it might happen that your hole happy little project never makes it to vanilla. Its not as simple as you might think, please refer to [1] for details. Linux also changed the hole process several times to get a working solution, they still argue about details today. They even hacked up an own versioning tool to solve some problems. And there are still bugs in the kernel. I remember those promise ide controllers never where stable for me, the dvb driver still blew up my system sometimes and I have a serious regression somewhere in the block layer on one of my systems if I use filesystem encryption. Every one of those would probably take me years of getting more knowledge to have a minor chance to fix them. Back to TYPO3: IMHO the core is amazingly stable. If you lower the barrier to the core any further you will get a totally bloated and unstable solution within weeks. I am personally very glad that patches need to be reviewed, I still make lots of mistakes and I am very happy if a core dev takes a look to stuff or even points errors out. Serious testing and reviewing is a very time consuming task, you will never hear something like "come on lazy devs, get my stuff in" from me! I just can do my best to help. Even if there are currently quite some pending patches, many of them still have problems and a reason why they have not been committed. Regards Christian [1] On submitting kernel patches http://ols.fedoraproject.org/OLS/Reprints-2008/kleen-reprint.pdf From oliver at typo3.org Tue Sep 2 17:40:33 2008 From: oliver at typo3.org (Oliver Hader) Date: Tue, 02 Sep 2008 17:40:33 +0200 Subject: [TYPO3-dev] Pages overlay from TypoScript In-Reply-To: References: Message-ID: Hi Francois, Francois Suter schrieb: >> You're right, as pages don't have [ctrl][languageField] >> >> There is missing the check for [ctrl][transForeignTable] which is >> configured in TCA of pages. > > I stumbled on this problem too and worked around by not using a RECORDS > object, but a HMENU with a special property of type list. Then > special.value is a stdWrap, so you should be able to extract what you > need. Hopefully.. Thanks for your feedback. I then I tend to look at this as a bug which should be fixed. I'm going to do this... ;-) olly -- Oliver Hader TYPO3 4.3 Release Manager From dmitry at typo3.org Tue Sep 2 17:46:21 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Tue, 02 Sep 2008 18:46:21 +0300 Subject: [TYPO3-dev] Pages overlay from TypoScript In-Reply-To: References: Message-ID: Hi! Oliver Hader wrote: > Thanks for your feedback. I then I tend to look at this as a bug which > should be fixed. I'm going to do this... ;-) +1 - a bug! -- Dmitry Dulepov TYPO3 Core team My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book In the blog: http://typo3bloke.net/pages/book-reviews/presentation-zen-by-garr-reynolds/ From moreno.feltscher at gmail.com Tue Sep 2 17:54:57 2008 From: moreno.feltscher at gmail.com (Moreno Feltscher) Date: Tue, 2 Sep 2008 17:54:57 +0200 Subject: [TYPO3-dev] GMENU und wrapItemAndSub In-Reply-To: References: Message-ID: Nothing new here? A working patch would be nice.. I can't do this by myself, knowledge problem based :-) Cheers Moreno From mail-spam at ringerge.org Tue Sep 2 18:18:51 2008 From: mail-spam at ringerge.org (Georg Ringer) Date: Tue, 02 Sep 2008 18:18:51 +0200 Subject: [TYPO3-dev] Can wizard_edit.php behave like wizard_add.php? In-Reply-To: References: Message-ID: Francois Suter wrote: > But when the same wizard is declared as type "script", that information > is *not* passed to the wizard, hencer the empty frame. pass it manually. if it works, i would consider it as a bug georg From typo3ml at andreaswolf.info Wed Sep 3 00:12:13 2008 From: typo3ml at andreaswolf.info (Andreas Wolf) Date: Wed, 03 Sep 2008 00:12:13 +0200 Subject: [TYPO3-dev] Append sheet to existing plugin flexform In-Reply-To: References: Message-ID: Hi Dmitry! Dmitry Dulepov [typo3] schrieb: > I thought about this feature (extending flexform). My idea was that > you can not only add a new sheet but override flexform definition in > existing sheets. This is not possible now but can be developed. As > usual it needs time and sponsoring :D Therefore it is in the idea box > for now. I know how to do it, I simply do not have time/money for it. Perhaps this would be something for the new TCEforms? As a second step of course, first I need to get the old model working. But I could imagine an object oriented approach of directly replacing a certain form element or form sheet and also adding new ones - especially the latter should be possible by design because everything will be available as an object. Cheers Andreas From info at sk-typo3.de Wed Sep 3 00:21:20 2008 From: info at sk-typo3.de (Steffen Kamper) Date: Wed, 03 Sep 2008 00:21:20 +0200 Subject: [TYPO3-dev] Append sheet to existing plugin flexform In-Reply-To: References: Message-ID: Andreas Wolf schrieb: > Hi Dmitry! > > Dmitry Dulepov [typo3] schrieb: >> I thought about this feature (extending flexform). My idea was that >> you can not only add a new sheet but override flexform definition in >> existing sheets. This is not possible now but can be developed. As >> usual it needs time and sponsoring :D Therefore it is in the idea box >> for now. I know how to do it, I simply do not have time/money for it. > Perhaps this would be something for the new TCEforms? As a second step > of course, first I need to get the old model working. But I could > imagine an object oriented approach of directly replacing a certain form > element or form sheet and also adding new ones - especially the latter > should be possible by design because everything will be available as an > object. > > Cheers > > Andreas > you have my full and loudest +1 for that :-) vg Steffen From jayden at thermosis.com Wed Sep 3 02:00:40 2008 From: jayden at thermosis.com (Jayden Lawson) Date: Wed, 3 Sep 2008 10:00:40 +1000 Subject: [TYPO3-dev] Flash, XML, Typo3 Message-ID: Hi all, I'm a total noob with Typo3, so please excuse any comments wreaking of noobiness. I'm currently hunting for an appropriate CMS that can power my Flash websites that are fed by XML. All I have at the moment is an Apache server. Can you please recommend Typo3 tutorials and/or resources that will help me: - learn how to install Typo3 - learn how to export all needed data as XML upon a HTTP request. I'm assuming I can simply load that XML in to my Flash website and use that to create all my website's content. I don't mind doing my own research, so if you have any recommendations of where best to look for anything related to the above... please reply :) Many thanks, Jayden From peter at umloud.dk Wed Sep 3 09:25:23 2008 From: peter at umloud.dk (Peter Klein) Date: Wed, 03 Sep 2008 09:25:23 +0200 Subject: [TYPO3-dev] Append sheet to existing plugin flexform References: Message-ID: On Mon, 01 Sep 2008 22:38:21 +0200, Steffen Kamper wrote: >Peter Klein schrieb: >> "Steffen Kamper" wrote in message >> news:mailman.1.1220290923.20354.typo3-dev at lists.netfielders.de... >>> Peter Klein schrieb: >>>> Is there any way to append a FlexForm sheet to the FlexForm setup of an >>>> existing plugin? >>>> >>>> What I want, is to add an extra sheet (tab) of options to the tt_news >>>> flexform setup. >>>> >>> have a look to Dmitry's comments, you see a possibility to include >>> complete flexform >>> >>> EXT:comments/pi1/flexform_ds_general.xml >>> EXT:comments/pi1/flexform_ds_advanced.xml >>> >>> EXT:comments/pi1/flexform_ds_spamprotect.xml >>> >>> >>> so you probably add your flexform and include original one >>> >>> vg Steffen >> >> Hi Steffen. >> >> Unfortunatly that doesn't work, as the above example can import seperate >> sheets, but not complete flexform files. >> So in order for this to work, tt_news (and other) should have all it's >> flexform sheets split up in seperate files, with one main "flexform:ds.xml" >> that loads all the external sheets. >> >> That way, you just create your own "flexform:ds.xml", that loaded the same >> external sheets as the original, + your extra sheet. >> >> -- >> Peter Klein >> >> >> >Hi Peter, > >ok, i see the limitation. >What's about replacing original flexform, reading original Flexform and >including in own? >At least you should only have a flexform where the original values can >be read with same reference. > >vg Steffen Hi Steffen. I ended up with something similar. I created a updf, which reads the original FlexForm DS files, merges in my custom sheet after the original ones and saves the modified version. The modified version is then used to replace the original one. This gives the admin a fairly simple way of keeping the modified FF file up-to-date. (Providing that no other extensions do the same..) -- Peter From franz at fholzinger.com Wed Sep 3 09:34:24 2008 From: franz at fholzinger.com (Franz Holzinger) Date: Wed, 03 Sep 2008 09:34:24 +0200 Subject: [TYPO3-dev] Magento to TYPO3 In-Reply-To: References: Message-ID: Martin Kutschker a ?crit : > Franz Holzinger schrieb: >> TYPO3 forces all frontend extensions into the pi_base class. IMHO there >> is no alternative API possible for TYPO3 extensions at the moment. > > Why? You don't have to extend pi_base at all if you don't want to. It's > just a custom. You have to have only a method that takes the two > parameters $conf and $content, which you can name whatever you like. Hello Masi, this works fine, thanks! Only the $cObj is still necessary if you do want to get the data out of the parent cObj. I have change the class now to this (see below). This helps to get rid of the pibase object parameter in all init functions. So a simple API can be created now. Franz ---------------------------------- class tx_ttproducts_pi1 { /** * The backReference to the mother cObj object set at call time * * @var tslib_cObj */ var $cObj; /** * Main method. Call this from TypoScript by a USER cObject. */ public function main($content,&$conf) { $pibaseObj = &t3lib_div::getUserObj('&tx_ttproducts_pi1_base'); $pibaseObj->cObj = &$this->cObj; $content = $pibaseObj->main($content,$conf); return $content; } } From masi-no at spam-typo3.org Wed Sep 3 09:39:09 2008 From: masi-no at spam-typo3.org (Martin Kutschker) Date: Wed, 03 Sep 2008 09:39:09 +0200 Subject: [TYPO3-dev] Magento to TYPO3 In-Reply-To: References: Message-ID: Franz Holzinger schrieb: > Martin Kutschker a ?crit : >> Franz Holzinger schrieb: >>> TYPO3 forces all frontend extensions into the pi_base class. IMHO there >>> is no alternative API possible for TYPO3 extensions at the moment. >> >> Why? You don't have to extend pi_base at all if you don't want to. It's >> just a custom. You have to have only a method that takes the two >> parameters $conf and $content, which you can name whatever you like. > > Hello Masi, > > this works fine, thanks! > > Only the $cObj is still necessary if you do want to get the data out of > the parent cObj. True. Masi From info at sk-typo3.de Wed Sep 3 11:25:23 2008 From: info at sk-typo3.de (Steffen Kamper) Date: Wed, 03 Sep 2008 11:25:23 +0200 Subject: [TYPO3-dev] Problem with pageNotFound_handling and type Message-ID: Hi, i have a problem. I configured pageNotFound_handling which works ok almost. But some urls are disinterpreted, like /index.php/news/23/57/ Then instead of 404-page i get TYPO3-error: The page is not configured! [type= 57][] How can i prevent this without defining all types? :-) vg Steffen From typo3ng_2008 at martinholtz.de Wed Sep 3 11:28:50 2008 From: typo3ng_2008 at martinholtz.de (Martin Holtz) Date: Wed, 03 Sep 2008 11:28:50 +0200 Subject: [TYPO3-dev] page cache is not influenced by tt_content.starttime/endtime In-Reply-To: References: Message-ID: Hi, >> So i wrote an extension which checks now all content elements of an page >> before it is written to page cache. If there is an element with >> starttime/endtime within the 24hours, the cache expire timestamp is >> set to >> that value. > > this definitly is something that should be in the core rather than be > sleeping in some extension... > > could you please make a patch and send it to the core list? Looking > forward to your patch! No it respects groups permissions via enableFields() but i have not test it enough. And i thought about an hook or an global variable where an extension could check the expire time too. I think it would be very usefull, if an tt_news plugin could set the expire-timestamp too, so if an news should be shown the expire-time of that page would be set to the correct time. I have two solutions in my mind for that: 1) an global variable where every extension can set the value is - i think - an easy solution. 2) Using a Hook - it is the comman way and has an clear interface. It would be easy to recognice that feature. But i think it has much more "overhead" to intantiate some classes to get an simple integer value. At the perfomance view i would take solution 1) but from point of separation and team work, i would take soulution 2) Can someone give me an comment on that? thanks, martin From info at sk-typo3.de Wed Sep 3 11:34:44 2008 From: info at sk-typo3.de (Steffen Kamper) Date: Wed, 03 Sep 2008 11:34:44 +0200 Subject: [TYPO3-dev] page cache is not influenced by tt_content.starttime/endtime In-Reply-To: References: Message-ID: Martin Holtz schrieb: > Hi, > >>> So i wrote an extension which checks now all content elements of an page >>> before it is written to page cache. If there is an element with >>> starttime/endtime within the 24hours, the cache expire timestamp is >>> set to >>> that value. >> this definitly is something that should be in the core rather than be >> sleeping in some extension... >> >> could you please make a patch and send it to the core list? Looking >> forward to your patch! > No it respects groups permissions via enableFields() but i have not test > it enough. > > And i thought about an hook or an global variable where an extension > could check the expire time too. > > I think it would be very usefull, if an tt_news plugin could set the > expire-timestamp too, so if an news should be shown the expire-time of > that page would be set to the correct time. > > I have two solutions in my mind for that: > > 1) an global variable where every extension can set the value is - i > think - an easy solution. > > 2) Using a Hook - it is the comman way and has an clear interface. It > would be easy to recognice that feature. But i think it has much more > "overhead" to intantiate some classes to get an simple integer value. > > At the perfomance view i would take solution 1) but from point of > separation and team work, i would take soulution 2) > > Can someone give me an comment on that? > > thanks, > martin Hi Martin, i didn't digged in this deeper, but does TSFE has this as variable? It should work in same manner as overriding the page title as seen in tt_news. vg Steffen From info at sk-typo3.de Wed Sep 3 14:44:28 2008 From: info at sk-typo3.de (Steffen Kamper) Date: Wed, 03 Sep 2008 14:44:28 +0200 Subject: [TYPO3-dev] Problem with pageNotFound_handling and type In-Reply-To: References: Message-ID: Steffen Kamper schrieb: > Hi, > > i have a problem. I configured pageNotFound_handling which works ok almost. > > But some urls are disinterpreted, like > /index.php/news/23/57/ > > Then instead of 404-page i get TYPO3-error: The page is not configured! > [type= 57][] > > How can i prevent this without defining all types? :-) > > vg Steffen ok, after digging into the code i found a way. I defined: $TYPO3_CONF_VARS['FE']['pageUnavailable_handling'] = 'REDIRECT:/404.html'; Because i didn't want to write own user_func i patched tslib_fe in this way: } elseif (t3lib_div::isFirstPartOfStr($code,'REDIRECT:')) { $redirect = explode(':', $code); $replace = intval($code[2]) ? true : false; $http_response_code = $code[3] ? $code[3] : '404'; header('Location: '.t3lib_div::locationHeaderUrl($code[1]), $replace, $http_response_code); exit; So it is possible to declare ohn http_response_code for the redirect. What do you think of that? btw - i remember Jeff enhanced these handlers, are they documented in actual docs? vg Steffen From cryangel at gmail.com Wed Sep 3 15:01:45 2008 From: cryangel at gmail.com (Cray Flatline) Date: Wed, 03 Sep 2008 16:01:45 +0300 Subject: [TYPO3-dev] Backend extension form fields question Message-ID: Hi, All! I'm seeking answer to the noob question. I'm creating extension with car base, where I need to have three fields in the background. Type Make Model I want to make such thing: when I add new item in BE with this extension (car), I choose from type for example "motorcycle", so in the Make I will see only makes of motorcycles (honda, kawasaki etc.) but not for automobiles (i.e. Ford, VW). And when I choose something from Make (i.e. Honda), I want to see in Model only Honda models. Can I do it someway? I need to use "type-field" to reload page every time I choose from Type or Make? Or I can make it with something like ajax? Can anybody give me right direction to see/read/seek? (: Thanks a lot! Cray Flatline From info at sk-typo3.de Wed Sep 3 15:17:41 2008 From: info at sk-typo3.de (Steffen Kamper) Date: Wed, 03 Sep 2008 15:17:41 +0200 Subject: [TYPO3-dev] Backend extension form fields question In-Reply-To: References: Message-ID: Cray Flatline schrieb: > Hi, All! I'm seeking answer to the noob question. > > I'm creating extension with car base, where I need to have three fields > in the background. > > Type > Make > Model > > I want to make such thing: when I add new item in BE with this extension > (car), I choose from type for example "motorcycle", so in the Make I > will see only makes of motorcycles (honda, kawasaki etc.) but not for > automobiles (i.e. Ford, VW). And when I choose something from Make > (i.e. Honda), I want to see in Model only Honda models. > > Can I do it someway? I need to use "type-field" to reload page every > time I choose from Type or Make? Or I can make it with something like ajax? > > Can anybody give me right direction to see/read/seek? (: > > Thanks a lot! > Cray Flatline Hi, have a look at the documentation and search for DisplayCond http://typo3.org/documentation/document-library/core-documentation/doc_core_api/4.1.0/view/4/2/ vg Steffen From cryangel at gmail.com Wed Sep 3 15:44:42 2008 From: cryangel at gmail.com (Cray Flatline) Date: Wed, 03 Sep 2008 16:44:42 +0300 Subject: [TYPO3-dev] Backend extension form fields question In-Reply-To: References: Message-ID: Steffen Kamper wrote: displayCond string Contains a condition rule for whether to display the field or not. Sorry, but I don't need to show/hide fields, I need to change items in the Make dropdown field dependently of user choise in Type dropdown field, and change items in the Model dropdown field dependently of user choise in Make field. > Hi, > > have a look at the documentation and search for DisplayCond > http://typo3.org/documentation/document-library/core-documentation/doc_core_api/4.1.0/view/4/2/ > > > vg Steffen From info at sk-typo3.de Wed Sep 3 15:47:25 2008 From: info at sk-typo3.de (Steffen Kamper) Date: Wed, 03 Sep 2008 15:47:25 +0200 Subject: [TYPO3-dev] Backend extension form fields question In-Reply-To: References: Message-ID: Cray Flatline schrieb: > Steffen Kamper wrote: > > displayCond string Contains a condition rule for whether to > display the field or not. > > > Sorry, but I don't need to show/hide fields, I need to change items in > the Make dropdown field dependently of user choise in Type dropdown > field, and change items in the Model dropdown field dependently of user > choise in Make field. > > exactly, and when you change a field which influences other fields having this displayCond, form will be reloaded with the now visible field vg Steffen From cryangel at gmail.com Wed Sep 3 16:52:26 2008 From: cryangel at gmail.com (Cray Flatline) Date: Wed, 03 Sep 2008 17:52:26 +0300 Subject: [TYPO3-dev] Backend extension form fields question In-Reply-To: References: Message-ID: Steffen Kamper wrote: All three fields are visible. How I can change content of that dropdowns depend of parent dropdown? >> displayCond string Contains a condition rule for whether to >> display the field or not. >> >> >> Sorry, but I don't need to show/hide fields, I need to change items in >> the Make dropdown field dependently of user choise in Type dropdown >> field, and change items in the Model dropdown field dependently of user >> choise in Make field. > exactly, and when you change a field which influences other fields > having this displayCond, form will be reloaded with the now visible field > > vg Steffen From typo3 at jhpc.de Wed Sep 3 17:16:58 2008 From: typo3 at jhpc.de (Helmut Hummel) Date: Wed, 03 Sep 2008 17:16:58 +0200 Subject: [TYPO3-dev] GMENU und wrapItemAndSub In-Reply-To: References: Message-ID: Hi, Steffen Kamper schrieb: > Martin Kutschker schrieb: >> >> No, I never use GMENU. I've been told to use text menus for >> accessibility reasons. Yeah, I know I could use alt/title but I cannot >> recall creating an image menu for a very long time. > > same with me. But GMENU is part of the core and some use it, not all > need the accessibility. > > In some cases it's important if client wishes to use their house font. > There are some techniques to use images and having accessibility. Well, there are solutions how to get the GMENU accessible: http://wiki.typo3.org/index.php/GTMENU It would be very nice to implement this into core or to rewrite GMENU to output accessible HTML/CSS code. Any volunteers? ;) Kind regards Helmut From dmitry at typo3.org Wed Sep 3 17:22:55 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Wed, 03 Sep 2008 18:22:55 +0300 Subject: [TYPO3-dev] Backend extension form fields question In-Reply-To: References: Message-ID: Hi! Cray Flatline wrote: > I'm creating extension with car base, where I need to have three fields > in the background. > > Type > Make > Model > > I want to make such thing: when I add new item in BE with this extension > (car), I choose from type for example "motorcycle", so in the Make I > will see only makes of motorcycles (honda, kawasaki etc.) but not for > automobiles (i.e. Ford, VW). And when I choose something from Make > (i.e. Honda), I want to see in Model only Honda models. > > Can I do it someway? I need to use "type-field" to reload page every > time I choose from Type or Make? Or I can make it with something like ajax? > > Can anybody give me right direction to see/read/seek? (: Firsts, you need to add "Make" field into "requestUpdates" in the "ctrl" section of TCA. Next you need to read through "select" section of the "TYPO3 core API" and see how you can use foreign_table_where to show values of one field using values of another. It is all possible. -- Dmitry Dulepov TYPO3 Core team My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book In the blog: http://typo3bloke.net/pages/book-reviews/presentation-zen-by-garr-reynolds/ From dmitry at typo3.org Wed Sep 3 17:24:35 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Wed, 03 Sep 2008 18:24:35 +0300 Subject: [TYPO3-dev] Problem with pageNotFound_handling and type In-Reply-To: References: Message-ID: Hi! Steffen Kamper wrote: > So it is possible to declare ohn http_response_code for the redirect. > What do you think of that? I would check if "Location" is valid with 404 code according to the HTTP spec. -- Dmitry Dulepov TYPO3 Core team My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book In the blog: http://typo3bloke.net/pages/book-reviews/presentation-zen-by-garr-reynolds/ From info at sk-typo3.de Wed Sep 3 17:34:29 2008 From: info at sk-typo3.de (Steffen Kamper) Date: Wed, 03 Sep 2008 17:34:29 +0200 Subject: [TYPO3-dev] Problem with pageNotFound_handling and type In-Reply-To: References: Message-ID: Hi Dmitry, Dmitry Dulepov [typo3] schrieb: > Hi! > > Steffen Kamper wrote: >> So it is possible to declare ohn http_response_code for the redirect. >> What do you think of that? > > I would check if "Location" is valid with 404 code according to the HTTP > spec. > after talking to Jeff the problem is more complex. The question is - if a page type is not configured, is it pageUnavailable or pageNotFound? We came to an idea to configure pageTypes used in T3 config.pageTypes = 110,300 (0 is default and not needed here) For such usecase: You use 110 for RSS and 300 for ICS. But you disable template for RSS. Now if someone call the RSS, you will send a 503 (temp. unavailable) But if someone send a request for type=254 you want to send a 404 because this type never will exist in your setup. That was the idea so far vg Steffen From info at sk-typo3.de Wed Sep 3 17:53:28 2008 From: info at sk-typo3.de (Steffen Kamper) Date: Wed, 03 Sep 2008 17:53:28 +0200 Subject: [TYPO3-dev] Documentation of TYPO3_CONF_VARS Message-ID: Hi, while searching for docs about pageNotFound_handler i have to state that there is no doc describing them. There is a doc "Inside T3" which would match best. So i vote for adding a table of possible values there. For the start we could use the descriptions in config_default, also displayed in install tool Then we have a place to describe the more complex ones with some examples. For example the syntax for pageErrorHandler is complex and there are different usages like REDIRECT, READFILE, USER_FUNCTION etc. which should descrbed and explained. This would help a lot imho vg Steffen From ingo at typo3.org Wed Sep 3 17:55:33 2008 From: ingo at typo3.org (Ingo Renner) Date: Wed, 03 Sep 2008 10:55:33 -0500 Subject: [TYPO3-dev] page cache is not influenced by tt_content.starttime/endtime In-Reply-To: References: Message-ID: Martin Holtz wrote: > 2) Using a Hook - it is the comman way and has an clear interface. It > would be easy to recognice that feature. But i think it has much more > "overhead" to intantiate some classes to get an simple integer value. > > At the perfomance view i would take solution 1) but from point of > separation and team work, i would take soulution 2) > > Can someone give me an comment on that? go for v2 I'd say Ingo -- Ingo Renner TYPO3 Core Developer, Release Manager TYPO3 4.2 From typo3 at jhpc.de Wed Sep 3 17:09:48 2008 From: typo3 at jhpc.de (Helmut Hummel) Date: Wed, 03 Sep 2008 17:09:48 +0200 Subject: [TYPO3-dev] Adding snippet to standard .htaccess ruleset to avoid 404 recursion In-Reply-To: References: Message-ID: Hey Benni, Benjamin Mack schrieb: > > good idea. Want to create a patch for this? Of course. But can you point me to the place in SVN where the dummy package itself or at last the _htaccess is located? Kind regards Helmut From dmitry at typo3.org Wed Sep 3 18:21:22 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Wed, 03 Sep 2008 19:21:22 +0300 Subject: [TYPO3-dev] Problem with pageNotFound_handling and type In-Reply-To: References: Message-ID: Hi! Steffen Kamper wrote: > But if someone send a request for type=254 you want to send a 404 > because this type never will exist in your setup. > > That was the idea so far Are you sure it is worth spending time on this? ;) -- Dmitry Dulepov TYPO3 Core team My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book In the blog: http://typo3bloke.net/pages/book-reviews/presentation-zen-by-garr-reynolds/ From info at sk-typo3.de Wed Sep 3 18:29:26 2008 From: info at sk-typo3.de (Steffen Kamper) Date: Wed, 03 Sep 2008 18:29:26 +0200 Subject: [TYPO3-dev] Problem with pageNotFound_handling and type In-Reply-To: References: Message-ID: Dmitry Dulepov [typo3] schrieb: > Hi! > > Steffen Kamper wrote: >> But if someone send a request for type=254 you want to send a 404 >> because this type never will exist in your setup. >> >> That was the idea so far > > Are you sure it is worth spending time on this? ;) > Hey Dmitry, i may be never would think about that if i didn't have a client is interested in this. vg Steffen From bedlamhotel at gmail.com Wed Sep 3 18:29:53 2008 From: bedlamhotel at gmail.com (Christopher Torgalson) Date: Wed, 3 Sep 2008 18:29:53 +0200 Subject: [TYPO3-dev] Documentation of TYPO3_CONF_VARS In-Reply-To: References: Message-ID: Hi, On 3-Sep-08, at 5:53 PM, Steffen Kamper wrote: > Hi, > > while searching for docs about pageNotFound_handler i have to state > that > there is no doc describing them. > > There is a doc "Inside T3" which would match best. > > So i vote for adding a table of possible values there. For the start > we > could use the descriptions in config_default, also displayed in > install tool > > Then we have a place to describe the more complex ones with some > examples. > > For example the syntax for pageErrorHandler is complex and there are > different usages like REDIRECT, READFILE, USER_FUNCTION etc. which > should descrbed and explained. > > This would help a lot imho They're (briefly!) described in the install tool. I agree that it might be nice to see some expansion of this. -- Christopher Torgalson http://www.typo3apprentice.com/ From bedlamhotel at gmail.com Wed Sep 3 18:33:34 2008 From: bedlamhotel at gmail.com (Christopher Torgalson) Date: Wed, 3 Sep 2008 18:33:34 +0200 Subject: [TYPO3-dev] Adding snippet to standard .htaccess ruleset to avoid 404 recursion In-Reply-To: References: Message-ID: Hi, On 3-Sep-08, at 5:09 PM, Helmut Hummel wrote: > Hey Benni, > > Benjamin Mack schrieb: >> >> good idea. Want to create a patch for this? > > Of course. But can you point me to the place in SVN where the dummy > package itself or at last the _htaccess is located? .htaccess files are located in the source package. There are two, one at e.g. typo3_src-4.2.1/misc/advanced.htaccess and another at typo3_src-4.2.1/misc/simple.htaccess. -- Christopher Torgalson http://www.typo3apprentice.com/ From dosipov at phillyburbs.com Wed Sep 3 20:38:59 2008 From: dosipov at phillyburbs.com (Dan Osipov) Date: Wed, 03 Sep 2008 14:38:59 -0400 Subject: [TYPO3-dev] Documentation of TYPO3_CONF_VARS In-Reply-To: References: Message-ID: +1 on any extra documentation. Unfortunately it seems like 4.2 docs are still not complete (update me if I'm wrong). Following Dmitri's advice I emailed Stucki, but received no reply. There is a lot left to be documented... Dan Osipov Calkins Media http://danosipov.com/blog/ Steffen Kamper wrote: > Hi, > > while searching for docs about pageNotFound_handler i have to state that > there is no doc describing them. > > There is a doc "Inside T3" which would match best. > > So i vote for adding a table of possible values there. For the start we > could use the descriptions in config_default, also displayed in install > tool > > Then we have a place to describe the more complex ones with some examples. > > For example the syntax for pageErrorHandler is complex and there are > different usages like REDIRECT, READFILE, USER_FUNCTION etc. which > should descrbed and explained. > > This would help a lot imho > > vg Steffen From info at sk-typo3.de Wed Sep 3 23:14:47 2008 From: info at sk-typo3.de (Steffen Kamper) Date: Wed, 03 Sep 2008 23:14:47 +0200 Subject: [TYPO3-dev] Documentation of TYPO3_CONF_VARS In-Reply-To: References: Message-ID: Dan Osipov schrieb: > +1 on any extra documentation. > > Unfortunately it seems like 4.2 docs are still not complete (update me > if I'm wrong). Following Dmitri's advice I emailed Stucki, but received > no reply. There is a lot left to be documented... > > Dan Osipov > Calkins Media > http://danosipov.com/blog/ > Francois takes care of updating core docs. Give him a message if you find something missing/wrong vg Steffen From phlogsmailinglists at gmail.com Thu Sep 4 00:41:33 2008 From: phlogsmailinglists at gmail.com (Cyrill Helg) Date: Thu, 4 Sep 2008 00:41:33 +0200 Subject: [TYPO3-dev] rte not showing up in backend for my records Message-ID: Hello I wanted to change a field to use the rte, so I inserted this config into my TCA: "description" => Array ( ## WOP:[tables][1][fields][3][fieldname] "exclude" => 1, ## WOP:[tables][1][fields][3][excludeField] "label" => "LLL:EXT:asfd/locallang_db.xml:tx_myEXT:cat.description", ## WOP:[tables][1][fields][3][title] "config" => Array ( "type" => "text", "cols" => "48", ## WOP:[tables][1][fields][3][conf_cols] "rows" => "5", ## WOP:[tables][1][fields][3][conf_rows] //'softref' => 'typolink_tag,images,email[subst],url', 'wizards' => Array( '_PADDING' => 4, 'RTE' => Array ( 'notNewRecords' => 1, 'RTEonly' => 1, 'type' => 'script', 'title' => 'LLL:EXT:cms/locallang_ttc.php:bodytext.W.RTE', 'icon' => 'wizard_rte2.gif', 'script' => 'wizard_rte.php', ), ) ) ), I deleted all the caches, but the rte still does not load. What am I missing? Thanks Cyrill From dmitry at typo3.org Thu Sep 4 06:27:47 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Thu, 04 Sep 2008 07:27:47 +0300 Subject: [TYPO3-dev] rte not showing up in backend for my records In-Reply-To: References: Message-ID: Hi! Cyrill Helg wrote: > I deleted all the caches, but the rte still does not load. What am I missing? #2 in this table: http://typo3.org/documentation/document-library/core-documentation/doc_core_api/4.1.0/view/4/3/#id4265299 -- Dmitry Dulepov TYPO3 Core team My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book In the blog: http://typo3bloke.net/pages/book-reviews/presentation-zen-by-garr-reynolds/ From typo3 at larshaendler.com Thu Sep 4 11:10:53 2008 From: typo3 at larshaendler.com (Lars Haendler) Date: Thu, 04 Sep 2008 11:10:53 +0200 Subject: [TYPO3-dev] getter_setter script Message-ID: Hi, I'm hoping I'm at the right list. If not just plz tell where I should post this. For me recent projects I wrote a small script that allows me to generate a getter_setter class for any DB table of the TYPO3 Installatin. Most of the time I have to do the same thing with an class. I will paste a sample class generated from this script here. What I'd like to know is if there are grave errors of thinking and if there's a way to make a new instance of the object without the pid. If someone is interessted I could try to do an extension from my current script. pid=$pid; $this->pi_loadLL(); $this->uid=intval($uid); if($this->uid>0) { $this->init(); } else { return false; } } private function init() { $query = $GLOBALS['TYPO3_DB']->SELECTquery( '*', 'tx_apxorderform_medicine', 'uid='.$this->uid); $res=$GLOBALS['TYPO3_DB']->sql(TYPO3_db,$query.';'); $row=$GLOBALS['TYPO3_DB']->sql_fetch_assoc($res); $this->uid=$row['uid']; $this->pid=$row['pid']; $this->tstamp=$row['tstamp']; $this->crdate=$row['crdate']; $this->cruser_id=$row['cruser_id']; $this->deleted=$row['deleted']; $this->hidden=$row['hidden']; $this->order_uid=$row['order_uid']; $this->title=$row['title']; } public function getUid(){ return $this->uid; } public function getTstamp(){ return $this->tstamp; } public function getCrdate(){ return $this->crdate; } public function getDeleted(){ return $this->deleted; } public function getHidden(){ return $this->hidden; } public function getOrder_uid(){ return $this->order_uid; } public function getTitle(){ return $this->title; } public function setDeleted($value){ $this->deleted=intval($value); } public function setHidden($value){ $this->hidden=intval($value); } public function setOrder_uid($value){ $this->order_uid=$value; } public function setTitle($value){ $this->title=$value; } public function insertRecord() { $insertArray = array( 'pid'=>$this->pid, 'tstamp'=>time(), 'crdate'=>time(), 'deleted'=>$this->deleted, 'hidden'=>$this->hidden, 'order_uid'=>$this->order_uid, 'title'=>$this->title, ); $queryInsert = $GLOBALS['TYPO3_DB']->exec_INSERTquery( 'tx_apxorderform_medicine', //table $insertArray // insert array ); $this->uid = $GLOBALS['TYPO3_DB']->sql_insert_id(); } public function updateRecord() { $updateArray = array( 'pid'=>$this->pid, 'tstamp'=>time(), 'deleted'=>$this->deleted, 'hidden'=>$this->hidden, 'order_uid'=>$this->order_uid, 'title'=>$this->title, ); $queryInsert = $GLOBALS['TYPO3_DB']->exec_UPDATEquery( 'tx_apxorderform_medicine', //table 'uid='.$this->uid, // where clause $updateArray // insert array ); } public function deleteRecord () { $updateArray = array( 'deleted' => '1', ); $queryUpdate = $GLOBALS['TYPO3_DB']->exec_UPDATEquery( 'tx_apxorderform_medicine', //table 'uid='.$this->uid, // where clause $updateArray // insert array ); } }?> From typo3 at perseguers.ch Thu Sep 4 11:42:45 2008 From: typo3 at perseguers.ch (Xavier Perseguers) Date: Thu, 04 Sep 2008 11:42:45 +0200 Subject: [TYPO3-dev] getter_setter script In-Reply-To: References: Message-ID: Hi, > For me recent projects I wrote a small script that allows me to generate > a getter_setter class for any DB table of the TYPO3 Installatin. Most of > the time I have to do the same thing with an class. > > I will paste a sample class generated from this script here. What I'd > like to know is if there are grave errors of thinking and if there's a > way to make a new instance of the object without the pid. > > If someone is interessted I could try to do an extension from my current > script. I think you could enhance your script with information on this page: http://latrine.dgx.cz/property-setters-and-getters-final-solution because using method getTitle() and setTitle() is "standard" but absolutely not handy. Cheers -- Xavier Perseguers http://xavier.perseguers.ch/en/tutorials/typo3.html From fsuter at cobweb.ch Thu Sep 4 20:30:53 2008 From: fsuter at cobweb.ch (Francois Suter) Date: Thu, 04 Sep 2008 20:30:53 +0200 Subject: [TYPO3-dev] Documentation of TYPO3_CONF_VARS In-Reply-To: References: Message-ID: Hi, >> Unfortunately it seems like 4.2 docs are still not complete (update me >> if I'm wrong). Following Dmitri's advice I emailed Stucki, but >> received no reply. There is a lot left to be documented... > > Francois takes care of updating core docs. Give him a message if you > find something missing/wrong Let's phrase it that way: I helped with updating the core docs this time and we'll see what happens in the future... Anyway, Dan, the docs are now up to date, but not published. You can get the latest versions from forge [1]. If you find any mistakes or missing things, please open a bug on bugs.typo3.org (see [2]). Cheers -- Francois Suter Cobweb Development Sarl - http://www.cobweb.ch [1] https://svn.typo3.org/TYPO3v4/Core/Documentation/trunk/ [2] http://wiki.typo3.org/index.php/Pending_Documentation#Errata From dmitry at typo3.org Thu Sep 4 20:37:38 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Thu, 04 Sep 2008 21:37:38 +0300 Subject: [TYPO3-dev] Documentation of TYPO3_CONF_VARS In-Reply-To: References: Message-ID: Hi! Francois Suter wrote: > Anyway, Dan, the docs are now up to date, but not published. You can get > the latest versions from forge [1]. Great news!!! Thanks, Francois! Now we need someone who can publish them. -- Dmitry Dulepov TYPO3 Core team My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book In the blog: http://typo3bloke.net/pages/book-reviews/presentation-zen-by-garr-reynolds/ From pfoerger at gmail.com Thu Sep 4 21:08:07 2008 From: pfoerger at gmail.com (Peter Foerger) Date: Thu, 04 Sep 2008 21:08:07 +0200 Subject: [TYPO3-dev] Documentation of TYPO3_CONF_VARS In-Reply-To: References: Message-ID: Hi @ all Dmitry Dulepov [typo3] schrieb: > Hi! > > Francois Suter wrote: >> Anyway, Dan, the docs are now up to date, but not published. You can >> get the latest versions from forge [1]. > > Great news!!! Thanks, Francois! Yeah, he almighty clap, clap goes to Francois. > > Now we need someone who can publish them. > Yup, please !!! Cheers Peter From fsuter at cobweb.ch Thu Sep 4 21:23:02 2008 From: fsuter at cobweb.ch (Francois Suter) Date: Thu, 04 Sep 2008 21:23:02 +0200 Subject: [TYPO3-dev] Documentation of TYPO3_CONF_VARS In-Reply-To: References: Message-ID: Hi, > Great news!!! Thanks, Francois! Actually they have been up to date since last Friday. I posted the information on the Core list, but maybe I wasn't clear enough. Sorry. > Now we need someone who can publish them. That will be Michael. Cheers -- Francois Suter Cobweb Development Sarl - http://www.cobweb.ch From typo3 at t3node.com Thu Sep 4 23:15:05 2008 From: typo3 at t3node.com (=?ISO-8859-15?Q?Steffen_M=FCller?=) Date: Thu, 04 Sep 2008 23:15:05 +0200 Subject: [TYPO3-dev] Append sheet to existing plugin flexform In-Reply-To: References: Message-ID: Hi. On 01.09.2008 19:13 Peter Klein wrote: > Is there any way to append a FlexForm sheet to the FlexForm setup of an > existing plugin? > > What I want, is to add an extra sheet (tab) of options to the tt_news > flexform setup. > Thomas developed an extension to have more dynamic flexforms: dynaflex. But I don't know if it helps in your situation: http://typo3.org/extensions/repository/?tx_terfe_pi1[view]=search&no_cache=1&tx_terfe_pi1[sword]=Dynaflex+ -- cheers, Steffen http://www.t3node.com/ From info at sk-typo3.de Fri Sep 5 00:30:43 2008 From: info at sk-typo3.de (Steffen Kamper) Date: Fri, 05 Sep 2008 00:30:43 +0200 Subject: [TYPO3-dev] Documentation of TYPO3_CONF_VARS In-Reply-To: References: Message-ID: Francois Suter schrieb: > Hi, > >>> Unfortunately it seems like 4.2 docs are still not complete (update >>> me if I'm wrong). Following Dmitri's advice I emailed Stucki, but >>> received no reply. There is a lot left to be documented... >> >> Francois takes care of updating core docs. Give him a message if you >> find something missing/wrong > > Let's phrase it that way: I helped with updating the core docs this time > and we'll see what happens in the future... > > Anyway, Dan, the docs are now up to date, but not published. You can get > the latest versions from forge [1]. > > If you find any mistakes or missing things, please open a bug on > bugs.typo3.org (see [2]). > > Cheers > too late - you are the one now :-) I started to copy TYPO3_CONF_VARS to Inside TYPO3 - i will send you if i'm finished. vg Steffen From kumori0 at yahoo.com Fri Sep 5 08:39:29 2008 From: kumori0 at yahoo.com (Simon) Date: Thu, 4 Sep 2008 23:39:29 -0700 (PDT) Subject: [TYPO3-dev] shibboleth 2.0 in Typo3 Message-ID: Has anyone tried writing an extension for Shibboleth 2.0? I'm trying to integrate Shibboleth in Typo3 and enable single sign on but don't have much luck at the moment.Could someone give me some pointers as to how to write a new auth routine? Thanks in advance, Simon From oliver at typo3.org Fri Sep 5 10:53:04 2008 From: oliver at typo3.org (Oliver Hader) Date: Fri, 05 Sep 2008 10:53:04 +0200 Subject: [TYPO3-dev] Localization overview in back-end Message-ID: Hi guys, if I remember correctly there once was a working localization overview in the TYPO3 back-end at "Web>Info>Localization Overview". And that overview was once colored with red, green, grey to get a quick overview of which localization is missing... Does anyone know what happened there? olly -- Oliver Hader TYPO3 4.3 Release Manager From info at sk-typo3.de Fri Sep 5 13:10:21 2008 From: info at sk-typo3.de (Steffen Kamper) Date: Fri, 05 Sep 2008 13:10:21 +0200 Subject: [TYPO3-dev] Localization overview in back-end In-Reply-To: References: Message-ID: Oliver Hader schrieb: > Hi guys, > > if I remember correctly there once was a working localization overview > in the TYPO3 back-end at "Web>Info>Localization Overview". And that > overview was once colored with red, green, grey to get a quick overview > of which localization is missing... > > Does anyone know what happened there? > > olly Hi olly, the view is still there, only colorizing isn't. A short look to states, that the definitions for the colors are missing in css td.c-fallback td.c-leftLine etc. vg Steffen From info at sk-typo3.de Fri Sep 5 14:04:47 2008 From: info at sk-typo3.de (Steffen Kamper) Date: Fri, 05 Sep 2008 14:04:47 +0200 Subject: [TYPO3-dev] Localization overview in back-end In-Reply-To: References: Message-ID: checking again i added this to stylesheet to get it back. I chnaged colors to be more light for better reading table#langTable td.c-ok { background-color: #b9f8aa; } table#langTable td.c-blocked { background-color: #f9979a; } vg Steffen From info at sk-typo3.de Fri Sep 5 20:01:26 2008 From: info at sk-typo3.de (Steffen Kamper) Date: Fri, 05 Sep 2008 20:01:26 +0200 Subject: [TYPO3-dev] Localization overview in back-end In-Reply-To: References: Message-ID: Oliver Hader schrieb: > Hi guys, > > if I remember correctly there once was a working localization overview > in the TYPO3 back-end at "Web>Info>Localization Overview". And that > overview was once colored with red, green, grey to get a quick overview > of which localization is missing... > > Does anyone know what happened there? > > olly Hi olly, patch is in corelist vg Steffen From dmitry at typo3.org Fri Sep 5 20:56:04 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Fri, 05 Sep 2008 21:56:04 +0300 Subject: [TYPO3-dev] Documentation of TYPO3_CONF_VARS In-Reply-To: References: Message-ID: Hi! Francois Suter wrote: > Actually they have been up to date since last Friday. I posted the > information on the Core list, but maybe I wasn't clear enough. Sorry. Hm, remind me to get you a beer on the the next t3dd, would you? :D This is the happiest news I had this week!!! I am jumping like a kid! >> Now we need someone who can publish them. > > That will be Michael. Hope he gets soon from holidays and publishes these docs. I am very excited. Really! I waited so long for new docs! -- Dmitry Dulepov TYPO3 Core team My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book In the blog: http://typo3bloke.net/pages/book-reviews/presentation-zen-by-garr-reynolds/ From dmitry at typo3.org Sat Sep 6 10:15:13 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Sat, 06 Sep 2008 11:15:13 +0300 Subject: [TYPO3-dev] Is the description of tslib_fe::includeTCA wrong? Message-ID: Hi! I just noticed that description of this function says: ==================== Includes full TCA. Normally in the frontend only a part of the global $TCA array is loaded, for instance the "ctrl" part. Thus it doesn't take up too much memory. If you need the FULL TCA available for some reason (like plugins using it) you should call this function which will include the FULL TCA. Global vars $TCA, $PAGES_TYPES, $LANG_GENERAL_LABELS can/will be affected. The flag $this->TCAloaded will make sure that such an inclusion happens only once since; If $this->TCAloaded is set, nothing is included. ==================== It appears that this description is historical and does not describe what the function does now. Here is what it actually does: ==================== if (!$this->TCAloaded) { $TCA = Array(); include (TYPO3_tables_script ? PATH_typo3conf.TYPO3_tables_script : PATH_t3lib.'stddb/tables.php'); // Extension additions if ($GLOBALS['TYPO3_LOADED_EXT']['_CACHEFILE']) { include(PATH_typo3conf.$GLOBALS['TYPO3_LOADED_EXT']['_CACHEFILE'].'_ext_tables.php'); } else { include(PATH_t3lib.'stddb/load_ext_tables.php'); } // ext-script if (TYPO3_extTableDef_script) { include (PATH_typo3conf.TYPO3_extTableDef_script); } $this->TCAloaded = $TCAloaded; } ==================== So, it only loads ext_tables.php from each extension and does not load dynamic configuration file (tca.php). Can anyone confirm that I am not blind and the description is wrong? If yes, I will change it to reflect the real life. -- Dmitry Dulepov TYPO3 Core team My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book In the blog: http://typo3bloke.net/pages/book-reviews/presentation-zen-by-garr-reynolds/ From info at sk-typo3.de Sat Sep 6 10:27:08 2008 From: info at sk-typo3.de (Steffen Kamper) Date: Sat, 06 Sep 2008 10:27:08 +0200 Subject: [TYPO3-dev] Is the description of tslib_fe::includeTCA wrong? In-Reply-To: References: Message-ID: Hi Dmitry, you're right - this function loads "all" TCA[ctrl] So it doesn't load complete TCA as you said because the columns will not be included. Getting complete it has to be called t3lib_div::loadTCA for each table For being sure you could use this function and make a debug on GLOBALS[TCA], may be we oversee something vg Steffen From franz at fholzinger.com Sat Sep 6 15:19:39 2008 From: franz at fholzinger.com (Franz Holzinger) Date: Sat, 06 Sep 2008 15:19:39 +0200 Subject: [TYPO3-dev] Is the description of tslib_fe::includeTCA wrong? In-Reply-To: References: Message-ID: Dmitry Dulepov [typo3] a ?crit : > Hi! > > I just noticed that description of this function says: > ==================== > Includes full TCA. > Normally in the frontend only a part of the global $TCA array is loaded, > for instance the "ctrl" part. Thus it doesn't take up too much memory. > If you need the FULL TCA available for some reason (like plugins using > it) you should call this function which will include the FULL TCA. > Global vars $TCA, $PAGES_TYPES, $LANG_GENERAL_LABELS can/will be affected. > The flag $this->TCAloaded will make sure that such an inclusion happens > only once since; If $this->TCAloaded is set, nothing is included. > ==================== > > It appears that this description is historical and does not describe > what the function does now. Here is what it actually does: > ==================== > if (!$this->TCAloaded) { > $TCA = Array(); > include (TYPO3_tables_script ? PATH_typo3conf.TYPO3_tables_script : > PATH_t3lib.'stddb/tables.php'); > // Extension additions > if ($GLOBALS['TYPO3_LOADED_EXT']['_CACHEFILE']) { > > include(PATH_typo3conf.$GLOBALS['TYPO3_LOADED_EXT']['_CACHEFILE'].'_ext_tables.php'); > > } else { > include(PATH_t3lib.'stddb/load_ext_tables.php'); > } > // ext-script > if (TYPO3_extTableDef_script) { > include (PATH_typo3conf.TYPO3_extTableDef_script); > } > $this->TCAloaded = $TCAloaded; > } > ==================== > > So, it only loads ext_tables.php from each extension and does not load > dynamic configuration file (tca.php). > > Can anyone confirm that I am not blind and the description is wrong? If > yes, I will change it to reflect the real life. > Have a look at the method getCompressedTCarray where the description is better: Get the compressed $TCA array for use in the front-end A compressed $TCA array holds only the ctrl- and feInterface-part for each table. But the column-definitions are omitted in order to save some memory and be more efficient. Operates on the global variable, $TCA function getCompressedTCarray() { ... foreach($TCA as $key => $val) { $newTc[$key]['ctrl'] = $val['ctrl']; $newTc[$key]['feInterface'] = $val['feInterface']; // Collect information about localization exclusion of fields: t3lib_div::loadTCA($key); if (is_array($TCA[$key]['columns'])) { $this->TCAcachedExtras[$key]['l10n_mode'] = array(); foreach($TCA[$key]['columns'] as $fN => $fV) { if ($fV['l10n_mode']) { $this->TCAcachedExtras[$key]['l10n_mode'][$fN] = $fV['l10n_mode']; } } } } This function will load the TCA. t3lib_div::loadTCA fetches the $tca['ctrl']['dynamicConfigFile'] where the tca.php files has to be stored. Then the tca.php will be loaded inside of this function. From dmitry at typo3.org Sat Sep 6 15:35:02 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Sat, 06 Sep 2008 16:35:02 +0300 Subject: [TYPO3-dev] Is the description of tslib_fe::includeTCA wrong? In-Reply-To: References: Message-ID: Hi! Franz Holzinger wrote: > Have a look at the method getCompressedTCarray where the description is > better: ... > t3lib_div::loadTCA fetches the $tca['ctrl']['dynamicConfigFile'] where > the tca.php files has to be stored. Then the tca.php will be loaded > inside of this function. Yes, I know all that :) I simply could not believe my eyes when I saw the description of the includeTCA. So I asked others if I am blind or not :) -- Dmitry Dulepov TYPO3 Core team My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book In the blog: http://typo3bloke.net/pages/book-reviews/presentation-zen-by-garr-reynolds/ From lukas.stancik at robe.cz Sat Sep 6 15:52:21 2008 From: lukas.stancik at robe.cz (Lukas Stancik) Date: Sat, 06 Sep 2008 15:52:21 +0200 Subject: [TYPO3-dev] Problem with mod_rewrite In-Reply-To: References: Message-ID: Hi, I had exactly the same problem. After having a look into the mod_rewrite documentation I found out that the RewriteRule in your code below works probably only for directories (note the trailing slash at the end of line) but not for the files. I think that it instructs the engine to stop rewriting for directory /favicon.ico/ which obviously doesn't make much sense unless you have such directory :) I have modified my .htaccess file like this: ---snip--- # Stop rewrite processing inside following directories RewriteRule ^(typo3|t3lib|tslib|fileadmin|typo3conf|typo3temp|uploads)/ - [L] # Stop rewrite processing if following files are requested in root of website RewriteRule ^(favicon\.ico|robots\.txt|showpic\.php) - [L] ---snip--- I am not able to say if this is safe, correct or anything but it works :) Still I could not figure out why is .htaccess referring to showpic.php file since it is located deep in typo3/ directory, maybe it's location changed during development of TYPO3??? PS: I'm sorry if this is a wrong list to post but I'd like to save some time to others that will hit this issue in future. Thanks for understanding. Best Regards Lukas Stancik Steffen Ritter wrote: > Hello, > I have Problems with mod_rewrite, which I do not understand. > I'm using standard .htaccess from T3 but calling domain/robots.txt or > /favicon.ico oder something else which is a file in root directory will > be ignored, the homepage of my website ist displayed. > Simulate static documents is activated (and working as aspected). > I also tried, to switch pagenotfoundhandling on. Nothing happenend. > > I'm Using apache2 with php 5.2.6 as fast-cgi. > > .htaccess (for reminder) > > AddHandler php-fastcgi .php > ### Begin: Rewrite stuff ### > > # Enable URL rewriting > RewriteEngine On > RewriteBase / > RewriteRule > ^(typo3|t3lib|tslib|fileadmin|typo3conf|typo3temp|uploads|showpic\.php|favicon\.ico)/ > - [L] > > RewriteRule ^typo3$ typo3/index_re.php [L] > RewriteCond %{REQUEST_FILENAME} !-f > RewriteCond %{REQUEST_FILENAME} !-d > RewriteCond %{REQUEST_FILENAME} !-l > > RewriteRule .* index.php [L] > > ### End: Rewrite stuff ### > > > kind regards > > Steffen From peter at umloud.dk Sat Sep 6 18:32:27 2008 From: peter at umloud.dk (Peter Klein) Date: Sat, 6 Sep 2008 18:32:27 +0200 Subject: [TYPO3-dev] Is the description of tslib_fe::includeTCA wrong? References: Message-ID: "Steffen Kamper" wrote in message news:mailman.1.1220689621.10034.typo3-dev at lists.netfielders.de... > Hi Dmitry, > > you're right - this function loads "all" TCA[ctrl] > So it doesn't load complete TCA as you said because the columns will not > be included. > > Getting complete it has to be called t3lib_div::loadTCA for each table > > For being sure you could use this function and make a debug on > GLOBALS[TCA], may be we oversee something > > vg Steffen Unfortunatly that is not possible when using the TS property "TCAselectItem" (which uses ), so I wold say it's a bug.. See: http://bugs.typo3.org/view.php?id=9131 -- Peter Klein From franz at fholzinger.com Sat Sep 6 19:39:35 2008 From: franz at fholzinger.com (Franz Holzinger) Date: Sat, 06 Sep 2008 19:39:35 +0200 Subject: [TYPO3-dev] Is the description of tslib_fe::includeTCA wrong? In-Reply-To: References: Message-ID: Peter Klein a ?crit : > Unfortunatly that is not possible when using the TS property "TCAselectItem" > (which uses ), so I wold say it's a bug.. > See: http://bugs.typo3.org/view.php?id=9131 It is a missing feature that it does not consider TCA changes from extensions. Therefore this method is not usable at all in many cases. http://bugs.typo3.org/view.php?id=2397 See function loadTcaAdditions_fh001 in extension div2007 which fixes this. - Franz From xoonsji02 at sneakemail.com Sun Sep 7 17:13:58 2008 From: xoonsji02 at sneakemail.com (bernd wilke) Date: Sun, 7 Sep 2008 15:13:58 +0000 (UTC) Subject: [TYPO3-dev] enhanced user-access? Message-ID: is it already possible (extension?) to realize this: I have 4 usergroups group1 group2 group3 group4 and want to show pages/content to visitors which have not logged in or belong to group1 or group2 As far as I see I have to duplicate the pages/content once for 'hide at login' and once for 'group1' or 'group2' as each time I select 'hide at login' all groups are deselected. 'hide at login' = 'show at no login' if it has to be changed in core, is it also possible to enhance the logic at all and insert 'show at any login' except for selected groups? so we would have two selections 'show at no login OR' 'show at login EXCEPT' which could be combined with other groups. or can we have at least an additional checkbox which will negate the selection? bernd -- http://www.pi-phi.de/t3v4/cheatsheet.html From masi-no at spam-typo3.org Sun Sep 7 19:06:44 2008 From: masi-no at spam-typo3.org (Martin Kutschker) Date: Sun, 07 Sep 2008 19:06:44 +0200 Subject: [TYPO3-dev] Is the description of tslib_fe::includeTCA wrong? In-Reply-To: References: Message-ID: Dmitry Dulepov [typo3] schrieb: > Hi! > > I just noticed that description of this function says: > ==================== > Includes full TCA. > Normally in the frontend only a part of the global $TCA array is loaded, > for instance the "ctrl" part. Thus it doesn't take up too much memory. > If you need the FULL TCA available for some reason (like plugins using > it) you should call this function which will include the FULL TCA. > Global vars $TCA, $PAGES_TYPES, $LANG_GENERAL_LABELS can/will be affected. > The flag $this->TCAloaded will make sure that such an inclusion happens > only once since; If $this->TCAloaded is set, nothing is included. > ==================== > > It appears that this description is historical and does not describe > what the function does now. Here is what it actually does: > ==================== > if (!$this->TCAloaded) { > $TCA = Array(); > include (TYPO3_tables_script ? PATH_typo3conf.TYPO3_tables_script : > PATH_t3lib.'stddb/tables.php'); > // Extension additions > if ($GLOBALS['TYPO3_LOADED_EXT']['_CACHEFILE']) { > > include(PATH_typo3conf.$GLOBALS['TYPO3_LOADED_EXT']['_CACHEFILE'].'_ext_tables.php'); > > } else { > include(PATH_t3lib.'stddb/load_ext_tables.php'); > } > // ext-script > if (TYPO3_extTableDef_script) { > include (PATH_typo3conf.TYPO3_extTableDef_script); > } > $this->TCAloaded = $TCAloaded; > } > ==================== > > So, it only loads ext_tables.php from each extension and does not load > dynamic configuration file (tca.php). > > Can anyone confirm that I am not blind and the description is wrong? If > yes, I will change it to reflect the real life. You are right. The descripotion is wrong. The fact that dynamic TCA doesn't work properly is a long standing issue. Masi From typo3 at t3node.com Mon Sep 8 12:51:51 2008 From: typo3 at t3node.com (=?UTF-8?B?U3RlZmZlbiBNw7xsbGVy?=) Date: Mon, 08 Sep 2008 12:51:51 +0200 Subject: [TYPO3-dev] enhanced user-access? In-Reply-To: References: Message-ID: Hi. On 07.09.2008 17:13 bernd wilke wrote: > > As far as I see I have to duplicate the pages/content once for > 'hide at login' > and once for > 'group1' or 'group2' > as each time I select 'hide at login' all groups are deselected. > 'hide at login' = 'show at no login' > This works for me: You could declare "Hide at login" as NOT exclusive. I did not check the controller for any side effects. diff -ru typo3_src-4.2.1/typo3/sysext/cms/ext_tables.php typo3_src-4.2.1.new/typo3/sysext/cms/ext_tables.php --- typo3_src-4.2.1/typo3/sysext/cms/ext_tables.php 2008-06-11 10:15:12.000000000 +0200 +++ typo3_src-4.2.1.new/typo3/sysext/cms/ext_tables.php 2008-09-08 12:44:10.000000000 +0200 @@ -165,7 +165,7 @@ array('LLL:EXT:lang/locallang_general.xml:LGL.any_login', -2), array('LLL:EXT:lang/locallang_general.xml:LGL.usergroups', '--div--') ), - 'exclusiveKeys' => '-1,-2', + 'exclusiveKeys' => '-2', 'foreign_table' => 'fe_groups', ) ), @@ -821,4 +821,4 @@ ) ); diff -ru typo3_src-4.2.1/typo3/sysext/cms/tbl_tt_content.php typo3_src-4.2.1.new/typo3/sysext/cms/tbl_tt_content.php --- typo3_src-4.2.1/typo3/sysext/cms/tbl_tt_content.php 2008-06-11 10:15:12.000000000 +0200 +++ typo3_src-4.2.1.new/typo3/sysext/cms/tbl_tt_content.php 2008-09-08 12:42:55.000000000 +0200 @@ -123,7 +123,7 @@ Array('LLL:EXT:lang/locallang_general.php:LGL.any_login', -2), Array('LLL:EXT:lang/locallang_general.php:LGL.usergroups', '--div--') ), - 'exclusiveKeys' => '-1,-2', + 'exclusiveKeys' => '-2', 'foreign_table' => 'fe_groups' ) ), @@ -1115,4 +1115,4 @@ ); -- cheers, Steffen http://www.t3node.com/ From info at sk-typo3.de Mon Sep 8 13:07:45 2008 From: info at sk-typo3.de (Steffen Kamper) Date: Mon, 08 Sep 2008 13:07:45 +0200 Subject: [TYPO3-dev] enhanced user-access? In-Reply-To: References: Message-ID: Hi, you don't have to patch it for this, you could add these statements to extTables.php: $GLOBALS['TCA']['pages']['columns']['fe_group']['config']['exclusiveKeys'] = '-2'; $GLOBALS['TCA']['tt_content']['columns']['fe_group']['config']['exclusiveKeys'] = '-2'; vg Steffen From mail at maltejansen.de Mon Sep 8 13:42:16 2008 From: mail at maltejansen.de (Malte Jansen) Date: Mon, 08 Sep 2008 13:42:16 +0200 Subject: [TYPO3-dev] Rewriting "typo3/" path to realurl-page-path Message-ID: Hi, I want to redirect the path of the Backend of TYPO3-Installation (www.domain.com/typo3/) to a path of a CMS-page. So I want, that the www.domain.com/typo3/ is rewritten to www.domain.com/someOtherT3PageInRealURLstyle/ , still displaying www.domain.com/typo3/ in the browser's url. RewriteEngine On #Version 1: displaying www.domain.com/typo3/ RewriteRule ^typo3/(.*)$ someOtherT3PageInRealURLstyle/$1 #Version 2: displaying www.domain.com/someOtherT3PageInRealURLstyle/ RewriteRule ^typo3/(.*)$ http://www.domain.com/someOtherT3PageInRealURLstyle/$1 RewriteRule ^(t3lib|tslib|fileadmin|typo3conf|typo3temp|uploads|showpic\.php|favicon\.ico)/ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-l RewriteRule .* /index.php [L] Version 1 creates an 500-error. Version 2 is ignored. I have anybody a hint for me? Cheers, Malte From typo3 at t3node.com Mon Sep 8 13:47:30 2008 From: typo3 at t3node.com (=?UTF-8?B?U3RlZmZlbiBNw7xsbGVy?=) Date: Mon, 08 Sep 2008 13:47:30 +0200 Subject: [TYPO3-dev] enhanced user-access? In-Reply-To: References: Message-ID: On 08.09.2008 13:07 Steffen Kamper wrote: > Hi, > > you don't have to patch it for this, you could add these statements to > extTables.php: > > $GLOBALS['TCA']['pages']['columns']['fe_group']['config']['exclusiveKeys'] > = '-2'; > > $GLOBALS['TCA']['tt_content']['columns']['fe_group']['config']['exclusiveKeys'] > = '-2'; > That's why I love TYPO3. The configuration arrays seem to be magic. And you'll always find someone pointing you to right spell. -- cheers, Steffen http://www.t3node.com/ From info at sk-typo3.de Mon Sep 8 13:50:29 2008 From: info at sk-typo3.de (Steffen Kamper) Date: Mon, 08 Sep 2008 13:50:29 +0200 Subject: [TYPO3-dev] Rewriting "typo3/" path to realurl-page-path In-Reply-To: References: Message-ID: Hi Malte, why not simply use a symlink? vg Steffen From dmitry at typo3.org Mon Sep 8 13:52:08 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Mon, 08 Sep 2008 14:52:08 +0300 Subject: [TYPO3-dev] Rewriting "typo3/" path to realurl-page-path In-Reply-To: References: Message-ID: Hi! Malte Jansen wrote: > I have anybody a hint for me? Use RewriteLog and RewriteLogLevel to see what's wrong. -- Dmitry Dulepov TYPO3 Core team My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book In the blog: http://typo3bloke.net/pages/book-reviews/presentation-zen-by-garr-reynolds/ From mail at maltejansen.de Mon Sep 8 14:06:31 2008 From: mail at maltejansen.de (Malte Jansen) Date: Mon, 08 Sep 2008 14:06:31 +0200 Subject: [TYPO3-dev] Rewriting "typo3/" path to realurl-page-path In-Reply-To: References: Message-ID: Steffen Kamper schrieb: > why not simply use a symlink? Hi Steffen! I still want to use the Backend via subdomain e.g. typo3.domain.com. The trigger for this is working pretty well. So I have just reduced the lines to highlight my problem. Cheers, Malte From xoonsji02 at sneakemail.com Mon Sep 8 14:25:47 2008 From: xoonsji02 at sneakemail.com (bernd wilke) Date: Mon, 8 Sep 2008 12:25:47 +0000 (UTC) Subject: [TYPO3-dev] enhanced user-access? References: Message-ID: on Mon, 08 Sep 2008 13:07:45 +0200, Steffen Kamper wrote: > Hi, > > you don't have to patch it for this, you could add these statements to > extTables.php: > > $GLOBALS['TCA']['pages']['columns']['fe_group']['config'] ['exclusiveKeys'] > = '-2'; > > $GLOBALS['TCA']['tt_content']['columns']['fe_group']['config'] ['exclusiveKeys'] > = '-2'; > works good. :-) thanks. bernd -- http://www.pi-phi.de/t3v4/cheatsheet.html From info at sk-typo3.de Mon Sep 8 14:35:55 2008 From: info at sk-typo3.de (Steffen Kamper) Date: Mon, 08 Sep 2008 14:35:55 +0200 Subject: [TYPO3-dev] enhanced user-access? In-Reply-To: References: Message-ID: Steffen M?ller schrieb: > That's why I love TYPO3. > The configuration arrays seem to be magic. And you'll always find > someone pointing you to right spell. > Hi Steffen, most easy way is to explore TCA with the configuration module, click on the property and copy it to extTables. Normally you have to change $TCA to $GLOBALS['TCA'] to ensure it works. (may be $TCA is known as well, i use $GLOBALS all the time to be safe) vg Steffen From danielb at typo3.org Mon Sep 8 16:24:20 2008 From: danielb at typo3.org (Daniel Bruessler) Date: Mon, 08 Sep 2008 16:24:20 +0200 Subject: [TYPO3-dev] [TYPO3-doc] DocTEAM: doc_template, ts45min_de, typo3_tut Message-ID: We -- the DocTeam -- want to inform you, that we just finished three of our projects (the HTML-view of this news: http://news.typo3.org/news/article/docteam-doc-template-ts45min-de-typo3-tut/ ) == doc_template == We have published a new version of the template for documentation. The index table is now linked with the different sections, there are some new colors as well as a few layout changes. Additionally there is a language and a keyword field. The keywords help finding your extension via search. In between we had some problems with rendering of some versions of the template. We are sorry if these have caused inconveniences. If you have rendering problems please remove all numbered headers, best is to use the current version 1.2.5. == TypoScript in 45 minutes == The first German version of TypoScript in 45 minutes has just been published to TER. The English one is nearly finished and will be published soon. Until that you can go ahead and make notes or just read it at it's wiki page: wiki.typo3.org/ts45min Translations to Netherlands and French are in work, if you want to help us so just translate a sentence or more in the wiki. == TYPO3 tutorial for editors == Marlies Cohen once wrote a tutorial for editors. This has now been updated and extended, you can find it in TER (extension key is typo3_tut). Part 2 of that tutorial will contain some tips and tricks for editors. Here, too, you can help with your own tips and tricks: add them in the wiki at wiki.typo3.org/typo3_tut_part2 == DocTeam == you want to help? Just join us! Visit us at http://forge.typo3.org/projects/show/team-docteam -- thanks for texting go to: Susanne Moog -- From spetzl at gmx.at Mon Sep 8 16:35:00 2008 From: spetzl at gmx.at (Stephan Petzl) Date: Mon, 08 Sep 2008 16:35:00 +0200 Subject: [TYPO3-dev] typoscript codecompletion Message-ID: Hi guys! As some of you might know, we (Christian Kartnig and i) have developed a codecompletion for typoscript. I just packed the current version of the t3editor-cc and uploaded it to my server. Feel free to give it a try: http://www.synapsick.net/fileadmin/rackattack/files/T3X_t3editor-0_0_10-z-200809081604.t3x Feedback is appreciated very much! What do you think what has to be done to get this into 4.3? INSTALLATION: 1.) set allowSystemInstall=1 in the installtool (cause the extension has to be copied to the typo3/sysext folder not to typo3conf/ext) 2.) in the extensionmanager goto "Upload extension file directly (.t3x)" and select the downloaded t3x file 3.) under "to location..." select "system" and check "Overwrite any existing extension!" then upload and install the extension. WARNING: the original t3editor will be replaced, so if you like to switch back to the default t3editor later, backup your typo3/sysext/t3editor directory! Cheers Stef From fsuter at cobweb.ch Mon Sep 8 18:17:46 2008 From: fsuter at cobweb.ch (Francois Suter) Date: Mon, 08 Sep 2008 18:17:46 +0200 Subject: [TYPO3-dev] Sensible usage of hook tslib_content_getDataHook or not? Message-ID: Hi all, In one of my extensions I need to access some extra data inside a getText function. One possibility is to put my stuff into $GLOBALS and get it with a syntax like: someproperty.stdWrap.data = global:MYSTUFF|index1|index2 This works ok, but I was wondering if stuffing things into $GLOBALS was such a good idea. Another possibility is to put my stuff in a more special place (like in the current instance of tslib_content that I'm using) and extracting it using the tslib_content_getDataHook hook that is in tslib_content::getData(). This seems cleaner but has the drawback that the hook gets called every time getData() is called, which seems like an important overhead to me. Any opinions on this? Cheers -- Francois Suter Cobweb Development Sarl - http://www.cobweb.ch From info at sk-typo3.de Mon Sep 8 18:31:26 2008 From: info at sk-typo3.de (Steffen Kamper) Date: Mon, 08 Sep 2008 18:31:26 +0200 Subject: [TYPO3-dev] Sensible usage of hook tslib_content_getDataHook or not? In-Reply-To: References: Message-ID: Hi Francois, Francois Suter schrieb: > Hi all, > > In one of my extensions I need to access some extra data inside a > getText function. One possibility is to put my stuff into $GLOBALS and > get it with a syntax like: > > someproperty.stdWrap.data = global:MYSTUFF|index1|index2 > > This works ok, but I was wondering if stuffing things into $GLOBALS was > such a good idea. > > Another possibility is to put my stuff in a more special place (like in > the current instance of tslib_content that I'm using) and extracting it > using the tslib_content_getDataHook hook that is in > tslib_content::getData(). > > This seems cleaner but has the drawback that the hook gets called every > time getData() is called, which seems like an important overhead to me. > > Any opinions on this? > > Cheers > only a quickshot - usage with user_func? vg Steffen From dmitry at typo3.org Tue Sep 9 09:51:36 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Tue, 09 Sep 2008 10:51:36 +0300 Subject: [TYPO3-dev] Sensible usage of hook tslib_content_getDataHook or not? In-Reply-To: References: Message-ID: Hi! Francois Suter wrote: > In one of my extensions I need to access some extra data inside a > getText function. One possibility is to put my stuff into $GLOBALS and > get it with a syntax like: > > someproperty.stdWrap.data = global:MYSTUFF|index1|index2 > > This works ok, but I was wondering if stuffing things into $GLOBALS was > such a good idea. Use registers. $GLOBALS['TSFE']->register['tx_extkey_name'] from the code and "data = register:tx_extkey_name" from TS. -- Dmitry Dulepov TYPO3 Core team My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book In the blog: http://typo3bloke.net/pages/book-reviews/presentation-zen-by-garr-reynolds/ From fsuter at cobweb.ch Tue Sep 9 10:24:05 2008 From: fsuter at cobweb.ch (Francois Suter) Date: Tue, 09 Sep 2008 10:24:05 +0200 Subject: [TYPO3-dev] Sensible usage of hook tslib_content_getDataHook or not? In-Reply-To: References: Message-ID: Hi, > Use registers. $GLOBALS['TSFE']->register['tx_extkey_name'] from the > code and "data = register:tx_extkey_name" from TS. I've thought about that, but it's no good in my case because my data structure is a multi-dimensional array (I should have mentioned that, sorry) and register:xxx can only access a 1-dimension array. case 'register': $retVal = $GLOBALS['TSFE']->register[$key]; break; which is why I thought about adding a new key and handling it with the hook, but it doesn't seem efficient to have that hook called every time the data property of a stdWrap is used. Or is that a wrong impression? Cheers -- Francois Suter Cobweb Development Sarl - http://www.cobweb.ch From mail at maltejansen.de Tue Sep 9 12:18:33 2008 From: mail at maltejansen.de (Malte Jansen) Date: Tue, 09 Sep 2008 12:18:33 +0200 Subject: [TYPO3-dev] Rewriting "typo3/" path to realurl-page-path In-Reply-To: References: Message-ID: Dmitry Dulepov [typo3] schrieb: > Hi! > > Malte Jansen wrote: >> I have anybody a hint for me? > > Use RewriteLog and RewriteLogLevel to see what's wrong. > Hi Demitry! The Problem was on a shared hos, so no access to the log. But the problem is solved. There was empty .htaccess in the folder typo3/. This was why the RewriteRule was ignored. Cheers, Malte From cryangel at gmail.com Tue Sep 9 13:11:52 2008 From: cryangel at gmail.com (Cray Flatline) Date: Tue, 09 Sep 2008 14:11:52 +0300 Subject: [TYPO3-dev] Backend extension form fields question In-Reply-To: References: Message-ID: Dmitry Dulepov [typo3] ?????: Thanks a lot, Dmitry!! It works great! (: But I have one more question about it. For example I created new car with parameters: Type: Motorcycle Make: Honda Model: Steed Now I want to change type. I'm changing it to Auto. So: Type: Auto Make: [Invalid Value 9] Model: [Invalid Value 3] How I can clear Make and Model fields when I change Type? And same, how I can clear Model field, when I change Make? Thanks for advance! WBR, Cray > Hi! > > Cray Flatline wrote: >> I'm creating extension with car base, where I need to have three fields >> in the background. >> >> Type >> Make >> Model >> >> I want to make such thing: when I add new item in BE with this extension >> (car), I choose from type for example "motorcycle", so in the Make I >> will see only makes of motorcycles (honda, kawasaki etc.) but not for >> automobiles (i.e. Ford, VW). And when I choose something from Make >> (i.e. Honda), I want to see in Model only Honda models. >> >> Can I do it someway? I need to use "type-field" to reload page every >> time I choose from Type or Make? Or I can make it with something like >> ajax? >> >> Can anybody give me right direction to see/read/seek? (: > > Firsts, you need to add "Make" field into "requestUpdates" in the "ctrl" > section of TCA. > > Next you need to read through "select" section of the "TYPO3 core API" > and see how you can use foreign_table_where to show values of one field > using values of another. > > It is all possible. > From ingmar at typo3.org Tue Sep 9 13:56:17 2008 From: ingmar at typo3.org (Ingmar Schlecht) Date: Tue, 09 Sep 2008 13:56:17 +0200 Subject: [TYPO3-dev] [TYPO3-doc] DocTEAM: doc_template, ts45min_de, typo3_tut In-Reply-To: References: Message-ID: Great work, thanks a lot, Daniel! cheers Ingmar Daniel Bruessler wrote: > We -- the DocTeam -- want to inform you, that we just finished three of > our projects > > (the HTML-view of this news: > http://news.typo3.org/news/article/docteam-doc-template-ts45min-de-typo3-tut/ > ) > > == doc_template == > We have published a new version of the template for documentation. The > index table is now linked with the different sections, there are some > new colors as well as a few layout changes. Additionally there is a > language and a keyword field. The keywords help finding your extension > via search. > > In between we had some problems with rendering of some versions of the > template. We are sorry if these have caused inconveniences. If you have > rendering problems please remove all numbered headers, best is to use > the current version 1.2.5. > > == TypoScript in 45 minutes == > The first German version of TypoScript in 45 minutes has just been > published to TER. The English one is nearly finished and will be > published soon. Until that you can go ahead and make notes or just read > it at it's wiki page: wiki.typo3.org/ts45min > > Translations to Netherlands and French are in work, if you want to help > us so just translate a sentence or more in the wiki. > > == TYPO3 tutorial for editors == > Marlies Cohen once wrote a tutorial for editors. This has now been > updated and extended, you can find it in TER (extension key is > typo3_tut). Part 2 of that tutorial will contain some tips and tricks > for editors. Here, too, you can help with your own tips and tricks: add > them in the wiki at wiki.typo3.org/typo3_tut_part2 > > == DocTeam == > you want to help? Just join us! > > Visit us at http://forge.typo3.org/projects/show/team-docteam > > -- thanks for texting go to: Susanne Moog -- From cryangel at gmail.com Tue Sep 9 14:47:00 2008 From: cryangel at gmail.com (Cray Flatline) Date: Tue, 09 Sep 2008 15:47:00 +0300 Subject: [TYPO3-dev] Backend extension form fields question In-Reply-To: References: Message-ID: Dmitry Dulepov [typo3] wrote: And one more strange thing. 1) I add new car item. Choose Type: Auto, Make: Honda. Near the Model I press + to add new Model. 2) I see form with new model (type, Make, Model Title fields). I change Type to Moto, form reloads. 3) I see no form, just header and footer ================================================ ?????? ????????????? ???????? [12] - [No title] Show secondary options (palettes) ================================================ Does any chances to fix it? Or I just have to remove "+" and don't use it? ((: > Cray Flatline wrote: >> I'm creating extension with car base, where I need to have three fields >> in the background. >> >> Type >> Make >> Model >> >> I want to make such thing: when I add new item in BE with this extension >> (car), I choose from type for example "motorcycle", so in the Make I >> will see only makes of motorcycles (honda, kawasaki etc.) but not for >> automobiles (i.e. Ford, VW). And when I choose something from Make >> (i.e. Honda), I want to see in Model only Honda models. >> >> Can I do it someway? I need to use "type-field" to reload page every >> time I choose from Type or Make? Or I can make it with something like >> ajax? >> >> Can anybody give me right direction to see/read/seek? (: > > Firsts, you need to add "Make" field into "requestUpdates" in the "ctrl" > section of TCA. > > Next you need to read through "select" section of the "TYPO3 core API" > and see how you can use foreign_table_where to show values of one field > using values of another. > > It is all possible. > From pasquale.basile at gmail.com Tue Sep 9 16:40:58 2008 From: pasquale.basile at gmail.com (pasqualeb) Date: Tue, 09 Sep 2008 16:40:58 +0200 Subject: [TYPO3-dev] linkhandler & TYPO3 4.2.1 References: Message-ID: Hi, Jochen Yes, I also reported a similar behaviour as described in this article: http://www.nabble.com/linkhandler%3A-I-can't-select-any-news-nor-generic-record-tc19366933.html Any news about? Thanks, Pasquale On Wed, 27 Aug 2008 12:04:15 +0200, Jochen Rieger wrote: > Hi all, > > I'm trying to use the extension "linkhandler" that has been discussed > earlier in this list. > > Daniel did great work on that. > > Anyway I somehow have a problem in 4.2.1 to get it working. Following > behaviour: > > The configured tabs are displayed correctly in RTE's browselinks dialog. > I then go to the tab, select a folder containing news records. But then > the whole link dialog jumps back to the tab "Page" and I cannot select > anything of cause but a normal page. > > Anyone encountering the same problem? > > Regards, > Jochen From franz at fholzinger.com Tue Sep 9 19:16:38 2008 From: franz at fholzinger.com (Franz Holzinger) Date: Tue, 09 Sep 2008 19:16:38 +0200 Subject: [TYPO3-dev] TYPO3 Bug Day coming up this Friday, August 29th In-Reply-To: References: Message-ID: Franz Holzinger a ?crit : > Dmitry Dulepov [typo3] a ?crit : > >> Franz Holzinger wrote: >>> Did you ever see such an error message under LINUX, when everything >>> is blocked? >>> >>> LINUX Kernel Fatal Error: Module named "mymodule" was NOT loaded! >>> (linux_extMgm::extPath) >> >> I admit, this is a bad thing and should be fixed. Is there a patch >> already? > > A minimum would be this patch > http://bugs.typo3.org/view.php?id=5873 > which at least gives me more info for bugtracking. > At the moment I am stuck again with the same bug. > > _TYPO3 Fatal Error: Extension key "extkey" was NOT loaded! > (t3lib_extMgm::extPath)_ Now I have got this error message on a customer site: TYPO3 Fatal Error: Extension key "tt_news" was NOT loaded! (t3lib_extMgm::extPath) Any chances to get this patch in? Or why not? - Franz From typo3 at martinholtz.de Tue Sep 9 19:38:15 2008 From: typo3 at martinholtz.de (Martin Holtz) Date: Tue, 09 Sep 2008 19:38:15 +0200 Subject: [TYPO3-dev] typoscript codecompletion References: Message-ID: Hi Stephan, > As some of you might know, we (Christian Kartnig and i) have developed a > codecompletion for typoscript. great work! how did you get the XML-File tsref.xml? regards, martin From gina at typo3.org Tue Sep 9 19:54:01 2008 From: gina at typo3.org (Gina Steiner) Date: Tue, 09 Sep 2008 19:54:01 +0200 Subject: [TYPO3-dev] [TYPO3-doc] DocTEAM: doc_template, ts45min_de, typo3_tut In-Reply-To: References: Message-ID: hey daniel, many thanks to you and the whole doc-team. i hope you all go on doing this good work. aloha gina From spetzl at gmx.at Tue Sep 9 22:58:22 2008 From: spetzl at gmx.at (Stephan Petzl) Date: Tue, 09 Sep 2008 22:58:22 +0200 Subject: [TYPO3-dev] typoscript codecompletion In-Reply-To: References: Message-ID: Martin Holtz schrieb: > Hi Stephan, > >> As some of you might know, we (Christian Kartnig and i) have developed a >> codecompletion for typoscript. > great work! > > > how did you get the XML-File tsref.xml? > > regards, > martin i generated it out of bernhard kraft's typoscript editor (quite outdated implementation). later i developed a plattform for collaborative work on the tsref: http://tswiki.net its not really used at the moment cause there are not much people who use/test the codecompletion, however, hope there will be some usage for it in the future... its fully functional and there is a xml-export too. br stef From dmitry at typo3.org Wed Sep 10 08:37:15 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Wed, 10 Sep 2008 09:37:15 +0300 Subject: [TYPO3-dev] typoscript codecompletion In-Reply-To: References: Message-ID: Hi! Stephan Petzl wrote: > later i developed a plattform for collaborative work on the tsref: > > http://tswiki.net Why not use http://wiki.typo3.org/? -- Dmitry Dulepov TYPO3 Core team My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book In the blog: http://typo3bloke.net/pages/book-reviews/presentation-zen-by-garr-reynolds/ From dmitry at typo3.org Wed Sep 10 10:47:58 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Wed, 10 Sep 2008 11:47:58 +0300 Subject: [TYPO3-dev] [TYPO3-doc] DocTEAM: doc_template, ts45min_de, typo3_tut In-Reply-To: References: Message-ID: Hi! Daniel Bruessler wrote: > We -- the DocTeam -- want to inform you, that we just finished three of > our projects > > (the HTML-view of this news: > http://news.typo3.org/news/article/docteam-doc-template-ts45min-de-typo3-tut/ > ) News sounds great! :) -- Dmitry Dulepov TYPO3 Core team My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book In the blog: http://typo3bloke.net/pages/book-reviews/presentation-zen-by-garr-reynolds/ From spetzl at gmx.at Wed Sep 10 11:18:57 2008 From: spetzl at gmx.at (Stephan Petzl) Date: Wed, 10 Sep 2008 11:18:57 +0200 Subject: [TYPO3-dev] typoscript codecompletion In-Reply-To: References: Message-ID: Dmitry Dulepov [typo3] schrieb: > Hi! > > Stephan Petzl wrote: >> later i developed a plattform for collaborative work on the tsref: >> >> http://tswiki.net > > Why not use http://wiki.typo3.org/? > cause i dont think its possible to export a xml-definition out of wiki.typo3.org, its all about providing a formal specification of the typoscript language... but maybe a plugin for mediawiki would have been a good idea... From info at sk-typo3.de Wed Sep 10 14:12:28 2008 From: info at sk-typo3.de (Steffen Kamper) Date: Wed, 10 Sep 2008 14:12:28 +0200 Subject: [TYPO3-dev] indexed_search template Message-ID: Hi, during daily work i found a limitation in indexed_search. Looking to pi1 i saw hardcoded HTML where is no chance of modification. This is with the compiled search results where * pagebrowser is hardcoded * compiled result is hardcoded like pagebrowser1 + content + pagebrowser2 Now i overwork this using a complete result subpart in template like ###PAGEBROWSER_TOP### ###SEARCHRESULTs### ###PAGEBROWSER_BOTTOM### and build pagebrowser with stdWraps from TS for prev/next, current and page like pageBrowser { doNotLinkCurrent = 1 general_stdWrap { wrap =
    |
} previous_stdWrap { wrap =
  • |
  • } next_stdWrap { wrap =
  • |
  • } pages_stdWrap { wrap =
  • |
  • } current_stdWrap { wrap =
  • |
  • } } Any comments or addition, do you like to have such in a patch? vg Steffen From gaumondpatrick-s-p-a-m at hotmail-sp-a-m.com Wed Sep 10 14:55:00 2008 From: gaumondpatrick-s-p-a-m at hotmail-sp-a-m.com (Patrick Gaumond) Date: Wed, 10 Sep 2008 08:55:00 -0400 Subject: [TYPO3-dev] indexed_search template In-Reply-To: References: Message-ID: Steffen Kamper wrote: > Any comments or addition, do you like to have such in a patch? Well... Not "this" patch but while in Index Search mode, why not integrate macina_searchbox into it... ;) http://typo3.org/extensions/repository/view/macina_searchbox/2.2.0/ 32k downloads... I'm just pushing my luck... Thanks anyway for all your great work Steffen. Patrick "features freak" Gaumond From info at sk-typo3.de Wed Sep 10 15:00:17 2008 From: info at sk-typo3.de (Steffen Kamper) Date: Wed, 10 Sep 2008 15:00:17 +0200 Subject: [TYPO3-dev] indexed_search template In-Reply-To: References: Message-ID: Patrick Gaumond schrieb: > Steffen Kamper wrote: > >> Any comments or addition, do you like to have such in a patch? > > Well... Not "this" patch but while in Index Search mode, why not > integrate macina_searchbox into it... ;) > > http://typo3.org/extensions/repository/view/macina_searchbox/2.2.0/ > 32k downloads... > > I'm just pushing my luck... > > Thanks anyway for all your great work Steffen. > > > Patrick "features freak" Gaumond Hi Patrick, this should be easy too. I myself don't like macina as there is dependency of additional lib (which is not needed for) It could be easy done with indexed_search i think, no big deal, and a good idea because most sites use a general searchbox on all pages vg Steffen From gaumondpatrick-s-p-a-m at hotmail-sp-a-m.com Wed Sep 10 15:37:54 2008 From: gaumondpatrick-s-p-a-m at hotmail-sp-a-m.com (Patrick Gaumond) Date: Wed, 10 Sep 2008 09:37:54 -0400 Subject: [TYPO3-dev] indexed_search template In-Reply-To: References: Message-ID: Steffen Kamper wrote: > this should be easy too. I myself don't like macina as there is > dependency of additional lib (which is not needed for) > > It could be easy done with indexed_search i think, no big deal, and a > good idea because most sites use a general searchbox on all pages And while there, look for the systematic addition of the "L=" parameter which is not needed all the time... Should I write "Thanks in advance ?" :) Patrick From typo3 at t3node.com Wed Sep 10 15:43:01 2008 From: typo3 at t3node.com (=?ISO-8859-15?Q?Steffen_M=FCller?=) Date: Wed, 10 Sep 2008 15:43:01 +0200 Subject: [TYPO3-dev] indexed_search template In-Reply-To: References: Message-ID: Hi. Patrick Gaumond wrote: > Steffen Kamper wrote: >> >> It could be easy done with indexed_search i think, no big deal, and a >> good idea because most sites use a general searchbox on all pages > > And while there, look for the systematic addition of the "L=" parameter > which is not needed all the time... > As indexed_search is on the 4.3 wishlist, I suggest to open a brainstorming thread in typo3-project-4-3. I also have some ideas. -- cheers, Steffen From info at sk-typo3.de Wed Sep 10 15:55:51 2008 From: info at sk-typo3.de (Steffen Kamper) Date: Wed, 10 Sep 2008 15:55:51 +0200 Subject: [TYPO3-dev] indexed_search template In-Reply-To: References: Message-ID: Steffen M?ller schrieb: > Hi. > > Patrick Gaumond wrote: >> Steffen Kamper wrote: >>> >>> It could be easy done with indexed_search i think, no big deal, and a >>> good idea because most sites use a general searchbox on all pages >> >> And while there, look for the systematic addition of the "L=" >> parameter which is not needed all the time... >> > > As indexed_search is on the 4.3 wishlist, I suggest to open a > brainstorming thread in typo3-project-4-3. > I also have some ideas. > "Dein Wunsch ist mir Befehl" :-) Thread is started. vg Steffen From masi-no at spam-typo3.org Wed Sep 10 16:18:08 2008 From: masi-no at spam-typo3.org (Martin Kutschker) Date: Wed, 10 Sep 2008 16:18:08 +0200 Subject: [TYPO3-dev] indexed_search template In-Reply-To: References: Message-ID: Patrick Gaumond schrieb: > Steffen Kamper wrote: > >> Any comments or addition, do you like to have such in a patch? > > Well... Not "this" patch but while in Index Search mode, why not > integrate macina_searchbox into it... ;) > > http://typo3.org/extensions/repository/view/macina_searchbox/2.2.0/ > 32k downloads... What is exactly the purpose of it? Many use it, but I can do the same with a simple TEXT cObject. Masi From info at sk-typo3.de Wed Sep 10 16:21:34 2008 From: info at sk-typo3.de (Steffen Kamper) Date: Wed, 10 Sep 2008 16:21:34 +0200 Subject: [TYPO3-dev] indexed_search template In-Reply-To: References: Message-ID: Martin Kutschker schrieb: > Patrick Gaumond schrieb: >> Steffen Kamper wrote: >> >>> Any comments or addition, do you like to have such in a patch? >> Well... Not "this" patch but while in Index Search mode, why not >> integrate macina_searchbox into it... ;) >> >> http://typo3.org/extensions/repository/view/macina_searchbox/2.2.0/ >> 32k downloads... > > What is exactly the purpose of it? Many use it, but I can do the same > with a simple TEXT cObject. > > Masi Hi Masi, sure, it can be build with simple TEXT-Object. But you have to write all the code of the form. would be nice to use something like 10 < plugin.tx_indexedsearch 10.code = searchBox 10.resultPid = 213 vg Steffen From dmitry at typo3.org Wed Sep 10 17:20:48 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Wed, 10 Sep 2008 18:20:48 +0300 Subject: [TYPO3-dev] indexed_search template In-Reply-To: References: Message-ID: Hi! Patrick Gaumond wrote: > Well... Not "this" patch but while in Index Search mode, why not > integrate macina_searchbox into it... ;) Well, this searchbox just produces the input field and search button. Isn't it possible with the indexed search? I admit I do not normally use the indexed search, this is why I ask. If such functionality is not there, it should be added. It is trivial task. -- Dmitry Dulepov TYPO3 Core team My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book In the blog: http://typo3bloke.net/pages/book-reviews/presentation-zen-by-garr-reynolds/ From info at sk-typo3.de Wed Sep 10 17:26:40 2008 From: info at sk-typo3.de (Steffen Kamper) Date: Wed, 10 Sep 2008 17:26:40 +0200 Subject: [TYPO3-dev] indexed_search template In-Reply-To: References: Message-ID: Dmitry Dulepov [typo3] schrieb: > Hi! > > Patrick Gaumond wrote: >> Well... Not "this" patch but while in Index Search mode, why not >> integrate macina_searchbox into it... ;) > > Well, this searchbox just produces the input field and search button. > Isn't it possible with the indexed search? I admit I do not normally use > the indexed search, this is why I ask. If such functionality is not > there, it should be added. It is trivial task. > Hi Dmitry, it wasn't possible, this is the reason for an ext like macina_searchbox. I did it now, see the thread in TYPO3-project-4-3 And, sure, solution is "trivial" :-) vg Steffen From masi-no at spam-typo3.org Wed Sep 10 18:02:21 2008 From: masi-no at spam-typo3.org (Martin Kutschker) Date: Wed, 10 Sep 2008 18:02:21 +0200 Subject: [TYPO3-dev] indexed_search template In-Reply-To: References: Message-ID: Steffen Kamper schrieb: > Martin Kutschker schrieb: >> Patrick Gaumond schrieb: >>> Steffen Kamper wrote: >>> >>>> Any comments or addition, do you like to have such in a patch? >>> Well... Not "this" patch but while in Index Search mode, why not >>> integrate macina_searchbox into it... ;) >>> >>> http://typo3.org/extensions/repository/view/macina_searchbox/2.2.0/ >>> 32k downloads... >> >> What is exactly the purpose of it? Many use it, but I can do the same >> with a simple TEXT cObject. >> >> Masi > > Hi Masi, > > sure, it can be build with simple TEXT-Object. But you have to write all > the code of the form. > > would be nice to use something like > > 10 < plugin.tx_indexedsearch > 10.code = searchBox > 10.resultPid = 213 But the main plugin is a USER_INT. This should definitively a USER. Please man it plugin.tx_indexedsearch_box or something like that. It should of course be plugin.tx_indexedsearch_pi2 but that makes no sense without a pi1. Masi From masi-no at spam-typo3.org Wed Sep 10 18:10:07 2008 From: masi-no at spam-typo3.org (Martin Kutschker) Date: Wed, 10 Sep 2008 18:10:07 +0200 Subject: [TYPO3-dev] typoscript codecompletion In-Reply-To: References: Message-ID: Stephan Petzl schrieb: > Dmitry Dulepov [typo3] schrieb: >> Hi! >> >> Stephan Petzl wrote: >>> later i developed a plattform for collaborative work on the tsref: >>> >>> http://tswiki.net >> >> Why not use http://wiki.typo3.org/? >> > cause i dont think its possible to export a xml-definition out of > wiki.typo3.org, > > its all about providing a formal specification of the typoscript > language.. But haven't the various TS editors (extensions, not authors) already done exactly that? Masi From info at sk-typo3.de Wed Sep 10 18:17:42 2008 From: info at sk-typo3.de (Steffen Kamper) Date: Wed, 10 Sep 2008 18:17:42 +0200 Subject: [TYPO3-dev] indexed_search template In-Reply-To: References: Message-ID: Martin Kutschker schrieb: > > But the main plugin is a USER_INT. This should definitively a USER. > Please man it plugin.tx_indexedsearch_box or something like that. It > should of course be plugin.tx_indexedsearch_pi2 but that makes no sense > without a pi1. > Hi Masi, good point! May be we can do it without an extra plugin like *USER-on-the-fly* IIRC there was a patch from Dmitry with this issue vg Steffen From info at sk-typo3.de Wed Sep 10 18:35:51 2008 From: info at sk-typo3.de (Steffen Kamper) Date: Wed, 10 Sep 2008 18:35:51 +0200 Subject: [TYPO3-dev] indexed_search template In-Reply-To: References: Message-ID: Martin Kutschker schrieb: > But the main plugin is a USER_INT. This should definitively a USER. > Please man it plugin.tx_indexedsearch_box or something like that. It > should of course be plugin.tx_indexedsearch_pi2 but that makes no sense > without a pi1. > or is it possible simply doing this: 10 < plugin.tx_indexedsearch 10 = USER 10.code = searchBox 10.resultPid = 213 vg Steffen From masi-no at spam-typo3.org Wed Sep 10 19:47:47 2008 From: masi-no at spam-typo3.org (Martin Kutschker) Date: Wed, 10 Sep 2008 19:47:47 +0200 Subject: [TYPO3-dev] indexed_search template In-Reply-To: References: Message-ID: Steffen Kamper schrieb: > Martin Kutschker schrieb: >> But the main plugin is a USER_INT. This should definitively a USER. >> Please man it plugin.tx_indexedsearch_box or something like that. It >> should of course be plugin.tx_indexedsearch_pi2 but that makes no sense >> without a pi1. >> > > or is it possible simply doing this: > > 10 < plugin.tx_indexedsearch > 10 = USER > 10.code = searchBox > 10.resultPid = 213 Argh, no CODE and tricks please! And why fiddle with the main plugin? I don't see why you're trying to squeeze the box into the main plugin. A second PI in the ext won't hurt and you don't have to load the big class on each page the box is rendered. Masi From fsuter at cobweb.ch Wed Sep 10 20:47:38 2008 From: fsuter at cobweb.ch (Francois Suter) Date: Wed, 10 Sep 2008 20:47:38 +0200 Subject: [TYPO3-dev] indexed_search template In-Reply-To: References: Message-ID: Hi, > And why fiddle with the main plugin? I don't see why you're trying to > squeeze the box into the main plugin. > > A second PI in the ext won't hurt and you don't have to load the big > class on each page the box is rendered. I fully agree with that! Cheers -- Francois Suter Cobweb Development Sarl - http://www.cobweb.ch From info at sk-typo3.de Wed Sep 10 20:56:59 2008 From: info at sk-typo3.de (Steffen Kamper) Date: Wed, 10 Sep 2008 20:56:59 +0200 Subject: [TYPO3-dev] indexed_search template In-Reply-To: References: Message-ID: Francois Suter schrieb: > Hi, > >> And why fiddle with the main plugin? I don't see why you're trying to >> squeeze the box into the main plugin. >> >> A second PI in the ext won't hurt and you don't have to load the big >> class on each page the box is rendered. > > I fully agree with that! > > Cheers > i know what you mean :-) But it's not necessary. The main function only renders the form and return, so it's exactly the same as it would be in second plugin. Configuration read is needed for the right values. So the only difference is the USER / USER_INT vg Steffen From dmitry at typo3.org Wed Sep 10 21:28:02 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Wed, 10 Sep 2008 22:28:02 +0300 Subject: [TYPO3-dev] indexed_search template In-Reply-To: References: Message-ID: Hi! Steffen Kamper wrote: > May be we can do it without an extra plugin like *USER-on-the-fly* > IIRC there was a patch from Dmitry with this issue ...which still lacks one +1 from a core dev... -- Dmitry Dulepov TYPO3 Core team My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book In the blog: http://typo3bloke.net/pages/book-reviews/presentation-zen-by-garr-reynolds/ From dmitry at typo3.org Wed Sep 10 21:29:28 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Wed, 10 Sep 2008 22:29:28 +0300 Subject: [TYPO3-dev] indexed_search template In-Reply-To: References: Message-ID: Hi! Steffen Kamper wrote: > But it's not necessary. The main function only renders the form and > return, so it's exactly the same as it would be in second plugin. > Configuration read is needed for the right values. > > So the only difference is the USER / USER_INT This is not clean, it is hacking... Better two plugins: one is cached (form), the other is not. However if form is cached, than it is difficult to put searched word in it... -- Dmitry Dulepov TYPO3 Core team My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book In the blog: http://typo3bloke.net/pages/book-reviews/presentation-zen-by-garr-reynolds/ From info at sk-typo3.de Wed Sep 10 21:45:02 2008 From: info at sk-typo3.de (Steffen Kamper) Date: Wed, 10 Sep 2008 21:45:02 +0200 Subject: [TYPO3-dev] indexed_search template In-Reply-To: References: Message-ID: Dmitry Dulepov [typo3] schrieb: > Hi! > > Steffen Kamper wrote: >> But it's not necessary. The main function only renders the form and >> return, so it's exactly the same as it would be in second plugin. >> Configuration read is needed for the right values. >> >> So the only difference is the USER / USER_INT > > This is not clean, it is hacking... Better two plugins: one is cached > (form), the other is not. However if form is cached, than it is > difficult to put searched word in it... > Hi, i do not agree with "hacking" only if this mean that original code was changed :-) Maybe i show what i mean: I changed output of indexed search to this in main function: http://pastebin.com/m37341719 so there i no overhead with render form, you don't agree? vg Steffen From typo3 at jhpc.de Wed Sep 10 23:41:12 2008 From: typo3 at jhpc.de (Helmut Hummel) Date: Wed, 10 Sep 2008 23:41:12 +0200 Subject: [TYPO3-dev] TYPO3 Bug Day coming up this Friday, August 29th In-Reply-To: References: Message-ID: Hi! Dmitry Dulepov [typo3] schrieb: > > Think, would Linux kernel people allow any Linux developer to commit to > the Linux kernel? What will happen then? Linux developer use GIT instead of SVN exactly because of (one) the problem(s) discussed here (many developers, but only a few having commit rights). I found Linus talk about GIT quite inspiring: http://www.youtube.com/watch?v=4XpnKHJAok8 Of course much (if not almost all) well known procedures how to come to a new release version of TYPO3 would need an overhaul. Kind regards Helmut (not having a clue how to solve this "well known problem" for TYPO3) From masi-no at spam-typo3.org Thu Sep 11 08:53:55 2008 From: masi-no at spam-typo3.org (Martin Kutschker) Date: Thu, 11 Sep 2008 08:53:55 +0200 Subject: [TYPO3-dev] TYPO3 Bug Day coming up this Friday, August 29th In-Reply-To: References: Message-ID: Helmut Hummel schrieb: > Hi! > > Dmitry Dulepov [typo3] schrieb: >> >> Think, would Linux kernel people allow any Linux developer to commit >> to the Linux kernel? What will happen then? > > Linux developer use GIT instead of SVN exactly because of (one) the > problem(s) discussed here (many developers, but only a few having commit > rights). I had only a quick glance on GIT's homepage. None of the key features (in comparsion to other repositories) seemed to provide a solution for the workflow problems of the 4.x branch. Have you any ideas what could be done better if we used GIT instead of SVN? * Masi * real question, not a rhetoric remark From spetzl at gmx.at Thu Sep 11 09:27:33 2008 From: spetzl at gmx.at (Stephan Petzl) Date: Thu, 11 Sep 2008 09:27:33 +0200 Subject: [TYPO3-dev] typoscript codecompletion In-Reply-To: References: Message-ID: Martin Kutschker schrieb: > Stephan Petzl schrieb: >> Dmitry Dulepov [typo3] schrieb: >>> Hi! >>> >>> Stephan Petzl wrote: >>>> later i developed a plattform for collaborative work on the tsref: >>>> >>>> http://tswiki.net >>> Why not use http://wiki.typo3.org/? >>> >> cause i dont think its possible to export a xml-definition out of >> wiki.typo3.org, >> >> its all about providing a formal specification of the typoscript >> language.. > > But haven't the various TS editors (extensions, not authors) already > done exactly that? > > Masi don't know if you are relating to my last sentence or to the typoscript codecompletion feature. but in both cases i have to say: no they haven't: our codecompletion is fully context sensitive and i would say this is completely new. (i don't know exactly how good bernhard kraft's editor worked but i assume that there was something missing, since it never got used by a broader community) BR stef From masi-no at spam-typo3.org Thu Sep 11 11:07:40 2008 From: masi-no at spam-typo3.org (Martin Kutschker) Date: Thu, 11 Sep 2008 11:07:40 +0200 Subject: [TYPO3-dev] typoscript codecompletion In-Reply-To: References: Message-ID: Stephan Petzl schrieb: > Martin Kutschker schrieb: >> Stephan Petzl schrieb: >>> Dmitry Dulepov [typo3] schrieb: >>>> Hi! >>>> >>>> Stephan Petzl wrote: >>>>> later i developed a plattform for collaborative work on the tsref: >>>>> >>>>> http://tswiki.net >>>> Why not use http://wiki.typo3.org/? >>>> >>> cause i dont think its possible to export a xml-definition out of >>> wiki.typo3.org, >>> >>> its all about providing a formal specification of the typoscript >>> language.. >> >> But haven't the various TS editors (extensions, not authors) already >> done exactly that? >> >> Masi > > don't know if you are relating to my last sentence or to the typoscript > codecompletion feature. > but in both cases i have to say: no they haven't: > > our codecompletion is fully context sensitive and i would say this is > completely new. (i don't know exactly how good bernhard kraft's editor > worked but i assume that there was something missing, since it never got > used by a broader community) I wasn't talking about the code completition which is to my knowledge indeed new. I was referring to the TS syntax/property definition. I thought that the other editors would have needed this and therefore had this info available. Masi From dmitry at typo3.org Thu Sep 11 11:37:37 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Thu, 11 Sep 2008 12:37:37 +0300 Subject: [TYPO3-dev] indexed_search template In-Reply-To: References: Message-ID: Hi! Steffen Kamper wrote: > i do not agree with "hacking" only if this mean that original code was > changed :-) No, no, I mean forcing user to set USER or USER_INT depending on the code :) Many will never understand it and therefore always do errors. > Maybe i show what i mean: > I changed output of indexed search to this in main function: > > http://pastebin.com/m37341719 > > so there i no overhead with render form, you don't agree? No, users still will have to do more than necessary. -- Dmitry Dulepov TYPO3 Core team My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book In the blog: http://typo3bloke.net/pages/book-reviews/presentation-zen-by-garr-reynolds/ From info at sk-typo3.de Thu Sep 11 11:45:41 2008 From: info at sk-typo3.de (Steffen Kamper) Date: Thu, 11 Sep 2008 11:45:41 +0200 Subject: [TYPO3-dev] indexed_search template In-Reply-To: References: Message-ID: Hi, Dmitry Dulepov [typo3] schrieb: > Hi! > > Steffen Kamper wrote: >> i do not agree with "hacking" only if this mean that original code was >> changed :-) > > No, no, I mean forcing user to set USER or USER_INT depending on the > code :) Many will never understand it and therefore always do errors. > therefore i would like your on-the-fly-mechanism, though i doubt why searchform should be USER. I myself always use USER_INT for forms. >> Maybe i show what i mean: >> I changed output of indexed search to this in main function: >> >> http://pastebin.com/m37341719 >> >> so there i no overhead with render form, you don't agree? > > No, users still will have to do more than necessary. > i will try to make it as easy as possible. So maybe a second entry in plugin selectbox, but still use one plugin with different configurations. vg Steffen From info at sk-typo3.de Thu Sep 11 12:34:11 2008 From: info at sk-typo3.de (Steffen Kamper) Date: Thu, 11 Sep 2008 12:34:11 +0200 Subject: [TYPO3-dev] indexed_search template In-Reply-To: References: Message-ID: Hi, i got it now, registered a new plugin "Searchbox for Indexed search" using same classfile but with different configuration, also with displayed pages for selecting the target page. This was done by adding a few lines in ext_tables t3lib_extMgm::addPlugin(Array('LLL:EXT:indexed_search/locallang.php:mod_indexed_search_box', $_EXTKEY . '_box')); $TCA['tt_content']['types']['list']['subtypes_excludelist'][$_EXTKEY . '_box'] = 'layout,select_key,recursive'; in localconf t3lib_extMgm::addPItoST43($_EXTKEY . '_box'); and in ext_typoscript_setup.txt plugin.tx_indexedsearchbox < plugin.tx_indexedsearch plugin.tx_indexedsearchbox.code = form so it's very easy for the users to use that. vg Steffen From masi-no at spam-typo3.org Thu Sep 11 14:57:23 2008 From: masi-no at spam-typo3.org (Martin Kutschker) Date: Thu, 11 Sep 2008 14:57:23 +0200 Subject: [TYPO3-dev] indexed_search template In-Reply-To: References: Message-ID: Steffen Kamper schrieb: > > I myself always use USER_INT for forms. Of course I do when the response to the form is to be displayed on the same page. This is not the case for the search box, which IMHO can be rendered with pure TypoScript. Masi From phlogsmailinglists at gmail.com Thu Sep 11 17:49:05 2008 From: phlogsmailinglists at gmail.com (Cyrill Helg) Date: Thu, 11 Sep 2008 17:49:05 +0200 Subject: [TYPO3-dev] manually clear cache of my extension Message-ID: Hi there How can I manually clear the cache of my extension? So that the cHash becomes outdated and the page is recreated? I need this because the content of the extension is updated by an import function which can be run as a cronjob. Cyrill From spetzl at gmx.at Thu Sep 11 18:52:32 2008 From: spetzl at gmx.at (Stephan Petzl) Date: Thu, 11 Sep 2008 18:52:32 +0200 Subject: [TYPO3-dev] typoscript codecompletion In-Reply-To: References: Message-ID: Martin Kutschker schrieb: > Stephan Petzl schrieb: >> Martin Kutschker schrieb: >>> Stephan Petzl schrieb: >>>> Dmitry Dulepov [typo3] schrieb: >>>>> Hi! >>>>> >>>>> Stephan Petzl wrote: >>>>>> later i developed a plattform for collaborative work on the tsref: >>>>>> >>>>>> http://tswiki.net >>>>> Why not use http://wiki.typo3.org/? >>>>> >>>> cause i dont think its possible to export a xml-definition out of >>>> wiki.typo3.org, >>>> >>>> its all about providing a formal specification of the typoscript >>>> language.. >>> But haven't the various TS editors (extensions, not authors) already >>> done exactly that? >>> >>> Masi >> don't know if you are relating to my last sentence or to the typoscript >> codecompletion feature. >> but in both cases i have to say: no they haven't: >> >> our codecompletion is fully context sensitive and i would say this is >> completely new. (i don't know exactly how good bernhard kraft's editor >> worked but i assume that there was something missing, since it never got >> used by a broader community) > > I wasn't talking about the code completition which is to my knowledge > indeed new. I was referring to the TS syntax/property definition. I > thought that the other editors would have needed this and therefore had > this info available. > > Masi ok, i think i get you... no i dont think so, other implementations just use a list of special property- and type names. the only structured datasource which i found was a specification in php done by Bernhard Kraft. I wrote a php2xml method for the conversion and used this as initial tsref. From typo3-german-02 at oliverklee.de Thu Sep 11 19:01:21 2008 From: typo3-german-02 at oliverklee.de (Oliver Klee) Date: Thu, 11 Sep 2008 19:01:21 +0200 Subject: [TYPO3-dev] manually clear cache of my extension In-Reply-To: References: Message-ID: Hi Cyrill, Cyrill Helg schrieb: > How can I manually clear the cache of my extension? So that the cHash becomes > outdated and the page is recreated? I need this because the content of the > extension is updated by an import function which can be run as a cronjob. I do it like this for the "realty" extension: public static function clearFrontEndCacheForRealtyPages() { $dbResult = $GLOBALS['TYPO3_DB']->exec_SELECTquery( 'pid', 'tt_content', 'list_type="realty_pi1"' ); if (!$dbResult) { throw new Exception(DATABASE_QUERY_ERROR); } $pageIds = array(); while ($row = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($dbResult)) { $pageIds[] = $row['pid']; } tslib_fe::clearPageCacheContent_pidList(implode(',', $pageIds)); } Oliver From dmitry at typo3.org Thu Sep 11 21:29:37 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Thu, 11 Sep 2008 22:29:37 +0300 Subject: [TYPO3-dev] indexed_search template In-Reply-To: References: Message-ID: Hi! Steffen Kamper wrote: > therefore i would like your on-the-fly-mechanism, though i doubt why > searchform should be USER. I myself always use USER_INT for forms. Actually I think both search form and main plugin should be USER_INT. But some time ago Ingo gave me a good hint: put such things in separate plugins. A plugin do not have to be that large... -- Dmitry Dulepov TYPO3 Core team My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book In the blog: http://typo3bloke.net/pages/book-reviews/presentation-zen-by-garr-reynolds/ From info at sk-typo3.de Fri Sep 12 12:59:02 2008 From: info at sk-typo3.de (Steffen Kamper) Date: Fri, 12 Sep 2008 12:59:02 +0200 Subject: [TYPO3-dev] output ends up in white page Message-ID: Hi, this is a wellknown situation, but many users don't know what to do if they end up in white page. It's seen in the forums or other lists that many users ask about what to do. What can we do to enhance the situation? Of coarse some announcements could help, that displayErrors has to be activated to see what goes wrong, but the problem is to reach most users, so where is the right place for doing this? May be on typo3.org/development a FAQ has to be created with the most well known errors while developing Further we could enhance the error handling. This was discussed in some threads. May be with displayErrors=0 the errors could be fetched and the standard TYPO3-errorbox cold tell that there occured a php error so the page could not be displayed, enable displayErrors to see more details. vg Steffen From dmitry at typo3.org Fri Sep 12 13:40:17 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Fri, 12 Sep 2008 14:40:17 +0300 Subject: [TYPO3-dev] output ends up in white page In-Reply-To: References: Message-ID: Hi! Steffen Kamper wrote: > Further we could enhance the error handling. This was discussed in some > threads. May be with displayErrors=0 the errors could be fetched and the > standard TYPO3-errorbox cold tell that there occured a php error so the > page could not be displayed, enable displayErrors to see more details. "If you get engine error, unscrew four nuts on the engine top. Next pull out four cylinders...". No one would want this in the car manual. "Consult your dealer" is the right thing in this case. Another error message of the same inappropriate technical style presented to the user: http://tamba2.org.uk/pix/2007/awindowserror.png * * * I think these block screen situations are rare. May be some kind of error message should be shown. But I am definitely against anything technical (like "enable displayErrors"). People should ask their support company for help. And company should be educated enough to know what to do. -- Dmitry Dulepov TYPO3 Core team My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book In the blog: http://typo3bloke.net/pages/book-reviews/presentation-zen-by-garr-reynolds/ From franz at fholzinger.com Fri Sep 12 13:49:02 2008 From: franz at fholzinger.com (Franz Holzinger) Date: Fri, 12 Sep 2008 13:49:02 +0200 Subject: [TYPO3-dev] output ends up in white page In-Reply-To: References: Message-ID: Hello Steffen, > this is a wellknown situation, but many users don't know what to do if > they end up in white page. It would be fine to send an email to the admin in such a case which contains more details: The extension which has caused this error, the SQL message which did not execute. There is already an extension myDashboard. It would be fine to add a new entry there with the latest 20 errors and details which did happen in FE or BE. A TYPO3 wide error number and error indices (error parameters, back trace) could help to find the location and reason for an error. Each TYPO3 function should add a global error number in error case and add error indices with more details. The calling function will then also add an indice. The last caller will make an entry. TYPO3 shall send the error infos as an email to the admin with suggestions how to solve this issue. - Franz From info at sk-typo3.de Fri Sep 12 13:57:32 2008 From: info at sk-typo3.de (Steffen Kamper) Date: Fri, 12 Sep 2008 13:57:32 +0200 Subject: [TYPO3-dev] output ends up in white page In-Reply-To: References: Message-ID: Franz Holzinger schrieb: > Hello Steffen, > >> this is a wellknown situation, but many users don't know what to do if >> they end up in white page. > > It would be fine to send an email to the admin in such a case which > contains more details: > The extension which has caused this error, the SQL message which did not > execute. > There is already an extension myDashboard. It would be fine to add a new > entry there with the latest 20 errors and details which did happen in FE > or BE. > A TYPO3 wide error number and error indices (error parameters, back > trace) could help to find the location and reason for an error. Each > TYPO3 function should add a global error number in error case and add > error indices with more details. The calling function will then also add > an indice. The last caller will make an entry. > TYPO3 shall send the error infos as an email to the admin with > suggestions how to solve this issue. > > - Franz Hi Franz, good idea. But this could end up in hundred of mails. Think about this happens at the Weekend and many users call the page. We already have the devlog extension which saves the errors in DB. Maybe an email has to be send if first devlog entry happens on a page. My first intention also was for the user, maybe page_unavailableHandler should be called in such case? vg Steffen From info at sk-typo3.de Fri Sep 12 14:04:07 2008 From: info at sk-typo3.de (Steffen Kamper) Date: Fri, 12 Sep 2008 14:04:07 +0200 Subject: [TYPO3-dev] output ends up in white page In-Reply-To: References: Message-ID: Hi Dmitry, Dmitry Dulepov [typo3] schrieb: > Hi! > > "If you get engine error, unscrew four nuts on the engine top. Next pull > out four cylinders...". No one would want this in the car manual. > "Consult your dealer" is the right thing in this case. > > Another error message of the same inappropriate technical style > presented to the user: > http://tamba2.org.uk/pix/2007/awindowserror.png > > * * * > > I think these block screen situations are rare. May be some kind of > error message should be shown. But I am definitely against anything > technical (like "enable displayErrors"). People should ask their support > company for help. And company should be educated enough to know what to do. > :-) On the other hand i would like to have some details (not how to solve ...) instead of "Contact your Admin". BHut you're right not to overload it with technical details. Showing up that an "internal error" oocured will help people to know that something got wrong and not that the site disappeared or something else. The MS-errors are definitive the worst ones i ever saw. Also the nice blue screen with the stack info which helps noone. vg Steffen From xoonsji02 at sneakemail.com Fri Sep 12 17:56:31 2008 From: xoonsji02 at sneakemail.com (bernd wilke) Date: Fri, 12 Sep 2008 15:56:31 +0000 (UTC) Subject: [TYPO3-dev] output ends up in white page References: Message-ID: on Fri, 12 Sep 2008 12:59:02 +0200, Steffen Kamper wrote: > Hi, > > this is a wellknown situation, but many users don't know what to do if > they end up in white page. > > It's seen in the forums or other lists that many users ask about what to > do. > > What can we do to enhance the situation? Of coarse some announcements > could help, that displayErrors has to be activated to see what goes > wrong, but the problem is to reach most users, so where is the right > place for doing this? May be on typo3.org/development a FAQ has to be > created with the most well known errors while developing > > Further we could enhance the error handling. This was discussed in some > threads. May be with displayErrors=0 the errors could be fetched and the > standard TYPO3-errorbox cold tell that there occured a php error so the > page could not be displayed, enable displayErrors to see more details. I doubt that you can catch all php-errors and present an error-page. most blank pages are php-errors, so no TYPO3 output can be done at the end. I think blank page is ok for a normal visitor (instead of hints about errors in configuration), but normaly an unexperienced TYPO3-admin doesn't know what to do and asks in forums. maybe it would be helpfull to automaticly increase php-errorlogging on screen while a BE-User is logged in. as the logging can be configured in install-tool it should be possible to increase it on BE-login. at least if the BE-user has admin-level. bernd -- http://www.pi-phi.de/t3v4/cheatsheet.html From masi-no at spam-typo3.org Fri Sep 12 18:29:50 2008 From: masi-no at spam-typo3.org (Martin Kutschker) Date: Fri, 12 Sep 2008 18:29:50 +0200 Subject: [TYPO3-dev] output ends up in white page In-Reply-To: References: Message-ID: bernd wilke schrieb: > > I think blank page is ok for a normal visitor (instead of hints about > errors in configuration), No hints for end users, especially not some that may reveal configuration details. > maybe it would be helpfull to automaticly increase php-errorlogging on > screen while a BE-User is logged in. > as the logging can be configured in install-tool it should be possible to > increase it on BE-login. at least if the BE-user has admin-level. Interesting idea. Other situations where a more detailed error output is warranted if the request came from a certain IP range. Like with editors/admins, we could have a standard and a developer range. Admins and developers would get more info than the normal users. Masi From fsuter at cobweb.ch Fri Sep 12 20:05:34 2008 From: fsuter at cobweb.ch (Francois Suter) Date: Fri, 12 Sep 2008 20:05:34 +0200 Subject: [TYPO3-dev] output ends up in white page In-Reply-To: References: Message-ID: Hi, >> maybe it would be helpfull to automaticly increase php-errorlogging on >> screen while a BE-User is logged in. >> as the logging can be configured in install-tool it should be possible to >> increase it on BE-login. at least if the BE-user has admin-level. > > Interesting idea. Other situations where a more detailed error output is > warranted if the request came from a certain IP range. Like with > editors/admins, we could have a standard and a developer range. Indeed, a very interesting idea. Cheers -- Francois Suter Cobweb Development Sarl - http://www.cobweb.ch From info at sk-typo3.de Fri Sep 12 20:07:54 2008 From: info at sk-typo3.de (Steffen Kamper) Date: Fri, 12 Sep 2008 20:07:54 +0200 Subject: [TYPO3-dev] output ends up in white page In-Reply-To: References: Message-ID: Francois Suter schrieb: > Hi, > >>> maybe it would be helpfull to automaticly increase php-errorlogging >>> on screen while a BE-User is logged in. >>> as the logging can be configured in install-tool it should be >>> possible to increase it on BE-login. at least if the BE-user has >>> admin-level. >> >> Interesting idea. Other situations where a more detailed error output is >> warranted if the request came from a certain IP range. Like with >> editors/admins, we could have a standard and a developer range. > > Indeed, a very interesting idea. > > Cheers > that's why i love such discussions. There are so much new ideas and aspects which one can't think of! vg Steffen From dmitry at typo3.org Fri Sep 12 21:15:30 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Fri, 12 Sep 2008 22:15:30 +0300 Subject: [TYPO3-dev] output ends up in white page In-Reply-To: References: Message-ID: Hi! Steffen Kamper wrote: > My first intention also was for the user, maybe page_unavailableHandler > should be called in such case? And what if ends up with a error? ;) Just joking, sorry :) -- Dmitry Dulepov TYPO3 Core team My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book In the blog: http://typo3bloke.net/pages/book-reviews/presentation-zen-by-garr-reynolds/ From dmitry at typo3.org Fri Sep 12 21:17:39 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Fri, 12 Sep 2008 22:17:39 +0300 Subject: [TYPO3-dev] output ends up in white page In-Reply-To: References: Message-ID: Hi! bernd wilke wrote: > maybe it would be helpfull to automaticly increase php-errorlogging on > screen while a BE-User is logged in. > as the logging can be configured in install-tool it should be possible to > increase it on BE-login. at least if the BE-user has admin-level. +1. Easy to implement and great idea. I would love to have error reporting always enabled when admin user is logged in. If PHP error or warning happens, admin should know about it immediately. But normally he is unaware about it. -- Dmitry Dulepov TYPO3 Core team My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book In the blog: http://typo3bloke.net/pages/book-reviews/presentation-zen-by-garr-reynolds/ From info at sk-typo3.de Fri Sep 12 21:20:30 2008 From: info at sk-typo3.de (Steffen Kamper) Date: Fri, 12 Sep 2008 21:20:30 +0200 Subject: [TYPO3-dev] output ends up in white page In-Reply-To: References: Message-ID: Hi Dmitry, Dmitry Dulepov [typo3] schrieb: > Hi! > > Steffen Kamper wrote: >> My first intention also was for the user, maybe >> page_unavailableHandler should be called in such case? > > And what if ends up with a error? ;) Just joking, sorry :) > then display a nice animated loop :-) Don't say sorry, humor is needed to solve problems too ;-) vg Steffen From phlogsmailinglists at gmail.com Sat Sep 13 00:01:24 2008 From: phlogsmailinglists at gmail.com (Cyrill Helg) Date: Sat, 13 Sep 2008 00:01:24 +0200 Subject: [TYPO3-dev] manually clear cache of my extension In-Reply-To: References: Message-ID: Am Thursday 11 September 2008 schrieb Oliver Klee: > Hi Cyrill, > > Cyrill Helg schrieb: > > How can I manually clear the cache of my extension? So that the cHash > > becomes outdated and the page is recreated? I need this because the > > content of the extension is updated by an import function which can be > > run as a cronjob. > You solution is not enough as I read here: http://www.sk-typo3.de/Cache- loeschen-aus-der-Extension.213.0.html This code I use now is a little better way: $dbResult = $GLOBALS['TYPO3_DB']->exec_SELECTquery( 'pid', 'tt_content', 'list_type="visualizexml_pi1"' ); if (!$dbResult) { return; } $pageIds = array(); while ($row = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($dbResult)) { $pageIds[] = $row['pid']; } $tce = t3lib_div::makeInstance('t3lib_TCEmain'); foreach (array_unique($pageIds) as $pid) { $tce->clear_cacheCmd($pid); } Thanks Cyrill > I do it like this for the "realty" extension: > > public static function clearFrontEndCacheForRealtyPages() { > $dbResult = $GLOBALS['TYPO3_DB']->exec_SELECTquery( > 'pid', 'tt_content', 'list_type="realty_pi1"' > ); > if (!$dbResult) { > throw new Exception(DATABASE_QUERY_ERROR); > } > > $pageIds = array(); > while ($row = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($dbResult)) { > $pageIds[] = $row['pid']; > } > > tslib_fe::clearPageCacheContent_pidList(implode(',', $pageIds)); > } > > > Oliver > _______________________________________________ > TYPO3-dev mailing list > TYPO3-dev at lists.netfielders.de > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev From ingo at typo3.org Sat Sep 13 00:17:38 2008 From: ingo at typo3.org (Ingo Renner) Date: Fri, 12 Sep 2008 17:17:38 -0500 Subject: [TYPO3-dev] output ends up in white page In-Reply-To: References: Message-ID: Franz Holzinger wrote: > A TYPO3 wide error number We actually already started doing this when introducing exceptions with TYPO3 4.2. Every exception has an error number that is unique. It basically is the unix timestamp of the time when that line of the code with the exception was coded... Now what is still missing of course is a error number look up "thing" Ingo -- Ingo Renner TYPO3 Core Developer, Release Manager TYPO3 4.2 From ingo at typo3.org Sat Sep 13 00:20:34 2008 From: ingo at typo3.org (Ingo Renner) Date: Fri, 12 Sep 2008 17:20:34 -0500 Subject: [TYPO3-dev] output ends up in white page In-Reply-To: References: Message-ID: Dmitry Dulepov [typo3] wrote: > I would love to have error reporting always enabled when admin user is > logged in. If PHP error or warning happens, admin should know about it > immediately. But normally he is unaware about it. I'd rather put that in a "debug" extension that enables all kinds of debug switches in TYPO3 when installed. Not all admins are developers that can make use of the error messages and of course not all admins want to see these messages - although they should be interested in them... Ingo -- Ingo Renner TYPO3 Core Developer, Release Manager TYPO3 4.2 From phlogsmailinglists at gmail.com Sat Sep 13 00:21:55 2008 From: phlogsmailinglists at gmail.com (Cyrill Helg) Date: Sat, 13 Sep 2008 00:21:55 +0200 Subject: [TYPO3-dev] charset troubles when inserting data manually into table, how to detect and handle that? Message-ID: Hi there I'm importing data to a table inside TYPO3. I receive the data with a xml file encoded in utf8. When the server/installation is setup to use utf8, there is no problem, but as soon as that is not the case I come into troubles. Of course I can solve this manually with a utf8_decode, but is that a good way? And how would I find out what charset is used in the TYPO3 installtion? Whats the TYPO3 way of doing all that correctly anyway? Thanks a lot for your hints. Cheers Cyrill From info at sk-typo3.de Sat Sep 13 00:54:39 2008 From: info at sk-typo3.de (Steffen Kamper) Date: Sat, 13 Sep 2008 00:54:39 +0200 Subject: [TYPO3-dev] output ends up in white page In-Reply-To: References: Message-ID: Ingo Renner schrieb: > Dmitry Dulepov [typo3] wrote: > >> I would love to have error reporting always enabled when admin user is >> logged in. If PHP error or warning happens, admin should know about it >> immediately. But normally he is unaware about it. > > I'd rather put that in a "debug" extension that enables all kinds of > debug switches in TYPO3 when installed. Not all admins are developers > that can make use of the error messages and of course not all admins > want to see these messages - although they should be interested in them... > > > Ingo > Hi, what's with setting a flag in user settings to enable the error reporting? Sure admin only flag. vg Steffen From info at sk-typo3.de Sat Sep 13 01:03:06 2008 From: info at sk-typo3.de (Steffen Kamper) Date: Sat, 13 Sep 2008 01:03:06 +0200 Subject: [TYPO3-dev] charset troubles when inserting data manually into table, how to detect and handle that? In-Reply-To: References: Message-ID: Cyrill Helg schrieb: > Hi there > > I'm importing data to a table inside TYPO3. I receive the data with a xml file > encoded in utf8. > > When the server/installation is setup to use utf8, there is no problem, but as > soon as that is not the case I come into troubles. Of course I can solve this > manually with a utf8_decode, but is that a good way? And how would I find out > what charset is used in the TYPO3 installtion? Whats the TYPO3 way of doing > all that correctly anyway? > > Thanks a lot for your hints. > > Cheers > Cyrill Hi Cyrill, take a look at t3lib_cs->conv for charset coversion. As this conversion is string based you can use it for inserting the values into table. vg Steffen From phlogsmailinglists at gmail.com Sat Sep 13 01:12:35 2008 From: phlogsmailinglists at gmail.com (Cyrill Helg) Date: Sat, 13 Sep 2008 01:12:35 +0200 Subject: [TYPO3-dev] manually generate realurl cache for extension Message-ID: Hi again Is it possible to let realurl regenerate the cache? So like I could specify some id's and it would recreate the cache? This would be cool because then the links would still work after an update of my extension items table. In fact I think I just would need to regenarte that tx_realurl_uniqalias table. Thanks for any hints. Cyrill From phlogsmailinglists at gmail.com Sat Sep 13 01:13:59 2008 From: phlogsmailinglists at gmail.com (Cyrill Helg) Date: Sat, 13 Sep 2008 01:13:59 +0200 Subject: [TYPO3-dev] charset troubles when inserting data manually into table, how to detect and handle that? In-Reply-To: References: Message-ID: Am Saturday 13 September 2008 schrieb Steffen Kamper: > Cyrill Helg schrieb: > > Hi there > > > > I'm importing data to a table inside TYPO3. I receive the data with a xml > > file encoded in utf8. > > > > When the server/installation is setup to use utf8, there is no problem, > > but as soon as that is not the case I come into troubles. Of course I can > > solve this manually with a utf8_decode, but is that a good way? And how > > would I find out what charset is used in the TYPO3 installtion? Whats the > > TYPO3 way of doing all that correctly anyway? > > > > Thanks a lot for your hints. > > > > Cheers > > Cyrill > > Hi Cyrill, > > take a look at t3lib_cs->conv for charset coversion. As this conversion > is string based you can use it for inserting the values into table. yes, ok. But how can I get the current charset of the installation? It would be nice to just have a function that takes care of it.... > > vg Steffen > _______________________________________________ > TYPO3-dev mailing list > TYPO3-dev at lists.netfielders.de > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev From xoonsji02 at sneakemail.com Sat Sep 13 01:34:18 2008 From: xoonsji02 at sneakemail.com (bernd wilke) Date: Fri, 12 Sep 2008 23:34:18 +0000 (UTC) Subject: [TYPO3-dev] output ends up in white page References: Message-ID: on Sat, 13 Sep 2008 00:54:39 +0200, Steffen Kamper wrote: > Ingo Renner schrieb: >> Dmitry Dulepov [typo3] wrote: >> >>> I would love to have error reporting always enabled when admin user is >>> logged in. If PHP error or warning happens, admin should know about it >>> immediately. But normally he is unaware about it. >> >> I'd rather put that in a "debug" extension that enables all kinds of >> debug switches in TYPO3 when installed. Not all admins are developers >> that can make use of the error messages and of course not all admins >> want to see these messages - although they should be interested in >> them... >> > > what's with setting a flag in user settings to enable the error > reporting? Sure admin only flag. An option to switch off the errors for admins sounds good. But I wish to have full reporting for admins by default. And it might be possible to narrow reporting by IP. but please: by default every admin should see all errors! I'm tired about every newbie (one-man-webmaster-admin-editor) who stumbles upon blank pages and who needs a full walkthru which options are needed to switch on errorreporting to get any information to detect failure. every system with more editors needs a good configuration and rights- management. then all the reporting can be restricted by the experienced admin who manages all this. bernd -- http://www.pi-phi.de/t3v4/cheatsheet.html From jigal at xs4all.nl Sat Sep 13 09:15:06 2008 From: jigal at xs4all.nl (Jigal van Hemert) Date: Sat, 13 Sep 2008 09:15:06 +0200 Subject: [TYPO3-dev] output ends up in white page In-Reply-To: References: Message-ID: bernd wilke wrote: > on Fri, 12 Sep 2008 12:59:02 +0200, Steffen Kamper wrote: >> this is a wellknown situation, but many users don't know what to do if >> they end up in white page. (...) >> Further we could enhance the error handling. This was discussed in some >> threads. May be with displayErrors=0 the errors could be fetched and the >> standard TYPO3-errorbox cold tell that there occured a php error so the >> page could not be displayed, enable displayErrors to see more details. > > I doubt that you can catch all php-errors and present an error-page. > most blank pages are php-errors, so no TYPO3 output can be done at the > end. You can't catch *all* errors (e.g. out of memory :-) ), but the ones you can catch could be logged with enough information for an admin/developer to do something with. > I think blank page is ok for a normal visitor (instead of hints about > errors in configuration), but normaly an unexperienced TYPO3-admin > doesn't know what to do and asks in forums. Blank pages are never okay. People expect response from a website and even a decent looking error message (without technical information) is better than a white page. > maybe it would be helpfull to automaticly increase php-errorlogging on > screen while a BE-User is logged in. > as the logging can be configured in install-tool it should be possible to > increase it on BE-login. at least if the BE-user has admin-level. There is a big problem with increasing error report details only when an admin asks for it: an error often only occurs in specific circumstances. Not knowing the circumstances makes tracking down the cause of the error very complicated. What can I do with an error like: Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /.php on line ? I do no know the query that was involved, I do not know where the request originated from (debug trace), I do not know the URL/parameters/user/session data, etc. I would love to have a detailed error log which may be limited in size (max. 1000 errors, 100 errors, configurable?). Emails of errors can be very handy in certain situations. Maybe emails optional, with configurable minimum error level and configurable minimal time interval between two error emails? (Default: email on, only pretty severe errors (no warnings), minimal 1 hour interval?) A nice BE tool to view the error log, click to view file/line of code, links to PHP/MySQL site, etc. would be great. Also a big help for developers BTW! -- Jigal van Hemert. From info at sk-typo3.de Sat Sep 13 09:19:31 2008 From: info at sk-typo3.de (Steffen Kamper) Date: Sat, 13 Sep 2008 09:19:31 +0200 Subject: [TYPO3-dev] output ends up in white page In-Reply-To: References: Message-ID: Hi, as Ingo told about debug extension it came to my mind that such debug extension could be a sysext, adding a tab to usersettings with all debug output options like error_reporting, devlog etc. Also Admin panel could have quick access for this. vg Steffen bernd wilke schrieb: > on Sat, 13 Sep 2008 00:54:39 +0200, Steffen Kamper wrote: > >> Ingo Renner schrieb: >>> Dmitry Dulepov [typo3] wrote: >>> >>>> I would love to have error reporting always enabled when admin user is >>>> logged in. If PHP error or warning happens, admin should know about it >>>> immediately. But normally he is unaware about it. >>> I'd rather put that in a "debug" extension that enables all kinds of >>> debug switches in TYPO3 when installed. Not all admins are developers >>> that can make use of the error messages and of course not all admins >>> want to see these messages - although they should be interested in >>> them... >>> >> what's with setting a flag in user settings to enable the error >> reporting? Sure admin only flag. > > An option to switch off the errors for admins sounds good. But I wish to > have full reporting for admins by default. And it might be possible to > narrow reporting by IP. > but please: by default every admin should see all errors! > > I'm tired about every newbie (one-man-webmaster-admin-editor) who > stumbles upon blank pages and who needs a full walkthru which options are > needed to switch on errorreporting to get any information to detect > failure. > > every system with more editors needs a good configuration and rights- > management. then all the reporting can be restricted by the experienced > admin who manages all this. > > bernd From info at sk-typo3.de Sat Sep 13 09:31:28 2008 From: info at sk-typo3.de (Steffen Kamper) Date: Sat, 13 Sep 2008 09:31:28 +0200 Subject: [TYPO3-dev] charset troubles when inserting data manually into table, how to detect and handle that? In-Reply-To: References: Message-ID: moin, you have to differ FE and BE BE: $GLOBALS['LANG']->charset FE: $GLOBALS['TSFE'}->defaultCharSet vg Steffen Cyrill Helg schrieb: > Am Saturday 13 September 2008 schrieb Steffen Kamper: >> Cyrill Helg schrieb: >>> Hi there >>> >>> I'm importing data to a table inside TYPO3. I receive the data with a xml >>> file encoded in utf8. >>> >>> When the server/installation is setup to use utf8, there is no problem, >>> but as soon as that is not the case I come into troubles. Of course I can >>> solve this manually with a utf8_decode, but is that a good way? And how >>> would I find out what charset is used in the TYPO3 installtion? Whats the >>> TYPO3 way of doing all that correctly anyway? >>> >>> Thanks a lot for your hints. >>> >>> Cheers >>> Cyrill >> Hi Cyrill, >> >> take a look at t3lib_cs->conv for charset coversion. As this conversion >> is string based you can use it for inserting the values into table. > > yes, ok. But how can I get the current charset of the installation? It would > be nice to just have a function that takes care of it.... > >> vg Steffen >> _______________________________________________ >> TYPO3-dev mailing list >> TYPO3-dev at lists.netfielders.de >> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev > > From typo3 at perseguers.ch Sat Sep 13 12:26:52 2008 From: typo3 at perseguers.ch (Xavier Perseguers) Date: Sat, 13 Sep 2008 12:26:52 +0200 Subject: [TYPO3-dev] ZendStudio array item code completion on $GLOBALS Message-ID: Hello, When I use ZendStudio, the IDE gives me automatically the list of "registered" members of the $GLOBALS array. Does someone know how I may add something to this array and somehow "register" it in order to get it as code completion? -- Xavier Perseguers http://xavier.perseguers.ch/en From franz at fholzinger.com Sat Sep 13 12:37:22 2008 From: franz at fholzinger.com (Franz Holzinger) Date: Sat, 13 Sep 2008 12:37:22 +0200 Subject: [TYPO3-dev] Is the description of tslib_fe::includeTCA wrong? In-Reply-To: References: Message-ID: Hello, Dmitry Dulepov [typo3] a ?crit : > Franz Holzinger wrote: >> Have a look at the method getCompressedTCarray where the description >> is better: > > ... > >> t3lib_div::loadTCA fetches the $tca['ctrl']['dynamicConfigFile'] where >> the tca.php files has to be stored. Then the tca.php will be loaded >> inside of this function. > > Yes, I know all that :) I simply could not believe my eyes when I saw > the description of the includeTCA. So I asked others if I am blind or > not :) there is a bug in using this function for the table 'pages'. t3lib/stddb/tables.php contains the $TCA['pages']. However there is no $tca['ctrl']['dynamicConfigFile'] set and therefore this function t3lib_div::loadTCA($table) fails. It would be fine to have this issue fixed. - Franz From fsuter at cobweb.ch Sat Sep 13 13:29:39 2008 From: fsuter at cobweb.ch (Francois Suter) Date: Sat, 13 Sep 2008 13:29:39 +0200 Subject: [TYPO3-dev] output ends up in white page In-Reply-To: References: Message-ID: Hi, > as Ingo told about debug extension it came to my mind that such debug > extension could be a sysext, adding a tab to usersettings with all debug > output options like error_reporting, devlog etc. Also Admin panel could > have quick access for this. Don't forget to take into account all the existing settings, such as $TYPO3_CONF_VARS[SYS][enable_DLOG] $TYPO3_CONF_VARS[SYS][devIPmask] $TYPO3_CONF_VARS[SYS][sqlDebug] $TYPO3_CONF_VARS[SYS][displayErrors] New settings and existing ones should be consistent, as much as possible. Cheers -- Francois Suter Cobweb Development Sarl - http://www.cobweb.ch From dmitry at typo3.org Sat Sep 13 15:11:11 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Sat, 13 Sep 2008 16:11:11 +0300 Subject: [TYPO3-dev] ZendStudio array item code completion on $GLOBALS In-Reply-To: References: Message-ID: Hi! Xavier Perseguers wrote: > When I use ZendStudio, the IDE gives me automatically the list of > "registered" members of the $GLOBALS array. > > Does someone know how I may add something to this array and somehow > "register" it in order to get it as code completion? This problem was reported to them several time through their official ticket system and in the Yaho group. They acknowledge response but it does not see that they are going to fix it. It looks like development for Studio is frozen. Recently I switched to Komodo IDE+XDebug. It provides autocompletion for some variables and they make the IDE better and better with each release. The speed is amazing comparing to Zend Studio. And they have regular expression toolkit to help you make and test regular expression toolkit. -- Dmitry Dulepov TYPO3 Core team My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book In the blog: http://typo3bloke.net/pages/book-reviews/presentation-zen-by-garr-reynolds/ From dmitry at typo3.org Sat Sep 13 15:11:53 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Sat, 13 Sep 2008 16:11:53 +0300 Subject: [TYPO3-dev] Is the description of tslib_fe::includeTCA wrong? In-Reply-To: References: Message-ID: Hi! Franz Holzinger wrote: > there is a bug in using this function for the table 'pages'. > > t3lib/stddb/tables.php contains the $TCA['pages']. > However there is no $tca['ctrl']['dynamicConfigFile'] set and therefore > this function t3lib_div::loadTCA($table) fails. > > It would be fine to have this issue fixed. Make the patch and submit it to core list... -- Dmitry Dulepov TYPO3 Core team My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book In the blog: http://typo3bloke.net/pages/book-reviews/presentation-zen-by-garr-reynolds/ From dmitry at typo3.org Sat Sep 13 15:14:54 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Sat, 13 Sep 2008 16:14:54 +0300 Subject: [TYPO3-dev] output ends up in white page In-Reply-To: References: Message-ID: Hi! Steffen Kamper wrote: > as Ingo told about debug extension it came to my mind that such debug > extension could be a sysext, adding a tab to usersettings with all debug > output options like error_reporting, devlog etc. Also Admin panel could > have quick access for this. There should not be a "debug" word. Having "debug" in production is what many business users will not like. Better be "Extended problem reporting". -- Dmitry Dulepov TYPO3 Core team My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book In the blog: http://typo3bloke.net/pages/book-reviews/presentation-zen-by-garr-reynolds/ From dmitry at typo3.org Sat Sep 13 15:17:52 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Sat, 13 Sep 2008 16:17:52 +0300 Subject: [TYPO3-dev] manually generate realurl cache for extension In-Reply-To: References: Message-ID: Hi! Cyrill Helg wrote: > Is it possible to let realurl regenerate the cache? So like I could specify > some id's and it would recreate the cache? This would be cool because then the > links would still work after an update of my extension items table. In fact I > think I just would need to regenarte that tx_realurl_uniqalias table. > > Thanks for any hints. Currently there is no API for it. If you have ideas of such API, please, let me know through the bug tracker. I would love such API. May be this API can be common with CoolURI to use it regardless of any URL rewriting method. Right now if want to modify anything, you can only alter tables directly. -- Dmitry Dulepov TYPO3 Core team My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book In the blog: http://typo3bloke.net/pages/book-reviews/presentation-zen-by-garr-reynolds/ From dmitry at typo3.org Sat Sep 13 15:20:09 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Sat, 13 Sep 2008 16:20:09 +0300 Subject: [TYPO3-dev] charset troubles when inserting data manually into table, how to detect and handle that? In-Reply-To: References: Message-ID: Hi! Cyrill Helg wrote: > yes, ok. But how can I get the current charset of the installation? It would > be nice to just have a function that takes care of it.... The charset of the database is $TYPO3_CONF_VARS['BE']['forceCharset']. If that is empty, use iso-8859-1. BE and FE automatically convert data to the proper character set. At least core modules do. -- Dmitry Dulepov TYPO3 Core team My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book In the blog: http://typo3bloke.net/pages/book-reviews/presentation-zen-by-garr-reynolds/ From typo3 at perseguers.ch Sat Sep 13 15:31:22 2008 From: typo3 at perseguers.ch (Xavier Perseguers) Date: Sat, 13 Sep 2008 15:31:22 +0200 Subject: [TYPO3-dev] ZendStudio array item code completion on $GLOBALS In-Reply-To: References: Message-ID: Hi Dmitry! >> When I use ZendStudio, the IDE gives me automatically the list of >> "registered" members of the $GLOBALS array. >> >> Does someone know how I may add something to this array and somehow >> "register" it in order to get it as code completion? > > This problem was reported to them several time through their official > ticket system and in the Yaho group. They acknowledge response but it > does not see that they are going to fix it. It looks like development > for Studio is frozen. Argh! It crashes (hangs up) so many times that I would have love hearing the contrary. > Recently I switched to Komodo IDE+XDebug. It provides autocompletion for > some variables and they make the IDE better and better with each > release. The speed is amazing comparing to Zend Studio. And they have > regular expression toolkit to help you make and test regular expression > toolkit. OK. Thanks for this info. Perhaps I'll switch to this IDE too if I've enough of the crahes ;-) -- Xavier Perseguers http://xavier.perseguers.ch/en From masi-no at spam-typo3.org Sat Sep 13 16:34:00 2008 From: masi-no at spam-typo3.org (Martin Kutschker) Date: Sat, 13 Sep 2008 16:34:00 +0200 Subject: [TYPO3-dev] charset troubles when inserting data manually into table, how to detect and handle that? In-Reply-To: References: Message-ID: Dmitry Dulepov [typo3] schrieb: > Hi! > > Cyrill Helg wrote: >> yes, ok. But how can I get the current charset of the installation? It >> would be nice to just have a function that takes care of it.... > > The charset of the database is $TYPO3_CONF_VARS['BE']['forceCharset']. > If that is empty, use iso-8859-1. Not quite right. In the BE the charset is defined by the language of the BE user, so it may be any charset. In the FE it's defined by TS. See Steffen's post for more info (though in the FE you should use $TSFE->renderCharset and not $TSFE->defaultCharset which is always iso-8859-1). Masi From info at sk-typo3.de Sat Sep 13 16:57:12 2008 From: info at sk-typo3.de (Steffen Kamper) Date: Sat, 13 Sep 2008 16:57:12 +0200 Subject: [TYPO3-dev] output ends up in white page In-Reply-To: References: Message-ID: Hi Dmitry, Dmitry Dulepov [typo3] schrieb: > Hi! > > Steffen Kamper wrote: >> as Ingo told about debug extension it came to my mind that such debug >> extension could be a sysext, adding a tab to usersettings with all >> debug output options like error_reporting, devlog etc. Also Admin >> panel could have quick access for this. > > There should not be a "debug" word. Having "debug" in production is what > many business users will not like. Better be "Extended problem reporting". > the approach i thought of is that you can su?press the debug outputs for every normal users. That has the benefit that you can use debug statements in your code that doesn't output anything for normal visitors, only for the admin who enabled the output. Would be great to do this on a productuon site invisible for all others. Having a debug extension for this, why don't call it debug as you call it with debug()? I think the admins using this know what they do. Maybe if extension is installed is has to be enabled on userTS so this won't be visible general for admins (only brainstorming) vg Steffen From info at sk-typo3.de Sat Sep 13 18:07:21 2008 From: info at sk-typo3.de (Steffen Kamper) Date: Sat, 13 Sep 2008 18:07:21 +0200 Subject: [TYPO3-dev] charset troubles when inserting data manually into table, how to detect and handle that? In-Reply-To: References: Message-ID: Hi Masi, Martin Kutschker schrieb: > See Steffen's post for more info (though in the FE you should use > $TSFE->renderCharset and not $TSFE->defaultCharset which is always > iso-8859-1). > thx for the correction. This remembers me to discussions we had to force utf-8 as default for future. What is the state of this default, and should TSFE->defaultCharset then changed to utf-8 ? vg Steffen From info at sk-typo3.de Sat Sep 13 18:49:27 2008 From: info at sk-typo3.de (Steffen Kamper) Date: Sat, 13 Sep 2008 18:49:27 +0200 Subject: [TYPO3-dev] [CSS] clearing can be so simple ... Message-ID: Hi, you don't believe? I was astonished too but go ahead and read yourself :-) http://www.sitepoint.com/blogs/2005/02/26/simple-clearing-of-floats/ vg Steffen From dmitry at typo3.org Sun Sep 14 05:41:42 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Sun, 14 Sep 2008 06:41:42 +0300 Subject: [TYPO3-dev] [CSS] clearing can be so simple ... In-Reply-To: References: Message-ID: Hi! Steffen Kamper wrote: > you don't believe? I was astonished too but go ahead and read yourself :-) > > http://www.sitepoint.com/blogs/2005/02/26/simple-clearing-of-floats/ Get the "Transcendent CSS" book. You will learn more such interesting things :) I accidentally came across it at Netcreators/Arnhem, read it and now I got my own copy. Invaluable book for those who is interested in proper HTML/CSS coding. It changed the whole vision of my views to HTML/CSS. -- Dmitry Dulepov TYPO3 Core team My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book In the blog: http://typo3bloke.net/pages/book-reviews/presentation-zen-by-garr-reynolds/ From dmitry at typo3.org Sun Sep 14 05:43:30 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Sun, 14 Sep 2008 06:43:30 +0300 Subject: [TYPO3-dev] output ends up in white page In-Reply-To: References: Message-ID: Hi! Steffen Kamper wrote: > Having a debug extension for this, why don't call it debug as you call > it with debug()? I think the admins using this know what they do. Maybe > if extension is installed is has to be enabled on userTS so this won't > be visible general for admins (only brainstorming) Only because of marketing. If you tell client that you have debug extension (or they find out), they will think that web site is not stable or that there are backdoors. Threfore I think it is better to avoid using the "debug" word. -- Dmitry Dulepov TYPO3 Core team My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book In the blog: http://typo3bloke.net/pages/book-reviews/presentation-zen-by-garr-reynolds/ From dmitry at typo3.org Sun Sep 14 05:45:23 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Sun, 14 Sep 2008 06:45:23 +0300 Subject: [TYPO3-dev] charset troubles when inserting data manually into table, how to detect and handle that? In-Reply-To: References: Message-ID: Hi! Martin Kutschker wrote: > Not quite right. In the BE the charset is defined by the language of the > BE user, so it may be any charset. In the FE it's defined by TS. > > See Steffen's post for more info (though in the FE you should use > $TSFE->renderCharset and not $TSFE->defaultCharset which is always > iso-8859-1). I know about that. I was the first to review "FE localization guide" by Kasper and I still remember some things from there ;) The charset of the database is still defined by forceCharset. -- Dmitry Dulepov TYPO3 Core team My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book In the blog: http://typo3bloke.net/pages/book-reviews/presentation-zen-by-garr-reynolds/ From typo3 at perseguers.ch Sun Sep 14 11:35:48 2008 From: typo3 at perseguers.ch (Xavier Perseguers) Date: Sun, 14 Sep 2008 11:35:48 +0200 Subject: [TYPO3-dev] [CSS] clearing can be so simple ... In-Reply-To: References: Message-ID: Hi! > Get the "Transcendent CSS" book. You will learn more such interesting > things :) I accidentally came across it at Netcreators/Arnhem, read it > and now I got my own copy. Invaluable book for those who is interested > in proper HTML/CSS coding. It changed the whole vision of my views to > HTML/CSS. I bought it a few minutes ago. Thanks for the info Dmitry ;-) -- Xavier Perseguers http://xavier.perseguers.ch/en From typo3 at perseguers.ch Sun Sep 14 11:38:19 2008 From: typo3 at perseguers.ch (Xavier Perseguers) Date: Sun, 14 Sep 2008 11:38:19 +0200 Subject: [TYPO3-dev] includeJS from frontend plugin Message-ID: Hello, How may I include a JS (in ) from my plugin content generation method? I do not want to force my users to create a template extension and manually add it whenever they use my plugin on a given page. If it's not possible, I'll add a