Search the website and IRC logs

#TYPO3 IRC log from : Monday 28 September 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
03:36 andre having trouble with indexed_search
03:36 andre some database records indexed
03:37 andre but search box does not appears on page
03:37 andre i see the plugin comment in html with no markup
03:37 andre any idea what might prevent the indexed_searchbox to appear ?
09:29 pmk65 morning..
09:32 sorenmalling Morning
09:44 zed_devil morning
09:45 zed_devil i have a typo3 4.2.6 and there is no file like "ENABLE_INSTALL_TOOL" and the install tool is still working
09:46 zed_devil how can i switch it off
09:50 pmk65 zed_devil: that feature was introduced in 4.2.8 i think. But you can manually edit the index.php in the install folder, and uncomment the "die()" line.
09:51 paese hi all
09:52 zed_devil ok thx @pmk65
09:54 sorenmalling hi paese
09:55 paese can someone tell me how exactly to use a cookie for a condition? e.g. [globalVar=Cookie=1]
10:03 kraftb good morning !
10:04 paese hi
10:06 sorenmalling paese: Is the cookie condition for validating if a user is logged in?
10:06 paese no, it should be a cookie set by a user php script
10:07 sorenmalling Then you could be able to write another PHP function and use it as a userFunc
10:08 paese yes, so it's passible to use a userFunc in conditions?
10:08 paese oh, okay, yes it is ^ ^
10:08 paese just reading the part in the manual, thx
10:08 sorenmalling http://typo3.org/documentation/document-library/references/doc_core_tsref/4.1.0/view/4/1/#id3973427 :)
10:08 sorenmalling np
10:09 paese but i'm not comfortable with putting this functio into localconf.php ;)
10:10 paese does using includeLibs work?
10:11 sorenmalling Yes do the includeLibs and then run the userFunc in the condition
10:12 paese k thx
10:12 sorenmalling np :)
10:17 paese hm.. is it possible to "invert" or negate conditions?
10:17 paese i also need to work with a false value but i cannot use else because it's a double condition ..
10:18 paese i read nested conditions are not possible.. so.
10:19 sorenmalling Then make seperate function made for returning "true" if the condition is not med?
10:20 paese okay, was thinking of a ts solution but this also works :)
10:29 jbaptiste_j I have typo3 version 4.2.5 do you know if sys_todo and sys_workflow are compatible with my version ? I need to create a news workflow and news don't wllow versioning so publishing from custom workspaces won't work.
10:31 pmk65 paese: is it a persistent cookie or a session cookie?
10:31 paese pmk65 it should be a session cookie
10:31 paese i'm struggling with sorenmalling's solution.. the condition doesn't do something.
10:33 pmk65 how do you set/read the cookie in your php script?
10:33 paese via $_SESSION
10:33 paese mayb ei should try setcookie
10:35 pmk65 I normally use $GLOBALS["TSFE"]->fe_user->setKey('ses',$this->extKey,$cookie);
10:35 pmk65 and $cookie = $GLOBALS["TSFE"]->fe_user->getKey('ses',$this->extKey);
10:35 paese i'm not really working with fe_users .. i just need to know if a user has already visited the page
10:37 BejjWrk Is it possible to adjust the setup in the TCA array from typoscript ?
10:37 ZaFantasy hi
10:38 pmk65 paese: the user doesn't have to be logged in for you to use the setKey/getKey functions.
10:39 ZaFantasy is possible to set in TCA that all images are saved as original and also resized ones ? So there would be two original+resized image
10:39 paese pmk65 okay and if i set a cookie via fe_user->setkey, can i access it in via typoscript w/o any user_function ?
10:41 pmk65 not tested, but I would assume you can access it via something like [globalVar = TSFE:fe_user|sesData|extKey|cookievar]
10:41 pmk65 then change extKey and cookievar to match those of the PHP script.
10:42 paese okay
10:45 pmk65 after you set the PHP cookie, you can do a: debug($GLOBALS["TSFE"]->fe_user->sesData);
10:46 paese pmk65 what are those attribs in setkey() ?
10:46 paese erm, okay
10:47 paese having the cookie not set is letting the condition assuming true which is unusable for me :/
10:48 pmk65 BejjWrk: I think there's an ext which allows you to manipulate TCA from tsconfig -> http://typo3.org/extensions/repository/view/tcamanipulate/current/
10:48 paese maybe a better situation description helps.. i need to load different css/js filesif a user has already visited the page or not. i know how to load etc but the cookie part is giving me headaches
10:48 pmk65 paese: you need to add a test to the condition too.
10:49 paese mpk65 what do you mean by "adding a test" ?
10:49 pmk65 [globalVar = TSFE:fe_user|sesData|extKey|cookievar>0]
10:49 paese .. how stupid -.- thx..
10:49 paese haven't realised that xD
10:51 pmk65 paese: Here's some info on the setKey/getKey func. -> http://typo3.org/documentation/document-library/references/doc_core_tsref/4.1.0/view/14/1/
10:51 paese tx
10:51 paese thx
10:57 paese okay.. so when setting $GLOBALS["TSFE"]->fe_user->setKey('ses','pretended',1); i should be able to check it via [globalVar = TSFE:fe_user|sesData|pretended = 1] right? ;)
11:08 kraftb not necessarily
11:08 kraftb AFAIK you can set/load session data using setKey/getKey
11:09 kraftb but I am not sure wheter this information is available in fe_user_sesData ...
11:09 kraftb at least I never heard of it.
11:09 kraftb just try to print do "print_r($GLOBALS['TSFE']->fe_user->sesData);" - if you find your values it works.
11:09 pmk65 kraftb: the info is there if you do a ebug($GLOBALS["TSFE"]->fe_user->sesData);
11:09 kraftb well then : good idea. i needed something like that quite some time ago.
11:10 pmk65 so it should work in conditions too
11:10 kraftb good to know this data is accesible via TypoScript
11:10 kraftb and you could also print out the data using: .data = TSFE:fe_user|sesData|whatver
11:10 kraftb I once created an extension: "kb_ts_session" - which keeps GET/POST data available transparently
11:11 kraftb so every value being posted/get'ed in a specific field like "tx_myform[firstname]" was being stored in the session
11:11 kraftb indeed: everything being posted to "tx_myform" ...
11:12 kraftb and later on restored into the GET/POST vars, so you could use the values from within TypoScript - this last step wouldn't have been necessary if I knew at this time to acces them via "sesData"
11:13 kraftb well ... I'll be away ...
11:15 m4rtijn hi all
11:40 zed_devil how can i switch off "autocomplete" on my typo3 page (BE login, FE forms)
11:42 ssc Hi, all
11:42 ssc Powermail: how can i set a default-field-width (html-attribute "size") for all textfields ?
11:43 paese ssc: css
11:43 paese input { width: xy; }
11:43 paese respectively, powermail will add css classes to input fields, use them
11:44 ssc But my problem is: If the customer wants to set one field with the html-attribute size=5 - it's ignored if I use css ....
11:48 ssc does no-one knows a solution for this problem ?
11:48 ssc I thought I could set it via TypoScript or something like this which fills the marker ###SIZE### in the template ...
11:54 MarkusH ssc: the the customer has to add an !important
11:54 ssc rofl
11:54 ssc I think there should be another way - don't you?
11:55 ssc otherwise: the customer don't set up some css-lines - so do you think it'd work if you write such code into the size-attribute:
11:55 ssc size="25 !important"
12:03 MarkusH no, but when you use css
12:04 MarkusH style="width: 25px !important;"
12:18 xaver hello
12:18 Kochs hello, i need a hint: In my Typo i display the tt_content manual and do not use any "typo3-pre-libs" -- with Text an Text with Images that works... but how can i define in Typoscript that plugins from the tt_content are shown in the FE?
12:20 xaver i use in one old web html 4.01 but the header data always convert the headerdata to XHML with />. Any way to change it?
12:40 zed_devil @xaver config.doctype = <!DOCTYPE html PUBLIC .........
12:46 pmk65 Kochs: Look at css_styled_content, and see how it's done there.
12:49 pmk65 xaver: No. Some core developer decided a while back that all HTML output is in shorthand format, so it's not possible to output true HTML4 (or HTML5) code.
12:51 Olf hi
12:51 xaver pmk65: thx for the information
12:52 Olf would it be possible to make my page have multiple templavoila templates and make it possible to switch them in FE
12:54 Kochs pmk65: thx .. good idea
13:00 Olf and an idea, or maybe someone has seen an extension like this... what would it be if there would be an extension that lists TS lib elements in BE, page settings... so admins could select is it active or not in a current page? would be nice feature to allow/disable elements per pages
14:20 BejjWrk clear
14:20 BejjWrk miss
14:20 BejjWrk lol
14:20 BejjWrk common irssi over ssh misstake ^^
14:28 gerards Hi all, question: Jquery or Dojo (no mootools or GWT please). Thanks.
14:38 xaver most popular at the moment is jquery i think
14:39 xaver gerards:
14:44 gerards xaver: it does look nice (this coming from a longtime Dojo dude)
14:52 Conic hey all, is there a possibility to reverse the way you organize nested FE Groups?
14:52 Conic so that i click on the main group an select all groups which should be in there
14:52 Conic and not the other way round
14:52 Conic like this i would save a lot of time
14:52 Conic any ideas? or an extension?
15:00 Conic never had that problem?
15:10 Conic by the way, is there an announced release date of stable 4.3 ???
15:15 sorenmalling Conic: http://forge.typo3.org/wiki/typo3v4-core/43_roadmap
15:18 pmk65 but usually there's a lot of bugs in the 1st "stable" release.
15:19 sasser hi, i've a problem with the mapping of templavoila. i mapped a div as attribute (selected the style-tag) and chose the image-type. in the frontend, the background-attribute is not in the style-tag, it looks just like this: style="typo3conf/temp/146134.gif". how can i add the background parameter?
15:20 sasser i already tried 10.stdWrap.addParams.style = |
15:20 sasser thats my TS: http://pastebin.com/m68b16eba
15:22 sasser oh, i mean: 10.stdWrap.addParams.style = background(|)
15:23 sasser but it doesn't work for me
15:32 pmk65 sasser: it doesn't work because there's no stdWrap properties like that.
15:32 pmk65 try 10.stdWrap.wrap = background: transparent url(|);
15:39 sasser 10.stdWrap.wrap = background:url( | ) no-repeat center
15:44 sasser that solved my problem
15:45 sasser stdWrap.wrap .... how stupid >.<
16:19 akdemik hey there, i need some help please... i have to edit a typo3 website and found a marker {$website} in the typoscript setup... can anybody tell me where such markers are defined?
16:23 kinea|afk akdemik: in the typoscript constants
16:32 BejjWrk in constants like kinea|afk said, most likely in the form of: website=something
16:34 akdemik yes he told me... but i have searched in every template and could not find it ^^ i´ll try the ext "extdeveval" to get a dump of all templates and will try to find it in there like kinea|afk told me...
16:38 pmk65 akdemik: Use the Typoscript Object Browser, or the Template Anayzer. both can list the setup and constands used on the site.
16:41 BejjWrk pmk65: Im just curious, but I have to ask, since your nickname reminds of a quite funny plugin. Are you perhaps the author of pkg-i-hate-ie ? :>
16:41 BejjWrk pmk*
16:41 BejjWrk cant even type properly lol
16:42 pmk65 pmkihateie, yes. it's one of my plugins. (written after spending 8 hours bugfixing an ext so it could work on IE6)
16:42 BejjWrk I love it :)
16:42 pmk65 after that I was so frustrated with IE, so I had to make a "hate" extension :)
16:43 atmos4 hi, were is the default ts setup of typo3 located again=
16:43 BejjWrk I like the example message in the manual "Inferior browser" :) made me laugh
16:44 zed_devil such a great plugin - it a honor to meet you
16:44 pmk65 my latest ext is this one: http://forge.typo3.org/projects/show/extension-pmkfdl
16:45 akdemik love u guys... with extdeveval i could find the variable ;)
16:45 pmk65 It allows you to create true download links for files, by extending the stdWrap/typolink function
16:45 atmos4 I looked in typo3/sysext/css_styled_content/ but couln't locate it
16:46 pmk65 atmos4: There's no fixed position. Some people put it on the 1st page, while others prefer to put it into a sysfolder.
16:46 BejjWrk pmk65: nice
16:46 atmos4 nevermind I'm blind =)
16:46 atmos4 it's right there in
16:46 atmos4 in typo3/sysext/css_styled_content/static/setup.txt
16:46 atmos4 I only needed to scroll down a bit =)
16:47 atmos4 pmk65: I'm modifying core rendering of images, so I need to override typo3's default setup for css styled content
16:48 pmk65 atmos: you don't have to modify the css_styled_content file for that. In the TS setup field you can clear or overwrite the default setup.
16:49 atmos4 I know
16:49 atmos4 but I need to read the code =)
16:49 atmos4 I'm adding dropshadows to all default content types image/image w/text
16:50 atmos4 so I need to see what's going on inside typoi3
16:50 pmk65 ok
16:50 atmos4 it's actually working already, only maxW is ignored
16:51 BejjWrk I think thats because t3 if I remember correctly keeps aspect ratio of the images
16:52 BejjWrk meaning the value to hit the max first is the one its going to go for
16:52 pmk65 atmos4: you can use TS to get the exact image sizes..
16:53 pmk65 http://www.typo3wizard.com/en/snippets/cool-stuff-typoscript/fun-with-tsfe-part-1-getting-additional-image-imformation.html
16:53 pmk65 there's some examples on how to get the image size after a TS operation.
17:16 Kochs how can i hide the option "image align" in the Backend in an ImageText Object? .. My Users should not have the option to change the image position
17:33 _pedda_ cu all
17:54 Kochs maybe someone can give me a hin
17:54 Kochs t
17:58 ries Kochs: I don't know the real setting but properly look under PAGE TS Config settings
17:58 ries and may be you can do it also with permissions for teh group/user
19:00 Kochs ries: thx, for the idea.. but found no solution. the premissions can handle everything but not the image align hidden.. =\
21:18 Phlogi hey guys, anyone here?
21:19 Phlogi ries: ping
21:19 ries Phlogi: yes some are here
21:19 Phlogi :)
21:24 Phlogi I'm wondering how I implement multi lang in my extension records... anyone knows a documentation about that?
21:38 ries Phlogi: it's fairly simple...
21:38 ries Let kickstarter do the work ;)
21:38 ries then tell TYPO3 to load the language overlay
21:38 ries I copied some of the code from tt_news
21:39 Phlogi ries: ok, thats what I had in my mind... :)
21:39 Phlogi do you use any library when writing plugins? ries
21:40 Phlogi what a basically need is a nice form in frontend for an fe user to insert data (images, text and such)... and then I will output this on another page ( I can use some existing code from other extensions I wrote for that)
23:46 Guest33762 hi
23:46 Guest33762 #nick aloiscito
23:47 fuchur /nick
23:47 fuchur ^^
23:47 aloiscito thanks fuchur
23:48 fuchur welcome
23:49 aloiscito this is the typo3 channel, right_
23:49 aloiscito ?
23:49 fuchur yep
23:50 aloiscito do you know rvt_eggdrop?
23:50 fuchur nope
23:51 aloiscito somebody from ecuador here?

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.