From murphy at spreekonzept.de Thu Sep 1 10:27:48 2005 From: murphy at spreekonzept.de (Thomas Murphy) Date: Thu, 01 Sep 2005 01:27:48 -0700 Subject: [Typo3-dev] AJAX - for fe/be In-Reply-To: References: Message-ID: dan frost wrote: > I like this idea - perhaps strip the backend down to some basic > libraries (TCA, extMgm etc) which have *no* UI implemented at all. Then > provide a kind of BE-kickstarter which enables developers to re-build it... Yes, that would be nice, could even lead to some FE/BE-editing hybrid modes, several interfaces to TYPO3, even Desktop Applications perhaps (@Dan: Something you spoke about on the Snowboard tour). But it's like Masi said somewhere: Those ideas always lead to rewrites of core components. And I think this would be the best thing anyway... we can't assume that the current overall concept with those static SQL scripts shipped with each extension will get us anywhere near true DBAL. It's the same with other things like the BE-GUI. And refactoring might take 10-times as long as rewriting the stuff. Taking JSR-170, the possibilities of PHP5 and other nice concepts into account, a rewrite seems to me the only clean cut... bye, Murphy From wilhelm at icecrash.com Thu Sep 1 11:16:17 2005 From: wilhelm at icecrash.com (Sven Wilhelm) Date: Thu, 01 Sep 2005 11:16:17 +0200 Subject: [Typo3-dev] AJAX - for fe/be In-Reply-To: References: Message-ID: > But it's like Masi said somewhere: Those ideas always lead to rewrites > of core components. And I think this would be the best thing anyway... > we can't assume that the current overall concept with those static SQL > scripts shipped with each extension will get us anywhere near true DBAL. > It's the same with other things like the BE-GUI. > And refactoring might take 10-times as long as rewriting the stuff. > Taking JSR-170, the possibilities of PHP5 and other nice concepts into > account, a rewrite seems to me the only clean cut... I have a paper in writing that summarizes reasons for a complete rewrite of the typo3 core. Several points are strong object orientation, interfacing, unified storage api, document model, and much much more. As I haven't much time I'm far from writing it finish at the moment, but I hope to have it releaseable in one or two weeks. But I see it also like you, rewriting is the most powerful way as you can drop deprecated stuff quite simple and you can concentrate on a clean api and a clean system design. Kind regards Sven From tapio.markula at dnainternet.net Thu Sep 1 11:18:11 2005 From: tapio.markula at dnainternet.net (tapio) Date: Thu, 01 Sep 2005 12:18:11 +0300 Subject: [Typo3-dev] Too many same task for 'edit2.gif' Message-ID: Hi The 'edit2.icon' is used confusing much. It would be nice, if that would be used *only* for editing individual record on the page *except* the page record itself. Editing *Edit page header* could have an *own icon*, when it would be much clearer, when you edit the generic page properties and page related record. BTW. In the design list have been discussed that 'Page properties' would be *much* better expression than 'Edit page header', which refer .... Note that when you change page template you do *much more* than edit the head section of the page - you affect the *whole* page including ... - in practise everything between .... 'Edit page header' is totally misleading because it is technical and somewhat limiting causing misleading impression, what you are actually doing. 'Generic page properties' migh be even better, but 'Generic' is presumably redundant. In FE editing 'Edit the whole record' could have edit icon with '+' sign. 'edit2b.gif'. When yoy click an edit icon you edit a record, but not all properties 'edit+' means just editing all properties. From tapio.markula at dnainternet.net Thu Sep 1 11:34:25 2005 From: tapio.markula at dnainternet.net (tapio) Date: Thu, 01 Sep 2005 12:34:25 +0300 Subject: [Typo3-dev] AJAX - for fe/be In-Reply-To: References: Message-ID: Sven Wilhelm wrote: >> But it's like Masi said somewhere: Those ideas always lead to rewrites >> of core components. And I think this would be the best thing anyway... >> we can't assume that the current overall concept with those static SQL >> scripts shipped with each extension will get us anywhere near true DBAL. >> It's the same with other things like the BE-GUI. >> And refactoring might take 10-times as long as rewriting the stuff. >> Taking JSR-170, the possibilities of PHP5 and other nice concepts into >> account, a rewrite seems to me the only clean cut... > > I have a paper in writing that summarizes reasons for a complete rewrite > of the typo3 core. Several points are strong object orientation, > interfacing, unified storage api, document model, and much much more. > As I haven't much time I'm far from writing it finish at the moment, but > I hope to have it releaseable in one or two weeks. > > But I see it also like you, rewriting is the most powerful way as you > can drop deprecated stuff quite simple and you can concentrate on a > clean api and a clean system design. I hope that you take account also my comment in the topic 'Too many same task for 'edit2.gif' I have discussed about interface in the 'design' list - please read some notes from there. I made an extension in order to simplyfy the BE layout taking off everything, which someone doesn't need tm_contentaccess rewrites some core functions and adds much classes to 'db_layout.php' and 'alt_doc.php' file in order to get better layout control (skin support) and possibility to hide elements, which can't be controlled using TypoScript. What I would like to add is shortcuts between editing an individual content element and editing page headers. When you edit a content element, you could *always* have a link to the related "header" information of the page (in fact generic page properties in the table 'pages'). And when you go editing the generic page properties, in the situation, where you last edited a content element, you would get a link back to the content element, which you was recently edited. That could make usage much simpler and faster. I tried to add those links but failed. > > Kind regards > > Sven From murphy at spreekonzept.de Thu Sep 1 20:44:42 2005 From: murphy at spreekonzept.de (Thomas Murphy) Date: Thu, 01 Sep 2005 11:44:42 -0700 Subject: [Typo3-dev] AJAX - for fe/be In-Reply-To: References: Message-ID: Sven Wilhelm wrote: > As I haven't much time I'm far from writing it finish at the moment, but > I hope to have it releaseable in one or two weeks. Maybe we can talk about it on the TYCON. > But I see it also like you, rewriting is the most powerful way as you > can drop deprecated stuff quite simple and you can concentrate on a > clean api and a clean system design. I'm very interested in this refactoring talk at TYCON by Robert and maybe this refactoring approach has some advantages I can't see yet, but I really think it's the sum of reasons for a rewrite, that would make it much more painless than doing this step-by-step. Just another idea: I thought about some general concepts on data-storage on top of (maybe) JSR-170 (which I have not yet read completely) which could then be implemented in different programming languages, so it would be possible to have a php-, java- or ruby- TYPO3 UI... Maybe this A-Group thing could be reactivated for some more ideas and proof-of-concepts on this. bye, Murphy From sachav at gmx.net Thu Sep 1 20:21:50 2005 From: sachav at gmx.net (Sacha Vorbeck) Date: Thu, 01 Sep 2005 20:21:50 +0200 Subject: [Typo3-dev] change default sorting of MySQL WHERE - IN Message-ID: Hi, when I select multiple records from tt_content using the following query: SELECT uid FROM tt_content WHERE uid in (3765,3764,34,88) (additional enableFields checks go here) which is the result of: $addwhere= $GLOBALS['TSFE']->cObj->enableFields('tt_content'); $result=$GLOBALS['TYPO3_DB']->exec_SELECTquery('uids','tt_content',"uid in ($content_list) ".$addwhere); MySQL sorts the result with UID asc: 34,88,3764 But I need the uids in the original order: 3764,34,88 Any ideas on how I can achieve this? -- thank you - all the best, Sacha From intsys at swissinfo.org Thu Sep 1 21:09:32 2005 From: intsys at swissinfo.org (Stefan Beylen) Date: Thu, 01 Sep 2005 21:09:32 +0200 Subject: [Typo3-dev] adding TS in Extension Message-ID: hello, how can I add e.g.: page.5=TEXT page.5.value=Hello World via an extension? thx for help! From macmade at gadlab.net Thu Sep 1 21:20:40 2005 From: macmade at gadlab.net (Jean-David Gadina) Date: Thu, 1 Sep 2005 21:20:40 +0200 Subject: [Typo3-dev] adding TS in Extension In-Reply-To: References: Message-ID: Either with an ext_typoscript_setup.txt file (this method is depreciated) or with a static template... Read Typo3 Core API, this is explained... -- Jean-David Gadina (macmade) www.gadlab.net - Multimedia Network On Sep 1, 2005, at 9:09 PM, Stefan Beylen wrote: > hello, > > how can I add e.g.: > > page.5=TEXT > page.5.value=Hello World > > via an extension? > > thx for help! > _______________________________________________ > Typo3-dev mailing list > Typo3-dev at lists.netfielders.de > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev > From intsys at swissinfo.org Thu Sep 1 21:27:13 2005 From: intsys at swissinfo.org (Stefan Beylen) Date: Thu, 01 Sep 2005 21:27:13 +0200 Subject: [Typo3-dev] adding TS in Extension In-Reply-To: References: Message-ID: Jean-David Gadina wrote: > Either with an ext_typoscript_setup.txt file (this method is > depreciated) or with a static template... thx. I was not talking about that. I was asking _how to set TS via an extension_ , not how to set typoscript via ext_typoscript_setup.txt with via an extension I meant in the class.tx_myext_pi1.php sorry if this was unclear. > Read Typo3 Core API, this is explained... thanks for your advise. you've been waiting quite some time to tell this someone, didnt you ;) From schwarzkopf.no.spam at artplan21.de Thu Sep 1 21:50:19 2005 From: schwarzkopf.no.spam at artplan21.de (Andreas Schwarzkopf) Date: Thu, 01 Sep 2005 21:50:19 +0200 Subject: [Typo3-dev] change default sorting of MySQL WHERE - IN In-Reply-To: References: Message-ID: Hi Sacha, I guess only with php array walk. MySQL can not sort this way. grtx Andreas Sacha Vorbeck schrieb: > MySQL sorts the result with UID asc: > 34,88,3764 > > But I need the uids in the original order: > 3764,34,88 > > Any ideas on how I can achieve this? > From schwarzkopf.no.spam at artplan21.de Thu Sep 1 22:00:29 2005 From: schwarzkopf.no.spam at artplan21.de (Andreas Schwarzkopf) Date: Thu, 01 Sep 2005 22:00:29 +0200 Subject: [Typo3-dev] adding TS in Extension In-Reply-To: References: Message-ID: Hi, Stefan Beylen schrieb: > I was asking _how to set TS via an extension_ , not how to set > typoscript via ext_typoscript_setup.txt > > with via an extension I meant in the class.tx_myext_pi1.php > sorry if this was unclear. Check t3lib_extMgm::addTypoScript, but it can be too late to set it in your plugin class, because the top level TS like page object is already processed at this point. grtx Andreas From intsys at swissinfo.org Thu Sep 1 21:58:51 2005 From: intsys at swissinfo.org (Stefan Beylen) Date: Thu, 01 Sep 2005 21:58:51 +0200 Subject: [Typo3-dev] adding TS in Extension In-Reply-To: References: Message-ID: Andreas Schwarzkopf wrote: > Check t3lib_extMgm::addTypoScript, but it can be too late to set it in > your plugin class, because the top level TS like page object is already > processed at this point. thx I tried that already, it didnt work. a short explanation what I am trying to do: regular page content is added before my plugin. In my plugin the user has to enter an emailadress in order to sgn up for a newsletter. When the email is invalid a message should appear on /top of the page/ telling the user that his/her email is invalid. I am working on a webshop for blind people - thats the reason why it has to be on the _very top_ of the page...so the user doesnt have to "read" through the whole page in order to get the message ;) maybe someone got another hint for me how to achieve that... thx! From niederlag at ikd01.de Thu Sep 1 22:05:43 2005 From: niederlag at ikd01.de (Peter Niederlag) Date: Thu, 01 Sep 2005 22:05:43 +0200 Subject: [Typo3-dev] change default sorting of MySQL WHERE - IN In-Reply-To: References: Message-ID: Hi, Andreas Schwarzkopf schrieb: > Hi Sacha, > > I guess only with php array walk. MySQL can not sort this way. ??? http://typo3.org/fileadmin/typo3api-3.8.0/de/d07/classt3lib__DB.html fifth param sortby='sorting' I don't seem to see the point I guess. :-< It can be really tricky if you need whole pagetrees or collect from different pages though. Some join operations can sometimes help on that. from pages as level1 and pages as level2 ....(DON'T forget constraint! where level1.uid=level2.pid) HtH, Peter -- Peter Niederlag http://www.niekom.de * TYPO3 & EDV Dienstleistungen * http://www.typo3partner.net * professional services network * From info at cybercraft.de Fri Sep 2 00:15:37 2005 From: info at cybercraft.de (JoH) Date: Fri, 2 Sep 2005 00:15:37 +0200 Subject: [Typo3-dev] adding TS in Extension References: Message-ID: > regular page content is added before my plugin. In my plugin the user > has to enter an emailadress in order to sgn up for a newsletter. > When the email is invalid a message should appear on /top of the page/ > telling the user that his/her email is invalid. > > I am working on a webshop for blind people - thats the reason why it > has to be on the _very top_ of the page...so the user doesnt have to > "read" through the whole page in order to get the message ;) > > maybe someone got another hint for me how to achieve that... You could use a register and fill in your error message. In your TS-setup you can get this register with 5 = TEXT 5.data = register:your_register_name If there is no message in the register, nothing is rendered. Just my 0,02? Joey -- Wenn man keine Ahnung hat: Einfach mal Fresse halten! (If you have no clues: simply shut your knob sometimes!) Dieter Nuhr, German comedian openBC: http://www.openbc.com/go/invuid/Jo_Hasenau From intsys at swissinfo.org Fri Sep 2 00:24:02 2005 From: intsys at swissinfo.org (Stefan Beylen) Date: Fri, 02 Sep 2005 00:24:02 +0200 Subject: [Typo3-dev] adding TS in Extension In-Reply-To: References: Message-ID: JoH wrote: > 5 = TEXT > 5.data = register:your_register_name > > If there is no message in the register, nothing is rendered. this sounds exactly like what I am looking for... but how do I set your_register_name ? thx JoH! From info at cybercraft.de Fri Sep 2 02:22:52 2005 From: info at cybercraft.de (JoH) Date: Fri, 2 Sep 2005 02:22:52 +0200 Subject: [Typo3-dev] adding TS in Extension References: Message-ID: > JoH wrote: >> 5 = TEXT >> 5.data = register:your_register_name >> >> If there is no message in the register, nothing is rendered. > > this sounds exactly like what I am looking for... > but how do I set your_register_name ? Have a look at the core. I remember there are some registers set while creating the menus. AFAIK you can name them however you like. Google for something like "count_menuItems" ... But maybe I'm completely wrong, since I don't know exactly if these registers are available while reloading the page. Joey -- Wenn man keine Ahnung hat: Einfach mal Fresse halten! (If you have no clues: simply shut your knob sometimes!) Dieter Nuhr, German comedian openBC: http://www.openbc.com/go/invuid/Jo_Hasenau From wolfgang at stufenlos.net Fri Sep 2 08:09:49 2005 From: wolfgang at stufenlos.net (Wolfgang Klinger) Date: Fri, 2 Sep 2005 08:09:49 +0200 Subject: [Typo3-dev] adding TS in Extension In-Reply-To: References: Message-ID: Hi! On Fri, 02 Sep 2005, Stefan Beylen wrote the following: > > 5 = TEXT > > 5.data = register:your_register_name > > > > If there is no message in the register, nothing is rendered. > > this sounds exactly like what I am looking for... > but how do I set your_register_name ? ---- $GLOBALS['TSFE']->register['my_value'] = 'something'; ---- bye Wolfgang From typo3 at fm-world.ru Fri Sep 2 08:13:03 2005 From: typo3 at fm-world.ru (Dmitry Dulepov) Date: Fri, 02 Sep 2005 09:13:03 +0300 Subject: [Typo3-dev] adding TS in Extension In-Reply-To: References: Message-ID: Hi! Stefan Beylen wrote: > regular page content is added before my plugin. In my plugin the user > has to enter an emailadress in order to sgn up for a newsletter. > When the email is invalid a message should appear on /top of the page/ > telling the user that his/her email is invalid. > > I am working on a webshop for blind people - thats the reason why it has > to be on the _very top_ of the page...so the user doesnt have to "read" > through the whole page in order to get the message ;) This is easy: two instances of the template using two functions: one for displaying error messages (or empty if no errors), another - everything else. Dmitry. From mathias.schreiber at wmdb.de Fri Sep 2 08:42:27 2005 From: mathias.schreiber at wmdb.de (Mathias Schreiber [wmdb]) Date: Fri, 02 Sep 2005 08:42:27 +0200 Subject: [Typo3-dev] change default sorting of MySQL WHERE - IN In-Reply-To: References: Message-ID: Sacha Vorbeck wrote: > MySQL sorts the result with UID asc: > 34,88,3764 > > But I need the uids in the original order: > 3764,34,88 > > Any ideas on how I can achieve this? Explode the array via t3lib_div::trimExplode. Make single SQL Calls. Write them to an array. Not cool but the only way (i know of) -- if ($GLOBALS['TSFE']->fe_user->user['ahnung'] == 0) { $this->fresseHalten = 1; } From sachav at gmx.net Fri Sep 2 09:11:07 2005 From: sachav at gmx.net (Sacha Vorbeck) Date: Fri, 02 Sep 2005 09:11:07 +0200 Subject: [Typo3-dev] change default sorting of MySQL WHERE - IN In-Reply-To: References: Message-ID: Hi, > Explode the array via t3lib_div::trimExplode. > Make single SQL Calls. > Write them to an array. > > Not cool but the only way (i know of) thanks for your hints. By now I think I don`t really need the MySQL query any more. Background: the section index doesn`t work properly with TemplaVoila!. But there is a workaround: http://bugs.typo3.org/view.php?id=465 Unfortunately this only works if you fill the register within the DS so you can only access the register from within the content field defined in the DS. Inserting tt_content.menu.20.3 as a content element works but if you want to include the section index via a TS object defined in your TS-template you can`t access the register. (You also can`t use treelevel conditions in the TypoScript sections within a page-DS) That`s why Ingo and I created a mini extension that reads the content-element uids from the tx_templavoila_flex field of the current page. As this field can contain UIDs of content-elements that are not valid (e.g. someone deleted them in the LIST-view) we filtered the uids with a select query + enabledfields. But as the section index is build with a record object: lib.sectionindex = COA lib.sectionindex { 10 < plugin.tx_mfctvsectionindex_pi1 # "Section index (pagecontent w/Index checked)" 20 = RECORDS 20 { source.cObject < plugin.tx_mfctvsectionindex_pi2 tables = tt_content .... The uids are then filtered anyway. So the additional MySQL query is not really necessary. Not nice but it works. -- have a nice day and weekend, Sacha From carsten.bleek at gmx.de Fri Sep 2 10:00:02 2005 From: carsten.bleek at gmx.de (Carsten Bleek) Date: Fri, 2 Sep 2005 10:00:02 +0200 Subject: [Typo3-dev] version control of extensions Message-ID: Hi, I've a general question about version control of extensions. Is there a general CVS or SVN for plugins available? Something like the http://cvs.php.net/pear ? Regards, Carsten -- Carsten Bleek From intsys at swissinfo.org Fri Sep 2 10:03:57 2005 From: intsys at swissinfo.org (Stefan Beylen) Date: Fri, 02 Sep 2005 10:03:57 +0200 Subject: [Typo3-dev] adding TS in Extension In-Reply-To: References: Message-ID: Dmitry Dulepov wrote: > This is easy: two instances of the template using two functions: one for > displaying error messages (or empty if no errors), another - everything > else. It doesnt work with register:my_var I am going to da a tx_myplugin_pi2 ... just for displaying the error msgs... thx! From niederlag at ikd01.de Fri Sep 2 10:06:41 2005 From: niederlag at ikd01.de (Peter Niederlag) Date: Fri, 02 Sep 2005 10:06:41 +0200 Subject: [Typo3-dev] version control of extensions In-Reply-To: References: Message-ID: Carsten Bleek schrieb: > Hi, > > I've a general question about version control of extensions. Is there a > general CVS or SVN for plugins available? Something like the > http://cvs.php.net/pear ? http://sourceforge.net/projects/typo3xdev/ but only partly and imho not very well syncronized yet. HtH, Peter -- Peter Niederlag http://www.niekom.de * TYPO3 & EDV Dienstleistungen * http://www.typo3partner.net * professional services network * From markus.friedrich at media-lights.de Fri Sep 2 10:18:50 2005 From: markus.friedrich at media-lights.de (Markus Friedrich) Date: Fri, 2 Sep 2005 10:18:50 +0200 (CEST) Subject: [Typo3-dev] Changing the link layout Message-ID: Hi list! I am trying to write an extension which modifies links. I want to place e.g. images in front of the link or behind the link. If I use my extension as "userFunc" from "typolink" i am only able to place something in front of the link. How can I add something behind the link? Or is it possible to use an own function instead of typo's typolink? Thanks. - Markus Friedrich (mfriedrich) ----------------------- The mailing list archive is found here: http://typo3.org/documentation/mailing-lists/dev-list-archive/ From tapio.markula at dnainternet.net Fri Sep 2 10:44:22 2005 From: tapio.markula at dnainternet.net (tapio) Date: Fri, 02 Sep 2005 11:44:22 +0300 Subject: [Typo3-dev] Changing the link layout In-Reply-To: References: Message-ID: Markus Friedrich wrote: > Hi list! > > I am trying to write an extension which modifies links. I want to place e.g. images in front of the link or behind the link. If I use my extension as "userFunc" from "typolink" i am only able to place something in front of the link. > > How can I add something behind the link? Or is it possible to use an own function instead of typo's typolink? > Look at the TER - there is an extension for this purpose. Works at least with ordinary content elements. From office at harlander-itm.com Fri Sep 2 10:49:59 2005 From: office at harlander-itm.com (Peter Harlander) Date: Fri, 02 Sep 2005 10:49:59 +0200 Subject: [Typo3-dev] Suggestion for making the Typo3 target group larger (simple to use database ext based on a module of the cms WebEdition) Message-ID: I?d like to propose the following extension which I know from the CMS ?webEdition? www.webedition.de. It is not a special feature for a single website but a function that would make typo3 better usable for people who know html, css and (the really simple to learn) TS but aren?t php-gurus. In webEdition (WE) it is called ?database module?. It doesn?t have very sophisticated features, but it makes it very easy for non-php-specialists to create tables, fill the tables with objects and display the entries in the front end. (the extension kickstarter does an excellent job, but only for people with fundamental php-knowledge.) This WE feature is powerful enough to allow the creation of functions like tt_news. (WE also offers a news function, but this ist more or less a minor subset of the WE database function) Short description: 1. WE allows the user to create an database ?WE-object? (table). Very similar to the extension kickstarter (or the formmail-wizard) one can define what kind of fields this ?WE-object? (table) should have. 2. Also the next step is very similar to typo3. The Backend-User can create entries to that ?WE-object? via a form. Like in typo the entries are saved (or better displayed in the BE) in a folder/page. 3. Now the big difference: WebEdition offers simple WE-tags like "we:listview? or ?we:object? which can be integrated in the templates to query the table and create list and single views of the entries (and define, which fields the list or single view should contain, and which fields should link from the list to the single view.) More detailed information: - Link to the dokumentation of the WE-database module: http://www.webedition.de/download/documentation/de/DatenbankObjekt.pdf - Link to the WE-Tag Reference: http://tags.webedition.de/ search for we:listview (creates a listview) , we:object (creates a singleview), we:field (dsplays the various fields within the listview/single view) - Former correspondence to this topic: see below Greetings from Austria! Peter ~~~~~~~~~~~~~ IT Full Service ~~~~~~~~~~~~~ harlander ITM GmbH Mag. iur. Peter Harlander Gesch?ftsf?hrung Ignaz-Rieder-Kai 17, A-5020 Salzburg M office at harlander-itm.com W www.harlander-itm.com T +43/(0)662/628080, F +43/(0)662/628080?26 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ---------------------------------------------------- Just for info - Former correspondence to this topic: ---------------------------------------------------- Hi Peter, Thanks for your suggestion! I fully understand what you write. It also makes me think about target groups because maybe TYPO3 just _has_ a limit built in which means you must have some PHP knowledge. For instance, if your feature didn't require PHP people will just find the limit somewhere deeper in the system. Nevermind... I think your suggestion deserves some attension because eventually it should be made if someone likes it, right? So, here is what I suggest you do: Post this fine suggestion to the typo3-dev list and lets see what response comes from it. Maybe it can be formed into an extensions (i'm pretty sure it should be an extension anyway!) and someone will go for it... - kasper On Sun, 2005-08-28 at 22:52, Mag. Peter Harlander wrote: > Hi Kasper! > > I?d like to propose the following extension which I know form the CMS > ?webEdition? www.webedition.de. It is not a special feature for a > single website but a function that would make typo3 better usable for > people who know html, css and TS but aren?t php-gurus. > > In webEdition (WE) it is called ?database module?. It doesn?t have > very sophisticated features, but it makes it very easy for > non-php-specialists to create tables and display the entries in the > front end. (the extension kickstarter does an excellent job, but only > for people with fundamental php-knowledge ? that?s what I found out > after an one week research). > > Short description: > > 1. WE allows the user to create an database ?WE-object? (table). Very > similar to the extension kickstarter (or the formmail-wizard) one can > define what kind of fields this ?WE-object? (table) should have. > > 2. Also the next step is very similar to typo3. The Backend-User can > create entries to that ?WE-object? via a form. Like in typo the > entries are saved in a folder/page. > > 3. Now the big difference: WebEdition offers simple WE-tags like > ?we:listview? or ?we:object? which can be integrated in the templates > to query the table and create list and single views of the entries > (and define, which fields the list or single view should contain, and > which fields should link from the list to the single view.) > > This WE feature doesn?t offer many functions but is powerful enough to > allow the creation of functions like tt_news. If you or another typo3 > developer is interested in this, I would be happy to share my > knowledge. > > By the way: I haven?t regretted switching from WE to T3 any second. T3 > in general offers features that are much more sophisticated than the > features of WE in many ways! You did a great work. As I am not a > php-crack I maybe won?t be able to contribute new extension but I?ll > find other ways to contribute. > > Greetings from Austria! > > Peter > > ~~~~~~~~~~~~~ IT Full Service ~~~~~~~~~~~~~ > > harlander ITM GmbH > Mag. iur. Peter Harlander > Gesch?ftsf?hrung > > Ignaz-Rieder-Kai 17, A-5020 Salzburg > M office at harlander-itm.com > W www.harlander-itm.com > T +43/(0)662/628080, F +43/(0)662/628080?26 > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- - kasper TYPO3 Association Chairman ----- "Don't Mess With Texas!" From ao-lists at php4win.de Fri Sep 2 10:53:14 2005 From: ao-lists at php4win.de (Andreas Otto) Date: Fri, 02 Sep 2005 10:53:14 +0200 Subject: [Typo3-dev] version control of extensions References: Message-ID: Hi Peter, On Freitag, 2. September 2005 10:06, Peter Niederlag wrote in typo3.dev: > but only partly That depends on each extension author if they want to use the infrastructure we provide for them. Currently 1% of the extensions from the TER are developed at TYPO3xdev. > and imho not very well syncronized yet. That depends on SF.net and they are constantly improving their services. Subversion support is being worked on [1]: Subversion Service: The research, analysis, and support gear-up needed to implement a Subversion service at SourceForge.net is now in progress. As with all SourceForge.net services, extensive analysis and testing must be performed to verify suitable levels of stability and scalability before a service can be rolled-out. We are expecting the initial phases of this effort to last several weeks, to be followed by the implementation of a testing environment which will be used for a live beta test by specific selected projects. Pending successful scalability testing, service details will be finalized and service will be offered to all projects. (Refreshed 2005-04-21, to show continued in-progress status.) (Last updated: 2005-04-21 Pacific) [1] Cheers, Andreas -- Document your data layouts. - The Elements of Programming Style (Kernighan & Plaugher) From tw at amedick-sommer.de Fri Sep 2 11:12:32 2005 From: tw at amedick-sommer.de (Waggershauser, Thomas) Date: Fri, 2 Sep 2005 11:12:32 +0200 Subject: [Typo3-dev] fixing stylelinks with realurl... Message-ID: Ok, I got no more Idea now... We are making a static Website with more than 250 pages for a customer. It was my Idea to use typo3 for this case, using RealURL and HT-Track... This would work very fine if there were no Internet exploder... To fix the css we use this special IE conditions inside of XML-Comments This is were the problem starts! HT-Track removes the base-Tag and fixes all Url-Paths, except the ones between the comments :( RealUrl creates urls like bla.de/1stlevel/2ndlevel/pagetitle.html, but sometimes a page in the 2nd level has the url bla.de/1stlevel/pagetitle.html. I tried to create the stylelinks depending on the treeLevel of the page but because of this it works not always... Mybee someone here has an idea how to solve this. Greetings, Thomas From schwarzkopf.no.spam at artplan21.de Fri Sep 2 12:16:53 2005 From: schwarzkopf.no.spam at artplan21.de (Andreas Schwarzkopf) Date: Fri, 02 Sep 2005 12:16:53 +0200 Subject: [Typo3-dev] Changing the link layout In-Reply-To: References: Message-ID: Hi, tapio schrieb: > Markus Friedrich wrote: >> How can I add something behind the link? Or is it possible to use an >> own function instead of typo's typolink? >> > > Look at the TER - there is an extension for this purpose. > Works at least with ordinary content elements. This is the simpliest TypoScript (look typolink section in TSref), you don't need any extensions for this. grtx Andreas From schwarzkopf.no.spam at artplan21.de Fri Sep 2 12:25:28 2005 From: schwarzkopf.no.spam at artplan21.de (Andreas Schwarzkopf) Date: Fri, 02 Sep 2005 12:25:28 +0200 Subject: [Typo3-dev] Suggestion for making the Typo3 target group larger (simple to use database ext based on a module of the cms WebEdition) In-Reply-To: References: Message-ID: Hi Peter, we are developing something similar to that, the extension is called general list and will allow backend users create lists and detail views of any database content via a couple of clicks. We will make this extension public this year, it needs some work yet. grtx Andreas Peter Harlander schrieb: > Short description: > > 1. WE allows the user to create an database ?WE-object? (table). Very > similar to the extension kickstarter (or the formmail-wizard) one can > define what kind of fields this ?WE-object? (table) should have. > > 2. Also the next step is very similar to typo3. The Backend-User can > create entries to that ?WE-object? via a form. Like in typo the > entries are saved (or better displayed in the BE) in a folder/page. > > 3. Now the big difference: WebEdition offers simple WE-tags like > "we:listview? or ?we:object? which can be integrated in the templates > to query the table and create list and single views of the entries > (and define, which fields the list or single view should contain, and > which fields should link from the list to the single view.) From niederlag at ikd01.de Fri Sep 2 12:50:21 2005 From: niederlag at ikd01.de (Peter Niederlag) Date: Fri, 02 Sep 2005 12:50:21 +0200 Subject: [Typo3-dev] version control of extensions In-Reply-To: References: Message-ID: Hi, Andreas Otto schrieb: [...] >>and imho not very well syncronized yet. > > > That depends on SF.net and they are constantly improving their services. I was refering to extensions that might be different or even more current in TER then in t3xdev. @OP: I would strongly suggest to stick with TER unless U are really sure what you are doing. Sorry was a bit short on that, I'll shut my mouth now for some days again. Cheers, Peter -- Peter Niederlag http://www.niekom.de * TYPO3 & EDV Dienstleistungen * http://www.typo3partner.net * professional services network * From mailinglisten at i-schmitt.de Fri Sep 2 13:05:56 2005 From: mailinglisten at i-schmitt.de (ingo schmitt) Date: Fri, 02 Sep 2005 13:05:56 +0200 Subject: [Typo3-dev] change default sorting of MySQL WHERE - IN In-Reply-To: References: Message-ID: Hi, [..] > > thanks for your hints. By now I think I don`t really need the MySQL > query any more. > > Background: > the section index doesn`t work properly with TemplaVoila!. But there is > a workaround: http://bugs.typo3.org/view.php?id=465 > > Unfortunately this only works if you fill the register within the DS so > you can only access the register from within the content field defined > in the DS. Inserting tt_content.menu.20.3 as a content element works but > if you want to include the section index via a TS object defined in your > TS-template you can`t access the register. (You also can`t use treelevel > conditions in the TypoScript sections within a page-DS) That`s why Ingo > and I created a mini extension that reads the content-element uids from > the tx_templavoila_flex field of the current page. As this field can > contain UIDs of content-elements that are not valid (e.g. someone > deleted them in the LIST-view) we filtered the uids with a select query > + enabledfields. > > But as the section index is build with a record object: > > lib.sectionindex = COA > lib.sectionindex { > 10 < plugin.tx_mfctvsectionindex_pi1 > # "Section index (pagecontent w/Index checked)" > 20 = RECORDS > 20 { > source.cObject < plugin.tx_mfctvsectionindex_pi2 > tables = tt_content > .... > > The uids are then filtered anyway. So the additional MySQL query is not > really necessary. > As soon, as we have an documentation and some cleanup in the code, this extension will be in ter:-) Ingo Mit freundlichen Gruessen -- Ingo Schmitt mailto:is at marketing-factory.de Marketing Factory Consulting GmbH http://typo3.marketing-factory.de/ Content Management mit Typo3: Beratung - Schulung - Realisierung From load10 at hotmail.com Fri Sep 2 15:02:39 2005 From: load10 at hotmail.com (Joe Frontman) Date: Fri, 02 Sep 2005 15:02:39 +0200 Subject: [Typo3-dev] object browser in the backend In-Reply-To: References: Message-ID: Martin Kutschker schrieb: > Pierre schrieb: > >> Hello Little Big Man, >> >> According to your philosophy : >> >> [X] No Dev related Question (and thanks to you there are now half a >> dozen posts in this case ;-) >> >> I can add that my real name is also not dev related, so it is not a >> relevant information in the topic of the group. > > > You may have noticed that besides Tapio, who had recently some "social > trouble" here, everybody here posts with his full real name. It's > considered as polite and is part of the (unwritten?) list rules. > > If you cannot be bothered by adding you name to the setup of your > mai/news client why should we bother to answer your posts. > > Masi this whole first name and last name debate is somewhat ridiculous. Nobody really cares about someones last name, or do you? In fact I know a guy whose first name is Thomas but all his friends call him Frank. Why? Because he likes Frank better than Thomas. So, would you wanna call him by the name he likes or by the name he dislikes??? Actually, what is the last name of Typo3??? From markus.friedrich at media-lights.de Fri Sep 2 15:49:57 2005 From: markus.friedrich at media-lights.de (Markus Friedrich) Date: Fri, 2 Sep 2005 15:49:57 +0200 (CEST) Subject: [Typo3-dev] Changing the link layout In-Reply-To: References: Message-ID: Thank you for your replies. I am well aware of what you are saying. So, to clarify why I am trying to write a new extension: - My extension should be able to specify different Icons for different file types. (e.g. if the link points to a pdf, there should be a pdf icon) The filetypes are fully customizable. - The extension is able to show the filesize of the linked file. As described, the problem I have at the moment is that I can place the image or filesize only BEFORE the link and not AFTER. How can I do this? At the moment I see two possibilities - using the wrap function with a variable value - replacing the typolink function with an own function From markus.friedrich at media-lights.de Fri Sep 2 15:50:07 2005 From: markus.friedrich at media-lights.de (Markus Friedrich) Date: Fri, 2 Sep 2005 15:50:07 +0200 (CEST) Subject: [Typo3-dev] Changing the link layout In-Reply-To: References: Message-ID: Thank you for your replies. I am well aware of what you are saying. So, to clarify why I am trying to write a new extension: - My extension should be able to specify different Icons for different file types. (e.g. if the link points to a pdf, there should be a pdf icon) The filetypes are fully customizable. - The extension is able to show the filesize of the linked file. As described, the problem I have at the moment is that I can place the image or filesize only BEFORE the link and not AFTER. How can I do this? At the moment I see two possibilities - using the wrap function with a variable value - replacing the typolink function with an own function From typo3 at fm-world.ru Fri Sep 2 15:54:56 2005 From: typo3 at fm-world.ru (Dmitry Dulepov) Date: Fri, 02 Sep 2005 16:54:56 +0300 Subject: [Typo3-dev] adding TS in Extension In-Reply-To: References: Message-ID: Hi! While pi2 may be easier, you do not need to use it really. You may keep all in one extension and use CODE field or flexform to tell your extension you want it toi perform. CODE field is deprecated by flexforms are really easy to use and you can benefit from having new knowledge :) Dmitry. Stefan Beylen wrote: > Dmitry Dulepov wrote: > >> This is easy: two instances of the template using two functions: one for >> displaying error messages (or empty if no errors), another - everything >> else. > > > It doesnt work with register:my_var > I am going to da a tx_myplugin_pi2 ... just for displaying the error > msgs... > > thx! From typo3 at fm-world.ru Fri Sep 2 15:56:12 2005 From: typo3 at fm-world.ru (Dmitry Dulepov) Date: Fri, 02 Sep 2005 16:56:12 +0300 Subject: [Typo3-dev] object browser in the backend In-Reply-To: References: Message-ID: Hi! Joe Frontman wrote: > Actually, what is the last name of Typo3??? "Get.content.right" I believe. Dmitry. From typo3 at fm-world.ru Fri Sep 2 16:01:07 2005 From: typo3 at fm-world.ru (Dmitry Dulepov) Date: Fri, 02 Sep 2005 17:01:07 +0300 Subject: [Typo3-dev] version control of extensions In-Reply-To: References: Message-ID: Hi! Andreas Otto wrote: > That depends on each extension author if they want to use the > infrastructure we provide for them. May be other developers do not really know that they can use it too? Should TER provide a "tip of the day" about it? Dmitry. From typo3 at fm-world.ru Fri Sep 2 16:06:36 2005 From: typo3 at fm-world.ru (Dmitry Dulepov) Date: Fri, 02 Sep 2005 17:06:36 +0300 Subject: [Typo3-dev] Harry Potter 5 Message-ID: ???????? ?? ?????? ? ???? ????? http://www.mugglenet.com/wallpapers/wp-gofr.shtml From schwarzkopf.no.spam at artplan21.de Fri Sep 2 16:26:53 2005 From: schwarzkopf.no.spam at artplan21.de (Andreas Schwarzkopf) Date: Fri, 02 Sep 2005 16:26:53 +0200 Subject: [Typo3-dev] Changing the link layout In-Reply-To: References: Message-ID: Hi Markus, Markus Friedrich schrieb: > So, to clarify why I am trying to write a new extension: > - My extension should be able to specify different Icons for different file > types. (e.g. if the link points to a pdf, there should be a pdf icon) The > filetypes are fully customizable. > - The extension is able to show the filesize of the linked file. it is exactly what the cObject filelink does, check the styles.content.uploads part in your static template > > As described, the problem I have at the moment is that I can place the > image or filesize only BEFORE the link and not AFTER. How can I do this? with stdWrap properties you can do anything you like on this purpose > > At the moment I see two possibilities > - using the wrap function with a variable value > - replacing the typolink function with an own function As I already wrote, the simpliest and most flexible way is to use the normal TypoScript - stdWrap, filelink, typolink or whatever. grtx Andreas From markus.friedrich at media-lights.de Fri Sep 2 17:26:20 2005 From: markus.friedrich at media-lights.de (Markus Friedrich) Date: Fri, 2 Sep 2005 17:26:20 +0200 (CEST) Subject: [Typo3-dev] Changing the link layout In-Reply-To: References: Message-ID: Thank you for helping, but I don't know how to use TypoScript for this. I already tried to use typolink for this but it seems that the typolink funktion can return nothing behind the "" tag except the wrap text . And the wrap function doesn't accept variable values like "GPvar:test". If it's so easy you can perhaps give an example... From trabold at mehrwert.de Fri Sep 2 17:30:59 2005 From: trabold at mehrwert.de (Christian Trabold) Date: Fri, 02 Sep 2005 17:30:59 +0200 Subject: [Typo3-dev] Harry Potter 5 In-Reply-To: References: Message-ID: Hi Dmitry, > ???????? ?? ?????? ? ???? ????? > http://www.mugglenet.com/wallpapers/wp-gofr.shtml what's that in english? ;) BTW: could we implement this wizard into the core? Greetings, Christian From contact at brikou.com Fri Sep 2 17:49:57 2005 From: contact at brikou.com (Brice BERNARD) Date: Fri, 2 Sep 2005 17:49:57 +0200 (CEST) Subject: [Typo3-dev] TCA stuff...!!?? Message-ID: YO! see that : ... 'foreign_table' => 'tt_address', 'foreign_table_where' => 'AND tt_address.pid=###STORAGE_PID### ORDER BY tt_address.uid', ... I'd like to change it to : ... 'foreign_table' => 'tt_address', 'foreign_table_where' => 'AND tt_address.pid=' . $folder . ' ORDER BY tt_address.uid', ... HOW TO initialize this value $folder = the value I entered in the content via FlexForm??? I thought something like: $folder = $this->pi_getFFvalue($this->cObj->data['pi_flexform'], 'shipper')); but of course it's WRONG - Brice BERNARD (brikou) ----------------------- The mailing list archive is found here: http://typo3.org/documentation/mailing-lists/dev-list-archive/ From a.widschwendter at mediares.at Fri Sep 2 17:58:38 2005 From: a.widschwendter at mediares.at (media.res | alex widschwendter) Date: Fri, 02 Sep 2005 17:58:38 +0200 Subject: [Typo3-dev] TCA stuff...!!?? In-Reply-To: References: Message-ID: yo ;) > > ... > 'foreign_table' => 'tt_address', > 'foreign_table_where' => 'AND tt_address.pid=###STORAGE_PID### ORDER BY tt_address.uid', > ... > > > I'd like to change it to : > > > ... > 'foreign_table' => 'tt_address', > 'foreign_table_where' => 'AND tt_address.pid=' . $folder . ' ORDER BY tt_address.uid', > ... > as you can see here: http://typo3.org/documentation/document-library/doc_core_api/columns_fieldnam-5/ you can set dynamic values via markers from page TS config. afaik it is not possible via flexforms or something else ... hth alex From ernst at cron-it.de Fri Sep 2 19:54:34 2005 From: ernst at cron-it.de (Ernesto Baschny [cron IT]) Date: Fri, 02 Sep 2005 19:54:34 +0200 Subject: [Typo3-dev] [TYPO3-content-rendering] New and improved css_styled_imgtext Message-ID: Hi! After scanning through the "content-rendering" mailing list looking for a solution and a "working" css-styled-imgtext all I found was a lot of (sometimes heated! :) ) discussion and no real solution. That's why I sat down and thought about the problem and tried to solve it. The problem: Provide rendering methods for the "Text with images" and "Images" that allows most possible settings for the user, but doesn't generate any table: just a simple UL (or a DL, or a set of nested DIVs). As a basis I took the current css_styled_imgtext and the result was this: http://typo3.org/extensions/repository/new/cron_cssstyledimgtext/ You might thing "o-wheee", yet another extention for the same stuff. Well, I just didn't want to discuss it while I hadn't something to show. Who is currently responsible for the css_styled_imgtext and most importantly: for the css_styled_content and the content rendering in general in TYPO3-core? See later for my thoughts about the future of this. First, what does my new extention does what the others doesn't: Here is a little demonstration: http://www.typo3-anbieter.de/de/csi/ - All positioning actually work, even above-center, below-center, etc. - The "border" setting is respected as "just another" CSS class added to the thing. You can then customize the border as you wish in CSS. Default CSS provides a border just like in content (default) (2px black). - The user can choose how many columns to display! This was the most annoying thing in the current original css_styled_imgtext. The "floathorizontal" field was removed, and code was added to allow images to wrap in the correct amount of columns. - The alt and title Attributes for the IMG-tag actually work as you expect them to: "alt" is always added, even if the value is empty. "title" is just added if something is entered for this picture in the "title" field. - The "noRows" attribute is respected. You might see this working at http://www.typo3-anbieter.de/de/csi/more/ with example pictures have sent to the content-rendering list some time ago, while saying it's "impossible" to do that automatically. Well, as you might see, it does work! :) - Intext-Nowrap actually works also on Firefox. This is when the images column is left "alone", and the text doesn't wrap around it. I confess I developed these just on IE6 and Firefox, but I can see that it also works on Opera now. The CSS might still need some tweaking, but hey, I think this is a step forward. So now we have this, I would like to talk to people that actually have access to TYPO3-core or css_styled_content: What I ultimatively propose is that we make the cObj->IMGTEXT function do all the "fancy calculation" it has to do (like the column widths, amount of columns, rows, generate the imgTags, etc) and then call some registered HOOK (or better yet, call a userFunc specified in TypoScript!) which then will be able to render this in a meaningful way. With this approach I don't have to repeat all the calculation code in every extention, I just have to make good use of it. With the call of the userFunc in place any extention will be able to provide a rendering engine. In my proof of concept I am able to render the block of images as DL, UL and DIVs or even with customizable stdWrap's (see .customRender property). One site is even able to be runing multiple rendering engines! The user is able to choose the one that is most appropriate for the current set of images. This is already possible with my proof-of-concept. We also could first try to thing to get this integrated into css-styled-content, before we make the CORE-thingy. Well, that's it, let the "flame war begin"! :) Cheers, Ernesto From intsys at swissinfo.org Fri Sep 2 22:08:49 2005 From: intsys at swissinfo.org (Stefan Beylen) Date: Fri, 02 Sep 2005 22:08:49 +0200 Subject: [Typo3-dev] [TYPO3-content-rendering] New and improved css_styled_imgtext In-Reply-To: References: Message-ID: Ernesto Baschny [cron IT] wrote: > After scanning through the "content-rendering" mailing list looking for > a solution and a "working" css-styled-imgtext all I found was a lot of > (sometimes heated! :) ) discussion and no real solution. hehe :) > You might thing "o-wheee", yet another extention for the same stuff. o-wheee, yet another extension but the first one that does the job properly ;) > I confess I developed these just on IE6 and Firefox, but I can see that > it also works on Opera now. The CSS might still need some tweaking, but > hey, I think this is a step forward. works almost fine on mac osX: IE got some problems (of course): a) with "INTEXT left" on the "regular" page it actually does 2cols b) and on the "more" page "just images (typ=IMAGES)" the pics are in one column below each other Safari: n problems > So now we have this, I would like to talk to people that actually have > access to TYPO3-core or css_styled_content: ok, dont talk to me ;) > Well, that's it, let the "flame war begin"! :) if you send me your bank details I will transfer some money to your weapons account ;)...are 200 deutschmark ok (equally to 100 euro)? *I hope some others will also sponsor even though the extension is finished already!* have a nice weekend p.s.: how long did it take you to make that ext? just wondering... From ben at netcreators.nl Sat Sep 3 01:20:49 2005 From: ben at netcreators.nl (ben van 't ende [netcreators]) Date: Sat, 03 Sep 2005 01:20:49 +0200 Subject: [Typo3-dev] [TYPO3-content-rendering] New and improved css_styled_imgtext In-Reply-To: References: Message-ID: Ernesto Baschny [cron IT] wrote: > We also could first try to thing to get this integrated into > css-styled-content, before we make the CORE-thingy. > > Well, that's it, let the "flame war begin"! :) HI Ernesto!!!, Shall I start it then ;-) No kidding. tHNx a lot for doing his. I apologized already yesterday or the day before for not finishing css_imgtext. Originally I was on that one with Ingmar. I know the theory of achieving this solution, but I am no programmer. So it was to hard for me to really get this going and finishing it. I really enjoyed myself exploring all possibilities. And they are so semantically correct. Great to see you used the dl solution as default. On my original test pages http://ben.vantende.net/css/imgtextcss/ I fooled around a bit and the result is SUPER! Are you planning any documentation? Please do. A lot of people will be helped by that. Let's try and get this one in the CORE. It is very flexible and by the looks of it also provides the original formatting when you use the table option. I say "o-wheee". tHNx again ben -- netcreators::creation and innovation www.netcreators.nl - www.typo3.nl From ben at netcreators.nl Sat Sep 3 01:44:02 2005 From: ben at netcreators.nl (ben van 't ende [netcreators]) Date: Sat, 03 Sep 2005 01:44:02 +0200 Subject: [Typo3-dev] [TYPO3-content-rendering] New and improved css_styled_imgtext In-Reply-To: References: Message-ID: ben van 't ende [netcreators] wrote: > Ernesto Baschny [cron IT] wrote: > >> We also could first try to thing to get this integrated into >> css-styled-content, before we make the CORE-thingy. >> >> Well, that's it, let the "flame war begin"! :) Hi, http://validator.w3.org/check?uri=http%3A%2F%2Fben.vantende.net%2Fcss%2Fimgtextcss%2F One more thing ;-) This Page Is Valid XHTML 1.0 Strict! That's the goal for TYPO3 4.0!! gRTz ben -- netcreators::creation and innovation www.netcreators.nl - www.typo3.nl From jan at wischnat.de Sat Sep 3 07:49:28 2005 From: jan at wischnat.de (Jan Wischnat.de) Date: Sat, 03 Sep 2005 07:49:28 +0200 Subject: [Typo3-dev] Harry Potter 5 In-Reply-To: References: Message-ID: Christian Trabold wondered: > BTW: could we implement this wizard into the core? LOL :-) Jan From jan at wischnat.de Sat Sep 3 08:05:24 2005 From: jan at wischnat.de (Jan Wischnat.de) Date: Sat, 03 Sep 2005 08:05:24 +0200 Subject: [Typo3-dev] [TYPO3-content-rendering] New and improved css_styled_imgtext In-Reply-To: References: Message-ID: Ernesto Baschny [cron IT] schrieb: > As a basis I took the current css_styled_imgtext and the result was this: > http://typo3.org/extensions/repository/new/cron_cssstyledimgtext/ Well done, Ernesto! I would like to sponsor this. If you need sponsoring please send a bill of EUR 100 to jan_at_wischnat_dot_de Good Job, thanks again! Yours Jan From wolfgang at stufenlos.net Sat Sep 3 08:45:36 2005 From: wolfgang at stufenlos.net (Wolfgang Klinger) Date: Sat, 3 Sep 2005 08:45:36 +0200 Subject: [Typo3-dev] Changing the link layout In-Reply-To: References: Message-ID: On Fri, 02 Sep 2005, Markus Friedrich wrote the following: > If it's so easy you can perhaps give an example... Give it to me baby! :-) bye Wolfgang just kidding.. From wolfgang at stufenlos.net Sat Sep 3 09:11:05 2005 From: wolfgang at stufenlos.net (Wolfgang Klinger) Date: Sat, 3 Sep 2005 09:11:05 +0200 Subject: [Typo3-dev] [TYPO3-content-rendering] New and improved css_styled_imgtext In-Reply-To: References: Message-ID: Hi! On Fri, 02 Sep 2005, Ernesto Baschny [cron IT] wrote the following: > - The user can choose how many columns to display! This was the most > annoying thing in the current original css_styled_imgtext. The > "floathorizontal" field was removed, and code was added to allow images > to wrap in the correct amount of columns. Thank you for that great work! One problem I had was that when I specified a width for the images ("imagewidth") and defined e.g. 5 columns the width was used for all images in a row, not for a single one... that's not the expected behaviour I think (at least for me)! Please think about that and change the following line accordingly ---- $defaultColumnWidth = ceil(($maxW-$colspacing*($colCount-1)-$colCount*$border*$borderThickness*2)/$colCount); ---- I simply set ---- $defaultColumnWidth = $maxW; ---- (but that doesn't count all this border stuff in) kind regards Wolfgang From kraftb at kraftb.at Sat Sep 3 19:35:48 2005 From: kraftb at kraftb.at (Bernhard Kraft) Date: Sat, 03 Sep 2005 19:35:48 +0200 Subject: [Typo3-dev] T3 Charset Message-ID: Hallo list, I had a conversation with Michael Stucki via ICQ about the good-ol' charset problem. All after all we came to the conclusion that something is wrong how texts in different languages are handled in T3. First it must be statet that a text cannot be "identified" to be in a certain charset ... You can't tell if a string of Text is utf-8 or iso-8859-1 So you would have to create a "charset" field in eacht table to identify the charset of each records. You have to do this on a per record basis as different BE-Users with different languages use differnt charsets in the BE. Two users with different charsets could each create a record in the same table but both with a different charset. One method to cope with that problem would be to say: T3 4.0.0 uses strictly utf-8 ... There has been some discussion on a closed asssoc-mailinglist about this subject but Michael meant I should post to .dev to see what the others think about this problem ... Do you think we shall simply define utf-8 as the new standard for T3 and drop all the efforts which have been made to support different charsets or should really a default field "charset" get added to each table in which each time the record gets stored the charset of the current user gets set ... greets, Bernhard From olivier.dobberkau at dkd.de Sat Sep 3 19:58:43 2005 From: olivier.dobberkau at dkd.de (Olivier Dobberkau) Date: Sat, 3 Sep 2005 19:58:43 +0200 Subject: [Typo3-dev] T3 Charset References: Message-ID: Bernhard Kraft wrote: > Do you think we shall simply define utf-8 as the new standard for T3 > and drop all the efforts which have been made to support different > charsets or should really a default field "charset" get added to each > table in which each time the record gets stored the charset of the > current user gets set ... hi bernhaft, utf8 should be supported in typo3 version 4.0 as default. people upgrading from typo3 versions and using other charsets should get a note about it, that they should set the charset to their needed one. i am not sure if all problems with utf8 are resolved. especially the locallang.php vs locallang.xml in the older extensions. my two cents. olivier ps: i am still waiting for official zap the gremlins campaign... From mscharkow at gmx.net Sat Sep 3 21:14:17 2005 From: mscharkow at gmx.net (Michael Scharkow) Date: Sat, 03 Sep 2005 21:14:17 +0200 Subject: [Typo3-dev] [TYPO3-content-rendering] New and improved css_styled_imgtext In-Reply-To: References: Message-ID: Ernesto Baschny [cron IT] wrote: > We also could first try to thing to get this integrated into > css-styled-content, before we make the CORE-thingy. First off, congrats and thank you very much for the good work. It's really a step forward to making 4.0 produce consistently good code. Dumb question: Why is it not sufficient to have it in the next (4.0 default) CSC? What needs to be done in -core? Cheerio, Michael From saurabhnanda at gmail.com Sat Sep 3 21:24:42 2005 From: saurabhnanda at gmail.com (Saurabh Nanda) Date: Sun, 4 Sep 2005 00:54:42 +0530 Subject: [Typo3-dev] API functions/variables for uploading files Message-ID: Hi, I am writing a form (to be used in the frontend) which will allow the user to upload an image file (a logo). When the form is submitted, only the filename is available in $this->piVars array. From where can I access the uploaded file? Also, are there any API functions that can make this whole process easier? TIA Nandz. -- http://nandz.blogspot.com http://foodieforlife.blogspot.com From kraftb at kraftb.at Sat Sep 3 22:22:41 2005 From: kraftb at kraftb.at (Bernhard Kraft) Date: Sat, 03 Sep 2005 22:22:41 +0200 Subject: [Typo3-dev] API functions/variables for uploading files In-Reply-To: References: Message-ID: Saurabh Nanda wrote: > Hi, > > I am writing a form (to be used in the frontend) which will allow the > user to upload an image file (a logo). > > When the form is submitted, only the filename is available in > $this->piVars array. From where can I access the uploaded file? > > Also, are there any API functions that can make this whole process easier? The filename like it was named on the client-side and also the mimetype, again the temporary name and the size can be read from the superglobal PHP variable: $_FILES This is already handles in t3lib/class.t3lib_extfilefunc.php by the method: func_upload ... But AFAIK this is intended for BE usage ... Take it or leave it ... greets, Bernhard From typo3 at ingo-renner.com Sun Sep 4 03:26:18 2005 From: typo3 at ingo-renner.com (Ingo Renner) Date: Sun, 4 Sep 2005 03:26:18 +0200 Subject: [Typo3-dev] T3 Charset References: Message-ID: Am Sat, 3 Sep 2005 19:58:43 +0200 schrieb Olivier Dobberkau: Hi Bernhard, hi Olivier, > utf8 should be supported in typo3 version 4.0 as default. > > people upgrading from typo3 versions and using other charsets should get > a note about it, that they should set the charset to their needed one. +1 Ingo -- Use a newsreader! Check out http://typo3.org/community/mailing-lists/use-a-news-reader/ From sv at workhouse.dk Sun Sep 4 15:01:29 2005 From: sv at workhouse.dk (=?ISO-8859-1?Q?S=F8ren_Vedel?=) Date: Sun, 04 Sep 2005 10:01:29 -0300 Subject: [Typo3-dev] PHP syntax Message-ID: Good morning developers, I have made an extention with a dropdown-box and two choices. Now I want to assign the correct values to display in FE and not the numbers 0 and 1. Here goes my code: // Gives the correct values to the 'type': if ($this->getFieldContent("type")=0) { $this->getFieldContent("type") => "The first value" }; if ($this->getFieldContent("type")=1) { ($this->getFieldContent("type") => "The second value") }; but I get a parse error, unexpected '=' and I am very new to PHP syntax. Any suggestions? - S?ren From mailbox at gramba.net Sun Sep 4 15:37:58 2005 From: mailbox at gramba.net (Johannes Reichardt) Date: Sun, 04 Sep 2005 15:37:58 +0200 Subject: [Typo3-dev] PHP syntax In-Reply-To: References: Message-ID: Use "==" if you want to compare values and refer to the php mailinglist ;) > > // Gives the correct values to the 'type': > if ($this->getFieldContent("type")=0) { $this->getFieldContent("type") > => "The first value" > }; > if ($this->getFieldContent("type")=1) { > ($this->getFieldContent("type") => "The second value") > }; > > but I get a parse error, unexpected '=' and I am very new to PHP syntax. > > Any suggestions? > > - S?ren > _______________________________________________ > Typo3-dev mailing list > Typo3-dev at lists.netfielders.de > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev > From kraftb at gmx.net Sun Sep 4 15:25:43 2005 From: kraftb at gmx.net (Kraft Bernhard) Date: Sun, 04 Sep 2005 15:25:43 +0200 Subject: [Typo3-dev] PHP syntax In-Reply-To: References: Message-ID: S?ren Vedel wrote: > if ($this->getFieldContent("type")=1) { > ($this->getFieldContent("type") => "The second value") > }; don't hurt a PHP programmer ! mentally :) you can't assign function return value (which "$this->getFieldContent("type")" is) ... neither by using the = nor the => operator ... You can't even assign a normal variable using the => operator ... $test => 'foobar' : invalid !!! => is just used to assign an array-value to an array-key: $test = array( 'foor' => 'bar', ); ---------------------------------- I don't know who is outputting your and you have to have '; this will generate an tag ... that's the value which get's displayed in the select box ... you should retrieve those values by using $this->pi_getLL('label_1') or label_2 label_3 ... the keys 'label_1' must get defined in the pi1/locallang.php file ... so your extension also supports multiple languages ... greets, Bernhard -- ---------------------------------------------------------------------- "Freiheit ist immer auch die Freiheit des Andersdenkenden" Rosa Luxemburg, 1871 - 1919 ---------------------------------------------------------------------- From sv at workhouse.dk Sun Sep 4 15:28:05 2005 From: sv at workhouse.dk (=?ISO-8859-1?Q?S=F8ren_Vedel?=) Date: Sun, 04 Sep 2005 10:28:05 -0300 Subject: [Typo3-dev] PHP syntax In-Reply-To: References: Message-ID: Thanks, Where is the php mailinglist? Johannes Reichardt wrote: > Use "==" if you want to compare values and refer to the php mailinglist ;) -S?ren From sv at workhouse.dk Sun Sep 4 15:59:51 2005 From: sv at workhouse.dk (=?ISO-8859-1?Q?S=F8ren_Vedel?=) Date: Sun, 04 Sep 2005 10:59:51 -0300 Subject: [Typo3-dev] PHP syntax In-Reply-To: References: Message-ID: Kraft Bernhard wrote: > don't hurt a PHP programmer ! mentally :) I know it hurts to meet a newbee, but you seems to be patient ;-) > What most probably your problem is: > > Now I want to assign the correct values to display in FE and not the > numbers 0 and 1. Exactly! In pi1/locallang.php I have this: $LOCAL_LANG = Array ( "default" => Array ( "listFieldHeader_type" => "Type", "listFieldHeader_city" => "City", ... In locallang_db.php I have this: $LOCAL_LANG = Array ( "default" => Array ( "tx_telexadresses_filiaisfranquias" => "Filiais and Franquias", "tx_telexadresses_filiaisfranquias.type.I.0" => "Filiais", "tx_telexadresses_filiaisfranquias.type.I.1" => "Franquias", "tx_telexadresses_filiaisfranquias.type" => "Type", ... > you should retrieve those values by using $this->pi_getLL('label_1') or > label_2 label_3 ... > > the keys 'label_1' must get defined in the pi1/locallang.php file ... > > so your extension also supports multiple languages ... I know! I want to retrieve: "tx_telexadresses_filiaisfranquias.type.I.0" => "Filiais", when type is "0" and, "tx_telexadresses_filiaisfranquias.type.I.1" => "Franquias", when type is "1". When I output this in singleview: pi_classParam("singleView-HCell").'>

