#silverstripe IRC Log

IRC log for 17 June 2015

All timestamps are in UTC.

1: [00:00:01] <chocolatemoose> terryapodaca: you could also try scale3d() instead of scale()
2: [00:00:21] * Stomach has joined #silverstripe
3: [00:00:30] <Ryan-Toast> you need it on the image.
4: [00:04:11] * adrexia_ quit (Ping timeout: 272 seconds)
5: [00:06:15] <terryapodaca> can you both check the new CSS for it?
6: [00:06:22] <terryapodaca> IE seems fine now
7: [00:06:29] <terryapodaca> but FF still flickers
8: [00:07:54] <Ryan-Toast> terryapodaca: you have the webkit, and the normal one in there?
9: [00:08:46] * UncleCheese has joined #silverstripe
10: [00:09:02] <Ryan-Toast> I think firefox needs it on the item, and the container.
11: [00:12:05] * ss-helper quit (Remote host closed the connection)
12: [00:12:22] * ss-helper has joined #silverstripe
13: [00:12:35] <terryapodaca> #promos-inner div,
14: [00:12:35] <terryapodaca> #promos-inner div a,
15: [00:12:35] <terryapodaca> #promos-inner div img {
16: [00:12:35] <terryapodaca> -webkit-backface-visibility: hidden;
17: [00:12:35] <terryapodaca> -moz-backface-visibility: hidden;
18: [00:12:35] <terryapodaca> -ms-backface-visibility: hidden;
19: [00:12:36] <terryapodaca> -o-backface-visibility: hidden;
20: [00:12:37] <terryapodaca> backface-visibility: hidden;
21: [00:12:37] <terryapodaca> -webkit-transform-style: preserve-3d;
22: [00:12:37] <terryapodaca> -moz-transform-style: preserve-3d;
23: [00:12:38] <terryapodaca> -ms-transform-style: preserve-3d;
24: [00:12:38] <terryapodaca> -o-transform-style: preserve-3d;
25: [00:12:39] <terryapodaca> transform-style: preserve-3d;
26: [00:12:39] <terryapodaca> }
27: [00:12:59] <terryapodaca> I just made it generic so I can simply add others to that comma list for other transitions
28: [00:13:12] <zippy> !paste terryapodaca !
29: [00:13:12] <ss-helper> terryapodaca: 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.
30: [00:13:32] * UncleChe_ has joined #silverstripe
31: [00:13:36] <terryapodaca> sorry, didn't think that was too big
32: [00:14:37] <zippy> Poor ol Colin[pi] in Australia has an awesome internet connection which can only handle a few messages at a time... I am surprised I didn't see him disconnect
33: [00:14:59] <Ryan-Toast> terryapodaca: there’s no moz, ms, or o for backface visibility.
34: [00:17:15] <terryapodaca> I didn't think so, but I was trying to cover my bases just in case
35: [00:17:24] <terryapodaca> just weird that FF is still doing that
36: [00:18:11] <Colin[pi]> zippy: http://imgur.com/TUXLVxg.gif
37: [00:21:55] * adrexia has joined #silverstripe
38: [00:22:13] * travis-ci has joined #silverstripe
39: [00:22:14] <travis-ci> silverstripe/silverstripe-framework#5056 (3 - 0abacae : Damian Mooyman): The build passed.
40: [00:22:14] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/5a0f3c0c5eae...0abacaead61c
41: [00:22:14] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/67116664
42: [00:22:14] * travis-ci has left #silverstripe
43: [00:27:35] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
44: [00:31:16] <ss23> Any easy way to see which canCreate is returning false?
45: [00:31:20] <ss23> Do I need to set up xdebug? :(
46: [00:31:43] <DanaeNZ> oh god I miss my old work pc
47: [00:31:48] <DanaeNZ> where xDebug was set up
48: [00:31:51] <ss23> lol
49: [00:31:53] <DanaeNZ> now I hava a mac
50: [00:31:57] <ss23> Set it up on your mac?!
51: [00:32:02] <ss23> I dunno how to use xdebug, so *shrug*
52: [00:32:09] <DanaeNZ> oh it is awesome
53: [00:32:18] <DanaeNZ> invaluable
54: [00:32:24] <DanaeNZ> just a friggin pain to get going
55: [00:32:46] * ss23 yawns
56: [00:32:50] <ss23> okay time to start var_dumping I guess...
57: [00:32:55] <DanaeNZ> in other words, nope sorry no idea how to check wihich canCreate is being a little bitch
58: [00:33:04] <Beak-5> do you ever use Kint ss23
59: [00:33:16] <Beak-5> i prefer it to var dump / xdebug
60: [00:33:24] <ss23> NEver used it
61: [00:33:31] <Beak-5> since it's a single include and has some pretty cute introspective ability
62: [00:33:44] <ss23> um
63: [00:33:50] <Beak-5> http://raveren.github.io/kint/
64: [00:33:51] <ss23> seems like little to know advantage over var_dump tbh
65: [00:33:52] <DanaeNZ> I wonder if it can integrate with PHPStorm?
66: [00:34:04] <Beak-5> yeah that makes sense ss23, that's why i shared you the link
67: [00:34:12] <Beak-5> i used to just use var_dump
68: [00:34:33] <ss23> mm
69: [00:34:39] <ss23> I mainly use it cause it works on every server I use
70: [00:34:58] <ss23> whereas installing stuff like xdebug/kint doesn't work for remote servers as easily
71: [00:35:03] <DanaeNZ> I think I’m going to have another crack at xdebug
72: [00:35:23] <Beak-5> i understand what you are saying, i'm a big fan of vanilla operation since i work on a lot of remote servers
73: [00:35:28] <DanaeNZ> Yeah I’ve done a couple remote debugs before
74: [00:35:33] <DanaeNZ> ssh tunnels etc
75: [00:35:39] <Beak-5> but you're taking the piss mildly when including one extra file is sigificant work when you have a hard problem to solve
76: [00:35:40] <DanaeNZ> but it’s also a pain to get going
77: [00:35:55] <Beak-5> i think every dev should think with portals (nc, ssh tunnels, etc)
78: [00:36:26] <DanaeNZ> queue somebody hailing Vagrant’s praises
79: [00:36:53] <DanaeNZ> where is irogue
80: [00:37:25] <Beak-5> i've not seen the point of vagrant yet, i use a lot of vms, have partially reinvented my own ansible with python/bash/ssh for aws, and have spent a lot of time looking over docker
81: [00:37:36] <Beak-5> mostly just knowing how to run vms properly seems the most important tool
82: [00:38:29] <Beak-5> but then, someone in here said the other day 'lol sounds like a sysadmins job' so we're all fucked aye
83: [00:38:48] <Beak-5> holistic approach to engineering; not even once
84: [00:39:34] <ss23> Beak-5: I don't think that including that file will make my problem easier to solve :P
85: [00:39:57] <Beak-5> yeah i wasn't proselytizing
86: [00:40:06] <Beak-5> simply sharing something i have found useful
87: [00:40:09] <ss23> mm
88: [00:41:55] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
89: [00:42:02] <spronk> eh
90: [00:42:06] <spronk> xdebug is ez to get going, DanaeNZ
91: [00:42:08] <spronk> its like
92: [00:42:13] <spronk> apt-get install php5-xdebug
93: [00:42:20] <spronk> and then go and edit an ini file
94: [00:42:21] <spronk> DONE!
95: [00:42:49] <DanaeNZ> i thought you did it the other way - paste your ini output, then xdebug tells you which version you need?
96: [00:42:57] <DanaeNZ> that’s what I’ve done in the past anyway
97: [00:43:24] <DanaeNZ> I think probably the problems I’m having are more related to PHPStorm than XDebug
98: [00:43:27] <spronk> nah
99: [00:43:30] <spronk> dont bother with manually installing it
100: [00:43:32] <spronk> that's a piece of shit
101: [00:43:36] <DanaeNZ> agreed
102: [00:43:42] <spronk> get homebrew, or get linux vm, or whatever you want
103: [00:43:52] <DanaeNZ> well I can set that up locally, but I don’t want to touch our dev server
104: [00:44:00] <spronk> what is your dev server?
105: [00:44:07] <DanaeNZ> it’s just an inhouse CentOS
106: [00:44:10] <spronk> yum
107: [00:44:12] <DanaeNZ> ugh
108: [00:44:13] <spronk> install
109: [00:44:14] <Beak-5> i think making a chubby cowsay file was the finest development work i did this week http://www.reddit.com/r/cowsay/comments/39htd0/with_all_this_reddit_hype_what_about_a_little/
110: [00:44:16] <spronk> blablabla
111: [00:44:30] <DanaeNZ> I’m thinking more politically here
112: [00:44:30] <spronk> <3 cowsay
113: [00:44:43] <DanaeNZ> someone else manages the server
114: [00:44:44] <terryapodaca> I've tried everything!!!! this is diving me crazy
115: [00:44:50] <spronk> <3 fortune | cowsay
116: [00:45:10] <spronk> DanaeNZ putting xdebug on it will save development time, it's worth it in the long run. easy argument
117: [00:46:21] <Beak-5> sweet i am cranking tubby cowsay fortune now
118: [00:46:23] <Beak-5> thanks
119: [00:46:27] <spronk> logic the hell out ofthem
120: [00:46:30] <spronk> Beak-5 all g ;D
121: [00:46:39] * spronk has that shit on motd
122: [00:46:49] <DanaeNZ> are we speaking english any more? lol
123: [00:46:57] <spronk> "You've been infected by the Telescoping Hubble virus."
124: [00:47:08] <DanaeNZ> aw mannnn we’re running php 5.4
125: [00:47:14] <spronk> seriosuly
126: [00:47:18] <spronk> i'd go on strike
127: [00:47:26] * Stomach quit (Quit: zzz)
128: [00:47:27] * DanaeNZ throws a tantrum
129: [00:47:30] <Colin[pi]> rofl: https://www.reddit.com/r/ProgrammerHumor/comments/3a1iz0/trying_to_horizontally_and_vertically_align_a_div/
130: [00:47:42] <spronk> php5.4 is like asking you to wash dishes
131: [00:48:01] <spronk> lawl
132: [00:48:03] <spronk> GSS FTW
133: [00:48:06] <DanaeNZ> 5.5 is like
134: [00:48:06] <spronk> lets get a spec up
135: [00:48:10] <spronk> get rid of css
136: [00:48:11] <DanaeNZ> a million times faster
137: [00:48:19] <spronk> 5.5 is for peons
138: [00:48:25] <DanaeNZ> peon
139: [00:48:27] <DanaeNZ> what is a peon
140: [00:48:27] <spronk> 7A is where it's at
141: [00:48:30] <spronk> alternatively, HHVM
142: [00:48:41] * Stomach has joined #silverstripe
143: [00:49:07] <DanaeNZ> i could sell php 5.5 but probably not HHVM lol
144: [00:49:12] <spronk> ... 5.6?
145: [00:49:20] <spronk> at least spring for 5.6
146: [00:49:29] <DanaeNZ> what kinda deprecations are in 5.6?
147: [00:49:46] <spronk> json_decode is stricter
148: [00:49:47] <DanaeNZ> we’re still running a bunch of legacy 2.4 sites
149: [00:49:51] <spronk> .... mcrypt is stricter
150: [00:49:57] <spronk> what selse..
151: [00:50:03] <DanaeNZ> mcrypst being stricter is better
152: [00:50:12] <spronk> not much else that i can remember
153: [00:50:12] <spronk> oh
154: [00:50:17] <spronk> something about array keys
155: [00:50:27] <spronk> as class properties
156: [00:50:58] <spronk> oh
157: [00:51:01] <spronk> mbstring stuff as well
158: [00:51:03] <spronk> but meh
159: [00:51:05] <spronk> 5.6 is better
160: [00:51:08] <spronk> if you've got legacy 2.4 sites
161: [00:51:20] <spronk> ask to set up a second development server that doesn't have to deal with that shit
162: [00:51:20] <spronk> :P
163: [00:51:25] <DanaeNZ> oh it’s that preg_replace /e modifier that is annoying
164: [00:51:33] <DanaeNZ> fuck yes I want a linux playground
165: [00:51:40] <spronk> also
166: [00:51:46] <spronk> php 5.5 is EOL in 2 days
167: [00:51:51] <DanaeNZ> exactlyt
168: [00:51:52] <spronk> well
169: [00:51:59] <spronk> not EOL, but only security fixes
170: [00:52:20] <DanaeNZ> 5.4 already passed EOL, didn’t it?
171: [00:52:30] <DanaeNZ> *english
172: [00:52:31] <spronk> ya
173: [00:52:33] <spronk> well
174: [00:52:34] <spronk> almost
175: [00:52:35] <spronk> 2 months
176: [00:52:36] <spronk> http://php.net/supported-versions.php
177: [00:52:51] <DanaeNZ> cool
178: [00:53:11] <DanaeNZ> I would love that shiny gitlab server
179: [00:53:17] <DanaeNZ> gitlab and deploynaut, oh my
180: [00:53:22] <DanaeNZ> baby steps
181: [00:54:24] <Colin[pi]> DanaeNZ: http://i.imgur.com/MHRLo.gif
182: [00:54:38] <DanaeNZ> I NEEDED THAT GIF A WEEK AGO
183: [00:54:44] * micmania1 quit (Quit: micmania1)
184: [00:55:10] * UncleChe_ quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
185: [00:57:58] <DanaeNZ> pc gamer stream starts in a few mins
186: [00:57:59] <DanaeNZ> http://www.twitch.tv/pcgamer
187: [00:58:04] <DanaeNZ> worth it to tune in?
188: [00:58:17] * zippy has joined #silverstripe
189: [00:58:37] <zippy> Colin[pi]: you know it's true
190: [00:59:23] * travis-ci has joined #silverstripe
191: [00:59:24] <travis-ci> silverstripe/silverstripe-framework#5057 (3 - d0bd5bc : Damian Mooyman): The build has errored.
192: [00:59:24] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/0abacaead61c...d0bd5bc225f6
193: [00:59:24] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/67122236
194: [00:59:24] * travis-ci has left #silverstripe
195: [01:00:10] <Colin[pi]> zippy: http://i.minus.com/iItn8oEE1eC0C.gif
196: [01:00:28] <zippy> hah
197: [01:00:42] <zippy> I should save these some where
198: [01:01:06] <Colin[pi]> zippy: I have a big ass folder of saved gifs
199: [01:02:18] <zippy> right thats it
200: [01:02:21] <zippy> time to play some eve
201: [01:02:27] <Colin[pi]> dafuq
202: [01:02:42] <adrexia> wow its great to have an irc client that renders gifs
203: [01:02:55] <zippy> adrexia: Textual?
204: [01:02:59] <Colin[pi]> adrexia: it sure is: http://i.imgur.com/SWLhUXH.gif
205: [01:03:08] <zippy> lol
206: [01:03:16] <zippy> I turned it off for this channel pretty quick
207: [01:03:21] <zippy> because of that gif
208: [01:03:25] <chocolatemoose> mine is hit and miss for some reason
209: [01:05:41] <Colin[pi]> adrexia: sorry :P
210: [01:05:54] <adrexia> ziipy - yep
211: [01:06:13] <adrexia> Colin[pi] it didn't render that one
212: [01:06:18] <adrexia> it must know
213: [01:06:21] <Colin[pi]> LOL
214: [01:06:37] <Colin[pi]> wow, how cool is that
215: [01:06:41] <adrexia> I started bringing my macport air into work ;)
216: [01:06:45] <Colin[pi]> gif renderer that nopes the fuck out automatically
217: [01:06:53] <adrexia> so much better
218: [01:14:29] <antmas> Colin[pi]: lol that crying gif was me last night setting up a linode for first time
219: [01:14:53] * travis-ci has joined #silverstripe
220: [01:14:55] <travis-ci> silverstripe/silverstripe-cms#1258 (3 - e6fb217 : Damian Mooyman): The build failed.
221: [01:14:55] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-cms/compare/cc2f3ae6030a...e6fb217fb2b8
222: [01:14:55] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/67122250
223: [01:14:55] * travis-ci has left #silverstripe
224: [01:22:20] * babak quit (Quit: Connection closed for inactivity)
225: [01:22:46] * Stomach quit (Quit: zzz)
226: [01:25:27] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
227: [01:27:23] * UncleCheese has joined #silverstripe
228: [01:35:30] * Stomach has joined #silverstripe
229: [01:36:29] * zippy quit (Quit: Textual IRC Client: www.textualapp.com)
230: [01:38:52] * babak has joined #silverstripe
231: [01:39:14] * Ryan-Toast quit (Quit: Ryan-Toast)
232: [01:46:00] * adrexia_ has joined #silverstripe
233: [01:46:01] * adrexia quit (Read error: Connection reset by peer)
234: [01:46:32] * micmania1 has joined #silverstripe
235: [01:52:25] * Stomach quit (Quit: zzz)
236: [01:53:30] * scott1702 quit (Quit: This computer has gone to sleep)
237: [01:56:50] * spronk quit (Quit: I may need a longer sleep timer...)
238: [02:02:16] * Stomach has joined #silverstripe
239: [02:04:35] * spronk has joined #silverstripe
240: [02:05:16] <DanaeNZ> Rocket was just on that PCGamer live broadcast from E3, btw
241: [02:05:21] * Ryan-Toast has joined #silverstripe
242: [02:05:23] <DanaeNZ> dat kiwi accent
243: [02:05:54] * scott1702 has joined #silverstripe
244: [02:11:24] <antmas> DanaeNZ: did he give a release dat for Dayz?
245: [02:11:29] <antmas> date*
246: [02:11:34] * micmania1 quit (Quit: micmania1)
247: [02:11:55] <DanaeNZ> antmas: haha no
248: [02:12:01] <DanaeNZ> he’s not working on DayZ any more
249: [02:12:09] <DanaeNZ> got a new thing called Ion
250: [02:12:46] <antmas> game dev these days
251: [02:13:33] <antmas> get half of something roughly working, crowd fund it, early access it, then leave
252: [02:15:37] * vanny quit (Quit: Page closed)
253: [02:21:20] <chocolatemoose> https://www.kickstarter.com/projects/ysnet/shenmue-3 welp, that was quick
254: [02:21:52] <DanaeNZ> didn’t that just start up yesterday?
255: [02:21:56] <chocolatemoose> yup
256: [02:22:08] <DanaeNZ> woooow
257: [02:22:18] <DanaeNZ> I haven’t heard of shenmue tho
258: [02:23:39] <chocolatemoose> I haven't played any of the other ones
259: [02:24:32] <chocolatemoose> https://www.kickstarter.com/projects/playtonic/yooka-laylee-a-3d-platformer-rare-vival I backed this at lunch though, looking forward to it
260: [02:26:23] * antmas never played Shenume
261: [02:26:33] <antmas> Shenmue
262: [02:26:43] * micmania1 has joined #silverstripe
263: [02:27:04] * Kingy[a] quit (Ping timeout: 272 seconds)
264: [02:29:25] * Kingy[a] has joined #silverstripe
265: [02:31:01] * Stomach quit (Quit: zzz)
266: [02:33:12] * Stomach has joined #silverstripe
267: [02:34:57] <DanaeNZ> has anyone got the early access for PHPStorm 9?
268: [02:39:34] * nikob has joined #silverstripe
269: [02:40:42] * chocolatemoose quit (Quit: My M&Ms need me!)
270: [02:52:12] * Sticks has joined #silverstripe
271: [02:56:10] <nikob> Hey, anyone here using sqlite for use with PHPUnit ? I've been following the guide on the SS website but have run into a couple issues
272: [03:17:18] <Audlex> would anyone have a spare couple of mins? i have this error i just cant figure out. i have a DataExtention ConfiguratorPage and in extentions.yml DoorSelectorPage extends it. the fields show up just find in the admin area for the DoorSelectorPage, however after adding some content I get a "Unknown column 'DoorSelectorPage_Live.StepOneTitle' in 'field list'"
273: [03:17:44] <Audlex> which for the life of me I cannot figure out. I deleted the page and started fresh last night and it worked for a little bit but now throws this error again
274: [03:19:38] <DanaeNZ> Someone had that error yesterday I think
275: [03:19:50] <DanaeNZ> Done a dev/build flush recently, just in case?
276: [03:20:16] <Audlex> at least 17 times ;)
277: [03:20:41] <Audlex> I did post it yesterday, then i thought i had fixed it
278: [03:28:55] * Colin[pi] quit (Ping timeout: 255 seconds)
279: [03:33:29] <Ryan-Toast> Audlex: Tried dropping the table in the database?
280: [03:35:32] <Audlex> DoorSelectorPage_Live? or all?
281: [03:35:39] * CodeTrap has joined #silverstripe
282: [03:35:42] <Ryan-Toast> Just that extension
283: [03:35:53] * Colin[pi] has joined #silverstripe
284: [03:37:12] * CodeTrap1 quit (Ping timeout: 244 seconds)
285: [03:40:24] <Audlex> DoorSelectorPage extends ConfiguratorPage dataextention, so all the fields are in DoorSelectorPage itself
286: [03:47:41] * Stomach quit (Quit: zzz)
287: [03:47:53] * AdriAn_s has joined #silverstripe
288: [03:49:44] <AdriAn_s> hey guys. I am using swipestripe categories module and when looping the Products() method it is returning all products under the cat regardless of if it is live or draft, where as shouldn't it only show live. Any ideas?
289: [03:55:36] <AdriAn_s> anyone got any bright ideas on how to overcome this?
290: [03:56:08] * Stomach has joined #silverstripe
291: [04:00:09] * veb has joined #silverstripe
292: [04:00:59] <MichalKleiner> AdriAn_s: try creating a new method to return the data with adding ->filter("Status"=>"Published")
293: [04:01:08] <MichalKleiner> and then loop over your new dataset
294: [04:01:30] * nikob quit (Ping timeout: 246 seconds)
295: [04:04:08] * Stomach quit (Quit: zzz)
296: [04:04:59] * Stomach has joined #silverstripe
297: [04:05:56] <AdriAn_s> nope
298: [04:06:00] <AdriAn_s> didnt filter out the draft
299: [04:07:59] <MichalKleiner> are you using versioning somehow? are you setting used stage? is it behaving the same when you're not logged in to the cms admin?
300: [04:12:00] <AdriAn_s> im not doing anything special for versioning as far as i know. just save and publish a page with type product. when im not logged in it is hidden
301: [04:15:08] * nikob has joined #silverstripe
302: [04:18:52] <AdriAn_s> think it might be casue im logged in
303: [04:18:58] <AdriAn_s> so it is showing draft pages as well
304: [04:19:02] <AdriAn_s> thanks for the help
305: [04:22:50] * antmas quit (Quit: Page closed)
306: [04:28:51] * micmania1 quit (Quit: micmania1)
307: [04:30:30] * travis-ci has joined #silverstripe
308: [04:30:31] <travis-ci> silverstripe/silverstripe-framework#5060 (3 - b95fdc7 : Ingo Schommer): The build has errored.
309: [04:30:31] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/d0bd5bc225f6...b95fdc7ba003
310: [04:30:31] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/67134575
311: [04:30:31] * travis-ci has left #silverstripe
312: [04:32:19] * micmania1 has joined #silverstripe
313: [04:32:42] * Stomach quit (Quit: zzz)
314: [04:33:42] * antmas has joined #silverstripe
315: [04:35:41] * Stomach has joined #silverstripe
316: [04:42:27] * ss-helper quit (Remote host closed the connection)
317: [04:42:42] * ss-helper has joined #silverstripe
318: [04:46:37] * terryapodaca quit (Quit: Leaving.)
319: [04:48:34] * antmas quit (Quit: Page closed)
320: [04:48:35] * travis-ci has joined #silverstripe
321: [04:48:36] <travis-ci> silverstripe/silverstripe-framework#5061 (master - 0103b07 : Damian Mooyman): The build passed.
322: [04:48:36] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/4e9f37c5162a...0103b076c394
323: [04:48:36] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/67134857
324: [04:48:36] * travis-ci has left #silverstripe
325: [04:51:16] * Stomach quit (Quit: zzz)
326: [04:52:30] * wmk has joined #silverstripe
327: [04:52:37] * WandL has joined #silverstripe
328: [04:57:31] <ss-helper> Re: EmailField 3.X - Supporting Macrons to meet Maori Language Act - https://groups.google.com/d/msg/silverstripe-dev/ftgUlm2AjBU/u7mWybuazhsJ
329: [05:05:28] * travis-ci has joined #silverstripe
330: [05:05:29] <travis-ci> silverstripe/silverstripe-cms#1262 (3 - 0a30972 : Damian Mooyman): The build is still failing.
331: [05:05:29] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-cms/compare/e6fb217fb2b8...0a30972e6b2d
332: [05:05:29] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/67135484
333: [05:05:29] * travis-ci has left #silverstripe
334: [05:06:27] * Hailwood quit (Remote host closed the connection)
335: [05:06:41] * DanaeNZ quit (Quit: DanaeNZ)
336: [05:08:31] * Liquide has joined #silverstripe
337: [05:09:08] * wmk quit (Ping timeout: 256 seconds)
338: [05:23:10] * travis-ci has joined #silverstripe
339: [05:23:11] <travis-ci> silverstripe/silverstripe-cms#1263 (master - dd49a88 : Damian Mooyman): The build is still failing.
340: [05:23:11] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-cms/compare/562f9dec8efd...dd49a888e802
341: [05:23:11] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/67135861
342: [05:23:11] * travis-ci has left #silverstripe
343: [05:35:00] * Ryan-Toast quit (Quit: Ryan-Toast)
344: [05:36:33] * veb quit (Quit: veb-irc: &)
345: [05:36:58] * lerni_ has joined #silverstripe
346: [05:42:07] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
347: [05:43:24] * glenn-bautista quit (Quit: Leaving.)
348: [05:48:22] * Stomach has joined #silverstripe
349: [06:04:06] * Error404NotFound has joined #silverstripe
350: [06:05:08] * Error404NotFound quit (Remote host closed the connection)
351: [06:06:10] * Error404NotFound has joined #silverstripe
352: [06:07:28] * Error404NotFound quit (Remote host closed the connection)
353: [06:07:52] * Error404NotFound has joined #silverstripe
354: [06:09:26] * Mike123 has joined #silverstripe
355: [06:09:33] <Mike123> Morning :)
356: [06:10:09] * Error404NotFound quit (Remote host closed the connection)
357: [06:10:20] * Error404NotFound has joined #silverstripe
358: [06:11:51] * Error404NotFound quit (Remote host closed the connection)
359: [06:12:30] <ss-helper> Silverstripe PaginatedList - How to display record numbers on cuurent page? - http://stackoverflow.com/questions/30883455/silverstripe-paginatedlist-how-to-display-record-numbers-on-cuurent-page
360: [06:12:57] * travis-ci has joined #silverstripe
361: [06:12:58] <travis-ci> silverstripe/silverstripe-framework#5063 (3.1 - 0653ba9 : Damian Mooyman): The build passed.
362: [06:12:58] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/a35f7e6e5fd0...0653ba963061
363: [06:12:58] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/67136483
364: [06:12:58] * travis-ci has left #silverstripe
365: [06:13:20] * Error404NotFound has joined #silverstripe
366: [06:13:27] * Error404NotFound quit (Remote host closed the connection)
367: [06:13:55] * Error404NotFound has joined #silverstripe
368: [06:14:11] * Error404NotFound quit (Remote host closed the connection)
369: [06:14:49] * Error404NotFound has joined #silverstripe
370: [06:15:12] * Error404NotFound quit (Remote host closed the connection)
371: [06:18:09] * wmk has joined #silverstripe
372: [06:23:09] <Mike123> how do i add tanslation button or tab or .. something that could change betweet allowed languages in gridField
373: [06:23:37] * micmania1 quit (Quit: micmania1)
374: [06:23:42] * scott1702 quit (Quit: This computer has gone to sleep)
375: [06:24:54] * Liquide quit ()
376: [06:25:25] <Mike123> solved it ... :)
377: [06:27:50] * adrexia_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
378: [06:27:51] <wmk> how?
379: [06:33:06] * veb has joined #silverstripe
380: [06:33:46] <Mike123> $fields->add($this->getTranslatableTabSet()); in getCmsField :)
381: [06:34:13] <Mike123> and it gives me labguage tab for every language available
382: [06:42:19] * mahfuz quit (Ping timeout: 246 seconds)
383: [06:42:28] * Shrike_Finland1 has joined #silverstripe
384: [06:45:34] * Shrike_Finland2 has joined #silverstripe
385: [06:48:18] * Shrike_Finland1 quit (Ping timeout: 256 seconds)
386: [06:55:25] * Stomach quit (Quit: bye)
387: [07:03:12] * Colin[pi] quit (Ping timeout: 272 seconds)
388: [07:05:32] * adrexia has joined #silverstripe
389: [07:12:31] <ss-helper> Silverstripe PaginatedList - How to display record numbers on current page? - http://stackoverflow.com/questions/30883455/silverstripe-paginatedlist-how-to-display-record-numbers-on-current-page
390: [07:18:46] * benjhocking has joined #silverstripe
391: [07:21:54] <wmk> Mike123, yup, that tab per language is nice.
392: [07:27:18] <spronk> gets unwieldy for larger sites, just beware
393: [07:32:14] * Colin[pi] has joined #silverstripe
394: [07:33:59] <wmk> spronk, ?
395: [07:34:05] <spronk> what if you have 20 lagns?
396: [07:34:33] <wmk> well, with 20 langs translatable dataobject (everything in one row) has other disadvantages
397: [07:34:44] <spronk> mm
398: [07:34:50] <spronk> but even 4-5 langs and it starts getting a bit akward imo
399: [07:35:05] * wmk is used to have a bunch of tabs in his cms
400: [07:35:05] * ss-helper quit (Remote host closed the connection)
401: [07:35:18] * ss-helper has joined #silverstripe
402: [07:35:23] <wmk> spronk, but you don't have to use one tab per language, there is a handy helper method to generate it for you
403: [07:35:39] <wmk> you can also do it more manually and make all langs in one tab
404: [07:35:39] * Sticks quit (Quit: Leaving)
405: [07:35:58] <wmk> or group by slavic, romanian, asian languages yourself
406: [07:42:14] <spronk> true
407: [07:49:27] <Mike123> http://codepaste.net/qah3hq i have City object which can have many Employees objects , i want to add ListBoxField of Employees in to City Object , i get empty list :/
408: [07:50:48] <wmk> of course
409: [07:51:09] <wmk> you have to pass at least one list with all available Employees to that field
410: [07:51:19] <Mike123> oh...
411: [07:51:20] <wmk> tip: it's not $this->Employee()
412: [07:51:29] <Mike123> :D yes indeed
413: [07:51:31] <Mike123> my bad
414: [07:51:33] <wmk> np
415: [07:51:34] <Mike123> thx
416: [07:51:53] <wmk> it's a bit hard in the beginning and it took even some time for me to understand that stuff
417: [07:52:18] * WandL quit (Quit: My Mac has gone to sleep. ZZZzzz…)
418: [07:52:21] <wmk> but thinking about it: it's logical, extensible and good
419: [07:52:31] <wmk> but complicated in the beginning
420: [07:52:56] <wmk> (if you want it simple but hard to extend: use <censored by py***k>)
421: [07:56:33] <Mike123> :)
422: [08:05:53] * swaiba has joined #silverstripe
423: [08:07:07] * GioVdK has joined #silverstripe
424: [08:12:29] * kinglozzer has joined #silverstripe
425: [08:13:10] * spronk quit (Quit: I may need a longer sleep timer...)
426: [08:22:14] * Pyfnrlk has joined #silverstripe
427: [08:25:30] <wmk> Pyfnrlk, o/
428: [08:25:59] <Pyfnrlk> \o wmk
429: [08:26:07] <Pyfnrlk> Is HenryP in channel?
430: [08:26:31] <Mike123> I have News Pages , on which user can select employees, every employee has its city, but i need to get all employees selected for that NewsPage and print it on fronend by cities, like this http://codepaste.net/hk5qfw
431: [08:26:59] <Mike123> it's easy i gues but i cant figure it about how this Employee getter method should look like
432: [08:27:28] <wmk> Mike123, that's a yml config
433: [08:27:38] <wmk> i doubt keys can have a space
434: [08:27:50] <wmk> or what do you want to show us?
435: [08:29:02] <Mike123> nooo :D no yml i just showed u have cities and employees should be sorted
436: [08:29:14] <Mike123> and i dont know how to sort them by cities
437: [08:29:25] <wmk> well, more group by cities?
438: [08:29:30] <wmk> see GroupedList
439: [08:29:49] <wmk> or GroupedDropdown
440: [08:29:55] <wmk> as a field for that
441: [08:30:13] <wmk> or https://github.com/sheadawson/silverstripe-dependentdropdownfield
442: [08:30:29] <wmk> select city then employee in another dropdown
443: [08:32:26] <kinglozzer> Mike123: If each employee is only in one city, GroupedList: http://docs.silverstripe.org/en/3.1/developer_guides/model/how_tos/grouping_dataobject_sets/
444: [08:32:38] <kinglozzer> If they can be in many cities (many_many relation): https://github.com/bigfork/supergroupedlist
445: [08:33:58] <Mike123> well thanks :)
446: [08:33:58] * Shrike_Finland2 quit (Read error: Connection reset by peer)
447: [08:34:09] * Shrike_Finland has joined #silverstripe
448: [08:35:56] <wmk> supergroupedlist wow...
449: [08:36:52] <Pyfnrlk> so no HenryP?
450: [08:37:42] <wmk> seems so
451: [08:37:56] <Mike123> but wait... i need a CMS field for this
452: [08:38:13] <wmk> Mike123, kinglozzer and i showed you some
453: [08:38:36] <kinglozzer> Pyfnrlk: Nope
454: [08:38:37] <kinglozzer> !seen HenryP
455: [08:38:37] <ss-helper> kinglozzer: Never seen that person before...
456: [08:38:42] <kinglozzer> ^^
457: [08:38:59] <wmk> Pyfnrlk, inductive today?
458: [08:39:37] <Mike123> GroupedList is not a field
459: [08:39:56] <Pyfnrlk> wmk: eh?
460: [08:41:24] <Pyfnrlk> kinglozzer: talking about some chap on the forums who claims to have 15 years dev experience and with complex frameworks like symfony2, etc. But can't figure out how a SilverStripe form works, and can find the forum but complains there is nowhere to find documentation (despite it being on the same fucking site).
461: [08:42:29] <wmk> http://www.fucking-hell.de/ ??
462: [08:43:08] <Pyfnrlk> haha, yep. And also, that's pretty brillant :P
463: [08:43:40] * wmk drove through this small village some times
464: [08:43:55] <wmk> imagine a dev conf there
465: [08:46:44] * Error404NotFound has joined #silverstripe
466: [08:50:53] * travis-ci has joined #silverstripe
467: [08:50:54] <travis-ci> silverstripe/silverstripe-framework#5065 (3 - e21a764 : Hamish Friedlander): The build passed.
468: [08:50:54] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/b95fdc7ba003...e21a764439ef
469: [08:50:54] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/67156692
470: [08:50:54] * travis-ci has left #silverstripe
471: [08:54:33] <Mike123> is i have a realation and i want to add this relation Title lets's say to summary field
472: [08:54:42] <Mike123> what should i write in summary field ?
473: [09:01:40] * r_hector has joined #silverstripe
474: [09:01:53] * aditya has joined #silverstripe
475: [09:02:11] <aditya> which module should i use instead of dataobject_manager in ss 3
476: [09:02:17] <swaiba> Mike123 realation.Title
477: [09:02:19] <ss23> model admin
478: [09:02:20] <ss23> @ aditya
479: [09:02:52] <ss23> aditya: http://docs.silverstripe.org/en/3.1/developer_guides/customising_the_admin_interface/modeladmin/ -- ther's a quickstart or something somewhere
480: [09:03:02] <ss23> it's like 3 lines to bootstrap it and get it working with a given class
481: [09:04:32] * mobiusnz quit (Quit: Leaving.)
482: [09:07:24] <wmk> Mike123, e.g. private static $summary_fields = array('Title', 'Category.Title');
483: [09:07:47] <wmk> so i have two summaries, the title of the current item and the title of the related category
484: [09:08:18] <wmk> aditya, Gridfield and / or Modeladmin
485: [09:08:36] <Mike123> wml , swaiba : i get ID of the relation
486: [09:09:06] <wmk> Gridfield is built in, but you'd need some modules for extended functionality
487: [09:09:12] <wmk> Mike123, !paste
488: [09:11:45] <Pyfnrlk> fucking hell indeed wmk. I think that chap is hand coding html form, then trying to submit it directly to a custom controller to handle the submission & give result.
489: [09:11:59] <Mike123> http://codepaste.net/hisgwf
490: [09:12:08] <simon_w> !paste wmk
491: [09:12:08] <ss-helper> wmk: 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.
492: [09:12:10] <wmk> Pyfnrlk, he's not the first
493: [09:12:24] <Pyfnrlk> I just... fuck'n hell. People that jump straight in without doing any research on the tool they're using then whinge when it's not like XYZ framework that let them get away with shitty practice...
494: [09:12:25] <wmk> simon_w, well, Mike123 should know that already ;)
495: [09:12:48] <Pyfnrlk> wmk: yeah I know. But you'd (well I would) expect an experienced developer to be able to figure this shit out themselves.
496: [09:12:55] <wmk> Pyfnrlk, well, i started with that great book of Ingo, with a lot of explanation
497: [09:13:02] <wmk> unfortunately it's outdated.
498: [09:13:11] <wmk> and Xeraa's publisher doesn't want to update his book
499: [09:13:20] <wmk> not profitable enough
500: [09:13:21] <Pyfnrlk> I started with the first 3 tutorials on the old docs site.
501: [09:13:23] <wmk> so ...
502: [09:13:35] <aditya> suggest me a module for ss3.1 upgrading from event_calendar module
503: [09:13:39] <Pyfnrlk> that was enough. Tutorial 3 covered forms.
504: [09:13:57] <wmk> aditya, there is a 3.1 version of event calendar, you'll need to update the database a bit to get it workingn
505: [09:14:01] <wmk> some stuff changed
506: [09:14:03] <Pyfnrlk> I'd never had any exposure to MVC, and the tight coupling with magic methods on the controller was confusing.
507: [09:14:16] <Pyfnrlk> (page:page_controller coupling that is)
508: [09:14:20] <swaiba> to contribute to the "learining ss" - it's always been stragihtforward for any "clever" developer to learn
509: [09:14:27] <swaiba> good docs, well written code, etc
510: [09:14:39] <swaiba> it's what attracted and kept me with silverstripe
511: [09:14:44] <aditya> and for ordrable module
512: [09:14:44] <Pyfnrlk> swaiba: mmm.
513: [09:15:00] <Pyfnrlk> but peopel that claim they're good developers then can't back that up... kinda riles me a bit tbh.
514: [09:15:09] <Pyfnrlk> Just be humble! Doesn't cost anything.
515: [09:15:29] <swaiba> and that is my point... good/clever/productive get the job done
516: [09:15:33] <Pyfnrlk> Don't blame the tool when you're basically trying to circumvent it entirely,.
517: [09:15:51] <Pyfnrlk> But anyway.
518: [09:15:56] <swaiba> I do believe in the right tool, for right job
519: [09:16:05] <Pyfnrlk> I tend to be strong opinioned like that.
520: [09:16:17] <Pyfnrlk> swaiba: I can agree with that.
521: [09:16:55] <simon_w> I need to learn how to developer for another CMS
522: [09:17:05] <simon_w> Far too coupled to SS :(
523: [09:17:26] <swaiba> you'll be fine simon_w, something tells me you can do it :)
524: [09:17:30] <Pyfnrlk> But when you're trying to learn a new tool, the best way is to be "I can't figure out... I want to do... Plz help." not "This tool is kind stupid, I am doing ... and it doesn't ... and docs I didn't read don't help."
525: [09:17:53] <swaiba> Pyfnrlk - no the way is to debug the code and read the framework
526: [09:17:55] <simon_w> swaiba, I'm currently more tempted to write my own :p
527: [09:18:00] <wmk> aditya, see PM
528: [09:18:11] <Pyfnrlk> which is like an almagamation of X=>Y problem and cockyness
529: [09:18:15] <swaiba> simon_w - nooooo - I did that and the I realised others had!
530: [09:18:40] <simon_w> swaiba, but I don't like the ones others have written
531: [09:18:47] <swaiba> the reason I like coding as a profession is that the answer is always right there
532: [09:19:02] <swaiba> zeros and ones is all it comes down to, pure logic
533: [09:19:07] * wmk likes to learn from others, read good code etc...
534: [09:20:21] <Pyfnrlk> swaiba: yeah, but if you don't understand... you don't understand. Don't try and claim you're a pro dev and that it's the tools fault for you not understanding. Because the latter predates the fact that the former is not true.
535: [09:21:23] <swaiba> Pyfnrlk agree of course, I've just been agreeing with you basically
536: [09:21:26] <Pyfnrlk> I am thinking to start a project.
537: [09:21:34] <Pyfnrlk> I'll call it 'SlimmerStripe'
538: [09:22:09] <Pyfnrlk> And I'll rigerously trawll through SS's code and rip out all the code rot, refactor what shoudln't be there, and break the shit out of Backwards Compatibility.
539: [09:22:27] <Pyfnrlk> swaiba: I know :>
540: [09:22:42] <Pyfnrlk> I'm just expanding my points :P
541: [09:23:12] <Pyfnrlk> Ohh, then I'll submit a pull request and call it SS5.0
542: [09:23:14] <Pyfnrlk> :P
543: [09:23:31] * Pyfnrlk dreams about all the time he doesn't have :<
544: [09:24:33] <wmk> not another fork of a good project
545: [09:24:46] <wmk> Pyfnrlk, you should call it SSNG
546: [09:25:46] <Pyfnrlk> wmk: no, not a fork. A branch, for re-submitting.
547: [09:25:57] <Pyfnrlk> ;)
548: [09:26:13] <Pyfnrlk> I keep coming across stuff in SS that really shouldn't be there.
549: [09:27:16] <Pyfnrlk> example: http://api.silverstripe.org/3.1/source-class-Form.html#1483
550: [09:28:11] <Pyfnrlk> http://api.silverstripe.org/3.1/source-class-Form.html#1449
551: [09:29:32] <Pyfnrlk> Neither are used, anywhere in framework at least.
552: [09:30:06] <Pyfnrlk> so maybe in CMS, but the same thing could be achieved in CMS code. Those methods are basically old coupling links to CMS.
553: [09:30:23] <Pyfnrlk> ie. code that's rotting but is still being used.
554: [09:30:31] <Pyfnrlk> possibly (I don't have cms installed to check)
555: [09:30:49] <Pyfnrlk> But it's not used anywhere in LeftAndMain in the framework section.
556: [09:31:21] <Pyfnrlk> which would mean it's coupled specifically to editing pages, if it's used at all.
557: [09:31:38] <Pyfnrlk> LeftAndMain.js makes allowances for it (render without actions)
558: [09:31:55] <simon_w> The admin/ folder shouldn't be in framework
559: [09:32:06] <simon_w> They had a chance to decouple with 3.0 and blew it
560: [09:32:16] <Pyfnrlk> so really an investigation should be made into why it exists at all, and if it could be abstracted if it's still needed.
561: [09:32:36] * aditya quit (Quit: Page closed)
562: [09:32:42] <Pyfnrlk> simon_w: yeh. There's still a lot of kind coupling in that the whole system basically falls apart without Member.
563: [09:32:47] <Pyfnrlk> so need to manage Member
564: [09:32:51] <Pyfnrlk> so still need admin interface
565: [09:32:53] <Pyfnrlk> so ...
566: [09:32:55] <Pyfnrlk> yeah.
567: [09:32:56] <simon_w> Why?
568: [09:33:00] <Pyfnrlk> I agree in principal though.
569: [09:33:10] <simon_w> You can have Member without a built in way to manage it
570: [09:33:14] <Pyfnrlk> I guess it's more a case of getting shifted to too hard basket
571: [09:33:23] <Pyfnrlk> this is true, I guess.
572: [09:33:34] <simon_w> Moving all of admin/ into cms/ would actually make things easier
573: [09:33:49] <simon_w> There's so much weird half-coupling going on between them
574: [09:33:54] <Pyfnrlk> then you're reliant on all users having access to CLI to make builds though no? because admin auth.
575: [09:34:17] <simon_w> You can dev/build in dev mode
576: [09:34:27] <simon_w> There's a change password form as part of Security
577: [09:34:29] <Pyfnrlk> But yeah, that's the kinda thing I'm talking about cleaning up when I mention this mythical dream project I'll never get around to ever even approaching.
578: [09:35:37] <Pyfnrlk> Because I'd also like to split the form library so it can be used independently. I have projects not in SS (unfortunately) where I'd REALLY like a decent form lib.
579: [09:35:52] <Pyfnrlk> and DB needs to be abstracted from DO
580: [09:35:56] <Pyfnrlk> etc
581: [09:36:05] <Pyfnrlk> refactoring \o/
582: [09:36:29] * Shrike_Finland quit (Ping timeout: 245 seconds)
583: [09:36:31] <simon_w> And that's part of why I just want to build my own
584: [09:36:38] <simon_w> Would spend way too longer refactoring
585: [09:36:55] * Shrike_Finland has joined #silverstripe
586: [10:05:26] <ss-helper> Re: [silverstripe-dev] HeaderField - can't attach errors to it. - https://groups.google.com/d/msg/silverstripe-dev/B8UY1d6vvZM/sp7VCfaAZXgJ
587: [10:09:47] * jeroenem has joined #silverstripe
588: [10:10:53] <jeroenem> hey guys, anyone experienced with the Uploadify module? Is there a possibility to set one of many photos in the upload screen, as the "main photo"?
589: [10:11:01] <jeroenem> while having a multiple photo upload
590: [10:12:12] <Pyfnrlk> jeroenem: you're on 2.4?
591: [10:12:21] <Pyfnrlk> and no.
592: [10:12:24] <Pyfnrlk> there's not.
593: [10:13:46] <Pyfnrlk> You'll need to set some kind of flag on your intermediary object. You can use onbeforewrite to remove the flag from sibling objects before you set it if need be.
594: [10:14:09] <Pyfnrlk> then you can manage it through DataObjectManager for images (presumably you're using this).
595: [10:14:51] <jeroenem> Whutttt i said Uploadify .... meant Dropzone :/
596: [10:15:09] <jeroenem> I'm on 3.X - but my brains seems to stick around 2.4.X
597: [10:17:35] <jeroenem> we are using dropzone in the frontend of a website, used can bulk upload images. Now we are using the first photo as "main photo", but of course, people want to select their main photo by their own
598: [10:17:50] <jeroenem> user can bulk upload images*
599: [10:20:33] * headtrip has joined #silverstripe
600: [10:21:39] <headtrip> Hey Guys, i have a String which contains a Silverstripe Template. i want to render this template with data of the controller. do you have any idea how to bring the renderer to use a string with valid .ss syntax instead of a templatefile?
601: [10:24:11] <headtrip> extending the templateloader? generating temporary .ss files? or maybe a allready built in method i dont know?
602: [10:24:37] <swaiba> headtrip - $template = SSViewer::fromString($str)
603: [10:26:50] <headtrip> swaiba: great! thank you so much. mmd
604: [10:28:02] * Kutten quit (Remote host closed the connection)
605: [10:42:03] * benjhocking1 has joined #silverstripe
606: [10:43:28] * benjhocking quit (Ping timeout: 265 seconds)
607: [10:48:38] * veb quit (Quit: veb-irc: &)
608: [10:49:23] <headtrip> How can i access a element of a keyless array in .ss templates?
609: [10:49:34] * r_hector quit (Remote host closed the connection)
610: [10:49:43] <headtrip> I want to do something like $GalleryImages.Get(3) to get the 3rd element of the array
611: [10:49:59] <headtrip> $GalleryImages.First returns me the first, so there is a solution to get any element, right?
612: [10:52:38] <headtrip> Solution: offsetGet .. weird! xD Thanks!
613: [11:01:01] * mobiusnz has joined #silverstripe
614: [11:07:17] * jeroenem quit (Quit: Page closed)
615: [11:16:16] * mobiusnz quit (Quit: Leaving.)
616: [11:25:17] * cloph_away is now known as cloph
617: [11:26:35] * terryapodaca has joined #silverstripe
618: [11:28:52] <terryapodaca> Hey guys...I'm getting this error
619: [11:28:54] <terryapodaca> http://sspaste.com/paste/show/558159d6eb739
620: [11:29:01] <terryapodaca> the error is at the bottom of that paste
621: [11:29:14] <terryapodaca> I googled it and this is just about all I can find:
622: [11:30:31] <wmk> terryapodaca, yup, annoying
623: [11:30:33] <terryapodaca> http://www.silverstripe.org/community/forums/customising-the-cms/show/15375
624: [11:30:45] <wmk> you have an extension that is adding this field twice?
625: [11:31:00] <wmk> is $this->extend('updateFooFields') called in this class and in a parent class?
626: [11:31:26] <terryapodaca> Not that I know of
627: [11:31:39] <wmk> grep for ItemEditForm and see where this field is added
628: [11:33:19] <wmk> ah, the fieldname is "ShowOnHomePage"
629: [11:33:59] <wmk> well terryapodaca the field is scaffolded first, then you add it again...
630: [11:34:01] * Shrike_Finland quit (Quit: Leaving.)
631: [11:34:21] <wmk> $fields = parent::getCMSFields(); <-- scaffolds all fields on a DO (not in sitetree)
632: [11:34:50] <wmk> so terryapodaca maybe you don't need all your custom fields cause form scaffolder does it for you?
633: [11:35:22] <wmk> or just start with a new FieldList
634: [11:35:37] <ss-helper> RE: [silverstripe-dev] UI changes to the CMS site tree and filter panel - https://groups.google.com/d/msg/silverstripe-dev/RBctQFLbyjM/fE_Q-XLnjTkJ
635: [11:37:05] * Shrike_Finland has joined #silverstripe
636: [11:47:18] * darjus01 has joined #silverstripe
637: [11:47:44] <darjus01> hi all in SS DecimalField is named something else?
638: [11:51:58] <terryapodaca> wmk: I changed it to starting with FieldList::create(
639: [11:52:26] <wmk> working?
640: [11:52:39] <terryapodaca> and that worked, it also doesn't add a dropdown for my has_one relationship to HomePage or AnnouncementPage
641: [11:52:47] <terryapodaca> so far it's working now
642: [11:53:01] <wmk> darjus01, FormField or DB Field ?
643: [11:53:14] <terryapodaca> I had followed this tut: http://takeaway.bigfork.co.uk/a-beginners-introduction-to-using-entwine-in-silverstripe
644: [11:53:27] <wmk> terryapodaca, i love the form scaffolder, but sometimes it's better to start by scratch.
645: [11:53:36] <wmk> though somehow you can tell the form scaffolder to ignore some fields
646: [11:53:43] <darjus01> wmk finded CurrencyField
647: [11:54:35] <wmk> darjus01, Renders a text field, validating its input as a currency. Limited to US-centric formats, including a hardcoded currency symbol and decimal separators. See MoneyField for a more flexible implementation.
648: [11:54:48] <terryapodaca> yeah, I could have used: $fields->removeByName("NameOfField"); for each field but I felt like that was bloating the code and really contradicting the purpose of it
649: [11:55:40] <terryapodaca> scaffolding is very handy with simple forms, but if the forms get complex where you have to do some formatting and grouping...I think it's best to start fresh
650: [11:55:43] <darjus01> is only for NZ so its ok
651: [11:56:44] <terryapodaca> I think there is also a $fields->replaceField() too
652: [11:56:54] <wmk> yup.
653: [11:56:58] <wmk> or resorting somehow
654: [11:57:06] <wmk> it depends.
655: [11:57:21] <wmk> scaffolding is great when you add a new field to DB -> automatic field in form
656: [11:57:55] <wmk> somehow you can tell the scaffolder which fields to create, dunno if you can tell it the order
657: [12:03:39] <swaiba> lerni_ - cheers for the mailchimp userform field :D been meaning to do similar
658: [12:05:59] <lerni_> swaiba: it needs a lot more love - PRs are very welcome :)
659: [12:06:17] <wmk> who doesn't need love
660: [12:07:28] <lerni_> wmk: hi - how is it going with SVG?
661: [12:07:38] <wmk> ah, have to play with it later
662: [12:07:46] <lerni_> SVG and the map I mean
663: [12:07:47] <wmk> but got it working in theory...
664: [12:08:02] <lerni_> :)
665: [12:08:16] <wmk> have to include it in html, then i can access the areas by ID
666: [12:08:51] <swaiba> lerni_ I'll be a "git" soon enough and they might well come then
667: [12:11:50] <wmk> lol, XNA: XNA's Not Acronymed
668: [12:14:21] * UndefinedOffset has joined #silverstripe
669: [12:16:18] <swaiba> recurisve ancronyms displease me
670: [12:18:27] * ss-helper quit (Ping timeout: 252 seconds)
671: [12:22:37] * ss-helper has joined #silverstripe
672: [12:23:12] <wmk> has tinymce a "copy format" functionality like word?
673: [12:29:32] <simon_w> Probably
674: [12:32:24] <Pyfnrlk> ZOMG
675: [12:32:32] <Pyfnrlk> just found V in a local convenience store
676: [12:32:39] <Pyfnrlk> like a UK four square
677: [12:32:45] <wmk> V like Varoufakis?
678: [12:33:02] <Pyfnrlk> says on the can "Specially formulated for UK and ROI"
679: [12:33:08] <Pyfnrlk> which is complete bollocks.
680: [12:33:17] <Pyfnrlk> wmk: nah, like V Energy :P
681: [12:33:24] <Pyfnrlk> simon_w knows :>
682: [12:33:33] <Pyfnrlk> I was so happy when I saw it I bought 3 cans.
683: [12:34:00] <Pyfnrlk> wmk: tinymce has the 'paste from word' function, but it's still not that effective.
684: [12:34:02] <wmk> ROI? Return On Investment?
685: [12:34:10] <Pyfnrlk> Republic of Ireland :>
686: [12:34:16] <wmk> oh no, you don't want to paste from THAT word document
687: [12:34:31] <Pyfnrlk> (The Irish part of Ireland, ie. the EU part, not the UK part)
688: [12:34:46] <wmk> if word has headings set it's ok (if you need the same <hx> in your html)
689: [12:34:58] <Pyfnrlk> Although the Northern Irish folk would probably kill us for say'n that :P
690: [12:52:10] <Mike123> hmm, i get this error http://snag.gy/cFsud.jpg , code : http://codepaste.net/s29rpe
691: [12:52:16] <Mike123> any idea why ?
692: [12:52:32] <Mike123> is there something wrong in data extensions and relations ?\
693: [12:53:05] * ss31noob has joined #silverstripe
694: [12:53:52] <ss31noob> hello. have a question. i still have site that is in 2.4.. i have this one dataobject::get and i wanted to know what sql does that dataobject:get is running
695: [12:54:02] <ss31noob> does anyone knows how to display it?
696: [12:55:45] <wmk> !paste ss31noob
697: [12:55:45] <ss-helper> ss31noob: 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.
698: [12:58:12] <wmk> ss31noob, there is a config value to show all queries.
699: [12:59:26] <ss31noob> yeah, im trying to use showqueries.. but it doesnt return any sql
700: [12:59:28] <wmk> http://docs.silverstripe.org/en/2.4/reference/urlvariabletools/#database
701: [12:59:36] <wmk> you're in dev mode?
702: [12:59:45] * Frans_Amsterdam has joined #silverstripe
703: [13:01:43] <Frans_Amsterdam> Hi All, I have some odd behaviour on searchableItems. I can search on 3 characters like GEO but on XS4 I get no results. In the database there are. Anyone a clue?
704: [13:01:59] <lerni_> I need a CRUD Interface in the frontend. GridField feels like overkill, generic-views is dead?? ATM I've not tried burnbright/silverstripe-listeditor. How do you if it has to be on the frontend?
705: [13:07:43] * Shrike_Finland quit (Quit: Leaving.)
706: [13:08:57] <swaiba> lerni_ - i think generic views, with a little surgery, could be revived
707: [13:09:11] <swaiba> and it does it all nicely, search, results, C-R-U-D
708: [13:11:46] <lerni_> swaiba: do not need search but 'll have a look. There is a fork that might helpt https://github.com/ryanwachtl/silverstripe-genericviews
709: [13:12:16] <swaiba> lerni_ - https://github.com/ryanwachtl/silverstripe-genericviews/tree/silverstripe-3.1
710: [13:12:19] <swaiba> yeah
711: [13:13:45] <lerni_> will 3.x-dev be 3.2?
712: [13:15:52] <lerni_> If I want to checkout the upcoming 3.2 should I use 3.x-dev ?
713: [13:19:13] * adrexia quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
714: [13:29:18] * Shrike_Finland has joined #silverstripe
715: [13:29:40] * Shrike_Finland quit (Client Quit)
716: [13:40:18] <ss31noob> oops.. mpode is set to live that is why showqueries isnt working
717: [13:40:22] <ss31noob> thanks for the help wmk
718: [13:40:43] <wmk> ss31noob, you're welcome
719: [13:47:47] * catcher has joined #silverstripe
720: [13:47:47] * catcher quit (Changing host)
721: [13:47:47] * catcher has joined #silverstripe
722: [13:51:42] <wmk> why aint there api docs for core modules like translatable?
723: [13:53:44] * marvanni has joined #silverstripe
724: [13:56:10] * Colin[pi] quit (Ping timeout: 244 seconds)
725: [13:57:38] * lerni_ quit ()
726: [13:59:52] <swaiba> wmk wasn't it removed from "core"? probably for that reason
727: [14:02:18] * babak quit (Quit: Connection closed for inactivity)
728: [14:03:10] <Pyfnrlk> Mike123: $this->owner->Items()
729: [14:03:18] <Pyfnrlk> not $this->Items()
730: [14:04:23] <wmk> swaiba, of course, but it's still an official and much used module
731: [14:04:53] <Pyfnrlk> ss31noob: it runs SELECT "ObjectTable"."ObjectField", <...> FROM "ObjectTable"
732: [14:05:14] <Pyfnrlk> then adds your where, join sort and limit parameters where applicable.
733: [14:05:52] <swaiba> ss31noob you can add "?showqueries=1" to see it all :)
734: [14:06:05] <Pyfnrlk> expanding from eg 'Field = '.$thing to "ObjectTable"."ObjectField" = <thing value>
735: [14:06:08] <Pyfnrlk> etc.
736: [14:06:47] <Pyfnrlk> and yeah, as wmk and swaiba say, put the site into dev mode (see mysite/_config.php) and use the url variable tool.
737: [14:06:56] <Pyfnrlk> to see all queries (there will be a lot though).
738: [14:19:24] <wmk> Pyfnrlk, yup, cannot imagine ss was that difficult to debug in 2.4...
739: [14:19:53] <wmk> though with xdebug you could set a breakpoint somewhere to get the query
740: [14:30:08] * Frans_Amsterdam quit (Quit: Textual IRC Client: www.textualapp.com)
741: [14:31:22] * darjus01 quit (Read error: Connection reset by peer)
742: [14:35:10] * ss31noob quit (Ping timeout: 246 seconds)
743: [14:52:44] <ss-helper> Re: [silverstripe-dev] HeaderField - can't attach errors to it. - https://groups.google.com/d/msg/silverstripe-dev/B8UY1d6vvZM/VoPCmqM3zZwJ
744: [14:57:27] * marvanni quit (Read error: Connection reset by peer)
745: [14:59:08] * scottstone has joined #silverstripe
746: [15:16:10] * Mike123 quit (Quit: Page closed)
747: [15:21:37] * benjhocking1 quit (Read error: Connection reset by peer)
748: [15:22:15] * benjhocking has joined #silverstripe
749: [15:26:32] * marvanni has joined #silverstripe
750: [15:29:20] * cloph is now known as cloph_away
751: [15:31:55] * UndefinedOffset quit (Quit: Leaving.)
752: [15:38:04] * swaiba quit (Remote host closed the connection)
753: [15:45:58] * UndefinedOffset has joined #silverstripe
754: [16:10:58] * marvanni quit (Quit: marvanni)
755: [16:11:39] * Error404NotFound quit (Ping timeout: 252 seconds)
756: [16:23:38] * muskie9 has joined #silverstripe
757: [16:24:13] <muskie9> anyone know if there's anything out there to take a fixture file from a unit test of mine and populate my local database so I can use that data?
758: [16:24:16] * Error404NotFound has joined #silverstripe
759: [16:25:08] * Error404NotFound quit (Max SendQ exceeded)
760: [16:27:25] * terryapodaca quit (Ping timeout: 252 seconds)
761: [16:27:30] * wmk quit (Ping timeout: 272 seconds)
762: [16:30:09] <Pyfnrlk> muskie9: built in I thought.
763: [16:30:15] <Pyfnrlk> NFI how to define it though
764: [16:30:22] <Pyfnrlk> although it might just be for sqlite
765: [16:30:23] <Pyfnrlk> idk
766: [16:30:25] <Pyfnrlk> home
767: [16:30:27] * Pyfnrlk quit ()
768: [16:38:59] * kinglozzer quit ()
769: [16:44:09] * UndefinedOffset1 has joined #silverstripe
770: [16:44:09] * UndefinedOffset quit (Disconnected by services)
771: [16:48:08] * joelpittet has joined #silverstripe
772: [16:52:43] * ss-helper quit (Remote host closed the connection)
773: [16:52:56] * ss-helper has joined #silverstripe
774: [16:59:08] * terryapodaca has joined #silverstripe
775: [17:07:45] * terryapodaca quit (Ping timeout: 252 seconds)
776: [17:11:13] * wmk has joined #silverstripe
777: [17:14:48] * UndefinedOffset1 is now known as UndefinedOffset
778: [17:25:44] * GioVdK quit (Ping timeout: 264 seconds)
779: [17:30:26] * headtrip quit (Quit: (null))
780: [17:46:24] * Werner_2_ has joined #silverstripe
781: [17:49:36] * wmk quit (Ping timeout: 256 seconds)
782: [18:18:28] * scottstone quit (Ping timeout: 246 seconds)
783: [18:48:32] * gelignite has joined #silverstripe
784: [19:25:02] * babak has joined #silverstripe
785: [19:25:53] * oetiker quit (Read error: Connection reset by peer)
786: [19:26:21] * veb has joined #silverstripe
787: [19:26:23] * veb quit (Client Quit)
788: [19:46:28] * Kutten has joined #silverstripe
789: [19:58:20] * muskie9_ has joined #silverstripe
790: [19:59:02] * muskie9 quit (Ping timeout: 272 seconds)
791: [20:03:39] * muskie9_ quit (Ping timeout: 246 seconds)
792: [20:05:27] * oetiker has joined #silverstripe
793: [20:09:07] * Stomach has joined #silverstripe
794: [20:26:21] * joelpittet quit (Remote host closed the connection)
795: [20:26:34] * Werner_2_ is now known as wmk
796: [20:26:36] <wmk> hey stomach
797: [20:26:41] <Stomach> good morning
798: [20:26:46] <wmk> good morning.
799: [20:26:51] <wmk> just trying your svg module
800: [20:27:01] <wmk> so i have a big svg i want to include and scale to fit
801: [20:27:10] <wmk> include is ok, but i just see a part of the svg
802: [20:27:37] <Stomach> like its bigger than the screen
803: [20:27:37] <Stomach> ?
804: [20:28:02] <wmk> yup
805: [20:28:13] <Stomach> try $SVG('my-svg).size(30,30)
806: [20:28:41] <wmk> well, did the size in a getter, but still don't see the svg scaled
807: [20:28:57] <wmk> just a part of the svg...
808: [20:29:10] <Stomach> is your svg correct? :D
809: [20:29:21] <Stomach> email me it if you want I can have a looksie - stevie.mayhew@littlegiant.co.nz
810: [20:29:57] * joelpittet has joined #silverstripe
811: [20:34:54] <wmk> Stomach, css issue?
812: [20:35:30] * Stomach quit (Quit: zzz)
813: [20:38:46] * Stomach has joined #silverstripe
814: [20:39:06] <Stomach> wmk
815: [20:39:15] <Stomach> when I open that to view in gmail
816: [20:39:20] * zippy has joined #silverstripe
817: [20:39:24] <Stomach> I just see ankt fgang
818: [20:39:26] <zippy> Stomach: tough game eh!
819: [20:39:27] <Stomach> is that correct
820: [20:39:30] <Stomach> zippy - yeeeeah
821: [20:39:32] <Stomach> :(
822: [20:39:40] <wmk> Stomach, got it solved.
823: [20:39:49] <Stomach> what was it?
824: [20:39:51] <wmk> had a way to small paper size in inkscape
825: [20:40:00] <wmk> (imported from another file)
826: [20:40:05] <Stomach> ahhh cool
827: [20:40:09] <wmk> so when you open it, you see the paper size
828: [20:40:12] <Stomach> glad its not my code :P :D
829: [20:40:25] <wmk> there's in settings something where you can adjust the paper size on the given image
830: [20:40:47] <wmk> Stomach, i didn't think it's your code, but i thought you might have a hint ;)
831: [20:40:47] <Stomach> but yeah you should be able to just do $SVG('karte-regis-web').size(400,400) in the template if you want
832: [20:40:56] <wmk> did this.
833: [20:41:16] <wmk> didn't get the chainable stuff without documentation :( quite late over here
834: [20:41:49] <Stomach> yeah I should update that documentation
835: [20:42:27] * UndefinedOffset quit (Quit: Leaving.)
836: [20:42:37] <wmk> hey, that svg stuff is cool....
837: [20:42:57] <wmk> beside 129K for that map... deleted a lot of unused very small lines
838: [20:43:17] * glenn-bautista has joined #silverstripe
839: [20:44:11] * _SjG_ quit (Read error: Connection reset by peer)
840: [20:45:41] <zippy> Stomach: this series is like, 300-350 is not really enough eh
841: [20:45:57] <Stomach> yeah its crazy zippy
842: [20:46:06] <Stomach> wmk - yeah its great we use it for everything
843: [20:46:11] <Stomach> no more sprites or icon fonts
844: [20:46:12] <zippy> normally you think 350 and it should be in the bag
845: [20:46:25] * Kingy[a] quit (Ping timeout: 250 seconds)
846: [20:48:50] * Kingy[a] has joined #silverstripe
847: [20:49:44] <Stomach> wmk - added some docs
848: [20:49:44] <Stomach> https://github.com/stevie-mayhew/silverstripe-svg
849: [20:50:00] * DanaeNZ has joined #silverstripe
850: [20:50:25] <Stomach> probably too late for you though ":D
851: [20:50:35] <wmk> so i have a path in my svg with #foo, can i change color on mouseover with css?
852: [20:50:43] * Stomach quit (Quit: zzz)
853: [20:50:44] <wmk> path#foo { ...??? }
854: [20:54:37] * Stomach has joined #silverstripe
855: [20:55:31] * zippy quit (Quit: Textual IRC Client: www.textualapp.com)
856: [20:57:14] * antmas has joined #silverstripe
857: [20:57:28] <antmas> morning all o/
858: [20:57:37] <DanaeNZ> http://www.no-mans-sky.com/about/
859: [20:57:38] <DanaeNZ> oh man
860: [20:57:41] <DanaeNZ> i want this
861: [20:57:47] <DanaeNZ> hey antmas o/
862: [20:57:55] <antmas> DanaeNZ: o/
863: [20:58:09] <DanaeNZ> it’s what spore space age should have been
864: [21:00:51] <DanaeNZ> oh gods it’s beautiful
865: [21:01:41] <antmas> I can't help but think that it would be very 'samey' after a while
866: [21:01:52] <antmas> all the planets they've shown look the same
867: [21:02:33] <DanaeNZ> I’d get a few hundred hours out of it
868: [21:02:39] <DanaeNZ> It is an MMO
869: [21:02:45] <antmas> true
870: [21:02:47] <DanaeNZ> so samey is expected, haha
871: [21:05:47] * Ryan-Toast has joined #silverstripe
872: [21:12:48] <Stomach> wmk - yep you can , css is like #foo {fill: red;} or something
873: [21:13:09] <wmk> yup. have to get the right selector... and !important to overwrite the inline fill
874: [21:13:12] <wmk> :(
875: [21:15:13] <Ryan-Toast> wmk: just don’t set it in the first place :D
876: [21:15:57] <wmk> can i set classes to paths in inkscape?
877: [21:16:22] <Ryan-Toast> Mmm, not that I can recall.
878: [21:16:37] <Ryan-Toast> but that was a whilke ago.
879: [21:16:44] <wmk> i just have an ID, but that's too specific ...
880: [21:17:57] * Hailwood has joined #silverstripe
881: [21:18:04] <Ryan-Toast> wmk: you shouild be able to, just give it a google.
882: [21:18:12] <Ryan-Toast> Otherwise you can always open them in your text editor.
883: [21:18:46] <wmk> hmm... that's too much work for this map
884: [21:20:06] * catcher quit (Ping timeout: 276 seconds)
885: [21:23:02] * ss-helper quit (Remote host closed the connection)
886: [21:23:19] * ss-helper has joined #silverstripe
887: [21:25:04] * Stomach quit (Quit: zzz)
888: [21:34:33] * adrexia has joined #silverstripe
889: [21:39:37] * Stomach has joined #silverstripe
890: [21:41:34] <Kutten> Hey, I have an issue where the CMS allows me to upload multiple files, but when I refresh it only remembers the first one!?
891: [21:42:42] <Ryan-Toast> Kutten: UploadField?
892: [21:42:52] <Ryan-Toast> Sounds like you haven’t done a dev/build on a has_one
893: [21:43:10] <Ryan-Toast> Or you have the wrong relationship type
894: [21:45:26] * Stomach quit (Quit: zzz)
895: [21:48:45] * Stomach has joined #silverstripe
896: [21:49:04] <Kutten> Ryan-Toast: private static $has_many = array(
897: [21:49:04] <Kutten> 'MyFile' => 'File'
898: [21:49:04] <Kutten> );
899: [21:49:04] <Kutten> public function getCMSFields() {
900: [21:49:04] <Kutten> $fields = parent::getCMSFields();
901: [21:49:04] <Kutten> $upload = new UploadField('MyFile');
902: [21:49:04] <Kutten> $upload->setConfig('allowedMaxFileNumber', 10);
903: [21:49:05] <Kutten> $fields->addFieldToTab("Root.Main", $upload);
904: [21:49:05] <Kutten> return $fields;
905: [21:49:06] <Kutten> }
906: [21:49:06] <Kutten> }
907: [21:49:32] <Ryan-Toast> !paste Kutten:
908: [21:49:32] <ss-helper> 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.
909: [21:49:34] <Kutten> that didn't past well, and I have done plenty of dev/builds Op
910: [21:49:39] <Kutten> !paste
911: [21:49:40] <ss-helper> 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.
912: [21:49:45] <Ryan-Toast> lol
913: [21:50:01] <Kutten> Ryan-Toast: kk
914: [21:50:20] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
915: [21:50:35] <Ryan-Toast> Kutten: Did you set a $has_many = array(‘MyFile’ => ‘Image’)’ ?
916: [21:50:45] <Stomach> Ryan-Toast - its right there at the top
917: [21:50:52] <Stomach> Kutten - is it a dataobject or a page
918: [21:50:55] <Ryan-Toast> Stomach: Ah, cool :)
919: [21:51:04] <Stomach> if its a dataobject you will need an extension to link back to it for file
920: [21:51:09] * muskie9 has joined #silverstripe
921: [21:51:26] <Kutten> http://pastebin.com/KYYhgECp
922: [21:51:31] <Kutten> Ryan-Toast: It's a page
923: [21:51:35] <Stomach> MichalKleiner why are you forking me!
924: [21:51:41] * UncleCheese has joined #silverstripe
925: [21:51:43] <Stomach> :D
926: [21:51:54] <MichalKleiner> for fork sakes :-D
927: [21:52:04] <MichalKleiner> backing up the internets :-D
928: [21:52:10] <Stomach> lots of those aren't even my modules lol
929: [21:52:14] <Stomach> like all of them :D
930: [21:52:18] <MichalKleiner> I know..
931: [21:53:02] <Ryan-Toast> Kutten: Did you dev/build?
932: [21:53:11] <Kutten> Ryan-Toast: Yes
933: [21:53:53] <Kutten> Stomach: It's a page
934: [21:53:59] * micmania1 has joined #silverstripe
935: [21:55:10] <Stomach> Kutten that looks like it should work then
936: [21:55:42] <DanaeNZ> Kutten: try ->setAllowedMaxFileNumber(10)
937: [21:55:50] <DanaeNZ> should do the same thing
938: [21:56:10] <Kutten> Stomach: Hmm, ok. DanaeNZ I'll give that a try
939: [21:59:12] <Kutten> DanaeNZ: Didn't work as soon as I hit save and publish every file but the first disappears. Is there any way I can trouble shoot this?
940: [21:59:41] <Stomach> Kutten - is your assets directory writable?
941: [22:00:23] <Kutten> Stomach: yes, and all of the files that I upload are just sitting in there, but the CMS forgets about them!?
942: [22:00:35] <Stomach> what version of SS are you on
943: [22:01:01] <Kutten> Stomach: 3
944: [22:01:06] <Stomach> 3. what
945: [22:01:14] <Stomach> 3.0 ? 3.1.1? 3.1.13 ?
946: [22:01:17] <Kutten> Stomach: not sure
947: [22:01:35] <Stomach> you should make sure you have the latest version (3.1.13)
948: [22:01:47] <Stomach> http://www.silverstripe.org/software/download/
949: [22:02:24] * antmas should update to .13
950: [22:02:58] <Stomach> 3.2 beta1 soon
951: [22:02:59] <Stomach> :D :D
952: [22:03:14] <Kutten> Stomach: antmas: I istalled maybe a month ago, has there been a release since then?
953: [22:03:22] <Kutten> installed*
954: [22:04:05] <wmk> Kutten, composer update silverstripe/*
955: [22:04:19] <wmk> 3.1.13 is the current release
956: [22:05:29] * adrexia_ has joined #silverstripe
957: [22:06:04] <antmas> yeah my last install was .12, just haven't been keeping up since then
958: [22:06:14] <antmas> only 1 client site on the go at the moment
959: [22:07:51] * adrexia quit (Ping timeout: 272 seconds)
960: [22:08:19] <Kutten> wmk: cheers, did work though.
961: [22:08:55] <Kutten> I mean updating worked but didn't solve the issue.
962: [22:09:39] <DanaeNZ> Kutten: I would flush the admin as well, not sure if that would help
963: [22:09:58] <Kutten> ?flush=all ?
964: [22:10:03] <DanaeNZ> Does partial cahing only work in Live mode, or do I need to do some debugging?
965: [22:10:12] <DanaeNZ> Kutten: yeah just need ?flush
966: [22:10:23] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
967: [22:10:23] <DanaeNZ> as long as the var is there
968: [22:10:27] <DanaeNZ> param
969: [22:10:28] <DanaeNZ> thing
970: [22:10:34] * Stomach quit (Quit: zzz)
971: [22:10:42] * wmk quit (Ping timeout: 246 seconds)
972: [22:11:27] <Kutten> Thanks for the help, I'll have another crack later
973: [22:12:17] * adrexia_ quit (Ping timeout: 272 seconds)
974: [22:12:56] * Stomach has joined #silverstripe
975: [22:13:11] <DanaeNZ> ah never mind, it automatically detects if you update the template, and will refresh the block
976: [22:13:11] <Stomach> DanaeNZ - use cacheinclude instead
977: [22:13:14] <Stomach> much better
978: [22:13:23] <DanaeNZ> cacheinclude? :O
979: [22:13:40] <Stomach> https://github.com/heyday/silverstripe-cacheinclude
980: [22:13:48] <Stomach> zero database calls
981: [22:14:16] <antmas> Stomach: you still LG?
982: [22:14:17] <antmas> at*
983: [22:14:23] <Stomach> antmas yep
984: [22:14:33] <antmas> Stomach: some reason I though you migrated
985: [22:14:40] <Stomach> to?
986: [22:14:45] <antmas> idek
987: [22:14:50] <antmas> just random incorrect thought
988: [22:14:54] <Stomach> haha
989: [22:14:57] * Ryan-Toast quit (Quit: Ryan-Toast)
990: [22:14:59] * antmas goes to get coffee
991: [22:15:04] <Stomach> I've been here longer than I was at heyday now
992: [22:15:18] <antmas> ah that's it
993: [22:15:27] <antmas> thought you might have gone to heyday, but you WERE at heyday
994: [22:15:36] <Stomach> yeah :)
995: [22:16:00] <antmas> man, all I want to do is have this font icon inside a textbox
996: [22:16:05] <antmas> Y U NO WORK
997: [22:16:24] <Stomach> SVG
998: [22:16:41] <antmas> hmmm
999: [22:16:46] * Azure quit (Excess Flood)
1000: [22:16:50] <DanaeNZ> oh man, when I finally get around to making my website, I want to use SVG icons
1001: [22:16:58] <DanaeNZ> and sweet little animations
1002: [22:16:59] <DanaeNZ> and canvas
1003: [22:17:08] <DanaeNZ> and all that shit I was too busy doing backend to learn
1004: [22:17:18] <antmas> I'm just using font awesome for mine, although mine is just a cv site :P
1005: [22:17:25] <antmas> which is 1/2 finished
1006: [22:17:27] * Azure has joined #silverstripe
1007: [22:17:28] <antmas> :/
1008: [22:17:29] <DanaeNZ> font awesome is so damn handy
1009: [22:17:37] <Stomach> SVG all the things
1010: [22:17:38] <Stomach> https://www.junkfreejune.org.nz/
1011: [22:17:40] <Hailwood> Is there a recommended knowledgebase package for silverstripe 3.1?
1012: [22:17:55] <DanaeNZ> Stomach: Is that a LG site? :D
1013: [22:18:02] <Stomach> DanaeNZ yep
1014: [22:18:07] <DanaeNZ> Stomach: niiice
1015: [22:18:11] <antmas> Stomach: nice
1016: [22:18:29] <DanaeNZ> Stomach: one of my mates worked at LG for a while
1017: [22:18:31] <DanaeNZ> Joe Swann
1018: [22:18:36] <antmas> Drink Free June is what I tried to do but failed as I drank on June 1 :D
1019: [22:18:38] <Stomach> he was before my time
1020: [22:18:39] <DanaeNZ> he beat me to a frontend role
1021: [22:18:43] <DanaeNZ> no wai!
1022: [22:18:50] <Stomach> yeah
1023: [22:18:52] <Stomach> wai
1024: [22:18:56] <DanaeNZ> :O
1025: [22:18:59] <DanaeNZ> no wai
1026: [22:19:07] <antmas> Stomach: has this weird small world thing going on
1027: [22:19:17] <antmas> it even affected me lol
1028: [22:19:24] <Stomach> shutup Liss's cousin
1029: [22:19:29] <antmas> XD
1030: [22:20:00] <Stomach> I just know a lot of people
1031: [22:20:20] <Stomach> thats what happens when you spend 18-25 drinking
1032: [22:21:02] <DanaeNZ> Stomach: I’m guessing SVG won’t be helpful for SEO tho? Just in terms of that main logo. TBH this is the first thing that comes up in a google search so doesn’t really matter haha
1033: [22:21:19] <Stomach> why wouldnt it be useful for SEO?
1034: [22:21:33] <Stomach> <span class="sr-only">LOL TITLE HIDDEN FROM YOU</span>
1035: [22:21:38] <DanaeNZ> oh snap :D
1036: [22:21:41] * Ryan-Toast has joined #silverstripe
1037: [22:22:00] * Kutten quit (Remote host closed the connection)
1038: [22:22:03] <antmas> what do people use for super quick layout mockups here?
1039: [22:22:11] <antmas> I've only tried balsamiq
1040: [22:22:36] <DanaeNZ> I didn’t reeeaaallly like balsamiq
1041: [22:22:52] <Stomach> I use pen + paper
1042: [22:23:23] <antmas> mm I'm using paper now
1043: [22:23:31] <antmas> something about balsamiq I didn't like
1044: [22:23:32] <Stomach> just paper?
1045: [22:23:36] <Stomach> origami ?
1046: [22:23:37] <antmas> Just paper
1047: [22:23:39] <antmas> yes
1048: [22:23:40] <Stomach> fancy
1049: [22:23:47] <Stomach> can you make me a lion
1050: [22:23:53] <antmas> I have become one with literal material design
1051: [22:23:57] <antmas> :D
1052: [22:24:07] * antmas uses crayons
1053: [22:24:41] <DanaeNZ> I can’t really draw straight lines
1054: [22:24:49] <DanaeNZ> let alone perpindicular lines
1055: [22:25:01] <Stomach> nor spell it
1056: [22:25:04] <Stomach> XD
1057: [22:25:05] <DanaeNZ> hahaha
1058: [22:25:06] <DanaeNZ> burn
1059: [22:25:14] <antmas> I'm using an iphone box as a ruler
1060: [22:25:26] <DanaeNZ> I have one of those quilting rulers
1061: [22:25:34] <DanaeNZ> they are see through and have a grid on them
1062: [22:25:39] <antmas> quilting ruler
1063: [22:25:42] <antmas> sounds so viking
1064: [22:25:45] <Stomach> I use french curves
1065: [22:25:47] <DanaeNZ> does it? XD
1066: [22:25:48] <Stomach> they are so cool
1067: [22:25:51] <DanaeNZ> agreed
1068: [22:25:54] <Stomach> can double as pretend weapons
1069: [22:25:59] <DanaeNZ> everyone needs french cuuurrrrves
1070: [22:26:08] <DanaeNZ> granted I use none of this for design of any sorty
1071: [22:26:13] <DanaeNZ> sort*
1072: [22:26:18] <antmas> there is a whole desk of mapping rulers and tools near my desk, but all the GIS people hiss at me when I approach it
1073: [22:26:18] <Stomach> yeah I just have them
1074: [22:26:21] <DanaeNZ> just prop and armour building, ha
1075: [22:26:44] <antmas> DanaeNZ: you do the cosplays?
1076: [22:26:53] <DanaeNZ> full on otaku cosplay
1077: [22:27:01] <antmas> cray
1078: [22:27:09] * antmas regrets saying cray
1079: [22:27:11] <DanaeNZ> cosplay otaku*
1080: [22:27:20] * DanaeNZ regrets using otaku in casual chat
1081: [22:27:31] <antmas> lol
1082: [22:27:41] <Stomach> antmas - buy them a levelling bubble and trade it
1083: [22:28:22] <antmas> Stomach: that sounds like a video game item
1084: [22:28:34] <Stomach> its just a spirit bubble on some metal
1085: [22:28:37] <Stomach> surveyors use them
1086: [22:28:45] <DanaeNZ> still sounds like a video game item
1087: [22:28:57] <antmas> hahah
1088: [22:29:07] <Stomach> you put the levelling bubble on the pogo before you take a shot
1089: [22:29:08] <antmas> how do you do triangles in css?
1090: [22:29:13] <antmas> I need to do a triangle
1091: [22:29:19] <DanaeNZ> omg yes triangle
1092: [22:29:20] <Stomach> triangle: true;
1093: [22:29:24] <DanaeNZ> you do some weird border stuff
1094: [22:29:29] <DanaeNZ> and then a triangle happens
1095: [22:29:45] <Stomach> https://css-tricks.com/snippets/css/css-triangle/
1096: [22:29:48] * antmas googles
1097: [22:29:53] * antmas stops googling
1098: [22:30:00] <DanaeNZ> Stomach is your Google
1099: [22:31:23] <antmas> hmmm that could work
1100: [22:32:11] <DanaeNZ> Stomach: how do you go about making your SVGs? Export from Illustrator?
1101: [22:32:29] <Stomach> DanaeNZ - yeah
1102: [22:32:54] <Stomach> we also run gulp-svgmin on them when pushing into production
1103: [22:33:06] <antmas> I want to end up doing doing something like this http://i.imgur.com/kafM4Gn.png
1104: [22:33:54] <Stomach> <th colspan="2" class="stupid-triangle">&nbsp;</th>
1105: [22:34:42] <antmas> so a header column above the header colums?
1106: [22:34:51] <antmas> hmm
1107: [22:35:26] <Stomach> isn't your search a header column too
1108: [22:35:52] <antmas> no, looks like it there but it won't be
1109: [22:36:10] * adrexia has joined #silverstripe
1110: [22:37:04] <antmas> hmmm yeah I'll just do a second header row
1111: [22:40:02] <Stomach> boom
1112: [22:40:04] <Stomach> headshot
1113: [22:40:16] <Stomach> I love it when you find old music you forgot about
1114: [22:41:32] <Ryan-Toast> DanaeNZ: Just make sure to delete all the illustrator shit that it adds to SVGs
1115: [22:41:42] <antmas> Stomach: :O did jut that this morning
1116: [22:41:54] <Stomach> Ryan-Toast - just use svgmin :P
1117: [22:42:02] <Ryan-Toast> Stomach: or that :)
1118: [22:42:05] <antmas> also found this yesterday - is awesome http://www.djbooth.net/index/albums/review/write-brothers-take-flight
1119: [22:42:14] <Stomach> antmas https://www.youtube.com/watch?v=OYtY694ntdE
1120: [22:42:15] <DanaeNZ> oh man I really want to make some SVG icons now
1121: [22:43:47] * chocolatemoose has joined #silverstripe
1122: [22:48:16] <Ryan-Toast> Stomach: https://play.spotify.com/user/12122444883/playlist/1NtHsgFmLUlHCSbdLSJarl
1123: [22:48:32] <Stomach> Ryan-Toast oh god
1124: [22:48:51] <chocolatemoose> classic choice with Coolio
1125: [22:48:56] <antmas> lol
1126: [22:49:35] <Ryan-Toast> That’s my drunken house-party mix.
1127: [22:50:03] <Ryan-Toast> YOU KNOW IM’M HURTING FOR YOU. I SEEMS LIKE NOW IT’S OVER. NOTING I CAAAANNNN DOIOOOOOOOO
1128: [22:56:52] <antmas> oh god someone bought new milo :/
1129: [22:57:20] <Ryan-Toast> did someone say there was a Save and new record in betterbuttons?
1130: [22:57:38] <Ryan-Toast> ah: BetterButton_SaveAndAdd
1131: [23:05:03] * adrexia quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
1132: [23:05:46] * Stomach quit (Quit: zzz)
1133: [23:08:38] * Stomach has joined #silverstripe
1134: [23:08:46] * WandL has joined #silverstripe
1135: [23:09:40] * antmas quit (Ping timeout: 246 seconds)
1136: [23:14:15] * Colin[pi] has joined #silverstripe
1137: [23:16:58] <nikob> Anyone here able to help with setting up PHPUnit for SS? Following this: http://docs.silverstripe.org/en/3.1/developer_guides/testing/ but having issues
1138: [23:17:45] <DanaeNZ> nikob: what kinda issues?
1139: [23:18:11] <nikob> I installed with composer
1140: [23:18:33] <nikob> when I run phpunit, i just get a bunch of failed opening required's
1141: [23:18:57] <nikob> many are for modules I don't even have installed (fresh install of ss)
1142: [23:19:12] <DanaeNZ> What’s your phpunit.xml look like?
1143: [23:19:14] <DanaeNZ> !paste
1144: [23:19:14] <ss-helper> 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.
1145: [23:20:00] <DanaeNZ> maybe you should just browse to yoursite/dev/tests and try running the test in there first
1146: [23:20:08] <nikob> https://gist.github.com/anonymous/6edea3ab4ee1569270ef
1147: [23:21:08] <DanaeNZ> k so relative to your phpunit.xml, is everything else in a /src/ folder?
1148: [23:21:13] <nikob> yup
1149: [23:21:34] <DanaeNZ> yo someone else, is that legit? antmas?
1150: [23:22:08] <DanaeNZ> normally it just sits in your silverstripe root
1151: [23:22:21] <nikob> ok I'll try from there
1152: [23:22:30] * spronk has joined #silverstripe
1153: [23:22:38] <DanaeNZ> make sure to update the paths too
1154: [23:23:05] <nikob> still no dice
1155: [23:23:55] <DanaeNZ> remove the cms and framework lines from your <testsuite> block?
1156: [23:24:24] <nikob> no change
1157: [23:24:36] <DanaeNZ> what are the errors you’re getting anyways?
1158: [23:24:53] <nikob> Fatal error: require_once(): Failed opening required '/home/nick/auigf/src/GridFieldBulkEditingTools/_config.php'
1159: [23:25:33] <nikob> weird this is I don't have gridfieldbulkedit installed
1160: [23:25:44] <nikob> is there some way it could be caching it?
1161: [23:25:51] <DanaeNZ> ok sounds like it’s trying to run tests on a module whose tests require GridFieldBulkEditing
1162: [23:25:59] <DanaeNZ> or something of that sort
1163: [23:26:04] <DanaeNZ> dev build flush?
1164: [23:26:08] <nikob> hmm maybe I should install it
1165: [23:26:11] <nikob> hehe
1166: [23:26:15] <DanaeNZ> naahhh
1167: [23:26:39] * Stomach quit (Quit: zzz)
1168: [23:26:44] <DanaeNZ> I would probably run composer install from your silverstripe root
1169: [23:26:58] <DanaeNZ> that should ensure you have all the modules you need
1170: [23:27:05] <nikob> "Nothing to install or update"
1171: [23:27:34] <DanaeNZ> does it show you the line number where that require_once is being called from?
1172: [23:27:54] <DanaeNZ> I have a feeling it’s to do with your overall file structure
1173: [23:27:58] <nikob> ok
1174: [23:28:04] <DanaeNZ> silverstripe should be the root
1175: [23:28:11] <DanaeNZ> as it is acting as the site
1176: [23:28:29] <DanaeNZ> I dunno for sure though
1177: [23:28:31] * DanaeNZ shrugs
1178: [23:28:45] * Stomach has joined #silverstripe
1179: [23:29:43] <nikob> ok thanks
1180: [23:29:44] <chocolatemoose> any idea why something like $mdo = MyDataObject::create(); $mdo->Foo = 'Bar'; $mdo->validate() is returning "Call to a member function validate() on a non-object" ?
1181: [23:32:46] <DanaeNZ> chocolatemoose: anything weird in your dataobject constructor or something?
1182: [23:33:05] <chocolatemoose> haven't overridden the constructor method
1183: [23:33:21] <DanaeNZ> oh, it’s a protected method
1184: [23:33:54] <Colin[pi]> DanaeNZ: if it's protected it should return a different error no?
1185: [23:34:09] <chocolatemoose> http://docs.silverstripe.org/en/3.1/developer_guides/model/validation/ says that I should be able to
1186: [23:34:10] <DanaeNZ> I would think so yeah
1187: [23:34:38] <DanaeNZ> what does your custom validate method look like?
1188: [23:34:44] <chocolatemoose> debugging shows that the object is created properly so I have no idea
1189: [23:36:55] <chocolatemoose> http://pastebin.com/Nk8mLbTh
1190: [23:38:11] * DanaeNZ shrugs
1191: [23:38:13] <DanaeNZ> looks fine to me
1192: [23:38:28] <DanaeNZ> what about the actual call?
1193: [23:38:43] <Colin[pi]> $this->Email->validate() ?
1194: [23:38:55] <DanaeNZ> what is Email?
1195: [23:38:58] <Colin[pi]> that doesn't look right
1196: [23:39:15] <Colin[pi]> $this->dbObject('Email')->validate() ?
1197: [23:39:18] <DanaeNZ> $this->dbObject(''E)
1198: [23:39:19] <DanaeNZ> lol
1199: [23:39:21] <Colin[pi]> ^
1200: [23:39:22] <DanaeNZ> beat me to it
1201: [23:39:28] <chocolatemoose> http://pastebin.com/0fFikuGB
1202: [23:39:40] <DanaeNZ> nah Colin[pi] has it
1203: [23:39:58] * travis-ci has joined #silverstripe
1204: [23:39:59] <travis-ci> silverstripe/silverstripe-framework#5077 (3.1 - a4aa064 : Damian Mooyman): The build has errored.
1205: [23:39:59] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/4d855401bcb9...a4aa0646f8b6
1206: [23:39:59] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/67283199
1207: [23:39:59] * travis-ci has left #silverstripe
1208: [23:40:03] <nikob> DanaeNZ, I think I found the problem!
1209: [23:40:11] <DanaeNZ> :O
1210: [23:40:15] <DanaeNZ> what was it?
1211: [23:40:21] <nikob> It's looking for a config saved in cache
1212: [23:40:45] <nikob> so just trying to dig up *where* that cache is now
1213: [23:40:53] <DanaeNZ> nikob: dev build flush should fix that
1214: [23:41:14] <nikob> I get the same error when I try to do that though :/
1215: [23:41:25] <DanaeNZ> haaa
1216: [23:41:34] <DanaeNZ> ok I thought you only got it when you were testing
1217: [23:41:44] <nikob> yeah I'm pretty awesome hahaha
1218: [23:42:00] <Colin[pi]> disaster: my muffin is COLD
1219: [23:42:00] <DanaeNZ> so do you know what line number that error is happening on?
1220: [23:42:01] <Colin[pi]> COLD
1221: [23:42:09] <Colin[pi]> thanks client phone call
1222: [23:42:21] <DanaeNZ> now I want a muffin :\
1223: [23:42:23] <nikob> yup it's happening on 141 of configmanifest
1224: [23:43:29] <DanaeNZ> so you are browsing to /dev/build?flush
1225: [23:43:32] <DanaeNZ> right?
1226: [23:43:43] <nikob> not browsing all from shell
1227: [23:43:55] <DanaeNZ> ok
1228: [23:44:02] <nikob> don't even have httpd running
1229: [23:44:24] <DanaeNZ> right
1230: [23:44:28] <nikob> i'm trying to configure this for use via jenkins
1231: [23:44:58] <DanaeNZ> so can you successfully run: sake dev/build flush=all
1232: [23:45:10] <DanaeNZ> or does that sake wrapper need httpd?
1233: [23:45:28] <nikob> ill try
1234: [23:46:39] <nikob> YAY
1235: [23:46:42] <nikob> thanks dude!
1236: [23:46:59] <DanaeNZ> haha no way that worked?
1237: [23:47:01] <DanaeNZ> i mean
1238: [23:47:03] <nikob> now I'm getting a db connect error
1239: [23:47:04] <nikob> which is good
1240: [23:47:05] <DanaeNZ> *cough*
1241: [23:47:11] <nikob> because I haven't set up sqlite yet
1242: [23:47:25] <DanaeNZ> cool, if you’re using sqlite you’ll need some extra configuration
1243: [23:47:30] <nikob> yup
1244: [23:47:52] <DanaeNZ> or even just this handy module: https://github.com/silverstripe-labs/silverstripe-sqlite3
1245: [23:48:05] <nikob> yup that's what I'm using
1246: [23:48:10] <DanaeNZ> haha good to go then
1247: [23:48:18] <nikob> hopefully :p
1248: [23:48:33] <DanaeNZ> good-o _b
1249: [23:48:42] <nikob> I used a mysql2sqlite script i found on github, so anybodies guess if it'll work :p
1250: [23:49:51] * Stomach quit (Quit: zzz)
1251: [23:54:52] <DanaeNZ> haha
1252: [23:55:00] <DanaeNZ> searched for a silverstripe svg module
1253: [23:55:07] <DanaeNZ> of course Stomach has made one

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