<    March 2010    >
Su Mo Tu We Th Fr Sa
    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:11 hobodave joined
00:44 fool_ joined
01:14 libertiy joined
01:14 bish0p joined
01:14 ChanServ joined
01:14 fool_ joined
01:35 fool_ joined
01:35 fool_ joined
01:37 GitHub112 joined
01:37 <GitHub112> radiant: master Jason Garber * b442352 (2 files in 2 dirs): Specify default cursor for expansion triangle. - http://bit.ly/bjQLgO
01:37 GitHub112 left
02:11 GitHub144 joined
02:11 <GitHub144> radiant: master Jason Garber * 6d56656 (1 files in 1 dirs): Update spec to match meta_visible implementation. ... - http://bit.ly/agZVnq
02:11 GitHub144 left
04:28 jomz joined
04:50 NeXoPheuS joined
07:04 seancribbs joined
07:12 jomz joined
07:18 imajes joined
07:20 imajes joined
08:01 cro joined
08:21 NeXoPheuS joined
09:37 avonderluft joined
09:40 hobodave joined
09:48 avonderluft joined
10:06 john__m joined
10:33 fool__ joined
10:33 fool__ joined
11:21 imajes joined
11:40 seancribbs joined
12:19 seancribbs joined
12:21 seancribbs1 joined
12:52 seancribbs1 joined
13:03 jomz joined
13:22 GitHub76 joined
13:22 <GitHub76> radiant: master John W. Long * c999a22 (15 files in 10 dirs): pulled over new styles from prototype; added a couple of missing keys to the english translation - http://bit.ly/bK2ATi
13:22 GitHub76 left
13:53 avonderluft joined
13:58 fool_ joined
13:58 fool_ joined
14:03 cro joined
14:05 avonderluft left
14:15 NeXoPheuS joined
14:16 NeXoPheuS_ joined
14:55 GitHub125 joined
14:55 <GitHub125> radiant: master Jim Gay * 7460a25 (1 files in 1 dirs): sample extended cache_timeout - http://bit.ly/c12t5D
14:55 GitHub125 left
15:31 rdeshpande joined
15:31 <rdeshpande> hey all
15:32 <rdeshpande> is it possible to chain layouts? I have a layout for the home page, and i have a child page that has a common layout for all its children. however, these children pages also use the root layout. is there a way to chain these layouts so that I don't have to duplicate the code from the root layout?
15:33 <seancribbs> rdeshpande: typically I would extract the common parts to snippets
15:33 <seancribbs> and/or use conditionals in the layout to trigger the different options
15:33 <seancribbs> it largely depends on how your design is structured
15:33 <rdeshpande> right, but even if i use a snippet i have to include that snippet in every child page i create
15:33 <seancribbs> short answer, no
15:34 <seancribbs> no, you can use it directly from the layout
15:34 <rdeshpande> ideally my client could just create a new page, and insert the content for the page in the 'body' part, and be done with it
15:34 <rdeshpande> im trying to set up the parent page to support this
15:35 <rdeshpande> do you mean using a conditional in the layout that shows the snippet under certain conditions?
15:35 <seancribbs> yes
15:36 <seancribbs> for example, include the snippet only if certain page-parts exist
15:36 <seancribbs> or if the url matches a certain pattern
15:36 <rdeshpande> so, i have home page (using default layout) -> news -> article 1, -> article 2, etc.
15:36 <rdeshpande> ah i see, okay
15:36 <rdeshpande> so i can match on the '/news' url
15:36 <seancribbs> exactly
15:37 <seancribbs> additionally, you could rely on the inheritance of page parts
15:37 <rdeshpande> what do you mean?
15:37 <rdeshpande> ive never tried htat bfore
15:37 <seancribbs> <r:if_content part="sidebar" inherit="true">…</r:if_content>
15:38 <rdeshpande> hmm, i see how that could work
15:38 <rdeshpande> but for htat, i would need default page parts on page creation based on the parent page
15:39 <seancribbs> only if they need to change
15:39 <rdeshpande> so, for children of 'news' i would want 'article' and 'image' as default page parts
15:39 <seancribbs> yeah, another option is to do use something like the "templates" or "stereotypes" extensions
15:39 <rdeshpande> i think it sounds like the url matching might be easiest at this point?
15:39 <seancribbs> they let you define "content types" that have internal layout
15:39 <seancribbs> probably
15:40 <rdeshpande> i can see how my layout might get ugly if i do this, though
15:40 <seancribbs> yes, it's a question of how much complexity you want to expose/hide to your editors
15:40 <seancribbs> and how much you can deal with in the design
15:40 <rdeshpande> i'd like to hide as much as possible as a very non-tech person is going to be using this
15:41 <seancribbs> i see
15:44 <rdeshpande> do you happen to have an example of how to url match? i'm looking for an example in the wiki but can't find one
15:45 <rdeshpande> foudn it, nevermind
18:41 seancribbs joined
19:14 cro joined
20:04 hardy_ joined
20:05 seancribbs joined
20:05 <hardy_> hi, I am trying to capture the output of tag.expand in my custom tag into a local variable to do some string replacements - can i do that?
20:16 <seancribbs> hardy_: yes, tag.expand should return a string
20:16 <hardy_> seancribbs: what if the encapsulated part is a radiant tag itself
20:17 <seancribbs> tag.expand returns the result of whatever was parsed inside that tag
20:17 <seancribbs> so by the time it reaches the return value of tag.expand, it's a plain-old string
20:17 <hardy_> so if I have <r:mytag><r:date><r:mytag> and I do content << tag.expand in mt tag implementation
20:18 <hardy_> I get the rendered data?
20:18 <hardy_> or <r:date>
20:18 <seancribbs> yes, but end your <r:date /> with a slash
20:20 <hardy_> i see
20:20 <hardy_> it actually works
20:20 <hardy_> but i was falling into the cache trap
20:21 <hardy_> it seems whenever I edit something in a tag I need to delete the content from tmp/cache and restart the server, does this sound right?
20:31 hardy_ left
20:33 hardy_ joined
21:59 fool__ joined
21:59 fool__ joined
23:23 datafirm joined
23:23 <datafirm> Hello.
23:24 <datafirm> I just updated to edge and am getting this error: undefined method `locale' for #<User:0xbb990c8>
23:24 <datafirm> Do I need to run a migrate script or another update script when radiant is updated?
23:35 fool_ joined
23:35 fool_ joined
23:44 <* datafirm> pasted http://pastie.textmate.org/private/128hrggmhiqdt74jpqss7g
23:44 <datafirm> That is the full error Im getting.