'.$this->getFieldHeader("type").'

'.$this->getFieldContent("type").'

I only get the "0" or the "1", but i need of course the "Filiais" and the "Franquias". I can't figure out how to use your suggestion? $this->pi_getLL('label_1') Like this $this->pi_getLL('type.I')? - S?ren From tapio.markula at dnainternet.net Sun Sep 4 16:11:52 2005 From: tapio.markula at dnainternet.net (tapio) Date: Sun, 04 Sep 2005 17:11:52 +0300 Subject: [Typo3-dev] A select menu menu of 'Quick Edit' Message-ID: Hi Typo3 has in the 'Quick Edit' mode a select-menu for selecting 'Edit page header' or individual content elements in the page. I would like this menu to 'alt_doc.php'. That could work even in FE editing but it would be fine in BE editing. For ordinary users that could make easier to edit pages. The select menu, which lists recenty edited record is sometimes useful, but in many situations the menu, which is availabe in the 'Quick Edit' mode would be much better. From zamiams at hotmail.com Sun Sep 4 16:16:01 2005 From: zamiams at hotmail.com (=?ISO-8859-1?Q?Lasse_N=F8rby?=) Date: Sun, 04 Sep 2005 16:16:01 +0200 Subject: [Typo3-dev] Javascript me please! Message-ID: Hi guys! I'm trying to develop a new ext.. I need help :) I want an IMG, expand.gif, to change to collapse.gif when the user clicks it, and then change back to expand.gif when clicked again. How do i do this?? I guess it's something like: onclick="myFunction()", but it's the myFunction part I can't see through. Please excuse my ignorence, but I am no programmer, and all I can do is the most basic javascripts like mouseovers etc. Thank you! Lasse N?rby From kraftb at gmx.net Sun Sep 4 16:21:52 2005 From: kraftb at gmx.net (Kraft Bernhard) Date: Sun, 04 Sep 2005 16:21:52 +0200 Subject: [Typo3-dev] PHP syntax In-Reply-To: References: Message-ID: S?ren Vedel wrote: > In pi1/locallang.php I have this: > > $LOCAL_LANG = Array ( > "default" => Array ( > "listFieldHeader_type" => "Type", > "listFieldHeader_city" => "City", > ... > > > In locallang_db.php I have this: > > $LOCAL_LANG = Array ( > "default" => Array ( > "tx_telexadresses_filiaisfranquias" => "Filiais and Franquias", > "tx_telexadresses_filiaisfranquias.type.I.0" => "Filiais", > "tx_telexadresses_filiaisfranquias.type.I.1" => "Franquias", > "tx_telexadresses_filiaisfranquias.type" => "Type", > ... > >> you should retrieve those values by using $this->pi_getLL('label_1') >> or label_2 label_3 ... >> >> the keys 'label_1' must get defined in the pi1/locallang.php file ... >> >> so your extension also supports multiple languages ... > > I know! > > I want to retrieve: > "tx_telexadresses_filiaisfranquias.type.I.0" => "Filiais", > when type is "0" and, > "tx_telexadresses_filiaisfranquias.type.I.1" => "Franquias", > when type is "1". > > When I output this in singleview: > > >

