Search the website and IRC logs

Search is currently not available.

#TYPO3 IRC log from : Friday 8 May 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:17 NiFkE hm
00:17 NiFkE can anybody help me
00:18 NiFkE www.bovekerke.com
00:18 NiFkE my styles are gone
00:18 NiFkE i select it in the header parts
00:18 NiFkE but it doesn't include :s
00:19 NiFkE :(
00:24 NiFkE hm
00:24 NiFkE it's only the first page that doesn't have styles
00:25 NiFkE the otherones have
00:25 NiFkE :s
00:27 NiFkE aha
00:27 NiFkE strange
00:28 NiFkE sometimes the template from 1 page get removed
00:28 NiFkE deleted*
00:40 ries anybopdy knows a site where smooth gallery is well demonstrated?
08:40 beli someone here using rgtabs + t3mootools and got it working?
09:04 beli hmm
09:06 HardPhuck guys if i add text with image as a content element
09:07 HardPhuck images are wrapped in a table
09:08 HardPhuck i have other sites and everywhere else there are divs
09:08 HardPhuck <table class="imgtext-table"
09:08 HardPhuck ...
09:08 maholtz|WORK good morning
09:09 HardPhuck hey
09:13 beli someone here using rgtabs + t3mootools and got it working?
09:21 beli or maybe any other rg* extension...like akkordeon
10:01 hohenheim Hello, i've a problem while configuring my RTE (adding new classes) could anyone help me (I've already read a lot of tutorials, but it still doesn't work)
10:03 beli hohenheim: i messed with the same problem and switched to tinyMCE as rte....and i am happy with it
10:09 hohenheim salut
10:09 hohenheim oups, bad window :(
11:18 beli someone here using rgtabs + t3mootools and got it working?
11:31 pmk65 beli: Use the previous t3mootools ext. The new one is for Mootools 1.21, the old for Mootools 1.11
11:32 pmk65 I don't think Georg have updated the rg extensions to the new Mootools
11:33 beli hmm i tried old and new one...
11:34 beli rgtabs are shown....but not as tabs...just as content elements...
11:34 pmk65 sounds like some static template or css haven't been included.
11:35 pmk65 Does your page validate? Some JS won't work if the pages doesn't validate
11:36 maholtz|WORK @beli: do you use prototype?
11:36 maholtz|WORK mixed prototype or different js-framework with mootools?
11:39 beli hmmm
11:42 beli maholtz|WORK: what is prototype?
11:42 beli pmk65: the site validated before...now using the rgtabs it doesnt
11:43 beli pmk65: rgtabs looks like an ul/li list on the FE for me...and if i click a "tab" i get XML errors
11:44 beli pmk65: no style information related to the xml file
11:46 pmk65 post the url of the page
12:10 maholtz|WORK @beli: prototype is an javascript framework, it is used by some lightbox-extensions, powermail etc.
12:10 maholtz|WORK you cannot use powermail and rgtabs on one page
12:26 pmk65 Does there exist any kind of "youtube" like extensions, where a FE user can upload a video file (wmv,mov etc.) and then it's converted to FLV for viewing in FE?
13:00 beli re
13:07 beli erm
13:08 beli i deleted t3mootools and now the rgtabs work....
13:09 beli hmpfl...completely confused
13:10 pmk65 thats because you need an older version of t3mootools
13:11 beli hmm i tried with older version before...didnt work...
13:12 beli shall i try again with t3mootools 1.2.3?
13:13 pmk65 yes. and then you should use t3mootools to analyze the installed extensions. Then it will create a mootools lib with the components you need.
13:13 beli did that
13:13 beli and its not working anymore...
13:27 beli it's driving me crazy...
13:32 beli i rebuild the mootools 3-5 times now and cleaned cache each time ...now it is working....
14:28 f1sHMaN ext: direct_mail_subscription how can i add the supbsripson to a sender list for direct mail? thx
14:31 hohenheim Hello, is there a recommended book to start developping with typo3 ? (one which has been updated)
14:34 fMn ext: direct_mail_subscription how can i add the supbsripson to a sender list for direct mail? thx
14:44 progzy Hi there !
15:47 fred^ Hola
15:54 pmk65 does anyone know what hook to use if I want to postprocess a flexform field?
15:55 pmk65 I tried the "getFlexFormDSClass" hook, but it doesn't return the fieldname, so it's pretty useless. :(
15:56 pmk65 Why doesn't the core team fix bugs like that? (reported over 3 years ago) The quality of TYPO3 have really declined since Kasper left. :(
16:08 fred^ When your on a news articles (tt_news) and select another language (language menu) the news id does not follow so you get "no news id given"
16:22 pmk65 fred^: make your languagemenu add all the GET parameters when it switches language.
16:22 pmk65 If it's made using typoscript, then there's an option to add all the get params.
16:23 pmk65 typolink.addQueryString = 1
16:49 hohenheim Little question, any recommended book to start developping using typo3 (4.2.6) ? We already own old books, but they are a bit obsolete
16:53 pmk65 hohenheim: I think the only useful one is Dmitry's book.
16:54 pmk65 http://www.packtpub.com/typo3-extension-development/book
18:39 ries Anybody know a good gallery system for TYPO3? I just need some index images,
18:39 ries also show image bigger with some index images
18:39 ries Nothing fancy
19:59 kraftb hi !
19:59 pmk65 hi
20:00 pmk65 does anyone know what hook to use if I want to postprocess a flexform field? I tried the "getFlexFormDSClass" hook, but it doesn't return the fieldname, so it's pretty useless. :(
20:05 kraftb hmm ... do you want to process the definition of a flex-form field ...
20:05 kraftb or the value ?
20:05 pmk65 the value, before saving.
20:05 ries pmk65: I have a question... I think some of the lighbox functions are yours.. right? I get the JAvascript error : Fx.Tween is not a constructor
20:06 pmk65 What I want to do, is select a PDF file in the flexform, then before saving process that pdf file (making a SWF version of it)
20:07 pmk65 ries: In what ext?
20:08 ries In the lighbox extension
20:08 pmk65 8Do you use it in combination with other extensions that uses Mootools?
20:09 ries Yes, I am trying it with chgallery
20:09 ries I already get that error message on my home page...
20:10 pmk65 As I recently updated both the PMK Slimbox and the t3mootools extensions to use the latest Mootools v1.21. Other extensions might still rely on the old Mootools v1.11, so you'll get in problems there. But if you downgrade slimbox and/or t3mootools to older versions it should work.
20:11 pmk65 You could try my new lightbox clone :) It doesn't rely on any JS frameworks (unless you chose to), and has a bunch of neat features.. http://typo3.org/extensions/repository/view/pmkshadowbox/current/
20:12 pmk65 It's based on shadowbox.js (A demo can be seen here -> http://www.shadowbox-js.com/ )
20:13 pmk65 It's template based, so you can pretty much configure everything as you want.
20:13 ries I get a conflct with pmkslimbox
20:13 ries shall I remove that?
20:13 pmk65 downgrade to prevoious version
20:14 nd_ (I hope they fixed that in f3, so it's easy to add a js-file to a FE-Site using the global js, compressed and gziped)
20:15 nd_ (Should really be possible with typo3 more easily)
20:15 kraftb pmk65: I would do that using a hook of t3lib_tcemain
20:16 kraftb "hook_processDatamap_afterDatabaseOperations"
20:16 kraftb this hook gets called when all database operations are finished.
20:16 pmk65 the problem is that all extensions adds their copy of the JS frameworks, so you end up with loading the same code several times. Thats why I created the t3mootools extension, so that all ext that uses mootools, can share a common framewoek lib.
20:16 ries pmk65: I got it to work now with shadowbox... thanks!
20:16 kraftb then you could check the value of the field (probably you'll have to "xml2array" the flexform data, as it is stored as string already) ... process whatever you like ... and save it again
20:17 kraftb AFAIK there is no way to directly process a single flexform value ...
20:18 kraftb if - then you'll have to look in t3lib_tcemain or t3lib_transferdata
20:18 pmk65 kraftb: ok, I'll try that.. It's just annoying that there's a FlexForm hook that looks usable, but doesn't transfers the required info :(
20:19 pmk65 In t3lib/class.t3lib_befunc.php the hook "getFlexFormDSClass" has 5 parameters.
20:19 pmk65 getFlexFormDS_postProcessDS($dataStructArray, $conf, $row, $table, $fieldName);
20:19 pmk65 But the "$fieldName" parameter is never set, making it impossible to determine which field have been updated, as the hook fires for every Flexform field.
20:21 kraftb you mean the hook in t3lib_BEfunc ?
20:22 kraftb the method "getFlexformDS" is for retrieving the DS of the flexform (so -> the TCA equivalent ...)
20:22 kraftb so it's rather intended for letting you dynamically define how a flexform looks like
20:22 kraftb and btw: this hook was commited by me ;)
20:22 kraftb years agon - somewhen 2005 or 2006
20:23 kraftb it was one of my first commits ...
20:24 kraftb the problem is rather there is no hook in t3lib_transferdata
20:24 kraftb this class is responsible for traversing over ALL fields (so also flexform fields) and to check that their value is valid
20:27 kraftb i think the hook I mentioned is the easiest way .... else you could "probably" use the "callBack" object of t3lib_tcemain. But I never tried that. and be aware. If I put something into "quotation marks" there is some danger lurking around ;)
20:28 pmk65 Isn't is a bug that the "$fieldName" is never set in the hook? Without that you can't determine which field it is that it fires on, or was that not needed for your iitial usage?
20:29 kraftb well. the $fieldName parameter get's set at some of the calls - at others it doesn't
20:29 kraftb before I introduced my hook, this variable $fieldName didn't even exist
20:30 kraftb I required it for my purpose, and added the field name where the method got called. But I think you read the code wrong ...
20:30 kraftb the $fieldName is not the name of the flex-field being processed - but of the flexform field in the record being processed.
20:31 kraftb so if you would process a templavoila flexform field of tt_content it would be called "tx_templavoila_flex" ... so it is the field containing the XML
20:31 kraftb as I said: this method is called to retrieve the DS (TCA equivalent) when processing an flexform ...
20:31 kraftb not for every single field inside the flexform.
20:32 pmk65 I can't get "processDatamap_afterDatabaseOperations" to fire after saving the data.
20:32 kraftb wait ...
20:32 pmk65 It's a FE plugin flexform, so maybe it's not saved as a record?
20:33 pmk65 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamap_afterDatabaseOperations'][] = 'EXT:pmkpdfviewer/class.tx_pmkpdfviewer.php:&tx_pmkpdfviewer';
20:33 kraftb yes ...
20:33 kraftb no
20:33 kraftb no ... sorry ... no
20:33 kraftb you'll have to set:
20:33 kraftb $TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass']
20:33 kraftb []
20:34 kraftb and assign it like you already did a class ...
20:34 kraftb in the class you have to have defined a method named:
20:34 kraftb $hookObj->processDatamap_afterDatabaseOperations($status, $table, $id, $fieldArray, $this);
20:35 kraftb have a look at the code - it is a little bit different than usual hooks ... first the hookClasses get initialized and stored in an internal array ...
20:35 kraftb then when the hooks get executed, it simply looks if a method of predefined name is to be found in the class file
20:35 pmk65 got it. It showed some debug output now.. thanks.
20:35 kraftb btw:
20:36 kraftb i just noticedl, that in recent T3 versions you should not use t3lib_div::xml2array
20:36 kraftb hmm ... or probably its no problem. have a look at t3lib_transferdata / line 491
20:37 pmk65 only problem is that it fires on save, even if no fields have been changed.
20:37 kraftb there they'll do a "$data = $flexObj->flexArray2Xml($currentValueArray, TRUE);"
20:37 kraftb ähm. I will only do a save if fields have changed. AFAIK
20:38 pmk65 Stupid editors uses the savebutton to leave the elements..
20:38 kraftb ok. checked it.
20:38 kraftb fields are only passed if they have changed
20:38 kraftb in $fieldArray
20:39 kraftb $hookObj->processDatamap_postProcessFieldArray($status, $table, $id, $fieldArray, $this);
20:39 kraftb it is called before saving to DB.
20:39 kraftb you can compare the passed values in $fieldArray to current DB values, and take appropriate steps if required
20:40 pmk65 yes, but since my field is part of the flexform def, the field I get back is "pi_flexform", which contains my entire flexform sheet.
20:40 kraftb but I guess you'll have to take care for "NEWxyz" records. For those you'll probably need the "afterDatabase" hook
20:40 kraftb yes.
20:40 kraftb I told you that. You'll have to do $data = t3lib_div::xml2array($row['pi_flexform']) ...
20:41 pmk65 But you are right about the comparing part, I didn't think of that..
20:41 kraftb then check your value in $data ... and if you changed it do: $xml = t3lib_div::array2xml($data);
20:42 kraftb I'll usually doing this kind of hooks (work) by typing it with my toes, and playing ping-pong in the meanwhile ;)
20:42 pmk65 I don't even need t3lib_div::array2xml($data);, I just do a regex at the xml data, as I only need to extract the name of the PDF file selected.
20:43 kraftb yes. that's also a way. I did that some time ago.
20:43 kraftb and only if the value has changed you have to do the xml2bla bla2xml whatever
20:43 pmk65 Then I parse the pdf file through pdf2swf and display the swf in FE..
20:44 kraftb jup. I'll currently do: database record --> SVG --> svg to pdf (using inkscape) --> pdf + pdf + pdf + .... --> output.pdf
20:44 kraftb for creating a kind of online company index
20:45 pmk65 what do you use for that? FPDF or something like that, or PHP's build-in PDF lib.
22:44 lapajko hi all
22:44 lapajko can anybody help me with RealURL?
22:47 lapajko nobody?
22:53 lapajko #linuxos

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.