#silverstripe IRC Log

IRC log for 13 April 2015

All timestamps are in UTC.

1: [00:00:06] <zippy> if you install civilization, it will eat that time up though.
2: [00:00:49] <Colin[pi]> if I want to test a composer package repo locally, i.e. in a vhost, what is the best way to do that? Add the local repo to composer.json and run composer update after each change? Seems slow.
3: [00:03:58] <mobiusnz> does themedCSS() check overide locations? eg mytheme_Page/css as opposed to mytheme/css ?
4: [00:04:20] <Colin[pi]> mobiusnz: it should do
5: [00:04:33] * Azure quit (Excess Flood)
6: [00:04:35] <mobiusnz> Colin[pi]: hmm, can't seem to get it to
7: [00:05:16] * Azure has joined #silverstripe
8: [00:12:39] <Colin[pi]> mobiusnz: according to the source, it appears to check: 1. Project Dir, 2. Theme_Module Dir, 3. Theme Dir, 4. Module Dir
9: [00:13:30] * Azure quit (Read error: Connection reset by peer)
10: [00:14:48] <Colin[pi]> can anyone help me with my composer qn? ;_;
11: [00:21:28] * Scottstone has joined #silverstripe
12: [00:21:52] <novaweb> colin ten minutes i'll look and get back
13: [00:23:04] * Scottstone quit (Client Quit)
14: [00:23:17] <Colin[pi]> novaweb: thanks
15: [00:27:46] * Azure has joined #silverstripe
16: [00:30:10] <novaweb> Colin, I have never taken that approach: Develop the module locally until it seems right; publish it; composer require [package]; make an update to the package (if needed); composer update.
17: [00:30:12] <Ryan-Toast> spronk2: http://i.imgur.com/oWLLHBa.jpg
18: [00:30:19] <spronk2> hmm
19: [00:30:23] <spronk2> looks aaight eh
20: [00:30:43] <spronk2> also
21: [00:30:46] <novaweb> Sorry it doesn't answer your question
22: [00:30:47] <spronk2> honey oat
23: [00:30:47] <spronk2> ftw
24: [00:30:47] <Ryan-Toast> tastes so good
25: [00:30:58] <Ryan-Toast> honey oat is my jam.
26: [00:32:37] <Colin[pi]> novaweb: so just write it as a module in the old fashioned way until ready for publishing?
27: [00:32:45] <novaweb> yeah
28: [00:33:28] <Colin[pi]> novaweb: mm because if I keep the repo somewhere else on my file system, with local git, and then composer update elsewhere in the vhost, it can take like 3 mins for composer to do it's thing
29: [00:33:31] <Colin[pi]> even just locally :(
30: [00:33:57] <spronk2> so this toasting twice thing, Ryan-Toast
31: [00:34:06] <spronk2> they put the cheese and ham in then toast, right?
32: [00:34:09] <Ryan-Toast> spronk2: just double the time
33: [00:34:09] * Azure quit (Ping timeout: 256 seconds)
34: [00:34:10] <spronk2> and you just say
35: [00:34:12] <spronk2> toast it twice?
36: [00:34:29] <Ryan-Toast> double cheese, double ham onion mayo. 24 seconds in the toaster
37: [00:34:33] <Ryan-Toast> squish it down after.
38: [00:34:37] <Ryan-Toast> and before
39: [00:34:48] <spronk2> ...do they look at you funny? :p
40: [00:34:59] <Ryan-Toast> No, I get them on Monday’s mostly.
41: [00:35:04] <Ryan-Toast> Since I’m still hungeover./
42: [00:35:10] <spronk2> lul
43: [00:35:16] <Colin[pi]> spronk2: they already look at him funny, even before the sandwich
44: [00:35:21] <spronk2> AYEEE
45: [00:35:23] <Colin[pi]> this is Ryan-Toast we're talking about here
46: [00:35:25] <Colin[pi]> :D
47: [00:35:29] <Ryan-Toast> :D
48: [00:35:48] <Ryan-Toast> then flirt a little for a free danish.
49: [00:35:53] <Ryan-Toast> Booya best meal.
50: [00:36:10] <spronk2> flirt a little for a free danish eh
51: [00:36:20] * Ryan-Toast nods
52: [00:36:25] <Colin[pi]> like warm apple pie
53: [00:36:30] <spronk2> LOL
54: [00:37:13] <novaweb> Colin[pi] sometimes our composer update takes 20 minutes and fails
55: [00:37:36] <Colin[pi]> novaweb: dafuq
56: [00:37:44] <Colin[pi]> seriously? that's balls
57: [00:37:55] <novaweb> we have 28 dependencies
58: [00:38:17] <novaweb> and stupid network proxy thangs
59: [00:38:33] <Colin[pi]> novaweb: didn't they do some GC change that was supposed to improve speed?
60: [00:39:51] <novaweb> probably
61: [00:40:11] <novaweb> we also find that when we use our *nix vm to host our local dev environment, the vm slows things down a bit
62: [00:40:38] <Colin[pi]> yeah I'm just doing a standard localhost windows apache install
63: [00:40:40] <Colin[pi]> no vm
64: [00:41:47] * markcl quit (Quit: Leaving.)
65: [00:58:19] * Azure has joined #silverstripe
66: [01:06:19] * markcl has joined #silverstripe
67: [01:10:46] * WandL has joined #silverstripe
68: [01:11:31] * glenn-bautista has joined #silverstripe
69: [01:14:47] <WandL> Hi Guys, does anyone know if it is possible to add a custom row class to a GridField based on the rows data, for example add a class based on a records status?
70: [01:14:57] * Azure quit (Ping timeout: 256 seconds)
71: [01:16:48] * Tanger has joined #silverstripe
72: [01:26:15] <zippy> Stomach: didn't you try and do that not so long ago ^?
73: [01:26:27] <Stomach> yeah
74: [01:26:29] <Stomach> its impossible
75: [01:26:47] <zippy> probably have to javascript it yea?
76: [01:27:00] <Stomach> yah
77: [01:27:06] <zippy> WandL: ^
78: [01:28:26] <WandL> Okay thanks guys maybe even with CSS think I have done that before using some fancy selectors
79: [01:29:33] <zippy> != adding a custom row class :)
80: [01:34:44] <Ryan-Toast> WandL You could always create a custom summary method for each field displayed in the gridfield, and add a wrapper to them
81: [01:35:43] <WandL> Okay thanks Ryan-Toast: will look into that
82: [01:44:45] <zippy> Ryan, trying to find a good a good front end dev that sass without having just a single main.scss file with all mixens and variables and styles in the one place, or one that doesn't !important all things because they include their styles before bootstrap css and it overrides their styles.... talk to me!
83: [01:45:44] * phuongle has joined #silverstripe
84: [01:46:51] * phuongle quit (Client Quit)
85: [01:48:43] <Ryan-Toast> zippy: what’s your question sorry?
86: [01:48:55] <zippy> need to find a good front end developer
87: [01:48:58] <zippy> where to find such things
88: [01:49:03] <Ryan-Toast> zippy: Oh, good luck :P
89: [01:49:07] <zippy> mm
90: [01:49:12] <spronk2> not me :D
91: [01:49:14] <Colin[pi]> zippy: all the good ones are already taken :D
92: [01:49:22] <zippy> Colin[pi]: so it seems
93: [01:49:23] <Ryan-Toast> I just offered out new dev a job today after a couple months of horrible applicants
94: [01:49:31] <WandL> Think I am going the jquery route for adding the class Stomach: is way easier :)
95: [01:49:49] <Stomach> cool :)
96: [01:49:50] <Ryan-Toast> WandL: Make sure to use an entwine wrapper :D
97: [01:49:52] <Stomach> Ryan-Toast - who was it
98: [01:49:56] <Stomach> entwine ewwwwwwwww
99: [01:50:38] <WandL> Speaking of jobs we have an opening :) have to live in Adelaide South Australia tho :)
100: [01:50:44] <Ryan-Toast> Stomach: won’t work if you don’t refresh the page otherwise :P
101: [01:50:55] <Stomach> yeah I know
102: [01:50:57] <Stomach> stil
103: [01:50:58] <Stomach> ewwwwwww
104: [01:51:05] <Ryan-Toast> Stomach: I know :P
105: [01:51:25] <WandL> Ryan-Toast: if you take the 'ent' off is much better lol
106: [01:51:43] <Ryan-Toast> WandL: I think the opposite is applicable too :P
107: [01:52:10] <WandL> Ryan-Toast: lol
108: [01:56:02] <spronk2> WHY IS MY WIFFI BROKEN
109: [01:56:10] <spronk2> WE MUST APPEASE THE WEE FEE
110: [01:57:08] <Ryan-Toast> Stomach: anything you think I could add? https://github.com/Rhym/silverstripe-boilerplate-installer/blob/master/Gruntfile.js
111: [01:57:19] <Stomach> use gulp
112: [01:57:39] <Stomach> copy images to production
113: [01:57:42] <Stomach> copy svg to production
114: [01:58:06] <Ryan-Toast> Stomach: Generally all images are loaded through the CMS.
115: [01:58:15] <spronk2> http://www.stuff.co.nz/entertainment/tv-radio/67717844/sky-tv-game-of-thrones-premiere-fails
116: [01:58:17] <Ryan-Toast> I suppose I could ru a minify task on the Upload folder
117: [01:58:18] <spronk2> lawwwwwwwwwwwwwwwl
118: [01:58:21] <spronk2> GO SKY TV
119: [01:58:31] <Stomach> bless your css
120: [01:59:23] * spronk2 quit (Read error: Connection reset by peer)
121: [01:59:28] <Ryan-Toast> Stomach: But I don’t weant seperate files :P
122: [01:59:39] <Stomach> screw ie users!
123: [01:59:42] * spronk2 has joined #silverstripe
124: [02:00:24] <Ryan-Toast> Stomach: that’s generally how I feel.
125: [02:01:14] <Ryan-Toast> Stomach: It’s partially why I use CMQ too.
126: [02:02:54] <Stomach> yeah
127: [02:04:37] <Stomach> I rewrote all our base javascript in es6 over the weekend
128: [02:04:42] <Stomach> next task, event dispatchers
129: [02:04:43] <Stomach> woooo
130: [02:04:48] <Ryan-Toast> es6?
131: [02:04:53] <Stomach> ecmascript 6
132: [02:05:14] <Ryan-Toast> Stomach: why’s that?
133: [02:05:34] <Stomach> because my as well live in the future rather than not
134: [02:05:57] <Stomach> and its cleaner, easier to read and has lots of handy stuff like constructors and classes without having to write prototypes for everything
135: [02:06:07] <Stomach> just transforming it back to es5 for production sites
136: [02:06:15] <Stomach> https://babeljs.io/docs/learn-es6/
137: [02:06:40] <Ryan-Toast> Stomach: Interesting :)
138: [02:07:31] <Stomach> plus no more jquery in production from now on
139: [02:07:33] <Colin[pi]> my eyes: http://kangax.github.io/compat-table/es6/
140: [02:07:34] <Stomach> take that developers
141: [02:08:08] <Ryan-Toast> Colin[pi]: lol
142: [02:09:11] <Stomach> but you can use it today :D
143: [02:12:42] <Colin[pi]> Stomach: you cant make me!
144: [02:12:50] <Stomach> if you worked here I could :(
145: [02:13:00] <Colin[pi]> Stomach: HA HA
146: [02:13:19] <Colin[pi]> isn't it kinda bleeding edge to adopt though?
147: [02:14:45] <mahfuz> Stomach: what are you going to use in place of jquery?
148: [02:14:53] <Stomach> Colin[pi] - gonna be ratified in june
149: [02:14:58] <Stomach> so only 2 months ahead of myself
150: [02:15:11] <Stomach> nothing much is gonna change, its been in specification for the last 6 years....
151: [02:15:21] <Stomach> mahfuz - we are going to use javascript
152: [02:16:12] <mahfuz> ok why is that?
153: [02:17:13] <Ryan-Toast> mahfuz: http://vanilla-js.com/
154: [02:18:06] <Colin[pi]> kinda funny that we've been down that long, long jQuery road and it all comes back to this
155: [02:19:23] <mahfuz> Thanks Ryan-Toast for the link
156: [02:19:37] <Ryan-Toast> mahfuz: Lol, no problem man.
157: [02:19:52] <Colin[pi]> are you using vanilla now Ryan-Toast?
158: [02:21:17] <Ryan-Toast> Colin[pi]: You guys know that’s just javascript… right?
159: [02:21:37] <Colin[pi]> Ryan-Toast: yes, and I asked are you using vanilla now
160: [02:21:41] <Colin[pi]> as in vanilla js
161: [02:21:47] <Ryan-Toast> Colin[pi]:Bit of both
162: [02:21:54] <Colin[pi]> k
163: [02:21:58] <mahfuz> Stomach: what about React JS
164: [02:21:59] <Ryan-Toast> Fuck all of my websites latelly have needed muc JS
165: [02:22:19] <Stomach> mahfuz - yes we use reactjs as well
166: [02:22:29] <Colin[pi]> I think vanilla is great for speed but you trade readability/shorter forms of code imho
167: [02:22:32] <Stomach> but only for complicated stuff which needs state tracking
168: [02:22:42] <Stomach> Colin[pi] - thats why you write it in es6 style
169: [02:22:47] <Stomach> and you dont lose any readability
170: [02:22:48] <Stomach> :P
171: [02:22:52] <Colin[pi]> Stomach: o rly?
172: [02:22:54] <Stomach> in face, it makes more sense
173: [02:22:55] <Colin[pi]> so that's why :P
174: [02:23:23] <mahfuz> Stomach: for other sites you will use just javascript
175: [02:23:49] <Stomach> Colin[pi] - http://pastie.org/10089075
176: [02:23:55] <Stomach> tell me thats hard to follow :P
177: [02:25:53] <Ryan-Toast> Stomach: pretty readable
178: [02:28:34] <mahfuz> Yeah
179: [02:29:17] * UncleCheese has joined #silverstripe
180: [02:29:26] <UncleCheese> anyone here ever written a sublime text plugin? or know someone who can?
181: [02:29:45] <Stomach> UncleCheese pretty sure pieter has done it
182: [02:29:49] <UncleCheese> nice
183: [02:30:01] <UncleCheese> not sure if what i want to do is possible.. should be though
184: [02:30:11] <Stomach> what do you want to do
185: [02:30:17] <Stomach> close sublime and open phpstorm on load
186: [02:30:19] <Stomach> sounds doable
187: [02:30:22] <UncleCheese> when i do my screencasts, i have to type out all the code
188: [02:30:30] <Ryan-Toast> Stomach: lol
189: [02:30:35] <UncleCheese> and i basically just copy it off a screen and try really hard not to make mistakes
190: [02:30:49] <UncleCheese> what would be awesome is if in ST3, I could paste the code, select it, and choose "auto type" or something
191: [02:30:58] <UncleCheese> and it would delete the text, and type it all out
192: [02:31:10] <Stomach> http://codepen.io/jakealbaugh/full/PwLXXP
193: [02:31:13] <UncleCheese> bonus points for randomising mistakes and backspacking them
194: [02:31:16] <Stomach> steal that javascript, then do it :P
195: [02:31:32] <UncleCheese> whoa
196: [02:31:38] <UncleCheese> but ST3 is python
197: [02:31:40] <Colin[pi]> Stomach: woah, that's much nicer
198: [02:32:19] <Stomach> Colin[pi] - yeah :) thats why I'm going to be pushing it onto my developers
199: [02:32:35] <UncleCheese> did you just google that, Stomach ?
200: [02:32:49] <Ryan-Toast> UncleCheese: It’s been making the rounds this last couple weeks
201: [02:32:50] <Stomach> UncleCheese nope
202: [02:32:54] <UncleCheese> oh
203: [02:32:58] <Stomach> it was in my dev chat from this morning
204: [02:33:06] <Ryan-Toast> Was top of the webdev subreddit last week I think
205: [02:34:10] <UncleCheese> huh
206: [02:34:12] <UncleCheese> why?
207: [02:34:22] <UncleCheese> what use could this possibly be for anyone other than me?
208: [02:34:31] <Ryan-Toast> Unclecheese: http://yourwebdev.ninja/generate.html
209: [02:34:42] <spronk2> o_O
210: [02:34:51] * Sticks has joined #silverstripe
211: [02:34:54] <UncleCheese> holy fuck!
212: [02:35:02] <UncleCheese> i didn't realise it was actually rendering what he's coding
213: [02:35:04] <Colin[pi]> yeah I love that, it's cool
214: [02:35:07] <Stomach> yeah :P
215: [02:35:12] <Stomach> thats why we all see if
216: [02:35:14] <Stomach> see it
217: [02:35:32] <Stomach> ps UncleCheese - I started rewriting all our default everything in es6 over the weekend
218: [02:35:34] <Stomach> so much nicer
219: [02:35:41] <spronk2> fuck css animation syntax is disgusting
220: [02:35:58] <UncleCheese> haha
221: [02:37:36] <Ryan-Toast> spronk2: l2 auto-prefixer
222: [02:40:51] <spronk2> yeah
223: [02:40:51] <spronk2> even still
224: [02:40:53] <spronk2> its yuuck
225: [02:41:54] <Ryan-Toast> Anyone made a range slider field for the cms before?
226: [02:42:00] <Ryan-Toast> Thinking of making one.
227: [02:42:09] * Colin[pi] quit (Ping timeout: 252 seconds)
228: [02:53:35] <adrexia> <spronk2> fuck css animation syntax is disgusting
229: [02:53:36] <adrexia> yes
230: [02:53:54] <adrexia> it's... different to how we usually think of animatuion working
231: [02:54:21] <adrexia> but I also can't think of a better way of doing it.
232: [02:54:45] <spronk2> if it were me i would have added a new language for it
233: [02:54:51] <spronk2> but hey
234: [02:54:58] <adrexia> unless I need something multistep I often just use transitions anyway
235: [02:55:51] <adrexia> It's pretty interesting. They've essentially made a way of doping frame-by-frame animation
236: [02:55:58] <adrexia> *doing
237: [02:56:40] * adrexia shrugs
238: [02:58:51] <Ryan-Toast> adrexia: what’s wrong with 0%-100%?
239: [02:59:04] <adrexia> Ryan-Toast, nothing really
240: [02:59:40] <adrexia> it's just different to how js or actionscript think and more similar to making a gif or something
241: [02:59:55] <spronk2> it's completely different to how most animators would think
242: [02:59:56] <adrexia> or an old school animated picture show ;)
243: [03:00:11] <spronk2> and not in a "this is just a different way of thinking" way, in a... this requires you to think backwards, way
244: [03:00:21] <adrexia> seconds would probably be better than percentages
245: [03:00:27] <spronk2> mm
246: [03:00:28] <spronk2> or even
247: [03:00:30] <adrexia> but then... looping I guess
248: [03:00:30] <spronk2> frame #
249: [03:00:38] <spronk2> and a specific framerate
250: [03:00:50] <Ryan-Toast> adrexia: I disagree, since that’s that the animation time is for.
251: [03:01:10] <adrexia> Ryan-Toast, yeah, I'm not saying it should be done differently ;)
252: [03:01:15] <Ryan-Toast> I agree that working out specific times is a little anoying though :P
253: [03:01:35] <adrexia> just that its a learning curve if you have ever done any other sort of animation
254: [03:02:14] <adrexia> yeah, It's be nice to say 'do this for x seconds' rather than 'do this for 10% of x seconds' ;)
255: [03:02:37] <adrexia> and hmm... It'd be nice to have different things done at different rates
256: [03:02:52] <adrexia> but... I guess that's also sort of over complicating things
257: [03:02:57] * Rowan has joined #silverstripe
258: [03:03:42] <Ryan-Toast> adrexia: that’s what scss/less if for I guess :P
259: [03:03:47] <Ryan-Toast> is
260: [03:04:00] * markcl has left #silverstripe
261: [03:04:25] <Rowan> is there a similarity to bootstrap's .hidden-sm .visible-md etc?
262: [03:04:38] <Ryan-Toast> Rowan: In what way?
263: [03:05:28] <spronk2> adrexia in a keyframe+fps animation situation tahts all completely possible
264: [03:05:31] <spronk2> but hey
265: [03:05:45] <adrexia> spronk2, yep.
266: [03:05:50] <spronk2> css has always been backwards
267: [03:05:51] <spronk2> stupid layout
268: [03:05:55] <spronk2> stupid float model
269: [03:06:03] <Ryan-Toast> spronk2: :P
270: [03:06:17] <Ryan-Toast> Well we have flex now
271: [03:06:26] <spronk2> ughhh
272: [03:06:29] <spronk2> dont get me started
273: [03:06:35] <adrexia> I don't think this is backweards - I think it's built for purpose in a way that is vaguely internally consistent
274: [03:06:44] <Ryan-Toast> https://i.imgur.com/jys9vVi.jpg
275: [03:07:03] <adrexia> unfortunately - css is a bit... different ;)
276: [03:08:10] <Rowan> Ryan-Toast: like being able to define which elements hide/show on phone mode
277: [03:08:45] <Ryan-Toast> Rowan: I’m not quite sure what you’re asking. Bootstrap just uses media queries to toggle display block/hidden
278: [03:08:50] <Ryan-Toast> none**
279: [03:09:49] <Rowan> but you can set a class like <img class="hidden-sm" /> already built in
280: [03:10:26] <Ryan-Toast> Rowan: In bootstrap, yes…
281: [03:10:48] <Ryan-Toast> Still not sure what your question is.
282: [03:10:49] <Rowan> i was just wondering if there were built in classes for the likes of that in SilverStripe. i guess I can just try using bootstrap on the project if I really need it
283: [03:11:04] <Ryan-Toast> No, there isn’t.
284: [03:11:10] <Rowan> ah alright, dang
285: [03:11:17] <Ryan-Toast> Default installation is the simple theme I think.
286: [03:11:58] * babak has joined #silverstripe
287: [03:11:59] <Ryan-Toast> Rowan: Can use this if you need to get something up and running quickly. https://github.com/Rhym/silverstripe-boilerplate-installer
288: [03:12:06] <Ryan-Toast> it has bootstrap biz in it.
289: [03:14:37] * AdriAn_s has joined #silverstripe
290: [03:14:55] <mahfuz> Thanks Ryan-Toast for sharing the link, I think it will help me in quick setup
291: [03:15:09] <AdriAn_s> hey guys. just wondering if it is possible to override a CMS template?
292: [03:15:30] <Ryan-Toast> AdriAn_s: Yeah it is.
293: [03:15:39] <spronk2> ugh
294: [03:15:50] <spronk2> even stuff like the property value naming in flexbox is stupid
295: [03:15:51] <spronk2> "row"
296: [03:15:56] <spronk2> whynot... LTR
297: [03:15:57] <AdriAn_s> do you have a link to do so?
298: [03:16:09] <AdriAn_s> its for version 3.0
299: [03:16:29] <Ryan-Toast> AdriAn_s: https://github.com/Rhym/silverstripe-cms-theme/blob/master/templates/LeftAndMain_Menu.ss
300: [03:17:05] * travis-ci has joined #silverstripe
301: [03:17:06] <travis-ci> silverstripe/silverstripe-framework#4544 (3.1 - f353268 : Damian Mooyman): The build passed.
302: [03:17:06] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/385c2a75d3b7...f35326896264
303: [03:17:06] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/58217381
304: [03:17:06] * travis-ci has left #silverstripe
305: [03:18:27] * Colin[pi] has joined #silverstripe
306: [03:19:52] <spronk2> then there's shit like space-around
307: [03:20:00] * Liquide quit ()
308: [03:20:03] <spronk2> when 90% of the time all you want is to have space evenly distributed
309: [03:20:36] <AdriAn_s> Ryan-Toast so basically add the CMS template into the theme folder the site is using???
310: [03:20:55] <Ryan-Toast> AdriAn_s: I don’t think a theme can do it.
311: [03:21:07] <Ryan-Toast> Just create a folder with a templates folder in it.
312: [03:21:14] <Ryan-Toast> a “Module” if you will.
313: [03:22:17] <AdriAn_s> ah ok. do I have to set it up as a module or can I just create a folder and add the template in there?
314: [03:25:58] <Rowan> Ryan-Toast thanks man
315: [03:28:04] <adrexia> AdriAn_s, you could create a templates folder in 'mysite' if you wanted
316: [03:29:19] <adrexia> for 'set it up as a module' - you wouldn't need to composer it or anything, but it'd need a config.php file
317: [03:31:08] <AdriAn_s> yeah. adding the template folder to mysite worked a treat :)
318: [03:34:25] <Ryan-Toast> adrexia: I thought they don’t need configs anymore?
319: [03:34:37] <adrexia> is that recent?
320: [03:34:47] <Ryan-Toast> adrexia: Wait, nvm
321: [03:35:08] <adrexia> so still need them?
322: [03:35:32] <Ryan-Toast> I don’t know why one of my commits is called: “Shh, Stevie” Stomach
323: [03:35:37] <Ryan-Toast> adrexia: looks like it.
324: [03:35:49] <Ryan-Toast> But yeah, just chuck them in your project folder.
325: [03:36:01] <Stomach> Ryan-Toast - because I was hassling you about an empty project
326: [03:36:05] <Ryan-Toast> Stomach: :P
327: [03:36:17] <Ryan-Toast> Stomach: I think I’ve gone as far as I want with my cms theme
328: [03:37:02] * Rowan quit (Quit: Page closed)
329: [03:55:33] <Colin[pi]> adrexia: they need _config.php OR _config folder
330: [03:55:36] <Colin[pi]> I think
331: [03:55:48] <adrexia> really?
332: [03:55:49] <Colin[pi]> I don't think the .php file is mandatory
333: [03:55:50] <Colin[pi]> yep
334: [03:55:59] <adrexia> That would also be new then
335: [03:56:04] <Colin[pi]> I saw one on github yesty that had just _config folder
336: [03:57:12] * Shrike_Finland has joined #silverstripe
337: [03:58:10] <Colin[pi]> adrexia: http://doc.silverstripe.org/en/developer_guides/extending/modules
338: [03:58:14] <Colin[pi]> "The only thing that identifies a folder as a SilverStripe module is the existence of a _config directory or _config.php at the top level of the directory."
339: [03:58:18] * Guest68338 quit (Ping timeout: 250 seconds)
340: [03:58:23] <Colin[pi]> maybe it used to be "and"
341: [04:01:34] * Shrike_Finland1 has joined #silverstripe
342: [04:01:35] * Shrike_Finland quit (Read error: Connection reset by peer)
343: [04:05:06] * wmk has joined #silverstripe
344: [04:10:49] * mobiusnz quit (Quit: Leaving.)
345: [04:11:19] * Guest68338 has joined #silverstripe
346: [04:19:14] * Guest68338 is now known as nontgor
347: [04:19:23] <Ryan-Toast> ss23: pagnation on the .org site doens’t reposition the window.
348: [04:19:42] <Ryan-Toast> e.g: click the next button in the pagination: http://www.silverstripe.org/learn/lessons/
349: [04:20:44] <Colin[pi]> Ryan-Toast: eeuw
350: [04:20:57] <Colin[pi]> thought I went to a different page at first
351: [04:26:40] <Stomach> UPLOAD WHY YOU ALWAYS OVERWRITE I HATE YOU
352: [04:26:51] <Colin[pi]> Stomach: you can turn that off you know
353: [04:27:01] <Colin[pi]> cant you? I think anyway
354: [04:27:04] <Stomach> I am trying to
355: [04:27:11] <Stomach> $profileImageField->getUpload()->setReplaceFile(false);
356: [04:27:14] <Stomach> doesnt work
357: [04:27:16] <Stomach> fucksticks.
358: [04:27:27] <Colin[pi]> Stomach: fix it!
359: [04:28:03] <Stomach> :(
360: [04:28:19] * grunt_ has joined #silverstripe
361: [04:29:15] * grunt_ has left #silverstripe
362: [04:29:22] <Colin[pi]> Stomach: what about overwriteWarning ?
363: [04:29:26] <Colin[pi]> did you try that in config?
364: [04:29:36] <Stomach> it shouldnt matter on a front end form should it?
365: [04:30:14] <Colin[pi]> um guess it depends on where the file is going :D
366: [04:30:23] <Stomach> into the assets folder even
367: [04:30:24] <Colin[pi]> this is just a tmp file right?
368: [04:30:28] <Colin[pi]> or is it an asset?
369: [04:31:12] <Stomach> an asset
370: [04:31:32] <Colin[pi]> that'd still matter for front end I think?
371: [04:31:41] <Stomach> why is it uploading it then
372: [04:31:43] <Stomach> fucksticks
373: [04:31:46] <Colin[pi]> :o
374: [04:36:41] * Shrike_Finland has joined #silverstripe
375: [04:36:42] * Shrike_Finland1 quit (Read error: Connection reset by peer)
376: [04:38:07] <Stomach> Colin[pi] - you're right
377: [04:38:07] <Stomach> https://github.com/silverstripe/silverstripe-framework/issues/2897
378: [04:38:19] <Colin[pi]> what?
379: [04:38:20] <Colin[pi]> no
380: [04:38:25] <Colin[pi]> I cant be right about something
381: [04:38:28] <Colin[pi]> I almost never am
382: [04:38:28] <Colin[pi]> :D
383: [04:38:50] <Colin[pi]> oh that's pretty icky :o
384: [04:38:55] * mobiusnz has joined #silverstripe
385: [04:39:14] <Stomach> yeah its fixed in 3.2
386: [04:39:18] <Stomach> but thats not out yet
387: [04:39:55] <Ryan-Toast> Stomach: what’s the estimated release date of 3.2, do you know?
388: [04:40:27] <Stomach> I don't work at SilverStripe
389: [04:40:31] <Stomach> nor am I a core committer
390: [04:40:34] <Stomach> so lets say May
391: [04:40:53] <Ryan-Toast> ss23: ?
392: [04:41:36] <Colin[pi]> ss23 is all "like I give a fuck"
393: [04:41:46] <Ryan-Toast> ss-log, pls
394: [04:41:55] <spronk2> THE EIGTH OF MAYYY THE EIGTH OF MAYY
395: [04:42:00] <spronk2> </tune of the ace of spades>
396: [04:42:50] <Ryan-Toast> wow, I’m retarded. I only just found out you can set variables in the template include...
397: [04:43:12] <Ryan-Toast> e.g: <% include ItemLoop Items=$YourStupidItems %>
398: [04:43:42] <Colin[pi]> Ryan-Toast: that's been around for ages :P
399: [04:43:52] <Ryan-Toast> Colin[pi]: I realise this, BUT I DIDN’T KNOW
400: [04:43:58] <Colin[pi]> :P
401: [04:44:56] * spronk2 quit (Read error: Connection reset by peer)
402: [04:45:26] * spronk2 has joined #silverstripe
403: [04:45:34] <Ryan-Toast> spronk2: o/
404: [04:45:58] <Stomach> Ryan-Toast - good work on learning ! :D
405: [04:46:08] <adrexia> we've even talked about it here like a thousand times ;)
406: [04:46:20] <Ryan-Toast> Stomach: http://i.imgur.com/DMUVZ.gif
407: [04:46:21] <adrexia> been able to do it since 3.0
408: [04:46:27] <Ryan-Toast> WELL LA DEE DA
409: [04:46:33] <Colin[pi]> adrexia: but all those times Ryan-Toast was drunk
410: [04:46:36] <adrexia> but it meant that you need to pass context to your includes now
411: [04:46:56] <zippy> adrexia: there is that gotcha with it thou still right?
412: [04:46:57] <adrexia> whereas before first/last loop context stuff just worked
413: [04:47:06] <adrexia> zippy - yup
414: [04:47:09] <Ryan-Toast> adrexia: oh, lame.
415: [04:47:52] <adrexia> Ryan-Toast, its worth it
416: [04:48:00] <adrexia> it makes includes way way more useful
417: [04:48:18] <Ryan-Toast> adrexia: Dat DRY
418: [04:48:23] <adrexia> ;)
419: [04:49:10] <Colin[pi]> mm bite the pillow Ryan-Toast I'm going in DRY
420: [04:49:49] <Ryan-Toast> Colin[pi]: It’s a lot smaller than I remember.
421: [04:49:57] <Ryan-Toast> (because DRY)
422: [04:50:10] <Colin[pi]> lol
423: [04:52:47] * spronk2 quit (Quit: bleep bleep bloop bloop)
424: [04:53:02] <adrexia> Ryan-Toast, watch out for this one: https://github.com/silverstripe/silverstripe-framework/issues/2617
425: [04:53:39] <adrexia> though it took me 2-3 years to run into it, so not sure if you will
426: [04:53:41] <adrexia> ;)
427: [04:53:57] <adrexia> more likely when you reuse templates in difefrent context's though
428: [04:54:28] <Colin[pi]> I have a module related question
429: [04:54:35] <Colin[pi]> say you make a module for ultimate reuse
430: [04:54:40] <Colin[pi]> i.e. like blog or whatever
431: [04:54:49] <Colin[pi]> and that module includes a series of templates/css as a default
432: [04:54:53] <adrexia> "ultimate reuse" :D
433: [04:54:57] <Colin[pi]> :P
434: [04:55:01] <Colin[pi]> where's the best place to override that css?
435: [04:55:05] <Colin[pi]> themes folder?
436: [04:55:11] <Colin[pi]> project?
437: [04:55:45] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
438: [04:55:50] <Ryan-Toast> hierachy?
439: [04:55:58] * spronk2 has joined #silverstripe
440: [04:56:22] <adrexia> Colin[pi], it depends if you are using themes
441: [04:56:27] <adrexia> if you are, then themes
442: [04:56:29] <Ryan-Toast> Colin[pi]: I would just have scss files in the blog, and include them into your projects master css
443: [04:56:35] <Colin[pi]> right
444: [04:56:38] <adrexia> if you aren't, then whatever your project folder is
445: [04:57:10] <adrexia> Ryan-Toast, oh yeah, that works well for scss
446: [04:57:17] <Colin[pi]> yeah I'm trying to get my head around best practices for these things, cleaning up my base install of stuff
447: [04:57:36] <Ryan-Toast> Colin[pi]: I do this: https://github.com/Rhym/silverstripe-boilerplate-installer/blob/master/mysite/scss/main.scss
448: [04:57:39] <Colin[pi]> cause what I'd do previously, would be install then module, and then copy it's CSS into the theme dir and modify it
449: [04:57:43] <Colin[pi]> which is prolly not idea
450: [04:57:45] <Colin[pi]> *ideal
451: [04:57:45] <adrexia> hmm
452: [04:57:59] <UncleCheese> anybody here use slack?
453: [04:58:26] <Ryan-Toast> Colin[pi]: you can use grunt/gulp to move files if they aren’t in your project directory automatically?
454: [04:58:33] <Ryan-Toast> If you wanted to go that route
455: [04:58:34] <adrexia> Colin[pi], ehh its fine depending on what you are doing with it
456: [04:58:44] <Colin[pi]> Ryan-Toast: not currently using grunt/gulp
457: [04:58:47] <spronk2> oh my fucking god
458: [04:58:50] <adrexia> if you need to modify then something eotehr has to be copied or overridden
459: [04:58:50] <Colin[pi]> but willing to give it a look
460: [04:58:54] <UncleCheese> anyone here use slack?
461: [04:58:59] <Ryan-Toast> Colin[pi]: I would recommend it.
462: [04:59:04] <Colin[pi]> adrexia: aye
463: [04:59:07] <spronk2> UncleCheese i think DNA were looking at it..
464: [04:59:09] <UncleCheese> seems like a much more compelling solution for this stuff than IRC
465: [04:59:14] <UncleCheese> we use it at SS
466: [04:59:20] <spronk2> irc > *
467: [04:59:25] <UncleCheese> amazing for developer collaboration
468: [04:59:29] <Colin[pi]> irc 4eva
469: [04:59:33] <adrexia> yeah, grunt and guilp are awesome
470: [04:59:33] <Ryan-Toast> Colin[pi]: https://github.com/Rhym/silverstripe-boilerplate-installer/blob/master/Gruntfile.js
471: [04:59:42] <Ryan-Toast> that should help you hget started
472: [04:59:44] <adrexia> but not sure I'd want to automat that action
473: [04:59:46] <Ryan-Toast> with Grunt
474: [04:59:52] <Colin[pi]> Ryan-Toast: fuck another thing I need to learn
475: [04:59:59] <Ryan-Toast> Colin[pi]: makes life sooooo easy
476: [05:00:07] <Colin[pi]> adrexia: I kinda get scared with too much automation lol
477: [05:00:17] <Ryan-Toast> AUTOMATE ALL THE THINGS!
478: [05:00:32] <Colin[pi]> Ryan-Toast: thanks man I'll have a look
479: [05:00:32] <Ryan-Toast> Colin[pi]: Are you telling me you don’t auto-refix?
480: [05:00:36] <Ryan-Toast> prefix*
481: [05:00:39] * mobiusnz quit (Quit: Leaving.)
482: [05:00:48] <spronk2> my ping was spiking by +40ms, then +40ms, then + 40ms, then +40ms then back to normal
483: [05:00:53] <spronk2> look for culprit
484: [05:00:53] <adrexia> Ryan-Toast, understanding other people's grunt/gulp files bevoems a nightmare when too many things are automated
485: [05:00:55] <spronk2> finally close Calendar.app
486: [05:00:58] <spronk2> ALL NORMAL.
487: [05:01:03] <ss23> 16:41:37 < Colin[pi]> ss23 is all "like I give a fuck"
488: [05:01:05] <ss23> fucking truth man
489: [05:01:09] <ss23> do I look like a core commiter?
490: [05:01:10] <ss23> cause I aint
491: [05:01:25] <Ryan-Toast> adrexia: This is a great article : http://24ways.org/2013/grunt-is-not-weird-and-hard/
492: [05:01:29] <spronk2> ss23 is the mouth of sauron
493: [05:01:30] <Ryan-Toast> Colin[pi]: ^
494: [05:01:35] <adrexia> 22s3 you look like a linux core commiter
495: [05:01:35] <ss23> spronk2: :O
496: [05:01:38] <ss23> What do you mean by that?
497: [05:01:40] <ss23> haha adrexia
498: [05:01:42] <spronk2> i mean
499: [05:01:44] <ss23> I wish
500: [05:01:46] <spronk2> the IRC VOICE OF SS
501: [05:01:50] <ss23> I don't even have commit rights on Gentoo
502: [05:01:56] <Colin[pi]> Ryan-Toast: no man, I'm still really old school :(
503: [05:01:58] <adrexia> Ryan-Toast, nah, grunt itself is super easy
504: [05:02:01] <Ryan-Toast> OFF TO WATCH 4 EPISODES OF GAME OIF THRONES NOW, BAI
505: [05:02:03] <Colin[pi]> Ryan-Toast: I need to improve all the things
506: [05:02:04] <ss23> Ryan-Toast: NO
507: [05:02:06] <ss23> FUCKING HELL
508: [05:02:06] <ss23> NO
509: [05:02:08] <adrexia> what some people do with it is... complex at times
510: [05:02:09] <spronk2> i wish i could tell chrome to understand my grunt files
511: [05:02:09] <ss23> WAIT LIKE THE REST OF US
512: [05:02:10] <Ryan-Toast> Colin[pi]: damn son, that’s going to change your life.
513: [05:02:13] <ss23> WHERE ARE YOUR FUCKING MORALS BRO
514: [05:02:15] <spronk2> so that i twould give me correct line numbers
515: [05:02:26] <Ryan-Toast> adrexia: I love grunt/gulp so much
516: [05:02:43] <Ryan-Toast> ss23: THEY ARE LIKE WORDS IN THE WIND
517: [05:02:55] <ss23> What do we say to spoilers?
518: [05:02:56] <ss23> Not today.
519: [05:02:57] <adrexia> Ryan-Toast, me too :)
520: [05:03:07] <spronk2> CERSEI SHOWS US HER BOOBS!
521: [05:03:17] <Colin[pi]> lel bewbs
522: [05:03:25] <ss23> the internet has all the boobs you could need, man
523: [05:03:35] <spronk2> i was spoiling it for you, ss23
524: [05:03:36] <spronk2> be grateful
525: [05:03:45] <ss23> lol
526: [05:03:48] <ss23> I don't watch it so it's okay
527: [05:03:54] <spronk2> BAN HIM
528: [05:04:08] <ss23> 17:04:06 -!- #silverstripe You're not a channel operator
529: [05:04:09] <ss23> :(
530: [05:04:55] <Colin[pi]> ss23: it's ok, I started watching it but my gf fell asleep during it which means we don't watch it anymore
531: [05:05:01] <ss23> lol
532: [05:05:03] <ss23> wake her up
533: [05:05:16] <ss23> One of my flatmates ended up watching breaking bad without his gf
534: [05:05:19] <Colin[pi]> she falls asleep during like 80% of tv/movies
535: [05:05:26] <ss23> he was like "I swear man don't fucking tell her she'll kill me"
536: [05:05:37] <ss23> then he rewatched them all with her while pretending he didn't know what was going to happen
537: [05:05:41] <ss23> idek
538: [05:05:41] <Colin[pi]> lol
539: [05:05:41] <spronk2> it's beginning
540: [05:06:02] <Colin[pi]> ss23: bb was the ONLY tv show my gf has watched 100% without falling asleep
541: [05:06:07] <spronk2> in a few years we'll have domestic murders because of tv show watching
542: [05:06:08] <ss23> oh bb oh bb
543: [05:06:12] * Shrike_Finland quit (Quit: Leaving.)
544: [05:06:18] <spronk2> who's watching better call saul?
545: [05:06:24] <Colin[pi]> spronk2: ehhhhhh
546: [05:06:29] <ss23> I hear it's okay
547: [05:06:36] <Colin[pi]> wont be the same to me
548: [05:06:37] <spronk2> it's pretty deece
549: [05:07:15] <Colin[pi]> I wanted to watch more of true detective as well
550: [05:07:21] <Colin[pi]> gf fucking fell asleep again
551: [05:07:37] <spronk2> why is this a problem?
552: [05:07:45] <spronk2> isn't it licence to binge if she falls asleep?
553: [05:07:59] <Ryan-Toast> Just yell in her face and shake her.
554: [05:08:07] <spronk2> never shake a baby, Ryan-Toast
555: [05:08:16] <Colin[pi]> spronk2: yeah I could, but tbh I don't like watching tv by myself, if by myself I'd rather go and play a game or code or some shit
556: [05:08:25] <spronk2> Colin[pi]
557: [05:08:27] <spronk2> watch tv
558: [05:08:29] <spronk2> while
559: [05:08:33] <spronk2> playing a game.
560: [05:08:51] * spronk2 solves all your problems
561: [05:08:54] <wmk> ss23: http://www.fucking-hell.de/en/
562: [05:08:58] <Colin[pi]> spronk2: lolol yeah while flying my ship in Elite Dangerous GG SPRONK2 I JUST CRASHED INTO A PLANET
563: [05:09:11] <ss23> lol
564: [05:09:16] <spronk2> :D
565: [05:09:28] <spronk2> eh, elite dangerous only gets 7/10 on steam so ditch it for something better
566: [05:09:28] <spronk2> :p
567: [05:09:38] <Colin[pi]> spronk2: nu uh, it's awesome
568: [05:09:59] <Colin[pi]> hmm GTA V is almost out doe
569: [05:10:07] * jedateach quit (Ping timeout: 256 seconds)
570: [05:10:07] <spronk2> is it as awesome as replaying heroes of might and magic III ?
571: [05:10:12] <spronk2> no. no it is not.
572: [05:10:34] <Colin[pi]> spronk2: I would first have to play heroes of might and magic III before replaying it :P
573: [05:10:39] <spronk2> especially when, you know, it's 60% off at gog.com
574: [05:10:40] <spronk2> OMG
575: [05:10:42] <spronk2> go and get it
576: [05:10:43] <spronk2> and play it
577: [05:10:55] * spronk2 can hear the sounds of horse hooves in his head right now
578: [05:11:04] <Colin[pi]> looks like Civ
579: [05:11:09] <spronk2> nah, way diff
580: [05:11:18] <spronk2> there really isn't much like it
581: [05:11:20] <Colin[pi]> settlers?
582: [05:11:29] <spronk2> its kinda a genre of its own
583: [05:11:40] <Colin[pi]> UR IN A GENRE OF UR OWN
584: [05:11:40] <spronk2> you get "heroes" and explore the world
585: [05:11:44] * spronk2 knows this
586: [05:11:54] <spronk2> and your heroes capture towns and build them up with improvements
587: [05:11:59] <Colin[pi]> oic
588: [05:12:02] <spronk2> which you pay for with resources your kingdom ends up owning
589: [05:12:09] <spronk2> and you can recruit creatures to fight for your hero or town
590: [05:12:10] <Colin[pi]> sounds kinda like a game I used to play on the Amiga
591: [05:12:27] <spronk2> and then you go around with your hero, who looks like a horse on screen but is actually an entire legion of armed creatures
592: [05:12:32] <spronk2> and fight other towns and heroes
593: [05:12:36] <spronk2> PWN
594: [05:12:39] <Colin[pi]> yeah that sounds like Civ
595: [05:12:51] <spronk2> i dno, it's quite different to civ
596: [05:12:59] <spronk2> lots of focus is on the creatures and magic spells
597: [05:13:03] <Colin[pi]> how long is the avg game of it?
598: [05:13:10] <spronk2> depends on what kind of game you play
599: [05:13:15] <spronk2> can be as short as half an hour
600: [05:13:19] <spronk2> can be as long as you want really
601: [05:13:27] <Colin[pi]> mm last time I was in Civ5 I was going all frickin weekend lol
602: [05:13:37] <spronk2> but srs
603: [05:13:40] <Colin[pi]> my gf noted "this looks like a game for nerds"
604: [05:13:43] <spronk2> 5 star on GOG for HoMM3, 7k votes
605: [05:14:02] <spronk2> http://www.metacritic.com/game/pc/heroes-of-might-and-magic-iii
606: [05:14:08] <spronk2> 9.4 user score on metacriticz
607: [05:14:17] <Colin[pi]> spronk2: but tell me why is this bettar than me pew pewing lasers in ED?
608: [05:14:24] <spronk2> http://www.gamespot.com/heroes-of-might-and-magic-iii/
609: [05:14:25] <Colin[pi]> PEW PEW ALL THE THINGS
610: [05:14:33] <spronk2> YOU CAN PEW PEW WITH LIGHTNING BOLTS IN HEROES
611: [05:14:36] <spronk2> FUCK LASERS
612: [05:14:37] <Colin[pi]> pfft
613: [05:14:44] <spronk2> FUCK THE KING
614: [05:15:00] <Colin[pi]> do any of these so called heroes have railguns?
615: [05:15:02] <Colin[pi]> I THINK NOT
616: [05:15:12] <spronk2> they have dragons
617: [05:15:14] <spronk2> and magic spells
618: [05:15:24] <spronk2> like bloodlust
619: [05:15:26] <spronk2> keke
620: [05:15:39] <Colin[pi]> lets see how long their bloodlust lasts against my plasma acceleratorz!!!1
621: [05:15:54] <WandL> Might have to dig out my 3DO lol
622: [05:16:03] <Colin[pi]> WandL: oh god that takes me back
623: [05:16:07] * spronk2 will just cast magic mirror and reflect your hostile spell back at you, Colin[pi]
624: [05:16:42] <WandL> Colin[pi]: I love my 3DO best version of Road Rash ever
625: [05:17:29] <spronk2> https://www.youtube.com/watch?v=9sCy9I9E78o
626: [05:21:58] <Colin[pi]> spronk2: look aight but I don't know if I have the patience for that type of game these days :(
627: [05:26:07] <spronk2> :(
628: [05:26:11] <spronk2> kids these days
629: [05:26:12] <spronk2> everything's just
630: [05:26:15] <spronk2> give me pew pew lasers now
631: [05:27:57] * Ryan-Toast quit (Quit: Ryan-Toast)
632: [05:28:23] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
633: [05:29:32] <Colin[pi]> spronk2: lol ironically it's because I don't have the time of a kid that I wouldn't have the patience to play it :D
634: [05:29:40] <spronk2> mm
635: [05:29:57] <spronk2> ive been playinga few games while watching tv lol
636: [05:33:54] * wmk quit (Ping timeout: 252 seconds)
637: [05:43:55] * Shrike_Finland has joined #silverstripe
638: [05:56:23] * camfindlay quit (Quit: camfindlay)
639: [06:08:42] * lerni_ has joined #silverstripe
640: [06:10:46] <ss-helper> Relation between member and guest(visitor) - http://www.silverstripe.org/community/forums/customising-the-cms/show/101603
641: [06:11:28] * wmk has joined #silverstripe
642: [06:34:09] * Guits has joined #silverstripe
643: [06:34:15] * glenn-bautista quit (Ping timeout: 252 seconds)
644: [06:35:51] * Eliseth has joined #silverstripe
645: [06:36:58] * vedran has joined #silverstripe
646: [06:37:08] * vedran is now known as Vedran_
647: [06:37:14] * Vedran_ is now known as Vedran__
648: [06:38:11] <Vedran__> hello, I am having a issue with Silverstripe trying to create a has_one -> has_many relationship and populating that data inside a Dropdown box. Am I in the right place to get some help?
649: [06:38:56] <zauberfisch> Vedran__: yes you are
650: [06:39:22] * Kingy[a] is now known as Kingy
651: [06:39:39] <Vedran__> The issue I seem to be having is, I cant save to the database.
652: [06:39:54] <Kingy> ello
653: [06:40:40] <Kingy> sup Colin[pi]
654: [06:41:00] * FMateo has joined #silverstripe
655: [06:41:25] <FMateo> Good day, How i can get Page name from Page?
656: [06:41:30] <Vedran__> http://pastebin.com/x2wqfs2M is where things are at
657: [06:42:39] <Vedran__> Reading the Silverstripe docs, it tells me that I need to reference the ->map with TeamTypeID. However when I do this (and view the source) the value property on the option is empty.
658: [06:44:23] <FMateo> Ah! with Title! XD
659: [06:52:52] * mobiusnz has joined #silverstripe
660: [06:56:16] * Shrike_Finland quit (Quit: Leaving.)
661: [06:59:13] * Arcax has joined #silverstripe
662: [07:02:06] * Kutten has joined #silverstripe
663: [07:02:19] <wmk> FMateo, Title or MenuTitle, depends on what name you want
664: [07:03:06] <wmk> Vedran__, you have to name the Dropdown like the relation
665: [07:03:31] <wmk> so if you have has_one Teamtypes => Team you need to name the Dropdown "TeamTypes", not "TeamTypeDropdown"
666: [07:04:01] <zauberfisch> Vedran__: the name of the dropdown field have to be with ID
667: [07:04:07] <wmk> Vedran__, the title of the form field defines where it's saved, so it's important to use the name.
668: [07:04:12] * jarr0dsz has joined #silverstripe
669: [07:04:23] <zauberfisch> because $has_one TeamPages actually makes a db field int "TeamPagesID"
670: [07:04:28] <wmk> well, for a has_one you need ID, so TeamTypesID in your case
671: [07:04:38] <wmk> (why plural "TeamTypes" for a hasONE) ????
672: [07:05:00] <zauberfisch> Vedran__: so the dropdown should work with DropdownField::create('TeamTypeDropdownID')
673: [07:05:14] <wmk> zauberfisch, that saves in nirvana
674: [07:05:14] <zauberfisch> actually, fail
675: [07:05:27] <zauberfisch> DropdownField::create('TeamTypesID')
676: [07:05:45] <wmk> zauberfisch, make him rename to TeamType ;)
677: [07:06:04] <zauberfisch> yeah, wmk is right. change the name to TeamType
678: [07:06:07] <zauberfisch> because its just one
679: [07:06:45] <zauberfisch> also, is there a reason why you use a dropdown instaed of a gridfield?
680: [07:07:32] * r_hector has joined #silverstripe
681: [07:07:50] <wmk> zauberfisch, for a has_one i normally use a dropdown if all types are predefined.
682: [07:08:10] <wmk> there is a quickaddnew extension where i could create a new dataobject on the fly
683: [07:08:21] * benjhocking quit (Read error: Connection reset by peer)
684: [07:09:17] <wmk> zauberfisch, what do you use for has_one?
685: [07:09:17] * mahfuz quit (Quit: Page closed)
686: [07:10:00] <zauberfisch> well, its a has_many=>has_one relation
687: [07:10:06] <zauberfisch> which sounds like classic gridfield
688: [07:10:23] <zauberfisch> otherwise I would indeed use a dropdown
689: [07:11:27] * Kingy is now known as Kingy[a]
690: [07:11:41] * benjhocking has joined #silverstripe
691: [07:20:48] * arnhoe has joined #silverstripe
692: [07:21:50] <Vedran__> Sorry guys, was afk. Thank you for help zauberfisch wmk
693: [07:22:18] <wmk> the dropdown was on the has_one side, zauberfisch
694: [07:22:25] <wmk> Vedran__, got it working?
695: [07:26:01] <ss-helper> Accessing to a custom field in CMS DataObject - http://www.silverstripe.org/community/forums/customising-the-cms/show/101604
696: [07:27:01] * Shrike_Finland has joined #silverstripe
697: [07:27:46] <Vedran__> wmk: Yes I did. Thank you so much!
698: [07:27:57] <Vedran__> spent way too long on this :/
699: [07:28:31] <Vedran__> now to get a real irc client for osx
700: [07:28:37] <Vedran__> and now to get a real irc client for osx
701: [07:28:39] <wmk> Vedran__, 1) try yourself first 2) if you stuck ask for help soon
702: [07:35:40] * Sticks quit (Quit: Leaving)
703: [07:36:35] * Vedran___ has joined #silverstripe
704: [07:41:19] * Vedran__ quit (Ping timeout: 246 seconds)
705: [07:42:30] * Vedran__ has joined #silverstripe
706: [07:43:48] * Vedran___ quit (Ping timeout: 244 seconds)
707: [07:44:40] * jarr0dsz quit (Ping timeout: 272 seconds)
708: [07:47:57] * WandL quit (Quit: Textual IRC Client: www.textualapp.com)
709: [08:01:15] * Vedran__ quit (Ping timeout: 276 seconds)
710: [08:08:15] * zippy has joined #silverstripe
711: [08:09:19] * jedateach has joined #silverstripe
712: [08:10:49] * Pymoondayk has joined #silverstripe
713: [08:11:22] * Shrike_Finland quit (Quit: Leaving.)
714: [08:15:50] * Shrike_Finland has joined #silverstripe
715: [08:17:25] * jarr0dsz has joined #silverstripe
716: [08:21:09] * GioVdK has joined #silverstripe
717: [08:21:12] * kinglozzer has joined #silverstripe
718: [08:26:13] <ss-helper> Re: Relation between member and guest(visitor) - http://www.silverstripe.org/community/forums/customising-the-cms/show/101603#post401214
719: [08:39:14] * bemusedrat has joined #silverstripe
720: [08:40:34] <zippy> no words, just sleep ss-helper....
721: [08:41:07] * ss-helper quit (Disconnected by services)
722: [08:41:07] * ss-helper_ has joined #silverstripe
723: [08:41:08] * ss-helper_ is now known as ss-helper
724: [08:43:42] <wmk> zippy, WHY?
725: [08:43:53] <wmk> !?
726: [08:43:55] <zippy> os updates :)
727: [08:44:08] <wmk> !? could do a ss-helper help ...?
728: [08:44:14] <wmk> e.g. commands available?
729: [08:44:18] <zippy> :)
730: [08:44:25] <wmk> !m(
731: [08:44:46] <Pymoondayk> commandos?
732: [08:44:48] <Pymoondayk> great game.
733: [08:45:38] <Pymoondayk> !help
734: [08:45:39] <ss-helper> Please provide the version, full error message and relevant code. You can put the code in http://kopy.io/ or http://www.sspaste.com/ or https://gist.github.com/ and paste the link here.
735: [08:46:05] <zippy> that kopy.io isn't bad
736: [08:46:09] <Pymoondayk> omg wtf this thread: http://www.silverstripe.org/community/forums/customising-the-cms/show/101603#post401214
737: [08:46:44] <zippy> lol
738: [08:46:52] <zippy> sounds like a good one for you Pymoondayk
739: [08:47:35] <Pymoondayk> A good to what? I could blast that out of the water but I think it's more of a language barrier than anything
740: [08:47:46] <Pymoondayk> seems chappy has created a guest class
741: [08:48:00] * Colin[pi] quit (Ping timeout: 272 seconds)
742: [08:48:02] <Pymoondayk> which in itself is bizarre, but equally valid
743: [08:49:28] <wmk> \0/ Pymoondayk
744: [08:51:00] <Pymoondayk> 'lo wmk :)
745: [08:53:06] * emitor has joined #silverstripe
746: [08:53:18] * Shrike_Finland quit (Quit: Leaving.)
747: [08:54:39] <Pymoondayk> now a helpful image: http://iforce.co.nz/i/quv5meng.sv4.png
748: [08:55:30] <emitor> Hi, a simple question... Which "functions" needs to be written in $allowed_actions? ... I have some which I need in template, some which are called by AJAX... which of them I must add to $allowed_actions array?
749: [08:55:58] <ss-helper> Re: Working with subsite module on live server - http://www.silverstripe.org/community/forums/general-questions/show/101596#post401215
750: [08:56:33] * Shrike_Finland has joined #silverstripe
751: [08:57:06] * Stomach quit (Quit: zzz)
752: [08:57:27] <zippy> emitor: functions which are requested over http / so hit by ajax or browser
753: [08:58:15] <emitor> function which return Form doesn´t?
754: [08:58:23] <zippy> the function is also passed the request - function foobar($request) { var_dump($request->postVar('foo')); }
755: [08:58:35] <zippy> emitor: that is just called in your template like $X isn't it?
756: [08:58:40] <emitor> yes
757: [08:59:06] * Shrike_Finland1 has joined #silverstripe
758: [08:59:22] <zippy> the function which returns the form doesn't but I think the function which you tell the form to use (action) would be
759: [09:00:18] * swaiba has joined #silverstripe
760: [09:00:20] <emitor> ok, thanks zippy :)
761: [09:01:24] * Shrike_Finland quit (Ping timeout: 264 seconds)
762: [09:02:15] <wmk> Pymoondayk, nice graphic
763: [09:03:22] * Vedran__ has joined #silverstripe
764: [09:03:50] <Pymoondayk> wmk: it's the one I made up for Adesso ages ago :>
765: [09:03:59] <wmk> yup.
766: [09:04:02] <wmk> fine...
767: [09:05:04] <Pymoondayk> emitor: from what I recall you have a form in a loop? You need to create a 'getter' to get the form, but have it submit to the same method (the actual one that returns the form.
768: [09:07:06] <emitor> Pymoondayk: I already solve it... I ll send my solution
769: [09:10:28] <emitor> http://codepad.org/JsDGDPVK
770: [09:11:01] <ss-helper> Re: Working with subsite module on live server - http://www.silverstripe.org/community/forums/general-questions/show/101596#post401217
771: [09:11:01] <ss-helper> Re: Relation between member and guest(visitor) - http://www.silverstripe.org/community/forums/customising-the-cms/show/101603#post401216
772: [09:11:07] <emitor> the "hack" is this __FUNCTION__ . $chat->ID
773: [09:12:55] <kinglozzer> yo yo yo
774: [09:14:44] <Eliseth> morning
775: [09:18:58] <wmk> Eliseth, o/
776: [09:19:40] * emitor quit (Ping timeout: 246 seconds)
777: [09:22:54] * Tanger quit (Quit: sleep())
778: [09:23:46] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
779: [09:24:24] * Tanger has joined #silverstripe
780: [09:26:00] <Pymoondayk> \o Eliseth
781: [09:26:04] <ss-helper> Re: Working with subsite module on live server - http://www.silverstripe.org/community/forums/general-questions/show/101596#post401219
782: [09:26:04] <ss-helper> Re: Accessing to a custom field in CMS DataObject - http://www.silverstripe.org/community/forums/customising-the-cms/show/101604#post401218
783: [09:27:05] * Shrike_Finland1 quit (Quit: Leaving.)
784: [09:27:44] <Pymoondayk> kinglozzer: this guy seems pretty chuffed with your tutorial: http://www.silverstripe.org/community/forums/customising-the-cms/show/101377
785: [09:34:28] * Stomach has joined #silverstripe
786: [09:34:59] <kinglozzer> Pymoondayk: Heh, that article seems to get quite a few hits
787: [09:35:14] <kinglozzer> Probably because it's basically the only one out there D:
788: [09:35:17] <Pymoondayk> ha, well it is about the only entwine ... yeh
789: [09:35:17] <Pymoondayk> haha
790: [09:35:26] <Pymoondayk> besides the 'official' docs
791: [09:35:36] <Pymoondayk> which aren't much more than a basic tutorial.
792: [09:40:55] <kinglozzer> ffs I need a rewrite for adnub to admin... the amount of times I type that...
793: [09:41:06] <ss-helper> Re: SQLite3 Module howto - http://www.silverstripe.org/community/forums/installing-silverstripe/show/101292#post401222
794: [09:41:06] <ss-helper> Re: Working with subsite module on live server - http://www.silverstripe.org/community/forums/general-questions/show/101596?start=8#post401221
795: [09:41:06] <ss-helper> Re: Hosting for existing wesbite - http://www.silverstripe.org/community/forums/hosting-requirements/show/101600#post401220
796: [09:42:23] * Colin[pi] has joined #silverstripe
797: [09:42:33] * emitor has joined #silverstripe
798: [09:43:29] <emitor> Is there any way how to define $db attribute with "NOT NULL" ?... this not working 'Text' => 'Varchar NOT NULL'
799: [09:46:13] * FMateo quit (Ping timeout: 245 seconds)
800: [09:56:09] <ss-helper> Re: Accessing to a custom field in CMS DataObject - http://www.silverstripe.org/community/forums/customising-the-cms/show/101604#post401231
801: [09:56:09] <ss-helper> Re: Working with subsite module on live server - http://www.silverstripe.org/community/forums/general-questions/show/101596?start=8#post401230
802: [09:57:19] * Vedran__ quit (Remote host closed the connection)
803: [09:57:24] * FMateo has joined #silverstripe
804: [09:58:10] * emitor quit (Ping timeout: 246 seconds)
805: [09:59:49] <Pymoondayk> em... wtf
806: [09:59:52] <Pymoondayk> why quit?
807: [09:59:57] * Pymoondayk sighs.
808: [10:00:04] <Pymoondayk> yes there is a table_options static or something like that
809: [10:00:16] <Pymoondayk> a bit of the googles on the code base will turn it up
810: [10:02:03] <Pymoondayk> or just look at SiteTree.php if you have cms installed
811: [10:02:11] <Pymoondayk> I think it has most relevant things on it
812: [10:09:33] * Vedran__ has joined #silverstripe
813: [10:12:26] * jedateach quit (Quit: jedateach)
814: [10:13:27] * Frans_Amsterdam has joined #silverstripe
815: [10:13:44] * praveen___ has joined #silverstripe
816: [10:13:51] <praveen___> Hello
817: [10:14:14] <praveen___> How do I get all the posts of an Author/Member?
818: [10:14:29] <praveen___> Is this is right SiteTree::get()->filter("AuthorID",$this->MemberID)->sort('LastEdited'.'DESC')->First();
819: [10:14:57] <praveen___> SiteTree::get()->filter("AuthorID", $ID)->sort('LastEdited'.'DESC')->First();
820: [10:15:59] <Pymoondayk> praveen___: yes, first is correct, except the sort is wrong.
821: [10:16:04] <Pymoondayk> comma, not dot.
822: [10:16:11] <Pymoondayk> never use SQL in ORM calls.
823: [10:16:29] <Pymoondayk> unless it's where(), but if you're using where() instead of filter() you're probably doing it wrong.
824: [10:16:38] <Pymoondayk> (unless your query is extremely complex)
825: [10:17:15] <Pymoondayk> praveen___: well, it's correct if Posts are pages
826: [10:17:32] <Pymoondayk> it seems far more like you should have Post::get()->fil...[etc]
827: [10:19:57] <elgabbu> having trouble with the hierarchy class ... the getChildrenAsUL method is used to display a tree in the TreeDropdownField
828: [10:20:12] * headtrip has joined #silverstripe
829: [10:20:28] <elgabbu> however nothing is being displayed regardless of the search term provided
830: [10:20:50] <elgabbu> i looked into the method and there is this particular line ... if(!$limitToMarked || $child->isMarked()) {
831: [10:21:06] <elgabbu> the isMarked function is always returning false
832: [10:22:08] <praveen___> @Pymoondayk sorry. it should be SiteTree::get()->filter("AuthorID",$this->MemberID)->sort('LastEdited','DESC')->First();
833: [10:22:24] <praveen___> I will correct it . Thanks
834: [10:22:43] * lerni_ quit (Remote host closed the connection)
835: [10:26:14] <ss-helper> Re: Versioning Text input - http://www.silverstripe.org/community/forums/data-model-questions/show/101597#post401239
836: [10:26:14] <ss-helper> Re: Error: Cannot redeclare class sfyamlinline - http://www.silverstripe.org/community/forums/general-questions/show/101587#post401238
837: [10:26:14] * huberd has joined #silverstripe
838: [10:28:44] * Shrike_Finland has joined #silverstripe
839: [10:31:15] <praveen___> @Pymoondayk it gives error un know column Author ID
840: [10:31:19] * Azure has joined #silverstripe
841: [10:32:46] <praveen___> Authord ID exists in DataObject version table
842: [10:33:32] <praveen___> Query executes Live Table
843: [10:33:51] <praveen___> SELECT DISTINCT "SiteTree_Live"."ClassName", "SiteTree_Live"."Created", "SiteTree_Live"."LastEdited", "SiteTree_Live"."URLSegment", "SiteTree_Live"."Title", "SiteTree_Live"."MenuTitle", "SiteTree_Live"."Content", "SiteTree_Live"."MetaDescription", "SiteTree_Live"."ExtraMeta", "SiteTree_Live"."ShowInMenus", "SiteTree_Live"."ShowInSearch", "SiteTree_Live"."Sort", "SiteTree_Live"."HasBrokenFile", "SiteTree_Live"."HasBrokenLink"
844: [10:35:53] <Pymoondayk> praveen___: becuase you're trying to select ALL pages, not Posts.
845: [10:36:06] <Pymoondayk> Most pages do not have Author field.
846: [10:37:05] <Pymoondayk> Think less about databases, and more about objects. Page is a parent class. Post is (probably) a child. Good code dictates that you should not call child class specific things from a parent class.
847: [10:37:07] <Pymoondayk> ever.
848: [10:37:39] * Azure quit (Ping timeout: 256 seconds)
849: [10:37:59] <Pymoondayk> Also, if you use an @ I don't get notified. Please don't do that, or the help will be very slow! :<
850: [10:38:22] <Pymoondayk> tip: press py<tab>
851: [10:39:29] <praveen___> ok
852: [10:41:16] <ss-helper> Re: Basic Spam Protection on a Basic Form - http://www.silverstripe.org/community/forums/form-questions/show/101532#post401240
853: [10:41:53] <praveen___> Pymoondayk: Is the post are extend class of Page?
854: [10:43:18] * Vedran__ quit ()
855: [10:43:36] * Vedran__ has joined #silverstripe
856: [10:44:12] <praveen___> Pymoondayk: Do get a Latest Post Auhtor has created . Do I need to loop all the Posts?
857: [10:45:06] <praveen___> Pymoondayk: What is the beter way do get the Latest Posts Author has Created?
858: [10:45:23] <praveen___> beter=better
859: [10:46:07] <praveen___> Pymoondayk: To get a Latest Post Auhtor has created . Do I need to loop all the Posts?
860: [10:47:58] * Azure has joined #silverstripe
861: [10:49:37] * arnhoe quit (Ping timeout: 264 seconds)
862: [10:49:38] <Pymoondayk> praveen___: no idea. Did you make the class, or is it a module?
863: [10:50:05] <Pymoondayk> In either case it doesn't matter. Just Posts::get()->filter('AuthorID', $author->ID)
864: [10:50:10] * Stomach quit (Quit: zzz)
865: [10:50:35] * arnhoe has joined #silverstripe
866: [10:50:45] <Pymoondayk> praveen___: the confusion you have is not with what inherits what, but with using the correct Class you want before the ::get()
867: [10:50:54] <Pymoondayk> call the class you want.
868: [10:50:59] <Pymoondayk> That's all there is to it.
869: [10:51:22] <Pymoondayk> ClassOfThingsIWant::get()
870: [10:52:28] <Pymoondayk> For some reason your original question was using SiteTree when you said you wanted Posts. Just call Posts:;get() instead of SiteTree::get(). The filters and things you had mostly looked fine (apart from the sort bit I already pointed out)
871: [10:53:17] <Pymoondayk> http://doc.silverstripe.org/en/developer_guides/model/data_model_and_orm/#querying-data
872: [10:54:58] * henkpoley has joined #silverstripe
873: [10:56:19] <ss-helper> Re: Relation between member and guest(visitor) - http://www.silverstripe.org/community/forums/customising-the-cms/show/101603#post401241
874: [10:59:38] * lerni_ has joined #silverstripe
875: [11:02:46] * lerni__ has joined #silverstripe
876: [11:02:46] * lerni_ quit (Read error: Connection reset by peer)
877: [11:05:04] * lerni_ has joined #silverstripe
878: [11:05:04] * lerni__ quit (Read error: Connection reset by peer)
879: [11:12:06] * Vedran__ quit (Remote host closed the connection)
880: [11:17:57] <Frans_Amsterdam> Hi all, I like to ask where you call a CSV uploader that is used in CMS. I have a dataObject and would like to import with a CVS-file.
881: [11:18:48] <wmk> Frans_Amsterdam, how about a ModelAdmin for that DO?
882: [11:20:54] <Frans_Amsterdam> wmk I read the documentation but it is not workink for yet. I have adde $model_importers and added an extension of CsvBulkLoader.
883: [11:21:23] <wmk> Frans_Amsterdam, you need it once or more often?
884: [11:21:57] <Frans_Amsterdam> wmk I need to import more often
885: [11:22:20] <wmk> ok.
886: [11:22:23] <wmk> !paste Frans_Amsterdam
887: [11:22:24] <ss-helper> Frans_Amsterdam: Please paste your code using something like http://kopy.io/ or http://www.sspaste.com/ or https://gist.github.com/ and then paste the link here.
888: [11:24:56] * nontgor quit (Ping timeout: 244 seconds)
889: [11:24:57] * Vedran__ has joined #silverstripe
890: [11:25:17] <Frans_Amsterdam> ss-helper Here is my code: http://www.sspaste.com/paste/show/552ba73c9f862
891: [11:25:36] <wmk> ;)
892: [11:26:24] <ss-helper> Re: Basic Spam Protection on a Basic Form - http://www.silverstripe.org/community/forums/form-questions/show/101532#post401242
893: [11:27:45] <wmk> Frans_Amsterdam, first row has the correct column names?
894: [11:28:56] <wmk> and "does not work" ... could you specify the error more precisely? any error logs?
895: [11:29:15] <wmk> is the bulkloader called? (could you set a breakpoint) ...
896: [11:30:17] * cloph_away has joined #silverstripe
897: [11:30:25] <Frans_Amsterdam> wmk Ok. I like to import a CSV-file with matching columns. But until now there is no upload button in CMS.
898: [11:31:03] <wmk> what is "BaseAdmin" ?
899: [11:31:25] <wmk> a subclass of ModelAdmin? are there any settings overwritten for csv import?
900: [11:32:20] <wmk> Frans_Amsterdam, set public $showImportForm = true;
901: [11:33:15] <Frans_Amsterdam> wmk BaseAdmin is an extesion of modelAdmin. Where do I do that. In the modelAdmin?
902: [11:33:54] <wmk> it's default in ModelAdmin, maybe overwritten in BaseAdmin? Set it true in your ReferenceAdmin
903: [11:34:36] <kinglozzer> CSV import? Saw a cool looking module for that... https://github.com/burnbright/silverstripe-importexport
904: [11:34:58] <wmk> burnbright sounds like cool module ;)
905: [11:35:43] <wmk> kinglozzer, oiiidaaaa!
906: [11:35:46] <praveen___> Pymoondayk: In SQLQuery how to set Orderby LastEdited
907: [11:36:11] <praveen___> Pymoondayk: $sqlQuery->setOrderBy('LastEdited = Desc');
908: [11:36:21] <praveen___> it gives error
909: [11:36:31] * DimiStripe has joined #silverstripe
910: [11:36:41] <wmk> setOrderBy('LastEdited', 'DESC'); praveen___
911: [11:36:50] <wmk> afaik two params
912: [11:36:52] <praveen___> wmk: thanks
913: [11:37:20] <wmk> kinglozzer, that doesn't look cool, no.
914: [11:37:29] <wmk> more frozen...
915: [11:37:51] <kinglozzer> wmk: Or you could say it looks super hot (BURNbright) ;)
916: [11:38:59] <swaiba> Frans_Amsterdam - https://github.com/burnbright/silverstripe-importexport - might be worth checking out
917: [11:39:20] <swaiba> dang, just saw lozzer mentioned it (doh)
918: [11:40:53] <wmk> swaiba, can i also use this module for importing json via api?
919: [11:42:20] <swaiba> wmk - dunno - just like lozzer i have just "seen" this - not used it myself
920: [11:43:08] <wmk> yeah, looks really useful.
921: [11:44:10] <kinglozzer> wmk: Doubt you can use it straight away, but you might be able to build on top of the bulkloader stuff
922: [11:44:33] <wmk> yup. good idea. noted it ;)
923: [11:44:34] <kinglozzer> i.e. instead of using CsvBetterBulkLoader, create a JsonBetterBulkLoader or something
924: [11:44:45] <wmk> might be cool for syncing stuff
925: [11:45:00] <swaiba> and then make a module of it wmk ;-)
926: [11:45:10] <wmk> swaiba, or just a PR ;)
927: [11:45:45] <wmk> btw: how to convert an array of pages (array) to yml? with references?
928: [11:45:54] <wmk> have to export from old website
929: [11:47:59] <Pymoondayk> json_encode?
930: [11:48:35] <Pymoondayk> then json->yaml? (somewhere online I'm sure, yaml is built to be json compatible iirc)
931: [11:48:51] <swaiba> more like yaml_parse ...
932: [11:49:55] <swaiba> or yaml_emit ...
933: [11:50:11] <wmk> swaiba, need pecl module for that...
934: [11:50:14] <elgabbu> in ss3.1 ... are there any known issues with the TreeDropDownField?
935: [11:50:16] <Pymoondayk> hmm, depends on php version and which extensions are installed (or compiled in) I guess. I'd not seen that before, cheers swaiba
936: [11:50:39] <Pymoondayk> http://php.net/yaml_parse
937: [11:51:12] <Pymoondayk> wmk: no, doesn't seem so: http://php.net/manual/en/yaml.requirements.php
938: [11:51:30] <Pymoondayk> Oh wait, sorry no. http://php.net/manual/en/yaml.installation.php
939: [11:52:34] <wmk> so not _that_ easy. might export the array and convert on a vagrant box i control
940: [11:56:29] <ss-helper> Re: Basic Spam Protection on a Basic Form - http://www.silverstripe.org/community/forums/form-questions/show/101532#post401243
941: [11:57:21] <wmk> swaiba, kinglozzer https://github.com/burnbright/silverstripe-importexport/issues/7
942: [12:01:03] <praveen___> How to add Wherein in SQLQuery?
943: [12:01:40] <praveen___> $sqlQuery->addWhere('"'.$baseClass.'"."ClassName" IN ( "'.implode('","',$allowed_classes).'")');
944: [12:02:14] <praveen___> It gives error
945: [12:02:57] <praveen___> Unknown column 'Page' in 'where clause'
946: [12:05:02] <praveen___> Anybody
947: [12:05:16] <praveen___> Is that right or wrong?
948: [12:07:17] <praveen___> How to escape ( in the where conditions
949: [12:07:32] <praveen___> How to escape ( in the where condition?
950: [12:11:26] <swaiba> praveen___ - addWhereAny ?
951: [12:13:24] <praveen___> swaiba: no gives error
952: [12:13:27] * Shrike_Finland quit (Quit: Leaving.)
953: [12:13:37] <praveen___> gives same error
954: [12:14:52] <swaiba> praveen___ just use a DB::Query ?
955: [12:16:02] <praveen___> right
956: [12:17:10] <praveen___> I am going to change it. I thing it does not support where in because of ambiguity
957: [12:17:46] <praveen___> I will create a Issue ticket in GitHub
958: [12:24:21] * Tanger quit (Quit: sleep())
959: [12:27:19] * UndefinedOffset has joined #silverstripe
960: [12:32:05] <praveen___> swaiba: I got same error in DB:Query
961: [12:32:53] <swaiba> praveen___ I don't get why you'd have an escape issue there... your SQL works directly?
962: [12:35:12] * Colin[pi] quit (Ping timeout: 244 seconds)
963: [12:36:42] * Vedran__ quit (Remote host closed the connection)
964: [12:37:43] * Kutten quit (Quit: Kutten)
965: [12:40:12] <praveen___> Maybe the double quotes was causing problem
966: [12:43:06] <huberd> does anyone knows about an issue with translatable-module and erropages? -> the translations were generated as i installed the module, but are not updating, also the standard error-404.html is blank now
967: [12:43:30] <praveen___> How do i convert SQLquery to datalist
968: [12:44:03] * jarr0dsz quit (Quit: My Mac has gone to sleep. ZZZzzz…)
969: [12:44:09] * gordon has joined #silverstripe
970: [12:44:32] * gordon is now known as Guest28287
971: [12:45:27] <kinglozzer> praveen___: https://github.com/burnbright/silverstripe-sqlquerylist
972: [12:45:57] * Guest28287 is now known as nontgor
973: [12:45:58] <kinglozzer> Install that module, then you can do $list = SQLQueryList::create($mySqlQuery);
974: [12:48:52] * Vedran__ has joined #silverstripe
975: [12:56:14] <ss-helper> SilverStripe Payment Module: 0.4.2 and 0.3.2 security release - https://groups.google.com/d/msg/silverstripe-announce/qFOFfvWBNe8/GBYNgOacmwgJ
976: [12:57:14] * DimiStripe quit (Quit: DimiStripe)
977: [13:00:40] * bemusedrat quit (Quit: Leaving)
978: [13:07:19] <Pymoondayk> http://api.silverstripe.org/3.1/class-SQLQuery.html#_addWhereAny - praveen___ again you're trying to feed raw SQL into methods that are NOT designed for it.
979: [13:07:51] <Pymoondayk> ->addWhereAny($field, $arrayOfThings)
980: [13:09:36] <Pymoondayk> ah shit, I'm confused with filter, sorry. The issue with your query above is that you did not escape the input.
981: [13:09:46] <Pymoondayk> $sqlQuery->addWhere('"'.$baseClass.'"."ClassName" IN ( "'.implode('","',$allowed_classes).'")');
982: [13:10:11] <Pymoondayk> and you've used double quotes.
983: [13:11:14] <ss-helper> SilverStripe 3.0.6 Security Release - https://groups.google.com/d/msg/silverstripe-announce/m4vmXYmV0CE/EfSzp3t6mvsJ
984: [13:11:23] <Pymoondayk> lol
985: [13:11:32] <Pymoondayk> good ol ss-helper, still confused about the date :P
986: [13:17:04] * DimiStripe has joined #silverstripe
987: [13:17:05] * cloph_away quit (Remote host closed the connection)
988: [13:17:12] <elgabbu> SiteTree::validate .... i am currently saving a page that is currently in the root folder ... and I am assigning it a new parent page ... however the validation fails since $this->ParentID in that function is still set to 0 and not the new value being assigned.
989: [13:17:27] * cloph_away has joined #silverstripe
990: [13:23:52] * henkpoley quit (Quit: henkpoley)
991: [13:26:44] <ss-helper> Re: Relation between member and guest(visitor) - http://www.silverstripe.org/community/forums/customising-the-cms/show/101603#post401244
992: [13:34:56] * Vedran__ quit (Remote host closed the connection)
993: [13:36:03] * tmro quit (Max SendQ exceeded)
994: [13:38:54] * babak quit (Quit: Connection closed for inactivity)
995: [13:40:10] * Vedran__ has joined #silverstripe
996: [13:40:52] * catcher has joined #silverstripe
997: [13:41:34] * praveen___ quit (Quit: Page closed)
998: [13:48:22] * DimiStripe quit (Quit: DimiStripe)
999: [13:49:40] * tmro has joined #silverstripe
1000: [13:55:40] * Ronald_ has joined #silverstripe
1001: [13:55:47] * Ronald_ quit (Client Quit)
1002: [13:55:55] * wmk quit (Ping timeout: 265 seconds)
1003: [13:56:01] * ronny_ has joined #silverstripe
1004: [13:56:12] * ronny_ quit (Client Quit)
1005: [13:56:31] * ronny554 has joined #silverstripe
1006: [13:56:36] <ronny554> hello friends )
1007: [13:56:42] <ronny554> need silver help a bit
1008: [13:56:49] <ss-helper> SiteTree Validate - can_be_root - http://www.silverstripe.org/community/forums/data-model-questions/show/101619
1009: [13:56:49] <ss-helper> Can't display sitetree in admin panel - http://www.silverstripe.org/community/forums/customising-the-cms/show/101618
1010: [13:57:14] <ronny554> how do i add a placeholder to a field ?
1011: [13:57:56] <ronny554> $fields = new FieldList( new TextField())
1012: [13:57:59] <Pymoondayk> ->setAttribute('placeholder','yeah nah')
1013: [13:58:08] <ronny554> cant figure it out
1014: [13:58:14] <Pymoondayk> because you're not using create
1015: [13:58:25] <ronny554> hmm
1016: [13:58:31] <ronny554> how to use it ?
1017: [13:59:11] <Pymoondayk> $fields = FieldList::create(TextField::create('myfield', 'My Field')->setAttribute('placeholder', 'my field placeholder'));
1018: [13:59:35] <Pymoondayk> well, it's not _because_ you're not using create, it just makes things easier because chaining.
1019: [14:00:05] <Pymoondayk> elgabbu: did you crosspost your question?
1020: [14:01:03] <Pymoondayk> oh, no, someone else just posted a very similarly named question!
1021: [14:03:43] * Spliff has joined #silverstripe
1022: [14:03:45] <Spliff> t
1023: [14:04:57] <Pymoondayk> good point, it's 3pm
1024: [14:05:34] * DimiStripe has joined #silverstripe
1025: [14:08:42] <Eliseth> I need to make an adjustment to an older site (SS 2.X) and have a problem: I created a new enum field with a corresponding dropdown in admin to select the values. However, I want the dropdown to select nothing by default, but it always seems to select the first value even if I call it with ->enumValues(true)
1026: [14:11:03] <Eliseth> Any insight is much appreciated :)
1027: [14:11:22] <ss-helper> SilverStripe Payment Module: 0.4.2 and 0.3.2 security release - https://groups.google.com/d/msg/silverstripe-announce/qFOFfvWBNe8/GBYNgOacmwgJ
1028: [14:11:52] <ss-helper> Re: SiteTree Validate - can_be_root - http://www.silverstripe.org/community/forums/data-model-questions/show/101619#post401249
1029: [14:11:52] <ss-helper> Re: SiteTree Validate - can_be_root - http://www.silverstripe.org/community/forums/data-model-questions/show/101619#post401248
1030: [14:11:52] <ss-helper> Re: Can't display sitetree in admin panel - http://www.silverstripe.org/community/forums/customising-the-cms/show/101618#post401247
1031: [14:26:24] <ss-helper> SilverStripe 3.0.6 Security Release - https://groups.google.com/d/msg/silverstripe-announce/m4vmXYmV0CE/EfSzp3t6mvsJ
1032: [14:28:09] * Guits quit (Ping timeout: 245 seconds)
1033: [14:29:32] <catcher> Eliseth, http://api.silverstripe.org/2.4/class-DropdownField.html#_setEmptyString
1034: [14:30:01] <catcher> Eliseth, or at the very least, http://api.silverstripe.org/2.4/class-DropdownField.html#_setHasEmptyDefault
1035: [14:31:08] <ronny554> pk, now why this diesnt work ?
1036: [14:31:09] <ronny554> TextField::create("Email", $label, Session::get('SessionForms.MemberLoginForm.Email'), null, $this)->setAttribute('placeholder', _t('Member.BUTTONLOGINOTHER', "Log in as someone else")),
1037: [14:31:58] * lerni_ quit (Remote host closed the connection)
1038: [14:58:28] * ronny554 quit (Ping timeout: 246 seconds)
1039: [15:01:19] * henkpoley has joined #silverstripe
1040: [15:01:30] * henkpoley quit (Client Quit)
1041: [15:12:46] <Eliseth> tyvm
1042: [15:13:32] <Pymoondayk> ro, oh, he quit.
1043: [15:13:39] <Pymoondayk> that's good, because I have no idea, lol :<
1044: [15:14:47] <Pymoondayk> Probably because the session is the wrong place to get the login email, and it's unset, maybe. Theorising.
1045: [15:21:46] * Eliseth quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
1046: [15:28:41] * cupcake has joined #silverstripe
1047: [15:29:03] <cupcake> how do i set current member to have admin permissions?
1048: [15:29:25] * headtrip quit (Quit: (null))
1049: [15:32:53] <swaiba> cupcake add them to the Administrators group?
1050: [15:33:28] <cupcake> i am running a MigrationTask
1051: [15:33:30] <cupcake> from admin
1052: [15:33:54] <cupcake> and im using doUnpublish to unpublish osme pages
1053: [15:34:22] <cupcake> but function canDeleteFromLive
1054: [15:34:32] <cupcake> is returning false
1055: [15:38:03] * DimiStripe quit (Quit: DimiStripe)
1056: [15:38:24] * Frans_Amsterdam quit (Ping timeout: 256 seconds)
1057: [15:39:01] * arnhoe quit ()
1058: [15:41:12] * DimiStripe has joined #silverstripe
1059: [15:43:56] * DimiStripe quit (Client Quit)
1060: [15:44:37] <swaiba> cupcake okey, then hijack $_SESSION['loggedInAs'] with an admin user? (not proud of suggetion)
1061: [15:45:08] <swaiba> wet it back after to avoid "unhelpful" side effects
1062: [15:50:34] * r_hector quit (Quit: Leaving.)
1063: [15:52:14] * wmk has joined #silverstripe
1064: [15:56:16] * wmk quit (Ping timeout: 240 seconds)
1065: [15:59:58] * Age has joined #silverstripe
1066: [16:00:22] * Age is now known as Guest43232
1067: [16:00:30] * Guest43232 has left #silverstripe
1068: [16:03:22] * biwac has joined #silverstripe
1069: [16:09:33] * biwac has left #silverstripe
1070: [16:18:57] <kinglozzer> cupcake: $oldMember = Member::currentUser(); $member = << code to get an admin >>; $member->logIn(); << run your task >> $oldMember->logIn();
1071: [16:19:28] <kinglozzer> Or just do the Session::set('loggedInAs'); as swaiba suggested
1072: [16:19:45] <kinglozzer> Probably simpler to do that actually
1073: [16:25:15] * gelignite has joined #silverstripe
1074: [16:27:14] <ss-helper> Re: Relation between member and guest(visitor) - http://www.silverstripe.org/community/forums/customising-the-cms/show/101603#post401250
1075: [16:29:22] * kinglozzer quit ()
1076: [16:34:38] * swaiba quit (Remote host closed the connection)
1077: [16:52:19] * stnvh quit (Quit: quit)
1078: [16:56:06] * cupcake quit (Quit: Page closed)
1079: [16:59:13] * huberd quit (Ping timeout: 246 seconds)
1080: [17:02:39] * FrozenFire quit (Excess Flood)
1081: [17:03:02] * FrozenFire has joined #silverstripe
1082: [17:06:32] * Pymoondayk quit ()
1083: [17:07:28] * GioVdK quit (Ping timeout: 245 seconds)
1084: [17:12:22] <ss-helper> Re: Relation between member and guest(visitor) - http://www.silverstripe.org/community/forums/customising-the-cms/show/101603#post401251
1085: [17:27:25] <ss-helper> Re: Relation between member and guest(visitor) - http://www.silverstripe.org/community/forums/customising-the-cms/show/101603#post401252
1086: [17:46:41] * lerni_ has joined #silverstripe
1087: [17:50:14] * wmk has joined #silverstripe
1088: [18:09:00] * Liquide has joined #silverstripe
1089: [18:16:49] * lerni_ quit (Remote host closed the connection)
1090: [18:18:42] * muskie9 has joined #silverstripe
1091: [18:28:09] * lerni_ has joined #silverstripe
1092: [18:39:20] <muskie9> anyone know of a frontend bulk editing tool, or if the bulk editor module works on the frontend?
1093: [18:45:29] * DimiStripe has joined #silverstripe
1094: [18:48:48] <wmk> cool, Controller::join_links() also takes care of get arguments
1095: [18:51:11] <wmk> muskie9, if you get grid working on frontend then bulk editing could be possible to work
1096: [18:51:57] <muskie9> wmk was thinking about that... thought I heard a while back that getting grid to work on the frontend was a huge pain
1097: [18:52:07] <muskie9> or not possible, one of the two
1098: [18:52:45] <muskie9> unless this works lol https://github.com/webbuilders-group/silverstripe-frontendgridfield
1099: [18:53:41] <wmk> hehe, dunno if you have to include some other backend js to get bulk stuff working
1100: [18:54:27] <muskie9> this got me confused when looking through the bulk module: https://github.com/colymba/GridFieldBulkEditingTools/blob/master/bulkManager/BULK_MANAGER.md#front-end-config
1101: [18:57:11] * Liquide quit ()
1102: [18:59:01] <wmk> maybe things got better in the meantime
1103: [19:08:51] * Stomach has joined #silverstripe
1104: [19:11:32] * wmk quit (Ping timeout: 265 seconds)
1105: [19:15:20] * wmk has joined #silverstripe
1106: [19:17:39] * Werner_2_ has joined #silverstripe
1107: [19:17:39] * wmk quit (Read error: Connection reset by peer)
1108: [19:19:28] * babak has joined #silverstripe
1109: [19:21:16] * cloph_away quit (Ping timeout: 240 seconds)
1110: [19:21:38] * cloph_away has joined #silverstripe
1111: [19:21:42] * Werner_2__ has joined #silverstripe
1112: [19:22:32] * Werner_2_ quit (Read error: Connection reset by peer)
1113: [19:24:03] * Werner_2__ is now known as wmk
1114: [19:26:37] * Stomach quit (Quit: zzz)
1115: [19:31:22] * muskie9 is now known as muskie9_afk
1116: [19:36:17] * rob123 has joined #silverstripe
1117: [19:36:22] <rob123> hello :)
1118: [19:36:54] <rob123> have a question that is nit quite relate to SS
1119: [19:38:35] <rob123> i have repository in bitbucket with my standart SS cms, i have created new repository for my new project, now, to start a project i need to add my SS cms to my newly created project , how can i do this ?
1120: [19:39:41] <catcher> rob123, what's preventing you from deploying the code?
1121: [19:40:16] <rob123> em...what do you mean ?
1122: [19:41:32] <wmk> rob123, i won't do the whole cms in repo, just composer.json and composer.lock
1123: [19:41:42] <wmk> please don't modify any core files
1124: [19:42:14] * Colin[pi] has joined #silverstripe
1125: [19:43:37] <rob123> sorry but i just dont understand you...i created and clone an empty repo locally, and i have SS cms in my other repo, i need to use this cms in my new project, how can i move it ?
1126: [19:47:07] <rob123> i have made my own version of SS ,added few standart modules etc. for faster start drom scratch, no i need to move this cms to my new project to start it , how can i do it ?
1127: [19:48:02] <wmk> fork it?#
1128: [19:48:13] <catcher> Are you asking how to move code from one bitbucket project to another?
1129: [19:48:20] <wmk> git clone rob-standard-css;
1130: [19:48:32] <wmk> change git remote
1131: [19:49:21] <wmk> rob123, i strongly advise you to use composer for adding modules to your project. Makes stuff so much easier!
1132: [19:49:36] <wmk> moving modules around is just copying a file
1133: [19:51:51] <rob123> catcher
1134: [19:51:57] * Stomach has joined #silverstripe
1135: [19:52:05] * muskie9_afk is now known as muskie9
1136: [19:52:06] <wmk> Stomach, o/
1137: [19:52:16] <Stomach> hey wmk
1138: [19:52:19] <Stomach> \o
1139: [19:52:27] <Stomach> how you doing
1140: [19:52:33] <rob123> yes i want to move the code of one bitbutcket project to new , existing one
1141: [19:52:35] <wmk> CatalogAdmin is just fun...
1142: [19:53:15] <wmk> so cool...
1143: [19:53:18] <rob123> see this http://stackoverflow.com/questions/29612383/git-cloning-repository-to-existing-one my friend posted it
1144: [19:53:31] <catcher> rob123, that's a bitbucket question; the solution would be the same if you're using SS or text files.
1145: [19:53:40] <catcher> rob123, #bitbucket may be more helpful for you.
1146: [19:54:17] <catcher> (assuming the text files were on git and maybe packagist)
1147: [19:55:07] * rob123 quit (Quit: Page closed)
1148: [19:56:41] <wmk> oh,
1149: [19:56:58] <wmk> just wanted to ask if it's like a git fork
1150: [20:02:52] * mobiusnz quit (Quit: Leaving.)
1151: [20:06:40] * antmas has joined #silverstripe
1152: [20:06:49] <antmas> morning all :)
1153: [20:06:51] <antmas> o/
1154: [20:07:04] <antmas> Space X launch in a few mins http://livestream.com/spacex/events/3959775
1155: [20:09:39] <Stomach> wmk - lol :D
1156: [20:09:58] <Stomach> its definitely handy
1157: [20:10:37] * Colin[pi] quit (Ping timeout: 255 seconds)
1158: [20:12:53] <ss-helper> is interested in climate change - http://www.silverstripe.org/community/forums/installing-silverstripe/show/101620
1159: [20:13:22] <antmas> lol ss-helper
1160: [20:19:03] <Stomach> ss-helper is spamming is now?
1161: [20:19:05] <Stomach> fucking bot
1162: [20:20:46] <antmas> been doing it for a wee while
1163: [20:21:11] <antmas> it seems to have a liking to fancy italian shoes and handbags
1164: [20:21:15] <antmas> :|
1165: [20:22:02] <antmas> stream has started
1166: [20:22:08] <antmas> T-11mins
1167: [20:23:23] * t8 has joined #silverstripe
1168: [20:23:29] <t8> Hey guys
1169: [20:23:32] <t8> I have a question
1170: [20:24:03] <t8> I have a very simple apache php setup and my silverstripe is installed on mysql no problem but when I run my site I don't get a debug::show
1171: [20:25:56] <catcher> t8, dev mode?
1172: [20:26:44] * UndefinedOffset quit (Quit: Leaving.)
1173: [20:27:34] <Stomach> what stream antmas ?
1174: [20:27:56] <ss-helper> Admin Login Refreshes, Does Not Redirect - http://www.silverstripe.org/community/forums/general-questions/show/101621
1175: [20:38:34] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
1176: [20:38:59] <antmas> Stomach: spacex http://livestream.com/accounts/142499/events/3959775/player_pop_out?lsa_type=LS_EVENT_PAGE&lsa_referrer=
1177: [20:39:21] <Stomach> antmas :D :D
1178: [20:40:14] <antmas> bah, postponed due to lightning
1179: [20:40:15] * mobiusnz has joined #silverstripe
1180: [20:40:31] * jedateach has joined #silverstripe
1181: [20:46:25] <t8> @catcher yeah
1182: [20:46:29] <t8> dev mode is on
1183: [20:46:46] <t8> im going to try creating a new setup to see if ss is my problem or its my setup
1184: [20:56:49] * Ryan-Toast has joined #silverstripe
1185: [20:59:35] <Stomach> antmas this is sad
1186: [20:59:42] <Stomach> you made me sad
1187: [20:59:44] <Stomach> :(
1188: [21:03:32] <t8> @carcher, it looks like it was permission issues on the directories
1189: [21:07:36] <Ryan-Toast> antmas: what is?
1190: [21:08:00] <Ryan-Toast> Stomach: What is?
1191: [21:08:47] <Ryan-Toast> Was it how shitty GoT is becoming?
1192: [21:09:22] <Stomach> no spacex link he gave me
1193: [21:09:26] <Stomach> THAT ISN'T EVEN REAL
1194: [21:11:00] <Stomach> whats the easiest way to update all the images in HTML editors
1195: [21:11:04] <Stomach> they have all died on me
1196: [21:11:11] <Stomach> and need to be resampled again
1197: [21:11:35] * catcher quit (Quit: Leaving)
1198: [21:11:50] <Ryan-Toast> Stomach: curl up in the corner and cry.
1199: [21:12:01] <Stomach> Ryan-Toast - pretty much thats the option at the moment
1200: [21:13:04] <ss-helper> Re: Admin Login Refreshes, Does Not Redirect - http://www.silverstripe.org/community/forums/general-questions/show/101621#post401255
1201: [21:20:16] <Stomach> anyone? :(
1202: [21:20:19] * t8 quit (Ping timeout: 246 seconds)
1203: [21:27:20] * lerni_ quit (Remote host closed the connection)
1204: [21:27:29] <Ryan-Toast> Stomach: *crickets*
1205: [21:27:50] <Stomach> well there is this
1206: [21:27:50] <Stomach> https://github.com/silverstripe/silverstripe-framework/pull/1723
1207: [21:27:56] <Stomach> but its been merged into master
1208: [21:27:58] <Stomach> so thats great
1209: [21:28:06] <ss-helper> Re: How to use Controller::handleRequest() correctly - http://www.silverstripe.org/community/forums/general-questions/show/101429#post401256
1210: [21:28:08] <Stomach> 2 years ago
1211: [21:28:12] <Stomach> and it doesnt exist in 3.1.12
1212: [21:28:13] <Stomach> so
1213: [21:28:14] <Stomach> wtf
1214: [21:29:15] * Hailwood has joined #silverstripe
1215: [21:29:39] * lerni has joined #silverstripe
1216: [21:33:12] * lerni quit (Remote host closed the connection)
1217: [21:35:48] * Vedran__ quit (Ping timeout: 245 seconds)
1218: [21:37:46] <antmas> today still feels like monday
1219: [21:37:48] <antmas> :|
1220: [21:38:56] <Ryan-Toast> antmas: Isn’t that good that it’s not then?
1221: [21:39:26] <antmas> Ryan-Toast: not when you have to work saturday ;_____;
1222: [21:41:03] <antmas> Ryan-Toast: you heard of this cat before? https://iammaskarade.bandcamp.com/track/analysis-paralysis-part-2
1223: [21:42:38] <Ryan-Toast> antmas: I haven’t, no.
1224: [21:42:49] <antmas> Ryan-Toast: pretty good
1225: [21:43:09] <ss-helper> Re: Versioning Text input - http://www.silverstripe.org/community/forums/data-model-questions/show/101597#post401257
1226: [21:43:12] <Ryan-Toast> Been jamming AlunaGeorge all morning
1227: [21:45:58] <antmas> question: I have 2 forms (1 is a full form, the other a cut down version of this form), can I have both submit to the same dataobject?
1228: [21:46:40] * Spliff quit (Ping timeout: 252 seconds)
1229: [21:47:07] <Ryan-Toast> antmas: Yeah.
1230: [21:47:44] <Stomach> this is hard
1231: [21:47:46] <Stomach> why doesnt it work
1232: [21:47:49] <Stomach> wheres simon
1233: [21:47:50] <Stomach> :(
1234: [21:48:13] <Stomach> when you save in the CMS it regenerates it
1235: [21:48:20] <Stomach> but not when you publish programatically
1236: [21:48:22] <Stomach> I mean, seriously
1237: [21:48:23] <Stomach> wtf
1238: [21:49:01] <Ryan-Toast> Stomach: Weird.
1239: [21:51:16] <Stomach> haha
1240: [21:51:17] <Stomach> fixed it
1241: [21:51:20] <Stomach> fuck you SilverStripe
1242: [21:56:32] * Colin[pi] has joined #silverstripe
1243: [21:56:34] * mobiusnz quit (Read error: Connection reset by peer)
1244: [21:56:40] <antmas> Colin[pi]: o/
1245: [21:56:58] * mobiusnz has joined #silverstripe
1246: [21:57:20] <Colin[pi]> omg hai antmas o/
1247: [21:57:48] <MichalKleiner> o/
1248: [21:58:12] <ss-helper> Re: Dynamically add custom field with setField() on DataList Items - http://www.silverstripe.org/community/forums/data-model-questions/show/96480#post401258
1249: [21:58:21] <MichalKleiner> what was the issue Stomach, can you share?
1250: [21:58:46] <Colin[pi]> hey MichalKleiner
1251: [21:59:08] <Stomach> MichalKleiner - we ran the flush generated images task on a large site after a change to the way that folders are structured and running a large migration task for files attached to pages
1252: [21:59:19] <antmas> MichalKleiner: o/
1253: [21:59:20] <Stomach> which was fine for all images which were $has_one or whatever on a page
1254: [21:59:27] <Stomach> as they resampled themselves automatically
1255: [21:59:39] <Stomach> but all the resampled images from within TinyMCE Content fields were removed
1256: [21:59:45] <Stomach> and don't automatically refresh
1257: [21:59:54] <antmas> I blame tinymce
1258: [22:00:00] <antmas> always blame tinymce
1259: [22:00:08] <Colin[pi]> ^
1260: [22:00:21] <Stomach> in the end I wrote a task which collected all of these content types and then ran some code to go through and resample the whole lot
1261: [22:00:32] <Stomach> by grabbing all the images out of it
1262: [22:00:48] <Stomach> and stealing some stuff out of HTMLEditorField
1263: [22:00:51] <Stomach> but it should be automatic
1264: [22:01:04] <Stomach> or happen on a page publish through a task
1265: [22:01:05] <Stomach> but it didnt
1266: [22:01:09] <Stomach> which made me sad/mad
1267: [22:02:26] <antmas> "This game will unlock in approximately 1 hour" :O
1268: [22:02:48] <Colin[pi]> antmas: gta v?
1269: [22:03:20] <antmas> mhmm
1270: [22:03:23] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
1271: [22:04:00] <novaweb> git visual merge tool for windows?
1272: [22:04:06] <novaweb> what's your preference
1273: [22:04:14] <novaweb> I'm using phpstorm btw
1274: [22:09:41] <Ryan-Toast> antmas: I’m holding off to see if it’s a shitty port or not.
1275: [22:10:18] <antmas> Ryan-Toast: I suspect it won't be, I just want to make sure someone benchmarks it first with my setup
1276: [22:10:24] <antmas> I need dat 60 fps :O
1277: [22:10:38] <Ryan-Toast> antmas: Again, I don’t trust Rockstar with ports.
1278: [22:10:44] <Ryan-Toast> So holding off.
1279: [22:10:49] <antmas> mm I know
1280: [22:10:54] * darjus01 has joined #silverstripe
1281: [22:10:59] <Ryan-Toast> Also $90 dollars for a 2 year old game...
1282: [22:11:09] <antmas> and that too yeah
1283: [22:11:13] * wmk quit (Ping timeout: 264 seconds)
1284: [22:11:51] <antmas> tempted to just go with a non steam version and pay $60
1285: [22:12:40] <MichalKleiner> Stomach: ah and it didn't work from code..
1286: [22:12:46] <MichalKleiner> antmas: o/
1287: [22:13:00] <Colin[pi]> yeah I'm gonna wait and see how the performance is
1288: [22:13:25] <Stomach> MichalKleiner - nah :(
1289: [22:17:11] * camfindlay has joined #silverstripe
1290: [22:29:10] <MichalKleiner> o/ cam :-)
1291: [22:33:54] <camfindlay> yo MichalKleiner
1292: [22:34:03] <camfindlay> good bus chat today lol
1293: [22:34:08] <Colin[pi]> camfindlay: o/
1294: [22:34:49] <camfindlay> sup Colin[pi] o/
1295: [22:36:07] <Stomach> Ryan-Toast - you know <% include Lol=$Narf %>
1296: [22:36:08] * veb has joined #silverstripe
1297: [22:36:18] <Stomach> can you do <% include Lol="String" %>
1298: [22:36:22] <Stomach> it breaks for me
1299: [22:36:54] <Ryan-Toast> Stomach: I haven’t tried before.
1300: [22:47:33] * Vedran__ has joined #silverstripe
1301: [22:48:24] * Azure quit (Excess Flood)
1302: [22:48:55] * babak quit (Quit: Connection closed for inactivity)
1303: [22:49:14] * Stomach quit (Quit: zzz)
1304: [22:49:27] * Azure has joined #silverstripe
1305: [22:50:59] * Vedran___ has joined #silverstripe
1306: [22:52:16] * mahfuz has joined #silverstripe
1307: [22:53:39] * Vedran__ quit (Ping timeout: 244 seconds)
1308: [22:54:11] * Vedran___ quit (Client Quit)
1309: [22:58:23] <ss-helper> Re: 3.1.10 DataObject / onAfterWrite / in_array - http://www.silverstripe.org/community/forums/general-questions/show/101594#post401194
1310: [23:02:23] * Stomach has joined #silverstripe
1311: [23:08:47] * WandL has joined #silverstripe
1312: [23:14:04] * darjus01 quit (Ping timeout: 246 seconds)
1313: [23:27:53] * Phlunk3 has joined #silverstripe
1314: [23:35:30] <Ryan-Toast> Why is it that setting a HtmlEditorConfig in the mysite _config.php does fucvk all, whilst doing it in a module sets everything fine.
1315: [23:35:58] <Ryan-Toast> i.e setButtonsForLine in mysite doesn’t work properlly in the wa that there are still buttons added that you don’t set
1316: [23:50:36] <Colin[pi]> Ryan-Toast: loading order?
1317: [23:50:51] <Ryan-Toast> Colin[pi]: What would override mysite though?
1318: [23:50:57] <Ryan-Toast> What hjas higher priority?
1319: [23:52:06] * Colin[pi] shrugs
1320: [23:53:21] * Stomach quit (Quit: zzz)
1321: [23:54:41] <novaweb> Ryan-Toast, put !important; at the end of your mysite/_config.php htmleditor call
1322: [23:54:42] * Spliff has joined #silverstripe
1323: [23:54:47] <novaweb> hehehahahar
1324: [23:54:51] <Ryan-Toast> novaweb: huehuehue
1325: [23:55:05] <novaweb> I'll look in our codebase now
1326: [23:55:18] <Ryan-Toast> novaweb: It’s okay, I just hacked around it
1327: [23:55:22] * Sticks has joined #silverstripe
1328: [23:55:25] <novaweb> churp
1329: [23:55:47] * Spliff quit (Client Quit)

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