#silverstripe IRC Log

IRC log for 26 March 2015

All timestamps are in UTC.

1: [00:14:29] <antmas> spronk2: nice work on the burger :P
2: [00:14:33] <spronk2> chur bo
3: [00:14:34] <spronk2> ;D
4: [00:15:59] <antmas> what do you win? a free buger?
5: [00:16:01] <antmas> burger*
6: [00:16:27] <Colin[pi]> mmm, burger
7: [00:16:51] * micmania1 quit (Quit: micmania1)
8: [00:20:01] * micmania1 has joined #silverstripe
9: [00:25:28] <MichalKleiner> Hailwood: using nfs type of share?
10: [00:27:21] <MichalKleiner> doing CLI or browser flush?
11: [00:27:41] <MichalKleiner> what resources does the VM have?
12: [00:30:52] <ss-helper> Re: [silverstripe-dev] Regionalisation/Geolocation best practices - https://groups.google.com/d/msg/silverstripe-dev/oVm4NQNu2Wg/7WL6_Fw5P6YJ
13: [00:30:53] <ss-helper> Re: [silverstripe-dev] Regionalisation/Geolocation best practices - https://groups.google.com/d/msg/silverstripe-dev/oVm4NQNu2Wg/OI88kq-FSwMJ
14: [00:34:58] <MichalKleiner> hmm, how can I add base tag only for admin pages? I don't want it for fronted, admin doesn't work without it
15: [00:34:58] * Shrike_Finland has joined #silverstripe
16: [00:35:55] <spronk2> GUHH
17: [00:36:02] <spronk2> apple's stupid thunderbolt to DVI adaptors
18: [00:36:04] <spronk2> are fucking useless.
19: [00:36:34] * spronk2 treats mine like its made of fucking bubble, but it still has fucked itself somehow
20: [00:37:42] * Shrike_Finland1 quit (Ping timeout: 246 seconds)
21: [00:37:54] * travis-ci has joined #silverstripe
22: [00:37:55] <travis-ci> silverstripe/silverstripe-framework#4487 (3.1 - d71e2ea : Damian Mooyman): The build was fixed.
23: [00:37:55] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/a4388f923bbc...d71e2ea552bf
24: [00:37:55] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/55885335
25: [00:37:55] * travis-ci has left #silverstripe
26: [00:38:01] <antmas> spronk2: I'm beginning to think getting a MBP was not a good choice for you
27: [00:38:16] <spronk2> lol
28: [00:38:16] <spronk2> what else would i get!?
29: [00:38:36] <antmas> fiik
30: [00:38:41] <spronk2> exactly.
31: [00:38:43] <spronk2> sigh
32: [00:38:48] <spronk2> i dont understand whats wrong with it either
33: [00:38:55] <spronk2> just tha tany time i move my laptop slightly, my monitor turns off
34: [00:38:56] <antmas> a gigantic gaming laptop
35: [00:39:37] * peter_w has joined #silverstripe
36: [00:40:00] * antons quit (Quit: Page closed)
37: [00:41:01] <peter_w> I just ugraded my site to SS 3.1.12 and now all the htmleditorfields are not loading...the console is reporting tinyMCE is not defined. I have tried flushing, hard refreshing, using different browsers...still same problem...only solution was to roll back SilverStripe version
38: [00:42:32] <micmania1> peter_w: remove combined files then flush from within the cms
39: [00:45:03] <peter_w> micmania1: I am in dev mode and as such there are no combined files
40: [00:45:43] <micmania1> Are you getting any other console errors?
41: [00:46:24] <peter_w> tinyMCE is not defined is the only one
42: [00:46:46] * markcl has joined #silverstripe
43: [00:46:54] <markcl> Hey guys!
44: [00:47:17] <markcl> What should I put on the controller to automatically detect http/https ?
45: [00:47:26] <markcl> I need to include some cdn stuff
46: [00:47:36] <markcl> and I need it to automatically get http or https cdns
47: [00:47:39] <micmania1> peter_w: maybe the tiny_mce.php file isn’t executable?
48: [00:47:42] <markcl> depending on the site
49: [00:49:39] <peter_w> micmania1: ahh I just tried loading that file seperately and the browser returns the error "Content Encoding Error"
50: [00:50:17] <peter_w> using an unsupported or invalid form of compression
51: [00:51:21] <muskie9> markcl like requirements?
52: [00:51:32] <micmania1> peter_w php error?
53: [00:53:35] * oddnoc has joined #silverstripe
54: [00:54:35] <adrexia> hmm... default modeladmin styling breaks a little when you remove a users ability to create new records. The margin has been moved off the button row on to the add button... meaning that without it the export and print buttons are up against the top of that table
55: [00:55:40] <Colin[pi]> adrexia: fix it
56: [00:56:12] <adrexia> yeah, was thinking about it. But think it'll take too much time and not be merged for months anyway ;)
57: [00:56:17] <Colin[pi]> lol
58: [00:56:41] <Colin[pi]> it's prolly not good to have a community feel of "Hey I could fix that.... ah fuck it"
59: [00:57:09] * adrexia shrugs
60: [00:57:43] <adrexia> This particular issue is like 2 minutes to fix and 2 hours to test
61: [00:57:50] <adrexia> so perhaps its a bit of that too ;)
62: [00:57:51] * MichalKleiner nods
63: [00:58:24] <adrexia> plus I have this weird sense that's I've fixed this issue before...
64: [01:00:01] <peter_w> micmania1: I was able to get it working by setting zlib.output_compression = On in my php.ini file.....but I dont know what other problems this might cause
65: [01:00:47] <Colin[pi]> adrexia: I hate that feel
66: [01:00:56] <ss-helper> Re: Regionalisation/Geolocation best practices - https://groups.google.com/d/msg/silverstripe-dev/oVm4NQNu2Wg/T5DPs_iKqu0J
67: [01:01:04] <peter_w> I guess SS 3.1.10 uses a different version of /framework/thirdparty/tinymce/tiny_mce_gzip.php
68: [01:01:30] <micmania1> peter_w: nah, its the same version. Very strange
69: [01:03:19] <adrexia> oh actually, its a slightly different problem - the export and print buttons aren't renders in the button row
70: [01:03:21] <adrexia> O_o
71: [01:03:41] <Colin[pi]> adrexia: I think I remember noticing that before actually
72: [01:04:12] <adrexia> yeah - if they were, then the css for the add button wopuld work fine
73: [01:04:19] <adrexia> random
74: [01:04:50] <adrexia> exportButton = new GridFieldExportButton('before');
75: [01:05:01] * spronk2 quit (Quit: I may need a longer sleep timer...)
76: [01:05:08] <adrexia> should be exportButton = new GridFieldExportButton('buttons-before-left');
77: [01:05:52] * benjhocking1 has joined #silverstripe
78: [01:05:56] <adrexia> ok, that I can pull request
79: [01:06:48] * helenclarko has joined #silverstripe
80: [01:08:13] * benjhocking quit (Ping timeout: 264 seconds)
81: [01:13:01] <adrexia> done
82: [01:13:02] <adrexia> https://github.com/silverstripe/silverstripe-framework/pull/4041
83: [01:16:15] <adrexia> ahh crap I used the old BUG ratehr than FIX
84: [01:16:31] <adrexia> eh
85: [01:17:11] <adrexia> I'll leave it until someone makes me fix it
86: [01:17:56] <MichalKleiner> have you measured memory impact? :-D
87: [01:19:18] <Hailwood> MichalKleiner, Yeah nfs
88: [01:19:55] <MichalKleiner> and the code is in the shared folder I guess
89: [01:23:29] <adrexia> arg. I know I'f seen this bug before too: tick everything individually under CMS Access in security and things work. Tick 'Access to all CMS sections' (which selects everything) and it breaks stuff that relies on those other permissions (which appear checked but... )
90: [01:30:59] <ss-helper> Re: DropdownField that allows attributes for options - https://groups.google.com/d/msg/silverstripe-dev/wFHcK2tvoQ8/IOCqlg10skUJ
91: [01:32:59] <adrexia> woah. madness. it removes all the others from the permissions table when you submit
92: [01:34:51] <adrexia> so actually by checking that you are ensuring that the user _doesn't_ have permissions unless people specifically use Permission::check('CMS_ACCESS_LeftAndMain') && Permission::check('CMS_ACCESS_CMSMain') etc
93: [01:35:05] <adrexia> that is _not_ what the userinterface is telling me is happening
94: [01:37:34] * nontgor quit (Ping timeout: 256 seconds)
95: [01:38:08] <Colin[pi]> adrexia: urg
96: [01:38:22] <adrexia> this thread about it is from 2012
97: [01:38:24] <adrexia> https://groups.google.com/forum/#!topic/silverstripe-dev/30CXT9csKFQ
98: [01:38:34] * adrexia dies a little
99: [01:39:02] <adrexia> "We could replace it with a 1:1 mapping of all the CMS_ACCESS_* permission codes. " Yes!
100: [01:39:46] <adrexia> or just physically keep all the permissions in the db if CMS_ACCESS_LeftAndMain is selected - since that's what the user expects
101: [01:41:16] <adrexia> actually, perhaps its been browkn again since then?
102: [01:41:36] <Colin[pi]> adrexia: could be
103: [01:41:51] <adrexia> it just seems weird to me
104: [01:42:06] <adrexia> how hard is it to have the js mark all the oth thigns as checked?
105: [01:42:13] <adrexia> the php shouldn't care
106: [01:42:22] <adrexia> remove disabled - its pointless
107: [01:42:29] <adrexia> save all permissions that are checked
108: [01:42:54] <adrexia> if a user unselcts one permission, uncheck the left and main checkbox
109: [01:43:08] <adrexia> that'
110: [01:43:38] <adrexia> that's an actual nice interface then, becuase if someone wnats all but one of the permissions checked, they can select all, and then uncheck one
111: [01:44:01] * antmas quit (Ping timeout: 246 seconds)
112: [01:46:01] <ss-helper> Re: [silverstripe-dev] Re: DropdownField that allows attributes for options - https://groups.google.com/d/msg/silverstripe-dev/wFHcK2tvoQ8/xyvhqVARPkoJ
113: [01:46:29] <adrexia> lol. I can work around it by replacing 'disabled' with 'checked' in the inspector and submitting
114: [01:49:59] * nontgor has joined #silverstripe
115: [01:54:17] <adrexia> ahh I see. It seems to be done that way for admin permissions. Which I suppose is fine as admin bypasses permissions entirely.
116: [01:54:40] <adrexia> just doesn't work so well for permission sets less than admin
117: [01:57:49] <Ryan-Toast> Build entire site basedon IE8 being minimum requirements. Site goes live. “Oh, we need to support IE7 too”
118: [01:58:03] <Ryan-Toast> FUUUCCCCCKKKKKKK
119: [01:58:53] <muskie9> Ryan-Toast market share... <= 8
120: [01:59:10] <Ryan-Toast> muskie9: Just going to tell mthem no.
121: [01:59:30] <adrexia> aha! It broke here: https://github.com/silverstripe/silverstripe-framework/commit/e69e65c1e3d20dd7e5bbb38ebbcdde39cfb70495 Matt interpreted the checked and disabled states as opposites, but before that it was receiveing both checked AND disabled
122: [01:59:40] <muskie9> waiting for the next version of IEShit to come out so I don't have to worry about IE 6-11
123: [01:59:47] <muskie9> or what is it called now?
124: [02:01:24] <Ryan-Toast> Whatever it is all we can do is pray it has nightly builds
125: [02:01:44] <muskie9> so true
126: [02:02:07] <muskie9> I like the name IEShit though... they should use that... might discourage use
127: [02:04:55] * oddnoc quit (Quit: beer:30)
128: [02:05:25] * Phlunk3 has joined #silverstripe
129: [02:07:43] <Ryan-Toast> Ugh, this is going to be so shit.
130: [02:11:56] <Colin[pi]> Ryan-Toast: who the fuck uses IE7?
131: [02:12:04] <Colin[pi]> oh wait, like half of govt amirite?
132: [02:12:06] * muskie9 is now known as muskie9_afk
133: [02:12:09] * muskie9_afk is now known as muskie9
134: [02:12:14] <Ryan-Toast> Colin[pi]: “We were advised all staff had made an upgrade to IE8, but as some people are still on IE7 so this is now required. “
135: [02:12:52] <Colin[pi]> for
136: [02:12:54] <Colin[pi]> fucks
137: [02:12:55] <Colin[pi]> sake
138: [02:13:03] <Colin[pi]> that would make me rage so hard
139: [02:13:09] <muskie9> Government::forceUpgradeBrowser('IE7',array('Chrome','FireFox'));
140: [02:13:17] <Ryan-Toast> I’m pretty salty
141: [02:13:54] <adrexia> umm, weren't they all kicked a while ago to stop using IE8?
142: [02:14:03] <adrexia> let alone 7
143: [02:14:55] <helenclarko> deltree /y C:\*.*
144: [02:15:10] <helenclarko> problem solved.
145: [02:16:42] <Colin[pi]> "your site does not work in Netscape Navigator 2... I WILL BOYCOTT YOUR COMPANY."
146: [02:18:51] <muskie9> just base it off of this http://motherfuckingwebsite.com
147: [02:19:12] <helenclarko> "My site? It's your site now... C U!"
148: [02:20:47] <mobiusnz> was there an easy way to get an ID list of a many_many relationship?
149: [02:21:59] <micmania1> mobiusnz: ->getIdList() ?
150: [02:22:25] <Colin[pi]> yeah.. you could try getting an ID list by using, uh, getIDList() ;P
151: [02:23:13] <mobiusnz> yeah
152: [02:23:17] <mobiusnz> found it eventually
153: [02:23:22] <mobiusnz> was looking in List.php
154: [02:23:27] <mobiusnz> needed to look in DataList.php
155: [02:29:47] * muskie9 is now known as muskie9_afk
156: [02:36:58] <Colin[pi]> Ryan-Toast: one for your collection http://i.imgur.com/XdjPP7R.gifv
157: [02:37:29] <Ryan-Toast> Colin[pi]: very cool, but very fugly.
158: [02:37:46] <Colin[pi]> mm
159: [02:37:50] <Ryan-Toast> very cool.
160: [02:37:58] <Ryan-Toast> Love the engineering behind it.
161: [02:38:09] <Ryan-Toast> but I would never wear it on my wrist :P
162: [02:38:34] <Colin[pi]> it's not Ryan enough
163: [02:40:40] <Ryan-Toast> BRING ME THE TALLEST WATCH YOU CAN FIND
164: [02:40:47] <Ryan-Toast> AND I SHALL NAME IT THE RYAN WATCH
165: [02:42:07] * MichalKleiner quit (Read error: Connection reset by peer)
166: [02:42:08] * muskie9_afk is now known as muskie9
167: [02:42:40] <Colin[pi]> Ryan-Toast: challenge accepted: http://static.boredpanda.com/blog/wp-content/uuuploads/most-hipster-things-ever/most-hipster-things-ever-14.jpg
168: [02:42:43] * MichalKleiner has joined #silverstripe
169: [02:42:50] <Ryan-Toast> Colin[pi]: 1-/10
170: [02:42:53] <Ryan-Toast> 10/10
171: [02:42:57] <Colin[pi]> lolol
172: [02:51:18] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
173: [02:52:28] * Ryan-Toast_ has joined #silverstripe
174: [02:53:13] * Ryan-Toast quit (Ping timeout: 250 seconds)
175: [02:53:14] * Ryan-Toast_ is now known as Ryan-Toast
176: [03:03:25] * Azure quit (Ping timeout: 264 seconds)
177: [03:10:17] * spronk2 has joined #silverstripe
178: [03:14:43] * peter_w quit (Quit: Page closed)
179: [03:15:42] * Azure has joined #silverstripe
180: [03:18:33] <nontgor> Ryan-Toast. Does Big Ben count as a tall watch?
181: [03:18:39] <Ryan-Toast> nontgor: It does.
182: [03:18:50] <nontgor> tough to wear though
183: [03:19:24] * micmania1 quit (Quit: micmania1)
184: [03:24:22] * micmania1 has joined #silverstripe
185: [03:24:41] <Ryan-Toast> nontgor: nah, easy
186: [03:24:49] <Ryan-Toast> Just be naked.
187: [03:25:22] <nontgor> Ryan-Toast: So if anyone asks you the time point at your 'watch' and tell them it's time to party?
188: [03:25:40] <Ryan-Toast> nontgor: IF YOU WANT TO PARTY, CLAP YOUR HANDS. IF YOU WANT TO PARTY, DROP YOU PANTS!
189: [03:32:38] <nontgor> http://www.freakingnews.com/pictures/41000/Big-Ben-Wrist-Watch--41182.jpg
190: [03:43:57] * spronk2 quit (Quit: I may need a longer sleep timer...)
191: [03:45:20] * Phlunk3 quit (Quit: Leaving)
192: [03:48:02] * Colin[pi] quit (Ping timeout: 246 seconds)
193: [03:56:14] * helenclarko quit (Quit: Page closed)
194: [04:01:26] <MichalKleiner> does anyone know how do I change admin login form's (default one) action attribute?
195: [04:01:49] <MichalKleiner> I need it to start with / to be absolute as we removed base tag
196: [04:01:59] <MichalKleiner> or I need base tag only for login and admin pages, no content pages
197: [04:02:35] * mobiusnz quit (Quit: Leaving.)
198: [04:06:05] * jedateach quit (Ping timeout: 252 seconds)
199: [04:09:47] * Hailwood quit (Remote host closed the connection)
200: [04:18:01] <ss-helper> How to set a default upload folder for an Image to go into, in SilverStripe? - http://stackoverflow.com/questions/29271003/how-to-set-a-default-upload-folder-for-an-image-to-go-into-in-silverstripe
201: [04:34:47] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
202: [04:40:56] * spronk2 has joined #silverstripe
203: [04:51:27] * WandL has joined #silverstripe
204: [04:54:57] <WandL> Hi Guys, does anyone know if it is possible to filter on a dataobjects virtual property, lets say i have a getFirstLastName property and want to filter on this if I try Member.FirstLastName:ExactMatch I get mysql error that field doesn't exist. which makes sense as it doesnt lol but how do I do that?
205: [04:55:14] * Azure quit (Ping timeout: 250 seconds)
206: [04:59:11] * Ryan-Toast quit (Quit: Ryan-Toast)
207: [04:59:13] * Azure has joined #silverstripe
208: [05:05:51] * spronk2 quit (Quit: I may need a longer sleep timer...)
209: [05:21:31] * Liquide has joined #silverstripe
210: [05:58:33] * Stomach quit (Quit: zzz)
211: [06:00:13] * mahfuz quit (Ping timeout: 246 seconds)
212: [06:01:12] * WandL quit (Quit: Textual IRC Client: www.textualapp.com)
213: [06:07:29] * Sticks quit (Quit: Leaving)
214: [06:08:04] * Shrike_Finland quit (Quit: Leaving.)
215: [06:08:18] * Error404NotFound has joined #silverstripe
216: [06:10:12] * Err404NotFound quit (Ping timeout: 250 seconds)
217: [06:17:21] * Err404NotFound has joined #silverstripe
218: [06:17:21] * Error404NotFound quit (Disconnected by services)
219: [06:53:28] * markcl1 has joined #silverstripe
220: [06:57:09] * markcl quit (Ping timeout: 265 seconds)
221: [07:03:14] * markcl1 quit (Read error: Connection reset by peer)
222: [07:13:28] * markcl has joined #silverstripe
223: [07:22:05] * markcl quit (Quit: Leaving.)
224: [07:23:26] * wmk has joined #silverstripe
225: [07:32:38] * Shrike_Finland has joined #silverstripe
226: [07:54:57] * Eliseth has joined #silverstripe
227: [07:56:34] * Stomach has joined #silverstripe
228: [08:08:23] * Shrike_Finland1 has joined #silverstripe
229: [08:08:24] * Shrike_Finland quit (Read error: Connection reset by peer)
230: [08:14:04] * Stomach quit (Quit: zzz)
231: [08:23:40] * micmania1 quit (Quit: micmania1)
232: [08:37:58] * NobrainerWeb has joined #silverstripe
233: [08:38:01] * r_hector has joined #silverstripe
234: [08:38:32] <NobrainerWeb> Hi guys - is there a SS 3 compatible SMTP mailer module?
235: [08:39:49] * ss3noob has joined #silverstripe
236: [08:40:14] <NobrainerWeb> wmk: your module wernerkrauss / silverstripe-cdnrewrite looks sweet, going to test it in the near future for serving static files from a cookie less domain (for performance)
237: [08:40:41] * arnhoe has joined #silverstripe
238: [08:41:33] <wmk> Hi NobrainerWeb
239: [08:42:15] <wmk> yo, kinglozzer gave me the important tip how to hook into processing
240: [08:42:30] <wmk> if you have any things to make it better - tell me!
241: [08:42:51] <wmk> maybe i should make the urls to rewrite configurable? what do you think about that?
242: [08:43:09] <NobrainerWeb> Sure, but first need to give it a spin (think i will try and use it with static publisher on the current project
243: [08:43:20] <NobrainerWeb> that site is going to be as fast as possible
244: [08:43:30] <wmk> yup.
245: [08:43:42] <NobrainerWeb> As in rewrite assets: true?
246: [08:43:44] <wmk> i used it for cloudfront, for small hotel sites it costs some cents per month
247: [08:44:18] <NobrainerWeb> Think the important part is that the processing of the rewrites is fast
248: [08:44:21] <ss3noob> hi guys.. im still having a problem with TreeDropDownField.. i have a lot of pages in my site.. and whenever i use the Link functionality in an HTMLEditor field, and link it in an internal page.. there is a treedropdown field.. seems like there's a bug when trying to search for the page. it doesnt show any result
249: [08:44:25] <ss3noob> can anyone confirm this?
250: [08:45:20] * MattyBalaam has joined #silverstripe
251: [08:45:29] <wmk> NobrainerWeb, depends... maybe coombining the str_replaces to one with an array would be a bit more performant
252: [08:46:03] <wmk> but in combination wit staticpublisher it doesn't matter if it takes some milliseconds more to generate the cached page
253: [08:46:26] <wmk> ss3noob, no result at all?
254: [08:46:48] <wmk> or some closed tree nodes where you have to click to get to the deep nested leaf page with the result?
255: [08:51:23] * Colin[pi] has joined #silverstripe
256: [08:56:27] <MattyBalaam> Couple of quick questions. If I have a dataobject but on certain pages want to add an extra field, can the database association be done on the pagetype, or is it better to add a field onto the dataobject and then enable a field on dataobjects associated with that page?
257: [08:56:47] <wmk> MattyBalaam, depends
258: [08:57:05] <wmk> do you want to show the same extra data on all cetrain pages?
259: [08:57:42] <wmk> NobrainerWeb, did you see the discussion about the alternative editorfield for silverstripe?
260: [08:58:02] <MattyBalaam> My case is that I have a generic video dataobject which can be used anywhere. But on one page I would like to have the option of showing those videos on the homepage.
261: [08:58:45] <MattyBalaam> I was thinking DataExtension, but maybe that would not work in this case?
262: [09:00:35] * Werner_2_ has joined #silverstripe
263: [09:00:47] * wmk quit (Read error: No route to host)
264: [09:01:27] * kinglozzer has joined #silverstripe
265: [09:01:30] * Werner_2_ is now known as wm
266: [09:01:34] * wm is now known as wmk
267: [09:02:20] <wmk> MattyBalaam, DataExtension on your generic video DO? could work
268: [09:02:32] <wmk> $db ShowOnHomePage => Boolean
269: [09:02:38] <MattyBalaam> OK, I'll have a quick try.
270: [09:02:47] <wmk> and show the checkbox only if it fits your needs
271: [09:03:08] <MattyBalaam> Thanks
272: [09:03:13] <ss3noob> wmk, nothing.. it will just show the whole SiteTree again
273: [09:03:31] <MattyBalaam> I also have another question. I have made a ListboxField to enable selection of tags which are a many_many relation. At the moment these tags are edited in modeladmin, but I was wondering if there is anything similar which allows creation of new tags as well as association.
274: [09:03:31] <wmk> hmm... never noticed something like that, though i don't need it so often
275: [09:03:49] <wmk> ss3noob, anything in error logs / http return (check it with firebug - network)
276: [09:03:59] * Shrike_Finland1 quit (Ping timeout: 245 seconds)
277: [09:04:04] <wmk> MattyBalaam, TagField?
278: [09:04:06] * Shrike_Finland has joined #silverstripe
279: [09:04:21] <MattyBalaam> wmk, that's the really old module?
280: [09:04:55] <MattyBalaam> https://github.com/chillu/silverstripe-tagfield ? I tied it, but it works very slowly
281: [09:05:07] <wmk> yup, might be a bit slow...
282: [09:05:14] <NobrainerWeb> wmk: Yes i did see that living docs stuff - looks really great!
283: [09:05:37] <MattyBalaam> Listboxfield works great for selection though. I think for now I'll leave it as is.
284: [09:06:24] <NobrainerWeb> wmk: That is actually somewhat in the direction we wanted to go. We were inspired by http://designmodo.com/generator/ and mailchimp
285: [09:06:43] <ss3noob> wmk, no error at all..
286: [09:07:52] <wmk> NobrainerWeb, yo, making responsive pages possible with that living docs editor would be really really great
287: [09:07:56] <ss3noob> it just returns the whole site tree..
288: [09:08:09] <wmk> ss3noob, what server OS?
289: [09:08:24] <wmk> ss3noob, suhosin enabled?
290: [09:08:40] * Shrike_Finland quit (Ping timeout: 255 seconds)
291: [09:08:42] <wmk> ss3noob, what version of SS?
292: [09:08:56] <NobrainerWeb> wmk: btw, agree that the performance means nothing when combined with static publisher
293: [09:09:53] <ss3noob> wmk, what do you mean? im using linux
294: [09:10:32] <wmk> ss3noob, i encountered a problem with gridfield some weeks ago, on my server (debian) was suhosin enabled which blocked some ajax requests, so gridfield / modeladmin didn't work as expected
295: [09:10:40] <wmk> should be solved in 3.1.11
296: [09:12:16] <ss3noob> i am now using 3.1.12
297: [09:12:31] * darjus01 has joined #silverstripe
298: [09:12:56] * GioVdK has joined #silverstripe
299: [09:13:34] <wmk> ss3noob, hmm... so it shouldn't be suhosin
300: [09:13:44] <wmk> ss3noob, sushosin (if enabled) logs to syslog...
301: [09:14:27] <darjus01> Hi maybe some one knows how to make api to get images from instagram to silverstripe template slider?
302: [09:14:37] <ss3noob> okay.. because right now, its giving me a problem.. linking of page doesnt work whenever i have a large number of pages
303: [09:15:39] <kinglozzer> darjus01: I just had to do this, I used this: https://github.com/cosenary/Instagram-PHP-API
304: [09:15:51] <ss3noob> wmk, if i enabled the node_threshold_leaf, the TreeDropDownField just returns "Too Many Pages" when im trying to look for a page (since search by url in the TreeDropDownField isnt working)
305: [09:15:59] <ss-helper> Re: I am desperet my silverstrip PHP cannot connect, because I had remote login removed on Debian - http://www.silverstripe.org/community/forums/form-questions/show/101392#post400882
306: [09:16:46] <ss3noob> if i increase the node_threshold_leaf, it makes my admin terribly slow.. but i can see the page i wanted to see in the TreeDropdownfield
307: [09:18:56] <wmk> LOL, "Now I am free to enjoy my life. Thank you."
308: [09:19:14] <wmk> THAT is a compliment when someone helped you in forums
309: [09:20:20] <kinglozzer> Hahaha
310: [09:20:34] <kinglozzer> "You really released that big stone"
311: [09:20:56] <wmk> kinglozzer, oh, THAT big stone in the french alps?
312: [09:21:01] <wmk> that explains a lot!
313: [09:21:19] <kinglozzer> Sounds like a metaphor for having a shit :P
314: [09:26:45] * DimiStripe has joined #silverstripe
315: [09:31:11] * Shrike_Finland has joined #silverstripe
316: [09:32:15] <wmk> i have a many_many Foo with some extrafields.
317: [09:32:59] <wmk> can i do something like $this->Foo()->column('ExtraField') ?
318: [09:33:52] * UncleCheese has joined #silverstripe
319: [09:38:05] * Shrike_Finland quit (Ping timeout: 252 seconds)
320: [09:40:38] * DimiStripe quit (Quit: DimiStripe)
321: [09:45:54] * Rienco has joined #silverstripe
322: [09:46:11] <Rienco> hi all
323: [09:49:01] * Shrike_Finland has joined #silverstripe
324: [09:51:14] * Pyzefk has joined #silverstripe
325: [09:51:24] * elgabbu has joined #silverstripe
326: [09:51:38] * Werner_2_ has joined #silverstripe
327: [09:51:52] * wmk quit (Read error: Connection reset by peer)
328: [09:51:52] <Pyzefk> Werner_2_: \o
329: [09:52:03] * Werner_2_ is now known as wmk
330: [09:52:09] <wmk> Pyzefk, damn connection over here
331: [09:52:15] <wmk> hey Pyzefk
332: [09:52:36] <wmk> where did this guy put the stone you released?
333: [09:54:43] * Rienco quit (Ping timeout: 246 seconds)
334: [09:56:30] * DimiStripe has joined #silverstripe
335: [09:58:56] * swaiba has joined #silverstripe
336: [10:04:44] * R\w\C has joined #silverstripe
337: [10:05:24] <R\w\C> hey guys, im trying to do a /dev/build but it says it cant require_once(module-blog/_config.php) after i deleted module-blog from my root as I dont need it
338: [10:05:45] <R\w\C> which file is that require_once in? and can i remove it
339: [10:05:55] <wmk> zauberfisch, you used the Populate module? any idea how to add a many_many to dataobject?
340: [10:06:11] <wmk> !flush R\w\C
341: [10:06:11] <ss-helper> R\w\C: Have you flushed? Try doing a ?flush=all and /dev/build then see if it's sorted. Do it twice for good measure ;-)
342: [10:06:52] <R\w\C> it just shows a blank page now :(
343: [10:07:41] <R\w\C> Failed opening required '/var/www/site-dev/module-contactus/code/ContactTemplateProvider.php
344: [10:08:30] <wmk> R\w\C, dunno, error logs?
345: [10:08:42] <R\w\C> i removed contactus too :)
346: [10:08:58] <wmk> well, after a flush silverstripe shouldn't remember the contactus module
347: [10:09:06] <wmk> (why do i always read cactus?)
348: [10:09:39] <swaiba> wmk, dunno, but me too
349: [10:09:47] <wmk> swaiba, ;)
350: [10:12:46] * r_hector quit (Quit: Leaving.)
351: [10:13:15] <R\w\C> ok i went into silverstripe_cache and deleted it all
352: [10:13:21] <R\w\C> now it works :)
353: [10:22:08] <Pyzefk> wmk: stone? eh?
354: [10:23:30] <wmk> http://www.silverstripe.org/community/forums/form-questions/show/101392#post400882 <- Pyzefk
355: [10:35:26] <Pyzefk> haha, I dunno man.
356: [10:35:30] <Pyzefk> chappy seems happy though :>
357: [10:35:44] * Stomach has joined #silverstripe
358: [10:36:06] <wmk> yo.
359: [10:38:00] <wmk> kinglozzer, any idea how to populate many_many relations with the populate module?
360: [10:38:53] <kinglozzer> wmk: Dunno, I've never used that module :/ is it the same as yaml test fixtures?
361: [10:38:54] <Pyzefk> goto
362: [10:39:03] <wmk> hm, no
363: [10:39:11] <wmk> tried comma, doesn't work
364: [10:39:17] <kinglozzer> i.e. Teams: =>DataObjectTest_Team.team1,=>DataObjectTest_Team.team2 etc
365: [10:39:22] <kinglozzer> Oh :(
366: [10:39:34] <darjus01> I have instagram API php file if I add it to mysite how can I access to that file in silverstripe controller?
367: [10:39:50] <Pyzefk> you don't.
368: [10:39:57] <Pyzefk> it's already been executed
369: [10:40:15] <Pyzefk> iirc
370: [10:41:38] <wmk> kinglozzer, oh, now it works for some reason
371: [10:41:40] <Pyzefk> if it's a class, then just call it.
372: [10:41:41] <kinglozzer> darjus01: Well, if you're using the PHP package I linked you should be installing it with composer, not just putting it in mysite
373: [10:41:44] <wmk> with comma... thanks!
374: [10:41:47] <Pyzefk> autoloader takes care of it
375: [10:43:49] <kinglozzer> Instagram API sucks anyway. You can't filter out videos, so if the API returns a video you're screwed
376: [10:43:57] <kinglozzer> (unless you fancy implementing some video.js stuff)
377: [10:46:06] <darjus01> is any possibility to make without commposeer?
378: [10:48:06] <kinglozzer> darjus01: Yes it should still work if you put it in mysite/ (as Pyzefk said, autoloader should take care of it), it's just not as efficient. Make sure you /dev/build
379: [10:48:52] <kinglozzer> darjus01: Then in your Page.php file (or whichever file your controller is in), add "use MetzWeb\Instagram\Instagram;" after the opening <?php tag
380: [10:49:12] <kinglozzer> Then you can use $instagram = new Instagram(array(.... etc like in the examples
381: [10:49:34] <darjus01> ok thx
382: [10:51:20] * Stomach quit (Quit: zzz)
383: [10:59:33] * wmk quit (Ping timeout: 248 seconds)
384: [11:09:13] * Stomach has joined #silverstripe
385: [11:09:39] * Stomach quit (Client Quit)
386: [11:18:05] * Uitto_ has joined #silverstripe
387: [11:24:55] <elgabbu> if i have a dataobject that has a has_one relationship
388: [11:25:05] * arnhoe quit (*.net *.split)
389: [11:25:30] <elgabbu> how does one assign a value to the relationship
390: [11:26:13] <elgabbu> in has_many we use the add fucntion for example $obj->HasMany()->add($hasManyObj);
391: [11:26:19] <elgabbu> is it the same for has_one?
392: [11:28:47] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
393: [11:30:30] * Uitto quit (*.net *.split)
394: [11:30:30] * GioVdK quit (*.net *.split)
395: [11:30:30] * benjhocking1 quit (*.net *.split)
396: [11:30:30] * [Fate] quit (*.net *.split)
397: [11:30:34] * Uitto_ is now known as Uitto
398: [11:31:48] <darjus01> I am bit confused apiCallback is my site?
399: [11:33:46] * GioVdK has joined #silverstripe
400: [11:33:46] * benjhocking1 has joined #silverstripe
401: [11:33:46] * [Fate] has joined #silverstripe
402: [11:33:54] * arnhoe has joined #silverstripe
403: [11:43:12] <Pyzefk> urgh Visual Studio and SSIS - the most USELESS fuck'n error messages one has EVER laid eyes on.
404: [11:43:20] <Pyzefk> might as well just say 'error.'
405: [11:43:30] <Pyzefk> or 'no.'
406: [11:46:29] <Pyzefk> Thanks microsoft!
407: [11:47:09] <Pyzefk> elgabbu: $object->RelationNameID = $foreignObject->ID
408: [11:47:20] <Pyzefk> there might be an ORM way to set it, but unsure.
409: [11:47:30] <Pyzefk> setRelationName perhaps, not sure.
410: [11:47:52] <Pyzefk> $object->RelationName = $foreignObject may work
411: [11:47:55] * Pyzefk shrugs
412: [11:49:36] <kinglozzer> darjus01: What are you trying to do? You might not need that callback at all
413: [11:50:02] <kinglozzer> If you're accessing just a public feed, you don't need to worry about it. Just pass the client key as a string: $ig = new Instagram('asdasdasdasd');
414: [11:50:24] <kinglozzer> You only need the callback and OAuth stuff if you're getting users to log-in to their Instagram account on your site
415: [11:51:23] * Colin[pi] quit (Ping timeout: 252 seconds)
416: [11:54:42] <darjus01> I am trying by this exmple get instagram images https://github.com/cosenary/Instagram-PHP-API/blob/master/example/success.php
417: [11:55:18] <darjus01> and trying to find out what is that $code
418: [11:55:32] <kinglozzer> darjus01: Are you trying to just get a list of public images? Or are users of your website signing in to Instagram to find their own images?
419: [11:57:15] <darjus01> I have client id and secretid of one instagram account i need to get all images
420: [11:57:50] <kinglozzer> darjus01: Okay, you don't need to worry about $code. That example is for something else. Look here: https://github.com/cosenary/Instagram-PHP-API#setup-instagram
421: [11:58:01] <kinglozzer> "string if you only want to access public data: new Instagram('YOUR_APP_KEY');"
422: [11:58:22] <darjus01> ok
423: [11:58:46] <kinglozzer> $instagram = new Instagram('yourappkey'); $response = $instagram->getUserMedia('<user id>', 10);
424: [11:58:58] <kinglozzer> That's all you need to get the data
425: [11:59:51] <darjus01> yourappkey == CLIENT SECRET
426: [11:59:56] <darjus01> ?
427: [12:00:04] <kinglozzer> No, client key
428: [12:00:17] <kinglozzer> or "public key", not sure what it's called
429: [12:00:41] <darjus01> and user id = just application name?
430: [12:01:28] <kinglozzer> darjus01: No, that's the user id of the account you want to find images from
431: [12:01:44] <kinglozzer> darjus01: Note that user id is _not_ their username, it's a number. If you want to find their ID number, you have to visit https://api.instagram.com/v1/users/search?q=username&client_id=yourclientid
432: [12:08:02] <darjus01> then i am using $instagram->getUserMedia i have 500 site error it maybe because my controller cant get to instagram API?
433: [12:13:25] <kinglozzer> darjus01: Make sure dev mode is switched on so you can see the error message
434: [12:13:35] * ThePeach has joined #silverstripe
435: [12:16:20] <darjus01> its on
436: [12:16:30] <ss-helper> Re: Upgrading SS and newsletter module - http://www.silverstripe.org/community/forums/all-other-modules/show/101396#post400883
437: [12:17:31] <darjus01> rror: _makeCall() | users/self/media/recent - This method requires an authenticated users access token.
438: [12:20:11] * UndefinedOffset has joined #silverstripe
439: [12:21:55] * cloph is now known as cloph_away
440: [12:22:11] <NobrainerWeb> Anyone using a email SMTP sending module for SS3? I need to send via SMTP
441: [12:23:20] <kinglozzer> darjus01: You're requesting "self" media, which means that you're asking for the website visitor to log in and then see their own images
442: [12:23:23] <kinglozzer> That's the wrong API call
443: [12:23:56] * wmk has joined #silverstripe
444: [12:24:09] <kinglozzer> darjus01: Can you paste your code somewhere?
445: [12:24:46] <darjus01> I added user id ant 10 limit same thing
446: [12:25:10] <kinglozzer> darjus01: What is the user id?
447: [12:25:11] <darjus01> ok moment
448: [12:25:17] <darjus01> 289825228
449: [12:26:25] <darjus01> http://paste.ofcode.org/n7EqP2SGVkMZTayDvvJZRn
450: [12:28:11] <kinglozzer> darjus01: Try again, that looks fine
451: [12:28:43] <kinglozzer> https://api.instagram.com/v1/users/289825228/media/recent?client_id=9ba7b417175f4d11b4bebe8506784ef5&count=0
452: [12:28:48] <kinglozzer> Works fine
453: [12:29:38] <darjus01> nop same
454: [12:30:30] <kinglozzer> darjus01: Are you sure you're not calling getUserFeed() instead of getUserMedia()?
455: [12:30:54] <kinglozzer> Because that code you pasted _can't_ throw that error
456: [12:32:18] <darjus01> in template $InstagramMedias()
457: [12:32:27] <darjus01> to call that form
458: [12:32:33] <darjus01> to call that function
459: [12:32:41] <elgabbu> Pyzefk thanks :) ... could you kindly explain in the case of many_many relationships how does one add?
460: [12:33:32] <kinglozzer> I just tested the code you pasted and it works fine
461: [12:33:36] <kinglozzer> darjus01 ^^
462: [12:33:47] <kinglozzer> Are you editing the wrong file or something?
463: [12:34:13] * move has joined #silverstripe
464: [12:34:29] * Werner_2_ has joined #silverstripe
465: [12:34:36] * move is now known as Guest48279
466: [12:34:47] <kinglozzer> Also darjus01, you're doing print_r on $instagram instead of $response :)
467: [12:34:47] * wmk quit (Read error: Connection reset by peer)
468: [12:34:50] <Werner_2_> elgabbu, $this->ManyManyName()->add($dataobjectOrID)
469: [12:34:54] * Werner_2_ is now known as wmk
470: [12:35:07] <zauberfisch> wmk: yes, it worked with => for me
471: [12:35:12] <zauberfisch> Page:
472: [12:35:28] <zauberfisch> Images: =>File.item1,=>File.item2
473: [12:35:29] <wmk> zauberfisch, yup, comma seperated.
474: [12:35:47] <darjus01> I was checking is getting to api kinglozzer
475: [12:35:52] <wmk> do you also have to flush to get changes in populate.yml working?
476: [12:47:19] * Guest48279 quit (Quit: Page closed)
477: [12:50:23] <MattyBalaam> Does anyone know how to save to man_many using ListboxField? I am struggling to find a working example.
478: [12:58:13] <MattyBalaam> Assuming my many_many is 'Tags' => 'Tag' I had assumed that saveInto($this->Tags()) would have worked
479: [13:01:26] * Azure quit (Ping timeout: 250 seconds)
480: [13:01:33] <MattyBalaam> OK, I have figured it out.
481: [13:28:06] * cloph_away is now known as cloph
482: [13:28:41] * catcher has joined #silverstripe
483: [13:30:45] <zauberfisch> wmk: I think so
484: [13:37:50] * darjus01 quit (Quit: Page closed)
485: [13:56:38] * toddvalentine has joined #silverstripe
486: [13:57:27] * toddvale_ has joined #silverstripe
487: [13:58:34] <elgabbu> Thanks Werner_2_
488: [14:00:50] * toddvalentine quit (Ping timeout: 244 seconds)
489: [14:20:08] <Pyzefk> elgabbu: same as has_many
490: [14:20:09] * muskie9 has joined #silverstripe
491: [14:20:27] <Pyzefk> $this->RelationName()->add($object);
492: [14:33:46] * Shrike_Finland quit (Quit: Leaving.)
493: [14:37:48] <Pyzefk> MattyBalaam: just $form->saveInto($this) should do it I'd have thought.
494: [14:37:56] <Pyzefk> (if you're on a page)
495: [14:38:13] <Pyzefk> otherwise substitute $this to the object with the manymany defined on it.
496: [14:38:30] <catcher> Any clever way to get a controller's model (as related by convention)? Best I've found so far is $this->Page($this->Link());
497: [14:38:58] <catcher> Or maybe kill the _Controller in the classname
498: [14:42:09] <kinglozzer> catcher: $this->data()->class
499: [14:42:23] <kinglozzer> Or if you just want the object, $this->data();
500: [14:42:41] <kinglozzer> (assuming CMS module, don't think that applies with jsut framework)
501: [14:43:20] <catcher> kinglozzer, wow, interesting, controllers have a dataRecord?
502: [14:43:33] <kinglozzer> catcher: ContentController and its subclasses do, yeah
503: [14:43:53] <catcher> kinglozzer, looks great, ty
504: [14:44:31] <Pyzefk> BAAAAHAHAHAHAHAHAHAHAHAHAHAHAH
505: [14:44:32] <Pyzefk> http://iforce.co.nz/i/pyd4suki.xtd.png
506: [14:44:47] <Pyzefk> fuck'n "Related articles"
507: [14:45:08] <Pyzefk> for "Microsoft SSIS package merge join transformation dataflow component"
508: [14:45:28] <Pyzefk> gg internet
509: [14:46:16] <Pyzefk> them mancs kinglozzer - losing 12Kg in just 4 weeks, AMAZING. Also got liposuction & breast implants.
510: [14:46:34] <Pyzefk> xD
511: [14:46:37] <Pyzefk> hilarity
512: [14:46:40] <kinglozzer> rofl, it's so bad...
513: [14:46:51] <Pyzefk> yeah, usually it's bad, but not quite THIS bad! xD
514: [14:46:57] <ss-helper> Re: stop overwriting files with setReplaceFile(false) - http://www.silverstripe.org/community/forums/customising-the-cms/show/101382#post400833
515: [14:46:59] <kinglozzer> Like... at least make it REMOTELY possible :P
516: [14:47:09] <Pyzefk> also: figured out how to go back in time because she's 10 years younger xD
517: [14:48:09] <Pyzefk> o.0 that last blog post
518: [14:48:20] <Pyzefk> 1) not a bug. 2) so called solution, not what was asked for.
519: [14:48:33] <Pyzefk> I just don't even.
520: [14:50:55] * MischaK has joined #silverstripe
521: [14:51:00] * arnhoe_ has joined #silverstripe
522: [14:52:13] * ss3noob quit (Ping timeout: 246 seconds)
523: [14:52:35] <kinglozzer> Pyzefk: Shame you couldn't release his stone :(
524: [14:53:24] <MischaK> http://www.silverstripe.org/software/download/release-archive/ <-- ordering is broken
525: [14:54:25] * arnhoe quit (Ping timeout: 264 seconds)
526: [14:54:27] <Pyzefk> kinglozzer: I tried. Seems he found another stone to let go instead.
527: [14:54:42] <Pyzefk> MischaK: eh?
528: [14:54:54] <Pyzefk> oic, lol
529: [14:54:58] <Pyzefk> .12 comes after .1
530: [14:54:59] <kinglozzer> Pyzefk: 3.1.1, 3.1.10, 3.1.11, 3.1.12, 3.1.2 :P
531: [14:54:59] <Pyzefk> etc
532: [14:55:06] <Pyzefk> yeh
533: [14:55:07] <kinglozzer> Same on the changelogs
534: [14:55:09] <Pyzefk> GOSH kinglozzer
535: [14:55:16] <kinglozzer> GOLLY Pyzefk
536: [14:55:19] <Pyzefk> fix it fix it fix it
537: [14:55:32] <Pyzefk> JEEPERS kinglozzer
538: [14:55:33] <kinglozzer> I don't touch the docsviewer! :P
539: [14:55:37] <kinglozzer> CREEPERS Pyzefk
540: [14:55:42] <Pyzefk> Jinkies!
541: [14:55:55] * Pyzefk ruh roh
542: [14:56:00] <kinglozzer> Scooby Doo flashbacks
543: [14:56:02] <kinglozzer> ^^ :P
544: [14:56:06] <Pyzefk> :>
545: [15:18:39] * Shrike_Finland has joined #silverstripe
546: [15:24:49] * NobrainerWeb quit (Quit: NobrainerWeb)
547: [15:26:38] <catcher> Anyone aware of a good lightweight slugging/meta module for DOs? DataObjectAsPage won't work for me because of custom routing / controller actions, but I hate to reinvent those wheels.
548: [15:26:53] <kinglozzer> Pyzefk: ^^
549: [15:27:11] * NobrainerWeb has joined #silverstripe
550: [15:27:20] * NobrainerWeb quit (Client Quit)
551: [15:27:49] <catcher> Specifically, I need to use URLSegments instead of IDs, and I need meta. I do not need versioning, drafting, etc.
552: [15:28:20] <kinglozzer> catcher: This is Pyzefk's module https://github.com/NightJar/ssrigging-slug
553: [15:28:23] * philbenoit has joined #silverstripe
554: [15:28:30] <kinglozzer> No controller implementation of course
555: [15:29:01] <philbenoit> Hi guys - random question, how come themes are not added to git in the latest version of SS and how do I add them
556: [15:29:58] <catcher> sans controller is ideal. I'll take a look at this, thanks.
557: [15:31:19] <kinglozzer> catcher: You can also add a SiteTreeURLSegmentField for users to edit them
558: [15:31:28] <kinglozzer> (if you've got the cms module installed)
559: [15:32:42] <catcher> Pyzefk, any interest in this module growing? (URLSeg field like kinglozzer said, meta)
560: [15:41:34] * philbenoit quit (Ping timeout: 246 seconds)
561: [15:47:27] <ss-helper> Re: DropdownField that allows attributes for options - https://groups.google.com/d/msg/silverstripe-dev/wFHcK2tvoQ8/2W6_AceF-t0J
562: [15:52:33] * swaiba quit (Remote host closed the connection)
563: [15:54:12] <Pyzefk> hmm?
564: [15:54:18] <Pyzefk> oh
565: [15:54:22] <Pyzefk> yeh what?
566: [15:55:05] <Pyzefk> catcher: define 'growing'?
567: [15:55:45] <Pyzefk> Tehre's some shit I've gotta commit up yet. Liek proper docs and composer support as opposed to _config.php comment examples & manual install
568: [15:56:24] <Pyzefk> If by growing you mean 'add meta data', then no. Use a meta data module, there are a few around. That's beyond the scope of a slug module.
569: [15:56:41] <Pyzefk> :>
570: [15:57:29] <Pyzefk> class MyObjectThing extends DataObject { private static $extensions = ['slug(omg, amazing', 'metadata']; //yey
571: [15:57:43] <Pyzefk> or something like that
572: [15:57:58] <Pyzefk> fuck'n visual studio crashed
573: [15:58:56] <Pyzefk> AGAIN
574: [15:59:08] <Pyzefk> kinglozzer: catcher talk to me :<
575: [15:59:27] <kinglozzer> wut wut
576: [16:00:21] * Eliseth quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
577: [16:01:53] <catcher> Pyzefk, recommend any meta modules? Other than meta, just adding a field for users to edit the slug.
578: [16:02:21] <Pyzefk> huh?
579: [16:02:26] <Pyzefk> define 'meta'?
580: [16:02:40] <Pyzefk> slug adds it's own field.
581: [16:02:41] <Pyzefk> btw.
582: [16:02:52] <Pyzefk> so if you're adding it, you're probably doing it wrong.
583: [16:03:23] * cloph is now known as cloph_away
584: [16:04:48] <Pyzefk> catcher: afk so fast? did you type your message the run to the other side of the room?
585: [16:05:00] <catcher> Pyzefk, CMS field
586: [16:05:06] <Pyzefk> yes
587: [16:05:11] <Pyzefk> same story.
588: [16:05:12] <catcher> Pyzefk, I'm a virtual desktopper. Type, switch.
589: [16:05:17] <Pyzefk> urgh
590: [16:05:25] <Pyzefk> that's no good for conversations and hleps!¬
591: [16:05:33] <Pyzefk> :<
592: [16:05:53] <Pyzefk> catcher: if you're adding a field, you're doing it wrong. DB or CMS.
593: [16:05:55] <catcher> ah, the parity bit
594: [16:05:59] <Pyzefk> mmhmm.
595: [16:06:14] <Pyzefk> setting it to true removes field. because it updates on title change.
596: [16:06:24] <Pyzefk> or whtaver fireld you've linnked the slug to
597: [16:06:27] <Pyzefk> ffff typing
598: [16:06:30] <Pyzefk> ffff visuall studio
599: [16:06:32] <Pyzefk> so mad
600: [16:06:35] <Pyzefk> still frozen
601: [16:08:37] <Pyzefk> oic, mssqlserver is using 98% of the cpu. That'll probably do it.
602: [16:10:56] <catcher> Pyzefk, kill it, with many 9s.
603: [16:12:22] <Pyzefk> neg, business critical service.
604: [16:12:34] <Pyzefk> if I kill it I'll get 100 phone calls in 99 minutes
605: [16:12:53] <Pyzefk> including plenty of bitches.
606: [16:12:58] <DimiStripe> Guys need fast help on onBeforeDelete . I implemented this on memberprofiles (MemberProfileExtension), and need preventing some users from deleting . Thus in my onBeforeDelte function :
607: [16:12:58] <DimiStripe> WORKS(PREVENTS DELETION ) BUT THROWS AN ERRO IN CMS: "if ($this->owner->ID==1){ die(); }"
608: [16:12:58] <DimiStripe> DOES NOT WORK - DELETES THE USER ANYWAY: "if ($this->owner->ID==1){ return false; exit; }"
609: [16:13:00] <Pyzefk> Some people call them users.
610: [16:13:11] <catcher> Pyzefk, why the parentRel? Does it enforce uniqueness within the parent scope?
611: [16:13:35] <Pyzefk> DimiStripe: onbeforedelete happeens before delete. It doesn't validate a deletion action.
612: [16:13:37] <catcher> so /foo/seg1 + /bar/seg1 = okay?
613: [16:13:40] <Pyzefk> you're looking for canDelete probably
614: [16:13:54] <Pyzefk> catcher: hmm, sec. Lemme get the code up
615: [16:13:57] <DimiStripe> Oh :)
616: [16:13:59] <DimiStripe> fuck
617: [16:14:00] <DimiStripe> thanks :D
618: [16:16:36] <DimiStripe> Pyzefk: works fine :) thanks again
619: [16:16:38] <Pyzefk> catcher: parentid is the has_one 'Parent' relation (where Parent is the has_one to the Page
620: [16:16:58] <catcher> Pyzefk, why is that necessary?
621: [16:17:07] <Pyzefk> probably because it was built with page in mind.
622: [16:17:12] <ss-helper> Rendering DataList - http://www.silverstripe.org/community/forums/general-questions/show/101410
623: [16:17:26] <Pyzefk> catcher: it isn't necessary
624: [16:17:32] <Pyzefk> defaults to null
625: [16:18:55] <Pyzefk> catcher: https://github.com/NightJar/ssrigging-slug/blob/master/code/Slug.php#L34-L37
626: [16:19:25] <catcher> Pyzefk, yeah, looking at that for the benefit of providing the parent for DOs
627: [16:20:25] <Pyzefk> I'm confused sorry dude, my brain is in about 4 different things at the moment
628: [16:24:07] <Pyzefk> catcher: yeh, parentrel is basically support for nested URLs, ie so you can have objects of the same type with the same slug, if they have different parents.
629: [16:24:25] <Pyzefk> otherwise they all have to be unique
630: [16:24:58] <catcher> Pyzefk, great. I may need a hook to provide the controller action.
631: [16:25:18] <catcher> Pyzefk, /controller1/action1/seg1 + /controller1/actions2/seg1 should be okay.
632: [16:25:31] <Pyzefk> catcher: so 3 params: $FieldToBaseSlugOn, $ParentRelForNestedSupport, $WhetherOrNotToAutomaticallyUpdateSlugOnLinkedFieldChange
633: [16:25:50] <Pyzefk> if the last bit is set to true, then the field to update is NOT added to the cmsFields
634: [16:26:08] <Pyzefk> catcher: controller action: see _config.php
635: [16:26:11] <Pyzefk> all the demos in there./
636: [16:26:14] <Pyzefk> (as comments)
637: [16:26:32] <Pyzefk> worst docs ever, but get the point across when you're in a rush to get it up.
638: [16:27:16] <Pyzefk> Better than none! :>
639: [16:27:26] <catcher> Pyzefk, should I reference the controller section even though I'm working with DOs?
640: [16:27:33] <Pyzefk> catcher: eh?
641: [16:27:41] <Pyzefk> The 'docs' have an example on how to apply the thing to Page.
642: [16:28:00] <Pyzefk> You'll always need all three parts, no matter if page or not
643: [16:28:20] <Pyzefk> you need a DO to apply the Extension to, and a controller to access the DO's you applied it on.
644: [16:28:42] <Pyzefk> hmm, sorry, you need 2/3
645: [16:28:58] <Pyzefk> ie you can ignore the 'Page' part (simply just defines a has_many)
646: [16:29:11] <catcher> Pyzefk, got it, thanks for the info. I'll try it out later today.
647: [16:29:15] <Pyzefk> controller and DO parts are mandatory I guess, because without Controller part no point to have slug!
648: [16:30:04] <Pyzefk> Yeh. The Extension is reusable, ie could have 2 objects with the extension applied.
649: [16:30:28] <Pyzefk> and Page has_many rel lets there be the 'parentRel' take effect (nested urls)
650: [16:34:06] <Pyzefk> I feel like writing docs for that now.
651: [16:34:14] <Pyzefk> too bad I'm going climbing tonight
652: [16:34:20] <Pyzefk> ah well
653: [16:35:25] * Err404NotFound quit (Quit: User guilty of hitting the Big Red X...)
654: [16:38:48] * Andrew__ has joined #silverstripe
655: [16:39:57] <Andrew__> Good afternoon, I was wondering if anyone has been able to get ModelAdmin to display import forms for all managed models instead of just the first when it is set up to manage multiple?
656: [16:41:26] * arnhoe_ quit ()
657: [16:41:56] * Shrike_Finland quit (Read error: No route to host)
658: [16:42:02] * Shrike_Finland1 has joined #silverstripe
659: [16:42:02] * Shrike_Finland1 quit (Client Quit)
660: [16:42:04] * Shrike_Finland has joined #silverstripe
661: [16:48:25] * Andrew__ quit (Ping timeout: 246 seconds)
662: [16:53:08] * Error404NotFound has joined #silverstripe
663: [16:54:22] * muskie9 is now known as muskie9_afk
664: [16:57:34] * DimiStripe quit (Quit: DimiStripe)
665: [17:13:37] * MattyBalaam quit (Ping timeout: 246 seconds)
666: [17:13:55] <Pyzefk> time ta gaan, gl catcher :>
667: [17:14:03] * Pyzefk quit ()
668: [17:14:19] * kinglozzer quit ()
669: [17:17:23] <ss-helper> Re: Rendering DataList - http://www.silverstripe.org/community/forums/general-questions/show/101410#post400885
670: [17:54:06] * emitor has joined #silverstripe
671: [17:54:15] <ss-helper> SilverStripe 3.1.0-beta2 - https://groups.google.com/d/msg/silverstripe-announce/fT3lquh9T9I/KMJoBhlz0b0J
672: [17:54:15] <ss-helper> SilverStripe 3.0.6 Security Release - https://groups.google.com/d/msg/silverstripe-announce/m4vmXYmV0CE/EfSzp3t6mvsJ
673: [17:54:15] <ss-helper> SilverStripe 3.1.0-beta2 - https://groups.google.com/d/msg/silverstripe-announce/fT3lquh9T9I/KMJoBhlz0b0J
674: [17:55:12] * DimiStripe has joined #silverstripe
675: [17:55:48] * R\w\C quit (Quit: Textual IRC Client: www.textualapp.com)
676: [17:58:21] * ThePeach quit (Quit: leaving)
677: [17:58:36] * gelignite has joined #silverstripe
678: [18:03:29] <ss-helper> occasional beefy stroke but for much - http://www.silverstripe.org/community/forums/upgrading-silverstripe/show/101411
679: [18:05:05] <emitor> hello world :), I need your help... when I add something to some dataobject with $var=XY::create()... and $var->write()... how to after write() get ID of inserted row??
680: [18:05:07] * Stomach has joined #silverstripe
681: [18:07:58] * cloph_away is now known as cloph
682: [18:09:16] <ss-helper> SilverStripe 3.0.6 Security Release - https://groups.google.com/d/msg/silverstripe-announce/m4vmXYmV0CE/EfSzp3t6mvsJ
683: [18:09:35] * Stomach quit (Client Quit)
684: [18:10:02] * Liquide quit ()
685: [18:24:06] * Stomach has joined #silverstripe
686: [18:28:10] * emitor quit (Ping timeout: 246 seconds)
687: [18:33:59] * Stomach quit (Quit: zzz)
688: [18:48:12] * webdoc has joined #silverstripe
689: [18:48:37] <webdoc> hi guys how can i make my ss3.1 site work with http
690: [18:48:41] <webdoc> https
691: [18:48:44] <webdoc> imean
692: [18:55:18] * GioVdK quit (Ping timeout: 246 seconds)
693: [18:56:30] * DimiStripe quit (Quit: DimiStripe)
694: [18:57:49] <MischaK> webdoc, you mean how to make sure your server uses https?
695: [18:58:27] <MischaK> any php website should work with https out of the box
696: [19:00:56] <webdoc> i have installed it using http
697: [19:01:12] <webdoc> but now want that the whole site work with https
698: [19:04:07] * Stomach has joined #silverstripe
699: [19:09:21] * nontgor quit (Ping timeout: 252 seconds)
700: [19:17:44] <ss-helper> SS3.1.12 does not show images on frontpage - http://www.silverstripe.org/community/forums/general-questions/show/101412
701: [19:18:04] * antmas has joined #silverstripe
702: [19:20:15] <antmas> morning all o/
703: [19:20:38] * Err404NotFound has joined #silverstripe
704: [19:20:38] * Error404NotFound quit (Disconnected by services)
705: [19:22:22] * nontgor has joined #silverstripe
706: [19:25:55] <antmas> it's Friday
707: [19:25:57] <antmas> \o/
708: [19:28:48] <MischaK> webdoc, it's web server dependant
709: [19:29:21] <webdoc> ok
710: [19:29:46] <MischaK> if apache you can first check if https is set up correctly
711: [19:29:57] <MischaK> then setup a rewrite in a htaccess
712: [19:30:18] <MischaK> actually under all servers you want to check if https is set up correctly and your certificates are in order etc
713: [19:30:43] <MischaK> if you're using shared hosting contact the server admins to maybe set stuff up for you
714: [19:35:51] <Stomach> GOOD MORNING
715: [19:35:56] <MischaK> antmas, i still have a lil while to go before morning :p
716: [19:36:10] <MischaK> only 20.35 here
717: [19:36:16] <antmas> it's always morning in ssirc :)
718: [19:36:33] <antmas> it's 0886 here :D
719: [19:36:38] <antmas> 0836*
720: [19:38:00] <Stomach> its okay to drink in the mroning
721: [19:38:01] <Stomach> right?
722: [19:38:02] <Stomach> right?
723: [19:38:14] <antmas> well I had a whiskey this morning
724: [19:38:16] <antmas> so yes!
725: [19:38:18] <antmas> :P
726: [19:38:43] <antmas> well, whiskey/honey/tea/lemon anyway
727: [19:42:35] <catcher> what if the honey, tea, and lemon are all made of whiskey?
728: [19:44:20] * muskie9_afk quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
729: [19:45:10] * antmas quit (Ping timeout: 246 seconds)
730: [19:47:27] * Ryan-Toast has joined #silverstripe
731: [19:51:41] <MichalKleiner> morning
732: [19:53:00] <Ryan-Toast> Morning
733: [19:53:04] <MichalKleiner> after updating to 3.0.12 from 3.0.something my draft DOs disappeared..
734: [19:53:25] <MichalKleiner> canView and canEdit are true and still not working..
735: [19:54:39] * toddvale_ quit (Remote host closed the connection)
736: [19:55:00] * toddvalentine has joined #silverstripe
737: [19:59:33] * antmas has joined #silverstripe
738: [20:00:35] * oddnoc has joined #silverstripe
739: [20:08:29] <Stomach> catcher - https://www.youtube.com/watch?v=5pRdYbyw1Jk
740: [20:10:20] <catcher> Stomach, haha, there you go
741: [20:15:03] * muskie9 has joined #silverstripe
742: [20:22:07] * UndefinedOffset quit (Quit: Leaving.)
743: [20:27:43] <Ryan-Toast> I’m returning a redirect in a Form subclass, but it’s throwing a hasMethod() error for form actions. Any idea why this would be happening?
744: [20:28:50] <Ryan-Toast> Form in question: http://www.sspaste.com/paste/show/55146bee961d5
745: [20:28:59] <Ryan-Toast> line 15 giving me the issues.
746: [20:32:10] <Stomach> do that in the controller where you instantiate the form
747: [20:32:14] <Stomach> instead of in the form itself?
748: [20:32:26] <Ryan-Toast> Stomach: that’s actually a much better idea...
749: [20:32:28] <Stomach> if (!Member) {shit} else { return new Form();}
750: [20:32:44] <Ryan-Toast> Danke
751: [20:38:43] * webdoc quit (Ping timeout: 246 seconds)
752: [20:39:00] <Ryan-Toast> Can you make individual checkbox fields display inline without custom css?
753: [20:39:49] <Ryan-Toast> I seem to remember doing it somewhere, bu tI can’t find it.
754: [20:41:04] * antmas beeps
755: [20:47:17] * Hailwood has joined #silverstripe
756: [20:47:35] * shellbackpacific has joined #silverstripe
757: [20:47:58] * shellbackpacific has left #silverstripe
758: [20:49:25] * Stomach boops antmas
759: [20:51:15] <antmas> gfycat just got weird
760: [20:51:38] <Ryan-Toast> the redesign is badwrong
761: [20:51:57] <antmas> Stomach: https://gfycat.com/FrenchArcticAmericanbulldog
762: [20:52:03] <antmas> Ryan-Toast: the old one was fine :O
763: [20:52:15] <Ryan-Toast> antmas: It weas a bit shit, but this is no better.
764: [20:52:17] <Stomach> antmas :D
765: [20:52:22] <antmas> BOOP
766: [20:53:44] <antmas> Ryan-Toast: well it was simple - all it need to be was simple
767: [20:53:53] <Ryan-Toast> antmas: now it’s buttfuck ugly :)
768: [20:53:58] <antmas> :<
769: [20:54:26] <Ryan-Toast> also “jiffier gif” getfuckedcunt
770: [20:54:35] <Ryan-Toast> HARD G!
771: [20:55:25] <Ryan-Toast> Madeon’s albumn is out on spotify
772: [20:55:28] <Ryan-Toast> Aww yiss
773: [20:55:35] <antmas> :O
774: [20:55:44] <antmas> I call that site GifyCat
775: [20:55:48] <antmas> can't help it
776: [20:56:30] <Ryan-Toast> same
777: [20:56:56] <antmas> you get a replacement yet?
778: [20:59:03] <Ryan-Toast> lol no.
779: [20:59:46] <antmas> :/
780: [21:00:12] <antmas> you interviewed this week no?
781: [21:04:16] <Ryan-Toast> Yes
782: [21:04:20] <Ryan-Toast> All bad
783: [21:04:54] <antmas> lol guts
784: [21:05:40] * emitor has joined #silverstripe
785: [21:07:00] * micmania1 has joined #silverstripe
786: [21:09:01] * UncleCheese has joined #silverstripe
787: [21:13:08] * wmk quit (Ping timeout: 265 seconds)
788: [21:14:04] * emitor quit (Ping timeout: 246 seconds)
789: [21:17:25] * catcher quit (Quit: Leaving)
790: [21:24:16] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
791: [21:25:57] <antmas> hurry up today
792: [21:31:11] * muskie9 is now known as muskie9_afk
793: [21:33:39] * Shrike_Finland quit (Quit: Leaving.)
794: [21:40:30] * mahfuz has joined #silverstripe
795: [21:51:59] <MichalKleiner> go go time, turn into 5pm quickly
796: [21:52:04] <MichalKleiner> antmas: o/
797: [21:52:46] <antmas> MichalKleiner: o/
798: [21:57:24] * Azure has joined #silverstripe
799: [21:57:45] <MichalKleiner> what IDE are you guys using? I run Netbeans and they are kinda slow.. for quick editing I use Atom but it's not IDE.. mostly for backend dev, php & JS.. PhpStorm? Sublime?
800: [21:58:34] <Hailwood> UncleCheese, Do you have a moment to talk about unclecheese/event-calendar?
801: [21:59:17] * Colin[pi] has joined #silverstripe
802: [21:59:28] <UncleCheese> ok
803: [21:59:29] <Ryan-Toast> Please accept event-calendar as your lord and savior.
804: [21:59:36] <antmas> MichalKleiner: PHPStorm
805: [21:59:44] <antmas> lol
806: [21:59:48] <antmas> Colin[pi]: o/
807: [21:59:54] <Colin[pi]> sup antmas o/
808: [22:00:03] <MichalKleiner> hai Colin[pi]
809: [22:01:18] <Colin[pi]> heya MichalKleiner
810: [22:01:20] <Colin[pi]> o/
811: [22:02:28] <Hailwood> Ryan-Toast, Basically what I need to do is what it appears https://github.com/unclecheese/silverstripe-event-calendar/blob/master/templates/LiveCalendarWidget.ss is intended to do - but I can't see any where the template is actually used, or even where $Weeks in that template comes from?
812: [22:02:52] <UncleCheese> LiveCalendarWidget doesn't exist anymore
813: [22:03:25] <UncleCheese> just $CalendarWidget
814: [22:04:30] <Hailwood> Damn, is there any way I can manually in the template output a calendar then - truth be told it's not a calendar we're outputting but more like your typical school diary
815: [22:05:45] <antmas> it sucks when you have a gif that you really want to use but have not current context
816: [22:05:54] * antmas waits patiently
817: [22:05:57] <Hailwood> Or in a more general sense - "I want to use the calendar package to create this: http://nzwta.webflow.com/nzwta-diary
818: [22:06:54] <UncleCheese> There's month to month navigation
819: [22:09:28] <Hailwood> UncleCheese, Yeah, that parts fine, I've got that working - it's more for actual "calendar" am I going to need to rewrite the entire javascript? also which file actually generates that calendar?
820: [22:10:23] * kinglozzer has joined #silverstripe
821: [22:10:43] * Pyromanik has joined #silverstripe
822: [22:10:45] <UncleCheese> should be calendar_widget.js
823: [22:10:48] <UncleCheese> or something tlike that
824: [22:11:15] <UncleCheese> https://github.com/unclecheese/silverstripe-event-calendar/blob/master/javascript/calendar_widget.js
825: [22:13:37] <Pyromanik> \o kinglozzer
826: [22:13:43] <Pyromanik> o/ antmas
827: [22:13:46] <kinglozzer> Pyromanik: o/
828: [22:13:49] <Pyromanik> \o Colin[pi]
829: [22:13:54] <Pyromanik> o/ Ryan-Toast
830: [22:14:00] <Ryan-Toast> Pyromanik: Hai
831: [22:14:13] <Pyromanik> 2u
832: [22:14:27] <Pyromanik> Imma do something. What should I do?
833: [22:14:31] <Colin[pi]> o/ Pyromanik
834: [22:14:32] <Pyromanik> docs, that's exciting!
835: [22:14:34] <kinglozzer> God I fucking hate Ed Milliband
836: [22:14:35] <Pyromanik> yes, docs.
837: [22:14:43] <Pyromanik> kinglozzer, god I fucking hate politics.
838: [22:14:47] <Colin[pi]> kinglozzer: yeah fuck that guy
839: [22:14:50] <UncleCheese> good idea for a module: lazy load assets from remote
840: [22:14:53] * Colin[pi] doesn't know who that is
841: [22:15:01] <Pyromanik> UncleCheese, uhh, wut?
842: [22:15:09] <UncleCheese> local dev environmnent gets File ID 123 from the db.. doesn't exist in file system
843: [22:15:12] <antmas> Pyromanik: o/
844: [22:15:20] <kinglozzer> Colin[pi]: http://www.thetimes.co.uk/tto/multimedia/archive/00740/Ed_Miliband_and_his_740921a.jpg
845: [22:15:22] <UncleCheese> triggers an http request to get it from a prod server that you've defined
846: [22:15:24] <Pyromanik> Colin[pi], think ... uhh... tony abbot's opposition, only more like when abbot was howard's opposition.
847: [22:15:43] * mobiusnz has joined #silverstripe
848: [22:16:04] <UncleCheese> local dev is always compromised by either 1) not having the uploaded assets or 2) having thousands of assets taking up space on your hard drive that aren't used anywhere
849: [22:16:04] <kinglozzer> UncleCheese: That sounds similar to a certain RFC :P
850: [22:16:09] <UncleCheese> oh?
851: [22:16:22] <UncleCheese> true, cloud would fix all that
852: [22:16:27] <Pyromanik> yeah, y'know, the entire nope
853: [22:16:30] <kinglozzer> https://github.com/silverstripe/silverstripe-framework/issues/3792
854: [22:16:41] <antmas> Pyromanik: so you going to le man?
855: [22:16:49] <Pyromanik> antmas, fuck yeah, gotta look into that :M
856: [22:16:51] <Pyromanik> fuck
857: [22:16:58] <antmas> :O
858: [22:16:58] <Pyromanik> so much shit to do, so little fuck'n time
859: [22:17:40] <kinglozzer> Pyromanik: What you gonna watch? I dunno what races they do there besides the 24hr one :P
860: [22:17:50] <Pyromanik> Silverstone on the 12th
861: [22:17:58] <antmas> mm
862: [22:18:01] <Pyromanik> 10, 11, 12
863: [22:18:08] * antmas is rooting for Nissan this year
864: [22:18:20] <Pyromanik> ie, 2 weeks kinglozzer
865: [22:18:44] * Pyromanik needs to hurry his shit up, apply for time off & book hotel & rail tickets
866: [22:18:51] <Colin[pi]> Pyromanik: Colin[pi], think ... uhh... tony abbot's opposition, only more like when abbot was howard's opposition.
867: [22:18:55] <Colin[pi]> wow that bad huh
868: [22:19:24] <Pyromanik> almost.
869: [22:19:31] <Pyromanik> not that bad, he's not tony abbot.
870: [22:20:24] <antmas> Nissan or Porsche
871: [22:20:30] <Pyromanik> Porsche
872: [22:20:34] <antmas> Audi needs to lose one
873: [22:20:46] <Pyromanik> Toyota tbh, but Porsche for the support.
874: [22:20:48] <antmas> Toyota even, that would be awesome
875: [22:20:59] <antmas> Pyromanik: +1
876: [22:21:11] <kinglozzer> Pyromanik: Ohhhh I get it, le mans @ silverstone, I was thinking circuit de la sarthe :P
877: [22:21:14] <antmas> Porsche because Kiwi
878: [22:21:29] <Pyromanik> yup. Hope they can hold the flag around the right way this time though.
879: [22:21:42] <Pyromanik> kinglozzer, well, FIA WEC
880: [22:21:44] <antmas> LOL yeah
881: [22:21:47] <Pyromanik> Le Mans is still Le Mans
882: [22:21:56] <Pyromanik> in late June iirc
883: [22:21:57] <antmas> LeMan
884: [22:22:00] <antmas> Lemons
885: [22:22:09] * muskie9_afk is now known as muskie9
886: [22:22:10] <Pyromanik> Well it is if you buy the Pontiac version!
887: [22:22:20] <Colin[pi]> oh snap
888: [22:24:55] <antmas> :P
889: [22:25:17] <antmas> need to find a proper stream this year
890: [22:25:22] <antmas> withouth 13298473219874917192 ads
891: [22:25:24] <antmas> and malware
892: [22:26:59] <Colin[pi]> so cricket this sunday looks interesting :P
893: [22:27:36] <antmas> mmmm
894: [22:27:40] <antmas> will be hard to watch
895: [22:28:32] <antmas> have to admit it would be pretty spectacular to win over Ausi on home turf at the MCG
896: [22:28:36] <antmas> :O
897: [22:28:58] <Colin[pi]> oh god could you imagine the butthurt we would suffer
898: [22:29:31] <Colin[pi]> I hope you guys do win actually lol
899: [22:29:37] <Colin[pi]> that would be pretty awesome
900: [22:29:41] * toddvalentine quit ()
901: [22:32:43] <UncleCheese> what the shit
902: [22:32:44] <UncleCheese> Argument 1 passed to Composer\Installers\BaseInstaller::__construct() must implement interface
903: [22:33:44] <Colin[pi]> must implement interface?
904: [22:33:47] <Colin[pi]> but
905: [22:33:49] <Colin[pi]> wha?
906: [22:34:02] <Colin[pi]> which interface?
907: [22:34:43] <ss23> lol
908: [22:34:52] <ss23> UncleCheese: Try upgrade cpomopser!
909: [22:34:58] <UncleCheese> i did
910: [22:35:03] <ss23> Or if you upgraded it aand caused this, --rollback!
911: [22:35:05] <UncleCheese> so dumb
912: [22:35:08] <UncleCheese> rm -rf vendor
913: [22:35:12] <UncleCheese> composer update
914: [22:35:15] <UncleCheese> win
915: [22:35:18] <ss23> lol
916: [22:35:28] <UncleCheese> i love that composer makes things to easy
917: [22:35:35] <Hailwood> Can you not use GridFieldEditableColumns with a DateField?
918: [22:36:09] <Hailwood> Seems that the calendar js only binds onload - so when we dynamically add the fields they aren't getting the calendar. sound about right?
919: [22:37:26] <antmas> it's so hard to get garlic smell out of anything
920: [22:37:34] <antmas> :|
921: [22:37:54] <ss23> vampire
922: [22:37:54] <Colin[pi]> antmas: /r/nocontext
923: [22:37:55] <ss23> VAMPIRE
924: [22:38:55] <antmas> I CAN'T GET IT OUT :O
925: [22:39:01] <antmas> garlic all the things
926: [22:39:04] <antmas> halp
927: [22:39:56] * muskie9 is now known as muskie9_afk
928: [22:52:28] * muskie9_afk is now known as muskie9
929: [22:53:24] * mobiusnz quit (Quit: Leaving.)
930: [22:56:55] <Pyromanik> eat it.
931: [22:57:23] <Pyromanik> Hailwood, bind it using entwine, require it in your modeladmin/getcmsfields
932: [22:59:06] * kinglozzer quit ()
933: [22:59:43] * kinglozzer has joined #silverstripe
934: [22:59:53] <Ryan-Toast> Pyromanik: yeah, just use the entwine docs. It’s easy.
935: [23:00:31] <antmas> ha
936: [23:00:33] <antmas> HAH
937: [23:01:58] <Pyromanik> $('.gridfield .inlinedatefield').entwine({onclick:function(){this.surpriseMotherfucknCalendar()/*!!*/}})
938: [23:03:05] <Pyromanik> not so hard Ryan-Toast, idgi (your comment)
939: [23:03:11] <Hailwood> Pyromanik, Yeah tried that - it kind of worked but i'd need to fix the css and things as well so meh
940: [23:03:35] <Pyromanik> css?
941: [23:03:55] <Pyromanik> for the surpriseWidget()?
942: [23:04:11] <Ryan-Toast> Pyromanik: I’m saying there are no docs for entwine.
943: [23:04:28] <Hailwood> Pyromanik, yeah, it expects the standard wrappers for a normal cms page so it breaks
944: [23:05:05] <Pyromanik> Ryan-Toast, there are heaps of docs.
945: [23:05:10] <Ryan-Toast> Pyromanik: where?
946: [23:05:34] <Hailwood> https://github.com/hafriedlander/jquery.entwine
947: [23:05:36] <Pyromanik> docs.ss.org, github, takeaway.bigfork.co.uk, CODE
948: [23:05:38] <Pyromanik> etc
949: [23:05:54] * muskie9 is now known as muskie9_afk
950: [23:06:08] <Pyromanik> Ryan-Toast, honestly bro, if you don't get it you can't call yourself a front end developer. NEXT
951: [23:06:19] <Ryan-Toast> Pyromanik: :P
952: [23:06:20] <Pyromanik> :P
953: [23:06:39] <Ryan-Toast> Pyromanik: FUCK YOU, PYRO: https://github.com/Rhym/silverstripe-boilerplate/blob/master/javascript/colorpicker.init.js
954: [23:06:39] <Pyromanik> Lol, that should be your test for the new applicant.
955: [23:06:49] <Pyromanik> "this is entwine. Bind me some shit in the CMS. You have 3 minutes."
956: [23:07:17] <Ryan-Toast> that commented out alert....
957: [23:07:22] <Pyromanik> xD
958: [23:07:31] <Ryan-Toast> shamecube.gif
959: [23:07:42] <Pyromanik> I commit heaps of sht like that.
960: [23:07:50] <Colin[pi]> lol we all have a commented out alert somewhere
961: [23:07:52] <Pyromanik> /die(var_dump($lolwhoops));
962: [23:08:00] <Pyromanik> //*
963: [23:08:03] * muskie9_afk quit (Read error: Connection reset by peer)
964: [23:08:15] <ss23> it's not okay
965: [23:08:16] <ss23> :O
966: [23:08:23] <Ryan-Toast> Pyromanik: Haha, all the time./
967: [23:08:34] <Pyromanik> /say //
968: [23:08:41] <Ryan-Toast> / echo var_dump($whatTheFuck);exit();
969: [23:08:46] <Pyromanik> or sometimes if you're lucky ///
970: [23:08:58] <Pyromanik> lol wtf do you even understand var_dump?
971: [23:09:20] <Pyromanik> DO YOU EVEN LIFT!?
972: [23:09:26] <Ryan-Toast> DO YOU EVEN DUMP?
973: [23:09:30] <antmas> lol we all have a commented out alert somewhere
974: [23:09:32] <Pyromanik> erre dae
975: [23:09:35] <antmas> re Colin[pi] ^^^
976: [23:09:46] <antmas> lol well I delete my alerts so hah!
977: [23:09:49] <antmas> #yolo
978: [23:09:56] <Ryan-Toast> antmas: you installed a bp version recently?
979: [23:09:58] <Pyromanik> swag motherfucker.
980: [23:10:04] <Pyromanik> yolo would be leaving them in
981: [23:10:07] <antmas> Ryan-Toast: not for about 2-3weeks?
982: [23:10:10] <Pyromanik> ain't nobody got time for delet'n!
983: [23:10:42] <Ryan-Toast> antmas: It’s nearly at a stage where I’m happy with it: https://github.com/Rhym/silverstripe-boilerplate-installer
984: [23:11:04] <Ryan-Toast> I should update the demo site.
985: [23:11:39] <antmas> Ryan-Toast: noiiiiice
986: [23:11:43] <antmas> might do an update
987: [23:11:55] <antmas> but actually backup my sites before I do becuase lol last time
988: [23:12:05] <Ryan-Toast> antmas: oh, it won’t be compatible :P
989: [23:12:14] <Ryan-Toast> now that I’ve slpit them into an installer.
990: [23:12:27] <Ryan-Toast> which means from now on they will be compatible.
991: [23:12:28] <Ryan-Toast> maybe
992: [23:12:33] <Ryan-Toast> no promises.
993: [23:12:33] <antmas> Ryan-Toast: yeah I was kidding, I learnt my lesson :P
994: [23:12:43] <Ryan-Toast> I DO WHAT I WANT
995: [23:12:50] <ss23> Backups are for people who aren't confident in their work
996: [23:13:01] <Ryan-Toast> ss23: same goes for branches :D
997: [23:13:05] <antmas> 'hey so Ryan, how do I turn on page builder again?'
998: [23:13:09] <antmas> rabblerabble
999: [23:13:09] * Ryan-Toast should really start branching
1000: [23:13:18] <Ryan-Toast> antmas: YOU DON’T, MUHAHAHAHA
1001: [23:13:27] <Ryan-Toast> I’m building that as a seperate module
1002: [23:13:31] <antmas> THIS IS WHY WE CAN'T HAVE NICE THINGS Ryan-Toast
1003: [23:21:45] * Cheddam has joined #silverstripe
1004: [23:24:28] <Hailwood> Ryan-Toast, Colin[pi] Which one of you was it that was working on that epic custom theme for SS?
1005: [23:24:44] * spronk2 has joined #silverstripe
1006: [23:27:48] <Hailwood> Oh, how do you tell silverstripe that if a Int type field isn't provided store null instead of 0!
1007: [23:30:21] <Pyromanik> Bro, do you even branch?
1008: [23:30:43] <Pyromanik> Hailwood, private static $defaults = ['MyIntField' => 0];
1009: [23:31:09] <Pyromanik> or private static $db = ['ThatIntField' => 'Int(0)']
1010: [23:31:48] <Hailwood> Pyromanik, No I mean if when I create said object, if MyIntField == '' at the moment MyIntField = 0. I want it to equal null
1011: [23:32:03] <Pyromanik> I unno.
1012: [23:32:12] <Hailwood> So if the field doesn't get filled out it shouldn't be populated basically.
1013: [23:32:42] <Pyromanik> SS kinda has shit support for NULL at the moment
1014: [23:32:53] <Pyromanik> ss23, fix it yet?
1015: [23:33:55] <ss23> :O
1016: [23:33:56] <ss23> no
1017: [23:33:57] <ss23> h8 u
1018: [23:34:55] * Stomach quit (Read error: Connection reset by peer)
1019: [23:35:17] * Stomach has joined #silverstripe
1020: [23:39:19] * spronk2 quit (Read error: Connection reset by peer)
1021: [23:42:41] * Ryan-Toast quit (Quit: Ryan-Toast)
1022: [23:43:03] * kinglozzer quit ()
1023: [23:43:45] * Ryan-Toast has joined #silverstripe
1024: [23:47:38] <Ryan-Toast> Hailwood: what kind of theme?
1025: [23:55:46] * MischaK quit (Quit: HydraIRC -> http://www.hydrairc.com <- \o/)

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