#silverstripe IRC Log

IRC log for 21 April 2015

All timestamps are in UTC.

1: [00:00:29] * MischaK quit (Ping timeout: 256 seconds)
2: [00:02:23] * spekulatius has joined #silverstripe
3: [00:12:31] * silentninja quit (Ping timeout: 246 seconds)
4: [00:12:32] <adrexia> luke_stw, it looks like a lot of people talked about it, but I don't know what came of it sorry
5: [00:19:58] * adrexia quit (Ping timeout: 245 seconds)
6: [00:21:54] * veb quit (Read error: Connection reset by peer)
7: [00:21:56] * veb_ has joined #silverstripe
8: [00:31:42] * spronk2 has joined #silverstripe
9: [00:31:45] * adrexia has joined #silverstripe
10: [00:32:08] * muskie9_afk is now known as muskie9
11: [00:32:21] <spronk2> HAI EVERYBODY
12: [00:32:37] <Colin[pi]> spronk2: o/
13: [00:32:44] <spronk2> \o
14: [00:33:04] * muskie9 quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
15: [00:35:03] <Ryan-Toast> hai
16: [00:45:51] * spronk2 quit (Quit: I may need a longer sleep timer...)
17: [00:47:09] * spronk2 has joined #silverstripe
18: [00:52:23] <spronk2> i didn't know you were a tab fanatic, ss23
19: [00:53:46] * micmania1 quit (Quit: micmania1)
20: [00:55:38] <Ryan-Toast> TABS OR DEATH
21: [00:56:23] <ss23> spronk2: I'm a finatic of shit that's good
22: [00:56:32] <spronk2> o
23: [00:56:32] <spronk2> /
24: [00:57:19] * JamieT quit (Ping timeout: 246 seconds)
25: [01:13:09] <zippy> but... spaces..
26: [01:13:30] <zippy> clearly spaces
27: [01:14:15] * veb_ is now known as veb
28: [01:15:35] * muskie9 has joined #silverstripe
29: [01:18:08] * micmania1 has joined #silverstripe
30: [01:20:47] <antmas> spaces are weak
31: [01:20:58] <antmas> they're like a lazy tab
32: [01:30:20] <Ryan-Toast> “If $MultipleOf(1)” 10/10 check, Ryan. 10/10.
33: [01:32:05] * Cheddam has joined #silverstripe
34: [01:32:43] <zippy> I wonder what the Batman v Superman movie will be like... I am curious..
35: [01:33:20] <Ryan-Toast> Pretty much DCs last chance.
36: [01:39:06] <antmas> I think it will be retarted because the whole idea is retarted anyway
37: [01:39:12] <antmas> retarded*
38: [01:39:25] <antmas> one punch from superman? Batman is dead. End of story.
39: [01:39:26] <Ryan-Toast> antmas: the source material is pretty good.
40: [01:39:52] <zippy> antmas: what if batman had on a kryptonite suit?
41: [01:39:58] <Ryan-Toast> antmas: there are plenty of timnes where superman fights people in exo-suits./
42: [01:40:26] <antmas> Ryan-Toast: yeah but the dude can lift fucking entire jets with ease
43: [01:40:27] <Ryan-Toast> antmas: it’s based loosely off of this: http://en.wikipedia.org/wiki/The_Dark_Knight_Returns
44: [01:40:33] <antmas> an exo suit aint gon' help
45: [01:40:43] <Ryan-Toast> antmas: you assume they’re fighting.
46: [01:40:46] <Ryan-Toast> for reals
47: [01:41:05] <antmas> yes
48: [01:41:14] <Ryan-Toast> antmas: read the wiki
49: [01:41:17] <antmas> a Batman V Superman story will probably involve fighting
50: [01:42:08] <antmas> mmmm dubios at best
51: [01:42:18] * antmas just hates Superman
52: [01:42:26] <Ryan-Toast> Superman is lkame.
53: [01:42:29] <Ryan-Toast> lame**
54: [01:42:39] <Colin[pi]> DC, stahp
55: [01:43:17] <antmas> it's all just filler crap to get to the eventual Justice League
56: [01:43:28] <antmas> at which point they will mashup with Avengers
57: [01:43:35] <antmas> and then it will be back to square one
58: [01:43:36] * wracu has joined #silverstripe
59: [01:43:43] <Ryan-Toast> I want to see something where everyone superman cares about is murdered, and he goes crazy and kills half thwe world.
60: [01:43:51] <Colin[pi]> I just want a good Green Lantern movie
61: [01:44:07] <Colin[pi]> lol Ryan-Toast
62: [01:44:17] <Ryan-Toast> I just want multiple deadpool movies that are r18, and shit on all other superheroes.
63: [01:44:32] <antmas> Ryan-Toast: you know that won't happen
64: [01:44:38] <Ryan-Toast> antmas: it is happening.
65: [01:44:40] <wracu> hi guys
66: [01:44:43] <wracu> quick question
67: [01:44:47] <antmas> an R18 Deadpool movie would be amazing, but it won't ever be R18
68: [01:44:53] <Ryan-Toast> wracu: No, only movie discussion now.
69: [01:44:58] <wracu> :D
70: [01:45:01] <Ryan-Toast> antmas: it’s R rated.
71: [01:45:01] <Colin[pi]> Ryan-Toast: http://i.imgur.com/WaroGtU.gifv
72: [01:45:21] <Ryan-Toast> Colin[pi]: +1
73: [01:45:34] <antmas> Ryan-Toast: maaaaaaaaybe
74: [01:45:35] <wracu> I'm doing a $this->things() to get some related dataobjects... but I want the first item to be excluded...
75: [01:45:41] <antmas> I still think it will be R16 at best
76: [01:45:43] <Ryan-Toast> antmas: No, it is R rated.
77: [01:45:50] <wracu> should be simple right? just bump the first item off the result...
78: [01:46:08] <antmas> Ryan-Toast: I want to believe
79: [01:46:44] <Ryan-Toast> antmas: https://www.youtube.com/watch?v=tUEkqZxLyrg
80: [01:47:23] * t8 has joined #silverstripe
81: [01:47:25] <t8> Hello people!
82: [01:47:38] <t8> I have a very simple question
83: [01:47:53] <antmas> Ryan-Toast: hmmmm I cvan't help but be skeptical
84: [01:48:02] <antmas> but if that holds up then yes, no other movies matter
85: [01:48:13] <Ryan-Toast> wracu: you could filter out the ID, or just have a if $First in your template
86: [01:48:27] <Ryan-Toast> antmas: I have faith in Ryan Reynolds.
87: [01:48:39] <t8> I have a page at /blog/ when I access /blog/something/ it doesn't seem to use the blogpage_controller to load the page
88: [01:48:55] <antmas> Ryan-Toast: well, he did agree to be the last 'deadpool'
89: [01:48:56] <antmas> :P
90: [01:49:03] <antmas> THE ONE WE DON'T SPEAK OF
91: [01:49:09] <t8> I don't want to use sub pages but use the controller to process the request
92: [01:49:10] <wracu> Ryan-Toast: Yes, just clicked I can use the index on the template to only show where index > 2 or something
93: [01:49:11] <Ryan-Toast> antmas: that didn’t happen. Shhhh
94: [01:49:11] <wracu> ta
95: [01:49:30] <Colin[pi]> wait wasn't Ryan Reynolds in that shitty green lantern?
96: [01:49:41] <Ryan-Toast> t8: what do you want from the parents controller?
97: [01:49:55] <Ryan-Toast> t8: just extend the parents controller.
98: [01:50:00] <Ryan-Toast> in the child.
99: [01:50:04] <t8> There is no child page....
100: [01:50:26] <Ryan-Toast> then “something” would be a method in the blog page?
101: [01:50:35] <antmas> Colin[pi]: yes he was
102: [01:50:41] <antmas> I still never saw that one
103: [01:50:45] <antmas> and never will
104: [01:50:48] <t8> I see
105: [01:51:03] <Ryan-Toast> t8: make sure it’s in the $allowed_actions array too.
106: [01:51:13] * muskie9 quit (Remote host closed the connection)
107: [01:51:23] <t8> Thanks Ryan-Toast I'll try that
108: [01:51:46] <Colin[pi]> antmas: yeah I haven't seen it but everyone says it was terrible, so I prolly wont either
109: [01:51:55] <Ryan-Toast> t8: http://doc.silverstripe.org/en/developer_guides/controllers/access_control/
110: [01:53:02] <adrexia> I didn't think it was that bad. But I had no expectations and didn't really know what the Green Lantern was.
111: [01:53:44] * luke_stw quit (Quit: Page closed)
112: [01:53:54] * antmas_ has joined #silverstripe
113: [01:54:13] <adrexia> But then I think the Captain America movies were the best avenger movies - which most people seem to think is wrong ;)
114: [01:54:35] <adrexia> so my taste may be questionable
115: [01:54:38] <antmas_> adrexia: I loved Winter Soldier
116: [01:54:45] <adrexia> :D
117: [01:54:47] <antmas_> my favourite so far besides Thor 2
118: [01:55:04] * antmas quit (Ping timeout: 246 seconds)
119: [01:55:08] * antmas_ is now known as antmas
120: [01:55:31] <Colin[pi]> are super heroes going to become a #ss thing?
121: [01:55:49] <Colin[pi]> we haven't had our car or burgerfuel talk yet today
122: [01:56:01] <adrexia> http://www.dailymail.co.uk/femail/article-3032668/Drab-office-given-incredible-make-employees-use-8-024-Post-notes-create-pixelated-superhero-portraits.html
123: [01:56:15] <adrexia> car talk is boring,. burgerfuel is yum
124: [01:56:20] <adrexia> ;)
125: [01:56:59] * antmas is trying hard to get his son to not have Spiderman as his favourite superhero
126: [01:57:41] <MichalKleiner> you mean UC's car in var car? :-D
127: [01:57:46] <Colin[pi]> MichalKleiner: lol
128: [01:57:52] <Colin[pi]> varcar, cannot unhear
129: [01:57:59] <antmas> varcar
130: [01:58:00] <antmas> :<
131: [01:59:20] <MichalKleiner> on the same note.. gif vs jif :-D
132: [01:59:31] <Colin[pi]> the people that say jif...
133: [01:59:32] <Colin[pi]> shun
134: [01:59:33] <Colin[pi]> SHUN
135: [02:00:17] <MichalKleiner> lol :-D
136: [02:00:27] <wracu> urg. How would I go about setting a default value for a $many_many_extraFields?
137: [02:01:40] <MichalKleiner> good question wracu
138: [02:01:43] <MichalKleiner> dunno
139: [02:01:45] <wracu> I have a sort order, which is stored in the joining table for the $many_many item... and I want to set the default to a high number, ciurrently it's 0 by default (front of the list))
140: [02:02:29] <wracu> context... allowing differnt sort orders on different pages, for the same items...
141: [02:02:57] <wracu> Page1, a:b:c:d ... Page2, b:c:a:d
142: [02:03:39] <wracu> it all works, but the setting of the sort value is only being set IF i sort it. (using the drag and drop gridfield sort module)
143: [02:04:12] <wracu> meh might come back to it, and live with the fact that each item being added MUST be sorted (as part of process)
144: [02:07:52] <t8> Ryan-Toast: is there any way to route all paths after /blog/ to one method? for example /blog/something/ and /blog/nothing/ will trigger a method called public function everything() {}
145: [02:11:05] <t8> Or anyone?
146: [02:11:17] <zippy> I've done it before......
147: [02:12:55] <zippy> ss23: 3.1.13?
148: [02:13:02] <ss23> idk
149: [02:13:05] <ss23> I don't do opensource
150: [02:13:06] <ss23> :O
151: [02:23:46] * veb quit (Excess Flood)
152: [02:24:01] * veb has joined #silverstripe
153: [02:35:02] * veb has left #silverstripe
154: [02:35:05] * veb has joined #silverstripe
155: [02:35:10] <veb> http://i.imgur.com/CgANTHF.jpg
156: [02:35:12] <veb> HAHAHAHAHA
157: [02:35:14] <veb> HA HA HA AHAAAAA
158: [02:36:05] <Ryan-Toast> veb: heh
159: [02:36:41] <Ryan-Toast> veb: seems planned though, why would he have unwrapped it?
160: [02:36:49] <veb> to show
161: [02:36:56] <Ryan-Toast> this is true :)
162: [02:36:56] <veb> maybe it doesn't come wrapped
163: [02:36:58] * jedateach has joined #silverstripe
164: [02:37:01] <Ryan-Toast> veb: they do
165: [02:37:05] <veb> but look at his pain
166: [02:37:10] <veb> it's like "NOOO?
167: [02:38:43] <spronk2> https://youtu.be/ItAhEL_TuAU?t=4m40s
168: [02:38:47] <spronk2> holy fuck that cat is lol
169: [02:39:42] * jedateach has left #silverstripe
170: [02:43:15] <Ryan-Toast> Youtube channels like that should just be “top posts from video subreddits”
171: [02:43:35] <antmas> it's like that image of the girl balancing chiken nuggets on a plate in the bath
172: [02:43:38] <antmas> staged
173: [02:43:38] <antmas> :P
174: [02:47:29] <zippy> mm so, can get silverstripe to run off the composer autoload and drop the ss autoloader..
175: [02:54:45] <zippy> Ryan-Toast: When you use bootstrap, do you pull in the whole thing, or just pull in (comment/uncomment) the scss you need?
176: [02:55:06] <Ryan-Toast> zippy: https://github.com/Rhym/silverstripe-boilerplate/blob/master/scss/_bootstrap.scss
177: [02:55:17] <zippy> yeap
178: [02:55:19] <zippy> ta
179: [02:55:53] <Ryan-Toast> zippy: make sure to only use import if you’re using sass/less
180: [02:56:55] <zippy> this chappy at the top of his style.scss file has @import url(https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.4/css/bootstrap.min.css);
181: [02:57:39] <Ryan-Toast> zippy: import is slow.
182: [02:57:58] <zippy> I don't like it in there at all
183: [02:58:17] <zippy> besides, the site is basic, just needs the grid a few other bits and that all
184: [03:01:14] <Ryan-Toast> zippy: I’m systematically removing boostrap from my workflow.
185: [03:01:20] <zippy> oh?
186: [03:01:31] <Ryan-Toast> zippy: yeah, too much bloat.
187: [03:01:43] <Ryan-Toast> I just like the grids.
188: [03:02:06] <zippy> yea, so just using it for the grid?
189: [03:02:19] <Ryan-Toast> Pretty much
190: [03:02:43] <Ryan-Toast> Will make my own grid that uses the same syntax eventually.
191: [03:02:48] <Ryan-Toast> Will make it flex enhanced.
192: [03:02:54] <Ryan-Toast> with floats as a fallback.
193: [03:03:02] <Ryan-Toast> When I get some time/can be fucked
194: [03:04:10] * veb quit (Ping timeout: 255 seconds)
195: [03:05:43] * veb has joined #silverstripe
196: [03:06:21] * spronk2 quit (Quit: I may need a longer sleep timer...)
197: [03:14:54] <nontgor> wmk: Fell asleep :)
198: [03:16:48] * Colin[pi] quit (Ping timeout: 244 seconds)
199: [03:17:44] * antmas quit (Quit: Page closed)
200: [03:18:53] * veb quit (Read error: Connection reset by peer)
201: [03:19:04] * veb has joined #silverstripe
202: [03:26:32] * wmk has joined #silverstripe
203: [03:31:21] * veb_ has joined #silverstripe
204: [03:31:39] * veb quit (Read error: Connection reset by peer)
205: [03:32:05] * Vanny has joined #silverstripe
206: [03:32:16] <Vanny> hi all
207: [03:33:08] <Vanny> My ->filter is doing a leftjoin, how can I make it an inner join?
208: [03:39:57] <UncleCheese> ->innerJoin
209: [03:42:51] * spronk2 has joined #silverstripe
210: [03:43:06] <zippy> spronk2: o/
211: [03:43:18] <spronk2> \o
212: [03:43:34] * zippy still feels like a bad ass!
213: [03:43:39] <zippy> foot in each camp
214: [03:44:03] <spronk2> eh, i'd just move over completely but this channel is more fun :P
215: [03:45:08] <zippy> but is there a good CMS alternative?
216: [03:45:18] <zippy> hold that thought
217: [03:45:34] <spronk2> wagtail.io
218: [03:47:32] <zippy> Django based?
219: [03:49:10] <veb_> https://www.facebook.com/WesleyEngDotCom/videos/10203900092247039/?pnref=story
220: [03:49:12] <veb_> wtf? lol
221: [03:50:28] <veb_> ripleys believe it or not
222: [03:50:34] <veb_> is that even still around
223: [03:52:38] <zippy> lol
224: [03:53:21] * Error404NotFound quit (Quit: User guilty of hitting the Big Red X...)
225: [03:55:04] * Vedran__ has joined #silverstripe
226: [03:57:32] <zippy> Anyone used https://github.com/markguinn/silverstripe-clockwork ?
227: [03:57:45] <zippy> > Integrates the wonderful Clockwork Chrome extension into Silverstripe. Out of the box queries and controller events will be logged. You can also log your own events on the timeline.
228: [04:03:00] <Ryan-Toast> what’s clockwork chrome?
229: [04:09:44] <ss-helper> sub domain, if single ss installation work. - http://www.silverstripe.org/community/forums/general-questions/show/101651
230: [04:10:21] <zippy> Ryan-Toast: https://camo.githubusercontent.com/28ad8900a1b69eff6d36a4c04f5e01b147c76776/68747470733a2f2f646c2e64726f70626f7875736572636f6e74656e742e636f6d2f752f393834363338372f53637265656e73686f74732f436c6f636b776f726b2532304368726f6d65253230312e322e706e67
231: [04:10:35] <zippy> Adds a tab to chrome, shows stuff
232: [04:11:19] <Ryan-Toast> zippy: coolio
233: [04:15:33] * Colin[pi] has joined #silverstripe
234: [04:23:32] <Vedran__> I am having a issue trying to setFolderName
235: [04:23:38] <Vedran__> $MapCategoryImage = UploadField::create(
236: [04:23:39] <Vedran__> 'CategoryImage',
237: [04:23:39] <Vedran__> 'Category Image'
238: [04:23:40] <Vedran__> )
239: [04:23:42] <Vedran__> ,'Content');
240: [04:23:44] <Vedran__> $MapCategoryImage->setFolderName('Map/
241: [04:23:46] <Vedran__> Category');
242: [04:23:50] <Vedran__> does that look in correct to anyone?
243: [04:24:46] <ss-helper> Re: sub domain, if single ss installation work. - http://www.silverstripe.org/community/forums/general-questions/show/101651#post401319
244: [04:27:03] <zippy> Vedran__: !paste
245: [04:27:25] * veb_ quit (Ping timeout: 264 seconds)
246: [04:27:37] <zippy> !paste
247: [04:27:37] <ss-helper> Please paste your code using something like http://kopy.io/ or http://www.sspaste.com/ or https://gist.github.com/ and then paste the link here.
248: [04:27:46] <zippy> ah thats right
249: [04:27:48] <zippy> !paste Vedran__
250: [04:27:48] <ss-helper> Vedran__: 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.
251: [04:28:04] <Vedran__> sorry zippy
252: [04:28:30] <zippy> all good :)
253: [04:28:30] * veb has joined #silverstripe
254: [04:28:48] <zippy> Whats the error?
255: [04:29:06] <Vedran__> its going in the Upload director
256: [04:29:09] <Vedran__> *directory
257: [04:29:44] <wmk> Vedran__, doing google maps?
258: [04:29:45] <zippy> btw, you can inline it... UploadField::create('CategoryImage')->setFolderName('Map')
259: [04:29:47] <Vedran__> before anything is uploaded I get the message
260: [04:29:47] <Vedran__> Attach a file (saves into /Uploads)
261: [04:30:14] <Vedran__> wmk: nah, something different
262: [04:30:45] <wmk> hmm, /Map/Category instead? or /assets/Map/Category/ ??
263: [04:30:59] <wmk> does the folder already exist?
264: [04:31:05] <Vedran__> doesnt exist
265: [04:31:07] <Vedran__> Map does
266: [04:31:28] <Vedran__> so Map is the page
267: [04:31:38] <Vedran__> map cateogry is a data object
268: [04:32:00] <Vedran__> hrm.... should I paste more code?
269: [04:32:33] <Vedran__> I just cant work out why the upload directory isnt being set. How something else would effect (or is it affect) it
270: [04:32:36] <Ryan-Toast> Vedran__: setFoldername(‘Uploads/map’)
271: [04:32:54] <Vedran__> the previous setFolderName
272: [04:32:57] <Vedran__> goes into assets
273: [04:33:12] <Vedran__> so: $mapImage->setFolderName('Map'); works
274: [04:33:17] <Vedran__> $elevationImage->setFolderName('Elevation');
275: [04:33:34] <Vedran__> its just when I try a sub directory
276: [04:33:36] <Vedran__> $MapCategoryImage->setFolderName('Map/Category');
277: [04:33:46] <Vedran__> it reverts to default
278: [04:33:58] <wmk> Vedran__, that shouldn't matter, maybe it checks first if the uploadfolder exists...?
279: [04:34:07] <Vedran__> (Uploads) as opposed to (assets)
280: [04:34:27] <Vedran__> wmk: it didnt exist previously and uploads worked
281: [04:35:17] <Ryan-Toast> Vedran__: Maybe it only works in Uploads, try creating the root folder.
282: [04:35:46] <Vedran__> Map is already created (from previous uploads)
283: [04:35:58] <Vedran__> map would be the root
284: [04:36:02] <Vedran__> *Map
285: [04:36:12] <wmk> should work as expected, i see a FindOrMake in the UploadField code....
286: [04:37:02] <Vedran__> i just tried adding the setFolder to the ::create method
287: [04:37:05] <Vedran__> and same thing happened
288: [04:37:42] <Vedran__> Map is a Page
289: [04:37:56] <Vedran__> MapMarkers is a dataObject
290: [04:38:02] <Vedran__> MapCategories is a data object
291: [04:38:20] <wmk> Vedran__, does /assets/Map exist? can server write to it?
292: [04:38:25] <Vedran__> yep
293: [04:38:40] <Ryan-Toast> Vedran__: Does it have the right owner on the folder?
294: [04:39:14] <Vedran__> Ryan-Toast: Just had a look, and yep it does
295: [04:39:28] <Ryan-Toast> Vedran__: *shrug* sorry, man.
296: [04:39:39] <Vedran__> Ryan-Toast: not a worry, thank you for trying :)
297: [04:39:40] <Ryan-Toast> Vedran__: May try it on an installation I have
298: [04:39:44] <Vedran__> ill post back if I work it out
299: [04:40:02] <Vedran__> I think it 'may' be because of the relationships
300: [04:40:17] <Vedran__> the mapCategory is a new Gridfield
301: [04:40:24] <Vedran__> that uses MapCategory::get(),
302: [04:40:41] <wmk> well, but - is the folder linked to the mapcategory in any way?
303: [04:40:52] <wmk> any restrictions (silverstripe based) on the folder?
304: [04:41:03] <Vedran__> nah no silverstripe restrictions
305: [04:41:08] * Vanny quit (Quit: Page closed)
306: [04:41:16] <wmk> so it shouldn't matter
307: [04:41:37] <Vedran__> wmk: thats what I would have thought...
308: [04:42:00] <wmk> is it overwritten somewhere else?
309: [04:42:20] <wmk> is this line of code even used?
310: [04:42:25] <wmk> !paste Vedran__
311: [04:42:26] <ss-helper> Vedran__: 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.
312: [04:42:37] <wmk> (but something more so we can see what's going on)
313: [04:42:51] <wmk> something more = a bit more....
314: [04:44:26] <Vedran__> ok, ill paste the 3 files
315: [04:44:36] <Ryan-Toast> !paste wmk
316: [04:44:37] <ss-helper> wmk: Please paste your code using something like http://kopy.io/ or http://www.sspaste.com/ or https://gist.github.com/ and then paste the link here.
317: [04:44:45] <Ryan-Toast> !seen wmk
318: [04:44:45] <ss-helper> Ryan-Toast: They're in the channel now....
319: [04:45:29] <Vedran__> http://www.sspaste.com/paste/show/5535d5e1dfdf6
320: [04:46:36] * camfindlay quit (Quit: camfindlay)
321: [04:48:04] * veb quit (Excess Flood)
322: [04:48:39] * veb has joined #silverstripe
323: [04:50:45] * micmania1 quit (Quit: micmania1)
324: [04:54:37] * mahfuz quit (Ping timeout: 246 seconds)
325: [04:59:01] * Phlunk3 quit (Remote host closed the connection)
326: [05:00:19] <Vedran__> wmk: should work right?
327: [05:00:25] * Vedran__ scratches head
328: [05:00:37] <wmk> mompls
329: [05:01:39] <wmk> Vedran__, where should $mapCategoryField save to?
330: [05:01:49] * zippy quit (Quit: Textual IRC Client: www.textualapp.com)
331: [05:02:24] <Vedran__> MapCategory table
332: [05:02:31] <wmk> Vedran__, 1) don't use ?> at the end of the file. you don't need it and it may cause problems in future
333: [05:02:32] <Vedran__> and the image would be (i assume) in the file table
334: [05:02:33] <wmk> just don't
335: [05:02:40] <Vedran__> ok
336: [05:02:41] <Vedran__> will do :)
337: [05:02:50] <Vedran__> all files?
338: [05:02:54] <wmk> all files
339: [05:03:13] <wmk> cause: everything outside of <?php and ?> will be prompted to the browser immedeatly
340: [05:03:25] <wmk> calls like header() won't work
341: [05:03:51] <wmk> and zauberfisch once found a nice one where some "g" was printed out at a task, cause it was accidently outside of ?>
342: [05:04:05] <wmk> you needed ?> in php3 times
343: [05:04:42] <wmk> 2) you define the fields for the MapCategory inside the Map page
344: [05:04:44] <wmk> that doesn't work
345: [05:05:04] <wmk> form doesn't know where to save, cause it's no direct relation to Map page
346: [05:05:13] <Vedran__> makes sense
347: [05:05:13] <wmk> are categories and markers global?
348: [05:05:28] <wmk> if yes: use a ModelAdmin for that
349: [05:05:39] <wmk> and create a getCMSFields() for each DataObject
350: [05:05:45] * huberd has joined #silverstripe
351: [05:06:21] * Cheddam quit (Quit: My Mac has gone to sleep. ZZZzzz…)
352: [05:06:38] <wmk> and Vedran__ normally you don't need a _Controller for plain DataObjects
353: [05:06:43] <wmk> just for pages.
354: [05:06:56] <Vedran__> wmk: thank you so much for the help :)
355: [05:07:09] <Vedran__> so if i use getCMSfields inside the MapCategory
356: [05:07:15] <wmk> So in your case MapCategory_Controller and MapMarker_Controller are useless
357: [05:07:17] <Vedran__> how can I pull it in via the Map page?
358: [05:07:33] <Vedran__> as a tab
359: [05:07:46] * Hailwood quit (Quit: Leaving)
360: [05:08:09] * mobiusnz quit (Quit: Leaving.)
361: [05:08:11] <wmk> oh, one nice: "class Map extends page" should be "extends Page" (uppercase Page)
362: [05:08:28] <wmk> might not be a problem now (afaik classnames are case insensitive) but later
363: [05:08:54] <wmk> Vedran__, as Map page doesn't have a relation to MapCategory it's hard
364: [05:09:12] <Vedran__> hrm...
365: [05:09:15] <wmk> not really impossible but i won't do that
366: [05:09:45] <wmk> are categories global or somehow related to the Map page?
367: [05:10:31] <Vedran__> So there will be a map. On the map will be markers
368: [05:10:38] <Vedran__> each marker will have a category (icon)
369: [05:10:48] <Vedran__> I thought since you are on the Map 'Page'
370: [05:10:59] <Vedran__> it would make sense to manage the markers and their categories from that page
371: [05:11:16] <Vedran__> so I have added tabs (with Marker name, and X / Y cOords)
372: [05:11:20] <wmk> depends ;)
373: [05:11:23] <Vedran__> as well as a tab to manage the marker image
374: [05:11:39] <wmk> Map (page) has_many Markers
375: [05:11:43] <Vedran__> -thats my thought process so far
376: [05:11:55] <wmk> or how does the map page know what markers to use?
377: [05:12:04] <Vedran__> Map will use all markers
378: [05:12:11] <wmk> -> ModelAdmin
379: [05:12:11] <Vedran__> Map only has a background image
380: [05:12:35] <Vedran__> again it just felt better for managing if all map things were in the same 'section'
381: [05:12:39] <Vedran__> and just tab the different options
382: [05:12:44] <wmk> Vedran__, http://doc.silverstripe.org/en/developer_guides/customising_the_admin_interface/modeladmin/
383: [05:13:11] <Vedran__> http://thriveparkside.com.au/location
384: [05:13:18] <Vedran__> is what I want to achieve basically
385: [05:13:24] <Vedran__> -basically
386: [05:15:14] <Vedran__> ModelAdmin looks like what I should have went with
387: [05:15:16] <Vedran__> thanks wmk
388: [05:18:57] * babak quit (Quit: Connection closed for inactivity)
389: [05:19:32] * Cheddam has joined #silverstripe
390: [05:20:46] * micmania1 has joined #silverstripe
391: [05:23:11] * Ryan-Toast quit (Quit: Ryan-Toast)
392: [05:24:51] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
393: [05:24:54] <ss-helper> Re: Admin Login Refreshes, Does Not Redirect - http://www.silverstripe.org/community/forums/general-questions/show/101621#post401262
394: [05:28:14] * Shrike_Finland has joined #silverstripe
395: [05:38:15] * veb quit (Ping timeout: 252 seconds)
396: [05:40:13] * veb has joined #silverstripe
397: [05:40:52] * Arcax has joined #silverstripe
398: [05:44:28] * micmania1 quit (Quit: micmania1)
399: [05:44:31] <Arcax> Hi, good morning, somebody know how update a dropdownfield on cms after publish manually?
400: [05:45:20] <wmk> Vedran__, for creating google Maps there is the Mappable module.
401: [05:45:39] <ss-helper> SilverStripe custom shopping cart - http://stackoverflow.com/questions/29683348/silverstripe-custom-shopping-cart
402: [05:45:56] <wmk> Arcax, ??
403: [05:46:00] * Stomach quit (Quit: zzz)
404: [05:46:26] <Arcax> yes?
405: [05:46:29] <wmk> Arcax, where does the Dropdownfield has it's values?
406: [05:47:17] <Arcax> I get the data from database
407: [05:47:54] <wmk> it should update automatically unless some cache isn't cleared
408: [05:49:41] * glenn-bautista quit (Ping timeout: 248 seconds)
409: [05:50:29] <Arcax> But i have a problem with the relations on database. Therefore i need do it manually
410: [05:52:03] <Arcax> I can update the data with publish but the field in the cms is not updated
411: [05:54:40] * veb quit (Ping timeout: 256 seconds)
412: [05:55:55] <Arcax> http://s17.postimg.org/by11dm6wf/Sin_t_tulo.png http://s24.postimg.org/lgudflalx/Sin_t_tulo2.png
413: [05:57:49] * veb has joined #silverstripe
414: [06:02:25] <wmk> !paste Arcax
415: [06:02:26] <ss-helper> Arcax: 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.
416: [06:02:50] <wmk> how's the has_one relation named? how's the field generated?
417: [06:03:20] <wmk> make sure, if the has_one is "Categorie" => "CategoryClassName", the DropdownField must relate to "CategoryID"
418: [06:05:15] * jedateach has joined #silverstripe
419: [06:05:16] * jedateach quit (Client Quit)
420: [06:06:33] <Arcax> http://kopy.io/Sjffg
421: [06:06:45] <Arcax> http://kopy.io/icLHf
422: [06:06:54] <Arcax> http://kopy.io/kVeMl
423: [06:08:14] <wmk> Arcax, why do you define the ProductCategoryID manually?
424: [06:08:24] <wmk> ID, Created etc. is done automatically for you
425: [06:08:32] * FMateo has joined #silverstripe
426: [06:08:45] <wmk> your ProductCategory table should have a field ID
427: [06:09:41] <Arcax> Because i need two ID, once for the database an other for me
428: [06:10:15] <wmk> ok. so that's not used by relations
429: [06:10:28] <Arcax> not now
430: [06:10:40] <Arcax> i will need
431: [06:10:48] <wmk> in ProductPage: $dropdownField = DropdownField::create('CategoryID') <--- with ID suffix for the has_one
432: [06:10:54] <wmk> that's annoying but needed
433: [06:11:15] <wmk> and Arcax: every newbi stumbles over that, even pros time by time
434: [06:14:01] <Arcax> Thanks so much, really !!!
435: [06:14:27] <wmk> works now?
436: [06:15:37] <Arcax> Yes !!! (Crying with happiness)
437: [06:15:40] <ss-helper> SilverStripe 3: ModelAdmin with DataObject with $has_many to DataObject gives error - http://stackoverflow.com/questions/16181570/silverstripe-3-modeladmin-with-dataobject-with-has-many-to-dataobject-gives-er
438: [06:16:59] * spronk2 quit (Quit: I may need a longer sleep timer...)
439: [06:32:23] * veb quit (Excess Flood)
440: [06:32:44] * Vedran___ has joined #silverstripe
441: [06:32:59] * veb has joined #silverstripe
442: [06:33:04] * Vedran___ quit (Read error: Connection reset by peer)
443: [06:33:15] * Eliseth has joined #silverstripe
444: [06:33:29] * Vedran___ has joined #silverstripe
445: [06:35:38] * Mike123 has joined #silverstripe
446: [06:35:48] <Mike123> Hey there
447: [06:36:37] * Vedran__ quit (Ping timeout: 248 seconds)
448: [06:36:54] <Mike123> i have a problem here with Date locale... i have a CMS field in admin, i set the date and need it to show in template in my locale but it shows in english :/
449: [06:37:08] <Mike123> i have set the locale in _config file
450: [06:38:46] <Shrike_Finland> Hi, is there any example, how can I filter child pages by their belonging to group when on holder page? Child pages include grouping by dataobject and now would like to filter those in holderpage.
451: [06:39:24] <huberd> Mike123, did you set up your cms account with the correct dateformat?
452: [06:39:48] <Mike123> Huberd, where can i do this ?
453: [06:40:52] <huberd> Mike123, at security, edit your user, there should be the dateformat option
454: [06:43:28] <Mike123> Huberd, in Securuty all languages are set , and date shows in English
455: [06:45:04] <huberd> did you try a userdefined format like dd.MM.YYYY ?
456: [06:46:13] <Mike123> yes
457: [06:47:22] * wmk quit (Ping timeout: 255 seconds)
458: [06:48:15] <huberd> DateField()->setConfig('dateformat', 'dd.MM.YYYY')
459: [06:52:22] <Mike123> in template it shows me in english
460: [06:54:22] <huberd> I do $date.Format('d.m.Y') in template
461: [06:56:08] <Mike123> and how to make that month would show in words ?
462: [06:57:27] <Mike123> oh i get it, but no luck :( in english :(
463: [06:58:28] <Mike123> i dont understand where is the problem
464: [07:02:50] * benjhocking has joined #silverstripe
465: [07:04:29] * jarr0dsz has joined #silverstripe
466: [07:04:46] * Stomach has joined #silverstripe
467: [07:05:20] * Guits2 has joined #silverstripe
468: [07:07:06] <huberd> http://stackoverflow.com/questions/10486658/php-date-international-month-names
469: [07:09:51] * arnhoe has joined #silverstripe
470: [07:09:52] * mobiusnz has joined #silverstripe
471: [07:10:40] * veb quit (Read error: Connection reset by peer)
472: [07:10:58] * veb has joined #silverstripe
473: [07:14:26] * mobiusnz quit (Client Quit)
474: [07:15:11] <Mike123> ok now one more question when i write in template $EventEndDate.FormatDate(%d %b %Y) in my webpage i get like this : (%d %b %Y) , what is wrong ?\
475: [07:16:49] * wracu_ has joined #silverstripe
476: [07:16:56] * Stomach quit (Quit: zzz)
477: [07:19:16] <Eliseth> http://api.silverstripe.org/3.1/class-Date.html
478: [07:20:19] * wracu quit (Ping timeout: 265 seconds)
479: [07:20:30] <Eliseth> Try $EventEndDate.Format("d b Y")
480: [07:20:54] <huberd> $EventEndDate.FormatI18N('%d %b %Y')
481: [07:22:02] * mobiusnz has joined #silverstripe
482: [07:23:15] * Vedran___ quit (Remote host closed the connection)
483: [07:23:59] <Mike123> Eliseth in your example i get 25 b 2015 ,Huberd in your example i get 25 apr 2015 :/
484: [07:24:04] <Mike123> i just dont get it
485: [07:24:27] <Mike123> my all website is in my language and shows it in my language, the date isnt at all
486: [07:25:41] * jarr0dsz quit (Ping timeout: 248 seconds)
487: [07:26:03] * veb quit (Ping timeout: 252 seconds)
488: [07:27:02] <huberd> i just tried setting setlocale(LC_ALL, 'de_DE'); in the page_controllers init function, and $Start.FormatI18N('%d %B %Y') in template -> 05 Mai 2015
489: [07:27:25] * veb has joined #silverstripe
490: [07:27:43] * Vedran__ has joined #silverstripe
491: [07:28:15] <Mike123> can you try in lt_LT ?
492: [07:28:20] <huberd> sure
493: [07:28:24] <Mike123> thx
494: [07:28:57] <huberd> 05 gegu��s 2015
495: [07:29:45] <Mike123> yep its good :/
496: [07:31:43] <huberd> not working for you?
497: [07:32:11] <Mike123> no :/
498: [07:33:28] <Mike123> i will paste a code
499: [07:37:24] <Mike123> http://codepaste.net/e86a46
500: [07:37:45] * Error404NotFound has joined #silverstripe
501: [07:42:41] * veb quit (Ping timeout: 250 seconds)
502: [07:44:14] * veb has joined #silverstripe
503: [07:45:07] <huberd> hmm works for me :/
504: [07:46:17] <Mike123> i have dound something like this https://github.com/richardsjoqvist/silverstripe-localdate but i dont know how use it
505: [07:46:25] <Mike123> can u help ?
506: [07:46:40] * Guits has joined #silverstripe
507: [07:46:42] * MrGuits has joined #silverstripe
508: [07:46:46] * Cheddam quit (Ping timeout: 255 seconds)
509: [07:52:45] * Vedran__ quit (Remote host closed the connection)
510: [07:53:23] <huberd> you'd need to create your own lt.yml - file in lang folder after the installation
511: [07:55:14] <Mike123> ok done it , but how to use it in my code ?
512: [07:57:29] * Vedran__ has joined #silverstripe
513: [07:57:32] * MrGuits quit (Ping timeout: 265 seconds)
514: [07:57:40] * Guits quit (Ping timeout: 272 seconds)
515: [07:58:16] * kinglozzer has joined #silverstripe
516: [07:58:53] * Stomach has joined #silverstripe
517: [07:59:25] * Guits2 quit (Ping timeout: 244 seconds)
518: [07:59:32] <huberd> i just tried installing it...
519: [07:59:59] * SH__ has joined #silverstripe
520: [08:00:40] * Vedran__ quit (Remote host closed the connection)
521: [08:00:46] <SH__> Hey, has anyone used Frank Mullengers payment module lately?
522: [08:02:43] <huberd> Mike123, http://www.sspaste.com/paste/show/55360416362cf
523: [08:03:25] <huberd> don't forget dev/build?flush=1
524: [08:07:30] <Mike123> wow it worked !!
525: [08:07:37] <Mike123> Thank you Huberd :)
526: [08:08:45] <huberd> :D
527: [08:10:17] * veb_ has joined #silverstripe
528: [08:12:46] * veb quit (Ping timeout: 256 seconds)
529: [08:15:54] * Guits2 has joined #silverstripe
530: [08:16:17] <Mike123> i went nuts couz these dates...
531: [08:16:20] * veb has joined #silverstripe
532: [08:16:36] * veb_ quit (Ping timeout: 264 seconds)
533: [08:16:51] <Mike123> i have another question
534: [08:17:30] <Mike123> i have two datefields, i need to show in template like this "April 15-20"
535: [08:18:34] <Eliseth> What if 2nd date is a different month?
536: [08:20:43] * veb_ has joined #silverstripe
537: [08:21:16] * veb quit (Ping timeout: 240 seconds)
538: [08:23:13] <Mike123> hmm never thought about that
539: [08:23:20] <Mike123> let me check
540: [08:25:04] <SH__> Hey guys MySQLDatabase::set_connection_charset('utf8'); is deprecated, what would the updated version be?
541: [08:26:51] <huberd> SH__, MySQLDatabase.connection_charset
542: [08:26:53] <huberd> http://api.silverstripe.org/3.1/class-MySQLDatabase.html
543: [08:27:13] * wmk has joined #silverstripe
544: [08:28:13] <SH__> Thanks man, should it be set in the yml file then?
545: [08:28:16] <SH__> config.yml
546: [08:31:10] <kinglozzer> SH__: Yeah
547: [08:35:38] <SH__> Thanks
548: [08:39:03] <huberd> Mike123, http://www.sspaste.com/paste/show/55360c8c10815
549: [08:47:50] * SH__ quit (Quit: Page closed)
550: [08:48:48] <Mike123> Huberd thank you again :)
551: [08:49:27] <Mike123> can i make that user in CMS could only select year ?
552: [08:49:47] <wmk> Mike123, in theory, yes.
553: [08:50:37] <wmk> Dropdown with all years user can select, maybe you have to convert it to the right data format in onBeforeWrite()
554: [08:51:34] <Mike123> oh really ) thx
555: [08:53:02] <wmk> DropdownField::create('FormField', 'Title')->setSource(ArrayLib::valuekey(range(2015, 2020))); should give you a Dropdown with all years from 2015 - 20
556: [08:53:33] <wmk> idea shamelessly copied from an unclecheese lession ;)
557: [08:53:58] * Stomach quit (Quit: zzz)
558: [08:55:22] <ss-helper> Re: sub domain, if single ss installation work. - http://www.silverstripe.org/community/forums/general-questions/show/101651#post401320
559: [09:09:27] * Vedran__ has joined #silverstripe
560: [09:19:04] * veb_ quit (Ping timeout: 256 seconds)
561: [09:22:42] * veb has joined #silverstripe
562: [09:34:29] * mobiusnz quit (Quit: Leaving.)
563: [09:36:23] * guest123 has joined #silverstripe
564: [09:38:27] * veb_ has joined #silverstripe
565: [09:38:29] * veb quit (Ping timeout: 248 seconds)
566: [09:39:22] * Shrike_Finland quit (Quit: Leaving.)
567: [09:39:56] * Shrike_Finland has joined #silverstripe
568: [09:41:27] * Vedran__ quit (Remote host closed the connection)
569: [09:44:56] * Colin[pi] quit (Ping timeout: 240 seconds)
570: [09:56:45] * Vedran__ has joined #silverstripe
571: [09:59:25] * Shrike_Finland quit (Quit: Leaving.)
572: [10:01:00] * Shrike_Finland has joined #silverstripe
573: [10:02:35] * mobiusnz has joined #silverstripe
574: [10:08:50] <ss23> Argh! Haven't timesheeted in a week ;___;
575: [10:08:52] * Vedran___ has joined #silverstripe
576: [10:10:27] * Vedran__ quit (Ping timeout: 265 seconds)
577: [10:11:24] * Vedran___ quit (Client Quit)
578: [10:13:48] * veb_ quit (Ping timeout: 276 seconds)
579: [10:14:06] * veb has joined #silverstripe
580: [10:21:30] * mobiusnz quit (Quit: Leaving.)
581: [10:25:21] * mobiusnz has joined #silverstripe
582: [10:26:12] * __will has joined #silverstripe
583: [10:26:24] * veb quit (Ping timeout: 265 seconds)
584: [10:30:16] * __will quit (Ping timeout: 246 seconds)
585: [10:46:43] * UncleCheese has joined #silverstripe
586: [11:11:14] * mobiusnz1 has joined #silverstripe
587: [11:12:28] * mobiusnz quit (Ping timeout: 245 seconds)
588: [11:15:39] * __will has joined #silverstripe
589: [11:16:39] <__will> hello. Upload fields in the cms by default allow for searching on Title and Date, not filename. In the File area the filter works on filemane.
590: [11:17:07] <__will> is it possible to work arround this issue by allowing search on filename in the uploadfield component?
591: [11:21:54] <kinglozzer> __will: You mean when you attach an existing file, the "Title" and "Name" options in the GridField? Can't see any "Date" search
592: [11:22:35] <__will> i get "Name" and "Date"
593: [11:22:47] <kinglozzer> __will: Which version of SilverStripe?
594: [11:22:59] <__will> 3.1
595: [11:23:02] <__will> latest
596: [11:23:53] <__will> it's always been like this with silverstripe upload field. the clients see it as comletely broken
597: [11:24:07] <__will> (the search function, not the whole of ss)
598: [11:24:11] <kinglozzer> __will: http://i.imgur.com/LrmkY6Z.png this dialog?
599: [11:24:33] <__will> ah, yes
600: [11:24:36] <__will> that looks better
601: [11:24:47] <__will> mine always say Name and Date
602: [11:24:51] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
603: [11:24:52] <__will> must be doing it worng
604: [11:25:02] * mobiusnz1 quit (Quit: Leaving.)
605: [11:25:59] <__will> are you specifying those fields somewhere?
606: [11:26:46] <kinglozzer> Nope, that's the default UploadField behaviour
607: [11:27:13] <__will> how odd. not for me
608: [11:27:18] * zippy has joined #silverstripe
609: [11:27:21] <kinglozzer> Any modules?
610: [11:27:28] <__will> tons! : )
611: [11:27:50] <__will> just lookingn now to see if any seem likely culprits
612: [11:28:02] <__will> grid field extensions etc
613: [11:28:08] <kinglozzer> If you've got the DMS module, I'd look there first :P
614: [11:28:10] * cloph is now known as cloph_away
615: [11:28:13] * mobiusnz has joined #silverstripe
616: [11:31:12] <kinglozzer> __will: If you're using 3.1, it should be hard-coded as "Name" and "Title": https://github.com/silverstripe/silverstripe-framework/blob/3.1/forms/UploadField.php#L1604-L1608
617: [11:31:29] <kinglozzer> Unless you've got a module that's telling SS to use a different class for UploadField_SelectHandler
618: [11:31:45] * Shrike_Finland quit (Quit: Leaving.)
619: [11:32:10] <zippy> How much of a pita is it to have versioned data objects?
620: [11:32:39] <ss23> SiteTree is versioned, works 'okay'
621: [11:34:00] <__will> yep, thats what my version of that file looks like
622: [11:34:08] <__will> so must be getting over ridden seomwehre
623: [11:38:50] * mobiusnz quit (Quit: Leaving.)
624: [11:40:44] * Shrike_Finland has joined #silverstripe
625: [11:50:07] <__will> OK, it's SortableGalleryUploadField
626: [11:56:28] * cloph_away is now known as cloph
627: [12:01:02] <__will> @kinglozzer - thanks very much for your help. removing that old module fixed it. big improvement!
628: [12:10:46] * UndefinedOffset has joined #silverstripe
629: [12:15:06] * MischaK has joined #silverstripe
630: [12:19:47] * DimiStripe has joined #silverstripe
631: [12:24:01] * mobiusnz has joined #silverstripe
632: [12:26:49] * __will quit (Ping timeout: 246 seconds)
633: [12:29:37] * mobiusnz quit (Quit: Leaving.)
634: [12:29:49] * muskie9 has joined #silverstripe
635: [12:39:26] * TombL has joined #silverstripe
636: [12:43:13] * FMateo quit (Ping timeout: 256 seconds)
637: [12:44:48] <TombL> Hi, does anyone know the exact syntax to use when defining Varchars or Text in the $db of a DataObject using the nullifyEmpty flag? I can't figure out how to save empty strings in the database.
638: [12:45:16] <TombL> I have stared at http://api.silverstripe.org/3.1/source-class-StringField.html#44-59 as well as read through this old thread https://groups.google.com/forum/#!topic/silverstripe-dev/4FChwbcG-FE
639: [12:48:40] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
640: [12:48:59] * zippy has joined #silverstripe
641: [12:49:18] * zippy quit (Client Quit)
642: [12:53:44] * catcher has joined #silverstripe
643: [12:55:54] <ss-helper> Re: Have all pages appear as top level - http://www.silverstripe.org/community/forums/general-questions/show/101624#post401321
644: [13:04:12] <kinglozzer> TombL: Let me know if you find the answer, I'm also curious...
645: [13:05:40] <kinglozzer> TombL: Maybe 'Field' => 'Varchar(255, array("nullifyEmpty" => true))' ?
646: [13:05:58] <kinglozzer> Looking at Object::parse_class_spec() that's my best guess
647: [13:06:30] <TombL> yes, I have been trying something like that, but no success as of yet
648: [13:07:23] <TombL> This is my last try: 'Title' => 'Varchar(100, array("nullifyEmpty"=>false))'
649: [13:11:47] <kinglozzer> TombL: Yeah I'm looking through Object::parse_class_spec() and I can't work out how that would ever be supported :/ it looks like it doesn't support associative arrays
650: [13:19:16] * danbroooks has joined #silverstripe
651: [13:19:53] * FMateo has joined #silverstripe
652: [13:20:22] * vanny has joined #silverstripe
653: [13:20:32] * FMateo quit (Client Quit)
654: [13:21:25] * guest123 quit (Ping timeout: 246 seconds)
655: [13:22:27] * Mike123 quit (Quit: Page closed)
656: [13:23:23] <vanny> When getting a groupedList back from the controller, do I need to reference it $Children.First, i seem to have myself all mixed up as I have several sub loops below it
657: [13:26:40] * huberd quit (Ping timeout: 246 seconds)
658: [13:29:00] * veb has joined #silverstripe
659: [13:29:50] <kinglozzer> vanny: Can you paste your template?
660: [13:29:52] <kinglozzer> !paste vanny
661: [13:29:52] <ss-helper> vanny: 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.
662: [13:31:37] <vanny> http://www.sspaste.com/paste/show/5536511c90b6e thanks, I think I need to put more rules in the Controller side of things
663: [13:32:06] * ToddMKimball has joined #silverstripe
664: [13:33:16] <kinglozzer> vanny: So which part are you having trouble with?
665: [13:33:18] * veb quit (Ping timeout: 245 seconds)
666: [13:33:31] <ToddMKimball> Good morning all, I just discovered that my Session vars are only available when a Member is logged into a site. Is this default behavior and/or is there a way to turn Sessions on for non-logged in visitors in SS?
667: [13:34:11] <vanny> All the things in the $Parent.Tasting are not returning anything, I tried parent.tasting just for testing to see if that worked
668: [13:36:11] <vanny> The ASP developer in me wants to write and call seperate functions for when require to get products, and buttons, but from reading i didnt want to do it "wrong" if the system could do it faster
669: [13:36:51] <kinglozzer> vanny: What does "Parent" refer to?
670: [13:37:59] <vanny> I want to get everything from the first record. Parent was an attempt, i tried Top as well
671: [13:39:14] <vanny> OK I think I got this worked out, I can just call the main data object
672: [13:39:19] <vanny> eg Tasting, Store etc
673: [13:43:27] * Shrike_Finland quit (Quit: Leaving.)
674: [13:45:03] <danbroooks> i'm trying to make my own gridfield component, using javascript to manipulate the gridfield (like sortablerows), i cant figure out how to make the grid state persist in my component class, I'm doing gridfield.setState() in javascript (like in sortablerows) but that doesnt seem to actually be setting the state when i grab it in my component class
675: [13:45:20] <danbroooks> are there any guides/documentation on gridfield state?
676: [13:46:11] <kinglozzer> vanny: I think $Up.Up.Up might work... there's a bug with <% with $Foo.Bar %> needing $Up.Up instead of just $Up (i.e., more $Ups are needed than you'd think)
677: [13:48:08] <vanny> I have it working now just using with $Tasting
678: [13:49:20] <vanny> It is always the way, I spend 30 minutes trying to work something out, and just after I ask, it works for me :P
679: [13:50:40] * benjhocking quit (Read error: Connection reset by peer)
680: [13:51:05] * benjhocking has joined #silverstripe
681: [13:54:20] <Eliseth> I know I can add an extra class to a form element using addExtraClass. But is there a way to add an extra tag as well? (I want to add the tag 'required' like this: <input type="text" class="myCustomClass" required>
682: [13:55:36] <kinglozzer> Eliseth: ->setAttribute('required', true)
683: [13:56:00] <kinglozzer> It'll add required="required" instead of just required, but it's the same thing
684: [13:56:02] <ss-helper> Re: Have all pages appear as top level - http://www.silverstripe.org/community/forums/general-questions/show/101624#post401322
685: [13:58:30] * phillprice has joined #silverstripe
686: [14:03:41] <kinglozzer> TombL: I'm pretty sure it's currently impossible to set nullifyEmpty to false like that - I'm working on a patch for Object::parse_class_spec to allow it. But if you really need to do it, I'd subclass Varchar, overload __construct() to set that option and use 'MyField' => 'MyVarcharSubclass' instead
687: [14:05:49] <ToddMKimball> Any ideas on Sessions, are they only available if a visitor is logged in as a Member? I can't find reference in the the Docs about it.
688: [14:08:41] <kinglozzer> ToddMKimball: Sessions should still work for visitors who aren't logged in
689: [14:09:54] <kinglozzer> Session data will be lost when they log out though
690: [14:09:55] <kinglozzer> I think
691: [14:16:50] <ToddMKimball> odd as this may sound, I think It was a caching issue. cleared and re-built caches (local and server) and all is well...
692: [14:17:08] <ToddMKimball> Thanks for the confirmation though!
693: [14:25:58] * muskie9 is now known as muskie9_afk
694: [14:26:06] <ss-helper> Re: Overwrite files when uploading new files with the same name - http://www.silverstripe.org/community/forums/general-questions/show/101650#post401323
695: [14:26:21] * MischaK quit (Ping timeout: 246 seconds)
696: [14:27:45] * muskie9_afk is now known as muskie9
697: [14:28:35] * MischaK has joined #silverstripe
698: [14:31:42] * muskie9_ has joined #silverstripe
699: [14:34:24] * muskie9 quit (Ping timeout: 245 seconds)
700: [14:36:52] <danbroooks> can anyone help me with making state persist between ajax requests on a gridfield?
701: [14:37:12] <danbroooks> it seems that $grid->State is always empty
702: [14:37:39] <danbroooks> well, not updated rather
703: [14:40:10] * ToddMKimball quit (Ping timeout: 246 seconds)
704: [14:41:08] <ss-helper> Re: file_link outputting as text - http://www.silverstripe.org/community/forums/general-questions/show/101648#post401324
705: [14:41:17] * _hschillig has joined #silverstripe
706: [14:42:16] <_hschillig> Hi I'm trying to integrate the disqus module into my silverstripe project. I have everything setup based on the git repo. However, it says under the Behavior tab, select "Enable Page Comments". However I don't see a behavior tab.. I see a Content, Settings, and History tab. And none of them have this checkbox listed underneath them.
707: [14:42:19] <_hschillig> Thanks for any help.
708: [14:46:07] * danbroooks quit (Ping timeout: 246 seconds)
709: [14:52:48] <_hschillig> I dug through the disqus module and saw this:
710: [14:52:48] <_hschillig> $fields->addFieldToTab('Root.Settings', new TextField("customDisqusIdentifier", "customDisqusIdentifier"),"ProvideComments");
711: [14:52:59] <_hschillig> However that field doesn't populate underneath the settings tab. I even did a dev/build and flush
712: [14:55:49] * wmk quit (Ping timeout: 256 seconds)
713: [15:00:54] <ss-helper> Updating gridfield state with JavaScript in Silverstripe - http://stackoverflow.com/questions/29775852/updating-gridfield-state-with-javascript-in-silverstripe
714: [15:05:31] * Guits2 quit (Ping timeout: 255 seconds)
715: [15:06:56] * Eliseth quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
716: [15:14:59] * arnhoe quit ()
717: [15:15:04] <muskie9_> _hschillig is the ProvideComments field in the settings tab?
718: [15:15:32] * muskie9_ is now known as muskie9
719: [15:16:34] * arnhoe has joined #silverstripe
720: [15:19:21] * arnhoe quit (Client Quit)
721: [15:19:49] * arnhoe has joined #silverstripe
722: [15:23:12] * arnhoe quit (Client Quit)
723: [15:32:27] <kinglozzer> _hschillig: Have you got the comments module installed? Sounds like it needs that
724: [15:33:17] <kinglozzer> (Just a guess)
725: [15:33:34] <kinglozzer> _hschillig: https://github.com/silverstripesk/silverstripe-disqus/issues/12
726: [15:54:28] * cloph is now known as cloph_away
727: [16:00:27] * phillprice quit (Remote host closed the connection)
728: [16:04:31] * Guits2 has joined #silverstripe
729: [16:12:53] * danbroooks has joined #silverstripe
730: [16:13:09] <danbroooks> anybody able to help me with this? http://stackoverflow.com/questions/29775852/updating-gridfield-state-with-javascript-in-silverstripe
731: [16:22:36] * cloph_away is now known as cloph
732: [16:30:05] * kinglozzer quit ()
733: [16:42:39] * gelignite has joined #silverstripe
734: [16:45:18] * danbroooks quit (Quit: Page closed)
735: [16:45:36] * danbroooks has joined #silverstripe
736: [16:52:00] * tmro is now known as kerosene
737: [17:01:46] * kerosene is now known as tmro
738: [17:30:24] * MischaK quit (Ping timeout: 264 seconds)
739: [17:44:16] * danbroooks quit (Ping timeout: 246 seconds)
740: [17:45:58] <ss-helper> Filter SiteTree TreeDropdownField() in SilverStripe 3.1 - http://stackoverflow.com/questions/29171542/filter-sitetree-treedropdownfield-in-silverstripe-3-1
741: [17:49:10] * phillprice has joined #silverstripe
742: [17:53:12] * muskie9 is now known as muskie9_afk
743: [17:53:47] * phillprice quit (Ping timeout: 252 seconds)
744: [18:00:02] * Error404NotFound quit (Quit: User guilty of hitting the Big Red X...)
745: [18:11:56] * muskie9_afk is now known as muskie9
746: [18:22:24] * muskie9 is now known as muskie9_afk
747: [18:23:28] * muskie9_afk is now known as muskie9
748: [18:25:11] * oddnoc has joined #silverstripe
749: [18:25:36] <oddnoc> Did composer just break SilverStripe?
750: [18:27:37] * babak has joined #silverstripe
751: [18:29:55] <oddnoc> Specifically, composer just made a change to composer/installer that makes “composer update” in a SilverStripe project throw a huge error. Both cms & framework require the “*” version of composer/installer
752: [18:32:30] * toddvalentine has joined #silverstripe
753: [18:35:41] <toddvalentine> HI all. I need to write the url to a dataobject's hsa_one file to my db on save of the dataobject. I have tried in onBeforeWrite - only writing within a !this->ID conditional - but am still getting caught in a infinite loop. Does anyone know the best way to accomplish this?
754: [18:44:57] * _hschillig has left #silverstripe
755: [18:47:37] * Stomach has joined #silverstripe
756: [18:51:18] * MischaK has joined #silverstripe
757: [19:00:57] * UndefinedOffset quit (Quit: Leaving.)
758: [19:09:21] * Stomach quit (Quit: zzz)
759: [19:20:03] * UndefinedOffset has joined #silverstripe
760: [19:24:58] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
761: [19:34:05] * Stomach has joined #silverstripe
762: [19:38:16] * phillprice has joined #silverstripe
763: [19:39:33] * oddnoc quit (Quit: yawn!)
764: [19:40:37] * MischaK quit (Ping timeout: 248 seconds)
765: [19:42:44] * phillprice quit (Ping timeout: 245 seconds)
766: [19:46:47] * toddvalentine quit ()
767: [20:17:11] * oddnoc has joined #silverstripe
768: [20:20:25] * catcher quit (Quit: Leaving)
769: [20:36:31] * antmas has joined #silverstripe
770: [20:38:27] <antmas> moin moin o/
771: [20:40:19] * t8 quit (Ping timeout: 246 seconds)
772: [20:40:53] * kinglozzer has joined #silverstripe
773: [20:41:56] <ss-helper> Option to restrict pages to ip address - http://www.silverstripe.org/community/forums/customising-the-cms/show/101627
774: [20:42:23] * zippy has joined #silverstripe
775: [20:42:48] <antmas> kinglozzer: zippy o/
776: [20:43:03] <kinglozzer> \o antmas
777: [20:43:48] <zippy> morning
778: [20:45:20] <kinglozzer> o/ zippy
779: [20:45:27] <zippy> elo
780: [20:45:52] <zippy> think I might have to chase up some core people on some commits still pending :)
781: [20:49:48] * zippy quit (Remote host closed the connection)
782: [20:50:18] * kinglozzer hides
783: [20:50:24] <kinglozzer> Haven't had much time for core stuff lately!
784: [20:56:17] * Ryan-Toast has joined #silverstripe
785: [20:56:23] <antmas> Ryan-Toast: o/
786: [20:56:32] * zippy has joined #silverstripe
787: [20:57:28] <antmas> zippy: o/ again
788: [20:57:53] * micmania1 has joined #silverstripe
789: [20:57:57] * Cheddam has joined #silverstripe
790: [20:58:24] <Ryan-Toast> antmas: o/
791: [20:58:28] <antmas> MichalKleiner: Cheddam o/
792: [20:59:21] <kinglozzer> micmania1: \o
793: [20:59:42] <micmania1> areet
794: [21:00:38] * glenn-bautista has joined #silverstripe
795: [21:01:54] <zippy> :)
796: [21:02:01] * UncleCheese has joined #silverstripe
797: [21:02:24] <zippy> Stomach: Finally watched your video yesterday with the no site tree (I think UncleCheese watches it before he goes to sleep at night)
798: [21:02:28] <zippy> Rocking beard dude..
799: [21:02:34] <UncleCheese> LOL!
800: [21:02:45] <UncleCheese> It's the best SS talk of all time
801: [21:02:59] <zippy> was pretty hard to watch, kept looking at the beard. The hair on top of your head doesn't match the beard, there was a disconnect
802: [21:03:19] <zippy> UncleCheese: :)
803: [21:03:36] <Ryan-Toast> zippy: lol.
804: [21:04:40] <zippy> There is two problems with dataobjects as pages I have though... Handling the URLSegment is a pain, in your video Stomach you showed a blog post and it had a nice looking URLSegment box.
805: [21:05:04] <zippy> Does that man for you still extend from page, to get that nice box. When ever I have tried to replicate it, it doesn't work as well as default..
806: [21:06:06] <Ryan-Toast> zippy: yeah, URLs are an asshole.
807: [21:06:17] <zippy> The second problem with it I have, lets say on the home page you want people to select a page from the site to link to, so there is a button (or even WYSIWYG editor) and people can link to say, a blog post, or in one of your videos UncleCheese (https://vimeo.com/122605609) a region, how can you populate a list with all those 'non pages'.
808: [21:06:40] <Ryan-Toast> zippy: I usually use a listbox.
809: [21:06:56] <zippy> a list box that you build up yourself?
810: [21:06:59] <Ryan-Toast> but that’s probs wrong.
811: [21:07:06] <Ryan-Toast> zippy: yeah
812: [21:07:15] <zippy> if you have 10 pages, 20 blog posts, 300 product items it'd get pretty unweadly
813: [21:07:26] <zippy> The TreeDropdownList works pretty well, but wouldn't work in this instance
814: [21:07:29] <Ryan-Toast> That’s why the search box in a listbox is handy.
815: [21:07:52] <Ryan-Toast> I suppose you could argue that you need to know what you’re linking to though.
816: [21:07:55] <zippy> and then how to store that link, you can't store the ID, and you don't want to store the URLSegment
817: [21:07:58] <Ryan-Toast> IT’s a bit fof a mess.
818: [21:08:12] <zippy> you could store the ID + ClassName I guess
819: [21:08:14] <UncleCheese> I think that makes a case for a taxonomy driven dropdown field
820: [21:08:24] <UncleCheese> instead of all this hierarchy bullshit
821: [21:08:28] <UncleCheese> i hate hierarchy
822: [21:08:53] <UncleCheese> top level is content types (e.g. dataobjects) and then you drill into all the records, and chuck a search on it
823: [21:09:01] <UncleCheese> i'm going to build that right now.. brb
824: [21:09:10] <zippy> you do that, I'll wait right here
825: [21:09:18] <Cheddam> oh haaay
826: [21:09:22] * Ryan-Toast waits
827: [21:09:45] * spronk2 has joined #silverstripe
828: [21:10:12] <zippy> Stomach: so, how do you get pretty urls, or are those blog items extend page?
829: [21:10:24] <antmas> read that as 'pretty gurls'
830: [21:10:57] <Ryan-Toast> zippy: take a look at how the dataobjects as pages module does it.
831: [21:11:21] <zippy> good point
832: [21:11:47] <UncleCheese> zippy that's trivial
833: [21:11:59] <UncleCheese> you can add a sluggable extension in like 15 lines of code
834: [21:12:24] <zippy> yes I have before, but I want it to look and work like the normal page one - so it has the prefix and updates with JS when the title changes
835: [21:12:31] <zippy> I've implmented it before but felt like a lot of code
836: [21:12:52] <zippy> and something which could probably be extracted from SiteTree and put in an extension (we doing traits yet?)
837: [21:13:53] <kinglozzer> zippy: Did you use SiteTreeURLSegmentField, or build it from scratch?
838: [21:14:06] <zippy> man.. going to make me look!
839: [21:14:22] <antmas> zippy: it's on the roadmap :)
840: [21:14:28] <UncleCheese> zippy URLs are an asshole
841: [21:14:36] <zippy> antmas: so is making it faster...... :P
842: [21:15:12] <kinglozzer> WE'RE TRYING DAMNIT :(
843: [21:15:15] <kinglozzer> :P
844: [21:16:11] <zippy> :P
845: [21:16:13] <zippy> all good
846: [21:18:08] <zippy> kinglozzer: Yea I did use SiteTreeURLSegmentField
847: [21:18:27] <zippy> but I couldn't show it when first creating the item, because it doesn't know it's parent so the url couldn't populate properly at create time
848: [21:18:46] <zippy> !paste
849: [21:18:46] <ss-helper> Please paste your code using something like http://kopy.io/ or http://www.sspaste.com/ or https://gist.github.com/ and then paste the link here.
850: [21:19:42] <kinglozzer> zippy: There are usually workarounds for that
851: [21:19:51] <kinglozzer> e.g. http://takeaway.bigfork.co.uk/silverstripe-tip-using-unsaved-relations-in-gridfield-edit-forms ;)
852: [21:20:27] * Hailwood has joined #silverstripe
853: [21:20:31] <kinglozzer> Though I suppose that may not apply for pages / ParentID
854: [21:20:44] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
855: [21:20:47] <kinglozzer> Well, it might do - depends on how they're managed ;)
856: [21:21:18] * novaweb has joined #silverstripe
857: [21:21:57] <novaweb> Friends… how to get a list of all children, grand children, great grand children of a sitetree object?
858: [21:22:12] <novaweb> I thought SiteTree::DependentPages()
859: [21:22:29] <novaweb> But am not wanting pages that link to this SiteTree object
860: [21:23:16] <novaweb> Looking for an effective way to cascade through unlimited levels of children without having to write a million nested foreach loops
861: [21:23:31] <kinglozzer> novaweb: recursion!
862: [21:23:51] <novaweb> Yeah - got an example?
863: [21:24:20] <zippy> kinglozzer: This is what I did, most of this taken from SiteTree I think; http://kopy.io/YIy9s
864: [21:24:35] <kinglozzer> Possibly novaweb, sec
865: [21:24:37] <zippy> The field just wouldnt' work when it was new so had it removed
866: [21:24:50] <zippy> Wonder if Stomach did anything better
867: [21:25:03] * spronk2 quit (Quit: I may need a longer sleep timer...)
868: [21:25:03] <zippy> I think that was SS2.x now I think about it
869: [21:25:18] <muskie9> novaweb kinglozzer maybe https://github.com/silverstripe/silverstripe-cms/blob/3.1/code/model/SiteTree.php#L1367
870: [21:25:35] <kinglozzer> zippy: Ahh yeah I see. Can you modify the editform from the BlogHolder side using the technique I linked perhaps? Dunno how your BlogHolder is set up
871: [21:26:22] <novaweb> thank you muskie9
872: [21:26:29] <kinglozzer> muskie9, novaweb: Yeah that looks like the one!
873: [21:26:36] <muskie9> cheers
874: [21:26:37] <zippy> kinglozzer: that might work...
875: [21:26:52] <zippy> kinglozzer: in the past I have had to settle for parsing the URL, but don't like it
876: [21:27:11] * phillprice has joined #silverstripe
877: [21:27:11] <zippy> If you look at the form (when adding) you can see the parent id is in the form, but it's populated AFTER the getCMSFields is called
878: [21:27:21] <zippy> otherwise you'd be able to access the ID
879: [21:27:49] <kinglozzer> Ah, my example was pretty similar https://gist.github.com/kinglozzer/ed34bd961f185956b2cb
880: [21:29:55] <zippy> DataObjectAsPage also hides the URLSegment until it's been created
881: [21:31:33] * phillprice quit (Ping timeout: 248 seconds)
882: [21:31:49] * spronk2 has joined #silverstripe
883: [21:34:44] <Stomach> zippy
884: [21:34:45] <Stomach> hi
885: [21:34:49] <zippy> o/
886: [21:34:53] <Stomach> \o
887: [21:35:02] <Stomach> answers to above maybe: all those pages are pages
888: [21:35:08] <Stomach> they use all the usual silverstripe stuff
889: [21:35:13] <zippy> Still got that beard? Must be down to your knees
890: [21:35:20] <Stomach> haha yeah, its had a wee trim :P
891: [21:35:52] <Stomach> and the system in catalog manager sorts the parents of the page out
892: [21:36:02] <Stomach> and if there is only one automatically assigns that, otherwise you get to choose
893: [21:36:06] <Stomach> and that sorts the url out
894: [21:37:35] <Stomach> zippy - for the dropdown lists, you can put anything you like into a ListBox and then filter that in the onbefore write
895: [21:37:52] <Stomach> so we often populate them with ClassName-ID => Title
896: [21:38:07] <Stomach> then in onbeforewrite split the ClassName-ID string into its components
897: [21:38:25] <Stomach> then have a HasOne to DataObject
898: [21:38:28] <Stomach> and problem solved
899: [21:38:35] <Stomach> takes pages and dataobjects in
900: [21:38:57] <Stomach> and then you can go further and make sure that all objects have an interface (implements Listable) or whatever with the methods you need
901: [21:39:09] <Stomach> then grab everything which implements that to populate your listboxfield
902: [21:39:23] <Stomach> ->map('ListableID', 'ListableTitle')->toArray()
903: [21:39:36] <Stomach> and they all have that common interface so you know its gonna be right
904: [21:40:09] <zippy> Intersting, I was thinking of ClassName-ID and then splitting...
905: [21:40:57] <Stomach> yeah, pushing it to an interface makes it easy
906: [21:41:13] <Stomach> http://stackoverflow.com/questions/3993759/php-how-to-get-a-list-of-classes-that-implement-certain-interface
907: [21:41:33] <Stomach> DataObject::get()->filter('ClassName', $implementsModule)->map()->toArray
908: [21:41:35] <Stomach> boom headshot
909: [21:42:17] <zippy> I was still thinking of using partial site tree - just of the main pages, home, blog, etc but then on the blog page having a grid to manage the blog posts, so not using blog post pages but just dataobjects
910: [21:42:35] <kinglozzer> Stomach: ClassInfo::implementorsOf()!
911: [21:44:09] <MichalKleiner> o/
912: [21:44:15] * DimiStripe quit (Quit: DimiStripe)
913: [21:44:18] <zippy> ok, I think I can roll with this
914: [21:44:27] <spronk2> dear god, led downlights can suck hard
915: [21:44:37] <zippy> spronk2: oh?
916: [21:44:46] <kinglozzer> spronk2: Need to replace them or something?
917: [21:44:48] <zippy> I think you and electronics just don't match dude...
918: [21:44:51] <spronk2> haha
919: [21:45:00] <spronk2> nah, we put in 6 LED downlights to replace old fitting in lounge
920: [21:45:02] <zippy> macbook problems, light problems..
921: [21:45:04] <Stomach> kinglozzer :D
922: [21:45:05] <spronk2> "dimmable"
923: [21:45:05] <kinglozzer> The ones we have in our kitchen are so hard to take apart...
924: [21:45:18] <spronk2> they a) dim down to maybe... 50%?
925: [21:45:31] <spronk2> and... b) flicker, intermittently, at any fucking dimming setting
926: [21:45:36] <kinglozzer> lol
927: [21:45:38] <spronk2> now on the fourth different dimmer
928: [21:45:43] <spronk2> still flickering.
929: [21:45:51] <spronk2> gonna rip them out and try different brand
930: [21:46:42] * kinglozzer sleeps
931: [21:46:46] <kinglozzer> g'night all o/
932: [21:46:49] <spronk2> bai
933: [21:47:06] <spronk2> but srs, how hard is it to test your products with common dimmers. YOu know, like PDL. And HPM. And LeGrand
934: [21:47:06] * kinglozzer quit ()
935: [21:47:10] <zippy> Kingy[a]: night
936: [21:47:20] * spronk2 looks at you, Rexel Lighting slash Ideal Electronics
937: [21:47:22] <zippy> LeGrand are usually the fooflash one aren't they?
938: [21:47:31] <spronk2> ?
939: [21:47:42] <zippy> flash
940: [21:47:44] <spronk2> ah
941: [21:47:45] <spronk2> yeah
942: [21:47:47] <spronk2> haha
943: [21:47:48] <spronk2> also
944: [21:47:58] <spronk2> don't buy a push button dimmer from legrand
945: [21:49:17] <spronk2> LED lights (and dimmable CFLs) compress the dimming range a lot, so you need to switch the legrand dimmer to "slow" mode so that you can actually control it
946: [21:49:22] <spronk2> otherwise it's basically just FULL ON or FULL OFF
947: [21:49:34] <spronk2> but... in slow mode, it takes ~9 seconds to get from full dimmed to full bright
948: [21:50:16] <spronk2> but, fantastically, if you hold it down for 10 seconds (and that ISN'T programmable), it goes into programming mode
949: [21:50:27] <spronk2> #ridiculousuifail
950: [21:52:20] <zippy> Did you want me to ask someone about it?
951: [21:52:30] <spronk2> ?
952: [21:52:34] <zippy> I got some led down lights, I think they were $40 each or so which were dimmable
953: [21:52:42] <zippy> my mate is an electrician, could ask which ones he recommends
954: [21:52:47] <spronk2> ah, meh
955: [21:53:15] <spronk2> sparky has ordered some other ones
956: [21:53:24] <antmas> dimmers would be awesome
957: [21:53:33] <antmas> shame our place's wires are all kinds of fucked
958: [21:57:26] <zippy> Anyone use/got an Amazon FireTv?
959: [21:58:08] <antmas> that thing is still about?
960: [21:59:16] <zippy> only a year~ old
961: [21:59:57] <antmas> still
962: [22:00:01] <antmas> it lasted this long?
963: [22:00:48] <zippy> I heard it was quite good
964: [22:00:59] <zippy> stream my laptop or ipad to the tv as well
965: [22:01:03] <zippy> probably get netflix us
966: [22:02:23] * veb has joined #silverstripe
967: [22:10:48] <veb> lol; https://www.facebook.com/BaconButtieMan
968: [22:10:55] <veb> it is SFW
969: [22:17:48] * UndefinedOffset quit (Quit: Leaving.)
970: [22:18:30] * spronk2 quit (Quit: I may need a longer sleep timer...)
971: [22:22:11] <vanny> Is there a trick to get the handleAction to work, I have the function, and the PageName_show.ss set, done a flush, and still coming up with 404 error
972: [22:26:04] <ss-helper> Re: A wild Roadmap appears! - https://groups.google.com/d/msg/silverstripe-dev/to20Nu-x8iI/BJiNy3fT35sJ
973: [22:28:41] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
974: [22:29:29] <Ryan-Toast> !seen ss-helper
975: [22:29:29] <ss-helper> Ryan-Toast: I last saw ss-helper 3 minutes ago
976: [22:29:37] <Ryan-Toast> DID YOU NOW?
977: [22:29:55] <zippy> vanny: have you seen https://vimeo.com/122605609 ?
978: [22:30:11] <zippy> vanny: you added it in the allowed actions?
979: [22:30:19] <Ryan-Toast> !paste zippy
980: [22:30:19] <ss-helper> zippy: 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.
981: [22:30:44] <zippy> Ryan-Toast: stop harassing it
982: [22:30:46] <Ryan-Toast> huehuehue
983: [22:30:50] <vanny> Yes I have, if I call a die('1'); in the show function I get the response
984: [22:32:19] <zippy> vanny: paste your function using one of those paste servcies a few lines up
985: [22:32:36] <zippy> and the function is called show() isn't it?
986: [22:32:40] <zippy> we'll soon see
987: [22:34:33] <vanny> yeah
988: [22:34:38] <vanny> just getting code
989: [22:35:23] <vanny> http://www.sspaste.com/paste/show/5536d0a0af33c
990: [22:42:11] <ss-helper> warning: is_readable() - http://www.silverstripe.org/community/forums/installing-silverstripe/show/101652
991: [22:45:01] <zippy> vanny: are you getting to line 14?
992: [22:46:03] <vanny> let me check,
993: [22:46:37] <vanny> no
994: [22:46:49] <zippy> :)
995: [22:46:56] <zippy> so you are trigging the 404 yourself
996: [22:47:11] <vanny> That was straight from lesson 14 :)
997: [22:48:38] <vanny> Thanks for the help :)
998: [22:48:39] * spronk2 has joined #silverstripe
999: [22:49:04] <spronk2> moo moo
1000: [22:49:32] * mahfuz has joined #silverstripe
1001: [22:49:38] <Ryan-Toast> Can someone tell me which js file in the CMS sets all the absolute widths?
1002: [22:51:50] <Ryan-Toast> Oh, it’s everywhere.
1003: [22:53:30] <Stomach> ALL THE THINGS
1004: [22:55:02] * micmania1 quit (Quit: micmania1)
1005: [22:55:18] <Ryan-Toast> Stomach: I was going to make the cms responsive, but I cbf going through all the JS files.
1006: [22:55:34] <Stomach> :(
1007: [22:56:40] <Ryan-Toast> Stomach: 340 occurences in admin :(
1008: [22:56:50] <Stomach> holy ballsacks
1009: [22:57:25] <Ryan-Toast> Wait, sorry 203
1010: [23:01:02] <Stomach> still
1011: [23:01:05] <Stomach> thats not good
1012: [23:02:12] * veb quit (Quit: veb-irc: &)
1013: [23:05:34] * veb has joined #silverstripe
1014: [23:08:57] * babak quit (Quit: Connection closed for inactivity)
1015: [23:11:33] <zippy> Ryan-Toast: work with Colin with his?
1016: [23:13:01] <zippy> right thats it, I am going to create a crap mobile app, call it Shitty Crush and then make stacks and by this http://www.trademe.co.nz/motors/used-cars/dodge/auction-873200050.htm
1017: [23:13:13] <zippy> then wait a few months and release Shitty Crush Saga
1018: [23:13:16] <zippy> run ads on tv
1019: [23:13:18] <zippy> profit
1020: [23:14:47] <Ryan-Toast> zippy: His what?
1021: [23:14:56] <zippy> cms thing he's doing
1022: [23:15:02] <Ryan-Toast> zippy: I already have one
1023: [23:16:03] * phillprice has joined #silverstripe
1024: [23:16:23] * micmania1 has joined #silverstripe
1025: [23:17:20] <Ryan-Toast> zippy: http://i.imgur.com/RjWBtAO.png
1026: [23:17:36] <zippy> nice!
1027: [23:17:50] <zippy> rewrite the js using react :)
1028: [23:17:59] * Colin[pi] has joined #silverstripe
1029: [23:18:00] <Ryan-Toast> zippy: https://github.com/Rhym/silverstripe-cms-theme
1030: [23:18:03] <zippy> Stomach: you are a react fan arn't you? or was it spronk2
1031: [23:18:09] <spronk2> react is pwn
1032: [23:18:15] <Ryan-Toast> zippy: Stomach is the react man.
1033: [23:18:49] <zippy> some vids to get going; https://laracasts.com/series/do-you-react
1034: [23:19:22] <spronk2> theres a good primer on github for tdding react too
1035: [23:19:22] <spronk2> sec
1036: [23:19:45] <spronk2> https://github.com/zpratt/react-tdd-guide
1037: [23:19:47] <spronk2> this one i think
1038: [23:19:53] <Colin[pi]> morning all o/
1039: [23:20:17] <zippy> the only PITA I see is compiling the jsx
1040: [23:20:17] <spronk2> \o ELLO COLIN
1041: [23:20:43] * phillprice quit (Ping timeout: 256 seconds)
1042: [23:20:54] <MichalKleiner> how electricity works - https://fbcdn-sphotos-d-a.akamaihd.net/hphotos-ak-xtp1/v/t1.0-9/11110292_10202962416020810_2992649680450937234_n.jpg?oh=5a17a19631c96df6cef2c70a1b6fe46e&oe=55D8C7C5&__gda__=1439749632_d57ae9565ef55afd69233f70e4fe8730
1043: [23:22:00] <spronk2> oh wow
1044: [23:22:11] <spronk2> also, lol
1045: [23:26:18] <Stomach> zippy yeah its me
1046: [23:26:31] <Stomach> zippy - we build everything anyway
1047: [23:26:38] <zippy> you and that rocking beard are just everywhere
1048: [23:26:53] <Stomach> I run the react meetup in auckland :P
1049: [23:27:20] * UncleCheese has joined #silverstripe
1050: [23:29:23] * MischaK has joined #silverstripe
1051: [23:29:34] * sgrover__ has joined #silverstripe
1052: [23:30:48] <sgrover__> I have a file - mysite/code/utils/TE.php which declares a class that extends Page_Controller. It was working fine, but now is not found when called via $te = new TE(); Looking for ideas.
1053: [23:31:51] <Stomach> flush
1054: [23:32:14] <sgrover__> tried dumping the declared classes just before the call, and the TE class is not in that list... So it's not autoloading now. Oh, This is SS 3.1.5.
1055: [23:32:25] <sgrover__> Stomach: did, no joy. And dev/build
1056: [23:33:30] <sgrover__> also created the silverstripe_cache folder and flushed again. I see the cached TE file in there, but not in the declared classes.
1057: [23:36:41] <spronk2> wow, westpac still have their old online banking available
1058: [23:37:33] * Sticks has joined #silverstripe
1059: [23:46:25] <Stomach> hmm sgrover__ no idea sorry
1060: [23:54:57] * Vedran__ has joined #silverstripe
1061: [23:57:58] * antmas quit (Quit: Page closed)

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