Search the website and IRC logs

#TYPO3 IRC log from : Monday 30 November 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
08:56 PiMB morning
09:15 maholtz|WORK morning
09:19 PiMB Hi
09:38 snoy_ms Hey all ;-). Small question, i am still searching for a small Quiz Extension. Until now i tried "Quiz a. Poll", "sz_ a. sr_ quiz". The Quiz a. Poll is to complicate for my customer and the others aren't working. Anyone an other idea ?
09:39 PiMB what are you trying to achieve?
09:43 snoy_ms i needa small quiz for kits
09:44 snoy_ms One question (some answers)
09:44 snoy_ms if you click on one answer it gives you the correct answer.
09:44 snoy_ms then comes the next question....
09:44 snoy_ms thats it
09:46 PiMB maybe pd_survey can help?
09:46 PiMB pb_survey, sorry
09:47 milpoer hi all.. im using the ve_guestbook ext, and want the newest entry shown in a right column, i have tried to find out how to include it in the TS-conf like tt_news, but havn't any luck yet.. any hints ? the manual just state have to conf fra TS-conf not have to insert, have tried following: http://www.phlogi.net/f/t3/tsp/sp/ts_and_ve_guestbook/ but thats not enough..
09:48 snoy_ms PiMB: thx, i take a lokk
09:48 snoy_ms look
09:49 PiMB (Y)
10:46 unbob1 hey, I have a clean install of 4.3RC2 with templavoila, and I get the message "Class 'tx_templavoila_pi1' not found in /t3lib/class.t3lib_div.php on line 4942"
10:46 unbob1 thats the makeinstance function
10:46 unbob1 anybody know what's up?
10:50 unbob1 that's in the frontend I should say
10:53 mulilo hii've implemented a hook
10:54 mulilo that doesn't let activate two events on the same date and hour to a backend user
10:55 mcfly_ hello
10:56 mcfly_ i need some help with ext development
10:56 mulilo now when you clic to the unhide it simply doesn't do anything if there's another event on that date
10:56 mcfly_ how do i modify a db-table when creating the content-element for my ext?
10:57 mcfly_ so e.g. i create my ce "parking garage"
10:57 mulilo but I would like to output something like a popup or a message on the BE to give feedback to the BE user, so that he knows what is happening
10:57 mulilo but no output works inside the hook
10:57 unbob1 ahaha, this won't work
10:57 mcfly_ and upon creation i want to populate the table "parking_spaces" with 20 new rows
10:57 mulilo how can I achieve this?
11:02 Prot0|away u want to add the rows when the extension is installed?
11:02 mcfly_ no
11:02 mcfly_ they have to be flexible
11:03 mcfly_ and new ones get added
11:03 mcfly_ basically i'm just looking for a hook once a new record gets created
11:03 mcfly_ it creates the "parking garage" record just fine
11:04 mcfly_ i just need it to run some sql on "foreign" tables
11:04 Prot0 erm
11:05 mcfly_ maybe the parking example was bad. umm
11:05 mcfly_ another try
11:05 mcfly_ i create a new event
11:05 Prot0 wait
11:05 Prot0 hehe
11:05 mcfly_ of type 2
11:05 Prot0 so you need a hook, that is called after a new record is created?
11:06 mcfly_ type2 means there are 12 areas for booking, so i need the "event_areas"-table populated with 12 new rows
11:06 mcfly_ yes, basically
11:06 Prot0 k
11:06 Prot0 just say that than ;)
11:06 mcfly_ ;)
11:06 Prot0 processDatamap_afterDatabaseOperations
11:07 unbob1 hmm, is 4.3.0 out today? shouldn't this be announced somewhere?
11:07 Prot0 yes later today i believe
11:07 Prot0 it was postponed a little
11:08 mcfly_ okay, thx Prot0
11:08 unbob1 cool
11:08 mcfly_ i need to do some hook catching up i guess ;)
11:08 Prot0 just look in the core :]
11:08 Prot0 i knew af one that did it before the database operations hehe
11:09 kraftb good morning !
11:09 Prot0 morning ;]
11:15 dokma kraftb: you know how to trigger including of the bundled prototype and scriptaculous?
11:15 dokma from TS
11:16 Prot0 page.includeJS ?
11:16 kraftb yes. I would also simply use page.includeJS.scriptaculous = typo3/contrib/bla/scriptaculous.js
11:16 dokma Prot0: well that seems to me a bit dirty. I expected something like config.includeProto = 1 since it is bundled
11:16 kraftb but if you need to pass the ?modules parameter, you'll beter use page.additionalHeaders
11:17 kraftb page.includeJS doesn't respect and ? parameters for the URL of the JS
11:17 dokma I just need to include it
11:17 kraftb would call it a bug ...
11:17 dokma ok guyz you convinced me... I'll use includeJS
11:17 kraftb you could check if this is not already reported in the bugtracker and file a new bug ... it should of course be possible to use includeJS for scriptaculous.js?bla=modules
11:18 Prot0 hehe
11:29 randomresult hi there
11:32 Prot0 hello
11:34 Prot0 4.3 has been officially released :]
12:01 milpoer hi randomresult
12:07 nkuttler oooh, shiny, extbase in 4.3
12:13 randomresult how many css-files can be included with inludeCSS?
12:13 randomresult i included 3.. but only 2 are included
12:13 randomresult someone knows why?
12:13 nkuttler hm, i guess i'll have to check the forge ext. "The rest of the logic needed is in the templates" does sounds very MVC, unless it's pure view logic
12:14 nkuttler randomresult: does the third file exist?
12:14 Prot0 randomresult: does the file exist?
12:14 randomresult jepp
12:14 randomresult ill check that
12:14 Prot0 if it doesn't or its not accessable it will not load it
12:14 Prot0 theres no limit on it as far as I'm aware of
12:15 randomresult it is not located in the fileadmin
12:16 randomresult thats maybe the point...
12:16 randomresult when i include the last one over headerData it is available
12:16 randomresult hmmm
12:31 Conic does someone know this bug (4.3 final), when i want to change the access lists for a be group:
12:31 Conic 2: SQL error: 'Unknown column 'fileoper_perms' in 'field list'' (be_groups:5)
12:32 Conic can someone check this if it's the same for him/her?
12:34 Conic it throws this error if i just open and save the be_group again... without changing anything
12:55 pulponair hi there
13:11 Prot0 Conic: did you upgrade?
13:11 Conic Prot0: sry, found the issue, forgot the db compare ;)
13:11 Conic problem solved
13:11 Prot0 hehe
13:11 Prot0 was just about to suggest that hehe
13:28 bluespuke someone allready uses tt_news 3.0?
13:29 bluespuke i'm getting a trailing '?>' in the FE, it has to come from tt_news
13:30 Prot0 nope
13:30 Prot0 prefer to wait a little :]
13:34 bluespuke is there a bugtracker specific for tt_news?
13:34 Prot0 probably, look in the forge
13:34 Prot0 or subscribe to the tt_news mailinglist
13:35 Prot0 http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-tt-news
13:35 Prot0 http://forge.typo3.org/projects/show/extension-tt_news
13:36 bluespuke ty!
13:41 bluespuke found it in the bugtracker: http://bugs.typo3.org/view.php?id=12808
13:52 bluespuke what editor are you using to make links to internal pages with realurl?
13:52 Prot0 how do you mean?
13:52 bluespuke seems that tinymce_rte won't work with advancedfeedit :s
13:52 Prot0 :o
13:52 Prot0 rtehtmlarea
13:53 bluespuke making textlinks in content like domain.com/pagexy and not domain.com/?id=17 for example
13:53 Prot0 got it: rtehtmlarea
13:53 Prot0 ;]
13:55 bluespuke cool, i didn't know that the editor can do it :p
13:58 Prot0 lol
13:58 Prot0 rtehtmlarea works for me :]
14:18 mcfly__ hey Prot0 i have to bother you again
14:19 mcfly__ do i need special sql syntax when calling/using the hook?
14:19 Prot0 :]
14:19 Prot0 go ahead
14:19 Prot0 erm
14:19 Prot0 no
14:19 Prot0 have you used hooks before?
14:19 mcfly__ nope
14:19 mcfly__ i'm pretty sure i've got it to call the function though
14:19 Prot0 yup
14:20 mcfly__ i had a debug error that it couldn't find it due to a typo
14:20 mcfly__ fixed that. no more errors
14:20 mcfly__ just that it isn't doing anything ;)
14:20 mcfly__ been using the regular $GLOBALS['TYPO3_DB']->exec_INSERTquery() inside the func
14:20 Prot0 probably better to just print something
14:21 Prot0 instead of poluting the DB
14:21 mcfly__ i included/registered the class according to: http://typo3.org/development/articles/how-to-use-existing-hooks/page/3/
14:21 Prot0 ok
14:22 mcfly__ in other words the getUserObj-method
14:22 Prot0 do you have tt_news installed by any chance (2.5.x)
14:22 Prot0 theres a good working example in there
14:23 mcfly__ i'll have to look
14:23 mcfly__ i'm just screwing around with the "testsite" atm
14:23 Prot0 hehe
14:23 mcfly__ hahah oh
14:24 mcfly__ it does come with tt_news
14:24 Prot0 :]
14:24 mcfly__ v1.0.4 ;)
14:24 Prot0 lol
14:25 Prot0 did you add the line to your ext_localconf.php?
14:25 mcfly__ yup
14:26 mcfly__ i'll see what tt_news can teach me
14:26 mcfly__ thanks a bunch
14:27 Prot0 cleared configuration cache
14:27 Prot0 ?
14:27 mcfly__ yup
14:27 Prot0 in tt_news you can look in class.tx_ttnews_tcemain.php
14:27 Prot0 and the ext_localconf.php
14:28 mcfly__ i'm pretty sure i included/registered the hook/class correctly
14:28 Prot0 the hook I gave you can be used in the same way
14:28 Prot0 well
14:28 Prot0 there are different ways to do so
14:28 mcfly__ since it warned me of the typo in the path
14:28 Prot0 :]
14:28 Prot0 ah
14:28 Prot0 well in that case print or exit() something to see if it loops through
14:28 mcfly__ so i got the little bomb-symbol which opened the debug window after adding a new record (which is the right time)
14:32 mcfly__ alrighty then. learned something else
14:32 Prot0 hehe
14:32 mcfly__ never use "save&close", since it's absolutely useless
14:32 Prot0 nah its not :]
14:32 mcfly__ when i just save, i still get the error that it can't find the class
14:33 Prot0 erm
14:33 Prot0 its a BE module right?
14:33 Prot0 yeah
14:33 Prot0 silly me
14:33 Prot0 the pi is included in the FE
14:33 Prot0 you can make a require_once or something in the ext_localconf
14:34 mcfly__ i havent gotten to the be-module part yet
14:35 Prot0 its not a module
14:35 Prot0 :]
14:35 mcfly__ for now i'm just working with an ext-content-element
14:35 mcfly__ not sure what exactly that's called
14:35 Prot0 lol
14:35 mcfly__ in tt_news terms: i'm creating a news
14:36 mcfly__ and once i save the news i want the hook to populate a different table with some content, depending on what type of news
14:36 Prot0 yup
14:36 Prot0 however tt_news does the hook before the database operations
14:37 mcfly__ whatever works best
14:37 mcfly__ i'm not totally set on when/where and how anything happens
14:38 Prot0 if you look inside the core it's described there (just look for the name of the hook)
14:40 mcfly__ my head is about to explode
14:40 mcfly__ i vaguely understand what is happening
14:40 mcfly__ and "processDatamap_afterDatabaseOperations" should work
14:40 mcfly__ in theory
14:42 Prot0 yup
14:42 Prot0 hehe
14:42 Prot0 drink some coffee it helps
14:50 mcfly__ so i got myself some coffee. removed the ext. reinstalled it. now it seems to load the class...
14:50 Prot0 lol
14:57 PiMB so, coffee did the trick?
14:57 Prot0 told ya!
15:04 mcfly__ coffee always seems to do the trick
15:04 mcfly__ though with all the problems to come, i'm kinda concerned for my health
15:06 Prot0 lol
15:06 PiMB switch to decafe. maybe not always the best solutions but it's a good replacement ;)
15:07 Prot0 yes, when I have day full of issues I always come home with belly aches
15:07 Prot0 hehe
15:14 ries decafe....yuck!!!
15:14 Prot0 indeed
15:14 ries Better is to have a good espreso machine.. I always get belly problems from drip or instant coffee
15:15 ries never with espreso (fresh coffee) or capuchino's
15:15 Prot0 i will suggest my boss to buy us an espresso machine
15:16 Prot0 with some excuse that it will increase productivity, ill just need some charts
15:16 ries Prot0: ask him to buy a automatic machine but that needs real beans
15:17 Prot0 amen
15:17 ries this one is great for a small office : http://www.zappos.com/n/p/p/7475084/c/632.html
15:17 ries it cost about a quarter of a month salery, but you will have it for years to come
15:18 Prot0 unfortunatly it goes a little over the "coffee machine budget" I think hehe
15:18 Prot0 quarter of a month salary? hmm you make me feel heavily underpaid :D
15:18 ries I have this one : http://www.google.com/products/catalog?hl=en&safe=off&q=gaggia+classic&cid=12459526956019238052&sa=title#p
15:19 ries But that one is less good for a office
15:19 Prot0 lol: $474 new, $483 used
15:19 ries used they are even better ;)
15:19 Prot0 hehe
15:20 ries still.. even if it's half a month salery.. it's a good buy for an office
15:20 ries it makes great coffee and a good office environment will boost productivity
15:20 Prot0 im pretty sure it would be, but convince my boss of that :]
15:22 ries Just talk to him...
15:22 ries tell him it would be a great X-mass item for the office :)
15:22 Prot0 problem is, he would have to buy 2 ;]
15:31 Prot0 ries: Are you going to update the channel subject?
15:31 ries Ahh.. is 4.3 released?
15:31 Prot0 yup
15:36 Prot0 :]
15:44 PiMB @ Prot0, already added to the worldmap?
15:44 PiMB and btw I need a cappucino machine.
15:44 PiMB no need for espresso
15:44 Prot0 well
15:45 Prot0 I guess we have a problem than
15:45 Prot0 Because I need an espresso machine ;]
15:46 randomresult anyone updated to 4.3 with using TV?
15:47 Prot0 @ PiMB: done that now, don't really know where to set the pointer on the map though ;]
15:47 randomresult we made an update and now... there is only a white page ... nothing get rendered
15:48 Prot0 checked your error logs?
15:48 PiMB @Prot0, you should be able to change it afterwards. But I 'lost' my edit id. I wanted to check the certified box..
15:48 PiMB kinda can't now.
15:49 Prot0 hehe
15:50 mcfly__ oh man. this whole ext deal is just bad luck
15:50 Prot0 lol
15:50 Prot0 :)
15:50 Prot0 whys that?
15:50 PiMB coffee stopped working?
15:51 mcfly__ that must be it
15:51 mcfly__ whenever i create a new record now and my hook class is registered in the globals, i just get a blank screen
15:51 mcfly__ even when the class&function is just empty
15:52 Prot0 once again, did you check your error logs?
15:52 Prot0 :]
15:53 mcfly__ nada
15:54 Prot0 cleared conf cache (hard delete on the temp_CACHED files in typo3conf/
15:58 mcfly__ hmm
15:58 mcfly__ now that i changed function processDatamap_afterDatabaseOperations($status, $table, $id, &$fieldArray, &$this) {...
15:58 mcfly__ to function processDatamap_afterDatabaseOperations($status, $table, $id, &$fieldArray, &$pObj) {
15:58 mcfly__ it does work
15:58 mcfly__ for now at least
15:59 PiMB great then1
16:00 ries PiMB: cappucino is made using a espresso machine ;) http://en.wikipedia.org/wiki/Capuchino
16:01 PiMB true, then at least need an Aeroccino ;]
16:03 mcfly__ finally things are looking a bit brighter. houston, we have succesful db-activity ;)
16:03 mcfly__ thx guys and sorry if i was too annoying
16:03 randomresult damn... 4.3 with TV... no way
16:04 Prot0 :]
16:11 iaj` hi there
16:11 iaj` PiMB, are you around?
16:12 PiMB Yes I am
16:13 iaj` PiMB, you were the profi concerning powermail stuff right? I'm having a question.. is there any way to set the from address that customers receive...
16:13 iaj` in the settings pane of the current powermail item?
16:18 Prot0 is the mail address now "powermail" ?
16:18 Prot0 or at least the name
16:18 iaj` yeah
16:18 iaj` a thing that need's a change :p
16:18 Prot0 unfortunatly thats hardcoded into the ext for some reason
16:18 Prot0 (got no idea why they did that though)
16:19 iaj` haha :D omg so I'd need to change the sourcecode?
16:19 Prot0 since I think 1.5.x but im not entirely sure
16:19 iaj` hmpf
16:19 Prot0 or downgrade powermail hehe
16:19 iaj` well.. ok..
16:19 iaj` and the custom from adress?
16:19 iaj` can that be changed?
16:20 iaj` where do I have to look to find that one?
16:21 Prot0 in the source somewhere dont know exactly where
16:21 iaj` did a grep 'powermail'
16:21 iaj` obviously - not a good idea
16:22 Prot0 hehe
16:22 PiMB :)
16:22 PiMB isn't there a TS setting for the from email?
16:22 Prot0 no i think this is a bug with powermail
16:22 iaj` hmmpff besides that - that plugin rocks.
16:24 Prot0 well
16:24 Prot0 yes and no
16:24 Prot0 hehe
16:24 Prot0 it's pretty buggy
16:25 Prot0 but the functionality is great
16:26 Prot0 certainly for form building its great
16:27 iaj` mailformplus only gave me trouble
16:27 iaj` so I switched
16:27 iaj` and am happy with it so far
16:27 Prot0 :]
16:28 Prot0 if you start using it for more than contact forms youll discover its dark secrets!
16:28 Prot0 (j/k)
16:28 iaj` are attachments
16:28 MarwolTuk good evening guys
16:28 iaj` easily possible/
16:28 iaj` g'eve
16:28 Prot0 its only 16:34 here :x
16:28 Prot0 yes
16:28 iaj` yay.. ok...
16:29 Prot0 :]
16:29 iaj` another thing how would you guys accomplish that - have a form.. when you submit.. a mail is sent.. you're being taken to another page
16:29 iaj` where the mail you entered is filled into another field
16:29 iaj` that possible?
16:30 Prot0 erm, not if you want to go to another page
16:30 Prot0 but you can show the thank you message on the form page itself instead of the form
16:30 Prot0 you can use all field variables and ###POWERMAIL_ALL### etc
16:31 iaj` hmmm... i want to have another form.. and one value entered there
16:31 iaj` should be from the previous page
16:31 iaj` :D
16:31 MarwolTuk ...but it's tsarting to get dark outside :-P -- anyway, does someone know if it's possible to hook up the select-statement wch selects the pages for a tmenu with a specific where clause, or otherwise exclude pages from meny by a sprcific database field?
16:31 Prot0 you can set fields from typoscript for that
16:32 MarwolTuk can you give me a hint? -- it's becase i was serching tsref right for a while...
16:32 iaj` Prot0, i dont get the meaning of what you just wanted to tell me :(
16:34 Prot0 well thats an advanced feature
16:34 Prot0 you can add a field with a TS object
16:34 Prot0 in there you can set the GP variable
16:34 PiMB @MarwolTuk, what about the option, exlude from menu?
16:34 Prot0 I got to go!
16:35 PiMB does that provide you with anything usefull?
16:35 Prot0 bye bye
16:35 PiMB me 2
16:35 PiMB bye!
16:35 PiMB quit
16:35 iaj` rm P* -rf :/
16:39 MarwolTuk hmm...
16:42 MarwolTuk the only two exclude functions i can find are excludeUidList and excludeDoktypes from HMENU, and they both don't fit my requrements... - I'm trying to set up some alternative Layouts for the Page by using TCEFORM.pages.layout.altLabels in BE-config, ant i want to get a menu, listing only pages with one specific layout...
16:45 Phlogi hi guys :)
16:55 Phlogi anyone knows how this scheduler is implemented?
16:56 Phlogi ah I see: An administrator only needs to set up the Scheduler as a cron job
17:01 wush After i have moved my Typo3 installation to a new server i get only a blank page anymore. i moved all typo3-files and mysqldump. any idea maybe? on the new server are differend versions of php, mysql and apache.
17:02 Phlogi wush: does the install tool work?
17:02 wush do you mean /typo3/install? no i get a blank page
17:04 MarwolTuk are you shure the http-server works correctly, and php is running? -- maybee test it with a phpinfo-script ;-)
17:05 wush yes i did a phpinfo-script test
17:05 wush in the typo3_src folder
17:08 MarwolTuk so, i wold try it in the install folder and check the .htaccess-files, if phpinfo was working in typo3_scr
17:09 wush this works too
17:11 MarwolTuk erm... - did you disabled the install tool in the last installation as it was sugested? -- if so, try to reenable it ;-)
17:11 wush ok, something new happend
17:12 teppi|working wush, a blank page is normally a php error which is supressed by php config
17:12 wush i renamed _.hataccess to _old
17:12 wush In the source distribution of TYPO3, the install script is disabled by a die() function call.
17:13 teppi|working ok could be .. but there is something put out before afaik ..
17:13 wush teppi is right. i commented it out and i get the same blank page again
17:14 wush how do i get the php error teppi?
17:14 teppi|working its the error_reporting level ..
17:14 teppi|working is set in php.ini imho
17:14 miousse display_error on
17:15 teppi|working ah yes and this
17:29 Phlogi hmm there are some weird things in the new version
17:43 MarwolTuk bye
17:45 Phlogi is there any documentation about setting up the scheduler correctly? I mean the cronjob for it?
18:25 pulponair are the tce_db functions avaible via ajax as well?
20:50 nkuttler hm, 4.0 isn't listed in the old stable versions any more. is there still security support for it?
20:50 nkuttler (that is on the download page)
21:15 wush no its gone. no updates anymore i guess :)
21:18 wush is any move typo3 installation to another server guru present? :) after restoring my sql-database i dont get any working connection, only blank pages :-/
21:32 nkuttler wush: hm, try to delete local cache, cookies, typo3temp/* typo3conf/temp_*
21:32 nkuttler i guess i'll wait until the next security upgrade and see if 4.0 is still included
21:34 nkuttler does anybody know if the task center extensions are still supported? last updates were 2006 and they don't really work a 100%..
21:38 uriahheep ello
21:38 palces Hello. Please help me. I have install typo3 and image magick (convert, composity, identity version 6.4.8) . Basic install write GDLib found PNG supported GIF supported JPG supported (not used by TYPO3) GIF / PNG issues, But images are not display on page. And in backend is not generated thumb. What is wrong?
21:38 uriahheep uh, has anyone here used $SESSION\
21:38 uriahheep vars in their USER_INT?
21:38 uriahheep $_SESSION[]*
21:39 uriahheep palces: perhaps you have set the wrong path to imagemagick commands?
21:40 uriahheep kraftb: ping? :P
21:40 palces I dont know. It was loaded automatically on my webhost (hostwoot)
21:40 uriahheep hmm, k...
21:41 uriahheep do you have ssh access to the server? perhaps if you could find proper paths that way...
21:41 kraftb hey ...
21:41 kraftb uriahheep ^
21:42 nkuttler palces: use the install tool, check paths, preview etc there
21:42 uriahheep kraftb: hey man, sorry to bother you :) but is it possible to use $_SESSION vars in a USER_INT?
21:42 palces No I havent access to webhost
21:43 kraftb hmm ... if you want to store/use session data there are two ways ...
21:43 uriahheep palces: ok so as nkuttler said verify that typo3 can find the imagemagick binaries in the install tool ;)
21:43 kraftb one is integrated in TYPO3 - for the other there exist (various) extensions
21:43 uriahheep hmm, i think i'd prefer the typo3-integrated one
21:44 uriahheep ;P
21:44 palces I try look installation.
21:44 palces Current configuration ImageMagick enabled: 1 ImageMagick path: /usr/bin/ (6.4.8) ImageMagick path/LZW: /usr/bin/ (6.4.8) Version 5/GraphicsMagick flag: im6 GDLib enabled: 1 GDLib using PNG: 0 GDLib 2 enabled: 0 IM5 effects enabled: 0 (Blurring/Sharpening with IM 5+) Freetype DPI: 72 (Should be 96 for Freetype 2) Mask invert: 0 (Should be set for some IM versions approx. 5.4+) File Formats: gif,jpg,jpeg,tif,bmp,pcx,tga,png,pdf,ai
21:44 palces All ok. Writting OK, reading OK
21:44 kraftb about the core way: http://typo3.org/documentation/document-library/core-documentation/doc_core_tsref/4.2.1/view/1/14/#id4622009
21:44 uriahheep kraftb: just to keep things simple ;)
21:44 kraftb this explains how you can have input fields, and let them get stored in a session variable
21:45 palces Scaling OK
21:45 kraftb I do not know how to retrieve them afterwards, but I guess it should be possible by .data = TSFE:session|recs or something similar 8
21:45 kraftb (I think the session variable is loaded into TSFE)
21:45 kraftb the other way would be .... *drums-and-music* "kb_ts_session"
21:45 palces combining OK
21:46 kraftb it allows you to define get/post vars which should get kept transparently within the browsing/user session
21:46 palces GD library OK too
21:46 kraftb you can define a get/post var, and it's contents will get stored in a session variable, and restored from there into the get/post vars on every page hit.
21:46 uriahheep kraftb: lol, cool, thanks :) since i'm using php the easier way would probably be core ;)
21:47 kraftb you can for example use it to get the &L parameter out of the URL for "not-realURL" sites
21:47 uriahheep kraftb: that's the thing, i'd rather not do it via get/post as to keep urls clean ;)
21:47 kraftb both methods are easy. My variant doesn't bind you to specific fieldnames - so it's probably easier if you already have some forms
21:47 nkuttler any recommendation for a nice downloads ext? without dam.
21:48 kraftb if you just want to store session data, not using get/post I would suggest the following:
21:48 kraftb http://typo3.org/documentation/document-library/core-documentation/doc_core_tsref/4.2.1/view/1/14/#id4617499
21:48 uriahheep palces: try playing around with configuration vars then, look at "all configuration" in the install tool
21:48 uriahheep kraftb: thanks a lot :) hopefully i can perfect this script tonight now!
21:50 uriahheep kraftb: will the last link that you posted work even if no fe user is logged in?
21:50 kraftb yes. if you decide to store "user" sessions they are valid whenever the user logs in, or if no user is logged in for the current browsing session.
21:51 kraftb if you decide to use "session" they are always just valid for the current browsing sessin.
21:51 uriahheep cool, thanks a lot :)
22:46 nkuttler hm, one ext tries to get data from a static_languages table which doesn't exist in any of my typo3 installs. is this a bug?
22:48 nkuttler it's reference a few times in the source, mostly in sysexts, but all my typo3 sites run smoothly
23:21 Phlogi anyone tried openid auth already in t3 4.3?
23:25 uriahheep kraftb: do i need to call $GLOBALS["TSFE"]->storeSessionData(); afterwards?
23:25 kraftb sometimes ;)
23:25 uriahheep hmmm...
23:25 kraftb if you would like to make sure
23:25 uriahheep in what situation?
23:25 kraftb but usually it gets called when the script ends
23:26 kraftb but I experienced session values not being saved if I did not call it.
23:26 kraftb calling it is no fault
23:26 Phlogi ah works now :)
23:26 uriahheep hmm, k
23:27 Phlogi 4.3 is cool, but has some bugs of course
23:27 kraftb Has anyone of you ever donated money to the PHP Foundation ???
23:28 kraftb I just came to the conclusion this should be a "must" for every passionate TYPO3 deployer
23:29 kraftb I mean: if people donate to the Association, but not to the PHP foundation, thats like buying a new car, but declaring war on petrol companies
23:32 uriahheep kraftb: i probably will some day, but right now i need to pay for rent/food first and don't have any extra money ;) i'm practically working for free right now lol
23:32 kraftb same with me ...
23:33 kraftb my bank account dropped about to the half during about the last 5-10 monts
23:33 kraftb but mostly because of social insurance payments, etc.
23:38 uriahheep heheh
23:38 uriahheep my account has JUST enough money to pay rent this month ;)
23:38 uriahheep i'm fine with it as long as i can find enough for the next month as well
23:38 uriahheep i'm hoping luck will make it so
23:40 uriahheep hmm....
23:40 uriahheep for some reason this session stuff isn't working
23:42 uriahheep kraftb: http://uriahheep.pastebin.com/d736976d
23:43 uriahheep kraftb: do you think you could take a look at this code and tell me if you see any mistakes in the session stuff please?
23:43 uriahheep kraftb: mostly i function pastoFindQuery, the part about pastoSearch
23:44 uriahheep kraftb: for some reason it doesn't remember the session data
23:45 uriahheep kraftb: btw, i know the searchStr code is ugly ;D
23:46 kraftb ok ...
23:46 kraftb I do not see any reason why it should not get saved ?
23:47 uriahheep :S
23:47 uriahheep maybe because it's a USER_INT? therefore no cache?
23:47 kraftb no ... this shouldn't make any difference
23:47 uriahheep hmmm
23:48 uriahheep for some reason it resets to an empty string
23:48 uriahheep when i go to the second results page
23:48 kraftb btw: I would use TYPO3_DB->quoteString on the search values ;)
23:48 kraftb even the print_r ?
23:49 uriahheep well, i'm using preg_replace
23:49 uriahheep #
23:49 uriahheep print($pastoSearchSes);
23:49 uriahheep you mean that?
23:49 kraftb put a "echo test" into the first section of the if construc
23:49 kraftb yes. and check with the "echo test" if this branch of the if gets executed.
23:49 uriahheep hmm, k
23:49 uriahheep well, it does
23:50 uriahheep because it uses the search string
23:50 uriahheep the search results do show up
23:50 uriahheep but it just shows ALL results for an empty search when i go to the 2nd page
23:51 uriahheep kraftb: and no, when i go to the second page the print doesn't show up :S
23:53 uriahheep kraftb: is there some kind of $GLOBALS["TSFE"]->retrieveSessionData() ?
23:54 uriahheep or should it just be there?
23:54 kraftb no ... it should be loaded when the script starts up
23:54 uriahheep hmm, ok
23:54 uriahheep hrm....
23:54 kraftb this is done as soon as the fe_user object is there
23:55 kraftb hmmm ...
23:55 uriahheep this is strange
23:55 uriahheep and i don't see any typos lol
23:59 uriahheep kraftb: no ideas? :S

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.