Search the website and IRC logs

#TYPO3 IRC log from : Wednesday 7 October 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 31
00:18 Conic hey there
00:19 Conic where can i find out all that is in $contentTreeArr in Templavoila?
00:19 Conic can i output that somehow?
00:19 Conic or look up?
00:29 Conic hi all, someone online atm?
00:31 Conic i need s quick help in php, nothing big ^^
00:31 Conic just a little hint...
00:32 flurl Conic: what do you need?
00:32 Conic i have an array
00:33 Conic its called $contentTreeArr
00:33 Conic how can i print everything out that is in that array
00:34 Conic i can print things like $contentTreeArr['el']['uid']
00:34 flurl look here http://at2.php.net/manual/en/function.var-export.php
00:35 Conic will that print all content of that array?
00:36 flurl it should do so
00:36 Conic like this? var_export($contentTreeArr)
00:37 flurl exactly
00:37 Conic ok, let's see then
00:37 Conic should be a very big thing.....
00:37 flurl probably yes :)
00:46 Conic ok thanks
00:47 Conic i think inside that huge thing of a text i will find what i'm searching for ;)
00:48 flurl you're welcome :)
00:52 Conic is there a possibility to "browse" that? :D
00:53 Conic it's hard to find the path to the value i just found
00:54 flurl i'm afraid not - at least i don't know it
00:55 Conic ok
00:55 Conic dreamweaver will show me the way ^^
00:56 flurl http://us2.php.net/manual/en/function.array-search.php
00:56 flurl look at the comment from buddel on 08-Jun-2009 03:13
00:57 HardPhuck SoftException in Application.cpp:431: Mismatch between target GID (944) and GID (99) of file "/Users/<removed>/public_html/typo3conf/ext/templavoila/mod1/index.php", referer:
00:57 HardPhuck this is why i hate shared hosting
00:59 Conic hey this is nice, thanks flurl
01:00 Conic i'm just writing my first extension, that's fun ;)
01:00 flurl HardPhuck: FACK
01:00 flurl Conic: np
01:17 Conic ok, this way i won't reach my aim... :(
01:18 Conic flurl, do you have an idea:
01:18 Conic i have the uid of a CE
01:19 Conic now i need to display all FE Groups, which have access to this CE
01:20 Conic i need to implement some php code that outputs all those FE Groups
01:20 Conic should i do that with an sql query? Because it seems like the names are not in the array
01:23 flurl Conic: i never did something like that but i think, you can select that from the database
01:24 flurl in tt_content theres a column fe_group
01:24 Conic the entties in fe_group, is it a list?
01:25 Conic i mean there can be 5 groups per CE
01:25 flurl it's a varchar(100), so probably that's a list of ids
01:26 Conic ok, i select them, and for each i find out the name, right?
01:27 flurl simply spoken, take that list and "select title from fe_groups where uid in (yourlisthere)"
01:28 flurl if i remember correctly, there are already functions provided by typo3 for such cases - not sure though
01:30 Conic how could i find out whether they exist? i am absolutely not familiar with that typo3 stuff
01:36 flurl sorry, i'm not sure, so i can only say ask google
01:51 flurl Conic: have a look at t3lib/class.t3lib_db.php
01:52 flurl there's a function called listQuery
01:52 Conic thanks ;)
02:13 uriahheep hmm, does anyone know of a simple guide on what permission i must give a _cli_lowlevel BE user for my cronjobs to work?
02:17 Conic flurl: did i understand correctly that the function creates a where clause?
02:21 flurl Conic: hmm, i think, i was wrong, that's the other way round, that funtion returns a where, that can be used to look up a value in such a comma separated list
02:21 flurl sorry for the misinformation
02:21 Conic sure that this is wrong?
02:22 Conic i'm reading through it
02:23 flurl but anyway, all you have to do in your extension is to "select fe_group from tt_content" and save that result in a variable
02:24 flurl and then "select title from fe_groups where uid in ($var)"
02:27 [CBLA]statik anyone able to help me add PHP code within the HEAD tag of a website?
02:31 flurl Conic: and you should use the provided abstraction functions for select
02:31 flurl see http://typo3.org/documentation/document-library/core-documentation/doc_core_cgl/4.1.0/view/1/4/
02:32 Conic this one? t3lib_DB::exec_SELECTquery
02:32 flurl yeap
02:32 Conic hehe, ok, i'm just working on this part
02:33 Conic i think your hint was the right one, no misinformation
02:33 [CBLA]statik Am I even voiced?
02:33 flurl [CBLA]statik: what do you want to achieve?
02:34 [CBLA]statik We have an existing web form in typo3 that is remotely retrieved using curl. The new web designer has now created a script file that needs to be added to the HEAD area, using curl again.
02:35 [CBLA]statik I was thinking of just using page.headerData.3 = HTML kind of thing, but then I realized I need PHP, and I'm not sure how it will be interpreted
02:35 Conic Warning: Missing argument 3 for t3lib_DB::exec_SELECTquery(), called in C:\xampp\htdocs\typo3\typo3conf\ext\conic_tvuserview\class.ux_tx_templavoila_module1.php on line 119 and defined in C:\xampp\htdocs\typo3\t3lib\class.t3lib_db.php on line 229
02:36 Conic i mean: Missing argument 3 for t3lib_DB::exec_SELECTquery()
02:36 Conic it says i need only two... ?
02:39 flurl Conic: i think, you only need the first two and the warning comes from the fact, that there's no default value for the where parameter
02:39 Conic oh i think this is a general php misunderstanding of mine
02:39 Conic wait a minute ;)
02:40 flurl Conic: try passing "1=1" for the third param or ignore the warning ift it works ;)
02:42 flurl [CBLA]statik: have you looked into tsref? especially for the conten objects USER/USER_INT and PHP_SCRIPT/PHP_SCRIPT_INT
02:42 [CBLA]statik no, I haven't. grabbing it now. :)
02:43 flurl :)
02:44 Conic sloooooooooooowly i understand.......... ;)
02:51 Conic damn, i think you were right, flurl
02:51 Conic this is the other way round
02:51 Conic with that you can find a list
02:52 Conic but i already have the list of uids and want to transform it into a list of names
02:53 [CBLA]statik so, if I'm reading this right, I need a page.headerData.10 = PHP_SCRIPT
02:54 flurl Conic: as i said, use that list, for the where like that "uid in ($list)"
02:54 [CBLA]statik followed by page.headerData.10.file = "path/to/the/inc/file"
02:55 flurl [CBLA]statik: exactly
02:56 [CBLA]statik testing
03:00 [CBLA]statik that doesn't seem to have done anything
03:01 [CBLA]statik page.headerData.9 = PHP_SCRIPT
03:01 [CBLA]statik page.headerData.9.file = /fileadmin/form_header.inc
03:03 Conic flurl: i now have this: $GLOBALS['TYPO3_DB']->exec_SELECTquery('title','fe_groups','uid=125')
03:04 [CBLA]statik looks like PHP_SCRIPT_EXT is more what I need. testing
03:05 flurl Conic: does it work?
03:06 flurl [CBLA]statik: you want output of that script included in the html header?
03:06 [CBLA]statik yes. Its a large chunk of javascript.
03:06 Conic it does something:
03:06 [CBLA]statik I wish he'd written it differently, but I'm just the integrator of the code.
03:07 Conic it outputs things like: Resource id #181
03:07 flurl Conic: you make something like echo "$GLOBALS['TYPO3_DB']->exec..."?
03:08 [CBLA]statik The javascript does a bunch of form validation and such. Haven't looked at it to closely. I'm just supposed to make it appear in the page. :D
03:08 Conic yes, something like that
03:08 Conic i include it in some html output
03:09 Conic it is ok, or?
03:10 [CBLA]statik Here's the code that I'm trying to execute: http://italian-weddings.com/fileadmin/form_header.inc
03:10 flurl exec_selectquery returns just a handle to the result set, when you want the actual results of the query, you have to use the result ha$GLOBALS['TYPO3_DB']->mysql_fetch_assoc()ndle in
03:10 [CBLA]statik That will insert all the stuff for that page. There are about 40 websites that need that inserted.
03:10 flurl sorry, pasting gone awry
03:11 flurl you have to use the result handle in $GLOBALS['TYPO3_DB']->mysql_fetch_assoc()
03:11 Conic right! ;)
03:12 flurl [CBLA]statik: never used php_script_ext, but looks like it does what you want - hopefully :)
03:12 [CBLA]statik Doesn't seem to do anything with the way I've added it.
03:14 flurl [CBLA]statik: have you cleared the cache?
03:14 [CBLA]statik yep
03:14 Conic hehe, now it outputs "Array" ;)
03:14 Conic damn.....
03:15 [CBLA]statik This page uses a template extension. It only has four lines:
03:16 [CBLA]statik page.10.subparts.pageTitle.file.10.text >
03:16 [CBLA]statik page.10.subparts.pageTitle.file.10.text = Wedding Inquiry
03:16 [CBLA]statik page.headerData.9 = PHP_SCRIPT_EXT
03:16 [CBLA]statik page.headerData.9.file = /fileadmin/form_header.inc
03:17 flurl [CBLA]statik: the script you send the link, doesn't output anything, does it? i mean, i don't see a echo statement or something similiar, but i don't know curl...
03:17 [CBLA]statik curl is just like include(url) except it fixes some of the security issues.
03:18 flurl Conic: an array, is what you should get, it should contain the values for one row from the database
03:18 [CBLA]statik so the curl statement is retrieving the inc_honeymoon_rf_head.php file from the remote server. That file outputs the code. I know it does because it works if I include it in the page as a PHP script
03:19 [CBLA]statik Unfortunately, thats in the body, not in the head
03:26 Conic flurl: how can i transform that array to text??
03:26 flurl Conic: you want to output the array? use var_export()
03:26 Conic flurl: print_r works, but is written on top of the page
03:26 Conic aaaaaah my fault
03:27 Conic forget it
03:27 Conic ggrrrrrr i'm stupid ^^
03:35 flurl [CBLA]statik: try page.headerData.9.file = fileadmin/form_header.inc
03:37 [CBLA]statik testing
03:37 [CBLA]statik That did it!
03:37 [CBLA]statik Great! Thanks flurl!
03:38 flurl [CBLA]statik: you're welcome, damn / :)
03:53 Conic flurl: THANKS! now it works fine ;)
03:54 flurl Conic: i'm happy to hear that :)
04:07 Conic oh
04:07 Conic it doesn work if the array consists of more than one item
04:08 Conic let's see how to fix that....
04:08 flurl Conic: you mean, if you get more than 1 group?
04:08 Conic yes
04:09 Conic atm i print out: $usergroups_array['title']
04:09 Conic this works if it's only one
04:10 flurl you have to use a loop, something like while (($usergroups_array = $GLOBALS['TYPO3_DB']->mysql_fetch_assoc()) !== false) { echo $usergroups_array['title']; }
04:13 Conic er..... but then i have no solution, right?
04:13 Conic only no error
04:14 flurl have you copy and pasted?
04:14 Conic no
04:15 flurl my code is wrong, you have to pass the result handle to mysql_fetch_assoc()
04:15 Conic http://pastebin.com/d482fd705
04:16 Conic this is my code atm
04:18 Conic it works if there is only one group, but throws an error if there is more then one
04:18 flurl what error do you get?
04:18 Conic Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\typo3\t3lib\class.t3lib_db.php on line 808
04:18 Conic false
04:19 Conic oh sorry, that belongs to an other code
04:19 Conic moment
04:20 flurl try exec_SELECTquery('title','fe_groups','uid in ('.$gruppenID.')');
04:21 flurl otherwise if there are more than one group you get 'uid=1,2,3' and that's invalid sql
04:21 Conic this is the error with var_export($usergroups_array)
04:22 Conic does "in" find also a '23' in a '123' ?
04:23 Conic that would be wrong...
04:23 flurl no, in could be written as uid=1 or uid=2 or uid=3...
04:23 Conic ok lets try
04:25 Conic i wrote: exec_SELECTquery('title','fe_groups','uid in '.$gruppenID)
04:25 Conic is that what you meant?
04:26 flurl http://pastebin.com/m548ab2d4
04:26 Conic ok :D
04:27 Conic why the hell like this?
04:28 flurl what do you mean?
04:28 flurl the select?
04:29 Conic yes
04:29 Conic the syntax
04:31 flurl it's the same you wrote, just with additional round brackets because "in" requires brackets
04:32 flurl the resulting sql statement from exec_selectquery should look something like "select title from fe_groups where uid in (1,2,3)"
04:32 Conic ok, let#s see...
04:32 Conic ok
04:32 Conic i understand (this part) ;)
04:32 flurl :)
04:33 Conic hehe this is funny, it works but the first result is not displayed
04:34 Conic no
04:34 Conic wrong
04:34 Conic let me test.....
04:35 Conic yes
04:35 Conic one result is always missing
04:35 Conic not sure if always the first
04:36 Conic i think always the first
04:36 flurl interesting...
04:37 Conic oh
04:37 Conic wait
04:37 Conic i forgot something
04:38 Conic now it works
04:38 Conic i let some piece of code, which had to be deleted
04:38 Conic it works
04:38 Conic !!
04:38 flurl great!
04:38 Conic ;)
04:39 Conic let me read a minute through the code to understand it
04:39 Conic ...
04:41 Conic what is that: !==
04:42 Conic i don't know that statement
04:43 Conic i can't google for it :D
04:43 flurl php supports loose and strict comparison, that means: 1 == "1" // -> true
04:43 flurl 1 === "1" // -> false
04:44 flurl with strict comparison the variable type is also considered
04:44 bupbup hi guys
04:44 Conic *?*heyho
04:45 Conic ups
04:45 bupbup i still gettin this error: "No ImageMagick installation available" .. i told the install tool the correct location of imgemagick /usr/bin which my provider gave me :( any idea?
04:45 flurl http://at2.php.net/manual/en/types.comparisons.php
04:46 bupbup ImageMagick enabled: 1 ImageMagick path: /usr/bin () ImageMagick path/LZW: /usr/bin () Version 5/GraphicsMagick flag: GDLib enabled: 1 GDLib using PNG: 0
04:46 bupbup GDLib 2 enabled: 0
04:46 Conic which hoster do you have?
04:47 bupbup alfahosting.de
04:48 bupbup do you know that hoster or people who have problems with that hoster?
04:49 flurl bupbup: have you already changed some settings in the install tool? especially "im_version_5"?
04:49 bupbup the im_version field is blank
04:50 bupbup cause i dont know the version
04:50 Conic maybe /usr/bin/ <-- with slash behind?
04:50 bupbup tried that too :(
04:50 bupbup do i HAVE to set [GFX][im_version_5] = ?
04:51 bupbup i have this: open_basedir /var/www/web837/html/:/var/www/web837/phptmp/:/var/www/web837/files/:/var/www/web837/atd/:/usr/share/php/
04:51 bupbup but i cant change the basedir
04:51 bupbup :(
04:54 Conic youre not the first http://www.typo3.net/forum/list/list_post//89135/ :(
04:55 bupbup yeah i did read that thread but theres no FU*KING ANSWER :(
04:56 flurl hehe, funny, when i open the link, i get "Das von Ihnen gewünschte Thema kann nicht angezeigt werden. Möglicherweise haben Sie nicht die erforderlichen Rechte."
04:57 Conic rofl?
04:57 flurl no rights for austrian *lol*
04:57 flurl bupbup: try setting im_version_5, perhaps it's needed
04:57 bupbup lol
04:57 bupbup ok hold on
04:59 Conic flurl: how can i now bring &nbsp; between multiple entries? ^^
04:59 Conic is that possible with minor work?
05:00 flurl $usergroups .= '&nbsp;' . $usergroups_array['title'];
05:00 bupbup No ImageMagick installation available
05:00 bupbup It seems that there is no adequate ImageMagick installation available at the checked locations (/usr/X11R6/bin/, /usr/bin/, /usr/local/bin/)
05:00 bupbup An 'adequate' installation for requires 'convert', 'combine'/'composite' and 'identify' to be available
05:01 flurl bupbup: i have to go to bed (no cigarettes left...) but i can tell you, i once had an hoster, where i had to install precompiled im packages on the webspace. perhaps this will also work for you, if everything else fails
05:02 bupbup you mean just put im files in the ftp folder?
05:02 flurl i'm still wondering, that that worked, my customers aren't allowed to run their own binaries
05:02 flurl yeah, i did that
05:02 bupbup ok
05:03 bupbup but that hoster hold me that its installed and working..and the offer on the site says that too :(
05:03 bupbup wher do i get those files?
05:04 flurl from the deep underground of the internet ;)
05:04 bupbup are they on the manufatorer website?
05:04 flurl i don't know anymore
05:05 flurl but i guess, if it works anyway, you can use any binary compiled for the processor of the webserver
05:06 flurl but, as i said, i wouldn't recommend this, there has to be an easier solution, especially if your hoster says so
05:11 Conic flurl: on which place should i insert your code?
05:11 flurl within the while loop, where the similiar code is
05:12 Conic ok...
05:13 flurl wish you a good night/morning
05:13 flurl cu
05:14 Conic goodnight and thanks
05:14 Conic very much
08:43 bartbogdan Looking for an expert in the field of indexed search
08:43 bartbogdan for paid advise
08:49 erayd_ How can I disable the 'default' template? It seems that no matter what I do to include my own file, it somehow ends up being included inside the body tag of the 'default' template, which I never defined and I don't want.
08:49 fuchur mornin
08:49 erayd_ fuchur: evening :-)
08:49 fuchur hr hr 9 am
08:50 erayd_ 8pm here
08:51 erayd_ Any chance you'd be able to point me in the right direction? I'm stumped, and the documentation isn't helping (although maybe I'm looking at the wrong documentation?)(
08:51 fuchur nope sorry
08:52 fuchur don't know this hole template stuff
09:02 erayd_ Oh well - thanks anyway
09:02 erayd_ I'll just lurk here until someone who knows the answer arrives :-)
09:02 erayd_ I'm very new to the whole thing, only found typo3 yesterday, but it seems to be a system well worth learning how to use
09:06 coolguy hello there. is someone here who can answer me a question with typolink() function?
09:12 gerards hi coolguy. just ask. see if anyone is working at this time....
09:12 coolguy okay. so with the typo3-php function typolink i generate a typolink
09:13 coolguy $this->cObj->typolink(
09:13 coolguy stripslashes($f['title']),
09:13 coolguy array(
09:13 coolguy 'parameter' => 2289,
09:13 coolguy 'additionalParams' => '&id=' . $f['uid'],
09:13 coolguy 'useCacheHash' => 1
09:13 coolguy )
09:13 coolguy );
09:13 coolguy this works great. but the chash is always the same i never changes
09:13 coolguy iam generatiing a list with links e.g.
09:14 coolguy www.example.org/2289.html?id=22&cHash=hsjUwekd
09:14 coolguy the problem is that the chash never changes but the id
09:14 coolguy www.example.org/2289.html?id=21&cHash=hsjUwekd
09:14 coolguy www.example.org/2289.html?id=267&cHash=hsjUwekd
09:14 gerards chash is generated by the other "non-typo3" parameters.
09:14 gerards id is excluded from the chash calculation.
09:14 coolguy so on the target page theres only the same content because of the chash
09:15 coolguy so do i need to use an other param for the id?
09:15 gerards nope
09:15 gerards (see http://typo3.org/development/articles/the-mysteries-of-chash/ for more info)
09:16 gerards chash is only useful when you have other parameters required by a plugin e.g. tt_news[cat]=56
09:17 howard hello chan
09:17 gerards it just tells typo3 to use the cached content for 1) the id=xxx and 2) chash=whatever.
09:17 coolguy wow!
09:17 coolguy thanks so much. i changed the param id to myid and it works
09:17 coolguy thx!
09:18 gerards no problem.... but you shouldn't be using id in the first place.
09:18 gerards id is reserved. :) "id", "type", "L" etc are all reserved for Typo3.
09:23 howard anyone used some plugin for CLI or cron tabs?
09:23 gerards i used dam_cron some time back.
09:23 coolguy ah ok so it works. but i have another question ;-) ... so the content is indexed and indexed_search is ablke to find it.
09:23 gerards howard: let me guess, you haven't created a BE user for the cron job....
09:24 coolguy but the generated link under the serach result is: http://campus.uni-muenster.de/2289.html?&0=
09:24 howard no no...I need to make some actions....ie "at the midnight, check the table X of database Y and count rows"
09:25 coolguy why is the link wring?
09:25 howard so I know that actions like that one can be done used linux cron tab..but I am wondering is there some Typo3 extension that can manage things like this one
09:25 coolguy ...wrong?
09:25 gerards oh.... :) howard: I haven't used any plugins that "schedule" jobs... I usually have access to the cron tab, so its easier for me.
09:26 howard gerards: know that....but now I don't have acess to cron tab or comand line of server
09:26 gerards @howard can't help you sorry...
09:27 coolguy why is the link not ?myid=203 instead of &0=
09:29 howard gerards: it's ok man....
09:29 howard thnx anyway
09:29 gerards coolguy: who is generating that link? is it your plugin? or some other plugin (not under your control)?
09:29 howard @all, anyone have GOOGLE WAVE invitations?
09:30 coolguy no my plugin generates the right link with myid and chash. tha false link is the "path" link in the search results of indexed_search
09:31 gerards coolguy: so i guess you have to read the indexed_search manual... or someone here might know....
09:31 coolguy ok i will do
09:41 erayd_ What's wrong with this template code? http://dpaste.org/y2Oy/ - it's copy/pasted directly from the documentation here: http://typo3.org/documentation/document-library/tutorials/doc_tut_templselect/0.1.0/view/1/3/ but for some reason it's inserting the new template file inside the body tag of some other, generic template that I haven't defined anywhere. Obviously, this is not the desired behavior - I want *only* the file to be displayed.
09:41 erayd_ The documentation says this is what it should do, except it's not...
09:41 erayd_ Am running the 4.3.0 beta
09:42 gerards erayd_: go to the backend, select template on the left, select any page in your page tree in the middle, and select typoscript object browser on the right.
09:43 gerards examine the "page" object to see that it is indeed only page.typeNum and page.10.
09:43 gerards I suspect that somewhere else, another template setup is included which adds some extras into your "page" object.
09:44 gerards oh.... one more thing... before you do that,
09:44 gerards when you do page.10 < somethign,
09:45 gerards that something will appear in the body tag. :) that's meant to happen.
09:46 gerards erayd_: http://typo3.org/index.php?eID=tx_cms_showpic&file=typo3temp%2Ftx_terdoc%2Fdocumentscache%2Fd%2Fo%2Fdoc_tut_templselect-0.1.0%2Fdocbook%2Fpictures%2F10000000000002110000017B6C8C4E15.png&width=1024m&height=800&bodyTag=%3Cbody%20style%3D%22margin%3A%200%3B%20background%3A%20%23FFFFFF%3B%22%3E&wrap=%3Ca%20href%3D%22javascript%3Aclose%28%29%3B%22%3E%20|%20%3C%2Fa%3E&md5=56a537a9d51b6239992f0f364b0012c6
09:46 gerards wow... what a horrible looking link... :)
09:57 erayd_ gerards: yep, what is happening to me is exactly what your link shows
09:57 erayd_ gerards: have looked at the object browser, and no other templates are defined
09:58 erayd_ gerards: http://t3.erayd.net/ <--- that's the problem I'm having
09:59 gerards that is correct then.
09:59 gerards please add:
09:59 gerards workOnSubpart = DOCUMENT_BODY
09:59 gerards subparts.INSIDE_HEADER = TEXT
09:59 gerards subparts.INSIDE_HEADER.value = HELLO WORLD!
10:00 gerards http://dpaste.org/xOz1/
10:02 erayd_ gerards: that didn't fix it - that nuked the whole subpage
10:02 erayd_ gerards: http://t3.erayd.net/
10:02 marcuslind Does anyone know a great tutorial or site where I can learn how to create TYPO3 extensions? I already know PHP, MYSQL etc. I only need to know how to develop for TYPO3.
10:04 gerards erayd_: i guess I can't help you then. :) sorry.
10:04 erayd_ gerards: oh well - thanks for trying anyway ;-)
10:04 erayd_ Can anyone else assist?
10:11 bartbogdan marcuslind: There's a nice book about extension development by Dimitry Dulepov
10:11 bartbogdan "Typo3 extension development"
10:12 marcuslind bartbogdan: OK, it covers everything from the basics?
10:12 bartbogdan Yes
10:12 marcuslind I dont have much experience from TYPO3
10:12 marcuslind Nice.
10:14 bartbogdan If you are not familiar with typo3 yet then it might be useful to get to know typo3 a little bit
10:15 bartbogdan There's a good book about general Typo3 implementation too: "Mastering Typoscript" by Danial Koch
10:16 marcuslind Well this far I've been able to install, add sites and learned the bascics of Typoscript.
10:16 bartbogdan Ok that's good
10:16 marcuslind Right now I can create templates, publish content and all the basics
10:16 marcuslind but my boss wants me to be able to create plugins
10:16 bartbogdan Then the first book I mentioned will suit you
10:16 marcuslind Ye I'm looking at it as we speak. Will probably order it today.
10:16 marcuslind Looks pretty OK.
10:16 bartbogdan It's published by Packt
10:17 bartbogdan good luck!
10:17 marcuslind Thanks mate.
10:18 erayd_ *&^%@(^
10:19 marcuslind :)
10:23 zed_devil hi all
10:25 coolguy hey no it works
10:25 coolguy there is an bug in the indexed_search class ^^
10:26 coolguy now it works i meant
10:41 fuchur does someone know where the TCA eval functions are?
10:42 fuchur I'm lookin for the eval function "date" converting the date from timestamp to formated date and back
10:43 sorenmalling Try creating the field with the kickstarter and get the TCA from there?
10:47 fuchur i have the tca :D
10:47 fuchur it's type=input
10:47 fuchur and eval=date
10:48 fuchur but it's stored timestamp in the db but displayed formated in the backend
10:48 fuchur and i need the function which does the converting
11:04 erayd_ OK - with a brand new install of 4.2.9, I have created one page, and created a basic 'hello world' template file (http://dpaste.org/NfRV/). That one page has only one, simple typoscript template applied to it (http://dpaste.org/mNmE/). For some reason, my template file is ending up inside the body tags of some other generic template which hasn't been defined anywhere - could someone please give me a pointer on how to get rid of it?
11:04 erayd_ The URL to the problem page is http://t3.erayd.net/
11:05 merle hi
11:05 zed_devil hi, got a problem with my direct mail "The following steps will be simulated only, until you press the confirmation button at the bottom of the window.
11:05 zed_devil Converting records..." if i confirm the conversion nothing happens and the same is shown again ... any ideas
11:06 merle i have a problem: i am using typo3 4.2.8 and templavoila 1.3.7. FCE are not shown when I try to add new content to a page. Do you know of any fix?
11:07 zed_devil @merle is it sown in the list view in your storage folder
11:08 merle yes
11:08 merle the FCE are there
11:08 merle I created them
11:10 merle i just explicitly enabled error_reporting in /typo3conf/ext/templavoila/mod1/db_new_content_el.php but still nothing
11:30 me hello
11:31 Guest67295 Powermail isn't sending out mails to receiver and sender anxmore... Does anyone know why?
11:32 Guest67295 I'm using Powermail version 1.4.15
11:32 Guest67295 and TYPO3 4.2.6
11:33 Guest67295 is this a bug?
11:42 sorenmalling merle: Are you logged in as admin or as a user?
11:42 merle i am logged in as admin
11:42 merle but i will delete that whole installation now
11:42 merle extension manager screwed me over once again
11:43 merle downloaded tv1.1.1 from the repo instead of 1.3.7
11:43 merle i updated to 1.3.7 but i think the table structure might be corrupt now....
11:49 zed_devil @merle you can check the database in the install tool
11:55 merle i don't think that'll tell me if the templavoila's tables are ok
12:15 sorenmalling merle: try.. :) it compares the tables to tca
12:15 sorenmalling so it should give you a output if something is totally wrong with the tables in tca and the tables in mysql
12:19 merle ah well it's all crap I will purge & reinstall templavoila :(
12:19 merle thanks anyway, nice channel
13:37 merle hm if figured it out
13:38 atmos4 hmm, anyone knows what's wronmg if I get the famous Reason: (url) could not be found, closest page matching is error with realurl?
13:39 atmos4 doesn't matter if I use autoconf or my custom realurl conf
13:57 atmos4 for some reason the decode cache isn't working, while encode cache works fine, and it's working on lots of other pages with same config on same server
14:09 rjk223 how to use cooluri <urlsuffix> on a case basis ? (i need to switch between xml and html urlsuffix)
14:10 noelboss Hello everybody. I used to have a typo3.org account, but as I understand, they got compromised in the past. How do I receive this login again? Whom to contact?
14:19 jbaptiste_j greertings
14:23 jbaptiste_j Can you guys read me ? i'm trying turbo IRC as a replacement for chatzilla
14:23 atmos4 yea seems to work ;-)
14:23 marcuslind Can anyone give me a hint in the correct direction on how to create custom frames for TYPO3? I'm talking about the "Frame 1" etc that you chose when publishing content.
14:23 atmos4 in contrast to my realurl setup, which never returns from $this->decodeSpURL_doDecode
14:24 atmos4 sorry, never used that
14:33 Conic can someone tell me how the relation between a CE and a page is done in the T3 database?
14:33 miousse pid
14:33 Conic in table "pages" there's uid and pid
14:34 Conic and in tt_content there's uid and pid
14:34 miousse the pid of tt_content is the uid of pages
14:34 Conic ok, and why is there uid and pid in pages?
14:34 miousse because a page can contain an other page
14:35 miousse so pid in pages is the uid of the page parent
14:35 Conic aaaah
14:35 Conic i see, thank you...
14:45 atmos4 argh realurl couldn't autodetect my rootpage_id
14:45 atmos4 that's why it failed
14:45 atmos4 just traced through the whiole relurl execuztion path
14:46 atmos4 and it's id 1 so it's not that hard to detect ...
14:47 Conic in tt_content.deleted:
14:48 Conic what is the value for deleted and for not deleted?
14:48 Conic or just all possible values
14:48 Conic 0 and 1?
14:48 atmos4 I would guess so
14:49 atmos4 why does it matter?
14:52 Conic i create an sql query and it shows me also the deleted entries, but i fixed it now
14:52 Conic i wrote and deleted = 0, now it works
14:56 atmos4 there is a function to do this in typo3api
14:56 atmos4 it will also handle starttime, endtime and hidden aswell as deleted
14:56 atmos4 doing this yourself is not a good idea
14:57 miousse it will only handle stuff you tell it to handle
14:57 miousse and when i say you tell it
14:57 atmos4 Comic seems already gone
14:57 atmos4 I meant enableFields
14:57 miousse ya
14:57 miousse i know
14:58 miousse but enableFields works with the TCA
14:58 atmos4 yes
14:58 miousse if you dont set starttime it wont check for starttime
14:59 atmos4 ok
14:59 atmos4 but my point was to rely on api functions instead of writing own sql code for this
14:59 miousse ya
14:59 miousse totaly agree
15:00 miousse i was juste trying to explain to him how enableFields works
15:02 miousse it works with $TCA['tablename']['ctrl']['enablecolumns']
15:02 miousse and $TCA['tablename']['ctrl']['delete']
15:03 atmos4 ah ok, I thought he was already gone, but I just mistyped the nic Comic instead of Conic ;-)
15:03 atmos4 nick I mean
15:04 Conic oh i was aft
15:04 Conic afk :)
15:04 atmos4 aft is danglish? =)
15:05 Conic hehe
15:05 Conic ok let me read your posts.......
15:06 marcuslind Does anyone know how to create custom content frames to publish content in? IF you do, please hint me with a quick link or w/e.
15:07 Conic miousse: if you say that i will better try it your way:
15:07 kmartiin hey im trying to install t3v43 locally but i cant choose or create any database... (as root!)
15:07 Conic atm i have this: $GLOBALS['TYPO3_DB']->exec_SELECTquery('uid','tt_content','pid in ('.$seitenID.') and deleted = 0')
15:08 marcuslind kmartiin: check if you got permission to all folders etc.
15:08 atmos4 kmartiin: I'd create it with phpmyadmin and add a user to the db
15:08 atmos4 working with root account for db is not a good idea
15:09 kmartiin atmos4: i normally would use a regular user too but i thought that its an important fact...
15:09 kmartiin atmos4: (no mysql permission problem ...)
15:09 Olf hi
15:09 kmartiin marcuslind: how should the permissions be?
15:09 atmos4 I never create the db through install tool, so I can't really say if it works
15:09 kmartiin marcuslind: 755?
15:09 miousse Conic: change it for $GLOBALS['TYPO3_DB']->exec_SELECTquery('uid','tt_content','pid in ('.$seitenID.') '.$this->cObj->enableFields('tt_content'))
15:10 atmos4 well the file permissions shouldn't matter
15:10 kmartiin atmos4: i normally dont do that too but as i said none of both works
15:10 atmos4 as long as it can connect mysql it should be fine
15:10 marcuslind It did for me on my Mac OS when trying to install typo3.
15:10 marcuslind but the install tool tells you if you're missing permission to folders.
15:10 kmartiin im on mac ..
15:10 atmos4 marcuslind: well it's not important for database creation
15:11 marcuslind if there arent any errors in the install tool it should be alright.
15:11 atmos4 it is important for certain typo3 folders :-)
15:11 marcuslind No but the install tool needs it
15:11 marcuslind =)
15:11 kmartiin i dont explicitly want to create a new db... i just cant use any db
15:11 atmos4 kmartiin: does it work if cou create the db through phpmyadmin?
15:11 atmos4 is it listed in the selection box?
15:11 kmartiin atmos4: no
15:12 kmartiin atmos4: the only listed one is information_schema... ;)
15:12 atmos4 that probably means your db connection failed
15:12 atmos4 I mean user/password error
15:12 atmos4 otherwise root suer should see all dbs
15:12 kmartiin atmos4: but then i would get an error when submitting step one
15:12 atmos4 for cutom user you need to grant it access to the db
15:13 kmartiin atmos4: root sees no db too
15:13 kmartiin atmos4: i know and i have done that but it didnt work
15:18 compojoom is it possible to save the records from a relation not in a way 1,3,4,5,6 (uids) but with hello, hi, bye(titles) ?
15:18 atmos4 kmartiin: you are connecting from localhost?
15:18 compojoom I'm talking about the tca.php of every extension
15:19 jbaptiste_j hi pedda
15:20 kmartiin atmos4: i am
15:21 kmartiin strange: i can create tables through a custom script...
15:21 jbaptiste_j test
15:21 Olf is it possible to set default jpg_quality so it's applied even to those images that's not resized in content?
15:25 kmartiin any other ideas atmos4 or marcuslind ?
15:25 atmos4 kmartiin: I'm out of ideas, try enabling mysql query log, to see what's going on
15:25 atmos4 google for mysql general query log, to see how to do that
15:27 erayd_ Never mind...... I'm sorted now :-)
15:28 animan hi. i have a really simple issue with ce_gallery. I'd like to remove the <div class="tx-cegallery-pi1"> tag around the plugin, but cannot find any place where it comes from
15:29 animan should come from /ce_gallery/pi1/class.tx_cegallery_pi1.php, but i cannot find it :/
15:30 miousse animan: it come from : $this->pi_wrapInBaseClass()
15:33 animan thanks miousse :) got rid of it
15:36 akdemik hi guys... i have a little problem with filelinks in rte... when i mark some text and put a filelink on it, it looks like this in the frontend: http://www.domain.tld/link/to/actual/page/http://www.domain.tld/link/to/file.pdf... i´m using realurl...
15:36 akdemik any ideas?
15:36 akdemik i have to send a newsletter in the next minutes and would like to fix this before...
15:38 zed_devil i use directmail with sr_user_subscribe, i have a page with 2 languages and want to send 1 newsletter with 2 languages like the normal translation handling. the subscribe works fine with both languages but how can i set that the user with the english newsletter subscribe gets the english version of the newsletter?
15:38 noelboss Hello everybody. I used to have a typo3.org account, but as I understand, they got compromised in the past. How do I receive this login again? Whom to contact?
15:39 mtnlab Im trying to use something like this: http://paste.phlogi.net/-f73e0058c0/ to fetch the parent page header title and output on all childpages. The TS is inserted in a extension template on the parent page. But it does not seem to work. Can anyone reveiw my TS and maybe point me in the right direction on this ?
15:39 axel_foley i have installed css_styled_filelinks. now the filelist doesn't work. the file is on /typo3conf/extTables.php is empty
15:41 mtnlab alex_foley: maybe you to include something in your template ?
15:45 geektoo Hello, i need information please. I would like to have thumbnails on PDF files from DAM and tt_news extensions, does it possible?
15:49 axel_foley mtnlab, i have installed CSS styled Filelinks. and when i remove the program it doesn't show me any file. the style 4 the link worked with out this ext. in a ready template for my site
15:50 bruce_lee hello
15:52 jbaptiste_j hello bruce_lee
15:52 geektoo anybody know a soluce for dam+ttnews + thumbnails?
15:54 compojoom is possible to use an user function to save a record in the database with the tca?
15:55 compojoom I know that it is possible to use an user func to display the records in a field
15:55 compojoom but would it be possible to use one to store the data?
16:16 zed_devil how can i set another folder for english ?? plugin.tx_sremailsubscribe.module_sys_dmail_category_PIDLIST = 113 with global var?
16:16 atmos4 hmm, I'm trying to do an HMNEU of subpages of the third level using special.data = leveluid : 2
16:17 atmos4 it's working on level 4, but not on level 5
16:17 atmos4 although the uid returned ios correct in both cases
16:17 atmos4 what could be the case?
16:18 atmos4 is it related to entryLevel?
16:19 atmos4 strange thing is if I hardcode the uid it works
16:25 atmos4 argh
16:25 atmos4 for some obscure reason I had to use special.value.data
16:25 atmos4 not special.data
16:43 marcuslind Why is it that I've mapped my site in Templavoila with a left, main and right content area which works fine.
16:43 marcuslind but the order when I publish stuff in the "Page" section
16:43 marcuslind is main, left, right
16:43 marcuslind not the correct order. I want it left, main, right.
16:45 kmartiin atmos4: is it possible that the databases you can select via the install tool must be created with the mysqluser you are using?
16:46 atmos4 no but he must be granted access to it
16:46 skipjack Hello
16:47 skipjack Could it be, that there is no Browserswitch Condition for Internet Explorer 8 ?
16:47 skipjack [browser = msie] && [version > 7]
16:47 skipjack [end]
16:47 skipjack does not Work
16:47 skipjack and [browser = msie] && [version =8] [end] also not working.
16:53 geektoo does someone have issue about thumbnails and DAM NEWS?
17:14 kmartiin hm
17:14 Conic hey all!
17:14 kmartiin im getting ' There is no access to the database ()!' when im trying to access a db via install tool as mysql-root
17:14 Conic when want to link from the backend to a file in my extension, what's the correct way to refer the file?
17:16 kmartiin so strange ...
17:34 menak hi, quick question about HMENU: I want to make a submenu which shows the current active top level menu item and all items in that category.
17:35 menak my problem is, that the navigation isn't rendered if I only set CUR and ACT but not NO.
17:35 menak why?
17:35 menak i only want the current/active element, not the normal elements
17:42 flurl menak: is it suitable for you to hide the NO menu elements with css?
17:58 Shibbi Jemand aus DE hier?
17:58 Shibbi kennt sich jemand mit der extension mw_imagemap aus?
17:58 Shibbi sombody knows the extension mw_imagemap?
17:59 Shibbi i have problems. i can?t draw the link section
18:04 Shibbi or is there a better extension to create imagemaps?
18:14 mtnlab Im trying to use something like this: http://paste.phlogi.net/-f73e0058c0/ to fetch the parent page header title and output on all childpages. The TS is inserted in a extension template on the parent page. But it does not seem to work. Can anyone reveiw my TS and maybe point me in the right direction on this ?
18:14 Shibbi sombody knows the extension mw_imagemap?
18:14 Shibbi or is there a better extension to create imagemaps?
18:14 Shibbi i have problems. i can?t draw the link section
18:17 flurl mtnlab: map the place you want the title to be shown to a typoscript object path with templavaoila (like lib.leveltitle or whatever)
18:18 flurl mtnlab: then you should be able to say in your ts: lib.leveltitle = TEXT lib.leveltitle.data = leveltitle:-2
18:34 Shibbi sombody knows the extension mw_imagemap?
18:34 Shibbi i have problems. i can not draw the link section
19:27 menak flurl: sorry
19:27 menak flurl:
19:27 menak flurl: i was away
19:27 menak flurl: i did exactly that, i made them "display:none;" but i don't like the hack...
19:29 menak Oh, BTW, is there any way to wrap a block element in a block element in the rte?
19:29 menak let's say a h2 in a div.
19:30 menak too bad Shibbi left, I use mw_imagemap in many project, it rocks!
19:30 menak oh well
19:31 menak i'd be happy to see an answer to my questions when i get back :)
21:34 mtnlab flurl: thank you very much! solved 3 days of headache
21:51 Conic DAMN! can i use jquery in the T3 backend??
21:52 Conic prototype seems to block the jquery functionality
21:52 Conic did someone already do this? or at least know how it works?
22:41 porkpie Hi guy's I am getting this error on one of my typo3 sites http://paste.phlogi.net/-d00fc35f65/
22:41 porkpie The locales are installed on the server ..... also they other 6 sites are working fine
23:27 porkpie found the it is an ext causing the problem ....
23:27 porkpie that it is

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.