#silverstripe IRC Log

IRC log for 21 December 2016

All timestamps are in UTC.

1: [00:02:38] * Stomach has joined #silverstripe
2: [00:03:03] <DanaeNZ> spronk: \o
3: [00:03:09] <spronk> o/
4: [00:03:11] <spronk> whatup DanaeNZ
5: [00:03:12] <Nightjar> \o
6: [00:03:14] <DanaeNZ> heyo
7: [00:03:21] <DanaeNZ> two days left
8: [00:03:25] <DanaeNZ> we can do this
9: [00:03:33] <spronk> Nightjhahhhr
10: [00:03:50] <Nightjar> yaaaarrrrhahrarharhhrrr
11: [00:12:19] <spronk> tap tap tap
12: [00:12:22] <spronk> hey Nightjar
13: [00:12:25] <spronk> know any good tailors in chch?
14: [00:12:36] <Nightjar> ...
15: [00:12:39] <Nightjar> mmm
16: [00:12:40] <spronk> (the kind that adjusts suits n shit)
17: [00:12:44] <Nightjar> nup.
18: [00:12:46] <spronk> :(
19: [00:13:07] <spronk> i gosh darn went and put on some der muscle, busting out me ol pants
20: [00:13:22] <Nightjar> such problems
21: [00:13:25] <spronk> ikr
22: [00:13:32] <Nightjar> "Legs to muscle. What do?"
23: [00:13:35] <Nightjar> too*
24: [00:14:27] <spronk> need to get me a navy suit
25: [00:14:41] <spronk> le sigh
26: [00:14:52] <Nightjar> wtf navy
27: [00:14:54] <Nightjar> you enlist?
28: [00:15:40] <spronk> lolno
29: [00:15:42] <spronk> navy the colour
30: [00:15:48] <Nightjar> Then don't be a twat -.-
31: [00:15:56] <spronk> wut
32: [00:15:59] <spronk> not like
33: [00:15:59] <Nightjar> ... *hipster twat.
34: [00:16:01] <DanaeNZ> wat
35: [00:16:02] <spronk> fucking bright blue
36: [00:16:04] <spronk> like
37: [00:16:07] <spronk> dark
38: [00:16:14] <DanaeNZ> like...navy blue perhaps?
39: [00:16:14] <Nightjar> like, out of fashion in 4 years? That what like?
40: [00:16:19] <spronk> lol
41: [00:16:19] <spronk> no
42: [00:16:39] <DanaeNZ> Navy is pretty popular these days actually
43: [00:16:42] <Nightjar> Like, not since the 80's have we seen something so atrocious strutting the streets?
44: [00:16:45] <DanaeNZ> particularly with Wedding parties and the like
45: [00:16:56] <Nightjar> Yeah, and I refer you to the 80s.
46: [00:17:02] <DanaeNZ> https://s-media-cache-ak0.pinimg.com/736x/c0/95/5d/c0955d6d0ffe6145924d4e7d252cde4e.jpg
47: [00:17:04] <spronk> http://www.workingstyle.co.nz/product/Blue-and-Navy-Textured-Suit?i=SDO66&v=20883744
48: [00:17:05] <spronk> like the navy
49: [00:17:06] <DanaeNZ> yes, so atrocious
50: [00:17:16] <spronk> wel
51: [00:17:16] <Nightjar> And the 30 years afterwards where people went "eww, what the fuck were we thinking?"
52: [00:17:19] <spronk> those pants are fucking terrible
53: [00:17:26] <spronk> that's like
54: [00:17:30] <spronk> no no no break
55: [00:17:31] <Nightjar> Until some hipster came along and went "what a great idea! I'll be so unique!"
56: [00:17:34] <DanaeNZ> oo that texture is nice
57: [00:18:13] <DanaeNZ> I'm just lolling at such a strong opinion on Navy
58: [00:18:15] <Nightjar> I can wear this slim fit navy suit with my striped socks and it'll go so well with my waxed mustache and comb-over
59: [00:18:23] <spronk> jiesus Nightjar
60: [00:18:34] <spronk> i don't want black, and I don't look good in grey, so... navy!
61: [00:18:45] * Nightjar shrugs.
62: [00:18:51] <Nightjar> So long as you're sure, chap!
63: [00:18:59] <spronk> i don't want be hipster
64: [00:19:17] <DanaeNZ> spronk: then just make sure the trousers actually reach your ankles haha
65: [00:19:20] <Nightjar> lol, I must admit it's hard not to these days. The trends take over so fast.
66: [00:19:31] <spronk> i'm not gonna be wearing this with my neatly trimmed short length beard and combover hair
67: [00:19:38] <Nightjar> DanaeNZ, boom, haha! Calling it like it is!
68: [00:19:40] <spronk> nor am i going to be sporting one of those navali messenger bags
69: [00:19:46] <DanaeNZ> sipping your coconut milk matcha latte
70: [00:19:49] <spronk> exactlty
71: [00:19:54] <Nightjar> COLD BREW
72: [00:19:57] <spronk> jesus that sounds disgusting
73: [00:20:00] <DanaeNZ> (which incidentally are fucking delicious)
74: [00:20:04] <Nightjar> lulz
75: [00:20:05] <spronk> really?!
76: [00:20:11] <DanaeNZ> if you like matcha
77: [00:20:15] * spronk likes matcha
78: [00:20:16] <Nightjar> yeh cold brew is a thing holmes.
79: [00:20:17] <spronk> well
80: [00:20:20] <spronk> i like matcha bubble tea :P
81: [00:20:29] <spronk> cold brew is the shit Nightjar
82: [00:20:34] <DanaeNZ> spronk: do you like bitter matcha? like less sweet
83: [00:20:36] * spronk has been cold brewing for longer than it's been hipster
84: [00:20:36] <DanaeNZ> like
85: [00:20:37] <Nightjar> I"m gonna try tomorrow.
86: [00:20:49] <DanaeNZ> spronk: that makes you a hipster bro
87: [00:20:50] <Nightjar> spronk; the real deal. You read it here first :>
88: [00:20:53] <spronk> ffff
89: [00:20:55] <spronk> :'(
90: [00:20:57] <DanaeNZ> hahaha
91: [00:20:59] <Nightjar> nah DanaeNZ not even ow.
92: [00:21:07] <spronk> i'd be super hipster judged by all the things i've done for years
93: [00:21:10] <spronk> like chemex
94: [00:21:51] <Nightjar> Or like when we played summer games spronk, and all the kids were commenting on my glasses.
95: [00:21:58] <Nightjar> 20 year old oakleys xD
96: [00:22:04] <spronk> haha ikr
97: [00:22:17] <spronk> i have a pair of A-Wires...(?) lying around somewhere with the iridium lenses
98: [00:22:19] <spronk> pwn as
99: [00:22:20] <Nightjar> Just wait for it to loop back around and be cool again, like the navy suit ;P
100: [00:22:39] <spronk> http://www.ruas.co.uk/images/sunglasssale/Cheap%20Retro%20fashion,%20Oakley%20A%20Wire%202.0%20Spring%20Hinged%20Silver%20Ice%20Iridium%20Sunglasses%20Official%20Website%201468.jpg
101: [00:22:48] <Nightjar> My old man probably has one in the back of the closet that mum refused to allow him to wear.
102: [00:23:40] <spronk> they were the shiit back in 2001.
103: [00:26:27] <Nightjar> Yeh, mine similar. Also 2k1. Wore them up until this time last year :>
104: [00:27:02] <Nightjar> Fashion starting to come back in, I got a similar shaped set that fit my face well (not Os tho)
105: [00:27:34] <Nightjar> I notice people starting to roll around with circular lenses in their glasses too, like was cool in the early 90s
106: [00:34:11] * samsam quit (Quit: samsam)
107: [00:48:55] * Azure quit (Remote host closed the connection)
108: [00:51:51] * Azure has joined #silverstripe
109: [01:10:57] * gelignite_ has joined #silverstripe
110: [01:13:48] * gelignite quit (Disconnected by services)
111: [01:13:53] * gelignite_ is now known as gelignite
112: [01:14:13] * Stomach quit (Ping timeout: 248 seconds)
113: [01:15:07] * Stomach has joined #silverstripe
114: [01:19:44] * DanaeNZ quit (Ping timeout: 265 seconds)
115: [01:22:22] * micmania1 quit (Quit: micmania1)
116: [01:43:04] * Stomach quit (Quit: zzz)
117: [01:50:18] * janneklouman-- has joined #silverstripe
118: [01:53:41] * pweh quit (Ping timeout: 248 seconds)
119: [01:54:35] * micmania1 has joined #silverstripe
120: [01:54:37] * janneklouman-- quit (Ping timeout: 240 seconds)
121: [01:56:54] * Stomach has joined #silverstripe
122: [01:58:12] <spronk> sche's a scorcher here today
123: [02:07:02] <xyphoid> cracked 30, good times
124: [02:07:13] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
125: [02:07:15] <xyphoid> i am in the air conditioning polar vortex of the office luckily
126: [02:07:21] <spronk> wooooo
127: [02:09:17] * samsam has joined #silverstripe
128: [02:12:49] * Stomach quit (Quit: zzz)
129: [02:15:47] * micmania1 quit (Read error: Connection reset by peer)
130: [02:15:53] * micmania2 has joined #silverstripe
131: [02:26:02] <Nightjar> Our outside has aircon.
132: [02:26:21] <Nightjar> It's safe, excepting the sunburn.
133: [02:29:49] * spronk is slow cooking chili
134: [02:29:56] <spronk> extra hot
135: [02:29:58] <spronk> its gonna be brutal
136: [02:39:14] * samsam quit (Quit: samsam)
137: [02:42:09] <Nightjar> Nothing to cool you down on a hot day than a brutal chilli
138: [02:43:20] <xyphoid> i kind of laughed at the christmas vendor hampers, for some reason hot sauce is the theme this year
139: [02:46:13] * micmania2 quit (Quit: micmania2)
140: [02:46:16] * Stomach has joined #silverstripe
141: [02:49:07] <spronk> :D
142: [02:51:30] <xyphoid> sitehost had the most chocolate but silverstripe had the nicest box
143: [02:52:33] * samsam has joined #silverstripe
144: [02:56:05] <Nightjar> Boxes are the best
145: [02:56:17] <Nightjar> like that old mastercard ad
146: [02:56:23] <Nightjar> buying all the gifts
147: [02:56:34] <Nightjar> watching your kids play with the boxes instead; priceless
148: [03:01:53] <Firesphere> It's "kittens", not "kids" Nightjar
149: [03:07:29] <xyphoid> we actually bought a cat tree for our new kitten
150: [03:07:31] <xyphoid> and it came in a box
151: [03:07:41] <xyphoid> and she likes the cat tree more than the box, i'm baffled
152: [03:13:11] <Nightjar> TFW you spend some time wondering why the sass don't css... only to realise you've got the wrong theme set (the base, not the fork :< )
153: [03:14:50] <Nightjar> Must be time for some leave I rekon :>
154: [03:17:38] <xyphoid> oh didn't you hear, christmas has been cancelled and we're going to have another october starting monday
155: [03:19:05] <Nightjar> D:
156: [03:19:22] <Nightjar> Luckily, Monday is _after_ Christmas.
157: [03:19:29] <Firesphere> ?
158: [03:23:03] <xyphoid> good point i just let them know and they've cancelled teh weekend too
159: [03:29:22] <samsam> well well well
160: [03:29:40] <samsam> Looks like I just spent 4 hours debugging a controller that returns $Project
161: [03:30:00] <samsam> turns out $Project is a template variable that’s “reserved” by the CMS
162: [03:33:20] * Stomach quit (Quit: zzz)
163: [03:43:05] * spronk quit (Quit: I may need a longer sleep timer...)
164: [03:48:55] * samsam quit (Quit: samsam)
165: [04:07:42] * UncleCheese has joined #silverstripe
166: [04:09:53] <Firesphere> \o UncleCheese
167: [04:09:58] <UncleCheese> hey there
168: [04:10:35] <UncleCheese> just thought of something..... when we had lunch the other day, i missed the perfect opportunity to offer that we go Dutch
169: [04:12:33] * DanaeNZ has joined #silverstripe
170: [04:35:47] <Firesphere> :D
171: [04:36:36] <Firesphere> It's actually not that common in the Netherlands anymore. Also, usually we just throw a bunch of money on the table and be done with it :)
172: [05:35:11] * pweh has joined #silverstripe
173: [06:02:04] <UncleCheese> haha
174: [06:13:57] * pweh quit (Ping timeout: 248 seconds)
175: [06:46:13] <Firesphere> Fun fact, in the Netherlands, I had a meetup every spring and autumn called "Dev corner meat-up", where the restaurant bill usually was over 1k euro.
176: [06:46:50] <Firesphere> 15-ish people in a posh Argentinian restaurant... bill skyrocketed. Some of them often even had to save up before confirming if they could make it.
177: [06:47:38] <Firesphere> And as everything went with cash, I often walked up to the counter with over 1200 euro cash in my hand O_o
178: [06:54:53] * wmk has joined #silverstripe
179: [07:00:37] * wmk quit (Ping timeout: 268 seconds)
180: [07:05:40] * Shrike_Finland has joined #silverstripe
181: [07:14:36] * wmk has joined #silverstripe
182: [07:18:54] <Nightjar> Arrival; good movie _b :)
183: [07:40:13] * Shrike_Finland quit (Quit: Leaving.)
184: [07:44:30] * Eliseth has joined #silverstripe
185: [07:44:40] <wmk> Eliseth, ☺/
186: [07:53:19] <Eliseth> wmk! \o/
187: [07:56:40] <Eliseth> Offtopic: anyone know of a good online PHP course that goes a bit further than codeacademy, but still has measurable progress? Need it for my employer
188: [07:57:41] <wmk> Eliseth, life and the current project *G*
189: [07:58:06] <Eliseth> HAhaha, yeah.. that was my initial reaction as well
190: [07:58:53] <wmk> i don't know that codeacademy stuff, but it's hard to teach something more than the basics. Or it's always a special topic you have to transform in your daily work somehow.
191: [07:58:59] <wmk> and that "transform" stuff is the hardest
192: [08:06:55] <wmk> Eliseth, reminds me on that old joke: Q: "excuse me, how do i get to royal albert hall?" A: "practise, practise, practise"
193: [08:09:16] <Eliseth> Hahaha
194: [08:20:39] <Firesphere> Eliseth: You could try one of those online challenges things
195: [08:20:52] <Firesphere> They're not really courses, but they show progress really well
196: [08:21:13] <Firesphere> And at the same time, show capabilities of people :D
197: [08:21:32] <Firesphere> I suck at them by the way, as the challenges are usually not in my "way of thinking"
198: [08:21:55] <Eliseth> Hmmh, interesting... but they don't really "teach" anything do they?
199: [08:22:31] <Firesphere> Well, not teaching as in "explain how things work" as such
200: [08:22:54] <Firesphere> but they do challenge to think outside the box and such
201: [08:23:04] <Firesphere> And challenge to improve while doing
202: [08:23:29] <Firesphere> which I like better than actual tutorials/lessons, as they usually just say "do this" and then let you repeat it
203: [08:23:58] <Eliseth> Well, yes, definitely
204: [08:23:59] <wmk> Firesphere, sometimes for me "transforming" to my current setup is a problem. Something is very general, but how should i use it with silverstripe etc...
205: [08:25:02] <Eliseth> But for people seeking a more... fundamental understanding of stuff like OO principles it might be a bit early to send them to those challenges
206: [08:25:24] <Firesphere> That's absolutely true to both
207: [08:25:50] <Firesphere> Depending on the person, some people prefer being challenged, while other prefer learning from a teacher :)
208: [08:28:21] * pweh has joined #silverstripe
209: [08:28:41] <wmk> some prefer a good book or tutorial
210: [08:28:49] * Shrike_Finland has joined #silverstripe
211: [08:29:30] <Eliseth> Hmmh
212: [08:31:14] <wmk> Eliseth, still php5 or alrady for php7?
213: [08:31:46] <wmk> if a book, it should cover both imho
214: [08:32:01] <wmk> basics in php5 and this could be improved with php7
215: [08:47:06] * trash__ quit (Ping timeout: 260 seconds)
216: [09:03:31] * filisko has joined #silverstripe
217: [09:04:29] * kinglozzer has joined #silverstripe
218: [09:29:32] * filisko quit (Remote host closed the connection)
219: [09:39:11] * Shrike_Finland quit (Quit: Leaving.)
220: [09:40:42] * filisko has joined #silverstripe
221: [09:43:40] * Shrike_Finland has joined #silverstripe
222: [09:55:54] * agent44 has joined #silverstripe
223: [10:05:16] * Shrike_Finland quit (Quit: Leaving.)
224: [10:09:02] * r5v3rb has joined #silverstripe
225: [10:09:07] <r5v3rb> merry chrimbles
226: [10:11:16] <r5v3rb> any idea why inserting an image in HTMLField still uses width instead of max-width to set the initial size - I’d have thought in a responsive world max-width would be better and then on caption have it set as width: 100%; thus allowing shrinking and sizing according to the grid?
227: [10:11:54] <r5v3rb> or am I missing something else?
228: [10:23:54] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
229: [10:27:35] * pweh quit (Read error: Connection reset by peer)
230: [10:32:57] <r5v3rb> okay, worked out it can be fixed by applying max-width as css to the img inside the captionImage
231: [10:34:38] <r5v3rb> doh I mean width: auto !important on the surrounding captionImage in a media query
232: [11:00:05] * kinglozzer quit (Ping timeout: 260 seconds)
233: [11:04:02] * kinglozzer has joined #silverstripe
234: [11:06:22] * Shrike_Finland has joined #silverstripe
235: [11:15:16] <r5v3rb> kinglozzer: you around?
236: [11:19:30] <kinglozzer> r5v3rb: aye
237: [11:20:28] <r5v3rb> weird one - why after adding CMS to a Framework only site do I get ‘Note: Some page types are not allowed for this selection’ for any page anywhere!?!? I have dev/built/flushed etc till the cows came home!
238: [11:21:06] <kinglozzer> r5v3rb: Tried /admin/pages/add?flush=1 ?
239: [11:21:15] <kinglozzer> I think those permissions (who can add what/where) are cached
240: [11:21:47] <r5v3rb> nope no difference
241: [11:21:57] <r5v3rb> but yes they are cached I believe too
242: [11:22:27] <r5v3rb> its as if cancreate canedit canview are all missing - if I duplicate a page its fine
243: [11:22:28] <kinglozzer> r5v3rb: No idea then
244: [11:22:31] <r5v3rb> :P
245: [11:22:37] <r5v3rb> you’re rubbish!
246: [11:22:42] <kinglozzer> How about if you delete the cache dir? :P
247: [11:22:57] <r5v3rb> drastic...
248: [11:23:33] <r5v3rb> btw, have a great christmas !
249: [11:23:46] <kinglozzer> Cheers, you too!
250: [11:23:59] <r5v3rb> i’m finalising my software :D no stopping now
251: [11:24:09] <kinglozzer> r5v3rb: If that doesn't work, check the permissions in SiteConfig... "who can add pages at the root of this site" etc
252: [11:24:13] <r5v3rb> new year = accountants and business setup
253: [11:24:32] <r5v3rb> ‘Anyone’
254: [11:25:10] <kinglozzer> :(
255: [11:25:31] <r5v3rb> however I have a feeling due to permission changes on security you may be on to something I forgot I did at the start in April!
256: [11:27:31] <r5v3rb> nope, they are all okay
257: [11:31:18] * Custheyder has joined #silverstripe
258: [11:31:18] <ss-helper> Custheyder: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
259: [11:32:00] <Custheyder> Hi, I have a ReflectionException: Class MemberDecorator does not exist
260: [11:32:23] <Custheyder> Any ideas where I need to be looking to get it fixed?
261: [11:48:24] <r5v3rb> kinglozzer: driving me nuts - permission for group and user ‘full admin’ but not allowed to create… no extensions stopping it… weird
262: [11:48:46] <kinglozzer> r5v3rb: Have you got custom canCreate stuff?
263: [11:48:53] <kinglozzer> That's not calling parent::canCreate() or something
264: [11:48:57] <kinglozzer> ?
265: [11:49:02] <r5v3rb> only applied to File: extensions:
266: [11:49:15] <r5v3rb> so only logged in users see files they have uploaded ;)
267: [11:53:38] <r5v3rb> time to remove that extension and see
268: [11:53:59] <kinglozzer> r5v3rb: I have no idea then :P I'd start debugging in CMSPagesAddController or CMSMain or wherever it decides what pages you can add :P
269: [11:54:35] <r5v3rb> yup, not major as it’ll only ever be me using CMSPages but annoying that it isn’t working
270: [11:58:02] <Custheyder> Anyone any ideas for me?
271: [12:00:18] <ss-helper> SilverStripe 3.5 - GET form that respects already set url variables - http://stackoverflow.com/questions/41262113/silverstripe-3-5-get-form-that-respects-already-set-url-variables
272: [12:01:06] <kinglozzer> Custheyder: Well some part of your code is trying to add an extension "MemberDecorator" that doesn't exist
273: [12:01:12] <kinglozzer> That's about all we can tell you :P
274: [12:01:29] <kinglozzer> The stack trace should tell you where it's being called from, if not then check config.yml
275: [12:03:42] <Custheyder> Thank you.. Gives me something to look at. This was a site package up and sent to be installed on a new server. This is just the lastest headache.
276: [12:05:17] <kinglozzer> Custheyder: Are you using composer?
277: [12:05:24] <kinglozzer> Perhaps a module that's required wasn't installed if not
278: [12:07:36] <Custheyder> The developers packaged up the folders and files, backed up the database and handed it over. I've reinstated the database, unpacked the the files, made sure the database connected and...
279: [12:08:31] <kinglozzer> Custheyder: Is there a composer.json in the document root?
280: [12:09:10] <Custheyder> yes
281: [12:09:50] <kinglozzer> Custheyder: Hm, it may be that they've already included everything anyway now I think about it... is there a vendor/ directory too?
282: [12:10:37] <Custheyder> yes there is
283: [12:10:59] <r5v3rb> kinglozzer: its the javascript looking for #Form_AddForm_PageType li:not(.disabled) and that doesn’t appear to exist in the html #Form_AddForm_PageType does but no li!
284: [12:11:08] <r5v3rb> modreno admin maybe causing this issue!
285: [12:12:05] <kinglozzer> Custheyder: What does the stack trace say? Does it tell you where MemberDecorator is being referenced?
286: [12:13:41] <Custheyder> ReflectionClass->__construct(MemberDecorator) ClassInfo.php:284
287: [12:14:07] <Custheyder> Is that the place?
288: [12:14:13] <kinglozzer> Nope, further back than that
289: [12:14:27] <kinglozzer> Can you paste the full stack trace?
290: [12:14:29] <kinglozzer> !paste Custheyder
291: [12:14:29] <ss-helper> Custheyder: 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.
292: [12:16:25] <r5v3rb> kinglozzer: dang nabbit - solved
293: [12:17:06] <Custheyder> http://kopy.io/odGVX
294: [12:19:47] <kinglozzer> Custheyder: Just checking - have you visited /dev/build?flush yet?
295: [12:20:31] <r5v3rb> kinglozzer: I had overidden OptionsetField and it was being used by the CMS for some reason
296: [12:20:40] <r5v3rb> hence no ul li in the formfield
297: [12:20:48] <kinglozzer> Oops :P
298: [12:20:53] <r5v3rb> bugger
299: [12:22:02] * slievr has joined #silverstripe
300: [12:22:09] <r5v3rb> right finish off the site and be ready for new year now
301: [12:23:07] <Custheyder> kinglozzer: There doen't appear to be a /dev/
302: [12:24:36] * samsam has joined #silverstripe
303: [12:26:29] <kinglozzer> Custheyder: No, there isn't a folder, visit the url mysite.com/dev/build?flush
304: [12:26:37] <kinglozzer> It will clear/rebuild caches
305: [12:28:45] <Custheyder> It didn't like that at all... 404
306: [12:29:08] <kinglozzer> Custheyder: Do you have mod_rewrite enabled?
307: [12:29:48] <Custheyder> I thought it was... I'll check
308: [12:29:56] <kinglozzer> Try mysite.com/index.php/dev/build?flush
309: [12:31:03] <Custheyder> that worked... but came back with the same error
310: [12:31:31] <kinglozzer> Custheyder: Okay, can you paste the contents of composer.json? I think you may be missing a module or something
311: [12:34:43] <Custheyder> http://kopy.io/taA1V
312: [12:36:04] <kinglozzer> Okay, I don't think there's anything in there that would cause your error
313: [12:36:17] <kinglozzer> Is there a MemberDecorator.php somewhere in mysite/
314: [12:36:18] <kinglozzer> ?
315: [12:37:16] <Custheyder> nope
316: [12:37:35] <Custheyder> just a page.php
317: [12:37:45] <kinglozzer> Custheyder: Can you contact the developers and ask them?
318: [12:38:00] <Custheyder> and a couple of folders that don't have it either.
319: [12:38:12] <kinglozzer> Just tell them that it's trying to add an extension called "MemberDecorator", but it doesn't seem to exist anywhere
320: [12:38:52] <Custheyder> I will contact them. Now I am happy it's not something obvious I've missed.
321: [12:39:13] <Custheyder> Many thanks for your time and patience.
322: [12:39:33] <kinglozzer> You're welcome :)
323: [12:39:45] <Custheyder> I'll pop back if I get an answer.
324: [12:41:14] * Custheyder quit (Quit: Page closed)
325: [12:49:45] * filisko quit (Ping timeout: 260 seconds)
326: [12:56:16] * Jonny_ has joined #silverstripe
327: [13:00:13] <Jonny_> Hey guys. Can someone point me in the right direction to adding a custom button to the bottom bar in SS3.4 . I've tried following the tutorial at https://docs.silverstripe.org/en/3.3/developer_guides/customising_the_admin_interface/how_tos/extend_cms_interface/ but $fields->fieldByName('MajorActions') doesn't seem to exist
328: [13:17:18] <r5v3rb> Jonny_: try betterbuttons addon maybe?
329: [13:19:52] * gelignite has joined #silverstripe
330: [13:22:03] <Jonny_> I'd rather not use addons if possible.
331: [13:22:42] * UndefinedOffset has joined #silverstripe
332: [13:24:09] * samsam quit (Quit: samsam)
333: [13:42:49] <slievr> Jonny_: you could still have a look to see how unclecheese does it.
334: [13:43:32] <Jonny_> I guess. Alright, thanks guys.
335: [13:47:27] <wmk> !paste Jonny_
336: [13:47:27] <ss-helper> Jonny_: 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.
337: [13:48:09] * r5v3rb_ has joined #silverstripe
338: [13:48:10] <ss-helper> r5v3rb_: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
339: [13:51:19] * r5v3rb quit (Ping timeout: 268 seconds)
340: [13:51:19] * r5v3rb_ is now known as r5v3rb
341: [14:07:01] * samsam has joined #silverstripe
342: [14:09:31] <Jonny_> The problem is I don't even know where to start ss-helper, hence asking for a point in the right direction. I presumed somebody had already written a tutorial somewhere but I couldn't seem to find one.
343: [14:09:45] <Jonny_> wmk I mean
344: [14:10:44] <wmk> well, the link you proposed above has the "getCMSActions" method which you can override for actions
345: [14:11:03] <wmk> but an extension / addon isn't a bad thing, it's a way to keep basic things clean
346: [14:11:28] <wmk> betterbuttons is a nice module (with some quirks sometimes...)
347: [14:11:58] * Shrike_Finland1 has joined #silverstripe
348: [14:11:58] * Shrike_Finland quit (Read error: Connection reset by peer)
349: [14:14:31] <Jonny_> I presumed it'd be a simple task so seemed unnecessary to add a module just for that. Adding a new Action through GridFields was easy, I didn't realise it'd so difficult to add a button to the correct place in the DataObject page itself (nor am I sure why this would be the case). I can add an inline-button/ a button in a new tab fine using getCMSFields. But getCMSActions doesn't seem to do anything.
350: [14:15:09] <wmk> Jonny_, DataObject?
351: [14:15:18] <wmk> so you have a subclass of ModelAdmin or what?
352: [14:15:40] <wmk> without more information what you're trying to do where it's hard to help you
353: [14:16:08] <wmk> it might be a simple task, but i unfortunately never had the need for it, so i can just help you in the right direction
354: [14:16:30] <wmk> so you have a gridfield?
355: [14:16:44] <Jonny_> I'm just extending the DataObject class and trying to add a button to the CMS (where it says Edit and Save).
356: [14:16:48] <wmk> and when you open a DO to edit it in the gridfield, you want to add a button=?
357: [14:17:02] <wmk> define button
358: [14:17:17] <wmk> in that left menu where you see "Pages" and "Security" ?
359: [14:18:07] <Jonny_> https://i.gyazo.com/7a1082bbc3f8c3de1d0f7eb4478e2a78.png
360: [14:18:29] <Jonny_> I want to add an action (button) in this section
361: [14:18:44] <wmk> betterbuttons module does that for you
362: [14:18:53] <Jonny_> I know.
363: [14:19:08] <wmk> getCMSActions should do it in your dataobject
364: [14:19:22] <wmk> HOW do you edit that DataObject?
365: [14:19:38] <wmk> through a grid in SiteTree object (aka Page) or are you using a ModelAdmin?
366: [14:20:06] <Jonny_> ModelAdmin
367: [14:20:16] <wmk> that's a useful information
368: [14:21:49] <wmk> so you're inside a gridfield's edit form
369: [14:22:57] <Jonny_> Yup.
370: [14:25:01] * filisko has joined #silverstripe
371: [14:28:02] <Jonny_> I mean the fact that someone has created one of the most popular Silverstripe modules for it shows that it's not as easy as it should be I guess.
372: [14:28:53] * samsam quit (Quit: samsam)
373: [14:30:41] <Jonny_> When I put `public function getCMSActions(){die();}` in the DataObject's class PHP it still functions fine which shows that getCMSActions() is never called.
374: [14:38:49] <kinglozzer> Jonny_: Yeah that's never called for GridField. It's a bit of an antipattern anyway, having controller logic dumped in a model like that...
375: [14:39:29] <kinglozzer> If you're really intent on avoiding betterbuttons (using that is definitely the easiest approach), you'll need to add some extensions to GridField
376: [14:40:36] <kinglozzer> For example... https://gist.github.com/kinglozzer/d67de55b86b9cbd7bc39a669772cf1a9
377: [14:41:11] <kinglozzer> If you add an action using that approach, you'll need to add an extension to GridFieldDetailForm_ItemRequest which adds the action handler methods
378: [14:41:28] <kinglozzer> (plus adds $allowed_actions = ['doFoo'];)
379: [14:43:15] <Jonny_> Thanks. I'll try that and see how it goes.
380: [14:45:18] * samsam has joined #silverstripe
381: [14:48:24] * wmk quit (Read error: Connection reset by peer)
382: [14:51:57] * r5v3rb_ has joined #silverstripe
383: [14:54:09] * r5v3rb quit (Ping timeout: 265 seconds)
384: [14:54:10] * r5v3rb_ is now known as r5v3rb
385: [14:54:26] * janneklouman-- has joined #silverstripe
386: [15:00:12] * DanaeNZ quit (Remote host closed the connection)
387: [15:00:23] * trash__ has joined #silverstripe
388: [15:02:05] * agent44 quit (Quit: zzz)
389: [15:02:46] * trash_ quit (Ping timeout: 260 seconds)
390: [15:05:41] * agent44 has joined #silverstripe
391: [15:10:23] * samsam quit (Quit: samsam)
392: [15:24:18] * agent44 has left #silverstripe
393: [15:29:36] * Shrike_Finland1 quit (Quit: Leaving.)
394: [15:30:22] <ss-helper> SilverStripe 3.5 - GET form that respects already set url parameters - http://stackoverflow.com/questions/41262113/silverstripe-3-5-get-form-that-respects-already-set-url-parameters
395: [15:31:07] <Jonny_> kinglozzer, that all worked perfectly, thank you!
396: [15:31:33] <kinglozzer> Cool :)
397: [15:48:08] * samsam has joined #silverstripe
398: [15:56:10] * agent44 has joined #silverstripe
399: [15:58:26] * muskie9 has joined #silverstripe
400: [16:04:47] * Eliseth quit (Quit: Textual IRC Client: www.textualapp.com)
401: [16:05:54] * samsam quit (Quit: samsam)
402: [16:12:32] * UndefinedOffset quit (Disconnected by services)
403: [16:12:32] * UndefinedOffset1 has joined #silverstripe
404: [16:13:05] * Jonny_ quit (Quit: Page closed)
405: [16:13:19] * samsam has joined #silverstripe
406: [16:15:33] * UndefinedOffset1 is now known as UndefinedOffset
407: [16:51:14] * r5v3rb quit (Quit: r5v3rb)
408: [16:59:17] <samsam> Guys, I was wondering, in theory you could create a mechanism in the page_controller init() that sets the $url_handlers right?
409: [17:00:09] <samsam> instead of hardcoding url_handlers you could have it dynamically based on some (user) input
410: [17:00:12] * janneklouman-- quit (Ping timeout: 258 seconds)
411: [17:00:38] <kinglozzer> samsam: In theory, yeah - I think init() is called before RequestHandler::findAction()
412: [17:00:44] <samsam> awesome
413: [17:01:14] * DanaeNZ has joined #silverstripe
414: [17:05:28] * DanaeNZ quit (Ping timeout: 245 seconds)
415: [17:28:25] * kinglozzer quit ()
416: [18:02:59] * DimiStripe quit (Quit: DimiStripe)
417: [18:06:53] * filisko quit (Remote host closed the connection)
418: [18:16:19] * agent44 has left #silverstripe
419: [18:34:47] * filisko has joined #silverstripe
420: [18:45:25] <ss-helper> SilverStripe setting controller $url_handler through init() - http://stackoverflow.com/questions/41269670/silverstripe-setting-controller-url-handler-through-init
421: [19:03:46] * Stomach has joined #silverstripe
422: [19:10:13] <Nightjar> no samsam
423: [19:10:14] <Nightjar> no.
424: [19:10:45] <Nightjar> $this->config()->url_handlers = ...
425: [19:11:05] <Nightjar> 1) _private_ static.
426: [19:11:12] <Nightjar> 2) Not actually private static.
427: [19:11:38] <Nightjar> Is just a default for the config system. Modifying it will do nothing.
428: [19:12:14] <Nightjar> Config has already read and cached the value into the manifest. You'd need to flush to change it, which is not something you can do reaching init().
429: [19:12:42] <Nightjar> cool? :D
430: [19:13:39] <Nightjar> Other than the method, it's all doable though, yeh. :)
431: [19:14:29] <Nightjar> (so use the config system to update the values)
432: [19:15:38] <Nightjar> But in this case (different action based on user input), you probably just want to alter ContentController::handleAction
433: [19:15:40] <Nightjar> :)
434: [19:15:55] <Nightjar> as in, override it in your subclass
435: [19:16:48] <Nightjar> or; have a generic route that matches all your input variable stuff, and pass it to a single function for advanced handling.
436: [19:18:18] <Nightjar> The major caveat there is that you'll need to have enough params in your route to cover all the variables, if there's a variable length.
437: [19:18:27] * samsam quit (Quit: samsam)
438: [19:18:42] <Nightjar> D: samsam no, come baaaaack!
439: [19:18:59] <Nightjar> oh well, good luck
440: [19:20:40] * vanny has joined #silverstripe
441: [19:23:30] * Stomach quit (Quit: zzz)
442: [19:24:38] <vanny> hi all
443: [19:25:12] * samsam has joined #silverstripe
444: [19:26:25] <samsam> Nightjar: in that case, I’ll just use one generic route
445: [19:26:28] <samsam> nice input btw :)
446: [19:26:58] <Nightjar> hooray, he came baaaaaack! \o/
447: [19:27:16] <Nightjar> hi vanny
448: [19:27:21] * UncleCheese has joined #silverstripe
449: [19:27:48] <vanny> how you all doing this christmas week
450: [19:28:53] <Nightjar> samsam, yeah, or just route them all. If there's a finite amount of options (I imaigne there is) - or look at how the default route handles the $Action urlparam
451: [19:29:00] <Nightjar> :)
452: [19:29:06] <Nightjar> vanny, eehhhh, y'know.
453: [19:29:27] <Nightjar> "WE NEED IT BEFORE CHRISTMAS SO WE CAN GO ON HOLIDAY AND IGNORE IT. IT'S VERY IMPORTANT, THIS IS URGENT."
454: [19:29:38] <vanny> Im not feeling the spirit this year
455: [19:30:17] <Nightjar> The spirit is not to be felt. It's to be smelt, and drunk.
456: [19:31:05] <vanny> i've been working hard at the gym on diet and exercise, so smelt will be the best I can do
457: [19:32:17] <Nightjar> I mostly give up the drank, plus more of a beer family anyway.
458: [19:33:00] <vanny> im down 8.5kgs (18lbs), and put on muscle, it is hard work and dont want to sabitage it.
459: [19:33:15] * DanaeNZ has joined #silverstripe
460: [19:39:17] * filisko quit (Ping timeout: 248 seconds)
461: [19:39:28] <vanny> has anyone changed the global $databaseConfig, to be more session based, just exploring something a little crazy
462: [19:40:21] <vanny> I am looking for two people to be using the same interface but working from different databases
463: [19:41:40] <muskie9> vanny I've done some stuff to have an SS database connection and non-SS database connection for migrating data... not sure how that would work w/sessions though
464: [19:42:18] * samsam quit (Quit: samsam)
465: [19:43:09] <vanny> I was thinking it might create some caching issues as well. But I dont want to have to role out changes to multiple sites, just encapsulate it all
466: [19:44:50] * Phlunk3 has joined #silverstripe
467: [19:47:34] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
468: [19:51:19] * Stomach has joined #silverstripe
469: [20:05:50] * UncleCheese has joined #silverstripe
470: [20:22:14] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
471: [20:23:06] * Stomach quit (Ping timeout: 252 seconds)
472: [20:36:17] * Stomach has joined #silverstripe
473: [20:55:17] * micmania1 has joined #silverstripe
474: [20:56:54] * janneklouman-- has joined #silverstripe
475: [21:01:44] * janneklouman-- quit (Ping timeout: 258 seconds)
476: [21:12:40] * micmania1 quit (Quit: micmania1)
477: [21:15:28] <ss-helper> Friendly URLs RewriteCond/Rule blocking access to subfolder - http://stackoverflow.com/questions/38863505/friendly-urls-rewritecond-rule-blocking-access-to-subfolder
478: [21:18:46] * Stomach quit (Quit: zzz)
479: [21:21:16] * Stomach has joined #silverstripe
480: [21:22:27] <Nightjar> ^ Could probably set up an alias.
481: [21:22:54] <Nightjar> but the crux of it lies in RewriteCond -f
482: [21:23:29] * Stomach quit (Client Quit)
483: [21:25:30] * spronk has joined #silverstripe
484: [21:28:30] * UndefinedOffset quit (Quit: Leaving.)
485: [21:28:37] * UncleCheese has joined #silverstripe
486: [21:49:34] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
487: [21:53:38] * lietzmk quit (Quit: Leaving)
488: [21:56:43] * Stomach has joined #silverstripe
489: [22:06:07] * pweh has joined #silverstripe
490: [22:15:04] * Stomach quit (Quit: zzz)
491: [22:24:03] * micmania1 has joined #silverstripe
492: [22:40:55] * vanny quit ()
493: [22:41:38] * micmania1 quit (Quit: micmania1)
494: [22:47:24] * samsam has joined #silverstripe
495: [22:47:42] * Stomach has joined #silverstripe
496: [22:55:26] * samsam quit (Quit: samsam)
497: [23:00:01] * ss-helper quit (Remote host closed the connection)
498: [23:00:19] * ss-helper has joined #silverstripe
499: [23:04:13] * samsam has joined #silverstripe
500: [23:04:48] * Stomach quit (Quit: zzz)
501: [23:09:10] * janneklouman-- has joined #silverstripe
502: [23:13:34] * janneklouman-- quit (Ping timeout: 258 seconds)
503: [23:17:47] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
504: [23:22:04] * zippy has joined #silverstripe
505: [23:22:15] <zippy> SS 3.5.1 out - https://github.com/silverstripe/silverstripe-framework/blob/3.5.1/docs/en/04_Changelogs/3.5.1.md
506: [23:22:19] <zippy> SS 3.4.3 out - https://github.com/silverstripe/silverstripe-framework/blob/3.4.3/docs/en/04_Changelogs/3.4.3.md
507: [23:32:21] * trash_ has joined #silverstripe
508: [23:32:31] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
509: [23:34:09] * zippy has joined #silverstripe
510: [23:36:40] * Stomach has joined #silverstripe
511: [23:39:49] * pweh quit (Ping timeout: 248 seconds)
512: [23:41:06] * r5v3rb has joined #silverstripe
513: [23:41:43] <r5v3rb> good morning (almost) - using tractorcow’s image gallery and getting :: Call to undefined method ImageGalleryImage::setSourceQueryParams() from the files folder of a gallery? any idea why?
514: [23:42:18] <r5v3rb> I acquired this site using this module so not used it before :)
515: [23:55:16] * Stomach quit (Quit: zzz)
516: [23:56:13] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
517: [23:57:55] * micmania1 has joined #silverstripe
518: [23:58:13] <r5v3rb> micmania1: had any dealings with tractorcows image_gallery?
519: [23:58:26] <micmania1> r5v3rb: nope, afraid not
520: [23:58:33] <r5v3rb> bugger
521: [23:58:39] <r5v3rb> nm

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