#silverstripe IRC Log

IRC log for 27 March 2015

All timestamps are in UTC.

1: [00:03:11] <Hailwood> Ryan-Toast, There was someone here that had a pretty epic WIP CMS theme for SS
2: [00:03:21] <Ryan-Toast> Hailwood: cms, or front end?
3: [00:04:20] <ss23> CMS theme
4: [00:04:29] <ss23> The metro-esque one?
5: [00:04:37] <Hailwood> ss23, Quote possibly
6: [00:04:43] <Hailwood> *Quite
7: [00:04:49] <antmas> linkity?
8: [00:04:52] <Ryan-Toast> I have a pretty basic one.
9: [00:05:19] <Ryan-Toast> http://i.imgur.com/1d29Kgh.png
10: [00:05:40] <Pyromanik> Hailwood, you're probably thinking of the one from MediaBeastNZ
11: [00:05:45] <Pyromanik> (see github)
12: [00:06:26] <Pyromanik> https://github.com/mediabeastnz/silverstripe-flat-admin
13: [00:06:40] <antmas> Colin[pi]: has one coming to, although branded to his compnay
14: [00:06:43] <Pyromanik> Hailwood, antmas ss23 Ryan-Toast ^^
15: [00:06:43] <antmas> company*
16: [00:06:57] <Hailwood> Pyromanik, That does look cool, but nope that's not it either. Yeah I think it may have been Colin[pi]
17: [00:06:58] <Ryan-Toast> Pyromanik: got my own, cheers :)
18: [00:07:05] <Pyromanik> righto, catchoo fools l8az
19: [00:07:08] * Pyromanik quit (Quit: Leaving)
20: [00:07:09] <antmas> pyo/
21: [00:07:12] <antmas> fuck
22: [00:07:17] <antmas> everytime I never get my o/ in
23: [00:07:19] <Ryan-Toast> this one? http://i.imgur.com/1d29Kgh.png
24: [00:07:23] <Ryan-Toast> Hailwood: ^
25: [00:08:05] <antmas> someone needs to make one that look like wordderp
26: [00:08:10] <antmas> easiest way to sell clients :P
27: [00:08:10] <Hailwood> Nope that's not it :(
28: [00:08:10] <Ryan-Toast> Why?
29: [00:08:29] <Ryan-Toast> Hailwood: just make your own, it’s pretty easy.
30: [00:08:31] * spronk2 has joined #silverstripe
31: [00:08:51] <Ryan-Toast> Hailwood: just copy conventions like this: https://github.com/Rhym/silverstripe-cms-theme
32: [00:08:52] <antmas> spronk2: o/
33: [00:09:04] * cloph quit (Ping timeout: 272 seconds)
34: [00:09:04] <spronk2> \ O
35: [00:09:22] <antmas> lol at shh stevie
36: [00:09:25] <antmas> Stomach: ^^
37: [00:09:43] <Hailwood> I don't actually want the theme lol. I just wanted to see how it looks now.
38: [00:15:08] <antmas> yup
39: [00:15:14] * antmas has had too much sugar
40: [00:15:20] <antmas> o.O
41: [00:21:25] <Colin[pi]> antmas: now have coffee
42: [00:21:34] <Colin[pi]> what's the worst that could happen?
43: [00:21:45] <Colin[pi]> #YOLO
44: [00:21:49] <antmas> LOL
45: [00:22:00] <antmas> maybe that might balance things out
46: [00:22:03] <antmas> said no one ever
47: [00:22:18] <Colin[pi]> follow up with a red bull
48: [00:22:44] <antmas> energy drinks have little effect on me
49: [00:22:44] <Ryan-Toast> antmas: http://server.webdough.co.nz/~boilerpl/
50: [00:22:49] <antmas> coffee on the other hand
51: [00:23:10] <Colin[pi]> antmas: http://i.imgur.com/Eu1FWrh.gif
52: [00:23:26] <antmas> Ryan-Toast: looking good!
53: [00:23:41] <Ryan-Toast> antmas: oops, let me change the google thing for contact
54: [00:23:41] <antmas> What's register? is that newsletter/mailchimp biz?
55: [00:23:47] <Ryan-Toast> antmas: nah
56: [00:23:51] <Ryan-Toast> actual registration.
57: [00:23:57] <antmas> oh right
58: [00:23:57] <antmas> nice
59: [00:24:33] * cloph_away has joined #silverstripe
60: [00:24:36] * antmas is burning a cd
61: [00:24:50] <antmas> all these noises
62: [00:25:18] <Ryan-Toast> antmas: http://server.webdough.co.nz/~boilerpl/contact/
63: [00:27:01] <antmas> :O
64: [00:27:13] <antmas> new recaptcha thingy
65: [00:27:15] <antmas> \o/
66: [00:27:17] <Ryan-Toast> yarp
67: [00:27:44] <antmas> does the google maps still have no margin at the bottom? :P
68: [00:27:47] <antmas> padding
69: [00:27:49] <antmas> whatever
70: [00:27:52] <Ryan-Toast> Umm, let me check.
71: [00:27:56] <Ryan-Toast> I’ll add a map.
72: [00:28:13] <antmas> showed a client the whole site the other week
73: [00:28:16] <antmas> they loved it
74: [00:28:23] <antmas> and then they got to the map
75: [00:28:26] <antmas> :|
76: [00:28:36] <antmas> fucking clients
77: [00:28:41] <antmas> </3
78: [00:29:13] <Ryan-Toast> antmas: http://server.webdough.co.nz/~boilerpl/contact/ ?
79: [00:29:39] <antmas> tha't sit
80: [00:29:42] <antmas> that's it
81: [00:30:26] <Ryan-Toast> antmas: you want margin on the bottom?
82: [00:30:37] <antmas> yarp
83: [00:30:42] <Ryan-Toast> add it yourself then :P
84: [00:30:44] <antmas> pls and thnku
85: [00:30:47] <antmas> :|
86: [00:30:53] * antmas throws table
87: [00:30:59] <Ryan-Toast> your footer shoudl contro, that margin.
88: [00:31:02] <Ryan-Toast> should
89: [00:31:05] <Colin[pi]> Ryan-Toast: hamburger menu at less than 1200px?
90: [00:31:11] <antmas> yeah that's what I'm doing
91: [00:31:12] <Ryan-Toast> Colin[pi]: yeah.
92: [00:31:22] <Colin[pi]> mobiles must be getting pretty fucking big :P
93: [00:31:27] <Ryan-Toast> Colin[pi]: Yup.
94: [00:31:31] <antmas> 2k screens brah
95: [00:31:40] <Ryan-Toast> Colin[pi]: well I do it for landscape tablets.
96: [00:31:52] <Ryan-Toast> since hovers aren’t a thing
97: [00:32:07] * spronk2 quit (Quit: I may need a longer sleep timer...)
98: [00:32:08] <antmas> Colin[pi]: it's fine to do, when you have a sliding menu on click that covers the screen
99: [00:32:21] * spronk2 has joined #silverstripe
100: [00:32:26] <Colin[pi]> antmas: mm
101: [00:32:44] <Stomach> antmas what did i do
102: [00:32:49] <Hailwood> Can you use arbitrary objects in a silverstripe template?
103: [00:32:59] * spronk2 quit (Max SendQ exceeded)
104: [00:33:09] <antmas> Stomach: what DIDN'T you do, stevie?
105: [00:33:36] <antmas> Ryan-Toast: also, dat touch slider
106: [00:33:56] <Ryan-Toast> antmas: there is a touch slider
107: [00:34:04] <antmas> Ryan-Toast: I know
108: [00:34:06] <antmas> Ryan-Toast: https://gfycat.com/ImportantArcticIbisbill
109: [00:34:32] <Ryan-Toast> antmas: I’m thinking of making little animated prompts for it. I did it wit a client the other day and they loved it.
110: [00:34:46] <antmas> to show it can be slidedededed?
111: [00:34:50] <Ryan-Toast> yeah
112: [00:34:53] <antmas> nice
113: [00:35:01] <Ryan-Toast> just a little hand scrolling side to side ever so slightly.
114: [00:35:12] <antmas> it auto plays yeah? I never looked
115: [00:35:19] <Ryan-Toast> Nah
116: [00:35:26] <Ryan-Toast> Turned off by default
117: [00:35:30] <antmas> ah ok
118: [00:35:36] <Ryan-Toast> because I hate sliders.
119: [00:35:41] <antmas> will turn it back on for peasant browsers
120: [00:36:01] <Ryan-Toast> that’s what the label below it is for.
121: [00:36:12] * antmas looks
122: [00:36:18] <antmas> so it is
123: [00:36:21] <Ryan-Toast> Ugh, should have pushed it to it’s github folder last night so I could show you.
124: [00:36:22] <antmas> carry on then
125: [00:36:57] <antmas> chuck a slider up on the demo
126: [00:36:58] <antmas> :D
127: [00:37:08] <Ryan-Toast> Nah
128: [00:37:12] <antmas> :<
129: [00:37:17] <Ryan-Toast> Hate sliders
130: [00:37:30] <antmas> sliders hate you Ryan-Toast
131: [00:37:47] <Ryan-Toast> antmas: We have warred for a millenia
132: [00:38:12] <antmas> I accepted our slider overlords
133: [00:38:16] <antmas> back in 2008
134: [00:38:25] <ss23> CAROUSELLLLLLLLLLLLLL
135: [00:38:25] <antmas> now my life is full of regret
136: [00:38:52] <Colin[pi]> ss23: yeah I was confused if they were talking about a carousel or a UI component
137: [00:38:54] * antmas wheels ss23 back over to his desk
138: [00:39:34] <Stomach> antmas :(
139: [00:39:38] <ss23> :(
140: [00:39:54] <antmas> you could be a jerk and call masonry 'collage'
141: [00:40:03] <antmas> Stomach: ss23 what'd I do?
142: [00:40:04] <ss23> ObZen best Meshuggah y/n?
143: [00:40:11] <antmas> ss23: y
144: [00:40:16] <ss23> o/
145: [00:40:17] <antmas> you;ve asked that before
146: [00:40:19] <antmas> '*
147: [00:40:20] <ss23> Oh
148: [00:40:22] <antmas> ss23: o/
149: [00:40:25] <ss23> well good to know it's still true
150: [00:40:26] <ss23> :D
151: [00:40:53] * antmas goes to watch wallstreet/meshuggah video again
152: [00:41:54] <antmas> ss23: tbf I was pretty partial to this https://www.youtube.com/watch?v=CUuXiAsV7BQ
153: [00:42:43] <Stomach> antmas why you always picking on me
154: [00:42:50] <ss23> oh man, speaking of music
155: [00:42:53] <ss23> have you heard Animals as Leaders?
156: [00:42:58] <antmas> Stomach: <3
157: [00:43:06] <antmas> ss23: I have, <3
158: [00:43:12] <antmas> saw them live
159: [00:43:14] <ss23> https://www.youtube.com/watch?v=kVSQnsuTs-g heard that the other day
160: [00:43:15] <ss23> super good
161: [00:44:29] <antmas> ss23: https://www.youtube.com/watch?v=bt-RoSzsEKA
162: [00:44:40] <antmas> Tosin IS guitar
163: [00:44:42] <ss23> yeah, saw that one
164: [00:44:53] <ss23> wtb guitar playing skills like that
165: [00:45:06] <antmas> epic
166: [00:45:42] <antmas> pretty sure they played here again in Auck or Welli a few weeks a go
167: [00:45:49] <antmas> WestFest or whatever
168: [00:47:35] <ss23> :O
169: [00:47:39] <ss23> I needa go to gigs
170: [00:48:29] <ss-helper> Silverstripe clear/remove TreeDropdownField - http://stackoverflow.com/questions/9077299/silverstripe-clear-remove-treedropdownfield
171: [00:49:12] <Colin[pi]> hahahaha brilliant: https://www.youtube.com/watch?v=iLRna0RRvxo
172: [00:50:17] <antmas> Colin[pi]: that is amazing
173: [00:58:50] * mobiusnz has joined #silverstripe
174: [01:02:18] * oddnoc quit (Quit: beer:30)
175: [01:16:21] * helenclarko has joined #silverstripe
176: [01:18:23] <helenclarko> Hey all! It's friday afternoon, so I'm going to butcher this question. But how can I access a function on a child page with a <% loop children %>? I hope that explains it.
177: [01:20:40] <helenclarko> for example, say Product has a custom function for its add to cart form. Well I want to call that function through a loop on the parent page using <% loop children %> and expect the same data.
178: [01:21:25] * benjhocking1 quit (Quit: Leaving.)
179: [01:25:03] <Hailwood> If you have a SS_HTTPRequest object, can you manually set a param on it to be retrieved via $request->param(...) ?
180: [01:25:27] * Hailwood quit (Remote host closed the connection)
181: [01:25:49] * Hailwood has joined #silverstripe
182: [01:32:28] <Hailwood> Whoops, killed irc before I saw any replies :/ so - anyone know If you have a SS_HTTPRequest object, can you manually set a param on it to be retrieved via $request->param(...) ?
183: [01:32:42] <ss23> Don't worry! no one replied
184: [01:32:42] <ss23> :P
185: [01:36:01] <Hailwood> I guess I'll reply myself then ;) ->setRouteParams([... => ...])
186: [01:36:38] * antmas is just here for the gifs
187: [01:36:52] <antmas> when I help someone, databases get dropped
188: [01:36:53] <antmas> :<
189: [01:37:37] <ss23> lol
190: [01:41:11] * antmas looks at Ryan-Toast -_-
191: [01:41:30] <Ryan-Toast> antmas: hmm?
192: [01:41:31] * antmas looks at Colin[pi] -_-
193: [01:41:55] <antmas> unless I'm mistaken
194: [01:41:58] <antmas> it's gif time
195: [01:43:11] <Colin[pi]> antmas: http://i.imgur.com/CIubsq7.gif
196: [01:43:39] <antmas> :|
197: [01:44:17] <antmas> have we exhausted gif friday?
198: [01:44:21] <antmas> has it come to this?
199: [01:44:45] <Ryan-Toast> when I see Colin[pi] posting gifs: http://i.imgur.com/ITp7SFO.gif
200: [01:45:13] <Ryan-Toast> antmases reaction: http://i.imgur.com/N8JPy2i.gif
201: [01:45:25] <Ryan-Toast> everyone else: http://i.imgur.com/K7L6eYr.gif
202: [01:45:27] <antmas> lolololol
203: [01:45:33] <Colin[pi]> lol
204: [01:45:42] <Colin[pi]> that fucking walk
205: [01:45:48] <Ryan-Toast> Colin right now: http://i.imgur.com/beHiD.gif
206: [01:46:14] <antmas> this is how it has been on gif friday for weeks no https://gfycat.com/WaterloggedInbornCock
207: [01:46:16] <antmas> this one gif
208: [01:46:18] <antmas> all the time
209: [01:46:24] <antmas> now*
210: [01:46:42] <Ryan-Toast> well…http://i.imgur.com/asNh0g7.gif
211: [01:47:08] * antmas grabs the burn cream off the shelve again
212: [01:47:49] * Hailwood quit (Remote host closed the connection)
213: [01:48:04] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
214: [01:48:13] <Ryan-Toast> http://i.imgur.com/9zWXDR6.gifv
215: [01:48:41] <antmas> XD
216: [01:49:14] <Colin[pi]> http://i.imgur.com/sQyrS0s.gif
217: [01:49:44] <antmas> fucking busey
218: [01:50:26] <Ryan-Toast> antmas: http://i.imgur.com/G6aQtmG.gif
219: [01:51:18] <MichalKleiner> helenclarko: $Up.functionName doesn't work?
220: [01:51:20] <helenclarko> Can anyone help out with my previous question?
221: [01:51:36] <helenclarko> oh, let me check.
222: [01:51:58] * antmas_ has joined #silverstripe
223: [01:52:59] <antmas_> http://i.imgur.com/lWs2xCf.gif
224: [01:54:04] * antmas quit (Ping timeout: 246 seconds)
225: [01:54:36] <Colin[pi]> antmas_: http://i.imgur.com/MGLlGQv.gifv
226: [01:55:09] * antmas_ is now known as antmas
227: [01:55:15] <helenclarko> MichalKleiner: the trouble is that the function is on a child page, so does $Up work from a Parent calling a function on a Child?
228: [01:55:23] <antmas> Colin[pi]: haha, reminds of that gosling cereal one
229: [01:55:45] <Colin[pi]> lol: http://i.imgur.com/8vrYAkb.gifv
230: [01:56:32] <MichalKleiner> ah, sorry, I thought you wanted to call parent fn from child.. when if you're iterating over children and the function is on child object then just $functionname
231: [01:56:39] <Colin[pi]> antmas: http://i.imgur.com/ritQiNN.gifv
232: [01:57:55] <helenclarko> Thats what I thought, but it looks like using <% loop Children %> cant pull custom functions from child pages.
233: [01:58:34] <MichalKleiner> that should work.. can you paste the code? DO and controller
234: [01:58:41] <ss23> Ahhh, eating an icecream then drinking coke makes your mouth feel funny :O
235: [01:59:29] <Ryan-Toast> ss23: cokefloat mother fucker, can you make it?
236: [02:01:07] <antmas> there is a joke in there someone
237: [02:01:12] <antmas> someone find it
238: [02:01:13] <antmas> :D
239: [02:01:54] * Hailwood has joined #silverstripe
240: [02:03:33] <helenclarko> Okay, Parent page is http://www.sspaste.com/paste/show/5514ba55708cd
241: [02:04:15] <Colin[pi]> antmas: looks like the joke fell flat http://i.imgur.com/hQoWPSe.gifv
242: [02:04:22] <antmas> Colin[pi]: this is what happened when Tanger and I went into the sharepoint irc channel the other week http://i.imgur.com/yc5raa1.gif
243: [02:04:55] <helenclarko> Child Page is http://www.sspaste.com/paste/show/5514bab8c1c6d
244: [02:04:58] <Colin[pi]> antmas: loolol
245: [02:05:17] <helenclarko> And I'm trying to pull ProductForm.
246: [02:13:32] * Cheddam quit (Quit: My Mac has gone to sleep. ZZZzzz…)
247: [02:15:58] <MichalKleiner> first thing I noticed is if Children and loop children (lowercase c)..
248: [02:17:18] <helenclarko> It works though. everything apart from the Productform function.
249: [02:17:30] <MichalKleiner> I assume ProductCategory has_many CompositeProduct right
250: [02:17:32] <helenclarko> I'll change it though.
251: [02:19:09] <helenclarko> Yup
252: [02:19:41] <MichalKleiner> no errors in logs or so? can you try return 'test'; as a first line of the function? that should tell us whether it's getting called
253: [02:20:12] <helenclarko> kk
254: [02:21:24] <MichalKleiner> is the form used somewhere else and works there?
255: [02:23:07] <helenclarko> Yup
256: [02:23:20] * UncleCheese has joined #silverstripe
257: [02:23:24] <helenclarko> It works on the compositeProduct page.
258: [02:23:43] <helenclarko> I just want to pull the same data on a parent page.
259: [02:24:50] <helenclarko> No Errors though.
260: [02:25:19] <helenclarko> its not reaching the function though.
261: [02:25:35] <helenclarko> not calling it I mean,
262: [02:25:43] <MichalKleiner> got it.. really weird
263: [02:27:33] <helenclarko> Yea, I would have thought that when looping children pages, you can call the functions that are attached to those pages. Therefore allowing you to copy the content of child pages using <% loop Children %>
264: [02:27:56] <helenclarko> I get everything appart from the functions on the controller.
265: [02:28:18] <helenclarko> I wonder if its because its extending Product_controller.
266: [02:28:57] <MichalKleiner> shouldn't be because of the inheritance
267: [02:29:47] <MichalKleiner> hmm.. it might need to go the compositeproduct class rather than the controller
268: [02:30:41] <helenclarko> Hmmm, 'll move it up.
269: [02:31:15] <MichalKleiner> seems like nothing controller-tied.. just keep the add function in the controller
270: [02:31:22] <MichalKleiner> that's the action method
271: [02:31:30] <helenclarko> Ahh, except it requires data from the product controller.
272: [02:31:45] <helenclarko> Oh right.
273: [02:32:39] <MichalKleiner> controller you get with the $controller = Controller::curr(); and use that wherever $this was controller
274: [02:34:34] <MichalKleiner> it seems that you don't need this->data in that function for the form.. it's not used
275: [02:35:40] <MichalKleiner> sorry it is.. missed it on the second line..
276: [02:37:00] <helenclarko> Working for the parent page now, but not for the child pages. Its reversed. I'm looking into it.
277: [02:37:40] <MichalKleiner> yeah I think the ID has to step in somehow, not the controllers data
278: [02:39:34] * novaweb quit (Quit: Leaving)
279: [02:45:33] <helenclarko> Working.
280: [02:45:56] <helenclarko> I have it in the same php file under both classes.
281: [02:46:03] <helenclarko> Its a mess, but it works.
282: [02:46:26] <helenclarko> Sorry, its under the class and the controller.
283: [02:51:28] * mahfuz quit (Ping timeout: 246 seconds)
284: [02:57:55] * micmania1 quit (Quit: micmania1)
285: [03:02:51] * micmania1 has joined #silverstripe
286: [03:02:55] * Cheddam has joined #silverstripe
287: [03:21:11] * Ryan-Toast quit (Quit: Ryan-Toast)
288: [03:21:51] * spronk2 has joined #silverstripe
289: [03:22:19] <MichalKleiner> yeah.. you can try to make it one function that you call from both places to clean it up.. Basically what's making the difference is what's in $this->data..
290: [03:30:44] <MichalKleiner> when adding new dependencies to composer.json, do you rather run composer update from vagrant vm or from local project folder? I'm trying to set a border between what should be local and what should be inside the VM
291: [03:33:28] * antmas quit (Ping timeout: 246 seconds)
292: [03:40:43] <helenclarko> Thanks MichalKleiner for all your help!
293: [03:40:49] <helenclarko> Legend!
294: [03:41:44] * Hailwood quit (Remote host closed the connection)
295: [03:41:48] <MichalKleiner> no problem, just seems a bit hacky if it's duplicated on both places.. but at least it works
296: [03:41:50] <MichalKleiner> cheers
297: [03:43:51] <helenclarko> Yea, I'm going to clean it up. I hate duplicated code. atleast I know where I need to call it now.
298: [03:43:59] <helenclarko> Thanks big time.
299: [03:49:05] * helenclarko quit (Quit: Page closed)
300: [03:59:01] * Cheddam quit (Quit: My Mac has gone to sleep. ZZZzzz…)
301: [04:02:15] * micmania1 quit (Quit: micmania1)
302: [04:14:20] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
303: [04:17:12] * mobiusnz quit (Quit: Leaving.)
304: [04:18:43] * Cheddam has joined #silverstripe
305: [04:19:07] * micmania1 has joined #silverstripe
306: [04:19:55] * Ryan-Toast has joined #silverstripe
307: [04:23:47] * Ryan-Toast quit (Client Quit)
308: [04:43:53] * Err404NotFound quit (Quit: User guilty of hitting the Big Red X...)
309: [04:44:33] * micmania1 quit (Quit: micmania1)
310: [05:02:34] * Error404NotFound has joined #silverstripe
311: [05:20:32] * Cheddam quit (Quit: Textual IRC Client: www.textualapp.com)
312: [05:26:55] * spronk2 quit (Quit: I may need a longer sleep timer...)
313: [05:35:11] * silverdev has joined #silverstripe
314: [05:35:17] <silverdev> hello
315: [05:35:34] <silverdev> I am having a weird problem with SilverStripe
316: [05:35:43] <silverdev> anyone here i can use some help please ?
317: [05:36:46] * spronk2 has joined #silverstripe
318: [05:50:58] * r_hector has joined #silverstripe
319: [05:57:40] * silverdev quit (Ping timeout: 246 seconds)
320: [05:58:24] * Sticks has joined #silverstripe
321: [06:01:37] * spronk2 quit (Quit: I may need a longer sleep timer...)
322: [06:05:09] * Sticks quit (Quit: Leaving)
323: [06:22:27] * Liquide has joined #silverstripe
324: [06:40:05] * Stomach quit (Ping timeout: 265 seconds)
325: [06:50:36] <ss-helper> Re: Rendering DataList - http://www.silverstripe.org/community/forums/general-questions/show/101410#post400888
326: [07:06:18] * darjus01 has joined #silverstripe
327: [07:06:57] <darjus01> Hi, i have stdClass Objects from instagram to use it in ss template i need put it tu arraylist?
328: [07:07:20] * wmk has joined #silverstripe
329: [07:10:40] * MichalKleiner quit (Ping timeout: 256 seconds)
330: [07:26:31] * MichalKleiner has joined #silverstripe
331: [07:29:07] * Colin[pi] quit (Ping timeout: 252 seconds)
332: [07:34:44] * Eliseth has joined #silverstripe
333: [07:47:13] <wmk> Eliseth, \0/
334: [07:47:23] <Eliseth> o/
335: [07:47:49] * wmk wonders if ascii-waving counts as gymnastics
336: [07:47:57] <Eliseth> It should
337: [07:48:28] <Eliseth> Gymnascii's
338: [07:48:50] <wmk> LOL
339: [07:49:04] <wmk> Eliseth, YMMD...
340: [07:50:01] * Shrike_Finland has joined #silverstripe
341: [07:50:19] <Eliseth> Not a bad start for a friday then!
342: [07:50:36] <wmk> yo
343: [07:52:26] * Shrike_Finland quit (Read error: Connection reset by peer)
344: [07:52:34] * Shrike_Finland has joined #silverstripe
345: [07:54:19] * lerni has joined #silverstripe
346: [07:57:10] <wmk> any forum moderator around who can delete a spam post?
347: [08:04:22] * elgabbu quit (Ping timeout: 246 seconds)
348: [08:05:50] <ss-helper> [User Error] Uncaught Exception: Object->__call(): the method 'dosomething' does not exist on 'MyPage_Controller' - http://www.silverstripe.org/community/forums/data-model-questions/show/101413
349: [08:05:50] <ss-helper> Re: Mobile template on desktop - http://www.silverstripe.org/community/forums/template-questions/show/101409#post400889
350: [08:11:39] * huberd has joined #silverstripe
351: [08:24:01] * elgabbi has joined #silverstripe
352: [08:32:34] * elgabbu has joined #silverstripe
353: [08:34:02] * nontgor quit (Ping timeout: 250 seconds)
354: [08:34:28] * elgabbi quit (Ping timeout: 246 seconds)
355: [08:41:09] * gordon__ has joined #silverstripe
356: [08:41:34] * Stomach has joined #silverstripe
357: [08:42:49] * gordon__ is now known as nontgor
358: [08:48:45] * Blacklite has joined #silverstripe
359: [09:00:12] * kinglozzer has joined #silverstripe
360: [09:01:20] <wmk> kinglozzer, are you a forum moderator?
361: [09:01:31] <kinglozzer> wmk: Nope
362: [09:01:42] <wmk> ok
363: [09:08:13] * zauberfisch quit (Ping timeout: 264 seconds)
364: [09:08:21] * zauberfisch has joined #silverstripe
365: [09:11:26] * babak has joined #silverstripe
366: [09:14:04] * Pyphp7k has joined #silverstripe
367: [09:15:48] <kinglozzer> Pyphp7k: NO
368: [09:15:52] <kinglozzer> NO BLEEDING EDGE 4 U
369: [09:16:06] <Pyphp7k> because this kinglozzer : https://pages.zend.com/TY-Infographic.html
370: [09:17:01] <kinglozzer> Pyphp7k: I'm going to immediately upgrade and ensure all my code is incompatible with any older versions :D
371: [09:17:56] * Pyphp7k quit (Client Quit)
372: [09:18:53] <wmk> ouch, that infografics hurts...
373: [09:18:58] * Pyfdayk has joined #silverstripe
374: [09:19:09] <wmk> Pyfdayk, that infografic hurts
375: [09:19:28] <wmk> you didn't replace the bad words before sharing the link!
376: [09:20:22] <Pyfdayk> kinglozzer: wmk - this just in, PHP7 SO GOOD IT DOESN'T EVEN LOAD IF YOU HAVE JS OFF :D http://iforce.co.nz/i/hsp5fp14.n1t.png
377: [09:20:30] <Pyfdayk> hooray!
378: [09:20:34] <Pyfdayk> web script all the things!
379: [09:20:39] <kinglozzer> Pyfdayk: PHJSP
380: [09:20:42] <kinglozzer> PHPJS
381: [09:20:44] <kinglozzer> JSPHP
382: [09:20:46] <kinglozzer> idk
383: [09:20:50] <kinglozzer> they all sound terrible
384: [09:20:59] <Pyfdayk> yeah but that info graphic right
385: [09:21:02] <kinglozzer> https://github.com/preillyme/v8js
386: [09:21:03] <kinglozzer> :P
387: [09:21:03] <Pyfdayk> so much information
388: [09:21:15] <Pyfdayk> It's almost like php7 isn't a thing!
389: [09:21:15] <wmk> ah - yup. had to switch to the other browser without noscript enabled
390: [09:21:41] <kinglozzer> Pyfdayk: 5 facts is clearly enough for a full infographic!
391: [09:24:49] <Pyfdayk> Wholey fuck, so I looked a tthe info graphic
392: [09:24:57] <Pyfdayk> wholey shit it's motherfuck'n retarded
393: [09:29:54] * Stomach quit (Quit: zzz)
394: [09:45:33] * Colin[pi] has joined #silverstripe
395: [09:54:19] <lerni> Is there a way to check if on a Object at least has one many_many relation set by fetching it?
396: [09:54:20] * swaiba has joined #silverstripe
397: [09:54:42] <lerni> atm I'm fetching all, iterate over and push the items with ->relation()->count() > 0
398: [09:56:07] * ThePeach has joined #silverstripe
399: [09:56:24] <lerni> something like Customer::get()->filter("Categories.Count:GreaterThan", 0)
400: [10:02:24] <swaiba> lerni - you could use a where ('EXISTS (SELECT COUNT(*) FROM Category_OtherObj c_o WHERE Category.ID = c_o.CategoryID HAVING COUNT(*) > x')
401: [10:02:27] * cloph_away is now known as cloph
402: [10:04:08] <lerni> swaiba: aha yeh 'll go for this :)
403: [10:04:53] <wmk> lerni, create a filter for it and release it as a module ;)
404: [10:06:11] <ss-helper> Upgrading SS and newsletter module - http://www.silverstripe.org/community/forums/all-other-modules/show/101396
405: [10:07:34] * huberd quit (Ping timeout: 246 seconds)
406: [10:08:58] * Pyfdayk quit (Ping timeout: 246 seconds)
407: [10:11:01] <lerni> wmk there a many things I should release as module. probable you could make one, that forces people to release modules this than could go into ss-helper ;)
408: [10:11:32] <wmk> unfortunately i cannot modify ss-helper. zippy is his master
409: [10:11:42] <wmk> !releasemodule lerni
410: [10:11:50] <wmk> hehe, would be great
411: [10:12:07] <lerni> you're right - I should!
412: [10:13:05] <wmk> well, someone will notice it and use it when the time is right
413: [10:13:24] <wmk> and maybe one day it'll be merged into core when it's totally useful
414: [10:13:45] <lerni> what about making your sepia module more generic?
415: [10:14:00] <lerni> in the spirit of update2 - http://stackoverflow.com/questions/19812073/making-greyscale-image-in-silverstripe/19813124#19813124
416: [10:14:01] <wmk> even more generic?
417: [10:20:12] * Werner_2_ has joined #silverstripe
418: [10:21:53] * wmk quit (Read error: No route to host)
419: [10:22:40] * Werner_2_ is now known as wmk
420: [10:25:31] * UncleCheese has joined #silverstripe
421: [10:32:50] <Eliseth> So it has come to this now... http://tholman.com/dom-animator/
422: [10:37:02] <wmk> domina mator?
423: [10:51:57] * wmk quit (Read error: No route to host)
424: [10:52:09] * wmk has joined #silverstripe
425: [10:55:30] * DimiStripe has joined #silverstripe
426: [10:56:57] * stnvh has joined #silverstripe
427: [10:58:52] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
428: [11:06:20] <ss-helper> Re: getsubtree error - http://www.silverstripe.org/community/forums/general-questions/show/101397#post400892
429: [11:08:32] * Eliseth quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
430: [11:10:27] * MattyBalaam has joined #silverstripe
431: [11:11:40] <MattyBalaam> Is there a good guide for implementing permissions for users other than admin somewhere?
432: [11:12:02] <MattyBalaam> e.g. at the moment they cannot see any gridfield contents
433: [11:12:56] * Eliseth has joined #silverstripe
434: [11:13:58] * praveen___ has joined #silverstripe
435: [11:19:13] <kinglozzer> MattyBalaam: Look into PermissionProvider
436: [11:19:29] <kinglozzer> http://doc.silverstripe.org/en/developer_guides/security/permissions/
437: [11:22:41] <MattyBalaam> Thanks
438: [11:36:24] <praveen___> Hello, I am using the upload test case exmaple to upload an image I get an error saying "File is not a valid upload"
439: [11:36:26] <ss-helper> hello, The Cheesy Animation Factory. - http://www.silverstripe.org/community/forums/general-questions/show/101414
440: [11:36:37] <praveen___> here is the pastebin http://pastebin.com/xup7ANeX
441: [11:37:15] <praveen___> I saw the forum and somebody has similar issue due to openbase_dir
442: [11:37:31] <praveen___> I want to know why I get this error
443: [11:37:39] <praveen___> can anybody help please
444: [11:41:32] * huberd has joined #silverstripe
445: [11:41:34] <kinglozzer> praveen___: Your $show_name is never defined
446: [11:42:15] <praveen___> doing this way works http://pastebin.com/Qfp2WiGh
447: [11:42:26] <praveen___> I will edit it
448: [11:42:44] * lerni quit (Remote host closed the connection)
449: [11:45:06] <praveen___> one which is not workign using Upload http://pastebin.com/Ajjtnj1q
450: [11:47:05] <praveen___> using File i am able to upload http://pastebin.com/PFfXwic9
451: [11:47:32] <kinglozzer> praveen___: Upload_Validator::validate() is where that error is thrown. It's because it checks if(!is_uploaded_file($this->tmpFile['tmp_name'])), and your file won't pass that check
452: [11:48:27] <praveen___> why what should be path
453: [11:48:51] <kinglozzer> praveen___: It doesn't matter, it won't ever pass that check: http://php.net/manual/en/function.is-uploaded-file.php
454: [11:48:52] <praveen___> like is it full path or from cms root path
455: [11:49:01] <kinglozzer> Because the file wasn't uploaded via POST
456: [11:49:26] <praveen___> ok . so I need to use File
457: [11:49:34] <kinglozzer> Yes
458: [11:49:37] <praveen___> That is the right way to do
459: [11:49:39] <kinglozzer> Upload is for... well, uploads
460: [11:49:44] <praveen___> ok thanks
461: [11:51:29] <ss-helper> Nesting UserDefinedForm on parent page - http://www.silverstripe.org/community/forums/all-other-modules/show/101415
462: [12:01:31] * Shrike_Finland1 has joined #silverstripe
463: [12:02:49] * Colin[pi] quit (Ping timeout: 255 seconds)
464: [12:03:50] * Shrike_Finland quit (Read error: Connection reset by peer)
465: [12:05:38] * Shrike_Finland1 quit (Ping timeout: 246 seconds)
466: [12:08:11] * Shrike_Finland has joined #silverstripe
467: [12:12:03] * dhensby has joined #silverstripe
468: [12:15:39] * lerni_ has joined #silverstripe
469: [12:18:41] * lerni__ has joined #silverstripe
470: [12:18:41] * lerni_ quit (Read error: Connection reset by peer)
471: [12:19:51] * UndefinedOffset has joined #silverstripe
472: [12:21:34] <ss-helper> Re: Get CSV Filename in CsvBulkLoader - http://www.silverstripe.org/community/forums/general-questions/show/101370#post400841
473: [12:24:10] * lerni__ quit (Ping timeout: 244 seconds)
474: [12:37:05] * Liongold has joined #silverstripe
475: [12:37:11] <Liongold> Hi
476: [12:37:36] <Liongold> Can someone tell me how I can check the author of the last revision of page in the page's onAfterPublish()?
477: [12:37:39] <Liongold> please
478: [12:48:47] * babak quit (Quit: Connection closed for inactivity)
479: [12:51:39] <ss-helper> Re: [User Error] Uncaught Exception: Object->__call(): the method 'dosomething' does not exist on 'MyPage_Controller' - http://www.silverstripe.org/community/forums/data-model-questions/show/101413#post400895
480: [13:14:26] <wmk> Liongold, $this->AuthorID() should return the ID of the last author
481: [13:14:33] <wmk> of the current version
482: [13:16:27] <Liongold> wmk: Let me test it.
483: [13:16:41] <wmk> or just $this->AuthorID (without brackets)
484: [13:17:31] * lerni_ has joined #silverstripe
485: [13:17:35] <wmk> re lerni_
486: [13:21:03] <Liongold> wmk: It didn't work.
487: [13:21:45] <ss-helper> Re: getsubtree error - http://www.silverstripe.org/community/forums/general-questions/show/101397#post400896
488: [13:21:47] <wmk> Liongold, do you have xdebug?
489: [13:22:00] <wmk> set a breakpoint and play around ;)
490: [13:22:02] <Liongold> wmk: No.
491: [13:22:10] <wmk> see SiteTree and Versioned classes for informations
492: [13:22:27] <Liongold> wmk: Will do.
493: [13:22:44] * lerni_ quit (Ping timeout: 245 seconds)
494: [13:23:37] <Liongold> wmk: Thanks.
495: [13:23:56] <wmk> Liongold, did you google for it? http://www.silverstripe.org/community/forums/template-questions/show/23875
496: [13:24:38] <wmk> Versioned has an Author() method
497: [13:24:52] <cloph> Versioned::get_version('SiteTree', $this->ID, $this->Version)->AuthorID works
498: [13:25:24] <wmk> cloph, fine, soe ->Author() would return the member object
499: [13:26:19] <Liongold> wmk: cloph Thanks to both.
500: [13:36:47] <ss-helper> Re: Nesting UserDefinedForm on parent page - http://www.silverstripe.org/community/forums/all-other-modules/show/101415#post400897
501: [13:38:58] * praveen___ quit (Ping timeout: 246 seconds)
502: [13:45:26] * arnhoe has joined #silverstripe
503: [13:51:50] <ss-helper> Re: SS3.1.12 does not show images on frontpage - http://www.silverstripe.org/community/forums/general-questions/show/101412#post400898
504: [13:52:09] <wmk> hehe, array_map rocks ;)
505: [13:57:41] * Zeben has joined #silverstripe
506: [13:58:13] * Liongold quit (Ping timeout: 246 seconds)
507: [14:03:53] <Shrike_Finland> Hi guygs!
508: [14:04:23] <Zeben> Hi
509: [14:04:34] * muskie9 has joined #silverstripe
510: [14:04:42] <Shrike_Finland> Anyone familiar with Silverstripe payments module? Swipestripe uses Methods -> where are these methods created?
511: [14:10:13] * qlex has joined #silverstripe
512: [14:10:19] * qlex says hi
513: [14:10:26] <qlex> guys, a quick help is needed :)
514: [14:10:49] <qlex> when im uploading a file as attachment to blog item or page, there's somewhere a setting that only allows me to upload pdf type file
515: [14:11:02] <qlex> when im trying to upload docx or doc, im ghetting:
516: [14:11:06] <qlex> SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
517: [14:11:10] * lerni_ has joined #silverstripe
518: [14:11:30] <qlex> there's a grid where i can upload multiple attachments to blog entry for exmaple
519: [14:11:42] <qlex> where should i look for that to add support for different extensions of files ?
520: [14:17:07] * catcher has joined #silverstripe
521: [14:27:14] <wmk> !paste qlex
522: [14:27:14] <ss-helper> qlex: 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.
523: [14:27:42] <wmk> qlex, or could you link to the github source where the upload grid is generated?
524: [14:28:53] <qlex> wmk: i need to ask my developers where it is
525: [14:29:01] <qlex> i was thinking its in stock ss 3.1 files somewhere
526: [14:29:23] <wmk> dunno, normally you define the page type yourself
527: [14:29:24] <qlex> we're only using GridFieldBulkEditingTools and SortableGrid and userforms
528: [14:29:43] <wmk> what page type? is there a class with the pagetype name?
529: [14:29:56] <wmk> can you paste the relevant data (getCMSFields method) ?
530: [14:30:00] <qlex> the way its constructed is that in blog entry (altough its also in normal page) i have a tab caled attachment
531: [14:30:15] <qlex> http://prntscr.com/6lzms3
532: [14:30:34] <qlex> and then when i cliock on green button add new file
533: [14:30:36] <qlex> i get:
534: [14:30:36] <qlex> http://prntscr.com/6lzmv1
535: [14:30:58] <wmk> that's an UploadField
536: [14:31:52] <qlex> http://sspaste.com/paste/show/551569d3e3ccd
537: [14:31:56] <qlex> that would be my page.php file
538: [14:32:12] <qlex> where i add field Załączniki (which is attachments) to tab
539: [14:34:54] <qlex> if its UploadField, would i look for it in cms or framework dirs ?
540: [14:35:12] <wmk> well, the grid utilizes File class
541: [14:35:20] <wmk> you have BulkUpload configured?
542: [14:35:42] <wmk> hmm, no
543: [14:36:11] <wmk> WHAT is the json returning? can you see it in firebug's network tab?
544: [14:36:16] <wmk> maybe it logs an error
545: [14:36:30] <wmk> do you have ss error logs enabled? webserver error log?
546: [14:36:39] <wmk> qlex, what php version? what silverstripe version?
547: [14:36:52] <wmk> suhosin enabled on server?
548: [14:37:28] <wmk> if you can grab the error response we'll be a huge step forward
549: [14:39:15] <qlex> ss 3.1.8
550: [14:39:36] * arnhoe quit (Remote host closed the connection)
551: [14:39:52] <qlex> php 5.4.30
552: [14:40:14] <qlex> suhisin is in phpinfo
553: [14:40:41] <qlex> suhosin.ini is additional file parsed
554: [14:40:43] <wmk> could be (though i doubt it with file upload...)
555: [14:42:23] <qlex> should i enable firebug and see errors?
556: [14:42:30] <wmk> yes!
557: [14:44:01] <qlex> ok
558: [14:44:25] <qlex> so there's a post method for http://mywebsite.pl/admin/pages/edit/EditForm/field/Files/item/new/ItemEditForm/field/Image/upload
559: [14:44:28] <qlex> and answer is:
560: [14:44:44] <qlex> <b>Fatal error</b>: Call to a member function getURL() on a non-object in <b>/users/xxxx/shxxxx/www/shxxxxxxxxx.website.pl/framework/forms/UploadField.php</b> on line <b>911</b><br />
561: [14:45:07] <wmk> is the file too big?
562: [14:45:15] <qlex> no no
563: [14:45:18] * Shrike_Finland quit (Quit: Leaving.)
564: [14:45:45] <wmk> any chance to test it on 3.1.12 ?
565: [14:46:35] <qlex> not really
566: [14:46:53] <wmk> error log? webserver log? syslog?
567: [14:47:03] <qlex> virtual hosting
568: [14:47:07] <wmk> seems the file doesn't get uploaded properly
569: [14:47:53] <qlex> http://sspaste.com/paste/show/55156d956714e
570: [14:47:58] <qlex> accoprding to this line 911
571: [14:48:07] <qlex> which is in this paste line 09
572: [14:48:08] <qlex> it says"
573: [14:48:13] <qlex> } elseif ($file->hasMethod('SetRatioSize') && $file->getExtension()!='pdf') {
574: [14:48:24] <qlex> would it help to modifyu it here?
575: [14:51:00] <wmk> well, never ever modify core files
576: [14:51:16] * lerni_ quit (Remote host closed the connection)
577: [14:51:28] <qlex> exactly
578: [14:51:49] <wmk> but... File doesn't have setRatioSize
579: [14:51:50] <qlex> im trying to solve a problme, that would normally be solved by the guys who did extend this installatioin
580: [14:51:59] <qlex> but they're away
581: [14:52:12] <wmk> any extension on File?
582: [14:52:19] <qlex> xls file has 81kb so its smaller than most of pdf files that i can upload
583: [14:52:21] <wmk> which does have setRatioSize?
584: [14:52:22] <qlex> its being uploaded
585: [14:52:33] <qlex> and when it comes to 100%, it dispalys this error
586: [14:52:43] <qlex> when i tried to re-add it, i got file already exists
587: [14:52:54] <qlex> so it just deosnt allow to "add" it as attachment to the website
588: [14:53:11] <wmk> though in 3.1.12 i don't see the !== "pdf" thing in this line.
589: [14:53:22] <wmk> so i guess your guys hacked something bad together
590: [14:53:32] <wmk> tell them to NEVER EVER change core files
591: [14:53:45] <qlex> they didnt
592: [14:54:57] <wmk> THEY DID! https://github.com/silverstripe/silverstripe-framework/blob/3.1.8/forms/UploadField.php#L910
593: [14:55:30] <wmk> check if File class has any Extension / DataExtension on it
594: [14:55:46] <wmk> which has a setRatioSize() method
595: [14:56:10] <wmk> grep your whole project for setRatioSize to find it possibly
596: [14:56:13] <wmk> have to run...
597: [14:58:35] <qlex> hmm
598: [14:59:08] * r_hector quit (Quit: Leaving.)
599: [15:02:27] * wmk quit (Ping timeout: 246 seconds)
600: [15:10:39] * arnhoe has joined #silverstripe
601: [15:10:56] <ss-helper> SilverStripe 3.1.0-beta2 - https://groups.google.com/d/msg/silverstripe-announce/fT3lquh9T9I/KMJoBhlz0b0J
602: [15:13:34] * lietzmk has joined #silverstripe
603: [15:13:50] * lerni_ has joined #silverstripe
604: [15:14:08] * ThePeach quit (Read error: Connection reset by peer)
605: [15:16:39] * Pychrmk has joined #silverstripe
606: [15:16:56] <Pychrmk> did you win catcher?
607: [15:17:32] <kinglozzer> Pychrmk: You're good at SQL, what's wrong with this query?
608: [15:17:32] <kinglozzer> CREATE TABLE `Page` ( `ID` int(11) not null auto_increment, `FooterText` mediumtext character set utf8 collate utf8_general_ci, primary key (ID) ) TYPE=MyISAM
609: [15:17:37] <catcher> All kinds of winning so far.
610: [15:17:39] <Pychrmk> kinglozzer: the fact that you wrote it?
611: [15:17:43] <Pychrmk> HEEEYOOOOOO xD
612: [15:17:45] <kinglozzer> I didn't, SS did :P
613: [15:17:55] <Pychrmk> Oh, well that's what's wrong with it then.
614: [15:18:08] <Pychrmk> kinglozzer: backticks.
615: [15:18:15] <Pychrmk> fuck'n mysql and fuck'n backticks.
616: [15:18:19] <Pychrmk> NOT EVEN ONCE
617: [15:18:22] * darjus01 quit (Ping timeout: 246 seconds)
618: [15:19:16] <kinglozzer> Damnit
619: [15:19:23] <kinglozzer> It was TYPE=MyISAM
620: [15:19:27] <kinglozzer> Should be engine
621: [15:19:45] <Pychrmk> see, MySQL is always the problem.
622: [15:20:44] <catcher> Pychrmk, though the search for a meta module continues
623: [15:21:13] <catcher> I like the look of tractorcow's OG module, but I didn't get a chance to see if it includes regular meta.
624: [15:21:18] <Pychrmk> http://addons.silverstripe.org/add-ons?search=meta
625: [15:21:21] <Pychrmk> catcher: ^ ??
626: [15:21:30] <catcher> mmhmm
627: [15:21:33] <Pychrmk> OG?
628: [15:21:47] <Pychrmk> oic
629: [15:22:51] * qlex has left #silverstripe
630: [15:25:51] <ss-helper> SilverStripe 3.0.6 Security Release - https://groups.google.com/d/msg/silverstripe-announce/m4vmXYmV0CE/EfSzp3t6mvsJ
631: [15:26:35] <catcher> Pychrmk, how to do you handle meta with your sluggable guys?
632: [15:26:53] * dhensby quit ()
633: [15:29:37] * Liquide quit ()
634: [15:40:07] * wmk has joined #silverstripe
635: [15:43:19] <Pychrmk> catcher: what do you mean?
636: [15:43:26] <Pychrmk> catcher: I wrote docs last night.
637: [15:43:29] <Pychrmk> :>
638: [15:43:40] <Pychrmk> fuck'n github and it's bullshit lack of markdown preview
639: [15:43:51] <wmk> Pychrmk, really? let me see
640: [15:43:58] <wmk> doc Pychrmk...
641: [15:43:59] <Pychrmk> wmk: up :>
642: [15:44:05] <wmk> link?
643: [15:44:05] <Pychrmk> yup*
644: [15:44:23] <wmk> is it so easy to get a degree in uk?
645: [15:44:25] <wmk> *duck*
646: [15:44:39] <Pychrmk> wmk: OH YOU
647: [15:44:42] <Pychrmk> xD
648: [15:44:49] <Pychrmk> I mean, probably.
649: [15:44:58] <wmk> i thought you're a bedchiller
650: [15:45:26] <catcher> Pychrmk, very nice
651: [15:45:35] <catcher> Pychrmk, packagist!
652: [15:46:09] <Pychrmk> catcher: next step yeh I guess
653: [15:46:16] <Pychrmk> wmk: bedchiller?
654: [15:46:32] <wmk> Pychrmk, lerni thought today we should make a command for ss-helper like "release this stuff as a module"
655: [15:46:39] <Pychrmk> haHAAH
656: [15:46:45] <Pychrmk> lol dat capslock
657: [15:46:47] <Pychrmk> timely
658: [15:46:55] <Pychrmk> Fuck I hate when it rains
659: [15:46:57] <Pychrmk> my shoes get wet
660: [15:47:09] <Pychrmk> then they f'n reek for days afterwards :<
661: [15:51:27] <wmk> Pychrmk, we need more docs like that... "The previous two notes are jokes. :)"
662: [15:51:31] <Pychrmk> catcher: if by 'how does your module interact with metadata' the short answer is "it doesn't."
663: [15:51:36] <Pychrmk> Nor should it.
664: [15:52:12] <ss-helper> Re: SS3.1.12 does not show images on frontpage - http://www.silverstripe.org/community/forums/general-questions/show/101412#post400899
665: [15:53:00] <catcher> Pychrmk, I'm asking about your projects, not your module.
666: [15:53:25] <catcher> step 1: sluggable, check. step 2: underpants. step 3: meta
667: [15:53:26] <Pychrmk> I still don't follow catcher :<
668: [15:53:33] <Pychrmk> underpants?
669: [15:53:39] <Pychrmk> 0.0
670: [15:54:11] <catcher> Pychrmk, http://i3.kym-cdn.com/entries/icons/facebook/000/000/248/underpants.jpg
671: [15:54:56] <catcher> Pychrmk, you said there are loads of meta modules out there for DOs. I haven't yet seen one I like, I'm asking what you use.
672: [15:55:20] <catcher> it seems we have similar needs with lightweight slugging, so I'm assuming you also give them dynamic meta.
673: [15:58:21] <Pychrmk> catcher: I don't.
674: [15:58:25] <Pychrmk> to be simple.
675: [15:58:34] <Pychrmk> if I want a metatitle, I'd just use $Title
676: [15:58:49] <Pychrmk> y'know, or something like that.
677: [15:58:58] <Pychrmk> Metadata are simply text fields usually.
678: [15:59:23] <wmk> html metadata?
679: [15:59:23] <Pychrmk> there's nothing complex, I'd just probably build another simple wee extension - but there are already about a billion, so eh/
680: [15:59:37] <Pychrmk> well I dunno. catcher is being all ambiguous about this.
681: [15:59:40] <wmk> there is a metatitle extension out there
682: [16:00:41] <Pychrmk> There are about 10 of them wmk :P
683: [16:01:12] <wmk> oh. always use the kinglozzer one
684: [16:01:20] <kinglozzer> <3
685: [16:01:46] <Pychrmk> gawd, that last ss-helper update. gawd, what a horrible setup :<
686: [16:01:49] <catcher> I'm looking for something that will let me write a function to provide default metadescription, or allow overrides per object with the nice little meta fields.
687: [16:01:56] <wmk> Pychrmk, ??
688: [16:02:05] <Pychrmk> catcher: default as in...
689: [16:02:08] <Pychrmk> site wide?
690: [16:02:17] <Pychrmk> doesn't that defeat the point of metadescription?
691: [16:02:22] <catcher> No. a function on the class.
692: [16:02:29] <kinglozzer> catcher: SS already provides a default: content
693: [16:02:35] <kinglozzer> I think? Maybe I made that up...
694: [16:02:36] <Pychrmk> wmk: http://www.silverstripe.org/community/forums/general-questions/show/101412
695: [16:02:51] <Pychrmk> hahah kinglozzer
696: [16:02:59] <Pychrmk> +1 troll, would read again.
697: [16:03:06] <kinglozzer> ;)
698: [16:03:09] <Pychrmk> $Content.FirstParagraph to be sure.
699: [16:03:13] <catcher> Foo -> defaultMetaDescription() { return $this->Description; } Bar -> $this->Content
700: [16:03:34] <kinglozzer> Yeah I did make it up, it doesn't
701: [16:03:34] <Pychrmk> catcher: nope, still don't follow.
702: [16:03:55] <Pychrmk> kinglozzer: cms module does though!
703: [16:04:22] <kinglozzer> Pychrmk: Nope :(
704: [16:04:26] <wmk> Pychrmk, saw this forum post, anything changed in the last releases?
705: [16:04:34] <catcher> Example, I have 1k people, and I want their bio to appear as meta description. I want to override it manually for 20 of them.
706: [16:04:35] <wmk> i try to avoid installing SS in subfolders
707: [16:04:35] <kinglozzer> https://github.com/silverstripe/silverstripe-cms/blob/3.1/code/model/SiteTree.php#L1411-L1413
708: [16:04:37] <Pychrmk> kinglozzer: Page::Content
709: [16:05:32] <kinglozzer> catcher: there's an extension point in SiteTree::MetaTags() (linked above) if that's any use?
710: [16:05:47] <wmk> catcher, forget metadata, use microdata
711: [16:05:51] <Pychrmk> A well written article should summarise itself in the opening paragraph, particularly with listing what it's about in the opening sentence.
712: [16:05:53] <kinglozzer> nanodata!
713: [16:06:06] <wmk> pico?
714: [16:06:11] <Pychrmk> $Content.FirstParagraph should be fitting for a decent MetaDescription (in the case of a lack of one proper)
715: [16:06:32] * arnhoe quit ()
716: [16:06:36] <wmk> well, kinglozzer, catcher, depending on WHAT your data is: e.g. for persons, microdata is usesful
717: [16:06:38] <wmk> or for events
718: [16:06:45] <wmk> and google loves that
719: [16:06:45] <Pychrmk> vcard!
720: [16:06:47] <Pychrmk> D:
721: [16:07:04] <wmk> stumbled over this yesterday: https://github.com/mi3ll/silverstripe-microdata
722: [16:07:51] <wmk> kinglozzer, but if i ever fork that module I'll rename it to nanodata ;)
723: [16:08:09] <catcher> I'm surprised this isn't a super common thing.
724: [16:08:31] <Pychrmk> pikadata - like an electic bumblebee squirrel.
725: [16:08:32] <catcher> Surely people don't often write thousands of meta descriptions when there's some field that will suffice for most.
726: [16:08:43] <kinglozzer> lol wmk
727: [16:08:44] <Pychrmk> catcher: 'some field'?
728: [16:08:47] <kinglozzer> I'm gonna create silverstripe-bigdata
729: [16:08:55] <catcher> Pychrmk, right, depending on the object.
730: [16:09:03] <Pychrmk> catcher: so... just use that field!
731: [16:09:05] <catcher> Pychrmk, people -> bio, press releases -> summary
732: [16:09:20] <catcher> Pychrmk, + override, with nice fields
733: [16:09:45] <Pychrmk> yeh. I could write a module that does that.
734: [16:09:54] <Pychrmk> so could you!
735: [16:10:06] <Pychrmk> well, I might give it a go tonight. Just coz.
736: [16:10:24] <catcher> No doubt. My first Q was if anyone knows if one exists already.
737: [16:10:52] * huberd quit (Ping timeout: 246 seconds)
738: [16:10:56] <catcher> i.e. slugging, which went well.
739: [16:11:18] <Pychrmk> catcher: not that I'm aware of.
740: [16:11:37] <Pychrmk> Most people dont' tend to write very flexible modules. You either have the usecase they wrote for, or you don't.
741: [16:11:50] <Pychrmk> Which is why I write mine the way I do.
742: [16:11:57] <wmk> Pychrmk, well, or they are overflexible
743: [16:12:21] <Pychrmk> bloaty and still only do 80% of what you need (and you have to bend/break for the other 20%)
744: [16:12:25] <catcher> I've coded this directly into projects in the past, it gets messy because SS meta works with strings too early.
745: [16:12:26] <wmk> though ppl used to *derp are used to have ready to go modules
746: [16:12:44] <Pychrmk> Silverstripe was written the way it is for that same reason.
747: [16:13:11] <Pychrmk> wmk: yeah. Ready to go is one thing. A module can be flexible and ready to go too :>
748: [16:13:28] <Pychrmk> ... in most cases
749: [16:13:36] <wmk> depends...
750: [16:13:45] <Pychrmk> wmk: you might be overjoyed :P
751: [16:13:46] <wmk> should a gallery module be bundled with a lightbox js?
752: [16:14:03] <Pychrmk> I think I might have decided to rewrite greyscale images to colourbalanceimages or something
753: [16:14:24] <wmk> Pychrmk, lerni told with me about that for the sepia module
754: [16:14:24] <Pychrmk> to allow different configuration of the greyscale input - thus allowing for sepia, etc.
755: [16:14:35] <wmk> talked...
756: [16:14:55] <Pychrmk> that stackoverflow post got updated, and the fellow did have a point (maybe it was lerni_ ? idk.)
757: [16:15:41] * babak has joined #silverstripe
758: [16:17:43] <wmk> dunno.
759: [16:34:00] * joelpittet has joined #silverstripe
760: [16:37:20] <ss-helper> Re: SS3.1.12 does not show images on frontpage - http://www.silverstripe.org/community/forums/general-questions/show/101412#post400900
761: [16:40:45] <Pychrmk> phew, someone else told him.
762: [16:40:58] <ss-helper> SilverStripe 3.1.0-beta2 - https://groups.google.com/d/msg/silverstripe-announce/fT3lquh9T9I/KMJoBhlz0b0J
763: [16:41:01] <ss-helper> SilverStripe 3.0.6 Security Release - https://groups.google.com/d/msg/silverstripe-announce/m4vmXYmV0CE/EfSzp3t6mvsJ
764: [16:42:59] * Werner_2_ has joined #silverstripe
765: [16:43:00] * wmk quit (Read error: No route to host)
766: [16:43:18] * Werner_2_ is now known as wmk
767: [16:51:25] * qlex has joined #silverstripe
768: [16:51:59] <wmk> re qlex
769: [16:52:22] <ss-helper> Silverstripe _t() function inside template problem - http://www.silverstripe.org/community/forums/general-questions/show/101416
770: [16:53:05] <ss-helper> Re: SS3.1.12 does not show images on frontpage - http://www.silverstripe.org/community/forums/general-questions/show/101412#post400902
771: [16:53:20] * Eliseth quit (Ping timeout: 246 seconds)
772: [16:56:03] <ss-helper> SilverStripe 3.1.0-beta2 - https://groups.google.com/d/msg/silverstripe-announce/fT3lquh9T9I/KMJoBhlz0b0J
773: [16:56:07] <ss-helper> SilverStripe 3.0.6 Security Release - https://groups.google.com/d/msg/silverstripe-announce/m4vmXYmV0CE/EfSzp3t6mvsJ
774: [17:00:04] <Pychrmk> ss-helper seems the broke :<
775: [17:00:20] <wmk> yo, the old announces. but that's all the time
776: [17:03:39] * muskie9 is now known as muskie9_afk
777: [17:04:45] * MattyBalaam quit (Quit: Page closed)
778: [17:06:07] <wmk> zauberfisch, are your vagrant slides online somewhere?
779: [17:06:34] * Liquide has joined #silverstripe
780: [17:07:25] <ss-helper> Re: Silverstripe _t() function inside template problem - http://www.silverstripe.org/community/forums/general-questions/show/101416#post400905
781: [17:07:25] <ss-helper> Re: Silverstripe _t() function inside template problem - http://www.silverstripe.org/community/forums/general-questions/show/101416#post400904
782: [17:07:25] <ss-helper> Re: silverstripe blog update "there are two files containing the "blogentry" class" - http://www.silverstripe.org/community/forums/blog-module-forum/show/101405#post400903
783: [17:07:31] <swaiba> mmmmm vagrant
784: [17:08:06] * lerni_ quit (Remote host closed the connection)
785: [17:11:01] <ss-helper> SilverStripe 3.1.0-beta2 - https://groups.google.com/d/msg/silverstripe-announce/fT3lquh9T9I/KMJoBhlz0b0J
786: [17:11:11] <ss-helper> SilverStripe 3.0.6 Security Release - https://groups.google.com/d/msg/silverstripe-announce/m4vmXYmV0CE/EfSzp3t6mvsJ
787: [17:11:11] * qlex quit (Read error: Connection reset by peer)
788: [17:11:44] * qlex has joined #silverstripe
789: [17:11:47] * qlex quit (Client Quit)
790: [17:18:11] * kinglozzer weekends
791: [17:18:16] <kinglozzer> <3
792: [17:18:16] * kinglozzer quit ()
793: [17:20:45] * Error404NotFound quit (Quit: User guilty of hitting the Big Red X...)
794: [17:22:18] <Pychrmk> mmm, weekend I guess :>
795: [17:22:20] * Pychrmk quit ()
796: [17:22:33] <swaiba> yeah weekends are better than vagrant!
797: [17:22:38] * swaiba quit (Remote host closed the connection)
798: [17:48:09] * gelignite has joined #silverstripe
799: [17:53:09] <ss-helper> Re: SS3.1.12 does not show images on frontpage - http://www.silverstripe.org/community/forums/general-questions/show/101412#post400906
800: [18:15:09] * UndefinedOffset quit (Quit: Leaving.)
801: [18:15:27] * muskie9_afk is now known as muskie9
802: [19:14:45] * UndefinedOffset has joined #silverstripe
803: [19:19:01] * MichalKleiner quit (Ping timeout: 250 seconds)
804: [19:32:00] * MichalKleiner has joined #silverstripe
805: [19:36:21] * MichalKleiner quit (Ping timeout: 248 seconds)
806: [19:39:53] * Pyromanik has joined #silverstripe
807: [19:48:48] * Stomach has joined #silverstripe
808: [19:48:58] <Pyromanik> morning Stomach
809: [19:49:04] <Stomach> hey Pyromanik
810: [19:49:38] <Stomach> hows stuff
811: [19:49:43] <Pyromanik> areet
812: [19:49:50] <Pyromanik> how's Saturday?
813: [19:50:58] * mobiusnz has joined #silverstripe
814: [19:53:17] * mobiusnz quit (Client Quit)
815: [20:04:41] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
816: [20:13:56] * lerni_ has joined #silverstripe
817: [20:20:21] * UndefinedOffset quit (Quit: Leaving.)
818: [20:28:16] * wmk quit (Read error: No route to host)
819: [20:28:24] * wmk has joined #silverstripe
820: [20:33:59] * nontgor quit (Ping timeout: 245 seconds)
821: [20:38:37] * scpi has joined #silverstripe
822: [20:45:45] * Shrike_Finland has joined #silverstripe
823: [20:46:17] * Shrike_Finland quit (Client Quit)
824: [20:46:25] * Shrike_Finland has joined #silverstripe
825: [20:46:59] * nontgor has joined #silverstripe
826: [21:01:57] * scpi quit (Quit: scpi)
827: [21:01:58] * wmk quit (Ping timeout: 256 seconds)
828: [21:02:15] * lerni_ quit (Ping timeout: 246 seconds)
829: [21:08:06] <ss-helper> he sums involved could be substantia - http://www.silverstripe.org/community/forums/hosting-requirements/show/101417
830: [21:08:20] <Pyromanik> gg
831: [21:08:21] * Pyromanik quit (Quit: Leaving)
832: [21:12:12] * lerni_ has joined #silverstripe
833: [21:12:45] * lerni_ quit (Client Quit)
834: [21:23:25] * Stomach quit (Quit: zzz)
835: [21:35:08] * catcher quit (Quit: Leaving)
836: [21:49:21] * Stomach has joined #silverstripe
837: [22:52:04] * Colin[pi] has joined #silverstripe
838: [22:54:13] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
839: [22:55:33] * lietzmk quit (Remote host closed the connection)
840: [23:08:48] * babak quit (Quit: Connection closed for inactivity)
841: [23:19:29] * Shrike_Finland quit (Quit: Leaving.)
842: [23:54:08] * UncleCheese has joined #silverstripe

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