Search the website and IRC logs

#TYPO3 IRC log from : Saturday 4 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:02 Lars_rds How can i make submenu field in this menu marks.MENU = HMENU
00:02 Lars_rds marks.MENU.entryLevel = 0
00:02 Lars_rds marks.MENU.1 = TMENU
00:02 Lars_rds marks.MENU.1 {
00:02 Lars_rds NO.linkWrap =
00:02 Lars_rds }
00:06 daKmoR you know paste?
00:06 Lars_rds ?
00:09 MyGoddess In topic, "paste at"
00:10 Lars_rds Oh, sorry
00:12 Lars_rds http://paste.phlogi.net/menu/ How can i makes so undersite allso get in the menu ?
00:21 HardPhuck if you'll explain a bit more, then maybe someone can help you
00:23 Lars_rds I can try but my english are not good.
00:24 HardPhuck well, try
00:26 Lars_rds Ok, in my site tree is have some subsites, i want them to be showen when i clik on the menu
00:26 Lars_rds as kind of fold out menu
00:27 Lars_rds i forgotten to tell i use markers
00:31 nkuttler Lars_rds: it's default behaviour to show all subpages one level lower in the tree
00:31 nkuttler Lars_rds: do you want to see more sublevels?
00:33 Lars_rds Yes
00:33 nkuttler oh wait, you need to define marks.MENU.2.NO etc as well, depending on how many levels you have
00:36 Lars_rds Do you mean marks.MENU.2.1 fx. ?
00:37 nkuttler Lars_rds: take the last four lines of your paste and s/1/2/
00:38 Lars_rds ok
00:38 HardPhuck http://paste.phlogi.net/menu-2/
00:39 HardPhuck make it like this if you want second level INSIDE first level tags
00:40 nkuttler HardPhuck: you should make more usage of {}, imo
00:40 HardPhuck not quite sure what you want to say
00:40 nkuttler ACT=1
00:40 nkuttler ACT {
00:41 HardPhuck ah :)
00:41 nkuttler etc :) easier to read for me at least
00:41 HardPhuck old habits die hard
00:41 HardPhuck i prefer more {} too, but i made my first menu in this style and i still use it lol
00:42 nkuttler good ol' copy & paste
00:42 nkuttler don't you use CUR, ACT and friends?
00:43 Lars_rds It was that kind of menu i seek for
00:43 nkuttler cheers!
00:43 Lars_rds thanks
00:43 HardPhuck np
00:43 nkuttler Lars_rds: for further reading, i recommend http://typo3.org/documentation/document-library/references/doc_core_tsref/4.1.0/view/10/1/ . very flexible system.
00:44 HardPhuck nkuttler: why is CUR for never used it
00:44 nkuttler HardPhuck: parents of active page
00:44 Lars_rds I have try that in that link, but could not get i to work
00:45 nkuttler HardPhuck: hardly ever use it though, adds confusion
00:45 HardPhuck that's why i didn't know why is it good for :)
00:46 HardPhuck because i only use NO and ACT
00:46 HardPhuck so far
00:46 nkuttler the IFSUB thing can be nice though
00:46 nkuttler and USR
00:47 HardPhuck what are those :)
00:47 nkuttler rtfm :D
00:47 HardPhuck lol
00:48 HardPhuck ah i see :)
00:48 nkuttler USR is nice if you want to show restricted pages in the nav
00:50 HardPhuck i see i should read doc more often :)
00:51 HardPhuck i do read it every day, but not enough i guess
00:52 HardPhuck i see the CUR is usable in some of my projects, but as i didn't use it i had to solve it with condifionals
00:52 nkuttler yeah, i re-read it all the time. my brain usually doesn't remember things it doesn't need to.
00:52 nkuttler ugh
00:52 nkuttler :)
00:53 HardPhuck i'm trying to write an extension so im pretty much just reading these days :)
00:54 HardPhuck and playing WOW to set my mind away :)
00:54 nkuttler ah, did that for two weeks. free trial. knew i had to stay away from that..
00:54 HardPhuck lol
00:55 HardPhuck addictive like hell
00:55 nkuttler magaged to fry my mainboard in those two weeks though :)
00:55 nkuttler managed
00:55 HardPhuck lol well i'm playing it in windowed mode, so i'm playing, reading, playing some more, reading some more... :)
00:56 HardPhuck command + tab all the time :)
00:56 nkuttler i'm more a realtime strategy guy. but i hardly ever play because i only have linux boxes
00:57 HardPhuck that's why i play only Blizzard's games, they are all made for macs to (which i have)
08:57 nkuttler doesn't #typo3 have a bot?
11:23 Denyerec it's got chanserv
11:36 HardPhuck hey
11:56 Denyerec Hey HP
12:08 void hey Denyerec
12:08 Denyerec Hola void
12:09 void do you use forge for your ext?
12:16 void Denyerec: ?
12:16 Denyerec Nope.
12:16 Denyerec I don't even know what Forge is, beyond knowing that something with that name exists.
12:17 void forge.typo3.org
12:17 Denyerec The extension I was working on the other day, however, had no public interest whatsoever.
12:17 Denyerec It was a specific job for a company.
12:17 Denyerec (internal)
12:17 void i am wondering if forge have an option to publish extension to TER from forge itself...
12:18 Denyerec Either it's cripplingly broken
12:18 Denyerec or it's just completely broken in Opera.
12:18 Denyerec EG: attempting to update my timezone tells me that my last name cannot be blank.
13:50 saoirse I`ve a question about the tt_news extension. Could someone explain the steps to configurate the single view in a new window (popup window)?
14:04 saoirse is it possible to do that?
14:14 nd_ Coming from the visitor side I'd say you don't want that ;)
14:24 saoirse I only want to display the single message in this window - without the menue e.g.
14:25 saoirse like a print preview
14:28 nkuttler saoirse: so what's your qeustion? how to do a popup? or how to change your page layout?
14:30 nkuttler whatever 1. is easy, change the list (or whatever) template. 2. is easy, create an extension template and remove what you don't want... or hide stuff through css
14:32 saoirse I`ve installed the tt_news extension - and it is working... but now I want to show the single view in a separate window - without the menue e.g.
14:33 saoirse I`m using the typo3 version 4.3
14:33 saoirse 4.2
14:33 nkuttler ah, think-open.at again...
14:33 nkuttler i just told you how to do it
14:33 saoirse the second point is clear
14:34 nkuttler hm, what's unclear about the first?
14:34 saoirse how do i have to change the template to get a popup window for the message
14:35 nkuttler <a href="foo" target="_blank">
14:38 saoirse the popup should be only created when the user wants to see the whole message - but there should be no popup when the user wants to go to the whole archive
14:38 saoirse I have a separate extension template for the news-section
14:39 nkuttler edit the tt_news templates
14:40 saoirse it`s not working when I only add <a href="foo" target="_blank"> to the template
14:41 nkuttler define not work
14:41 nkuttler did you check the html source if the target is in there?
14:42 saoirse i add this line, clear the whole cache and start the page - but there`s no popup
14:43 saoirse moreover on this page are several other links - but they should be not working like a popup
14:44 saoirse is it the right way to add this line in the setup field
14:44 nkuttler saoirse: please re-read what i wrote
14:46 saoirse i use the correct html source
14:50 saoirse ok - i think i understand what you mean - i have to add this line at the right place in the html source and not direct in typo3
15:22 foool any ypSlideOutMenus guru alive here?
15:57 nkuttler wow, i have an extension that doesn't allow reordering of elements inside the backend... how broken is that..
16:01 nkuttler yeah, they seem to be sorted by uid... sql time
16:03 nkuttler does somebody know offhand what i need to do to enable position changin in the backend? is that some standard column i can simply add to the ext?
17:43 nd_ nkuttler: Create an ext in the kickstarter and look what propertie changes when changing the sort parameter
18:32 nd_ What do I specify for a flexform config type select as default? The index#, short name or long name?
18:36 MyGoddess nd_, the value.
18:37 nd_ I see. Weird, because one of the two values (short/long) comes from locallang... so I have to use this one?
18:38 MyGoddess no.
18:39 MyGoddess you see, in the items array, you have the list of items, and each items is a list of values, the first value is the label that will be shown, the second is the value associated to the item, the third is an icon. see http://typo3.org/documentation/document-library/core-documentation/doc_core_api/4.1.0/view/4/2
18:40 nd_ will check on this, thanks
21:41 ndee hello there, when you install an extension, per default, the permissions for created folder is 644, I wanna change that to 664, is that somehow possible?
21:41 void ndee: in install tool, see fileCreationMask and folderCreationMask
21:42 ndee void: is that also for the extensions?
21:42 void yes, if extensions use typo3 api rather then raw php
21:43 ndee so with the kickstarter, that should work?
21:43 void kickstarter does not create any useful code
21:44 ndee kickstarter worked.
21:44 ndee I love the kickstarter, it rocks :D
21:44 ndee do you write the TCA, etc. by hand?
21:44 void yeah... but i does not write a real code for you
21:45 void ndee: sometimes - yes.
21:45 ndee nah, not code but just for scaffolding.
21:45 void yes, scaffolding is great, but kickstarter does not handle migrations etc
21:45 ndee void: I think for standard extensions, it's great, you don't have to know all the options by heart.
21:46 ndee void: yeah, when I create extensions, I normally don't overwrite the PIs, then everything is fine because I generally create frontend plugins.
21:46 void hm.. dunno) for now i'm writing not on the php...
21:47 ndee not using typo3 anymore? :d
21:47 void yes... currently
21:48 ndee you found a better CMS?
21:48 void maybe i'll be back after current project... but my heart is with python.
21:48 void not the CMS, the framework
21:48 ndee ah I see.
21:51 void the lack of good framework is a weak side of typo3 in general...
21:52 void but for the CMS - i did not see any CMS greater than TYPO3...
21:53 ndee you mean if you want to extend typo3, a framework would help?
21:55 void ndee: yes. writing an extension with a good style of programming is a pain for now.
21:55 void TYPO3 have no ORM, i have to write all the SQL by hand...
21:56 void It have no good template engine included, std. ###MARKERS### is awful for extensions authors
21:57 void the TCEMAIN is a One Huge Class Which Works But Nobody Knows How
21:57 void etc, etc
21:58 ndee void: ok, so I'm not the only one who thinks it's sometimes a pain creating extensions :D
21:59 void yeah =))
21:59 ndee I haven't informed myself about the typo3 5.0 yet, but that could change with the new FLOW3 framework, right?
21:59 void hm...
22:00 void ndee, that's a complex question. let's see...
22:00 void the strong side of TYPO3 that it already have a lot of rare and wonderful options included: perfect localization, workspaces, templavoila
22:01 void flow3 does not have any of that
22:01 void and typo3 5.0 too
22:01 ndee so it has to be rewritten.
22:01 void and I already have an excellent framework... if I have a framework, I'll use django, not flow3
22:02 Trysax hey.. does anybody know how to put a delete button on threads in chc forum?
22:02 ndee I see.
22:02 void ndee: I mean... rewriting a lot of code requires a lot of time. and i am not sure it will be done, for example, in 3 years
22:03 void we does not have such number of developers and KDE
22:03 void *as KDE
22:03 void Trysax: chc forum is dead
22:04 ndee I see. So you think typo3 5.0 won't be as "popular" at first?
22:04 void Trysax: mm_forum is far far better
22:04 Trysax yeah but i have a forum with about 5000 messages and 1000 users and i dont know if it is safe to move the forum..
22:04 Trysax or if it can be done..
22:05 void ndee: yes. i'd rather write a workspace application for django than for typo3 5.0...
22:06 ndee void: I see.
22:06 void Trysax: mm_forum have an option to import data from chc. you can try that on some test database and see the result
22:06 Trysax ok.. ill try it.. thank you..
22:06 void np
22:07 ndee so python is the new kid on the block? :D
22:07 ndee I mean python with django
22:07 ndee didn't they release v1.0 recently?
22:07 void yes
22:07 void they released
22:09 GerhardSchr hi
22:11 Trysax ok an other question.. captcha on mailing forms.. is there an easy way to do that?
22:12 void Trysax: which tool do you use for mailing forms?
22:13 Trysax not anything yet..
22:14 nkuttler even looking at t3 extensions gives me a headache, and i like coding in perl :/
22:14 nkuttler will play with django soon though i guess
22:14 GerhardSchr [hardware-guru] can anybody advise me a german typo3 beginner book? i have already look by http://www.galileocomputing.de/
22:14 GerhardSchr sorry
22:15 GerhardSchr without [hardware-guru] ;)
22:15 nkuttler GerhardSchr: i used praxiswissen typo3, robert meyer. gets the job done. got the cookbook as well.
22:16 GerhardSchr thx
22:18 GerhardSchr nkuttler: ui oreilly is my favorite publishers ;) (e.g perl)
22:19 nkuttler yeah, both o'reilly. did some research before buying them though.
22:19 nkuttler i took my first typo3 job without ever having worked with typo3 :P
22:19 Trysax how about captch for tmailform? How do i set than one up?
22:22 GerhardSchr are a lot difference between typo3 4.* and the previous version?
22:25 nkuttler GerhardSchr: hm, some. read the release notes.
22:26 GerhardSchr ok
22:26 GerhardSchr do you have these link?
22:26 GerhardSchr :)
22:26 nkuttler google.de :)
22:27 nkuttler for the book i don't think it matters too much. basic things like template, navigation, content displaying didn't change
22:27 GerhardSchr k
22:27 nkuttler the meyer book is really really basci
22:27 nkuttler basic
22:28 nkuttler but definitely faster than reading through the online docs.
22:28 GerhardSchr do i need to know about typoscript (and buy a book)?
22:29 nkuttler definitely. it's in the meyer book. more usable resources online as well
22:29 GerhardSchr k
22:30 GerhardSchr really really basic, i hope that lasts out for me...
22:31 nkuttler you can always come here and we'll tell you which tfm to read ;)
22:31 GerhardSchr tfm?
22:32 nkuttler as in rtfm
22:32 GerhardSchr rtfm;)
22:32 GerhardSchr kk
22:32 GerhardSchr thx
22:33 GerhardSchr http://www.oreilly.de/catalog/typoscripttbger/index.html <--- do you know these book? lasts these out?
22:34 GerhardSchr lasts out for typoscript :)
22:35 GerhardSchr i read aktuelly http://typo3.org/documentation/document-library/tutorials/doc_tut_quickstart_de/current/
22:38 GerhardSchr hmmm --> http://typo3.org/doc.0.html?&tx_extrepmgm_pi1[extUid]=490&cHash=27f9c79d25
22:42 nkuttler yeah, that's broken somehow
22:46 HardPhuck $this is always refered to the class that's in?
22:46 HardPhuck refers
22:51 MyGoddess this is always the object on which the method was called.
22:51 HardPhuck and the object is an instance of a class?
22:51 MyGoddess yes.
22:52 HardPhuck okay
22:52 HardPhuck having difficulties understanding the MVC concept of some plugins :/
22:53 MyGoddess not necessary linked to the class method. If you call MyClass::MYMethod from another method called on an instance, the $this refers the object of the caller.
22:53 MyGoddess (but it's a php behaviour)
22:55 HardPhuck that i get now i need to get the logic behind MVC :)
22:55 nkuttler omg, already 11 and still working :/
22:56 HardPhuck i mean, i get the logic it's the syntax that's strange
22:56 MyGoddess let's see ?
22:57 HardPhuck see whtt
22:57 HardPhuck what
22:57 MyGoddess the weird syntax.
22:58 HardPhuck oh lol wait
23:00 HardPhuck http://pastebin.com/d7c7c15a1
23:00 HardPhuck this function gets data from DB
23:01 HardPhuck parent::tx_lib_object();
23:01 HardPhuck i dont understand this line
23:01 HardPhuck it has to be there otherwise i get errors
23:01 MyGoddess Oh, it's simple, it calls the parent constructor.
23:02 HardPhuck but why, it's already inherited with class
23:02 nd__ Why is it not using __construct() and why has it to be called by hand?
23:02 MyGoddess Well, it's php4.
23:02 nd__ Ok. So in php5 this could be that much better... ;)
23:02 nd__ (readable for me...)
23:03 HardPhuck okay next thign
23:03 HardPhuck Fatal error: Call to a member function printAsText() on a non-object in /Users/<removed>/Sites/devel/typo3conf/ext/apples/templates/list.php on line 9
23:04 HardPhuck in the template i have the following line
23:04 HardPhuck <?php $entry->printAsText('username'); ?>
23:04 HardPhuck the interesting thing is though, that usernames are displayer
23:04 HardPhuck displayed
23:04 HardPhuck but after them, the Fatal error
23:04 MyGoddess well, from another call.
23:05 HardPhuck but i have only two entries in the DB, what would make another call?
23:05 MyGoddess Well, you should search callers.
23:07 HardPhuck this is the only one:)
23:07 nd__ Anyone here good with xpath and simplexml? Fucking namespaces...
23:07 MyGoddess I mean, if the line is in a function, search who call it, if the line is in an included file, where it is included.
23:09 nd__ $xml->xpath('/ns:Nodea/Nodeb') doesn't work. Only works with '//ns:Nodeb' -- but as the same node shows up more often with different parents, I need to pay attention to this perticular order. Clues anyone?
23:12 GerhardSchr exist a perl api to typo3?
23:14 MyGoddess GerhardSchr, I don't think so.
23:14 GerhardSchr k
23:53 HardPhuck if i set $entry->printAsText('username');
23:53 HardPhuck Call to undefined method tx_lib_object::printAsText()
23:53 HardPhuck i get this
23:54 HardPhuck but if i print_r($entry) i get a lot of arrays
23:54 HardPhuck starting with tx_lib_object Object ( [controller] => [_iterator] =>
23:55 HardPhuck any clues on what i'm doing wrong?
23:57 MyGoddess Is the method defined in tx_lib_object or in a descendant ?
23:59 HardPhuck searching

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.