#silverstripe IRC Log

IRC log for 1 September 2015

All timestamps are in UTC.

1: [00:01:34] * Stomach has joined #silverstripe
2: [00:02:50] * spronk has joined #silverstripe
3: [00:04:12] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
4: [00:06:04] * travis-ci has joined #silverstripe
5: [00:06:05] <travis-ci> silverstripe/silverstripe-framework#5728 (3 - dc4c40f : Damian Mooyman): The build passed.
6: [00:06:06] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/f4b7cd3f68f7...dc4c40f642ac
7: [00:06:06] <travis-ci> Build details : https://travis-ci.org/silverstripe/silverstripe-framework/builds/78138192
8: [00:06:06] * travis-ci has left #silverstripe
9: [00:06:31] <Audlex> does this not work in the template?
10: [00:06:31] <Audlex> ClassName != HomePage
11: [00:06:38] <Audlex> == is fine
12: [00:08:05] <adrexia> it's not
13: [00:08:28] <adrexia> but... I don't think that works in taht way yet ewither
14: [00:08:39] <Audlex> hrmm
15: [00:08:40] <Audlex> it does
16: [00:08:49] <adrexia> you can do <% if not Boolean %>
17: [00:08:54] <Audlex> unless I use || ClassName != AnotherPage
18: [00:09:37] <adrexia> but I think <% if Blah not blah %> and <% if not Blah == blah %> is still unsupported
19: [00:10:28] <Audlex> I nested another if inside the != HomePage which I am sure isn't right but it works for now :)
20: [00:10:45] <helenclarko> Audlex, http://www.silverstripe.org/community/forums/template-questions/show/10030
21: [00:10:45] <adrexia> != works?
22: [00:10:50] <irogue> yeah, != should work
23: [00:11:01] <helenclarko> Yup, it works.
24: [00:11:16] <irogue> but when you start mixing various operators it can confuse the parser, particularly if you try to do it using the old 2.x syntax
25: [00:11:44] <irogue> plz always use $VariableName and "string"
26: [00:11:46] <helenclarko> Apparently it has worked since before 2009
27: [00:11:48] <Audlex> helenclarko: yeah i was reading that and it works fine but when I go <% if ClassName != HomePage || ClassName != AnotherPage %> it doesn't want to work
28: [00:12:09] * Olliepop quit (Ping timeout: 246 seconds)
29: [00:12:33] <Audlex> noted irogue
30: [00:12:37] <adrexia> huh. intersting
31: [00:13:00] <adrexia> ...then why do we have not
32: [00:13:01] <adrexia> ?
33: [00:13:13] <irogue> Audlex: i'm not sure that syntax makes sense - are you sure you're wanting an OR there and not an AND?
34: [00:13:25] <spronk> oh wow
35: [00:13:27] <spronk> them new flags
36: [00:13:39] <helenclarko> Audlex, can you drop it into two if statements?
37: [00:13:56] <irogue> I suspect its just faulty boolean logic
38: [00:15:16] <helenclarko> Audlex, Or create a function and call it in the template.
39: [00:15:28] <adrexia> ..and no mention of that syntax in 3.1 docs
40: [00:15:29] <adrexia> https://docs.silverstripe.org/en/3.1/developer_guides/templates/syntax/#conditional-logic
41: [00:15:58] <irogue> adrexia: there's no mention of a lot of things in docs :P
42: [00:16:09] <adrexia> ...I swear I've tried it though
43: [00:16:21] <adrexia> perhaps I haven't tried it since early 3.0 though
44: [00:16:29] <adrexia> which was a rewrite of the template engibne
45: [00:16:41] <helenclarko> adrexia, Guess it was left out because it didnt work with the boolean logic.
46: [00:16:47] <adrexia> ....and still, why do we have "not" when != works?
47: [00:16:55] <irogue> adrexia: for booleans
48: [00:17:08] <adrexia> oh so !Boolean still doesn't work?
49: [00:17:18] <adrexia> or Thing !=true ?
50: [00:17:49] <irogue> I suspect that due to the backwards compat support with the 2.x way of doing things, $Thing != true would treat true as a string
51: [00:18:45] <irogue> not requiring quotes arounds strings in template logic back then caused a lot of future problems
52: [00:19:15] <adrexia> the template engine is not really _that_ backwards compatible as is ;)
53: [00:19:24] <adrexia> c.f includes
54: [00:19:30] * camfindlay has joined #silverstripe
55: [00:19:47] <irogue> adrexia: ?
56: [00:19:52] <helenclarko> does <% if ClassName not HomePage || ClassName not AnotherPage %> work?
57: [00:19:55] <adrexia> also - the silverstrioe documentation really really suck
58: [00:20:13] <adrexia> search is broken and all the between versiuons navigation is broekn
59: [00:20:33] <irogue> adrexia: a particular red site I work on still has mostly 2.4 template files, full of <% control %> and everything
60: [00:20:41] <adrexia> irouge - includes used to keep their context
61: [00:20:56] <adrexia> so $Top would be the controller, etc
62: [00:21:08] <adrexia> now they have their own scope
63: [00:21:17] <adrexia> which breaks a lot of 2.4 template code
64: [00:21:39] <adrexia> becuase OddEven etc will only be passed if you do it explicitly
65: [00:21:47] <adrexia> it's better, but will break old code ;)
66: [00:21:50] <irogue> huh, we must have just got lucky :P
67: [00:21:55] <adrexia> lol
68: [00:22:15] <adrexia> probably ok if people didn't make the most out of the template engine ;)
69: [00:22:36] <adrexia> control is backwards compatible yeah
70: [00:22:50] <irogue> yeah, I think we generally don't put extreme logic in templates
71: [00:22:54] <adrexia> and the include stuff mostly silently fails
72: [00:23:07] <adrexia> so... you may not get odd even styling or first last etc
73: [00:23:15] <adrexia> but it probably won't throw an error
74: [00:23:28] <adrexia> irogue its not extreme logic
75: [00:23:45] <adrexia> people used to be really bad at copy/paste ratehr tha using includes
76: [00:23:56] <Audlex> helenclarko: yeah I did use 2 if statements in the end
77: [00:24:02] <adrexia> irnoically - the sites that were horrible for that are easier to upgrade ;)
78: [00:24:25] <irogue> [12:13:12] <irogue> Audlex: i'm not sure that syntax makes sense - are you sure you're wanting an OR there and not an AND?
79: [00:24:40] <helenclarko> Audlex, Not ideal, but the only way I could see it working without creating a function.
80: [00:28:26] * travis-ci has joined #silverstripe
81: [00:28:27] <travis-ci> silverstripe/silverstripe-framework#5730 (3.2 - 843e545 : Damian Mooyman): The build passed.
82: [00:28:27] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/3f181d1ce1f3...843e54509a63
83: [00:28:27] <travis-ci> Build details : https://travis-ci.org/silverstripe/silverstripe-framework/builds/78141019
84: [00:28:27] * travis-ci has left #silverstripe
85: [00:44:00] * muskie9 has joined #silverstripe
86: [00:45:24] * r_hector has joined #silverstripe
87: [00:46:37] * adrexia quit (Quit: My Mac has gone to sleep. ZZZzzz…)
88: [00:46:44] * Olliepop has joined #silverstripe
89: [00:48:25] * jakx has joined #silverstripe
90: [00:48:50] <jakx> who the fuck removed setID from 3.1 class FieldGroup? This one change has fucked with so much of my day.
91: [00:49:18] <jakx> the goddam $ID reference is still in FieldGroup.ss
92: [00:49:36] <jakx> #vent
93: [00:50:16] * Stomach quit (Quit: zzz)
94: [00:50:51] <jakx> is there some intended alternative that I'm supposed to be using?
95: [00:51:56] <jakx> hmmm wait, maybe the symptom is different here. I'm looking at CompositeField and is still has setID(), so now I'm wondering why the $ID reference in FieldGroup.ss isn't working.
96: [00:52:06] <jakx> My rage is making me blame things that aren't tru.e
97: [00:53:03] * Stomach has joined #silverstripe
98: [00:56:33] <Stomach> irogue - lets make the next SS meetup all about LG, we can provide more speakers if you need :P
99: [00:56:50] <Stomach> Olliepop ^ :D
100: [00:57:58] <irogue> Stomach: haha, i'm trying to tap the shoulder of people from Partner companies who haven't done a talk
101: [00:58:11] <Stomach> I have lots of developers...
102: [01:00:51] * Tanger has joined #silverstripe
103: [01:02:15] <spronk> did silverstripe ltd break westpac's online banking?
104: [01:03:13] <irogue> nope
105: [01:03:17] <spronk> sigh
106: [01:03:21] <spronk> useless cunts
107: [01:03:37] <irogue> SS Ltd isn't on that project as of ~2 months ago, its been moved to their internal devs
108: [01:03:54] * zippy has joined #silverstripe
109: [01:03:59] <irogue> spronk: what's broken?
110: [01:04:36] * mahfuz has joined #silverstripe
111: [01:05:01] <irogue> oh, its down, lol
112: [01:05:47] <spronk> yep
113: [01:05:54] <spronk> well
114: [01:05:55] <spronk> sorta down
115: [01:05:59] <spronk> i managed to log in once and then it died.
116: [01:09:01] <zippy> I don't think that part would be SS :)
117: [01:09:03] <zippy> surely..
118: [01:09:14] * travis-ci has joined #silverstripe
119: [01:09:15] <travis-ci> silverstripe/silverstripe-framework#5733 (3 - b287299 : Damian Mooyman): The build passed.
120: [01:09:15] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/dc4c40f642ac...b28729918b29
121: [01:09:15] <travis-ci> Build details : https://travis-ci.org/silverstripe/silverstripe-framework/builds/78145185
122: [01:09:15] * travis-ci has left #silverstripe
123: [01:09:29] <irogue> zippy: we did develop the internet banking
124: [01:09:45] <zippy> like, the login, transfer money around side?
125: [01:10:16] <irogue> yup. its not in silverstripe though (somewhat obviously)
126: [01:10:59] <zippy> intersting
127: [01:11:02] * camfindlay quit (Quit: camfindlay)
128: [01:11:24] <zippy> boardly speaking, how does it interface with there system? is it a bunch of API calls, ie, get list of accounts, get list of payees, get xx tranxactions?
129: [01:11:34] <zippy> with SOAP? :P
130: [01:11:39] <irogue> JSON REST calls all over the place
131: [01:11:45] <irogue> its a backbone.js app
132: [01:12:48] <zippy> ah yeap, and then 1 or 2 security reviews?
133: [01:14:31] <irogue> bajillions of them probably, haha. not my project but my educated guess would be 2 security reviews before each release (one by their internal information security team, one by an external security company)
134: [01:18:45] <spronk> its kinda poor
135: [01:19:59] * adrexia has joined #silverstripe
136: [01:29:49] <mahfuz> Hi Guys. Is there any way / shortcode or something which we can use in the CMS to for laying out contents?
137: [01:30:51] <irogue> that's a pretty vague question, but the short answer is you should be doing layout using templates and CSS not the WYSIWYG editor :P
138: [01:32:58] <mahfuz> irouge I can understand that. Let me try again. I can do layout and all that from template, that's all right but if the client need to put his content in a page where there are 3 columns in some part 2 columns in some part and many more.
139: [01:33:52] <mahfuz> I know may be they can use Tables but that won't be responsive.
140: [01:34:45] <Colin[pi]> mahfuz: I'm actually building something right now that does all of that ;)
141: [01:34:52] <Colin[pi]> but it's not ready yet
142: [01:36:21] <helenclarko> Colin[pi], Sounds like Magnum.
143: [01:36:22] <mahfuz> That's good Colin[pi]. As wordpress has got visual composer and some other plugin to layout the content in the back-end visually or using shortcodes (putting content inside those shortcodes)
144: [01:37:27] <mahfuz> Having something like that would be very useful for the clients
145: [01:38:02] <Colin[pi]> this should give you some indication of what I'm attempting to achieve: http://i.imgur.com/1JXWd5M.png
146: [01:38:13] * Stomach quit (Quit: zzz)
147: [01:39:45] <helenclarko> Colin[pi], WANT!
148: [01:40:01] <Colin[pi]> helenclarko: WIP
149: [01:40:20] <Colin[pi]> but yeah it's working pretty well in testing
150: [01:40:41] <spronk> wat
151: [01:42:11] <helenclarko> Colin[pi], dont care, still want!
152: [01:42:22] <Colin[pi]> helenclarko: lol
153: [01:42:36] <Colin[pi]> will let you know when I push it up
154: [01:42:46] <helenclarko> CHUR!
155: [01:42:54] <mahfuz> Colin[pi] that looks useful
156: [01:43:57] <Colin[pi]> mahfuz: mm it's sort of like a component model for the entire template
157: [01:44:04] <Colin[pi]> with in-built grid and such
158: [01:44:47] <Colin[pi]> so you need a facebook box there, you just create it, or a contact widget, or a search box, or whatever
159: [01:47:02] <Olliepop> If anybody's interested and needs an up to date SS YouTube module, we just pushed up a new one https://github.com/Little-Giant/silverstripe-youtubefeed
160: [01:49:27] <helenclarko> Colin[pi], Quick question, does your module work with existing sites?
161: [01:50:02] <Colin[pi]> helenclarko: yet to be proven... it inserts a regular page $Layout into the the model, so... maybe?
162: [01:50:58] <Colin[pi]> helenclarko: but it needs an accompanying theme to do it's rendering
163: [01:51:09] <Colin[pi]> the theme itself though is very scant
164: [01:51:53] * zippy quit (Ping timeout: 268 seconds)
165: [01:51:54] <helenclarko> Colin[pi], Does it need to be much if you can throw things at it via cms?
166: [01:52:18] <Colin[pi]> helenclarko: nah the theme basically just starts the rendering process, which is recursive
167: [01:52:26] <Colin[pi]> all the components go and render themselves
168: [01:52:34] <helenclarko> right.
169: [01:52:38] <Colin[pi]> so you end up with a big grid
170: [01:52:54] <helenclarko> big RESPONSIVE grid.
171: [01:53:11] <Colin[pi]> yep the theme has it's own grid model, based on Skeleton
172: [01:53:28] <Colin[pi]> I deliberately went lightweight and avoided bootstrap and such
173: [01:54:37] * zippy has joined #silverstripe
174: [01:57:13] <helenclarko> Any idea why installing abc-silverstripe-mailer has stopped swipestripe from sending a notification email. It still sends the reciept to the customer, just no notification to the seller.
175: [01:57:36] <helenclarko> Userforms work fine too.
176: [01:58:30] <helenclarko> Its like it is using a different mailer and abc-silverstripe-mailer cant catch it.
177: [02:01:34] * Stomach has joined #silverstripe
178: [02:03:38] * zippy quit (Ping timeout: 246 seconds)
179: [02:17:25] <helenclarko> Stomach, do you know anything about the swipestripe mailer?
180: [02:17:43] <Stomach> yes
181: [02:17:57] <helenclarko> Stomach, installing abc-silverstripe-mailer has stopped swipestripe from sending a notification email. It still sends the reciept to the customer, just no notification to the seller.
182: [02:18:23] <helenclarko> does that sind right?
183: [02:18:41] <helenclarko> sound*
184: [02:18:51] <helenclarko> the seller doesnt get any email.
185: [02:22:31] <Stomach> that sounds wrong :P
186: [02:23:14] <Stomach> but they have a custom class for the mailing, so you might need to decorate those with the abc mailer
187: [02:25:19] <helenclarko> Just strange that it sends the email to the customer without issue, but fails to send anything back to the seller. Thanks for you input though, I'll take a look.
188: [02:25:40] <helenclarko> your*
189: [02:31:57] * zippy has joined #silverstripe
190: [02:34:56] <Stomach> yeah that is weird :P
191: [02:43:28] <irogue> !notes Module-Help
192: [02:43:28] <ss-helper> https://github.com/ss-irc/notes/wiki/Module-Help
193: [02:50:33] * Stomach_ has joined #silverstripe
194: [02:50:51] * Stomach quit (Quit: zzz)
195: [02:53:06] * zippy quit (Ping timeout: 240 seconds)
196: [02:55:37] * r_hector quit (Remote host closed the connection)
197: [02:56:13] * Stomach_ quit (Ping timeout: 244 seconds)
198: [03:00:56] * Stomach has joined #silverstripe
199: [03:05:46] * mikenz has joined #silverstripe
200: [03:07:21] <Stomach> irogue - I'm interested
201: [03:07:42] <irogue> Stomach: hai
202: [03:07:43] <MichalKl_> who do I send my Nippys photo to? :-D
203: [03:08:49] <Stomach> irogue - we have heaps of stuff that we would love to get reviewed by outside as we push it up, theres a lot of stuff we just keep internally because we dont have the resource to code review it all properly at the moment
204: [03:08:55] <irogue> MichalKl_: to me if you like, ed@silverstripe
205: [03:09:24] <irogue> Stomach: sweet - well thats exactly what we want to resolve :D
206: [03:11:29] <Stomach> yaaaay :D
207: [03:11:36] <Stomach> will talk to you about it on thursday
208: [03:11:45] <irogue> sweet!
209: [03:13:00] <MichalKl_> irogue: .org or .com?
210: [03:13:15] * MichalKl_ is now known as MichalKleiner
211: [03:13:16] * micmania1 quit (Quit: micmania1)
212: [03:14:17] <irogue> MichalKleiner: .com, though odds are .org would work too
213: [03:14:46] <MichalKleiner> I thought so.. on its way!
214: [03:14:55] <MichalKleiner> has to go around the globe first
215: [03:15:13] <irogue> "Why is this message in Spam? It's similar to messages that have been detected by our spam filters."
216: [03:15:13] <Colin[pi]> the bits get stuck in the intertubes
217: [03:15:34] <irogue> googs doesnt like you MichalKleiner :P
218: [03:15:41] <MichalKleiner> spam?
219: [03:15:43] <MichalKleiner> :-D
220: [03:16:10] <MichalKleiner> sending nippys all around now...
221: [03:16:41] <MichalKleiner> no body text, just image, no DKIM... oh well..
222: [03:16:45] * Colin[pi] rubs his nippys
223: [03:20:30] * Colin[pi] is not surprised at the sudden silence
224: [03:20:34] <MichalKleiner> :-D
225: [03:20:37] <ss23> XD
226: [03:22:40] <irogue> !notes nippys
227: [03:22:41] <ss-helper> https://github.com/ss-irc/notes/wiki/nippys
228: [03:23:53] <MichalKleiner> haha, cheers
229: [03:24:15] <MichalKleiner> had it for the first time and was actually good
230: [03:25:05] <Colin[pi]> MichalKleiner: same
231: [03:25:11] <Colin[pi]> decent iced coffee
232: [03:31:45] * zippy has joined #silverstripe
233: [03:31:56] <zippy> rebelalliance wtf
234: [03:33:21] <irogue> ?
235: [03:33:22] * spronk is waiting until wednesday for lewis road in chch
236: [03:33:25] <spronk> see what that shit is like
237: [03:33:51] <irogue> spronk: your outcome will depend on whether you prefer chocolate sweet or cocoa-y
238: [03:33:52] <zippy> MichalKleiner: mini van?
239: [03:34:19] <spronk> hmm
240: [03:34:21] <spronk> which is it?
241: [03:34:31] <irogue> spronk: its basically just milk and melted Creamy Milk, so people who are used to the extreme sweetness of things like Primo often don't like it
242: [03:34:35] <MichalKleiner> zippy: campervan - toyota emina estima
243: [03:34:46] <irogue> MichalKleiner: TOYOTA ENEMA
244: [03:34:50] <spronk> ah
245: [03:35:21] * Stomach quit (Quit: zzz)
246: [03:35:39] <MichalKleiner> on another note - someone selling a motorbike here? :-D
247: [03:35:49] <MichalKleiner> gearing for summer travels
248: [03:37:58] <irogue> my plan for this summer is to travel the south island - i've never been
249: [03:38:59] * Stomach has joined #silverstripe
250: [03:39:18] <MichalKleiner> I travelled around heaps, missing northland and milford..
251: [03:39:36] <MichalKleiner> and the big walks, just did tongariro 3 times :-D
252: [03:39:41] * novaweb quit (Remote host closed the connection)
253: [03:39:47] <MichalKleiner> this year seems like Abel Tasman chill out
254: [03:40:01] * micmania1 has joined #silverstripe
255: [03:40:14] <muskie9> why would I get TRYING TO GET PROPERTY OF NON-OBJECT for $var->ID; which is queried by $var = MyObj::get()->filter($myFilter)->first(); and debugging $var gives me the appropriate MyObj record
256: [03:40:18] <irogue> I did Northland this year
257: [03:46:05] <zippy> muskie9: because your calling it odly
258: [03:46:07] <zippy> paste some code
259: [03:49:33] <muskie9> zippy https://gist.github.com/muskie9/b2c2b3f0e617e7ce15ca
260: [03:50:02] <muskie9> unless there's a way to ->excludeFirst() or something
261: [03:51:15] <zippy> $next isn't fetched
262: [03:51:19] <zippy> you are doing that in a loop right?
263: [03:51:33] <zippy> and $nextID is populated from the previous loop iteration
264: [03:51:41] <zippy> debug $next
265: [03:52:13] <muskie9> but shouldn't the ->first() on 8 prevent me from having to loop
266: [03:52:25] <zippy> or, do. if(!$next) { var_dump($id); die(); }
267: [03:52:31] <zippy> I need to see more of your code
268: [03:52:45] <zippy> but the query could be returning nothing, which is why $next->ID is boming out
269: [03:56:30] <muskie9> actually it could be a later event I guess... I'd debug and die the line after and get an object and/or ID depending on my debug, but running could hit a bad record
270: [03:59:33] <zippy> yeap, you will die on a good one (since the first few are probably good)
271: [03:59:45] <zippy> so do that check I wrote a above. if(!$next) { die('hit a bad one'); }
272: [03:59:59] <muskie9> yup, that found it, thnx
273: [04:01:21] <zippy> sweetass
274: [04:16:44] * zippy quit (Ping timeout: 250 seconds)
275: [04:18:53] * mikenz has joined #silverstripe
276: [04:21:41] * Stomach quit (Quit: zzz)
277: [04:26:36] * Olliepop quit (Ping timeout: 246 seconds)
278: [04:33:15] * novaweb has joined #silverstripe
279: [04:35:32] * Stomach has joined #silverstripe
280: [04:44:16] * irogue quit (Quit: Textual IRC Client: www.textualapp.com)
281: [04:44:36] <mahfuz> Hey guys can anyone give me some idea about how to check every 4th element in a template as I need to insert a row after every 4th element?
282: [04:46:17] <mahfuz> I meant in a loop
283: [04:46:32] <MichalKleiner> mahfuz: https://www.silverstripe.org/community/forums/template-questions/show/5357
284: [04:46:55] <MichalKleiner> last comment
285: [04:47:57] <MichalKleiner> hmm... this looks better
286: [04:47:58] <MichalKleiner> http://www.sspaste.com/paste/show/519d40d187ff4
287: [04:48:13] <MichalKleiner> MultipleOf(4)
288: [04:48:22] <mahfuz> Thanks MichalKleiner
289: [04:53:52] <MichalKleiner> has someone integrated some other templating language with SilverStripe? or at least what is the best function to hook/replace when I need some custom template magic?
290: [04:58:48] * mahfuz quit (Ping timeout: 246 seconds)
291: [05:00:06] <Colin[pi]> MichalKleiner: depends on what sort of magic you're talking about
292: [05:00:30] <MichalKleiner> say precompilation from other form of file/template
293: [05:00:45] * Hailwood quit (Remote host closed the connection)
294: [05:03:26] * helenclarko quit (Read error: Connection reset by peer)
295: [05:07:29] * Stomach quit (Quit: zzz)
296: [05:11:17] * Stomach has joined #silverstripe
297: [05:24:43] * Olliepop has joined #silverstripe
298: [05:45:53] * Stomach quit (Quit: bye)
299: [05:46:46] * micmania1 quit (Quit: micmania1)
300: [05:53:38] * Shrike_Finland has joined #silverstripe
301: [06:07:04] * MichalKleiner quit (Remote host closed the connection)
302: [06:08:31] * novaweb quit (Remote host closed the connection)
303: [06:10:54] * Olliepop quit (Ping timeout: 246 seconds)
304: [06:11:30] * novaweb has joined #silverstripe
305: [06:12:58] * adrexia quit (Quit: My Mac has gone to sleep. ZZZzzz…)
306: [06:29:07] <ss-helper> Linking/Unlinking Many-Many records in silverstripe, also update database-field based on action - http://stackoverflow.com/questions/32324867/linking-unlinking-many-many-records-in-silverstripe-also-update-database-field
307: [06:33:38] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
308: [06:37:03] * Eliseth has joined #silverstripe
309: [06:38:17] * UncleCheese has joined #silverstripe
310: [06:43:45] * spronk quit (Quit: I may need a longer sleep timer...)
311: [06:45:39] * Mike123 has joined #silverstripe
312: [06:45:47] <Mike123> Morning
313: [06:46:43] <Mike123> how do i overide few properties of screen.css (it's in backend)
314: [06:50:53] <nontgor> Mike123: Add one in your theme or module using the same path
315: [06:53:49] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
316: [07:02:09] <Mike123> nontgor, still i can get it working :/
317: [07:03:03] <nontgor> done /dev/build?flush=1 #JustCheckingTheObviousFirst
318: [07:04:06] <Mike123> yes, the original filepath is framework/admin/css/screen.css , i have put it to mysite/admin/css/screen.css
319: [07:05:35] * darjus01 has joined #silverstripe
320: [07:20:33] * r_hector has joined #silverstripe
321: [07:22:11] * spronk has joined #silverstripe
322: [07:36:58] * veb has joined #silverstripe
323: [07:59:38] * swaiba has joined #silverstripe
324: [08:14:44] <Mike123> why my typography.css isnt working on front ? in editor it shows ok but in front.. nothing
325: [08:20:00] * koentjuh has joined #silverstripe
326: [08:20:00] <ss-helper> koentjuh: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
327: [08:21:01] <koentjuh> Hello i try to get some speed improvement to my website
328: [08:22:05] <swaiba> Good morning koentjuh - have you read this http://www.silverstripe.org/blog/improving-silverstripe-performance/ ?
329: [08:22:14] <koentjuh> i have found some cache modules, but i was interested to see what you guys recommend
330: [08:26:24] * spronk quit (Quit: I may need a longer sleep timer...)
331: [08:30:54] * kinglozzer has joined #silverstripe
332: [08:45:10] * Shrike_Finland quit (Ping timeout: 240 seconds)
333: [08:54:13] * veb quit (Quit: blah)
334: [08:54:35] <darjus01> Hi all maybe some of you had same http://www.ascarchitects.co.nz/ on pussung studio link button site slides and url changes, I noticed that content are already in html just display none; but then you put http://www.ascarchitects.co.nz/studio its loading same page but just studio display none; how to make this work on SS, I think that http://www.ascarchitects.co.nz/studio will be different url and site will redirect, how to make
335: [08:54:35] <darjus01> page not to redirect but just how part of that page?
336: [09:00:02] * Shrike_Finland has joined #silverstripe
337: [09:12:40] * Tanger quit (Quit: sleep())
338: [09:14:05] * Tanger has joined #silverstripe
339: [09:25:41] * joelpittet quit (Remote host closed the connection)
340: [09:41:14] * r_hector quit (Remote host closed the connection)
341: [09:45:06] * Mike123 quit (Ping timeout: 246 seconds)
342: [09:52:29] * Azure quit (Ping timeout: 256 seconds)
343: [09:54:55] <Audlex> does anyone have a hint for aligning a submit button next to a single input field cross-browser?
344: [10:02:24] * spronka has joined #silverstripe
345: [10:03:17] * koentjuh quit (Quit: Page closed)
346: [10:08:08] * UncleCheese has joined #silverstripe
347: [10:11:07] * mikenz has joined #silverstripe
348: [10:13:02] * Mike123 has joined #silverstripe
349: [10:45:00] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
350: [10:45:24] * UncleCheese has joined #silverstripe
351: [11:11:31] * novaweb quit (Remote host closed the connection)
352: [11:14:11] * novaweb has joined #silverstripe
353: [11:16:37] * Shrike_Finland quit (Quit: Leaving.)
354: [11:20:18] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
355: [11:26:31] * joelpittet has joined #silverstripe
356: [11:27:57] * ss31noob has joined #silverstripe
357: [11:31:20] * joelpittet quit (Ping timeout: 246 seconds)
358: [11:43:06] * terryapodaca quit (Quit: Leaving.)
359: [11:44:41] * Eliseth quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
360: [11:45:44] * zlinux quit (Ping timeout: 268 seconds)
361: [11:55:11] * Shrike_Finland has joined #silverstripe
362: [11:59:09] <ss-helper> Load Javascript just for admin in silverstripe 3.1 - http://stackoverflow.com/questions/32330755/load-javascript-just-for-admin-in-silverstripe-3-1
363: [12:00:55] * Mike123 quit (Quit: Page closed)
364: [12:07:26] <Motoservo> Anybody here use the colorbox module?
365: [12:07:47] <Motoservo> I’ve spent a few days trying to get it to work. Just clueless as to why the js files aren’t linking in.
366: [12:08:37] <Motoservo> Installed via Composer. Looks like no further config neccessary, so I’m left thinking the js should just appear in my templates, as they do with modules like Comments.
367: [12:08:42] <Motoservo> Or, whatever else.
368: [12:08:46] <Motoservo> Nada.
369: [12:11:46] * Colin[pi] quit (Ping timeout: 246 seconds)
370: [12:12:22] * ssg has joined #silverstripe
371: [12:14:56] <ssg> Hello, I've a query regarding shortcode. If I want to access method of particular class in shortcode, how can I call that method in shortcode handler function
372: [12:15:57] <elgabbu> ssg depends ... what class is it?
373: [12:16:51] <ssg> I want to use method from Calendar Class of event-calendar module
374: [12:17:16] * UndefinedOffset has joined #silverstripe
375: [12:19:49] <elgabbu> declare the method as a static function and call it Calendar::mymethod()
376: [12:20:58] <ssg> well that's a module.... I can't change it as many functions are linked to each other....
377: [12:29:06] * novaweb quit (Remote host closed the connection)
378: [12:32:28] <Motoservo> Well, so much for the colorbox module. I’ll try and figure out how to install Colorbox using npm (as per the Jquery plugin’s developer suggests).
379: [12:33:09] * ak has joined #silverstripe
380: [12:33:28] * ak quit (Client Quit)
381: [12:34:04] <ssg> elgabbu, No Solution ??
382: [12:34:34] <elgabbu> instatiate a singleton maybe?
383: [12:34:54] <ssg> Injector ?
384: [12:35:54] <elgabbu> singleton('Calendar')->mymethod(); ....
385: [12:36:28] * Frans_Amsterdam has joined #silverstripe
386: [12:38:26] <Frans_Amsterdam> Hi, anyone can tell what is best practice to wok with modules and deployment. Can I use composer to be to to date or is gitsubmodule the best way?
387: [12:38:37] <ssg> tried...but returns empty array
388: [12:38:46] * Frans_Amsterdam is now known as Amsterdam
389: [12:42:03] * Amsterdam quit (Quit: Textual IRC Client: www.textualapp.com)
390: [12:50:40] * SH__ has joined #silverstripe
391: [12:50:59] * Shrike_Finland quit (Quit: Leaving.)
392: [12:51:03] <SH__> Hey guys, any ideas on how to add functionality to onBeforeWrite(), from an Extension?
393: [12:51:29] <SH__> An extension that adds stuff to onBeforeWrite()
394: [12:52:59] * R\w\C has joined #silverstripe
395: [12:55:39] <swaiba> SH__ yeah you define the onBeforeWrite / After / as normal
396: [12:55:58] <swaiba> and access the object $this->owner->Field like normal in extension
397: [12:57:55] <SH__> And if someone adds code to the objects onBeforeWrite() function, does that still get executed, together with the code from the applied extension?
398: [12:59:12] * Shrike_Finland has joined #silverstripe
399: [13:05:25] * R\w\C is now known as rwc1
400: [13:06:07] <samlander> how would i go about serializing a datalist into json for an ajax call?
401: [13:06:29] * rwc1 is now known as R\w\C
402: [13:07:25] <samlander> http://www.silverstripe.org/community/forums/all-other-modules/show/12746 <= nevermind xD
403: [13:09:24] * Shrike_Finland quit (Quit: Leaving.)
404: [13:09:44] <SH__> Nice one
405: [13:10:34] <SH__> Answer to my previous question: If I use onbeforewrite() on an extension, it will be run after the onBeforeWrite() of the object my extension is applied to
406: [13:11:55] <swaiba> SH__ yep, the real onbeforewrite calls a method called $this->extend('onbeforewrite'); which is how it calls the extensions method
407: [13:21:15] <SH__> Aha Cool
408: [13:23:02] <samlander> any reocmmended faq addons?
409: [13:24:29] <swaiba> samlander - none specifically - http://addons.silverstripe.org/add-ons?search=faq
410: [13:27:15] <SH__> Is it possible to check onBeforeWrite() if there has been uploaded an image?
411: [13:27:22] * joelpittet has joined #silverstripe
412: [13:29:48] * novaweb has joined #silverstripe
413: [13:32:13] * joelpittet quit (Ping timeout: 252 seconds)
414: [13:35:39] * arnhoe has joined #silverstripe
415: [13:36:09] * ssg quit (Quit: Page closed)
416: [13:36:45] <swaiba> SH__ onBeforeWrite sure $this->owner->getChangedFields(true) will return a friendly array of the changed values
417: [13:37:20] * novaweb quit (Ping timeout: 246 seconds)
418: [13:39:38] <SH__> thanks
419: [13:52:12] * SH__ quit (Ping timeout: 246 seconds)
420: [13:56:09] * arcax_ has joined #silverstripe
421: [13:56:40] <arcax_> Hi people
422: [13:57:02] * arcax_ is now known as arcax
423: [14:00:18] <arcax> Someone know how to store an array in a cookie with silverstripe cookie class?
424: [14:00:20] <arcax> Thanks.
425: [14:05:46] * muskie9 has joined #silverstripe
426: [14:06:59] <swaiba> arcax yes - Cookie::set('cookiesAccepted',array(1,2));
427: [14:08:42] <arcax> swaiba, i tried that but i receive the error: [Warning] setcookie() expects parameter 2 to be string, array given
428: [14:09:23] <swaiba> oh yeah, add a little http://php.net/manual/en/function.serialize.php arcax
429: [14:15:51] <arcax> swaiba, yes it's worked !!! Thanks for help =D
430: [14:18:54] * NETim has joined #silverstripe
431: [14:19:12] <swaiba> arcax no worries
432: [14:19:36] <NETim> Morning. How would I add an additional bit of data to a gridfields gridstate?
433: [14:22:05] * samlander quit (Ping timeout: 252 seconds)
434: [14:27:24] <swaiba> NETim - something like... $arrObjectIDs = $gridField->State->GridFieldAddRelation = array(1,2,3); ?
435: [14:28:18] <NETim> hm... might try that. I've gone the other way now. Redefined the user flow.
436: [14:28:22] <NETim> Solves the problem :)
437: [14:35:00] * GioVdK has joined #silverstripe
438: [14:37:38] * novaweb has joined #silverstripe
439: [14:39:03] <swaiba> anyone using SilverStripe Clockwork?
440: [14:39:03] * nontgor quit (Read error: Connection reset by peer)
441: [14:42:44] * novaweb quit (Ping timeout: 268 seconds)
442: [14:55:43] <NETim> How would I extend contentcontroller in such a way that the new functionality would be inherited by anything that extends contentcontroller?
443: [14:55:54] * ss31noob quit (Ping timeout: 246 seconds)
444: [14:58:23] <kinglozzer> NETim: You can't do that with pure PHP - any classes would have to extend your subclass. You can get pretty close with extensions though
445: [14:58:33] <kinglozzer> i.e. apply an extension to ContentController
446: [14:59:04] <NETim> Basically want to provide a standard hook for a form submission that any page type can use.
447: [15:00:07] * spronka quit (Quit: My Mac has gone to sleep. ZZZzzz…)
448: [15:00:10] <kinglozzer> NETim: Why can't you add it to Page?
449: [15:00:18] <NETim> Trying to keep it modular.
450: [15:00:35] <kinglozzer> Sounds like it'll need to be an extension then
451: [15:00:58] <NETim> If I could extend Page in such a way that anything extending from page would inheri/have access to, then that would fit perfectly
452: [15:01:01] <NETim> .
453: [15:01:43] <kinglozzer> NETim: Just add an extension
454: [15:02:07] <kinglozzer> Any calls to $page->someMethodName() will search for 'someMethodName' in Page, and then if it can't find it it'll look through extensions for that method
455: [15:02:32] <NETim> Ah, cool. Would that include the page_controller?
456: [15:03:00] <kinglozzer> NETim: Nope, but you just need to apply your extension to Page_Controller instead of Page if you want that
457: [15:03:19] <NETim> Brilliant. Thanks. I had thought about that but wasn't sure.
458: [15:03:40] <NETim> Doesn't help that the silverstripe fora are just white screening for me at the moment.
459: [15:07:12] * torican has joined #silverstripe
460: [15:10:28] <torican> ss-shop -> has anyone here added category images?
461: [15:14:02] <torican> murphies law - 3:15am and rookie mistake. Please ignore - all sorted!
462: [15:14:40] * arnhoe quit ()
463: [15:17:03] * muskie9 quit (Read error: Connection reset by peer)
464: [15:20:18] * joelpittet has joined #silverstripe
465: [15:48:04] * novaweb has joined #silverstripe
466: [15:51:13] * swaiba quit (Remote host closed the connection)
467: [16:06:30] * R\w\C is now known as rathma
468: [16:06:51] * rathma is now known as R\w\C
469: [16:11:33] * R\w\C is now known as rathma
470: [16:13:21] * rathma is now known as R\w\C
471: [16:16:41] * R\w\C is now known as rathma
472: [16:20:55] * rathma is now known as R\w\C
473: [16:32:25] * saysora has joined #silverstripe
474: [16:33:35] * kinglozzer quit ()
475: [16:51:06] * joelpittet quit ()
476: [16:58:19] * darjus01 quit (Read error: Connection reset by peer)
477: [16:59:22] * novaweb quit (Remote host closed the connection)
478: [17:25:11] * GioVdK quit (Ping timeout: 246 seconds)
479: [17:30:24] * R\w\C quit (Quit: Textual IRC Client: www.textualapp.com)
480: [17:31:19] <saysora> When using foreach to loop through a object::get(); is there a reason it's only returning the first item?
481: [17:31:30] <saysora> I can only seem to return the first item, not the entire list.
482: [17:38:37] <saysora> Like $items = Item::get(); foreach($items as $item) {return $item->Title}
483: [17:38:41] <saysora> I only get one. :|
484: [17:45:27] * saysora has left #silverstripe
485: [17:45:29] * saysora has joined #silverstripe
486: [17:47:21] * gelignite has joined #silverstripe
487: [18:00:47] * saysora quit (Quit: My Mac has gone to sleep. ZZZzzz…)
488: [18:15:36] * muskie9 has joined #silverstripe
489: [19:34:09] * mikenz quit (*.net *.split)
490: [19:34:10] * [Fate] quit (*.net *.split)
491: [19:34:10] * TheVoid quit (*.net *.split)
492: [19:34:10] * Audlex quit (*.net *.split)
493: [19:34:11] * AshKyd quit (*.net *.split)
494: [19:34:11] * _longines quit (*.net *.split)
495: [19:34:12] * BackEndCoder quit (*.net *.split)
496: [19:34:12] * ec8or__ quit (*.net *.split)
497: [19:34:13] * Blacklite quit (*.net *.split)
498: [19:34:13] * Sphere quit (*.net *.split)
499: [19:34:13] * Viper-7 quit (*.net *.split)
500: [19:34:14] * gelignite quit (*.net *.split)
501: [19:34:14] * Liquide quit (*.net *.split)
502: [19:34:15] * Zauberfisch quit (*.net *.split)
503: [19:34:15] * muskie9 quit (*.net *.split)
504: [19:34:15] * torican quit (*.net *.split)
505: [19:34:15] * krofek quit (*.net *.split)
506: [19:34:15] * Motoservo quit (*.net *.split)
507: [19:34:15] * FrozenFire quit (*.net *.split)
508: [19:34:16] * TombL quit (*.net *.split)
509: [19:34:16] * keroberos quit (*.net *.split)
510: [19:34:18] * benjhocking quit (*.net *.split)
511: [19:34:19] * eagles0513875 quit (*.net *.split)
512: [19:34:19] * neilfse__ quit (*.net *.split)
513: [19:34:19] * jbrungar quit (*.net *.split)
514: [19:34:19] * xyphoid quit (*.net *.split)
515: [19:34:19] * ec8or_ quit (*.net *.split)
516: [19:34:20] * NETim quit (*.net *.split)
517: [19:34:20] * Tanger quit (*.net *.split)
518: [19:34:20] * ss-helper quit (*.net *.split)
519: [19:34:20] * Kolin quit (*.net *.split)
520: [19:34:20] * Kingy[a] quit (*.net *.split)
521: [19:34:21] * Kapdap quit (*.net *.split)
522: [19:34:21] * ss23 quit (*.net *.split)
523: [19:34:21] * madmatt quit (*.net *.split)
524: [19:34:22] * elgabbu quit (*.net *.split)
525: [19:34:22] * arcax quit (*.net *.split)
526: [19:34:22] * ajmitch_ quit (*.net *.split)
527: [19:34:23] * cloph quit (*.net *.split)
528: [19:34:23] * superspring quit (*.net *.split)
529: [19:34:24] * jakx quit (*.net *.split)
530: [19:34:24] * max_Q quit (*.net *.split)
531: [19:35:00] * muskie9 has joined #silverstripe
532: [19:35:00] * gelignite has joined #silverstripe
533: [19:35:00] * torican has joined #silverstripe
534: [19:35:00] * NETim has joined #silverstripe
535: [19:35:00] * arcax has joined #silverstripe
536: [19:35:00] * mikenz has joined #silverstripe
537: [19:35:00] * Tanger has joined #silverstripe
538: [19:35:00] * jakx has joined #silverstripe
539: [19:35:00] * krofek has joined #silverstripe
540: [19:35:00] * Liquide has joined #silverstripe
541: [19:35:00] * [Fate] has joined #silverstripe
542: [19:35:00] * TombL has joined #silverstripe
543: [19:35:00] * keroberos has joined #silverstripe
544: [19:35:00] * Motoservo has joined #silverstripe
545: [19:35:00] * TheVoid has joined #silverstripe
546: [19:35:00] * Audlex has joined #silverstripe
547: [19:35:00] * cloph has joined #silverstripe
548: [19:35:00] * Blacklite has joined #silverstripe
549: [19:35:00] * BackEndCoder has joined #silverstripe
550: [19:35:00] * benjhocking has joined #silverstripe
551: [19:35:00] * ss-helper has joined #silverstripe
552: [19:35:00] * _longines has joined #silverstripe
553: [19:35:00] * AshKyd has joined #silverstripe
554: [19:35:01] * ec8or__ has joined #silverstripe
555: [19:35:01] * elgabbu has joined #silverstripe
556: [19:35:01] * ss23 has joined #silverstripe
557: [19:35:01] * max_Q has joined #silverstripe
558: [19:35:01] * Sphere has joined #silverstripe
559: [19:35:01] * eagles0513875 has joined #silverstripe
560: [19:35:01] * neilfse__ has joined #silverstripe
561: [19:35:01] * jbrungar has joined #silverstripe
562: [19:35:01] * ajmitch_ has joined #silverstripe
563: [19:35:01] * Zauberfisch has joined #silverstripe
564: [19:35:01] * Viper-7 has joined #silverstripe
565: [19:35:01] * superspring has joined #silverstripe
566: [19:35:01] * Kingy[a] has joined #silverstripe
567: [19:35:01] * xyphoid has joined #silverstripe
568: [19:35:01] * Kolin has joined #silverstripe
569: [19:35:01] * ec8or_ has joined #silverstripe
570: [19:35:01] * FrozenFire has joined #silverstripe
571: [19:35:01] * madmatt has joined #silverstripe
572: [19:35:01] * Kapdap has joined #silverstripe
573: [19:47:54] * ss23 quit (*.net *.split)
574: [19:47:54] * madmatt quit (*.net *.split)
575: [19:47:55] * mikenz quit (*.net *.split)
576: [19:47:56] * [Fate] quit (*.net *.split)
577: [19:47:56] * TheVoid quit (*.net *.split)
578: [19:47:56] * Audlex quit (*.net *.split)
579: [19:47:56] * AshKyd quit (*.net *.split)
580: [19:47:56] * _longines quit (*.net *.split)
581: [19:47:57] * BackEndCoder quit (*.net *.split)
582: [19:47:57] * ec8or__ quit (*.net *.split)
583: [19:47:58] * Blacklite quit (*.net *.split)
584: [19:47:59] * Sphere quit (*.net *.split)
585: [19:47:59] * Viper-7 quit (*.net *.split)
586: [19:47:59] * gelignite quit (*.net *.split)
587: [19:47:59] * Liquide quit (*.net *.split)
588: [19:48:00] * Zauberfisch quit (*.net *.split)
589: [19:48:00] * muskie9 quit (*.net *.split)
590: [19:48:00] * torican quit (*.net *.split)
591: [19:48:00] * krofek quit (*.net *.split)
592: [19:48:00] * Motoservo quit (*.net *.split)
593: [19:48:01] * FrozenFire quit (*.net *.split)
594: [19:48:01] * TombL quit (*.net *.split)
595: [19:48:01] * keroberos quit (*.net *.split)
596: [19:48:04] * benjhocking quit (*.net *.split)
597: [19:48:04] * eagles0513875 quit (*.net *.split)
598: [19:48:04] * neilfse__ quit (*.net *.split)
599: [19:48:04] * jbrungar quit (*.net *.split)
600: [19:48:04] * xyphoid quit (*.net *.split)
601: [19:48:04] * ec8or_ quit (*.net *.split)
602: [19:48:05] * NETim quit (*.net *.split)
603: [19:48:05] * Tanger quit (*.net *.split)
604: [19:48:05] * ss-helper quit (*.net *.split)
605: [19:48:05] * Kolin quit (*.net *.split)
606: [19:48:05] * Kingy[a] quit (*.net *.split)
607: [19:48:06] * Kapdap quit (*.net *.split)
608: [19:48:06] * elgabbu quit (*.net *.split)
609: [19:48:06] * arcax quit (*.net *.split)
610: [19:48:06] * ajmitch_ quit (*.net *.split)
611: [19:48:07] * cloph quit (*.net *.split)
612: [19:48:07] * superspring quit (*.net *.split)
613: [19:48:08] * jakx quit (*.net *.split)
614: [19:48:08] * max_Q quit (*.net *.split)
615: [19:52:35] * muskie9 has joined #silverstripe
616: [19:52:35] * gelignite has joined #silverstripe
617: [19:52:35] * torican has joined #silverstripe
618: [19:52:35] * NETim has joined #silverstripe
619: [19:52:35] * arcax has joined #silverstripe
620: [19:52:35] * mikenz has joined #silverstripe
621: [19:52:35] * Tanger has joined #silverstripe
622: [19:52:35] * jakx has joined #silverstripe
623: [19:52:35] * krofek has joined #silverstripe
624: [19:52:35] * Liquide has joined #silverstripe
625: [19:52:35] * [Fate] has joined #silverstripe
626: [19:52:35] * TombL has joined #silverstripe
627: [19:52:35] * keroberos has joined #silverstripe
628: [19:52:35] * Motoservo has joined #silverstripe
629: [19:52:35] * TheVoid has joined #silverstripe
630: [19:52:35] * Audlex has joined #silverstripe
631: [19:52:35] * cloph has joined #silverstripe
632: [19:52:35] * Blacklite has joined #silverstripe
633: [19:52:35] * BackEndCoder has joined #silverstripe
634: [19:52:35] * benjhocking has joined #silverstripe
635: [19:52:35] * ss-helper has joined #silverstripe
636: [19:52:35] * _longines has joined #silverstripe
637: [19:52:35] * AshKyd has joined #silverstripe
638: [19:52:36] * ec8or__ has joined #silverstripe
639: [19:52:36] * elgabbu has joined #silverstripe
640: [19:52:36] * ss23 has joined #silverstripe
641: [19:52:36] * max_Q has joined #silverstripe
642: [19:52:36] * Sphere has joined #silverstripe
643: [19:52:36] * eagles0513875 has joined #silverstripe
644: [19:52:36] * neilfse__ has joined #silverstripe
645: [19:52:36] * jbrungar has joined #silverstripe
646: [19:52:36] * ajmitch_ has joined #silverstripe
647: [19:52:36] * Zauberfisch has joined #silverstripe
648: [19:52:36] * Viper-7 has joined #silverstripe
649: [19:52:36] * superspring has joined #silverstripe
650: [19:52:36] * Kingy[a] has joined #silverstripe
651: [19:52:36] * xyphoid has joined #silverstripe
652: [19:52:36] * Kolin has joined #silverstripe
653: [19:52:36] * ec8or_ has joined #silverstripe
654: [19:52:36] * FrozenFire has joined #silverstripe
655: [19:52:36] * madmatt has joined #silverstripe
656: [19:52:36] * Kapdap has joined #silverstripe
657: [20:15:55] * saysora has joined #silverstripe
658: [20:18:05] * Olliepop has joined #silverstripe
659: [20:19:28] * Stomach has joined #silverstripe
660: [20:23:45] * helenclarko has joined #silverstripe
661: [20:30:38] * novaweb has joined #silverstripe
662: [20:33:20] <helenclarko> Morning o/
663: [20:37:22] * arcax quit (Ping timeout: 250 seconds)
664: [20:42:19] * UndefinedOffset quit (Quit: Leaving.)
665: [20:44:01] * joelpittet has joined #silverstripe
666: [20:56:02] * irogue has joined #silverstripe
667: [20:59:47] * MichalKleiner has joined #silverstripe
668: [21:00:00] * adrexia has joined #silverstripe
669: [21:08:58] <Stomach> hey helenclarko
670: [21:10:05] * micmania1 has joined #silverstripe
671: [21:11:00] <helenclarko> Morning!
672: [21:15:03] <MichalKleiner> morning
673: [21:17:03] * Olliepop quit (Ping timeout: 246 seconds)
674: [21:17:08] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
675: [21:17:12] * Stomach quit (Quit: zzz)
676: [21:17:23] * Colin[pi] has joined #silverstripe
677: [21:18:53] * Azure has joined #silverstripe
678: [21:22:27] * PenguinMan98 has joined #silverstripe
679: [21:22:37] * PenguinMan98 appears once more
680: [21:23:01] <PenguinMan98> It's been a while. Thought I'd pop in and say 'sup'
681: [21:23:41] * zippy has joined #silverstripe
682: [21:23:45] * Stomach has joined #silverstripe
683: [21:31:35] <adrexia> sup?
684: [21:33:13] * saysora quit (Quit: My Mac has gone to sleep. ZZZzzz…)
685: [21:34:34] <zippy> bit of this, bit of that
686: [21:34:34] <zippy> you
687: [21:36:58] <ss-helper> Re: [silverstripe-dev] Extended PSR-2 Recommentation - https://groups.google.com/d/msg/silverstripe-dev/_ebPef7HgKQ/lOac9g9GLQAJ
688: [21:41:05] * saysora has joined #silverstripe
689: [21:41:14] * Stomach quit (Quit: zzz)
690: [21:42:54] <PenguinMan98> nammuch
691: [21:42:59] <PenguinMan98> deployed my first SS site
692: [21:43:07] <PenguinMan98> Working on my second
693: [21:43:30] * Olliepop has joined #silverstripe
694: [21:44:22] * travis-ci has joined #silverstripe
695: [21:44:23] <travis-ci> silverstripe/silverstripe-framework#5743 (master - 17f3afa : Damian Mooyman): The build passed.
696: [21:44:23] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/f3f0315cc143...17f3afa0e957
697: [21:44:23] <travis-ci> Build details : https://travis-ci.org/silverstripe/silverstripe-framework/builds/78305025
698: [21:44:23] * travis-ci has left #silverstripe
699: [21:46:59] <zippy> PenguinMan98: nice
700: [21:47:03] <irogue> g'mornin from phpconf
701: [21:47:25] * Stomach has joined #silverstripe
702: [21:47:32] <zippy> :)
703: [21:50:50] <Olliepop> irogue: see you there tomorrow hopefully
704: [21:51:03] <irogue> Olliepop: o/
705: [21:51:05] <Olliepop> i'll be with Stomach
706: [21:51:29] <irogue> then I'm sure we'll see you at the SS booth :P
707: [21:52:28] * hithere has joined #silverstripe
708: [21:52:28] <ss-helper> hithere: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
709: [21:54:44] <PenguinMan98> sweet
710: [21:54:46] <PenguinMan98> Say hi for me
711: [21:57:39] <zippy> slack. I sit good?
712: [21:57:45] <zippy> is it good
713: [21:57:50] <zippy> it seems like it's just irc in a way
714: [21:57:53] <zippy> o rksype
715: [21:58:52] <irogue> yeah slack's good
716: [22:00:48] * hithere quit (Ping timeout: 246 seconds)
717: [22:04:33] * Stomach quit (Quit: zzz)
718: [22:07:22] <saysora> When trying to show the data of the foreach nothing appears using this - http://www.sspaste.com/paste/show/55e62181d1e79
719: [22:07:44] * Stomach has joined #silverstripe
720: [22:07:47] <saysora> I tried to return new ArrayData($output) too but it throws a notice
721: [22:10:15] * micmania1 quit (Quit: micmania1)
722: [22:10:26] <zippy> and the notice is?
723: [22:10:43] <adrexia> slack is modern irc
724: [22:10:49] <adrexia> it is good, yeah
725: [22:11:12] <zippy> saysora: you don't need to use the $i like that. just do $output[] =
726: [22:11:21] <saysora> Ok!
727: [22:11:38] * micmania1 has joined #silverstripe
728: [22:11:39] <Colin[pi]> morning all o/
729: [22:11:50] <saysora> Morning Colin[pi]
730: [22:11:54] <zippy> or, better. $output = new ArrayList(); then $output->add($min);
731: [22:12:35] <zippy> but.. I don't think tihs function is going to do what you want it to do.
732: [22:12:48] <adrexia> why not jsut return $mins?
733: [22:12:52] <zippy> don't you want ALL mins which have any of the tags that this min has as well
734: [22:12:53] <adrexia> and use $Title ?
735: [22:12:57] <zippy> adrexia: good point :)
736: [22:13:11] <Colin[pi]> does anyone use Firefox v40?
737: [22:13:17] <saysora> Yeah. I actually just got the ok to not need to have multiple sharing tags.
738: [22:13:30] <saysora> So, we're going to just do a has_one to has_many relation and call it 'categories
739: [22:13:37] <saysora> categories* Which is way easier.
740: [22:14:50] <saysora> And dang adrexia just saved me a ton of complicated stuff. XD
741: [22:14:57] <adrexia> :D
742: [22:14:59] * camfindlay has joined #silverstripe
743: [22:15:02] <zippy> so a min just has a single category?
744: [22:15:06] <saysora> Yeah.
745: [22:15:08] <zippy> (tag)
746: [22:15:13] <zippy> you don't even need that function then
747: [22:15:17] <saysora> Yeah. I'll toss the tag object and just make it cats.
748: [22:15:18] <saysora> Yup.
749: [22:15:31] <saysora> And I'll just loop the other mins sharing that cat with an exception of this id
750: [22:15:34] <saysora> So, easy peasy.
751: [22:16:07] <saysora> Hm. I should use less words that are not the same abbreviated.
752: [22:16:15] <saysora> Categories =/= cat.
753: [22:16:35] <zippy> yea, it pays to write out the full words
754: [22:16:57] <saysora> Truth.
755: [22:17:08] <saysora> Alright. I'm gonna switch all that code up then.
756: [22:18:44] <adrexia> more cats
757: [22:19:44] <Colin[pi]> adrexia: http://i.imgur.com/NUyttbn.gif
758: [22:19:59] <adrexia> lol
759: [22:23:12] <helenclarko> Colin[pi], Yup
760: [22:23:59] * irogue quit (Read error: Connection reset by peer)
761: [22:24:21] <helenclarko> Colin[pi], About Firefox?
762: [22:24:31] <Colin[pi]> helenclarko: yeah, has it become slower for you?
763: [22:24:40] <Colin[pi]> like, mine has become almost unusable
764: [22:24:56] <helenclarko> Nope, Seems okay to me.
765: [22:24:59] <Colin[pi]> hmm
766: [22:25:11] <helenclarko> v40.0.3
767: [22:25:16] <Colin[pi]> mine seems to start ok, but after a few hours gets slower and slower
768: [22:25:18] * PenguinMan98 quit (Ping timeout: 246 seconds)
769: [22:25:21] <Colin[pi]> memory leak / shitty extension perhaps?
770: [22:26:45] <zippy> programmy that cat gif extension
771: [22:26:49] <zippy> *probably
772: [22:26:53] <Colin[pi]> lol
773: [22:26:56] <zippy> swaps out all images on the page for cats
774: [22:27:06] * zippy wonders if that is a thing
775: [22:27:10] <Colin[pi]> woah google got a new logo?
776: [22:27:18] <zippy> yea not sure I like it
777: [22:27:35] <Colin[pi]> serif fonts are so 2000'
778: [22:27:38] <Colin[pi]> 2000's
779: [22:27:41] <zippy> might hit up Sergey and let him know..
780: [22:27:48] <zippy> zippy says no
781: [22:30:25] <Colin[pi]> jesus fuck
782: [22:30:31] <Colin[pi]> I updated chrome
783: [22:30:37] <Colin[pi]> now it crashes when it starts
784: [22:30:39] <Colin[pi]> \o/
785: [22:32:45] * camfindlay quit (Quit: camfindlay)
786: [22:33:01] * PenguinMan98 has joined #silverstripe
787: [22:33:14] <adrexia> ...that's sans-serif
788: [22:33:17] <helenclarko> Colin[pi], All your browsers have issues today.
789: [22:33:26] <adrexia> oh, you mean the old one?
790: [22:33:30] <Colin[pi]> adrexia: yes :P
791: [22:33:36] <adrexia> hmm
792: [22:33:38] <adrexia> I like it
793: [22:33:38] <Colin[pi]> helenclarko: ikr? cant win :(
794: [22:34:16] <adrexia> if they hadn't told me, I'm not sure I would have noticed
795: [22:35:09] <Colin[pi]> adrexia: not sure if the contrast is as good with the white bkg tho
796: [22:35:41] <adrexia> its...about the same?
797: [22:35:45] <Colin[pi]> nah
798: [22:35:51] <adrexia> actually
799: [22:35:52] <adrexia> it's better
800: [22:35:58] <Colin[pi]> also they're forcing the image to rescale using html
801: [22:36:00] <adrexia> the new typeface is more blocky
802: [22:36:27] <adrexia> compared to the most recent google logo, its got better contrast
803: [22:36:57] <Colin[pi]> hmm you might be right, just looking at the older one
804: [22:37:03] <Colin[pi]> might be my imagination
805: [22:37:19] <adrexia> oh yeah - the one with teh dropshadow was better contrast. Ugly, but better contrasdt ;)
806: [22:37:35] <Colin[pi]> mm but the previous serif one was flat also wasn't it?
807: [22:37:36] <adrexia> but that was gone 2 years ago
808: [22:37:42] <Colin[pi]> (the most recent one before now)
809: [22:37:43] <adrexia> yep
810: [22:37:44] <Colin[pi]> yeah
811: [22:38:07] <adrexia> they've put it in a slider at the top https://www.google.co.nz/search?site=&q=Google+logo+history&ct=googles-new-logo-5078286822539264&hl=en&sa=X&ved=0CAMQNmoVChMIsv6Zg_LWxwIVRhiUCh0ohAOz&biw=1644&bih=1165&dpr=1&oi=ddle
812: [22:38:54] <Colin[pi]> now is it my imagination or is that blue lighter now?
813: [22:39:10] * Colin[pi] goes to sample colors
814: [22:39:51] <Colin[pi]> old: 1368EA new: 4285F3
815: [22:39:52] <Colin[pi]> bingo
816: [22:40:33] <Colin[pi]> so yeah they didn't lighten it up a bit
817: [22:40:36] <Colin[pi]> *did
818: [22:41:06] <helenclarko> Why is flattening logos now a thing?
819: [22:41:20] <Colin[pi]> helenclarko: because trends
820: [22:41:42] <helenclarko> Fuck trends!@
821: [22:41:46] <helenclarko> Its dumb
822: [22:41:50] <zippy> mmm not sure.. I think I like the 2013 / 2010 or 1999 ones
823: [22:42:03] <Colin[pi]> helenclarko: flat all the things these days
824: [22:42:16] <Colin[pi]> helenclarko: then it'll swing back around to the 3d stuff I'm sure
825: [22:42:43] <helenclarko> Colin[pi], I hope so, buttons dont look like buttons anymore.
826: [22:42:52] <adrexia> falt is much much better, to be hoenst
827: [22:42:54] <adrexia> *flat
828: [22:43:07] <adrexia> drop shadows are pretty ....ugly unless they are subtle
829: [22:43:20] <Colin[pi]> helenclarko: I don't mind flat buttons, but the text/hyperlink style "buttons" on iOS8 make me rage
830: [22:43:34] <adrexia> oh yeah - I like material design buttons more than flat
831: [22:43:40] <helenclarko> Sorry, thats what I am talking about.
832: [22:43:56] <adrexia> flatting buttons made them sort of disappear
833: [22:44:23] <Colin[pi]> adrexia: terrible for usability
834: [22:44:38] <adrexia> that's an interersting one
835: [22:44:57] <adrexia> technically, all design innovation is terrible for usability...at least at the start
836: [22:45:00] <Colin[pi]> mm
837: [22:45:01] <adrexia> :P
838: [22:45:24] <adrexia> at least all innovation taht doesn't come from somethign peopke already know from elsewhere
839: [22:45:41] <adrexia> which is, I guess, why skeomorphic design lasted so long
840: [22:45:53] <adrexia> *skeuomorphic
841: [22:45:58] <Colin[pi]> adrexia: mm and jobs was also a huge skeuomorphic fan
842: [22:46:17] <adrexia> teh entire workld was for a good ....15 years or so?
843: [22:46:51] <Colin[pi]> who was the first to really start pushing the flat design of recent years?
844: [22:46:58] <adrexia> not sure
845: [22:47:02] <Colin[pi]> it wasn't windows, was it? there was some before that
846: [22:47:06] <Colin[pi]> *were
847: [22:47:21] <adrexia> there were things before that, yeah
848: [22:47:30] * zlinux has joined #silverstripe
849: [22:47:37] <adrexia> http://thenextweb.com/dd/2014/03/19/history-flat-design-efficiency-minimalism-made-digital-world-flat/
850: [22:48:34] <Colin[pi]> ah the zune
851: [22:48:42] <Colin[pi]> I remember that app, I really liked it
852: [22:48:47] <Colin[pi]> MS's first dabble with "metro"
853: [22:48:48] <adrexia> minimalism was pretty mcuh always a thing
854: [22:49:20] <Colin[pi]> http://www.blogcdn.com/www.engadget.com/media/2009/09/zune_quick.jpg
855: [22:49:28] <Colin[pi]> ^ metro's beginnings
856: [22:54:08] <helenclarko> haha
857: [23:09:08] * Phlunk3 has joined #silverstripe
858: [23:15:18] * Hailwood has joined #silverstripe
859: [23:16:20] <Hailwood> Hey folks, Does anyone have an elegant solution for allowing users to insert superscript and subscript symbols into page titles etc other than saying "wrap the part you want superscript in <sup></sup> tags"?
860: [23:16:39] * spronk has joined #silverstripe
861: [23:16:50] <zippy> Hailwood: Use html editor field?
862: [23:17:02] <zippy> things could get cray cray
863: [23:18:21] <Hailwood> zippy, Issue there being that the html editor field automatically wraps elements in <p>tags</p> - we don't really want <h1><p>Title here</p></h1> if we can help it - and we don't want the user having to select the title style
864: [23:18:39] <zippy> soo. what do you want them to do
865: [23:19:12] * Olliepop quit (Ping timeout: 246 seconds)
866: [23:19:24] <zippy> you want them to be able to specify some text in a block of text as superscript
867: [23:19:49] <zippy> if its always the first word (or two) or last words then you can do that in code
868: [23:20:02] <zippy> if you want them to be able to specify what it is, you will need to use 'something'
869: [23:20:03] <zippy> like
870: [23:20:12] <zippy> Foo bar [super this text] something else
871: [23:20:30] <zippy> then swap out the [ and ] for html tags as needed
872: [23:20:52] <zippy> you could run a validator on save that counts the [ and ] to make sure they are even
873: [23:21:08] * mahfuz has joined #silverstripe
874: [23:21:16] <muskie9> Hailwood maybe a shortcode... sounds like what zippy is describing: https://docs.silverstripe.org/en/3.1/developer_guides/extending/shortcodes/
875: [23:21:37] <zippy> TextField::create('PageTitle')->setDescription('Wrap text in [] to get different text effects, ie. Example [Title]');
876: [23:21:51] <zippy> ie should be eg
877: [23:21:52] <zippy> I think
878: [23:22:10] <zippy> yea, eg
879: [23:22:10] <zippy> http://theoatmeal.com/comics/ie
880: [23:23:31] <Hailwood> zippy, Yeah, although [sup]something[/sup] isn't much different to <sup>something</sup> really.
881: [23:23:38] <spronk> lols at google's new lenogo
882: [23:23:48] <zippy> Hailwood: no I mean just use []
883: [23:23:50] <zippy> [something]
884: [23:24:05] <zippy> This is my [something] or rather
885: [23:24:19] <Hailwood> zippy, How would I distinquish between them wanting super, and subscript?
886: [23:24:25] <zippy> = This is my <sup>something</sup> or rather
887: [23:25:52] <Hailwood> [^ something] [something] = <sup>something</sup> <sub>something</sub> maybe?
888: [23:38:31] <Colin[pi]> ugh why does my sitetree collapse when I refresh my cms, fffffff
889: [23:39:47] * veb has joined #silverstripe
890: [23:41:54] * Motoservo quit (Quit: Over & out.)
891: [23:43:00] * Motoservo has joined #silverstripe
892: [23:44:33] * Motoservo quit (Client Quit)
893: [23:44:37] <Colin[pi]> someone needs to teach me how to partial caching
894: [23:45:06] * Motoservo has joined #silverstripe
895: [23:49:33] <mikenz> After so many years using post-2.4, trunk is making me feel like a noob all over again
896: [23:49:57] <Colin[pi]> mikenz: we work in web, forever noon
897: [23:49:59] <Colin[pi]> *noob
898: [23:53:18] * Stomach quit (Quit: zzz)
899: [23:59:02] * Stomach has joined #silverstripe

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