#silverstripe IRC Log

IRC log for 30 July 2015

All timestamps are in UTC.

1: [00:01:13] <Ryan-Toast> Colin[pi]: yes?
2: [00:01:38] <Colin[pi]> how do I hide parent sitetree classes again? hide_ancestor?
3: [00:02:37] <Colin[pi]> nm
4: [00:02:37] <Colin[pi]> :P
5: [00:02:38] <Ryan-Toast> There’s no nice way to do it.
6: [00:02:44] <Colin[pi]> well it kinda works?
7: [00:02:47] <Ryan-Toast> Kind of.
8: [00:02:57] <Ryan-Toast> Ideally it wouldn’t show in the sitetree at all.
9: [00:03:41] * Stomach has joined #silverstripe
10: [00:08:27] * Stomach quit (Client Quit)
11: [00:08:51] <Vedran__> I am inside an 'Apartment' eg. 101 (Level 1, apartment 01). The page is rendering. I need to loop through all 'apartments' that are on 'Level 1'. Level is a has_one. How can I do this in SS?
12: [00:11:25] * Stomach has joined #silverstripe
13: [00:16:17] <Ryan-Toast> Vedran__: howe have you set Level 1?
14: [00:17:16] <Vedran__> Ryan-Toast: what do you mean? Inside the Apartment class there is a has_one. That gets populated in the cms via: Level::get()->map('ID','Title'))
15: [00:17:47] <Ryan-Toast> Vedran__: then just make a method that gets the Level by the id
16: [00:17:47] * Kingy[a] is now known as Kingy
17: [00:17:57] <Kingy> windows 10 is quite nice
18: [00:18:19] <Vedran__> can I pass an id via template?
19: [00:18:28] <spronk> howdy chapter books
20: [00:18:58] * pinc__ has joined #silverstripe
21: [00:19:02] <Ryan-Toast> Vedran__: make a method in your controller..
22: [00:21:19] <Ryan-Toast> like a getLevel() {}
23: [00:21:34] <Ryan-Toast> and then use <% with $Level %> in your template
24: [00:22:32] * pinc_ quit (Ping timeout: 246 seconds)
25: [00:24:34] * adrexia has joined #silverstripe
26: [00:27:58] * Azure has joined #silverstripe
27: [00:28:02] * antmas_ has joined #silverstripe
28: [00:28:08] * irogue returns from meetingssss
29: [00:29:08] <antmas_> irogue: I know those feels
30: [00:29:12] <antmas_> dem meetings
31: [00:29:35] <irogue> interviewssss
32: [00:30:04] <Stomach> you getting a sweet new job?
33: [00:30:13] <Vedran__> Ryan-Toast: would getLevel need a paramater passed to it?
34: [00:30:33] <Ryan-Toast> Vedran__: No, if you have a has_one you should be able to get the id from that.
35: [00:30:38] <irogue> Stomach: no, interviewing peeps for my old job
36: [00:31:11] <Ryan-Toast> irogue: A million indians, and eastern europeans who live overseas and don’t have a work visa?
37: [00:31:12] <antmas_> irogue: any gooduns?
38: [00:31:12] * antmas quit (Ping timeout: 246 seconds)
39: [00:31:18] <antmas_> Ryan-Toast: LOL
40: [00:31:22] * antmas_ is now known as antmas
41: [00:31:29] <Vedran__> Ryan-Toast: thanks. Shit I feel like a dumbass :?
42: [00:31:38] <Ryan-Toast> Vedran__: haha, np man.
43: [00:34:48] <Vedran__> Ryan-Toast: is 'Level' a protected variable?
44: [00:35:03] <Vedran__> I am getting ' Missing argument 1 for SiteTree::Level()'
45: [00:36:55] <irogue> Level is a default template method, so it's ending up trying to use that instead of your getLevel. might be wroth naming it something like getBuildingLevel
46: [00:37:31] * Vedran__ nods
47: [00:37:33] <Vedran__> thanks irogue
48: [00:38:04] <Vedran__> I am still confused how I pass the current level ID to the method. Is there some docs I can read up on?
49: [00:38:30] <Vedran__> I assume I would DataObject::get("Level")->filter('LevelID', ____ );
50: [00:38:50] <Vedran__> I am just not sure how to get the current LevelID into the method.
51: [00:40:25] <irogue> Vedran__: if you create a method getBuildingLevel($level) then you can do Level::get()->byID($level)
52: [00:41:09] <irogue> and then in the template $BuildingLevel(2)
53: [00:41:11] <Vedran__> can byID be any field name? byLevelID or byApartmentNo for instance?
54: [00:41:38] * Kingy is now known as Kingy[a]
55: [00:41:46] <Vedran__> since wouldnt the ID be the apartment id?
56: [00:41:57] <Vedran__> ignore that... it would be levelID :/
57: [00:42:24] <irogue> if you're querying Level, it'd be the level ID - if you want the apartments, do Apartment::get()->filter('LevelID', $level)
58: [00:44:07] <irogue> https://docs.silverstripe.org/en/3.1/developer_guides/model/data_model_and_orm/#querying-data
59: [00:46:00] <Vedran__> cheers irogue!!
60: [00:46:03] <Vedran__> and Ryan-Toast:)
61: [00:47:29] <chocolatemoose> really digging the new Muse album
62: [00:48:21] * antmas can't stop listening to Big Black Delta :O
63: [00:49:14] <spronk> its so good, right?
64: [00:49:27] <DanaeNZ> finally LUNCH
65: [00:49:30] * DanaeNZ collapses
66: [00:49:56] <antmas> spronk: so good.
67: [00:50:04] <pinc__> You have an eating disorder DanaeNZ
68: [00:50:11] <spronk> lol
69: [00:50:16] <DanaeNZ> and that disorder is SANDWICHES
70: [00:50:19] <spronk> NOM\
71: [00:50:20] <Colin[pi]> rofl https://www.youtube.com/watch?v=0LPftKZSOM8
72: [00:50:20] <antmas> DanaeNZ: Ryan-Toast have pinc__ do lunch runs?
73: [00:50:22] <antmas> :D
74: [00:50:24] <spronk> hmm
75: [00:50:31] * spronk really needs to get some decent monitor stands
76: [00:50:31] <DanaeNZ> antmas: excellent idea
77: [00:50:37] <DanaeNZ> he doesn’t eat anyway
78: [00:50:40] <spronk> EL E VA TION
79: [00:50:42] <pinc__> I haven't had lunch since i started
80: [00:50:47] <DanaeNZ> spronk: WHOOOO
81: [00:50:54] <antmas> Colin[pi]: OMG LOLOLOLOL
82: [00:50:57] <chocolatemoose> Colin[pi]: that's so great
83: [00:50:58] <antmas> didn't see that comin
84: [00:51:03] <Colin[pi]> hilarious
85: [00:51:16] <DanaeNZ> Colin[pi]: YASSS
86: [00:51:26] <antmas> spronk: I have my monitors stack on sql server books
87: [00:51:28] <antmas> :P
88: [00:51:34] <antmas> stacked*
89: [00:51:54] <pinc__> Solid gawld
90: [00:52:05] <DanaeNZ> antmas: AH that’s what I can do with those
91: [00:52:23] <spronk> yehhh
92: [00:52:30] <antmas> DanaeNZ: they are useful for something!
93: [00:52:45] <antmas> also a 'Teach yourself asp.net in 24 hours!'
94: [00:53:05] <ss23> doable if you're alreaedy a programmer
95: [00:53:11] <ss23> if not, you're 100% fucked
96: [00:53:21] <spronk> lul
97: [00:53:28] <antmas> ss23: if your a programmer you're still fucked
98: [00:53:30] <antmas> it's asp
99: [00:53:33] <antmas> ;_____;
100: [00:53:37] <pinc__> not asap
101: [00:53:51] <pinc__> that would make for a great book series though
102: [00:53:52] <DanaeNZ> (booo)
103: [00:53:53] <pinc__> asp asap
104: [00:53:58] <pinc__> *droi*
105: [00:54:07] <DanaeNZ> asp asap pas
106: [00:54:09] <DanaeNZ> psa*
107: [00:54:10] <antmas> pinc__: lol
108: [00:54:14] <pinc__> pass asp asap
109: [00:54:15] <DanaeNZ> TYPO MY ACRONYMS TOO FUCK
110: [00:54:51] <ss23> ASP ASAP
111: [00:54:52] <ss23> idk
112: [00:55:03] <pinc__> too slow
113: [00:55:03] <ss23> Most languages can be picked up in 24 hours probably...
114: [00:55:09] <spronk> no way
115: [00:55:10] <DanaeNZ> hey pinc__
116: [00:55:14] <DanaeNZ> post an ascii slowpoke
117: [00:55:15] <pinc__> yo dik
118: [00:55:24] <antmas> ss23: conceptually yeah
119: [00:55:24] <spronk> 24 hours if you want to be inept at using the language maybe
120: [00:55:26] <pinc__> 8===D
121: [00:55:31] <DanaeNZ> lmao
122: [00:55:32] <pinc__> *medium pace*
123: [00:56:00] <antmas> DanaeNZ: you remember what happened when you posted ascii slow poke?
124: [00:56:06] <antmas> ss23: dropped the senpai ban hammer
125: [00:56:07] <DanaeNZ> antmas: ssshhh
126: [00:56:08] <pinc__> zipppp...
127: [00:56:08] <ss23> Sure, you're going to be referencing docs, but unless it's a new paradigm, I think it's easy enough
128: [00:56:18] <ss23> :O <===3
129: [00:56:21] <ss23> :O==3
130: [00:56:23] <ss23> :3
131: [00:56:26] <DanaeNZ> WAT
132: [00:56:27] <pinc__> :)
133: [00:56:56] <antmas> ss23: lol
134: [00:57:01] <pinc__> Don't act all innocent DanaeNZ
135: [00:57:12] <DanaeNZ> about the banhammer or...?
136: [00:57:19] <ss23> >DanaeNZ
137: [00:57:21] <ss23> >innocent
138: [00:57:41] <pinc__> >lol
139: [00:57:47] <DanaeNZ> >mfw :3
140: [00:57:58] <DanaeNZ> wat
141: [00:58:07] <pinc__> ballz deep
142: [00:58:19] <antmas> hahahaha
143: [00:58:22] <pinc__> #justTheTipAndShaft
144: [00:58:23] <antmas> shit got weird again
145: [00:58:28] <DanaeNZ> HA
146: [00:58:36] <DanaeNZ> pinc__ makes everything weird
147: [00:58:37] <pinc__> It's only weird if you cry
148: [00:58:38] <DanaeNZ> >>
149: [00:58:49] <DanaeNZ> BITE THE PILLOW I’M GOING IN DRY
150: [00:58:57] <pinc__> ..........
151: [00:58:58] <antmas> o.O
152: [00:59:49] <pinc__> choose one antmas
153: [00:59:52] * nikob has joined #silverstripe
154: [00:59:59] <antmas> Ryan-Toast: you realise DanaeNZ is going to have free reign of IRC when you leave?
155: [01:00:03] <DanaeNZ> http://static2.fjcdn.com/thumbnails/comments/And+then+he+whispers+quot+bite+the+pillow+i+m+going+in+_1cba07992bd3c3cc1175db00c82f2ac5.jpg
156: [01:00:04] <antmas> Ryan-Toast: THINK ABOUT THE CHILDREN
157: [01:00:06] <Ryan-Toast> antmas: yup
158: [01:00:12] <Ryan-Toast> antmas: ill be around.
159: [01:00:17] <Ryan-Toast> in the night time
160: [01:00:29] <DanaeNZ> so you can hang out with Pyromanik
161: [01:00:33] <Vedran__> can you ->filter & join?
162: [01:00:41] <Ryan-Toast> he’s leaving soon.
163: [01:00:45] <pinc__> lame
164: [01:00:46] <DanaeNZ> oh rite
165: [01:00:52] <antmas> pyro is coming back this way
166: [01:00:59] <antmas> it's like we're trading a Ryan-Toast for pyro
167: [01:01:11] <spronk> bite the pillow i'm going in dry... o_O
168: [01:01:11] <Ryan-Toast> antmas: not a good trade at all
169: [01:01:17] <DanaeNZ> can we just leave them both in the UK
170: [01:01:18] <DanaeNZ> ?
171: [01:01:23] <antmas> lol
172: [01:01:46] <spronk> lul
173: [01:01:51] <DanaeNZ> lel
174: [01:02:34] <Colin[pi]> god dammit
175: [01:02:42] <Colin[pi]> I dropped my cookie on my keyboard
176: [01:02:44] <spronk> D:
177: [01:02:45] <Colin[pi]> CRUMBAGEDDON
178: [01:02:49] <spronk> lol
179: [01:02:51] <antmas> LOL
180: [01:03:01] <antmas> cruuuuuuuUUUM!
181: [01:03:02] <pinc__> tissues are in the left draw
182: [01:03:05] * antmas shakes fist
183: [01:03:18] <pinc__> applies lotion
184: [01:03:23] <DanaeNZ> where’s my cookie? :(
185: [01:03:24] <antmas> Colin[pi]: keyboard suck?
186: [01:03:26] <DanaeNZ> pinc__: NU
187: [01:03:31] <Colin[pi]> I just shook it upside down and like a loaf of bread fell out
188: [01:03:38] <antmas> hahaha
189: [01:03:44] <DanaeNZ> Colin[pi]: hahahaah
190: [01:03:46] <antmas> along with skin particles and fingernails
191: [01:03:48] <antmas> \o/
192: [01:03:49] <pinc__> I dont think thats your keyboard Colin[pi]
193: [01:03:54] <Colin[pi]> :C
194: [01:04:02] <DanaeNZ> oooh that’s a good smiley
195: [01:04:05] <DanaeNZ> :C
196: [01:04:08] <DanaeNZ> Supa sad
197: [01:04:12] <antmas> Colin[pi]: combine with water and makes some keyboard bread :D
198: [01:04:19] <DanaeNZ> add yeast
199: [01:04:20] <DanaeNZ> from
200: [01:04:24] <pinc__> no
201: [01:04:24] <DanaeNZ> ok i’ll stop there
202: [01:04:29] <antmas> don't do it
203: [01:04:30] <spronk> vagina yoghurt!
204: [01:04:34] <Colin[pi]> ಠ_ಠ
205: [01:04:35] <antmas> LOL
206: [01:04:39] <DanaeNZ> WTF
207: [01:04:47] <pinc__> *v*ogels
208: [01:04:50] <spronk> http://i100.independent.co.uk/article/what-the-woman-who-ate-yoghurt-made-from-her-own-vagina-has-to-say--gJVN8tGrhx
209: [01:05:01] <DanaeNZ> yeah i’m not gonna click that'
210: [01:05:07] <Colin[pi]> http://i.imgur.com/mQ4YS.gif
211: [01:05:09] <pinc__> Who has that type of link at the ready???
212: [01:05:13] <spronk> its sfw
213: [01:05:14] <spronk> bujt
214: [01:05:14] <antmas> that could be chickenbutt
215: [01:05:16] <spronk> nsfl really
216: [01:05:23] <Colin[pi]> antmas: nah
217: [01:05:26] <Colin[pi]> I'm not Stomach
218: [01:05:31] <antmas> spronk: you're not helping
219: [01:05:33] <DanaeNZ> you totally posted it once
220: [01:05:36] <DanaeNZ> i remember
221: [01:05:44] <spronk> Colin[pi]'s link is not chickenbutt
222: [01:05:49] * spronk promises
223: [01:05:58] <antmas> I DON'T KNOW WHO TO TRUST
224: [01:06:00] <DanaeNZ> bahahahah
225: [01:06:03] <spronk> it's some creepy looking british dude saying "i can fap to this"
226: [01:06:03] <Stomach> what
227: [01:06:06] <Colin[pi]> DanaeNZ: http://i.imgur.com/MyVIM.gif
228: [01:06:07] <DanaeNZ> it’s not chicken butt
229: [01:06:13] <spronk> and that's emma stone
230: [01:06:20] <pinc__> Its billie piper from doctor shoe
231: [01:06:20] <DanaeNZ> yaaay emma stone
232: [01:06:25] <DanaeNZ> emma stone is waifu
233: [01:06:26] <spronk> easy a.
234: [01:06:34] <Colin[pi]> spronk: creepy british dude? that's tom baker you philistine
235: [01:06:40] <spronk> WHATEVER
236: [01:06:48] <antmas> spronk: is see you've been training on gif noticing
237: [01:06:48] <spronk> he'senglish
238: [01:06:57] <Colin[pi]> "the big book of british smiles"
239: [01:07:00] <chocolatemoose> lol
240: [01:07:00] * spronk has textile so sees all the gifs anyway
241: [01:07:00] <spronk> :p
242: [01:07:16] <DanaeNZ> doesn’t stomach reupload chickenbutt each time?
243: [01:07:21] <antmas> spronk: forever chickenbutt?
244: [01:07:22] <DanaeNZ> so it gets a new URL
245: [01:07:23] <spronk> hardcore chickenbuttage
246: [01:07:26] <DanaeNZ> ew
247: [01:07:40] <spronk> i don't see chickenbut
248: [01:07:41] <spronk> i just see
249: [01:07:41] <Stomach> nope
250: [01:07:42] <spronk> blonde
251: [01:07:43] <spronk> brunette
252: [01:07:44] <spronk> redhead
253: [01:07:49] <DanaeNZ> BAHA
254: [01:07:50] <pinc__> lol
255: [01:07:55] <antmas> dat reference
256: [01:07:59] <DanaeNZ> not like thees
257: [01:08:04] <Colin[pi]> whenever Stomach tricks me with chickenbutt: http://i.minus.com/iItn8oEE1eC0C.gif
258: [01:08:17] <spronk> impressive chin control
259: [01:08:26] <antmas> Colin[pi]: oh god that one
260: [01:08:29] <antmas> all the sads
261: [01:08:29] <DanaeNZ> make me cry evertim
262: [01:08:39] <pinc__> lik
263: [01:08:51] <DanaeNZ> dis
264: [01:08:55] <pinc__> if
265: [01:08:58] <Colin[pi]> http://i.imgur.com/kmbxEJ8.gif
266: [01:08:59] <antmas> nuts?
267: [01:09:00] <pinc__> dik
268: [01:09:12] <antmas> Colin[pi]: :D
269: [01:09:16] <antmas> O.O
270: [01:09:42] <DanaeNZ> Colin[pi]: lol wat
271: [01:09:51] <pinc__> someone went in dry on her during broadcast
272: [01:10:18] <antmas> Ryan-Toast: something makes me think pinc__ has had his 1 hour irc time
273: [01:10:26] <pinc__> Bye
274: [01:10:39] <DanaeNZ> lal
275: [01:10:41] * cloph is now known as cloph_away
276: [01:10:44] <spronk> FFFFSSSS INTELLIJ
277: [01:10:47] <Colin[pi]> this one was great too: http://i.imgur.com/xFLcP.gif
278: [01:10:49] <spronk> stop bugging out on syntax :@
279: [01:11:00] <antmas> Colin[pi]: andrew wk <3
280: [01:11:06] <DanaeNZ> lmao
281: [01:11:20] <Colin[pi]> fox news has that effect on me too
282: [01:12:17] <spronk> lul
283: [01:13:36] <Ryan-Toast> The last 20 minutes of IRC: http://i.imgur.com/l5UwW64.gifv
284: [01:14:03] <Colin[pi]> lol
285: [01:14:20] <antmas> haha
286: [01:14:31] <Colin[pi]> Ryan-Toast: "ssshhhh, only dreams now"
287: [01:14:32] <DanaeNZ> Ryan-Toast: :D hahahah
288: [01:14:57] <DanaeNZ> it’s like you’re smothering it with a pillow
289: [01:15:09] <spronk> lulll
290: [01:15:21] * Tanger has joined #silverstripe
291: [01:15:27] <antmas> I just have it open in IE
292: [01:15:38] <DanaeNZ> antmas: GET OUT
293: [01:15:40] <spronk> sigh
294: [01:15:41] <antmas> it crashes often enough that it keeps me in check :P
295: [01:15:42] <spronk> working from home sometimes is difficult
296: [01:15:43] <Ryan-Toast> eww browser IRC
297: [01:15:50] <Colin[pi]> shun the heathen!
298: [01:15:51] <Colin[pi]> shunnnn
299: [01:16:03] * DanaeNZ shuns antmas
300: [01:16:03] * spronk says this with screen 1 of 4 playing wallace and gromit for the older of the two, while the younger of the two sits on the floor eating a soft toy
301: [01:16:08] <antmas> I would use a client here but we have.... web marshal nazis
302: [01:16:10] * chocolatemoose shuns
303: [01:16:20] <DanaeNZ> antmas: :(
304: [01:17:51] <antmas> :O
305: [01:17:56] <antmas> cosplay of Yen from W3
306: [01:18:35] <antmas> too dsitracting, will leave it
307: [01:19:07] <DanaeNZ> i still haven’t played that
308: [01:19:15] <DanaeNZ> I’m thinkign of what to make for my comp piece
309: [01:19:25] <DanaeNZ> kinda want to do some skyrim armout
310: [01:19:27] <DanaeNZ> rmour*
311: [01:19:29] <DanaeNZ> omfg
312: [01:19:34] <DanaeNZ> armour*
313: [01:19:57] <DanaeNZ> if you want a good chance at winning you have to do a skit too tho :\
314: [01:20:38] * DanaeNZ glances at Ryan-Toast ’s nippys
315: [01:20:42] * DanaeNZ sweats
316: [01:21:03] <DanaeNZ> pinc__ are you aware of
317: [01:21:05] <DanaeNZ> nippy’d
318: [01:21:08] <DanaeNZ> nippy's
319: [01:21:17] <pinc__> shh, i'm not hur
320: [01:21:27] * DanaeNZ GLARES
321: [01:21:28] <pinc__> I've had my hour but im shneakily still hur
322: [01:24:59] <ss-helper> Re: has partial caching become buggy? - http://www.silverstripe.org/community/forums/template-questions/show/100887?start=8#post403169
323: [01:25:49] <spronk> damnit i want some nippys
324: [01:26:11] * veb quit (Quit: veb-irc: &)
325: [01:27:30] <Colin[pi]> spronk: I got yer nippys right here boi http://i.imgur.com/BBP892y.gif
326: [01:27:49] <DanaeNZ> Colin[pi]: bahahah
327: [01:27:49] <spronk> lul
328: [01:28:38] <Ryan-Toast> Colin[pi]: https://i.imgur.com/WlecVPf.jpg
329: [01:28:57] <DanaeNZ> ahhh the old secretly a gif jpg
330: [01:30:38] <Colin[pi]> XD
331: [01:30:47] <Ryan-Toast> DanaeNZ: https://i.imgur.com/WlecVPf.png
332: [01:31:06] <DanaeNZ> that one goes faster
333: [01:31:14] <Ryan-Toast> because it’s cached now, noob.
334: [01:31:20] <Ryan-Toast> Same image :P
335: [01:31:42] <DanaeNZ> no i mean the speed
336: [01:31:47] <DanaeNZ> not loading speed
337: [01:31:48] <DanaeNZ> lol
338: [01:31:53] <Ryan-Toast> because it’s am png
339: [01:31:55] <DanaeNZ> must be imagining things
340: [01:32:02] <Ryan-Toast> png’s are really fast gifs
341: [01:32:13] <Ryan-Toast> like 10x faster
342: [01:32:49] <spronk> what
343: [01:32:50] <spronk> but
344: [01:32:52] <spronk> its not a gif
345: [01:32:54] <spronk> ITS WRONG
346: [01:33:01] <spronk> Ryan-Toast lost his GIF CARD
347: [01:33:15] <Ryan-Toast> spronk: thingsthatareobviouslysarcasm.gif
348: [01:33:32] <DanaeNZ> don’t click it spronk it’s just a jpg!!
349: [01:33:40] <spronk> #clearlydoesntunderstandtheseverenatureofhisatrocity
350: [01:34:27] <DanaeNZ> #camelCase
351: [01:35:53] <spronk> #no
352: [01:35:55] <spronk> A:)
353: [01:36:12] <chocolatemoose> about the conversation earlier: http://arstechnica.com/tech-policy/2015/07/body-cam-captures-cop-shooting-motorist-in-head-murders-charges-follow/
354: [01:36:18] <chocolatemoose> absolutely insane
355: [01:36:27] * veb has joined #silverstripe
356: [01:38:09] <Ryan-Toast> chocolatemoose: thank god for body cams
357: [01:38:14] <chocolatemoose> agreed
358: [01:38:49] <Ryan-Toast> My mate bit a plain clothes cop, because he just came up and grabbed her when she was drunk.
359: [01:38:59] <Ryan-Toast> and got charged for assulting a police officer.
360: [01:41:00] <DanaeNZ> m...murica?
361: [01:41:10] <Ryan-Toast> nz
362: [01:42:04] <Ryan-Toast> Everyone that I know who became cops were all C class students, and were all dipshits.
363: [01:42:44] <Colin[pi]> Ryan-Toast: mm one guy I went to uni with became a cop eventually, and he'd be like...... the LAST guy you'd want to have a gun
364: [01:43:19] <Ryan-Toast> I don’t mind normal cops, but highway cops can go headbutt a bullet.
365: [01:44:15] <Colin[pi]> Ryan-Toast: I think it depends, some I've met here have been pretty pleasant, others are douchenozzles
366: [01:44:24] * veb quit (Quit: veb-irc: quit)
367: [01:44:39] <Ryan-Toast> Colin[pi]: Even cops don’t like highway cops.
368: [01:44:42] <Colin[pi]> also some people cant seem to figure out "if I'm an assclown to this cop, I'm sure he's going to be nice to me"
369: [01:45:10] <DanaeNZ> I’ve never met an unpleasant cop, but that might just be girl privelage
370: [01:45:10] * Ryan-Toast used to get pulled over every day in rewa.
371: [01:45:23] <Colin[pi]> DanaeNZ: do you show cleavage? lol
372: [01:45:45] * DanaeNZ looks down
373: [01:45:48] <DanaeNZ> ARGH
374: [01:46:18] <Colin[pi]> DanaeNZ: hey, if I can show it, so can you
375: [01:46:25] <DanaeNZ> lmao
376: [01:46:35] <Colin[pi]> doesn't work for me though
377: [01:51:25] <ss23> I just let them see my gut overhang from my jeans
378: [01:51:30] <ss23> It's basically one big boob
379: [01:51:40] <Colin[pi]> rofl
380: [01:52:04] <Colin[pi]> "see anything you like, officer?" ^_^
381: [01:53:09] <ss23> XD
382: [02:11:52] <spronk> :|
383: [02:14:04] <spronk> shit ss23
384: [02:15:34] <antmas> best cop I ever met was Turban Cop :D
385: [02:15:45] <antmas> god he must have been given so much crap
386: [02:19:06] <Stomach> I found a wallet in the toilets in hamilton on sunday
387: [02:19:10] <Stomach> took it into the cops
388: [02:19:16] <Stomach> they searched it and found $1500 in it
389: [02:19:25] <Stomach> I should have searched it better >_<
390: [02:19:35] <irogue> antmas: I reckon its a really cool look, the uniform turban
391: [02:19:39] <antmas> :O
392: [02:19:49] <antmas> irogue: yeah it works pretty good actually :D
393: [02:19:55] <irogue> Stomach: in Hamilton?!? totally drugs money.
394: [02:20:02] <irogue> also, wtf were you doing in the tron?
395: [02:20:04] <antmas> Stomach: lol
396: [02:20:18] <antmas> no matter how good you felt handing it in.... it's still $1500 :P
397: [02:20:39] <Stomach> antmas yeah hard out
398: [02:20:46] <Stomach> irogue - it was like a 70 year old womans wallet
399: [02:21:00] <Stomach> obviously she got jacked, some guys cleaned out most of it but missed the secret compartment bit
400: [02:21:01] <irogue> could still be drugs money :P
401: [02:21:07] <Stomach> it was in the male toilets
402: [02:21:08] <antmas> LOL
403: [02:21:10] <antmas> still drugs
404: [02:21:20] <irogue> Stomach: which toilets, out of curiosuty
405: [02:21:31] <Stomach> the ones on rathbone(?) street
406: [02:21:34] <Stomach> in the city
407: [02:22:11] <irogue> uh, that street name ain't familiar
408: [02:22:30] <Stomach> its near the butter factory place
409: [02:22:52] <spronk> o-O
410: [02:23:17] <spronk> $1500 in a wallet?
411: [02:23:20] <spronk> fucking crazy woman
412: [02:23:21] <Stomach> fuck
413: [02:23:23] <Stomach> not hamilton
414: [02:23:24] <Stomach> LOL
415: [02:23:26] <Stomach> whangarei
416: [02:23:28] <Stomach> >_<
417: [02:23:30] <irogue> hahaha
418: [02:23:35] <irogue> i was so confused
419: [02:23:40] <irogue> "butter factory? in the cbd?!?"
420: [02:23:48] <Stomach> some shit place an hour and a half away from auckland
421: [02:24:07] <irogue> just in opposite directions :P
422: [02:25:02] <Stomach> :D
423: [02:26:05] <Stomach> still drug money.
424: [02:26:23] <spronk> yup
425: [02:26:25] <antmas> I get nervous when I have like >$20 in my wallet
426: [02:27:02] <Ryan-Toast> Why do you even need to carry cash anymore?
427: [02:29:01] <antmas> only cash I intentionally carry is for parking
428: [02:30:26] <Ryan-Toast> Don’t Nelson have credit card parking meters?
429: [02:30:31] <Ryan-Toast> Doesn’t*
430: [02:31:09] <antmas> I think in the main car parking areas, other wise coins
431: [02:31:22] <antmas> the first hour is free anyway :P
432: [02:35:49] * Audio has joined #silverstripe
433: [02:36:19] * Audlex quit (Ping timeout: 246 seconds)
434: [02:45:56] <antmas> what's the general consensus around refreshing pages these days?
435: [02:46:41] <Ryan-Toast> F5
436: [02:46:50] <antmas> :P
437: [02:47:01] * antmas throws idea out window to bottom floor
438: [02:47:05] <antmas> o/
439: [02:47:08] <antmas> o-
440: [02:47:21] <Ryan-Toast> why would you refresh the page?
441: [02:47:49] <antmas> nvm, just have this list I've made that needs to refresh as multiple people working on it
442: [02:48:14] <Ryan-Toast> long polling?
443: [02:49:53] <antmas> mm
444: [02:50:03] <antmas> ajax
445: [02:57:48] <Ryan-Toast> Girl why is you lying, girl why you Mufasa.
446: [03:03:50] * travis-ci has joined #silverstripe
447: [03:03:51] <travis-ci> silverstripe/silverstripe-framework#5449 (master - 09e605b : Damian Mooyman): The build has errored.
448: [03:03:51] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/130eb8ed02f5...09e605bb84f4
449: [03:03:51] <travis-ci> Build details : https://travis-ci.org/silverstripe/silverstripe-framework/builds/73308087
450: [03:03:51] * travis-ci has left #silverstripe
451: [03:12:07] <irogue> sigh, I may have to use Vodafone as my ISP. what has my life come to.
452: [03:13:14] <antmas> any reason why my template prints 'blah' when the arrary item value is "blah-foo" ?
453: [03:13:21] <antmas> doesn't like numbers?
454: [03:14:48] * DanaeNZ dies
455: [03:15:40] <antmas> DanaeNZ: not like this
456: [03:18:00] <DanaeNZ> :D
457: [03:28:06] * travis-ci has joined #silverstripe
458: [03:28:07] <travis-ci> silverstripe/silverstripe-framework#5450 (master - c170f90 : Damian Mooyman): The build has errored.
459: [03:28:07] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/09e605bb84f4...c170f90d5eaf
460: [03:28:07] <travis-ci> Build details : https://travis-ci.org/silverstripe/silverstripe-framework/builds/73308209
461: [03:28:07] * travis-ci has left #silverstripe
462: [03:50:38] * Phlunk3 quit (Remote host closed the connection)
463: [03:58:01] <antmas> bah
464: [03:58:07] <antmas> full screen gifs :<
465: [04:03:37] <storkbutt> only bit of windows 10 spam that has chuckled me http://i.imgur.com/E24GLiU.png
466: [04:04:58] <antmas> storkbutt: hahaha
467: [04:12:21] * travis-ci has joined #silverstripe
468: [04:12:22] <travis-ci> silverstripe/silverstripe-framework#5453 (3.2 - 4ca5237 : Damian Mooyman): The build passed.
469: [04:12:22] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/f32fa4631ac9...4ca523718519
470: [04:12:22] <travis-ci> Build details : https://travis-ci.org/silverstripe/silverstripe-framework/builds/73311400
471: [04:12:22] * travis-ci has left #silverstripe
472: [04:12:33] * Ryan-Toast quit (Quit: Ryan-Toast)
473: [04:14:22] <DanaeNZ> storkbutt: lmao
474: [04:16:24] * antmas quit (Quit: Page closed)
475: [04:19:01] <samlande> i really fucking hate mobile :/
476: [04:19:12] <samlande> for whatever reason display: none doesnt work on ipad and android, wtf.
477: [04:22:43] <Colin[pi]> samlande: ... yeah it does
478: [04:22:44] <Colin[pi]> :\
479: [04:23:57] <samlande> it works great on desktop for me for whatever reason but if i vew on my phone or ipad its messed
480: [04:24:26] <Colin[pi]> samlande: media queries not working right mayhaps?
481: [04:25:54] * spronk quit (Quit: I may need a longer sleep timer...)
482: [04:29:01] * Ryan-Toast has joined #silverstripe
483: [04:29:49] * spronk has joined #silverstripe
484: [04:30:38] <Ryan-Toast> DanaeNZ: why.aren’t.we.drinking.
485: [04:31:19] <DanaeNZ> UGH I DON’T KNOW
486: [04:31:23] <DanaeNZ> GET ALCOHOL NOW
487: [04:31:32] * samlander has joined #silverstripe
488: [04:31:36] <Ryan-Toast> NOW
489: [04:35:03] * samlande quit (Ping timeout: 256 seconds)
490: [04:35:19] <DanaeNZ> NOW
491: [04:35:39] <pinc__> Can I come back now guys?
492: [04:35:46] <DanaeNZ> if you bring alcohol
493: [04:35:54] <pinc__> Nvm
494: [04:36:01] <Ryan-Toast> pinc__: where are the beers, pinc?
495: [04:36:08] <pinc__> I dont want to be the enabler
496: [04:36:24] * samlande has joined #silverstripe
497: [04:38:26] * samlander quit (Ping timeout: 265 seconds)
498: [04:38:44] * Jakx has joined #silverstripe
499: [04:40:38] * samlande quit (Client Quit)
500: [04:40:44] <Jakx> will DataExtension::init() run? I'm tyring to extend FormField, but with no luck.
501: [04:40:49] <Jakx> trying*
502: [04:40:55] <DanaeNZ> Jakx: no, use onAfterInit
503: [04:41:00] <DanaeNZ> or onBeforeInit
504: [04:41:26] <DanaeNZ> pro tip for extensions - search the original classes for $this->extend
505: [04:41:39] <DanaeNZ> that’ll give you the method name you should use
506: [04:41:52] <Jakx> ah ty, great tip.
507: [04:42:30] <irogue> #justthetip
508: [04:42:53] <DanaeNZ> Hmm I think it should also be Extension as opposed to DataExtension
509: [04:43:18] <Jakx> Really, what I'm trying to do is give an input a class, but not the fieldholder, does anyone have a trick for this already?
510: [04:43:18] <DanaeNZ> $this->extend('onBeforeRender', $this);
511: [04:43:40] <DanaeNZ> Jakx: Ah, that’s been attempted in a few different ways
512: [04:44:31] <DanaeNZ> You could do a custom template, but generally people just traverse down to target it
513: [04:44:39] <DanaeNZ> .classname > input
514: [04:45:00] <DanaeNZ> better than creating a whole bunch of new templatex
515: [04:45:21] <Jakx> DanaeNZ, yeah. In this case I'm implementing a theme template, so trying to use their conventions.
516: [04:46:09] <Jakx> but yeah, can't even extend FormField successfully atm, so... starting to become frustrating
517: [04:46:24] <DanaeNZ> Jakx: ah i see, maybe you should do some template overrides
518: [04:46:57] <DanaeNZ> easiest way is to copy the folder from the framework containing the field templates to your /mysite or /theme folder
519: [04:47:04] <DanaeNZ> then just go throught and mess with them
520: [04:47:15] <DanaeNZ> make sure to append ?flush to the frontend url after copying them
521: [04:47:35] <Jakx> DanaeNZ, all templates refer to FormField::extraClass(), for both FormField_holder and $AttributesHTML (in the FormField template)
522: [04:47:44] <DanaeNZ> eg framework/templates/forms/FormField_holder.ss
523: [04:47:51] <Jakx> It's a closed loop
524: [04:48:03] * slievr_ has joined #silverstripe
525: [04:48:22] <Jakx> Thanks for the thought though, really apprecaite it :)
526: [04:48:52] <DanaeNZ> Ahhh gotcha
527: [04:49:04] * slievr quit (Ping timeout: 265 seconds)
528: [04:51:03] <Jakx> Next time I implement a theme, I think I'll create a kitchen sink page, and just subtemplate everything that appears in my wireframes... do all the troubleshooting then.
529: [04:53:26] <Ryan-Toast> What’s a theme?
530: [04:53:36] <Jakx> Metronic, an admin theme.
531: [04:55:59] <Ryan-Toast> I haven’t used a theme in over two years.
532: [04:56:25] <DanaeNZ> “don’t pat the dog today guys, she’s been rolling around in afterbirth”
533: [04:56:30] <DanaeNZ> THANKS.
534: [04:56:58] <Ryan-Toast> I’ve been picking her up all day ><
535: [05:01:10] <spronk> :|
536: [05:01:11] <spronk> what?
537: [05:01:33] <pinc__> Better work stories
538: [05:03:33] * Hailwood quit (Remote host closed the connection)
539: [05:06:10] * adrexia quit (Quit: My Mac has gone to sleep. ZZZzzz…)
540: [05:31:35] * aditya has joined #silverstripe
541: [05:32:03] <aditya> http://www.sspaste.com/paste/show/55b9b6c9160a9
542: [05:32:18] <aditya> why its tellin me undefined request variable
543: [05:32:36] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
544: [05:34:40] <Jakx> aditya, is $request set anywhere in the script?
545: [05:36:07] <aditya> its not set
546: [05:38:19] <Jakx> that is why you have that error
547: [05:38:48] <aditya> how would i set that var
548: [05:40:22] <Jakx> you could set it on like 22 by adding $request = Controller::curr()->request;
549: [05:40:47] * nikob quit (Ping timeout: 265 seconds)
550: [05:41:22] * Stomach quit (Quit: zzz)
551: [05:46:22] * Stomach has joined #silverstripe
552: [05:54:21] * Stomach quit (Quit: zzz)
553: [06:00:07] * aditya quit (Quit: Page closed)
554: [06:00:27] <spronk> http://www.aimbooster.com/
555: [06:01:02] * aditya has joined #silverstripe
556: [06:01:17] <aditya> http://www.sspaste.com/paste/show/55b9bda5aa742
557: [06:01:49] <aditya> http://www.sspaste.com/paste/show/55b9bdc518730
558: [06:02:37] <aditya> http://www.sspaste.com/paste/show/55b9bdf2b2e13
559: [06:02:49] <aditya> where i am mistaken
560: [06:04:10] * Stomach has joined #silverstripe
561: [06:04:33] * Stomach quit (Client Quit)
562: [06:07:01] * sneha has joined #silverstripe
563: [06:07:47] * r_hector has joined #silverstripe
564: [06:09:02] * chocolatemoose quit (Remote host closed the connection)
565: [06:09:18] * aditya quit (Ping timeout: 246 seconds)
566: [06:14:11] <sneha> How can we display random video from youtube channel? I need to make a widget which can display any random video from provided youtube channel ID. Any suggestions ?
567: [06:15:24] * darjus01 has joined #silverstripe
568: [06:18:09] * Mike123 has joined #silverstripe
569: [06:19:37] <Mike123> Morning
570: [06:30:37] <ss-helper> SilverStripe - silverstripe widget to display random video from youtube channel - http://stackoverflow.com/questions/31716451/silverstripe-silverstripe-widget-to-display-random-video-from-youtube-channel
571: [06:31:24] * Ryan-Toast quit (Quit: Ryan-Toast)
572: [06:31:48] * DanaeNZ quit (Quit: DanaeNZ)
573: [06:33:06] * sneha quit (Ping timeout: 246 seconds)
574: [06:35:12] * mahfuz quit (Ping timeout: 246 seconds)
575: [06:35:42] * aditya has joined #silverstripe
576: [06:35:54] <aditya> http://www.sspaste.com/paste/show/55b9bdf2b2e13
577: [06:36:36] <aditya> http://www.sspaste.com/paste/show/55b9c5e85a416
578: [06:36:40] * spronk quit (Quit: I may need a longer sleep timer...)
579: [06:37:03] <aditya> http://www.sspaste.com/paste/show/55b9c6063c6fd
580: [06:37:16] <aditya> where am i mistaken
581: [06:37:55] * sneha has joined #silverstripe
582: [06:41:29] <sneha> ss-helper: why did you mentioned that stackoverflow link?
583: [06:41:36] * micmania1 quit (Quit: micmania1)
584: [06:44:07] <aditya> can someone help me on this ?
585: [06:50:21] <ss-helper> Re: Documentation search broken? - https://groups.google.com/d/msg/silverstripe-dev/RSzFOTFMQYE/haH3K-wQBwAJ
586: [06:50:22] <ss-helper> Re: Documentation search broken? - https://groups.google.com/d/msg/silverstripe-dev/RSzFOTFMQYE/YNbIaeVlBAAJ
587: [07:01:00] * lerni_ has joined #silverstripe
588: [07:09:44] * Sj0hn has joined #silverstripe
589: [07:15:38] <ss-helper> Silverstripe Uploadify Add fields - http://stackoverflow.com/questions/14432739/silverstripe-uploadify-add-fields
590: [07:17:32] * mobiusnz quit (Quit: Leaving.)
591: [07:21:53] * swaiba has joined #silverstripe
592: [07:32:18] * pinc_ has joined #silverstripe
593: [07:41:02] * arnhoe has joined #silverstripe
594: [07:49:29] * Colin[pi] quit (Ping timeout: 246 seconds)
595: [07:53:26] <darjus01> hi all is I change UploadField::create('CV', 'CV') to Literal with <input type=file name=CV> will form upload file?
596: [07:54:23] <swaiba> darjus01 - my guess is no
597: [07:54:39] * gbotti has joined #silverstripe
598: [07:55:15] * r_hector quit (Remote host closed the connection)
599: [07:59:55] * Vedran__ quit ()
600: [08:00:15] * kinglozzer has joined #silverstripe
601: [08:06:33] * aditya quit (Ping timeout: 246 seconds)
602: [08:07:12] * r_hector has joined #silverstripe
603: [08:09:38] * chocolatemoose has joined #silverstripe
604: [08:13:07] * Pymncerk has joined #silverstripe
605: [08:13:28] <Pymncerk> heh, today's nick looks like 'mincer'. Thats unfortunate :<
606: [08:13:46] * chocolatemoose quit (Ping timeout: 240 seconds)
607: [08:14:43] * GioVdK has joined #silverstripe
608: [08:15:28] <swaiba> Pymncerk o/
609: [08:15:42] <Pymncerk> \o swaiba
610: [08:19:19] <kinglozzer> private static $foo = ['bar' => null]; .... when I do $obj->config()->foo, bar isn't set :(
611: [08:19:27] <kinglozzer> Anyone know if Config actually supports nulls like that?
612: [08:19:33] <kinglozzer> Remember reading something about it before
613: [08:23:08] <swaiba> depends how it does "isset" as "isset" returns false if null i think
614: [08:24:02] <swaiba> http://php.net/manual/en/function.isset.php
615: [08:24:05] <swaiba> $a = array ('test' => 1, 'hello' => NULL, 'pie' => array('a' => 'apple'));
616: [08:24:09] <swaiba> var_dump(isset($a['hello'])); // FALSE
617: [08:27:13] <kinglozzer> Ah, no it's not supported
618: [08:27:21] <kinglozzer> https://github.com/silverstripe/silverstripe-framework/pull/3272 :(
619: [08:33:12] * r_hector quit (Remote host closed the connection)
620: [08:34:50] * r_hector has joined #silverstripe
621: [08:37:34] * Colin[pi] has joined #silverstripe
622: [08:49:22] * benjhocking1 quit (Read error: Connection reset by peer)
623: [08:50:44] * sneha has left #silverstripe
624: [08:52:30] * benjhocking has joined #silverstripe
625: [08:54:20] * Colin[pi] quit (Ping timeout: 244 seconds)
626: [09:06:32] * mobiusnz has joined #silverstripe
627: [09:08:21] * wmk has joined #silverstripe
628: [09:08:37] <wmk> if($dataQuery->getQueryParam('Subsite.filter') === false) return;
629: [09:08:51] <wmk> how can i set this QueryParam?...
630: [09:12:16] <swaiba> I've really no idea, but curious why setQueryParam isn't what you are after?
631: [09:13:43] * Tanger quit (Quit: sleep())
632: [09:15:52] * pinc_ quit (Read error: Connection reset by peer)
633: [09:16:20] * pinc_ has joined #silverstripe
634: [09:19:15] <wmk> swaiba, so something like SiteTree::get()->setQueryParam('...') ..?
635: [09:19:36] <swaiba> wmk as I said I've no idea, but I hang out here to learn
636: [09:19:45] <swaiba> so I searched and found that function next to th eother one
637: [09:20:00] <swaiba> I assumed you'd seen it, but i guess it's possible you hadn't...
638: [09:21:30] <wmk> http://api.silverstripe.org/3.1/class-DataList.html#_setDataQueryParam
639: [09:21:35] <wmk> !!11
640: [09:22:02] <wmk> wow, i missed that functinality to tell a DataList to ignore subsites AugmentSQL
641: [09:22:41] <wmk> cause it's just not nice to use Subsites::disable_subsite_filter(), wrap stuff in an an ArrayList and pass further....
642: [09:27:06] <swaiba> so you're adjusting the query in the site tree eidtor section?
643: [09:27:55] * gbotti quit (Quit: Leaving.)
644: [09:28:08] <wmk> well, i have relations to the "main" site (or other sites) from where i want to get some content
645: [09:28:37] <wmk> and often i want to grab stuff from another subsite, but subsites limits the query to the current subsite
646: [09:28:48] <wmk> which is annoying in this case
647: [09:29:19] <swaiba> ah, so this an extension to CMSMain ?
648: [09:29:47] <wmk> CMS, SiteTree, ...
649: [09:30:09] <wmk> swaiba, https://github.com/silverstripe/silverstripe-subsites
650: [09:30:40] <wmk> https://github.com/silverstripe/silverstripe-subsites/blob/1.0/code/extensions/SiteTreeSubsites.php#L30
651: [09:30:53] <swaiba> do you provide multiple sites, like shop or booking, from one silverstripe install with this?
652: [09:31:05] <wmk> yup. multiple domains
653: [09:31:10] <wmk> with shared content
654: [09:31:19] <wmk> but different trees / sorting
655: [09:31:28] <swaiba> cool
656: [09:31:51] <swaiba> I'd like to do that but I'm paranoid that one issue brings down all, instead of just the one
657: [09:31:51] <wmk> a lot of SubsitesVirtualPage for stuff that is the same (with Canonical url to the main page, which can be on any subsite)
658: [09:32:18] <wmk> well, it has some flaws you have to deal with
659: [09:32:22] * UncleCheese has joined #silverstripe
660: [09:32:28] <wmk> UncleCheese, ☺/
661: [09:32:33] <UncleCheese> hi
662: [09:33:33] <ec8or> hello
663: [09:34:47] <wmk> swaiba, e.g. all hotels exist only on the main site but are shown everywhere, with custom sorting
664: [09:35:17] <wmk> so by now i had to put all hotels in an arraylist, which is just annoying
665: [09:35:34] <swaiba> yeah I'll bet
666: [09:36:39] <mobiusnz> is it possible to make rows in SS_Reports link to the ModelAdmin for that object?
667: [09:37:25] <swaiba> mobiusnz - sure, just add another output column as a link to the "ModelAdmin url format"
668: [09:37:45] <swaiba> and by that I mean look at the url for the edit and just place the id you'd like in the right place
669: [09:38:04] <swaiba> I'm sure this is a hack, but it's worked for me
670: [09:38:16] <mobiusnz> yeah, I'm wanting it so if they click anywhere on the row
671: [09:38:28] <mobiusnz> I spose I could inject some js
672: [09:38:50] <ec8or> anyone looking for a bit of extra work this month? need to implement some changes to a SwipeStripe site
673: [09:39:26] <mobiusnz> ec8or: by `this month` do you mean today/tomorrow, or next month?
674: [09:39:33] <ec8or> August :)
675: [09:39:58] <ec8or> the sooner the better though, they're selling skis and the season is about to start
676: [09:40:14] <ec8or> i have to travel back home to sort out a funeral so can't do it myself
677: [09:43:55] <GioVdK> Hello, is there a way to specify a different action than "index" for a controller?
678: [09:45:27] <mobiusnz> GioVdK: do you mean for the root of the controller? usually you specify different actions by appending the action to the url
679: [09:45:52] <mobiusnz> eg http://mysite.example/my-page/my-action will call my_action() on your page
680: [09:46:28] <GioVdK> yep or let's say that I don't want to have the root. I was handling that with a redirect from the index action
681: [09:47:33] <GioVdK> so from site.com/page it was redirecting to site.com/page/action but since I never user site.com/page it would be great to also have the link in the menu pointing directly to site.com/page/action
682: [09:47:46] <mobiusnz> GioVdK: https://docs.silverstripe.org/en/3.1/developer_guides/controllers/routing/
683: [09:48:54] <mobiusnz> you should be able to go something like private static $url_handlers = array( ''=> 'action')
684: [09:49:52] <Pymncerk> ec8or: \o/
685: [09:49:57] <Pymncerk> come hang out with us in London :D
686: [09:50:13] <Pymncerk> ec8or: also, yes I enjoy extra work :D
687: [09:50:18] <GioVdK> cool, thanks mobiusnz
688: [09:50:25] <Pymncerk> (better yet, now have uk bank acct)
689: [09:50:40] <wmk> Pymncerk, we have to talk about your fee... ;)
690: [09:55:01] <Pymncerk> £100/h :D
691: [09:55:05] <ec8or> haha
692: [09:55:27] <Pymncerk> oh, ok then, £128/h, to make it a nice even number :P
693: [09:55:49] <Pymncerk> xD
694: [10:02:48] <mobiusnz> hmm, how can I get a report to not escape <br /> tags in rows?L
695: [10:03:09] * pinc_ quit ()
696: [10:05:11] * travis-ci has joined #silverstripe
697: [10:05:12] <travis-ci> silverstripe/silverstripe-framework#5457 (master - 60f7c66 : Damian Mooyman): The build has errored.
698: [10:05:12] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/c170f90d5eaf...60f7c660d05a
699: [10:05:12] <travis-ci> Build details : https://travis-ci.org/silverstripe/silverstripe-framework/builds/73344041
700: [10:05:12] * travis-ci has left #silverstripe
701: [10:07:47] <mobiusnz> nm, found it
702: [10:07:49] <mobiusnz> ('casting' => 'Text->Raw')
703: [10:13:52] <ss-helper> [error] forTemplate() - http://www.silverstripe.org/community/forums/general-questions/show/102722
704: [10:17:34] * spronka has joined #silverstripe
705: [10:21:22] * irogue quit (Quit: My Mac has gone to sleep. ZZZzzz…)
706: [10:22:58] * zippy has joined #silverstripe
707: [10:23:28] <zippy> Stripe is quite nice eh
708: [10:23:57] <Pymncerk> eh?
709: [10:24:01] <Pymncerk> like, payment?
710: [10:24:18] <zippy> ya
711: [10:24:44] <spronka> hm
712: [10:24:48] <spronka> you use it?
713: [10:24:57] <zippy> you can get an account without actually signing up, so you can do test purchases and see them on your dashboard etc
714: [10:25:12] <zippy> and the swtich between live and test mode is cool
715: [10:25:31] <zippy> not in NZ yet :( but added it in for a AU client
716: [10:25:36] <spronka> mm
717: [10:25:41] <ec8or> they accept Bitcoin now as well (if you got a US bank account)
718: [10:25:51] <ec8or> pretty cool
719: [10:26:04] <zippy> people still use it?
720: [10:26:17] <ec8or> :)
721: [10:27:12] * travis-ci has joined #silverstripe
722: [10:27:13] <travis-ci> silverstripe/silverstripe-framework#5458 (3.2 - 4373c87 : Daniel Hensby): The build passed.
723: [10:27:13] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/4ca523718519...4373c8716ba4
724: [10:27:13] <travis-ci> Build details : https://travis-ci.org/silverstripe/silverstripe-framework/builds/73349531
725: [10:27:13] * travis-ci has left #silverstripe
726: [10:27:15] <Pymncerk> zippy: an* AU client
727: [10:28:57] <ss-helper> Re: [error] forTemplate() - http://www.silverstripe.org/community/forums/general-questions/show/102722#post403171
728: [10:31:29] <mobiusnz> hmm, does the SS ORM get() filter work across relationships?
729: [10:31:53] <mobiusnz> trying to do something like: Attendee::get()->filter(array('Registration.Year' => date('Y'))) where Registration is a $has_one
730: [10:33:03] <Pymncerk> mobiusnz: should do, yeah.
731: [10:33:32] <mobiusnz> Pymncerk: any idea on the syntax? the above gives an SQL error - unknown column Registration.Year
732: [10:33:55] <zippy> mobiusnz: is there a colum called Year on your Reitration?
733: [10:34:03] <mobiusnz> yep
734: [10:34:05] <zippy> or, is it a Date field and you trying to select that year
735: [10:34:09] <Pymncerk> does the object on the other end of 'Registraion' have a feild called 'Year'?
736: [10:34:25] <Pymncerk> yeah, might need a more fully qualified date.
737: [10:34:25] <mobiusnz> the registration has a year, the attendees don't
738: [10:34:37] * travis-ci has joined #silverstripe
739: [10:34:38] <travis-ci> dhensby/silverstripe-framework#429 (3.2 - 1e20b7d : Daniel Hensby): The build is still failing.
740: [10:34:38] <travis-ci> Change view : https://github.com/dhensby/silverstripe-framework/compare/4b571e30980c...1e20b7d69818
741: [10:34:38] <travis-ci> Build details : https://travis-ci.org/dhensby/silverstripe-framework/builds/73350301
742: [10:34:38] * travis-ci has left #silverstripe
743: [10:35:04] <mobiusnz> but I want all the attendees where their registration has a year of (this year)
744: [10:35:17] <zippy> should work
745: [10:35:30] <zippy> var_dump( Attendee::get()->filter(array('Registration.Year' => date('Y')))->sql() );
746: [10:35:30] <spronka> ooo
747: [10:35:32] <zippy> and have a look
748: [10:35:35] <spronka> top gear --> amazon
749: [10:35:36] <spronka> well
750: [10:35:38] <spronka> the real top gear
751: [10:36:49] <mobiusnz> zippy: it's only selecting from the Attendee table
752: [10:37:03] <mobiusnz> …FROM "Attendee" WHERE ("Registration.Year" = '2015')
753: [10:37:16] * travis-ci has joined #silverstripe
754: [10:37:17] <travis-ci> silverstripe/silverstripe-framework#5459 (3.2 - 1e20b7d : Daniel Hensby): The build passed.
755: [10:37:17] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/4373c8716ba4...1e20b7d69818
756: [10:37:17] <travis-ci> Build details : https://travis-ci.org/silverstripe/silverstripe-framework/builds/73349938
757: [10:37:17] * travis-ci has left #silverstripe
758: [10:37:33] <Pymncerk> spronka: ha, just heard that news here across the desk.
759: [10:37:36] <zippy> hm
760: [10:37:40] <spronka> :D
761: [10:37:44] <Pymncerk> (colleague looking online)
762: [10:37:50] <spronka> obviously not working
763: [10:37:50] <spronka> ;P
764: [10:38:08] <Pymncerk> yeah, I don't think I could watch top gear hosted by Captain America.
765: [10:38:13] <spronka> lul
766: [10:38:14] <spronka> mm
767: [10:38:24] <spronka> wait
768: [10:38:26] <spronka> its not that chris evans
769: [10:38:27] <spronka> :p
770: [10:38:29] <Pymncerk> :P
771: [10:38:39] <Pymncerk> (I know, thus the amusement part of the joke)
772: [10:38:43] <spronka> :D
773: [10:38:51] <mobiusnz> hmm, just noticed the site is 3.0… I should probably update that
774: [10:39:19] <Pymncerk> If it was Captain America it might actually be watchable. But then it'd be American and probably not that good. So I dunno.
775: [10:39:36] * Stomach has joined #silverstripe
776: [10:39:39] <spronka> indeed
777: [10:44:03] <ss-helper> Re: Member Profile Module Order of Verification Emails - http://www.silverstripe.org/community/forums/all-other-modules/show/102709#post403172
778: [10:47:45] <mobiusnz> w00t
779: [10:47:56] <mobiusnz> 3.1.13 does the cross-object linking
780: [10:49:00] <zippy> fuck im tired
781: [10:51:29] * cloph_away is now known as cloph
782: [10:54:46] * travis-ci has joined #silverstripe
783: [10:54:47] <travis-ci> dhensby/silverstripe-framework#430 (master - 60f7c66 : Damian Mooyman): The build passed.
784: [10:54:47] <travis-ci> Change view : https://github.com/dhensby/silverstripe-framework/compare/130eb8ed02f5...60f7c660d05a
785: [10:54:47] <travis-ci> Build details : https://travis-ci.org/dhensby/silverstripe-framework/builds/73350319
786: [10:54:47] * travis-ci has left #silverstripe
787: [10:59:01] * travis-ci has joined #silverstripe
788: [10:59:02] <travis-ci> dhensby/silverstripe-framework#431 (3.2 - 131f7df : Daniel Hensby): The build is still failing.
789: [10:59:02] <travis-ci> Change view : https://github.com/dhensby/silverstripe-framework/compare/1e20b7d69818...131f7dfee546
790: [10:59:02] <travis-ci> Build details : https://travis-ci.org/dhensby/silverstripe-framework/builds/73353264
791: [10:59:02] * travis-ci has left #silverstripe
792: [10:59:08] <ss-helper> Form Placement - http://www.silverstripe.org/community/forums/form-questions/show/102723
793: [10:59:42] * Stomach quit (Quit: zzz)
794: [10:59:46] * r_hector quit (Remote host closed the connection)
795: [11:01:16] * Vedran__ has joined #silverstripe
796: [11:01:41] <Vedran__> anyone had the problem where you add a new field to $db array and dev flush doesnt create anything?
797: [11:01:50] <Vedran__> *dev/build?flush
798: [11:02:17] <Jakx> sspaste?
799: [11:02:58] <Vedran__> http://kopy.io/nVDmG
800: [11:03:37] <Vedran__> hrm... the field is in db. The CMS isnt showing the checkbox
801: [11:03:50] <Pymncerk> it won't if you've done it more than once.
802: [11:04:03] * Jakx has left #silverstripe
803: [11:04:18] <Vedran__> Pymncerk: sorry?
804: [11:04:41] <Pymncerk> it'll only show creation the very first time you build. If you miss it it's not going to show it again the next time you run it.
805: [11:05:13] <Vedran__> oh yes. sorry I got that (thats why i check db to make sure im not loosing my mind) ;)
806: [11:05:41] <Vedran__> is there anything wrong (syntax wise) for checkbox fiedl?
807: [11:05:44] <Vedran__> *field even
808: [11:12:48] * mobiusnz quit (Ping timeout: 244 seconds)
809: [11:26:21] * Vedran__ quit ()
810: [11:29:19] <ss-helper> 온라인바카라사이트 //OHD7.COM// 아시안카지노 - http://www.silverstripe.org/community/forums/installing-silverstripe/show/102731
811: [11:29:19] <ss-helper> 실시간바카라 //OHD7.COM// 아시안카지노 - http://www.silverstripe.org/community/forums/installing-silverstripe/show/102730
812: [11:29:19] <ss-helper> 라이브바카라 //OHD7.COM// 아시안카지노 - http://www.silverstripe.org/community/forums/installing-silverstripe/show/102729
813: [11:29:19] <ss-helper> 생중계바카라 //OHD7.COM// 아시안카지노 - http://www.silverstripe.org/community/forums/installing-silverstripe/show/102728
814: [11:29:19] <ss-helper> 생방송바카라 //OHD7.COM// 아시안카지노 - http://www.silverstripe.org/community/forums/installing-silverstripe/show/102727
815: [11:29:20] <ss-helper> 인터넷바카라 //OHD7.COM// 아시안카지노 - http://www.silverstripe.org/community/forums/installing-silverstripe/show/102726
816: [11:29:20] <ss-helper> 온라인바카라 //OHD7.COM// 아시안카지노 - http://www.silverstripe.org/community/forums/installing-silverstripe/show/102725
817: [11:29:21] <ss-helper> 인터넷카지노┃/OHD7.COM/┃아시안카지노 - http://www.silverstripe.org/community/forums/e-commerce-modules/show/102724
818: [11:29:24] <zippy> argh spamm
819: [11:29:37] <zippy> blast you forum spam!
820: [11:29:48] <zippy> ss23: ^ forum spam, go
821: [11:29:55] <ss-helper> 인터넷바카라사이트 //OHD7.COM// 아시안카지노 - http://www.silverstripe.org/community/forums/installing-silverstripe/show/102732
822: [11:30:28] * lerni_ quit (Remote host closed the connection)
823: [11:33:27] <swaiba> zippy - blasted!
824: [11:33:46] <zippy> :)
825: [11:34:06] <zippy> swaiba: do you keep the irc channel open in some window somewhere? what made you look here
826: [11:34:49] <swaiba> zippy, I use CIRC and I generally hang out here to learn, help and fight evil repressive spam
827: [11:35:09] <swaiba> and the spam (and moaning of it) is easily spotted
828: [11:41:18] <arnhoe> Is it possible to rewrite /services/seo to the root of the site? so /seo? While seo is still a child of services?
829: [11:41:35] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
830: [11:42:45] <zippy> well the hacky way you could do with htaccess
831: [11:42:51] <zippy> but if you change the url that'd break
832: [11:42:59] <zippy> I am pretty sure it's no supported
833: [11:43:07] <zippy> you could use a redirect page, but again thats a redirect page
834: [11:44:24] <ss-helper> Re: HTMLText Saving Error - http://www.silverstripe.org/community/forums/data-model-questions/show/102705#post403124
835: [11:44:24] <ss-helper> HTMLText Saving Error - http://www.silverstripe.org/community/forums/data-model-questions/show/102705
836: [11:44:24] <ss-helper> broken documentation for version 2.4 - http://www.silverstripe.org/community/forums/general-questions/show/102704
837: [11:44:24] <ss-helper> Parsing raw sql output - http://www.silverstripe.org/community/forums/data-model-questions/show/102703
838: [11:44:24] <ss-helper> UploadField and setValidator(). Custom Upload_Validator not functioning as expected. - http://www.silverstripe.org/community/forums/customising-the-cms/show/102702
839: [11:44:25] <ss-helper> Re: Managing multiple data objects in one CMS page - http://www.silverstripe.org/community/forums/data-model-questions/show/102699#post403117
840: [11:44:25] <ss-helper> Re: Managing multiple data objects in one CMS page - http://www.silverstripe.org/community/forums/data-model-questions/show/102699#post403116
841: [11:44:26] <ss-helper> Managing multiple data objects in one CMS page - http://www.silverstripe.org/community/forums/data-model-questions/show/102699
842: [11:44:26] <ss-helper> Re: Getting big data that make site slow response even when re-access to site by open another tab on same browser. - http://www.silverstripe.org/community/forums/data-model-questions/show/102698#post403114
843: [11:45:46] <zippy> hmm those are old eh
844: [11:47:13] <swaiba> yeah it does that sometimes zippy
845: [11:47:46] <zippy> I wonder if there is some prune method that SS runs, which pushes those items to the top of the rss
846: [11:48:29] <zippy> they're all dated 24th - so a cron that runs 6/7 days after the post to do something
847: [11:48:44] * ss-helper quit (Remote host closed the connection)
848: [11:48:50] <zippy> give the bot a restart
849: [11:48:59] * ss-helper has joined #silverstripe
850: [11:57:17] * jonners has joined #silverstripe
851: [12:08:17] * wmk quit (Read error: Network is unreachable)
852: [12:08:23] * wmk has joined #silverstripe
853: [12:13:01] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
854: [12:13:31] * UndefinedOffset has joined #silverstripe
855: [12:26:21] * darjus01 quit (Read error: Connection reset by peer)
856: [12:30:38] <Mike123> Hey guys, i have News and Events, i need to print 3 each of them but in orver like news,event,news,event et.c
857: [12:30:42] <Mike123> any tips ?
858: [12:31:09] * lerni has joined #silverstripe
859: [12:36:51] * lerni quit (Ping timeout: 252 seconds)
860: [12:46:09] * Colin[pi] has joined #silverstripe
861: [12:50:53] * travis-ci has joined #silverstripe
862: [12:50:55] <travis-ci> dhensby/silverstripe-framework#432 (3.2 - d529450 : Daniel Hensby): The build is still failing.
863: [12:50:55] <travis-ci> Change view : https://github.com/dhensby/silverstripe-framework/compare/131f7dfee546...d529450f2da4
864: [12:50:55] <travis-ci> Build details : https://travis-ci.org/dhensby/silverstripe-framework/builds/73368621
865: [12:50:55] * travis-ci has left #silverstripe
866: [12:53:44] * jonners quit (Remote host closed the connection)
867: [12:57:54] * jonners has joined #silverstripe
868: [13:00:54] * jonners quit (Remote host closed the connection)
869: [13:02:25] <swaiba> bit vague Mike123 but I'd recommend any of the news modules and tinker with the templates
870: [13:04:21] <ss-helper> Re: Form in custom GridFieldComponent - http://www.silverstripe.org/community/forums/customising-the-cms/show/102711#post403189
871: [13:12:11] * Colin[pi] quit (Ping timeout: 246 seconds)
872: [13:16:58] * travis-ci has joined #silverstripe
873: [13:16:59] <travis-ci> dhensby/silverstripe-framework#433 (3.2 - 64f831b : Daniel Hensby): The build is still failing.
874: [13:16:59] <travis-ci> Change view : https://github.com/dhensby/silverstripe-framework/compare/d529450f2da4...64f831b969a1
875: [13:16:59] <travis-ci> Build details : https://travis-ci.org/dhensby/silverstripe-framework/builds/73372460
876: [13:16:59] * travis-ci has left #silverstripe
877: [13:32:03] * spronka quit (Quit: My Mac has gone to sleep. ZZZzzz…)
878: [13:33:02] * lerni has joined #silverstripe
879: [13:37:06] * lerni quit (Ping timeout: 240 seconds)
880: [13:45:38] * sekjal has joined #silverstripe
881: [13:46:09] * jonners has joined #silverstripe
882: [13:46:28] <sekjal> good <localtime>, #silverstripe
883: [13:50:00] <swaiba> sekjal ?
884: [13:50:36] <sekjal> well, it's morning here, but I didn't want to assume it's the same for everyone else
885: [13:51:53] <swaiba> ha
886: [13:52:08] <swaiba> now i get it, my related timebased greeting
887: [13:58:44] * cupcake has joined #silverstripe
888: [14:00:48] <cupcake> hey guys
889: [14:00:59] <cupcake> I am using readonlyfield
890: [14:01:05] * Sj0hn quit ()
891: [14:01:12] <cupcake> but when validation is happening
892: [14:01:22] <cupcake> these field's value get set to (none)
893: [14:01:26] <cupcake> what is the workaround?
894: [14:02:05] <swaiba> hey cupcake
895: [14:02:26] <swaiba> I'd use a literalfield instead if it is totaly read only
896: [14:10:24] * jonners quit (Remote host closed the connection)
897: [14:11:58] <cupcake> but then i have to format everything... not ideal
898: [14:13:53] * jonners has joined #silverstripe
899: [14:14:48] * lerni has joined #silverstripe
900: [14:18:36] <swaiba> cupcake indeed and yes I have a standard "styling" for this, but I've had too many problems with readonly over time
901: [14:45:54] * Mike123 quit (Quit: Page closed)
902: [14:54:37] * joelpittet has joined #silverstripe
903: [14:59:04] <wmk> sekjal, always greet in UGT...
904: [15:00:27] * zfmf has joined #silverstripe
905: [15:00:32] <sekjal> wmk: that works
906: [15:04:47] <sekjal> I'm looking at developing an Ontology module. It would be like the big sister of the taxonomy module, with arbitrary, configurable relationships between terms (rather than just parent/child)
907: [15:05:04] <sekjal> does this sound like a worthwhile endeavor to folks, or just needlessly complicated coding?
908: [15:05:35] <sekjal> It may be overkill for my own use case, but if others in the community might find it useful, it'd be worth the extra headaches to write, I think
909: [15:10:08] * muskie9 has joined #silverstripe
910: [15:19:43] <swaiba> sekjal my feedback is that tags are often limiting or need too many tag instances to make
911: [15:20:01] <swaiba> so the system gets polluted with tag types
912: [15:20:43] * jonners quit (Remote host closed the connection)
913: [15:20:50] <swaiba> however I would find the ability to "intelligently" tag every record of every object in a meaningful way very useful
914: [15:27:01] * jonners has joined #silverstripe
915: [15:28:10] * arnhoe quit ()
916: [15:34:46] * joelpittet quit (Remote host closed the connection)
917: [15:35:43] * joelpittet has joined #silverstripe
918: [15:36:49] * wmk quit (Ping timeout: 244 seconds)
919: [15:37:58] <Pymncerk> sekjal: how do things not in trees represent?
920: [15:38:00] <Pymncerk> idgi
921: [15:40:09] * joelpittet quit (Ping timeout: 255 seconds)
922: [15:41:22] <Pymncerk> I suppose it'd be like assigning roles to users.
923: [15:41:23] * Pymncerk shrugs
924: [15:43:32] * lerni quit ()
925: [15:44:22] <sekjal> swaiba: okay, so intelligent bulk tagging as a feature.
926: [15:45:03] <sekjal> Pymncerk: not sure about display yet. how related terms work would probably be configured with the relationship
927: [15:45:34] <sekjal> I was thinking of adding fields for 'order' and 'weight' to the relationship, should that be semantically meaningful
928: [15:46:43] <sekjal> would probably need to provide a reasonable way to extend the functionality of the relationships, so developers could add custom logic with their custom relationship types
929: [15:47:31] <Pymncerk> it sounds like you're basically re-doing relationships.
930: [15:47:40] <Pymncerk> on an instance level
931: [15:47:45] <Pymncerk> instead of class level.
932: [15:47:51] <Pymncerk> not sure of the usefulness of that.
933: [15:48:00] <Pymncerk> what's a usecase?
934: [15:49:14] <sekjal> my original usecase was a thesaurus: set of terms with Broader Terms (BT), Narrower Terms (NT) and Related Terms (RT), where BT and NT are inverses, and RT is inverse of itself
935: [15:50:02] <swaiba> My use case is a document / anything management system
936: [15:50:16] <swaiba> so like I can have many objects all linked loosely
937: [15:50:36] <swaiba> like house and bills can be linked but without a real relationship
938: [15:50:46] <swaiba> this is where the intelegent tags come in a bit
939: [15:51:07] <sekjal> as I was facing the daunting task of coming up with rules for my institution to use to organize the assets directory, I thought that perhaps tagging in this context would be useful
940: [15:51:13] <sekjal> swaiba: that, yes
941: [15:51:16] <swaiba> like if I tag one thing, then it would refine / suggest tags to further clarify
942: [15:52:11] <Pymncerk> not entirely following, but so long as you have a sound usecase then it makes it more viable.
943: [15:53:03] <sekjal> I'm a librarian, so I'm prone to over-organizing things
944: [15:54:18] <sekjal> my initial stab at a thesaurus module had the BT and NT implemented, but in practice the multiple parents possibility wasn't used
945: [15:54:27] <sekjal> folks just wanted a tree
946: [15:55:51] * nontgor quit (Read error: Connection reset by peer)
947: [15:55:56] * neilfse__ quit (Remote host closed the connection)
948: [15:56:19] <swaiba> library, how bizare was just looking at this... https://github.com/howardgrigg/simple-library
949: [15:56:39] <sekjal> oooh
950: [15:56:51] <swaiba> sekjal I know the engineers mind can get carried anyway
951: [15:57:02] <swaiba> as I said mine is to orgainse everything
952: [15:57:05] <sekjal> I used to work on Koha, the open source Integrated Library System out of NZ
953: [15:57:10] <swaiba> I've got a vision of a paperless home
954: [15:57:19] <sekjal> swaiba: as do I
955: [15:57:30] <Pymncerk> build us a dewey decimal system.
956: [15:57:33] <Pymncerk> :P
957: [15:57:47] <ss23> https://www.youtube.com/watch?v=NHiUQb5xg7A
958: [16:00:39] <swaiba> ss23 that is some dope, fresh & ill library rap
959: [16:00:44] <ss23> lol
960: [16:03:48] <sekjal> ss23: reminds me of the advert for the public library I was in as a kid
961: [16:04:03] <sekjal> something about the quality of the shelving...
962: [16:05:01] * DimiStripe quit (Quit: DimiStripe)
963: [16:12:00] * neilfse__ has joined #silverstripe
964: [16:16:21] <Pymncerk> FFFFFFFFFFFFFFFFFFFFFF Extension doesn't inherit from Object.
965: [16:16:24] <Pymncerk> Fuck.
966: [16:25:14] * sham has joined #silverstripe
967: [16:28:55] <ec8or> is there anyway to just loop in a template
968: [16:29:15] <ec8or> like <% control(3) %> <li>dummy data</li <% end_control %>
969: [16:30:39] * kinglozzer quit ()
970: [16:30:55] * joelpittet has joined #silverstripe
971: [16:33:43] <swaiba> quitting time
972: [16:33:45] * swaiba quit (Remote host closed the connection)
973: [16:36:40] <Pymncerk> yup
974: [16:36:43] * Pymncerk quit ()
975: [16:36:47] * jonners quit (Remote host closed the connection)
976: [16:44:29] * DimiStripe has joined #silverstripe
977: [16:47:00] * sham quit (Ping timeout: 246 seconds)
978: [17:00:24] * zfmf quit ()
979: [17:07:36] * jonners has joined #silverstripe
980: [17:09:56] * wmk has joined #silverstripe
981: [17:10:53] * GioVdK quit (Ping timeout: 246 seconds)
982: [17:11:51] * jonners quit (Ping timeout: 252 seconds)
983: [17:33:19] * gelignite has joined #silverstripe
984: [17:34:09] * tgfisher has joined #silverstripe
985: [17:35:44] <tgfisher> Within my template, I'm trying to use URLSegment inside of a Control block and I can't get it to work.
986: [17:35:53] <tgfisher> Anyone able to help me out?
987: [17:37:14] <ec8or> tgfisher: pastebin?
988: [17:37:29] <wmk> !paste tgfisher
989: [17:37:30] <ss-helper> tgfisher: Please paste your code using something like http://kopy.io/ or http://www.sspaste.com/ or https://gist.github.com/ and then paste the link here.
990: [17:37:33] <tgfisher> I'm building one now
991: [17:38:00] <wmk> tgfisher, control block... are you using SS2.4 or 3.x
992: [17:38:01] <wmk> ?
993: [17:38:11] <tgfisher> 2.4 :X
994: [17:38:15] <wmk> ok.
995: [17:38:28] <wmk> you know it's end of life?
996: [17:40:26] <tgfisher> I do. We're moving off of it in a month or so.
997: [17:40:38] <tgfisher> Unfortunately making the jump to Drupal...
998: [17:40:43] <tgfisher> :(
999: [17:40:45] <tgfisher> http://www.sspaste.com/paste/show/55ba6170a66a3
1000: [17:41:05] <tgfisher> wmk: ^
1001: [17:41:17] <tgfisher> ec8or: ^
1002: [17:41:33] <wmk> tgfisher, why drupal?
1003: [17:41:49] <tgfisher> I'm being forced to move to it. Organizational decision.
1004: [17:42:28] <tgfisher> I really like SS. I'm pretty bummed to be moving away from it.
1005: [17:42:32] <wmk> ok, but WHY? any reasons you can tell us?
1006: [17:43:53] <wmk> tgfisher, https://docs.silverstripe.org/en/2.4/reference/advanced-templates/#if-blocks
1007: [17:43:56] <tgfisher> I work at a University and Drupal has a large footprint here. We were the only ones running SS.
1008: [17:44:14] <wmk> did you try <% if URLSegment == hr-representatives %> ??
1009: [17:44:49] <tgfisher> ah... everything I saw was using singles...
1010: [17:45:00] <tgfisher> let me give it a shot...
1011: [17:45:00] <sekjal> tgfisher: my case, also! Drupal for the bulk of campus, SS for us
1012: [17:45:16] <tgfisher> sekjal: US university?
1013: [17:45:34] <sekjal> tgfisher: yes, UMass Amherst
1014: [17:45:53] <tgfisher> sekjal: Awesome. Penn State University, here.
1015: [17:46:19] <wmk> well, drupal does some stuff different. I like most that i can configure pretty much in code
1016: [17:46:28] <wmk> so it's in git and on test/live server at a glance
1017: [17:46:41] <wmk> no clicking around
1018: [17:47:01] <wmk> tgfisher, == works?
1019: [17:47:27] <tgfisher> it isn't failing, but I don't think I can hit URLSegment inside the control block
1020: [17:47:36] <tgfisher> do I need to control it with Top?
1021: [17:49:43] <tgfisher> wmk: ^
1022: [17:49:48] <wmk> depends if URLSegment is in current scope (Group) or global (then use $Up or $Top)
1023: [17:51:09] <ss-helper> after the capital controls im - http://www.silverstripe.org/community/forums/installing-silverstripe/show/102739
1024: [17:52:50] <tgfisher> wmk: URLSegment is available in Top, but I can't seem to figure out where to end the control for Top, while being nested in Group
1025: [17:53:24] <wmk> $Top.URLSegment ??
1026: [17:53:43] <tgfisher> wmk: I can't use $ inside <%
1027: [17:53:57] <tgfisher> so I have to wrap it with a Control
1028: [17:54:04] <tgfisher> or at least that is my understanding
1029: [17:55:03] <wmk> hmm i'm used to 3.x syntax now...
1030: [17:55:20] <wmk> Did you try Top.URLSegment == ...
1031: [17:56:08] <tgfisher> wmk: Top. does not work
1032: [17:57:06] <wmk> that's bad ;)
1033: [17:57:22] * wmk tries to remember good ol' 2.4 times(tm)
1034: [17:58:44] <wmk> tgfisher, so it's basically: if you're on URL "foo" AND it'S an HRRepUnit show the HRRepUnit; If you're on any other URL AND it's a Division show the Division
1035: [17:58:44] <wmk> ??
1036: [17:59:02] <tgfisher> wmk: exactly
1037: [17:59:07] <wmk> ok.
1038: [17:59:42] <wmk> 1) why don't you modify the getter to give you only HRReps when you're on URL Foo and Divisions on other urls?
1039: [18:04:23] <tgfisher> I tried that. So you're saying create methods in the Controller to look at URLSegment and return what I need?
1040: [18:06:14] <ss-helper> Re: SS3 sitetree ordering issues - http://www.silverstripe.org/community/forums/general-questions/show/20519#post403191
1041: [18:07:26] <wmk> tgfisher, yup
1042: [18:08:18] * jonners has joined #silverstripe
1043: [18:14:04] * jonners quit (Ping timeout: 272 seconds)
1044: [18:21:47] <tgfisher> wmk: my Groups wouldn't have access to the Controller
1045: [18:22:05] <tgfisher> that is where I have it pulling Divisions and HRRepUnit
1046: [18:22:08] <tgfisher> * Division
1047: [18:23:01] <tgfisher> I need access to the Controller to get URLSegment
1048: [18:23:20] <wmk> well
1049: [18:23:29] <wmk> depends on where you get Groups
1050: [18:23:33] <wmk> from
1051: [18:23:49] <tgfisher> so how could I pull the Division and HRRepUnit from the Directory control?
1052: [18:24:13] <tgfisher> Directory is the control I have right outside of Groups
1053: [18:24:24] <tgfisher> and it is just a PageController
1054: [18:25:28] <tgfisher> let me do a sspaste of that controller
1055: [18:25:31] <tgfisher> hang on...
1056: [18:26:33] <tgfisher> wmk: http://www.sspaste.com/paste/show/55ba6c5015e91
1057: [18:26:44] <wmk> well, what is "Directory" ? a relation?
1058: [18:27:44] <wmk> ah, see i
1059: [18:27:45] <wmk> t
1060: [18:28:08] <wmk> so in your method Directory() you return a DataObjectSet of Group DOs
1061: [18:28:12] <tgfisher> yeah
1062: [18:28:30] <tgfisher> so should I modify that to be URLSegment aware?
1063: [18:28:33] <wmk> in your Directory() you have to check the current URL ($this->URLSegment)
1064: [18:28:42] <wmk> and alter the WHERE statement
1065: [18:30:51] * joelpitt_ has joined #silverstripe
1066: [18:34:47] * joelpittet quit (Ping timeout: 240 seconds)
1067: [18:38:35] * mobiusnz has joined #silverstripe
1068: [18:50:55] * sekjal quit (Quit: Ex-Chat)
1069: [18:54:09] * zippy has joined #silverstripe
1070: [18:56:12] * zippy quit (Read error: Connection reset by peer)
1071: [18:58:44] <tgfisher> wmk: you still around?
1072: [18:58:49] <tgfisher> wmk: http://www.sspaste.com/paste/show/55ba73ca0c752
1073: [18:59:14] <tgfisher> DirectoryPage_Controller::Directory is returning NULL
1074: [19:00:05] <tgfisher> ah. I know what the problem is...
1075: [19:01:40] <wmk> got it?
1076: [19:01:51] <tgfisher> I know why it is pulling NULL. :)
1077: [19:01:57] <wmk> fine
1078: [19:02:13] <tgfisher> let me re-work this. thanks for your help.
1079: [19:02:19] * Stomach has joined #silverstripe
1080: [19:06:12] * Stomach quit (Client Quit)
1081: [19:10:06] * jonners has joined #silverstripe
1082: [19:15:22] * jonners quit (Ping timeout: 244 seconds)
1083: [19:17:58] * Stomach has joined #silverstripe
1084: [19:22:45] * UndefinedOffset quit (Quit: Leaving.)
1085: [19:23:01] * UndefinedOffset has joined #silverstripe
1086: [19:25:39] * UndefinedOffset quit (Disconnected by services)
1087: [19:25:40] * UndefinedOffset1 has joined #silverstripe
1088: [19:37:23] <Firesphere> http://teespring.com/ceMechanic#pid=2&cid=2397&sid=back
1089: [19:37:28] <Firesphere> I ordered :|
1090: [19:37:42] * Stomach quit (Quit: zzz)
1091: [19:39:49] * mobiusnz quit (Quit: Leaving.)
1092: [19:40:33] <muskie9> for a functions args, if I type hint a parent class as an arg, will it not allow subclasses
1093: [19:40:59] <Firesphere> That makes sense
1094: [19:54:43] * Colin[pi] has joined #silverstripe
1095: [20:07:34] * mobiusnz has joined #silverstripe
1096: [20:09:04] * travis-ci has joined #silverstripe
1097: [20:09:05] <travis-ci> dhensby/silverstripe-framework#434 (pulls/default-cast - 2764e70 : Daniel Hensby): The build has errored.
1098: [20:09:05] <travis-ci> Change view : https://github.com/dhensby/silverstripe-framework/compare/29d2060e3dbb...2764e70cfd43
1099: [20:09:05] <travis-ci> Build details : https://travis-ci.org/dhensby/silverstripe-framework/builds/73445394
1100: [20:09:05] * travis-ci has left #silverstripe
1101: [20:09:14] * Stomach has joined #silverstripe
1102: [20:09:30] * mobiusnz quit (Client Quit)
1103: [20:11:52] * jonners has joined #silverstripe
1104: [20:14:52] * chocolatemoose has joined #silverstripe
1105: [20:16:44] * mobiusnz has joined #silverstripe
1106: [20:17:05] * jonners quit (Ping timeout: 246 seconds)
1107: [20:19:24] * chocolatemoose quit (Ping timeout: 250 seconds)
1108: [20:22:15] * UndefinedOffset1 quit (Quit: Leaving.)
1109: [20:22:35] * UndefinedOffset has joined #silverstripe
1110: [20:26:53] * UndefinedOffset quit (Ping timeout: 246 seconds)
1111: [20:27:10] * Pyromanik has joined #silverstripe
1112: [20:28:34] * pinc__ quit ()
1113: [20:28:53] * pinc_ has joined #silverstripe
1114: [20:29:48] * mobiusnz1 has joined #silverstripe
1115: [20:30:52] * mobiusnz quit (Read error: Connection reset by peer)
1116: [20:34:36] * mobiusnz1 quit (Ping timeout: 264 seconds)
1117: [20:35:07] <wmk> hmm, why isn't mysite/lang/ recognized?
1118: [20:35:41] <Pyromanik> idk
1119: [20:35:52] <Pyromanik> this whole transifex thing twists my balls
1120: [20:36:12] <wmk> not transifex, manually built (with better i18n module)
1121: [20:36:19] <Pyromanik> ooh
1122: [20:36:28] <wmk> flush doesn't seem to help
1123: [20:36:44] <Pyromanik> I think a talk on setting up translation and or the spots where SS lacks in this would be helpful.
1124: [20:36:49] <Pyromanik> although probably better as workshop.
1125: [20:36:54] <Pyromanik> wmk, what about build?
1126: [20:37:05] <Pyromanik> or tasks/collectallthemtranslations?
1127: [20:37:22] <wmk> task collected translations and built de.yml
1128: [20:40:07] * Ryan-Toast has joined #silverstripe
1129: [20:40:27] * cupcake quit (Ping timeout: 246 seconds)
1130: [20:40:40] * antmas has joined #silverstripe
1131: [20:43:41] <antmas> morning all o/
1132: [20:43:58] <antmas> Colin[pi]: you about?
1133: [20:47:27] <Ryan-Toast> Morning
1134: [20:48:03] <antmas> Ryan-Toast: you know what time it is?
1135: [20:48:07] <antmas> Ryan-Toast: (.)(.)
1136: [20:48:10] <Ryan-Toast> antmas: 8:48
1137: [20:48:13] <Ryan-Toast> am
1138: [20:48:16] <Ryan-Toast> in the morning.
1139: [20:48:20] <Ryan-Toast> on a Friday
1140: [20:48:37] <Ryan-Toast> EXACTLY ONE MONTH UNTIL I LEAVE
1141: [20:48:41] <Ryan-Toast> AWW YISS, MOTHER FUCKER
1142: [20:49:23] <antmas> Ryan-Toast: excitebike?
1143: [20:49:29] <Ryan-Toast> antmas: Manybikes
1144: [20:49:37] <antmas> Ryan-Toast: where is the first place you land?
1145: [20:49:42] <Ryan-Toast> antmas: London
1146: [20:49:50] <antmas> fuckeeen LUNDUN
1147: [20:49:52] <Ryan-Toast> Well technically LA, but that’s just a re-fuel stop./
1148: [20:50:18] <antmas> Ryan-Toast: ever been that far before?
1149: [20:50:25] <Ryan-Toast> antmas: nope.
1150: [20:50:29] <Ryan-Toast> Then this for a month: http://www.contiki.com/destinations/europe/tours/113-european-escapade
1151: [20:52:40] <antmas> Ryan-Toast: wicked bro, that should be pretty awesome
1152: [20:52:47] <antmas> had a friend do that 2 years ago
1153: [20:55:54] <antmas> guys I have this on my homepage http://www.sspaste.com/paste/show/55ba8f2a9ce21
1154: [20:56:09] <antmas> annnnnd over on Page.php I'm checking for status code of that rss feed url
1155: [20:56:13] <antmas> http://www.sspaste.com/paste/show/55ba8cee940f1
1156: [20:56:47] <antmas> can anyone see why it wouldn't work? Checking to see if I can get a 200 code, if not then set url to nothing
1157: [20:59:36] * DanaeNZ has joined #silverstripe
1158: [21:00:34] <Stomach> use Simple
1159: [21:00:36] <Stomach> Pie
1160: [21:00:37] <Stomach> mmmm
1161: [21:00:38] <Stomach> pie
1162: [21:00:56] <DanaeNZ> PIE
1163: [21:00:57] <DanaeNZ> ?
1164: [21:03:07] * benjhocking1 has joined #silverstripe
1165: [21:05:23] * benjhocking quit (Ping timeout: 250 seconds)
1166: [21:06:36] <Pyromanik> Wholey fuck
1167: [21:06:42] <Pyromanik> so I just had this thought right
1168: [21:06:52] <Pyromanik> about how much sexier prototypal inheritance is
1169: [21:07:05] <Pyromanik> because 'dependency injection' doesn't even need to be a fuck'n thing.
1170: [21:07:13] <Pyromanik> just... swap out prototypes willy nilly
1171: [21:07:59] <Pyromanik> Yet we have JS becoming more and more (syntactically) like a class based language because fucking derphead morons can't get their brains around it.
1172: [21:08:09] <Pyromanik> ie, web developers.
1173: [21:08:52] <Pyromanik> Ryan-Toast, so got your US visa sorted?
1174: [21:09:01] <Ryan-Toast> Pyromanik: Onl;y need that stopoff thing
1175: [21:09:07] <Ryan-Toast> cost $14
1176: [21:09:07] <Pyromanik> it's a visa.
1177: [21:09:18] <Pyromanik> no, $14USD
1178: [21:09:20] <Ryan-Toast> yeah, I did it online.
1179: [21:09:53] <Pyromanik> I just went the other way, lol. Fuck that.
1180: [21:10:30] <Pyromanik> Might come back that way though. But I'll go via Canada if so, because fuck the USA.
1181: [21:10:46] <Pyromanik> Dun wanna get shot by a cop :<
1182: [21:11:03] <Ryan-Toast> I don’t get to leave the airport :P
1183: [21:11:07] <Pyromanik> Although, I am a white male, so I might be safe :<
1184: [21:11:17] <Pyromanik> Ryan-Toast, I know how it is.
1185: [21:11:30] <Pyromanik> evaluated the same options when looking to get here.
1186: [21:11:40] <Pyromanik> But Emirates fly directly into Newcastle. Great times.
1187: [21:11:43] <Ryan-Toast> I need tio dye my hair blonde before I go to Germany.
1188: [21:11:52] <Pyromanik> Why>
1189: [21:12:11] <Ryan-Toast> So when I say I’m dutch, people will believe me.
1190: [21:12:17] <Ryan-Toast> Tall blonde guy = dutch
1191: [21:12:21] <Pyromanik> lol
1192: [21:12:29] <Pyromanik> Firesphere isn't /that/ tall.
1193: [21:12:31] <DanaeNZ> my ex was travelling around sweden
1194: [21:12:36] <DanaeNZ> people thought he was a local
1195: [21:12:43] <DanaeNZ> and kept asking directions in swedish
1196: [21:12:51] <Pyromanik> Because he spoke fluent Svenska without an accent?
1197: [21:13:01] <DanaeNZ> apparently aryan = swedish
1198: [21:13:05] <Pyromanik> ROFL DanaeNZ, that shit keeps happening to me too.
1199: [21:13:24] <Pyromanik> Better yet, I answer them (although it's normally in English to be fair)
1200: [21:13:34] <DanaeNZ> I’m one of those people who is always asked for directions tho
1201: [21:13:34] * Stomach quit (Quit: zzz)
1202: [21:13:38] * jonners has joined #silverstripe
1203: [21:13:51] <DanaeNZ> Pyromanik: 80% of swedes speak english tho anyway right haha
1204: [21:14:28] <Pyromanik> Yup
1205: [21:14:42] <Pyromanik> 80% of almost anywhere in Europe to be fair.
1206: [21:14:52] <Pyromanik> Heard better English in Munich than I do in England.
1207: [21:15:06] <DanaeNZ> yeah he didn’t learn a flick of any other languages on his european tour
1208: [21:15:16] <Pyromanik> wuss.
1209: [21:15:25] <DanaeNZ> actually i think he got away with just learning “Bier, bitte”
1210: [21:15:30] <DanaeNZ> “Kaffee, bitte"
1211: [21:15:42] <Pyromanik> I greeted a Hungarian in Magyar, got him super confused. Was mint.
1212: [21:15:44] <DanaeNZ> “Vill du flicka”
1213: [21:15:45] <DanaeNZ> etc
1214: [21:15:57] <DanaeNZ> ol Pyromanik the polyglot
1215: [21:16:07] <Pyromanik> lol, I only know the one word, rofl.
1216: [21:16:19] <DanaeNZ> sssshh polyglot
1217: [21:17:07] <Pyromanik> Oh, well in that case I know a fucktonne of languages.
1218: [21:17:13] <Pyromanik> If knowing one word counts :P
1219: [21:17:18] <DanaeNZ> heheheh
1220: [21:17:50] <Pyromanik> demo, nye svenska.
1221: [21:18:40] <Pyromanik> In fact, just today I learnt 'motherfucker' in Urdu and Hindi.
1222: [21:18:50] * jonners quit (Ping timeout: 240 seconds)
1223: [21:18:53] * mobiusnz has joined #silverstripe
1224: [21:19:09] <DanaeNZ> the most important word to learn in a language
1225: [21:19:17] * Hailwood has joined #silverstripe
1226: [21:19:41] <DanaeNZ> haishi, jag sprache nye po-svenska
1227: [21:19:45] <DanaeNZ> hehehehh
1228: [21:22:04] <Ryan-Toast> Få körd , bro
1229: [21:26:25] * tgfisher quit (Quit: Page closed)
1230: [21:27:01] * chocolatemoose has joined #silverstripe
1231: [21:27:46] <Firesphere> I'm only 1.83 meters tall indeed. I'm not that tall.
1232: [21:27:52] * travis-ci has joined #silverstripe
1233: [21:27:53] <travis-ci> dhensby/silverstripe-framework#435 (3.2 - 2ee71e9 : Daniel Hensby): The build is still failing.
1234: [21:27:53] <travis-ci> Change view : https://github.com/dhensby/silverstripe-framework/compare/64f831b969a1...2ee71e941357
1235: [21:27:53] <travis-ci> Build details : https://travis-ci.org/dhensby/silverstripe-framework/builds/73456857
1236: [21:27:53] * travis-ci has left #silverstripe
1237: [21:28:21] * Stomach has joined #silverstripe
1238: [21:29:25] <DanaeNZ> pinc_ know any dutch?
1239: [21:29:32] <pinc_> nein
1240: [21:29:35] <DanaeNZ> pinc_ is our resident tall guy
1241: [21:29:39] <DanaeNZ> boo
1242: [21:29:49] <DanaeNZ> to replace the old tall guy Ryan-Toast
1243: [21:29:51] <pinc_> Stop quoting the princess bridfe
1244: [21:30:04] <Ryan-Toast> DanaeNZ: You’ll never have anyone taller.
1245: [21:30:10] <Ryan-Toast> that… sounded wrong.
1246: [21:30:16] <DanaeNZ> YEAH IT DID
1247: [21:30:23] <DanaeNZ> bahahah
1248: [21:30:34] <DanaeNZ> we are heightest in this dev team
1249: [21:30:40] <DanaeNZ> heightist*
1250: [21:30:44] <Ryan-Toast> THE TALLEST DEVELOPERS IN THE LAND
1251: [21:30:50] <pinc_> lewl
1252: [21:30:53] <Ryan-Toast> My old PTL was 6’8”
1253: [21:31:00] <Ryan-Toast> That was a fun stand-up
1254: [21:31:01] * micmania1 has joined #silverstripe
1255: [21:31:06] <DanaeNZ> LOL
1256: [21:31:26] <Ryan-Toast> Especially since our QA lead was barely 5'
1257: [21:31:42] <Firesphere> What's that in metrics?
1258: [21:31:43] <DanaeNZ> did you make godzilla noises and stomp around
1259: [21:32:01] <Ryan-Toast> 207cm
1260: [21:32:02] <DanaeNZ> 150 cm
1261: [21:32:05] <DanaeNZ> woah
1262: [21:32:07] <DanaeNZ> google
1263: [21:32:08] <DanaeNZ> what
1264: [21:32:09] <DanaeNZ> are
1265: [21:32:09] <DanaeNZ> you
1266: [21:32:11] <DanaeNZ> doing
1267: [21:32:58] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
1268: [21:33:11] <Firesphere> I'm 1.87
1269: [21:33:31] <pinc_> Dont be so hard on yourself
1270: [21:33:44] <Firesphere> No, that's in meters
1271: [21:33:50] <pinc_> Save
1272: [21:34:07] <Firesphere> So, wrapped around my waist obviously.
1273: [21:34:17] <DanaeNZ> LMAO
1274: [21:34:23] <pinc_> girth counts man
1275: [21:40:14] <Firesphere> Here's something to ease your mind: https://www.youtube.com/watch?v=JozAmXo2bDE
1276: [21:41:14] * UncleCheese has joined #silverstripe
1277: [21:41:57] <DanaeNZ> Firesphere that’s awesome but also it’s hilarious you can hear their accents
1278: [21:42:36] <wmk> where is translation (yml files) parsed initially?
1279: [21:43:02] <DanaeNZ> wmk: do you mean when?
1280: [21:43:25] <wmk> well, somehow mysite/lang/de.yml isn't parsed, even if i flush like an idiot
1281: [21:43:36] <wmk> so i want to debug it, but wonder how
1282: [21:43:40] <wmk> or where...
1283: [21:43:56] <Firesphere> That's part of the manifest.
1284: [21:44:03] * micmania1 quit (Quit: micmania1)
1285: [21:44:19] <DanaeNZ> wmk: care to !paste the start of your yml file?
1286: [21:44:23] * drye has joined #silverstripe
1287: [21:44:27] <DanaeNZ> !paste
1288: [21:44:27] <ss-helper> Please paste your code using something like http://kopy.io/ or http://www.sspaste.com/ or https://gist.github.com/ and then paste the link here.
1289: [21:44:33] <DanaeNZ> UGH THANKS SS-HELPER JEEZ
1290: [21:44:35] <Firesphere> No errors wmk?
1291: [21:45:03] <wmk> Firesphere, no
1292: [21:45:05] <wmk> DanaeNZ, http://sspaste.com/paste/show/55ba9ad5ed8ef
1293: [21:45:06] <drye> ;et
1294: [21:45:36] <wmk> But _t('Foo.BAR') just returns nothing
1295: [21:46:19] <Firesphere> Manually delete the cache
1296: [21:46:29] * UncleCheese quit (Ping timeout: 265 seconds)
1297: [21:47:03] <DanaeNZ> wmk: try passing the second param as the fallback
1298: [21:47:16] <DanaeNZ> _t(‘Foo.BAR’, ‘Fallback’)
1299: [21:47:19] <drye> Let's say you have a ModelAdmin, and the DataObject it is managing has a has_one relationship with another object... by default you get a dropdown to select an existing object of that type... is there a way to instead give the option to create a new object?
1300: [21:47:49] <DanaeNZ> could be that de isn’t being used at all, ie, you’re in english lang mode
1301: [21:47:56] * micmania1 has joined #silverstripe
1302: [21:48:14] <DanaeNZ> drye: not that i know of - gridfield is used for has_many or many_many
1303: [21:48:37] <DanaeNZ> gridfield having the functionality you’re after
1304: [21:48:49] <DanaeNZ> there could be modules that would suit
1305: [21:49:58] <drye> right, in this case I really just need the one, not many... so I was looking for a fieldtype that essentially gives you a dropdown and at the top a new link, if you select new then it'd take you to the creation screen... similar to gridfield, but not exact
1306: [21:50:37] <drye> if it doesn't exists seems like it'd be a good module, so if I have to write it, I'll be sure to publish it
1307: [21:51:43] <DanaeNZ> drye: https://github.com/briceburg/silverstripe-pickerfield might be what you’re after
1308: [21:51:50] <DanaeNZ> I haven’t tried it before
1309: [21:52:09] <wmk> DanaeNZ, well, i have that string in de and en, current locale is de_DE
1310: [21:52:27] <drye> thanks DanaeNZ, looks like it... I'll give it a try!
1311: [21:52:29] <wmk> it doesn't show me the english string either, just "Fallback" now
1312: [21:53:17] <DanaeNZ> wmk: try going to /dev/tasks/i18nTextCollectorTask
1313: [21:54:02] <wmk> well, i built the files with zauberfisch 's better i18n textcolector module
1314: [21:56:25] <DanaeNZ> wmk oh, can you link me that?
1315: [21:56:46] <DanaeNZ> just wanna check it out
1316: [21:56:49] * Jakx has joined #silverstripe
1317: [21:56:56] <DanaeNZ> not sure why the rest of it ent working tho
1318: [21:57:15] <wmk> DanaeNZ, of course: https://github.com/Zauberfisch/silverstripe-better-i18n
1319: [21:58:07] <DanaeNZ> oh i see so you just go to /dev/tasks/BetterI18NTextCollectorTask?targetlocale=de,en&module=mysite&flush=1
1320: [21:58:18] <DanaeNZ> and it targets the locale
1321: [21:58:56] * Colin[pi] quit (Ping timeout: 246 seconds)
1322: [21:59:07] <DanaeNZ> !seen zauberfisch
1323: [21:59:07] <ss-helper> DanaeNZ: They're in the channel now....
1324: [21:59:37] <antmas> !seen colin[pi]
1325: [21:59:37] <ss-helper> antmas: I last saw colin[pi] 41 seconds ago
1326: [21:59:49] <DanaeNZ> haha
1327: [21:59:50] <Pyromanik> lies
1328: [21:59:58] <Pyromanik> that was Colin[po]
1329: [22:00:00] <Pyromanik> err
1330: [22:00:03] <Pyromanik> that was Colin[pi]
1331: [22:00:04] <wmk> no, saw him going out...
1332: [22:00:05] <antmas> :|
1333: [22:00:12] <antmas> drats
1334: [22:00:17] <DanaeNZ> it’s friday all right
1335: [22:00:20] <Pyromanik> Colin[pi] != colin[pi]
1336: [22:00:28] <Pyromanik> damn hippie windows FAT lovers.
1337: [22:00:43] <Pyromanik> and your non case sensitive matching :<
1338: [22:00:52] <DanaeNZ> lelelel
1339: [22:01:02] * micmania1 quit (Quit: micmania1)
1340: [22:01:22] <DanaeNZ> wanna know something scary? you can enter your password into ASB login in any case and it will pass
1341: [22:01:36] <Pyromanik> D:
1342: [22:01:48] <DanaeNZ> much scare
1343: [22:01:57] <DanaeNZ> very awful crypto
1344: [22:02:05] <Pyromanik> wow
1345: [22:02:57] <DanaeNZ> strtolower($_POST[‘Password’]) == strtolower($row->Password)
1346: [22:02:59] <DanaeNZ> amirite
1347: [22:05:52] <Pyromanik> neg
1348: [22:06:14] * micmania1 has joined #silverstripe
1349: [22:06:19] <Firesphere> No.
1350: [22:06:21] <Firesphere> No.
1351: [22:06:33] <Pyromanik> update user set password = encrypto_magics(strtolower(newpassword))
1352: [22:06:35] <Firesphere> For god's sake, do not use global variables in your own code.
1353: [22:06:54] <Pyromanik> Firesphere, is pseudocode :P
1354: [22:07:06] <Stomach> Ryan-Toast - got some guys working on your CMS theme :D
1355: [22:07:07] <Firesphere> It's creepy.
1356: [22:07:18] <Ryan-Toast> Stomach: Lol.
1357: [22:07:21] <Ryan-Toast> doing what?
1358: [22:07:25] <Stomach> I dont know
1359: [22:07:29] <Stomach> they just told me they are
1360: [22:07:32] <Pyromanik> magicing the fuck out of it
1361: [22:07:33] <Pyromanik> duh
1362: [22:07:40] <DanaeNZ> bahaha
1363: [22:07:48] <Ryan-Toast> Stomach: :P
1364: [22:08:05] <Firesphere> Sanitize it. Use the framework, but who the hell uses globals directly, unless they have to import it?
1365: [22:08:07] <Ryan-Toast> Stomach: They didn’t fork it or anyhting
1366: [22:08:14] <Stomach> noot yet
1367: [22:08:27] <Pyromanik> Firesphere, every newbie ever :<
1368: [22:08:30] <DanaeNZ> Firesphere fresh grads
1369: [22:08:37] <Pyromanik> ^
1370: [22:08:48] <DanaeNZ> fresh grads are scary
1371: [22:08:49] <Firesphere> With stupid and DanaeNZ
1372: [22:08:49] <Pyromanik> #notinventedhere ==> mustbeshit
1373: [22:08:52] <DanaeNZ> my flatmat was one
1374: [22:09:03] <DanaeNZ> flatmate*
1375: [22:09:10] <DanaeNZ> then he got a sweet job
1376: [22:09:32] <Firesphere> And created a lot of rocket-size backdoors?
1377: [22:09:52] * samlander has joined #silverstripe
1378: [22:09:57] * samlander quit (Changing host)
1379: [22:09:58] * samlander has joined #silverstripe
1380: [22:10:03] <DanaeNZ> hope not, he’s helping make default apps for samsung phones
1381: [22:10:12] <DanaeNZ> with some php framework
1382: [22:10:14] <DanaeNZ> i don’t even
1383: [22:10:22] <samlander> hey guys
1384: [22:10:23] <DanaeNZ> time to get coffee
1385: [22:10:40] <pinc_> default apps < cancer
1386: [22:10:41] * antmas remembers being a fresh grad
1387: [22:10:49] <samlander> i am completely and utterly freaking stupifieid.
1388: [22:10:55] <Pyromanik> DanaeNZ, dafuq
1389: [22:11:06] <Pyromanik> samlander, wut
1390: [22:11:10] <Pyromanik> also, hi
1391: [22:11:15] <antmas> samlander: speak your mind, padawan
1392: [22:11:26] * antmas regrest that reference
1393: [22:11:31] <antmas> also regrets*
1394: [22:11:33] <Pyromanik> pinc_, don't think I'd go that far, but they are pretty much the aids, yeh.
1395: [22:11:41] <samlander> taking a look at this: http://pastebin.com/PLqSGQSn
1396: [22:11:59] <samlander> why is it I can loop my $latestBlogPosts but i can get a freaking value from $testFunction ?
1397: [22:12:27] <Pyromanik> samlander, lol, dat copy pasta :<
1398: [22:12:46] <Pyromanik> samlander, because you' turned a freaking string.
1399: [22:12:59] <samlander> ?
1400: [22:13:02] <Pyromanik> ?
1401: [22:13:06] <samlander> is that not allowed?
1402: [22:13:12] <Pyromanik> of course it's allowed.
1403: [22:13:19] * Stomach quit (Quit: zzz)
1404: [22:13:38] <Pyromanik> how about instead of telling me there's a problem with it, tell me what it is you're trying to _do_ with it.
1405: [22:13:39] <samlander> i would anticipate where ever i used $testFunction in my .ss it would be replaced with test given that function
1406: [22:13:47] <Pyromanik> no.
1407: [22:13:51] <Pyromanik> you assumed wrong.
1408: [22:14:02] <Pyromanik> although also right.
1409: [22:14:08] <samlander> ^.^
1410: [22:14:54] <samlander> the idea is to build a function that will return the content field from a file object and parse html from the first 2 child nodes into a proper header that i can then put into my html
1411: [22:14:54] * wmk quit (Quit: nice to meet you ;))
1412: [22:15:09] <samlander> however before i tackle that, i'd like to ensure that my controller is communicating with my view
1413: [22:15:13] <samlander> hense a simple test
1414: [22:15:24] * jonners has joined #silverstripe
1415: [22:15:24] <Pyromanik> well take it out of allowed actions then
1416: [22:15:28] <Pyromanik> that's where it's wrong.
1417: [22:15:33] <antmas> ^^^
1418: [22:15:40] <Pyromanik> don't return strings in actions.
1419: [22:15:55] <Pyromanik> It's valid php, but it's wrong.
1420: [22:16:09] <samlander> what should i return in actions? only arrays?
1421: [22:16:23] <Pyromanik> only things intended for output.
1422: [22:16:31] <Pyromanik> array is a shortcut to $this->customise()
1423: [22:16:39] <Pyromanik> array is a shortcut to $this->customise($thatSameArray)
1424: [22:17:09] <samlander> ...
1425: [22:17:16] <Pyromanik> well it's a request right.
1426: [22:17:28] <Pyromanik> return either a request handler, an htmlresponse
1427: [22:17:44] <Pyromanik> or something like that.
1428: [22:18:05] <samlander> hm
1429: [22:18:23] <Pyromanik> in your template though, since this isn't even an action, it should work.
1430: [22:18:38] <Pyromanik> strings are automagic cast to text (iirc)
1431: [22:18:40] <antmas> anyone keen to help with a restfullinks qn?
1432: [22:18:47] <Pyromanik> antmas, wut
1433: [22:19:07] * mobiusnz quit (Ping timeout: 252 seconds)
1434: [22:19:09] <Pyromanik> samlander, so you should get a Text object (subclass of StringField)
1435: [22:19:12] <antmas> Pyromanik: I'm populating a list of events from an rss feed
1436: [22:19:21] <Pyromanik> antmas, LOL fucking bl man.
1437: [22:19:29] <antmas> Pyromanik: tell me about it :|
1438: [22:19:43] <antmas> it works, until the rss feed is down and my whole fucking site fails at that point
1439: [22:19:45] <antmas> \o/
1440: [22:19:48] <Pyromanik> antmas, dafuq is a restfullinks qn?
1441: [22:19:55] <Pyromanik> oh
1442: [22:20:02] <Pyromanik> @datRequest()
1443: [22:20:06] <Pyromanik> xD
1444: [22:20:21] <antmas> Pyromanik: mm I'm doing this as a start
1445: [22:20:22] <antmas> http://www.sspaste.com/paste/show/55ba8cee940f1
1446: [22:20:34] <antmas> trying to catch anything other than 200 and then set url to nadda
1447: [22:20:37] * mobiusnz has joined #silverstripe
1448: [22:20:38] * jonners quit (Ping timeout: 246 seconds)
1449: [22:21:05] <Pyromanik> uh huh
1450: [22:21:08] <Pyromanik> why it fails?
1451: [22:21:08] * Stomach has joined #silverstripe
1452: [22:21:18] <antmas> yeah it doesn't seem to do much of anything :P
1453: [22:21:33] <Pyromanik> samlander, paste template code really. Or at least tell me what comes out instead.
1454: [22:22:15] <Pyromanik> I assume nothing. In which case I'm just going to tell you it's a scope issue.
1455: [22:22:26] <Pyromanik> because 98% of the time, that's exactly what it is.
1456: [22:22:58] <Pyromanik> the other 2% is usually because it's on HomePage, and your test page isn't a HomePage.
1457: [22:23:20] <Pyromanik> which could be classified as a type of scope :P
1458: [22:24:11] <Ryan-Toast> “A package.json file scrubber for the truly insane.”
1459: [22:24:18] <Ryan-Toast> Guess I’m insane :P
1460: [22:24:29] <Pyromanik> But to further clarify your conundrum, the output to a template should be template oriented stuff (ie. ViewableData)
1461: [22:24:44] <Pyromanik> like DataList, DataObject, etc.
1462: [22:26:09] * drye quit (Ping timeout: 246 seconds)
1463: [22:27:39] * UncleCheese has joined #silverstripe
1464: [22:28:11] <Ryan-Toast> DanaeNZ: there you go: https://www.npmjs.com/package/fixpack
1465: [22:31:37] * Stomach quit (Quit: zzz)
1466: [22:32:18] <DanaeNZ> happy friday everybody
1467: [22:33:07] <antmas> DanaeNZ: \o/
1468: [22:33:56] * Stomach has joined #silverstripe
1469: [22:35:02] <DanaeNZ> \o\
1470: [22:35:26] * MichaelHabib has joined #silverstripe
1471: [22:35:27] <DanaeNZ> hey it’s national cheesecake day
1472: [22:35:50] <antmas> oohhhh cheescake
1473: [22:39:20] <MichaelHabib> Hi, is there a known problem when using the page controller to override a Model Function?
1474: [22:39:21] <MichaelHabib> Code : https://gist.github.com/DesignerX/afbc0569327f00946c65
1475: [22:39:43] <Jakx> So. How do I get my Requirements::javascriptTemplate() to render to the template, before the next Requirements::javascript()?
1476: [22:40:43] <DanaeNZ> MichaelHabib: may not work at all, if it’s in an extension. You can’t overload methods, you can only hook into existing ->extend()
1477: [22:44:18] <DanaeNZ> Jakx: where are you calling the other Requirements?
1478: [22:44:34] <Jakx> MichaelHabib, what you're asking, and your code don't quite match, as your convention of using $this->owner->Image() is for use in a DataExtension, but I'm interpreting your question as wanting to override a Page's relationship method, from the corresponding Page controller.
1479: [22:44:51] <Jakx> DanaeNZ, above and below.
1480: [22:45:08] <DanaeNZ> Jakx: I mean, in the same function?
1481: [22:45:21] <Jakx> DanaeNZ, oh right. yeah, same function (init())
1482: [22:48:01] <Pyromanik> Jakx, it should call immediately afaik
1483: [22:48:02] <antmas> :o
1484: [22:48:02] * antmas yawns
1485: [22:48:02] <antmas> :|
1486: [22:48:02] <antmas> :O
1487: [22:48:03] <antmas> :()
1488: [22:48:06] <antmas> :O
1489: [22:48:07] <antmas> :o
1490: [22:48:09] <antmas> :|
1491: [22:48:19] <DanaeNZ> congrats on the successful yawn antmas
1492: [22:48:21] <Pyromanik> Jakx, it's not all that smart though. Just a search replace for $thing with whatever you supplied for $thing
1493: [22:48:36] <antmas> DanaeNZ: thanks, I try my best
1494: [22:48:50] <DanaeNZ> Does Requirements call custom_scripts and Javascript files separately when rendering?
1495: [22:49:05] <Pyromanik> yes, I think so
1496: [22:49:19] <Jakx> http://kopy.io/Ue3ns
1497: [22:49:22] <Pyromanik> check code, it's very unsuplex
1498: [22:49:27] <Pyromanik> err uncomplex
1499: [22:49:36] <Pyromanik> incomplex
1500: [22:49:42] <Pyromanik> NOT DIFFICULT
1501: [22:49:43] <Jakx> sanscomplex?
1502: [22:49:47] <DanaeNZ> haha
1503: [22:50:13] <DanaeNZ> Jakx: it might be that you can solve this problem with propert JS scoping
1504: [22:50:18] <DanaeNZ> proper*
1505: [22:50:28] <DanaeNZ> save your vars to window for example
1506: [22:50:32] <DanaeNZ> that’s what we usually do
1507: [22:50:38] <DanaeNZ> window.var = ‘whatevs'
1508: [22:51:47] * samlander quit (Ping timeout: 246 seconds)
1509: [22:51:53] <Jakx> Nice suggestion, I shall dabble
1510: [22:52:10] * Vedran__ has joined #silverstripe
1511: [22:53:01] * Colin[pi] has joined #silverstripe
1512: [22:53:48] <antmas> Colin[pi]: so late
1513: [22:53:50] <antmas> SO late
1514: [22:54:24] * Colin[pi] is actually 6 mins early
1515: [22:54:37] <Colin[pi]> ¯\_(ツ)_/¯
1516: [22:54:58] <antmas> Colin[pi]: so late
1517: [22:54:59] <antmas> :P
1518: [22:55:01] <Ryan-Toast> “Hey, does your boilerplate use bootstrap?” Ugh…yeah sure thing: http://i.imgur.com/fetzm5Y.png
1519: [22:55:10] <Jakx> DaneaNZ, hmm, doesn't seem to work. jQuery(document.ready(function()... actually beats the windows.var definition
1520: [22:55:43] <Colin[pi]> Ryan-Toast: lol
1521: [22:56:03] <DanaeNZ> Jakx ¯\_(ツ)_/¯
1522: [22:56:29] * antmas goes to another meeting
1523: [22:56:40] <Jakx> On another note, what happened to simon_w? Anything note worthy?
1524: [22:57:09] <Colin[pi]> Jakx: I knew he deleted his ss.org account!
1525: [22:57:11] <Pyromanik> moved to Australia, got married.
1526: [22:57:11] <DanaeNZ> ah not that i know of?
1527: [22:58:09] <antmas> <Colin[pi]> Jakx: I knew he deleted his ss.org account!
1528: [22:58:22] <antmas> he then signed up to broodingss.org shortly after
1529: [22:58:41] <Ryan-Toast> antmas: lol!
1530: [22:58:48] <Pyromanik> Ryan-Toast, at first I was all "Your CSS is invalid as fuck" but then I was all "oh that sass bullshit fuck'n what nah."
1531: [22:58:49] <Jakx> antmas, he mad?
1532: [22:58:50] <Ryan-Toast> superimportantguy.com
1533: [22:59:02] <Pyromanik> Jakx, mostly.
1534: [22:59:03] <Colin[pi]> he came back here for a while
1535: [22:59:06] <antmas> lol
1536: [22:59:07] <Ryan-Toast> Pyromanik: You’re a bad developer.
1537: [22:59:10] <Ryan-Toast> :)
1538: [22:59:13] <Ryan-Toast> <3
1539: [22:59:21] <antmas> Jakx: yeah probably
1540: [22:59:29] <Pyromanik> Ryan-Toast, fuckoff, I'm e1337
1541: [22:59:31] <DanaeNZ> awks
1542: [22:59:37] <Colin[pi]> DEV FIGHT
1543: [22:59:45] <DanaeNZ> OOOHHH
1544: [22:59:48] <Ryan-Toast> Pyromanik: YOU NEED TO USE SASS YOU SCRUB
1545: [22:59:48] * antmas grabs popcorn
1546: [22:59:51] <antmas> fuck this meeting
1547: [22:59:52] <Colin[pi]> Pyromanik uses vanilla JS, it's super effective
1548: [22:59:57] <Ryan-Toast> STOP SENDING CSS HEADERS FROM PHP
1549: [22:59:58] <Jakx> Interesting. Strangely, that was my gut feel. Saw a few of his rants from time to time, and did wonder.
1550: [23:00:02] <DanaeNZ> Ryan-Toast is immune!
1551: [23:00:04] <antmas> Ryan-Toast: oooooooh he threw a css framework at him
1552: [23:00:04] <Pyromanik> Colin[pi], you betcha.
1553: [23:00:06] <antmas> boom
1554: [23:00:21] <DanaeNZ> Ryan-Toast uses Tall Guy!
1555: [23:00:37] <Ryan-Toast> Love you Pyro, but you need to sort that shit out.
1556: [23:00:47] <Ryan-Toast> scss is so beautiful
1557: [23:00:50] <DanaeNZ> IT’S SUPER EFFECTIVE
1558: [23:00:54] <Ryan-Toast> I would fuck it if I could.
1559: [23:00:55] <antmas> here we go
1560: [23:00:57] <antmas> :D
1561: [23:00:59] <Pyromanik> looks ugly as fuck from where I'm standing.
1562: [23:01:17] <DanaeNZ> BUT WHAT BUT WHY WOULDN’T YOU MY GOD
1563: [23:01:17] <Pyromanik> like cunts couldn't get their poor fucking head around the fact that // is invalid in css.
1564: [23:01:18] <Jakx> Pyromanik, do you use any css compiler?
1565: [23:01:24] <Pyromanik> OH FUCK, WHAT DO
1566: [23:01:30] <Ryan-Toast> Pyro: Get a little drnk, and your inhibitions will dissapear.
1567: [23:01:39] <Colin[pi]> http://i.imgur.com/KrAl1.gif
1568: [23:01:39] <Pyromanik> Jakx, css doesn't need compiling, it's declarative, and interpreted.
1569: [23:01:43] <DanaeNZ> Put your beer goggles on dat sass
1570: [23:01:50] <Ryan-Toast> Pyro: // gets removed on compile
1571: [23:01:59] <Pyromanik> no such thing Ryan-Toast
1572: [23:02:12] <Ryan-Toast> I don’t know what I’d do without autoprefixer
1573: [23:02:32] <Ryan-Toast> and media query combiner
1574: [23:02:38] <DanaeNZ> http://replygif.net/i/100.gif
1575: [23:02:41] <Pyromanik> it's a goddamn preprocessor, not a compiler. It's not turning shit into machine code; it's not a compiler.
1576: [23:02:53] <Ryan-Toast> and pixrem fallbacks
1577: [23:03:08] <DanaeNZ> and fucking NESTED DECLARATIONS OH MY GOD
1578: [23:03:10] <Jakx> Pyromanik, sorry, my bad. Do you use a css pre-processor?
1579: [23:03:14] <Ryan-Toast> I have a CLI command that makes it output in binary
1580: [23:03:25] <Pyromanik> Jakx, nope, nor a js one.
1581: [23:03:32] <Pyromanik> oh wait, yes I do.
1582: [23:03:32] <DanaeNZ> GEt out of my house
1583: [23:03:39] <Pyromanik> MY FUCKING BRAIN, bitches.
1584: [23:03:44] <Pyromanik> xD
1585: [23:03:47] <Jakx> Pyromanik, lol
1586: [23:03:49] <Pyromanik> <3
1587: [23:03:58] <Jakx> Pyromanik, your brain spends more time than it needs to.
1588: [23:04:15] <Pyromanik> My brain stays relevant and sharp.
1589: [23:04:25] <Colin[pi]> my brain smells like cat food
1590: [23:04:33] <DanaeNZ> http://replygif.net/i/100.gif
1591: [23:04:44] <Jakx> Ryan-Toast's brain smells like afterbirth
1592: [23:04:52] <DanaeNZ> no that’s our dog
1593: [23:04:58] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
1594: [23:05:13] <pinc_> I'm right here d
1595: [23:05:19] <DanaeNZ> >>
1596: [23:05:24] <DanaeNZ> i mean <<
1597: [23:05:57] * spronk has joined #silverstripe
1598: [23:06:20] <Pyromanik> deal with it
1599: [23:06:44] <Jakx> DanaeNZ, who is "our"?
1600: [23:06:56] <DanaeNZ> company dog
1601: [23:06:59] <DanaeNZ> i mean
1602: [23:07:01] <DanaeNZ> dawd
1603: [23:07:03] <DanaeNZ> dawg*
1604: [23:07:05] <DanaeNZ> yo dawg
1605: [23:07:14] <DanaeNZ> pinc_ is my dawg
1606: [23:07:21] <pinc_> ruff
1607: [23:07:45] * mahfuz has joined #silverstripe
1608: [23:07:46] <Pyromanik> so liek, i'm a fuck'n wizard.
1609: [23:07:57] <Colin[pi]> https://i.imgur.com/ateqr9h.gif
1610: [23:08:23] <Pyromanik> rofl Colin[pi] - looks just like Ryan-Toast
1611: [23:08:49] <DanaeNZ> bahaha
1612: [23:08:54] <DanaeNZ> he’s not in the room rn
1613: [23:09:02] <pinc_> and he had a haircut
1614: [23:09:39] <DanaeNZ> good remembering pinc_
1615: [23:09:45] <pinc_> ruff
1616: [23:17:10] * jonners has joined #silverstripe
1617: [23:17:32] * mobiusnz quit (Quit: Leaving.)
1618: [23:18:25] * zlinux has joined #silverstripe
1619: [23:19:02] <DanaeNZ> silverstripe publish to facebook
1620: [23:19:07] <DanaeNZ> any modules?
1621: [23:19:07] <Colin[pi]> loooool: https://www.reddit.com/r/Windows10/comments/3f5won/tablet_view_is_showing_saved_porn_images/
1622: [23:21:57] * mobiusnz has joined #silverstripe
1623: [23:22:26] * mobiusnz quit (Client Quit)
1624: [23:22:33] * jonners quit (Ping timeout: 252 seconds)
1625: [23:23:09] <DanaeNZ> i think i’ll change my github name to danaenz
1626: [23:23:16] <DanaeNZ> but should I use camelcase?
1627: [23:23:22] <DanaeNZ> hlep
1628: [23:24:27] <Colin[pi]> DanaeNZ: I created my work github name as PraxisNetAu, but at the time I didn't realize that composer needs lowercase only
1629: [23:24:30] <Colin[pi]> which annoys me
1630: [23:24:44] <DanaeNZ> ah reals
1631: [23:24:47] <DanaeNZ> lowercase it is
1632: [23:24:49] <Colin[pi]> so I was thinking of changing it
1633: [23:25:13] <DanaeNZ> i think earlier the better, ha
1634: [23:25:18] <Colin[pi]> mm
1635: [23:26:14] <Pyromanik> DanaeNZ, a few I think
1636: [23:26:30] <Pyromanik> Colin[pi], you fkn
1637: [23:26:32] <Pyromanik> srs/
1638: [23:26:38] <Pyromanik> m80>
1639: [23:26:39] <Pyromanik> ?
1640: [23:26:41] <Pyromanik> FUCK
1641: [23:26:45] <DanaeNZ> u wot m8
1642: [23:26:48] <Pyromanik> dammit fingers, work keys better
1643: [23:26:59] <DanaeNZ> would you like a dialing wand?
1644: [23:27:14] <Colin[pi]> Pyromanik: rofl
1645: [23:27:16] <Pyromanik> I'll just mash they keyboard to accept?
1646: [23:27:35] <Colin[pi]> "the fingers you have used to dial, are too fat... please mash the keyboard with your palm... now"
1647: [23:27:40] * veb has joined #silverstripe
1648: [23:29:09] <Pyromanik> dem simpons
1649: [23:29:16] <Pyromanik> nite.
1650: [23:29:18] * Pyromanik quit (Quit: Leaving)
1651: [23:29:41] <Colin[pi]> lol love how he always barely types bye before leaving
1652: [23:30:45] <DanaeNZ> https://github.com/wilr/silverstripe-facebookconnect or https://github.com/tractorcow/silverstripe-facebook-sdk
1653: [23:30:47] <DanaeNZ> hmmmm
1654: [23:30:50] <DanaeNZ> decisions decisions
1655: [23:35:48] * UncleChe_ has joined #silverstripe
1656: [23:41:31] * samlander has joined #silverstripe
1657: [23:43:14] <Hailwood> Hey folks, what's the signature for the method defined by has_many? e.g. $has_many = ['CaseStudies' => 'CaseStudy']; what's the signature of $this->CaseStudies(???)
1658: [23:43:46] <Stomach> returns a datalist
1659: [23:44:10] * samlande_ has joined #silverstripe
1660: [23:44:28] <DanaeNZ> or is it HasManyList?
1661: [23:44:40] <Hailwood> Stomach, I know it returns a HasManyList, but does the method itself have params?
1662: [23:45:15] <Stomach> DanaeNZ - we are both right :P
1663: [23:45:24] <DanaeNZ> harhar :D
1664: [23:45:32] <Stomach> Hailwood - I dont think so, its a magic method funtimes
1665: [23:45:56] <Hailwood> Stomach, I'm asking because of a comment UncleChe_ made (second comment here http://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/13013)
1666: [23:46:03] * samlander quit (Ping timeout: 260 seconds)
1667: [23:46:03] <DanaeNZ> latest PHPStorm is more cleverer about its magic methods :D
1668: [23:46:33] <Stomach> Hailwood - that was in 2.x days :)
1669: [23:46:45] <Hailwood> DanaeNZ, I always just define @method HasManyList CaseStudies() or whatever anyway in my docblocks ha.
1670: [23:46:54] <DanaeNZ> Hailwood: same !
1671: [23:47:05] <DanaeNZ> love docblocks
1672: [23:48:08] <Hailwood> DanaeNZ, My favourite thing atm is @mixin it's fantastic
1673: [23:48:18] <DanaeNZ> ooh yes
1674: [23:48:42] <DanaeNZ> invaluable in unit tests, just @mixin PHPUnit assert
1675: [23:49:03] <Hailwood> I
1676: [23:49:10] * Azure quit (Read error: Connection reset by peer)
1677: [23:49:47] * UncleChe_ quit (Ping timeout: 260 seconds)
1678: [23:50:00] * UncleCheese quit (Ping timeout: 250 seconds)
1679: [23:50:15] * Azure has joined #silverstripe
1680: [23:50:17] <Hailwood> I'm curious - say you want to get case studies that are related to a specific page through the has_many - would you define a getRelatedCaseStudies($limit = 5) on the page, or just RelatedCaseStudies($limit = 5) on the controller?
1681: [23:50:35] <Hailwood> I usually got for the getRelatedCaseStudies() method
1682: [23:51:30] <DanaeNZ> RelatedCaseStudies() usually
1683: [23:53:09] <ss-helper> Blog 2.0: Duplicating and Reordering - http://www.silverstripe.org/community/forums/blog-module-forum/show/102740
1684: [23:56:24] <Colin[pi]> Hailwood: I would usually do it on the page, because there may be occasions you'd need to call that data/method outside of the controller
1685: [23:56:25] * Stomach quit (Quit: zzz)
1686: [23:58:11] <Hailwood> Colin[pi], That was my thinking too.
1687: [23:58:51] * Stomach has joined #silverstripe
1688: [23:58:56] <Colin[pi]> Hailwood: and the controller will just forward method calls from the template through to the data model
1689: [23:59:01] <DanaeNZ> new ChCh website gais?
1690: [23:59:02] <Colin[pi]> so it's kinda best of both worlds

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