*** alecm has quit IRC | 00:18 | |
*** alecm has joined #zope3-dev | 00:18 | |
*** RaFromBRC|lunch is now known as RaFromBRC | 00:21 | |
*** bigkevmcd has joined #zope3-dev | 00:25 | |
*** niemeyer has joined #zope3-dev | 00:25 | |
*** mgedmin has quit IRC | 00:27 | |
*** reco has joined #zope3-dev | 00:38 | |
*** redir has quit IRC | 01:02 | |
*** danielblackburn has quit IRC | 01:07 | |
*** benji has quit IRC | 01:11 | |
*** alga has quit IRC | 01:14 | |
*** alecm_ has joined #zope3-dev | 01:22 | |
*** alecm has quit IRC | 01:22 | |
*** lucielejard has quit IRC | 01:28 | |
*** ryanbard has quit IRC | 01:31 | |
*** jodok has quit IRC | 01:33 | |
*** J1m has quit IRC | 01:34 | |
*** malthe|Zzz has quit IRC | 01:44 | |
timte | What's the difference between the KGS files controlled-packages.cfg and versions.cfg? | 02:03 |
---|---|---|
*** nathany has quit IRC | 02:11 | |
*** norro has quit IRC | 02:15 | |
*** yvl has quit IRC | 02:18 | |
*** sp0cksbeard has quit IRC | 02:21 | |
*** alecm_ is now known as alecm|away | 02:32 | |
*** RaFromBRC is now known as RaFromBRC|away | 02:35 | |
*** danielblackburn has joined #zope3-dev | 02:37 | |
*** kev_ has joined #zope3-dev | 03:00 | |
*** danielblackburn has quit IRC | 03:06 | |
*** sm__ has joined #zope3-dev | 03:08 | |
*** sm has quit IRC | 03:09 | |
*** timte has quit IRC | 03:11 | |
*** sm__ is now known as sm | 03:13 | |
*** ignas has quit IRC | 03:27 | |
*** pbugni has quit IRC | 03:27 | |
*** RaFromBRC|away is now known as RaFromBRC | 03:39 | |
*** RaFromBRC_ has joined #zope3-dev | 04:35 | |
*** RaFromBRC has quit IRC | 04:35 | |
*** RaFromBRC_ is now known as RaFromBRC | 04:35 | |
*** rcrafton has quit IRC | 04:37 | |
*** kev_ has quit IRC | 04:40 | |
*** bigkevmcd has quit IRC | 05:40 | |
*** alecm|away has quit IRC | 05:40 | |
*** rcrafton has joined #zope3-dev | 06:03 | |
*** rcrafton has quit IRC | 06:03 | |
*** aCiDBaSe has joined #zope3-dev | 06:08 | |
*** thumper has quit IRC | 06:20 | |
*** thumper has joined #zope3-dev | 06:21 | |
*** niemeyer has quit IRC | 06:22 | |
*** afd_ has joined #zope3-dev | 06:55 | |
*** sm has quit IRC | 07:00 | |
*** sm has joined #zope3-dev | 07:01 | |
*** RaFromBRC has quit IRC | 07:49 | |
*** philiKON_ has joined #zope3-dev | 08:03 | |
*** philiKON has quit IRC | 08:21 | |
*** ignas has joined #zope3-dev | 09:11 | |
*** jukart has joined #zope3-dev | 09:20 | |
*** jukart has quit IRC | 09:44 | |
*** reco has quit IRC | 09:45 | |
*** jukart has joined #zope3-dev | 09:49 | |
*** Aiste has quit IRC | 10:03 | |
*** d2m has joined #zope3-dev | 10:11 | |
*** srichter has joined #zope3-dev | 10:13 | |
*** ChanServ sets mode: +o srichter | 10:14 | |
*** malthe has joined #zope3-dev | 10:21 | |
*** reco has joined #zope3-dev | 10:23 | |
*** reco has quit IRC | 10:26 | |
*** menesis has joined #zope3-dev | 10:30 | |
*** lisppaste6 has quit IRC | 10:36 | |
*** zagy has joined #zope3-dev | 10:41 | |
*** menesis has quit IRC | 10:45 | |
*** lisppaste6 has joined #zope3-dev | 10:49 | |
*** menesis has joined #zope3-dev | 10:50 | |
*** timte has joined #zope3-dev | 11:01 | |
*** afd__ has joined #zope3-dev | 11:01 | |
*** malthe has quit IRC | 11:07 | |
*** jodok has joined #zope3-dev | 11:17 | |
*** afd_ has quit IRC | 11:18 | |
*** norro has joined #zope3-dev | 11:31 | |
*** dobee has joined #zope3-dev | 11:39 | |
*** dobee has quit IRC | 11:41 | |
*** dobee has joined #zope3-dev | 11:42 | |
*** jodok has quit IRC | 11:43 | |
*** ktwilight_ has quit IRC | 11:54 | |
*** jodok has joined #zope3-dev | 11:54 | |
*** J1m has joined #zope3-dev | 11:58 | |
*** jukart has quit IRC | 12:01 | |
*** ccomb has quit IRC | 12:10 | |
*** ccomb has joined #zope3-dev | 12:12 | |
*** harobed has joined #zope3-dev | 12:17 | |
*** thumper has quit IRC | 12:19 | |
foodels | hi, is there an easy way (in a ZPT file) to get the url of the current site? Even if i might be in some subfolder of the site | 12:40 |
ccomb | foodels : use the view, Luke. | 12:47 |
foodels | you mean calculating it in the view, with getSitebla absoluteurl something..? :) | 12:50 |
*** ignas_ has joined #zope3-dev | 12:51 | |
foodels | or is it something obvious i'm missing. probably is :D | 12:51 |
*** ignas has quit IRC | 12:51 | |
ccomb | I don't think so http://mail.zope.org/pipermail/zope3-users/2006-June/003570.html | 12:57 |
foodels | aight! | 13:00 |
*** harobed has quit IRC | 13:12 | |
*** harobed_ has joined #zope3-dev | 13:12 | |
*** harobed_ has joined #zope3-dev | 13:12 | |
*** dobee has quit IRC | 13:13 | |
*** harobed_ has quit IRC | 13:13 | |
*** menesis has quit IRC | 13:14 | |
*** harobed_ has joined #zope3-dev | 13:14 | |
*** harobed_ has quit IRC | 13:22 | |
*** harobed has joined #zope3-dev | 13:22 | |
*** J1m has quit IRC | 13:24 | |
*** dobee has joined #zope3-dev | 13:24 | |
foodels | hmm, thing is, I want to calculate the site url for use in my macro.. but howto access functions that are defined by a macros class?? | 13:24 |
afd__ | foodels: I don't understand your question, but: write a view for any interface, called "site_url". Then, in that view's __call__, calculate the absolute url for your site and return it | 13:26 |
afd__ | then you can call, everywhere, for example, tal:attributes="href string:${context/@@site_url}/@@something" | 13:26 |
afd__ | the url for the site would be calculated with: | 13:27 |
afd__ | site = zope.component.hooks.getSite() | 13:27 |
afd__ | return absoluteURL(site, self.request) | 13:27 |
foodels | great, thanks! will try that | 13:27 |
afd__ | from zope.traversing.browser.absoluteurl import absoluteURL | 13:27 |
foodels | yeah, i'm familiar with the last part ;) | 13:28 |
*** dobee has quit IRC | 13:28 | |
* foodels smacks himself on the forehead | 13:32 | |
*** harobed_ has joined #zope3-dev | 13:45 | |
*** harobed has quit IRC | 13:45 | |
*** harobed_ has quit IRC | 13:45 | |
*** vod has quit IRC | 13:46 | |
*** afd__ has quit IRC | 13:50 | |
*** romanofski has joined #zope3-dev | 13:51 | |
*** thruflo has joined #zope3-dev | 13:52 | |
*** malthe has joined #zope3-dev | 13:54 | |
*** thruflo has left #zope3-dev | 14:02 | |
*** jukart has joined #zope3-dev | 14:11 | |
*** quodt has joined #zope3-dev | 14:17 | |
*** b52laptop has quit IRC | 14:33 | |
*** rcrafton has joined #zope3-dev | 14:34 | |
*** b52laptop has joined #zope3-dev | 14:35 | |
*** jukart has quit IRC | 14:46 | |
*** dobee has joined #zope3-dev | 15:01 | |
*** zagy has quit IRC | 15:06 | |
*** afd_ has joined #zope3-dev | 15:25 | |
*** danielblackburn has joined #zope3-dev | 15:29 | |
*** sm has quit IRC | 15:32 | |
*** zagy has joined #zope3-dev | 15:39 | |
*** dobee_ has joined #zope3-dev | 15:42 | |
*** dobee has quit IRC | 15:43 | |
*** danielblackburn has quit IRC | 15:48 | |
*** regebr1 has joined #zope3-dev | 15:54 | |
*** regebro has quit IRC | 15:54 | |
*** regebr1 is now known as regebro | 15:55 | |
*** dobee has joined #zope3-dev | 15:56 | |
*** dobee_ has quit IRC | 15:56 | |
*** danielblackburn has joined #zope3-dev | 15:58 | |
*** dobee_ has joined #zope3-dev | 15:59 | |
*** dobee has quit IRC | 15:59 | |
*** dobee_ has quit IRC | 16:02 | |
*** dobee has joined #zope3-dev | 16:02 | |
*** dobee_ has joined #zope3-dev | 16:04 | |
*** dobee has quit IRC | 16:04 | |
*** dobee has joined #zope3-dev | 16:09 | |
*** dobee_ has quit IRC | 16:10 | |
*** danielblackburn has quit IRC | 16:10 | |
*** J1m has joined #zope3-dev | 16:16 | |
*** thruflo has joined #zope3-dev | 16:23 | |
*** zagy has quit IRC | 16:43 | |
*** b52laptop has quit IRC | 17:05 | |
*** b52laptop has joined #zope3-dev | 17:19 | |
*** mweichert has quit IRC | 17:20 | |
*** dobee has quit IRC | 17:48 | |
*** regebro is now known as regebro|food | 18:04 | |
*** thruflo has quit IRC | 18:05 | |
*** jodok has quit IRC | 18:08 | |
*** jodok has joined #zope3-dev | 18:23 | |
*** jodok_ has joined #zope3-dev | 18:28 | |
*** jodok has quit IRC | 18:28 | |
*** menesis has joined #zope3-dev | 18:31 | |
*** jodok_ has quit IRC | 18:31 | |
*** jodok has joined #zope3-dev | 18:36 | |
*** pcardune has joined #zope3-dev | 18:40 | |
*** pcardune has quit IRC | 18:43 | |
*** srichter has quit IRC | 18:49 | |
*** J1m has quit IRC | 18:54 | |
*** astoon has joined #zope3-dev | 18:56 | |
*** regebro|food is now known as regebro | 19:05 | |
*** jukart has joined #zope3-dev | 19:14 | |
*** harobed has joined #zope3-dev | 19:23 | |
*** danielblackburn has joined #zope3-dev | 20:16 | |
*** vod has joined #zope3-dev | 20:21 | |
*** dobee has joined #zope3-dev | 20:21 | |
*** malthe is now known as malthe|out | 20:30 | |
*** boudu has joined #zope3-dev | 20:30 | |
*** boudu has left #zope3-dev | 20:30 | |
*** afd_ has quit IRC | 20:32 | |
*** sm__ has joined #zope3-dev | 20:38 | |
*** acsr has joined #zope3-dev | 20:55 | |
*** b52lap has joined #zope3-dev | 20:58 | |
*** b52laptop has quit IRC | 20:58 | |
*** J1m has joined #zope3-dev | 21:13 | |
*** ryanbard has joined #zope3-dev | 21:15 | |
*** ryanbard has quit IRC | 21:25 | |
*** jukart has quit IRC | 21:25 | |
*** pbugni has joined #zope3-dev | 21:57 | |
*** sm__ is now known as sm | 22:05 | |
*** pbugni has quit IRC | 22:17 | |
*** salfield has joined #zope3-dev | 22:19 | |
*** sm has quit IRC | 22:22 | |
*** redir has joined #zope3-dev | 22:24 | |
*** redir has quit IRC | 22:25 | |
*** sm has joined #zope3-dev | 22:38 | |
*** sm has joined #zope3-dev | 22:38 | |
*** d2m has quit IRC | 22:44 | |
*** J1m has quit IRC | 22:50 | |
*** J1m has joined #zope3-dev | 23:01 | |
*** bigkevmcd has joined #zope3-dev | 23:02 | |
*** srichter has joined #zope3-dev | 23:31 | |
*** malthe|out has quit IRC | 23:46 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!