Search the website and IRC logs

#TYPO3 IRC log from : Wednesday 4 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
00:01 pmk65 or write a userfunction.
00:02 SLiPCoR so every "site" containing sites that may be of interest must be stored in this register?
00:02 SLiPCoR sites -> pages
00:03 pmk65 yes, or you could put CONTENT elements inside other CONTENT elements.
00:03 pmk65 but a userfunction is the best solution.
00:04 SLiPCoR yeah, as then I could just execute pure SQL which will be just one SQL call that gets me all pages ^^
00:04 SLiPCoR okay, thanks :)
00:05 pmk65 what are you trying to do?
00:06 SLiPCoR On the frontpage, there will be stated some "quotes" - those are stored in pages->*alternative navigation text*
00:06 SLiPCoR I have a special variable of type clist (now I can do a string as well), this will be interpreted like
00:06 SLiPCoR select * from pages where uid in (*variable*)
00:07 SLiPCoR so e,g, "12,77,123,332"
00:07 SLiPCoR if I have to look through every (sub)-(sub)-category to get those 4 quotes I better do the SQL manually
00:08 pmk65 with a userfunction you could do the SQL look up from PHP, and then pass the resulting list of id's back to typoscript and render them (or do it all from PHP)
00:09 SLiPCoR I think I'll do everything in PHP as I'm not really familiar how I would have to "hand over" anything (but string ;) ) to typoscript again :)
00:11 pmk65 http://wiki.typo3.org/index.php/TypoScript_-_PHP_Interaction
00:11 SLiPCoR thanks :)
00:12 SLiPCoR but... isn't it better to do it in php when typoscript works in php itself?
00:13 SLiPCoR well - depends on the functions typo3 uses :D
00:14 pmk65 yes, but it's more flexible if you can customize/configure it using typoscript. that way non-php coders can mess with it without breaking the code.
00:16 SLiPCoR hehe I'm the only one who is able to do anything about this - and I'm more used to php - but I think you're right - after testing it in 100% php I'll get typoscript to do the major work :)
00:16 pmk65 here's an example (one of my extensions) http://forge.typo3.org/wiki/extension-pmkfdl/PMK_Forced_Download
00:18 SLiPCoR nice :)
00:18 pmk65 it is a userfunction that extends the functionality of typoscript. It accepts parameters which is then passed to the PHP script, which then returns some "fields" for use in TS output.
00:19 SLiPCoR all right ... phew... it'll take some time for me to get used to this style of programming :)
00:36 SLiPCoR okay, thanks again, I'm gonna leave now :) bye
08:41 PiMB goodmorning guys!
08:41 PiMB very long time no see
08:41 PiMB Finally got the boss so far as letting me MiRC during the day
08:42 teppi|work good morning PiMB :-)
08:42 iaj` morning:)
08:42 PimB|work hi
08:45 iaj` hm,can s1 help me I am still trying to find a plugin to embed .flv files on my website, but the size of that embedded container should only be as large as the flash itself ( e.g. no border or stuff like that ) - and it should be able to have a preview image on it, and a play on click...
08:45 iaj` anyone knows which plugin I could use?
08:46 teppi|work iaj`, should be possible with media center
08:47 teppi|work but i think you have to define the size of the video in the plugin optionws
08:47 iaj` teppi|work, media center?
08:47 iaj` i never heard of that one
08:47 teppi|work iaj`, http://typo3.org/extensions/repository/view/media_center/current/
08:48 teppi|work works well imho
09:10 maholtz|WORK morning
09:10 PimB|work morning maholts
09:19 iaj` teppi|work, hmm I'm trying that plugin.. but it doesn't show me anything on FE side
09:21 teppi|work iaj`, sounds like you haven't included the static template
09:21 teppi|work on your rootpage
09:22 teppi|work like described in the manual ;-)
09:22 iaj` teppi|work, yeah I did include it :P
09:30 iaj` teppi|work, uh.. guess I chose the wrong branch... but I can't find anywhere in the manual on how i'd create the playlist items
09:32 teppi|work iaj`, switch to list mode .. there you can create media center entities
09:32 teppi|work which will work as container for each single media file
09:32 bluespuke hi
09:32 iaj` teppi|work, uh.. I'm always in list mode...
09:33 teppi|work hm
09:33 bluespuke i finally pushed the editor to insert <font face="xxxxx"> instead of <span style="font-famlily: xxx">
09:33 iaj` ive got a folder called Playlists... and I create a new page content in there?!
09:33 teppi|work no
09:33 bluespuke but when i save the document, the font-tag is removed... what do i miss? :s
09:34 teppi|work iaj`, if you choose "create new record" there should be "media center file" available
09:37 teppi|work bluespuke, maybe the font is deleted because its in RTE.default.proc.denyTags ?
09:37 bluespuke teppi|work: i did "RTE.default.proc.denyTags = " to be sure... :s
09:39 bluespuke also "RTE.default.proc.denyTags := removeFromList(font)" seems not to work :s
09:40 teppi|work bluespuke, hm then i have no idea
09:41 PimB|work @bluespuke, considered alloweTags as well?
09:42 bluespuke PimB|work: yes...
09:42 bluespuke my full Page TS-Config: http://paste.phlogi.net/-7f8676e1d8/
09:46 PimB|work bluespuke : what kind of html are you using?
09:46 PimB|work xhtml-strict?
09:47 bluespuke yes, but i don't care about valid html output, it's just a backend for a flash page
09:47 bluespuke page.config.doctype = none
09:47 iaj` teppi|work, thanks I think I got it now.. can you tell me what playlistitem should refer to?
09:49 teppi|work iaj`, what do you mean?
09:49 iaj` well I got to specify sth in there.. playlistitem number... I tried zero.. but its not working
09:49 PimB|work bluespuke, not sure if maybe TYPO3 is killing it in output
09:50 PimB|work when you save the rte and then check the html in the rte. the font tag is gone?
09:50 bluespuke yes
09:50 teppi|work iaj`, ? you have to choose the playlistitem that you created before from the pagetree
09:50 teppi|work each media center file is one playlist item at the end
09:52 iaj` teppi|work, yeah.. I created a record.. a playlist item... and now I'm trying to embedd this in my plugin, but in Behaviour there's a field Playlistitme that should start to play. Use this to set a specific start-item, that field is not allowed to be blank.. but I only got one playlist item, so I tried 0 or 1 both doesnt pull off
09:53 iaj` 'this playlist is not a valid xml file
09:53 teppi|work iaj`, are you putting this onto a hidden page?
09:54 iaj` teppi|work, hmm no... the page itself aint hidden
09:55 teppi|work iaj`, i think the only required field is the field in the Media Files tba
09:57 PimB|work bluespuke, sounds like a problem in your RTE. Maybe font tags is ignored all together, because of them not being very much appreciated these days
09:57 bluespuke PimB|work: i know, i hate such tags... but flash doesn't recognize styled spans...
09:58 teppi|working iaj`, i had the same issue with an invalid xml a few days ago .. but it was because the xml wasnt rendered right ..
09:58 iaj` teppi|work hmm it worked once at the beginning
09:58 iaj` now it doesn t:(
09:58 bluespuke nevermind, i think i give it up and then i remove all those buttons from the rte... so the client doesn't see them and doesn't want to use them
09:58 teppi|working you should try to request the xml separately
09:58 teppi|working maybe you see the error then
09:59 maholtz|WORK @bluespuke: you have to change on page-tsconfig for rte - the proc rules
10:00 maholtz|WORK it should be possible
10:00 maholtz|WORK otherwise you could do the otherway around: make a parseFunc which makes a <font> from an <span> etc. but its not easy
10:00 bluespuke maholtz|WORK: i allready tried: http://paste.phlogi.net/-7f8676e1d8/
10:01 maholtz|WORK in the info modul it is possible to see which config will be used, perhaps check that
10:05 iaj` teppi|work, :( how would I do that ?
10:05 iaj` just tried removing, reinstalling the plugin... recreate the playlist entry
10:05 iaj` etc:/
10:19 teppi|working iaj`, if you look into the source
10:20 teppi|working the xml is requested with calling a page with a special type iirc
10:20 teppi|working you could simply request that file
10:48 iaj` teppi|working, strange plugin, sometimes it works, sometimes it doesn't
10:48 iaj` teppi|working, but it appears to work now
10:49 iaj` take back my words - doesn't :/
10:49 teppi|working iaj`, sounds like a caching issue
10:49 teppi|working have you tried setting the page to no cache?
10:50 iaj` teppi|working, nah.. not yet... how'd I do that? create an extension template for that specific side?
10:50 teppi|working no .. should be in the page properties
10:51 teppi|working you can disable caching for a single page
10:51 teppi|working but on the other hand it should work with caching too .. strange
10:53 iaj` mhhh... dunno... pretty strange.. :/ but at least i dont have a border now anymore
13:21 snoy_ms hey all. Is there any way to check why this returns a false ? t3lib_div::getURL('http://www.w3schools.com/XML/note.xml');
13:21 snoy_ms i tested it in my extension and i get a false
13:26 snoy_ms i thought getURL would work, but it seems that it doesnt work
13:26 snoy_ms anyone an idea ?
13:28 snoy_ms :-(
13:29 PiMB do you get any error reportings?
13:30 Prot0 snoy_ms: do you have curl available on your server?
13:31 snoy_ms i check it
13:31 zed_devil hi there, i want to creat a download page. but the users mus leave there email an name bevore they can download the files. is there any extension that i can use
13:31 snoy_ms it didnt work with file_get_contents, thats the reason why i took the div function
13:32 snoy_ms I checkt it -> cURL support enabled
13:33 Prot0 getURL uses either fopen or curl
13:33 Prot0 hmm
13:33 snoy_ms PiMB: i get an false
13:33 Prot0 try setting this in your install tool/localconf.php
13:33 snoy_ms we changed the provider, i think thats the problem, but i dont know where to search
13:34 Prot0 :)
13:34 Prot0 its possible they block external fopen requests
13:34 snoy_ms does curl use fopen ?
13:34 Prot0 $TYPO3_CONF_VARS['SYS']['curlUse'] = 1;
13:34 snoy_ms i dont know that lib
13:34 Prot0 nope
13:34 Prot0 try that in your localconf (or set it using the install tool)
13:35 snoy_ms ok i test it
13:37 snoy_ms .......hours later....lol
13:37 Prot0 file_get_contents is just a shortcut for fopen, fread, fclose btw
13:37 Prot0 :)
13:42 snoy_ms i just need to change my extension......second
13:43 snoy_ms ohhh ok getURL seems to work now with this url http://www.w3schools.com/XML/note.xml
13:43 snoy_ms now i test my needed url
13:43 snoy_ms its a https, does it work ?
13:44 Prot0 yes
13:44 Prot0 curl is very versatile
13:44 Prot0 don't know if you need to configure it though
13:44 Prot0 but try it and we'll see after that ;-)
13:48 snoy_ms now i tested this one https://ssl2.erf.de/erf.de/interfaces/reisen_xml.php
13:48 snoy_ms the test link with w3schools work, the erf one doesnt
13:48 Prot0 works?
13:49 snoy_ms no
13:49 Prot0 doh!
13:49 snoy_ms lol, doesnt understand why
13:52 Prot0 hm
13:52 snoy_ms any idea ?
13:53 Prot0 you cant pass a lot of configuration to the getUrl
13:53 snoy_ms i tested http://www.w3schools.com/XML/note.xml again, i get the content....fine, but with https://ssl2.erf.de/erf.de/interfaces/reisen_xml.php i just get false
13:53 Prot0 i get this
13:53 Prot0 <?xml version="1.0" encoding="ISO-8859-1" ?><error><![CDATA[Access denied.]]></error>
13:53 Prot0 as data
13:53 snoy_ms but why do i get a false ? hö....
13:54 Prot0 try something like https://twitter.com/
13:54 Prot0 maybe it returns a 403
13:54 Prot0 you can set authentication to curl as well
13:54 Prot0 howver you would need to rewrite the procedure
13:55 snoy_ms Prot0: in localconfig ?
13:55 Prot0 not very hard though
13:55 Prot0 how do you mean?
13:55 Prot0 no try to load that URL instead of yours
13:55 snoy_ms At first it would be nice to get the error message back. But i get a false.....
13:55 snoy_ms the twitter one ?
13:56 Prot0 yeah
13:56 snoy_ms second
13:56 Prot0 to see if it picks up https
13:58 Prot0 t3lib_div::getURL is configured to return an error (false in this case) on anything that is equal or higher than 400 (not found, perms denied etc)
13:59 snoy_ms get false back to my last test with https://weitter.com
13:59 snoy_ms i mean twitter
14:00 Prot0 :D
14:00 Prot0 ok
14:00 Prot0 so it doesnt go with HTTPS very well than
14:00 snoy_ms you mean it doesnt work in any case ?
14:01 Prot0 not with that function probably
14:01 snoy_ms there is this info: // use cURL for: http, https, ftp, ftps, sftp and scp
14:01 snoy_ms its in getURL
14:01 snoy_ms it has to work
14:01 snoy_ms if ($GLOBALS['TYPO3_CONF_VARS']['SYS']['curlUse'] == '1' && preg_match('/^(?:http|ftp)s?|s(?:ftp|cp):/', $url)) {.......}
14:02 snoy_ms ohhhhhhh there is no https
14:02 snoy_ms or ?
14:02 snoy_ms ups sorry there is the s
14:02 Prot0 erm
14:02 Prot0 :)
14:02 Prot0 you can write your own read function for CURL
14:02 snoy_ms but it doesnt work
14:02 snoy_ms .....
14:02 snoy_ms lol
14:02 Prot0 hehe
14:02 Prot0 its not that much work :]
14:04 Prot0 there is a debug setting for cURL i think
14:04 Prot0 but cant remember it right now
14:04 snoy_ms ok
14:08 Prot0 hm can't really find it
14:08 Prot0 note to self: comment, not delete lines
14:10 Prot0 think it was CURLOPT_NOPROGRESS
14:17 bluespuke ok, when i have <p align="right'> in a CE, TYPO3 removes the attribute :s
14:17 bluespuke why could this be?
14:18 Prot0 :D
14:18 Prot0 its probably not allowed
14:18 maholtz|WORK because align="right" is not allowed there?
14:18 maholtz|WORK ups, to late
14:18 maholtz|WORK @bluespuke: check if it is in the database or not
14:19 maholtz|WORK Backendforms <-> database <-> Frontend
14:19 maholtz|WORK so you have two points where the stuff gets parsed
14:19 maholtz|WORK one on the way to the database, the other on the way out
14:19 bluespuke it's not in the database :s
14:20 maholtz|WORK so you have to check RTE config for that
14:20 bluespuke RTE.default.proc.keepPDIVattribs = align,class should conserve it, no?
14:20 maholtz|WORK its all in page ts config and default configs
14:21 maholtz|WORK usually there is a checkbox to disable the rte - does it work then?
14:23 bluespuke when i disable the editor, all <p>'s are gone... when i insert a <p align="right"> it works :s
14:25 bluespuke hmmm, reopen with editor, save it and it's gone again...
14:44 PiMB yeah, so obviously the RTE doesn't allow for the attribute align
14:44 PiMB checked the manual for RTE already?
14:50 Conic hi all
14:50 Conic i have a problem with my backend Module
14:51 Conic if the content gets too long, then there's no possibility to scroll down
14:51 Conic is there a setting for that?
14:51 Conic maybe $this->doc->scrollable() or something like that :D
14:56 snoy_ms Prot0: Hey i forgot to say thanks !
14:56 snoy_ms Prot0: seems that lib....div::geturl() doesnt support https with auth.
14:56 snoy_ms curls runs
14:56 Prot0 ah
14:56 snoy_ms thx...
14:56 Prot0 np :]
14:56 snoy_ms afk ;-)
14:57 Prot0 so you made a custom function?
14:57 Prot0 yeah have that too some times hehe
14:57 snoy_ms no, i called the customer to change the provider. We also have some cooluri probloems
14:57 Prot0 :D
14:58 snoy_ms i think its the better sollution for him
14:58 snoy_ms and for us...lol
14:58 snoy_ms thanks....cu
14:58 snoy_ms have to go
15:02 PiMB @Conic
15:02 PiMB have seen the problem.
15:02 PiMB maybe very nasty but include a div with overflow auto around it?
15:02 Conic PiMB: around the whole Module?
15:02 PiMB or check another extension that does support it to see how they do it
15:04 Conic ok i'll have a look at the powermail Module
15:09 marcuslind How do I publish multilanguage-content like this? http://data.fuskbugg.se/skalman01/-----------------------------------------------------------------------------------------------------------------------Bild%201.png
15:10 Conic nice filename ;)
15:12 marcuslind Haha i know :)
15:12 marcuslind Anyone know how to publish it like that? With 2 language-content in 1 "frame"
15:16 Conic sry, i never used localization yet...
15:22 sorenmalling How can i allow a be_group access to one single plugin, and not list every plugin installed on the server?
15:22 PiMB marcuslind, what do you mean with 2 language-content in 1 frame?
15:23 marcuslind PiMB: If you look at the picture, There is both english and swedish content published
15:23 PiMB sorenmalling, i believe you can set access to plugins and then use explicit deny for certain plugins.
15:23 marcuslind It's not 2 "Page contents"
15:23 marcuslind How do I publish 2 languages like that?
15:24 PiMB you want to display the 2 languages at once on a single page?
15:24 sorenmalling PiMB: I can deny access to the installed plugins, but can't really see the way of allowing access to a single plugin
15:25 iaj` are there any fixes to the haslayout problem with ie6 ?? :D
15:26 PiMB you cannot allow access to a single plugin.
15:26 PiMB only disallow access to a plugin
15:28 marcuslind PiMB: No I want to have 2 languages but they only show 1 at a time
15:28 marcuslind and I dont want to create 2 page-trees.
15:28 marcuslind I want to publish it like on that picture.
15:28 marcuslind That's how I want to work with it
15:28 marcuslind but only 1 language print on the frontend at a time
15:31 PiMB that's certainly possible to have a 1 page tree multilanguage setup
15:34 many heyyyhooo
15:35 many am updateing 4.0 to 4.2.10, trying to compare tables, but the instant i click "compare tables [in the install tool", i get redirected to the about page in the install tool
15:35 marcuslind PiMB: Yes that's what I'm trying to figure how to do.
15:36 many anyone got a clue whats broken there?
15:36 PiMB @marcuslind, take a look at http://typo3.org/documentation/tips-tricks/multi-language-sites-in-typo3/
15:36 PiMB scroll down for the 'new' (not so much anymore but whatever..) one-page-tree-concept
16:23 Conic i found the problem with the backend module without scrollbar
16:24 Conic can someone tell me how i can change the id of the body tag in a BE module??
16:42 howard hallo chan
16:43 howard is there any typo3 function which handle form input fields in way that html tags are ignored..ie <b>text</b>...I want this to be displayed as STRING <b>text</b>, not as BOLD "text"
17:02 jonne does anyone know which permissions i have to give an user before he can upload files in a news item?
17:44 howard if I have umlauts writen in db properly
17:44 howard why I get :
17:44 howard ü
17:44 howard ie when display them
18:21 jbaptiste_j I'm thinking of adding google analytics to my site, I can see a lot of extensions for that, why wouldn't I just insert google's code in my static html template ?
18:22 pmk65 that's what I do.. No point in installing an ext for that. (Unless it provides additional functions)
18:25 jbaptiste_j OMG i didn't copy paste the <script> it gave me now I'm looking for it
18:27 jbaptiste_j okie good evening guys
19:20 dominique hi!
19:20 dominique Is there a possibility to move pages between workspaces?
19:28 atmos4 hi
19:29 atmos4 maybe someone here has a smart idea how to solve this: I have some ts setup that renders a show for an image, the name of the image is fetched from a db record
19:29 atmos4 now the problem is, the shadow also renders if the db record is empty
19:29 atmos4 how could I avoid that?
19:31 atmos4 code looks like 10.file.import.data = field:tx_imagemenu_imagemenu_pageimage and gthen 20 refers to the size of 10 to render the shadow
19:36 atmos4 hmm maybe I can do some magic with cObject.if
19:42 atmos4 yeah that worked: before.cObject.if.isTrue.data = field : tx_imagemenu_imagemenu_pageimage
19:43 pmk65 you can also use: required=1
19:44 atmos4 no
19:44 atmos4 because my gifbuilder object does return content
19:44 atmos4 it renders a show for a 0x0 image
19:44 atmos4 shadow
19:45 atmos4 and because the shaodw image uses the original widthxheight +10 it is visible
19:46 atmos4 I had required = 1 in there, but it wasn't working for that reason
19:47 atmos4 the whole gifbuilder code is on a before.cObject anyways, so I just had to add one line with the if.isTrue
21:03 atmos4 hmm, anyones got an idea why the renderObj code here isn't working?
21:03 atmos4 http://pastebin.org/50920
21:03 atmos4 I've applied that same code on other CONTENT objects where it worked
21:28 snoy_ms hey all.
21:28 snoy_ms i installed cooluri, everything fine. When changing to another provider i get an foreach error
21:28 snoy_ms all caches clean.
21:29 snoy_ms Warning: Invalid argument supplied for foreach() in........class.tx_cooluri.php
21:33 snoy_ms ok asking tomorrow again
21:33 snoy_ms cu
21:47 Briareos1 anybody familiar with ab_downloads?
21:49 Briareos1 accesses to the downloads aren't counted on my installation. what could be the reason?
21:50 flobbie_ hi
21:51 flobbie_ http://pastie.org/683846 -> can anybody tell me how to integrate the condition? I want to check if there is content in border.
22:19 Briareos1 nvm - ab_downloads checks ip's and doesn't count multiple clicks from one ip
22:26 schabracke cheerio!

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.