#silverstripe IRC Log

IRC log for 26 May 2014

All timestamps are in UTC.

1: [00:00:08] <Stomach> fuck the gym, go dancing instead
2: [00:00:22] <spronk> sorry i have testicles.
3: [00:00:28] <Colin[pi]> she thinks like "We went to the gym, now we can eat icecream" mmm it's not a balancing act lol
4: [00:00:31] <spronk> also, am white.
5: [00:00:31] <simon_w> Just get a horse desk
6: [00:00:55] <Stomach> spronk - swing dancing ftw
7: [00:01:02] <Stomach> ive been dancing for 5 years now :S
8: [00:01:02] <spronk> blehhhh
9: [00:01:20] <Colin[pi]> I'll do Zumba with her :D
10: [00:01:29] <spronk> lolzumba
11: [00:01:31] <zippy__> http://blog.shop-denali.com/wp-content/uploads/2011/04/treadmill-desk.jpg
12: [00:01:52] <Kingy> man how many accidents would that cause
13: [00:02:03] <Kingy> stop to think about an issue/code
14: [00:02:04] <Colin[pi]> btw before I met her, I went from 84kg to 72kg through bike, weights and diet
15: [00:02:08] <Kingy> crash bang splat
16: [00:02:11] <Colin[pi]> didn't pay for SHIT
17: [00:02:23] <simon_w> http://xkcd.com/1329/
18: [00:02:27] <Kingy> still have headphones on so you pull your machine with you
19: [00:03:41] <spronk> biggest things for weight i've found are diet and cardio
20: [00:04:04] <spronk> muscle helps too
21: [00:04:15] <Colin[pi]> spronk: yep
22: [00:04:23] <Stomach> its all diet for me - in the middle of trying to drop 25kg and all I've done so far is just stop drinking sugary drinks and start walking to and from work
23: [00:04:32] <Colin[pi]> all I did was eat salad every frickin day, bike every second day, and weights
24: [00:04:33] <spronk> mm
25: [00:04:36] <Kingy> well basically when all it comes down to is how much energy you put in vs how much you expend.. then yes diet and cardio work wonders :P
26: [00:04:51] <Colin[pi]> then you meet the girl and the weight comes back :D
27: [00:05:19] * spronk went from 88 in high school to 65 by removing junk food, running 10km/week, and doing weights twice a week
28: [00:05:35] <Colin[pi]> spronk: yeah it's not rocket science, it's just motivation and dedication
29: [00:05:41] <spronk> wasn't even really that hard tbh
30: [00:05:52] <Colin[pi]> no, the hardest part is staying disciplined
31: [00:05:55] <spronk> mm
32: [00:05:58] <spronk> and finding the time :/
33: [00:06:15] <Colin[pi]> after I went from 84 to 72, I was like "huh... diet and exercise, so it does work"
34: [00:08:05] <spronk> mm
35: [00:08:12] <spronk> man i drank a lot of frappucinos in 6th form..
36: [00:08:20] <spronk> fucking hipsters
37: [00:08:20] <Colin[pi]> I'm back up to 81 now :\
38: [00:08:47] <Colin[pi]> spronk: I drink a lot of latte
39: [00:08:54] <Colin[pi]> FC milk
40: [00:09:00] <simon_w> I should find out what all this home cooking has done to me
41: [00:09:12] <spronk> Colin[pi]: trim that shit up :P
42: [00:09:23] <Colin[pi]> spronk: gf doesn't like the skim stuff ;P
43: [00:09:31] <Colin[pi]> "ugh, tastes like water"
44: [00:09:39] <Colin[pi]> that's the point lol
45: [00:09:41] <simon_w> Colin[pi], also, get the milk companies to colour code the lids of the bottles like sane countries do!
46: [00:09:59] <Colin[pi]> simon_w: lol you expect things to be logical here?
47: [00:10:17] <spronk> eh
48: [00:10:19] <spronk> skim is fine
49: [00:10:21] <spronk> just get a decent barista
50: [00:10:35] <Colin[pi]> spronk: have one, moi
51: [00:10:36] <Colin[pi]> ;D
52: [00:10:42] <spronk> pour better :P
53: [00:11:00] <Colin[pi]> I dont mind skim, or lite milk is good too
54: [00:11:05] <Colin[pi]> will try to convince the gf next shop
55: [00:11:29] <spronk> i dont notice much difference between skim and FC, though I drink flat whites and macchiatos
56: [00:11:37] <spronk> latte probably a bit diff
57: [00:11:43] <Colin[pi]> mm
58: [00:13:12] <Colin[pi]> does $450 for 12 months at a gym seem cheap, normal or high?
59: [00:13:35] <Colin[pi]> $37.50/month
60: [00:14:03] <spronk> cheapish
61: [00:14:11] <spronk> depends on gym
62: [00:14:18] <spronk> if its a fully specc'd gym it's pretty reasonable
63: [00:14:19] <Colin[pi]> their normal rate is $895/year for the same plan
64: [00:14:31] <Colin[pi]> fully specced, full access to everything except BJJ
65: [00:14:35] <spronk> i.e. with free classes, proper machines, proper freeweights etc
66: [00:14:46] <Colin[pi]> yep it has all of that, only thing is no BJJ
67: [00:14:50] <spronk> meh
68: [00:14:54] <spronk> BJJ is for hippies
69: [00:14:55] <spronk> :p
70: [00:15:01] <spronk> that seems like a decent price
71: [00:15:08] <Colin[pi]> the offer expires in a few days, I think she's keen on it for that reason :D
72: [00:15:12] <spronk> vs NZ prices anyway
73: [00:15:21] <spronk> and from what my aus mates tell me
74: [00:15:27] <spronk> (most of them paying ~600-800)
75: [00:15:34] <Colin[pi]> mm it seemed cheap to me
76: [00:15:49] <Colin[pi]> it's cheaper than another "budget" one close by, which sucked btw
77: [00:16:28] <spronk> most important things IMO are freeweights and business
78: [00:16:33] <spronk> busy-ness
79: [00:17:37] <Colin[pi]> the other thing against a gym is people
80: [00:17:44] <Colin[pi]> sweaty people everywhere
81: [00:17:56] <spronk> also
82: [00:17:58] <Colin[pi]> and pervy guys looking at my gf I'm sure -_-
83: [00:18:04] <spronk> the opposite is true
84: [00:18:16] <spronk> you get to be a pervy guy looking at other guys gfs
85: [00:18:20] <Colin[pi]> heh
86: [00:18:20] <spronk> :P
87: [00:18:40] <spronk> scratch that from the official record, i never said it :>~
88: [00:18:45] <Colin[pi]> ;D
89: [00:23:04] <zippy__> http://logs.simon.geek.nz/index.php?date=2014-05-26#log_1295606
90: [00:24:36] <spronk> NUUUUUUUUuu
91: [00:24:54] <ss23> 12:14:31 < Colin[pi]> fully specced, full access to everything except BJJ
92: [00:24:57] <ss23> BJJ?
93: [00:25:09] <Colin[pi]> blow job junkies
94: [00:25:12] <ss23> lol
95: [00:25:14] <ss23> figured
96: [00:25:15] <Colin[pi]> brazilian ju jitsu ;P
97: [00:25:15] <ss23> :(
98: [00:31:10] <ss23> In templates, $Form
99: [00:31:12] <ss23> Where does it come from?
100: [00:31:16] <ss23> There's a lot of "function Form"'s in SS
101: [00:31:30] <Colin[pi]> just convention ss23
102: [00:31:55] <ss23> No, the loginform for example uses $Form explicitly, right/
103: [00:31:56] <Colin[pi]> std practice seems to be "oh this page needs a form, so call it Form and template looks for $Form"
104: [00:32:58] <ss23> Ho hum
105: [00:33:01] <ss23> idk where it comes from!
106: [00:33:33] <simon_w> ss23, the login form comes from Security->login
107: [00:34:03] <Colin[pi]> comes from MemberAuthenticator doesnt it?
108: [00:34:17] <ss23> But how does $Form itself call like... that stuff
109: [00:34:25] <ss23> I thought it has to be a method on the object itself?
110: [00:34:26] <ss23> or something?
111: [00:36:37] <simon_w> There's a ->customise() call
112: [00:37:15] <ss23> ah kk ty
113: [00:39:20] * Kingy is now known as Kingy[a]
114: [00:48:09] <Ryan-Toast> I would join the Civilian party, but that documaent looks very formal, and binding.
115: [00:48:19] <Ryan-Toast> document
116: [00:48:59] <ss23> Hmm, hungry
117: [00:50:01] * mediacorpjack has joined #silverstripe
118: [00:53:19] <mediacorpjack> Hey guys, I need to link 0 or many of pagetype x to pagetype y so that I can display summarised content for each x on y. How would I do this so the user can select which xs to add to an instance of y from the cms
119: [00:54:13] <ss23> gridfield + pagetype y has_many pagetype x?
120: [00:54:29] <zippy__> or maybe a TreeMultiselectField
121: [00:55:39] <mediacorpjack> sweet will look into it thanks :)
122: [01:02:35] <ss23> I have a bug that makes the least sense I've ever seen
123: [01:02:38] <ss23> Fucking Chrome
124: [01:03:02] <Stomach> what is it?
125: [01:03:09] <Stomach> mediacorpjack - use a listboxfield
126: [01:03:10] <ss23> I can't really describe it easily
127: [01:03:23] <zippy__> ss23: probably a plugin
128: [01:03:26] <ss23> And I'm unsure about a decent reproductive case
129: [01:03:27] <zippy__> ss23: go incognito
130: [01:03:30] <ss23> zippy__: Disabled them all
131: [01:03:40] <ss23> and incognito
132: [01:03:42] <ss23> JS disabled
133: [01:03:51] <ss23> It looks like some kind of bug in blink/webkit itself
134: [01:04:10] <Stomach> https://www.google.co.nz/search?q=blink+tag&oq=blink+tag&aqs=chrome..69i57j69i60l5.999j0j7&sourceid=chrome&es_sm=93&ie=UTF-8
135: [01:04:20] <ss23> lol please
136: [01:04:34] <ss23> Basically, having the <input type="password"> field somehow messes up the document flow in the header
137: [01:04:49] <Stomach> are you in xhtml mode?
138: [01:04:59] <ss23> idk what this is, but HTML5 doctype
139: [01:05:18] <ss23> validates perfectly etc
140: [01:05:31] <ss23> I dunno if I wanna wokr on a proper repro case on clients time...
141: [01:05:39] <ss23> but could be worht it, cause this has been a fucking devilish bug
142: [01:05:54] <Stomach> yeah, you gotta fix the bug somehow...
143: [01:06:20] <ss23> I can do a JavaScript fix kind of, probably... or restructure how it works maybe
144: [01:06:28] * ss23 tries canary
145: [01:06:51] <ss23> still a bug on Canary, HUMMMM
146: [01:07:16] <Stomach> fine in ie6? sometimes I use ie6 to test chrome bugs :D
147: [01:07:16] <simon_w> Nah, it's a feature
148: [01:07:37] <Colin[pi]> simon_w: always :D
149: [01:08:07] <ss23> lol
150: [01:08:12] <ss23> Works in IE and FF, yeah
151: [01:10:06] <ss23> Thing is, if I remove it from DOM, doesn't fix
152: [01:10:10] <ss23> but if I comment out HTML and refresh it does
153: [01:11:38] <Stomach> if you move the element to a different position in the document flow is it still borked?
154: [01:14:16] <ss23> Kind of
155: [01:14:19] <mediacorpjack> stomach - what do I have as the source of the listboxfield if I want them to select page titles of type x? It wants an array
156: [01:14:19] <ss23> If inside <form>, breakas
157: [01:14:22] <ss23> outside form, owrks
158: [01:14:38] <Stomach> TypeX::get()->map()->toArray()
159: [01:14:58] <Stomach> mediacorpjack ^
160: [01:15:32] <mediacorpjack> Cool thanks
161: [01:17:20] * Ryan-Toast quit (Quit: Ryan-Toast)
162: [01:29:34] <ss23> Okay got it down to 34 lines of HTML
163: [01:29:37] <ss23> Time to trim the CSS now
164: [01:30:39] * Ryan-Toast has joined #silverstripe
165: [01:31:01] * zippy__ quit (Quit: zippy__)
166: [01:32:07] <Colin[pi]> why is windows search such utter shit?
167: [01:32:29] <ss23> Search is a hard problem, people have low expectations, it's a bad place to invest resources, it's aduaquate
168: [01:32:50] <ss23> Okay, 32 lines of HTML!
169: [01:32:58] <Ryan-Toast> lines mean nothing!
170: [01:33:09] <ss23> Well these are nice lines! :P
171: [01:33:14] <ss23> 2.6k lines of CSS!
172: [01:33:16] <Ryan-Toast> My html is only one line, but 1,000.000 cgharacters :P
173: [01:35:21] <Colin[pi]> my cms skin css is 2.5K lines of css lol
174: [01:35:50] <mediacorpjack> can't get the list box to display all of the x's for selection. have set multiple to true.
175: [01:40:12] * Kingy[a] is now known as Kingy
176: [01:45:13] <ss23> Almost got reproduction case
177: [01:45:21] <ss23> I'm tellin ya, 32 lines of HTML, and hopefully sub 100 lines of CSS
178: [01:45:52] <Kingy> don't ya love having to delve into code line by line
179: [01:46:00] <ss23> Literally so much
180: [01:46:07] <Kingy> haha
181: [01:48:51] <Ryan-Toast> ss23: for what?
182: [01:49:02] * MiniZeka has joined #silverstripe
183: [01:49:06] <Stomach> hes broken chrome... again
184: [01:49:36] <MiniZeka> hey
185: [01:49:51] <Stomach> hallo
186: [01:49:58] <MiniZeka> is it possible to remove page from Draft through code?
187: [01:50:16] <Stomach> yes
188: [01:50:25] <MiniZeka> how?
189: [01:51:04] <MiniZeka> I tried ->removeFromStage(), but it seems that it doesn't exist in 3.1.5
190: [01:51:47] <simon_w> MiniZeka, deleteFromStage
191: [01:52:19] <MiniZeka> simon_w: with or without param?
192: [01:52:36] <simon_w> With, or how will it know which stage to delete from?
193: [01:52:51] <MiniZeka> dunno
194: [01:52:51] * auto9 quit (Read error: Connection reset by peer)
195: [01:53:09] <MiniZeka> how it knows to which stage should revert in ->doRestoreToStage() ?
196: [01:53:53] * auto9 has joined #silverstripe
197: [01:54:02] <spronk> man the price differential between insurance companies is absurd
198: [01:54:21] <simon_w> Because that's a CMS-specific method on SiteTree, rather than a generic one on Versioned
199: [01:55:22] <ss23> Ryan-Toast: Chrome rendering bug
200: [01:55:26] <ss23> Probably to do with floats
201: [01:55:30] <ss23> Chrome, King of Float Bugs!
202: [01:55:38] <spronk> ugh
203: [01:55:46] <spronk> and they keep breaking new stuff
204: [01:57:17] <MiniZeka> are select/alerts fixed in Chrome yet?
205: [01:58:51] <Colin[pi]> spronk: yes it is, what type of insurance?
206: [01:59:20] <spronk> contents
207: [02:00:15] <Colin[pi]> spronk: worst one I ever saw was for my car, most companies were quoting like $500 comprehensive, and one company for some reason came back with $2,100
208: [02:00:36] <Colin[pi]> and he couldn't get it to lower, couldn't figure out why it was so high... so "kthxbye"
209: [02:00:49] <simon_w> Colin[pi], I shall bug you about insurance stuff in (hopefully) about a month :p
210: [02:01:16] <Colin[pi]> simon_w: ok! what, in terms of recommended companies and such?
211: [02:01:35] <simon_w> Yeah
212: [02:01:52] <Colin[pi]> k just ask away when you're ready
213: [02:02:07] * DesignerX quit (Quit: Konversation terminated!)
214: [02:02:29] <spronk> mmlol
215: [02:06:45] <mediacorpjack> Stomach - Got that working but the xs are now children of y and no longer the Holder pagetype they were before within the CMS.
216: [02:07:44] <mediacorpjack> x needs to be able to be has many from both y and z but remain url linked under z. y just references some of their content and their url.
217: [02:10:05] <Stomach> that shouldn't change the parent id of the objects :S
218: [02:10:15] <Stomach> do you mind pasting your code onto sspaste or something?
219: [02:11:12] <ss23> okay so if you use <style> tags, it doesn't trigger the bug, it has to be an external style sheet
220: [02:11:29] <Stomach> check character encoding in the stylesheet?
221: [02:11:50] <mediacorpjack> http://www.sspaste.com/paste/show/53829f6e62d4f
222: [02:11:57] * juliuscaamic has joined #silverstripe
223: [02:12:11] * juliuscaamic has left #silverstripe
224: [02:12:43] <Stomach> do you have a $has_one or a $belongs_to on the ArticlePage ?
225: [02:12:50] * caamic30 has joined #silverstripe
226: [02:13:08] <mediacorpjack> no
227: [02:13:12] <mediacorpjack> does there need to be?
228: [02:13:21] <Stomach> yeah
229: [02:13:28] <mediacorpjack> well there is a has one image for the article
230: [02:14:00] <Stomach> nah, a has_one to text page - although this strikes me as a situation where a many_many will be better to manage it seeing as they are versioned
231: [02:15:17] <Stomach> http://www.sspaste.com/paste/show/5382a045e840a
232: [02:15:57] <mediacorpjack> ok great thanks. Do I also add the z which it belongs to originially?
233: [02:16:05] <mediacorpjack> originially*
234: [02:16:18] <mediacorpjack> originally*
235: [02:16:50] <Stomach> no, that should be handled by the CMS isn't it? :)
236: [02:17:00] <mediacorpjack> yeah
237: [02:17:53] * Kingy is now known as Kingy[a]
238: [02:18:54] <ss23> I can't create a JS Fiddle because that inlines the CSS which fixes it
239: [02:18:55] <ss23> :(
240: [02:19:04] <ss23> I'll share test case now though to see if you guys have ideas?
241: [02:19:07] <ss23> Ryan-Toast sounded keen
242: [02:20:47] <Stomach> ss23 - happy to do anything but real work, anytime
243: [02:21:06] <ss23> http://ss23.geek.nz/css-bug/
244: [02:21:13] <ss23> Observe: Working.html works, broken.html doesn't
245: [02:21:21] <ss23> Litearlly the only difference is that <input type="password">
246: [02:21:58] <Stomach> you mean the english dropping to second line?
247: [02:22:04] <Stomach> happens sporadically for me :S
248: [02:22:37] <ss23> Yeah, English dropping to second line
249: [02:22:47] <simon_w> Works fine for me
250: [02:22:50] <ss23> lol
251: [02:22:51] <ss23> >not using chrome
252: [02:22:52] <ss23> please
253: [02:22:55] <simon_w> Blink bug, sucker!
254: [02:25:16] <Stomach> it works fine when it caches the css
255: [02:25:20] <Stomach> on a force refresh it breaks
256: [02:25:21] <Stomach> lol
257: [02:29:22] <caamic30> Hello SS!
258: [02:29:46] <simon_w> Anyone got a valid DigitalOcean promo code?
259: [02:30:04] <caamic30> Quick question - How to prioritise a template through custom module. Please see the image https://dl.dropboxusercontent.com/u/38600598/Photos/SS%20Tempalte%20Prioritise.png
260: [02:30:25] <Ryan-Toast> ss23: Keen for what?
261: [02:30:30] <Ryan-Toast> Sparatically in a meeting
262: [02:30:30] <Colin[pi]> ss23: I think the container div needs a width for floats to actually do anything meaningful
263: [02:30:40] <caamic30> currently it prioritise the swipestripe-address module
264: [02:30:57] <caamic30> I’m wanting to prioritise the template from custom module
265: [02:31:03] <MiniZeka> simon_w: try DODEPLOY
266: [02:31:45] <caamic30> I experimented that the way it prioritise template is by module name arrangement descending order
267: [02:31:52] <simon_w> MiniZeka, thanks
268: [02:32:07] <MiniZeka> no problem
269: [02:32:56] <MiniZeka> ss23: should "English" be dropped to second line or not?
270: [02:35:34] <Ryan-Toast> ss23: what’re you doing, man?
271: [02:35:50] <ss23> Ryan-Toast: http://ss23.geek.nz/css-bug/
272: [02:36:04] <ss23> Every other browser, including IE, will show the same thing for working and broken (the header part)
273: [02:36:07] <ss23> Chrome will bug the fuck out
274: [02:36:27] <Stomach> caamic30 - yeah it is alphabetical, I don't know of a way to force the use of a template over another :\
275: [02:36:31] <Ryan-Toast> They look the same to me...
276: [02:36:42] <ss23> Ryan-Toast: Using Chrome?
277: [02:36:45] <Ryan-Toast> yes
278: [02:36:46] <ss23> I checked on OSX, it bugs out there too
279: [02:36:55] <ss23> Ryan-Toast: Some people said it was sporadic, so you might be not affected
280: [02:36:56] <Ryan-Toast> Version 35.0.1916.114
281: [02:37:00] <ss23> Would be interested to see your specs etc
282: [02:37:05] <ss23> I've tested both Canary and Stable
283: [02:37:16] <Stomach> im on Version 35.0.1916.114 m
284: [02:37:27] <MiniZeka> 35.0.1916.114 m also no diff at all
285: [02:37:39] <MiniZeka> even with clear cache
286: [02:38:21] <ss23> Stomach: You reproduced, right?
287: [02:38:22] <MiniZeka> huh... strange
288: [02:38:27] <Stomach> yeah I can repro
289: [02:38:42] * unclecheese has joined #silverstripe
290: [02:38:47] <Ryan-Toast> ss23: Don’t float them
291: [02:38:51] <Ryan-Toast> ss23: inline-block
292: [02:39:03] <MiniZeka> if I refresh broken.html, English is in second line always
293: [02:39:03] <Ryan-Toast> the a, and the div
294: [02:39:12] <MiniZeka> if opened in new tab - also two lines
295: [02:39:20] <MiniZeka> if opened in same tab - one line
296: [02:39:26] <Ryan-Toast> ss23: will fix your issue
297: [02:39:37] <ss23> Ryan-Toast: No, it won't
298: [02:39:41] <ss23> Because my issue is that Chrome has bugs in it
299: [02:39:49] <ss23> What you meant to say is "You can work around bugs in Chrome with...."
300: [02:39:52] <ss23> Which is very different
301: [02:39:53] <Ryan-Toast> your issue is that they’re on seperate lines, isn’t it?
302: [02:40:02] <ss23> NO, THE ISSUE IS CHROME IS BUGGY AS FUCK
303: [02:40:05] <Ryan-Toast> Floating them is bad practise anyway.
304: [02:40:10] <ss23> >.>
305: [02:40:12] * ss23 glares at Ryan-Toast
306: [02:40:15] <Ryan-Toast> :)
307: [02:40:21] <Ryan-Toast> I’m not saying there isn’t a buug.
308: [02:40:28] <ss23> MiniZeka: There, you can reproduce!
309: [02:40:35] <Ryan-Toast> but it just happens that the correct practise, and the bug fix work :P
310: [02:40:45] <ss23> The most annoying thing about showing this bug to other web developers is that every single one of them says "OH YOU CAN FIX IT WITH X"
311: [02:40:52] <Ryan-Toast> :)
312: [02:40:53] <MiniZeka> ss23: yes, but way to reproduce is strange as hell
313: [02:40:55] <ss23> and I'm like "BITCH DO YOU THINK I WANT A WORKAROUND?! NO, I WANT A FIX"
314: [02:41:05] <Ryan-Toast> Been working with IUE for too long to say anything else.
315: [02:41:10] <Ryan-Toast> IE**
316: [02:41:19] <Stomach> zoom: 1; :(
317: [02:41:31] <Stomach> bug in IE? add zoom!
318: [02:41:32] <Ryan-Toast> *{zoom: 1} :P
319: [02:41:43] <Ryan-Toast> add position relative!
320: [02:41:54] <Ryan-Toast> IMPORTANT ALL THE THINGS
321: [02:41:59] <Stomach> add we dont support ie holder page!
322: [02:42:12] <simon_w> Woo, naming server time!
323: [02:42:31] <MiniZeka> ss23: if you open http://ss23.geek.nz/css-bug/ - and then open broken.html in new tab - two lines. refresh as much as you like, two lines. but if you open broken.html in SAME TAB, one line
324: [02:42:38] <Ryan-Toast> simon_w: Wizard sleeve!
325: [02:42:44] * caamic30 quit (Quit: caamic30)
326: [02:42:48] <simon_w> Ryan-Toast, doesn't go with the theme!
327: [02:42:56] <Ryan-Toast> simon_w: What’s the theme?
328: [02:43:16] <simon_w> Star Wars
329: [02:43:24] <Ryan-Toast> simon_w: Leia’s Wizard Sleeve!
330: [02:43:38] <simon_w> No :p
331: [02:43:40] <MiniZeka> simon_w: Golden Bikini?
332: [02:43:53] <Ryan-Toast> simon_w: chewbacca’s always naked?
333: [02:44:02] <Stomach> call it jadeite
334: [02:44:18] <Ryan-Toast> not the server you’re looking for.
335: [02:44:45] <simon_w> Or, I could flick through these three books until I find a name I like :p
336: [02:44:50] <Ryan-Toast> Chunndar
337: [02:45:47] <Stomach> tails
338: [02:45:55] <Stomach> (no thats my server dont steal it)
339: [02:46:06] <Stomach> laptop - sonic, server - tails, gaming machine - knuckles
340: [02:46:11] <Stomach> girlfriends computer - amy
341: [02:46:12] <Stomach> lololol
342: [02:47:19] <Stomach> I fucking love sega
343: [02:48:17] * DesignerX has joined #silverstripe
344: [02:48:34] <ss23> https://code.google.com/p/chromium/issues/detail?id=377346
345: [02:48:36] <spronk> urmgherd
346: [02:48:39] <ss23> reported now at laest
347: [02:48:52] <ss23> bah, accidently did it under my work email
348: [02:48:53] <ss23> ;(
349: [02:51:45] * an_Eskimo has joined #silverstripe
350: [02:52:27] <an_Eskimo> When creating a new form, is there a quick and easy way to take what's in a Literal Field out of the <label> tags?
351: [02:54:33] <Ryan-Toast> ss23: http://i.imgur.com/iLb2bTh.jpg
352: [02:55:02] <ss23> lol
353: [02:57:31] * DesignerX quit (Quit: Konversation terminated!)
354: [02:58:04] * caamic30 has joined #silverstripe
355: [02:58:48] * caamic30 has left #silverstripe
356: [03:01:19] * MiniZeka quit (Quit: Page closed)
357: [03:03:33] * DesignerX has joined #silverstripe
358: [03:06:23] * UncleCheese_ has joined #silverstripe
359: [03:07:42] <Ryan-Toast> Man, fuck Mondays.
360: [03:07:58] <Ryan-Toast> I finished my book last night, need a new Fantasy series to read.
361: [03:08:37] <Stomach> Wool!
362: [03:09:01] <Ryan-Toast> Wool?
363: [03:09:53] * Kingy[a] is now known as Kingy
364: [03:17:57] <Colin[pi]> ss23: I still think it's not really a bug, float kinda doesn't mean much without a width on the parent element :\
365: [03:18:23] <Colin[pi]> I mean I guess it is kinda a bug if all the other browsers are doing it differently
366: [03:19:34] <Stomach> Ryan-Toast - what I've been reading
367: [03:19:37] <Stomach> on goodreads
368: [03:19:43] <Ryan-Toast> Link?
369: [03:20:37] <Stomach> https://www.goodreads.com/book/show/13453029-wool-omnibus?from_search=true
370: [03:20:55] <Ryan-Toast> Ah, the Falloutesque one?
371: [03:21:17] <Stomach> yah
372: [03:21:26] <Ryan-Toast> Are they quite short stroies?
373: [03:21:32] <Ryan-Toast> The omnibus is only 600 pages
374: [03:21:45] <Stomach> yeah, they are
375: [03:21:49] <Stomach> afternoon read type stuff
376: [03:21:52] <Ryan-Toast> Cool :)
377: [03:21:56] <Ryan-Toast> I’ll buy it now.
378: [03:22:25] <Ryan-Toast> antmas still hasn’t raised any bugs in boilerplate :(
379: [03:23:11] <Stomach> what a crunchface
380: [03:23:35] <Colin[pi]> that's why he's not here, he's avoiding you
381: [03:23:45] <Ryan-Toast> I knew it
382: [03:27:33] <Ryan-Toast> Can you override the default youtuebe shortcode?
383: [03:27:52] <ss23> 15:17:58 < Colin[pi]> ss23: I still think it's not really a bug, float kinda doesn't mean much without a width on the parent element :\
384: [03:28:00] <ss23> It changes based on whether CSS is cached!
385: [03:28:01] <ss23> IT'S A BUG
386: [03:28:23] <Colin[pi]> ss23: oh so if the CSS is cached it does it like the other browsers?
387: [03:28:45] <Colin[pi]> Ryan-Toast: there'll be a shortcode handler setup for it somewhere
388: [03:29:21] <ss23> Sometimes, Colin[pi]
389: [03:29:22] <ss23> Not always
390: [03:29:23] <Ryan-Toast> Colin[pi]: I’ll do it after my pricing table shortcode
391: [03:29:29] <ss23> Also if you inline it it chagnes, Colin[pi]
392: [03:29:38] <ss23> Colin[pi]: Really, there is no way in hell this isn't a bug
393: [03:29:39] <ss23> :P
394: [03:31:22] <Stomach> apart from if its a feature
395: [03:33:13] <Kingy> ^
396: [03:34:24] * UncleCheese_ quit (Quit: UncleCheese_)
397: [03:41:53] * DesignerX quit (Quit: Konversation terminated!)
398: [03:46:31] * cloph has joined #silverstripe
399: [03:46:53] * cloph_away quit (Ping timeout: 252 seconds)
400: [03:46:56] * unclecheese quit (Quit: unclecheese)
401: [03:47:34] <Colin[pi]> ss23: if you inline what?
402: [03:49:02] <ss23> YOUR FACE
403: [03:49:18] * an_Eskimo quit (Ping timeout: 240 seconds)
404: [03:49:27] * simon_w quit (Ping timeout: 252 seconds)
405: [03:51:50] * simon_w has joined #silverstripe
406: [04:18:48] * Tanger has joined #silverstripe
407: [04:23:29] <Colin[pi]> ss23: ;P
408: [04:26:28] <Ryan-Toast> I made a pricing tables shortcode if anyone wants it: http://webdough.co.nz/~boilerpl/widgets/pricing-tables/
409: [04:27:35] <Stomach> hint simon_w hint?
410: [04:28:36] * anselmdk has joined #silverstripe
411: [04:29:07] <simon_w> For what?
412: [04:30:02] <Colin[pi]> Ryan-Toast: set up a default image for an og:image tag to add to your existing ones :)
413: [04:30:23] <Colin[pi]> like a logo or icon for the site or something
414: [04:30:34] <Ryan-Toast> Colin[pi]: It pulls the site’s logo.
415: [04:30:41] <Ryan-Toast> Colin[pi]: I just don’t ahave one for BP :P
416: [04:30:46] <Colin[pi]> ah K :D
417: [04:31:05] <Colin[pi]> btw I'm getting those weird hex code things for the icon font in FF
418: [04:31:59] <Ryan-Toast> Colin[pi]: Yeah the fonts folder has the wrong permissions
419: [04:32:06] <Ryan-Toast> cbf sshing into the server
420: [04:34:53] <Ryan-Toast> Colin[pi]: Should be fine now
421: [04:35:11] <Colin[pi]> yay fixed
422: [04:37:30] <Ryan-Toast> Shortcodes are fun
423: [04:37:52] <Ryan-Toast> just need to figure out how to make the fucking tinyMCE popups work so I can generate them.
424: [04:38:58] <Colin[pi]> they are indeed, this was my latest iteration of the twitter button I made: http://imgur.com/UocPE9h
425: [04:39:29] <Ryan-Toast> Colin[pi]: Yeah, that’s what I’m trying to do inside a module, which doesnt want to fucking play nice.
426: [04:39:42] <Colin[pi]> Ryan-Toast: mm I had to do it in the tinymce plugins folder
427: [04:39:48] <Ryan-Toast> Colin[pi]: Yeah, do not want
428: [04:39:56] <Ryan-Toast> fucking tinyMCE
429: [04:39:59] <Ryan-Toast> HATE IT
430: [04:40:43] <Colin[pi]> yeah we should just have textareas, amirite?
431: [04:40:44] <Colin[pi]> :D
432: [04:41:02] <Ryan-Toast> No more cms for clients
433: [04:41:11] <Ryan-Toast> only devs.
434: [04:41:40] <Ryan-Toast> Need to finish my mega menu module
435: [04:42:07] <Colin[pi]> were you the one having performance probs with something like that?
436: [04:42:19] <Ryan-Toast> nope
437: [04:42:23] <Ryan-Toast> I don’t use javascript
438: [04:43:12] <Colin[pi]> nah I mean in terms of SS dumping out the sitetree, must have been someone else
439: [04:43:24] <Ryan-Toast> Nah, not me.
440: [04:43:44] <Ryan-Toast> Caching should help with that though
441: [04:43:48] * mediacorpjack quit (Ping timeout: 240 seconds)
442: [04:43:58] <Ryan-Toast> only problem is you can’t cache with recursion
443: [04:44:12] * auto9 quit (Ping timeout: 252 seconds)
444: [04:44:16] <irogue> goddamnit
445: [04:44:19] <irogue> too many chatty things
446: [04:44:29] <Colin[pi]> hi irogue :D
447: [04:44:39] <irogue> hai Colin[pi]
448: [04:44:47] * auto9 has joined #silverstripe
449: [04:46:13] <ss23> From a template, is there like a Subsite::currentSubsite()->Title?
450: [04:47:08] * Colin[pi] glances at spronk
451: [04:47:26] * anselmdk quit (Quit: anselmdk)
452: [04:47:28] <ss23> XD
453: [04:47:35] <Ryan-Toast> ss23: you can do Director::current_siteConfig
454: [04:47:43] <ss23> Like...
455: [04:47:49] <ss23> $Director::current_siteConfig?
456: [04:47:54] <ss23> I mean, the syntax is the problem I'm having
457: [04:47:55] <Ryan-Toast> No.
458: [04:47:59] <spronk> ss23: cant you just use the standard SiteConfig ?
459: [04:48:01] <Ryan-Toast> I mean make a functionin your clkass
460: [04:48:09] * spronk thought subsites took care of that
461: [04:48:09] <ss23> ohhh
462: [04:48:11] <ss23> ummm
463: [04:48:13] <Ryan-Toast> typing = hard for me today
464: [04:48:18] <ss23> How do you get the title of the current subsite though?
465: [04:48:19] <ss23> I mean...
466: [04:48:26] <ss23> That's the *subsitE* title, not the siteconfig title, right?
467: [04:48:26] <Ryan-Toast> spronk: you’re the subsite lord :P
468: [04:48:38] <spronk> each subsite has its own siteconfig?
469: [04:48:45] <Ryan-Toast> The current subsite is the current siteConfig
470: [04:48:51] <Ryan-Toast> Yarp
471: [04:48:54] <spronk> ss23: which title do you want
472: [04:48:59] <ss23> The title of the subsite
473: [04:49:06] <ss23> Like, Subsite::Title
474: [04:49:17] <Ryan-Toast> spronk: yeah, they do.
475: [04:49:25] <ss23> <% loop List(Subsite) %>$Title<% end_loop %>
476: [04:49:28] <ss23> But for current Subsite
477: [04:49:38] <spronk> there's current subsite method
478: [04:49:44] <ss23> Yeah, I know
479: [04:49:47] <ss23> 16:46:13 <+ss23> From a template, is there like a Subsite::currentSubsite()->Title?
480: [04:49:51] <ss23> I'm asking how to use it from a template
481: [04:49:51] <ss23> :P
482: [04:49:58] <spronk> dont think there is anything templated for it
483: [04:50:03] <ss23> Bah
484: [04:50:05] <ss23> That's annoying
485: [04:50:06] <ss23> :(
486: [04:50:12] <spronk> why do you want the subsite title
487: [04:50:13] <ss23> You would think there was... since you know, it's important ;_;
488: [04:50:14] <spronk> use siteconfig
489: [04:50:15] <spronk> :P
490: [04:50:19] <ss23> uh
491: [04:50:25] <ss23> How do I use siteconfig to get the current subsite title?
492: [04:50:36] <spronk> just get the current title
493: [04:50:47] <spronk> preeetty sure subsites automatically applies the siteconfig for the current subsite
494: [04:51:16] <spronk> yeah
495: [04:51:16] <ss23> But that's not the title of the subsite....
496: [04:51:18] <spronk> $SiteConfig.Title
497: [04:51:24] <ss23> like
498: [04:51:25] <spronk> ... the fuck is it the title of thne?
499: [04:51:32] <ss23> You can have a subsite named "My subsite for chinese people"
500: [04:51:41] <ss23> With the title of the site being "sdfklんsdfんk"
501: [04:51:41] <ss23> right?
502: [04:51:50] <ss23> I don't want to display the random chinese characters, I want the title of the subsite
503: [04:51:52] <spronk> ...what?
504: [04:52:02] <spronk> where is this for O_o
505: [04:52:07] <ss23> What do you mean where?
506: [04:52:09] <spronk> like
507: [04:52:15] <spronk> is it admin backend?
508: [04:52:16] <ss23> Oh, for reference, I'm using subsites as different language versions of the site
509: [04:52:19] <ss23> No, front end
510: [04:52:26] <ss23> But people need to pick their subsite based on the name of the subsite
511: [04:52:31] <spronk> O_O
512: [04:52:42] <spronk> that only works for two languages man
513: [04:52:44] <ss23> YO, LONG STORY SHORT, $SITECONFIG IS NOT A SOLUTION
514: [04:52:47] <ss23> spronk: What? Why?
515: [04:52:51] <spronk> because
516: [04:52:56] <spronk> the name of the substie is only ever stored in one language
517: [04:53:08] <spronk> i don't get it
518: [04:53:09] <ss23> Yeah, that's fine?
519: [04:53:17] <spronk> why is title not an option!?
520: [04:53:24] <ss23> BECAUSE THE TITLE ISN'T "CHINESE" IS IT
521: [04:53:30] <spronk> what!?!??!!?
522: [04:53:34] <spronk> you are so confuse.
523: [04:53:34] <ss23> The title of the subsite is "Chinese", but the SiteConfig.Title is "My awesome website"
524: [04:53:37] <ss23> right?
525: [04:53:43] <ss23> IS THE NAME OF YOUR SITE RIGHT NOW "ENGLISH"?
526: [04:53:44] <ss23> IS IT?
527: [04:53:46] <ss23> I BET ITS NOT
528: [04:53:50] <spronk> oh
529: [04:53:51] <spronk> i see what you mean
530: [04:53:55] <spronk> you want to populate your list?
531: [04:54:02] <ss23> The list is fine
532: [04:54:03] <spronk> because you're not using translate
533: [04:54:05] <spronk> because you're tard
534: [04:54:07] <ss23> No
535: [04:54:07] <spronk> :P
536: [04:54:16] <ss23> I specifically decided not to use Translate because it would be a bad decision
537: [04:54:23] <ss23> As bad as subsites is, it's better than translataable
538: [04:54:26] <spronk> and you thought subsites would be a *better* decision why? :p
539: [04:54:29] <ss23> STOP SECOND GUESSING MY DECISIONS
540: [04:54:30] * spronk disagrees
541: [04:54:34] <ss23> Well Ingo agree'd with me
542: [04:54:36] <ss23> So *ha*
543: [04:54:44] <spronk> subsites is a better decision than nothing ever
544: [04:55:08] <Colin[pi]> ss23, even longer story short: "FUCK SUBSITES"
545: [04:55:16] <ss23> In any case, I can just add a getting to Page for current subsite
546: [04:55:36] * spronk shudders
547: [04:56:31] <spronk> it does add CurrentSubsite() to the controller
548: [04:56:38] <spronk> $CurrentSubsite->Title ?
549: [04:56:44] * mobiusnz has joined #silverstripe
550: [04:57:43] <spronk> maybe not
551: [04:57:56] * zippy__ has joined #silverstripe
552: [04:58:22] * mobiusnz quit (Client Quit)
553: [04:58:36] <ss23> Yeah spronk, doing that
554: [04:58:40] <spronk> ss23: why did you think subsites would be > translatable for this?
555: [04:58:42] * mobiusnz has joined #silverstripe
556: [04:58:46] * anselmdk has joined #silverstripe
557: [04:58:48] <ss23> *shrug*
558: [04:58:55] <ss23> The consensus is that Translatable is a lot buggier
559: [04:58:59] <spronk> :|
560: [04:59:00] <ss23> I didn't spend a lot of time on that particular decision
561: [04:59:02] <spronk> yeesh
562: [04:59:09] <ss23> I just took the word of Ingo and others
563: [04:59:09] <spronk> if you're giving this to a client
564: [04:59:14] <spronk> i recommend disabling virtual pages
565: [04:59:19] <ss23> I did look into Fluent for it though, and that was definitly a bad idea
566: [04:59:25] <ss23> spronk: I don't think the client has ever used them
567: [04:59:26] <ss23> :D
568: [04:59:27] <spronk> i also recommend disabling any tasks that subsites adds
569: [04:59:34] <spronk> i also recommend isabling the 'copy this page to subsite' function
570: [04:59:42] <ss23> Yeah, they probably won't use that ever either
571: [04:59:47] * unclecheese has joined #silverstripe
572: [04:59:47] <ss23> These are going to be *reasonably* static
573: [04:59:49] <Colin[pi]> pfft what would Ingo know? not like he wrote a book or anything
574: [04:59:54] <ss23> XD
575: [05:00:17] <Ryan-Toast> 5pm, laters
576: [05:00:21] <Colin[pi]> cyas
577: [05:00:22] <ss23> cyao
578: [05:00:28] <ss23> $ cyao
579: [05:00:28] <ss23> -bash: cyao: command not found
580: [05:00:35] <ss23> good work Ryan-Toast, making me type in wrong window
581: [05:00:35] <ss23> :(
582: [05:00:37] <Colin[pi]> lol
583: [05:00:43] <Colin[pi]> hunter2
584: [05:00:48] <Ryan-Toast> ss23: aaaand again
585: [05:00:48] <simon_w> ss23, you need to sudo
586: [05:01:09] <ss23> simon_w: sudo sudo sudo sudo su
587: [05:02:57] <ss23> The whole "no default subsite!" thing is weird
588: [05:03:02] <ss23> Makes sense, idk
589: [05:04:27] * nickmolhoek quit (Quit: nickmolhoek)
590: [05:05:49] <spronk> ss23: eh?
591: [05:06:06] <spronk> subsites is compleeetely broken from concept level up
592: [05:07:37] <spronk> it really doesn't work for translated sites....
593: [05:09:46] <spronk> waht if you need fallback content, ss23?!
594: [05:10:25] <spronk> man.. the state of multilingual and/or multi-country sites with SS is pretty bad
595: [05:15:35] <Colin[pi]> spronk: yep one more area that needs to be improved :\
596: [05:20:47] * Ryan-Toast quit (Quit: Ryan-Toast)
597: [05:22:37] <zippy__> simon_w: picked server name?
598: [05:22:42] <simon_w> zippy__, yes
599: [05:22:47] <zippy__> simon_w: go with 'pants'?
600: [05:22:49] * unclecheese quit (Quit: unclecheese)
601: [05:22:52] <zippy__> omg, pants is down again!
602: [05:23:04] <simon_w> Doesn't fit the theme :p
603: [05:23:10] <simon_w> Oh, I need to add the new one to nagios
604: [05:23:11] <zippy__> whats the theme?
605: [05:23:27] <zippy__> planets, simonpsons, futurama, elements?
606: [05:23:36] <simon_w> Star Wars!
607: [05:23:45] <zippy__> woo thats next level
608: [05:23:45] <spronk> star wars *what8 ?
609: [05:23:47] <ss23> spronk: No fallback content -- deliberate design decision
610: [05:23:53] <ss23> spronk: If we wanted fallback, would've gone with Fluent etc
611: [05:23:58] <spronk> wtf is fluent
612: [05:23:59] <Stomach> we're using translatable for a big site at the moment. I just wrote customer controllers for all the routing and it seems to work a bit better than the default - based off of https://github.com/Martimiz/silverstripe-languageprefix
613: [05:24:01] <zippy__> simon_w do you have a proof of concept up yet?
614: [05:24:13] <simon_w> zippy__, no
615: [05:24:26] * Kingy is now known as Kingy[a]
616: [05:24:33] * zippy__ quit (Quit: zippy__)
617: [05:26:02] <spronk> tbh, to do multilingual properly you need features from both subsites, and the multiling modules
618: [05:26:17] <Colin[pi]> spronk: mm
619: [05:26:46] <spronk> because sitetrees will differ
620: [05:30:50] <Colin[pi]> spronk: seems to be a complicated area but perhaps being made more complicated than it needs to be? :\
621: [05:31:13] <ss23> Bah
622: [05:33:03] <spronk> yeah
623: [05:33:19] <spronk> i'd probably make a base module called Forks
624: [05:33:20] <spronk> or Variations
625: [05:33:21] <spronk> or something
626: [05:33:22] <Stomach> cause you can fake it by creating root-level "en" "fr" pages etc
627: [05:33:37] <Stomach> then having all code under those in only one translation
628: [05:33:38] <ss23> spronk: Fluent is a translation module
629: [05:33:44] <spronk> ss23: i know :P
630: [05:33:46] <ss23> mmk
631: [05:33:48] <ss23> you asked
632: [05:33:48] <ss23> :(
633: [05:33:55] <spronk> i know :D
634: [05:33:58] <Stomach> but its by column so no good if you have >2-3 translations
635: [05:35:36] <ss23> Well, it'll work
636: [05:35:47] <ss23> It seems yucky, but end of the day, it's ORM'd, so not a horrible thing to deal with
637: [05:35:51] <ss23> But yeah ,idk
638: [05:36:43] * Shrike_Finland has joined #silverstripe
639: [05:36:50] <Stomach> we've used Fluent for a couple of sites
640: [05:36:58] <Stomach> http://www.deer.co.nz/
641: [05:38:18] <Colin[pi]> dat parallax
642: [05:39:34] <Colin[pi]> Stomach: not responsive? I am disappoint!
643: [05:39:52] <Stomach> haha
644: [05:39:59] <spronk> Stomach: how'd you organise sitetree and do the in-page content for hta tone?
645: [05:40:00] <Stomach> they didn't pay :(
646: [05:40:06] <Colin[pi]> Stomach: lol fair nuff
647: [05:40:19] <Stomach> hta tone? :S
648: [05:40:31] <spronk> that one*
649: [05:40:34] * spronk is a great typist
650: [05:40:41] <Stomach> haha
651: [05:40:50] <Stomach> its just standard CMS like you'd expect
652: [05:41:07] <Stomach> all the content is basically htmltext blocks split into their sections
653: [05:41:31] <spronk> oh?
654: [05:41:55] <Stomach> a lot of it is static though
655: [05:42:14] <Stomach> they can basically only add news and change the banner title/subtitles
656: [05:42:17] <spronk> did you CMSify stuff like the threecols under our process at all?
657: [05:42:19] <spronk> hmm
658: [05:42:55] <Colin[pi]> i'm guessing that's static
659: [05:42:55] <Stomach> yeah thats all CMSable - but just 'ProcessColOne' Process'ColTwo' etc
660: [05:43:01] <spronk> mm
661: [05:43:02] <Colin[pi]> oh is it?
662: [05:43:15] <spronk> ive been trying to find better ways to do that sorta thing lately
663: [05:43:21] <Stomach> yeah, but again seperate title/content stuff
664: [05:43:26] <Stomach> so lots of fields in the cms
665: [05:43:31] <Stomach> its not really very intuitive
666: [05:43:35] <Stomach> yeah columns are balls
667: [05:43:36] <spronk> that don't couple the CMS impl to the html/css
668: [05:43:55] <spronk> i really dont want design change to mean cms change :(
669: [05:44:10] <Stomach> its so hard to get around that :\
670: [05:44:19] <Stomach> if you come up with anything good, that would be great
671: [05:44:24] <spronk> the timeline - is that tinymce'd text or static?
672: [05:44:27] <Stomach> static
673: [05:44:42] <spronk> mm
674: [05:44:43] <spronk> :(
675: [05:45:02] <spronk> the only thing i've really done anything serious on so far is a "block builder"
676: [05:45:11] <spronk> kinda like widgets but hierarchical
677: [05:45:36] <Stomach> yeah I built a "slice manager" for meridian energy
678: [05:45:37] <spronk> but SS doesn't really lend itself to intuitive interfaces for that
679: [05:45:52] <Stomach> so you can have different slices etc, but its a fucking nightmare in the CMS
680: [05:46:07] <spronk> mm
681: [05:47:08] <spronk> i thought concrete5 might have solved this problem a couple of years ago
682: [05:47:15] <spronk> buuut they hadn't really.
683: [05:47:58] <Stomach> I think its pretty much unsolvable really - a CMS architecture just doesn't lend itself to layout very well
684: [05:48:29] <spronk> mm, but i don't really see it as layout
685: [05:49:13] <spronk> the idea i was working on was basically like sub pages
686: [05:49:29] <spronk> each "block" has its own template, fields etc
687: [05:49:40] <spronk> same as widgets, they can be used across pages
688: [05:49:49] <spronk> but its just... getting an interface that works nicely
689: [05:51:05] <Colin[pi]> spronk: my standard install uses widgets fairly heavily allowing some degree of layout customisation by the admin
690: [05:51:14] <spronk> mm
691: [05:51:25] <Colin[pi]> but it's a bit clunky still
692: [05:52:23] <Stomach> I always try and get rid of widgets :D
693: [05:52:28] <Stomach> i don't like them
694: [05:54:12] <Stomach> but its probably just because I never spent the time learning to use them correctly, got pissed off and ran away
695: [05:56:03] <Colin[pi]> Stomach: mm I had to do some hefty modifications to make them useful
696: [05:57:26] <Stomach> most of my code is hefty modifications these days
697: [05:57:36] <Stomach> dataextension on 70% of stuff :S
698: [05:57:46] <Stomach> sites are getting slow :\
699: [06:00:32] <Colin[pi]> seems my budgies like skrillex
700: [06:02:49] <ss23> Must be about time to start wearing sweatshirts again. Hands are too cold to type properly :(
701: [06:06:16] <Colin[pi]> ss23: I'm wearning thermals D:
702: [06:06:20] <Colin[pi]> *wearing
703: [06:06:52] <ss23> lol
704: [06:06:56] <ss23> I just wore jeans + tshirt
705: [06:07:06] <Colin[pi]> no heating?
706: [06:07:14] * auto9 quit (Read error: Connection reset by peer)
707: [06:07:48] * auto9 has joined #silverstripe
708: [06:09:53] <irogue> nom nom nom
709: [06:09:56] <irogue> lamb kebab
710: [06:18:42] <ss23> Colin[pi]: What do you mean? I'm talking about when I walked home + at work
711: [06:18:49] <ss23> But saying the walk home made my hands really cold
712: [06:18:52] <ss23> The apartment is nice and warm though
713: [06:18:55] <ss23> Not heated, just not outside
714: [06:19:48] <Colin[pi]> ss23: just talking about when at work, fuck going outside
715: [06:19:49] <Colin[pi]> :D
716: [06:19:55] <ss23> lol
717: [06:20:00] <ss23> problem here is the wind
718: [06:20:03] <ss23> WIND CHILLLLLLL
719: [06:20:05] <ss23> ON YOUR HANDS
720: [06:20:16] <Colin[pi]> yeah I've been warned about that for when I visit
721: [06:26:00] <simon_w> Just man up
722: [06:29:19] <Colin[pi]> simon_w: says the guy complaining about the sun through the window
723: [06:29:20] <Colin[pi]> ;D
724: [06:30:33] <Colin[pi]> simon_w: ima go for a bike ride soon, wave to me
725: [06:30:43] <simon_w> Colin[pi], can't, migrate to git
726: [06:31:16] * mediacorpjack has joined #silverstripe
727: [06:34:34] <irogue> i left work tonight
728: [06:34:43] <irogue> forgot my jacket
729: [06:34:47] <irogue> went to go get it
730: [06:35:22] <irogue> was just after 5:30pm so need keycard to use the lift
731: [06:35:31] <irogue> do not have keycard yet
732: [06:35:54] <irogue> was not a warm walk home
733: [06:36:05] <simon_w> I went for a walk at lunch time
734: [06:40:18] * mediacorpjack quit (Ping timeout: 240 seconds)
735: [06:41:30] * willagain has joined #silverstripe
736: [06:42:18] <willagain> hello. I'd like to expire some pages by date
737: [06:43:44] <willagain> as far as i can see on the addon site, with latest version of SS i need to use the advanced workflow, with qued jobs module, with the multivalue field module,
738: [06:43:50] <willagain> bit complicated.
739: [06:43:54] <willagain> am i doning it wrong?
740: [06:46:46] <irogue> willagain: no, that's correct
741: [06:47:43] <willagain> cool. thanks irogue. good to know im not heading off in the wrong dir when there is a simple switch somewhere : )
742: [06:52:10] <irogue> willagain: it could probably be done simpler, but it's generally better to have a module that can handle whatever workflow you want to throw at it than a bazillion modules for each individual piece of functionality
743: [06:53:28] <simon_w> I should really update embargo/expiry at some point
744: [06:53:30] <willagain> yep fair enough. hopefully the client will ignore the workflow menu item
745: [06:53:42] <simon_w> It tends to be the most common subset of features in the workflow modules that people want
746: [06:53:49] <irogue> willagain: you can always hide it from them :)
747: [06:54:56] <willagain> oh yep its in the roles permissions thing. unticking now : )
748: [06:56:27] * ARNHOE has joined #silverstripe
749: [06:59:20] <willagain> hmm, sudnely i can't publish my own changes. whoops
750: [07:01:00] <unsignedint> hey does anyone know how to set File::$allowed_extensions in SS 3.1? it became private and now I cant access it
751: [07:01:52] <unsignedint> what I want to do is append to the existing list (which I dont think you can do in YAML)
752: [07:02:17] <unsignedint> so I guess what I am asking is, how can I achieve the following in SS 3.1? File::$allowed_extensions = array("exe", "fmx", "fmxd", "spl", "spld") + File::$allowed_extensions;
753: [07:02:22] <willagain> $featuredimage->getValidator()->setAllowedExtensions(array('jpg', 'jpeg', 'png', 'gif'));
754: [07:02:37] <unsignedint> so it cant be done on a global level?
755: [07:03:17] <willagain> you could globaly set the array i guess?
756: [07:04:05] <unsignedint> how?
757: [07:04:16] * auto9_ has joined #silverstripe
758: [07:04:25] <willagain> ha, err. its the bling leading the blind however...
759: [07:04:38] <willagain> blind, im not bling
760: [07:04:48] <unsignedint> you seem less blind than me :)
761: [07:05:23] <unsignedint> its 7pm in NZ so most of the SS devs wont be at work anymore
762: [07:05:49] * auto9 quit (Ping timeout: 240 seconds)
763: [07:08:44] * auto9_ quit (Read error: Connection reset by peer)
764: [07:09:15] * auto9 has joined #silverstripe
765: [07:09:43] <irogue> unsignedint: i suspect it needs to be set through yaml
766: [07:10:19] <unsignedint> irogue: i suspected that too but can you "append" to the existing array in yaml?
767: [07:11:50] <willagain> how about setting a var in page class?
768: [07:11:53] <willagain> public $allowed_file_types = array('jpg', 'png');
769: [07:12:07] * camfindlay has joined #silverstripe
770: [07:12:13] <willagain> that way you can get at it in all the other page types and modify it if you need to
771: [07:12:29] <irogue> unsignedint: not too sure, but you could use the Config:: system
772: [07:12:43] <unsignedint> oh, that might work
773: [07:12:45] <unsignedint> thanks!
774: [07:12:46] <irogue> which is just another way of setting the same stuff set in yaml
775: [07:14:21] <unsignedint> but its more useful because you can apply logic, which you cant do in yaml
776: [07:14:41] <unsignedint> unrelated: are you a fan of the yaml config system? I find it to be basically useless
777: [07:16:06] <willagain> i think its great when i can work out how to use it, - easier to type lots of config in and ss goes faster using it
778: [07:16:29] <willagain> but when i can't work out what to do, im less keen
779: [07:17:05] <willagain> a good example of where it's useful is the responsiveImageExtension settings
780: [07:17:08] <unsignedint> its only really good for setting static values, which I almost never need to do
781: [07:17:17] * unsignedint hasnt used that extension
782: [07:17:31] <irogue> unsignedint: i'm not a fan of yaml, would've preferred something like json myself, but i do appreciate a tidier configuration system
783: [07:17:44] <irogue> i have a 2.4 site with a horrendous _config.php
784: [07:18:07] <unsignedint> the problem is, its not a complete replacement. so everything is a mishmash of yaml and traditional
785: [07:18:15] <unsignedint> good ol' 2.4
786: [07:18:17] <unsignedint> haha
787: [07:18:30] <unsignedint> I have some 2.4 sites that would require way too much effort to update
788: [07:18:47] <unsignedint> my predecessor LOVED using the DataObjectManager
789: [07:19:00] <unsignedint> like, he would include it in all his sites, even if they didnt actually use it
790: [07:19:07] <unsignedint> also, prettyPhoto and BetterImage
791: [07:26:20] * camfindlay quit (Quit: camfindlay)
792: [07:27:08] * camfindlay has joined #silverstripe
793: [07:32:58] * UncleCheese has joined #silverstripe
794: [07:38:43] <irogue> sup UncleCheese
795: [07:38:50] <UncleCheese> hey, dude
796: [07:39:07] <irogue> how was yer first day?
797: [07:39:32] <UncleCheese> good, man
798: [07:39:37] <UncleCheese> got a great vibe from everyone
799: [07:39:49] <UncleCheese> they all know me as uncle cheese :)
800: [07:40:26] <irogue> heh yeah it's gonna take a bit for some people to be able to call you aaron :P
801: [07:41:02] <UncleCheese> might you be joining us in AKL?
802: [07:41:05] <madmatt> His name is Aaron?
803: [07:41:35] <irogue> UncleCheese: yep, was my first day also :P
804: [07:41:41] <UncleCheese> uh?!
805: [07:41:59] <UncleCheese> we talked at the morning meeting and they said you were still thinking about whether you wanted to leave Hamilton
806: [07:42:29] <irogue> ah
807: [07:42:36] <irogue> yeah i'm a contractor for the next 5 weeks
808: [07:42:41] <UncleCheese> oh, right
809: [07:42:43] <irogue> at which point i'll decide if i'll stick around
810: [07:42:58] <UncleCheese> crazy that SS is capturing all these high-profile community members
811: [07:43:07] <UncleCheese> they’ve really made some very smart changes
812: [07:44:08] <simon_w> And I should probably reply to that email from Ingo
813: [07:45:46] * UncleCheese quit (Quit: UncleCheese)
814: [07:46:22] <simon_w> Whoa, camfindlay's actually maybe in here
815: [07:46:44] <camfindlay> ssshhhhhh….
816: [07:46:51] * anselmdk quit (Quit: anselmdk)
817: [07:48:35] <simon_w> Oh, good luck getting me calling in for a hackathon/meetup
818: [07:48:36] <simon_w> Writing objects: 20% (3349/16126), 6.89 MiB | 14.00 KiB/s
819: [07:48:41] <simon_w> That's going at full speed
820: [07:49:13] <camfindlay> Think the next one will be July, will be up on meetup.com once I sort details
821: [07:49:36] <camfindlay> Trying to do something locally every 2 months at the moment :)
822: [07:50:24] <camfindlay> when are you starting the Canberra SilverStripe meetup simon_w?
823: [07:50:41] <simon_w> Hey Colin[pi], got a link for that?
824: [07:51:33] <simon_w> Or do the meet ups here just piggy back off another SS AU meet up?
825: [07:51:44] <simon_w> camfindlay should probably know :p
826: [07:52:53] <irogue> http://www.meetup.com/silverstripe-australia/
827: [07:52:54] <camfindlay> they are what you make it ;) if you want a meetup in your area… make it so, and we can look to support with goodies and whatnot.
828: [07:53:25] <irogue> looks like all the meetups in AU except Brisbane are organised through the SS AU meetup account
829: [07:54:04] <camfindlay> yeah I’ll see if I can talk to the organiser, who organised the last Canberra one?
830: [07:54:35] <simon_w> Um, the boss guy?
831: [07:54:36] <simon_w> Shane?
832: [07:54:40] <camfindlay> and would you like to organise simon_w?
833: [07:54:50] <camfindlay> I’ll talk to Shane if you like
834: [07:55:07] <camfindlay> if you can talk to your fellow devs in Canberra
835: [07:55:20] <camfindlay> perhaps even do a hackfest timed in with ours?
836: [07:55:32] <camfindlay> ANZAC hack
837: [07:55:34] <simon_w> By fellow devs, I only know of Colin[pi]
838: [07:55:40] <simon_w> http://www.meetup.com/silverstripe-australia/events/130292682/ had 5 people at it
839: [07:56:06] <camfindlay> sniff out some more people (figuratively of course)
840: [07:56:54] <camfindlay> introduce some non-SIlverStripe devs to the hackfest and get them into a good hack ;)
841: [07:58:15] <irogue> i like hackfests
842: [07:58:51] <simon_w> I've got no idea where to have one here
843: [07:59:40] <camfindlay> maybe you and Colin[pi] can scheme and find a space?
844: [08:00:10] <simon_w> Perhaps. Come in tomorrow when he's around and discuss some more
845: [08:00:41] * anselmdk has joined #silverstripe
846: [08:00:46] <camfindlay> approx time? I’m all over the place at the moment so would need to actually schedule it (fml) lol
847: [08:01:32] <simon_w> Um, sometime between 10 and 4 AEST
848: [08:03:14] <camfindlay> what’s that in NZST? I’ll add to my cal
849: [08:03:35] <camfindlay> fyi, perhaps we could approach these guys, maybe they could help host? http://www.silverstripe.org/silverstripe-developer-network/show/praxis-interactive?BrowseByCountry=Australia
850: [08:04:11] <camfindlay> No idea where Woden is in relation to you though simon_w
851: [08:04:41] <simon_w> Yeah, that's Colin[pi]
852: [08:04:51] <simon_w> AEST is 2 hours behind NZST
853: [08:05:04] <camfindlay> done… inside job then :P
854: [08:05:19] <simon_w> Woden town centre is (currently) 5 minutes away
855: [08:05:25] <camfindlay> kool
856: [08:05:32] <camfindlay> that’s a good start at least
857: [08:06:26] <camfindlay> if you want to do a hackfest I say, talk to them see if they could host you the space over a weekend. Get your dates sorted, I am happy to make noise via socail media etc
858: [08:06:50] <camfindlay> failing everything you and Colin[pi] can hang out and rewrite core for us :P
859: [08:09:05] <camfindlay> irogue if we do a hackfest in July you should either 1) come to welly or 2) see if we can get AK office to join in remotely.
860: [08:09:43] <irogue> camfindlay: oh i'd definitely come to welly
861: [08:09:44] * Shrike_Finland quit (Quit: Leaving.)
862: [08:09:55] <camfindlay> sweet
863: [08:10:19] <irogue> i don't think many of the AK office folks would be all that keen
864: [08:10:26] <camfindlay> maybe when we head closer to ss3.2 we can do another 24 hour hackfest lol
865: [08:10:28] <irogue> except damo
866: [08:10:41] <camfindlay> yeah you and damo should rock down for it
867: [08:10:47] <irogue> yarp
868: [08:11:17] <camfindlay> I think last 24 hack we had a live VJ/DJ and live video streaming lol
869: [08:11:29] <camfindlay> and we built a fort
870: [08:11:57] <camfindlay> coz we’re professionals like that
871: [08:12:44] <camfindlay> I should also be between university semester then so can actually hang out properly too w00t!
872: [08:12:55] <camfindlay> for the july hack that is
873: [08:13:26] <camfindlay> anyway, I’ll jump on sometime tomorrow simon_w we can raise meetup Canberra topic
874: [08:13:57] <irogue> camfindlay: yup, i expect another 24hr one so its worth me flying down
875: [08:14:32] <camfindlay> pull request drinking games?
876: [08:15:12] * ditinn has joined #silverstripe
877: [08:16:06] <irogue> camfindlay: absolutely
878: [08:18:43] * camfindlay quit (Ping timeout: 240 seconds)
879: [08:20:03] * willagain quit (Quit: Page closed)
880: [08:21:52] * zippy__ has joined #silverstripe
881: [08:28:49] * Shrike_Finland has joined #silverstripe
882: [08:29:08] * DesignerX has joined #silverstripe
883: [08:31:18] * DesignerX quit (Client Quit)
884: [08:31:30] * DesignerX has joined #silverstripe
885: [08:34:45] <Colin[pi]> I thought my ears were burning
886: [08:36:38] * ditinn quit ()
887: [08:38:49] * DesignerX quit (Quit: Konversation terminated!)
888: [08:42:41] * spronk quit (Ping timeout: 252 seconds)
889: [08:46:28] * ocm has joined #silverstripe
890: [08:46:36] <ocm> howdy!
891: [08:54:58] * guci0 has joined #silverstripe
892: [08:55:00] <guci0> Hello World!
893: [08:55:13] <Colin[pi]> hai ocm and guci0
894: [08:55:41] <Colin[pi]> simon_w: we should have a meetup, we'd have at least two SS devs from Canberra! ;p
895: [09:02:24] * UncleCheese has joined #silverstripe
896: [09:04:17] * spronk2 has joined #silverstripe
897: [09:08:26] * Shrike_Finland quit (Quit: Leaving.)
898: [09:13:34] * zippy__ quit (Quit: zippy__)
899: [09:28:26] <simon_w|air> Colin[pi], I know! Got a venue that'd work and stuff we can talk about? :p
900: [09:32:53] * Shrike_Finland has joined #silverstripe
901: [09:40:13] * Tanger quit (Quit: Tanger)
902: [09:41:45] * Tanger has joined #silverstripe
903: [09:44:18] * guci0 quit (Ping timeout: 240 seconds)
904: [09:46:21] * auto9_ has joined #silverstripe
905: [09:49:09] * auto9 quit (Ping timeout: 252 seconds)
906: [10:22:07] * Shrike_Finland quit (Quit: Leaving.)
907: [10:24:02] * guci0 has joined #silverstripe
908: [10:29:37] * Shrike_Finland has joined #silverstripe
909: [10:29:48] * spronk2 quit (Quit: spronk2)
910: [10:35:14] * travis-ci has joined #silverstripe
911: [10:35:14] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2625 (master - 0101423 : Ingo Schommer): The build passed.
912: [10:35:14] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/a5a390680fb1...010142396983
913: [10:35:14] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/26037916
914: [10:35:14] * travis-ci has left #silverstripe
915: [10:36:15] * Tanger quit (Quit: Tanger)
916: [10:36:40] * simon_w|air quit (Quit: This computer has gone to sleep)
917: [10:52:31] * anselmdk quit (Quit: anselmdk)
918: [11:03:44] * spronk2 has joined #silverstripe
919: [11:16:34] * Colin[pi] quit (Ping timeout: 276 seconds)
920: [11:32:48] * spronk2 quit (Quit: spronk2)
921: [12:02:02] * auto9 has joined #silverstripe
922: [12:02:41] * auto9_ quit (Ping timeout: 264 seconds)
923: [12:04:20] * UncleCheese quit (Quit: UncleCheese)
924: [12:21:05] * UndefinedOffset has joined #silverstripe
925: [12:38:18] * guci0 quit (Ping timeout: 240 seconds)
926: [13:01:22] * stefanhuber has joined #silverstripe
927: [13:02:54] <stefanhuber> Hi, i am developing a lot with silverstripe. And now faced a multilingual website for the first time, and found out about some weaknesses concerning gridfield and silverstripe-translatable
928: [13:03:44] <stefanhuber> i don't know how to translate dataobjects whitch are in a relation with objects of type SiteTree within the CMS
929: [13:03:59] <stefanhuber> has anybody an approach for that???
930: [13:06:48] * UncleCheese has joined #silverstripe
931: [13:17:14] <Zauberfisch> stefanhuber: I don't know of any weakness regarding translations in gridfield
932: [13:17:31] <Zauberfisch> stefanhuber: what is more likely is that you are facing problems with translations of dataobjects
933: [13:18:38] <Zauberfisch> stefanhuber: but if the dataobjects are in a relation with the sitetree object, there should be no issue what so ever. because silverstripe translatable creates a new sitetree for each translation, that means that each version of a language has a different ID. so if you add items in a gridfield, they will only be added to a single translation
934: [13:19:09] <Zauberfisch> thus, the gridfield doesn't need to do anything, because the data layer already takes care of the seperation
935: [13:24:05] <stefanhuber> hi Zauberfisch thx for your answer
936: [13:24:21] <stefanhuber> however i try to clarify
937: [13:25:02] <stefanhuber> https://github.com/silverstripe/silverstripe-translatable/issues/164
938: [13:25:21] <stefanhuber> i have documented my problem in the github issues of the translatable module
939: [13:26:29] <Zauberfisch> ah, ok, so the dataobject is translateable. never did that before
940: [13:26:32] <Zauberfisch> sounds like a bug then
941: [13:26:48] <stefanhuber> i cannot create or translate dataobjects which are in a relation with a sitetree object
942: [13:27:06] <Zauberfisch> do you really need to have the picture class translatable?
943: [13:27:09] <stefanhuber> the create translation button doesn't work in the dataobject view of the cms
944: [13:27:26] <stefanhuber> it is just an example
945: [13:27:33] <stefanhuber> i waited for that question ....
946: [13:27:42] <stefanhuber> i have for example menu -> dish
947: [13:27:48] <stefanhuber> and others ....
948: [13:28:04] <stefanhuber> i am building a cms for a hotel touch screen
949: [13:28:10] <stefanhuber> which is multilingual
950: [13:28:57] <Zauberfisch> stefanhuber: I can see how that question might anoy you, but I urge you to caqrefully consider it, because I suspect that getting translatable dataobjects to work might be quiet painful
951: [13:29:39] <stefanhuber> hmm, but the module claims, that this feature already exists
952: [13:29:48] <stefanhuber> so that's why i tried to use it
953: [13:31:03] <stefanhuber> how do you handle translations of this kind? this is a common case i would say?
954: [13:31:51] <Zauberfisch> hmmm
955: [13:32:14] <Zauberfisch> so the module claims that it works? what version are you using?
956: [13:32:41] <stefanhuber> The Introductions says: Allows translation of DataObject and SiteTree records into multiple languages.
957: [13:33:17] * anselmdk has joined #silverstripe
958: [13:34:25] * Shrike_Finland quit (Quit: Leaving.)
959: [13:35:29] * UncleCheese quit (Ping timeout: 255 seconds)
960: [13:35:34] <stefanhuber> i use ss 3.1 and installed the module with composer require "silverstripe/translatable:*"
961: [13:38:09] <Zauberfisch> have you tried 3.2?
962: [13:38:13] <Zauberfisch> might work there
963: [13:38:47] <Zauberfisch> but well, the translatable module says that Dataobjects work, it fails to mention that the interfaces for that are not working that well I guess ^^
964: [13:40:23] <stefanhuber> hm
965: [13:40:25] <stefanhuber> yes
966: [13:40:39] <stefanhuber> 3.2 is out... i didn't see that
967: [13:41:17] * babak has joined #silverstripe
968: [13:41:58] <Zauberfisch> it is?
969: [13:43:00] <Zauberfisch> as far as I know 3.2 has not been released yet. but if the feature you need works, it might be worth using anyway
970: [13:44:32] <stefanhuber> no it is not, :)
971: [13:48:24] * UncleCheese has joined #silverstripe
972: [13:52:47] * UncleCheese quit (Ping timeout: 245 seconds)
973: [13:55:52] * alexwijn has joined #silverstripe
974: [14:04:51] <alexwijn> Does anyone know where I can find a good module to upload pdf and download it in the same field?
975: [14:06:38] <alexwijn> I saw FileIFrameField...but that does not exists anymore in Silverstripe 3
976: [14:08:07] <ocm> what do you mean by upload and download from the same field?
977: [14:08:12] <ocm> like the UploadField?
978: [14:08:21] <alexwijn> Thas has an edit button
979: [14:08:32] <alexwijn> and you can't edit a PDF so it throws an error
980: [14:08:45] <alexwijn> So I want to replace the edit button with view or something
981: [14:08:46] <ocm> then remove the edit button?
982: [14:08:49] <alexwijn> how?
983: [14:08:57] <ocm> ss 3.1?
984: [14:09:00] <alexwijn> yes
985: [14:09:56] <ocm> http://api.silverstripe.org/3.1/source-class-UploadField.html#_setTemplateFileButtons
986: [14:10:32] <alexwijn> Nice
987: [14:10:42] <alexwijn> Any idea how to replace it with a view button
988: [14:10:47] <alexwijn> I only see replace, edit, remove and delete
989: [14:11:40] <ocm> by default it should be able to 'view' the file
990: [14:11:43] <ocm> which was uploaded
991: [14:12:54] <alexwijn> there is no view button
992: [14:12:58] <alexwijn> i only see the pdf icon
993: [14:15:38] <alexwijn> I guess I have to make a custom UploadField_FileButtons
994: [14:17:45] <ocm> I guess you have to extend it
995: [14:17:51] <ocm> perhaps you could use setDownloadTemplateName()
996: [14:18:08] <ocm> create a custom downloadtemplate which provides the pdf icon + download link from the file?
997: [14:18:53] <alexwijn> For some odd reason it does not use the template that I set with setTemplateFileButtons
998: [14:18:55] <Zauberfisch> stefanhuber: any progress?
999: [14:19:18] <alexwijn> I still have the old buttons
1000: [14:19:51] <ocm> alexwijn got any code with that?
1001: [14:20:10] <alexwijn> (new \UploadField('ProfileImage', 'Afbeelding'))->setCanAttachExisting(false)->setCanPreviewFolder(false)->setTemplateFileButtons('UploadField_PDFButtons')
1002: [14:20:19] <alexwijn> Oeps
1003: [14:20:29] <alexwijn> I should use the field below that :)
1004: [14:20:37] <alexwijn> Ah working now
1005: [14:20:40] <ocm> alexwijn, use $field = UploadField::create()
1006: [14:20:41] <alexwijn> I set it on the wrong field
1007: [14:20:51] <ocm> still, see above ;P
1008: [14:20:56] <ocm> but nice that it is working!
1009: [14:21:42] <alexwijn> Now I need to have it link to the download url
1010: [14:26:07] <alexwijn> $UploadField.URL returns empty
1011: [14:27:56] <stefanhuber> Zauberfisch: unfortunately not ... i carried on with something else meanwhile
1012: [14:28:53] <Zauberfisch> stefanhuber: so, lets jump back to the question if you really need the dataobjects translated one last time
1013: [14:28:58] <Zauberfisch> perhaps that is a solution
1014: [14:29:14] <stefanhuber> yeah of corse
1015: [14:29:26] <stefanhuber> translating sitetree objects works fine
1016: [14:29:30] <Zauberfisch> I am not sure you understand what it means to say the dataobjects are not translated
1017: [14:29:39] <Zauberfisch> it only means, that there is no translation extension on it
1018: [14:30:15] <stefanhuber> ahh you mean that if i had forgotton to add the dataextension in the yml config ... nope
1019: [14:30:20] <Zauberfisch> but if sitetree is already translated, and the dataobjects are attached to that sitetree object, they will only show up for that single page in that single language
1020: [14:30:32] <Zauberfisch> no, not what I mean :P
1021: [14:30:53] <stefanhuber> yes thats clear
1022: [14:31:23] <stefanhuber> then i have two options: either create new dataobject via gridview, or translate the the dataobjects in the translations tab
1023: [14:31:24] <Zauberfisch> creating a "translate this dataobject" button, should be fairly easy on your own
1024: [14:31:29] <stefanhuber> both don't work
1025: [14:31:35] <Zauberfisch> no
1026: [14:31:52] <stefanhuber> hm ok
1027: [14:31:57] <Zauberfisch> if I am not mistaken that only happens when you have translatable
1028: [14:32:09] <Zauberfisch> if you don't have translatable, it has not translate button
1029: [14:32:34] <stefanhuber> yes that's right
1030: [14:32:37] <Zauberfisch> again, I think you miss understand what it means to say "no translatable" on dataobject
1031: [14:32:49] <stefanhuber> aha
1032: [14:32:49] <Zauberfisch> may I recommend you simply try it? and see the result
1033: [14:33:03] <Zauberfisch> just to make sure we don't missunderstand each other
1034: [14:33:25] <alexwijn> How to debug variables at the template side?
1035: [14:33:46] <stefanhuber> ok i remove translatable extension from one of the dataobjects i want to translate and try it ?
1036: [14:34:01] <Zauberfisch> yes
1037: [14:34:08] <Zauberfisch> don't forget to rebuild the database and flush
1038: [14:36:28] <stefanhuber> Zauberfisch: ok that works
1039: [14:36:58] <Zauberfisch> you see now, you can create dataobjects for all translations
1040: [14:37:02] <Zauberfisch> and they are separated
1041: [14:37:12] <stefanhuber> i get separat dataobjects which are in relation to sitetree objects
1042: [14:37:17] <stefanhuber> mhm
1043: [14:37:35] <stefanhuber> if there wouldn't be the need for api access
1044: [14:38:35] <stefanhuber> but i can handle this! greate thx for your advice so far!
1045: [14:39:50] <Zauberfisch> I don't see how api would be a problem here
1046: [14:40:25] <stefanhuber> hmm yes the calls are language sensitive
1047: [14:40:46] <stefanhuber> i can add ?locale=en_US to filter the results by language
1048: [14:41:04] <stefanhuber> however i can do this via relations for hopefully most cases
1049: [14:44:09] * UncleCheese has joined #silverstripe
1050: [14:44:23] <Zauberfisch> yeah
1051: [14:44:31] <Zauberfisch> you can make your api do something like
1052: [14:44:46] <Zauberfisch> GET /somepage/13/dataobjects
1053: [14:45:13] <Zauberfisch> if 13 is the ID of the page in de_DE, then you would get the DE dataobjects
1054: [14:45:23] <Zauberfisch> GET /somepage/14/dataobjects
1055: [14:45:44] <Zauberfisch> lets assume 14 is the translated EN version of 13, now you would get the dataobjects of EN
1056: [14:45:59] <Zauberfisch> somepage/14 is some random route I made up now obviously
1057: [14:46:11] <Zauberfisch> where somepage is actually the controller
1058: [14:46:21] <Zauberfisch> sort of a bad name I picked there
1059: [14:47:37] <stefanhuber> yeah absolutely i use it like that
1060: [14:48:04] <stefanhuber> do you have experience with the GridView ?
1061: [14:48:14] <Zauberfisch> if you mean GridField then yes
1062: [14:48:21] <stefanhuber> ahh yeah
1063: [14:48:40] <stefanhuber> i did android programming in the morning so i mixed up everything ...
1064: [14:49:22] <stefanhuber> i have the component: GridFieldAddExistingAutocompleter
1065: [14:51:44] <stefanhuber> i have problems to configure it for the case that i want to query the MenuTitle of the following: BasePage extends ActivityPage, BasePage extends PlacesPage
1066: [14:52:36] <stefanhuber> i have a page called NavigationCategory, where i have a Gridfield in getCMSFields() where i want to manage the has_many relation: 'Links' => 'BasePage'
1067: [14:53:14] <stefanhuber> objects which are instances of extensions of BasePage don't show up
1068: [14:53:20] <stefanhuber> is this not possible
1069: [14:53:21] <stefanhuber> ?
1070: [14:54:01] <stefanhuber> out of the box, i mean
1071: [14:56:13] * UncleCheese quit (Ping timeout: 240 seconds)
1072: [15:00:14] <Zauberfisch> BasePage extends ActivityPage, BasePage extends
1073: [15:00:15] <Zauberfisch> PlacesPage
1074: [15:00:22] <Zauberfisch> this is not possible in php
1075: [15:00:29] <stefanhuber> ahh i am an idiot sorry
1076: [15:00:30] <Zauberfisch> do you mean it the other way around?
1077: [15:00:33] <stefanhuber> yes
1078: [15:00:56] <Zauberfisch> the girdfield component should work
1079: [15:01:15] <stefanhuber> $config = GridFieldConfig_RelationEditor::create(); $config->getComponentByType('GridFieldAddExistingAutocompleter')->setSearchFields(array('MenuTitle:PartialMatch'))->setResultsFormat('$MenuTitle');
1080: [15:01:15] <Zauberfisch> are you getting an error? or just seeing other pages but not the ones you are search for?
1081: [15:01:25] <stefanhuber> i see nothing
1082: [15:01:33] <Zauberfisch> no pages what so ever?
1083: [15:01:34] <stefanhuber> only for BasePages
1084: [15:01:46] <stefanhuber> in the suggestions i only see BasePage objects
1085: [15:02:29] <stefanhuber> not from descendant class instances
1086: [15:02:55] <Zauberfisch> hmm
1087: [15:03:14] <Zauberfisch> sounds like a bug, it should find subclasses as well
1088: [15:03:24] <Zauberfisch> but perhaps you can use a trick here
1089: [15:03:57] <stefanhuber> $config = GridFieldConfig_RelationEditor::create(); $config->getComponentByType('GridFieldAddExistingAutocompleter')->setSearchFields(array('Title:PartialMatch'));
1090: [15:04:02] <stefanhuber> this works fine however
1091: [15:04:35] <Zauberfisch> you can set wait, so it starts to break once you se the result format?
1092: [15:05:05] <Zauberfisch> - "you can set"
1093: [15:05:09] <stefanhuber> aha, wait
1094: [15:05:21] <stefanhuber> Debug:: something?
1095: [15:05:32] <stefanhuber> i never used wait...
1096: [15:06:57] <Zauberfisch> woot?
1097: [15:08:25] <stefanhuber> sorry, i didn't understand what you mean by "you can set wait"
1098: [15:09:53] <Zauberfisch> yeah, I was starting to type, than erased it again to write something else, but it did not erease all of it
1099: [15:11:59] <stefanhuber> Zauberfisch: are you austrian by the way?
1100: [15:13:11] <Zauberfisch> yes
1101: [15:13:22] <stefanhuber> :) me too ...
1102: [15:16:28] <alexwijn> I'm unable to get the DateField working with a calandar
1103: [15:16:35] <alexwijn> I used this snipper code
1104: [15:16:35] <alexwijn> http://stackoverflow.com/questions/8653443/silverstripe-how-to-use-calendar-on-datefields-with-custom-form-template
1105: [15:16:40] <alexwijn> But it still does not work
1106: [15:16:46] <alexwijn> All I get is a plain text field
1107: [15:17:00] <Zauberfisch> stefanhuber: I have to leave now, but I will be online again later today and tomorrow
1108: [15:18:06] <stefanhuber> great to meet you, thx for your help so far!!!
1109: [15:18:13] <stefanhuber> have a nice day!
1110: [15:19:36] <Zauberfisch> stefanhuber: also, if you are from austria, you might be interested in http://www.meetup.com/SilverStripe-Austria/
1111: [15:20:33] <stefanhuber> Zauberfisch: unfortunately i am from the west end... 5h away from vienna
1112: [15:23:29] <alexwijn> Nvm, got it working....the custom form did not had the class text
1113: [15:29:34] * ARNHOE_ has joined #silverstripe
1114: [15:29:44] * ARNHOE_ quit (Client Quit)
1115: [15:30:16] * nchlssmith1 has joined #silverstripe
1116: [15:32:59] * ARNHOE quit (Ping timeout: 252 seconds)
1117: [15:46:32] * anselmdk quit (Quit: anselmdk)
1118: [15:54:48] * stefanhuber quit (Ping timeout: 240 seconds)
1119: [16:10:27] <alexwijn> Does DateField not support the jquery ui changeMonth config?
1120: [16:12:24] * auto9 quit (Remote host closed the connection)
1121: [16:15:55] * ocm quit (Read error: Connection reset by peer)
1122: [16:35:39] <alexwijn> How force UploadField to generate a own filename
1123: [16:35:48] <alexwijn> so you can upload files of the same name
1124: [16:37:20] * auto9 has joined #silverstripe
1125: [16:40:11] * auto9 quit (Read error: Connection reset by peer)
1126: [16:41:09] * auto9 has joined #silverstripe
1127: [16:47:45] * robert_ has joined #silverstripe
1128: [16:47:45] * robert_ quit (Changing host)
1129: [16:47:45] * robert_ has joined #silverstripe
1130: [16:49:26] * robert_ quit (Max SendQ exceeded)
1131: [16:52:27] * robert_ has joined #silverstripe
1132: [16:55:25] * stefanhuber has joined #silverstripe
1133: [16:58:22] <alexwijn> Does nobody that?
1134: [16:58:25] <alexwijn> know*
1135: [17:02:40] <Zauberfisch> alexwijn: bug, not possible in 3.1.x
1136: [17:02:45] <Zauberfisch> fixed in 3.2 I believe
1137: [17:02:46] <alexwijn> oh
1138: [17:03:00] <alexwijn> I guess we have to live with it for now
1139: [17:03:08] <Zauberfisch> see
1140: [17:03:10] <Zauberfisch> https://github.com/silverstripe/silverstripe-framework/issues/2904
1141: [17:03:29] <alexwijn> Not exacly the bug I mean
1142: [17:03:30] <Zauberfisch> and a couple of more lined issues
1143: [17:03:48] <alexwijn> I was talking about upload a file that has the same name
1144: [17:03:54] <alexwijn> Not using the replace button
1145: [17:04:30] <Zauberfisch> same bug, differnt usecase
1146: [17:04:54] <Zauberfisch> or at least, all related
1147: [17:05:15] <Zauberfisch> there where a hand full of tickets, all about overwriting files
1148: [17:05:57] <alexwijn> I see
1149: [17:06:33] <Zauberfisch> and if I am not mistaken, your problem is fixed with #3048
1150: [17:06:34] <Zauberfisch> https://github.com/silverstripe/silverstripe-framework/pull/3048
1151: [17:06:54] <Zauberfisch> as it is already merged, you might want to try out 3.2
1152: [17:06:57] <alexwijn> about 7 hours ago
1153: [17:06:58] <alexwijn> :)
1154: [17:07:07] <alexwijn> ok
1155: [17:07:24] <Zauberfisch> indeed, not that long, lucky you I guess :P
1156: [17:08:31] <alexwijn> LeftAndMain::setApplicationName is deprecated.
1157: [17:08:32] <alexwijn> Really
1158: [17:08:34] <alexwijn> great
1159: [17:08:47] <alexwijn> another error
1160: [17:08:47] <alexwijn> $allowed_actions must be marked as private
1161: [17:08:59] <alexwijn> I can fix the last one :)
1162: [17:09:11] <alexwijn> Where do I need to put the application name now?
1163: [17:09:51] <Zauberfisch> yml config
1164: [17:10:24] <Zauberfisch> LeftAndMain:
1165: [17:10:27] * gelignite has joined #silverstripe
1166: [17:10:31] <Zauberfisch> application_name: 'fooobar'
1167: [17:10:37] <alexwijn> ok thanks
1168: [17:11:23] <alexwijn> Those errors should be fixed too
1169: [17:11:30] <alexwijn> Config static QRecruitment\ProfilePage_Controller::$allowed_actions must be marked as private. Called from .
1170: [17:11:36] <alexwijn> Called from what?
1171: [17:12:07] <Zauberfisch> some reflection class probably. doesn't matter
1172: [17:12:11] <Zauberfisch> just make it private ;=
1173: [17:12:14] <Zauberfisch> ;)
1174: [17:12:20] <alexwijn> :)
1175: [17:14:55] <alexwijn> hm
1176: [17:14:58] <alexwijn> now i cant upload files
1177: [17:15:44] <Zauberfisch> just to be save, do a flush and a dev build
1178: [17:15:54] <Zauberfisch> flush in both, /dev/build and in /admin
1179: [17:17:58] <alexwijn> Same
1180: [17:18:19] <alexwijn> /mijn-profiel/VacancyForm/field/ProfileImage/upload
1181: [17:18:22] <alexwijn> He cant find it
1182: [17:18:27] <Zauberfisch> hmm
1183: [17:18:42] <Zauberfisch> oh, a front end form
1184: [17:18:52] <Zauberfisch> uhm
1185: [17:18:52] <alexwijn> yes
1186: [17:19:00] <alexwijn> Never mind
1187: [17:19:01] <alexwijn> got it fixed
1188: [17:19:03] <Zauberfisch> you did set allowed actions correctly?
1189: [17:19:22] <alexwijn> I renamed the form less than a hour back
1190: [17:19:32] <Zauberfisch> (:
1191: [17:19:48] <alexwijn> But I can now upload files that were already uploaded:)
1192: [17:19:56] <Zauberfisch> yay
1193: [17:20:03] <alexwijn> Is it possible to remove the old one automaticly?
1194: [17:20:33] <Zauberfisch> i thought you wanted to have both? :O
1195: [17:21:07] <alexwijn> I mean that as good thing
1196: [17:21:13] <alexwijn> I can upload files that has the same name
1197: [17:21:16] <alexwijn> thats good
1198: [17:21:54] <alexwijn> nvm
1199: [17:22:01] <alexwijn> Users just need to click remove :)
1200: [17:22:03] <alexwijn> then upload it again
1201: [17:24:17] <alexwijn> Sometimes I ask a question on a problem that sometimes is not even a problem :)
1202: [17:24:36] <Zauberfisch> ah, now I see what you mean
1203: [17:24:45] <Zauberfisch> put the following in your yml config file:
1204: [17:24:47] <Zauberfisch> Upload:
1205: [17:24:58] <Zauberfisch> no
1206: [17:24:59] <Zauberfisch> wront one
1207: [17:25:08] <alexwijn> :)
1208: [17:26:00] <Zauberfisch> ok, nvm
1209: [17:26:05] <Zauberfisch> don't know an answer here
1210: [17:26:33] <alexwijn> Its ok
1211: [17:26:47] <alexwijn> They only have to option to view or delete it
1212: [17:26:50] <alexwijn> so no issue :)
1213: [17:27:31] <alexwijn> And I love less btw :)
1214: [17:27:39] <alexwijn> saves a lot of time if you work with bootstrap
1215: [17:28:11] <Zauberfisch> I like scss + compass better :P
1216: [17:28:18] <Zauberfisch> and I disslike bootstrap :P
1217: [17:28:34] <alexwijn> why?
1218: [17:29:15] <alexwijn> I choose LESS because bootstrap is using it too
1219: [17:29:40] <Zauberfisch> scss because I like the syntax better, compass for all its fancy features, like all the image magic
1220: [17:30:31] <Zauberfisch> I dislike bootstrap because it is to inflexible. its great to get up a quick site, where you stick to how bootstrap things look, but if you do a lot of custom design, bootstrap tends to stand more in the way than help
1221: [17:30:45] <Zauberfisch> I don't like having to remove 50% of a framework before I can use it
1222: [17:30:53] <alexwijn> Well I'm not a designer :)
1223: [17:31:28] <Zauberfisch> nor am I, I am a sofware developer, I don't even know how to slice something in photoshop
1224: [17:31:44] <Zauberfisch> the best I can do is cut images in paint.net or pinta
1225: [17:32:04] <alexwijn> Select it, click on merge copy, create new image and paste it...you got the first component :)
1226: [17:32:43] <alexwijn> Quick question: can you restrict the frontend user to only show his own images that he uploaded once his clicks "Use existing file"
1227: [17:34:14] <Zauberfisch> not out of the box, no
1228: [17:34:19] <Zauberfisch> this feature is not supported
1229: [17:34:29] <Zauberfisch> however, you might want to create an issue for that
1230: [17:34:56] <alexwijn> Alright
1231: [17:35:20] <alexwijn> On git or on http://open.silverstripe.org/?
1232: [17:35:35] <Zauberfisch> if you do create a ticket, I might be persuaded to show you how to build it yourself
1233: [17:35:43] <alexwijn> Oh never mind, saw the frontpage article :)
1234: [17:35:51] <alexwijn> Alright
1235: [17:35:59] <Zauberfisch> on github.com/silverstripe/silverstripe-framework
1236: [17:38:28] <alexwijn> https://github.com/silverstripe/silverstripe-framework/issues/3161
1237: [17:44:16] <alexwijn> You see it
1238: [18:08:58] * kosepusen has joined #silverstripe
1239: [18:11:45] <kosepusen> i have strange utf-8 issues in my .ss file - but only in the text I type into the .ss file (not the data i load via params)
1240: [18:23:24] <Zauberfisch> alexwijn: https://github.com/silverstripe/silverstripe-framework/issues/3161
1241: [18:25:45] <alexwijn> Thanks
1242: [18:29:53] * alexwijn quit (Remote host closed the connection)
1243: [18:32:59] * stefanhuber quit (Quit: Page closed)
1244: [18:34:36] * auto9 quit (Read error: Connection reset by peer)
1245: [18:36:22] * auto9 has joined #silverstripe
1246: [19:00:52] * kosepusen quit (Quit: Page closed)
1247: [19:05:42] * jennifer has joined #silverstripe
1248: [19:05:47] <jennifer> this won't run my else:
1249: [19:05:48] <jennifer> <% if $ContactForm %> $ContactForm($CarId) <% else %> <p>Thank you!</p> <% end_if %>
1250: [19:06:06] * jennifer is now known as Guest54990
1251: [19:06:17] <Guest54990> if -- works fine, it won't print the form - but it won't print the else statement
1252: [19:10:36] * UncleCheese has joined #silverstripe
1253: [19:14:43] * UncleCheese quit (Ping timeout: 240 seconds)
1254: [19:21:30] <Guest54990> anyone here ...?
1255: [19:22:15] <Zauberfisch> Guest54990: yes
1256: [19:23:00] <Guest54990> i am having issues with utf-8... won't work on the text i output from my .ss file
1257: [19:23:48] <Zauberfisch> saved files with wrong encoding?
1258: [19:24:00] <Zauberfisch> set wrong charset in html/http?
1259: [19:25:20] <Guest54990> encoding works for data from an array print on screen, so i think my html encoding is right
1260: [19:25:59] <Guest54990> using firefox ftp, not sure that is changing the encoding on transfer, but i can check, thanks
1261: [19:26:12] <Guest54990> http://development.jenniferstrand.com/solberg/bruktbiler/car/47953196
1262: [19:26:42] <Zauberfisch> Guest54990: then you need to specify more information/details about your problem
1263: [19:27:06] <Guest54990> on this page, you can see in the form title, for example, i have the wrong encoding
1264: [19:27:16] <Guest54990> that is simply text i put into my .ss file
1265: [19:27:33] <Guest54990> but other places on the page, in the list of accessories, its fine
1266: [19:29:35] <Guest54990> sorry, the page was broke, not it is fixed :: http://development.jenniferstrand.com/solberg/bruktbiler/car/47953196
1267: [19:57:37] * Guest54990 quit (Quit: Page closed)
1268: [20:15:54] * mobiusnz quit (Quit: Leaving.)
1269: [20:16:46] * UndefinedOffset quit (Quit: Leaving.)
1270: [20:17:33] * Kingy[a] is now known as Kingy
1271: [20:17:38] <Kingy> morning
1272: [20:20:48] * mobiusnz has joined #silverstripe
1273: [20:27:29] * Kingy has left #silverstripe
1274: [20:32:30] * Kingy has joined #silverstripe
1275: [20:34:30] * Azure quit (Remote host closed the connection)
1276: [20:35:15] * Azure has joined #silverstripe
1277: [20:43:33] * auto9 quit (Read error: Connection reset by peer)
1278: [20:44:05] * auto9_ has joined #silverstripe
1279: [20:46:08] * Ryan-Toast has joined #silverstripe
1280: [20:47:57] * an_Eskimo has joined #silverstripe
1281: [20:48:27] * mediacorpjack has joined #silverstripe
1282: [20:53:52] <nchlssmith1> what do i do if my page is not using any <pagetype>.ss
1283: [20:53:58] <Ryan-Toast> mmm get into work and the heatpumps are on. Good times.
1284: [20:54:09] <Ryan-Toast> nchlssmith1: On purpose?
1285: [20:55:26] <nchlssmith1> no I though I could create VideoPage extends Page and then use the template in the Layout folder VideoPage.ss
1286: [20:55:57] <nchlssmith1> that is what the tuturial says but its not using the VideoPage.ss
1287: [20:56:14] <nchlssmith1> so I check every *.ss file to see which file it is using and no dice.
1288: [20:56:34] <nchlssmith1> so I delete all them still cant figure out what *.ss file it is using
1289: [20:58:04] <nchlssmith1> Is that what I do create VideoPage.php with class VideoPage extends Page then create VideoPage.ss in the templates/Layout folder?
1290: [20:58:04] <Ryan-Toast> nchlssmith1: If you add a new .ss file you need to do a flush
1291: [20:58:12] <nchlssmith1> yes multiple times
1292: [20:58:27] <nchlssmith1> is there a special flush I should do?
1293: [20:58:38] <nchlssmith1> I tried ?flush=1
1294: [20:59:23] <nchlssmith1> On the positive side I got the data to store from yesterday. =)
1295: [21:01:29] <auto9_> if you add ?showtemplate=1 to your url SS will show you the compiled template
1296: [21:01:54] <nchlssmith1> auto9_: excellent thank you
1297: [21:04:00] <nchlssmith1> its the framework/template/controller.ss
1298: [21:04:15] <nchlssmith1> does anyone know what ?stage=Stage means
1299: [21:04:24] * antmas has joined #silverstripe
1300: [21:04:28] <nchlssmith1> is it a problem?
1301: [21:04:33] <nchlssmith1> or should I ignore it
1302: [21:14:32] <Stomach> nchlssmith1 - you need to have a VideoPage_Controller defined
1303: [21:14:44] <Stomach> the template engine is controlled by the controller, not the model
1304: [21:14:57] <Ryan-Toast> Stomach: Started reading Wool.
1305: [21:15:26] <antmas> has anyone used the 'hide/show' functionality from userforms for regular forms?
1306: [21:16:04] <Stomach> Ryan-Toast - enjoying it thus far?
1307: [21:17:28] <Kingy> has anyone used the Chronos module before?
1308: [21:17:29] <Ryan-Toast> Stomach: I read the first one, and it was good. Are they all just little short stries?
1309: [21:18:11] * irogue_ has joined #silverstripe
1310: [21:18:13] * nchlssmith1 quit (Ping timeout: 240 seconds)
1311: [21:19:05] * auto9_ quit (Quit: AndroidIrc Disconnecting)
1312: [21:19:23] * auto9 has joined #silverstripe
1313: [21:22:39] * unclecheese has joined #silverstripe
1314: [21:22:58] <irogue_> mornin' unclecheese
1315: [21:23:05] <unclecheese> hiya
1316: [21:26:24] <antmas> unclecheese: howdy
1317: [21:26:27] <antmas> and howdy all
1318: [21:26:27] <antmas> :D
1319: [21:26:47] <unclecheese> hi
1320: [21:27:20] <irogue_> good morning antmas :)
1321: [21:27:35] * Colin[pi] has joined #silverstripe
1322: [21:29:05] <antmas> irogue_: harrow!
1323: [21:29:12] <antmas> irogue_: you singed up for WDCNZ yet?
1324: [21:29:15] <irogue_> g'day Colin[pi]!
1325: [21:29:21] <Colin[pi]> HAI2U
1326: [21:29:27] <irogue_> antmas: haven't had the cash :(
1327: [21:29:31] <antmas> guts
1328: [21:29:33] <antmas> :(
1329: [21:31:06] <Colin[pi]> anyone else from in here going antmas?
1330: [21:31:26] <Colin[pi]> ss23 isn't because it's too hipster for him
1331: [21:31:57] <antmas> Colin[pi]: don't think so :(
1332: [21:32:08] <Colin[pi]> just us two? how romantic <#
1333: [21:32:10] <Colin[pi]> <3
1334: [21:32:13] <antmas> also, I just realised Tanya Gray is speaking
1335: [21:32:30] <antmas> I;ve met her and she reminds me so much of that overly attached gf
1336: [21:32:31] <Colin[pi]> hmm let me see the page, haven't looked for a while
1337: [21:32:32] <antmas> :P
1338: [21:32:54] <Colin[pi]> heh she does have a resemblance
1339: [21:33:14] <Colin[pi]> cool now they have the full program there
1340: [21:33:27] <irogue_> antmas: i'll try and get SS to give me an advance on my pay so i can book a ticket
1341: [21:33:42] <antmas> irogue_: :D
1342: [21:33:46] <Ryan-Toast> Ryan isn’t going because it went up in price.
1343: [21:33:51] <Stomach> Ryan-Toast - they are all the same lengthish
1344: [21:34:05] <Colin[pi]> early bird tickets ftw :D
1345: [21:34:09] <irogue_> Stomach: no, they vary a lot, trust me
1346: [21:34:13] <irogue_> Stomach: wait, what are we talking about?
1347: [21:34:18] <Stomach> Ryan-Toast - books
1348: [21:34:24] <Stomach> irogue- books
1349: [21:34:30] <Stomach> irogue_ books
1350: [21:34:31] <Stomach> !!!
1351: [21:34:39] <Ryan-Toast> boobksbooksbooks
1352: [21:34:41] <irogue_> oh :P
1353: [21:35:07] <antmas> short stories ftw
1354: [21:35:17] <antmas> people should read them more - highly underrated
1355: [21:35:26] <Ryan-Toast> Stomach: I think I’ll start readinbg a series, and swap in between them.
1356: [21:35:43] <Ryan-Toast> Stomach: When I have a spare hour or kso, just read a Wool story.
1357: [21:36:21] <Stomach> I got the omnibus so just read all of it at once
1358: [21:36:32] <Stomach> 60% through the last book of the series now :S
1359: [21:36:53] <antmas> Ryan-Toast: link to this series?
1360: [21:37:20] * auto9 quit (Read error: Connection reset by peer)
1361: [21:39:45] <Ryan-Toast> It’s not really a series.
1362: [21:39:47] * auto9 has joined #silverstripe
1363: [21:39:54] <Ryan-Toast> Just short stories in the same world.
1364: [21:40:42] <Ryan-Toast> It’s under my currently reading: https://www.goodreads.com/review/list/16772158-ryan-potter?shelf=currently-reading
1365: [21:43:06] <Stomach> its totally a series
1366: [21:43:14] <Stomach> :P
1367: [21:43:32] <Stomach> all the stories are linked together and come out in the final book
1368: [21:43:35] <Stomach> series :D
1369: [21:45:26] <Ryan-Toast> Stomach: Oh, I didn’t know that :P
1370: [21:49:29] <Kingy> Hey guys. Looking through some code. There is a hook onAfterWrite calling a method called updateSchedule. It's setting an identifier to $this->ID which is coming back as null. is $this->ID even a thing?
1371: [21:51:07] <simon_w> Kingy, in a DataExtension, no. It's $this->owner->ID
1372: [21:52:03] <Kingy> dataobject?
1373: [21:52:36] <simon_w> In a DataObject, $this->ID is only null before it's written for the first time
1374: [21:55:22] <Stomach> so in an onAfterWrite it shouldn't be null ?
1375: [21:55:42] <Kingy> ah actually no it's not null
1376: [21:55:45] <Kingy> ignore lol
1377: [21:56:41] <antmas> is there anywhere in this regex where rounding or selecting decimal places is going on? http://www.sspaste.com/paste/show/5383b5102ac18
1378: [21:59:31] <simon_w> antmas, yes. In the first pattern, it'll match 0, 1 or 2. In the second, 1 or 2
1379: [22:00:32] <antmas> simon_w: right, so would that be causing the output to say 2.6 to instead of the entered 2.60?
1380: [22:00:53] * unclecheese quit (Quit: unclecheese)
1381: [22:01:00] <simon_w> antmas, shouldn't
1382: [22:01:06] <antmas> hmmm
1383: [22:02:19] <simon_w> antmas, is this being pulled from the database? Being cast to a float?
1384: [22:03:36] <Stomach> argh I hate it how google removes backspace functionality on its pages
1385: [22:04:16] <antmas> simon_w: yeah I believe so
1386: [22:04:26] <simon_w> Well, casting to a float would do it
1387: [22:06:27] <antmas> simon_w: it's a currency field, so yeah
1388: [22:06:43] <simon_w> number_format it!
1389: [22:06:54] <antmas> simon_w: aaawwww yeah
1390: [22:07:00] <Kingy> gah no wonder this thing doesn't work
1391: [22:07:09] <Kingy> the sapphire folder was renamed to framework at some point correct?
1392: [22:07:13] <simon_w> Kingy, yes
1393: [22:07:22] * simon_w did that!
1394: [22:07:33] <Kingy> nice
1395: [22:07:38] <Stomach> but how can we compare to ruby anymore :(
1396: [22:08:02] <Kingy> well someone missed it when upgrading and now the chronos scheduler doesn't work
1397: [22:08:33] <simon_w> As in there's a sapphire and framework folder? Or it's still called sapphire?
1398: [22:08:48] <Kingy> no it's called framework but sapphire is still being referenced
1399: [22:09:40] <antmas> simon_w: thanks, sorted
1400: [22:09:43] <antmas> :D
1401: [22:14:38] <Ryan-Toast> Would someone mind telling me if line 14 is okay, I don’t know why but I feel iffy about it: https://github.com/Rhym/ss_boilerplate/blob/master/Boilerplate/code/Modules/GoogleFonts/code/extensions/GoogleFontPageExtension.php
1402: [22:15:31] * Kingy is now known as Kingy[a]
1403: [22:16:49] <antmas> Ryan-Toast: what's your intent there?
1404: [22:17:08] <Ryan-Toast> remove google font variants from the string
1405: [22:17:09] * unclecheese has joined #silverstripe
1406: [22:17:24] <Ryan-Toast> they’re always fontName:variants
1407: [22:17:59] <antmas> Ryan-Toast: if that's the case (as in doesn't change), that would be OK
1408: [22:18:14] * antmas covers face incase he's very wrong
1409: [22:19:09] <Stomach> you don't use the result anywhere?
1410: [22:19:16] <Ryan-Toast> substr doesn’t throw an error if it can’t find the needle, does it?
1411: [22:19:57] <Stomach> "Returns the extracted part of string; or FALSE on failure, or an empty string."
1412: [22:20:14] <Ryan-Toast> yay
1413: [22:20:42] <Ryan-Toast> Interesting to see how often Google updates their fonts.
1414: [22:21:39] <Ryan-Toast> I save the json request to a .txt file, and have it update once a week. And heaps of shit changes each time.
1415: [22:22:58] <Ryan-Toast> yay, works fine http://webdough.co.nz/~boilerpl
1416: [22:23:18] <Stomach> urrrrrgh
1417: [22:23:30] <Stomach> so ... pretty?
1418: [22:23:35] <Ryan-Toast> Lol, not really.
1419: [22:23:38] <Ryan-Toast> But it works.
1420: [22:23:40] <antmas> is that like if a retard wrote comic sans?
1421: [22:23:48] <Ryan-Toast> ha
1422: [22:23:50] <Stomach> retardsans :D
1423: [22:23:55] <antmas> LOL
1424: [22:23:57] <Colin[pi]> hahaha
1425: [22:24:05] <Ryan-Toast> Need to make a module that adds all inline CSS to a file.
1426: [22:24:28] <antmas> Ryan-Toast: where is that font set?
1427: [22:24:33] <Ryan-Toast> back end
1428: [22:24:35] <antmas> vars?
1429: [22:24:47] <antmas> ah
1430: [22:25:11] <Ryan-Toast> well cms
1431: [22:27:08] <Ryan-Toast> antmas: http://i.imgur.com/roR8X9F.jpg
1432: [22:27:36] <Ryan-Toast> Coming Soon is the name of the font, btw.
1433: [22:27:37] <antmas> Ryan-Toast: yeah I remembered that
1434: [22:27:45] <Colin[pi]> aw dude your screen is all smudgey you'll wanna get that cleaned
1435: [22:27:49] <antmas> just didn't know you were working on that because... ^^^ that lol
1436: [22:28:04] * antmas sees Coming Soon
1437: [22:28:07] <Ryan-Toast> YOU WOULD KNOW, IF YOU LOOKED AT THE ISSUES IN GITHUB
1438: [22:28:10] * antmas rubs hands
1439: [22:28:17] <antmas> Ryan-Toast: lol
1440: [22:28:19] <antmas> Ryan-Toast: SORRY
1441: [22:28:23] <Ryan-Toast> SO SLACK
1442: [22:28:27] <Ryan-Toast> :P
1443: [22:28:40] <Colin[pi]> he bitched about you literally all day yesterday antmas
1444: [22:28:42] <Colin[pi]> all
1445: [22:28:43] <Colin[pi]> fucking
1446: [22:28:43] <Colin[pi]> day
1447: [22:28:46] <Stomach> literally all day
1448: [22:28:47] <Ryan-Toast> all.fucking.day
1449: [22:28:47] <antmas> you know the longer you wait, the more awesome the list will be
1450: [22:28:50] <Stomach> all day
1451: [22:28:51] <Ryan-Toast> :P
1452: [22:29:01] <antmas> guis
1453: [22:29:03] <Ryan-Toast> I still have four things in my list https://github.com/Rhym/ss_boilerplate/issues?page=1&state=open
1454: [22:29:04] <antmas> ;____;
1455: [22:29:11] <antmas> I had too much work yesterday
1456: [22:29:17] <antmas> no time for IRC
1457: [22:29:18] <antmas> :P
1458: [22:29:30] <Stomach> thats a lie
1459: [22:29:34] <Stomach> IRC comes before work
1460: [22:29:39] <antmas> lol
1461: [22:29:55] <Colin[pi]> IRC 4 LYFE
1462: [22:30:00] <antmas> Ryan-Toast: cross 2 off my list then :P
1463: [22:30:10] <antmas> events cal and mega menu
1464: [22:30:42] <Colin[pi]> mega menu sounds like something from capcom
1465: [22:31:04] <Ryan-Toast> MEGGGGAAA MENU. FIGHT!
1466: [22:31:17] <Stomach> ududlrlrbas?
1467: [22:31:26] * nickmolhoek has joined #silverstripe
1468: [22:31:30] * antmas reads Mega Menu in the UT announcer voice
1469: [22:33:02] * spronk has joined #silverstripe
1470: [22:35:12] * unclecheese quit (Quit: unclecheese)
1471: [22:35:25] <Colin[pi]> antmas: M M M M M MEGA MENU
1472: [22:35:57] <antmas> ooooooh
1473: [22:36:07] <antmas> Coupland's Bakery stuff on the desk next to me
1474: [22:36:15] * Ryan-Toast just had a Cam girl add eme on skype. The fuck.
1475: [22:36:19] <Ryan-Toast> well, a bot
1476: [22:37:12] <Colin[pi]> Ryan-Toast: it picks up on your browsing history
1477: [22:37:25] <Ryan-Toast> Sounds about right.
1478: [22:37:39] <irogue_> antmas: <3 couplands
1479: [22:37:47] <irogue_> there's one like 2 minutes walk from my house (in hamilton)
1480: [22:37:57] <irogue_> as a result i spend far too many $ there
1481: [22:38:20] * Ryan-Toast googles couplands
1482: [22:38:34] <Ryan-Toast> Donuts, mmmmm
1483: [22:38:35] <antmas> they always get stuff at the office here
1484: [22:38:41] <antmas> pasties, mini pies etc
1485: [22:39:29] <Stomach> couplands ftw
1486: [22:39:35] <Stomach> used to live next to one in dunedin
1487: [22:39:38] <simon_w> Man, moving our codebase from SVN to git is slow
1488: [22:40:46] <Ryan-Toast> simon_w: there’s got to be some kind of tool for that
1489: [22:40:54] <simon_w> There is
1490: [22:40:56] <simon_w> It's slow
1491: [22:41:51] * V_ has joined #silverstripe
1492: [22:43:05] <antmas> new Agalloch album so gooooooood
1493: [22:43:06] <simon_w> It started at r1450 about an hour ago. It's now at r2472
1494: [22:44:02] * gelignite quit (Quit: http://bit.ly/nkczDT)
1495: [22:44:31] <Colin[pi]> simon_w: is this local only?
1496: [22:44:41] <simon_w> Colin[pi], nope
1497: [22:44:49] <simon_w> Though local would probably be faster
1498: [22:44:52] <Colin[pi]> via Australian internet?
1499: [22:45:14] <simon_w> Yeah
1500: [22:45:16] <Colin[pi]> well there's your problem ;P
1501: [22:45:36] <simon_w> Nah, it spent a lot of time in the garbage collector :p
1502: [22:46:14] * Kingy[a] is now known as Kingy
1503: [22:46:36] * V_ quit (Client Quit)
1504: [22:48:05] <Ryan-Toast> antmas: I think I may take out mega menu. This is a supposed to be a rapid dev theme, not a do-everything theme
1505: [22:48:20] <Ryan-Toast> and mega menus are sused few and far between
1506: [22:48:23] <Ryan-Toast> used
1507: [22:49:28] <antmas> Ryan-Toast: not a silly idea
1508: [22:49:39] <antmas> the capacity to add it on your own is more than easy
1509: [22:49:46] <Ryan-Toast> yeah
1510: [22:50:04] <antmas> Ryan-Toast: to be fair, even events calendar is the same
1511: [22:51:19] <Ryan-Toast> yeah. and UncleCheese has a good one
1512: [22:51:35] <Ryan-Toast> Though I may still do that one to intergrate with my Newslteer module
1513: [22:51:52] <Colin[pi]> Ryan-Toast: what are you using to drive your newsletter?
1514: [22:51:59] <Ryan-Toast> Colin[pi]: Mailchimp
1515: [22:52:04] <Colin[pi]> good plan
1516: [22:52:13] <Ryan-Toast> Colin[pi]: they have an awesome API
1517: [22:52:47] <antmas> +1 for mailchimp
1518: [22:52:57] <antmas> have used them for around 3 years and always happy
1519: [22:53:24] <Ryan-Toast> Yeah, I have a mailing list with like 400,000 people and I never get anyone coming back with issues.
1520: [22:53:49] <antmas> 400k?
1521: [22:53:53] <antmas> jeebus
1522: [22:53:57] <Ryan-Toast> yarp
1523: [22:54:01] <antmas> most I had was 12
1524: [22:54:03] <antmas> 12k
1525: [22:54:06] <Colin[pi]> lol
1526: [22:54:06] * unclecheese has joined #silverstripe
1527: [22:54:31] <antmas> had some weirdo come back with issues in Outlook 2003 but that was just due to a designer not knowing how to slice properly
1528: [22:55:21] <Colin[pi]> lol designers
1529: [22:56:09] <irogue_> mailchimp ftw
1530: [22:56:18] <irogue_> so much less retarded than their competitors
1531: [22:56:42] <Colin[pi]> that could be their slogan
1532: [22:56:49] <antmas> Colin[pi]: that client I was talking about integrating the loyalty club members with told me some lame news
1533: [22:56:55] <Colin[pi]> "Mailchimp: So Much Less Retardard than our Competitors"
1534: [22:56:58] <irogue_> Colin[pi]: it really really could
1535: [22:56:59] <Colin[pi]> *retarded
1536: [22:57:13] <Colin[pi]> antmas: eh?
1537: [22:57:30] <antmas> Colin[pi]: the customer DB is hosted locally to the client on a shitty little PC
1538: [22:57:49] <Colin[pi]> ugh
1539: [22:58:30] <antmas> I could just use a data dump and import it into SS
1540: [22:58:38] <Colin[pi]> yeah
1541: [22:59:27] <antmas> but I guess they backup to an external server
1542: [22:59:33] <antmas> so maybe still workable?
1543: [22:59:53] <Colin[pi]> possibly but wouldn't get my hopes up
1544: [23:00:20] <antmas> prolly not
1545: [23:00:28] <antmas> just not sure how I'd automate anything
1546: [23:01:24] * unclecheese quit (Quit: unclecheese)
1547: [23:02:14] <Ryan-Toast> How can you change the title of the “Add DataObject” button in a gridField?
1548: [23:05:09] <antmas> Ryan-Toast: you've asked this before
1549: [23:05:13] <antmas> pretty sure
1550: [23:05:18] <Ryan-Toast> Yarp
1551: [23:05:46] <Stomach> private static $singular_name
1552: [23:05:49] <Colin[pi]> ^
1553: [23:05:51] <Ryan-Toast> :)
1554: [23:05:53] <Ryan-Toast> <3
1555: [23:06:08] <antmas> ^^ ballsack, not heart
1556: [23:06:12] <antmas> cannot unsee
1557: [23:09:16] <simon_w> Colin[pi], running the conversion on the same box that has the SVN repo is still slow :p
1558: [23:09:31] <Colin[pi]> ;(
1559: [23:10:05] <simon_w> Also, you should be the SS meet up coordinator person for Canberra!
1560: [23:10:28] <Stomach> also private static $plural_name
1561: [23:10:38] <Colin[pi]> simon_w: I can't even coordinate my clothes
1562: [23:11:06] <simon_w> Colin[pi], sounds like you'll do fine then :p
1563: [23:11:45] <simon_w> Have them in your office, get SS to pay for everything!
1564: [23:11:49] <Colin[pi]> simon_w: have you talked with Shane before? I'm sure he'd arrange something
1565: [23:12:09] <simon_w> Colin[pi], nah, this is from Cam popping in for once last night
1566: [23:12:15] <Colin[pi]> yeah I saw that
1567: [23:14:18] * v_ has joined #silverstripe
1568: [23:16:06] <v_> Hey i have installed PHPUNIT several times but stiil getting an error message as 'Please install PHPUnit using pear' any way i can fix this
1569: [23:16:32] <simon_w> v_, is it in your include path?
1570: [23:16:57] <v_> yes
1571: [23:17:17] <simon_w> How did you install it? And which version?
1572: [23:18:32] <v_> PHPUnit 4.1.0 by Sebastian Bergmann.
1573: [23:18:56] <v_> i have followed some commands shown in PHPUNIT Manual
1574: [23:19:26] <v_> using pear
1575: [23:19:28] <simon_w> PHPUnit 4 isn't supported it
1576: [23:21:10] <v_> then how can i get back to PHPUNIT 3.7
1577: [23:21:50] <Stomach> someone should add a 'Title' database field >_<
1578: [23:22:35] <simon_w> v_, pear lets you specify a version to grab
1579: [23:23:58] * Kingy is now known as Kingy[a]
1580: [23:24:46] * Kingy[a] is now known as Kingy
1581: [23:34:45] <Ryan-Toast> Need to learn how to make versions for github.
1582: [23:34:48] <Ryan-Toast> just having a master is bad.
1583: [23:35:01] <simon_w> branches and tags
1584: [23:35:02] <Colin[pi]> Ryan-Toast: branch that shit son
1585: [23:35:20] <Ryan-Toast> yarp.
1586: [23:35:27] <Ryan-Toast> Need to read up
1587: [23:35:28] <irogue_> feature branch all the things
1588: [23:35:40] <Ryan-Toast> 165 commits of master :P
1589: [23:36:22] <irogue_> branches are quite honestly the best feature of git. they just... work so much better than svn's.
1590: [23:36:40] <irogue_> i never really did branches in svn cos they always seemed to trip me up
1591: [23:36:52] * jordanmk has joined #silverstripe
1592: [23:39:28] <mediacorpjack> Is there an easy way to remove a label from the default form class and template? Or do I need to create a custom form template?
1593: [23:40:21] <Kingy> any one using git glow?
1594: [23:40:22] <Kingy> flow
1595: [23:48:26] <antmas> Anyone used the 'hide/show' function from userdefinedforms in a regular form?
1596: [23:48:35] <antmas> or something similar?
1597: [23:48:54] <simon_w> antmas, that's just a change event handler
1598: [23:49:27] <antmas> simon_w: ah, so it is
1599: [23:53:28] * travis-ci has joined #silverstripe
1600: [23:53:28] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2627 (3.1 - 1c9f955 : Damian Mooyman): The build passed.
1601: [23:53:28] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/3e4bf08f364e...1c9f9551b633
1602: [23:53:28] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/26087378
1603: [23:53:28] * travis-ci has left #silverstripe

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