#silverstripe IRC Log

IRC log for 21 November 2014

All timestamps are in UTC.

1: [00:00:12] <helenclarko> lozcalver: same issue, still adding .0000
2: [00:00:30] <helenclarko> sorry that should be 8 0's
3: [00:00:38] <antmas> Ryan-Toast: ahhhhhh so you create an open/close as a container to a content item?
4: [00:02:23] * JeremyRoundill has joined #silverstripe
5: [00:02:47] <helenclarko> Stomach: $product->Price->Nice() doesnt seem to work either.
6: [00:05:19] * novaweb has joined #silverstripe
7: [00:06:21] * jcwacky_ has joined #silverstripe
8: [00:06:53] * jcwacky quit (Ping timeout: 240 seconds)
9: [00:06:53] * jcwacky_ is now known as jcwacky
10: [00:11:52] * pippy quit (Ping timeout: 246 seconds)
11: [00:15:32] <Ryan-Toast> antmas: yes
12: [00:15:43] <Kingy> Colin[pi]: looks like just us then
13: [00:15:53] <Kingy> maybe Blacklite ?
14: [00:16:32] <antmas> Ryan-Toast: how are the 2 pageItems linked?
15: [00:17:05] <Ryan-Toast> antmas: what do you mean?
16: [00:17:27] <Ryan-Toast> component just opens a div in the template
17: [00:18:20] <antmas> Ryan-Toast: Yeah I get that - but how does the content from a 'content' pageItem get into a component pageItem?
18: [00:19:38] <Ryan-Toast> well when the component opens a div anything inside of that is still in the div until the component is closed.
19: [00:20:31] <antmas> oh so you could do OpenComponent>ContentItem>CloseComponent etc?
20: [00:20:45] <Ryan-Toast> Have you looked at the code?
21: [00:20:56] <Ryan-Toast> Take a lookk at the templates, and yo’ll see how it works
22: [00:20:58] <antmas> Ryan-Toast: not for page items yet
23: [00:21:24] <Ryan-Toast> antmas: https://github.com/Rhym/ss_boilerplate/blob/master/boilerplate/code/Modules/PageItems/templates/Layout/PageItem_ComponentOpen.ss
24: [00:22:10] <antmas> Ryan-Toast: ahhhhh.... oh.... OHHHHHHHH
25: [00:22:28] <Ryan-Toast> :P
26: [00:22:55] <antmas> so obviosly you can't have an open without a close
27: [00:23:03] <Ryan-Toast> antmas: no.
28: [00:23:26] <Ryan-Toast> antmas: Could put some logic in there to protect against that, but I’d rather not.
29: [00:23:38] <Ryan-Toast> I’m still playing around with how that whole system works.
30: [00:23:42] <Ryan-Toast> for now it’s fine.
31: [00:23:55] <Ryan-Toast> but I’d like to make it a little more dynamic.
32: [00:24:04] <antmas> Ryan-Toast: yeah I was gonna say, I will be putting some in - knowing how nub some of my cliXXXs are
33: [00:24:21] <Ryan-Toast> antmas: I couldn’t let clients touch it imo.
34: [00:25:23] <antmas> Ryan-Toast: yeah I was beginning to think the same - Might lock it out to them
35: [00:25:26] * micmania1 quit (Quit: micmania1)
36: [00:25:47] <Ryan-Toast> that or you charge them $$ for training.
37: [00:26:04] * antmas strokes beard
38: [00:26:11] <antmas> $$ it is then :D
39: [00:31:25] <Ryan-Toast> antmas: http://webdough.co.nz/~boilerpl/events/
40: [00:33:21] * micmania1 has joined #silverstripe
41: [00:33:34] <Stomach> woah crazy domain
42: [00:33:34] <Stomach> http://silverstripe-ssorg-prod.sites.silverstripe.com/
43: [00:33:53] <Kingy> Stomach: our test site is on sites.ss.com as well
44: [00:33:54] <micmania1> Stomach: where did you find that?
45: [00:34:03] <Stomach> micmania1 - google
46: [00:34:08] <Stomach> https://www.google.co.nz/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=publish%20error%20page%20silverstripe
47: [00:34:18] <Kingy> Ryan-Toast: that is fucking hot
48: [00:34:28] <Ryan-Toast> Kingy: churbo
49: [00:35:16] <Kingy> JeremyRoundill: antmas: the VAC ban for pro players is up to 3 now
50: [00:35:23] <JeremyRoundill> :O
51: [00:35:26] <JeremyRoundill> Just today?
52: [00:35:33] <Kingy> SF from epsilon
53: [00:35:41] <Kingy> KQLY
54: [00:35:41] <Stomach> Ryan-Toast - you gotta make that not do a full page refresh!
55: [00:35:53] <Kingy> and smn
56: [00:36:01] <Ryan-Toast> Stomach: I will make it ajax eventually, but cbf right now.
57: [00:36:13] <Stomach> TECHNICAL DEBT
58: [00:36:22] <Ryan-Toast> Stomach: all the functions are there :P
59: [00:36:40] <Ryan-Toast> literally would only have to recall the DrawCalendar method
60: [00:37:36] <Stomach> well you wouldnt want to do it figuratively
61: [00:39:24] <antmas> omg that MightyApe launch party looks like the lamest fucking gig EVER
62: [00:39:33] <antmas> criiiiiinnngeeee
63: [00:39:45] <Stomach> ?
64: [00:40:52] <Kingy> yeah ?
65: [00:40:56] <Stomach> ???
66: [00:40:59] <Stomach> antmas ?
67: [00:41:01] <antmas> ?
68: [00:41:01] <Stomach> ANTMAS ?
69: [00:41:03] <antmas> ????
70: [00:41:06] <Stomach> what launch party
71: [00:41:13] <antmas> Stomach: Kingy MightyApe facebook page
72: [00:41:25] <antmas> for DragonAge and fucking Pokemaaannnss
73: [00:41:29] * veb has joined #silverstripe
74: [00:41:39] <Stomach> i dont see it
75: [00:41:41] <Kingy> pokemon needs to be let go
76: [00:42:36] <antmas> Stomach: I don't know how to link it
77: [00:42:37] <Kingy> Stomach: https://www.facebook.com/MightyApeGames/posts/750903904979199
78: [00:42:50] <antmas> that's it ^^^
79: [00:43:50] <helenclarko> Thank you Stomach! I wasnt reading your post correctly... It worked.
80: [00:44:02] <helenclarko> $product->Price()->Nice() Was the answer.
81: [00:44:08] <helenclarko> Not $product->Price->Nice()
82: [00:44:14] <Stomach> helenclarko - ah good :)
83: [00:44:15] <helenclarko> Big difference haha.
84: [00:44:24] <helenclarko> Thanks again!
85: [00:44:30] <Stomach> no problem
86: [00:44:36] <Stomach> hope all your problems are sorted now!
87: [00:44:49] <antmas> wtf it's 1.44?
88: [00:44:57] <antmas> I should eat
89: [00:45:53] <helenclarko> Yea, that was the last one for today. I'll give you all a break now haha,
90: [00:45:53] <Kingy> Blacklite: I just drove all round Wellington and got back to the car-park half hour later and my park was still there
91: [00:45:55] <Kingy> \o/
92: [00:47:24] * Olliepop has joined #silverstripe
93: [00:49:59] <simon_w|work> Finally remembered to set up help.autocorrect
94: [00:50:04] <simon_w|work> Makes git so much nicer to use
95: [00:54:41] <Kingy> my god there is nothing worse
96: [00:54:55] <Kingy> @somerandom just retweeted @anotherrandoms photo
97: [00:55:00] <Kingy> notificaitions that pop up
98: [01:03:22] <Kingy> http://www.reddit.com/r/casualiama/comments/2mk1kf/ill_let_siri_answer_all_the_questions_ask_us/cm53p4b
99: [01:04:43] * zaid quit (Ping timeout: 246 seconds)
100: [01:06:04] <Colin[pi]> Kingy: rofl: http://www.reddit.com/r/casualiama/comments/2mk1kf/ill_let_siri_answer_all_the_questions_ask_us/cm4yngu
101: [01:07:47] * UncleCheese quit (Ping timeout: 245 seconds)
102: [01:08:56] * EasyCo has joined #silverstripe
103: [01:11:03] <Blacklite> Kingy: great success
104: [01:11:18] <Kingy> Blacklite: hell yeah. Didn't even get lost as well
105: [01:11:51] <Blacklite> i used to park in a carpark in alpha street, off cambridge terrace. just 2 rows of cars, one on each side
106: [01:12:22] <Blacklite> there was *just* enough space in the middle for like 8 cars to park straight down the middle, making it almost impossible to get out of the park during the day
107: [01:12:40] <Blacklite> but i had no trouble with it, so that was the best place to park if i wanted to go somewhere at lunch
108: [01:12:48] <Blacklite> just had to budget an extra 5 mins to get in/out of the park
109: [01:13:24] * veb quit (Quit: My Mac has gone to sleep. ZZZzzz…)
110: [01:14:22] * Tanger has joined #silverstripe
111: [01:14:57] <Kingy> lol
112: [01:14:59] <Kingy> 100 point turn?
113: [01:15:10] <Blacklite> yep
114: [01:15:27] <Blacklite> but guaranteed park when you got back
115: [01:15:33] <Blacklite> nobody's gonna try and get in there
116: [01:15:47] <Blacklite> why do you drive every day? you live out of town?
117: [01:16:01] <Kingy> nah just today
118: [01:16:17] <Kingy> sold shit on trademe so decided i'd drive in and drop it off
119: [01:26:20] * camfindlay has joined #silverstripe
120: [01:26:29] <JeremyRoundill> camfindlay!
121: [01:26:39] <JeremyRoundill> Got the stickers earlier this week :)
122: [01:26:49] * antmas didn't get stickers :|
123: [01:27:06] <JeremyRoundill> I even got a signed letter :D
124: [01:27:32] <camfindlay> all good I send them to those that emailed me - did you email me antmas?
125: [01:27:48] <antmas> camfindlay: yarp, at the TDC :D
126: [01:28:21] <Snowman23> I took you off the list, antmas
127: [01:28:24] <Snowman23> I'm all the stickers you need
128: [01:28:26] <Snowman23> MUHAHAHAHA
129: [01:28:28] <Snowman23> NO STICKERs 4 U
130: [01:28:29] <Snowman23> :D
131: [01:28:33] <antmas> :O
132: [01:28:45] <Snowman23> (I lied, I did nothing)
133: [01:28:50] <antmas> :D
134: [01:30:05] <Ryan-Toast> Kingy: it’s time - http://i.imgur.com/IIYlYdA.gif
135: [01:31:05] <antmas> Ryan-Toast: lol that is excellent
136: [01:31:22] <Kingy> antmas: So I'm slowly making progress
137: [01:31:32] <Kingy> but now it's dying on some text that apparently doesn't exist in the csv
138: [01:31:33] <Kingy> lolol
139: [01:31:51] <antmas> dat whitespace?
140: [01:32:25] <Kingy> i just don't know
141: [01:32:29] <Kingy> it's all kinds of fucked up
142: [01:33:29] * jenniferaslan quit (Quit: jenniferaslan has left the room)
143: [01:34:29] <Stomach> is this the CSV export that I told you that you might have troubles with?
144: [01:34:47] <Kingy> Stomach: ermm... noo, yes maybe
145: [01:35:01] <Stomach> sorry
146: [01:35:05] <Kingy> :(
147: [01:35:06] <Stomach> I wont SITYS
148: [01:35:08] <Stomach> :P
149: [01:36:36] <Kingy> Stomach: I'm staring at the error message
150: [01:36:47] <Kingy> it's showing me the entire article that it's erroring on
151: [01:36:55] <Kingy> and i'm searching the csv file and it's not finding anything
152: [01:37:07] <Kingy> it has the word 'cold-call' in it
153: [01:37:10] <Kingy> nothing in the csv
154: [01:37:33] <Kingy> oh shit
155: [01:37:38] * Kingy shoots himself
156: [01:38:09] <antmas> Kingy: did you pull an antmas?
157: [01:38:18] <Ryan-Toast> Kingy: http://i.imgur.com/9T1kgIr.gif
158: [01:38:20] <Kingy> i fixed up the csv file but forgot to copy it over
159: [01:38:33] <camfindlay> antmas yeah I sent them to you C/- Tasman District Council at the address you gave me - maybe go annoy your mail people :P
160: [01:39:11] <antmas> camfindlay: :D might have to
161: [01:47:05] <antmas> man
162: [01:47:20] <antmas> how do people get money for subscriptions on twitch
163: [01:47:43] <antmas> so many people's feeds are terrible and people still donate money to them
164: [01:49:02] <JeremyRoundill> Dunno yo.
165: [01:49:09] <JeremyRoundill> Maybe just giveaways.
166: [01:49:27] <novaweb> bai o/
167: [01:49:31] * novaweb quit (Quit: Leaving)
168: [01:51:19] <antmas> JeremyRoundill: must be
169: [01:51:27] <antmas> I need a new headset
170: [01:51:30] <Kingy> antmas: you just needa be like them.. all shouty and sweary
171: [01:51:38] <Kingy> "funny"
172: [01:51:38] <antmas> anyone rolling Astros?
173: [01:51:52] <Kingy> jesus christ
174: [01:52:02] <Kingy> so i'm now becoming an independent contracter
175: [01:52:04] <JeremyRoundill> This is a friend's brother
176: [01:52:04] <JeremyRoundill> http://www.twitch.tv/ezyteevee
177: [01:52:32] <Colin[pi]> antmas: I got one of dese: http://www.plantronics.com/au/product/rig
178: [01:53:45] <JeremyRoundill> I'm considering getting one of these surround sound headsets.
179: [01:54:33] <Ryan-Toast> JeremyRoundill: lololololololol
180: [01:54:37] <Ryan-Toast> lolololololol
181: [01:54:49] <JeremyRoundill> Like the ones with multiple drivers.
182: [01:54:54] <JeremyRoundill> None of this virtual business.
183: [01:55:39] <Ryan-Toast> JeremyRoundill: Assuming you’re friends with Kane?
184: [01:55:45] <JeremyRoundill> Kane, yeah.
185: [01:56:07] <Ryan-Toast> I’m friends with Dallas.
186: [01:56:11] <JeremyRoundill> Haha
187: [01:56:14] <JeremyRoundill> Really?
188: [01:56:18] <Ryan-Toast> yeah
189: [01:56:18] <JeremyRoundill> Know Delayn Fritz?
190: [01:56:37] <Ryan-Toast> No
191: [01:56:45] <JeremyRoundill> Ahh
192: [01:56:54] <JeremyRoundill> He's the way I know Kane anyway.
193: [01:58:18] <antmas> Colin[pi]: nice
194: [01:58:25] <antmas> I hear good things about plantronics
195: [01:58:28] <Ryan-Toast> Yeah, me and Dallas go way back.
196: [01:58:33] <Colin[pi]> antmas: yeah, they have great audio quality
197: [01:58:35] <antmas> and everyone seems to rave about Astros
198: [01:58:56] <Colin[pi]> antmas: and this is cool because I plug my phone into it, and if someone calls I just flick a switch to chat on the phone
199: [01:59:28] <antmas> Colin[pi]: yeah controllers are awesome
200: [01:59:36] <Colin[pi]> actually it has a button on the bast unit to mute/pick up phone too
201: [01:59:37] <antmas> my mate's Razers have that
202: [01:59:42] <Colin[pi]> *base
203: [01:59:57] <antmas> these are so coool http://truckyeah.jalopnik.com/michelin-finally-commits-to-mass-producing-the-tweel-ai-1661116195/+travis
204: [02:00:56] <Ryan-Toast> antmas: pretty cool :) would be useless for high speeds though
205: [02:01:06] <Colin[pi]> wow they're finally going to mass produce them
206: [02:01:19] <Colin[pi]> I remember first seeing them like 15 years ago I think
207: [02:02:03] <antmas> yeah I read somewhere that having no sideways roll on tyres is a baaaaaad idea for speed
208: [02:02:06] <antmas> BUT
209: [02:02:20] <antmas> for low speed applications, like all terrain stuff these things are awesome
210: [02:02:24] <Colin[pi]> yeah
211: [02:02:54] <Colin[pi]> I need some new tyres on the honda soon :(
212: [02:03:02] <Colin[pi]> fucking cars and their expense
213: [02:03:21] <Blacklite> if you've got a honda, tyres are probably the only expense...
214: [02:03:27] <Colin[pi]> Blacklite: lol true
215: [02:03:41] <Kingy> sounds about right
216: [02:03:56] <antmas> yeah I'll need at least 2 tyres soon
217: [02:04:34] <Colin[pi]> antmas: mm honda said the front ones "need changing asap" and the rear within like 3,000 kms
218: [02:04:47] <antmas> Colin[pi]: what's the minium mm over there?
219: [02:04:49] <Colin[pi]> I wonder why they didn't put them at the front?
220: [02:04:52] <antmas> I think it's like 1.5 here?
221: [02:05:04] <Colin[pi]> not sure
222: [02:05:33] <Blacklite> vtnz said my brake pads were "low", mechanic said they had heaps left in them
223: [02:05:58] <Blacklite> 1.5 sounds right for tyres
224: [02:06:12] <Blacklite> in the road code they said a matchstick was good for measuring it
225: [02:06:24] <Kingy> yeah 1.5
226: [02:07:02] <Colin[pi]> yep 1.5 here too, just checked
227: [02:07:20] <Colin[pi]> which means I prolly should get them done before 2500km trip after xmas :o
228: [02:07:23] <Stomach> Kingy - all working in the CSV now?
229: [02:07:36] <Kingy> Processing CSV file for Farmers Weekly....
230: [02:07:36] <Kingy> 3509 articles added for Farmers Weekly....
231: [02:07:39] <Kingy> ^ YES!
232: [02:07:51] <Kingy> now shall we test 10,000 :P
233: [02:07:55] <Ryan-Toast> antmas: if you posted a picture of your kid’s handwriting, and someone posted: “I’m way better at writing than X” is that offensive?
234: [02:08:47] <Stomach> no
235: [02:08:51] <Stomach> its just the truth
236: [02:08:58] <Stomach> stupid little kid needs to up their game
237: [02:09:02] * veb has joined #silverstripe
238: [02:09:08] <Kingy> ROFL
239: [02:09:20] <Ryan-Toast> Stomach: I thought so too, but facebook mums getting mad at me.
240: [02:09:37] <Colin[pi]> Ryan-Toast: jesus fuck can't they take a joke?
241: [02:09:38] <Stomach> tell facebook mum to issue a challenge to her child to not be as shit
242: [02:09:49] <Ryan-Toast> Colin[pi]: guess not.
243: [02:10:17] <Ryan-Toast> Colin[pi]: jsut going to http://i.imgur.com/nw4oIHl.gif right out of there
244: [02:10:20] <antmas> Ryan-Toast: LOL
245: [02:10:26] <antmas> Ryan-Toast: yeah I would, as a joke
246: [02:10:55] <Kingy> https://www.tumblr.com/search/you%20missed%20the%20joke%20gif
247: [02:10:57] <Colin[pi]> some people take themselves far too seriously
248: [02:12:26] <Kingy> Ryan-Toast: why no xmas on the calendar :(
249: [02:12:37] <Ryan-Toast> Kingy: hmm?
250: [02:12:40] <Kingy> no XMAS EVENT
251: [02:12:41] * UncleCheese has joined #silverstripe
252: [02:12:42] <Kingy> NONE
253: [02:12:43] <Kingy> NOTHING
254: [02:12:50] <Ryan-Toast> Kingy: WHERE WHAT ARE WE YELLING ABOUT?
255: [02:12:58] <Colin[pi]> LOUD NOISES
256: [02:13:03] <Kingy> WE WANT XMAS *clap clap clapclapclap*
257: [02:13:18] * zippy has joined #silverstripe
258: [02:13:31] <zippy> Swipestripe uses pages for products... how's that work out for 1000 products/pages. CMS would be pretty chunking out
259: [02:13:36] * antmas_ has joined #silverstripe
260: [02:13:47] <antmas_> Ryan-Toast: peeps on your facebook take you so seriously :P
261: [02:13:51] <Ryan-Toast> Kingy: there is an xmas event on my calendar though?
262: [02:14:15] <Kingy> Ryan-Toast: god damn better be
263: [02:14:21] <Kingy> so help me god
264: [02:14:24] * Kingy shakes fist
265: [02:14:39] <Ryan-Toast> :D
266: [02:14:43] * antmas quit (Ping timeout: 246 seconds)
267: [02:15:45] <Colin[pi]> zippy: I built an ss-shop site with a lot of products grouped into categories, seems ok
268: [02:15:53] * veb quit (Quit: My Mac has gone to sleep. ZZZzzz…)
269: [02:15:57] <Colin[pi]> zippy: guess it depends how you structure things
270: [02:16:08] <zippy> how much is lot of product?
271: [02:16:29] <Colin[pi]> zippy: maybe 50 categories, perhaps 30-40 products in each on average
272: [02:18:29] <Colin[pi]> might be a bit less than that, say 20 per category actually
273: [02:18:48] <antmas_> that's fairly small
274: [02:18:59] <antmas_> or typical I should say
275: [02:19:06] * antmas_ is now known as antmas
276: [02:19:16] <zippy> ah yeap
277: [02:19:22] <Colin[pi]> antmas: yeah I also used product variations too
278: [02:19:25] <Colin[pi]> to reduce the dupes
279: [02:19:32] <Colin[pi]> so, you can choose size, style etc.
280: [02:19:44] <Kingy> does anyone else find it awkward talking to your mrs on the phone
281: [02:19:54] <Kingy> we've been together like 9 years and i find it awkward as fuck lol
282: [02:19:54] * __will has joined #silverstripe
283: [02:20:01] <__will> hello
284: [02:20:23] <__will> is it possible with SS to return the relevant bit of the page when listing search results?
285: [02:20:40] <antmas> Kingy: yup, I can't do it for longer than 2 mins tops
286: [02:20:48] <Kingy> haha i know right
287: [02:20:52] * antmas can't phone good at all, let along mrs
288: [02:21:09] <antmas> I sound like a robot who made a robot to talk on the phone for them
289: [02:23:06] * PapaBearNZ has left #silverstripe
290: [02:23:41] <Colin[pi]> Kingy: not alone mate
291: [02:23:54] <Colin[pi]> when my gf calls me it's like we've both suddendly just met for the first time
292: [02:24:06] <Kingy> yes!
293: [02:24:22] <Kingy> and even if we jsut ring for a specific reason that's pretty much it
294: [02:24:30] <antmas> lol
295: [02:24:31] <Kingy> once that question/statement has been answered it's just silent
296: [02:24:35] <antmas> Kingy: yeah it's common
297: [02:24:39] <Kingy> ...so um yeah how what your day
298: [02:24:44] <Kingy> was*
299: [02:25:10] <Colin[pi]> Kingy antmas: mine is the worst with texts
300: [02:25:17] <Colin[pi]> I'll send some big detailed message
301: [02:25:20] <Colin[pi]> takes me like two minutes
302: [02:25:22] <Colin[pi]> and she's like
303: [02:25:23] <Colin[pi]> K
304: [02:25:36] <antmas> lol
305: [02:26:14] <antmas> the only txts I get are 'can you come pick me up pls xoxoxoxo' and 'can you get some groceries on your way home xoxoxoxo'
306: [02:26:25] <antmas> nuttn' else
307: [02:26:26] <antmas> :P
308: [02:26:31] * gdhussak has joined #silverstripe
309: [02:26:43] <Kingy> ahaha
310: [02:26:51] <Kingy> I tend to just wake mine up in the morning
311: [02:26:55] <Kingy> 6am.. on the train
312: [02:26:57] <Kingy> i'm bored
313: [02:27:22] <Colin[pi]> one time I got a call from mine when she was in Brazil, and was like this: "Colin! Oh my god... I locked myself out of the house!!"
314: [02:27:27] <Colin[pi]> and I'm like well fuck
315: [02:27:34] <Colin[pi]> I'll just hop on the next plane
316: [02:27:42] <Kingy> "that sucks.. have a good day byeee"
317: [02:28:04] <antmas> LOL
318: [02:28:18] <antmas> gotta go play CS kbaibabe have fun'
319: [02:28:23] <gdhussak> Had a working installation of 3.1.6 and just upgraded (using composer) to 3.1.8 – trying to run /dev/build and now getting....Couldn't run query: SELECT DISTINCT "Member"."ClassName", .... Unknown column 'Member.TempIDHash' in 'field list' ..... Line 598 in /home/gdhussak/public_html/ltlr/framework/model/MySQLDatabase.php << Anyone run into a similar issue or have any ideas?
320: [02:28:23] <Colin[pi]> Kingy: I think she was more freaked out than anything.. being locked out of your house at night time in Sao Paulo is NOT a good prospect
321: [02:28:39] <Kingy> well yeah
322: [02:28:44] <Kingy> i'd probably just smash a window
323: [02:29:20] <antmas> I'd imagine houses there have barred windows
324: [02:29:22] <antmas> ?
325: [02:29:37] <Colin[pi]> antmas: try massive barred gates at street level
326: [02:29:42] <Kingy> smash it anyway
327: [02:30:26] <antmas> just go full hulk
328: [02:30:56] <Colin[pi]> this sort of thing is everywhere: http://imganuncios.mitula.net/casa_vila_zelina_sao_paulo_sp_3160078415236547609.jpg
329: [02:31:10] <spronk2> o-O
330: [02:31:11] <spronk2> cool
331: [02:31:39] <Colin[pi]> spronk2: helps to stop the gangs that rob you with assault rifles
332: [02:31:53] <spronk2> also cool
333: [02:32:05] <antmas> Colin[pi]: just get one of those camera installations that UC got
334: [02:32:09] <antmas> problem solved
335: [02:32:13] <antmas> :P
336: [02:32:31] <zippy> gdhussak: flush, and try devuild again
337: [02:32:33] <Colin[pi]> antmas: the what now? oh the like $10 one?
338: [02:33:02] <antmas> lol yeah
339: [02:33:03] <zippy> when I try and do a show_queries, it outputs a bunch, then tries to get me to login (in dev mode)... weird
340: [02:33:26] <Colin[pi]> antmas: her neighbour died a year or so back.. armed intruders... he tried to grab the gun :(
341: [02:33:42] <Tanger> gdhussak: I just dev/build'd twice and it built the proper tables
342: [02:34:24] <gdhussak> zipppy: i did try that (before jumping on here) – get the same error when just flushing, then again when running the dev/build
343: [02:35:40] <gdhussak> Tanger: i've tried a few times – before throwing the error it does look like it's creating the fields on Member (Field Member.TempIDHash: created as varchar(160) character set utf8 collate utf8_general_ci Field Member.TempIDExpired: created as datetime) – which makes it even more confusing
344: [02:36:12] <zippy> hmm 288 queries on this page...
345: [02:39:06] * veb has joined #silverstripe
346: [02:39:26] <Tanger> gdhussak: Yeah, that sounds like it's doing what it should be. But the tables don't actually get written to the db do they?
347: [02:40:11] <Hailwood> Hey guys, Does anyone know if you can/how you can increase the number of images displayed in the "select a file from the cms" box? 5 is kinda small when we have 137 images so far...
348: [02:40:23] <Ryan-Toast> Wonder if anyone reads my commit messages and just thinks “this guy is an idiot"
349: [02:40:29] <gdhussak> Tanger: correct – when I look at the db the two new columns aren't there. I wasn't sure though if because of the failure the script rolled back the database changes.
350: [02:41:00] <UncleCheese> hmm
351: [02:41:06] <UncleCheese> before/after hooks for sending email?
352: [02:41:21] <UncleCheese> like if i want to capture the text of the email in a dataobject before it's sent?
353: [02:42:17] <Tanger> gdhussak: So what's the last thing it does before it dies?
354: [02:42:39] * veb quit (Client Quit)
355: [02:43:36] <Colin[pi]> UncleCheese: does Email have any hooks/event handlers?
356: [02:43:41] <UncleCheese> doesn't :(
357: [02:43:42] <Colin[pi]> I don't think it does
358: [02:43:44] <Colin[pi]> ah
359: [02:43:45] <Colin[pi]> mm
360: [02:44:08] <Colin[pi]> UncleCheese: could you subclass and then override the send() method to add hooks?
361: [02:44:16] <UncleCheese> oh!
362: [02:44:20] <gdhussak> Tanger: it goes through creating database tables (all of which are already in place with the exception of adding 2 cols to the Member table)...then keeps going through db tables and the error occurs after the "Page" table
363: [02:44:25] <UncleCheese> that's a pretty kickass idea, Colin[pi]
364: [02:44:35] <Colin[pi]> UncleCheese: should be fairly easy to do I guess
365: [02:44:53] <micmania1> UncleCheese: I used to ->write() on the databaseobject which used to trigger the sending of the email.
366: [02:45:07] <micmania1> onAfterWrite()
367: [02:45:26] <micmania1> but depends what you’re trying to do. That was for a contact form.
368: [02:45:31] <UncleCheese> oh, that's cool, too
369: [02:45:46] <UncleCheese> i'm more hoping for just a system-wide record of all the emails that have been sent
370: [02:46:19] <Colin[pi]> UncleCheese: you could write an extension of Email, and then substitute the class, right?
371: [02:46:24] <Kingy> I think if you're wanting to do it over multiple different areas then Colin[pi] has the right idea
372: [02:46:31] <Colin[pi]> so you wouldn't need to instantiate the extension? would that work?
373: [02:47:04] <UncleCheese> subclass mailer, have a send() method that just runs some stuff and then does parent::send()
374: [02:47:11] <UncleCheese> Email::set_mailer('MySubClass');
375: [02:47:13] <UncleCheese> bob's yer uncle
376: [02:47:20] <Colin[pi]> yeah that's it
377: [02:47:51] <antmas> omg it's 3.47 already :|
378: [02:47:56] * joelpittet quit (Remote host closed the connection)
379: [02:47:57] <Kingy> HOME TIME
380: [02:47:59] <Ryan-Toast> UC: I create a DO, then send the email after it’s been created
381: [02:48:05] <gdhussak> Tanger: Welp, I figured it out...I had the blog module installed and after going through the stack trace again, it looks like it was hanging up on a line in there. Took that out and the dev/build ran w\o a problem.
382: [02:48:54] <Tanger> gdhussak: Good to hear ;) I thought it might be some custom code causing it to break
383: [02:50:08] <gdhussak> Tanger: indeed. put the module back and re-built and everything's looking good so far. Thanks for the help. :)
384: [02:51:11] * joelpittet has joined #silverstripe
385: [02:51:49] * __will quit (Ping timeout: 246 seconds)
386: [02:57:15] <UncleCheese> SS really needs an event layer
387: [02:57:23] <Colin[pi]> UncleCheese: +1
388: [02:57:29] <Colin[pi]> well
389: [02:57:36] <Colin[pi]> it kinda has, but not as a layer per se I guess
390: [02:57:44] <UncleCheese> it just feels weird sticking transactional emails in random controller actions
391: [02:57:44] <Colin[pi]> it's not consistent
392: [02:57:45] * veb has joined #silverstripe
393: [02:58:02] <Colin[pi]> UncleCheese: oh I see what you mean, yeah
394: [02:58:28] <UncleCheese> i wonder if anyone has modularised that
395: [02:58:40] <UncleCheese> symfony's is good
396: [02:59:44] <Colin[pi]> composor.json require: 'symfony/symfony' ? ;P
397: [03:00:06] <Colin[pi]> *composer
398: [03:02:54] <UncleCheese> yeah, i reckon i'll just do that
399: [03:03:08] <Colin[pi]> :D
400: [03:03:24] <UncleCheese> awesome. our neighbour, exact same house, except with a dishwasher, is paying $100 less than us. http://www.trademe.co.nz/property/residential-property-to-rent/auction-810766687.htm
401: [03:03:28] <gdhussak> Hailwood: I could tell you where to find it in the core files (frameworks/forms/HtmlEditorField.php, in public function MediaForm there's a call to GridFieldPaginator(5)), but I don't think that editing core files is a good idea – that said, I don't know if it's configurable.
402: [03:03:45] <UncleCheese> i'm going to send my landlord that shit
403: [03:03:53] <zippy> UncleCheese: there ya go, hit back at the landlord and that verbal agreement
404: [03:04:02] <Hailwood> Judging by the hardcoded 5 I'm gonna guess not. Cheers.
405: [03:04:18] <Colin[pi]> UncleCheese: btw man, what ended up happening with those deadbeats hanging around your place?
406: [03:04:23] * joelpittet quit ()
407: [03:04:27] <UncleCheese> haven't seen them laterly
408: [03:04:33] <Colin[pi]> whew
409: [03:04:34] <spronk2> heh
410: [03:04:38] <spronk2> you got fleeced UC
411: [03:05:01] <zippy> Colin[pi]: UncleCheese chased them off swinging and old corded mouse above his head, "come at me mofos!"
412: [03:05:10] <Colin[pi]> zippy: rofl
413: [03:05:15] <Colin[pi]> I could totally see that
414: [03:05:18] <Snowman23> "I'M FRIENDS WITH BARAK GET OFF MY PROPERTY"
415: [03:06:21] <Colin[pi]> Snowman23: lol
416: [03:06:30] <zippy> just need to port the ss cms into laravel.... then UncleCheese can have his events
417: [03:06:32] <madmatt> UncleCheese: That extra dishwasher means less space for cupboards
418: [03:06:36] <madmatt> Cupboards are expensive man
419: [03:06:37] <Snowman23> lol
420: [03:06:47] <madmatt> All that joinery
421: [03:06:52] <zippy> the cms and framework were seperated for code re-use in other projects eh
422: [03:06:55] <madmatt> Ain't cheap
423: [03:07:23] <UncleCheese> madmatt time is expensive
424: [03:07:24] <zippy> dishwashers are the shit....
425: [03:07:31] <Colin[pi]> zippy: heh heh... 'seperated' you say
426: [03:07:37] <UncleCheese> dishwashers pay for themselves in about a month's time
427: [03:08:00] <Ryan-Toast> Unclecheese: where does your work?
428: [03:08:07] <Ryan-Toast> your’s
429: [03:08:10] <Ryan-Toast> [we34rhufho’uwSGRHR
430: [03:08:12] <UncleCheese> also, you should see our cupboards
431: [03:08:14] <Colin[pi]> I've got a good dishwasher, she also cleans the bathroom and vacuums the house
432: [03:08:15] <Ryan-Toast> yours
433: [03:08:15] <Colin[pi]> BOOM
434: [03:08:32] <UncleCheese> they're not exactly the world of a renaissance man
435: [03:08:37] <UncleCheese> work *
436: [03:08:46] <Ryan-Toast> Colin[pi]: http://i.imgur.com/MyVIM.gif
437: [03:08:55] <antmas> Colin[pi]: BOOM
438: [03:09:05] <antmas> if I said that I wouldn't be allowed back in the house for days
439: [03:09:17] <Colin[pi]> hehehe
440: [03:09:24] <Colin[pi]> well
441: [03:09:24] <Colin[pi]> tbh
442: [03:09:26] <Colin[pi]> she hates cooking
443: [03:09:28] <Colin[pi]> I like it
444: [03:09:31] <antmas> our dishwasher fucking blows
445: [03:09:32] <Colin[pi]> so it's a good deal
446: [03:09:44] <Colin[pi]> antmas: does your vacuum also suck?
447: [03:09:57] <Colin[pi]> or does it blow as well
448: [03:09:58] <Colin[pi]> :D
449: [03:10:01] * gdhussak quit (Ping timeout: 246 seconds)
450: [03:10:13] <Colin[pi]> Ryan-Toast: cute who is that?
451: [03:10:13] <simon_w|work> antmas, surely you can get your wife to do that instead ;)
452: [03:10:20] <Ryan-Toast> Colin[pi]: Emma stone
453: [03:10:38] <antmas> Colin[pi]: lol
454: [03:10:40] <antmas> touche
455: [03:10:40] <Snowman23>
456: [03:10:40] <Snowman23> 16:08:47 < Ryan-Toast> Colin[pi]: http://i.imgur.com/MyVIM.gif
457: [03:10:41] <Snowman23> wow
458: [03:10:45] <Snowman23> Such a "go fuck yourself" gif
459: [03:10:55] * Colin[pi] feels old as he doesn't know who is in the moving picture talkies any more
460: [03:10:57] <antmas> yeah it's pretty good
461: [03:11:05] <Ryan-Toast> Snowman23: http://i.imgur.com/SL5QbGI.gif
462: [03:11:12] <antmas> Colin[pi]: yeah I'm actually a bit shocked you didn't know who that was
463: [03:11:38] <Colin[pi]> http://i.imgur.com/gQI0ID4.gif
464: [03:12:04] <Ryan-Toast> Colin[pi]: my favorite is this one: http://i.imgur.com/Vuz2SQu.gif
465: [03:12:09] <Colin[pi]> antmas: prob is I don't watch much tv / movies any more :(
466: [03:12:10] <simon_w|work> Colin[pi], don't worry, I didn't know who she was either
467: [03:12:22] <Colin[pi]> Ryan-Toast: haha I love that one
468: [03:12:22] <Ryan-Toast> you guys are so indy.
469: [03:12:28] <antmas> Colin[pi]: hey what was that link to the wiki page on the AMD pencil trick? trying to prove a friend wrong
470: [03:12:39] <Ryan-Toast> Who are mainstream actors amirite?
471: [03:13:00] <Colin[pi]> antmas: http://commons.wikimedia.org/wiki/File:AMD_Athlon_Pencil_Trick.jpg
472: [03:14:18] <simon_w|work> Hmm, what to lunch...
473: [03:14:29] <Ryan-Toast> Beer.
474: [03:14:33] <zippy> god damn it, 4:15 already!! ffffff
475: [03:14:34] <antmas> always beer
476: [03:14:36] <Ryan-Toast> it’s a full food.
477: [03:14:55] <antmas> I had a Guiness and raspberry the other day
478: [03:14:57] <antmas> SO GOOD
479: [03:15:00] <Colin[pi]> ...
480: [03:15:07] <Colin[pi]> guinness... and raspberry?
481: [03:15:25] <antmas> yeah dude
482: [03:15:26] <simon_w|work> You alcoholics are no help! :p
483: [03:15:42] <antmas> simon_w|work: shhh, quiet pansy!
484: [03:15:45] <Colin[pi]> antmas: sounds like a strange combo
485: [03:15:51] <Colin[pi]> but I'll allow it
486: [03:16:12] <antmas> Colin[pi]: just a pint of guiness, and like 30ml of raspberry syrup stuff
487: [03:16:17] <Ryan-Toast> Next time you’re att the pub ask for a shot of frangelico in your pint. Thank me later.
488: [03:16:19] <antmas> maybe 15ml
489: [03:16:25] <antmas> Ryan-Toast: !!!
490: [03:16:28] <antmas> I know this!
491: [03:16:28] <madmatt> Ryan-Toast: The best part about that is the URL - MyVIM.gif... pretty much how I feel when someonestarts talking about vim
492: [03:16:31] <Colin[pi]> Ryan-Toast: dude, I'm actually going to get a bottle of that today
493: [03:16:36] <Colin[pi]> makes for AWESOME affogatos
494: [03:16:37] <Ryan-Toast> Colin[pi]: so good.
495: [03:16:59] <Ryan-Toast> madmatt: lol, didn’t even notice that.
496: [03:17:02] <Colin[pi]> apparently frangelico with lime is also pretty good
497: [03:17:07] <antmas> you guys should put Charteuese in your drinks next time
498: [03:17:11] <antmas> thank me later
499: [03:17:27] <Ryan-Toast> I have a bottle of johnnie walker blue for tonight.
500: [03:17:34] <Ryan-Toast> Spiled myself for paying off all my debt
501: [03:17:38] <Ryan-Toast> spoiled**
502: [03:17:39] <JeremyRoundill> The colour or the liqueur?
503: [03:17:54] <simon_w|work> madmatt, at least it's not built in a browser :p
504: [03:18:08] <Ryan-Toast> JeremyRoundill: Nah, just a type of Whiskey
505: [03:18:20] <Colin[pi]> Ryan-Toast: not irish whiskey? boooourns
506: [03:18:27] <JeremyRoundill> I meant the chartreuse :D
507: [03:18:35] <Ryan-Toast> Colin[pi]: nah, dawg.
508: [03:18:44] <simon_w|work> I guess I could wander off to the cafe
509: [03:18:45] <Colin[pi]> love me some irish single malts
510: [03:19:09] <Colin[pi]> simon_w|work: I'll have a flat white
511: [03:21:41] <UncleCheese> whoa boy
512: [03:21:47] <UncleCheese> another oil platform exploded
513: [03:22:04] <UncleCheese> in the Gulf of Mexico
514: [03:22:11] <antmas> UncleCheese: link?
515: [03:22:12] <UncleCheese> get your popcorn, folks.. this is going to be a hell of a show
516: [03:22:18] <antmas> LINK
517: [03:22:19] <antmas> NOW
518: [03:22:35] <antmas> pls don't be reddit
519: [03:22:35] <UncleCheese> http://foxct.com/2014/11/20/oil-rig-explodes-off-coast-of-new-orleans-killing-1-and-injuring-3/
520: [03:22:55] <antmas> FOX?
521: [03:22:59] <UncleCheese> hahaha
522: [03:23:02] <antmas> I am dissapoint
523: [03:23:04] <UncleCheese> well it's breaking
524: [03:23:21] <UncleCheese> it's alwyas the channels with the lowest standards that break shit before the details are confirmed
525: [03:23:31] <antmas> "She said the explosion is under investigation." - insert niccage.jpg here
526: [03:23:36] <UncleCheese> HA
527: [03:24:00] <UncleCheese> which one? https://www.google.co.nz/search?q=niccage.jpg&espv=2&biw=1373&bih=622&source=lnms&tbm=isch&sa=X&ei=PbBuVK6xLae2mwWc24DoBA&ved=0CAYQ_AUoAQ
528: [03:24:45] * spekulatius quit (Quit: Leaving)
529: [03:28:09] <antmas> ALL OF THEM
530: [03:31:23] <spronk2> XRO's revenue per employee is $52,000
531: [03:32:00] * camfindlay quit (Quit: camfindlay)
532: [03:32:41] <antmas> :| this video https://www.youtube.com/watch?feature=player_detailpage&v=ffNpsHHX9NQ#t=564
533: [03:32:45] <antmas> these guys have BALLS
534: [03:33:10] <simon_w|work> Colin[pi], so steam roll Tony Abbott?
535: [03:33:57] <simon_w|work> spronk2, that's not much. Ours is about twice that.
536: [03:34:02] * veb quit (Quit: My Mac has gone to sleep. ZZZzzz…)
537: [03:34:04] <spronk2> that's not much at all
538: [03:34:08] <spronk2> well
539: [03:34:10] <spronk2> tbh
540: [03:34:15] <spronk2> it's probably like $132k
541: [03:34:21] <spronk2> because annualised revenue vs actually collected
542: [03:34:21] <spronk2> but still
543: [03:34:26] <spronk2> IBM is double that
544: [03:34:50] * camfindlay has joined #silverstripe
545: [03:35:41] <zippy> antmas: damn thats close!
546: [03:35:53] <antmas> zippy: barely even flinch!
547: [03:38:48] * camfindlay quit (Client Quit)
548: [03:39:14] <zippy> antmas: https://www.youtube.com/watch?v=QU7WyuC8Hy8#t=215 I think this would probably be more balls
549: [03:39:28] <spronk2> XRO's churn is 11% in nz o_O
550: [03:39:30] <spronk2> that's pretty high
551: [03:39:50] <antmas> zippy: I can't watch those videos
552: [03:39:59] <antmas> makes my anxiety turn to shreds lol
553: [03:41:27] <Ryan-Toast> antmas: http://www.reddit.com/r/AdrenalinePorn/top/
554: [03:41:50] * antmas quit (Quit: Page closed)
555: [03:46:48] <spronk2> hm
556: [03:46:55] <spronk2> why are xero hiring more devs o_O
557: [03:50:44] * jbrungar has joined #silverstripe
558: [03:52:52] <simon_w|work> spronk2, cause they don't know what they're doing?
559: [03:53:08] <spronk2> you've gotta wonder whether they are having big issues
560: [03:53:08] <simon_w|work> They need designers, not devs :p
561: [03:53:17] <spronk2> because they already have a huge dev team
562: [03:53:24] <spronk2> wtf do they need more devs for?
563: [03:53:42] <simon_w|work> Poster child of NZ tech companies, get bunch of people wanting to work there, then they realise it sucks and leave?
564: [03:54:14] <simon_w|work> They need more devs to make their API not shit. Too bad that's not what they're being used for.
565: [03:54:36] * helenclarko quit (Quit: Page closed)
566: [03:54:38] <spronk2> hmm
567: [03:54:41] <spronk2> what are they being used for though
568: [03:54:54] <simon_w|work> Peer programming?
569: [03:55:09] <simon_w|work> More conformation that open plan offices are horrible for staff?
570: [03:55:25] <simon_w|work> To make it look like they're investing?
571: [03:56:40] <spronk2> mm...lol
572: [03:57:30] <zippy> I thikn they're still deciding if they should add the composer.json file to their php api wrapper... https://github.com/XeroAPI/XeroOAuth-PHP/issues/19
573: [03:58:26] <simon_w|work> I guess the main problem is that they didn't hire anyone that knows how to grow a dev company
574: [04:00:20] * matt-in-a-hat has joined #silverstripe
575: [04:00:58] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
576: [04:01:16] <spronk2> yeahh
577: [04:02:23] <spronk2> wow.
578: [04:02:29] <spronk2> sounds like Ronan is a bit dumb
579: [04:02:30] <spronk2> ;D
580: [04:02:43] * Ryan-Toast quit (Quit: Ryan-Toast)
581: [04:02:59] <matt-in-a-hat> Hiya fellas. I bumped framework and cms from 3.1.6 to 3.1.8 and now I'm getting an error Unknown column 'Member.TempIDHash' in 'field list', whenever I load any page or run dev/build. Any ideas how to get around this?
582: [04:03:23] <simon_w|work> matt-in-a-hat, try using a different browser to run it
583: [04:07:56] <matt-in-a-hat> Thanks that worked. Do you know why it wouldn't work anymore in the first browser?
584: [04:08:08] <simon_w|work> Because you were logged in
585: [04:08:35] <matt-in-a-hat> Ah I see, good to know. Cheers!
586: [04:08:37] <simon_w|work> So it needed to load your Member object, but there were missing columns, so it errored
587: [04:08:50] * Shrike_Finland has joined #silverstripe
588: [04:09:22] * jbrungar quit (Ping timeout: 256 seconds)
589: [04:09:30] * Shrike_Finland quit (Client Quit)
590: [04:11:30] * Shrike_Finland has joined #silverstripe
591: [04:11:37] * Ryan-Toast has joined #silverstripe
592: [04:11:37] * Ryan-Toast quit (Client Quit)
593: [04:16:11] * Hailwood quit (Remote host closed the connection)
594: [04:16:13] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
595: [04:19:02] * jbrungar has joined #silverstripe
596: [04:36:52] * Cheddam quit (Quit: Textual IRC Client: www.textualapp.com)
597: [04:39:42] * spronk2 quit (Quit: I may need a longer sleep timer...)
598: [04:39:52] * micmania1 quit (Quit: micmania1)
599: [04:39:56] * spronk2 has joined #silverstripe
600: [04:40:06] * spronk2 quit (Client Quit)
601: [04:43:12] * cloph quit (Ping timeout: 245 seconds)
602: [04:43:13] * cloph_away has joined #silverstripe
603: [04:48:22] * micmania1 has joined #silverstripe
604: [04:50:53] * veb has joined #silverstripe
605: [04:58:26] * Kingy is now known as Kingy[a]
606: [04:58:49] <Tanger> Hmmm
607: [04:59:30] <Tanger> Hey guys, I'm returning a string like "<div><p>Text</p></div>" in index() as a test. problem is, the text is rendering as literal characters, not html
608: [04:59:42] <Tanger> Other pages do it on the site
609: [04:59:51] <Tanger> And I've tried using urldecode & htmlentities
610: [05:00:20] <simon_w|work> Tanger, return it as HTMLText
611: [05:03:20] <Tanger> simon_w|work: Thanks, good idea. Not sure why it works on the other controllers using just rawurldecode though -_-
612: [05:03:56] * Shrike_Finland quit (Quit: Leaving.)
613: [05:15:26] * Kingy[a] is now known as Kingy
614: [05:16:35] <Kingy> HOME
615: [05:17:06] * Shrike_Finland has joined #silverstripe
616: [05:18:57] <jordanmk> is there a way to force something in a template to be rendered as HTML? the form message on Swipestripe's add to cart form is spitting out a link to the cart as a string instead of parsing it as an anchor element
617: [05:20:34] <simon_w|work> jordanmk, stick it in an HTMLText object
618: [05:22:46] <jordanmk> well the form is part of Swipestripe. but it's just the standard form sessionMessage being rendered in the standard templates/includes/Form.ss, it's just suddenly started rendering it a string (was working fine in the past)
619: [05:24:06] <jordanmk> simon_w: and it already seems to be HTMLText - $form->sessionMessage(DBField::create_field("HTMLText", $message),'good');
620: [05:34:55] * matt-in-a-hat quit (Ping timeout: 246 seconds)
621: [05:39:07] * veb quit (Quit: My Mac has gone to sleep. ZZZzzz…)
622: [05:43:58] * Shrike_Finland quit (Quit: Leaving.)
623: [05:44:37] * Stomach quit (Ping timeout: 240 seconds)
624: [05:56:14] * simon_w|work quit (Quit: Ping timeout: your mum)
625: [06:11:07] * jedateach quit (Ping timeout: 245 seconds)
626: [06:32:00] * Shrike_Finland has joined #silverstripe
627: [06:35:57] * UncleCheese has joined #silverstripe
628: [06:38:34] * micmania1 quit (Quit: micmania1)
629: [06:39:32] * veb has joined #silverstripe
630: [06:40:40] * jordanmk quit ()
631: [06:46:03] * glenn-bautista quit (Quit: Leaving.)
632: [06:46:30] * glenn-bautista has joined #silverstripe
633: [06:55:46] * lerni_ has joined #silverstripe
634: [07:02:17] * micmania1 has joined #silverstripe
635: [07:12:27] * micmania1 quit (Quit: micmania1)
636: [07:13:37] * Colin[pi] quit (Ping timeout: 240 seconds)
637: [07:15:04] * Colin[pi] has joined #silverstripe
638: [07:15:13] * zippy has joined #silverstripe
639: [07:18:10] * zippy quit (Client Quit)
640: [07:38:58] * Eliseth has joined #silverstripe
641: [07:39:33] * r_hector has joined #silverstripe
642: [07:41:39] * Guits has joined #silverstripe
643: [08:17:07] * gavro has joined #silverstripe
644: [08:17:45] * gavro quit (Read error: Connection reset by peer)
645: [08:20:31] * arnhoe has joined #silverstripe
646: [08:21:50] * jeroenem has joined #silverstripe
647: [08:23:40] * micmania1 has joined #silverstripe
648: [08:25:09] * wmk has joined #silverstripe
649: [08:33:55] * micmania1 quit (Quit: micmania1)
650: [08:42:37] * Guits quit (Ping timeout: 240 seconds)
651: [08:45:30] * Guits has joined #silverstripe
652: [08:59:27] * Tanger quit (Quit: Tanger)
653: [09:00:13] * gavro has joined #silverstripe
654: [09:16:13] * lerni_ quit (Remote host closed the connection)
655: [09:16:34] * MrGuits has joined #silverstripe
656: [09:18:45] * lerni has joined #silverstripe
657: [09:19:36] * jcwacky quit (Quit: jcwacky)
658: [09:24:43] * Pyduk has joined #silverstripe
659: [09:25:10] <Pyduk> fffffffffffffrrrriiiiiiiiiday friday friday
660: [09:25:38] <wmk> you ate french fries?
661: [09:25:41] * veb quit (Quit: My Mac has gone to sleep. ZZZzzz…)
662: [09:25:58] <Pyduk> nope. Not such a huge fan of the french fries.
663: [09:26:03] <wmk> but
664: [09:26:06] <wmk> it's frie-day!
665: [09:26:09] * Eliseth quit (Quit: Textual IRC Client: www.textualapp.com)
666: [09:26:11] <Pyduk> kekeke
667: [09:26:16] <Pyduk> thai-day friday
668: [09:26:19] <Pyduk> yum
669: [09:26:27] <Pyduk> or pie-day friday.
670: [09:26:43] <Pyduk> also good, when the case arises.
671: [09:26:49] <wmk> di-day?
672: [09:27:04] <Pyduk> nope :<
673: [09:27:32] <wmk> prince-charles-day?
674: [09:27:47] <Pyduk> I suppose he has one of those every year.
675: [09:28:44] <Pyduk> I have a me-day every year too. This year I had it in Munich.
676: [09:28:51] <Pyduk> it was good, and tasty.
677: [09:28:56] <wmk> me-day?
678: [09:29:04] <Pyduk> My birthday! :P
679: [09:29:20] <wmk> on a friday?
680: [09:29:30] <Pyduk> umm...
681: [09:29:36] <Pyduk> Wednesday I think actually
682: [09:29:46] <Pyduk> Yup.
683: [09:29:46] * mahfuz quit (Ping timeout: 246 seconds)
684: [09:30:13] <wmk> hey, is there an easy way to allow all editors to create/edit/delete a DO?
685: [09:30:26] <Pyduk> restrict it to a group
686: [09:30:29] <wmk> withouth explicitly using can Methods?
687: [09:30:35] <Pyduk> I think there's a group... oh.
688: [09:30:52] <Pyduk> No I don't think so.
689: [09:30:53] <wmk> well, when i'm managing the page alone as admin i don't need the can methods
690: [09:31:06] <wmk> but when a customer edits i don't want to make him admin
691: [09:31:24] <wmk> so updating code for a clean user experience
692: [09:31:43] <Pyduk> There's a group for CAN_LOGIN or something I think
693: [09:32:02] <wmk> i think using permissions provider is best
694: [09:32:19] <Pyduk> CMS_ACCESS_CMSMain
695: [09:32:24] <wmk> stumbled over a module yesterday where you can act as another user when you're admin
696: [09:32:32] <wmk> good for testing such things
697: [09:32:50] <wmk> yup. CMS_ACCESS_CMSMain would work, too
698: [09:33:23] <wmk> https://github.com/sheadawson/silverstripe-userswitcher looks interesting
699: [09:33:23] <Pyduk> I just use incognito window
700: [09:33:38] <Pyduk> makes for a 'cleaner' test IMO
701: [09:33:48] <wmk> incognito window?
702: [09:33:51] <Pyduk> although that switcher would be handy too
703: [09:33:56] <Pyduk> yes in chrome.
704: [09:34:10] <wmk> ah,
705: [09:34:11] <Pyduk> 'private browsing' in firefox, 'in private' in IE
706: [09:34:17] <wmk> ok
707: [09:46:23] * glenn-bautista quit (Quit: Leaving.)
708: [09:49:21] * Shrike_Finland quit (Quit: Leaving.)
709: [09:53:15] * Copperis has joined #silverstripe
710: [09:53:31] <Copperis> hello
711: [09:54:05] <Pyduk> Hello
712: [09:54:37] * Shrike_Finland has joined #silverstripe
713: [09:54:56] <wmk> hmm, the screenshot in that module is not up to date
714: [09:55:06] <wmk> don't see anything that adds a form to leftandmain
715: [09:55:09] <wmk> :(
716: [09:56:02] <Copperis> after making a script to populate the tree in the CMS, I'm getting a "Removed from draft" label near those items. And when I enter it trough the CMS, it doesn't let me edit it. Just to restore, after which editing works. It works fine at the frontend though. What could be the cause of this?
717: [09:56:21] <wmk> only published but not saved?
718: [09:56:36] <wmk> so page only in _Live table, not in normal table?
719: [09:57:07] <Copperis> it's in both tables. It does a ->writeToStage('Stage') and ->writeToStage('Live'). I'll just check to be sure
720: [09:57:41] * Stomach has joined #silverstripe
721: [09:57:56] <Copperis> yes, it's present in both tables
722: [10:01:35] <wmk> is it a subclass of SiteTree / Page ?
723: [10:02:35] <Copperis> yes
724: [10:03:21] <simon_w> Copperis, use ->writeToStage('Stage') then ->publish('Stage', 'Live')
725: [10:03:45] <Copperis> ok, I'll try that
726: [10:04:08] <wmk> yup. was searching for something like that
727: [10:04:30] <wmk> though ->write() should be the same as ->writeToStage('Stage'), simon_w ?
728: [10:04:38] <simon_w> wmk, not likely
729: [10:04:49] <wmk> oh
730: [10:05:04] <kinglozzer> Ugh, Chrome still has that stupid input cursor bug
731: [10:05:06] <simon_w> reading stage now gets set up in pre-request handler
732: [10:06:27] <Pyduk> gawd versioned is such a clusterfuck D:
733: [10:06:37] <Pyduk> kinglozzer: eh?
734: [10:06:55] <wmk> Copperis, i'd use SiteTree's method ->doPublish() for my page
735: [10:07:01] <wmk> it invokes all extensions
736: [10:07:40] <wmk> and calles all that stuff for you: http://api.silverstripe.org/3.1/source-class-SiteTree.html#2324-2367
737: [10:08:05] <Copperis> wmk, instead of ->publish() ?
738: [10:08:08] <wmk> yup
739: [10:08:15] <wmk> does all the sitetree magic for you
740: [10:08:24] <kinglozzer> Pyduk: A text input with line-height causes the "blinking" cursor thing to appear way too high
741: [10:08:27] <wmk> updates relation pages etc...
742: [10:08:46] <kinglozzer> http://stackoverflow.com/questions/26270582/html-input-cursor-position-issue-in-chrome-when-value-is-empty
743: [10:09:02] <Pyduk> kinglozzer: good thing chrome updates every 2 days then :>
744: [10:09:58] <wmk> damn, had to use dev-master instead of 0.1.1
745: [10:10:29] <wmk> why not release a 0.2-pre or 0.2.0 instead?
746: [10:10:30] <Copperis> simon_w, ->publish() doesn't seem to help. I'll try ->doPublish() as wmk suggested
747: [10:14:29] * Shrike_Finland quit (Quit: Leaving.)
748: [10:14:46] <Copperis> nope, doesn't seem to do it either
749: [10:16:43] * cloph_away is now known as cloph
750: [10:20:29] * lerni quit ()
751: [10:22:46] <Copperis> so that "Removed from draft" label gets added if "IsDeletedFromStage" is true. It is true if Versioned::get_versionnumber_by_stage() is false. Which is false, because those items have a version number of 0.
752: [10:25:11] * gavro_ has joined #silverstripe
753: [10:26:35] * MiniZeka has joined #silverstripe
754: [10:26:39] <MiniZeka> hey
755: [10:26:51] <simon_w> Hello
756: [10:26:56] <MiniZeka> is it possible to add another "column" in DataObject::get()?
757: [10:27:15] <MiniZeka> I want to order full text search results by relevance
758: [10:27:19] <simon_w> To the select? nope
759: [10:27:35] <simon_w> Though you can have a look at how SearchForm does it
760: [10:27:50] * gavro quit (Ping timeout: 244 seconds)
761: [10:27:57] <MiniZeka> search form matches against in boolean mode
762: [10:28:06] <MiniZeka> which basicaly says "found" or "not"
763: [10:28:43] <MiniZeka> and I need it to be sorted by relevance
764: [10:28:54] <MiniZeka> for example, if I search for "test string"
765: [10:29:12] <MiniZeka> dataobjects with "test string", "test" and "string" inside will be shown
766: [10:29:22] <MiniZeka> in some random-ish order
767: [10:29:43] <MiniZeka> and I need it to show objects with "test string" first, "string" second" and "test" in the end
768: [10:31:31] <Pyduk> MiniZeka: stop using mysql, or install solr or something
769: [10:31:36] <Pyduk> searching is the devil :<
770: [10:32:03] <MiniZeka> Pyduk: if only I could...
771: [10:32:07] <simon_w> https://github.com/silverstripe/silverstripe-cms/blob/3.1/code/search/SearchForm.php#L136
772: [10:32:13] <simon_w> Looks like it uses RELEVANCE to me
773: [10:32:15] <wmk> elasticsearch?
774: [10:32:37] <simon_w> MiniZeka, also, since you're using MySQL, you don't need to add it to the SELECT to sort by it
775: [10:34:14] <MiniZeka> problem is that this project pretty much overwrites results method
776: [10:34:43] <MiniZeka> since it searches through not only SiteTree, but through 3-5 more objects
777: [10:47:40] <Copperis> the version for the newly created SiteTree subclasses is 0 and it doesn't go into this if: api.silverstripe.org/3.1/source-class-Versioned.html#572 Should it also check if the version is > 0 ?
778: [10:48:03] <Copperis> forgot the http
779: [10:50:10] <MiniZeka> simon_w: is there any way for me to edit SQLQuery underneath it all?
780: [10:53:24] * Colin[pi] quit (Ping timeout: 264 seconds)
781: [10:54:49] * Pyduk quit (Ping timeout: 246 seconds)
782: [10:56:40] * Guits quit (Quit: Leaving)
783: [10:57:07] <MrGuits> How can i use different templates for different domains (same content)
784: [11:05:21] <Copperis> is this a proper fix for the versioned thing? https://github.com/Copperis/silverstripe-framework/commit/f250ad5a62bc4fa5952691f690cca106cc78b4b5
785: [11:06:20] <Copperis> it fixes that problem I was having
786: [11:06:40] <MiniZeka> is it even possible to extend DataQuery?
787: [11:08:45] <Copperis> MiniZeka, extending is possible. Do you want to alter the underlying query?
788: [11:14:54] * Marvanni has joined #silverstripe
789: [11:33:40] <Marvanni> is every private static on a class updatable with Config::inst()->update() ?
790: [11:37:00] <Marvanni> nvm...
791: [11:46:03] * Pyduk has joined #silverstripe
792: [11:51:42] * Kingy is now known as Kingy[a]
793: [12:13:12] * MrGuits quit (Ping timeout: 245 seconds)
794: [12:21:01] * Stomach quit (Quit: zzz)
795: [12:26:03] * Shrike_Finland has joined #silverstripe
796: [12:38:25] * Pyduk quit (Ping timeout: 246 seconds)
797: [12:49:56] * Shrike_Finland quit (Quit: Leaving.)
798: [13:04:30] <MiniZeka> Copperis: just got from the break :)
799: [13:04:51] <MiniZeka> yeah, I want to include Relevance in results when doing Full text search
800: [13:05:03] <MiniZeka> but selectField is protected
801: [13:07:00] <Copperis> MiniZeka, you can alter an underlying query like this: SomeObj::get()->alterDataQuery(function($query){ $query->where('an additional where'); });
802: [13:07:16] <Copperis> buut
803: [13:07:16] <MiniZeka> there is the problem
804: [13:07:24] <MiniZeka> I don't want to add another condition
805: [13:07:53] <MiniZeka> I want to add calculation of relevance to select, as another column
806: [13:09:57] * oetiker quit (Ping timeout: 240 seconds)
807: [13:11:09] <Copperis> I'm not sure then
808: [13:11:09] <MiniZeka> changed DataQuery to do it, something like this: http://www.sspaste.com/paste/show/546f34b8a5d15
809: [13:11:43] <Copperis> couldn't passing all that to ->column() work?
810: [13:11:50] * oetiker has joined #silverstripe
811: [13:12:23] <MiniZeka> nope. column returns one column from already selected rows
812: [13:12:28] <MiniZeka> BTDT
813: [13:13:13] <Copperis> oh yeah
814: [13:14:14] <Copperis> don't know then
815: [13:14:32] <MiniZeka> never mind, code above did what was supposed to do, I added hacks.txt to the root of the project :)
816: [13:18:11] * UndefinedOffset has joined #silverstripe
817: [13:22:15] * Shrike_Finland has joined #silverstripe
818: [13:25:08] <wmk> MiniZeka, at least sorting for relevance should be easy, see http://stackoverflow.com/questions/26925683/sort-datalist-by-calcualated-aggregated-column
819: [13:27:03] <MiniZeka> wmk: yes, but that comes AFTER I added Relevance as a property of results ;)
820: [13:27:44] <MiniZeka> since, as I said above, I have search through 3-5 totally unrelated data objects
821: [13:28:00] <MiniZeka> plus 2 of them have a permission check...
822: [13:28:27] <wmk> MiniZeka, sounds like something for a decent search engine like elasticsearch
823: [13:29:26] <wmk> how do you handle permission check in DB?
824: [13:33:06] <MiniZeka> well, it searches through 1-2k records
825: [13:33:20] <MiniZeka> so no need for elastic
826: [13:37:36] * Pyduk has joined #silverstripe
827: [13:40:15] <wmk> MiniZeka, if it's performant
828: [13:42:56] <wmk> re Pyduk
829: [13:45:08] * abitran has joined #silverstripe
830: [13:54:33] * arnhoe_ has joined #silverstripe
831: [13:56:37] * arnhoe quit (Ping timeout: 240 seconds)
832: [13:59:35] <Pyduk> re wmk
833: [14:00:10] * Eliseth has joined #silverstripe
834: [14:03:37] <wmk> so - should i upgrade that wordd* installation or not
835: [14:07:00] <Pyduk> hmm?
836: [14:07:12] <Pyduk> oh, probably yes.
837: [14:07:13] <wmk> i have one wordderp installation running
838: [14:07:26] <Pyduk> Yes. Upgrade essential.
839: [14:07:30] <wmk> the modules don't know if they're compatible with wordpress 4.0.1
840: [14:07:31] <wmk> super
841: [14:07:35] <Pyduk> oh
842: [14:07:37] <Pyduk> well...
843: [14:07:51] <Pyduk> I can't comment on that. Module developers put the derp in wordderp.
844: [14:08:00] <wmk> i guess so
845: [14:08:10] <Pyduk> Replicate, test, find out?
846: [14:08:16] * Pyduk shrugs
847: [14:08:16] <Pyduk> :<
848: [14:08:27] <wmk> update and pray
849: [14:08:32] <Pyduk> haha, or that.
850: [14:08:42] <Pyduk> if so, I recommend backup, update, pray.
851: [14:08:46] <wmk> so - i need write perms for my webserver to update that stuff i guess :(
852: [14:08:52] <Pyduk> idk.
853: [14:08:53] <wmk> backup done
854: [14:08:56] <Pyduk> righto
855: [14:09:03] <Pyduk> easy then! :D
856: [14:09:32] * Pyduk continues writing docs for the tool that only he will use.
857: [14:09:36] <Pyduk> probably
858: [14:09:53] <Pyduk> But it's handy, because even though I'm writing it, even I'm starting to get confused by the code flow :<
859: [14:09:57] <wmk> what kind of tool?
860: [14:10:04] <Pyduk> DB record merge tool
861: [14:10:09] <wmk> oh
862: [14:10:11] <wmk> cool
863: [14:10:17] <Pyduk> Yeah I'm thinking to release it.
864: [14:10:34] <Pyduk> after making it more generic (as opposed to crud igniter specific)
865: [14:11:01] <wmk> wow - wp seems to store everything in only a few tables
866: [14:11:08] <wmk> only 11 tables in my db
867: [14:11:13] <Pyduk> haha, yeah, well everything is a blog post!
868: [14:11:15] <wmk> compared to SS it's not that much
869: [14:11:18] <Pyduk> plog post all the things!
870: [14:11:26] <wmk> even a gallery?
871: [14:11:32] * MrGuits has joined #silverstripe
872: [14:11:33] <Pyduk> yeh, of course.
873: [14:11:37] <wmk> omg
874: [14:11:52] <wmk> in linz a guy from munich told me, there is also kind of wp shopw
875: [14:11:53] <Pyduk> every 'page' is a blog post (or at least was, originally)
876: [14:12:01] <Pyduk> yep, there are several
877: [14:12:01] * DimiStripe has joined #silverstripe
878: [14:12:02] <wmk> he wouldn't recommend
879: [14:12:07] <Pyduk> no, never do.
880: [14:12:37] <wmk> i have to convince my graphic girl that SS fits also for small cms sites
881: [14:12:57] <wmk> unfortunately in wp she can do everything, no need to code
882: [14:13:10] * wmk doesn't like config in db when you can have it in a file
883: [14:13:53] <Pyduk> wmk: is there a 'plugin interface' in the bms in wordderp? I don't remember
884: [14:14:00] <Pyduk> if so, that's about the only advantage.
885: [14:14:06] <wmk> yup
886: [14:15:31] * Shrike_Finland quit (Quit: Leaving.)
887: [14:18:18] <wmk> another advantage: tinymce 4.1.3
888: [14:18:19] <wmk> ;)
889: [14:23:58] * catcher has joined #silverstripe
890: [14:27:53] <Pyduk> :<
891: [14:28:03] <Pyduk> true. But not sure if decent actual advantage.
892: [14:28:20] <Pyduk> (tinymce is still tinymce)
893: [14:28:30] <wmk> of course
894: [14:29:03] <wmk> so what does your module do?
895: [14:35:14] * arnhoe_ quit ()
896: [14:38:43] <Pyduk> module?
897: [14:48:55] <Pyduk> wmk: ?
898: [14:55:11] <wmk> the one you've been writing docs for
899: [15:03:17] <Pyduk> [14:09] <wmk> what kind of tool? [14:10] <Pyduk> DB record merge tool [14:10] <Pyduk> after making it more generic (as opposed to crud igniter specific)
900: [15:03:18] <Pyduk> :)
901: [15:03:50] <Pyduk> Not an SS tool wmk (well, not ss specific)
902: [15:03:54] <wmk> ok
903: [15:04:12] <Pyduk> generic to * RBDMS
904: [15:18:39] * Guits has joined #silverstripe
905: [15:20:47] <wmk> hmm...
906: [15:20:54] <wmk> only one cosmetic thing is broken
907: [15:21:23] * MrGuits quit (Ping timeout: 272 seconds)
908: [15:40:24] * MrGuits has joined #silverstripe
909: [15:44:02] * Guits quit (Ping timeout: 245 seconds)
910: [15:54:11] <wmk> hmm, Fatal error: Call to undefined method GridFieldBetterButtonsItemRequest::getRecord()
911: [16:10:45] * wmk quit (Quit: nice to meet you ;))
912: [16:15:04] * Guits has joined #silverstripe
913: [16:17:07] <Guits> I found a bug on Importing csv via modeladmin when HTMLTextfield contains swedish charcters.. the fields truncates at the character.
914: [16:20:32] <Guits> both on version (3.1.0 and 3.1.8)
915: [16:20:48] * jeroenem quit (Quit: Page closed)
916: [16:22:27] <Pyduk> Guits: sounds more like an issue with database encoding.
917: [16:23:04] <Guits> how so, what should i do? i run utf8
918: [16:23:09] <Pyduk> if not, then ensure that the strings are mutlibyte or whatever (import functions), perhaps they can't process the string.
919: [16:23:10] <kinglozzer> Guits: I've had similar issues before, I can't remember which project it was on though... trying to find it
920: [16:23:23] <Pyduk> then get kinglozzer to fix it.
921: [16:23:30] <Pyduk> (he can merge the request)
922: [16:23:38] <Pyduk> pints and pounds
923: [16:23:42] <Pyduk> I need beer in me.
924: [16:23:45] <Guits> :)
925: [16:23:46] <Pyduk> and mebbe caffine.
926: [16:24:04] <Pyduk> phenylalanine
927: [16:24:58] <Pyduk> no, not that last one.
928: [16:26:18] * Eliseth quit (Ping timeout: 264 seconds)
929: [16:27:15] <Pyduk> Might blow some dosh on red bull and beers on the way home I think
930: [16:27:32] <kinglozzer> Guits: I'm sure Pyduk is right about database encoding, from memory mine was getting stuck importing a database that contained PDF file contents and stuff
931: [16:27:53] <Pyduk> It'll be some weird incompatiblity somewhere
932: [16:28:00] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
933: [16:29:13] * joely has joined #silverstripe
934: [16:29:13] <MrGuits> But i have no problems storing those characters through any htmlField.. only on CSVimport!
935: [16:29:41] * gavro has joined #silverstripe
936: [16:30:30] <joely> does anyone know if there's a method to get a controller's method link including any URL routes?
937: [16:30:52] <joely> much like the $this->link("methodName")
938: [16:31:01] * gavro quit (Remote host closed the connection)
939: [16:32:17] * gavro_ quit (Ping timeout: 240 seconds)
940: [16:32:30] * MiniZeka quit (Quit: Page closed)
941: [16:35:24] * joely quit (Quit: Page closed)
942: [16:35:27] * jenniferaslan has joined #silverstripe
943: [16:36:27] <Pyduk> MrGuits: Guits - then I suggest checking compatibility with whatever string functions PHP is using to grab the text from the file in the first place
944: [16:36:34] <Pyduk> and/or that PHP expects the correct encoding.
945: [16:36:57] <Pyduk> as opposed to assuming ASCII or something, which might make it dump when it encounters non ascii.
946: [16:37:20] <MrGuits> Yeah, i can work my way around it but should it, but should it be reported as a bug?
947: [16:43:55] * wilsonstaff has joined #silverstripe
948: [16:47:21] <wilsonstaff> Hi to all, we have a situation where we have a solution but not sure if its viable. Suppose we have a section that has a number of children (lets say 25 and counting). These children would be displayed in a page in three columns. Column 1 would be children 1 4 and 7, column 2 would be children 2 5 and 8 - column3 would be children 3 6 9 etc. We came up with that one loop Children.limit(1,$i) - QUESTION: where and
949: [16:47:25] <Pyduk> MrGuits: probably. If it's not something that's happening in your control.
950: [16:47:44] <wilsonstaff> page class (.php) or in the template (.ss) ?
951: [16:47:54] <Pyduk> wilsonstaff: no.
952: [16:47:57] <Pyduk> bad idea.
953: [16:48:03] <MrGuits> Pyduk: I am doing as simple as anything can be
954: [16:48:07] <Pyduk> also, where: CONTROLLER
955: [16:48:11] <Pyduk> but don't do that.
956: [16:48:30] <wilsonstaff> <Pyduk>You fish my curiosity....
957: [16:49:01] <Pyduk> <% loop WholeList %><% if ModulusOf(3) == 0 %>output<% end_if %><% end_loop %>
958: [16:49:04] <Pyduk> <% loop WholeList %><% if ModulusOf(3) == 1 %>output<% end_if %><% end_loop %>
959: [16:49:08] <Pyduk> <% loop WholeList %><% if ModulusOf(3) == 2 %>output<% end_if %><% end_loop %>
960: [16:49:18] <Pyduk> will work just as well, and probably be overall better.
961: [16:49:34] <Pyduk> MrGuits: yeah but character encoding is a hell of a thing :<
962: [16:49:38] <wilsonstaff> <Pyduk>Oh well..... clever. Thanks!
963: [16:50:25] <MrGuits> ..still feels like a bug if this should work for a end-user
964: [16:50:29] <Pyduk> wilsonstaff: rule of thumb is to keep logic out of the template as much as possible. A bit of simple logic is ok, but advanced stuff (like fetching things from the db, etc) is not advisable.
965: [16:50:38] <Pyduk> MrGuits: yeah, report it.
966: [16:50:50] <Pyduk> I'm just saying to investigage first :P
967: [16:51:00] <Pyduk> which you are, so s'ok.
968: [16:51:07] <wilsonstaff> <Pyduk>% loop WholeList %><% if ModulusOf(3) == 2 %>output<% end_if %><% end_loop %> would be <% loop Children... %> if code is place in the mother page?
969: [16:51:27] <Pyduk> wilsonstaff: well... could be, yeah.
970: [16:52:07] <Pyduk> wilsonstaff: an even better idea would simply be to float:left
971: [16:52:14] <Pyduk> width:33%
972: [16:52:18] <Pyduk> job done.
973: [16:53:25] <wilsonstaff> <Pyduk>No we want 1 4 7 then another row 2 5 8 then 3 6 9
974: [16:53:26] <Pyduk> you only really need to get technically fancy when you want eg. Col1:1,2,3 Col2:4,5,6 Col3:7,8,9
975: [16:53:55] <Pyduk> wilsonstaff: well, you explained poorly then (mixed up your cols & rows, or I did, or something)
976: [16:54:13] <Pyduk> wilsonstaff: https://github.com/NightJar/ssrigging-splitmenu
977: [16:54:53] <Pyduk> https://github.com/NightJar/ssrigging-splitmenu#notes - Point 2
978: [16:56:50] <wilsonstaff> <Pyduk>Dealing with logical templates is easier... Then your code won't produce: 1 4 7 then another row 2 5 8 then 3 6 9 ? What will it produce then?
979: [16:57:07] <Pyduk> wilsonstaff: the template method will do what you want.
980: [16:57:28] <Pyduk> you might need to fiddle with the values on the == though
981: [16:57:40] <Pyduk> ie I think you need 1,2,0 not 0,1,2
982: [16:57:56] <kinglozzer> https://github.com/kinglozzer/silverstripe-columnedlist?
983: [16:58:10] <kinglozzer> Or is that what your's does Pyduk? (haven't looked)
984: [16:58:30] <Pyduk> kinglozzer: mebbe. Is (reasonably) specific to menu though.
985: [16:59:02] <Pyduk> o.0 SS_ListDecorator?
986: [16:59:26] <kinglozzer> Pyduk: Yup, went with the same as GroupedList
987: [16:59:34] <wilsonstaff> <Pyduk>Thanks will try that.
988: [16:59:35] <Pyduk> but yeh kinglozzer, seems like same deal.
989: [17:00:14] * wilsonstaff quit (Quit: Page closed)
990: [17:00:35] <Pyduk> kinglozzer: the dangers of releasing shit you wrote over a year ago I guess. Duplication.
991: [17:01:01] <kinglozzer> Pyduk: Of modules? That's a good thing though (well, usually)
992: [17:01:12] <Pyduk> well... really?
993: [17:01:18] <kinglozzer> (unless you end up with hundreds of gallery modules that are shit)
994: [17:01:21] <kinglozzer> :P
995: [17:02:06] <Pyduk> kinglozzer: I know, I released one of them too (but is about the only one that is not shit :P )
996: [17:02:48] <Pyduk> kinglozzer: thoughts? https://github.com/NightJar/ssrigging-gallery Same shit really, just a different approach.
997: [17:04:32] * Guits quit (Ping timeout: 265 seconds)
998: [17:04:32] * MrGuits quit (Ping timeout: 265 seconds)
999: [17:04:48] <kinglozzer> Pyduk: has_many? BOOOOO!
1000: [17:04:58] <Pyduk> kinglozzer: #dealwithit
1001: [17:05:18] <Pyduk> kinglozzer: although... hmm?
1002: [17:05:19] <Pyduk> why so
1003: [17:05:24] <kinglozzer> Ohhh I see
1004: [17:05:30] * Guits has joined #silverstripe
1005: [17:05:34] * MrGuits has joined #silverstripe
1006: [17:05:38] <kinglozzer> I thought GalleryImage extended Image, not DataObject
1007: [17:05:43] <Pyduk> kinglozzer: yeah, no.
1008: [17:05:47] * jenniferaslan quit (Quit: jenniferaslan has left the room)
1009: [17:05:53] <kinglozzer> Thought you'd gone mad or something :P
1010: [17:06:33] <kinglozzer> Yeah looks good though, cleans up resampled images and shit which I always forget to do
1011: [17:06:34] <Pyduk> yeah that would be stupid
1012: [17:06:42] <Pyduk> kinglozzer: is option actually.
1013: [17:07:12] <Pyduk> dunno if people want that, because if link same image elsewhere... suddenly bad idea :<
1014: [17:07:29] <Pyduk> could probably be a bit more advanced in that area...
1015: [17:07:52] <kinglozzer> Pyduk: That's why you disabled link existing presumably?
1016: [17:07:57] <kinglozzer> (on the uploadfield)
1017: [17:08:09] <Pyduk> mm
1018: [17:08:25] <Pyduk> yep, by default manages it's own images.
1019: [17:08:40] <Pyduk> but... doesn't stop someone using a gallery image elsewhere once it's been uploaded
1020: [17:09:13] * jenniferaslan has joined #silverstripe
1021: [17:12:36] * kinglozzer weekend
1022: [17:12:37] <kinglozzer> ciao
1023: [17:12:38] * kinglozzer quit ()
1024: [17:12:39] <Pyduk> kinglozzer: the point is more though that it can be added to any kind of page/object
1025: [17:12:43] <Pyduk> righo
1026: [17:12:44] <Pyduk> bye
1027: [17:12:45] * Pyduk quit ()
1028: [17:23:55] * Copperis quit (Quit: Leaving)
1029: [17:33:28] * NETim quit (Ping timeout: 246 seconds)
1030: [17:35:13] * r_hector quit (Quit: Leaving.)
1031: [17:41:56] * gavro has joined #silverstripe
1032: [17:45:46] * toddvalentine has joined #silverstripe
1033: [17:46:30] * gavro quit (Ping timeout: 256 seconds)
1034: [18:20:39] * zfmf has joined #silverstripe
1035: [18:21:18] <zfmf> he guys, whats the easiest way, to add a class to an action on userforms module
1036: [18:22:23] * UndefinedOffset quit (Quit: Leaving.)
1037: [18:22:33] <zfmf> is there something like $form->getActions??
1038: [18:33:42] * zfmf quit ()
1039: [18:42:49] * UndefinedOffset has joined #silverstripe
1040: [18:48:33] * veb has joined #silverstripe
1041: [18:48:57] * veb quit (Client Quit)
1042: [19:46:41] * veb has joined #silverstripe
1043: [20:05:52] <catcher> zfmf, in case you check the logs, there are hooks in most of the functions. Search for $this->extend here: https://github.com/silverstripe/silverstripe-userforms/blob/master/code/model/UserDefinedForm.php
1044: [20:06:01] <catcher> Though I'm not sure what it means to add a class to an action..
1045: [20:37:42] * veb quit (Quit: My Mac has gone to sleep. ZZZzzz…)
1046: [20:42:10] * KF5WYX has joined #silverstripe
1047: [20:45:08] * Vinneeeeh has joined #silverstripe
1048: [20:45:37] <Vinneeeeh> Hello there.
1049: [20:46:22] <Vinneeeeh> long story short. i have a live domain on which i want to install silverstripe
1050: [20:47:29] <Vinneeeeh> but i get a warning. mod rewrite not enabled. in my .htaccess file it says rewrite engine on. my domain provoder says mod rewrite is enabled.
1051: [20:47:45] <Vinneeeeh> they csnt put override access on all,
1052: [20:49:30] <Vinneeeeh> on the forum somwone told me to put the right directory in the .htaccess file. how can i do that? the installation files are in public/sites/mydomain.nl
1053: [20:51:44] * Vinneeeeeeh has joined #silverstripe
1054: [20:52:02] * Vinneeeeh quit (Quit: Page closed)
1055: [20:54:02] <KF5WYX> hi all
1056: [20:54:14] <catcher> hello
1057: [20:54:35] <Vinneeeeeeh> Hello
1058: [20:54:44] <Vinneeeeeeh> I need some help.
1059: [20:55:01] <KF5WYX> Can anyone tell me why the text in my side menu appears text-align: justified; ? http://www.chapmanworld.com/cms/rad-studio/getting-started
1060: [20:58:14] * Colin[pi] has joined #silverstripe
1061: [21:03:07] * Vinneeeeeeh quit (Ping timeout: 246 seconds)
1062: [21:03:58] * UndefinedOffset quit (Quit: Leaving.)
1063: [21:12:04] * veb has joined #silverstripe
1064: [21:28:12] <veb> morning
1065: [21:28:25] * gavro has joined #silverstripe
1066: [21:30:43] <KF5WYX> it was the stupit font
1067: [21:30:52] <KF5WYX> hello veb
1068: [21:31:52] * DimiStripe quit (Quit: DimiStripe)
1069: [21:32:23] <veb> how's the weather?
1070: [21:42:11] * gavro quit ()
1071: [21:44:37] * Stomach has joined #silverstripe
1072: [21:44:37] * DimiStripe has joined #silverstripe
1073: [21:45:34] * Guits quit (Ping timeout: 255 seconds)
1074: [21:45:38] * MrGuits quit (Ping timeout: 255 seconds)
1075: [21:47:09] * DimiStripe quit (Client Quit)
1076: [22:03:39] * antmas has joined #silverstripe
1077: [22:03:50] <antmas> morning all
1078: [22:06:26] * DimiStripe has joined #silverstripe
1079: [22:20:22] <catcher> 'evening, and seeya!
1080: [22:20:44] <catcher> I'm out for a week. Don't miss me too much.
1081: [22:23:18] <Colin[pi]> HAI ANTMAS
1082: [22:23:35] * catcher quit (Quit: Leaving)
1083: [22:54:46] * KF5WYX quit (Ping timeout: 246 seconds)
1084: [23:20:52] <veb> https://marvina.com
1085: [23:20:53] <veb> lol
1086: [23:21:45] * toddvale_ has joined #silverstripe
1087: [23:24:52] * toddvalentine quit (Ping timeout: 245 seconds)
1088: [23:26:25] * toddvale_ quit (Ping timeout: 264 seconds)
1089: [23:44:45] * antmas quit (Read error: Connection reset by peer)

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