#silverstripe IRC Log

IRC log for 24 September 2014

All timestamps are in UTC.

1: [00:00:07] * jenniferaslan quit (Quit: jenniferaslan has left the room)
2: [00:03:12] <antmas> uhg hump day
3: [00:03:31] <Kingy> :)
4: [00:04:11] <Colin[pi]> antmas: I hear you
5: [00:04:12] <Colin[pi]> :(
6: [00:06:05] <simon_w|work> Colin[pi], even with your two long weekends in a row?
7: [00:06:18] <Colin[pi]> simon_w|work: child
8: [00:06:25] <simon_w|work> Colin[pi], TV
9: [00:06:28] <Colin[pi]> I don't have weekends anymore
10: [00:06:29] <Colin[pi]> well
11: [00:06:42] <Colin[pi]> that's not true, I do sometimes
12: [00:07:06] <antmas> what r weekends?
13: [00:07:27] <simon_w|work> I've got a wedding and the stupid bank is being stupid and not giving me money
14: [00:07:32] <simon_w|work> Maybe I'll try another bank...
15: [00:08:30] <Colin[pi]> simon_w|work: you getting a loan?
16: [00:08:45] <simon_w|work> Colin[pi], got an $18k maxed out credit card to pay off
17: [00:08:50] <simon_w|work> Personal loan is cheaper
18: [00:09:01] <Colin[pi]> 18k...? maxed out?? holy shit
19: [00:09:18] <simon_w|work> Yeah, international flights, moving costs, wedding costs
20: [00:09:20] <Colin[pi]> I feel bad because I've got $800 on mine atm
21: [00:09:27] * antmas_ has joined #silverstripe
22: [00:09:37] <Kingy> yeha I just bought a couch got 2.5k
23: [00:09:40] <Colin[pi]> simon_w|work: you getting a good interest rate at least?
24: [00:09:43] <Kingy> paying that fucker off as fast as i can
25: [00:09:43] <Kingy> lol
26: [00:09:55] <Colin[pi]> Kingy: mm, cc's are great... for SHORT term
27: [00:10:06] <Kingy> yeah
28: [00:10:09] <antmas_> almost paid my cc off
29: [00:10:10] <Kingy> if we want anything we save
30: [00:10:17] <Kingy> went on a euro trip
31: [00:10:18] <simon_w|work> Colin[pi], well, looks like St George is a much nicer rate than ANZ
32: [00:10:20] <Kingy> cost us like $15k
33: [00:10:24] <Kingy> but none of it went on credit
34: [00:10:47] <Colin[pi]> simon_w|work: StG is my bank too, they're pretty good
35: [00:11:00] <Colin[pi]> I read somewhere the boss of barclay card in the UK doesn't have a barclay card... prolly wouldn't need it, but still
36: [00:11:22] * antmas quit (Ping timeout: 246 seconds)
37: [00:11:27] <antmas_> we got one of those low-rate cc's from ASB
38: [00:11:32] <antmas_> been pretty good so far
39: [00:11:34] * antmas_ is now known as antmas
40: [00:11:46] * Ryan-Toast quit (Quit: Ryan-Toast)
41: [00:11:54] <Kingy> antmas: yeah we got no fee + low-rate from kiwibank
42: [00:12:26] <Colin[pi]> simon_w|work: my card is at 13.24% atm, which is not too bad compared to some of the other banks
43: [00:12:52] <simon_w|work> Colin[pi], mine's 19%, but I don't have any income in NZ so can't get to changed
44: [00:13:01] <simon_w|work> Also, is platinum
45: [00:13:12] <Colin[pi]> ouch
46: [00:13:21] <simon_w|work> Yay, benefits!
47: [00:15:11] <antmas> yeah my interest I think is 13.95
48: [00:15:38] <Colin[pi]> prob these days is everyone wants everything right now, and CC companies are like "look, free money!"
49: [00:15:48] <antmas> lol
50: [00:16:06] <Colin[pi]> they are very useful, but need to be careful with them
51: [00:16:15] <Colin[pi]> friend of mine got herself into huge debt trouble
52: [00:16:27] <Colin[pi]> ended up having to consolidate and pay it all back over time
53: [00:16:55] * joelpitt_ quit ()
54: [00:16:59] <antmas> yeah that sucks
55: [00:17:17] <antmas> 13.50% actually
56: [00:17:18] <antmas> not bad
57: [00:17:25] <Colin[pi]> that's pretty good
58: [00:17:36] <antmas> but cash advance is like 22% :/
59: [00:17:56] <Colin[pi]> yeah 21.49% CA on mine
60: [00:18:11] <Colin[pi]> but if you're cash advancing on a CC you're in pretty deep shit imho
61: [00:18:23] <antmas> yeah true
62: [00:18:26] * BPower quit (Remote host closed the connection)
63: [00:19:10] <antmas> just sucks though
64: [00:19:16] <antmas> if you transfer money to a CC
65: [00:19:23] <antmas> and then go 'oh wait, that was too much'
66: [00:19:34] <antmas> then you can only transfer back at 22% :P
67: [00:19:38] * UncleCheese has joined #silverstripe
68: [00:19:52] <antmas> which I've done multiple times :P
69: [00:19:55] <Colin[pi]> antmas: lol
70: [00:20:07] <Colin[pi]> that doesn't happen though if you transfer more than your credit limit I think
71: [00:20:34] <antmas> idk
72: [00:21:15] <antmas> money is hard
73: [00:22:05] * Ryan-Toast has joined #silverstripe
74: [00:22:16] <antmas> Colin Farrel and Vince Vaughn confirmed for TD season 2?
75: [00:22:18] <antmas> cray
76: [00:23:37] <Colin[pi]> antmas: we watched most of S1 and stopped...
77: [00:24:04] <antmas> Colin[pi]: why?
78: [00:24:10] <antmas> I LOVED it
79: [00:24:20] <antmas> but was super depressed towards the end :(
80: [00:24:24] <Colin[pi]> antmas: mainly because my gf can't stay awake during any type of TV show or movie
81: [00:24:28] <Colin[pi]> EXCEPT breaking bad
82: [00:24:30] <antmas> Colin[pi]: ah true lol
83: [00:24:37] <Colin[pi]> that's the only thing she didn't sleep during
84: [00:30:42] <Colin[pi]> antmas: finally gave the honda stereo a good beating yesty
85: [00:31:50] <antmas> Kingy: you replaced it?
86: [00:32:34] <Colin[pi]> wait kingy or Colin[pi] ?
87: [00:32:44] <antmas> Colin[pi]: :P
88: [00:32:46] <Colin[pi]> hehe
89: [00:32:54] <Colin[pi]> no it's stock... I am disappoint
90: [00:32:56] * hailwood quit (Ping timeout: 250 seconds)
91: [00:33:03] <Colin[pi]> sounds like it fell out of a cereal box :(
92: [00:33:20] <Colin[pi]> might need to look into options for replacing it :)
93: [00:35:55] * antmas_ has joined #silverstripe
94: [00:39:01] * antmas quit (Ping timeout: 246 seconds)
95: [00:41:50] * antmas_ is now known as antmas
96: [00:43:42] * Adah_Franecki has joined #silverstripe
97: [00:59:23] * micmania1 quit (Quit: micmania1)
98: [01:04:28] * hailwood has joined #silverstripe
99: [01:13:33] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
100: [01:16:18] * Tanger has joined #silverstripe
101: [01:19:46] * muskie9 is now known as _muskie9_
102: [01:19:47] * _muskie9_ quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
103: [01:25:29] * Adah_Franecki quit (Remote host closed the connection)
104: [01:26:45] * micmania1 has joined #silverstripe
105: [01:27:16] * travis-ci has joined #silverstripe
106: [01:27:17] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#3363 (3.1 - 3f7a4ff : Simon Welsh): The build passed.
107: [01:27:17] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/291856290519...3f7a4ff9933d
108: [01:27:17] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/36108464
109: [01:27:17] * travis-ci has left #silverstripe
110: [01:27:28] <simon_w|work> Green!
111: [01:29:25] <Stomach> remove make file
112: [01:29:26] <Stomach> ???
113: [01:29:28] <Stomach> profit!
114: [01:32:51] * muskie9 has joined #silverstripe
115: [01:35:07] <Ryan-Toast> heh: http://rustyrazorblade.com/2014/09/21-ways-to-minimize-employee-retention/
116: [01:40:15] * hailwood quit (Ping timeout: 246 seconds)
117: [01:40:30] * micmania1 quit (Quit: micmania1)
118: [01:44:23] * Aylin4 has joined #silverstripe
119: [01:45:58] * UncleCheese has joined #silverstripe
120: [01:52:09] <Colin[pi]> Ryan-Toast: RAAAAGE
121: [01:52:31] <Colin[pi]> Ryan-Toast: I remember many of those points when I worked in larger companiesa
122: [01:52:33] <Colin[pi]> -a
123: [01:52:52] <Ryan-Toast> Colin[pi]: Agile all the things!
124: [01:53:12] <muskie9> where would be the spot to post about a broken link for an installer? http://www.microsoft.com/web/gallery/install.aspx?appsxml=&appid=SilverStripeCMS
125: [01:53:48] <muskie9> dependencies get loaded, but SS itself doesn't (broken link)
126: [01:56:18] <simon_w|work> Ryan-Toast, isn't it great how the things that people enforcing Agile do are helping to decrease retention?
127: [01:56:53] <Ryan-Toast> simon_w|work: I don’t mind Agile when it actually helps, not for every fucking thing.
128: [01:57:31] <simon_w|work> Ryan-Toast, also, why do Agile companies like things like open plan offices?
129: [01:57:35] <simon_w|work> They're rather stupid
130: [01:58:22] <Ryan-Toast> Stomach: Little giant is open plan, right? SSaw photos, loks cool.
131: [01:58:37] <Stomach> yeah its a pain - there arent any quiet spaces
132: [01:58:56] <Stomach> you know when you want to sit in a hole and just code for a few hours
133: [01:58:58] <Ryan-Toast> Stomach: that’s what noicse cancelling headphones are for :P
134: [01:58:58] <Stomach> cant do that here
135: [01:59:16] <Stomach> if you find me account-manager cancelling headphones that would be ideal
136: [01:59:35] <simon_w|work> And the feeling that someone's always looking at your screens
137: [01:59:36] <Ryan-Toast> Stomach: lol
138: [01:59:51] <Ryan-Toast> Stomach: oh I hate that
139: [02:00:27] <Stomach> i dont mind people looking at my screens, they see a lot of github
140: [02:00:47] <Stomach> distractions are so shit - like a 2 min distraction ruins at least half an hours work for me
141: [02:00:54] <Stomach> brain has to swap tasks
142: [02:10:40] <antmas> my PC is almost ready :O
143: [02:18:30] * hailwood has joined #silverstripe
144: [02:20:37] <Ryan-Toast> antmas: specs?
145: [02:20:56] <antmas> Ryan-Toast: Not sure yet, I know it's 16gb of RAM :P
146: [02:20:58] <antmas> but that's it
147: [02:21:09] <antmas> lemme look
148: [02:21:26] <antmas> 3.7hgz Xeon 6 core
149: [02:34:47] * micmania1 has joined #silverstripe
150: [02:38:58] * Aylin4 quit (Remote host closed the connection)
151: [02:39:08] * StefanLehmann quit (Remote host closed the connection)
152: [02:39:29] * StefanLehmann has joined #silverstripe
153: [02:41:43] * zippy has joined #silverstripe
154: [02:42:26] <zippy> hi
155: [02:42:33] * muskie9 is now known as _muskie9_
156: [02:42:36] <antmas> zippy: o/
157: [02:42:40] <zippy> whats a cracking
158: [02:42:41] * _muskie9_ is now known as muskie9
159: [02:43:58] <antmas> zippy: it's Wednesday
160: [02:44:04] <zippy> don't remind me :S
161: [02:44:06] <antmas> so... there's that
162: [02:46:49] * muskie9 is now known as _muskie9_
163: [02:48:27] <simon_w|work> Bloody banks
164: [02:48:40] * Anibal_Kilback78 has joined #silverstripe
165: [02:48:44] * _muskie9_ is now known as muskie9
166: [02:49:21] <simon_w|work> antmas, only 6 cores? They don't care about you :p
167: [02:52:38] <antmas> simon_w|work: 2 CPUs
168: [03:06:44] * CodeTrap1 has joined #silverstripe
169: [03:09:01] * CodeTrap quit (Ping timeout: 260 seconds)
170: [03:09:32] <Ryan-Toast> antmas: 6 cores? May as well live in a cave.
171: [03:09:54] <antmas> :P
172: [03:18:41] * UncleCheese quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
173: [03:19:13] <antmas> I need a haircut
174: [03:19:38] <simon_w|work> Another sign you live in a cave
175: [03:20:13] * jedateach has joined #silverstripe
176: [03:20:14] <antmas> ;___:
177: [03:20:20] <antmas> 1 tear for you simon_w|work
178: [03:23:05] <Stomach> I shaved my hair off last night
179: [03:23:07] <Stomach> feels good
180: [03:23:17] <Stomach> refreshing.
181: [03:23:47] <zippy> wife wont let me
182: [03:23:58] <simon_w|work> Whipped
183: [03:24:08] <zippy> married
184: [03:24:18] <zippy> you'll soon learn
185: [03:24:25] <simon_w|work> Nup
186: [03:24:57] <antmas> Stomach: lol I've been doing the same for months now
187: [03:25:00] <antmas> kinda over it
188: [03:25:20] <Stomach> I hadnt had a haircut since march, so it was definitely time
189: [03:25:35] <Stomach> hairclippers ran out of batteries like a quarter of the way through though, not ideal
190: [03:25:40] <antmas> LOL
191: [03:33:03] <Colin[pi]> http://i.imgur.com/dzlwX1T.jpg
192: [03:35:05] <spronk> loool
193: [03:38:28] * cloph has joined #silverstripe
194: [03:38:32] * cloph_away quit (Ping timeout: 245 seconds)
195: [03:39:14] <Ryan-Toast> I love getting my haircut. I go every two weeks. Dem head massages
196: [03:39:20] * Anibal_Kilback78 quit (Remote host closed the connection)
197: [03:40:55] <Zauberfisch> haha
198: [03:41:21] <Zauberfisch> I do cut hair as well. the maintanance effort for long hair is just to damn high
199: [03:41:30] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
200: [03:42:36] <Colin[pi]> yep, short hair best hair
201: [03:47:23] <Ryan-Toast> Top of my hair is long, sides are short as fuck
202: [03:48:09] <Ryan-Toast> Literally what I told my hairdresser I wanted > http://i.imgur.com/gl2ZXmZ.jpg
203: [03:50:07] <simon_w|work> Ryan-Toast, should've asked for http://i.imgur.com/8JNmqYV.jpg
204: [03:52:03] * Alanna59 has joined #silverstripe
205: [03:53:11] <Ryan-Toast> simon_w|work: wouldn’t be fair to all of those in relationships out there.
206: [03:54:46] <zippy> antmas: the dam in richmond... is that back from Champion rd? or somewhere else
207: [03:58:58] <antmas> zippy: errrrrmmmm I think so
208: [03:59:09] <zippy> I can't seem to find anything
209: [03:59:56] <antmas> zippy: I have a site releasing soon with all that info
210: [04:00:10] <zippy> not the new damn, the current existing one
211: [04:00:14] <zippy> damn
212: [04:00:21] <antmas> OH
213: [04:00:26] <simon_w|work> zippy, there's no damns to give
214: [04:00:27] <antmas> then no idea :O
215: [04:00:49] <antmas> Ryan-Toast: so, same haircut as hipsters?
216: [04:00:51] <antmas> :D
217: [04:00:57] <antmas> I had that haircut for a while
218: [04:01:12] <Ryan-Toast> antmas: yeah, dawg
219: [04:01:30] <Ryan-Toast> I pick my battels
220: [04:01:32] <antmas> mine looked a bit hilter youthy though :/
221: [04:01:33] <Ryan-Toast> battles
222: [04:02:33] <zippy> antmas: ah, was Reservoir Creek Dam - got decomissioned last year / year before
223: [04:02:41] <zippy> antmas: http://www.tasman.govt.nz/tasman/projects/infrastructure-projects/completed-projects/reservoir-creek-dam-decommission/
224: [04:02:45] <antmas> zippy: oh that one
225: [04:02:57] <zippy> O.o
226: [04:03:13] <antmas> I used to watch that webcam most days :P
227: [04:03:24] <antmas> was funny to see what kinds of crap the workers got up to :P
228: [04:03:24] * Liquide^2 has joined #silverstripe
229: [04:03:42] <zippy> says the council worker watching a webcam at work :P
230: [04:03:51] <antmas> haha
231: [04:04:26] * zippy is rocking the Incubus
232: [04:04:27] * Liquide quit (Ping timeout: 246 seconds)
233: [04:04:49] <antmas> zippy: dat 90's
234: [04:04:58] <Zauberfisch> fuck
235: [04:05:05] <Zauberfisch> oh
236: [04:05:06] <Zauberfisch> nvm
237: [04:05:28] <zippy> antmas: this album 2001 thank you very much
238: [04:06:54] <Colin[pi]> antmas zippy: Aqua was on morning TV here today
239: [04:07:15] <zippy> Colin[pi]: as in, barbie girl?
240: [04:07:21] <Colin[pi]> yep!
241: [04:07:25] <Colin[pi]> they look old :o
242: [04:07:30] <zippy> i bet...
243: [04:07:36] <zippy> 17 years later...
244: [04:07:42] <Colin[pi]> yeah that blew my mind
245: [04:07:48] <Colin[pi]> stupid time stop going fast
246: [04:08:43] <antmas> zippy: :P
247: [04:08:59] * antmas puts on Korn
248: [04:09:13] * antmas turns off Korn
249: [04:09:18] * antmas slaps himself
250: [04:09:21] <antmas> NO
251: [04:10:02] <Zauberfisch> so
252: [04:10:11] <Zauberfisch> if someone where to work on namespace support
253: [04:10:27] <Zauberfisch> whata character would you want him to use instead of \ in template names?
254: [04:10:28] * travis-ci has joined #silverstripe
255: [04:10:28] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#3364 (3.1 - 4ae0d90 : Sean Harvey): The build passed.
256: [04:10:28] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/3f7a4ff9933d...4ae0d90c5565
257: [04:10:28] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/36115424
258: [04:10:28] * travis-ci has left #silverstripe
259: [04:11:03] <Zauberfisch> because namespace\Page.ss can be kind of tricky, given you are one of those windows people
260: [04:11:18] <antmas> Zauberfisch: |?
261: [04:11:33] <Zauberfisch> I used - or _ in the past, but that is usual for file names and _action
262: [04:11:43] <Zauberfisch> thus it might cause confusion or mismatches
263: [04:11:53] <Zauberfisch> so I'd prefer some odd character that is not common in filenames
264: [04:12:03] <Zauberfisch> thought about |, but windows fails us again
265: [04:12:18] <Zauberfisch> # works
266: [04:12:20] <antmas> :
267: [04:12:22] <zippy> @ ?
268: [04:12:26] <antmas> yeah # would be ok
269: [04:12:27] <Zauberfisch> : also not allowed in windows
270: [04:12:34] <Zauberfisch> @ is also a good idea
271: [04:12:35] <Zauberfisch> hmm
272: [04:12:41] <antmas> what about this little guy ~?
273: [04:12:56] <Zauberfisch> hmmm, meh
274: [04:12:57] <zippy> Namespace@TemplateName
275: [04:12:59] <antmas> squiggly line man
276: [04:13:22] <Zauberfisch> :D
277: [04:13:31] <Zauberfisch> Namespace#TemplateName
278: [04:13:37] <antmas> @ assumes something thuogh
279: [04:13:40] <Zauberfisch> Namespace#TemplateName
280: [04:13:44] <Zauberfisch> Namespace@TemplateName
281: [04:13:49] <antmas> like foo 'is at' bar
282: [04:13:53] <antmas> foo@bar
283: [04:14:05] <Zauberfisch> yeah, I guess so
284: [04:14:06] <zippy> woo go crazy and reverse it :D
285: [04:14:12] <antmas> lol
286: [04:14:13] <Zauberfisch> haha
287: [04:14:15] <zippy> TemplateName@Namespace
288: [04:14:18] <Zauberfisch> well
289: [04:14:19] <Zauberfisch> actually
290: [04:14:24] <Zauberfisch> that is an interesting idea
291: [04:14:29] <antmas> Napespace&TemplateName
292: [04:14:46] <antmas> yeah zippy that works
293: [04:14:53] <spronk> lol antmas korn!?
294: [04:14:55] <antmas> TemplateName@Namespace
295: [04:15:00] <antmas> spronk: :D
296: [04:15:07] <Zauberfisch> thougt of reverse as a joke in the first second. but Template@Namespace isn't totally stupid actually
297: [04:15:11] <zippy> spronk: dude I was korning out yesterday
298: [04:15:28] <antmas> zippy: that's what I say when I do Number 2s
299: [04:15:33] <zippy> ha!
300: [04:15:38] <spronk> i havent listened to korn in.... years
301: [04:15:43] <spronk> LOL
302: [04:15:50] <Zauberfisch> hmmm
303: [04:16:25] <Zauberfisch> I hate how choosing a name (or just a single character in this case) is the hardest part and takes the longest ...
304: [04:16:36] <Zauberfisch> I think I'll roll with # for now
305: [04:17:22] <zippy> hopefully no stupid parse errors as things like # is a start of a comment
306: [04:17:31] <zippy> *things think
307: [04:18:01] <antmas> just use an emoji
308: [04:18:11] <antmas> Namespace:)TemplateName
309: [04:18:20] * Alanna59 quit (K-Lined)
310: [04:18:54] <zippy> hehe
311: [04:18:56] <simon_w|work> Zauberfisch, -
312: [04:19:11] <zippy> -~-
313: [04:19:13] <simon_w|work> It's not valid in class or method names, which is all the automatic template selection cares about
314: [04:21:01] <Zauberfisch> simon_w|work: fair point
315: [04:21:10] <Zauberfisch> but a # is also not allowed in classnames, is it?
316: [04:21:12] * travis-ci has joined #silverstripe
317: [04:21:13] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#3365 (3.1 - 6d12cf3 : Sean Harvey): The build passed.
318: [04:21:13] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/4ae0d90c5565...6d12cf372ef4
319: [04:21:13] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/36115654
320: [04:21:13] * travis-ci has left #silverstripe
321: [04:21:17] <simon_w|work> But a # is weird
322: [04:21:34] <Zauberfisch> you are weird
323: [04:21:36] <Colin[pi]> you're weird
324: [04:21:37] <simon_w|work> And requires escaping in path names
325: [04:21:38] <Colin[pi]> LOL
326: [04:21:54] <Zauberfisch> :D
327: [04:22:11] <Zauberfisch> thought about the path, but then thought better this way than another
328: [04:22:27] <Zauberfisch> oh
329: [04:22:28] <Zauberfisch> wait a second
330: [04:22:40] <Zauberfisch> I excluded - becuase I said its common in filenames
331: [04:22:46] <Zauberfisch> but its not common in template names
332: [04:22:52] <Zauberfisch> simon_w|work: you are correct
333: [04:22:57] <Zauberfisch> - is actually the best canidate
334: [04:23:04] <Zauberfisch> I stand corrected
335: [04:23:10] <simon_w|work> I have thought about this, just never been bothered before :p
336: [04:23:18] <simon_w|work> Cause, screw Windows
337: [04:23:22] <zippy> ^
338: [04:23:25] <Zauberfisch> :D
339: [04:23:33] <Zauberfisch> well, still \ feels weird, even un *nix systems
340: [04:23:34] <zippy> if it's a problem, use a vm
341: [04:23:51] <Zauberfisch> I am on linux, but I still avoid using \
342: [04:24:05] <Zauberfisch> actually, I have to now. have a dev in my team now that uses windows ...
343: [04:24:11] * crapwagon has joined #silverstripe
344: [04:24:17] <simon_w|work> Well, it can't be :: because of ambiguities
345: [04:24:26] <Zauberfisch> ?
346: [04:24:31] <Zauberfisch> ah
347: [04:24:39] <Zauberfisch> well, it can't be :: anyway
348: [04:24:45] <Zauberfisch> because windows doesn't like it either
349: [04:24:53] <Zauberfisch> I'll go with -
350: [04:25:38] <Zauberfisch> does it also make sense to include a fallback for namespace less templates?
351: [04:26:16] <simon_w|work> Not really. Far too likely to have a collision you're not expecting
352: [04:26:40] <Zauberfisch> so that a template list of ['namespace1\Page', 'namespace2\Page'] will become ['namespace1-Page', 'namespace2-Page', 'Page']
353: [04:26:49] <Zauberfisch> ir should it just become ['namespace1-Page', 'namespace2-Page']?
354: [04:26:53] <Zauberfisch> *or
355: [04:26:58] <antmas> yeah - looks right
356: [04:27:08] <simon_w|work> It'll still need to include the \ versions for at least one version
357: [04:27:09] <Zauberfisch> hmmm
358: [04:27:17] <Zauberfisch> bah
359: [04:27:23] <Zauberfisch> simon_w|work: nobody cares about you!
360: [04:27:54] <Zauberfisch> and the potential other 0.01% using \
361: [04:29:02] <Zauberfisch> done
362: [04:29:15] <crapwagon> not sure how to ask this question properly, i've got a modeladmin for each of 5 fixed brand objects that manages a set of product and category do's for each one of a set of fixed brand objects, i want to know if i can auto assign brand relationship to each new product or category i make within each brand sub section
363: [04:29:18] <Zauberfisch> anyway, I will not rais a pull request for eat least a couple of weeks
364: [04:29:34] <Zauberfisch> will try namespaces on a couple of projects first and figure out some best practices
365: [04:29:51] <Zauberfisch> but will include the patched getViewer in my boilerplates Page.php
366: [04:30:09] * spronk2 has joined #silverstripe
367: [04:30:17] <antmas> arrrghhh these are so cool! http://sploid.gizmodo.com/these-animated-music-album-covers-are-really-cool-1638172934/+caseychan
368: [04:30:25] * veb has joined #silverstripe
369: [04:30:36] <Zauberfisch> crapwagon: so you you page Category > SubCategory > Product?
370: [04:31:05] <Zauberfisch> class Product has_one SubCategory & class SubCategory has_one Category?
371: [04:33:10] <crapwagon> Zauberfisch: i have a MA top leve for Brand Foo, that i use getList to filter against a brand id, to show Products grid, and Categories grid
372: [04:33:44] <crapwagon> we are using multisites and only have a few brands so we don't really need to make brands dynamic as such
373: [04:33:51] <crapwagon> one site for one brand family
374: [04:34:28] <Zauberfisch> antmas simon_w|work zippy Colin[pi]: [namespace1\Page, namespace2\Page] now becomes [namespace1\Page, namespace1-Page, namespace2\Page, namespace2-Page, Page]
375: [04:34:31] <Zauberfisch> sond good?
376: [04:34:48] <Zauberfisch> *sound
377: [04:34:55] * antmas quit (Quit: Page closed)
378: [04:37:39] <Zauberfisch> crapwagon: ok. so you have category which has a BrandID, and you have products which have a has_one to category?
379: [04:37:58] <Zauberfisch> then of course its possible to "auto" assign products to the brand
380: [04:38:24] <Zauberfisch> in the product you can always do: $brandID = $this->CategoryHasOneRelationName()->BrandID;
381: [04:38:34] <Zauberfisch> given that a Category is assigned that is
382: [04:39:08] <crapwagon> ok cheers
383: [04:42:10] * Shrike_Finland has joined #silverstripe
384: [04:42:30] <Zauberfisch> simon_w|work Colin[pi] zippy should I perhaps also search in folders?
385: [04:42:45] <Zauberfisch> like "templates/Layout/namespace1/Page"?
386: [04:43:20] <Zauberfisch> we'd only need to hope nobody uses a namespace called Includes or Layout
387: [04:49:53] * hailwood quit (Quit: Leaving.)
388: [04:52:42] <Zauberfisch> taking this further:
389: [04:52:51] <Zauberfisch> would it make sense to do the follwoing:
390: [04:53:33] <Zauberfisch> when we have class mymodule\Foo, look for the following templates in that order:
391: [04:53:47] <Zauberfisch> 1) mymodule/templates/Foo.ss
392: [04:54:11] <Zauberfisch> 2) mysite/templates/mymodule-Foo.ss
393: [04:54:17] <Zauberfisch> oh wait
394: [04:54:18] <Zauberfisch> no
395: [04:54:34] <Zauberfisch> it doesn't. because a module will often have more than one namespace
396: [04:54:50] <Zauberfisch> meh. nvm then
397: [04:55:00] <Zauberfisch> but my question with the folder still stands
398: [05:02:57] * jedateach quit (Quit: jedateach)
399: [05:03:35] * Phlunk3 quit (Quit: Leaving)
400: [05:04:26] <ss23> have flu
401: [05:04:27] <ss23> dying
402: [05:05:37] <spronk> cool
403: [05:05:41] <spronk> nice knowing etc
404: [05:05:59] <Zauberfisch> ss23: you have any thoughts on the namespace thingy?
405: [05:06:06] <ss23> my thought is im going to die
406: [05:07:57] * micmania1 has left #silverstripe
407: [05:08:18] <Zauberfisch> you can die after I have your opinion on namespaces
408: [05:09:50] * spronk2 quit (Quit: spronk2)
409: [05:10:51] <ss23> :(
410: [05:10:53] <ss23> I think they're ugly
411: [05:11:01] <Zauberfisch> you are ugly
412: [05:11:29] <Zauberfisch> but meh. perhas you are right, \ is not just in filenames a weird thing
413: [05:11:50] <Zauberfisch> non the less I want to use them
414: [05:12:04] <Zauberfisch> and in order to be able to use them, I need to fix getViewer
415: [05:13:23] * spronk2 has joined #silverstripe
416: [05:13:23] <spronk> what
417: [05:13:26] <spronk> what is this about namespaces?
418: [05:14:23] <spronk> when would it be used?
419: [05:15:23] <ss23> It's used so that if you have two modules with a Page class, they don't conflict
420: [05:15:34] <ss23> It has advantages for sure, but it's *ugly*
421: [05:16:11] <Colin[pi]> so why can't modules apply extensions to Page?
422: [05:16:42] <ss23> They can?
423: [05:17:29] <Colin[pi]> ss23: a module including a Page class would be a big no no imho, rihgt?
424: [05:17:54] <ss23> What about having the basic CWP module that has an ARticleHolder, and another one that uses ArticleHolder, and the other one is better but you're on CWP so fuck you
425: [05:17:58] <ss23> dude
426: [05:17:59] <ss23> it's an advantage, trust me
427: [05:18:03] <ss23> sick high stephen says it is
428: [05:18:04] * ss23 holds Colin[pi]
429: [05:18:06] <ss23> just trust me
430: [05:18:07] <ss23> <3
431: [05:18:22] <Colin[pi]> eeuw, no, I'll catch it
432: [05:18:30] * Colin[pi] pushes ss23 away
433: [05:18:32] <Colin[pi]> ;P
434: [05:18:45] <Zauberfisch> Colin[pi]: Page might be a bad example
435: [05:18:51] <Zauberfisch> Colin[pi]: think of class Item
436: [05:18:59] <Colin[pi]> yeah that makes more sense
437: [05:19:06] <Zauberfisch> Item is so generic, a lot of people use it
438: [05:19:13] <simon_w|work> Or MemberExtension
439: [05:19:14] <Zauberfisch> which breaks compatibility between modules
440: [05:19:23] <Colin[pi]> yep with you now
441: [05:19:26] <simon_w|work> (or, MemberRole)
442: [05:19:27] <Zauberfisch> or MemberExtension, yeah. thats probably the most common problem
443: [05:19:29] <spronk> hmm
444: [05:19:51] <spronk> why not just have modules templates separated from eachother?
445: [05:20:05] <Zauberfisch> w00t?
446: [05:22:11] <spronk> and namespace each module's classes
447: [05:23:58] * Ryan-Toast quit (Quit: Ryan-Toast)
448: [05:24:13] <Zauberfisch> spronk: well, if we namespace classes, we also have to namespace templates
449: [05:24:28] <spronk> well, not necessarily from the perspective of the end user though?
450: [05:24:37] * Olliepop quit (Ping timeout: 246 seconds)
451: [05:24:42] <Zauberfisch> no
452: [05:24:47] <Zauberfisch> think about it:
453: [05:25:10] <Zauberfisch> 2 modules have the same class. lets call it "Detail"
454: [05:25:22] <Zauberfisch> perhaps there is a shop module that has a Detail DataObject
455: [05:25:40] <Zauberfisch> and a team member module that also has a Detail DataObject
456: [05:25:43] <Zauberfisch> both valid
457: [05:25:51] <Zauberfisch> but now you have Detail.ss
458: [05:25:53] <spronk> yeah
459: [05:25:58] <Zauberfisch> which one should silverstripe choose?
460: [05:26:15] <Zauberfisch> we would end up rendering both Classes with one of the templates
461: [05:26:25] <Zauberfisch> so one class works, the other uses a template that it is not meant for it
462: [05:26:30] <Zauberfisch> so yes, we need to namespace templates
463: [05:27:05] <spronk> eh
464: [05:27:07] <spronk> well
465: [05:27:09] <spronk> "namespace"
466: [05:27:21] <spronk> just take the template path
467: [05:27:23] <spronk> and call that a namespace
468: [05:27:24] <spronk> and be done with it
469: [05:28:47] <Zauberfisch> not so easy either
470: [05:28:54] <Zauberfisch> what if your namespace is called Layout?
471: [05:28:55] <spronk> why not?
472: [05:29:05] <spronk> eh?
473: [05:29:07] <Zauberfisch> than that would break the SilverStripe Layout system
474: [05:29:16] <Zauberfisch> (Layout folder)
475: [05:29:29] <spronk> how would that break?
476: [05:29:40] <spronk> layout system would just look for that namespace
477: [05:29:54] <spronk> if you always namespace templates with their module name at the start
478: [05:29:54] <Zauberfisch> yeah. and probably confuse it with the Layout folder that already exists
479: [05:30:04] <spronk> IM SO CONFUSED
480: [05:30:08] <spronk> example above
481: [05:30:15] <Zauberfisch> namespace Layout; class Page extends \SiteTree {}
482: [05:30:29] <Zauberfisch> would always use templates/Layout/Page.ss and NEVER templates/Page.ss
483: [05:30:34] <Zauberfisch> which would break everything
484: [05:30:35] <spronk> so forbid Layout as a namespace
485: [05:30:45] <Zauberfisch> Includes as well
486: [05:30:46] <Zauberfisch> and Email
487: [05:30:54] <Zauberfisch> I guess
488: [05:31:14] <spronk> or just adopt like PSR
489: [05:31:35] <Zauberfisch> the easierst fix obviously is -
490: [05:31:43] <Zauberfisch> I already did that in my local code
491: [05:31:56] <Zauberfisch> so class foo\Bar becomes foo-Bar.ss
492: [05:32:25] <spronk> and Zauberfisch, dont use namespaces like that
493: [05:32:42] <spronk> Layout\Page ==> /Layout/templates/Page.ss
494: [05:33:06] <spronk> Superduper\Layout\Includes\Email\Page ==> /Superduper/Layout/Includes/Email/Page/templates/Page.ss
495: [05:33:11] <spronk> err, without Page in the middle there
496: [05:33:17] <Zauberfisch> but this way we need to refactor on a different level
497: [05:33:26] <Zauberfisch> it has to be inside a templates folder to avoid major changes
498: [05:33:29] <Zauberfisch> shortly afk
499: [05:33:40] <spronk> im confused... modules already have their own folders..
500: [05:33:57] <spronk> or are you referring to multiple namespaces within a single folder?
501: [05:34:04] <spronk> i'd just mandate that each namespace needs its own templates folder
502: [05:34:05] <Zauberfisch> but you can't assume that a module just has a single namespace
503: [05:34:12] <Colin[pi]> ugh
504: [05:34:39] <spronk> or
505: [05:34:45] <spronk> move Layout
506: [05:34:47] <spronk> outside templates
507: [05:37:44] * willr quit (Quit: willr)
508: [05:38:12] <spronk> and
509: [05:38:24] <spronk> you totally can mandate that namespaces have their own template folders
510: [05:41:16] <spronk> tbh, i'd be more inclined to change the way the whole Layout folder worked
511: [05:41:45] <simon_w|work> Just use my XHP module. Makes things so much easier.
512: [05:41:55] <spronk> ?
513: [05:42:03] * veb has joined #silverstripe
514: [05:42:19] <simon_w|work> Templates are all loaded by the class autoloaded. Filesystem layout doesn't matter
515: [05:42:23] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
516: [05:42:23] * veb quit (Client Quit)
517: [05:42:35] * Ryan-Toast has joined #silverstripe
518: [05:42:44] * veb has joined #silverstripe
519: [05:42:56] * jedateach has joined #silverstripe
520: [05:44:01] <simon_w|work> Should make it change \ to :
521: [05:45:07] <simon_w|work> Well, that was easy
522: [05:45:15] * veb quit (Client Quit)
523: [05:45:46] * veb has joined #silverstripe
524: [05:45:49] * Kingy is now known as Kingy[a]
525: [05:56:20] <spronk> synergy, simon_w|work
526: [06:00:26] <simon_w|work> Oh no, I'm shedding!
527: [06:00:30] <simon_w|work> Also, rain :D
528: [06:01:37] * Ryan-Toast quit (Quit: Ryan-Toast)
529: [06:03:13] * Shrike_Finland quit (Quit: Leaving.)
530: [06:05:01] <simon_w|work> Lol, ss23 still hasn't fixed the deploynaut repo
531: [06:05:04] <Zauberfisch> simon_w|work: : for namespaces in template filenames?
532: [06:05:16] <Zauberfisch> please note that : is dissalowed by windows as well
533: [06:06:02] <simon_w|work> Zauberfisch, so that I end up with a valid class name
534: [06:07:40] <crapwagon> hey Zauberfisch so re: what i was asking before
535: [06:08:02] * vebbb has joined #silverstripe
536: [06:08:17] <Zauberfisch> simon_w|work: not sure I follow
537: [06:08:35] <simon_w|work> Zauberfisch, XHP
538: [06:08:43] <Zauberfisch> ah, right
539: [06:08:44] <Zauberfisch> nvm then
540: [06:09:08] <crapwagon> if i edit a category through this approach i get /admin/<brand name>/Category/EditForm/field/Category/item/1/edit or for a new one /admin/<brand name>/Category/EditForm/field/Category/item/1/new so i'm wondering how to autopopulate brand for that Category - I could just fudge it from the URL worst case?
541: [06:09:13] <Zauberfisch> should get our hoster (for small/mid projects) to support xhp
542: [06:10:08] * travis-ci has joined #silverstripe
543: [06:10:08] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#3368 (master - 7e58bbf : Simon Welsh): The build passed.
544: [06:10:08] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/4ba6d8153dd6...7e58bbf6cea1
545: [06:10:08] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/36120726
546: [06:10:08] * travis-ci has left #silverstripe
547: [06:10:35] <Zauberfisch> hmmm. now I get what you mean
548: [06:11:37] <Zauberfisch> I see a couple of options you could do: add a hidden field to the detailform of the gridfield and populate that with the ID from within the ModelAdmin class
549: [06:11:53] <Zauberfisch> but not sure, you might need to write your own gridfield component for that
550: [06:11:56] <Zauberfisch> not sure
551: [06:12:25] <crapwagon> it'd be easy enough to extract the brand name from the URL, maybe i'll just be captain-cludge, like i said, the main thing is these brands are pretty static as they are tied into the multisite module
552: [06:12:26] * veb quit (Ping timeout: 272 seconds)
553: [06:12:30] <crapwagon> so it doesn't need to be very configurable
554: [06:12:47] <Zauberfisch> another way is to just get the controller
555: [06:13:04] <crapwagon> which will be the ModelAdmin eh
556: [06:13:07] <Zauberfisch> yep
557: [06:13:10] <crapwagon> and ask him what the fuck is up
558: [06:13:13] <crapwagon> okay will try that
559: [06:13:16] <Zauberfisch> either: $gridfield->getForm()->getController()
560: [06:13:27] * vebbb is now known as veb
561: [06:13:28] * veb quit (Changing host)
562: [06:13:28] * veb has joined #silverstripe
563: [06:13:32] <Zauberfisch> or Controller::curr()
564: [06:13:37] * oetiker quit (Remote host closed the connection)
565: [06:14:14] * oetiker has joined #silverstripe
566: [06:14:16] <Zauberfisch> and you could add a member variable / static member to each of the model admin and get the bradnID this way
567: [06:14:25] <Zauberfisch> Controller::curr()->BrandID
568: [06:14:39] <crapwagon> ahh that's a good idea, i already have something like that anyway
569: [06:14:54] * veb is now known as vebbb
570: [06:15:40] <Zauberfisch> ok, so, on the namespace issue
571: [06:15:55] <Zauberfisch> I think I'll keep it at just a dash for now, and will play around with that a bit
572: [06:16:02] <Zauberfisch> lets see how it plays out
573: [06:16:09] <Zauberfisch> I can think about folders later
574: [06:23:51] * travis-ci has joined #silverstripe
575: [06:23:51] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#3369 (master - bbd4e8b : Sean Harvey): The build passed.
576: [06:23:51] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/7e58bbf6cea1...bbd4e8b8c131
577: [06:23:51] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/36121503
578: [06:23:51] * travis-ci has left #silverstripe
579: [06:29:50] <Colin[pi]> oh silverstripe, you are awesome pants sometimes... impromptu publication manager built in an hour
580: [06:29:56] <Colin[pi]> working fine :D
581: [06:34:03] * Shrike_Finland has joined #silverstripe
582: [06:34:41] * Shrike_Finland quit (Client Quit)
583: [06:36:24] * Shrike_Finland has joined #silverstripe
584: [06:40:18] * Shrike_Finland quit (Client Quit)
585: [06:40:35] * spronk2 quit (Quit: spronk2)
586: [06:49:27] * Adesso has joined #silverstripe
587: [06:49:30] * vebbb quit (Ping timeout: 250 seconds)
588: [06:52:44] * Shrike_Finland1 has joined #silverstripe
589: [06:55:02] * lerni has joined #silverstripe
590: [06:58:35] * zfmf has joined #silverstripe
591: [06:58:55] * veb has joined #silverstripe
592: [06:59:02] * Colin[pi] quit (Ping timeout: 245 seconds)
593: [07:02:24] * jedateach quit (Quit: jedateach)
594: [07:10:30] * wmk has joined #silverstripe
595: [07:27:39] * deschebbs has joined #silverstripe
596: [07:33:26] * hailwood has joined #silverstripe
597: [07:54:56] * stnvh quit ()
598: [07:55:37] * Otterpocket has joined #silverstripe
599: [07:56:34] * Robke has joined #silverstripe
600: [07:57:00] * Robke quit (Client Quit)
601: [07:57:19] * Robke has joined #silverstripe
602: [07:58:35] * stnvh has joined #silverstripe
603: [08:00:58] * ocmnt has joined #silverstripe
604: [08:01:08] <ocmnt> howdy
605: [08:01:41] <Robke> hey can someone tell me how to get this date (i use $Date.Nice in template) from 11/11/2014 to Nov. 11 2014
606: [08:01:57] <Robke> ocmnt: hey :D maybe you will help me as always :D
607: [08:02:25] <ocmnt> don't use date.nice :D
608: [08:02:36] <kinglozzer> Robke: $Date.Format(M. d Y)
609: [08:02:50] <Robke> ok i will try, thanks kinglozzer
610: [08:03:10] <kinglozzer> You can use $Date.Format(<args>) and pass in anything from PHP's date function: http://php.net/manual/en/function.date.php
611: [08:03:34] <Robke> woohoo! it works ;)
612: [08:03:35] <wmk> Robke, Date.nice isn't nice
613: [08:03:37] <Robke> thanks again :)
614: [08:03:41] <Robke> wmk: i see :D
615: [08:04:06] <wmk> an old issue on the todo list is to i18n date / datetime. but it seems to be very complicated
616: [08:07:08] * hailwood quit (Quit: Leaving.)
617: [08:09:17] * UncleCheese has joined #silverstripe
618: [08:10:10] * Colin[pi] has joined #silverstripe
619: [08:11:11] <Colin[pi]> ah damn, missed out on a client because they want to go with DerpPress... oh well
620: [08:13:53] <ocmnt> you wont miss out on that :D
621: [08:16:23] * Stomach quit (Quit: bye)
622: [08:19:52] <wmk> missed out? you didn't get to the meeting?
623: [08:24:00] * Shrike_Finland1 quit (Quit: Leaving.)
624: [08:25:18] * Shrike_Finland has joined #silverstripe
625: [08:27:58] * Pyguhk has joined #silverstripe
626: [08:28:44] * effortDee has joined #silverstripe
627: [08:29:04] * Teddy_ has joined #silverstripe
628: [08:29:26] <effortDee> am looking in to silverstripe
629: [08:30:50] <effortDee> i have drupal and wordpress experience
630: [08:30:51] <Pyguhk> ok
631: [08:30:55] <Pyguhk> no, forget them.
632: [08:30:56] <effortDee> what would silverstripe offer me they dont?
633: [08:31:00] <effortDee> forget drupal?
634: [08:31:07] <Pyguhk> well proper code for a start.
635: [08:31:26] <Pyguhk> well, forget wordderp for a start.
636: [08:31:26] <Pyguhk> it's not even a thing.
637: [08:31:26] <Pyguhk> It's a blog.
638: [08:31:39] <effortDee> i agree with that comment
639: [08:31:49] <Pyguhk> To this very day still no idea why people try to make circles out of a cube.
640: [08:32:07] <effortDee> yer
641: [08:32:19] <effortDee> i love drupal because of how many modules it has
642: [08:32:26] <effortDee> makes me make functional and big websites quite easily
643: [08:32:31] <Pyguhk> http://glows-coaching.co.uk/wp-content/uploads/2010/09/Square-Peg.jpg
644: [08:32:40] <Pyguhk> making websites with wordpress ^
645: [08:32:52] <Pyguhk> ironic that image is on wp :<
646: [08:33:09] <Pyguhk> yeah well drupal does have it's niche.
647: [08:33:27] <Colin[pi]> effortDee: there are a lot of modules for SS, perhaps not as many as other platforms, but tbh SS is the best framework I have ever used for rolling my own modules
648: [08:33:27] <Pyguhk> silverstripe has modules too, but not nearly as many (in part due to community size).
649: [08:34:02] <Pyguhk> in another part, because you have a proper framework at your disposal, you don't need to shoehorn modules in to achieve some functionality, sometimes a small bit of code goes a long way.
650: [08:34:04] <Colin[pi]> effortDee: for example, I had a publication management module coded from start to finish, in place, on production site, in 1 hour today
651: [08:34:21] <Pyguhk> ^
652: [08:34:25] <Pyguhk> basically that.
653: [08:34:36] <Colin[pi]> we're not talking super complicated or a bunch of functionality
654: [08:34:43] <Colin[pi]> data modelling and templates to render it basically
655: [08:34:46] <Colin[pi]> but SO fast to do
656: [08:34:55] <Pyguhk> silverstripe gives you an ORM over drupal (at least, last I looked at it)
657: [08:35:12] <Pyguhk> think of it as the delightful middleground between drupal and laravel.
658: [08:35:42] * Adesso managed to get a good undestanding of SS in 7 days
659: [08:35:55] <Colin[pi]> Pyguhk: when I started my quest for a 3rd party framework over my shitty proprietary one, SS was the ONLY one that "clicked" with mew
660: [08:35:57] <Colin[pi]> *me
661: [08:36:08] <Pyguhk> You'll need proper OOP coding experience though, effortDee
662: [08:36:09] <Colin[pi]> I looked at the code, and went "oh, I see.. I understand how this is working"
663: [08:36:15] <Colin[pi]> (more or less)
664: [08:36:57] <Colin[pi]> whereas when I looked at some drupal or derppress modules code, my immediate reaction was: "....wat."
665: [08:38:08] * dangerdan has joined #silverstripe
666: [08:38:52] <Tanger> Man, that derppress templating...
667: [08:39:03] <Colin[pi]> Tanger: oh god, it's hideous
668: [08:39:17] <wmk> Pyguhk, effortDee somtimes understanding, using and modifying a module costs more time than writing it yourself
669: [08:39:23] <Colin[pi]> Tanger: like, SS's template engine has it's quirks, but I actually quite like it's simplicity
670: [08:39:32] <effortDee> im a front end developer
671: [08:39:36] <effortDee> so don't know if i could write modules
672: [08:39:56] <Colin[pi]> effortDee: do the SS tutorial, I guarantee you could write a simple module within a week
673: [08:40:03] <Pyguhk> effortDee: well... who does your back end then?
674: [08:40:05] <effortDee> derpress haha
675: [08:40:06] <wmk> Pyguhk, on that image: that's a proper, historic way to make wood round. e.g.for rakes
676: [08:40:12] <Pyguhk> wordderd
677: [08:40:17] <Pyguhk> dd/p*
678: [08:40:19] <effortDee> im a freelancer so use drupal for that
679: [08:40:25] <Pyguhk> CCK?
680: [08:40:31] <effortDee> but 9-5 i work for an ecommerce agnecy
681: [08:40:35] <effortDee> on wordpress, magento and venda
682: [08:40:43] <Pyguhk> e-commerce on wordderp!?
683: [08:40:44] <Colin[pi]> oh jesus fuck
684: [08:40:44] <Pyguhk> dafuq
685: [08:40:47] <effortDee> but im looking for a variant to wordpress haha
686: [08:40:53] <effortDee> nah, never done ecommerce on wordpress
687: [08:40:55] <effortDee> wordpress blogs
688: [08:40:56] <Colin[pi]> that's like a clusterfuck trifecta
689: [08:40:57] <Pyguhk> well this will be far better.
690: [08:41:01] <Tanger> Colin[pi]: yeah, derppress template controls need actual php syntax <?php … ?>. It's ridiculous
691: [08:41:02] <Pyguhk> oh, well for blogs...
692: [08:41:05] <Pyguhk> if they're ONLY blogs...
693: [08:41:17] <effortDee> just thinking small portfolio sites for freelance clients
694: [08:41:24] <Pyguhk> SS can do most/all of the things too... but ... well I dunno I don't use wordderp.
695: [08:41:25] <effortDee> drupal can do the job but after something slimmer
696: [08:41:25] <Colin[pi]> Tanger: yeah there is sooo much mixed php and html :(
697: [08:41:42] <wmk> effortDee, yeah, portfolio stuff is easy
698: [08:41:45] <Pyguhk> effortDee: well for small portfolio sites, yeah SS far better.
699: [08:42:00] <Pyguhk> as you don't really need to modify much at all to get a decent site.
700: [08:42:06] <Pyguhk> effortDee: have you seen the demo?
701: [08:42:15] <effortDee> im on the demo now
702: [08:42:29] <wmk> wordd** is good if you take a theme and standard stuff and you can rollout things quite fast. but don't want to customize a thing that isn't meant to customize
703: [08:42:29] <effortDee> and im after an active ocmmunity too, drupal has an enormous one on IRC which is awesome
704: [08:42:32] <Pyguhk> http://demo.silverstripe.org/
705: [08:42:41] <Colin[pi]> effortDee: the way I see SS is this, she's like a beautiful woman that sometimes will be a bitch, and you have a fight... but within a few hours of looking at hookers, you'll BEG her to take you back
706: [08:42:48] <Pyguhk> effortDee: well it sounds like perhaps you should stick with Drupal.
707: [08:43:07] <Pyguhk> if you half-commit with little knowledge of PHP, you'll likely find SS very frustrating.
708: [08:43:18] <Pyguhk> and end up back on drupal anyway.
709: [08:43:19] <effortDee> lol Colin
710: [08:43:32] <effortDee> ahright Pyguhk
711: [08:43:34] <effortDee> i'll have a look
712: [08:43:35] <wmk> effortDee, one BIG plus on SS over WP: you can put the code / database on another machine / domain and it runs. WP has domain in links hardcoded in database content...
713: [08:43:49] <Pyguhk> yeah, that's quite shit, lol.
714: [08:44:00] <wmk> that's more than that!
715: [08:44:02] <Pyguhk> wmk: not entirely sure if that's all still true.
716: [08:44:09] <wmk> it was a year ago
717: [08:44:13] <Pyguhk> I migrated a few sites a couple of years back and it seemed to go OK.
718: [08:44:21] <wmk> my first and last experience with wordp.
719: [08:44:32] <Pyguhk> Although I think we ported the domain too... so yeah.
720: [08:44:42] <Pyguhk> ie, migrated host, same domain.
721: [08:44:48] <wmk> developed on a test domain and wanted to put live
722: [08:44:57] <Pyguhk> hahaha, developed.
723: [08:44:59] <Pyguhk> BL2U
724: [08:45:07] <wmk> BL 2 me?
725: [08:45:11] * Pyguhk has avoided wordderp his entire career.
726: [08:45:26] <Pyguhk> well *developing* with it.
727: [08:45:35] * Shrike_Finland1 has joined #silverstripe
728: [08:45:44] <wmk> Pyguhk, the only reason i tried it: customer wanted a simple app for his mobile to post stuff from everywhere
729: [08:45:57] <Pyguhk> I didn't manage to get taht thing online for you last night wmk - git was dead because... well because the whole computer was.
730: [08:45:58] <wmk> and i must admit: THIS is very cool and runs out of the box
731: [08:46:15] <Pyguhk> but! I did put it into an email so I have the code here and hopefully I can share it with you.
732: [08:47:01] <Colin[pi]> Pyguhk: I'm the same
733: [08:47:13] <Colin[pi]> I took one look at the code, said several "WTFs" and decided against it
734: [08:47:42] <wmk> effortDee, just try Silverstripe and play a bit with it. Read the tutorials on doc.silverstripe.org. And if you have questions just ask here.
735: [08:48:26] <Pyguhk> Colin[pi]: you looked at the code!? Just the template tutorial INTRO was enough to scare me off :>
736: [08:48:28] <Tanger> I gotta say, the tutorials on doc.silverstripe.org has improved vastly over the past few months
737: [08:48:31] * Teddy__ has joined #silverstripe
738: [08:48:52] <Pyguhk> Tanger: you mean... the ones that haven't changed at all?
739: [08:49:12] * Shrike_Finland quit (Ping timeout: 260 seconds)
740: [08:49:28] <Colin[pi]> Pyguhk: lol yeah
741: [08:49:36] <Tanger> Pyguhk: Whaaaaa? There's plenty of new content for 3.1 that I've never seen since I last checks
742: [08:49:38] <wmk> Colin[pi], i'm looking forward to the europe meetup. Saturday 10am: "How to convince your client to Choose SilverStripe over Wordpress, Typo3, ..."
743: [08:49:39] <effortDee> will do wmk thanks
744: [08:49:40] <Tanger> TO THE GIT REPO!
745: [08:49:49] <Colin[pi]> wmk: awesome :)
746: [08:50:17] <Pyguhk> wmk: short answer: they're the client, what the fuck would they know?
747: [08:50:25] <wmk> ;)
748: [08:50:46] <wmk> well, if an agency asks for a wp site i counter ask: what do you want to do with that.
749: [08:50:59] <wmk> but marketing guys only know typo and wp
750: [08:51:05] <Pyguhk> I dunno what kinda clients some people get... but every single one I've deat with wanted a website. Not a wordderp install :>
751: [08:51:24] <Pyguhk> they don't care what it's IN ;)
752: [08:51:32] <wmk> some ask wp cause that's all they know, but they mean cms / blog
753: [08:51:38] <Pyguhk> yeah
754: [08:51:47] <Pyguhk> sometimes it's a case of having used it before
755: [08:51:51] * Teddy_ quit (Ping timeout: 258 seconds)
756: [08:51:54] <wmk> best are "make everything configurable"- clients
757: [08:52:05] <Pyguhk> sometimes it's a case of they've looked it up on the internet... those are the ones you want to avoid.
758: [08:52:15] <wmk> ;)
759: [08:52:25] <Colin[pi]> Pyguhk: I had that exact same situation last year
760: [08:52:26] <Pyguhk> tehy'll come at you with stuipd ideas and think they're right because they read about it somewhere... armchair experts, etc.
761: [08:52:59] <Pyguhk> [09:51] <wmk> best are "make everything configurable"- clients
762: [08:53:01] <Pyguhk> This is my default mode.
763: [08:53:04] <Pyguhk> Asked for or not.
764: [08:53:17] <Colin[pi]> Pyguhk: they paid a deposit, everything was all steam ahead, then I had this call "we've read that wordpress is awesome, why dont you make the website in wordpress?"
765: [08:53:21] <wmk> Pyguhk, ??
766: [08:53:26] <Colin[pi]> I'm like "Uh, no?"
767: [08:53:34] <Colin[pi]> and then they went to a wordpress shop
768: [08:53:35] <Pyguhk> Becasue 1: good practice. 2: I know that a few days from launch they're gonna go "oh could we just..."
769: [08:53:38] <Colin[pi]> Oh well
770: [08:53:45] * Shrike_Finland1 quit (Quit: Leaving.)
771: [08:54:06] <Pyguhk> wmk: I make everything I can as configurable as possible
772: [08:54:14] <Pyguhk> or aim to that end at least
773: [08:54:21] <wmk> Pyguhk, ok. but some just wanted at beginning e.g. changing news, so some nearly-never-changing boxes in sidebar are hardcoded in template
774: [08:54:43] <wmk> years later: why cannot we change that? - hmm, it wasn't meant to be changed?
775: [08:55:10] <Pyguhk> haha, yeah
776: [08:55:30] <wmk> best was a site where the graphic designer did a strange layout for content area. if you tried to change it in tiny (without html experience) you broke it.
777: [08:55:51] <Pyguhk> Tanger: You keep saying 'Tutorial'. I do not think this means what you think it means.
778: [08:56:33] <wmk> this tutorials? http://doc.silverstripe.org/framework/en/tutorials/
779: [08:56:35] <Tanger> Yeah lol, I'm an idiot. I was referring to the reference docs, not the actual tutorial.
780: [08:56:42] <Pyguhk> yup :>
781: [08:56:47] <wmk> yeah, refs are quite good.
782: [08:56:54] <Tanger> Yeah, Tutorials haven't changed at all lol
783: [08:57:17] <Pyguhk> I've not noticed them change either though... but I've not been looking lately
784: [08:57:23] <wmk> though reading the code in doubt is even the best, Tanger. You'll find a lot of undocumented hooks
785: [08:57:51] * wmk loves IDEA / PHPSTORM. you can easily jump to a class and read docblocks / code
786: [08:58:15] <Pyguhk> api docblocks are often helpful where docs docs let you down
787: [08:59:05] <wmk> anyone has an example for a config.yml which has different values for dev/live mode?
788: [08:59:28] <Pyguhk> not sure if that's possible.
789: [08:59:52] <wmk> it is from docs, but i guess i have a little mismatch in my config
790: [09:00:19] <kinglozzer> Can you have an abstract DataObject? I'm 80% sure the answer is no
791: [09:00:21] <Tanger> wmk: Haha, so true.
792: [09:00:29] <Tanger> kinglozzer: No sadly
793: [09:00:31] <wmk> http://doc.silverstripe.org/framework/en/topics/configuration#exclusionary-rules
794: [09:00:34] <Tanger> Tried ecently
795: [09:00:36] <kinglozzer> :(
796: [09:00:44] <Tanger> Managed roughly the same with an interface though
797: [09:00:59] <Tanger> I hear 3.2 has polymorphic DataLists though
798: [09:01:36] <Pyguhk> kinglozzer: I'm 100% sure the answer is no.
799: [09:02:26] <Pyguhk> Tanger: that just means you can get more of one kind of object at once.
800: [09:02:39] <wmk> http://sspaste.com/paste/show/542283aea88c3 <- my config.yml. any ideas to get it work?
801: [09:02:57] <Pyguhk> ie like $ArrayList->push($theseThings)->push($thoseThings)
802: [09:03:06] <wmk> sounds cool
803: [09:03:15] * Trooy has joined #silverstripe
804: [09:03:56] <Pyguhk> sounds slightly confusing, but ultimately powerful.
805: [09:04:07] <Tanger> Does sound cool
806: [09:04:23] <Tanger> So it's not like a true implementatio nof polymorphism in the OO sense?
807: [09:04:47] <Pyguhk> welll... no. DataList already does taht IIRC
808: [09:04:57] <Pyguhk> hmm... maybe.
809: [09:05:00] <Pyguhk> idk
810: [09:05:08] <Pyguhk> but yeh, polymorphic is ambiguious
811: [09:10:51] * Trooy quit (Read error: Connection reset by peer)
812: [09:11:09] * Trooy has joined #silverstripe
813: [09:20:04] <wmk> IT WORKS!
814: [09:20:33] * StefanLehmann quit (Ping timeout: 260 seconds)
815: [09:21:46] <Pyguhk> wmk: ?
816: [09:21:55] <Pyguhk> just install apache?
817: [09:22:21] <wmk> http://sspaste.com/paste/show/542283aea88c3 <- had to remove the last line, now it works
818: [09:22:43] <wmk> different config values in dev and live
819: [09:22:51] <Pyguhk> oh, too many ---
820: [09:22:56] <Pyguhk> block separators
821: [09:23:07] <wmk> copied the example from docs
822: [09:23:11] <Pyguhk> dammit, want chocolate
823: [09:23:38] <wmk> i guess if i need more global values afterwards i need the sepeartor again
824: [09:23:44] <Pyguhk> yup
825: [09:24:02] <Pyguhk> They're header boundaries
826: [09:24:15] <wmk> ok. someone has to tell ;)
827: [09:24:19] <Pyguhk> not actual boundaries for all the code
828: [09:24:24] <Pyguhk> yeh, it's a bit weird.
829: [09:25:01] <wmk> yup. but when it works (and once you understood it) it's just elegant
830: [09:25:23] <Pyguhk> cool, I've not played with exceptions and onlys before though
831: [09:26:19] <wmk> it's just cool.... different settings.... no need for different config files in dev and live
832: [09:26:59] <Pyguhk> yup :>
833: [09:27:29] <wmk> in combination with _ss_environment... a dreamteam
834: [09:27:56] <Pyguhk> cool
835: [09:28:16] <wmk> i love config files. customer cannot change values he shouldn't and same values on dev and test machine in a glance...
836: [09:28:51] <Pyguhk> yup
837: [09:29:08] <Pyguhk> did you want my slug module?
838: [09:29:21] <Pyguhk> I'll see if I can figure it out
839: [09:29:22] <wmk> for URLSegment on DOs?
840: [09:29:25] <Pyguhk> yup
841: [09:29:38] <wmk> yes please
842: [09:29:43] <wmk> Zauberfisch, mailcatcher rocks
843: [09:29:56] <Pyguhk> what kind of mails does it catch?
844: [09:30:00] <Zauberfisch> wmk: yeah it does
845: [09:30:07] <wmk> Pyguhk, on a VM all sent mails
846: [09:30:15] <wmk> you can watch them in browser
847: [09:30:37] <wmk> http://mailcatcher.me/
848: [09:30:39] * Tanger quit (Quit: Tanger)
849: [09:32:01] * Tanger has joined #silverstripe
850: [09:33:27] <Pyguhk> I don't get it, it's for spying on people?
851: [09:33:37] <wmk> no, for developing
852: [09:34:03] <wmk> if you're developing a feature sending emails on a DEV machine (VM) you can catch them
853: [09:34:03] <Pyguhk> it's a mail daemon remplacement that doesn't actually send but fakes the protocol to say it did?
854: [09:34:23] <wmk> something like that. doesn't send but shows mail to you
855: [09:34:31] <Pyguhk> or it just sits between sendmail and sender and blocks all the things?
856: [09:35:04] <wmk> sendmail replacement
857: [09:35:19] <wmk> in my case i just tested if mail to customer is sent in live mode and to me in dev mode
858: [09:35:36] <wmk> but the mail was catched and not sent to my customers mailbox
859: [09:36:00] <wmk> on test / live machine sendmail will deliver mails, but on my dev VM i don't want them to be delivered
860: [09:36:20] <wmk> without mailcatcher you have to send, wait, check mailbox....
861: [09:36:44] <Pyguhk> hmm... I suppose.
862: [09:36:52] <Pyguhk> SS_SEND_ALL_EMAILS_TO
863: [09:37:00] <Pyguhk> generally how I roll ;)
864: [09:37:16] <wmk> just another tool....
865: [09:42:04] <Zauberfisch> Pyguhk: mailcather is pretty nice, because it runs locally, is blazing fast in receiving the mails (instant) and doesn't even require an internet connection
866: [09:43:08] <Zauberfisch> and its already configured in my vagrant vm
867: [09:43:28] <wmk> the one you'll talk about at the listen to zf event?
868: [09:43:33] <wmk> *duck*
869: [09:43:51] * stnvh quit ()
870: [09:44:56] <Zauberfisch> yeah, will cover all that on the silverstripe europe meetup
871: [09:45:06] <Zauberfisch> with Pyguhk should also attend!
872: [09:45:30] <wmk> Zauberfisch, only if he breaks with his gf
873: [09:45:50] <wmk> Pyguhk, do you know the A-Team?
874: [09:48:22] <wmk> uh, have to run, cul8r
875: [09:49:05] * stnvh has joined #silverstripe
876: [09:52:11] * Teddy__ quit (Quit: Leaving)
877: [09:52:39] * UncleCheese quit (Quit: Textual IRC Client: www.textualapp.com)
878: [09:52:49] * UncleCheese has joined #silverstripe
879: [09:57:19] <UncleCheese> wmk that's really cool
880: [09:57:34] <UncleCheese> i'm actually working on a project right now that could use that
881: [10:06:13] <Zauberfisch> UncleCheese: want access to my vagrant box?
882: [10:06:26] <UncleCheese> i still don't really get vagrant
883: [10:06:44] <Zauberfisch> :O
884: [10:06:49] <Zauberfisch> its awesome
885: [10:06:57] <Zauberfisch> makes live so much easyer
886: [10:07:36] <Zauberfisch> (docker might be an alternative, but I haven't really looked into it, and I feat its not that cross platform)
887: [10:10:14] <UncleCheese> seems like a lot of work
888: [10:18:33] * UncleCheese quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
889: [10:28:28] * zfmf quit (Remote host closed the connection)
890: [10:31:39] * lerni quit (Remote host closed the connection)
891: [10:31:48] * stnvh quit ()
892: [10:32:03] * stnvh has joined #silverstripe
893: [10:33:20] <Pyguhk> Zauberfisch: well I did do a talk on what SS is and why use it recently...
894: [10:33:35] <Pyguhk> wmk: I AM the A-team xD
895: [10:33:51] <Pyguhk> :o how does one not get vagrant?
896: [10:37:42] * Trooy quit (Read error: Connection reset by peer)
897: [10:43:35] <Pyguhk> Zauberfisch: when does it start? Friday or Saturday
898: [10:43:37] <Pyguhk> ?
899: [10:43:48] <Pyguhk> I thought it was weekend, but if Fri & Sat...
900: [10:48:28] * Shrike_Finland has joined #silverstripe
901: [10:51:24] <spronk> oowph
902: [10:51:37] <spronk> just saw a pretty schweeeet vuln attack
903: [10:52:20] <spronk> sql in jpeg exif
904: [10:52:32] <spronk> web app pulls exif data, stores in db
905: [10:52:37] <spronk> doesn't sanitise
906: [10:52:40] <spronk> BANG
907: [10:55:34] * Shrike_Finland quit (Read error: Connection reset by peer)
908: [10:55:40] * Shrike_Finland1 has joined #silverstripe
909: [10:57:55] * zfmf has joined #silverstripe
910: [11:00:28] <Pyguhk> spronk: that's ... not new
911: [11:00:40] <Pyguhk> :< someone still had that as a vuln?
912: [11:01:08] <spronk> yeah
913: [11:01:12] <spronk> the script was awesome though
914: [11:01:16] <wmk> Pyguhk, you know, the one from A-Team who didn't want to fly.
915: [11:01:18] <spronk> inserted a hook javascript code into like
916: [11:01:24] <spronk> every text entry large enough in the database
917: [11:01:35] <wmk> Pyguhk, FR/Sat
918: [11:01:37] * Shrike_Finland1 quit (Quit: Leaving.)
919: [11:03:06] * lerni has joined #silverstripe
920: [11:06:16] * lerni_ has joined #silverstripe
921: [11:06:17] * lerni quit (Read error: Connection reset by peer)
922: [11:06:34] * Robke quit (Ping timeout: 246 seconds)
923: [11:08:57] * simon_w|air has joined #silverstripe
924: [11:09:56] <Pyguhk> wmk: cool, had my dates wrong
925: [11:10:41] <wmk> does this mean we can hear you swearing live in linz?
926: [11:10:47] <Pyguhk> haha, fuck no
927: [11:10:57] <wmk> but that's a contradiction!
928: [11:11:01] * lerni_ quit (Ping timeout: 272 seconds)
929: [11:13:15] * simon_w|air quit (Client Quit)
930: [11:14:59] * anselmdk has joined #silverstripe
931: [11:15:38] <Zauberfisch> Pyguhk: FR+SA
932: [11:16:04] <Pyguhk> cool cool
933: [11:16:17] <Zauberfisch> so does that mean there is an actual chance of you comming? :O
934: [11:16:23] <Zauberfisch> yaaay \o/
935: [11:16:26] <Pyguhk> so what's the cheapest & fastest way to get to linz from say...
936: [11:16:27] <Pyguhk> Rome?
937: [11:16:34] <Pyguhk> Zauberfisch: slim.
938: [11:19:00] * Shrike_Finland has joined #silverstripe
939: [11:19:26] * Shrike_Finland1 has joined #silverstripe
940: [11:20:13] <wmk> train?
941: [11:21:08] <Pyguhk> plane?
942: [11:22:19] <Zauberfisch> train is like 10 hours from venecia, so rome will be even worse
943: [11:22:32] <Zauberfisch> plane only fly over vienna
944: [11:22:49] <Zauberfisch> rome > vienna > linz is 270 EUR the cheapest I found
945: [11:23:04] <Zauberfisch> but perhaps its better do fly to vienna and then take the train
946: [11:23:21] * Shrike_Finland quit (Ping timeout: 246 seconds)
947: [11:23:56] <Pyguhk> perhaps. gotta get back too :<
948: [11:24:11] <Zauberfisch> rome > vienna (plane) + vienna > linz is cheaper
949: [11:24:18] <Zauberfisch> vienna > linz being train
950: [11:24:31] <Pyguhk> and then a bus, and then a taxi? xD
951: [11:24:32] <Zauberfisch> then you will end up with about 150-200 euro
952: [11:24:41] <Pyguhk> cool.
953: [11:24:47] <wmk> Pyguhk, the meeting is right beneath the train station
954: [11:24:48] <Pyguhk> gotta get back too.
955: [11:24:53] <Zauberfisch> well, you probably need a bus from the vienna airport to the vienna train station
956: [11:24:54] <Pyguhk> yeh I know wmk
957: [11:25:02] <Zauberfisch> 200 is both ways I think
958: [11:25:03] <Pyguhk> Zauberfisch: D:
959: [11:25:11] <Zauberfisch> but bus is a short one I think
960: [11:25:14] <Pyguhk> do they not have trains in the airport?
961: [11:25:18] <Zauberfisch> no
962: [11:25:21] <Zauberfisch> shortly afk
963: [11:25:24] <wmk> Pyguhk, it's vienna...
964: [11:25:47] * lerni has joined #silverstripe
965: [11:26:03] <Pyguhk> wholey shit, Vienna's like on the other side of Austria, lol
966: [11:26:07] <Pyguhk> how long is the train?
967: [11:26:23] <Pyguhk> or is it one of those really speedy ones that whips along at 300Km/h?
968: [11:26:28] <Pyguhk> I'd like to go on one of them.
969: [11:28:10] <Pyguhk> ps. not looking for the answer "about 9 carriages"
970: [11:28:12] <Pyguhk> :P
971: [11:42:32] <wmk> IC or WestBahn should be about 1h by train
972: [11:42:56] <wmk> Pyguhk, it's not that far, just looks that cause austria is pretty small
973: [11:45:54] <Pyguhk> oh yeh
974: [11:46:07] <Zauberfisch> back
975: [11:46:31] <Zauberfisch> Pyguhk: yeah, its on the other side. but austria is so small, and our trains so fast that the train ride is only 1h 15m
976: [11:46:56] * Shrike_Finland1 quit (Quit: Leaving.)
977: [11:47:08] <Zauberfisch> Pyguhk: not sure if 300, but more than 200
978: [11:47:09] <Pyguhk> oh sweet.
979: [11:47:15] <Zauberfisch> I think
980: [11:47:25] <Zauberfisch> probably closely around 200
981: [11:47:35] <Zauberfisch> train is also cheap
982: [11:47:41] <Zauberfisch> 17 euro or so
983: [11:47:43] <Pyguhk> good good :D
984: [11:47:54] <Pyguhk> where to fly from I guess
985: [11:47:55] <Zauberfisch> http://www.fluege.de/flight/encodes/sFlightInput/6926adbd4d7fb211a68530bc32b1056b/
986: [11:48:01] <Pyguhk> and where to stay :/
987: [11:48:14] <Pyguhk> and do you sell the helles?
988: [11:48:18] <Pyguhk> like in Munich?
989: [11:48:22] <Zauberfisch> helles?
990: [11:48:25] <Pyguhk> I NEED IT IN ME
991: [11:48:26] <Pyguhk> hells?
992: [11:48:28] <Pyguhk> idk
993: [11:48:30] <Pyguhk> beer.
994: [11:48:41] <Zauberfisch> ah. a german word
995: [11:48:45] <Zauberfisch> yeah, we have beer
996: [11:48:53] <Pyguhk> it's a type.
997: [11:50:05] <Pyguhk> ah, it means light http://www.germanbeerinstitute.com/helles.html
998: [11:50:24] <Pyguhk> it's the weirdest thing right, I don't normally like light beer. but in munich I couldn't get enough :D
999: [11:50:57] <Zauberfisch> Pyguhk: I don't drink alcohol, but I am sure we have all kinds of beers
1000: [11:51:09] <Zauberfisch> Pyguhk: you seen the link?
1001: [11:51:15] <Zauberfisch> says there 130 euro for a flight
1002: [11:51:23] <Zauberfisch> but I selected FR+SA
1003: [11:51:28] <wmk> Pyguhk, in Vienna go for Schremser Roggenbier... http://www.schremser.at/web/our-beer/bio-roggen.html?lang=en
1004: [11:51:43] <Pyguhk> I see the link Zauberfisch, but it's all in German :<
1005: [11:52:06] <Zauberfisch> Pyguhk: but the cheapest one might be the best one
1006: [11:52:09] <Pyguhk> But I can understand Wien - Rom
1007: [11:52:17] <Zauberfisch> arrival at Thursday the 2nd and leave at Sunday
1008: [11:52:22] <Zauberfisch> so 3 nights stay
1009: [11:52:28] <Zauberfisch> but plane ticket is only 99
1010: [11:53:01] <Zauberfisch> wait, let me check out the details for you
1011: [11:54:00] <Pyguhk> omg so nice Zauberfisch :)
1012: [11:54:29] <Pyguhk> arrive Thurs. afternoon? exit Sun. Morning?
1013: [11:55:41] <Zauberfisch> I have one here that says: arrival Thursday midnight in linz (leaves in rome at 8:45 PM), and leaves in linz on Sonday 6:25 AM
1014: [11:55:52] <Pyguhk> lol, midnight :<
1015: [11:55:59] <Zauberfisch> a bit over 150 euro for everything
1016: [11:56:05] <Pyguhk> wow
1017: [11:56:13] <Pyguhk> so much cheaper than I could find
1018: [11:56:15] <Zauberfisch> (no hotel though)
1019: [11:56:21] <Pyguhk> right yeah, but still
1020: [11:56:50] <Zauberfisch> have another one:
1021: [11:57:31] <Zauberfisch> leaves at 16:10 in rome on thursday, return flight on sunday at 6:25
1022: [11:57:35] <Zauberfisch> for about 200 euro
1023: [11:57:44] <Zauberfisch> (flight + bus + train)
1024: [11:58:12] <Zauberfisch> with that you would arrive at 20 o'clock in linz
1025: [11:58:30] <Pyguhk> wows
1026: [11:58:34] <Pyguhk> in time for dinner?
1027: [11:58:37] <Pyguhk> probably not :<
1028: [11:58:38] <Zauberfisch> so you could joins us on thursday for drinks/dinner
1029: [11:58:47] <Pyguhk> I could
1030: [11:58:57] <Zauberfisch> we might start earlier, but I am sure we will be there fore a couple of hours
1031: [12:01:09] <Zauberfisch> ok, might be a bit over 200 actually
1032: [12:01:14] <Zauberfisch> 230 or something
1033: [12:01:18] <Pyguhk> hmm, £205 with Austrian arrive 1745 leave ... oh 15:55, but still, only £205
1034: [12:01:30] <Pyguhk> 1 xstop
1035: [12:01:33] <Pyguhk> vienna
1036: [12:02:21] <Pyguhk> lolwut, fucking... return flight 22h 20m
1037: [12:02:25] <Pyguhk> NOPE
1038: [12:02:54] <Zauberfisch> oh. wait there is a problem with the return flight: it says 6 o'clock in vienna
1039: [12:03:21] <Zauberfisch> meaning you have to get to vienna at 5 in the morning or something
1040: [12:04:28] <Zauberfisch> would thursday noon arrival and sunday afternoon leaving work for you too?
1041: [12:07:40] <Pyguhk> maybe, I'd like to get back to rome a bit earlier, but if that's all there is.
1042: [12:07:51] <Pyguhk> I'm looking too. But it's lunch time now, then meeting.
1043: [12:08:13] <Pyguhk> thanks Zauberfisch :) but probably best to wait, I'll be on tonight at home to look into it.
1044: [12:09:04] * UndefinedOffset has joined #silverstripe
1045: [12:15:12] <Zauberfisch> there is one that leaves in rome at 8:50 AM on thursday and returns to rome at 16:10 on sunday for 250 total
1046: [12:17:58] <Zauberfisch> and one you might be interested in: leave thursday 16:20 in rome and return on SATURDAY at 20:25 for about 270 total
1047: [12:18:16] <Zauberfisch> this way you don't waste the sunday. but you might have to leave the event an hour early
1048: [12:19:44] <wmk> room booked
1049: [12:20:46] * dangerdan quit (Ping timeout: 246 seconds)
1050: [12:24:46] <Zauberfisch> Pyguhk: when searching for a flight, pay attention to the fact that the fast trains only drive during the day
1051: [12:24:54] * wmk quit (Ping timeout: 250 seconds)
1052: [12:24:59] <Zauberfisch> Pyguhk: I think the alst fast train goes at 20:00 or so
1053: [12:25:37] <Zauberfisch> Pyguhk: train vienna > linz: https://westbahn.at/en/timetable/lookup/from/wien-westbahnhof/to/linz/date/2014-10-2
1054: [12:25:49] <Zauberfisch> (ticket can be bought in the train)
1055: [12:26:25] <Zauberfisch> (Vienna == Wien)
1056: [12:31:23] * Colin[pi] quit (Ping timeout: 240 seconds)
1057: [12:38:09] * Shrike_Finland has joined #silverstripe
1058: [12:50:39] * UndefinedOffset quit (Quit: Leaving.)
1059: [12:56:23] * wmk has joined #silverstripe
1060: [13:16:35] * UndefinedOffset has joined #silverstripe
1061: [13:18:37] * Shrike_Finland quit (Quit: Leaving.)
1062: [13:21:58] * effinXPjax has joined #silverstripe
1063: [13:22:12] <effinXPjax> hi everyone
1064: [13:22:31] <effinXPjax> I'm having major problems with pretty much clean install of 3.1.6
1065: [13:22:56] <effinXPjax> only installed module is Subsites
1066: [13:23:19] <effinXPjax> and adding images through WYSIWYG editor just doesn't work
1067: [13:23:37] <effinXPjax> keeps complaining Uncaught TypeError: Cannot read property 'X-Pjax' of undefined LeftAndMain.js?m=1411562999:91
1068: [13:23:54] <effinXPjax> and after save redirects me to /admin/
1069: [13:24:14] <effinXPjax> doesn't matter on which page I was prior to hitting Save
1070: [13:24:27] <effinXPjax> strangely enough, page edit form is still shown
1071: [13:28:41] <effinXPjax> but not saved
1072: [13:32:41] <effinXPjax> anyhelp?
1073: [13:40:17] <Adesso> SOrry..
1074: [13:40:43] <Adesso> for the Q again.. but anybody have that Link to DataObjectPage
1075: [13:41:04] <Adesso> it's a modeule/plugin someone showed me a coupld of days agao
1076: [13:41:08] <Adesso> ago
1077: [13:42:12] <Adesso> found it.. http://www.ssbits.com/tutorials/2010/dataobjects-as-pages-part-1-keeping-it-simple/
1078: [13:51:46] * effinXPjax quit (Ping timeout: 246 seconds)
1079: [14:03:25] * Shrike_Finland has joined #silverstripe
1080: [14:04:09] * scpi has joined #silverstripe
1081: [14:08:10] <Pyguhk> [13:25] <Zauberfisch> (ticket can be bought in the train) :D fantastic
1082: [14:08:48] <Pyguhk> effinXPjax: Y QUIT!?
1083: [14:09:00] <Pyguhk> build & flush mostly.
1084: [14:09:08] <Pyguhk> otheriwse, check that yu have right module version.
1085: [14:09:17] <Pyguhk> beyond that, well you quit already anyway, so ... gl.
1086: [14:09:35] <Pyguhk> Adesso: gawd, no. ssbits is so old and out of date.
1087: [14:09:37] <Pyguhk> don't do it :<
1088: [14:09:44] <Pyguhk> addons.silverstripe.org
1089: [14:09:47] <Pyguhk> do that instead.
1090: [14:10:17] <Adesso> I am reading with caution..
1091: [14:10:31] <Adesso> but I'll stop
1092: [14:10:52] <Adesso> I want to aff the URL functionallity of Page to ma DataObject..
1093: [14:11:01] <Adesso> his version doesn't really look good anyway
1094: [14:11:05] <Adesso> add
1095: [14:11:15] * muskie9 has joined #silverstripe
1096: [14:11:28] <Adesso> so I am trying to get my head arounf it so I can do it Tomorrow
1097: [14:13:30] * zfmf quit ()
1098: [14:14:31] <Zauberfisch> Pyguhk: but be careful. there are different trains, not all of them allow buying it on train. but between vienna and linz almost all do
1099: [14:14:35] <Zauberfisch> or pretty much all
1100: [14:14:50] <Zauberfisch> however, in some there is an extra fee of 3 euro or something
1101: [14:15:58] <Adesso> TextField::create('Author','Author')->setValue($this->currentUserID()) is wrong...
1102: [14:16:31] <Adesso> trying to get the current User ID
1103: [14:16:38] <Adesso> in admin for a Author Field
1104: [14:17:08] <wmk> Pyguhk, Adesso there is also a 3.1 module available, on ssbits is the overall installation instruction
1105: [14:17:09] <Adesso> The Page Object in Question is a DataObject
1106: [14:17:39] <Adesso> ssbits..
1107: [14:17:40] <wmk> Member::currentUserID() ??
1108: [14:17:43] <Adesso> ok let me look there
1109: [14:18:14] <Pyguhk> Adesso: give me a tick and I'll give you some code
1110: [14:20:16] * Adesso knows by now that he is going to have to setup a has_one relation with the Member on the ID
1111: [14:20:26] <Adesso> and and and
1112: [14:20:43] * OxFF1 has joined #silverstripe
1113: [14:21:01] <Adesso> wmk- works ;)
1114: [14:21:09] <wmk> ;)
1115: [14:21:27] <Adesso> Just to get Theoretical bit
1116: [14:21:47] * Adesso just answered his Question before asking it
1117: [14:21:54] <wmk> theo-retical.... /me wonders if it's the same theo like in theology....
1118: [14:22:03] <Adesso> Member exstends DataObject..
1119: [14:22:16] <wmk> yup. Member is also a DataObject
1120: [14:22:23] <wmk> DO = save values in DB
1121: [14:22:31] <Adesso> so DataObject would have no clue about Member ..
1122: [14:22:40] <Adesso> that's the Theo I was talking about :P
1123: [14:23:05] <wmk> the Theo in Theodorant, Theo, der Kaffee?
1124: [14:23:35] * Adesso looks around for sane person ..
1125: [14:23:37] <Adesso> hä
1126: [14:23:52] <Adesso> wmk... you drink to much Coffeee
1127: [14:24:10] <wmk> Adesso, an old Otto joke from the 80s
1128: [14:24:28] * Adesso is not that German ..
1129: [14:24:36] <Adesso> at least I know who Otto is
1130: [14:24:41] <Adesso> Walkes ..
1131: [14:25:11] <wmk> Otto walks? where's he going?
1132: [14:25:55] * Adesso ok.. he is really loosing it now ..
1133: [14:26:08] * Adesso slaps wmk around a bit with a large trout
1134: [14:26:14] <wmk> oh no
1135: [14:26:21] * Adesso has to change his Slap a bit for the next one
1136: [14:30:17] * mento has joined #silverstripe
1137: [14:30:27] * caamic30 has joined #silverstripe
1138: [14:30:47] <Pyguhk> lol dat mirc
1139: [14:31:11] <caamic30> is there a support ticketing module for SS
1140: [14:31:15] <caamic30> ??
1141: [14:31:22] <Pyguhk> nup
1142: [14:31:25] * Adesso thinks he is the only MIRC user here ..
1143: [14:31:30] <Pyguhk> not that I'm aware of
1144: [14:31:38] <Adesso> 7me is a bit oldschool
1145: [14:31:42] <Pyguhk> I know a couple of people have taken stabs at it, but none released afaik
1146: [14:31:48] <Pyguhk> 7!
1147: [14:31:55] <Pyguhk> 7you eh
1148: [14:32:02] * Adesso keeps missing / and it turn to 7
1149: [14:32:15] <Adesso> LOL
1150: [14:32:21] <Adesso> anhow.. gotta run ppl
1151: [14:32:36] <Adesso> catch y'all on the flipside ;)
1152: [14:32:46] <wmk> Adesso, xchat!!!
1153: [14:34:07] * Adesso wonders why it's not current_chat, did you break up ?
1154: [14:34:09] <Adesso> :P
1155: [14:34:45] * OxFF1 quit (Quit: Leaving.)
1156: [14:35:09] <Pyguhk> ha
1157: [14:35:57] * Adesso quit (Quit: EOD)
1158: [14:38:18] * Shrike_Finland quit (Quit: Leaving.)
1159: [14:40:34] * qlex has joined #silverstripe
1160: [14:40:37] * OxFF_ has joined #silverstripe
1161: [14:40:39] * qlex says hi
1162: [14:40:53] <qlex> guys, im trying to get SilverChimp to work
1163: [14:41:09] * mento quit (Quit: Page closed)
1164: [14:41:18] <qlex> even if i provide the correct api key, im getting: You must configure your MailChimp API Key in site settings when trying to create a "new silver chimp subsciption page" type
1165: [14:41:42] <Pyguhk> qlex: build
1166: [14:42:01] <qlex> did that
1167: [14:44:35] <qlex> trying to reinstall
1168: [14:46:35] <Pyguhk> yeah I've not used silverchimp before sorry, that was my first guess since yaml updates aren't processed until build
1169: [14:47:18] <Zauberfisch> silverchip?:O
1170: [14:47:38] * OxFF_ quit (Quit: Leaving)
1171: [14:47:44] <Zauberfisch> qlex: are you coming to linz? I can't remember what you said
1172: [14:48:32] * Spliff has joined #silverstripe
1173: [14:52:00] <Pyguhk> Spliff eh.
1174: [14:52:14] <Spliff> hi!
1175: [14:52:45] <qlex> linz ?
1176: [14:52:57] <Pyguhk> qlex: yes, it's a city in Austria.
1177: [14:52:59] <Spliff> no
1178: [14:53:06] <qlex> no sorry
1179: [14:53:09] <Zauberfisch> :O
1180: [14:53:12] <Zauberfisch> D:
1181: [14:53:14] <Zauberfisch> http://silverstripe-europe.org
1182: [14:53:14] <Pyguhk> you should :)
1183: [14:53:16] <Zauberfisch> :D
1184: [14:53:53] <qlex> i can see
1185: [14:53:55] <qlex> !
1186: [14:55:11] * muskie9 is now known as _muskie9_
1187: [14:55:20] * _muskie9_ is now known as muskie9
1188: [14:55:21] <qlex> hmm, reinstalled, dev/built and still, after config in settings done, im addnew new page"Silver Chiomp Subsciption Page", its' loading loading and then stopping, staying at the same "Add page" screen
1189: [14:55:31] <qlex> with ulr changing to /admin/pages/edit/show/68
1190: [14:55:34] <qlex> and nothing happens
1191: [14:55:36] <qlex> strange
1192: [14:55:51] <Pyguhk> module might be out of date (no maintenance)
1193: [14:56:24] <Zauberfisch> what is this module for anyway?
1194: [14:56:28] <Pyguhk> mailchimp
1195: [14:56:33] <Zauberfisch> just mailchimp signup or more than that?
1196: [14:56:37] <Pyguhk> idk
1197: [14:56:48] <Pyguhk> I think it gives access to reports too
1198: [14:56:49] <Zauberfisch> why not just build a form yourself and send the submitted data via the api?
1199: [14:56:52] <Pyguhk> in admin
1200: [14:57:02] <Zauberfisch> ah. access to reports is a whole different story
1201: [14:57:17] <Pyguhk> but iirc it's an old module. Not sure if it'll work with 3.1
1202: [14:57:29] <Pyguhk> but I could be wrong.
1203: [14:58:02] <Pyguhk> I've never used it. We used Campaign Monitor at my old job, and we never built a module for it (I got paid to make websites, not modules)
1204: [15:01:35] * StefanLehmann has joined #silverstripe
1205: [15:04:01] <qlex> Zauberfisch: of course, we can build own form
1206: [15:04:13] <qlex> but why if there's a module for that (which was tested before)
1207: [15:04:22] <qlex> i only need subscription form
1208: [15:07:18] * kerosene has joined #silverstripe
1209: [15:08:12] * StefanLehmann quit (Ping timeout: 245 seconds)
1210: [15:19:01] * Spliff quit (Ping timeout: 258 seconds)
1211: [15:30:31] <qlex> no ideas what's breaking this module ?
1212: [15:33:38] * oetiker quit (Remote host closed the connection)
1213: [15:38:47] * anselmdk quit (Quit: anselmdk)
1214: [15:40:28] * lerni quit (Remote host closed the connection)
1215: [15:40:57] * jenniferaslan has joined #silverstripe
1216: [15:42:05] <Zauberfisch> qlex: if you ask me, in the silverstripe world you don't say "why build it yourself if there is a module"
1217: [15:42:17] <Zauberfisch> the question always is: "why use a module if I can build it myself" :P
1218: [15:42:46] <Zauberfisch> in my experiance, the most things I have built myself faster than others can install and confugre some weird module
1219: [15:43:37] * Shrike_Finland has joined #silverstripe
1220: [15:44:47] * oetiker has joined #silverstripe
1221: [15:51:54] <qlex> Zauberfisch: that's true, we will work on our own implementation
1222: [15:52:08] <qlex> i probably needed some incouragement :)
1223: [15:53:39] <Zauberfisch> hold on a second
1224: [15:53:51] <Zauberfisch> I think I actually make a gist or paste of my snippet just the other day
1225: [15:56:07] <Zauberfisch> Anselm_: ping
1226: [15:56:10] <Zauberfisch> you there?
1227: [15:56:19] <Zauberfisch> I think I sent you that link, didn't i?
1228: [15:57:31] * oetiker quit (Remote host closed the connection)
1229: [15:57:46] * oetiker has joined #silverstripe
1230: [15:58:09] * oetiker quit (Remote host closed the connection)
1231: [15:58:17] * oetiker has joined #silverstripe
1232: [15:58:59] <qlex> ?
1233: [16:00:06] * Shrike_Finland quit (Quit: Leaving.)
1234: [16:08:39] <wmk> is there a "onDuplicate" hook i can use in DataExtensions?
1235: [16:13:09] * Shrike_Finland has joined #silverstripe
1236: [16:14:48] <Pyguhk> [16:04] <qlex> i only need subscription form
1237: [16:15:00] <Pyguhk> I think mailchimp give you a code to do that without any module, no?
1238: [16:15:22] <Pyguhk> [16:42] <Zauberfisch> in my experiance, the most things I have built myself faster than others can install and confugre some weird module
1239: [16:15:41] <Pyguhk> This is because most people make modules as if it were a one stop solution... and they never EVER are.
1240: [16:15:55] <Pyguhk> ie, the drupal, j-word or wordderp solution. Plugin, DONE
1241: [16:16:22] <wmk> if it's ok out of the box.... but most of the time it isn't
1242: [16:16:36] <Pyguhk> where as it's almost always more of a 90% solution, other 10% you spend faffing around with random badly written code trying to make it work while not hacking core module... urgh.
1243: [16:16:51] <wmk> hehe.
1244: [16:16:52] * Spliff has joined #silverstripe
1245: [16:16:52] <Pyguhk> in short, I think that people fundamentally think about and make modules wrong.
1246: [16:17:17] <Pyguhk> My modules are made differently. And if I wasn't so f'n lazy y;all could take a look and call me a hypocrite. but I'm lazy.
1247: [16:17:21] <Pyguhk> except...
1248: [16:17:23] <wmk> Pyguhk, a how-to-write-a-good-module-tutorial would be great
1249: [16:17:40] * Pyguhk uses the last 10 mins of work to actually publish a 'sort of' module
1250: [16:18:17] <wmk> but i think it needs a good knowledge of architecture basics and programming to write a good, really modular module
1251: [16:25:59] * effortDee quit (Read error: Connection reset by peer)
1252: [16:26:21] * kinglozzer quit ()
1253: [16:26:32] <Pyguhk> wmk: well, OOAD
1254: [16:26:50] <Pyguhk> yeah, sure. That's also a major issue, any old chap can make a module.
1255: [16:27:03] <qlex> Pyguhk: yes,it does give code, but i still have to create a new pagetype forthat (as i probably cant use the code in wysiwyg editor html editor directly
1256: [16:27:06] <Pyguhk> that's how you end up with things like the j-word, where you have 3212467812351957123957 gallery modules.
1257: [16:27:11] <Pyguhk> because no one checks the registry first.
1258: [16:27:30] <Pyguhk> qlex: yeah, so just make a page type and put that code into the template :>
1259: [16:27:53] <Pyguhk> it's what I used to do with campaign monitor
1260: [16:27:56] <Pyguhk> actually...
1261: [16:28:32] <wmk> what's wrong with a new page type? just try to hide it in "create new pages" menu
1262: [16:29:08] <Pyguhk> or, if it goes in the footer or something, just use an include or something
1263: [16:31:26] * stnvh quit ()
1264: [16:33:43] <Pyguhk> qlex: wmk this is a solution I used to use for simple Campaign Monitor signup forms.
1265: [16:33:44] <Pyguhk> http://sspaste.com/paste/show/5422ed68b2675
1266: [16:34:05] <Pyguhk> ah fuck, didn't edit out domain properly :<
1267: [16:34:09] <Pyguhk> oh well, you get the idea.
1268: [16:34:50] <Pyguhk> wmk: check out that repository (well the user) with the intro talk again
1269: [16:34:54] <qlex> Pyguhk: i did that, and unfortunately, it sees the form, but it doesnt see the button
1270: [16:35:01] <Pyguhk> :<
1271: [16:35:15] <Pyguhk> sorry qlex, i've never used mailchimp before
1272: [16:35:19] * Otterpocket quit (Quit: WeeChat 0.4.1)
1273: [16:35:20] <Pyguhk> and I've gotta go home!
1274: [16:35:23] * Pyguhk quit ()
1275: [16:35:43] <qlex> thankx
1276: [16:35:48] <qlex> it should get me started
1277: [16:44:09] * qlex has left #silverstripe
1278: [16:47:40] <Shrike_Finland> Hi, how can I add onClick="foo" on form action? FormAction::create("doDomainSearch")->setTitle("Search")
1279: [16:51:16] * lerni has joined #silverstripe
1280: [16:53:39] * Spliff quit (Quit: Leaving)
1281: [16:55:30] * lerni quit (Ping timeout: 246 seconds)
1282: [16:57:52] * deschebbs quit (Quit: User terminated!)
1283: [17:05:13] * jenniferaslan quit (Quit: jenniferaslan has left the room)
1284: [17:06:09] * Shrike_Finland quit (Quit: Leaving.)
1285: [17:09:35] * jenniferaslan has joined #silverstripe
1286: [17:13:55] * wmk quit (Ping timeout: 272 seconds)
1287: [17:19:33] * babak quit (Quit: Connection closed for inactivity)
1288: [17:26:58] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
1289: [17:30:46] * Shrike_Finland has joined #silverstripe
1290: [17:47:45] * Shrike_Finland quit (Quit: Leaving.)
1291: [17:50:06] * Shrike_Finland has joined #silverstripe
1292: [17:58:38] * muskie9 has joined #silverstripe
1293: [18:08:35] * CodeTrap1 quit (Quit: CodeTrap1)
1294: [18:14:30] * wmk has joined #silverstripe
1295: [18:22:21] * lerni_ has joined #silverstripe
1296: [19:17:51] * nightjar has joined #silverstripe
1297: [19:22:12] <nightjar> HURRO SEXY PEOPLES
1298: [19:23:45] <wmk> ?
1299: [19:23:56] <nightjar> Hello wmk.
1300: [19:24:07] <nightjar> I released a module
1301: [19:24:11] <nightjar> ... kinda.
1302: [19:24:12] <wmk> hey. how do you know...?
1303: [19:24:32] <nightjar> I do not I guess, but I hope to find out.
1304: [19:24:40] <nightjar> one day
1305: [19:24:40] <wmk> lol
1306: [19:24:55] <wmk> ok. a module. cool. where can i find it?
1307: [19:25:09] <nightjar> gitub
1308: [19:25:28] <wmk> no composer yet?
1309: [19:25:42] <nightjar> it needs more work I think.
1310: [19:26:01] <nightjar> but it is in a working state, and because I'm so lazy it's time I put it up. Or it will never get there.
1311: [19:26:05] <wmk> tell me a module that doesn't need more work
1312: [19:26:34] <wmk> hey, releasing is the only chance to get the work done by others.
1313: [19:26:43] <wmk> at least if the module is worth the effort *G*
1314: [19:26:50] <wmk> </blasphemy>
1315: [19:26:52] <nightjar> No, my code is too good for others to mess up. But I want people to use it :P
1316: [19:27:20] <wmk> so, why should i use this module?
1317: [19:27:26] <nightjar> because you want it.
1318: [19:27:28] <wmk> will it make the pages sexier?
1319: [19:27:36] <nightjar> yes
1320: [19:27:44] <wmk> will it pay the fees?
1321: [19:27:52] <nightjar> perhaps.
1322: [19:28:14] <wmk> wash the dishes? make coffee?
1323: [19:28:23] <nightjar> Depends on how you use it I guess.
1324: [19:28:28] <wmk> hmm...
1325: [19:28:37] <nightjar> the faster you make site, the more you get paid for it, the more time you have to do dishes.
1326: [19:28:38] <wmk> well, we could use our modules vice versa
1327: [19:28:52] <wmk> hey, i want your module to do my dishes!
1328: [19:28:55] <nightjar> http://github.com/nightjar/silverstripe-slug
1329: [19:29:09] <nightjar> I have not written a test for this. It might do.
1330: [19:29:25] <nightjar> but i have not tried it for this usecase.
1331: [19:29:29] <wmk> nightjar, is this your evening nick?
1332: [19:29:40] <nightjar> It is my phantom nick.
1333: [19:29:57] <wmk> could it be possible you have another nick during day?
1334: [19:30:06] * Colin[pi] has joined #silverstripe
1335: [19:30:08] <nightjar> For when I want to be stealthy or nice.
1336: [19:31:00] * Pyromanik has joined #silverstripe
1337: [19:31:04] <Pyromanik> maybe.
1338: [19:31:20] <Pyromanik> Good morning Colin[pi]
1339: [19:31:33] <wmk> hey Pyromanik, deja vu?
1340: [19:31:45] <Pyromanik> Heya wmk :)
1341: [19:32:07] * wmk just thought this module idea was discussed today
1342: [19:32:42] <nightjar> Good, so I'm right on time :D
1343: [19:34:14] <wmk> but why another term "URLSlug" instead of just URLSegment which is used by SS
1344: [19:34:30] <nightjar> people call it a slug too.
1345: [19:35:17] <wmk> yup, have seen it in tutorials.
1346: [19:35:48] <nightjar> I need to write more code, docs & readme, etc.
1347: [19:35:58] <wmk> IMHO you need a README.md and i'd go an do the controller stuff also as an extension
1348: [19:35:59] <nightjar> Then it will be 'official' and I will find out how to composer it.
1349: [19:36:10] <wmk> composter is quite easy
1350: [19:36:14] <nightjar> yes, exactly my thoughts wmk :)
1351: [19:36:24] <nightjar> ROFL '
1352: [19:36:26] <wmk> composer.json, register on packagist, register github hook
1353: [19:36:28] <nightjar> 'composter'
1354: [19:36:29] <nightjar> hahaha
1355: [19:36:36] <Shrike_Finland> Hi, can someone look at this: how I can use submit button to activate javascript for returning results? http://www.sspaste.com/paste/show/542317d06518d
1356: [19:37:06] <nightjar> http://google.com/search?q=composter
1357: [19:37:08] <nightjar> xD
1358: [19:37:26] <nightjar> Shrike_Finland, add and event listener for 'onsubmit'
1359: [19:37:39] <nightjar> launch your XHR, return false.
1360: [19:37:54] <wmk> nightjar, yup, same word over here
1361: [19:38:07] <Shrike_Finland> any good example, how to do it?
1362: [19:38:10] <wmk> guess both, composer and composter have latin roots
1363: [19:39:12] <wmk> Shrike_Finland, http://api.jquery.com/submit/ ??
1364: [19:39:27] <nightjar> Shrike_Finland, well... if you're using jQuery: $('form').submit(function(){$.post(this.action, $(this).serialize());return false})
1365: [19:39:45] <nightjar> otherwise you'll need to look at MDN
1366: [19:39:47] <nightjar> :)
1367: [19:40:02] <Shrike_Finland> Ah!
1368: [19:40:11] <wmk> nightjar, and it needs _t() function... and.. why do you have your own method for generating labels?
1369: [19:40:12] <nightjar> as it is too long to ... type out from memory
1370: [19:40:25] <nightjar> wmk, do I?
1371: [19:40:31] <nightjar> I wrote this a year ago :<
1372: [19:40:34] <nightjar> I don't remember
1373: [19:40:35] <wmk> ;)
1374: [19:40:44] <wmk> read your code ;)
1375: [19:41:14] <nightjar> need to do this with all my code realy.
1376: [19:41:31] <nightjar> It is all over a year old.
1377: [19:41:36] <wmk> yup. write, learn, refactor, repeat
1378: [19:42:41] <nightjar> Well, most of it is pretty sound. Just needs a damn good tidy (old company references and things removed).
1379: [19:43:20] <nightjar> plus in some cases it's more a case of configuration options rather than refactoring. Except that I'm useless at _t because English in reasonably isolated English speaking country...
1380: [19:44:14] <nightjar> but then some features have advanced too in time. So I should probably namespace the modules, etc.
1381: [19:44:51] <nightjar> but right now it's time for fish and salad
1382: [19:44:53] <nightjar> :>
1383: [19:46:11] <wmk> of course.
1384: [19:46:22] <wmk> _t() is important if you want us to use your module.
1385: [19:46:55] <wmk> i can do the basic implementation but you'd have to register at transifex
1386: [19:48:57] <nightjar> yeah, I know how to... I just never really bothered to before.
1387: [19:48:59] <nightjar> :)
1388: [19:49:10] <nightjar> bbl, eating :)
1389: [19:57:16] * anselmdk has joined #silverstripe
1390: [19:57:31] * anselmdk quit (Client Quit)
1391: [20:04:34] * UncleCheese has joined #silverstripe
1392: [20:12:11] * Stomach has joined #silverstripe
1393: [20:13:49] * r_hector quit (Quit: Leaving.)
1394: [20:14:54] * Kingy[a] is now known as Kingy
1395: [20:15:34] * r_hector has joined #silverstripe
1396: [20:21:59] * UndefinedOffset quit (Quit: Leaving.)
1397: [20:26:11] * jedateach has joined #silverstripe
1398: [20:28:42] * Shrike_Finland quit (Quit: Leaving.)
1399: [20:28:50] <Kingy> morning
1400: [20:28:59] <Pyromanik> kia ora
1401: [20:29:12] * UncleCheese quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
1402: [20:33:22] * Ryan-Toast has joined #silverstripe
1403: [20:40:40] <Ryan-Toast> Feels like spring today.,
1404: [20:40:57] <Kingy> Ryan-Toast: summer even. Was 22deg at home yesterday
1405: [20:43:30] <Ryan-Toast> Kingy: I need to go to the gym more. My body is not ready.
1406: [20:44:54] <Kingy> Haha yeah. Work are doing a biggest loser challenge at the moment so i joined in
1407: [20:44:59] <Kingy> 4.4kg in 3 weeks
1408: [20:45:03] <Kingy> currently leading
1409: [20:45:13] <Kingy> tis a great motivator
1410: [20:46:16] <Pyromanik> losing weight easy, keeping off hard!
1411: [20:46:45] <Pyromanik> tbh I'd be happy to put 4.4Kg on though.
1412: [20:46:50] <Pyromanik> Of muscle!
1413: [20:49:13] <Kingy> Well yeah, that's the problem
1414: [20:49:34] <Kingy> all I'm doing is cardio/dieting to drop weight
1415: [20:49:42] <Kingy> should really think about doing some weights
1416: [20:53:55] <Pyromanik> nah, and yeah.
1417: [20:53:56] <Pyromanik> yeah nah.
1418: [20:54:05] <Pyromanik> When I was young, I did no weights.
1419: [20:54:07] <Pyromanik> No interest.
1420: [20:54:12] <Pyromanik> Still managed to abs and all that.
1421: [20:54:19] <Pyromanik> ran like a nutter though.
1422: [20:54:23] <Pyromanik> 'coz 18.
1423: [20:55:03] <Pyromanik> I don't like weights because generally it means joining a gym. I don't believe in gyms.
1424: [20:55:54] <Pyromanik> Self motivation is what it takes. You need that to go to the gym. And if you're self motivated, it shouldn't matter whether you have gym or not. So join gym no motivation, waste of money. Join gym with motivation, dno't need gym to work out, waste of money.
1425: [20:56:08] <Kingy> yeah
1426: [20:56:13] <Kingy> I have a gym membership for winter
1427: [20:56:19] <Pyromanik> but if you're really into weights and don't have your own... I can see the benefit in that I guess.
1428: [20:56:29] <Pyromanik> also, running in winter is best time to run. No stupid heat slowing you down.
1429: [20:56:34] <Pyromanik> :D
1430: [20:58:00] <Kingy> yeah I quite like running in the rain and on cool fresh mornings
1431: [20:58:21] <Kingy> but in the absolutely cold driving wind (which is all we bloody get) it's kinda hard to walk out the door
1432: [20:59:04] <Pyromanik> Oh, you're in wlg?
1433: [20:59:24] <Kingy> and masterton
1434: [20:59:54] <Pyromanik> so in the 2 places where it's either windy all the time and coming off the alps, or is sheltered on all sides except where the wind comes from the alps.
1435: [20:59:55] <Pyromanik> good one.
1436: [20:59:56] <Pyromanik> lol
1437: [21:00:24] <Kingy> yes haha
1438: [21:00:32] <Kingy> or no wind and stupidly hot
1439: [21:03:32] * scpi quit (Quit: naptime)
1440: [21:03:38] * Ryan-Toast quit (Quit: Ryan-Toast)
1441: [21:11:16] * travis-ci has joined #silverstripe
1442: [21:11:17] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#3371 (3.1 - 1d219aa : Will Rossiter): The build passed.
1443: [21:11:17] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/6d12cf372ef4...1d219aad7cab
1444: [21:11:17] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/36194491
1445: [21:11:17] * travis-ci has left #silverstripe
1446: [21:14:53] * micmania1 has joined #silverstripe
1447: [21:15:53] * Ryan-Toast has joined #silverstripe
1448: [21:16:24] <Ryan-Toast> Pyromanik: Only 4.4kgs? You don’t want to be a swolemonster?
1449: [21:17:25] <Pyromanik> a what?
1450: [21:18:20] <Stomach> http://iconosquare.com/p/396286305810163404_227487728
1451: [21:21:05] <Pyromanik> wut
1452: [21:24:51] <Stomach> exactly.
1453: [21:25:42] <Pyromanik> I don't even.
1454: [21:26:36] * Olliepop has joined #silverstripe
1455: [21:27:46] <Ryan-Toast> Pyro: Everyone be mirin the swolemonster gains.
1456: [21:28:13] <Pyromanik> I was a sexy bitch once.
1457: [21:28:18] * UncleCheese has joined #silverstripe
1458: [21:30:47] * r_hector has left #silverstripe
1459: [21:31:27] <Stomach> I don't think I've ever been sexy
1460: [21:31:38] <UncleCheese> silverstripe?
1461: [21:31:45] <Stomach> hi UncleCheese :D
1462: [21:32:08] <UncleCheese> sorry, i have my IRC client set up to ping me any time it sees the word "sexy"
1463: [21:32:19] <wmk> Stomach, who isn't sexy?
1464: [21:32:27] <Ryan-Toast> Pyromanik: I don’t know how I kept the ladies off of me: http://i.imgur.com/FutgGbr.jpg
1465: [21:32:30] <Kingy> rofl UncleCheese
1466: [21:33:01] <UncleCheese> Ryan-Toast bus at the Chch airport?
1467: [21:33:21] <Ryan-Toast> UncleCheese: Nah, we hired a truck and drove from Auckland to Wellington for the 7s
1468: [21:33:27] <UncleCheese> whoa
1469: [21:33:45] <UncleCheese> i don't get fired up until they get into the 5s
1470: [21:34:36] <Pyromanik> wait Ryan-Toast... you're in CHC?
1471: [21:34:41] <Ryan-Toast> Pyromanik: No, lol
1472: [21:34:43] <Ryan-Toast> Auckland.
1473: [21:34:52] <Ryan-Toast> Unclecheese: Said truck: http://i.imgur.com/0chxEoc.jpg
1474: [21:34:57] <Pyromanik> dafuq is that picture then, and why does UC think it's a CHC bus?
1475: [21:35:24] <Pyromanik> geeze, that's one hell of a truck! :D
1476: [21:35:43] <Ryan-Toast> I Yeah it was perfect.
1477: [21:36:08] <Ryan-Toast> We didn’t really pla ahaead and started drinking at about 9am and has to stop every ten minutes so people could piss… took forever to get there.
1478: [21:36:16] * willr has joined #silverstripe
1479: [21:36:56] <UncleCheese> i heard they play rugby at the 7s
1480: [21:37:06] <Pyromanik> ha! donb't be daft.
1481: [21:37:16] <Pyromanik> it's a drss up and piss up competiton
1482: [21:37:19] <Ryan-Toast> UncleCheese:is that what that background noise is?
1483: [21:37:39] <Ryan-Toast> So glad there’s the 9s now, don’t have to drivve for 6 hours.
1484: [21:45:35] <Stomach> 6 hours to wellington? you must be fucking motoring it
1485: [21:46:22] <Pyromanik> heh, yeh.
1486: [21:46:37] <Ryan-Toast> Stomach: Halfway through Shift atm, so good.
1487: [21:46:38] <Pyromanik> 3 to Taupo from Palmy, which is an hour away...
1488: [21:47:03] <Stomach> Ryan-Toast - :D i need to update my good reads list
1489: [21:47:14] <Stomach> finally finished Atlas Shrugged on Monday night
1490: [21:47:17] <Pyromanik> or is it 2... yeah 2. So 3 to Taupo... 1.5 to hamilton, 2 to akl... still over 6.
1491: [21:47:19] <Stomach> what a mission that was
1492: [21:47:23] <Ryan-Toast> Stomach: Hmm, more like and a half hours
1493: [21:47:28] <Stomach> Pyromanik - its 650km
1494: [21:47:37] <Pyromanik> yeah, but not all at 100Km/h
1495: [21:47:48] <Ryan-Toast> And you have to stop for food
1496: [21:47:53] <Pyromanik> factor in piss breaks every 10 mins...
1497: [21:47:58] <Stomach> Palmy to Wellington is only an hour if you're Lundy
1498: [21:48:06] <Pyromanik> haha, true.
1499: [21:48:14] <Pyromanik> I forget, I don't do that leg too often.
1500: [21:48:17] <Pyromanik> it's 1.5 iirc
1501: [21:48:25] <Stomach> yeah, pretty much
1502: [21:48:26] <Ryan-Toast> Pyromanik: and stopping at every landmark for a photo because you’re pretty chopped, in a truck that doesn’t really go 100k/h
1503: [21:48:40] <Pyromanik> 3.5 from the 'naki, 2 to palmy (that leg often).
1504: [21:48:50] <Ryan-Toast> If I have to go to welly I fly now, because fuck that noise.
1505: [21:49:01] <Pyromanik> fuck that noise indeed.
1506: [21:49:18] <Pyromanik> if I'm travelling car, you better believe it's because I'm in the right island and I need the car.
1507: [21:49:42] <Pyromanik> Aeroplane so much gooder
1508: [21:50:10] <Ryan-Toast> Drove to palmy to pick up a car I brought. Blew the turbo halfway aback up.
1509: [21:50:14] <Stomach> yeah having the car at the place is so much better
1510: [21:50:15] <Ryan-Toast> tyhat was fun.
1511: [21:50:32] <Stomach> but getting there sucks
1512: [21:50:48] <Stomach> I can't even imagine being in LA and being like "oh I need to go to New York for the weekend" though
1513: [21:50:50] <Stomach> fuck that
1514: [21:57:53] <Pyromanik> yeah well that's flying across the entire continent though, heh
1515: [22:04:26] <Zauberfisch> who was it that was setting up a private packagist server?
1516: [22:04:29] <Zauberfisch> micmania1: you?
1517: [22:13:00] * Phlunk3 has joined #silverstripe
1518: [22:19:47] <Stomach> Zauberfisch - we have one
1519: [22:20:09] <Stomach> using https://github.com/composer/satis
1520: [22:27:54] <UncleCheese> how do you like... squash commits?
1521: [22:28:12] <UncleCheese> so, i have something like:
1522: [22:28:26] <UncleCheese> git merge feature/lots-of-fucking-commits-in-here master
1523: [22:28:50] <UncleCheese> and i want to squash that into just "merged features/lots-of-fucking-commits-in-here"
1524: [22:29:12] <Pyromanik> committing guide has example/!
1525: [22:29:13] <Stomach> git rebase -i HEAD ~<number>
1526: [22:29:18] <UncleCheese> ugh
1527: [22:29:23] <UncleCheese> rebase is the devil
1528: [22:29:29] <Stomach> http://gitready.com/advanced/2009/02/10/squashing-commits-with-rebase.html
1529: [22:29:32] <Ryan-Toast> We’re dog sitting at our work. It’s been two days and we’ve lost her.
1530: [22:29:40] <Pyromanik> also arn't there like... 20 people around you that you could aks in person?
1531: [22:30:13] <Pyromanik> areet, bed time.
1532: [22:30:14] <Pyromanik> ciao
1533: [22:30:22] <Stomach> or here UncleCheese - http://doc.silverstripe.org/framework/en/trunk/misc/contributing/code
1534: [22:35:19] * lerni_ quit (Remote host closed the connection)
1535: [22:37:39] * nightjar has left #silverstripe
1536: [22:40:14] * wmk quit (Ping timeout: 258 seconds)
1537: [22:40:57] <Olliepop> Anyone had any negative experiences with subsites?
1538: [22:41:17] <Zauberfisch> you should ask the other way around
1539: [22:41:31] <Zauberfisch> Anyone had any positive experiences with subsites?
1540: [22:42:07] <Zauberfisch> I for one did not. but has been over a year since I last tried it
1541: [22:42:16] <Zauberfisch> Stomach: nice
1542: [22:42:47] <Olliepop> Have seen some successful subsite examples already, want to know if anyone has any particular words of caution :)
1543: [22:42:57] <Olliepop> would rather learn from others mistakes than trip up on my own haha
1544: [22:43:00] <Stomach> adrexia, spronk - wanna weigh in? :D
1545: [22:43:40] <Kingy> spronk: you're wanted
1546: [22:43:53] * muskie9 is now known as _muskie9_
1547: [22:43:53] * _muskie9_ quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
1548: [22:44:07] <Kingy> Olliepop: next time ss23 is in, it's probably a good idea to remind him to update the docs
1549: [22:44:14] <Kingy> :)
1550: [22:44:22] <Zauberfisch> Stomach: hmmm, so I would set up my own git server, put the project there, point composer to satis and the projects listed on satis point to my own git server?
1551: [22:44:38] <Stomach> Zauberfisch - or you can use github, bitbucket, whatever
1552: [22:44:47] <Kingy> ^
1553: [22:44:51] <Olliepop> Kingy: Noted!
1554: [22:44:54] <Zauberfisch> the reason I am asking is I wamt to provide a local download server for the silverstripe europe meetup
1555: [22:45:16] <Stomach> you can set up satis to point to the official repos
1556: [22:45:17] <Zauberfisch> because we have limited bandwith there, and I want common files to be downloaded from a local server
1557: [22:45:31] <Stomach> and just have it store tarballs of the releases
1558: [22:45:32] <Zauberfisch> but I guess it would actually be better to setup a cache server
1559: [22:45:48] <Stomach> then point composer at your local satis server, and it will do it automagically
1560: [22:46:05] <Zauberfisch> and then tell it to pre cache the most commong things like framework and cms
1561: [22:46:36] <ss23> Kingy: i kill u
1562: [22:46:42] <Stomach> yeah that would probably be better - especially for people who dont know composer, adding in the extra requirement of pointing at another server could be confusing
1563: [22:46:43] <Zauberfisch> hahahaha
1564: [22:47:29] <Zauberfisch> thanks for the talk. and nice to know satis. I might set that up for our company actually. but for the event I'll probably go with a cache server if I have the time to properly set it up or a plain download page if not
1565: [22:47:41] <Zauberfisch> weird that I didn't think of a cache proxy before
1566: [22:48:02] <Zauberfisch> Stomach: yeah. don't want to confuse people to much
1567: [22:48:57] <Stomach> yeah having one for the company is handy - we use it to point at all of our private repo forks etc, as well as internal only modules and whatnot
1568: [22:49:10] <Stomach> it also speeds up installs a lot, because its on a local network
1569: [22:52:45] * Azure quit (Max SendQ exceeded)
1570: [22:53:49] <Kingy> ss23: ahaha
1571: [22:53:53] * Azure has joined #silverstripe
1572: [22:54:40] <Olliepop> This is very cool for the gvt https://www.cwp.govt.nz/
1573: [22:55:06] <Zauberfisch> Olliepop: but I agree with Kingy. I think its fair to say that ss23 is responsible for any and all enqueries regarding subsites
1574: [22:58:19] <simon_w|work> Oh ansible, much <3
1575: [23:04:21] * simon_w|work is no longer vulnerable to that bash hack
1576: [23:05:53] * lerni has joined #silverstripe
1577: [23:08:54] <Zauberfisch> bash hack? :O
1578: [23:09:14] <Stomach> sounds like a crappy thriller
1579: [23:09:25] <Kolin> Zauberfisch: Close that mouth the bash hack may get you!
1580: [23:09:55] <Zauberfisch> lol
1581: [23:10:19] <simon_w|work> https://access.redhat.com/node/1200223
1582: [23:10:35] <Kolin> I hope you've brushed your teeth now!
1583: [23:11:22] <Zauberfisch> oh
1584: [23:11:23] <Zauberfisch> holy shit
1585: [23:11:43] <Zauberfisch> I acutally have 2 physical servers running centos
1586: [23:12:53] <Kolin> :/
1587: [23:14:49] <simon_w|work> Zauberfisch, it's for all OSs
1588: [23:16:40] <Stomach> yeah I just checked a few of our boxes and they all have it
1589: [23:16:49] <Zauberfisch> yeah, just saw the same thing
1590: [23:17:01] <Zauberfisch> oh, this is even bigger than I already thought
1591: [23:17:05] <simon_w|work> One ansible command, and all my boxes are fixed
1592: [23:17:09] * macka^ has joined #silverstripe
1593: [23:17:46] <macka^> Does Security_login.ss override all the $LoginForm template variables?!
1594: [23:18:07] <simon_w|work> macka^, the form's just in $Form
1595: [23:18:43] * lerni quit (Ping timeout: 272 seconds)
1596: [23:18:47] <macka^> So if i have a security_login.ss - then i should use $form on my template
1597: [23:18:50] <macka^> that's how i understand it
1598: [23:19:02] <Colin[pi]> moin moin
1599: [23:19:12] <simon_w|work> macka^, yes
1600: [23:19:17] <macka^> dpesm'
1601: [23:19:21] <macka^> oops
1602: [23:19:25] <simon_w|work> Though, with correct case
1603: [23:19:30] <Stomach> $fOrm
1604: [23:19:34] <macka^> Doesn't seem to work.
1605: [23:19:50] <macka^> just outputs nothing.
1606: [23:20:09] <Stomach> is your file called Security_login.ss and inside templates/Layout
1607: [23:20:29] <macka^> Stomach: Yep - i put it in my theme template in that spot
1608: [23:20:42] <Stomach> have you done a flush
1609: [23:20:55] <simon_w|work> macka^, do you have a $Content as well?
1610: [23:21:03] <macka^> it works on the login/logout link i put on my site, but not when used with $currentMember on the template
1611: [23:21:21] <macka^> Nope?
1612: [23:21:48] <Ryan-Toast> Made this for my designer: https://i.imgur.com/jN5HDWe.jpg
1613: [23:22:43] <madmatt> simon_w|work: Sure, except that the bug isn't properly fixed yet, yay
1614: [23:23:07] <Colin[pi]> Ryan-Toast: idgi
1615: [23:23:31] <Ryan-Toast> Colin[pi]: https://www.youtube.com/watch?v=PaghIdSJKvQ
1616: [23:23:35] <macka^> simon_w|work: so - i added $Content as well to it, no dice
1617: [23:24:03] <simon_w|work> madmatt, source?
1618: [23:24:59] <madmatt> simon_w|work: https://twitter.com/taviso/status/514887394294652929
1619: [23:25:28] <madmatt> Still waiting for smarter people than I to confirm RCE
1620: [23:27:48] <simon_w|work> I get "Not allowed command" when trying to get that to run through my git user
1621: [23:28:01] <Colin[pi]> Ryan-Toast: lol
1622: [23:28:11] <Ryan-Toast> Colin[pi]: Great vid, right?
1623: [23:28:17] <Colin[pi]> and so true
1624: [23:28:44] <Ryan-Toast> “I donr’t mean to get so emotional, it’s a pisces thing"
1625: [23:28:53] <simon_w|work> macka^, can you pastie your template?
1626: [23:30:03] * nickmolhoek has joined #silverstripe
1627: [23:30:09] * nickmolhoek quit (Client Quit)
1628: [23:30:18] <Ryan-Toast> Colin[pi]: how did your CMS theme go?
1629: [23:30:29] <Colin[pi]> Ryan-Toast: WIP.. got distracted by paid work :P
1630: [23:30:38] <Ryan-Toast> Colin[pi]: :P
1631: [23:31:08] <Colin[pi]> also Patrick Warburton is awesome
1632: [23:31:23] <Colin[pi]> love that guy's voice
1633: [23:32:18] <macka^> simon_w|work: http://pastebin.com/VaZw1rH5
1634: [23:32:27] <Blacklite> hey, i've got a quick question about SS templating again
1635: [23:32:56] <Blacklite> i've got this in my model:
1636: [23:32:56] <Blacklite> protected function getFilterLink($category = null, $tag = null, $monthYear = null)
1637: [23:33:12] <Blacklite> how can i call this function from within a <% control %> loop
1638: [23:33:29] <Blacklite> e.g. <li class="active"><a href="$getFilterLink($ID)">$Category</a></li>
1639: [23:35:09] <simon_w|work> macka^, you've got an <% if %>, <% end_if %> then an <% else %>. That's a syntax error
1640: [23:35:42] <simon_w|work> Blacklite, you won't be able to call a protected method at all, and you probably want $Top.getFilterLink($ID)
1641: [23:35:59] <Blacklite> ok
1642: [23:37:21] <Blacklite> i've changed it to public and now my template code is this:
1643: [23:37:21] <Blacklite> <li class="active"><a href="$Top.getFilterLink($ID)">$Category</a></li>
1644: [23:37:38] <Blacklite> but it's generating a syntax error
1645: [23:38:10] <simon_w|work> Blacklite, which is?
1646: [23:38:18] <Blacklite> HP Parse error: syntax error, unexpected T_STRING, expecting ')'
1647: [23:38:25] <macka^> Thanks simon_w|work - will check that .. might have been a copy paste error on my part
1648: [23:38:25] <Blacklite> PHP Parse error: syntax error, unexpected T_STRING, expecting ')'
1649: [23:38:38] <simon_w|work> Blacklite, are you on 2.4?
1650: [23:38:41] <Blacklite> yep
1651: [23:38:47] <simon_w|work> Then this won't work
1652: [23:39:01] <Blacklite> is there absolutely no way to make this work?
1653: [23:39:09] <simon_w|work> Upgrade :p
1654: [23:39:22] <Blacklite> yeah i'll just convince the client to spend $50k lol
1655: [23:39:24] <Olliepop> Ryan-Toast: THAT'S AWESOME
1656: [23:39:37] <Olliepop> the wallpaper haha
1657: [23:39:56] <Ryan-Toast> Olliepop: Cheers :P
1658: [23:40:26] <Blacklite> surely there is some way to echo the output of a function in SS 2.4 templates?
1659: [23:40:29] <simon_w|work> Blacklite, 2.4 only supports passing literals and only in some cases
1660: [23:41:14] <Blacklite> ah ok
1661: [23:41:18] <Colin[pi]> Blacklite: just make a method on the model class that returns what you want
1662: [23:41:37] <Colin[pi]> or did I miss something
1663: [23:41:53] <Blacklite> i want to pass a variable into the function within the model
1664: [23:42:08] <Blacklite> the result of the function depends which url the user is on
1665: [23:42:25] <Zauberfisch> Ryan-Toast: hahahaha
1666: [23:42:29] <macka^> simon_w|work: sorry about that, that syntax error was my fault, when i removed the code i left that in there. It must be something in my module code doing this
1667: [23:43:02] <Blacklite> as well as the ID of the category in question
1668: [23:43:09] <Blacklite> therefore, it depends on two different models
1669: [23:43:59] * jenniferaslan quit (Quit: jenniferaslan has left the room)
1670: [23:45:14] <Blacklite> i think i'll just have to put together the URL in javascript
1671: [23:45:24] <Blacklite> absolutely trash for SEO, but i don't really have any other option
1672: [23:46:26] * caamic30 quit (Read error: Connection reset by peer)

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