From dmitry at typo3.org Sun Jun 1 07:18:59 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Sun, 01 Jun 2008 08:18:59 +0300 Subject: [TYPO3-dev] What is wrong here? In-Reply-To: References: Message-ID: Benjamin Mack wrote: > No additional selector while logging in. Simpler is better... especially > for a feature, only 5% will use. Better: The admin sets the default > (because in my installations, most of the editors speak the same language) +1 -- Dmitry Dulepov TYPO3 core team Learn more about TYPO3! Read http://typo3bloke.net/ Skype: callto:liels_bugs but go straight to business! From dmitry at typo3.org Sun Jun 1 07:20:44 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Sun, 01 Jun 2008 08:20:44 +0300 Subject: [TYPO3-dev] Can TYPO3 automatically resize picture and make them bigger on clicking? In-Reply-To: References: Message-ID: Hi! Christopher wrote: > I only want it for the visitor in the FE... Use normal content element "Text with image". It has enlarge-on-click option. -- Dmitry Dulepov TYPO3 core team Learn more about TYPO3! Read http://typo3bloke.net/ Skype: callto:liels_bugs but go straight to business! From podkovanov at gmail.com Sun Jun 1 09:31:04 2008 From: podkovanov at gmail.com (Vladimir Podkovanov) Date: Sun, 01 Jun 2008 11:31:04 +0400 Subject: [TYPO3-dev] element browser and file folders In-Reply-To: References: Message-ID: Hi Jochen Jochen Rieger wrote: > Hi Vladimir, > >> I'd like to discuss the possibility to select not only files itself in >> field type "group/file", >> but also file folders. > > would this extension be helpful? > > http://typo3.org/extensions/repository/view/rgfolderselector/0.0.1/ > > Regards, > Jochen Yeah, similar like this but not as separate wizard. I wonder if it is needed as part of element browser in type group/file. So it works like this - you can select few files or you can select just a folder that does mean you've selected all files inside it. And if you want add files later you can just upload them in the folder and do not touch anything else in BE. -- - rgds - Vladimir From podkovanov at gmail.com Sun Jun 1 09:33:27 2008 From: podkovanov at gmail.com (Vladimir Podkovanov) Date: Sun, 01 Jun 2008 11:33:27 +0400 Subject: [TYPO3-dev] element browser and file folders In-Reply-To: References: Message-ID: HI Ingo Ingo Renner wrote: > Vladimir Podkovanov wrote: >> Hello All, >> I'd like to discuss the possibility to select not only files itself in >> field type "group/file", >> but also file folders. > > works with TYPO3 4.2 > > > Ingo > I've tried that with 4.2.0 version I was not able in group/file field to select file folder but files only, as before. -- - rgds - Vladimir From benni at typo3.org Sun Jun 1 09:45:27 2008 From: benni at typo3.org (Benjamin Mack) Date: Sun, 01 Jun 2008 09:45:27 +0200 Subject: [TYPO3-dev] What is wrong here? In-Reply-To: References: Message-ID: Hey, The default Login Language for a user could also happen through the default browser language (as long as this language is installed in TYPO3). Benjamin Mack wrote: > No additional selector while logging in. Simpler is better... especially > for a feature, only 5% will use. Better: The admin sets the default > (because in my installations, most of the editors speak the same language) > -- greetings, benni. -SDG- From podkovanov at gmail.com Sun Jun 1 09:51:52 2008 From: podkovanov at gmail.com (Vladimir Podkovanov) Date: Sun, 01 Jun 2008 11:51:52 +0400 Subject: [TYPO3-dev] GIFBUILDER folder Message-ID: Hello All, Is there any reason to have fixed GB folder. In my extension I use different hash-string folders, one per each album, so it makes sure that all album's stuff located in one place and if I delete the folder there is no possibility to see the pix again (using old links). But I can not reallocate folder for GIFBUILDER images like for IMAGE (using alternativeTempPath) - 'GB/' folder hardcoded into tslib_gifBuilder. -- - rgds - Vladimir From steffen at sk-typo3.de Sun Jun 1 11:54:08 2008 From: steffen at sk-typo3.de (Steffen Kamper) Date: Sun, 1 Jun 2008 11:54:08 +0200 Subject: [TYPO3-dev] element browser and file folders References: Message-ID: Hi, here i have an example of using Folder selector in BE. Article is in german, but code is international ;-) http://www.sk-typo3.de/Folder-Selektor-im-BE-Modul.367.0.html vg Steffen "Vladimir Podkovanov" schrieb im Newsbeitrag news:mailman.3250.1211929637.4573.typo3-dev at lists.netfielders.de... > Hello All, > I'd like to discuss the possibility to select not only files itself in > field type "group/file", > but also file folders. > It would be handy for example if you want to create album and want just > upload > the bunch of pictures to selected folder and just point to the folder > but not manually > select every single image in order to add it to album. Another example > is download > area. You don't need then to change BE records everytime you want > add/remove > content but manage folder's content via ftp. > Also to implement this feature import/export should tracks such > folders reference > and add all folder's content to export file. > > -- > - rgds - > Vladimir From info at bednarik.org Sun Jun 1 11:53:27 2008 From: info at bednarik.org (Jan Bednarik) Date: Sun, 01 Jun 2008 11:53:27 +0200 Subject: [TYPO3-dev] Safe memory limit Message-ID: Hey guys, what's the safe memory limit for Typo3? I've got 24MB now and it's not enogh. Typo3 4.1.x cannot display sr_feuser_register. Typo3 4.2.0 with TV crashes with tt_news. Is 32MB enough? I was hoping, that the enourmous consumtion will be in focus for new realases, but as it seems, it gets worse and worse. -- Jan Bednarik www.bednarik.org - web about Typo3 in czech From steffen at sk-typo3.de Sun Jun 1 12:25:32 2008 From: steffen at sk-typo3.de (Steffen Kamper) Date: Sun, 1 Jun 2008 12:25:32 +0200 Subject: [TYPO3-dev] GIFBUILDER folder References: Message-ID: "Vladimir Podkovanov" schrieb im Newsbeitrag news:mailman.1.1212306719.15570.typo3-dev at lists.netfielders.de... > Hello All, > Is there any reason to have fixed GB folder. > In my extension I use different hash-string folders, one per each album, > so it makes sure that all album's stuff located in one place and if I > delete the folder there is no possibility to see the pix again (using old > links). But I can not reallocate folder for GIFBUILDER images like for > IMAGE (using alternativeTempPath) - 'GB/' folder hardcoded into > tslib_gifBuilder. > > -- > - rgds - > Vladimir as tslib_gifBuilder only extends t3lib_stdgraphic you can set the temp path ( tempPath) where the folders are created and used (Subfolders are hardcoded) I'm not sure how to set it through tslib vg Steffen From info at rs-websystems.de Sun Jun 1 12:48:24 2008 From: info at rs-websystems.de (Steffen Ritter) Date: Sun, 01 Jun 2008 12:48:24 +0200 Subject: [TYPO3-dev] Safe memory limit In-Reply-To: References: Message-ID: Hello, in times of Gigabytes of RAM i think it's not very much. Shure it could be less, but it is, if cached. So I'm using Typo3 in shared hosting as well as on own servers. In shared hosting I set the memory limit to 70MB by install tool, which works fine for me. But as I have been told, 48MB will work too. And as you said it gets worse: I don't know if this is true. In fact I feeled like speeding up the basic installation of 4.2 against 4.1. And the more data you have to be processed the more memory will be used. Look at Extension-List for example. Extension list contains very many Entrys. I had a very restrictive script runtime which worked fine, until we reached the limit of 1100 Extensions or so. Then the number of Entries at xml was to big to be processed within this time (since every version of every extension is listed). I had to increase, what - imho - is not a "typo3 gets worse" because its needed for doing more. kind regards Steffen Jan Bednarik schrieb: > Hey guys, > > what's the safe memory limit for Typo3? I've got 24MB now and it's not > enogh. Typo3 4.1.x cannot display sr_feuser_register. Typo3 4.2.0 with > TV crashes with tt_news. > > Is 32MB enough? I was hoping, that the enourmous consumtion will be in > focus for new realases, but as it seems, it gets worse and worse. > From simon at simm.removedk Sun Jun 1 12:54:37 2008 From: simon at simm.removedk (Simon Justesen) Date: Sun, 01 Jun 2008 12:54:37 +0200 Subject: [TYPO3-dev] Small shop - forgot to add manual sorting In-Reply-To: References: Message-ID: Steffen Ritter skrev: > And if you don't wanna use the kickstarter to alter your extension (so > you will learn further t3 related stuff) just edit 2 files: > ext_tables.sql > add the following line to the table you want to sort the table you want: > sorting int(10) DEFAULT '0' NOT NULL, > kickstarter produces this line alway after cruser. > Then go to the ext_tables.php and replace! the line about > 'DEFAULT_sorting' => 'somethin', > with > 'sortby' => 'sorting', > > > So far > > Steffen > > Simon Justesen schrieb: >> I have made a small shop which I developed with the aid of the >> extension kickstarter. Unfortunately I forgot to add manual sorting >> so one can rearrange products inside Typo3. What is the best way to >> apply this afterwards? >> >> Thanks in advance >> >> Simon Excellent, thanks :) Simon From info at bednarik.org Sun Jun 1 12:55:03 2008 From: info at bednarik.org (Jan Bednarik) Date: Sun, 01 Jun 2008 12:55:03 +0200 Subject: [TYPO3-dev] Safe memory limit In-Reply-To: References: Message-ID: Hey, > So I'm using Typo3 in shared hosting as well as on own servers. In > shared hosting I set the memory limit to 70MB by install tool, which > works fine for me. But as I have been told, 48MB will work too. good for you. Unfortunately, many czech providers set memory limit to 8MB and don't allow you to change it yourself. You have to ask them and often they refuse at first ... it's usually long distance run. I've just asked them to increase to 32MB. Gee, I really hope it's going to be enough. BTW I run just a few extensions (up to 7). -- Jan Bednarik www.bednarik.org - web about Typo3 in czech From steffen at sk-typo3.de Sun Jun 1 13:11:38 2008 From: steffen at sk-typo3.de (Steffen Kamper) Date: Sun, 1 Jun 2008 13:11:38 +0200 Subject: [TYPO3-dev] Safe memory limit References: Message-ID: "Jan Bednarik" schrieb im Newsbeitrag news:mailman.1.1212317716.23882.typo3-dev at lists.netfielders.de... > Hey, > >> So I'm using Typo3 in shared hosting as well as on own servers. In shared >> hosting I set the memory limit to 70MB by install tool, which works fine >> for me. But as I have been told, 48MB will work too. > > good for you. Unfortunately, many czech providers set memory limit to 8MB > and don't allow you to change it yourself. You have to ask them and often > they refuse at first ... it's usually long distance run. > > I've just asked them to increase to 32MB. Gee, I really hope it's going to > be enough. > > BTW I run just a few extensions (up to 7). > > -- Hi, 8MB is really bad luck. Official requirement is 32MB, which isn't enough while fetching extensionlist. Where does it happen in tt_news? detailed info which linenum, or better copy the line? vg Steffen From Chrissitopher at gmx.de Sun Jun 1 13:16:50 2008 From: Chrissitopher at gmx.de (Christopher) Date: Sun, 1 Jun 2008 13:16:50 +0200 Subject: [TYPO3-dev] Can TYPO3 automatically resize picture and make them bigger on clicking? References: Message-ID: Hi Dmitry, >> I only want it for the visitor in the FE... > > Use normal content element "Text with image". It has enlarge-on-click > option. Yes, that is exactly what I was looking for. :-) Christopher From podkovanov at gmail.com Sun Jun 1 13:21:31 2008 From: podkovanov at gmail.com (Vladimir Podkovanov) Date: Sun, 01 Jun 2008 15:21:31 +0400 Subject: [TYPO3-dev] GIFBUILDER folder In-Reply-To: References: Message-ID: Steffen Kamper wrote: > "Vladimir Podkovanov" schrieb im Newsbeitrag > news:mailman.1.1212306719.15570.typo3-dev at lists.netfielders.de... >> Hello All, >> Is there any reason to have fixed GB folder. >> In my extension I use different hash-string folders, one per each album, >> so it makes sure that all album's stuff located in one place and if I >> delete the folder there is no possibility to see the pix again (using old >> links). But I can not reallocate folder for GIFBUILDER images like for >> IMAGE (using alternativeTempPath) - 'GB/' folder hardcoded into >> tslib_gifBuilder. >> >> -- >> - rgds - >> Vladimir > > as tslib_gifBuilder only extends t3lib_stdgraphic you can set the temp path > ( > tempPath) where the folders are created and used (Subfolders are hardcoded) > > I'm not sure how to set it through tslib > > vg Steffen > > Hi Steffen, you are right, really alternativeTempPath for IMAGE acts like you said - by changing ->tempPath if ($fileArray['alternativeTempPath'] && t3lib_div::inList($GLOBALS['TYPO3_CONF_VARS']['FE']['allowedTempPaths'],$fileArray['alternativeTempPath'])) { $gifCreator->tempPath = $fileArray['alternativeTempPath']; $GLOBALS['TT']->setTSlogMessage('Set alternativeTempPath:'.$fileArray['alternativeTempPath']); } the point here that there is no such config for GIFBUILDER images. I think alternativeTempPath property should be added to GIFBUILDER too. From info at bednarik.org Sun Jun 1 13:41:45 2008 From: info at bednarik.org (Jan Bednarik) Date: Sun, 01 Jun 2008 13:41:45 +0200 Subject: [TYPO3-dev] Safe memory limit In-Reply-To: References: Message-ID: > 8MB is really bad luck. Official requirement is 32MB, which isn't enough > while fetching extensionlist. That's OK, since because of safe_mode I can install extension at all. I have to upload it via FTP. > Where does it happen in tt_news? detailed info which linenum, or better copy > the line? Fatal error: Allowed memory size of 25165824 bytes exhausted (tried to allocate 122880 bytes) in /DISK3/WWW/bednarik.org/demo/typo3conf/ext/tt_news/pi/class.tx_ttnews.php on line 2576 That's strange, there's just ending bracket on this line :) -- Jan Bednarik www.bednarik.org - web about Typo3 in czech From steffen at sk-typo3.de Sun Jun 1 14:13:43 2008 From: steffen at sk-typo3.de (Steffen Kamper) Date: Sun, 1 Jun 2008 14:13:43 +0200 Subject: [TYPO3-dev] Safe memory limit References: Message-ID: "Jan Bednarik" schrieb im Newsbeitrag news:mailman.1.1212320518.4177.typo3-dev at lists.netfielders.de... >> 8MB is really bad luck. Official requirement is 32MB, which isn't enough >> while fetching extensionlist. > > That's OK, since because of safe_mode I can install extension at all. I > have to upload it via FTP. > >> Where does it happen in tt_news? detailed info which linenum, or better >> copy the line? > > Fatal error: Allowed memory size of 25165824 bytes exhausted (tried to > allocate 122880 bytes) in > /DISK3/WWW/bednarik.org/demo/typo3conf/ext/tt_news/pi/class.tx_ttnews.php > on line 2576 > > That's strange, there's just ending bracket on this line :) > > -- ending bracket means that the error occurs in the loop. There all releated news are collected. Maybe you have wrong configuration so it ends up in an endless loop? vg Steffen From podkovanov at gmail.com Sun Jun 1 15:55:16 2008 From: podkovanov at gmail.com (Vladimir Podkovanov) Date: Sun, 01 Jun 2008 17:55:16 +0400 Subject: [TYPO3-dev] GIFBUILDER folder In-Reply-To: References: Message-ID: Vladimir Podkovanov wrote: > Hello All, > Is there any reason to have fixed GB folder. > In my extension I use different hash-string folders, one per each album, > so it makes sure that all album's stuff located in one place and if I > delete the folder there is no possibility to see the pix again (using > old links). But I can not reallocate folder for GIFBUILDER images like > for IMAGE (using alternativeTempPath) - 'GB/' folder hardcoded into > tslib_gifBuilder. > I've added patch here http://bugs.typo3.org/view.php?id=8577 this patch adds property 'alternativeTempPath' for GIFBUILDER too. -- - rgds - Vladimir From dmitry at typo3.org Sun Jun 1 17:47:17 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Sun, 01 Jun 2008 18:47:17 +0300 Subject: [TYPO3-dev] Safe memory limit In-Reply-To: References: Message-ID: Jan Bednarik wrote: > what's the safe memory limit for Typo3? I've got 24MB now and it's not > enogh. Typo3 4.1.x cannot display sr_feuser_register. Typo3 4.2.0 with > TV crashes with tt_news. > > Is 32MB enough? I was hoping, that the enourmous consumtion will be in > focus for new realases, but as it seems, it gets worse and worse. I think Install tool tells what is the minimum. Personally I would not go below 64M. This is Enterprise level CMS, not a toy ;) -- Dmitry Dulepov TYPO3 core team Learn more about TYPO3! Read http://typo3bloke.net/ Skype: callto:liels_bugs but go straight to business! From info at bednarik.org Sun Jun 1 18:33:56 2008 From: info at bednarik.org (Jan Bednarik) Date: Sun, 01 Jun 2008 18:33:56 +0200 Subject: [TYPO3-dev] Safe memory limit In-Reply-To: References: Message-ID: > ending bracket means that the error occurs in the loop. > There all releated news are collected. Maybe you have wrong configuration so > it ends up in an endless loop? I don't think so. I don't display related news and it works OK on my localhost. -- Jan Bednarik www.bednarik.org - web about Typo3 in czech From info at bednarik.org Sun Jun 1 18:34:58 2008 From: info at bednarik.org (Jan Bednarik) Date: Sun, 01 Jun 2008 18:34:58 +0200 Subject: [TYPO3-dev] Safe memory limit In-Reply-To: References: Message-ID: > I think Install tool tells what is the minimum. Personally I would not > go below 64M. Personally, I woudn't limit memory at all :) > This is Enterprise level CMS, not a toy ;) Well, tell it to the providers here. -- Jan Bednarik www.bednarik.org - web about Typo3 in czech From steffen at sk-typo3.de Sun Jun 1 22:12:38 2008 From: steffen at sk-typo3.de (Steffen Kamper) Date: Sun, 1 Jun 2008 22:12:38 +0200 Subject: [TYPO3-dev] CSS Coding GuidLines Message-ID: Hi, as we don't have CGL for css i would like to initiate that and do a proposal here. As CSS isnt't that complicate syntax, it's short enough to write it down 1. use lower case for all selectors except named classes or id's that use camelCase 2. use following formatting rules: selector[SPACE]{ [TAB]style:[SPACE]value; } [empty line] for more selectors use single lines selector1, selector2, selector3[SPACE]{ [TAB]style:[SPACE]value; } [empty line] 3. group styling and comment what they do /* styling module menu */ ... 4. use lower case HEX-values color: #eeff00; background-color: #aaa; These are the formatting rules, but we also need common sense in: a) use em for dimension for scalable content, use px only for fixed formats never use pt. 0Values are 0 and not 0px or 0em b) try to pretend intensive usage of abb. like background: transparent url('gfx/ol/line.gif') repeat-y top left; and use single expressions instead: background-color: transparent; background-image: url('gfx/ol/line.gif'); etc. Ok, that's my proposal. Did i forgot something or do you veto for something? Feel free to comment. vg Steffen From bedlamhotel at gmail.com Sun Jun 1 22:32:16 2008 From: bedlamhotel at gmail.com (Christopher Torgalson) Date: Sun, 1 Jun 2008 22:32:16 +0200 Subject: [TYPO3-dev] CSS Coding GuidLines In-Reply-To: References: Message-ID: Hi, On Sun, Jun 1, 2008 at 10:12 PM, Steffen Kamper wrote: > Hi, > > as we don't have CGL for css i would like to initiate that and do a proposal > here. > As CSS isnt't that complicate syntax, it's short enough to write it down > > 1. use lower case for all selectors except named classes or id's that use > camelCase > > 2. use following formatting rules: > > selector[SPACE]{ > [TAB]style:[SPACE]value; > } > [empty line] > > for more selectors use single lines > > selector1, > selector2, > selector3[SPACE]{ > [TAB]style:[SPACE]value; > } > [empty line] > > 3. group styling and comment what they do > > /* styling module menu */ > ... > > 4. use lower case HEX-values > color: #eeff00; > background-color: #aaa; > > These are the formatting rules, but we also need common sense in: > a) use em for dimension for scalable content, use px only for fixed formats > never use pt. 0Values are 0 and not 0px or 0em > b) try to pretend intensive usage of abb. like > background: transparent url('gfx/ol/line.gif') repeat-y top left; > and use single expressions instead: > background-color: transparent; > background-image: url('gfx/ol/line.gif'); > etc. > > > Ok, that's my proposal. Did i forgot something or do you veto for something? > Feel free to comment. I'd say +1 to all except that I'd like to hear a justification for item (b) above (also, I assume you meant 'prevent' and not 'pretend'?). I can't think of any particular reason for recommending *against* the use of the 'background' shortcut (or its analogues)? Do you have any thoughts about how CSS files should be ordered (aside from cases where the order is dictated by specificity)? -- Christopher Torgalson http://www.typo3apprentice.com/ From steffen at sk-typo3.de Sun Jun 1 22:47:23 2008 From: steffen at sk-typo3.de (Steffen Kamper) Date: Sun, 1 Jun 2008 22:47:23 +0200 Subject: [TYPO3-dev] CSS Coding GuidLines References: Message-ID: Hi, "Christopher Torgalson" schrieb im Newsbeitrag news:mailman.4352.1212352350.4573.typo3-dev at lists.netfielders.de... > I'd say +1 to all except that I'd like to hear a justification for > item (b) above (also, I assume you meant 'prevent' and not > 'pretend'?). I can't think of any particular reason for recommending > *against* the use of the 'background' shortcut (or its analogues)? oh sry, yes my english is pretty bad. prevent was it, and this should be no rule but an advice. it's much more easy to read and understand formatting if single expressions are used. > Do you have any thoughts about how CSS files should be ordered (aside > from cases where the order is dictated by specificity)? I think this is drifferent from case to case. If the blocks are semantically grouped and well commented it should be easy to see the structure. Also this might differ for many people as this is also personal taste. May be a little advice: use level depth for structure .div1 { ... } .div1 span { ... } div1 span a { ... } vg Steffen From ingo at typo3.org Sun Jun 1 22:51:32 2008 From: ingo at typo3.org (Ingo Renner) Date: Sun, 01 Jun 2008 22:51:32 +0200 Subject: [TYPO3-dev] help>about In-Reply-To: References: Message-ID: Steffen Kamper wrote: > So, what do you think about showing more infos here? > I could imagine: > > * links to website > * displaying "news.txt" > * displaying release date of the version > > may be you have further ideas sure, why not! Ingo -- Ingo Renner TYPO3 Core Developer, Release Manager TYPO3 4.2 From dmitry at typo3.org Sun Jun 1 22:52:45 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Sun, 01 Jun 2008 23:52:45 +0300 Subject: [TYPO3-dev] Safe memory limit In-Reply-To: References: Message-ID: Jan Bednarik wrote: > Well, tell it to the providers here. May be you can a provider with VPS? If not, there were some in UK. There you have your own control over everything. -- Dmitry Dulepov Learn more about TYPO3: http://typo3bloke.net/ From ingo at typo3.org Sun Jun 1 22:54:47 2008 From: ingo at typo3.org (Ingo Renner) Date: Sun, 01 Jun 2008 22:54:47 +0200 Subject: [TYPO3-dev] What is wrong here? In-Reply-To: References: Message-ID: Steffen Kamper wrote: > short brainstorming - labels in login screen could depend on status of > select box. why so complicated? The browser already sends the language his user is most likely to understand... Ingo -- Ingo Renner TYPO3 Core Developer, Release Manager TYPO3 4.2 From bedlamhotel at gmail.com Sun Jun 1 22:55:40 2008 From: bedlamhotel at gmail.com (Christopher Torgalson) Date: Sun, 1 Jun 2008 22:55:40 +0200 Subject: [TYPO3-dev] CSS Coding GuidLines In-Reply-To: References: Message-ID: Hi, On Sun, Jun 1, 2008 at 10:47 PM, Steffen Kamper wrote: > Hi, > > "Christopher Torgalson" schrieb im Newsbeitrag > news:mailman.4352.1212352350.4573.typo3-dev at lists.netfielders.de... > >> I'd say +1 to all except that I'd like to hear a justification for >> item (b) above (also, I assume you meant 'prevent' and not >> 'pretend'?). I can't think of any particular reason for recommending >> *against* the use of the 'background' shortcut (or its analogues)? > > oh sry, yes my english is pretty bad. > prevent was it, and this should be no rule but an advice. it's much more > easy to read and understand formatting if single expressions are used. > >> Do you have any thoughts about how CSS files should be ordered (aside >> from cases where the order is dictated by specificity)? > > I think this is drifferent from case to case. > If the blocks are semantically grouped and well commented it should be easy > to see the structure. > Also this might differ for many people as this is also personal taste. > May be a little advice: > use level depth for structure > > .div1 { > ... > } > > .div1 span { > ... > } > > div1 span a { > ... > } That's what I meant by 'specificity'...we seem to agree about that :) I don't agree that shortcuts are hard to read (since the properties *must* occur in a certain order), but I can live with a recommendation to use fewer shortcuts like 'background,' as long as it's not a hard rule--they're great labour-saving devices... -- Christopher Torgalson http://www.typo3apprentice.com/ From ingo at typo3.org Sun Jun 1 23:05:49 2008 From: ingo at typo3.org (Ingo Renner) Date: Sun, 01 Jun 2008 23:05:49 +0200 Subject: [TYPO3-dev] CSS Coding GuidLines In-Reply-To: References: Message-ID: Steffen Kamper wrote: > Ok, that's my proposal. Did i forgot something or do you veto for something? > Feel free to comment. +1 on all suggestions Ingo -- Ingo Renner TYPO3 Core Developer, Release Manager TYPO3 4.2 From ingo at typo3.org Sun Jun 1 23:07:01 2008 From: ingo at typo3.org (Ingo Renner) Date: Sun, 01 Jun 2008 23:07:01 +0200 Subject: [TYPO3-dev] CSS Coding GuidLines In-Reply-To: References: Message-ID: Christopher Torgalson wrote: > I'd say +1 to all except that I'd like to hear a justification for > item (b) above (also, I assume you meant 'prevent' and not > 'pretend'?). I can't think of any particular reason for recommending > *against* the use of the 'background' shortcut (or its analogues)? it's more readable and easier to understand in case you don't know the order of the parameters by heart. Ingo -- Ingo Renner TYPO3 Core Developer, Release Manager TYPO3 4.2 From dosipov at phillyburbs.com Sun Jun 1 23:15:43 2008 From: dosipov at phillyburbs.com (Dan Osipov) Date: Sun, 01 Jun 2008 17:15:43 -0400 Subject: [TYPO3-dev] Automatic record insert In-Reply-To: References: Message-ID: Its documented here: http://typo3.org/documentation/document-library/core-documentation/doc_core_api/4.1.0/view/3/3/#id3561640 Dan Osipov Calkins Media http://phillyburbs.com/ Francois Suter wrote: > Hi, > >> Nevermind, I found a way. > > Care to share how? > > Cheers > From info at bednarik.org Sun Jun 1 23:17:39 2008 From: info at bednarik.org (Jan Bednarik) Date: Sun, 01 Jun 2008 23:17:39 +0200 Subject: [TYPO3-dev] Safe memory limit In-Reply-To: References: Message-ID: I've heard good references about Hostmonster.com. Maybe I'll give it a try. Anyway, memory limit has been changed to 32MB, so for now, it's OK. I hope that 32MB is really the safe value. I need to know, how much to ask for in advance and 64MB is probably too much for most of the czech providers. -- Jan Bednarik www.bednarik.org - web about Typo3 in czech From podkovanov at gmail.com Sun Jun 1 23:59:03 2008 From: podkovanov at gmail.com (Vladimir Podkovanov) Date: Mon, 02 Jun 2008 01:59:03 +0400 Subject: [TYPO3-dev] element browser and file folders In-Reply-To: References: Message-ID: Ingo Renner wrote: > Vladimir Podkovanov wrote: >> Hello All, >> I'd like to discuss the possibility to select not only files itself in >> field type "group/file", >> but also file folders. > > works with TYPO3 4.2 > > > Ingo > Hi Ingo, I got that you've meant link wizard, though I've meant group/db type anyway it good that link wizard can do that. -- - rgds - Vladimir From podkovanov at gmail.com Mon Jun 2 00:05:37 2008 From: podkovanov at gmail.com (Vladimir Podkovanov) Date: Mon, 02 Jun 2008 02:05:37 +0400 Subject: [TYPO3-dev] element browser and file folders In-Reply-To: References: Message-ID: Steffen Kamper wrote: > Hi, > > here i have an example of using Folder selector in BE. > Article is in german, but code is international ;-) > http://www.sk-typo3.de/Folder-Selektor-im-BE-Modul.367.0.html > > vg Steffen > > "Vladimir Podkovanov" schrieb im Newsbeitrag > news:mailman.3250.1211929637.4573.typo3-dev at lists.netfielders.de... >> Hello All, >> I'd like to discuss the possibility to select not only files itself in >> field type "group/file", >> but also file folders. >> It would be handy for example if you want to create album and want just >> upload >> the bunch of pictures to selected folder and just point to the folder >> but not manually >> select every single image in order to add it to album. Another example >> is download >> area. You don't need then to change BE records everytime you want >> add/remove >> content but manage folder's content via ftp. >> Also to implement this feature import/export should tracks such >> folders reference >> and add all folder's content to export file. >> >> -- >> - rgds - >> Vladimir > > Hi Steffen, thank you for link :) However as pointed Ingo it is implemented into link wizard in 4.2 Firstly I was thinking about integration into group/db field. -- Vladimir From dmitry at typo3.org Mon Jun 2 08:43:46 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Mon, 02 Jun 2008 09:43:46 +0300 Subject: [TYPO3-dev] What is wrong here? In-Reply-To: References: Message-ID: Ingo Renner wrote: > why so complicated? The browser already sends the language his user is > most likely to understand... Not always. There are bilingual (trilingual) countries, where some people understand one language but browser by default is set to another. Not a seldom case. -- Dmitry Dulepov Learn more about TYPO3: http://typo3bloke.net/ From fsuter at cobweb.ch Mon Jun 2 08:43:41 2008 From: fsuter at cobweb.ch (Francois Suter) Date: Mon, 02 Jun 2008 08:43:41 +0200 Subject: [TYPO3-dev] Automatic record insert In-Reply-To: References: Message-ID: Hi, > Its documented here: > http://typo3.org/documentation/document-library/core-documentation/doc_core_api/4.1.0/view/3/3/#id3561640 Ah yes, makes sense. Thanks for the pointer. Cheers -- Francois Suter Cobweb Development Sarl - http://www.cobweb.ch From dmitry at typo3.org Mon Jun 2 08:44:30 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Mon, 02 Jun 2008 09:44:30 +0300 Subject: [TYPO3-dev] Safe memory limit In-Reply-To: References: Message-ID: Jan Bednarik wrote: > I've heard good references about Hostmonster.com. Maybe I'll give it a > try. Anyway, memory limit has been changed to 32MB, so for now, it's OK. > I hope that 32MB is really the safe value. I need to know, how much to > ask for in advance and 64MB is probably too much for most of the czech > providers. Btw, you can try changing the limit in Install tool. -- Dmitry Dulepov Learn more about TYPO3: http://typo3bloke.net/ From dmitry at typo3.org Mon Jun 2 08:47:28 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Mon, 02 Jun 2008 09:47:28 +0300 Subject: [TYPO3-dev] CSS Coding GuidLines In-Reply-To: References: Message-ID: Steffen Kamper wrote: > 1. use lower case for all selectors except named classes or id's that use > camelCase I like tags in upper case: TABLE.className instead of table.className. Much easier to see tag. > 2. use following formatting rules: > > selector[SPACE]{ > [TAB]style:[SPACE]value; > } > [empty line] .link { color: red } looks visually longer and slower to understand than .link { color: red; } -- Dmitry Dulepov Learn more about TYPO3: http://typo3bloke.net/ From bedlamhotel at gmail.com Mon Jun 2 09:01:40 2008 From: bedlamhotel at gmail.com (Christopher Torgalson) Date: Mon, 2 Jun 2008 09:01:40 +0200 Subject: [TYPO3-dev] CSS Coding GuidLines In-Reply-To: References: Message-ID: On Mon, Jun 2, 2008 at 8:47 AM, Dmitry Dulepov [typo3] wrote: > Steffen Kamper wrote: >> 1. use lower case for all selectors except named classes or id's that use >> camelCase > > I like tags in upper case: TABLE.className instead of table.className. Much easier to see tag. No. TYPO3 insists on using xhtml only, and in xhtml, 'TABLE' is not the same thing as 'table' [1]. Besides, any decent editor (e.g. Textmate) displays, or can display, various selectors in different colours. >> 2. use following formatting rules: >> >> selector[SPACE]{ >> [TAB]style:[SPACE]value; >> } >> [empty line] > > .link { > color: red > } > > looks visually longer and slower to understand than > > .link { color: red; } Sure, it's ok with *one* property, but what about with multiple properties? It becomes totally incomprehensible with a long list: .someClass { font-size:150%; border-top:1px solid #9ab; border-bottom:1px solid #9ab; padding-top:.125em; padding-bottom:.125em; margin:0; background-color:#f90; background-image:url(path/to/img.jpg); background-repeat:no-repeat; background-position:0 0; float:right; } -1 to both suggestions from me. [1] http://www.w3.org/TR/xhtml1/#h-4.2 -- Christopher Torgalson http://www.typo3apprentice.com/ From ingo at typo3.org Mon Jun 2 09:05:16 2008 From: ingo at typo3.org (Ingo Renner) Date: Mon, 02 Jun 2008 09:05:16 +0200 Subject: [TYPO3-dev] Moving Workspace code into a separate system extension In-Reply-To: References: Message-ID: Benjamin Mack wrote: Hi Benni, > =============================== > > If the rest of the core team thinks it's a good idea and if you can do > it without touching critical parts in terms of security and how > workspaces work (that means, if you touch only UI stuff), then I'm fine > with this. > > - kasper > =============================== > > > Is that what you had in mind as well, Ingo? part of it. A major new feature would be to have custom stages (and custom order of stages). Unfortunately there are some obstacles: There're magic numbers all over the place. Those have to be consolidated first. Next thing is that the current IDs for the stages are like follows: -1: Rejected 0: Editing 1: Review 10: Publish When implementing custom stages we need to turn 1 and 10 into negative numbers first as custom stages would be represented by records and would thus have positive numbers. For the UI part: As the workspace module represents part of the page tree I wondered whether it wouldn't be better to move it under the web module (Web->Workspaces). It would then automatically have a page tree. Also the tree already highlights pages that have been changed in a workspace. With the page tree you could then also add a clickmenu entry called "publish" or the like which could publish a whole (sub) branch. makes sense? Ingo -- Ingo Renner TYPO3 Core Developer, Release Manager TYPO3 4.2 From ingo at typo3.org Mon Jun 2 09:06:22 2008 From: ingo at typo3.org (Ingo Renner) Date: Mon, 02 Jun 2008 09:06:22 +0200 Subject: [TYPO3-dev] Moving Workspace code into a separate system extension In-Reply-To: References: Message-ID: Benjamin Mack wrote: > we also discussed with some others that everything that belongs to > workspaces and is in the topmenu should go in a topmenu-dropdown (like > the others) to make it consistent with the other topmenu-dropdowns > (search). you mean the new toolbar at the top in 4.2? Yes of course! That would save some space. Ingo -- Ingo Renner TYPO3 Core Developer, Release Manager TYPO3 4.2 From ingo at typo3.org Mon Jun 2 09:07:45 2008 From: ingo at typo3.org (Ingo Renner) Date: Mon, 02 Jun 2008 09:07:45 +0200 Subject: [TYPO3-dev] Moving Workspace code into a separate system extension In-Reply-To: References: Message-ID: Dmitry Dulepov [typo3] wrote: > Imagine it with 20 workspaces ;) so what? wouldn't be that much longer than it would be today =) Ingo -- Ingo Renner TYPO3 Core Developer, Release Manager TYPO3 4.2 From ingo at typo3.org Mon Jun 2 09:09:02 2008 From: ingo at typo3.org (Ingo Renner) Date: Mon, 02 Jun 2008 09:09:02 +0200 Subject: [TYPO3-dev] Moving Workspace code into a separate system extension In-Reply-To: References: Message-ID: Dmitry Dulepov [typo3] wrote: Hi Dmitry, > I see a problem with 20 radio buttons. Too many. who talked about radios? =) It's gonna be a menu like the shortcut menu. The current WS would then just be highlighted. Ingo -- Ingo Renner TYPO3 Core Developer, Release Manager TYPO3 4.2 From ingo at typo3.org Mon Jun 2 09:12:19 2008 From: ingo at typo3.org (Ingo Renner) Date: Mon, 02 Jun 2008 09:12:19 +0200 Subject: [TYPO3-dev] Moving Workspace code into a separate system extension In-Reply-To: References: Message-ID: Martin Kutschker wrote: > Ideally the UI element was placed above the page tree, but as not every > module shows it that is no option. another issue is that the selector influences the whole BE instead of just the tree... Ingo -- Ingo Renner TYPO3 Core Developer, Release Manager TYPO3 4.2 From ingo at typo3.org Mon Jun 2 09:14:51 2008 From: ingo at typo3.org (Ingo Renner) Date: Mon, 02 Jun 2008 09:14:51 +0200 Subject: [TYPO3-dev] Moving Workspace code into a separate system extension In-Reply-To: References: Message-ID: Steffen Kamper wrote: Hi Steffen, > the problem atm i see is that changing WS needs to reload the whole BE. > I don't know the exact reason but i think it's because the workspace > selector in Toolbar, correct me if i'm wrong. it's there because the WS setting also has an influence on what modules are visible in a WS (file module f.e.) Ingo -- Ingo Renner TYPO3 Core Developer, Release Manager TYPO3 4.2 From dmitry at typo3.org Mon Jun 2 09:17:23 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Mon, 02 Jun 2008 10:17:23 +0300 Subject: [TYPO3-dev] CSS Coding GuidLines In-Reply-To: References: Message-ID: Christopher Torgalson wrote: > No. TYPO3 insists on using xhtml only, and in xhtml, 'TABLE' is not > the same thing as 'table' [1]. Besides, any decent editor (e.g. > Textmate) displays, or can display, various selectors in different > colours. Did I say anything about using TABLE instead of table in HTML? No, I did not. Your reply talks about the wrong thing. CSS is case-insensitive. So TABLE=table in CSS and every browsers knows the spec and follows it. > Sure, it's ok with *one* property, but what about with multiple > properties? It becomes totally incomprehensible with a long list: Did I say I want single line always? -- Dmitry Dulepov Learn more about TYPO3: http://typo3bloke.net/ From dmitry at typo3.org Mon Jun 2 09:18:49 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Mon, 02 Jun 2008 10:18:49 +0300 Subject: [TYPO3-dev] Moving Workspace code into a separate system extension In-Reply-To: References: Message-ID: Ingo Renner wrote: > who talked about radios? =) Someone earlier in this thread. > It's gonna be a menu like the shortcut menu. The current WS would then > just be highlighted. Menu with 20 items is probably ok. Not sure how it will look with 40 items or so... -- Dmitry Dulepov Learn more about TYPO3: http://typo3bloke.net/ From bedlamhotel at gmail.com Mon Jun 2 09:33:58 2008 From: bedlamhotel at gmail.com (Christopher Torgalson) Date: Mon, 2 Jun 2008 09:33:58 +0200 Subject: [TYPO3-dev] CSS Coding GuidLines In-Reply-To: References: Message-ID: On Mon, Jun 2, 2008 at 9:17 AM, Dmitry Dulepov [typo3] wrote: > Christopher Torgalson wrote: >> No. TYPO3 insists on using xhtml only, and in xhtml, 'TABLE' is not >> the same thing as 'table' [1]. Besides, any decent editor (e.g. >> Textmate) displays, or can display, various selectors in different >> colours. > > Did I say anything about using TABLE instead of table in HTML? No, I did not. Your reply talks about the wrong thing. > > CSS is case-insensitive. So TABLE=table in CSS and every browsers knows the spec and follows it. This is true, but not particularly relevant. The elements to be styled (i.e. the markup) *must* be lower-case, and the css selectors should match. CSS is case-insensitive, but for every kind of selector *except* xhtml elements, the case *must* match what is found in the markup. I see no reason to allow such an inconsistency in formal coding guidelines. Incidentally, the author of the spec--w3c--does say that selector names should match what is found in the styled document: "The case-sensitivity of document language element names in selectors depends on the document language. For example, in HTML, element names are case-insensitive, but in XML they are case-sensitive." [1] >> Sure, it's ok with *one* property, but what about with multiple >> properties? It becomes totally incomprehensible with a long list: > > Did I say I want single line always? No, but this would add another unnecessary inconsistency. [1]http://www.w3.org/TR/CSS21/selector.html#pattern-matching -- Christopher Torgalson http://www.typo3apprentice.com/ From george at reea.net Mon Jun 2 09:58:53 2008 From: george at reea.net (Ilies George) Date: Mon, 02 Jun 2008 10:58:53 +0300 Subject: [TYPO3-dev] aoe_realurl Message-ID: Hello everyone. I have a problem with aoe_realurl. It seems to ignore the flag tx_aoerealurlpath_overridepath, for pages located under a parent page having this flag set. Clearing the cache ofcourse triggers the path generation for the first level of subpages below the page with the flag set, however deeper on the hyerarchy the flaged page's title is not excluded any longer. Any advice is welcome. -- George Ilies Piata Republicii nr.41 tel/fax: 0265-264856 0365-405137 web developer 540110, Tg. Mures george at reea.net Romania office at reea.net www.reea.net From steffen at sk-typo3.de Mon Jun 2 10:07:43 2008 From: steffen at sk-typo3.de (Steffen Kamper) Date: Mon, 2 Jun 2008 10:07:43 +0200 Subject: [TYPO3-dev] Moving Workspace code into a separate system extension References: Message-ID: "Ingo Renner" schrieb im Newsbeitrag news:mailman.1.1212390891.16516.typo3-dev at lists.netfielders.de... > Steffen Kamper wrote: > > Hi Steffen, > >> the problem atm i see is that changing WS needs to reload the whole BE. >> I don't know the exact reason but i think it's because the workspace >> selector in Toolbar, correct me if i'm wrong. > > it's there because the WS setting also has an influence on what modules > are visible in a WS (file module f.e.) > > Hi Ingo, this can be done with ajax, as we already do in extension manager. vg Steffen From michael at typo3.org Mon Jun 2 08:39:30 2008 From: michael at typo3.org (Michael Stucki) Date: Mon, 02 Jun 2008 08:39:30 +0200 Subject: [TYPO3-dev] [TYPO3-core] FYI: extensions moved to the core project on bugs.typo3.org References: Message-ID: There's the possibility to post news on the Mantis frontpage. Please do that. - michael Dmitry Dulepov [typo3] wrote: > Ingo Renner wrote: >> this is why I wrote this mail =) >> - I don't know a solution for that > > Hm. Is it possible to create a project in Mantis, which is read-only? May > be with custom project status "obsolete - use felogin!!!". Something, just > not to let people down. > -- Use a newsreader! Check out http://typo3.org/community/mailing-lists/use-a-news-reader/ From steffen at sk-typo3.de Mon Jun 2 10:15:24 2008 From: steffen at sk-typo3.de (Steffen Kamper) Date: Mon, 2 Jun 2008 10:15:24 +0200 Subject: [TYPO3-dev] CSS Coding GuidLines References: Message-ID: "Dmitry Dulepov [typo3]" schrieb im Newsbeitrag news:mailman.1.1212389249.10114.typo3-dev at lists.netfielders.de... > .link { > color: red > } > > looks visually longer and slower to understand than > > .link { color: red; } > > -- same in php, i could argue if ($ i== 0) $i = 1; looks visual shorter ... I don't like the mixes, so better to use one formatting rule at all. vg Steffen From ingo at typo3.org Mon Jun 2 10:20:56 2008 From: ingo at typo3.org (Ingo Renner) Date: Mon, 02 Jun 2008 10:20:56 +0200 Subject: [TYPO3-dev] Moving Workspace code into a separate system extension In-Reply-To: References: Message-ID: Steffen Kamper wrote: > this can be done with ajax, as we already do in extension manager. let's see, I'm not that optimistic this time ;) Ingo -- Ingo Renner TYPO3 Core Developer, Release Manager TYPO3 4.2 From Chrissitopher at gmx.de Mon Jun 2 14:10:53 2008 From: Chrissitopher at gmx.de (Christopher) Date: Mon, 2 Jun 2008 14:10:53 +0200 Subject: [TYPO3-dev] How do I compare multiple files using diff? Message-ID: Hi guys, at the moment I am using the following line to compare differences between 2 files: $output_1"); ?> (I don't have shell-access available.) Now I want to compare twice two files or three times two files (not whole folders!) AND want the result in just ONE otput file. How do I achieve this? -- Christopher From martin.kutschker-no at spam-blackbox.net Mon Jun 2 14:52:05 2008 From: martin.kutschker-no at spam-blackbox.net (Martin Kutschker) Date: Mon, 02 Jun 2008 14:52:05 +0200 Subject: [TYPO3-dev] How do I compare multiple files using diff? In-Reply-To: References: Message-ID: Christopher schrieb: > Hi guys, > > at the moment I am using the following line to compare differences between 2 > files: > > exec("diff -u $oldFile_1 $newFile_1 > $output_1"); > ?> > (I don't have shell-access available.) > > Now I want to compare twice two files or three times two files (not whole > folders!) AND want the result in just ONE otput file. > How do I achieve this? You could do something like this exec("diff -u $oldFile_1 $newFile_1 > $output; diff -u $oldFile_2 $newFile_2 >> $output"); Masi From martin.kutschker-no at spam-blackbox.net Mon Jun 2 16:12:39 2008 From: martin.kutschker-no at spam-blackbox.net (Martin Kutschker) Date: Mon, 02 Jun 2008 16:12:39 +0200 Subject: [TYPO3-dev] Moving Workspace code into a separate system extension In-Reply-To: References: Message-ID: Ingo Renner schrieb: > There're magic numbers all over the place. Those have to be consolidated > first. Next thing is that the current IDs for the stages are like follows: > > -1: Rejected > 0: Editing > 1: Review > 10: Publish > > When implementing custom stages we need to turn 1 and 10 into negative > numbers first as custom stages would be represented by records and would > thus have positive numbers. Not necessarily. Custom stages could get numbers starting from 100. This works if you add some additional field that defines the order of the stages. Extra information could also make some stages optional or you could have branches. That means for some reason you could go from one stage to different stages depending on a condition (page tree, user, user group, etc). There have also been works in that area. At least sojme research. Maybe you want to contact the folks first (send me a PM for details). > For the UI part: > As the workspace module represents part of the page tree I wondered > whether it wouldn't be better to move it under the web module > (Web->Workspaces). It would then automatically have a page tree. Also > the tree already highlights pages that have been changed in a workspace. > With the page tree you could then also add a clickmenu entry called > "publish" or the like which could publish a whole (sub) branch. You noticed yoursefl that a WS change may affect the list of available modules. Masi From info at bednarik.org Mon Jun 2 18:59:43 2008 From: info at bednarik.org (Jan Bednarik) Date: Mon, 02 Jun 2008 18:59:43 +0200 Subject: [TYPO3-dev] Safe memory limit In-Reply-To: References: Message-ID: > Btw, you can try changing the limit in Install tool. I did try, but it didn't work. -- Jan Bednarik www.bednarik.org - web about Typo3 in czech From dosipov at phillyburbs.com Mon Jun 2 20:27:04 2008 From: dosipov at phillyburbs.com (Dan Osipov) Date: Mon, 02 Jun 2008 14:27:04 -0400 Subject: [TYPO3-dev] Global markers Message-ID: Hey everyone! We're having some issues with templates and markers. There are certain markers we have to implement in tt_news, and other extensions, just to have proper URLs in the front-end template. I'm sure there is an easier way that we've overlooked. So, here is a suggestion: Basically there should be a SINGLE file or directory somewhere that has a global marker array in the form: Array( 'PAGE_TITLE' => [call to function fetching page title], 'PAGE_UID' => [call to function fetching page id], 'FULL_URL' => ..., ... ); These markers would obviously need some implementation to minimize the collisions with markers inside other templates, etc. I think something along the lines of ###GLOBALS.PAGE_TITLE###, that is ###GLOBALS.__key_in_array__### is set for every template in the current page and all descendants. This would make it easy to add different things that are used over and over in the templates. Does anyone have any suggestions for this? Any way to accomplish this in TypoScript, that we overlooked? -- Dan Osipov Calkins Media http://phillyburbs.com/ From christoph.koehler at gmail.com Mon Jun 2 21:39:53 2008 From: christoph.koehler at gmail.com (Christoph Koehler) Date: Mon, 2 Jun 2008 19:39:53 +0000 (UTC) Subject: [TYPO3-dev] forge authentication Message-ID: Hello, We are thinking about switching to redmine for project management and were wondering how forge does the single sign on. The more detail you can provide, the better. Thanks! Christoph -- I'm using an evaluation license of nemo since 357 days. You should really try it! http://www.malcom-mac.com/nemo From dmitry at typo3.org Mon Jun 2 21:50:28 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Mon, 02 Jun 2008 22:50:28 +0300 Subject: [TYPO3-dev] forge authentication In-Reply-To: References: Message-ID: Christoph Koehler wrote: > We are thinking about switching to redmine for project management and > were wondering how forge does the single sign on. The more detail you > can provide, the better. Google gave me some answers. For example: http://buzz.typo3.org/people/sebastian/article/typo3-forge-behind-the-scenes-one-user-one-password/ You may want to contact Sebastian for details. -- Dmitry Dulepov Learn more about TYPO3: http://typo3bloke.net/ From christoph.koehler at gmail.com Mon Jun 2 22:30:26 2008 From: christoph.koehler at gmail.com (Christoph Koehler) Date: Mon, 2 Jun 2008 20:30:26 +0000 (UTC) Subject: [TYPO3-dev] forge authentication References: Message-ID: In article "Dmitry Dulepov [typo3]" wrote: > Christoph Koehler wrote: >> We are thinking about switching to redmine for project management >> and were wondering how forge does the single sign on. The more >> detail you can provide, the better. > Google gave me some answers. For example: > http://buzz.typo3.org/people/sebastian/article/typo3-forge-behind-the- > scenes-one-user-one-password/ > You may want to contact Sebastian for details. Thanks Dmitry, will do that. -- I'm using an evaluation license of nemo since 357 days. You should really try it! http://www.malcom-mac.com/nemo From Chrissitopher at gmx.de Mon Jun 2 22:44:05 2008 From: Chrissitopher at gmx.de (Christopher) Date: Mon, 2 Jun 2008 22:44:05 +0200 Subject: [TYPO3-dev] How do I compare multiple files using diff? References: Message-ID: "Martin Kutschker" schrieb im Newsbeitrag news:mailman.1.1212411125.11305.typo3-dev at lists.netfielders.de... > Christopher schrieb: >> Hi guys, >> >> at the moment I am using the following line to compare differences >> between 2 files: >> >> > exec("diff -u $oldFile_1 $newFile_1 > $output_1"); >> ?> >> (I don't have shell-access available.) >> >> Now I want to compare twice two files or three times two files (not whole >> folders!) AND want the result in just ONE otput file. >> How do I achieve this? > > You could do something like this exec("diff -u $oldFile_1 $newFile_1 > > $output; diff -u $oldFile_2 $newFile_2 >> $output"); Hey, thanks for the hint. How about a for-each-loop? -- Christopher From erik at linnearad.no Mon Jun 2 23:15:15 2008 From: erik at linnearad.no (Erik Svendsen) Date: Mon, 2 Jun 2008 21:15:15 +0000 (UTC) Subject: [TYPO3-dev] CSS Coding GuidLines References: Message-ID: Hello Steffen, Nice initiative. Another +1 As a TYPO3 guy who mostly implement TYPO3 websites, and doing all the HTML and CSS coding, I'm bit feed up with the unorganized way of CSS in some extensions. All your ideas are more and less exactly how I prefer to do it, exept I'm a bit unorganized beetween the use of camelCase and hyphen, and . But that most old habbits. WBR, Erik Svendsen www.linnearad.no > Hi, > > as we don't have CGL for css i would like to initiate that and do a > proposal > here. > As CSS isnt't that complicate syntax, it's short enough to write it > down > 1. use lower case for all selectors except named classes or id's that > use camelCase > > 2. use following formatting rules: > > selector[SPACE]{ > [TAB]style:[SPACE]value; > } > [empty line] > for more selectors use single lines > > selector1, > selector2, > selector3[SPACE]{ > [TAB]style:[SPACE]value; > } > [empty line] > 3. group styling and comment what they do > > /* styling module menu */ > ... > 4. use lower case HEX-values > color: #eeff00; > background-color: #aaa; > These are the formatting rules, but we also need common sense in: > a) use em for dimension for scalable content, use px only for fixed > formats > never use pt. 0Values are 0 and not 0px or 0em > b) try to pretend intensive usage of abb. like > background: transparent url('gfx/ol/line.gif') repeat-y top left; > and use single expressions instead: > background-color: transparent; > background-image: url('gfx/ol/line.gif'); > etc. > Ok, that's my proposal. Did i forgot something or do you veto for > something? Feel free to comment. > > vg Steffen > From christoph.koehler at gmail.com Tue Jun 3 05:31:52 2008 From: christoph.koehler at gmail.com (Christoph Koehler) Date: Tue, 3 Jun 2008 03:31:52 +0000 (UTC) Subject: [TYPO3-dev] Ruby SOAP client for TER Message-ID: Hello, Trying to build a SOAP client to talk to TER. I don't know much about SOAP, but something seems wrong. I can't even create a SOAP Driver with this URL: My Ruby: wsdl_url = "" soap = SOAP::WSDLDriverFactory.new(wsdl_url).create_rpc_driver Doing this: s = SOAP::RPC::Driver.new(wsdl_url) s.add_method("ping", "text") p s.ping("ping") Just returns the standard XML I would get pointing my browser to that URL. Any ideas? Christoph -- I'm using an evaluation license of nemo since 357 days. You should really try it! http://www.malcom-mac.com/nemo From steffen at sk-typo3.de Tue Jun 3 09:15:11 2008 From: steffen at sk-typo3.de (Steffen Kamper) Date: Tue, 3 Jun 2008 09:15:11 +0200 Subject: [TYPO3-dev] Ruby SOAP client for TER References: Message-ID: "Christoph Koehler" schrieb im Newsbeitrag news:mailman.1.1212463912.1343.typo3-dev at lists.netfielders.de... > Hello, > > Trying to build a SOAP client to talk to TER. I don't know much about > SOAP, but something seems wrong. I can't even create a SOAP Driver > with this URL: My Ruby: > > wsdl_url = "" > soap = SOAP::WSDLDriverFactory.new(wsdl_url).create_rpc_driver > > Doing this: > > s = SOAP::RPC::Driver.new(wsdl_url) > s.add_method("ping", "text") > > p s.ping("ping") > > Just returns the standard XML I would get pointing my browser to that > URL. > > Any ideas? > > Christoph Hi Christoph, i don't know any RUBY, but you should compare that with the way php does. switch ($this->options['implementation']) { case 'nusoap': $this->client =& new soapclient($this->options['wsdl'], true); $this->client->getProxy(); break; case 'pearsoap': $this->client =& new SOAP_Client($this->options['wsdl'], true); break; case 'phpsoap': $this->client =& new SoapClient($options['wsdl'],(array)$options['soapoptions']); break; default: $this->client = false; } then you should get the methods available and eg do an authentification. vg Steffen From martin.kutschker-no at spam-blackbox.net Tue Jun 3 09:44:03 2008 From: martin.kutschker-no at spam-blackbox.net (Martin Kutschker) Date: Tue, 03 Jun 2008 09:44:03 +0200 Subject: [TYPO3-dev] How do I compare multiple files using diff? In-Reply-To: References: Message-ID: Christopher schrieb: > "Martin Kutschker" schrieb im > Newsbeitrag > news:mailman.1.1212411125.11305.typo3-dev at lists.netfielders.de... >> Christopher schrieb: >>> Hi guys, >>> >>> at the moment I am using the following line to compare differences >>> between 2 files: >>> >>> >> exec("diff -u $oldFile_1 $newFile_1 > $output_1"); >>> ?> >>> (I don't have shell-access available.) >>> >>> Now I want to compare twice two files or three times two files (not whole >>> folders!) AND want the result in just ONE otput file. >>> How do I achieve this? >> You could do something like this exec("diff -u $oldFile_1 $newFile_1 > >> $output; diff -u $oldFile_2 $newFile_2 >> $output"); > > Hey, thanks for the hint. > How about a for-each-loop? No problem as long as you use >> to append to the file. Masi From simon at FJERNDETTEsimm.dk Tue Jun 3 17:04:20 2008 From: simon at FJERNDETTEsimm.dk (Simon Justesen) Date: Tue, 03 Jun 2008 17:04:20 +0200 Subject: [TYPO3-dev] Does Page Template Selector (rlmp_tmplselector) work with TYPO3 4.2 Message-ID: Hi fellow Typo3-users A brief question - does Page Template Selector (rlmp_tmplselector) work with TYPO3 4.2? My own findings is a clear no! and I think it is related to the fact that theres no Advanced-page type in T3 4.2, is that right? I've studied the source code but I've been unable to find out where I need to do adjustments. Can anyone point me in the right direction? Best regards, Simon From info at rs-websystems.de Tue Jun 3 17:13:40 2008 From: info at rs-websystems.de (Steffen Ritter) Date: Tue, 03 Jun 2008 17:13:40 +0200 Subject: [TYPO3-dev] Does Page Template Selector (rlmp_tmplselector) work with TYPO3 4.2 In-Reply-To: References: Message-ID: A brief answer: it does :P Fault must be in your installation. greeting Steffen Simon Justesen schrieb: > Hi fellow Typo3-users > > A brief question - does Page Template Selector (rlmp_tmplselector) work > with TYPO3 4.2? > > My own findings is a clear no! and I think it is related to the fact > that theres no Advanced-page type in T3 4.2, is that right? > > I've studied the source code but I've been unable to find out where I > need to do adjustments. Can anyone point me in the right direction? > > Best regards, > Simon From christoph.koehler at gmail.com Tue Jun 3 17:32:23 2008 From: christoph.koehler at gmail.com (Christoph Koehler) Date: Tue, 3 Jun 2008 15:32:23 +0000 (UTC) Subject: [TYPO3-dev] Ruby SOAP client for TER References: Message-ID: In article "Steffen Kamper" wrote: > Hi Christoph, > i don't know any RUBY, but you should compare that with the way php > does. > switch ($this->options['implementation']) { > case 'nusoap': > $this->client =& new soapclient($this->options['wsdl'], true); > $this->client->getProxy(); > break; > case 'pearsoap': > $this->client =& new SOAP_Client($this->options['wsdl'], true); > break; > case 'phpsoap': > $this->client =& new > SoapClient($options['wsdl'],(array)$options['soapoptions']); > break; > default: > $this->client = false; > } > then you should get the methods available and eg do an > authentification. > vg Steffen Steffen, Yeah I looked at that. This is the way Ruby does it, but I can't even create the client because of the errors. There is one default="true" attribute that gives out an error, and if I tweak the xml manually and remove portions, it loads fine, so I am guessing it's either something non-standard about the XML or the Ruby SOAP lib just can't handle it. Christoph -- I'm using an evaluation license of nemo since 357 days. You should really try it! http://www.malcom-mac.com/nemo From simon at FJERNDETTEsimm.dk Tue Jun 3 18:01:35 2008 From: simon at FJERNDETTEsimm.dk (Simon Justesen) Date: Tue, 03 Jun 2008 18:01:35 +0200 Subject: [TYPO3-dev] Does Page Template Selector (rlmp_tmplselector) work with TYPO3 4.2 In-Reply-To: References: Message-ID: Steffen Ritter skrev: > A brief answer: it does :P > Fault must be in your installation. > > greeting Steffen > > Simon Justesen schrieb: >> Hi fellow Typo3-users >> >> A brief question - does Page Template Selector (rlmp_tmplselector) >> work with TYPO3 4.2? >> >> My own findings is a clear no! and I think it is related to the fact >> that theres no Advanced-page type in T3 4.2, is that right? >> >> I've studied the source code but I've been unable to find out where I >> need to do adjustments. Can anyone point me in the right direction? >> >> Best regards, >> Simon Damn, hehe... I'll dig deeper into it then Thanks Steffen! From ingo at typo3.org Tue Jun 3 19:27:04 2008 From: ingo at typo3.org (Ingo Renner) Date: Tue, 03 Jun 2008 19:27:04 +0200 Subject: [TYPO3-dev] Does Page Template Selector (rlmp_tmplselector) work with TYPO3 4.2 In-Reply-To: References: Message-ID: Simon Justesen wrote: > Hi fellow Typo3-users > > A brief question - does Page Template Selector (rlmp_tmplselector) work > with TYPO3 4.2? works on my end Ingo -- Ingo Renner TYPO3 Core Developer, Release Manager TYPO3 4.2 From Chrissitopher at gmx.de Tue Jun 3 19:38:43 2008 From: Chrissitopher at gmx.de (Christopher) Date: Tue, 3 Jun 2008 19:38:43 +0200 Subject: [TYPO3-dev] How do I compare multiple files using diff? References: Message-ID: "Martin Kutschker" schrieb im Newsbeitrag news:mailman.1.1212479042.28279.typo3-dev at lists.netfielders.de... > Christopher schrieb: >> "Martin Kutschker" schrieb im >> Newsbeitrag >> news:mailman.1.1212411125.11305.typo3-dev at lists.netfielders.de... >>> Christopher schrieb: >>>> Hi guys, >>>> >>>> at the moment I am using the following line to compare differences >>>> between 2 files: >>>> >>>> >>> exec("diff -u $oldFile_1 $newFile_1 > $output_1"); >>>> ?> >>>> (I don't have shell-access available.) >>>> >>>> Now I want to compare twice two files or three times two files (not >>>> whole folders!) AND want the result in just ONE otput file. >>>> How do I achieve this? >>> You could do something like this exec("diff -u $oldFile_1 $newFile_1 > >>> $output; diff -u $oldFile_2 $newFile_2 >> $output"); >> >> Hey, thanks for the hint. >> How about a for-each-loop? > > No problem as long as you use >> to append to the file. Cool! :-) Christopher From blueduck at gmx.net Tue Jun 3 20:24:50 2008 From: blueduck at gmx.net (Stefano Kowalke) Date: Tue, 03 Jun 2008 20:24:50 +0200 Subject: [TYPO3-dev] BE: Where does this label come from? References: Message-ID: Martin Kutschker wrote: > Benjamin Mack schrieb: >> Hey, >> >> imho it would belong to "typo3/sysext/lang/locallang_core.xml". > > My point that this makes also sense for all kinds of BE and FE > extensions. locallang_core and locallang_misc have all kind of "random" > stuff. and are not "pure" enough for a small locallang file of general > every day use. > > Masi I could create a list at the wiki at translation section were we collect all daily used labels for a locallang_common.xml file. Stefano -- Seit?dem?1.1.2008?werden?Daten?zu?jeder?E-Mail?verdachtsunabh?ngig?gespeichert!? Weitere?Informationen: www.vorratsdatenspeicherung.de GPG-ID: 0x2B08936D Key-Fingerprint: 7F31 BCF0 70C0 B3B1 1235 07E9 1777 D7A0 2B08 936D From martin.kutschker-n0spam at no5pam-blackbox.net Tue Jun 3 22:22:32 2008 From: martin.kutschker-n0spam at no5pam-blackbox.net (Martin Kutschker) Date: Tue, 03 Jun 2008 22:22:32 +0200 Subject: [TYPO3-dev] BE: Where does this label come from? In-Reply-To: References: Message-ID: Stefano Kowalke schrieb: > Martin Kutschker wrote: > >> Benjamin Mack schrieb: >>> Hey, >>> >>> imho it would belong to "typo3/sysext/lang/locallang_core.xml". >> My point that this makes also sense for all kinds of BE and FE >> extensions. locallang_core and locallang_misc have all kind of "random" >> stuff. and are not "pure" enough for a small locallang file of general >> every day use. >> >> Masi > > > I could create a list at the wiki at translation section were we collect all > daily used labels for a locallang_common.xml file. Nice idea. Here's a starter: yes no OK cancel open close about Maybe also "about %1" etc. The point of the %1 is to make a whole sentence in any language (see sprintf). Masi From steffen at sk-typo3.de Tue Jun 3 23:02:48 2008 From: steffen at sk-typo3.de (Steffen Kamper) Date: Tue, 3 Jun 2008 23:02:48 +0200 Subject: [TYPO3-dev] BE: Where does this label come from? References: Message-ID: "Martin Kutschker" schrieb im Newsbeitrag news:mailman.1.1212524549.3458.typo3-dev at lists.netfielders.de... > > Nice idea. Here's a starter: > > yes > no > OK > cancel > open > close > about > help up down left right move edit save view print some more vg Steffen From blueduck at gmx.net Wed Jun 4 00:12:16 2008 From: blueduck at gmx.net (Stefano Kowalke) Date: Wed, 04 Jun 2008 00:12:16 +0200 Subject: [TYPO3-dev] BE: Where does this label come from? References: Message-ID: Steffen Kamper wrote: > help > up > down > left > right > move > edit > save > view > print Thanks for first labels. Feel free and add your further suggestions to http://wiki.typo3.org/index.php/Translations#Proposal_for_a_locallang_common.xml Stefano -- Seit?dem?1.1.2008?werden?Daten?zu?jeder?E-Mail?verdachtsunabh?ngig?gespeichert!? Weitere?Informationen: www.vorratsdatenspeicherung.de GPG-ID: 0x2B08936D Key-Fingerprint: 7F31 BCF0 70C0 B3B1 1235 07E9 1777 D7A0 2B08 936D From greg at mediatech.net Wed Jun 4 01:38:53 2008 From: greg at mediatech.net (Gregory Remington) Date: Tue, 03 Jun 2008 16:38:53 -0700 Subject: [TYPO3-dev] Does Page Template Selector (rlmp_tmplselector) work with TYPO3 4.2 In-Reply-To: References: Message-ID: Simon Justesen wrote: > Hi fellow Typo3-users > > A brief question - does Page Template Selector (rlmp_tmplselector) work > with TYPO3 4.2? Since TYPO3 4.2, some extensions require that you go back and save the extension configuration in the Extension Manager after installing. See bugs.typo3.org/view.php for details. Cheers, Greg From greg at mediatech.net Wed Jun 4 01:40:07 2008 From: greg at mediatech.net (Gregory Remington) Date: Tue, 03 Jun 2008 16:40:07 -0700 Subject: [TYPO3-dev] Does Page Template Selector (rlmp_tmplselector) work with TYPO3 4.2 In-Reply-To: References: Message-ID: Gregory Remington wrote: > bugs.typo3.org/view.php for details. That was supposed to be http://bugs.typo3.org/view.php?id=8307 Regards, Greg From simon at rundell.org.uk Wed Jun 4 08:42:08 2008 From: simon at rundell.org.uk (Fr. Simon Rundell SCP) Date: Wed, 4 Jun 2008 07:42:08 +0100 Subject: [TYPO3-dev] Upload to TER broken? Message-ID: In my 4.2.0 installation, whenever I try and upload to the TER, instead of getting a response and an EM_CONF update, I just get a blank main window. This means my wonderful thin-client xml driven database is stuck on my server. Anyone else having this problem? Any solution? Also, can the kickstarter developers consider making it an option to keep the existing version number, as it is a real pain when the version numbering resets to 0.0.0 everytime I make a minor data change. Many thanks Fr. Simon -- Fr. Simon Rundell SCP Parish of S. Thomas the Apostle, Elson The Vicarage, 21 Elson Road, Gosport, Hants, UK, PO12 4BL Tel: 02392 582824 Mob: 07976 802123 email: simon at rundell.org.uk web: http://www.saintthomaselson.org.uk blog: http://frsimon.wordpress.com "I came that you may have life - life in all its fullness" John 10:10 READ CAREFULLY. By reading this email, you agree, on behalf of your employer, to release me from all obligations and waivers arising from any and all NON-NEGOTIATED agreements, licenses, terms-of-service, shrinkwrap, clickwrap, browsewrap, confidentiality, non-disclosure, non-compete and acceptable use policies ("BOGUS AGREEMENTS") that I have entered into with your employer, its partners, licensors, agents and assigns, in perpetuity, without prejudice to my ongoing rights and privileges. You further represent that you have the authority to release me from any BOGUS AGREEMENTS on behalf of your employer. From simon at FJERNDETTEsimm.dk Wed Jun 4 10:40:19 2008 From: simon at FJERNDETTEsimm.dk (Simon Justesen) Date: Wed, 04 Jun 2008 10:40:19 +0200 Subject: [TYPO3-dev] Does Page Template Selector (rlmp_tmplselector) work with TYPO3 4.2 In-Reply-To: References: Message-ID: Gregory Remington skrev: > Gregory Remington wrote: > >> bugs.typo3.org/view.php for details. > That was supposed to be http://bugs.typo3.org/view.php?id=8307 > > Regards, > Greg Tried that :) I still got some problems. All I get is a blank screen, when I switch to using page template selector Here is some of my TS plugin.tx_rlmptmplselector_pi1 { templateType = main templatePathMain = fileadmin/templates/main/ templatePathSub = fileadmin/templates/sub/ defaultTemplateFileNameMain = index.html inheritMainTemplates = 1 inheritSubTemplates = 1 } plugin.tx_automaketemplate_pi1 { content < plugin.tx_rlmptmplselector_pi1 [comment: also tried with content =< plugin.tx_rlmptmplselector_pi1] content = FILE # content.file = fileadmin/templates/main/index.html content.defaultTemplateFileName = fileadmin/templates/main/index.html elements { BODY.all = 1 BODY.all.subpartMarker = DOCUMENT_BODY HEAD.all = 1 HEAD.all.subpartMarker = DOCUMENT_HEADER HEAD.rmTagSections = title DIV.all = 1 TD.all = 1 } relPathPrefix = fileadmin/templates/main/ } I checked and double checked if the paths are valid, but the problem still persists. The same setup works with TYPO3 4.1.6 Best Regards, Simon From bb at bellevuevej.dk Wed Jun 4 12:20:48 2008 From: bb at bellevuevej.dk (Brian Bendtsen) Date: Wed, 04 Jun 2008 12:20:48 +0200 Subject: [TYPO3-dev] Call tt_news plugin from my created extension? Message-ID: Hi Im creating my own extension where it is possible to relate news from the tt_news extension to my created table. I would like to, not just fetch the related news data from the tt_news table, but also be able to use the tt_news plugin from my extension. Its hard to explain, but I want to be able to call the tt_news plugin from within the php code of my own extension and thereby be able to use the excellent features of the tt_news plugin, but without inserting the tt_news plugin on a page. Does it make sense and if so, can you help? /Brian From podkovanov at gmail.com Wed Jun 4 12:46:41 2008 From: podkovanov at gmail.com (Vladimir Podkovanov) Date: Wed, 04 Jun 2008 14:46:41 +0400 Subject: [TYPO3-dev] ->imageMagickConvert and temp folder Message-ID: Hi All, I'm currently writing gallery extension and try to implement concept that all pictures prepared for view should be in different folder, one folder per one album. Now I'm getting in a next issue. If original image fits all property set for imgResource and does not require scaling, rotating etc then does not being created in temp image folder but using link to original image instead. It does break concept that all images should be in album's folders. Especially it is bad when original image files out of webserver scope for security reason. Really in ->imageMagickConvert there is argument $mustCreate that means "If set, then another image than the input imagefile MUST be returned. Otherwise you can risk that the input image is good enough regarding messures etc and is of course not rendered to a new, temporary file in typo3temp/. But this option will force it to." But unfortunately this arg does not used anywhere else in core. So maybe I should write a patch to implement new property for imgResource like file.mustCreate? What you think? From dmitry at typo3.org Wed Jun 4 14:18:24 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Wed, 04 Jun 2008 15:18:24 +0300 Subject: [TYPO3-dev] ->imageMagickConvert and temp folder In-Reply-To: References: Message-ID: Vladimir Podkovanov wrote: > I'm currently writing gallery extension and try to implement concept > that all pictures prepared for view should be in different folder, one > folder per one album. Why don't you use one of existing extensions? rgsmoothgsallery already can do what you try to do now. -- Dmitry Dulepov Learn more about TYPO3: http://typo3bloke.net/ From bb at bellevuevej.dk Wed Jun 4 14:21:56 2008 From: bb at bellevuevej.dk (Brian Bendtsen) Date: Wed, 04 Jun 2008 14:21:56 +0200 Subject: [TYPO3-dev] Call tt_news plugin from my created extension? In-Reply-To: References: Message-ID: Brian Bendtsen skrev: > Hi > > Im creating my own extension where it is possible to relate news from > the tt_news extension to my created table. > > I would like to, not just fetch the related news data from the tt_news > table, but also be able to use the tt_news plugin from my extension. > > Its hard to explain, but I want to be able to call the tt_news plugin > from within the php code of my own extension and thereby be able to use > the excellent features of the tt_news plugin, but without inserting the > tt_news plugin on a page. > > Does it make sense and if so, can you help? > > /Brian Maybe I should try another way, where I only use typoscript: I have a template with a marker called ###TT_NEWS_PLUGIN### From my php code I try something like this: $markerArray['###TT_NEWS_PLUGIN###'] = $conf['insertnews']; and in my ts setup for the current page I have inserted this: plugin.tt_news { templateFile = fileadmin/templates/extensions/tt_news/tt_news_latest_small.html code = LATEST latestLimit = 2 pid_list = 248 } plugin.tx_myplugin_pi1.newsmarker < plugin.tt_news But the output is "USER". Any hints? /Brian From dmitry at typo3.org Wed Jun 4 14:40:05 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Wed, 04 Jun 2008 15:40:05 +0300 Subject: [TYPO3-dev] Call tt_news plugin from my created extension? In-Reply-To: References: Message-ID: Hi! Brian Bendtsen wrote: > and in my ts setup for the current page I have inserted this: > > plugin.tt_news { > templateFile = > fileadmin/templates/extensions/tt_news/tt_news_latest_small.html > code = LATEST > latestLimit = 2 > pid_list = 248 > } > > plugin.tx_myplugin_pi1.newsmarker < plugin.tt_news > > But the output is "USER". This is correct because "plugin.tt_news" contains string "USER". "<" is a copy operator, it copies TS definition, not the result of execution of that definition. -- Dmitry Dulepov Learn more about TYPO3: http://typo3bloke.net/ From andreas.wagner at klee.se Wed Jun 4 14:51:46 2008 From: andreas.wagner at klee.se (Andreas Wagner) Date: Wed, 04 Jun 2008 14:51:46 +0200 Subject: [TYPO3-dev] Call tt_news plugin from my created extension? In-Reply-To: References: Message-ID: Brian Bendtsen wrote: > > From my php code I try something like this: > > $markerArray['###TT_NEWS_PLUGIN###'] = $conf['insertnews']; > > and in my ts setup for the current page I have inserted this: > > plugin.tt_news { > templateFile = > fileadmin/templates/extensions/tt_news/tt_news_latest_small.html > code = LATEST > latestLimit = 2 > pid_list = 248 > } > > plugin.tx_myplugin_pi1.newsmarker < plugin.tt_news > > But the output is "USER". What happens if you try: $markerArray['###TT_NEWS_PLUGIN###'] = $this->cObj->cObjGetSingle($conf['newsmarker'], $conf['newsmarker.']); Regards, Andreas From bb at bellevuevej.dk Wed Jun 4 15:00:33 2008 From: bb at bellevuevej.dk (Brian Bendtsen) Date: Wed, 04 Jun 2008 15:00:33 +0200 Subject: [TYPO3-dev] Call tt_news plugin from my created extension? In-Reply-To: References: Message-ID: Andreas Wagner skrev: > Brian Bendtsen wrote: >> >> From my php code I try something like this: >> >> $markerArray['###TT_NEWS_PLUGIN###'] = $conf['insertnews']; >> >> and in my ts setup for the current page I have inserted this: >> >> plugin.tt_news { >> templateFile = >> fileadmin/templates/extensions/tt_news/tt_news_latest_small.html >> code = LATEST >> latestLimit = 2 >> pid_list = 248 >> } >> >> plugin.tx_myplugin_pi1.newsmarker < plugin.tt_news >> >> But the output is "USER". > > What happens if you try: > > $markerArray['###TT_NEWS_PLUGIN###'] = > $this->cObj->cObjGetSingle($conf['newsmarker'], $conf['newsmarker.']); > > Regards, > > Andreas Hi Andreas That did it, thank you! /Brian From bb at bellevuevej.dk Wed Jun 4 16:19:24 2008 From: bb at bellevuevej.dk (Brian Bendtsen) Date: Wed, 04 Jun 2008 16:19:24 +0200 Subject: [TYPO3-dev] Call tt_news plugin from my created extension? In-Reply-To: References: Message-ID: Brian Bendtsen skrev: > Andreas Wagner skrev: >> Brian Bendtsen wrote: >>> >>> From my php code I try something like this: >>> >>> $markerArray['###TT_NEWS_PLUGIN###'] = $conf['insertnews']; >>> >>> and in my ts setup for the current page I have inserted this: >>> >>> plugin.tt_news { >>> templateFile = >>> fileadmin/templates/extensions/tt_news/tt_news_latest_small.html >>> code = LATEST >>> latestLimit = 2 >>> pid_list = 248 >>> } >>> >>> plugin.tx_myplugin_pi1.newsmarker < plugin.tt_news >>> >>> But the output is "USER". >> >> What happens if you try: >> >> $markerArray['###TT_NEWS_PLUGIN###'] = >> $this->cObj->cObjGetSingle($conf['newsmarker'], $conf['newsmarker.']); >> >> Regards, >> >> Andreas > Hi Andreas > > That did it, thank you! > > /Brian By the way Do I need to use a hook to add something like "tt_news.tx_myext_field = $this->piVars['myID']" to the tt_news select query? Or is there an easier way? /Brian From podkovanov at gmail.com Wed Jun 4 16:55:57 2008 From: podkovanov at gmail.com (Vladimir Podkovanov) Date: Wed, 04 Jun 2008 18:55:57 +0400 Subject: [TYPO3-dev] ->imageMagickConvert and temp folder In-Reply-To: References: Message-ID: Dmitry Dulepov [typo3] wrote: > Vladimir Podkovanov wrote: >> I'm currently writing gallery extension and try to implement concept >> that all pictures prepared for view should be in different folder, one >> folder per one album. > > Why don't you use one of existing extensions? rgsmoothgsallery > already can do what you try to do now. > Hi Dmitry I've tried rgsmoothgallery, but it is not that concept. What I want is not just show pics from a folder, but get all _generated_ pics also in different folder - one folder per one album. Doing so you can protect images from being hotlinked from outside even when album doesn't exist anymore. So if you remove album folder you are sure you have removed all stuff and any outer link to temp folders will not work. Otherwise you have to clear temp pics folder everytime that is not good. And another point - if you have hundreds of albums with hundreds of pics it is bad idea to store all these tens of thousands generated pics in one folder. It will slow down server performance. -- - rgds - Vladimir From shadow333 at gmail.com Wed Jun 4 17:15:31 2008 From: shadow333 at gmail.com (Oliver Leitner) Date: Wed, 4 Jun 2008 17:15:31 +0200 Subject: [TYPO3-dev] ->imageMagickConvert and temp folder In-Reply-To: References: Message-ID: Hello Dmitry i use jm_gallery, which does just that... greetings Oliver On Wed, Jun 4, 2008 at 4:55 PM, Vladimir Podkovanov wrote: > Dmitry Dulepov [typo3] wrote: > > Vladimir Podkovanov wrote: > >> I'm currently writing gallery extension and try to implement concept > >> that all pictures prepared for view should be in different folder, one > >> folder per one album. > > > > Why don't you use one of existing extensions? rgsmoothgsallery > > already can do what you try to do now. > > > > Hi Dmitry > I've tried rgsmoothgallery, but it is not that concept. > What I want is not just show pics from a folder, but get all _generated_ > pics also in different folder - one folder per one album. Doing so you > can protect images from being hotlinked from outside even when album > doesn't exist anymore. So if you remove album folder you are sure you > have removed all stuff and any outer link to temp folders will not work. > Otherwise you have to clear temp pics folder everytime that is not good. > And another point - if you have hundreds of albums with hundreds of pics > it is bad idea to store all these tens of thousands generated pics in > one folder. It will slow down server performance. > > -- > - rgds - > Vladimir > _______________________________________________ > TYPO3-dev mailing list > TYPO3-dev at lists.netfielders.de > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev > -- Oliver Leitner http://www.neverslair-blog.net From steffen at sk-typo3.de Wed Jun 4 18:31:22 2008 From: steffen at sk-typo3.de (Steffen Kamper) Date: Wed, 4 Jun 2008 18:31:22 +0200 Subject: [TYPO3-dev] Upload to TER broken? References: Message-ID: "Fr. Simon Rundell SCP" schrieb im Newsbeitrag news:mailman.4923.1212561739.4573.typo3-dev at lists.netfielders.de... > In my 4.2.0 installation, whenever I try and upload to the TER, instead of > getting a response and an EM_CONF update, I just get a blank main window. > This means my wonderful thin-client xml driven database is stuck on my > server. Anyone else having this problem? Any solution? > > Also, can the kickstarter developers consider making it an option to keep > the existing version number, as it is a real pain when the version > numbering > resets to 0.0.0 everytime I make a minor data change. > Hi, when ever you get a blanc screen it's a php-error. Go to installtool and enable php-errors (displayError) to see what happens. In your case i guess memory problem or timeout. vg Steffen From ingo at typo3.org Wed Jun 4 19:17:44 2008 From: ingo at typo3.org (Ingo Renner) Date: Wed, 04 Jun 2008 19:17:44 +0200 Subject: [TYPO3-dev] BE: Where does this label come from? In-Reply-To: References: Message-ID: Stefano Kowalke wrote: Hi Stefano, > Feel free and add your further suggestions to > > http://wiki.typo3.org/index.php/Translations#Proposal_for_a_locallang_common.xml great! Ingo -- Ingo Renner TYPO3 Core Developer, Release Manager TYPO3 4.2 From simon at rundell.org.uk Wed Jun 4 19:56:02 2008 From: simon at rundell.org.uk (Fr. Simon Rundell SCP) Date: Wed, 4 Jun 2008 18:56:02 +0100 Subject: [TYPO3-dev] Upload to TER broken? In-Reply-To: References: Message-ID: Thank you, thank you, thank you. Sorted Any thoughts on kickstarter version numbering? What happened to the ability to manually set the version number in TER? I think the version number is in a section of the extension config you can't or aren't supposed to edit... S+ 2008/6/4 Steffen Kamper : > > "Fr. Simon Rundell SCP" schrieb im Newsbeitrag > news:mailman.4923.1212561739.4573.typo3-dev at lists.netfielders.de... > > In my 4.2.0 installation, whenever I try and upload to the TER, instead > of > > getting a response and an EM_CONF update, I just get a blank main window. > > This means my wonderful thin-client xml driven database is stuck on my > > server. Anyone else having this problem? Any solution? > > > > Also, can the kickstarter developers consider making it an option to keep > > the existing version number, as it is a real pain when the version > > numbering > > resets to 0.0.0 everytime I make a minor data change. > > > > Hi, > > when ever you get a blanc screen it's a php-error. Go to installtool and > enable php-errors (displayError) to see what happens. > > In your case i guess memory problem or timeout. > > vg Steffen > > > > _______________________________________________ > TYPO3-dev mailing list > TYPO3-dev at lists.netfielders.de > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev > -- Fr. Simon Rundell SCP Parish of S. Thomas the Apostle, Elson The Vicarage, 21 Elson Road, Gosport, Hants, UK, PO12 4BL Tel: 02392 582824 Mob: 07976 802123 email: simon at rundell.org.uk web: http://www.saintthomaselson.org.uk blog: http://frsimon.wordpress.com "I came that you may have life - life in all its fullness" John 10:10 READ CAREFULLY. By reading this email, you agree, on behalf of your employer, to release me from all obligations and waivers arising from any and all NON-NEGOTIATED agreements, licenses, terms-of-service, shrinkwrap, clickwrap, browsewrap, confidentiality, non-disclosure, non-compete and acceptable use policies ("BOGUS AGREEMENTS") that I have entered into with your employer, its partners, licensors, agents and assigns, in perpetuity, without prejudice to my ongoing rights and privileges. You further represent that you have the authority to release me from any BOGUS AGREEMENTS on behalf of your employer. From steffen at sk-typo3.de Wed Jun 4 20:01:07 2008 From: steffen at sk-typo3.de (Steffen Kamper) Date: Wed, 4 Jun 2008 20:01:07 +0200 Subject: [TYPO3-dev] Upload to TER broken? References: Message-ID: "Fr. Simon Rundell SCP" schrieb im Newsbeitrag news:mailman.5093.1212602175.4573.typo3-dev at lists.netfielders.de... > Thank you, thank you, thank you. Sorted > > Any thoughts on kickstarter version numbering? What happened to the > ability > to manually set the version number in TER? > > I think the version number is in a section of the extension config you > can't > or aren't supposed to edit... > > S+ > i don't have any problems with version numbers and upload. And kickstarter does no numbering, it's the EM who set version number while uploading (regarding your settings) TER simply add the extension the way he gets it. it's the em_conf-file, where the version number is in, you also can change it manually. vg Steffen From Chrissitopher at gmx.de Wed Jun 4 21:05:50 2008 From: Chrissitopher at gmx.de (Christopher) Date: Wed, 4 Jun 2008 21:05:50 +0200 Subject: [TYPO3-dev] BE: Where does this label come from? References: Message-ID: Yes, good idea, but one question: If they are in one common file called locallang_common.xml, why have they got to be named common_xyz? Let's just leave this second common out; you just see it, when referencing the file. ;-) -- Christopher "Ingo Renner" schrieb im Newsbeitrag news:mailman.1.1212599864.18466.typo3-dev at lists.netfielders.de... > Stefano Kowalke wrote: > > Hi Stefano, > >> Feel free and add your further suggestions to >> >> http://wiki.typo3.org/index.php/Translations#Proposal_for_a_locallang_common.xml > > great! > > > Ingo > > -- > Ingo Renner > TYPO3 Core Developer, Release Manager TYPO3 4.2 From steffen at sk-typo3.de Wed Jun 4 23:02:31 2008 From: steffen at sk-typo3.de (Steffen Kamper) Date: Wed, 4 Jun 2008 23:02:31 +0200 Subject: [TYPO3-dev] EM Toto Message-ID: Hi guys, as the EM starts on Saturday i initiated a toto for you. So everyone who has a typo3.org-account is invited to play the game. Just leave your tip there and try to get high score. Where? http://support.typo3.org How? click on login and chose support.typo3.org sso go back and look for the page "EM tournament" Why on support.typo3.org? because i'm admin there and was able to do it there, and it's the place of the newslists, so it's community-related What to win? a lot of fun i hope ;-) Get in and play the game. vg Steffen From ingmar at typo3.org Wed Jun 4 23:22:22 2008 From: ingmar at typo3.org (Ingmar Schlecht) Date: Wed, 04 Jun 2008 23:22:22 +0200 Subject: [TYPO3-dev] [Announcement] TYPO3 v4 Core SVN Migration Message-ID: Hi folks, following TYPO3 5.0, the TYPO3 v4 SVN repository has been moved to svn.typo3.org, TYPO3's own SVN server infrastructure. The SVN server at svn.typo3.org is meant for all TYPO3 projects, not only the v4 and v5 Core but also for teams like typo3org or the DEV3 team. == Background == An important aspect of the migration has been the tighter integration with the TYPO3 Forge (http://forge.typo3.org/), a Redmine (http://www.redmine.org/) based development platform for TYPO3 related projects featuring a code browser, bugtracker, a wiki and a news publising system, all on a per-project basis. The directory structure of the new repository is straight forward, having our three main products TYPO3 v4, TYPO3 v5 and FLOW3 as well as the meta item "Teams" on the top level: * TYPO3v4 o Core o Extensions * TYPO3v5 * FLOW3 * Teams A code browser of the new v4 Core SVN is available on the core team pages on Forge: http://forge.typo3.org/repositories/show/typo3v4-core Apart from migrating the SVN repository, the TYPO3 v4 core team is also migrating the development related wiki pages to forge.typo3.org. A set of pages related to the planning of TYPO3 4.3 can already be found on the new team wiki: http://forge.typo3.org/wiki/typo3v4-core The bug tracker on http://bugs.typo3.org/ will however stay at its current location for some more time to come as the Forge issue tracker does not yet offer all the features needed. == Technical details == All revision history has been kept during the migration, so it's possible to check out older revisions from the new repository. The old repository on Sourceforge is still available as a read-only version, so it remains possible to "svn diff" against the old repository, which enables you to still compile patches from customizations you might have done in a working copy of the old repository. The TYPO3 Extensions located on the typo3xdev Sourceforge project have not been moved over yet, but a migration is currently being planned. Extension maintainers will be notified well in advance when the migration is scheduled. == Working copy migration == As we changed the repository structure, it is not possible to directly switch your existing working copies. Instead, you have to check out a fresh new working copy from the new repository URLs (trunk: https://svn.typo3.org/TYPO3v4/Core/trunk, 4.2 branch: https://svn.typo3.org/TYPO3v4/Core/branches/TYPO3_4-2/). In case your old working copy contained manual customizations, those will have to be saved in a patch file first (using the command "svn diff > thePatch.diff") and then be applied to the new working copy (using "patch", http://typo3.org/development/bug-fixing/diff-and-patch/). == Thanks == Thanks a lot to Andreas Wolf and Sebastian Kurf?rst, who prepared and tested all the scripts and did the migration. Great work! Also, thanks to punkt.de for hosting the SVN server. cheers Ingmar Ps.: Please reply to this posting only in the dev list. -- Ingmar Schlecht TYPO3 Association Active Member From blueduck at gmx.net Thu Jun 5 01:44:04 2008 From: blueduck at gmx.net (Stefano Kowalke) Date: Thu, 05 Jun 2008 01:44:04 +0200 Subject: [TYPO3-dev] BE: Where does this label come from? References: Message-ID: Christopher wrote: > Yes, good idea, > > but one question: > If they are in one common file called > locallang_common.xml, why have they got to be named common_xyz? > Let's just leave this second common out; you just see it, when referencing > the file. ;-) > Hi This is a suggestion and can be discuss here or in the wiki. Here pros: Yes, if you call the file with sL(), you see this, but you can also referencing a locallang.xml file with includeLLFile() in the top of a file and get the specific labels with getLL(). Besides that i like namespaces. Stefano -- Seit?dem?1.1.2008?werden?Daten?zu?jeder?E-Mail?verdachtsunabh?ngig?gespeichert!? Weitere?Informationen: www.vorratsdatenspeicherung.de GPG-ID: 0x2B08936D Key-Fingerprint: 7F31 BCF0 70C0 B3B1 1235 07E9 1777 D7A0 2B08 936D From tobias.pierschel at vision-pool.de Thu Jun 5 10:03:09 2008 From: tobias.pierschel at vision-pool.de (Tobias Pierschel) Date: Thu, 05 Jun 2008 10:03:09 +0200 Subject: [TYPO3-dev] EM Toto In-Reply-To: References: Message-ID: Hi Steffen, can you please give: http://support.typo3.org/typo3conf/ext/toto/res/gfx/plus.gif & http://support.typo3.org/typo3conf/ext/toto/res/gfx/minus.gif a little more contrast? I wondered where a can add the group B/C/etc. results. Thanks und Greetings from Hamburg T o b i Steffen Kamper schrieb: > Hi guys, > > as the EM starts on Saturday i initiated a toto for you. > So everyone who has a typo3.org-account is invited to play the game. Just > leave your tip there and try to get high score. > > Where? > http://support.typo3.org > > How? > click on login and chose support.typo3.org sso > go back and look for the page "EM tournament" > > Why on support.typo3.org? > because i'm admin there and was able to do it there, and it's the place of > the newslists, so it's community-related > > What to win? > a lot of fun i hope ;-) Get in and play the game. > > vg Steffen > > From steffen at sk-typo3.de Thu Jun 5 10:15:47 2008 From: steffen at sk-typo3.de (Steffen Kamper) Date: Thu, 5 Jun 2008 10:15:47 +0200 Subject: [TYPO3-dev] EM Toto References: Message-ID: "Tobias Pierschel" schrieb im Newsbeitrag news:mailman.1.1212652992.2281.typo3-dev at lists.netfielders.de... > Hi Steffen, > can you please give: > http://support.typo3.org/typo3conf/ext/toto/res/gfx/plus.gif > & http://support.typo3.org/typo3conf/ext/toto/res/gfx/minus.gif > a little more contrast? I wondered where a can add the group B/C/etc. > results. > > Thanks und Greetings from Hamburg > T o b i > Hi Tobias, done. vg Steffen From oliver at typo3.org Thu Jun 5 10:55:31 2008 From: oliver at typo3.org (Oliver Hader) Date: Thu, 05 Jun 2008 10:55:31 +0200 Subject: [TYPO3-dev] TYPO3 4.3 Unassigned Ideas Message-ID: Hey you guys, the TYPO3 4.3 development started with a kick-off session at the T3DD08 in Elmshorn, Germany. During that session many feature requests were handed in by our community. However, there are still some unassigned ideas. If you or your team are interested in implementing one of those features, please get in contact with me by direct mail. Please do not start working on tasks without giving any feedback to me - it might happen, that two developers are doing the same work. Here's the link to the TYPO3 v4 development page on Forge where you can also find the currently unassigned ideas for TYPO3 4.3 and the roadmap: http://forge.typo3.org/wiki/typo3v4-core Rock on olly -- Oliver Hader TYPO3 4.3 Release Manager From peter.russ at 4many.net Thu Jun 5 11:04:05 2008 From: peter.russ at 4many.net (Peter Russ) Date: Thu, 05 Jun 2008 11:04:05 +0200 Subject: [TYPO3-dev] Overloading Extension Message-ID: Hi All, I would like to ask just for some feedback. I have a static extension, same for all installations within the same TYPO3. Then there should be a flexible part depending on the url. As I want to use the Typoscript controlled by the static extension, the idea is just to adjust $TYPO3_LOADED_EXT[$key] to change the absolute and relative pathes. Clear what I want to achive? No? Example: Now voylocal/typoscript/shortCut.txt should be "flexible" e.g. www.url1.tld => typo3conf/ext/voylocal-url1 www.url2.tld => typo3conf/ext/voylocal-url2 To achive that just $TYPO3_LOADED_EXT[$key]['siteRelPath'] and $TYPO3_LOADED_EXT[$key]['typo3RelPath'] would be changed depending on the url. Any disadvantages or "better" soultions to do so? Regs. Peter -- Fiat lux! Docendo discimus. _____________________________ 4Many? Services XING: http://www.xing.com/go/invuid/Peter_Russ From podkovanov at gmail.com Thu Jun 5 11:16:44 2008 From: podkovanov at gmail.com (Vladimir Podkovanov) Date: Thu, 05 Jun 2008 13:16:44 +0400 Subject: [TYPO3-dev] ->imageMagickConvert and temp folder In-Reply-To: References: Message-ID: Oliver Leitner wrote: > Hello Dmitry > > i use jm_gallery, which does just that... > > greetings > Oliver > Hi Oliver gallery is just an example. Another example is that without file.mustCreate property is not possible to render images stored out of web server directory. -- - rgds - Vladimir From ingo at typo3.org Thu Jun 5 11:34:44 2008 From: ingo at typo3.org (Ingo Renner) Date: Thu, 05 Jun 2008 11:34:44 +0200 Subject: [TYPO3-dev] FYI: PHP Benchmarks Message-ID: Hi there, ever asked whether the one function might be faster than another when coding? This might be an answer: http://www.phpbench.com/ best Ingo -- Ingo Renner TYPO3 Core Developer, Release Manager TYPO3 4.2 From tobias.pierschel at vision-pool.de Thu Jun 5 12:29:58 2008 From: tobias.pierschel at vision-pool.de (Tobias Pierschel) Date: Thu, 05 Jun 2008 12:29:58 +0200 Subject: [TYPO3-dev] EM Toto In-Reply-To: References: Message-ID: great : -) Steffen Kamper schrieb: > "Tobias Pierschel" schrieb im Newsbeitrag > news:mailman.1.1212652992.2281.typo3-dev at lists.netfielders.de... >> Hi Steffen, >> can you please give: >> http://support.typo3.org/typo3conf/ext/toto/res/gfx/plus.gif >> & http://support.typo3.org/typo3conf/ext/toto/res/gfx/minus.gif >> a little more contrast? I wondered where a can add the group B/C/etc. >> results. >> >> Thanks und Greetings from Hamburg >> T o b i >> > Hi Tobias, > > done. > > vg Steffen > > From simon at rundell.org.uk Thu Jun 5 12:48:07 2008 From: simon at rundell.org.uk (Fr. Simon Rundell SCP) Date: Thu, 5 Jun 2008 11:48:07 +0100 Subject: [TYPO3-dev] Gzlib in PHP Message-ID: I am trying to fix a 4.2.0 install, and getting errors when uploading extensions. This report http://bugs.typo3.org/view.php?id=6399 suggests that it is due to there not being gzlib enabled in PHP, can anyone shed any light on how to do this please? -- Fr. Simon Rundell SCP Parish of S. Thomas the Apostle, Elson The Vicarage, 21 Elson Road, Gosport, Hants, UK, PO12 4BL Tel: 02392 582824 Mob: 07976 802123 email: simon at rundell.org.uk web: http://www.saintthomaselson.org.uk blog: http://frsimon.wordpress.com "I came that you may have life - life in all its fullness" John 10:10 READ CAREFULLY. By reading this email, you agree, on behalf of your employer, to release me from all obligations and waivers arising from any and all NON-NEGOTIATED agreements, licenses, terms-of-service, shrinkwrap, clickwrap, browsewrap, confidentiality, non-disclosure, non-compete and acceptable use policies ("BOGUS AGREEMENTS") that I have entered into with your employer, its partners, licensors, agents and assigns, in perpetuity, without prejudice to my ongoing rights and privileges. You further represent that you have the authority to release me from any BOGUS AGREEMENTS on behalf of your employer. From steffen at sk-typo3.de Thu Jun 5 12:57:59 2008 From: steffen at sk-typo3.de (Steffen Kamper) Date: Thu, 5 Jun 2008 12:57:59 +0200 Subject: [TYPO3-dev] FYI: PHP Benchmarks References: Message-ID: "Ingo Renner" schrieb im Newsbeitrag news:mailman.1.1212658485.26914.typo3-dev at lists.netfielders.de... > Hi there, > > ever asked whether the one function might be faster than another when > coding? This might be an answer: > > http://www.phpbench.com/ > > > best > Ingo > > -- very nice site, thx for the link! vg Steffen From abad.alvin at googlemail.com Thu Jun 5 13:04:17 2008 From: abad.alvin at googlemail.com (Alvin Abad) Date: Thu, 05 Jun 2008 12:04:17 +0100 Subject: [TYPO3-dev] FYI: PHP Benchmarks In-Reply-To: References: Message-ID: Ingo Renner wrote: > Hi there, > > ever asked whether the one function might be faster than another when > coding? This might be an answer: > > http://www.phpbench.com/ > > > best > Ingo > > Very useful. Many thanks1 From xoonsji02 at sneakemail.com Thu Jun 5 13:10:15 2008 From: xoonsji02 at sneakemail.com (bernd wilke) Date: Thu, 5 Jun 2008 11:10:15 +0000 (UTC) Subject: [TYPO3-dev] Overloading Extension References: Message-ID: on Thu, 05 Jun 2008 11:04:05 +0200, Peter Russ wrote: > Hi All, > > I would like to ask just for some feedback. > > I have a static extension, same for all installations within the same > TYPO3. Then there should be a flexible part depending on the url. As I > want to use the Typoscript controlled by the static extension, the idea > is just to adjust $TYPO3_LOADED_EXT[$key] to change the absolute and > relative pathes. > > Clear what I want to achive? No? > > Example: > > > > Now voylocal/typoscript/shortCut.txt should be "flexible" e.g. > www.url1.tld => typo3conf/ext/voylocal-url1 www.url2.tld => > typo3conf/ext/voylocal-url2 > > To achive that > just $TYPO3_LOADED_EXT[$key]['siteRelPath'] and > $TYPO3_LOADED_EXT[$key]['typo3RelPath'] would be changed depending on > the url. > > Any disadvantages or "better" soultions to do so? what about a configuration by normal typoscript to override the static- values? An extension should be configurable. either by typoscript or by flexformvalues for plugins. bernd -- http://www.pi-phi.de/t3v4/cheatsheet.html From oliver at typo3.org Thu Jun 5 14:30:33 2008 From: oliver at typo3.org (Oliver Hader) Date: Thu, 05 Jun 2008 14:30:33 +0200 Subject: [TYPO3-dev] Gzlib in PHP In-Reply-To: References: Message-ID: Hi, Fr. Simon Rundell SCP schrieb: > I am trying to fix a 4.2.0 install, and getting errors when uploading > extensions. > > This report http://bugs.typo3.org/view.php?id=6399 suggests that it is due > to there not being gzlib enabled in PHP, can anyone shed any light on how to > do this please? It seems that your PHP version was not built with zlib [1] support. If you compiled it on your own, you have to run ./configure again with an additional "--with-zlib". olly [1] http://de3.php.net/manual/en/book.zlib.php -- Oliver Hader TYPO3 4.3 Release Manager From shadow333 at gmail.com Thu Jun 5 14:55:18 2008 From: shadow333 at gmail.com (Oliver Leitner) Date: Thu, 5 Jun 2008 14:55:18 +0200 Subject: [TYPO3-dev] FYI: PHP Benchmarks In-Reply-To: References: Message-ID: Great info Thanks alot Ingo! On Thu, Jun 5, 2008 at 1:04 PM, Alvin Abad wrote: > Ingo Renner wrote: > > Hi there, > > > > ever asked whether the one function might be faster than another when > > coding? This might be an answer: > > > > http://www.phpbench.com/ > > > > > > best > > Ingo > > > > > Very useful. Many thanks1 > _______________________________________________ > TYPO3-dev mailing list > TYPO3-dev at lists.netfielders.de > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev > -- Oliver Leitner http://www.neverslair-blog.net From dosipov at phillyburbs.com Thu Jun 5 15:11:43 2008 From: dosipov at phillyburbs.com (Dan Osipov) Date: Thu, 05 Jun 2008 09:11:43 -0400 Subject: [TYPO3-dev] TYPO3 4.3 Unassigned Ideas In-Reply-To: References: Message-ID: "Remove JS popup when login expired" I love this popup! Why is it being removed? Will it be replaced by some friendlier notification of login expiration? Dan Osipov Calkins Media http://phillyburbs.com/ Oliver Hader wrote: > Hey you guys, > > the TYPO3 4.3 development started with a kick-off session at the T3DD08 > in Elmshorn, Germany. > During that session many feature requests were handed in by our > community. However, there are still some unassigned ideas. > > If you or your team are interested in implementing one of those > features, please get in contact with me by direct mail. > Please do not start working on tasks without giving any feedback to me - > it might happen, that two developers are doing the same work. > > Here's the link to the TYPO3 v4 development page on Forge where you can > also find the currently unassigned ideas for TYPO3 4.3 and the roadmap: > > http://forge.typo3.org/wiki/typo3v4-core > > > Rock on > olly From simon at rundell.org.uk Thu Jun 5 15:36:06 2008 From: simon at rundell.org.uk (Fr. Simon Rundell SCP) Date: Thu, 5 Jun 2008 14:36:06 +0100 Subject: [TYPO3-dev] Gzlib in PHP In-Reply-To: References: Message-ID: Thank you, Oliver... It gets weirder.. running phpinfo() shows that my php is indeed compiled --with-zlib=shared (although I don't know how I could test it) so why the error? All the config in php.ini I see appears to relate just to output compression. Is there something in typo3 config? Hmmm. Confused and frustrated. S+ 2008/6/5 Oliver Hader : > Hi, > > Fr. Simon Rundell SCP schrieb: > > I am trying to fix a 4.2.0 install, and getting errors when uploading > > extensions. > > > > This report http://bugs.typo3.org/view.php?id=6399 suggests that it is > due > > to there not being gzlib enabled in PHP, can anyone shed any light on how > to > > do this please? > > It seems that your PHP version was not built with zlib [1] support. If > you compiled it on your own, you have to run ./configure again with an > additional "--with-zlib". > > olly > > [1] http://de3.php.net/manual/en/book.zlib.php > -- > Oliver Hader > TYPO3 4.3 Release Manager > _______________________________________________ > TYPO3-dev mailing list > TYPO3-dev at lists.netfielders.de > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev > -- Fr. Simon Rundell SCP Parish of S. Thomas the Apostle, Elson The Vicarage, 21 Elson Road, Gosport, Hants, UK, PO12 4BL Tel: 02392 582824 Mob: 07976 802123 email: simon at rundell.org.uk web: http://www.saintthomaselson.org.uk blog: http://frsimon.wordpress.com "I came that you may have life - life in all its fullness" John 10:10 READ CAREFULLY. By reading this email, you agree, on behalf of your employer, to release me from all obligations and waivers arising from any and all NON-NEGOTIATED agreements, licenses, terms-of-service, shrinkwrap, clickwrap, browsewrap, confidentiality, non-disclosure, non-compete and acceptable use policies ("BOGUS AGREEMENTS") that I have entered into with your employer, its partners, licensors, agents and assigns, in perpetuity, without prejudice to my ongoing rights and privileges. You further represent that you have the authority to release me from any BOGUS AGREEMENTS on behalf of your employer. From christoph.koehler at gmail.com Thu Jun 5 17:43:10 2008 From: christoph.koehler at gmail.com (Christoph Koehler) Date: Thu, 5 Jun 2008 15:43:10 +0000 (UTC) Subject: [TYPO3-dev] forge: redmine plugins Message-ID: Hello, I am looking for the redmine plugins deployed on forge, specifically the sso and authz ones. Can anyone on the forge team help me out here? Thanks! Christoph -- I'm using an evaluation license of nemo since 359 days. You should really try it! http://www.malcom-mac.com/nemo From peter.russ at 4many.net Thu Jun 5 21:30:23 2008 From: peter.russ at 4many.net (Peter Russ) Date: Thu, 05 Jun 2008 21:30:23 +0200 Subject: [TYPO3-dev] Overloading Extension In-Reply-To: References: Message-ID: --- Original Nachricht --- Absender: bernd wilke Datum: 05.06.2008 13:10: > on Thu, 05 Jun 2008 11:04:05 +0200, Peter Russ wrote: > >> Hi All, >> >> I would like to ask just for some feedback. >> >> I have a static extension, same for all installations within the same >> TYPO3. Then there should be a flexible part depending on the url. As I >> want to use the Typoscript controlled by the static extension, the idea >> is just to adjust $TYPO3_LOADED_EXT[$key] to change the absolute and >> relative pathes. >> >> Clear what I want to achive? No? >> >> Example: >> >> >> >> Now voylocal/typoscript/shortCut.txt should be "flexible" e.g. >> www.url1.tld => typo3conf/ext/voylocal-url1 www.url2.tld => >> typo3conf/ext/voylocal-url2 >> >> To achive that >> just $TYPO3_LOADED_EXT[$key]['siteRelPath'] and >> $TYPO3_LOADED_EXT[$key]['typo3RelPath'] would be changed depending on >> the url. >> >> Any disadvantages or "better" soultions to do so? > > what about a configuration by normal typoscript to override the static- > values? > An extension should be configurable. either by typoscript or by > flexformvalues for plugins. > > bernd Thank you for your answer. This is not quite what I need. But this approach is history as this creates problems with caching of the different Typoscripts. Thanks. Peter. -- Fiat lux! Docendo discimus. _____________________________ 4Many? Services XING: http://www.xing.com/go/invuid/Peter_Russ From xoonsji02 at sneakemail.com Fri Jun 6 00:56:01 2008 From: xoonsji02 at sneakemail.com (bernd wilke) Date: Thu, 5 Jun 2008 22:56:01 +0000 (UTC) Subject: [TYPO3-dev] Overloading Extension References: Message-ID: on Thu, 05 Jun 2008 21:30:23 +0200, Peter Russ wrote: > --- Original Nachricht --- > Absender: bernd wilke > Datum: 05.06.2008 13:10: >> on Thu, 05 Jun 2008 11:04:05 +0200, Peter Russ wrote: >> >>> Hi All, >>> >>> I would like to ask just for some feedback. >>> >>> I have a static extension, same for all installations within the same >>> TYPO3. Then there should be a flexible part depending on the url. As I >>> want to use the Typoscript controlled by the static extension, the >>> idea is just to adjust $TYPO3_LOADED_EXT[$key] to change the absolute >>> and relative pathes. >>> >>> Clear what I want to achive? No? just for clearance: can you use the TYPO3-vocabulary? what do you mean with 'static' extension? I know global and local. and what about multiple 'installations' in 'one TYPO3'? I know these different usages: one folder-tree with the typo3-source (and global extensions) which is linked into different installations with their own local extensions, their own database, their own directories fileadmin/, uploads/, typo3conf/ ... then you can have multiple domains in one installation. These domains can have differnt page-trees but share one TYPO3-Installation in this way: they have the same database, the same directories and as the same typo3conf-dir the same local extensions. The domains are separated by domain-records which lead a visitor to different pages in the TYPO3-page- tree. as on different pages you can also differentiate the typoscript by conditions querying the domains. using these mechanisms you should not get any cache-problems as each typoscript-condition gets its own cache-version of a page. bernd -- http://www.pi-phi.de/t3v4/cheatsheet.html From dmitry at typo3.org Fri Jun 6 05:36:34 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Fri, 06 Jun 2008 06:36:34 +0300 Subject: [TYPO3-dev] Gzlib in PHP In-Reply-To: References: Message-ID: Hi! Fr. Simon Rundell SCP wrote: > running phpinfo() shows that my php is indeed compiled > > --with-zlib=shared > > (although I don't know how I could test it) > > so why the error? All the config in php.ini I see appears to relate just to > output compression. Is there something in typo3 config? > > Hmmm. Confused and frustrated. Shared means that it is in a separate so/dll (depending on the platform). But it is not loaded. You need to load it using "extension = " syntax in your php.ini. -- Dmitry Dulepov Learn more about TYPO3: http://typo3bloke.net/ From patrick at typo3quebec.org Fri Jun 6 06:00:48 2008 From: patrick at typo3quebec.org (Patrick Gaumond) Date: Fri, 06 Jun 2008 00:00:48 -0400 Subject: [TYPO3-dev] EM Toto In-Reply-To: References: Message-ID: Steffen Kamper wrote: > as the EM starts on Saturday i initiated a toto for you. > So everyone who has a typo3.org-account is invited to play the game. Just > leave your tip there and try to get high score. What is EM? Usually I think Extension Manager when I see EM... "Toto" in Qu?bec is the name of a random variable exactly as "foobar". It can also means "stupid/idiot" like "T'es donc ben toto" (You're such an idiot). Crazy Germans. ;) Patrick From simon at rundell.org.uk Fri Jun 6 08:47:11 2008 From: simon at rundell.org.uk (Fr. Simon Rundell SCP) Date: Fri, 6 Jun 2008 07:47:11 +0100 Subject: [TYPO3-dev] Gzlib in PHP In-Reply-To: References: Message-ID: Ah! no other extensions were configured to load, so I added the .so and it works. Thank you. S+ 2008/6/6 Dmitry Dulepov [typo3] : > Hi! > > Fr. Simon Rundell SCP wrote: > > running phpinfo() shows that my php is indeed compiled > > > > --with-zlib=shared > > > > (although I don't know how I could test it) > > > > so why the error? All the config in php.ini I see appears to relate just > to > > output compression. Is there something in typo3 config? > > > > Hmmm. Confused and frustrated. > > Shared means that it is in a separate so/dll (depending on the platform). > But it is not loaded. You need to load it using "extension = " syntax in > your php.ini. > > -- > Dmitry Dulepov > Learn more about TYPO3: http://typo3bloke.net/ > _______________________________________________ > TYPO3-dev mailing list > TYPO3-dev at lists.netfielders.de > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev > -- Fr. Simon Rundell SCP Parish of S. Thomas the Apostle, Elson The Vicarage, 21 Elson Road, Gosport, Hants, UK, PO12 4BL Tel: 02392 582824 Mob: 07976 802123 email: simon at rundell.org.uk web: http://www.saintthomaselson.org.uk blog: http://frsimon.wordpress.com "I came that you may have life - life in all its fullness" John 10:10 READ CAREFULLY. By reading this email, you agree, on behalf of your employer, to release me from all obligations and waivers arising from any and all NON-NEGOTIATED agreements, licenses, terms-of-service, shrinkwrap, clickwrap, browsewrap, confidentiality, non-disclosure, non-compete and acceptable use policies ("BOGUS AGREEMENTS") that I have entered into with your employer, its partners, licensors, agents and assigns, in perpetuity, without prejudice to my ongoing rights and privileges. You further represent that you have the authority to release me from any BOGUS AGREEMENTS on behalf of your employer. From steffen at sk-typo3.de Fri Jun 6 10:19:24 2008 From: steffen at sk-typo3.de (Steffen Kamper) Date: Fri, 6 Jun 2008 10:19:24 +0200 Subject: [TYPO3-dev] EM Toto References: Message-ID: Hi Patrick, "Patrick Gaumond" schrieb im Newsbeitrag news:mailman.1.1212724828.30523.typo3-dev at lists.netfielders.de... > Steffen Kamper wrote: > >> as the EM starts on Saturday i initiated a toto for you. >> So everyone who has a typo3.org-account is invited to play the game. Just >> leave your tip there and try to get high score. > > > What is EM? Usually I think Extension Manager when I see EM... > :-) i see you live outside of europe - it's the "Europameisterschaft" which is the european soccer tournament > "Toto" in Qu?bec is the name of a random variable exactly as "foobar". It > can also means "stupid/idiot" like "T'es donc ben toto" (You're such an > idiot). > toto is a game (loto/toto) which is well known, many people play this for money and hope to get millionair. (But spending a lot of money with hope and a realistic chance of 0,00000000000000000001 % sounds like stupid idiot :-) ) You should have the same in Canada? > Crazy Germans. ;) > not more crazy than others ;-) vg Steffen From ingmar at typo3.org Fri Jun 6 10:44:39 2008 From: ingmar at typo3.org (Ingmar Schlecht) Date: Fri, 06 Jun 2008 10:44:39 +0200 Subject: [TYPO3-dev] [TYPO3-core] Announce: Release Candidates for 4.2.1 and 4.1.7 Message-ID: Dear TYPO3 developers, I have just packaged RC versions of the to-be-released patch level versions 4.2.1 and 4.1.7. The final versions will be released on Monday, 6 June. We didn't always produce RC versions for patch level versions, but it has proven to be useful at some points in the past, so we do it this time. The patch level RCs will only be announced in the typo3.dev and typo3.teams.core mailingist, so they are only meant for internal / developer's testing. For a list of changes, see the ChangeLog: https://svn.typo3.org/TYPO3v4/Core/branches/TYPO3_4-1/ChangeLog https://svn.typo3.org/TYPO3v4/Core/branches/TYPO3_4-2/ChangeLog MD5 checksums: b80ae88f4aa46e800ffe6b956da14e28 dummy-4.2.1rc1.tar.gz d0a15d3d601314f42361dd8d2c0b26b1 dummy-4.2.1rc1.zip 87da61b4553c55ae68440827f670417c typo3_src-4.2.1rc1.tar.gz 45ecbd038396641ca4f9af9e9e19fcda typo3_src-4.2.1rc1.zip 3492ee22588659c214771f6b828ebdbc typo3_src+dummy-4.2.1rc1.zip 1d7283e0ea7313f74284dbd32fb11656 dummy-4.1.7rc1.tar.gz 575f505bd93f9f794d9d4c8543ca58ac dummy-4.1.7rc1.zip ad70fb5700c3ce159f80823ecc9ebf61 typo3_src-4.1.7rc1.tar.gz d5b6ad0dba739dfa097da14f8acdd49d typo3_src-4.1.7rc1.zip 46e3e762ff524668ca5485bcdefc7eff typo3_src+dummy-4.1.7rc1.zip Download: http://translation.typo3.org/temp_packages/ -- Ingmar Schlecht TYPO3 Association Active Member From peter.russ at 4many.net Fri Jun 6 11:39:05 2008 From: peter.russ at 4many.net (Peter Russ) Date: Fri, 06 Jun 2008 11:39:05 +0200 Subject: [TYPO3-dev] Overloading Extension In-Reply-To: References: Message-ID: --- Original Nachricht --- Absender: bernd wilke Datum: 06.06.2008 00:56: > on Thu, 05 Jun 2008 21:30:23 +0200, Peter Russ wrote: > >> --- Original Nachricht --- >> Absender: bernd wilke >> Datum: 05.06.2008 13:10: >>> on Thu, 05 Jun 2008 11:04:05 +0200, Peter Russ wrote: >>> >>>> Hi All, >>>> >>>> I would like to ask just for some feedback. >>>> >>>> I have a static extension, same for all installations within the same >>>> TYPO3. Then there should be a flexible part depending on the url. As I >>>> want to use the Typoscript controlled by the static extension, the >>>> idea is just to adjust $TYPO3_LOADED_EXT[$key] to change the absolute >>>> and relative pathes. >>>> >>>> Clear what I want to achive? No? > > just for clearance: can you use the TYPO3-vocabulary? I would, if there would be the right one.. > > what do you mean with 'static' extension? We use "static" for extenstions that doesn't have to be adjusted sitting either in global or local. That the reason why we call them static. > > I know global and local. > > and what about multiple 'installations' in 'one TYPO3'? different customers in one TYPO3 > > I know these different usages: > > one folder-tree with the typo3-source (and global extensions) which is > linked into different installations with their own local extensions, > their own database, their own directories fileadmin/, uploads/, > typo3conf/ ... that's default ;-) > > then you can have multiple domains in one installation. These domains can > have differnt page-trees but share one TYPO3-Installation in this way: > they have the same database, the same directories and as the same > typo3conf-dir the same local extensions. The domains are separated by > domain-records which lead a visitor to different pages in the TYPO3-page- > tree. Old stuff but well used ;-) > as on different pages you can also differentiate the typoscript by > conditions querying the domains. > using these mechanisms you should not get any cache-problems as each > typoscript-condition gets its own cache-version of a page. condition is not an option as there is no way to place a condition within a condition. So we found a other solution, but have "overhead" or code redundancy. So as for now it's working, but perhaps we can find a "lighter" solution. what we are doing now: in the templates of the different domain, we include different contants.txt and setup.txt. The only thing they differ are the files included. example: Domain 1: Domain 2: As you see, we can't work with conditions as there would be no condition allowed within the include. So we have to thing more to find a solution that reduces the overhead and gives a flexible solution. Peter. -- Fiat lux! Docendo discimus. _____________________________ 4Many? Services XING: http://www.xing.com/go/invuid/Peter_Russ From info at rs-websystems.de Fri Jun 6 11:55:30 2008 From: info at rs-websystems.de (Steffen Ritter) Date: Fri, 06 Jun 2008 11:55:30 +0200 Subject: [TYPO3-dev] [TYPO3-core] Announce: Release Candidates for 4.2.1 and 4.1.7 In-Reply-To: References: Message-ID: Hello, i just Updated to 4.2.1rc and until now I did not recognize any faults. Greetings Steffen Ingmar Schlecht schrieb: > Dear TYPO3 developers, > > I have just packaged RC versions of the to-be-released patch level > versions 4.2.1 and 4.1.7. The final versions will be released on Monday, > 6 June. We didn't always produce RC versions for patch level versions, > but it has proven to be useful at some points in the past, so we do it > this time. > > The patch level RCs will only be announced in the typo3.dev and > typo3.teams.core mailingist, so they are only meant for internal / > developer's testing. > > For a list of changes, see the ChangeLog: > https://svn.typo3.org/TYPO3v4/Core/branches/TYPO3_4-1/ChangeLog > https://svn.typo3.org/TYPO3v4/Core/branches/TYPO3_4-2/ChangeLog > > MD5 checksums: > b80ae88f4aa46e800ffe6b956da14e28 dummy-4.2.1rc1.tar.gz > d0a15d3d601314f42361dd8d2c0b26b1 dummy-4.2.1rc1.zip > 87da61b4553c55ae68440827f670417c typo3_src-4.2.1rc1.tar.gz > 45ecbd038396641ca4f9af9e9e19fcda typo3_src-4.2.1rc1.zip > 3492ee22588659c214771f6b828ebdbc typo3_src+dummy-4.2.1rc1.zip > > 1d7283e0ea7313f74284dbd32fb11656 dummy-4.1.7rc1.tar.gz > 575f505bd93f9f794d9d4c8543ca58ac dummy-4.1.7rc1.zip > ad70fb5700c3ce159f80823ecc9ebf61 typo3_src-4.1.7rc1.tar.gz > d5b6ad0dba739dfa097da14f8acdd49d typo3_src-4.1.7rc1.zip > 46e3e762ff524668ca5485bcdefc7eff typo3_src+dummy-4.1.7rc1.zip > > Download: > http://translation.typo3.org/temp_packages/ > From typo.removeformessage at fx-graefix.de Fri Jun 6 12:13:44 2008 From: typo.removeformessage at fx-graefix.de (Franz Koch) Date: Fri, 06 Jun 2008 12:13:44 +0200 Subject: [TYPO3-dev] Bug/Feature request for t3lib_div::_GP (and alike) Message-ID: Hey guys, recently I had a problem with TS conditions. In the condition I checked for a GPvar of a extension, that is transmitted over $_GET. Everything worked fine that far, until I was submitting a form of the same extension, additionally submitting some vars over $_POST. When submitting the form, the condition failed. After having a look at the source I finally found the bug in t3lib_div::_GP() (and simmilar). All those t3lib_div-methods dealing with GPvars use a construct like this: -------- $value = isset($_POST[$var]) ? $_POST[$var] : $_GET[$var]; -------- So if you have any _POST var from your extension, but would like to check against a _GET var from the same extension, you will always fail. Wouldn't it be much wiser to do something like this? -------- $value = t3lib_div::GParrayMerged($var); -------- so you really get ALL your extension/key related values? I'm just curious why it's been done how it's done. For me this clearly is a bug and I don't see any security or other issues with it because _POST is overruling _GET in the merged array. What do you guys think? -- kind regards, Franz Koch From martin.kutschker-no at spam-blackbox.net Fri Jun 6 12:30:10 2008 From: martin.kutschker-no at spam-blackbox.net (Martin Kutschker) Date: Fri, 06 Jun 2008 12:30:10 +0200 Subject: [TYPO3-dev] Bug/Feature request for t3lib_div::_GP (and alike) In-Reply-To: References: Message-ID: Franz Koch schrieb: > > so you really get ALL your extension/key related values? I'm just > curious why it's been done how it's done. For me this clearly is a bug > and I don't see any security or other issues with it because _POST is > overruling _GET in the merged array. What do you guys think? So you want to override POST with GET, right? Or if not why don't you use t3lib_div::_GET() or access $_GET directly? Masi From steffen at sk-typo3.de Fri Jun 6 12:38:52 2008 From: steffen at sk-typo3.de (Steffen Kamper) Date: Fri, 6 Jun 2008 12:38:52 +0200 Subject: [TYPO3-dev] Bug/Feature request for t3lib_div::_GP (and alike) References: Message-ID: "Martin Kutschker" schrieb im Newsbeitrag news:mailman.1.1212748206.28832.typo3-dev at lists.netfielders.de... > Franz Koch schrieb: >> >> so you really get ALL your extension/key related values? I'm just curious >> why it's been done how it's done. For me this clearly is a bug and I >> don't see any security or other issues with it because _POST is >> overruling _GET in the merged array. What do you guys think? > > So you want to override POST with GET, right? > > Or if not why don't you use t3lib_div::_GET() or access $_GET directly? > > Masi Hi Masi, Franz mentioned TS condition where you have no influence how the GPvars are filled globalVar = GP:xyzmay be you need a globalVar = PG:xyz :-)vg Steffen From martin.kutschker-no at spam-blackbox.net Fri Jun 6 12:47:02 2008 From: martin.kutschker-no at spam-blackbox.net (Martin Kutschker) Date: Fri, 06 Jun 2008 12:47:02 +0200 Subject: [TYPO3-dev] Bug/Feature request for t3lib_div::_GP (and alike) In-Reply-To: References: Message-ID: Steffen Kamper schrieb: > "Martin Kutschker" schrieb im > Newsbeitrag > news:mailman.1.1212748206.28832.typo3-dev at lists.netfielders.de... >> Franz Koch schrieb: >>> so you really get ALL your extension/key related values? I'm just curious >>> why it's been done how it's done. For me this clearly is a bug and I >>> don't see any security or other issues with it because _POST is >>> overruling _GET in the merged array. What do you guys think? >> So you want to override POST with GET, right? >> >> Or if not why don't you use t3lib_div::_GET() or access $_GET directly? >> >> Masi > > Hi Masi, > > Franz mentioned TS condition where you have no influence how the GPvars are > filled > globalVar = GP:xyzmay be you need a globalVar = PG:xyz :-)vg Steffen Use this: [globalVar = _GET|key=value] Masi From benni at typo3.org Fri Jun 6 12:50:19 2008 From: benni at typo3.org (Benjamin Mack) Date: Fri, 06 Jun 2008 12:50:19 +0200 Subject: [TYPO3-dev] Bug/Feature request for t3lib_div::_GP (and alike) In-Reply-To: References: Message-ID: hey Masi, thought of exactly the same! -- greetings, benni. -SDG- From steffen at sk-typo3.de Fri Jun 6 12:53:31 2008 From: steffen at sk-typo3.de (Steffen Kamper) Date: Fri, 6 Jun 2008 12:53:31 +0200 Subject: [TYPO3-dev] Bug/Feature request for t3lib_div::_GP (and alike) References: Message-ID: "Martin Kutschker" schrieb im Newsbeitrag news:mailman.1.1212749218.2781.typo3-dev at lists.netfielders.de... > Steffen Kamper schrieb: >> "Martin Kutschker" schrieb im >> Newsbeitrag >> news:mailman.1.1212748206.28832.typo3-dev at lists.netfielders.de... >>> Franz Koch schrieb: >>>> so you really get ALL your extension/key related values? I'm just >>>> curious why it's been done how it's done. For me this clearly is a bug >>>> and I don't see any security or other issues with it because _POST is >>>> overruling _GET in the merged array. What do you guys think? >>> So you want to override POST with GET, right? >>> >>> Or if not why don't you use t3lib_div::_GET() or access $_GET directly? >>> >>> Masi >> >> Hi Masi, >> >> Franz mentioned TS condition where you have no influence how the GPvars >> are filled >> globalVar = GP:xyzmay be you need a globalVar = PG:xyz :-)vg Steffen > > Use this: > > [globalVar = _GET|key=value] > > Masi i think documentation should be completed, it say that only available are IENV/ENV, GP, TSFE and LIT vg Steffen From patrick at typo3quebec.org Fri Jun 6 12:57:26 2008 From: patrick at typo3quebec.org (Patrick Gaumond) Date: Fri, 06 Jun 2008 06:57:26 -0400 Subject: [TYPO3-dev] EM Toto In-Reply-To: References: Message-ID: Steffen Kamper wrote: > toto is a game (loto/toto) which is well known, many people play this for > money and hope to get millionair. > (But spending a lot of money with hope and a realistic chance of > 0,00000000000000000001 % sounds like stupid idiot :-) ) > You should have the same in Canada? Bon matin Steffen, This is called a "pool" when its done for fun here even in french... Sure there's hundred thousands people in "hockey pools", "(american)footbal pools" , "baseball pools". We like poutine. We sure know how to be crazy. :) *poutine: http://en.wikipedia.org/wiki/Poutine (the article exist also in german !) Patrick From typo.removeformessage at fx-graefix.de Fri Jun 6 13:08:35 2008 From: typo.removeformessage at fx-graefix.de (Franz Koch) Date: Fri, 06 Jun 2008 13:08:35 +0200 Subject: [TYPO3-dev] Bug/Feature request for t3lib_div::_GP (and alike) In-Reply-To: References: Message-ID: Hi Masi, >> so you really get ALL your extension/key related values? I'm just >> curious why it's been done how it's done. For me this clearly is a bug >> and I don't see any security or other issues with it because _POST is >> overruling _GET in the merged array. What do you guys think? > > So you want to override POST with GET, right? No, I'd like those methods to use a merged _GET/_POST array for returning their results, coming from t3lib_div::GParrayMerged, returning array (where _POST is overriding _GET(!)) instead of the lousy if-condition there. Btw. - the name of the functions is also misleading, because 'GP' assumes that first _GET is processed and _POST is second ;) > Or if not why don't you use t3lib_div::_GET() or access $_GET directly? As Steffen said - I used a condition where I don't have influence on that. -- kind regards, Franz Koch From typo.removeformessage at fx-graefix.de Fri Jun 6 13:15:33 2008 From: typo.removeformessage at fx-graefix.de (Franz Koch) Date: Fri, 06 Jun 2008 13:15:33 +0200 Subject: [TYPO3-dev] Bug/Feature request for t3lib_div::_GP (and alike) In-Reply-To: References: Message-ID: Hey, >>> Franz mentioned TS condition where you have no influence how the GPvars >>> are filled >>> globalVar = GP:xyzmay be you need a globalVar = PG:xyz :-)vg Steffen >> Use this: >> >> [globalVar = _GET|key=value] >> >> Masi > > i think documentation should be completed, > it say that only available are > IENV/ENV, GP, TSFE and LIT yes - documention should be completed - it's not mentioned anywhere. But besides of that, when I call a function named 't3lib_div::_GP' or 't3lib_div::GPvar', then I assume that I get the according values of BOTH and not only one of them. -- kind regards, Franz Koch From olivier.dobberkau at dkd.de Fri Jun 6 13:20:51 2008 From: olivier.dobberkau at dkd.de (Olivier Dobberkau) Date: Fri, 06 Jun 2008 13:20:51 +0200 Subject: [TYPO3-dev] [TYPO3-core] Announce: Release Candidates for 4.2.1 and 4.1.7 In-Reply-To: References: Message-ID: Ingmar Schlecht schrieb: > The final versions will be released on Monday, > 6 June. you mean 9th of june? if not send me that timemachine... :-) Olivier From thomas at typo3-unleashed.net Fri Jun 6 13:42:51 2008 From: thomas at typo3-unleashed.net (Thomas Hempel) Date: Fri, 06 Jun 2008 13:42:51 +0200 Subject: [TYPO3-dev] EM Toto In-Reply-To: References: Message-ID: Hi Patrick, > > *poutine: http://en.wikipedia.org/wiki/Poutine > (the article exist also in german !) I should visit you to try that. ;-) Greets, Thomas From oliver at typo3.org Fri Jun 6 13:48:43 2008 From: oliver at typo3.org (Oliver Hader) Date: Fri, 06 Jun 2008 13:48:43 +0200 Subject: [TYPO3-dev] [TYPO3-core] Announce: Release Candidates for 4.2.1 and 4.1.7 In-Reply-To: References: Message-ID: Hi Olivier, Olivier Dobberkau schrieb: > Ingmar Schlecht schrieb: >> The final versions will be released on Monday, >> 6 June. > > you mean 9th of june? if not send me that timemachine... :-) Well, if someone is too fast, time might step backwards... ;-) Thanks for the hint! Of course it's 9th of June 2008. I also changed it in the news on Forge. olly -- Oliver Hader TYPO3 4.3 Release Manager From martin.kutschker-no at spam-blackbox.net Fri Jun 6 13:53:30 2008 From: martin.kutschker-no at spam-blackbox.net (Martin Kutschker) Date: Fri, 06 Jun 2008 13:53:30 +0200 Subject: [TYPO3-dev] Bug/Feature request for t3lib_div::_GP (and alike) In-Reply-To: References: Message-ID: Franz Koch schrieb: > But > besides of that, when I call a function named 't3lib_div::_GP' or > 't3lib_div::GPvar', then I assume that I get the according values of > BOTH and not only one of them. RTFM for t3lib_div::_GP() * Returns the 'GLOBAL' value of incoming data from POST or GET, with priority to POST (that is equalent to 'GP' order) * Strips slashes from all output, both strings and arrays. In what way should BOTH values be returned back in a single return value? I see then bo advantage in accessing $_GET and $_POST directly. Masi From martin.kutschker-no at spam-blackbox.net Fri Jun 6 13:56:38 2008 From: martin.kutschker-no at spam-blackbox.net (Martin Kutschker) Date: Fri, 06 Jun 2008 13:56:38 +0200 Subject: [TYPO3-dev] Bug/Feature request for t3lib_div::_GP (and alike) In-Reply-To: References: Message-ID: Franz Koch schrieb: > Hi Masi, >>> so you really get ALL your extension/key related values? I'm just >>> curious why it's been done how it's done. For me this clearly is a >>> bug and I don't see any security or other issues with it because >>> _POST is overruling _GET in the merged array. What do you guys think? >> >> So you want to override POST with GET, right? > > No, I'd like those methods to use a merged _GET/_POST array for > returning their results, coming from t3lib_div::GParrayMerged, returning > array (where _POST is overriding _GET(!)) instead of the lousy > if-condition there. ??? The condition does for *one* requested value exactly the same as an array merging functions does for all keys. I don't get your point. > Btw. - the name of the functions is also misleading, because 'GP' > assumes that first _GET is processed and _POST is second ;) I agree with you, the name is confusing a bit. >> Or if not why don't you use t3lib_div::_GET() or access $_GET directly? > As Steffen said - I used a condition where I don't have influence on that. I missed/forgot that one. Masi From ingmar at typo3.org Fri Jun 6 14:27:10 2008 From: ingmar at typo3.org (Ingmar Schlecht) Date: Fri, 06 Jun 2008 14:27:10 +0200 Subject: [TYPO3-dev] [TYPO3-core] Announce: Release Candidates for 4.2.1 and 4.1.7 In-Reply-To: References: Message-ID: Oliver Hader schrieb: > Hi Olivier, > > Olivier Dobberkau schrieb: >> Ingmar Schlecht schrieb: >>> The final versions will be released on Monday, >>> 6 June. >> >> you mean 9th of june? if not send me that timemachine... :-) > > Well, if someone is too fast, time might step backwards... ;-) > Thanks for the hint! Of course it's 9th of June 2008. I also changed it > in the news on Forge. Thanks! cheers Ingmar -- Ingmar Schlecht TYPO3 Association Active Member From xoonsji02 at sneakemail.com Fri Jun 6 15:10:23 2008 From: xoonsji02 at sneakemail.com (bernd wilke) Date: Fri, 6 Jun 2008 13:10:23 +0000 (UTC) Subject: [TYPO3-dev] Bug/Feature request for t3lib_div::_GP (and alike) References: Message-ID: on Fri, 06 Jun 2008 13:53:30 +0200, Martin Kutschker wrote: > Franz Koch schrieb: >> But >> besides of that, when I call a function named 't3lib_div::_GP' or >> 't3lib_div::GPvar', then I assume that I get the according values of >> BOTH and not only one of them. > > RTFM for t3lib_div::_GP() > > * Returns the 'GLOBAL' value of incoming data from POST or GET, with > priority to POST (that is equalent to 'GP' order) > * Strips slashes from all output, both strings and arrays. > > In what way should BOTH values be returned back in a single return > value? I see then bo advantage in accessing $_GET and $_POST directly. as far as i understand it is not about the values of $_POST['val_a'] and $_GET['val_a'] but of $_POST['myext']['val_a'] and $_GET['myext']['val_b'] as you may use it from your extension for differnt values. I think an array-merge will do better than a clear overwrite with loosing 'subvalues' bernd -- http://www.pi-phi.de/t3v4/cheatsheet.html From typo.removeformessage at fx-graefix.de Fri Jun 6 15:12:21 2008 From: typo.removeformessage at fx-graefix.de (Franz Koch) Date: Fri, 06 Jun 2008 15:12:21 +0200 Subject: [TYPO3-dev] Bug/Feature request for t3lib_div::_GP (and alike) In-Reply-To: References: Message-ID: Hey, >> No, I'd like those methods to use a merged _GET/_POST array for >> returning their results, coming from t3lib_div::GParrayMerged, >> returning array (where _POST is overriding _GET(!)) instead of the >> lousy if-condition there. > > ??? The condition does for *one* requested value exactly the same as an > array merging functions does for all keys. I don't get your point. I check for a 'subkey' in a multidimensional _GET-array. I understood using the condition 'globalVar = GP:my_extension_designator|subkey' as a check, if the given parameter is present in either _GET or _POST - with priority to _POST. That's how it is currently, and that's fine as long as you only have either _GET or _POST values from the same extension submitted. If you have both kinds with a _GET/_POST-key holding another array (like it's done for extensions/piVars) at the same time and the value you check for is currently in _GET, then the condition fails because t3lib_div::_GP will only check in the _POST array, as there is a result for the searched extension designator - although there is no result for the searched subkey. Hope my point is a bit more clearly now. So I thought instead of using multiple conditions checking for either _GET or _POST, the condition GP should check in a merged array from BOTH, where _POST is overriding values from _GET recursively for security reasons. And for that, the method t3lib_div::GParrayMerged($key) could be used, because it's merging _GET and _POST like needed and is ultimately returning the result of desired key that can be used for further processing (stripping, etc.). Besides of the TS-conditions, I currently don't see a benefit from returning only _GET or _POST in t3lib_div::_GP although it's documented like that. What was the initial idea behind this behavior? What's a real life use case where exactly this behavior is needed and where the result can't be a merged array from _GET and _POST? The overall result would be the same, except that in some cases you get more sub-keys/values returned and that multidimensional arrays get correctly processed. -- kind regards, Franz Koch From xoonsji02 at sneakemail.com Fri Jun 6 15:13:34 2008 From: xoonsji02 at sneakemail.com (bernd wilke) Date: Fri, 6 Jun 2008 13:13:34 +0000 (UTC) Subject: [TYPO3-dev] [TYPO3-core] Announce: Release Candidates for 4.2.1 and 4.1.7 References: Message-ID: on Fri, 06 Jun 2008 13:20:51 +0200, Olivier Dobberkau wrote: > Ingmar Schlecht schrieb: >> The final versions will be released on Monday, 6 June. > > you mean 9th of june? if not send me that timemachine... :-) timemachine? the next 6th June which is a monday is in the year 2011. A lot of time to complete all tasks ;-) SCNR bernd -- http://www.pi-phi.de/t3v4/cheatsheet.html From tobias.pierschel at vision-pool.de Fri Jun 6 15:16:21 2008 From: tobias.pierschel at vision-pool.de (Tobias Pierschel) Date: Fri, 06 Jun 2008 15:16:21 +0200 Subject: [TYPO3-dev] 4.2.1 RC1 Bug Message-ID: Hi, we found a Bug in 4.2.1 RC1. If you copy pages or content elements TYPO3 throws the following error: ############################## Warning: mysql_real_escape_string() expects parameter 1 to be string, array given in /srv/www/htdocs/web1/html/dev/typo3_src-4.2.1rc1/t3lib/class.t3lib_db.php on line 566 Warning: Cannot modify header information - headers already sent by (output started at /srv/www/htdocs/web1/html/dev/typo3_src-4.2.1rc1/t3lib/class.t3lib_db.php:566) in /srv/www/htdocs/web1/html/dev/typo3_src-4.2.1rc1/typo3/template.php on line 632 Errors: 102: These fields are not properly updated in database: (tx_templavoila_flex) Probably value mismatch with fieldtype. ############################## is this a problem with templavoila? I tryed "compare" in the database analyser but there is everything okay. Our environment: PHP: 5.2.5 Mysql: 5.0.51a TV: 1.3.6 Greetings T o b i From martin.kutschker-no at spam-blackbox.net Fri Jun 6 15:25:20 2008 From: martin.kutschker-no at spam-blackbox.net (Martin Kutschker) Date: Fri, 06 Jun 2008 15:25:20 +0200 Subject: [TYPO3-dev] Bug/Feature request for t3lib_div::_GP (and alike) In-Reply-To: References: Message-ID: Franz Koch schrieb: > I'll try to answer the large part of your post later. > Besides of the TS-conditions, I currently don't see a benefit from > returning only _GET or _POST in t3lib_div::_GP although it's documented > like that. What was the initial idea behind this behavior? What's a real > life use case where exactly this behavior is needed and where the result > can't be a merged array from _GET and _POST? The overall result would be > the same, except that in some cases you get more sub-keys/values > returned and that multidimensional arrays get correctly processed. I have never needed that. My code uses usually either or (if not tied to POST for eg hidden fields). I see no point in having the same key (with different meanings?) in GET and POST. To me this looks only confusing. Masi From dmitry at typo3.org Fri Jun 6 16:14:29 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Fri, 06 Jun 2008 17:14:29 +0300 Subject: [TYPO3-dev] 4.2.1 RC1 Bug In-Reply-To: References: Message-ID: Hi! Tobias Pierschel wrote: > Errors: > 102: These fields are not properly updated in database: > (tx_templavoila_flex) Probably value mismatch with fieldtype. > > ############################## > > is this a problem with templavoila? Enable sqlDebug in Install tool. You will see the call stack. -- Dmitry Dulepov Learn more about TYPO3: http://typo3bloke.net/ From xoonsji02 at sneakemail.com Fri Jun 6 17:18:04 2008 From: xoonsji02 at sneakemail.com (bernd wilke) Date: Fri, 6 Jun 2008 15:18:04 +0000 (UTC) Subject: [TYPO3-dev] Overloading Extension References: Message-ID: on Fri, 06 Jun 2008 11:39:05 +0200, Peter Russ wrote: > --- Original Nachricht --- > Absender: bernd wilke > Datum: 06.06.2008 00:56: >> on Thu, 05 Jun 2008 21:30:23 +0200, Peter Russ wrote: >> >> I know these different usages: >> >> one folder-tree with the typo3-source (and global extensions) which is >> linked into different installations with their own local extensions, >> their own database, their own directories fileadmin/, uploads/, >> typo3conf/ ... > > that's default ;-) if you use this it should be easy to have individuall typoscript- templates for each installation without conditions [1] you can use your normal templates, or you can have local extensions which have more priority than any global with individual templates. or a very specific solution: make symlinks for each file of a global extension into a local directory and have the individual files as real files > >> then you can have multiple domains in one installation. These domains >> can have differnt page-trees but share one TYPO3-Installation in this >> way: they have the same database, the same directories and as the same >> typo3conf-dir the same local extensions. The domains are separated by >> domain-records which lead a visitor to different pages in the >> TYPO3-page- tree. > > Old stuff but well used ;-) individual templates with their individual (re)definition[1] of any value. > >> as on different pages you can also differentiate the typoscript by >> conditions querying the domains. >> using these mechanisms you should not get any cache-problems as each >> typoscript-condition gets its own cache-version of a page. > > condition is not an option as there is no way to place a condition > within a condition. you can combine conditions, it may be a littel more difficult but it is possible: [cond1] && [cond2] [cond1] && [!cond2] [!cond1] && [cond2] [!cond1] && [!cond2] [global] > > So we found a other solution, but have "overhead" or code redundancy. So > as for now it's working, but perhaps we can find a "lighter" solution. > > what we are doing now: > in the templates of the different domain, we include different > contants.txt and setup.txt. The only thing they differ are the files > included. > > example: > Domain 1: > source="FILE:EXT:arjuna_voyager/templates/typoscript/mainMenu.txt"> > source="FILE:EXT:arjuna_voyagerlocal/templates/typoscript/mainMenu.txt"> > source="FILE:EXT:arjuna_voyager/templates/typoscript/leftRecursive.txt"> > source="FILE:EXT:arjuna_voyagerlocal/templates/typoscript/ leftRecursive.txt"> > > Domain 2: > source="FILE:EXT:arjuna_voyager/templates/typoscript/mainMenu.txt"> > source="FILE:EXT:arjuna_voyagerlocal_bse/templates/typoscript/ mainMenu.txt"> > source="FILE:EXT:arjuna_voyager/templates/typoscript/leftRecursive.txt"> > source="FILE:EXT:arjuna_voyagerlocal_bse/templates/typoscript/ leftRecursive.txt"> > > As you see, we can't work with conditions as there would be no condition > allowed within the include. what about a condition outside the include? [globalString = HTTP_HOST= *.domain1.com] [globalString = HTTP_HOST= *.domain2.com] [else] [global] > So we have to thing more to find a solution that reduces the overhead > and gives a flexible solution. [1] what about an override in the normal template? as you can redifine any rendering-info like from css-content, why not domain-specific for this extension? bernd -- http://www.pi-phi.de/t3v4/cheatsheet.html From steffen at sk-typo3.de Fri Jun 6 20:13:51 2008 From: steffen at sk-typo3.de (Steffen Kamper) Date: Fri, 6 Jun 2008 20:13:51 +0200 Subject: [TYPO3-dev] Bug/Feature request for t3lib_div::_GP (and alike) References: Message-ID: "Martin Kutschker" schrieb im Newsbeitrag news:mailman.1.1212758716.22699.typo3-dev at lists.netfielders.de... > Franz Koch schrieb: >> > > I'll try to answer the large part of your post later. > >> Besides of the TS-conditions, I currently don't see a benefit from >> returning only _GET or _POST in t3lib_div::_GP although it's documented >> like that. What was the initial idea behind this behavior? What's a real >> life use case where exactly this behavior is needed and where the result >> can't be a merged array from _GET and _POST? The overall result would be >> the same, except that in some cases you get more sub-keys/values returned >> and that multidimensional arrays get correctly processed. > > I have never needed that. My code uses usually either or (if not tied to > POST for eg hidden fields). I see no point in having the same key (with > different meanings?) in GET and POST. To me this looks only confusing. > > Masi I think problem is: Franz want to have $_REQUEST but in this case it's not necessary Franz, because you look for a single parameter/key/subkey So if this subkey is in POST, you get the value, or not in POST but in GET you get the value from there. You don't need complete array because you don't process it vg Steffen From blueduck at gmx.net Fri Jun 6 23:45:26 2008 From: blueduck at gmx.net (Stefano Kowalke) Date: Fri, 06 Jun 2008 23:45:26 +0200 Subject: [TYPO3-dev] Indexed_Search: Headlines in default language Message-ID: Hi Devs, i just coverd a strange behavior: I have a site with few languages in an one tree scenario. If i call indexed_search in another one as default language, i get the searchresult in the selected language (spanish), but the headlines (page titles) in the default language (german). In typo3/sysext/css_styled_content/static/setup.txt i found the TS which responsible for this. ... # ****************** # CType: search # ****************** tt_content.search = COA tt_content.search.10 = < lib.stdheader # Result: tt_content.search.20 = SEARCHRESULT tt_content.search.20 { allowedCols = pages.title-subtitle-keywords-description : tt_content.header-bodytext-imagecaption : tt_address.name-title-address-email-company-city-country : tt_links.title-note-note2-url : tt_board.subject-message-author-email : tt_calender.title-note : tt_products.title-note-itemnumber languageField.tt_content = sys_language_uid renderObj = COA renderObj { 10 = TEXT > 10.field = pages_title 10.htmlSpecialChars = 1 10.typolink { parameter.field = uid target = {$styles.content.searchresult.resultTarget} additionalParams.data = register:SWORD_PARAMS additionalParams.required = 1 additionalParams.wrap = &no_cache=1 } 10.htmlSpecialChars = 1 10.wrap =

|

... If you change this piece > 10.field = pages_title to 10.field = languageField.pages = sys_language_uid the correct headline was taken. Its possible overwrite this in the root template with: tt_content.search.20.renderObj.10.field = languageField.pages = sys_language_uid but ist very secret. So my question is: Could set this directly in setup.txt an goes to SVN, or see anybody problems eg. if you have only a single language site and sys_language_uid does not exist or is empty? Cheers Stefano -- Seit?dem?1.1.2008?werden?Daten?zu?jeder?E-Mail?verdachtsunabh?ngig?gespeichert!? Weitere?Informationen: www.vorratsdatenspeicherung.de GPG-ID: 0x2B08936D Key-Fingerprint: 7F31 BCF0 70C0 B3B1 1235 07E9 1777 D7A0 2B08 936D From typo.removeformessage at fx-graefix.de Sat Jun 7 09:30:29 2008 From: typo.removeformessage at fx-graefix.de (Franz Koch) Date: Sat, 07 Jun 2008 09:30:29 +0200 Subject: [TYPO3-dev] Bug/Feature request for t3lib_div::_GP (and alike) In-Reply-To: References: Message-ID: Hey Steffen, > Franz want to have $_REQUEST > but in this case it's not necessary Franz, because you look for a single > parameter/key/subkey > > So if this subkey is in POST, you get the value, or not in POST but in GET > you get the value from there. That's the point - I don't get it from GET if there is also a parameter with the same namespace in POST. My use case: I'm using your extension skpagecomments and attached it via TS on every page in a toolbar at the bottom of the website, only displaying the button 'show comments (n)' by default. When you click the button and submit the piVar tx_skpagecomments_pi1[showComments] with GET, I want to hide/remove the button from the bottom toolbar and show the comments with a comment form right above the toolbar. Therefore I use a condition, checking for this piVar and set/unset TS-objects accordingly. I use this condition: [globalVar = GP:tx_skpagecomments_pi1|showComments = 1] This is working fine, unless I try to add a comment. When submitting the comment form, the condition will fail and the comments get shown inside the toolbar instead above. And this is because t3lib_div::_GP is not returning a merged array to the matchcondition class. Ok, now I know that I can check directly for a GET var, but I'd like to stay a bit more flexible so that I don't need to care if the parameter is coming from GET or POST. -- kind regards, Franz Koch From info at rs-websystems.de Sat Jun 7 09:45:43 2008 From: info at rs-websystems.de (Steffen Ritter) Date: Sat, 07 Jun 2008 09:45:43 +0200 Subject: [TYPO3-dev] current usage of DBAL Message-ID: Hello list, I just need to implement a situation where I'm forced to use DBAL. I'm working with 4.2.1RC1. First of all, if dbal installed in delivered configuration TYPO3 won't work at all. But for this, a patch is present in bugtracker, which works fine. BUT in working with dbal (f.e. just installing extensions when dbal extensions is loaded but not configured else then standard) there are many difficulties since the BE throws php errors. So my opinion is: existing patches for dbal should go into 4.2.1 since a sysext is not working at all without. So conclusion: Who's working on dbal? How can I support or how can we work together? And furthermore: How can it get into further releases? The BugTracker/CoreList procedure belongs to dbal to? I would like to use a "snapshot" dbal in my development, since I have to make it work. And for that, that my work on dbal can be used for further releases of dbal I would like to start at the current dev. version. And we should not work with several persons on one thing. greetings Steffen From martin.kutschker-n0spam at no5pam-blackbox.net Sat Jun 7 12:31:56 2008 From: martin.kutschker-n0spam at no5pam-blackbox.net (Martin Kutschker) Date: Sat, 07 Jun 2008 12:31:56 +0200 Subject: [TYPO3-dev] current usage of DBAL In-Reply-To: References: Message-ID: Steffen Ritter schrieb: > Hello list, > I just need to implement a situation where I'm forced to use DBAL. > I'm working with 4.2.1RC1. > First of all, if dbal installed in delivered configuration TYPO3 won't > work at all. But for this, a patch is present in bugtracker, which works > fine. Which one? > BUT in working with dbal (f.e. just installing extensions when dbal > extensions is loaded but not configured else then standard) there are > many difficulties since the BE throws php errors. I didn't try it for 4.2, but DBAL and PostreSQL worked for me with 4.1 (except one minor issue). But a numer of TER extensions had to be patched to make it work. > So my opinion is: existing patches for dbal should go into 4.2.1 since a > sysext is not working at all without. > > So conclusion: Who's working on dbal? Well, Karsten is still the maintainer of the extension, but don't expect anything but a few bugfixes for the future. I'm still interested in helping out but seldom have the time for it. > How can I support or how can we work together? If you figured out a bug and fixed it, go the usual way: make a patch (diff -u), file a bug report for it and post it on the Core list. If you're unsure how to make the patch or want to discuss it firt post it here. > And furthermore: How can it get into further releases? The > BugTracker/CoreList procedure belongs to dbal to? Yes, all sysext stuff goes there. > I would like to use a "snapshot" dbal in my development, since I have to > make it work. And for that, that my work on dbal can be used for further > releases of dbal I would like to start at the current dev. version. Why don't you use SVN for that. > And we should not work with several persons on one thing. Of course. Though the chance for DBAL is rather low, but aks Karsten if he's currently fixing anything. Masi From mail-spam at ringerge.org Sat Jun 7 13:07:30 2008 From: mail-spam at ringerge.org (Georg Ringer) Date: Sat, 07 Jun 2008 13:07:30 +0200 Subject: [TYPO3-dev] current usage of DBAL In-Reply-To: References: Message-ID: Martin Kutschker wrote: > Steffen Ritter schrieb: >> Hello list, >> I just need to implement a situation where I'm forced to use DBAL. >> I'm working with 4.2.1RC1. >> First of all, if dbal installed in delivered configuration TYPO3 won't >> work at all. But for this, a patch is present in bugtracker, which >> works fine. > > Which one? I guess it is this one http://bugs.typo3.org/view.php?id=4640 I just tied 2 projects with DBAL (using MSSQL) and you always need this patch! One installation was a 4.1.*, another one is a 4.2. There also many other people who give there +1 on the patch in the BT georg From info at rs-websystems.de Sat Jun 7 13:18:45 2008 From: info at rs-websystems.de (Steffen Ritter) Date: Sat, 07 Jun 2008 13:18:45 +0200 Subject: [TYPO3-dev] current usage of DBAL In-Reply-To: References: Message-ID: Hello, no I used another one, but probably a combination of these two could fix it. I used http://bugs.typo3.org/view.php?id=8231 which allowed to install dbal. I will look at yours and if it will work, I will remind core list of both patches so probably we get a "urgent" shift that it can go into 4.2.1. Greetings Steffen Georg Ringer schrieb: > Martin Kutschker wrote: >> Steffen Ritter schrieb: >>> Hello list, >>> I just need to implement a situation where I'm forced to use DBAL. >>> I'm working with 4.2.1RC1. >>> First of all, if dbal installed in delivered configuration TYPO3 >>> won't work at all. But for this, a patch is present in bugtracker, >>> which works fine. >> >> Which one? > > I guess it is this one http://bugs.typo3.org/view.php?id=4640 > > I just tied 2 projects with DBAL (using MSSQL) and you always need this > patch! One installation was a 4.1.*, another one is a 4.2. > > There also many other people who give there +1 on the patch in the BT > > georg From info at rs-websystems.de Sat Jun 7 13:45:32 2008 From: info at rs-websystems.de (Steffen Ritter) Date: Sat, 07 Jun 2008 13:45:32 +0200 Subject: [TYPO3-dev] current usage of DBAL In-Reply-To: References: Message-ID: well i just had a closer look at the patch you mentioned... it covers only mssql related faults. (especially a missing check). But for me, it even does not work if no additional dbal driver is used. Extension-Manger f.e. throws following error: ERROR: Query could not be parsed: "SQL engine parse ERROR: No ) parenthesis in list: near "(510)) "". Query: "ALTER TABLE tx_mmforum_searchresults ADD KEY search_string (search_string(510));" And install tool compare does not "believe" that tables are like they should. The other faults in BE I cannot reproduce by now. I will tell if see it again. Afaik it was about wrong types in api function calls. Steffen Georg Ringer schrieb: > Martin Kutschker wrote: >> Steffen Ritter schrieb: >>> Hello list, >>> I just need to implement a situation where I'm forced to use DBAL. >>> I'm working with 4.2.1RC1. >>> First of all, if dbal installed in delivered configuration TYPO3 >>> won't work at all. But for this, a patch is present in bugtracker, >>> which works fine. >> >> Which one? > > I guess it is this one http://bugs.typo3.org/view.php?id=4640 > > I just tied 2 projects with DBAL (using MSSQL) and you always need this > patch! One installation was a 4.1.*, another one is a 4.2. > > There also many other people who give there +1 on the patch in the BT > > georg From steffen at sk-typo3.de Sat Jun 7 13:51:32 2008 From: steffen at sk-typo3.de (Steffen Kamper) Date: Sat, 7 Jun 2008 13:51:32 +0200 Subject: [TYPO3-dev] Re: [TYPO3-core] RFC: #8623: Shortcut mode also to the parent page References: Message-ID: "Benjamin Mack" schrieb im Newsbeitrag news:mailman.1.1212838908.27386.typo3-team-core at lists.netfielders.de... > Hey Steffen, > > Steffen Kamper wrote: >> I agree. It's always confusing to have shortcut and external url. If you >> can't use shortcut, you use external url for the same reason, this makes >> no sense imho. >> A pagetype "link" with link_browser and some additional params would >> solve all issues imho, and it's easy to understand the concept, isn't it? > > The problem for me is: > > Sometimes you have Internal / External URL in the pages TCA, but then a > file link is also an external link. Then you have the different concept in > the Element Browser, so for me it makes sense to unify this a bit more > (yes... I know that the technical implementation is different for internal > and external URLs). > > But let's keep the discussion down here a bit, sorry. If you're > interested, open up a thread in the dev list. > > -- > greetings, > benni. > -SDG- Hi Benni, so i answer now in dev to keep the RFC clean, you're right. When selecting a internal or external link in link_browser you can difference very easy, internal links always use pid, external an url, files a filename and email an email (surprise :-)) The most common reason to use such as pagetype is to have the link in the menu. i don't see a problem from technical as typolink, which is used, can difference the link types automatically vg Steffen From typo3RE.MO.VE. at RE.MO.VE.prolabium.com Sat Jun 7 15:37:23 2008 From: typo3RE.MO.VE. at RE.MO.VE.prolabium.com (Krystian Szymukowicz) Date: Sat, 07 Jun 2008 15:37:23 +0200 Subject: [TYPO3-dev] hooks call priority Message-ID: hi Simple case: there are extension A and B both called from extension C with hook mechanism. Is there any programing way to assure that extension B will be called BEFORE extension A? I know I can set the extension call order here: $TYPO3_CONF_VARS['EXT']['extList'] but its not the way for average extension user to manually edit this file and set the order. Is there any other way? Just give me a proper keyword to search in google :) -- grtz Krystian Szymukowicz From martin.kutschker-n0spam at no5pam-blackbox.net Sat Jun 7 16:57:53 2008 From: martin.kutschker-n0spam at no5pam-blackbox.net (Martin Kutschker) Date: Sat, 07 Jun 2008 16:57:53 +0200 Subject: [TYPO3-dev] current usage of DBAL In-Reply-To: References: Message-ID: Steffen Ritter schrieb: > well i just had a closer look at the patch you mentioned... it covers > only mssql related faults. (especially a missing check). > But for me, it even does not work if no additional dbal driver is used. > > Extension-Manger f.e. throws following error: > ERROR: Query could not be parsed: "SQL engine parse ERROR: No ) > parenthesis in list: near "(510)) "". Query: "ALTER TABLE > tx_mmforum_searchresults ADD KEY search_string (search_string(510));" Odd, I think that the CREATE statement parser accepts the "prefix index" syntax of Mysql. Anyway, this is the Core itself and not DBAL that does this parsing. > And install tool compare does not "believe" that tables are like they > should. Sadly this check is done in a less then optimal way. It's done by string comparison rather then type comparison. This doesn't even work correctly for all possible Mysql versions column/index definition. DBAL does little here. It could perhaps help if it tried to translate the column definitions in a more Mysql manner. Or someone steps up and rewrites the DB comparison part. Masi From martin.kutschker-n0spam at no5pam-blackbox.net Sat Jun 7 17:00:39 2008 From: martin.kutschker-n0spam at no5pam-blackbox.net (Martin Kutschker) Date: Sat, 07 Jun 2008 17:00:39 +0200 Subject: [TYPO3-dev] [TYPO3-core] RFC: #8623: Shortcut mode also to the parent page In-Reply-To: References: Message-ID: Steffen Kamper schrieb: >> >> Sometimes you have Internal / External URL in the pages TCA, but then a >> file link is also an external link. This is a nice hack, but UI-wise - sorry to say - rubbish. For that purpose there should be a special page type "(link to )internal file". Masi From typo3news at otherone.de Sat Jun 7 19:05:00 2008 From: typo3news at otherone.de (Uschi Renziehausen) Date: Sat, 07 Jun 2008 19:05:00 +0200 Subject: [TYPO3-dev] [TYPO3-core] RFC: #8623: Shortcut mode also to the parent page In-Reply-To: References: Message-ID: Hi Masi, Martin Kutschker wrote: >>> Sometimes you have Internal / External URL in the pages TCA, but then >>> a file link is also an external link. > > This is a nice hack, but UI-wise - sorry to say - rubbish. For that > purpose there should be a special page type "(link to )internal file". > Somehow I do like the idea of that special page type :-) That would solve the problem that you cannot build a menu of selected links via CE Sitemap that also contains links to PDF documents. But I still do not understand why quite a few of you people do not see a natural difference between a shortcut and an external page. Obviously you use external page for some nifty tricks.Which ones? I am curious to know! I am using them what they were originally meant for: having external pages in my menu + some metadata for them. I need that, because when moving a really big site from static html to typo3, you can do it only one by one. Also, some pages of our university site will never go into T3. Uschi (eager for enlightenment) From xoonsji02 at sneakemail.com Sun Jun 8 00:33:05 2008 From: xoonsji02 at sneakemail.com (bernd wilke) Date: Sat, 7 Jun 2008 22:33:05 +0000 (UTC) Subject: [TYPO3-dev] [TYPO3-core] RFC: #8623: Shortcut mode also to the parent page References: Message-ID: on Sat, 07 Jun 2008 19:05:00 +0200, Uschi Renziehausen wrote: > Hi Masi, > > Martin Kutschker wrote: > >>>> Sometimes you have Internal / External URL in the pages TCA, but then >>>> a file link is also an external link. >> >> This is a nice hack, but UI-wise - sorry to say - rubbish. For that >> purpose there should be a special page type "(link to )internal file". >> >> > Somehow I do like the idea of that special page type :-) > > That would solve the problem that you cannot build a menu of selected > links via CE Sitemap that also contains links to PDF documents. > > But I still do not understand why quite a few of you people do not see a > natural difference between a shortcut and an external page. Obviously > you use external page for some nifty tricks.Which ones? I am curious to > know! one example: jump to an internal page with some special GET-parameters. e.g. some special preselected views of an extension. as you can't provide paramters to a shortcut you have to use external, also the target is in the tree. :-( bernd -- http://www.pi-phi.de/t3v4/cheatsheet.html From info at rs-websystems.de Sun Jun 8 07:34:04 2008 From: info at rs-websystems.de (Steffen Ritter) Date: Sun, 08 Jun 2008 07:34:04 +0200 Subject: [TYPO3-dev] current usage of DBAL, FYI: I gave up In-Reply-To: References: Message-ID: Hello, I just wanted to let you know that I gave up my DBAL tests. With the patch mentioned and a useful configuration I could use fe_user and fe_group from another db (which I made typo3 redable by views). BUT thats where the real big problems startet... There is no Editing in BE possible without joining und fe_groups and no page rendering without joining fe_sessions on fe_users and so on... In fact, systables on another db won't work. But: we probably should think about altering dbal, with Query Splitting and manual joining methods. FIY: How I did it... I just created a new database on external db (indeed connected over ssl tunnel) and moved my whole t3 database there. Then I just created my views directly in this database using information of another (but on the same server). This works fine, even Updating of users in BE is possible. Now I finaly can concentrate on the main task: writing auth service ^^ kind regard Steffen From ingmar at typo3.org Sun Jun 8 13:07:48 2008 From: ingmar at typo3.org (Ingmar Schlecht) Date: Sun, 08 Jun 2008 13:07:48 +0200 Subject: [TYPO3-dev] [TYPO3-core] Announce: Release Candidates for 4.2.1 and 4.1.7 In-Reply-To: References: Message-ID: Hi guys, we will, again, have to postpone the release of those two versions due to a bug found by Benjamin Mack that needs to be fixed first. New target date is: Wednesday, 11 June. Sorry about that. cheers Ingmar Ingmar Schlecht schrieb: > Dear TYPO3 developers, > > I have just packaged RC versions of the to-be-released patch level > versions 4.2.1 and 4.1.7. The final versions will be released on Monday, > 6 June. We didn't always produce RC versions for patch level versions, > but it has proven to be useful at some points in the past, so we do it > this time. > > The patch level RCs will only be announced in the typo3.dev and > typo3.teams.core mailingist, so they are only meant for internal / > developer's testing. > > For a list of changes, see the ChangeLog: > https://svn.typo3.org/TYPO3v4/Core/branches/TYPO3_4-1/ChangeLog > https://svn.typo3.org/TYPO3v4/Core/branches/TYPO3_4-2/ChangeLog > > MD5 checksums: > b80ae88f4aa46e800ffe6b956da14e28 dummy-4.2.1rc1.tar.gz > d0a15d3d601314f42361dd8d2c0b26b1 dummy-4.2.1rc1.zip > 87da61b4553c55ae68440827f670417c typo3_src-4.2.1rc1.tar.gz > 45ecbd038396641ca4f9af9e9e19fcda typo3_src-4.2.1rc1.zip > 3492ee22588659c214771f6b828ebdbc typo3_src+dummy-4.2.1rc1.zip > > 1d7283e0ea7313f74284dbd32fb11656 dummy-4.1.7rc1.tar.gz > 575f505bd93f9f794d9d4c8543ca58ac dummy-4.1.7rc1.zip > ad70fb5700c3ce159f80823ecc9ebf61 typo3_src-4.1.7rc1.tar.gz > d5b6ad0dba739dfa097da14f8acdd49d typo3_src-4.1.7rc1.zip > 46e3e762ff524668ca5485bcdefc7eff typo3_src+dummy-4.1.7rc1.zip > > Download: > http://translation.typo3.org/temp_packages/ > -- Ingmar Schlecht TYPO3 Association Active Member From martin.kutschker-n0spam at no5pam-blackbox.net Sun Jun 8 21:11:07 2008 From: martin.kutschker-n0spam at no5pam-blackbox.net (Martin Kutschker) Date: Sun, 08 Jun 2008 21:11:07 +0200 Subject: [TYPO3-dev] current usage of DBAL, FYI: I gave up In-Reply-To: References: Message-ID: Steffen Ritter schrieb: > Hello, > I just wanted to let you know that I gave up my DBAL tests. > With the patch mentioned and a useful configuration I could use fe_user > and fe_group from another db (which I made typo3 redable by views). > BUT thats where the real big problems startet... There is no Editing in > BE possible without joining und fe_groups and no page rendering without > joining fe_sessions on fe_users and so on... In fact, systables on > another db won't work. So you're using the table mapping feauture where only specific tables reside in another DB. While this is possible and was meant as a nice idea, I don't think this is the common setup. Usually you want to have either a different DB than Mysql (most request I see are for PostreSQL, Oracle and MS SQL). Of course using some tables from DB a and others from DB b won't work with joins. This nifty feature is definitely a bit tricky to use as you have to know in advance which tables will be joined where. Steffen, I have no idea if you need DBAL or just toying around, but I suggest those who are interested in DBAL should concentrate on the one DB for all tables configuration. Masi From info at rs-websystems.de Mon Jun 9 08:03:29 2008 From: info at rs-websystems.de (Steffen Ritter) Date: Mon, 09 Jun 2008 08:03:29 +0200 Subject: [TYPO3-dev] current usage of DBAL, FYI: I gave up In-Reply-To: References: Message-ID: Hello Martin, thanks for response. If you mean with "toying around" that I'm just testing possibilities without using it for production envirement you are wrong. I really have to do a setup. The background about is the following: Our network admins have an administration database where all users are listet, all their registered hosts with given ips an mac adresses. At all network joints clients have only access if there IP and their MAC are valid combination. I just created such an auth-service for typo3 automatically login fe_users on, if their ip-mac combination is recognized. (added hoststable with irre to fe_users). For this I worked with imported data to my tables. Network admins stated out, that this behavoiur is not "clean" enough, they do not want a copy of their database (which is mysql too). So we tried to figure out how to solve this problem... And thats the point where DBAL comes in. It said it enables us to use some tables in another DB. So we connected the netadmin database over an ssl-tunnel to the webserver and connected it with dbal to typo3,build fe_users, fe_groups and the mac-table with views. User import and editing worked fine, but we got the joining problems as mentioned, because all systables are somehow joined with each other (f.e. fe_groups and pages for access rules in frontend) and sohow should lie in one database. After figuring out our possibilities, debugging dbal and the "get DB handler" feature and so on we decided that it is to much work to completely rewrite dbal to work with different databases and joins since we would have to start at zero. That's why, "I gave up" with dbal, it simply was not able to solve our problems. At last, we i transferred the whole typo3 database from the mysql-server of the webserver to the netadmin (mysql-)server and configured typo3 to use this on port 3000-ssl-tunneled database natively. The clue to this is: I can have a view, selecting data from another database on the same mysql server (which solves my problems). It's a little more slower than db on same server, but it should work. I hope now it'S clear, what I wanted to state out. kind Regards Steffen Martin Kutschker schrieb: > Steffen Ritter schrieb: >> Hello, >> I just wanted to let you know that I gave up my DBAL tests. >> With the patch mentioned and a useful configuration I could use >> fe_user and fe_group from another db (which I made typo3 redable by >> views). >> BUT thats where the real big problems startet... There is no Editing >> in BE possible without joining und fe_groups and no page rendering >> without joining fe_sessions on fe_users and so on... In fact, >> systables on another db won't work. > > So you're using the table mapping feauture where only specific tables > reside in another DB. While this is possible and was meant as a nice > idea, I don't think this is the common setup. Usually you want to have > either a different DB than Mysql (most request I see are for PostreSQL, > Oracle and MS SQL). > > Of course using some tables from DB a and others from DB b won't work > with joins. This nifty feature is definitely a bit tricky to use as you > have to know in advance which tables will be joined where. > > Steffen, I have no idea if you need DBAL or just toying around, but I > suggest those who are interested in DBAL should concentrate on the one > DB for all tables configuration. > > Masi From typo3news at otherone.de Mon Jun 9 10:09:22 2008 From: typo3news at otherone.de (Uschi Renziehausen) Date: Mon, 09 Jun 2008 10:09:22 +0200 Subject: [TYPO3-dev] [TYPO3-core] RFC: #8623: Shortcut mode also to the parent page In-Reply-To: References: Message-ID: bernd wilke wrote: >> But I still do not understand why quite a few of you people do not see a >> natural difference between a shortcut and an external page. Obviously >> you use external page for some nifty tricks.Which ones? I am curious to >> know! > > one example: jump to an internal page with some special GET-parameters. > e.g. some special preselected views of an extension. > as you can't provide paramters to a shortcut you have to use external, > also the target is in the tree. :-( > Thanks for enlightenment. In this special case I would suggest that the doktypes Standard, Shortcut, and Advanced should learn to accept GET-parameters somehow, while External should stay as it is. Any other funny uses of doktype External? Regards, Uschi > bernd From bedlamhotel at gmail.com Mon Jun 9 10:57:23 2008 From: bedlamhotel at gmail.com (Christopher Torgalson) Date: Mon, 9 Jun 2008 10:57:23 +0200 Subject: [TYPO3-dev] [TYPO3-core] RFC: #8623: Shortcut mode also to the parent page In-Reply-To: References: Message-ID: Hi, On Mon, Jun 9, 2008 at 10:09 AM, Uschi Renziehausen wrote: > bernd wilke wrote: > >>> But I still do not understand why quite a few of you people do not see a >>> natural difference between a shortcut and an external page. Obviously >>> you use external page for some nifty tricks.Which ones? I am curious to >>> know! >> >> one example: jump to an internal page with some special GET-parameters. >> e.g. some special preselected views of an extension. >> as you can't provide paramters to a shortcut you have to use external, >> also the target is in the tree. :-( >> > > Thanks for enlightenment. In this special case I would suggest that the > doktypes Standard, Shortcut, and Advanced should learn to accept > GET-parameters somehow, while External should stay as it is. > > Any other funny uses of doktype External? I don't completely understand: why are the two existing pagetypes preferable to what was suggested in the first message in the thread? >> A pagetype "link" with link_browser and some additional params would >> solve all issues imho, and it's easy to understand the concept, isn't it? Since this is already how the UI works in other linking contexts, I'd say extending the concept to page records is very good suggestion. But perhaps I've missed something? -- Christopher Torgalson http://www.typo3apprentice.com/ i, From ernst at cron-it.de Mon Jun 9 10:58:50 2008 From: ernst at cron-it.de (Ernesto Baschny [cron IT]) Date: Mon, 09 Jun 2008 10:58:50 +0200 Subject: [TYPO3-dev] 4.2.1 RC1 Bug In-Reply-To: References: Message-ID: Hi Tobias, please test the patch attached to http://bugs.typo3.org/view.php?id=8635 and tell us if this solves your problem. Cheers, Ernesto Tobias Pierschel wrote: on 06.06.2008 15:16: > Hi, > we found a Bug in 4.2.1 RC1. > > If you copy pages or content elements TYPO3 throws the following error: > ############################## > Warning: mysql_real_escape_string() expects parameter 1 to be string, > array given in > /srv/www/htdocs/web1/html/dev/typo3_src-4.2.1rc1/t3lib/class.t3lib_db.php > on line 566 > > Warning: Cannot modify header information - headers already sent by > (output started at > /srv/www/htdocs/web1/html/dev/typo3_src-4.2.1rc1/t3lib/class.t3lib_db.php:566) > in /srv/www/htdocs/web1/html/dev/typo3_src-4.2.1rc1/typo3/template.php > on line 632 > > > Errors: > 102: These fields are not properly updated in database: > (tx_templavoila_flex) Probably value mismatch with fieldtype. > > ############################## > > is this a problem with templavoila? > > I tryed "compare" in the database analyser but there is everything okay. > > Our environment: > PHP: 5.2.5 > Mysql: 5.0.51a > > TV: 1.3.6 > > > Greetings > T o b i From henri.delebecque at supelec.fr Mon Jun 9 11:30:33 2008 From: henri.delebecque at supelec.fr (henri delebecque) Date: Mon, 9 Jun 2008 11:30:33 +0200 Subject: [TYPO3-dev] I lost the right-click menus Message-ID: Hello, First, I should thanks the developpers of Typo3 for their great job. Then I should apologize both for posting about such a strange problem, and for my english. I encounter since many days the following problem: the right-click menus from the "tool-dependant" column disappear, for every tool. To attempt to describe more completely my configuration, I should add that I have two directories, one named "cms", the other "cms-good", that share both the typo3-4.2.0 repository, and typo3 mysql database. When I connect myself using the cms-good backend, I have the menus, since when I do the same using the cms one, they are missing. I have listed above the extensions I have in both installations. The sole difference between the two html displayed (the one that have the right-click menus, and the "bad" one) i have found is the backpath value (86aebea975 for the first, aeeb8e8d50 for the second). I have tried to make a "diff" on every file of the two directories, but the differences are located into "temp" files. Please, could someone helps me? Thanks a lot Best regards _______________________________________________________ - Context sensitive help extension 1.1.0 (supplied in the distrib) - Extra Click Menu Options 0.1.0 (same) - htmlArea RTE 1.7.4 (added) - Import/export 0.3.0 (distrib) - Internal notes 1.1.2 (distrib) - System langage labels 0.3.0 (distrib) - TSConfig 1.1.0 (distrib) - TYPO3 CMS Frontend 1.1.0 (distrib) - Versioning management 1.2.0 (distrib) - Database sync 0.10.0 (Added) - Help 0.1.0 (distrib) - Tools >Config 1.2.0 (distrib) - Tools >Install 0.1.0 (distrib) - Tools>Log 0.2.0 (distrib) - Tools>User Admin 0.3.0 (distrib) - User>Setup 0.1.0 (distrib) - User>Task Center 0.2.0 (distrib) - Web>Func, Wizards 0.2.0 (distrib) - Web>Func, Wizards, Create multiple pages 0.1.0 (distrib) - Web>Func, Wizards, Sort pages 0.1.0 (distrib) - Web>Info, Page TSconfig 0.1.0 (distrib) - Web>Template 0.1.0 (distrib) - Web>Template, Constant Editor 0.1.0 (distrib) - Web>Template, Info/Modify 0.1.0 (distrib) - Web>Template, Object Browser 0.1.0 (distrib) - Web>Template, Template analyzer 0.1.0 (dtsrib) - Web>View 0.1.1 (distrib) - CSS styled content 0.4.0 (distrib) - RealURL: URLs like normal websites 1.3.4 (added) - Template Auto-parser automaketemplate 0.1.0 (added) - TYPO3 System Services 1.1.0 (distrib) - TYPO3 skin ________________________________________________________ -- | Henri Delebecque (henri.delebecque at supelec.fr) | Docteur en Sciences | Professeur - Webmaster | Tel : 33 (0)1.69.85.14.91 | Supelec | 3 rue Joliot-Curie | Plateau de Moulon | Fax: 33 (0)1.69.85.12.34 | 91190 Gif sur Yvette | FRANCE -- Disclaimer ------------------------------------ Ce message ainsi que les eventuelles pieces jointes constituent une correspondance privee et confidentielle a l'attention exclusive du destinataire designe ci-dessus. Si vous n'etes pas le destinataire du present message ou une personne susceptible de pouvoir le lui delivrer, il vous est signifie que toute divulgation, distribution ou copie de cette transmission est strictement interdite. Si vous avez recu ce message par erreur, nous vous remercions d'en informer l'expediteur par telephone ou de lui retourner le present message, puis d'effacer immediatement ce message de votre systeme. *** This e-mail and any attachments is a confidential correspondence intended only for use of the individual or entity named above. If you are not the intended recipient or the agent responsible for delivering the message to the intended recipient, you are hereby notified that any disclosure, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender by phone or by replying this message, and then delete this message from your system. From ben at netcreators.com Mon Jun 9 11:36:54 2008 From: ben at netcreators.com (ben van 't ende [netcreators]) Date: Mon, 09 Jun 2008 11:36:54 +0200 Subject: [TYPO3-dev] I lost the right-click menus In-Reply-To: References: Message-ID: henri delebecque wrote: > Hello, > > First, I should thanks the developpers of Typo3 for their great job. > Then I should apologize both for posting about such a strange problem, > and for my english. Hi Henri, Your english is good enough ;-) You have probably by accident changed the popup menu's in your personal settings. Take a look there. gRTz ben > I encounter since many days the following problem: the right-click menus > from the "tool-dependant" column disappear, for every tool. > > To attempt to describe more completely my configuration, I should add > that I have two directories, > one named "cms", the other "cms-good", that share both the typo3-4.2.0 > repository, and typo3 mysql database. When I connect myself using the > cms-good backend, I have the menus, since when I do the same using the > cms one, they are missing. > > I have listed above the extensions I have in both installations. > > The sole difference between the two html displayed (the one that have > the right-click menus, and the "bad" one) > i have found is the backpath value (86aebea975 for the first, aeeb8e8d50 > for the second). > > I have tried to make a "diff" on every file of the two directories, but > the differences are located into "temp" files. > > Please, could someone helps me? > Thanks a lot > Best regards > _______________________________________________________ > - Context sensitive help extension 1.1.0 (supplied in the distrib) > - Extra Click Menu Options 0.1.0 (same) > - htmlArea RTE 1.7.4 (added) > - Import/export 0.3.0 (distrib) > - Internal notes 1.1.2 (distrib) > - System langage labels 0.3.0 (distrib) > - TSConfig 1.1.0 (distrib) > - TYPO3 CMS Frontend 1.1.0 (distrib) > - Versioning management 1.2.0 (distrib) > > - Database sync 0.10.0 (Added) > - Help 0.1.0 (distrib) > - Tools >Config 1.2.0 (distrib) > - Tools >Install 0.1.0 (distrib) > - Tools>Log 0.2.0 (distrib) > - Tools>User Admin 0.3.0 (distrib) > - User>Setup 0.1.0 (distrib) > - User>Task Center 0.2.0 (distrib) > - Web>Func, Wizards 0.2.0 (distrib) > - Web>Func, Wizards, Create multiple pages 0.1.0 (distrib) > - Web>Func, Wizards, Sort pages 0.1.0 (distrib) > - Web>Info, Page TSconfig 0.1.0 (distrib) > - Web>Template 0.1.0 (distrib) > - Web>Template, Constant Editor 0.1.0 (distrib) > - Web>Template, Info/Modify 0.1.0 (distrib) > - Web>Template, Object Browser 0.1.0 (distrib) > - Web>Template, Template analyzer 0.1.0 (dtsrib) > - Web>View 0.1.1 (distrib) > - CSS styled content 0.4.0 (distrib) > - RealURL: URLs like normal websites 1.3.4 (added) > - Template Auto-parser automaketemplate 0.1.0 (added) > - TYPO3 System Services 1.1.0 (distrib) > - TYPO3 skin > ________________________________________________________ -- netcreators :: creation and innovation www.netcreators.com - www.TYPO3.nl Interesse in werken bij Netcreators? http://www.netcreators.com/bedrijf/vacatures/ From henri.delebecque at supelec.fr Mon Jun 9 11:51:36 2008 From: henri.delebecque at supelec.fr (henri delebecque) Date: Mon, 9 Jun 2008 11:51:36 +0200 Subject: [TYPO3-dev] I lost the right-click menus In-Reply-To: References: Message-ID: > >Hi Henri, > >Your english is good enough ;-) You have probably by accident >changed the popup >menu's in your personal settings. Take a look there. > >gRTz > >ben > Hi ben, Thanks for your comment :-), and your help. Unfortunately, the answer is not there: I have found the option "Disable Popup Context menus" (was unchecked), check it, save config, uncheck it, save config (to be sure that the value stored in the database was "unchecked"), without success. Moreover, if this option is stored in the database (as I think it is), how two back-ends sharing the same database can have different behavior ? This is, I think, the strangest point of this problem... Best regards Henri -- | Henri Delebecque (henri.delebecque at supelec.fr) | Docteur en Sciences | Professeur - Webmaster | Tel : 33 (0)1.69.85.14.91 | Supelec | 3 rue Joliot-Curie | Plateau de Moulon | Fax: 33 (0)1.69.85.12.34 | 91190 Gif sur Yvette | FRANCE -- Disclaimer ------------------------------------ Ce message ainsi que les eventuelles pieces jointes constituent une correspondance privee et confidentielle a l'attention exclusive du destinataire designe ci-dessus. Si vous n'etes pas le destinataire du present message ou une personne susceptible de pouvoir le lui delivrer, il vous est signifie que toute divulgation, distribution ou copie de cette transmission est strictement interdite. Si vous avez recu ce message par erreur, nous vous remercions d'en informer l'expediteur par telephone ou de lui retourner le present message, puis d'effacer immediatement ce message de votre systeme. *** This e-mail and any attachments is a confidential correspondence intended only for use of the individual or entity named above. If you are not the intended recipient or the agent responsible for delivering the message to the intended recipient, you are hereby notified that any disclosure, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender by phone or by replying this message, and then delete this message from your system. From ben at netcreators.com Mon Jun 9 12:12:13 2008 From: ben at netcreators.com (ben van 't ende [netcreators]) Date: Mon, 09 Jun 2008 12:12:13 +0200 Subject: [TYPO3-dev] I lost the right-click menus In-Reply-To: References: Message-ID: henri delebecque wrote: >> >> Hi Henri, >> >> Your english is good enough ;-) You have probably by accident changed >> the popup >> menu's in your personal settings. Take a look there. >> >> gRTz >> >> ben >> > Hi ben, > > Thanks for your comment :-), and your help. > Unfortunately, the answer is not there: > I have found the option "Disable Popup Context menus" (was unchecked), > check it, save config, uncheck it, save config (to be sure that the > value stored in the database was "unchecked"), without success. > > Moreover, if this option is stored in the database (as I think it is), > how two back-ends sharing the same database can have different behavior > ? This is, I think, the strangest point of this problem... Hey, A pity it does not work. Tell me why you are using two backends and one db. I am really curious about that. gRTz ben -- netcreators :: creation and innovation www.netcreators.com - www.TYPO3.nl Interesse in werken bij Netcreators? http://www.netcreators.com/bedrijf/vacatures/ From henri.delebecque at supelec.fr Mon Jun 9 12:30:38 2008 From: henri.delebecque at supelec.fr (henri delebecque) Date: Mon, 9 Jun 2008 12:30:38 +0200 Subject: [TYPO3-dev] I lost the right-click menus In-Reply-To: References: Message-ID: > >Hey, > >A pity it does not work. Tell me why you are using two backends and >one db. I am >really curious about that. hello again, you're right, it's strange. I don't need two backends. I have re-install a new one as soon as my right-click menus disappear, and then I have tried to isolate the things that change between them. That's why they share the typo3-src directory, and the db. But, as soon as I solve my problem, I will keep only one back-end in my operationnal site :-) thanks best regards henri -- | Henri Delebecque (henri.delebecque at supelec.fr) | Docteur en Sciences | Professeur - Webmaster | Tel : 33 (0)1.69.85.14.91 | Supelec | 3 rue Joliot-Curie | Plateau de Moulon | Fax: 33 (0)1.69.85.12.34 | 91190 Gif sur Yvette | FRANCE -- Disclaimer ------------------------------------ Ce message ainsi que les eventuelles pieces jointes constituent une correspondance privee et confidentielle a l'attention exclusive du destinataire designe ci-dessus. Si vous n'etes pas le destinataire du present message ou une personne susceptible de pouvoir le lui delivrer, il vous est signifie que toute divulgation, distribution ou copie de cette transmission est strictement interdite. Si vous avez recu ce message par erreur, nous vous remercions d'en informer l'expediteur par telephone ou de lui retourner le present message, puis d'effacer immediatement ce message de votre systeme. *** This e-mail and any attachments is a confidential correspondence intended only for use of the individual or entity named above. If you are not the intended recipient or the agent responsible for delivering the message to the intended recipient, you are hereby notified that any disclosure, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender by phone or by replying this message, and then delete this message from your system. From tobias.pierschel at vision-pool.de Mon Jun 9 13:02:51 2008 From: tobias.pierschel at vision-pool.de (Tobias Pierschel) Date: Mon, 09 Jun 2008 13:02:51 +0200 Subject: [TYPO3-dev] 4.2.1 RC1 Bug In-Reply-To: References: Message-ID: Hi, patch works. Thank you T o b i Ernesto Baschny [cron IT] schrieb: > Hi Tobias, > > please test the patch attached to http://bugs.typo3.org/view.php?id=8635 > and tell us if this solves your problem. > > Cheers, > Ernesto > > Tobias Pierschel wrote: on 06.06.2008 15:16: >> Hi, >> we found a Bug in 4.2.1 RC1. >> >> If you copy pages or content elements TYPO3 throws the following error: >> ############################## >> Warning: mysql_real_escape_string() expects parameter 1 to be string, >> array given in >> /srv/www/htdocs/web1/html/dev/typo3_src-4.2.1rc1/t3lib/class.t3lib_db.php >> on line 566 >> >> Warning: Cannot modify header information - headers already sent by >> (output started at >> /srv/www/htdocs/web1/html/dev/typo3_src-4.2.1rc1/t3lib/class.t3lib_db.php:566) >> in /srv/www/htdocs/web1/html/dev/typo3_src-4.2.1rc1/typo3/template.php >> on line 632 >> >> >> Errors: >> 102: These fields are not properly updated in database: >> (tx_templavoila_flex) Probably value mismatch with fieldtype. >> >> ############################## >> >> is this a problem with templavoila? >> >> I tryed "compare" in the database analyser but there is everything okay. >> >> Our environment: >> PHP: 5.2.5 >> Mysql: 5.0.51a >> >> TV: 1.3.6 >> >> >> Greetings >> T o b i From benni at typo3.org Mon Jun 9 13:13:30 2008 From: benni at typo3.org (Benjamin Mack) Date: Mon, 09 Jun 2008 13:13:30 +0200 Subject: [TYPO3-dev] 4.2.1 RC1 Bug In-Reply-To: References: Message-ID: Hey Tobi, please give your +1 after testing to the core list then :) And: Thanks for testing! greetings, benni. -SDG- Tobias Pierschel wrote: > Hi, > patch works. > > Thank you > T o b i > > > Ernesto Baschny [cron IT] schrieb: >> Hi Tobias, >> >> please test the patch attached to >> http://bugs.typo3.org/view.php?id=8635 and tell us if this solves your >> problem. >> >> Cheers, >> Ernesto >> >> Tobias Pierschel wrote: on 06.06.2008 15:16: >>> Hi, >>> we found a Bug in 4.2.1 RC1. >>> >>> If you copy pages or content elements TYPO3 throws the following error: >>> ############################## >>> Warning: mysql_real_escape_string() expects parameter 1 to be string, >>> array given in >>> /srv/www/htdocs/web1/html/dev/typo3_src-4.2.1rc1/t3lib/class.t3lib_db.php >>> on line 566 >>> >>> Warning: Cannot modify header information - headers already sent by >>> (output started at >>> /srv/www/htdocs/web1/html/dev/typo3_src-4.2.1rc1/t3lib/class.t3lib_db.php:566) >>> in >>> /srv/www/htdocs/web1/html/dev/typo3_src-4.2.1rc1/typo3/template.php >>> on line 632 >>> >>> >>> Errors: >>> 102: These fields are not properly updated in database: >>> (tx_templavoila_flex) Probably value mismatch with fieldtype. >>> >>> ############################## >>> >>> is this a problem with templavoila? >>> >>> I tryed "compare" in the database analyser but there is everything okay. >>> >>> Our environment: >>> PHP: 5.2.5 >>> Mysql: 5.0.51a >>> >>> TV: 1.3.6 >>> >>> >>> Greetings >>> T o b i From tobias.pierschel at vision-pool.de Mon Jun 9 13:35:15 2008 From: tobias.pierschel at vision-pool.de (Tobias Pierschel) Date: Mon, 09 Jun 2008 13:35:15 +0200 Subject: [TYPO3-dev] 4.2.1 RC1 Bug In-Reply-To: References: Message-ID: ok, ill do that :-) Benjamin Mack schrieb: > Hey Tobi, > > please give your +1 after testing to the core list then :) And: Thanks > for testing! > > greetings, > benni. > -SDG- > > Tobias Pierschel wrote: >> Hi, >> patch works. >> >> Thank you >> T o b i >> >> >> Ernesto Baschny [cron IT] schrieb: >>> Hi Tobias, >>> >>> please test the patch attached to >>> http://bugs.typo3.org/view.php?id=8635 and tell us if this solves >>> your problem. >>> >>> Cheers, >>> Ernesto >>> >>> Tobias Pierschel wrote: on 06.06.2008 15:16: >>>> Hi, >>>> we found a Bug in 4.2.1 RC1. >>>> >>>> If you copy pages or content elements TYPO3 throws the following error: >>>> ############################## >>>> Warning: mysql_real_escape_string() expects parameter 1 to be >>>> string, array given in >>>> /srv/www/htdocs/web1/html/dev/typo3_src-4.2.1rc1/t3lib/class.t3lib_db.php >>>> on line 566 >>>> >>>> Warning: Cannot modify header information - headers already sent by >>>> (output started at >>>> /srv/www/htdocs/web1/html/dev/typo3_src-4.2.1rc1/t3lib/class.t3lib_db.php:566) >>>> in >>>> /srv/www/htdocs/web1/html/dev/typo3_src-4.2.1rc1/typo3/template.php >>>> on line 632 >>>> >>>> >>>> Errors: >>>> 102: These fields are not properly updated in database: >>>> (tx_templavoila_flex) Probably value mismatch with fieldtype. >>>> >>>> ############################## >>>> >>>> is this a problem with templavoila? >>>> >>>> I tryed "compare" in the database analyser but there is everything >>>> okay. >>>> >>>> Our environment: >>>> PHP: 5.2.5 >>>> Mysql: 5.0.51a >>>> >>>> TV: 1.3.6 >>>> >>>> >>>> Greetings >>>> T o b i From typo3news at otherone.de Mon Jun 9 15:34:06 2008 From: typo3news at otherone.de (Uschi Renziehausen) Date: Mon, 09 Jun 2008 15:34:06 +0200 Subject: [TYPO3-dev] [TYPO3-core] RFC: #8623: Shortcut mode also to the parent page In-Reply-To: References: Message-ID: Hey Christopher :-)) Christopher Torgalson wrote: > Hi, > > > I don't completely understand: why are the two existing pagetypes > preferable to what was suggested in the first message in the thread? > >>> A pagetype "link" with link_browser and some additional params would >>> solve all issues imho, and it's easy to understand the concept, isn't it? > > Since this is already how the UI works in other linking contexts, I'd > say extending the concept to page records is very good suggestion. But > perhaps I've missed something? > My reasons for keeping External and Internal apart: a) different icons in pagetree let me see at first glance what is what. b) If you write your main and submenus tswise, you can use the pagetype for different styling of the links. That the UI works like that is not necessarily a reason. If I want to produce a menu of selected links I do have my pagetree already loaded on the left site. Why do I need to load it again in the element browser instead of being able to select my links directly from there? Mind you: Collecting those pages is a tough job currently, especially if you have a huge pagetree. Prosit, Uschi From bedlamhotel at gmail.com Mon Jun 9 15:49:04 2008 From: bedlamhotel at gmail.com (Christopher Torgalson) Date: Mon, 9 Jun 2008 15:49:04 +0200 Subject: [TYPO3-dev] [TYPO3-core] RFC: #8623: Shortcut mode also to the parent page In-Reply-To: References: Message-ID: Hi, On Mon, Jun 9, 2008 at 3:34 PM, Uschi Renziehausen wrote: > Hey Christopher :-)) > > Christopher Torgalson wrote: >> Hi, >> > >> >> I don't completely understand: why are the two existing pagetypes >> preferable to what was suggested in the first message in the thread? >> >>>> A pagetype "link" with link_browser and some additional params would >>>> solve all issues imho, and it's easy to understand the concept, isn't it? >> >> Since this is already how the UI works in other linking contexts, I'd >> say extending the concept to page records is very good suggestion. But >> perhaps I've missed something? >> > > My reasons for keeping External and Internal apart: > > a) different icons in pagetree let me see at first glance what is what. > b) If you write your main and submenus tswise, you can use the pagetype > for different styling of the links. > > That the UI works like that is not necessarily a reason. If I want to > produce a menu of selected links I do have my pagetree already loaded on > the left site. Why do I need to load it again in the element browser > instead of being able to select my links directly from there? > Mind you: Collecting those pages is a tough job currently, especially if > you have a huge pagetree. These are all 'behind the scenes' considerations. Page type and icons could be kept as is now even if the distinction is made when the record is saved. I just don't see any need for end-users' activities to be dictated by developers' concerns such as these (and sure, the link browser is not a brilliant UI, but why not use it in both places, AND improve it..?) -- Christopher Torgalson http://www.typo3apprentice.com/ From henri.delebecque at supelec.fr Mon Jun 9 15:48:41 2008 From: henri.delebecque at supelec.fr (henri delebecque) Date: Mon, 9 Jun 2008 15:48:41 +0200 Subject: [TYPO3-dev] missing right-click menus (additional info) Message-ID: hello again, I have tried (another time :-)) to reinstall typo3 from the distrib, to be able to see from which point the right-click menu disappear. As soon as I add a "require_once ('empty.php') to typo3conf/localconf.php, even if the file "empty.php" contains only two lines: , I lost the menus. I know that it can seems very strange, since I have succeed, in the past, to add such a line (with a meaningfull content in the included file) to localconf.php. So, the remaining answer is that I do some mistake, but I don't see which one, since the installation process seems good (the Install tool doesn't show anything wrong). Please, can someone helps me ? It should be very simple, but I'm stucked on it for many days. thanks a lot best regards -- | Henri Delebecque (henri.delebecque at supelec.fr) | Docteur en Sciences | Professeur - Webmaster | Tel : 33 (0)1.69.85.14.91 | Supelec | 3 rue Joliot-Curie | Plateau de Moulon | Fax: 33 (0)1.69.85.12.34 | 91190 Gif sur Yvette | FRANCE -- Disclaimer ------------------------------------ Ce message ainsi que les eventuelles pieces jointes constituent une correspondance privee et confidentielle a l'attention exclusive du destinataire designe ci-dessus. Si vous n'etes pas le destinataire du present message ou une personne susceptible de pouvoir le lui delivrer, il vous est signifie que toute divulgation, distribution ou copie de cette transmission est strictement interdite. Si vous avez recu ce message par erreur, nous vous remercions d'en informer l'expediteur par telephone ou de lui retourner le present message, puis d'effacer immediatement ce message de votre systeme. *** This e-mail and any attachments is a confidential correspondence intended only for use of the individual or entity named above. If you are not the intended recipient or the agent responsible for delivering the message to the intended recipient, you are hereby notified that any disclosure, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender by phone or by replying this message, and then delete this message from your system. From bedlamhotel at gmail.com Mon Jun 9 16:10:09 2008 From: bedlamhotel at gmail.com (Christopher Torgalson) Date: Mon, 9 Jun 2008 16:10:09 +0200 Subject: [TYPO3-dev] missing right-click menus (additional info) In-Reply-To: References: Message-ID: On Mon, Jun 9, 2008 at 3:48 PM, henri delebecque wrote: > hello again, > > I have tried (another time :-)) to reinstall typo3 from the distrib, > to be able to see from which point the right-click menu disappear. > > As soon as I add a "require_once ('empty.php') to > typo3conf/localconf.php, even if the file "empty.php" contains only > two lines: , I lost the menus. > > I know that it can seems very strange, since I have succeed, in the > past, to add such a line (with a meaningfull content in the included > file) to localconf.php. > > So, the remaining answer is that I do some mistake, but I don't see > which one, since the installation process seems good (the Install > tool doesn't show anything wrong). > > Please, can someone helps me ? > It should be very simple, but I'm stucked on it for many days. Sounds like a PHP error. Make sure the path is correct because I believe that require_once will halt processing if the file is not found. -- Christopher Torgalson http://www.typo3apprentice.com/ From henri.delebecque at supelec.fr Mon Jun 9 16:33:05 2008 From: henri.delebecque at supelec.fr (henri delebecque) Date: Mon, 9 Jun 2008 16:33:05 +0200 Subject: [TYPO3-dev] missing right-click menus (additional info) In-Reply-To: References: Message-ID: Hi Christopher, > > >Sounds like a PHP error. Make sure the path is correct because I >believe that require_once will halt processing if the file is not >found. Thanks for your help. It was not a path error. I'm a newbie in Php, and don't realizee that putting a blank line fater the "?>" can have such bad consequence. Best regards -- | Henri Delebecque (henri.delebecque at supelec.fr) | Docteur en Sciences | Professeur - Webmaster | Tel : 33 (0)1.69.85.14.91 | Supelec | 3 rue Joliot-Curie | Plateau de Moulon | Fax: 33 (0)1.69.85.12.34 | 91190 Gif sur Yvette | FRANCE -- Disclaimer ------------------------------------ Ce message ainsi que les eventuelles pieces jointes constituent une correspondance privee et confidentielle a l'attention exclusive du destinataire designe ci-dessus. Si vous n'etes pas le destinataire du present message ou une personne susceptible de pouvoir le lui delivrer, il vous est signifie que toute divulgation, distribution ou copie de cette transmission est strictement interdite. Si vous avez recu ce message par erreur, nous vous remercions d'en informer l'expediteur par telephone ou de lui retourner le present message, puis d'effacer immediatement ce message de votre systeme. *** This e-mail and any attachments is a confidential correspondence intended only for use of the individual or entity named above. If you are not the intended recipient or the agent responsible for delivering the message to the intended recipient, you are hereby notified that any disclosure, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender by phone or by replying this message, and then delete this message from your system. From webmaster at llgc.org.uk Mon Jun 9 16:35:49 2008 From: webmaster at llgc.org.uk (Sara Weale) Date: Mon, 09 Jun 2008 15:35:49 +0100 Subject: [TYPO3-dev] missing right-click menus (additional info) In-Reply-To: References: Message-ID: And also check that there is no space right at the end of the php file (after the ?>). That's what caused my menus to break! Sara henri delebecque wrote: > hello again, > > I have tried (another time :-)) to reinstall typo3 from the distrib, > to be able to see from which point the right-click menu disappear. > > As soon as I add a "require_once ('empty.php') to > typo3conf/localconf.php, even if the file "empty.php" contains only > two lines: , I lost the menus. > > I know that it can seems very strange, since I have succeed, in the > past, to add such a line (with a meaningfull content in the included > file) to localconf.php. > > So, the remaining answer is that I do some mistake, but I don't see > which one, since the installation process seems good (the Install > tool doesn't show anything wrong). > > Please, can someone helps me ? > It should be very simple, but I'm stucked on it for many days. > > thanks a lot > best regards > > -- Sara Weale Rheolwr y We / Web Manager Llyfrgell Genedlaethol Cymru National Library of Wales Aberystwyth Ceredigion SY23 3BU Ff?n/Phone: 01970 632845 Ebost/Email: webmaster at llgc.org.uk http://www.llgc.org.uk/ Nid yw'r neges yma o reidrwydd yn adlewyrchu barn y Llyfrgell. This message does not necessarily reflect the opinion of the Library. From dmitry at typo3.org Mon Jun 9 16:40:58 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Mon, 09 Jun 2008 17:40:58 +0300 Subject: [TYPO3-dev] missing right-click menus (additional info) In-Reply-To: References: Message-ID: henri delebecque wrote: > hello again, Why don't you use one topic for one problem? :) -- Dmitry Dulepov Learn more about TYPO3: http://typo3bloke.net/ From sebastiaan at buyways.nl Tue Jun 10 11:43:39 2008 From: sebastiaan at buyways.nl (Sebastiaan Wiersema) Date: Tue, 10 Jun 2008 11:43:39 +0200 Subject: [TYPO3-dev] class.tx_impexp.php sets 256m memory_limit without checking php.ini Message-ID: Hi, Yesterday I reported the following bug in class.tx_impexp.php: http://bugs.typo3.org/view.php?id=8649 On request of Benjamin Mack I'm sending the patch to this list. Cheers, Sebastiaan -- There is no check in class.tx_impexp.php to see if it is necessary to alter the memory_limit setting. Even when the value is altered in php.ini to a higher value (say, 512MB) this is set back to 256MB. I bumped into this when exporting a huge site. I tried to alter the php.ini memory_limit setting up to 512MB, which didn't have any effect. I still got a memory exceeded fatal error... The following patch should do the trick: --- typo3/sysext/impexp/class.tx_impexp.php 2007-12-14 15:08:55.000000000 +0100 +++ typo3/sysext/impexp/class.tx_impexp.php 2008-06-09 11:51:29.000000000 +0200 @@ -180,7 +180,10 @@ require_once (PATH_t3lib.'class.t3lib_refindex.php'); @ini_set('max_execution_time',600); - at ini_set('memory_limit','256m'); +$memory_limit = ini_get('memory_limit'); +if (strtolower(substr($memory_limit, -1)) == 'm' && substr($memory_limit, 0, -1) < 256) { + @ini_set('memory_limit','256m'); +} From martin.kutschker-no at spam-blackbox.net Tue Jun 10 11:52:45 2008 From: martin.kutschker-no at spam-blackbox.net (Martin Kutschker) Date: Tue, 10 Jun 2008 11:52:45 +0200 Subject: [TYPO3-dev] class.tx_impexp.php sets 256m memory_limit without checking php.ini In-Reply-To: References: Message-ID: Sebastiaan Wiersema schrieb: > Hi, > > Yesterday I reported the following bug in class.tx_impexp.php: > http://bugs.typo3.org/view.php?id=8649 > > On request of Benjamin Mack I'm sending the patch to this list. > > Cheers, > Sebastiaan > > -- > > There is no check in class.tx_impexp.php to see if it is necessary to > alter the memory_limit setting. Even when the value is altered in > php.ini to a higher value (say, 512MB) this is set back to 256MB. Yes, that's dull. > The following patch should do the trick: Will fail if the limit doesn't use the 'm' for megabytes. Masi From benni at typo3.org Tue Jun 10 11:55:23 2008 From: benni at typo3.org (Benjamin Mack) Date: Tue, 10 Jun 2008 11:55:23 +0200 Subject: [TYPO3-dev] class.tx_impexp.php sets 256m memory_limit without checking php.ini In-Reply-To: References: Message-ID: Hey Sebastiaan, please send it to the "core-team-list" not the dev list. See the guidlines for this: http://typo3.org/teams/core/core-mailinglist-rules/ And check the recent posts in there to get a feeling of how a RFC should look like. Thanks a lot! -- greetings, benni. -SDG- From dmitry at typo3.org Tue Jun 10 12:05:18 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Tue, 10 Jun 2008 13:05:18 +0300 Subject: [TYPO3-dev] class.tx_impexp.php sets 256m memory_limit without checking php.ini In-Reply-To: References: Message-ID: Martin Kutschker wrote: > Will fail if the limit doesn't use the 'm' for megabytes. If I remember correctly, 'm' and other suffixes can be used only in php.ini. ini_set expects real number. -- Dmitry Dulepov E-mail: dmitry at typo3.org Skype: callto:liels_bugs TYPO3 technical: http://typo3bloke.net/ From sebastiaan at buyways.nl Tue Jun 10 12:25:12 2008 From: sebastiaan at buyways.nl (Sebastiaan Wiersema) Date: Tue, 10 Jun 2008 12:25:12 +0200 Subject: [TYPO3-dev] class.tx_impexp.php sets 256m memory_limit without checking php.ini In-Reply-To: References: Message-ID: On Tue, 2008-06-10 at 11:52 +0200, Martin Kutschker wrote: > Sebastiaan Wiersema schrieb: > > Hi, > > > > Yesterday I reported the following bug in class.tx_impexp.php: > > http://bugs.typo3.org/view.php?id=8649 > > > > On request of Benjamin Mack I'm sending the patch to this list. > > > > Cheers, > > Sebastiaan > > > > -- > > > > There is no check in class.tx_impexp.php to see if it is necessary to > > alter the memory_limit setting. Even when the value is altered in > > php.ini to a higher value (say, 512MB) this is set back to 256MB. > > Yes, that's dull. > > > > The following patch should do the trick: > > Will fail if the limit doesn't use the 'm' for megabytes. > > Masi True. The patch was made in a hurry, I still had to do the export ;) I made a new one (I'll post it at bugs.typo3.org as well), which addresses the max_execution_time as well. I know I made it a bit more extensive than needed (it could all fit in a nice single if-statement), but this proved a bit more readable. Cheers, Sebastiaan --- typo3/sysext/impexp/class.tx_impexp.php 2007-12-14 15:08:55.000000000 +0100 +++ typo3/sysext/impexp/class.tx_impexp.php 2008-06-10 12:17:01.000000000 +0200 @@ -179,8 +179,34 @@ require_once (PATH_t3lib.'class.t3lib_extfilefunc.php'); require_once (PATH_t3lib.'class.t3lib_refindex.php'); - at ini_set('max_execution_time',600); - at ini_set('memory_limit','256m'); +if (ini_get('max_execution_time') < 600) { + @ini_set('max_execution_time',600); +} +// Set the memory_limit to a specified minimum (in MB) +$memory_minimum = 256; +$memory_limit = ini_get('memory_limit'); +// -1 means no limit +if ($memory_limit != -1) { + switch (strtolower(substr($memory_limit, -1))) { + case 'g': // Gigabytes + // Minimum is 1GB, so no need to raise it + break; + case 'm': // Megabytes + if (substr($memory_limit, 0, -1) < $memory_minimum) { + @ini_set('memory_limit', $memory_minimum.'m'); + } + break; + case 'k': // Kilobytes + if (substr($memory_limit, 0, -1) < ($memory_minimum * 1024)) { + @ini_set('memory_limit', $memory_minimum.'m'); + } + break: + default: // Just bytes + if (ctype_digit($memory_limit) && $memory_limit < ($memory_minimum * 1024 * 1024)) { + @ini_set('memory_limit', $memory_minimum.'m'); + } + } +} From sebastiaan at buyways.nl Tue Jun 10 12:36:02 2008 From: sebastiaan at buyways.nl (Sebastiaan Wiersema) Date: Tue, 10 Jun 2008 12:36:02 +0200 Subject: [TYPO3-dev] class.tx_impexp.php sets 256m memory_limit without checking php.ini In-Reply-To: References: Message-ID: On Tue, 2008-06-10 at 11:55 +0200, Benjamin Mack wrote: > Hey Sebastiaan, > > please send it to the "core-team-list" not the dev list. See the > guidlines for this: > http://typo3.org/teams/core/core-mailinglist-rules/ > > And check the recent posts in there to get a feeling of how a RFC should > look like. Thanks a lot! > OK, sorry for the 'overhead'. :) I'll check the links and send it to the core list. Cheers, Sebastiaan From bb at bellevuevej.dk Tue Jun 10 14:40:20 2008 From: bb at bellevuevej.dk (Brian Bendtsen) Date: Tue, 10 Jun 2008 14:40:20 +0200 Subject: [TYPO3-dev] Problem with IRRE child elements storage pid Message-ID: Hi I have made an extension where I use IRRE to attach news records to my item. I was looking for at way to store child elements(news) on a different PID and since im using typo3 version 4.2 this should work: TCAdefaults.tt_news.pid = 13 in PageTS, but it still sets the pid to the page where my parent element is. Any hints? /Brian From martin.kutschker-no at spam-blackbox.net Tue Jun 10 21:13:30 2008 From: martin.kutschker-no at spam-blackbox.net (Martin Kutschker) Date: Tue, 10 Jun 2008 21:13:30 +0200 Subject: [TYPO3-dev] current usage of DBAL, FYI: I gave up In-Reply-To: References: Message-ID: Steffen Ritter schrieb: > Hello Martin, > thanks for response. > If you mean with "toying around" that I'm just testing possibilities > without using it for production envirement you are wrong. I really have > to do a setup. > > The background about is the following: Our network admins have an > administration database where all users are listet, all their registered > hosts with given ips an mac adresses. At all network joints clients have > only access if there IP and their MAC are valid combination. > I just created such an auth-service for typo3 automatically login > fe_users on, if their ip-mac combination is recognized. (added > hoststable with irre to fe_users). For this I worked with imported data > to my tables. > > Network admins stated out, that this behavoiur is not "clean" enough, > they do not want a copy of their database (which is mysql too). A synced copy isn't too bad in my opinion, but it's their decision. > So we > tried to figure out how to solve this problem... And thats the point > where DBAL comes in. > It said it enables us to use some tables in another DB. So we connected > the netadmin database over an ssl-tunnel to the webserver and connected > it with dbal to typo3,build fe_users, fe_groups and the mac-table with > views. > User import and editing worked fine, but we got the joining problems as > mentioned, because all systables are somehow joined with each other > (f.e. fe_groups and pages for access rules in frontend) and sohow should > lie in one database. > > After figuring out our possibilities, debugging dbal and the "get DB > handler" feature and so on we decided that it is to much work to > completely rewrite dbal to work with different databases and joins since > we would have to start at zero. That's why, "I gave up" with dbal, it > simply was not able to solve our problems. If you don't want to move sessions and groups to the foreign DB then DBAL is no option. DBAL *could* maybe changed that the table mapping works with only one connection but multiple databases (schemes). Like in SELECT ... FROM db1.tableA, db2.tableB. But then you would still have the problem that this table is on the same machine. > At last, we i transferred the whole typo3 database from the mysql-server > of the webserver to the netadmin (mysql-)server and configured typo3 to > use this on port 3000-ssl-tunneled database natively. > The clue to this is: I can have a view, selecting data from another > database on the same mysql server (which solves my problems). It's a > little more slower than db on same server, but it should work. As an alternative you could have used the FEDERATED table engine. I haven' used it yet but the docs says it allows to use a foreign table like a local one. The foreign one is "magically" proxied in some way. Masi From martin.kutschker-no at spam-blackbox.net Tue Jun 10 21:25:22 2008 From: martin.kutschker-no at spam-blackbox.net (Martin Kutschker) Date: Tue, 10 Jun 2008 21:25:22 +0200 Subject: [TYPO3-dev] current usage of DBAL In-Reply-To: References: Message-ID: Georg Ringer schrieb: > > I just tied 2 projects with DBAL (using MSSQL) and you always need this > patch! One installation was a 4.1.*, another one is a 4.2. Which driver did you use? The old native or ODBC? Maybe I can make a test setup on one of my machines. Masi From mail-spam at ringerge.org Tue Jun 10 21:26:30 2008 From: mail-spam at ringerge.org (Georg Ringer) Date: Tue, 10 Jun 2008 21:26:30 +0200 Subject: [TYPO3-dev] current usage of DBAL In-Reply-To: References: Message-ID: Martin Kutschker wrote: > Which driver did you use? The old native or ODBC? Maybe I can make a > test setup on one of my machines. odbc thx georg From martin.kutschker-no at spam-blackbox.net Tue Jun 10 21:52:08 2008 From: martin.kutschker-no at spam-blackbox.net (Martin Kutschker) Date: Tue, 10 Jun 2008 21:52:08 +0200 Subject: [TYPO3-dev] current usage of DBAL In-Reply-To: References: Message-ID: Steffen Ritter schrieb: > Hello, > no I used another one, but probably a combination of these two could fix > it. I used http://bugs.typo3.org/view.php?id=8231 which allowed to > install dbal. Drats, something extremely Mysql-specific went into t3lib_db without any thoughts on DBAL. The fix in the patch is probably ok, but it only hides the gory stuff. The charset/collation handling should IMHO never been handled this way. Masi From ingo at typo3.org Wed Jun 11 11:11:45 2008 From: ingo at typo3.org (Ingo Renner) Date: Wed, 11 Jun 2008 11:11:45 +0200 Subject: [TYPO3-dev] Announcing TYPO3 versions 4.2.1, 4.1.7, and 4.0.9 Message-ID: Dear TYPO3 users, The TYPO3 Core team is proud to announce three new releases of TYPO3. Today we release TYPO3 versions 4.2.1, 4.1.7, and 4.0.9. All versions are ready for download. They are maintenance releases and therefore contain only bugfixes. Please notice: In contrast to our release policy we make an exception and release TYPO3 4.0.9. The reason for this is a bug which made the backend unusable in the upcoming Firefox 3 release. MD5 checksums TYPO3 4.2.1: bc8ff56acd939e742ffa51b71307d463 dummy-4.2.1.tar.gz 8faba031bb505d89a8c20b3293585585 dummy-4.2.1.zip 6d86b75366394417749775419e06c932 typo3_src-4.2.1.tar.gz 1d241f846101d883d725562bd1e65ffa typo3_src-4.2.1.zip b8925d305b8c917ff6c0c5a680789a0d typo3_src+dummy-4.2.1.zip MD5 checksums TYPO3 4.1.7: 843015a022905921f351baf3ca0c31e5 dummy-4.1.7.tar.gz 71bed6e72e8d80901c98d61703cd09b4 dummy-4.1.7.zip 1df66c9ed06cbdcd06894c7105693e9b typo3_src-4.1.7.tar.gz f0b3f6fc485d05cb79be55d4d3739b85 typo3_src-4.1.7.zip 8773cbb0a8f8d3e02462b0705944506c typo3_src+dummy-4.1.7.zip MD5 checksums TYPO3 4.0.9: d07370b0a8609cf46e98344eb8cd4ab7 dummy-4.0.9.tar.gz 5c2e675847e2e25a0e79f7f3f360a99a dummy-4.0.9.zip 913ce23da75ff9c898a7dbaa5b3af6e2 typo3_src-4.0.9.tar.gz f5589493eb11532fbee315b6d727e566 typo3_src-4.0.9.zip fb89d6cc87b1b0a832882d84605981e5 typo3_src+dummy-4.0.9.zip Download: http://typo3.org/download/packages/ -- Ingo Renner TYPO3 Core Developer, Release Manager TYPO3 4.2 From ingo at typo3.org Wed Jun 11 11:30:44 2008 From: ingo at typo3.org (Ingo Renner) Date: Wed, 11 Jun 2008 11:30:44 +0200 Subject: [TYPO3-dev] TYPO3 4.2.1, 4.1.7, and 4.0.9 diffstats Message-ID: Hi all, for those who are interested, please find attached the diffstats for the just released versions. have fun Ingo -- Ingo Renner TYPO3 Core Developer, Release Manager TYPO3 4.2 -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: diffstat-4.0.8-4.0.9.txt URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: diffstat-4.1.6-4.1.7.txt URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: diffstat-4.2.0-4.2.1.txt URL: From bb at bellevuevej.dk Wed Jun 11 23:05:32 2008 From: bb at bellevuevej.dk (Brian Bendtsen) Date: Wed, 11 Jun 2008 23:05:32 +0200 Subject: [TYPO3-dev] Problem when using ###REC_FIELD_### Message-ID: Hi I have a minor but annoying problem when creating a new record in a homemade extension. I have a somewhat complex tca for my record and a couple of fields depend on other fields. Im using a marker like this ###REC_FIELD_### in a foreign_table_where But when I create a new record the doesnt have a value resulting in an sql error. I have tried setting a default value but its not fetched. I have tried setting a displayCond which hides the field when the doesn't have a value, but its still processed and the error is still showing. How do I work around this problem? /Brian From benno_weinzierl at web.de Wed Jun 11 23:39:57 2008 From: benno_weinzierl at web.de (Benno Weinzierl) Date: Wed, 11 Jun 2008 23:39:57 +0200 Subject: [TYPO3-dev] Problem when using ###REC_FIELD_### References: Message-ID: Hi Brian, just Use '' in the sql-statement. e.g. mytable.myfield = '###REC_FIELD_###' this will avoid the error, but will not solve the Problem, that the ###REC_FIELD_### is empty on creation of the record. Benno "Brian Bendtsen" schrieb im Newsbeitrag news:mailman.1.1213218328.18203.typo3-dev at lists.netfielders.de... > Hi > > I have a minor but annoying problem when creating a new record in a > homemade extension. I have a somewhat complex tca for my record and a > couple of fields depend on other fields. > > Im using a marker like this > ###REC_FIELD_### > > in a foreign_table_where > > But when I create a new record the doesnt have a value > resulting in an sql error. > > I have tried setting a default value but its not fetched. I have tried > setting a displayCond which hides the field when the doesn't > have a value, but its still processed and the error is still showing. > > How do I work around this problem? > > /Brian From blueduck at gmx.net Thu Jun 12 00:55:15 2008 From: blueduck at gmx.net (Stefano Kowalke) Date: Thu, 12 Jun 2008 00:55:15 +0200 Subject: [TYPO3-dev] Some thoughts about a locallang_common.xml file Message-ID: Hi, As result of the topic 'BE: Where does this label come from?' i make a proposal in wiki [1] for a locallang_common.xml file. I attached a diff with this file and some labels which suggested in the wiki [1]. I don`t take 'login' and 'logout' to the file, because its used only once in the backend and frontend. (Later more to this topic). I took submit instead of send, because don?t need two labels which means the same. When i decided me against 'login' and 'logout', the idea of dedicated langfiles comes up. A file with the common labels like Yes, No,... A file with labels for localization (Language, Localization) A file with labels for the page edit form (Language, Back, Hide, To Top, Text, Media, Access,...) and so on. Furthermore i think we need a documentation to point extensions devs to use this central labels which given with the core and only they have a specific one put this to a locallang.xml file shipped with the extension. What do you mean about this topics? Cheers Stefano [1] http://wiki.typo3.org/index.php/Translations#Proposal_for_a_locallang_common.xml -- Seit?dem?1.1.2008?werden?Daten?zu?jeder?E-Mail?verdachtsunabh?ngig?gespeichert!? Weitere?Informationen: www.vorratsdatenspeicherung.de GPG-ID: 0x2B08936D Key-Fingerprint: 7F31 BCF0 70C0 B3B1 1235 07E9 1777 D7A0 2B08 936D From news at ringerge.org Thu Jun 12 09:07:46 2008 From: news at ringerge.org (Georg Ringer) Date: Thu, 12 Jun 2008 09:07:46 +0200 Subject: [TYPO3-dev] Some thoughts about a locallang_common.xml file In-Reply-To: References: Message-ID: Stefano Kowalke wrote: > What do you mean about this topics? yeah please, go on, +100! for more words and phrases, check common extensions and take the words from there like startingpoint, single view, list view, search, limit, settings, show, hide, .... Georg From obes at okg-computer.de Thu Jun 12 09:13:55 2008 From: obes at okg-computer.de (Til Obes) Date: Thu, 12 Jun 2008 09:13:55 +0200 Subject: [TYPO3-dev] SVN Repository Message-ID: Hello, at sf.net i could get the svn db files to host my own svn repository. Where can i get these files on the new system? Regards Til From ingmar at typo3.org Thu Jun 12 10:15:05 2008 From: ingmar at typo3.org (Ingmar Schlecht) Date: Thu, 12 Jun 2008 10:15:05 +0200 Subject: [TYPO3-dev] SVN Repository In-Reply-To: References: Message-ID: Hi Til, are you talking about migration of your typo3xdev extension's SVN repository to svn.typo3.org? A migration is currently being planned. Please wait for further notices. cheers Ingmar Til Obes schrieb: > Hello, > > at sf.net i could get the svn db files to host > my own svn repository. Where can i get these files > on the new system? > > Regards Til -- Ingmar Schlecht TYPO3 Association Active Member From blueduck at gmx.net Thu Jun 12 12:48:10 2008 From: blueduck at gmx.net (Stefano Kowalke) Date: Thu, 12 Jun 2008 12:48:10 +0200 Subject: [TYPO3-dev] Some thoughts about a locallang_common.xml file References: Message-ID: Hey, > I attached a diff with this file and some labels which suggested in the > wiki [1] forgot the diff, sorry. > Cheers > Stefano > > [1] > http://wiki.typo3.org/index.php/Translations#Proposal_for_a_locallang_common.xml -- Seit?dem?1.1.2008?werden?Daten?zu?jeder?E-Mail?verdachtsunabh?ngig?gespeichert!? Weitere?Informationen: www.vorratsdatenspeicherung.de GPG-ID: 0x2B08936D Key-Fingerprint: 7F31 BCF0 70C0 B3B1 1235 07E9 1777 D7A0 2B08 936D From steffen at sk-typo3.de Thu Jun 12 13:45:44 2008 From: steffen at sk-typo3.de (Steffen Kamper) Date: Thu, 12 Jun 2008 13:45:44 +0200 Subject: [TYPO3-dev] [TYPO3-core] FYI: Demo-Extension References: Message-ID: FYI: I uploaded an extension which demonstrates usage of userfunc in a) extConf b) in constant editor Extensionkey: demo_extconf_userfunc vg Steffen From dmitry at typo3.org Thu Jun 12 13:52:40 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Thu, 12 Jun 2008 14:52:40 +0300 Subject: [TYPO3-dev] [TYPO3-core] FYI: Demo-Extension In-Reply-To: References: Message-ID: Steffen Kamper wrote: > FYI: > I uploaded an extension which demonstrates usage of userfunc in > a) extConf > b) in constant editor > > Extensionkey: demo_extconf_userfunc Hm. Any hints what is so special about it? :) Is it new functionality or what? Can you give some more background info, please? -- Dmitry Dulepov E-mail: dmitry at typo3.org Skype: callto:liels_bugs TYPO3 technical: http://typo3bloke.net/ From ingmar at typo3.org Thu Jun 12 14:03:35 2008 From: ingmar at typo3.org (Ingmar Schlecht) Date: Thu, 12 Jun 2008 14:03:35 +0200 Subject: [TYPO3-dev] [TYPO3-core] FYI: Demo-Extension In-Reply-To: References: Message-ID: Hi Dmitry, Dmitry Dulepov [typo3] wrote: > Steffen Kamper wrote: >> FYI: >> I uploaded an extension which demonstrates usage of userfunc in >> a) extConf >> b) in constant editor >> >> Extensionkey: demo_extconf_userfunc > > Hm. Any hints what is so special about it? :) Is it new functionality or > what? Can you give some more background info, please? What makes this feature interesting is that it was the reason for the problem of "#8108: Extension configuration options are not always shown". The problem was: - The userFunc in extconf should be executed during installation of an extension - But: userFuncs can only be used AFTER the extension is actually installed - Therefore the extension installation now needs to be done in two steps, first the installation, and then the step where a userfunc can hook into. cheers Ingmar -- Ingmar Schlecht TYPO3 Association Active Member From steffen at sk-typo3.de Thu Jun 12 14:10:34 2008 From: steffen at sk-typo3.de (Steffen Kamper) Date: Thu, 12 Jun 2008 14:10:34 +0200 Subject: [TYPO3-dev] [TYPO3-core] FYI: Demo-Extension References: Message-ID: "Dmitry Dulepov [typo3]" schrieb im Newsbeitrag news:mailman.1.1213271560.22928.typo3-team-core at lists.netfielders.de... > Steffen Kamper wrote: >> FYI: >> I uploaded an extension which demonstrates usage of userfunc in >> a) extConf >> b) in constant editor >> >> Extensionkey: demo_extconf_userfunc > > Hm. Any hints what is so special about it? :) Is it new functionality or > what? Can you give some more background info, please? > > -- Its not special, but it shows syntax of how to use a userfunc in extconf and in constant editor. I didn't found a documentation how to use and i didn't found any extension using this, so it might help devs to use this. and, sure, the reason for the patch and the removal of configuration while installing, as Ingmar mentioned :-) vg Steffen From thomas at typo3-unleashed.net Thu Jun 12 14:36:03 2008 From: thomas at typo3-unleashed.net (Thomas Hempel) Date: Thu, 12 Jun 2008 14:36:03 +0200 Subject: [TYPO3-dev] [TYPO3-core] FYI: Demo-Extension In-Reply-To: References: Message-ID: Hi, I understand why this extension was written and so on but was it really necessary to upload it to the TER? I mean, one more extension that does nothing useful. It might be a good idea to distribute such things in a different channel. For example attaching it to your mail here in the dev list. You get your target audience and none has to think about it when looking at the extension list. I don't want to attack anyone but I can't see the reason for uploading such things to the TER. Greets, Thomas -- typo3-unleashed.net From ingmar at typo3.org Thu Jun 12 14:42:31 2008 From: ingmar at typo3.org (Ingmar Schlecht) Date: Thu, 12 Jun 2008 14:42:31 +0200 Subject: [TYPO3-dev] [TYPO3-core] FYI: Demo-Extension In-Reply-To: References: Message-ID: Thomas Hempel schrieb: > Hi, > > > I understand why this extension was written and so on but was it really > necessary to upload it to the TER? I mean, one more extension that does > nothing useful. It might be a good idea to distribute such things in a > different channel. For example attaching it to your mail here in the dev > list. You get your target audience and none has to think about it when > looking at the extension list. > > I don't want to attack anyone but I can't see the reason for uploading > such things to the TER. +1 -- Ingmar Schlecht TYPO3 Association Active Member From dmitry at typo3.org Thu Jun 12 15:38:32 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Thu, 12 Jun 2008 16:38:32 +0300 Subject: [TYPO3-dev] [TYPO3-core] FYI: Demo-Extension In-Reply-To: References: Message-ID: Ingmar Schlecht wrote: > What makes this feature interesting is that it was the reason for the > problem of "#8108: Extension configuration options are not always shown". > > The problem was: > - The userFunc in extconf should be executed during installation of an > extension > - But: userFuncs can only be used AFTER the extension is actually > installed > - Therefore the extension installation now needs to be done in two > steps, first the installation, and then the step where a userfunc can > hook into. Ok, but what *is* the feature? There is no description of it. -- Dmitry Dulepov E-mail: dmitry at typo3.org Skype: callto:liels_bugs TYPO3 technical: http://typo3bloke.net/ From xoonsji02 at sneakemail.com Thu Jun 12 16:48:54 2008 From: xoonsji02 at sneakemail.com (bernd wilke) Date: Thu, 12 Jun 2008 14:48:54 +0000 (UTC) Subject: [TYPO3-dev] [TYPO3-core] FYI: Demo-Extension References: Message-ID: on Thu, 12 Jun 2008 14:36:03 +0200, Thomas Hempel wrote: > Hi, > > > I understand why this extension was written and so on but was it really > necessary to upload it to the TER? I mean, one more extension that does > nothing useful. It might be a good idea to distribute such things in a > different channel. For example attaching it to your mail here in the dev > list. You get your target audience and none has to think about it when > looking at the extension list. > > I don't want to attack anyone but I can't see the reason for uploading > such things to the TER. each extension can be used as demonstration, but not each demonstration- extension has a meaningful job. as there are some extensions for demonstration purpose only, what about a new category 'demonstration'? You could store these extensions into a separate TER, where only devs look into, but that would split the actual central TER into smaller parts with possible inconsistencies. As documentation about TYPO3 is stored in so many different ways it is difficult to get any special knowledge. How many 'forums' exists beside the central NGs? How many web-mirrors exists from the NGs? Don't spread demonstration-extensions in the same way just to have a 'clean' TER. bernd -- http://www.pi-phi.de/t3v4/cheatsheet.html From martin.kutschker-no at spam-blackbox.net Thu Jun 12 17:30:46 2008 From: martin.kutschker-no at spam-blackbox.net (Martin Kutschker) Date: Thu, 12 Jun 2008 17:30:46 +0200 Subject: [TYPO3-dev] Bug/Feature request for t3lib_div::_GP (and alike) In-Reply-To: References: Message-ID: Franz Koch schrieb: > Hey Steffen, > >> Franz want to have $_REQUEST >> but in this case it's not necessary Franz, because you look for a >> single parameter/key/subkey >> >> So if this subkey is in POST, you get the value, or not in POST but in >> GET you get the value from there. > > That's the point - I don't get it from GET if there is also a parameter > with the same namespace in POST. > > My use case: > > I'm using your extension skpagecomments and attached it via TS on every > page in a toolbar at the bottom of the website, only displaying the > button 'show comments (n)' by default. When you click the button and > submit the piVar tx_skpagecomments_pi1[showComments] with GET, I want to > hide/remove the button from the bottom toolbar and show the comments > with a comment form right above the toolbar. Therefore I use a > condition, checking for this piVar and set/unset TS-objects accordingly. > I use this condition: > [globalVar = GP:tx_skpagecomments_pi1|showComments = 1] > > This is working fine, unless I try to add a comment. When submitting the > comment form, the condition will fail and the comments get shown inside > the toolbar instead above. > > And this is because t3lib_div::_GP is not returning a merged array to > the matchcondition class. > > Ok, now I know that I can check directly for a GET var, but I'd like to > stay a bit more flexible so that I don't need to care if the parameter > is coming from GET or POST. But your description of the use case still requires only one value. The point is that for _GP POST takes precedence, but you want it to be GET. That's all. In t3lib_div::_GP() we could easily add a paramter that reverses the precedence. For TS conditions I suggest to swap the letters to PG: [globalVar = PG:tx_skpagecomments_pi1|showComments = 1] The naming logis is that the last letter will be the final one to decide which value is returned. Masi From steffen at sk-typo3.de Thu Jun 12 17:33:20 2008 From: steffen at sk-typo3.de (Steffen Kamper) Date: Thu, 12 Jun 2008 17:33:20 +0200 Subject: [TYPO3-dev] [TYPO3-core] FYI: Demo-Extension References: Message-ID: "Thomas Hempel" schrieb im Newsbeitrag news:mailman.1.1213274163.6293.typo3-team-core at lists.netfielders.de... > Hi, > > > I understand why this extension was written and so on but was it really > necessary to upload it to the TER? I mean, one more extension that does > nothing useful. It might be a good idea to distribute such things in a > different channel. For example attaching it to your mail here in the dev > list. You get your target audience and none has to think about it when > looking at the extension list. > > I don't want to attack anyone but I can't see the reason for uploading > such things to the TER. > > i understand this, but i used category "example" which tells that the extension only shows a technique. That's the purpose of that category, or not? vg Steffen From niederlag at ikd01.de Thu Jun 12 17:57:04 2008 From: niederlag at ikd01.de (Peter Niederlag) Date: Thu, 12 Jun 2008 17:57:04 +0200 Subject: [TYPO3-dev] Re: [TYPO3-core] FYI: Demo-Extension In-Reply-To: References: Message-ID: Hello, Steffen Kamper schrieb: > "Thomas Hempel" schrieb im Newsbeitrag > news:mailman.1.1213274163.6293.typo3-team-core at lists.netfielders.de... [...] > i understand this, but i used category "example" which tells that the > extension only shows a technique. > That's the purpose of that category, or not? +1 there's zillions of useful (and unuseful) ext in ter anyway. Having an easy filter for categories to ter/em would help a lot on this. ;) Greets, Peter -- Peter Niederlag http://www.niekom.de * TYPO3 & EDV Dienstleistungen * http://www.typo3partner.net * professional services network * From christoph.koehler at gmail.com Thu Jun 12 18:11:12 2008 From: christoph.koehler at gmail.com (Christoph Koehler) Date: Thu, 12 Jun 2008 16:11:12 +0000 (UTC) Subject: [TYPO3-dev] SVN Repository References: Message-ID: In article Til Obes wrote: > Hello, > at sf.net i could get the svn db files to host > my own svn repository. Where can i get these files > on the new system? > Regards Til I use git-svn to clone the whole repository with complete history and all tags and branches. Requires learning git, but it's well worth it in my opinion. Christoph -- I'm using an evaluation license of nemo since 366 days. You should really try it! http://www.malcom-mac.com/nemo From xoonsji02 at sneakemail.com Thu Jun 12 19:01:28 2008 From: xoonsji02 at sneakemail.com (bernd wilke) Date: Thu, 12 Jun 2008 17:01:28 +0000 (UTC) Subject: [TYPO3-dev] Bug/Feature request for t3lib_div::_GP (and alike) References: Message-ID: on Thu, 12 Jun 2008 17:30:46 +0200, Martin Kutschker wrote: > But your description of the use case still requires only one value. The > point is that for _GP POST takes precedence, but you want it to be GET. > That's all. no. the problem is that one occurence of POST:tx_myext_pi1[var1] will destroy all values of GET:tx_myext_pi1[var2], GET:tx_myext_pi1[var3], ... because the 'main' paramter is overwritten instead of merged arrays. bernd -- http://www.pi-phi.de/t3v4/cheatsheet.html From martin.kutschker-no at spam-blackbox.net Thu Jun 12 19:14:12 2008 From: martin.kutschker-no at spam-blackbox.net (Martin Kutschker) Date: Thu, 12 Jun 2008 19:14:12 +0200 Subject: [TYPO3-dev] Bug/Feature request for t3lib_div::_GP (and alike) In-Reply-To: References: Message-ID: bernd wilke schrieb: > on Thu, 12 Jun 2008 17:30:46 +0200, Martin Kutschker wrote: > >> But your description of the use case still requires only one value. The >> point is that for _GP POST takes precedence, but you want it to be GET. >> That's all. > > no. the problem is that one occurence of POST:tx_myext_pi1[var1] will > destroy all values of GET:tx_myext_pi1[var2], GET:tx_myext_pi1[var3], ... > because the 'main' paramter is overwritten instead of merged arrays. But this is wrong in the condition. You can use a var|key or even obj|prooperty syntax to check. So you don't ever have a access to tx_myext_pi1[var1], its tx_myext_pi1|var1 (check for GET or POST whatever you prefer) Masi From obes at okg-computer.de Fri Jun 13 07:57:53 2008 From: obes at okg-computer.de (Til Obes) Date: Fri, 13 Jun 2008 07:57:53 +0200 Subject: [TYPO3-dev] SVN Repository In-Reply-To: References: Message-ID: Ingmar Schlecht schrieb: > are you talking about migration of your typo3xdev extension's SVN > repository to svn.typo3.org? No i am talking about getting the svn files: conf dav db format hooks locks README.txt At sf.net i could execute this, to achieve that: rsync -av typo3.svn.sourceforge.net::svn/typo3/ . With that i can host my own svn on my host, which helps speeding up a lot, when you do long operations. Regards Til From info at rs-websystems.de Fri Jun 13 10:47:18 2008 From: info at rs-websystems.de (Steffen Ritter) Date: Fri, 13 Jun 2008 10:47:18 +0200 Subject: [TYPO3-dev] "How" Fe-Users got Authentificated Message-ID: Hey list, I'm currently searching for the following: I wrote my own auth service, for authenticating net-users over ip/mac-Adress combination which works fine so far. Now we want to add functionalities to allow Users to sign in, if they are not in the network. F.E. connected by VPN oder maybe simply watching the page over internet from another location. For this I could show a login if users not authentificated. But I also would need a logout button for this case. Since ip/mac-authentificated users cannot logout (they would be logged in while loading the logout page again) there should not be a Logout button for them. So I need to check which service granted users rights. Is there any place in TSFE where this is stored? Or where should be the place I can store it. My idea was to let my Service store a information such as macauth=1 in TSFE where authinfos are stored. Bzt what is the "right" way to do that? Simply add a field to the users record which I can could check with TS conditions or are there any custom-configuration arrays in TSFE Object which are ceckable by conditions and may be set by auth service? kind regards Steffen From steffen at sk-typo3.de Fri Jun 13 11:32:44 2008 From: steffen at sk-typo3.de (Steffen Kamper) Date: Fri, 13 Jun 2008 11:32:44 +0200 Subject: [TYPO3-dev] "How" Fe-Users got Authentificated References: Message-ID: "Steffen Ritter" schrieb im Newsbeitrag news:mailman.1.1213346838.30211.typo3-dev at lists.netfielders.de... > Hey list, > I'm currently searching for the following: > I wrote my own auth service, for authenticating net-users over > ip/mac-Adress combination which works fine so far. > Now we want to add functionalities to allow Users to sign in, if they are > not in the network. F.E. connected by VPN oder maybe simply watching the > page over internet from another location. > For this I could show a login if users not authentificated. But I also > would need a logout button for this case. Since ip/mac-authentificated > users cannot logout (they would be logged in while loading the logout page > again) there should not be a Logout button for them. > So I need to check which service granted users rights. Is there any place > in TSFE where this is stored? Or where should be the place I can store it. > My idea was to let my Service store a information such as macauth=1 in > TSFE where authinfos are stored. Bzt what is the "right" way to do that? > Simply add a field to the users record which I can could check with TS > conditions or are there any custom-configuration arrays in TSFE Object > which are ceckable by conditions and may be set by auth service? > > kind regards > > Steffen Hi Steffen, if you use your own auth service you are free to store things wherever you want. I think best way is to store such informations in the user session, which is available in TSFE vg Steffen From oliver at typo3.org Fri Jun 13 13:28:43 2008 From: oliver at typo3.org (Oliver Hader) Date: Fri, 13 Jun 2008 13:28:43 +0200 Subject: [TYPO3-dev] Problem with IRRE child elements storage pid In-Reply-To: References: Message-ID: Hi Brian, Brian Bendtsen schrieb: > I have made an extension where I use IRRE to attach news records to my > item. I was looking for at way to store child elements(news) on a > different PID and since im using typo3 version 4.2 this should work: > > TCAdefaults.tt_news.pid = 13 in PageTS, but it still sets the pid to the > page where my parent element is. Please file a new bug report at bugs.typo3.org and attach your extension so I could test the scenario. Thanks! olly -- Oliver Hader TYPO3 4.3 Release Manager From sancar.saran at evodot.com Fri Jun 13 15:40:23 2008 From: sancar.saran at evodot.com (Sancar Saran) Date: Fri, 13 Jun 2008 15:40:23 +0200 Subject: [TYPO3-dev] Some TYPO3 questions Message-ID: Hello there, I'm trying to develop someting like ReaulURL extension and I need some inner TYPO3 knowladge. My First question was. 1-) How can I execute my extesion on every request 2-) How can I forward requests to different page id from PHP. (like if($_REQUEST['id'] == 5) { $TYPO3_VAR['related_to_processed_page_id'] = 10; } ) 3-) Some times $GLOBALS['LANG']->lang was not available. Is there any reson for that. And is there any way to make sure $GLOBALS['LANG']->lang available all times. I hope I can translate my questions. Regards Sancar From patrick at typo3quebec.org Fri Jun 13 15:49:24 2008 From: patrick at typo3quebec.org (Patrick Gaumond) Date: Fri, 13 Jun 2008 09:49:24 -0400 Subject: [TYPO3-dev] "How" Fe-Users got Authentificated In-Reply-To: References: Message-ID: Maybe this PDF by Stucki could help you: http://buzz.typo3.org/people/stucki/article/typo3-frontend-rendering-explained/ If not, still a good reading for anyone! Patrick From egeling at punkt.de Fri Jun 13 17:50:19 2008 From: egeling at punkt.de (Juergen Egeling) Date: Fri, 13 Jun 2008 17:50:19 +0200 Subject: [TYPO3-dev] T3CON08 call for papers Message-ID: Dear Web Professionals and TYPO3 Enthusiasts, The T3CON08 is approaching rapidly and you have the opportunity to present your ideas and experiences at this conference. At T3CON08, you will meet TYPO3 professionals and core developers and will have ample opportunities to exchange your ideas with inspiring like-minded people. This year we also invited a few presenters from outside the immediate TYPO3 community to speak about related topics and influential developments likely to impact TYPO3 in the near future. T3CON08 will take place October 9-11 at Hotel Berlin, Berlin in Berlin, Germany. Learn more about submitting a paper here: http://t3con08.typo3.org/presentations/call_for_papers.html Also, we strongly recommend reading the guidelines provided here: http://t3con08.typo3.org/presentations/paper_guidelines.html Please note that the conference language is English only. Also, if you feel you can teach attendees in your area of expertise, please consider conducting a tutorial for half of a day or a full day. Whether you want to present a paper or a tutorial, at this point, you only need to provide a short abstract that describes your planned paper or tutorial. These are the important dates: * Start call for papers: June 9th 2008 * End call for papers: July 15th 2008 * Notification speaker: August 7th 2008 * End of early bird registration: August 15th 2008 * Final papers due: September 15th 2008 * End of regular registration: October 5th 2008 The papers will be published in the conference proceedings which are handed out to all conference attendees. If you have any questions, please use the form at http://t3con08.typo3.org/home/contact.html to forward your inquiry.=20 On behalf of the TYPO3 Association Juergen Egeling Vice President TYPO3 Association From peter.russ at 4many.net Fri Jun 13 19:13:22 2008 From: peter.russ at 4many.net (Peter Russ) Date: Fri, 13 Jun 2008 19:13:22 +0200 Subject: [TYPO3-dev] T3CON08 call for papers In-Reply-To: References: Message-ID: --- Original Nachricht --- Absender: Juergen Egeling Datum: 13.06.2008 17:50: ;-) http://t3con08.typo3.org/158.html -- Fiat lux! Docendo discimus. _____________________________ 4Many? Services XING: http://www.xing.com/go/invuid/Peter_Russ From mail-spam at ringerge.org Sat Jun 14 10:59:33 2008 From: mail-spam at ringerge.org (Georg Ringer) Date: Sat, 14 Jun 2008 10:59:33 +0200 Subject: [TYPO3-dev] IRRE & Flexforms Message-ID: Hi, i wonder if nobody ever tried it but I really would like to get IRRE inside of flexforms working! The only problem: It doesn't ;) flexform_ds.xml inline tt_content 5 and the Create new comes up and if I click on it, I get also something back: an empty gray bar which is not clickable and a trash icon at the right side. It seems that it is getting initialized but with too less information. IMO this feature would be very nice because there would be no need in many extensions to create records and so on in page/list view first. Oliver, do you have this on your list, maybe I could sponsor it a bit? (of course anybody else can get the money too :D ) Georg From steffen at sk-typo3.de Sat Jun 14 16:35:10 2008 From: steffen at sk-typo3.de (Steffen Kamper) Date: Sat, 14 Jun 2008 16:35:10 +0200 Subject: [TYPO3-dev] IRRE & Flexforms References: Message-ID: Hi, have a look to pbsurvay, there is a simular technique for flexforms vg Steffen "Georg Ringer" schrieb im Newsbeitrag news:mailman.1.1213433985.10423.typo3-dev at lists.netfielders.de... > Hi, > > i wonder if nobody ever tried it but I really would like to get IRRE > inside of flexforms working! The only problem: It doesn't ;) > > flexform_ds.xml > > > > > inline > tt_content > 5 > > > > > > and the Create new comes up and if I click on it, I get also something > back: an empty gray bar which is not clickable and a trash icon at the > right side. > > It seems that it is getting initialized but with too less information. > > IMO this feature would be very nice because there would be no need in many > extensions to create records and so on in page/list view first. > > > Oliver, do you have this on your list, maybe I could sponsor it a bit? (of > course anybody else can get the money too :D ) > > Georg From usenet at schani.com Sun Jun 15 12:48:37 2008 From: usenet at schani.com (Schani) Date: Sun, 15 Jun 2008 12:48:37 +0200 Subject: [TYPO3-dev] Trouble using hooks Message-ID: Hello all, i have trouble using hooks in my extension. I like to insert a record in the page table from my extension. Now i insert in ext_localconf.php $GLOBALS ['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass'][] = 'EXT:xxx_kunden/class.tx_xxx_kunden.php:tx_xxx_kunden_hook'; $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamap_afterDatabaseOperations'][] = 'EXT:xxx_kunden/class.tx_xxx_kunden.php:tx_xxx_kunden_hook'; In class.tx_xxx_kunden.php is: stripslashes_values = 0; $hash = strtolower(md5(uniqid(rand(), true))); $data['pages']['NEW' . substr($hash, 0, 8)] = array( 'uid' => $page_uid, 'title' => $fieldArray['title'], 'hidden' => 0, 'pid' => 26, 'doktype' => 254, // andere Datenfelder von pages ); $tce->start($data, array()); $tce->process_datamap(); unset($data); debug(func_get_args(),'TEST5'); } } ?> Now on save a new record in my xxx_kunden extension, the hooks create not only one page record, but 1400 ?!? What went wrong? Is it the right way to do this? Why is the hook create many Records? Thanks for help Christian From martin.kutschker-no at spam-blackbox.net Sun Jun 15 14:16:20 2008 From: martin.kutschker-no at spam-blackbox.net (Martin Kutschker) Date: Sun, 15 Jun 2008 14:16:20 +0200 Subject: [TYPO3-dev] Trouble using hooks In-Reply-To: References: Message-ID: Schani schrieb: > Hello all, > i have trouble using hooks in my extension. > I like to insert a record in the page table from my extension. > > Now i insert in ext_localconf.php > > $GLOBALS > ['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass'][] > = 'EXT:xxx_kunden/class.tx_xxx_kunden.php:tx_xxx_kunden_hook'; > > $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamap_afterDatabaseOperations'][] > = 'EXT:xxx_kunden/class.tx_xxx_kunden.php:tx_xxx_kunden_hook'; > > > In class.tx_xxx_kunden.php is: > > class tx_xxx_kunden_hook extends t3lib_DB { t3libn_db !?!?! > > Now on save a new record in my xxx_kunden extension, the hooks create > not only one page record, but 1400 ?!? What happens then? Looks like a recursion to me? You invoke a TCE main hook ony any DB operation and so any call to your hook triggers another. > What went wrong? Is it the right way to do this? Why is the hook create > many Records? What do you want to do? It's not clear to me when you want to create the extra page record. Whenever an admin adds a certain record? Maybe you want to check at least the $table argument in the hook. Otherwise any INSERT/UPDATE will result in a new page. Masi From usenet at schani.com Sun Jun 15 15:54:51 2008 From: usenet at schani.com (Schani) Date: Sun, 15 Jun 2008 15:54:51 +0200 Subject: [TYPO3-dev] Trouble using hooks In-Reply-To: References: Message-ID: Hello Masi, for example: In a extension like tt_news, create a news article and instantly also create a sysfolder for more subpages on the pagetree. I need the Sysfolder(s) for many subpages of a record of my extension. 2nd example. I create a Product in my extension with basic infos like Produktname, Hersteller, Preis. But now i need more Pages in pagetree for information to this Produkt. But like to use the flexibility of TV to design a subpage. Some Producs have only one Subpage. Other Products have 27 Subpages. For this subpages i also want to use a menue . No its the best to put this Produkt Subpages in a Sysfolder: - home - productlist |- product database (sysfolder) - Produkt-subpages (sysfolder) |- Product1 (sysfolder) |- technical details |- configuration |- support |- Product2 (sysfolder) | - configuration |- ... The Products are so different that i can not include all infos in one database. And its also in one database not possible to use TV for the detail view. Martin Kutschker schrieb: > Schani schrieb: >> Hello all, >> i have trouble using hooks in my extension. >> I like to insert a record in the page table from my extension. >> >> Now i insert in ext_localconf.php >> >> $GLOBALS >> ['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass'][] >> = 'EXT:xxx_kunden/class.tx_xxx_kunden.php:tx_xxx_kunden_hook'; >> >> $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamap_afterDatabaseOperations'][] >> = 'EXT:xxx_kunden/class.tx_xxx_kunden.php:tx_xxx_kunden_hook'; >> >> >> In class.tx_xxx_kunden.php is: >> >> > class tx_xxx_kunden_hook extends t3lib_DB { > > t3libn_db !?!?! I t3lib_db not the correct Class? >> >> Now on save a new record in my xxx_kunden extension, the hooks create >> not only one page record, but 1400 ?!? > > What happens then? Looks like a recursion to me? You invoke a TCE main > hook ony any DB operation and so any call to your hook triggers another. > >> What went wrong? Is it the right way to do this? Why is the hook >> create many Records? > > What do you want to do? It's not clear to me when you want to create the > extra page record. Whenever an admin adds a certain record? Maybe you > want to check at least the $table argument in the hook. Otherwise any > INSERT/UPDATE will result in a new page. Yes, each new record should create a new sysfolder. Thats what i want. > Masi Christian From b.vandertogt at profinit.com Sun Jun 15 16:09:11 2008 From: b.vandertogt at profinit.com (Bas van der Togt) Date: Sun, 15 Jun 2008 16:09:11 +0200 Subject: [TYPO3-dev] Frontend editing and flexforms Message-ID: Hello list, I build an extension which uses flexforms. In the backend it's all working right. When i request the content element in the frontend it does not show the flexform. It only shows the fields layout, code and startingpoint (which i disabled in ext_tables.php). Does anybody know how i can enable my flexform with frontend editing? Kind regards, Bas From phlogsmailinglists at gmail.com Sun Jun 15 16:46:53 2008 From: phlogsmailinglists at gmail.com (Cyrill Helg) Date: Sun, 15 Jun 2008 16:46:53 +0200 Subject: [TYPO3-dev] additionalHeaderData in extensions, can't get correct order when caching is enabled Message-ID: Hello I'm writing on an extension that depends on a library extension. In the lib ext, the js is added with $GLOBALS['TSFE']->additionalHeaderData['foo']. I do that as well in my ext, but the code from ext is before the library so it fails... How can I control that order? The strange thing is that the lib extension is "loaded" after my extension, although in the ext list its after the lib ext, or what actually controls the order of the loaded extensions? The thing is that if I disable caching of the plugin, it works as expected, but I can't succeed with caching enabled. Thanks for any help. Cyrill Helg From martin.kutschker-no at spam-blackbox.net Sun Jun 15 17:08:03 2008 From: martin.kutschker-no at spam-blackbox.net (Martin Kutschker) Date: Sun, 15 Jun 2008 17:08:03 +0200 Subject: [TYPO3-dev] Trouble using hooks In-Reply-To: References: Message-ID: Schani schrieb: > Hello Masi, > >>> >>> >> class tx_xxx_kunden_hook extends t3lib_DB { >> >> t3libn_db !?!?! > > I t3lib_db not the correct Class? No. There's no need to extend it. The hook class can be a base class. The only reason for extending t3lib_db is DB logging for profiling or accessing other DBs like the DBAL extension does. >> >> What do you want to do? It's not clear to me when you want to create >> the extra page record. Whenever an admin adds a certain record? Maybe >> you want to check at least the $table argument in the hook. Otherwise >> any INSERT/UPDATE will result in a new page. > > Yes, each new record should create a new sysfolder. Thats what i want. Well, if you really want to create the pages on any INSERT to your product table then you're on te right track. But like I said in my previous answer check the $table argument. Otherwise any change on any table will create a new page. And don't set the uid as it won't be used anyway if you request a new record. OTOH you can probably use the $id argument as your pid. What I don't know is how you can check if the hook is called for an INSERT or for an UPDATE. Your usecase asks for a new page only for an INSERT. BTW, you simpy can use a fixes key like NEWmyPage. No need to fuss around with md5 and rand. TCEmain only checks for NEW at the beginning and requires it to be unique in the array - simple if you have only one item in the array :) Masi From erwachsene at thxbye.de Mon Jun 16 10:17:45 2008 From: erwachsene at thxbye.de (Stefan Ernst) Date: Mon, 16 Jun 2008 10:17:45 +0200 Subject: [TYPO3-dev] Displaying Content Elements with custom query in the template Message-ID: (I've also posted this in the Typo3-English list, but I'm not sure if this one here is the more appropriate one, apologies if I annoyed someone with this) Hola, I've been having quite some difficulties with getting content elements to display in the way I want to through Template's TS, the scenario is as follows: I have a custom field in the database for content I'm using with an extension to specify when (I'm rotating even/odd minutes for a test) a certain element is to be displayed. Now, to honour that setting I have to change the select portion in the template outputting the content elements and it works fine, except for one "small" thing: It displays the content elements from ALL pages, not only the current one - which, of course, is pretty unacceptible for production use, it seems to "forget" the part of the MySQL query limiting selection of elements to the current page. Here is the code: -------------------------------------- page = PAGE page.10 = TEMPLATE page.10 { template = FILE template.file = fileadmin/resources/template/main.html workOnSubpart = DOKUMENT marks.INHALT = CONTENT marks.INHALT { table = tt_content select.pidInList = this select.orderBy = sorting } } [minute = 0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58 ] page.10.marks.INHALT.select.where = tx_ideamanorotmenu_rotation_menu=1 OR tx_ideamanorotmenu_rotation_menu=0 AND colPos=0 [minute = 1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,55,57,59 ] page.10.marks.INHALT.select.where = tx_ideamanorotmenu_rotation_menu=2 OR tx_ideamanorotmenu_rotation_menu=0 AND colPos=0 [global] -------------------------------------- Short explanation: If tx_ideamanorotmenu_rotation_menu is 1, it should be displayed only when the current time's minute is even. If tx_ideamanorotmenu_rotation_menu is 2, only when it's odd and if tx_ideamanorotmenu_rotation_menu is 0, it should be displayed in either case (to make "global" elements for both even and odd minutes). Does anybody have an idea on how to fix this? I've read about "select.pidInList = this" supposedly taking care of it, but in my case it simply doesn't - am I maybe using it wrong? Thank you very much for any help or hints, take care, Stefan. From niederlag at ikd01.de Mon Jun 16 13:03:50 2008 From: niederlag at ikd01.de (Peter Niederlag) Date: Mon, 16 Jun 2008 13:03:50 +0200 Subject: [TYPO3-dev] Displaying Content Elements with custom query in the template In-Reply-To: References: Message-ID: Hi, Stefan Ernst schrieb: > (I've also posted this in the Typo3-English list, but I'm not sure if > this one here is the more appropriate one, apologies if I annoyed > someone with this) [...] > marks.INHALT = CONTENT > marks.INHALT { > table = tt_content > select.pidInList = this you should not need this ^^ > select.orderBy = sorting > } > } > > [minute = > 0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58] > > page.10.marks.INHALT.select.where = tx_ideamanorotmenu_rotation_menu=1 > OR tx_ideamanorotmenu_rotation_menu=0 AND colPos=0 this is just ending in select ... where uid in (xy) and foobar=12 or tx_ideamanorotmenu_rotation_menu=0 That means you end up with an 'or' that doesn't care for the pid I would a) go for select.andWhere b) add '()' where needed to get the correct query page.10.marks.INHALT.select.andWhere = (tx_ideamanorotmenu_rotation_menu=1 OR tx_ideamanorotmenu_rotation_menu=0) AND colPos=0 Greets, Peter -- Peter Niederlag http://www.niekom.de * TYPO3 & EDV Dienstleistungen * http://www.typo3partner.net * professional services network * From sebastiaan at framed.nl Mon Jun 16 13:06:45 2008 From: sebastiaan at framed.nl (Sebastiaan van Parijs) Date: Mon, 16 Jun 2008 13:06:45 +0200 Subject: [TYPO3-dev] pi_getRecord Message-ID: Hello guys, I got myself a problem with the t3lib function pi_getRecord this is my code: # Code sample # echo 'Table: '. $this->extTables['dataCollection'] .'
'; echo 'Uid: '. $this->piVars['showUid'] .'
'; $rec = $this->pi_getRecord($this->extTables['dataCollection'],this->piVars['showUid'] ); # End sample # I built this plugin from scrats so might my be possible i forgot to set some kind of function or variable in typo3 or where ever. But this is the resulting message: # Error message # Table: tx_formsbuilder_datacollection Uid: 7 Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /usr/local/www/vhosts/framed.nl/subdomains/dev/httpdocs/t3lib/class.t3lib_db.php on line 796 # End message # Guys any idea on how i can Debug or preferable solve this issue? Thnx, Sebastiaan Framed.nl From erwachsene at thxbye.de Mon Jun 16 14:17:39 2008 From: erwachsene at thxbye.de (Stefan Ernst) Date: Mon, 16 Jun 2008 14:17:39 +0200 Subject: [TYPO3-dev] Displaying Content Elements with custom query in the template In-Reply-To: References: Message-ID: Hello, >> page.10.marks.INHALT.select.where = >> tx_ideamanorotmenu_rotation_menu=1 >> OR tx_ideamanorotmenu_rotation_menu=0 AND colPos=0 > this is just ending in > > select ... where uid in (xy) and foobar=12 or > tx_ideamanorotmenu_rotation_menu=0 > > That means you end up with an 'or' that doesn't care for the pid > > I would > a) go for select.andWhere > b) add '()' where needed to get the correct query > > page.10.marks.INHALT.select.andWhere = > (tx_ideamanorotmenu_rotation_menu=1 > OR tx_ideamanorotmenu_rotation_menu=0) AND colPos=0 Brilliant, this is exactly what I was looking for - works perfectly! Thank you very much, take care, Stefan. -- www.thxbye.de - Stefan Ernst's most website in the world. From usenet at schani.com Mon Jun 16 14:44:09 2008 From: usenet at schani.com (Christian Leicht) Date: Mon, 16 Jun 2008 14:44:09 +0200 Subject: [TYPO3-dev] Trouble using hooks In-Reply-To: References: Message-ID: Hello Masi, i do not recognize how a hook works. i read the Typo3 Core Manual but cant find a way for my problem. Is there any other Extension wich use a Hook or do somthing like the same ? Christian Martin Kutschker schrieb: > Schani schrieb: >> Hello Masi, >> >>>> >>>> >>> class tx_xxx_kunden_hook extends t3lib_DB { >>> >>> t3libn_db !?!?! >> >> I t3lib_db not the correct Class? > > No. There's no need to extend it. The hook class can be a base class. > The only reason for extending t3lib_db is DB logging for profiling or > accessing other DBs like the DBAL extension does. > >>> >>> What do you want to do? It's not clear to me when you want to create >>> the extra page record. Whenever an admin adds a certain record? Maybe >>> you want to check at least the $table argument in the hook. Otherwise >>> any INSERT/UPDATE will result in a new page. >> >> Yes, each new record should create a new sysfolder. Thats what i want. > > Well, if you really want to create the pages on any INSERT to your > product table then you're on te right track. But like I said in my > previous answer check the $table argument. Otherwise any change on any > table will create a new page. And don't set the uid as it won't be used > anyway if you request a new record. OTOH you can probably use the $id > argument as your pid. > > What I don't know is how you can check if the hook is called for an > INSERT or for an UPDATE. Your usecase asks for a new page only for an > INSERT. > > BTW, you simpy can use a fixes key like NEWmyPage. No need to fuss > around with md5 and rand. TCEmain only checks for NEW at the beginning > and requires it to be unique in the array - simple if you have only one > item in the array :) > > Masi From dmitry at typo3.org Tue Jun 17 09:28:01 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Tue, 17 Jun 2008 09:28:01 +0200 Subject: [TYPO3-dev] pi_getRecord In-Reply-To: References: Message-ID: Hi! Sebastiaan van Parijs wrote: > Guys any idea on how i can Debug or preferable solve this issue? Preferable solution: $rows = $GLOBALS['TYPO3_DB']->exec_SELECTgetRows('*', 'table_name', $yourWhere . $this->cObj->enableFields('table_name')); if (count($rows) > 0) { $record = $row[0]; ... } -- Dmitry Dulepov E-mail: dmitry at typo3.org Skype: callto:liels_bugs TYPO3 technical: http://typo3bloke.net/ From sebastiaan at framed.nl Tue Jun 17 10:23:42 2008 From: sebastiaan at framed.nl (Sebastiaan van Parijs) Date: Tue, 17 Jun 2008 10:23:42 +0200 Subject: [TYPO3-dev] pi_getRecord In-Reply-To: References: Message-ID: Thnx for your Reply, The strange part is that the function $this->pi_getRecord() does work for a different table, there the message doesn't occur so, any idea how this can be? I did not use the kickstarter to build the extention this might mean there went something wrong in any part of the configuration of the tables or where ever? Ill use the Solution that you gave me, but that doesnt explain how the $this->pi_getRecord function does work for 1 table and doesnt for the other... Clearly its some thing i haven't considered, and im eager to know that makes this go wrong. So any information on why, or how is very welcome! Thnx and regards, Sebastiaan Framed.nl Dmitry Dulepov [typo3] wrote: > Hi! > > Sebastiaan van Parijs wrote: >> Guys any idea on how i can Debug or preferable solve this issue? > > Preferable solution: > > $rows = $GLOBALS['TYPO3_DB']->exec_SELECTgetRows('*', 'table_name', > $yourWhere . $this->cObj->enableFields('table_name')); > if (count($rows) > 0) { > $record = $row[0]; > ... > } > From steffen at sk-typo3.de Tue Jun 17 10:39:04 2008 From: steffen at sk-typo3.de (Steffen Kamper) Date: Tue, 17 Jun 2008 10:39:04 +0200 Subject: [TYPO3-dev] pi_getRecord References: Message-ID: "Sebastiaan van Parijs" schrieb im Newsbeitrag news:mailman.1.1213691034.12784.typo3-dev at lists.netfielders.de... > Thnx for your Reply, > > The strange part is that the function $this->pi_getRecord() does work for > a different table, there the message doesn't occur so, any idea how > this can be? I did not use the kickstarter to build the extention this > might mean there went something wrong in any part of the configuration of > the tables or where ever? > > Ill use the Solution that you gave me, but that doesnt explain how the > $this->pi_getRecord function does work for 1 table and doesnt for the > other... Clearly its some thing i haven't considered, and im eager to know > that makes this go wrong. > > So any information on why, or how is very welcome! > > Thnx and regards, > Hi, try to ensure you're calling with right arguments t3lib_div::debug(array( $this->extTables['dataCollection'], intval(this->piVars['showUid']) ), 'params'); important to use intval ! vg Steffen From sebastiaan at framed.nl Tue Jun 17 11:02:03 2008 From: sebastiaan at framed.nl (Sebastiaan van Parijs) Date: Tue, 17 Jun 2008 11:02:03 +0200 Subject: [TYPO3-dev] pi_getRecord In-Reply-To: References: Message-ID: Hi, Thnx for the quick reply, i used your function and it returns this: # Values # params 0 tx_formsbuilder_datacollection 1 7 # End # This is the same as the echod values: # Echos # Table: tx_formsbuilder_datacollection Uid: 7 # End # So that seems to be working fine, but still i get the same error with the function: # Error # Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /usr/local/www/vhosts/framed.nl/subdomains/dev/httpdocs/t3lib/class.t3lib_db.php on line 796 # End error # What am i doing wrong? When i try to get another Table it works... # Code sample # $rec = $this->pi_getRecord( $this->extTables['structureSelection'], '1' ); print_r( $rec ); # End sample # It shows a complete array or wanted values. So again what to do now? Thnx for the good help by the way, love the good ideas. Sebastiaan Steffen Kamper wrote: > "Sebastiaan van Parijs" schrieb im Newsbeitrag > news:mailman.1.1213691034.12784.typo3-dev at lists.netfielders.de... >> Thnx for your Reply, >> >> The strange part is that the function $this->pi_getRecord() does work for >> a different table, there the message doesn't occur so, any idea how >> this can be? I did not use the kickstarter to build the extention this >> might mean there went something wrong in any part of the configuration of >> the tables or where ever? >> >> Ill use the Solution that you gave me, but that doesnt explain how the >> $this->pi_getRecord function does work for 1 table and doesnt for the >> other... Clearly its some thing i haven't considered, and im eager to know >> that makes this go wrong. >> >> So any information on why, or how is very welcome! >> >> Thnx and regards, >> > > Hi, > > try to ensure you're calling with right arguments > > t3lib_div::debug(array( > $this->extTables['dataCollection'], intval(this->piVars['showUid']) > ), 'params'); > > important to use intval ! > > vg Steffen > > From steffen at sk-typo3.de Tue Jun 17 11:31:25 2008 From: steffen at sk-typo3.de (Steffen Kamper) Date: Tue, 17 Jun 2008 11:31:25 +0200 Subject: [TYPO3-dev] pi_getRecord References: Message-ID: "Sebastiaan van Parijs" schrieb im Newsbeitrag news:mailman.1.1213693324.22593.typo3-dev at lists.netfielders.de... > Hi, > > Thnx for the quick reply, i used your function and it returns this: > > # Values # > params > 0 tx_formsbuilder_datacollection > 1 7 > # End # > > This is the same as the echod values: > > # Echos # > > Table: tx_formsbuilder_datacollection > Uid: 7 > > # End # > > So that seems to be working fine, but still i get the same error with the > function: > > # Error # > > Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL > result resource in > /usr/local/www/vhosts/framed.nl/subdomains/dev/httpdocs/t3lib/class.t3lib_db.php > on line 796 > > # End error # > > What am i doing wrong? When i try to get another Table it works... > # Code sample # > > $rec = $this->pi_getRecord( $this->extTables['structureSelection'], '1' ); > print_r( $rec ); > > # End sample # > > It shows a complete array or wanted values. > > So again what to do now? > > Thnx for the good help by the way, love the good ideas. > > Sebastiaan > pi_getRecord is a wrapper for the function t3lib_page::checkRecord There the query is build with enableFields, which recommend TCA-entry for the table. If you don't have TCA-entry, the query will fail. btw - if you see errors with sql, enable sqlDebug in installtool to see the query which fails. vg Steffen From sebastiaan at framed.nl Tue Jun 17 12:44:08 2008 From: sebastiaan at framed.nl (Sebastiaan van Parijs) Date: Tue, 17 Jun 2008 12:44:08 +0200 Subject: [TYPO3-dev] pi_getRecord In-Reply-To: References: Message-ID: Hey Thnx Steffen, This error message brought me in the right direction, it seems the starttime gives back an error that needs to befixed. Probably did'nt set is correctly ill see in to this, but for now thank you for getting me a new tool debug my sqls. Ill message when my function works as intended. Regards, Sebastiaan Steffen Kamper wrote: > "Sebastiaan van Parijs" schrieb im Newsbeitrag > news:mailman.1.1213693324.22593.typo3-dev at lists.netfielders.de... >> Hi, >> >> Thnx for the quick reply, i used your function and it returns this: >> >> # Values # >> params >> 0 tx_formsbuilder_datacollection >> 1 7 >> # End # >> >> This is the same as the echod values: >> >> # Echos # >> >> Table: tx_formsbuilder_datacollection >> Uid: 7 >> >> # End # >> >> So that seems to be working fine, but still i get the same error with the >> function: >> >> # Error # >> >> Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL >> result resource in >> /usr/local/www/vhosts/framed.nl/subdomains/dev/httpdocs/t3lib/class.t3lib_db.php >> on line 796 >> >> # End error # >> >> What am i doing wrong? When i try to get another Table it works... >> # Code sample # >> >> $rec = $this->pi_getRecord( $this->extTables['structureSelection'], '1' ); >> print_r( $rec ); >> >> # End sample # >> >> It shows a complete array or wanted values. >> >> So again what to do now? >> >> Thnx for the good help by the way, love the good ideas. >> >> Sebastiaan >> > > pi_getRecord is a wrapper for the function t3lib_page::checkRecord > > There the query is build with enableFields, which recommend TCA-entry for > the table. > If you don't have TCA-entry, the query will fail. > > btw - if you see errors with sql, enable sqlDebug in installtool to see the > query which fails. > > vg Steffen > > From bb at bellevuevej.dk Tue Jun 17 18:53:56 2008 From: bb at bellevuevej.dk (Brian Bendtsen) Date: Tue, 17 Jun 2008 18:53:56 +0200 Subject: [TYPO3-dev] IRRE - create child element issue Message-ID: Hi Im using IRRE in my extension to create child elements while editing the parent. The child element has numerous fields and some are of the type "select". Is it possible to manipulate the foreign_table_where based on a value set from the parent element? /Brian From typo3dev2008.nospam1 at geithware.de Wed Jun 18 11:44:40 2008 From: typo3dev2008.nospam1 at geithware.de (Stefan Geith) Date: Wed, 18 Jun 2008 11:44:40 +0200 Subject: [TYPO3-dev] Include of plugins changed from 4.1.0 to 4.1.7 ? Message-ID: Hi Devs, I have some plugins, that start like this: ... if (isset($TYPO3_LOADED_EXT["sg_userdata"])) { require_once(t3lib_extMgm::extPath("sg_userdata")....); } class tx_sgsmallads_pi1 extends txsg_pibase { ... So $TYPO3_LOADED_EXT was directly available. One of my customers reported, that this doesn't work after an update from 4.1.0 to 4.1.7 I now have to use ...$GLOBALS['TYPO3_LOADED_EXT']... When did this behaviour change ? Seems it was a bugfix in 4.1.x, but I couldn't find where it happend... -- Stefan From dmitry at typo3.org Wed Jun 18 12:01:33 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Wed, 18 Jun 2008 12:01:33 +0200 Subject: [TYPO3-dev] Include of plugins changed from 4.1.0 to 4.1.7 ? In-Reply-To: References: Message-ID: Hi! Stefan Geith wrote: > I have some plugins, that start like this: > > > ... > if (isset($TYPO3_LOADED_EXT["sg_userdata"])) { > require_once(t3lib_extMgm::extPath("sg_userdata")....); > } > class tx_sgsmallads_pi1 extends txsg_pibase { > ... > > > So $TYPO3_LOADED_EXT was directly available. > > One of my customers reported, that this doesn't work > after an update from 4.1.0 to 4.1.7 > > I now have to use ...$GLOBALS['TYPO3_LOADED_EXT']... Please, use t3lib_extMgm::isLoaded('sg_userdata') API call instead. $TYPO3_LOADED_EXT is not a variable for common use. It may even cease to exist in future. -- Dmitry Dulepov E-mail: dmitry at typo3.org Skype: callto:liels_bugs TYPO3 technical: http://typo3bloke.net/ From typo3dev2008.nospam1 at geithware.de Wed Jun 18 12:25:52 2008 From: typo3dev2008.nospam1 at geithware.de (Stefan Geith) Date: Wed, 18 Jun 2008 12:25:52 +0200 Subject: [TYPO3-dev] Include of plugins changed from 4.1.0 to 4.1.7 ? In-Reply-To: References: Message-ID: Dmitry Dulepov [typo3] schrieb: > Hi! > > Stefan Geith wrote: >> I have some plugins, that start like this: >> >> >> ... >> if (isset($TYPO3_LOADED_EXT["sg_userdata"])) { >> require_once(t3lib_extMgm::extPath("sg_userdata")....); >> } >> class tx_sgsmallads_pi1 extends txsg_pibase { >> ... >> >> >> So $TYPO3_LOADED_EXT was directly available. >> >> One of my customers reported, that this doesn't work >> after an update from 4.1.0 to 4.1.7 >> >> I now have to use ...$GLOBALS['TYPO3_LOADED_EXT']... > > Please, use t3lib_extMgm::isLoaded('sg_userdata') API call instead. > $TYPO3_LOADED_EXT is not a variable for common use. It may even cease to > exist in future. Ah - OK, thanks! I will use that now. But: when did the behaviour of including plugins change ? Since when $TYPO3_LOADED_EXT is no longer available without $GLOBALS ? Seems to me if it was one of the Bugfixes from 4.1.0 to 4.1.7 ... - Stefan From masi-no at spam-typo3.org Wed Jun 18 12:43:11 2008 From: masi-no at spam-typo3.org (Martin Kutschker) Date: Wed, 18 Jun 2008 12:43:11 +0200 Subject: [TYPO3-dev] Include of plugins changed from 4.1.0 to 4.1.7 ? In-Reply-To: References: Message-ID: Stefan Geith schrieb: > > Since when $TYPO3_LOADED_EXT is no longer available without $GLOBALS ? > Seems to me if it was one of the Bugfixes from 4.1.0 to 4.1.7 ... It should still be available. Dmitry only meant that it could go away. IMHO it's a good idea to clean the global space up and move stuff to static class variables where appropriate. Masi From ernst at cron-it.de Wed Jun 18 14:08:54 2008 From: ernst at cron-it.de (Ernesto Baschny [cron IT]) Date: Wed, 18 Jun 2008 14:08:54 +0200 Subject: [TYPO3-dev] Include of plugins changed from 4.1.0 to 4.1.7 ? In-Reply-To: References: Message-ID: Stefan Geith wrote: on 18.06.2008 11:44: > I have some plugins, that start like this: > > > .... > if (isset($TYPO3_LOADED_EXT["sg_userdata"])) { > require_once(t3lib_extMgm::extPath("sg_userdata")....); > } > class tx_sgsmallads_pi1 extends txsg_pibase { > .... > > > So $TYPO3_LOADED_EXT was directly available. > > One of my customers reported, that this doesn't work > after an update from 4.1.0 to 4.1.7 > > I now have to use ...$GLOBALS['TYPO3_LOADED_EXT']... > > When did this behaviour change ? > Seems it was a bugfix in 4.1.x, but I couldn't find where it happend... I have had similar issues when upgrading some sites from 4.1.7 which defined "global" variables which were not accessible anymore from inside functions. It seems that the scope of inclusion of our plugins changed somewhere between 4.1.3 and 4.1.6, but I cannot spot the exact location yet. Cheers, Ernesto From ernst at cron-it.de Wed Jun 18 14:35:30 2008 From: ernst at cron-it.de (Ernesto Baschny [cron IT]) Date: Wed, 18 Jun 2008 14:35:30 +0200 Subject: [TYPO3-dev] Include of plugins changed from 4.1.0 to 4.1.7 ? In-Reply-To: References: Message-ID: Ernesto Baschny [cron IT] wrote: on 18.06.2008 14:08: >> I have some plugins, that start like this: >> >> >> .... >> if (isset($TYPO3_LOADED_EXT["sg_userdata"])) { >> require_once(t3lib_extMgm::extPath("sg_userdata")....); >> } >> class tx_sgsmallads_pi1 extends txsg_pibase { >> .... >> >> >> So $TYPO3_LOADED_EXT was directly available. >> >> One of my customers reported, that this doesn't work >> after an update from 4.1.0 to 4.1.7 >> >> I now have to use ...$GLOBALS['TYPO3_LOADED_EXT']... >> >> When did this behaviour change ? >> Seems it was a bugfix in 4.1.x, but I couldn't find where it happend... > > I have had similar issues when upgrading some sites from 4.1.7 which > defined "global" variables which were not accessible anymore from inside > functions. It seems that the scope of inclusion of our plugins changed > somewhere between 4.1.3 and 4.1.6, but I cannot spot the exact location > yet. Ok, I isolated the problem part, which was this patch: http://forge.typo3.org/repositories/revision/typo3v4-core?rev=3276 So happens on the upgrade from 4.1.5 to 4.1.6 and probably affect USER_INT plugins only. Is this also your case, Stefan? Cheers, Ernesto From masi-no at spam-typo3.org Wed Jun 18 14:48:38 2008 From: masi-no at spam-typo3.org (Martin Kutschker) Date: Wed, 18 Jun 2008 14:48:38 +0200 Subject: [TYPO3-dev] Include of plugins changed from 4.1.0 to 4.1.7 ? In-Reply-To: References: Message-ID: Ernesto Baschny [cron IT] schrieb: >> >> I have had similar issues when upgrading some sites from 4.1.7 which >> defined "global" variables which were not accessible anymore from >> inside functions. It seems that the scope of inclusion of our plugins >> changed somewhere between 4.1.3 and 4.1.6, but I cannot spot the exact >> location yet. > > Ok, I isolated the problem part, which was this patch: > > http://forge.typo3.org/repositories/revision/typo3v4-core?rev=3276 > > So happens on the upgrade from 4.1.5 to 4.1.6 and probably affect > USER_INT plugins only. Is this also your case, Stefan? Even so I wouldn't change anything in TYPO3. a) better to use $GLOBAL on any occasion, don't rely on scoping that is outside of your control and b) don't access TYPO3 internals if there is an API for it. Masi From fsuter at cobweb.ch Wed Jun 18 14:48:47 2008 From: fsuter at cobweb.ch (Francois Suter) Date: Wed, 18 Jun 2008 14:48:47 +0200 Subject: [TYPO3-dev] Getting all records from a "group" field Message-ID: Hi all, In a plugin I have added to tt_content a field of type "group" with true MM-relations. I'm using the "group" type because relations may be created to various types of records. Is there already a method to retrieve all those joined records? I found method tslib_content::exec_mm_query_uidList(), but it must be called for each different table referenced in my group field (if I understand correctly). Is there something more generic? Cheers -- Francois Suter Cobweb Development Sarl - http://www.cobweb.ch From ernst at cron-it.de Wed Jun 18 15:28:21 2008 From: ernst at cron-it.de (Ernesto Baschny [cron IT]) Date: Wed, 18 Jun 2008 15:28:21 +0200 Subject: [TYPO3-dev] Include of plugins changed from 4.1.0 to 4.1.7 ? In-Reply-To: References: Message-ID: Martin Kutschker wrote: on 18.06.2008 14:48: > Ernesto Baschny [cron IT] schrieb: >>> >>> I have had similar issues when upgrading some sites from 4.1.7 which >>> defined "global" variables which were not accessible anymore from >>> inside functions. It seems that the scope of inclusion of our plugins >>> changed somewhere between 4.1.3 and 4.1.6, but I cannot spot the >>> exact location yet. >> >> Ok, I isolated the problem part, which was this patch: >> >> http://forge.typo3.org/repositories/revision/typo3v4-core?rev=3276 >> >> So happens on the upgrade from 4.1.5 to 4.1.6 and probably affect >> USER_INT plugins only. Is this also your case, Stefan? > > Even so I wouldn't change anything in TYPO3. a) better to use $GLOBAL on > any occasion, don't rely on scoping that is outside of your control and > b) don't access TYPO3 internals if there is an API for it. Sure, in my case I was including an "external application" as an USER_INT, and my extension was just a glue between TYPO3 and that application. This application was not meant to be "upgraded", but used (its own, not TYPO3 internal!) global variables, which was broken after the mentioned upgrade. Which is why I would at least consider looking at why this was changed in 4.1.6. Cheer, Ernesto From dmitry at typo3.org Thu Jun 19 09:35:51 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Thu, 19 Jun 2008 09:35:51 +0200 Subject: [TYPO3-dev] Getting all records from a "group" field In-Reply-To: References: Message-ID: Francois Suter wrote: > In a plugin I have added to tt_content a field of type "group" with true > MM-relations. I'm using the "group" type because relations may be > created to various types of records. Is there already a method to > retrieve all those joined records? t3lib_loaddbgroup, if I remember correctly :) -- Dmitry Dulepov E-mail: dmitry at typo3.org Skype: callto:liels_bugs TYPO3 technical: http://typo3bloke.net/ From cs at cabag.ch Thu Jun 19 09:47:02 2008 From: cs at cabag.ch (Cedric Spindler) Date: Thu, 19 Jun 2008 07:47:02 +0000 (UTC) Subject: [TYPO3-dev] [TYPO3-UG CH] [static_info_tables] Swiss currency Message-ID: Hello everybody, The standard formatting of Swiss currency is as follows: 12'345.67 cu_decimal_point = . cu_thousands_point = ' The record in static_info_tables would format like this: 12.345,67 Could this be corrected? Thank you The corresponding line should probably read: INSERT INTO static_currencies VALUES ('31', '0', 'CHF', '756', 'Swiss franc', 'SFr.', '', '''', '.', '2', 'centime', '100', '', ''); -- -- Cedric Spindler From admin at commandline.ch Thu Jun 19 10:05:44 2008 From: admin at commandline.ch (=?ISO-8859-15?Q?Jonas_D=FCbi?=) Date: Thu, 19 Jun 2008 10:05:44 +0200 Subject: [TYPO3-dev] [TYPO3-UG CH] [static_info_tables] Swiss currency In-Reply-To: References: Message-ID: Hi Cedric Thank's for the hint. Who does manage those tables by the way? Isn't there some sql file to put the new insert into? Best Regards, Jonas Cedric Spindler schrieb: > Hello everybody, > > The standard formatting of Swiss currency is as follows: > 12'345.67 > cu_decimal_point = . > cu_thousands_point = ' > > The record in static_info_tables would format like this: > 12.345,67 > > Could this be corrected? Thank you > > The corresponding line should probably read: > INSERT INTO static_currencies VALUES ('31', '0', 'CHF', '756', 'Swiss franc', > 'SFr.', '', '''', '.', '2', 'centime', '100', '', ''); From typo3dev2008.nospam1 at geithware.de Thu Jun 19 11:45:37 2008 From: typo3dev2008.nospam1 at geithware.de (Stefan Geith) Date: Thu, 19 Jun 2008 11:45:37 +0200 Subject: [TYPO3-dev] Include of plugins changed from 4.1.0 to 4.1.7 ? In-Reply-To: References: Message-ID: Ernesto Baschny [cron IT] schrieb: > ... > Ok, I isolated the problem part, which was this patch: > > http://forge.typo3.org/repositories/revision/typo3v4-core?rev=3276 > > So happens on the upgrade from 4.1.5 to 4.1.6 and probably affect > USER_INT plugins only. Is this also your case, Stefan? Yes - USER_INT. > Cheers, > Ernesto > _______________________________________________ > TYPO3-dev mailing list > TYPO3-dev at lists.netfielders.de > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev From bb at bellevuevej.dk Thu Jun 19 12:55:48 2008 From: bb at bellevuevej.dk (Brian Bendtsen) Date: Thu, 19 Jun 2008 12:55:48 +0200 Subject: [TYPO3-dev] processDatamapClass issue Message-ID: Hi Im trying to utilize the processDatamap hook to move a news record once it has been created. I have included this in my ext_localconf.php file: $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass'][] = 'EXT:wkleague/class.tx_wkleague_ttnewsPid.php:tx_wkleague_ttnewsPid'; And this in my php(class.tx_wkleague_ttnewsPid.php) file: But nothing happens, its like the funtion is not called at all - I have tried to insert som nonsence code to force an error but even that is not shown. Any hints? Maybe on how to debug this? /Brian From steffen at sk-typo3.de Thu Jun 19 13:04:11 2008 From: steffen at sk-typo3.de (Steffen Kamper) Date: Thu, 19 Jun 2008 13:04:11 +0200 Subject: [TYPO3-dev] processDatamapClass issue References: Message-ID: "Brian Bendtsen" schrieb im Newsbeitrag news:mailman.1.1213872939.16745.typo3-dev at lists.netfielders.de... > Hi > > Im trying to utilize the processDatamap hook to move a news record once it > has been created. > > I have included this in my ext_localconf.php file: > > $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass'][] > = 'EXT:wkleague/class.tx_wkleague_ttnewsPid.php:tx_wkleague_ttnewsPid'; > IIRC you should only use the classname $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass'][] = 'tx_wkleague_ttnewsPid'; vg Steffen From tapio.markula at xetpoint.fi Thu Jun 19 13:30:52 2008 From: tapio.markula at xetpoint.fi (Tapio Markula) Date: Thu, 19 Jun 2008 14:30:52 +0300 Subject: [TYPO3-dev] Danp_documentdirs - missing config Message-ID: Hi The documentdir plugin is fine but mode 'only lastchanged' has no config - how to set the limits, which has been regarded as last changed I could try to modify fe page and add a config, if needed - anybody tryed and found what to change? From dmitry at typo3.org Thu Jun 19 13:52:47 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Thu, 19 Jun 2008 13:52:47 +0200 Subject: [TYPO3-dev] processDatamapClass issue In-Reply-To: References: Message-ID: Steffen Kamper wrote: > IIRC you should only use the classname > > $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass'][] > = 'tx_wkleague_ttnewsPid'; Not the case... It accepts full EXT-like path. Probably config cache was not cleared. -- Dmitry Dulepov E-mail: dmitry at typo3.org Skype: callto:liels_bugs TYPO3 technical: http://typo3bloke.net/ From bb at bellevuevej.dk Thu Jun 19 14:01:45 2008 From: bb at bellevuevej.dk (Brian Bendtsen) Date: Thu, 19 Jun 2008 14:01:45 +0200 Subject: [TYPO3-dev] processDatamapClass issue In-Reply-To: References: Message-ID: Steffen Kamper skrev: > "Brian Bendtsen" schrieb im Newsbeitrag > news:mailman.1.1213872939.16745.typo3-dev at lists.netfielders.de... >> Hi >> >> Im trying to utilize the processDatamap hook to move a news record once it >> has been created. >> >> I have included this in my ext_localconf.php file: >> >> $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass'][] >> = 'EXT:wkleague/class.tx_wkleague_ttnewsPid.php:tx_wkleague_ttnewsPid'; >> > > IIRC you should only use the classname > > $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass'][] > = 'tx_wkleague_ttnewsPid'; > > vg Steffen > > Hi ok, but still, nothing happens - I have tried this: Just to get some kind of confirmation that the function is actually called - but maybe there is another way? /Brian From steffen at sk-typo3.de Thu Jun 19 14:09:06 2008 From: steffen at sk-typo3.de (Steffen Kamper) Date: Thu, 19 Jun 2008 14:09:06 +0200 Subject: [TYPO3-dev] processDatamapClass issue References: Message-ID: "Dmitry Dulepov [typo3]" schrieb im Newsbeitrag news:mailman.1.1213876367.710.typo3-dev at lists.netfielders.de... > Steffen Kamper wrote: >> IIRC you should only use the classname >> >> $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass'][] >> = 'tx_wkleague_ttnewsPid'; > > Not the case... It accepts full EXT-like path. > > Probably config cache was not cleared. > > -- but it looks for the classname (not the file), so classname is expected $hookObjectsArr[] = &t3lib_div::getUserObj($classRef); later there is the call: if (method_exists($hookObj, 'processDatamap_preProcessFieldArray')) { $hookObj->processDatamap_preProcessFieldArray($incomingFieldArray, $table, $id, $this); } vg Steffen From dmitry at typo3.org Thu Jun 19 14:20:06 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Thu, 19 Jun 2008 14:20:06 +0200 Subject: [TYPO3-dev] processDatamapClass issue In-Reply-To: References: Message-ID: Hi! Steffen Kamper wrote: > but it looks for the classname (not the file), so classname is expected > $hookObjectsArr[] = &t3lib_div::getUserObj($classRef); Look what t3lib_div::getUserObj() does. It understands ":" syntax. > later there is the call: > if (method_exists($hookObj, 'processDatamap_preProcessFieldArray')) { > $hookObj->processDatamap_preProcessFieldArray($incomingFieldArray, > $table, $id, $this); > } If you are in doubt, here is an example from TV: $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass']['templavoila'] = 'EXT:templavoila/class.tx_templavoila_tcemain.php:tx_templavoila_tcemain'; $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processCmdmapClass']['templavoila'] = 'EXT:templavoila/class.tx_templavoila_tcemain.php:tx_templavoila_tcemain'; -- Dmitry Dulepov E-mail: dmitry at typo3.org Skype: callto:liels_bugs TYPO3 technical: http://typo3bloke.net/ From dmitry at typo3.org Thu Jun 19 14:21:16 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Thu, 19 Jun 2008 14:21:16 +0200 Subject: [TYPO3-dev] processDatamapClass issue In-Reply-To: References: Message-ID: Brian Bendtsen wrote: > ok, but still, nothing happens - I have tried this: > > class tx_wkleague_ttnewsPid { > function processDatamap_postProcessFieldArray($status, $table, $id, > &$fieldArray, &$tcemain) { > echo 'test'; > } > } > ?> You will not see echo because result of operation is always redirected to another page and your echo will be lost. Try using devLog instead. -- Dmitry Dulepov E-mail: dmitry at typo3.org Skype: callto:liels_bugs TYPO3 technical: http://typo3bloke.net/ From markus at niewerth.com Thu Jun 19 14:42:13 2008 From: markus at niewerth.com (Markus Niewerth [ma]) Date: Thu, 19 Jun 2008 12:42:13 GMT Subject: [TYPO3-dev] WG: TS setup execution/manipulatio in plugins tx_xxxx_pi1 Message-ID: Hi there. Many ppl in our forum group got the question how to manipulate/execute dynamic configured TS setup in the main() routine. For example: $TYPO3_CONF_VARS['FE']['defaultTypoScript_setup'] .= "\n[GLOBAL]\n".$this->config['ts']; This Code is found in the main routine of my plugin pi1. But it dont works. I have tested many many ways to execute my dynamic generated TS, but it never comes to positve result. So i decided to ask you about it. Also i have tested: $GLOBALS["TSFE"]->tmpl->setup['config.']['metaCharset'] = "utf-8"; It dont works. But I get a positive result in this way: $GLOBALS['TSFE']->metaCharset? = $this->config['charset']; Ok but this is only the Charset i could set. But the dynamic in my plugin-settings configured TS i could'nt execute. t3lib_extMgm::addTypoScript($_EXTKEY,'setup',' ?config.someSettings = foo ',1); Why dont this work in the pi1? But in the ext_localconf.php it does so.Best regards, Markus Niewerth (ma)---------------------------------------------GamerzZone.de - the gamers networkwww.gamerzzone.de? From bb at bellevuevej.dk Thu Jun 19 15:38:53 2008 From: bb at bellevuevej.dk (Brian Bendtsen) Date: Thu, 19 Jun 2008 15:38:53 +0200 Subject: [TYPO3-dev] processDatamapClass issue In-Reply-To: References: Message-ID: Dmitry Dulepov [typo3] skrev: > Brian Bendtsen wrote: >> ok, but still, nothing happens - I have tried this: >> >> > class tx_wkleague_ttnewsPid { >> function processDatamap_postProcessFieldArray($status, $table, $id, >> &$fieldArray, &$tcemain) { >> echo 'test'; >> } >> } >> ?> > > You will not see echo because result of operation is always redirected > to another page and your echo will be lost. Try using devLog instead. > I have played around with the devLog extension, I have inserted: t3lib_div::devLog('ext_localconf.php is called','wk_league',0); into the ext_localconf.php but nothing is logged. I have inserted it into the class.tx_wkleague_ttnewsPid.php like so: function processDatamap_postProcessFieldArray($status, $table, $id, &$fieldArray, &$tcemain) { t3lib_div::devLog('postProcessFieldArray is called','wk_league',0); } - but nothing gets logged. The only time I could get something logged was when calling a page from the frontend where I inserted the devLog function. Does it only work in the frontend? /Brian From dmitry at typo3.org Thu Jun 19 15:54:04 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Thu, 19 Jun 2008 15:54:04 +0200 Subject: [TYPO3-dev] processDatamapClass issue In-Reply-To: References: Message-ID: Hi! Brian Bendtsen wrote: > I have played around with the devLog extension, I have inserted: > > t3lib_div::devLog('ext_localconf.php is called','wk_league',0); > > into the ext_localconf.php but nothing is logged. Yes, it will not be logged. ext_localconf.php is loaded only once, then it is cached and cached copy is used. So any of your changes will not appear until you clear configuration cache in BE. > I have inserted it into the class.tx_wkleague_ttnewsPid.php like so: > > function processDatamap_postProcessFieldArray($status, $table, $id, > &$fieldArray, &$tcemain) { > t3lib_div::devLog('postProcessFieldArray is called','wk_league',0); > } > > - but nothing gets logged. I think it is because you did not clear configuration cache. -- Dmitry Dulepov E-mail: dmitry at typo3.org Skype: callto:liels_bugs TYPO3 technical: http://typo3bloke.net/ From bb at bellevuevej.dk Thu Jun 19 16:02:22 2008 From: bb at bellevuevej.dk (Brian Bendtsen) Date: Thu, 19 Jun 2008 16:02:22 +0200 Subject: [TYPO3-dev] processDatamapClass issue In-Reply-To: References: Message-ID: Dmitry Dulepov [typo3] skrev: > Hi! > > Brian Bendtsen wrote: >> I have played around with the devLog extension, I have inserted: >> >> t3lib_div::devLog('ext_localconf.php is called','wk_league',0); >> >> into the ext_localconf.php but nothing is logged. > > Yes, it will not be logged. ext_localconf.php is loaded only once, then > it is cached and cached copy is used. So any of your changes will not > appear until you clear configuration cache in BE. > >> I have inserted it into the class.tx_wkleague_ttnewsPid.php like so: >> >> function processDatamap_postProcessFieldArray($status, $table, $id, >> &$fieldArray, &$tcemain) { >> t3lib_div::devLog('postProcessFieldArray is >> called','wk_league',0); >> } >> >> - but nothing gets logged. > > I think it is because you did not clear configuration cache. > I have cleared it multiple times and I have deleted the tmp files in typo3conf /Brian From peter.russ at 4many.net Thu Jun 19 20:34:30 2008 From: peter.russ at 4many.net (Peter Russ) Date: Thu, 19 Jun 2008 20:34:30 +0200 Subject: [TYPO3-dev] RFC: Extended Actions for taskcenter Message-ID: Hi, Sometimes it would be helpful to copy pages with all content element in an action. So you would get the option to prepare the page as a "template" that could be easily edited after copying. The long way to copy is via the clipboard and then pasting the content in a different page. But there is now an easier solution: extended version of actions. This gives you 3 new actions: 1) Copy page and edit: This copies a given page into a dedicated page. After that you can directly access all content elements and edit them. Pretty helpful for Newsletters for example. 2) Content on copied page: This inserts a defined content element to the end of copied page and opens it directly for editing. 3) Reset: To enable easy editing of the latest copied page the pid is stored until reset action is activated. By offering this you can navigate through the backend. After returning to taskcenter actions you can continue with editing. Feedback and comments are highly appreciated. Please add them directly at http://bugs.typo3.org/view.php?id=8770 Patch and t3x can be found there! Regs. Peter. -- Fiat lux! Docendo discimus. _____________________________ 4Many? Services XING: http://www.xing.com/go/invuid/Peter_Russ From tapio.markula at xetpoint.fi Fri Jun 20 09:07:49 2008 From: tapio.markula at xetpoint.fi (Tapio Markula) Date: Fri, 20 Jun 2008 10:07:49 +0300 Subject: [TYPO3-dev] Some help developing tm_contentaccess Message-ID: Hi I would like to get a little bit help with developing tm_contentaccess working with Typo3 4.2.x. $TYPO3_CONF_VARS['BE']['XCLASS']['ext/cms/layout/class.tx_cms_layout.php']= t3lib_extMgm::extPath($_EXTKEY) . 'class.ux_tx_cms_layout.php'; Doesn't fully work as expected. Contextual menus don't work. They open once into wrong position. I tested with and without XCLASS for db_layout.php - no change. So the problem must relate somewhat for XCLASS for class.tx_cms_layout.php. Worked ok in 4.1.x and I didn't find remarkable chanages in class.tx_cms_layout.php between 4.1.5 and 4.2.1. So I can't understand why contentextual menus don't work by now in default Web > Page module. From tapio.markula at xetpoint.fi Fri Jun 20 13:41:17 2008 From: tapio.markula at xetpoint.fi (Tapio Markula) Date: Fri, 20 Jun 2008 14:41:17 +0300 Subject: [TYPO3-dev] Some help developing tm_contentaccess In-Reply-To: References: Message-ID: Tapio Markula kirjoitti: > Hi > > I would like to get a little bit help with developing tm_contentaccess > working with Typo3 4.2.x. > > $TYPO3_CONF_VARS['BE']['XCLASS']['ext/cms/layout/class.tx_cms_layout.php']= > t3lib_extMgm::extPath($_EXTKEY) . 'class.ux_tx_cms_layout.php'; > > Doesn't fully work as expected. Contextual menus don't work. They open > once into wrong position. > > I tested with and without XCLASS for db_layout.php - no change. So the > problem must relate somewhat for XCLASS for class.tx_cms_layout.php. > > Worked ok in 4.1.x and I didn't find remarkable chanages in > class.tx_cms_layout.php between 4.1.5 and 4.2.1. > > So I can't understand why contentextual menus don't work by now in > default Web > Page module. found reason the problem - drag'n drop uses older version of srcriptaculous - the version is from Maximo's plugin and apparently new contextual menus uses also scriptaculous but newer version - so some JS conflict. Disabling drag'ndrop contextual menus worked ok. From tapio.markula at xetpoint.fi Fri Jun 20 13:50:05 2008 From: tapio.markula at xetpoint.fi (Tapio Markula) Date: Fri, 20 Jun 2008 14:50:05 +0300 Subject: [TYPO3-dev] Some help developing tm_contentaccess In-Reply-To: References: Message-ID: Tapio Markula wrote: > Hi > > I would like to get a little bit help with developing tm_contentaccess > working with Typo3 4.2.x. > > $TYPO3_CONF_VARS['BE']['XCLASS']['ext/cms/layout/class.tx_cms_layout.php']= t3lib_extMgm::extPath($_EXTKEY) . 'class.ux_tx_cms_layout.php'; > > Doesn't fully work as expected. Contextual menus don't work. They open once into wrong position. > > I tested with and without XCLASS for db_layout.php - no change. So the problem must relate somewhat for XCLASS for class.tx_cms_layout.php. > > Worked ok in 4.1.x and I didn't find remarkable chanages in class.tx_cms_layout.php between 4.1.5 and 4.2.1. > > So I can't understand why contentextual menus don't work by now in default Web > Page module. found reason the problem - drag'n drop uses older version of prototype - the version is from Maximo's plugin and apparently new contextual menus uses also prototype but newer version - so some JS conflict. Disabling drag'ndrop contextual menus worked ok. After disabling older version of proptype, when used Typo3 4.2.x, I got the problem solved. Drag'ndrop worked also with the newer version prototype and not both contextual menus and drag'ndrop works. From bb at bellevuevej.dk Fri Jun 20 16:01:15 2008 From: bb at bellevuevej.dk (Brian Bendtsen) Date: Fri, 20 Jun 2008 16:01:15 +0200 Subject: [TYPO3-dev] ch_treeview - damcat problems Message-ID: Hi I have installed the extension ch_treeview so its possible to select a dam category from within a homemade table. Here is a the important bit from my TCA. The tree is shown and works with expand and so far, but when I choose a dam category I get an error, like one has already been chosen. Its like there is an invisible item in the textbox on the left. I can select this invisible item, delete it and then I can choose a category. BUT its not saved. I have tested it with the example table from the extension and that works fine. So do I need to do something extra to get it working with damcat. "damcat" => Array ( "exclude" => 1, "label" => "LLL:EXT:wk_league/locallang_db.xml:tx_wkleague_match.damcat", 'config' => Array ( 'type' => 'select', 'form_type' => 'user', 'userFunc' => 'tx_ch_treeview->displayCategoryTree', 'treeView' => 1, 'treeName' => 'damcategories', 'treeMaxDepth' => 999, 'size' => 1, 'autoSizeMax' => 100, 'selectedListStyle' => 'width:250px', 'minitems' => 0, 'maxitems' => 0, 'foreign_table' => 'tx_dam_cat', 'wizards' => Array( '_PADDING' => 2, '_VERTICAL' => 1, 'add' => Array( 'type' => 'script', 'title' => 'LLL:EXT:ch_treeview/locallang_db.xml:tx_chtreeview_example.createNewParentCategory', 'icon' => 'add.gif', 'params' => Array( 'table'=>'tx_dam_cat', 'pid' => '###CURRENT_PID###', 'setValue' => 'set' ), 'script' => 'wizard_add.php', ), 'list' => Array( 'type' => 'script', 'title' => 'LLL:EXT:ch_treeview/locallang_db.xml:tx_treeview_example.listCategories', 'icon' => 'list.gif', 'params' => Array( 'table'=>'tx_dam_cat', 'pid' => '###CURRENT_PID###', ), 'script' => 'wizard_list.php', ), ), ), ), /Brian From ss at cabag.ch Fri Jun 20 16:01:38 2008 From: ss at cabag.ch (Sonja Scholz) Date: Fri, 20 Jun 2008 16:01:38 +0200 Subject: [TYPO3-dev] Development of crawler extension? Message-ID: Hello all, i use the useful extension crawler. And my question is: Is there an advancement for this extension, in future? Because nothing has been done, since march 2007. Who is the responsible developer, then? Thanks for your answer. Kind regards, Sonja From nospam at nospam.de Fri Jun 20 16:28:10 2008 From: nospam at nospam.de (=?UTF-8?B?RGFuaWVsIFDCmsO2dHppbmdlcg==?=) Date: Fri, 20 Jun 2008 16:28:10 +0200 Subject: [TYPO3-dev] Development of crawler extension? In-Reply-To: References: Message-ID: Sonja Scholz schrieb: > Hello all, > > i use the useful extension crawler. > > And my question is: Is there an advancement for this extension, in > future? Because nothing has been done, since march 2007. Who is the > responsible developer, then? > > Thanks for your answer. > > Kind regards, > > Sonja Hello It is kasper. Do you found any bugs - because we solved some of the bugs we had recently. greetings From ben at netcreators.com Fri Jun 20 21:04:14 2008 From: ben at netcreators.com (ben van 't ende [netcreators]) Date: Fri, 20 Jun 2008 21:04:14 +0200 Subject: [TYPO3-dev] Development of crawler extension? In-Reply-To: References: Message-ID: Daniel P??tzinger wrote: > Sonja Scholz schrieb: >> Hello all, >> >> i use the useful extension crawler. >> >> And my question is: Is there an advancement for this extension, in >> future? Because nothing has been done, since march 2007. Who is the >> responsible developer, then? >> >> Thanks for your answer. >> >> Kind regards, >> >> Sonja > > Hello > > It is kasper. > > Do you found any bugs - because we solved some of the bugs we had recently. > > greetings Hi Daniel, I think Kasper would be glad to hand over the key to you if you would want to do further development. We have improved "loginusertrack" (not updated since - 24.05.2003) and hope to get the key transferred any time soon to publish a new version. gRTz ben -- netcreators :: creation and innovation www.netcreators.com - www.TYPO3.nl Interesse in werken bij Netcreators? http://www.netcreators.com/bedrijf/vacatures/ From news at contratec.de Sat Jun 21 19:11:00 2008 From: news at contratec.de (Matthias Stuebner) Date: Sat, 21 Jun 2008 19:11:00 +0200 Subject: [TYPO3-dev] Re: [TYPO3-core] FYI: Demo-Extension References: Message-ID: On Thu, 12 Jun 2008 14:36:03 +0200, Thomas Hempel wrote: > I don't want to attack anyone but I can't see the reason for uploading > such things to the TER. 1. Did you just forget to mention where to put it instead? 2. Isn't that the sense of the TER, expecially cat example? -- br Matthias From thorsten.kahler at dkd.de Sat Jun 21 22:16:13 2008 From: thorsten.kahler at dkd.de (Thorsten Kahler) Date: Sat, 21 Jun 2008 22:16:13 +0200 Subject: [TYPO3-dev] "How" Fe-Users got Authentificated In-Reply-To: References: Message-ID: Hi Steffen, Steffen Ritter schrieb am 13.06.2008 10:47 Uhr: > I wrote my own auth service, for authenticating net-users over > ip/mac-Adress combination which works fine so far. > [...] > So I need to check which service granted users rights. Is there any > place in TSFE where this is stored? Or where should be the place I can > store it. > My idea was to let my Service store a information such as macauth=1 in > TSFE where authinfos are stored. Bzt what is the "right" way to do that? > Simply add a field to the users record which I can could check with TS > conditions or are there any custom-configuration arrays in TSFE Object > which are ceckable by conditions and may be set by auth service? > you should implement the getGroup() method and apply a specific group to the user identified by IP. Then you can easily suppress output of the logout button by a [usergroup = ...] condition. Detailed infos on how to implement TYPO3 services [1] and especially the authentication services [2] (this document should've been integrated into TYPO Core API but isn't yet) can be found on typo3.org. Regards Thorsten [1] [2] -- Thorsten Kahler thorsten.kahler at dkd.de From nospam at nospam.de Sat Jun 21 22:26:16 2008 From: nospam at nospam.de (=?UTF-8?B?RGFuaWVsIFDCmsO2dHppbmdlcg==?=) Date: Sat, 21 Jun 2008 22:26:16 +0200 Subject: [TYPO3-dev] Development of crawler extension? In-Reply-To: References: Message-ID: ben van 't ende [netcreators] schrieb: > Daniel P??tzinger wrote: >> Sonja Scholz schrieb: >>> Hello all, >>> >>> i use the useful extension crawler. >>> >>> And my question is: Is there an advancement for this extension, in >>> future? Because nothing has been done, since march 2007. Who is the >>> responsible developer, then? >>> >>> Thanks for your answer. >>> >>> Kind regards, >>> >>> Sonja >> >> Hello >> >> It is kasper. >> >> Do you found any bugs - because we solved some of the bugs we had >> recently. >> >> greetings > > Hi Daniel, > > I think Kasper would be glad to hand over the key to you if you would > want to do further development. We have improved "loginusertrack" (not > updated since - 24.05.2003) and hope to get the key transferred any time > soon to publish a new version. > > gRTz > > ben ok - i will ask him - thx From oliver at typo3.org Sun Jun 22 19:51:43 2008 From: oliver at typo3.org (Oliver Hader) Date: Sun, 22 Jun 2008 19:51:43 +0200 Subject: [TYPO3-dev] [TYPO3-project-4-3] Announce: TYPO3 4.3 mailing list Message-ID: Dear TYPO3 Developers, to make communication concerning TYPO3 4.3 development easy, a new mailing list was set up. Some might ask themselves "why another list" - the answer is pretty simple: The Core list is for submitting and reviewing patches only and not for discussions and the Dev list is for general development of extensions and core parts for all TYPO3 versions. The aim is to centralize information of TYPO3 4.3 development and to unburden the Core and Dev lists. The new list can be used for conceptual discussions, posting prototype code snippets for a kind of "pre-reviewing" and for other TYPO3 4.3 related issues in general. However, if a feature shall be integrated into the TYPO3 Core, the procedure stays the same and still happens exclusively in Core list. The new list *typo3.projects.typo3_4-3.general* is available as news/nntp list [1] and of course also as ordinary mailing list at lists.netfielders.de [2]. Additionally there'll be weekly status reports about the accordant state of development which will be published in this new list. - olly [1] news://news.netfielders.de/typo3.projects.typo3_4-3.general [2] http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-4-3 -- Oliver Hader TYPO3 4.3 Release Manager From bb at bellevuevej.dk Mon Jun 23 23:18:25 2008 From: bb at bellevuevej.dk (Brian Bendtsen) Date: Mon, 23 Jun 2008 23:18:25 +0200 Subject: [TYPO3-dev] Which hook to use when deleting a record? Message-ID: Hi Im using the hook processDatamap_afterDatabaseOperations to do something when a record has been created or updated. Which hook can I use when I delete a record? /Brian From dmitry at typo3.org Tue Jun 24 07:15:53 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Tue, 24 Jun 2008 08:15:53 +0300 Subject: [TYPO3-dev] Which hook to use when deleting a record? In-Reply-To: References: Message-ID: Hi! Brian Bendtsen wrote: > Im using the hook processDatamap_afterDatabaseOperations to do something > when a record has been created or updated. > > Which hook can I use when I delete a record? Deleting is a command, not data manipulation. There are two hooks: - processCmdmap_preProcess - processCmdmap_postProcess -- Dmitry Dulepov E-mail: dmitry at typo3.org Skype: callto:liels_bugs TYPO3 technical: http://typo3bloke.net/ From masi-no at spam-typo3.org Tue Jun 24 08:31:43 2008 From: masi-no at spam-typo3.org (Martin Kutschker) Date: Tue, 24 Jun 2008 08:31:43 +0200 Subject: [TYPO3-dev] Which hook to use when deleting a record? In-Reply-To: References: Message-ID: Dmitry Dulepov [typo3] schrieb: > Hi! > > Brian Bendtsen wrote: >> Im using the hook processDatamap_afterDatabaseOperations to do >> something when a record has been created or updated. >> >> Which hook can I use when I delete a record? > > Deleting is a command, not data manipulation. Not very intuitive. Deleting is a database operation and I disagree with you. To me deleting is a manipulation even if it's the terminal one for the data in question. Masi From dmitry at typo3.org Tue Jun 24 09:16:26 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Tue, 24 Jun 2008 10:16:26 +0300 Subject: [TYPO3-dev] Which hook to use when deleting a record? In-Reply-To: References: Message-ID: Martin Kutschker wrote: > Not very intuitive. Deleting is a database operation and I disagree with > you. To me deleting is a manipulation even if it's the terminal one for > the data in question. Well, check TCEmain. Deleting happens through process_cmdMap(). I am not the once who invented it :D -- Dmitry Dulepov E-mail: dmitry at typo3.org Skype: callto:liels_bugs TYPO3 technical: http://typo3bloke.net/ From masi-no at spam-typo3.org Tue Jun 24 09:17:33 2008 From: masi-no at spam-typo3.org (Martin Kutschker) Date: Tue, 24 Jun 2008 09:17:33 +0200 Subject: [TYPO3-dev] Which hook to use when deleting a record? In-Reply-To: References: Message-ID: Dmitry Dulepov [typo3] schrieb: > Martin Kutschker wrote: >> Not very intuitive. Deleting is a database operation and I disagree with >> you. To me deleting is a manipulation even if it's the terminal one for >> the data in question. > > Well, check TCEmain. Deleting happens through process_cmdMap(). > > I am not the once who invented it :D I thought you were speaking generally. Of course TYPO3 is different. Too bad that "think different" has already been taken :-) Masi From simon at rundell.org.uk Tue Jun 24 09:36:15 2008 From: simon at rundell.org.uk (Fr. Simon Rundell SCP) Date: Tue, 24 Jun 2008 08:36:15 +0100 Subject: [TYPO3-dev] Stupid Stupid Stupid Message-ID: I freely admit to you all that I've not been good at coding extensions using the API, and this really basic and stupid question hopefully will mark a turn in that: Previously, to extract data into an array, I would have written: $sql="SELECT * FROM ".$data["database"]." WHERE uid=".$data["drpRecordSelect"]; $newdata = $this->get_data($sql); // this is a function which queries and returns the array and I know I should use exec_SELECTquery, so global $TYPO3_DB; $newdata=$TYPO3_DB->exec_SELECTquery('*', $data["database"], 'uid='.$data["drpRecordSelect"], '', '', ''); so why isn't it returning anything? Am I not referencing the database object right (should it be $GLOBALS["TYPO3_DB"]) or is there something else fundamental in that. Sorry fpr asking such a basic question, but if I crack this then I promise I'll write nice secure, API-wrapped queries in future. :-) Fr. S -- Fr. Simon Rundell SCP Parish of S. Thomas the Apostle, Elson The Vicarage, 21 Elson Road, Gosport, Hants, UK, PO12 4BL Tel: 02392 582824 Mob: 07976 802123 email: simon at rundell.org.uk web: http://www.saintthomaselson.org.uk blog: http://frsimon.wordpress.com "I came that you may have life - life in all its fullness" John 10:10 READ CAREFULLY. By reading this email, you agree, on behalf of your employer, to release me from all obligations and waivers arising from any and all NON-NEGOTIATED agreements, licenses, terms-of-service, shrinkwrap, clickwrap, browsewrap, confidentiality, non-disclosure, non-compete and acceptable use policies ("BOGUS AGREEMENTS") that I have entered into with your employer, its partners, licensors, agents and assigns, in perpetuity, without prejudice to my ongoing rights and privileges. You further represent that you have the authority to release me from any BOGUS AGREEMENTS on behalf of your employer. From typo3 at we-make.net Tue Jun 24 09:47:38 2008 From: typo3 at we-make.net (Stefan Beylen) Date: Tue, 24 Jun 2008 09:47:38 +0200 Subject: [TYPO3-dev] Stupid Stupid Stupid In-Reply-To: References: Message-ID: Fr. Simon Rundell SCP wrote: > $newdata=$TYPO3_DB->exec_SELECTquery('*', $data["database"], > 'uid='.$data["drpRecordSelect"], '', '', ''); why not use: $GLOBALS['TYPO3_DB']->exec_SELECTquery('*', $data["database"], 'uid='.$data["drpRecordSelect"], '', '', ''); From peter.russ at 4many.net Tue Jun 24 09:45:01 2008 From: peter.russ at 4many.net (Peter Russ) Date: Tue, 24 Jun 2008 09:45:01 +0200 Subject: [TYPO3-dev] Stupid Stupid Stupid In-Reply-To: References: Message-ID: --- Original Nachricht --- Absender: Fr. Simon Rundell SCP Datum: 24.06.2008 09:36: > I freely admit to you all that I've not been good at coding extensions > using the API, and this really basic and stupid question hopefully will mark > a turn in that: > > Previously, to extract data into an array, I would have written: > > $sql="SELECT * FROM ".$data["database"]." WHERE > uid=".$data["drpRecordSelect"]; > $newdata = $this->get_data($sql); // this is a function which queries > and returns the array > > and I know I should use exec_SELECTquery, so > > global $TYPO3_DB; > > $newdata=$TYPO3_DB->exec_SELECTquery('*', $data["database"], > 'uid='.$data["drpRecordSelect"], '', '', ''); > > so why isn't it returning anything? Am I not referencing the database object > right (should it be $GLOBALS["TYPO3_DB"]) or is there something else > fundamental in that. Sorry fpr asking such a basic question, but if I crack > this then I promise I'll write nice secure, API-wrapped queries in future. > :-) 1) Use $GLOBALS['TYPO3-DB]->exec_SELECTquery 2) This should return a pointer to the recordset that you can walk through with res=$GLOBALS['TYPO3_DB']->sql_fetch_assoc($rec); 3) Read the API doc ;-) Regs. Peter -- Fiat lux! Docendo discimus. _____________________________ 4Many? Services XING: http://www.xing.com/go/invuid/Peter_Russ From franz at fholzinger.com Tue Jun 24 09:49:38 2008 From: franz at fholzinger.com (Franz Holzinger) Date: Tue, 24 Jun 2008 09:49:38 +0200 Subject: [TYPO3-dev] Stupid Stupid Stupid In-Reply-To: References: Message-ID: Hello Fr. Simon, > I freely admit to you all that I've not been good at coding extensions > using the API, and this really basic and stupid question hopefully will mark > a turn in that: > > Previously, to extract data into an array, I would have written: > > $sql="SELECT * FROM ".$data["database"]." WHERE > uid=".$data["drpRecordSelect"]; > $newdata = $this->get_data($sql); // this is a function which queries > and returns the array > > and I know I should use exec_SELECTquery, so > > global $TYPO3_DB; > > $newdata=$TYPO3_DB->exec_SELECTquery('*', $data["database"], > 'uid='.$data["drpRecordSelect"], '', '', ''); > > so why isn't it returning anything? Am I not referencing the database object > right (should it be $GLOBALS["TYPO3_DB"]) or is there something else > fundamental in that. See file t3lib/class.t3lib_db.php line 229 (TYPO3 4.2.1): ... * @return pointer MySQL result pointer / DBAL object */ function exec_SELECTquery($select_fields,$from_table,$where_clause,$groupBy='',$orderBy='',$limit='') { So you should have written instead $res=$TYPO3_DB->exec_SELECTquery('*', data["database"],'uid='.intval($data["drpRecordSelect"])); $newdata = $TYPO3_DB->sql_fetch_assoc($res); $TYPO3_DB->sql_free_result($res); Database is not a good key name for a database table array. - Franz From andreas at otto-hanika.de Tue Jun 24 10:18:23 2008 From: andreas at otto-hanika.de (Andreas Otto) Date: Tue, 24 Jun 2008 10:18:23 +0200 Subject: [TYPO3-dev] Preparing move for TYPO3xdev from SF.net to forge.typo3.org Message-ID: Hi, the TYPO3xdev project is preparing to move from SF.net to forge.typo3.org. The original announcement was posted on 2008-06-14 [1] in the TYPO3xdev announcement mailinglist on SF.net. Just in case some developers are not reading emails which come in through their SF.net email addresses I do repeat the essential parts of the email here. Forge.typo3.org requires that each developer has a typo3.org account. So if you don't have one yet, go and get one. This also means that the SF.net account names have to be mapped to the typo3.org account names. I have prepared a wiki page [2] with a table containing the SF.net account names of all developers of the TYPO3xdev project. Please have a look at this table and add your typo3.org account name to the table until 2008-06-29. [1] [2] Cheers, Andreas -- Amazon wishlist: From dmitry at typo3.org Tue Jun 24 10:23:58 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Tue, 24 Jun 2008 11:23:58 +0300 Subject: [TYPO3-dev] Preparing move for TYPO3xdev from SF.net to forge.typo3.org In-Reply-To: References: Message-ID: Hi! Andreas Otto wrote: > the TYPO3xdev project is preparing to move from SF.net to forge.typo3.org. Do you know already the day when move is goint to start? All changes must be commited before this day... -- Dmitry Dulepov E-mail: dmitry at typo3.org Skype: callto:liels_bugs TYPO3 technical: http://typo3bloke.net/ From popy.dev at gmail.com Tue Jun 24 10:26:18 2008 From: popy.dev at gmail.com (Popy) Date: Tue, 24 Jun 2008 10:26:18 +0200 Subject: [TYPO3-dev] Stupid Stupid Stupid In-Reply-To: References: Message-ID: Try exec_SELECTgetRows ;) 2008/6/24 Franz Holzinger : > Hello Fr. Simon, > > > I freely admit to you all that I've not been good at coding extensions > > using the API, and this really basic and stupid question hopefully will > mark > > a turn in that: > > > > Previously, to extract data into an array, I would have written: > > > > $sql="SELECT * FROM ".$data["database"]." WHERE > > uid=".$data["drpRecordSelect"]; > > $newdata = $this->get_data($sql); // this is a function which > queries > > and returns the array > > > > and I know I should use exec_SELECTquery, so > > > > global $TYPO3_DB; > > > > $newdata=$TYPO3_DB->exec_SELECTquery('*', $data["database"], > > 'uid='.$data["drpRecordSelect"], '', '', ''); > > > > so why isn't it returning anything? Am I not referencing the database > object > > right (should it be $GLOBALS["TYPO3_DB"]) or is there something else > > fundamental in that. > > See file t3lib/class.t3lib_db.php line 229 (TYPO3 4.2.1): > > ... > * @return pointer MySQL result pointer / DBAL object > */ > function > > exec_SELECTquery($select_fields,$from_table,$where_clause,$groupBy='',$orderBy='',$limit='') > { > > > So you should have written instead > > $res=$TYPO3_DB->exec_SELECTquery('*', > data["database"],'uid='.intval($data["drpRecordSelect"])); > $newdata = $TYPO3_DB->sql_fetch_assoc($res); > $TYPO3_DB->sql_free_result($res); > > > Database is not a good key name for a database table array. > > - Franz > > > > _______________________________________________ > TYPO3-dev mailing list > TYPO3-dev at lists.netfielders.de > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev > From steffen at sk-typo3.de Tue Jun 24 10:45:11 2008 From: steffen at sk-typo3.de (Steffen Kamper) Date: Tue, 24 Jun 2008 10:45:11 +0200 Subject: [TYPO3-dev] Preparing move for TYPO3xdev from SF.net to forge.typo3.org References: Message-ID: "Dmitry Dulepov [typo3]" schrieb im Newsbeitrag news:mailman.1.1214295838.24334.typo3-dev at lists.netfielders.de... > Hi! > > Andreas Otto wrote: >> the TYPO3xdev project is preparing to move from SF.net to >> forge.typo3.org. > > Do you know already the day when move is goint to start? All changes must > be commited before this day... > > -- i think this depends on the devs as they have to fill in their T3 usernames on Wiki page (most didn't this until now). If this list is complete Andreas can date it. vg Steffen From benno_weinzierl at web.de Tue Jun 24 10:45:42 2008 From: benno_weinzierl at web.de (Benno Weinzierl) Date: Tue, 24 Jun 2008 10:45:42 +0200 Subject: [TYPO3-dev] Extension Execution Order Message-ID: Hello List, i have to execute my extension after all other extensions. This turns out to be difficult because the priority-property of ext_emconf.php aparently does not influence the execution-order of the extensions. This means i have to place my extension at the bottom of the page, but that is not what i want. Is there any possibility to influence the execution-order of extneisons? If not... can anyone suggest a system-hook wich is executed after all extensions? Background: I want to implement a Message-system for validation-errors to display errors/messages form my different extensions at one palce in the page (and not at the bottom :-)). Benno From steffen at sk-typo3.de Tue Jun 24 11:10:36 2008 From: steffen at sk-typo3.de (Steffen Kamper) Date: Tue, 24 Jun 2008 11:10:36 +0200 Subject: [TYPO3-dev] Extension Execution Order References: Message-ID: Hi, there are several ways to do that. You could add a userfunc to tt_content (tt_content.stdWrap.postUserFunc) Or you could use a hook in tslib_fe vg Steffen "Benno Weinzierl" schrieb im Newsbeitrag news:mailman.1.1214297203.29924.typo3-dev at lists.netfielders.de... > Hello List, > > i have to execute my extension after all other extensions. > This turns out to be difficult because the priority-property of > ext_emconf.php aparently does not influence the execution-order of the > extensions. > This means i have to place my extension at the bottom of the page, but > that is not what i want. > > Is there any possibility to influence the execution-order of extneisons? > If not... can anyone suggest a system-hook wich is executed after all > extensions? > > Background: I want to implement a Message-system for validation-errors to > display errors/messages form my different extensions at one palce in the > page (and not at the bottom :-)). > > Benno > From dmitry at typo3.org Tue Jun 24 11:49:01 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Tue, 24 Jun 2008 12:49:01 +0300 Subject: [TYPO3-dev] Extension Execution Order In-Reply-To: References: Message-ID: Hi! Benno Weinzierl wrote: > i have to execute my extension after all other extensions. > This turns out to be difficult because the priority-property of > ext_emconf.php aparently does not influence the execution-order of the > extensions. Extensions are executed in the order as they "pop up" as content elements. > This means i have to place my extension at the bottom of the page, but > that is not what i want. Not necessary. You have to make sure it is executed last, not placed last ;) I would do it in two steps. The first step is to place a marker on the page where you want errors to appear. The second step is to make a hook for TSFE to post-process content and replace this marker. Messages can be saved in TSFE register and you can access registers from the hook. -- Dmitry Dulepov E-mail: dmitry at typo3.org Skype: callto:liels_bugs TYPO3 technical: http://typo3bloke.net/ From danielb at typo3.org Tue Jun 24 11:48:52 2008 From: danielb at typo3.org (Daniel Bruessler) Date: Tue, 24 Jun 2008 11:48:52 +0200 Subject: [TYPO3-dev] [TYPO3-doc] TypoScript in 45 minutes [english and german] In-Reply-To: References: Message-ID: "Unm?glich!" ist wohl die Reaktion der meisten TYPO3ler wenn sie die ?berschrift lesen. (...weiter lesen) "Impossible!" is a common reaction on reading this headline. (...read more) [see english version below] "Unm?glich!" ist wohl die Reaktion der meisten TYPO3ler wenn sie die ?berschrift lesen. Aber genau das ist unser Ziel. Das DocTeam hat sich die Aufgabe gestellt, eine Anleitung zu schreiben, die es jedem erm?glicht TypoScript in nur 45 Minuten zu verstehen. TypoScript ist ein einzigartiges Konzept und hebt TYPO3 dadurch von vielen anderen Content-Management-Systemen ab. Gleichzeitig ist TypoScript f?r einen TYPO3-Neuling wohl eine der gr??ten H?rden der TYPO3-Nutzung. Eine gute Anleitung soll hier Abhilfe schaffen. "TypoScript in 45 Minuten" soll eine Anleitung werden, die durch kurze Erl?uterungen und viele Beispiele anschaulich den Einsatz von TypoScript erkl?rt. Zun?chst nur in deutsch, sp?ter auch in englisch. Daf?r brauchen wir auch eure Hilfe: TYPO3-Anf?nger k?nnen ?berpr?fen, ob unsere Anleitung verst?ndlich ist, wo etwas fehlt oder anmerken, was sie sich noch w?nschen w?rden. Fortgeschrittene TypoScript-Nutzer k?nnen selbst mitschreiben, Beispiele liefern und Tipps und Tricks verraten. Die Arbeit l?uft im TYPO3-Wiki ab (1), so dass jeder der m?chte einfach mitmachen kann. Die Koordination der verschiedenen Aufgaben l?uft ?ber Forge. (3) Parallel arbeiten wir auch an einer ?bersetzung der TSRef ins Deutsche, um auch auf diese Weise das TypoScript-Verst?ndnis zu erleichtern. Auch hier k?nnt ihr gerne mithelfen. (2) DAS DOCTEAM: Das DocTeam koordiniert die Dokumentationsarbeit und versucht so, f?r eine bessere, verst?ndlichere und vollst?ndigere Dokumentation zu sorgen. Ihr m?chtet helfen? Dann macht einfach mit! (1) http://wiki.typo3.org/index.php/De:TSref/45MinutesTypoScript (2) http://wiki.typo3.org/De:TSref (3) http://forge.typo3.org/projects/team-docteam/issues?query_id=16 TypoScript in 45 minutes "Impossible!" is a common reaction on reading this headline. But the impossible is our goal. The DocTeam is currently working on a manual that shall allow everyone to understand TypoScript in only 45 minutes. TypoScript is a great concept that is unique in the CMS-world but it is also hard to understand for the novice. We hope that a good manual will produce relief. "TypoScript in 45 minutes" shall become a manual that illustrates the use of TypoScript with a lot of examples and some explanations. We are writing it in german but later on we also want to translate it to english. We will be delighted if some of you help us. Beginners p.e. can help with telling if our manual is comprehensible and clear. Advanced TypoScript users can directly write with us in the wiki, supply examples or tell us their tips and tricks. Just look at our wiki entries (1) or in the forge issue tracker (2) for more information. ABOUT THE DOCTEAM: The DocTEAM keeps the documentation effort focussed the right way to support documentation-writers. Want to help? Just join us! (1) http://wiki.typo3.org/index.php/De:TSref/45MinutesTypoScript (2) http://forge.typo3.org/projects/team-docteam/issues?query_id=16 -- writer: Susanne Moog (thanks!) -- From simon at rundell.org.uk Tue Jun 24 11:53:47 2008 From: simon at rundell.org.uk (Fr. Simon Rundell SCP) Date: Tue, 24 Jun 2008 10:53:47 +0100 Subject: [TYPO3-dev] Stupid Stupid Stupid In-Reply-To: References: Message-ID: That's the solution! Thank you. Using the other functions suggested (exec_SELECTquery and sql_fetch_assoc) just returned an empty array, but this solution works. One of our colleagues suggested that I RTFM the documentation, but it has to be said, automatically generated documentation of the API is not the easiest to grasp and there is a distinct lack of clear documentation and howto around, I spent the best part of an hour and a half wrestling and getting nowhere. I apologise for asking such a basic question, but how many others have been stuck and been too embarassed to ask? 2008/6/24 Popy : > Try exec_SELECTgetRows ;) > > From masi-no at spam-typo3.org Tue Jun 24 11:52:35 2008 From: masi-no at spam-typo3.org (Martin Kutschker) Date: Tue, 24 Jun 2008 11:52:35 +0200 Subject: [TYPO3-dev] Extension Execution Order In-Reply-To: References: Message-ID: Benno Weinzierl schrieb: > Hello List, > > i have to execute my extension after all other extensions. There is no "execution order" for extensions as they serve different purposes and implement different features. The EM only knows about a load order. Of course the load order will eventually affect the order in which eg implementations of a *certain* hook will be called. And what exactly do you want to catch? PHP erros/warnings? Then write a PHP error handler and add a hook for page post processing. You will have only conflicts with other page post processors, but ususally you don't have any. Masi From benno_weinzierl at web.de Tue Jun 24 12:01:12 2008 From: benno_weinzierl at web.de (Benno Weinzierl) Date: Tue, 24 Jun 2008 12:01:12 +0200 Subject: [TYPO3-dev] Extension Execution Order In-Reply-To: References: Message-ID: Tanks for the Answers everyone! I now use the Hook: contentPostProc_output. That works fine so far. tt_content.stdWrap.postUserFunc got executed to early for some reason... The Messages are not neccessaryly php-errors so i cannot use an php errorhandler. I will now simply use a singleton that stores the messages in a queue and is read and outputted in that hook... Thanks again, Bennno "Dmitry Dulepov [typo3]" schrieb im Newsbeitrag news:mailman.1.1214300945.14619.typo3-dev at lists.netfielders.de... > Hi! > > Benno Weinzierl wrote: >> i have to execute my extension after all other extensions. >> This turns out to be difficult because the priority-property of >> ext_emconf.php aparently does not influence the execution-order of the >> extensions. > > Extensions are executed in the order as they "pop up" as content elements. > >> This means i have to place my extension at the bottom of the page, but >> that is not what i want. > > Not necessary. You have to make sure it is executed last, not placed last > ;) > > I would do it in two steps. The first step is to place a marker on the > page where you want errors to appear. The second step is to make a hook > for TSFE to post-process content and replace this marker. Messages can be > saved in TSFE register and you can access registers from the hook. > > -- > Dmitry Dulepov > E-mail: dmitry at typo3.org > Skype: callto:liels_bugs > TYPO3 technical: http://typo3bloke.net/ > From bedlamhotel at gmail.com Tue Jun 24 12:06:38 2008 From: bedlamhotel at gmail.com (Christopher Torgalson) Date: Tue, 24 Jun 2008 12:06:38 +0200 Subject: [TYPO3-dev] Stupid Stupid Stupid In-Reply-To: References: Message-ID: Hi there, On Tue, Jun 24, 2008 at 11:53 AM, Fr. Simon Rundell SCP wrote: > That's the solution! Thank you. > > Using the other functions suggested (exec_SELECTquery and sql_fetch_assoc) > just returned an empty array, but this solution works. One of our colleagues > suggested that I RTFM the documentation, but it has to be said, > automatically generated documentation of the API is not the easiest to grasp > and there is a distinct lack of clear documentation and howto around, I > spent the best part of an hour and a half wrestling and getting nowhere. I > apologise for asking such a basic question, but how many others have been > stuck and been too embarassed to ask? Not *that* API doc, the other one: the non-auto-generated one written by humans for humans :) http://typo3.org/documentation/document-library/core-documentation/doc_core_api/current/view/3/2/#id3959347 Search the page for "Database Access API": there you find a moderate amount of detail, plus a [broken] link to the CGL doc: http://typo3.org/documentation/document-library/core-documentation/doc_core_cgl/current/view/1/4/ -- Christopher Torgalson http://www.typo3apprentice.com/ From Michael.Greiner at web.de Tue Jun 24 15:12:35 2008 From: Michael.Greiner at web.de (Michael Greiner) Date: Tue, 24 Jun 2008 15:12:35 +0200 Subject: [TYPO3-dev] the core's missing dbal/postgresql compatibility Message-ID: Hello, Recently, I follow many links to dbal/postgresql compatibility related issues. At the beginning it sounded like everything was good with adodb and dbal, but after one year of bitter experience I draw the conclusion, that this is yet not the case. So it was not a thought-out decision to rush into PostgreSQL with Typo3 a year ago. Because even now, many people out there struggle with missing dbal compatibility and this already starts with the core. Furthermore there is a lack of support among the most important extensions like mailformplus, tt_news or tt_products. In my opinion I good choice would be to either tell the people that Typo3 works only well on MySQL or to care about the minority of PostgreSQL and other users by implementing full dbal compatibility. This clear statement would strengthen the professional directionof Typo3. Right now, there is many material and discussion about the right database but I found no trustworthy direct and clear statement from the main developers. Where are we going? What can we rely on? Good infor- mation on Typo3 and DB abstraction is missing and reasonable decisions therefore hard to make. Please give this point a chance in your discussion and strengthen the professional use of Typo3 by improving dbal support in the core and/or clear statements on DB compatibility. Please let me know if the information from several tests is of any interest in this mailinglist or somewhere else. Like anyone here I care about the further development of Typo3, so let's give the community a document that helps any IT project leader in the world to decide on which database he runs Typo3. Thanks a lot! Michael From typo3 at t3node.com Tue Jun 24 22:36:57 2008 From: typo3 at t3node.com (=?UTF-8?B?U3RlZmZlbiBNw7xsbGVy?=) Date: Tue, 24 Jun 2008 22:36:57 +0200 Subject: [TYPO3-dev] Re: [TYPO3-doc] TypoScript in 45 minutes [english and german] In-Reply-To: References: Message-ID: Hi. On 24.06.2008 11:48 Daniel Bruessler wrote: > Parallel arbeiten wir auch an einer ?bersetzung der TSRef ins Deutsche, > um auch auf diese Weise das TypoScript-Verst?ndnis zu erleichtern. Auch > hier k?nnt ihr gerne mithelfen. (2) > [Task to translate TSRef to german] Mittwald already did that (but maybe only partly and not 100% up to date) http://www.typo3.net/tsref/ Btw. if crossposting is unavoidable, at least use follow up. Thanks! -- cheers, Steffen From lolli at schwarzbu.ch Wed Jun 25 00:45:50 2008 From: lolli at schwarzbu.ch (Christian Kuhn) Date: Wed, 25 Jun 2008 00:45:50 +0200 Subject: [TYPO3-dev] Include library under MIT License in typo3 extension? Message-ID: Hi, I use a little Javascript function in my extension. This .js is released under MIT license [1] by someone else. Is it ok to include this file in the extension and release to TER? [1] http://en.wikipedia.org/wiki/Mit_license Thanks for clarification Christian From dosipov at phillyburbs.com Wed Jun 25 06:08:04 2008 From: dosipov at phillyburbs.com (Dan Osipov) Date: Wed, 25 Jun 2008 00:08:04 -0400 Subject: [TYPO3-dev] [TYPO3-doc] TypoScript in 45 minutes [english and german] In-Reply-To: References: Message-ID: I think what's important is not just another reference, but a tutorial to get a beginner started with TypoScript. http://www.typo3.net/tsref/ seems to be another reference. Dan Osipov Calkins Media http://phillyburbs.com/ Steffen M?ller wrote: > Hi. > > On 24.06.2008 11:48 Daniel Bruessler wrote: > >> Parallel arbeiten wir auch an einer ?bersetzung der TSRef ins >> Deutsche, um auch auf diese Weise das TypoScript-Verst?ndnis zu >> erleichtern. Auch hier k?nnt ihr gerne mithelfen. (2) >> > [Task to translate TSRef to german] > > Mittwald already did that (but maybe only partly and not 100% up to date) > http://www.typo3.net/tsref/ > > Btw. if crossposting is unavoidable, at least use follow up. Thanks! > From peter.russ at 4many.net Wed Jun 25 08:11:07 2008 From: peter.russ at 4many.net (Peter Russ) Date: Wed, 25 Jun 2008 08:11:07 +0200 Subject: [TYPO3-dev] Include library under MIT License in typo3 extension? In-Reply-To: References: Message-ID: --- Original Nachricht --- Absender: Christian Kuhn Datum: 25.06.2008 00:45: > Hi, > > > I use a little Javascript function in my extension. This .js is released > under MIT license [1] by someone else. > Is it ok to include this file in the extension and release to TER? > > [1] http://en.wikipedia.org/wiki/Mit_license > > > Thanks for clarification > Christian Help yourself: http://www.fsf.org/licensing/licenses/index_html#GPLCompatibleLicenses Peter. -- Fiat lux! Docendo discimus. _____________________________ 4Many? Services XING: http://www.xing.com/go/invuid/Peter_Russ From admin at commandline.ch Wed Jun 25 10:35:31 2008 From: admin at commandline.ch (=?UTF-8?B?Sm9uYXMgRMO8Ymk=?=) Date: Wed, 25 Jun 2008 10:35:31 +0200 Subject: [TYPO3-dev] Development of crawler extension? In-Reply-To: References: Message-ID: Hi I think that's a general issue. What to do with the old, but realy great, extension from developers which do not improve them anymore. There are a lot of extensions from kasper and robert in example which are great, but not continued anymore. Best regards, Jonas From lolli at schwarzbu.ch Wed Jun 25 10:46:17 2008 From: lolli at schwarzbu.ch (Christian Kuhn) Date: Wed, 25 Jun 2008 10:46:17 +0200 Subject: [TYPO3-dev] Include library under MIT License in typo3 extension? In-Reply-To: References: Message-ID: Hi. Peter Russ wrote: > http://www.fsf.org/licensing/licenses/index_html#GPLCompatibleLicenses Great. Thanks for this link. Christian From Christopher at temporaryforwarding.com Wed Jun 25 14:54:11 2008 From: Christopher at temporaryforwarding.com (Christopher) Date: Wed, 25 Jun 2008 14:54:11 +0200 Subject: [TYPO3-dev] Design: Space below content-element only if condition is met... Message-ID: Hi guys, I have a design-problem for which I cannot find a solution. It is the following: 1. If the user has clicked "link to top" (only then!), I want to add some space under a content-element. (The sense is to create some ... space before the next element.) How can I do this? 2. This space should NOT appear, if the element is the last one on the page. How can I solve this? Greetings Christopher From dmitry at typo3.org Wed Jun 25 15:09:07 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Wed, 25 Jun 2008 16:09:07 +0300 Subject: [TYPO3-dev] Design: Space below content-element only if condition is met... In-Reply-To: References: Message-ID: Christopher wrote: > I have a design-problem for which I cannot find a solution. > > It is the following: > 1. > If the user has clicked "link to top" (only then!), I want to add some space > under a content-element. > (The sense is to create some ... space before the next element.) > How can I do this? > > 2. > This space should NOT appear, if the element is the last one on the page. > How can I solve this? What about creating space before content (not after)? -- Dmitry Dulepov http://typo3bloke.net/ From bedlamhotel at gmail.com Wed Jun 25 15:12:03 2008 From: bedlamhotel at gmail.com (Christopher Torgalson) Date: Wed, 25 Jun 2008 15:12:03 +0200 Subject: [TYPO3-dev] Design: Space below content-element only if condition is met... In-Reply-To: References: Message-ID: Hi, On Wed, Jun 25, 2008 at 2:54 PM, Christopher wrote: > Hi guys, > > I have a design-problem for which I cannot find a solution. > > It is the following: > 1. > If the user has clicked "link to top" (only then!), I want to add some space > under a content-element. > (The sense is to create some ... space before the next element.) > How can I do this? > > 2. > This space should NOT appear, if the element is the last one on the page. > How can I solve this? If you want a space to appear only when a certain feature is present--the "to top" link--then add the space to that element. You may also want to look into "collapsing margins" in CSS rendering [1]. [1] http://www.google.com/search?q=collapsing+margins -- Christopher Torgalson http://www.typo3apprentice.com/ From peter.russ at 4many.net Wed Jun 25 15:15:33 2008 From: peter.russ at 4many.net (Peter Russ) Date: Wed, 25 Jun 2008 15:15:33 +0200 Subject: [TYPO3-dev] Design: Space below content-element only if condition is met... In-Reply-To: References: Message-ID: --- Original Nachricht --- Absender: Christopher Datum: 25.06.2008 14:54: > Hi guys, > > I have a design-problem for which I cannot find a solution. > > It is the following: > 1. > If the user has clicked "link to top" (only then!), I want to add some space > under a content-element. > (The sense is to create some ... space before the next element.) > How can I do this? I would have a closer look at override in TSref. > > 2. > This space should NOT appear, if the element is the last one on the page. > How can I solve this? Optionsplit could be your friend from the same source. But in general: this is not a topic for this NG. Please post to English or German or other local NGs. Regs. -- Fiat lux! Docendo discimus. _____________________________ 4Many? Services XING: http://www.xing.com/go/invuid/Peter_Russ From bb at bellevuevej.dk Wed Jun 25 16:36:21 2008 From: bb at bellevuevej.dk (Brian Bendtsen) Date: Wed, 25 Jun 2008 16:36:21 +0200 Subject: [TYPO3-dev] Multiple value selector - force double click when selecting an item Message-ID: Hi I have made an extension where I use the multiple selectorbox (core_api page 104) for selecting among items from another table. These items are sorted alphabetically an it would be nice if you could place the cursor in the selector box without "selecting" the item. When you do a quick search in the selector box - lets say you want to find an item named "hotdog" - you type "h" and then "o". But if there are items like "hamburger" and "omelet" these will automatically be selected(transfered to the selectbox on the left side. Is it possible to only select an item if its double clicked? Hopefully you understand what I mean /Brian From Christopher at temporaryforwarding.com Wed Jun 25 17:45:28 2008 From: Christopher at temporaryforwarding.com (Christopher) Date: Wed, 25 Jun 2008 17:45:28 +0200 Subject: [TYPO3-dev] Design: Space below content-element only if condition is met... References: Message-ID: Hi Dmitry, "Dmitry Dulepov [typo3]" schrieb im Newsbeitrag news:mailman.1.1214399347.31134.typo3-dev at lists.netfielders.de... > Christopher wrote: >> I have a design-problem for which I cannot find a solution. >> >> It is the following: >> 1. >> If the user has clicked "link to top" (only then!), I want to add some >> space under a content-element. >> (The sense is to create some ... space before the next element.) >> How can I do this? >> >> 2. >> This space should NOT appear, if the element is the last one on the page. >> How can I solve this? > > What about creating space before content (not after)? this is no good solution, because there sometimes is one text which is put into several elements. Between those texts there should not be additional space. But if one added a "link to top" after there last there would be such a space in between, right? Additionally it causes a bigger space from the page-headline to the first content-element if this already has a "link to top". Or did I get you wrong here? -- Christopher From bb at bellevuevej.dk Wed Jun 25 21:01:41 2008 From: bb at bellevuevej.dk (Brian Bendtsen) Date: Wed, 25 Jun 2008 21:01:41 +0200 Subject: [TYPO3-dev] How to insert a pid when creating a mm relation? Message-ID: Hi The topic says it all - how is this done? I have tried "mm_insert_fields" => array("pid" => "###CURRENT_PID###") but this marker is only available in the foreign_table_where. Any hints? /Brian From masi-no at spam-typo3.org Thu Jun 26 08:58:19 2008 From: masi-no at spam-typo3.org (Martin Kutschker) Date: Thu, 26 Jun 2008 08:58:19 +0200 Subject: [TYPO3-dev] the core's missing dbal/postgresql compatibility In-Reply-To: References: Message-ID: Michael Greiner schrieb: > Hello, > > Recently, I follow many links to dbal/postgresql > compatibility related issues. > > At the beginning it sounded like everything was good > with adodb and dbal, but after one year of bitter > experience I draw the conclusion, that this is yet not > the case. So it was not a thought-out decision to rush > into PostgreSQL with Typo3 a year ago. Because even > now, many people out there struggle with missing dbal > compatibility and this already starts with the core. That the is not tested with DBAL is indeed a problem. But to speak frankly QA is not the strongest point of TYPO3 development. There are no formalized tests etc, testing of beta and RC releases are done only haphazardly. Maybe this is a point where TYPO3 shouldn't rely on volunteer work alone. > Furthermore there is a lack of support among the most > important extensions like mailformplus, tt_news or > tt_products. Well, this is a problem of ignorant and uninterested developers. What can we do about it? Maybe some guidlines how to wrote proper portable SQL statements woulp help. > In my opinion I good choice would be to either tell > the people that Typo3 works only well on MySQL or > to care about the minority of PostgreSQL and other > users by implementing full dbal compatibility. DBAL should be working again for 4.2.x I agree. But only a few users use DBAL and fewer of the Core devs use it. I think that besides Karsten who has written DBAL I'm the only Core member who has ever used in production (PostgreSQL) and done a few testings with Oracle. This means little interest in the whole thing :-( > This clear statement would strengthen the professional > directionof Typo3. Right now, there is many material > and discussion about the right database but I found > no trustworthy direct and clear statement from the main > developers. > > Where are we going? What can we rely on? Good infor- > mation on Typo3 and DB abstraction is missing and > reasonable decisions therefore hard to make. > > Please give this point a chance in your discussion > and strengthen the professional use of Typo3 by > improving dbal support in the core and/or clear > statements on DB compatibility. The problem is that t3lib_db is not a very good API. DBAL has to do many workarounds to cope with that so - sadly - Mysql will always be the first choice. But of course there is room for improvements in DBAL. Still some useful SQL statements don't work which is partly a reason why some extensions break on DBAL. > Please let me know if the information from several > tests is of any interest in this mailinglist or > somewhere else. Please post them here or send me an email. > Like anyone here I care about the further development > of Typo3, so let's give the community a document that > helps any IT project leader in the world to decide on > which database he runs Typo3. You have given the answer yourself. Use Mysql unless you are forced to chose another. Masi From tapio.markula at xetpoint.fi Thu Jun 26 09:19:48 2008 From: tapio.markula at xetpoint.fi (Tapio Markula) Date: Thu, 26 Jun 2008 10:19:48 +0300 Subject: [TYPO3-dev] Guidlines for module developers Message-ID: Hi Typo3 4.2 use docheaders, which are not used in additional modules. Might be needed to give some guiding lines? I have made tm_tvpagemodule Typo3 4.2 style layout using Typo3 4.2 (best layout using evaluation version of skin_grey_2 but works only with t3skin). Here latest evaluation versions. http://t3test.xetpoint.com/?id=evaluations That is PHP 4 compatible and doesn't use docheader templates because templavoila/mod1/index.php has been used so many ways. That is just creating the same functionality, when used Typo3 4.2.1+ Imo code should be PHP 4 compatible in avoid to make several versions for Typo3. Maybe conditional layout like in my trial. From steffen at sk-typo3.de Thu Jun 26 09:35:07 2008 From: steffen at sk-typo3.de (Steffen Kamper) Date: Thu, 26 Jun 2008 09:35:07 +0200 Subject: [TYPO3-dev] Guidlines for module developers References: Message-ID: Hi, "Tapio Markula" schrieb im Newsbeitrag news:mailman.1.1214464789.14842.typo3-dev at lists.netfielders.de... > Hi > > Typo3 4.2 use docheaders, which are not used in additional modules. > Might be needed to give some guiding lines? > i think thjis should be integrated in kickstarter, giving the choice (not) using docheaders so it will be easy for the devs. > I have made tm_tvpagemodule Typo3 4.2 style layout using Typo3 4.2 (best > layout using evaluation version of skin_grey_2 but works only with > t3skin). > > Here latest evaluation versions. > http://t3test.xetpoint.com/?id=evaluations > > That is PHP 4 compatible and doesn't use docheader templates because > templavoila/mod1/index.php has been used so many ways. > > That is just creating the same functionality, when used Typo3 4.2.1+ > > Imo code should be PHP 4 compatible in avoid to make several versions for > Typo3. Maybe conditional layout like in my trial. I see no reason for new development and php4. php4 is dead! and imho should not supported any more. people should have a good reason to upgrade (nearly all providers did that) New development should use php5 and this doing consequent by using private/protected/public aso. vg Steffen From andreas at otto-hanika.de Thu Jun 26 10:05:17 2008 From: andreas at otto-hanika.de (Andreas Otto) Date: Thu, 26 Jun 2008 10:05:17 +0200 Subject: [TYPO3-dev] Preparing move for TYPO3xdev from SF.net to forge.typo3.org In-Reply-To: References: Message-ID: Hi Dmitry, Dmitry Dulepov [typo3] schrieb: > Do you know already the day when move is goint to start? All changes > must be commited before this day... No, there is no fixed date yet. Commits should happen continiously, don't they? But rest assured that we will announce the final move at least one week in advance. Cheers, Andreas -- Amazon wishlist: From dmitry at typo3.org Thu Jun 26 10:21:40 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Thu, 26 Jun 2008 11:21:40 +0300 Subject: [TYPO3-dev] Preparing move for TYPO3xdev from SF.net to forge.typo3.org In-Reply-To: References: Message-ID: Hi! Andreas Otto wrote: > No, there is no fixed date yet. > > Commits should happen continiously, don't they? Yes, they do. But if there is work in progress and it is not committed before move, developer will have to do extra work (diff old->patch new). Committing everything before the migration will save some time. -- Dmitry Dulepov http://typo3bloke.net/ From bb at bellevuevej.dk Thu Jun 26 10:33:23 2008 From: bb at bellevuevej.dk (Brian Bendtsen) Date: Thu, 26 Jun 2008 10:33:23 +0200 Subject: [TYPO3-dev] IRRE - processDatamap_afterDatabaseOperations Message-ID: Hi This one is hard to explain, but here goes... I need to update a table when I create another, therefore I use the processDatamap_afterDatabaseOperations hook. Lets say Im making a hotel application and have 3 tables: Room(uid, size, facilities, section ...) Bed(uid, room, size ...) - room is foreign key Stats(uid, section, numberOfBeds ...) I have an IRRE between Room and Bed, so its possible to create/delete beds from editing a room. When I add a bed to a room I want to update the stats table, which holds the number of beds in different sections of a hotel. If I create a bed item the traditional way, where I choose a room(foreign key), size and so on everthing runs as it should, but if I create the bed from within the room, thereby setting the room automatically it fails. The first thing I do in my function is fetching the room like this: $res = $GLOBALS['TYPO3_DB']->exec_SELECTquery('Bed.room, Bed.size', 'Bed','Bed.uid ='.$id); Apparently, when using IRRE the Bed.room returns a 0 but Bed.size returns the correct value. When not using IRRE to create a Bed, Bed.room is returning the correct value. I cant quite grasp what the problem is. Any hints? /Brian From scecere at krur.com Thu Jun 26 18:00:48 2008 From: scecere at krur.com (stefano cecere) Date: Thu, 26 Jun 2008 18:00:48 +0200 Subject: [TYPO3-dev] Typo3 & Eclipse Message-ID: hi everyone! i unluckily missed the T3DD days and Ingo's speech about Working with Eclipse since i woudl really like to use it as main dev application (but it's really "big") i woudl like to start from a "master's" experience.. has anybody any slides, or even better the video of that session? many many thanks stefano From dmitry at typo3.org Thu Jun 26 18:06:39 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Thu, 26 Jun 2008 19:06:39 +0300 Subject: [TYPO3-dev] Typo3 & Eclipse In-Reply-To: References: Message-ID: stefano cecere wrote: > i unluckily missed the T3DD days and Ingo's speech about Working with > Eclipse > since i woudl really like to use it as main dev application (but it's > really "big") i woudl like to > start from a "master's" experience.. Just get it and try... It comes with a sample project. It is very easy to start. -- Dmitry Dulepov http://typo3bloke.net/ From dmitry at typo3.org Thu Jun 26 18:07:26 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Thu, 26 Jun 2008 19:07:26 +0300 Subject: [TYPO3-dev] Typo3 & Eclipse In-Reply-To: References: Message-ID: Dmitry Dulepov [typo3] wrote: > stefano cecere wrote: >> i unluckily missed the T3DD days and Ingo's speech about Working with >> Eclipse >> since i woudl really like to use it as main dev application (but it's >> really "big") i woudl like to >> start from a "master's" experience.. > > Just get it and try... It comes with a sample project. It is very easy > to start. Btw, I work more and more in Komodo IDE. I like it more than Eclipse for PHP. Also debugging is much better. -- Dmitry Dulepov http://typo3bloke.net/ From steffen at sk-typo3.de Thu Jun 26 18:50:40 2008 From: steffen at sk-typo3.de (Steffen Kamper) Date: Thu, 26 Jun 2008 18:50:40 +0200 Subject: [TYPO3-dev] Typo3 & Eclipse References: Message-ID: "stefano cecere" schrieb im Newsbeitrag news:mailman.1.1214496049.28315.typo3-dev at lists.netfielders.de... > hi everyone! > > i unluckily missed the T3DD days and Ingo's speech about Working with > Eclipse > since i woudl really like to use it as main dev application (but it's > really "big") i woudl like to > start from a "master's" experience.. > > has anybody any slides, or even better the video of that session? > > many many thanks > stefano Hi Stefano, i hope that Ingo will present the slides soon. Additional there are some videos: http://www.youtube.com/watch?v=VRFZpk-YHl4 http://www.youtube.com/watch?v=x8WnciHjXco http://www.youtube.com/watch?v=pAuAS3JYums vg Steffen From info at rs-websystems.de Thu Jun 26 19:26:43 2008 From: info at rs-websystems.de (Steffen Ritter) Date: Thu, 26 Jun 2008 19:26:43 +0200 Subject: [TYPO3-dev] Development of PageTreeTools Message-ID: Hello, does anyone no if the Dev-Team of Typoheads will further Develope PageTree Tools for proper work with 4.2? kind regards Steffen From rf at typoheads.at Thu Jun 26 19:39:27 2008 From: rf at typoheads.at (=?ISO-8859-15?Q?Reinhard_F=FChricht?=) Date: Thu, 26 Jun 2008 19:39:27 +0200 Subject: [TYPO3-dev] Development of PageTreeTools In-Reply-To: References: Message-ID: Hi Steffen, yes, we will try to release a new version as soon as possible. Maybe in the next two or three weeks. regards, Reinhard Steffen Ritter schrieb: > Hello, > does anyone no if the Dev-Team of Typoheads will further Develope > PageTree Tools for proper work with 4.2? > > kind regards Steffen From scecere at krur.com Thu Jun 26 19:51:15 2008 From: scecere at krur.com (stefano cecere) Date: Thu, 26 Jun 2008 19:51:15 +0200 Subject: [TYPO3-dev] Typo3 & Eclipse In-Reply-To: References: Message-ID: Dmitry Dulepov [typo3] wrote: > Dmitry Dulepov [typo3] wrote: >> stefano cecere wrote: >>> i unluckily missed the T3DD days and Ingo's speech about Working with >>> Eclipse >>> since i woudl really like to use it as main dev application (but it's >>> really "big") i woudl like to >>> start from a "master's" experience.. >> >> Just get it and try... It comes with a sample project. It is very easy >> to start. > > Btw, I work more and more in Komodo IDE. I like it more than Eclipse for > PHP. Also debugging is much better. > thanks Dmitry .. yes i'm using Eclipse since some months and i liked it quite much.. but since it's huge i'd like to know the best plugin and pratices to develop typo3! i tried Komodo also (the free version) very nice! but i got back to Eclipse since all DEV3 project is going there.... ciao stefano From patrick at typo3quebec.org Thu Jun 26 21:08:17 2008 From: patrick at typo3quebec.org (Patrick Gaumond) Date: Thu, 26 Jun 2008 15:08:17 -0400 Subject: [TYPO3-dev] Development of PageTreeTools In-Reply-To: References: Message-ID: Reinhard F?hricht wrote: > yes, we will try to release a new version as soon as possible. Maybe in > the next two or three weeks. Then while there make a nice patch for inclusion into Core and be Heroes-of-the-week ! :) Patrick From ingmar at typo3.org Thu Jun 26 23:33:30 2008 From: ingmar at typo3.org (Ingmar Schlecht) Date: Thu, 26 Jun 2008 23:33:30 +0200 Subject: [TYPO3-dev] IRRE - processDatamap_afterDatabaseOperations In-Reply-To: References: Message-ID: Hi Brian, without having looked into your issue in detail: Try using the new hook in TYPO3 4.2 called processDatamap_afterAllOperations. cheers Ingmar Brian Bendtsen schrieb: > Hi > > This one is hard to explain, but here goes... > > I need to update a table when I create another, therefore I use the > processDatamap_afterDatabaseOperations hook. > > Lets say Im making a hotel application and have 3 tables: > > Room(uid, size, facilities, section ...) > Bed(uid, room, size ...) - room is foreign key > Stats(uid, section, numberOfBeds ...) > > I have an IRRE between Room and Bed, so its possible to create/delete > beds from editing a room. > > When I add a bed to a room I want to update the stats table, which holds > the number of beds in different sections of a hotel. > > If I create a bed item the traditional way, where I choose a > room(foreign key), size and so on everthing runs as it should, but if I > create the bed from within the room, thereby setting the room > automatically it fails. > > The first thing I do in my function is fetching the room like this: > > $res = $GLOBALS['TYPO3_DB']->exec_SELECTquery('Bed.room, Bed.size', > 'Bed','Bed.uid ='.$id); > > Apparently, when using IRRE the Bed.room returns a 0 but Bed.size > returns the correct value. > > When not using IRRE to create a Bed, Bed.room is returning the correct > value. > > I cant quite grasp what the problem is. > > Any hints? > > /Brian -- Ingmar Schlecht TYPO3 Association Active Member From bb at bellevuevej.dk Fri Jun 27 00:03:58 2008 From: bb at bellevuevej.dk (Brian Bendtsen) Date: Fri, 27 Jun 2008 00:03:58 +0200 Subject: [TYPO3-dev] IRRE - processDatamap_afterDatabaseOperations In-Reply-To: References: Message-ID: Ingmar Schlecht skrev: > Hi Brian, > > without having looked into your issue in detail: Try using the new hook > in TYPO3 4.2 called processDatamap_afterAllOperations. > > cheers > Ingmar Hi Ingmar I was just looking at it, is it true that it only takes one parameter? function processDatamap_afterAllOperations($this) ? I kinda need $table and $status /Brian From dmitry at typo3.org Fri Jun 27 06:54:21 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Fri, 27 Jun 2008 07:54:21 +0300 Subject: [TYPO3-dev] IRRE - processDatamap_afterDatabaseOperations In-Reply-To: References: Message-ID: Hi! Brian Bendtsen wrote: > I was just looking at it, is it true that it only takes one parameter? > > function processDatamap_afterAllOperations($this) ? > > I kinda need $table and $status Hook says "after *all* operations" :) It means it is for all tables. You can get tables from datamap or cmdmap. -- Dmitry Dulepov http://typo3bloke.net/ From info at rs-websystems.de Fri Jun 27 07:26:40 2008 From: info at rs-websystems.de (Steffen Ritter) Date: Fri, 27 Jun 2008 07:26:40 +0200 Subject: [TYPO3-dev] Development of PageTreeTools In-Reply-To: References: Message-ID: of Month :P Would be nice yes... Just sending this to 4.3 list for discussion. Patrick Gaumond schrieb: > Reinhard F?hricht wrote: > >> yes, we will try to release a new version as soon as possible. Maybe >> in the next two or three weeks. > > Then while there make a nice patch for inclusion into Core and be > Heroes-of-the-week ! > > :) > > Patrick From dmitry at typo3.org Fri Jun 27 07:41:14 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Fri, 27 Jun 2008 08:41:14 +0300 Subject: [TYPO3-dev] Development of PageTreeTools In-Reply-To: References: Message-ID: Hi! Steffen Ritter wrote: > of Month :P > Would be nice yes... > Just sending this to 4.3 list for discussion. Why? Can't it be discussed in one place? -- Dmitry Dulepov http://typo3bloke.net/ From info at rs-websystems.de Fri Jun 27 08:18:51 2008 From: info at rs-websystems.de (Steffen Ritter) Date: Fri, 27 Jun 2008 08:18:51 +0200 Subject: [TYPO3-dev] Development of PageTreeTools In-Reply-To: References: Message-ID: As far as i know, 4.3 list was especially created for discussing 4.3 purpuses :) so far Dmitry Dulepov [typo3] schrieb: > Hi! > > Steffen Ritter wrote: >> of Month :P >> Would be nice yes... >> Just sending this to 4.3 list for discussion. > > Why? Can't it be discussed in one place? > From ingmar at typo3.org Fri Jun 27 08:31:51 2008 From: ingmar at typo3.org (Ingmar Schlecht) Date: Fri, 27 Jun 2008 08:31:51 +0200 Subject: [TYPO3-dev] IRRE - processDatamap_afterDatabaseOperations In-Reply-To: References: Message-ID: Brian Bendtsen schrieb: > Ingmar Schlecht skrev: >> Hi Brian, >> >> without having looked into your issue in detail: Try using the new >> hook in TYPO3 4.2 called processDatamap_afterAllOperations. >> >> cheers >> Ingmar > > Hi Ingmar > > I was just looking at it, is it true that it only takes one parameter? > > function processDatamap_afterAllOperations($this) ? Better name the variable $pObj or so, otherwise it conflicts with your object's $this variable. Anyway, yes, it's correct it only takes one parameter. But you can access the table etc as Dmitry said by seeing what's in the $pObj->datamap array. cheers Ingmar -- Ingmar Schlecht TYPO3 Association Active Member From dmitry at typo3.org Fri Jun 27 08:59:17 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Fri, 27 Jun 2008 09:59:17 +0300 Subject: [TYPO3-dev] Development of PageTreeTools In-Reply-To: References: Message-ID: Steffen Ritter wrote: > As far as i know, 4.3 list was especially created for discussing 4.3 > purpuses :) so far Well, since discussion already started here, some people will continue it here and some there. I'd prefer checking one place for one topic ;) -- Dmitry Dulepov http://typo3bloke.net/ From ingo at typo3.org Fri Jun 27 09:13:14 2008 From: ingo at typo3.org (Ingo Renner) Date: Fri, 27 Jun 2008 09:13:14 +0200 Subject: [TYPO3-dev] Bug Day June 2008 is on, come join us, Message-ID: Hi *, here's a little reminder that TYPO3's first Bug Day is on! Come join us on irc://irc.freenode.net/#typo3-bugday Here's how it works: For today we'd like to do just some simple bug triage. Go to the bugtracker on http://bugs.typo3.org , choose the core project from the select in the top right corner. Then set a filter to show only bugs that are not closed or resolved yet. You may then want to order the resulting list to show the oldest bugs on top. Important: Join the mentioned IRC channel! !!! In the IRC channel report which bug you're working on currently so that nobody does dobble work. !!! Just do the following to triage bugs: * check whether the description of a bug is precise, complete, understandable * check whether you can reproduce the bug in TYPO3 4.2 (and maybe 4.1) * tag the bug with "bugday-0806" * leave a comment about your findings / complete the description of a bug if necessary * update a bug's information directly if you have the rights to do so You should also add yourself and the bugs you worked on to the list of participants on http://wiki.typo3.org/index.php/BugDay/0806 That should be it for now, if you further question - we're on IRC. happy Bug Day Ingo -- Ingo Renner TYPO3 Core Developer, Release Manager TYPO3 4.2 From steffen at sk-typo3.de Fri Jun 27 10:11:19 2008 From: steffen at sk-typo3.de (Steffen Kamper) Date: Fri, 27 Jun 2008 10:11:19 +0200 Subject: [TYPO3-dev] Bug Day June 2008 is on, come join us, References: Message-ID: Hi Ingo, it's really nice to have such action, but * announcement on the same day when it starts - i myself would like to join, but planning while daywork is hard with such short announcement * core list was "dead" in the past week. There are so much open bugs which needs to review, so i think first these ones has to be treated May be we should thing about a tracking system to have a better overview of open tasks in core list? vg Steffen From dmitry at typo3.org Fri Jun 27 11:16:51 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Fri, 27 Jun 2008 12:16:51 +0300 Subject: [TYPO3-dev] Bug Day June 2008 is on, come join us, In-Reply-To: References: Message-ID: Hi! Steffen Kamper wrote: > it's really nice to have such action, but > * announcement on the same day when it starts - i myself would like to join, > but planning while daywork is hard with such short announcement > * core list was "dead" in the past week. There are so much open bugs which > needs to review, so i think first these ones has to be treated > > May be we should thing about a tracking system to have a better overview of > open tasks in core list? I'd say core team lacks predictability, planning, organization and proper management these days. Wheel is being pulled by many people into different directions. No one defines strategy, tactics and course in general. Boat is floating but nowhere specially. All above in 100% personal opinion, which can be 100% wrong (or 100% right). -- Dmitry Dulepov http://typo3bloke.net/ From Michael.Greiner at web.de Fri Jun 27 11:48:27 2008 From: Michael.Greiner at web.de (Michael Greiner) Date: Fri, 27 Jun 2008 11:48:27 +0200 Subject: [TYPO3-dev] [TYPO3] Simulating FE users Message-ID: Hello, I'd like to revive the discussion on simulating FE users. Elmar Hinz said in June 2007 that in his opinion this is not possible. Bernd Wilke came up with the idea, to look for the passwords in the DB. This is a very bad solution I think. Passwords should be stored for example as MD5 hashes. I the admin panel we have the possibility to switch to a FE usergroup - but why not a single user? I need this, because I have slightly different views for each user due to the fact that I use a second DB linked via unique login/username where I run queries on. These queries depend on a specific logged in user. So I need to switch fe users for debugging and testing mainly. The passwords are MD5. Has any solution for this come up? Thanks! Michael From dmitry at typo3.org Fri Jun 27 11:55:40 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Fri, 27 Jun 2008 12:55:40 +0300 Subject: [TYPO3-dev] [TYPO3] Simulating FE users In-Reply-To: References: Message-ID: Hi! Michael Greiner wrote: > I'd like to revive the discussion on simulating FE users. > > Elmar Hinz said in June 2007 that in his opinion this is > not possible. Oh, well, it should be easy now with services :) Make a service that provides user name and password of the user that you want to simulate. Take any public "integration" extension as example (like phpbb or any other bb). -- Dmitry Dulepov http://typo3bloke.net/ From ingo at typo3.org Fri Jun 27 11:56:14 2008 From: ingo at typo3.org (Ingo Renner) Date: Fri, 27 Jun 2008 11:56:14 +0200 Subject: [TYPO3-dev] Bug Day June 2008 is on, come join us, In-Reply-To: References: Message-ID: Steffen Kamper wrote: Hi Steffen, > it's really nice to have such action, but > * announcement on the same day when it starts - i myself would like to join, > but planning while daywork is hard with such short announcement http://news.typo3.org/news/article/announcing-typo3-bug-day/ - not announced today, today was only a reminder However, yes, even the announcement came a little late. There was some little communication problem, won't happen with the next Bug Day, prommissed. > * core list was "dead" in the past week. There are so much open bugs which > needs to review, so i think first these ones has to be treated Bug Day is not about reviewing patches, it's about bug triage as described in my original post and also addresses a wider group of people from the community than just the (core) developers. I'm going to update the typo3.org pages to avoid confusion and further clarify what Bug Day is about. Ingo -- Ingo Renner TYPO3 Core Developer, Release Manager TYPO3 4.2 From ernst at cron-it.de Fri Jun 27 12:15:29 2008 From: ernst at cron-it.de (Ernesto Baschny [cron IT]) Date: Fri, 27 Jun 2008 12:15:29 +0200 Subject: [TYPO3-dev] Bug Day June 2008 is on, come join us, In-Reply-To: References: Message-ID: Hi, maybe it should then be called "Bug-Tracker Day", because I also had the impression that the day was meant to be for hunting (maybe old standing) bugs and "fixing" them "just-in-time", having a faster review-process because many core developers were online. Cheers, Ernesto Ingo Renner wrote: on 27.06.2008 11:56: > Steffen Kamper wrote: > > Hi Steffen, > >> it's really nice to have such action, but >> * announcement on the same day when it starts - i myself would like to >> join, but planning while daywork is hard with such short announcement > > http://news.typo3.org/news/article/announcing-typo3-bug-day/ - not > announced today, today was only a reminder > > However, yes, even the announcement came a little late. There was some > little communication problem, won't happen with the next Bug Day, > prommissed. > >> * core list was "dead" in the past week. There are so much open bugs >> which needs to review, so i think first these ones has to be treated > > Bug Day is not about reviewing patches, it's about bug triage as > described in my original post and also addresses a wider group of people > from the community than just the (core) developers. I'm going to update > the typo3.org pages to avoid confusion and further clarify what Bug Day > is about. > > > Ingo > From ingo at typo3.org Fri Jun 27 12:30:00 2008 From: ingo at typo3.org (Ingo Renner) Date: Fri, 27 Jun 2008 12:30:00 +0200 Subject: [TYPO3-dev] Bug Day June 2008 is on, come join us, In-Reply-To: References: Message-ID: Ernesto Baschny [cron IT] wrote: Hi Ernesto, thanks for your feedback > maybe it should then be called "Bug-Tracker Day", nope, "Bug Day" is a common thing in other open source projects, too. > because I also had the > impression that the day was meant to be for hunting (maybe old standing) > bugs and "fixing" them "just-in-time", having a faster review-process > because many core developers were online. Bug Days of course can have different topics, and this could be one of course, too. I'm currently updating the pages on typo3.org about that... http://typo3.org/development/bug-fixing/bug-day/ Ingo -- Ingo Renner TYPO3 Core Developer, Release Manager TYPO3 4.2 From ingo at typo3.org Fri Jun 27 13:23:19 2008 From: ingo at typo3.org (Ingo Renner) Date: Fri, 27 Jun 2008 13:23:19 +0200 Subject: [TYPO3-dev] Bug Day June 2008 is on, come join us, In-Reply-To: References: Message-ID: The information about the TYPO3 Bug Day has now been updated http://typo3.org/development/bug-fixing/bug-day/ http://typo3.org/development/bug-fixing/bug-day/bug-day-faq/ Ingo -- Ingo Renner TYPO3 Core Developer, Release Manager TYPO3 4.2 From Michael.Greiner at web.de Fri Jun 27 17:30:17 2008 From: Michael.Greiner at web.de (Michael Greiner) Date: Fri, 27 Jun 2008 17:30:17 +0200 Subject: [TYPO3-dev] the core's missing dbal/postgresql compatibility In-Reply-To: References: Message-ID: Hello, thank you very much for your answer, Masi. I wish there would be more PostgreSQL users within the typo3 community. Today I reported the main bugs on http://bugs.typo3.org/. In addition here is my list of "missing compatibility"-issues: 1. If you have a clean installation of Typo3 source & dummy on PostgreSQL just look into Extension Manager: Some extensions show "A difference between the orginally installed version and the current was detected!" some others have a long list of "ALTER TABLE" expressions under "UPDATE NEEDED" in addition. typo3skin, t3editor, cssstyledcontent, adodb -> only show error dbal, htmlarea RTE, felogin -> show error and UPDATE NEEDED 2. In the INSTALL TOOL > Database Analyser "Compare" shows a very long list of ALTER TABLE expressions that cannot be applied. In a running installation with many extensions they are even more numerous. 3. In the INSTALL TOOL > Database Analyser "Compare with $TCA" there are many mismatches and the comparison of values are all mismatching, too. 4. The sysextension "indexed search engine" has a problem in ext_tables.sql, because it contains "ENGINE=InnoDB" and this still cannot be processed It would be very kind of you, if you could help me understand the problems and finding solutions. Best regards, Michael Greiner From tapio.markula at xetpoint.fi Fri Jun 27 19:00:54 2008 From: tapio.markula at xetpoint.fi (Tapio Markula) Date: Fri, 27 Jun 2008 20:00:54 +0300 Subject: [TYPO3-dev] Guidlines for module developers In-Reply-To: References: Message-ID: Steffen Kamper kirjoitti: > Hi, > > "Tapio Markula" schrieb im Newsbeitrag > news:mailman.1.1214464789.14842.typo3-dev at lists.netfielders.de... >> Hi >> >> Typo3 4.2 use docheaders, which are not used in additional modules. >> Might be needed to give some guiding lines? >> > i think thjis should be integrated in kickstarter, giving the choice (not) > using docheaders so it will be easy for the devs. > >> I have made tm_tvpagemodule Typo3 4.2 style layout using Typo3 4.2 >> Here latest evaluation versions. >> http://t3test.xetpoint.com/?id=evaluations > I see no reason for new development and php4. php4 is dead! and imho should > not supported any more. people should have a good reason to upgrade (nearly > all providers did that) my bos uses always PHP 4 in his own server > New development should use php5 and this doing consequent by using > private/protected/public aso. Is that really needed? Anyway if you do something like this // start page $this->content = $start; // generate main content if($Typo3_4_2) { $this->doc->setModuleTemplate(t3lib_extMgm::extRelPath('tm_tvpagemodule').'htmlTemplates/tv_layout.html'); $pageinfo = t3lib_BEfunc::readPageAccess($this->id, $this->perms_clause); $this->markers['CSH']=$docheaderButtons['csh']; $this->markers['CONTENT']=$body; $this->content.= $this->doc->moduleBody($pageinfo, $docHeaderButtons, $this->markers); } else $this->content .= $body; // end page $this->content .= $this->doc->endPage(); you can do modules so, that the layout use docheader or not. Just make conditional such $body .=..., which you would use markers in Typo3 4.2 - works well in my evaluation version of tm_tvpagemodule, which is both compatible with Typo3 4.0-4.1 and Typo3 4.2. From ingmar at typo3.org Sat Jun 28 23:13:08 2008 From: ingmar at typo3.org (Ingmar Schlecht) Date: Sat, 28 Jun 2008 23:13:08 +0200 Subject: [TYPO3-dev] How to insert a pid when creating a mm relation? In-Reply-To: References: Message-ID: Hi Brian, I presume that is impossible without patching / XCLASSing t3lib_loaddbgroup. If you would like to introduce that feature, please write a patch and send it to the core list as written in the core list rules: http://typo3.org/teams/core/core-mailinglist-rules/ cheers Ingmar Brian Bendtsen schrieb: > Hi > > The topic says it all - how is this done? > > I have tried "mm_insert_fields" => array("pid" => "###CURRENT_PID###") > but this marker is only available in the foreign_table_where. > > Any hints? > > /Brian -- Ingmar Schlecht TYPO3 Association Active Member From info at rs-websystems.de Sun Jun 29 09:16:44 2008 From: info at rs-websystems.de (Steffen Ritter) Date: Sun, 29 Jun 2008 09:16:44 +0200 Subject: [TYPO3-dev] HTMLparser_rte - Correct configuration? Message-ID: Hello list, in my current situation I'm having some problems to configure HTMLparser_rte. Because we are on scientific presentation wie included LateX renderer into T3, which works fine so far (custom tag ist processed). For proper work I slightly adapted the existing LaTeX Extension configuration and configured RTE to keep the -Tag. For proper alignement of formulars wee need the "&". But onLoad of RTE this gets transformed to & and saved back in this way to database. So I looked at RTE API and found HTMLparser_rte,entryHTMLparser_rte and exitHTMLparser_rte Objekt. Since In HTMLparser_rte i Cant define "keep content of tag untouched" I tried to use entry and exit... But this did not work as aspected. So my question is about: how to use this correctly? As far I understood I can define exitHTMLparser_rte.tags.math = 1 that rte stops processing content after reading and with entryHTMLparser_rte.tags.math = 1 I can start it again... But this does not work.. defining this, all Tags beside the Tag is cleared out. Any hints or probably clearing up my thoughts. kind regards Steffen From masi-no at spam-typo3.org Sun Jun 29 11:07:33 2008 From: masi-no at spam-typo3.org (Martin Kutschker) Date: Sun, 29 Jun 2008 11:07:33 +0200 Subject: [TYPO3-dev] the core's missing dbal/postgresql compatibility In-Reply-To: References: Message-ID: Michael Greiner schrieb: > > It would be very kind of you, if you could help me understand the > problems and finding solutions. All of the EM's problems are due to the fact that it does a string comparison of ext_tables.sql lines and the output of DESCRIBE table. It does a bit of processing to cope with a few variants in "spelling" and order but that's it. DBAL doesn't extend the definition parsing in a way that it can deal with it. Solutions are either to move away from string comparison to a feature comparison or to teach DBAL to return table definitions in Mysql style. As for the ENGINE property, I think this should be rather easy to implement for DBAL. It simply can be ignored (as eg charset/collation settings on a per table basis). Masi PS: It would be a good start for DB compatibility if TYPO3 would run on Mysql 5.0 in strict mode which it doesn't. I tried to do it but if fails on many occasions due to sloppy practices that were allowed in Mysql. From steffen at sk-typo3.de Sun Jun 29 11:12:43 2008 From: steffen at sk-typo3.de (Steffen Kamper) Date: Sun, 29 Jun 2008 11:12:43 +0200 Subject: [TYPO3-dev] HTMLparser_rte - Correct configuration? In-Reply-To: References: Message-ID: Steffen Ritter schrieb: > Hello list, > in my current situation I'm having some problems to configure > HTMLparser_rte. > Because we are on scientific presentation wie included LateX renderer > into T3, which works fine so far (custom tag ist > processed). For proper work I slightly adapted the existing LaTeX > Extension configuration and configured RTE to keep the -Tag. > For proper alignement of formulars wee need the "&". But onLoad of RTE > this gets transformed to & and saved back in this way to database. > > So I looked at RTE API and found HTMLparser_rte,entryHTMLparser_rte and > exitHTMLparser_rte Objekt. Since In HTMLparser_rte i Cant define "keep > content of tag untouched" I tried to use entry and exit... > But this did not work as aspected. So my question is about: how to use > this correctly? > As far I understood I can define > exitHTMLparser_rte.tags.math = 1 that rte stops processing content after > reading > and with entryHTMLparser_rte.tags.math = 1 I can start it again... > > But this does not work.. defining this, all Tags beside the Tag > is cleared out. > > Any hints or probably clearing up my thoughts. > > kind regards > Steffen Hi Steffen, I know searching for such stuff could be very difficult. IIRC the transformation of & happens outside rte and depends on the doctype you choose, sry for not locating the point. btw - have a look to IE - hanbdling of those tags normally doesn't work in IE6. vg Steffen From steffen at sk-typo3.de Sun Jun 29 11:21:58 2008 From: steffen at sk-typo3.de (Steffen Kamper) Date: Sun, 29 Jun 2008 11:21:58 +0200 Subject: [TYPO3-dev] the core's missing dbal/postgresql compatibility In-Reply-To: References: Message-ID: Martin Kutschker schrieb: > Michael Greiner schrieb: >> It would be very kind of you, if you could help me understand the >> problems and finding solutions. > > All of the EM's problems are due to the fact that it does a string > comparison of ext_tables.sql lines and the output of DESCRIBE table. It > does a bit of processing to cope with a few variants in "spelling" and > order but that's it. > > DBAL doesn't extend the definition parsing in a way that it can deal > with it. > > Solutions are either to move away from string comparison to a feature > comparison or to teach DBAL to return table definitions in Mysql style. > > As for the ENGINE property, I think this should be rather easy to > implement for DBAL. It simply can be ignored (as eg charset/collation > settings on a per table basis). > > Masi > > PS: It would be a good start for DB compatibility if TYPO3 would run on > Mysql 5.0 in strict mode which it doesn't. I tried to do it but if fails > on many occasions due to sloppy practices that were allowed in Mysql. Hi Masi, doesn't EM instances t3lib_install for such comparisons? So imho DBAL should xclass this for the functions getFieldDefinitions_fileContent, getFieldDefinitions_sqlContent_parseTypes, getFieldDefinitions_database etc vg Steffen From Peter_Klose at gmx.de Sun Jun 29 11:53:39 2008 From: Peter_Klose at gmx.de (Peter Klose) Date: Sun, 29 Jun 2008 11:53:39 +0200 Subject: [TYPO3-dev] TER kickstarter does not work Message-ID: Hello, i am starting development for the new 4.2 release but i cannot get the kickstarter to work. After installation and enabling of the kickstarter nothing changes, meaning the new menuitem "create new extension" does not show up in the menu like it did in release 4.1. Is there any changes i did not realise yet or do i something wrong? Thank you very much in advance for your support. Peter K. developer Berlin -- Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten Browser-Versionen downloaden: http://www.gmx.net/de/go/browser From ingmar at typo3.org Sun Jun 29 11:57:32 2008 From: ingmar at typo3.org (Ingmar Schlecht) Date: Sun, 29 Jun 2008 11:57:32 +0200 Subject: [TYPO3-dev] TER kickstarter does not work In-Reply-To: References: Message-ID: Hi Peter, Peter Klose schrieb: > Hello, > i am starting development for the new 4.2 release but i cannot get the kickstarter to work. > After installation and enabling of the kickstarter nothing changes, meaning the new menuitem "create new extension" does not show up in the menu like it did in release 4.1. Is there any changes i did not realise yet or do i something wrong? > Thank you very much in advance for your support. It works for me. Can you check on a completely clean installation? cheers Ingmar -- Ingmar Schlecht TYPO3 Association Active Member From Peter_Klose at gmx.de Sun Jun 29 12:23:08 2008 From: Peter_Klose at gmx.de (Peter Klose) Date: Sun, 29 Jun 2008 12:23:08 +0200 Subject: [TYPO3-dev] TER kickstarter does not work In-Reply-To: References: Message-ID: Hi, i already found the solution on my own. The problem comes with the extrep_wizard extension which is completely outdated as it seems, but still mentioned in the tutorials anyhow. I installed the kickstarter extension instead which now works fine! thank you anyway Peter > Hi Peter, > > Peter Klose schrieb: > > Hello, > > i am starting development for the new 4.2 release but i cannot get the > kickstarter to work. > > After installation and enabling of the kickstarter nothing changes, > meaning the new menuitem "create new extension" does not show up in the menu > like it did in release 4.1. Is there any changes i did not realise yet or do > i something wrong? > > Thank you very much in advance for your support. > > It works for me. Can you check on a completely clean installation? > > cheers > Ingmar > > -- > Ingmar Schlecht > TYPO3 Association Active Member > _______________________________________________ > TYPO3-dev mailing list > TYPO3-dev at lists.netfielders.de > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev -- GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen! Jetzt dabei sein: http://www.shortview.de/wasistshortview.php?mc=sv_ext_mf at gmx From ingmar at typo3.org Sun Jun 29 12:34:35 2008 From: ingmar at typo3.org (Ingmar Schlecht) Date: Sun, 29 Jun 2008 12:34:35 +0200 Subject: [TYPO3-dev] TER kickstarter does not work In-Reply-To: References: Message-ID: Hi Peter, Peter Klose schrieb: > Hi, > i already found the solution on my own. > The problem comes with the extrep_wizard extension which is completely outdated as it seems, but still mentioned in the tutorials anyhow. > I installed the kickstarter extension instead which now works fine! > thank you anyway Thanks for the hint, I have removed the extension from the repository, so there are no more confusions about this. In which tutorial did you find the mentioning of the extrep_wizard? cheers Ingmar >> Hi Peter, >> >> Peter Klose schrieb: >>> Hello, >>> i am starting development for the new 4.2 release but i cannot get the >> kickstarter to work. >>> After installation and enabling of the kickstarter nothing changes, >> meaning the new menuitem "create new extension" does not show up in the menu >> like it did in release 4.1. Is there any changes i did not realise yet or do >> i something wrong? >>> Thank you very much in advance for your support. >> It works for me. Can you check on a completely clean installation? >> >> cheers >> Ingmar >> >> -- >> Ingmar Schlecht >> TYPO3 Association Active Member >> _______________________________________________ >> TYPO3-dev mailing list >> TYPO3-dev at lists.netfielders.de >> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev > -- Ingmar Schlecht TYPO3 Association Active Member From info at rs-websystems.de Sun Jun 29 13:33:40 2008 From: info at rs-websystems.de (Steffen Ritter) Date: Sun, 29 Jun 2008 13:33:40 +0200 Subject: [TYPO3-dev] HTMLparser_rte - Correct configuration? In-Reply-To: References: Message-ID: Hello, thank you for you ending my search :) So I just adapted the plugin with htmlspecialchars_decode. Your hint to IE6: I know that this could be difficult if IE6 would have to be transformed. But the tag has an parsefunc, building full LaTeX document passing the code to the commandline parser which generates an .ps file which is converted by ImageMagick into an gif which is included inline. This works fine with all Browsers and works with Caching too ^^ thank your for your hints. Steffen Steffen Kamper schrieb: > Steffen Ritter schrieb: >> Hello list, >> in my current situation I'm having some problems to configure >> HTMLparser_rte. >> Because we are on scientific presentation wie included LateX renderer >> into T3, which works fine so far (custom tag ist >> processed). For proper work I slightly adapted the existing LaTeX >> Extension configuration and configured RTE to keep the -Tag. >> For proper alignement of formulars wee need the "&". But onLoad of RTE >> this gets transformed to & and saved back in this way to database. >> >> So I looked at RTE API and found HTMLparser_rte,entryHTMLparser_rte >> and exitHTMLparser_rte Objekt. Since In HTMLparser_rte i Cant define >> "keep content of tag untouched" I tried to use entry and exit... >> But this did not work as aspected. So my question is about: how to use >> this correctly? >> As far I understood I can define >> exitHTMLparser_rte.tags.math = 1 that rte stops processing content >> after reading >> and with entryHTMLparser_rte.tags.math = 1 I can start it again... >> >> But this does not work.. defining this, all Tags beside the Tag >> is cleared out. >> >> Any hints or probably clearing up my thoughts. >> >> kind regards >> Steffen > > Hi Steffen, > > I know searching for such stuff could be very difficult. > IIRC the transformation of & happens outside rte and depends on the > doctype you choose, sry for not locating the point. > > btw - have a look to IE - hanbdling of those tags normally doesn't work > in IE6. > > vg Steffen From masi-no at spam-typo3.org Mon Jun 30 08:15:59 2008 From: masi-no at spam-typo3.org (Martin Kutschker) Date: Mon, 30 Jun 2008 08:15:59 +0200 Subject: [TYPO3-dev] the core's missing dbal/postgresql compatibility In-Reply-To: References: Message-ID: Steffen Kamper schrieb: > > doesn't EM instances t3lib_install for such comparisons? > > So imho DBAL should xclass this for the functions > getFieldDefinitions_fileContent, > getFieldDefinitions_sqlContent_parseTypes, getFieldDefinitions_database etc I have only the overall concept in mind. For the details pleas look up the code yourself. Masi From bb at bellevuevej.dk Mon Jun 30 12:06:57 2008 From: bb at bellevuevej.dk (Brian Bendtsen) Date: Mon, 30 Jun 2008 12:06:57 +0200 Subject: [TYPO3-dev] IRRE - processDatamap_afterDatabaseOperations In-Reply-To: References: Message-ID: Ingmar Schlecht skrev: > Brian Bendtsen schrieb: >> Ingmar Schlecht skrev: >>> Hi Brian, >>> >>> without having looked into your issue in detail: Try using the new >>> hook in TYPO3 4.2 called processDatamap_afterAllOperations. >>> >>> cheers >>> Ingmar >> >> Hi Ingmar >> >> I was just looking at it, is it true that it only takes one parameter? >> >> function processDatamap_afterAllOperations($this) ? > > Better name the variable $pObj or so, otherwise it conflicts with your > object's $this variable. > > Anyway, yes, it's correct it only takes one parameter. > > But you can access the table etc as Dmitry said by seeing what's in the > $pObj->datamap array. > > cheers > Ingmar > Thanks That helped a lot /Brian From bb at bellevuevej.dk Mon Jun 30 12:15:11 2008 From: bb at bellevuevej.dk (Brian Bendtsen) Date: Mon, 30 Jun 2008 12:15:11 +0200 Subject: [TYPO3-dev] itemsProcFunc datamap? Message-ID: Hi Im using IRRE in an extension of mine and need a select box in child element to show special values. Therefore im using the itemsProcFunc option. The problem is, that the items in the selectbox has to generated by using a value from the parent record. Im just not sure how to fetch a value from the parent record. When using hooks like processDatamap_afterDatabaseOperations its possible to access a complete datamap. Is this possible with a function called from itemsProcFunc? Any hints? /Brian From steffen at sk-typo3.de Mon Jun 30 12:32:58 2008 From: steffen at sk-typo3.de (Steffen Kamper) Date: Mon, 30 Jun 2008 12:32:58 +0200 Subject: [TYPO3-dev] itemsProcFunc datamap? In-Reply-To: References: Message-ID: Brian Bendtsen schrieb: > Hi > > Im using IRRE in an extension of mine and need a select box in child > element to show special values. Therefore im using the itemsProcFunc > option. > > The problem is, that the items in the selectbox has to generated by > using a value from the parent record. Im just not sure how to fetch a > value from the parent record. When using hooks like > processDatamap_afterDatabaseOperations its possible to access a complete > datamap. Is this possible with a function called from itemsProcFunc? > > Any hints? > > /Brian sure, you need to declare the function with the params function doTheItemsProcFunc($params, $conf) { ... } vg Steffen From bb at bellevuevej.dk Mon Jun 30 12:36:54 2008 From: bb at bellevuevej.dk (Brian Bendtsen) Date: Mon, 30 Jun 2008 12:36:54 +0200 Subject: [TYPO3-dev] itemsProcFunc datamap? In-Reply-To: References: Message-ID: Steffen Kamper skrev: > Brian Bendtsen schrieb: >> Hi >> >> Im using IRRE in an extension of mine and need a select box in child >> element to show special values. Therefore im using the itemsProcFunc >> option. >> >> The problem is, that the items in the selectbox has to generated by >> using a value from the parent record. Im just not sure how to fetch a >> value from the parent record. When using hooks like >> processDatamap_afterDatabaseOperations its possible to access a >> complete datamap. Is this possible with a function called from >> itemsProcFunc? >> >> Any hints? >> >> /Brian > > sure, you need to declare the function with the params > function doTheItemsProcFunc($params, $conf) { ... } > > vg Steffen Hi Yeah, Im with you this far, but I have tried to fetch the datamap like this: $conf->datamap - but it returns nothing /Brian From steffen at sk-typo3.de Mon Jun 30 12:55:37 2008 From: steffen at sk-typo3.de (Steffen Kamper) Date: Mon, 30 Jun 2008 12:55:37 +0200 Subject: [TYPO3-dev] itemsProcFunc datamap? In-Reply-To: References: Message-ID: Brian Bendtsen schrieb: > Steffen Kamper skrev: >> Brian Bendtsen schrieb: >>> Hi >>> >>> Im using IRRE in an extension of mine and need a select box in child >>> element to show special values. Therefore im using the itemsProcFunc >>> option. >>> >>> The problem is, that the items in the selectbox has to generated by >>> using a value from the parent record. Im just not sure how to fetch a >>> value from the parent record. When using hooks like >>> processDatamap_afterDatabaseOperations its possible to access a >>> complete datamap. Is this possible with a function called from >>> itemsProcFunc? >>> >>> Any hints? >>> >>> /Brian >> >> sure, you need to declare the function with the params >> function doTheItemsProcFunc($params, $conf) { ... } >> >> vg Steffen > Hi > > Yeah, Im with you this far, but I have tried to fetch the datamap like > this: > > $conf->datamap - but it returns nothing > > /Brian look at the arrays, it's all in t3lib_div::debug(array($params,$conf),'show me'); the arrays are plaiin arrays, there are no objects in. vg Steffen From bb at bellevuevej.dk Mon Jun 30 13:20:20 2008 From: bb at bellevuevej.dk (Brian Bendtsen) Date: Mon, 30 Jun 2008 13:20:20 +0200 Subject: [TYPO3-dev] itemsProcFunc datamap? In-Reply-To: References: Message-ID: Steffen Kamper skrev: > Brian Bendtsen schrieb: >> Steffen Kamper skrev: >>> Brian Bendtsen schrieb: >>>> Hi >>>> >>>> Im using IRRE in an extension of mine and need a select box in child >>>> element to show special values. Therefore im using the itemsProcFunc >>>> option. >>>> >>>> The problem is, that the items in the selectbox has to generated by >>>> using a value from the parent record. Im just not sure how to fetch >>>> a value from the parent record. When using hooks like >>>> processDatamap_afterDatabaseOperations its possible to access a >>>> complete datamap. Is this possible with a function called from >>>> itemsProcFunc? >>>> >>>> Any hints? >>>> >>>> /Brian >>> >>> sure, you need to declare the function with the params >>> function doTheItemsProcFunc($params, $conf) { ... } >>> >>> vg Steffen >> Hi >> >> Yeah, Im with you this far, but I have tried to fetch the datamap like >> this: >> >> $conf->datamap - but it returns nothing >> >> /Brian > > look at the arrays, it's all in > t3lib_div::debug(array($params,$conf),'show me'); > > the arrays are plaiin arrays, there are no objects in. > > vg Steffen I use this: t3lib_div::devlog('myFunction','extName',0,array($params, $conf)); The $conf returns a "unknown object" /Brian From bram.vandenbussche at gmail.com Mon Jun 30 15:46:59 2008 From: bram.vandenbussche at gmail.com (Bram Vandenbussche) Date: Mon, 30 Jun 2008 15:46:59 +0200 Subject: [TYPO3-dev] Need some pointers for site configuration Message-ID: Ok, so what I'm about to ask may already be answered in the thousands of posts that are already in here, but searching for this is not that obvious. What I'm trying to do is pretty basic when you look at it from a developers perspective (which is me) but it has got me in the blue when it comes to typo3 configuration. Let me sketch the situation: I've got a typo3 install with a few sites running in it. Among those sites are numerous "portfolio" sites. I'm using the DAM extension to manage all of the images into categories and such. (about 3 levels of categories in all I think). Each site contains a page called "Portfolio" or "Gallery" or something like that. When this page is loaded, I would like to display a menu (ul) with the first level of categories for that site. When you click on one, it opens the subcategories on the next line, and this goes on, until there are no more subcategories. When you click on an endpoint (category with no subcategories) it should load the same page, but this time enables the SmoothGallery component (which is capable of showing a set of images for a given DAM category) which then shows the images for the given category. Like I said, this is fairly easy if you're working as a developer but I'm clueless as of how to implement this in Typo3. This is pretty standard behaviour I think, so somebody must have done this before. I'm stuck trying to show the menu of categories on a single page and I have no idea how I have to pass the category ID's to the SmoothGallery component. Anyone has any practical help? I'm not sure under wich group this falls so I'm just posting it here, if it needs to be directed somewhere else, just let me know. Any help is greatly appreciated. -- Bram Vandenbussche Project Manager Web Tel: +32 497 21 33 04 bram.vandenbussche at breeze.be From steffen at sk-typo3.de Mon Jun 30 16:29:35 2008 From: steffen at sk-typo3.de (Steffen Kamper) Date: Mon, 30 Jun 2008 16:29:35 +0200 Subject: [TYPO3-dev] Mountpoint handling / problems Message-ID: Hi, IMHO there is a lack in Mountpointhandling, which causes problems in one installation where mountpoints are used very much. To understand it better, i describe the usage: There is a big agency site with a normal page tree. Now there are a lot of sub agencies in the pagetree. They have a mixture of own pages, and they use content from the main agency. For this content mountpoints are used. There is a subagency template with a set of pages (normal and mountpages) which is used for copying for a new sub agency. Now the problem is the following: Mountpages are mounting complete branch and not only a single page, but in pagetree there is only the (one) mountpoint visible. The editor has no chance to set a link to subpage of a mountpoint. He only can link to pages of the main agency. Why is it important to use mountpage? If you are in the page of a sub agency and the content of main agency is mounted, he don't exit his subpage (wiith own domain, own template etc) after clicking a link of main agency. Now i think a little enhancement would solve the problem: If BE pagetree would render the complete branch of a mountpage, it would be possible to browse there when setting links. Any opinions on that? vg Steffen From dmitry at typo3.org Mon Jun 30 18:18:52 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Mon, 30 Jun 2008 19:18:52 +0300 Subject: [TYPO3-dev] Mountpoint handling / problems In-Reply-To: References: Message-ID: Hi! Steffen Kamper wrote: > Any opinions on that? Just mount it for user as user mount point. -- Dmitry Dulepov http://typo3bloke.net/