#silverstripe IRC Log

IRC log for 3 July 2015

All timestamps are in UTC.

1: [00:00:27] <JohnJ_> Hi, being a bit of a newbie to SS, how can I create a menu entry that doesn't have a page behind it? I just need it in the menu to open the submenu to reach the sub-pages. E.g. Products (just menu entry) should only show the submenu when hovered and have no function on click.
2: [00:01:46] <Ryan-Toast> JohnJ_: You could just use a redirector page, and redirect to the first child
3: [00:02:06] <Ryan-Toast> Otherwise you’ll have to make a custom page type, and check against it in your menu template.
4: [00:02:30] <JohnJ_> I could but I would prefer not to. It's less confusing for the visitor.
5: [00:02:37] * micmania1 has joined #silverstripe
6: [00:02:45] <JohnJ_> is there an example code for such a page type?
7: [00:02:57] <Ryan-Toast> Then yeah, vreate a new page type, and then in your menu loop check against the ClassName and render it as a span instead of an anchor.
8: [00:03:18] <Ryan-Toast> Just do class StaticMenuPage extends Page {}
9: [00:03:32] <Ryan-Toast> run a dev/build and you should ebe able to create it :)
10: [00:03:54] <adrexia> personally, I find that style of menu really frustrating
11: [00:04:02] <adrexia> but I've used redirectors in the past
12: [00:04:18] <Ryan-Toast> in your loop: <% if $ClassName = ‘StaticMenuPage’ %>Foo<% end_if %>
13: [00:04:21] <adrexia> and then just not included the link in the template
14: [00:04:22] <Ryan-Toast> adrexia: agreed.
15: [00:04:32] <JohnJ_> ok thanks, I give it a go...
16: [00:04:48] <Ryan-Toast> Maybe try what adrexia said first about a redirector with no link
17: [00:06:02] <adrexia> I don't know why people started to do that stuff, but github did it recently and it catches me out every time
18: [00:06:11] <Ryan-Toast> adrexia: bootstrap
19: [00:06:16] <Ryan-Toast> bootstrap did it.
20: [00:06:18] <adrexia> yeah :-/
21: [00:07:03] <adrexia> it rather violates the 'don't make me think' principal
22: [00:07:32] * micmania1 quit (Quit: micmania1)
23: [00:07:56] <Ryan-Toast> No arguments here.
24: [00:07:58] <JohnJ_> yes it's not ideal...legacy for now...
25: [00:08:23] * mahfuz has joined #silverstripe
26: [00:10:39] * spronk has joined #silverstripe
27: [00:10:57] <zippy> spronk: o/ you .4 yet?
28: [00:13:27] <antmas> spronk: another question - you know Toby Cox?
29: [00:18:32] <antmas> ;__________: http://gizmodo.com/bubble-wraps-new-design-is-unpoppable-and-its-all-our-f-1715420994
30: [00:23:35] <Ryan-Toast> “invented in the late 1950s as a wallpaper” lol
31: [00:23:59] <antmas> that'd be a pretty rad wallpaper
32: [00:24:29] <Ryan-Toast> until everyone pops them.
33: [00:24:33] <Ryan-Toast> Then you have a shitty wallpaper.
34: [00:24:38] <antmas> :P
35: [00:24:46] <antmas> then it's just glad wrap
36: [00:25:42] * Sticks has joined #silverstripe
37: [00:29:09] * spronk is .4
38: [00:29:13] <spronk> and yes i know toby antmas
39: [00:29:30] <spronk> went to uni with him
40: [00:30:54] <antmas> spronk: nice. Met him once and is younger brother. Am mates with his sister.
41: [00:31:01] <antmas> schmall world
42: [00:31:07] <spronk> haha, yeahh
43: [00:31:07] <spronk> lol
44: [00:31:23] <spronk> toby's a good c*nt
45: [00:31:38] <antmas> mm
46: [00:31:46] <antmas> company gets some big clients too
47: [00:31:53] <spronk> carnival?
48: [00:31:56] <antmas> mm
49: [00:32:03] <spronk> yeh, if hes still working there...
50: [00:32:09] <antmas> no idea
51: [00:32:20] <antmas> I remember he offered me a job there years ago
52: [00:32:30] <antmas> we were both very drunk :P
53: [00:32:35] <spronk> :D
54: [00:34:38] * marvanni quit (Quit: marvanni)
55: [00:35:02] <antmas> ah yip, no longer at carnival
56: [00:35:41] <spronk> mm
57: [00:35:43] * antmas_ has joined #silverstripe
58: [00:36:06] <spronk> thought he'd left
59: [00:36:18] <spronk> still on their website though
60: [00:36:50] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
61: [00:39:09] * antmas quit (Ping timeout: 246 seconds)
62: [00:42:29] * Stomach quit (Quit: zzz)
63: [00:42:41] * antmas_ is now known as antmas
64: [00:44:58] * Stomach has joined #silverstripe
65: [00:50:52] * Kowiana has joined #silverstripe
66: [00:51:02] * glenn-bautista quit (Quit: Leaving.)
67: [00:54:13] * stecman quit (Quit: This computer has gone to sleep)
68: [00:55:49] * Phlunk3 quit (Remote host closed the connection)
69: [00:59:51] * adrexia quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
70: [01:07:43] * zippy has joined #silverstripe
71: [01:08:10] * Ryan-Toast quit (Quit: Ryan-Toast)
72: [01:11:48] <Stomach> hey guys
73: [01:11:54] <Stomach> https://github.com/uniter/uniter-jquery
74: [01:11:58] <Stomach> our problems are all solved!
75: [01:13:26] <spronk> wat
76: [01:14:01] <spronk> dear god
77: [01:14:02] <spronk> kill it with fire
78: [01:14:50] <zippy> spronk: https://github.com/TheMonkeys/laravel-silverstripe
79: [01:15:18] <spronk> again, kill it with fire
80: [01:15:19] <spronk> :P
81: [01:16:06] * Ryan-Toast has joined #silverstripe
82: [01:16:08] <Stomach> http://phpjs.hertzen.com/
83: [01:16:33] <DanaeNZ> Mmmmm that was some good pizza
84: [01:16:53] * micmania1 has joined #silverstripe
85: [01:16:59] <antmas> Stomach: lol
86: [01:17:46] <Ryan-Toast> DanaeNZ: I don’t like pizza for lunch :(
87: [01:17:53] * adrexia has joined #silverstripe
88: [01:18:51] <antmas> pizza for lunch *seems* wrong
89: [01:19:01] * eceer has joined #silverstripe
90: [01:19:31] <antmas> unless it's this maybe http://sploid.gizmodo.com/this-crazy-pizza-fried-chicken-has-permanently-warped-m-1715187778
91: [01:19:46] * zippy quit (Quit: Textual IRC Client: www.textualapp.com)
92: [01:20:04] <eceer> Hi all. I have a question to emailing from within onAfterWrite call
93: [01:20:16] <antmas> eceer: o/
94: [01:20:39] <eceer> When I call an email function from my controller it sends as expected
95: [01:22:17] <eceer> but when I try and send email from onAfterWrite The email sends with only the subject line populated and I get a failed error on the SSViewer.
96: [01:25:58] * Stomach quit (Quit: zzz)
97: [01:31:07] * eceer quit (Quit: Page closed)
98: [01:31:08] * stecman has joined #silverstripe
99: [01:32:56] * Stomach has joined #silverstripe
100: [01:41:50] <Ryan-Toast> Made a little method for srcset and images. thoughts, feelings? http://pastie.org/10270867
101: [01:42:55] * glenn-bautista has joined #silverstripe
102: [01:45:02] <antmas> what's ceil()? is that rounding or some such?
103: [01:45:16] <DanaeNZ> round up
104: [01:45:18] <Colin[pi]> antmas: opposite of floor()
105: [01:45:23] <antmas> :|
106: [01:45:27] <DanaeNZ> from the ceil() to da floor()
107: [01:45:36] <DanaeNZ> that’s a rap song right
108: [01:45:47] <Ryan-Toast> the ceil() is on fire, let the mother fucker burn!
109: [01:45:48] <antmas> 'rap song'
110: [01:45:49] <antmas> XD
111: [01:46:17] <DanaeNZ> you kids and your gangsta rap
112: [01:46:21] <Colin[pi]> Ryan-Toast: (int)intval( ) ?
113: [01:46:24] <antmas> https://goo.gl/f4hHqr
114: [01:46:25] <Ryan-Toast> added a check against division by zero errors: http://pastie.org/10270871
115: [01:46:41] <Ryan-Toast> Caolin[pi]: cast, and check :P
116: [01:46:50] <Ryan-Toast> Do not know if needed.
117: [01:47:02] <antmas> wat
118: [01:47:09] <antmas> cast an int and then check the value is an int?
119: [01:47:33] <Colin[pi]> Ryan-Toast: yeah the intval() is only needed if converting to other than base 10
120: [01:47:39] <Ryan-Toast> ah, kay..
121: [01:47:41] <Ryan-Toast> Will remove.
122: [01:47:46] <Colin[pi]> remove that and just keep the (int) :D
123: [01:47:49] <Ryan-Toast> I just went a little trigger happy with my casting
124: [01:47:59] * Colin[pi] quit ()
125: [01:48:16] <Ryan-Toast> same thing with floatval I guess
126: [01:48:33] * Colin[pi] has joined #silverstripe
127: [01:49:16] <Colin[pi]> Ryan-Toast: looks interesting though sir, I've been meaning to look into srcset stuff for a while
128: [01:49:25] <Ryan-Toast> Colin[pi]: Just doing mobile for now.
129: [01:49:52] <Ryan-Toast> Want to check against performance biz.
130: [01:49:57] <Colin[pi]> so the idea is this will take the hires source image from assets and automagically create the different res versions for the srcset?
131: [01:50:22] <Ryan-Toast> It will take any url that you give it, and generate a mobile srcset based on that
132: [01:50:26] <Colin[pi]> ah k
133: [01:50:32] <Colin[pi]> coo
134: [01:50:36] <Ryan-Toast> so you can use croppedImage(100, 100).SrcSet
135: [01:50:45] <Colin[pi]> nice
136: [01:50:56] <Ryan-Toast> And you can set the expected vw of the image in the poarameters.
137: [01:52:59] <Colin[pi]> mm I need to look into this stuff, one thing that annoys me is a nice, crisp, vectory design with craptastic pixelated images
138: [01:53:09] * JohnJ_ quit (Quit: Page closed)
139: [01:53:30] <antmas> mm dat svg love
140: [01:54:03] <Ryan-Toast> Colin[pi]: I use Stomach’s SVG module.
141: [01:54:08] <Ryan-Toast> Well, kind of
142: [01:54:14] <Ryan-Toast> I edited it a little bit.
143: [01:54:27] <antmas> I need to convert a logo to svg :/
144: [01:54:29] <Ryan-Toast> Works great thugh :D
145: [01:54:41] <Ryan-Toast> SVG’s mae me happy.
146: [01:57:28] <Stomach> you edited it!?#!@
147: [01:57:36] <Stomach> wheres the PR
148: [01:57:41] <DanaeNZ> oooh snap
149: [01:57:56] <antmas> we have an upset Stomach
150: [01:57:57] <DanaeNZ> he prolly forked it
151: [01:57:59] * UncleCheese has joined #silverstripe
152: [01:58:00] <DanaeNZ> forked it good
153: [01:58:08] <DanaeNZ> antmas: lmaaao
154: [01:58:35] <UncleCheese> the last thing Courenay Place needs is another kebab shop, but man, the new one is crazy good
155: [01:59:19] <Stomach> was the the one you posted about on facebook?
156: [01:59:39] <UncleCheese> mmm
157: [01:59:46] <UncleCheese> yes!!!
158: [01:59:47] <UncleCheese> hahaha
159: [01:59:49] <UncleCheese> i did!
160: [02:00:03] <UncleCheese> i take it back
161: [02:00:09] <Stomach> hahaha
162: [02:02:01] <antmas> anyone know a good tool for converting to SVG?
163: [02:02:13] * antmas doesn't have illustrator
164: [02:02:35] <Stomach> illustrator
165: [02:02:40] <Stomach> sketch
166: [02:02:42] <antmas> :|
167: [02:02:46] <Stomach> blender
168: [02:02:53] <antmas> PS?
169: [02:10:07] <helenclarko> gimp?
170: [02:10:37] <antmas> mspaint?
171: [02:11:20] <Colin[pi]> typing the svg by hand?
172: [02:11:34] <antmas> :P
173: [02:11:36] <helenclarko> nvm, Gimp wont do it.
174: [02:12:01] <helenclarko> But inkscape will
175: [02:12:01] <helenclarko> https://inkscape.org/en/
176: [02:14:02] <Stomach> Ryan-Toast
177: [02:14:04] <Stomach> answer us!
178: [02:14:07] <Ryan-Toast> Stomach: hmm?
179: [02:14:34] <Ryan-Toast> cconvert what to a SVG?
180: [02:14:57] <Colin[pi]> my butt
181: [02:15:04] <Ryan-Toast> Illustrator
182: [02:15:10] <Ryan-Toast> With a really wide screen.
183: [02:15:19] <Colin[pi]> XD
184: [02:15:24] <Ryan-Toast> Like, the widest you can find.
185: [02:15:29] <Colin[pi]> dual screen?
186: [02:15:32] <Colin[pi]> one for each cheek
187: [02:15:36] <DanaeNZ> lmao
188: [02:15:39] <Ryan-Toast> Hydra setup.
189: [02:15:44] <Colin[pi]> better!
190: [02:15:59] <DanaeNZ> Hydra is an esports athlete…right…?
191: [02:16:05] * DanaeNZ checking references
192: [02:16:17] <Ryan-Toast> I was referencing Swordfish :)
193: [02:16:26] <Ryan-Toast> There are 9 screens in that movie as I recall.
194: [02:16:33] <DanaeNZ> Swooordfish...
195: [02:16:36] <DanaeNZ> hmmm
196: [02:16:47] <Ryan-Toast> AKA: Hallie berry
197: [02:16:50] <Ryan-Toast> ’s boobs
198: [02:16:55] <DanaeNZ> hahahahaha
199: [02:16:59] <Ryan-Toast> Halle**
200: [02:17:05] <DanaeNZ> it looks like you
201: [02:17:08] <DanaeNZ> re talking about
202: [02:17:12] <DanaeNZ> your boob
203: [02:17:13] <DanaeNZ> s
204: [02:17:14] <DanaeNZ> fucking
205: [02:17:15] <DanaeNZ> enter
206: [02:17:17] <DanaeNZ> goddami
207: [02:17:19] <DanaeNZ> t
208: [02:17:19] * veb has joined #silverstripe
209: [02:17:20] <DanaeNZ> FUCK
210: [02:17:27] <Ryan-Toast> DanaeNZ: Sort your life out, bro.
211: [02:17:36] <DanaeNZ> I’M IN A FOOD COMA MAN
212: [02:17:40] <DanaeNZ> CUT ME SOME SLACK
213: [02:17:47] <Ryan-Toast> I’LL PUT YOU IN A COMA
214: [02:17:52] <DanaeNZ> D:
215: [02:18:01] <Stomach> woah
216: [02:18:21] <DanaeNZ> someone taller than Ryan-Toast needs to take him down
217: [02:18:30] <DanaeNZ> but there is no one
218: [02:18:35] <Ryan-Toast> lol
219: [02:18:41] <Stomach> Ryan-Toast what did you change in the svg module
220: [02:18:43] <Stomach> answer me!
221: [02:18:48] <Ryan-Toast> Stomach: NEVER
222: [02:18:53] <Stomach> ;(
223: [02:18:57] <Ryan-Toast> Stomach: Literally just comments
224: [02:19:04] <Ryan-Toast> Your module so good.
225: [02:19:10] <Ryan-Toast> No ned to change code
226: [02:19:10] <DanaeNZ> docblocks?
227: [02:19:12] <Ryan-Toast> ye
228: [02:19:17] <Ryan-Toast> docblooocks
229: [02:19:18] <Stomach> PR that shit
230: [02:19:22] <DanaeNZ> (senpai noticed you Stomach)
231: [02:19:24] <Ryan-Toast> hoekay
232: [02:19:25] <Colin[pi]> DOCCCCCCCBLOCCCCCCCCCKS
233: [02:19:36] <DanaeNZ> err one loves docblocks
234: [02:19:38] <Stomach> although I did it?
235: [02:19:38] <Stomach> https://github.com/stevie-mayhew/silverstripe-svg/commit/32872606402f0fed95d1a9feadf1355e9549b00f
236: [02:19:41] <DanaeNZ> don’t cock block those doc blocks
237: [02:19:45] <Colin[pi]> :D
238: [02:19:55] * antmas read that outloud
239: [02:20:01] <DanaeNZ> hahahah
240: [02:20:09] <DanaeNZ> Stomach: more. docblocks.
241: [02:20:15] <Stomach> MORE?
242: [02:20:16] <Stomach> yay!
243: [02:20:19] <Ryan-Toast> MORE
244: [02:20:24] <DanaeNZ> MOTE MOTE MOTE
245: [02:20:30] <DanaeNZ> MOTO*
246: [02:20:32] <DanaeNZ> fuk
247: [02:21:07] <antmas> what are you even doing DanaeNZ ?
248: [02:21:12] <DanaeNZ> fuck if I knoiw
249: [02:21:13] <antmas> what. even.
250: [02:21:26] <DanaeNZ> open graph
251: [02:21:29] <DanaeNZ> :(
252: [02:21:50] <DanaeNZ> actually I had too much lunch and the food coma is making me delirious
253: [02:23:11] * antmas at wild venison for lunch and now has some kind of night vision
254: [02:24:08] <DanaeNZ> nice _b
255: [02:24:15] <Colin[pi]> antmas: Level up
256: [02:25:15] <Ryan-Toast> Can never get 100/100 on google insights, because I use modernizr :’(
257: [02:25:51] <Colin[pi]> Ryan-Toast: does Google Insights use Modernizr? ; P
258: [02:26:00] <Ryan-Toast> Colin[pi]: No.
259: [02:26:03] <Colin[pi]> damn
260: [02:26:09] <Colin[pi]> because that would have been ironic
261: [02:26:11] <Colin[pi]> :D
262: [02:26:18] <Ryan-Toast> :P
263: [02:26:33] <Ryan-Toast> If I dropped some browser support I could use it...
264: [02:26:38] <Ryan-Toast> get rid of it**
265: [02:29:22] <helenclarko> is it actually possible to get 100/100 on google insight?
266: [02:29:37] <Ryan-Toast> Yes.
267: [02:29:43] <Stomach> 56/100
268: [02:29:44] <helenclarko> ive got 98 currently.
269: [02:29:44] <Stomach> :(
270: [02:29:45] <Ryan-Toast> Smashing magazine does.
271: [02:30:04] <helenclarko> that was a god damn mission, not really worth it.
272: [02:30:28] * adrexia_ has joined #silverstripe
273: [02:31:09] <Stomach> https://developers.google.com/speed/pagespeed/insights/?url=http%3A%2F%2Fwww.google.com%2F
274: [02:31:18] <Stomach> better than 79 is the baseline
275: [02:31:19] <Stomach> :D
276: [02:32:26] <Ryan-Toast> 84, but this dev server is slow: https://developers.google.com/speed/pagespeed/insights/?url=http%3A%2F%2Fwebdough.co.nz%2F~boilerpl%2F&tab=mobile
277: [02:32:57] * irogue_ has joined #silverstripe
278: [02:34:32] <DanaeNZ> sooooo when are we moving to AWS lol
279: [02:37:09] <helenclarko> and getting our forum posts back.
280: [02:40:44] * Stomach quit (Quit: zzz)
281: [02:41:01] * ss-helper quit (Remote host closed the connection)
282: [02:41:16] * ss-helper has joined #silverstripe
283: [02:43:39] * adrexia_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
284: [02:43:56] <irogue_> the music playing here at the moment can only be described as Jazz Farts
285: [02:45:38] <antmas> interesting smashing gets 100
286: [02:45:46] <antmas> their website used to be a pig sty
287: [02:46:19] <antmas> irogue_: also lol
288: [02:46:54] * Stomach has joined #silverstripe
289: [02:47:19] <Ryan-Toast> I’m always confused when it comes to above the fold CSS.
290: [02:47:25] <Ryan-Toast> I need all of it :/
291: [02:50:19] <Stomach> wheres my PR Ryan-Toast :(
292: [02:50:29] <Ryan-Toast> Stomach: Sorry, trying to finish things today :/
293: [02:50:33] <Stomach> lol
294: [02:50:35] <Stomach> damnit
295: [02:51:19] * adrexia_ has joined #silverstripe
296: [02:54:38] * spronk quit (Quit: I may need a longer sleep timer...)
297: [02:55:10] <irogue_> mmm cake
298: [02:55:20] <Colin[pi]> irogue_: is not a lie?
299: [02:56:03] <irogue_> nope, confirmed with my own mouth
300: [02:56:18] * spronk has joined #silverstripe
301: [02:58:06] * adrexia_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
302: [03:03:54] <DanaeNZ> irogue_: where’s my cake
303: [03:05:31] <antmas> DanaeNZ: ahem, where's 'our' cake?
304: [03:05:44] <DanaeNZ> Didn’t you get it?
305: [03:09:26] <spronk> beef
306: [03:16:34] <DanaeNZ> where’s my beef
307: [03:16:40] <spronk> BEEF
308: [03:21:29] <hamror> hey guys, with the comments module https://github.com/silverstripe/silverstripe-comments i'm not sure how to include the comments code when i'm displaying a list of data objects (Each one needs its own comments) on a page
309: [03:22:07] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
310: [03:26:46] * Stomach quit (Quit: zzz)
311: [03:28:02] * MichaelHabib_ has joined #silverstripe
312: [03:30:38] <Ryan-Toast> Sigh.
313: [03:30:46] <Ryan-Toast> Can never get cacheinclude to break.
314: [03:30:55] <DanaeNZ> sucks to be you
315: [03:31:02] <Ryan-Toast> IT WON’T BREAK
316: [03:32:09] * antmas yawns
317: [03:32:12] <antmas> :|
318: [03:32:16] <antmas> :o
319: [03:32:18] <antmas> :O
320: [03:32:20] <antmas> :()
321: [03:32:23] <antmas> :O
322: [03:32:24] <antmas> :o
323: [03:32:26] <antmas> :|
324: [03:34:05] <Colin[pi]> antmas: what happened in the middle?
325: [03:34:24] * adrexia_ has joined #silverstripe
326: [03:37:43] <antmas> Colin[pi]: you wanna know how I got those scars?
327: [03:42:45] * adrexia_ quit (Quit: Textual IRC Client: www.textualapp.com)
328: [03:42:58] * adrexia_ has joined #silverstripe
329: [03:44:26] <MichaelHabib_> hi, want to ask, do you all just use the default SS templating engine or have some integrated something else? I would love to use Twig but the project at https://github.com/camspiers/silverstripe-twig doesnt seem to be maintained anymore. I've tested the plugin & it seems to work ok but are there any plans to update it ?
330: [03:44:51] <Ryan-Toast> MichaelHabib_: I just use default.
331: [03:45:46] <adrexia_> yeah, the default templating engine is quite powerful
332: [03:46:18] <antmas> from the look of twig, I think I'd prefer the default anyway
333: [03:47:00] <adrexia_> I think the person who made that plugin was one of the people who went to work for facebook
334: [03:47:04] <MichaelHabib_> I love how twig proves a way to extend existing templates & provide much more features
335: [03:47:38] <antmas> adrexia_: correct
336: [03:49:15] <adrexia_> The thought of a templating system that does more actually terrifies me
337: [03:49:46] <antmas> MichaelHabib_: what are these 'more features'?
338: [03:50:01] <DanaeNZ> well expressionengine added modulus in 2.9
339: [03:50:09] <DanaeNZ> that’s an example where more features is good
340: [03:50:15] <DanaeNZ> but christ
341: [03:50:19] <DanaeNZ> expressionengine
342: [03:50:20] <DanaeNZ> ugh
343: [03:50:25] <adrexia_> ss has modulus too though
344: [03:51:38] <MichaelHabib_> antmas: mainly the "block" feature & the ability to extend existing template files
345: [03:51:54] <antmas> "Both business‐ and creative‐focused folks love ExpressionEngine for different reasons. While ExpressionEngine is more than the sum of its parts, it nevertheless has some pretty amazing parts."
346: [03:52:00] <antmas> that line makes me cringe
347: [03:52:34] <adrexia_> MichaelHabib_ got an example of how that works?
348: [03:53:27] <MichaelHabib_> adrexia_: working on ss-twig theme now, let me pullup some code for you
349: [03:53:37] <adrexia_> sweet :)
350: [03:54:11] <DanaeNZ> Note it doesn’t mention andy development focused folks
351: [03:54:14] <DanaeNZ> any*
352: [03:54:40] <Colin[pi]> adrexia_: The thought of a templating system that does more actually terrifies me
353: [03:54:42] <Colin[pi]> +1
354: [03:54:54] <adrexia_> ahh this? http://twig.sensiolabs.org/doc/templates.html#template-inheritance
355: [03:54:54] <Colin[pi]> I like SS's one because it IS restrictive
356: [03:56:21] <MichaelHabib_> adrexia_: yeh that's it
357: [03:56:28] <adrexia_> that's kind of neat. I think we just solve the same problems in different ways
358: [03:56:54] <adrexia_> Layout, include, if statements, and populating variables from pages
359: [03:57:44] <MichaelHabib_> and with twif I can wtite MUCH cleaner if / logic statements
360: [03:57:45] <adrexia_> but I like the idea that you can have such a simple looking template where you can override blocks
361: [03:57:53] * adrexia_ nod
362: [03:58:32] <MichaelHabib_> I'm 1/2 way done with my new SS + Twig + bootstrap theme
363: [03:59:30] <MichaelHabib_> got the main Layout & navigation ready, just needs few more add-ons & few template files to cover few of the other modules I use (user defined form & my gallery module)
364: [03:59:59] * r_hector has joined #silverstripe
365: [04:01:29] <MichaelHabib_> the only "problem" is the ss-twig module developer told me he no longer uses ss or maintains the module. I hope it gets some attention as it solves many of the ss-template problems we had over the users
366: [04:01:51] <MichaelHabib_> of the years *
367: [04:01:54] <MichaelHabib_> over *
368: [04:03:52] <Colin[pi]> idgi, the template engine is the one area of SS that I really don't want to change or mess around with *shrug*
369: [04:04:03] <antmas> anyone here work in an office where you can choose to have normal or standing desk?
370: [04:04:05] <Colin[pi]> it's simple, it works, enough for me
371: [04:04:07] <adrexia_> yeah, me too
372: [04:04:25] <adrexia_> but templating engines are one of those things where you expect what you are used to
373: [04:04:33] <Colin[pi]> antmas: yes, I can sit at my desk or I can take a laptop into my kitchen
374: [04:04:33] <MichaelHabib_> Colin[pi]: because you like it as is or afraid that any changes my get the thing falling apart :)
375: [04:04:39] <adrexia_> new engines mean different ways of solving problems
376: [04:04:51] <antmas> Colin[pi]: :|
377: [04:04:52] <Colin[pi]> MichaelHabib_: a little from column A, a little from column B :D
378: [04:04:57] <adrexia_> antmas - I have a standing desk
379: [04:05:11] <antmas> adrexia_: nice
380: [04:05:22] <antmas> we can only get them here if we have back problems :/
381: [04:05:32] <Colin[pi]> antmas: that can be arranged ;D
382: [04:05:37] * Colin[pi] gets baseball bat
383: [04:05:49] * antmas ducks
384: [04:06:03] <antmas> o_o
385: [04:06:05] <antmas> o-o
386: [04:06:10] <antmas> o_o
387: [04:06:23] <antmas> that didn't emote ducking at all
388: [04:06:28] <Colin[pi]> lol
389: [04:06:36] <adrexia_> Out of all the templating engines I've tried, I like ss the best
390: [04:07:05] <Colin[pi]> adrexia_: ikr? because it's simple by intention
391: [04:07:06] <adrexia_> but, I'm very good at thinking about problems in ways that the ss temaplting lets me solve
392: [04:07:07] <antmas> adrexia_: +1
393: [04:07:41] <antmas> I've always found that if I can't seem to do something in ss templating, I'm not using the templates correctly - not that the engine is not allowing me
394: [04:07:44] <adrexia_> different systems put different problems into templating... and many dumb tempalting systems can't do much more than an if else
395: [04:07:50] <adrexia_> if event that
396: [04:08:03] <spronk> hmm
397: [04:08:07] <spronk> ss templating is fine for simple stuff
398: [04:08:14] * antmas waits for spronk rant
399: [04:08:18] <spronk> :D
400: [04:08:26] <spronk> syntax leaves a lot of be desired too
401: [04:08:29] <adrexia_> why should you be doing complex stuff in a tempalte?
402: [04:08:31] <spronk> i mean
403: [04:08:33] <spronk> <% !?
404: [04:08:37] <adrexia_> lol
405: [04:08:40] <spronk> this isn't fucking 1997
406: [04:08:47] <adrexia_> I like that more than {{}}
407: [04:08:56] <adrexia_> but { } is an improvement
408: [04:08:58] <spronk> {{ is way easier to type
409: [04:09:05] <Colin[pi]> (_!_)
410: [04:09:06] <adrexia_> a little
411: [04:09:08] * Jakx has joined #silverstripe
412: [04:09:12] <antmas> Colin[pi]: LOL
413: [04:09:12] <adrexia_> [] would be better still ;)
414: [04:09:15] <spronk> yes
415: [04:09:16] <spronk> yes it would
416: [04:09:31] <Jakx> is there an existing way in SS to obfuscate ID's?
417: [04:09:40] <MichaelHabib_> TBH, over the past few month i've played arounbd with Symfony Framework, and the Symfony CMF and loved the freedom that comes with using twig . Same way I can subclass a php class & add more to it, twig allows me to take a skeleton template & build on it
418: [04:09:54] * Hailwood has joined #silverstripe
419: [04:09:57] <Colin[pi]> maybe the reason SS templating doesn't change much is because of the TemplateParser and no one understanding how the fuck it works except HF
420: [04:10:04] <adrexia_> yeah, that seems like a good thing
421: [04:10:05] <spronk> my fav templating engine is Razor
422: [04:10:13] <spronk> Hello @Model.Name
423: [04:10:16] <antmas> mm Razor is pretty sweet
424: [04:10:16] <spronk> lovely
425: [04:10:20] <adrexia_> good point.
426: [04:10:26] <spronk> @foreach (Person p in Model.Persons) {
427: [04:10:28] <spronk> BEAUTIFUL
428: [04:10:40] <adrexia_> it the interest of long term mainatinability, repalcing it wioth the lieks of twig would be a good thing
429: [04:10:41] <Colin[pi]> spronk: still looks a bit too "codey"
430: [04:10:45] <spronk> well
431: [04:10:45] <spronk> yes
432: [04:10:50] <spronk> but the syntax is win
433: [04:10:50] <spronk> @
434: [04:10:58] <spronk> thats pretty much all there is too it
435: [04:11:15] <Colin[pi]> Jakx: look at making tokens/hashes perhaps?
436: [04:11:17] <Hailwood> spronk, @blade? ;)
437: [04:11:39] <spronk> meh
438: [04:11:43] <MichaelHabib_> ok, I love this line using twig : {% if (MenuItem.LinkingMode == "section") or (MenuItem.LinkingMode == "current") %}
439: [04:11:45] <spronk> blade is even worse
440: [04:11:49] <antmas> spronk: I've been humming and harring about using it here for our .net work
441: [04:11:50] <spronk> {{{ $whatthefuckiswithTHREEOFTHEM!? }}}
442: [04:11:58] <spronk> antmas just do it
443: [04:11:59] <spronk> razor is miles better than anything else
444: [04:12:05] <Colin[pi]> MichaelHabib_: yuck
445: [04:12:19] <antmas> spronk: might try it with next project
446: [04:12:26] <Hailwood> spronk, What I love about blade though is the @section support, that shit is amazing.
447: [04:12:44] <spronk> yeah, thats alright
448: [04:12:51] <spronk> though not really that novel
449: [04:12:55] <adrexia_> <% if MenuItem.LinkingMode == "section" || MenuItem.LinkingMode == "current") %>
450: [04:12:58] <adrexia_> bout the same?
451: [04:12:59] <MichaelHabib_> last time I checked I had to do multi level if statments in SS to do that ... and i'm not even doing it correctly in twig (need to study it a bit more)
452: [04:13:10] <Jakx> Colin[pi], I think I'm going to sha1 id.salt or something, but I was wondering if this was already available in SS (specifically for use in URL) (I'm using it for API response data)
453: [04:13:20] <spronk> bah
454: [04:13:20] <spronk> twig
455: [04:13:31] <spronk> why would you swap .ss for twig?
456: [04:13:36] <Colin[pi]> MichaelHabib_: I think the point is you shouldn't be DOING big multi level if statements in either tbh
457: [04:13:41] <MichaelHabib_> I should be able to do {% if MenuItem.LinkingMode == ("section" or "current") %}
458: [04:13:41] <Hailwood> It's fantastic for allowing you to define your page specific javascript/css in the page template, but then have them render out the script/link tags below your main app/vendor css/js
459: [04:13:42] <spronk> that's like swapping a daihatsu charade for a kia cerato
460: [04:13:55] <Colin[pi]> ya'll motherfuckers need smarty amirite simon_w|air ?
461: [04:13:57] <Colin[pi]> ;D
462: [04:14:02] <antmas> lol
463: [04:14:04] <antmas> Colin[pi]: gtfo
464: [04:14:07] <Colin[pi]> lolol
465: [04:14:22] <adrexia_> I don't get it. you can totally do your if else sattement in ss
466: [04:14:36] <Hailwood> Anyways, does anyone know a way to ask silverstripe to wrap all templates from a specific package in another template before passing it off to Page.ss?
467: [04:14:48] <spronk> write your own crazy controller
468: [04:14:48] <adrexia_> "why would you swap .ss for twig?"
469: [04:14:51] <adrexia_> community
470: [04:14:59] <spronk> why do you need a community for your template language!?
471: [04:14:59] <Colin[pi]> spronk: with blackjack and hookers
472: [04:15:04] <adrexia_> drupal 8 went there
473: [04:15:07] * spronk highfives Colin[pi]
474: [04:15:11] <adrexia_> and a bunch of projects are following suit
475: [04:15:12] <Colin[pi]> o/
476: [04:15:20] <MichaelHabib_> adrexia_: +1
477: [04:15:20] <spronk> adrexia_ isn't drupal doing somethign a great reason *not* to?
478: [04:16:04] * simon_w|air stabs Colin[pi]
479: [04:16:06] <simon_w|air> Though I'm dealing with Angular being shit today :(
480: [04:16:08] * spronk shrugs
481: [04:16:12] <adrexia_> spronk - because it means new people are familiar with something. Lowers the learning curve. Makes the group of people who can maintain somethign larger
482: [04:16:12] <simon_w|air> Also, Smarty's faster than Twig
483: [04:16:14] <MichaelHabib_> and in SS, i'm limited to the template/Layout & template/Includes folders , with twig I can extend any template in any location
484: [04:16:15] <Colin[pi]> ow my spleeeeeen
485: [04:16:26] <spronk> twig is .. alright. But it isn't exactly that fantastic, and it certianly isn't nearly as good as the best engines
486: [04:16:52] * adrexia_ shrugs
487: [04:17:02] <adrexia_> I love the ss templating engine
488: [04:17:18] <adrexia_> but I can see a point in using something that isn't custom to silverstripe
489: [04:17:33] <spronk> oh, i agree with the NIH sentiment
490: [04:17:34] <spronk> but
491: [04:17:36] <spronk> twig!?
492: [04:17:39] <adrexia_> lol
493: [04:17:43] <adrexia_> it's a rising star
494: [04:17:46] * UncleCheese has joined #silverstripe
495: [04:17:48] <spronk> that needs to be exploded
496: [04:17:57] <adrexia_> potentially
497: [04:17:58] <spronk> so that a better star can come along instead
498: [04:17:58] <Colin[pi]> what do you think about all of this UncleCheese?
499: [04:18:01] <Colin[pi]> :D
500: [04:18:03] <UncleCheese> what
501: [04:18:04] <adrexia_> I've never used it
502: [04:18:05] <spronk> i mean fuck, it's sensiolabs
503: [04:18:07] <adrexia_> but people seem to love it
504: [04:18:12] <spronk> sensiolabs are known for their "quality" "enterprise" "shit"
505: [04:18:19] <Colin[pi]> UncleCheese: twig instead of vanilla SS templates :P
506: [04:18:27] <spronk> if you can't tell, /me has little respect for symfony and the like
507: [04:18:35] <UncleCheese> i like SS templating a lot
508: [04:18:38] <Colin[pi]> you see?
509: [04:18:41] <Colin[pi]> UC is on board
510: [04:18:47] <Colin[pi]> he's being paid to say that though
511: [04:18:53] <UncleCheese> haha
512: [04:18:54] <adrexia_> lololol
513: [04:19:00] <UncleCheese> if i were paid to prise SS, i'd have been fired on day two
514: [04:19:05] <Colin[pi]> lol
515: [04:19:08] <adrexia_> yeah. I'd be sad if it were replaced
516: [04:19:15] <adrexia_> but I wouldn't fight it
517: [04:19:41] <adrexia_> long term maintainability trumps persoanl preference
518: [04:19:45] <MichaelHabib_> The reasons I think twig are good for ss : twig is more flexible and give the ability to extend existing template. The blocks allows easy override of existing code. wider support for the template engine so all we have to do is write templates, features are ready to use... and cleaner code
519: [04:19:58] <simon_w|air> I doubt SS will ditch its engine until Hamish is less involved
520: [04:20:05] * DanaeNZ quit (Quit: DanaeNZ)
521: [04:20:07] <adrexia_> especially when its literally one person who can maintain it.
522: [04:20:09] <Colin[pi]> I dunno dude, SS templates have pretty clean code
523: [04:20:13] <adrexia_> maybe
524: [04:20:31] <adrexia_> manybe hamish will get bored of being the person who fixes all the template bugs at some point
525: [04:20:49] <UncleCheese> my perspective on all this is that, if everything is just pluggable with some thirdparty thing, then what exactly is the framework?
526: [04:20:51] <Colin[pi]> adrexia_: template parser seems to me to be alien tech stolen from Area 51
527: [04:20:53] <adrexia_> ... I don't think any of the features of twig are strictly _needed_
528: [04:20:58] <spronk> UncleCheese a collection of opinions
529: [04:21:04] <UncleCheese> yeah, exactly
530: [04:21:10] <UncleCheese> and who wants that
531: [04:21:13] * Jakx has left #silverstripe
532: [04:21:13] <adrexia_> they are nice. elegant even. But tehre are multiple ways of solving those problems
533: [04:21:29] <UncleCheese> especially when the goal is to make the framework less opinionated
534: [04:21:31] <spronk> i don't really think twig adds anything to SS, overall. It's better in some ways, worse in others. The main advantage is as adrexia_ mentions around not having to maintian it
535: [04:21:57] <adrexia_> yeah that ^
536: [04:22:02] <spronk> the flexibility is a double edged sword
537: [04:22:02] <UncleCheese> i think if you are having such a hard time with ss templating that you feel like you need to features that twig offers, then you're probably trying to solve the wrong problem
538: [04:22:11] <spronk> it's kind of an akward fit with SS
539: [04:22:13] <Colin[pi]> +1
540: [04:22:31] <adrexia_> I don't know
541: [04:22:43] <Colin[pi]> I've never really had a situation where I've thought "man, I really wish this SS template could do <insert thing here>"
542: [04:22:46] <adrexia_> I think it's just looking at the same problems from a different angle
543: [04:22:49] <Colin[pi]> maybe I just haven't encountered it yet
544: [04:22:50] <spronk> bring me razor
545: [04:22:58] <spronk> and then i'll play ball :P
546: [04:22:59] <UncleCheese> Colin[pi] not since 3
547: [04:23:04] <adrexia_> Colin[pi] - I did
548: [04:23:06] <Colin[pi]> UncleCheese: oh yeah exactly
549: [04:23:11] <simon_w|air> On the plus side, Twig can run on CWP :p
550: [04:23:11] <UncleCheese> but before 3... it was bad
551: [04:23:11] <adrexia_> it was solved in 3.0 with recursion!
552: [04:23:12] <adrexia_> ;)
553: [04:23:24] <simon_w|air> adrexia_, 2.3 had that!
554: [04:23:24] <UncleCheese> simon_w|air claims that you CAN technically run twig in SS
555: [04:23:28] <Colin[pi]> UncleCheese adrexia_: agreed, pre-3 was a bit iffy
556: [04:23:31] <adrexia_> lol 2.4 didn't :P
557: [04:23:35] <simon_w|air> I know
558: [04:23:42] <Colin[pi]> haha really? lol
559: [04:23:46] <simon_w|air> Which is why ?flush=all existed
560: [04:23:47] <Colin[pi]> that's kinda funny
561: [04:24:08] <adrexia_> of course you can
562: [04:24:10] <simon_w|air> Colin[pi], 2.4 copied <% include %> straight into the parent template
563: [04:24:21] <simon_w|air> So recursion would never stop
564: [04:24:23] <UncleCheese> ugh
565: [04:24:25] <Colin[pi]> ick
566: [04:24:28] <adrexia_> https://github.com/camspiers/silverstripe-twig
567: [04:24:32] <UncleCheese> composable components ftw
568: [04:24:40] <UncleCheese> i loooooove the new SS3 includes
569: [04:25:10] <UncleCheese> "But why can't I use $Top?"
570: [04:25:13] <adrexia_> me too
571: [04:25:18] <UncleCheese> "You don't get it."
572: [04:25:26] <adrexia_> well you can
573: [04:25:29] <adrexia_> you just pass it through
574: [04:25:32] <Colin[pi]> yeah the new includes are sweet as
575: [04:25:35] <spronk> maybe i should port razor to php
576: [04:25:44] <adrexia_> I think the problem there was the sale
577: [04:25:47] <adrexia_> it wasn't sold
578: [04:26:01] <adrexia_> it just became a weird bug people encountered on upgrade
579: [04:26:12] <MichaelHabib_> spronk: adrexia_ UncleCheese would you consider using twig will make it easier to maintain ? all the features we have & others that we are trying yo add/fix may already exist in twig . adding to that some features that dont even exist in ss .
580: [04:26:20] <adrexia_> if it had some comms around it, it would have gone down pretty well
581: [04:26:27] <spronk> MichaelHabib_ maybe, maybe not
582: [04:26:40] <spronk> i don't think that additional features beyond basically what .ss already has is necessarily a good thing, so..
583: [04:26:52] <Colin[pi]> I'll make a prediction: if Hamish ever DID leave SS, you'd see a switch to a new template engine pretty damn quickly :D
584: [04:26:54] <adrexia_> I don't think we need more features
585: [04:26:55] <adrexia_> hmm
586: [04:27:00] <adrexia_> actually, one expection
587: [04:27:28] <adrexia_> some sort of cache busting on js and css includes that doesn't involve using requirements would be nice
588: [04:27:40] <spronk> nahh
589: [04:27:45] <spronk> just make a better requirements
590: [04:27:45] <spronk> :p
591: [04:27:59] <adrexia_> requirements can die in a vat of boiling oil
592: [04:28:04] <Colin[pi]> the combining of requirements still seems a bit hackish too in places
593: [04:28:05] <simon_w|air> Only thing I can think of is being able to use variables in strings
594: [04:28:15] <adrexia_> I want to use html to define where and how I do things
595: [04:28:21] <spronk> mhmmm
596: [04:28:22] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
597: [04:28:22] <simon_w|air> <% require javascript("$ThemeDir/Blah.js") %>
598: [04:28:27] <spronk> what about stuff like compiled CSS?
599: [04:28:38] <simon_w|air> (Pick a non-requirements example)
600: [04:29:04] <adrexia_> I use better tools for compiled css and js
601: [04:29:14] <adrexia_> I don't need ss to solve that problem for me
602: [04:29:36] <Colin[pi]> adrexia_: I think my issue is I don't like to rely on too many tools :\
603: [04:29:52] <adrexia_> fair enough
604: [04:30:02] <Colin[pi]> but that's a personal choice :D
605: [04:30:09] <antmas> tools for tools for tools for tools for building web apps
606: [04:30:14] <Colin[pi]> ugh so many
607: [04:30:45] <MichaelHabib_> spronk: I'm working on a ss-twig theme with bootstrap css , I will report back any things that i can't do with ss-twig module . I may need to copy some methods from SSViewer to the ss-twig module so I can have access to some of the usual ss functions but other then that I can see twig template engine ready to go :) wish me luck
608: [04:31:02] <spronk> haha
609: [04:31:04] <spronk> good luck :P
610: [04:31:04] <adrexia_> I would rather use the right tool for the job than something that does a job poorly
611: [04:31:12] <Colin[pi]> good luck out there buddy, you're gonna need it
612: [04:31:14] <antmas> glhf
613: [04:31:20] <adrexia_> and silverstripe doesn't really specialize in js/css tools
614: [04:31:26] <spronk> adrexia_ how do you handle dev vs prod?
615: [04:31:43] <adrexia_> you mean compiled vs uncompiled?/
616: [04:31:43] <Colin[pi]> spronk: she just devs on prod, #YOLO #SWAG
617: [04:32:01] <antmas> lol
618: [04:32:11] <spronk> #cowboys
619: [04:32:45] <adrexia_> I tend to not care whether my stuff is uncompiled, but
620: [04:32:55] <adrexia_> (ie I like compiled eitehr way)
621: [04:33:04] <adrexia_> but you can do all that with a task runner
622: [04:33:05] <spronk> oh wow
623: [04:33:08] <spronk> what the fuck happened to reddit
624: [04:33:50] <adrexia_> huh?
625: [04:33:52] <simon_w|air> /b/
626: [04:34:20] <ss23> spronk: they fired someone that a lot of subreddits were using for stuff
627: [04:34:26] <antmas> reddit's all kinds of fucked
628: [04:34:31] <antmas> since they fired that woman who ran AMAs
629: [04:34:43] <Colin[pi]> spronk: holy shit, drama! http://i.imgur.com/8I4IX4o.gif
630: [04:34:54] <antmas> Colin[pi]: LOL
631: [04:34:58] <antmas> amazing
632: [04:35:01] <adrexia_> looks... like reddit to me
633: [04:35:12] <ss23> rofl Colin[pi]
634: [04:35:17] <antmas> adrexia_: so, a mess?
635: [04:35:23] <adrexia_> yep
636: [04:35:29] <irogue_> yeah, I think the issue wasn't so much the firing but the zero communication from admins to mods about said firing
637: [04:35:38] <spronk> all the reddits are shutting down :|
638: [04:35:40] <irogue_> just suddenly the person who helped the mods with shit wasn't there anymore
639: [04:36:38] <spronk> man
640: [04:36:39] <spronk> wow
641: [04:37:06] <Colin[pi]> https://www.reddit.com/r/gaming
642: [04:37:11] <Colin[pi]> "Due to an unexpected Reddit administrative personnel change /r/gaming joins a group of default subreddits going dark temporarily in an effort to resolve the situation. Our apologies for any disruption this may cause."
643: [04:37:34] <adrexia_> ahh I see
644: [04:37:48] <Colin[pi]> this sentence is so reddit: One of Taylor’s job duties was coordinating the site’s popular AMAs. Two of the site’s most popular posts ever are AMAs: the one with Barack Obama and a conversation with a man with two penises.
645: [04:38:07] <adrexia_> lol
646: [04:38:45] <antmas> LOL
647: [04:39:05] <Colin[pi]> https://www.reddit.com/r/OutOfTheLoop/comments/3bw39q/why_has_riama_been_set_to_private/
648: [04:39:36] <antmas> all the mods now have no clue what to do after her going http://i.imgur.com/qlNb0Hf.gif
649: [04:39:38] * veb quit (Quit: veb-irc: &)
650: [04:39:58] <spronk> well
651: [04:40:01] <Colin[pi]> lol love that gif
652: [04:40:02] <spronk> i guess that's a prime exmaple of Bus Factor: 1
653: [04:40:47] <Colin[pi]> jeez reddit is going downhill fast lately
654: [04:40:50] <antmas> what will happen wehn /r/gifs gets shutdown?
655: [04:40:55] <antmas> the internet will stop
656: [04:40:58] * spronk wonders what silverstripe's current bus factor is
657: [04:41:36] <spronk> nahh
658: [04:41:38] <irogue_> "Victoria was the only line of communication with the admins"
659: [04:41:40] <spronk> everyone will just go to imgur
660: [04:41:59] <Colin[pi]> what's that new site? voat?
661: [04:43:02] <spronk> http://i.giphy.com/rqyhD7LqXLUVq.gif
662: [04:43:17] <irogue_> spronk: I'd actually say not too bad. Worst bus factor would be John probably, but that'd likely only affect internal systems not anything client-facing.
663: [04:43:29] <spronk> well
664: [04:43:32] <spronk> i mean for the cms and framework really
665: [04:43:36] <spronk> who cares about ss ltd :p
666: [04:43:39] <Colin[pi]> I think https://voat.co/ must be getting hugged to death
667: [04:43:44] <spronk> but yes
668: [04:43:58] <spronk> compared to many frameworks SS is probably in preeetty good shape as far as that is concerned
669: [04:44:06] <spronk> laravel on the other hand..
670: [04:44:19] <spronk> if someone murders taylor otwell it's all fucked
671: [04:44:22] <irogue_> yeah, most frameworks have one person who approves all PRs
672: [04:45:32] <antmas> dafuq is voat
673: [04:45:36] <spronk> +1
674: [04:45:43] <Colin[pi]> antmas: copy of reddit's code on a new site
675: [04:45:49] <antmas> lol are they getting swamped?
676: [04:45:49] <Colin[pi]> without dickheads running it
677: [04:45:51] <Colin[pi]> yes
678: [04:45:55] <antmas> hahaha
679: [04:46:01] <Colin[pi]> https://www.reddit.com/r/Voat/comments/3bxn44/voat_is_currently_getting_hit_with_a_huge_amount/
680: [04:46:21] <Colin[pi]> it's digg all over again
681: [04:46:48] <spronk> ah, digg...
682: [04:47:03] <Colin[pi]> i.e. businessy types getting involved when they shouldn't be and fucking things up
683: [04:47:30] <antmas> someone needs to do it to linkedin
684: [04:47:32] <antmas> :P
685: [04:47:35] <Colin[pi]> lol
686: [04:47:42] <Colin[pi]> I cant stand that site
687: [04:47:42] <spronk> oh god
688: [04:47:46] <antmas> neither
689: [04:47:48] <spronk> linkedin has turned in to such a circlejerk of shit
690: [04:48:06] <Colin[pi]> it's 99% "LOOK HOW MUCH OF A WANKER I AM" and 1% usefulness
691: [04:48:07] <adrexia_> 'turned into'
692: [04:48:13] <antmas> evertime I go there I stand and think 'ok, what the fuck am I doing'
693: [04:48:25] * veb has joined #silverstripe
694: [04:48:31] <antmas> and one wrong click = 21321731298361728 notifications
695: [04:48:42] <spronk> mm
696: [04:48:50] <spronk> and all the recruiters have got on there and spam you
697: [04:48:53] <antmas> I'm also apparently 89% skilled in HTML
698: [04:48:57] <antmas> lol
699: [04:49:08] <Colin[pi]> antmas: HMTL, gosh
700: [04:49:26] <Colin[pi]> are you good at programming HMTL?
701: [04:49:32] <spronk> Hi <first name>, I'm <some dick> from <some dick agency>. We could use a <your current job title> for one of our positions... blablabla
702: [04:49:45] <Colin[pi]> hahaha
703: [04:49:52] <Colin[pi]> it is precisely like that lol
704: [04:52:07] * travis-ci has joined #silverstripe
705: [04:52:08] <travis-ci> silverstripe/silverstripe-framework#5252 (speed-up-dev-build - 297034e : Stig Lindqvist): The build has errored.
706: [04:52:08] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/commit/297034e0e533
707: [04:52:08] <travis-ci> Build details : https://travis-ci.org/silverstripe/silverstripe-framework/builds/69390892
708: [04:52:08] * travis-ci has left #silverstripe
709: [04:53:15] * antmas quit (Ping timeout: 246 seconds)
710: [04:58:46] * helenclarko quit (Quit: Page closed)
711: [04:59:12] * Hailwood quit (Remote host closed the connection)
712: [05:00:19] <irogue_> BEERS TIEM
713: [05:04:35] <hamror> 2 ahead of you
714: [05:04:37] <hamror> m888
715: [05:04:51] <hamror> seem to have beaten silverstripe-comments into shape
716: [05:05:23] * veb quit (Quit: veb-irc: &)
717: [05:07:55] * joelpittet quit (Remote host closed the connection)
718: [05:11:20] * veb has joined #silverstripe
719: [05:13:20] * Lukef has joined #silverstripe
720: [05:15:24] * stecman quit (Quit: This computer has gone to sleep)
721: [05:16:34] * Ryan-Toast has left #silverstripe
722: [05:16:46] * camfindlay quit (Quit: camfindlay)
723: [05:17:19] * glenn-bautista quit (Quit: Leaving.)
724: [05:17:28] * DanaeNZ has joined #silverstripe
725: [05:18:27] * DanaeNZ quit (Client Quit)
726: [05:21:15] * mahfuz quit (Ping timeout: 246 seconds)
727: [05:22:29] * frostfire_ has joined #silverstripe
728: [05:37:49] * veb quit (Quit: veb-irc: &)
729: [05:38:50] * veb has joined #silverstripe
730: [05:42:36] * Lukef quit (Ping timeout: 246 seconds)
731: [05:44:26] * Shrike_Finland has joined #silverstripe
732: [05:47:42] * frostfire_ quit (Ping timeout: 264 seconds)
733: [05:57:39] * SticksM has joined #silverstripe
734: [05:57:40] * veb quit (Quit: veb-irc: &)
735: [06:00:56] * Sticks quit (Ping timeout: 256 seconds)
736: [06:05:26] * micmania1 quit (Quit: micmania1)
737: [06:28:07] * darjus01 has joined #silverstripe
738: [06:28:16] <darjus01> Hi all
739: [06:28:30] * frostfire_ has joined #silverstripe
740: [06:30:47] * Selay has joined #silverstripe
741: [06:32:09] <Selay> Hi guys, just a question. When embedding an image inside page html editor, it automatically adds the resized image link with _resampled in url. How to prevent this behaviour?
742: [06:39:44] * Mike123 has joined #silverstripe
743: [06:40:49] <Mike123> Morning
744: [06:52:37] * micmania1 has joined #silverstripe
745: [06:54:13] * micmania1 quit (Client Quit)
746: [06:59:04] * veb has joined #silverstripe
747: [07:01:09] * spronk quit (Quit: I may need a longer sleep timer...)
748: [07:08:46] * joelpittet has joined #silverstripe
749: [07:13:27] * joelpittet quit (Ping timeout: 255 seconds)
750: [07:18:13] <Zauberfisch> good morning
751: [07:18:24] <Zauberfisch> Mike123: you didn't answer me yesterday
752: [07:18:42] <Zauberfisch> oh, wait, I think you where already offline
753: [07:19:48] <Zauberfisch> hows it going with the import?
754: [07:22:27] * spronk has joined #silverstripe
755: [07:25:51] * ss-helper quit (Ping timeout: 265 seconds)
756: [07:28:56] * irogue_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
757: [07:29:12] * swaiba has joined #silverstripe
758: [07:33:30] * jbrungar quit (Ping timeout: 250 seconds)
759: [07:33:30] * jbrungar has joined #silverstripe
760: [07:33:30] * swaiba_ has joined #silverstripe
761: [07:33:30] * swaiba quit (Ping timeout: 250 seconds)
762: [07:33:56] * zlinux has joined #silverstripe
763: [07:37:25] <Mike123> Zauberfisch , it's ok :) i am moving on :)
764: [07:38:55] * Error404NotFound has joined #silverstripe
765: [07:39:45] * ss-helper has joined #silverstripe
766: [07:47:21] * swaiba has joined #silverstripe
767: [07:47:36] * Vedran__ quit (Ping timeout: 265 seconds)
768: [07:50:12] * swaiba_ quit (Ping timeout: 250 seconds)
769: [07:54:51] * spronk quit (Quit: I may need a longer sleep timer...)
770: [07:55:54] * mobiusnz quit (Quit: Leaving.)
771: [07:57:43] * GioVdK has joined #silverstripe
772: [08:00:38] * Arunas quit (Read error: Connection reset by peer)
773: [08:05:09] * mobiusnz has joined #silverstripe
774: [08:12:33] * frostfire_ quit (Quit: Leaving)
775: [08:13:07] * frostfire64 has joined #silverstripe
776: [08:15:12] * Selay quit (Ping timeout: 246 seconds)
777: [08:23:40] * stnvh has joined #silverstripe
778: [08:26:54] * mobiusnz quit (Ping timeout: 248 seconds)
779: [08:32:59] * mobiusnz has joined #silverstripe
780: [08:33:34] <darjus01> how mush of user flow silverstripe can take?
781: [08:37:20] * marvanni has joined #silverstripe
782: [08:45:06] * MichaelHabib_ is now known as DesignerX_Michae
783: [08:45:28] * SticksM quit (Quit: Leaving)
784: [08:45:38] * DesignerX_Michae is now known as DesignerX_MH
785: [08:50:16] <Zauberfisch> darjus01: that depends on how much hardware you have and how bad your code is ;)
786: [08:51:06] <Zauberfisch> with the nececary additions, silverstripe can handle a lot
787: [08:51:34] <Zauberfisch> darjus01: here just 1 example of a huge site runnign silverstripe http://www.silverstripe.com/our-work/2008-democratic-national-convention/
788: [08:52:39] <darjus01> nice thx :)
789: [08:52:42] <marvanni> Thats such an old example that relied heavily on the static publisher… something that probably won’t work for a site with a lot of dynamic data…
790: [08:52:52] <Zauberfisch> but be careful in your code. using the orm and the template wrongly can lead to a lot of performance penalties
791: [08:53:14] <Zauberfisch> marvanni: true, but it's a good eye catcher ;)
792: [08:54:21] * Pyentrk has joined #silverstripe
793: [08:54:24] <Zauberfisch> darjus01: if perfrmance matters: be careful with the orm, use <% cached %> blocks, consider static publischer, use something like cloudflare in front of silverstripe, ...
794: [08:54:37] <marvanni> You can accomplish a lot with a decent configured machine, optimised queries and sensible partial caching…
795: [08:54:50] <Zauberfisch> yep
796: [08:55:01] <darjus01> how about memcache?
797: [08:55:04] <marvanni> I never found static publisher very workable ..
798: [08:55:10] <marvanni> also memcache yes...
799: [08:55:12] <Pyentrk> apc?
800: [08:55:19] <Pyentrk> varnish?
801: [08:55:27] <Pyentrk> allthecaches?
802: [08:55:41] <marvanni> yes at the same time preferably
803: [08:56:02] <marvanni> I recommend Google cache as wel for very heavy pages
804: [08:56:15] <Zauberfisch> google cache? Oo
805: [08:56:22] <Zauberfisch> oh, that was a joke, right?
806: [08:56:30] <marvanni> ehm no
807: [08:56:31] <marvanni> ;)
808: [08:56:36] <Zauberfisch> oh
809: [08:56:47] <Zauberfisch> than link please
810: [08:57:18] <marvanni> Works perfect
811: [08:57:19] <marvanni> http://webcache.googleusercontent.com/search?q=cache:5QnX3QTb4VoJ:https://www.google.nl/
812: [08:57:38] <Zauberfisch> oh
813: [08:57:50] <marvanni> sorry :)
814: [08:58:19] <Zauberfisch> I am still not sure if you are joking
815: [08:58:32] <marvanni> i am, of course
816: [08:58:44] <marvanni> won’t do it again…
817: [08:58:50] <Zauberfisch> haha, good
818: [08:58:54] <Zauberfisch> nah, humor is fine
819: [08:59:10] <Zauberfisch> I am just a bit slow some days :)
820: [08:59:20] <Pyentrk> It does seem like the kinda service Google would suddenly release
821: [08:59:35] <Pyentrk> 'instead of us scraping your info, just store it all directly with us!'
822: [09:00:01] <darjus01> because I will be making large community designers clothing shop, basicly designers will be adding products and simple osers will be purchasing them, so expected user rate a day is 5000 unique at start after that 10000 / day
823: [09:00:34] <Pyentrk> sounds cool
824: [09:00:44] <Zauberfisch> just do some testing
825: [09:00:50] <Zauberfisch> never hope that it will work
826: [09:00:52] <Pyentrk> it's 10am, been at work for 1 hour, already knackered.
827: [09:01:36] <marvanni> and use ?showqueries=1 and shiver….
828: [09:01:55] <darjus01> I considered codeigniter or cakephp at start but then desided would be faster to do with SS, admin area is alredy in, framework is also not bad
829: [09:02:00] <Pyentrk> EWWW GOD NO
830: [09:02:06] <Pyentrk> FK CODE IGDERPER
831: [09:02:27] <marvanni> Laravel with AdminLTE ftw ;)
832: [09:02:28] <Pyentrk> I DON'T EVEN KNOW HOW IT EVER BECAME A THING
833: [09:02:39] * simon_w quit (Read error: Connection reset by peer)
834: [09:02:45] <Pyentrk> Silex, Laravel, hell even ZF2
835: [09:02:56] <Pyentrk> NEVER EVEN ONCE do ANYTHING in CI.
836: [09:03:08] <darjus01> I started with CI :D
837: [09:03:28] <Pyentrk> Seems lots of people did. And I blame it entirely for everything stupid on the internet.
838: [09:04:01] <Pyentrk> It's the most poorly designed system I've ever laid eyes on.
839: [09:07:03] <Pyentrk> hell, you didn't ever see me type this, but I'd even put it below wordderp.
840: [09:08:48] * simon_w has joined #silverstripe
841: [09:09:30] * joelpittet has joined #silverstripe
842: [09:13:37] * r3v3rb has joined #silverstripe
843: [09:13:48] <r3v3rb> huh… Requirements: SilverStripe Framework 4.x (master) and CMS 4.x (master)
844: [09:13:54] <r3v3rb> really?!?!
845: [09:14:48] * joelpittet quit (Ping timeout: 264 seconds)
846: [09:14:52] <simon_w> If something requires dev-master, that's 4.0
847: [09:16:08] <r3v3rb> simon_w: okay so its full steam ahead with four_dot_zero now is it?
848: [09:16:22] <simon_w> Nope
849: [09:16:29] * Tanger quit (Quit: exit())
850: [09:17:01] <r3v3rb> its there any timeframe yet then or just wishful thinking ;)
851: [09:17:28] <simon_w> No idea
852: [09:17:36] <r3v3rb> okie kokie
853: [09:17:49] <simon_w> Though 3.x won't run on PHP7, which is due out around October
854: [09:18:30] <r3v3rb> 7, my servers still run 5.x branch
855: [09:18:51] <r3v3rb> what happened to six, did I miss something?
856: [09:19:03] <simon_w> It's not happening
857: [09:19:45] <r3v3rb> one, two, skip a few, ninety nine, php7 :D
858: [09:20:05] <r3v3rb> same as winblows then, it’s a fashin thing
859: [09:21:19] <Zauberfisch> r3v3rb: https://en.wikipedia.org/wiki/PHP#PHP_7
860: [09:21:28] <r3v3rb> ugh, anyone want to wish me luck moving an old 2.4.12 site to 3.1.13 with translatable and translatableascontroller so urls formed as xyz.com/gb xyz.com/us etc etc
861: [09:21:50] * Eliseth has joined #silverstripe
862: [09:24:37] * bemusedrat has joined #silverstripe
863: [09:30:15] <Pyentrk> r3v3rb: wishful thinking afaik
864: [09:30:30] <Pyentrk> lots of shit dun got broked by updates non backward compatible.
865: [09:30:48] <r3v3rb> Pyentrk: true, no takers then
866: [09:30:48] <Pyentrk> so they called it 4.0 and begrudgingly didn't deploy
867: [09:31:06] <r3v3rb> sorry? SS4.0?
868: [09:31:07] <Pyentrk> that was the whole argument about semver a while back.
869: [09:31:50] <Pyentrk> some serious updates need to happen for PHP7 though, so we'll see what happens I guess.
870: [09:32:06] <r3v3rb> could be a while going forward then
871: [09:34:46] <Pyentrk> will be, I think. That or the bare minimum will be done to get it going, and be left in a 4.0 branch (not released)
872: [09:36:37] * swaiba quit (Remote host closed the connection)
873: [09:39:50] <r3v3rb> hmmm… Strict standards: Declaration of Translatable::augmentSQL() should be compatible with DataExtension::augmentSQL(SQLQuery &$query)
874: [09:40:06] <r3v3rb> Pyentrk: so, i better not hold my breath then ;)
875: [09:44:53] * veb quit (Quit: veb-irc: quit)
876: [09:56:35] * Vedran__ has joined #silverstripe
877: [10:01:13] <Pyentrk> r3v3rb: most certainly not.
878: [10:01:47] <Pyentrk> r3v3rb: that error simply means your declarations don't strictly match (copy verbatim and you'll be fine)
879: [10:02:13] <r3v3rb> yeh, working through them
880: [10:02:20] <Pyentrk> oh, or is module and you need to update or something.
881: [10:02:59] * Vedran__ quit (Remote host closed the connection)
882: [10:03:34] <r3v3rb> could be, slowly deconstructing reconstructing
883: [10:03:54] <r3v3rb> messy, should have removed everything first and slowly readded
884: [10:03:58] <r3v3rb> :P
885: [10:05:08] * Shrike_Finland quit (Quit: Leaving.)
886: [10:06:52] * simon_w quit (Ping timeout: 256 seconds)
887: [10:17:01] <r3v3rb> arghhhhhh
888: [10:17:22] <r3v3rb> Uncaught Exception: Object->__call(): the method 'hasmany' does not exist on 'SiteConfig’… god damn it!
889: [10:17:28] <r3v3rb> where are you coming from
890: [10:18:27] <r3v3rb> Translatable what are you doing!
891: [10:21:08] * bemusedrat1 has joined #silverstripe
892: [10:22:26] * jbrungar_ has joined #silverstripe
893: [10:22:38] * jbrungar quit (Ping timeout: 250 seconds)
894: [10:22:38] * jbrungar_ is now known as jbrungar
895: [10:23:36] * bemusedrat quit (Ping timeout: 250 seconds)
896: [10:31:35] * simon_w has joined #silverstripe
897: [10:33:17] <Pyentrk> r3v3rb: more like, what are you doing?
898: [10:40:14] <r3v3rb> Pyentrk: indeed
899: [10:40:25] <r3v3rb> SiteConfig->hasMany()
900: [10:40:26] <r3v3rb> Translatable.php:564
901: [10:40:27] <r3v3rb> wooot!
902: [10:40:54] * Azure quit (Read error: Connection reset by peer)
903: [10:42:38] * Azure has joined #silverstripe
904: [10:46:30] * marvanni quit (Ping timeout: 264 seconds)
905: [10:47:19] <r3v3rb> Pyentrk: just dropped translatable into a ‘clean’ install same issue
906: [10:47:35] <Pyentrk> what versions
907: [10:48:37] <r3v3rb> ss3.1.13 and Translatable - dev-master from git
908: [10:49:04] <r3v3rb> sorry master from git
909: [10:49:16] <Pyentrk> hmm
910: [10:49:17] <r3v3rb> ‘download zip’ option
911: [10:49:18] * Pyentrk shrugs
912: [10:49:19] * ss-helper quit (Remote host closed the connection)
913: [10:49:24] <r3v3rb> will try composer module
914: [10:49:32] * ss-helper has joined #silverstripe
915: [10:51:16] <r3v3rb> composer = works, download zip from git hub = broke
916: [10:52:25] <simon_w> r3v3rb, probably because you're not on dev-master of framework
917: [10:52:44] <simon_w> https://github.com/silverstripe/silverstripe-translatable/tree/2.0 is what you want for 3.1
918: [10:53:25] <r3v3rb> simon_w: yup, appears so
919: [10:54:00] <r3v3rb> framework is 3.1.13 and translatable from git was set to master which i guess is now copiling against 3.2?
920: [10:54:11] <simon_w> Nope, against 4.0
921: [10:54:20] <simon_w> 2.1 of translatable is for 3.2
922: [10:54:24] <r3v3rb> ok
923: [10:55:49] <Pyentrk> oh gawd oh gawd
924: [10:56:08] <Pyentrk> "Guys I disabled the ability to upload this file type, and now silverstripe won't let me upload this file type."
925: [10:56:11] <Pyentrk> ... ok?
926: [10:56:25] <Pyentrk> "Yeah but when I upload via FTP it still works!"
927: [10:56:30] <Pyentrk> 0.0
928: [11:15:49] <r3v3rb> oh dear...
929: [11:22:33] * Error404NotFound quit (Ping timeout: 252 seconds)
930: [11:38:28] * Error404NotFound has joined #silverstripe
931: [11:43:36] * Colin[pi] quit (Ping timeout: 244 seconds)
932: [11:47:44] <r3v3rb> out of interest what are the fundamental difference between 3.2 and where 4.0 will end up?
933: [11:49:45] <Pyentrk> between 3.1 and 3.2?
934: [11:49:47] <Pyentrk> fuckall.
935: [11:49:50] <Pyentrk> semver.org
936: [11:50:07] <Pyentrk> MINOR version when you add functionality in a backwards-compatible manner, and
937: [11:50:26] * Shrike_Finland has joined #silverstripe
938: [11:51:10] <r3v3rb> Pyentrk: 3.2 > 4.0 though?
939: [11:51:12] <Pyentrk> dunno what was added tho. But I'll bet you can read all about it at http://docs.silverstripe.org/en/3.1/changelogs/
940: [11:51:20] <Pyentrk> r3v3rb: sql query shit, for the most part
941: [11:51:21] <Pyentrk> that I know of
942: [11:51:36] <r3v3rb> and PHP7 compatibility?
943: [11:51:47] <Pyentrk> PDO adaptor by default, SQLQuery being separated out to SQLSelect, SQLDelete, SQLUpdate, SQLInsert, etc
944: [11:51:52] <Pyentrk> r3v3rb: neg, not yet.
945: [11:52:02] <Pyentrk> could do though, before it becomes 'a thing'.
946: [11:52:03] <r3v3rb> okay, good to know
947: [11:52:05] <Pyentrk> (should do!)
948: [11:52:23] <Pyentrk> these are only the things I'm aware of.
949: [11:52:24] <r3v3rb> ideally, but I wouldn’t rush to release until PHP 7.1 ;)
950: [11:52:33] <Pyentrk> I think the file system abstraction is targeted for 4 too
951: [11:52:52] <r3v3rb> same CMS interface?
952: [11:52:58] <Pyentrk> so far as I know.
953: [11:53:01] <r3v3rb> sweet
954: [11:53:25] <Pyentrk> There's certainly been no effort on re-developing it that I'm aware of (probably would be, that's a big thing)
955: [11:53:54] <Pyentrk> that doesn't mean that changes won't be made. I'm aware of some 'ux' going into it. And 'flattenning'.
956: [11:54:15] <Pyentrk> Just drank 3 coffees, time to go burn my energy on a walk.
957: [11:54:18] <Pyentrk> bbl
958: [11:54:21] <r3v3rb> sure, just needs some nice flat stuff
959: [11:54:22] <r3v3rb> lol
960: [11:54:25] <r3v3rb> ^^
961: [11:54:42] <r3v3rb> get rid of those linear grad’s
962: [11:55:24] <Pyentrk> nah, to do with visual weight around the 'add new' button
963: [11:55:32] <Pyentrk> but IMO went too far to the opposite extreme
964: [11:55:37] <Pyentrk> PR is on github, of course.
965: [11:55:40] <Pyentrk> has pix in it
966: [11:55:54] * Colin[pi] has joined #silverstripe
967: [11:58:06] <Mike123> How do i import information from csv into Translated field in db...
968: [11:59:41] <Mike123> i get the data like this $data = fgetcsv($handle, 1000, ';') and then split it like this $data[0,1,2,3,4..] but i have over 25 translated field ... it would look not very nice :./
969: [12:02:16] <r3v3rb> Mike123: use a CSV Library - http://csv.thephpleague.com/
970: [12:02:19] <r3v3rb> maybe?>
971: [12:02:35] <hamror> that guy re, ftp
972: [12:02:44] <hamror> bet they are giving clients or some customers guest ftp upload
973: [12:02:46] <hamror> into the cms
974: [12:02:47] <hamror> haha
975: [12:02:54] <hamror> computers, not even once
976: [12:07:49] <r3v3rb> Pyentrk: just thinking about CMS, the only thing missing is resizable editor/preview break… That would make some clients very happy
977: [12:09:52] <r3v3rb> but i know i’m being greedy
978: [12:18:10] * UncleCheese has joined #silverstripe
979: [12:18:24] * zlinux quit (Ping timeout: 264 seconds)
980: [12:20:12] * DesignerX_MH quit (Ping timeout: 246 seconds)
981: [12:21:41] * UndefinedOffset has joined #silverstripe
982: [12:46:37] * Shrike_Finland quit (Quit: Leaving.)
983: [12:54:44] * Vedran__ has joined #silverstripe
984: [12:55:53] <Mike123> if i use TranslateTable DataOject module , it generate tranlation field in db like Title__EN_us e.t.c , i have many languages and need to get these fields somehow so that i could ->write() them
985: [13:05:09] <r3v3rb> not sure to be honest, but you’d need to have a file that has those db fields mapped to columns in your csv - then you can parse through the array the csv gives you I guess
986: [13:05:26] <r3v3rb> Mike123: ^^ that’s how I’d go about it
987: [13:07:16] <Mike123> hmm
988: [13:07:17] <Mike123> thx
989: [13:11:12] <Mike123> but i need something different i think
990: [13:11:21] * joelpittet has joined #silverstripe
991: [13:12:32] <Mike123> let's say i have $object->title__nb_NO , is there a way so that i replace this with something like this $Object->getTranslatedField('NO')
992: [13:16:05] * joelpittet quit (Ping timeout: 244 seconds)
993: [13:17:25] * frostfire64 quit (Ping timeout: 246 seconds)
994: [13:20:46] <Pyentrk> how far can I get in an hour?
995: [13:20:54] <Pyentrk> Across the river and back again, that's how far.
996: [13:21:15] <Pyentrk> But now I'm drenched :<
997: [13:21:28] <Pyentrk> (And (un?)fortunately, not from the river)
998: [13:22:24] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
999: [13:25:31] <Pyentrk> Oh yeah, there's a fan behind me :D
1000: [13:29:20] <simon_w> Well, at least you got some support while being drenched :p
1001: [13:32:40] * UndefinedOffset quit (Quit: Leaving.)
1002: [13:41:25] * UndefinedOffset has joined #silverstripe
1003: [13:47:15] <Pyentrk> simon_w: support?
1004: [13:49:23] <Pyentrk> simon_w: Just a casual 5 miles in an hour. https://goo.gl/maps/zG5Ry
1005: [13:57:44] * darjus01 quit (Read error: No route to host)
1006: [13:58:28] * darjus01 has joined #silverstripe
1007: [14:01:36] * Colin[pi] quit (Ping timeout: 255 seconds)
1008: [14:11:21] * hp101 quit (Quit: Leaving)
1009: [14:12:13] * Mike123 quit (Quit: Page closed)
1010: [14:22:01] <Pyentrk> 8.4Km/h. I don't think I could go that fast if I ran -.-
1011: [14:22:13] <Pyentrk> IRONIC
1012: [14:24:12] * adrexia_ quit (Quit: Textual IRC Client: www.textualapp.com)
1013: [14:24:30] * frostfire64 has joined #silverstripe
1014: [14:36:15] * bemusedrat1 quit (Quit: Leaving)
1015: [14:37:47] * marvanni has joined #silverstripe
1016: [14:38:48] * darjus01 quit (Read error: Connection reset by peer)
1017: [14:48:06] <marvanni> So for a Controller action I always return an array() to render PageType_action, and a separete method to display a DataList. Any ideay to add that DataList in the controller method, without altering the ‘template guessing’ and keep the other variables in the Page model and controller available in the templates.
1018: [14:48:51] <marvanni> Im trying to approach to let the Controller only have action methods and FormMethods
1019: [14:53:27] <marvanni> pffff… just this :
1020: [14:53:27] <marvanni> return array('DataList' => MyDataObject::get());
1021: [14:58:59] * joelpittet has joined #silverstripe
1022: [15:03:03] * r_hector quit (Remote host closed the connection)
1023: [15:07:18] <Pyentrk> marvanni: should work
1024: [15:07:32] <Pyentrk> Perhaps try a different name if it doesn't.
1025: [15:07:39] <marvanni> yeah , it does… didn’t thougth it was that easy…
1026: [15:07:59] <marvanni> prevents a lot of code
1027: [15:15:33] * Eliseth quit (Ping timeout: 253 seconds)
1028: [15:19:37] * ss-helper quit (Remote host closed the connection)
1029: [15:19:52] * ss-helper has joined #silverstripe
1030: [15:20:59] <r3v3rb> Zauberfisch: getting this from silverstripe template phpstorm plugin : Argument for @NotNull parameter 'file' of com/intellij/psi/impl/PsiManagerImpl.findFile must not be null
1031: [15:21:03] <r3v3rb> any ideas?
1032: [15:38:38] * marvanni quit (Read error: Connection reset by peer)
1033: [15:41:15] <Pyentrk> yeah, findFile must not be null.
1034: [16:01:02] * marvanni has joined #silverstripe
1035: [16:05:17] * joelpitt_ has joined #silverstripe
1036: [16:07:51] * joelpittet quit (Ping timeout: 265 seconds)
1037: [16:10:00] * marvanni quit (Quit: marvanni)
1038: [16:27:46] * travis-ci has joined #silverstripe
1039: [16:27:47] <travis-ci> dhensby/silverstripe-framework#372 (pulls/stable-composer - 6b3ce8c : Daniel Hensby): The build has errored.
1040: [16:27:47] <travis-ci> Change view : https://github.com/dhensby/silverstripe-framework/compare/8edd1ade0318...6b3ce8c546cf
1041: [16:27:47] <travis-ci> Build details : https://travis-ci.org/dhensby/silverstripe-framework/builds/69463488
1042: [16:27:47] * travis-ci has left #silverstripe
1043: [16:30:33] * joelpitt_ quit ()
1044: [16:30:43] * joelpittet has joined #silverstripe
1045: [16:37:16] * Pyentrk quit (Quit: Page closed)
1046: [16:59:58] * GioVdK quit (Ping timeout: 248 seconds)
1047: [17:02:58] <Zauberfisch> r3v3rb: no. seems to be a bug
1048: [17:03:06] <Zauberfisch> but not causeing any real problems for me
1049: [17:12:57] * joelpitt_ has joined #silverstripe
1050: [17:16:31] * joelpittet quit (Ping timeout: 264 seconds)
1051: [17:17:31] * frostfire64 quit (Ping timeout: 246 seconds)
1052: [18:19:33] * r3v3rb quit (Quit: r3v3rb)
1053: [18:25:42] * nontgor quit (Read error: Connection reset by peer)
1054: [18:32:38] * joelpittet has joined #silverstripe
1055: [18:35:12] * joelpitt_ quit (Ping timeout: 255 seconds)
1056: [19:34:55] * ss-helper quit (Remote host closed the connection)
1057: [19:35:11] * ss-helper has joined #silverstripe
1058: [19:40:19] * Error404NotFound quit (Disconnected by services)
1059: [19:40:22] * Err404NotFound has joined #silverstripe
1060: [19:44:59] * Err404NotFound quit (Max SendQ exceeded)
1061: [20:16:14] * UndefinedOffset quit (Quit: Leaving.)
1062: [21:11:25] * veb has joined #silverstripe
1063: [21:19:05] * joelpitt_ has joined #silverstripe
1064: [21:21:45] * joelpittet quit (Ping timeout: 244 seconds)
1065: [21:45:18] * Vedran__ quit (Remote host closed the connection)
1066: [21:45:34] * Vedran__ has joined #silverstripe
1067: [21:46:58] * Vedran__ quit (Client Quit)
1068: [22:13:38] * joelpittet has joined #silverstripe
1069: [22:15:40] * joelpitt_ quit (Ping timeout: 265 seconds)
1070: [22:29:06] * Kolin_ is now known as Kolin
1071: [22:35:05] * joelpitt_ has joined #silverstripe
1072: [22:37:42] * joelpittet quit (Ping timeout: 244 seconds)
1073: [22:52:51] * joelpitt_ quit ()
1074: [23:58:04] * frostfire64 has joined #silverstripe

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