IRC log of #zope3-dev for Sunday, 2007-08-26

*** deo has quit IRC00:01
NederhoedI can't get my new z3 skin working00:13
Nederhoedwhenever I try to reuse a macro from Rotterdam, I get a system error00:14
Nederhoedzope:00:14
NederhoedUnsubscriptable object in simpleviewclass.py; self.index.macros[name]00:15
Nederhoeddoes anybody have a clue?00:15
*** dobee has joined #zope3-dev00:16
philiKONhow are you reusing a macro from Rotterdam?00:25
NederhoedI seem to have it working. I did 2 things wrong00:26
Nederhoedto answer your question:00:26
philiKONdon't bother if it's working :)00:27
Nederhoed<metal:block define-macro="page">00:27
Nederhoed    <metal:block use-macro="context/@@skin_macros/page" />00:27
Nederhoed</metal:block>00:27
philiKONbut lemme give you one piece of advice00:27
philiKONdon't bother with rotterdam :)00:27
Nederhoedaha00:27
philiKONi know my book sets a bad example00:27
philiKONone that will be rectified eventually00:27
Nederhoedcool00:27
Nederhoedmy wish was to only see the rott skin when using management views00:28
Nederhoedalmost there00:28
Nederhoedthanks for the respond00:28
instantfoowhat's wrong with rotterdam :)00:28
philiKONit sucks00:28
philiKONwell, if it works for you00:29
philiKONgo ahead00:29
instantfoocare to elaborate?00:29
philiKONbut people should be aware that it's just an example application for zope 300:29
instantfooyeah..00:30
instantfooI like it so far.. writing small apps wile learning00:34
instantfoobut making a "real" app I will probably want something else00:34
Nederhoedwhat's the alternative?00:36
philiKONyour own skin00:36
NederhoedI thought the idea was to layer over rott00:36
NederhoedI use it for adding contentobjects to a folder, for example00:37
philiKONsure.00:38
philiKONyou *can* do that00:38
philiKONi don't :)00:38
Nederhoedbut you know how to00:38
Nederhoed(not that adding a layer over rott is a breeze)00:38
philiKONcontainer[name] = obj00:39
philiKONhow hard can it be :)00:39
Nederhoedis there a page with a list of macros and slots that my templates should provide?00:40
philiKONno00:40
philiKONand that's the point00:40
Nederhoedyour book states 4 macros are required: page, view, dialog and addingdialog00:40
philiKONrotterdam makes you feel like you need to provide a certain set00:40
philiKONagain, my book doesn't set a very good example in this regard00:41
philiKONi apologize00:41
Nederhoedno problem00:41
philiKONthey're usually all macro aliases00:41
NederhoedI feel comfortableble with "a certain set" :)00:42
philiKONjust write your own skin macro and use it00:44
philiKON:)00:44
philiKONwhich slots you define and use is all in your hands00:44
instantfooi should try writing my own skin macro :)00:49
instantfoobut i don't know where to find any good docs on that :O00:51
instantfoobut I guess i could just check zope.app.rotterdam00:51
NederhoedYou could use: http://www.zope.org/Wikis/DevSite/Projects/ComponentArchitecture/Zope3Book/skin.html00:51
Nederhoedit would be nice to know if this is the way to go now00:52
instantfoohmm, does it create a totally new skin? or reuse some rotterdam00:52
Nederhoedit was probably written for the X3 release00:52
Nederhoednew skin00:53
instantfoosweet, gonna read it.. even though it's a bit dated00:54
NederhoedI think most of it is unchanged functionality00:55
NederhoedI ran into trouble when rewriting conf to reuse rott functionality :S00:55
instantfooyeah, otherwise i can just check how it's done in zope.app.rotteram00:55
NederhoedI also used:00:55
Nederhoedhttps://svn.enfoldsystems.com/browse/public/sip/trunk/browser/skin/?logsort=date&rev=746#dirlist00:55
Nederhoedalso 2 years old, but handy00:56
instantfoothx, I'll bookmark these :)00:57
philiKONinstantfoo: my book demonstrates writing a skin template from scratch01:01
philiKONinstantfoo: wc.worldcookeryskin (availalbe on pypi) is the code01:01
instantfooah01:04
instantfoohttp://pypi.python.org/pypi/wc.worldcookeryskin/2.0.101:04
*** jsadjohnson has joined #zope3-dev01:07
*** tomus has quit IRC01:15
Nederhoedgood night all01:19
*** Nederhoed has left #zope3-dev01:19
*** greenman has joined #zope3-dev01:24
*** sm has joined #zope3-dev01:30
*** greenman has quit IRC01:48
*** jsadjohnson has quit IRC02:14
*** timte has quit IRC02:28
*** dobee has quit IRC02:54
*** sm has quit IRC03:23
*** b52GM has joined #zope3-dev03:30
*** rcrafton has quit IRC03:30
*** b52GM has quit IRC03:32
*** b52laptop has quit IRC03:38
*** greenman has joined #zope3-dev03:50
*** foxmjay has quit IRC04:21
*** stub has joined #zope3-dev04:46
*** stub has quit IRC04:46
*** Ariel_Calzada has joined #zope3-dev05:20
*** philiKON_ has joined #zope3-dev07:15
*** philiKON has quit IRC07:23
*** agroszer has joined #zope3-dev08:58
*** cursor has joined #zope3-dev09:12
*** markusleist has quit IRC09:18
*** dobee has joined #zope3-dev09:25
*** cursor has quit IRC10:39
*** cursor has joined #zope3-dev10:52
*** markusleist has joined #zope3-dev11:00
*** greenman has quit IRC11:00
*** greenman has joined #zope3-dev11:02
*** alecm has joined #zope3-dev11:08
*** alecm has quit IRC12:04
*** naro has joined #zope3-dev12:12
*** cursor has quit IRC12:36
*** b52laptop has joined #zope3-dev12:41
*** kleist has joined #zope3-dev13:04
*** greenman has quit IRC13:20
*** philiKON_ has quit IRC13:22
*** dunny has quit IRC13:26
*** philiKON has joined #zope3-dev13:27
*** jodok has quit IRC13:29
*** BjornT has quit IRC13:30
*** BjornT has joined #zope3-dev13:30
*** dobee has quit IRC13:37
*** dobee has joined #zope3-dev13:48
*** naro has quit IRC14:30
*** naro has joined #zope3-dev14:32
*** foxmjay has joined #zope3-dev14:52
*** rcrafton has joined #zope3-dev15:00
*** philiKON has quit IRC15:18
*** philiKON has joined #zope3-dev15:19
*** dobee has quit IRC15:39
*** dobee has joined #zope3-dev15:48
*** dobee has quit IRC16:11
*** foxmjay has quit IRC16:18
*** foxmjay has joined #zope3-dev16:28
*** rocky has quit IRC16:44
*** hazmat has quit IRC17:09
*** jsadjohnson has joined #zope3-dev17:19
*** norro has joined #zope3-dev17:42
*** afd has joined #zope3-dev17:49
*** jfroche_ has joined #zope3-dev17:50
*** jfroche has quit IRC17:52
*** hazmat has joined #zope3-dev17:54
*** ChanServ sets mode: +o hazmat17:54
*** zagy has quit IRC17:56
*** b52GM has joined #zope3-dev18:16
*** markusleist has quit IRC18:17
*** norro_ has joined #zope3-dev18:20
*** norro has quit IRC18:22
agroszersrichter: ayt?18:32
*** rock1 has joined #zope3-dev19:00
*** rock1 is now known as rocky19:01
*** sm has joined #zope3-dev19:02
*** rcrafton has quit IRC19:33
*** alecm has joined #zope3-dev19:47
*** jodok has joined #zope3-dev19:47
*** tomus has joined #zope3-dev19:53
*** timte has joined #zope3-dev19:59
*** norro_ is now known as norro20:08
*** rcrafton has joined #zope3-dev20:20
*** rcrafton has joined #zope3-dev20:22
*** rcrafton has quit IRC20:24
*** yielder has joined #zope3-dev20:44
*** jodok has quit IRC20:50
*** alecm has quit IRC20:53
*** Ariel_Calzada has quit IRC20:56
*** naro has joined #zope3-dev20:57
*** kleist has quit IRC21:03
*** alecm has joined #zope3-dev21:08
*** dunny has joined #zope3-dev21:12
*** alecm has quit IRC21:20
*** benji has joined #zope3-dev21:29
*** afd has quit IRC21:30
*** naro has left #zope3-dev21:50
*** jsadjohnson has quit IRC21:55
*** tarek has left #zope3-dev22:19
*** greenman has joined #zope3-dev22:21
*** agroszer has quit IRC22:22
*** jodok has joined #zope3-dev22:54
*** jsadjohnson has joined #zope3-dev23:14
*** replicant has joined #zope3-dev23:20
*** hazmat has quit IRC23:28
*** dunny has quit IRC23:28
*** jfroche_ has quit IRC23:43
*** jodok has quit IRC23:57

Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!