#silverstripe IRC Log

IRC log for 2 April 2015

All timestamps are in UTC.

1: [00:01:56] * Colin[pi] has joined #silverstripe
2: [00:03:05] <Colin[pi]> morning all o/
3: [00:06:23] <ss23> moin moin
4: [00:09:20] <adrexia> afternoon :)
5: [00:13:47] * joelpitt_ has joined #silverstripe
6: [00:16:05] <spronk2> \o
7: [00:16:13] * willr has joined #silverstripe
8: [00:16:57] * joelpittet quit (Ping timeout: 252 seconds)
9: [00:17:33] <spronk2> fuck magnets are awesome
10: [00:18:09] <Colin[pi]> spronk2: ok?
11: [00:19:02] * Motoservo has joined #silverstripe
12: [00:20:19] <Colin[pi]> fucking netflix
13: [00:20:25] <Colin[pi]> making my internet slow
14: [00:20:32] <Colin[pi]> more slow than usual anyway
15: [00:20:55] <adrexia> spronk2, I read that as 'fuck magnets' just so you know.
16: [00:21:01] <Colin[pi]> adrexia: so did I
17: [00:21:04] <spronk2> :O
18: [00:21:07] <adrexia> lol
19: [00:21:13] * spronk2 has a couple of neodymium spheres on his desk
20: [00:21:19] <spronk2> so fun to play with
21: [00:21:49] <Colin[pi]> spronk2 likes to play with his magnetic balls
22: [00:21:56] <spronk2> yeaahhh
23: [00:22:00] <spronk2> MAG BALLS
24: [00:22:11] <spronk2> mag and turbo warehouse!
25: [00:22:39] <Colin[pi]> my current internet speed: http://www.speedtest.net/result/4258953520.png
26: [00:22:47] <Colin[pi]> GG AUSTRALIA
27: [00:24:27] * ocm13 has joined #silverstripe
28: [00:26:52] <spronk2> D:
29: [00:26:54] <spronk2> lamesauceness
30: [00:27:04] <Colin[pi]> what a joke
31: [00:27:34] * Motoservo quit (Quit: Over & out.)
32: [00:29:53] <FrozenFire> http://www.speedtest.net/result/4258963033.png ggish Canada?
33: [00:30:10] <Ryan-Toast> FrozenFire…. fuckkkkk yyoooouuuuuu
34: [00:30:15] <spronk2> hmm
35: [00:30:29] <spronk2> i need an algorithm to determine the midpoint of alpha vs numeric characters..
36: [00:35:49] * mobiusnz has joined #silverstripe
37: [00:39:18] <antmas> 100/5? FrozenFire
38: [00:39:25] <antmas> UL should be higher
39: [00:39:26] <antmas> :D
40: [00:39:36] <antmas> Colin[pi]: o/
41: [00:39:58] <antmas> Colin[pi]: have fun reading the logs from this morning :D
42: [00:40:01] <Colin[pi]> hai antmas! o/
43: [00:40:08] <Colin[pi]> antmas: why? what happened??!
44: [00:40:24] <antmas> we talked about adult things!
45: [00:40:29] <antmas> (not that kind)
46: [00:40:55] <Colin[pi]> :O
47: [00:40:55] <antmas> made Simon quit (he subsequently blamed the WHOLE PHP OSS community)
48: [00:41:00] <antmas> was good fun :D
49: [00:41:15] <Colin[pi]> dafuq?
50: [00:41:50] <antmas> FrozenFire: sent us some sweet head shots
51: [00:41:57] * Colin[pi] goes to read
52: [00:41:59] <antmas> UncleCheese: managed to SOMEHOW bring up housing AGAIN
53: [00:42:02] <antmas> :D
54: [00:42:12] <Colin[pi]> lol
55: [00:42:15] <Colin[pi]> we all have our vices
56: [00:55:32] <adrexia> Simon quitting was my favourite bit. It's nice to see him rage quit over principals I can back. ;)
57: [00:55:57] <adrexia> but lets leave this morning to this morning shall we ;)
58: [00:56:31] <antmas> adrexia: lol you can't do that without dropping that little bomb :P
59: [00:56:38] <antmas> after dropping*
60: [00:56:50] <adrexia> no bombs dropped
61: [00:56:59] <adrexia> we've already hashed the whole thign out now
62: [00:57:03] <adrexia> :P
63: [00:57:08] <antmas> p.s he rage quit after accusing FF of being an asshole
64: [00:57:28] <adrexia> lol
65: [00:57:28] <antmas> ANYWAY ;)
66: [00:57:52] <adrexia> I've never met FF and this is the first time I've talked to him, so it's still too early for me to judge ;)
67: [00:58:29] * antmas nods
68: [00:58:32] <antmas> FrozenFire: :D
69: [00:58:32] <adrexia> but I have certainly felt like doing the same thing he did when the same topic comes up.
70: [00:58:58] <FrozenFire> :P
71: [00:59:34] <FrozenFire> No homo, but I was thinking about Simon's response when I was taking a shower just now
72: [00:59:41] <FrozenFire> Trying to think of how that might be reconciled.
73: [00:59:42] <antmas> hahahaha
74: [00:59:45] <ss-helper> Shortcode for dataobjects - http://www.silverstripe.org/community/forums/customising-the-cms/show/101504
75: [00:59:56] <Colin[pi]> FrozenFire: NOW KISS
76: [01:00:00] <FrozenFire> I decided it might be left as it is
77: [01:00:11] <FrozenFire> Just because he's never really liked me
78: [01:00:19] <antmas> yeah I wouldn't bother
79: [01:00:20] <Ryan-Toast> Are we bringing up this morning again? http://i.imgur.com/JTjXht4.gif
80: [01:00:22] <spronk2> ragequitting is for infants
81: [01:00:34] <antmas> Ryan-Toast: trying not to :D
82: [01:00:49] <adrexia> but honestly, if staying is worse, rage quit by all means
83: [01:01:07] <Colin[pi]> why cant we all just get along? <3
84: [01:01:15] <spronk2> SPREAD THE LOVE <3
85: [01:01:15] <Colin[pi]> that's a heart btw not my balls
86: [01:01:18] <FrozenFire> I'd've liked to have gotten a reason for him being so offended
87: [01:01:25] <adrexia> because sexism, racism, homophibia, etc
88: [01:01:33] <adrexia> lol
89: [01:01:37] <FrozenFire> But I suspect it was just that he didn't want to hear the opposing viewpoint at all.
90: [01:01:49] <adrexia> FrozenFire, I could explain it if you like.
91: [01:01:56] <Colin[pi]> adrexia: I guess I'm a very moderate person.. I don't get how people take extremes sometimes
92: [01:02:03] <spronk2> ikr, Colin[pi]
93: [01:02:04] <antmas> FrozenFire: is't simon, in his world THERE IS no opposing view point
94: [01:02:05] <adrexia> he was basically projecting my own emotions, afterall ;)
95: [01:02:07] <Ryan-Toast> They’re taught as kids.
96: [01:02:08] <FrozenFire> adrexia, I think I got a good sense of where you were coming from. :)
97: [01:02:09] * Tanger has joined #silverstripe
98: [01:02:19] <Ryan-Toast> No-one is born hating others.
99: [01:02:29] <adrexia> haha
100: [01:02:30] <Tanger> ^
101: [01:02:33] <Tanger> Morning
102: [01:03:00] <Ryan-Toast> The only thing we’re boern hating is subsites.
103: [01:03:01] <adrexia> yeah but my intial response is "What? you don't understand? I don't... even... "
104: [01:03:13] <Tanger> Haha
105: [01:03:14] <adrexia> Ryan-Toast, #trusth
106: [01:03:21] <antmas> Ryan-Toast: +1
107: [01:03:24] <FrozenFire> Colin[pi], A lot of the time, people aren't necessarily taking the extremes. They're just passionate and misunderstood
108: [01:03:27] <Ryan-Toast> and styling gridfields.
109: [01:03:46] <antmas> Ryan-Toast: and non margins on google maps embeds
110: [01:03:52] <antmas> ^.^
111: [01:03:55] <Ryan-Toast> SO MUCH HIERACHY, THE FUCK WERE THEY THINKING
112: [01:04:14] <adrexia> before you pick a battle, just make sure you aren't already on the winning side.
113: [01:04:23] <Ryan-Toast> antmas: http://i.imgur.com/kmbxEJ8.gif
114: [01:04:24] <antmas> OH SNAP
115: [01:04:37] <antmas> Ryan-Toast: ROFL gold
116: [01:04:37] <adrexia> kicking people in the ehad when they are on the ground is pretty mean
117: [01:04:47] <Ryan-Toast> adrexia: but easy.
118: [01:04:49] <Ryan-Toast> So easy.
119: [01:04:54] <Ryan-Toast> fuck you, chiildren.
120: [01:04:55] <adrexia> so so easy :D
121: [01:05:08] <Ryan-Toast> WELCOME TO THE WORLD, MOTHER FUCKERS
122: [01:05:24] <adrexia> lols
123: [01:06:06] <Ryan-Toast> Not sure if I like this gridfield style or not...
124: [01:06:09] <Colin[pi]> antmas Ryan-Toast: http://i.imgur.com/xFLcP.gif
125: [01:07:01] <antmas> Colin[pi]: Ryan-Toast andrew wk is the best
126: [01:08:01] * Hailwood quit (Quit: Leaving)
127: [01:10:11] * antmas is finding it hard to do work
128: [01:10:46] * spronk2 can't figure out how to measure this shit he needs to measure
129: [01:10:58] * joelpitt_ quit (Remote host closed the connection)
130: [01:11:01] <Colin[pi]> spronk2: how many courics?
131: [01:11:05] <spronk2> :D
132: [01:11:12] <antmas> parsecs*
133: [01:11:28] <spronk2> nah brah
134: [01:11:49] <spronk2> just need to figure out whether or not some alpha chars at the end of an alphanumeric string are junk, or part of an alphanumeric phone number
135: [01:12:09] <Colin[pi]> ugh string parsing junk
136: [01:12:14] <spronk2> mm
137: [01:12:15] <antmas> -1
138: [01:12:27] <spronk2> like.. 0800 big balls is an alphanumeric number
139: [01:12:28] <spronk2> but
140: [01:12:32] <spronk2> 021 000 000 weekends only
141: [01:12:34] <spronk2> is junk
142: [01:12:41] <Colin[pi]> urg
143: [01:13:01] * ocm13 quit (Ping timeout: 255 seconds)
144: [01:13:05] * antmas tries real hard not to ring 0800 big balls
145: [01:13:05] <Colin[pi]> spronk2: regex/length check?
146: [01:13:13] <spronk2> well
147: [01:13:25] <spronk2> my current strategy is to find the "weighting" of alphanumerics in the string
148: [01:13:42] <spronk2> i.e. what number / length is the average numeric character
149: [01:13:53] <spronk2> and then modulate that somehow based on the number of numeric characters at the start
150: [01:14:36] <antmas> that sounds like something really complex for a simple problem
151: [01:14:43] <spronk2> its a haaarrd problem
152: [01:14:51] <antmas> your a hard problem
153: [01:14:55] <spronk2> damn straight
154: [01:15:05] <Colin[pi]> spronk2: just make it a numeric field, BOOM
155: [01:15:08] <Colin[pi]> problem solved
156: [01:15:11] <spronk2> i wish :'(
157: [01:15:12] * Colin[pi] heads home
158: [01:15:19] <antmas> gg Colin[pi]
159: [01:15:19] * Colin[pi] realises is already home
160: [01:15:31] <antmas> spronk2: why do you need to allow the big balls?
161: [01:15:38] <spronk2> hmm?
162: [01:15:42] <Colin[pi]> antmas: why not just the tip
163: [01:15:45] <spronk2> lawl
164: [01:15:45] <antmas> who dafuq lets alphanumeric in phone number fields?
165: [01:15:54] <Colin[pi]> ^ this guy
166: [01:15:57] <spronk2> apparently quite a few people
167: [01:16:05] <antmas> why?
168: [01:16:07] <antmas> honestly
169: [01:16:10] * spronk2 shrugs
170: [01:16:11] <spronk2> historical reasons?
171: [01:16:17] <antmas> fuck history
172: [01:16:20] <antmas> LIVE IN THE NOW SHEEPLE
173: [01:16:23] <spronk2> if only it was that easy
174: [01:17:07] <ss-helper> CSV / BulkLoading Rewrite - https://groups.google.com/d/msg/silverstripe-dev/tabbsJxzGqg/AbRgWFd_6rgJ
175: [01:18:14] <spronk2> hmm
176: [01:18:26] <spronk2> the other way i could do it is to answer the question.. is there enough numerical number before the alpha stuff to make a proper number
177: [01:18:27] <antmas> 'hey we put letters in our 0800 number so you CAN TELL IT'S US because that wasn't already obvious!'
178: [01:18:32] <antmas> Winning
179: [01:18:50] <spronk2> my old workplace had the number 0800 KNOCKOUT
180: [01:18:55] <spronk2> ... which is also, hilariously, 0800 KNOB JOCKEY
181: [01:19:02] <Colin[pi]> lol
182: [01:19:13] <antmas> hahaha
183: [01:19:31] <antmas> wate
184: [01:19:35] <antmas> 1 too many numbers?
185: [01:19:36] <spronk2> (number limit)
186: [01:19:39] <antmas> ah
187: [01:19:40] <antmas> :P
188: [01:20:47] <spronk2> hmm
189: [01:20:52] <spronk2> the problem is how to do this internationally
190: [01:20:59] <spronk2> because different countries have quite different rules on phone number length
191: [01:21:10] <spronk2> "rules"
192: [01:21:24] <mahfuz> ss-helper: is it possible to import for dataobjects having has_one relationship with Image type with importexport module?
193: [01:21:30] <spronk2> libphonenumber is good at dealing with alpha prefixes to numbers
194: [01:21:36] <spronk2> but fails hard with junk at the end
195: [01:21:38] <Colin[pi]> spronk2: wait, so what is it you actually need to do with the number?
196: [01:21:49] <spronk2> Colin[pi] i need to extract phone numbers from strings
197: [01:21:56] <spronk2> i can find the starts of numbers easily
198: [01:21:58] <antmas> Colin[pi]: validate alphanumeric phone numbers
199: [01:22:01] <Colin[pi]> convert the alphanumeric to numbers?
200: [01:22:04] <spronk2> nono
201: [01:22:11] <spronk2> i need to determine whether to treat a number as an alphanumeric number
202: [01:22:13] <Colin[pi]> oh just validate
203: [01:22:18] <spronk2> or whether to treat it as a number + some junk string
204: [01:22:21] <Colin[pi]> ah k
205: [01:22:25] <spronk2> so that i can extract the actual dialable number
206: [01:22:39] <antmas> what about when people put + in there? like +64 blahblah
207: [01:22:44] <spronk2> that's all good
208: [01:22:48] <Colin[pi]> and it needs to be international as well?
209: [01:22:52] <spronk2> Colin[pi] yah
210: [01:22:56] <Colin[pi]> ugh
211: [01:23:00] <Colin[pi]> that sounds awful
212: [01:23:01] <Colin[pi]> :D
213: [01:23:03] <spronk2> mm
214: [01:23:14] <spronk2> fucking software that allows freeform entry for shit like phone numbers
215: [01:23:30] <spronk2> and fucking dumb school administrators that stick in shit like "weekends only"
216: [01:23:35] <spronk2> IN THE PHONE NUMBER FIELD
217: [01:23:43] <antmas> garbage in garbage out
218: [01:23:48] <Colin[pi]> spronk2: is there any type of jQuery plugin or something for it?
219: [01:24:03] <Colin[pi]> to give a head start
220: [01:24:04] <spronk2> the only thing that comes close to being able to do this is libphonenumber
221: [01:26:11] <spronk2> but it's a bit dumb
222: [01:26:23] <spronk2> because youcan use extractPossibleNumber, and it will handle i.e. work: 021 000 000
223: [01:26:47] <spronk2> but if there are letters after the number instead, it'll just give you the whole string, even if the string is longer than E164 allows
224: [01:26:52] <spronk2> and then it fails to parse it
225: [01:28:01] <antmas> reverse egineer it to do the opposite of what it does :D
226: [01:28:04] <antmas> EASY
227: [01:28:10] <spronk2> haha
228: [01:28:11] <spronk2> except it isn't easy :(
229: [01:28:17] <spronk2> because all phone number shave to start with a digit or +
230: [01:28:23] <spronk2> but they don't have to end with that
231: [01:29:04] <antmas> :D hirepool just sent me a newsletter with all the 'hirepool' typoed as Hirepoo
232: [01:29:10] <spronk2> lulul
233: [01:29:39] <antmas> funny story
234: [01:29:40] <antmas> this morning
235: [01:29:45] <antmas> on my way to work
236: [01:29:54] <antmas> I was pulling up behind a poo truck
237: [01:30:05] <antmas> the guy forgot to 'close the hose/tank'
238: [01:30:10] <spronk2> oohhhhhhh
239: [01:30:25] <antmas> he braked and the 'slosh' flew out all over his cab and onto the road
240: [01:30:30] <spronk2> yuummmmmmy
241: [01:30:32] <antmas> poor bastard
242: [01:31:04] <antmas> I isntantly turned off all fans/ac and drove SLOWLY around it
243: [01:31:17] <spronk2> heh
244: [01:31:18] <spronk2> mm
245: [01:31:25] <antmas> because there were... chunks
246: [01:33:27] <Colin[pi]> antmas: gross
247: [01:33:45] * babak has joined #silverstripe
248: [01:34:20] <MichalKleiner> what are the ranges you estimate on upgrading 2.4 to 3.1 on a simple, medium and complex sites?
249: [01:35:24] <antmas> ranges of what?
250: [01:35:32] <MichalKleiner> sorry, hours of work :-)
251: [01:35:49] <antmas> lots, lots and HELP ME I'M IN HELL
252: [01:36:00] <Colin[pi]> ^
253: [01:36:43] <antmas> pretty much all depends on reliance of unsupported modules, amount of custom code (and quality of)
254: [01:36:50] <antmas> reliance on*
255: [01:37:10] <antmas> simple and medium are usually pretty easy
256: [01:37:26] * cwsx has joined #silverstripe
257: [01:37:32] <MichalKleiner> pretty easy means 20 hours? 40 hours?
258: [01:37:54] <MichalKleiner> I can imagine on complex sites it's more like redeveloping the site
259: [01:37:56] <antmas> 20 hrs, 40 hrs, 80 hrs
260: [01:38:06] <antmas> guessing/rough knowledge
261: [01:38:28] <MichalKleiner> something like I was thinking too.. if any code can be reused
262: [01:39:01] <cwsx> Is there any way to edit the editForm that a gridview opens? In the CMS, using ModelAdmin
263: [01:39:03] <MichalKleiner> often I think about refactoring as well opposed to 'just do the cms man'
264: [01:39:12] <antmas> lots of code should be resused - but also I factor in time for refactoring
265: [01:39:18] <antmas> MichalKleiner: yes, that ^^
266: [01:40:54] <MichalKleiner> thanks antmas
267: [01:41:37] <antmas> MichalKleiner: np
268: [01:41:53] <antmas> assuming the silence from others is a general agreement with those hrs :P
269: [01:44:36] <MichalKleiner> haha
270: [01:44:58] <MichalKleiner> or bored sleepy times on small Friday :-D
271: [01:45:07] <Colin[pi]> antmas: http://i.imgur.com/q6vCApt.gif
272: [01:45:33] <antmas> Colin[pi]: lol :D
273: [01:46:36] <cwsx> Naw really though, how the hell do I change ModelAdmin stuff
274: [01:50:36] <MichalKleiner> cwsx in old version?
275: [01:50:51] <cwsx> Think it's 3.1
276: [01:51:13] <cwsx> Yeah, 3.1.5
277: [01:51:21] <MichalKleiner> that should go to the page or DO edit page, right?
278: [01:51:36] <cwsx> the DO edit page I think is what I want to edit
279: [01:51:52] <cwsx> I'm not really sure what I need to edit though
280: [01:53:58] <MichalKleiner> cwsx: http://www.silverstripe.org/learn/lessons/introduction-to-modeladmin
281: [01:54:30] <MichalKleiner> probably want to look at public function getCMSfields()
282: [01:54:50] <cwsx> ohhhhh never seen lessons before, that should be perfect thanks
283: [01:56:50] <MichalKleiner> no worries.. it's a good place to look at even for skilled devs as they might not know all that's covered there
284: [01:56:57] * MichalKleiner talking about himself :-D
285: [02:05:22] * cwsx quit (Ping timeout: 246 seconds)
286: [02:12:49] <antmas> Ryan-Toast: you know if it's possible to 'split' a hover effect on an element in half?
287: [02:13:03] <Ryan-Toast> antmas: How do you mean?
288: [02:13:11] <antmas> Ryan-Toast: hmmm, might be hard to explain
289: [02:13:32] <antmas> Ryan-Toast: like, I have a red square - I want to hover over it and have half go blue, the other half go green
290: [02:13:40] <Ryan-Toast> yeah.
291: [02:13:44] <Ryan-Toast> before, after
292: [02:14:03] <antmas> example?
293: [02:14:18] <antmas> never really dealt with :before:after before :O
294: [02:14:30] <Ryan-Toast> antmas: give me a sec
295: [02:14:42] <antmas> Ryan-Toast: chur
296: [02:16:02] <Colin[pi]> mm really useful :before and :after
297: [02:16:23] <antmas> yeah I should use it more
298: [02:19:15] <Ryan-Toast> antmas: http://codepen.io/anon/pen/QwPOpz
299: [02:19:52] <antmas> Ryan-Toast: perfect :D
300: [02:20:18] <antmas> ultimately, I want to have each half selectable
301: [02:20:28] <Ryan-Toast> use transform if you want to animate them.
302: [02:20:45] <Ryan-Toast> then do the same with two a tags inside the dive.
303: [02:20:49] <Ryan-Toast> div
304: [02:20:55] <antmas> Ryan-Toast: nice, thanks dude
305: [02:21:01] <Ryan-Toast> np
306: [02:26:13] <antmas> right - I'm out folks
307: [02:26:16] <antmas> have a good easter :D
308: [02:26:18] <Ryan-Toast> Bai
309: [02:26:19] <antmas> o/
310: [02:26:22] <Ryan-Toast> have a good long weekend.
311: [02:26:35] * antmas quit (Quit: Page closed)
312: [02:34:26] * joelpittet has joined #silverstripe
313: [02:52:46] <spronk2> MOO
314: [03:00:12] <Ryan-Toast> I forgot it was april in America: https://www.youtube.com/watch?v=tUEkqZxLyrg
315: [03:13:57] * UncleCheese quit (Ping timeout: 248 seconds)
316: [03:15:11] <ss-helper> Re: Silver Stripe Gallery all images down one side of the page - http://www.silverstripe.org/community/forums/general-questions/show/101503#post401020
317: [03:26:21] * mobiusnz1 has joined #silverstripe
318: [03:26:22] * mobiusnz quit (Read error: Connection reset by peer)
319: [03:26:38] * mobiusnz1 is now known as mobiusnz
320: [03:41:57] * Ryan-Toast quit (Quit: Ryan-Toast)
321: [03:51:49] * Ryan-Toast has joined #silverstripe
322: [03:51:57] * Ryan-Toast quit (Client Quit)
323: [04:00:19] <ss-helper> Re: How do I configure the datagrid of a Dataobject? - http://www.silverstripe.org/community/forums/customising-the-cms/show/101395#post401022
324: [04:00:20] <ss-helper> Re: Shortcode for dataobjects - http://www.silverstripe.org/community/forums/customising-the-cms/show/101504#post401021
325: [04:07:19] * willr quit (Quit: willr)
326: [04:12:46] * veb has joined #silverstripe
327: [04:15:22] <ss-helper> Re: Shortcode for dataobjects - http://www.silverstripe.org/community/forums/customising-the-cms/show/101504#post401023
328: [04:28:49] * babak quit (Quit: Connection closed for inactivity)
329: [04:48:05] * Shrike_Finland has joined #silverstripe
330: [04:54:02] * Shrike_Finland quit (Quit: Leaving.)
331: [04:57:28] * mobiusnz quit (Quit: Leaving.)
332: [05:10:00] * Stomach quit (Quit: zzz)
333: [05:15:46] * mahfuz quit (Ping timeout: 246 seconds)
334: [05:26:13] * Shrike_Finland has joined #silverstripe
335: [05:30:32] * Colin[pi] quit (Ping timeout: 244 seconds)
336: [05:36:47] * Colin[pi] has joined #silverstripe
337: [05:46:04] * jarr0dsz quit (Quit: My Mac has gone to sleep. ZZZzzz…)
338: [05:47:58] * Colin[pi] quit (Ping timeout: 255 seconds)
339: [06:24:23] * mobiusnz has joined #silverstripe
340: [06:26:08] * Sticks quit (Quit: Leaving)
341: [06:44:31] * mobiusnz quit (Quit: Leaving.)
342: [06:49:02] * travis-ci has joined #silverstripe
343: [06:49:03] <travis-ci> silverstripe/silverstripe-framework#4519 (3.1 - d34c39b : Daniel Hensby): The build passed.
344: [06:49:03] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/2d4a3edd6c5c...d34c39bc8546
345: [06:49:03] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/56839615
346: [06:49:03] * travis-ci has left #silverstripe
347: [06:53:37] * Eliseth has joined #silverstripe
348: [07:05:23] * Shrike_Finland quit (Quit: Leaving.)
349: [07:06:21] <ss-helper> SilverStripe Payment Module: 0.4.2 and 0.3.2 security release - https://groups.google.com/d/msg/silverstripe-announce/qFOFfvWBNe8/GBYNgOacmwgJ
350: [07:06:25] <ss-helper> SilverStripe 3.0.6 Security Release - https://groups.google.com/d/msg/silverstripe-announce/m4vmXYmV0CE/EfSzp3t6mvsJ
351: [07:08:50] * nyeholt has left #silverstripe
352: [07:11:20] * arnhoe has joined #silverstripe
353: [07:19:38] * mobiusnz has joined #silverstripe
354: [07:26:00] * Arcax has joined #silverstripe
355: [07:26:20] <Arcax> Hi
356: [07:41:54] * swaiba has joined #silverstripe
357: [07:45:55] * Shrike_Finland has joined #silverstripe
358: [07:47:10] * joelpittet quit (Remote host closed the connection)
359: [07:56:16] * kinglozzer has joined #silverstripe
360: [08:04:58] * willr has joined #silverstripe
361: [08:05:05] * willr quit (Remote host closed the connection)
362: [08:08:43] * huberd has joined #silverstripe
363: [08:14:59] * Pyeqltk has joined #silverstripe
364: [08:19:52] * Frans_Amsterdam has joined #silverstripe
365: [08:22:25] <kinglozzer> Sup Pyeqltk
366: [08:23:11] <kinglozzer> equality?
367: [08:31:39] * babak has joined #silverstripe
368: [08:32:10] <Frans_Amsterdam> Hello all, I like to understand a bit more about the getFrontEndFields method. The dataObject that is using this to generate a form has a has_many relation to another dataObject. Can I use this relation to create a dropdown in the form?
369: [08:34:37] * Stomach has joined #silverstripe
370: [08:36:47] <Pyeqltk> kinglozzer: yeah we had this big interesting conversation about it last night.
371: [08:37:03] <kinglozzer> Pyeqltk: Yeah I just logs-ed, looks... intense
372: [08:37:37] <Pyeqltk> http://logs.simon.geek.nz/index.php?date=2015-04-02#log_1610150
373: [08:37:40] <Pyeqltk> starts there
374: [08:37:48] <Pyeqltk> really explodes when I stick my nose in, haha
375: [08:46:10] <ss-helper> Re: getsubtree error - http://www.silverstripe.org/community/forums/general-questions/show/101397#post401024
376: [08:54:33] * Tanger has left #silverstripe
377: [09:01:12] <ss-helper> Re: getsubtree error - http://www.silverstripe.org/community/forums/general-questions/show/101397#post401025
378: [09:05:00] * MattyBalaam has joined #silverstripe
379: [09:07:33] * DimiStripe has joined #silverstripe
380: [09:07:34] <MattyBalaam> Is there a limit to the levels of incudes for calling Top? I have a custom function in my page controller to grab a dataobject, calling <% loop Top.latestMediaAll() %> seems to work 2 levels of includes down from my Layout template, but once I get to the third I seem to get nothing
381: [09:08:30] <PigeonFriend> MattyBalaam: includes are supposed to lose context, so $Top shouldn't work? I think...
382: [09:08:59] <PigeonFriend> What you can do is <% include Template Root=$Top %>
383: [09:09:16] <PigeonFriend> and then $Root will be available in your include
384: [09:09:25] * Stomach quit (Quit: zzz)
385: [09:10:49] <MattyBalaam> Strange that it works two levels down then stops though?
386: [09:11:44] <PigeonFriend> MattyBalaam: yes, indeed. I'm not sure why that is
387: [09:12:05] <PigeonFriend> maybe it's $Up that never works in an include? but I thought $Top didn't
388: [09:13:15] <PigeonFriend> or MattyBalaam: maybe to do with the context of wen you use $Top... if in the 3rd level you'r in a with or loop, it may lose access to top?!
389: [09:13:17] <PigeonFriend> just guessing here
390: [09:13:19] * cloph_away is now known as cloph
391: [09:13:50] <PigeonFriend> MattyBalaam: related? https://github.com/silverstripe/silverstripe-framework/issues/3460
392: [09:13:57] <PigeonFriend> closed as "not a bug" LOWL!
393: [09:15:46] * harry has joined #silverstripe
394: [09:18:09] <kinglozzer> Yeah $Top doesn't reference the includer
395: [09:18:56] <kinglozzer> Hamish explained why once.. something like allowing that means that includes will become tightly coupled to the includer, so they're not really "includes" anymore, just stuff that's been moved to its own file
396: [09:19:54] <MattyBalaam> I think I get that, well a little anyway! Continually passing root=$root down seems to work for me.
397: [09:20:58] <Pyeqltk> PigeonFriend: yeah it's Up I believe.
398: [09:21:07] <Pyeqltk> As it's context sensitive.
399: [09:21:24] <Pyeqltk> Where Top should always give the root (requested) controller
400: [09:21:44] <Pyeqltk> but then again as includes wipe state as you say, perhaps Top gets lost in scope too.
401: [09:23:43] <PigeonFriend> I understand keeping includes their own functionality and passing in context is cool - it's actualy very powerful. but there are times when you do just want a context aware include]
402: [09:23:56] <Pyeqltk> simon_w's comment explains it succinctly though I think
403: [09:24:25] <Pyeqltk> $controller -> include ($Top == Controller)
404: [09:24:34] <Pyeqltk> $include -> include ($Top == include)
405: [09:24:39] <Pyeqltk> or something like that
406: [09:24:49] <Pyeqltk> so works in first level, none thereafter
407: [09:25:25] <Pyeqltk> [10:08] <PigeonFriend> What you can do is <% include Template Root=$Top %>
408: [09:25:45] <Pyeqltk> so this should work, I think... for the first level at least. Then you need $Root = $Root, or something
409: [09:26:20] <MattyBalaam> I can confirm this works
410: [09:26:47] <MattyBalaam> I have another question, is it expected that this makes the parser throw an error? <% if condition %> <% loop $foo %> <% else %><% loop $bar %> <% end_if %> $stuff <% end_loop %>
411: [09:27:34] <PigeonFriend> yes
412: [09:27:50] <PigeonFriend> you aren't closing your loop / if in order
413: [09:28:14] * mobiusnz quit (Quit: Leaving.)
414: [09:29:16] <PigeonFriend> you want to change what you loop over based on a condition? I'd recommend doing that in the controller OR you could do if <% if $Cond %><% loop $Foo %><% include Stuff %><% end_loop %><% else %><% loop $Bar %><% include $Stuff %><% end_loop %><% end_if %>
415: [09:29:21] <PigeonFriend> but that is nasty
416: [09:29:27] * bemusedrat has joined #silverstripe
417: [09:29:54] <Pyeqltk> ALLLLL the tags!
418: [09:30:20] <Pyeqltk> MattyBalaam: unlike... uhh... Jinja or whatever, there is no {{ foreach }} {{ else }} {{endforeach}}
419: [09:30:49] <Pyeqltk> I suggested it a couple of years back, and Sam thought it was a great idea, but that's as far as it went (an off the cuff in person conversation)
420: [09:31:25] * Guits has joined #silverstripe
421: [09:31:39] <MattyBalaam> Thanks everyone, I think I'll go for includes in this case.
422: [09:33:06] <ss-helper> Re: getsubtree error - http://www.silverstripe.org/community/forums/general-questions/show/101397#post401026
423: [09:42:53] * Shrike_Finland quit (Quit: Leaving.)
424: [09:45:36] * ocmnt has joined #silverstripe
425: [09:46:16] * mobiusnz has joined #silverstripe
426: [09:46:20] <ss-helper> Re: How to use Controller::handleRequest() correctly - http://www.silverstripe.org/community/forums/general-questions/show/101429#post401027
427: [09:48:06] * cloph quit (Remote host closed the connection)
428: [09:48:08] * svandragt has joined #silverstripe
429: [09:48:24] * cloph_away has joined #silverstripe
430: [09:50:44] <kinglozzer> Feedback requested: http://takeaway.bigfork.co.uk/silverstripe-tip-using-unsaved-relations-in-gridfield-edit-forms
431: [09:55:18] * bemusedrat quit (Read error: Connection reset by peer)
432: [09:57:35] * Shrike_Finland has joined #silverstripe
433: [09:59:35] <harry> guys can i ask for some advice, i wish to make a before and after slide show
434: [09:59:41] <harry> probably using lightbox
435: [10:00:06] <harry> any suggestions how I would go about this
436: [10:00:16] <harry> i will need a beforeAfter model
437: [10:00:26] <harry> each object has two images?
438: [10:01:23] <ss-helper> Re: How to use Controller::handleRequest() correctly - http://www.silverstripe.org/community/forums/general-questions/show/101429#post401028
439: [10:07:04] * mobiusnz quit (Quit: Leaving.)
440: [10:08:08] * zfmf has joined #silverstripe
441: [10:10:32] <PigeonFriend> harry: yes, that sounds about right
442: [10:10:56] <harry> I'm a bit rusty... back to SS after a break
443: [10:11:05] <harry> just looking for some advice on how to approach this
444: [10:12:17] <PigeonFriend> A mode for each slide item (which in your case sounds like it needs two Images before/after). then either you can attach them directly to a "beforeaftersliderpage" or you could create a slider object that has the slider items - then the slider can appear on many pages
445: [10:12:41] <PigeonFriend> then in the template, loop over the slider items outputting the markup as required by the JS and bad-a-bing you're done
446: [10:14:40] * mobiusnz has joined #silverstripe
447: [10:24:46] * Guits quit (Ping timeout: 250 seconds)
448: [10:25:16] * mobiusnz quit (Quit: Leaving.)
449: [10:31:28] <ss-helper> Re: getsubtree error - http://www.silverstripe.org/community/forums/general-questions/show/101397#post401030
450: [10:31:29] <ss-helper> SS 3.1.12 fresh installation issues - http://www.silverstripe.org/community/forums/installing-silverstripe/show/101505
451: [10:32:36] * Shrike_Finland quit (Quit: Leaving.)
452: [10:33:25] * travis-ci has joined #silverstripe
453: [10:33:26] <travis-ci> dhensby/silverstripe-framework#293 (3.1 - d34c39b : Daniel Hensby): The build passed.
454: [10:33:26] <travis-ci> Change view : https://github.com/dhensby/silverstripe-framework/compare/06ccac1a2b1a...d34c39bc8546
455: [10:33:26] <travis-ci> Build details : http://travis-ci.org/dhensby/silverstripe-framework/builds/56860228
456: [10:33:26] * travis-ci has left #silverstripe
457: [10:36:48] * travis-ci has joined #silverstripe
458: [10:36:49] <travis-ci> dhensby/silverstripe-framework#294 (pulls/file-exists - ed54030 : Daniel Hensby): The build has errored.
459: [10:36:49] <travis-ci> Change view : https://github.com/dhensby/silverstripe-framework/commit/ed54030e7cf2
460: [10:36:49] <travis-ci> Build details : http://travis-ci.org/dhensby/silverstripe-framework/builds/56861272
461: [10:36:49] * travis-ci has left #silverstripe
462: [10:40:57] * svandragt quit (Remote host closed the connection)
463: [10:44:28] * travis-ci has joined #silverstripe
464: [10:44:29] <travis-ci> dhensby/silverstripe-framework#295 (pulls/file-exists - 1e4eb97 : Daniel Hensby): The build has errored.
465: [10:44:29] <travis-ci> Change view : https://github.com/dhensby/silverstripe-framework/compare/ed54030e7cf2...1e4eb97f6f71
466: [10:44:29] <travis-ci> Build details : http://travis-ci.org/dhensby/silverstripe-framework/builds/56862198
467: [10:44:29] * travis-ci has left #silverstripe
468: [10:44:46] * harry quit (Ping timeout: 246 seconds)
469: [10:46:31] <ss-helper> Re: getsubtree error - http://www.silverstripe.org/community/forums/general-questions/show/101397?start=8#post401031
470: [10:54:28] * MattyBalaam quit (Quit: Page closed)
471: [10:59:55] * R\w\C has joined #silverstripe
472: [11:00:30] <R\w\C> hey guys, how can i bring in a dataobject (which has been populated with textfields and gridfields) into a Page?
473: [11:00:55] <R\w\C> this is my dataobject http://pastebin.com/C0skYwdq
474: [11:01:33] <ss-helper> Re: getsubtree error - http://www.silverstripe.org/community/forums/general-questions/show/101397?start=8#post401032
475: [11:01:34] <R\w\C> then in my: public static has_one = array ('WidgetBulletPoints' => 'WidgetBulletPoints')
476: [11:01:51] <swaiba> what does "into a Page" mean exactly?
477: [11:02:12] <R\w\C> i want to scaffold those fields into the Page admin section
478: [11:02:17] <R\w\C> the fields of my dataobject
479: [11:02:50] <R\w\C> when i use dataobjects it scaffolds them automatically but with Sitetree it requires me to set them up
480: [11:03:15] <swaiba> just call $myDataObjectfields = $myObject->getCMSFields();
481: [11:03:36] <swaiba> and then push those fields onto the fields for the page in it's getCMSFields
482: [11:03:58] <swaiba> then you'll need custom logic to save it too
483: [11:03:59] <R\w\C> hmm
484: [11:04:31] <R\w\C> when i setup dataobjects it does the scaffolding for me
485: [11:04:51] <R\w\C> is there not a way to do this on sitetree
486: [11:04:53] <swaiba> indeed, Pages are special, all the fields need to be created
487: [11:05:13] * Liquide has joined #silverstripe
488: [11:05:18] <swaiba> I've no idea why, historical reasons I guess
489: [11:05:45] <swaiba> you can always use ModelAdmin to manage your sitetree and then that might / should scafold for you
490: [11:06:47] <R\w\C> Hmmm okay
491: [11:06:53] <R\w\C> let me look into that thanks Swaiba :)))
492: [11:07:29] <swaiba> and FYI a Page is a DataObject, it just depends on the context - i.e. ModelAdmin versus CMSPagesController
493: [11:15:33] <R\w\C> ok thanks swaiba I am using $WidgetBulletPoints = new GridField('WidgetBulletPoints', 'WidgetBulletPoints', $this->WidgetBulletPoints(), GridFieldConfig_RelationEditor::create())
494: [11:15:38] <R\w\C> :)
495: [11:31:39] <ss-helper> Re: getsubtree error - http://www.silverstripe.org/community/forums/general-questions/show/101397?start=8#post401033
496: [11:31:47] <R\w\C> hmm .Parse(BBCodeParser) is not working in my templates?
497: [11:31:55] <R\w\C> its just showing a blank space where the text should be
498: [11:33:43] <R\w\C> oh wait
499: [11:33:47] <R\w\C> i need the blog module it seems
500: [11:36:46] <R\w\C> nope that doesnt seem to fix it
501: [11:49:48] * Rienco has joined #silverstripe
502: [11:49:53] <Rienco> Hi all
503: [11:52:35] <Rienco> I have a question about duplicateChecks in CsvBulkLoader
504: [11:56:19] <Rienco> http://codepaste.net/bd485u
505: [11:59:10] * jarr0dsz has joined #silverstripe
506: [11:59:54] <Rienco> nobody?
507: [12:01:44] * FMateo has joined #silverstripe
508: [12:02:45] <swaiba> I'm curious for the answer, but haven't used duplicatechecks there before
509: [12:03:17] <swaiba> stone the crows - I have defined it before!
510: [12:03:41] <swaiba> but I've mainly always overridden function processRecord(...)
511: [12:04:00] <swaiba> and take care of most of the custom logic I require
512: [12:04:17] <swaiba> @Rienco
513: [12:06:35] <Rienco> Ok, so you're saying duplicateChecks isn't working well?
514: [12:12:30] <swaiba> no no, I'm saying I've never relied on it
515: [12:17:02] <Rienco> ok
516: [12:23:08] * UndefinedOffset has joined #silverstripe
517: [12:27:30] * jarr0dsz quit (Quit: My Mac has gone to sleep. ZZZzzz…)
518: [12:27:40] * Rienco quit (Ping timeout: 246 seconds)
519: [12:31:49] <ss-helper> DuplicateChecks in CsvBulkLoader isn't working - http://www.silverstripe.org/community/forums/general-questions/show/101506
520: [12:46:52] <ss-helper> Re: getsubtree error - http://www.silverstripe.org/community/forums/general-questions/show/101397?start=8#post401035
521: [12:47:02] * Shrike_Finland has joined #silverstripe
522: [12:47:35] <Pyeqltk> adrexia: FrozenFire ah, ha. Phil Sturgeon of all people posted the fucking link to the image I was trying to find yesterday!
523: [12:47:35] <Pyeqltk> http://www.notsorryfeminism.com/2014/12/privilege-explained.html
524: [12:50:58] * FMateo quit (Ping timeout: 255 seconds)
525: [13:10:26] * jarr0dsz has joined #silverstripe
526: [13:11:04] * jarr0dsz quit (Client Quit)
527: [13:11:25] * jarr0dsz has joined #silverstripe
528: [13:14:22] * kinglozzer quit ()
529: [13:20:03] * Shrike_Finland quit (Quit: Leaving.)
530: [13:30:18] * Shrike_Finland has joined #silverstripe
531: [13:49:30] * Shrike_Finland quit (Quit: Leaving.)
532: [13:56:58] * cupcake has joined #silverstripe
533: [13:57:24] <cupcake> how do you unpublish a page from php for ss2.4?
534: [13:57:28] <cupcake> doUnpublish?>
535: [14:02:15] <Pyeqltk> something lik ethat, idk.
536: [14:02:18] <Pyeqltk> it's fuckin gvoodoo man
537: [14:02:38] <Pyeqltk> how do I store a fucking varchar(2) into a string typed variable in SSIS 2005?
538: [14:03:15] <Pyeqltk> Because I'm getting almost the stupidest error imaginable. "Variable types don't match."
539: [14:03:21] <Pyeqltk> fuck, give me more info man.
540: [14:03:27] <Pyeqltk> may as well just say "No." as it is.
541: [14:03:32] <Pyeqltk> Run for me? "No."
542: [14:03:54] <Pyeqltk> Run for me? "Expected String, got Int" would be much fuck'n better
543: [14:03:59] <Pyeqltk> MAD MAX IS MAD
544: [14:04:02] * catcher has joined #silverstripe
545: [14:04:17] <Pyeqltk> catcher: got any sqlserver experience?
546: [14:05:37] <catcher> Pyeqltk, negatron, it's all been mysql for me.
547: [14:06:46] * muskie9 has joined #silverstripe
548: [14:09:41] <cupcake> Can someone tell me how to unpublish a page in a php script for ss 2.4??
549: [14:09:48] * cloph_away is now known as cloph
550: [14:11:58] <swaiba> Pyeqltk - I've used MSSQL quite a bit
551: [14:12:24] <muskie9> cupcake $yourPage->doUnpublish() ?
552: [14:12:42] <muskie9> where $yourPage is the page object you want to unpublish
553: [14:14:02] <cupcake> but im running a buildtask
554: [14:14:23] <cupcake> and the canDeleteFromLive function
555: [14:14:30] <cupcake> is returning false
556: [14:14:39] <cupcake> since member is null
557: [14:16:18] <cupcake> how can i set a member to task ?
558: [14:16:22] <cupcake> to a task?
559: [14:17:40] <muskie9> default admin ID is 1, maybe try passing that?
560: [14:18:52] <muskie9> are you running the task from cli or the browser
561: [14:19:20] <cupcake> browser
562: [14:19:23] <cupcake> from /dev/tasks
563: [14:19:45] <cupcake> how can i pass it?
564: [14:19:56] <Pyeqltk> swaiba: turns out storing a varchar in a string isn't a thing. You must store it in an object.
565: [14:20:06] <Pyeqltk> But then you can't fucking enumerate the result set stored in the object
566: [14:20:08] <Pyeqltk> SO FUCKING WHAT
567: [14:20:23] <Pyeqltk> sitting here going THE FUCK IS WRONG WITH YOU
568: [14:20:34] * Shrike_Finland has joined #silverstripe
569: [14:20:42] <muskie9> it should be based on your account then if it's in the browser iirc... do you have publish access to those pages with your account? (I'm assuming your an admin)
570: [14:21:02] <cupcake> yes
571: [14:21:05] <cupcake> im an admin
572: [14:21:26] * Shrike_Finland quit (Client Quit)
573: [14:21:51] <cupcake> i logged in beforehand
574: [14:21:55] <muskie9> that's odd then... the canDeleteFromLive (if not extended) returns the result of canPublish....
575: [14:21:59] * Shrike_Finland has joined #silverstripe
576: [14:22:28] <muskie9> https://gist.github.com/muskie9/b02ae7786d0b605a2019
577: [14:22:33] <muskie9> cupcake ^
578: [14:22:57] <muskie9> canPublish should be grabbing your user account so not sure why it's not working
579: [14:23:04] <cupcake> mah :(
580: [14:23:47] <muskie9> you don't have canDeleteFromLive on the page types you're trying to unpublish do you?
581: [14:24:58] <Pyeqltk> hooray found the answer swaiba http://www.timmitchell.net/post/2013/05/28/using-the-ssis-object-variable-as-a-result-set-enumerator/
582: [14:25:00] <Pyeqltk> :>
583: [14:25:17] * Pyeqltk bookmarks that shit
584: [14:26:54] <swaiba> yeah that looks, overly complicated, reminds me why I avoid any "data access layer" provided by microsoft
585: [14:27:00] <zauberfisch> Pyeqltk: are we still on for brunch this month?
586: [14:27:04] <swaiba> they cause pain on your pain
587: [14:27:28] * jarr0dsz quit (Quit: My Mac has gone to sleep. ZZZzzz…)
588: [14:31:19] * kinglozzer has joined #silverstripe
589: [14:40:32] <veb> anyone want to buy from my startup
590: [14:43:08] * Shrike_Finland1 has joined #silverstripe
591: [14:43:09] * Shrike_Finland quit (Read error: Connection reset by peer)
592: [14:44:15] * Frans_Amsterdam quit (Quit: Textual IRC Client: www.textualapp.com)
593: [14:46:11] <Pyeqltk> zauberfisch: hopefully yes!
594: [14:47:38] <Pyeqltk> veb: what is?
595: [14:47:59] <Pyeqltk> veb: you still in NZ? It was Kingy[a] that moved to Bahrain right?
596: [14:48:08] <veb> yeah Kingy[a] moved
597: [14:48:13] <veb> http://happymoose.nz
598: [14:48:19] <Pyeqltk> oh yeah. T shirts?
599: [14:48:25] <veb> buy something! i'll give you a discount.
600: [14:48:57] <Pyeqltk> Oh yeh. Cool.
601: [14:49:00] <Pyeqltk> NZ printed?
602: [14:49:16] <Pyeqltk> or is it like an alibaba frontend or something?
603: [14:49:40] <veb> printed in dunedin mate
604: [14:49:45] <Pyeqltk> nice.
605: [14:49:55] <veb> and if you don't like it, we will redo it for free.
606: [14:49:58] <Pyeqltk> Yeah, when I come back to the country I might buy something.
607: [14:50:03] <veb> if you buy something right now, i'll give you 15% offf
608: [14:50:09] <Pyeqltk> when I have a house and something worth while printing.
609: [14:50:17] <Pyeqltk> veb: oh wait, I do have something worth printing.
610: [14:50:24] <Pyeqltk> but... not in a position to do it right now
611: [14:50:30] <veb> heh
612: [14:50:39] <Pyeqltk> 1) at work. 2) not in country.
613: [14:50:41] <veb> PM me when you want
614: [14:50:49] <Pyeqltk> so like... next year?
615: [14:50:50] <veb> and I'll keep the deal open for you
616: [14:50:53] <Pyeqltk> hahaha
617: [14:50:55] <veb> heh sure
618: [14:51:01] <Pyeqltk> heh, cool :>
619: [14:52:18] <Pyeqltk> veb: you been putting that together this whole time? Was it you that worked for some council somewhere?
620: [14:54:09] <veb> no
621: [14:57:37] * Eliseth quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
622: [15:02:26] * Shrike_Finland1 quit (Quit: Leaving.)
623: [15:03:17] <ss-helper> Re: [silverstripe-dev] Re: DropdownField that allows attributes for options - https://groups.google.com/d/msg/silverstripe-dev/wFHcK2tvoQ8/ST8pIaCI9owJ
624: [15:05:44] * veb quit (Quit: veb-irc: &)
625: [15:08:41] <ss-helper> List top 3 most recent pdfs from Silverstripe Files tab - http://stackoverflow.com/questions/29416231/list-top-3-most-recent-pdfs-from-silverstripe-files-tab
626: [15:10:38] * joelpittet has joined #silverstripe
627: [15:12:05] * joelpittet quit (Client Quit)
628: [15:13:49] <swaiba> @Rienco - https://github.com/burnbright/silverstripe-importexport
629: [15:13:54] <swaiba> just in case
630: [15:14:19] <cupcake> muskie9 no
631: [15:14:26] <cupcake> sometimes its working sometimes it doesnt
632: [15:18:43] <cupcake> is there a way to set the member for a buildtask if it is run from cli?
633: [15:18:48] <cupcake> cause from cli u dont log in
634: [15:18:54] <cupcake> you just execute the sake command
635: [15:19:11] <cupcake> muskie9
636: [15:19:43] <muskie9> I don't recall having to set the user for cli... but then again, never used cli, or many build tasks in 2.4... use them in 3.1 quite a bit
637: [15:20:06] <cupcake> yeh
638: [15:29:46] * arnhoe quit ()
639: [15:33:44] * R\w\C quit (Quit: Textual IRC Client: www.textualapp.com)
640: [15:37:04] <kinglozzer> EASTER BABY
641: [15:37:06] <kinglozzer> <3
642: [15:37:07] * kinglozzer quit ()
643: [15:40:49] * muskie9 quit (Read error: Connection reset by peer)
644: [15:47:25] <ss-helper> +91-9950211818 Online love vashikaran specialist baba ji in canda india usa - http://www.silverstripe.org/community/forums/hosting-requirements/show/101524
645: [15:47:26] <ss-helper> +91-9950211818 love back astrology in bangalore - http://www.silverstripe.org/community/forums/hosting-requirements/show/101523
646: [15:47:26] <ss-helper> +91-9950211818 GET MY HUSBAND BACK love astrology baba ji england - http://www.silverstripe.org/community/forums/hosting-requirements/show/101522
647: [15:47:26] <ss-helper> +91-9950211818 sex problems in marriage in jarman - http://www.silverstripe.org/community/forums/hosting-requirements/show/101521
648: [15:47:26] <ss-helper> +91-9950211818 fast vashikaran baba ji in thailand - http://www.silverstripe.org/community/forums/hosting-requirements/show/101520
649: [15:47:26] <ss-helper> +91-9950211818 LOVE MARRIAGE SPECIALIST in canada america usa uk - http://www.silverstripe.org/community/forums/hosting-requirements/show/101519
650: [15:47:26] <ss-helper> +91-9950211818 LOVE MARRIAGE SPECIALIST astrology in jarman - http://www.silverstripe.org/community/forums/hosting-requirements/show/101518
651: [15:47:27] <ss-helper> +91-9950211818 Love marriage specialist baba ji in australia - http://www.silverstripe.org/community/forums/hosting-requirements/show/101517
652: [15:47:27] <ss-helper> +91-9950211818 LOVE MARRIAGE SPECIALIST baba ji in merica - http://www.silverstripe.org/community/forums/installing-silverstripe/show/101516
653: [15:47:28] <ss-helper> +91-9950211818 LOVE MARRIAGE SPECIALIST astrology in usa - http://www.silverstripe.org/community/forums/installing-silverstripe/show/101515
654: [15:47:28] <ss-helper> +91-9950211818 LOVE MARRIAGE SPECIALIST baba ji in uk singapore - http://www.silverstripe.org/community/forums/installing-silverstripe/show/101514
655: [15:47:29] <ss-helper> +91-9950211818 X-LOVE BACK SPECIALIST BABA JI sri lanka - http://www.silverstripe.org/community/forums/installing-silverstripe/show/101513
656: [15:47:29] <ss-helper> +91-9950211818 love marriage specialist baba ji in canada - http://www.silverstripe.org/community/forums/installing-silverstripe/show/101512
657: [15:47:30] <ss-helper> +91-9950211818 world famous love guru in uk usa - http://www.silverstripe.org/community/forums/installing-silverstripe/show/101511
658: [15:48:00] * FMateo has joined #silverstripe
659: [15:48:04] <ss-helper> +91-9950211818 all a to z problem solve astrologer in india - http://www.silverstripe.org/community/forums/hosting-requirements/show/101526
660: [15:48:05] <ss-helper> +91-9950211818 Online gold medalist astrologer baba ji in singapore - http://www.silverstripe.org/community/forums/hosting-requirements/show/101525
661: [15:49:10] <ss-helper> +91-9950211818 Love Back Astrologer By Vashikaran Specialis in pakistan - http://www.silverstripe.org/community/forums/upgrading-silverstripe/show/101529
662: [15:49:11] <ss-helper> +91-9950211818 Love Astrology-love Marriage Specialis in pakistan - http://www.silverstripe.org/community/forums/upgrading-silverstripe/show/101528
663: [15:49:11] <ss-helper> +91-9950211818 black magic mantras online services in australia - http://www.silverstripe.org/community/forums/upgrading-silverstripe/show/101527
664: [15:57:03] * Shrike_Finland has joined #silverstripe
665: [16:05:01] * huberd quit (Ping timeout: 246 seconds)
666: [16:08:07] * muskie9 has joined #silverstripe
667: [16:11:06] <UndefinedOffset> mm spam lol
668: [16:12:43] * cupcake quit (Ping timeout: 246 seconds)
669: [16:23:39] <catcher> http://brokelyn.com/course-bushwick-duo-makes-artisanal-spam/
670: [16:25:38] <swaiba> ZAP --------> darn baba spam
671: [16:25:56] <swaiba> and... easter weekend :)
672: [16:27:02] * swaiba quit (Remote host closed the connection)
673: [16:32:34] <ss-helper> Form to comment in DataObject, SilverStripe 3.1.12 - http://www.silverstripe.org/community/forums/general-questions/show/101448
674: [16:32:34] <ss-helper> 3.1.10 Controller is redirecting to LoginForm - http://www.silverstripe.org/community/forums/general-questions/show/101447
675: [16:32:34] <ss-helper> memberprofiles Public Visibility of fields - http://www.silverstripe.org/community/forums/all-other-modules/show/101446
676: [16:32:34] <ss-helper> Unpublish without Userinteraction - http://www.silverstripe.org/community/forums/data-model-questions/show/101445
677: [16:32:34] <ss-helper> Re: UserForms SS3 - Form Fields? - http://www.silverstripe.org/community/forums/all-other-modules/show/20330?start=16#post400950
678: [16:32:35] <ss-helper> SilverStripe 3.0.13 Security Release - http://www.silverstripe.org/community/forums/releases-and-announcements/show/101435
679: [16:32:35] <ss-helper> CWP Recipe 1.0.7 released - http://www.silverstripe.org/community/forums/cwp-open-developer-discussion/show/101434
680: [16:32:35] <ss-helper> Re: Flexslider Module for ss3 - http://www.silverstripe.org/community/forums/all-other-modules/show/21113?start=16#post400939
681: [16:32:35] <ss-helper> Re: UserForms SS3 - Form Fields? - http://www.silverstripe.org/community/forums/all-other-modules/show/20330?start=16#post400938
682: [16:32:36] <ss-helper> Re: Blank CMS Page on DataObject Creation - http://www.silverstripe.org/community/forums/customising-the-cms/show/101432#post400936
683: [16:32:36] <ss-helper> Re: Blank CMS Page on DataObject Creation - http://www.silverstripe.org/community/forums/customising-the-cms/show/101432#post400935
684: [16:32:37] <ss-helper> Re: Blank CMS Page on DataObject Creation - http://www.silverstripe.org/community/forums/customising-the-cms/show/101432#post400934
685: [16:36:41] * Pyeqltk quit (Quit: Page closed)
686: [16:39:24] * Shrike_Finland quit (Ping timeout: 245 seconds)
687: [16:40:06] * Shrike_Finland has joined #silverstripe
688: [16:47:36] <ss-helper> bakhuvet surrar samtidigt finalplatsen - http://www.silverstripe.org/community/forums/hosting-requirements/show/101530
689: [16:52:54] * gelignite has joined #silverstripe
690: [17:01:31] * muskie9 is now known as muskie9_afk
691: [17:06:34] * OxFF_ has joined #silverstripe
692: [17:10:55] * Spliff has joined #silverstripe
693: [17:15:01] * Spliff quit (Ping timeout: 246 seconds)
694: [17:46:25] * LoveDuckie quit (Quit: Leaving)
695: [17:59:10] * muskie9_afk is now known as muskie9
696: [18:08:50] * Shrike_Finland quit (Quit: Leaving.)
697: [18:24:35] * Stomach has joined #silverstripe
698: [18:39:42] * zfmf quit (Remote host closed the connection)
699: [18:41:35] * wilson has joined #silverstripe
700: [18:41:59] * wilson is now known as Guest44917
701: [18:43:09] <Guest44917> Hi to all, i have this in my page class(.php). public static $has_many = array( "imagegalerie" => "Image" ); I can't remember how to control those omg from within the template…. <% loop imagegalerie %> ????but this???? <% end_loop %> Thanks!
702: [18:43:48] <OxFF_> try $imagegalerie
703: [18:44:16] <OxFF_> or better $imagegalerie()
704: [18:44:58] <catcher> Guest44917, it depends on what you want from it. If you want the object itself, you're already in its context, so $Me.
705: [18:46:46] <catcher> Often, Image relationships are wrapped in a DO to supply more data. $has_many = array('ImageGalerie' => 'ImageGalerie'); class ImageGalerie { $private static $has_one = array('Image' => 'Image'); private static $db = array('...'); }
706: [18:47:15] <catcher> In that case, you'd <% loop $ImageGalerie %>$Image<% end_loop %>
707: [18:52:16] <Guest44917> I thought that this could allow me to add multiple images to the same page. public static $has_many = array( "ImageGalerie" => "Image" );
708: [18:55:12] <catcher> Guest44917, The <% loop %> iterates over the list in the has_many.
709: [18:56:38] <Guest44917> <catcher>So that would be public static $has_one = array( "ImageGalerie" => "Image" ); along <% loop $ImageGalerie %>$Image<% end_loop %> ?
710: [19:01:44] * Shrike_Finland has joined #silverstripe
711: [19:02:24] * wmk has joined #silverstripe
712: [19:11:59] * Stomach quit (Quit: zzz)
713: [19:15:47] <catcher> Guest44917, no, see the code example above
714: [19:16:18] <catcher> Guest44917, with your current code, you probably just want $Me inside the loop.
715: [19:16:27] <catcher> I'm just explaining why you don't see that often.
716: [19:23:45] * zfmf_ has joined #silverstripe
717: [19:28:43] * Stomach has joined #silverstripe
718: [19:29:37] <Guest44917> <catcher>$Me worked. I do not need something fancier than that.Thanks!
719: [19:29:59] <catcher> Guest44917, np
720: [19:30:53] * Guest44917 quit (Quit: Page closed)
721: [19:34:30] * Werner_2_ has joined #silverstripe
722: [19:34:31] * Werner_2_ quit (Client Quit)
723: [19:35:31] * wmk quit (Ping timeout: 255 seconds)
724: [19:41:22] * Stomach quit (Quit: zzz)
725: [19:48:44] * UndefinedOffset quit (Quit: Leaving.)
726: [19:51:12] * UndefinedOffset has joined #silverstripe
727: [20:06:36] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
728: [20:09:51] * UndefinedOffset quit (Quit: Leaving.)
729: [20:12:12] * mobiusnz has joined #silverstripe
730: [20:33:17] <ss-helper> Re: Best way to make a module extend from custom page type - http://www.silverstripe.org/community/forums/customising-the-cms/show/101431#post400923
731: [20:38:26] * mobiusnz quit (Quit: Leaving.)
732: [20:41:36] * veb has joined #silverstripe
733: [20:48:57] <ss-helper> Re: SS 3.1.12 fresh installation issues - http://www.silverstripe.org/community/forums/installing-silverstripe/show/101505#post401060
734: [21:19:54] * UncleCheese has joined #silverstripe
735: [21:34:50] * catcher quit (Ping timeout: 245 seconds)
736: [21:35:22] * adrexia quit (Ping timeout: 256 seconds)
737: [21:37:53] * adrexia has joined #silverstripe
738: [21:59:37] * Azure quit (Quit: My MBP went to sleep.)
739: [22:01:54] * zfmf_ quit ()
740: [22:04:20] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
741: [22:13:12] * Azure has joined #silverstripe
742: [22:18:50] * Azure quit (Excess Flood)
743: [22:20:55] * Azure has joined #silverstripe
744: [22:33:15] * Azure quit (Read error: Connection reset by peer)
745: [22:36:54] * Azure has joined #silverstripe
746: [22:37:53] * Azure quit (Client Quit)
747: [22:48:50] * babak quit (Quit: Connection closed for inactivity)
748: [22:49:56] * Azure has joined #silverstripe
749: [23:46:39] * Azure quit (Excess Flood)
750: [23:47:37] * Azure has joined #silverstripe
751: [23:49:12] * jedateach has joined #silverstripe
752: [23:54:33] * Colin[pi] has joined #silverstripe
753: [23:54:46] * Colin[pi] has left #silverstripe

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