'.$this->getFieldContent("type").'

> Either you do:

'.$this->pi_getLL('tx_telexadresses_filiaisfranquaias.type.I.'.$this->getFieldContent("type")).'

Or you insert the following code into the "switch" statement of the method "getFieldContent" then getFieldContent('type') will return the correct value directly: ---------------- switch ($field) { ... case 'type': return $this->pi_getLL('tx_telexadresses_filiaisfranquaias.type.I.'.$this->internal['currentRow']['type']); .... } --------------- But for both of those you will have to add (copy): > "tx_telexadresses_filiaisfranquias.type.I.0" => "Filiais", > "tx_telexadresses_filiaisfranquias.type.I.1" => "Franquias", from: my_ext/locallang_db.php to: my_ext/pi1/locallang.php It would also be possible by including the my_ext/locallang_db.php directly but this is rather complicated than just copying the lines ... and I think you prefer the simple solution :) greets, Bernhard -- ---------------------------------------------------------------------- "Freiheit ist immer auch die Freiheit des Andersdenkenden" Rosa Luxemburg, 1871 - 1919 ---------------------------------------------------------------------- From kraftb at gmx.net Sun Sep 4 16:31:54 2005 From: kraftb at gmx.net (Kraft Bernhard) Date: Sun, 04 Sep 2005 16:31:54 +0200 Subject: [Typo3-dev] Javascript me please! In-Reply-To: References: Message-ID: You should note that this is OffTopic .... Javascript questions should go to specific forums or newsgroups/mailinglists ... there are a log on the net ... And I can't believe that you searched with google and didn't find a javascript which replaces an image back and forth when it is clicked ... but still ... here is the answer : Lasse N?rby wrote: > I want an IMG, expand.gif, to change to collapse.gif when the user > clicks it, and then change back to expand.gif when clicked again. > How do i do this?? I guess it's something like: onclick="myFunction()", > but it's the myFunction part I can't see through. > Please excuse my ignorence, but I am no programmer, and all I can do is > the most basic javascripts like mouseovers etc. Simply do the same as you do in "onMouseOver" and "onMouseOut" method in the "onClick" method: replacing an image. Decide which image to insert by checking the actual value of the image: if (document....img.src=="img1.gif") { document.....img.src = "img2.gif"; } else { document.....img.src = "img1.gif"; } greets, Bernhard -- ---------------------------------------------------------------------- "Freiheit ist immer auch die Freiheit des Andersdenkenden" Rosa Luxemburg, 1871 - 1919 ---------------------------------------------------------------------- From zamiams at hotmail.com Sun Sep 4 16:36:28 2005 From: zamiams at hotmail.com (=?ISO-8859-1?Q?Lasse_N=F8rby?=) Date: Sun, 04 Sep 2005 16:36:28 +0200 Subject: [Typo3-dev] Javascript me please! In-Reply-To: References: Message-ID: Hmm.. Very sorry.. I searched google, and got a lot of hits, but no answer. Maybe I used the wrong words eh? Anyways thank you very much for your answer! Will see if I'm wise enough to make any sense of it.. Have a nice day ;) Kraft Bernhard wrote: > You should note that this is OffTopic .... Javascript questions should > go to specific > forums or newsgroups/mailinglists ... there are a log on the net ... > And I can't believe that you searched with google and didn't find a > javascript which > replaces an image back and forth when it is clicked ... > > but still ... here is the answer : > > > Lasse N?rby wrote: > >> I want an IMG, expand.gif, to change to collapse.gif when the user >> clicks it, and then change back to expand.gif when clicked again. >> How do i do this?? I guess it's something like: >> onclick="myFunction()", but it's the myFunction part I can't see through. >> Please excuse my ignorence, but I am no programmer, and all I can do >> is the most basic javascripts like mouseovers etc. > > > Simply do the same as you do in "onMouseOver" and "onMouseOut" method in > the > "onClick" method: replacing an image. > > Decide which image to insert by checking the actual value of the image: > if (document....img.src=="img1.gif") { > document.....img.src = "img2.gif"; > } else { > document.....img.src = "img1.gif"; > } > > > greets, > Bernhard From olivier.dobberkau at dkd.de Sun Sep 4 16:52:26 2005 From: olivier.dobberkau at dkd.de (Olivier Dobberkau) Date: Sun, 4 Sep 2005 16:52:26 +0200 Subject: [Typo3-dev] Javascript me please! References: Message-ID: Lasse N?rby wrote: > Hmm.. Very sorry.. > I searched google, and got a lot of hits, but no answer. Maybe I used > the wrong words eh? > Anyways thank you very much for your answer! Will see if I'm wise > enough to make any sense of it.. > Have a nice day ;) look at the code of irfaq. http://typo3.org/extensions/repository/search/irfaq/ olivier From sv at workhouse.dk Sun Sep 4 17:55:27 2005 From: sv at workhouse.dk (=?ISO-8859-1?Q?S=F8ren_Vedel?=) Date: Sun, 04 Sep 2005 12:55:27 -0300 Subject: [Typo3-dev] PHP syntax In-Reply-To: References: Message-ID: I'm getting closer and understand better now - a little... Kraft Bernhard wrote: > Or you insert the following code into the "switch" statement of the > method "getFieldContent" > then getFieldContent('type') will return the correct value directly: > ---------------- > switch ($field) { > ... > > case 'type': > return > $this->pi_getLL('tx_telexadresses_filiaisfranquaias.type.I.'.$this->internal['currentRow']['type']); > I chose the "switch" way. I copied from: my_ext/locallang_db.php to: my_ext/pi1/locallang.php Now my_ext/pi1/locallang.php is like this: ------------------- $LOCAL_LANG = Array ( "default" => Array ( "listFieldHeader_type" => "Type", "tx_telexadresses_filiaisfranquias.type.I.0" => "Filiais", "tx_telexadresses_filiaisfranquias.type.I.1" => "Franquias", "listFieldHeader_city" => "City", "listFieldHeader_state" => "State", ... ------------------- And my my_ext/pi1/class.tx_telexadresses_pi1.php is like this: ------------------- function getFieldContent($fN) { switch($fN) { case "type": return $this->pi_getLL('tx_telexadresses_filiaisfranquaias.type.I.'.$this->internal["currentRow"]["type"]); break; ... ------------------- Now I get nothing in the output? Still missing something... > > It would also be possible by including the my_ext/locallang_db.php > directly but this is rather > complicated than just copying the lines ... and I think you prefer the > simple solution :) I take the simple solution for now, but I would prefer to take the value from my_ext/locallang_db.php directly, since it already has been defined here. It seems more correct to me. - S?ren From kraftb at gmx.net Sun Sep 4 18:07:27 2005 From: kraftb at gmx.net (Kraft Bernhard) Date: Sun, 04 Sep 2005 18:07:27 +0200 Subject: [Typo3-dev] PHP syntax In-Reply-To: References: Message-ID: S?ren Vedel wrote: > Now I get nothing in the output? Try to clear both caches (red and blue button) ... greets, Bernhard -- ---------------------------------------------------------------------- "Freiheit ist immer auch die Freiheit des Andersdenkenden" Rosa Luxemburg, 1871 - 1919 ---------------------------------------------------------------------- From tapio.markula at dnainternet.net Sun Sep 4 19:30:21 2005 From: tapio.markula at dnainternet.net (tapio) Date: Sun, 04 Sep 2005 20:30:21 +0300 Subject: [Typo3-dev] Javascript me please! In-Reply-To: References: Message-ID: Lasse N?rby wrote: > Hi guys! > I'm trying to develop a new ext.. I need help :) > > I want an IMG, expand.gif, to change to collapse.gif when the user > clicks it, and then change back to expand.gif when clicked again. > How do i do this?? I guess it's something like: onclick="myFunction()", > but it's the myFunction part I can't see through. > Please excuse my ignorence, but I am no programmer, and all I can do is > the most basic javascripts like mouseovers etc. I don't understand where you would need it except in the tree. In fact it would be nice there. Now +/- just reloads the entire page, which is not reasonable. Instead of Corresponding JavaScript could be reasonable. From joerg.schoppet at web.de Sun Sep 4 19:53:57 2005 From: joerg.schoppet at web.de (derjoerg) Date: Sun, 04 Sep 2005 19:53:57 +0200 Subject: [Typo3-dev] Bugdiscussion: 0000815 Message-ID: Hi list, in the mid of february this year I opened bug 0000815 about a problem with the TYPO3-cli mode. It's still in state 'new' and the new typo3-release 3.8.0 doesn't resolve the problem. So I want to ask the community what they think about the problem and the solution and the bugtracker-team how I can help to implement this an probably other bugs? Regards Joerg Schoppet From sv at workhouse.dk Sun Sep 4 20:41:17 2005 From: sv at workhouse.dk (=?ISO-8859-1?Q?S=F8ren_Vedel?=) Date: Sun, 04 Sep 2005 15:41:17 -0300 Subject: [Typo3-dev] PHP syntax In-Reply-To: References: Message-ID: Kraft Bernhard wrote: > Try to clear both caches (red and blue button) ... I have cleared both caches... Still I get nothing from the 'type' field: case 'type': return $this->pi_getLL('tx_telexadresses_filiaisfranquaias.type.I.'.$this->internal['currentRow']['type']); Other ideas? From typo3 at fm-world.ru Mon Sep 5 09:11:54 2005 From: typo3 at fm-world.ru (Dmitry Dulepov) Date: Mon, 05 Sep 2005 10:11:54 +0300 Subject: [Typo3-dev] Harry Potter 5 In-Reply-To: References: Message-ID: Hi! I am really sorry, this was ment to a different address. Dmitry. Dmitry Dulepov wrote: > ???????? ?? ?????? ? ???? ????? > http://www.mugglenet.com/wallpapers/wp-gofr.shtml From schwarzkopf.no.spam at artplan21.de Mon Sep 5 09:49:24 2005 From: schwarzkopf.no.spam at artplan21.de (Andreas Schwarzkopf) Date: Mon, 05 Sep 2005 09:49:24 +0200 Subject: [Typo3-dev] [TYPO3-content-rendering] New and improved css_styled_imgtext In-Reply-To: References: Message-ID: Hi Ernesto, Ernesto Baschny [cron IT] schrieb: > As a basis I took the current css_styled_imgtext and the result was this: > > http://typo3.org/extensions/repository/new/cron_cssstyledimgtext/ Good work, Ernesto. Congratulations! > You might thing "o-wheee", yet another extention for the same stuff. > Well, I just didn't want to discuss it while I hadn't something to show. > Who is currently responsible for the css_styled_imgtext and most > importantly: for the css_styled_content and the content rendering in > general in TYPO3-core? See later for my thoughts about the future of this. I am currently the maintainer of this extension, though I could not contribute so much yet. > We also could first try to thing to get this integrated into > css-styled-content, before we make the CORE-thingy. It should be integrated in css-styled-content after some testing and playing around with it. grtx Andreas From typo3 at ingo-renner.com Mon Sep 5 10:53:16 2005 From: typo3 at ingo-renner.com (Ingo Renner) Date: Mon, 5 Sep 2005 10:53:16 +0200 Subject: [Typo3-dev] [TYPO3-content-rendering] New and improved css_styled_imgtext References: Message-ID: Am Mon, 05 Sep 2005 09:49:24 +0200 schrieb Andreas Schwarzkopf: Hi Andreas, > It should be integrated in css-styled-content after some testing and > playing around with it. ACK, or at least css_styled_imgtext Ingo -- Use a newsreader! Check out http://typo3.org/community/mailing-lists/use-a-news-reader/ From matthibcn at gmail.com Mon Sep 5 12:58:39 2005 From: matthibcn at gmail.com (matthi) Date: Mon, 05 Sep 2005 12:58:39 +0200 Subject: [Typo3-dev] Alternative templates - general record storage page PROBELM Message-ID: Hello, hopefuly this belongs to the devslist and not to the general english one.. I have just noticed, as I had the need for an altrnative template using TV for some of my pages, that in the case a page has a "general storage page folder" assigned to it in the page header you dont get the "Page Template Structure:" and "Subpages - Page Template Structure:" fields in the BE filled with the "normaly" available templates as they stay empty as long as this "storage folder" is choosen... There are several plugins out there, as in my case, the sr_feuser.. that requires a general storage folder page setup to work correctly and lucky you, if this pages and their subpages share the same template as the rootpage... Well, actually there is the possibility to kick the storage folder out of the page header, to select THEN an alternative template followed by a reselcetion of the earlier kicked storagefolder and the FE comes in the desired fashion, even if you get an ugly message in the BE complaining about this "dirty hack"... Is there something I have overseen ? I don?t think we can call that a "bug" as it works like "wanted", cause it looks like TV looks in the storagefolder of a given page, and if there is nothing it can work with....i just wonder if noone else had a need for that before, but I can?t find anything about this Best regards Matthias Oesterle From chibo at gmx.de Mon Sep 5 13:12:04 2005 From: chibo at gmx.de (Chi Hoang) Date: Mon, 05 Sep 2005 13:12:04 +0200 Subject: [Typo3-dev] Alternative templates - general record storage page PROBELM In-Reply-To: References: Message-ID: matthi schrieb: > I have just noticed, as I had the need for an altrnative template using > TV for some of my pages, that in the case a page has a "general storage > page folder" assigned to it in the page header you dont get the "Page > Template Structure:" and "Subpages - Page Template Structure:" fields in > the BE filled with the "normaly" available templates as they stay empty > as long as this "storage folder" is choosen... Hello Matthi, I have had the same problem just assign 1 general storage page folder to your root-page. Then put all other storage folder in this folder and you are done. Greets, Chi From matthibcn at gmail.com Mon Sep 5 13:29:58 2005 From: matthibcn at gmail.com (matthi) Date: Mon, 05 Sep 2005 13:29:58 +0200 Subject: [Typo3-dev] Alternative templates - general record storage page PROBELM In-Reply-To: References: Message-ID: Chi Hoang wrote: > > Hello Matthi, > > I have had the same problem just assign 1 general storage page folder to > your root-page. Then put all other storage folder in this folder and you > are done. > > Greets, > > Chi Hi Chi, I have tried that before, also I have just put in the userStorageFolder in the TVstorageFolder and as you suggested put in both in a mainStorageFolder, neither of them works for me so: -Home* --First --Second --User** -TVStorgage* --UserStorage** or -Home* --First --Second --User** -MainStorgage* --TVStorgage --UserStorage** Neither works for me.. Regards Matthias Oesterle P.S. i can perfectly live with the "[Invalid value...]" stuff, as this isnt a daily task one would has to do..assigning alternatives templates to a given page...but it could be something to put on the wishlist for the further development of TV I think From karsten at typo3.org Mon Sep 5 13:46:44 2005 From: karsten at typo3.org (Karsten Dambekalns) Date: Mon, 05 Sep 2005 13:46:44 +0200 Subject: [Typo3-dev] [TYPO3-content-rendering] New and improved css_styled_imgtext References: Message-ID: Hi Ben! ben van 't ende [netcreators] wrote: > One more thing ;-) This Page Is Valid XHTML 1.0 Strict! Yes, but the CSS throws errors... ;) Karsten -- Karsten Dambekalns TYPO3 Association - Active Member http://association.typo3.org/ From karsten at typo3.org Mon Sep 5 14:02:11 2005 From: karsten at typo3.org (Karsten Dambekalns) Date: Mon, 05 Sep 2005 14:02:11 +0200 Subject: [Typo3-dev] [TYPO3-content-rendering] New and improved css_styled_imgtext References: Message-ID: Ernesto Baschny [cron IT] wrote: > Hi! > > After scanning through the "content-rendering" mailing list looking for > a solution and a "working" css-styled-imgtext all I found was a lot of > (sometimes heated! :) ) discussion and no real solution. > > That's why I sat down and thought about the problem and tried to solve it. Yay! Thanks a lot. > I confess I developed these just on IE6 and Firefox, but I can see that > it also works on Opera now. The CSS might still need some tweaking, but > hey, I think this is a step forward. Definitely. I just checked your example page in Firefox 1.0.6, Opera 8.0, Konqueror 3.3.2 and MSIE 6.0 SP 1 on Linux and had no problems with the rendering. Whatever needs to be tweaked, it cannot be too much. :) > So now we have this, I would like to talk to people that actually have > access to TYPO3-core or css_styled_content: Core, that's me. :) Although I think we should start with your next suggestion: > We also could first try to thing to get this integrated into > css-styled-content, before we make the CORE-thingy. Definitely. Integrate it with that extension, write upgrade instructions if needed, and let people check that. Whatever we may do to the default rendering methods in the core, will be decided later. The world needs this faster. :) Karsten -- Karsten Dambekalns TYPO3 Association - Active Member http://association.typo3.org/ From tapio.markula at dnainternet.net Mon Sep 5 14:18:28 2005 From: tapio.markula at dnainternet.net (tapio) Date: Mon, 05 Sep 2005 15:18:28 +0300 Subject: [Typo3-dev] Problem with Kickstarter for Typo3 3.8.0 Message-ID: Hi The default installation of kicstarter cause *always* invalid temporary ext_localconf cashe files! I must take off 'kickstarter' from /ext/ folder and install it into /typo3localconf/. Have someone else found this problem? From fiberpunk at super-fi.net Mon Sep 5 14:41:32 2005 From: fiberpunk at super-fi.net (Christoph Hofer) Date: Mon, 05 Sep 2005 14:41:32 +0200 Subject: [Typo3-dev] where to get PID in tca.php? Message-ID: hello! what is the proper way to gain the PID for a record being edited or created in tca.php? you can extract it from the returnUrl= string, but that is not too pretty, is it. ;) i would guess/hope that there is some variable hiding in the woods, alas i could't find it anywhere. any input would be great. :) thanks .christoph From bordeaux at rz.tu-clausthal.de Mon Sep 5 15:13:18 2005 From: bordeaux at rz.tu-clausthal.de (Jens Bordeaux) Date: Mon, 05 Sep 2005 15:13:18 +0200 Subject: [Typo3-dev] Typo3-Dienstleister gesucht Message-ID: Hallo! Das Rechenzentrum der TU Clausthal sucht Typo3 Dienstleister. Ben?tigte Dienstleistungen: * Beratung, Schulung, Support von Hochschulangeh?rigen in dem f?r die TU Clausthal angepassten Typo3-System * Entwicklung von Extensions Voraussetzung * Erf?llungsort f?r alle Dienstleistungen: D-38678 Clausthal-Zellerfeld Die Abrechnung der Dienstleistungen erfolgt sinnigerweise auf Stundenbasis (wie unerwartet ;-) daher bitte keine Pauschalangebote mit fiktiven fixen Stundenzahlen/Monat sondern ein Angebot mit Angabe von Stundenpreisen. Angebotsabgabe bis zum 12. September 2005 Angebote per E-Mail bitte an cms at tu-clausthal.de Angebote per Post bitte an Rechenzentrum der TU Clausthal Jens Bordeaux Erzstra?e 51 D-38678 Clausthal-Zellerfeld Viele Dank! Jens Bordeaux From mscharkow at gmx.net Mon Sep 5 16:32:44 2005 From: mscharkow at gmx.net (Michael Scharkow) Date: Mon, 05 Sep 2005 16:32:44 +0200 Subject: [Typo3-dev] Typo3-Dienstleister gesucht In-Reply-To: References: Message-ID: This is an English-*only* list and you did already post in -german. If you think your offer applies to none-English speaking people, feel free to post it in English in -english, as this is clearly not dev-related. From Martin.Kutschker at n0spam-blackbox.net Tue Sep 6 09:52:35 2005 From: Martin.Kutschker at n0spam-blackbox.net (Martin Kutschker) Date: Tue, 06 Sep 2005 09:52:35 +0200 Subject: [Typo3-dev] T3 Charset In-Reply-To: References: Message-ID: Ingo Renner schrieb: > Am Sat, 3 Sep 2005 19:58:43 +0200 schrieb Olivier Dobberkau: > > Hi Bernhard, hi Olivier, > > >>utf8 should be supported in typo3 version 4.0 as default. >> >>people upgrading from typo3 versions and using other charsets should get >>a note about it, that they should set the charset to their needed one. > > +1 Yep. A note is sufficient. I don't think it's necessary to force UTF-8 upon everyone. Besides migration an existing installation to UTF-8 might be possible automated, but could lead to data corruption (more converted than necessary, or things left out that should be converted). Masi From ernst at cron-it.de Tue Sep 6 11:15:47 2005 From: ernst at cron-it.de (Ernesto Baschny [cron IT]) Date: Tue, 06 Sep 2005 11:15:47 +0200 Subject: [Typo3-dev] [TYPO3-content-rendering] New and improved css_styled_imgtext In-Reply-To: References: Message-ID: Ernesto Baschny [cron IT] schrieb am 02.09.2005 19:54: > That's why I sat down and thought about the problem and tried to solve it. Thanks a lot people for the nice words! Let me try to address all points rised so far in one email: Sponsoring: Yes, you might sponsor the further development of this, of course. It motivates me, it motives my employer to keep me on this project and it motivates you "get what you asked for". I'll send you the details by private emails. CSS-validation: Yes, there is a CSS-validation bug: "//" is not a valid comment starter. Will be corrected in the next release. CSS in general: I am glad that it turns out to work on most browsers. And a bit surprised, to be honest. I tried to "keep it simple", maybe that was the reason it works. CSS with MacOS-IE: About MacOS-IE I say "ouuuuuuchhh". Meaning: yeah, it sucks. I haven't got PearPC working on my PC yet so I cannot install or test with MacOS. Stefan said the "INTEXT left", which can only be http://www.typo3-anbieter.de/de/csi/#948, "it actually does 2cols". Well, if this is really the case, fine, because 2-cols is what I wanted to do there! :) In the content object I selected "Columns: 2" in this element. The "Just Images", which probably is this http://www.typo3-anbieter.de/de/csi/more/#953 I cannot explain why the images are in one column. Stefan, can you send me a screenshot, so I can maybe figure out what was happening? CSS in IE: The calculation of width for the whole images to wrap are based on a working box-model, which IE is known not to master in "quirks" mode. So you have to keep your XHTML compliant, else there might be some empty spots in an image gallery (ok, should happen very rarely...) Equal-Height: Noone has noticed, but "equalheight" in my extention renders different than "equalheight" with the table-based solution. The original rendering respects the "columns" chosen by the user. In my CSS based solution if you choose "equal height", you get as many images as you can in one row, all having equal height. It looks nicer, in my opinion. ;) I've created a copy of my test pages without my extention, so we can compare the results against what IMGTEXT does with TABLEs: http://www.typo3-anbieter.de/de/csi/ vs. http://www.typo3-anbieter.de/de/no-csi/ notice on the "fancy stuff" (/more/) page, the "Just Images" block. In the table-based, I chose 4-columns. Documentation: Yes, of course I will, as soon the code is "clean" :) Original TABLE-rendering: It should work, if you set "table" as rendering, in that it simply passes everything to the original IMGTEXT function. Not sure if the TypoScript in tt_content.xxxx is the same thou as the original content(default), but it should be very similar. About changes in the core or CSC: My vision was to have a flexible IMGTEXT cObject. With our extentions, we only change the behaviour of the rendering of tt_content.textpic and tt_content.images. What if the user wants to use the IMGTEXT somewhere else? Why shouldn't he just use an IMGTEXT and specify ".renderMethod = ...." which will be provided by some extention? The current table-based rendering could be "just another renderer", I don't see a real reason for it to be so hard-coded in the CORE. BTW the same goes for all other cObjects. E.g. FORM, etc. Its a huge amount of core, and if you just want to change one line in an extention, you will have to XCLASS the cObj, duplicate the whole function in question and change the one line. Not very future-proof. I would rather have a whole lot more hooks in these classes, but in a form that the user can choose the hook to use via TypoScript. Integration into CSC: I'm ok with integrating this into CSC as a "second step", after the extention has been tested and proved itself useful by the community. New features: I've already got some new feature requests, I will address them one by one. Keep 'em coming! Cheers, Ernesto From info at cybercraft.de Tue Sep 6 11:55:16 2005 From: info at cybercraft.de (JoH) Date: Tue, 6 Sep 2005 11:55:16 +0200 Subject: [Typo3-dev] [TYPO3-content-rendering] New and improved css_styled_imgtext References: Message-ID: > CSS in general: I am glad that it turns out to work on most browsers. > And a bit surprised, to be honest. I tried to "keep it simple", maybe > that was the reason it works. A minor bug is that there are things like "width:px;" without any value in the output. Maybe there is something missing in your width calculator. > CSS with MacOS-IE: About MacOS-IE I say "ouuuuuuchhh". Meaning: yeah, > it sucks. I haven't got PearPC working on my PC yet so I cannot > install or test with MacOS. But it is possible to create a crossbrowser output that will work in MacOs-IE too. We already did something like that and it worked perfectly fine. Maybe you have to reconsider the CSS concept. > Stefan said the "INTEXT left", which can > only be http://www.typo3-anbieter.de/de/csi/#948, "it actually does > 2cols". Well, if this is really the case, fine, because 2-cols is > what I wanted to do there! :) In the content object I selected > "Columns: 2" in this element. The problem is that the position of this element is too high. It covers a part of the element above which might be looking nice in this case but is not the desired result. Each element has it's own div container and there should be no part of other elements overlapping this container. > The "Just Images", which probably is > this http://www.typo3-anbieter.de/de/csi/more/#953 I cannot explain > why the images are in one column. See -> minor bug Without any values for the width, the floated elements will be larger than expected. > CSS in IE: The calculation of width for the whole images to wrap are > based on a working box-model, which IE is known not to master in > "quirks" mode. You could easily solve that problem like this: Define the width and/or margins in one box while defining padding and/or borders in another box that has no value for width. > Equal-Height: Noone has noticed, but "equalheight" in my extention > renders different than "equalheight" with the table-based solution. > The original rendering respects the "columns" chosen by the user. In > my CSS based solution if you choose "equal height", you get as many > images as you can in one row, all having equal height. not sure if this is a good solution. At least there should be a TypoScript-switch to enable your "modified" behaviour that is set to "off" as a default value to keep backwards compatibility. > E.g. FORM, etc. Its a huge amount of core, and if you just want to > change one line in an extention, you will have to XCLASS the cObj, > duplicate the whole function in question and change the one line. Not > very future-proof. I would rather have a whole lot more hooks in > these classes, but in a form that the user can choose the hook to use > via TypoScript. Ever heard of this cute little thingie called stdWrap? In most of the cases you don't need a hook but a simple stdWrap to acchieve the desired result. The problem is that in most extensions stdWrap is not fully implemented but just wrapping things. So something like this (which in fact is nothing but a "TypoScript based hook" ) whatever_feature.postUserFunc = blah or whatever_feature.preUserFunc = blah is not working. Just be sure to implement stdWrap for every single element of your extension and you've been providing a perfect hook. > Integration into CSC: I'm ok with integrating this into CSC as a > "second step", after the extention has been tested and proved itself > useful by the community. Well - it is already very useful but needs at least some bugfixing to be implemented into CSC. Keep up the good work and let me know if you need some additional input by PM and/or skype. Joey -- Wenn man keine Ahnung hat: Einfach mal Fresse halten! (If you have no clues: simply shut your knob sometimes!) Dieter Nuhr, German comedian openBC: http://www.openbc.com/go/invuid/Jo_Hasenau From kraftb at gmx.net Tue Sep 6 13:20:09 2005 From: kraftb at gmx.net (Kraft Bernhard) Date: Tue, 06 Sep 2005 13:20:09 +0200 Subject: [Typo3-dev] where to get PID in tca.php? In-Reply-To: References: Message-ID: Christoph Hofer wrote: > hello! > > what is the proper way to gain the PID for a record being edited or > created in tca.php? you can extract it from the returnUrl= string, but > that is not too pretty, is it. ;) In tca.php there aren't any records created nor deleted and not edited. tca.php is just a "description" file describing your tables in php so TYPO3 understands what the fields in each table represent. If you mean by "for a record being edited or created" the Record-Editing Screen of Typo3 (alt_doc.php) then you should know that all record-processing is done in t3lib/class.t3lib_tcemain.php. TCE is a class used for inserting,editing and deleting records ...It is well documented in the TYPO3 Core API docs: http://typo3.org/documentation/document-library/doc_core_api/Introduction-063c07c172/ You can "hook" into this class and let your own classes perform taska whenever soemthing gets done with a record ... hope this helps, Bernhard -- Kraft Bernhard MOKKA Medienagentur T: +43 - 1 - 895 33 33 - 50 From schwarzkopf.no.spam at artplan21.de Tue Sep 6 13:58:31 2005 From: schwarzkopf.no.spam at artplan21.de (Andreas Schwarzkopf) Date: Tue, 06 Sep 2005 13:58:31 +0200 Subject: [Typo3-dev] where to get PID in tca.php? In-Reply-To: References: Message-ID: Hi Christoph, may be I am wrong, but look at http://typo3.org/documentation/document-library/doc_core_api/columns_fieldnam-5/ -> foreign_table_where -> ###CURRENT_PID### Is it what you mean? hth grtx Andreas Christoph Hofer schrieb: > what is the proper way to gain the PID for a record being edited or > created in tca.php? you can extract it from the returnUrl= string, but > that is not too pretty, is it. ;) From kraftb at gmx.net Tue Sep 6 14:42:32 2005 From: kraftb at gmx.net (Kraft Bernhard) Date: Tue, 06 Sep 2005 14:42:32 +0200 Subject: [Typo3-dev] T3 Charset In-Reply-To: References: Message-ID: Martin Kutschker wrote: > Yep. A note is sufficient. So utf-8 as default (in forceCharset?) and a note after log-in that forceCharset was set to utf-8 and shall be disabled when necessary. > Besides migration an existing installation to UTF-8 might be possible > automated, but could lead to data corruption (more converted than > necessary, or things left out that should be converted). I think migration would be too complicated. I migrated 2 sites and in both of them there were some "small" parts which I forgot to migrate on the first try and did later on ... i.E. templates for newsletter, subscriptions, etc. ... explicitly all text-files stored on disc (also outsourced TS) greets, Bernhard -- Kraft Bernhard MOKKA Medienagentur T: +43 - 1 - 895 33 33 - 50 From Martin.Kutschker at n0spam-blackbox.net Tue Sep 6 15:29:40 2005 From: Martin.Kutschker at n0spam-blackbox.net (Martin Kutschker) Date: Tue, 06 Sep 2005 15:29:40 +0200 Subject: [Typo3-dev] T3 Charset In-Reply-To: References: Message-ID: Kraft Bernhard schrieb: > Martin Kutschker wrote: > >> Yep. A note is sufficient. > > So utf-8 as default (in forceCharset?) and a note after log-in that > forceCharset was set to > utf-8 and shall be disabled when necessary. I see no point in defaulting to UTF-8. How does the default distinguish between a new and an extsing installation. Possible "solution": setting the charset could be part of the 1-2-3 installation. >> Besides migration an existing installation to UTF-8 might be possible >> automated, but could lead to data corruption (more converted than >> necessary, or things left out that should be converted). > > I think migration would be too complicated. I migrated 2 sites and in > both of them there were some > "small" parts which I forgot to migrate on the first try and did later > on ... i.E. templates for newsletter, > subscriptions, etc. ... explicitly all text-files stored on disc (also > outsourced TS) Yes, that's why TYPO3 should not default to ANY charset. The Admin must set it. Masi From kraftb at gmx.net Tue Sep 6 15:47:56 2005 From: kraftb at gmx.net (Kraft Bernhard) Date: Tue, 06 Sep 2005 15:47:56 +0200 Subject: [Typo3-dev] T3 Charset In-Reply-To: References: Message-ID: Martin Kutschker wrote: > Yes, that's why TYPO3 should not default to ANY charset. The Admin must > set it. But if you let each record be in a specific charset (like it is now when you have not set forceCharset but have Users with different Language settings) then you must admit that it would be necessary to store the charset with the record together in the table. If TYPO3 get's instructed to display the page in 8859-2 for example how can it ensure that everything it prints out really IS 8859-2 .... it would need to convert all non 8859-2 pages/Content elements/whatever to the requested charset first ... But I will talk to you about that during the next TUGA meeting in detail ... hope to see you there ... I think it is just to difficult to explain exactly what I mean in such short mails ... greets, Bernhard -- Kraft Bernhard MOKKA Medienagentur T: +43 - 1 - 895 33 33 - 50 From dan at danfrost.co.uk Tue Sep 6 15:50:21 2005 From: dan at danfrost.co.uk (dan frost) Date: Tue, 06 Sep 2005 14:50:21 +0100 Subject: [Typo3-dev] impexp: mapping imported records to specific uids Message-ID: Hello can anyone think of (/tell me) how i can use tx_impexp.php in the impexp extension and tell it what the new uids should be? For example, say my original uid is 123, but I want this to be used to update record 234 - somehow I need to provide a mapping for it. I need to do this to make sure that uids in the databse *never* change one content is imported. Anyway, if i work it out first i'll post the solution dan From intsys at swissinfo.org Tue Sep 6 23:39:45 2005 From: intsys at swissinfo.org (Stefan Beylen) Date: Tue, 06 Sep 2005 23:39:45 +0200 Subject: [Typo3-dev] GTMENU Message-ID: Hello list, I like to publish the code that I wrote to generate a menu like you can see here: http://www.sbmp.at/?1 Looks like a usual GMENU but isnt...disable the styles an you will see that its actually a TMENU...nice for searchengines I guess... at the moment its a usual GMENU with an IProcFunc that renders the styles and returns the links, nothing big. Anyway, I promised that I will make an EXT so everyone without programming skills can use it. My original idea was it to add a new menutype called GTMENU (graphical text menu) which does the same (and has the same options as GMENU) but renders the graphics as styles as my IProc does...but I got no clue how to extend Typoscript... So my questions are: anyone an idea what the best way is to realize that extension? I want it as easy as possible for the user to install it, and imho the easiest would be to add a T between G and MENU... thx for helping! p.s.: as you can also see the headlines are also rendered as styles...with a preUserFunc...that would be next on the list to implement... From bedlamhotel at gmail.com Wed Sep 7 00:12:12 2005 From: bedlamhotel at gmail.com (Christopher) Date: Tue, 6 Sep 2005 15:12:12 -0700 Subject: [Typo3-dev] GTMENU In-Reply-To: References: Message-ID: Hi Stefan, On 06/09/05, Stefan Beylen wrote: > Hello list, > > I like to publish the code that I wrote to generate a menu like you can > see here: http://www.sbmp.at/?1 > Looks like a usual GMENU but isnt...disable the styles an you will see > that its actually a TMENU...nice for searchengines I guess... > > at the moment its a usual GMENU with an IProcFunc that renders the > styles and returns the links, nothing big. > Anyway, I promised that I will make an EXT so everyone without > programming skills can use it. > > My original idea was it to add a new menutype called GTMENU (graphical > text menu) which does the same (and has the same options as GMENU) but > renders the graphics as styles as my IProc does...but I got no clue how > to extend Typoscript... > > So my questions are: anyone an idea what the best way is to realize that > extension? I want it as easy as possible for the user to install it, and > imho the easiest would be to add a T between G and MENU... > > thx for helping! > > p.s.: as you can also see the headlines are also rendered as > styles...with a preUserFunc...that would be next on the list to implement... Nice work. I'm impressed :-) A couple of comments: GTMENU or "stdWrap.headerCSS"? The GTMENU is a good approach (it's on my list of things to experiment with as an extension), but another approach I had thought of (for dealing with FIR type menus and headers) was to suggest an addition to stdWrap such as ".headerCSS" (or maybe a stdWrap hook for the existing "page.CSS_inlineStyle") which could be used to add css into a