Search the website and IRC logs

#TYPO3 IRC log from : Thursday 12 March 2009

Year: 2007 2008 2009 2010 2011 2012
Month: Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
00:35 techgurufloyd Hello. I have been thinking about localization with my templavoila template and wonder if anyone else has already done something similar: I have a disclaimer/copyright, a slogan, and possibly a couple other elements that need to go on every page in my typo3 website. Though I could include that in the template ts, Is there a good way to put it as an element available, say, in a sysFolder, so that Translators don't have to touch my templat
00:39 kv0s Hm. I've several backend-users which should be able to edit templavoila-pages. but nobody can edit the page-content of these pages.
00:40 kv0s is there any special right i've to add to my usersgroup aditional to "page-content"?
00:45 nkuttler techgurufloyd: tsref, see RECORDS for example
00:45 nkuttler kv0s: check the permissions?
00:47 techgurufloyd If I set RECORDS sources to the default language content element, will it automatically grab the other language's respective elements?
00:47 kv0s nkuttler: I've a group for the users. but which permissions to a user really need to edit pagecontent within templavoila?
00:48 nkuttler techgurufloyd: no idea
00:48 kv0s i can not edit any pagecontent ....
00:48 kv0s ... i've add each userright i've found ... :(
00:48 nkuttler kv0s: i mean the permissions on the page themselves. don't use tv myself
00:48 techgurufloyd nkuttler: ok, thanks. I'll mess around with it some more and see what I come up with.
00:49 kv0s nkuttler: you mean web -> access -> page?
01:31 kv0s Grr.
01:32 kv0s Is there any documentation out there, for configuring templavoila and userrights. i didn't found anything.
01:49 kv0s SOLVED: Users must have the "default language"-right. If not, the can not add new content!
01:52 nkuttler kv0s: wow, that sounds broken
02:35 kv0s nkuttler: thats a feature .. :(
02:35 kv0s nkuttler: it is a two-language page, but the user has both enabled.
02:35 kv0s ... default language checkbox was unchecked.
02:35 kv0s :(
02:36 kv0s that's it.
02:36 kv0s so for now, it's enoug. bye bye see u tomorrow.
03:19 Denyerec Anyone awake/
03:19 Denyerec Having apache trouble...
03:32 nkuttler the #apache guys are quite helpful
04:11 Denyerec nkuttler, any idea why a .htaccess would work in / but not in /subdir/ ?
04:11 Denyerec no-one in #apache seems inclined to respond
05:57 scubes13 anyone know why I would get the following error after upgrading from 4.1.10 to 4.2.6? error is: Cannot find tslib/. Please set path by defining $configured_tslib_path in 0.
05:57 scubes13 if I go to www.domain.com/index.php - the page works fine
05:58 scubes13 if I click on a link, I am taken to www.domain.com/index.php/Users/<removed>/0/
05:58 scubes13 and that is where it bombs
05:58 scubes13 if I manually go to www.domain.com/index.php?id=3 - then the page shows up fine
06:05 scubes13 in my old install on another domain, I see a tslib symlink to typo3_src/tslib
06:05 scubes13 when looking under the typo3_src directory for 4.2.6, I do not see a tslib directory....
06:15 scubes13 anyone? :)
06:16 nkuttler scubes13: sounds like a realurl problem
06:17 scubes13 is there a quick way of disabling realurl? I dont have a realurl extension installed....
06:17 nkuttler scubes13: are you sure? typo3 doesn't produce /blah/blah links by itself
06:17 nkuttler scubes13: in the typoescript template anyway
06:18 nkuttler scubes13: and did you perform the necessary upgrade steps?
06:18 scubes13 yup, no extension, just double checked
06:19 nkuttler scubes13: then it's something like simulatestaticdocuments
06:19 scubes13 where would I locate simulatestaticdocs?
06:19 nkuttler scubes13: in the typoescript template
06:19 nkuttler scubes13: didn't you create the site?
06:19 scubes13 I did
06:20 nkuttler maybe some mod_rewrite
06:24 scubes13 mkuttler - was simulatestaticdocuments
06:24 scubes13 cleared the two entries i found and now showing via index.php?id=#
06:26 scubes13 thanks nkuttler
06:27 nkuttler np
08:51 Bluespuke morning folks
08:54 lilalinux I'm loading GET parameters into registers and sanitize them via "intval". How can I set the register to default values, if the intval constraint fails or if the GET parameter is empty?
09:03 iOops hi
09:04 lilalinux aloha
09:14 razer hi
09:15 razer is it possible to change a link class in rte without editing the html source?
09:15 lilalinux razer: of course
09:15 lilalinux either via the css file or via TS
09:16 razer no i mean if it is possible to have two links with different classes in one textarea
09:17 razer eg. change the class from the standard to something else
09:18 lilalinux yes
09:19 lilalinux wait a second
09:20 SmaxTheFrog hi if i redirect to an external service like payment system and store the data via $GLOBALS["TSFE"]->fe_user->storeSessionData(); how can i reuse the old sesion when teh external service redirects back to my site (sofar a new session is created) ?`
09:21 lilalinux razer: google for classesAnchor
09:22 lilalinux SmaxTheFrog: usually you tell the payment provider the sessionid
09:22 SmaxTheFrog lilalinux so which var has to be returned for typo3 to recognize ?
09:23 lilalinux but apart from that, the cookie should still exist and thus the session should automatically be adhered
09:24 lilalinux Does anybody know how I can get the current month via TS?
09:25 SmaxTheFrog lilalinux actaly an new typo3 cookie is created so that there are both the old and the new
09:26 lilalinux wow
09:27 razer lilalinux i need to change the class for internal links
09:28 razer i want a visual seperation between links in textflow and "standalone" links
09:28 razer so i need to change the class for a internal link
09:28 razer not for all links on the page but for just a few
09:29 razer and it should be done withoud ts, html etc
09:29 razer is this possible?
09:31 lilalinux razer: there is a nice exension for that
09:31 lilalinux wait a second
09:32 lilalinux ml_links
09:34 razer ty
09:34 _pedda_ hi all
09:34 SmaxTheFrog so anyone an idea why typo3 creates a new cookie instead of using the old one ?
09:35 maholtz|WORK session fixation fix
09:35 maholtz|WORK @SmaxTheFrog
09:36 SmaxTheFrog maholtz ?
09:37 SmaxTheFrog maholtz is that in 4.2 as well ?
09:42 lilalinux maholtz|WORK: I have a question about TS namespaces in TS: http://www.phlogi.net/fresh/t3/tspastebin/showPost/namespacesregisters/
09:43 maholtz|WORK @SmaxTheFrog: sure
09:44 lilalinux I defined a register in .1 that I use in e.g. .10 but now I want to refactor that, so that I can use the register elsewhere.
09:45 fred^ Do any one have a working configuration for the archive menu in tt_news? I want to show a archive regardless of wether a archive date is set. Basicly I just want year/month soring
09:46 fred^ sorting*
09:47 SmaxTheFrog ok for all who have the same problem a simple workaround is to redirect to url without www top level, since the typo3 cookie is set without www
09:55 foool I saw somewhere a flipbook ext for typo3 but now I can't locate it, anyone got a link, it's not in TERR
09:59 maholtz|WORK @lilalinux: use page.1 = LOAD_REGISTER
10:10 lilalinux maholtz|WORK: thx
10:15 razer i dont get it
10:15 razer how can i add to different internal links to my content?
10:15 razer i can only change all internal links
10:21 Krabatr Hallo, ich hoffe ich bin hier richtig. Ich suche eine Gallery ohne jeglichen schnickschnak! Dieses soll eine Thumbnail Ansicht erstellen, wobei dann jedes Bild auf das Original (in Original-Größe) verweist. Dieses soll sich dann in einem neuen Fenster öffnen. Kann mir da jmd. weiterhelfen?
10:22 Bluespuke Krabatr: chgallery vom ringerschorsch ;)
10:23 Krabatr ich danke dir! ich werde sie mal ausprobieren! Sieht schon recht gut aus
10:24 nd Haha...ringerschorsch... nice one
10:24 Bluespuke simpel und effektiv eben :p
10:24 razer is des hier nich englisch?!
10:24 nd Yes it is
10:25 razer schade : D
10:25 Krabatr oh i'm sorry! i did'nt know
10:25 maholtz|WORK @krabatr: use IMAGE-content element
10:26 maholtz|WORK you do not need any extension for that
10:27 Krabatr i tried that but the problem is that i have to link each pic with the original! an i have over 200 pics so that i think it is too mutch work
10:27 maholtz|WORK ? what means link it?
10:27 maholtz|WORK ah, ok
10:27 maholtz|WORK the popup is smaller than original?
10:27 maholtz|WORK well, it would be possible via typoscript
10:28 maholtz|WORK but i do not have the time today to explain
10:28 Krabatr ok! but thx for the tipp!
10:28 Recnelis Has anyone in here ever uploaded a fresh Typo3 to a IIS and just gotten a blank page? I don't see any errors or anything, and error reporting is on..
10:28 Recnelis Can't figure it out :S
10:29 Bluespuke someone know how to change the default country in the billing adress (tt_products is using static_info_tables)?
10:42 lilalinux I have a strange issue here
10:43 lilalinux When I load my page with shift-reload, I see the expected data, but when I reload it without shift, I see no data
10:43 lilalinux browser and typo3 caches are cleared
10:43 lilalinux shift-reload ok -> normal reload -> not ok, shift-reload ok -> ...
10:44 lilalinux The objects in question are of type COA_INT
10:50 maholtz|WORK which TYPO3 Version?
10:50 maholtz|WORK perhaps nested COA_INT?
10:51 daKmoR hey... I have 20 = IMAGE and 20.file = ... and with typolink.parameter I can link it to pages... but how can I link to the same picture but just in a bigger version?
10:52 Krabatr i have the same problem like daKmor
10:52 lilalinux maholtz|WORK: page.1 = LOAD_REGISTER didn't work. At least I can't access {register:month} from within lib_event
10:53 lilalinux or do I have to access it differently, when it's outside the current object?
10:58 DaRockness good morning
10:58 DaRockness im looking for the extensions page_php_content
10:58 DaRockness but cannot find it can anyone give me a download link please
11:01 maholtz|WORK @lilalinux: nope, it does not depend on...
11:01 maholtz|WORK wondering why it does not work...?
11:01 maholtz|WORK but you can output it on page.2?
11:01 lilalinux I'll check
11:03 lilalinux maholtz|WORK: yes
11:05 maholtz|WORK @lilalinux: hm... perhaps if you put an lib.register on top of your template.... ?
11:06 lilalinux lib.register = LOAD_REGISTER?
11:07 maholtz|WORK yep
11:07 daKmoR Krabatr I solved it with something like this http://support.typo3.org/snippets/c/37/
11:07 maholtz|WORK do not know
11:11 lilalinux maholtz|WORK: nope didn't work either. But for the moment I can live with that.
11:15 DaRockness whats the best way to get external php into typo3
11:15 DaRockness i have this typo3 installation but dont have time to get into typoscript
11:15 DaRockness i need to add some php to it tho
11:26 lilalinux How do I format a "constructed" date? I have register:month and register:year (both as numbers). Now I would like to output "March 2009"
11:27 lilalinux I guess I have to create a date "1-month-year" first and format it with strftime
11:29 zed_devil_2000 hi all together-- i have a problem with real url. i have cleard the speakin url cache. now every page in the chinese language is linking to "cn.html". is someone here who knows that problem?
11:35 foool I saw somewhere a flipbook ext for typo3 but now I can't locate it, anyone got a link, it's not in TERR
11:37 zed_devil_2000 flipping book >> http://www.cyberhouse.at/loesungen/content-management/typo3-cms/flipping-book/
11:40 foool thanks red
11:41 beli lilalinux: i cannot see what problems you have all the time with time and dates :) use regexp to format the output as you wish
11:43 Bluespuke someone has a link to a howto or similiar to use static_info_tables_de ?
11:43 Bluespuke would be nice ;)
11:44 lilalinux beli: If you don't use strftime, you would have to do that for each language manually
11:45 beli lilalinux: erm....you can for example move substrings behind the third occuring blank to another position
11:46 beli lilalinux: so you dont affect whats in the string...
11:46 beli lilalinux: use stftime AND regexp
11:46 beli s/stf/strf/
11:47 beli example: lets say you have "Month_in_any_language Year"
11:47 beli and you want it "Year:Month"
11:48 beli you can do that with regexp
11:49 lilalinux I have "3" and want it to be "March" or "März"
11:49 beli maybe split will help too to separate stuff
11:49 lilalinux or whatever language the user uses
11:49 beli ic
11:49 beli so you have 3 and a year
11:49 beli and need to build a timestamp for it that strftime can use?
11:49 lilalinux yes, but actually the year is irrelevant
11:50 lilalinux exactly
11:50 beli ok :)
11:50 beli i thought you've got that already
11:50 lilalinux When I try to construct the date I get unixtime 0 (01.01.1970)
11:51 lilalinux How do I construct a timestamp?
11:51 beli mktime
11:52 beli http://de.php.net/manual/en/function.mktime.php
11:52 razer sorry for buggin you again but i desperately need to add internal links with different class names
11:52 beli razer: be more specific and i'll try to help
11:53 lilalinux beli: mktime is php not TS
11:53 lilalinux there must be an easier way than userfunc
11:53 beli *shrug* i thought you are using userspace
11:53 razer beli, i want to add internal links to a page with classes="textflow" and "sublink" for example
11:53 razer so both links are internal but have different class names
11:54 beli lilalinux: but unixtime is just a math calculation...so you could do it on your own in ts
11:54 beli lilalinux: its just the seconds since 1.1.1970 passed so far
11:54 zed_devil sorry for posting second time -- i have a problem with real url. i have cleard the speakin url cache. now every page in the chinese language is linking to "cn.html". someone here who knows that problem?
11:55 beli razer: as a content element?
11:55 razer beli: yes
11:55 beli razer: ok so you use htmlarena editor?
11:55 razer beli yep
11:56 beli razer: do your content as usual...then click the <> button...you will see the source code...and add the class to your link
11:56 lilalinux beli: in theory yes, but 1) there are things like timezones and daylight saving 2) this is surely doable with existing TS
11:56 beli lilalinux: never done so far, sorry
11:56 razer but i dont want to switch to html mode because non-html people should be able to change is later
11:57 beli razer: ok then create a style that adds class="foobar" to your links...like you add bold style and stuff
11:57 razer how does that work?
11:58 razer isnt thera an extension that just adds a little input field to the internal link menu?
11:58 razer it could be so easy
11:58 beli you select text and its put into a div or tags or whatever
12:00 NublaII the NEWS_CATEGORY marker on a tt_news template outputs the list of categories it's been assigned
12:00 NublaII is there a way to just output the first one? can't find anything on the documentation
12:00 beli you see Bold Italic x_2 x^2 in the htmlarena? next to this you can select headings and stuff....you could add an element: internal link
12:01 beli razer: if you want to change behaviour of the htmlarena-link button....check html arena config....you can do much stuff there
12:02 beli ext_manager...loaded extensions....click on html_arena RTE....and read its documentation...you can setup more stuff via TS
12:03 lilalinux "There is no way to specify another timestamp than "now" so if you are looking for a way to format a date/time for some file or record please refer to stdWrap.date or stdWrap.strftime. "
12:12 lilalinux maholtz|WORK: do you know how to cast a string with a date into a unix-time/timestamp with TS only?
12:13 lilalinux e.g. 00:01 1-{register:month}-{register:year}
12:13 lilalinux I need to format that this with strftime, but strftime requires a timestamp
12:16 loswillios hi
12:17 loswillios I have one page and several subpages with exactly the same layout and want to have an "overview" on the toppage (ie, first content element of each subpage listed)
12:18 loswillios is there a way to automate that or is it faster to make it manually?
12:19 lilalinux loswillios: google:tsref records
12:20 loswillios thanks lilalinux
12:22 loswillios I found this http://wiki.typo3.org/index.php/De:TSref/RECORDS . Does that mean I have to deal with template f00?
12:24 NublaII loswillios: http://support.typo3.org/snippets/c/87/
12:24 NublaII check that out
12:24 NublaII maybe that works for you
12:24 lilalinux no, you create a TS-object with collected records
12:24 lilalinux and place that object on the page where you want it to be displayed
12:25 loswillios okies, thanks for the input guys. will do some reading
12:31 razer here comes the next one
12:32 razer i tried to include the nc_staticfilecache but it wont include pages with the searchbox
12:32 razer cause it thinks it is static
12:32 razer but it issnt
12:33 razer can i tell typo3 to ignore the standard searchbox when it decides weather to cache a page or not?
13:22 NublaII I want to generate an html page to send via email (a newsletter)
13:22 NublaII after fighting with hotmail (may the Lord curse it) I'm trying to figure out what's the best headers for my page...
13:23 NublaII does it even need a doctype?
13:49 beli NublaII: there are great newsletter extensions
13:50 beli NublaII: you create a content element and send it via newsletter with the look and feel of your webpage
13:50 ockmonix hi
13:50 beli NublaII: take a look at direct mail and newsletter
13:51 ockmonix whe i import a t3d file does the current pagetree and everything else get overwritten?
14:06 Cornelius hello
14:08 Cornelius can someone give me an advise? when users creating pages in my typo3 4.2.6, the pages are not visible to them .... they have to logout and login, then the pages will appear ... in my admin account the pages appear imediately
14:08 Cornelius their acl's are set correctly
14:29 Cornelius nobody an idea?
14:31 razer Cornelius: about what?
14:33 Cornelius when users creating pages in my typo3 4.2.6, the pages are not visible to them .... they have to logout and login, then the pages will appear ... in my admin account the pages appear imediately
14:33 Cornelius their acl's are set correctly
14:33 razer are they able to clear the be cache?
14:34 razer and reload tree from server doesn't work either?
14:34 Cornelius reload tree dont work
14:35 Cornelius no, they are not allowed to clear the cache
14:35 Cornelius the problem exists since about 2 days
14:36 maholtz|WORK @cornelius: perhaps an proxy?
14:37 Cornelius hmm, how could an proxy cause that? i dont think our proxy has changed
14:43 maholtz|WORK if it works since 2 days, you didnt change something
14:45 Cornelius no, nothing except pagecontent was changedin the last 2 days
15:00 lilalinux does typoscript have loops?
15:01 lilalinux I need to repeat a block 12 times. there's only one difference inside these blocks: a number 1..12
16:14 NublaII my whole site is setup to use iso-8859-1 encoding, but I need a particular page to be encoded in utf-8, what's the easiest way?
16:14 NublaII I've tried with page.config.renderCharset for that particular page, but doesn't work
16:36 techgurufloyd Do Translations work in the draft workspace? My website is not yet in the live workspace, and on preview I only see the default: english.
16:50 |00| does anyone know this problem where all tt_news dated on different months in a year get all counted and gathered in the January entry of the archive menu ?
17:00 fred^ |00|: I am trying to get my archive menu to show all news items regardless of archive date set. Do you know if its possible?
17:01 |00| hum....*searching info*
17:05 |00| fred : you may try plugin.tt_news.enableArchiveDate = 0
17:05 fred^ I am trying that, without success, but there might be something wrong altogether with my setup, since one news item which have archive date set is not showing up
17:07 |00| nope you would rather set
17:07 |00| plugin.tt_news.enableArchiveDate =1
17:07 |00| and
17:07 |00| plugin.tt_news.datetimeDaysToArchive = 0
17:07 |00| This should archive imediately any news you create
17:09 _pedda_ cu all
17:10 fred^ Hmm, I'll try creating a new one
17:11 NublaII I have my site setup with realurl to display urls with an ending /
17:11 fred^ Yeah, it worked, |00|
17:11 NublaII I need an specific page to respond to http://url/index.html instead of just http://url/
17:13 fred^ Hmm, it worked only when the news item did not have an category set
17:15 the_p hello. i have a question to smooth gallery i have a image with text content element and enabled the smooth gallery. now the text flow around the gallery does not work correctly. can anyone help me?
17:16 nkuttler NublaII: hm?
17:17 nkuttler the_p: are you sure that's not a #css question?
17:18 nkuttler NublaII: sounds like you want some 301 redirect
17:19 the_p nkuttler: yes because the html generated does not allow me to set the css so that it works.
17:19 nkuttler the_p: url?
17:20 the_p nkuttler: of my page?
17:20 nkuttler yeah
17:21 the_p nkuttler: here is the gallery on the page in the backend i set that the text should be left of the image like with the content element below which has a normal image inside it. http://architektur-haene.ch.newton.ch-meta.net/index.php?id=29
17:22 nkuttler the_p: hm, looks ok to me
17:22 the_p nkuttler: sorry the image left of the text i wrote it the wrong way around.
17:23 nkuttler ah, the text should be on the left for one or both?
17:23 the_p nkuttler: the problem is that i don't want to float the text around the image it should stay right of the image when the image is smaller.
17:24 the_p nkuttler: i made the image smaller to better ilustrate this.
17:24 nkuttler the_p: see pm/query
17:29 lilalinux Is there something like ACT for ordinary typolinks that are not in a HMENU?
17:33 nkuttler lilalinux: should be possible with conditionals, see tsref
18:49 techgurufloyd Am I supposed to make my "Main Content Area" into a FCE before I can translate the elements in the TV page module?
19:39 techgurufloyd Any ideas why my translated content elements are not showing up in the FE? I'm using templavoila in "disabled" mode
19:39 techgurufloyd Would that help to see the XML, or TS, or ...?
19:51 samek hello, does tt_news has max file size limit?
19:52 samek because i'm having problems uploading 28MB pdf
20:17 lilalinux Why doesn't this work? http://www.phlogi.net/fresh/t3/tspastebin/showPost/registernamespace/
20:26 chefan php has usually, samek
20:26 chefan oops
20:27 chefan and typo3 can load quite some overhead, so summed up, the problem might lie with the php ini maybe
20:31 techgurufloyd I'm using typo3 w/ tv and here is a snippet of my template setup: http://www.phlogi.net/fresh/t3/tspastebin/showPost/-f438611a45/ I can't seem to get the localized content to show up on the site. Notice: langDisable=1 in my DS
20:32 techgurufloyd Can anyone offer suggestions as to why?
20:39 the_p hello. i have a question i am modifying the rgsmoothgallery now i have the following problem in the original typo script of the gallery this is written register:textblockPadding this returns nothing. i need to insert here the margin from the left side in an element picure with text.
20:39 lilalinux techgurufloyd: this is my setup: http://paste.phlogi.net/localiation/
20:39 lilalinux I have german as first language "0"
20:40 lilalinux english is L=2
20:42 lilalinux techgurufloyd: did you add "alternative page language" already somewhere?
20:43 lilalinux techgurufloyd: and you must only add the foreign languages as "Website Language"
20:43 lilalinux don't add a website language for your default language
20:43 techgurufloyd yah - The global language record, and "alternative page language" on a couple of different pages. Plus I translated a couple of elements - but it's not showing up.
20:44 techgurufloyd right. I didn't add a website language for english.
20:45 lilalinux there is a mistake in your code
20:45 lilalinux you have config.config.* set
20:45 lilalinux in the first secton
20:45 samek chefan: no i'm pretty sure it's a typo3 problem
20:46 samek i can upload file up to 60mb.. but not in news
20:46 samek in other content that i have
20:46 the_p can anyone explain me what with register:textblockPadding means i now copied the orginal typoscript from the css_styled content but this doesn't work either.
20:47 lilalinux the_p: google:tsref register
20:48 chefan samek: backend upload like for instance extensions?
20:49 samek 1: Filesize (28 M) of file '/var/www/vhosts/ziegler.si/subdomains/www/httpdocs/fileadmin/Predstavitev_prezracevanja.pdf' exceeds limit (9.8 M). (tt_news:8:news_files)
20:49 samek i get this error
20:50 techgurufloyd http://www.phlogi.net/fresh/t3/tspastebin/showPost/template_ts_setup_snippet/ lilalinux: I changed it to this, saved, cleared the cache and portuguese still doesn't show up (neither the translated page title nor the content elements)... Ideas?
20:52 lilalinux techgurufloyd: how do you check that?
20:52 lilalinux do you add L=1 to the url?
20:52 techgurufloyd yah.
20:54 lilalinux you have set br to uid=1
20:54 lilalinux I think this is wrong
20:55 lilalinux hm, maybe not
20:55 the_p lilalinux: i can0t find a good page that explains this.
20:55 lilalinux I mixed that up with territory
20:55 lilalinux the_p: your question is too weak
20:55 lilalinux please be more specific then asking questions
20:56 lilalinux techgurufloyd: is the uid of br = 1?
20:56 lilalinux s/then/when
20:56 samek chefan: any idea?
20:57 techgurufloyd yah br = 1 (es = 2 and de = 3, but I haven't translated anything in those, and figured I'd get it working in portuguese and then copy the settings to start on spanish and german as well.)
20:58 chefan apart of reviewing tt_news code for upload restrictions, no
20:59 chefan i was just guessing because the upload limit problem is not uncommon, even with values sicnificantly lower than the configured php.ini limit
21:00 the_p lilalinux: there is a bug in the typo script of the rgsmoothgallery extension i could figure out the exact position of the problem it is this. 20.dataWrap = <div style="padding-left:{register:textblockPadding}px;"> this line of typo script produces <div style=""> but it should insert the width of the image gallery + distance to the image gallery so that the text gets padded on the left.
21:00 techgurufloyd lilalinux: If you'd be willing, and have the time to help, I can give you access to the t3 setup for a bit.
21:00 techgurufloyd Does it make a difference that I've only got this stuff in the draft workspace? I know that it's using the content from the draft workspace at least for english - because it won't show anything in the live workspace.
21:00 the_p lilalinux: now i thougt i just open the typo script of the css_styled content and look what is used there to get this padding and inserted it and this did not work.
21:02 the_p lilalinux: in the typo script of css styled content this typo script is used to get the padding: <div style="margin-left:{register:rowWidthPlusTextMargin}px;">
21:02 the_p lilalinux: and i don't even know what this register: means so i have no chance to understand why this does not work.
21:26 sorenmalling Hi, im working on a extension :) I've come to a tricky part, when i want to create a new record in the backend, i wan't the user to choose from a dropdown list/selector and when that is done, refresh the site and bring some new fields depending on the selection made in the selector
21:27 the_p i need help of someone why do the register:... statements in my typo scripts not work?? how can i find out the problem?
21:28 sorenmalling the_p: Can you be more precise? :)
21:29 the_p sorenmalling: there is a bug in the typo script of the rgsmoothgallery extension i could figure out the exact position of the problem it is this. 20.dataWrap = <div style="padding-left:{register:textblockPadding}px;"> this line of typo script produces <div style=""> but it should insert the width of the image gallery + distance to the image gallery so that the text gets padded on the left.
21:30 the_p now i thougt i just open the typo script of the css_styled content and look what is used there to get this padding and inserted it and this did not work.
21:30 the_p in the typo script of css styled content this typo script is used to get the padding: <div style="margin-left:{register:rowWidthPlusTextMargin}px;">
21:36 the_p is this really that difficult that nobody can help me. i also really can't find any documentation about this register: only pages with examples. please help me.
21:54 mangan to every crazy typo3 developer: have a nice evening
21:55 techgurufloyd Does the draft workspace support multi-language sites?
21:55 daKmoR t3lib_extMgm::addStaticFile($_EXTKEY,'pi1/static/', '...'); do the files in there need to be name setup.txt? or can it be setup.ts?
22:26 the_p sorenmalling, lilalinux: now i found out that the register which is read in this exstension is not set before and the registers in css styled content are logically set in the php functions which are colled in this typo script. i could fix this now with some changes in the php userfunction of the exstension.
22:39 daKmoR can I use subselects in my typo3 extension?
22:39 daKmoR or what's the proper way to use subselects in typo3?
22:40 lilalinux daKmoR: inside the join
22:40 daKmoR lilalinux with subselect there is no join?
22:40 lilalinux daKmoR: depends on
22:40 lilalinux you can use subselects whereever you want
22:40 daKmoR I mean it works... its just a string inside the where clausel
22:41 lilalinux show me your query
22:41 daKmoR I'm just wondering if this is like typo3 want's it...
22:41 lilalinux write down your query and cut it at the positions allowed by typo3
22:41 daKmoR http://pastie.org/414640
22:41 lilalinux nakmely you can use: selkectfield, join, where, andwhere
22:42 lilalinux this is php
22:42 lilalinux not TS
22:42 daKmoR yeah as I said inside the extension...
22:43 lilalinux i see
22:43 daKmoR pi1 php code
22:43 lilalinux well, in php you can do whatever you like
22:43 daKmoR yeah I know... but I want to do it in the "proper" TYPO3 way... :p
22:44 daKmoR and I was wondering if there is guideline how to make subselects in typo3 extensions
22:44 lilalinux I see no reason why subselects should be wrong
22:44 lilalinux apart from mysql being wrong by nature :-)
22:45 daKmoR ok, than I will just use it... :p
22:45 daKmoR thx
22:45 lilalinux however
22:46 lilalinux subselects might be fine, but IN queries are extremely slow in mysql
22:46 lilalinux you might want to rewrite it as an EXISTS query
22:49 lilalinux Why doesn't this work? http://www.phlogi.net/fresh/t3/tspastebin/showPost/registernamespace/
22:50 chefan daKmoR: database abstraction and standardization has it's downsides when it comes to performance
22:50 chefan the "typo3 way" if any is great if you want to collaborate with other typo3 users/developers
22:51 chefan but performancewise it is sometimes a good idea to just leave it aside
22:52 daKmoR chefan is this for or against subselects? :p
22:52 lilalinux daKmoR: it's against TS :-)
22:53 daKmoR har har...
22:53 daKmoR but I love TS
22:53 chefan me too
22:54 chefan it is like programming musql over jdbc in a nationalized java dialect with the classes translated to sanskrit
22:54 chefan mysql
22:54 chefan queries
22:54 lilalinux heheh
22:55 chefan ts is a templating script written in a templating script, that just happened to get put on steroids
22:56 lilalinux How do I get a random image from a folder in TS?
22:57 chefan what do you get when you grep -rH tslib for rand\(\) ?
23:02 lilalinux nothing about folder, only random records
23:32 techgurufloyd what does [global] do?
23:52 techgurufloyd Are multi-line comments aloud in TypoScript using /* ... */? I can't find it now, but I was sure I read that somewhere.
23:55 techgurufloyd bug#4453 Ah. Now I know why I was having so much trouble with my localized template... I tried to use a multi-line comment. When did that break? I know I've used it before... (though it's been a while, like version 3.8 ish)

Technologies


R. van Twisk 2004-2010 R. van Twisk / Avenida Diego de Almagro No: 22-47 y Juan Severino / Quito Ecuador
callto://r.vanTwisk | Support: +1 (803) 4263350

© 2012 R. van Twisk. All Rights Reserved.