#silverstripe IRC Log

IRC log for 17 February 2014

All timestamps are in UTC.

1: [00:00:13] <Bollig|DesignCty> Colin[pi]: post is certainly more professional, but will require an ssl cert and more work on your part. So what's the budget like?
2: [00:00:44] <zippy__> Will you need SSl on your site if you are posting to a SSL site? I don't think you do
3: [00:00:44] <Colin[pi]> Bollig: it'll be fine
4: [00:00:57] <zippy__> mind you, people wont enter their cc details in a site with no https
5: [00:01:07] <Colin[pi]> zippy: I need it for both
6: [00:01:15] <antmas> Foxdie: ss version?
7: [00:01:18] <Colin[pi]> because if it's direct posting, will need because they enter on client site
8: [00:01:40] <Foxdie> zippy__: You'd *hope* they don't, there are a few "special" folk who don't check for HTTPS nor a valid SSL ;)
9: [00:01:41] <Colin[pi]> if it's a redirect, I don't technically need it, but when the bank site is finished and it redirects back, if there's no SSL, some browsers complain
10: [00:01:53] <Foxdie> antmas: According to the git log, they just upgraded to v2.4
11: [00:01:56] <Colin[pi]> *cough*firefox*cough*
12: [00:02:26] <antmas> Foxdie: from 2.3?
13: [00:02:31] <Foxdie> And yes I'm aware there's 3.x.x out as per the topic
14: [00:02:36] <Foxdie> I'm not sure what it was before
15: [00:03:11] <zippy__> UncleCheese: hey :)
16: [00:03:22] <UncleCheese> hi
17: [00:03:22] <Foxdie> I dare say these devs are pretty competent, they've been working with SS for a couple of years, I think this is likely to be a schoolboy error someplace, someone doing something hastily because it was the end of the work day
18: [00:03:45] <zippy__> UncleCheese: Silversmith sure is hungry…! Fatal error: Allowed memory size of 746586112 bytes exhausted
19: [00:04:02] <zippy__> trying to init the example project with ss 3.1.2 :)
20: [00:04:04] <UncleCheese> yeah it's something with osx mavericks
21: [00:04:12] <zippy__> Im not on mavericks
22: [00:04:14] <UncleCheese> boo
23: [00:04:26] <zippy__> but am using php 5.4
24: [00:07:04] <antmas> Foxdie: so when you run a dev/build, does it complete without error?
25: [00:07:20] <Foxdie> Yep
26: [00:07:31] <Foxdie> I was reusing a previous example though from the bash history
27: [00:08:06] <Foxdie> 2php path/to/sapphire/cli-script.php dev/build env=live flush=all"
28: [00:08:17] <Foxdie> s/2php/"php
29: [00:10:37] * Liquide has joined #silverstripe
30: [00:14:05] <Colin[pi]> this example markup from the bank integration guide does not fill me with confidence: http://i.imgur.com/6MZ5q6F.png
31: [00:19:51] * k_fish_ has joined #silverstripe
32: [00:19:58] * k_fish quit (Read error: Connection reset by peer)
33: [00:25:26] * OxFF1 has joined #silverstripe
34: [00:27:41] * DesignerX has joined #silverstripe
35: [00:30:55] * UncleCheese quit (Quit: UncleCheese)
36: [00:36:19] <zippy__> Ryan-Toast: Looks like I've convincied this dude to drop the two themed mobile / non mobile setup, and go with media queries
37: [00:36:42] <Ryan-Toast> zippy__: Awww yiss.
38: [00:37:24] <Colin[pi]> ugh who would do them separate these days?
39: [00:37:31] <zippy__> Ryan-Toast: he had an issue where a form wasn't showing on the mobile view, and most of his traffic was mobile….. missed out on a ton of form submits
40: [00:37:44] <Ryan-Toast> zippy__: Oh, man. So dumb.
41: [00:37:49] <zippy__> Colin[pi]: indians
42: [00:38:49] <zippy__> sorry, shouldn't say that
43: [00:39:03] <Colin[pi]> I know what you mean though :)
44: [00:39:53] * Foxdie has left #silverstripe
45: [00:44:35] <Bollig|DesignCty> silly question, but what happened to the meta title tag in the CMS? I know the keywords tag was removed, but I thought description nd title were still included? UNless I just need more coffee...
46: [00:59:07] <ss23> antmas: I already said it's not :O
47: [01:01:01] * Stomach has joined #silverstripe
48: [01:01:44] <Colin[pi]> dammit simon_w what did you DO? http://www.canberratimes.com.au/act-news/fire-at-sydney-building-in-civic-20140217-32utq.html
49: [01:01:50] <antmas> ss23: ah, sorry checked the logs
50: [01:02:54] * UncleCheese has joined #silverstripe
51: [01:04:06] <antmas> that was a bitchin sushi meal
52: [01:04:09] <antmas> I must say
53: [01:07:30] * UncleCheese__ has joined #silverstripe
54: [01:08:34] <Colin[pi]> I wasn't sure about my last sushi meal, something was fishy about it
55: [01:08:43] * UncleCheese__ quit (Client Quit)
56: [01:09:40] <antmas> Colin[pi]: -_-
57: [01:09:42] <antmas> harhar?
58: [01:10:05] <antmas> I never get fish sushi
59: [01:10:08] <antmas> blegh
60: [01:11:10] <antmas> Colin[pi]: I can safely say that True Detective is a top show
61: [01:11:15] <Colin[pi]> nice ;)
62: [01:11:18] <Colin[pi]> I have the first down
63: [01:12:10] <Colin[pi]> will prolly watch tonight
64: [01:12:20] <antmas> Colin[pi]: might want to get a couple
65: [01:12:31] <Colin[pi]> my gf will be the litmus test
66: [01:12:33] <antmas> I've watched up to 3
67: [01:12:42] <antmas> Colin[pi]: :)
68: [01:12:47] <Colin[pi]> if she doesn't fall asleep, it's a good show
69: [01:12:55] <antmas> note, it's not a fast pace show by any means
70: [01:12:59] <antmas> but very, VERY dark
71: [01:15:20] * UncleCheese quit (Quit: UncleCheese)
72: [01:32:06] <Stomach> heh - ./framework/sake: line 108: 4264 Segmentation fault $php $framework/cli-script.php ${*}
73: [01:32:44] * toddmorey quit (Quit: Leaving.)
74: [01:41:50] * zippy__ is pretty impressed by the nz cricketers
75: [01:44:39] * antmas is impressed by the number of workmates watching cricket instead of working
76: [01:45:24] <ss23> #fucksports
77: [01:47:17] <antmas> so now I have to edit Sharepoint's version of tinymce...
78: [01:47:36] * chrisrio quit (Quit: Page closed)
79: [01:48:28] <ss23> ##php always delivers - 14:47:08 < Evilmax> i gave all sudo privileges to www-data (NOPASSWORD): someone has formatted my hd
80: [01:49:27] <antmas> ss23: o.O?
81: [01:50:22] <zippy__> ss23: why are you not at the basin!!
82: [01:50:30] <zippy__> antmas: watching on tv, or cric info?
83: [01:51:02] <ss23> zippy__: Why would I be?!
84: [01:51:08] <ss23> zippy__: As I said! #fucksports
85: [01:53:10] <Ryan-Toast> ss23: Stop liking things I don't like.
86: [01:53:16] <ss23> ^^^^
87: [01:53:18] <ss23> Ryan-Toast gets it
88: [01:53:18] <ss23> :D
89: [01:53:19] <antmas> zippy__: cric info
90: [01:53:26] <Ryan-Toast> ss23: :P
91: [01:53:38] <zippy__> antmas: I got a free video stream here...
92: [01:53:43] <ss23> Me too
93: [01:53:46] <Ryan-Toast> Banished comes out tomorrow, motherfuckingyes
94: [01:53:47] <ss23> It's called looking out my window
95: [01:53:55] <ss23> I'm in a massive apartment building looking over the Basin
96: [01:54:02] <ss23> (for certain values of massive, of course)
97: [01:54:03] <antmas> Ryan-Toast: whassat?
98: [01:54:13] <Ryan-Toast> http://www.shiningrocksoftware.com/game/
99: [01:54:16] <antmas> zippy__: link?
100: [01:54:27] <antmas> zippy__: might as well keep workmates happy :P
101: [01:54:41] <zippy__> pm'd
102: [01:54:46] <antmas> tah
103: [01:56:27] <Ryan-Toast> antmas: ^
104: [01:57:26] <antmas> Ryan-Toast: ah I know the one
105: [01:57:29] <antmas> does look cool
106: [01:57:54] <Ryan-Toast> Been watching let's plays with the mrs, she's pretty pumped.
107: [02:01:05] <antmas> can't really play games at the moment, a bit burnt out on them
108: [02:03:32] * toddmorey has joined #silverstripe
109: [02:05:24] <spronk> hmm
110: [02:05:27] <spronk> headphones have not got any further
111: [02:05:36] <spronk> disappointing, i-parcel
112: [02:08:14] * toddmorey quit (Ping timeout: 252 seconds)
113: [02:11:54] * UncleCheese_ has joined #silverstripe
114: [02:15:27] * SightUnseen has joined #silverstripe
115: [02:15:34] * SightUnseen quit (Client Quit)
116: [02:16:40] <antmas> spronk: which HP's did you get?
117: [02:17:50] <Ryan-Toast> I love my new sennheisers
118: [02:18:52] <antmas> Ryan-Toast: which ones?
119: [02:19:19] <Ryan-Toast> antmas: http://en-de.sennheiser.com/audio-headphones-high-end-hd-558
120: [02:19:58] * SightUnseen has joined #silverstripe
121: [02:20:08] * SightUnseen has left #silverstripe
122: [02:26:22] <antmas> Ryan-Toast: noice
123: [02:26:58] <Stomach> Ryan-Toast - I have a set of them
124: [02:27:09] <Ryan-Toast> Stomach: Do you like yours?
125: [02:27:11] <Stomach> you can remove a bit of foam and upgrade them to 598's if you want
126: [02:27:23] <Stomach> yeah, ive had them for 3 years now - they're awesome
127: [02:27:41] <Stomach> they're my everywhere headphones now, i originally bought them for recording
128: [02:27:52] <Ryan-Toast> Stomach: Coolio
129: [02:28:02] <Ryan-Toast> Stomach: they're my robbers-broke-my-old-ones
130: [02:28:08] <Stomach> :\
131: [02:28:09] <Stomach> suck
132: [02:28:30] <Stomach> the only annoying thing is the sound leak on them is quite bad, but they are made for quiet studios so can't really complain
133: [02:29:31] * toddmorey has joined #silverstripe
134: [02:41:51] * toddmorey quit (Quit: Leaving.)
135: [02:42:35] * chrisrio has joined #silverstripe
136: [02:42:50] <chrisrio> how do I add a print CSS to an /admin page, gentlemen.
137: [02:43:18] <chrisrio> Requirements:css (as per usual) is great but that wont set media="print" etc
138: [02:43:45] <chrisrio> NEVERMIND
139: [02:43:45] <chrisrio> ;D
140: [02:44:24] <Colin[pi]> chrisrio: just add it as @media print { }
141: [02:50:34] <zippy__> antmas: see that smoke yesterday? http://www.stuff.co.nz/nelson-mail/news/9730950/Precious-memories-lost-to-flames
142: [02:50:46] <zippy__> that garden hose is going to do fuck all
143: [02:51:00] * toddmorey has joined #silverstripe
144: [02:51:09] <spronk> antmas: pair of AKG Q701s
145: [03:00:44] <zippy__> lol
146: [03:00:56] <zippy__> the Indian wicket keeping is now having a bowl, as nz is that awesome ;-)
147: [03:01:12] <spronk> hahah
148: [03:01:14] <antmas> zippy__: hahaha
149: [03:01:17] <antmas> yeah I saw that
150: [03:01:23] <ss23> ...
151: [03:01:25] <spronk> man
152: [03:01:27] <ss23> having a bowl as in he's smoking pot
153: [03:01:28] <ss23> wait
154: [03:01:30] <ss23> fuck
155: [03:01:31] <spronk> our cricket team has to be the most manic team ever
156: [03:01:39] <ss23> *that* kind of bowl, I see
157: [03:01:56] * toddmorey quit (Quit: Leaving.)
158: [03:02:29] * toddmorey has joined #silverstripe
159: [03:02:35] <zippy__> ss23 a bowl of awesomeness
160: [03:04:50] <antmas> awww yiss, Adobe CC install
161: [03:05:42] <antmas> zippy__: ss23 http://buggyandbuddy.com/wp-content/uploads/2014/01/bowl-balls-2.jpg
162: [03:08:38] * antmas quit (Quit: Page closed)
163: [03:08:58] * antmas has joined #silverstripe
164: [03:09:51] <zippy__> nuts
165: [03:10:23] <antmas> zippy__: you weren't wrong about ads popping up o.O
166: [03:10:33] <antmas> opened in Chrome, BOOM 50 tabs
167: [03:10:41] <zippy__> adblock
168: [03:10:50] <antmas> zippy__: didn't have it for chrome LO
169: [03:10:52] <antmas> :P
170: [03:13:46] * toddmorey quit (Quit: Leaving.)
171: [03:20:02] <Colin[pi]> hmm not much use my code going to the payment gateway if it's a free pass eh
172: [03:23:46] * ajshort has joined #silverstripe
173: [03:25:27] <zippy__> jezus, wife just ran into the house witht eh car
174: [03:25:38] <zippy__> meaty scrape on the side panel now :)
175: [03:26:10] <Colin[pi]> ohhhhh
176: [03:26:12] <Colin[pi]> that sucks
177: [03:26:44] <zippy__> a bit..
178: [03:32:49] <Colin[pi]> how did she manage to do that?
179: [03:34:26] <spronk> Doh
180: [03:36:08] <Ryan-Toast> How can you do a DataObject::get() badged on the parent IDs in a ManyManyList
181: [03:36:20] <Ryan-Toast> based**
182: [03:37:10] <spronk> filter('ParentID', x) ?
183: [03:38:01] <Ryan-Toast> spronk: Can you pass a ManyManyList into that?
184: [03:38:32] <spronk> ...what do you mean?
185: [03:38:35] <spronk> ohh
186: [03:38:35] <spronk> like
187: [03:38:39] <spronk> you ahve a MML with parent IDs
188: [03:38:46] <Ryan-Toast> yeah
189: [03:38:48] <spronk> what exactly is in your manymanylist?
190: [03:38:58] <Ryan-Toast> titles, content etc
191: [03:39:08] <spronk> oh
192: [03:39:08] <spronk> hmm
193: [03:39:09] <spronk> iterate?
194: [03:39:38] <Ryan-Toast> I have data objects that belong to contries.
195: [03:39:43] <Ryan-Toast> countries**
196: [03:39:55] <Ryan-Toast> and I have a page template where you can select all the countries you want to display
197: [03:40:23] <Ryan-Toast> so for each country there are "Jobs" that are children of that country.
198: [03:40:49] <Ryan-Toast> I want my page template that the user has selected which countries to display on that page to loop through all the jobs in those countries.
199: [03:40:55] <spronk> ah yep
200: [03:42:07] <Ryan-Toast> spronk: Any ideas?
201: [03:42:35] <spronk> i'd probably just iterate through the MML to get an array of IDs
202: [03:42:38] <spronk> then do
203: [03:42:48] <Ryan-Toast> That's what I was going to do, but seems messy.
204: [03:42:53] <spronk> jobs::get()->filter('ParentID', $array);
205: [03:43:36] <ajshort> Get the IDs from $manyManyList->column('ID')
206: [03:43:59] <spronk> oo
207: [03:44:26] <ss23> hacked
208: [03:45:07] <Ryan-Toast> Hmm, dataObjects don't seem to have a ParentID
209: [03:45:26] <spronk> well
210: [03:45:30] <spronk> whatever the ID is called in jobs
211: [03:45:41] <spronk> RelationNameID
212: [03:45:43] <spronk> or similar
213: [03:47:03] <Ryan-Toast> * Looks through docs
214: [03:47:13] <Colin[pi]> lol docs
215: [03:48:44] * OxFF1 quit (Quit: Hasta la proxima)
216: [03:48:50] <Ryan-Toast> Relationship is Country > Client
217: [03:49:04] <Ryan-Toast> so there's a Contry_Client row
218: [03:49:26] <spronk> how is Job related to Country?
219: [03:49:35] <Ryan-Toast> with the CountryID, and the ClientID but I can't query that using Client::get()
220: [03:49:43] <Ryan-Toast> I just used job as an example
221: [03:49:52] <Ryan-Toast> was easier to understand tun client.
222: [03:50:20] <Ryan-Toast> Doing this atm: Client::get()->filter('CountryID', $this->Countries()->column('ID'));
223: [03:50:41] <Ryan-Toast> But the CountryID is out of scope
224: [03:52:59] <zippy__> loop through, or just use a where in query
225: [03:53:34] <Ryan-Toast> zippy__: Loop through what?
226: [03:54:38] * willr quit (Quit: willr)
227: [03:54:58] <ajshort> Ryan-Toast, I think instead of CountryID you should use Countries.ID:ExactMatchFilter
228: [03:55:07] <ajshort> or whatever your relationship name is
229: [03:55:51] <Ryan-Toast> ajshort: Oh, wow. Just Country.ID worked :)
230: [03:56:24] <Ryan-Toast> ajshort: Thanks :)
231: [03:56:33] <ajshort> np
232: [03:56:35] <Ryan-Toast> and to zippy, and spronk as well.
233: [03:56:48] <Ryan-Toast> Almost time to get the fuck out of here.
234: [03:57:05] <spronk> bleh.
235: [03:57:12] <spronk> has anyone else been having weird issues wtih ISP caching lately?
236: [03:58:26] <Colin[pi]> neg
237: [04:03:29] * toddmorey has joined #silverstripe
238: [04:03:32] * ajshort quit (Quit: Leaving)
239: [04:04:26] * chillu_23 has joined #silverstripe
240: [04:09:26] * will has joined #silverstripe
241: [04:09:50] * will is now known as Guest75823
242: [04:12:53] * cloph quit (Ping timeout: 248 seconds)
243: [04:12:59] <zippy__> was a nice easy to use slider without 500000000 options. just want slide with dots which is basic
244: [04:13:36] <Colin[pi]> zippy: I use Camera because it's responsive and has enough simple features to keep me happy: http://www.pixedelic.com/plugins/camera/
245: [04:14:09] * cloph_away has joined #silverstripe
246: [04:14:10] <Guest75823> hello! we have a site coming up that will probably have around 3k pageviews/day - just a standard silverstripe content site with the odd elaborate contact form
247: [04:14:24] <Guest75823> what kind of server should we expect to need?
248: [04:14:34] <zippy__> Guest75823: depends
249: [04:14:44] <Colin[pi]> Guest75823, set it up on a VPS and scale as necessary
250: [04:15:16] <zippy__> Guest75823: 3k hits over 12 hours is 4 hits a minute...
251: [04:15:37] <Guest75823> we generally host VPS on site5.com cos their support staff are nice. but they don't offer APC or anything on VPS.
252: [04:15:47] <Guest75823> do you think not having APC is a disaster?
253: [04:15:52] <zippy__> no
254: [04:16:14] <Colin[pi]> APC/xcache will help performance
255: [04:16:40] <Colin[pi]> and how they heck do they not offer it on a vps? that's why I use a vps, because I can install whatever I want
256: [04:16:53] <zippy__> Colin[pi]: that slider hasn't been updated in a year and a half...
257: [04:17:00] <Colin[pi]> zippy: oh noes!
258: [04:17:06] <Colin[pi]> but seriously, it works
259: [04:17:18] <Colin[pi]> that's prolly why, he got it to that point, and was happy :)
260: [04:19:07] <Guest75823> i think its a su_php issue
261: [04:19:08] * Error404NotFound has joined #silverstripe
262: [04:19:36] <Guest75823> oh, and its a managed VPS - you can do what you like with their unmanaged VPS
263: [04:19:43] <Guest75823> but then im the systems administrator
264: [04:19:51] <Guest75823> :( danger
265: [04:20:11] <Colin[pi]> ah k... I use linode for my stuff, self-manangd
266: [04:22:48] <Guest75823> yeah iv'e looked at linode for some rails stuff. they have asia pac servers now too. looks good. rather not manage the server myself though
267: [04:23:27] <Colin[pi]> yeah I host my stuff in Tokyo
268: [04:23:55] <Colin[pi]> it was a pain to set up and configure, but I have a stackscript now, so if I need a new server, I enter some fields and push a button - works well :)
269: [04:27:23] <Guest75823> cool. looking at the silverstripe requirements page. They say "A typical website page on a conservative single CPU machine (e.g., Intel 2Ghz) takes roughly 300ms "
270: [04:27:45] <Guest75823> running on localhost, the page takes around 1.2s
271: [04:27:56] <Guest75823> not for assets, in live mode. no caching
272: [04:28:01] <Guest75823> is that normal?
273: [04:28:07] <Colin[pi]> Guest75823: linux prolly fairs better, but I know that installing the php cache made a HUGE difference on my Windows localhost
274: [04:28:20] <Guest75823> i just *have* to do caching right?
275: [04:28:31] <Colin[pi]> it made a massive improvement
276: [04:28:58] <Colin[pi]> it went from *click* ........................ *click* to *click*click*click*click*click*click*click*
277: [04:29:54] <chrisrio> raging semi for SiteHost
278: [04:29:54] <chrisrio> that is all.
279: [04:29:57] <Guest75823> im on OSX. and turning on APC it actually gets slower
280: [04:30:00] <Guest75823> 1.7s
281: [04:30:18] <Guest75823> hmm. i think im doing something wrong here
282: [04:30:23] <Colin[pi]> lol that shouldn't be
283: [04:32:05] <Guest75823> all im doing is ticking APC and restarting lamp.
284: [04:32:13] <Guest75823> you can see why i don't wanna manage the server
285: [04:32:20] <Colin[pi]> ;)
286: [04:32:22] <Guest75823> mamp rather
287: [04:44:48] <spronk> ughhhh
288: [04:44:51] <spronk> SS3 is soo slow
289: [04:45:03] <Colin[pi]> ;)
290: [04:45:09] <Colin[pi]> yeah it kinda is
291: [04:45:19] <Colin[pi]> and is one reason my custom cms still uses 2.4
292: [04:45:32] <spronk> i cannot fathom the tedium of waiting while editing content on an ss3 site
293: [04:45:37] <spronk> and it's made worse by the ajax partial page things
294: [04:45:43] <Colin[pi]> AJAX ALL THE THINGS
295: [04:46:45] <Colin[pi]> if I'm honest I don't really like what happened width the 3.x CMS :(
296: [04:46:52] <Colin[pi]> but... oh well
297: [04:46:56] <spronk> yeah
298: [04:46:59] <Colin[pi]> I'm going to have to switch eventually
299: [04:50:44] * chillu_23 quit (Quit: chillu_23)
300: [04:51:03] * chrisrio quit (Ping timeout: 245 seconds)
301: [05:03:03] * UncleCheese_ quit (Quit: UncleCheese_)
302: [05:03:52] <Guest75823> every now and again, my site throws an error that it can't find an include.ss
303: [05:03:59] <Guest75823> refreshing the page fixes it.
304: [05:04:08] <Guest75823> but the same error comes back later on about the same template
305: [05:04:15] <Guest75823> whats that all about ?
306: [05:09:19] <Colin[pi]> Guest75823: do a ?flush=all after template changes, but it shouldn't be intermittent
307: [05:09:41] * chillu_23 has joined #silverstripe
308: [05:10:45] <Guest75823> yeah, even with that it comes back
309: [05:10:56] <Guest75823> im wondering if it might be cache location issue
310: [05:23:23] * toddmorey quit (Quit: Leaving.)
311: [05:38:19] * chillu_23 quit (Quit: chillu_23)
312: [05:39:08] * chillu_23 has joined #silverstripe
313: [05:50:41] <Guest75823> i can never get my sites to log to a file
314: [05:50:45] <Guest75823> SS_Log::add_writer(new SS_LogFileWriter('/logs'), SS_Log::WARN, '<=');
315: [05:51:07] <Guest75823> shouldn't that send errors like missing templates to /logs/silverstripe.log
316: [05:51:09] <Guest75823> ?
317: [05:54:12] * toddmorey has joined #silverstripe
318: [05:58:41] * toddmorey quit (Ping timeout: 252 seconds)
319: [06:11:37] * Shrike_Finland has joined #silverstripe
320: [06:23:53] * Robke has joined #silverstripe
321: [06:28:55] * chillu_23 quit (Quit: chillu_23)
322: [06:33:08] * Guest75823 quit (Ping timeout: 245 seconds)
323: [06:55:14] * toddmorey has joined #silverstripe
324: [06:59:21] * toddmorey quit (Ping timeout: 245 seconds)
325: [07:14:21] * zippy__ quit (Ping timeout: 245 seconds)
326: [07:44:26] * ss23 quit (Ping timeout: 246 seconds)
327: [07:45:27] * ss23 has joined #silverstripe
328: [07:56:17] * toddmorey has joined #silverstripe
329: [07:59:45] * SightUnseen has joined #silverstripe
330: [07:59:50] * SightUnseen has left #silverstripe
331: [08:00:41] * toddmorey quit (Ping timeout: 245 seconds)
332: [08:10:13] * Robke quit (Ping timeout: 245 seconds)
333: [08:15:13] * antmas quit (Ping timeout: 245 seconds)
334: [08:24:20] * ARNHOE has joined #silverstripe
335: [08:26:27] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
336: [08:52:21] * zippy__ has joined #silverstripe
337: [08:52:33] <Colin[pi]> api you are bad and you should feel bad
338: [08:55:51] <zippy__> lol
339: [08:56:15] <Colin[pi]> I have this device monitoring api I'm hooking in to, and it's just awful
340: [08:56:19] <Colin[pi]> data all over the place
341: [08:56:25] <zippy__> moar data!
342: [08:56:53] <Colin[pi]> like they almost give you everything you need in one call, butttt no, you'll need another 20 separate calls to get it all
343: [08:57:49] * toddmorey has joined #silverstripe
344: [09:02:16] * toddmorey quit (Ping timeout: 245 seconds)
345: [09:04:00] * kinglozzer has joined #silverstripe
346: [09:12:10] * MrGuits quit (Ping timeout: 252 seconds)
347: [09:15:48] * Guits has joined #silverstripe
348: [09:29:51] <wmk> is firesphere around?
349: [09:35:28] * micmania1 has joined #silverstripe
350: [09:47:55] * UncleCheese has joined #silverstripe
351: [09:48:05] <UncleCheese> kiwis.. who uses powershop?
352: [09:50:01] <ss23> I'm sure you ask this once a week, UncleCheese
353: [09:50:02] <ss23> :O
354: [09:50:09] <UncleCheese> well i want to give someone a credit
355: [09:50:15] <UncleCheese> for referral
356: [09:50:21] <UncleCheese> but i guess i won't
357: [09:58:49] * toddmorey has joined #silverstripe
358: [10:03:34] * toddmorey quit (Ping timeout: 265 seconds)
359: [10:03:42] <zippy__> UncleCheese: Instead of giving me credit, this silverstripe......
360: [10:03:58] <zippy__> I might have to dig into this memory issue ….. soon (tm)
361: [10:04:04] <UncleCheese> hmm?
362: [10:04:12] <zippy__> silversmith rather
363: [10:04:16] <UncleCheese> ohh
364: [10:04:28] <UncleCheese> is it an infinite loop, i wonder?
365: [10:04:31] <UncleCheese> what command are you running?
366: [10:04:37] <zippy__> just the example init
367: [10:05:01] <UncleCheese> using 3.1
368: [10:05:03] <UncleCheese> hmm
369: [10:05:07] <UncleCheese> let me try
370: [10:05:14] <zippy__> 3.1.2 with php 5.4.10
371: [10:08:56] <zippy__> bombs when doing require_once($framework_dir."/core/Core.php"); in the silversmith.php
372: [10:11:02] <zippy__> core/Core.php -- Config::inst()->pushConfigYamlManifest($configManifest);
373: [10:16:17] <UncleCheese> running ok for me so far
374: [10:16:21] <UncleCheese> oh, php 5.4
375: [10:16:23] <UncleCheese> hmm
376: [10:20:53] <UncleCheese> hmm
377: [10:20:55] <UncleCheese> can't replicate it, man
378: [10:21:06] <UncleCheese> php 5.4.24, ss 3.1.2
379: [10:21:20] <zippy__> hm
380: [10:21:24] <UncleCheese> you know what, i get that error a lot, not in SilverSmith, but in SS in general
381: [10:21:30] <UncleCheese> it's an infinite loop in the config
382: [10:21:38] <UncleCheese> and it happens when you change php verions
383: [10:21:42] <zippy__> ah
384: [10:21:45] <zippy__> ya know....
385: [10:21:49] <UncleCheese> can you access the site and run ?flush
386: [10:21:51] <UncleCheese> or
387: [10:22:00] <UncleCheese> well, try that
388: [10:22:05] <zippy__> apache is running php 5.3 - but cli is php 5.4
389: [10:22:07] <zippy__> so
390: [10:22:11] <UncleCheese> oh, right
391: [10:22:12] <UncleCheese> yeah
392: [10:22:19] <UncleCheese> that happens all the time to me
393: [10:22:24] <UncleCheese> do you use brew?
394: [10:23:05] <zippy__> no, I have my cli set to 5.4 on purpose (some cli things using 5.4 features, but have to use php 5.3 in apache as client servers arn't 5.4)
395: [10:23:42] <zippy__> sorry to waste your time
396: [10:24:24] <zippy__> If I had some doge coin, I would send some :)
397: [10:24:26] <zippy__> maybe tomorrow
398: [10:28:57] <zippy__> UncleCheese: Thanks!
399: [10:29:38] <UncleCheese> did you get it to work?
400: [10:38:27] <zippy__> yeap :)
401: [10:39:38] <zippy__> whats the fixtures.txt for btw
402: [10:42:17] * testuser has joined #silverstripe
403: [10:43:03] * prmk has joined #silverstripe
404: [10:51:16] <prmk> How was the weekend folks?
405: [10:59:23] <zippy__> prmk: good, u
406: [10:59:52] * toddmorey has joined #silverstripe
407: [11:04:26] * toddmorey quit (Ping timeout: 260 seconds)
408: [11:05:16] <prmk> zippy__: yeh, was pretty good.
409: [11:05:29] <prmk> bit late for you to be up isn't it zippy__ ?
410: [11:05:45] <zippy__> mmmm
411: [11:05:46] <zippy__> possibly
412: [11:05:54] <zippy__> I do have a day of intense cricket watching to do
413: [11:06:00] <zippy__> UncleCheese: Like the cricket today?
414: [11:06:14] <UncleCheese> didn't go
415: [11:06:24] <UncleCheese> have they managed to close the gap at all?
416: [11:07:02] <ss23> UncleCheese: If you do wanna give someone a credit, maybe wait till tomorrow, when more people are on :O
417: [11:10:14] <UncleCheese> bah, i already signed up
418: [11:13:27] <prmk> UncleCheese: you're into Cricket?
419: [11:13:51] <prmk> why are all the NZ folk still awake?
420: [11:14:06] <prmk> It's after midnight, on a school night! *tsk tsk*
421: [11:14:12] <zippy__> UncleCheese: NZ have a 340 run lead now…
422: [11:14:28] <prmk> zippy__: who play?
423: [11:14:38] <prmk> vs
424: [11:14:44] <zippy__> UncleCheese: Macullum is 19 runs short of 300 - current highest for nz is 299...
425: [11:14:44] <UncleCheese> zippy__: you're joking
426: [11:14:51] * DesignerX quit (Ping timeout: 245 seconds)
427: [11:14:52] <zippy__> prmk: NZ v India
428: [11:14:56] <prmk> oh yeh
429: [11:15:10] <prmk> So Black Caps doing not shit for a change then?
430: [11:15:20] <zippy__> prmk: been there best summer...
431: [11:15:26] <prmk> their
432: [11:15:29] <prmk> best ever?
433: [11:15:41] <zippy__> dunno about ever, but the best I've seen in years
434: [11:16:00] <prmk> zippy__: not hard though right
435: [11:19:20] * Colin[pi] quit (Ping timeout: 252 seconds)
436: [11:28:08] * testuser quit (Ping timeout: 245 seconds)
437: [11:33:00] <micmania1> kinglozzer prmk: You two up for SilverStripe EU meetup?
438: [11:33:19] <kinglozzer> micmania1: Do we know where it'll be?
439: [11:33:49] <micmania1> Probably Germany or Austria
440: [11:34:35] <kinglozzer> Cool, yeah I'm up for it
441: [11:36:49] <prmk> micmania1: yup. details plz
442: [11:37:01] <prmk> please say Newcastle, around May?#
443: [11:37:03] <prmk> :P
444: [11:37:06] <micmania1> There aren't any yet.
445: [11:37:10] <prmk> oh, Germany or Austria
446: [11:37:17] <prmk> well that kinda makes sense I guess.
447: [11:37:23] <prmk> oh, how about Ukraine?
448: [11:37:25] <prmk> I've not been there.
449: [11:37:28] <prmk> :P
450: [11:37:35] <micmania1> ha
451: [11:37:48] <micmania1> I've never been to either Germany or Austria :)
452: [11:37:59] <prmk> I hear shit's really cheap provided you bribe the prime minister at ther right time :P You might not even get a molotov to the face!#
453: [11:38:10] <prmk> micmania1: niether, haha
454: [11:38:18] <kinglozzer> I've done Germany before, Ukraine is a bit of a risk :P
455: [11:38:26] <prmk> live on the wild side :P
456: [11:38:33] <prmk> although, not speaking the language is a thing.
457: [11:38:42] <micmania1> Newcastle played n Ukraine last year. It was cheap apparently.
458: [11:38:50] <micmania1> wey, depends where you go really
459: [11:39:01] <prmk> Poland would be cool, then we could go visit folks like gog.com and party hard.
460: [11:39:12] <prmk> I'm sure we could shimmy that up somehow
461: [11:39:16] <prmk> haha
462: [11:39:31] <prmk> is this a thing you're organising micmania1, or is it a thing that's happeneing that you'll probably attend?
463: [11:39:42] <prmk> conversely, I'm going to Pizza Hut tonight.
464: [11:40:10] <micmania1> Simon (SphereSilver) is organising. I think Zauberfisch may have some input too?
465: [11:40:25] <micmania1> I was just kind of there when it was suggested.
466: [11:41:02] <prmk> oh yeh, sounds good
467: [11:41:17] <prmk> so it'll just be the five of us, unless someone gets those chaps from better brief involved?
468: [11:41:38] <micmania1> well Zauberfisch will bring the Austrians :)
469: [11:41:49] <prmk> there's more than just him?
470: [11:42:00] <micmania1> apparently lol
471: [11:42:16] <micmania1> and Simon will bring the Dutch
472: [11:42:17] <prmk> ooh, we might be able to get ec8or__ and r3v3rb involved.
473: [11:42:25] <micmania1> where are they from?
474: [11:42:26] * UncleCheese quit (Quit: UncleCheese)
475: [11:42:31] <prmk> micmania1: again, I thought he was the only one
476: [11:42:33] <prmk> micmania1: UK
477: [11:42:43] <prmk> well... 'from'.
478: [11:42:58] <prmk> based at least.
479: [11:43:31] <prmk> micmania1: fancy some pizza tonight?#
480: [11:43:38] <prmk> I'm on your side of the river today :>
481: [11:44:00] <micmania1> nah, i've got work to do tonight :(
482: [11:44:16] <wmk> micmania1, kinglozzer meetup sounds good, though i never made it to vienna...
483: [11:44:34] <wmk> only linz one time. have to meet Zauberfisch again ;)
484: [11:44:42] <wmk> and the other folks
485: [11:44:48] <kinglozzer> I've never been to a meetup
486: [11:45:09] <prmk> kinglozzer: yeh, it can be hard when there's a very small number of you.
487: [11:45:12] <kinglozzer> Or actually done any travelling (except holidays when I was younger) so will be good on both counts
488: [11:45:23] <wmk> prmk, yes there are more austrians around here.
489: [11:45:29] <prmk> I'm here to travel, it's the money I'm worried about:<
490: [11:45:35] <kinglozzer> I keep checking the UK meetup group, but I don't think there's been one advertised since like 2012 :(
491: [11:45:39] <prmk> oh, wmk!
492: [11:46:05] <prmk> kinglozzer: I had to travel to Wellington to meet up. Had a blast each time though.
493: [11:46:56] <kinglozzer> prmk: From the UK?!
494: [11:47:00] <kinglozzer> Haha
495: [11:49:05] <micmania1> wmk, I link linz was one of the places suggested.
496: [11:49:31] <wmk> micmania1, sounds really good. that's quite around the corner
497: [11:49:59] <wmk> anyone intersted in world heritage sightseeing... i could organize that
498: [11:52:46] <micmania1> I would be.
499: [11:53:07] <micmania1> Followed by a pub obviously ;)
500: [11:53:32] <kinglozzer> Yeah I would be too
501: [11:56:31] <wmk> well, it's Hallstatt, about 2h away from Linz. Worth a trip ;)
502: [11:58:04] <kinglozzer> 2hrs is nothing, looks like a nice place!
503: [12:01:19] * toddmorey has joined #silverstripe
504: [12:05:10] * zippy__ quit (Quit: zippy__)
505: [12:06:02] * toddmorey quit (Ping timeout: 260 seconds)
506: [12:06:05] <prmk> kinglozzer: no.
507: [12:06:12] <prmk> not from the UK :P
508: [12:06:16] <kinglozzer> :P
509: [12:06:30] <prmk> merely over a strait.
510: [12:06:55] <prmk> Missus keeps wanting to take me to Salzburg
511: [12:06:58] <prmk> berg
512: [12:07:01] <prmk> I never rember
513: [12:07:03] <prmk> remember*
514: [12:07:15] <prmk> I dunno where that is in relation to stuff though
515: [12:32:51] <micmania1> what music shall I listen to today?
516: [12:51:02] <prmk> micmania1: absolute 70s
517: [12:51:54] <prmk> micmania1: wanna grab some pizza tonight?
518: [12:52:11] <prmk> I'm heading to pizza hut
519: [12:52:16] <prmk> to see how shit it is.
520: [12:52:33] <prmk> but I figure for 5 quid why not.
521: [12:56:09] * kk_ has joined #silverstripe
522: [12:56:30] <kk_> hello
523: [12:57:12] <kk_> how to access parent scope in included file?
524: [13:02:19] * toddmorey has joined #silverstripe
525: [13:03:02] <wmk> prmk, Salzburg is about 1h the other direction
526: [13:03:21] <prmk> kk_: don't include files.
527: [13:03:22] <prmk> ever.
528: [13:03:44] <prmk> ss has it's own autoloader.
529: [13:03:56] <prmk> unless you're talking about templates, in which case it doesn't change scope at all.
530: [13:04:11] <prmk> wmk: ah yeh. cool :>
531: [13:04:42] <wmk> prmk, wasn't there template some scope things in 3.1 ??
532: [13:06:31] * toddmorey quit (Ping timeout: 245 seconds)
533: [13:10:18] <kk_> prmk: but than i have a main file that is >400 lines of code..
534: [13:12:28] <wmk> kk_, that's no problem ;)
535: [13:12:54] <wmk> kk_, what do you want to include where? php code, templates...
536: [13:13:33] <kk_> in template file i have a few if statements in this cases i include some files.
537: [13:14:39] <wmk> ok, inside templates you can / should include at least recurring stuff
538: [13:14:54] <wmk> which silverstripe version?
539: [13:20:19] <kk_> ss 3.1 ;-)
540: [13:20:35] <wmk> in 3.1 includes cannot directly access parents scope, but you can pass some variables you need to the include.
541: [13:20:38] <wmk> kk_, see http://doc.silverstripe.org/framework/en/reference/templates#includes
542: [13:24:33] <kk_> thanks.
543: [13:27:25] * UndefinedOffset has joined #silverstripe
544: [13:28:14] <kk_> wmk, is it ok if i pass 4+ params?
545: [13:28:30] <wmk> try it.
546: [13:28:49] <wmk> did you try $Top ?? this was in previous versions.
547: [13:28:56] <wmk> afaik
548: [13:29:59] <kk_> wmk, yes but it does nothing...
549: [13:34:44] <wmk> $Up ?
550: [13:36:34] <kk_> wmk, $Top.Title does work good, but my variables that i gave the template over ->renderWith does not work.
551: [13:38:41] * toddmorey has joined #silverstripe
552: [13:41:01] * Error404NotFound quit (Ping timeout: 265 seconds)
553: [13:46:15] <prmk> I've not done it in a long time, but I'm pretty sure that includes use the same scope as their 'parent'
554: [13:46:31] <prmk> ie, have the same scope as the <% include %> statement that pulls them in
555: [13:46:59] <prmk> there was a bug, but I'm quite sure simon_w patched it about a year ago
556: [13:49:03] <prmk> that said, there may be an issue with up and top or whatnot, as it may push a new scope context (as position:absolute does in CSS with regards to z-index).
557: [13:49:47] <prmk> in which case you'll probably need to figure out a bit of a way around it. It might be a design decision, or it could be an issue.
558: [13:50:11] <prmk> You could raise a thread on the developers mailing list for a more definite answer (and perhaps some deliberation around it).
559: [13:53:08] <prmk> micmania1: http://www.pizzahut.co.uk/Content/themes/Corporate/images/campaign/P2W2_1314/Special5_banner_1170.png
560: [13:53:38] <prmk> do eeeeet
561: [13:54:28] * Error404NotFound has joined #silverstripe
562: [13:57:57] <kk_> prmk, to pass the variables to the include does the thing for me.
563: [14:02:20] * Error404NotFound quit (Read error: Connection reset by peer)
564: [14:08:20] * g4b0_ has joined #silverstripe
565: [14:08:34] <g4b0_> hi all
566: [14:12:10] <prmk> hi g4b0_
567: [14:14:39] <kk_> hello g4b0_
568: [14:16:43] <g4b0_> what do you think about this: https://github.com/silverstripe/silverstripe-framework/issues/2854 ?
569: [14:17:28] * toddmorey quit (Quit: Leaving.)
570: [14:21:43] <kinglozzer> g4b0: There's a $cache parameter for that
571: [14:21:49] <kinglozzer> g4b0_ *
572: [14:22:15] <kinglozzer> Is there any way you can ensure that the $cache parameter is false?
573: [14:22:28] <kinglozzer> Wherever you/something is calling ->obj()
574: [14:22:37] * toddmorey has joined #silverstripe
575: [14:23:35] * Kolin quit (Read error: Operation timed out)
576: [14:23:43] * Kolin has joined #silverstripe
577: [14:23:52] <g4b0_> I saw the $cache param
578: [14:24:29] <g4b0_> but if for any reason $product->Quantity is called anywhere
579: [14:24:46] <g4b0_> without the $cache param
580: [14:25:05] <g4b0_> its value it's cached and it can't be modified
581: [14:25:20] * Shrike_Finland1 has joined #silverstripe
582: [14:25:32] * Shrike_Finland quit (Ping timeout: 265 seconds)
583: [14:26:36] <g4b0_> my code is working for me
584: [14:26:53] <g4b0_> and ensure to have always the right value
585: [14:27:22] <g4b0_> for objects implementing protected $avoidCache = true;
586: [14:27:48] <g4b0_> I relly hope my PR will be accepted...
587: [14:29:15] <kinglozzer> g4b0_: Sure, the PR looks fine to me, I just wonder if there's another way you could avoid the cache
588: [14:29:51] <g4b0_> yep
589: [14:29:56] <kinglozzer> I don't understand the template engine/how it calls ViewableData methods much though :P
590: [14:30:12] <g4b0_> I searched a way all this morning :)
591: [14:30:40] <prmk> kinglozzer: it doesn't call them, it calls intermediary methods which then perform several checks which then blah blah blah up ladder boom result
592: [14:30:48] <prmk> or something
593: [14:31:08] <g4b0_> the problem arise in line 357 of ViewableData.php
594: [14:31:21] <g4b0_> if(!isset($this->objCache[$cacheName])) {
595: [14:31:23] <kinglozzer> Yeah it's a real headache, looking at SSTemplateParser.php makes me want to cry
596: [14:31:49] <g4b0_> once the data is cached there's no way to replace it
597: [14:40:21] * Shrike_Finland1 quit (Quit: Leaving.)
598: [14:53:37] <prmk> kinglozzer: because don't look at parser. Look at parsed.
599: [14:54:40] <kinglozzer> prmk: Yeah I know, just glad I don't have to actually understand the parser :P
600: [15:10:24] <prmk> so, OUTER is an ANSI-92 compatibility thing, and is completely optional.
601: [15:10:51] <prmk> kinglozzer: well the parser is generated, so if you can understand it you're pretty much a computer already.
602: [15:12:33] <kinglozzer> prmk: The uncompiled version is just as bad D:
603: [15:13:13] <kinglozzer> Well, maybe not quite
604: [15:24:19] * SphereSilver has joined #silverstripe
605: [15:25:43] <prmk> kinglozzer: nah I mean you look at the compiled one.
606: [15:25:56] <prmk> you only need to get the statment from where you're looking at
607: [15:26:04] <prmk> just any old variable for the most part
608: [15:26:16] <prmk> it's easy to track from that point
609: [15:26:27] <prmk> $this->obj('varname') pretty much
610: [15:26:29] <prmk> iirc
611: [15:26:46] <prmk> then you get away from parsingness and into logicness
612: [15:29:47] * OxFF1 has joined #silverstripe
613: [15:37:49] * OxFF1 quit (Quit: Hasta la proxima)
614: [15:41:41] * OxFF1 has joined #silverstripe
615: [15:44:33] * toddmorey quit (Quit: Leaving.)
616: [15:53:46] <wmk> argh
617: [15:54:11] <wmk> hey SphereSilver
618: [15:54:18] <SphereSilver> hey wmk
619: [15:54:39] <wmk> the merge was quite fast this noon
620: [15:55:21] <wmk> damn, inside a <$loop> i can get the $MetaTitle and $Content of a page but not call another function of this object
621: [16:13:19] * SphereSilver quit (Ping timeout: 265 seconds)
622: [16:26:28] * OxFF1 has left #silverstripe
623: [16:27:07] * SightUnseen1 has joined #silverstripe
624: [16:27:46] * ARNHOE quit (Ping timeout: 265 seconds)
625: [16:33:12] * kk_ quit (Quit: Page closed)
626: [16:47:55] <g4b0_> bye
627: [16:47:59] * g4b0_ quit (Quit: Sto andando via)
628: [16:59:54] * Shrike_Finland has joined #silverstripe
629: [17:19:56] <prmk> ciao
630: [17:20:05] <prmk> shit, got sick, probably not going to go for pizza @(
631: [17:20:11] <prmk> <gutface>
632: [17:20:18] * prmk quit ()
633: [17:24:11] * kinglozzer quit ()
634: [17:39:03] * ObiWanShanobi has joined #silverstripe
635: [17:57:21] * SphereSilverNL has joined #silverstripe
636: [18:02:46] * ObiWanShanobi quit (Remote host closed the connection)
637: [18:03:32] * ObiWanShanobi has joined #silverstripe
638: [18:04:20] * ObiWanSh_ has joined #silverstripe
639: [18:04:20] * ObiWanShanobi quit (Read error: Connection reset by peer)
640: [18:06:42] * ObiWanSh_ quit (Remote host closed the connection)
641: [18:29:48] * joelpittet has joined #silverstripe
642: [18:33:26] * ObiWanShanobi has joined #silverstripe
643: [18:34:09] * Error404NotFound has joined #silverstripe
644: [18:41:31] * ObiWanShanobi quit (Remote host closed the connection)
645: [18:42:03] * ObiWanShanobi has joined #silverstripe
646: [18:46:29] * ObiWanShanobi quit (Ping timeout: 265 seconds)
647: [18:54:33] * gelignite has joined #silverstripe
648: [19:04:14] * SightUnseen1 has left #silverstripe
649: [19:10:32] * joelpittet quit ()
650: [19:12:45] * camfindlay has joined #silverstripe
651: [19:22:13] * chillu_23 has joined #silverstripe
652: [19:28:26] <SphereSilverNL> Zauberfisch: The list is beginning to creep me out ;)
653: [19:38:47] * Error404NotFound quit (Quit: User guilty of hitting the Big Red X...)
654: [19:38:48] * chillu_23 quit (Quit: chillu_23)
655: [19:41:49] * chillu_23 has joined #silverstripe
656: [19:44:20] <Ryan-Toast> Game of thrones trailer 2: https://www.youtube.com/watch?v=d2ZNaLQD60Y
657: [19:44:22] <Ryan-Toast> siiiick
658: [20:00:00] * zippy__ has joined #silverstripe
659: [20:00:30] <SphereSilverNL> Zauberfisch: you here?
660: [20:00:32] <zippy__> morning
661: [20:00:38] <Ryan-Toast> Morninnnnng
662: [20:00:57] <SphereSilverNL> EVENINGGGGGGGGGG
663: [20:00:59] <SphereSilverNL> :P
664: [20:01:15] <zippy__> Ryan-Toast: Excited?
665: [20:01:20] <Ryan-Toast> zippy__: Fuck yeah.
666: [20:01:33] <zippy__> 11am can't come soon enough eh
667: [20:01:42] <Ryan-Toast> ...what's at 11am?
668: [20:01:54] <zippy__> ...
669: [20:02:17] * k_fish has joined #silverstripe
670: [20:02:26] <Ryan-Toast> zippy__: :3
671: [20:02:28] <zippy__> Macullum needing only 19 more runs for 300! to see if NZ will continue to bat, or will declaire and try and get 10 wickets for a series sweep!
672: [20:02:40] <SphereSilverNL> It's 21:00 here
673: [20:02:49] <Ryan-Toast> zippy__: Oh, cricket :P
674: [20:02:58] <zippy__> maybe declaire at lunch - which will definitly save the series, but not enough time to bowl out india
675: [20:03:09] <zippy__> SphereSilverNL: good evenings
676: [20:03:16] <zippy__> oh to be in wellington atm
677: [20:03:18] <Ryan-Toast> He beat my friend's dad's record.
678: [20:03:25] <Ryan-Toast> for runs or whatever
679: [20:03:33] <zippy__> Your friends dad is...
680: [20:03:44] <Ryan-Toast> Bryan Young
681: [20:03:54] <zippy__> ah :) indeed
682: [20:04:07] <zippy__> he's very close to going to the highest ever
683: [20:04:22] <zippy__> need to cram in work now lol
684: [20:04:53] <zippy__> Got some front end work to do today! :S lots of it
685: [20:05:12] <Ryan-Toast> zippy__: yay, front end
686: [20:05:37] <SphereSilverNL> Have a cookie, breath and don't break your computer zippy__
687: [20:06:08] * guzzlefry has joined #silverstripe
688: [20:07:08] * r3v3rb has joined #silverstripe
689: [20:07:26] <r3v3rb> hi
690: [20:07:40] <guzzlefry> morning
691: [20:07:45] <zippy__> r3v3rb: moring
692: [20:07:51] <r3v3rb> Zauberfisch: SphereSilverNL or anyone else familiar with PHPStorm
693: [20:07:57] <r3v3rb> hi zippy__ guzzlefry
694: [20:07:59] * micmania1 has joined #silverstripe
695: [20:08:04] <SphereSilverNL> It's odd. I think maybe half a year ago, my secondairy browser would be Chrome. Nowadays, it's IE11
696: [20:08:10] <Ryan-Toast> r3v3rb: yeah
697: [20:08:14] <SphereSilverNL> r3v3rb: yep, using it most of the time
698: [20:08:21] <guzzlefry> SphereSilverNL: What's your primary?
699: [20:08:29] <SphereSilverNL> Firefox
700: [20:08:31] <SphereSilverNL> I love Firefox.
701: [20:08:31] <r3v3rb> Ryan-Toast: how the hell do I get js debugging locally
702: [20:08:34] <guzzlefry> me too
703: [20:08:38] <SphereSilverNL> I even paid for Firefox!
704: [20:08:38] <guzzlefry> all the add-ons!
705: [20:08:42] <r3v3rb> it always tries to attach to my remote server
706: [20:08:49] <r3v3rb> SphereSilverNL: me too!
707: [20:08:51] <Ryan-Toast> r3v3rb: No idea, I use jslint for grunt
708: [20:08:59] <guzzlefry> r3v3rb: PHPStorm?
709: [20:09:06] <r3v3rb> did you get your nice email from the CEO
710: [20:09:15] <Ryan-Toast> Can you display a data object on it's own page?
711: [20:09:17] <SphereSilverNL> It's a JetBrains product, and everything from JetBrains, so far, is AWESOME!
712: [20:09:32] <SphereSilverNL> I got an e-mail from Mozilla, and a t-shirt :D
713: [20:09:34] <r3v3rb> SphereSilverNL: apart from not being able to debug js locally
714: [20:09:42] <r3v3rb> t-shirt! b'stard
715: [20:09:50] <Ryan-Toast> I used to use ReSharper which is a Jetbrains product, fucking amaze.
716: [20:09:52] * guzzlefry wonders if we're talking about PHPStorm.
717: [20:10:05] <SphereSilverNL> I'm actually wearing the t-shirt right now :D
718: [20:10:09] <zippy__> Ryan-Toast: A data object doesn't have a page of it's own - doesn't extend page. What you COULD do is a custom controller, and pass in an ID to pull out an object.
719: [20:10:12] <r3v3rb> Ryan-Toast: resharper saved one of my apps from obvlivion from Unity
720: [20:10:29] <Ryan-Toast> zippy__: Do you know of a code example?
721: [20:10:32] <zippy__> Ryan-Toast: http://doc.silverstripe.org/framework/en/topics/controller
722: [20:10:46] * chillu_23 quit (Quit: chillu_23)
723: [20:10:48] <SphereSilverNL> r3v3rb: What do you mean "not able to debug locally"? That's the only thing FireBug is good at. (although, currently, it causes a few crashes here and there)
724: [20:11:00] <zippy__> people still use Firefox?
725: [20:11:00] <r3v3rb> i lost all the source code of the latest version and resharper'd the 'hacked' c# from the current apk!
726: [20:11:26] <r3v3rb> SphereSilverNL: sure firebug is there but PHPStorm also has a built in JS debugger which I wanted to try
727: [20:11:28] <Ryan-Toast> zippy__: Making jobs, and there could be thousands which as a page would be a nightmare in SiteTree, so I'm going to make them dataObjects
728: [20:11:45] <Ryan-Toast> so you can filter etc.
729: [20:11:52] <guzzlefry> r3v3rb: There's a blog post or something on how to do that.
730: [20:11:55] <Ryan-Toast> but they need to have their own page :P
731: [20:12:06] <SphereSilverNL> Haven't tried JS-debugging yet, since I hardly ever need it.
732: [20:12:09] <r3v3rb> guzzlefry: where o where art though
733: [20:12:14] <r3v3rb> SphereSilverNL: :P
734: [20:12:18] <guzzlefry> r3v3rb: https://www.jetbrains.com/phpstorm/webhelp/running-and-debugging-javascript.html
735: [20:12:39] <SphereSilverNL> r3v3rb: https://scontent-a-ams.xx.fbcdn.net/hphotos-ash2/t31/288282_339897786089736_1999587764_o.jpg
736: [20:12:42] <zippy__> Yeap good plan… what you could do is have a JobsPage - and attach all your jobs as DataObjects to that page (has many). so on /jobs you can list/filter the data objects, and you might have a custom action, /jobs/add and also /jobs/1 - which gets the job with id 1
737: [20:12:46] <zippy__> so, either or
738: [20:12:51] <SphereSilverNL> I collect geeky/funny t-shirts :P
739: [20:13:15] <guzzlefry> So you have to install some JetBrains plugins for Firefox or Chrome.
740: [20:13:18] <Ryan-Toast> zippy__: Yeah that's what I was thinking :) Trawling through the blog now sot find that article.
741: [20:13:21] <zippy__> you could still use Model Admin anyway so no need to have a has many on a jobs page
742: [20:13:42] <r3v3rb> ewww, sounds mucky : During a debugging session, PhpStorm considers any injected JavaScript code in a Web page opened in the browser as subject for debugging. This means that you cannot use the same instance of a browser for browsing and for debugging simultaneously.
743: [20:13:45] <SphereSilverNL> guzzlefry: probably, how else would the browser even know the IDE exists, let alone is actually active?
744: [20:13:45] * UncleCheese_ has joined #silverstripe
745: [20:13:46] <Ryan-Toast> zippy__: That's what I have :)
746: [20:14:10] <r3v3rb> SphereSilverNL: nice collection
747: [20:14:16] <Ryan-Toast> zippy__: Found this: https://github.com/arambalakjian/DataObject-as-Page
748: [20:14:21] <r3v3rb> guzzlefry: i have the plugins installed
749: [20:14:33] <SphereSilverNL> r3v3rb: That's 4 out of 20+ t-shirts ;)
750: [20:14:51] <SphereSilverNL> I just chose this one, because it has the Firefox-shirt ;)
751: [20:15:00] <r3v3rb> when I right click 'debug' or run -> debug - I get PHPStorm trying to open the htm on the remote site not the local server
752: [20:15:15] <SphereSilverNL> Your server-settings are incorrect than
753: [20:15:21] <r3v3rb> SphereSilverNL: probs
754: [20:15:33] <zippy__> Ryan-Toast: Cool
755: [20:15:36] <SphereSilverNL> Rough guess, it's under run-configurations
756: [20:15:40] <r3v3rb> SphereSilverNL: although its working fine for PHP
757: [20:18:03] <r3v3rb> console shows output but the breakpoints do nothing...
758: [20:18:23] <r3v3rb> for js that it, not php - that works perfectly, console & bp's
759: [20:18:39] <SphereSilverNL> I'm not really into the javascript debugger.... I usually only use FireBug, so... at this point, I wouldn't know ;)
760: [20:19:26] <r3v3rb> SphereSilverNL: np
761: [20:26:00] * chillu_23 has joined #silverstripe
762: [20:26:25] <Ryan-Toast> I just use the console :P
763: [20:27:59] <camfindlay> SpereSilverNL (it's Simon right?) ~ have just emailed you re getting a domain for your EU meetup
764: [20:28:21] <camfindlay> crap SphereSilverML i mean
765: [20:28:38] <camfindlay> bollocks
766: [20:28:49] <camfindlay> SphereSilverNL
767: [20:28:58] <camfindlay> :)
768: [20:30:06] <SphereSilverNL> Got your e-mail, you guys rock!
769: [20:30:45] <SphereSilverNL> I'll get in touch when I have the DNS setup. Thanks a lot!
770: [20:32:13] <r3v3rb> camfindlay: tab-autocomplete is way safer than typing names ;) ::DD
771: [20:32:43] <camfindlay> yeah... I need more coffee too
772: [20:33:47] <r3v3rb> client got their designer to re-design this site I'm working on 1 week after starting the responsive templates... Today I received a 44pp technical spec and colour breakdown... :\ site has to be live by 17th March
773: [20:34:33] <Ryan-Toast> zippy__: That module works a treat.
774: [20:34:40] <r3v3rb> and they haven't finished yet they tell me today!
775: [20:34:44] <zippy__> r3v3rb: front end is easy isn't it :)
776: [20:34:50] <Ryan-Toast> zippy__: I don't usually like using modules though.
777: [20:34:55] <zippy__> Ryan-Toast: Cool, will have to keep that in mind
778: [20:35:04] <r3v3rb> zippy__: I hate front-end
779: [20:35:13] <Ryan-Toast> r3v3rb: Hiiisssss
780: [20:35:26] <zippy__> Ryan-Toast: Ditto :) I probably would of gone with a JobsPage to list the jobs, and have a action to display a selected job passed in via ID param
781: [20:35:52] <r3v3rb> especially when a designer has been allowed to do basically anything he likes without a thought to responsive design nor CMS integration
782: [20:35:54] <Ryan-Toast> zippy__: Yeah, but then there's a massive issue around pagination, and sorting etc.
783: [20:36:09] <zippy__> true turee
784: [20:36:13] <Ryan-Toast> zippy__: Perhaps on a larger project, but this one shouldn't have too much effort put into it.
785: [20:36:15] <r3v3rb> Ryan-Toast: he didn't even know it was meant to be responsive until I mentioned it
786: [20:36:25] <Ryan-Toast> r3v3rb: Oh wow.
787: [20:36:28] <r3v3rb> arrrrrrrghhhhhhhhhhh
788: [20:36:30] <r3v3rb> :D
789: [20:36:52] <r3v3rb> so he had columns here, rows there and not a freaking fold anywhere
790: [20:37:04] <Ryan-Toast> r3v3rb: That's why I make wireframes, so the designers have to work within the cmd limits :P
791: [20:37:07] <Ryan-Toast> cms**
792: [20:37:17] <r3v3rb> I spent all weekend awake - freaking out
793: [20:37:25] <Ryan-Toast> r3v3rb: Lol, I hate that!
794: [20:37:40] <Ryan-Toast> I have that with a massive, and I mean massive project that I'm supposed to do within a month.
795: [20:37:48] <Ryan-Toast> it has so much shit they need.
796: [20:37:49] <r3v3rb> so I phoned him today ( without client knowing ) to tell him he has to change XYZ in his plans or it just wont work
797: [20:38:03] <r3v3rb> Ryan-Toast: join 'd' club
798: [20:38:27] * r3v3rb had one sad designer on the phone :( hahaha
799: [20:39:15] <micmania1> SphereSilverNL - this moved along quickly...
800: [20:39:19] <Ryan-Toast> r3v3rb: :P
801: [20:39:29] <Ryan-Toast> Shit like that you really need to have person to person meetings.
802: [20:39:43] <Ryan-Toast> Measure twice, bvut once man.
803: [20:39:46] <Ryan-Toast> cut**
804: [20:40:07] <r3v3rb> down to the last three elements on the homepage template now, then its 'responsivising' that then on to page template one of about ten or twelve
805: [20:40:34] <SphereSilverNL> micmania1: I'm a bit overwelmed
806: [20:40:35] <Ryan-Toast> r3v3rb: :P
807: [20:40:46] * willr has joined #silverstripe
808: [20:40:53] <r3v3rb> Ryan-Toast: he has designed the site navigation three times and after the call today will be his fourth - he is now going to use one I pointed him at... haha
809: [20:41:09] <micmania1> SphereSilverNL: I asked Pyro and kinglozzer today. Both on board :)
810: [20:41:45] <r3v3rb> because he had split the menu into about 4 parts and each part was in a separate area in the header, it was a 'f*cking' mess
811: [20:41:48] <micmania1> wmk was interested too :D
812: [20:42:06] <r3v3rb> micmania1: SphereSilverNL what gives?
813: [20:42:10] <SphereSilverNL> Yep. I know, my inbox is a bit too small :P
814: [20:42:11] <r3v3rb> meetup?
815: [20:42:18] <SphereSilverNL> What gives what r3v3rb ?
816: [20:42:19] <micmania1> Silverstripe EU. Yep. Up for it?
817: [20:42:24] <r3v3rb> where ?
818: [20:42:34] <micmania1> That's the $1,000,000 question
819: [20:42:35] <SphereSilverNL> Most probably, Linz, Austria
820: [20:42:35] <r3v3rb> Hamsterdam?
821: [20:42:48] <r3v3rb> Zauberfisch: territory no?
822: [20:43:20] <micmania1> yes
823: [20:43:23] <wmk> ?
824: [20:43:29] * r3v3rb goes check flights
825: [20:43:31] <SphereSilverNL> Well, my employer does somewhat has an office right in the middle of the "red" zone.... :P You interested r3v3rb ?
826: [20:43:42] <r3v3rb> lol, always
827: [20:43:48] <r3v3rb> what date roughly?
828: [20:44:05] <micmania1> that's the $2,000,000 question.
829: [20:44:07] <r3v3rb> i'm moving house end of feb - wife wouldn't be too impressed if I jet off
830: [20:44:12] <SphereSilverNL> Preferred target is may/june, but if we can't make it, it'll be after the summer, September/october
831: [20:44:16] <wmk> SphereSilverNL, any infos for eu meetup? date?
832: [20:44:35] <SphereSilverNL> wmk: One step ahead of you :P
833: [20:44:42] <micmania1> Isn't the World Cup in June? That could be interesting :D
834: [20:45:14] <r3v3rb> closest airport to linz is?
835: [20:45:17] <wmk> SphereSilverNL, what date?
836: [20:45:22] <r3v3rb> vienna?
837: [20:45:27] <wmk> r3v3rb, Linz, Salzburg, Vienna
838: [20:45:28] <SphereSilverNL> No date set yet WMK
839: [20:45:48] <wmk> r3v3rb, from where?
840: [20:46:09] <SphereSilverNL> Depends on the airport
841: [20:46:22] <r3v3rb> london gatwick to vienna round trip £130
842: [20:46:26] <r3v3rb> + hotel
843: [20:46:36] <r3v3rb> not too shabby
844: [20:47:10] <SphereSilverNL> Best details available right now: https://public.pad.fsfe.org/p/r.yEzZUvLl9FLcVvwo
845: [20:47:20] <r3v3rb> just need to square it with 'demon' wife
846: [20:47:46] <SphereSilverNL> "To square it"?
847: [20:47:48] <wmk> r3v3rb, ryanair seems to fly stansted - linz
848: [20:47:52] <SphereSilverNL> Haven't heard that term before
849: [20:48:08] <r3v3rb> only prob is may/june i'll be in espana possibly
850: [20:48:22] <SphereSilverNL> Date is not yet confirmed ;)
851: [20:49:17] <r3v3rb> wmk: easyjet go there too and from my nearest airport so bonus
852: [20:50:02] <r3v3rb> lol, I thought a beamer was a bmw too, now i'm guessing a projector!
853: [20:50:30] <SphereSilverNL> It's both. But don't mix them up hanging a BMW on the ceiling and try to drive a beamer at the same time.
854: [20:50:48] <r3v3rb> 'within reason man - were not made of money' LMAO
855: [20:51:08] * antmas has joined #silverstripe
856: [20:51:31] <r3v3rb> SphereSilverNL: do you need hosting for the meetup site?
857: [20:51:43] <r3v3rb> I can offer space on my NL server if that helps?
858: [20:52:22] <SphereSilverNL> r3v3rb: Nah, got that covered. I can use one of the VPS systems I have access to thanks to my job
859: [20:52:36] <r3v3rb> no worries, just thought I'd offer
860: [20:52:47] <SphereSilverNL> Thanks for the offer :)
861: [20:52:55] <SphereSilverNL> But hosting is covered ;)
862: [20:53:04] <r3v3rb> welcome
863: [20:53:25] <SphereSilverNL> Any other sponsoring is welcome though (hint, hint ;) )
864: [20:53:40] <r3v3rb> what do you want a beamer :)
865: [20:53:56] <SphereSilverNL> To make presentations BIIIIIG ;)
866: [20:54:00] <r3v3rb> or I can send you whats left of my hair after this little project
867: [20:54:28] <Ryan-Toast> r3v3rb: Wow. Such navigation design.
868: [20:54:30] <r3v3rb> right, must finish this hp template before sleep time
869: [20:54:32] <SphereSilverNL> You didn't stick your head into a lawnmower, now did you?
870: [20:54:48] <r3v3rb> Ryan-Toast: honestly, it was a nav from hell
871: [20:54:49] <Ryan-Toast> Microsoft coming in and stepping on my toes, ugh go away.
872: [20:54:58] <r3v3rb> SphereSilverNL: just the frontal lobes
873: [20:55:06] <r3v3rb> bbl
874: [20:55:11] <SphereSilverNL> Makes sense
875: [20:55:11] <r3v3rb> well, tomorrow ;)
876: [20:55:25] <wmk> SphereSilverNL, only two days?
877: [20:55:27] <r3v3rb> must finish coding, not chat...
878: [20:55:52] * r3v3rb quit (Quit: r3v3rb)
879: [20:55:52] <Ryan-Toast> r3v3rb: Why not both?
880: [20:57:21] <SphereSilverNL> wmk: Only two days what exactly? I'm working on 4 projects atm... I kinda lost track of all 4 of them :P
881: [20:58:19] <wmk> SphereSilverNL, the EU meetup...
882: [20:58:40] <wmk> why not ask jetbrains for sponsoring?
883: [20:59:00] <SphereSilverNL> Yep, last friday I just said it would be a good idea, and that pad is the result ;)
884: [20:59:21] <SphereSilverNL> Thinking of JetBrains indeed, it's on the list ;)
885: [20:59:35] <wmk> ok
886: [20:59:50] <wmk> at least some devs could come on thursday for pre socializing
887: [21:00:45] * OxFF1 has joined #silverstripe
888: [21:03:35] <SphereSilverNL> wmk: The pre-meeting is ofcourse possible, but I prefer to leave that to the participants. As if organising the whole thing isn't enough work already ;)
889: [21:10:06] * camfindlay quit (Quit: camfindlay)
890: [21:10:36] <antmas> IE8 - why u still around?
891: [21:11:02] <guzzlefry> Because people don't upgrade
892: [21:11:21] <Ryan-Toast> | IE why you still around
893: [21:11:31] <antmas> shit sucks
894: [21:11:37] <guzzlefry> It was only a few years ago that I had to fix a computer, still had Win95 on it.
895: [21:11:39] <antmas> I have 1 script that times out
896: [21:12:25] * Shrike_Finland quit (Quit: Leaving.)
897: [21:12:40] <antmas> zippy__: lol watchout, gastro bug is going crazy in Richmond apparently
898: [21:12:42] <antmas> gross
899: [21:12:47] <zippy__> uh oh
900: [21:12:58] <zippy__> boom time!
901: [21:13:17] <zippy__> rest homes are the worst… my mum works in there, says it's nasty
902: [21:13:26] <antmas> I bet
903: [21:13:26] <zippy__> seen Bad Grandpa, with the resutrant?
904: [21:13:32] <antmas> nope
905: [21:13:38] <antmas> is that movie any good?
906: [21:13:43] <zippy__> ahhhhh
907: [21:13:52] <zippy__> yes :)
908: [21:15:17] <zippy__> antmas: http://www.youtube.com/watch?v=N1XqoWkyVyQ
909: [21:16:46] <antmas> LOL
910: [21:17:10] <SphereSilverNL> Be afraid.
911: [21:17:13] <SphereSilverNL> Be very afraid
912: [21:17:15] <SphereSilverNL> https://fbcdn-sphotos-g-a.akamaihd.net/hphotos-ak-ash3/t31/1932661_424560367690439_1776106574_o.jpg
913: [21:17:43] <antmas> I wonder if I can just set a timeout on my function...
914: [21:18:10] <SphereSilverNL> sleep()
915: [21:21:32] <SphereSilverNL> I'm off to bed folks. I'm tired. Sleep tight.
916: [21:21:52] * SphereSilverNL quit (Quit: bye)
917: [21:22:01] * UndefinedOffset quit (Quit: Leaving.)
918: [21:27:05] <Ryan-Toast> Howe can I get the first item in a data object list? i.e something like $this->Countries()->First()->column('ID')
919: [21:27:58] * gelignite quit (Quit: http://bit.ly/nkczDT)
920: [21:29:57] <guzzlefry> Ryan-Toast: The first field?
921: [21:29:59] <micmania1> Ryan-Toast $this->Countries()->first() ???
922: [21:30:13] <Ryan-Toast> I need the id of the first row returned
923: [21:30:30] <micmania1> ...first()->ID
924: [21:31:14] <Ryan-Toast> micmania1: Thanks :)
925: [21:31:53] <antmas> what's the best way to include all form fields in an email without specifying them?
926: [21:33:06] <guzzlefry> antmas: Pass the fieldset?
927: [21:33:14] <guzzlefry> $form->fields() iirc.
928: [21:33:26] <antmas> guzzlefry: Aight, will try that
929: [21:34:34] <guzzlefry> hrm
930: [21:34:42] <guzzlefry> Is it reasonable to use Text instead of Varchar for everything?
931: [21:34:58] <zippy__> Varchar is better
932: [21:35:05] <zippy__> so it depends
933: [21:36:06] <guzzlefry> For MySQL. >_>
934: [21:36:10] <antmas> guzzlefry: that by itself returns FieldList(), how do I get the values out it?
935: [21:37:09] <zippy__> It's generally better to use Varchar to columns - and Text as needed
936: [21:37:15] <guzzlefry> okay, good to know.
937: [21:37:16] <guzzlefry> I know PostgreSQL prefers Text. :P
938: [21:37:19] <guzzlefry> antmas: Not sure. :/
939: [21:37:30] <antmas> hmmm
940: [21:37:33] <antmas> guzzlefry: thanks though
941: [21:37:44] <guzzlefry> Probably pull the form field out, then I think you can get the data from it.
942: [21:38:03] <guzzlefry> $fieldlist->getFieldByName()..something()
943: [21:38:26] <antmas> guzzlefry: but that's still specifying the fields individually
944: [21:38:41] <antmas> hmmm
945: [21:39:00] <antmas> I guess doing that will still allow me to format fields though...
946: [21:39:14] <guzzlefry> Do it in template.
947: [21:40:08] <guzzlefry> You basically want a loop that dumps out label + value?
948: [21:40:21] <guzzlefry> Could've swore there was an easy way to do that.
949: [21:40:39] <antmas> guzzlefry: yeah basically
950: [21:40:42] <antmas> just saves time
951: [21:42:52] <antmas> I wonder how I'll display the data from my DataTables o.O
952: [21:42:56] <antmas> that's the hard part
953: [21:47:28] * Colin[pi] has joined #silverstripe
954: [21:49:58] * travis-ci has joined #silverstripe
955: [21:49:59] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#740 (3.1 - 311e0d0 : Sean Harvey): The build passed.
956: [21:49:59] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/9c46c7d1e8a9...311e0d0edea0
957: [21:49:59] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/19067509
958: [21:49:59] * travis-ci has left #silverstripe
959: [21:52:29] <Colin[pi]> moin moin
960: [21:52:36] <antmas> Colin[pi]: OMG HAI!
961: [21:52:40] <Colin[pi]> !!!!
962: [21:52:42] <Colin[pi]> HAI
963: [21:53:10] <antmas> I have no idea what I'm doing :D
964: [21:53:16] <Colin[pi]> with what?
965: [21:53:22] <antmas> well
966: [21:53:29] <antmas> I have DataTables enabled for a form
967: [21:53:50] <antmas> and I want to grab the data from those tables and display it in and email
968: [21:54:00] <antmas> I can display it fine in GridField
969: [21:54:21] <guzzlefry> Does anyone know of an HTML5 Canvas form deal?
970: [21:54:27] <guzzlefry> form field deal*
971: [21:54:28] <zippy__> 5 mins
972: [21:54:46] <antmas> but if I do something like <p><strong>Income List:</strong>{$data['IncomeTable']}</p> in an email, It returns nothing and errors with Undefined Index 'IncomeTable'
973: [21:54:47] <antmas> etc
974: [21:56:29] <Ryan-Toast> antmas: you shouldn't be setting the html in your class.
975: [21:56:41] <Colin[pi]> antmas: so it's not seeing that data in the array at all
976: [21:56:45] <Ryan-Toast> you should loop through the fields, create an object then loop them in your template
977: [21:57:00] <Ryan-Toast> separate logic from display.
978: [22:01:16] <zippy__> it's on...
979: [22:01:40] <zippy__> antmas: wanna paste some of your code - like, a decent chunk
980: [22:01:54] <antmas> yeah, maybe I'll just use a a proper template
981: [22:02:00] <guzzlefry> Is there any documentation on many_many_extraFields?
982: [22:02:02] <antmas> Colin[pi]: nope
983: [22:02:38] <guzzlefry> Nevermind, the code has it. :P
984: [22:07:01] * muskie9 has joined #silverstripe
985: [22:09:41] <guzzlefry> What does it take for a module to be recognized?
986: [22:10:13] <guzzlefry> I have a orientation directory in my silverstripe root, with a _config.php file inside.
987: [22:10:41] <Colin[pi]> it should detect it
988: [22:10:55] <guzzlefry> then orientation/code/model/Orientation.php <--DataObject, which /dev/build/?flush won't build.
989: [22:10:56] <zippy__> guzzlefry: dev/build - pick up page types and config
990: [22:11:12] <zippy__> a flush on the dev/build does nothing
991: [22:11:29] <guzzlefry> It has for me?
992: [22:11:46] * Liquide quit ()
993: [22:12:21] * micmania1 quit (Ping timeout: 248 seconds)
994: [22:13:23] <guzzlefry> well, wtf
995: [22:13:41] <guzzlefry> I did a ?flush and a ?flush=all and /dev/build still isn't building the new DataObjects.
996: [22:18:28] <zippy__> Are you expecting some to be created automatically?
997: [22:19:09] <guzzlefry> zippy__: Shouldn't it scan for DataObjects and then build tables for them?
998: [22:19:54] <zippy__> yes, sorry I thought you meant create the actual objects, not just the tables
999: [22:23:30] <guzzlefry> yeah...it's not picking up on those.
1000: [22:23:52] * SightUnseen has joined #silverstripe
1001: [22:23:58] * SightUnseen has left #silverstripe
1002: [22:24:07] <Colin[pi]> what sort of gateway gives a test URL but requires a valid paid-up customer ID to actually test it? -_-
1003: [22:24:07] <guzzlefry> oh, this project is still 3.0. :P
1004: [22:24:22] <guzzlefry> Colin[pi]: A broken one.
1005: [22:24:50] <Colin[pi]> oh here's our docs, sample code, and test URL... but btw, you'll need a valid customer login to actually test it
1006: [22:24:50] <Colin[pi]> wtf
1007: [22:26:41] <Colin[pi]> I talked to them, he's like "yeah you need a customer login, but don't worry, you can write all your code and test when the customer has finished registration"
1008: [22:26:55] <guzzlefry> -_-
1009: [22:27:00] <Colin[pi]> yeah because I love to write a whole module of code without actually testing it during development
1010: [22:27:40] <guzzlefry> I know of a payment processor like that.
1011: [22:27:47] <guzzlefry> And half of their API docs are incorrect. :P
1012: [22:27:59] <guzzlefry> So...good luck writing without a sandbox environment to test in.
1013: [22:28:29] <Colin[pi]> guzzlefry: look at this gem from their docs: http://i.imgur.com/6MZ5q6F.png
1014: [22:28:39] <Colin[pi]> notice something wrong?
1015: [22:28:53] <Ryan-Toast> lol
1016: [22:28:58] <guzzlefry> oh
1017: [22:29:10] <Colin[pi]> QWALITY DOCS
1018: [22:29:21] <Colin[pi]> they also said I need to know "HTML programming"
1019: [22:29:23] <guzzlefry> Colin[pi]: That's a payment gateway as well? 0.o
1020: [22:29:40] <zippy__> 293 fyi.
1021: [22:31:16] * kinglozzer has joined #silverstripe
1022: [22:33:39] <zippy__> ommgg!
1023: [22:38:49] * theoldlr has joined #silverstripe
1024: [22:40:13] * antmas quit (Ping timeout: 245 seconds)
1025: [22:41:42] <zippy__> 297 fyi.
1026: [22:42:25] <zippy__> 298.
1027: [22:42:44] * OxFF1 has left #silverstripe
1028: [22:43:24] <theoldlr> How do you setup SS to use compass directly with the gem?
1029: [22:43:32] <theoldlr> for themes
1030: [22:46:50] <zippy__> 302! he's done it
1031: [22:47:23] <guzzlefry> zippy__: Why are you counting poorly? :P
1032: [22:47:25] <spronk> 302!!!!!!!!!!!!!!!!!!!!!!!!
1033: [22:47:42] <guzzlefry> Or are those HTTP response codes?
1034: [22:47:45] <zippy__> ss23: stadium loud enough for you?
1035: [22:47:53] <ss23> zippy__: I'm not at home atm :P
1036: [22:48:02] <ss23> zippy__: Can't hear anything from here in the city ^.^
1037: [22:48:02] * antmas has joined #silverstripe
1038: [22:48:07] <zippy__> lol
1039: [22:48:46] <zippy__> and out caught :)
1040: [22:48:49] <zippy__> 302
1041: [22:49:22] <spronk> ha
1042: [22:49:22] <spronk> wow
1043: [22:49:40] <spronk> oh well
1044: [22:49:41] <spronk> job done
1045: [22:49:43] <zippy__> thank god he got to 302…. poor ol Martin Crowe on 299
1046: [22:49:50] <antmas> how exactly do I add my form fields an email template? just by name?
1047: [22:50:08] <guzzlefry> actually
1048: [22:50:12] <zippy__> antmas: you should be able to loop them, loop the field list, then get the field by data I thought
1049: [22:50:26] <antmas> zippy__: ah right
1050: [22:50:27] <guzzlefry> What if he converted the fieldlist to readonly?
1051: [22:50:49] <guzzlefry> Those typically display as plain text, right?
1052: [22:54:10] <Ryan-Toast> this client keeps screenshoting a page, printing it out, scanning it and sending it to me...
1053: [22:54:27] <kinglozzer> Amazing
1054: [22:54:28] <kinglozzer> ^^
1055: [22:54:56] <Ryan-Toast> I want to tell him how to send a screenshot, but I like the reminder that he's an idiot.
1056: [22:55:06] <Ryan-Toast> and he shouldn't be trusted with changes.
1057: [22:55:07] <guzzlefry> :(
1058: [22:55:43] <Colin[pi]> ryan-toast: lol
1059: [22:58:55] <guzzlefry> OH
1060: [22:59:19] <guzzlefry> It probably isn't picking up on my new DataObjects because they're all private statics instead of public statics for 3.0.x :P
1061: [22:59:26] <guzzlefry> ffffffffuuuuu
1062: [23:01:26] <Colin[pi]> ;)
1063: [23:01:58] <guzzlefry> http://sspaste.com/paste/show/530291a56f437 Can I have relations in that?
1064: [23:02:07] <guzzlefry> $many_many_extraFields...
1065: [23:05:07] * mwm has joined #silverstripe
1066: [23:08:00] <guzzlefry> I'm guessing no.
1067: [23:09:43] <mwm> hello, im having an issue with a custom class extending form... for some reason, the actions are not getting refreshed...
1068: [23:10:20] <antmas> is there a setBody() I should be using to get my form fields?
1069: [23:10:51] <mwm> It seems to be loading it from a cache, but I have disabled the php cache optimiser and am using ?flush=1... And deleting the form template file from the cache folder... still no go
1070: [23:12:39] <antmas> nevermind that :P
1071: [23:14:30] <zippy__> I hate, em
1072: [23:14:41] * travis-ci has joined #silverstripe
1073: [23:14:42] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1967 (3.1 - a101d4e : Ingo Schommer): The build passed.
1074: [23:14:42] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/30e3904e4c3d...a101d4edb3dd
1075: [23:14:42] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/19072877
1076: [23:14:42] * travis-ci has left #silverstripe
1077: [23:20:52] * Bollig|DesignCty has joined #silverstripe
1078: [23:21:32] <guzzlefry> Anyone know how I can add a relation to a many_many linking table?
1079: [23:22:10] * travis-ci has joined #silverstripe
1080: [23:22:11] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#742 (3.1 - ca37dc8 : Ingo Schommer): The build passed.
1081: [23:22:11] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/311e0d0edea0...ca37dc8e6996
1082: [23:22:11] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/19072884
1083: [23:22:11] * travis-ci has left #silverstripe
1084: [23:29:01] * kinglozzer quit ()
1085: [23:32:02] * chillu_23 quit (Quit: chillu_23)
1086: [23:35:26] <antmas> hmmm, still have an issue with my DataTable data not showing up :(
1087: [23:42:45] <zippy__> Where is SimonW eh! :)
1088: [23:42:49] <zippy__> antmas: codeee
1089: [23:43:03] <guzzlefry> I can't bug him for help. :(
1090: [23:43:43] <zippy__> guzzlefry: http://stackoverflow.com/questions/17936817/silverstripe-many-many-relationship-with-an-attribute-on-the-relationship
1091: [23:45:09] <guzzlefry> zippy__: That doesn't show to add a relation though?
1092: [23:45:36] <zippy__> When you say add a relation, you mean the code like $xxx->xxxx() = $foo; ?
1093: [23:46:08] <guzzlefry> zippy__: Anything that isn't a datatype.
1094: [23:46:21] <guzzlefry> So like, an Image or File in my many_many_extrafields.
1095: [23:47:17] <zippy__> What happens if you do Image or File?
1096: [23:47:20] <zippy__> does it throw errors
1097: [23:48:15] <guzzlefry> [User Warning] DataObject::__construct passed The value 'Image'. It's supposed to be passed an array, taken straight from the database. Perhaps you should use DataList::create()->First(); instead?
1098: [23:49:26] <guzzlefry> oh, I probably have to do ImageID instead.
1099: [23:49:40] <guzzlefry> Unless this actually works in 3.1.
1100: [23:50:12] * kim__ has joined #silverstripe
1101: [23:51:10] <guzzlefry> Or build the linking table object myself.
1102: [23:52:36] <kim__> Hi I was hoping someone can help me. I am trying to extend the MemberLoginForm to override logInUserAndRedirect . I have added Object::useCustomClass('MemberLoginForm', 'MyLoginForm'); to the _config. But my code is ignored. Any ideas. I am using silverstripe version 3
1103: [23:53:33] * mwm quit (Ping timeout: 245 seconds)
1104: [23:55:18] <zippy__> kim__: Did you flush for it to pick up the new cnofig? Are you extending from DataExtension ?
1105: [23:57:05] <kim__> Yes I did flush. I have this right now class MyLoginForm extends MemberLoginForm
1106: [23:58:00] <kim__> with the function I am trying to replace as the only item in the class.

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