From typo3 at rvt.dds.nl Sat Oct 1 02:00:37 2005 From: typo3 at rvt.dds.nl (Ries van Twisk) Date: Fri, 30 Sep 2005 18:00:37 -0600 Subject: [Typo3-dev] Wildcard match on globalString Message-ID: Dear Developers, am I correct that wildcardMatch is not completely supported as read from tsRef? When reading it can do this on loginUser [loginUser = *] [end] But when I try to do this: [globalString = TSFE:page|tx_rvtgbweathericaotag_icao = *] [end] The routine: function matchWild($haystack,$needle) {...} Doesn't do a wildcard match on just *, I would suspect (I might be wrong) that it would match any empty string there. Instead this case condition get's triggered and does a exact match. case 'beforeafter': if (strstr($haystack,substr($needle,1,-1))) return true; break; What can I do to do a wildcard on globalString (match a non empty string)? except writing a user function..... cheers, Ries van Twisk From stanislas.rolland at fructifor.ca Sat Oct 1 01:36:33 2005 From: stanislas.rolland at fructifor.ca (Stanislas Rolland) Date: Fri, 30 Sep 2005 19:36:33 -0400 Subject: [Typo3-dev] frontend editing In-Reply-To: References: Message-ID: Ernesto Baschny [cron IT] a ?crit : > > Yeah, it looks very cool! The technology behind it is just the same as > we already have in the original RTE that comes with TYPO3 core. It uses > document.execCommand, which is IE-specific, which is why it won't work > on any other platform (just like "rte" in TYPO3). > execCommand is also supported by gecko browsers such as Mozilla, Firefox and Netscape 6+ as well as recent release of Safari (although incomplete and not yet usable in Safari), which makes htmlArea RTE and other cross-browser editors possible. > The only difference in TYPO3 RTE is that the edit area always has a > "backend" look (white background, 1px black border, always the same > width/height), while in editland the RTE is styled the same way as the > site (and without a border), so you get a feeling as if you are working > directly on the site. > You could skin htmlArea RTE to your liking. Regards, Stanislas From tobi at 54tec.com Sat Oct 1 10:24:02 2005 From: tobi at 54tec.com (tobias erlacher) Date: Sat, 01 Oct 2005 10:24:02 +0200 Subject: [Typo3-dev] Debugging Typo3/PHP 2 (mini review) References: Message-ID: Hi also maguma studio and maguma workbench have xdebug support Am Thu, 29 Sep 2005 18:00:37 +0200 schrieb Andreas Otto : > Hi Stig, > > On Donnerstag, 29. September 2005 16:46, Stig N?rgaard F?rch wrote in > typo3.dev: > >> But what does it offer me that DBG doesn't? > > I just like it more ;-) Especially the profiling and stacktraces. > I have not compared these two debuggers. > >> I can't find any free editors that works with Xdebug. Are there any?` > > Any editor that supports the dbg / dgbp protocol should work AFAIK. > > Quanta+ in KDE 3.5 will have support for xdebug. > > > Cheers, > Andreas > -- Erstellt mit Operas revolution?rem E-Mail-Modul: http://www.opera.com/m2/ From kraftb at kraftb.at Sat Oct 1 15:17:12 2005 From: kraftb at kraftb.at (Bernhard Kraft) Date: Sat, 01 Oct 2005 15:17:12 +0200 Subject: [Typo3-dev] RFC (core patch): flexform field path Message-ID: Hallo, I run into a obvious "bug" or more a "non-feature" of T3 Flexforms. If you use an for generating the elements of an select field and those items shall depend on the value of another field in the flexform then you get the problem that the doesn't know which flexform-field it renders actually. Of course you have the name of the field - but if you use a flexform with sections (variable number of sub-elements) then you can't know in which section you are actually. I made two patches to correct this. The first one is simpler but you will have to parse the passed "formPrefix" string in your itemsProcFunc to find out the path of the field in the flexform. The second one keeps track of the actual path in the flexform as an array and uses this as argument to the itemsProcFunc. The pathes are here: 1: http://www.think-open.org/kraftb/01_flexField_path_patch.diff 2: http://www.think-open.org/kraftb/02_flexField_path_patch.diff Could somebody please take a look at those two and tell me which one is more safe to implement into the core concerning downwards compatiblility etc. greets, Bernhard From elmar.hinz at vcd-berlin.de Sat Oct 1 23:54:53 2005 From: elmar.hinz at vcd-berlin.de (Elmar Hinz) Date: Sat, 01 Oct 2005 23:54:53 +0200 Subject: [Typo3-dev] frontend editing In-Reply-To: References: Message-ID: >> > execCommand is also supported by gecko browsers such as Mozilla, Firefox > and Netscape 6+ as well as recent release of Safari (although incomplete > and not yet usable in Safari), which makes htmlArea RTE and other > cross-browser editors possible. > >> > You could skin htmlArea RTE to your liking. > > Regards, > Stanislas I hope htmlArea is getting the default RTE of TYPO3 as soon as possible. It's allways annoying when the default configuration forces people to I.E. That should be history. Elmar -- Climate change 2005: New Orleans, Sahel, Bangladesh, Spain, Portugal, Austria, Swiss, France, ... Production of CO2 is killing people. Production of CO2 just for fun is killing people just for fun. From niederlag at ikd01.de Sun Oct 2 07:33:11 2005 From: niederlag at ikd01.de (Peter Niederlag) Date: Sun, 02 Oct 2005 07:33:11 +0200 Subject: [Typo3-dev] frontend editing In-Reply-To: References: Message-ID: Hi, Elmar Hinz schrieb: [...] > I hope htmlArea is getting the default RTE of TYPO3 as soon as possible. > It's allways annoying when the default configuration forces people to > I.E. That should be history. Already on Roadmap "ZAP the Gremlins". ;) http://typo3.org/development/roadmap/ p. -- Peter Niederlag http://www.niekom.de * TYPO3 & EDV Dienstleistungen * http://www.typo3partner.net * professional services network * From steffen at mail.kommwiss.fu-berlin.de Sun Oct 2 15:21:12 2005 From: steffen at mail.kommwiss.fu-berlin.de (=?ISO-8859-1?Q?Steffen_M=FCller?=) Date: Sun, 02 Oct 2005 15:21:12 +0200 Subject: [Typo3-dev] frontend editing In-Reply-To: References: Message-ID: Hi. On 01.10.2005 23:54 Elmar Hinz wrote: >>> > > > I hope htmlArea is getting the default RTE of TYPO3 as soon as possible. > It's allways annoying when the default configuration forces people to > I.E. That should be history. > In my eyes, it is also annoying that standard BE users can't choose their favorite RTE. Only the admin is able to choose a system wide RTE. If you have the same opinion, please vote for bug/feature 878: http://bugs.typo3.org/view.php?id=878 Or even better, help fixing it ;-) -- cheers Steffen From martin.kutschker-n0spam at no5pam-blackbox.net Sun Oct 2 19:00:27 2005 From: martin.kutschker-n0spam at no5pam-blackbox.net (Martin Kutschker) Date: Sun, 02 Oct 2005 19:00:27 +0200 Subject: [Typo3-dev] frontend editing In-Reply-To: References: Message-ID: Steffen M?ller schrieb: > Hi. > > On 01.10.2005 23:54 Elmar Hinz wrote: > >> >>I hope htmlArea is getting the default RTE of TYPO3 as soon as possible. >>It's allways annoying when the default configuration forces people to >>I.E. That should be history. >> > > > In my eyes, it is also annoying that standard BE users can't choose > their favorite RTE. Only the admin is able to choose a system wide RTE. > > If you have the same opinion, please vote for bug/feature 878: > http://bugs.typo3.org/view.php?id=878 > > Or even better, help fixing it ;-) I don't want my users to choose the RTE. RTEs are hard to configure and don't have the same feature set. Masi From murphy at spreekonzept.de Mon Oct 3 06:58:54 2005 From: murphy at spreekonzept.de (Thomas Murphy) Date: Sun, 02 Oct 2005 21:58:54 -0700 Subject: [Typo3-dev] adodb - losing connection to TYPO3_DB Message-ID: Hello everyone, I'm using adodb in one of my extensions to access data from a foreign mySQL-DB. After I successfully connected to it, it seems the Connection to the TYPO3_DB is lost - it then tries to connect to the TYPO3_DB with the data (username/password) I used for the foreign mySQL-DB. (!) ("Access denied for user...") I made some dirty hotfix for this by manually reconnecting to the TYPO3_DB with the username/password for that DB after my plugin has finished. I checked php.ini settings for maximum persistent and normal connections, but they are all set to "-1" (unlimited). Any other ideas? bye, Thomas From elmar.hinz at vcd-berlin.de Sun Oct 2 22:29:55 2005 From: elmar.hinz at vcd-berlin.de (Elmar Hinz) Date: Sun, 02 Oct 2005 22:29:55 +0200 Subject: [Typo3-dev] adodb - losing connection to TYPO3_DB In-Reply-To: References: Message-ID: Thomas Murphy wrote: > Hello everyone, > > I'm using adodb in one of my extensions to access data from a foreign > mySQL-DB. After I successfully connected to it, it seems the Connection > to the TYPO3_DB is lost - it then tries to connect to the TYPO3_DB with > the data (username/password) I used for the foreign mySQL-DB. (!) > ("Access denied for user...") > > I made some dirty hotfix for this by manually reconnecting to the > TYPO3_DB with the username/password for that DB after my plugin has > finished. > I checked php.ini settings for maximum persistent and normal > connections, but they are all set to "-1" (unlimited). Hi Thomas, how are you? I don't have the feeling that it has anything to do with the count of possible connections. Rather with both libraries trying to use the same "default connection". I don't know if those libraries are using the function mysql_connect but I think http://php.speedbone.de/manual/en/function.mysql-connect.php could give you at least some clues of how connections fall back to defaults if not all parameters are given. Regards Elmar -- Climate change 2005: New Orleans, Sahel, Bangladesh, Spain, Portugal, Austria, Swiss, France, ... Production of CO2 is killing people. Production of CO2 just for fun is killing people just for fun. From typo3 at rvt.dds.nl Mon Oct 3 01:42:28 2005 From: typo3 at rvt.dds.nl (Ries van Twisk) Date: Sun, 02 Oct 2005 17:42:28 -0600 Subject: [Typo3-dev] adodb - losing connection to TYPO3_DB In-Reply-To: References: Message-ID: Thomas Murphy wrote: >Hello everyone, > >I'm using adodb in one of my extensions to access data from a foreign >mySQL-DB. After I successfully connected to it, it seems the Connection >to the TYPO3_DB is lost - it then tries to connect to the TYPO3_DB with >the data (username/password) I used for the foreign mySQL-DB. (!) >("Access denied for user...") > >I made some dirty hotfix for this by manually reconnecting to the >TYPO3_DB with the username/password for that DB after my plugin has >finished. >I checked php.ini settings for maximum persistent and normal >connections, but they are all set to "-1" (unlimited). > >Any other ideas? > > > I made a little extention called rvt_adodb that you can use. At least on my site I heaven't seen such a problem. Ries From typo3 at fm-world.ru Mon Oct 3 07:37:17 2005 From: typo3 at fm-world.ru (Dmitry Dulepov) Date: Mon, 03 Oct 2005 08:37:17 +0300 Subject: [Typo3-dev] adodb - losing connection to TYPO3_DB In-Reply-To: References: Message-ID: Hi! Thomas Murphy wrote: > I'm using adodb in one of my extensions to access data from a foreign > mySQL-DB. After I successfully connected to it, it seems the Connection > to the TYPO3_DB is lost - it then tries to connect to the TYPO3_DB with > the data (username/password) I used for the foreign mySQL-DB. (!) > ("Access denied for user...") This is not related to ADODB but rather to usage of the obsolete PHP function named "mysql()" in Typo3 (probably, not in typo3 core but in extensions). This function will use the last opened connection. As soon as you connect to the external database, everything stops working... I fall into the same problem two moths ago (asked about it here too). The only workaround is to re-open connection to the typo3 database. Dmitry. From triphot69 at hotmail.com Mon Oct 3 10:23:17 2005 From: triphot69 at hotmail.com (Jean-Baptiste Rio) Date: Mon, 03 Oct 2005 10:23:17 +0200 Subject: [Typo3-dev] adodb - losing connection to TYPO3_DB In-Reply-To: References: Message-ID: Ries van Twisk wrote: > I made a little extention called rvt_adodb that you can use. > At least on my site I heaven't seen such a problem. > > Ries Hi Ries, I've tried to use your extension. Seems to work fine, except that there is something strange. We had at the same time, for others reasons, a very low performance on our server and specially on the mysql process (nearly 80% of the CPU), so we've logged all the MySQL process running at a time. I've just installed your extension and configured the access to an external database but without using it (i was planning to use it for a new site). But your extension logged several mysql process at a time. I've de-installed your extension, and the process disappeared. As if each time we asked to the Typo3 database, Typo3 tried to connect to the external database... weird isn't it ? Just your information. Seems i'm the only one to have seen that. So... maybe an error from my installation (Running Typo3 3.7.0 and PHP5.0). Regards, Jean-Baptiste From triphot69 at hotmail.com Mon Oct 3 12:34:08 2005 From: triphot69 at hotmail.com (Jean-Baptiste Rio) Date: Mon, 03 Oct 2005 12:34:08 +0200 Subject: [Typo3-dev] excludeUidList : Exclude current page from a menu Message-ID: Before we have, maybe one day, a full stdWrap on this menu param, i suggest a little enhancement which allows to exclude the current page from a menu (typically when using special with update or directory). This enhancement accept "this" in the uid list. For example : lib.mymenu = HMENU lib.mymenu.entryLevel = -2 lib.mymenu.excludeUidList = this lib.mymenu.1 = TMENU ... This produces a menu with the "sisters and brothers" pages from a page (so except the page itself). I've changed these codelines in class.tslib_menu.php (at 2 positions : line 763 and line 2613) if (trim($this->conf['excludeUidList'])) { - $banUidArray = t3lib_div::intExplode(',', $this->conf['excludeUidList']); + $banUidList = str_replace('this', $GLOBALS['TSFE']->page['uid'], $this->conf['excludeUidList']); + $banUidArray = t3lib_div::intExplode(',', $banUidList); } I use Typo3 3.7.0 and PHP5. I sent a feature issue in the bugtracking to trace this enhancement. Regards, Jean-Baptiste From murphy at spreekonzept.de Tue Oct 4 00:01:57 2005 From: murphy at spreekonzept.de (Thomas Murphy) Date: Mon, 03 Oct 2005 15:01:57 -0700 Subject: [Typo3-dev] adodb - losing connection to TYPO3_DB In-Reply-To: References: Message-ID: Dmitry Dulepov wrote: > This is not related to ADODB but rather to usage of the obsolete PHP > function named "mysql()" in Typo3 (probably, not in typo3 core but in > extensions). This function will use the last opened connection. As soon > as you connect to the external database, everything stops working... > > I fall into the same problem two moths ago (asked about it here too). > The only workaround is to re-open connection to the typo3 database. Thank you Dmitry. AFAI can recall the extensions failed have been sr_languagemenu and sr_static_info. And they seemed to be loaded after my extension. So I have to stick with reconnecting. bye, Thomas From murphy at spreekonzept.de Tue Oct 4 00:07:26 2005 From: murphy at spreekonzept.de (Thomas Murphy) Date: Mon, 03 Oct 2005 15:07:26 -0700 Subject: [Typo3-dev] adodb - losing connection to TYPO3_DB In-Reply-To: References: Message-ID: Thomas Murphy wrote: > Dmitry Dulepov wrote: > >> I fall into the same problem two moths ago (asked about it here too). >> The only workaround is to re-open connection to the typo3 database. > > So I have to stick with reconnecting. btw.: Is there a "clean way" to reconnect? Right now I just hardcoded my username/password into the connection statement, because AFAIK the connection settings are not part of the TYPO3_CONF_VARS. Can I somehow access the username/password for the DB from my extension scope? bye, Thomas From typo3 at fm-world.ru Mon Oct 3 15:31:20 2005 From: typo3 at fm-world.ru (Dmitry Dulepov) Date: Mon, 03 Oct 2005 16:31:20 +0300 Subject: [Typo3-dev] adodb - losing connection to TYPO3_DB In-Reply-To: References: Message-ID: Hi! Thomas Murphy wrote: > btw.: Is there a "clean way" to reconnect? Right now I just hardcoded my > username/password into the connection statement, because AFAIK the > connection settings are not part of the TYPO3_CONF_VARS. > Can I somehow access the username/password for the DB from my extension > scope? > There are variables in typo3conf/localconf.php: ===================== $typo_db_username = '...; // Modified or inserted by TYPO3 Install Tool. $typo_db_password = '...'; // Modified or inserted by TYPO3 Install Tool. $typo_db_host = 'localhost'; // Modified or inserted by TYPO3 Install Tool. $typo_db = '...'; // Modified or inserted by TYPO3 Install Tool. ===================== You can define they as 'global' or use $GLOBALS['...'] and reconnect. Dmitry. From typo3 at monosock.org Mon Oct 3 16:53:41 2005 From: typo3 at monosock.org (Michiel Roos) Date: Mon, 03 Oct 2005 16:53:41 +0200 Subject: [Typo3-dev] [Typo3-tt-news] category tree for kickstarter? References: Message-ID: On Wed, 28 Sep 2005 14:08:44 +0200, Elmar Hinz wrote: > * How big do you estimate the effort to adapt the class for an own > extension? 2 hours getting to grips with the concept and adjusting stuff in the class file. I adapted the tt_news class file for use with the 'photoblog' extension. It took me some time to get it right. I also stripped out a lot of tt_news specific code. Take a peak in the photoblog source and have a look at the file: class.tx_photoblog_treeview.php > * Do you share my opinion that a catagory tree selector should be > general available to use in BE-Forms? In example as an extension. Could be nice as an extension. > * Does such an extension already exist? I don't think so, I didn't search for it though. > * Else is it planned? > * Should we take further steps to reach this target? Implement ;-) Michiel Roos From elmar.hinz at vcd-berlin.de Mon Oct 3 17:13:13 2005 From: elmar.hinz at vcd-berlin.de (Elmar Hinz) Date: Mon, 03 Oct 2005 17:13:13 +0200 Subject: [Typo3-dev] Re: [Typo3-tt-news] category tree for kickstarter? In-Reply-To: References: Message-ID: Hallo Michiel, thank you for your optimistic advice. I will give it a try so. >>* Do you share my opinion that a catagory tree selector should be >>general available to use in BE-Forms? In example as an extension. > > > Could be nice as an extension. > > [...] >>* Else is it planned? >>* Should we take further steps to reach this target? > > > Implement ;-) When I find myself adapting it for the third extension I will probalbly do so. Currently other things are still on top of my personal TYPO3 agenda. Regards Elmar -- Climate change 2005: New Orleans, Sahel, Bangladesh, Spain, Portugal, Austria, Swiss, France, ... Production of CO2 is killing people. Production of CO2 just for fun is killing people just for fun. From news at monosock.org Mon Oct 3 17:35:19 2005 From: news at monosock.org (Michiel Roos) Date: Mon, 03 Oct 2005 15:35:19 +0000 Subject: [Typo3-dev] [Typo3-tt-news] category tree for kickstarter? References: Message-ID: One more thing that took me a while to figure out. The treeview seems to have been written for the pages table. So the treeview needs a 'title' field. I could not find a way around this. The table structure I now use for the category table is: `uid` int(11) unsigned NOT NULL auto_increment, `pid` int(11) unsigned NOT NULL default '0', `tstamp` int(11) unsigned NOT NULL default '0', `crdate` int(11) unsigned NOT NULL default '0', `cruser_id` int(11) unsigned NOT NULL default '0', `deleted` tinyint(4) unsigned NOT NULL default '0', `hidden` tinyint(4) unsigned NOT NULL default '0', `title` varchar(60) NOT NULL default '', `parent_category` int(11) unsigned NOT NULL default '0', You can add anything you like, like 'description' or something else. Good luck. Michiel From elmar.hinz at vcd-berlin.de Mon Oct 3 17:56:54 2005 From: elmar.hinz at vcd-berlin.de (Elmar Hinz) Date: Mon, 03 Oct 2005 17:56:54 +0200 Subject: [Typo3-dev] [Typo3-tt-news] category tree for kickstarter? In-Reply-To: References: Message-ID: Michiel Roos wrote: > One more thing that took me a while to figure out. The treeview seems to > have been written for the pages table. So the treeview needs a 'title' > field. I could not find a way around this. The table structure I now use > for the category table is: > Thank you. It is no problem to call the name of the category title. I guess that's the usual habit. Regards Elmar -- Climate change 2005: New Orleans, Sahel, Bangladesh, Spain, Portugal, Austria, Swiss, France, ... Production of CO2 is killing people. Production of CO2 just for fun is killing people just for fun. From jerome at jerome.net Mon Oct 3 18:05:41 2005 From: jerome at jerome.net (Jerome) Date: Mon, 3 Oct 2005 18:05:41 +0200 Subject: [Typo3-dev] Page shortcuts & FE editing Message-ID: Hello I have a problem : when I FE edit my typo3 pages, the ones declared as Shortcuts can not be displayed, and then not be modified ( especially their headers ) Does anybody has a tip for me ? J?r?me Schneider Typo3 Ameos http://www.ameos.com typo3dev at ameos.com From typo3 at rvt.dds.nl Mon Oct 3 19:44:47 2005 From: typo3 at rvt.dds.nl (Ries van Twisk) Date: Mon, 03 Oct 2005 11:44:47 -0600 Subject: [Typo3-dev] adodb - losing connection to TYPO3_DB In-Reply-To: References: Message-ID: Jean-Baptiste Rio wrote: >Ries van Twisk wrote: > > >>I made a little extention called rvt_adodb that you can use. >>At least on my site I heaven't seen such a problem. >> >>Ries >> >> > >Hi Ries, > > >I've tried to use your extension. Seems to work fine, except that there >is something strange. We had at the same time, for others reasons, a >very low performance on our server and specially on the mysql process >(nearly 80% of the CPU), so we've logged all the MySQL process running >at a time. I've just installed your extension and configured the access >to an external database but without using it (i was planning to use it >for a new site). But your extension logged several mysql process at a >time. I've de-installed your extension, and the process disappeared. As >if each time we asked to the Typo3 database, Typo3 tried to connect to >the external database... weird isn't it ? > >Just your information. Seems i'm the only one to have seen that. So... >maybe an error from my installation (Running Typo3 3.7.0 and PHP5.0). > >Regards, > >Jean-Baptiste >_______________________________________________ > > Jean, this is indeed really weird... I'll go and take a look at this properly this week and see what I come up with. Thanks you for informing about this. regards, Ries van twisk From news at monosock.org Mon Oct 3 18:45:35 2005 From: news at monosock.org (Michiel Roos) Date: Mon, 03 Oct 2005 16:45:35 +0000 Subject: [Typo3-dev] How do I get indexed search to work on a USER_INT extension Message-ID: I would like the title and descriptions of my photoblog extension to be indexed. But I can't find anything on the subject. Maybe I'm looking in the wrong places? Any pointers? Cheers, Michiel Roos From elmar.hinz at vcd-berlin.de Mon Oct 3 19:39:25 2005 From: elmar.hinz at vcd-berlin.de (Elmar Hinz) Date: Mon, 03 Oct 2005 19:39:25 +0200 Subject: [Typo3-dev] How do I get indexed search to work on a USER_INT extension In-Reply-To: References: Message-ID: Michiel Roos wrote: > I would like the title and descriptions of my photoblog extension to be > indexed. > > But I can't find anything on the subject. Maybe I'm looking in the wrong > places? > > Any pointers? > > Cheers, > > > Michiel Roos It's the good old place. Best information I found here: http://typo3.org/documentation/document-library/doc_core_tsref/PHP_SCRIPT_INT/ The said counts for USER_INT in the same manner. That means, if title and description are output of the plugin, they can't be cached if you don't user USER instead of USER_INT. If same parameters produce same output in any case you should use USER. You should read http://typo3.org/development/articles/the-mysteries-of-chash/ then, too. That article is quite good, but it has forgotten to explain how you make a link use cHash. See TSref for typolink, so! If your output is really dynamic, that means if the same parameters may produce different output under circumstances, then you have to use USER_INT and you can't cache anything of the output. Regards Elmar -- Climate change 2005: New Orleans, Sahel, Bangladesh, Spain, Portugal, Austria, Swiss, France, ... Production of CO2 is killing people. Production of CO2 just for fun is killing people just for fun. From pilot at m-lan.ru Mon Oct 3 22:19:06 2005 From: pilot at m-lan.ru (Pilot) Date: Tue, 4 Oct 2005 00:19:06 +0400 Subject: [Typo3-dev] How do I get indexed search to work on a USER_INT extension References: Message-ID: it's strange, that nobody wrote search spider for typo3's pages. it's not so hard, becouse there aer a lot of feaches, for example, such string in HTML: : "Elmar Hinz" ???????/???????? ? ???????? ?????????: news:mailman.1.1128361352.7858.typo3-dev at lists.netfielders.de... > Michiel Roos wrote: >> I would like the title and descriptions of my photoblog extension to be >> indexed. But I can't find anything on the subject. Maybe I'm looking in >> the wrong >> places? >> >> Any pointers? >> >> Cheers, >> >> >> Michiel Roos > > It's the good old place. Best information I found here: > > http://typo3.org/documentation/document-library/doc_core_tsref/PHP_SCRIPT_INT/ > > The said counts for USER_INT in the same manner. That means, if title and > description are output of the plugin, they can't be cached if you don't > user USER instead of USER_INT. > > If same parameters produce same output in any case you should use USER. > You should read > http://typo3.org/development/articles/the-mysteries-of-chash/ then, too. > That article is quite good, but it has forgotten to explain how you make a > link use cHash. See TSref for typolink, so! > > If your output is really dynamic, that means if the same parameters may > produce different output under circumstances, then you have to use > USER_INT and you can't cache anything of the output. > > Regards > > Elmar > > > > > > > > > > > > > > > > > -- > Climate change 2005: New Orleans, Sahel, Bangladesh, Spain, Portugal, > Austria, Swiss, France, ... > Production of CO2 is killing people. > Production of CO2 just for fun is killing people just for fun. From erik at linnearad.no Mon Oct 3 22:50:52 2005 From: erik at linnearad.no (Erik Svendsen) Date: Mon, 3 Oct 2005 20:50:52 +0000 (UTC) Subject: [Typo3-dev] Some questions, problems and point of views about xml_parser_create Message-ID: First of all. It looks like this is a problem only with PHP 5. And it looks like the problem has somthing to do with the PHP function xml_parser_create (but I don't know enough about TYPO3 and PHP to be exactly sure). I have the problem two with two different functions (extensions), impexp and templavoila. But as far as I know the problem could be a problem everywhere XML parsing is used. The problem both places is that characters as ? ? ? (norwegian), ? ? ? etc. make the parser to crash (an error). I have made an previous post about the problem news://news.netfielders.de/mailman.1.1128075811.24776.typo3-english at lists.netfielders.de. The problem is also described in http://bugs.typo3.org/view.php?id=497 --- Copy of my earlier post --- If I use non-US characters, ex. ?, ? ? ? ? etc, in title, mapping instructions or sample data (in the Building data Structure page) I got the following error message when trying to look at the XML: The input content failed XML parsing: Line xx: Invalid character. The reference to the DS is also broken if I save the DS. The simple solution is not using any non-US characters. I don't have the same problem on a installation with PHP 4.4 (TYPO3 3.8.0, TV 4.0) I suppose the problem isn't TYPO3, but the XML parsing in PHP. But I make a post, both to give a solution to others who get the same problem, and to get some responses from other that have had/has the same problem. And maybe some who are more skilled in TYPO3 and PHP than me, can find the real solutions (and if necessary, post a bug at PHP.net). But I also think this is a problem that should be solved. It's more userfriendly to have titles in native language. I make the post both in typo3.english and typo3.dev. Responses should be given in typo3.dev. My configurations: Server 1: Fedora Core 4 X64, Apache 2.0.54, PHP 5.0.4, MySQL 4.1.12, eaccelerator 0.9.3. Server 2: Windows XP SP2, Apache 2.0.54, PHP 5.0.5, MySQL 5.0.12-beta-nt, eaccelerator 0.9.3. Server 3: Debian, Apache 1.3.33, PHP 4.4.0, MySQL 4.1.14 (no problem with non-US characters) --- end of copy --- You also got a problem if you are using FCE with TV. The editors can't use these norwegian characters in plain textfield. And it's a problem when you are making Norwegian websites (and a lot of other European languages). The solution in bug 497 do not help. To learn a little more about the problem and the XML parsing i made a small parsing (xml_parser_create) script with help of the PHP documentation. What I found was that every special character in norwegian, german, swedish gave an error if no charset encoding, uttf-8 and utf-16 was used in the xml-file. If charset iso-8859-1 was used, the parsing went okay. What I learn here gave me an idea that my problem with impexp had the same reason (using TV). The exported xml-file had the encoding iso-8859-1, and went straight trough my parser-script. But I couldnt import it correct. I then search and replaced ? with aa, ? with oe and ? with ae in the exported xml-file. And the import went smooth. I think i maybe only neccessary to change the part of the file who is refering to TV. I shall test it. I don't know if this problem is impexp or TV related. This gave me the idea (probably wrong) that the parserscript in impexp don't use the encoding in the xml-file. Somebody who knows? I have the understanding that TV is using utf-8. Is there any way to change this? As I see it, there are workaround for most of these problems, except the TCE problem. The easiest workaround is not using these special characters, but it's not the best solutions for the users. Another solution is maybe to force impexp and TV to use a spesific charset if needed. Someone maybe have an solution to this problem. It was a long post, but I think this is a problem that should be solved somehow. WBR, Erik Svendsen www.linnearad.no From elmar.hinz at vcd-berlin.de Mon Oct 3 23:37:52 2005 From: elmar.hinz at vcd-berlin.de (Elmar Hinz) Date: Mon, 03 Oct 2005 23:37:52 +0200 Subject: [Typo3-dev] How do I get indexed search to work on a USER_INT extension In-Reply-To: References: Message-ID: Pilot wrote: > it's strange, that nobody wrote search spider for typo3's pages. > > it's not so hard, becouse there aer a lot of feaches, for example, such > string in HTML: > > : > Interesting question. So, what does a spider do? Crawling websides and storing information about them into an quickly searchable database. The point is, that the information of a typo3 website already is in such a database. So probably nobody came to the idea of storing them a second time into the same database. But as that special point, where you have a really dynamic plugin output but with some special static parts in it, spidering could make sense. Example? Your extension outputs realtime prices of shares. You have to use USER_INT because the prices change dynamically. But it could be interesting to have the names of the shares searchable indexed. It wouldn't matter to much if that spider has indexed an older price, when he came to visit the page, if the indexed name leads to the actual page. The easier solution is to build the browselist with one plugin as USER, where the entries point to a second plugin, on the same or a second side, that contains USER_INT to output the details. Regards Elmar -- Climate change 2005: New Orleans, Sahel, Bangladesh, Spain, Portugal, Austria, Swiss, France, ... Production of CO2 is killing people. Production of CO2 just for fun is killing people just for fun. From erik at linnearad.no Mon Oct 3 23:42:47 2005 From: erik at linnearad.no (Erik Svendsen) Date: Mon, 3 Oct 2005 21:42:47 +0000 (UTC) Subject: [Typo3-dev] Some questions, problems and point of views about xml_parser_create References: Message-ID: Hello List, I have to correct myself on some point. The parser in impexp seem to be alright. I've tried importing two XML-files, one without any TV-structure, and one with no ?, ? or ? in the TV structure. It works fine. The problem should be isolated to the parser in templavoila. WBR, Erik Svendsen www.linnearad.no From pilot at m-lan.ru Tue Oct 4 01:01:00 2005 From: pilot at m-lan.ru (Pilot) Date: Tue, 4 Oct 2005 03:01:00 +0400 Subject: [Typo3-dev] How do I get indexed search to work on a USER_INT extension References: Message-ID: it's called: "right hand pull to left ear " why you say only about price? what about name, descriptions.. etc.. no... spider is necessary for typo3 "Elmar Hinz" ???????/???????? ? ???????? ?????????: news:mailman.1.1128375658.13797.typo3-dev at lists.netfielders.de... > Pilot wrote: >> it's strange, that nobody wrote search spider for typo3's pages. >> >> it's not so hard, becouse there aer a lot of feaches, for example, such >> string in HTML: >> >> : >> > > Interesting question. > > So, what does a spider do? Crawling websides and storing information about > them into an quickly searchable database. > > The point is, that the information of a typo3 website already is in such a > database. So probably nobody came to the idea of storing them a second > time into the same database. > > But as that special point, where you have a really dynamic plugin output > but with some special static parts in it, spidering could make sense. > > Example? > > Your extension outputs realtime prices of shares. You have to use USER_INT > because the prices change dynamically. But it could be interesting to have > the names of the shares searchable indexed. It wouldn't matter to much if > that spider has indexed an older price, when he came to visit the page, if > the indexed name leads to the actual page. > > The easier solution is to build the browselist with one plugin as USER, > where the entries point to a second plugin, on the same or a second side, > that contains USER_INT to output the details. > > Regards > > Elmar > > > -- > Climate change 2005: New Orleans, Sahel, Bangladesh, Spain, Portugal, > Austria, Swiss, France, ... > Production of CO2 is killing people. > Production of CO2 just for fun is killing people just for fun. From klausm at in.tum.de Tue Oct 4 03:10:47 2005 From: klausm at in.tum.de (Martin Klaus) Date: Tue, 4 Oct 2005 03:10:47 +0200 Subject: [Typo3-dev] New hook suggestion. References: Message-ID: Hi list, Is it possible to vote for hooks? Then i will do it for this one ;-) I'm a user of the roles extension and I've ran into the extdeveval problem too. Stig's roles extension provides an big advantage for Typo3's user rights management, but not being able to use it together with the extdeveval extension out of the box is a big disadvantage. So please add this backend hook, that allows tx_roles and other extensions to use the top-menu frame at the same time. regards and thanks in advance, Martin Klaus "Stig N?rgaard F?rch" schrieb im Newsbeitrag news:mailman.1.1127488893.12502.typo3-dev at lists.netfielders.de... > Hi guys > > Tell me if it's bad manner to post this here. Hope not. > http://bugs.typo3.org/view.php?id=1481 > > Currently, if you want to put something in the topmenu frame in the > backend, you will have to do this through Xclassing. The problem is that > many developers have installed the 'extdeveval'-extension which makes use > of Xclassing to display links in the topmenu frame. That means that other > extensions can not access this space. > In this patch I have implemented a hook in alt_topmenu_dummy.php which > makes i possible for multiple extensions to add content to the topmenu. > It's possible to set a placement priority(1-9) through the variable > 'priority' of the class which the hook connects to. > This hook is needed if you want to use both 'Roles'-extension and > 'extdeveval'-extension. > > On bugs.typo3.org you can also see an example-gif from the backend. > > Best Regards > Stig N. F?rch From typo3 at fm-world.ru Tue Oct 4 09:00:06 2005 From: typo3 at fm-world.ru (Dmitry Dulepov) Date: Tue, 04 Oct 2005 10:00:06 +0300 Subject: [Typo3-dev] How do I get indexed search to work on a USER_INT extension In-Reply-To: References: Message-ID: Hi! Pilot wrote: > it's strange, that nobody wrote search spider for typo3's pages. There will be one. Extension name is "crawler" but I think it is still private. Dmitry. From typo3 at fm-world.ru Tue Oct 4 09:06:39 2005 From: typo3 at fm-world.ru (Dmitry Dulepov) Date: Tue, 04 Oct 2005 10:06:39 +0300 Subject: [Typo3-dev] How do I get indexed search to work on a USER_INT extension In-Reply-To: References: Message-ID: Hi! Elmar Hinz wrote: > So, what does a spider do? Crawling websides and storing information > about them into an quickly searchable database. Right. > > The point is, that the information of a typo3 website already is in such > a database. So probably nobody came to the idea of storing them a second > time into the same database. Wrong. It is in the database but not in "quickly searchable database". > Your extension outputs realtime prices of shares. You have to use > USER_INT because the prices change dynamically. But it could be > interesting to have the names of the shares searchable indexed. It > wouldn't matter to much if that spider has indexed an older price, when > he came to visit the page, if the indexed name leads to the actual page. This is a special search. Indexing is good for texts but not for prices. Texts consist from words and word forms. The one who searches for phrase usually need almost exact match (i.e. if if he look for "typo" than "typo3" and "typo" are both matches good but "mambo" is a bad match :)) For prices, range is usually more interesting than exact match, which makes it very different from text (Noone will search for shares with price set to $34.07, they will search for shares with price form $30 to $40). Also, as you said, price changes quite often, so there is no reason to *index* price data at all. If extension works with prices, it should have its own search capabilities and search data directly. Dmitry. From elmar.hinz at vcd-berlin.de Tue Oct 4 09:25:57 2005 From: elmar.hinz at vcd-berlin.de (Elmar Hinz) Date: Tue, 04 Oct 2005 09:25:57 +0200 Subject: [Typo3-dev] How do I get indexed search to work on a USER_INT extension In-Reply-To: References: Message-ID: > > For prices, range is usually more interesting than exact match, which > makes it very different from text (Noone will search for shares with > price set to $34.07, they will search for shares with price form $30 to > $40). Also, as you said, price changes quite often, so there is no > reason to *index* price data at all. If extension works with prices, it > should have its own search capabilities and search data directly. > > Dmitry. Good. But what follows of that? That you tell the imaginary spider never to index prices at all? Maybe there are some static prices in an extension. Knowing the exact price could bring people back to the product. Elmar -- Climate change 2005: New Orleans, Sahel, Bangladesh, Spain, Portugal, Austria, Swiss, France, ... Production of CO2 is killing people. Production of CO2 just for fun is killing people just for fun. From michael at typo3.org Tue Oct 4 10:30:59 2005 From: michael at typo3.org (Michael Stucki) Date: Tue, 04 Oct 2005 10:30:59 +0200 Subject: [Typo3-dev] How do I get indexed search to work on a USER_INT extension References: Message-ID: Pilot wrote: ^^^^^ > it's strange, that nobody wrote search spider for typo3's pages. > > it's not so hard, becouse there aer a lot of feaches, for example, such > string in HTML: > > : The bug is that config.disablePrefixComment was ignored when a plugin is inserted. This is already fixed in CVS. - michael -- Use a newsreader! Check out http://typo3.org/community/mailing-lists/use-a-news-reader/ From typo3 at fm-world.ru Tue Oct 4 10:35:02 2005 From: typo3 at fm-world.ru (Dmitry Dulepov) Date: Tue, 04 Oct 2005 11:35:02 +0300 Subject: [Typo3-dev] How do I get indexed search to work on a USER_INT extension In-Reply-To: References: Message-ID: Hi! Elmar Hinz wrote: > Good. But what follows of that? That you tell the imaginary spider never > to index prices at all? Maybe there are some static prices in an > extension. Knowing the exact price could bring people back to the product. There are and for this purpose in typo3 :) Dmitry. From robert at typo3.org Tue Oct 4 12:41:18 2005 From: robert at typo3.org (Robert Lemke) Date: Tue, 04 Oct 2005 12:41:18 +0200 Subject: [Typo3-dev] Some questions, problems and point of views about xml_parser_create References: Message-ID: Hi Erik, Erik Svendsen wrote: > I have to correct myself on some point. The parser in impexp seem to be > alright. I've tried importing two XML-files, one without any TV-structure, > and one with no ?, ? or ? in the TV structure. It works fine. The problem > should be isolated to the parser in templavoila. just wanted to let you know that I read your post and will take care of it in beginning of November when I'm working on TemplaVoila. I'm sorry that I don't find the time to look at it earlier ... cheers, robert -- Robert Lemke TYPO3 Association - Research & Development Member of the board http://association.typo3.org From user at macromediaforum.com Tue Oct 4 15:28:49 2005 From: user at macromediaforum.com (Lannsjo) Date: Tue, 4 Oct 2005 15:28:49 +0200 Subject: [Typo3-dev] loginbox Message-ID: Hi, I have this problem that I need to solve... I want to save the timestamp for the last login... so that a user can see when he logged in the last time.. What I want is to save the feUser:lastlogin value in a new field. But I need to save it just before it sets to the new value (when a user logs in).. and I cant find where the new value is set in tx_newloginbox.pi1.php Can someone help me here please /Martin From robertjohn at bedrijvenweb.nl Tue Oct 4 15:56:04 2005 From: robertjohn at bedrijvenweb.nl (Robert John de Stigter) Date: Tue, 4 Oct 2005 15:56:04 +0200 Subject: [Typo3-dev] Extending a FCE form Message-ID: Hi, I got the following situation. Users within my typo3 backend can place articles on pages. The articles are built up with a Flexible Content Element. That way they hand me the content and I take care of how it is placed. My problem is that users can't choose to place a listing or table in an article. Only plain text with the 'Text area for bodytext' editing type. What I did was enable the editing type to a rich text editor. But that gave them to many possibilities causing me to loose control on the output. I've also set the 'Text are for bodytext' to 'Content Elements'. That way they could create content of other types and link them in the article. But I find that to extensive. What I would to do is an item added to 'Editing type' when you build up the datastructure and handle the proccessing of it with some php code. Is there a hook for this maby? I was able to add an item to the 'editing type' list in the file 'templavoila/cm1/index.php', but I couldn't find out where the input is beeing processed (based on the selected editing type). Or are there other (better) ways to work this out. Regards, RJ From stig at 8620.dk Tue Oct 4 16:10:07 2005 From: stig at 8620.dk (=?ISO-8859-1?Q?Stig_N=F8rgaard_F=E6rch?=) Date: Tue, 04 Oct 2005 16:10:07 +0200 Subject: [Typo3-dev] New hook suggestion. In-Reply-To: References: Message-ID: Hi Martin Klaus, I'm glad for your support to my extension. I hope that the hook will be adopted soon and before 4.0. /Stig Martin Klaus wrote: > Hi list, > > Is it possible to vote for hooks? Then i will do it for this one ;-) > I'm a user of the roles extension and I've ran into the extdeveval problem > too. > > Stig's roles extension provides an big advantage for Typo3's > user rights management, but not being able to use it together with the > extdeveval > extension out of the box is a big disadvantage. > > So please add this backend hook, that allows tx_roles and other extensions > to > use the top-menu frame at the same time. > > regards and thanks in advance, > Martin Klaus > > > "Stig N?rgaard F?rch" schrieb im Newsbeitrag > news:mailman.1.1127488893.12502.typo3-dev at lists.netfielders.de... > >>Hi guys >> >>Tell me if it's bad manner to post this here. Hope not. >>http://bugs.typo3.org/view.php?id=1481 >> >>Currently, if you want to put something in the topmenu frame in the >>backend, you will have to do this through Xclassing. The problem is that >>many developers have installed the 'extdeveval'-extension which makes use >>of Xclassing to display links in the topmenu frame. That means that other >>extensions can not access this space. >>In this patch I have implemented a hook in alt_topmenu_dummy.php which >>makes i possible for multiple extensions to add content to the topmenu. >>It's possible to set a placement priority(1-9) through the variable >>'priority' of the class which the hook connects to. >>This hook is needed if you want to use both 'Roles'-extension and >>'extdeveval'-extension. >> >>On bugs.typo3.org you can also see an example-gif from the backend. >> >>Best Regards >>Stig N. F?rch > > > From wilhelm at icecrash.com Tue Oct 4 16:45:53 2005 From: wilhelm at icecrash.com (Sven Wilhelm) Date: Tue, 04 Oct 2005 16:45:53 +0200 Subject: [Typo3-dev] Better templating: PHP! - Little add-on In-Reply-To: References: Message-ID: http://phptal.motion-twin.com Kind regards Sven From jsegars at alumni.rice.edu Tue Oct 4 17:59:42 2005 From: jsegars at alumni.rice.edu (Jeff Segars) Date: Tue, 04 Oct 2005 10:59:42 -0500 Subject: [Typo3-dev] TCA and Custom Softrefs Message-ID: I'm currently working on an extension that builds on the Import/Export Wizard by using custom softrefs and a simpler import interface. I've written a custom softref parser, but my question is how to make it be called during an export from the Import/Export Wizard. Within tx_impexp->getRelations(), the TCA for the current field is loaded to determine which softref parsers to use. For a field like bodytext, the default configuration is... [softref]=typolink_tag,images,email[subst],url I know I can manually add the key for my softref parser to each field in order to have the parser called. Likewise, I can edit the code in tx_impexp->getRelations() to append my key to whatever the TCA already contains, but neither of these options seem like very clean solutions. Is there some better way that I can force my key to be added to the softref list for every TCA field? Thanks, Jeff Segars From news at monosock.org Tue Oct 4 20:55:29 2005 From: news at monosock.org (Michiel Roos) Date: Tue, 04 Oct 2005 18:55:29 +0000 Subject: [Typo3-dev] release of wizard_crpagetree version 0.2.0 Message-ID: Hi, I just put up a new version of wizard_crpagetree for testing. Anyone care to push it around for a bit? Manual and CSH included. Cheers, Michiel From news at monosock.org Tue Oct 4 21:00:15 2005 From: news at monosock.org (Michiel Roos) Date: Tue, 04 Oct 2005 19:00:15 +0000 Subject: [Typo3-dev] release of wizard_crpagetree version 0.2.0 References: Message-ID: It's still a shy one ;-) From erik at linnearad.no Tue Oct 4 22:48:25 2005 From: erik at linnearad.no (Erik Svendsen) Date: Tue, 4 Oct 2005 20:48:25 +0000 (UTC) Subject: [Typo3-dev] Some questions, problems and point of views about xml_parser_create References: Message-ID: Hello Robert, Thanks, thats would be a great help (for me and other). I know you have a lot to do (as most of us), so take the time you need. I posted it mainly to get tips to get around the problem in meantime, and maybe help others who have the same problem. I'm moving some sites made with TV from one server to another, and we don't want to downgrade php on the new server (beacuse of another app). So I drop the use of some of the FCE's on the new installations, and drop all "bad" characters form TV DS before I export from the old server. Have to do the move before 15. oct. OT! Thanks for interesting and instructive tutorial/speaks at TYCON3. WBR, Erik Svendsen www.linnearad.no > Hi Erik, > > Erik Svendsen wrote: > >> I have to correct myself on some point. The parser in impexp seem to >> be alright. I've tried importing two XML-files, one without any >> TV-structure, and one with no ?, ? or ? in the TV structure. It works >> fine. The problem should be isolated to the parser in templavoila. >> > just wanted to let you know that I read your post and will take care > of it in beginning of November when I'm working on TemplaVoila. I'm > sorry that I don't find the time to look at it earlier ... > > cheers, > robert From gaumondpatrick at hotmail.com Wed Oct 5 00:21:40 2005 From: gaumondpatrick at hotmail.com (Patrick Gaumond) Date: Tue, 04 Oct 2005 18:21:40 -0400 Subject: [Typo3-dev] release of wizard_crpagetree version 0.2.0 In-Reply-To: References: Message-ID: Michiel Roos wrote: > I just put up a new version of wizard_crpagetree for testing. Anyone care > to push it around for a bit? Tested on 3.8 under Windows and PHP 5. It just works! Tried to add alias while creating the page and it worked fine. I think that if you get the text file importing running, that would be a nice replacement of the old "cms_plaintext_import" wich was released in 2003. Patrick From typo3 at monosock.org Wed Oct 5 08:51:22 2005 From: typo3 at monosock.org (Michiel Roos) Date: Wed, 05 Oct 2005 08:51:22 +0200 Subject: [Typo3-dev] release of wizard_crpagetree version 0.2.0 References: Message-ID: Hey Patrick, Thanks for testing. Adding content input would be nice. We need some sensible rules for: - section delimiting; - what fields of a section to allow; And we shouldn't change the interface much more, it might become too cluttered. Cheers, Michiel From erik at linnearad.no Wed Oct 5 10:32:45 2005 From: erik at linnearad.no (Erik Svendsen) Date: Wed, 5 Oct 2005 08:32:45 +0000 (UTC) Subject: [Typo3-dev] Extending a FCE form References: Message-ID: Hello Robert John de Stigter, > What I did was enable the editing type to a rich text editor. But that > gave them to many possibilities causing me to loose control on the > output. I've also set the 'Text are for bodytext' to 'Content > Elements'. That way they could create content of other types and link > them in the article. But I find that to extensive. You have the opportunity to restrict the possibilities aviable in the RTE. E.g with TSconfig on either user, group or page level. I did it on a installation on user level a year ago. I think the documentations for the RTE have something about it, and also it's a video about the problem. If you are using htmlarea as RTE, the documentation are really extensiv at these point. WBR, Erik Svendsen www.linnearad.no From Andreas.Foerthner at netlogix.de Wed Oct 5 12:14:42 2005 From: Andreas.Foerthner at netlogix.de (=?ISO-8859-15?Q?Andreas_F=F6rthner?=) Date: Wed, 05 Oct 2005 12:14:42 +0200 Subject: [Typo3-dev] configure Access in Page header via a plugin on this page Message-ID: Hi list, is it possible to configure/set the FE-Usergroup of a page in the page header via a Plugin on this page? The problem is: I have a backend-module, that creates data in a database that is connected to a specific FE-Usergroup, which is also created by the module. The plugin now should read this data an automatically should show the page it is on, only to users of the connected usergroup. How would you do that, so that the author, who inserts the plugin, doesn't have to know the name of the usergroup? Thank you for your help. Greetings Andreas From Martin.Kutschker at n0spam-blackbox.net Wed Oct 5 14:33:42 2005 From: Martin.Kutschker at n0spam-blackbox.net (Martin Kutschker) Date: Wed, 05 Oct 2005 14:33:42 +0200 Subject: [Typo3-dev] Making translation for Core modules Message-ID: Hi! The csh_* Files for German and Bulgarian lack translations of eg Web>Template. Can I translate them for a customer without any external tools? Or do I have to be an official translator? I checked the sources for the csh_* extensions, but hey, there are lots of xml files and I didnn't figure out (quickly) how I would add files for the missing core extensions. Masi From brikou at gmail.com Wed Oct 5 15:41:36 2005 From: brikou at gmail.com (Brice BERNARD) Date: Wed, 5 Oct 2005 15:41:36 +0200 Subject: [Typo3-dev] Google problem : "page is being generated" Message-ID: Have you ever try this search : "Page is being generated. If this message does not disappear within 30 seconds, please reload"? You will reach every page google failed to crawl, it's a big problem because google indexes this page as it was the one expected. How is it possible to avoid this message to appear, maybe we could prevent robot from indexing page by adding the meta : ... From typo3 at rvt.dds.nl Wed Oct 5 16:54:13 2005 From: typo3 at rvt.dds.nl (Ries van Twisk) Date: Wed, 05 Oct 2005 08:54:13 -0600 Subject: [Typo3-dev] Google problem : "page is being generated" In-Reply-To: References: Message-ID: Brice BERNARD wrote: >Have you ever try this search : "Page is being generated. If this message >does not disappear within 30 seconds, please >reload"? >You will reach every page google failed to crawl, it's a big problem >because google indexes this page as it was the one expected. > >How is it possible to avoid this message to appear, maybe we could prevent >robot from indexing page by adding the meta : content="noindex" />... >_______________________________________________ > > That would be indeed a good idea. I have luckly just one page in google index like that but I try to check this almost every week! http://www.google.com.ec/search?hs=IiT&hl=es&client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&q=site%3Awww.livetravelguides.com+30+seconds&btnG=B%C3%BAsqueda&meta= setting a noindex on such a page sis indeed a really good idea. What do core developers think about this? regards, Ries van Twisk From steffen at kommwiss.fu-berlin.de Wed Oct 5 15:53:23 2005 From: steffen at kommwiss.fu-berlin.de (=?ISO-8859-1?Q?Steffen_M=FCller?=) Date: Wed, 05 Oct 2005 15:53:23 +0200 Subject: [Typo3-dev] Google problem : "page is being generated" In-Reply-To: References: Message-ID: Hi. Brice BERNARD wrote: > Have you ever try this search : "Page is being generated. If this message > does not disappear within 30 seconds, please > reload"? > You will reach every page google failed to crawl, it's a big problem > because google indexes this page as it was the one expected. > > How is it possible to avoid this message to appear, maybe we could prevent > robot from indexing page by adding the meta : content="noindex" />... Maybe a change of the HTTP status to 503 "Service Unavailable" would be a workaround. 503 is meant to be temporary. What's the correct handling? Kick the "Page is beeing generated page" and risk a timeout? -- cheers, steffen From oliver at liquidlight.co.uk Wed Oct 5 17:34:56 2005 From: oliver at liquidlight.co.uk (Oliver) Date: Wed, 05 Oct 2005 16:34:56 +0100 Subject: [Typo3-dev] Google problem : "page is being generated" In-Reply-To: References: Message-ID: Hi Brice, You can disable that message by commenting out line number 1335 in tslib/class.tslib_fe.php ie change: $this->tempPageCacheContent(); to: //$this->tempPageCacheContent(); Hope this helps, Oliver Brice BERNARD wrote: > Have you ever try this search : "Page is being generated. If this message > does not disappear within 30 seconds, please > reload"? > You will reach every page google failed to crawl, it's a big problem > because google indexes this page as it was the one expected. > > How is it possible to avoid this message to appear, maybe we could prevent > robot from indexing page by adding the meta : content="noindex" />... From r.fritz at colorcube.de Wed Oct 5 18:11:34 2005 From: r.fritz at colorcube.de (=?iso-8859-1?q?Ren=E9_Fritz?=) Date: Wed, 5 Oct 2005 18:11:34 +0200 Subject: [Typo3-dev] Google problem : "page is being generated" In-Reply-To: References: Message-ID: I collected the suggestions: ... ... header('Status: 503 Service Unavailable'); header('Retry-After: 30'); // 30 seconds is hardcoded but is ok I think header('Expires: -1'); header('Cache-Control: post-check=0, pre-check=0'); header('Pragma: no-cache'); header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT'); Is that right? I'm a bit unsure about the caching thing which has just changed a little for the "Page is being generated" page. I have to ask Kasper. Ren? -- COLORCUBE digital media lab www.colorcube.de From Martin.Kutschker at n0spam-blackbox.net Wed Oct 5 18:28:50 2005 From: Martin.Kutschker at n0spam-blackbox.net (Martin Kutschker) Date: Wed, 05 Oct 2005 18:28:50 +0200 Subject: [Typo3-dev] Google problem : "page is being generated" In-Reply-To: References: Message-ID: Oliver schrieb: > Hi Brice, > > You can disable that message by commenting out line number 1335 in > tslib/class.tslib_fe.php > > ie change: > $this->tempPageCacheContent(); > to: > //$this->tempPageCacheContent(); > > Hope this helps, No, because Google will index an empty page. Both ideas, setting the HTTP header and the HTML meta tag are good ideas. Masi From brikou at gmail.com Wed Oct 5 18:54:01 2005 From: brikou at gmail.com (Brice BERNARD) Date: Wed, 5 Oct 2005 18:54:01 +0200 Subject: [Typo3-dev] Google problem : "page is being generated" In-Reply-To: References: Message-ID: I think these feature would be really great if implemented on typo3 3.9 :) - Brice - 2005/10/5, Ren? Fritz : > > I collected the suggestions: > > ... > > > > > ... > > header('Status: 503 Service Unavailable'); > header('Retry-After: 30'); // 30 seconds is hardcoded but is ok I think > > header('Expires: -1'); > header('Cache-Control: post-check=0, pre-check=0'); > header('Pragma: no-cache'); > header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT'); > > > Is that right? > > I'm a bit unsure about the caching thing which has just changed a little > for > the "Page is being generated" page. I have to ask Kasper. > > Ren? > > > -- > COLORCUBE > digital media lab > > www.colorcube.de > _______________________________________________ > Typo3-dev mailing list > Typo3-dev at lists.netfielders.de > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev > From elmar.hinz at vcd-berlin.de Wed Oct 5 18:56:11 2005 From: elmar.hinz at vcd-berlin.de (Elmar Hinz) Date: Wed, 05 Oct 2005 18:56:11 +0200 Subject: [Typo3-dev] useCacheHash in FE-plugins, typolink, pi_base Message-ID: Hello FE-developers, we find 2 articels in the developers corner describing FE-links and cHash philosophie: http://typo3.org/development/articles/the-mysteries-of-chash/ http://typo3.org/development/articles/using-links-in-frontend-plugins/ Both articels don't touch the question how the cHash is initiated/created at all. This led me to the assumption that the cHash is created automatically by typolink function if it is used inside a USER plugin. What speaks against this assumption is the presence of a useCacheHash property in TSref for the typolink function. TYPOLINK 1.) Is cHash created automatically inside USER objects by the typolink function or do you have to build or configure them? 2.) How do you build links that match the concept of cHash and USER plugins? PI_BASE 3.a) Do the pi_base link functions work with the concept of cHash at all? 3.b) Do they set it automatically or do you have to configure it for pi_base link functions? 3.c) If you have to configure it how do you do it correctly? Thank you Elmar -- Climate change 2005: New Orleans, Sahel, Bangladesh, Spain, Portugal, Austria, Swiss, France, ... Production of CO2 is killing people. Production of CO2 just for fun is killing people just for fun. From typo3 at ingo-renner.com Wed Oct 5 19:28:57 2005 From: typo3 at ingo-renner.com (Ingo Renner) Date: Wed, 5 Oct 2005 19:28:57 +0200 Subject: [Typo3-dev] Google problem : "page is being generated" References: Message-ID: Am Wed, 5 Oct 2005 18:11:34 +0200 schrieb Ren? Fritz: Hi, > header('Status: 503 Service Unavailable'); > header('Retry-After: 30'); // 30 seconds is hardcoded but is ok I think > > header('Expires: -1'); > header('Cache-Control: post-check=0, pre-check=0'); > header('Pragma: no-cache'); > header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT'); I would go for the second option. Because when telling search engines not to index the given URL they might not come back to this URL. But actually we want them to visit us again and get the correct content. Thus a 503 would be better as it is temporary like someone mentioned before... Ingo -- Use a newsreader! Check out http://typo3.org/community/mailing-lists/use-a-news-reader/ From r.fritz at colorcube.de Wed Oct 5 19:38:42 2005 From: r.fritz at colorcube.de (=?iso-8859-1?q?Ren=E9_Fritz?=) Date: Wed, 5 Oct 2005 19:38:42 +0200 Subject: [Typo3-dev] Google problem : "page is being generated" In-Reply-To: References: Message-ID: > I would go for the second option. Because when telling search engines not > to index the given URL they might not come back to this URL. But actually > we want them to visit us again and get the correct content. Thus a 503 > would be better as it is temporary like someone mentioned before... That means should be removed... Ren? -- COLORCUBE digital media lab www.colorcube.de From ernst at cron-it.de Wed Oct 5 19:37:29 2005 From: ernst at cron-it.de (Ernesto Baschny [cron IT]) Date: Wed, 05 Oct 2005 19:37:29 +0200 Subject: [Typo3-dev] useCacheHash in FE-plugins, typolink, pi_base In-Reply-To: References: Message-ID: Elmar Hinz schrieb am 05.10.2005 18:56: > (...) > Both articels don't touch the question how the cHash is > initiated/created at all. This led me to the assumption that the cHash > is created automatically by typolink function if it is used inside a > USER plugin. That is correct. > What speaks against this assumption is the presence of a useCacheHash > property in TSref for the typolink function. Not really. Your plugin has to decide if a link is "cacheable" or not and set useCacheHash appropriately for links that are worthwhile to be cached. > TYPOLINK > > 1.) Is cHash created automatically inside USER objects by the typolink > function or do you have to build or configure them? It's created automatically if you call the typolink function with the "useCacheHash" property set. Normally in plugins you will create links using the pi_linkTP*() family of functions. These will set the useCacheHash automatically for you if you set the $cache parameter to "1" (ok, if you have $this->pi_USER_INT_obj = true in your plugin, this will override the $cache parameter). To decide which link to $cache and which not, you have to think if the combination of parameters that the user is submitting is something worthwhile to cache or not. Only make cacheable links if you have a countable amount of parameter/value combinations. See tt_news as an example. Its an USER object, and thus cacheable, if the user set the "allowCaching" config. All links go through pi_linkTP* and if allowCaching was true, these will get an cHash calculated and appended (tt_news-developer doesn't have to do anything for this to happen). The link-destination will then see the cHash, the parameters, and see they match, thus it was a link created by TYPO3, and thus, will cache the resulting output. This way noone can "pollute" typo3 cache just by requesting the same page with different parameters. > 2.) How do you build links that match the concept of cHash and USER > plugins? See tt_news, for an up-to-date example. > PI_BASE > > 3.a) Do the pi_base link functions work with the concept of cHash at all? See above. Yes, they all call typolink internally, so it works the same way. > 3.b) Do they set it automatically or do you have to configure it for > pi_base link functions? Just set the $cache parameter and make sure you have not set $this->pi_USER_INT_obj to TRUE in your plugin. > 3.c) If you have to configure it how do you do it correctly? Not needed! Cheers, Ernesto From elmar.hinz at vcd-berlin.de Wed Oct 5 19:52:55 2005 From: elmar.hinz at vcd-berlin.de (Elmar Hinz) Date: Wed, 05 Oct 2005 19:52:55 +0200 Subject: [Typo3-dev] useCacheHash in FE-plugins, typolink, pi_base In-Reply-To: References: Message-ID: Thank you for your detailed answer. With this I see clear enough now. Remember to set $pi_checkCHash for USER to avoid the "empty cHash" problems. var $pi_checkCHash = TRUE; See: http://typo3.org/development/articles/the-mysteries-of-chash/ Example for function pi_linkTP_keepPIvars_url($overrulePIvars=array(),$cache=0,$clearAnyway=0): $pars = array('one' => 1, 'two' => 2, 'three' => 3); $label = 'Read more ...'; $ankerLink = $this->pi_linkTP_keepPIvars($label,$pars,1,1); Regards Elmar -- Climate change 2005: New Orleans, Sahel, Bangladesh, Spain, Portugal, Austria, Swiss, France, ... Production of CO2 is killing people. Production of CO2 just for fun is killing people just for fun. From Martin.Kutschker at n0spam-blackbox.net Thu Oct 6 09:48:25 2005 From: Martin.Kutschker at n0spam-blackbox.net (Martin Kutschker) Date: Thu, 06 Oct 2005 09:48:25 +0200 Subject: [Typo3-dev] Google problem : "page is being generated" In-Reply-To: References: Message-ID: Ren? Fritz schrieb: >>I would go for the second option. Because when telling search engines not >>to index the given URL they might not come back to this URL. But actually >>we want them to visit us again and get the correct content. Thus a 503 >>would be better as it is temporary like someone mentioned before... > > > That means > > should be removed... How about a then? It seems it's not really supported by search engines any more, but I think it won't hurt either. Masi From Martin.Kutschker at n0spam-blackbox.net Thu Oct 6 09:59:34 2005 From: Martin.Kutschker at n0spam-blackbox.net (Martin Kutschker) Date: Thu, 06 Oct 2005 09:59:34 +0200 Subject: [Typo3-dev] Google problem : "page is being generated" In-Reply-To: References: Message-ID: Ren? Fritz schrieb: >>I would go for the second option. Because when telling search engines not >>to index the given URL they might not come back to this URL. But actually >>we want them to visit us again and get the correct content. Thus a 503 >>would be better as it is temporary like someone mentioned before... > > > That means > > should be removed... Or and ? So even if the page will be in the index, it will not archived with the temporary content? Masi From elmar.hinz at vcd-berlin.de Thu Oct 6 11:01:40 2005 From: elmar.hinz at vcd-berlin.de (Elmar Hinz) Date: Thu, 06 Oct 2005 11:01:40 +0200 Subject: [Typo3-dev] Empty cHash problem Message-ID: Hello people, Kasper Sk?rh?j describes in his article "The mysteries of &cHash" the empty &cHash problem. http://typo3.org/development/articles/the-mysteries-of-chash/page/3/ I wonder if this is really an empty cHash or rather an empty cache problem. It happens according to Kaspers article: a) when the cache is cleared for that page (is empty) b) when the first call comes with paramters that request a special view of the page c) when no cHash is given Wouldn't it also happen when a) ... b) ... c) a cHash is given but a wrong one Regards Elmar -- Climate change 2005: New Orleans, Sahel, Bangladesh, Spain, Portugal, Austria, Swiss, France, ... Production of CO2 is killing people. Production of CO2 just for fun is killing people just for fun. From r.fritz at colorcube.de Thu Oct 6 11:34:24 2005 From: r.fritz at colorcube.de (=?iso-8859-1?q?Ren=E9_Fritz?=) Date: Thu, 6 Oct 2005 11:34:24 +0200 Subject: [Typo3-dev] Google problem : "page is being generated" In-Reply-To: References: Message-ID: > Or and CONTENT="NOSNIPPET">? > > So even if the page will be in the index, it will not archived with the > temporary content? What exactly does the tags mean? Ren? -- COLORCUBE digital media lab www.colorcube.de From oliver at liquidlight.co.uk Thu Oct 6 11:48:14 2005 From: oliver at liquidlight.co.uk (Oliver) Date: Thu, 06 Oct 2005 10:48:14 +0100 Subject: [Typo3-dev] Google problem : "page is being generated" In-Reply-To: References: Message-ID: nosnippet - From Google help: "A snippet is a text excerpt from the returned result page that has all query terms bolded. The excerpt allows users to see the context in which search terms appear on a web page, before clicking on the result. Users are more likely to click on a search result if it has a corresponding snippet." This value of NOSNIPPET removes the text snippet. noarchive - From Google help: "Google keeps the text of the many documents it crawls available in a cache. This allows an archived, or "cached", version of a web page to be retrieved for your end users if the original page is ever unavailable (due to temporary failure of the page's web server). The cached page appears to users exactly as it looked when Google last crawled it. The cached page also includes a message (at the top of the page) to indicate that it's a cached version of the page." Though I've heard that 'nosnippet' is no longer supported by google. Oliver Ren? Fritz wrote: >>Or and >CONTENT="NOSNIPPET">? >> >>So even if the page will be in the index, it will not archived with the >>temporary content? > > > What exactly does the tags mean? > > Ren? > From niederlag at ikd01.de Thu Oct 6 13:27:16 2005 From: niederlag at ikd01.de (Peter Niederlag) Date: Thu, 06 Oct 2005 13:27:16 +0200 Subject: [Typo3-dev] RFC: TYPO3, Kickstarter and M-M database relations Message-ID: Hi, ----------------------------------------------------------------- I'd like to get your opinions on the default handling of M-M-relations in TYPO3 and extensions created by the Kickstarter. ----------------------------------------------------------------- Currently the Kickstarter uses 'commalist of values' to realize M-M-relations on database-tables by default. In my opinion 'commalist of values' might be easier to handle for novices in PHP- and SQL-development but tend to lead to somewhat bad application-design. ------------------------------------------------------------------ Explanations ------------------------------------------------------------------ 'commalist of values' makes some operations truely difficult or expensive. For example "give me all users that belong to usergroup 234" can only be done by some expensive and error-prone "LIKE ..." SQL-construct or PHP-operation on the Result-Set. Also M-M-relations as 'commalist of values' does prevent the usage of Object-Relational-Toolkits such as Propel (PHP-based, http://propel.phpdb.org/trac/) or Hibernate (Java-based) from being a choice for data-handling or at least make it very, very difficult. --------------------- My suggestions: --------------------- * Switch to a true M-M-relation by default in the Kickstarter as soon as possible, leaving 'commalist of values a user-choice with an explanatory "warning" * Use true M-M relations for any new stuff possibly introduced in the TYPO3-core * Cleaning up of any 'commalist of values' in TYPO3-core for Version 5.0 Plz let me know what you think. Thx and cheers, Peter -- Peter Niederlag http://www.niekom.de * TYPO3 & EDV Dienstleistungen * http://www.typo3partner.net * professional services network * From Martin.Kutschker at n0spam-blackbox.net Thu Oct 6 14:12:08 2005 From: Martin.Kutschker at n0spam-blackbox.net (Martin Kutschker) Date: Thu, 06 Oct 2005 14:12:08 +0200 Subject: [Typo3-dev] Google problem : "page is being generated" In-Reply-To: References: Message-ID: Oliver schrieb: > > Though I've heard that 'nosnippet' is no longer supported by google. Somebody should email them to update their help docs :-) Masi From arnsholt at broadpark.no Thu Oct 6 14:43:59 2005 From: arnsholt at broadpark.no (Arne Skjaerholt) Date: Thu, 06 Oct 2005 14:43:59 +0200 Subject: [Typo3-dev] RFC: TYPO3, Kickstarter and M-M database relations In-Reply-To: References: Message-ID: I've run into some problems myself with this when developing. As you said, I found a (reasonably) painless solution with LIKE. In my opinion the best solution would be your option number three and removing all the comma-separated stuff from the next version, but options one and two might be good additions while the next version is being developed. Arne :wq From schwarzkopf.no.spam at artplan21.de Thu Oct 6 14:46:12 2005 From: schwarzkopf.no.spam at artplan21.de (Andreas Schwarzkopf) Date: Thu, 06 Oct 2005 14:46:12 +0200 Subject: [Typo3-dev] RFC: TYPO3, Kickstarter and M-M database relations In-Reply-To: References: Message-ID: Hi Peter, Peter Niederlag schrieb: > 'commalist of values' makes some operations truely difficult or > expensive. For example "give me all users that belong to usergroup 234" > can only be done by some expensive and error-prone "LIKE ..." > SQL-construct or PHP-operation on the Result-Set. FIND_IN_SET('needle',field) works pretty good though it is not standard compliant and can be not used with the DBAL - therefore also not a stable solution > > Also M-M-relations as 'commalist of values' does prevent the usage of > Object-Relational-Toolkits such as Propel (PHP-based, > http://propel.phpdb.org/trac/) or Hibernate (Java-based) from being a > choice for data-handling or at least make it very, very difficult. > > --------------------- > My suggestions: > --------------------- > > * Switch to a true M-M-relation by default in the Kickstarter as soon > as possible, leaving 'commalist of values a user-choice with an > explanatory "warning" +1 > * Use true M-M relations for any new stuff possibly introduced in the > TYPO3-core +1 > * Cleaning up of any 'commalist of values' in TYPO3-core for Version 5.0 +1 (IMHO not in earlier versions) grtx Andreas From kraftb at gmx.net Thu Oct 6 15:49:54 2005 From: kraftb at gmx.net (Kraft Bernhard) Date: Thu, 06 Oct 2005 15:49:54 +0200 Subject: [Typo3-dev] RFC: TYPO3, Kickstarter and M-M database relations In-Reply-To: References: Message-ID: Peter Niederlag wrote: > Currently the Kickstarter uses 'commalist of values' to realize > M-M-relations on database-tables by default. Commalist-separated realtions are a mess in the view of every database designer :) > * Cleaning up of any 'commalist of values' in TYPO3-core for Version 5.0 +1 !! I think it should already get started in 4.0 and there should be an option in 4.0 to enable this feature (altough it probably is still unstable). This would enable administrators which set up a new installation to already use true M-M relations. Also a tool should get coded which converts already existing databases from the bad-relations to the good-ones :) greets, Bernhard -- Kraft Bernhard MOKKA Medienagentur T: +43 - 1 - 895 33 33 - 50 From ernst at cron-it.de Thu Oct 6 16:21:41 2005 From: ernst at cron-it.de (Ernesto Baschny [cron IT]) Date: Thu, 06 Oct 2005 16:21:41 +0200 Subject: [Typo3-dev] Empty cHash problem In-Reply-To: References: Message-ID: Elmar Hinz schrieb am 06.10.2005 11:01: > Kasper Sk?rh?j describes in his article "The mysteries of &cHash" the > empty &cHash problem. > > http://typo3.org/development/articles/the-mysteries-of-chash/page/3/ > > I wonder if this is really an empty cHash or rather an empty cache problem. Empty cHash problem. Empty cache is never a problem, as it can be filled. :) And if its empty, the empty cHash is not a problem, its just a problem if the cache already filled! The problem, to sum up: When generating the page that will be cached where we have our USER plugin. The plugin will output something based on the piVars (e.g. display the detail view of the current record). If we don't take any precaution, our output will always be cached too by TYPO3 (this is why we are an USER object!). So the next requests, regardless of the parameters, would display the same output as the first request, thus making our parameters useless! Only the first request after clearing the cache wins. We have to avoid that in the first call already, by only allowing TYPO3 to cache the output if we are sure that the parameter combination is something can be checked against a valid cHash. > It happens according to Kaspers article: > > a) when the cache is cleared for that page (is empty) > b) when the first call comes with paramters that request a special view > of the page > c) when no cHash is given > > Wouldn't it also happen when > > a) ... > b) ... > c) a cHash is given but a wrong one The article section is devoted to the case when cHash is EMPTY, so this case does not apply. Also in this case, TYPO3 will see that the cHash is not valid for the current parameter set and caching will be disabled altogether, which has the same effect as having an empty cHash. Cheers, Ernesto From kasper2005 at typo3.com Thu Oct 6 16:44:06 2005 From: kasper2005 at typo3.com (Kasper =?iso-8859-1?q?Sk=E5rh=F8j?=) Date: Thu, 6 Oct 2005 16:44:06 +0200 Subject: [Typo3-dev] Google problem : "page is being generated" In-Reply-To: References: Message-ID: Fine with me. Make sure that other cache-related headers are not send if you send these. You might have to toggle that with the flag that exposes that temp-content is delivered because from a technical point of view the 30-second notice is just a page cached for 30 seconds... - kasper On Wednesday 05 October 2005 18:11, Ren? Fritz wrote: > I collected the suggestions: > > ... > > > > > ... > > header('Status: 503 Service Unavailable'); > header('Retry-After: 30'); // 30 seconds is hardcoded but is ok I think > > header('Expires: -1'); > header('Cache-Control: post-check=0, pre-check=0'); > header('Pragma: no-cache'); > header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT'); > > > Is that right? > > I'm a bit unsure about the caching thing which has just changed a little > for the "Page is being generated" page. I have to ask Kasper. > > Ren? -- - kasper ----------------- Think future, not feature From kasper2005 at typo3.com Thu Oct 6 16:45:43 2005 From: kasper2005 at typo3.com (Kasper =?iso-8859-1?q?Sk=E5rh=F8j?=) Date: Thu, 6 Oct 2005 16:45:43 +0200 Subject: [Typo3-dev] Empty cHash problem In-Reply-To: References: Message-ID: > Wouldn't it also happen when > > a) ... > b) ... > c) a cHash is given but a wrong one Nope, it will not. The problem as described in that article is specifically dealing with an empty value of cHash. A value found will trigger a verification process that afaik works just fine. - kasper From elmar.hinz at vcd-berlin.de Thu Oct 6 17:03:58 2005 From: elmar.hinz at vcd-berlin.de (Elmar Hinz) Date: Thu, 06 Oct 2005 17:03:58 +0200 Subject: [Typo3-dev] Empty cHash problem In-Reply-To: References: Message-ID: > Empty cHash problem. Empty cache is never a problem, as it can be > filled. :) And if its empty, the empty cHash is not a problem, its just > a problem if the cache already filled! ??? Either this is not precise enough or tells something else then the article. There isn't a problem when the cache is already filled in the article. The problem is filling the empty cache with the right stuff. > > The problem, to sum up: > > When generating the page that will be cached where we have our USER > plugin. The plugin will output something based on the piVars (e.g. > display the detail view of the current record). If we don't take any > precaution, our output will always be cached too by TYPO3 (this is why > we are an USER object!). So the next requests, regardless of the > parameters, would display the same output as the first request, thus > making our parameters useless! Only the first request after clearing the > cache wins. So far it is right. Here we still have only one cache for all views. We have to avoid that in the first call already, by only > allowing TYPO3 to cache the output if we are sure that the parameter > combination is something can be checked against a valid cHash. Here seems to be a gap in your explenation. You still haven't created different chaches for different combinations of parameters. By the way. Is there a special table for caching views with additional parameters or is it the same table as for the old id + type combination? Which tables are they? Wich fields in the tables? > > >>It happens according to Kaspers article: >> >>a) when the cache is cleared for that page (is empty) >>b) when the first call comes with paramters that request a special view >>of the page >>c) when no cHash is given >> >>Wouldn't it also happen when >> >>a) ... >>b) ... >>c) a cHash is given but a wrong one > > > The article section is devoted to the case when cHash is EMPTY, so this > case does not apply. That is a quite philisophical answer. > > Also in this case, TYPO3 will see that the cHash is not valid for the > current parameter set and caching will be disabled altogether, which has > the same effect as having an empty cHash. That is exactly my thesis. The effect would be the same. Even if there isn't an empty cHash but an invalid one. > > Cheers, > Ernesto -- Climate change 2005: New Orleans, Sahel, Bangladesh, Spain, Portugal, Austria, Swiss, France, ... Production of CO2 is killing people. Production of CO2 just for fun is killing people just for fun. From typo3 at rvt.dds.nl Thu Oct 6 18:22:49 2005 From: typo3 at rvt.dds.nl (Ries van Twisk) Date: Thu, 06 Oct 2005 10:22:49 -0600 Subject: [Typo3-dev] RFC: TYPO3, Kickstarter and M-M database relations In-Reply-To: References: Message-ID: Arne Skjaerholt wrote: >I've run into some problems myself with this when developing. As you >said, I found a (reasonably) painless solution with LIKE. In my opinion >the best solution would be your option number three and removing all the >comma-separated stuff from the next version, but options one and two >might be good additions while the next version is being developed. > >Arne >:wq > >_______________________________________________ > > I don't understand how I can do a like to look for a relation. For example I have this list in a record: 345,6,17,231 How would I do a like query on this one to look for number for UID 1? Also, a query like this: LIKE ('%somedata%') cannot be optimized at the DB level because the RDBM cannot do a index scan but rather have to do a tablescan, means has to scan ALL records! I would love to see MM relations, unfortunatly I don't think that's possible anymore with typo3.... I have seen however that Kasper did some speed measurements and found that on mysql there is hardly no speed differences and so decided not to go for a relational DB setup. Ries From elmar.hinz at vcd-berlin.de Thu Oct 6 17:31:29 2005 From: elmar.hinz at vcd-berlin.de (Elmar Hinz) Date: Thu, 06 Oct 2005 17:31:29 +0200 Subject: [Typo3-dev] Empty cHash problem In-Reply-To: References: Message-ID: Kasper Sk?rh?j wrote: >>Wouldn't it also happen when >> >>a) ... >>b) ... >>c) a cHash is given but a wrong one > > > Nope, it will not. The problem as described in that article is specifically > dealing with an empty value of cHash. A value found will trigger a > verification process that afaik works just fine. > > - kasper Hello Kasper, Thank you for precise ansewer. I will reflect about this point. Let me kindley hint you in this occasion to a small vacancy in this exellent article, that is really an ey-opener upon caching. I found no hint how the cHash is added to the link in practice. In the first edition of the "TYPO3-Handbuch from Galileo Press" that led me to the assumtion that it would be created under 2 mayor conditions automatically: 1. the use of USER-Object 2. the use of typolink-function It is created automatically, but you need a third condition: 3. setting of useCacheHash-configuration for the typolink function or of cache=1 parameter for pi_link-functions respectively. That information will hopfully run already into the second print of the book. Best Regards Elmar -- Climate change 2005: New Orleans, Sahel, Bangladesh, Spain, Portugal, Austria, Swiss, France, ... Production of CO2 is killing people. Production of CO2 just for fun is killing people just for fun. From kasper2005 at typo3.com Thu Oct 6 17:39:01 2005 From: kasper2005 at typo3.com (Kasper =?iso-8859-1?q?Sk=E5rh=F8j?=) Date: Thu, 6 Oct 2005 17:39:01 +0200 Subject: [Typo3-dev] RFC: TYPO3, Kickstarter and M-M database relations In-Reply-To: References: Message-ID: For scanning a list of uids, there is a function in t3lib_db class that puts together four LIKE clauses. Works well. Regarding the principle of MM vs. uid lists I see your points but it is not an overnight change. The perspective of version 5 is possible, not anytime before. - kasper Think future, not feature From steffen at mail.kommwiss.fu-berlin.de Thu Oct 6 18:03:37 2005 From: steffen at mail.kommwiss.fu-berlin.de (=?ISO-8859-1?Q?Steffen_M=FCller?=) Date: Thu, 06 Oct 2005 18:03:37 +0200 Subject: [Typo3-dev] Google problem : "page is being generated" In-Reply-To: References: Message-ID: Hi. On 05.10.2005 18:11 Ren? Fritz wrote: > > header('Status: 503 Service Unavailable'); > header('Retry-After: 30'); // 30 seconds is hardcoded but is ok I think > This is syntactically right. My prefered way would be to simply keep the session alive until the page is generated and then deliver it. (Set a timeout of 30 seconds if you like to). No "please wait" page, no HTTP response until the page is generated. Maybe as an option in the install-tool? -- cheers, Steffen From ernst at cron-it.de Thu Oct 6 18:03:55 2005 From: ernst at cron-it.de (Ernesto Baschny [cron IT]) Date: Thu, 06 Oct 2005 18:03:55 +0200 Subject: [Typo3-dev] Empty cHash problem In-Reply-To: References: Message-ID: Elmar Hinz schrieb am 06.10.2005 17:03: >> Empty cHash problem. Empty cache is never a problem, as it can be >> filled. :) And if its empty, the empty cHash is not a problem, its just >> a problem if the cache already filled! > Either this is not precise enough or tells something else then the > article. There isn't a problem when the cache is already filled in the > article. The problem is filling the empty cache with the right stuff. If the cache is empty, it will be filled by the first attempt to request the given page. The problem is if we fill the cache, but the content is not really meant to be cached for that combination of parameters. In the article, this results in: It is not only confusing but altogether impossible to see the archive list because its place in the cache is taken by the article until someone clears the cache! So clearly this is implying that the cache was filled improperly, which is what I tried to "sum up" below: >> The problem, to sum up: >> >> When generating the page that will be cached where we have our USER >> plugin. The plugin will output something based on the piVars (e.g. >> display the detail view of the current record). If we don't take any >> precaution, our output will always be cached too by TYPO3 (this is why >> we are an USER object!). So the next requests, regardless of the >> parameters, would display the same output as the first request, thus >> making our parameters useless! Only the first request after clearing the >> cache wins. > So far it is right. Here we still have only one cache for all views. >> We have to avoid that in the first call already, by only >> allowing TYPO3 to cache the output if we are sure that the parameter >> combination is something can be checked against a valid cHash. > Here seems to be a gap in your explenation. You still haven't created > different chaches for different combinations of parameters. That's exactly the problem: if we allow TYPO3 to cache our output and we are an USER object, we won't get a second chance to generate other output for different views if we don't tell TYPO3 that we have different views (by linking to our second view with a cHash parameter, see previous thread). So every call to the same page that contains our plugin will return the same content, regardless of the parameters. This is why we (as a plugin writer) need to make sure that the cHash is being checked (if present, TYPO3 will check it on its own, if not present or empty, TYPO3 needs the plugins to inform if a checking is needed, which is what this section of the article is about). > By the way. Is there a special table for caching views with additional > parameters or is it the same table as for the old id + type combination? > Which tables are they? Wich fields in the tables? Its the same table, as the cache already uses different combination of parameters for caching the same page (e.g for different types). The table is cache_pages, the content is in the HTML field. You will have a huge configuration array in cache_data, which unserialized will also tell you (amongst other) the piVar-parameters that were used to create this cache request. But what TYPO3 uses to see which record to get is the md5-hash of a series of information (fe_group, parameters, type, language, etc), which will be compared against the "hash" field. >> The article section is devoted to the case when cHash is EMPTY, so this >> case does not apply. > That is a quite philisophical answer. Hehe, not really, because if cHash is not empty, the plugin writer doesn't have to do anything, because TYPO3 will already take care of it. This is why it's not really part of this section of the article, which deals with stuff that a plugin writer needs to do, and why its so. > That is exactly my thesis. The effect would be the same. Even if there > isn't an empty cHash but an invalid one. Right, just that with invalid ones the plugin writer won't even be bothered with it, which is not the case if there is no, or an empty cHash value. Cheers, Ernesto PS: hey, first posting of Kasper after 6 months absense of typo3-dev! Welcome back, Kasper! :) From niederlag at ikd01.de Thu Oct 6 18:13:12 2005 From: niederlag at ikd01.de (Peter Niederlag) Date: Thu, 06 Oct 2005 18:13:12 +0200 Subject: [Typo3-dev] RFC: TYPO3, Kickstarter and M-M database relations In-Reply-To: References: Message-ID: Hi, Kasper Sk?rh?j schrieb: > For scanning a list of uids, there is a function in t3lib_db class that puts > together four LIKE clauses. Works well. > > Regarding the principle of MM vs. uid lists I see your points but it is not an > overnight change. Of course I understand that. But the longer the Kickstarter produces uid lists by default the more things to clean in the future. > The perspective of version 5 is possible, not anytime > before. Top prio would be imho to assure that any new tables, fields introduced are using true MM-relations. That is my main concern. Second prio should be a good analysis if there is a need or wish to change old structure to new design in Version 5. To strengthen the point again: Imho we should change Kickstarter's default-behaviour *now* (read: as soon as possible) and take any other measures any time later. Cheers and thx, Peter -- Peter Niederlag http://www.niekom.de * TYPO3 & EDV Dienstleistungen * http://www.typo3partner.net * professional services network * From kasper2005 at typo3.com Thu Oct 6 17:41:10 2005 From: kasper2005 at typo3.com (Kasper =?iso-8859-1?q?Sk=E5rh=F8j?=) Date: Thu, 6 Oct 2005 17:41:10 +0200 Subject: [Typo3-dev] Empty cHash problem In-Reply-To: References: Message-ID: thanks Elmar, I'm happy that only this minor lack is found :-) I'm not sure I will find time to update the article myself though. - kasper On Thursday 06 October 2005 17:31, Elmar Hinz wrote: > Kasper Sk?rh?j wrote: > >>Wouldn't it also happen when > >> > >>a) ... > >>b) ... > >>c) a cHash is given but a wrong one > > > > Nope, it will not. The problem as described in that article is > > specifically dealing with an empty value of cHash. A value found will > > trigger a verification process that afaik works just fine. > > > > - kasper > > Hello Kasper, > > Thank you for precise ansewer. I will reflect about this point. > > Let me kindley hint you in this occasion to a small vacancy in this > exellent article, that is really an ey-opener upon caching. > > I found no hint how the cHash is added to the link in practice. In the > first edition of the "TYPO3-Handbuch from Galileo Press" that led me to > the assumtion that it would be created under 2 mayor conditions > automatically: > > 1. the use of USER-Object > 2. the use of typolink-function > > It is created automatically, but you need a third condition: > > 3. setting of useCacheHash-configuration for the typolink function or of > cache=1 parameter for pi_link-functions respectively. > > That information will hopfully run already into the second print of the > book. > > Best Regards > > Elmar -- - kasper ----------------- Think future, not feature From kasper2005 at typo3.com Thu Oct 6 18:32:24 2005 From: kasper2005 at typo3.com (Kasper =?iso-8859-1?q?Sk=E5rh=F8j?=) Date: Thu, 6 Oct 2005 18:32:24 +0200 Subject: [Typo3-dev] RFC: TYPO3, Kickstarter and M-M database relations In-Reply-To: References: Message-ID: The kickstarter is Daniel Br?n / Ingmar Schlechts work. I think changing the _default_ behaviour is a good idea (still have possibility of uid-lists of course). - kasper On Thursday 06 October 2005 18:13, Peter Niederlag wrote: > Hi, > > Kasper Sk?rh?j schrieb: > > For scanning a list of uids, there is a function in t3lib_db class that > > puts together four LIKE clauses. Works well. > > > > Regarding the principle of MM vs. uid lists I see your points but it is > > not an overnight change. > > Of course I understand that. But the longer the Kickstarter produces uid > lists by default the more things to clean in the future. > > > The perspective of version 5 is possible, not anytime > > before. > > Top prio would be imho to assure that any new tables, fields introduced > are using true MM-relations. That is my main concern. > > Second prio should be a good analysis if there is a need or wish to > change old structure to new design in Version 5. > > To strengthen the point again: > Imho we should change Kickstarter's default-behaviour *now* (read: as > soon as possible) and take any other measures any time later. > > Cheers and thx, > Peter -- - kasper ----------------- Think future, not feature From elmar.hinz at vcd-berlin.de Thu Oct 6 18:43:29 2005 From: elmar.hinz at vcd-berlin.de (Elmar Hinz) Date: Thu, 06 Oct 2005 18:43:29 +0200 Subject: [Typo3-dev] Empty cHash problem In-Reply-To: References: Message-ID: Kasper Sk?rh?j wrote: > thanks Elmar, I'm happy that only this minor lack is found :-) > > I'm not sure I will find time to update the article myself though. > > - kasper > Maybe Robert findes the time to spread this information in http://typo3.org/development/articles/using-links-in-frontend-plugins/ Elmar -- Climate change 2005: New Orleans, Sahel, Bangladesh, Spain, Portugal, Austria, Swiss, France, ... Production of CO2 is killing people. Production of CO2 just for fun is killing people just for fun. From intsys at swissinfo.org Thu Oct 6 20:38:08 2005 From: intsys at swissinfo.org (Stefan Beylen) Date: Thu, 06 Oct 2005 20:38:08 +0200 Subject: [Typo3-dev] Use T3 Database records for external applications Message-ID: Hello list, I want to use some tables filled with records from my T3 installation in an external PHP application (non-t3) Problem that I have is that t3 uses special tags such as 4ex Hi all, I'm having the hardest time finding a solution for this. I have a lot of pages that are only viewable if you are a logged-in user; however, I want those pages to show up in my menus, regardless of whether a user is logged in or not. When the user hits the page, I want to redirect to my loginbox, and then redirect them back to the page they were on after they log in. However, I just can't figure out a way to display pages regardless of their access. I've tried TypoScript and also hacking some of the core engine code, to no avail. I feel like this is something I need to hack in the core, which is why I'm posting to the dev list. Any suggestions would be greatly appreciated. Thanks, Keith From keith_morrison at dfci.harvard.edu Fri Oct 7 00:06:33 2005 From: keith_morrison at dfci.harvard.edu (Keith Morrison) Date: Thu, 06 Oct 2005 18:06:33 -0400 Subject: [Typo3-dev] Display page in menu, regardless of login status. In-Reply-To: References: Message-ID: Keith Morrison wrote: > Hi all, > > I'm having the hardest time finding a solution for this. I have a lot > of pages that are only viewable if you are a logged-in user; however, I > want those pages to show up in my menus, regardless of whether a user is > logged in or not. When the user hits the page, I want to redirect to my > loginbox, and then redirect them back to the page they were on after > they log in. However, I just can't figure out a way to display pages > regardless of their access. I've tried TypoScript and also hacking some > of the core engine code, to no avail. I feel like this is something I > need to hack in the core, which is why I'm posting to the dev list. Any > suggestions would be greatly appreciated. > > Thanks, > Keith I apologize for responding to myself, but I did find a note in the CVS log from 2005-4-21 by Kasper that seems to describe the ability to do this, but I can't find any follow up information on it. The revision note is on this page: http://cvs.sourceforge.net/viewcvs.py/typo3/TYPO3core/ChangeLog?rev=1.258 Thanks again, Keith From roger at redgumsoaps.com.au Fri Oct 7 00:12:29 2005 From: roger at redgumsoaps.com.au (Roger Bunyan) Date: Fri, 07 Oct 2005 08:12:29 +1000 Subject: [Typo3-dev] Display page in menu, regardless of login status. In-Reply-To: References: Message-ID: Keith Morrison wrote: >Hi all, > >I'm having the hardest time finding a solution for this. I have a lot >of pages that are only viewable if you are a logged-in user; however, I >want those pages to show up in my menus, regardless of whether a user is >logged in or not. > This might sound simple but why don't you set the page access to everyone but the content elements to the logged in usergroup. Put a login box with the setting "hide at login". -- Roger Bunyan Redgum Soaps http://redgumsoaps.com.au Sustainability will be achieved by a cultural change, not by technology. From typo3 at rvt.dds.nl Fri Oct 7 01:24:30 2005 From: typo3 at rvt.dds.nl (Ries van Twisk) Date: Thu, 06 Oct 2005 17:24:30 -0600 Subject: [Typo3-dev] using sys_history Message-ID: Dear list, is the a class set or functions to use the sys_history tables? I need to record changes in my database that are done in my extentions. cheers, Ries From elmar.hinz at vcd-berlin.de Fri Oct 7 00:34:06 2005 From: elmar.hinz at vcd-berlin.de (Elmar Hinz) Date: Fri, 07 Oct 2005 00:34:06 +0200 Subject: [Typo3-dev] Empty cHash problem In-Reply-To: References: Message-ID: Elmar Hinz wrote: > Kasper Sk?rh?j wrote: > >>> Wouldn't it also happen when >>> >>> a) ... >>> b) ... >>> c) a cHash is given but a wrong one >> >> >> >> Nope, it will not. The problem as described in that article is >> specifically dealing with an empty value of cHash. A value found will >> trigger a verification process that afaik works just fine. >> >> - kasper > > > Hello Kasper, > > Thank you for precise ansewer. I will reflect about this point. > O.k. I got the point now. If an invalid cHash is discoverd, caching is disabled. The content can still be delivered dynamically but it isn't cached. In case the enemy had changed ?&tx_myext[uid]=9876554321? in order to spam our cache table the resulting hash string generated will with all probability not match ?13b5d6efa7?: Page caching will be disabled immediately, but the page will still be generated trying to display news item 9876554321 (which probably does not exist, but so what? The cache table is not loaded with that...) Now for delivery (not for caching): What happens if: a) the additional parameters are sensible b) the according view is already cachecd c) but the cHash is empty or wrong (because of a defect external link) 1.) Is the view created dynamically? 2.) Is it deliverd from the cache? Elmar -- Climate change 2005: New Orleans, Sahel, Bangladesh, Spain, Portugal, Austria, Swiss, France, ... Production of CO2 is killing people. Production of CO2 just for fun is killing people just for fun. From elmar.hinz at vcd-berlin.de Fri Oct 7 01:09:18 2005 From: elmar.hinz at vcd-berlin.de (Elmar Hinz) Date: Fri, 07 Oct 2005 01:09:18 +0200 Subject: [Typo3-dev] Empty cHash problem In-Reply-To: References: Message-ID: > >>Either this is not precise enough or tells something else then the >>article. There isn't a problem when the cache is already filled in the >>article. The problem is filling the empty cache with the right stuff. > > > If the cache is empty, it will be filled by the first attempt to request > the given page. The problem is if we fill the cache, but the content is > not really meant to be cached for that combination of parameters. In the > article, this results in: > There we met. That's what I said. > checked (if present, TYPO3 will check it on its own, if not present or > empty, TYPO3 needs the plugins to inform if a checking is needed, which > is what this section of the article is about). > > It is informed by setting the useCacheHash paramter in the plugin. Still I don't make friendship with this concept. Programmers could forget to set it. Why can't it be done automatically for USER-objects? First checking if there are more parameters then type and id. And if so requireing a valid cHash before any saving action takes part, to say it shortend. I know there could be some other parameters around like the L-Parameter for languages. But that information could be fetched from TypoScript Setup. > > >>That is exactly my thesis. The effect would be the same. Even if there >>isn't an empty cHash but an invalid one. > > > Right, just that with invalid ones the plugin writer won't even be > bothered with it, which is not the case if there is no, or an empty > cHash value. > And why? Because if a wrong cHash is discoverd, caching is disabled at all. That point I missed. I imagined parametes would be thrown away, so that it would behave like no parameters at all. Best regards Elmar -- Climate change 2005: New Orleans, Sahel, Bangladesh, Spain, Portugal, Austria, Swiss, France, ... Production of CO2 is killing people. Production of CO2 just for fun is killing people just for fun. From arnsholt at broadpark.no Fri Oct 7 03:07:17 2005 From: arnsholt at broadpark.no (Arne Skjaerholt) Date: Fri, 07 Oct 2005 03:07:17 +0200 Subject: [Typo3-dev] RFC: TYPO3, Kickstarter and M-M database relations In-Reply-To: References: Message-ID: > For example I have this list in a record: > 345,6,17,231 > How would I do a like query on this one to look for number for UID 1? Now that you mention it, I remember that I didn't use LIKE, LIKE couldn't do that particular task, so I used REGEXP instead (I think that's a MySQL extension tho'). I just looked at my code, and here's how I did it: SELECT field FROM table WHERE comma_field REGEXP '(^|,)$uid(,|$)' It's kinda ugly, but it does the job. > Also, a query like this: LIKE ('%somedata%') cannot be optimized at the > DB level > because the RDBM cannot do a index scan but rather have to do a > tablescan, means has to scan ALL records! > > I would love to see MM relations, > unfortunatly I don't think that's possible anymore with typo3.... > > I have seen however that Kasper did some speed measurements and found > that on mysql there is > hardly no speed differences and so decided not to go for a relational DB > setup. The speed difference being negligeable is good at least, but there are two reasons I don't really like the current solution: 1) It's poor DB design. In fact, it's the kind of DB design I'd expect from "home-brew" software, not professional grade software. 2) Certain operations that could be done with a JOIN in a proper MM-relation enviroment are simply impossible to do without first selecting the usergroups field of a user (to take the example I worked with), splitting the string into an array, and then executing a second query to get the data you were looking for. Arne :wq From mathias.schreiber at wmdb.de Fri Oct 7 08:38:26 2005 From: mathias.schreiber at wmdb.de (Mathias Schreiber [wmdb]) Date: Fri, 07 Oct 2005 08:38:26 +0200 Subject: [Typo3-dev] RFC: TYPO3, Kickstarter and M-M database relations In-Reply-To: References: Message-ID: Peter Niederlag wrote: > Top prio would be imho to assure that any new tables, fields introduced > are using true MM-relations. That is my main concern. > > Second prio should be a good analysis if there is a need or wish to > change old structure to new design in Version 5. > > To strengthen the point again: > Imho we should change Kickstarter's default-behaviour *now* (read: as > soon as possible) and take any other measures any time later. Do you plan a structure like this: pages be_users mm_pages_beusers for each relation or do you plan something like one big mm table for all relations? t3_mm ----------------------------------------------------- |mm_field_1|mm_field_2|mm_table_1|mm_table_2|sorting| ----------------------------------------------------- I have to admin that personally I like databases with less tables better. Indexing should work with the "single-table-config". You keep "sorting" in mind? peace Mathias -- if ($GLOBALS['TSFE']->fe_user->user['ahnung'] == 0) { $this->fresseHalten = 1; } From mathias.schreiber at wmdb.de Fri Oct 7 08:39:32 2005 From: mathias.schreiber at wmdb.de (Mathias Schreiber [wmdb]) Date: Fri, 07 Oct 2005 08:39:32 +0200 Subject: [Typo3-dev] Use T3 Database records for external applications In-Reply-To: References: Message-ID: Stefan Beylen wrote: > Hello list, > > I want to use some tables filled with records from my T3 installation in > an external PHP application (non-t3) > > Problem that I have is that t3 uses special tags such as 4ex instead of getPageLink From there follow the path to (I think) tslib_cobj->typolink and check out what Agent K did there. -- if ($GLOBALS['TSFE']->fe_user->user['ahnung'] == 0) { $this->fresseHalten = 1; } From jer at moccompany.com Fri Oct 7 09:08:24 2005 From: jer at moccompany.com (Jan-Erik Revsbech) Date: Fri, 7 Oct 2005 09:08:24 +0200 Subject: [Typo3-dev] RFC: TYPO3, Kickstarter and M-M database relations References: Message-ID: >> How would I do a like query on this one to look for number for UID 1? > > Now that you mention it, I remember that I didn't use LIKE, LIKE > couldn't do that particular task, That is not true. Making af call to $GLOBALS['TYPO3_DB']->listQuery($field,$value,$table) will return you ($field LIKE "%$value,%" OR $field LIKE "%$,value%" OR $field =$value) In the above case ($field LIKE "%1,%" OR $field LIKE "%$,1%" OR $field =1) which will do the trick. And it is up to DBAL($GLBOALS['TYPO3_DB']) to make WHERE clause that will work on a particular database. Alternativley you could use the MySQL function FIND_IN_SET which alow works, but is not SQL standard. I do agree however, that MM tables are much better. In a specific example we had 22.000 BE usergroups nested into eachother (child-parent relation is a comma list in table be_groups), and it was very clear that all queries on the be_groups table were significantly slowing down the system. We changed to mm relation instead and now everything worked fine. I agree that we should try to avoid have to many comma list in the core, but I agree that is is a big task. /Jan-Erik From thorsten.kahler at dkd.de Fri Oct 7 10:04:02 2005 From: thorsten.kahler at dkd.de (Thorsten Kahler) Date: Fri, 07 Oct 2005 10:04:02 +0200 Subject: [Typo3-dev] Use T3 Database records for external applications In-Reply-To: References: Message-ID: Hi Mattes, I think Agent K introduced tslib_cObj::parseFunc(), didn't he? Regards Thorsten Mathias Schreiber [wmdb] wrote: > Stefan Beylen wrote: >> Hello list, >> >> I want to use some tables filled with records from my T3 installation >> in an external PHP application (non-t3) >> >> Problem that I have is that t3 uses special tags such as 4ex > instead of > take a look as tslib_pibase->getPageLink > From there follow the path to (I think) tslib_cobj->typolink and check > out what Agent K did there. > From intsys at swissinfo.org Fri Oct 7 10:12:59 2005 From: intsys at swissinfo.org (Stefan Beylen) Date: Fri, 07 Oct 2005 10:12:59 +0200 Subject: [Typo3-dev] Use T3 Database records for external applications In-Reply-To: References: Message-ID: Thorsten Kahler wrote: > I think Agent K introduced tslib_cObj::parseFunc(), didn't he? ok, thanks...I know that parseFunc is used...anyway, its kinda overkill for what I need it for though...a few simple str_replaces/regexps also do the job... ;) Thx for your help though, I was hoping for a more simple solution :) ...not needed anymore as I am already almost finished... thx! From niederlag at ikd01.de Fri Oct 7 10:18:22 2005 From: niederlag at ikd01.de (Peter Niederlag) Date: Fri, 07 Oct 2005 10:18:22 +0200 Subject: [Typo3-dev] RFC: TYPO3, Kickstarter and M-M database relations In-Reply-To: References: Message-ID: Hi, Mathias Schreiber [wmdb] schrieb: > Peter Niederlag wrote: > >> Top prio would be imho to assure that any new tables, fields introduced >> are using true MM-relations. That is my main concern. >> >> Second prio should be a good analysis if there is a need or wish to >> change old structure to new design in Version 5. >> >> To strengthen the point again: >> Imho we should change Kickstarter's default-behaviour *now* (read: as >> soon as possible) and take any other measures any time later. > > > Do you plan a structure like this: > pages > be_users > mm_pages_beusers > > for each relation or do you plan something like one big mm table for all > relations? IMHO it might be too early now to pin down a solution. But this ^^ approach can be handled already pretty good by TYPO3-core imho. > t3_mm > ----------------------------------------------------- > |mm_field_1|mm_field_2|mm_table_1|mm_table_2|sorting| > ----------------------------------------------------- > > I have to admin that personally I like databases with less tables better. > Indexing should work with the "single-table-config". >From the feedback I think there are a bunch of people that like to see TYPO3 follow the guidelines of well known DB-Design matters. > You keep "sorting" in mind? As said, it might be to early now to talk about any changes that we want to see in Version 5. Right now I think we got some awareness for the problem, and also some good points, *why* it is quite important in the long-time. So, go for true M-M with anything newly introduced and change default of Kickstarter *now*. Everything else we will see when time is appropriate. My 2 cents, Peter -- Peter Niederlag http://www.niekom.de * TYPO3 & EDV Dienstleistungen * http://www.typo3partner.net * professional services network * From kasper2005 at typo3.com Fri Oct 7 10:32:46 2005 From: kasper2005 at typo3.com (Kasper =?iso-8859-1?q?Sk=E5rh=F8j?=) Date: Fri, 7 Oct 2005 10:32:46 +0200 Subject: [Typo3-dev] RFC: TYPO3, Kickstarter and M-M database relations In-Reply-To: References: Message-ID: > 1) It's poor DB design. In fact, it's the kind of DB design I'd expect > from "home-brew" software, not professional grade software. It's a legacy solution from a time when we didn't have tools to manage easily the tables in the database. However it has prevailed because in many cases it is actually a quite handy and pragmatic way of getting things done, beautiful or not. Also figure; We introduced MM-tables for exactly the reason that we could use both methods (but this was post-be/fe-users which is why THEY still carry the old way with them). - k From kasper2005 at typo3.com Fri Oct 7 10:40:54 2005 From: kasper2005 at typo3.com (Kasper =?utf-8?q?Sk=C3=A5rh=C3=B8j?=) Date: Fri, 7 Oct 2005 10:40:54 +0200 Subject: [Typo3-dev] Display page in menu, regardless of login status. In-Reply-To: References: Message-ID: Hi Keith, If this is not already in TSref I apologize that I didn't publish it yet - will do so today maybe. For the menu objects (eg. TMENU/GMENU) you have this property to set in TypoScript, that is what I referred to 21/4 this year: showAccessRestrictedPages integer (page id) / keyword ???NONE??? If set, pages in the menu will include pages with frontend user group access enabled. However the page is of course not accessible and therefore the URL in the menu will be linked to the page with the ID of this value. On that page you could put a login form or other message. If the value is ???NONE??? the link will not be changed and the site will perform page-not-found handling when clicked (which can be used to capture the event and act accordingly of course). Properties: .addParam = Additional parameter for the URL, which can hold two markers; ###RETURN_URL### which will be substituted with the link the page would have had if it had been accessible and ###PAGE_ID### holding the page id of the page coming from (could be used to look up which fe_groups was required for access. Example: showAccessRestrictedPages = 22 showAccessRestrictedPages.addParams = &return_url=###RETURN_URL###&pageId=###PAGE_ID### The example will link access restricted menu items to page id 22 with the return URL in the GET var ???return_url??? and the page id in the GET var ???pageId???. k On Friday 07 October 2005 00:06, Keith Morrison wrote: > Keith Morrison wrote: > > Hi all, > > > > I'm having the hardest time finding a solution for this. I have a lot > > of pages that are only viewable if you are a logged-in user; however, I > > want those pages to show up in my menus, regardless of whether a user is > > logged in or not. When the user hits the page, I want to redirect to my > > loginbox, and then redirect them back to the page they were on after > > they log in. However, I just can't figure out a way to display pages > > regardless of their access. I've tried TypoScript and also hacking some > > of the core engine code, to no avail. I feel like this is something I > > need to hack in the core, which is why I'm posting to the dev list. Any > > suggestions would be greatly appreciated. > > > > Thanks, > > Keith > > I apologize for responding to myself, but I did find a note in the CVS > log from 2005-4-21 by Kasper that seems to describe the ability to do > this, but I can't find any follow up information on it. The revision > note is on this page: > http://cvs.sourceforge.net/viewcvs.py/typo3/TYPO3core/ChangeLog?rev=1.258 > > Thanks again, > Keith > _______________________________________________ > Typo3-dev mailing list > Typo3-dev at lists.netfielders.de > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev -- - kasper ----------------- Think future, not feature From intsys at swissinfo.org Fri Oct 7 10:56:54 2005 From: intsys at swissinfo.org (Stefan Beylen) Date: Fri, 07 Oct 2005 10:56:54 +0200 Subject: [Typo3-dev] Use T3 Database records for external applications In-Reply-To: References: Message-ID: Stefan Beylen wrote: > ...not needed anymore as I am already almost finished... maybe it is useful for someone else... p.s.: I disallowed my editors all other options in the RTE, so in my case this is all thats needed ;) p.p.s: I am no Regexp-ert (as probably most can see) ---8<------ function RTEtransform($text){ if (substr($text,4)!="") $text=$text."

"; return $text; } ---8<------ From elmar.hinz at vcd-berlin.de Fri Oct 7 11:00:08 2005 From: elmar.hinz at vcd-berlin.de (Elmar Hinz) Date: Fri, 07 Oct 2005 11:00:08 +0200 Subject: [Typo3-dev] RFC: TYPO3, Kickstarter and M-M database relations In-Reply-To: References: Message-ID: > > > From the feedback I think there are a bunch of people that like to see > TYPO3 follow the guidelines of well known DB-Design matters. > > I am for clean patterns, too. Most variations from it, that seem usefull on first glance tend to produce problems at last. On the long run there should also be some refacturing on tt_content, I think, wich somehow contains several entities in one table. Maybe for Version 8.3.7. Regards Elmar -- Climate change 2005: New Orleans, Sahel, Bangladesh, Spain, Portugal, Austria, Swiss, France, ... Production of CO2 is killing people. Production of CO2 just for fun is killing people just for fun. From elmar.hinz at vcd-berlin.de Fri Oct 7 11:25:51 2005 From: elmar.hinz at vcd-berlin.de (Elmar Hinz) Date: Fri, 07 Oct 2005 11:25:51 +0200 Subject: [Typo3-dev] Empty cHash problem In-Reply-To: References: Message-ID: > > >>By the way. Is there a special table for caching views with additional >>parameters or is it the same table as for the old id + type combination? >>Which tables are they? Wich fields in the tables? > > > Its the same table, as the cache already uses different combination of > parameters for caching the same page (e.g for different types). The > table is cache_pages, the content is in the HTML field. You will have a > huge configuration array in cache_data, which unserialized will also > tell you (amongst other) the piVar-parameters that were used to create > this cache request. But what TYPO3 uses to see which record to get is > the md5-hash of a series of information (fe_group, parameters, type, > language, etc), which will be compared against the "hash" field. > > Thank you very much. We find some other cache tables: cache_pages : Our cached content cache_hash : ??? cache_imagesizes: caches imagesizes, so they don't need to be remeasured for html output cache_md5params: ??? cache_pagesection: ??? Elmar -- Climate change 2005: New Orleans, Sahel, Bangladesh, Spain, Portugal, Austria, Swiss, France, ... Production of CO2 is killing people. Production of CO2 just for fun is killing people just for fun. From traveler_in_time at gmx.net Fri Oct 7 12:25:52 2005 From: traveler_in_time at gmx.net (S. Teuber) Date: Fri, 7 Oct 2005 10:25:52 +0000 (UTC) Subject: [Typo3-dev] RFC: TYPO3, Kickstarter and M-M database relations References: Message-ID: Hi Peter, just for feedback: I agree with you in all points in this matter (kinda "global +1" ;-). IMO the database structure needs even more improvements, for example keeping all those extension-added fields out of tt_content and putting them in an extra table (tt_content_ext), because tt_content gets kinda HUGE and difficult to survey if you have a large site which uses many extensions. Plus, you get all the overhead from the additional fields even on (most of the times the majority of) pages that don't use any extension, which affects performance. Of course, not only the database, but TCEForms as well needed to be adapted to handle the more complex table structures, so this is a long time task for version 7 or 8 at best... Frankly, I missed the ability to edit related tables in *one* TCEForm in quite a few projects, always ending up by making the database design worse to fit TYPO3's needs. I'm not alone with this need; we had some threads about this in Typo3-dev recently, as you might remember, i.e. the "'virtual tables' with tca?"-thread in May/June. Sven From Martin.Kutschker at n0spam-blackbox.net Fri Oct 7 13:37:37 2005 From: Martin.Kutschker at n0spam-blackbox.net (Martin Kutschker) Date: Fri, 07 Oct 2005 13:37:37 +0200 Subject: [Typo3-dev] RFC: TYPO3, Kickstarter and M-M database relations In-Reply-To: References: Message-ID: S. Teuber schrieb: > Hi Peter, > > just for feedback: I agree with you in all points in this matter (kinda > "global +1" ;-). > > IMO the database structure needs even more improvements, for example > keeping all those extension-added fields out of tt_content and putting them > in an extra table (tt_content_ext), because tt_content gets kinda HUGE and > difficult to survey if you have a large site which uses many extensions. You would either clutter up tt_content_ext or would get lots of additional tt_content_ext_* tables. The former would give you no performance gain, because the table would have to joined with tt_content for normal content rendering. The latter would mean an even greater perfomance loss as you would have to make a new SELECT for each content element. Use flexforms if you need more fields if you're worried about the number of fields in tt_content. Unfortunately flexforms are flexible but don't work well in a Typoscript context. And they cannot be configured by page TS. :-( Still, they are a useful and powerful option for plugins. We should IMHO rather think about improving them, than about addin new tables. Masi From niederlag at ikd01.de Fri Oct 7 14:02:58 2005 From: niederlag at ikd01.de (Peter Niederlag) Date: Fri, 07 Oct 2005 14:02:58 +0200 Subject: [Typo3-dev] Flexforms and Typoscript [was: Re: RFC: TYPO3, Kickstarter and M-M database relations] In-Reply-To: References: Message-ID: Hi, Martin Kutschker schrieb: [...] > Unfortunately flexforms are flexible but don't work well in a Typoscript > context. And they cannot be configured by page TS. :-( I my flexform pi's I do "flatten" all flexform-fields and values and add them to $this->cObject->data. That way you can easily use the values in Typoscript in a pretty flexible way. More details or an example can be obtained by PM. Cheers, Peter -- Peter Niederlag http://www.niekom.de * TYPO3 & EDV Dienstleistungen * http://www.typo3partner.net * professional services network * From Martin.Kutschker at n0spam-blackbox.net Fri Oct 7 14:53:34 2005 From: Martin.Kutschker at n0spam-blackbox.net (Martin Kutschker) Date: Fri, 07 Oct 2005 14:53:34 +0200 Subject: [Typo3-dev] Flexforms and Typoscript [was: Re: RFC: TYPO3, Kickstarter and M-M database relations] In-Reply-To: References: Message-ID: Peter Niederlag schrieb: > Hi, > > Martin Kutschker schrieb: > [...] > >>Unfortunately flexforms are flexible but don't work well in a Typoscript >>context. And they cannot be configured by page TS. :-( > > > I my flexform pi's I do "flatten" all flexform-fields and values and add > them to $this->cObject->data. Well, there's even an API for that (in pi_base). I know and am quite happy with it. > That way you can easily use the values in Typoscript in a pretty > flexible way. Sure. I said nothing about using them in plugins. There they are great and their only drawback is the performance issue due xml parsing. The problems are elsewhere: You cannot use their contents in TS, eg. getData worls only on real/record fields. And you cannot remove them from the UI in the BE via page TS. You cannot set defaults via TS etc. Masi From traveler_in_time at gmx.net Fri Oct 7 15:00:00 2005 From: traveler_in_time at gmx.net (S. Teuber) Date: Fri, 7 Oct 2005 13:00:00 +0000 (UTC) Subject: [Typo3-dev] RFC: TYPO3, Kickstarter and M-M database relations References: Message-ID: Hi Martin, > You would either clutter up tt_content_ext or would get lots of > additional tt_content_ext_* tables. > > The former would give you no performance gain, because the table would > have to joined with tt_content for normal content rendering. Not if there is some "logic" that determines if additional extension fields are needed at all. But then we'd propably have to distinguish extensions that add something to a regular content element (except "insert plugin") from those that add completely new, own elements... I see that the whole issue needs some more fundamental thinking, but I'd rather not drop it lightly. > Use flexforms if you need more fields if you're worried about the > number of fields in tt_content. It's not about what *I* do, since most of the frequently used extensions aren't maintained by me - schade eigentlich ;-) Besides, I dislike the fact that a flexform field needs to be parsed to get to the actual data. If I got, say, 4 "items" like "view", "sort by", "sort order", "categories" (yes, these are taken from tt_news ;), I'd rather store them in 4 fields than in one field using XML - for easy access without the need for an XML parser. After all, TYPO3 may not be the only application using the database structure. Gotta admit that flexforms are really cool in the TCEforms, though. ;) Sven From mathias.schreiber at wmdb.de Fri Oct 7 15:05:22 2005 From: mathias.schreiber at wmdb.de (Mathias Schreiber [wmdb]) Date: Fri, 07 Oct 2005 15:05:22 +0200 Subject: [Typo3-dev] RFC: TYPO3, Kickstarter and M-M database relations In-Reply-To: References: Message-ID: S. Teuber wrote: > After all, TYPO3 may not be the only application > using the database structure. BLASPHEMIE!!! ;-) -- if ($GLOBALS['TSFE']->fe_user->user['ahnung'] == 0) { $this->fresseHalten = 1; } From ernst at cron-it.de Fri Oct 7 15:15:39 2005 From: ernst at cron-it.de (Ernesto Baschny [cron IT]) Date: Fri, 07 Oct 2005 15:15:39 +0200 Subject: [Typo3-dev] cache tables (was: Re: Empty cHash problem) In-Reply-To: References: Message-ID: Elmar Hinz schrieb am 07.10.2005 11:25: >>> By the way. Is there a special table for caching views with additional >>> parameters or is it the same table as for the old id + type combination? >>> Which tables are they? Wich fields in the tables? >> Its the same table, as the cache already uses different combination of >> parameters for caching the same page (e.g for different types). The >> table is cache_pages, the content is in the HTML field. You will have a >> huge configuration array in cache_data, which unserialized will also >> tell you (amongst other) the piVar-parameters that were used to create >> this cache request. But what TYPO3 uses to see which record to get is >> the md5-hash of a series of information (fe_group, parameters, type, >> language, etc), which will be compared against the "hash" field. > Thank you very much. We find some other cache tables: > > cache_pages : Our cached content > cache_hash : ??? I would call cache_hash as a "general purpose cache table". You can store anything inside it, and retrieve it later by its md5-hash value. Its used by the core to cache parsed TypoScript, parsed menu structures, etc. See t3lib_pageSelect::getHash() and t3lib_pageSelect::storeHash() to use them on your own. > cache_imagesizes: caches imagesizes, so they don't need to be remeasured > for html output > cache_md5params: ??? As far as I understood it, its used by SimulateStatic for caching the the parameters of an URL. The md5 is calculated and this is then used by SimulateStatic in the URL instead. TYPO3 retrieves the parameters back from this table when the URL is called. > cache_pagesection: ??? Again, as far as I understood: This caches the conditions that might influence the output for each page-id in the typoscript template. This way TYPO3 core will be able to just apply the relevant condition checks, and skip the ones that aren't relevant for this specific page (e.g. browser-check for pages that do not have any browser-related condition in its TypoScript). Cheers, Ernesto From traveler_in_time at gmx.net Fri Oct 7 22:15:05 2005 From: traveler_in_time at gmx.net (S. Teuber) Date: Fri, 7 Oct 2005 20:15:05 +0000 (UTC) Subject: [Typo3-dev] RFC: TYPO3, Kickstarter and M-M database relations References: Message-ID: Hi Mathias, >> After all, TYPO3 may not be the only application >> using the database structure. > > BLASPHEMIE!!! Oh, I forgot to insert: yet! ;-) Sven From keith_morrison at dfci.harvard.edu Sat Oct 8 00:12:08 2005 From: keith_morrison at dfci.harvard.edu (Keith Morrison) Date: Fri, 07 Oct 2005 18:12:08 -0400 Subject: [Typo3-dev] Display page in menu, regardless of login status. In-Reply-To: References: Message-ID: Kasper, That's fantastic, exactly what I was looking for. However, it redirects, but doesn't substitute a value for ###RETURN_URL###. Any thoughts on how to fix this / debug it? I've tried running some debugs up the chain of function calls, but haven't found why the totalUrl parameter of the $LD array doesn't seem to be passed to the changeLinksForAccessRestrictedPages function (or if it is, why it is an empty param). It could just be a problem with my system, but I'm running a pretty clean install right now... Of course, it could be a stupid TypoScript error too, for reference here is the snippet I'm using to test: ... menu.right.3 = TMENU menu.right.3.wrap =
    |
menu.right.3 { expAll = 0 NO.ATagTitle.field = title NO.allWrap =
  • |
  • ACT = 1 ACT.ATagTitle.field = title ACT.allWrap =
  • | showAccessRestrictedPages = 1378 showAccessRestrictedPages.addParams = &return_url=###RETURN_URL###&pageId=###PAGE_ID### } ... Thanks much-- Keith Kasper Sk?rh?j wrote: > Hi Keith, > > If this is not already in TSref I apologize that I didn't publish it yet - will do so today maybe. > > For the menu objects (eg. TMENU/GMENU) you have this property to set in TypoScript, that is what I referred to 21/4 this year: > > > showAccessRestrictedPages > integer (page id) / keyword ???NONE??? > If set, pages in the menu will include pages with frontend user group access enabled. However the page is of course not accessible and therefore the URL in the menu will be linked to the page with the ID of this value. On that page you could put a login form or other message. > If the value is ???NONE??? the link will not be changed and the site will perform page-not-found handling when clicked (which can be used to capture the event and act accordingly of course). > > Properties: > .addParam = Additional parameter for the URL, which can hold two markers; ###RETURN_URL### which will be substituted with the link the page would have had if it had been accessible and ###PAGE_ID### holding the page id of the page coming from (could be used to look up which fe_groups was required for access. > > Example: > showAccessRestrictedPages = 22 > showAccessRestrictedPages.addParams = &return_url=###RETURN_URL###&pageId=###PAGE_ID### > > The example will link access restricted menu items to page id 22 with the return URL in the GET var ???return_url??? and the page id in the GET var ???pageId???. > > > > k > > On Friday 07 October 2005 00:06, Keith Morrison wrote: > >>Keith Morrison wrote: >> >>>Hi all, >>> >>>I'm having the hardest time finding a solution for this. I have a lot >>>of pages that are only viewable if you are a logged-in user; however, I >>>want those pages to show up in my menus, regardless of whether a user is >>>logged in or not. When the user hits the page, I want to redirect to my >>>loginbox, and then redirect them back to the page they were on after >>>they log in. However, I just can't figure out a way to display pages >>>regardless of their access. I've tried TypoScript and also hacking some >>>of the core engine code, to no avail. I feel like this is something I >>>need to hack in the core, which is why I'm posting to the dev list. Any >>>suggestions would be greatly appreciated. >>> >>>Thanks, >>>Keith >> >>I apologize for responding to myself, but I did find a note in the CVS >>log from 2005-4-21 by Kasper that seems to describe the ability to do >>this, but I can't find any follow up information on it. The revision >>note is on this page: >>http://cvs.sourceforge.net/viewcvs.py/typo3/TYPO3core/ChangeLog?rev=1.258 >> >>Thanks again, >>Keith >>_______________________________________________ >>Typo3-dev mailing list >>Typo3-dev at lists.netfielders.de >>http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev > > From genuisereal at hotmail.com Sat Oct 8 13:39:36 2005 From: genuisereal at hotmail.com (Martinov Evgeniy) Date: Sat, 08 Oct 2005 14:39:36 +0300 Subject: [Typo3-dev] absolute or relative path? Message-ID: Hi, everyone, my extension is meant to publish references to uploaded pdf files automatically, then I use indexed_search to index these pages and as a consiquence external files too. I upload files to the directory under fileadmin/mydirectory/ then I create new page with corresponding content element I use CType: html and in bodytext I place such code for the reference to apear on the page: myfile.pdf here I use relative path to the TYPO3_DOCUMENT_ROOT The problem is that under windows this works perfectly and indexed_search indexes this external file by this reference. But in linux there is difference when page is generated. TYPO3, instead of using my bodytext as is, changes href attribute inside my tag to this: myfile.pdf and adds first slash! in tt_content table I have string without first slash! Indexed_search cannot index this reference cause it intreprets such reference not as relative but as absolute path to the file. Can anyone help me to solve this problem? thank you in advance, Evgeniy _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ From typo3 at fm-world.ru Sat Oct 8 17:35:15 2005 From: typo3 at fm-world.ru (Dmitry Dulepov) Date: Sat, 08 Oct 2005 18:35:15 +0300 Subject: [Typo3-dev] absolute or relative path? In-Reply-To: References: Message-ID: Hi! Martinov Evgeniy wrote: > Can anyone help me to solve this problem? What happens if you put full URL there (with domain part)? Please write a bug report to the bug repository about this problem in indexed search. Dmitry. From genuisereal at hotmail.com Sat Oct 8 18:43:57 2005 From: genuisereal at hotmail.com (Martinov Evgeniy) Date: Sat, 08 Oct 2005 19:43:57 +0300 Subject: [Typo3-dev] absolute or relative path? In-Reply-To: Message-ID: HI, Dmitry, I've made some research about why my references of type: "fileadmin/myfolder/" are prefixed with absolute path prefix "/" symbol. And it turned out that it is standard way of page generation in tslib/pagegen.php file. After all conntent is generated all references which start with "media/ and "fileadmin/ are delebirately prefixed with absRefPrefix = '/' symbol. $GLOBALS['TSFE']->setAbsRefPrefix() function call is made. I am trying now to understand why is it so? It seems to me that I cannot understand the main idea why I cannot place files under fileadmin/ folder and make relative references to them. I have to point to that fact that browser anyway recognizes both references with first slash and without it as relative reference that is why when I click on it it works anyway - I can open file. But for indexed_search engine this first slash has special meaning of absolute path which together with default prefixing such references with first slash makes them absolute in any case and prevents me to use fileadmin folder for stroring files that have to be indexed. I wonder if such behavior is normal, why is it so and what should I understand in this case, and more over what would be a correct place where I can upload my files. I used fileadmin folder because it was very native to use it, cause system File>List module use it and I can manage different file mounts under it. I want to allow users to upload files and manage them. For my application it is necessary that Admin user can access this files too, that is also possibile from File>List module. I also know how standard Filelinks(uploads) content element works: it uploads new files or moves existing files from fileadmin folder to special /uploads/ subfolder which is on the same level as fileadmin. But I cannot use this technik because this uploads folder and files in it are meant to be a part of database and must not be accessibile by other means that throught Filelinks BE plugin. In my case I reach this goal by using filemounts mechanism allowing my users to access files under special subfolders under fileadmin only through special BE module interface which is similiar to File>List but with additional processing of files which create also database entries for pages and content elements with reference to the file. Sorry if I worte too much but, I think it will help to understand my situation and find the right solution easier. Thanks in advance, Evgeniy _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ From martin.kutschker-n0spam at no5pam-blackbox.net Sat Oct 8 21:29:34 2005 From: martin.kutschker-n0spam at no5pam-blackbox.net (Martin Kutschker) Date: Sat, 08 Oct 2005 21:29:34 +0200 Subject: [Typo3-dev] Making translation for Core modules In-Reply-To: References: Message-ID: Martin Kutschker schrieb: > Hi! > > The csh_* Files for German and Bulgarian lack translations of eg > Web>Template. Can I translate them for a customer without any external > tools? Or do I have to be an official translator? > > I checked the sources for the csh_* extensions, but hey, there are lots > of xml files and I didnn't figure out (quickly) how I would add files > for the missing core extensions. It's very likely we'll donate the translation when the project is finished, but we don't want to depend on the good will of any other volunteers. Is this enough incentive to answer my question? Masi From michael at typo3.org Sun Oct 9 01:30:44 2005 From: michael at typo3.org (Michael Stucki) Date: Sun, 09 Oct 2005 01:30:44 +0200 Subject: [Typo3-dev] Making translation for Core modules References: Message-ID: Hi Martin, >> The csh_* Files for German and Bulgarian lack translations of eg >> Web>Template. Can I translate them for a customer without any external >> tools? Or do I have to be an official translator? >> >> I checked the sources for the csh_* extensions, but hey, there are lots >> of xml files and I didnn't figure out (quickly) how I would add files >> for the missing core extensions. > > It's very likely we'll donate the translation when the project is > finished, but we don't want to depend on the good will of any other > volunteers. > > Is this enough incentive to answer my question? I don't know if Kasper is still reading this list. Maybe you just ask him directly as he is probably the only one who knows the answer to your question... - michael -- Use a newsreader! Check out http://typo3.org/community/mailing-lists/use-a-news-reader/ From pilot at m-lan.ru Sun Oct 9 08:09:20 2005 From: pilot at m-lan.ru (Pilot) Date: Sun, 9 Oct 2005 10:09:20 +0400 Subject: [Typo3-dev] Please, add hidden/visible field to flexform like on the next picture Message-ID: http://pilot911.narod.ru/1.gif From roske at mainstream.co.yu Sun Oct 9 10:41:34 2005 From: roske at mainstream.co.yu (Marko Rosic) Date: Sun, 09 Oct 2005 10:41:34 +0200 Subject: [Typo3-dev] Custom ext in multiple languages - how? Message-ID: I've made a simple extension using ext kickstarter that should work as some people register with names and personal data and display that data in tabular list, as it does by default. Anyhow the translation to other language does not work, instead it makes a new record and displays it on every page. Thanks in advance, Marko From michael at typo3.org Sun Oct 9 12:36:37 2005 From: michael at typo3.org (Michael Stucki) Date: Sun, 09 Oct 2005 12:36:37 +0200 Subject: [Typo3-dev] Please, add hidden/visible field to flexform like on the next picture References: Message-ID: Pilot wrote: > http://pilot911.narod.ru/1.gif http://typo3.org/development/projects/zap-the-gremlins/ - michael -- Use a newsreader! Check out http://typo3.org/community/mailing-lists/use-a-news-reader/ From pilot at m-lan.ru Sun Oct 9 13:18:31 2005 From: pilot at m-lan.ru (Pilot) Date: Sun, 9 Oct 2005 15:18:31 +0400 Subject: [Typo3-dev] Please, add hidden/visible field to flexform like on the next picture References: Message-ID: Wrote there. Thanks. "Michael Stucki" ???????/???????? ? ???????? ?????????: news:mailman.1.1128854827.14773.typo3-dev at lists.netfielders.de... > Pilot wrote: > >> http://pilot911.narod.ru/1.gif > > http://typo3.org/development/projects/zap-the-gremlins/ > > - michael > -- > Use a newsreader! Check out > http://typo3.org/community/mailing-lists/use-a-news-reader/ From gaumondpatrick at hotmail.com Mon Oct 10 04:29:36 2005 From: gaumondpatrick at hotmail.com (Patrick Gaumond) Date: Sun, 09 Oct 2005 22:29:36 -0400 Subject: [Typo3-dev] Info about Workspace 1.0 ? Message-ID: Someone (Robert?) mentioned Workspace while talking about TYCON3 upcoming event. I saw nothing about that on the Papers,Slides and video from http://tycon3.typo3.org/talks_download.html . But last week (2005-10-04) Kasper added new code about it. http://cvs.sourceforge.net/viewcvs.py/typo3/TYPO3core/ChangeLog?rev=1.263 Is Workspace a new versionning on steroids ? Will it replace it? Is there any relation to Workspace and the new Native Workflow ? Can someone somewhere enlight us ? Thanks in advance. Patrick From niederlag at ikd01.de Mon Oct 10 07:58:56 2005 From: niederlag at ikd01.de (Peter Niederlag) Date: Mon, 10 Oct 2005 07:58:56 +0200 Subject: [Typo3-dev] Info about Workspace 1.0 ? In-Reply-To: References: Message-ID: Hi Patrick, Patrick Gaumond schrieb: > Someone (Robert?) mentioned Workspace while talking about TYCON3 > upcoming event. > > I saw nothing about that on the Papers,Slides and video from > http://tycon3.typo3.org/talks_download.html . Best bet might be to have a look at Kasper's Keynote at TYCON3. Should be available as video? Cheers, Peter -- Peter Niederlag http://www.niekom.de * TYPO3 & EDV Dienstleistungen * http://www.typo3partner.net * professional services network * From pilot at m-lan.ru Mon Oct 10 07:59:43 2005 From: pilot at m-lan.ru (Pilot) Date: Mon, 10 Oct 2005 09:59:43 +0400 Subject: [Typo3-dev] Please, add hidden/visible field to flexform like on the next picture References: Message-ID: Strange answer... :( What does it mean, when there are all info with picture ... http://bugs.typo3.org/view.php?id=1555 From michael at typo3.org Mon Oct 10 08:35:30 2005 From: michael at typo3.org (Michael Stucki) Date: Mon, 10 Oct 2005 08:35:30 +0200 Subject: [Typo3-dev] Please, add hidden/visible field to flexform like on the next picture References: Message-ID: Pilot wrote: > Strange answer... :( > What does it mean, when there are all info with picture ... > http://bugs.typo3.org/view.php?id=1555 Seems this was just a misunderstanding. I replied in the bugtracker, so let's close this thread... - michael -- Use a newsreader! Check out http://typo3.org/community/mailing-lists/use-a-news-reader/ From wolfgang at stufenlos.net Mon Oct 10 09:13:19 2005 From: wolfgang at stufenlos.net (Wolfgang Klinger) Date: Mon, 10 Oct 2005 09:13:19 +0200 Subject: [Typo3-dev] indexed_search / EXT Rep? Message-ID: Hi, I wonder why "indexed_search" is not available in the extension repository any longer? bye Wolfgang From markus.friedrich at media-lights.de Mon Oct 10 09:11:38 2005 From: markus.friedrich at media-lights.de (Markus Friedrich) Date: Mon, 10 Oct 2005 09:11:38 +0200 Subject: [Typo3-dev] Using special chars in the page title Message-ID: Hi List! I want to create a website in several languages, among them is polish and czech. Now I've a problem with the special chars used in these languages, the chars are typical converted to something like this "ůj". This works very well but in the page title "" it doesn't. The page title is parsed through htmlspecialchars() - located in "tslib/class.tslib_pagegen.php". Htmlspecialchars converts the "&" in "&" and the code will not be interpreted by the browser. I can't see a possibility to use special chars in the title, perhaps anyone of you has a solution... Best Regards Markus Friedrich From t33k.RE.MO.VE at RE.MO.VE.prolabium.com Mon Oct 10 09:18:45 2005 From: t33k.RE.MO.VE at RE.MO.VE.prolabium.com (Krystian Szymukowicz) Date: Mon, 10 Oct 2005 09:18:45 +0200 Subject: [Typo3-dev] Using special chars in the page title In-Reply-To: References: Message-ID: Markus Friedrich wrote: > Hi List! > > I want to create a website in several languages, among them is polish and > czech. Now I've a problem with the special chars used in these languages, > the chars are typical converted to something like this "ůj". This works > very well but in the page title "" it doesn't. The page title > is parsed through htmlspecialchars() - located in > "tslib/class.tslib_pagegen.php". Htmlspecialchars converts the "&" in > "&" and the code will not be interpreted by the browser. > > I can't see a possibility to use special chars in the title, perhaps anyone > of you has a solution... > hi Markus plz start the topic again at english forum and I will try to help you there. This is dev forum and this topic does not match here. -- grtz Krystian Szymukowicz From typo3dev at geithware.de Mon Oct 10 09:39:39 2005 From: typo3dev at geithware.de (Stefan Geith) Date: Mon, 10 Oct 2005 09:39:39 +0200 Subject: [Typo3-dev] Plugin Translation marks in TER/edit Message-ID: Hi, When editing my plugin on typo3.org, under 'Merge translations:', I can see a green Icon for translated Languages and a red Icon for untranslated. But what does a BLUE Icon mean (here: de) ? Clicking on translate (eg for sg_newsplus) , I see Filename Labels default de fr it locallang.php 52 x 0/0/11 x 52/52/0 52/52/0 means 52 of 52 untranslated, I think; But what does 0/0/11 mean ? Any idea ? Thanks ! Stefan From typo3 at fm-world.ru Mon Oct 10 09:37:46 2005 From: typo3 at fm-world.ru (Dmitry Dulepov) Date: Mon, 10 Oct 2005 10:37:46 +0300 Subject: [Typo3-dev] Custom ext in multiple languages - how? In-Reply-To: References: Message-ID: Hi! Marko Rosic wrote: > I've made a simple extension using ext kickstarter that should work as some > people register with names and personal data and display that data in > tabular list, as it does by default. > > Anyhow the translation to other language does not work, instead it makes a > new record and displays it on every page. Well, in my extensions it works :) May be you should check that you use $this->get_LL() everywhere? Dmitry. From michael at typo3.org Mon Oct 10 09:49:48 2005 From: michael at typo3.org (Michael Stucki) Date: Mon, 10 Oct 2005 09:49:48 +0200 Subject: [Typo3-dev] indexed_search / EXT Rep? References: Message-ID: Wolfgang Klinger wrote: > I wonder why "indexed_search" is not available in the extension > repository any longer? Kasper removed all System Extensions because they are part of the main distribution already. Making it available is simply confusing because the only upstream version should be that one in the TYPO3 releases. The only drawback currently is that the online manual is not viewable any longer. I already contacted Robert to find a solution for this. Alternatively, you should have a look at the extension rlmp_extensiondocs. - michael -- Use a newsreader! Check out http://typo3.org/community/mailing-lists/use-a-news-reader/ From thomas at work.de Mon Oct 10 10:11:38 2005 From: thomas at work.de (Thomas Hempel) Date: Mon, 10 Oct 2005 10:11:38 +0200 Subject: [Typo3-dev] doubleX evaluation Message-ID: Hi all, I read on typo3.org that Kasper has called for "gremlins" once again. ;-) Well, some weeks ago I posted a bug in the bugtracker with a feature request. It's about evaluation of fields wirh more than 2 decimal places. I also added a patch for the corresponding core files. (PHP evaluation and JS evaluation in the BE). There was no response until today. And I whant to ask, how I can bring this up in the bugtracker as feature request for the next version. Should I write someone from the core team and if yes... Who? The bug in the bugtracker is http://bugs.typo3.org/view.php?id=1266 Greets and regards, Thomas -- typo3-unleashed.net From Martin.Kutschker at n0spam-blackbox.net Mon Oct 10 10:18:46 2005 From: Martin.Kutschker at n0spam-blackbox.net (Martin Kutschker) Date: Mon, 10 Oct 2005 10:18:46 +0200 Subject: [Typo3-dev] indexed_search / EXT Rep? In-Reply-To: References: Message-ID: Michael Stucki schrieb: > Wolfgang Klinger wrote: > > >> I wonder why "indexed_search" is not available in the extension >> repository any longer? > > > Kasper removed all System Extensions because they are part of the main > distribution already. Making it available is simply confusing because the > only upstream version should be that one in the TYPO3 releases. > > The only drawback currently is that the online manual is not viewable any > longer. I already contacted Robert to find a solution for this. There is another drawback. No extension upgrades between two TYPO3 releases. What does this mean for security problems? Will a new TYPO3 version be released if a problem arises in a system extenbsion? Or will it reappear on TER. Masi From r.fritz at colorcube.de Mon Oct 10 10:52:33 2005 From: r.fritz at colorcube.de (=?iso-8859-1?q?Ren=E9_Fritz?=) Date: Mon, 10 Oct 2005 10:52:33 +0200 Subject: [Typo3-dev] Info about Workspace 1.0 ? In-Reply-To: References: Message-ID: > Is Workspace a new versionning on steroids ? Will it replace it? Is Workspaces provides switching of the backend to different versions of *the whole* website. This makes it easy to work on the website (one version) while have an online version untouched and ... online. greetings to you Ren? -- COLORCUBE digital media lab www.colorcube.de From ernst at cron-it.de Mon Oct 10 12:09:56 2005 From: ernst at cron-it.de (Ernesto Baschny [cron IT]) Date: Mon, 10 Oct 2005 12:09:56 +0200 Subject: [Typo3-dev] Empty cHash problem In-Reply-To: References: Message-ID: Elmar Hinz schrieb am 07.10.2005 01:09: >> checked (if present, TYPO3 will check it on its own, if not present or >> empty, TYPO3 needs the plugins to inform if a checking is needed, which >> is what this section of the article is about). > It is informed by setting the useCacheHash paramter in the plugin. Still > I don't make friendship with this concept. Programmers could forget to > set it. Why can't it be done automatically for USER-objects? I am not 100% sure that my reasoning is right, but imagine: The same USER-object might want to output cached and non-cached things, e.g. cached detail views for an event, but uncached registration processing for that event. Ok, in this case I would rather do two plugins in this case (one USER and one USER_INT), but still, TYPO3 cannot know if the USER object generated all typolink's with the $cache parameter set. > First checking if there are more parameters then type and id. And if so > requireing a valid cHash before any saving action takes part, to say it > shortend. > > I know there could be some other parameters around like the L-Parameter > for languages. But that information could be fetched from TypoScript Setup. If you have an USER object and don't check for cHash, you must make sure that either you have a no_cache=1 in the URL for all links, or you set_no_cache(). Then it will also work (without caching). But ok, I agree that I am missing something here, because TYPO3 could also simply check for cHash for me and will disable caching on its own. Its too early monday for such thinking exercises! :) Cheers, Ernesto From wolfgang at stufenlos.net Mon Oct 10 12:29:59 2005 From: wolfgang at stufenlos.net (Wolfgang Klinger) Date: Mon, 10 Oct 2005 12:29:59 +0200 Subject: [Typo3-dev] Hey system extensions! Come back to the extension repository!! was: Re: indexed_search / EXT Rep? In-Reply-To: References: Message-ID: Hi! On Mon, 10 Oct 2005, Michael Stucki wrote the following: > Kasper removed all System Extensions because they are part of the main > distribution already. Making it available is simply confusing because the > only upstream version should be that one in the TYPO3 releases. Why should that be confusing? It's more confusing the way it is now. I plead for a comeback of sys-extensions to the extension repository! bye Wolfgang ps: is Kasper on vacation that he has nothing else to do? :-) From michael at typo3.org Mon Oct 10 12:46:09 2005 From: michael at typo3.org (Michael Stucki) Date: Mon, 10 Oct 2005 12:46:09 +0200 Subject: [Typo3-dev] indexed_search / EXT Rep? References: Message-ID: Hello Martin, >> Kasper removed all System Extensions because they are part of the main >> distribution already. Making it available is simply confusing because the >> only upstream version should be that one in the TYPO3 releases. >> >> The only drawback currently is that the online manual is not viewable any >> longer. I already contacted Robert to find a solution for this. > > There is another drawback. No extension upgrades between two TYPO3 > releases. > > What does this mean for security problems? Will a new TYPO3 version be > released if a problem arises in a system extenbsion? Or will it reappear > on TER. System extensions are part of the core and therefore will be treated like this. If there is a security problem in e.g. TYPO3 3.8.0, we will fix this with TYPO3 3.8.1 and not communicate about it earlier (luckily there is no open security issue in indexed_search currently ;-)) - michael -- Use a newsreader! Check out http://typo3.org/community/mailing-lists/use-a-news-reader/ From typo3 at fm-world.ru Mon Oct 10 12:52:50 2005 From: typo3 at fm-world.ru (Dmitry Dulepov) Date: Mon, 10 Oct 2005 13:52:50 +0300 Subject: [Typo3-dev] Hey system extensions! Come back to the extension repository!! was: Re: indexed_search / EXT Rep? In-Reply-To: References: Message-ID: Hi! Wolfgang Klinger wrote: > Why should that be confusing? It's more confusing the way it is now. > I plead for a comeback of sys-extensions to the extension repository! May be a new property for extensions should be introduced: "system". Dmitry. From typo3 at monosock.org Mon Oct 10 13:39:11 2005 From: typo3 at monosock.org (Michiel Roos) Date: Mon, 10 Oct 2005 13:39:11 +0200 Subject: [Typo3-dev] php/gd fallback resize functions in absence of ImageMagick Message-ID: Hi, Is it hard to implement fallback functions for image resizing for cases where ImageMagick is not installed? Or is there a dependancy hell on GD and optional libraries? GD is bundled with php since 4.3. Hmm, seems it is not quite ready for production environments. Gif write support is only available for php 4.3.9 and 5.0.1 (or later). Png images ruiquire libpng and jpeg require libjpeg. These libs are probably not installed on all systems by default. But they might be installed on more systems than ImageMagick is. Any other info/ideas on this? Cheers, Michiel Roos From triphot69 at hotmail.com Mon Oct 10 14:05:26 2005 From: triphot69 at hotmail.com (Jean-Baptiste Rio) Date: Mon, 10 Oct 2005 14:05:26 +0200 Subject: [Typo3-dev] Hint : Alternative typoLink label with cHash+SimulateStatic Message-ID: Hi List, Just M2P to enhance Typo3 functions. I use 3.7.0 so maybe my hint is not useful for 3.8.0. There are many question on the uselist about external data and cache possibilities. For my part, i need these functions to put in cache some IPB forum topics which are displayed as news on my sites. So i wrote an plugin which reads a whole IPB topic (including answer posts) and displays it on a page. The problem is : I can't declare as many pages as news topics to put into cache the topics contents. That's why i use a cHash on my page and it works great (Thx kasper and the core dev team). A typical link for visitors to view my topic is : http://www.mysite.com/index.php?id=1200&topic=12589&cHash=08qfcg89 id = typo3 page where i put the IPB plugin topic = IPB topic id And i have a different cHash for each topic. Everything ok. Now i want to be indexed by google. So i decided to use SimulateStatic with md5. No problem at all, now the link are : http://www.mysite.com/newsipb.1200.0.BgHj00a582.html The last point is the reason of this thread. My staff want that the topic title appears in the link. Something like : http://www.mysite.com/The_Title_Of_My_IPB_topic.1200.0.BgHj00a582.html So i dive into Typo3 to find a solution. I use pi_LinkTP in my IPB extension. Here are the steps to do it : 1 - Modify pi_linkTP function in class.tslib_pibase.php (line 307 and next) - Add a new parameter altTitle function pi_linkTP($str,$urlParameters=array(),$cache=0,$altPageId=0, $altTitle='') { $conf=array(); $conf['useCacheHash'] = $this->pi_USER_INT_obj ? 0 : $cache; $conf['no_cache'] = $this->pi_USER_INT_obj ? 0 : !$cache; $conf['parameter'] = $altPageId ? $altPageId : ($this->pi_tmpPageId ? $this->pi_tmpPageId : $GLOBALS['TSFE']->id); $conf['additionalParams'] = $this->conf['parent.']['addParams'].t3lib_div::implodeArrayForUrl('',$urlParameters,'',1).$this->pi_moreParams; + $conf['altTitle'] = $altTitle; return $this->cObj->typoLink($str, $conf); } 2 - Modify function typoLink in class.tslib_content.php (line 4999 and next) + $overrideArray=''; + if ($conf['altTitle'] != '') $overrideArray = array('title'=>$conf['altTitle']); + $LD = $GLOBALS['TSFE']->tmpl->linkData($page,$target,$conf['no_cache'],'',$overrideArray,$addQueryParams,$theTypeP); - $LD = $GLOBALS['TSFE']->tmpl->linkData($page,$target,$conf['no_cache'],'','',$addQueryParams,$theTypeP); 3 - Put into comment the line 1282 in class.t3lib_tstemplate.php (function linkData) if (is_array($overrideArray)) { foreach($overrideArray as $theKey => $theNewVal) { //$addParams.= '&real_'.$theKey.'='.rawurlencode($page[$theKey]); $page[$theKey] = $theNewVal; } I've just used the standard $overrideArray parameter to do it. I had to put into comment the "$addParams .=..." line because it generates an error with the cHash : the cHash is calculated before the &real_ parameter is added to the link. So it refused to put into cache the page because of the difference between the provided cHash and the calculated cHash. Hope it could be added to the core. But, maybe, it is not interesting... so i've preferred open a thread here before log in as a asked feature in the bugtracker. Regards, Jean-Baptiste From Martin.Kutschker at n0spam-blackbox.net Mon Oct 10 14:08:39 2005 From: Martin.Kutschker at n0spam-blackbox.net (Martin Kutschker) Date: Mon, 10 Oct 2005 14:08:39 +0200 Subject: [Typo3-dev] Info about Workspace 1.0 ? In-Reply-To: References: Message-ID: Ren? Fritz schrieb: >>Is Workspace a new versionning on steroids ? Will it replace it? Is > > > Workspaces provides switching of the backend to different versions of *the > whole* website. This makes it easy to work on the website (one version) while > have an online version untouched and ... online. Will it still be possible to have versins only for single pages or subpages? Large sites will want to maintain their versions at least per department. Masi From r.fritz at colorcube.de Mon Oct 10 14:38:35 2005 From: r.fritz at colorcube.de (=?iso-8859-1?q?Ren=E9_Fritz?=) Date: Mon, 10 Oct 2005 14:38:35 +0200 Subject: [Typo3-dev] Info about Workspace 1.0 ? In-Reply-To: References: Message-ID: > Will it still be possible to have versins only for single pages or > subpages? Yes, I think so. > Large sites will want to maintain their versions at least per department. You can define a workspace for a db mountpoint. (I hope I do not telling nonsense, because I haven't tried workspaces myself :-) Ren? -- COLORCUBE digital media lab www.colorcube.de From a.widschwendter at mediares.at Mon Oct 10 14:56:48 2005 From: a.widschwendter at mediares.at (media.res | alex widschwendter) Date: Mon, 10 Oct 2005 14:56:48 +0200 Subject: [Typo3-dev] Info about Workspace 1.0 ? In-Reply-To: References: Message-ID: hi masi, > Will it still be possible to have versins only for single pages or > subpages? check the last 15-20 minutes of kaspers keynote at tycon. there he demonstratets the workspaces concept. http://tycon3.typo3.org/talks_download.html alex From kasper2005 at typo3.com Mon Oct 10 15:22:09 2005 From: kasper2005 at typo3.com (Kasper =?iso-8859-1?q?Sk=E5rh=F8j?=) Date: Mon, 10 Oct 2005 15:22:09 +0200 Subject: [Typo3-dev] Hey system extensions! Come back to the extension repository!! was: Re: indexed_search / EXT Rep? In-Reply-To: References: Message-ID: > > ps: is Kasper on vacation that he has nothing else to do? :-) > No, but if I have to maintain global- and system extensions in TER redundantly I will have no time for vacation ever. - kasper From kasper2005 at typo3.com Mon Oct 10 15:20:16 2005 From: kasper2005 at typo3.com (Kasper =?iso-8859-1?q?Sk=E5rh=F8j?=) Date: Mon, 10 Oct 2005 15:20:16 +0200 Subject: [Typo3-dev] Info about Workspace 1.0 ? In-Reply-To: References: Message-ID: Versioning as you know it will remain, workspaces is a layer on top of that which I predict will be a beloved way of working with versions for many people since it will be all transparent for them. The "manual" way of doing versioning is likely to not be developed heavily independantly of workspaces. - kasper On Monday 10 October 2005 14:08, Martin Kutschker wrote: > Ren? Fritz schrieb: > >>Is Workspace a new versionning on steroids ? Will it replace it? Is > > > > Workspaces provides switching of the backend to different versions of > > *the whole* website. This makes it easy to work on the website (one > > version) while have an online version untouched and ... online. > > Will it still be possible to have versins only for single pages or > subpages? > > Large sites will want to maintain their versions at least per department. > > Masi > _______________________________________________ > Typo3-dev mailing list > Typo3-dev at lists.netfielders.de > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev -- - kasper ----------------- Think future, not feature From olivier.dobberkau at dkd.de Mon Oct 10 15:29:39 2005 From: olivier.dobberkau at dkd.de (Olivier Dobberkau) Date: Mon, 10 Oct 2005 15:29:39 +0200 Subject: [Typo3-dev] Info about Workspace 1.0 ? References: Message-ID: Kasper Sk?rh?j wrote: > Versioning as you know it will remain, workspaces is a layer on top > of that which I predict will be a beloved way of working with > versions for many people since it will be all transparent for them. > The "manual" way of doing versioning is likely to not be developed > heavily independantly of workspaces. > > - kasper The only question remains. when can we get our hands on that neat stuff.... ;-) olivier From kasper2005 at typo3.com Mon Oct 10 16:08:51 2005 From: kasper2005 at typo3.com (Kasper =?utf-8?q?Sk=C3=A5rh=C3=B8j?=) Date: Mon, 10 Oct 2005 16:08:51 +0200 Subject: [Typo3-dev] Info about Workspace 1.0 ? In-Reply-To: References: Message-ID: I will be working fulltime on this for the rest of october so I expect to have a well working beta in the end of the month! - kasper On Monday 10 October 2005 15:29, Olivier Dobberkau wrote: > Kasper Sk?rh?j wrote: > > Versioning as you know it will remain, workspaces is a layer on top > > of that which I predict will be a beloved way of working with > > versions for many people since it will be all transparent for them. > > The "manual" way of doing versioning is likely to not be developed > > heavily independantly of workspaces. > > > > - kasper > > The only question remains. > when can we get our hands on that neat stuff.... > ;-) > > olivier -- - kasper ----------------- Think future, not feature From gaumondpatrick at hotmail.com Mon Oct 10 16:56:21 2005 From: gaumondpatrick at hotmail.com (Patrick Gaumond) Date: Mon, 10 Oct 2005 10:56:21 -0400 Subject: [Typo3-dev] Info about Workspace 1.0 ? In-Reply-To: References: Message-ID: Peter Niederlag wrote: > Best bet might be to have a look at Kasper's Keynote at TYCON3. Should > be available as video? I watch it until he get naked and only wear a hat... Oh well. Will have watch it all. Patrick From sebastian at garbage-group.de Mon Oct 10 19:56:24 2005 From: sebastian at garbage-group.de (Sebastian Kurfuerst) Date: Mon, 10 Oct 2005 19:56:24 +0200 Subject: [Typo3-dev] doubleX evaluation In-Reply-To: References: Message-ID: Hi Thomas, I think you can just add it as a "gremlin", and you have to insert the bug ID when adding the gremlin. Not sure if I understood your problem correctly :) Greets, Sebastian Am Montag, den 10.10.2005, 10:11 +0200 schrieb Thomas Hempel: > Hi all, > > I read on typo3.org that Kasper has called for "gremlins" once again. ;-) > > Well, some weeks ago I posted a bug in the bugtracker with a feature > request. It's about evaluation of fields wirh more than 2 decimal places. > I also added a patch for the corresponding core files. (PHP evaluation > and JS evaluation in the BE). There was no response until today. And I > whant to ask, how I can bring this up in the bugtracker as feature > request for the next version. > > Should I write someone from the core team and if yes... Who? > > The bug in the bugtracker is http://bugs.typo3.org/view.php?id=1266 > > > > Greets and regards, > Thomas > From thomas at work.de Mon Oct 10 20:22:48 2005 From: thomas at work.de (Thomas Hempel) Date: Mon, 10 Oct 2005 20:22:48 +0200 Subject: [Typo3-dev] doubleX evaluation In-Reply-To: References: Message-ID: Hi Sebastian, thanks for the hint. I just loose sight of the "submit a gremlin" link. ;-) It's very subtle. :-) Greets, Thomas -- typo3-unleashed.net From michael at typo3.org Mon Oct 10 19:41:49 2005 From: michael at typo3.org (Michael Stucki) Date: Mon, 10 Oct 2005 19:41:49 +0200 Subject: [Typo3-dev] Hey system extensions! Come back to the extension repository!! was: Re: indexed_search / EXT Rep? References: Message-ID: Wolfgang Klinger wrote: > On Mon, 10 Oct 2005, Michael Stucki wrote the following: >> Kasper removed all System Extensions because they are part of the main >> distribution already. Making it available is simply confusing because the >> only upstream version should be that one in the TYPO3 releases. > > Why should that be confusing? It's more confusing the way it is now. > I plead for a comeback of sys-extensions to the extension repository! Why do you think it is confusing? You don't need to update indexed_search through TER because your version already ships with the most recent version available. If there would be a new version, then there would also be a new typo3_src release. > ps: is Kasper on vacation that he has nothing else to do? :-) If you have no clue... (see Joeys signature) - michael -- Use a newsreader! Check out http://typo3.org/community/mailing-lists/use-a-news-reader/ From michael at typo3.org Mon Oct 10 21:54:41 2005 From: michael at typo3.org (Michael Stucki) Date: Mon, 10 Oct 2005 21:54:41 +0200 Subject: [Typo3-dev] doubleX evaluation References: Message-ID: Thomas Hempel wrote: > thanks for the hint. > I just loose sight of the "submit a gremlin" link. ;-) > It's very subtle. :-) Hehe, funny :-))) There's not only a submit link, there's also a detailed explanation of how to proceed when submitting Gremlins. In short: I don't get your point! - michael -- Use a newsreader! Check out http://typo3.org/community/mailing-lists/use-a-news-reader/ From thomas at work.de Mon Oct 10 22:36:28 2005 From: thomas at work.de (Thomas Hempel) Date: Mon, 10 Oct 2005 22:36:28 +0200 Subject: [Typo3-dev] doubleX evaluation In-Reply-To: References: Message-ID: Hi Michael, > Hehe, funny :-))) Yes, I'm so funny... ;-) The point was, that I thought I was logged in, because the login fields where not on their place. Just a text "login/status". So, after logging in I found the small link in the menu and after submitting the "gremlin" I also found the "detailed explanation". :-) It was my fault! Sometimes I'm simply to stupid and blind for TYPO3... ;-) Greets, Thomas From ben at netcreators.nl Tue Oct 11 00:27:53 2005 From: ben at netcreators.nl (ben van 't ende [netcreators]) Date: Tue, 11 Oct 2005 00:27:53 +0200 Subject: [Typo3-dev] Info about Workspace 1.0 ? In-Reply-To: References: Message-ID: Kasper Sk?rh?j wrote: > I will be working fulltime on this for the rest of october so I expect to have > a well working beta in the end of the month! Good luck with that! Looking forward to the final workspaces. It sounds like a very promising addition to TYPO3. tHNx for all your work! ben -- netcreators::creation and innovation www.netcreators.nl - www.typo3.nl From typo3 at rvt.dds.nl Tue Oct 11 01:43:27 2005 From: typo3 at rvt.dds.nl (Ries van Twisk) Date: Mon, 10 Oct 2005 17:43:27 -0600 Subject: [Typo3-dev] Hey system extensions! Come back to the extension repository!! was: Re: indexed_search / EXT Rep? In-Reply-To: References: Message-ID: Michael Stucki wrote: > > > > >Why do you think it is confusing? You don't need to update indexed_search >through TER because your version already ships with the most recent version >available. If there would be a new version, then there would also be a new >typo3_src release. > > > This puzzles me then... How are security updates in system extentions handled? Ries van Twisk From michael at typo3.org Tue Oct 11 01:00:18 2005 From: michael at typo3.org (Michael Stucki) Date: Tue, 11 Oct 2005 01:00:18 +0200 Subject: [Typo3-dev] Hey system extensions! Come back to the extension repository!! was: Re: indexed_search / EXT Rep? References: Message-ID: Ries van Twisk wrote: >>Why do you think it is confusing? You don't need to update indexed_search >>through TER because your version already ships with the most recent >>version available. If there would be a new version, then there would also >>be a new typo3_src release. > > This puzzles me then... > How are security updates in system extentions handled? The same way like security updates in class.t3lib_div.php, for example! We will release a new TYPO3 version as soon as this is needed. - michael -- Use a newsreader! Check out http://typo3.org/community/mailing-lists/use-a-news-reader/ From scecere at krur.com Tue Oct 11 02:01:55 2005 From: scecere at krur.com (stefano cecere) Date: Tue, 11 Oct 2005 02:01:55 +0200 Subject: [Typo3-dev] Plugin Translation marks in TER/edit In-Reply-To: References: Message-ID: hi stefen i guess that i means that the original field did change.. but lately it has been a bit buggy, with light blue fields remaining blue event after several savings.. i, with some extension developer, couldn't find an answer .. stefano Stefan Geith wrote: > Hi, > > When editing my plugin on typo3.org, under > 'Merge translations:', I can see a green Icon > for translated Languages and a red Icon for > untranslated. > > But what does a BLUE Icon mean (here: de) ? > > Clicking on translate (eg for sg_newsplus) , I see > Filename Labels default de fr it > locallang.php 52 x 0/0/11 x 52/52/0 > > 52/52/0 means 52 of 52 untranslated, I think; > But what does 0/0/11 mean ? > > Any idea ? > > Thanks ! > > Stefan > > > > From kasper2005 at typo3.com Tue Oct 11 00:42:42 2005 From: kasper2005 at typo3.com (Kasper =?utf-8?q?Sk=C3=A5rh=C3=B8j?=) Date: Tue, 11 Oct 2005 00:42:42 +0200 Subject: [Typo3-dev] Info about Workspace 1.0 ? In-Reply-To: References: Message-ID: Thanks Ben, It's my pleasure. - kasper From Martin.Kutschker at n0spam-blackbox.net Tue Oct 11 14:29:48 2005 From: Martin.Kutschker at n0spam-blackbox.net (Martin Kutschker) Date: Tue, 11 Oct 2005 14:29:48 +0200 Subject: [Typo3-dev] Info about Workspace 1.0 ? In-Reply-To: References: Message-ID: Kasper Sk?rh?j schrieb: > I will be working fulltime on this for the rest of october so I expect to have > a well working beta in the end of the month! Great! Masi From Martin.Kutschker at n0spam-blackbox.net Tue Oct 11 14:34:18 2005 From: Martin.Kutschker at n0spam-blackbox.net (Martin Kutschker) Date: Tue, 11 Oct 2005 14:34:18 +0200 Subject: [Typo3-dev] Info about Workspace 1.0 ? In-Reply-To: References: Message-ID: media.res | alex widschwendter schrieb: > hi masi, > >> Will it still be possible to have versins only for single pages or >> subpages? > > > check the last 15-20 minutes of kaspers keynote at tycon. there he > demonstratets the workspaces concept. I have all them all on my harddisk. I'm still trying to find the time to watch them. :-( Masi From wolfgang at stufenlos.net Tue Oct 11 15:08:37 2005 From: wolfgang at stufenlos.net (Wolfgang Klinger) Date: Tue, 11 Oct 2005 15:08:37 +0200 Subject: [Typo3-dev] Hey system extensions! Come back to the extension repository!! was: Re: indexed_search / EXT Rep? In-Reply-To: References: Message-ID: Hi! On Mon, 10 Oct 2005, Michael Stucki wrote the following: > Why do you think it is confusing? You don't need to update indexed_search > through TER because your version already ships with the most recent version > available. If there would be a new version, then there would also be a new > typo3_src release. It's confusing (or rather annoying) because a) I get no hint about an extension called "indexed_search" if I search in the extension repository b) I get no documentation c) I can't update/change the version (let's say I want to stay with my shiny TYPO3 3.8 but only update this extension (and not the CMF itself)) > If you have no clue... (see Joeys signature) bla bla bye Wolfgang From kasper2005 at typo3.com Tue Oct 11 16:10:04 2005 From: kasper2005 at typo3.com (Kasper =?iso-8859-1?q?Sk=E5rh=F8j?=) Date: Tue, 11 Oct 2005 16:10:04 +0200 Subject: [Typo3-dev] Hey system extensions! Come back to the extension repository!! was: Re: indexed_search / EXT Rep? In-Reply-To: References: Message-ID: I'm actually indifferent regarding whether system/global extensions are in TER or not. Obviously there are drawbacks with both situations at the present time: If they are in TER: - we have to keep the extensions distributed in the core in sync with TER which is some 120 times boring administration, currently done manually. If they are NOT in TER: - No manuals available - No in-between-releases updates from TER (only CVS) What is the better? The first scenario is known for a fact because it has been documented that for many years I haven't been able to keep the 80 global extensions updated in TER each time a new release was out. That was also confusing. Any attempt to find the good middleway seems to result in a) either an extended procedure that implies administrative work for someone or b) development of automation scripts that could do it for us. - kasper On Tuesday 11 October 2005 15:08, Wolfgang Klinger wrote: > Hi! > > On Mon, 10 Oct 2005, Michael Stucki wrote the following: > > Why do you think it is confusing? You don't need to update indexed_search > > through TER because your version already ships with the most recent > > version available. If there would be a new version, then there would also > > be a new typo3_src release. > > It's confusing (or rather annoying) because > a) I get no hint about an extension called "indexed_search" if I search > in the extension repository > b) I get no documentation > c) I can't update/change the version > (let's say I want to stay with my shiny TYPO3 3.8 but only > update this extension (and not the CMF itself)) > > > If you have no clue... (see Joeys signature) > > bla bla > > > bye > Wolfgang > > > _______________________________________________ > Typo3-dev mailing list > Typo3-dev at lists.netfielders.de > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev -- - kasper ----------------- Think future, not feature From Martin.Kutschker at n0spam-blackbox.net Tue Oct 11 16:13:21 2005 From: Martin.Kutschker at n0spam-blackbox.net (Martin Kutschker) Date: Tue, 11 Oct 2005 16:13:21 +0200 Subject: [Typo3-dev] Hey system extensions! Come back to the extension repository!! was: Re: indexed_search / EXT Rep? In-Reply-To: References: Message-ID: Wolfgang Klinger schrieb: > Hi! > > On Mon, 10 Oct 2005, Michael Stucki wrote the following: > >>Why do you think it is confusing? You don't need to update indexed_search >>through TER because your version already ships with the most recent version >>available. If there would be a new version, then there would also be a new >>typo3_src release. > > > It's confusing (or rather annoying) because > a) I get no hint about an extension called "indexed_search" if I search in > the extension repository > b) I get no documentation > c) I can't update/change the version > (let's say I want to stay with my shiny TYPO3 3.8 but only > update this extension (and not the CMF itself)) Guedsing from observation what has happend in the past, I think that sysexts are only expected to work with the TYPO3 version they are shipped. Makes some sense as they are usually also some kind of playground for new API features. But I agree that this is annoying as it means there are no intermediate updates between TYPO3 versions. Masi From gercke at hnm.de Tue Oct 11 16:16:43 2005 From: gercke at hnm.de (Daniel Gercke) Date: Tue, 11 Oct 2005 16:16:43 +0200 Subject: [Typo3-dev] Bug in HMENU ? Message-ID: Hi, having a menu with special = list. Here is the code ---snip--- temp.navi = HMENU temp.navi{ special = list special.value.data = leveluid : 1 # special.value.data = leveluid : 2 1 = TMENU 1 { expAll = 1 wrap =
      |
    NO = 1 NO { wrapItemAndSub =
  • |
  • } } 2 = TMENU 2 { wrap =
      |
    NO = 1 NO { expAll = 1 wrapItemAndSub =
  • |
  • } ACT = 1 ACT { expAll = 1 wrapItemAndSub =
  • |
  • linkWrap = | } } 3 = TMENU 3 { wrap =
      |
    NO = 1 NO { expAll = 1 wrapItemAndSub =
  • |
  • } } } ---snap--- Startseite -test 1 -test 2 <-- with leveluid:1 --U 1 --U 2 <-- with leveluid:2 ---u 2 - 1 ---u 2 - 2 ----last 1 ----last 2 ----last 3 ---u 2 - 3 ---u 2 - 4 when i create the menu with leveluid:1 and then go to page "U 2" everything is like i have expected. it shows: test 2 -U 1 -U 2 --u 2 - 1 --u 2 - 2 --u 2 - 3 --u 2 - 4 but when i set leveluid:2 there go something wrong. (try going "u 2 - 2") expected: U 2 - u 2 - 1 - u 2 - 2 --last 1 --last 2 --last 3 - u 2 - 3 - u 2 - 4 will be shown: U 2 - u 2 - 1 - u 2 - 2 - u 2 - 3 - u 2 - 4 Can someone explain this? -- Daniel Gercke programmierung . system managements -- haus neuer medien GmbH . agentur fuer neuen antrieb . Tel 03834 8313 0 . Fax 8313 13 . info at hnm.de . www.hnm.de Wolgaster Strasse 146 (Ollmannsche Villa) . 17489 Greifswald . Tel 040 2384 4630 . Fax 4154 6520 . Osterstrasse 124 . 20255 Hamburg . AG Stralsund HRB 5089 . Geschaeftsfuehrer RA Daniel Scheibner . -- [Diese Nachricht gilt als frei von Viren und gefaehrlichen Dateianhaengen. Schutz vor Viren und Spam von haus neuer medien. Bei Fragen oder Interesse Kontakt ueber mailscanner at hnm.de oder 03834 83130.] From Martin.Kutschker at n0spam-blackbox.net Tue Oct 11 16:44:44 2005 From: Martin.Kutschker at n0spam-blackbox.net (Martin Kutschker) Date: Tue, 11 Oct 2005 16:44:44 +0200 Subject: [Typo3-dev] Hey system extensions! Come back to the extension repository!! was: Re: indexed_search / EXT Rep? In-Reply-To: References: Message-ID: Kasper Sk?rh?j schrieb: > > The first scenario is known for a fact because it has been documented that for > many years I haven't been able to keep the 80 global extensions updated in > TER each time a new release was out. That was also confusing. Shouldn't things become better when ext is empty (this was the goal AFAIR)? sysext shouldn't get that large. > development of automation scripts that could do it for us. Can it be done by writing a TYPO3-CLI-Script that loops over all "sysext" and "ext" extension and invokes the extension manager's upload feature? Masi From kasper2005 at typo3.com Tue Oct 11 16:47:42 2005 From: kasper2005 at typo3.com (Kasper =?iso-8859-1?q?Sk=E5rh=F8j?=) Date: Tue, 11 Oct 2005 16:47:42 +0200 Subject: [Typo3-dev] Bug in HMENU ? In-Reply-To: References: Message-ID: Hi Daniel, I believe your question is not about development of either TYPO3 or extensions, but rather general support. Therefore you should ask your question on another mailing list, like the english list. If it really turns out to be a bug you can either return here with the patch or report it on the bug tracker. Thank you, - kasper ------------------------------------- Think future, not feature From kasper2005 at typo3.com Tue Oct 11 16:50:15 2005 From: kasper2005 at typo3.com (Kasper =?iso-8859-1?q?Sk=E5rh=F8j?=) Date: Tue, 11 Oct 2005 16:50:15 +0200 Subject: [Typo3-dev] Hey system extensions! Come back to the extension repository!! was: Re: indexed_search / EXT Rep? In-Reply-To: References: Message-ID: > Can it be done by writing a TYPO3-CLI-Script that loops over all > "sysext" and "ext" extension and invokes the extension manager's upload > feature? Maybe. Can you do that? -- - kasper ----------------- Think future, not feature From wolfgang at stufenlos.net Tue Oct 11 16:56:16 2005 From: wolfgang at stufenlos.net (Wolfgang Klinger) Date: Tue, 11 Oct 2005 16:56:16 +0200 Subject: [Typo3-dev] Hey system extensions! Come back to the extension repository!! was: Re: indexed_search / EXT Rep? In-Reply-To: References: Message-ID: Hi! On Tue, 11 Oct 2005, Kasper Sk?rh?j wrote the following: > or not. Obviously there are drawbacks with both situations at the present > time: Fine that somebody else sees that... > If they are in TER: > - we have to keep the extensions distributed in the core in sync with TER > which is some 120 times boring administration, currently done manually. Can you describe that (the process) a little bit more indepth? Maybe we can find an automatic solution with a Ruby or shell script(?) bye Wolfgang From robert at typo3.org Tue Oct 11 17:14:50 2005 From: robert at typo3.org (Robert Lemke) Date: Tue, 11 Oct 2005 17:14:50 +0200 Subject: [Typo3-dev] Hey system extensions! Come back to the extension repository!! was: Re: indexed_search / EXT Rep? References: Message-ID: Hi folks, Martin Kutschker wrote: > > development of automation scripts that could do it for us. > > Can it be done by writing a TYPO3-CLI-Script that loops over all > "sysext" and "ext" extension and invokes the extension manager's upload > feature? We can create such a script for the new EM, the upload will hapen via SOAP then. However, there are some other problems I'd have to solve. Currently my extension ter_fe which displays the extensions at typo3.org does not have the information at hand if an extension is a system extension. To get that information, it would have to unpack each t3x file or I'd have to modify 3 other extensions. I can do that if it's really important that system extensions don't appear in the extensions list. The other point is: We do have to upload system extensions in order to display the documentation. Too bad that we can't just rename all system extension keys to "core_*" ... -- Robert Lemke TYPO3 Association - Research & Development Member of the board http://association.typo3.org From Martin.Kutschker at n0spam-blackbox.net Tue Oct 11 17:48:23 2005 From: Martin.Kutschker at n0spam-blackbox.net (Martin Kutschker) Date: Tue, 11 Oct 2005 17:48:23 +0200 Subject: [Typo3-dev] Hey system extensions! Come back to the extension repository!! was: Re: indexed_search / EXT Rep? In-Reply-To: References: Message-ID: Robert Lemke schrieb: > Hi folks, > > Martin Kutschker wrote: > > >> > development of automation scripts that could do it for us. >> >>Can it be done by writing a TYPO3-CLI-Script that loops over all >>"sysext" and "ext" extension and invokes the extension manager's upload >>feature? > > We can create such a script for the new EM, the upload will hapen via SOAP > then. However, there are some other problems I'd have to solve. > > Currently my extension ter_fe which displays the extensions at typo3.org > does not have the information at hand if an extension is a system > extension. To get that information, it would have to unpack each t3x > file or I'd have to modify 3 other extensions. > > I can do that if it's really important that system extensions don't appear > in the extensions list. I don't understand. This has nothing to do with TER itself. At leats not with the display part of it. My idea was that a local script simply looks for all ext that are in sysext and ext. It than uses the correct method, be it soap or whatever, to upload all oft them. The script is only to be used by Kasper or some other authorized core developer. It should only be used on a fresh install from CVS sources. Ideally on the day of a new TYPO3 release. Masi From robert at typo3.org Tue Oct 11 18:21:53 2005 From: robert at typo3.org (Robert Lemke) Date: Tue, 11 Oct 2005 18:21:53 +0200 Subject: [Typo3-dev] Hey system extensions! Come back to the extension repository!! was: Re: indexed_search / EXT Rep? References: Message-ID: Hi Martin, Martin Kutschker wrote: > I don't understand. This has nothing to do with TER itself. At leats not > with the display part of it. > > My idea was that a local script simply looks for all ext that are in > sysext and ext. It than uses the correct method, be it soap or whatever, > to upload all oft them. > > The script is only to be used by Kasper or some other authorized core > developer. It should only be used on a fresh install from CVS sources. > Ideally on the day of a new TYPO3 release. yes, that part is clear. However, we still have to decide if we want to display system extensions in the list displayed on typo3.org and therefore allow for downloading them. That would be a bit complicated ... -- Robert Lemke TYPO3 Association - Research & Development Member of the board http://association.typo3.org From typo3 at ingo-renner.com Tue Oct 11 21:27:13 2005 From: typo3 at ingo-renner.com (Ingo Renner) Date: Tue, 11 Oct 2005 21:27:13 +0200 Subject: [Typo3-dev] Hey system extensions! Come back to the extension repository!! was: Re: indexed_search / EXT Rep? References: Message-ID: Am Tue, 11 Oct 2005 18:21:53 +0200 schrieb Robert Lemke: Hi Robert, > However, we still have to decide if we want to display system extensions in > the list displayed on typo3.org and therefore allow for downloading them. > That would be a bit complicated ... why? You could make a list of names of system extensions and if one is found it is just not displayed or what ever... Ingo -- Use a newsreader! Check out http://typo3.org/community/mailing-lists/use-a-news-reader/ From michael at typo3.org Wed Oct 12 08:12:47 2005 From: michael at typo3.org (Michael Stucki) Date: Wed, 12 Oct 2005 08:12:47 +0200 Subject: [Typo3-dev] Empty cHash problem References: Message-ID: Hi Elmar, > Kasper Sk?rh?j wrote: >> thanks Elmar, I'm happy that only this minor lack is found :-) >> >> I'm not sure I will find time to update the article myself though. > > Maybe Robert findes the time to spread this information in > > http://typo3.org/development/articles/using-links-in-frontend-plugins/ You could download those two articles as sxw files, update them and send them back to Robert. I'm sure he would be glad to upload the new files. - michael -- Use a newsreader! Check out http://typo3.org/community/mailing-lists/use-a-news-reader/ From michael at typo3.org Wed Oct 12 08:24:31 2005 From: michael at typo3.org (Michael Stucki) Date: Wed, 12 Oct 2005 08:24:31 +0200 Subject: [Typo3-dev] Hey system extensions! Come back to the extension repository!! References: Message-ID: Hi Robert, > However, we still have to decide if we want to display system extensions > in the list displayed on typo3.org and therefore allow for downloading > them. That would be a bit complicated ... I do not see any reasons for downloading system extensions from TER: - People think they can install the 3.8 version on their 3.7 installation - Someone has to keep it up to date with the current core version The only drawback: The manual is not visible. Luckily there are some ways to solve this: - Did anybody notice that Robert released the extension rlmp_extensiondocs? - Alternatively, I vote for Ingos suggestion to add a static list of system extensions to the repository to make sure that the manual is there but you cannot download them. This way, no database change would be needed. This might be realistic to implement because the manual does not change as often as the code does... Regards, michael -- Use a newsreader! Check out http://typo3.org/community/mailing-lists/use-a-news-reader/ From michael at typo3.org Wed Oct 12 08:36:39 2005 From: michael at typo3.org (Michael Stucki) Date: Wed, 12 Oct 2005 08:36:39 +0200 Subject: [Typo3-dev] Hey system extensions! Come back to the extension repository!! was: Re: indexed_search / EXT Rep? References: Message-ID: Martin Kutschker wrote: > Wolfgang Klinger schrieb: >> It's confusing (or rather annoying) because >> a) I get no hint about an extension called "indexed_search" if I >> search in the extension repository Why should one search for it when it's already installed? >> b) I get no documentation rlmp_extensiondocs. See my previous mail. >> c) I can't update/change the version >> (let's say I want to stay with my shiny TYPO3 3.8 but only >> update this extension (and not the CMF itself)) > > Guedsing from observation what has happend in the past, I think that > sysexts are only expected to work with the TYPO3 version they are shipped. That's the point! Did you ever try to install the latest indexed_search on a 3.7 installation? It won't work. I think this was much more confusing than an extension which is just not listed... > But I agree that this is annoying as it means there are no intermediate > updates between TYPO3 versions. There's still CVS. - michael -- Use a newsreader! Check out http://typo3.org/community/mailing-lists/use-a-news-reader/ From Martin.Kutschker at n0spam-blackbox.net Wed Oct 12 10:48:16 2005 From: Martin.Kutschker at n0spam-blackbox.net (Martin Kutschker) Date: Wed, 12 Oct 2005 10:48:16 +0200 Subject: [Typo3-dev] Hey system extensions! Come back to the extension repository!! was: Re: indexed_search / EXT Rep? In-Reply-To: References: Message-ID: Michael Stucki schrieb: > Martin Kutschker wrote: > >> >>Guedsing from observation what has happend in the past, I think that >>sysexts are only expected to work with the TYPO3 version they are shipped. > > That's the point! Did you ever try to install the latest indexed_search on a > 3.7 installation? It won't work. I think this was much more confusing than > an extension which is just not listed... I tried once. >>But I agree that this is annoying as it means there are no intermediate >>updates between TYPO3 versions. > > There's still CVS. That's no point. CVS is only for "nerds". I think it is a sound policy not make any new versions of sysexts. Although I wish it wouldn't. OTOH, if we have more maintenance releases then there is the chance for updated extensions. Masi From mscharkow at gmx.net Wed Oct 12 11:11:25 2005 From: mscharkow at gmx.net (Michael Scharkow) Date: Wed, 12 Oct 2005 11:11:25 +0200 Subject: [Typo3-dev] Hey system extensions! Come back to the extension repository!! was: Re: indexed_search / EXT Rep? In-Reply-To: References: Message-ID: Robert Lemke wrote: > The other point is: We do have to upload system extensions in order to > display the documentation. Why? There's plenty of documentation that is *not* extension related. If we decide that -to the outside world- system extensions are not extensions anymore (=not in TER), why not have theit documentation in a different place, where we have MTB, TSbyExample, etc.? A lot of system extensions don't have docs anyway (or only embedded in -core docs). For me, this case gives another reason why we should decouple extensions from their documentation. This does *not* mean we shouldn't provide means for ext authors to easily upload and maintain their docs. Sorry for disgressing... Michael From pilot at m-lan.ru Wed Oct 12 11:01:28 2005 From: pilot at m-lan.ru (Pilot) Date: Wed, 12 Oct 2005 13:01:28 +0400 Subject: [Typo3-dev] Really hard to find http://typo3.org/community/your-account/loginlogout/ Message-ID: May be show this form or link to it on the top level pages in typo3.org? From robert at typo3.org Wed Oct 12 11:45:41 2005 From: robert at typo3.org (Robert Lemke) Date: Wed, 12 Oct 2005 11:45:41 +0200 Subject: [Typo3-dev] Hey system extensions! Come back to the extension repository!! was: Re: indexed_search / EXT Rep? References: Message-ID: Hi Michael Michael Scharkow wrote: >> The other point is: We do have to upload system extensions in order to >> display the documentation. > > Why? There's plenty of documentation that is *not* extension related. If > we decide that -to the outside world- system extensions are not > extensions anymore (=not in TER), why not have theit documentation in a > different place, where we have MTB, TSbyExample, etc.? A lot of system > extensions don't have docs anyway (or only embedded in -core docs). Technically the MTB etc. are extensions as well. So following your suggestion a possible solution would be to have an extension "doc_indexed_search" containing the documentation for indexed_search. What we can't do (and we actually decided against it in discussions with the docteam at the last snowboard tour) is decoupling documentation from extensions technically. We still need the container for distributing and managing documentation. > For me, this case gives another reason why we should decouple extensions > from their documentation. This does *not* mean we shouldn't provide > means for ext authors to easily upload and maintain their docs. Currently the advantage of coupling documentation with extensions is that you can alwasy read the documentation for each version, there's a direct connection between them. We only have few documents which are not directly related to a specific extension version. Cheers, robert -- Robert Lemke TYPO3 Association - Research & Development Member of the board http://association.typo3.org From mscharkow at gmx.net Wed Oct 12 11:54:30 2005 From: mscharkow at gmx.net (Michael Scharkow) Date: Wed, 12 Oct 2005 11:54:30 +0200 Subject: [Typo3-dev] Less features, more future Message-ID: Hi *, inspired by Kasper's new signature, I'd like to take name some features I'd like to get rid off until 5.0 because I think the costs of maintaining them are far higher than the benefits. I know everyone has his pet feature and we've been adding and adding until now. But luckily, TYPO3 is not Java and not Perl, so we don't need a thousands of rarely-used features and not more TIMTOWTDI. Users are already in awe of the featuritis of TYPO3. And, yes, I *do* know the backwards compatibility guideline ;=) Things to remove: 1. Pagetypes: Hide in Menu, Advanced, Backend User Section, Spacer, huh? Why can't we just have page properties, nicely arranged and collapsable, but with the possibility to have any combination of them. Quite a few feature requests in the bugtracker go like "I want checkbox X in pagetype Y". Since Pagetype is essentially only a filter field, this should be trivial to implement even without breaking stuff (as Stucki pointed out concerning not-in-menu). 2. Static templates (or at least the old ones), content(default) and friends. If there are none, get rid of the static templates select form and only use static from extension. 3. Content Elements: search box, login have been superseded by index_search and newloginbox (and others). Either replace them or get rid of them completely. 4. Fields in content elements: Space after/before, Frame, Align? All those can be replaced by *one* CSS-class field in which these properties can easily be defined for the wrapping div field. 5. Typoscript properties: I'm sure there's lots more, but here are some: XHTML-cleaning, disableImgBorderAttr, page.bodytag etc. - these are ugly hacks. Instead, let's make it XHTML strict (or trans for the beloved target-attribute which also pops up everywhere in TS) and that's it. Yes, HTML 4 is not obsolete yet but why would you need to use this (and please don't come up with that legacy stuff again.)? If you think: Why can't we just leave it in, please see the condition hell when rendering stuff, the various places where tags are changed afterwards, and ask the content rendering group. xMENU_LAYERS: This may be a personal issue but the configuration is horrible, the resulting html not very nice, and most of all: it can all be done with a regular xMENU, some CSS and JS. cObjects: PHP_SCRIPT_x, CTABLE, OTABLE, HRULER?, CLEARGIF???! Okay, enough for now. Flame me or add to the list ;) Greetings, Michael From robert at typo3.org Wed Oct 12 11:52:57 2005 From: robert at typo3.org (Robert Lemke) Date: Wed, 12 Oct 2005 11:52:57 +0200 Subject: [Typo3-dev] Hey system extensions! Come back to the extension repository!! References: Message-ID: Hi folks, Michael Stucki wrote: > I do not see any reasons for downloading system extensions from TER: I agree with that. > - People think they can install the 3.8 version on their 3.7 installation That won't be possible in the future because the required TYPO3 version is checked. > - Someone has to keep it up to date with the current core version Which we have to do anyway: We have to upload the documentation! > The only drawback: The manual is not visible. Luckily there are some ways > to solve this: > > - Did anybody notice that Robert released the extension > rlmp_extensiondocs? - Alternatively, I vote for Ingos suggestion to add a > static list of system > extensions to the repository to make sure that the manual is there but > you cannot download them. This way, no database change would be needed. > This might be realistic to implement because the manual does not change > as often as the code does... That would be an easy solution, true. Just to make it even more complicated: In earlier versions indexed search was not a system extension, now it is. If we hide indexed search from the repository, nobody with TYPO3 3.6.0 can download indexed search ... Ideas? robert -- Robert Lemke TYPO3 Association - Research & Development Member of the board http://association.typo3.org From Andreas.Foerthner at netlogix.de Wed Oct 12 12:07:27 2005 From: Andreas.Foerthner at netlogix.de (=?ISO-8859-15?Q?Andreas_F=F6rthner?=) Date: Wed, 12 Oct 2005 12:07:27 +0200 Subject: [Typo3-dev] zap the gremlins: what about linking to a page out of the users db mount? Message-ID: Hi list, I just was searching for this in the bug tracker and didn't find it. I had the problem that I can't link pages to pages that are not in the DB Mount of my be user, because the Element-Browser also does only show the scope of the DB Mount. It would be nice if a user could link to all pages or if there would be a flag to explicitly allow this feature to a user. I don't know if this has already been discussed, but I didn't find anything in the bugtracker or the newsgroups. If this hasn't been solved and there is really no existing bug/feature request, then I would add this to the bug tracker and the "zap the gremlins" list. have a nice day Andreas From mscharkow at gmx.net Wed Oct 12 12:17:55 2005 From: mscharkow at gmx.net (Michael Scharkow) Date: Wed, 12 Oct 2005 12:17:55 +0200 Subject: [Typo3-dev] Hey system extensions! Come back to the extension repository!! was: Re: indexed_search / EXT Rep? In-Reply-To: References: Message-ID: Hi Robert (and sorry everyone for OT) Robert Lemke wrote: > Technically the MTB etc. are extensions as well. So following your > suggestion a possible solution would be to have an extension > "doc_indexed_search" containing the documentation for indexed_search. > What we can't do (and we actually decided against it in discussions with the > docteam at the last snowboard tour) is decoupling documentation from > extensions technically. We still need the container for distributing and > managing documentation. Okay, maybe this deserves to be more precise: I agree that it's useful to package docs like extensions, let's say in an "container object" that has some access methods and some attributes, like files, versions, meta infos. (Actually, it might be useful to make adoc container a subclass of a generic (extension) container because we need file conversions, and maybe different access methods than upload (like wiki edit).) Let's also say we have a repository object (currently TER) that has and manages container objects (extensions). While technically, tt_news and MTB are extensions, they should ideally be managed by two different repository instances (a TER instance and a TDR instance) of the repository class. This means: When extension authors upload, the code is uploaded to TER and then processed, the doc is uploaded to TDR and then processed. Both with the same SOAP upload method since both are repository objects. This can be done client-side (in EM), or server side (repository A dispatching to B, or with a dispatcher frontend). > Currently the advantage of coupling documentation with extensions is that > you can alwasy read the documentation for each version, there's a direct > connection between them. This can still be maintained with two different repositories, if the dispatcher manages version numbers. But be aware that it should be possible to update docs without creating a new extension version, and vice versa. This means decoupling to me. > We only have few documents which are not directly > related to a specific extension version. That's because the doc structure was until now much depending on extensions (i.e. I had to make an empty extension with a manual.sxw to get listed there). But we should have documentation in TDR that does not have code (a regular extension) associated with it. For this problem, that would mean Kasper (or the indexed_search) maintainer would need to manage docs in TDR only, and he doesn't use EM to upload stuff. Greetings, Michael From mscharkow at gmx.net Wed Oct 12 12:21:32 2005 From: mscharkow at gmx.net (Michael Scharkow) Date: Wed, 12 Oct 2005 12:21:32 +0200 Subject: [Typo3-dev] zap the gremlins: what about linking to a page out of the users db mount? In-Reply-To: References: Message-ID: Andreas F?rthner wrote: > Hi list, > > I just was searching for this in the bug tracker and didn't find it. > > I had the problem that I can't link pages to pages that are not in the > DB Mount of my be user, because the Element-Browser also does only show > the scope of the DB Mount. It would be nice if a user could link to all > pages or if there would be a flag to explicitly allow this feature to a > user. Basically, a restricted user should only get to see his pagemount. If you want him to be able to link everywhere, give him a second pagemount for the whole site. With proper permissions this should work well. Cheers. Michael From Andreas.Foerthner at netlogix.de Wed Oct 12 12:27:40 2005 From: Andreas.Foerthner at netlogix.de (=?ISO-8859-15?Q?Andreas_F=F6rthner?=) Date: Wed, 12 Oct 2005 12:27:40 +0200 Subject: [Typo3-dev] zap the gremlins: what about linking to a page out of the users db mount? In-Reply-To: References: Message-ID: Michael Scharkow schrieb: > Andreas F?rthner wrote: > >> Hi list, >> >> I just was searching for this in the bug tracker and didn't find it. >> >> I had the problem that I can't link pages to pages that are not in the >> DB Mount of my be user, because the Element-Browser also does only >> show the scope of the DB Mount. It would be nice if a user could link >> to all pages or if there would be a flag to explicitly allow this >> feature to a user. > > > Basically, a restricted user should only get to see his pagemount. If > you want him to be able to link everywhere, give him a second pagemount > for the whole site. With proper permissions this should work well. > > Cheers. > Michael Of course this would work, but thats a litte bit confusing to the user, because he has two pagemounts in his page module but he can just work in one of the two... It would be nice to hide this second pagemount in the page module... If this is possible I'm completely satisfied.. greetings Andreas From ernst at cron-it.de Wed Oct 12 12:41:35 2005 From: ernst at cron-it.de (Ernesto Baschny [cron IT]) Date: Wed, 12 Oct 2005 12:41:35 +0200 Subject: [Typo3-dev] New cron_cssstyledimgtext released Message-ID: Hi people, I just released another version of cron_cssstyledimgtext. For who doesn't know yet, this is a working CSS based implementation of the "Text with Image" and "Image" content types (from tt_content). Not much have changed, see announcement at http://typo3.org/extensions/. The main change was inspired by ben's idea (thanks!): I added the constants from the CONSTANT EDITOR into the auto-generated CSS, so that you can influence the appearance of borders and spacing around images using just the CONSTANT EDITOR, you don't have to export the CSS to an external file and adjust it anymore. Still, if you want to do that, fine, you can do that. Same comments from http://typo3.org/documentation/document-library/cron_cssstyledimgtext/Styling_CSS/, section "CSS and TypoScript" will apply, then. Speaking of which, I improved the documentation, but it doesn't seem to appear updated in typo3.org. I have read about this problem from others, so I will wait until tomorrow to see if it gets updated. The extension version was rised from 0.3.0 to 0.4.0. And I have already submitted the "OOdoc content" part in the TER, syncing the TOC. But maybe I need to do something else? Please play around with it, and be welcome to sponsor further development! ;) Follow-ups to typo3.projects.content-rendering, please. Cheers, Ernesto From kasper2005 at typo3.com Wed Oct 12 12:48:55 2005 From: kasper2005 at typo3.com (Kasper =?iso-8859-1?q?Sk=E5rh=F8j?=) Date: Wed, 12 Oct 2005 12:48:55 +0200 Subject: [Typo3-dev] Less features, more future In-Reply-To: References: Message-ID: > 1. Pagetypes: Hide in Menu, Advanced, Backend User Section, Spacer, huh? > Why can't we just have page properties, nicely arranged and collapsable, > but with the possibility to have any combination of them. Quite a few > feature requests in the bugtracker go like "I want checkbox X in > pagetype Y". Since Pagetype is essentially only a filter field, this > should be trivial to implement even without breaking stuff (as Stucki > pointed out concerning not-in-menu). I agree. Today the page editing form should have tabs to divide the different types. Maybe you can justify types like Sysfolder being different. > 2. Static templates (or at least the old ones), content(default) and > friends. If there are none, get rid of the static templates select form > and only use static from extension. Yes > 3. Content Elements: search box, login have been superseded by > index_search and newloginbox (and others). Either replace them or get > rid of them completely. Hmm. I agree for modern sites they should be disabled. Yet, they do their simple job. > 4. Fields in content elements: Space after/before, Frame, Align? All > those can be replaced by *one* CSS-class field in which these properties > can easily be defined for the wrapping div field. Good. > > 5. Typoscript properties: I'm sure there's lots more, but here are some: > > XHTML-cleaning, disableImgBorderAttr, page.bodytag etc. - these are ugly > hacks. Instead, let's make it XHTML strict (or trans for the beloved > target-attribute which also pops up everywhere in TS) and that's it. > Yes, HTML 4 is not obsolete yet but why would you need to use this (and > please don't come up with that legacy stuff again.)? If you think: Why > can't we just leave it in, please see the condition hell when rendering > stuff, the various places where tags are changed afterwards, and ask the > content rendering group. yes, lets face the future. > > xMENU_LAYERS: This may be a personal issue but the configuration is > horrible, the resulting html not very nice, and most of all: it can all > be done with a regular xMENU, some CSS and JS. > I'm not so sure. > cObjects: PHP_SCRIPT_x, CTABLE, OTABLE, HRULER?, CLEARGIF???! In fact PHP_SCRIPT_EXT had a surprising comeback in a discussion I had with JH, but theoretically yes. These changes will however not apply to version 4.0. Some might apply to version 4.5 due to their usability enhancement effect. And all of them - and possibly going much further - will be the home of version 5.0 in my mind. Thanks for your input. Maybe others have some dreams about the future? Anyone? - kasper BTW: "Think future, not feature" was invented as a slogan for a little sales speech to the supporting members of the association where I wanted to stress the point that much of the future core development will not be focused directly on creating a new gizmo this-or-that but needs to deal with architecture etc. that can prepare TYPO3 for a long-term life. Hence be an investment we must trust is for the better. > > > Okay, enough for now. Flame me or add to the list ;) > > Greetings, > Michael > _______________________________________________ > Typo3-dev mailing list > Typo3-dev at lists.netfielders.de > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev -- - kasper ----------------- Think future, not feature From info at cybercraft.de Wed Oct 12 13:41:26 2005 From: info at cybercraft.de (JoH) Date: Wed, 12 Oct 2005 13:41:26 +0200 Subject: [Typo3-dev] Less features, more future References: Message-ID: >> 3. Content Elements: search box, login have been superseded by >> index_search and newloginbox (and others). Either replace them or get >> rid of them completely. > > Hmm. I agree for modern sites they should be disabled. Yet, they do > their simple job. Exactly - and in most cases we didn't even use the newloginbox, since it was simply impossible to implement it using TypoScript only. Reason: the hardcoded "_STORAGE_PID" - as long as it is hardcoded you can't use a universal Loginbox with dynamic pids to get the user records from different sysfolders for different positions of the page tree. Imagine for example a page with different sections that have their own fe_users stored in their own sysfolder. Editors are allowed to maintain their sysfolder only. But still there should be only one Loginbox that will be inserted on every page using TypoScript. Impossible with the newloginbox. Another reason for not using the newloginbox: Hardcoded HTML Tags for forms and tables. The content element login is created based on pure TypoScript and thus much more flexible than the newloginbox. This brings me to the major issue when it comes to a new concept of "smart content rendering". IMHO we should stick to the following rules, while producing the new content rendering stuff: 1. No hardcoded values and tags in the PHP files at all. They should be replaced with TypoScript settings to keep backwards compatibility. The default setting should be the "correct" behaviour though, while the "old school" behaviour can be acchieved by setting something like config.backwardsCompatibility = 1 2. TypoScript should be used as much as possible. 3. Every Content Element should get a set of predefined HTML Templates plus a flexform to use custom templates (plus the ability to define HTML templates to be used via TypoScript) 4. No inlines styles - they should be generated as dynamic stylesheets using a default typeNum. So each time the page is rendered it will create classes and ids for the tags _and_ the corresponding stylesheet. 5. Users must be able to override 3. and 4. using TypoScript and/or custom PHP functions There might be more, but these are the main things I would like to improve. What do you think? 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 goes.to at dev.null Wed Oct 12 13:48:32 2005 From: goes.to at dev.null (Tonni Aagesen) Date: Wed, 12 Oct 2005 13:48:32 +0200 Subject: [Typo3-dev] Desired fe-user login behaviour? Message-ID: Hi list, I was implementing login for fe-users at a site, when a I came across this (to my mind) strange behaviour with regards to the lockToDomain feature. Remember that any user must memeber of at least one group. [Scenario 1] -------------------------------------------------------------------- GROUP: uid=1, lockToDomain='domain.tld' USER: usergroup=1, lockToDomain='www.domain.tld' After login attempt at www.domain.tld: -> $GLOBALS['TSFE']->loginUser = 0 -> $GLOBALS['TSFE']->fe_user->user contains the users information -> An entry in fe_sessions is created -------------------------------------------------------------------- [Scenario 2 - lockToDomain changed for group] -------------------------------------------------------------------- GROUP: uid=1, lockToDomain='www.domain.tld' <-- NOTE the difference USER: usergroup=1, lockToDomain='www.domain.tld' After login attempt at www.domain.tld: -> $GLOBALS['TSFE']->loginUser = 1 -> $GLOBALS['TSFE']->fe_user->user contains the users information -> An entry in fe_sessions is created -------------------------------------------------------------------- Now, considering these two scenarios above, the questions must be: If the user is NOT a member of a valid group... 1) Should a fe_session be created? 2) Should the $GLOBALS['TSFE']->fe_user->user not be false? I know that fe user login should be checked against the $GLOBALS['TSFE']->loginUser variable, and that it therefore is not thta big a problem - it just seems illogical :) -- Regards Tonni Aagesen www.pil.dk & www.quickpay.dk From janke at imco.de Wed Oct 12 14:01:35 2005 From: janke at imco.de (Thomas Janke) Date: Wed, 12 Oct 2005 14:01:35 +0200 Subject: [Typo3-dev] clearCache for Back-End-Users whit clear_cacheCmd Message-ID: hallo, i have a small extension wich should enables several clear-cache-comands for backend-users. i try to clear the cache with something like this: $tce = t3lib_div::makeInstance('t3lib_TCEmain'); $tce->clear_cacheCmd(all); or $page_id_intval = intval( $page_id); $tce->clear_cacheCmd($page_id_intval); but the table cache_pages will not be cleared. is there another reason why not-admin-users cannot clear the page cache in this way? thanks for your help in advance. greeting thomas From kasper2005 at typo3.com Wed Oct 12 14:10:35 2005 From: kasper2005 at typo3.com (Kasper =?iso-8859-1?q?Sk=E5rh=F8j?=) Date: Wed, 12 Oct 2005 14:10:35 +0200 Subject: [Typo3-dev] Less features, more future In-Reply-To: References: Message-ID: Hi JoH, Thanks for your suggestions! Here are some comments. > This brings me to the major issue when it comes to a new concept of "smart > content rendering". > IMHO we should stick to the following rules, while producing the new > content rendering stuff: > > 1. No hardcoded values and tags in the PHP files at all. They should be > replaced with TypoScript settings to keep backwards compatibility. The > default setting should be the "correct" behaviour though, while the "old > school" behaviour can be acchieved by setting something like > config.backwardsCompatibility = 1 I think we have to align all output from TYPO3 in the frontend according to the following objectives: a) All output must have reasonable defaults that enable quick implementations with standard stylesheets providing uniform style to all content. b) The possibility of completely free templating for those who are required by customers to do this. What methodology is used is not really in question. Personally I believe a templating API should be made which enables everyone to choose his/hers favourite way, be it TypoScript TEXT cObjects, HTML documents with markers, Smarty templates, TemplaVoila mapping or hardcoded HTML in PHP. > 2. TypoScript should be used as much as possible. As it is right now, TypoScript has a long history of pissing people off and on that basis I can't agree to increase the usage. However, my plans for TypoScript might make this irrelevant since a future implementation might be completely verifiable and object oriented and fullproff. Only thoughts. > 3. Every Content Element should get a set of predefined HTML Templates plus > a flexform to use custom templates (plus the ability to define HTML > templates to be used via TypoScript) Hence templating API, yes. > 4. No inlines styles - they should be generated as dynamic stylesheets > using a default typeNum. So each time the page is rendered it will create > classes and ids for the tags _and_ the corresponding stylesheet. OK > 5. Users must be able to override 3. and 4. using TypoScript and/or custom > PHP functions Yes of course, honoring old frank, "I did it my way" - kasper > > There might be more, but these are the main things I would like to improve. > > What do you think? > > Joey -- - kasper ----------------- Think future, not feature From janke at imco.de Wed Oct 12 14:49:08 2005 From: janke at imco.de (Thomas Janke) Date: Wed, 12 Oct 2005 14:49:08 +0200 Subject: [Typo3-dev] clearCache for Back-End-Users whit clear_cacheCmd In-Reply-To: References: Message-ID: Thomas Janke wrote: > is there another reason why not-admin-users cannot clear the page cache > in this way? $tce->admin = 1; and it works for me! i hope, it is no "global"-switch an my back-end-usern are now admins :) greeting thomas From ernst at cron-it.de Wed Oct 12 15:11:53 2005 From: ernst at cron-it.de (Ernesto Baschny [cron IT]) Date: Wed, 12 Oct 2005 15:11:53 +0200 Subject: [Typo3-dev] Less features, more future In-Reply-To: References: Message-ID: Kasper Sk?rh?j schrieb am 12.10.2005 12:48: >>1. Pagetypes: Hide in Menu, Advanced, Backend User Section, Spacer, huh? >>Why can't we just have page properties, nicely arranged and collapsable, >>but with the possibility to have any combination of them. Quite a few >>feature requests in the bugtracker go like "I want checkbox X in >>pagetype Y". Since Pagetype is essentially only a filter field, this >>should be trivial to implement even without breaking stuff (as Stucki >>pointed out concerning not-in-menu). > I agree. Today the page editing form should have tabs to divide the different > types. Maybe you can justify types like Sysfolder being different. The "pages" table is currently used for two purposes, which is why it might be difficult to eliminate the types: 1) as hierarchical containers for other record types 2) as menu entries for the webpage with their respective content For a beginner its a bit confusing. You place "content records" inside a "page", that's ok, because this is what will get outputted when the user sees this page in the frontpage. But you can also place "news" and other stuff (frontend users, etc), which doesn't have a direct meaning on the page where its placed. This is why I agree with Kasper, there is a good reason to differenciate between a "Page" and a "SysFolder". Which brings me to another "wish" I have expressed some months ago: The TYPO3-site developer should be able to specify which records are allowed to be placed on which pages in the tree. Maybe we want only "Content" elements in our page hierarchy, and a certain SysFolder that will only store our News, so that our newby-user doesn't start creating "news" records all over the site, just in this particular folder. And allow the site implementator to tag each page in the tree with a particular icon, we can get rid of the "contains plugin" field, which I found myself just using to give my news-folder a "News"-like icon. >>3. Content Elements: search box, login have been superseded by >>index_search and newloginbox (and others). Either replace them or get >>rid of them completely. > Hmm. I agree for modern sites they should be disabled. Yet, they do their > simple job. Which could be done in an extension. So if I want this particular "search box", I install an extention, just like everything else in TYPO3. It could be shipped with TYPO3 and even enabled by default, but I would like to disable it altogether (also the source-code that is responsible for it!). Which brings me to tslib_cObj: This is a huge class that contains a lot of the most fundamental rendering features of TYPO3. Problem is, its huge, its full of hardcoded HTML and its not easily extendable. My dream would be a stripped down tslib_cObj which can be "enhanced" by extensions. I like the "obts" approach, where I can create new cObjects in my extentions? Why not include this feature in TYPO3 by default? And when doing that, we can remove all rendering stuff from this class to an external extension! The admin then installs the needed extensions, which will provide different cTypes and the appropriate rendering engines. So if the admin doesn't install the "content_multimedia" extention, we won't have a MULTIMEDIA TypoScript object, and we won't have a "Multimedia" content-type either. And if some extension wants to implement its own MULTIMEDIA content type, just provide the TypoScript object with the needed parameters, add the cType to tt_content and add TypoScript to tt_content. The benefit of it is that all extensions can use the provided "MULTIMEDIA" content type, not only tt_content! This would also apply nicely to my current cron_cssstyledimgtext. TYPO3 renders the "textpic" cType in content(default) and css-styled-content by using the "IMGTEXT" TypoScript object. Currently, to be able to change this behaviour I have to: 1) change the TypoScript in tt_content.textpic and tt_content.image so that its no longer an "IMGTEXT" but an "USER" object that will call my function 2) do the rendering in my function. 3) problem: any direct call to IMGTEXT (e.g. from another extention) won't get my rendering, it will be rendered by TYPO3's default engine. With my approach, it would work like that: 1) create a new "IMGTEXT" TypoScript object. 2) the admin chooses which IMGTEXT to install as an extention 3) if mine is installed, any other place that needs an IMGTEXT will get rendered through my engine. Some benefits of it: * tslib_cObj gets a lot smaller, and a site only needs to include stuff that he really needs. * obts included allows any extension to create its own TypoScript object. Instead of temp.myStuff = USER temp.myStuff { userFunc = blabla->render_imgtext ... } we just need: temp.myStuff = IMGTEXT temp.myStuff { ... } Some might tell me to ask for hooks to get the desired features, but then I have to depend on when a hook is implemented. If this is extendable by default, I don't need a hook. Some others might tell me I can already use stdWrap to post-process any cObject in the way I want it. But I don't want to post-process anything, I want to process it in the first place. If I would hook cron_cssstyledimgtext onto stdWrap, TYPO3 would render it as a table, and I would then throw that away and render it in another way. Ugly. >>4. Fields in content elements: Space after/before, Frame, Align? All >>those can be replaced by *one* CSS-class field in which these properties >>can easily be defined for the wrapping div field. > Good. Which brings me to another thought I was having these days: Configurable CSS through TypoScript! Currently each extension can bring its own "_CSS_DEFAULT_STYLE" which will be added to the page (or exported to a temp-file, if one set it in config). I just found out (thanks ben!) that I can use constants in this _CSS_DEFAULT_STYLE. This is a huge improvement, as I am much more flexible then. I provide a CSS that can be configured through CONSTANT EDITOR. NICE! But my dream would be a more enhanced control over the CSS, that means, I would like to have CSS being generated by TypoScript! Basically I would love to be able to do things such as this in TypoScript for my plugin: plugin.tx_myplugin._CSS { 10 = CSS 10.selector = P.csc-caption 10.properties.font-size = 80% .. 20 = CSS 20.selector = DIV.csi-textpic DIV.csi-imagecolumn 20.properties.float = left 20.properties.display = inline ... 30 = CSS 30.selector = DIV.csi-intext-left-nowrap .csi-text 30.ieWinOnly = 1 30.properties.height: 1% } which would generate: P.csc-caption { font-size: 80%; } DIV.csi-textpic DIV.csi-imagecolumn { float: left; display: inline; } /* Hide from IE5-mac. Only IE-win sees this. \*/ * html DIV.csi-intext-left-nowrap .csi-text { height: 1%; } /* End hide from IE5/mac */ And of course everything goes through stdWrap, so the possibilities are endless. I could override or add certain CSS-settings in an extension template (e.g. the font-size for captions for a certain page-tree) without having to manually create external CSS files. Its also extension-upgrade-proof, as the properties will remain in place, so if the extension upgrades its CSS-feature-set, I can be sure it will work in my template without me having to check my external CSS files. >>5. Typoscript properties: I'm sure there's lots more, but here are some: >>XHTML-cleaning, disableImgBorderAttr, page.bodytag etc. - these are ugly >>hacks. Instead, let's make it XHTML strict (or trans for the beloved >>target-attribute which also pops up everywhere in TS) and that's it. >>Yes, HTML 4 is not obsolete yet but why would you need to use this (and >>please don't come up with that legacy stuff again.)? If you think: Why >>can't we just leave it in, please see the condition hell when rendering >>stuff, the various places where tags are changed afterwards, and ask the >>content rendering group. > yes, lets face the future. True. TYPO3 should output XHTML 1.0 trans in its "core" extensions. Generate HTML output from this is easier than the oposite. >>xMENU_LAYERS: This may be a personal issue but the configuration is >>horrible, the resulting html not very nice, and most of all: it can all >>be done with a regular xMENU, some CSS and JS. > I'm not so sure. I never used them. But with "obts" and my ideas from before in place and moving such features to extensions, we could have xMENU_LAYERS on all needed flavors, the admin chooses which one to use and uninstalls the ones he doesn't need. >>cObjects: PHP_SCRIPT_x, CTABLE, OTABLE, HRULER?, CLEARGIF???! > In fact PHP_SCRIPT_EXT had a surprising comeback in a discussion I had with > JH, but theoretically yes. Never used it. But I would love to hear which comeback is planned for this! :) On CTABLE, OTABLE, HRULER, CLEARGIF, I agree with Michael: Ban them into their own extensions, if someone wants them, install the extension. I'm sure someone will then create a substitution CLEARGIF or HRULER extension that is purely CSS-based! :) > These changes will however not apply to version 4.0. Some might apply to > version 4.5 due to their usability enhancement effect. And all of them - and > possibly going much further - will be the home of version 5.0 in my mind. I agree with that plan. I also see 4.0 as a release to "zap the gremlins" and have a nice base that we can work on. > Thanks for your input. Maybe others have some dreams about the future? Anyone? Here I am... :) > BTW: "Think future, not feature" was invented as a slogan for a little sales > speech to the supporting members of the association where I wanted to stress > the point that much of the future core development will not be focused > directly on creating a new gizmo this-or-that but needs to deal with > architecture etc. that can prepare TYPO3 for a long-term life. Hence be an > investment we must trust is for the better. Wise advice, I like the way this is heading! Cheers, Ernesto From kasper2005 at typo3.com Wed Oct 12 15:29:37 2005 From: kasper2005 at typo3.com (Kasper =?iso-8859-1?q?Sk=E5rh=F8j?=) Date: Wed, 12 Oct 2005 15:29:37 +0200 Subject: [Typo3-dev] Less features, more future In-Reply-To: References: Message-ID: Thanks Ernesto, I found it very interesting to read your suggestions. I think your basic ideas are contained in the direction v5.0 will be heading. I will save your mail for later reference. Specifically I like your idea of assigning record types to pages so it is unambiguous where to create news items. Good idea. Decomposing tslib_content is inevitable also. Definitely, all cObjects will be contained in extensions in the future. Still, the freedom to re-think things comes at the expense of compatibility breaks and therefore our main constaint is when to make these changes (and break stuff). The direction is agreed upon generally. - kasper On Wednesday 12 October 2005 15:11, Ernesto Baschny [cron IT] wrote: > Kasper Sk?rh?j schrieb am 12.10.2005 12:48: > >>1. Pagetypes: Hide in Menu, Advanced, Backend User Section, Spacer, huh? > >>Why can't we just have page properties, nicely arranged and collapsable, > >>but with the possibility to have any combination of them. Quite a few > >>feature requests in the bugtracker go like "I want checkbox X in > >>pagetype Y". Since Pagetype is essentially only a filter field, this > >>should be trivial to implement even without breaking stuff (as Stucki > >>pointed out concerning not-in-menu). > > > > I agree. Today the page editing form should have tabs to divide the > > different types. Maybe you can justify types like Sysfolder being > > different. > > The "pages" table is currently used for two purposes, which is why it > might be difficult to eliminate the types: > > 1) as hierarchical containers for other record types > 2) as menu entries for the webpage with their respective content > > For a beginner its a bit confusing. You place "content records" inside a > "page", that's ok, because this is what will get outputted when the user > sees this page in the frontpage. But you can also place "news" and other > stuff (frontend users, etc), which doesn't have a direct meaning on the > page where its placed. > > This is why I agree with Kasper, there is a good reason to differenciate > between a "Page" and a "SysFolder". > > Which brings me to another "wish" I have expressed some months ago: The > TYPO3-site developer should be able to specify which records are allowed > to be placed on which pages in the tree. Maybe we want only "Content" > elements in our page hierarchy, and a certain SysFolder that will only > store our News, so that our newby-user doesn't start creating "news" > records all over the site, just in this particular folder. > > And allow the site implementator to tag each page in the tree with a > particular icon, we can get rid of the "contains plugin" field, which I > found myself just using to give my news-folder a "News"-like icon. > > >>3. Content Elements: search box, login have been superseded by > >>index_search and newloginbox (and others). Either replace them or get > >>rid of them completely. > > > > Hmm. I agree for modern sites they should be disabled. Yet, they do their > > simple job. > > Which could be done in an extension. So if I want this particular > "search box", I install an extention, just like everything else in > TYPO3. It could be shipped with TYPO3 and even enabled by default, but I > would like to disable it altogether (also the source-code that is > responsible for it!). > > Which brings me to tslib_cObj: This is a huge class that contains a lot > of the most fundamental rendering features of TYPO3. Problem is, its > huge, its full of hardcoded HTML and its not easily extendable. > > My dream would be a stripped down tslib_cObj which can be "enhanced" by > extensions. I like the "obts" approach, where I can create new cObjects > in my extentions? Why not include this feature in TYPO3 by default? And > when doing that, we can remove all rendering stuff from this class to an > external extension! The admin then installs the needed extensions, which > will provide different cTypes and the appropriate rendering engines. So > if the admin doesn't install the "content_multimedia" extention, we > won't have a MULTIMEDIA TypoScript object, and we won't have a > "Multimedia" content-type either. And if some extension wants to > implement its own MULTIMEDIA content type, just provide the TypoScript > object with the needed parameters, add the cType to tt_content and add > TypoScript to tt_content. The benefit of it is that all extensions can > use the provided "MULTIMEDIA" content type, not only tt_content! > > This would also apply nicely to my current cron_cssstyledimgtext. TYPO3 > renders the "textpic" cType in content(default) and css-styled-content > by using the "IMGTEXT" TypoScript object. Currently, to be able to > change this behaviour I have to: > > 1) change the TypoScript in tt_content.textpic and tt_content.image so > that its no longer an "IMGTEXT" but an "USER" object that will call my > function > 2) do the rendering in my function. > 3) problem: any direct call to IMGTEXT (e.g. from another extention) > won't get my rendering, it will be rendered by TYPO3's default engine. > > With my approach, it would work like that: > > 1) create a new "IMGTEXT" TypoScript object. > 2) the admin chooses which IMGTEXT to install as an extention > 3) if mine is installed, any other place that needs an IMGTEXT will get > rendered through my engine. > > Some benefits of it: > > * tslib_cObj gets a lot smaller, and a site only needs to include stuff > that he really needs. > * obts included allows any extension to create its own TypoScript > object. Instead of > > temp.myStuff = USER > temp.myStuff { > userFunc = blabla->render_imgtext > ... > } > > we just need: > > temp.myStuff = IMGTEXT > temp.myStuff { > ... > } > > Some might tell me to ask for hooks to get the desired features, but > then I have to depend on when a hook is implemented. If this is > extendable by default, I don't need a hook. > > Some others might tell me I can already use stdWrap to post-process any > cObject in the way I want it. But I don't want to post-process anything, > I want to process it in the first place. If I would hook > cron_cssstyledimgtext onto stdWrap, TYPO3 would render it as a table, > and I would then throw that away and render it in another way. Ugly. > > >>4. Fields in content elements: Space after/before, Frame, Align? All > >>those can be replaced by *one* CSS-class field in which these properties > >>can easily be defined for the wrapping div field. > > > > Good. > > Which brings me to another thought I was having these days: Configurable > CSS through TypoScript! Currently each extension can bring its own > "_CSS_DEFAULT_STYLE" which will be added to the page (or exported to a > temp-file, if one set it in config). > > I just found out (thanks ben!) that I can use constants in this > _CSS_DEFAULT_STYLE. This is a huge improvement, as I am much more > flexible then. I provide a CSS that can be configured through CONSTANT > EDITOR. NICE! > > But my dream would be a more enhanced control over the CSS, that means, > I would like to have CSS being generated by TypoScript! Basically I > would love to be able to do things such as this in TypoScript for my > plugin: > > plugin.tx_myplugin._CSS { > 10 = CSS > 10.selector = P.csc-caption > 10.properties.font-size = 80% > .. > 20 = CSS > 20.selector = DIV.csi-textpic DIV.csi-imagecolumn > 20.properties.float = left > 20.properties.display = inline > ... > 30 = CSS > 30.selector = DIV.csi-intext-left-nowrap .csi-text > 30.ieWinOnly = 1 > 30.properties.height: 1% > } > > which would generate: > > P.csc-caption { font-size: 80%; } > DIV.csi-textpic DIV.csi-imagecolumn { float: left; display: inline; } > /* Hide from IE5-mac. Only IE-win sees this. \*/ > * html DIV.csi-intext-left-nowrap .csi-text { height: 1%; } > /* End hide from IE5/mac */ > > And of course everything goes through stdWrap, so the possibilities are > endless. I could override or add certain CSS-settings in an extension > template (e.g. the font-size for captions for a certain page-tree) > without having to manually create external CSS files. Its also > extension-upgrade-proof, as the properties will remain in place, so if > the extension upgrades its CSS-feature-set, I can be sure it will work > in my template without me having to check my external CSS files. > > >>5. Typoscript properties: I'm sure there's lots more, but here are some: > >>XHTML-cleaning, disableImgBorderAttr, page.bodytag etc. - these are ugly > >>hacks. Instead, let's make it XHTML strict (or trans for the beloved > >>target-attribute which also pops up everywhere in TS) and that's it. > >>Yes, HTML 4 is not obsolete yet but why would you need to use this (and > >>please don't come up with that legacy stuff again.)? If you think: Why > >>can't we just leave it in, please see the condition hell when rendering > >>stuff, the various places where tags are changed afterwards, and ask the > >>content rendering group. > > > > yes, lets face the future. > > True. TYPO3 should output XHTML 1.0 trans in its "core" extensions. > Generate HTML output from this is easier than the oposite. > > >>xMENU_LAYERS: This may be a personal issue but the configuration is > >>horrible, the resulting html not very nice, and most of all: it can all > >>be done with a regular xMENU, some CSS and JS. > > > > I'm not so sure. > > I never used them. But with "obts" and my ideas from before in place and > moving such features to extensions, we could have xMENU_LAYERS on all > needed flavors, the admin chooses which one to use and uninstalls the > ones he doesn't need. > > >>cObjects: PHP_SCRIPT_x, CTABLE, OTABLE, HRULER?, CLEARGIF???! > > > > In fact PHP_SCRIPT_EXT had a surprising comeback in a discussion I had > > with JH, but theoretically yes. > > Never used it. But I would love to hear which comeback is planned for > this! :) > > On CTABLE, OTABLE, HRULER, CLEARGIF, I agree with Michael: Ban them into > their own extensions, if someone wants them, install the extension. I'm > sure someone will then create a substitution CLEARGIF or HRULER > extension that is purely CSS-based! :) > > > These changes will however not apply to version 4.0. Some might apply to > > version 4.5 due to their usability enhancement effect. And all of them - > > and possibly going much further - will be the home of version 5.0 in my > > mind. > > I agree with that plan. I also see 4.0 as a release to "zap the > gremlins" and have a nice base that we can work on. > > > Thanks for your input. Maybe others have some dreams about the future? > > Anyone? > > Here I am... :) > > > BTW: "Think future, not feature" was invented as a slogan for a little > > sales speech to the supporting members of the association where I wanted > > to stress the point that much of the future core development will not be > > focused directly on creating a new gizmo this-or-that but needs to deal > > with architecture etc. that can prepare TYPO3 for a long-term life. Hence > > be an investment we must trust is for the better. > > Wise advice, I like the way this is heading! > > > Cheers, > Ernesto > _______________________________________________ > Typo3-dev mailing list > Typo3-dev at lists.netfielders.de > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev -- - kasper ----------------- Think future, not feature From an-schubi at gmx.de Wed Oct 12 16:06:01 2005 From: an-schubi at gmx.de (Stefan Schubert) Date: Wed, 12 Oct 2005 16:06:01 +0200 (MEST) Subject: [Typo3-dev] (no subject) Message-ID: Dear dev-list! I'm going to evaluate some CMS for a larger project ver soon (next 4 weeks). And i really like to give typo3 a chance, but when i compare the 3.8 with the others and it get's ruled out it might happen, that if i had taken the 4.0 instead of the 3.8 it would have been picked. so the question is: is the 4.0 still on schedule for dec.'05? and if yes are there any features already canceled for the release? i checked the overview @ http://association.typo3.org/index.php?id=83 but some miss a description and it doesn't look too promising, or am i mistaken? with kind regards, Stefan -- Highspeed-Freiheit. Bei GMX superg?nstig, z.B. GMX DSL_Cityflat, DSL-Flatrate f?r nur 4,99 Euro/Monat* http://www.gmx.net/de/go/dsl From an-schubi at gmx.de Wed Oct 12 16:08:45 2005 From: an-schubi at gmx.de (Stefan Schubert) Date: Wed, 12 Oct 2005 16:08:45 +0200 (MEST) Subject: [Typo3-dev] schedule for typo3 4.0 (forgot subject in the 1st message) References: Message-ID: Dear dev-list! I'm going to evaluate some CMS for a larger project ver soon (next 4 weeks). And i really like to give typo3 a chance, but when i compare the 3.8 with the others and it get's ruled out it might happen, that if i had taken the 4.0 instead of the 3.8 it would have been picked. so the question is: is the 4.0 still on schedule for dec.'05? and if yes are there any features already canceled for the release? I checked the overview @ http://association.typo3.org/index.php?id=83 but some miss a description and it doesn't look too promising, or am i mistaken? with kind regards, Stefan -- Highspeed-Freiheit. Bei GMX superg?nstig, z.B. GMX DSL_Cityflat, DSL-Flatrate f?r nur 4,99 Euro/Monat* http://www.gmx.net/de/go/dsl From ernst at cron-it.de Wed Oct 12 16:23:22 2005 From: ernst at cron-it.de (Ernesto Baschny [cron IT]) Date: Wed, 12 Oct 2005 16:23:22 +0200 Subject: [Typo3-dev] Less features, more future In-Reply-To: References: Message-ID: Kasper Sk?rh?j schrieb am 12.10.2005 15:29: > I found it very interesting to read your suggestions. I think your basic ideas > are contained in the direction v5.0 will be heading. I will save your mail > for later reference. Thanks, maybe I can help work on some of these issues when that time comes. > Still, the freedom to re-think things comes at the expense of compatibility > breaks and therefore our main constaint is when to make these changes (and > break stuff). The direction is agreed upon generally. That's true. The side-effect of such an huge extension repository is that it can collapse real quickly if we break backwards compatibility. Therefore I would use 4.0 (or 4.5) version as an in-between step: maintaining backwards compatibility, while adding the new API. We declare the backwards compatibility stuff as OBSOLETE and try to get at least the major extensions rewritten to conform to the new scheme. A lot of documentation, "how-to upgrade my extension" will be needed in that phase. So that in 5.0 we can remove this obsolete codebase, and already start with plenty of good written extensions. Cheers, Ernesto From bedlamhotel at gmail.com Wed Oct 12 17:24:06 2005 From: bedlamhotel at gmail.com (Christopher) Date: Wed, 12 Oct 2005 08:24:06 -0700 Subject: [Typo3-dev] Really hard to find http://typo3.org/community/your-account/loginlogout/ In-Reply-To: References: Message-ID: On 12/10/05, Pilot wrote: > May be show this form or link to it on the top level pages in typo3.org? > ?! It IS linked from every page... -Christopher From srakete at online.de Wed Oct 12 17:44:17 2005 From: srakete at online.de (Stefan Rakete) Date: Wed, 12 Oct 2005 17:44:17 +0200 Subject: [Typo3-dev] Extension based on tt_news Message-ID: Hi, I wrote a Frontend extension that is based on tt_news, which is doing a selection on a db-field that I have added to tt_news. I put the plugin on a page and I am getting the selection of news that I want. But how do I tell my plugin to use the formatting of the tt_news plugin ? Thanks for help Stefan From peter.kindstrom at abc.se Wed Oct 12 18:04:14 2005 From: peter.kindstrom at abc.se (=?ISO-8859-1?Q?Peter_Kindstr=F6m?=) Date: Wed, 12 Oct 2005 18:04:14 +0200 Subject: [Typo3-dev] Less features, more future In-Reply-To: References: Message-ID: Hi all, > Thanks for your input. Maybe others have some dreams about the future? Anyone? Maybe this is out of subject, but I ask anyway: Will there be any effort put on "key extensions" in version 4.5 och 5.0? I know CSS styled content and TemplaVoila will be "finished", but are there any plans on working with extensions like Newloginbox, Adress, Calendar and Directory listing (just examples). Some projects like the tt-news project would be nice to have for some other extensions... /Peter Kindstr?m From typo3 at rvt.dds.nl Wed Oct 12 19:09:21 2005 From: typo3 at rvt.dds.nl (Ries van Twisk) Date: Wed, 12 Oct 2005 11:09:21 -0600 Subject: [Typo3-dev] schedule for typo3 4.0 (forgot subject in the 1st message) In-Reply-To: References: Message-ID: Stefan Schubert wrote: >Dear dev-list! > >I'm going to evaluate some CMS for a larger project ver soon (next 4 >weeks). > >And i really like to give typo3 a chance, but when i compare the 3.8 with >the others and it get's ruled out it might happen, that if i had taken the >4.0 instead of the 3.8 it would have been picked. >so the question is: is the 4.0 still on schedule for dec.'05? and if yes >are there any features already canceled for the release? >I checked the overview @ http://association.typo3.org/index.php?id=83 but >some miss a description and it doesn't look too promising, or am i >mistaken? > > with kind regards, Stefan > > > hey Stefan, in any case... let us know what your decission was and why. cheers, Ries From a.macdonald-typo3 at slitesys.demon.co.uk Wed Oct 12 18:45:37 2005 From: a.macdonald-typo3 at slitesys.demon.co.uk (Alistair MacDonald) Date: Wed, 12 Oct 2005 17:45:37 +0100 Subject: [Typo3-dev] Less features, more future In-Reply-To: References: Message-ID: JoH wrote: >>>3. Content Elements: [...] login have been superseded by [...] newloginbox > Exactly - and in most cases we didn't even use the newloginbox, since it was > simply impossible to implement it using TypoScript only. > Reason: the hardcoded "_STORAGE_PID" - as long as it is hardcoded you can't > use a universal Loginbox with dynamic pids to get the user records from > different sysfolders for different positions of the page tree. This is still an annoyance I'll admit, but not something that would be too complex to actually fix. [...] > Another reason for not using the newloginbox: Hardcoded HTML Tags for forms > and tables. This isn't the case with the version which is in CVS. This was updated to use a HTML template files. Hopefully it will become the version on TER at some point. Alistair From martin.ficzel at gmx.de Wed Oct 12 18:57:01 2005 From: martin.ficzel at gmx.de (Martin Ficzel) Date: Wed, 12 Oct 2005 18:57:01 +0200 Subject: [Typo3-dev] New cron_cssstyledimgtext released In-Reply-To: References: Message-ID: Ernesto Baschny [cron IT] wrote: > Please play around with it, and be welcome to sponsor further > development! ;) i found a little issue with this extension class.tx_croncssstyledimgtext_pi1.php::line359ff > // calculating the tableWidth: > // TableWidth problems: It creates problems if the pictures are NOT as wide as the tableWidth. > $tableWidth = max($imageRowsFinalWidths)+ $colspacing*($colCount) + $colCount*$border*($borderSpace+$borderThickness)*2; i think the colspacing is calculated wrong i would suggest to change from "$colspacing*($colCount)" to "$colspacing*($colCount-1)" another problem i had was the typoscript setup for tt_content.textpic and tt_content.image. in ext:css_styled_content the tt_content.textpic is a reference to tt_content.textpic with the textfiled added. so changes to tt_content.image will affect also the tt_content.textpic object. i think the extension default typoscript should behave the same way. until now it is not a reference but a copy wich makes it necessary to create many settings twice. regards, Martin From kasper2005 at typo3.com Wed Oct 12 19:01:18 2005 From: kasper2005 at typo3.com (Kasper =?utf-8?q?Sk=C3=A5rh=C3=B8j?=) Date: Wed, 12 Oct 2005 19:01:18 +0200 Subject: [Typo3-dev] schedule for typo3 4.0 (forgot subject in the 1st message) In-Reply-To: References: Message-ID: Hi Stefan, The only feature on the 4.0 roadmap that is unlikely to be fully implemented is the point about an alternative RTE. Currently it doesn't look like we will have time to fix it. All other issues are on track and resources allocated. What specifically on the 4.0 roadmap is important to you? -- - kasper ----------------- Think future, not feature From kasper2005 at typo3.com Wed Oct 12 19:04:09 2005 From: kasper2005 at typo3.com (Kasper =?iso-8859-1?q?Sk=E5rh=F8j?=) Date: Wed, 12 Oct 2005 19:04:09 +0200 Subject: [Typo3-dev] Less features, more future In-Reply-To: References: Message-ID: Hi Peter, > Maybe this is out of subject, but I ask anyway: Will there be > any effort put on "key extensions" in version 4.5 och 5.0? > > I know CSS styled content and TemplaVoila will be "finished", > but are there any plans on working with extensions like > Newloginbox, Adress, Calendar and Directory listing (just examples). I think this relates more to how we will generally handle the much needed sorting operation of the extension repository. I don't know what the plans are for that and I hope Robert Lemke can enlighten us. For me, this is separate efforts from core development while I can understand it is important. -- - kasper ----------------- Think future, not feature From kasper2005 at typo3.com Wed Oct 12 19:07:57 2005 From: kasper2005 at typo3.com (Kasper =?iso-8859-1?q?Sk=E5rh=F8j?=) Date: Wed, 12 Oct 2005 19:07:57 +0200 Subject: [Typo3-dev] Less features, more future In-Reply-To: References: Message-ID: > This isn't the case with the version which is in CVS. This was updated > to use a HTML template files. Hopefully it will become the version on > TER at some point. ... this reminds of a problem there is for me. I believe I'm still the owner of the "newloginbox" but effectively it is in CVS and others are invited to develop it more and in fact that is what has happened (I didn't work on it for quite a while...) Now, I completely forget that a regular publication should happen once in a while since I don't work on it, so should I transfer ownership to someone, who should that be in case, what happens when HE/SHE becomes occupied with something else etc. The best would be if we have some "typo3_release" user who could own all extensions which are not really owned or maintained by a single person all the time and this user could ensure regular releases in TER? Get my point? Any ideas? - kasper ----------------- Think future, not feature From a.macdonald-typo3 at slitesys.demon.co.uk Wed Oct 12 19:53:11 2005 From: a.macdonald-typo3 at slitesys.demon.co.uk (Alistair MacDonald) Date: Wed, 12 Oct 2005 18:53:11 +0100 Subject: [Typo3-dev] Less features, more future In-Reply-To: References: Message-ID: Kasper Sk?rh?j wrote: > ... this reminds of a problem there is for me. I believe I'm still the owner > of the "newloginbox" but effectively it is in CVS and others are invited to > develop it more and in fact that is what has happened (I didn't work on it > for quite a while...) According to the system Ingmar Schlecht is, but it isn't really relevant. > Now, I completely forget that a regular publication should happen once in a > while since I don't work on it, so should I transfer ownership to someone, > who should that be in case, what happens when HE/SHE becomes occupied with > something else etc. The best would be if we have some "typo3_release" user > who could own all extensions which are not really owned or maintained by a > single person all the time and this user could ensure regular releases in > TER? It seems to me to make sense to have an "orphaned extensions" user in TER. If there is no clear successor then the extension can be transferred to this "orphaned extensions" user. Ideally that links to a list of all the orphaned extensions, along with a contact to talk to if you want to take one over. So long as an administrator somewhere can change the ownership of the extension again then it works quite nicely. Logically you would need to demonstrate some form of commitment to the extension by providing a feature, rather than just trying to collect up a list of extensions to put your name against. It goes without saying that if there are no changes then there aren't any releases to make. In the case of orphaned CVS hosted extensions it should logically be the person who commits the changes who makes the decision about releasing or not. In the case of newloginbox I should stick my hand up and say that whilst I submitted the initial HTML template patch I have never said that the CVS version works. At least in part this was because it was so much easier for me to continue using my patched version than the CVS version because there is no way to get t3x files from CVS. What we need is a t3x export system at SourceForge 8-) At the moment you have to find the correct CVS project, pull the files locally, rename the folders and transfer them. (Some of the complication arises because the naming at SF is standardised, but different to TER: newloginbox => tx_newloginbox, etc.) Alistair From elmar.hinz at vcd-berlin.de Wed Oct 12 20:43:19 2005 From: elmar.hinz at vcd-berlin.de (Elmar Hinz) Date: Wed, 12 Oct 2005 20:43:19 +0200 Subject: [Typo3-dev] Make configuration simple Message-ID: Hello! People still call the learning curve of typo3 steep. One mayor reason for this is in my opinion the complex configuration system. There are different places of configuration and diffierent formats. * classical php arrays like $TCA, $locallang, etc. * typoScript * XML for language files I argue that it would be possible to make configuration more easy to learn, to do and to look through by doing all configuration with one system, with typoScript. Even language files could be done with it, as long as typoscript is done as utf-8. Conversions to other coding systems would still be possible if needed in rare cases. During the next weeks I want to try to workout a draft to show that this would be possible at all and to show how a migration could be done with respect to backwards compatibilities. Regards Elmar -- Climate change 2005: Guatemala, New Orleans, Sahel, Bangladesh, Spain, Portugal, Austria, Swiss, France, ... Production of CO2 is killing people. Production of CO2 just for fun is killing people just for fun. From sebastian at garbage-group.de Wed Oct 12 20:56:22 2005 From: sebastian at garbage-group.de (Sebastian Kurfuerst) Date: Wed, 12 Oct 2005 20:56:22 +0200 Subject: [Typo3-dev] Make configuration simple In-Reply-To: References: Message-ID: Hi, your approach sounds very interesting. I look forward to this, especially how you solve the implementation without the core getting slower (maybe some kind of caching is helpful?). Greets, Sebastian From christoph.koehler at gmail.com Wed Oct 12 21:20:57 2005 From: christoph.koehler at gmail.com (Christoph Koehler) Date: Wed, 12 Oct 2005 14:20:57 -0500 Subject: [Typo3-dev] Make configuration simple References: Message-ID: I very much agree!! Another thing -but that might just be me in my ignorance- are the different places I can configure stuff at. Constants, TSconfig, template record... I never had to use any of those except the template record, where I config pretty much everything. I don't know how this should look, especially without losing flexibility, but maybe there could be one central location to setup all those things? Maybe if there are certain things configured for one site only, or one page, we can do something like: pagename.tx_someExtension.someConfigVar = something; or site1.page34.blabla.etc = bla; The hardest part for me was to figure out what all those things are for, and now I never really use them. What I saw the constants were used for mostly were style changes or something, but we can do those in TS, too, can we not? Sorry if this really doesn't make much sense, I don't know too much about what goes on inside TYPO3, this is just the point of view of a user... :D Christoph From patrick at typo3quebec.org Wed Oct 12 23:17:38 2005 From: patrick at typo3quebec.org (Patrick Gaumond) Date: Wed, 12 Oct 2005 17:17:38 -0400 Subject: [Typo3-dev] Less features, more future In-Reply-To: References: Message-ID: Peter Kindstr?m wrote: > Maybe this is out of subject, but I ask anyway: Will there be > any effort put on "key extensions" in version 4.5 och 5.0? Look at "Extensions to the core" for few ideas and add yours: http://wiki.typo3.org/index.php/Extensions_for_the_core Patrick From Martin.Kutschker at n0spam-blackbox.net Thu Oct 13 09:18:11 2005 From: Martin.Kutschker at n0spam-blackbox.net (Martin Kutschker) Date: Thu, 13 Oct 2005 09:18:11 +0200 Subject: [Typo3-dev] Make configuration simple In-Reply-To: References: Message-ID: Christoph Koehler schrieb: > I very much agree!! > Another thing -but that might just be me in my ignorance- are the > different places I can configure stuff at. Constants, TSconfig, > template record... > I never had to use any of those except the template record, where I > config pretty much everything. > I don't know how this should look, especially without losing > flexibility, but maybe there could be one central location to setup all > those things? > > Maybe if there are certain things configured for one site only, or one > page, we can do something like: > pagename.tx_someExtension.someConfigVar = something; > > or > > site1.page34.blabla.etc = bla; This only bloats the configuration. I usually use many templates for readability and reusablity. TSconfig is used for BE configuration (along with user TS config). This not so bad. But a bit annayoing is that for some FE-plugin/BE-module combination you have to set some values twice. Masi From Martin.Kutschker at n0spam-blackbox.net Thu Oct 13 09:21:52 2005 From: Martin.Kutschker at n0spam-blackbox.net (Martin Kutschker) Date: Thu, 13 Oct 2005 09:21:52 +0200 Subject: [Typo3-dev] Make configuration simple In-Reply-To: References: Message-ID: Elmar Hinz schrieb: > > Even language files could be done with it, as long as typoscript is done > as utf-8. Conversions to other coding systems would still be possible if > needed in rare cases. Current Typoscrit does nit preserve whitespace. And I see no real point for the locallang files. As a developer you should have no real problem with PHP-locallang file syntax. It's the new XML-format I simpy don't understand. Perhaps someone could rewrite the docs for them for idiots like me? Masi From kraftb at gmx.net Thu Oct 13 10:06:15 2005 From: kraftb at gmx.net (Kraft Bernhard) Date: Thu, 13 Oct 2005 10:06:15 +0200 Subject: [Typo3-dev] Less features, more future In-Reply-To: References: Message-ID: Michael Scharkow wrote: > 4. Fields in content elements: Space after/before, Frame, Align? All > those can be replaced by *one* CSS-class field in which these properties > can easily be defined for the wrapping div field. I agree to all of you other ideas ... but not to this one. I don't know if it's good practice of Editors we trained but some of the insisted in that they want to be able to place a variable amount of space before a content element (when they tought to CEs would be to narrow). If find the idea of a CSS style which you can select for a CE quite ok but I think a lot of other people are already using this feature much and I assume they wont be happy if it get's removed. greets, Bernhard -- Kraft Bernhard MOKKA Medienagentur T: +43 - 1 - 895 33 33 - 50 From kraftb at gmx.net Thu Oct 13 10:17:59 2005 From: kraftb at gmx.net (Kraft Bernhard) Date: Thu, 13 Oct 2005 10:17:59 +0200 Subject: [Typo3-dev] Less features, more future In-Reply-To: References: Message-ID: Kasper Sk?rh?j wrote: > Thanks Ernesto, > > I found it very interesting to read your suggestions. I think your basic ideas > are contained in the direction v5.0 will be heading. I will save your mail > for later reference. My abadoned CMS "WebWiz" (devleoped till 2001, some sites still runnig) used the approach to have "administrator defined" page types. In my concept there where "ITEMS" (comparable to pages, but also to conent elements) and "GROUPS" (which in reality also where ITEMS). Each Item must be assigned one group. As GROUPS where made out of ITEMS (just Group-refernce field set to 0) and ITEMS had a hierarchial structure also GROUPS were structured hierarchically. So I could build up a Tree of GROUPS in the BE and defined by doing this how ITEMS (Pages) could get nested. So I defined for example that a "Site-Root" Container (Page) could contain "Menu-Container" Pages and those could contain "Simple Pages" and "News pages". "Simple Pages" could just contain "Simple Pages" again and so you get the recursion which is required for putting Pages into Pages. Maybe a similar concept where each "Page Type" (or flags of the Page) decides which subitems (table records) a page can contain would improve T3. The default must of course be something to behave like today but with a few modifications of some PHP Configuration Arrays it would be possible to ease the work of Editors by letting them only insert CE's or tt_news records, etc. into pages on which they are valid. greets, Bernhard -- Kraft Bernhard MOKKA Medienagentur T: +43 - 1 - 895 33 33 - 50 From jerome at jerome.net Thu Oct 13 10:38:24 2005 From: jerome at jerome.net (Jerome) Date: Thu, 13 Oct 2005 10:38:24 +0200 Subject: [Typo3-dev] FE USER auto. auth via PHP CODE / ex : $someObj->logThisUser($userid) ? Message-ID: Hello ! Does anybody has a trick for doing something similar to this : $someObj->logThisUser($userid) I want to log in an FE USER in my extension via PHP code automatically, ie without any user intervention, only using the userid. Thank you From wilhelm at icecrash.com Thu Oct 13 10:45:23 2005 From: wilhelm at icecrash.com (Sven Wilhelm) Date: Thu, 13 Oct 2005 10:45:23 +0200 Subject: [Typo3-dev] Make configuration simple In-Reply-To: References: Message-ID: Hi, > During the next weeks I want to try to workout a draft to show that this > would be possible at all and to show how a migration could be done with > respect to backwards compatibilities. your motivation is really great. I had such ideas in my head also in the past. But I think Typoscript is the totally wrong way. The TYPO3 community has the mind to find an own way to do something when a problem must be resolved. There are configuration systems out there. Partly there are usable systems as example in java, there are xml examples also. Why starting an own proprietary way? When backward compatibilities isn't possible it only shows that there are several parts of the system that have to be redesigned. As ZOPE3 shows: Sometimes a break gives you the chance to cleanup the system. Just my 2 cents. Kind regards Sven From info at cybercraft.de Thu Oct 13 11:40:30 2005 From: info at cybercraft.de (JoH) Date: Thu, 13 Oct 2005 11:40:30 +0200 Subject: [Typo3-dev] Make configuration simple References: Message-ID: >> During the next weeks I want to try to workout a draft to show that >> this would be possible at all and to show how a migration could be >> done with respect to backwards compatibilities. > > your motivation is really great. I had such ideas in my head also in > the past. But I think Typoscript is the totally wrong way. Sorry? - You must be kidding! TypoScript is the way that makes TYPO3 such an outstanding, versatile and powerful tool. > The TYPO3 community has the mind to find an own way to do something > when a problem must be resolved. Yes - it is an "own way" and this is called TypoScript. > There are configuration systems out there. > Partly there are usable systems as example in java, there are xml > examples also. > > Why starting an own proprietary way? Because it's the best thing TYPO3 has to offer? You don't have to do it like others do, just to not be different. In fact you should not do it like the others, if you are able to do it better and TypoScript is far better than most of the things I ever have seen. Have a look at those XML files that are used to configure the flexforms in the BE, compare them to a clean notation of some basic TypoScript snippets and you see what I mean. I think it's just vice versa: TypoScript should replace other systems in the near future. Not just 2 cents 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 info at cybercraft.de Thu Oct 13 11:42:26 2005 From: info at cybercraft.de (JoH) Date: Thu, 13 Oct 2005 11:42:26 +0200 Subject: [Typo3-dev] Less features, more future References: Message-ID: >> 4. Fields in content elements: Space after/before, Frame, Align? All >> those can be replaced by *one* CSS-class field in which these >> properties can easily be defined for the wrapping div field. > > I agree to all of you other ideas ... but not to this one. > I don't know if it's good practice of Editors we trained but some of > the insisted > in that they want to be able to place a variable amount of space > before a content element (when they tought to CEs would be to narrow). > If find the idea of a CSS style which you can select for a CE quite > ok but I think > a lot of other people are already using this feature much and I > assume they wont be happy if it get's removed. You can have both, cookie _and_ chocolate when using dynamic srtylesheets. This way you can still use the constants to modify the space, frame etc. wherever you want. 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 kasper2005 at typo3.com Thu Oct 13 13:03:52 2005 From: kasper2005 at typo3.com (Kasper =?iso-8859-1?q?Sk=E5rh=F8j?=) Date: Thu, 13 Oct 2005 13:03:52 +0200 Subject: [Typo3-dev] Make configuration simple In-Reply-To: References: Message-ID: Hi Sven, > The TYPO3 community has the mind to find an own way to do something when > a problem must be resolved. Yes, we tend to :-) > There are configuration systems out there. > Partly there are usable systems as example in java, there are xml > examples also. Lets get practical. If there is a standard outside TYPO3 that fits all our requirements I want to use that unless it is actually bad (XML is nice for many things but as JoH also hints at, representing TypoScript with XML will make it twice as long and not easier) If there is no standard outside TypoScript that can give us a uniform framework for all configuration needs we must invent one ourselves that fits us perfectly. Our current (solved) needs are: - TypoScript Templates - Page/User TSconfig, - Extensions configuration - TYPO3_CONF_VARS - Must be possible to apply globally (like TYPO3_CONF_VARS) and embed in page hierarchy (like TypoScript Templates, Page/User TSconfig) Our future needs are: - extendable other imaginable scenarios - must be possible to validate semantically (not only syntax as now) - must be easily human editable - must be possible to write a nice GUI frontend for (editing) - must have self-contained documentation of the features, plus definition of data types and other conditions Actually, I doubt that other configuration frameworks can offer much more than another syntax because the semantics are always defined by the application using the configuration, right? ... and when it comes to syntax we could easily develop an abstraction layer that allows TypoScript syntax or some XML schema to be used in the future. The main challenge is to validate the configuration syntax semantically and I will claim that what confuses people about TypoScript is not the syntax but the fact that they never know when they misspell something or place a property in a context where it doesn't make sense. THIS is the problem and THAT we can only solve on our own (I think, considering our needs). - kasper -- - kasper ----------------- Think future, not feature From dan at danfrost.co.uk Thu Oct 13 13:23:40 2005 From: dan at danfrost.co.uk (dan frost) Date: Thu, 13 Oct 2005 12:23:40 +0100 Subject: [Typo3-dev] Make configuration simple In-Reply-To: References: Message-ID: > Have a look at those XML files that are used to configure the flexforms in > the BE, compare them to a clean notation of some basic TypoScript snippets > and you see what I mean. > I think it's just vice versa: TypoScript should replace other systems in the > near future. > Unlikely - TypoScript has no structure (it has syntax) whereas a XML with a good Schema / DTD does. Having a strong, check-able structure makes in much, much easier to learn something and debug it. Anyway, my point was going to be: I think that the TYPO3 community are guilt of a little too much "i know this, and i'm quick at it, therefore it's best". TypoScript IS brief and neat. However, Python is more brief than PHP (or Java), but Php is often nicer to do things in than Python simple because the verbosity helps us read it. Also, I think that the TYPO3 community needs to get away from the idea that the interface should be the same as the language. Why not create (or adopt) an XML-based configuration language which is used via a graphical interface; or make the TypoScript syntax sit over a more standard (ok, by standard I mean XML) language which can be checked by existing tools (xmllint, dtds etc) for validity/correctness. Regards, dan From dan at danfrost.co.uk Thu Oct 13 13:24:51 2005 From: dan at danfrost.co.uk (dan frost) Date: Thu, 13 Oct 2005 12:24:51 +0100 Subject: [Typo3-dev] Make configuration simple In-Reply-To: References: Message-ID: The XML should have been built with a DTD - i haven't seen one, but i might have missed it dan Martin Kutschker wrote: > Elmar Hinz schrieb: > >> >> Even language files could be done with it, as long as typoscript is >> done as utf-8. Conversions to other coding systems would still be >> possible if needed in rare cases. > > > Current Typoscrit does nit preserve whitespace. And I see no real point > for the locallang files. As a developer you should have no real problem > with PHP-locallang file syntax. It's the new XML-format I simpy don't > understand. Perhaps someone could rewrite the docs for them for idiots > like me? > > Masi From kasper2005 at typo3.com Thu Oct 13 13:47:12 2005 From: kasper2005 at typo3.com (Kasper =?iso-8859-1?q?Sk=E5rh=F8j?=) Date: Thu, 13 Oct 2005 13:47:12 +0200 Subject: [Typo3-dev] Make configuration simple In-Reply-To: References: Message-ID: XML is one possibility for implementing the semantics check, but we must consider other options as well. The point is that we must be able to check semantics. - kasper On Thursday 13 October 2005 13:23, dan frost wrote: > Why not create (or > adopt) an XML-based configuration language which > is used via a graphical interface; or make the > TypoScript syntax sit over a more standard (ok, by > standard I mean XML) language which can be checked > by existing tools (xmllint, dtds etc) for > validity/correctness. -- - kasper ----------------- Think future, not feature From wilhelm at icecrash.com Thu Oct 13 14:31:07 2005 From: wilhelm at icecrash.com (Sven Wilhelm) Date: Thu, 13 Oct 2005 14:31:07 +0200 Subject: [Typo3-dev] Make configuration simple In-Reply-To: References: Message-ID: Hi, > Lets get practical. no problem :) > If there is a standard outside TYPO3 that fits all our requirements I want to > use that unless it is actually bad (XML is nice for many things but as JoH > also hints at, representing TypoScript with XML will make it twice as long > and not easier) and it make it usable by other systems too, one thing that community often forgets! When I need TYPO3 to configure all parts of the system that is bad. If I have a standard way to let development environment or any other specialized system configure the system, I'm much more open and more professional companies will join. XML knowledge is available by all professional companies. The motivation to learn special systems, most times not. The company will use another system, java based or something else. > If there is no standard outside TypoScript that can give us a uniform > framework for all configuration needs we must invent one ourselves that fits > us perfectly. Ok, I think you will know much more better if things could be solved with this systems, but some ideas from mine as I see this concepts as very powerful (please without any prejudice :) Only XML one. Very new on the floor: ZCML (Zope Configuration Markup Language) Used inside ZOPE to configure many parts like the products (zope extensions) - Registering Interfaces, Classes that implement them, Rights Management,... Much more longer on the floor: Eclipse (and very heavy with it's concepts) Has a very basic and powerful concept "LAZY LOADING" which needs many declarative informations inside XML and only loads the implementation parts when requested (a way fully usable by the web). Eclipse uses xml schema so each plugin can specify it's own necessary semantic. Each TYPO3 extension could have it's own extension directory directly under typo3conf for it's customized configuration. > Our current (solved) needs are: > - TypoScript Templates how much Typoscript do you need if the template system is powerfull enough? see TAL (ZOPE) or the PHP Implementation PHPTAL > - Page/User TSconfig, Could be full powered by XML > - Extensions configuration I think also full transferable to XML > - TYPO3_CONF_VARS > - Must be possible to apply globally (like TYPO3_CONF_VARS) and embed in page > hierarchy (like TypoScript Templates, Page/User TSconfig) Should nothing speak against the possibility to update xml values in deeper page sections. The contra is the question how much flexibility is enough, where do you want to harden the configuration. Also another point i18n: There is no really need for xml, just a files like the gettext ones with format for sprintf. > Our future needs are: > - extendable other imaginable scenarios > - must be possible to validate semantically (not only syntax as now) > - must be easily human editable > - must be possible to write a nice GUI frontend for (editing) > - must have self-contained documentation of the features, plus definition of > data types and other conditions > Actually, I doubt that other configuration frameworks can offer much more than > another syntax because the semantics are always defined by the application > using the configuration, right? Full ack, I agree with that above. I only wanted to tell not use the 100% own way but take up the concepts of other systems. > .... and when it comes to syntax we could easily develop an abstraction layer > that allows TypoScript syntax or some XML schema to be used in the future. > The main challenge is to validate the configuration syntax semantically and I > will claim that what confuses people about TypoScript is not the syntax but > the fact that they never know when they misspell something or place a > property in a context where it doesn't make sense. THIS is the problem and > THAT we can only solve on our own (I think, considering our needs). Possible with XML. Also by external systems :) Sven From r.fritz at colorcube.de Thu Oct 13 14:40:40 2005 From: r.fritz at colorcube.de (=?iso-8859-1?q?Ren=E9_Fritz?=) Date: Thu, 13 Oct 2005 14:40:40 +0200 Subject: [Typo3-dev] FE USER auto. auth via PHP CODE / ex : $someObj->logThisUser($userid) ? In-Reply-To: References: Message-ID: > I want to log in an FE USER in my extension via PHP code automatically, ie > without any user intervention, only using the userid. This have to be done with an authentication service. There are examples available in TER. Docs are in the cc_sv_auth extension. Ren? -- COLORCUBE digital media lab www.colorcube.de From mscharkow at gmx.net Thu Oct 13 14:43:30 2005 From: mscharkow at gmx.net (Michael Scharkow) Date: Thu, 13 Oct 2005 14:43:30 +0200 Subject: [Typo3-dev] Less features, more future In-Reply-To: References: Message-ID: Kraft Bernhard wrote: > Michael Scharkow wrote: > >> 4. Fields in content elements: Space after/before, Frame, Align? All >> those can be replaced by *one* CSS-class field in which these >> properties can easily be defined for the wrapping div field. > > > I agree to all of you other ideas ... but not to this one. > I don't know if it's good practice of Editors we trained but some of the > insisted > in that they want to be able to place a variable amount of space before > a content element > (when they tought to CEs would be to narrow). I think this is very much against the separation of content and layout. Why would you let the editors screw up your layout by occasionally putting *variable* amount fo whitespace between CEs? If you really think that it could be useful in some cases to have space before and after, you can define a class=spaced and have editors select that. But leaving too much freedom in styling to editors will hurt your site's consistency. Cheers, Michael From kasper2005 at typo3.com Thu Oct 13 14:46:46 2005 From: kasper2005 at typo3.com (Kasper =?iso-8859-1?q?Sk=E5rh=F8j?=) Date: Thu, 13 Oct 2005 14:46:46 +0200 Subject: [Typo3-dev] Make configuration simple In-Reply-To: References: Message-ID: Thanks Sven, very useful. I will save for later reference. I would like to use XML actually, but only if we have a way to do semantics check on the XML from php. In other words, standard PHP installations must have some XML functions that let me validate if the XML configuraiton from somewhere complies with the DTD/Schema it should follow. That would be a helping hand. And, oh, we must have a web-based tool for building the configuration based on the schema/DTD as well, otherwise it doesn't make so much sense. And notice this: Standard PHP, not some fancy beta-plugin that common hosters doesn't have installed. - kasper On Thursday 13 October 2005 14:31, Sven Wilhelm wrote: > Hi, > > > Lets get practical. > > no problem :) > > > If there is a standard outside TYPO3 that fits all our requirements I > > want to use that unless it is actually bad (XML is nice for many things > > but as JoH also hints at, representing TypoScript with XML will make it > > twice as long and not easier) > > and it make it usable by other systems too, one thing that community > often forgets! When I need TYPO3 to configure all parts of the system > that is bad. If I have a standard way to let development environment or > any other specialized system configure the system, I'm much more open > and more professional companies will join. > > XML knowledge is available by all professional companies. The motivation > to learn special systems, most times not. The company will use another > system, java based or something else. > > > If there is no standard outside TypoScript that can give us a uniform > > framework for all configuration needs we must invent one ourselves that > > fits us perfectly. > > Ok, I think you will know much more better if things could be solved > with this systems, but some ideas from mine as I see this concepts as > very powerful (please without any prejudice :) > Only XML one. > > Very new on the floor: ZCML (Zope Configuration Markup Language) > Used inside ZOPE to configure many parts like the products (zope > extensions) - Registering Interfaces, Classes that implement them, > Rights Management,... > > Much more longer on the floor: Eclipse (and very heavy with it's concepts) > Has a very basic and powerful concept "LAZY LOADING" which needs many > declarative informations inside XML and only loads the implementation > parts when requested (a way fully usable by the web). > Eclipse uses xml schema so each plugin can specify it's own necessary > semantic. > > Each TYPO3 extension could have it's own extension directory directly > under typo3conf for it's customized configuration. > > > Our current (solved) needs are: > > - TypoScript Templates > > how much Typoscript do you need if the template system is powerfull > enough? see TAL (ZOPE) or the PHP Implementation PHPTAL > > > - Page/User TSconfig, > > Could be full powered by XML > > > - Extensions configuration > > I think also full transferable to XML > > > - TYPO3_CONF_VARS > > - Must be possible to apply globally (like TYPO3_CONF_VARS) and embed in > > page hierarchy (like TypoScript Templates, Page/User TSconfig) > > Should nothing speak against the possibility to update xml values in > deeper page sections. > > The contra is the question how much flexibility is enough, where do you > want to harden the configuration. > > Also another point i18n: > There is no really need for xml, just a files like the gettext ones with > format for sprintf. > > > Our future needs are: > > - extendable other imaginable scenarios > > - must be possible to validate semantically (not only syntax as now) > > - must be easily human editable > > - must be possible to write a nice GUI frontend for (editing) > > - must have self-contained documentation of the features, plus definition > > of data types and other conditions > > > > > > Actually, I doubt that other configuration frameworks can offer much more > > than another syntax because the semantics are always defined by the > > application using the configuration, right? > > Full ack, I agree with that above. I only wanted to tell not use the > 100% own way but take up the concepts of other systems. > > > .... and when it comes to syntax we could easily develop an abstraction > > layer that allows TypoScript syntax or some XML schema to be used in the > > future. > > > > > > The main challenge is to validate the configuration syntax semantically > > and I will claim that what confuses people about TypoScript is not the > > syntax but the fact that they never know when they misspell something or > > place a property in a context where it doesn't make sense. THIS is the > > problem and THAT we can only solve on our own (I think, considering our > > needs). > > Possible with XML. Also by external systems :) > > > > Sven > _______________________________________________ > Typo3-dev mailing list > Typo3-dev at lists.netfielders.de > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev -- - kasper ----------------- Think future, not feature From ernst at cron-it.de Thu Oct 13 15:02:50 2005 From: ernst at cron-it.de (Ernesto Baschny [cron IT]) Date: Thu, 13 Oct 2005 15:02:50 +0200 Subject: [Typo3-dev] New cron_cssstyledimgtext released In-Reply-To: References: Message-ID: Ernesto Baschny [cron IT] schrieb am 12.10.2005 12:41: > I just released another version of cron_cssstyledimgtext. For who > doesn't know yet, this is a working CSS based implementation of the > "Text with Image" and "Image" content types (from tt_content). Minor bug found! I've just released 0.4.1: * Fixed typo in the defaultRenderMethod constant (default value "a"?, should be "dl") in 0.4.0 release. Ups! So please upgrade, or set the constant to "dl" by yourself. Sorry! Cheers, Ernesto From arnsholt at broadpark.no Thu Oct 13 15:31:01 2005 From: arnsholt at broadpark.no (Arne Skjaerholt) Date: Thu, 13 Oct 2005 15:31:01 +0200 Subject: [Typo3-dev] Make configuration simple In-Reply-To: References: Message-ID: > I would like to use XML actually, but only if we have a way to do semantics > check on the XML from php. In other words, standard PHP installations must > have some XML functions that let me validate if the XML configuraiton from > somewhere complies with the DTD/Schema it should follow. That would be a > helping hand. And, oh, we must have a web-based tool for building the > configuration based on the schema/DTD as well, otherwise it doesn't make so > much sense. > > And notice this: Standard PHP, not some fancy beta-plugin that common hosters > doesn't have installed. There's DOM XML [1] extension in PHP4 which might be able to do it, but the DOM[2] extension in PHP5 (which gets functionality from the libxml extension) should be able to do all that as the underlying C library, libxml2 AKA. gnome-xml, is a validating XML parser. It should also be capable of doing RelaxNG schema validation. Sorry that I can't be more specific, but I'm only familiar with the C interface to libxml, not the PHP one. Arne :wq [1] http://www.php.net/manual/en/ref.domxml.php [2] http://www.php.net/manual/en/ref.dom.php From mscharkow at gmx.net Thu Oct 13 15:17:01 2005 From: mscharkow at gmx.net (Michael Scharkow) Date: Thu, 13 Oct 2005 15:17:01 +0200 Subject: [Typo3-dev] Make configuration simple In-Reply-To: References: Message-ID: Sven Wilhelm wrote: > XML knowledge is available by all professional companies. The motivation > to learn special systems, most times not. The company will use another > system, java based or something else. Hi Sven, as Kasper wrote he main issue isn't the markup syntax but the semantics. I'm pretty indifferent between TypoSkript, YAML and XML[1], because much of my declarations end up in a nested PHP array anyway. Of course, most developers understand basic xml structure, but that does not help much if you don't understand what the tags and attributes mean. So we need a DTD which means a hell of a lot of work for an extendable language like TS. Even if we had all that, and we could validate configuration not only syntactically but also semantically, writing configuration for an actual developer would not be one bit easier. Greetings, Michael [1] Okay, I dislike XML because it's hard to read and write for a human, and it has too much line noise. From thomas at work.de Thu Oct 13 15:33:35 2005 From: thomas at work.de (Thomas Hempel) Date: Thu, 13 Oct 2005 15:33:35 +0200 Subject: [Typo3-dev] Help needed for dynaflex manual Message-ID: Hello list, I just uploaded a preview version of the manual for the next dynaflex version. And I want to ask, if somebody here can read it and tell me what I can improve to make it better to understand. It's not about the language in first place, but how dynaflex is usable with the help of the manual. I write here, because dynaflex is a extension for developers, and I hope some of you will help me and can give me tips.? :-) The preview version of dynaflex (0.1.9) is also available on my page. :-) The URL is: http://www.typo3-unleashed.net Thanks in forehand for your help and best regards, Thomas From robertjohn at bedrijvenweb.nl Thu Oct 13 15:42:22 2005 From: robertjohn at bedrijvenweb.nl (Robert John de Stigter) Date: Thu, 13 Oct 2005 15:42:22 +0200 Subject: [Typo3-dev] Changing the versioning pid in t3lib_TCEmain Message-ID: Hi, How easy is it to modify the class t3lib_TCEmain to make it choose an other id instead of -1 when versioning the pages? (In combination with the sys_workflow extension) I tried it, changing line 3604: $sArray['pid'] = -1; to $sArray['pid'] = $customPid; It didn't seem to use the $customPid as a pid for the pages. (It's probarly more complicated than I realize.) Cheers, Robert From mscharkow at gmx.net Thu Oct 13 15:47:58 2005 From: mscharkow at gmx.net (Michael Scharkow) Date: Thu, 13 Oct 2005 15:47:58 +0200 Subject: [Typo3-dev] Make configuration simple In-Reply-To: References: Message-ID: dan frost wrote: > Anyway, my point was going to be: I think that the TYPO3 community are > guilt of a little too much "i know this, and i'm quick at it, therefore > it's best". TypoScript IS brief and neat. However, Python is more brief > than PHP (or Java), but Php is often nicer to do things in than Python > simple because the verbosity helps us read it. Sorry, but I would argue exactly for the opposite: If you *can* validate the input properly, compactness is better than verbosity. I'm not starting a language war here, but how does verbosity help when you *manually* input your code. I can read and understand every Python example in http://twistedmatrix.com/~glyph/rant/python-vs-java.html better than Java. > Also, I think that the TYPO3 community needs to get away from the idea > that the interface should be the same as the language. Why not create > (or adopt) an XML-based configuration language which is used via a > graphical interface; or make the TypoScript syntax sit over a more > standard (ok, by standard I mean XML) language which can be checked by > existing tools (xmllint, dtds etc) for validity/correctness. Okay, that's a whole different point. XML is certainly more readily processible with standard and language neutral tools. But I would not like to implement a clickable TS gui anyway, and as long as we have to type all the stuff ourselves, I'd rather not use XML. The most flexible way would be to implement a TS <> XML <> WHATEVER toolchain, so that everybody can use his and her favourite markup language. Greets, Michael From ernst at cron-it.de Thu Oct 13 15:47:23 2005 From: ernst at cron-it.de (Ernesto Baschny [cron IT]) Date: Thu, 13 Oct 2005 15:47:23 +0200 Subject: [Typo3-dev] New cron_cssstyledimgtext released In-Reply-To: References: Message-ID: Hi Martin, Martin Ficzel schrieb am 12.10.2005 18:57: > i found a little issue with this extension > > class.tx_croncssstyledimgtext_pi1.php::line359ff > >> // calculating the tableWidth: >> // TableWidth problems: It creates problems if the pictures are NOT as >> wide as the tableWidth. >> $tableWidth = max($imageRowsFinalWidths)+ $colspacing*($colCount) + >> $colCount*$border*($borderSpace+$borderThickness)*2; > > i think the colspacing is calculated wrong i would suggest to change > from "$colspacing*($colCount)" to "$colspacing*($colCount-1)" That's currently correct, because "colspacing" is used not only as the space in between images, but also the space that separates the image-block from the surrounding text. But I agree, something is not very good here (e.g. if there is no surrounding text). I should honor the textMargin setting. I'll take a closer look as soon as I have some time! > another problem i had was the typoscript setup for tt_content.textpic > and tt_content.image. > > in ext:css_styled_content the tt_content.textpic is a reference to > tt_content.textpic with the textfiled added. so changes to > tt_content.image will affect also the tt_content.textpic object. i think > the extension default typoscript should behave the same way. until now > it is not a reference but a copy wich makes it necessary to create many > settings twice. True and I +1 that. I've added this change to my development version. As soon as I have more to offer, I'll release a new version, and this change will be included. Thanks for your help, Martin! Cheers, Ernesto From wilhelm at icecrash.com Thu Oct 13 16:12:00 2005 From: wilhelm at icecrash.com (Sven Wilhelm) Date: Thu, 13 Oct 2005 16:12:00 +0200 Subject: [Typo3-dev] Make configuration simple In-Reply-To: References: Message-ID: > I would like to use XML actually, but only if we have a way to do semantics > check on the XML from php. In other words, standard PHP installations must > have some XML functions that let me validate if the XML configuraiton from > somewhere complies with the DTD/Schema it should follow. That would be a > helping hand. And, oh, we must have a web-based tool for building the > configuration based on the schema/DTD as well, otherwise it doesn't make so > much sense. > > And notice this: Standard PHP, not some fancy beta-plugin that common hosters > doesn't have installed. hehe :) what is a "standard php installation"? From each ISP you will get another answer. If you would like to develop on a base very you use the minimal common set of available php modules you will have to code very much. This puts another idea to the top. What about a certification of ISPs? The major computer magazines make regular tests of the top ISPs. Every major ISP is happy if he can put another certification logo on his website. So on this way you can define the environment that MUST be available, possibly in different stages: Stage Standard (all basic requirements are passed) Stage Professional (Standard + availability of special libraries/modules) Stage Business (Professional + availability of postgres...) TYPO3 is a market and you are the project leader. You have the power. Why only try to certificate the developers? Kind regards Sven From kasper2005 at typo3.com Thu Oct 13 16:19:57 2005 From: kasper2005 at typo3.com (Kasper =?iso-8859-1?q?Sk=E5rh=F8j?=) Date: Thu, 13 Oct 2005 16:19:57 +0200 Subject: [Typo3-dev] Changing the versioning pid in t3lib_TCEmain In-Reply-To: References: Message-ID: The significance of pid=-1 is completely hardcoded and will probably stay so. Why is this a problem for you? - kasper On Thursday 13 October 2005 15:42, Robert John de Stigter wrote: > Hi, > > How easy is it to modify the class t3lib_TCEmain to make it choose an > other id instead of -1 when versioning the pages? (In combination with > the sys_workflow extension) > I tried it, changing line 3604: $sArray['pid'] = -1; to $sArray['pid'] = > $customPid; > It didn't seem to use the $customPid as a pid for the pages. (It's > probarly more complicated than I realize.) > > Cheers, > Robert > > _______________________________________________ > Typo3-dev mailing list > Typo3-dev at lists.netfielders.de > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev -- - kasper ----------------- Think future, not feature From robertjohn at bedrijvenweb.nl Thu Oct 13 16:58:48 2005 From: robertjohn at bedrijvenweb.nl (Robert John de Stigter) Date: Thu, 13 Oct 2005 16:58:48 +0200 Subject: [Typo3-dev] Changing the versioning pid in t3lib_TCEmain Message-ID: Hi, Than the problem lies with the sys_workflow extension. I have a 'version' workflow and when the target user tries to view the page that goes with the workflow he gets the message that the page is nog linked correctly to the root. This also occures when the page is hidden, except than the message tells that the page does not exist. I think the extension accesses the page like a user would do from the frontend instead of accessing it from the backend. Robert -----Oorspronkelijk bericht----- Van: typo3-dev-bounces at lists.netfielders.de [mailto:typo3-dev-bounces at lists.netfielders.de] Namens Kasper Sk?rh?j Verzonden: donderdag 13 oktober 2005 16:20 Aan: List for Core-/Extension development Onderwerp: Re: [Typo3-dev] Changing the versioning pid in t3lib_TCEmain The significance of pid=-1 is completely hardcoded and will probably stay so. Why is this a problem for you? - kasper On Thursday 13 October 2005 15:42, Robert John de Stigter wrote: > Hi, > > How easy is it to modify the class t3lib_TCEmain to make it choose an > other id instead of -1 when versioning the pages? (In combination with > the sys_workflow extension) I tried it, changing line 3604: > $sArray['pid'] = -1; to $sArray['pid'] = $customPid; It didn't seem to > use the $customPid as a pid for the pages. (It's probarly more > complicated than I realize.) > > Cheers, > Robert > > _______________________________________________ > Typo3-dev mailing list > Typo3-dev at lists.netfielders.de > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev -- - kasper ----------------- Think future, not feature _______________________________________________ Typo3-dev mailing list Typo3-dev at lists.netfielders.de http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev From an-schubi at gmx.de Thu Oct 13 17:24:51 2005 From: an-schubi at gmx.de (Stefan Schubert) Date: Thu, 13 Oct 2005 17:24:51 +0200 (MEST) Subject: [Typo3-dev] schedule for typo3 4.0 (forgot subject in the 1st message) References: Message-ID: I really nedd the new DAM, the workflow and the versioning would be very nice aswell. are there any svn-snapshots i can get? regards, Stefan > --- Urspr?ngliche Nachricht --- > Von: Kasper Sk??rh??j > An: List for Core-/Extension development > Betreff: Re: [Typo3-dev] schedule for typo3 4.0 (forgot subject in the > 1st message) > Datum: Wed, 12 Oct 2005 19:01:18 +0200 > > Hi Stefan, > > The only feature on the 4.0 roadmap that is unlikely to be fully > implemented > is the point about an alternative RTE. Currently it doesn't look like we > will > have time to fix it. All other issues are on track and resources > allocated. > > What specifically on the 4.0 roadmap is important to you? > > -- > - kasper > > ----------------- > Think future, not feature > _______________________________________________ > Typo3-dev mailing list > Typo3-dev at lists.netfielders.de > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev > -- Lust, ein paar Euro nebenbei zu verdienen? Ohne Kosten, ohne Risiko! Satte Provisionen f?r GMX Partner: http://www.gmx.net/de/go/partner From ike at spamfence.net Thu Oct 13 17:46:18 2005 From: ike at spamfence.net (Michael Vogel) Date: Thu, 13 Oct 2005 17:46:18 +0200 Subject: [Typo3-dev] RealURL: Changing "Speaking url Path Segment" to be able to type in a whole path Message-ID: Hi! By now I used AliasPro. But RealUrl sounds good in my ears because it generates real good addresses for dynamic pages like my wiki. But I have a problem in migrating my old addresses I used for the static pages. With "Speaking url Path Segment" i can define a different _segment_ name but no whole path for a page. Has anyone extended RealUrl by now to be able to write a whole path into "Speaking url Path Segment"? The whole programming is done in "class.tx_realurl_advanced.php". By now I changed some few lines and it works partly. Partly means that when I use a segment name beginning with "/" it is used in the menu for displaying the path to this page. But by now I cannot access such pages. For this I have to make changes in the function "searchTitle_searchPid" i guess. Has anyone does this before or knows a better way for solving my problem? Thanks! Michael From peter.kindstrom at abc.se Thu Oct 13 17:51:38 2005 From: peter.kindstrom at abc.se (=?ISO-8859-1?Q?Peter_Kindstr=F6m?=) Date: Thu, 13 Oct 2005 17:51:38 +0200 Subject: [Typo3-dev] Make configuration simple In-Reply-To: References: Message-ID: Hi all, > Even if we had all that, and we could validate configuration not > only syntactically but also semantically, writing configuration for an > actual developer would not be one bit easier. Hmmm, wasn?t this thread about making it easier for the *user* - the one that configures Typo3? Of course developers are allowed to give their point of view, but in general, is it more important that it is easy for a developer than for a user/admin? My point of view is often that it is better to do the hard work once (when making a program) than letting users have a hard time every time they use the program... So, an easier way to configure Typo3 installations would be much appreciated by me!! /Peter Kindstr?m From load10 at hotmail.com Thu Oct 13 18:10:52 2005 From: load10 at hotmail.com (Joe Frontman) Date: Thu, 13 Oct 2005 18:10:52 +0200 Subject: [Typo3-dev] Help needed for dynaflex manual In-Reply-To: References: Message-ID: > The URL is: > http://www.typo3-unleashed.net > Have you checked your website with the Opera browser, yet? Here is a screenshot: http://tinypic.com/ejbnk6.gif From thomas at work.de Thu Oct 13 18:36:46 2005 From: thomas at work.de (Thomas Hempel) Date: Thu, 13 Oct 2005 18:36:46 +0200 Subject: [Typo3-dev] Help needed for dynaflex manual In-Reply-To: References: Message-ID: Hi Joe, > Have you checked your website with the Opera browser, yet? > > Here is a screenshot: http://tinypic.com/ejbnk6.gif Yes I know. I'm working on a new layout that doesn't have that problems. Until I can release it I have to say sorry for that bad design. Greets, Thomas From elmar.hinz at vcd-berlin.de Thu Oct 13 19:19:06 2005 From: elmar.hinz at vcd-berlin.de (Elmar Hinz) Date: Thu, 13 Oct 2005 19:19:06 +0200 Subject: [Typo3-dev] Make configuration simple In-Reply-To: References: Message-ID: Martin Kutschker wrote: > Current Typoscrit does nit preserve whitespace. And I see no real point There are already wraps that preserve whitespace. > for the locallang files. As a developer you should have no real problem > with PHP-locallang file syntax. It's the new XML-format I simpy don't The primary goal is to make it more easy for the user, secondly comes the developer. For the user TypoScript is less code to enter even if he want's to alter translations. > understand. Perhaps someone could rewrite the docs for them for idiots > like me? > > Masi Regards Elmar -- Climate change 2005: Guatemala, New Orleans, Sahel, Bangladesh, Spain, Portugal, Austria, Swiss, France, ... Production of CO2 is killing people. Production of CO2 just for fun is killing people just for fun. From elmar.hinz at vcd-berlin.de Thu Oct 13 19:29:44 2005 From: elmar.hinz at vcd-berlin.de (Elmar Hinz) Date: Thu, 13 Oct 2005 19:29:44 +0200 Subject: [Typo3-dev] Make configuration simple In-Reply-To: References: Message-ID: Hi, > > There are configuration systems out there. > Partly there are usable systems as example in java, there are xml > examples also. > > Why starting an own proprietary way? > I only know one hierachical configuration system that compares typoScript in points of shortness. That's YAML. XML is to much typing by hand. I don't really think it a good idea to migrate all typo3 configuration to YAML. Do you? But I think it is possible to transform between typoScript and xml without loss of information. With such a converter one could make features of xml accessible. Regards Elmar -- Climate change 2005: Guatemala, New Orleans, Sahel, Bangladesh, Spain, Portugal, Austria, Swiss, France, ... Production of CO2 is killing people. Production of CO2 just for fun is killing people just for fun. From Martin.Kutschker at n0spam-blackbox.net Thu Oct 13 19:47:01 2005 From: Martin.Kutschker at n0spam-blackbox.net (Martin Kutschker) Date: Thu, 13 Oct 2005 19:47:01 +0200 Subject: [Typo3-dev] Make configuration simple In-Reply-To: References: Message-ID: Elmar Hinz schrieb: > Martin Kutschker wrote: > >> Current Typoscrit does nit preserve whitespace. And I see no real point > > There are already wraps that preserve whitespace. > >> for the locallang files. As a developer you should have no real >> problem with PHP-locallang file syntax. It's the new XML-format I >> simpy don't > > The primary goal is to make it more easy for the user, secondly comes > the developer. For the user TypoScript is less code to enter even if he > want's to alter translations. Well, then we're done for translation. No user should ever fuss with any locallang files. And for plugins she can do already change the labels via Typoscript. Masi From darksky77 at email.it Thu Oct 13 21:44:40 2005 From: darksky77 at email.it (Francesco di Francia) Date: Thu, 13 Oct 2005 21:44:40 +0200 Subject: [Typo3-dev] Hack request: changing/removing upper limit to width Message-ID: I'm not a coder and so sorry if i will say dumb things. Correct me if i'm wrong but it seems that the max value of the the parameter WIDTH and HEIGHT of imageLinkWrap is 1000 and it's hardcoded in the 3 showpic.php files of the source package( row 182 and 183 ): $this->height = t3lib_div::intInRange($this->height,0,1000); $this->width =t3lib_div::intInRange($this->width,0,1000); I think there are case in wich users need to see the image in is original size in a windows with scrollbars. For example this happen often for medical picture. Best Regards, Francesco From kasper2005 at typo3.com Thu Oct 13 21:40:12 2005 From: kasper2005 at typo3.com (Kasper =?iso-8859-1?q?Sk=E5rh=F8j?=) Date: Thu, 13 Oct 2005 21:40:12 +0200 Subject: [Typo3-dev] Make configuration simple In-Reply-To: References: Message-ID: > Of course developers are allowed to give their point of view, > but in general, is it more important that it is easy for a > developer than for a user/admin? it comes in that order; if it is not easy for a developer, he will not produce something a user can evaluate anyway. This was always a basic principle for me. Without it you wouldn't have TYPO3 to rant about :-) Maybe we can now find time to endulge the luxury of usability and that is why we have 4.5 on the roadmap now that our feature-lust has somehow faded a bit. - kasper From kasper2005 at typo3.com Thu Oct 13 21:43:21 2005 From: kasper2005 at typo3.com (Kasper =?iso-8859-1?q?Sk=E5rh=F8j?=) Date: Thu, 13 Oct 2005 21:43:21 +0200 Subject: [Typo3-dev] Changing the versioning pid in t3lib_TCEmain In-Reply-To: References: Message-ID: I think that is a preview problem I will fix within the next weeks. - kasper On Thursday 13 October 2005 16:58, Robert John de Stigter wrote: > Hi, > > Than the problem lies with the sys_workflow extension. I have a 'version' > workflow and when the target user tries to view the page that goes with the > workflow he gets the message that the page is nog linked correctly to the > root. This also occures when the page is hidden, except than the message > tells that the page does not exist. I think the extension accesses the page > like a user would do from the frontend instead of accessing it from the > backend. > > Robert > > -----Oorspronkelijk bericht----- > Van: typo3-dev-bounces at lists.netfielders.de > [mailto:typo3-dev-bounces at lists.netfielders.de] Namens Kasper Sk?rh?j > Verzonden: donderdag 13 oktober 2005 16:20 > Aan: List for Core-/Extension development > Onderwerp: Re: [Typo3-dev] Changing the versioning pid in t3lib_TCEmain > > The significance of pid=-1 is completely hardcoded and will probably stay > so. Why is this a problem for you? > > - kasper > > On Thursday 13 October 2005 15:42, Robert John de Stigter wrote: > > Hi, > > > > How easy is it to modify the class t3lib_TCEmain to make it choose an > > other id instead of -1 when versioning the pages? (In combination with > > the sys_workflow extension) I tried it, changing line 3604: > > $sArray['pid'] = -1; to $sArray['pid'] = $customPid; It didn't seem to > > use the $customPid as a pid for the pages. (It's probarly more > > complicated than I realize.) > > > > Cheers, > > Robert > > > > _______________________________________________ > > Typo3-dev mailing list > > Typo3-dev at lists.netfielders.de > > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev > > -- > - kasper > > ----------------- > Think future, not feature > _______________________________________________ > Typo3-dev mailing list > Typo3-dev at lists.netfielders.de > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev > _______________________________________________ > Typo3-dev mailing list > Typo3-dev at lists.netfielders.de > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev -- - kasper ----------------- Think future, not feature From kasper2005 at typo3.com Thu Oct 13 21:44:54 2005 From: kasper2005 at typo3.com (Kasper =?iso-8859-1?q?Sk=E5rh=F8j?=) Date: Thu, 13 Oct 2005 21:44:54 +0200 Subject: [Typo3-dev] RealURL: Changing "Speaking url Path Segment" to be able to type in a whole path In-Reply-To: References: Message-ID: realurl has a management module where you can change values of the pagepath table when it has been populated the first time. - kasper On Thursday 13 October 2005 17:46, Michael Vogel wrote: > Hi! > > By now I used AliasPro. But RealUrl sounds good in my ears because it > generates real good addresses for dynamic pages like my wiki. > > But I have a problem in migrating my old addresses I used for the static > pages. > > With "Speaking url Path Segment" i can define a different _segment_ name > but no whole path for a page. > > Has anyone extended RealUrl by now to be able to write a whole path into > "Speaking url Path Segment"? > > The whole programming is done in "class.tx_realurl_advanced.php". By now > I changed some few lines and it works partly. Partly means that when I > use a segment name beginning with "/" it is used in the menu for > displaying the path to this page. > > But by now I cannot access such pages. For this I have to make changes > in the function "searchTitle_searchPid" i guess. > > Has anyone does this before or knows a better way for solving my problem? > > Thanks! > > Michael > _______________________________________________ > Typo3-dev mailing list > Typo3-dev at lists.netfielders.de > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev -- - kasper ----------------- Think future, not feature From spam at ringerge.org Thu Oct 13 22:53:26 2005 From: spam at ringerge.org (Georg Ringer) Date: Thu, 13 Oct 2005 22:53:26 +0200 Subject: [Typo3-dev] Hack request: changing/removing upper limit to width References: Message-ID: Hello > $this->height = t3lib_div::intInRange($this->height,0,1000); > $this->width =t3lib_div::intInRange($this->width,0,1000); This is correct and I changed it because of my extension rgwallpaper and everybody needs to do so if he wants to show images bigger than 1000px. Georg PS: If there is a method to manipulate this value via an ext, please tell me From roger at redgumsoaps.com.au Fri Oct 14 01:11:42 2005 From: roger at redgumsoaps.com.au (Roger Bunyan) Date: Fri, 14 Oct 2005 09:11:42 +1000 Subject: [Typo3-dev] EM file edit size limit Message-ID: Hi all, The is a limit on the file size that the file editor in the extension manager will allow typo3/mod/tools/em/index.php on line 1314 if (filesize($editFile)<($this->kbMax*1024)) This is a problem as some files such as class.tx_ttproducts.php are now greater than 100k Is there any reason that this limit is in place? -- Roger Bunyan Redgum Soaps http://redgumsoaps.com.au Sustainability will be achieved by a cultural change, not by technology. From keith_morrison at dfci.harvard.edu Fri Oct 14 04:32:02 2005 From: keith_morrison at dfci.harvard.edu (Keith Morrison) Date: Thu, 13 Oct 2005 22:32:02 -0400 Subject: [Typo3-dev] Follow-Up: Re: Display page in menu, regardless of login status. In-Reply-To: References: Message-ID: Kasper, I just wanted to follow up on this again, because I may have discovered an issue with the implementation of this feature. I've spent a good amount of time trying to track down why ###RETURN_URL### isn't being populated, and the issue becomes apparent when the call "$page = $GLOBALS['TSFE']->sys_page->getPage" is called in t3lib_page. Since $disableGroupAccessCheck=FALSE is the default parameter setting, no record will be returned to the function because you are trying to pull up page information on a page that has been in some way marked for access only when a user is logged in. Proof-of-concept: the proper return url is created if you hack t3lib_page and pass a parameter of TRUE to override the default. Anyway, by the time you get to this call, the script doesn't know any longer that it should be passing that override, because the information hasn't been passed along--and I can't figure out a way to do it. Note: I followed this by tracking calls, some of which passed through realurl. From what I can determine, this would also be an issue if someone wasn't using realurl, because it looks like getPage needs to be called in any instance. However, the possibility exists that this is a problem limited to realurl. I may also be missing something obvious that would fix this. Thanks again, Keith Kasper Sk?rh?j wrote: > Hi Keith, > > If this is not already in TSref I apologize that I didn't publish it yet - will do so today maybe. > > For the menu objects (eg. TMENU/GMENU) you have this property to set in TypoScript, that is what I referred to 21/4 this year: > > > showAccessRestrictedPages > integer (page id) / keyword ???NONE??? > If set, pages in the menu will include pages with frontend user group access enabled. However the page is of course not accessible and therefore the URL in the menu will be linked to the page with the ID of this value. On that page you could put a login form or other message. > If the value is ???NONE??? the link will not be changed and the site will perform page-not-found handling when clicked (which can be used to capture the event and act accordingly of course). > > Properties: > .addParam = Additional parameter for the URL, which can hold two markers; ###RETURN_URL### which will be substituted with the link the page would have had if it had been accessible and ###PAGE_ID### holding the page id of the page coming from (could be used to look up which fe_groups was required for access. > > Example: > showAccessRestrictedPages = 22 > showAccessRestrictedPages.addParams = &return_url=###RETURN_URL###&pageId=###PAGE_ID### > > The example will link access restricted menu items to page id 22 with the return URL in the GET var ???return_url??? and the page id in the GET var ???pageId???. > > > > k > > On Friday 07 October 2005 00:06, Keith Morrison wrote: > >>Keith Morrison wrote: >> >>>Hi all, >>> >>>I'm having the hardest time finding a solution for this. I have a lot >>>of pages that are only viewable if you are a logged-in user; however, I >>>want those pages to show up in my menus, regardless of whether a user is >>>logged in or not. When the user hits the page, I want to redirect to my >>>loginbox, and then redirect them back to the page they were on after >>>they log in. However, I just can't figure out a way to display pages >>>regardless of their access. I've tried TypoScript and also hacking some >>>of the core engine code, to no avail. I feel like this is something I >>>need to hack in the core, which is why I'm posting to the dev list. Any >>>suggestions would be greatly appreciated. >>> >>>Thanks, >>>Keith >> >>I apologize for responding to myself, but I did find a note in the CVS >>log from 2005-4-21 by Kasper that seems to describe the ability to do >>this, but I can't find any follow up information on it. The revision >>note is on this page: >>http://cvs.sourceforge.net/viewcvs.py/typo3/TYPO3core/ChangeLog?rev=1.258 >> >>Thanks again, >>Keith >>_______________________________________________ >>Typo3-dev mailing list >>Typo3-dev at lists.netfielders.de >>http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev > > From triphot69 at hotmail.com Fri Oct 14 09:51:53 2005 From: triphot69 at hotmail.com (Jean-Baptiste Rio) Date: Fri, 14 Oct 2005 09:51:53 +0200 Subject: [Typo3-dev] Hack request: changing/removing upper limit to width In-Reply-To: References: Message-ID: I've opened a feature request in the bug tracker for that a few weeks ago. Jean-Baptiste From jduebi at snowflake.ch Fri Oct 14 10:42:12 2005 From: jduebi at snowflake.ch (Jonas DŸbi) Date: Fri, 14 Oct 2005 08:42:12 +0000 (UTC) Subject: [Typo3-dev] 3.8 Login Page doesn't work on Firefox Beta2 Message-ID: Hi Has someone else already expired the problem, that Firefox Beta 2 shows a blanc page if you open any 3.8 Login? 3.7 login works, just 3.8 doesn't... I'v no idea why, because there are no errors, just a blanc page... I don't know who's faster solving this problem, the firefox or the typo3 team :-D Greets Jonas -- /** * Nur wer schneller ist als der Strom hat die Kontrolle * ?ber seinen Weg. */ From niederlag at ikd01.de Fri Oct 14 10:57:21 2005 From: niederlag at ikd01.de (Peter Niederlag) Date: Fri, 14 Oct 2005 10:57:21 +0200 Subject: [Typo3-dev] schedule for typo3 4.0 (forgot subject in the 1st message) In-Reply-To: References: Message-ID: Hi, Stefan Schubert schrieb: > I really nedd the new DAM, the workflow and the versioning would be very > nice aswell. are there any svn-snapshots i can get? TYPO3 uses CVS and you can of course get CVS-snapshots: http://sourceforge.net/projects/typo3/ http://sourceforge.net/projects/typo3xdev/ Cheers, Peter -- Peter Niederlag http://www.niekom.de * TYPO3 & EDV Dienstleistungen * http://www.typo3partner.net * professional services network * From niederlag at ikd01.de Fri Oct 14 10:59:48 2005 From: niederlag at ikd01.de (Peter Niederlag) Date: Fri, 14 Oct 2005 10:59:48 +0200 Subject: [Typo3-dev] Hey system extensions! Come back to the extension repository!! In-Reply-To: References: Message-ID: Hi, Robert Lemke schrieb: [...] > Just to make it even more complicated: In earlier versions indexed search > was not a system extension, now it is. If we hide indexed search from the > repository, nobody with TYPO3 3.6.0 can download indexed search ... > > Ideas? IMHO we can't prepare optimal solutions for any circumstance. One Option could be to display a warning for any old (<3.7) Versions? Cheers, Peter -- Peter Niederlag http://www.niekom.de * TYPO3 & EDV Dienstleistungen * http://www.typo3partner.net * professional services network * From niederlag at ikd01.de Fri Oct 14 11:09:50 2005 From: niederlag at ikd01.de (Peter Niederlag) Date: Fri, 14 Oct 2005 11:09:50 +0200 Subject: [Typo3-dev] Less features, more future In-Reply-To: References: Message-ID: Hi, Michael Scharkow schrieb: > Kraft Bernhard wrote: > >> Michael Scharkow wrote: >> >>> 4. Fields in content elements: Space after/before, Frame, Align? All >>> those can be replaced by *one* CSS-class field in which these >>> properties can easily be defined for the wrapping div field. >> >> >> >> I agree to all of you other ideas ... but not to this one. >> I don't know if it's good practice of Editors we trained but some of >> the insisted >> in that they want to be able to place a variable amount of space >> before a content element >> (when they tought to CEs would be to narrow). > > > I think this is very much against the separation of content and layout. > Why would you let the editors screw up your layout by occasionally > putting *variable* amount fo whitespace between CEs? If you really think > that it could be useful in some cases to have space before and after, > you can define a class=spaced and have editors select that. But leaving > too much freedom in styling to editors will hurt your site's consistency. NO. because then you need to add css-classes for multi-purpose. Only way would be, if the css-class dropdown would turn into a multiselect. Now I do use "frame" often to assign frames, colors, margins or smoething alike on a CE by CSS. Also i some cases I do use the spacing stuff to adjust some things on a very detailed basis. Yes, it could be done by allowing to assign multiple css-classes but still I'd favor not to drop before/after now. Cheers, Peter -- Peter Niederlag http://www.niekom.de * TYPO3 & EDV Dienstleistungen * http://www.typo3partner.net * professional services network * From ike at spamfence.net Fri Oct 14 11:57:12 2005 From: ike at spamfence.net (Michael Vogel) Date: Fri, 14 Oct 2005 11:57:12 +0200 Subject: [Typo3-dev] What's that? "mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource" Message-ID: Hi! When calling the page i get the following error: "Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/lib/typo3/typo3_src-3.7.0/t3lib/class.t3lib_db.php on line 723" I'm working with a very customized version of RealURL. (Downloadable at ) I took "class.tx_realurl_dummy.php" and modified it to enable it to use the field "Speaking url Path Segment" for the whole path. Its working like a charm - but on some pages I get the error I mentioned above. Can anyone help me? Thx! Michael From jer at moccompany.com Fri Oct 14 12:16:30 2005 From: jer at moccompany.com (Jan-Erik Revsbech) Date: Fri, 14 Oct 2005 12:16:30 +0200 Subject: [Typo3-dev] What's that? "mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource" References: Message-ID: The error is because a SQL query was not executed correct. Try in you customized RealURL to set $GLOBALS['TYPO3_DB']->debugOutput=true, and you will see what query went wrong (and from where it was made). /Jan-Erik ----- Original Message ----- From: "Michael Vogel" Newsgroups: typo3.dev To: Sent: Friday, October 14, 2005 11:57 AM Subject: [Typo3-dev] What's that? "mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource" > Hi! > > When calling the page > i get the > following error: > > "Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL > result resource in > /var/lib/typo3/typo3_src-3.7.0/t3lib/class.t3lib_db.php on line 723" > > I'm working with a very customized version of RealURL. (Downloadable at > ) I took > "class.tx_realurl_dummy.php" and modified it to enable it to use the > field "Speaking url Path Segment" for the whole path. > > Its working like a charm - but on some pages I get the error I mentioned > above. > > Can anyone help me? > > Thx! > > Michael > _______________________________________________ > Typo3-dev mailing list > Typo3-dev at lists.netfielders.de > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev From krausbn at php.net Fri Oct 14 12:34:48 2005 From: krausbn at php.net (Bjoern Kraus) Date: Fri, 14 Oct 2005 12:34:48 +0200 Subject: [Typo3-dev] IIS and REQUEST_URI Message-ID: Hi! I'm currently testing RealURL on IIS with an isapi filter for rewriting the URL. There seems to be a problem since the Typo3 only displays the root page - no matter which page is called. The problem why Typo3 can't return the correct page is that IIS doesn't have the 'REQUEST_URI' variable in $_SERVER. The synonym for this seems to be 'HTTP_SCRIPT_URL'. So I decided to add four lines in the 'getIndpEnv' function (class.t3lib_div.php): case 'REQUEST_URI': if (!$_SERVER['REQUEST_URI']) { --> if (isset($_SERVER['HTTP_SCRIPT_URL'])) { --> return $_SERVER['HTTP_SCRIPT_URL']; --> } else { return '/'.ereg_replace('^/','',t3lib_div::getIndpEnv('SCRIPT_NAME')). ($_SERVER['QUERY_STRING']?'?'.$_SERVER['QUERY_STRING']:''); --> } } else return $_SERVER['REQUEST_URI']; break; And voila, RealURL works in IIS :) Before filling out a bug report: Can someone proof this solution and give me a short message? Regards Bjoern From Andreas.Foerthner at netlogix.de Fri Oct 14 13:07:49 2005 From: Andreas.Foerthner at netlogix.de (=?ISO-8859-15?Q?Andreas_F=F6rthner?=) Date: Fri, 14 Oct 2005 13:07:49 +0200 Subject: [Typo3-dev] zap the gremlins: what about linking to a page out of the users db mount? In-Reply-To: References: Message-ID: Andreas F?rthner schrieb: > Hi list, > > I just was searching for this in the bug tracker and didn't find it. > > I had the problem that I can't link pages to pages that are not in the > DB Mount of my be user, because the Element-Browser also does only show > the scope of the DB Mount. It would be nice if a user could link to all > pages or if there would be a flag to explicitly allow this feature to a > user. > I don't know if this has already been discussed, but I didn't find > anything in the bugtracker or the newsgroups. > > If this hasn't been solved and there is really no existing bug/feature > request, then I would add this to the bug tracker and the "zap the > gremlins" list. > > have a nice day > > Andreas Hi, ok if noone minds I would add this as a feature request to the bugtracker and the gremlins list. I think it would be really nice to have this feature and many of our costumers too. If somone minds, just tell me. greetings andreas From darksky77 at email.it Fri Oct 14 13:16:00 2005 From: darksky77 at email.it (Francesco di Francia) Date: Fri, 14 Oct 2005 13:16:00 +0200 Subject: [Typo3-dev] Adding much window.open paramater to openPic Message-ID: Hi, sorry if it's a feature request and i post here and not in bugtrack but i'm not sure if the feature requested is the only way, so i ask there where there are coder. I found that the window.open parameter managed by openPic in the case of the "Click to enlarge" ( JS_Windows = 1 ) are hardcoded and they are only status=0,menubar=0. I'm referring to line 2571 of tslib/class.tslib_content.php : htmlspecialchars('openPic(\''.$GLOBALS['TSFE']->baseUrlWrap($url).'\',\''.($conf['JSwindow.']['newWindow']?md5($url):'thePicture').'\',\'width='.($dims[0]+$offset[0]).',height='.($dims[1]+$offset[1]).',status=0,menubar=0\'); return false;'). If the enlarged picture is very big, i.e. 1024x768, scrollbars are needed. I found that there's no way to display scrollbars and have much control on the opening windows ( i.e. top and left parameter ), i can only hack manually class.tslib_content.php, adding other parameter for window.open. Regards, Francesco From peter at umloud.dk Fri Oct 14 16:42:51 2005 From: peter at umloud.dk (Peter Klein) Date: Fri, 14 Oct 2005 16:42:51 +0200 Subject: [Typo3-dev] EM file edit size limit References: Message-ID: Hi Roger. If you need to edit larger files, you could install the "Quixplorer" extension, which lets you edit large files (plus it has a lot of other usefull options) http://typo3.org/extensions/repository/search/t3quixplorer/ -- Peter Klein/Umloud Untd "Roger Bunyan" skrev i en meddelelse news:mailman.3770.1129245110.10463.typo3-dev at lists.netfielders.de... > Hi all, > > The is a limit on the file size that the file editor in the extension > manager will allow > > typo3/mod/tools/em/index.php on line 1314 > > if (filesize($editFile)<($this->kbMax*1024)) > > This is a problem as some files such as class.tx_ttproducts.php are now > greater than 100k > > Is there any reason that this limit is in place? > > -- > Roger Bunyan > Redgum Soaps http://redgumsoaps.com.au > Sustainability will be achieved by a > cultural change, not by technology. > From peter.kindstrom at abc.se Fri Oct 14 18:35:06 2005 From: peter.kindstrom at abc.se (=?ISO-8859-1?Q?Peter_Kindstr=F6m?=) Date: Fri, 14 Oct 2005 18:35:06 +0200 Subject: [Typo3-dev] Make configuration simple In-Reply-To: References: Message-ID: Hi Kasper, > it comes in that order; if it is not easy for a developer, he will not produce > something a user can evaluate anyway. This was always a basic principle for > me. Without it you wouldn't have TYPO3 to rant about :-) Yes, I know... I have tried to figure out how many of your non-documented extensions works... ;-) :-) > Maybe we can now find time to endulge the luxury of usability and that is why > we have 4.5 on the roadmap now that our feature-lust has somehow faded a bit. That sounds great, but it should be a permanent effort, not just a project... :-( The problem is that developers always get the last word: "if you like that, do it yourself". And since I think usability guys are not that good at programming (there are exeptions of course, but in general!) usability issues always get lower priority. And if noone with power (like you Kasper) support these usability guys in thier effort and change the priority (like with v4.5), they will sooner or later probably give up. So my suggetsion is: get more usability / documentation guys into the Association board! /Peter Kindstr?m From kasper2005 at typo3.com Fri Oct 14 20:19:15 2005 From: kasper2005 at typo3.com (Kasper =?iso-8859-1?q?Sk=E5rh=F8j?=) Date: Fri, 14 Oct 2005 20:19:15 +0200 Subject: [Typo3-dev] Make configuration simple In-Reply-To: References: Message-ID: > So my suggetsion is: get more usability / documentation guys > into the Association board! lets make the first step version 4.5 and then evaluate a) how well that went and b) how to sustain the efforts from there. -- - kasper ----------------- Think future, not feature From dan at danfrost.co.uk Fri Oct 14 20:29:30 2005 From: dan at danfrost.co.uk (dan frost) Date: Fri, 14 Oct 2005 19:29:30 +0100 Subject: [Typo3-dev] Make configuration simple In-Reply-To: References: Message-ID: > > The problem is that developers always get the last word: "if you > like that, do it yourself". And since I think usability guys are > not that good at programming (there are exeptions of course, but > in general!) usability issues always get lower priority. > Good point - I think that the very bad (if any!) separation of design and function, the fact that syntax is closely related to implementation (e.g. TYPO3 code "knows" about the syntax of TypoScript) means that this is the only way for the core programmers to cope. They can't ask everyone about every decision... but I hear version 5 will include refactoring, so hopefully full separation will start in that. > > So my suggetsion is: get more usability / documentation guys > into the Association board! I don't think this is completely necessary. If complete separation is achieved the board can, through coding architecture, put the control of usability issues (of syntax, user interfaces etc) at a higher level (note: higher in coding terms!). dan From steffen at mail.kommwiss.fu-berlin.de Fri Oct 14 22:51:13 2005 From: steffen at mail.kommwiss.fu-berlin.de (=?UTF-8?B?U3RlZmZlbiBNw7xsbGVy?=) Date: Fri, 14 Oct 2005 22:51:13 +0200 Subject: [Typo3-dev] 3.8 Login Page doesn't work on Firefox Beta2 In-Reply-To: References: Message-ID: Hi. On 14.10.2005 10:42 Jonas D?bi wrote: > > Has someone else already expired the problem, that Firefox Beta 2 shows > a blanc page if you open any 3.8 Login? no. it works for me. > > I don't know who's faster solving this problem, the firefox or the typo3 > team :-D Maybe your even faster fixing your typo3 installation ;-) -- cheers, Steffen From roger at redgumsoaps.com.au Fri Oct 14 23:10:20 2005 From: roger at redgumsoaps.com.au (Roger Bunyan) Date: Sat, 15 Oct 2005 07:10:20 +1000 Subject: [Typo3-dev] EM file edit size limit In-Reply-To: References: Message-ID: Thanks Peter, I will have a look at that extension. -- Roger Bunyan Redgum Soaps http://redgumsoaps.com.au Sustainability will be achieved by a cultural change, not by technology. From michael at typo3.org Fri Oct 14 18:49:14 2005 From: michael at typo3.org (Michael Stucki) Date: Fri, 14 Oct 2005 18:49:14 +0200 Subject: [Typo3-dev] zap the gremlins: what about linking to a page out of the users db mount? References: Message-ID: Hi Andreas, >> I just was searching for this in the bug tracker and didn't find it. Because of a bug, the search in the bugtracker was not working since last week! It has been fixed today, maybe you should try again first... > ok if noone minds I would add this as a feature request to the > bugtracker and the gremlins list. I think it would be really nice to > have this feature and many of our costumers too. > > If somone minds, just tell me. Do it! - michael -- Use a newsreader! Check out http://typo3.org/community/mailing-lists/use-a-news-reader/ From mails at zitronenbaum.ch Sat Oct 15 12:08:59 2005 From: mails at zitronenbaum.ch (Michael Müller) Date: Sat, 15 Oct 2005 12:08:59 +0200 Subject: [Typo3-dev] test Message-ID: test *sorry* From patrick at typo3quebec.org Sat Oct 15 14:32:01 2005 From: patrick at typo3quebec.org (Patrick Gaumond) Date: Sat, 15 Oct 2005 08:32:01 -0400 Subject: [Typo3-dev] IIS and REQUEST_URI In-Reply-To: References: Message-ID: Bjoern Kraus wrote: > I'm currently testing RealURL on IIS with an isapi filter for rewriting > the URL. There seems to be a problem since the Typo3 only displays the > root page - no matter which page is called. Which isapi filter did you tried ? I don't have IIS anymore but anyway, if you think it's relevant, you could add you patch on the Windows section on the wiki: http://wiki.typo3.org/index.php/Windows Giving the isapi filter and the configuration you use will probably help some people ! Patrick From krausbn at php.net Sat Oct 15 18:21:30 2005 From: krausbn at php.net (Bjoern Kraus) Date: Sat, 15 Oct 2005 18:21:30 +0200 Subject: [Typo3-dev] IIS and REQUEST_URI In-Reply-To: References: Message-ID: Patrick Gaumond schrieb: > Bjoern Kraus wrote: > >> I'm currently testing RealURL on IIS with an isapi filter for >> rewriting the URL. There seems to be a problem since the Typo3 only >> displays the root page - no matter which page is called. > > > Which isapi filter did you tried ? > > I don't have IIS anymore but anyway, if you think it's relevant, you > could add you patch on the Windows section on the wiki: > > http://wiki.typo3.org/index.php/Windows > > Giving the isapi filter and the configuration you use will probably help > some people ! > > Patrick I just digged into it a little deeper: The free mod_rewrite from IISMods (http://www.iismods.com) doesn't support any hint about which URL was called before the rewrite. The commercial software IISRewrite from Qwerksoft sets the server variable 'HTTP_SCRIPT_URL' which RealURL needs to determine which page was ment. So if you want to use RealURL on an IIS server you will have to use Qwerksofts IISRewrite (or any other which sets a proper variable). Regards Bjoern PS: If you want you can add this hint to the wiki. From perki at bau3.uibk.ac.at Sat Oct 15 19:31:44 2005 From: perki at bau3.uibk.ac.at (Michael Perkhofer) Date: Sat, 15 Oct 2005 19:31:44 +0200 Subject: [Typo3-dev] IIS and REQUEST_URI In-Reply-To: References: Message-ID: Bjoern Kraus wrote: > I just digged into it a little deeper: The free mod_rewrite from IISMods > (http://www.iismods.com) doesn't support any hint about which URL > was called before the rewrite. The commercial software IISRewrite from > Qwerksoft sets the server variable 'HTTP_SCRIPT_URL' which RealURL needs > to determine which page was ment. Have you tried www.isapirewrite.com, which I meantion in the Wiki? The lite verison is free and offers the 'HTTP_X_REWRITE_URL' variable. -Michael. From robert at typo3.org Sun Oct 16 11:59:13 2005 From: robert at typo3.org (Robert Lemke) Date: Sun, 16 Oct 2005 11:59:13 +0200 Subject: [Typo3-dev] Strange MYSQL behaviour / type casting with boolean Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi folks, I just stumbled over a very strange behaviour while working on the new TER. It first appeared after I did an upgrade of my Kubuntu so I suspect it has to do with either the MySQL (4.0.24) or PHP (5.0.5-2ubuntu1) version. Imagine the following situation: I want to update a DB record with a field "clearcacheonload" which contains "1" if cache should be cleared and otherwise "0". The table is defined like this: CREATE TABLE tx_ter_extensiondetails ( ... clearcacheonload tinyint(4) DEFAULT '0' NOT NULL, ... ); Now, the value I want to put into that field arrives via SOAP, the type is "boolean". I update the table with this PHP code: $extensionDetailsRow = array ( ... 'clearcacheonload' => $clearCacheOnLoad; ... ); $this->cObj->DBgetInsert('tx_ter_extensiondetails', $pid, $extensionDetailsRow, implode (',',array_keys($extensionDetailsRow)), TRUE); Imagine $clearCacheOnLoad is (boolean) TRUE, then what I see in the database afterwards is (integer) 0 ! However, if I change the code like this: $extensionDetailsRow = array ( ... 'clearcacheonload' => (boolean)$clearCacheOnLoad ? 1 : 0; ... ); ... the result is like expected, I see an integer 1 in the database. Has anyone seen a similar behaviour or can you reproduce that with other PHP / MySQL versions? Cheers, robert PS: I'm really glad that I'm running unit tests regularly, otherwise I'd never have spotted that bug! - -- Robert Lemke TYPO3 Association - Research & Development Member of the board http://association.typo3.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDUiR3Du+3qCHvGSIRAmKhAJwJdKdZsUgL8ECRAkvG3Fdqkp32TgCfQ3zT Gz5Tak6fHfN4wxMUuNxUZPc= =CJ55 -----END PGP SIGNATURE----- From typo3 at fx-graefix.de Sun Oct 16 16:19:47 2005 From: typo3 at fx-graefix.de (Franz Koch) Date: Sun, 16 Oct 2005 16:19:47 +0200 Subject: [Typo3-dev] Make configuration simple In-Reply-To: References: Message-ID: Hi, > People still call the learning curve of typo3 steep. One mayor reason > for this is in my opinion the complex configuration system. There are > different places of configuration and diffierent formats. How about a "configuration-module" in the backend and put all the different configuration possibilities in there? Could be a first step in the right direction of centralizing the configuration. Currently the configuration is not only spread in different formats and languages, but also spread over the whole backend here and there. Ok, you might say, most of it is inside the "Tools"-module in the backend menu, but the configuration is no "tool" - so why not making a "configuration-module" and put _everything_ there. My idea: ------------------------- Web ------------------------- Page View List Info Access Function ------------------------- DAM ------------------------- ... ------------------------- User Task-Center ------------------------- Recent Documents (the current doc-module) Workflow Notes Messages etc. Preferences (currently 'setup') ------------------------- Tools ------------------------- DB check Log Indexing AWStats phpMyadmin etc. ------------------------- Configuration ------------------------- Templates _Backend_ (all pageTS and userTS related stuff) TemplaVoila User-Admin/ Ext-Manager Configuration Install ------------------------- Help ------------------------- And with _Backend_ in the configuration module I mean a backend "extension" in which you can also browse the pagetree and only edit the TS. But not only edit - also list and search all pages or records where a TS (e.g. pageTS) is applied to (on large sites it is hard to keep track where what is defined) etc. Therefore I'd for example remove the pageTS-field from the page header and also following the concept of removing/reducing the various pagetypes, so that there is left only "Page", "Mountpoint", "SysFolder", "Recycler" (whatever this one is for - never used it) - but this is a different story. I think this would already help, because all the configuration of the Backend, which can be edited/limited via pageTS and userTS, is centralized. Just a quick thought. -- Franz Koch From pilot at m-lan.ru Sun Oct 16 18:37:36 2005 From: pilot at m-lan.ru (Pilot) Date: Sun, 16 Oct 2005 20:37:36 +0400 Subject: [Typo3-dev] Strange with Repository Message-ID: Strange. One week ago i have loaded into a repository new extention. Till now it does not appear in search... A key: flash_list Thks. From dan at danfrost.co.uk Sun Oct 16 19:02:43 2005 From: dan at danfrost.co.uk (dan frost) Date: Sun, 16 Oct 2005 18:02:43 +0100 Subject: [Typo3-dev] Survey / question: who uses UML tools + code generation Message-ID: Hello all, Does anyone use UML tools and / or code generation for PHP? I'm writing a code generation system to work with MagicDraw's Rich-XMI format, btw... i'll try to publish is asap, but would like to know if anyone uses other tools that I could consider. dan From michael at typo3.org Sun Oct 16 22:11:09 2005 From: michael at typo3.org (Michael Stucki) Date: Sun, 16 Oct 2005 22:11:09 +0200 Subject: [Typo3-dev] New hook suggestion. References: Message-ID: Hi Stig, > Tell me if it's bad manner to post this here. Hope not. > http://bugs.typo3.org/view.php?id=1481 This is implemented in CVS now. - michael -- Use a newsreader! Check out http://typo3.org/community/mailing-lists/use-a-news-reader/ From typo3 at abezet.de Sun Oct 16 22:29:41 2005 From: typo3 at abezet.de (franz ripfel) Date: Sun, 16 Oct 2005 22:29:41 +0200 Subject: [Typo3-dev] Strange with Repository References: Message-ID: Hi Pilot, check your settings for the extension. Log into typo3.org, choose this extension from your extension list and check the settings there. it is one page: http://typo3.org/extensions/repository/ submenu: My extension keys Maybe in flags it?s set to "Don't show in EM for non-members" good luck Franz > Strange. > One week ago i have loaded into a repository new extention. > Till now it does not appear in search... > > A key: flash_list > > Thks. > > -- Franz Ripfel, A.BE.ZET http://www.abezet.de From christoph.koehler at gmail.com Sun Oct 16 23:12:12 2005 From: christoph.koehler at gmail.com (Christoph Koehler) Date: Sun, 16 Oct 2005 16:12:12 -0500 Subject: [Typo3-dev] Make configuration simple References: Message-ID: I think this is an excellent idea!! On Sun, 16 Oct 2005 09:19:47 -0500, Franz Koch wrote: > Hi, > >> People still call the learning curve of typo3 steep. One mayor reason >> for this is in my opinion the complex configuration system. There are >> different places of configuration and diffierent formats. > > How about a "configuration-module" in the backend and put all the > different configuration possibilities in there? Could be a first step in > the right direction of centralizing the configuration. > > Currently the configuration is not only spread in different formats and > languages, but also spread over the whole backend here and there. Ok, > you might say, most of it is inside the "Tools"-module in the backend > menu, but the configuration is no "tool" - so why not making a > "configuration-module" and put _everything_ there. > > My idea: > > ------------------------- > Web > ------------------------- > Page > View > List > Info > Access > Function > ------------------------- > DAM > ------------------------- > ... > ------------------------- > User Task-Center > ------------------------- > Recent Documents (the current doc-module) > Workflow > Notes > Messages > etc. > Preferences (currently 'setup') > ------------------------- > Tools > ------------------------- > DB check > Log > Indexing > AWStats > phpMyadmin > etc. > ------------------------- > Configuration > ------------------------- > Templates > _Backend_ (all pageTS and userTS related stuff) > TemplaVoila > User-Admin/ > Ext-Manager > Configuration > Install > ------------------------- > Help > ------------------------- > > > And with _Backend_ in the configuration module I mean a backend > "extension" in which you can also browse the pagetree and only edit the > TS. But not only edit - also list and search all pages or records where > a TS (e.g. pageTS) is applied to (on large sites it is hard to keep > track where what is defined) etc. > Therefore I'd for example remove the pageTS-field from the page header > and also following the concept of removing/reducing the various > pagetypes, so that there is left only "Page", "Mountpoint", "SysFolder", > "Recycler" (whatever this one is for - never used it) - but this is a > different story. > > I think this would already help, because all the configuration of the > Backend, which can be edited/limited via pageTS and userTS, is > centralized. > > > Just a quick thought. From patrick at typo3quebec.org Mon Oct 17 03:19:38 2005 From: patrick at typo3quebec.org (Patrick Gaumond) Date: Sun, 16 Oct 2005 21:19:38 -0400 Subject: [Typo3-dev] Make configuration simple In-Reply-To: References: Message-ID: The idea of Franz Koch is pretty good ! Sure it will not be possible for 4.0 but if 4.5 is really about Usability and Ease of use then it would be almost perfect ! Franz, add your suggestion to the bug tracker and even create a wiki page where the list and sorting of items could evolve. I like it when people put a fresh eye on thing we take for granted. Thanks for your input (hoping that some others will agree...) Patrick From patrick at typo3quebec.org Mon Oct 17 04:28:02 2005 From: patrick at typo3quebec.org (Patrick Gaumond) Date: Sun, 16 Oct 2005 22:28:02 -0400 Subject: [Typo3-dev] TYPO3 rendering engine process diagram In-Reply-To: References: Message-ID: Peter Niederlag wrote: > I have at some time created an activity diagramm for the TYPO3 FE. > > I am sorry it is in german. :-< Still it might help you. Be aware it > might contain errors. I'm a bit late in the party sorry... I've created a new page on the Wiki to try to get together some diagrams... I've put the one from Inside TYPO3 and the one of Peter. I've also did a "text" version from my understanding hoping to get some people look at it and then create a great graphical one that could be useful for any developer. Please, be my guests at: http://wiki.typo3.org/index.php/Diagrams Patrick From typo3 at fm-world.ru Mon Oct 17 07:56:49 2005 From: typo3 at fm-world.ru (Dmitry Dulepov) Date: Mon, 17 Oct 2005 08:56:49 +0300 Subject: [Typo3-dev] Strange MYSQL behaviour / type casting with boolean In-Reply-To: References: Message-ID: Hi! Robert Lemke wrote: > Imagine $clearCacheOnLoad is (boolean) TRUE, then what I see in the database > afterwards is (integer) 0 ! However, if I change the code like this: Do you have any way to check what query is generated? It probably contains "true" instead of 1 for that field. If MySQL uses atoi() to convert it to number, it will definitely get "0" as a result. Dmitry. From typo3 at fx-graefix.de Mon Oct 17 08:29:48 2005 From: typo3 at fx-graefix.de (Franz Koch) Date: Mon, 17 Oct 2005 08:29:48 +0200 Subject: [Typo3-dev] Make configuration simple In-Reply-To: References: Message-ID: > Franz, add your suggestion to the bug tracker and even create a wiki > page where the list and sorting of items could evolve. if I find the time to do it and if more people think that it is a good idea, I'll add it to the bugtracker. But I've never worked with a wiki, so this might take longer there :) In bed I had another "idea". The "web"-module is also some kind of confusing - it should be named something like "content" because every submodule is related to the content (pages are also some kind of content). May it be access-restrictions _for_, informations _about_, functions to _work with_, _rearrange_ or simply different _views_ of the content. Everything is about content. In this way the "file"-module could also be renamed in "ressources" or something like that - but I'm not sure about this. But I'm getting to off topic with this. Is a useability-ng planed or should this be discussed in the dev-group? Greetings, -- Franz Koch From niederlag at ikd01.de Mon Oct 17 08:32:18 2005 From: niederlag at ikd01.de (Peter Niederlag) Date: Mon, 17 Oct 2005 08:32:18 +0200 Subject: [Typo3-dev] Survey / question: who uses UML tools + code generation In-Reply-To: References: Message-ID: Hi Dan, dan frost schrieb: > Hello all, > > Does anyone use UML tools and / or code generation for PHP? I have been using argoUML quite a little bit. There is a pretty good PHP5-source-generator available as plugin. Currently it just has problems with typehints, which are not generated correctly [1]. The maintainer of the PHP-Coder-generator plugin seems to have vanished however. I haven't found the time yet to look into that issue. Maybe it's an easy job for you? ;) > I'm writing a code generation system to work with MagicDraw's Rich-XMI > format, btw... i'll try to publish is asap, but would like to know if > anyone uses other tools that I could consider. Since I found modelling UML quite a bit ineffective in most UML-Tools I decided to use well documented source-files as master and then rather aim to get some Tool to generate .xmi (UML) from the source. I must admit I don't like the idea of some Magic Draw specific format too much. argoUML is already one of the most powerful UML PHP-Code-geerators I would assume. Looking forward to what you are cooking on..... Cheers, Peter [1] http://argouml.tigris.org/issues/show_bug.cgi?id=3156 -- Peter Niederlag http://www.niekom.de * TYPO3 & EDV Dienstleistungen * http://www.typo3partner.net * professional services network * From brikou at gmail.com Mon Oct 17 09:19:19 2005 From: brikou at gmail.com (Brice Bernard) Date: Mon, 17 Oct 2005 09:19:19 +0200 Subject: [Typo3-dev] RealURL : high server load and optimization Message-ID: I have a website storing hundreds of pages, the problem comes from realurl extension and sql querie optimization. My table 'tx_realurl_uniqalias' stores 100 000 records and queries to render the page is like this : SELECT value_id FROM tx_realurl_uniqalias WHERE value_alias="my-page" AND field_alias="title" AND field_id="uid" AND tablename="tx_myextension" SELECT value_alias FROM tx_realurl_uniqalias WHERE value_id="89031" AND field_alias="title" AND field_id="uid" AND tablename="tx_myextension" Because of these queries, page generation can take up to 120 second!!! (about 1 or 2 seconds per request). Does anyone ever face this kind of problem and knows how to solve it? From gnodde.rudy at wag.nl Mon Oct 17 09:23:18 2005 From: gnodde.rudy at wag.nl (Rudy Gnodde) Date: Mon, 17 Oct 2005 09:23:18 +0200 Subject: [Typo3-dev] RealURL : high server load and optimization Message-ID: Hello Brice, You can try setting indexes on the different fields in the database (value_alias, field_alias, field_id, tablename and value_id) if they're not set already. That should speed things up. Met vriendelijke groet, Rudy Gnodde WIND Internet Tijnjedyk 89 8936 AC Leeuwarden Tel: 058 - 280 28 87 Fax: 058 - 288 13 91 E-mail: gnodde.rudy at windinternet.nl Internet: www.windinternet.nl ------------------------------------------------------------------------ -------------------------------------------------------------------- De informatie verzonden met dit e-mailbericht (en bijlagen) is uitsluitend bestemd voor de geadresseerde(n) en zij die van de geadresseerde(n) toestemming hebben dit bericht te lezen. Gebruik door anderen dan geadresseerde(n) is verboden. De informatie in dit e-mailbericht (en de bijlagen) kan vertrouwelijk van aard zijn en kan binnen het bereik vallen van een geheimhoudingsplicht. WIND Internet is niet aansprakelijk voor schade ten gevolge van het gebruik van elektronische middelen van communicatie, daaronder begrepen -maar niet beperkt tot- schade ten gevolge van niet aflevering of vertraging bij de aflevering van elektronische berichten, onderschepping of manipulatie van elektronische berichten door derden of door programmatuur/apparatuur gebruikt voor elektronische communicatie en overbrenging van virussen en andere kwaadaardige programmatuur. Any information transmitted by means of this e-mail (and any of its attachments) is intended exclusively for the addressee or addressees and for those authorized by the addressee or addressees to read this message. Any use by a party other than the addressee or addressees is prohibited. The information contained in this e-mail (or any of its attachments) may be confidential in nature and fall under a duty of non-disclosure. WIND Internet shall not be liable for damages resulting from the use of electronic means of communication, including -but not limited to- damages resulting from failure or delay in delivery of electronic communications, interception or manipulation of electronic communications by third parties or by computer programs used for electronic communications and transmission of viruses and other malicious code. ------------------------------------------------------------------------ -------------------------------------------------------------------- > -----Oorspronkelijk bericht----- > Van: typo3-dev-bounces at lists.netfielders.de [mailto:typo3-dev- > bounces at lists.netfielders.de] Namens Brice Bernard > Verzonden: maandag 17 oktober 2005 9:19 > Aan: List for Core-/Extension development > Onderwerp: [Typo3-dev] RealURL : high server load and optimization > > I have a website storing hundreds of pages, the problem comes from > realurl extension and sql querie optimization. > My table 'tx_realurl_uniqalias' stores 100 000 records and queries to > render the page is like this : > > SELECT value_id > FROM tx_realurl_uniqalias > WHERE > value_alias="my-page" > AND field_alias="title" > AND field_id="uid" > AND tablename="tx_myextension" > > SELECT value_alias > FROM tx_realurl_uniqalias > WHERE > value_id="89031" > AND field_alias="title" > AND field_id="uid" > AND tablename="tx_myextension" > > Because of these queries, page generation can take up to 120 second!!! > (about 1 or 2 seconds per request). > > Does anyone ever face this kind of problem and knows how to solve it? > _______________________________________________ > Typo3-dev mailing list > Typo3-dev at lists.netfielders.de > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev From elmar.hinz at vcd-berlin.de Mon Oct 17 09:17:29 2005 From: elmar.hinz at vcd-berlin.de (Elmar Hinz) Date: Mon, 17 Oct 2005 09:17:29 +0200 Subject: [Typo3-dev] Make configuration simple In-Reply-To: References: Message-ID: Hi, > if I find the time to do it and if more people think that it is a good > idea, I'll add it to the bugtracker. But I've never worked with a wiki, > so this might take longer there :) > Wiki means quick in Hawaiian. :-) Just get started. 3 steps towards centralised configuration could look like this: 1.) Centralisation in words: Wikipage * summarise all locations of configurtion in one page * give a short description * link to the different specialised documents * discribe your proposals for the interface * I will add my porposals for a common configuration language 2.) Centralisation in the interface * the configuration-module * version 4.5 3.) Common configuration language * I would propose to do all in typoscript, if the question of semantic validation can be solved * version 5.0 Elmar -- Climate change 2005: Guatemala, New Orleans, Sahel, Bangladesh, Spain, Portugal, Austria, Swiss, France, ... Production of CO2 is killing people. Production of CO2 just for fun is killing people just for fun. From brikou at gmail.com Mon Oct 17 09:49:18 2005 From: brikou at gmail.com (Brice Bernard) Date: Mon, 17 Oct 2005 09:49:18 +0200 Subject: [Typo3-dev] RealURL : high server load and optimization In-Reply-To: References: Message-ID: I tried to ALTER TABLE `tx_realurl_uniqalias` ADD INDEX ( `value_alias` ) but MySQL said: #1170 - BLOB/TEXT column 'value_alias' used in key specification without a key length... I don't know how to solve it... 2005/10/17, Rudy Gnodde : > Hello Brice, > > You can try setting indexes on the different fields in the database > (value_alias, field_alias, field_id, tablename and value_id) if they're > not set already. That should speed things up. > > Met vriendelijke groet, > Rudy Gnodde > > WIND Internet > Tijnjedyk 89 > 8936 AC Leeuwarden > Tel: 058 - 280 28 87 > Fax: 058 - 288 13 91 > E-mail: gnodde.rudy at windinternet.nl > Internet: www.windinternet.nl > ------------------------------------------------------------------------ > -------------------------------------------------------------------- > De informatie verzonden met dit e-mailbericht (en bijlagen) is > uitsluitend bestemd voor de geadresseerde(n) en zij die van de > geadresseerde(n) toestemming hebben dit bericht te lezen. Gebruik door > anderen dan geadresseerde(n) is verboden. De informatie in dit > e-mailbericht (en de bijlagen) kan vertrouwelijk van aard zijn en kan > binnen het bereik vallen van een geheimhoudingsplicht. > WIND Internet is niet aansprakelijk voor schade ten gevolge van het > gebruik van elektronische middelen van communicatie, daaronder begrepen > -maar niet beperkt tot- schade ten gevolge van niet aflevering of > vertraging bij de aflevering van elektronische berichten, onderschepping > of manipulatie van elektronische berichten door derden of door > programmatuur/apparatuur gebruikt voor elektronische communicatie en > overbrenging van virussen en andere kwaadaardige programmatuur. > > Any information transmitted by means of this e-mail (and any of its > attachments) is intended exclusively for the addressee or addressees and > for those authorized by the addressee or addressees to read this > message. Any use by a party other than the addressee or addressees is > prohibited. The information contained in this e-mail (or any of its > attachments) may be confidential in nature and fall under a duty of > non-disclosure. > WIND Internet shall not be liable for damages resulting from the use of > electronic means of communication, including -but not limited to- > damages resulting from failure or delay in delivery of electronic > communications, interception or manipulation of electronic > communications by third parties or by computer programs used for > electronic communications and transmission of viruses and other > malicious code. > ------------------------------------------------------------------------ > -------------------------------------------------------------------- > > -----Oorspronkelijk bericht----- > > Van: typo3-dev-bounces at lists.netfielders.de [mailto:typo3-dev- > > bounces at lists.netfielders.de] Namens Brice Bernard > > Verzonden: maandag 17 oktober 2005 9:19 > > Aan: List for Core-/Extension development > > Onderwerp: [Typo3-dev] RealURL : high server load and optimization > > > > I have a website storing hundreds of pages, the problem comes from > > realurl extension and sql querie optimization. > > My table 'tx_realurl_uniqalias' stores 100 000 records and queries to > > render the page is like this : > > > > SELECT value_id > > FROM tx_realurl_uniqalias > > WHERE > > value_alias="my-page" > > AND field_alias="title" > > AND field_id="uid" > > AND tablename="tx_myextension" > > > > SELECT value_alias > > FROM tx_realurl_uniqalias > > WHERE > > value_id="89031" > > AND field_alias="title" > > AND field_id="uid" > > AND tablename="tx_myextension" > > > > Because of these queries, page generation can take up to 120 second!!! > > (about 1 or 2 seconds per request). > > > > Does anyone ever face this kind of problem and knows how to solve it? > > _______________________________________________ > > Typo3-dev mailing list > > Typo3-dev at lists.netfielders.de > > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev > _______________________________________________ > Typo3-dev mailing list > Typo3-dev at lists.netfielders.de > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev > From schwarzkopf.no.spam at artplan21.de Mon Oct 17 10:24:52 2005 From: schwarzkopf.no.spam at artplan21.de (Andreas Schwarzkopf) Date: Mon, 17 Oct 2005 10:24:52 +0200 Subject: [Typo3-dev] RealURL : high server load and optimization In-Reply-To: References: Message-ID: AFAIK a blob field can not have an index. grtx Andreas Brice Bernard schrieb: > I tried to ALTER TABLE `tx_realurl_uniqalias` ADD INDEX ( > `value_alias` ) but MySQL said: #1170 - BLOB/TEXT column 'value_alias' > used in key specification without a key length... > > I don't know how to solve it... > > 2005/10/17, Rudy Gnodde : > >>Hello Brice, >> >>You can try setting indexes on the different fields in the database >>(value_alias, field_alias, field_id, tablename and value_id) if they're >>not set already. That should speed things up. >> >>Met vriendelijke groet, >>Rudy Gnodde >> >>WIND Internet >>Tijnjedyk 89 >>8936 AC Leeuwarden >>Tel: 058 - 280 28 87 >>Fax: 058 - 288 13 91 >>E-mail: gnodde.rudy at windinternet.nl >>Internet: www.windinternet.nl >>------------------------------------------------------------------------ >>-------------------------------------------------------------------- >>De informatie verzonden met dit e-mailbericht (en bijlagen) is >>uitsluitend bestemd voor de geadresseerde(n) en zij die van de >>geadresseerde(n) toestemming hebben dit bericht te lezen. Gebruik door >>anderen dan geadresseerde(n) is verboden. De informatie in dit >>e-mailbericht (en de bijlagen) kan vertrouwelijk van aard zijn en kan >>binnen het bereik vallen van een geheimhoudingsplicht. >>WIND Internet is niet aansprakelijk voor schade ten gevolge van het >>gebruik van elektronische middelen van communicatie, daaronder begrepen >>-maar niet beperkt tot- schade ten gevolge van niet aflevering of >>vertraging bij de aflevering van elektronische berichten, onderschepping >>of manipulatie van elektronische berichten door derden of door >>programmatuur/apparatuur gebruikt voor elektronische communicatie en >>overbrenging van virussen en andere kwaadaardige programmatuur. >> >>Any information transmitted by means of this e-mail (and any of its >>attachments) is intended exclusively for the addressee or addressees and >>for those authorized by the addressee or addressees to read this >>message. Any use by a party other than the addressee or addressees is >>prohibited. The information contained in this e-mail (or any of its >>attachments) may be confidential in nature and fall under a duty of >>non-disclosure. >>WIND Internet shall not be liable for damages resulting from the use of >>electronic means of communication, including -but not limited to- >>damages resulting from failure or delay in delivery of electronic >>communications, interception or manipulation of electronic >>communications by third parties or by computer programs used for >>electronic communications and transmission of viruses and other >>malicious code. >>------------------------------------------------------------------------ >>-------------------------------------------------------------------- >> >>>-----Oorspronkelijk bericht----- >>>Van: typo3-dev-bounces at lists.netfielders.de [mailto:typo3-dev- >>>bounces at lists.netfielders.de] Namens Brice Bernard >>>Verzonden: maandag 17 oktober 2005 9:19 >>>Aan: List for Core-/Extension development >>>Onderwerp: [Typo3-dev] RealURL : high server load and optimization >>> >>>I have a website storing hundreds of pages, the problem comes from >>>realurl extension and sql querie optimization. >>>My table 'tx_realurl_uniqalias' stores 100 000 records and queries to >>>render the page is like this : >>> >>>SELECT value_id >>>FROM tx_realurl_uniqalias >>>WHERE >>>value_alias="my-page" >>>AND field_alias="title" >>>AND field_id="uid" >>>AND tablename="tx_myextension" >>> >>>SELECT value_alias >>>FROM tx_realurl_uniqalias >>>WHERE >>>value_id="89031" >>>AND field_alias="title" >>>AND field_id="uid" >>>AND tablename="tx_myextension" >>> >>>Because of these queries, page generation can take up to 120 second!!! >>>(about 1 or 2 seconds per request). >>> >>>Does anyone ever face this kind of problem and knows how to solve it? >>>_______________________________________________ >>>Typo3-dev mailing list >>>Typo3-dev at lists.netfielders.de >>>http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev >> >>_______________________________________________ >>Typo3-dev mailing list >>Typo3-dev at lists.netfielders.de >>http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev >> From gnodde.rudy at wag.nl Mon Oct 17 10:30:54 2005 From: gnodde.rudy at wag.nl (Rudy Gnodde) Date: Mon, 17 Oct 2005 10:30:54 +0200 Subject: [Typo3-dev] RealURL : high server load and optimization Message-ID: You could try making it a varchar, but then you have to make sure they're never more than 255 characters long (which should be more than enough in most cases). Then you can index it. Met vriendelijke groet, Rudy Gnodde WIND Internet Tijnjedyk 89 8936 AC Leeuwarden Tel: 058 - 280 28 87 Fax: 058 - 288 13 91 E-mail: gnodde.rudy at windinternet.nl Internet: www.windinternet.nl ------------------------------------------------------------------------ -------------------------------------------------------------------- De informatie verzonden met dit e-mailbericht (en bijlagen) is uitsluitend bestemd voor de geadresseerde(n) en zij die van de geadresseerde(n) toestemming hebben dit bericht te lezen. Gebruik door anderen dan geadresseerde(n) is verboden. De informatie in dit e-mailbericht (en de bijlagen) kan vertrouwelijk van aard zijn en kan binnen het bereik vallen van een geheimhoudingsplicht. WIND Internet is niet aansprakelijk voor schade ten gevolge van het gebruik van elektronische middelen van communicatie, daaronder begrepen -maar niet beperkt tot- schade ten gevolge van niet aflevering of vertraging bij de aflevering van elektronische berichten, onderschepping of manipulatie van elektronische berichten door derden of door programmatuur/apparatuur gebruikt voor elektronische communicatie en overbrenging van virussen en andere kwaadaardige programmatuur. Any information transmitted by means of this e-mail (and any of its attachments) is intended exclusively for the addressee or addressees and for those authorized by the addressee or addressees to read this message. Any use by a party other than the addressee or addressees is prohibited. The information contained in this e-mail (or any of its attachments) may be confidential in nature and fall under a duty of non-disclosure. WIND Internet shall not be liable for damages resulting from the use of electronic means of communication, including -but not limited to- damages resulting from failure or delay in delivery of electronic communications, interception or manipulation of electronic communications by third parties or by computer programs used for electronic communications and transmission of viruses and other malicious code. ------------------------------------------------------------------------ -------------------------------------------------------------------- > -----Oorspronkelijk bericht----- > Van: typo3-dev-bounces at lists.netfielders.de [mailto:typo3-dev- > bounces at lists.netfielders.de] Namens Andreas Schwarzkopf > Verzonden: maandag 17 oktober 2005 10:25 > Aan: typo3-dev at lists.netfielders.de > Onderwerp: Re: [Typo3-dev] RealURL : high server load and optimization > > AFAIK a blob field can not have an index. > > grtx > > Andreas > > Brice Bernard schrieb: > > I tried to ALTER TABLE `tx_realurl_uniqalias` ADD INDEX ( > > `value_alias` ) but MySQL said: #1170 - BLOB/TEXT column 'value_alias' > > used in key specification without a key length... > > > > I don't know how to solve it... > > > > 2005/10/17, Rudy Gnodde : > > > >>Hello Brice, > >> > >>You can try setting indexes on the different fields in the database > >>(value_alias, field_alias, field_id, tablename and value_id) if they're > >>not set already. That should speed things up. > >> > >>Met vriendelijke groet, > >>Rudy Gnodde > >> > >>WIND Internet > >>Tijnjedyk 89 > >>8936 AC Leeuwarden > >>Tel: 058 - 280 28 87 > >>Fax: 058 - 288 13 91 > >>E-mail: gnodde.rudy at windinternet.nl > >>Internet: www.windinternet.nl > >>---------------------------------------------------------------------- -- > >>-------------------------------------------------------------------- > >>De informatie verzonden met dit e-mailbericht (en bijlagen) is > >>uitsluitend bestemd voor de geadresseerde(n) en zij die van de > >>geadresseerde(n) toestemming hebben dit bericht te lezen. Gebruik door > >>anderen dan geadresseerde(n) is verboden. De informatie in dit > >>e-mailbericht (en de bijlagen) kan vertrouwelijk van aard zijn en kan > >>binnen het bereik vallen van een geheimhoudingsplicht. > >>WIND Internet is niet aansprakelijk voor schade ten gevolge van het > >>gebruik van elektronische middelen van communicatie, daaronder begrepen > >>-maar niet beperkt tot- schade ten gevolge van niet aflevering of > >>vertraging bij de aflevering van elektronische berichten, onderschepping > >>of manipulatie van elektronische berichten door derden of door > >>programmatuur/apparatuur gebruikt voor elektronische communicatie en > >>overbrenging van virussen en andere kwaadaardige programmatuur. > >> > >>Any information transmitted by means of this e-mail (and any of its > >>attachments) is intended exclusively for the addressee or addressees and > >>for those authorized by the addressee or addressees to read this > >>message. Any use by a party other than the addressee or addressees is > >>prohibited. The information contained in this e-mail (or any of its > >>attachments) may be confidential in nature and fall under a duty of > >>non-disclosure. > >>WIND Internet shall not be liable for damages resulting from the use of > >>electronic means of communication, including -but not limited to- > >>damages resulting from failure or delay in delivery of electronic > >>communications, interception or manipulation of electronic > >>communications by third parties or by computer programs used for > >>electronic communications and transmission of viruses and other > >>malicious code. > >>---------------------------------------------------------------------- -- > >>-------------------------------------------------------------------- > >> > >>>-----Oorspronkelijk bericht----- > >>>Van: typo3-dev-bounces at lists.netfielders.de [mailto:typo3-dev- > >>>bounces at lists.netfielders.de] Namens Brice Bernard > >>>Verzonden: maandag 17 oktober 2005 9:19 > >>>Aan: List for Core-/Extension development > >>>Onderwerp: [Typo3-dev] RealURL : high server load and optimization > >>> > >>>I have a website storing hundreds of pages, the problem comes from > >>>realurl extension and sql querie optimization. > >>>My table 'tx_realurl_uniqalias' stores 100 000 records and queries to > >>>render the page is like this : > >>> > >>>SELECT value_id > >>>FROM tx_realurl_uniqalias > >>>WHERE > >>>value_alias="my-page" > >>>AND field_alias="title" > >>>AND field_id="uid" > >>>AND tablename="tx_myextension" > >>> > >>>SELECT value_alias > >>>FROM tx_realurl_uniqalias > >>>WHERE > >>>value_id="89031" > >>>AND field_alias="title" > >>>AND field_id="uid" > >>>AND tablename="tx_myextension" > >>> > >>>Because of these queries, page generation can take up to 120 second!!! > >>>(about 1 or 2 seconds per request). > >>> > >>>Does anyone ever face this kind of problem and knows how to solve it? > >>>_______________________________________________ > >>>Typo3-dev mailing list > >>>Typo3-dev at lists.netfielders.de > >>>http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev > >> > >>_______________________________________________ > >>Typo3-dev mailing list > >>Typo3-dev at lists.netfielders.de > >>http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev > >> > _______________________________________________ > Typo3-dev mailing list > Typo3-dev at lists.netfielders.de > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev From elmar.hinz at vcd-berlin.de Mon Oct 17 10:29:28 2005 From: elmar.hinz at vcd-berlin.de (Elmar Hinz) Date: Mon, 17 Oct 2005 10:29:28 +0200 Subject: [Typo3-dev] Make configuration simple In-Reply-To: References: Message-ID: dan frost wrote: > Unlikely - TypoScript has no structure (it has syntax) whereas a XML > with a good Schema / DTD does. Having a strong, check-able structure > makes in much, much easier to learn something and debug it. > TypoScript has a syntax and a structure (differnt levels, etc.). What you mean is what Kasper calls semantic. In terms of XML and DTD this is connected to the question of validation. What does a DTD? In short it gives an answer to the question: What language elements are allowed in the current context? Editortools than can offer the appropriate elements like attributes, text and childenodes. Checkers can validate if everything is in the allowed places. (Still before validation is done syntax checkers test if the document is "well formed".) Can validation be done for typoscript? Yes it can be done, but it isn't such easy. To validate a property you allways need to know in which context it is in. In example the property "value" has completly different datatypes in the context of the cObject HTML or in the if-function. In XML each tag-name defines an unambiguous context on each level. So the context is easy to discover for validation. In typoscript we have cases where the configuration of a cObject or a function can even have sublevels and sublevels of sublevels. If a validator allways has to first answer the question "Which context I am currently in?" that is much more difficult to answer in typoscript than in XML for this reasons. You can't simple take the property name. You need to use a combination of the parent context and the property name. (And for objects their name after the defining "=" .) Then you can validate the value and subproperties if you have something at hand that compares a DTD. That is the second difficulty. It first needs to be designed. Secondly it needs to be learned by the programmers. Thirdly the validator has to be written, which requires an exellent programmer. Couldn't typoscript be transformed to XML and than be validated? I think by principle that could be done. But the information about the context that lacks in typoscript can't fall from heaven in XML. I expect that the DTD of the XML version would be so general for this reasons that it wouldn't have any use at all. What is the right way? Taking all this difficulties in account I see three possible ways: 1.) abandon the wish for validation and semantic and hold on typoscript 2.) give up typoscript for XML or something comparable that provides the necessary tools 3.) take up the efforts to make typoscript validatable What do you think? Regards Elmar -- Climate change 2005: Guatemala, New Orleans, Sahel, Bangladesh, Spain, Portugal, Austria, Swiss, France, ... Production of CO2 is killing people. Production of CO2 just for fun is killing people just for fun. From jer at moccompany.com Mon Oct 17 10:35:54 2005 From: jer at moccompany.com (Jan-Erik Revsbech) Date: Mon, 17 Oct 2005 10:35:54 +0200 Subject: [Typo3-dev] RealURL : high server load and optimization References: Message-ID: ----- Original Message ----- From: "Andreas Schwarzkopf" Newsgroups: typo3.dev To: Sent: Monday, October 17, 2005 10:24 AM Subject: Re: [Typo3-dev] RealURL : high server load and optimization > AFAIK a blob field can not have an index. This is not true, but you need to specify how much of the blob field you want to index. Example: ALTER TABLE `tx_realurl_uniqalias` ADD INDEX value_alias (value_alias(25)) will create an index using 25 characters of the blob field. I would however suggest to make and index using all the fields like this ALTER TABLE `tx_realurl_uniqalias` ADD INDEX mydindexname (value_alias(25),field_alias(25),field_id,tablename) /Jan-Erik From Klug.Stefan at gmx.de Mon Oct 17 11:04:28 2005 From: Klug.Stefan at gmx.de (Stefan Klug) Date: Mon, 17 Oct 2005 11:04:28 +0200 Subject: [Typo3-dev] USER_INT in FORM (class.tslib_content.php) Message-ID: Hi everybody, I'm fairly new to Typo3 and I'm not sure if this is the correct list for my question. I try to use a USER_INT Object as default value for an Input field in tt_board, to automatically insert the eMail/Name of the current user. The problem is that in class.tslib_content.php function FORM in line 1673 (Typo3 Version 3.7.1 but applys to 3.8 also) the dfault value is encoded by a hardcoded htmlspecialchars() which prevents typo3 from recognizing the value as INT Object. ( is encoded to <!-- ... -->) I also tried to set no_cache=1 for the complete FORM object but this didn't work as expected. Do I misunderstand the no_debug option completely or is there any other way to force typo3 to regenerate the FORM for every request? Shouldn't the htmlspecialchars be removed, as it's easyly possible to do this by a stdWrap. Thanks alot Stefan From wilhelm at icecrash.com Mon Oct 17 11:18:04 2005 From: wilhelm at icecrash.com (Sven Wilhelm) Date: Mon, 17 Oct 2005 11:18:04 +0200 Subject: [Typo3-dev] Make configuration simple In-Reply-To: References: Message-ID: > I think by principle that could be done. But the information about the > context that lacks in typoscript can't fall from heaven in XML. I expect > that the DTD of the XML version would be so general for this reasons > that it wouldn't have any use at all. something like the xml of flexforms :) > What is the right way? > Taking all this difficulties in account I see three possible ways: > 1.) abandon the wish for validation and semantic and hold on typoscript > 2.) give up typoscript for XML or something comparable that provides the > necessary tools > 3.) take up the efforts to make typoscript validatable > > What do you think? It seems to me that a great part of the developers forget that TYPO3 is currently very closed. To open it means that used technics should provide greater access into the deeps and be more "standard like". With typoscript I'm not able develop as easy for Typo as with e.g. xml in a nice development environment such as eclipse. And thats the major place where developers work. If you have more stricter rules it's easier to also develop development tools for typo. At the moment this job is just a nightmare job. Regards Sven From pilot at m-lan.ru Mon Oct 17 11:03:39 2005 From: pilot at m-lan.ru (Pilot) Date: Mon, 17 Oct 2005 13:03:39 +0400 Subject: [Typo3-dev] Strange with Repository References: Message-ID: Thanks "franz ripfel" ???????/???????? ? ???????? ?????????: news:mailman.1.1129494616.21602.typo3-dev at lists.netfielders.de... > Hi Pilot, > > check your settings for the extension. > Log into typo3.org, choose this extension from your extension list and > check the settings there. > it is one page: > http://typo3.org/extensions/repository/ > submenu: My extension keys > > Maybe in flags it?s set to "Don't show in EM for non-members" > > > good luck > Franz > >> Strange. >> One week ago i have loaded into a repository new extention. >> Till now it does not appear in search... >> >> A key: flash_list >> >> Thks. >> >> > > > > -- > Franz Ripfel, A.BE.ZET > http://www.abezet.de From typo3user at gmx.net Mon Oct 17 11:11:51 2005 From: typo3user at gmx.net (typo3user at gmx.net) Date: Mon, 17 Oct 2005 11:11:51 +0200 Subject: [Typo3-dev] Make configuration simple Message-ID: >What does a DTD? > >In short it gives an answer to the question: What language elements are >allowed in the current context? > >Editortools than can offer the appropriate elements like attributes, >text and childenodes. Checkers can validate if everything is in the >allowed places. (Still before validation is done syntax checkers test if >the document is "well formed".) and IMHO a BIIIIG plus --> XML+DTD does not only unravel unused or made-up fields but it offers the editing tools (= backend GUI) the possibility to _LIST the available fields!!_ This means - no digging in TSref anymore as the user can clearly see what fields in the current context are allowed! And even better - chances for a click'n'run backend just like the current Template Constants editor but on a defined language (XML) just my 0,02 ? From Martin.Kutschker at n0spam-blackbox.net Mon Oct 17 11:32:28 2005 From: Martin.Kutschker at n0spam-blackbox.net (Martin Kutschker) Date: Mon, 17 Oct 2005 11:32:28 +0200 Subject: [Typo3-dev] Make configuration simple In-Reply-To: References: Message-ID: typo3user at gmx.net schrieb: >>What does a DTD? >> >>In short it gives an answer to the question: What language elements are >>allowed in the current context? >> >>Editortools than can offer the appropriate elements like attributes, >>text and childenodes. Checkers can validate if everything is in the >>allowed places. (Still before validation is done syntax checkers test if >>the document is "well formed".) > > > and IMHO a BIIIIG plus --> XML+DTD does not only unravel unused or made-up fields but it offers the editing tools (= backend GUI) the possibility to _LIST the available fields!!_ This means - no digging in TSref anymore as the user can clearly see what fields in the > current context are allowed! And even better - chances for a click'n'run backend just like the current Template Constants editor but on a defined language (XML) Drawback is that you cannot edit the configration without tools any more. XML is so verbose that the resulting configuration files/records will be huge. Survey: are there any DTD cracks around? Writing DTDs is IMHO not so easy, if you want to do it right. But why use DTD anyway, shouldn't the future belong to XML schema? Masi From typo3 at monosock.org Mon Oct 17 11:37:41 2005 From: typo3 at monosock.org (Michiel Roos) Date: Mon, 17 Oct 2005 11:37:41 +0200 Subject: [Typo3-dev] RealURL : high server load and optimization References: Message-ID: Brice, I've only been toying with realurl for a couple of hours so I'm no guru. Do you have cacheing enabled for realurl? $TYPO3_CONF_VARS['EXTCONF']['realurl'] = array( '_DEFAULT' => array( 'init' => array( 'enableCHashCache' => 1, 'appendMissingSlash' => 'ifNotFile', 'enableUrlDecodeCache' => 1, 'enableUrlEncodeCache' => 1 ), ...... Checkout: http://typo3.org/documentation/document-library/realurl/Configuration-fce13303eb/ Cheers, Michiel From kasper2005 at typo3.com Mon Oct 17 11:35:57 2005 From: kasper2005 at typo3.com (Kasper =?iso-8859-1?q?Sk=E5rh=F8j?=) Date: Mon, 17 Oct 2005 11:35:57 +0200 Subject: [Typo3-dev] RealURL : high server load and optimization In-Reply-To: References: Message-ID: I would be willing to add this index to my dev-version of realurl right away PROVIDED that someone will test it and confirm that the MySQL lookup actually a) uses this index for the mentioned queries and b) speeds up things. - kasper On Monday 17 October 2005 10:35, Jan-Erik Revsbech wrote: > ----- Original Message ----- > From: "Andreas Schwarzkopf" > Newsgroups: typo3.dev > To: > Sent: Monday, October 17, 2005 10:24 AM > Subject: Re: [Typo3-dev] RealURL : high server load and optimization > > > AFAIK a blob field can not have an index. > > This is not true, but you need to specify how much of the blob field you > want to index. Example: > > ALTER TABLE `tx_realurl_uniqalias` ADD INDEX value_alias (value_alias(25)) > > will create an index using 25 characters of the blob field. > > I would however suggest to make and index using all the fields like this > ALTER TABLE `tx_realurl_uniqalias` ADD INDEX mydindexname > (value_alias(25),field_alias(25),field_id,tablename) > > /Jan-Erik > > > _______________________________________________ > Typo3-dev mailing list > Typo3-dev at lists.netfielders.de > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev -- - kasper ----------------- Think future, not feature From jer at moccompany.com Mon Oct 17 11:48:23 2005 From: jer at moccompany.com (Jan-Erik Revsbech) Date: Mon, 17 Oct 2005 11:48:23 +0200 Subject: [Typo3-dev] RealURL : high server load and optimization References: Message-ID: Testing if the index is used, can be done by issuing the command EXPLAIN before the SELECT query (ie: EXPLAIN SELECT ... FROM tx_realurl_uniqalias WHERE ...) in a mysql promt. Mysql will explain to you how the query is done. But I think that this might not be the problem. Even 100.000 records should not take very long (50 msec) and nowhere near 120sec, so there must be another problem. If the pages table is joined in the query, it might take much longer though. I dont have a site with that many pages that uses realurl, so I can't test the speed improvements. /Jan-Erik ----- Original Message ----- From: "Kasper Sk?rh?j" To: "List for Core-/Extension development" Sent: Monday, October 17, 2005 11:35 AM Subject: Re: [Typo3-dev] RealURL : high server load and optimization >I would be willing to add this index to my dev-version of realurl right >away > PROVIDED that someone will test it and confirm that the MySQL lookup > actually > a) uses this index for the mentioned queries and b) speeds up things. > > - kasper > > > On Monday 17 October 2005 10:35, Jan-Erik Revsbech wrote: >> ----- Original Message ----- >> From: "Andreas Schwarzkopf" >> Newsgroups: typo3.dev >> To: >> Sent: Monday, October 17, 2005 10:24 AM >> Subject: Re: [Typo3-dev] RealURL : high server load and optimization >> >> > AFAIK a blob field can not have an index. >> >> This is not true, but you need to specify how much of the blob field you >> want to index. Example: >> >> ALTER TABLE `tx_realurl_uniqalias` ADD INDEX value_alias >> (value_alias(25)) >> >> will create an index using 25 characters of the blob field. >> >> I would however suggest to make and index using all the fields like this >> ALTER TABLE `tx_realurl_uniqalias` ADD INDEX mydindexname >> (value_alias(25),field_alias(25),field_id,tablename) >> >> /Jan-Erik >> >> >> _______________________________________________ >> Typo3-dev mailing list >> Typo3-dev at lists.netfielders.de >> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev > > -- > - kasper > > ----------------- > Think future, not feature > _______________________________________________ > Typo3-dev mailing list > Typo3-dev at lists.netfielders.de > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev From kasper2005 at typo3.com Mon Oct 17 11:48:54 2005 From: kasper2005 at typo3.com (Kasper =?iso-8859-1?q?Sk=E5rh=F8j?=) Date: Mon, 17 Oct 2005 11:48:54 +0200 Subject: [Typo3-dev] Make configuration simple In-Reply-To: References: Message-ID: Hi Guys, My repeating frustration when thinking about redesigning any part of TYPO3 is that I honestly fear I will not be able to hit the mark, because what IS the mark? What is the perfect solution that is - easy, - standards based, - works out of the box, - Fool-proof (validatable) - solves all usability problems, - allows deep configuration without tons of complexity - etc. I would love to produce this for the TYPO3 community, but if we cannot make a clear definition of how this model looks with a 99% guarantee that it will work and solve the problems for all of us, then I will not start it. Especially; if we just change things so one group is now happy while another will be frustrated, then we did nothing but re-distribute the criticism. I'm not wasting time on that. - kasper On Monday 17 October 2005 11:11, typo3user at gmx.net wrote: > >What does a DTD? > > > >In short it gives an answer to the question: What language elements are > >allowed in the current context? > > > >Editortools than can offer the appropriate elements like attributes, > >text and childenodes. Checkers can validate if everything is in the > >allowed places. (Still before validation is done syntax checkers test if > >the document is "well formed".) > > and IMHO a BIIIIG plus --> XML+DTD does not only unravel unused or made-up > fields but it offers the editing tools (= backend GUI) the possibility to > _LIST the available fields!!_ This means - no digging in TSref anymore as > the user can clearly see what fields in the current context are allowed! > And even better - chances for a click'n'run backend just like the current > Template Constants editor but on a defined language (XML) > > just my 0,02 ? > > > > _______________________________________________ > Typo3-dev mailing list > Typo3-dev at lists.netfielders.de > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev -- - kasper ----------------- Think future, not feature From brikou at gmail.com Mon Oct 17 12:04:16 2005 From: brikou at gmail.com (Brice Bernard) Date: Mon, 17 Oct 2005 12:04:16 +0200 Subject: [Typo3-dev] RealURL : high server load and optimization In-Reply-To: References: Message-ID: I made an extension storing and displaying 350 000 records. It takes real long time to display the page but I also use page reverse proxy in order to make the 2nd render of the page as fast as static. The time taken is caused by RealUrl of course but maybe also because of my code neeed improvement. In order to prepare/calculate the 1st rendering by myself I use httrack command to browse all the website (and so generate the cache for reverse proxy). I imagine I can clear the cache (http / typo3 and realUrl's cache) then run httrack for 24h and count how many pages were downloaded then do it again with the your dev version and compare these results... 2005/10/17, Kasper Sk?rh?j : > I would be willing to add this index to my dev-version of realurl right away > PROVIDED that someone will test it and confirm that the MySQL lookup actually > a) uses this index for the mentioned queries and b) speeds up things. > > - kasper > > > On Monday 17 October 2005 10:35, Jan-Erik Revsbech wrote: > > ----- Original Message ----- > > From: "Andreas Schwarzkopf" > > Newsgroups: typo3.dev > > To: > > Sent: Monday, October 17, 2005 10:24 AM > > Subject: Re: [Typo3-dev] RealURL : high server load and optimization > > > > > AFAIK a blob field can not have an index. > > > > This is not true, but you need to specify how much of the blob field you > > want to index. Example: > > > > ALTER TABLE `tx_realurl_uniqalias` ADD INDEX value_alias (value_alias(25)) > > > > will create an index using 25 characters of the blob field. > > > > I would however suggest to make and index using all the fields like this > > ALTER TABLE `tx_realurl_uniqalias` ADD INDEX mydindexname > > (value_alias(25),field_alias(25),field_id,tablename) > > > > /Jan-Erik > > > > > > _______________________________________________ > > Typo3-dev mailing list > > Typo3-dev at lists.netfielders.de > > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev > > -- > - kasper > > ----------------- > Think future, not feature > _______________________________________________ > Typo3-dev mailing list > Typo3-dev at lists.netfielders.de > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev > From mathias.schreiber at wmdb.de Mon Oct 17 12:04:13 2005 From: mathias.schreiber at wmdb.de (Mathias Schreiber [wmdb]) Date: Mon, 17 Oct 2005 12:04:13 +0200 Subject: [Typo3-dev] Make configuration simple In-Reply-To: References: Message-ID: Kasper Sk?rh?j wrote: > Hi Guys, > > My repeating frustration when thinking about redesigning any part of TYPO3 is > that I honestly fear I will not be able to hit the mark, because what IS the > mark? > > What is the perfect solution that is > - easy, > - standards based, > - works out of the box, > - Fool-proof (validatable) > - solves all usability problems, > - allows deep configuration without tons of complexity > - etc. > > I would love to produce this for the TYPO3 community, but if we cannot make a > clear definition of how this model looks with a 99% guarantee that it will > work and solve the problems for all of us, then I will not start it. > Especially; if we just change things so one group is now happy while another > will be frustrated, then we did nothing but re-distribute the criticism. I'm > not wasting time on that. Just some thoughts: I would NEVER trade ease of use for performance. XML will produce overhead. Nice that we could use a click and run BE or a nice editing interface. Who will code this? AFAIK noone ever thought about sponsoring the Java Editor for Typoscript. So even if Kasper spent a year on building everything in XML we would not have the nice editor for that. so one year wasted. TS is working for years now. And in my eyes it fits its job better than anything else. There is only one thing that does not really make sense in my eyes but I am sure Kasper can lighten things up for me. I'd like to have TSConfig unified somehow. Andd I'd like UserTSConfig to take precedence over PageTSConfig. Thus you could configure things in general and later on on a per-user-basis. In my eyes the point is this: We have people who are frustrated by TS because THEY don't understand it. So obviously TS must be crap. Interestingly a whole bunch of people are able to work with TS very good - flexible and quick. So I suggest to think about how someone uses TS and TYPO3 BEFORE complaining -- if ($GLOBALS['TSFE']->fe_user->user['ahnung'] == 0) { $this->fresseHalten = 1; } From kasper2005 at typo3.com Mon Oct 17 12:09:21 2005 From: kasper2005 at typo3.com (Kasper =?iso-8859-1?q?Sk=E5rh=F8j?=) Date: Mon, 17 Oct 2005 12:09:21 +0200 Subject: [Typo3-dev] RealURL : high server load and optimization In-Reply-To: References: Message-ID: If your 2nd page hit takes lots of time and that is served by a reverse proxy, TYPO3 is never invoked, right? How can realurl slow that down then? - kasper On Monday 17 October 2005 12:04, Brice Bernard wrote: > I made an extension storing and displaying 350 000 records. It takes > real long time to display the page but I also use page reverse proxy > in order to make the 2nd render of the page as fast as static. The > time taken is caused by RealUrl of course but maybe also because of my > code neeed improvement. > > In order to prepare/calculate the 1st rendering by myself I use > httrack command to browse all the website (and so generate the cache > for reverse proxy). I imagine I can clear the cache (http / typo3 and > realUrl's cache) then run httrack for 24h and count how many pages > were downloaded then do it again with the your dev version and compare > these results... > > 2005/10/17, Kasper Sk?rh?j : > > I would be willing to add this index to my dev-version of realurl right > > away PROVIDED that someone will test it and confirm that the MySQL lookup > > actually a) uses this index for the mentioned queries and b) speeds up > > things. > > > > - kasper > > > > On Monday 17 October 2005 10:35, Jan-Erik Revsbech wrote: > > > ----- Original Message ----- > > > From: "Andreas Schwarzkopf" > > > Newsgroups: typo3.dev > > > To: > > > Sent: Monday, October 17, 2005 10:24 AM > > > Subject: Re: [Typo3-dev] RealURL : high server load and optimization > > > > > > > AFAIK a blob field can not have an index. > > > > > > This is not true, but you need to specify how much of the blob field > > > you want to index. Example: > > > > > > ALTER TABLE `tx_realurl_uniqalias` ADD INDEX value_alias > > > (value_alias(25)) > > > > > > will create an index using 25 characters of the blob field. > > > > > > I would however suggest to make and index using all the fields like > > > this ALTER TABLE `tx_realurl_uniqalias` ADD INDEX mydindexname > > > (value_alias(25),field_alias(25),field_id,tablename) > > > > > > /Jan-Erik > > > > > > > > > _______________________________________________ > > > Typo3-dev mailing list > > > Typo3-dev at lists.netfielders.de > > > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev > > > > -- > > - kasper > > > > ----------------- > > Think future, not feature > > _______________________________________________ > > Typo3-dev mailing list > > Typo3-dev at lists.netfielders.de > > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev > > _______________________________________________ > Typo3-dev mailing list > Typo3-dev at lists.netfielders.de > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev -- - kasper ----------------- Think future, not feature From ike at spamfence.net Mon Oct 17 12:08:45 2005 From: ike at spamfence.net (Michael Vogel) Date: Mon, 17 Oct 2005 12:08:45 +0200 Subject: [Typo3-dev] RealURL: Changing "Speaking url Path Segment" to be able to type in a whole path In-Reply-To: References: Message-ID: Kasper Sk?rh?j schrieb: > realurl has a management module where you can change values of the pagepath > table when it has been populated the first time. I solved the problem by creating an own class that reads the complete url out of "Speaking url Path Segment". I modified the dummy class for that. Its downloadable under: On my onw pages it seems to work really great. (allthough the field len of "Speaking url Path Segment" is not that large) By now I'm thinking about mixing "class.tx_realurl_advanced.php" and my own "class.tx_realurl_fullpath.php" so that it would be possible to not only define complete addresses or single segments but alltogether on one domain. I don't know if that would be possible but I hope it is. Michael From ike at spamfence.net Mon Oct 17 12:11:54 2005 From: ike at spamfence.net (Michael Vogel) Date: Mon, 17 Oct 2005 12:11:54 +0200 Subject: [Typo3-dev] RealURL and DR Wiki - why are anchors not working? Message-ID: Hi! I'm using RealURL and DR Wiki and it seems to work - despite the fact that anchors inside the Wiki aren't working: AFAIK its a problem inside of DR Wiki but I hope I can solve it. Can anybody tell me where to look? How are links have to be build so that RealURL has no problems with them? Michael From typo3 at monosock.org Mon Oct 17 12:10:38 2005 From: typo3 at monosock.org (Michiel Roos) Date: Mon, 17 Oct 2005 12:10:38 +0200 Subject: [Typo3-dev] RealURL : high server load and optimization References: Message-ID: On Mon, 17 Oct 2005 11:48:23 +0200, Jan-Erik Revsbech wrote: > Testing if the index is used, can be done by issuing the command EXPLAIN > before the SELECT query (ie: EXPLAIN SELECT ... FROM tx_realurl_uniqalias > WHERE ...) in a mysql promt. Mysql will explain to you how the query is > done. But I think that this might not be the problem. Even 100.000 records > should not take very long (50 msec) and nowhere near 120sec, so there must > be another problem. If the pages table is joined in the query, it might take > much longer though. > > I dont have a site with that many pages that uses realurl, so I can't test > the speed improvements. > > /Jan-Erik > > > ----- Original Message ----- > From: "Kasper Sk?rh?j" > To: "List for Core-/Extension development" > Sent: Monday, October 17, 2005 11:35 AM > Subject: Re: [Typo3-dev] RealURL : high server load and optimization > > >>I would be willing to add this index to my dev-version of realurl right >>away >> PROVIDED that someone will test it and confirm that the MySQL lookup >> actually >> a) uses this index for the mentioned queries and b) speeds up things. >> >> - kasper >> >> >> On Monday 17 October 2005 10:35, Jan-Erik Revsbech wrote: >>> ----- Original Message ----- >>> From: "Andreas Schwarzkopf" >>> Newsgroups: typo3.dev >>> To: >>> Sent: Monday, October 17, 2005 10:24 AM >>> Subject: Re: [Typo3-dev] RealURL : high server load and optimization >>> >>> > AFAIK a blob field can not have an index. >>> >>> This is not true, but you need to specify how much of the blob field you >>> want to index. Example: >>> >>> ALTER TABLE `tx_realurl_uniqalias` ADD INDEX value_alias >>> (value_alias(25)) >>> >>> will create an index using 25 characters of the blob field. >>> >>> I would however suggest to make and index using all the fields like this >>> ALTER TABLE `tx_realurl_uniqalias` ADD INDEX mydindexname >>> (value_alias(25),field_alias(25),field_id,tablename) >>> >>> /Jan-Erik >>> >>> >>> _______________________________________________ >>> Typo3-dev mailing list >>> Typo3-dev at lists.netfielders.de >>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev >> >> -- >> - kasper >> >> ----------------- >> Think future, not feature >> _______________________________________________ >> Typo3-dev mailing list >> Typo3-dev at lists.netfielders.de >> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev There is an extension called wizard_crpagetree with which you can generate a lot of pages in one go. Michiel From brikou at gmail.com Mon Oct 17 12:16:31 2005 From: brikou at gmail.com (Brice Bernard) Date: Mon, 17 Oct 2005 12:16:31 +0200 Subject: [Typo3-dev] RealURL : high server load and optimization In-Reply-To: References: Message-ID: Because calculating the 1st hit takes too much time to plan daily update. (The whole browsing takes toot much time). -brice- 2005/10/17, Kasper Sk?rh?j : > If your 2nd page hit takes lots of time and that is served by a reverse proxy, > TYPO3 is never invoked, right? How can realurl slow that down then? > > - kasper > > > > On Monday 17 October 2005 12:04, Brice Bernard wrote: > > I made an extension storing and displaying 350 000 records. It takes > > real long time to display the page but I also use page reverse proxy > > in order to make the 2nd render of the page as fast as static. The > > time taken is caused by RealUrl of course but maybe also because of my > > code neeed improvement. > > > > In order to prepare/calculate the 1st rendering by myself I use > > httrack command to browse all the website (and so generate the cache > > for reverse proxy). I imagine I can clear the cache (http / typo3 and > > realUrl's cache) then run httrack for 24h and count how many pages > > were downloaded then do it again with the your dev version and compare > > these results... > > > > 2005/10/17, Kasper Sk?rh?j : > > > I would be willing to add this index to my dev-version of realurl right > > > away PROVIDED that someone will test it and confirm that the MySQL lookup > > > actually a) uses this index for the mentioned queries and b) speeds up > > > things. > > > > > > - kasper > > > > > > On Monday 17 October 2005 10:35, Jan-Erik Revsbech wrote: > > > > ----- Original Message ----- > > > > From: "Andreas Schwarzkopf" > > > > Newsgroups: typo3.dev > > > > To: > > > > Sent: Monday, October 17, 2005 10:24 AM > > > > Subject: Re: [Typo3-dev] RealURL : high server load and optimization > > > > > > > > > AFAIK a blob field can not have an index. > > > > > > > > This is not true, but you need to specify how much of the blob field > > > > you want to index. Example: > > > > > > > > ALTER TABLE `tx_realurl_uniqalias` ADD INDEX value_alias > > > > (value_alias(25)) > > > > > > > > will create an index using 25 characters of the blob field. > > > > > > > > I would however suggest to make and index using all the fields like > > > > this ALTER TABLE `tx_realurl_uniqalias` ADD INDEX mydindexname > > > > (value_alias(25),field_alias(25),field_id,tablename) > > > > > > > > /Jan-Erik > > > > > > > > > > > > _______________________________________________ > > > > Typo3-dev mailing list > > > > Typo3-dev at lists.netfielders.de > > > > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev > > > > > > -- > > > - kasper > > > > > > ----------------- > > > Think future, not feature > > > _______________________________________________ > > > Typo3-dev mailing list > > > Typo3-dev at lists.netfielders.de > > > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev > > > > _______________________________________________ > > Typo3-dev mailing list > > Typo3-dev at lists.netfielders.de > > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev > > -- > - kasper > > ----------------- > Think future, not feature > _______________________________________________ > Typo3-dev mailing list > Typo3-dev at lists.netfielders.de > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev > From brikou at gmail.com Mon Oct 17 12:17:53 2005 From: brikou at gmail.com (Brice Bernard) Date: Mon, 17 Oct 2005 12:17:53 +0200 Subject: [Typo3-dev] RealURL : high server load and optimization In-Reply-To: References: Message-ID: ...Even wekkly update... 2005/10/17, Brice Bernard : > Because calculating the 1st hit takes too much time to plan daily > update. (The whole browsing takes toot much time). > > -brice- > > 2005/10/17, Kasper Sk?rh?j : > > If your 2nd page hit takes lots of time and that is served by a reverse proxy, > > TYPO3 is never invoked, right? How can realurl slow that down then? > > > > - kasper > > > > > > > > On Monday 17 October 2005 12:04, Brice Bernard wrote: > > > I made an extension storing and displaying 350 000 records. It takes > > > real long time to display the page but I also use page reverse proxy > > > in order to make the 2nd render of the page as fast as static. The > > > time taken is caused by RealUrl of course but maybe also because of my > > > code neeed improvement. > > > > > > In order to prepare/calculate the 1st rendering by myself I use > > > httrack command to browse all the website (and so generate the cache > > > for reverse proxy). I imagine I can clear the cache (http / typo3 and > > > realUrl's cache) then run httrack for 24h and count how many pages > > > were downloaded then do it again with the your dev version and compare > > > these results... > > > > > > 2005/10/17, Kasper Sk?rh?j : > > > > I would be willing to add this index to my dev-version of realurl right > > > > away PROVIDED that someone will test it and confirm that the MySQL lookup > > > > actually a) uses this index for the mentioned queries and b) speeds up > > > > things. > > > > > > > > - kasper > > > > > > > > On Monday 17 October 2005 10:35, Jan-Erik Revsbech wrote: > > > > > ----- Original Message ----- > > > > > From: "Andreas Schwarzkopf" > > > > > Newsgroups: typo3.dev > > > > > To: > > > > > Sent: Monday, October 17, 2005 10:24 AM > > > > > Subject: Re: [Typo3-dev] RealURL : high server load and optimization > > > > > > > > > > > AFAIK a blob field can not have an index. > > > > > > > > > > This is not true, but you need to specify how much of the blob field > > > > > you want to index. Example: > > > > > > > > > > ALTER TABLE `tx_realurl_uniqalias` ADD INDEX value_alias > > > > > (value_alias(25)) > > > > > > > > > > will create an index using 25 characters of the blob field. > > > > > > > > > > I would however suggest to make and index using all the fields like > > > > > this ALTER TABLE `tx_realurl_uniqalias` ADD INDEX mydindexname > > > > > (value_alias(25),field_alias(25),field_id,tablename) > > > > > > > > > > /Jan-Erik > > > > > > > > > > > > > > > _______________________________________________ > > > > > Typo3-dev mailing list > > > > > Typo3-dev at lists.netfielders.de > > > > > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev > > > > > > > > -- > > > > - kasper > > > > > > > > ----------------- > > > > Think future, not feature > > > > _______________________________________________ > > > > Typo3-dev mailing list > > > > Typo3-dev at lists.netfielders.de > > > > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev > > > > > > _______________________________________________ > > > Typo3-dev mailing list > > > Typo3-dev at lists.netfielders.de > > > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev > > > > -- > > - kasper > > > > ----------------- > > Think future, not feature > > _______________________________________________ > > Typo3-dev mailing list > > Typo3-dev at lists.netfielders.de > > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev > > > From typo3 at fx-graefix.de Mon Oct 17 12:47:08 2005 From: typo3 at fx-graefix.de (Franz Koch) Date: Mon, 17 Oct 2005 12:47:08 +0200 Subject: [Typo3-dev] RealURL and DR Wiki - why are anchors not working? In-Reply-To: References: Message-ID: Hi Michael, > I'm using RealURL and DR Wiki and it seems to work - despite the fact > that anchors inside the Wiki aren't working: in general you have to setup for realurl the follwing TS inside your template to get anchors working: -------- config.prefixLocalAnchors = all -------- see TS-Ref for more details -- Franz Koch From wilhelm at icecrash.com Mon Oct 17 13:02:30 2005 From: wilhelm at icecrash.com (Sven Wilhelm) Date: Mon, 17 Oct 2005 13:02:30 +0200 Subject: [Typo3-dev] TYPO3 and native XML Databases Message-ID: Hi, during a project I have to access a native xml database. I implemented the code by accessing the db with xml-rpc in the frontend plugin. Surely it would be much more better to have access through the backend. Has anyone do some experiments with native xml databases in the backend of typo3? As I see at the moment for the db_list module there have to be changed many parts of the core. Are there any plans for a more unified data access api? Kind regards Sven From ike at spamfence.net Mon Oct 17 13:22:19 2005 From: ike at spamfence.net (Michael Vogel) Date: Mon, 17 Oct 2005 13:22:19 +0200 Subject: [Typo3-dev] RealURL and DR Wiki - why are anchors not working? In-Reply-To: References: Message-ID: Franz Koch schrieb: > Hi Michael, > >> I'm using RealURL and DR Wiki and it seems to work - despite the fact >> that anchors inside the Wiki aren't working: > > in general you have to setup for realurl the follwing TS inside your > template to get anchors working: > > -------- > config.prefixLocalAnchors = all I've done that. But its a known error with the Wiki and RealURL: But since this post with the error was one year ago I don't think it will be solved soon. So I want to make it on my own. Michael From mathias.schreiber at wmdb.de Mon Oct 17 13:41:18 2005 From: mathias.schreiber at wmdb.de (Mathias Schreiber [wmdb]) Date: Mon, 17 Oct 2005 13:41:18 +0200 Subject: [Typo3-dev] TYPO3 and native XML Databases In-Reply-To: References: Message-ID: Sven Wilhelm wrote: > during a project I have to access a native xml database. I implemented > the code by accessing the db with xml-rpc in the frontend plugin. What exactely is a "native XML Database"? Sounds like an XML file to me. > Surely it would be much more better to have access through the backend. > > Has anyone do some experiments with native xml databases in the backend > of typo3? > As I see at the moment for the db_list module there have to be changed > many parts of the core. Maybe DBAL offers handling for this > Are there any plans for a more unified data access api? see DBAL -- if ($GLOBALS['TSFE']->fe_user->user['ahnung'] == 0) { $this->fresseHalten = 1; } From wilhelm at icecrash.com Mon Oct 17 13:45:39 2005 From: wilhelm at icecrash.com (Sven Wilhelm) Date: Mon, 17 Oct 2005 13:45:39 +0200 Subject: [Typo3-dev] TYPO3 and native XML Databases In-Reply-To: References: Message-ID: > What exactely is a "native XML Database"? > Sounds like an XML file to me. No it is a little bit more :) In a native xml database you store many xml documents together in so called collections. You can query the database by XPATH or - the more modern one - XQuery. See it like sql requests for xml. > Maybe DBAL offers handling for this not at the moment. From typo3 at rvt.dds.nl Mon Oct 17 15:26:27 2005 From: typo3 at rvt.dds.nl (Ries van Twisk) Date: Mon, 17 Oct 2005 07:26:27 -0600 Subject: [Typo3-dev] RealURL : high server load and optimization In-Reply-To: References: Message-ID: Kasper Sk?rh?j wrote: >I would be willing to add this index to my dev-version of realurl right away >PROVIDED that someone will test it and confirm that the MySQL lookup actually >a) uses this index for the mentioned queries and b) speeds up things. > >- kasper > > > > Me to, I have 1400 pages and on each page I have 1) about 700 pages based on tt_content elements (images and text) 2) the rest of my pages have just one or two plugins which renders part of a page using smarty (instead of tt_content elements). I also experiance slow pages access, but I have that both in the BE aswell as in FE so I wonder if in my case it's really realUrl. I also willing to give a help and test it on my dev and test server. Ries From kasper2005 at typo3.com Mon Oct 17 14:42:52 2005 From: kasper2005 at typo3.com (Kasper =?iso-8859-1?q?Sk=E5rh=F8j?=) Date: Mon, 17 Oct 2005 14:42:52 +0200 Subject: [Typo3-dev] RealURL : high server load and optimization In-Reply-To: References: Message-ID: In my experience people are blaming realurl for all sorts of issues which has nothing to do with realurl but might look like it has. Realurl really just translates URLs, thats all. Of course: - 100000+ records in the alias table might impose problems, yet en/decode caching will solve that generally - Generally, the rendering of links in TYPO3 frontend takes long time (and is of course not made faster with realurl), so if you have plugins showing 20 records and for each record rendering 3 different types of links you have 60 links on the page alone for that list of records and that can be expensive in CPU. - kasper On Monday 17 October 2005 15:26, Ries van Twisk wrote: > Kasper Sk?rh?j wrote: > >I would be willing to add this index to my dev-version of realurl right > > away PROVIDED that someone will test it and confirm that the MySQL lookup > > actually a) uses this index for the mentioned queries and b) speeds up > > things. > > > >- kasper > > Me to, > > I have 1400 pages and on each page I have > 1) about 700 pages based on tt_content elements (images and text) > 2) the rest of my pages have just one or two plugins which renders part > of a page using smarty (instead of tt_content elements). > > I also experiance slow pages access, but I have that both in the BE > aswell as in FE so I wonder > if in my case it's really realUrl. > > I also willing to give a help and test it on my dev and test server. > > Ries > > > > _______________________________________________ > Typo3-dev mailing list > Typo3-dev at lists.netfielders.de > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev -- - kasper ----------------- Think future, not feature From dominic at typo3.org Mon Oct 17 15:11:19 2005 From: dominic at typo3.org (Dominic Brander) Date: Mon, 17 Oct 2005 15:11:19 +0200 Subject: [Typo3-dev] Zap the Gremlins - report them!!!! Message-ID: dear TYPO3 enthusiasts! the zapping team is currently evaluating the reported gremlins. not even 60 gremlins have been reported - and quite a few do not even affect core funtionality but extensions (TV, tt_news, etc.). so this may look like we have an almost perfect system! really? unfortunately this ist surely not the reason for such a little amount of gremlins. maybe it is due to the short reporting period? or some misunderstandings? therefore we would like to prolongate the reporting phase to give you the opportunity to submit more gremlins! *please submit your gremlins until 20.10.05, 23:59* be aware that this is a unique and great chance to get rid of many, many annoyances you always have to fight with when working with TYPO3! if you have any questions or suggestions about the whole project please feel free to ask michael at typo3.org or dominic at typo3.org. many thanks for your valuable contributions! -- dominic ________________________________________________________________________ Dominic Brander Secretary - TYPO3 Association http://association.typo3.org From dan at danfrost.co.uk Mon Oct 17 15:37:42 2005 From: dan at danfrost.co.uk (dan frost) Date: Mon, 17 Oct 2005 14:37:42 +0100 Subject: [Typo3-dev] TYPO3 and native XML Databases In-Reply-To: References: Message-ID: postgres has a patch (or module, or similar - not sure) for this. You can do stuff like e.g. Select from someTable where xpath(myXmlField,"/the/xml/path/to/my/tag"); Pretty nice dan Sven Wilhelm wrote: >> What exactely is a "native XML Database"? >> Sounds like an XML file to me. > > No it is a little bit more :) > In a native xml database you store many xml documents together in so > called collections. You can query the database by XPATH or - the more > modern one - XQuery. See it like sql requests for xml. > >> Maybe DBAL offers handling for this > > not at the moment. From typo3 at fm-world.ru Mon Oct 17 15:40:49 2005 From: typo3 at fm-world.ru (Dmitry Dulepov) Date: Mon, 17 Oct 2005 16:40:49 +0300 Subject: [Typo3-dev] Zap the Gremlins - report them!!!! In-Reply-To: References: Message-ID: Hi! Dominic Brander wrote: > unfortunately this ist surely not the reason for such a little amount of > gremlins. maybe it is due to the short reporting period? or some > misunderstandings? > therefore we would like to prolongate the reporting phase to give you > the opportunity to submit more gremlins! Well, one very annoying Gremlin is that non-admin users do not have ability to clear cache easily. They have to do it using combox at the place, which I never could remember :) It would be much better if this option is configured through user TS setup. One more thing is related to kickstarter. For unknown reason it always generates files and code for CSS editor. I always delete them immediately after extension is written to disk :) This should be an option in kickstarter. Dmitry. From typo3 at fm-world.ru Mon Oct 17 15:41:54 2005 From: typo3 at fm-world.ru (Dmitry Dulepov) Date: Mon, 17 Oct 2005 16:41:54 +0300 Subject: [Typo3-dev] RealURL : high server load and optimization In-Reply-To: References: Message-ID: Hi! Ries van Twisk wrote: > I also experiance slow pages access, but I have that both in the BE > aswell as in FE so I wonder > if in my case it's really realUrl. Try mmcache/eaccelerator and see if it helps :) Dmitry. From sebastian at garbage-group.de Mon Oct 17 15:57:55 2005 From: sebastian at garbage-group.de (Sebastian Kurfuerst) Date: Mon, 17 Oct 2005 15:57:55 +0200 Subject: [Typo3-dev] Zap the Gremlins - report them!!!! In-Reply-To: References: Message-ID: Hi Dimitry, please add these gremlins on http://typo3.org/development/projects/zap-the-gremlins/submit-a-gremlin/ . Thanks for your help & greets, Sebastian Am Montag, den 17.10.2005, 16:40 +0300 schrieb Dmitry Dulepov: > Hi! > > Dominic Brander wrote: > > unfortunately this ist surely not the reason for such a little amount of > > gremlins. maybe it is due to the short reporting period? or some > > misunderstandings? > > therefore we would like to prolongate the reporting phase to give you > > the opportunity to submit more gremlins! > > Well, one very annoying Gremlin is that non-admin users do not have > ability to clear cache easily. They have to do it using combox at the > place, which I never could remember :) It would be much better if this > option is configured through user TS setup. > > One more thing is related to kickstarter. For unknown reason it always > generates files and code for CSS editor. I always delete them > immediately after extension is written to disk :) This should be an > option in kickstarter. > > Dmitry. From triphot69 at hotmail.com Mon Oct 17 16:16:26 2005 From: triphot69 at hotmail.com (Jean-Baptiste Rio) Date: Mon, 17 Oct 2005 16:16:26 +0200 Subject: [Typo3-dev] RealURL : high server load and optimization In-Reply-To: References: Message-ID: I know that it's not the answer you're waiting for but, why don't you use simulateStatic core functions ? I use simulateStatic core functions + cHash + md5 encryption + caching and i have no problem at all (nearly 2500 pages on my site + one forum on a single server - AMD64-3000 1Go - , 300 000 visitors per month, 1million pages read per month). Each typo3 page takes about 400ms to be produced when cached and about 3s when non cached. Just M2P Jean-Baptiste From triphot69 at hotmail.com Mon Oct 17 16:48:12 2005 From: triphot69 at hotmail.com (Jean-Baptiste Rio) Date: Mon, 17 Oct 2005 16:48:12 +0200 Subject: [Typo3-dev] Make configuration simple In-Reply-To: References: Message-ID: Maybe we can dream to have TS workflows for beginner. It will be a set of screens helping people to produce typoscript based on questions/answers. Example Menu : Whole Menu ********** What sort of menu do you want ? static/dynamic(ie TMENU_LAYERS)/rootline How many levels ? 1/2/3/4/5/6 The position is ? horizontal/vertical What is the number of your starting page ? What is the name of the object in TV ? ... Level 1 (repeated for each level) ******* Linkable ? Yes / No What compose your menu level ? Text / Image Create a whole div around the menu and sublevels ? Yes / No Is there a specific effect when the menu is active ? Yes / No Is there an image before ? Yes / No ... It could have the goal to cover not all the cases but the classic ones and help people to start "Think Typoscript". TV is a very good example of what i have in mind : it produces the XML flexform structure BUT if you need simple things (maybe only the simpliest things ;)) you don't have to know the XML syntax and semantic. Hope it may helps, Jean-Baptiste From typo3 at rvt.dds.nl Mon Oct 17 17:50:09 2005 From: typo3 at rvt.dds.nl (Ries van Twisk) Date: Mon, 17 Oct 2005 09:50:09 -0600 Subject: [Typo3-dev] RealURL : high server load and optimization In-Reply-To: References: Message-ID: Dmitry Dulepov wrote: >Hi! > > > >>y case it's really realUrl. >> >> > >Try mmcache/eaccelerator and see if it helps :) > >Dmitry. > > eaccelerator helps a lot indeed, aswell as tuning mysql especially turning on the query cache. But this is about realUrl and I want to help to see if these change can help speeding up a site, any site.. Ries From peter.kindstrom at abc.se Mon Oct 17 17:59:59 2005 From: peter.kindstrom at abc.se (=?ISO-8859-1?Q?Peter_Kindstr=F6m?=) Date: Mon, 17 Oct 2005 17:59:59 +0200 Subject: [Typo3-dev] Make configuration simple In-Reply-To: References: Message-ID: Hi Franz, > if I find the time to do it and if more people think that it is a good > idea, I'll add it to the bugtracker. But I've never worked with a wiki, > so this might take longer there :) I think the idea is great! Maybe not easy to implement, but it feels like users could benefit a lot! > In bed I had another "idea". The "web"-module is also some kind of > confusing - it should be named something like "content" because every > submodule is related to the content (pages are also some kind of > content). May it be access-restrictions _for_, informations _about_, > functions to _work with_, _rearrange_ or simply different _views_ of the > content. Everything is about content. I have another idea! I got it from the CMS we use at work (not technically as good as Typo3, but definitely better looking) The BE should look/behave more like TemplaVoila: 1. When you want to work with a page, choose Web / Page / [page] 2. Now you choose what to do with the page by clicking on tabs: Content | Properties | Access | List | Version | -> View | Info | Template | etc And accordingly, many submodules in the Web module could be removed. We could also "clean up" the leftclick menu, Edit page header, Visibility settings and Info could be removed from it. And Move should be moved "up" from the More options... submenu. All this give editors a more intuitive way of working and it also gives us more space in the leftmost frame (for plugins?) because the above modules should be removed from there. My 2 cents! /Peter Kindstr?m From d.principi at nospamme.provincia.ps.it Mon Oct 17 18:14:31 2005 From: d.principi at nospamme.provincia.ps.it (Davide Principi) Date: Mon, 17 Oct 2005 18:14:31 +0200 Subject: [Typo3-dev] Where is my "addRootLineFields" field? Message-ID: Hi all, I need an help. I'm trying to read a field from the rootline-array using getRootLine(), added on "addRootLineFields" in my ext_tables.php. The rootline I want to scan is not the "current" one, so I make another instance of pageselect in this way: $sys_page = t3lib_div::makeInstance('t3lib_pageSelect'); $sys_page->init(true); $rootline = $sys_page->getRootLine($page_id); foreach($rootline as $item) { if($item['my_field'] > 0) { return $item['my_field']; } } ...where $page_id is the arbitrary page uid. Note that the current page uses cHash, so different versions of the page are possible. It works the FIRST time Typo3 generates the page and store it in the cache: my_field is present and the function returns the value. But on next request it seems there is not "addRootLineFields" at all. There is a side effect on the cached version of the page. Seems GLOBALS are not available as on the first time. Any suggestion? Thank you in advance, --Davide Principi (dabba) From typo3 at ingo-renner.com Mon Oct 17 20:22:00 2005 From: typo3 at ingo-renner.com (Ingo Renner) Date: Mon, 17 Oct 2005 20:22:00 +0200 Subject: [Typo3-dev] Make configuration simple References: Message-ID: Am Mon, 17 Oct 2005 11:32:28 +0200 schrieb Martin Kutschker: > Survey: are there any DTD cracks around? Writing DTDs is IMHO not so > easy, if you want to do it right. > > But why use DTD anyway, shouldn't the future belong to XML schema? compared to writing schema writing a DTD is realy simple... Ingo -- Use a newsreader! Check out http://typo3.org/community/mailing-lists/use-a-news-reader/ From christoph.koehler at gmail.com Mon Oct 17 20:36:52 2005 From: christoph.koehler at gmail.com (Christoph Koehler) Date: Mon, 17 Oct 2005 13:36:52 -0500 Subject: [Typo3-dev] Make configuration simple References: Message-ID: Hello, On Mon, 17 Oct 2005 10:59:59 -0500, Peter Kindstr?m wrote: > I have another idea! I got it from the CMS we use at work (not > technically as good as Typo3, but definitely better looking) > The BE should look/behave more like TemplaVoila: > 1. When you want to work with a page, choose Web / Page / [page] > 2. Now you choose what to do with the page by clicking on tabs: > Content | Properties | Access | List | Version | -> > View | Info | Template | etc Not too bad, but I like for example how I can see all access settings for my whole page tree when I go to Web -> Access. This could be a nice additional option. Christoph From elmar.hinz at vcd-berlin.de Mon Oct 17 20:45:27 2005 From: elmar.hinz at vcd-berlin.de (Elmar Hinz) Date: Mon, 17 Oct 2005 20:45:27 +0200 Subject: [Typo3-dev] Make configuration simple In-Reply-To: References: Message-ID: Kasper Sk?rh?j wrote: > Hi Guys, > > My repeating frustration when thinking about redesigning any part of TYPO3 is > that I honestly fear I will not be able to hit the mark, because what IS the > mark? > > What is the perfect solution that is > - easy, > - standards based, > - works out of the box, > - Fool-proof (validatable) > - solves all usability problems, > - allows deep configuration without tons of complexity > - etc. > > I would love to produce this for the TYPO3 community, but if we cannot make a > clear definition of how this model looks with a 99% guarantee that it will > work and solve the problems for all of us, then I will not start it. > Especially; if we just change things so one group is now happy while another > will be frustrated, then we did nothing but re-distribute the criticism. I'm > not wasting time on that. > > - kasper > Now discussion about XML and typoscript is on the old trak again and goes in cycles. With my excurs from today comparing xml and typoscript with focus on validation and contexts I wanted to clear especially the following 2 questions: 1.) It is realistic that we can programm validating/semantics check for typoscript one day? 2.) If this target seems to be unrealistic, what follows of this? Regards Elmar -- Climate change 2005: Guatemala, New Orleans, Sahel, Bangladesh, Spain, Portugal, Austria, Swiss, France, ... Production of CO2 is killing people. Production of CO2 just for fun is killing people just for fun. From typo3 at rvt.dds.nl Mon Oct 17 21:59:05 2005 From: typo3 at rvt.dds.nl (Ries van Twisk) Date: Mon, 17 Oct 2005 13:59:05 -0600 Subject: [Typo3-dev] RealURL : high server load and optimization In-Reply-To: References: Message-ID: Hey List, I added a few indexes: I added these indexes to `tx_realurl_pathcache` ALTER TABLE `tx_realurl_pathcache` ADD INDEX `pidlangrootexp` ( `page_id` , `language_id` , `rootpage_id` , `expire` ) ; ALTER TABLE `tx_realurl_pathcache` ADD INDEX `hashroot` ( `hash` , `rootpage_id` ) ; The index will be used for these query (taken from the source). EXPLAIN SELECT pagepath FROM tx_realurl_pathcache WHERE page_id =86 AND language_id =0 AND rootpage_id AND expire =0 1 SIMPLE tx_realurl_pathcache ref page_id,pidlangrootexp page_id 4 const 1 Using where I noticed while doing that that the average retreival of cached pages actually goes up by about 10%-20%, this was done on my live server so they values are not acurate. I did the same for the pages table: ALTER TABLE `pages` ADD INDEX `piddeldok` ( `pid` , `deleted` , `doktype` ) ALTER TABLE `pages` ADD INDEX `uiddeldok` ( `uid` , `deleted` , `doktype` ) By doing this pages retreival time didn't went go down with about 10-20% aswell Same for pages overlay: ALTER TABLE `pages_language_overlay` ADD INDEX `ipid` ( `pid` ) I don't find anything here because I don't do languages :) All in all my site IS faster now which is great... The above let me think this: I am currently writing a little BE module that hooks into one of the *SELECT* functions in class.t3lib_db.php I am going to log all select to the DB and see what 'where' clauses are used mostly and doign index optimalisations based on these statistics... any thought about that? cheers, Ries >Dmitry Dulepov wrote: > > > >>Hi! >> >> >> >> >> >>>y case it's really realUrl. >>> >>> >>> >>> >>Try mmcache/eaccelerator and see if it helps :) >> >>Dmitry. >> >> >> >> >eaccelerator helps a lot indeed, aswell as tuning mysql >especially turning on the query cache. > >But this is about realUrl and I want to help to see if these change >can help speeding up a site, any site.. > > >Ries >_______________________________________________ >Typo3-dev mailing list >Typo3-dev at lists.netfielders.de >http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev > > From jer at moccompany.com Mon Oct 17 21:10:06 2005 From: jer at moccompany.com (Jan-Erik Revsbech) Date: Mon, 17 Oct 2005 21:10:06 +0200 Subject: [Typo3-dev] RealURL : high server load and optimization References: Message-ID: > I am currently writing a little BE module that hooks into one of the > *SELECT* functions in class.t3lib_db.php > I am going to log all select to the DB and see what 'where' clauses > are used mostly and doign index optimalisations > based on these statistics... > > any thought about that? > You could also just turn on the slow queries log in MySQL, it has an option to log all queries which are not using an index. I have done what you suggest above (making DBAL log queires which run slowly) and generelly find that TYPO3 is well optimized in most cases (there are some exceptions, but mostly with extension). One (as I see it) big problem is the comma seperated list, which are not easyly indexed. Having 20.000+ be_users nested into groups make a *lot* of slow queries due to the comma list used to associate groups with their parent group. There is really something to gain here, but only if you have many be_users. As I understand the patch for 4.0 which enables nested fe_groups also uses comma lists, which might affect large sites with nested groups. > > cheers, > Ries /Jan-Erik From typo3 at rvt.dds.nl Mon Oct 17 22:26:53 2005 From: typo3 at rvt.dds.nl (Ries van Twisk) Date: Mon, 17 Oct 2005 14:26:53 -0600 Subject: [Typo3-dev] RealURL : high server load and optimization In-Reply-To: References: Message-ID: Jan-Erik Revsbech wrote: >>I am currently writing a little BE module that hooks into one of the >>*SELECT* functions in class.t3lib_db.php >>I am going to log all select to the DB and see what 'where' clauses >>are used mostly and doign index optimalisations >>based on these statistics... >> >>any thought about that? >> >> >> > >You could also just turn on the slow queries log in MySQL, it has an option >to log all queries which are not using an index. > >I have done what you suggest above (making DBAL log queires which run >slowly) and generelly find that TYPO3 is well optimized in most cases (there >are some exceptions, but mostly with extension). One (as I see it) big >problem is the comma seperated list, which are not easyly indexed. Having >20.000+ be_users nested into groups make a *lot* of slow queries due to the >comma list used to associate groups with their parent group. There is really >something to gain here, but only if you have many be_users. As I understand >the patch for 4.0 which enables nested fe_groups also uses comma lists, >which might affect large sites with nested groups. > > > Jan, any change to share the code? I don't know to much about logging slow queries on mysql but as far as I know the 4.1 version only log's queries that are slow (in time) which renders that function useless. Since I don't have mysql 5.x installed I cannot see queries that don't use indexes... properly you have? Still, I am really curious about it and see if we can optimze the indexes afterall, it's not only typo3 core but also all extentions that needs some tuning... Ries From jer at moccompany.com Mon Oct 17 21:36:58 2005 From: jer at moccompany.com (Jan-Erik Revsbech) Date: Mon, 17 Oct 2005 21:36:58 +0200 Subject: [Typo3-dev] RealURL : high server load and optimization References: Message-ID: No problem in sharing the code, its kind of infiltrated with a lot of other code, but I guess I can use an hour to write a small extension that does just that. Let me know if this is something I should do. Try to use the --log-queries-not-using-indexes and --log-long-format in Mysql version prior to 5.0 (Which by default log queries not using an index). That shoud fill the slow query with queries not using and inde. /Jan-Erik ----- Original Message ----- From: "Ries van Twisk" To: "List for Core-/Extension development" Sent: Monday, October 17, 2005 10:26 PM Subject: Re: [Typo3-dev] RealURL : high server load and optimization > Jan-Erik Revsbech wrote: > >>>I am currently writing a little BE module that hooks into one of the >>>*SELECT* functions in class.t3lib_db.php >>>I am going to log all select to the DB and see what 'where' clauses >>>are used mostly and doign index optimalisations >>>based on these statistics... >>> >>>any thought about that? >>> >>> >>> >> >>You could also just turn on the slow queries log in MySQL, it has an >>option >>to log all queries which are not using an index. >> >>I have done what you suggest above (making DBAL log queires which run >>slowly) and generelly find that TYPO3 is well optimized in most cases >>(there >>are some exceptions, but mostly with extension). One (as I see it) big >>problem is the comma seperated list, which are not easyly indexed. Having >>20.000+ be_users nested into groups make a *lot* of slow queries due to >>the >>comma list used to associate groups with their parent group. There is >>really >>something to gain here, but only if you have many be_users. As I >>understand >>the patch for 4.0 which enables nested fe_groups also uses comma lists, >>which might affect large sites with nested groups. >> >> >> > Jan, > > any change to share the code? > I don't know to much about logging slow queries on mysql but as far as > I know the 4.1 version only log's queries that are slow (in time) which > renders that function useless. > > Since I don't have mysql 5.x installed I cannot see queries that don't > use indexes... properly you have? > > Still, > I am really curious about it and see if we can optimze the indexes > afterall, it's not only typo3 core but also all > extentions that needs some tuning... > > Ries > > > > > _______________________________________________ > Typo3-dev mailing list > Typo3-dev at lists.netfielders.de > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev From ben at netcreators.nl Mon Oct 17 23:25:02 2005 From: ben at netcreators.nl (ben van 't ende [netcreators]) Date: Mon, 17 Oct 2005 23:25:02 +0200 Subject: [Typo3-dev] templates for realurl config Message-ID: Hi Guys, At the moment you have to put the realurl config in localconf or at least that is what i do. My collegae already suggested to use includes. Wouldn't it be a good idea if you could use some special template type for storing that info in. I have some problems in dealing with the configuration as it is now. Having separate templates would also give authors the possibility to add some default config. I feel it has some advantages to include that as records in the backend. Is this a good idea? gRTz ben -- netcreators::creation and innovation www.netcreators.nl - www.typo3.nl From arnsholt at broadpark.no Tue Oct 18 00:32:36 2005 From: arnsholt at broadpark.no (Arne Skjaerholt) Date: Tue, 18 Oct 2005 00:32:36 +0200 Subject: [Typo3-dev] Make configuration simple In-Reply-To: References: Message-ID: My two cents on your two issues: > 1.) It is realistic that we can programm validating/semantics check for > typoscript one day? No. Writing a language interpreter is a complex and time-consuming job (just look at how long people have been developing stuff like perl, php and python). Furthermore, it really is a job that belongs in a lower level than an interpreted language, and is usually implemented in C. In theory this can be done with PHP as well through the dl family of functions, but in practice this is impossible as dlopen and friends are disabled in safe mode, and as such in pretty much every webhost imaginable. > 2.) If this target seems to be unrealistic, what follows of this? That depends. If you want semantics-checking on your configuration data, you might want to consider an existing option like XML or YAML. If semantic validity is of no concern, the existing design works. Arne :wq From elmar.hinz at vcd-berlin.de Tue Oct 18 00:16:40 2005 From: elmar.hinz at vcd-berlin.de (Elmar Hinz) Date: Tue, 18 Oct 2005 00:16:40 +0200 Subject: [Typo3-dev] Zap the Gremlins - report them!!!! In-Reply-To: References: Message-ID: Dominic Brander wrote: > dear TYPO3 enthusiasts! > > the zapping team is currently evaluating the reported gremlins. > not even 60 gremlins have been reported - and quite a few do not even > affect core funtionality but extensions (TV, tt_news, etc.). > so this may look like we have an almost perfect system! In the bugtracker you can find some hundreds of them for the core. Lots of them in the state of new since months. ;-) To be fair, I know you want to get the ultimative selection of the most nerving gremlins. Elmar -- Climate change 2005: Guatemala, New Orleans, Sahel, Bangladesh, Spain, Portugal, Austria, Swiss, France, ... Production of CO2 is killing people. Production of CO2 just for fun is killing people just for fun. From robert at typo3.org Tue Oct 18 07:18:40 2005 From: robert at typo3.org (Robert Lemke) Date: Tue, 18 Oct 2005 07:18:40 +0200 Subject: [Typo3-dev] templates for realurl config References: Message-ID: Hi Ben, ben van 't ende [netcreators] wrote: > At the moment you have to put the realurl config in localconf or at > least that is what i do. My collegae already suggested to use includes. > Wouldn't it be a good idea if you could use some special template type > for storing that info in. I have some problems in dealing with the > configuration as it is now. Having separate templates would also give > authors the possibility to add some default config. I feel it has some > advantages to include that as records in the backend. > > Is this a good idea? yes, I also experimented with it the last weeks. However, there might be some special cases we need to solve: In my case I need to add a certain configuration for all pages where a frontend plugin ter_fe_pi1 is installed. At the point when localconf.php (or ext_localconf.php) is executed, there's no database connection yet. And we cannot just create one because DBAL might not yet be configured. Without knowing really the internals of RealURL I therefore suggest to move the configuration from the localconf.php to a RealURL specific location which is parsed directly from RealURL when a DB connection already exists. Kasper, you have been working on RealURL recently - is it likely that you get back to it (maybe after finishing workspaces) to work on such a solution? Cheers, robert PS: Tuesday, 7 a.m. - working on TER2 ;-) -- Robert Lemke TYPO3 Association - Research & Development Member of the board http://association.typo3.org From mathias.schreiber at wmdb.de Tue Oct 18 08:11:56 2005 From: mathias.schreiber at wmdb.de (Mathias Schreiber [wmdb]) Date: Tue, 18 Oct 2005 08:11:56 +0200 Subject: [Typo3-dev] Make configuration simple In-Reply-To: References: Message-ID: Elmar Hinz wrote: > Now discussion about XML and typoscript is on the old trak again and > goes in cycles. jep. > With my excurs from today comparing xml and typoscript with focus on > validation and contexts I wanted to clear especially the following 2 > questions: > > 1.) It is realistic that we can programm validating/semantics check for > typoscript one day? No. Question: Why would we want to? -- if ($GLOBALS['TSFE']->fe_user->user['ahnung'] == 0) { $this->fresseHalten = 1; } From bedlamhotel at gmail.com Tue Oct 18 08:32:53 2005 From: bedlamhotel at gmail.com (Christopher) Date: Mon, 17 Oct 2005 23:32:53 -0700 Subject: [Typo3-dev] Make configuration simple In-Reply-To: References: Message-ID: On 17/10/05, Mathias Schreiber [wmdb] wrote: > Elmar Hinz wrote: > > Now discussion about XML and typoscript is on the old trak again and > > goes in cycles. > > jep. > > > With my excurs from today comparing xml and typoscript with focus on > > validation and contexts I wanted to clear especially the following 2 > > questions: > > > > 1.) It is realistic that we can programm validating/semantics check for > > typoscript one day? > > No. > Question: Why would we want to? Answer: for the same reasons it's desirable and useful for x/ht/xht/ml -- as an aid to learning, coding with and extending the system. Amplification: I expect that TS (or whatever configuration system) is likely to grow -- there's certainly a lot more stuff in my current copy of the TSref than there was in the first one I printed out. Familiarity with the TSref can give one a firm grasp of TS, but mistakes still happen and are not always trivially discoverable (and, I submit, the greater the complexity of the system, the easier it becomes to make errors). Compare this to html (admittedly simpler since it involves no _behaviour_) where a pass through a validator provides a more or less definitive list of problems. Also, formally defined syntax and grammar would help to prevent inconsistencies such as the way stdWrap is implemented differently on otherwise almost identical TEXT and HTML objects... -Christopher From Martin.Kutschker at n0spam-blackbox.net Tue Oct 18 09:27:02 2005 From: Martin.Kutschker at n0spam-blackbox.net (Martin Kutschker) Date: Tue, 18 Oct 2005 09:27:02 +0200 Subject: [Typo3-dev] TYPO3 and native XML Databases In-Reply-To: References: Message-ID: dan frost schrieb: > postgres has a patch (or module, or similar - not sure) for this. > > You can do stuff like e.g. > > Select from someTable where xpath(myXmlField,"/the/xml/path/to/my/tag"); Oracle (and possibly others) have that too. But that are "only" XML-extensions of SQL-DBs. I imagine that I have a true XML-DB I have a) no tables to select from and b) no SQL at all. Perhaps it's possible with DBAL to do some "table-to-realdatastorageentity-mapping" with pseudo-SQL like the PostgreSQL/Oracle-syntax you mentioned. Masi From Martin.Kutschker at n0spam-blackbox.net Tue Oct 18 09:33:10 2005 From: Martin.Kutschker at n0spam-blackbox.net (Martin Kutschker) Date: Tue, 18 Oct 2005 09:33:10 +0200 Subject: [Typo3-dev] RealURL : high server load and optimization In-Reply-To: References: Message-ID: Ries van Twisk schrieb: > Dmitry Dulepov wrote: > eaccelerator helps a lot indeed, aswell as tuning mysql especially > turning on the query cache. > > But this is about realUrl and I want to help to see if these change can > help speeding up a site, any site.. Of course the application should use system resources wisely, but you cannot make an ill-tuned server run fast. It's in the resoponsibility of the admins to tune OS, DB and the http server. Running a server with high-load is still not fool proof. This is not TYPO3's fault. And think it's not TYPO3's problem. Masi From Martin.Kutschker at n0spam-blackbox.net Tue Oct 18 09:34:37 2005 From: Martin.Kutschker at n0spam-blackbox.net (Martin Kutschker) Date: Tue, 18 Oct 2005 09:34:37 +0200 Subject: [Typo3-dev] RealURL : high server load and optimization In-Reply-To: References: Message-ID: Ries van Twisk schrieb: > > I am currently writing a little BE module that hooks into one of the > *SELECT* functions in class.t3lib_db.php > I am going to log all select to the DB and see what 'where' clauses > are used mostly and doign index optimalisations > based on these statistics... > > any thought about that? Great! Masi From Martin.Kutschker at n0spam-blackbox.net Tue Oct 18 09:36:10 2005 From: Martin.Kutschker at n0spam-blackbox.net (Martin Kutschker) Date: Tue, 18 Oct 2005 09:36:10 +0200 Subject: [Typo3-dev] RealURL : high server load and optimization In-Reply-To: References: Message-ID: Jan-Erik Revsbech schrieb: > No problem in sharing the code, its kind of infiltrated with a lot of > other code, but I guess I can use an hour to write a small extension > that does just that. Let me know if this is something I should do. Please do so. Masi From ao-lists at php4win.de Tue Oct 18 10:09:40 2005 From: ao-lists at php4win.de (Andreas Otto) Date: Tue, 18 Oct 2005 10:09:40 +0200 Subject: [Typo3-dev] Survey / question: who uses UML tools + code generation References: Message-ID: Hi Dan, On Sonntag 16 Oktober 2005 19:02, dan frost wrote in typo3.dev: > Does anyone use UML tools and / or code generation > for PHP? I am using Umbrello[1] which is capable of producing PHP5 and PHP4 output. The problem with XMI seems to be that each program is using a different scheme so that it is not easy to port XMI files to another UML program. [1]: Cheers, Andreas -- Avoid unnecessary branches. - The Elements of Programming Style (Kernighan & Plaugher) From wilhelm at icecrash.com Tue Oct 18 14:23:13 2005 From: wilhelm at icecrash.com (Sven Wilhelm) Date: Tue, 18 Oct 2005 14:23:13 +0200 Subject: [Typo3-dev] TYPO3 and native XML Databases In-Reply-To: References: Message-ID: Hi, > Oracle (and possibly others) have that too. > But that are "only" XML-extensions of SQL-DBs. such a mapping from dom-nodes to sql records is possible with every database and lacks at the performance. It's not a really nice way of storing xml documents, it's a poor solution. > I imagine that I have a true XML-DB I have a) no tables to select from > and b) no SQL at all. You have XML Documents in so called Collections (see it like directories). With XQuery you have a specialed Query Language. > Perhaps it's possible with DBAL to do some > "table-to-realdatastorageentity-mapping" with pseudo-SQL like the > PostgreSQL/Oracle-syntax you mentioned. That is a poor solution too. And it will have a bad performance. To have a solution the complete Database Abstract Layer would need a much more open architecture and a more open view. That would be a generalized data access component :) something like a virtual filesystem with modules for different types of connections (sql, dav, xml-rpc, http,...) Bad news, the MySQL part would also follow this restrictions and looses some performance. Sven From rrenfro at ilovehtml.net Tue Oct 18 15:42:30 2005 From: rrenfro at ilovehtml.net (Ronald Renfro) Date: Tue, 18 Oct 2005 15:42:30 +0200 Subject: [Typo3-dev] standard header in ext Message-ID: hello list, 1) I would like to render a header from inside my frontend extension and would like to use the user preconfigured header type 1-5. how and where can I retrieve the current values for lib.stdHeader from an extension? 2) Is it possible to skip/omit the rendering of the plugins title field? thanks and have a nice day Ronald Renfro From kuhn at punkt.de Tue Oct 18 16:09:32 2005 From: kuhn at punkt.de (Rainer Kuhn) Date: Tue, 18 Oct 2005 16:09:32 +0200 Subject: [Typo3-dev] Survey / question: who uses UML tools + code generation In-Reply-To: References: Message-ID: dan frost wrote: > Does anyone use UML tools and / or code generation > for PHP? Hi Dan, I'm playing around with Sparx Systems' "Enterprise Architect" currently. This tool is capable of UML modelling and PHP4/PHP5 code generation. Besides my impression that the UML modelling is a bit awkward and involved (but I did not compare to other tools yet), a disadvantage of Enterprise Architect is that it is not freeware and Windows only (AFAIK). It saves its projects in proprietary .EAP files. Cheers, Rainer From peter.kindstrom at abc.se Tue Oct 18 18:39:53 2005 From: peter.kindstrom at abc.se (=?ISO-8859-15?Q?Peter_Kindstr=F6m?=) Date: Tue, 18 Oct 2005 18:39:53 +0200 Subject: [Typo3-dev] Make configuration simple In-Reply-To: References: Message-ID: Hi, >> I have another idea! I got it from the CMS we use at work (not >> technically as good as Typo3, but definitely better looking) >> The BE should look/behave more like TemplaVoila: >> 1. When you want to work with a page, choose Web / Page / [page] >> 2. Now you choose what to do with the page by clicking on tabs: >> Content | Properties | Access | List | Version | -> >> View | Info | Template | etc > > Not too bad, but I like for example how I can see all access settings > for my whole page tree when I go to Web -> Access. This could be a > nice additional option. Maybe we can use "Visibility" as a tab and let Access be left in the module frame? Anyway, this is just an idea that has to be polished a bit. I guess it is not as easy to implement as it first looks? ;-) Anyone know where I should put this suggestion? I guess it should be considered for the 4.5 or 5.0 version of Typo3. Here you have a "screenshot": http://www.infolagret.se/index.php?id=254 /Peter Kindstr?m From dan at danfrost.co.uk Tue Oct 18 18:59:36 2005 From: dan at danfrost.co.uk (dan frost) Date: Tue, 18 Oct 2005 17:59:36 +0100 Subject: [Typo3-dev] Make configuration simple In-Reply-To: References: Message-ID: IMH-Knowledge... this is what TYPO3 needs. If not XML+DTD then a similar thing > > and IMHO a BIIIIG plus --> XML+DTD does not only unravel unused or made-up fields but it offers the editing tools (= backend GUI) the possibility to _LIST the available fields!!_ This means - no digging in TSref anymore as the user can clearly see what fields in the > current context are allowed! And even better - chances for a click'n'run backend just like the current Template Constants editor but on a defined language (XML) > > just my 0,02 ? > > > From dan at danfrost.co.uk Tue Oct 18 19:04:21 2005 From: dan at danfrost.co.uk (dan frost) Date: Tue, 18 Oct 2005 18:04:21 +0100 Subject: [Typo3-dev] Make configuration simple In-Reply-To: References: Message-ID: > I would NEVER trade ease of use for performance. XML will produce overhead. Just a quick one - it won't always be more overhead. For a config situation like my.config.does.something.like = this (or in XML: this... ... ) Now, a common thing in PHP arrays is to do a foreach / while / etc. Using xpath all the foreach-ing is done at the (compiled and faster) C / c++ level. I don't think XML will produce a huge overhead I quite a lot of cases. dan From christoph.koehler at gmail.com Tue Oct 18 19:16:09 2005 From: christoph.koehler at gmail.com (Christoph Koehler) Date: Tue, 18 Oct 2005 12:16:09 -0500 Subject: [Typo3-dev] Make configuration simple References: Message-ID: I like your screenshot, and I agree with the right-click menu. Looks good! I do like the idea of seeing a certain setting for the whole page tree, like access, and maybe even visibility. I don't know. I have been staring at the screenshot and can't decide which way I like it best... Christoph On Tue, 18 Oct 2005 11:39:53 -0500, Peter Kindstr?m wrote: > Maybe we can use "Visibility" as a tab and let Access be left in > the module frame? > > Anyway, this is just an idea that has to be polished a bit. I > guess it is not as easy to implement as it first looks? ;-) > > Anyone know where I should put this suggestion? I guess it > should be considered for the 4.5 or 5.0 version of Typo3. > > Here you have a "screenshot": > http://www.infolagret.se/index.php?id=254 > > > /Peter Kindstr?m From peter.kindstrom at abc.se Tue Oct 18 19:18:22 2005 From: peter.kindstrom at abc.se (=?ISO-8859-1?Q?Peter_Kindstr=F6m?=) Date: Tue, 18 Oct 2005 19:18:22 +0200 Subject: [Typo3-dev] [Typo3-doc] New documentation maintainer? Message-ID: Hi all, I have decided not to work with Typo3 documentation anymore. At least not for the community. My work so far has been to structure the wiki and remove all spam from wiki pages on a daily basis. I also have management access to the bugtracker Documentation project. *Now it would be nice if someone is interested in taking over these tasks? Anyone?* ---- If someone is interested in working together with me in making Typo3 documentation more useful and easier to use for newbies, please contact me in private. I have not given up the idea of an "official Typo3 documentation", but I have realised that I have to do it on my own... /Peter Kindstr?m From news at monosock.org Tue Oct 18 19:18:33 2005 From: news at monosock.org (Michiel Roos) Date: Tue, 18 Oct 2005 17:18:33 +0000 Subject: [Typo3-dev] 3.8 Login Page doesn't work on Firefox Beta2 References: Message-ID: On Fri, 14 Oct 2005 08:42:12 +0000, Jonas D?bi wrote: > > Hi > > Has someone else already expired the problem, that Firefox Beta 2 shows > a blanc page if you open any 3.8 Login? > 3.7 login works, just 3.8 doesn't... > > I'v no idea why, because there are no errors, just a blanc page... > > I don't know who's faster solving this problem, the firefox or the typo3 > team :-D > Greets Jonas Sometimes it only works for me if I manually type /index.php. I will check if this is listed as a bug and else post one. Cheers, Michiel From prouwens at infoglobe.ca Tue Oct 18 19:22:43 2005 From: prouwens at infoglobe.ca (Pierre Rouwens) Date: Tue, 18 Oct 2005 13:22:43 -0400 Subject: [Typo3-dev] [Typo3-doc] New documentation maintainer? In-Reply-To: References: Message-ID: Peter Kindstr?m wrote: > Hi all, > I have decided not to work with Typo3 documentation anymore. At > least not for the community. > > My work so far has been to structure the wiki and remove all > spam from wiki pages on a daily basis. I also have management > access to the bugtracker Documentation project. > > *Now it would be nice if someone is interested in taking over > these tasks? Anyone?* > > ---- > > If someone is interested in working together with me in making > Typo3 documentation more useful and easier to use for newbies, > please contact me in private. I have not given up the idea of an > "official Typo3 documentation", but I have realised that I have > to do it on my own... > > > /Peter Kindstr?m Hi Peter, If nobody more experimented than me don't wanna, i can take it over... In this case contact me by private email. Pierre QC,CA From peter.kindstrom at abc.se Tue Oct 18 19:33:22 2005 From: peter.kindstrom at abc.se (=?UTF-8?B?UGV0ZXIgS2luZHN0csO2bQ==?=) Date: Tue, 18 Oct 2005 19:33:22 +0200 Subject: [Typo3-dev] Make configuration simple In-Reply-To: References: Message-ID: Hi Christoph, > I do like the idea of seeing a certain setting for the whole page tree, > like access, and maybe even visibility. > I don't know. I have been staring at the screenshot and can't decide > which way I like it best... I know what you mean... but we can?t have both. Or can we??? When I have to choose, I see that I more often work with many things on the same page than work with one thing on many pages. And I also think that editors have even more use for my idea because they probably write more and manages less. I just think that when I act as an editor, this suggested way of working feel right. I think, once again, it depends on who your target group is: Editors, Administrators or Developers? In this case I have Editors as the main target group. /Peter Kindstr?m PS. The thing that really bothers me is the "Edit page header", which has a strange name and is put in a strange place right now. From christoph.koehler at gmail.com Tue Oct 18 19:47:14 2005 From: christoph.koehler at gmail.com (Christoph Koehler) Date: Tue, 18 Oct 2005 12:47:14 -0500 Subject: [Typo3-dev] Make configuration simple References: Message-ID: Hello, On Tue, 18 Oct 2005 12:33:22 -0500, Peter Kindstr?m wrote: > PS. The thing that really bothers me is the "Edit page header", > which has a strange name and is put in a strange place right now. I definitely agree with that! From erik at linnearad.no Tue Oct 18 20:00:01 2005 From: erik at linnearad.no (Erik Svendsen) Date: Tue, 18 Oct 2005 18:00:01 +0000 (UTC) Subject: [Typo3-dev] [Typo3-design] Re: Make configuration simple References: Message-ID: Hello Peter, > I think, once again, it depends on who your target group is: Editors, > Administrators or Developers? In this case I have Editors as the main > target group. > > /Peter Kindstr?m > PS. The thing that really bothers me is the "Edit page header", > which has a strange name and is put in a strange place right now. Some interesting ideas. And you also point on a very important aspect. Usability isn't the same for these group. When I doing installation and the setting up of sites, the normal backend suits me well. But to all the editors I have to strip i down (user persmissions). But to make it simple I also have to take away some functions who had been nice to have. Maybe the best solution is an extensions who gives opportunity to have a better editor backend. WBR, Erik Svendsen www.linnearad.no From stephane.schitter at free.fr Tue Oct 18 21:37:20 2005 From: stephane.schitter at free.fr (Stephane Schitter) Date: Tue, 18 Oct 2005 21:37:20 +0200 Subject: [Typo3-dev] [Typo3-doc] New documentation maintainer? In-Reply-To: References: Message-ID: Hello, Could anyone remind me why the Typo3 wiki is not protected by at least asking the people who want to edit the pages to login ? Creation of a wikimedia login can be done by anyone, at anytime, and in my own experience limits the spam a lot, while not limiting on who can edit the data.... You're not even asked to provide your real name in the registration process. Cheers, Stephane Le 18 oct. 05 ? 19:18, Peter Kindstr?m a ?crit : > > Hi all, > I have decided not to work with Typo3 documentation anymore. At > least not for the community. > > My work so far has been to structure the wiki and remove all > spam from wiki pages on a daily basis. I also have management > access to the bugtracker Documentation project. > > *Now it would be nice if someone is interested in taking over > these tasks? Anyone?* > > ---- > > If someone is interested in working together with me in making > Typo3 documentation more useful and easier to use for newbies, > please contact me in private. I have not given up the idea of an > "official Typo3 documentation", but I have realised that I have > to do it on my own... > > > /Peter Kindstr?m > _______________________________________________ > Typo3-dev mailing list > Typo3-dev at lists.netfielders.de > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev > From kasper2005 at typo3.com Tue Oct 18 21:49:23 2005 From: kasper2005 at typo3.com (Kasper =?iso-8859-1?q?Sk=E5rh=F8j?=) Date: Tue, 18 Oct 2005 21:49:23 +0200 Subject: [Typo3-dev] templates for realurl config In-Reply-To: References: Message-ID: realurl is invoked (on decoding) even before the TCA is available so therefore the only choice for configuration was TYPO3_CONF_VARS in this case. Sorry. - kasper On Tuesday 18 October 2005 07:18, Robert Lemke wrote: > Hi Ben, > > ben van 't ende [netcreators] wrote: > > At the moment you have to put the realurl config in localconf or at > > least that is what i do. My collegae already suggested to use includes. > > Wouldn't it be a good idea if you could use some special template type > > for storing that info in. I have some problems in dealing with the > > configuration as it is now. Having separate templates would also give > > authors the possibility to add some default config. I feel it has some > > advantages to include that as records in the backend. > > > > Is this a good idea? > > yes, I also experimented with it the last weeks. However, there might be > some special cases we need to solve: > > In my case I need to add a certain configuration for all pages where a > frontend plugin ter_fe_pi1 is installed. At the point when localconf.php > (or ext_localconf.php) is executed, there's no database connection yet. And > we cannot just create one because DBAL might not yet be configured. > > Without knowing really the internals of RealURL I therefore suggest to move > the configuration from the localconf.php to a RealURL specific location > which is parsed directly from RealURL when a DB connection already exists. > > Kasper, you have been working on RealURL recently - is it likely that you > get back to it (maybe after finishing workspaces) to work on such a > solution? > > Cheers, > robert > > PS: Tuesday, 7 a.m. - working on TER2 ;-) -- - kasper ----------------- Think future, not feature From stanislas.rolland at fructifor.ca Wed Oct 19 05:27:17 2005 From: stanislas.rolland at fructifor.ca (Stanislas Rolland) Date: Tue, 18 Oct 2005 23:27:17 -0400 Subject: [Typo3-dev] en_US and en_GB localization Message-ID: Hi, Some requests I received recently lead to the following question: What would be the best way to offer both en_US and en_GB localizations in a front end plugin? Thanks for your ideas, Stanislas From matthew at manderson.co.uk Wed Oct 19 07:55:52 2005 From: matthew at manderson.co.uk (Matthew Manderson) Date: Wed, 19 Oct 2005 07:55:52 +0200 Subject: [Typo3-dev] Make configuration simple References: Message-ID: > PS. The thing that really bothers me is the "Edit page header", > which has a strange name and is put in a strange place right now. Yes, this comes up a lot. Possibly call it "Edit page settings" Header means nothing until you 'learn' what it means. Related to this is the organisation of stuff that relates to a specific page. 1) Page Header 2) Page Content 3) List view items These are in three different places and should be accessible from the one view. The main BE menu bar is now collapsible, so why not have all this 'Web > Page' content on the one page and collapsible to keep the view clean. The frame is already laid out in sections: Page content SEARCH ADVANCED FUNCTIONS So all is needed are a couple more. The next big example, is clicking a sysfolder in page view, it shows the ability to add new content and gives no hint of what lies beneath in List view. Even further still is the fact that in Web > Page view the screen is taken up by 8 ways of creating new content in that frame alone! And excluding the popup context menu there are 2 ways to do the other features like, move page, edit page header etc. A single well designed icon bar should give focus to one place to control the features and so become more intuitive as well as clean up the interface. Happy days, Matthew From AchimEichhorn at eim2.de Wed Oct 19 09:13:23 2005 From: AchimEichhorn at eim2.de (Achim Eichhorn) Date: Wed, 19 Oct 2005 09:13:23 +0200 Subject: [Typo3-dev] typo3 and model-view-controller pattern Message-ID: Hi List, I published an experimental extension in TER, which allows model-view-controller like development with typo3. http://typo3.org/extensions/repository/categories/APIs/eim2mvc/ There is an example bundled with the source and a tutorial in the manual, which explains, how everything works together. I am very interested in feedback, if something like this is useful within typo3. It works a little bit like struts in java world or mojavi for php. But it is a simple thing at this moment. Have a look at it and give me some feedback. Greetings Achim. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.12.4/142 - Release Date: 18.10.2005 From typo3 at monosock.org Wed Oct 19 09:19:57 2005 From: typo3 at monosock.org (Michiel Roos) Date: Wed, 19 Oct 2005 09:19:57 +0200 Subject: [Typo3-dev] templates for realurl config References: Message-ID: On Tue, 18 Oct 2005 21:49:23 +0200, Kasper Sk?rh?j wrote: > > realurl is invoked (on decoding) even before the TCA is available so therefore > the only choice for configuration was TYPO3_CONF_VARS in this case. Sorry. > > - kasper *** hits the brakes on whatever kasper is driving *** iiiiiiiiiiiiiiiiiiiii . . . . . Ehrm . . . Forget Ben's 'storing in db' idea for a minute and try to see his true point: "Configuring the realurl array in localconf.php is ha hackerish daunting task which will stop proper operation of your typo3 install with all of its 30 virtual domains if you fsck up." ;-) But not to worry, we can write a nice backend module form to create the realurl config array and write it to localconf.php from there. Problem solved, users happier. I can see it now . . . - a backend module where you can build your realurl array by choosing postVarSets from dropdown lists - these dropdown lists will be auto generated, example in extdeveval but then better to include 'piVars'. - preview of generated array if checkbox checked. - an opportunity to 'hand tweak' the array in textare if desired (advanced option). This sound like a fun assignment. I'll see what I can come up with. Cheers, Michiel Roos From kasper2005 at typo3.com Wed Oct 19 09:50:20 2005 From: kasper2005 at typo3.com (Kasper =?iso-8859-1?q?Sk=E5rh=F8j?=) Date: Wed, 19 Oct 2005 09:50:20 +0200 Subject: [Typo3-dev] typo3 and model-view-controller pattern In-Reply-To: References: Message-ID: Hey Achim, Sounds really nice. Unfortunately I'm out of time this week and the next as well, but I hav ebeen looking for such an example for a while so I will take a look later. Thanks! - kasper On Wednesday 19 October 2005 09:13, Achim Eichhorn wrote: > Hi List, > > I published an experimental extension in TER, which allows > model-view-controller like development with typo3. > > http://typo3.org/extensions/repository/categories/APIs/eim2mvc/ > > There is an example bundled with the source and a tutorial in the manual, > which explains, how everything works together. > I am very interested in feedback, if something like this is useful > within typo3. > It works a little bit like struts in java world or mojavi for php. > But it is a simple thing at this moment. > > Have a look at it and give me some feedback. > > Greetings Achim. -- - kasper ----------------- Think future, not feature From ernst at cron-it.de Wed Oct 19 10:53:24 2005 From: ernst at cron-it.de (Ernesto Baschny [cron IT]) Date: Wed, 19 Oct 2005 10:53:24 +0200 Subject: [Typo3-dev] templates for realurl config In-Reply-To: References: Message-ID: ben van 't ende [netcreators] schrieb am 17.10.2005 23:25: > At the moment you have to put the realurl config in localconf or at > least that is what i do. My collegae already suggested to use includes. > Wouldn't it be a good idea if you could use some special template type > for storing that info in. I have some problems in dealing with the > configuration as it is now. Having separate templates would also give > authors the possibility to add some default config. I feel it has some > advantages to include that as records in the backend. > > Is this a good idea? We've already read Kaspers comments on why this has to be done in localconf.php. I have noticed that most RealURL configs are the same or almost the same. What I have done is create a new extention which includes a ext_localconf.php that configures RealURL. The advantage is that I can install that without having to twidle in the main localconf.php, and I have some settings that can be done through ext_conf_template.txt which will then be regarded in the RealURL settings (e.g. if the site is multilanguage, which languages, if tt_news is installed, which pid for single-news, etc). But the best would be: have RealURL provide a basic/standard configuration already and have each extention which provide views based on parameters provide its own RealURL configuration snipped (e.g. tt_news could set $TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT']['postVarSets']['_DEFAULT'][]['article'] if the admin ticks a checkbox on tt_news installation). If interesting, I could provide my current configuration masks that works for RealURL, multilanguage sites and tt_news, maybe they can be included in future RealURL/tt_news versions? Cheers, Ernesto From michael at typo3.org Wed Oct 19 10:30:02 2005 From: michael at typo3.org (Michael Stucki) Date: Wed, 19 Oct 2005 10:30:02 +0200 Subject: [Typo3-dev] Make configuration simple References: Message-ID: Matthew Manderson wrote: >> PS. The thing that really bothers me is the "Edit page header", >> which has a strange name and is put in a strange place right now. > > Yes, this comes up a lot. I wonder why nobody too the chance to submit this as a Gremlin?! Please don't write that it's far too complicated to submit them. We had our reasons why we had to do it that way. Come on, it's just a few minutes to submit your issues, and if enough people vote for them (any, not just this one) you have my guarantee that it will be resolved (depending on the fact that it is possible at all - which would be the case here...). So what's wrong with this deal? Regards, michael -- Use a newsreader! Check out http://typo3.org/community/mailing-lists/use-a-news-reader/ From ernst at cron-it.de Wed Oct 19 11:02:21 2005 From: ernst at cron-it.de (Ernesto Baschny [cron IT]) Date: Wed, 19 Oct 2005 11:02:21 +0200 Subject: [Typo3-dev] Zap the Gremlins - report them!!!! In-Reply-To: References: Message-ID: Dominic Brander schrieb am 17.10.2005 15:11: > the zapping team is currently evaluating the reported gremlins. > not even 60 gremlins have been reported - and quite a few do not even > affect core funtionality but extensions (TV, tt_news, etc.). > so this may look like we have an almost perfect system! > > really? I have reported many bugs to bugs.typo3.org, some have been open and "new" for months. Its a bit frustrating to have to report or link to them once again. A voting system inside bugs.typo3.org would have been easier for most bug reportes to work with instead of yet another system. But ok ok, I understand the need for a "prioritized list" and I'll take some time today to link to the bugs I consider important and add some "gremlins" that I've just reported via mailing list to the bug-tracker + gremlins-voting-system. There are more issues for sure! :) And I would be happy to help solving some of them (some are already solved, patches available in the bugtracker, someone just have to take a look at them!!!). Cheers, Ernesto From typo3 at fx-graefix.de Wed Oct 19 11:12:53 2005 From: typo3 at fx-graefix.de (Franz Koch) Date: Wed, 19 Oct 2005 11:12:53 +0200 Subject: [Typo3-dev] [Typo3-design] Re: Make configuration simple In-Reply-To: References: Message-ID: > Maybe the best solution is an extensions who gives opportunity to have a > better editor backend. How about templating the backend with the possibility to apply templates to backend-users and/or groups. The useability is going to be improved anyway so that major changes in the core are necessary. Why not make it templateable (not only skinable) in this step? Just a thought. -- Franz Koch From typo3 at monosock.org Wed Oct 19 11:12:51 2005 From: typo3 at monosock.org (Michiel Roos) Date: Wed, 19 Oct 2005 11:12:51 +0200 Subject: [Typo3-dev] templates for realurl config References: Message-ID: On Wed, 19 Oct 2005 10:53:24 +0200, Ernesto Baschny [cron IT] wrote: > I have noticed that most RealURL configs are the same or almost the same. > > What I have done is create a new extention which includes a > ext_localconf.php that configures RealURL. The advantage is that I can > install that without having to twidle in the main localconf.php, and I > have some settings that can be done through ext_conf_template.txt which > will then be regarded in the RealURL settings (e.g. if the site is > multilanguage, which languages, if tt_news is installed, which pid for > single-news, etc). Are you talking single domain install here? I have over 15 sites in one typo3 install. They could all be in need a seperate pid for single news. Would this work with your setup? It would still come down to hacking text files. I opt for a backend array generation tool (see other post as reaction to kaspers). > But the best would be: have RealURL provide a basic/standard > configuration already and have each extention which provide views based > on parameters provide its own RealURL configuration snipped (e.g. > tt_news could set > $TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT']['postVarSets']['_DEFAULT'][]['article'] > if the admin ticks a checkbox on tt_news installation). I agree. > If interesting, I could provide my current configuration masks that > works for RealURL, multilanguage sites and tt_news, maybe they can be > included in future RealURL/tt_news versions? Sure, I would be interested. Any chance you can cook up a quick page to explain all of this on your site? Otherwise on the wiki? Cheers, Michiel Roos From erik at linnearad.no Wed Oct 19 12:24:21 2005 From: erik at linnearad.no (Erik Svendsen) Date: Wed, 19 Oct 2005 10:24:21 +0000 (UTC) Subject: [Typo3-dev] Make configuration simple References: Message-ID: Hello Michael, > I wonder why nobody too the chance to submit this as a Gremlin?! > Please don't write that it's far too complicated to submit them. We > had our reasons why we had to do it that way. > > Come on, it's just a few minutes to submit your issues, and if enough > people > vote for them (any, not just this one) you have my guarantee that it > will > be resolved (depending on the fact that it is possible at all - which > would > be the case here...). So what's wrong with this deal? > Regards, michael > Done!!! The Edit Page header issue. WBR, Erik Svendsen www.linnearad.no From d.principi at nospamme.provincia.ps.it Wed Oct 19 12:31:43 2005 From: d.principi at nospamme.provincia.ps.it (Davide Principi) Date: Wed, 19 Oct 2005 12:31:43 +0200 Subject: [Typo3-dev] Where is my "addRootLineFields" field. In-Reply-To: References: Message-ID: Perhaps my mistake was including $GLOBALS['TYPO3_CONF_VARS']['FE']['addRootLineFields'] ... in ext_tables.php, instead of including it into ext_localconf.php, as I can see in indexed_search extension... --Davide Principi (dabba) From typo3 at ingo-renner.com Wed Oct 19 13:00:46 2005 From: typo3 at ingo-renner.com (Ingo Renner) Date: Wed, 19 Oct 2005 13:00:46 +0200 Subject: [Typo3-dev] HINT: speed up eclipse Message-ID: Hi all, this is a small hint for all of us using eclipse. To speed up eclipse - especially the startup modify your shortcut like this: C:\Programme\eclipse31\eclipse.exe -vmargs -Xmx128m -Xms128m notice the added arguments, the 128 can be replaced by any value. It defines the amount of memory eclipse allocates directly on startup instead of doing it _during_ startup or work with eclipse. If you have a lot of memory you can set this to 256 or even more if necessary. greetings Ingo -- Use a newsreader! Check out http://typo3.org/community/mailing-lists/use-a-news-reader/ From dominic at typo3.org Wed Oct 19 13:34:14 2005 From: dominic at typo3.org (Dominic Brander) Date: Wed, 19 Oct 2005 13:34:14 +0200 Subject: [Typo3-dev] Zap the Gremlins - report them!!!! In-Reply-To: References: Message-ID: Ernesto Baschny [cron IT] wrote: > Dominic Brander schrieb am 17.10.2005 15:11: > > >>the zapping team is currently evaluating the reported gremlins. >>not even 60 gremlins have been reported - and quite a few do not even >>affect core funtionality but extensions (TV, tt_news, etc.). >>so this may look like we have an almost perfect system! >> >>really? > > > I have reported many bugs to bugs.typo3.org, some have been open and > "new" for months. Its a bit frustrating to have to report or link to > them once again. A voting system inside bugs.typo3.org would have been > easier for most bug reportes to work with instead of yet another system. sorry for duplicating - but there was no other way to do it in such a short time. > But ok ok, I understand the need for a "prioritized list" and I'll take > some time today to link to the bugs I consider important and add some > "gremlins" that I've just reported via mailing list to the bug-tracker + > gremlins-voting-system. There are more issues for sure! :) > > And I would be happy to help solving some of them (some are already > solved, patches available in the bugtracker, someone just have to take a > look at them!!!). thanks. the gremlin zapping crew will surely get in touch with you. cheers -- dominic ________________________________________________________________________ Dominic Brander Secretary - TYPO3 Association http://association.typo3.org From kuhn at punkt.de Wed Oct 19 15:36:17 2005 From: kuhn at punkt.de (Rainer Kuhn) Date: Wed, 19 Oct 2005 15:36:17 +0200 Subject: [Typo3-dev] HINT: speed up eclipse In-Reply-To: References: Message-ID: Ingo Renner wrote: > Hi all, > > this is a small hint for all of us using eclipse. To speed up eclipse - > especially the startup > > modify your shortcut like this: > C:\Programme\eclipse31\eclipse.exe -vmargs -Xmx128m -Xms128m > > notice the added arguments, the 128 can be replaced by any value. It > defines the amount of memory eclipse allocates directly on startup instead > of doing it _during_ startup or work with eclipse. If you have a lot of > memory you can set this to 256 or even more if necessary. Some more explanations I've found formerly concerning this topic: This is about tuning the JVM heap size which can help to improve Eclipse's responsiveness. You can do that by using the -vmargs -Xms -Xmx settings in the command-line argument: -Xms is your minimum JVM memory size. -Xmx is your maximum JVM memory size. The values to set depend on the specifications of the system you are working on. Most of the posts I have seen talk about setting the max. heap size to at least 256M. From the Eclipse Project Release Notes 3.0.1: "Depending on the JRE that you are running, the number of plug-ins you are using, and the number of files you will be working with, you may have to increase the amount of memory that is available to the Java VM running Eclipse. Eclipse allows you to pass arguments directly to the Java VM using the -vmargs command line argument, which must follow all other Eclipse specific arguments. To increase the available memory, you would typically use: eclipse -vmargs -Xmx The value should typically be at least "128M" (128 megabytes). Usually, "256M" (256 megabytes) is ample. You should not set this value to be larger than the amount of physical memory on your machine." For detailled hints on tuning the Eclipse JVM heap size, you can refer to this IBM article: http://www-128.ibm.com/developerworks/websphere/library/techarticles/0204_searle/searle.html HTH, Rainer From typo3 at fm-world.ru Wed Oct 19 15:56:14 2005 From: typo3 at fm-world.ru (Dmitry Dulepov) Date: Wed, 19 Oct 2005 16:56:14 +0300 Subject: [Typo3-dev] HINT: speed up eclipse In-Reply-To: References: Message-ID: Hi! Rainer Kuhn wrote: > -Xms is your minimum JVM memory size. > -Xmx is your maximum JVM memory size. > The values to set depend on the specifications of the system you are > working on. Most of the posts I have seen talk about setting the max. > heap size to at least 256M. I found that the following settings do best for me in two different hardware environments (AMD/Intel, 512/1024MB): -Xms is 25% of RAM -Xms is 50% of RAM Dmitry. From michael at typo3.org Wed Oct 19 16:41:46 2005 From: michael at typo3.org (Michael Stucki) Date: Wed, 19 Oct 2005 16:41:46 +0200 Subject: [Typo3-dev] Zap the Gremlins - report them!!!! References: Message-ID: Ernesto Baschny [cron IT] wrote: > And I would be happy to help solving some of them (some are already > solved, patches available in the bugtracker, someone just have to take a > look at them!!!). Great! I will send you an email. - michael -- Use a newsreader! Check out http://typo3.org/community/mailing-lists/use-a-news-reader/ From jsegars at alumni.rice.edu Wed Oct 19 16:38:57 2005 From: jsegars at alumni.rice.edu (Jeff Segars) Date: Wed, 19 Oct 2005 09:38:57 -0500 Subject: [Typo3-dev] typo3 and model-view-controller pattern In-Reply-To: References: Message-ID: Very interesting! We've been in the design phase for an MVC rewrite of the calendar extension. I just threw together some demo code earlier in the week so I'll have to see what I can incorporate from your extension. Thanks! From peter.kindstrom at abc.se Wed Oct 19 17:16:48 2005 From: peter.kindstrom at abc.se (=?ISO-8859-1?Q?Peter_Kindstr=F6m?=) Date: Wed, 19 Oct 2005 17:16:48 +0200 Subject: [Typo3-dev] Make configuration simple In-Reply-To: References: Message-ID: Hi, > Possibly call it "Edit page settings" Or "Edit page properties"? /Peter Kindstr?m From peter.kindstrom at abc.se Wed Oct 19 17:38:32 2005 From: peter.kindstrom at abc.se (=?ISO-8859-1?Q?Peter_Kindstr=F6m?=) Date: Wed, 19 Oct 2005 17:38:32 +0200 Subject: [Typo3-dev] Make configuration simple In-Reply-To: References: Message-ID: Hi Michael, > I wonder why nobody too the chance to submit this as a Gremlin?! Please > don't write that it's far too complicated to submit them. We had our > reasons why we had to do it that way. a) We started discussing a new BE layout. Thought that was Typo3 version 4.5 / 5.0... b) Didn?t think of it c) Thought it was taken care of. We?ve had this discussion before and someone made some changes. Don?t remember who/what... :-( d) We haven?t yet decided what it should be called: Settings, Properties, ??? But we?re in no hurry. I think the most important thing is to discuss - and agree on - this issue before Typo3 4.5 / 5.0. /Peter Kindstr?m From patrick at typo3quebec.org Wed Oct 19 18:45:29 2005 From: patrick at typo3quebec.org (Patrick Gaumond) Date: Wed, 19 Oct 2005 12:45:29 -0400 Subject: [Typo3-dev] en_US and en_GB localization In-Reply-To: References: Message-ID: Stanislas Rolland wrote: > Some requests I received recently lead to the following question: > > What would be the best way to offer both en_US and en_GB localizations > in a front end plugin? And if it ever become a reality, it should have some kind of cascading possibility. I mean if the language is set to en_US and not available then goto en_GB(default). If we ever have a french canadian fr_CAN then the cascading would have to be: fr_CAN -> fr_FR -> en_GB(default) I just don't know the performance implication and the coding needed behind... Patrick fr_QC ;) From elijah.alcantara at gmail.com Thu Oct 20 05:03:29 2005 From: elijah.alcantara at gmail.com (Elijah Alcantara) Date: Thu, 20 Oct 2005 11:03:29 +0800 Subject: [Typo3-dev] Typoscript: setup.txt for extension: having two fields to wrap? Message-ID: I've setup an extension for displaying my php form, I've made the code to loop some checkboxed contents & used tx_pluginname[chkbox_number] as a name to dynamically output something like chkbox_1, chkbox_2, etc ... #this is my setup.txt 5 = TEXT 5.field = id 5.wrap =
    My problem is I wanted an extra 5.field with the a value "CHECKED" whether if my php script setup a value for it or not, if the listed checkbox is supposed to be unchecked then it's value will just be " " #my php script, inside a loop #if statement here.... #$this->cObj->data[chk_variable] = "CHECKED"; #else... data[chk_variable] = ""; #end if statement So the TEXT should contain something like: OR Depends on the conditions of my script ... So how can I be able to produce two fields? That won't work of course, but it's something I would've wanted to do =) Can anyone please help me out?? Elijah A. From derek at chargedmultimedia.com Thu Oct 20 07:12:03 2005 From: derek at chargedmultimedia.com (Derek Anderson) Date: Wed, 19 Oct 2005 22:12:03 -0700 Subject: [Typo3-dev] How do I change the position of an added field in the BE records editor? Message-ID: Hello all; First post; please be gentle :) I am working on a google maps extension for t3, and one of the requirements is that I can map locations by their address using the geocoder.us service (yeah, US only I am afraid. I am actually a canuck, so I can't use it personally either). I needed to add a field for state, and was able to do so easily, but I am having a hell of a time modifying it so that it sits at the top, right under city, in the BE forms. I found the documentation here: http://typo3.org/fileadmin/typo3api-3.8.0/df/d58/t3lib_2class_8t3lib__extmgm_8php-source.html#l00250 but it is pretty impenetrable, and the api shows a one liner example that is not a very clear explanation. I guess I am hoping that somebody has done this already, and can just tell me which extension it is in so I can duplicate it by example. Some more details on the format of this string (which is used to set position, but I cannot get it to work): $beforelist="keywords,--palette--;;4,description" would also be really helpful. From admin at commandline.ch Wed Oct 19 08:15:58 2005 From: admin at commandline.ch (=?ISO-8859-1?Q?Jonas_D=FCbi?=) Date: Wed, 19 Oct 2005 08:15:58 +0200 Subject: [Typo3-dev] standard header in ext In-Reply-To: References: Message-ID: Hi 1) Use the setup.txt of your extension to add the lib.stdheader to your config: tx_yourextension_pi1.header < lib.stdheader Afterwards you can access the stdheader by the typoscript $config array which is delivered to your extension by the core.... 2) I don't know any 'clean' way to supress the title of an 'insert_plugin' record by default. Normaly I just set the title of the record to 'hidden' when I add the plugin. But perhaps someone else know. Greets Jonas Ronald Renfro wrote: > hello list, > > 1) I would like to render a header from inside my frontend extension and > would like to use the user preconfigured header type 1-5. > how and where can I retrieve the current values for lib.stdHeader from > an extension? > > 2) Is it possible to skip/omit the rendering of the plugins title field? > > thanks and have a nice day > Ronald Renfro From mads at typoconsult.dk Thu Oct 20 09:40:49 2005 From: mads at typoconsult.dk (Mads Brunn) Date: Thu, 20 Oct 2005 09:40:49 +0200 Subject: [Typo3-dev] New project on bugs.typo3.org Message-ID: Hi List Does anyone know who I should contact in order to apply for a new project for bugs.typoconsult.dk? It's for the t3quixplorer extension... Best regards Mads Brunn From Martin.Kutschker at n0spam-blackbox.net Thu Oct 20 10:25:24 2005 From: Martin.Kutschker at n0spam-blackbox.net (Martin Kutschker) Date: Thu, 20 Oct 2005 10:25:24 +0200 Subject: [Typo3-dev] en_US and en_GB localization In-Reply-To: References: Message-ID: Patrick Gaumond schrieb: > Stanislas Rolland wrote: > >> Some requests I received recently lead to the following question: >> >> What would be the best way to offer both en_US and en_GB localizations >> in a front end plugin? > > And if it ever become a reality, it should have some kind of cascading > possibility. I mean if the language is set to en_US and not available > then goto en_GB(default). There is a fallback but no cascade. The problem with en_US vs en_GB is that TYPO3 doesn't distinct these two languages. Perhaps it's enough to add a made-up key in your locallang.php and set up your TS config accordingly. Eg "default" => array() // en_GB "us" => array() // en_US Masi From Martin.Kutschker at n0spam-blackbox.net Thu Oct 20 10:35:20 2005 From: Martin.Kutschker at n0spam-blackbox.net (Martin Kutschker) Date: Thu, 20 Oct 2005 10:35:20 +0200 Subject: [Typo3-dev] TYPO3 and PKI authentication Message-ID: Hi! Has anybody tied TYPO3 to some kind of authentication via a PKI? I'm thinking of SSLv3 cerificates, key cards and the likes. Masi From rrenfro at ilovehtml.net Thu Oct 20 11:47:04 2005 From: rrenfro at ilovehtml.net (Ronald Renfro) Date: Thu, 20 Oct 2005 11:47:04 +0200 Subject: [Typo3-dev] standard header in ext In-Reply-To: References: Message-ID: thanks jonas! i will try that right away. could you explain what you mean by setting title to be hidden. is that in the tca file or where could I do that? greetings Ronald Renfro From wilhelm at icecrash.com Thu Oct 20 14:42:41 2005 From: wilhelm at icecrash.com (Sven Wilhelm) Date: Thu, 20 Oct 2005 14:42:41 +0200 Subject: [Typo3-dev] TYPO3 and PKI authentication In-Reply-To: References: Message-ID: Hi, > Has anybody tied TYPO3 to some kind of authentication via a PKI? I'm > thinking of SSLv3 cerificates, key cards and the likes. yes, for a institute at an university I have to do this. There is an upcoming central PKI structure. At the moment I'm working with a certificate in my browser (also possible). The most work therefore has to be done by Apache itself. The ssl module has to check the chain and export the informations of the certificate as environment variables. If the ssl module tells you that all is ok, you can do give typo3 an OK. Regards Sven From Martin.Kutschker at n0spam-blackbox.net Thu Oct 20 15:26:23 2005 From: Martin.Kutschker at n0spam-blackbox.net (Martin Kutschker) Date: Thu, 20 Oct 2005 15:26:23 +0200 Subject: [Typo3-dev] TYPO3 and PKI authentication In-Reply-To: References: Message-ID: Sven Wilhelm schrieb: > Hi, > >> Has anybody tied TYPO3 to some kind of authentication via a PKI? I'm >> thinking of SSLv3 cerificates, key cards and the likes. > > yes, for a institute at an university I have to do this. > There is an upcoming central PKI structure. > > At the moment I'm working with a certificate in my browser (also possible). > > The most work therefore has to be done by Apache itself. > The ssl module has to check the chain and export the informations of the > certificate as environment variables. If the ssl module tells you that > all is ok, you can do give typo3 an OK. Fine just as I expected with certifcates. Is anybody here who uses key cards? I've never used them myself and have no idea how the key on the card (or dongle, USB stick, etc) can be transmitted via the browser to the web server. Thanx, Masi From wilhelm at icecrash.com Thu Oct 20 15:41:52 2005 From: wilhelm at icecrash.com (Sven Wilhelm) Date: Thu, 20 Oct 2005 15:41:52 +0200 Subject: [Typo3-dev] TYPO3 and PKI authentication In-Reply-To: References: Message-ID: Hi 2nd > Fine just as I expected with certifcates. > > Is anybody here who uses key cards? I've never used them myself and have > no idea how the key on the card (or dongle, USB stick, etc) can be > transmitted via the browser to the web server. I'm on the way with that. I have now a Kobil Kaan Advanced USB. Kobil gives you a module for integration into you webbrowser. This module could be understand like the internal available pkcs#11 module what is used for certification management without keycard. Kind regards Sven From wilhelm at icecrash.com Thu Oct 20 15:45:04 2005 From: wilhelm at icecrash.com (Sven Wilhelm) Date: Thu, 20 Oct 2005 15:45:04 +0200 Subject: [Typo3-dev] TYPO3 and PKI authentication -- addon In-Reply-To: References: Message-ID: PKI would be at least a nice feature on the typo3 infrastructure. With certificates available from CACert that is not expensive :) Kind regards Sven From kraftb at kraftb.at Fri Oct 21 00:35:43 2005 From: kraftb at kraftb.at (Bernhard Kraft) Date: Fri, 21 Oct 2005 00:35:43 +0200 Subject: [Typo3-dev] RFC: Bug #277: utf-8 + JSMENU/feAdminLib Message-ID: Hello, The Zap-the-Gremlins team tries to fix the following bug: http://bugs.typo3.org/view.php?id=277 And I would like to have some feedback. The problem seems to evlove from the fact that VERY OLD browsers (3.x Netscape/IE) didn't support non-ASCII values like Umlauts ??? and as a result of this no utf-8 strings in their alert('...') or similar methods. So the construct unescape(\''.rawurlencode($str).'\') was "invented". Nowadays browsers support alert('????????????') (Japanese - switch your mail-client to utf-8 for this post) without any problems. In these old days just the strings didn't get interpreted correctly .... but the parsers were almost the same as today. The only thing you have to care about when you write an JS string enclosed for exmplae in single quotes ' is that you quote any single quote in the string with a \ (backslash). i.e. 'Let's rock' should become 'Let\'s rock'. This can get achieved by using the "addcslashes" php function: $str = 'Let\'s rock. Heres a " doublequote'; // The \' is just because also php needs the ' escaped. Just a ' will get stored in the string. $str = addcslashes($str, "'"); // Quote all ' Now you could use this string in any '; So this would solve all problems in tslib/class.tslib_menu.php and feAdminLib. When the String get's used in a onClick event additional measures need to be taken: The contents of an tag attribute get's feed trough the HTML parser which replaces all entities (i.e.: &) so you won't be happy if you want to have the TEXT & in the alert text (not converted to &). So you will first need to pass the string (or the complete onClick event) through htmlspecialchars: $out .= ''; Note that the part "alert(\''.$str.'\')" didn't change at all. Just a htmlspecialchars was wrapped around it. This will produce html code like also if you would have used doublequotes " for quoting the alert string it would be valid and look like the following: Which would be completly valid (first HTML entities get replaced by HTML parser. Then quoted characters get replaced by their original by the JS parser) So my final result is that the unescape(rawurlencode()) construct should get dropped and replaced by propper quoting/specialchar'ing the text's and drop support for 3.x browsers. Does someone have major arguments against this step ? greets, Bernhard From Martin.Kutschker at n0spam-blackbox.net Thu Oct 20 17:03:03 2005 From: Martin.Kutschker at n0spam-blackbox.net (Martin Kutschker) Date: Thu, 20 Oct 2005 17:03:03 +0200 Subject: [Typo3-dev] TYPO3 and PKI authentication -- addon In-Reply-To: References: Message-ID: Sven Wilhelm schrieb: > PKI would be at least a nice feature on the typo3 infrastructure. > > With certificates available from CACert that is not expensive :) We could even issue our own certificates. I would not mind installing the root CA of TYPO3.org in my browser. Masi From Martin.Kutschker at n0spam-blackbox.net Thu Oct 20 17:03:22 2005 From: Martin.Kutschker at n0spam-blackbox.net (Martin Kutschker) Date: Thu, 20 Oct 2005 17:03:22 +0200 Subject: [Typo3-dev] TYPO3 and PKI authentication In-Reply-To: References: Message-ID: Sven Wilhelm schrieb: > Hi 2nd > >> Fine just as I expected with certifcates. >> >> Is anybody here who uses key cards? I've never used them myself and >> have no idea how the key on the card (or dongle, USB stick, etc) can >> be transmitted via the browser to the web server. > > I'm on the way with that. > I have now a Kobil Kaan Advanced USB. Kobil gives you a module for > integration into you webbrowser. This module could be understand like > the internal available pkcs#11 module what is used for certification > management without keycard. So basically the way you store the cerificate on your client machine is transparent to the web server and therefore irrelevant for TYPO3. Fine :-) Masi From schwarzkopf.no.spam at artplan21.de Thu Oct 20 17:30:56 2005 From: schwarzkopf.no.spam at artplan21.de (Andreas Schwarzkopf) Date: Thu, 20 Oct 2005 17:30:56 +0200 Subject: [Typo3-dev] RFC: Bug #277: utf-8 + JSMENU/feAdminLib In-Reply-To: References: Message-ID: Hi Bernard, I think some major part of this problem is not addressed in your solution yet, it is more than only the alert problem. An example situation: - site with utf-8 charset - forms with preview, based on feAdminLib.inc - user with any modern browser, e.g. firefox 1 or IE 6.0 In this situation all non-ASCII chars entered by the user will be corrupted when they are stored to the database, because of this obsolete js function unescape. So if you will drop the unescape/rawurlencoding, this non-ASCII characters will be sent to the server not encoded at all. IMHO, it is also not very robust and might cause some problems on servers which can not handle multibyte data correctly? A very robust solution, wich I tested on production servers is the patch in the bugtracker: tslib_cObj.patch [^] (2,060 bytes) 12.04.05 13:22 grtx Andreas Bernhard Kraft schrieb: > Hello, > > > The Zap-the-Gremlins team tries to fix the following bug: > > http://bugs.typo3.org/view.php?id=277 > > And I would like to have some feedback. > > The problem seems to evlove from the fact that VERY OLD browsers (3.x > Netscape/IE) didn't support non-ASCII values > like Umlauts ??? and as a result of this no utf-8 strings in their > alert('...') or similar methods. So the construct > unescape(\''.rawurlencode($str).'\') > was "invented". > > Nowadays browsers support alert('????????????') (Japanese - > switch your mail-client to utf-8 for this post) > without any problems. > > In these old days just the strings didn't get interpreted correctly .... > but the parsers were almost the same as today. > The only thing you have to care about when you write an JS string > enclosed for exmplae in single quotes ' is that you > quote any single quote in the string with a \ (backslash). i.e. 'Let's > rock' should become 'Let\'s rock'. > > This can get achieved by using the "addcslashes" php function: > > $str = 'Let\'s rock. Heres a " doublequote'; // The \' is just > because also php needs the ' escaped. Just a ' will get stored in the > string. > $str = addcslashes($str, "'"); // Quote all ' > > Now you could use this string in any '; > > So this would solve all problems in tslib/class.tslib_menu.php and > feAdminLib. > > When the String get's used in a onClick event additional measures need > to be taken: > > The contents of an tag attribute get's feed trough the HTML parser which > replaces all entities (i.e.: &) so you won't be happy if you want > to have the TEXT & in the alert text (not converted to &). So you > will first need to pass the string (or the complete onClick event) through > htmlspecialchars: > > $out .= ''; > > Note that the part "alert(\''.$str.'\')" didn't change at all. Just a > htmlspecialchars was wrapped around it. > > This will produce html code like > > > > also if you would have used doublequotes " for quoting the alert string > it would be valid and look like the following: > > > > Which would be completly valid (first HTML entities get replaced by HTML > parser. Then quoted characters get replaced by their original by the JS > parser) > > > So my final result is that the unescape(rawurlencode()) construct should > get dropped and replaced by propper quoting/specialchar'ing the text's and > drop support for 3.x browsers. > > Does someone have major arguments against this step ? > > > > greets, > Bernhard From wilhelm at icecrash.com Thu Oct 20 17:58:56 2005 From: wilhelm at icecrash.com (Sven Wilhelm) Date: Thu, 20 Oct 2005 17:58:56 +0200 Subject: [Typo3-dev] TYPO3 and PKI authentication -- addon In-Reply-To: References: Message-ID: > We could even issue our own certificates. I would not mind installing > the root CA of TYPO3.org in my browser. baaahhh No, CACert is a community driven CA. As we have the assocation the more official character for organization certification should be given. It also would enpower CACert as a serious CA. Kind regards Sven From ernst at cron-it.de Thu Oct 20 18:18:56 2005 From: ernst at cron-it.de (Ernesto Baschny [cron IT]) Date: Thu, 20 Oct 2005 18:18:56 +0200 Subject: [Typo3-dev] RFC: Bug #277: utf-8 + JSMENU/feAdminLib In-Reply-To: References: Message-ID: Andreas Schwarzkopf schrieb am 20.10.2005 17:30: > I think some major part of this problem is not addressed in your > solution yet, it is more than only the alert problem. Well, I haven't really read the whole thread heh, but I gess this bug relates to another problem which I reported: http://bugs.typo3.org/view.php?id=1472 > A very robust solution, wich I tested on production servers is the patch > in the bugtracker: tslib_cObj.patch [^] (2,060 bytes) 12.04.05 13:22 I don't like the addition of JScharCode in tslib_cObj, as this is clearly language related. And its not really clear whats the difference of this to the JScharCode that we already have in ./sysext/lang/lang.php. So my guess would be that: 1) we can just strip this method from the tslib_cObj patch 2) merge the part that updates the "updateForm" calls to call LANG->JScharCode with what my patch in #1472 does for the alert dialogs 3) apply to CVS :) Cheers, Ernesto From kraftb at kraftb.at Fri Oct 21 04:36:11 2005 From: kraftb at kraftb.at (Bernhard Kraft) Date: Fri, 21 Oct 2005 04:36:11 +0200 Subject: [Typo3-dev] RFC: Bug #277: utf-8 + JSMENU/feAdminLib In-Reply-To: References: Message-ID: Andreas Schwarzkopf wrote: > Hi Bernard, > > I think some major part of this problem is not addressed in your > solution yet, it is more than only the alert problem. > > An example situation: > - site with utf-8 charset > - forms with preview, based on feAdminLib.inc > - user with any modern browser, e.g. firefox 1 or IE 6.0 > > In this situation all non-ASCII chars entered by the user will be > corrupted when they are stored to the database, because of this obsolete > js function unescape. You are not completly right. In fact utf-8 data entered into forms get's sent as valid utf-8 directly from the form to the server. This part works perfectly. I guess you address the issue that you have for example a FE-User registration form with a preview. You fill out the form. Click "Preview" but have not filled out the form correctly. You will get to the same page again but special characters are converted to garbage now. The proble with this procedure is not that the fields can't get transfered correctly to the server but rather that the new form which gets generated has code to fill in the values of the fields. This code which fills in the fields is the code in question. An example is: updateForm('fe_users_form','FE[fe_users][username]',unescape('kraftb%C3%A3%C2%B6z%C3%A3%C2%BC')) which set's the username of the field. And my solution would be to change T3 code so it generates this line like: updateForm('fe_users_form','FE[fe_users][username]', 'kraftb?z?') notice the special characters "? ?" in the string. Old browser wouldn't have accepted them but modern do. greets, Bernhard From kraftb at kraftb.at Fri Oct 21 04:41:19 2005 From: kraftb at kraftb.at (Bernhard Kraft) Date: Fri, 21 Oct 2005 04:41:19 +0200 Subject: [Typo3-dev] RFC: Bug #277: utf-8 + JSMENU/feAdminLib In-Reply-To: References: Message-ID: Ernesto Baschny [cron IT] wrote: > 1) we can just strip this method from the tslib_cObj patch > 2) merge the part that updates the "updateForm" calls to call > LANG->JScharCode with what my patch in #1472 does for the alert dialogs > 3) apply to CVS :) If you have read the thread completly you would know that those JScharCode are completly unnecessary. Tell me: do you write ü or similar into your HTML any more ? or do you directly input the meant characters ? Or does T3 output ever "?" as ü .... no ... simply because it is not necessary. And the same is true for Javascript strings. Only the delimiter " or ' needs to get quoted with a \ greets, Bernhard From kraftb at kraftb.at Fri Oct 21 04:49:55 2005 From: kraftb at kraftb.at (Bernhard Kraft) Date: Fri, 21 Oct 2005 04:49:55 +0200 Subject: [Typo3-dev] TYPO3 and PKI authentication -- addon In-Reply-To: References: Message-ID: Sven Wilhelm wrote: > No, CACert is a community driven CA. As we have the assocation the more > official character for organization certification should be given. > > It also would enpower CACert as a serious CA. I am also the proud owner of a CACert certificate (shall I assure you :) I would be very happy if TYPO3 could make CACert so important that their root certificate get's included into every major browser ! greets, Bernhard From typo3 at ingo-renner.com Thu Oct 20 19:26:01 2005 From: typo3 at ingo-renner.com (Ingo Renner) Date: Thu, 20 Oct 2005 19:26:01 +0200 Subject: [Typo3-dev] New project on bugs.typo3.org References: Message-ID: Am Thu, 20 Oct 2005 09:40:49 +0200 schrieb Mads Brunn: Hi Mads, > Does anyone know who I should contact in order to apply for a new > project for bugs.typoconsult.dk? It's for the t3quixplorer extension... write an email to Michael Hirdes: support(at)elios(dot)de Ingo -- Use a newsreader! Check out http://typo3.org/community/mailing-lists/use-a-news-reader/ From schwarzkopf.no.spam at artplan21.de Thu Oct 20 20:02:20 2005 From: schwarzkopf.no.spam at artplan21.de (Andreas Schwarzkopf) Date: Thu, 20 Oct 2005 20:02:20 +0200 Subject: [Typo3-dev] RFC: Bug #277: utf-8 + JSMENU/feAdminLib In-Reply-To: References: Message-ID: Hi Bernard, Bernhard Kraft schrieb: > The proble with this procedure is not that the fields can't get > transfered correctly to the server but rather that > the new form which gets generated has code to fill in the values of the > fields. This code which fills in the fields > is the code in question. exactly. The garbage is created before it is sent to the server. > An example is: > > updateForm('fe_users_form','FE[fe_users][username]',unescape('kraftb%C3%A3%C2%B6z%C3%A3%C2%BC')) > > > which set's the username of the field. And my solution would be to > change T3 code so it generates this line like: > > updateForm('fe_users_form','FE[fe_users][username]', 'kraftb?z?') > > notice the special characters "? ?" in the string. Old browser wouldn't > have accepted them but modern do. OK, then I vote for your solution. Netscape 3.0 - what is that? ;-) grtx Andreas From ernst at cron-it.de Fri Oct 21 10:18:25 2005 From: ernst at cron-it.de (Ernesto Baschny [cron IT]) Date: Fri, 21 Oct 2005 10:18:25 +0200 Subject: [Typo3-dev] RFC: Bug #277: utf-8 + JSMENU/feAdminLib In-Reply-To: References: Message-ID: Bernhard Kraft schrieb am 21.10.2005 04:41: >> 1) we can just strip this method from the tslib_cObj patch >> 2) merge the part that updates the "updateForm" calls to call >> LANG->JScharCode with what my patch in #1472 does for the alert dialogs >> 3) apply to CVS :) > If you have read the thread completly you would know that those > JScharCode are completly unnecessary. > > Tell me: do you write ü or similar into your HTML any more ? or do > you directly input the meant characters ? > > Or does T3 output ever "?" as ü .... no ... simply because it is > not necessary. And the same is true for Javascript > strings. Only the delimiter " or ' needs to get quoted with a \ Bernhard, you are right! And at 4:41 in the morning you can still think about those things? :) I've updated my patch, which now reads: - $cf1="if (confirm(unescape('".t3lib_div::rawurlencodeJS($confirm)."'))){"; + $cf1="if (confirm('".htmlspecialchars(addcslashes($confirm,"'"))."')){"; Tested it and it works great. Also nicer to read in the source-code. Updated my bug report with the new patch in http://bugs.typo3.org/view.php?id=1472 Note, this just refers to the alert() dialog in EDITPANELS, other places refered to in http://bugs.typo3.org/view.php?id=277 are unaffected. Speaking of which, I've just looked at your utf8_JS.patch, which is the solution you propose. I see that you also change the confirm() dialog in the EDITPANELS like I do in my patch. Well, I guess that's not enough, because the string $confirm is being get through t3lib_tsfebeuserauth::extGetLL, which will translate all chars to UTF8-entites (utf8_to_entities). So you end up with lots of "Сл..." garbage in those alerts (try setting your language to russian). This is what my patch fixes: it adds an option to extGetLL which will disable the entity-encoding: then you can output $confirm directly (through your addcslashes and htmlspecialchars trick). So to sum up, I think the best solution is: Patch editpanels-javascript-dialog-charset-fix.patch from: http://bugs.typo3.org/view.php?id=1472 Patch utf8_JS.patch from: http://bugs.typo3.org/view.php?id=277 The only conflict is the above mentioned $confirm outputting. I've added a htmlspecialchars around it, while Bernhard didn't. Isn't that needed, Bernhard, since we are in a (X)HTML-attribute? Cheers, Ernesto From kraftb at kraftb.at Fri Oct 21 16:26:57 2005 From: kraftb at kraftb.at (Bernhard Kraft) Date: Fri, 21 Oct 2005 16:26:57 +0200 Subject: [Typo3-dev] RFC: Bug #277: utf-8 + JSMENU/feAdminLib In-Reply-To: References: Message-ID: Ernesto Baschny [cron IT] wrote: > Bernhard, you are right! And at 4:41 in the morning you can still think > about those things? :) If bought a new laptop (amd64 is really fast !! go for it) but there is still a kernel problem and my system clock runs at double speed ... And I'm not willing to run an rdate time update every minute :( > Note, this just refers to the alert() dialog in EDITPANELS, other places > refered to in http://bugs.typo3.org/view.php?id=277 are unaffected. I didn't take at the Admin Panel until now. I focused on finding a general solution which can get applied in all places. The next days of the Zap-the-Gremlin project I will spend on making one huge patch against the complete T3 source which fixes this isssue in all places (feAdminLib, JSMENU, EditPanel, Context-Menu, and other locations) For all of you interested in an example with japaneses characters: http://think-open.org/kraftb/confirm.php greets, Bernhard From kraftb at kraftb.at Fri Oct 21 16:30:33 2005 From: kraftb at kraftb.at (Bernhard Kraft) Date: Fri, 21 Oct 2005 16:30:33 +0200 Subject: [Typo3-dev] RFC: Bug #277: utf-8 + JSMENU/feAdminLib In-Reply-To: References: Message-ID: Ernesto Baschny [cron IT] wrote: > The only conflict is the above mentioned $confirm outputting. I've added > a htmlspecialchars around it, while Bernhard didn't. Isn't that needed, > Bernhard, since we are in a (X)HTML-attribute? Of course ! if you are not inside a