Search the website and IRC logs

#TYPO3 IRC log from : Wednesday 26 November 2008

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:34 djolejek @825B 0 745AL 3>2>@OB ?> @CAA:8?
08:12 null0_ gm
08:30 tCzern @825B
09:43 HardPhuck [globalVar = TSFE:id = 73,74,48,106,97]
09:43 HardPhuck is this valid?
09:53 nd____ _pedda_: around again?
09:55 maholtz|WORK @HardPhuck: works? i would think it is not valid [globalVar = TSFE:id=73]OR[globalVar = TSFE:id=74]OR... would be valid AFAIK
09:58 HardPhuck [globalVar = TSFE:id=1,TSFE:id=2,TSFE:id=3]
09:58 HardPhuck this works
10:02 m4rtijn hi all
10:05 maholtz|WORK @HardPhuck: thx, good to know:)
10:25 _pedda_ nd____: yes
11:06 dotX_taff hello
11:27 m4rtijn does anybody know how I could add a custom class to a powermail textfield?
11:38 pulponair hi there
11:42 m4rtijn hi pulpi
11:55 Denyerec m4rtijn if IE didn't exist, you could just grab it with an attribute selector.
11:55 Denyerec BUt... sadly.... IE exists.
11:58 m4rtijn Denyerec :)
11:58 m4rtijn I actually need it for jquery ui.datepicker
11:58 Denyerec oh
11:58 m4rtijn but I did it differently now.. works fine
11:58 m4rtijn quite a slick datepicker.. and very minimal code..
11:59 m4rtijn I tried the typo3 extension date2cal or something first. but didnt like it
12:01 Denyerec isn't date2cal the BE one
12:01 Denyerec ?
12:01 m4rtijn could be.. I dont remember the name.. but it sucked :)
12:13 martijn re
12:13 martijn stupid mirc
12:14 m4rtijn does anybody know how I alter the layout of the confirmation page with powermail?
12:20 PiMB what do you want to change about the layout
12:20 m4rtijn I hope its the tmpl_confirmation.html
12:20 m4rtijn change the order of thre fields..
12:20 PiMB powermail lets you enter an id to a page to redirect upon confirmation
12:21 m4rtijn no.. I mean the "are these entries correct" page.. which is inbetween the form and the "send email" page
12:21 PiMB ah okay, not sure it has a overall template.
12:22 m4rtijn .. I hope so, cause I would like the functionality.. its quite a huge form.. a lot of room for faulty entries
12:24 m4rtijn ah, yes I think I found it
12:25 m4rtijn grr
12:28 m4rtijn yay.. got it!
12:28 m4rtijn very weird though.. all the templates can be entered directly in the plugin settings.. only the confirmation page needs a html template
12:31 untouch_ hello i installed typo3 on my clients server - i exported t3d and i get a white site - i noticed it didnt copy anything into the fileadmin/template/main dir so i copied it manually but i still get a white site with code from my ts but none from my html file
12:31 untouch_ any clue what this could be
12:39 maholtz|WORK @untoch: be works?
12:39 maholtz|WORK cache cleared?
12:41 untouch_ yes
12:41 untouch_ works
12:41 untouch_ cache is cleared
12:41 maholtz|WORK ah:)
12:41 untouch_ no i mean
12:41 maholtz|WORK did you install templavoila or
12:41 untouch_ backend works
12:41 untouch_ cache is cleared
12:42 maholtz|WORK automaketemplate
12:42 untouch_ FE dont work :D
12:42 maholtz|WORK or what ever ext you need?
12:42 untouch_ automake is installed
12:42 maholtz|WORK fe works - but no output there, right?
12:42 untouch_ yes
12:42 maholtz|WORK so body is empty, head is there
12:42 untouch_ exactly
12:42 maholtz|WORK usually there is some extension missing...
12:42 maholtz|WORK you need for rendering?
12:43 maholtz|WORK use tv?
12:43 untouch_ i had massive problems with extensions while t3d import
12:43 maholtz|WORK test it via
12:43 maholtz|WORK page = PAGE
12:43 maholtz|WORK page.1 = TEXT
12:43 maholtz|WORK page.1.value = yes, i am there
12:43 untouch_ i got a white page in my BE and didnt even get a tree
12:43 maholtz|WORK hm
12:43 untouch_ so i copyd the extensions i needed to the ext folder manually
12:43 untouch_ and installed them
12:43 maholtz|WORK ok, sure everything was imported correct
12:43 maholtz|WORK check templates
12:43 untouch_ then i copyd a new t3d without the extensions
12:43 untouch_ and the tree worked
12:45 maholtz|WORK ah
12:45 maholtz|WORK so check the referenced files, ids etc. there could something broken - check referenced templates etc.
12:48 maholtz|WORK hm... someone knows how i get via hook the changed mm-relations?
13:10 HardPhuck how can i make a query like this
13:11 HardPhuck mysql> select distinct destination from train;
13:37 maholtz|WORK HardPhuck: what is the problem?
13:43 m4rtijn pooh, im done with my powermail form.. :p
13:43 m4rtijn that was seriously f*cked up :p
13:43 _pedda_ !?
13:44 m4rtijn about 80 input fields..
13:44 m4rtijn more even
13:44 _pedda_ ah ok.. i agree with you :-P
13:44 _pedda_ 80.. is much
13:44 m4rtijn but.. powermail is quite a cool extension..
13:45 m4rtijn once i understood how it works..
13:45 m4rtijn mesteriously.. that is
13:45 m4rtijn mi
13:45 m4rtijn :p
13:46 PiMB it's a great extension. I love it.
13:48 m4rtijn I got stuck inbetween cause the php "post_max_size" is set to 8mb.. which caused that I couldnt add fields anymore.. after ca. 60 fields
13:49 m4rtijn but after I disabled IRRE, I could add fields again..
13:58 m4rtijn hmm
14:01 PiMB 80 fields oO
14:01 PiMB are you trying to scare off your visitors by building 80 fields contact forms?
14:01 PiMB :P
14:02 m4rtijn nah, its not a contact form
14:02 m4rtijn its a tour-planning order form thingie
14:03 PiMB aah, okay :)
14:03 m4rtijn for 10 trucks, every truck with date/time/distance/address/contact person
14:04 m4rtijn so I already have 60 fields only for that..
14:10 HardPhuck i have a <select> in my form how do i pass the value to the pivars
14:10 HardPhuck the selected option
14:13 pmk65 HardPhuck: single or multivalue selectbox?
14:14 HardPhuck single
14:16 HardPhuck i need to pass the selection to the post variable so i can pull that var on another pge
14:20 pmk65 can't you use $this->piVars['myselect'] (assuming the name of the field is "myselect)
14:20 HardPhuck ok
14:21 pmk65 then define the field like this: <select name="'.$this->prefixId.'[myselect]">
14:21 HardPhuck i use this like <select name="' . $this->piVars['myselect'] . '">
14:21 HardPhuck lol
14:21 pmk65 or like <select name="'.$this->prefixId.'[myselect][]"> if you allow multiple selections
14:22 pmk65 common error. I do that sometimes too. :)
14:22 HardPhuck ah so when setting i set pivars but when calling i use prefixid
14:23 pmk65 yes. prefixId contains the extensionkey of your ext.
14:25 HardPhuck trying
14:26 HardPhuck so in the search form on the first page i use prefixid or pivars
14:26 HardPhuck for single selection
14:26 HardPhuck <select name="' . $this->piVars['mystuff'] . '">
14:26 HardPhuck this?
14:28 PiMB no, $this->piVars is only used on retrieval..
14:29 PiMB you use the $this->prefixId to set the name
14:29 HardPhuck ah aokz
14:29 HardPhuck okay even
14:31 kreegee is there some kind of js/ajax/clientside pagebrowser/paging ?
14:32 HardPhuck so if i echo $this->piVars['mesto']; i should get back
14:32 kreegee as a tslib_pibase replacement
14:32 HardPhuck what i have set in the name?
14:40 PiMB if you set it with $this->prefixId['myFieldName'] you can get the value of the element with $this->piVars['myFieldName']
14:41 HardPhuck okay
14:57 HardPhuck im afraid the name retrieving does not work
14:57 HardPhuck :(
14:57 HardPhuck echo $this->piVars['mesto'];
14:57 HardPhuck this gives me nothing
14:58 HardPhuck <select name="' . $this->prefixId.'[mesto]' . '">
14:58 HardPhuck and this is my select
15:04 HardPhuck ah lol got it
15:04 HardPhuck i have pi1 and pi2 and prefixid was set worng
15:22 PiMB lol :)
15:27 pmk65 kreegee: I only know of this one http://typo3.org/extensions/repository/view/cag_pagebrowser/current/ (but it's not AJAX based.)
15:27 kreegee_ saw it, didn't help too much (for tt_news)
15:30 HardPhuck how do i include a javascript file with my plugin
15:30 HardPhuck so that on every page with the plugin, the js file would also be included
15:31 just2b $GLOBALS['TSFE']->additionalHeaderData['rgportfolio']
15:33 HardPhuck that is for script if i want to put it directly
15:33 HardPhuck i would like to includeJS = myfile.js
15:33 HardPhuck something like that :)
15:37 pmk65 $GLOBALS['TSFE']->additionalHeaderData[$this->extKey] = '<script src="myfile.js" type="text/javascript"></script>';
15:38 HardPhuck thank you
15:39 pmk65 kreegee: How about Georg's next/prev tt_news ext? http://typo3.org/extensions/repository/view/rgnewslinks/current/
15:39 just2b what is the topic about?
15:40 HardPhuck pmk i put this into the main function of the class file right?
15:40 kreegee_ thx, checked it out
15:40 kreegee_ but i don't think it's available for the list
15:40 kreegee_ see http://www.zs-online.ch/zs-online/news/
15:41 pmk65 just2b: adding pagination to tt_news view.
15:42 pmk65 kreegee_: It's for singleview only afik..
15:42 kreegee_ userside/js/ajax pagination
15:42 kreegee_ theres mootools paging, but then i have to transmit all items at a single page (doesn't scale too well)
15:42 pmk65 There's also this one: http://typo3.org/extensions/repository/view/nextprevious/current/
15:43 kreegee_ from 2006 and no manual ><
15:44 just2b IMO the next tt_news can do it too
15:44 kreegee_ that's what googlin maillist told me as well
15:45 kreegee_ i guess i'll wait
15:45 pmk65 HardPhuck: If you add inline JS, then remember to wrap it in pseudo comment tags, to prevent XHTML errors. Some info here: http://javascript.about.com/library/blxhtml.htm
15:46 pmk65 kreegee_: you could try the tt_news from SVN, and see if Georg is right..
15:46 HardPhuck no inline js just external file
15:47 kreegee_ tt_news 3 is still in alpha, and it's not that important
15:47 kreegee_ i'll probably just wait
15:47 pmk65 it can't be worse than the buggy version that is on TER. (Archive is totally fucked up)
15:49 HardPhuck which variable is for the extension path on the server
15:49 HardPhuck that is accessbile from within the extension
15:49 HardPhuck so it generates like /typoconf/ext/myext
15:50 pmk65 <script src="'.t3lib_extMgm::extRelPath($this->extKey).'myscript.js" type="text/javascript"></script>';
15:51 HardPhuck thanx a lot, you are really helpful!
15:51 pmk65 I can't remember which function it is, either it's: extRelPath, extPath or siteRelPath
15:52 pmk65 install the "t3dev" extension. Then you have a list of the most common API classes/functions
15:57 pulponair what is the typo3 api function to create a new page at a certain position
15:57 pulponair ?
16:09 pmk65 pulponair: class.t3lib_tceforms.php
16:10 pmk65 it has functions for creating/copying/deleting pages.
16:11 pulponair pmk65 which one?
16:12 pmk65 can't remember. It's been a while since I played around with that. But you can grab one of my unreleased extensions, which uses that class to create pages..
16:12 pmk65 Go to this site http://www.sharemation.com/typo3test/ and download the "sitekickstarter" ext.
16:16 pulponair pmk65: : i read trough it as far as i can see you are prefilling an array an passing it over to TCE to do the rest right?
16:19 pulponair pmk65: i guess using tce from within the frontend will be a lot of inclusion pain :|
16:40 Notlistening Hey all
16:40 Notlistening any noob friendly people in here?
16:41 Notlistening ok hot a Typo3 install on ubuntu 8.04 not from sources running a test sight
16:42 Notlistening hone through all the install and how have every steop completed but i still can not see the menu on the test site
16:43 Notlistening Typo3 install manager reports all the componemts and says they are working correctly
16:45 maholtz|WORK backend (admin view) or frontend (website visitors view)?
16:46 m4rtijn they are to easy to kill
16:46 just2b m4rtijn ???
16:46 maholtz|WORK he is hungry:/
16:46 maholtz|WORK ;)
16:46 Notlistening lol
16:46 m4rtijn in counterstrike just2b
16:46 Notlistening front end
16:46 m4rtijn .. ;p
16:47 just2b sad, you hate me too ^^
16:47 Notlistening is not such a noob in counterstrike
16:47 m4rtijn hehe
16:47 just2b i am, because I like more writing a new ext than CS ;)
16:48 maholtz|WORK @notlistening: do you get any output?
16:48 Notlistening umm right i have an idea that it might be my php.ini in the extensions section
16:48 m4rtijn I had some good skills during my study.. I bet im a noob myself now :)
16:48 Notlistening I can see the page just not the meny in the top left it describes
16:49 Notlistening menu
16:49 HardPhuck why is this not working
16:49 HardPhuck if(document.tx_myext_pi2.tx_myext_pi2[data][number].value=="")
16:49 HardPhuck this is the js to validate the form
16:50 HardPhuck tx_myext_pi2 is the name of the form
16:50 HardPhuck tx_myext_pi2[data][number] is the name of the input field
16:50 Notlistening do i need anything in the extensions section in my php.ini?
16:53 maholtz|WORK @notlistening: no, if everything is fine except your menu
16:53 maholtz|WORK do you use templavoila or "modern template building"
16:56 Notlistening @ maholtz|WORK ok not sure where to look nect then?
16:56 Notlistening *next
16:58 maholtz|WORK you get your content elemens renderd?
16:59 Notlistening I can show you the site if that easier
17:00 Notlistening http://www.darlingscottchurch.com/testsite-3.8.1/
17:01 Notlistening then i am going down to see the first example site
17:04 NublaII why is my RTE inserting the tag '<span style="font-weight: bold;">' when I press the bold key if I use mozilla, and the tag '<strong>' if I use IE?
17:04 untouch_ did anyone ever try this http://www.mysqldumper.de/
17:04 Notlistening not sure if freetype was compiled into GD though
17:04 No5251 untouch_: yes. but i prefer shell scripts started by cronjobs
17:04 NublaII same happens with '<p style="margin-left: 40px;">' and 'blockquote'...
17:05 untouch_ so.. ok..but it works ?
17:06 untouch_ @no5251
17:08 Notlistening any ideas?
17:09 Notlistening or is there somewhere to look for ideas
17:16 Notlistening Ok strange behaviour the test site menu does work but not on the first [age when i go to add a user it shows up and works a treat
17:16 HardPhuck any javascripters here, i need to validate a field against 6 places, 4 nmubers and 2 letters
17:16 HardPhuck like this 1234AB
17:16 chefan regular expression
17:17 chefan you'll need something like /\d{4][A-Z]{2}/
17:17 chefan or something like /\d{4][A-Za-z]{2}/ if you want to allow lower case
17:18 chefan make sure you don't rely on client side validation and check it again serversided
17:22 HardPhuck well, its not that complicated so i dont think it is necessary
17:27 HardPhuck .. /^[0-9]{4}[a-zA-Z]{2}$/
17:27 HardPhuck this is the right
17:29 Sebastan hello, when using a own extension how to set a session without the user is logged in? $GLOBALS['TSFE']->fe_user->setKey('ses', 'mykey', 'value'); shoult only work with logged in feuser isnt it? but how to store sessionvariables without logged in feuser?
17:31 No5251 untouch_: yes
17:31 chefan HardPhuck: yep, that's basically the same. \d is digit, so same thing
17:33 chefan HardPhuck: as for checking server sided, get used to ALWAYS do that. That way you are less likely to overlook possibilities for injection and make your systems less prone for exploits
17:33 chefan javascript does not run on your machine, you can never trust it's results. see javascript as an open source tool you provide to your client
17:50 tCzern_ what is this function on online mail forms called, where you have to type characters from a generated image before you can submit a message?
17:50 maholtz|WORK captcha
17:51 tCzern_ the internet became a dirty place. you cannot put you address, your email your phone there without being attacked by spam and freaks
17:55 chefan yep, that's why the cia wants to clean it up
17:55 chefan like in "cleaner"
17:55 chefan kill it and replac it by internet2
17:55 tCzern_ does freeCap work with mailform?
17:56 tCzern_ I get all the time messages like this: l967iX <a href="xmdrjtriizqh,">http://xmdrjtriizqh.com/">xmdrjtriizqh, [url=http://iqffnfdtzcrs.com/]iqffnfdtzcrs[/url], [link=http://vzpyiupiyzck.com/]vzpyiupiyzck[/link], http://maisklmwscwi.com/
17:56 tCzern_ what is that?
18:06 wacky_ tCzern_: I think it's called SPAM
18:12 Briareos1 does rgsmoothgallery feature compression?
19:13 Briareos1 hey
19:13 Briareos1 who of you is familiar with indexed search?
19:14 Briareos1 i am working on a simple setup since about 14 hours. I'd really appreciate any help with it
21:48 xxan0xx anyone know how to configure the powermail "require field" to be left aligned?
21:56 xxan0xx anyone know how to configure the powermail "require field" to be left aligned?
21:59 Briareos1 it's silent here since i last wrote something ... and that was 3 hours ago ^^
22:25 xxan0xx buh
22:25 xxan0xx Thats one thing i really dislike about typo3
22:25 xxan0xx it's so hard to find relavent information
22:39 Briareos1 yeah thats true ...
22:39 Briareos1 a lot of extensions
22:39 Briareos1 and few ppl helping about them
22:39 Briareos1 but well ... we chose it after all :)
22:41 xxan0xx or we get thrown into it :) which is my case... unfortunately
22:42 Briareos1 i got both: chose it some years ago - then summed up some basic knowledge - and now get thrown into it again ^^
22:43 Briareos1 but it got tougher
22:43 xxan0xx yeah, our german office was chose this with zero knowledge of the platform and then they contracted the work out
22:43 Briareos1 back then you could download the repository-listing in less than an hour hehe
22:44 xxan0xx now it's such a custom environment that it's near impossible to manage
22:45 xxan0xx we have 4 languages and roughly 300 pages per language
22:45 xxan0xx and 13 custom plugins...
22:50 xxan0xx so it gets a lil hectic
23:34 untouch_03 how do i make a brake in a 2 line navigation point
23:34 untouch_03 http://www.typo3.liquidc.net/ycspo/index.php?id=37
23:34 untouch_03 as u can see i put a br into the typo3 but thats not the right way besides its shown in the page title :o
23:36 untouch_03 nevermind

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.