#silverstripe IRC Log

IRC log for 10 October 2016

All timestamps are in UTC.

1: [00:15:39] * cheddam has joined #silverstripe
2: [00:39:45] * micmania1 quit (Quit: micmania1)
3: [00:42:46] * micmania1 has joined #silverstripe
4: [00:47:09] * spronk quit (Quit: bleep bleep bloop bloop)
5: [01:55:03] * Bollig|DesignCty has joined #silverstripe
6: [02:00:06] <ss-helper> Using wkhtmltopdf to output Google Charts to PDF - http://stackoverflow.com/questions/39950329/using-wkhtmltopdf-to-output-google-charts-to-pdf
7: [03:02:36] <xyphoid> i keep running into this approach of rendering numerically-keyed arrays by iterating through and creating ArrayData items in an ArrayList just so you get a key for the template to use
8: [03:02:57] <xyphoid> is there a better approach for 'i have a numerically-keyed array, i want to loop through it in a template'
9: [04:16:15] * MichalKleiner has joined #silverstripe
10: [04:57:05] * micmania1 quit (Quit: micmania1)
11: [05:00:25] * micmania1 has joined #silverstripe
12: [05:10:49] * micmania1 quit (Quit: micmania1)
13: [05:11:13] * Stomach quit (Ping timeout: 260 seconds)
14: [05:14:34] * MichalKleiner quit ()
15: [05:57:40] * Stomach has joined #silverstripe
16: [06:22:47] * Stomach quit (Quit: zzz)
17: [06:38:41] * Shrike_Finland has joined #silverstripe
18: [06:47:10] * cheddam quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
19: [07:04:11] * darianno has joined #silverstripe
20: [07:17:54] * guci0 has joined #silverstripe
21: [07:17:54] <guci0> Hello World!
22: [07:24:49] * Stomach has joined #silverstripe
23: [07:25:20] * r3v3rb has joined #silverstripe
24: [07:25:21] * Hailwood quit (Disconnected by services)
25: [07:25:47] * Hailwood_Ghost has joined #silverstripe
26: [07:26:56] * MrGuits has joined #silverstripe
27: [07:27:28] <MrGuits> Anyone know if there is a newer "Quick Reference Guide" ? (as https://www.silverstripe.org/assets/Uploads/SilverStripeQuickReferenceGuide1.1.pdf)
28: [07:40:15] * lerni has joined #silverstripe
29: [07:58:35] * Stomach quit (Quit: zzz)
30: [08:02:17] * minizeka14 has joined #silverstripe
31: [08:02:17] <ss-helper> minizeka14: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
32: [08:03:03] * kinglozzer has joined #silverstripe
33: [08:04:01] <minizeka14> 'morning everyone
34: [08:04:44] <minizeka14> is it possible to update url in cms after gridfield's handleAction performed redirection?
35: [08:09:16] * MrGuits quit (Ping timeout: 260 seconds)
36: [08:09:30] * janneklouman-- has joined #silverstripe
37: [08:27:09] <minizeka14> anyone?
38: [08:45:23] * Audlex- has joined #silverstripe
39: [08:45:40] * kinglozz_ has joined #silverstripe
40: [08:48:56] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
41: [08:50:00] * Kapdap_ has joined #silverstripe
42: [08:52:20] * agent44 has joined #silverstripe
43: [08:52:46] * wmk has joined #silverstripe
44: [08:54:43] * kinglozzer quit (*.net *.split)
45: [08:54:45] * Audlex quit (*.net *.split)
46: [08:54:47] * Kapdap quit (*.net *.split)
47: [09:00:39] <wmk> how can i place a field after a (unnamed) fieldgroup?
48: [09:01:39] <kinglozz_> wmk: Can you do $fieldGroup->setName('Foo'); $fields->insertAfter('Foo', TextField::create('Bar')); ?
49: [09:02:06] <wmk> ok, this would require to patch fluent
50: [09:06:53] * micmania1 has joined #silverstripe
51: [09:09:28] <minizeka14> wmk: unnamed group in fluent? where?
52: [09:11:18] * kinglozz_ is now known as kinglozzer
53: [09:11:33] * agent44 quit (Ping timeout: 260 seconds)
54: [09:17:49] <wmk> ShowInMenus gets replaced by a groupedfield
55: [09:17:55] <wmk> minizeka14, ^^
56: [09:18:08] <wmk> I solved it by using InsertBefore, well, works
57: [09:21:46] * Shrike_Finland quit (Quit: Leaving.)
58: [09:26:53] * agent44 has joined #silverstripe
59: [09:31:17] <r3v3rb> morning all
60: [09:32:07] <slievr> mornin' o/
61: [09:32:41] * minizeka14 quit (Ping timeout: 260 seconds)
62: [09:33:24] <r3v3rb> 10:31 : First Question : Using an Extension on File - how could you restrict the files shown to the currently logged in users Group?
63: [09:33:44] <r3v3rb> You have 5 minutes to pastie the answer ;)
64: [09:34:13] <slievr> so much pressure
65: [09:34:45] <r3v3rb> lol
66: [09:35:12] <slievr> canView
67: [09:35:14] <slievr> ?
68: [09:35:51] * Shrike_Finland has joined #silverstripe
69: [09:37:39] <r3v3rb> slievr ...
70: [09:37:48] <slievr> =D
71: [09:41:31] <r3v3rb> slievr, I got that far ;) and have fixed the modeladmins to do the same based on Group but the Files one is escaping me :D
72: [09:43:33] * cloph_away is now known as cloph
73: [09:43:53] <r3v3rb> modeladmins I did using getList and a group check against the GroupID set and the Member::currentUser()->Groups()->first()->ID
74: [09:44:33] <slievr> tried this: http://pastie.org/10940797
75: [09:44:36] <slievr> ?
76: [09:44:59] <slievr> there is a missing brace
77: [09:48:26] <r3v3rb> slievr, kind of but File only stores an OwnerID not a GroupID so it's a test of the File ownersID against the Members Group ID ;)
78: [09:49:19] <slievr> so only people in the same group can see them?
79: [09:49:44] <r3v3rb> indeed
80: [09:50:27] <r3v3rb> so the function needs to get the files owner id, look up the current member id, grab the group and then only show if the group ID matches for each file/folder
81: [09:51:18] <r3v3rb> it's a recursive nightmare - I'm thinking there must be a way to add a Group to a File/Folder object and then just look them up
82: [09:52:37] <slievr> how's this: http://pastie.org/10940799
83: [09:52:38] <r3v3rb> it should really be a 'core' function as the framework/cms has Group permissions
84: [09:53:06] <slievr> issue is member only needs to match on one
85: [09:53:16] <slievr> so if users have multiple groups could get messy
86: [09:53:55] <r3v3rb> never on multiple users
87: [09:54:11] <slievr> but the bools switched (that'll teach me to edit a paste)
88: [10:31:09] * micmania1 quit (Quit: micmania1)
89: [10:34:04] <r3v3rb> slievr, lol, I don't mind that your bools switched!
90: [10:36:43] <slievr> did it work?
91: [10:44:59] * micmania1 has joined #silverstripe
92: [11:13:25] * Shrike_Finland quit (Quit: Leaving.)
93: [11:31:27] * darjusIT has joined #silverstripe
94: [11:31:48] * darjusIT quit (Client Quit)
95: [11:32:17] * darjusIT has joined #silverstripe
96: [11:32:24] <darjusIT> Hi all
97: [11:34:34] * Shrike_Finland has joined #silverstripe
98: [11:39:47] * micmania1 quit (Quit: micmania1)
99: [11:46:03] <darjusIT> I have Shipping Rate object in this I have function CartRulesCheck($order) if it valids rules returns true if not return false, is any posibility to get list of ShippingRates using simethin like ShippingRates::get()->filter CartRulesCheck($order) == true ?
100: [12:10:45] * wmk quit (Quit: Leaving)
101: [12:21:36] * Shrike_Finland quit (Quit: Leaving.)
102: [12:21:39] * samsam has joined #silverstripe
103: [12:23:17] <samsam> Anyone around?
104: [12:24:08] <darjusIT> Hi all, maybe someone knows why print_r not working in this part of code http://www.sspaste.com/paste/show/57fb88359c7d5
105: [12:24:09] <darjusIT> ?
106: [12:27:01] <slievr> maybe no $order
107: [12:27:04] <slievr> so no ID
108: [12:33:43] <samsam> when you do DataObject::get('table')
109: [12:33:50] <samsam> it returns a DataList object right?
110: [12:33:51] * Azure has joined #silverstripe
111: [12:39:53] <slievr> yes
112: [12:41:14] <slievr> http://api.silverstripe.org/3.1/class-DataObject.html#_get
113: [12:43:05] <samsam> Alright so in theory I could create an empty datalist and add db table rows (records) to it manually right?
114: [12:43:15] <samsam> $mylist = DataList::create();
115: [12:50:24] <darjusIT> but if I print_r order before $rates = FlatFeeShippingRate it works
116: [12:50:38] <darjusIT> order comming but not inside
117: [12:50:49] <darjusIT> filterByCallback
118: [12:51:26] <kinglozzer> darjusIT: you need to add use($order)
119: [12:51:45] <kinglozzer> http://www.sspaste.com/paste/show/57fb8edfa4ad1
120: [13:03:19] <samsam> this has been killing me: http://www.sspaste.com/paste/show/57fb915da1556
121: [13:04:14] <samsam> whoops, return should be: return $widgetList
122: [13:04:27] <samsam> still not working ordering in the right way
123: [13:04:43] * Bollig|DesignCty has joined #silverstripe
124: [13:15:18] <ss-helper> SilverStipe get by id in exact order - http://stackoverflow.com/questions/39959133/silverstipe-get-by-id-in-exact-order
125: [14:07:26] * samsam quit (Ping timeout: 260 seconds)
126: [14:10:11] * muskie9 has joined #silverstripe
127: [14:20:57] * Azure quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
128: [14:25:53] * marvanni has joined #silverstripe
129: [14:29:51] * marvanni quit (Remote host closed the connection)
130: [14:30:18] * marvanni has joined #silverstripe
131: [14:33:05] * muskie9 quit (Ping timeout: 268 seconds)
132: [14:33:06] * samsam has joined #silverstripe
133: [14:42:28] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
134: [14:48:29] * lerni quit ()
135: [14:57:24] * darianno quit (Quit: Textual IRC Client: www.textualapp.com)
136: [14:58:51] * muskie9 has joined #silverstripe
137: [15:01:24] * kinglozz_ has joined #silverstripe
138: [15:01:24] * kinglozzer quit (Read error: Connection reset by peer)
139: [15:24:26] * samsam quit (Ping timeout: 260 seconds)
140: [15:37:46] <r3v3rb> wow quiet in here today
141: [15:38:31] <slievr> and it's not even thursday
142: [15:40:54] <kinglozz_> r3v3rb: I haven't woken up yet
143: [15:40:59] * kinglozz_ is now known as kinglozzer
144: [15:41:09] <r3v3rb> where are you kinglozzer
145: [15:41:13] <kinglozzer> I wasted the weekend decorating, so I don't feel I had one
146: [15:41:17] <kinglozzer> At work r3v3rb :P
147: [15:41:29] <r3v3rb> lmao, decorating - you new man you!
148: [15:41:30] <kinglozzer> "One coat" they said...
149: [15:41:46] <r3v3rb> never believe the tins!
150: [15:41:51] <kinglozzer> Supposed to be one coat white emulsion, it was like spreading milk on the walls
151: [15:41:56] <kinglozzer> Milk that had been watered down
152: [15:41:58] <kinglozzer> :(
153: [15:42:01] <r3v3rb> :P
154: [15:42:26] <kinglozzer> Adulting is hard
155: [15:42:40] <r3v3rb> if its any consolation I have been working all weekend too - building this PDF template editor for a large charity
156: [15:42:41] <slievr> Super slick now, or do you have more milking to do?
157: [15:42:44] <kinglozzer> I'm making a man-cave, so it'll totally be worth it in the end
158: [15:42:51] <kinglozzer> Nope, lots more milking to do slievr :P
159: [15:43:04] <r3v3rb> thats sick kinglozzer milking in your man cave
160: [15:43:12] <kinglozzer> r3v3rb: >>>> PDF <<<<< danger word right there
161: [15:43:13] <r3v3rb> ewww :/
162: [15:43:21] <kinglozzer> Haha
163: [15:43:35] <r3v3rb> kinglozzer, PDF == my old territory - worked for print companies all my life
164: [15:43:40] <kinglozzer> I've had a ton of new PC parts delivered too :D
165: [15:43:43] <kinglozzer> Ah, fair enough
166: [15:43:50] * r3v3rb knows them inside out
167: [15:43:55] <kinglozzer> I've only ever had experience of wkhtmltopdf
168: [15:43:57] <kinglozzer> That was awful
169: [15:44:00] <r3v3rb> bleurgh
170: [15:44:24] <r3v3rb> manually building them using tcpdf
171: [15:44:31] <kinglozzer> Wanan swap r3v3rb?
172: [15:44:38] <kinglozzer> I'll build your PDF thing, you decorate my man cave
173: [15:44:40] <kinglozzer> ... with my milk
174: [15:44:42] <kinglozzer> O.o
175: [15:44:46] <r3v3rb> sicko
176: [15:44:49] <kinglozzer> :P
177: [15:45:00] <r3v3rb> when you off to lubj?
178: [15:45:12] <kinglozzer> I'm not!
179: [15:45:17] <kinglozzer> I read you're not either?
180: [15:45:20] <r3v3rb> ohhhhh
181: [15:45:40] <r3v3rb> me no, this PDF thangymijig goes live this Thursday/Friday
182: [15:46:04] <slievr> gl
183: [15:46:15] <r3v3rb> I cannot be away when it gets hooked up to the charity site and the print company
184: [15:46:43] <kinglozzer> brb
185: [15:47:44] <slievr> anyone ever tried laravel? I just did an install thought I'd give it a go, and holy dependencies: http://i.imgur.com/hRyxSXm.png
186: [15:48:34] <r3v3rb> slievr, closest I got was a silex job once
187: [15:48:46] <r3v3rb> tiny framework only thing
188: [15:49:49] <r3v3rb> one index file, no db and some custom route to generate personalised pages for a clients clients...
189: [15:51:21] <slievr> sounds fast
190: [15:51:29] <r3v3rb> just looking at it I have written some great one liners :)
191: [15:52:05] <r3v3rb> hehe, I should give myself a pay rise
192: [16:07:22] <r3v3rb> slievr, yes it worked well, not nearly as 'heavy' as an SS framework only site
193: [16:14:25] * kinglozzer quit ()
194: [16:19:47] * darjusIT quit (Quit: Leaving)
195: [16:34:52] * samsam has joined #silverstripe
196: [16:40:58] * marvanni quit (Quit: marvanni)
197: [16:49:00] * marvanni has joined #silverstripe
198: [16:50:27] <r3v3rb> slievr, that assetadmin code I set as a task this morning :( still shows assets from other groups...
199: [16:52:47] * marvanni quit (Client Quit)
200: [17:04:25] <r3v3rb> hmm, secureassets almost does what I need it to... so close
201: [17:04:51] <r3v3rb> but it restricts via folder not file :(
202: [17:08:44] * agent44 quit (Quit: zzz)
203: [17:12:29] <r3v3rb> and I need to restrict via file not folder :(
204: [17:15:22] <ss-helper> How to change HTML Base Element in Silverstripe ran site - http://stackoverflow.com/questions/39963380/how-to-change-html-base-element-in-silverstripe-ran-site
205: [17:19:20] * janneklouman-- quit (Ping timeout: 260 seconds)
206: [17:23:36] * samsam quit (Changing host)
207: [17:23:37] * samsam has joined #silverstripe
208: [17:24:31] * r3v3rb quit (Ping timeout: 268 seconds)
209: [17:31:31] * marvanni has joined #silverstripe
210: [17:54:23] * samsam quit (Ping timeout: 260 seconds)
211: [18:18:43] * Stomach has joined #silverstripe
212: [18:37:04] * janneklouman-- has joined #silverstripe
213: [18:40:28] * Stomach quit (Quit: zzz)
214: [18:44:09] * Nightjar has joined #silverstripe
215: [18:51:45] <Nightjar> wow empty channel :/
216: [18:53:26] * Nightjar quit (Quit: Leaving)
217: [18:53:34] <guci0> empty?
218: [18:53:35] <guci0> :P
219: [18:54:03] * Nightjar has joined #silverstripe
220: [18:58:42] <Nightjar> !seen Jakx
221: [18:58:43] <ss-helper> Nightjar: I last saw Jakx 2 weeks ago
222: [18:58:43] <Audlex-> Nightjar: I last saw Jakx quiting 2wks 4days 12hrs 46mins 31secs ago with the message Quit: Leaving
223: [18:58:58] <Nightjar> o.0
224: [18:59:05] <Nightjar> Botz plz
225: [18:59:34] <Nightjar> 30 people in channel, 3 are bots, 2 are Zauberfisch, and one is ss23.
226: [18:59:37] <Nightjar> GOSH
227: [18:59:50] <Zauberfisch> lol
228: [19:00:29] <Zauberfisch> but true, channel is really empty
229: [19:00:45] * ss23 mumbles something about slack and discord being the devil
230: [19:00:54] <Zauberfisch> indeed
231: [19:00:57] <Nightjar> Excited for conf Zauberfisch?
232: [19:00:58] <Nightjar> I am!
233: [19:01:03] <Zauberfisch> stupid shit
234: [19:01:03] <Nightjar> But I can't make it :(
235: [19:01:07] <Zauberfisch> Nightjar: D:
236: [19:01:09] <Zauberfisch> Nightjar: yes I am
237: [19:01:15] <Zauberfisch> though I have amazing news
238: [19:01:16] <Zauberfisch> formyself
239: [19:01:20] <Zauberfisch> for myself*
240: [19:01:30] <Zauberfisch> I managed to get skype in bitlbee working
241: [19:01:31] <Zauberfisch> yay
242: [19:01:35] <Nightjar> wows
243: [19:01:36] <Zauberfisch> now I can skype with my irc client
244: [19:01:42] <Nightjar> hey Zauberfisch you might be interested to see
245: [19:01:51] <Nightjar> I found this the other day while tracking down slack alternatives
246: [19:02:00] <Nightjar> (mattermost is the most 'mature' it seems)
247: [19:02:04] <Nightjar> umm
248: [19:02:05] <Nightjar> sec
249: [19:02:07] <Zauberfisch> all my chats are through irc now. xmpp, steam, skype, slack and irc itself
250: [19:02:17] <Nightjar> yeh
251: [19:02:18] <Nightjar> http://matrix.org/
252: [19:03:05] <Nightjar> and riot.im
253: [19:03:07] <Nightjar> https://riot.im/
254: [19:03:28] <Nightjar> You can bridge to things like ICQ, IRC, & Slack
255: [19:03:44] <Nightjar> Seemed pretty cool.
256: [19:03:55] <Nightjar> Imma keep my eyes on it.
257: [19:07:43] <Nightjar> I especially appreciated the reasoning actually being given http://matrix.org/docs/guides/faq.html#what-is-the-difference-between-matrix-and-irc
258: [19:08:23] <Nightjar> as opposed to some devs with no history lesson beginning then discovering IRC then being all "well ours is better" and then (like slack) suddenly everyone all "it's newer, therefore better"
259: [19:09:04] <Nightjar> the only thing going for slack is history preservation/loading imo. Probably access control, to a point.
260: [19:09:40] <Nightjar> Anyway. Looking forward to Kiwicon ss23 ?
261: [19:09:46] <Nightjar> Or are you denied a ticket? :P
262: [19:10:20] <ss23> I am looking forward to it, and luckiyl I can et my boss to buy me tickes, avoiding having to find out if I'm banned :P
263: [19:10:33] <Nightjar> Zauberfisch, yeh, I'm a little (a lot) disappointed, really wanted to go and see Slovenia too. But it's just too much money!
264: [19:10:52] <Nightjar> ss23; hacking the hackers conference since aaages ago.
265: [19:11:18] <Zauberfisch> Nightjar: yeah, it's quiet the distance from NZ
266: [19:11:34] <Zauberfisch> Nightjar: looked at mattermost aswell, but didn't seem mature enough honestly
267: [19:11:39] <Nightjar> Also, being a smaller destination, not very cheap to get to :/
268: [19:12:04] <Nightjar> Zauberfisch, honestly I didn't test, marketing page always gonna make it seem amazing I guess.
269: [19:12:07] <Zauberfisch> Nightjar: but meh. didn't look mature enough when I checked it out (shortly after release)
270: [19:13:16] <Nightjar> I tried to convince our Team lead to attend, but he's not.
271: [19:13:22] <Zauberfisch> but now that I have skype in my irc client. I am a lot happier and am less desperate to seach for a chat solution for my colleagues (they prefer to use skype ...)
272: [19:13:29] <Nightjar> Currently flying to London to be with Sam, Dan, & Andrew though
273: [19:13:44] <Nightjar> aha, nice!
274: [19:13:53] <Nightjar> but... irc doesn't do video call right? :P
275: [19:14:08] <Zauberfisch> no
276: [19:14:13] <Zauberfisch> nor does it audio
277: [19:14:16] <Zauberfisch> I don't care for video
278: [19:14:24] <Nightjar> hehehe, I know ;P
279: [19:14:31] <Zauberfisch> but audio, I am actually looking for a solution to pipe skype to SIP
280: [19:14:37] <Nightjar> ooh
281: [19:14:42] <Nightjar> seems a neat idea
282: [19:14:47] <Zauberfisch> so I can make an incoming skype call ring my SIP phone on the desk
283: [19:15:08] <Zauberfisch> I found one project which attempts to do that, but haven't gotten around to try that yet
284: [19:15:10] <Nightjar> sip client the android, desk phone no longer! :>
285: [19:15:25] <Zauberfisch> or mobile phone, right
286: [19:19:58] * r3v3rb has joined #silverstripe
287: [19:20:04] <Nightjar> oi
288: [19:20:05] <Nightjar> this guy
289: [19:20:23] <Nightjar> going to the conference r3v3rb ?
290: [19:20:54] <r3v3rb> Nightjar, not this year fella, got a site going live this Thursday/Friday and need to be sat watching it
291: [19:21:02] <r3v3rb> I say site, more app
292: [19:21:25] <Nightjar> gah, that's what remote walking is all about! ;P
293: [19:21:27] <r3v3rb> where the bloody hell have you been btw :D
294: [19:22:09] <r3v3rb> Nightjar, yes and no - it's for a £90,000,000 a year charity providing PDF printed cards for all their donations!
295: [19:22:28] <r3v3rb> integrating with magento too
296: [19:22:38] <Nightjar> r3v3rb, new job :>
297: [19:22:47] <r3v3rb> Nightjar, happy days^^
298: [19:22:57] <r3v3rb> SS or Laravel :P
299: [19:23:07] <Nightjar> quite. Not quite enough to make a conference trip viable though :/
300: [19:23:10] <r3v3rb> or RUBY RUBY RUBY RUBBYYYYYYY
301: [19:23:16] <Nightjar> gah
302: [19:23:29] <Nightjar> what do you take me for!? (protip: whois me)
303: [19:23:52] * r3v3rb is stressed with SS and File permissions - not working with Groups
304: [19:23:57] <r3v3rb> whois Nightjar
305: [19:24:02] <Nightjar> luzl
306: [19:24:05] <r3v3rb> nah doesnt work :D
307: [19:24:09] <Nightjar> kek
308: [19:24:12] <r3v3rb> whois /me :D
309: [19:24:17] <r3v3rb> that either
310: [19:24:23] <Nightjar> nah
311: [19:24:29] <Nightjar> I don't remember the irc command
312: [19:24:36] <r3v3rb> WOOOT Londinium
313: [19:24:50] <r3v3rb> SS_UK ??
314: [19:24:59] <r3v3rb> or just a VPN?
315: [19:25:02] <r3v3rb> ;)
316: [19:25:06] <Nightjar> lol no, just connected to UK server for some reason
317: [19:25:11] <r3v3rb> I know you you little cheater!
318: [19:25:15] <Nightjar> interesting, oh, we got a new net connection! lol
319: [19:26:20] * Stomach has joined #silverstripe
320: [19:26:56] <Zauberfisch> oh
321: [19:26:57] <Zauberfisch> wow
322: [19:27:11] <Zauberfisch> talking about it motivated me to look into it right away again
323: [19:27:12] <Zauberfisch> https://www.skype.com/en/features/skype-connect/
324: [19:27:16] <Zauberfisch> this looks interesting
325: [19:27:26] <Nightjar> :o
326: [19:28:12] <Zauberfisch> but it's a paid service it seems
327: [19:28:13] <Zauberfisch> hmm
328: [19:29:11] <r3v3rb> Zauberfisch, howdy, all set for the conf?
329: [19:29:23] <Zauberfisch> hey r3v3rb
330: [19:29:26] <Zauberfisch> I hope so :D
331: [19:29:31] <Zauberfisch> looking forward to it
332: [19:29:38] <Zauberfisch> I just read you are not coming D:
333: [19:29:46] <r3v3rb> :( nope sorry
334: [19:32:32] <Nightjar> It's so sad. But I'm really looking forward to seeing all the video that comes out of it!
335: [19:32:36] <r3v3rb> big project going live Zauberfisch
336: [19:36:39] <Zauberfisch> D:
337: [19:36:45] <Zauberfisch> well, anyway, I will go to bed
338: [19:36:47] <Zauberfisch> super tired
339: [19:36:56] <Nightjar> g'nite Zauberfisch!
340: [19:38:14] <r3v3rb> night Zauberfisch and good luck
341: [19:55:30] * r3v3rb quit (Quit: Leaving)
342: [20:07:03] * muskie9_ has joined #silverstripe
343: [20:09:40] * muskie9 quit (Ping timeout: 260 seconds)
344: [20:12:29] * Nightjar quit (Ping timeout: 250 seconds)
345: [20:12:37] * muskie9_ is now known as muskie9
346: [20:25:46] * Nightjar has joined #silverstripe
347: [20:57:44] * micmania1 has joined #silverstripe
348: [21:01:58] * r3v3rb has joined #silverstripe
349: [21:02:35] <r3v3rb> Nightjar, fixed it, was an indent issue - bloody extension had an extra space so wasn't loading on File --- DOH!!!
350: [21:03:17] <r3v3rb> wife ended up playing some cruddy game on her iPad so I grabbed the surface and fixed the group permissions :)
351: [21:08:46] * gelignite has joined #silverstripe
352: [21:18:17] * micmania1 quit (Quit: micmania1)
353: [21:22:05] * micmania1 has joined #silverstripe
354: [21:30:10] * r3v3rb quit (Quit: Leaving)
355: [21:48:48] * marvanni quit (Quit: marvanni)
356: [21:54:09] <xyphoid> let's say i'm doing a custom controller with form at CheckoutController or whatever, and i have routes.yaml with mapping from /checkout/whatever to CheckoutController
357: [21:55:08] <xyphoid> it looks like i also need to do function Link() { return 'checkout/'; } to make the form know to do action 'checkout/whatever' - is that correct or should it be picking up the mapping from routes.yaml
358: [21:55:52] <xyphoid> welp I found the docs for that literally 2 seconds after asking, never mind
359: [22:06:43] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
360: [22:25:31] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
361: [22:38:13] * cheddam has joined #silverstripe
362: [22:38:53] * janneklouman-- quit (Ping timeout: 260 seconds)
363: [22:50:54] * muskie9 has joined #silverstripe
364: [23:00:02] * ss-helper quit (Remote host closed the connection)
365: [23:00:16] * ss-helper has joined #silverstripe
366: [23:08:11] * guci0 quit (Ping timeout: 260 seconds)
367: [23:18:35] * Azure has joined #silverstripe
368: [23:19:27] * Tron_ has joined #silverstripe
369: [23:20:36] <Tron_> Hi guys for a DataObject, How can I take 2 DB fields that can be entered in the backend and then populate a 3rd db variable on create
370: [23:21:02] <Tron_> e.g. FirstName LastName to auto populate a db variable called FullName
371: [23:21:27] <muskie9> Tron_ do you mean something like combining the 2 fields to populate the 3rd? or something like a default value for the 3rd
372: [23:21:33] <muskie9> ah
373: [23:22:38] <Tron_> combining the 1st two fields to poulate the third
374: [23:22:41] <muskie9> try onBeforeWrite()
375: [23:23:49] <muskie9> https://docs.silverstripe.org/en/3.4/developer_guides/model/extending_dataobjects/#onbeforewrite
376: [23:23:58] <Tron_> Thanks, I will look into that
377: [23:24:12] <Tron_> im trying preWrite() ?
378: [23:25:34] <muskie9> preWrite() calls onBeforeWrite() but also does some other things, so using onBeforeWrite() is the preferred method as it won't break other things before the write() happens
379: [23:26:51] <muskie9> your onBeforeWrite on your DataObject would look something like this: https://gist.github.com/muskie9/c807aa643995b580d1cfd88c24301ed9
380: [23:41:43] <Nightjar> xyphoid, yes.
381: [23:42:11] <Nightjar> xyphoid, because of the way forms work. The first argument being the controller. Form uses Controller::Link() to get it's submit action.
382: [23:43:30] <Nightjar> muskie9, preWrite? :S
383: [23:43:47] <muskie9> Nightjar http://api.silverstripe.org/3.3/source-class-DataObject.html#1202-1222
384: [23:44:01] <muskie9> does validation before calling onBeforeWrite
385: [23:44:03] <Nightjar> :O !
386: [23:44:41] <Nightjar> TIL
387: [23:44:44] <muskie9> protected method too... so there's that, I don't like overwriting protected/private methods unless it's absolutely necessary
388: [23:44:53] <Nightjar> more ambigiously named nonsense methods :/
389: [23:45:10] <muskie9> for sure

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