Search the website and IRC logs

#TYPO3 IRC log from : Friday 20 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
07:02 skipjack Hello
08:42 PiMB morning!
08:42 BejjWrk morning
09:06 skipjack morning!
09:06 skipjack nice day
09:08 BejjWrk except i feel like a zombie, been having fever for a few days and im just now back at work
09:32 PiMB I know the feeling BejjWrk
09:33 PiMB but at least I know it's from last night ;)
09:34 BejjWrk as long as its not porkflu :P
09:36 PiMB nope, beer
09:37 BejjWrk im gonna enjoy beer this weekend
09:37 BejjWrk dunno if it will be tonight or tomorrow
09:37 BejjWrk my buddy has demanded a beer run as Im turning 30 on sunday
09:38 PiMB congrats
09:38 PiMB will be more then 1 probabl
09:38 Denjerek Morgens!
09:39 BejjWrk PiMB: most likely :)
09:40 PiMB hi!
09:40 BejjWrk I did something amazing yesterday, nginx+php-fpm+apc+memcache = 40k + static pages per second, and 10k+ php (typo3 pages) per second
09:40 BejjWrk thats not a bad tweak imo :)
09:40 skipjack hmm
09:40 skipjack sounds nice
09:40 skipjack have you created an tutroial / whitepages about it?
09:41 BejjWrk not yet, im still writing it
09:41 skipjack good
09:41 BejjWrk i just got the last pieces working last night
09:41 skipjack ;)
09:41 skipjack would it be free for downloading ?
09:41 BejjWrk it will be published on one of my new sites im working on :> with links to sample config, source downloads etc
09:42 skipjack okay ;) don't forget to give us the LInk
09:42 BejjWrk i case i forget, im a google freak, so it'll turn up eventually :>
09:43 skipjack hm okay ;) I think I will ask later for the Link ;)
09:46 BejjWrk :)
09:46 FloLeBlanc hi all
09:47 FloLeBlanc I tried to join #php but it is full. can someone by chance tell me how to check "isOfType" for objects? I need to check if an object is of type libXMLError
09:47 maholtz|WORK morning
09:48 maholtz|WORK @FloLeBlanc: http://de3.php.net/manual/de/function.is-a.php ?
09:51 FloLeBlanc maholtz: thank you very much
09:51 Denjerek Does that required the object to explicitly overload the isOfType method?
09:56 PiMB morning
10:36 marcuslind Got a translation problem with tt_news. I've changed the pi/locallang.xml file from "[las mer]" to "Las mer" but it's still saying "[las mer]". It works fine on my local TYPO3 test-site but it doesnt work on the live site. Is there some configuration I need to change? It seems like changing locallang.xml isnt enough.
10:37 PiMB is there a locallang.xml in the L10n folder as well?
10:38 marcuslind Where is the L10n folder located?
10:38 marcuslind in the tt_news directory?
10:38 marcuslind Then no.
10:39 sorenmalling marcuslind: You can also localize with typoscript, then you don't have to be afraid of overwriting the xml file and loosing your localisation
10:39 PiMB marcuslind, l10n is located in typo3conf
10:40 PiMB but I would use the TS method as sorenmalling suggested
10:40 marcuslind PiMB: I dont have FTP access to the site. So I need to get FTP access and then look through the l10n folder?
10:40 PiMB nope, then use the TS option
10:40 sorenmalling marcuslind: OR install a extension like t3quixplorer
10:41 marcuslind I guess the TS solution sounds easier.
10:41 marcuslind *Back to Googling about tt_news localiation Typoscript code*
10:42 sorenmalling plugin.tt_news.pi1._LOCAL_LANG.[lang code].[label] = The text you want
10:43 marcuslind thanks mate.
10:43 sorenmalling np :)
10:45 sorenmalling marcuslind: and you can use "default" as your lang code to define, well, the default label not depending on a special language :)
10:46 sorenmalling marcuslind: and btw it's plugin.tt_news_pi1 and not plugin.tt_news.pi1, my mistake
10:52 marcuslind sorenmalling: I've tried plugin.tt_news_pi1._LOCAL_LANG.default.more = Las mer and plugin.tt_news_pi1._LOCAL_LANG.[default].[more] = Las mer. I've also replaced "default" with "se" with no success.
10:52 sorenmalling marcuslind: Cleared cache?
10:52 marcuslind Yes
10:54 marcuslind Could there be some kind of configuration the previous developer did on this site for the localization?
10:55 No5251 good morning
10:55 marcuslind morning-
10:56 No5251 why does this TS http://paste.phlogi.net/-8dc282782f/ affect content elements with header_layout = 0 too?
10:56 No5251 ah, wrong ... normal elements are lost
10:57 sorenmalling marcuslind: That is the default way of localizing with typoscript. Maybe someone did some localisation on another level of your pagetree?
10:57 marcuslind Would be weird to do a TS code to localize the more-value to the default value in the locallang.xml
10:58 marcuslind Since it shows the default value
11:26 matthiaswinkler hi.
11:26 matthiaswinkler is it possible to save a submenu to insert it to the page somewhere else?
11:27 matthiaswinkler HMENU .TMENU .. and so on
11:28 matthiaswinkler the point is. I have a hierarchical menu data and the submenu always results a child nodes in HTML.
11:29 matthiaswinkler but the submenus should be rendered on the same HTML-level as the menus not as childs
11:33 MyGoddess matthiaswinkler, there is a property to tell the menu from wich level in rootline to start.
11:36 matthiaswinkler so with rootline I would specify the submenu-level?
11:37 matthiaswinkler this typo3 menu drives me crazy. everybody uses another syntax
11:40 maholtz|WORK @matthiaswinkler: post your code and your expected result in pastebin
11:40 matthiaswinkler ok, where this pastbin?
11:41 maholtz|WORK http://t3paste.org/ f.e.
11:42 matthiaswinkler ok. found it
11:42 matthiaswinkler one sec
11:48 matthiaswinkler got it
11:48 matthiaswinkler http://paste.phlogi.net/-631df7ced7/
11:51 matthiaswinkler if it helps? you can also see it in action
11:54 maholtz|WORK why do you use wrapItemAndSub if you dont want it?
11:58 matthiaswinkler good question. just "wrap" then?
11:59 maholtz|WORK if that property exists
11:59 maholtz|WORK check TSRef for that!
12:02 matthiaswinkler allWrap works, too but the problem remains the same
12:04 maholtz|WORK ah, now i see the point
12:04 maholtz|WORK as it is a userFunc, you probably cannot use two HMENU for that?
12:05 maholtz|WORK ususally you would use thw HMENU with different entryLevel but i do not know if that works with your userFunc
12:05 maholtz|WORK bbl
12:06 pmk65 maybe iuf you create 2 identical menus. and then in the 1st set doNotLinkIt = 1 and doNotShowLink = 1 in the 1st part of menu 1.
12:06 matthiaswinkler @maholtz: right. i thinks I got to do it in one go. tought I might save the sub somehow and append it later... what do you think?
12:07 pmk65 and then do the same for the 2nd menu, but setting the doNot properties fgor the 2nd part.
12:09 matthiaswinkler not bad. the point is the menu comes from a typogento shop. I don't want to delay the page to much by calling the userFunc twice
12:10 matthiaswinkler the "data" is there and correct, why query it twice....
12:35 matthiaswinkler ok
12:35 matthiaswinkler this gives me expected results: http://paste.phlogi.net/-b97b8a5f33/
12:35 matthiaswinkler but is there really no better way to to this in typo3?
12:36 matthiaswinkler the result looks like this:
12:36 matthiaswinkler http://www.gequo.de/shop.html?tx_fbmagento[shop][id]=13&tx_fbmagento[shop][route]=catalog&tx_fbmagento[shop][controller]=category&tx_fbmagento[shop][action]=view
12:36 matthiaswinkler second menu from top
13:02 maholtz|WORK well, instead use commen <!-- do allWrap.cObject = TEXT
13:03 maholtz|WORK beside that, what is wrong with your solution?
13:03 maholtz|WORK and you are using an userFunc, so dont blame TYPO3 for that
13:04 cucaa hey people
13:05 cucaa I'm trying to show a content depending of the number of week of the year
13:05 cucaa there are conditionals for the number of month, month, year, etc
13:05 cucaa but not for this
13:06 cucaa temp.weeknb = TEXT
13:06 cucaa temp.weeknb.data = date:U
13:06 cucaa temp.weeknb.strftime = %W
13:06 cucaa I get the weeknumber doing this
13:06 cucaa but how can I make the conditional?
13:07 cucaa [temp.weeknb = 46] does not work
13:08 pmk65 cucaa: If you want to do it using conditions, you'll have to write a custom userfunction for the condition.
13:08 pmk65 Or you could create a CASE object, and then use the %W value you get to select the variouse parts of the CASE obnject.
13:09 matthiaswinkler @tcjacobs thanks for your comment
13:09 matthiaswinkler can you explain you suggesstion?
13:15 cucaa pmk65: I'm going to read tsref to know how to do some this things, thank you for the clue!
13:36 pmk65 cucaa: here's an example of a userfunc condition -> http://typo3.toaster-schwerin.de/typo3_english/2007_08/msg00010.html
13:43 cucaa pmk65: thank you very much
13:44 cucaa I think is what I was looking for
13:45 beli hi folks
13:45 beli i upgraded to php 5.3 and now i got multimple DEPRECATED warnings with typo3 4.2.10
13:46 sorenmalling Check your warnings settings in php.ini
13:47 beli i added error_reporting (E_ALL ^ E_NOTICE ^ E_DEPRECATED);
13:47 beli to my index.php
13:47 beli and all .php files using error_reporting
13:47 beli i still get the deprecated messages
13:51 yareckon hi guys, I'm trying to write a standard wrap rule that will match this (from the extension code)
13:51 yareckon $stdWrap = $this->conf[$type. '.'][$activity . '.'][$colName . '.']['item.'];
13:52 sorenmalling beli: TRied changing it in php.ini?
13:52 beli sorenmalling: added error_reporting (E_ALL ^ E_NOTICE ^ E_DEPRECATED); to the php.ini...still no change
13:53 yareckon my expression plugin.tx_srfeuserregister_pi1.select.preview.item.wrap = | <br /> doesn't seem to be working
13:53 sorenmalling beli: in php.ini the syntax is error_reporting = VALUE
13:53 sorenmalling And remember to restart apaache afterwards
13:54 beli did that....you can combine values
13:54 yareckon I think I don't understand the $type element of the conf array above, or something basic
13:55 beli sorenmalling: you can use bitwise operators for values
13:59 beli ...
14:12 yareckon what is the best way to take a look at the global TCA array for a given page?
14:17 marcuslind Anyone got good experience using Smoothgallery? I've got a problem where Smoothgallery writes empty <a href=""> without any adress to the image it's showing... So I can see the image and browse through them but when I press it just keeps loading since it's not linking anywhere.
14:18 marcuslind Smoothgallery prints <a href=""> on all images in the gallery but 1.
14:18 beli yareckon: use the object analyzer
14:20 beli yareckon: typoscript object browser....
14:53 the3rdBIT hi folks, i've some problems with the media links. when save a link to a media file and i re-open the page editor, the link formating disappears and is replaced by <media 143>Linktext</media>
15:42 yareckon in the typoscript object browser, what represents the TCA array, the entire tree here?
15:42 yareckon I#m looking for TCA['columns'] and decendants, but I can't find it in the object browser
15:52 loswillios hi
15:54 jbaptiste_j hello loswillos
15:56 Prot0 lo
15:57 PiMB hi
16:01 loswillios :)
16:01 loswillios I'm trying to debug indexed_search. it works as a content-element (via plugin) but it doesn't work as typoscript: http://pastebin.com/m5a02567
16:03 loswillios it jumps to the "search"-page but without submitting the search term
16:03 loswillios it's the same problem when I use macina_searchbox instead of plain TS
16:04 loswillios so I must be missing something in indexed_search I guess
16:27 loswillios does anybody have an idea how to debug that?
16:33 janemann loswillios: cheap try: on your "real" search page (where the form submits to) & do you have a indexedsearch content element there?
16:34 loswillios janemann: yes
16:36 loswillios I thought that's what the "typolink.parameter" is for
16:39 janemann it tells where to (to which page) to submit to. but the page that is submitted to needs to contain the indexed search plugin & and you need some ts config (e.g. plugin.tx_indexedsearch.search.rootPidList to tell it where to search) & i think :-)
16:40 loswillios the submitting works (I'm redirected to the search page) but the search term itself isn't submitted so it just displays the search-page
16:42 janemann & or httpLiveHeaders & i think the stuff is submitted fine & but maybe its just misses a bit of config & as a guess
16:44 Wolos hi @ all
16:44 loswillios mh, the difference between a successful search (via plugin) and a non-successfull (via TS): http://pastebin.com/m5537fc79
16:45 Wolos can some one help me with templavoila
16:46 Wolos evtl ja auf deutsch :)
16:47 loswillios janemann: do you think stuff is submitted fine? the TS part looks wrong somehow
16:48 loswillios search-term is "Forschung"
16:48 BejjWrk I gtg, wife was in a motorbike accident :(
16:48 janemann loswillios: i'm using macinasearchbox too, don't see the error with your TS & can you paste the HTML which is generated from your TS? may help
16:50 loswillios janemann: http://pastebin.com/m6f6da379
16:55 janemann loswillios: sorry, i dont get it & :-( & does it work via GET then? what if you try & search.html?tx_indexedsearch%5Bsword%5D=foobar
16:59 loswillios yeah, but then 'foobar' is only written into the search-field
16:59 loswillios still no actual results
17:03 loswillios I don't get it either
17:10 loswillios ah nice, found something that works: http://pastebin.com/m2034f7fc
17:11 loswillios now I just need to get rid of the submit-button
17:12 janemann cheers. me goes home, looking at http://www.typo3-solr.com ;-)
17:14 loswillios heh, yeah have read about it
17:14 loswillios nice stuff
17:39 climb513 why do I have the old Template Selection box in my tt_news install? http://www.lafarge.net/old.png
17:40 nature where did this one go? http://www.lafarge.net/new.png
18:04 johnson_hh hi
18:04 johnson_hh does anyone know if i can use direct mail out of own extensions?
18:04 johnson_hh is thwere something like an api?
18:54 dokma johnson_hh: use is a rather general term
18:54 dokma what's the game?
19:05 nature hey wait... yer the one that set up this broken tscript IIRC ;)
19:16 nature #this next line breaks embedded links and image padding but otherwise does what I want
19:16 nature #plugin.tt_news.general_stdWrap >
19:17 Bejjan wrapped std's
19:17 Bejjan ewww
19:17 loswillios Bejjan: not good?
19:18 Bejjan i meant std's like the thing you get when associated with bad women :P (or men if you prefer that)
19:18 Bejjan :>
19:18 Bejjan its friday!
19:18 loswillios heh
19:18 Bejjan there is a reason I dont work as a commedian :)
19:19 Bejjan my jokes are lame
19:21 nature lol
19:21 nature all i'm trying to do is remove the <p> wrapping around subhead
19:21 nature i'd like
19:21 nature title subhead on one line
19:22 nature if you wrap you won't get std's
19:22 nature ok... sorry.... had to go there
19:23 Bejjan haha good one tho :D it made me alost choke on my beer
19:23 nature so you sprayed your screen instead?
19:23 Bejjan hmm I remember I did exactly what you are trying to do some while ago, just trying to figure out on what site
19:23 Bejjan I managed to swallow
19:24 Bejjan ok that didnt come out right
19:24 nature well... the thing is... the line that breaks things use to not break things
19:25 Bejjan Im not sure if I understand you correctly, but if, this might be a solution for ya: http://typo3.toaster-schwerin.de/typo3_english/2005_11/msg00032.html
19:26 Bejjan and perhaps you already stumbled upon that
19:26 nature i had not
19:26 nature lemme try and see what it breaks
19:26 nature or fixes
19:26 Bejjan hehe
19:26 nature or both
19:27 Bejjan I want to complete my nginx/php-fpm/apc/memcache tutorial , but I feel that the beer is stronger than my will to write :>
19:28 nature well
19:28 nature the result is similar
19:28 nature except it didn't bust the embedded links
19:28 nature a slight improvement
19:28 nature guess i could add the p tag back into the single item template
19:29 nature Meh!
19:30 Bejjan what is the mode of the tt_news ? list ? single ? archive ?
19:30 nature list/latest
19:30 nature is where i wanna strip the <p> wrap
19:30 Bejjan *googles*
19:30 Bejjan yep
19:30 nature but keep it in single
19:30 nature that code from that page wipes it completely
19:30 nature so single is all one paragraph
19:36 Bejjan I didnt test this, but might be useful: http://lists.typo3.org/pipermail/typo3-project-tt-news/2007-August/001264.html
19:38 nature hmmm... that's like exactly backwards of what i want it seems
19:38 Bejjan yes, but you could probably adjust it, it does clear out some parts, and adds back to others
19:41 nature lemme try it...
19:42 nature what's the worse thing that could happen?!?!?!?111
19:42 Bejjan you could get surprise sex and get std's :D
19:42 Bejjan but thats another story
19:42 nature well i do have a date with a cute brunette in a few hours...
19:42 Bejjan ok i really need to stop making bad jokes :)
19:42 nature soo... not beyond the realm of possibilities...
19:42 Bejjan nice :)
19:43 Bejjan Im married since little over 6 months, but that didnt give me any luck, as we've been apart for about just as much time
19:43 nature D'oh!
19:44 Bejjan ye thats what happens when you marry someone from another country
19:44 Bejjan alllll the legal work ><
19:44 Bejjan good side of it, is I can drink beer whenever :)
19:44 nature holy non-wrapping lines Batman!
19:44 Bejjan it works?
19:45 nature i think so...
19:45 Bejjan gj :)
19:45 Bejjan hope it didnt break something else hehe
19:45 nature one down two to go
19:45 Bejjan but if I understand that snippet correctly you are able to put the wraps you desire
19:45 Bejjan if it works as it looks
19:48 nature the only thing odd
19:49 nature is the last line of real script says it prevents <p> wrap in single
19:49 nature yet they remain
19:49 nature but i commented them out anyway
19:49 Bejjan heh
19:49 Bejjan but you wanted to keep it right ?
19:49 nature yeah
19:49 Bejjan so its a win/win anyway :> cheers
19:50 nature if i only had a beer
19:50 Bejjan It's fine, I'll drink one for ya (or several)
19:50 nature now to figure out why tt_news reverted back to the old template select box
19:50 nature cool, thanks.
19:51 nature thanks for the help on that
19:51 Bejjan perhaps I should rewrite all my apache vhosts to nginx, and retire apache completly.. *ponders*
19:51 Bejjan anytime, glad I could be of help
19:53 nature latest version of tt_news/t3 is giving this http://www.lafarge.net/old.png not this http://www.lafarge.net/new.png
19:54 Bejjan I havent tried the latest yet
19:54 nature latest as in year and half old or more
19:55 Bejjan 4.2.8 or higher I guess ?
19:55 nature 4.2.10
19:56 nature but that shouldn't matter. because another install of t3 renders
19:56 nature it correctly
19:56 nature and i meant year and a half old for tt_news
19:56 Bejjan ah
19:56 nature exact same installs render that box differently
19:56 Bejjan hmm, perhaps some skin added to backend ?
19:57 nature nope
19:57 nature i don't recall adding a skin
19:57 nature it's happening on two sites, but correct on half a dozen others
19:58 Bejjan sometimes typo3 acts wierd
19:58 nature ooooooh that's an understatement
19:58 Bejjan the other day, before I got nginx and fcgi working propery, it rendered everything but content in <body></body> on my sites
19:58 Bejjan and figuring out that issue was not easy :D
19:59 Bejjan turned out that fastcgi has a bug (since way back) that makes it handle symlinks in a wierd way
19:59 Bejjan after changing to php-fpm for fastcgi processes it worked perfectly
20:00 nature i think i saw that issue to by the mail list
20:00 Bejjan so to the wierd part, that typo3 actually did Part of the work, but not all of it
20:01 Bejjan Now im happy with my setup, totally hosting on steroids
20:01 nature lol
20:01 Bejjan apache when tuned to its max could do about 600 dynamic pages per second
20:01 Bejjan nginx with php-fpm, apc and memcache, does a stunning 11k pages per second
20:02 Bejjan and 40k + on static files
20:02 Bejjan totally whoops apache's old farts
20:02 nature wow
20:02 Bejjan and this is running all the services on 1 box
20:02 Bejjan imagine having one dedicated cgi-box, one sql, and one frontend for nginx
20:05 Bejjan and rewrites in nginx isnt hard either, so realurl works perfectly fine

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.