Search the website and IRC logs

#TYPO3 IRC log from : Friday 5 October 2007

Year: 2007 2008 2009 2010 2011 2012
Month: 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:21 Pariah lo all
00:22 Pariah I'm trying to make a frontend form for adding records to tt_address using fe_adminLib.inc, but I really can't get it to work
00:22 Pariah also with plugins like fe_useradmin and directmail_subscription as an example
00:22 Pariah does anybody know a step by step explanation of this library?
00:35 Pariah nobody online who can help me out with creating a fe_adminLib.inc form???
01:53 Denyerec I could be wrong
01:54 Denyerec but I think midnight is an odd time to be asking such questions :)
02:03 num000 ls
03:06 num000 can anyone tell me how toask if a checkbox is checked in a flexform field?
03:17 voidus num000: just retrieve value from flexform and check it like "if ($value){"
03:18 num000 ohh i have it, it works wonderful
03:19 num000 i just didn't know that i also have to use the exact sheetname ;)
03:19 num000 you are a late night worker voidus
03:20 voidus num000: yes..
03:20 num000 i tryed multiple languages, but it doesn't work for any reason with flexform
03:20 voidus all sleeps, it's quietly..
03:21 num000 it leaves the places empty
03:21 num000 >LLL:EXT:[$_EXTKEY]/locallang_db.xml:label.flexReportActive
03:21 num000 this for example doesn't give anything
03:21 num000 the related translation is in locallang_db.xml
03:21 voidus num000: hm.. did you try to replace [$_EXTKEY] to real extkey?
03:21 num000 and the tag name labe.flexreportActive also exist
03:21 num000 voidus no, but i'm going to do this now
03:22 num000 now it works
03:22 num000 mhh
03:22 num000 whats wrong with $_EXTKEY
03:23 num000 my script doesn't now $_EXTKEY why?
03:23 num000 where is it initialized and how is it past to my main?
03:23 num000 pased
03:24 voidus num000: $_EXTKEY exist only in ext_tables.php/ext_localconf.php
03:24 voidus it doesn't exist in your main()
03:24 num000 this book is wrong again
03:24 num000 i should ask for the money back
03:25 voidus which book do you use?
03:25 voidus i think, there 2 or even 3 books about t3
03:25 voidus *there are
03:25 num000 typo3 and typoscript kochbuch which is german
03:26 num000 from hanser verlag, written by two guys whose german is worse than my english
03:26 num000 called alexander ebner and patric schuster
03:27 voidus do they work in some t3-dev studio?
03:27 num000 i don't know
03:27 num000 do you know if there is a checkbox variant which disables a second one if the first one is choosen
03:27 voidus no
03:27 num000 radiobuttons maybe?
03:27 voidus i know, the answer is "no" :)
03:28 num000 are there radiobuttons?
03:28 voidus yes
03:28 voidus there should
03:28 voidus afaik
03:28 num000 can i do this with radiobuttons?
03:28 voidus yes... if you find them :)
03:28 num000 hehe
03:29 voidus num000: do you use any debugger?
03:30 num000 no
03:30 num000 where can i get one?
03:30 num000 i would love to have one
03:30 num000 i'm new to php and typo3 etc.
03:30 num000 i'm more from the c/c++ site
03:30 voidus debuggers and IDEs for TYPO3 is a pain in the ass :(
03:30 num000 where you can find debug tools
03:31 num000 as much as you want
03:31 num000 voidus tell me one name?
03:31 voidus num000: xdebug, eclipse with PDT, zend debugger
03:31 num000 and they work with typo3?
03:32 voidus they work with php :)
03:32 num000 i can't even imagine how this should work
03:32 num000 where do you develop then?
03:32 voidus you need to enable additional module on the server... in the php.ini
03:32 num000 eclips on your local machine and your pages on the serverside or do you have them on the same development machine?
03:33 voidus num000: you may have them on serverside. but debugger should be installed on the server
03:33 voidus i wasn't be too lucky to set it all up
03:34 num000 if i get in deep trouble i'll use it
03:34 voidus so, my choice for now is just quick text editor
03:34 num000 can gcc do php?
03:34 num000 probaply not
03:34 voidus no, gcc can't
03:34 num000 vim is the best debugger ;)
03:34 voidus php is an interpreted language...
03:34 num000 exact
03:35 voidus num000: i didn't use vim... but i think that i should. but vim in windows - rare thing :)
03:36 num000 no problem, there is a wonderful implementation for it on windows
03:36 num000 gvim
03:36 num000 look at vim.org
03:36 voidus i know..
03:36 num000 use it in conditional editor mode if you are new
03:36 num000 toit
03:36 voidus but as far as i remember, there is no ctrl+c/ctrl+v/ctrl+f in vim :)
03:37 num000 sure there is
03:37 num000 go to the sentence you want to copy
03:37 num000 say yy
03:37 num000 and go to the place you want to have it copied
03:37 num000 and say SHIFT + O
03:37 num000 it will place the line above it
03:37 voidus i didn't say "no copy/paste"
03:38 voidus i said "ctrl+c" :)
03:38 num000 and what does ctrl+c do?
03:38 voidus copy selected text.
03:38 voidus and ctrl+v inserts it
03:38 num000 why shouldn't vi do this
03:38 num000 map your keys to ctrl+c
03:38 num000 no problem
03:39 num000 go to visual mode and use your mapped keys
03:39 num000 V
03:39 voidus really? i thought vim has predefined keymap
03:39 num000 no
03:39 num000 vim is very flexible
03:39 num000 most people use it with the predefined keys
03:39 num000 since they come from vi, which is vim's comercial and ancient friend
03:39 num000 like j k l h etc for navigation
03:41 voidus habits, habits... if you open any editor on windows, you can expect it understand ctrl+c. but if you come on *nix, you have vim installed on any computer..
03:41 num000 yes
03:44 voidus so, if i come to *nix and setup vim, terminal, krusader to habitual hotkeys, i must carry my ~.* on the flash...
03:48 num000 not necessarily
03:48 voidus what is another way? :)
03:49 num000 working allways on the same machine, or having a home directory which is mapped from the network, also you have your own userprofile where you can set it
03:50 num000 and it will remain yours
03:50 voidus yeah.. maybe
03:51 num000 checkbox looks great
03:52 num000 now i need to speak to those checkbox and get the selected result
03:52 voidus you didn't find radios?
03:52 num000 pardon
03:52 num000 sure, i was talking about radios
03:52 num000 radio buttons not checkboxes
03:53 voidus num000: you need to retrieve value from flexform
03:53 voidus there is a method get_FFvalue or similar in the tslib_pibase
03:53 num000 yes, i'll try it
03:53 voidus for that
03:54 voidus $code = $this->pi_getFFvalue($this->cObj->data['pi_flexform'], 'what_to_display', 'sDEF');
03:54 voidus example ^^
03:54 num000 sDEF is the default sheet isn't it
03:54 num000 if no other is given
03:54 voidus yes
03:54 num000 cool
03:54 voidus 'what_do_display' is a name of your flexform field
03:55 num000 yes works great
03:57 voidus num000: i think it's very late in germany too...
03:57 num000 voidus i've a problem which i can not solve myself, since i do not know how to solve it, which has something todowith subParts of markers, can you have a look at this code please http://pastebin.com/d3801d141
03:58 num000 voidus yes it is
03:58 num000 0400
03:58 voidus 6:00 here..
03:58 num000 the problem with the above is that i need to decide which subsection i put into content at the end
03:59 num000 and the iteration for the different css class isn't selected well, is there an other way you could tell me
03:59 voidus $switch_row = $switch_row^1; - that line?
04:00 num000 no this line is correct
04:00 num000 this just makes sure that every line gets a different
04:00 num000 <tr class="blal" ...
04:00 num000 but the last line $content = $this->cObj->substituteSubpart($tmpl, "###EINTRAG###", $content);
04:00 num000 here where i use ###EINTRAG###
04:01 num000 i could also use ###EINTRAG_ALT### which then has the separate css class in <tr ...
04:02 voidus num000: can you paste your html template too?
04:02 num000 yes
04:03 num000 http://pastebin.com/d181e13f6
04:03 voidus aha
04:04 num000 you may see the problem
04:04 voidus so, you just need to substitute one subpart and delete another
04:04 num000 how?
04:04 voidus $content = $this->cObj->substituteSubpart($tmpl, "###EINTRAG_ALT###", '');
04:05 num000 i didn't understand
04:06 voidus what?
04:07 num000 i didn't understand your solution
04:07 voidus put this line after 39's line
04:07 voidus you need to replace ALT subpart with nothing
04:10 num000 this doesn't work
04:10 num000 it overrides the hole
04:10 num000 and just displays the marker in the table fields
04:12 num000 voidus no even appending it to the end doesn't work
04:12 voidus ah..
04:13 voidus $content = $this->cObj->substituteSubpart($content, "###EINTRAG_ALT###", '');
04:13 voidus try that
04:14 num000 no, it doesn't work
04:15 num000 ahhh
04:15 num000 now it works
04:16 num000 thanks voidus
04:17 voidus num000: ?>60;C9AB0)
04:17 voidus oops
04:17 voidus num000: np :)
04:17 num000 what was that?
04:18 voidus num000: russian.. "no problem" or "you're welcome"
04:22 num000 thank you
04:23 voidus you're welcome :)
04:24 num000 voidus you suggested to make the difference between the displayed pages with case select,, instead of "if" "else" switches, right?
04:25 voidus num000: yes
04:25 num000 ok, sure i'll listen to your suggestino
04:26 voidus not really pages
04:26 num000 ?
04:26 voidus it's better to make a flexform field
04:26 voidus like in tt_news
04:26 voidus and select between SINGLE/LIST
04:27 num000 i've two different pages, one which gives a report of sent messages and one which allows users to sent messages from a form page
04:27 voidus and?
04:27 num000 i don't know exactly what you mean with flexform fields?
04:28 voidus you can place plugin with FF field "report" on one page
04:28 voidus and plugin with FF field "sent messages" to another
04:28 num000 yes, which i did
04:28 num000 ok, but in the php class file
04:28 num000 i do need to distinguish between these, which shold be done with case select?
04:29 num000 or did i misunderstand something
04:29 num000 the radiobutton will deside which part of the class file will be returned (display) isn't it the idea behind this?
04:29 num000 and the same plugin is used
04:29 num000 on different pages
04:29 num000 is this ok?
04:29 voidus num000: yes
04:30 voidus you understand it right
04:30 num000 so it is ok to make a separate design template which holds the form fields and also read this in
04:31 voidus yes, but usually all such parts are in one html file
04:31 num000 but they will be shown then
04:31 num000 except if i use subparts again
04:31 voidus yes, subparts..
04:31 num000 ok
04:32 voidus t3's template engine is not ideal
04:33 voidus cause it force to write spaghetti code
04:33 num000 voidus if i wanted to user name as it is instead of user id number which function can i use for it
04:33 num000 $GLOBALS['TSFE']->fe_user->user['uid']
04:33 num000 this gives me the uid
04:33 voidus num000: and ['username'] gives you login
04:39 num000 is there something wrong with exec_SELECTquery() wrapper function, it doesn't allow me to make a compare from $GLOBALS['TSFE']->fe_user->user['username']
04:39 num000 to my own databasefield with userid = $user_id
04:40 num000 where $user_id is $GLOBALS['TSFE']->fe_user->user['username']
04:40 voidus hm.. username is a string
04:40 voidus user_id probably integer
04:41 num000 both are strings
04:41 num000 varchars
04:41 voidus hm..
04:41 voidus show the code
04:41 num000 one has 50 fieldlength and the other 255
04:42 voidus i am 99% sure that exec_SELECTquery() isn't buggy :)
04:43 num000 mhh
04:43 num000 $res = $GLOBALS["TYPO3_DB"]->exec_SELECTquery("*", "user_adsms_sentlist",
04:43 num000 "deleted = 0 AND hidden = 0 AND pid = '".$sentMessagesPageId."' AND userid = $username ");
04:43 num000 can i do something like this?
04:44 num000 userid is a varchar field in the database
04:44 voidus yes, you can
04:44 voidus btw
04:45 num000 i'm getting warnings on theoutput page
04:45 num000 and nothing is displayed
04:46 voidus which warnings?
04:46 voidus enable sqlDebug in install tool
04:46 voidus and you'll see if any sql query failed
04:47 num000 Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/typo3_src-4.1.2/t3lib/class.t3lib_db.php on line 796
04:47 num000 Warning: Cannot modify header information - headers already sent by (output started at /var/www/typo3_src-4.1.2/t3lib/class.t3lib_db.php:796) in /var/www/typo3_src-4.1.2/typo3/sysext/cms/tslib/class.tslib_fe.php on line 2907
04:47 voidus yes, seems that sql query failed
04:47 num000 i don't know what he means with this
04:48 voidus sorry, afk for breakfast
04:48 num000 have a nice breakfast
05:11 voidus thanks. i am here
05:15 num000 ohh
05:15 num000 i think i found the problem, but i don't know what exactly t3's wrapper is expecting from me
05:16 num000 when i hardcode the username like 'greatuser' then it works
05:16 num000 but with an variable it doesn't
05:42 num000 voidus still here?
05:42 voidus num000: yes
05:42 num000 god, there is something different when comparing strings
05:42 num000 but the variants i try do not work
05:42 num000 maybe you have an idea voidus
05:43 num000 AND userid = 'john'
05:43 num000 gives me good result
05:43 num000 but when i say
05:43 num000 userid = '.$username'
05:43 num000 with $username = $GLOBALS['TSFE']->fe_user->user['username'];
05:43 num000 it doesn't return anything
05:44 voidus did you login with such user?
05:44 num000 yes
05:44 num000 sure, i'm also echoing this and returning the $username user
05:44 num000 and it gives me good name
05:44 voidus i see no dot after $username
05:44 num000 maybe there is something wrong with escaping?
05:45 num000 should there be one?
05:45 voidus depends
05:45 num000 no, after it there is nothing added
05:45 num000 $res = $GLOBALS["TYPO3_DB"]->exec_SELECTquery("*", "user_adsms_sentlist",
05:45 num000 "deleted = 0 AND hidden = 0 AND pid = '".$sentMessagesPageId."' AND userid = '.$username.' ");
05:45 num000 well now i added it the dot after
05:46 voidus can you paste that line on pastebin?
05:46 num000 yes
05:46 voidus i cannot differ ' and " in irc client :\
05:46 num000 ok
05:47 num000 http://pastebin.com/d5ed29b24
05:48 voidus num000: remove the dot before $username
05:49 num000 i do it all the time wrong with these dots
05:50 voidus i recommend to not use " quotes at all...
05:50 num000 just using single quotes?
05:50 voidus yes.
05:51 voidus autoreplacing variables in the double quotes in the worst thing in php
05:51 voidus except echo, of course :)
05:51 num000 ;)
06:07 num000 voidus the message users should sent, shall be inserted to dtabase and then an url should be called with the values
06:07 num000 do i need to write a separate php file which i should add to action="sendmessage.php"
06:08 num000 or how can i do this with typo3
06:09 voidus num000: do you need to make link?
06:09 num000 link?
06:09 voidus or what?
06:10 num000 i didn't understand the link. but the values user enter shold be passed to an url like this https://mydomain.tld/gateway.php?id=john&pw=bla ...
06:10 num000 also these information should be written into the database
06:10 num000 the values i mean
06:10 voidus aha
06:10 voidus you need to hangle get/post
06:11 voidus *handle
06:11 voidus right?
06:11 voidus use $this->piVars
06:11 num000 piVars
06:11 num000 ok, i'll try to find information about piVars
07:53 |Awillys| morning
08:01 salamandyr any good way to add meta tags to pages?
08:13 voidus salamandyr: use advanced type
08:14 voidus of page
08:40 salamandyr voidus: where do i set that?
08:40 voidus salamandyr: open page properties
08:40 salamandyr been looking :)
08:41 voidus and change page type to 'advanced'
08:41 janand hi all
08:41 janand anyone can help me in tt_news configuration
08:41 salamandyr voidus: nice, then you have the "keywords" field for meta tags?
08:41 janand i want to restrict news item to only 3 news
08:42 voidus salamandyr: keywords and description..
08:42 salamandyr voidus: great, thanks so much
08:45 voidus janand: what do you mean?
08:45 voidus salamandyr: np
08:46 janand voidus:i want to display only 3 items on the page
08:48 voidus janand: in other settings tab set limit to 3
08:48 HardPhuck i have some problems with tinytre
08:49 HardPhuck tinyrte
08:49 HardPhuck in IE, when making a link to a file
08:49 HardPhuck files get displayed in horizontal list instead of vertical
08:49 HardPhuck but in firefox it works like it should
08:59 janand voidus: thanks :)
09:15 amrun hi you guys.
09:16 danielito hi there. if I have a plugin, that uses "$this->getFieldContent('imagemap').'". where do I have to search for the content of imagemap?
09:17 amrun how do i prevent all users to make a new record of a specific type in the BE? say, i want to "remove" a recordtype from the "make new record" section
09:17 danielito ah. in the db :)
09:23 bauschan hi there
09:36 amrun hi
09:36 amrun how do i prevent all users to make a new record of a specific type in the BE? say, i want to "remove" a recordtype from the "make new record" section
09:41 d|g hi all
10:18 amrun how do i prevent all users to make a new record of a specific type in the BE? say, i want to "remove" a recordtype from the "make new record" section
10:23 HardPhuck which RTE is the best do use and most versatile to configure?
10:34 Pariah good morning all
10:35 fuchurr good morning
10:37 Pariah fuchurr, do you have experience creating fe forms with fe_adminlib?
10:37 tsrepadmin good morning #typo3!!!
10:37 Pariah morning ;-)
10:37 fuchurr I think one "!" is more than enough :)
10:37 Pariah he has a big question I think :D
10:37 tsrepadmin fuchurr: but it ist TYPO "3" not "1"
10:38 fuchurr Pariah no sorry ... i've just started using typo3 two week ago :)
10:38 fuchurr +s
10:38 Pariah fuchurr: in that case you've just started to live ;-)
10:39 fuchurr he he
10:41 Pariah somebody online who can help me out with fe_adminlib?
10:54 \0 hi ..short question: how to redirect wrong pages to the mainpage of a domain
10:55 \0 hi tobsta
10:55 tobsta aloha.
10:55 \0 do you have experience with sys_domain?
10:55 tobsta no, unfortunately not
10:56 tobsta Is there a content element similar to "Insert records" with the difference that it includes all the content elements of a page's column and not only a static list of content elements?
11:00 beli hi folks!
11:01 beli i am using apache2 and my typo3 backend login was always visible under www.domain.de/typo3
11:01 beli now it's gone
11:02 beli Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
11:02 beli that's what i get from the apache error log
11:04 \0 some .htaccess redirections?
11:04 \0 modrewrite
11:05 beli oh, i just checked the httpd.conf...let's check for .htaccess
11:07 beli no htaccess there
11:07 \0 you use the index.php?id=23 syntax?
11:07 beli yes
11:08 beli mod_rewrite module is loaded, but there are no rewrite lines in the config
11:10 \0 did you get my query beli?
11:10 beli yes and i answered with yes
11:11 Denyerec MOOOOOOOOOOOOOORRRRRRRRRRRRNING!
11:23 HardPhuck morning? :)
11:24 HardPhuck 11:26AM here
11:24 delmonico same here :)
11:24 delmonico so, good morning :)
11:29 HardPhuck lol i woke up in 6:00 so i am almost finished with my job :)
11:29 HardPhuck and by the way, today is friday
11:29 HardPhuck i just love fridays :)
11:30 markgenee ...
11:31 markgenee PLS HELP ME..
11:31 markgenee i have created template and several pages, and its working.
11:31 delmonico please stop shouting
11:32 HardPhuck so why do you need help then :)
11:32 markgenee i accidentally clicked the 'Clear cache in typo3config/' and the 'Clear FE cache' in the
11:33 markgenee although i can see the data and records in the back end,
11:33 markgenee i can't view the front end anymore. the ADMIN PANEL is the only thing that comes up.
11:33 \0 somebody here with sys_domain knownledge?
11:33 markgenee pls,, help me..
11:33 HardPhuck so you loaded the template instead of making your own?
11:34 HardPhuck do you have css styled content installed?
11:34 markgenee yes
11:35 HardPhuck have you loaded it in the template?
11:35 markgenee yes
11:35 markgenee i was following the instruction in the docu-tutorial for templavoila
11:36 markgenee but i messed up
11:36 markgenee im just a newbee
11:36 HardPhuck ah, then you will have to ask someone else, i never used TV before
11:36 HardPhuck all my templates are written manually without TV
11:37 markgenee any idea how to view the frontend?
11:37 markgenee the record is still in my backend, but i cant view it in frontend.
11:37 HardPhuck uninstall TV and follow the tutorial that has automake template extension described
11:38 markgenee i guess TV is not the problem
11:38 markgenee it has something to do in cache.
11:40 markgenee any idea pls?
11:40 elbart hello and good morning
11:40 janand voidus:hi
11:42 markgenee pls help, i cant view the frontend, ADMIN PANEL is the only thing that comes out..!!!
11:42 markgenee i accidentally clicked the 'Clear cache in typo3config/' and the 'Clear FE cache'
11:43 Pariah markgenee: that's not the problem, just the reason why you see there's an error...
11:43 markgenee what shall i do?!?
11:43 elbart 2 links clicked accidentaly?
11:43 Pariah your page was showing correctly because it was cached
11:43 Pariah in the meantime you misconfigured something
11:44 markgenee what shall i do?!?
11:44 Pariah try to hide all plugins / content to see the problem is in some plugin, and after that check all the steps of the tutorial you were following...
11:44 Pariah don't forget to clear the cache again to check if it's working ;-)
11:45 markgenee do u mean the extensions?
11:46 Pariah to see if your template is working you should better not show any extensions, just to be sure the error is in one of them
11:47 markgenee uhmm, are you sure about that?
11:47 elbart whats about the error?
11:48 elbart how does it look like?
11:48 Pariah markgenee: you should check the 'Create the TypoScript Template Record' and 'Creating the Template Object for the page template' part of the tuto
11:51 markgenee ok, thank you very much!
11:51 silithlas hi, I have a problem, how comes I cannot preview tt_news articles in another workspace? I always have the message : page is beeing generated. Thanks
12:03 Strud I'm using the smile glossary and I'm getting a weird javascript error when I try to see the ajax popup on the content
12:03 Strud anybody can take a look at the url and try clicking on the first paragraph, the work 'patogenia'
12:04 Strud http://www.cun.es/areadesalud/enfermedades/de-la-boca-nariz-y-oidos/otitis/
12:04 janand how can i restrict the no of words/characters for a news item?
12:12 joe_ if i delete a page with fe-editing im getting the error "The requested page does not exist!" is there a workaround so the parent page of the deleted will be shown?
12:15 janand anyone working on tt_news extension
12:17 Denyerec janand
12:17 Denyerec You trying to get snippets to work ?
12:22 typo3newbee hi
12:22 typo3newbee anybody there?
12:23 HardPhuck nope
12:23 HardPhuck we are drinking beer on Bora Bora
12:23 typo3newbee :D
12:23 typo3newbee can i join?
12:23 typo3newbee i'll bring a 10 pack
12:24 HardPhuck well 2 hot topless chicks are the entrance fee
12:24 typo3newbee haha
12:24 typo3newbee anyway..i'm totally new to typo3
12:24 typo3newbee i need your help
12:24 HardPhuck shoot
12:25 typo3newbee one of friend wants to add new extension to his already installed typo3 website
12:25 typo3newbee so i decided to do that
12:25 typo3newbee i backuped the data via ftp
12:25 typo3newbee and database with export
12:26 typo3newbee i moved all those to my ftp server
12:26 typo3newbee changed the configuration
12:26 typo3newbee everything seems to work fine
12:26 typo3newbee but when ever i access the backend i get this following error msg
12:27 typo3newbee Warning: fopen(/Users/<removed>/vhosts/balabla.com/httpdocs/typo3temp/llxml/misc.xml_62402c1ec9.default.iso-8859-1.cache) [function.fopen]: failed to open stream: Permission denied in /Users/<removed>/vhosts/balabla.com/httpdocs/t3lib/class.t3lib_div.php on line 2438
12:27 typo3newbee ERROR: File not written to disk! Write permission error in filesystem?
12:28 janand denyerec:hi
12:28 typo3newbee the chmod of typo3 folder is 755
12:28 janand denyerec:was not on the desk?
12:28 Denyerec Lo
12:28 Denyerec Not ON the desk ?
12:28 Denyerec Interesting workplacew.
12:28 janand yes
12:28 Denyerec ;)
12:28 janand :)
12:28 Denyerec You're trying to do tt_news snippets?
12:29 janand yes
12:29 Denyerec Right. It is a two stage process.
12:29 janand i want to restrict no of words of news items to be 20
12:29 Denyerec The first is simple, you can use the TS 'crop' parameter to chop something after X charcaters
12:29 HardPhuck typo3newbee: chmod +R fileadmin uploads typo3temp typo3conf
12:29 HardPhuck ah
12:30 HardPhuck chmod +R 755 fileadmin uploads typo3temp typo3conf
12:30 Denyerec I believe tehre's something like that in typo3wizard (google for that, handy site)
12:30 HardPhuck this one :)
12:30 Denyerec HOwever, if you used HTML markup in the news articles, this can break your site.
12:30 janand denyerec:anything in the tt_news extension
12:30 Denyerec No, you have to do it via typoscript IIRC
12:30 Denyerec 1 sec
12:32 typo3newbee @hard*****: "chmod +R 755 fileadmin uploads typo3temp typo3conf" what does +R mean?
12:32 HardPhuck recursive
12:33 HardPhuck shit, my bad it's -R not +R
12:33 typo3newbee it's ok
12:33 Denyerec janand - http://paste2.org/p/7953
12:33 Denyerec Look there
12:33 typo3newbee i'll try this after my lunch
12:33 Denyerec you'll find some pointers in there on how to crop news
12:34 janand ok
12:34 typo3newbee are you still online?
12:34 HardPhuck yes
12:34 typo3newbee will be back in 30 min
12:34 typo3newbee thanks
12:34 HardPhuck np
12:34 Denyerec I think .crop is a tt_news thing
12:34 Denyerec or is it standard ts?
12:35 Denyerec Me, it's in the tt_news doc anyway
12:35 Denyerec that means 200 characters, add ... to the end, and only chop after a full word
12:35 Denyerec 200 | ... | 1
12:35 janand ok
12:36 janand so i should put that in the setup field
12:37 Denyerec yeah, tho make sure you read through the TS and this page:
12:37 Denyerec http://typo3.org/documentation/document-library/extension-manuals/tt_news/2.5.0/view/1/7/
12:37 janand ok
12:37 Denyerec So you know what it's actually trying to achieve
12:37 janand ok
12:37 Denyerec otherwise random things will kick off, and you'll be all "WTF"
12:37 Denyerec :)
12:47 drindt hm i had a problem, iam updating in the ext_emconf.php the dependencies to other plugins, and when iam update via Backup/Delete the Extension manager throw away my changes in the dependencies key, someone has a clue for a unclued dude? thanks
12:47 janand Denyerec: it does not show any content
12:47 Denyerec see above comment about "WTF" and the manual
12:48 janand denyerec: WTF=?
12:48 Denyerec "what the f...."
12:53 e_ hey guys
12:53 e_ i have a typo3 running which out of a sudden only shows blank pages and i don't know why
12:54 e_ what would be the first place to look for that error?
12:54 typo3newbee @hard**: u still there?
12:56 Denyerec You using template voila e ?
12:56 e_ i don't know, how do i find that out?
12:56 e_ is that an extension?
12:57 Denyerec If you don't know if you're using it, you're probably not.
12:58 Denyerec cos you would have become very familiar with it when building the site :)
13:04 e_ i didn't build it, i'm just the serveroperator
13:05 e_ i don't have anything to do with typo3
13:05 Denyerec Doh.
13:05 e_ but now the guy that has an idea about it is kind of lost
13:05 Denyerec sometimes, on older versjons of TV, you had to go and update the mapping and re-save it to get the pages back
13:05 Denyerec was an odd bug, fixed by an update,.
13:05 e_ i see
13:05 e_ that's an extension then?
13:07 janand Denyerec: hi
13:08 Denyerec Yeah
13:08 janand Denyerec: I have displayed the news item on 2 pages
13:08 janand I want to crop the words on only 1 page, can we do that?
13:08 Denyerec Uhm
13:08 Denyerec areyou displaying in the same mode on both pages
13:09 janand yes
13:09 Denyerec Bummer.
13:09 Denyerec you could just use a page conditional in your TS
13:09 Denyerec to say "If you're on page 2, don't crop"
13:09 Denyerec or vice versa
13:10 janand Denyerec: can you please give the script for this?
13:10 Denyerec [globalVar = TSFE:id=7] BLAH BLAH [end[
13:10 Denyerec [globalVar = TSFE:id=7] BLAH BLAH [end]
13:10 Denyerec In this case, 7 was my page ID
13:11 e_ denyerec: this is really weird, every single page only has some header stuff, a small javascript and an empty body (with bg color white)..
13:12 Denyerec I've seen that when TemplateVoila goes nuts
13:12 Denyerec but you're gonna have to get the tecchie to check the mappings, IF you're using TV
13:13 janand Denyerec:being a newbie to typo, can you paste some sample code in paste2.org please?
13:13 Denyerec janand - that's how you do a conditional on said page
13:13 Denyerec so you'd put the cropping ttnews config inside that
13:13 Denyerec and it'll only apply on page 7
13:13 Denyerec there's nothing more to it
13:14 \0 hi all
13:15 \0 i got a problem with domains
13:15 e_ denyerec: how do i find out if we are using TV?
13:15 \0 when i use domain1.com/start1.html i can see the page from domain2.com
13:15 \0 how can i prevent that?
13:16 typo3newbee Can anyone help me out with this error message:
13:16 typo3newbee Warning: fopen(/Users/<removed>/vhosts/mainfolder.com/httpdocs/subfolder/typo3temp/llxml/misc.xml_62402c1ec9.default.iso-8859-1.cache) [function.fopen]: failed to open stream: Permission denied in /Users/<removed>/vhosts/mainfolder.com/httpdocs/subfolder/t3lib/class.t3lib_div.php on line 2438
13:16 typo3newbee ERROR: File not written to disk! Write permission error in filesystem?
13:17 janand Denyerec : Thanks a lot, it works :)
13:17 Denyerec e -ask the tech guy
13:18 e_ denyerec: mkay.. oh, and is there any kind of error log or something i can take a look at?
13:18 Denyerec No tthat I know of.
13:18 Denyerec Like I said, that was the condition *I* found this problem in
13:18 Denyerec yours could be very different
13:18 \0 @ typo3newbee: did you check the permissons?
13:18 typo3newbee yes i did
13:19 typo3newbee chmod 755
13:19 \0 maybe u need 766
13:19 typo3newbee why that?
13:19 \0 oder something like that
13:19 \0 or 777
13:19 \0 when your ftp user is not the user for the files
13:19 typo3newbee which files/solderS?
13:19 typo3newbee folders
13:20 \0 subfolder of typo3temp
13:21 e_ okay, problem solved
13:21 e_ other admin screwed up
13:21 typo3newbee all subfolders?
13:21 typo3newbee or only llxml
13:23 \0 all
13:23 \0 look at the install tool
13:23 \0 that will check all permissions
13:24 e_ okay, thanks anyways guys
13:25 amrun how do i prevent all users to make a new record of a specific type in the BE? say, i want to "remove" a recordtype from the "make new record" section
13:25 typo3newbee thanks \0
13:25 typo3newbee i changed the permissioin to 777
13:25 amrun argh
13:25 typo3newbee it seems like it's working
13:25 amrun but thats not the yellow from the eg isnit?
13:25 typo3newbee but hey..can u tell me why i have to use different permission
13:26 amrun of the eg..
13:26 amrun different than 777?
13:26 amrun to whom are you talking to?
13:26 typo3newbee actually i was talking to \o
13:27 typo3newbee \0
13:27 \0 your webspace seems to run php as apache module
13:27 typo3newbee you know i'm want to try using typo3..i backuped all the data and moved it to a subfolder...everything was working fine
13:28 typo3newbee except the problem with the backend
13:28 typo3newbee what does this mean \0?
13:28 \0 so all scripts are run as apache
13:29 \0 but apache is not the user your working with
13:29 amrun (he means as the user of apache)
13:29 \0 so the apache user got no permission to write files
13:29 \0 because he is not the owner and the chmod was 755
13:29 typo3newbee therefor i have to change the chmod?
13:30 \0 or you change the way php is build in your webspace
13:30 amrun if i may... but he should not set permissions to 777 \0 right? bit of a security leak
13:30 amrun or he gives the apache user more rights
13:31 typo3newbee yeah rite...amrun that's what i thought too
13:31 \0 is that your own server typo3newbee ?
13:32 typo3newbee isn't this a security problem?
13:32 amrun oh good question
13:32 typo3newbee no
13:32 typo3newbee i'm using a hosting provider
13:32 \0 oh
13:32 amrun hum..
13:32 \0 all great providers i know did not have this problem
13:32 amrun what about if he asks the provider to fiddle around with this?
13:33 \0 many other providers use suphp or suexec for running php als cgi
13:33 amrun yeah, but he is using this provider, so he has to fix the prob somehow
13:34 \0 so the script is running with the same user that have ftp access to the page
13:37 typo3newbee ok let me describe u the situation again:
13:37 typo3newbee - fileadmin
13:37 typo3newbee - misc
13:37 typo3newbee - newSubfolder <== this is the new folder i've created to test my typo3 website
13:37 typo3newbee ---- fileadmin
13:37 typo3newbee ---- misc
13:37 typo3newbee ---- t3lib
13:37 typo3newbee ---- typo3
13:37 typo3newbee - t3lib
13:37 typo3newbee - typo3
13:37 typo3newbee .......
13:37 typo3newbee how come i have to change the permission in the new subfolder?
13:38 \0 did 766 work?
13:38 typo3newbee yes
13:38 \0 or 765
13:38 typo3newbee 755
13:38 typo3newbee :D
13:39 \0 how
13:39 \0 i thought 755 does not work
13:39 typo3newbee that's my question
13:39 typo3newbee :D
13:39 typo3newbee in the subfolder i had to change the chmod to 777
13:39 typo3newbee i had to change typo3temp and t3lib/llxml permission to 777
13:40 typo3newbee after changin it to 777 it works fine so far
13:40 typo3newbee but the live site is working with chmod 755
13:41 typo3newbee is it a server setting problem?
13:42 typo3newbee are you there \0
13:44 \0 the live site is on the same server?
13:44 typo3newbee yes
13:45 \0 on the same vhost?
13:45 typo3newbee hest
13:45 typo3newbee same webhosting
13:45 typo3newbee same account
13:46 typo3newbee isn't this strange?
13:47 typo3newbee i think i'm going to contact the hoster
13:48 amrun the toaster?
13:48 amrun :)
13:49 typo3newbee the toaster??
13:49 typo3newbee what do u mean with that?
13:50 typo3newbee thank you anyway \0
13:50 \0 ahh
13:50 \0 i see a reason
13:50 typo3newbee wow
13:50 typo3newbee what's the problem \0?
13:50 \0 if typo3 created the folders outside it would be ok
13:50 \0 so the apache user is owner of this folders
13:51 \0 and he could write into these folders
13:51 \0 but u created the subfolders with your ftp account
13:51 typo3newbee right
13:51 \0 so u need to find out if that is the reason
13:52 typo3newbee ok
13:53 typo3newbee thanks again for helping me out
13:53 typo3newbee u r the best
13:53 typo3newbee ;)
13:55 \0 thanks
13:55 \0 wish you luck
13:55 typo3newbee i need that
13:55 \0 again my question
13:55 \0 i need help with the multi domain konfiguration in typo3
13:57 typo3newbee http://www.typo3forum.net/forum/statische-webseiten/23042-multidomain-und-unterschiedliche-konfiguration.html
13:58 typo3newbee ok guys..i'm out now
13:58 typo3newbee have a good day
13:58 typo3newbee adios
13:58 \0 lol
13:58 \0 thats
14:36 num000 is anyone using wurfl for delivering pages to mobile devices?
14:40 janand Denyerec: help on one more issue please?
14:42 Denyerec k?
14:42 janand When i click on the more link i am redirected to a details page
14:42 Denyerec that's usually how people want it to work :)
14:43 janand i want to display all the news content without the "more " link
14:43 Denyerec So don't include the more link on your template
14:43 janand means now it shows me the cropped content with more link and then the whole content
14:45 janand no i will explain more in details
14:47 janand Denyerec: did you get my message?
14:48 Denyerec Nope
14:49 janand i sent you in the query mode
14:50 janand Denyerec:http://phpfi.com/267007
14:52 Denyerec You regged with nickserv?
14:52 Denyerec if not, querys wont work
14:53 janand no
15:00 janand Denyerec:Did you get the link?
15:01 Denyerec yes, but it doesn't mean much to me.
15:03 janand yes means on the details page it is showing the more link and below that the details
15:04 janand i want to display only the detials
15:16 janand Denyerec:Hi
15:18 Denyerec if you can give me a URL to what you have
15:18 Denyerec I might be able to see what you're on about, but from your description, I do not understand
15:19 janand ok
15:22 janand Denyerec:http://phpfi.com/267014
15:25 Denyerec Maybe I'm not in the right mood or something
15:26 Denyerec But I haven't the faintest idea what you're trying to achiev.e
15:26 Denyerec Ifyou have something in a particular view you don't want, just edit the template
15:26 Denyerec if they're based off the same template, then base them off 2 copies of the same template, and edit one of them
15:26 janand ok thanks
15:33 theconic hi all, can someone tell me how i can add and remove fields in the form of ve_guestbook?
15:33 theconic or just a tutorial where it's explained...
15:34 joe_ you can just delete them in the template
15:35 theconic hm, ok, and how do i do [i]this[/i] ?
15:35 joe_ have you specified a template or are you using the default one?
15:35 theconic default
15:36 joe_ okay, just copy it somewhere and use the copy. so you can modify the copy without loosing the original
15:37 theconic hm, you mean for the case that i make a mistake?
15:38 joe_ yes or for the case that you need it in another case in which you need the fields youre deleting
15:38 theconic ok
15:39 theconic isn't there a possibility just to not display them by css or something?
15:40 theconic wonder why ve_guestbook doesn't have the option ingetrated, because i can't imagine that everyone wants to use the fields wich are given...
15:40 joe_ the surrounding divs are having the same css class...
15:40 theconic yes, that's the only problem
15:40 joe_ im always deleting them from the template =)
15:40 theconic the login forms all have different ones, there it's easy
15:41 theconic hm, never did something like that before
15:41 theconic how do i "delete them from the template"? ^^
15:42 theconic does that have to do with the mighty TS that i never understood yet? :D
15:42 joe_ it doesnt look like ve_guestbook is supporting another way... there are no subparts defined in the template so the extension could delete them.
15:43 joe_ just delete the whole div surrounding the field that you dont need
15:43 theconic ok, i just don't know exactly (yet) what you mean with the template...
15:43 joe_ the html-template coming with ve_guestbook
15:43 theconic is there a template file in the extension?
15:44 joe_ yes
15:44 theconic aah...
15:44 theconic ok, mom
15:44 theconic i'll search it...
15:44 joe_ typo3conf/ext/ve_guestbook/pi1/guestbook_template.tmpl
15:44 theconic ^^
15:44 theconic damn, you're fast
15:44 joe_ was looking at it to see which css is used and so
15:50 theconic lol, there in the template file are the classes defined...
15:50 theconic dan't you just add a class there?
15:50 joe_ sure you can
15:55 theconic for example if you have "<p class="tx-guestbook-date">###GUESTBOOK_DATE###</p>" just make "<p class="tx-guestbook-date, class_to_hide">###GUESTBOOK_DATE###</p>" out of it an then in css say "display: none;" ? i think that should work, right? hwat do you think?
15:55 joe_ soure it would work, but why not deleting it?
15:56 theconic i would have said: why not hiding it? ^^
15:56 theconic if you delete it it will be away forever
15:56 joe_ not if youre not editing the original
15:56 theconic and with this method you can easily make it visible later again
15:56 Denyerec Yo, theconic, when you install Typo3 without symlinks, do you just slap the contents of the /src/ folder over the dummy site/
15:56 Denyerec ?
15:57 theconic i don't know what you mean, what are symlinks?
15:59 theconic my english is not the best ;) and what means slap the contents of the /src/ folder ?
16:04 theconic JUHUUUUU!!! my new CPU has has just arrived ;) will be back in a minute ^^ ...
16:22 psychocat because a CPU is cheaper
16:26 amrun and less work to replace the cpu than mb, ga, pci crap, and a buncha other things
17:26 Strud anybody using the skin_grey_2? I have a problem I can reproduce but I'd like someone else checking it before I send a bug report...
17:30 voidus Denyerec: sorry, i was away and didn't turn off computer
17:31 num000 good morning voidus
17:31 voidus num000: good evening :)
17:31 num000 ;)
17:32 voidus i plan to sleep this night :)
17:32 num000 my plans for tonight is working
17:32 num000 voidus did you ever work with WURFL?
17:33 voidus num000: no. is it a mobile devices database?
17:33 num000 yes
17:33 num000 typo3 can work with this, there is an extension
17:34 num000 sounds good
17:34 voidus i did read one article about this
17:34 num000 i wonder if there is somewhere documentation for it
17:34 num000 which article? have you got the source for it?
17:35 voidus num000: http://pc.dev.mobi/?q=node/50
17:35 num000 thank you
17:35 voidus np :)
20:25 Atre just2b: have some rgsmoothgallery questions do you have a minute?
20:26 Atre I want to set up a page like you have here > http://www.rggooglemap.com/en/dev/rgsmoothgallery/smoothgallery-with-external-thumbnails.html
20:29 Atre I'm typing up the config I have used in phpfi one sec
20:34 Atre just2b: this is the setup I have > http://phpfi.com/267074
20:34 Atre it just doesn't work, shows the base slideshow only!
21:06 bauschan hi there
21:09 theanomaly 'lo all, I'm trying to get the domain records to work (with a subdomain pointing to a certain subtree of the main typo3 tree), and while it gets me there ok all the links are still relative to the main root (resulting in 404's) and the breadcrumbs are too, is there any way for me to lock those down to the subtree as well?
21:10 do3mca are you using realurl?
21:11 theanomaly yes
21:12 do3mca well, read its documentation then.
21:13 do3mca keyword "rootpid" and multidomains
21:13 theanomaly i've been trying the rootpage_id stuff as the docs specify to no avail, i'll look up/try that
21:13 do3mca you need to set the rootpid -per domain-
21:14 do3mca which means you need a subarray in the config -per domain-
21:14 theanomaly which i have, with respect to the realurl rootpage_id config item in localconf.php
21:14 theanomaly is this the rootpid you're speaking of or is that a separate typoscript config directive
21:15 do3mca no. you have tx_realurl-default-default as array in array in array in the config
21:16 theanomaly i have both a default with its rootpage_id specified and the relevant subdomain with its rootpage_id specified in the config
21:16 do3mca ah
21:16 do3mca that should do the trick unless you typoed :)
21:17 theanomaly lol
21:17 theanomaly well poo
21:17 theanomaly the funny thing is is that realurl still interprets the url's correctly
21:17 do3mca yes
21:17 theanomaly ie, if i type sub.domain.com/subpage it works
21:17 do3mca because the config is evaluated in both directions
21:18 theanomaly but all links are generated as sub.domain.com/full/path/to/subpage
21:18 do3mca oh, this way round
21:20 do3mca mh
21:21 theanomaly i'm wondering if there's some typoscript i'm missing in the template on that page to maybe grab the HOST var and realize what level it's at or something
23:51 wacky_ Do you know where I can set the "default language's country flag", in the Translations box (TemplaVoilá) ?
23:57 Realness Hi! I have a noobish question for you: how to configure and make a plugin show up in the FE. I miserable failed with this (http://phpfi.com/267110) but really can't figure out what wrong desite some hours scorching the web and the manuals. It seems people take this for granted, maybe? Well, I didn't. :( Somebody have an idea?

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.