#silverstripe IRC Log

IRC log for 14 May 2015

All timestamps are in UTC.

1: [00:00:02] <PapaBearNZ> Hi all. Can one define a subclass usage in the YML config? eg if I subclassed Member I could put Object::useCustomClass("Member", "MyMember"); into the _config.php. Is there a better way to do this in the YML or is this the best-practise way?
2: [00:00:25] <zippy> subclassing memember isn't ht ebest way
3: [00:00:36] <zippy> extend it with a dataextension
4: [00:00:43] <zippy> is what the docs say
5: [00:01:07] <zippy> http://doc.silverstripe.org/en/developer_guides/security/member PapaBearNZ >> "This is the least desirable way of extending the Member class. It's better to use DataExtension (see below)."
6: [00:01:08] <PapaBearNZ> I realise that - I was using it as an example - I'm actually subclassing another module in order to test a theory.
7: [00:01:41] <zippy> Ah ok, you can still use useCustomClass - just do it in _config.php
8: [00:01:56] <PapaBearNZ> .. and also so that I don't have to dick around with the core code in the module or fork it while I am working on a possible improvement.
9: [00:02:48] <PapaBearNZ> ok - If that is still the best way of setting the config then that's cool. I was just trying to make sure I was using the most appropriate config method :)
10: [00:02:56] <PapaBearNZ> Thanks zippy !
11: [00:04:02] <helenclarko> Anyone here use Vu+ or Dreambox's with Sky, or just me? I agree that Sky is dead mang!
12: [00:06:23] <MichalKleiner> yo guys, any preference on SSL certificate provider in NZ? probably looking for a wildcard one..
13: [00:06:26] <MichalKleiner> business
14: [00:06:45] <zippy> why in nz?
15: [00:06:48] <spronk2> yeah..
16: [00:06:51] <spronk2> i'd avoid NZ providers tbh
17: [00:07:29] <MichalKleiner> I thought it would be easier for the business to provide all the docs needed
18: [00:07:47] <spronk2> you dont really need much
19: [00:07:59] <spronk2> if you need super secure, just go with verisign or thawte
20: [00:08:05] <spronk2> if you need slightly less secure, go with rapid
21: [00:08:16] <spronk2> or comodo
22: [00:08:55] <MichalKleiner> ok, of course I meant reseller rather than provider, sorry
23: [00:09:27] <MichalKleiner> I was looking at RapidSSL w/card that could be ~ $250/y
24: [00:10:03] <spronk2> oh
25: [00:10:07] <spronk2> dont deal with a reseller
26: [00:10:19] <spronk2> just makes it less secure
27: [00:10:51] <spronk2> we use rapidssl, they've been pretty ok
28: [00:10:59] <spronk2> though their cert chain is a bit wtf
29: [00:11:36] <MichalKleiner> for example I found this https://www.trustico.co.nz/dv/rapidssl/wildcard/cheap-rapidssl-wildcard-certificate.php
30: [00:12:28] <spronk2> its the exact same price as getting it from rapid
31: [00:12:41] <simon_w|air> PapaBearNZ, Injector: Member: class: MyMember
32: [00:13:39] <spronk2> but really, MichalKleiner at that level of sec it takes 5 minutes to provide what they need
33: [00:14:41] <MichalKleiner> ok, fair enough.. I'll have a look at thawte and verisign prices too and pass it onto them to buy one
34: [00:15:05] <spronk2> digicert and geotrust are ok too. They're quite a bit more exp than rapidssl though
35: [00:15:16] <spronk2> it really depends on what level of security you want
36: [00:15:30] <spronk2> well, not even security
37: [00:15:46] <spronk2> they're all as secure as eachother, just how much they'll compensate you if they fuck something up :)
38: [00:16:04] <MichalKleiner> got ya
39: [00:16:11] <simon_w|air> Only really matters if you go for a EV cert
40: [00:17:16] <spronk2> hmm, simon_w|air ?
41: [00:17:26] <MichalKleiner> yeah.. one view might be just to make https work.. other would be a matter of security and prestige as well
42: [00:20:16] <spronk2> i'd probably go with digicert these days
43: [00:20:30] <spronk2> the archaic websites and docs of the main providers bores me
44: [00:21:18] <Stomach> I prefer digicert
45: [00:21:24] <Stomach> I get a new certificate
46: [00:21:29] <Stomach> and someone rings me within 5 minutes
47: [00:21:33] <Stomach> and I have it within 10
48: [00:21:36] <spronk2> mm
49: [00:21:36] <Stomach> they are fucking snappy
50: [00:21:53] <spronk2> looks like a bunch of high profiles are using them no
51: [00:21:54] <spronk2> MS, Facebook
52: [00:21:57] <simon_w|air> I just use StartSSL, since it's free for single-domain certs
53: [00:22:19] <spronk2> oh wow
54: [00:22:23] <spronk2> symantec rebranded verisign
55: [00:22:26] <spronk2> what a fucking terrible plan
56: [00:29:13] <Ryan-Toast> Is there a shoqqueries template?
57: [00:29:18] <Ryan-Toast> showqueries
58: [00:32:34] <simon_w|air> Nope. Just uses Debug::show
59: [00:32:52] <Ryan-Toast> Sweet as.
60: [00:34:43] * willr quit (Quit: willr)
61: [00:38:40] <UncleChe_> is this accurate........
62: [00:39:05] <UncleChe_> ViewableData objects will first check if $Thing is a function, if so return
63: [00:39:15] <UncleChe_> if not, check if getThing() is a function
64: [00:39:23] <UncleChe_> if not, check if there is a public property $Thing
65: [00:39:43] <UncleChe_> no, i think C comes before B
66: [00:41:48] <Stomach> nah B & C are all in parallel ruining everything
67: [00:41:53] <Stomach> aren't they?
68: [00:41:57] <Stomach> sometimes
69: [00:41:58] <Stomach> >_<
70: [00:52:39] * Sticks has joined #silverstripe
71: [00:54:29] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
72: [01:06:12] * Hailwood has joined #silverstripe
73: [01:08:00] <simon_w|air> UncleChe_, does function, getter, property, field
74: [01:08:00] * willr has joined #silverstripe
75: [01:08:27] <simon_w|air> Then failover
76: [01:09:09] <antmas> mmm dat was a good lunch
77: [01:13:05] * Stomach quit (Quit: zzz)
78: [01:13:22] * zippy has joined #silverstripe
79: [01:14:05] * willr quit (Quit: willr)
80: [01:16:54] * AdriAn_s has joined #silverstripe
81: [01:17:56] * joelpittet quit (Remote host closed the connection)
82: [01:18:33] * joelpittet has joined #silverstripe
83: [01:20:38] <AdriAn_s> hey guys im having an issue rending a link that is added into an email. im doing this: http://www.sspaste.com/paste/show/5553f75778680 with $$data['Message'] being HTML created via SS CMS that includes a link but when it renders it renders as <a href="[sitetree_link,id=6]" target="_blank"> and not the actual link. Got any ideas??
84: [01:20:59] * willr has joined #silverstripe
85: [01:22:11] <simon_w|air> AdriAn_s, 'Message' => DBField::create_field('HTMLText', nl2br($data['Message']))
86: [01:23:25] * joelpittet quit (Ping timeout: 272 seconds)
87: [01:25:06] <AdriAn_s> cheers il give it a go
88: [01:28:04] <AdriAn_s> awesome. That works a treat!!!
89: [01:28:05] <AdriAn_s> thanks
90: [01:30:03] * UncleChe_ quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
91: [01:30:32] * PapaBearNZ has left #silverstripe
92: [01:35:50] * Stomach has joined #silverstripe
93: [01:37:08] * UncleCheese has joined #silverstripe
94: [01:39:49] <spronk2> so whos flooded in?
95: [01:40:15] <UncleCheese> simon_w|air what did you mean by "field"? what's the difference between a property and a field?
96: [01:40:41] <simon_w|air> UncleCheese, a property is a PHP thing. A field is a $db thing
97: [01:40:47] <UncleCheese> oh, i get it.. "field" is for you to define anyway you like
98: [01:41:02] <UncleCheese> ViewableData just uses properties as fields
99: [01:50:20] * Stomach quit (Quit: zzz)
100: [01:51:22] <UncleCheese> so i guess it's raining in wellington?
101: [01:52:55] * veb quit (Quit: veb-irc: &)
102: [01:55:02] * veb has joined #silverstripe
103: [01:55:30] * Colin[pi][a] quit (Ping timeout: 256 seconds)
104: [01:56:14] <antmas> raining everywhere
105: [01:59:21] <helenclarko> @UncleCheese, your not in Wellington?
106: [02:00:05] <helenclarko> *You're*, but whats it matter(I already fucked up.
107: [02:02:47] <antmas> I need a playlist (non spotify)
108: [02:05:14] * travis-ci has joined #silverstripe
109: [02:05:15] <travis-ci> silverstripe/silverstripe-framework#4777 (3.1 - 69a244e : Damian Mooyman): The build passed.
110: [02:05:15] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/a96b100fe249...69a244e03ffb
111: [02:05:15] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/62494626
112: [02:05:15] * travis-ci has left #silverstripe
113: [02:08:31] <simon_w|air> antmas, Spice Girls and S Club 7
114: [02:09:02] <antmas> simon_w|air: that's not far off this terribubble EDM mix I just found
115: [02:09:20] <simon_w|air> antmas, but can you call that mix Spice Club?
116: [02:09:22] <simon_w|air> I THINK NOT
117: [02:09:40] <helenclarko> antmas, What are you into?
118: [02:10:24] <antmas> helenclarko: right now? chill step type stuff - mellow edm
119: [02:11:21] <antmas> yup
120: [02:11:23] <antmas> kill me now
121: [02:11:31] <antmas> megan trainor mix just came on
122: [02:11:53] <simon_w|air> antmas, don't tell me what to do! I'll kill you when I damn well feel like it :p
123: [02:11:55] <UncleCheese> helenclarko i am, but i just hadn't looked out the window until i read that the whole city is shut down
124: [02:12:27] <helenclarko> WOAH, Wait hold up... SHUT DOWN?
125: [02:12:48] <helenclarko> Antmas, can I bump it up a little? https://www.youtube.com/watch?v=EE7XkaFFtGE&list=RDEE7XkaFFtGE#t=1
126: [02:13:00] <simon_w|air> helenclarko, NZTA is currently advising people to not drive anywhere
127: [02:13:09] <DanaeNZ> jebbers
128: [02:13:17] <helenclarko> Oh wow.
129: [02:13:28] <antmas> helenclarko: chur, this is more like it
130: [02:13:29] <simon_w|air> Police have basically shut down SH1 too
131: [02:13:33] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
132: [02:13:55] <zippy> antmas: definitly opene next week :D
133: [02:14:17] <antmas> this will show the true flaws of our public transport system! am I doing it right?
134: [02:14:43] <antmas> zippy: mmmm I'll be ordering if they deliver to the wood :P otherwise I guess I can pick it up on way home from work
135: [02:14:58] <zippy> now we just need a burger fuel
136: [02:15:05] <zippy> BK do a decent chocolate shake
137: [02:15:18] <zippy> so much sugar, kept me going for ages
138: [02:15:30] <antmas> sugar doesn't do that for me
139: [02:15:58] <antmas> cocaine though...
140: [02:16:05] <zippy> hell uv a drug
141: [02:16:12] <spronk2> i wnat kfc to bring back their shakes
142: [02:16:13] <spronk2> they were awesome
143: [02:16:18] <antmas> I did have a bk shake recently, it was good
144: [02:16:57] <antmas> helenclarko: 'zippyboopybopitybobbidybah!'
145: [02:16:59] <antmas> :P
146: [02:18:36] <antmas> nothing wrong with a bit of swing :D
147: [02:20:36] <simon_w|air> https://www.youtube.com/watch?v=G84E2i6yEH8&app=desktop
148: [02:20:39] <helenclarko> I just searched for a mix of their stuff... Some of their other stuff is better. But I'll let you make your mind up.
149: [02:21:49] <helenclarko> This is my favourites https://www.youtube.com/watch?v=-Xde4Kk-1pI
150: [02:22:40] <antmas> they'd be killer live
151: [02:23:31] * travis-ci has joined #silverstripe
152: [02:23:33] <travis-ci> silverstripe/silverstripe-cms#1204 (3.1 - 0557c0d : Damian Mooyman): The build passed.
153: [02:23:33] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-cms/compare/bb177249baba...0557c0d47be8
154: [02:23:33] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/62495114
155: [02:23:33] * travis-ci has left #silverstripe
156: [02:23:54] <helenclarko> Last link I sent is Live.... I want to see them live.
157: [02:24:58] <antmas> mm watching that one
158: [02:27:04] * Stomach has joined #silverstripe
159: [02:37:07] <ss-helper> Re: Firing a FormAction within CMSFields - http://www.silverstripe.org/community/forums/customising-the-cms/show/101723#post401559
160: [02:38:22] <spronk2> lolwellington
161: [02:38:22] <Stomach> oooo 3.1.13rc1
162: [02:38:24] <spronk2> so much fail
163: [02:41:51] * travis-ci has joined #silverstripe
164: [02:41:52] <travis-ci> silverstripe/silverstripe-framework#4778 (3.1.13 - 69a244e : Damian Mooyman): The build passed.
165: [02:41:52] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/3.1.13
166: [02:41:52] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/62497406
167: [02:41:52] * travis-ci has left #silverstripe
168: [02:46:30] <ss23> #metlinksofast
169: [02:48:18] <simon_w|air> 3.1.13? Is 3.1 going to have more releases than 2.4?
170: [02:50:49] * Stomach quit (Quit: zzz)
171: [02:53:38] * Stomach has joined #silverstripe
172: [02:53:43] * travis-ci has joined #silverstripe
173: [02:53:44] <travis-ci> silverstripe/silverstripe-cms#1205 (3.1.13 - 0557c0d : Damian Mooyman): The build failed.
174: [02:53:44] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-cms/compare/3.1.13
175: [02:53:44] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/62497453
176: [02:53:44] * travis-ci has left #silverstripe
177: [02:58:00] <antmas> did something in wellington burst its banks? or is this just from rain?
178: [02:58:16] * Colin[pi] has joined #silverstripe
179: [02:58:17] <simon_w|air> Hutt may have burst again
180: [02:58:23] <simon_w|air> But mostly from rain
181: [02:58:39] <Colin[pi]> hey all o/
182: [02:59:42] * travis-ci has joined #silverstripe
183: [02:59:43] <travis-ci> silverstripe/silverstripe-framework#4779 (3.1.13 - c1d500d : Damian Mooyman): The build passed.
184: [02:59:44] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/69a244e03ffb...c1d500dedc0b
185: [02:59:44] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/62498189
186: [02:59:44] * travis-ci has left #silverstripe
187: [02:59:47] <antmas> crazy rain
188: [02:59:49] <antmas> Colin[pi]: o/
189: [03:00:08] <Colin[pi]> antmas: o/
190: [03:03:30] <simon_w|air> Colin[pi], warm enough for you this morning?
191: [03:04:05] <Colin[pi]> simon_w|air: I have my granny blanket turned on :D
192: [03:04:18] <simon_w|air> Colin[pi], but we won!
193: [03:04:41] <simon_w|air> https://twitter.com/BOM_ACT/status/598585374479360001
194: [03:05:50] <Colin[pi]> simon_w|air: yay!!! :\
195: [03:06:05] <simon_w|air> Colin[pi], there was frost on top of cars!
196: [03:06:11] <simon_w|air> Was great :D
197: [03:06:18] <Colin[pi]> simon_w|air: not on mine! dat carport
198: [03:15:20] * travis-ci has joined #silverstripe
199: [03:15:21] <travis-ci> silverstripe/silverstripe-framework#4780 (3.1.13-rc1 - c1d500d : Damian Mooyman): The build passed.
200: [03:15:21] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/3.1.13-rc1
201: [03:15:21] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/62498202
202: [03:15:21] * travis-ci has left #silverstripe
203: [03:19:37] * spronk2 quit (Quit: I may need a longer sleep timer...)
204: [03:28:19] * antmas quit (Ping timeout: 246 seconds)
205: [03:28:35] <zippy> "Body rolls from hearse at lights in pouring rain" daaannnggg
206: [03:29:02] <zippy> 3.1.13
207: [03:29:04] <zippy> that looks funnny
208: [03:29:31] * micmania1 quit (Quit: micmania1)
209: [03:30:14] * micmania1 has joined #silverstripe
210: [03:30:31] * travis-ci has joined #silverstripe
211: [03:30:32] <travis-ci> silverstripe/silverstripe-cms#1206 (3.1.13-rc1 - 0557c0d : Damian Mooyman): The build failed.
212: [03:30:32] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-cms/compare/3.1.13-rc1
213: [03:30:32] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/62498221
214: [03:30:32] * travis-ci has left #silverstripe
215: [03:37:17] <ss-helper> SilverStripe 3.1.13-rc1 Release Candidate - http://www.silverstripe.org/community/forums/releases-and-announcements/show/101745
216: [03:37:34] * spronk2 has joined #silverstripe
217: [03:38:13] * travis-ci has joined #silverstripe
218: [03:38:14] <travis-ci> silverstripe/silverstripe-framework#4781 (3.1 - c1d500d : Damian Mooyman): The build passed.
219: [03:38:14] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/69a244e03ffb...c1d500dedc0b
220: [03:38:14] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/62499365
221: [03:38:14] * travis-ci has left #silverstripe
222: [03:45:11] <zippy> ss23: update topic, new release :)
223: [03:45:19] <spronk2> FUCK
224: [03:46:29] <ss23> Eh, it's just an RC
225: [03:46:31] <ss23> I mean
226: [03:46:34] <ss23> What do you want me to do? :O
227: [03:47:01] <ss-helper> SilverStripe 3.1.13-rc1 Release Candidate - https://groups.google.com/d/msg/silverstripe-announce/XEuxvaXBWuo/_c7P4fezdvcJ
228: [03:48:42] <zippy> ss23: dance...
229: [03:49:17] * ss23 spins ^.^
230: [03:49:25] <ss23> Intangible, bet you didn't think so I command you to
231: [03:49:40] <ss23> Mystical, maybe
232: [03:51:25] <zippy> what
233: [03:57:36] * Stomach quit (Quit: zzz)
234: [03:57:56] * travis-ci has joined #silverstripe
235: [03:57:57] <travis-ci> silverstripe/silverstripe-cms#1206 (3.1.13-rc1 - 0557c0d : Damian Mooyman): The build passed.
236: [03:57:57] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-cms/compare/3.1.13-rc1
237: [03:57:57] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/62498221
238: [03:57:57] * travis-ci has left #silverstripe
239: [03:58:42] * Stomach has joined #silverstripe
240: [03:59:10] * babak has joined #silverstripe
241: [04:03:58] * Stomach quit (Quit: zzz)
242: [04:09:37] * Stomach has joined #silverstripe
243: [04:11:25] <zippy> be nice with fontawesome if you could just select the fonts you wanted
244: [04:11:39] <adrexia> the icons you wanted?
245: [04:11:45] <Ryan-Toast> zippy: icomoon
246: [04:11:53] <adrexia> I was about to say the same thing
247: [04:11:54] <adrexia> ;)
248: [04:12:00] <adrexia> icomoon is awesome
249: [04:12:15] <zippy> intersting
250: [04:12:27] <Ryan-Toast> icomoon is my fucking jam.
251: [04:12:37] <Ryan-Toast> I emailed the creator once and thanked him for his work.
252: [04:12:41] <Ryan-Toast> Not often I do that.
253: [04:13:26] * adrexia nods
254: [04:13:33] <adrexia> I bought a font, even though I didn't need it ;)
255: [04:15:35] <zippy> http://fontello.com/ looks also
256: [04:15:42] <adrexia> Ryan-Toast, who made icomoon?
257: [04:15:49] <adrexia> I can't find a name anywhere
258: [04:16:44] <simon_w|air> "Iceman is created and maintained by Keyamoon"
259: [04:16:49] <simon_w|air> *IcoMoon
260: [04:17:11] <simon_w|air> About pages, yo :p
261: [04:19:44] <adrexia> sounds like a made up name?
262: [04:20:14] <zippy> 7 icons, 5kb font, decceent
263: [04:20:32] <simon_w|air> Twitter handle
264: [04:20:43] <simon_w|air> And then there's a link to a contact form
265: [04:21:13] <adrexia> yeah :D
266: [04:22:04] <adrexia> since Ryan-Toast had emailed the creator and used a different gender pronoun than I expected I just thought he might know more ;)
267: [04:23:14] <Ryan-Toast> adrexia: I just remember he emailed me back saying thanks.
268: [04:23:35] * adrexia nods
269: [04:23:38] <Ryan-Toast> adrexia: The site was still in it’s 1.0 stage like 2 years ago when I emailed.
270: [04:23:58] <adrexia> yeah I remember those days
271: [04:24:13] <adrexia> maybe 3 years even
272: [04:24:33] <adrexia> then, like a year later, it was mentioned at pretty much any conference that went near css
273: [04:26:24] <spronk2> anyone using new relic?
274: [04:26:30] <simon_w|air> Yup
275: [04:26:45] <spronk2> where does the latest version put conf files?
276: [04:26:49] <spronk2> i have some sort of conflict
277: [04:29:48] * micmania1 quit (Quit: micmania1)
278: [04:30:05] <simon_w|air> /etc/newrelic
279: [04:30:18] <simon_w|air> We've only changed nrsysmond.cfg
280: [04:31:14] <simon_w|air> And that's only to set the license key
281: [04:32:48] <spronk2> yeah
282: [04:32:48] <spronk2> hmm
283: [04:34:27] <spronk2> ah
284: [04:34:33] <spronk2> new versions dont seem to have /etc/newrelic
285: [04:35:26] <spronk2> or at least on deb they don't, you preseed with debconf
286: [04:41:14] * micmania1 has joined #silverstripe
287: [04:48:14] * Tanger has joined #silverstripe
288: [04:48:39] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
289: [04:48:50] <Tanger> Moning
290: [04:50:37] <spronk2> new ssh port for me
291: [04:50:43] <spronk2> china has found 2222
292: [04:50:52] <spronk2> fucking sick of china.
293: [04:54:27] * joelpittet has joined #silverstripe
294: [04:54:55] * Pyrmnk has joined #silverstripe
295: [04:55:08] <Pyrmnk> hi
296: [04:55:21] * Stomach quit (Quit: zzz)
297: [04:56:19] <spronk2> Pyrmnk!
298: [04:56:35] <simon_w|air> spronk2, need to be careful with those that non-root can listen on
299: [04:56:43] * spronk2 knows
300: [04:56:56] <simon_w|air> Also, I just block China
301: [04:57:01] * spronk2 helped ss23 a while back figure out an exploit for it
302: [04:57:03] <spronk2> hmm
303: [04:57:06] <spronk2> how?
304: [04:57:11] <Pyrmnk> spronk2: hi hi 2 u
305: [04:57:42] <spronk2> PAHRO!
306: [04:57:48] <spronk2> what's up in happy land?
307: [04:58:28] <simon_w|air> Get a list like http://www.wizcrafts.net/chinese-blocklist.html, stick it in iptables
308: [04:59:10] <spronk2> hmm
309: [04:59:14] <spronk2> perhaps i'll do this
310: [04:59:52] <simon_w|air> And then add ss23 to the list too
311: [04:59:55] <spronk2> :D
312: [05:00:00] <ss23> :(
313: [05:02:19] * helenclarko quit (Quit: Page closed)
314: [05:03:16] <Pyrmnk> spronk2: didn't sleep all night coz coughing.not so happy.
315: [05:03:24] <spronk2> lame
316: [05:10:58] * DanaeNZ quit (Quit: DanaeNZ)
317: [05:11:24] * MichalKleiner quit ()
318: [05:19:05] * MichalKleiner has joined #silverstripe
319: [05:32:29] * Stomach has joined #silverstripe
320: [05:34:56] * Ryan-Toast quit (Quit: Ryan-Toast)
321: [05:41:31] * micmania1 quit (Quit: micmania1)
322: [05:45:51] * david_____ has joined #silverstripe
323: [05:46:43] <david_____> how can you remove the export to CSV button from the model admin?
324: [05:46:45] * r_hector has joined #silverstripe
325: [05:48:29] <mahfuz> Hey guys is there any way to put a link for the last page in template?
326: [05:48:52] * micmania1 has joined #silverstripe
327: [05:50:43] <mahfuz> Ok got it
328: [05:54:12] * Hailwood quit (Remote host closed the connection)
329: [05:54:54] * Stomach quit (Quit: zzz)
330: [05:58:15] * Stomach has joined #silverstripe
331: [06:01:37] * david_____ quit (Ping timeout: 246 seconds)
332: [06:11:04] * harry_ quit (Ping timeout: 246 seconds)
333: [06:15:58] * mahfuz quit (Ping timeout: 246 seconds)
334: [06:21:33] * Hailwood has joined #silverstripe
335: [06:21:46] * Stomach quit (Quit: zzz)
336: [06:23:02] * Stomach has joined #silverstripe
337: [06:32:28] * Mike123 has joined #silverstripe
338: [06:32:46] * micmania1 quit (Quit: micmania1)
339: [06:36:19] * willr quit (Quit: willr)
340: [06:36:37] * Mike123 quit (Ping timeout: 246 seconds)
341: [06:41:50] * Colin[pi] quit (Ping timeout: 272 seconds)
342: [06:47:00] * spronk2 quit (Quit: I may need a longer sleep timer...)
343: [06:48:46] * Mike123 has joined #silverstripe
344: [06:52:28] <Mike123> Hey guys
345: [06:52:53] <Mike123> Where should i write function so that my include .ss file can see it
346: [06:53:03] <Mike123> tried Page.php , but no luck
347: [06:55:20] * Robke has joined #silverstripe
348: [06:55:25] <Robke> morning
349: [07:12:15] * veb quit (Quit: veb-irc: &)
350: [07:12:32] * veb has joined #silverstripe
351: [07:17:18] * veb quit (Ping timeout: 272 seconds)
352: [07:17:36] * Stomach quit (Quit: zzz)
353: [07:18:28] * Stomach has joined #silverstripe
354: [07:20:40] * swaiba has joined #silverstripe
355: [07:21:14] <Mike123> is anyone online :D ?
356: [07:21:17] <Mike123> need help :/
357: [07:22:08] <swaiba> just seen logs Mike123 - templates\Includes
358: [07:22:15] <swaiba> either mysite or theme
359: [07:23:58] <Mike123> i have made my own template for FormField , in this template i include my facebookConnect template(show login link and avatar), where should i write function so that on my fbconnect template it would be seen
360: [07:26:00] <swaiba> ok, well, formfield templates I've got mainly in templates
361: [07:26:56] <Mike123> http://codepaste.net/5wqdwn
362: [07:37:48] * Sticks quit (Quit: Leaving)
363: [07:42:11] * wmk has joined #silverstripe
364: [07:42:31] <Robke> wmk, hey :)
365: [07:42:36] <wmk> gmorning
366: [07:43:42] * joelpittet quit (Remote host closed the connection)
367: [07:49:40] * Stomach quit (Quit: zzz)
368: [07:52:54] * r_hector quit (Remote host closed the connection)
369: [07:58:14] * kinglozzer has joined #silverstripe
370: [08:03:33] <ss-helper> Re: [silverstripe-dev] Re: Translations in 3.1.11 - https://groups.google.com/d/msg/silverstripe-dev/PcGki_saaak/6tL9Zcl9we8J
371: [08:04:40] * cwc has joined #silverstripe
372: [08:05:25] <cwc> hello everyone, anyone familiar with the File dataobject can give me some advice? staring at the source n it doesn't make sense
373: [08:06:26] <swaiba> cwc - whats the question?
374: [08:06:43] <cwc> i'm looking at File's function "setName($name)"
375: [08:06:52] <cwc> there's a part about name collision resolution
376: [08:07:07] <cwc> but it's using "$base = pathinfo($name, PATHINFO_BASENAME);"......
377: [08:07:23] <cwc> then later renaming name via $name = "$base-$suffix$ext";
378: [08:07:42] <cwc> but a given file "test.jpg", its $base would resolve to "test.jpg"
379: [08:07:58] <cwc> then the rename would end up "test.jpg-2.jpg" or something funny
380: [08:08:00] <ss-helper> Versioned Extension not working for DataObject - http://www.silverstripe.org/community/forums/data-model-questions/show/101746
381: [08:08:16] <cwc> shouldn't it be "$base = pathinfo($name, PATHINFO_FILENAME);"?
382: [08:08:17] <swaiba> cwc is that guessed or observed?
383: [08:08:53] <cwc> i'm guessing, cos troubleshoot wierd renamed files in my system but couldn't see anything wrong with my source, so looked at File
384: [08:09:14] <cwc> getting files named "Department-sites.pdf-2pdf"
385: [08:10:02] <swaiba> cwc if you can reproduce it then I'm sure just raise an issue with the case
386: [08:10:31] <swaiba> I'm sure the proposed solution and unit tests would also persuade
387: [08:11:12] <cwc> i would, but its so iffy to recreate cos you need like file inconsistencies in the db, would it suffice if i just quote the code in File.php and point out its flaw?
388: [08:13:19] <cwc> just look at line 624 in File.php, its plain wrong yet the file system is humming along just fine
389: [08:13:45] <cwc> $name = "$base-$suffix$ext"; // but ext doesn't carry the dot, and base included the extension
390: [08:15:09] * zippy has joined #silverstripe
391: [08:16:53] <elgabbu> gd morning guys ... what is the proper way of using LIKE when filter data list?
392: [08:16:58] * Hailwood quit (Remote host closed the connection)
393: [08:17:00] * Werner_2_ has joined #silverstripe
394: [08:17:14] <elgabbu> i tried this .. $eventPayoutLevels = $event->PayoutLevels()->filter(array( 'Place LIKE' => '%-%' ));
395: [08:17:16] * wmk quit (Disconnected by services)
396: [08:17:18] * Werner_2_ is now known as wmk
397: [08:17:33] <elgabbu> but it gives an error
398: [08:17:52] * Stomach has joined #silverstripe
399: [08:18:04] <wmk> cwc which OS are you running on?
400: [08:18:36] <cwc> @wmk, dev on windows wamp; prod on linux centos; both giving same issue
401: [08:19:06] <wmk> hmm... never seen this
402: [08:20:24] * Stomach quit (Client Quit)
403: [08:20:50] <cwc> if you dun mind, could you look thru lines 616~624 in framework/filesystem/File.php? I'm asking cos the mistake is so glaring, which means I must be wrong somewhere
404: [08:27:11] <zippy> cwc: dont see anything
405: [08:27:46] <zippy> is it doing math on 624?
406: [08:28:18] * r3v3rb has joined #silverstripe
407: [08:28:35] <cwc> not the math; the fact that "$base" contains "test.jpg" not "test" and "$ext" contains "jpg" resulting it being "test.jpg-2jpg" being the final rename
408: [08:28:43] <cwc> i could do a test case, gimme a sec
409: [08:28:46] <r3v3rb> morning all, i hope all the NZ’ers are safe
410: [08:30:03] <wmk> r3v3rb, how that? earthquake?
411: [08:30:14] <r3v3rb> wmk, flooding and landslips
412: [08:31:07] <wmk> oh
413: [08:31:27] <zippy> https://www.noelleeming.co.nz/gear-vr
414: [08:31:34] <wmk> cwc, yup, looks like there is something missing the point (between filename and extension)
415: [08:33:01] <zippy> so it does
416: [08:33:50] <cwc> just try to run http://pastebin.com/s7TxtUuM in ur Page.php twice, the first time it'll work, the 2nd time it'll fail, throwing an "extension is not allowed"
417: [08:33:51] * tmro quit (Ping timeout: 256 seconds)
418: [08:34:09] <cwc> which i'm guessing is due to the "test.jpg-2jpg" file
419: [08:35:16] * bemusedrat has joined #silverstripe
420: [08:37:46] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
421: [08:38:37] * praveen_ has joined #silverstripe
422: [08:39:21] <praveen_> Hello , how to groupby dataobjects and get the count . I want to get Member Comments count
423: [08:39:24] <praveen_> Comment::get()->filter('AuthorID',$ID)->groupby('ParentID')->Count()
424: [08:39:34] <praveen_> No grouby method
425: [08:39:49] <praveen_> Another way GroupedList::create(Comment::get()->filter('AuthorID',$ID))->groupby('ParentID')->Count()
426: [08:40:02] <praveen_> No Count Method
427: [08:40:23] <cwc> you have to create a group list first
428: [08:40:41] <praveen_> I created Grouped LIst
429: [08:40:51] <praveen_> How do I get the count?
430: [08:40:55] * tmro has joined #silverstripe
431: [08:41:23] <praveen_> I get this error Call to a member function Count() on a non-object
432: [08:41:27] <cwc> yourgrouplist->GroupedBy('ParentID')
433: [08:41:32] <cwc> with "ed"
434: [08:41:57] <wmk> cwc, it's this code for ages, funny noone stumbled over that
435: [08:42:15] * terryapodaca has joined #silverstripe
436: [08:42:20] <praveen_> I could make it , thanks
437: [08:42:28] <cwc> @wmk yea exactly, which is why i was thinking i must be missing something
438: [08:42:41] <praveen_> cwc: Thanks
439: [08:43:14] * praveen_ quit (Client Quit)
440: [08:43:46] <terryapodaca> Anyone know how to remove a FieldGroup from the CMS? I have a FieldGroup that is used site wise to set options for using a Page Banner (or not)...except on the home page and I don't want those options to be seen on the home page (CMS)
441: [08:44:19] <wmk> cwc, what i wonder: isn't there a unit test for this?
442: [08:44:42] <cwc> do you have the ID of the fieldgroup?
443: [08:45:53] <terryapodaca> there's no ID, just the class <div class="field fieldgroup">
444: [08:47:41] <terryapodaca> I've tried ->setName('') and ->setID('')
445: [08:47:58] <terryapodaca> but neither of those take effect in the CMS
446: [08:49:21] <cwc> what if you tried removebyname of all the fields in the fieldgroup? it should remove the field group too right?
447: [08:49:49] <terryapodaca> I did try that, and that works...but it leaves the "title" that's shown on the left
448: [08:49:56] * Werner_2_ has joined #silverstripe
449: [08:50:21] * wmk quit (Disconnected by services)
450: [08:50:23] * Werner_2_ is now known as wmk
451: [08:50:41] <terryapodaca> Ah hah! I got it
452: [08:51:00] <terryapodaca> I had the Name spelled wrong
453: [08:51:04] <terryapodaca> thanks!
454: [09:03:45] * Stomach has joined #silverstripe
455: [09:03:51] * DimiStripe has joined #silverstripe
456: [09:08:11] <ss-helper> 3.1.12 set_create_default_pages / normal setup vs. custom StartPage - http://www.silverstripe.org/community/forums/general-questions/show/101747
457: [09:18:05] * zippy has joined #silverstripe
458: [09:18:16] <wmk> hey zippy
459: [09:18:24] <zippy> hi
460: [09:21:43] <r3v3rb> is there an ORM function to ‘DELETE * FROM XYZ’ table?
461: [09:21:46] * Stomach quit (Quit: zzz)
462: [09:22:59] * Stomach has joined #silverstripe
463: [09:23:13] <ss-helper> Re: 3.1.12 set_create_default_pages / normal setup vs. custom StartPage - http://www.silverstripe.org/community/forums/general-questions/show/101747#post401563
464: [09:23:23] * wmk quit (Disconnected by services)
465: [09:23:23] * Werner_2_ has joined #silverstripe
466: [09:23:29] * Werner_2_ is now known as wmk
467: [09:24:06] <zippy> r3v3rb: DB::query('foo')?
468: [09:24:18] <r3v3rb> zipy got it
469: [09:24:23] <r3v3rb> thanks
470: [09:24:25] <zippy> so DB::query("DELETE * FROM XYZ"); or DB::Query("Truncate foo");
471: [09:24:30] <r3v3rb> zippy: even ;)
472: [09:25:00] <r3v3rb> so no, except parsing all items with a $item->delete(); or a DB::Query
473: [09:25:21] <r3v3rb> but thats cool, I can handle it this way
474: [09:28:52] <terryapodaca> is there a way to make a userdefinedform text field disabled?
475: [09:28:57] <terryapodaca> or at least an easy way?
476: [09:29:39] * Stomach quit (Quit: zzz)
477: [09:30:02] <cwc> i seen a "DB::getConn()->clearTable($table);" somewhere maybe you can try that
478: [09:30:18] <kinglozzer> r3v3rb: SQLQuery::setDelete() also
479: [09:30:28] <r3v3rb> ok ok I get it ;)
480: [09:30:29] * cloph quit (Remote host closed the connection)
481: [09:30:43] <r3v3rb> Truncate works a treat by the way
482: [09:30:51] <kinglozzer> r3v3rb: You can also edit the items in the CMS and click the delete button
483: [09:30:52] <kinglozzer> ;)
484: [09:30:55] <r3v3rb> :D
485: [09:31:07] <cwc> carpal tunnel much?
486: [09:31:25] <r3v3rb> but this is part of an option to purge all records during automated csv import from custom controller
487: [09:31:31] * Stomach has joined #silverstripe
488: [09:31:33] <r3v3rb> kinglozzer: ^^
489: [09:32:57] * aditya has joined #silverstripe
490: [09:33:04] <r3v3rb> I have the three DO’s being created from a single spreadsheet, now I just need to tie up the relations based on the data
491: [09:33:25] <aditya> hello can anyone help me how can i use ajax in contactform
492: [09:35:44] * Tanger quit (Quit: sleep())
493: [09:35:51] <cwc> what are u having problems with aditya?
494: [09:36:34] <r3v3rb> aditya: you can do this where ‘submit’ is your function to call on the contactform http://www.sspaste.com/paste/show/55546c86a4c60
495: [09:37:29] <aditya> i dont know how to submit my form with ajax
496: [09:37:48] <r3v3rb> some of the return code is specific to foundation and modal windows ;) it also returns a json encoded string from the form with a success boolean and also a message which is then added to the modal before displaying
497: [09:37:48] * ss-helper quit (Remote host closed the connection)
498: [09:38:03] * ss-helper has joined #silverstripe
499: [09:38:06] <zippy> !debug
500: [09:38:06] <ss-helper> Maybe it's time to start xdebug and see whats going on... check out http://docs.silverstripe.org/en/developer_guides/debugging/ and http://xdebug.org/docs/
501: [09:38:16] <zippy> !debug wmk
502: [09:38:16] <ss-helper> wmk: Maybe it's time to start xdebug and see whats going on... check out http://docs.silverstripe.org/en/developer_guides/debugging/ and http://xdebug.org/docs/
503: [09:38:23] <r3v3rb> zippy: :D
504: [09:38:53] <wmk> zippy, good idea
505: [09:43:52] * aditya quit (Ping timeout: 246 seconds)
506: [09:46:04] <swaiba> !help
507: [09:46:05] <ss-helper> Please provide the version, full error message and relevant code. You can put the code in http://kopy.io/ or http://www.sspaste.com/ or https://gist.github.com/ and paste the link here.
508: [09:46:09] <swaiba> ha
509: [09:46:52] <wmk> swaiba, nope, that's not the manpage
510: [09:46:55] <wmk> !man
511: [09:46:59] <wmk> !?
512: [09:47:02] <swaiba> ha
513: [09:47:12] <swaiba> I just wanted to make the helper say something
514: [09:49:36] * ss-helper quit (Remote host closed the connection)
515: [09:49:46] <zippy> look what you did!
516: [09:49:49] * ss-helper has joined #silverstripe
517: [09:49:51] <zippy> !man
518: [09:49:52] <ss-helper> Hear me now! !help - Displays a help message for poeple asking for help. !flush - A message about flushing. !date - The current time in NZ. !paste - A list of paste bins for people to use. !seen nick - When I last saw nick do something.
519: [09:50:03] <zippy> !manpage
520: [09:50:03] <ss-helper> Hear me now! !help - Displays a help message for poeple asking for help. !flush - A message about flushing. !date - The current time in NZ. !paste - A list of paste bins for people to use. !seen nick - When I last saw nick do something.
521: [09:50:33] <zippy> damn forgot one
522: [09:51:11] * ss-helper quit (Remote host closed the connection)
523: [09:51:27] * ss-helper has joined #silverstripe
524: [09:51:29] <zippy> !man
525: [09:51:29] <ss-helper> Hear me now! !help - Displays a help message for poeple asking for help. !flush - A message about flushing. !date - The current time in NZ. !paste - A list of paste bins for people to use. !seen nick - When I last saw nick do something. !debug - A message about debugging.
526: [09:51:36] <zippy> wmk there you go
527: [09:52:37] <wmk> man! that's cool
528: [09:52:48] <wmk> !man swaiba
529: [09:52:48] <ss-helper> swaiba: Hear me now! !help - Displays a help message for poeple asking for help. !flush - A message about flushing. !date - The current time in NZ. !paste - A list of paste bins for people to use. !seen nick - When I last saw nick do something. !debug - A message about debugging.
530: [09:53:04] <swaiba> lol
531: [09:53:16] <swaiba> Hear me now!
532: [09:53:27] <swaiba> it's ali g in the ss-helper
533: [09:55:39] <zippy> ;-)
534: [09:55:46] <zippy> Booyakasha
535: [09:56:03] <zippy> maybe I should do a on-join message
536: [09:56:04] <zippy> hm
537: [09:56:34] <zippy> for certain people, not everyone
538: [09:56:35] <zippy> one day
539: [09:56:41] * Werner_2_ has joined #silverstripe
540: [09:56:42] <zippy> i've added two commands, thats enough for one day
541: [09:56:58] <zippy> /one day/this month/
542: [09:57:42] * wmk quit (Ping timeout: 258 seconds)
543: [10:06:50] * Werner_2_ is now known as wmk
544: [10:12:17] <zippy> if I create a page in code, how can I publish it?
545: [10:13:18] <wmk> $page->doPublish() ?
546: [10:13:59] <zippy> I thought it was something like something('staging', 'live'); or s
547: [10:17:26] <swaiba> wmk $page->writeToStage('Stage'); $page->publish("Stage", "Live");
548: [10:18:58] <wmk> zippy, yup, https://github.com/silverstripe/silverstripe-cms/blob/3.1/code/model/SiteTree.php#L1449
549: [10:19:39] <wmk> though, doPublish() is doing the same (and some more checks)
550: [10:19:40] <wmk> https://github.com/silverstripe/silverstripe-cms/blob/3.1/code/model/SiteTree.php#L2322
551: [10:21:16] <zippy> cheers
552: [10:23:17] * Stomach quit (Quit: zzz)
553: [10:25:44] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
554: [10:26:27] * UncleCheese has joined #silverstripe
555: [10:29:20] * zippy has joined #silverstripe
556: [10:30:15] * Werner_2_ has joined #silverstripe
557: [10:30:17] * cloph_away has joined #silverstripe
558: [10:30:23] * wmk quit (Ping timeout: 252 seconds)
559: [10:30:38] * Werner_2_ is now known as wmk
560: [10:31:05] * zippy quit (Client Quit)
561: [10:38:17] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
562: [10:38:46] * UncleCheese has joined #silverstripe
563: [10:51:24] <ss-helper> Which E-Commerce Module is the most official and which should I use? - http://www.silverstripe.org/community/forums/e-commerce-modules/show/101748
564: [10:52:30] <UncleCheese> anyone spending the night at the SS office?
565: [10:53:59] * wmk quit (Ping timeout: 245 seconds)
566: [10:55:37] * cwc quit (Ping timeout: 246 seconds)
567: [10:59:07] * EasyCo has joined #silverstripe
568: [10:59:29] * tmro quit (Ping timeout: 256 seconds)
569: [10:59:33] * sealan has joined #silverstripe
570: [11:01:32] * Kutten has joined #silverstripe
571: [11:03:29] * Colin[pi] has joined #silverstripe
572: [11:05:04] * sealan quit ()
573: [11:05:04] * NETim quit (Ping timeout: 246 seconds)
574: [11:05:23] * zippy has joined #silverstripe
575: [11:06:26] <ss-helper> Repeatedly hacked - http://www.silverstripe.org/community/forums/general-questions/show/101749
576: [11:06:28] * Mike123 quit (Ping timeout: 246 seconds)
577: [11:07:04] * tmro has joined #silverstripe
578: [11:07:20] * gelignite has joined #silverstripe
579: [11:08:12] <terryapodaca> Anyone know why the SS Numeric Field in User Defined Forms doesn't allow for maxlength?
580: [11:08:26] * sealan has joined #silverstripe
581: [11:27:45] <swaiba> terryapodaca - because numbers have min/max size not length? (guess only)
582: [11:28:40] <terryapodaca> swaiba: that would be true if UDF used type="number", but they are still using type="text"
583: [11:28:56] <swaiba> terryapodaca good point, I'm just talking sematically
584: [11:29:17] <terryapodaca> still, I believe even in html5, a maxlength attribute is still valid
585: [11:29:38] <terryapodaca> both size and maxlength...
586: [11:33:21] <swaiba> terryapodaca - it's not in the permitted values, but in the DOM interface? http://www.w3.org/TR/html-markup/input.number.html
587: [11:36:31] <ss-helper> Re: Repeatedly hacked - http://www.silverstripe.org/community/forums/general-questions/show/101749#post401567
588: [11:36:47] * Mike123 has joined #silverstripe
589: [11:37:21] <Mike123> when looping throught sidebar Link how can i check if i'm on current link right now
590: [11:37:33] <terryapodaca> swaiba: ic...good catch. weird they wouldn't allow it tho
591: [11:37:46] <terryapodaca> linkorsection
592: [11:37:50] <terryapodaca> Mike123:
593: [11:39:10] <terryapodaca> Mike123: in the template you can use the variable: $LinkingMode to tell you
594: [11:40:24] <terryapodaca> that outputs either "section" or "current" or simply "link"
595: [11:42:51] <Mike123> thanks :)
596: [11:44:16] <Mike123> and how to get upper page title ?
597: [11:44:45] <Mike123> if i have Music->Album , how can i get Music title in Album page
598: [11:45:03] * Kutten quit (Quit: Kutten)
599: [11:45:10] <terryapodaca> couple different ways
600: [11:45:41] <terryapodaca> probably the easiest way is $Parent.Title
601: [11:46:01] <zippy> or $Up.Title
602: [11:46:07] <zippy> or $Top.Title takes you all the way up
603: [11:46:14] <terryapodaca> right...
604: [11:46:20] <Mike123> $parent is what i need :) thanks
605: [11:46:26] <terryapodaca> I was trying to keep it simple for him
606: [11:46:28] <terryapodaca> :D
607: [11:46:56] <zippy> http://doc.silverstripe.org/en/developer_guides/templates/syntax/#up http://doc.silverstripe.org/en/developer_guides/templates/syntax/#top
608: [11:54:56] * Nightjar has joined #silverstripe
609: [11:54:59] * Nightjar quit (Client Quit)
610: [11:55:47] * Pyromanik has joined #silverstripe
611: [11:57:37] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
612: [12:00:26] * bemusedrat quit (Quit: Leaving)
613: [12:06:36] <ss-helper> Re: 3.1.12 set_create_default_pages / normal setup vs. custom StartPage - http://www.silverstripe.org/community/forums/general-questions/show/101747#post401569
614: [12:06:36] <ss-helper> Re: Versioned Extension not working for DataObject - http://www.silverstripe.org/community/forums/data-model-questions/show/101746#post401568
615: [12:14:26] <terryapodaca> does anyone know where in UserDefinedForms...the actual form fields are being written out into HTML?
616: [12:14:29] * UndefinedOffset has joined #silverstripe
617: [12:19:32] * wmk has joined #silverstripe
618: [12:21:39] <ss-helper> Re: Repeatedly hacked - http://www.silverstripe.org/community/forums/general-questions/show/101749#post401571
619: [12:21:39] <ss-helper> Re: Directory Listing - http://www.silverstripe.org/community/forums/general-questions/show/101744#post401570
620: [12:22:02] <Pyromanik> terryapodaca, same place they always are
621: [12:22:07] <Pyromanik> public function Form()
622: [12:22:19] <Pyromanik> (_Controller)
623: [12:25:26] <zippy> Pyromanik: o/
624: [12:25:32] <zippy> Pyromanik: ss-helper learned some things
625: [12:25:39] <Pyromanik> \o zippy - up late!
626: [12:25:44] <Pyromanik> oh?
627: [12:25:49] <Pyromanik> !tellmemore
628: [12:27:03] <zippy> !manpage
629: [12:27:04] <ss-helper> Hear me now! !help - Displays a help message for poeple asking for help. !flush - A message about flushing. !date - The current time in NZ. !paste - A list of paste bins for people to use. !seen nick - When I last saw nick do something. !debug - A message about debugging.
630: [12:27:57] <Pyromanik> !date [2 letter ISO country code] would be better
631: [12:27:57] <ss-helper> It's currently 15th May 12:27:57 am in New Zealand (NZST)
632: [12:28:20] <Pyromanik> !debug
633: [12:28:20] <ss-helper> Maybe it's time to start xdebug and see whats going on... check out http://docs.silverstripe.org/en/developer_guides/debugging/ and http://xdebug.org/docs/
634: [12:28:33] <terryapodaca> what the heck are you doing?
635: [12:28:38] <terryapodaca> !what
636: [12:28:46] <terryapodaca> !debug
637: [12:28:47] <ss-helper> Maybe it's time to start xdebug and see whats going on... check out http://docs.silverstripe.org/en/developer_guides/debugging/ and http://xdebug.org/docs/
638: [12:29:11] <terryapodaca> !paste
639: [12:29:11] <ss-helper> Please paste your code using something like http://kopy.io/ or http://www.sspaste.com/ or https://gist.github.com/ and then paste the link here.
640: [12:32:04] <zippy> Pyromanik: would need more than 2 letter country code... would need time zone
641: [12:32:28] <Pyromanik> true.
642: [12:33:25] <Pyromanik> zippy, so basically it does all the same things, execpt now with date and manpage
643: [12:33:34] <zippy> already did the date
644: [12:33:40] <Pyromanik> lol
645: [12:33:42] <zippy> manpage and debug
646: [12:33:45] <Pyromanik> ah
647: [12:33:47] <zippy> :)
648: [12:33:52] <zippy> wmk wanted debug
649: [12:34:00] <wmk> ?
650: [12:34:06] <Pyromanik> He's a fan of xdebug
651: [12:34:21] <Pyromanik> I'm more of a die(var_dump()); kinda guy.
652: [12:34:32] <wmk> !man Pyromanik
653: [12:34:32] <ss-helper> Pyromanik: Hear me now! !help - Displays a help message for poeple asking for help. !flush - A message about flushing. !date - The current time in NZ. !paste - A list of paste bins for people to use. !seen nick - When I last saw nick do something. !debug - A message about debugging.
654: [12:34:44] <zippy> yea, I got a dd function I have in my _ss_environment file
655: [12:35:07] <terryapodaca> ughhh...all I want to be able to do is add maxlength and size to the numeric field...since it's still being rendered as type="text"
656: [12:35:10] <Pyromanik> There is of course also Debug::show() but idek if it still does anything
657: [12:35:12] <wmk> Pyromanik, well, it's a setup thing. if xdebug is set up it's easy to use
658: [12:35:39] <zippy> which basically just does; function dd() {array_map(function($x) { var_dump($x); }, func_get_args()); die; }
659: [12:35:45] <Pyromanik> terryapodaca, setAttribute('type', 'number')
660: [12:35:47] <Pyromanik> maybe
661: [12:35:48] <Pyromanik> idk
662: [12:35:52] <Pyromanik> try it and see
663: [12:36:09] * lerni_ has joined #silverstripe
664: [12:36:29] <Pyromanik> right, might be time to get up.
665: [12:36:41] <ss-helper> Re: Which E-Commerce Module is the most official and which should I use? - http://www.silverstripe.org/community/forums/e-commerce-modules/show/101748#post401573
666: [12:36:42] <ss-helper> Re: how to work with class ModelAdmin and Subsite? - http://www.silverstripe.org/community/forums/general-questions/show/101738#post401572
667: [12:36:51] <Pyromanik> try and find some paper, see if I can fold this damn dragon
668: [12:37:40] <wmk> hey lerni_
669: [12:37:53] <wmk> can i ask you a bit about using svg?
670: [12:38:19] <lerni_> hola wmk - just go ahead - If I can I'll answer :)
671: [12:38:43] <wmk> well, did you include the svg code in html or just put into a <img> tag?
672: [12:38:50] <wmk> and was it accessible from outside?
673: [12:38:54] * ss-helper quit (Remote host closed the connection)
674: [12:39:10] * ss-helper has joined #silverstripe
675: [12:39:13] <zippy> !manpage
676: [12:39:13] <ss-helper> Hear me now! - !manpage - See !man. !help - Displays a help message for poeple asking for help. !flush - A message about flushing. !date - The current time in NZ. !paste - A list of paste bins for people to use. !seen nick - When I last saw nick do something. !debug - A message about debugging. !man - See !manpage.
677: [12:39:18] <lerni_> it is accessible from outsite (css) if you put it in the markup
678: [12:39:19] <wmk> i have to redo a "map" page, was a imagemap before
679: [12:39:36] <wmk> with hover and links from a list
680: [12:40:10] <lerni_> you can use.. stevie-mayhew/silverstripe-svg
681: [12:41:10] <wmk> ah, right, there was already something
682: [12:41:18] * ss-helper quit (Remote host closed the connection)
683: [12:41:32] * ss-helper has joined #silverstripe
684: [12:56:24] <ss-helper> Re: Which E-Commerce Module is the most official and which should I use? - http://www.silverstripe.org/community/forums/e-commerce-modules/show/101748#post401575
685: [13:11:26] <ss-helper> Re: Which E-Commerce Module is the most official and which should I use? - http://www.silverstripe.org/community/forums/e-commerce-modules/show/101748#post401576
686: [13:16:01] * Colin[pi] quit (Read error: Connection reset by peer)
687: [13:29:12] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
688: [13:29:17] * muskie9 has joined #silverstripe
689: [13:32:14] <r3v3rb> kinglozzer: did you have to deal with many_many relations in your csv importer?
690: [13:32:54] * wmk quit (Ping timeout: 256 seconds)
691: [13:33:10] <kinglozzer> r3v3rb: Yeah
692: [13:33:20] <r3v3rb> any tips for doing so?
693: [13:33:32] * wmk has joined #silverstripe
694: [13:33:40] <kinglozzer> What are you stuck with?
695: [13:34:29] <r3v3rb> I got the data importing, creating three sets of DataObject for each part, and I have the has_one <> has_many working too
696: [13:34:58] <r3v3rb> I now have to loop through the items that will defing the many_many relation and add them to the many_many table
697: [13:35:18] <r3v3rb> be defined in the many_many*
698: [13:35:32] * catcher has joined #silverstripe
699: [13:36:56] <r3v3rb> kinglozzer: is it a manual SQL insert into the join table?
700: [13:37:09] <kinglozzer> r3v3rb: You could do that, or use the ORM
701: [13:37:10] <r3v3rb> for each occurance
702: [13:37:20] <r3v3rb> kinglozzer: tell me more ;)
703: [13:38:39] <kinglozzer> Might be tricky to use the ORM depending on how your data is structured, but generally speaking - $objA = MyDO::get()->byID($row['ObjectAID']); $objB = MyDO::get()->byID($row['ObjectBID']); $objA->ManyManyRelation()->add($objB);
704: [13:39:22] <kinglozzer> It might be more efficient to update the table manually
705: [13:39:31] <kinglozzer> Assuming you've got the IDs, or something easy to work with ;)
706: [13:39:45] <r3v3rb> ok cool, objectA is the current object in a loop anyway so fairly straight forward to find objectB in a loop of keys and add as necessary
707: [13:40:25] <wmk> r3v3rb, if its just a few objects: use orm. if its a huge db (like geodb), use plain sql
708: [13:41:00] <r3v3rb> kinglozzer: hopefully, I have an object in memory which I am about to do a secondary loop through its keys to see if any $values match the Title of ObjectB
709: [13:41:10] <r3v3rb> at most 600-700 items 3 times a year
710: [13:55:43] * wmk quit (Ping timeout: 252 seconds)
711: [13:56:34] <ss-helper> Re: 3.1.12 set_create_default_pages / normal setup vs. custom StartPage - http://www.silverstripe.org/community/forums/general-questions/show/101747#post401577
712: [13:58:25] <kinglozzer> dafuq?
713: [13:58:26] <kinglozzer> Fatal error: Class 'HtmlEditorConfig' not found in /path/to/site/framework/admin/_config.php on line 3
714: [13:58:29] <kinglozzer> O.o
715: [13:58:48] <r3v3rb> Poop! kinglozzer
716: [13:59:52] * wmk has joined #silverstripe
717: [14:01:54] <kinglozzer> I'm so confused D:
718: [14:02:45] <r3v3rb> me too, phpstorm xdebug works perfect on osx MAMP but under windows 10 MAMP refuse to map paths correctly !
719: [14:03:32] <kinglozzer> Can't help there, never used xdebug and only used phpstorm twice :P
720: [14:03:39] <r3v3rb> :P
721: [14:14:45] <catcher> r3v3rb, s/windows/[mac|linux]/
722: [14:15:28] <wmk> r3v3rb, windows 10 ???
723: [14:15:32] <wmk> preview?
724: [14:17:12] <kinglozzer> WTF IS HAPPENING? :(
725: [14:17:30] <kinglozzer> installing framework via composer fails, can't find class HtmlEditorConfig
726: [14:17:49] <kinglozzer> Checked classmanifest/classloader, it's got the correct path, file exists and the class is definitely there
727: [14:17:58] <kinglozzer> It's being require_once'd, no errors, still doesn't work
728: [14:18:12] <kinglozzer> Just deleted it, copied /framework/ from another dir and it works fine
729: [14:19:11] <kinglozzer> ARAEGAEGA
730: [14:19:16] <kinglozzer> Fatal error: require_once(): Cannot redeclare class errorcontrolchain
731: [14:19:20] <kinglozzer> WHAT?!?!??!! ffs :(
732: [14:19:46] <wmk> kinglozzer, are you in your webroot? or in a module folder?
733: [14:19:52] <swaiba> r3v3rb - http://www.infiniteunknown.net/wp-content/uploads/2014/10/Windows-10-We-Finally-Fixed-Everything.jpg
734: [14:21:12] <catcher> kinglozzer, composer install dir putting framework somewhere it shouldn't?
735: [14:21:28] <kinglozzer> Nope, it's all correct
736: [14:22:09] <catcher> kinglozzer, brand new silverstripe-cache dir each time?
737: [14:22:42] <kinglozzer> Yep :/
738: [14:22:58] <kinglozzer> Well, it usually writes to /tmp/whatever but I created a silverstripe-cache dir just for testing, same thing
739: [14:24:31] <kinglozzer> Fatal error: require_once(): Cannot redeclare class errorcontrolchain in /path/to/webroot/framework/core/Core.php on line 81
740: [14:24:42] <kinglozzer> Line 81 has nothing to do with ErrorControlChain :S
741: [14:25:27] <kinglozzer> In fact, there's nothing to do with ErrorControlChain in Core.php! D:
742: [14:27:30] <wmk> cannot redeclare...
743: [14:27:35] <wmk> sounds like you have installed it twice
744: [14:27:48] <wmk> happens when i run "composer install" in a module directory accidently
745: [14:28:01] <wmk> cause it installes the modules requirements there
746: [14:28:25] <kinglozzer> wmk: Yeah that's the first thing I checked :/
747: [14:28:49] <kinglozzer> If I comment out line 81 of Core.php (require_once 'core/manifest/TemplateManifest.php';), I get "Fatal error: Class 'InjectionCreator' not found"
748: [14:28:58] <kinglozzer> Something... weird is going on
749: [14:29:19] <kinglozzer> Maybe it's an opcode cache thing?
750: [14:32:20] * GioVdK has joined #silverstripe
751: [14:32:21] <kinglozzer> Phew, it was APC
752: [14:32:32] <kinglozzer> No wonder I thought I was going insane :(
753: [14:34:50] * EasyCo quit (Quit: Connection closed for inactivity)
754: [14:34:58] <wmk> oh
755: [14:35:50] <GioVdK> Hello, I decided to remove the base tag to avoid some madness with svg's xlink:href references, and prepended $BaseURL to my path instead
756: [14:36:45] <GioVdK> but the wysiwyg editor is always referring to assets/ without the base url prefix; I found this one: http://www.electrictoolbox.com/silverstripe-prefix-img-src-assets-leading-slash/ but I'm not sure it is the best possible way of achieving this
757: [14:37:31] <r3v3rb> swaiba: that image is about right you know
758: [14:44:47] <catcher> kinglozzer, that's brutal, haven't encountered an issue like that with opcache.
759: [14:45:44] <kinglozzer> Yeah I just ran apc_clear_cache(); and it fixed it, no idea why the cache wasn't expiring automatically :/
760: [14:45:51] <kinglozzer> Stupid old PHP version
761: [14:46:03] * Robke quit (Remote host closed the connection)
762: [14:46:47] <catcher> Isn't APC abandoned?
763: [14:47:33] <kinglozzer> Yeah I think so
764: [14:47:42] <kinglozzer> Or replaced with Zend's opcache
765: [14:48:13] <catcher> Yeah, I think APC gave up halfway through 5.4 due to Zend opcache
766: [14:51:14] <kinglozzer> Yeah, it's built into PHP now anyway I think
767: [14:51:29] <kinglozzer> We need to get PHP7 working! https://travis-ci.org/silverstripe/silverstripe-framework/jobs/62535460
768: [14:56:44] <ss-helper> Sorting on has_one relation field - http://www.silverstripe.org/community/forums/general-questions/show/101750
769: [14:56:45] <ss-helper> Re: Problem with ampersand in $many_many_extraFields - http://www.silverstripe.org/community/forums/customising-the-cms/show/101734#post401578
770: [14:57:45] * r3v3rb = happy
771: [14:59:02] <r3v3rb> actually that’s syntactically incorrect
772: [14:59:07] * r3v3rb === happy
773: [14:59:11] <r3v3rb> better
774: [15:02:09] <swaiba> r3v3rb != sad
775: [15:02:29] <r3v3rb> swaiba: that too
776: [15:03:05] <r3v3rb> csv import into 3 DO from one sheet is working with relationships etc etc
777: [15:07:31] <r3v3rb> so now client can import 22 bikes, with 32 categories and 600+ parts per bike from one single cross-referenced spreadsheet :D
778: [15:08:41] <swaiba> nice
779: [15:08:55] <swaiba> with the module that we keep pushing, or just CSVBulkLoader?
780: [15:09:22] * Mike123 quit (Ping timeout: 246 seconds)
781: [15:16:17] <Pyromanik> gg r3v3rb
782: [15:16:20] <Pyromanik> :>
783: [15:16:29] * Pyromanik quit (Quit: (sleeeeeepeeeeeeeee))
784: [15:30:11] * lerni_ quit ()
785: [15:30:27] <r3v3rb> swaiba: hand coded
786: [15:31:54] <wmk> swaiba, module == importexport module?
787: [15:32:05] <swaiba> yar
788: [15:34:52] <r3v3rb> swaiba: nice module how would it handle something like this https://www.dropbox.com/s/rl5zm8ahgv30o73/Screen%20Shot%202015-05-14%20at%2016.04.13.png
789: [15:35:19] <swaiba> r3v3rb - I would have asked you that if you had said you'd used it lol
790: [15:35:55] <swaiba> I've done the handcoded using CSVBulkLoader a long time ago
791: [15:35:55] <r3v3rb> where each category needs to create a Category DO and each Bike creates a separate Bike DO then each product in the list creates a Product DO and associates itself in each of the other two DO's
792: [15:36:33] <swaiba> and I'm just coming to the point where ppl are moaning about the current import export which is entirely coded with PHPExcel to setup a system from cold
793: [15:36:34] <r3v3rb> the ‘x’ in each product/bike defines the many_many and the category is a straight has_one
794: [15:36:47] <swaiba> so am well custious the power of customization in that module
795: [15:37:25] <r3v3rb> swaiba: don’t forget to take a look at PHPLeague CSV module, kinglozzer reminded me of it
796: [15:37:52] <r3v3rb> its not a ss module but a nice library for manipulating csv imports
797: [15:38:01] <swaiba> sure... url?
798: [15:38:02] * swaiba quit (Remote host closed the connection)
799: [15:38:09] <r3v3rb> google phpleague csv
800: [15:38:29] <r3v3rb> ;) http://csv.thephpleague.com/reading/
801: [15:38:51] <r3v3rb> add’s linq style chaining to csv data
802: [15:39:42] * swaiba has joined #silverstripe
803: [15:39:54] <r3v3rb> arhh http://csv.thephpleague.com/reading/
804: [15:40:00] <r3v3rb> swaiba: ^^
805: [15:40:10] <swaiba> thanks was just checking the logs
806: [15:40:27] <r3v3rb> lol
807: [15:40:50] <r3v3rb> time to get win10 and MAMP beta playing nicely with xdebug/phpstorm again
808: [15:41:48] <swaiba> r3v3rb - btw I only use XAMP on windows
809: [15:42:09] <swaiba> after version three all the others (WAMP, etc) developed strange issues
810: [15:42:25] <r3v3rb> i’ve been alpha/beta testing MAMP Windows for a while now… It appears t
811: [15:42:47] <r3v3rb> to be an issue with projects being synced between osx and windows though
812: [16:14:24] * kinglozzer quit ()
813: [16:22:42] * kinglozzer has joined #silverstripe
814: [16:22:58] * UndefinedOffset quit (Quit: Leaving.)
815: [16:27:46] * kinglozzer quit ()
816: [16:27:48] * sealan quit (Remote host closed the connection)
817: [16:29:08] * sealan has joined #silverstripe
818: [16:40:17] * swaiba quit (Remote host closed the connection)
819: [16:40:18] * UndefinedOffset has joined #silverstripe
820: [16:41:44] * wmk quit (Ping timeout: 258 seconds)
821: [16:59:45] * tmro quit (Ping timeout: 264 seconds)
822: [17:10:18] * tmro has joined #silverstripe
823: [17:24:54] * GioVdK quit (Ping timeout: 265 seconds)
824: [17:27:38] * muskie9 is now known as muskie9_afk
825: [17:47:15] * wmk has joined #silverstripe
826: [17:57:21] * muskie9_afk is now known as muskie9
827: [18:33:00] * joelpittet has joined #silverstripe
828: [18:53:15] * Stomach has joined #silverstripe
829: [19:11:16] * sealan quit (Remote host closed the connection)
830: [19:11:50] * sealan has joined #silverstripe
831: [19:16:07] * sealan quit (Ping timeout: 250 seconds)
832: [19:21:48] * Stomach quit (Quit: zzz)
833: [19:23:09] * sealan has joined #silverstripe
834: [19:38:34] * terryapodaca has left #silverstripe
835: [19:41:24] * sealan quit (Remote host closed the connection)
836: [19:45:30] * sealan has joined #silverstripe
837: [19:47:41] <catcher> How do I access a many_many_extrafield from an object?
838: [19:55:55] * Stomach has joined #silverstripe
839: [19:56:06] <wmk> well, isn't that bound to the single many_many relation object, catcher ?
840: [19:57:06] <catcher> wmk, doesn't seem to be, unless I'm making a mistake.
841: [19:57:34] <catcher> $Object->Relationship()->TheMMEF is no bueno, for example
842: [19:59:04] <wmk> nono
843: [19:59:19] <wmk> $object->Relationship() returns a ManyManyList
844: [19:59:25] <wmk> as it's a many_many relation
845: [19:59:36] <wmk> so it has [0...n] objects
846: [19:59:50] <wmk> now get an item of this list, it should have the extra field applied
847: [20:00:44] <catcher> wmk, you're saying $object->Relationship()->first()->TheMMEF?
848: [20:01:05] <wmk> worth a try ;)
849: [20:01:14] <catcher> What if the object has an actual field with the same name?
850: [20:01:19] <wmk> but it's the extra field for the first element...
851: [20:01:59] * Stomach quit (Quit: zzz)
852: [20:02:08] <wmk> hmm, same name... dunno. gets overwritten? e.g. $SortOrder should be different for many_many and has_many
853: [20:09:23] * sealan quit ()
854: [20:09:42] * Stomach has joined #silverstripe
855: [20:14:31] <catcher> no luck yet, hrm
856: [20:21:14] <wmk> catcher, http://api.silverstripe.org/3.1/class-ManyManyList.html#_getExtraData ???
857: [20:22:14] * UndefinedOffset quit (Quit: Leaving.)
858: [20:23:44] * muskie9 is now known as muskie9_afk
859: [20:26:05] * muskie9_afk is now known as muskie9
860: [20:29:58] <catcher> wmk, I need to set, but fortunately, this: http://api.silverstripe.org/3.1/source-class-ManyManyList.html#184
861: [20:30:34] <catcher> manipulations & whatnot
862: [20:31:08] <wmk> catcher, oh, set... you asked for access, which i translated to read
863: [20:31:24] <catcher> I was unclear, expecting parallel getter & setter
864: [20:31:43] <catcher> wmk, thanks for the feedback though
865: [20:31:56] <wmk> hmm, not
866: [20:32:09] <wmk> it's a list, so you can have n items
867: [20:32:20] <wmk> but fine we found a solution ;)
868: [20:38:02] * zippy has joined #silverstripe
869: [20:38:10] * zippy quit (Client Quit)
870: [20:39:51] * UncleCheese has joined #silverstripe
871: [20:58:52] * Ryan-Toast has joined #silverstripe
872: [21:01:12] * DanaeNZ has joined #silverstripe
873: [21:01:49] <DanaeNZ> hey wellington wtf why did you send your weather up here dayum
874: [21:04:44] * catcher quit (Quit: Leaving)
875: [21:21:36] * wmk quit (Ping timeout: 246 seconds)
876: [21:22:50] * terryapodaca has joined #silverstripe
877: [21:30:24] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
878: [21:38:16] <MichalKleiner> morning
879: [21:38:27] <MichalKleiner> is someone here from Finland?
880: [21:38:37] <DanaeNZ> That would be awesome
881: [21:39:06] * babak quit (Quit: Connection closed for inactivity)
882: [21:41:43] * zippy has joined #silverstripe
883: [21:42:19] <DanaeNZ> heyo
884: [21:42:52] <terryapodaca> UserDefinedForms: seems to hit a size limit of some sort
885: [21:43:19] <terryapodaca> and I actually don't have that many fields...
886: [21:43:27] <zippy> >> [00:35:07] <terryapodaca> ughhh...all I want to be able to do is add maxlength and size to the numeric field...since it's still being rendered as type="text"
887: [21:43:37] <zippy> 9 hours later, still playing with userforms :)
888: [21:44:13] <terryapodaca> yes, mainly because I've spent so much time on it already, and I have all the functionality I want/need
889: [21:44:30] <terryapodaca> all I need to do is add 3-4 more fields but it's not letting me
890: [21:44:54] <Ryan-Toast> How would you return a “fake” dataobject to a view? So say I had a DO of “Foo” and I wanted to construct a Foo with values without actually creating it, how would I go about that?
891: [21:45:27] <Ryan-Toast> Normally I would just set an ArrayData, but I need to interact with a <% with Foo %>
892: [21:45:47] <zippy> Ryan-Toast: just create a Foo but don't write
893: [21:45:54] <Ryan-Toast> zippy: Ah, coolio.
894: [21:46:38] <zippy> god damn it. I have a bootstrap row with 3 columns, and need to make the columns all the same height
895: [21:47:07] <zippy> I lie, there is 2 rows of 3 columns, and when it goes to sm it becomes 3 rows of 2 columns, so a little tricky
896: [21:47:11] <zippy> I think I am going to have to use js.
897: [21:50:43] * helenclarko has joined #silverstripe
898: [21:50:46] <Stomach> zippy pretty much yes
899: [21:54:01] * sealan has joined #silverstripe
900: [21:54:13] * UncleCheese has joined #silverstripe
901: [21:55:52] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
902: [21:57:29] * veb has joined #silverstripe
903: [21:59:01] * r3v3rb quit (Quit: r3v3rb)
904: [21:59:50] * Hailwood has joined #silverstripe
905: [22:00:16] <zippy> what a bastard
906: [22:00:31] <Stomach> :P
907: [22:00:34] <Ryan-Toast> zippy: use table-cell
908: [22:00:40] <zippy> Ryan-Toast: can't
909: [22:00:44] <Ryan-Toast> zippy: why?
910: [22:00:54] * willr has joined #silverstripe
911: [22:01:07] <zippy> Because it's 6 boxes over 2 rows
912: [22:01:08] <zippy> 3 columns
913: [22:01:21] <zippy> but when it goes to tablet, it becomes 3 rows of 2
914: [22:01:28] <zippy> but the table-cell makes it all one big line
915: [22:01:41] <Ryan-Toast> zippy: use flex then.
916: [22:02:14] <zippy> it's not <row>X X X</row> <row>X X X</row> it's <row>X X X X X X</row> so there are 'really' 24 columsn in the 12 so it breaks to two lines
917: [22:02:18] <zippy> using flex, same problem
918: [22:02:44] <Ryan-Toast> yeah, use nt-child to break row
919: [22:02:45] <Ryan-Toast> in flex
920: [22:02:50] <Ryan-Toast> nth-child**
921: [22:03:18] <zippy> hm
922: [22:03:39] <terryapodaca> Can we set max_input_vars through _config.php?
923: [22:04:30] <Ryan-Toast> zippy: that work?
924: [22:04:35] <zippy> so sec
925: [22:05:48] * antmas has joined #silverstripe
926: [22:06:10] <antmas> morning all o/
927: [22:06:14] <Ryan-Toast> hai
928: [22:06:27] * micmania1 has joined #silverstripe
929: [22:07:04] * Stomach quit (Quit: zzz)
930: [22:08:12] * Stomach has joined #silverstripe
931: [22:10:31] <zippy> Ryan-Toast: not yet
932: [22:12:07] <Ryan-Toast> zippy: I know CSS is your favorite :)
933: [22:12:52] <zippy> Ryan-Toast: https://www.youtube.com/watch?v=9IhxUHr0wps
934: [22:13:48] <helenclarko> antmas, do you listen to parov stelar?
935: [22:14:10] <antmas> helenclarko: never head of him/her/them
936: [22:15:04] <helenclarko> https://www.youtube.com/watch?v=twqM56f_cVo
937: [22:15:12] <helenclarko> Well now you have!
938: [22:15:31] <zippy> Ryan-Toast: so on every x item, do what
939: [22:15:46] <Ryan-Toast> Well you really should set the columns.
940: [22:15:52] <Ryan-Toast> But you can break the row too.
941: [22:15:57] * sealan quit (Remote host closed the connection)
942: [22:16:03] <Ryan-Toast> Do you want me to draw you up an example?
943: [22:16:17] <zippy> I have set the columns, but with flex it blows out
944: [22:16:20] <antmas> helenclarko: lol, this video
945: [22:16:23] <zippy> since there are more than 12
946: [22:16:30] <Ryan-Toast> blows out?
947: [22:16:47] <helenclarko> Antmas: yea, class!
948: [22:17:08] <zippy> yeap, so like I said in my row I have 6 boxes 4 columsn each = 24 columns in my 12 grid. So naturally they loop into two rows
949: [22:17:14] <zippy> but flex makes it all 1 big long row
950: [22:17:23] * babak has joined #silverstripe
951: [22:17:24] <Ryan-Toast> zippy: can you screenshot, and draw a picture of what you want to achieve?
952: [22:17:29] <helenclarko> Antmas: https://www.youtube.com/watch?v=Eco4z98nIQY ENJOY! Thats all I have to show you this morning haha.
953: [22:17:35] <antmas> I can dance like that, but it usually involves moments when a wasp/bee flies into the car when I'm driving
954: [22:18:34] <helenclarko> Me too, but it looks more like a seizure up close.
955: [22:19:09] <zippy> I can't split to two <rows> because when I go to tablet I want it to go to two columns of 3 rows
956: [22:19:38] <zippy> Ryan-Toast: how you break the row?
957: [22:19:50] <zippy> I can't seem to do a <div class="clearfix"> in there
958: [22:20:15] <zippy> gives no fcusk
959: [22:22:02] <Ryan-Toast> zippy: give me a second
960: [22:22:18] * Azure quit (Read error: Connection reset by peer)
961: [22:22:40] <antmas> anyone know a command to search for text within files in unix?
962: [22:23:01] * Azure has joined #silverstripe
963: [22:23:01] <DanaeNZ> grep init?
964: [22:23:08] <antmas> need to find any references of like <thislineoftext> in any files
965: [22:23:16] <DanaeNZ> oh any file
966: [22:23:20] <antmas> DanaeNZ: yeah, I know it's something like that
967: [22:23:55] <zippy> grep 'foo' . -R
968: [22:24:19] <zippy> grep -i 'no case sensetive' . -R
969: [22:24:33] <MichalKleiner> usually I go grep -Rni 'text' .
970: [22:24:35] <zippy> grep -i --include *.php 'no case sensetive' . -R
971: [22:24:39] <antmas> :O
972: [22:24:43] <antmas> ooh things to try
973: [22:24:53] <zippy> or is it include=
974: [22:25:03] <antmas> trying to figure out where the fuck the xml fields are for this DPS payment handoff
975: [22:25:06] <antmas> in ruby...
976: [22:26:58] <antmas> MichalKleiner: trying you're first
977: [22:27:04] <Ryan-Toast> zippy: http://codepen.io/anon/pen/MwyZba
978: [22:27:05] <antmas> taking some time :P
979: [22:29:30] <zippy> mmm that feels very close
980: [22:29:36] <zippy> antmas: can just include xml files
981: [22:31:14] <Ryan-Toast> zippy: add zippy: example of matching the heights: http://codepen.io/anon/pen/MwyZba
982: [22:32:11] <zippy> Ryan-Toast: it's so close, just got a little spill over issue.... but be something else, very close
983: [22:32:18] <zippy> Ryan-Toast: your in welly aren't you?
984: [22:32:35] <Ryan-Toast> zippy: Auckland.
985: [22:33:27] <Ryan-Toast> zippy: What’s the spillover issue?
986: [22:33:56] <zippy> Ryan-Toast: I am using bootstrap, so using <row> and <col-xx> etc, and my first two the 3rd item is dropping down
987: [22:34:02] <zippy> I just checking if I left in that nth child stuff
988: [22:34:14] <Ryan-Toast> zippy: set your floats to none
989: [22:34:17] <zippy> the second row is perfect
990: [22:34:19] <Ryan-Toast> for the columns.
991: [22:34:36] <Ryan-Toast> and remove the negative margin on the .row
992: [22:34:49] <Ryan-Toast> Should be good after that.
993: [22:35:02] <zippy> Ryan-Toast: nope
994: [22:35:08] <Ryan-Toast> zippy: Screenshot?
995: [22:35:11] <zippy> and the second row is good, just the first for some reason
996: [22:42:09] * mahfuz has joined #silverstripe
997: [22:46:25] * Azure quit (Remote host closed the connection)
998: [22:52:21] * Azure has joined #silverstripe
999: [23:07:41] * terryapodaca quit (Quit: Leaving.)
1000: [23:10:29] <Ryan-Toast> Can you partial cache on siteTree change?
1001: [23:11:14] <simon_w|air> List(SiteTree).Max(LastEdited)
1002: [23:11:28] <simon_w|air> So long as you don't care about deletions
1003: [23:11:49] <DanaeNZ> you can partial cache on whatever you want maaan
1004: [23:11:51] <Ryan-Toast> Chur
1005: [23:11:57] <DanaeNZ> have a look at custom caching keys
1006: [23:12:04] <DanaeNZ> makes the templates tite
1007: [23:12:12] <simon_w|air> If you also care about deletions, you'll want a count as well
1008: [23:12:12] <Ryan-Toast> tiiiite
1009: [23:12:38] <Ryan-Toast> May just use the cacheinclude module
1010: [23:12:40] <DanaeNZ> http://i.imgur.com/IB0MCFa.gif
1011: [23:12:59] <Ryan-Toast> DanaeNZ: http://i.imgur.com/dPQel.gif
1012: [23:13:28] <simon_w|air> Even the new MacBook needs more key movement than that to type
1013: [23:13:42] <zippy> most unrealistic gif ever
1014: [23:13:55] <DanaeNZ> hahahaha
1015: [23:14:16] <Ryan-Toast> zippy:http://i.imgur.com/3sNPQvV.gif
1016: [23:14:24] <Ryan-Toast> http://i.imgur.com/3sNPQvV.gif
1017: [23:14:33] <zippy> it's not yet 3pm!
1018: [23:14:39] <Ryan-Toast> I KNOW
1019: [23:14:54] <simon_w|air> It's 3pm somewhere!
1020: [23:14:59] <MichalKleiner> anyone using Moom on Mac to move windows around? atm I have BetterTouchTool but seems not to have extend keyboard support
1021: [23:15:02] * Colin[pi] has joined #silverstripe
1022: [23:15:05] <DanaeNZ> https://thechive.files.wordpress.com/2013/01/gifs_201.gif
1023: [23:15:13] <Colin[pi]> moin moin
1024: [23:15:45] * simon_w|air still has no idea what https://www.fedex.com/apps/fedextrack/?action=track&tracknumbers=631670956977&cntry_code=us&language=english&clienttype=ivother is
1025: [23:15:48] <Ryan-Toast> Hello Colin. If that infact is your real name.
1026: [23:15:55] <simon_w|air> I'll probably find out today...
1027: [23:16:04] <Colin[pi]> Ryan-Toast: only on certain days
1028: [23:16:05] <DanaeNZ> @Ryan-Toast here’s you imgur link fine then http://i.imgur.com/h6PXrBa.gif
1029: [23:16:07] <zippy> MichalKleiner: I use http://www.autumnapps.com/breeze/
1030: [23:16:26] <zippy> DanaeNZ: haha
1031: [23:16:28] <Ryan-Toast> zippy: that is amazing.
1032: [23:16:30] * mediabeast has joined #silverstripe
1033: [23:16:38] <simon_w|air> MichalKleiner, just use fullscreen apps :p
1034: [23:16:54] <Ryan-Toast> simon_w: eww, gross. Full screen.
1035: [23:16:56] <Colin[pi]> simon_w|air: like Windows 8
1036: [23:17:00] <MichalKleiner> too big screen for just one app with half empty content
1037: [23:17:10] <DanaeNZ> my screen is like the width of my desk
1038: [23:17:23] <Colin[pi]> DanaeNZ: just one?
1039: [23:17:37] <MichalKleiner> zippy: can you do something else with keyboard than halves and full?
1040: [23:17:38] <DanaeNZ> one desk or one screen? lel
1041: [23:17:51] <zippy> do whatever you want
1042: [23:17:59] <Colin[pi]> DanaeNZ: :D one screen, I couldn't get by without two anymore :O
1043: [23:18:08] <DanaeNZ> it’s a mac
1044: [23:18:14] <zippy> you can position the screen then map that to a binding
1045: [23:18:23] <DanaeNZ> I miss the three screen setup I had at a job a few years ago
1046: [23:18:28] <DanaeNZ> twas glorious
1047: [23:18:39] <Colin[pi]> DanaeNZ: mmm, so sweet
1048: [23:18:39] * spronk2 has joined #silverstripe
1049: [23:18:44] <zippy> MichalKleiner: https://www.dropbox.com/s/t84xe3nfe8a7v04/Screenshot%202015-05-15%2011.18.35.png?dl=0 is mine
1050: [23:18:46] <Colin[pi]> DanaeNZ: like a cockpit
1051: [23:18:50] <mediabeast> Morning!
1052: [23:18:55] <Colin[pi]> mediabeast: o/
1053: [23:18:57] <Ryan-Toast> I just move shiut around so I can see everything at once: http://i.imgur.com/8DxHFcA.jpg
1054: [23:19:00] <Ryan-Toast> shit**
1055: [23:19:00] <DanaeNZ> Colin[pi]: the screens were all the same brand and model too
1056: [23:19:02] <DanaeNZ> Colin[pi]: drools
1057: [23:19:07] <Colin[pi]> DanaeNZ: the best way
1058: [23:19:24] <DanaeNZ> i still don’t know how to mac tbh
1059: [23:19:29] <zippy> Ryan-Toast: logged in as root eh, bad ass!
1060: [23:19:37] <zippy> winamp? :O
1061: [23:19:37] * Stomach quit (Quit: zzz)
1062: [23:19:49] <Ryan-Toast> zippy: yarp, and yarp
1063: [23:20:01] <mediabeast> Got a question regarding sake on localhost, anyone able to point me in the right direction?
1064: [23:20:03] <zippy> lol
1065: [23:20:06] <Colin[pi]> DanaeNZ: this is me everytime I mac: http://i.imgur.com/Ds7b6CF.jpg
1066: [23:20:08] <MichalKleiner> zippy: ok so you can assign shortcuts to all actions.. good
1067: [23:20:15] <zippy> Ryan-Toast: what is in the _shame.scss :P
1068: [23:20:31] <zippy> is that were most of your scss goes?
1069: [23:20:33] <Ryan-Toast> zippy: http://i.imgur.com/8DxHFcA.jpg
1070: [23:20:36] <zippy> I kid :)
1071: [23:20:39] <Ryan-Toast> zippy:HA, YOU’RE SO FUNNY :P
1072: [23:20:51] <Ryan-Toast> oops, wrong link
1073: [23:21:00] <Ryan-Toast> zippy: https://github.com/Rhym/silverstripe-boilerplate/blob/master/scss/_shame.scss
1074: [23:21:08] <zippy> :)
1075: [23:21:24] <Ryan-Toast> Keeps all your dirtty hacks (if any) in one place, so you can refactor them later
1076: [23:21:32] <zippy> is that a pirated version of photoshop I see
1077: [23:21:37] <Ryan-Toast> No
1078: [23:21:51] <Ryan-Toast> Work comp.
1079: [23:21:54] <zippy> good to see using phpstorm, nice theme
1080: [23:21:57] <Ryan-Toast> So it’s paid for.
1081: [23:22:01] * willr quit (Ping timeout: 272 seconds)
1082: [23:22:13] <Ryan-Toast> I feel your eyes on my setup, zippy.
1083: [23:22:15] <Ryan-Toast> I feel them.
1084: [23:22:21] * UncleChe_ has joined #silverstripe
1085: [23:22:22] <zippy> like a shit hawk
1086: [23:22:27] <zippy> pickled :)
1087: [23:22:29] <Colin[pi]> ( ͡o ͜ʖ ͡o)
1088: [23:22:57] <adrexia> I always feel better about projects that have a _shame.scss file
1089: [23:23:23] * UncleChe_ quit (Client Quit)
1090: [23:23:26] <DanaeNZ> I think all the _shame.scss file needs is some ascii art
1091: [23:23:36] <adrexia> it's like + 5 trsut points
1092: [23:23:39] <adrexia> *trust
1093: [23:23:47] <adrexia> lol
1094: [23:23:48] <Ryan-Toast> http://www.asciifacepalm.com/
1095: [23:24:12] <zippy> :)
1096: [23:24:18] <simon_w|air> * { text-decoration: blink; }
1097: [23:24:40] <mediabeast> atom editor ftw
1098: [23:24:57] * Stomach has joined #silverstripe
1099: [23:25:22] <adrexia> mediabeast, I found it too slow
1100: [23:25:32] <adrexia> but I haven't used it in about a year now
1101: [23:25:34] <simon_w|air> mediabeast, maybe if it wasn't built on top of a piece of crap
1102: [23:25:51] <simon_w|air> Chromium-based is the new Java-based :(
1103: [23:26:34] <mediabeast> yeah it was super slow
1104: [23:26:40] <mediabeast> heaps better now though ;)
1105: [23:27:00] <Colin[pi]> I quite like the latest Komodo Edit
1106: [23:27:08] <Colin[pi]> they've come a long way from the old shitty version
1107: [23:27:15] <zippy> phpstorm or gtfo
1108: [23:27:18] <Colin[pi]> nah
1109: [23:27:21] <mediabeast> 700ms load time, used to be like 3000ms
1110: [23:27:23] <Colin[pi]> I didn't like it tbh
1111: [23:27:26] <Ryan-Toast> PHPStorm is my jam.
1112: [23:27:33] <Ryan-Toast> L2 SSD
1113: [23:27:46] <adrexia> PHPstorm isn't free
1114: [23:27:47] <mediabeast> dreamweaver?
1115: [23:27:47] <adrexia> :P
1116: [23:27:50] <mediabeast> ;)
1117: [23:27:50] <adrexia> lols
1118: [23:28:04] <Ryan-Toast> I don’t mind paying for good products.
1119: [23:28:06] <zippy> adrexia: do you work for free?
1120: [23:28:14] <Ryan-Toast> That are resonably priced.
1121: [23:28:18] <zippy> Ryan-Toast: yap
1122: [23:28:19] <adrexia> Ryan-Toast, neither but...
1123: [23:28:31] <zippy> Colin[pi]: looks intersting..
1124: [23:28:45] <adrexia> zippy - no, but Catalyst is pretty die-hard about open source
1125: [23:28:55] <adrexia> :P
1126: [23:29:11] <MichalKleiner> anyone having this scroll issue with phpstorm? https://youtrack.jetbrains.com/issue/IDEA-131632
1127: [23:29:13] <Ryan-Toast> ReSharper saved my life when I had to do c# biz in my old company, so I’ll happily give JetBrains my money.
1128: [23:29:14] <adrexia> not that I really listen to that.
1129: [23:29:58] <adrexia> but you need to be already pretty invested in something to pay for it. It has to be significantly better than the free and open source options
1130: [23:30:00] <zippy> MichalKleiner: nop
1131: [23:30:16] <zippy> Colin[pi]: I will have to have a look, chairs
1132: [23:30:40] <DanaeNZ> @Ryan-Toast ReSharper YEeesss
1133: [23:31:01] <adrexia> espiacially when the cost is > $100
1134: [23:31:43] <Colin[pi]> zippy: I like it, the snippets are so cool, makes for fast coding
1135: [23:32:02] <zippy> phpstorm does snippets (live templates) and allow for some pretty sweet things
1136: [23:32:09] <Colin[pi]> zippy: am tempted to get the IDE version for inbuilt VCS and other stuff
1137: [23:32:11] <zippy> I will have tosee
1138: [23:32:30] <zippy> I've never found a program that does inbuilt vcs well, I always go to the command line
1139: [23:32:35] <zippy> *ide
1140: [23:37:06] <adrexia> yeah, I have actually been thinking about getting a license to be honest ;)
1141: [23:37:23] <adrexia> but if it turns out I don't like it it'll jsut be a waste of money
1142: [23:37:28] <Colin[pi]> adrexia: for which?
1143: [23:37:36] <adrexia> phpstorm
1144: [23:37:41] <Colin[pi]> oh
1145: [23:38:29] <adrexia> I haven't used komodo edit in years
1146: [23:38:44] <adrexia> but it has a bradning issue - I associate it with windows :P
1147: [23:39:01] <Colin[pi]> :P
1148: [23:39:14] <Colin[pi]> it has improved a lot, used to be slow, now it's quite fast
1149: [23:39:24] * adrexia nods
1150: [23:39:26] <Colin[pi]> btw wasn't komodo originally a Linux prog?
1151: [23:39:42] <adrexia> everything I deviate from sublime I always come back.
1152: [23:39:52] <adrexia> quite likely
1153: [23:39:55] <Colin[pi]> yeah tbh stick with what works for you
1154: [23:39:57] <adrexia> but i first used it on windows
1155: [23:40:05] <DanaeNZ> +1 for Live Templates omg
1156: [23:40:12] <adrexia> yeah, but sublime isn't aging well
1157: [23:40:19] <adrexia> I want soemthing more like Atom
1158: [23:40:32] <adrexia> or brackets
1159: [23:40:50] <adrexia> but fast
1160: [23:41:03] <Colin[pi]> brackets is not too bad
1161: [23:41:30] <adrexia> was too slow when I tried it
1162: [23:42:00] <adrexia> I tend to have all the things open, and projects with hundreds of files, and it really didn't ciope with taht
1163: [23:42:29] <Colin[pi]> lol
1164: [23:42:48] <Colin[pi]> yeah when it takes me about a minute to scroll to the other end of my tabs, it's time to close some tabs
1165: [23:43:15] <adrexia> lol
1166: [23:43:39] <adrexia> I might try atom again
1167: [23:45:43] * UncleCheese quit (Quit: Textual IRC Client: www.textualapp.com)
1168: [23:46:06] * UncleCheese has joined #silverstripe
1169: [23:47:03] * Cheddam has joined #silverstripe
1170: [23:52:28] * mediabeast quit (Quit: Page closed)

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