Search the website and IRC logs

#TYPO3 IRC log from : Sunday 5 October 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 31
00:18 HardPhuck fount it, there is something wrong with my model, just gotta figure out what :)
00:32 twoten hi there anybody home?
00:32 twoten icht bin ein goomipoopen!
00:33 MyGoddess Maybe the wrong class is instanciated or do you have to check.
00:33 void twoten: hi
00:33 twoten hi!
00:33 twoten I have installed and reinstalled type3 a dozen times and I have not yet seen a frontend page!
00:34 twoten I always get the page does not exist error
00:34 twoten how can I install the quickstart, testsite or dummy packages?
00:35 void if you want to see a frontend, you need at least: 1) create one new page 2) define a template for that page
00:35 twoten I installed using fantastico on my shared server
00:35 twoten I have installed the static templates, I assign one to my new page but still nothing
00:36 void the word template here means: typoscript template
00:36 void see module web>template
00:36 twoten from the extension manager?
00:37 void mm?
00:37 void what?
00:37 twoten from the backend, Extension Manager, import extension
00:38 void how EM is related to template?
00:39 twoten Oh I see, Web>Template
00:39 twoten I click to edit whole template record
00:39 void need to sleep, 2:51 here...
00:39 void c u tomorrow
00:39 twoten ok, thanks anyhow
01:14 twoten hello!
01:42 Denyerec hallo!
01:42 twoten hi!
01:53 Fab1an- hi
01:56 twoten hi
02:07 twoten helloo
09:12 nd__ gmorning...
11:36 HardPhuck gday
11:42 HardPhuck any expert on the lib/div development
11:42 void m?
11:43 void i'm not the expert, but i tryed to develop with it
11:43 HardPhuck http://pastebin.com/d44271ad7
11:44 HardPhuck what is the difference between those two Action, and why is the first one not working
11:44 HardPhuck :)
11:46 void HardPhuck: how do you call then first action?
11:46 void *the
11:47 HardPhuck with it's class
11:48 HardPhuck var $defaultAction = 'finalAction';
11:48 HardPhuck in the same file, above
11:48 HardPhuck i figured it tou
11:48 HardPhuck out
11:48 HardPhuck $view->castElements('tx_apples_views_example');
11:48 HardPhuck this is the line that has to be there
11:49 HardPhuck gotta check the source on what it does
11:51 HardPhuck allrighty then
11:52 nd__ I want to output an <img tag from php, so I use cObj->IMAGE($conf) where $conf['file'] = 'http://img.example.org/1.jpg'; Is this the way to go? Because it doesn't work here.
11:53 nd__ Gna, gotta work me throught the apples/bananas too next week
11:55 HardPhuck prepare for a loss of nerves :D
11:56 nd__ Collegue of mine did it some weeks ago, and yes, he experienced right that
11:56 nd__ I really don't like the `new` style of templates though...
11:59 nd__ Doesn't IMAGE work with external images?
12:04 HardPhuck neither do i (like the new template system)
12:05 HardPhuck bbl
12:08 nd__ No one here who can help me with this supposedly simple question about the IMAGE?
12:23 void nd__: inverstigating
12:23 void -r
12:35 void nd__: hm... seems that IMAGE really doesn't work with external images
12:57 GerhardSchr_ hi
12:57 GerhardSchr_ today i will install typo3 :)
13:02 Denyerec Woof
13:10 HardPhuck void: here?
13:10 void yes
13:11 HardPhuck i'm making this lib/div ext, and im not sure on one thing, i get a list of items, and i want to make them clickable
13:11 HardPhuck so when one is clicked i get the details page
13:12 HardPhuck two questions, can the details page be the same or do i have to redirect
13:12 HardPhuck and second, can i have both actions in one controller?
13:12 GerhardSchr_ i have my own server, so need the dummy and the source package, right?
13:12 HardPhuck GerhardSchr: yes
13:12 GerhardSchr_ k
13:13 GerhardSchr_ thx
13:13 HardPhuck and make sure the paths are set correctly
13:14 HardPhuck the source and the dummy must be in the same folder for symlinks to work
13:14 GerhardSchr_ the language "german" in in these packages?
13:14 GerhardSchr_ HardPhuck: ok
13:14 HardPhuck not by default but you can import it
13:14 GerhardSchr_ import over the cms or over the filesystem?
13:15 HardPhuck both, but it's easier with extension manager
13:15 GerhardSchr_ ok
13:24 theconic hi all, is there a way to copy the Shortcuts from one BE-User to another?
13:24 theconic this would be extremely helpful
13:25 theconic a link to a tutorial, description, extension suffices
13:25 nd__ void: Thanks alot
13:26 void HardPhuck: yes, yes
13:27 void theconic: one sec..
13:33 theconic void: do you know a way or are you searching for one?
13:33 void theconic: searching
13:36 theconic i think there is no extension (have searched for "shortcut" )
13:37 GerhardSchr_ how named the username and password after the installation?
13:38 void GerhardSchr_: admin/password
13:38 GerhardSchr_ k
13:41 void theconic: do you need users to share same shortcuts database or rather to copy some predefined set of shortcuts from some "template" and give editors freedom then?
13:54 void theconic: repeat please if your answered
14:00 camgirlshot hi http://www.geocities.com/camgirlshot
14:00 camgirlshot sex online
14:00 camgirlshot hot girls free
14:00 camgirlshot see me
14:01 nkuttler camgirlshot: don't you think you would have more success on other irc networks?
14:07 camgirlshot #sex
14:08 theconic void: sorry, i was idle...
14:08 theconic i need something like what you called the template
14:09 theconic i as an admin want to create a set of shortcuts and give them to several be_users
14:10 void theconic: i can say you a hack way...
14:10 theconic would help me
14:10 void theconic: the shortcuts are stored in sys_be_shortcuts table
14:10 theconic aha...
14:10 void the table have user_id column
14:10 void which is an be_user id.
14:11 theconic ok
14:11 theconic and then i can copy an entry and change the user id
14:11 void so, SELECT * FROM sys_be_shortcuts WHERE user_id = $your_template_user
14:12 void and paste all that entries, changing the user id
14:12 theconic ok
14:12 theconic thanks
14:12 theconic this will help me a lot i think
14:24 void np
14:34 HardPhuck how can i make a link that calls current controller
14:34 HardPhuck ah found it
15:01 HardPhuck now i need to call another action inside the same controller:)
15:03 void HardPhuck: add an action parameter to your tx_lib_link
15:07 HardPhuck $this->controller->configurations or $this->controller->parameters ?
15:09 HardPhuck void: do you have any examples of the link creation?
15:09 HardPhuck to call the same controller and different action
15:11 void HardPhuck: http://phpfi.com/360843
15:13 HardPhuck thanx
15:25 HardPhuck getDesignator is the action in the controller you call right?
15:43 foool I have doing a translate to french but I get the error Fatal error: Maximum execution time of 30 seconds exceeded - Where can I increase the time?
15:49 GerhardSchr_ how can i create my own "globe" ?
15:50 smurfslayer fool, in the php.ini
15:50 foool I think i got it in php.ini
15:50 smurfslayer or maybe via .htaccess
15:50 foool wow!! snap
15:51 foool it saw php.ini - solved
15:51 foool it was I mean
15:52 foool I wan't french text to show correctly but it isn't, how do I fix it?
15:53 foool it doesn't recognise the é è à ç
16:01 GerhardSchr_ omg the admin password is false :P
16:03 foool can't get in?
16:04 GerhardSchr_ yes
16:04 foool go to install and create another admin
16:04 GerhardSchr_ ok
16:04 foool domain.com/typo3/install/
16:05 foool in the database section
16:05 foool at bottom of page
16:05 GerhardSchr_ and touch typo3conf/ENABLE_INSTALL_TOOL ;)
16:07 GerhardSchr_ foool: in the database i can only rename the database user...not the backend user
16:08 foool hang on
16:09 GerhardSchr_ ?
16:09 foool install -database analyzer - scroll to bottom - see -Compare with $TCA
16:09 foool Create "admin" user
16:09 foool Reset user preferences
16:09 foool Clear tables
16:10 GerhardSchr_ ah ok
16:10 GerhardSchr_ thx
16:17 GerhardSchr_ how can i rename the read orbit? http://img291.imageshack.us/my.php?image=bildschirmfotonewtypo3sor7.png
16:20 GerhardSchr_ sorry afk eating :)
16:24 nd__ GerhardSchr_: localconf or via install tool
16:29 nd__ When I submit hidden inputs in my form, it seems I cannot get into the values with $this->piVars -- is this meant to be or is there an error here?
16:45 maholtz @nd__ error
16:46 maholtz should work as expected
17:16 nd__ maholtz: Thanks. You have any idea of possible errors? I dump piVars using debugster after the GET-action (my hidden fields are in the URL) and they do not appear.
17:16 nd__ Whereas a hidden field like `no_cache` works fine (as without the whole site doesn't work)
17:17 nd__ Ah, hell, I think I got a clue
17:17 nd__ Well, sometimes it helps talking about it -- even if talking is a monologue...
17:20 maholtz @nd__ nope, it is not an monologue - but a little bit asyncron
17:20 maholtz you need an array
17:21 maholtz tx_yourextension_pi1[hiddenfield]=value
17:21 nd__ In this case it wasn't a critic, I meant it was a monologue because the issue solved itself while writing these 4 lines ;)
17:22 nd__ I was missing the prefixId for this field, but had it for all others (except the no_cache). Should get myself some drugs (as in medicine) and switch on tv if it weren't for the shit in the tv and all that...
17:25 nd__ maholtz: Another issue where it might be better to ask before trying for some hours: I need to write db entries from my fe-plugin -- I do this by using the standard exec_INSERTquery etc. right? How can I achieve it to have a special sysfolder (like the media folder in DAM) in the backend to store my records?
17:27 maholtz f.e. you could set an page-id via typoscript - and in your insert-query add pid=123 for each content element - i do not really understood whats the problem is
17:30 nd__ Sorry. It was two problems in one long part. First problem: It's possible to insert stuff from frontend just fine? Second problem: How can I add a special type of sysfolder just for my records in the BE?
17:58 maholtz @nd__ 2nd: why do you want an _special_ sysfolder? do not know how and why to do so. afaik you can add special images, f.e. for news or frontend users, but do not know how that is done, you should look for that in tca of that field
18:00 maholtz @nd__ 1st: perhaps you want use $DB->quoteStr($str, $table)
18:04 nd__ Thanks I will look into both.
18:25 Phlogi hey guys
18:25 Phlogi anyone knows a modern extension that has a cronjob and does BE login when called as a script?
18:25 Phlogi I can't get it working
18:43 nd__ How do I fill standard t3 fields like sys_language_uid, l18n_parent/-diffsource etc.? What about crdate and tstamp? (I'd use date() for both atm...)
18:45 nd__ (Executing my insert didn't bring up my record but didn't trigger any kind of log too... )
18:50 nd__ Now that I got an successful insert, I wonder why it doesn't show up as record in my sysfolder. I guess something needs to be configured for that?
19:04 foool Site in UK and French - I want french text to show correctly but it isn't, how do I fix it?
19:04 foool it doesn't recognise the é è à ç
19:05 nd__ Got your db and your charset set to utf8?
19:07 foool i will check nd_
19:15 theconic what was the page to post sourcecode?
19:15 theconic ok i found it
19:17 foool nd_ htere are a lot of them in phpmyadmin it is using utf8 unicode ci right now
19:17 theconic can someone tell me whether this html is valid? I mean to write the classes over more lines: http://phpfi.com/360939
19:17 nd__ ok. Did you set forceCharset in the install tool, foool?
19:18 nd__ theconic: Might be easier to ask validator, but I'd say yes it is but not pretty ;)
19:20 foool is this where you mean [BE][forceCharset] = if so what do I put in it ---- utf8
19:21 nd__ utf-8 I think, but it's written there
19:22 theconic nd__ which validator? online? link? pls
19:22 theconic ok found it
19:23 theconic on w3.org, didn't know they offer thinks like those...
19:23 nd__ theconic: They sure do. You have to enter a full html example though (including doctype et all)
19:27 theconic yes, that's disturbing...
19:28 theconic but i think it's valid. Would be better, because with a Tag that has 4 or more classes it becomes much more tidy like that (each line a new class)
19:30 foool thanks nd_ it works now :)
20:11 GerhardSchr_ nd__: thx for the tipp
20:15 nd__ GerhardSchr_: welcome
20:16 GerhardSchr_ thx
20:16 nd__ If only I'd known that you're into computers and not only russion oil markets maybe I'd voted for you more often...
20:16 nd__ ;)
20:19 GerhardSchr_ :P^^
20:21 GerhardSchr_ http://www.galileocomputing.de/katalog/buecher/titel/gp/titelID-1860?GalileoSession=20947908A3ts99wZrDE or http://www.oreilly.de/catalog/typo3bas3ger/index.html
20:21 GerhardSchr_ ;)
20:22 nd__ Latter because I prefer O'Reilly over galileo
20:22 nd__ (Without having read any...)
20:23 GerhardSchr_ yes oreilly and addison-wesley are the best :)
21:11 HardPhuck void you here?
21:12 void yes
21:12 HardPhuck one last thing
21:13 HardPhuck http://pastebin.com/d7645f51d
21:13 HardPhuck this is the function in the model that loads a single entry
21:14 HardPhuck <?php $entry->printAsText('username'); ?>
21:14 HardPhuck but if i do this in the view
21:14 HardPhuck Call to a member function printAsText() on a non-object in
21:15 HardPhuck but if i do $this->printAsText ... i get no error but a blank page
21:16 HardPhuck i'm a bit confused with scope
21:16 void HardPhuck: your function does not return anything
21:16 void currently =)
21:23 HardPhuck okay if i set the return to on
21:23 HardPhuck i get nothing on the page
21:25 elbart HardPhuck: is it clear, why you can't use printAsText on the $entry-object?
21:25 HardPhuck not to me :D
21:25 elbart $entry is an object of the class tx_lib_object
21:26 elbart if you activate the return on line 15 of your pastebin and then pass it to the view
21:27 HardPhuck with controller?
21:27 elbart yes
21:30 elbart did you pass the entry to the view?
21:33 HardPhuck yes, i don't know how, but i did it
21:33 HardPhuck and i don't know why it works
21:33 HardPhuck :)
21:34 elbart so there is output now? :P
21:34 HardPhuck yes
21:34 HardPhuck the correct one
21:34 elbart ;)
21:34 HardPhuck http://pastebin.com/d7f58fbc1
21:34 HardPhuck the second function displays the single element
21:35 HardPhuck when clicked on one from the list displayed by the first function
21:35 elbart yes
21:35 elbart and the in the template u used $this->printAsText???
21:36 elbart not something like $row->...
21:36 HardPhuck yep
21:36 elbart ok :)
21:36 HardPhuck i dont know what $this refers to in this cse
21:36 HardPhuck case
21:36 elbart the view class
21:37 elbart in this case tx_lib_phpTemplateEngine
21:37 elbart as you loaded the class name in line 20 and passed the $row to the new instance one line below
21:39 HardPhuck $view = new $class($row);
21:39 elbart yes
21:39 HardPhuck so this means that the row is passed to the instance
21:39 elbart to the view instance
21:40 elbart and the "magic" is, that the passed class members of $row are getting injected to the $view
21:41 HardPhuck thanx a lot
21:41 HardPhuck it still a bit confusing but i will get it... in time :D
21:41 HardPhuck practice makes perfect, as they say
21:44 Tsoots lo, is there any easy way to leave a message to all be editors so that they'd see it after login
21:44 HardPhuck now i see i could make all this a single action
21:45 HardPhuck not much different
22:24 GerhardSchr_ Tsoots: you can link them to an article after login
22:24 GerhardSchr_ i think
22:25 GerhardSchr_ i'm still a noob :)
22:26 GerhardSchr_ good night
23:00 jangla say I've got a domain and I've written an extension for it. Now I develop another domain and need a slightly modified version of the same extension so I create a pi2 folder, make another class and use it in the new website. why, if there's a coding error in the second extension, does the first domain report an error too? does this mean that typo3 is compiling every extension for every...
23:00 jangla ...domain? is there any way of turning this off so less code is being evaluated for each domain?
23:06 HardPhuck i have one problem, when entering db mounts for some BE users, i get to enter only 10 mounts and then i get yellow ! at the field
23:06 HardPhuck how can i set mount numbers to a higher value?
23:20 foool anyone know the date and time for french
23:23 void foool: GMT+1 ?
23:24 foool hang on void
23:26 foool english is this %A, %d. %B %Y
23:26 foool i tried that in the french language 2 but it doesn't work

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.