#silverstripe IRC Log

IRC log for 25 December 2013

All timestamps are in UTC.

1: [00:33:25] * robert_ quit (Quit: Connection reset by traffic clause.)
2: [01:20:13] * gelignite_ has joined #silverstripe
3: [01:23:42] * gelignite quit (Ping timeout: 252 seconds)
4: [01:28:22] * oskarholo quit (Remote host closed the connection)
5: [01:32:46] * gelignite_ is now known as gelignite
6: [01:47:04] * oskarholo has joined #silverstripe
7: [02:21:50] * robert_ has joined #silverstripe
8: [02:22:21] * robert_ quit (Max SendQ exceeded)
9: [03:51:46] * gelignite quit (Quit: http://bit.ly/nkczDT)
10: [04:30:24] * cloph has joined #silverstripe
11: [04:31:13] * cloph_away quit (Ping timeout: 272 seconds)
12: [07:24:03] * SightUnseen has joined #silverstripe
13: [07:24:07] * SightUnseen has left #silverstripe
14: [08:17:12] * SightUnseen has joined #silverstripe
15: [08:17:36] * SightUnseen quit (Client Quit)
16: [13:27:10] * ARNHOE has joined #silverstripe
17: [13:58:32] * zfmf has joined #silverstripe
18: [14:34:31] * SphereSilverNL has joined #silverstripe
19: [14:34:56] <SphereSilverNL> afternoon :)
20: [14:35:06] <SphereSilverNL> Am I the only one who's just working?
21: [14:37:44] * SphereSilverNL quit (Remote host closed the connection)
22: [14:38:12] * SphereSilverNL has joined #silverstripe
23: [15:16:53] * guzzlefry has joined #silverstripe
24: [15:38:43] <guzzlefry> merry christmas!
25: [15:38:51] <guzzlefry> even though I may be a day late for some of you
26: [15:38:53] <guzzlefry> if so
27: [15:39:08] <guzzlefry> happy kwanza :P
28: [15:45:26] <SphereSilverNL> Don't worry, I don't do christmas, but happy holidays anyway :D
29: [15:48:26] <guzzlefry> I'm working right now.
30: [15:48:30] <guzzlefry> Goes to show you... >_>
31: [15:49:09] <SphereSilverNL> Working too. But on home-project, so no rush, but still.... yeah
32: [15:49:44] <guzzlefry> It's the 26th over there, isn't it?
33: [15:49:56] <SphereSilverNL> Nope, 25th, 16:50 here
34: [15:50:00] <guzzlefry> ah
35: [15:50:09] <guzzlefry> Europe?
36: [15:50:21] <SphereSilverNL> Somewhat.... Dutch ;)
37: [15:51:13] <guzzlefry> I assume, sometimes incorrectly, that most people in here are in .nz or Australia. :P
38: [15:52:13] <SphereSilverNL> By far, they're not ;)
39: [15:54:07] <guzzlefry> Well, the more vocal ones. :P
40: [15:54:24] <SphereSilverNL> I'm quite vocal! :P
41: [15:54:43] <guzzlefry> fair point
42: [15:54:48] <guzzlefry> also
43: [15:54:57] <guzzlefry> how did the doc guy get ops?
44: [15:55:22] <SphereSilverNL> Dunno, if writing docs should get you ops, I should be op too! :P
45: [15:55:52] <guzzlefry> simon_w: ^
46: [15:55:58] <guzzlefry> Got your back. :P
47: [15:56:39] <SphereSilverNL> WTF? jQuery $(this) doesn't work inside a post or get method.
48: [15:57:26] <SphereSilverNL> he won't give me ops, he thinks I hate him, and I think he hates me :P
49: [15:57:32] <guzzlefry> aw :(
50: [15:57:37] <guzzlefry> Also
51: [15:57:44] <guzzlefry> inside a post method?
52: [16:00:19] <SphereSilverNL> doing a $('.object').on('click', function(e){ $.post('url', 'object', function(){ do feedback stuff here }, json)});
53: [16:00:29] <SphereSilverNL> says the object is the post, not the object I clicked
54: [16:01:53] <guzzlefry> ah
55: [16:02:04] <guzzlefry> Javascript hurts to read these days. :P
56: [16:02:19] <guzzlefry> It ends up being billions of nested annonymous functions.
57: [16:02:38] <SphereSilverNL> jQuery, Prototype, etc. It's getting a bit of a headache nowadays
58: [16:05:43] * ARNHOE quit (Remote host closed the connection)
59: [16:05:51] * oskarholo quit (Ping timeout: 240 seconds)
60: [16:08:07] * oskarholo has joined #silverstripe
61: [16:08:10] <SphereSilverNL> I got a fuzzy hug!
62: [16:08:25] <SphereSilverNL> Or actually, I just got a bunch of kitty-nails in my leg, but it counts for me :P
63: [16:09:10] * ARNHOE has joined #silverstripe
64: [16:11:36] <SphereSilverNL> Whut? Sourcetree is showing up on random monitors instead of consistently staying on the second monitor. Weird!
65: [17:00:53] * zfmf has left #silverstripe
66: [17:12:54] * ARNHOE quit (Remote host closed the connection)
67: [19:08:15] <guzzlefry> gah
68: [19:08:30] <guzzlefry> [User Error] collateDataFields() I noticed that a field called 'TrimSize' appears twice in your form: 'Form_OrderInformationForm'. One is a 'TextField' and the other is a 'TextField'
69: [19:08:41] <guzzlefry> Life just got complicated. :P
70: [19:38:02] * mrzero quit (Read error: Operation timed out)
71: [19:40:04] * mrzero has joined #silverstripe
72: [19:40:04] * mrzero quit (Changing host)
73: [19:40:04] * mrzero has joined #silverstripe
74: [21:19:08] <guzzlefry> So I have a form that when handled sends an Email.
75: [21:19:38] <guzzlefry> The form has 3 different sets of fields depending on what is selected in the first <option> element.
76: [21:19:48] <guzzlefry> What's something sane I can pass to the Email template?
77: [21:20:05] <guzzlefry> Or would it be best to have 3 different Email templates, one for each set of fields?
78: [21:34:38] * Pyromanik has joined #silverstripe
79: [21:35:11] <Pyromanik> huzzah whatup?
80: [21:38:30] <Pyromanik> Hmm can't stop dat autocorrekt
81: [21:39:57] <Pyromanik> Oh well. Hope everyone revelled in the Christmas spirit :-)
82: [21:40:35] <Pyromanik> Personally I used Cointreau :-D
83: [22:01:26] * SphereSilverNL quit (Remote host closed the connection)
84: [22:03:29] <simon_w> guzzlefry, the value of the select field. Then <% if $Blah = 'Blah' %> first option <% else_if $Blah = 'Foo' %> second ...
85: [22:08:14] <guzzlefry> simon_w: How would I pass all of the form data in a format that the template could use?
86: [22:08:59] <simon_w> $email->populateTemplate($data)
87: [22:09:40] <guzzlefry> well, I feel dumb. :P
88: [22:09:44] <guzzlefry> thanks simon
89: [22:19:12] <guzzlefry> I should start writing these functional tests. Would save me from having to enter form data 50 times.
90: [22:31:39] * ARNHOE has joined #silverstripe
91: [23:06:56] * guzzlefry has left #silverstripe
92: [23:23:10] * ARNHOE quit ()

These logs were automatically created by ss-log on irc.freenode.net.