Search the website and IRC logs

#TYPO3 IRC log from : Thursday 5 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:09 mechanical_man schabracke: I got an answer from the direct_mail-developer. Quickmail isn't able to send attachments, due its plaintext only and no MIME. So its not a bug.
00:11 schabracke holy macaroni!
00:11 schabracke that was pretty fast! thank you
09:19 milpoer hi.. i'm using tt_news and i trying to figure out how to make a line break in the caption text of an image if the text is wider than the image. Any suggestions ?
09:27 maholtz|WORK morning
09:27 jbaptiste_j morning
09:28 anonissimus morning
09:31 PiMB morning all
09:45 crapfish somebody here who can point me in the right correction about fe logins via ldap? (and with groups assigned from win2003 AD)? it works perfectly for me with the login using ig_ldap_sso_auth if i set up groups to bind to the "<ou>" but then it cant associate the users with any groups.. and if i bind groups to "<cn>" it wont let me do any fe logins at all.
10:05 howard hallo chan
10:05 howard anyone faced problem using distinct command in typo3 dbal?
10:05 howard statement I mean
10:06 Prot0 Not really, but what seems to be the problem?
10:07 howard not working
10:07 Prot0 Do you get an error message?
10:07 Prot0 (i assume you do :])
10:07 howard $GLOBALS['TYPO3_DB']->exec_SELECTquery('DISTINCT (fe_user_id)',...
10:07 howard and without braces also
10:07 howard not working
10:08 howard result is FALSE
10:08 Prot0 have you tried debugging your query
10:08 Prot0 ex:
10:08 howard and through SQLyog everything is fine
10:08 Prot0 $GLOBALS['TYPO3_DB']->store_lastBuiltQuery = true;
10:08 howard its a simlpe query
10:08 Prot0 print_r ($GLOBALS['TYPO3_DB']->debug_lastBuiltQuery);
10:08 howard let me try
10:09 howard didn't know for that magic
10:09 howard just to put that lines in class?
10:09 Prot0 erm
10:09 Prot0 $GLOBALS['TYPO3_DB']->store_lastBuiltQuery = true;
10:09 Prot0 in front of your query exec
10:09 Prot0 print_r ($GLOBALS['TYPO3_DB']->debug_lastBuiltQuery);
10:09 Prot0 after;]
10:09 howard ok
10:10 howard man
10:10 howard this is awesome
10:10 Prot0 hehe
10:10 howard i had 'ORDER BY uid'
10:10 howard in order part of dbal statement
10:10 howard so query was... ORDER BY ORDER BY uid
10:11 howard ;)
10:11 Prot0 lol
10:11 Prot0 :]
10:11 howard thnx for informing me abt this query debug func
10:12 Prot0 np, may save a lot of time
10:12 Prot0 especially in the future
10:13 howard sure
10:25 teppi|work just to mention: $GLOBALS['TYPO3_DB']->SELECTquery .. also gives back the processed query string ..
10:29 Prot0 how do you mean that?
10:30 Prot0 normally a select would return the results?
10:30 Prot0 ah yes
10:30 Prot0 my bad :]
10:30 Prot0 (misread SELECTquery for exec_SELECT)
10:49 sorenmalling I have created a backend module, but i don't get any vertical or horizontal scrollbars even though the content is larger than the avaliable size of the iframe. Anyone that have experienced this and/or know a way to solve this?
10:56 PiMB hey sorenmalling, suggestions are done here http://old.nabble.com/typo3-mod.php-does-NOT-allow-scrolling-td22429988.html
10:56 PiMB maybe that helps
11:21 milpoer anyone using the: ttnews_youtube extension ? I have added it and backend the field appears as they should, and the <object> is inserted in the html, but the youtube video is not shown.. any hints ?
11:31 PiMB does the youtube video even exists?
11:31 PiMB did you try different browsers?
11:36 RemcoR ..
11:40 PiMB milpoer any luck?
11:41 milpoer nope..
11:42 milpoer 2 sec. didn't ser you post..
11:43 milpoer PiMB: Yes, the post exists, i just have seen it at youtube :) and i have tried 5 different browsers
11:43 PiMB milpoer got a url?
11:43 milpoer yes: http://www.fritdrop.dk/nyheder/vis/artikel/klub-logoer/
11:44 milpoer danish, but HTML isn't
11:44 milpoer it should appear between date and paragraph text.
11:45 PiMB I get it ;)
11:45 milpoer :)
11:45 PiMB I figured the big white spot being a missing feauture
11:45 PiMB but I see what is wrong.
11:45 PiMB your youtube link is inserted inside a object
11:46 PiMB but it's not allowed to insert this video externally.
11:46 PiMB (says Youtube)
11:46 PiMB when you visit http://www.youtube.com/watch?v=aMtQjnsoD8c
11:46 milpoer I don't understand.
11:47 milpoer i have inserted the link throug the plugin extended fields in my tt_news element.
11:47 milpoer with full url, it that wrong?
11:47 PiMB no it's not.
11:47 PiMB but this video is not allowed for external viewing.
11:48 PiMB when you go to youtube http://www.youtube.com/watch?v=aMtQjnsoD8c
11:48 milpoer this video specific or in generel?
11:48 PiMB This video specific.
11:48 PiMB I'm in dutch at the moment so it says 'Insluiten op verzoek uitgeschakeld'
11:48 PiMB what means something like: embedding disabled on request
11:49 PiMB Try another video.
11:49 milpoer ok.. 2 sex
11:49 sorenmalling PiMB: Got it working with your link and $this->doc->inDocStylesArray[] :) Thanks alot! :)
11:49 milpoer sec
11:49 PiMB http://www.youtube.com/watch?v=03X2wGHAm9g
11:49 PiMB something like that.
11:50 PiMB sorenmalling, great to here it!
11:50 Jippi Hi. How can I make my two frontend plugins (pi1 and pi2) in the same extension share the same locallang.xml file? I've been googling around for 20min or something now without luck.
11:53 milpoer PiMB: Same problem with the new video, and this one is not restricted like the other..
11:53 sorenmalling Jippi: You can use $GLOBALS['LANG']->sL($value['label']) and in $value['label']) you can insert something like LLL:EXT:my_ext/locallang_db.xml:my_ext_bla.name
11:53 milpoer PiMB: Have to leave for 30 min.. lunch time..
11:53 flobbie_ hi, can anybody help me with a condition. I want to check if in styles.content.getBorder is content, if there is content I want to assign it to my template, if there isn't content I want to hide certain parts of my template ( subparts.area1 = TEXT, subpars.area2 = TEXT ). How can I create this if-else condition?
11:53 milpoer but thx for now..
11:54 PiMB of to lunch as well. talk to you later milpoer ;)
11:56 kraftb morning !
11:56 PiMB morning?
11:56 howard milpoer_ check http://typo3.org/documentation/document-library/references/doc_core_tsref/4.1.0/view/4/1/
11:56 PiMB slept in today?
11:57 PiMB @ howard, that link is not for milpoer, but for flobbie_
11:58 PiMB flobbie_ see howards link for typoscript conditions
11:58 kraftb no - but just logged into the channel and it is still morning ;)
11:58 PiMB and maybe something like if.isTrue < styles.content.get to add to your typoscript for the subpart
11:59 flobbie_ PiMB, howard: thanks for the link. Do I have to write a user_func for this?
11:59 PiMB I don't think that is the best way to do it.
12:00 PiMB but try looking at the if.isTrue or if.isFalse statements
12:01 PiMB Don't really have the time to talk you trough, sorry. But maybe this will shed some light.
12:01 PiMB http://www.typo3wizard.com/en/snippets/general-config/template-depending-on-right-content.html
12:01 PiMB good luck!
12:07 jbaptiste_j has anyone already used SAV Library extension ?
12:07 jbaptiste_j flobbie I have done it before, want to chat with me ?
12:09 jbaptiste_j flobbie_ http://pastebin.com/d376e1a51
12:29 frog hello
12:29 frog is here sb. from germany?
12:33 R2c Yoyo !
12:35 Prot0 hello
12:43 flobbie_ thanks jbaptiste_j
12:48 pulponair does anyone know whether sponsoring on forge is possible?
12:53 milpoer PiMB: you there ?
13:02 Prot0 He's not on his spot atm
13:02 Prot0 ;]
13:02 Prot0 (out for lunch
13:04 Prot0 still need help?
13:06 snoy_ms Hey Prot0
13:06 snoy_ms did we spoke yesterday about the geturl problem
13:06 snoy_ms found a solution
13:07 PiMB milpoer I think the embed code is not correct. because Youtube uses different kinda links for the embedding.
13:08 Prot0 yes
13:08 Prot0 we did :]
13:08 Prot0 what was the solution?
13:09 snoy_ms ini_set("allow_url_fopen","1");
13:09 snoy_ms fopen function
13:09 snoy_ms ini_set("allow_url_fopen","0");
13:09 snoy_ms works fine
13:10 snoy_ms my provider told me that workarount...didnt know it
13:10 Prot0 heh
13:11 PiMB kinda lame that the provider doesn't allow fopen on standard, but does allow ini_set ;)
13:11 Prot0 yes
13:11 Prot0 thats what I expected hehe
13:13 PiMB milpoer did it work?
13:15 milpoer PiMB: nope..
13:16 milpoer but if i take the embedded html from youtube and make a new html element it works fine.
13:16 PiMB true
13:17 milpoer I have the htmlspecialchars($row['tx_ttnewsyoutube_youtubevideo']) suspected for doing something with my src, because if i set the link manually directly in the class.php file it works.
13:17 PiMB sounds unlogical
13:17 PiMB so you paste the link inside the class directly and it works?
13:18 milpoer yes.. i have printet the url that is return by the htmlspecialchars($row['tx_ttnewsyoutube_youtubevideo']) in the end of the content var and it looks fine.
13:18 milpoer PiMB: yes.. when manually paste directly it works.. i have tried to make the settings for the flash as at youtube..
13:27 milpoer PiMB: I have to see what to do.. but thx for your help.. i think i will try to change the class file to match the embedded from youtube better.
13:27 flobbie_ Bye
13:28 Prot0 wb PiMB
13:28 Prot0 ;]
13:56 milpoer PiMB, I have found the root-of-trouble... but not the solution :)
13:59 milpoer PiMB, <embed src="'.htmlspecialchars($row['tx_ttnewsyoutube_youtubevideo']).'" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="560" height="340"></embed> its the line with <embed> that have problems or give problems.. when the htmlspecialchars($row['tx_ttnewsyoutube_youtubevideo']) is set like that.. but when hardcoded url, it works fine.
14:08 milpoer pimp.. found the solution now.. but not a good one..
14:08 milpoer PiMB, sorry about the name :)
14:09 Prot0 lol :]
14:09 milpoer when pasting following as url: http://www.youtube.com/watch?v=xCiCHo0PZyM (doesn't work) but http://www.youtube.com/v/xCiCHo0PZyM&hl=en&fs=1& works, if I paste the urls to my browser they both work...
14:16 PiMB not nice but it works.
14:16 PiMB what you could do is rewrite the class in such a way that you can insert the embed code from Youtube directly
14:16 PiMB or make it so only the code should be inserted
14:17 maholtz|WORK someone is interessted in an google wave invite?
14:17 milpoer PiMB, yes.. i'm about to make a small change.. and then see what the author thinks :)
14:17 Prot0 maholtz|WORK: always :]
14:18 maholtz|WORK send me your gmail adress
14:20 PiMB like one 2 ;)
14:20 PiMB but I got a google account on a hotmail address, don't now if it works
14:21 milpoer maholtz|WORK, i would like to join to :)
14:25 milpoer PiMB, It works, have modified it such only the video id is inserted and now it works.. I think i will need to review my code before contacting the author :)
14:26 PiMB :) good idea, send him a .patch or .diff file and maybe he will consider things.
14:26 PiMB is it hookable?
14:27 PiMB otherwise you could hook it and publish yourself
14:35 howard guys
14:35 howard what is the easiest way to get some page id in plugin class
14:35 Prot0 $GLOBALS['TSFE']->id
14:36 howard yes but that is the id of the current page
14:36 Prot0 yes
14:36 PiMB then via TS
14:36 Prot0 what other id do you want to have? :]
14:36 howard what if I want to get id of the page named 'Cars' in site tree
14:37 howard or any other page
14:38 Prot0 in the page tree or outside?
14:38 Prot0 i mean
14:38 Prot0 rootline
14:38 Prot0 sorry :]
14:38 howard I want to use page id from page tree, in some recently made class to make page redirection
14:39 Prot0 and you want to search for the page by its title?
14:39 maholtz|WORK @howard: you could have more than one page called "Cars" - usually you would use $this->conf['specialPid']
14:39 maholtz|WORK in typoscript: tx_yourplugin_pi1.specialPid = 123
14:40 howard ok I get it
14:40 Prot0 :]
14:40 howard in typoscript I setup ids
14:40 Prot0 yes
14:40 howard and later I in class I get it with conf option
14:40 howard correct?
14:40 Prot0 yes
14:40 howard thnx
14:40 Prot0 plugin.tx_yourplugin_pi1.specialPid = 123
14:41 Prot0 = $conf['specialPid']
14:41 Prot0 in that case
14:41 howard thnx guys
14:41 PiMB but you probably have to do a $this->conf = $conf; first in the main function before $this->conf is usable
14:41 howard I have that defined
14:42 howard bcs I already use some predefined constants in ts of that plugin
14:42 howard Thanks nl guys
14:42 jbaptiste_j In TT_content there are contents such as TEXT, Image, Image+text I would like to create a new sort of content such as "short presentation of a book" which you would create just as a regular form of content in the backend. Not something that you display with a plugin like in TT_news. How can I do that ?
14:43 maholtz|WORK @jbaptiste_j: check kickstarter for it, imho there is a option for that
14:43 PiMB by starting a new extension via the kickstarter and select that it inserts a new content item
14:43 jbaptiste_j Okie I'll dig that
14:43 schabracke hello!
14:46 PiMB hi schabracke
14:46 Prot0 hello :]
14:50 milpoer PiMB, do you know where the default height and width are set ? I have tried to ad following to "plugin.ttnews_youtube.videoDefaultWidth = 425" in the TS, but seems like its overriden from somewhere else..
14:51 PiMB no sorry
14:51 Prot0 lol
14:51 Prot0 the extension code is very tiny
14:51 PiMB long time ago I've worked with that one
14:51 Prot0 :)
14:51 Prot0 $width = (t3lib_div::testInt($row['tx_ttnewsyoutube_youtubewidth']) && ($row['tx_ttnewsyoutube_youtubewidth']>0)) ? $row['tx_ttnewsyoutube_youtubewidth'] : $ttnewsyoutube_conf['videoDefaultWidth'];
14:51 Prot0 $height =( t3lib_div::testInt($row['tx_ttnewsyoutube_youtubeheight']) && ($row['tx_ttnewsyoutube_youtubeheight']>0)) ? $row['tx_ttnewsyoutube_youtubeheight'] :$ttnewsyoutube_conf['videoDefaultHeight'];
14:52 PiMB sounds good ;)
14:52 marcuslind Do I only need to change the charset?
14:52 Prot0 erm
14:52 marcuslind bah first message didnt get through
14:52 Prot0 milpoer: Seems like TS values are overridden by DB
14:52 Prot0 :]
14:53 milpoer Prot0, hmm.. the default width i 210 strange.. think i will rewrite the extension, have allready made more correction :)
14:53 milpoer Prot0, thx.
14:53 Prot0 oh sorry
14:53 Prot0 these are not even TS values
14:53 Prot0 they are directly loaded from the localconf.php file
14:53 Prot0 $ttnewsyoutube_conf = unserialize($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['ttnews_youtube']);
14:53 milpoer Prot0, no.. thats the problem.. its regualar varable.
14:54 PiMB @milpoer
14:54 Prot0 there is no TS setup for it
14:54 Prot0 :]
14:54 PiMB maybe just right the damn thing yourself..
14:54 PiMB ;)
14:54 PiMB hook tt_news and do it properly
14:54 Prot0 the settings can be changed in the record or in the EM
14:54 milpoer PiMB, my thought to..
14:54 PiMB cause this sounds f***up
14:55 Prot0 it not just sounds, it is xD
14:55 schabracke oaky so here is my problem: i got a tt_news category tv-guide and i'd like to show the channellogos in the list view but NOT in the single view? how is that possible
14:55 milpoer Prot0, i know but want a desent default value if forgotten.
14:55 PiMB @ schabracke
14:55 marcuslind why cant i
14:55 marcuslind write long
14:55 marcuslind messages
14:56 PiMB tt_news uses templating for view of list and single
14:56 marcuslind in my MacIrssi client
14:56 PiMB differente subparts for different options
14:56 marcuslind Anyone know?
14:56 PiMB use that to display channellogo's or niet
14:56 PiMB @marcuslind
14:56 PiMB depends on how long ;)
14:56 marcuslind I can write 1-6 words
14:56 marcuslind ><
14:56 schabracke i know that i could add image contaiers like ###image_1### and ###image_2### and so on and if the channel always got ###image_1### i just add the ###image_2### in the single. but what could i do if a got two channels for one article?
14:56 PiMB flooding is not allowed at all
14:56 PiMB keep it short then ;)
14:57 marcuslind It's like schabracke just wrote
14:57 marcuslind it's not extremely long
14:57 PiMB should work
14:57 marcuslind dont want to spamm with 10 messages
14:57 PiMB maybe restart it ;)
14:57 marcuslind I did
14:57 marcuslind twice
14:57 marcuslind ><
14:57 maholtz|WORK steve jobs knows that 6 words are enough
14:57 PiMB know what to do..
14:57 PiMB throw it out the window ;)
14:57 marcuslind OK i keep it short
14:57 marcuslind how do I print
14:58 marcuslind swedish letters
14:58 schabracke @PiMB you think i chould try it like i wrote?
14:58 marcuslind in locallang.xml
14:58 marcuslind Do I only need to change charset?
14:58 marcuslind from UTF 8 to ISO?
14:58 schabracke @or do i have to create a subpart with one or more image containers ?
14:58 PiMB you could insert swedish in there.
14:58 PiMB if your website understands utf-8 shouldn't be a problem
14:58 marcuslind PiMB: I did, it worked fine in browsers
14:59 PiMB build a arabian site not so long ago
14:59 marcuslind but the string is part of a mail
14:59 marcuslind and in some mailbrowsers
14:59 marcuslind it showed distorted letters
14:59 PiMB that's up to the user, if it's installed (I believe)
14:59 marcuslind OK the mail prints fine in my Gmail client
14:59 marcuslind but my boss Mac mail client
14:59 marcuslind show distorted messages
15:00 PiMB that's because your computer has the swedish language pack
15:00 marcuslind The mail is only build by pi_getLL() and a mail() php function
15:00 PiMB same as some pc's show japanese, some don't
15:00 marcuslind OK so when I deliver
15:00 marcuslind the extension
15:00 marcuslind to the client
15:00 marcuslind Is it up to them to fix their mailcients? Nothing I can do in the code to prevent distortation
15:00 marcuslind of the letters
15:04 milpoer What is the right way to report changes to a plugin ? Contacting the author and see what he do about the changes ? or which is the right way...
15:04 PiMB not a 100% sure.
15:04 PiMB but I think so
15:04 PiMB changes or feauture request are send to the author or via forge.typo3.org
15:05 Prot0|busy TYPO3 Forge
15:05 Prot0|busy oh
15:10 milpoer PiMB, Prot0|busy thx.. will see where I end up :)
15:10 Prot0|busy :]
15:10 Prot0|busy good luck
15:11 PiMB good luck mate
15:11 PiMB if it doesn't work, contact us, we'll build a new and improved one all together now!
15:11 PiMB ;)
15:11 Prot0|busy lol
15:11 Prot0|busy you and your great ideas :-P
15:16 PiMB sorry mate.
15:16 PiMB I'm full of it ;)
15:17 Prot0|busy All thats needed is time of course
15:19 PiMB can write this while i'm on the loo
15:20 Prot0 yes, but not today. Ain't got you VAIO yet ;-]
15:20 Prot0 *you = your
15:20 PiMB :|
15:20 Prot0 unless your chuck norris, who can 'think' code
15:20 PiMB true, only the piece of paper saying I'm going to get one..
15:20 Prot0 would be funny though, to write an extension on toilet paper
15:21 Prot0 hard to publish though
15:23 PiMB weird kind of humor..
15:23 Prot0 hey!
15:24 Prot0 it's IRC
15:24 Prot0 ;-]
15:38 schabracke HELP: i installed a selfmade extension and now this comes in the be:Parse error: syntax error, unexpected '<' in /var/www/umat/typo3conf/temp_CACHED_ps64b5_ext_localconf.php on line 2179
15:39 schabracke and in the frontend! the site istn reachable anymore
15:39 schabracke what can i do??
15:41 Prot0 uninstall your extension and delete the cached files
15:41 PiMB check where you've made an error in your own extension and then fix it. and delete the cache file in typo3conf
15:41 PiMB and don't panic!
15:41 schabracke i cant uninstall it anymore
15:41 Prot0 :D
15:42 Prot0 makes sense
15:42 schabracke hehe
15:42 PiMB by hand from localconf.php
15:42 schabracke there is just the error
15:42 Prot0 remove it from the extList in the localconf.php yes
15:42 Prot0 sorry PiMB types faster ;][
15:42 PiMB w00t! I win!
15:42 schabracke u mean i gotta get on the server and delete the file?
15:42 schabracke haha
15:42 PiMB might be handy ;)
15:43 Prot0 will be difficult if you dont have file access
15:43 PiMB or you must know another way to manually edit the localconf.php
15:43 schabracke okay i try that
15:44 PiMB good luck!
15:44 PiMB and don't forget to breath, it's not a major issue
15:45 PiMB (well, kinda is, because of the site being offline and all, but it's not hard ;] )
15:47 PiMB $this->sys_page = t3lib_div::makeInstance('t3lib_pageSelect');
15:47 PiMB $this->sys_page->init($GLOBALS['TSFE']->showHiddenPage);
15:47 PiMB $a_rootPageContent = $this->sys_page->getPageOverlay( $this->sys_page->getPage($i_pageUid), $GLOBALS['TSFE']->sys_language_uid );
15:47 PiMB something like that Howard
15:47 PiMB you need to make an Instance first mate
15:55 Prot0 He quit :|
15:55 RemcoR thats nice -_-'
15:56 Prot0 amen
16:07 flobbie_ http://pastie.org/private/an9f7uhzhy4ira9qazala -> why is my condition true everytime, and the line after the condition executed
16:14 PiMB @flobbie_ are you using css_styled_content?
16:14 flobbie_ yes
16:16 PiMB btw, the condition is not for the next line in particular.
16:17 PiMB whenever a condition is true the whole object is displayed or not
16:17 flobbie_ how can I exec the next line? I want to empty area_path if there is no content in getBorder?
16:18 PiMB by the use of lib / temp TS and some COA
16:18 PiMB take a look at examples on google
16:20 flobbie_ I took a look at many examples
16:20 RemcoR rtfm
16:23 flobbie_ But I don't create the text in typoscript. The text is in my template, and I want to hide it.
16:24 PiMB so use a temp.subpart or something to load the subpart with a if.isTrue in there.
16:24 PiMB and load that temp lib in the page.10.some'insome'in
16:26 flobbie_ I thought that I could say: subparts.area_path = TEXT if styles.content.getBorder is empty. But if I say subparts.area_path = COA, .. it is empty all the time
16:34 PiMB @ flobbie_
16:34 PiMB 1-904811-97-3
16:34 RemcoR ISBN 1-847191-11-8
16:54 RemcoR De groeten
16:54 RemcoR Cyq
16:55 RemcoR Cya later
16:57 schabracke hey there again
16:57 Prot0 still alive? ;]
16:58 schabracke haha AGAIN
16:58 Prot0 :]
16:58 Prot0 everything working again than?
16:58 schabracke but gdammn it, i dont know what im doing wrong
16:58 Prot0 your localconf for your ext is messed up
16:59 schabracke @Prot0 interested in my problem? cause its a lot to write
16:59 schabracke nono everythings fine again and everythings working
16:59 PiMB what is the problem?
17:00 Prot0 schabracke: If you need any help sure :]
17:00 schabracke okay so: i made a new extension (to more tables in tt_news - thos are image fields)
17:00 Prot0 ok
17:00 PiMB via kickstarter
17:01 schabracke i installed the extension - everythings fine, i created the class. and the ext_tabel files
17:01 schabracke everything is fine now with that (i made a typo - that was the reason for the error)
17:01 schabracke i included to more markers in my news template
17:01 schabracke yes with kickstarter
17:02 schabracke and now the only thing i got are the two markers (###tv_senderlogo_1###) displayed on my site
17:02 schabracke so its not, kinda, connected ... i dont know
17:02 PiMB Okay, so to summarize
17:03 PiMB 1, you've extended table of tt_news
17:03 schabracke me or you ? :)
17:03 schabracke y
17:03 PiMB 2. you created all extension files
17:03 schabracke y
17:03 PiMB 3. you've added markers to the template
17:03 schabracke y
17:03 PiMB 4. but markers are not filled proparly
17:03 schabracke ....
17:04 schabracke a friend of mine just told me to to so in the ttnews class file - but i have no idea
17:05 PiMB no
17:05 PiMB please don't do it in the tt_news class.
17:05 PiMB you can hook that.
17:05 PiMB just a sec.
17:05 PiMB let me find the code you'll need
17:07 schabracke ahhh thank you :)
17:07 PiMB you have a pi1 class?
17:07 schabracke in my ext? or in ttt_news, cause there i got one :)
17:08 PiMB in your ext
17:08 schabracke nopew
17:08 PiMB you'll need a php file in there
17:08 PiMB no problem.
17:08 PiMB relax, don't panic!
17:08 schabracke haha
17:08 PiMB you've got a ext_localconf.php in your ext?
17:08 schabracke everythings fine .....
17:08 schabracke yes
17:08 PiMB good.
17:08 PiMB add this line to it.
17:09 Prot0 ..
17:09 PiMB $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['tt_news']['extraItemMarkerHook'][] = 'EXT:rk_codehighlight/pi1/class.tx_rkcodehighlight_pi1.php:tx_rkcodehighlight_pi1';
17:09 PiMB where you replace rk_codehighlight with your ext foldername and a php file where you will add a class inside
17:10 schabracke and should i add this line at the bottom of the file, where the ?> is?
17:10 schabracke excuse me i really have no idea of php ...
17:10 PiMB then I wouldn't try this..
17:10 PiMB no offence..
17:10 PiMB cause this is the start.
17:10 schabracke c'mon lets do this
17:10 PiMB then you have to write the php class to insert the markers and process them.
17:11 PiMB I got no time to write this for you.
17:11 PiMB ..
17:11 PiMB just a sec then.
17:11 schabracke okay
17:21 Prot0 hmm
17:21 Prot0 guess it's about time to go home
17:23 Prot0 cya :]
17:25 schabracke bye bye!
17:46 kraftb hi ...
17:49 jbaptiste_j hi kraftb
17:49 kraftb hi !
17:49 kraftb jean?
17:51 kraftb hmm ... is "Jean-Baptiste" your lastname ?
17:52 kraftb it seems to be quite common - on the newsgroup there are a few people having this lastname ...
17:52 kraftb i always thought it would be firstname + lastname
18:00 ries anybody happen to know how to tell gifbuilder to create sub-directories for images creating?
18:07 jbaptiste_j A templating question : when I create a text+image content with image in text and litle text then the next content will be shifted sideways like here (twice the same content block) http://www.crdp-lorraine.fr/typo3/index.php?id=759
18:07 jbaptiste_j the second block is shifted
18:07 jbaptiste_j any help ?
18:11 flobbie_ wrap your content.
18:12 jbaptiste_j yep I was thinking of that
18:12 jbaptiste_j like tt_content.stdWrap.wrap = <div class="content-element-container">|</div>
18:15 kraftb jbaptiste_j: it is more a workaround than a solution, but I simply added a content element type HTML and set the code "<div style="clear: both;"></div>"
18:15 kraftb then i copied this content element after every occurence of the problem.
18:15 kraftb of course you could simply use the typoscript object browser, open "tt_content.stdWrap" and set a apropriate wrap there ...
18:15 kraftb wiat
18:15 jbaptiste_j thanks burt I can't do that I have dozen of contributors ;)
18:15 jbaptiste_j yes your second idea looks much better
18:16 jbaptiste_j MUCH BETTER
18:16 kraftb div.content-element { clear: both; }
18:16 kraftb just add this to your CSs
18:17 jbaptiste_j I'lll try this one too
18:17 kraftb should also work
18:17 kraftb or: tt_content.stdWrap.wrap = <div style="clear: both">|</div>
18:21 flobbie_ now I can wrap an area in comments if my content is empty, but I want to delete it ( subparts.area = TEXT ), so every html code is deleted
18:27 iaj` can anyone help me - how can I have 2 mailformplus forms on one page... whenether I submit its always using the first one :(
18:29 jbaptiste_j thanks guys good evening
18:34 flobbie_ please, can anybody tell me how to hide an area if styles.content.getBorder is empty, but styles.content.getBorder should not be copied to the area.
19:17 flobbie_ isn't it possible to remove an area from a template if there is no content in another area on the page?
19:18 pmk65 flobbie_: do you use TemplaVoila or old-style rendering?
19:18 flobbie_ old-style
19:21 pmk65 then you could use numRows to test if a column is empty or not.
19:21 pmk65 There's a couple numRows examples at typo3wizard. -> http://www.typo3wizard.com/en/snippets/general-config/template-depending-on-right-content.html
19:21 flobbie_ if.isTrue.numRows < styles.content.getBorder
19:22 pmk65 http://wiki.typo3.org/index.php/Ts45min#numRows
19:22 flobbie_ but to remove the text I need subparts.area_teaser = TEXT
19:23 pmk65 set the value to nothing, for that marker.
19:25 flobbie_ "subparts.area_teaser = TEXT" my problem is that I don't know how I can connect it with "if.isTrue.numRows < styles.content.getBorder
19:27 pmk65 what is it you want to accomplish? Put some default text in the border column, if there's no CE's?
19:29 flobbie_ no, I want to hide a full area.
19:31 pmk65 the easiest way is to make your marker a COA object, and then include 2 objects which checks if the border area is empty or not.
19:32 flobbie_ in the area is html code from the template, and I want to show it depending on if there is content in another part of my website
19:32 pmk65 you only want to render "subparts.area_teaser" if the border column is empty?
19:35 flobbie_ no, area_teaser is almost a static content in my template
19:36 flobbie_ and I want to remove it.
19:37 pmk65 what type of object is that? COA, TEXT?
19:37 flobbie_ area_teaser is a subpart of my template
19:38 flobbie_ and if styles.content.getBorder is empty, I want to set it to text, so every html code is removed
19:38 pmk65 i know, but what type of object have you defined it as?
19:39 pmk65 COA, TEXT, IMAGE, RECORD, CONTENT etc.
19:40 flobbie_ none.
19:41 flobbie_ in my template: ###area_teaser###<div....###area_teaser###
19:42 pmk65 but you create a typoscript marker, and that HAS to have a type, otherwise you get no output..
19:42 flobbie_ and now I want to remove the code inside ###area_teaser###
19:42 pmk65 without knowing the type its impossible to create an if statement.
19:43 flobbie_ if I set it to a type, my code is removed. And I only want to remove it, if getBorder is empty
19:46 pmk65 http://www.phlogi.net/f/t3/tsp/sp/-00f5b490c0/
19:48 flobbie_ if I set subparts.area_teaser to TEXT my code inside my template is deleted
19:48 fuchur humpf
19:48 fuchur hy guys
19:49 fuchur got a text w/ picture, three pictures, want to place three links
19:49 fuchur just put 79,80,90 in the textfieltd ... works, links the pictures to 79, 80, 90
19:49 fuchur now i want to give GET-params ... adding &tx_myext_pi1[show]=1 the link does not work anymore :(
20:12 pmk65 fuchur: you'll have to change the link rendering of the IMAGE object. as get parameters must be added using "typolink.additionalParams" (you could split the data at the "&" char.)
20:13 pmk65 or enter full link(s) with domain in the link field.
20:13 fuchur it'e enough if you just put id=79&param=value
20:13 fuchur doesn't need hole domain
20:13 pmk65 ok
20:15 fuchur man got a strange customer today :D
20:15 fuchur sent me specs for an extension ... 22 pages
20:15 fuchur i read, got 4 questions, called him and while discussing the first question i noticed that what he wants was something complete different from what he wrote in the specs
20:16 fuchur so it took me 2 hours on the phone to build up new specs with him o_O
20:16 pmk65 remember to add that to the bill ;)
20:16 fuchur of course
20:17 fuchur i'm afraid that i build everything and he says "oh ... erm ... no, that's not what i want"
20:17 fuchur :)
20:17 ries hJoin #css
21:15 fuchur what is wrong with imagemagick if a thumbnail looks like this? http://img193.imageshack.us/img193/2930/nh09041114.jpg

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.