#silverstripe IRC Log

IRC log for 21 December 2015

All timestamps are in UTC.

1: [00:04:28] * Stomach has joined #silverstripe
2: [00:05:49] <madmatt> hehe
3: [00:09:11] * DanaeNZ quit (Remote host closed the connection)
4: [00:10:49] * spronk quit (Quit: I may need a longer sleep timer...)
5: [00:24:23] <veb> why is it 35C in Dunedin
6: [00:24:30] <veb> the air feels like we're gonna burst into flames
7: [00:35:11] * DarjusIT quit (Read error: Connection reset by peer)
8: [00:35:24] * camfindlay quit (Quit: camfindlay)
9: [00:46:59] * adrexia quit (Quit: My Mac has gone to sleep. ZZZzzz…)
10: [00:49:41] * micmania1 has joined #silverstripe
11: [01:03:49] * munk0r has joined #silverstripe
12: [01:17:09] * arnhoe has joined #silverstripe
13: [01:17:38] * DanaeNZ has joined #silverstripe
14: [01:19:26] <DanaeNZ> yum yum yum Monteith's on tap
15: [01:20:58] <micmania1> jealous
16: [01:21:07] <micmania1> on tap at work?!
17: [01:21:15] * arnhoe quit (Ping timeout: 240 seconds)
18: [01:28:40] * Ali_Alamshahi has joined #silverstripe
19: [01:28:48] <Ali_Alamshahi> hi everyone
20: [01:30:51] <veb> 38C now
21: [01:30:52] <veb> arrghhh
22: [01:31:54] * Ali_Alamshahi quit (Client Quit)
23: [01:32:23] <DanaeNZ> at the pub we went to for lunch
24: [01:32:36] <DanaeNZ> I don't want to give up wearing jeans
25: [01:34:42] <Snowman23> pub
26: [01:34:43] <Snowman23> 4 lyfe
27: [01:34:45] <Snowman23> also
28: [01:34:47] <Snowman23> 38c is too hot
29: [01:34:53] <veb> yeah man
30: [01:34:54] <Snowman23> I'm glad it's AC here, I'll stay here till the sun goes down
31: [01:34:59] <veb> even the water is hot
32: [01:35:06] <veb> i just filled up the pool
33: [01:44:58] * kerozene quit (Ping timeout: 260 seconds)
34: [01:49:33] <DanaeNZ> eugh now i'm sleepy
35: [01:49:41] <DanaeNZ> beer and chips will do that
36: [01:50:12] <Snowman23> I'm super duper sleepy too ;_;
37: [01:51:30] * kerozene has joined #silverstripe
38: [01:52:19] <Snowman23> only like 5 hours sleep last night urgghghh
39: [01:52:36] * chocolatemoose has joined #silverstripe
40: [01:52:40] <DanaeNZ> luxury
41: [01:56:04] <chocolatemoose> what is the accepted way of adding multilanguage/region support to Silverstripe 3.2?
42: [02:14:21] * travis-ci has joined #silverstripe
43: [02:14:22] <travis-ci> silverstripe/silverstripe-framework#6332 (3.0 - cbd5332 : Damian Mooyman): The build passed.
44: [02:14:22] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/01255c109bf6...cbd53324177b
45: [02:14:22] <travis-ci> Build details : https://travis-ci.org/silverstripe/silverstripe-framework/builds/98043293
46: [02:14:22] * travis-ci has left #silverstripe
47: [02:16:33] * travis-ci has joined #silverstripe
48: [02:16:34] <travis-ci> silverstripe/silverstripe-framework#6333 (2.4 - a3a6dff : Damian Mooyman): The build passed.
49: [02:16:34] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/7e3be7d71f7c...a3a6dff1dcdb
50: [02:16:34] <travis-ci> Build details : https://travis-ci.org/silverstripe/silverstripe-framework/builds/98043350
51: [02:16:34] * travis-ci has left #silverstripe
52: [02:44:24] <DanaeNZ> haha beer o'clock
53: [02:44:33] <DanaeNZ> i think most of the staff is in holiday mode
54: [02:46:40] <micmania1> I’ve been in holiday mode for about 4 months.
55: [02:52:30] * spronk has joined #silverstripe
56: [02:55:53] * dollardad has joined #silverstripe
57: [02:56:45] <xyphoid> yeah our office is half-empty too
58: [02:57:01] <dollardad> anybody know how to add TreeDropdownField to a GridField
59: [03:00:32] * helenclarko quit (Read error: Connection reset by peer)
60: [03:00:49] * DanaeNZ quit (Remote host closed the connection)
61: [03:06:42] * glenn-bautista quit (Quit: Leaving.)
62: [03:15:20] * DanaeNZ has joined #silverstripe
63: [03:44:46] * Stomach quit (Ping timeout: 240 seconds)
64: [04:00:17] * chocolatemoose quit ()
65: [04:11:56] * DanaeNZ quit (Quit: TIME TO FEED)
66: [04:15:38] * dollardad quit (Ping timeout: 244 seconds)
67: [04:53:22] * arnhoe has joined #silverstripe
68: [04:57:26] * arnhoe quit (Ping timeout: 240 seconds)
69: [05:00:45] * r_hector has joined #silverstripe
70: [05:17:12] * micmania1 quit (Quit: micmania1)
71: [05:28:22] * micmania1 has joined #silverstripe
72: [05:30:14] * cheddam quit (Quit: My Mac has gone to sleep. ZZZzzz…)
73: [05:49:45] * spronk quit (Quit: I may need a longer sleep timer...)
74: [06:07:52] * spronk has joined #silverstripe
75: [06:10:05] * micmania1 quit (Quit: micmania1)
76: [06:29:46] * wmk has joined #silverstripe
77: [07:41:48] * Eliseth has joined #silverstripe
78: [07:48:37] * spronk quit (Quit: I may need a longer sleep timer...)
79: [08:12:53] * arnhoe has joined #silverstripe
80: [08:12:53] * arnhoe quit (Client Quit)
81: [08:13:31] * arnhoe has joined #silverstripe
82: [08:30:52] * dollardad has joined #silverstripe
83: [08:48:10] * Snowman23 quit (Ping timeout: 272 seconds)
84: [08:50:00] * Liquide^2 quit ()
85: [09:00:47] * adi_ has joined #silverstripe
86: [09:01:40] <adi_> i am using ss 3.2 when i try to upload a video from my local sytem it shows a link to that video in tinymce editor why
87: [09:02:20] * kinglozzer has joined #silverstripe
88: [09:06:05] * dollardad quit (Quit: dollardad)
89: [09:06:38] * Snowman23 has joined #silverstripe
90: [09:11:21] <adi_> could anyone help me
91: [09:28:02] <kinglozzer> adi_: SilverStripe doesn't provide a built-in video player... you need to upload your video to YouTube or Vimeo for example, then use the "From the web" insert form
92: [09:34:26] * nontgor quit (Ping timeout: 240 seconds)
93: [09:45:30] * swaiba has joined #silverstripe
94: [09:47:03] <swaiba> morning all still at work :)
95: [09:47:11] <kinglozzer> Hmm, permissions question: a user can only create "bookings" on events that they're assigned to, how can I check canCreate()? $this->Event() doesn't exist yet, because the relationship hasn't been created :(
96: [09:47:17] * nontgor has joined #silverstripe
97: [09:47:26] <kinglozzer> Guess I'll just have to return true and remove the button manually? :(
98: [09:48:21] <swaiba> kinglozzer well as I make booking system I can tell you we have functions like CanBook and such
99: [09:50:58] <kinglozzer> swaiba: Yeah I was considering custom methods, I just don't really know what to do with canCreate (for the CMS side of things)... it feels so wrong to just "return true" but I can't see any alternative :/
100: [10:05:33] * Azure|dc has joined #silverstripe
101: [10:12:09] * Azure quit (*.net *.split)
102: [10:12:13] * eolant_ quit (*.net *.split)
103: [10:25:50] * cheddam has joined #silverstripe
104: [10:31:50] * eolant has joined #silverstripe
105: [10:52:20] * g4b0_ has joined #silverstripe
106: [11:03:30] * cheddam quit (Quit: My Mac has gone to sleep. ZZZzzz…)
107: [11:04:52] <g4b0_> hi all
108: [11:05:53] <g4b0_> any silverstripe-multidatepicker expert out there?
109: [11:07:28] <g4b0_> I would like to always show the datepicker calendar
110: [11:07:43] <g4b0_> and store the selected dates into an hidden input
111: [11:11:10] * cheddam has joined #silverstripe
112: [11:21:04] * adi_ quit (Quit: Page closed)
113: [11:30:10] * MarkGuinn has joined #silverstripe
114: [11:34:37] * eldoleo has joined #silverstripe
115: [11:56:42] * eldoleo quit (Quit: Leaving...)
116: [12:03:00] * zlinux has joined #silverstripe
117: [12:03:34] * Shrike_Finland has joined #silverstripe
118: [12:05:28] <Shrike_Finland> Hi, a quick question: why I can not translate this ModelAdmin like this http://www.sspaste.com/paste/show/5677eaf26508a
119: [12:08:47] * r_hector quit (Remote host closed the connection)
120: [12:15:56] * jack has joined #silverstripe
121: [12:16:15] <jack> how to change class of a menu when active and has children
122: [12:16:20] * jack is now known as Guest34205
123: [12:16:43] <Guest34205> and change class for that menu is not active
124: [12:17:40] <MarkGuinn> Shrike_Finland - that looks correct to me. Are you getting an error or is it just not using the translation?
125: [12:18:07] <Shrike_Finland> I get: unexpected '
126: [12:19:26] <Shrike_Finland> But if I write it like this: http://www.sspaste.com/paste/show/5677ee3486ccf <- that works.
127: [12:20:11] <MarkGuinn> actually, i don't think it's legal to call a method in the declaration of a class
128: [12:20:43] <MarkGuinn> that's probably your issue.
129: [12:21:06] <Guest34205> how to change class of a menu when active and has children
130: [12:23:52] <Shrike_Finland> Guest34205: what are you trying to do?
131: [12:25:23] <Guest34205> i am trying to change the class of menu which has children but on active that menu doesn't change the class
132: [12:25:41] <Guest34205> means if $linkingmode= current
133: [12:28:52] <Guest34205> this is my code: http://www.sspaste.com/paste/show/5677f07206685
134: [12:31:28] * Jonny_ has joined #silverstripe
135: [12:34:17] <Jonny_> Hey guys, is there a simple solution to getting the ID of a DataObject's parent before it's been saved. I can see the parent's ID in the URL of the child's editor page but don't know how to access it. Any help would be much appreciated.
136: [12:34:55] <swaiba> Guest34205 <% if $LinkingMode == "current" %> ?
137: [12:35:04] <swaiba> (i.e. double equals?)
138: [12:35:34] <Guest34205> ok
139: [12:35:54] <swaiba> Jonny_ I'm sure there is a better way, and I don't like recommending it again, but I'd suggest scrapping the ID out of the URL :)
140: [12:36:21] <Jonny_> I know it's more of a PHP question but any tips on how to do that?
141: [12:36:48] * Mike123 has joined #silverstripe
142: [12:38:33] <Guest34205> swaiba its not working even with double equal
143: [12:39:01] <swaiba> Guest34205 have you just outputed the value and you are sure it has the right value?
144: [12:39:22] <swaiba> you can always make a function on the controller to aid in both debugging and that logic is working
145: [12:39:58] <swaiba> Jonny_ if you are a regex ninja, then use that, else I'd use a combination of explode, substr, strpos and stuff like that
146: [12:40:08] <Guest34205> how can i check whether i am on a menu with children
147: [12:40:40] <Guest34205> i.e when linkindmode=="current" on that menu
148: [12:41:35] <Jonny_> Ahah. Cheers swaiba, I found a way. Thanks for your help. Hope someone finds an attractive solution to this problem soon though.
149: [12:43:29] * zlinux quit (Ping timeout: 276 seconds)
150: [12:46:23] <kinglozzer> Jonny_: This perhaps? https://www.bigfork.co.uk/takeaway/silverstripe-tip-using-unsaved-relations-in-gridfield-edit-forms
151: [12:46:44] * kinglozzer lunch
152: [12:47:59] * gelignite has joined #silverstripe
153: [12:50:09] * cheddam quit (Quit: My Mac has gone to sleep. ZZZzzz…)
154: [13:21:02] * elgabbu quit (Quit: Page closed)
155: [13:21:17] * elgabbu has joined #silverstripe
156: [13:21:45] <elgabbu> hi anyone has any experience with this ... https://github.com/dnadesign/silverstripe-googlesitesearch
157: [13:22:21] * Guest34205 quit (Ping timeout: 252 seconds)
158: [13:25:39] * Jonny_ quit (Ping timeout: 252 seconds)
159: [13:35:19] <wmk> hmm...
160: [13:35:44] <wmk> Translatable-Dataobject and 15 locales is a bit of a pita
161: [13:35:55] * swaiba quit (Ping timeout: 240 seconds)
162: [13:44:28] * UndefinedOffset has joined #silverstripe
163: [13:59:16] <wmk> using ROW_FORMAT=DYNAMIC or ROW_FORMAT
164: [13:59:16] <wmk> =COMPRESSED may help
165: [13:59:23] <wmk> but how can i tell ss to make that?
166: [14:08:41] * Shrike_Finland quit (Quit: Leaving.)
167: [14:54:11] * Snowman23 quit (Ping timeout: 264 seconds)
168: [14:55:44] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
169: [14:56:54] * wmk quit (Ping timeout: 260 seconds)
170: [14:57:05] * Sj0hn has joined #silverstripe
171: [14:58:54] * Sj0hn quit (Client Quit)
172: [15:01:14] * Snowman23 has joined #silverstripe
173: [15:11:36] * muskie9 has joined #silverstripe
174: [15:36:34] * Azure|dc quit (Ping timeout: 260 seconds)
175: [16:11:33] * BrewNaked has joined #silverstripe
176: [16:16:09] * Mike123 quit (Ping timeout: 252 seconds)
177: [16:23:04] * Eliseth quit (Ping timeout: 245 seconds)
178: [16:28:46] * Snowman23 quit (Ping timeout: 240 seconds)
179: [16:30:12] * arnhoe quit ()
180: [16:36:25] * Snowman23 has joined #silverstripe
181: [16:41:23] * zlinux has joined #silverstripe
182: [16:43:52] <ss-helper> Silverstripe arithmetic at template - http://stackoverflow.com/questions/34400180/silverstripe-arithmetic-at-template
183: [17:33:18] * kinglozzer quit ()
184: [17:40:06] * zlinux quit (Ping timeout: 240 seconds)
185: [17:49:07] * MarkGuinn quit (Remote host closed the connection)
186: [17:53:37] * MarkGuinn has joined #silverstripe
187: [18:12:43] * muskie9 quit (Quit: My Mac has gone to sleep. ZZZzzz…)
188: [18:21:30] * wmk has joined #silverstripe
189: [18:54:55] * wmk quit (Ping timeout: 240 seconds)
190: [19:00:03] * Stomach has joined #silverstripe
191: [19:00:25] * arnhoe has joined #silverstripe
192: [19:10:23] * muskie9 has joined #silverstripe
193: [19:13:59] * arnhoe quit ()
194: [19:18:26] * dollardad has joined #silverstripe
195: [19:26:11] * helenclarko has joined #silverstripe
196: [19:27:05] * NobrainerWeb has joined #silverstripe
197: [19:29:48] * gelignite has joined #silverstripe
198: [19:32:35] * Stomach quit (Quit: zzz)
199: [19:51:52] * adrexia has joined #silverstripe
200: [19:53:54] * glenn-bautista has joined #silverstripe
201: [19:55:20] * MarkGuinn quit (Remote host closed the connection)
202: [19:58:55] <ss-helper> SilverStripe arithmetic in template - http://stackoverflow.com/questions/34400180/silverstripe-arithmetic-in-template
203: [20:00:15] * Liquide has joined #silverstripe
204: [20:07:39] * micmania1 has joined #silverstripe
205: [20:17:28] * Stomach has joined #silverstripe
206: [20:17:49] * arnhoe has joined #silverstripe
207: [20:18:26] * zlinux has joined #silverstripe
208: [20:31:02] * spronk has joined #silverstripe
209: [20:31:17] * spronk quit (Remote host closed the connection)
210: [20:41:59] * Stomach quit (Quit: zzz)
211: [20:43:05] * glenn-bautista quit (Quit: Leaving.)
212: [20:46:07] * glenn-bautista has joined #silverstripe
213: [20:47:03] * Stomach has joined #silverstripe
214: [20:54:31] * micmania1 quit (Quit: micmania1)
215: [20:55:40] * micmania1 has joined #silverstripe
216: [20:56:59] * MarkGuinn has joined #silverstripe
217: [20:57:09] * micmania1 quit (Client Quit)
218: [20:57:47] * micmania1 has joined #silverstripe
219: [21:09:28] * NobrainerWeb quit (Quit: NobrainerWeb)
220: [21:17:29] * DanaeNZ has joined #silverstripe
221: [21:17:44] <DanaeNZ> christmas tunes playing today woohoo
222: [21:24:43] <helenclarko> DanaeNZ: I wanna go home!
223: [21:25:05] * cheddam has joined #silverstripe
224: [21:26:22] <DanaeNZ> It's pretty cruisey right now
225: [21:27:09] <helenclarko> DanaeNZ: Its dead here. still have a half day tomorrow too.
226: [21:27:31] * cheddam quit (Client Quit)
227: [21:27:56] <DanaeNZ> Anyone know if SilverStripe email can send to multiple addresses?
228: [21:28:02] <helenclarko> I guess there are others here who work all the way through, so I cant really complain...
229: [21:29:28] * UndefinedOffset quit (Quit: Leaving.)
230: [21:30:31] <micmania1> DanaeNZ: yep, pretty sure you just separate by comma’s. If you need to hide their emails from each other then just loop and send separate emails.
231: [21:30:48] <DanaeNZ> Oh, good idea!
232: [21:30:59] <DanaeNZ> I think the only problem is the validation on the Email field in the CMS
233: [21:31:15] <DanaeNZ> I can just change it to a TextField
234: [21:31:19] <DanaeNZ> cheers micmania1
235: [21:34:11] * glenn-bautista quit (Quit: Leaving.)
236: [21:34:17] * arnhoe quit ()
237: [21:35:57] * glenn-bautista has joined #silverstripe
238: [21:36:40] * cheddam has joined #silverstripe
239: [21:39:50] <DanaeNZ> Oops, I forgot to deploy a thing yesterday
240: [21:40:04] <DanaeNZ> I blame the dev there for wanting to run deployments after 5pm
241: [21:40:16] <DanaeNZ> so now I have to do that at 5pm today
242: [21:41:08] * Colin[pi] has joined #silverstripe
243: [21:41:30] * Colin[pi] is now known as Colinglebells
244: [21:48:06] * Colinglebells has left #silverstripe
245: [22:05:48] * helenclarko is now known as helenkringle
246: [22:10:52] <ss-helper> Re: SilverStripe 4.0: File Deletion / Security Discussion - https://groups.google.com/d/msg/silverstripe-dev/PihYhP3ZTN8/BiGDMsfuBAAJ
247: [22:11:52] * Stomach quit (Ping timeout: 272 seconds)
248: [22:25:53] <ss-helper> Re: Beep Boop - https://groups.google.com/d/msg/silverstripe-dev/EJU0gyGVfNY/d_cKB1_vBAAJ
249: [22:30:37] * glenn-bautista quit (Quit: Leaving.)
250: [22:32:43] * glenn-bautista has joined #silverstripe
251: [22:51:03] * Azure has joined #silverstripe
252: [22:53:32] * spronk has joined #silverstripe
253: [22:55:31] * Stomach has joined #silverstripe
254: [23:11:16] * muskie9 quit (Quit: My Mac has gone to sleep. ZZZzzz…)
255: [23:16:38] * glenn-bautista quit (Quit: Leaving.)
256: [23:31:29] * glenn-bautista has joined #silverstripe
257: [23:36:39] * Stomach quit (Quit: zzz)
258: [23:43:32] * MarkGuinn quit (Remote host closed the connection)
259: [23:44:34] * MarkGuinn has joined #silverstripe
260: [23:45:35] * MarkGuinn quit (Remote host closed the connection)
261: [23:46:08] * MarkGuinn has joined #silverstripe
262: [23:46:13] * MarkGuinn quit (Remote host closed the connection)
263: [23:46:27] * MarkGuinn has joined #silverstripe
264: [23:46:46] * DanaeNZ quit (Remote host closed the connection)
265: [23:49:10] * glenn-bautista quit (Ping timeout: 260 seconds)
266: [23:51:12] * glenn-bautista has joined #silverstripe
267: [23:53:29] * adrexia quit (Quit: My Mac has gone to sleep. ZZZzzz…)
268: [23:56:14] * MarkGuinn quit (Remote host closed the connection)
269: [23:57:19] * MarkGuinn has joined #silverstripe
270: [23:58:20] * MarkGuin_ has joined #silverstripe
271: [23:58:21] * MarkGuinn quit (Read error: Connection reset by peer)
272: [23:59:19] * MarkGuinn has joined #silverstripe
273: [23:59:19] * MarkGuin_ quit (Read error: Connection reset by peer)

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