*** deo has quit IRC | 00:01 | |
Nederhoed | I can't get my new z3 skin working | 00:13 |
---|---|---|
Nederhoed | whenever I try to reuse a macro from Rotterdam, I get a system error | 00:14 |
Nederhoed | zope: | 00:14 |
Nederhoed | Unsubscriptable object in simpleviewclass.py; self.index.macros[name] | 00:15 |
Nederhoed | does anybody have a clue? | 00:15 |
*** dobee has joined #zope3-dev | 00:16 | |
philiKON | how are you reusing a macro from Rotterdam? | 00:25 |
Nederhoed | I seem to have it working. I did 2 things wrong | 00:26 |
Nederhoed | to answer your question: | 00:26 |
philiKON | don'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 |
philiKON | but lemme give you one piece of advice | 00:27 |
philiKON | don't bother with rotterdam :) | 00:27 |
Nederhoed | aha | 00:27 |
philiKON | i know my book sets a bad example | 00:27 |
philiKON | one that will be rectified eventually | 00:27 |
Nederhoed | cool | 00:27 |
Nederhoed | my wish was to only see the rott skin when using management views | 00:28 |
Nederhoed | almost there | 00:28 |
Nederhoed | thanks for the respond | 00:28 |
instantfoo | what's wrong with rotterdam :) | 00:28 |
philiKON | it sucks | 00:28 |
philiKON | well, if it works for you | 00:29 |
philiKON | go ahead | 00:29 |
instantfoo | care to elaborate? | 00:29 |
philiKON | but people should be aware that it's just an example application for zope 3 | 00:29 |
instantfoo | yeah.. | 00:30 |
instantfoo | I like it so far.. writing small apps wile learning | 00:34 |
instantfoo | but making a "real" app I will probably want something else | 00:34 |
Nederhoed | what's the alternative? | 00:36 |
philiKON | your own skin | 00:36 |
Nederhoed | I thought the idea was to layer over rott | 00:36 |
Nederhoed | I use it for adding contentobjects to a folder, for example | 00:37 |
philiKON | sure. | 00:38 |
philiKON | you *can* do that | 00:38 |
philiKON | i don't :) | 00:38 |
Nederhoed | but you know how to | 00:38 |
Nederhoed | (not that adding a layer over rott is a breeze) | 00:38 |
philiKON | container[name] = obj | 00:39 |
philiKON | how hard can it be :) | 00:39 |
Nederhoed | is there a page with a list of macros and slots that my templates should provide? | 00:40 |
philiKON | no | 00:40 |
philiKON | and that's the point | 00:40 |
Nederhoed | your book states 4 macros are required: page, view, dialog and addingdialog | 00:40 |
philiKON | rotterdam makes you feel like you need to provide a certain set | 00:40 |
philiKON | again, my book doesn't set a very good example in this regard | 00:41 |
philiKON | i apologize | 00:41 |
Nederhoed | no problem | 00:41 |
philiKON | they're usually all macro aliases | 00:41 |
Nederhoed | I feel comfortableble with "a certain set" :) | 00:42 |
philiKON | just write your own skin macro and use it | 00:44 |
philiKON | :) | 00:44 |
philiKON | which slots you define and use is all in your hands | 00:44 |
instantfoo | i should try writing my own skin macro :) | 00:49 |
instantfoo | but i don't know where to find any good docs on that :O | 00:51 |
instantfoo | but I guess i could just check zope.app.rotterdam | 00:51 |
Nederhoed | You could use: http://www.zope.org/Wikis/DevSite/Projects/ComponentArchitecture/Zope3Book/skin.html | 00:51 |
Nederhoed | it would be nice to know if this is the way to go now | 00:52 |
instantfoo | hmm, does it create a totally new skin? or reuse some rotterdam | 00:52 |
Nederhoed | it was probably written for the X3 release | 00:52 |
Nederhoed | new skin | 00:53 |
instantfoo | sweet, gonna read it.. even though it's a bit dated | 00:54 |
Nederhoed | I think most of it is unchanged functionality | 00:55 |
Nederhoed | I ran into trouble when rewriting conf to reuse rott functionality :S | 00:55 |
instantfoo | yeah, otherwise i can just check how it's done in zope.app.rotteram | 00:55 |
Nederhoed | I also used: | 00:55 |
Nederhoed | https://svn.enfoldsystems.com/browse/public/sip/trunk/browser/skin/?logsort=date&rev=746#dirlist | 00:55 |
Nederhoed | also 2 years old, but handy | 00:56 |
instantfoo | thx, I'll bookmark these :) | 00:57 |
philiKON | instantfoo: my book demonstrates writing a skin template from scratch | 01:01 |
philiKON | instantfoo: wc.worldcookeryskin (availalbe on pypi) is the code | 01:01 |
instantfoo | ah | 01:04 |
instantfoo | http://pypi.python.org/pypi/wc.worldcookeryskin/2.0.1 | 01:04 |
*** jsadjohnson has joined #zope3-dev | 01:07 | |
*** tomus has quit IRC | 01:15 | |
Nederhoed | good night all | 01:19 |
*** Nederhoed has left #zope3-dev | 01:19 | |
*** greenman has joined #zope3-dev | 01:24 | |
*** sm has joined #zope3-dev | 01:30 | |
*** greenman has quit IRC | 01:48 | |
*** jsadjohnson has quit IRC | 02:14 | |
*** timte has quit IRC | 02:28 | |
*** dobee has quit IRC | 02:54 | |
*** sm has quit IRC | 03:23 | |
*** b52GM has joined #zope3-dev | 03:30 | |
*** rcrafton has quit IRC | 03:30 | |
*** b52GM has quit IRC | 03:32 | |
*** b52laptop has quit IRC | 03:38 | |
*** greenman has joined #zope3-dev | 03:50 | |
*** foxmjay has quit IRC | 04:21 | |
*** stub has joined #zope3-dev | 04:46 | |
*** stub has quit IRC | 04:46 | |
*** Ariel_Calzada has joined #zope3-dev | 05:20 | |
*** philiKON_ has joined #zope3-dev | 07:15 | |
*** philiKON has quit IRC | 07:23 | |
*** agroszer has joined #zope3-dev | 08:58 | |
*** cursor has joined #zope3-dev | 09:12 | |
*** markusleist has quit IRC | 09:18 | |
*** dobee has joined #zope3-dev | 09:25 | |
*** cursor has quit IRC | 10:39 | |
*** cursor has joined #zope3-dev | 10:52 | |
*** markusleist has joined #zope3-dev | 11:00 | |
*** greenman has quit IRC | 11:00 | |
*** greenman has joined #zope3-dev | 11:02 | |
*** alecm has joined #zope3-dev | 11:08 | |
*** alecm has quit IRC | 12:04 | |
*** naro has joined #zope3-dev | 12:12 | |
*** cursor has quit IRC | 12:36 | |
*** b52laptop has joined #zope3-dev | 12:41 | |
*** kleist has joined #zope3-dev | 13:04 | |
*** greenman has quit IRC | 13:20 | |
*** philiKON_ has quit IRC | 13:22 | |
*** dunny has quit IRC | 13:26 | |
*** philiKON has joined #zope3-dev | 13:27 | |
*** jodok has quit IRC | 13:29 | |
*** BjornT has quit IRC | 13:30 | |
*** BjornT has joined #zope3-dev | 13:30 | |
*** dobee has quit IRC | 13:37 | |
*** dobee has joined #zope3-dev | 13:48 | |
*** naro has quit IRC | 14:30 | |
*** naro has joined #zope3-dev | 14:32 | |
*** foxmjay has joined #zope3-dev | 14:52 | |
*** rcrafton has joined #zope3-dev | 15:00 | |
*** philiKON has quit IRC | 15:18 | |
*** philiKON has joined #zope3-dev | 15:19 | |
*** dobee has quit IRC | 15:39 | |
*** dobee has joined #zope3-dev | 15:48 | |
*** dobee has quit IRC | 16:11 | |
*** foxmjay has quit IRC | 16:18 | |
*** foxmjay has joined #zope3-dev | 16:28 | |
*** rocky has quit IRC | 16:44 | |
*** hazmat has quit IRC | 17:09 | |
*** jsadjohnson has joined #zope3-dev | 17:19 | |
*** norro has joined #zope3-dev | 17:42 | |
*** afd has joined #zope3-dev | 17:49 | |
*** jfroche_ has joined #zope3-dev | 17:50 | |
*** jfroche has quit IRC | 17:52 | |
*** hazmat has joined #zope3-dev | 17:54 | |
*** ChanServ sets mode: +o hazmat | 17:54 | |
*** zagy has quit IRC | 17:56 | |
*** b52GM has joined #zope3-dev | 18:16 | |
*** markusleist has quit IRC | 18:17 | |
*** norro_ has joined #zope3-dev | 18:20 | |
*** norro has quit IRC | 18:22 | |
agroszer | srichter: ayt? | 18:32 |
*** rock1 has joined #zope3-dev | 19:00 | |
*** rock1 is now known as rocky | 19:01 | |
*** sm has joined #zope3-dev | 19:02 | |
*** rcrafton has quit IRC | 19:33 | |
*** alecm has joined #zope3-dev | 19:47 | |
*** jodok has joined #zope3-dev | 19:47 | |
*** tomus has joined #zope3-dev | 19:53 | |
*** timte has joined #zope3-dev | 19:59 | |
*** norro_ is now known as norro | 20:08 | |
*** rcrafton has joined #zope3-dev | 20:20 | |
*** rcrafton has joined #zope3-dev | 20:22 | |
*** rcrafton has quit IRC | 20:24 | |
*** yielder has joined #zope3-dev | 20:44 | |
*** jodok has quit IRC | 20:50 | |
*** alecm has quit IRC | 20:53 | |
*** Ariel_Calzada has quit IRC | 20:56 | |
*** naro has joined #zope3-dev | 20:57 | |
*** kleist has quit IRC | 21:03 | |
*** alecm has joined #zope3-dev | 21:08 | |
*** dunny has joined #zope3-dev | 21:12 | |
*** alecm has quit IRC | 21:20 | |
*** benji has joined #zope3-dev | 21:29 | |
*** afd has quit IRC | 21:30 | |
*** naro has left #zope3-dev | 21:50 | |
*** jsadjohnson has quit IRC | 21:55 | |
*** tarek has left #zope3-dev | 22:19 | |
*** greenman has joined #zope3-dev | 22:21 | |
*** agroszer has quit IRC | 22:22 | |
*** jodok has joined #zope3-dev | 22:54 | |
*** jsadjohnson has joined #zope3-dev | 23:14 | |
*** replicant has joined #zope3-dev | 23:20 | |
*** hazmat has quit IRC | 23:28 | |
*** dunny has quit IRC | 23:28 | |
*** jfroche_ has quit IRC | 23:43 | |
*** jodok has quit IRC | 23:57 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!