#silverstripe IRC Log

IRC log for 29 May 2014

All timestamps are in UTC.

1: [00:02:41] * spronk has joined #silverstripe
2: [00:03:01] <zippy__> With a form, if you set the field to EmailField how can I make SS validate that to make sure it has an email
3: [00:03:02] <zippy__> without JS
4: [00:03:15] <simon_w> zippy__, default validation does that
5: [00:03:46] <simon_w> If you're using a custom validator, you need to do what RequiredFields does to call validate() on each fuel
6: [00:03:50] <simon_w> *field
7: [00:03:53] <unsigned_> hey does anyone know why SS_Datetime fields dont get saved properly when write() is called? eg $dataobject->Date = SS_Datetime::now(); $dataobject->write(); does not write the date to the database. This used to work in 3.0
8: [00:04:49] * unsigned_ is now known as unsignedint
9: [00:08:49] * UncleCheese has joined #silverstripe
10: [00:13:02] * sminnee quit (Quit: sminnee)
11: [00:14:45] <Colin[pi]> unsignedint: pretty sure that should work :\
12: [00:15:06] <unsignedint> it isnt, I am working around it by setting the value to "" . SS_Datetime::now()
13: [00:15:12] <unsignedint> which is good enough
14: [00:15:34] <simon_w> unsignedint, you can just set it to the string 'now'
15: [00:15:45] <unsignedint> im now trying to figure out how to set the default sort in ModelAdmin
16: [00:15:57] <unsignedint> simon_w: thanks for that tidbit :)
17: [00:15:59] <simon_w> $default_sort?
18: [00:16:05] <simon_w> (on your DataObject)
19: [00:16:20] <Colin[pi]> simon_w: $do->Date = 'now'; ?
20: [00:16:27] <simon_w> Colin[pi], yup
21: [00:16:33] <Colin[pi]> is that done in db or model?
22: [00:16:38] <simon_w> model
23: [00:16:43] <Colin[pi]> hmm ok :\
24: [00:16:47] <Colin[pi]> didn't know, ta
25: [00:16:51] <simon_w> Basically, the string gets passed to strtotime()
26: [00:16:55] <Colin[pi]> ah k k
27: [00:17:07] * mobiusnz1 has joined #silverstripe
28: [00:17:12] <simon_w> so you can even do things like $do->Date = 'Thursday last week';
29: [00:17:30] <Colin[pi]> mm I didn't know it was run through strtotime()
30: [00:17:47] * mobiusnz quit (Read error: Connection reset by peer)
31: [00:21:33] <spronk> anyone used FocusPoint? anyone used it *with some sort of resize as well* ?
32: [00:21:56] * bridgetm quit (Ping timeout: 244 seconds)
33: [00:22:13] <srikanth> I want to remove cms field from appearing on a certain subsite
34: [00:22:16] <srikanth> any ideas?
35: [00:22:41] * bridgetm has joined #silverstripe
36: [00:23:23] <spronk> srikanth: the only real way you can do that is with a code check
37: [00:23:52] <spronk> i.e. if(Subsite::crrent_subsite()->some property you want to test on == some test) {... }
38: [00:24:02] <spronk> you can set it up with a yml config as well if you want
39: [00:25:18] <srikanth> spronk, could you give me pointers on how it can be done through a setting in config.yml
40: [00:26:59] <zippy__> I do sessionMessage('somethiing', 'bad'); and it persists with every page reload
41: [00:27:12] <zippy__> is there flash message support at all?
42: [00:28:15] <spronk> srikanth: http://doc.silverstripe.com/framework/en/topics/configuration for how to set up yml config
43: [00:28:43] <spronk> you'd just need to define a property in the yml that lists the field name and the subsites by probably name that you want to exclude that field for
44: [00:29:07] <spronk> then in your getCMSFields() you can reference the config i.e. $this->config()->get('exclude_fields_on_subsites')
45: [00:30:32] <srikanth> thanks spronk - will give that a shot and let you know
46: [00:35:10] <zippy__> nm, all good
47: [00:46:35] <zippy__> god dam it
48: [00:46:41] <Stomach> ?
49: [00:47:05] <zippy__> I submit a SS form with ajax, if the form has ererors then I just get back the form with the errors so I can call replaceWith(response) and work sweet
50: [00:47:08] <zippy__> ah
51: [00:47:09] <zippy__> nm
52: [00:47:19] <zippy__> in my function I can just detect if it's ajax, and do something different
53: [00:47:29] <zippy__> baby and cold and stuff, effects my thinking
54: [00:47:43] <Colin[pi]> zippy__: gets worse as you get older D:
55: [00:47:47] <zippy__> almost 1pm and havn't had my noodles either
56: [00:55:07] * auto9_ has joined #silverstripe
57: [00:55:07] * auto9 quit (Read error: Connection reset by peer)
58: [01:05:32] * Kingy is now known as Kingy[a]
59: [01:08:24] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
60: [01:10:22] * joelpittet quit ()
61: [01:14:32] <simon_w> Whoa, ss23 opened a docs PR!
62: [01:14:49] <ss23> XD
63: [01:14:53] <ss23> I do fix up docs issues I see at the time
64: [01:15:10] <simon_w> Yet you see the docs and don't fix them!
65: [01:15:19] * Kingy[a] is now known as Kingy
66: [01:21:18] <ss23> simon_w: That is a fix I just did!
67: [01:21:57] <unsignedint> ss23 is champion docs maintainer after all, we wouldnt expect anything less from him
68: [01:22:10] <ss23> Please, we agreed that was UC now!
69: [01:22:18] <unsignedint> did we?
70: [01:22:52] <unsignedint> i mean it was cool, but did we agree that it was Ultra Cool?
71: [01:23:24] <ss23> XD
72: [01:23:27] <ss23> please
73: [01:25:11] <simon_w> ss23, I don't see him fixing them either!
74: [01:26:37] <ss23> Nag him then! :D
75: [01:27:19] <simon_w> He's not here, so we only get to nag you
76: [01:27:29] <Kingy> So apparently DFP doesn't support swf files > v10.1
77: [01:27:39] <Kingy> "DFP doesn't support Flash 10.2, Flash 11, or Flash 12. Make sure that your Flash (SWF) files are Flash 10.1 or lower."
78: [01:28:24] * UncleCheese has joined #silverstripe
79: [01:28:39] <Colin[pi]> ugh, flash... please diaf
80: [01:28:52] <ss23> ^^
81: [01:28:53] <ss23> trudis
82: [01:28:57] <simon_w> UncleCheese, why aren't the docs fixed yet?
83: [01:29:02] <ss23> UncleCheese: simon_w was talking shitabout you
84: [01:29:03] <ss23> "why no docs"
85: [01:29:04] <ss23> etc
86: [01:29:04] <Kingy> Colin[pi]: yes
87: [01:29:06] <Colin[pi]> lol
88: [01:29:26] * simon_w talks shit about everyone, so it's nothing personal :p
89: [01:29:26] * Tanger has joined #silverstripe
90: [01:29:50] <Colin[pi]> haha that's true
91: [01:29:52] * Tanger quit (Client Quit)
92: [01:30:00] <ss23> XD
93: [01:30:25] <Stomach> ss23 - for doc prs do you have to do a PR against each branch its incorrect in, or just 3.0 to get merged up and down by someone else?
94: [01:31:22] <ss23> Stomach: PR against the lowest branch you're targetting. Whoever merges should merge upwards
95: [01:31:33] <Stomach> coolies
96: [01:31:38] <ss23> simon_w: Right, right?
97: [01:31:53] <simon_w> Well, it gets merged upwards when someone gets around to it
98: [01:32:39] <Stomach> and also, how can I run the docs locally so I can check that my changes actually worked :D
99: [01:32:46] <ss23> Stomach: I don't
100: [01:32:47] <ss23> :P
101: [01:32:52] <simon_w> Stomach, check out the docs.silverstripe.org repo
102: [01:32:54] <ss23> Docs don't even run properly on ss.org!
103: [01:33:03] <ss23> Pretty sure api.ss is dead too
104: [01:33:08] <ss23> Hasn't sync'd source files in ages
105: [01:38:40] <ss23> :(
106: [01:38:42] <ss23> My comment isn't working
107: [01:38:50] <ss23> <%-- *lots of lines and content* --%>
108: [01:38:55] <ss23> it ignores the --%> and just truncates the rest of the file
109: [01:38:57] <ss23> ;_;
110: [01:45:06] * gelignite quit (Quit: http://bit.ly/nkczDT)
111: [01:45:28] <Stomach> had to run dos2unix on the shell script for docs
112: [01:45:30] <Stomach> o_O
113: [01:47:41] <Colin[pi]> ss23: can the template comments be multi-line? I seem to remember something about them being single line
114: [01:49:57] <Colin[pi]> SSTemplateParser: here be dragons
115: [01:50:12] <ss23> idk
116: [01:50:14] <ss23> :(
117: [01:50:15] <ss23> I guess not!
118: [01:52:04] <Colin[pi]> https://github.com/silverstripe/silverstripe-framework/blob/3.1/view/SSTemplateParser.php.inc
119: [01:52:07] <Colin[pi]> TODO: Template comments - <%-- --%> ??
120: [01:52:53] <srikanth> spronk, I managed to get it working by inheriting the page class and $fields->removeFromTab
121: [01:53:01] <srikanth> thanks for your help though
122: [01:53:02] <ss23> Colin[pi]: That file is annoying
123: [01:53:03] <ss23> :(
124: [01:53:09] <Colin[pi]> ss23: yes it is
125: [01:53:34] <srikanth> whenever I am trying to save and publish in the cms I get this error
126: [01:53:35] <srikanth> ERROR [Notice]: Undefined variable: record
127: [01:53:36] <srikanth> IN POST /admin/pages/edit/EditForm?locale=en_NZ
128: [01:53:36] <srikanth> Line 176 in /var/www/esr-prod/framework/forms/HtmlEditorField.php
129: [01:54:07] * sminnee has joined #silverstripe
130: [01:54:31] <srikanth> anyone?
131: [01:55:24] * zippy__ quit (Ping timeout: 240 seconds)
132: [01:56:11] <ss23> srikanth: Is that with 100% stock install?
133: [01:56:20] <ss23> At a guess, it's a broken/weird module or custom code
134: [01:56:24] <Colin[pi]> srikanth: sounds like a problem with it's saveInto() method, not finding the record object it needs to save the data to?
135: [01:56:38] <Colin[pi]> idek
136: [01:57:14] <srikanth> if I change the 'SS_ENVIRONMENT_TYPE' from 'dev' to 'live'
137: [01:57:22] <srikanth> it works fine
138: [01:57:38] <srikanth> ss23, I ran composer update
139: [01:57:59] <srikanth> it went fine
140: [01:58:01] <ss23> srikanth: So there is likely code that works even if the $record isn't set
141: [01:58:13] <ss23> And you only see the "error" when it's in dev mode, and it's a warning
142: [01:58:16] <ss23> Should still fix the code
143: [01:59:00] <srikanth> ss23, should figure out what is causing it
144: [02:04:49] * sminnee quit (Quit: sminnee)
145: [02:05:27] <irogue_> ss 3.1.5 cms crashes firefox very reliably
146: [02:05:28] <irogue_> teehee
147: [02:05:30] <irogue_> fucking firefox
148: [02:08:50] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
149: [02:11:30] * jedateach has joined #silverstripe
150: [02:12:01] <jedateach> anyone here set up postgres with silverstripe?
151: [02:12:33] <jedateach> ..on OSX
152: [02:12:48] <jedateach> I’ve installed php54-pdo-pgsql via brew… showing up in php info, but doesn’t work
153: [02:13:01] <Kingy> i am
154: [02:13:03] <jedateach> i figure the pdo extension is not what I want
155: [02:13:12] <Kingy> mamp + postgres.app
156: [02:13:15] <Kingy> :)
157: [02:13:17] * UncleCheese has joined #silverstripe
158: [02:14:29] <Colin[pi]> irogue_: latest firefox?
159: [02:14:33] * sminnee has joined #silverstripe
160: [02:15:09] <simon_w> jedateach, yeah, you just need the normal pgsql extension
161: [02:15:33] <jedateach> simon_w: which doesn’t appear to be available via homebrew :S
162: [02:17:38] <Colin[pi]> mm I see 3.1.5 still gets itself into an infinite flush loop post-installation ;D
163: [02:35:06] <irogue_> wtf is homebrew
164: [02:35:11] <UncleCheese> !!!!!!!!!
165: [02:35:22] <UncleCheese> i reckon irogue_ is trolling us
166: [02:35:29] <irogue_> other than delicious but scary alcohol
167: [02:35:40] <UncleCheese> it's the package manager osx forgot
168: [02:35:43] <Colin[pi]> irogue_: OS X package manager
169: [02:35:43] <irogue_> Colin[pi]: yeah, on mac at least
170: [02:36:09] <irogue_> oh
171: [02:36:10] <Colin[pi]> irogue_: trying it out on Windows atm, seems to be ok :\
172: [02:36:13] <irogue_> i do everything in vagrant
173: [02:36:24] <irogue_> Colin[pi]: browse around in the assets section
174: [02:36:29] <irogue_> thats what does it on ff mac
175: [02:36:36] <Colin[pi]> k lemme see
176: [02:38:11] <Colin[pi]> irogue_: seems fine so far
177: [02:39:29] <UncleCheese> that moment when you load a page for the first time that you've been coding for three days
178: [02:39:49] <UncleCheese> UncleCheese wonders if iterative development would suit him
179: [02:40:25] * jedateach quit (Remote host closed the connection)
180: [02:40:44] <Colin[pi]> UncleCheese: coding for -three- days and you just loaded it?
181: [02:40:55] <UncleCheese> yeah
182: [02:40:56] <UncleCheese> lolz
183: [02:41:08] <Colin[pi]> wow it must be an epic class lol
184: [02:41:10] <UncleCheese> spoiler alert: parse error on line 145
185: [02:41:17] <UncleCheese> I've failed :(
186: [02:41:32] <Colin[pi]> haha
187: [02:41:36] <irogue_> Colin[pi]: must be just ff mac then
188: [02:41:46] * travis-ci has joined #silverstripe
189: [02:41:46] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2641 (3.0 - 083c0e0 : Damian Mooyman): The build passed.
190: [02:41:46] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/d9c037bb6980...083c0e083bfe
191: [02:41:46] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/26269932
192: [02:41:46] * travis-ci has left #silverstripe
193: [02:41:50] <irogue_> lets be honest, noone uses ff on mac, so no worries :P
194: [02:41:51] <Colin[pi]> dude I very rarely test without errors after coding for 3 minutes, let alone 3 days
195: [02:41:58] <irogue_> ^
196: [02:42:11] * jedateach has joined #silverstripe
197: [02:42:12] <irogue_> change a line > refresh > change a line > refresh
198: [02:42:28] <Kingy> +1
199: [02:42:32] <Colin[pi]> dat feel when you do code for a while and test, and it works the first time... I can count on one hand how many times that's happened
200: [02:44:08] <UncleCheese> yeah, that's pretty sweet
201: [02:44:20] <UncleCheese> when i was doing frontend dev, that was always my challenge
202: [02:44:45] <UncleCheese> loading the site for the first time and seeing how much fidelity you could get to the design
203: [02:44:51] <Colin[pi]> mm lol
204: [02:44:53] <Colin[pi]> good feel
205: [02:45:00] <UncleCheese> 6 hours of HTML/CSS, refresh
206: [02:45:13] * sminnee quit (Quit: sminnee)
207: [02:45:13] <UncleCheese> homepage.. indistinguishable from the PSD
208: [02:45:20] <Colin[pi]> lol nice
209: [02:45:31] <UncleCheese> never happened, but it did in my dorky fantasies
210: [02:45:53] <Colin[pi]> my old boss was amazed at how close I could get with hex colors to something he showed me
211: [02:46:11] <Colin[pi]> he'd show me some colour, and I'd be like "oh that's a FABBC8"
212: [02:46:15] <Colin[pi]> or some shit
213: [02:46:20] <Colin[pi]> and usually get fairly close lol
214: [02:46:34] <Colin[pi]> but he could do the same with pantones
215: [02:48:51] <irogue_> om nom nom donuts
216: [02:50:57] * jedateach has left #silverstripe
217: [02:55:32] <Colin[pi]> hmm if I use extra_requirements_css for LeftAndMain, can I control the order the files are pulled in?
218: [02:55:58] <UncleCheese> should be in the order of the list, right?
219: [02:59:43] <irogue_> UncleCheese: dont ask us, you're the LeftAndMain expert :P
220: [03:01:09] <Colin[pi]> hmm how does 3.x determine the order to include requirements? folder order?
221: [03:03:09] <Colin[pi]> the module appears after 'cms', but it's css (defined in the yaml) is included before the cms' 'screen.css'
222: [03:03:23] * an_Eskimo has joined #silverstripe
223: [03:04:47] <Colin[pi]> wait I think I've sorted it
224: [03:06:53] <Colin[pi]> ok started working now, dunno what I did different :o
225: [03:08:45] <simon_w> Colin[pi], got a more specific place to meet than just Woden?
226: [03:09:46] <Colin[pi]> hmm what do you feel like eating?
227: [03:10:11] <irogue_> kangaroo with a side of koala
228: [03:10:25] <simon_w> Lunch :p
229: [03:10:31] <Colin[pi]> :P
230: [03:10:55] <Colin[pi]> ok remember where EB is?
231: [03:11:03] <Colin[pi]> meet out the front of there and find some lunch
232: [03:11:28] <simon_w> Okay
233: [03:11:43] <Colin[pi]> heading off now?
234: [03:12:07] <UncleCheese> haha. you guys live in Australia.
235: [03:12:30] <simon_w> Might as well. Don't really have time to start something
236: [03:12:46] <Colin[pi]> k will meet you there
237: [03:13:14] <Kingy> shame it's only 2 hours to home time over here
238: [03:13:17] <Kingy> you still have like 4
239: [03:13:37] <simon_w> Kingy, we both work from home :p
240: [03:13:51] <Kingy> I do... once a week
241: [03:13:54] <Kingy> lol
242: [03:14:04] <Kingy> but yeah you win
243: [03:14:12] <Kingy> i walk out of here at 5 and get to sit on a train for 2 hours
244: [03:14:18] <Kingy> you very much win :(
245: [03:14:19] <UncleCheese> simon_w you couldn't work from home in NZ?
246: [03:14:37] <Colin[pi]> Kingy: can't beat the commute! :D
247: [03:14:52] <Colin[pi]> I can fall out of my bed at 8:55 and I'm at my desk for a 9 start!
248: [03:14:58] <Kingy> yeah
249: [03:15:10] <Kingy> this new role takes me to the other office though
250: [03:15:14] <Colin[pi]> but I have a kid who wakes me up early ;)
251: [03:15:19] <Kingy> It's an hour to drive but I don't need to be there until 9:30 and I can leave at 4
252: [03:15:21] <Kingy> so not bad
253: [03:15:34] <irogue_> Kingy: wtf where takes 2 hours to train?
254: [03:15:45] <Kingy> Masterton -> Wellington
255: [03:15:56] <irogue_> ah yep
256: [03:16:03] * auto9_ quit (Read error: Connection reset by peer)
257: [03:16:22] <Kingy> I was doing it 5 days a week at one point
258: [03:16:25] <Kingy> was rough
259: [03:16:31] <Kingy> 5:30am -> 7:30pm
260: [03:17:12] <irogue_> i guess even longer every time a wellington train decides to derail itself or ram itself into a pole or just stop running
261: [03:17:43] <Kingy> well if it happens early enough it means work from home
262: [03:17:49] * auto9 has joined #silverstripe
263: [03:17:54] <irogue_> lol
264: [03:18:00] <Kingy> during the last couple of earthquakes was bad though
265: [03:18:12] <Kingy> train lines get closed
266: [03:18:18] <Kingy> gf had to drive in after her work and get me
267: [03:18:29] <Kingy> but I got 2 weeks from home after that though so worth ti
268: [03:18:31] <Kingy> it*
269: [03:19:55] <irogue_> lol
270: [03:20:47] <irogue_> thus far (fingers crossed) the new auckland trains haven't had issues like the new wellington ones have
271: [03:21:07] <Kingy> Yeah, I don't go on those ones anyway
272: [03:21:27] <Kingy> We have more comfortable trains with the seat trays and powerpoints etc
273: [03:21:36] <irogue_> yeah
274: [03:23:44] <irogue_> biggest complaint i've heard so far about the new EMUs here is that they are still running them a bit conservatively speed-wise
275: [03:24:14] <Kingy> Yeah I was shocked at how fast trains go in Europe
276: [03:24:20] <Kingy> even in the built up areas
277: [03:26:39] <irogue_> yeah they're still running them at 100km/h here (same as the old ones) but they've tested them at 130
278: [03:27:07] <irogue_> high speed trains would be very difficult here due to our gauge
279: [03:27:34] <Kingy> yeah in general public transport here is a shambles
280: [03:28:07] <Kingy> I mean in Berlin you'd spend 5EUR on a 24 hour pass
281: [03:28:14] <Kingy> which is train/metro/bus/tram
282: [03:28:35] <Kingy> in Wellington $5 won't get you to the nearest train stop
283: [03:28:48] <irogue_> lol
284: [03:28:53] <Kingy> and then if you got off at the train stop and needed to take a bus that's probably another $2
285: [03:29:03] <Kingy> if there is even a bus
286: [03:29:24] * sminnee has joined #silverstripe
287: [03:30:45] * sminnee quit (Client Quit)
288: [03:30:53] <irogue_> Kingy: what does the train cost you between masterton and welly?
289: [03:31:06] <Kingy> Monthly pass is $432
290: [03:31:24] <spronk> anyone used FocusPoint?
291: [03:31:26] <Kingy> but I'm back to using 10 trip tickets which are $144
292: [03:31:37] <Kingy> single trip is $18
293: [03:31:43] <spronk> or alternatively, a good module that says "i want the best image crop/resize to fit this width and height"
294: [03:33:47] <irogue_> spronk: i havent used it but read the blog post and thought it looked cool
295: [03:33:51] <spronk> mm..
296: [03:35:07] <irogue_> Kingy: trying to compare it to here but there's no real comparison
297: [03:35:26] <irogue_> the longest train route here is half the distance
298: [03:35:27] <Kingy> what's the longest trip?
299: [03:35:52] <Kingy> Featherston is about an hour away.. lemme get the figures
300: [03:36:28] <Kingy> $14.50 / $114 / $342
301: [03:36:34] <Kingy> single / 10 / monthly
302: [03:36:38] <irogue_> pukekohe is about 50km and is $10.30 cash or $9.27 card
303: [03:42:15] <irogue_> or $250 for a monthly unlimited pass which also includes all buses
304: [03:42:15] <UncleCheese> Kingy you do the Wairirapa commute?
305: [03:42:27] <Kingy> yes
306: [03:42:34] <UncleCheese> how's it working for you?
307: [03:42:40] <Kingy> do not recommend
308: [03:42:43] <UncleCheese> hahaha
309: [03:42:45] <UncleCheese> damn it!
310: [03:42:55] <UncleCheese> i've wondered about you people
311: [03:43:02] <UncleCheese> because you seem to have beat the system
312: [03:43:15] <Kingy> There are some people who have been doing it for most of their working lives
313: [03:43:17] <UncleCheese> but i guess not
314: [03:43:25] <Kingy> I've done it for a year and want to /wrists
315: [03:43:31] <UncleCheese> oh wow
316: [03:43:35] * cloph_away has joined #silverstripe
317: [03:43:37] <UncleCheese> you're in featherston?
318: [03:43:38] <irogue_> DavidJ here does the Waiheke
319: [03:43:44] <Kingy> nah Masterton
320: [03:43:44] * cloph quit (Ping timeout: 255 seconds)
321: [03:43:49] <UncleCheese> oh, ok
322: [03:43:52] <UncleCheese> yeah, that's a haul
323: [03:43:55] <Kingy> Featherston would be ok (only ~1 hour)
324: [03:43:58] <UncleCheese> so you take the bus to featherston?
325: [03:44:16] <Kingy> Nope train the whole way. Up there I was just trying to make a comparison for irogue_
326: [03:44:20] <UncleCheese> ohh
327: [03:44:26] <UncleCheese> didn't realise it went that far
328: [03:44:38] <Kingy> yeah Masterton is end of the commuter line
329: [03:44:43] <UncleCheese> but you must have a great spot out in Wairirapa
330: [03:44:48] <Kingy> ermm
331: [03:44:50] <Kingy> lol
332: [03:45:03] <Kingy> Nah actually it's not too bad
333: [03:45:08] <UncleCheese> realtively speaking
334: [03:45:13] <Kingy> I obviously don't see much of it (leave in the dark, home in the dark etc)
335: [03:45:15] <UncleCheese> take what you're spending out there and apply it to wellington
336: [03:45:31] <UncleCheese> it's crazy
337: [03:45:31] <Kingy> yeah the only thing wrong with it is it's isolated
338: [03:45:44] <UncleCheese> you can get a real house out there for like.. not a million dollars
339: [03:45:50] <Kingy> yeah
340: [03:46:05] <UncleCheese> yeah i would worry about the isolation
341: [03:46:08] <UncleCheese> are you renting out there?
342: [03:46:09] <Kingy> We only live there because my partner got a teaching position at one of the colleges
343: [03:46:14] <Kingy> yeah
344: [03:46:19] <UncleCheese> oh ok
345: [03:46:22] <UncleCheese> man that's tough
346: [03:46:26] <UncleCheese> good thing you have that work from home day
347: [03:46:31] <Kingy> haha yeah
348: [03:46:37] <Kingy> I work 2 days a week in Feilding now though
349: [03:46:47] <Kingy> so I go and stay with family overnight there
350: [03:46:51] <Kingy> makes the week a lot better now
351: [03:46:58] <irogue_> https://at.govt.nz/bus-train-ferry/journey-planner/#{"from":"Waiheke Ferry Terminal - Matiatia","fromLoc":"-36.78016849978249,174.99203926067779","to":"Ferry Terminal - Auckland","toLoc":"-36.84301899022104,174.76696474829376","arriveBy":"false","date":"2014-05-29","time":"15:45","timeMode":"A","modes":["BUS","TRAIN","FERRY","SCHOOLBUS"],"operators":[],"entrypointCurrentPage":true}
352: [03:47:02] <irogue_> please excuse the terrifying URL
353: [03:47:08] <Kingy> lol
354: [03:47:12] <UncleCheese> dat json
355: [03:47:49] <Kingy> never quite seen a URL formatted like that before
356: [03:48:03] <Kingy> $20 jeez
357: [03:48:11] <irogue_> living on Waiheke would be nice, but that's an expensive commute!
358: [03:48:25] <UncleCheese> when i was looking at SS AKL, I really wanted to live in Waiheke
359: [03:48:43] <UncleCheese> ferry is prohibitively expensive, though
360: [03:51:06] <ss23> I got called "dear" by scuese me guy last night ;_;
361: [03:53:04] <irogue_> scuse me guy?
362: [03:54:03] <Kingy> question: Creating a form based off Member. In the form action do I specifically need to put $member->blah = $data['blah']; or should $member->write() take care of it?
363: [04:03:21] <UncleCheese> in general you should be using $form->saveInto($member);
364: [04:10:43] <Kingy> hmmm, looks like I'll need to re-do this as well then
365: [04:16:32] <ss23> irogue_: homeless guy in wellington, like blanket man
366: [04:16:42] <irogue_> ahh
367: [04:16:44] <ss23> he says "SCUSE ME" really loud/annoyingly all the time
368: [04:16:48] <ss23> he's nice, but that's like... his line
369: [04:16:52] <ss23> he is scuse me guy
370: [04:17:29] <irogue_> for some reason auckland doesn't seem to have those kind of homeless
371: [04:17:47] <irogue_> they all just lay in piles of blankets sniffing glue and not talking to anyone
372: [04:17:51] <ss23> Wellingotn has lots of nameless homeless too :O
373: [04:17:56] <ss23> Oh this guy may not be homeless
374: [04:18:01] <ss23> he comes in on a bus each morning with his wife
375: [04:18:14] <ss23> not that I think about it, idk
376: [04:18:32] <irogue_> suburban homeless
377: [04:20:44] * auto9 quit (Read error: Connection reset by peer)
378: [04:22:09] * irogue_ has to learn about this whole "testing" business
379: [04:22:17] <irogue_> seems overrated to me
380: [04:22:24] * auto9 has joined #silverstripe
381: [04:26:09] <Stomach> man that took a long time to install the docs
382: [04:33:14] <UncleCheese> do they have lasik in NZ?
383: [04:33:27] <irogue_> yes
384: [04:34:20] <UncleCheese> do the doctors here know how to do it?
385: [04:34:28] <UncleCheese> or is it a circus
386: [04:34:35] <irogue_> as long as you go to the right places
387: [04:34:37] <UncleCheese> hmm
388: [04:34:46] <UncleCheese> i wonder if it will be cheaper than the US
389: [04:34:46] <Stomach> UncleCheese - Kim had it done
390: [04:34:47] <Stomach> shes fine
391: [04:34:53] <UncleCheese> can she see?
392: [04:34:54] <Stomach> cost her around 7k
393: [04:34:57] <UncleCheese> !!!!!!!!!!!!!!
394: [04:35:00] <UncleCheese> ok, never mind
395: [04:35:01] <UncleCheese> ha
396: [04:35:55] <Stomach> she says its worth it
397: [04:36:03] <UncleCheese> oh i'm sure it is
398: [04:36:16] <UncleCheese> lissa just dropped $450 on new frames that are expected to last up to two years
399: [04:36:17] <UncleCheese> wow
400: [04:36:32] <UncleCheese> i dunno.. the whole thing freaks me out
401: [04:36:51] <UncleCheese> and doing it in a foreign country just makes me feel even weirder about it
402: [04:37:03] <irogue_> UncleCheese: i presume that wasn't from specsavers?
403: [04:37:08] <Stomach> because US medical standards are so extraordinary :P
404: [04:37:10] <UncleCheese> indeed it was
405: [04:37:20] <UncleCheese> i know, right.. it's not like I live in Rwanda
406: [04:37:23] <irogue_> must have been the most expensive frames in the place, haha
407: [04:37:28] <UncleCheese> christ
408: [04:37:38] <UncleCheese> 60 for the exam, 140 for frames, 250 for lenses
409: [04:37:44] <irogue_> oh
410: [04:37:46] <irogue_> so not for the frames
411: [04:37:48] <irogue_> for the whole lot
412: [04:37:48] <Stomach> she must have some sweet PD going on
413: [04:37:52] <UncleCheese> yeah, what the hell do i know
414: [04:37:56] <UncleCheese> my eyes work
415: [04:38:19] <irogue_> i paid $400 for two pairs of glasses (one regular, one prescription sunglasses) at specsavers
416: [04:39:22] <irogue_> my previous glasses were $1000 for a single pair from Visique
417: [04:39:26] <irogue_> fuck non-specsavers
418: [04:39:32] <UncleCheese> whoa
419: [04:45:05] <Stomach> thats crazy
420: [04:46:15] <Stomach> you could just buy eyes from Thailand for that price
421: [04:46:18] <irogue_> ikr
422: [04:47:33] * sminnee has joined #silverstripe
423: [04:49:13] <UncleCheese> ooh
424: [04:49:16] <UncleCheese> thailand lasik
425: [04:49:22] <UncleCheese> i wonder if it would pay for the cost of the ticket
426: [04:50:54] <Kingy> Don't they advertise special trips for that
427: [04:51:01] <Kingy> similar to dental work
428: [04:51:15] <Kingy> get XYZ done for $5k + 7 nights
429: [04:51:42] <Colin[pi]> yeah UC you could get lasik and a boob job as an all-in-one package
430: [04:52:02] <irogue_> Kingy: yeah, they do
431: [04:52:22] <Kingy> My parents go from Aus to Thailand and get their dental work done
432: [04:52:26] <Stomach> now UncleCheese with tits would be UncleCheese++
433: [04:52:32] <irogue_> and if you book it through an NZ organiser there's probably a higher chance of the doc in thailand actually knowing what they're doing
434: [04:52:58] <UncleCheese> wait, are you serious? that's a thing?
435: [04:52:59] <Colin[pi]> Kingy: last time I went to the dentist was in Brazil
436: [04:53:00] <Kingy> They say most of the dentists there are just ex-Americans so it's generally pretty good and a hell of a lot cheaper
437: [04:53:12] <UncleCheese> my dentist is Iraqi!
438: [04:53:13] <Kingy> UncleCheese: yes
439: [04:54:05] <Kingy> I'm out. Catch you all tomorrow :)
440: [04:54:19] <Stomach> later Kingy
441: [04:54:34] <Colin[pi]> cyas
442: [04:54:41] * Kingy is now known as Kingy[a]
443: [04:54:42] <irogue_> UncleCheese: iraq have good dentists
444: [04:54:46] <irogue_> much higher trained than here
445: [04:55:05] <UncleCheese> interesting
446: [04:55:33] <Stomach> I have a couple of dentist friends who always fight about fluride when they are drunk. its great....
447: [04:55:37] <irogue_> hahaha
448: [04:55:40] <UncleCheese> how can it be worth it to fly 13 hours for dental work?
449: [04:55:53] <Stomach> because its fucking expensive here
450: [04:55:57] <irogue_> ^
451: [04:55:58] <Colin[pi]> UncleCheese: have you seen how much we pay for dental work?
452: [04:56:07] <UncleCheese> yeah, it's pretty bad
453: [04:56:12] <Stomach> like, american hospital visit prices :P
454: [04:56:13] <UncleCheese> $160
455: [04:56:22] <UncleCheese> no, nothing is like that
456: [04:56:39] <irogue_> i had to have a bunch of wisdoms surgically removed under GA recently
457: [04:56:42] <Colin[pi]> UncleCheese: I think by "dental work" we're talking about something more than a clean and polish ;
458: [04:56:43] <Colin[pi]> ;)
459: [04:56:52] <UncleCheese> what do you pay for wisdom tooth extraction?
460: [04:57:00] <Colin[pi]> with GA, a lot
461: [04:57:05] <irogue_> that was like $12,000
462: [04:57:06] <Stomach> id guess ~8k?
463: [04:57:11] <UncleCheese> what's GA
464: [04:57:16] <Stomach> general anesthetic
465: [04:57:19] <UncleCheese> HOLY FUCK ME SIDEWAYS JESUS MOTHER
466: [04:57:23] <Colin[pi]> LOOL!
467: [04:57:33] <UncleCheese> what the flying fuck?!
468: [04:58:05] <UncleCheese> Mine cost $2,200, and I complained and ranted about it for years before finally paying the crook
469: [04:58:19] <irogue_> UncleCheese: that's probably realistic for non-surgical
470: [04:58:26] <irogue_> my jaw had to be cut open
471: [04:58:39] <UncleCheese> it's a scam
472: [04:58:48] <UncleCheese> said the procedure takes 30 minutes
473: [04:58:52] <UncleCheese> they do 8 of them a day
474: [04:58:56] <UncleCheese> @ $2,200 each
475: [04:59:06] <Stomach> it would have taken more than 30 minutes for irogue_'s
476: [04:59:07] <UncleCheese> he's got a yacht named "wisdom tooth"
477: [04:59:27] <irogue_> remember dentists here are still fully private, UncleCheese, so they rape you like private healthcare in the US does
478: [04:59:41] <UncleCheese> no, paid for until 18, no?
479: [04:59:52] <Stomach> not for everything
480: [04:59:54] <UncleCheese> oh
481: [04:59:57] <UncleCheese> jesus christ
482: [04:59:57] <irogue_> for basic stuff yes
483: [05:00:02] <irogue_> fillings etc
484: [05:00:02] <UncleCheese> don't emploeyrs give you dental insurance?
485: [05:00:16] <Stomach> we dont have insurance for anything through companies generally
486: [05:00:34] <irogue_> yeah, that's an american thing because health insurance is basically required there in order to not die
487: [05:00:34] <UncleCheese> three things that surprise me about dentistry in NZ:
488: [05:00:44] <UncleCheese> 1) Dentists advertise. A lot
489: [05:01:10] <UncleCheese> 2) They always talk about "we'll figure out what needs to be done." As if you only go to the dentist when there's some thing wrong?
490: [05:01:23] <UncleCheese> 3) They have appointments available
491: [05:01:28] <Stomach> 2 - we do only go when something is wrong because it costs fucking heaps
492: [05:01:37] <simon_w> Oh, you people and your small mouths
493: [05:01:49] <Stomach> simon_w - I still have my wisdom teeth :P
494: [05:01:52] <UncleCheese> yeah, i asked when my net appointment was, and she was like, umm... whenever you feel you need to?
495: [05:01:57] <UncleCheese> and that was like, wtf
496: [05:02:08] <irogue_> lol
497: [05:02:18] <UncleCheese> every six months
498: [05:02:22] <irogue_> and yet, this is one of the arguments i hear from republicans against public healthcare
499: [05:02:30] <irogue_> "people will have to WAIT"
500: [05:02:54] <UncleCheese> even when i did come up with the $2,200 for the wisdom teeth, I had to wait 6 months to give it to the fucker
501: [05:03:06] <UncleCheese> better not miss that appointment
502: [05:03:09] <irogue_> wow
503: [05:03:16] <UncleCheese> and that's standard
504: [05:03:30] <irogue_> when my wisdom went to shit
505: [05:03:40] <irogue_> i called a dentist
506: [05:03:43] <irogue_> they had no appointments that day
507: [05:03:48] <irogue_> so i called another dentist, who did
508: [05:04:13] <UncleCheese> jesus
509: [05:04:21] <UncleCheese> dentists are totally booked out all the time in the us
510: [05:04:28] <UncleCheese> it's like a chance encounter when you find one
511: [05:04:41] <UncleCheese> when you call, the first question is, "are you accepting patients?"
512: [05:04:43] <simon_w> Git 2.0.0's released: http://lkml.iu.edu/hypermail/linux/kernel/1405.3/02592.html?utm_medium=App.net&utm_source=PourOver
513: [05:04:51] * travis-ci has joined #silverstripe
514: [05:04:51] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2643 (3.0 - d764863 : Damian Mooyman): The build passed.
515: [05:04:51] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/083c0e083bfe...d76486344af5
516: [05:04:51] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/26274711
517: [05:04:51] * travis-ci has left #silverstripe
518: [05:05:09] <Colin[pi]> UncleCheese: it's like that here too UC
519: [05:06:15] <irogue_> y'all need more dentists or someshit
520: [05:07:07] * srikanth quit (Ping timeout: 240 seconds)
521: [05:08:06] <Colin[pi]> irogue_: it's the medical profession with the most suicides, apparently
522: [05:08:29] <UncleCheese> yah, no one wnats to be a dentist
523: [05:08:39] <UncleCheese> because no one ever wants to see you
524: [05:08:48] <UncleCheese> Maybe you should lower your fucking prices!
525: [05:08:52] <Colin[pi]> lol
526: [05:09:11] <simon_w> Also, lower your consultation prices too
527: [05:09:25] <Colin[pi]> I've got it! They need to put one of these outside their surgery: http://www.wavyads.com/images/cartoon-eyes.jpg
528: [05:10:00] <UncleCheese> what's new in Git 2.0?
529: [05:10:27] <simon_w> Change the default git push behaviour
530: [05:10:34] <UncleCheese> that's a 2.0 release?!
531: [05:10:39] <UncleCheese> boooooooo
532: [05:11:15] <simon_w> git push has been telling you it'll change for some time
533: [05:11:23] <UncleCheese> oh, git add actually does what you expect now
534: [05:11:26] <UncleCheese> i like that
535: [05:13:54] * jedateach has joined #silverstripe
536: [05:14:03] <irogue_> yes
537: [05:14:04] * jedateach quit (Client Quit)
538: [05:14:06] <irogue_> i also like that
539: [05:14:32] <Stomach> git add confuses me all the time
540: [05:14:37] <Stomach> why doesnt git add * work :D
541: [05:22:25] <Colin[pi]> so my client was introduced to the cms yesterday
542: [05:22:36] <Colin[pi]> I see they've now created all their new pages as virtual pages
543: [05:22:49] <Colin[pi]> and they've added their research pages into the legal links footer area
544: [05:23:13] <Colin[pi]> oh, and put a bunch of pages under a LocationPage, which renders locations from the event calendar
545: [05:23:23] <Colin[pi]> so, in other words... CLIENTS.
546: [05:25:31] <Stomach> hahahaha
547: [05:26:00] <Colin[pi]> I mean... how
548: [05:26:15] <Colin[pi]> I showed them yesterday.. sigh
549: [05:27:17] <irogue_> VIRTUAL PAGES sound way cooler
550: [05:28:46] <Stomach> so internet, much virtual
551: [05:28:58] <Colin[pi]> wow
552: [05:30:58] * aragonne has joined #silverstripe
553: [05:31:34] <jordanmk> hey guys
554: [05:32:17] * babak has joined #silverstripe
555: [05:32:24] <jordanmk> what would be the 'best' way to implement a function that will be used across two different controllers
556: [05:33:18] <jordanmk> to be more specific, i have some GalleryVideo DataObjects that are managed through a ModelAdmin Extension. i have a function that outputs an ArrayList of data based on these DataObjects
557: [05:33:35] <jordanmk> i need to output this on both the Home Page and a Gallery Page, but nowhere else
558: [05:33:41] * DesignerX quit (Ping timeout: 258 seconds)
559: [05:33:51] <jordanmk> is there a better solution than just copy-pasting the same function in both controllers?
560: [05:34:20] <Stomach> put it on page
561: [05:34:39] <Stomach> or make one of those pages extend the other
562: [05:34:45] <Stomach> then put it on the base
563: [05:35:04] <simon_w> jordanmk, static method on GalleryVideo, with simple wrappers on HomePage and GalleryPage
564: [05:35:25] <jordanmk> ah yeah simon_w, that seems like the best option for this particular case
565: [05:36:20] <jordanmk> since Home Page and Gallery Page are very different, with this one function being the only thing they share, so an extend probably wouldn't be best
566: [05:36:42] <jordanmk> and putting the function on page, when it's only going to be used by 2 controllers out of like 15 that exist on the site, doesn't seem the best
567: [05:37:04] <simon_w> jordanmk, or, if you're using PHP 5.4/5.5, http://addons.silverstripe.org/add-ons/simonwelsh/trait-loader and a trait ;)
568: [05:37:48] * an_Eskimo quit (Ping timeout: 240 seconds)
569: [05:45:23] * auto9 quit (Read error: Connection reset by peer)
570: [05:46:12] * auto9_ has joined #silverstripe
571: [05:47:22] * DesignerX has joined #silverstripe
572: [05:52:06] * irogue_ quit (Quit: Textual IRC Client: www.textualapp.com)
573: [06:12:56] * sminnee quit (Quit: sminnee)
574: [06:21:10] <simon_w> Oh man, I'm going to be awake again in just over 12 hours
575: [06:21:57] <Zauberfisch> wait, so poor your only gets 11h sleep?
576: [06:22:26] <simon_w> More likely 6
577: [06:23:15] <simon_w> Waking up 3 hours early
578: [06:24:00] * juliuscaamic has joined #silverstripe
579: [06:24:14] <juliuscaamic> Hello SS!
580: [06:24:21] * juliuscaamic has left #silverstripe
581: [06:24:56] * iamss has joined #silverstripe
582: [06:25:06] <iamss> Hi SS!
583: [06:46:31] * DesignerX quit (Ping timeout: 258 seconds)
584: [06:48:24] * DesignerX has joined #silverstripe
585: [06:50:37] <iamss> is there a way for a dataobject to know what modeladmin is showing the records?
586: [06:51:47] * simon_w|air has joined #silverstripe
587: [07:01:55] * anselmdk has joined #silverstripe
588: [07:02:19] * iamss has left #silverstripe
589: [07:10:41] * iamss has joined #silverstripe
590: [07:10:55] <iamss> Hello Everybody!
591: [07:16:12] * WTF_ has joined #silverstripe
592: [07:16:33] <WTF_> :)
593: [07:17:34] * DesignerX quit (Ping timeout: 258 seconds)
594: [07:20:37] * DesignerX has joined #silverstripe
595: [07:20:48] * WTF_ quit (Ping timeout: 240 seconds)
596: [07:24:03] * Shrike_Finland has joined #silverstripe
597: [07:25:07] * Stomach quit (Ping timeout: 252 seconds)
598: [07:39:48] * DesignerX quit (Ping timeout: 258 seconds)
599: [07:40:26] * DesignerX has joined #silverstripe
600: [07:45:06] * stnvh has joined #silverstripe
601: [07:48:40] <Colin[pi]> you poor thing simon_w :P
602: [07:49:46] * guci0 has joined #silverstripe
603: [07:49:49] <guci0> Hello Moto!
604: [07:53:48] * kinglozzer has joined #silverstripe
605: [07:55:04] <simon_w|air> I know! Is so horrible!
606: [08:08:39] * babak quit (Quit: Connection closed for inactivity)
607: [08:13:58] * UncleChe_ has joined #silverstripe
608: [08:31:13] * Pygrrk has joined #silverstripe
609: [08:34:36] * kinglozz_ has joined #silverstripe
610: [08:34:43] <guci0> if $MenuTitle == "Products" || $Parent.MenuTitle == "Products" Wonderfull :)
611: [08:34:44] * kinglozz_ is now known as kinglozzer_
612: [08:36:42] <kinglozzer_> What if someone renames the page to "Store"? ;)
613: [08:37:51] * kinglozzer quit (Ping timeout: 276 seconds)
614: [08:37:51] <Pygrrk> they should "Store" in their memory that they're not allowed to change the MenuTitle.
615: [08:38:04] <Pygrrk> ;P
616: [08:39:37] * Shrike_Finland quit (Quit: Leaving.)
617: [08:43:03] * Shrike_Finland has joined #silverstripe
618: [08:43:27] * richwestcoast has joined #silverstripe
619: [08:43:48] <iamss> Hello, I have a dataobject managed in the modeladmin. how do I know what modeladmin i am with via a dataobject?
620: [08:44:09] <iamss> because I have 2 modeladmins that associates with my dataobject
621: [08:44:54] <iamss> because I will add a separate code for each modeladmin
622: [08:45:15] <iamss> if modeladmin1 // set separate code
623: [08:45:21] <iamss> if modeladmin2 // set separate code
624: [08:46:32] <kinglozzer_> iamss: Controller::curr()->class possibly
625: [08:46:36] <kinglozzer_> Not sure
626: [08:46:42] * kinglozzer_ is now known as kinglozzer
627: [08:46:47] <guci0> kinglozzer_: not this time. Produts are produts.
628: [08:46:58] <guci0> *c
629: [08:47:50] <aragonne> iamss: non SS methodology, but perhaps you can check the current URL to determine which modeladmin is currently being viewed
630: [08:48:28] <iamss> aragonne: how?
631: [08:51:37] <iamss> Controller::curr()->class works
632: [08:51:41] <aragonne> $_SERVER['PATH_INFO'];
633: [08:52:23] <aragonne> if that works, then kinglozzer's method is definitely more elegant
634: [08:56:17] <Pygrrk> aragonne: nope, Controller::curr()->getRequest()
635: [08:56:24] <Pygrrk> or something
636: [08:56:30] <Pygrrk> I'm sure there's an abstraction for that.
637: [08:56:35] <Pygrrk> although what you say will work.
638: [09:04:08] * auto9 has joined #silverstripe
639: [09:05:56] * auto9_ quit (Ping timeout: 255 seconds)
640: [09:10:04] * micmania1 has joined #silverstripe
641: [09:13:55] * steveheyes has joined #silverstripe
642: [09:14:05] <steveheyes> hi everyone
643: [09:14:36] <steveheyes> my client is wanting to upload a .esp file into the “Files” section in the CMS. It’s currently not allowed. How do I allow it?
644: [09:16:51] * auto9_ has joined #silverstripe
645: [09:17:32] <Pygrrk> add it to the list
646: [09:17:51] <Pygrrk> 2 places
647: [09:18:12] * auto9 quit (Ping timeout: 240 seconds)
648: [09:18:21] <Pygrrk> (probably) a configuration option, and (definitely) an assets/.htaccess problem.
649: [09:18:29] <micmania1> steveheyes: http://doc.silverstripe.org/framework/en/reference/uploadfield#limit-the-allowed-filetypes
650: [09:19:32] <steveheyes> Pygrrk: hello again!
651: [09:19:41] <Pygrrk> hi
652: [09:19:49] <Pygrrk> areet?
653: [09:19:58] <steveheyes> micmania1: Hi - it’s for the actaul upload filed in the “files” section on the right hand side
654: [09:20:04] <steveheyes> yeah good, you?
655: [09:20:12] <Pygrrk> yeh, areet.
656: [09:20:14] <Pygrrk> xD
657: [09:20:21] <micmania1> areet!
658: [09:20:39] <steveheyes> So I’ve tried added allowed_extensions to config.yml but that doesn’t seem to have worked.
659: [09:20:40] <steveheyes> File:
660: [09:20:40] <steveheyes> allowed_extensions:
661: [09:20:41] <steveheyes> - 'esp'
662: [09:20:54] <Pygrrk> yeah but you also need to .htaccess
663: [09:21:00] <steveheyes> and i’m using nginx, so don’t need to worry about .htaccess :)
664: [09:21:17] <Pygrrk> as I say... oh well then your rule for that dir then. same thing, different server.
665: [09:21:25] <Pygrrk> if you don't have one... probably should :<
666: [09:21:40] <Pygrrk> no one ever sets up nginx right :<
667: [09:22:12] <steveheyes> ha, it’s helpful if you spell the file type right!
668: [09:22:12] <Pygrrk> tends to get slap hazard 'working' then everyone just goes "good enough"!
669: [09:22:25] <steveheyes> eps not esp!
670: [09:22:29] <micmania1> ha
671: [09:23:13] <Pygrrk> eep
672: [09:23:32] <Pygrrk> vector files > mind reading file.
673: [09:23:42] <Pygrrk> x>
674: [09:27:37] * guci0_ has joined #silverstripe
675: [09:28:48] * guci0 quit (Ping timeout: 240 seconds)
676: [09:34:32] * steveheyes quit (Quit: steveheyes)
677: [09:38:31] * auto9 has joined #silverstripe
678: [09:39:48] * auto9_ quit (Ping timeout: 240 seconds)
679: [09:44:50] <Pygrrk> guys guys stev...oh and micmania1, kinglozzer ... halp!
680: [09:45:03] <Pygrrk> what the hell is the difference between a hot chocolate, and a hot chocolate with milk?
681: [09:45:27] <Pygrrk> Hot chocolates are made with milk, so ... do they add extra or something? idek!
682: [09:45:33] <Pygrrk> :<
683: [09:46:26] <kinglozzer> Pygrrk: If it doesn't say "with milk", it's made with water
684: [09:46:29] <kinglozzer> :P
685: [09:46:40] <micmania1> milk++
686: [09:46:49] <kinglozzer> Just powder + hot water, maybe some milk powder in there but
687: [09:53:34] <ss23> hehehe, there's a type of colon cancer called "FAP"
688: [09:55:54] <Colin[pi]> who the fuck makes hot chocolate with water?
689: [09:58:32] <Pygrrk> Colin[pi]: ikr
690: [09:58:36] <Pygrrk> well... everyone to be fair
691: [09:58:48] <Pygrrk> chocolate powder, water to mix, THEN the milk.
692: [09:58:52] <Pygrrk> Like a flat white.
693: [10:00:03] <ss23> Pygrrk: I don't
694: [10:00:17] <ss23> I mix cold milk and chocolate powder, then just use the milk frother thingy on it
695: [10:00:20] * iamss quit (Quit: iamss)
696: [10:00:37] <ss23> it mixes the shit out of it, disolves it, and leaves me with delicious chocolate flavoured milk foam (which is a big part lacking of normal frothed milk hot chocolates!)
697: [10:14:50] <micmania1> Was there not a Form->performReadonlyTransformation()?
698: [10:15:17] * richwestcoast quit (Quit: My iMac has gone to sleep. ZZZzzz…)
699: [10:15:53] * richwestcoast has joined #silverstripe
700: [10:16:19] <micmania1> I must be imagining things :(
701: [10:21:54] <micmania1> http://api.silverstripe.org/3.1/class-Form.html#_makeReadonly - GOTCHA!
702: [10:29:35] <ss23> XD
703: [10:29:39] <ss23> Hard to find!
704: [10:36:05] <Pygrrk> ss23: yea, same diff. Still choca (pun!) full of milk.
705: [10:36:19] <Pygrrk> So, surprise meetings. What fun.
706: [10:39:31] * Shrike_Finland quit (Quit: Leaving.)
707: [10:40:06] * Shrike_Finland has joined #silverstripe
708: [10:40:25] * simon_w|air quit (Quit: This computer has gone to sleep)
709: [10:40:46] <Pygrrk> also, fuck. Skoda Octavia Hatch.
710: [10:40:58] * Pygrrk thought octavia was a large sedan, googles.
711: [10:41:17] <Pygrrk> THAT'S A FUCKING LIFTBACK, not hatchback :<
712: [10:45:27] * iamss has joined #silverstripe
713: [10:45:38] * iamss has left #silverstripe
714: [11:08:13] <UncleChe_> could the api for css transitions be any more overengineered?
715: [11:08:29] <ss23> lol
716: [11:08:33] <ss23> I thought that too when Iw as using them
717: [11:08:41] <UncleChe_> seriously
718: [11:08:51] <UncleChe_> and it's not because of vendor prefixes
719: [11:08:54] <ss23> And they're also in that "OMG GOTTA OPTIMIZE" state so I got a bunch of performance related bugs that would optimize all my transitions
720: [11:08:57] <ss23> :(
721: [11:09:05] <UncleChe_> translate3d()?
722: [11:09:13] <UncleChe_> how about... -webkit-move-down
723: [11:09:28] <ss23> That being said, it *is* a complex issue
724: [11:09:36] <ss23> UncleChe_: You know, anyone can contribute to w3c
725: [11:09:37] <ss23> ;)
726: [11:09:43] <UncleChe_> oh?
727: [11:09:44] <ss23> Wanna get on a committe? I hear they have free drama!
728: [11:10:17] <ss23> More seriously, if you *really* want to know, the minutes and decisions are normalyl really open etc
729: [11:10:27] <ss23> (At least, I'm told they are, I've never bothered to look at *why* it's done how it is...)
730: [11:23:48] * micmania1 quit (Ping timeout: 240 seconds)
731: [11:24:16] * micmania1 has joined #silverstripe
732: [11:26:05] <ss23> irogue__: yo, not sure if you care, but on http://www.draytek.net.nz/draytek/support/vigor2830-upgrading-to-3-6-4/, Vigor2850 and variants, standard, http://downloads.snappernet.co.nz/draytek/dv2850/3.6.4.1/Vigor2850_v3.6.4.1_A_STD.zip gives a 404
733: [11:26:17] <ss23> so does the alt
734: [11:26:18] <ss23> :(
735: [11:27:11] * richwestcoast quit (Quit: My iMac has gone to sleep. ZZZzzz…)
736: [11:36:02] * richwestcoast has joined #silverstripe
737: [11:38:05] * simon_w quit (Quit: This computer has gone to sleep)
738: [11:41:27] <Pygrrk> Are you starting a revolution UncleChe_ ?
739: [11:41:37] <UncleChe_> aye?
740: [11:41:52] <Pygrrk> 'coz I can tell you now, it ain't gonna be ese.
741: [11:42:35] <Pygrrk> UncleChe_: or did you discover the Fu? http://www.youtube.com/watch?v=7cVSGJklTzM
742: [11:53:24] * shellbackpacific has joined #silverstripe
743: [11:54:37] * oetiker quit (Ping timeout: 252 seconds)
744: [11:55:48] * shellbackpacifi1 has joined #silverstripe
745: [11:55:56] * stnvh quit ()
746: [11:55:58] * shellbackpacifi1 quit (Client Quit)
747: [11:56:23] * UncleChe_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
748: [11:57:28] * oetiker has joined #silverstripe
749: [11:57:47] * shellbackpacific quit (Ping timeout: 258 seconds)
750: [11:58:42] * stnvh has joined #silverstripe
751: [12:00:31] * shellbackpacifi1 has joined #silverstripe
752: [12:01:51] <Colin[pi]> <Pygrrk> well... everyone to be fair
753: [12:02:02] <Colin[pi]> naw dude.. choc and frothy milk
754: [12:02:09] <Colin[pi]> well that's how I roll
755: [12:02:09] <Colin[pi]> :D
756: [12:03:25] * oetiker quit (Ping timeout: 252 seconds)
757: [12:05:42] * oetiker has joined #silverstripe
758: [12:10:12] * richwestcoast quit (Quit: My iMac has gone to sleep. ZZZzzz…)
759: [12:12:51] * UndefinedOffset has joined #silverstripe
760: [12:21:08] * auto9 quit (Read error: Connection reset by peer)
761: [12:24:00] * auto9 has joined #silverstripe
762: [12:34:09] * anselmdk quit (Quit: anselmdk)
763: [12:35:44] * DesignerX quit (Ping timeout: 258 seconds)
764: [12:37:23] * DesignerX has joined #silverstripe
765: [12:41:15] * Shrike_Finland quit (Quit: Leaving.)
766: [12:55:28] * Shrike_Finland has joined #silverstripe
767: [12:57:45] * richwestcoast has joined #silverstripe
768: [13:01:46] <guci0_> Why after valid NumericField returns "0" ?
769: [13:01:55] * guci0_ is now known as guci0
770: [13:03:34] <guci0> https://github.com/silverstripe/silverstripe-framework/issues/2161
771: [13:06:12] <guci0> Ok, added NumericField.php and class, works!
772: [13:07:18] * auto9 quit (Remote host closed the connection)
773: [13:13:39] <Pygrrk> zzzzziezta!
774: [13:18:17] <guci0> Hmmm... How to set cutom css class with extends Form? (After form send)
775: [13:18:24] <guci0> *custom
776: [13:18:38] <Pygrrk> ??
777: [13:19:01] <Pygrrk> you could set a form message
778: [13:19:04] <Pygrrk> if that'll do.
779: [13:19:14] <Pygrrk> otherwise you'll need to test for your successful submission
780: [13:19:18] <Pygrrk> somehow
781: [13:19:54] <guci0> I need add class to <form> after "try" send
782: [13:20:25] <Pygrrk> do it in template
783: [13:20:34] <Pygrrk> <% if errors ...
784: [13:20:38] <Pygrrk> or whatever it is
785: [13:20:52] <Pygrrk> MessageType == Error or something
786: [13:20:54] <guci0> This was a second option ;)
787: [13:21:13] <Pygrrk> well you said it's a subclass, so a custom template is no big deal.
788: [13:27:58] * Shrike_Finland quit (Quit: Leaving.)
789: [13:29:31] * gelignite has joined #silverstripe
790: [13:32:28] * DesignerX quit (Ping timeout: 258 seconds)
791: [13:33:13] * Shrike_Finland has joined #silverstripe
792: [13:43:27] * catcher has joined #silverstripe
793: [13:49:20] * Shrike_Finland quit (Quit: Leaving.)
794: [13:55:57] <kinglozzer> Fuck I love IE8, absolutely positioned anchor can't be clicked *unless* you set background-image: url('about:blank');
795: [13:55:59] <kinglozzer> WTF?!
796: [13:56:26] * scpi has joined #silverstripe
797: [13:57:43] <Pygrrk> kinglozzer: hahahaha, brilliant!
798: [13:57:49] <catcher> kinglozzer, life would be too boring without IE 6-8.
799: [13:58:27] <kinglozzer> Yeah :| this particular site is great fun for IE.. responsive, with parallax animations
800: [13:58:44] <Pygrrk> why is IE8 a requsite then!?
801: [13:58:58] <Pygrrk> HEY DICKS, WELCOME TO THE FUTURE
802: [13:59:16] <kinglozzer> Pygrrk: No idea, not our client :P
803: [13:59:20] <Pygrrk> you know how MS doesn't support XP anymore? How about I come over and install 3.11 for workgroups?
804: [13:59:31] <Pygrrk> what do you mean you don't have a floppy drive?
805: [13:59:37] <Pygrrk> ring your IT support, this is outrageous
806: [14:03:37] <Pygrrk> kinglozzer: but your client is their client's adviso
807: [14:03:38] <Pygrrk> r
808: [14:03:50] <Pygrrk> throw it back down the chain
809: [14:05:39] <kinglozzer> Meh, it's all jQuery/velocityjs based anyway so it doesn't add too much time thankfully
810: [14:05:51] <kinglozzer> respond.js for IE8, no responsive for IE7
811: [14:05:51] <Pygrrk> velocityjs you say eh
812: [14:05:53] <kinglozzer> sorted
813: [14:05:58] <Pygrrk> win
814: [14:06:52] * auto9 has joined #silverstripe
815: [14:07:44] <Pygrrk> hmm, velocity sounds interesting
816: [14:09:49] <kinglozzer> Pygrrk: It's good, works prettymuch the same as jQuery.animate(), falls back to it in old IE, just much smoother
817: [14:10:47] <Pygrrk> yeah I read.
818: [14:12:39] * anselmdk has joined #silverstripe
819: [14:14:12] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
820: [14:52:22] <catcher> Anyone aware of a way to make the CMS SiteTree width adjustable?
821: [14:52:24] <catcher> Or at least larger?
822: [14:56:03] * Shrike_Finland has joined #silverstripe
823: [14:58:46] <shellbackpacifi1> on the backend…when creating a tab and adding fields - is there a way to change the label next to a field in $db ? Example: I have a field called: "URL" and I would like the label to say "External URL" but i don't want to change the db field name
824: [15:02:52] <micmania1> shellbackpacifi1: TextField::create("DBName", "Field Label")
825: [15:04:17] <shellbackpacifi1> micmania1: thanks i'll give that a shot
826: [15:15:43] * Shrike_Finland1 has joined #silverstripe
827: [15:15:43] * Shrike_Finland quit (Read error: Connection reset by peer)
828: [15:16:32] <richwestcoast> Hey guys, i have $conf=GridFieldConfig_RelationEditor::create("50");
829: [15:16:36] * Shrike_Finland has joined #silverstripe
830: [15:16:37] <richwestcoast> but it shows only 10 results
831: [15:16:50] * Shrike_Finland1 quit (Read error: Connection reset by peer)
832: [15:16:50] <richwestcoast> and iv done a ?flush=1 and a dev/build after changing it
833: [15:16:56] <richwestcoast> none of it works
834: [15:17:02] <richwestcoast> anyone else have this issue?
835: [15:18:56] <richwestcoast> Okay nevermind fixed it
836: [15:26:46] * auto9 quit (Quit: -a- Connection Timed Out)
837: [15:27:03] * auto9 has joined #silverstripe
838: [15:33:02] * jenniferaslan has joined #silverstripe
839: [15:41:13] <shellbackpacifi1> hmm: the method 'fortemplate' does not exist on 'SiteTree' …. any idea?
840: [15:47:28] <micmania1> You're trying to render SiteTree directly which wont work.
841: [15:48:50] <shellbackpacifi1> hmm…i'm using it as a has_one in a DataObject class for the backend…this is a bad approach? :)
842: [15:49:41] <shellbackpacifi1> if i wanted to render a sitetree on a tab for a page and tie it to a model, what's the best approach?
843: [15:49:54] <micmania1> That's fine. Its how you're using it that's the issue.
844: [15:50:26] <micmania1> You want to tie a single model to a single page?
845: [15:50:54] <micmania1> Just use a dropdown field.
846: [15:51:03] * CodeStylist has joined #silverstripe
847: [15:51:21] <shellbackpacifi1> so load a dropdown with a sitetree ?
848: [15:51:48] <micmania1> Are you adding a DataObject to a Page or a Page to a DataObject?
849: [15:52:13] <shellbackpacifi1> a data object to a page
850: [15:53:07] <micmania1> so... DropdownField::create("DataObjectFieldID", "My DataObject", DataObject:;get()->map())
851: [15:53:42] <shellbackpacifi1> L35
852: [15:53:49] <shellbackpacifi1> err
853: [15:53:53] <shellbackpacifi1> sorry wrong window
854: [15:54:16] <catcher> What's the 3.1 css class to left-align a cms field?
855: [15:54:26] <CodeStylist> Hi! Does anyone use Silverstripe with nginx? I get a class not found error on accessing admin area.
856: [15:57:15] <CodeStylist> frontend works as expected
857: [15:57:46] <micmania1> catcher: is it not just 'left' ?
858: [15:57:57] <Pygrrk> shellbackpacifi1: also $fields->fieldByName('URL')->setTitle('External URL')
859: [15:58:10] <catcher> micmania1, doesn't appear to be, not they way addExtraClass applies it anyway
860: [15:58:20] <catcher> I think it was 'stacked' or something in 2.4
861: [15:58:24] <micmania1> CodeStylist: does the class exist?
862: [15:58:35] <micmania1> catcher: oh that, yeah it was stacked
863: [15:58:44] * Shrike_Finland quit (Quit: Leaving.)
864: [15:58:52] <shellbackpacifi1> Pygrrk: $fields->renameField('URL', 'External URL'); did it for me. Thanks
865: [15:58:54] <Pygrrk> catcher: 'left'
866: [15:59:10] <Pygrrk> shellbackpacifi1: yeh that'll do it too. pro tip: api.silverstripe.org
867: [15:59:11] <Pygrrk> ;)
868: [15:59:17] <Pygrrk> search FormField
869: [15:59:17] <shellbackpacifi1> yerp :)
870: [15:59:19] <Pygrrk> :>
871: [15:59:22] <catcher> Pygrrk, no worky, continues to chill in the middle
872: [15:59:23] <shellbackpacifi1> cool thanks
873: [15:59:28] * Shrike_Finland has joined #silverstripe
874: [15:59:30] <Pygrrk> catcher: your loss then!
875: [15:59:33] <Pygrrk> hack the css!
876: [15:59:43] <CodeStylist> micmania1: yes it is SS_Report. It is anew installation on SS 3.1.5
877: [15:59:49] <Pygrrk> add #thatfield to your typography.css without the namespacing!
878: [15:59:50] <Pygrrk> idk
879: [16:00:12] <catcher> I'll get creative and remove the need for the checkbox.
880: [16:00:20] <Pygrrk> catcher: addAttribute('style', 'float:left') idk
881: [16:01:13] <Pygrrk> CodeStylist: but reports are a module now.
882: [16:01:18] <Pygrrk> best you go install the module first hmm?
883: [16:01:21] <Pygrrk> :>
884: [16:01:30] <Pygrrk> the parent being missing I'd guess.
885: [16:01:49] <Pygrrk> iirc
886: [16:03:19] <CodeStylist> hmm strange. It work on apache without any problems.
887: [16:04:12] <micmania1> CodeStylist: Can you actually locate the class in your nginx install? root/cms/code/reports/Report.php
888: [16:05:41] <Pygrrk> Did you flush manifest?
889: [16:05:46] <Pygrrk> before porting
890: [16:07:03] <CodeStylist> micmania1: hmm Report.php isnt there right
891: [16:07:35] <CodeStylist> but it is a fresh installation.
892: [16:08:23] <micmania1> You're probably using the master branch then which is 3.2 (unstable)
893: [16:08:57] <CodeStylist> ok thanks for your hints I'll try something out.
894: [16:08:58] <micmania1> CodeStylist: how did you install it?
895: [16:09:28] * ^pH quit (Read error: Connection reset by peer)
896: [16:09:36] * ^pH has joined #silverstripe
897: [16:09:36] <CodeStylist> micmania1: downloaded it from the ss website
898: [16:09:51] <CodeStylist> called install.php
899: [16:12:34] <micmania1> I just tried a download it was the correct version (inc Report.php)
900: [16:12:41] <micmania1> I'd suggest re-downloading it.
901: [16:13:34] <shellbackpacifi1> micmania1: yeah i think you're right. I think the issue is with me trying to render the sitetree in a GreidField
902: [16:13:45] <shellbackpacifi1> *GridField
903: [16:14:36] * oetiker quit (Read error: Connection reset by peer)
904: [16:15:14] <CodeStylist> micmania1: ok, maybe I messed things up ... thx :-)
905: [16:16:27] * oetiker has joined #silverstripe
906: [16:18:46] * kinglozzer quit ()
907: [16:19:18] * CodeStylist quit (Ping timeout: 240 seconds)
908: [16:19:39] <shellbackpacifi1> micmania1: is it possible to add only the selected SiteTree value to a GridField?
909: [16:21:38] <shellbackpacifi1> hm maybe just a fieldlist that i populate manually
910: [16:31:36] * stnvh quit ()
911: [16:33:46] * oetiker quit (Read error: Connection reset by peer)
912: [16:35:53] * oetiker has joined #silverstripe
913: [16:41:19] * oetiker quit (Read error: Connection reset by peer)
914: [16:43:55] * shellbackpacifi1 quit (Quit: Leaving.)
915: [16:44:46] * jenniferaslan quit (Quit: jenniferaslan has left the room)
916: [16:54:17] * jenniferaslan has joined #silverstripe
917: [16:55:54] * richwestcoast quit (Quit: Textual IRC Client: www.textualapp.com)
918: [16:56:10] * oetiker has joined #silverstripe
919: [17:12:31] * anselmdk quit (Quit: anselmdk)
920: [17:31:10] * Azure_ has joined #silverstripe
921: [17:33:50] * Azure quit (Ping timeout: 265 seconds)
922: [18:12:21] * Azure_ is now known as Azure
923: [18:12:53] * auto9 quit (Read error: Connection reset by peer)
924: [18:13:32] * auto9 has joined #silverstripe
925: [18:14:51] * auto9 quit (Read error: Connection reset by peer)
926: [18:15:18] * sumerdai has joined #silverstripe
927: [18:15:57] * auto9 has joined #silverstripe
928: [18:15:58] <sumerdai> Hi.
929: [18:16:26] <sumerdai> I am upgrading to 3.1, and getting an error Undefined variable: ThemeDir
930: [18:16:38] <sumerdai> I am sure I m doing something silly, but can't find iit
931: [18:17:18] * Pygrrk quit (Ping timeout: 240 seconds)
932: [18:19:02] <catcher> sumerdai, where are you using that variable?
933: [18:19:42] <sumerdai> I was trying to update my themes to take advantage of new features
934: [18:21:12] * Pyromanik has joined #silverstripe
935: [18:21:26] <catcher> sumerdai, if you're in a .ss file, $ThemeDir should work fine.
936: [18:21:31] * shellbackpacific has joined #silverstripe
937: [18:21:36] * scpi quit (Quit: naptime)
938: [18:23:18] <sumerdai> got it. I had moved it into Page.php, as the note in the simple theme said to do
939: [18:23:32] <sumerdai> I knew it was something little, thanks for helping me find it
940: [18:24:31] <catcher> np
941: [18:24:42] * jenniferaslan quit (Quit: jenniferaslan has left the room)
942: [18:27:42] * jenniferaslan has joined #silverstripe
943: [18:28:47] * anselmdk has joined #silverstripe
944: [18:31:29] <sumerdai> anyone have ideas on how to get Eclipse to stop throwing invalid character used in text string for <%?
945: [18:31:29] * auto9 quit (Read error: Connection reset by peer)
946: [18:32:18] * auto9_ has joined #silverstripe
947: [18:33:26] * shellbackpacific quit (Quit: Leaving.)
948: [18:38:36] * shellbackpacific has joined #silverstripe
949: [18:48:42] * shellbackpacific quit (Quit: Leaving.)
950: [19:01:56] <catcher> sumerdai, emacs or die for me :)
951: [19:03:08] <sumerdai> yeah, I might give up on eclipse. I was trying to get UndefinedOffset's eclipse tools running
952: [19:03:41] <catcher> Do you have a link to his tools? I've been mildly curious about eclipse + ss
953: [19:03:57] * scpi has joined #silverstripe
954: [19:04:27] <UndefinedOffset> sumerdai eh whats up?
955: [19:04:38] <UndefinedOffset> having problems?
956: [19:05:06] <catcher> UndefinedOffset, are you generally happy w/ Eclipse + SS?
957: [19:05:08] <catcher> linux?
958: [19:05:29] <sumerdai> hi. just trying to gt your tools setup in eclipse, but getting syntax errors anywhere ther is a <% in .ss files
959: [19:05:35] <UndefinedOffset> I'm on windows, but ya its fine :)
960: [19:06:28] <UndefinedOffset> sumerdai ya... i know :( I need to write a error checker but thats over my head :D https://github.com/UndefinedOffset/eclipse-silverstripedt/issues/2
961: [19:06:49] <UndefinedOffset> sumerdai right now its trying to validate ss templates as html which is why your getting the errors, i just work around them
962: [19:07:07] <sumerdai> lol, okay.
963: [19:07:38] <UndefinedOffset> catcher with my eclipse plugin it's been allot easier, though like i just said to sumerdai it freaks out the html validator for obvious reasons lol
964: [19:07:48] <catcher> <-- back to emacs or die
965: [19:08:15] <UndefinedOffset> other than that i get full code completion, and it surfaces documentation for framework and cms
966: [19:09:38] <sumerdai> it seems to be a great plugin. Thanks for all the hard work
967: [19:10:08] <UndefinedOffset> np :) allot of my projects come from my own need/want lol this being one of them
968: [19:15:47] <UndefinedOffset> sumerdai best shortcut for that plugin alt+shift+x then b, runs dev/build course you need to set the path to the ss site in the project's preferences
969: [19:16:27] <sumerdai> thaks - I did see that in your notes. It is likely to be very helpful!
970: [19:18:07] <UndefinedOffset> ya i very rairly have dev/build open in my browser now lol
971: [19:18:30] <UndefinedOffset> i'm thinking of also hooking in dev/tasks and dev/tests too somehow but haven't got to it yet
972: [19:19:04] * shellbackpacific has joined #silverstripe
973: [19:32:05] <Pyromanik> <catcher> sumerdai, if you're in a .ss file, $ThemeDir should work fine.
974: [19:32:12] <Pyromanik> Only if a theme is set!
975: [19:32:37] <Pyromanik> sumerdai, phpstorm is where it's at apparently.
976: [19:32:39] <catcher> Pyromanik, that wouldn't 'Undefined variable' though
977: [19:32:51] <Pyromanik> Personally I just notepad++, although sublime seems pretty boss mode too
978: [19:33:25] <sumerdai> yeah, trying to pick which platform I like best.
979: [19:33:28] <Pyromanik> <% is asp tag, so just automagic picks up.
980: [19:33:47] <Pyromanik> except one issue where ' is comment open, and there's apparently no comment close :/
981: [19:34:20] <Pyromanik> so first thing I do when I open an SS file is find/replace ' with " (if I need to) - I do it mostly manually, because attributes should be "
982: [19:34:29] <Pyromanik> oh wait, yeah nah automatic.
983: [19:34:33] <Pyromanik> I mean
984: [19:34:35] <Pyromanik> *** :<
985: [19:36:02] <Pyromanik> UndefinedOffset, running dev/build not in browser would cause permissions issues in older versions and separate manifest issues in newer versions though, no?
986: [19:39:41] <UndefinedOffset> nop :) because it sorta runs inside of eclipse via eather the internal browser, or a system browser but all from inside eclipse
987: [19:39:52] <UndefinedOffset> so the webserver still handles the request :)
988: [19:40:22] <shellbackpacific> why would a published page go to: "/technology-training/how-to-create-an-adobe-id?stage=Stage" but not find "/technology-training/how-to-create-an-adobe-id" ?
989: [19:41:00] <UndefinedOffset> is the parent page published?
990: [19:41:07] <shellbackpacific> yes
991: [19:41:30] <shellbackpacific> nevermind found it :0)
992: [19:41:49] <shellbackpacific> there were multiple parents and one wasn't..thought i had them all
993: [19:52:17] <Pyromanik> shellbackpacific, use the bulk actions tool (top of site tree) for ease! :)
994: [19:52:39] <Pyromanik> UndefinedOffset, ah yeh. That's kinda cool.
995: [19:52:48] <Pyromanik> I figured it'd be using sake (or the like).
996: [19:52:58] * auto9_ quit (Remote host closed the connection)
997: [19:53:17] <shellbackpacific> pyromanik: nice
998: [19:56:11] <UndefinedOffset> Pyromanik i thought of that but i realized its a pain for the permissions issue alone
999: [19:59:50] * Stomach has joined #silverstripe
1000: [20:02:21] <shellbackpacific> calling 'renameField' on a SiteTree item in getCMSFields() doesn't rename the label in the CMS tab….anyone know what'll do it? sorry i have so many questions :)
1001: [20:02:54] <Stomach> you can probably replace it instead
1002: [20:06:58] <shellbackpacific> stomach: how does that work exactly? I see replaceField in FieldList but how does that work in the database? Would the field itself get replaced?
1003: [20:07:15] <Stomach> it just replaces the field on the front end
1004: [20:07:57] * antmas has joined #silverstripe
1005: [20:07:57] <shellbackpacific> so i'd replace the entire sitetree widget…with another sitetree?
1006: [20:08:07] <Stomach> so if you have Title field, you can do $fields->replaceField('Title', new TextField('Title', 'Other Title'));
1007: [20:09:43] * Kingy[a] is now known as Kingy
1008: [20:09:53] <Kingy> Morena
1009: [20:10:10] <Stomach> oh hai
1010: [20:10:22] <Stomach> shellbackpacific - is that what you are trying to do, just rename one field?
1011: [20:10:47] <shellbackpacific> yeah…but is a SiteTree that is a has_one relationship in the DataObject class...
1012: [20:10:57] <shellbackpacific> db fields in the class are easy to rename
1013: [20:11:08] <Stomach> can you post your code? I don't understand what you mean sorry
1014: [20:11:21] <shellbackpacific> no worries i appreciate you taking the time..one sec
1015: [20:11:55] <antmas> moin moin all
1016: [20:12:41] <shellbackpacific> http://pastebin.com/6i12KmKt
1017: [20:12:48] <shellbackpacific> Stomach: ^ :)
1018: [20:12:56] <Kingy> hey antmas
1019: [20:13:38] * mobiusnz1 quit (Ping timeout: 240 seconds)
1020: [20:13:44] * mobiusnz has joined #silverstripe
1021: [20:13:59] <Stomach> $fields->renameField('I_URLID', Internal URL'))
1022: [20:14:03] <Stomach> shellbackpacific ^
1023: [20:14:48] <Stomach> when it puts has_ones into the field list it adds the ID parameter to the name, same as what its called in the database
1024: [20:14:50] <Stomach> hey antmas
1025: [20:15:32] <shellbackpacific> stomach: nailed it thanks!
1026: [20:15:39] <antmas> Stomach: yoyoyoyoyo
1027: [20:15:41] <Stomach> np :)
1028: [20:17:50] <Pyromanik> hihi
1029: [20:18:21] <Stomach> what is up
1030: [20:19:51] <Kingy> friday.. long weekend...
1031: [20:20:20] * oddnoc has joined #silverstripe
1032: [20:20:29] * SightUnseen has joined #silverstripe
1033: [20:20:42] * SightUnseen has left #silverstripe
1034: [20:21:49] <Pyromanik> winning Kingy
1035: [20:22:00] <Kingy> absolutely
1036: [20:22:06] <Kingy> and I'm going away for the weekend
1037: [20:22:07] <Kingy> even better
1038: [20:22:09] <Pyromanik> Why is it a holiday?
1039: [20:22:23] <Kingy> yeah queens birthday
1040: [20:22:29] <Pyromanik> o.0
1041: [20:22:39] <Kingy> :)
1042: [20:22:48] * sumerdai quit (Ping timeout: 240 seconds)
1043: [20:23:24] <Pyromanik> Canada has a queen?
1044: [20:23:47] <Kingy> New Zealand
1045: [20:23:55] <Kingy> but yes we're apart of the Commonwealth
1046: [20:23:56] <scpi> They're still part of the commonwealth.
1047: [20:24:09] <Kingy> so technically the Brits own us
1048: [20:24:11] <scpi> so is Canada, actually
1049: [20:24:17] <Kingy> ^
1050: [20:24:54] <antmas> should've taken today off
1051: [20:24:56] <antmas> dang
1052: [20:27:16] <Kingy> I have no leave left at the moment
1053: [20:27:32] <Kingy> and If i want any sort of decent xmas I need to save up
1054: [20:27:51] <antmas> I have 3 days left from last year
1055: [20:28:01] <antmas> so, I should have 6 weeks by xmas
1056: [20:28:39] <Kingy> not bad!
1057: [20:28:44] <Kingy> I just had a month off
1058: [20:28:47] <Kingy> so I used all mine
1059: [20:28:59] <antmas> guts
1060: [20:29:42] <antmas> we get 4 weeks standard, then 1 week as part of employee bonus, then 3 extra days if you want (or can be used as extra super ann)
1061: [20:29:43] <Kingy> eh it was worth it
1062: [20:29:46] <antmas> pretty awesome deal
1063: [20:29:56] <Kingy> that's actually pretty good
1064: [20:30:03] <Kingy> we just get standard 4 weeks then cash bonus
1065: [20:30:09] <Stomach> we only get four weeks
1066: [20:30:11] <Stomach> :(
1067: [20:30:44] <shellbackpacific> get 2 weeks here in the US :P
1068: [20:31:45] <antmas> 11 days sick leave
1069: [20:31:57] <Stomach> yeah I take all my sick leave
1070: [20:32:41] <shellbackpacific> 6 sick days here haha….we're workaholics here (or slaves - depends on who you talk to)
1071: [20:32:48] <Stomach> slaves :P
1072: [20:32:56] <Stomach> nobody is a workaholic, thats not a real thing
1073: [20:32:58] <shellbackpacific> i'm in denial
1074: [20:33:26] <antmas> yeah I end up having to use all of mine just because I have a kid :p
1075: [20:33:30] <Stomach> if you paid anyone the same they made in work to do whatever they liked, some might work, but that just means they enjoy it not that they love "working"
1076: [20:33:31] <antmas> they use most of it
1077: [20:34:53] <shellbackpacific> yeah i have 2 little ones…i hear you there
1078: [20:35:12] <shellbackpacific> one gets sick and it's chaos for a week
1079: [20:37:48] <antmas> yup
1080: [20:38:11] <shellbackpacific> stomach: yeah (on being a workaholic)…i would say i DO love it. I do it for fun even outside of work
1081: [20:38:34] <Stomach> I don't make websites for fun outside of work though, i play around with other much cooler tech
1082: [20:38:41] <shellbackpacific> yeah
1083: [20:38:47] <Stomach> like theres no way in hell im programming a complicated filter system just for kicks
1084: [20:40:32] <shellbackpacific> haha..yeah i agree there…i'm being a bit loose with it i guess. I've been trying to get into electronics hacking (raspberry pi gpio, etc) for a while now
1085: [20:41:19] <catcher> that stuff is fun, GPIO ftw
1086: [20:41:20] <Kingy> ohh I have a raspberry pi. Quite fun
1087: [20:41:49] <Kingy> Just need to find something fun to do with it
1088: [20:41:53] <antmas> I should get a hobby outside of the Battlefield games :/
1089: [20:41:56] <catcher> but of course I end up making web-based controllers :-P
1090: [20:42:29] <shellbackpacific> it's the electronics portion that is taking me forever to learn: transistors, resistors, circuits, etc.
1091: [20:42:34] <shellbackpacific> python is easy
1092: [20:43:14] <Stomach> I spent a long time in my youth putting bread boards together, that was fun
1093: [20:43:15] <Kingy> the pi makes that stuff rather easy
1094: [20:43:18] * guci0 quit (Ping timeout: 240 seconds)
1095: [20:43:19] <catcher> yeah, me too.. I had an EE do my circuits homework in college, and I did his programming.
1096: [20:43:21] <Stomach> tripwires for mum lolololol
1097: [20:43:30] <shellbackpacific> haha
1098: [20:43:31] <antmas> If I got into that ^^^ I'd find it fun to just automate stuff around the house
1099: [20:43:40] <Kingy> I got a couple of the temp/humidity sensors
1100: [20:43:45] <Kingy> had a plan to make a mini weather station
1101: [20:43:52] <shellbackpacific> yaeh the temp sensors are fun
1102: [20:44:08] * Ryan-Toast has joined #silverstripe
1103: [20:44:12] <Kingy> also got a mini LCD display but never got round to hooking it up
1104: [20:44:15] <shellbackpacific> ithere's a cool python jabberbot lib to you can use to process commands
1105: [20:44:23] <antmas> I wanted to make an automated blind shutter/curtain puller thing
1106: [20:44:40] <antmas> light sensors etc
1107: [20:45:32] <Pyromanik> irssi on canadian server then Kingy?
1108: [20:45:53] <Pyromanik> I guessed you were a Kiwi from your name, but whois says canada :<
1109: [20:46:00] <Kingy> yes
1110: [20:46:10] <Kingy> well bnc not irssi but yes in canada
1111: [20:47:24] <Pyromanik> much datas, very throughput
1112: [20:47:29] <Pyromanik> must be a giganaire
1113: [20:48:47] * Shrike_Finland quit (Quit: Leaving.)
1114: [20:49:06] * anselmdk quit (Quit: anselmdk)
1115: [20:51:51] <Ryan-Toast> Morning, Pyro :)
1116: [20:58:20] * UndefinedOffset quit (Quit: Leaving.)
1117: [21:01:22] <bridgetm> .clear
1118: [21:01:32] <Stomach> indeed
1119: [21:01:33] <Stomach> .clear
1120: [21:01:42] <bridgetm> ><'
1121: [21:04:37] * catcher quit (Quit: Leaving)
1122: [21:04:40] * shellbackpacific quit (Quit: Leaving.)
1123: [21:06:35] * hamish_ has joined #silverstripe
1124: [21:06:49] * zippy__ has joined #silverstripe
1125: [21:06:54] <zippy__> Mornings
1126: [21:06:59] * hamish_ is now known as Guest19771
1127: [21:08:05] <Pyromanik> giddays
1128: [21:08:53] <zippy__> With a form, I have it on all pages (a footer form), but I don't want to add the allowed action to all the pages, so I am thinking I need to set a default action to go to a single page (such as home or contact)
1129: [21:09:30] <Pyromanik> zippy__, a controller, yeh
1130: [21:10:34] <Pyromanik> EveryPage::Form(){ return FormController::create()->Form(); }
1131: [21:10:37] <Pyromanik> usually easiest
1132: [21:12:44] <Pyromanik> LoL Stella Artois Cidre
1133: [21:13:15] <Pyromanik> So people who don't like beer can beat their wives too :<
1134: [21:14:46] <Guest19771> Hey guys wondering if anyone can help with something - i’m having a problem where content entered into the db gets saved, but the page gets wiped clean and doesn't show anything from the fields. it doesn’t show up until I do a flush.
1135: [21:15:01] <Guest19771> and it seems to happen every 5 minutes or so.... any ideas? :/
1136: [21:16:27] <oddnoc> Guest19771: Where is the site hosted?
1137: [21:17:19] <Guest19771> Mediatemple, this only started happening recently, the website has been on the server for quite a while... I can't pinpoint exactly when it started though
1138: [21:17:34] <oddnoc> Have you changed anything pertaining to caching?
1139: [21:18:22] <Guest19771> Not that I know of, is there something I could add somewhere to test caching?
1140: [21:19:54] <Guest19771> I'm downloading the latest SS 3.1.5 release now to try replacing the framework and cms to see if that might miraculously fix it
1141: [21:23:26] <oddnoc> Check whether you have any <% cached %> directives in your templates. Might someone have changed the templates recently?
1142: [21:23:35] * sminnee has joined #silverstripe
1143: [21:24:28] * irogue_ has joined #silverstripe
1144: [21:26:36] <Guest19771> Nah I'm the only person working on this site, if you think this sounds like a caching issue I'll look into that now. I know I haven't set up any caching but it could be from mediatemple I guess
1145: [21:26:47] * srikanth has joined #silverstripe
1146: [21:27:56] <oddnoc> When you say the page is wiped clean, do you mean a white screen, or does your design render?
1147: [21:30:04] <Guest19771> The design renders and most of the content from the database shows up, but content from the recently added fields doesn't show up. (it also doesn't show in silverstripe admin until I do a flush)
1148: [21:30:42] <oddnoc> You did a dev/build, yeah?
1149: [21:31:49] <antmas> OMG
1150: [21:32:07] <antmas> don't change fucking database column data types on the fly you bellend
1151: [21:32:10] <antmas> :<
1152: [21:32:35] <oddnoc> Is the site on a load balancer? It sounds like you’re hopping between two different template caches
1153: [21:32:37] <antmas> ^^^^ not talking about whatever problems Guest19771 is facing :P
1154: [21:34:43] <Guest19771> Yup have done dev/build. Not that I know of, sorry one of the biggest problems here could be the user lol <- frontend dev fighting to learn SS on the fly
1155: [21:35:10] <unsignedint> hey does anyone know in which file is the Menu(<level>) function that is available in templates defined? I thought it might have been SiteTree but it doesnt seem to be
1156: [21:35:19] <unsignedint> i need to override it
1157: [21:36:20] <Pyromanik> Guest19771, by 'recently added files' what do you mean?
1158: [21:36:35] <irogue_> unsignedint: ContentController
1159: [21:36:37] <Pyromanik> uploaded pictures through the admin, or have you edited template files?
1160: [21:36:43] <unsignedint> irogue_: ah, thanks!
1161: [21:36:54] <oddnoc> Pyromanik: he said “fields” not “files"
1162: [21:36:59] <irogue_> http://api.silverstripe.org/3.1/class-ContentController.html#_getMenu
1163: [21:36:59] <Pyromanik> because if it's edited template files, then the behaviour you're describing is exactly what's supposed to happen.
1164: [21:37:28] <Pyromanik> oddnoc, true, so he does.
1165: [21:37:39] * scpi quit (Quit: be excellent to each other)
1166: [21:37:48] <Pyromanik> recently added fields is also quite ambiguous.
1167: [21:38:08] <zippy__> good that IE now auto updates like other normal browsers, not just via windows update
1168: [21:38:12] <Guest19771> sorry I mean recently added fields to the templates. But whats happening is I can type things into the field and save, it will show up for a short time then after a few minutes won't load in the front end, or in the admin
1169: [21:38:19] <Pyromanik> recently added to db, recently edited in cms, recently added to template...
1170: [21:38:22] <Guest19771> until I do a flush that is... at which time it all shows up
1171: [21:38:50] <Pyromanik> Guest19771, I think you need to describe what you're up to a bit better.
1172: [21:38:58] <irogue_> totally sounds like something is load balancing, Guest19771
1173: [21:39:00] <irogue_> and doing a bad job of it
1174: [21:40:03] <irogue_> Guest19771: do you know what plan it is with mediatemple?
1175: [21:40:05] <Guest19771> I think you might be right about load balancing, it seems this can be a problem with mediatemples grid service
1176: [21:40:47] <irogue_> ah, grid
1177: [21:41:17] <Guest19771> that's the problem?
1178: [21:41:54] <irogue_> yeah, they auto load balance
1179: [21:42:01] * checkchek has joined #silverstripe
1180: [21:42:04] <oddnoc> bingo
1181: [21:42:15] <irogue_> first thing to try, if you haven't already, is to put a silverstripe-cache folder in your webroot
1182: [21:42:41] <irogue_> so the cached stuff is shared among all the servers delivering the site, rather than being regenerated on each one
1183: [21:42:55] <Guest19771> aha will try that right now, thanks so much for the help by the way
1184: [21:43:05] <checkchek> Hey all I am creating a FRONTEND form and trying to add an UploadField.... how can I make it just a plain old upload field without all the fancy stuff from the CMS?
1185: [21:43:16] <Stomach> checkchek - use FileField
1186: [21:43:22] <checkchek> ah
1187: [21:43:25] <checkchek> thanks
1188: [21:43:25] * UncleCheese has joined #silverstripe
1189: [21:43:48] <irogue_> UncleCheese: i see you area also feeling textual
1190: [21:43:59] <checkchek> works - thanks Stomach
1191: [21:44:01] <UncleCheese> yeah, finally decided to take the plunge
1192: [21:44:02] <checkchek> :)
1193: [21:44:14] <Stomach> np checkchek
1194: [21:44:14] <irogue_> UncleCheese: i'm trying it at the moment, it's quite nice
1195: [21:44:32] <antmas> textual?
1196: [21:44:33] <Stomach> mirc w/polaris still for me
1197: [21:44:37] <Stomach> antmas - irc for mac
1198: [21:44:41] <UncleCheese> every IRC client I've seen so far looks like it was built by an eighth grader in his basement
1199: [21:44:47] <antmas> ah right
1200: [21:45:02] <irogue_> UncleCheese: yeah, it's very 'pure' IRC
1201: [21:45:10] <UncleCheese> for some reason there's a consensus that the user experience of IRC has to be crude and punishing
1202: [21:45:20] <irogue_> not like Colloquy et al, trying to treat IRC like a IM
1203: [21:45:33] <UncleCheese> colloquy was ok, but, i mean.. come on
1204: [21:45:51] <UncleCheese> ss23 turned me on to this whack-ass linux command line thing
1205: [21:46:04] <Stomach> I just use adium on mac
1206: [21:46:08] <UncleCheese> how?
1207: [21:46:24] <UncleCheese> adium is for AIM
1208: [21:46:29] <irogue_> nah
1209: [21:46:39] <irogue_> Adium is one of the "does everything" clients
1210: [21:46:46] <oddnoc> wait wait, there’s an alternative to colloquy?
1211: [21:46:48] <irogue_> it's essentially just a mac port of Pidgin
1212: [21:46:49] <oddnoc> need, want.
1213: [21:46:53] <irogue_> oddnoc: Textual
1214: [21:47:12] <oddnoc> thx!
1215: [21:47:14] <irogue_> http://www.codeux.com/textual/
1216: [21:47:21] <Kingy> There's also Limechat which is based off textual apparently
1217: [21:47:41] <Stomach> adium does everything, its like trillion
1218: [21:48:18] * checkchek quit (Ping timeout: 240 seconds)
1219: [21:48:22] <irogue_> except Adium is significantly nicer UI-wise than Trillian or Pidgin or MirandaIM or any of the windows ones
1220: [21:48:50] <irogue_> i'm no mac fanboi, but it does annoy me how so many windows apps do their own fugly non-standard UIs
1221: [21:48:57] <Guest19771> just piping up again to say a big thanks to oddnoc, irogue, and Pyromaniak - it looks like silverstripe-cache did the trick
1222: [21:49:04] <oddnoc> nice
1223: [21:49:06] <Stomach> yay!
1224: [21:49:07] <irogue_> Guest19771: sweet :)
1225: [21:50:21] <irogue_> ugh, back is trying to kill me, off to New World Metro to buy drugs
1226: [21:53:40] * shellbackpacific has joined #silverstripe
1227: [21:54:18] * shellbackpacific quit (Client Quit)
1228: [21:55:38] * zippy__ is also busting the colloguy
1229: [21:55:50] * checkcheck has joined #silverstripe
1230: [21:56:14] * sminnee quit (Quit: sminnee)
1231: [21:56:28] <checkcheck> hey how can I create a new Page as draft in a controller?
1232: [21:56:34] * sminnee has joined #silverstripe
1233: [21:56:55] <checkcheck> I created one just now but it got put into the sitetree as "Removed from draft"
1234: [21:57:12] <checkcheck> then when I restored it "Published" it, then I had to unpublish
1235: [21:57:22] <checkcheck> to get it into a "draft" state
1236: [21:58:38] <Pyromanik> Adium is Gaim
1237: [21:58:41] <Pyromanik> err, Pidgin.
1238: [21:58:44] <Pyromanik> On mac.
1239: [21:58:51] <Pyromanik> Textual is a proper IRC client.
1240: [21:59:49] <Pyromanik> checkcheck, $page->write()
1241: [22:01:02] * zipp has joined #silverstripe
1242: [22:01:20] <Pyromanik> or if you want to be explicit about it, writeToStage('Draft') iirc
1243: [22:01:31] <Pyromanik> or 'Stage', idk
1244: [22:01:36] <Stomach> Stage
1245: [22:01:59] <zipp> hmm
1246: [22:02:05] <zippy__> indeed
1247: [22:02:38] <Ryan-Toast> What should the write permissions on Assets folders be?
1248: [22:02:43] <checkcheck> $page->write() makes it "Remove from draft"
1249: [22:02:53] <Stomach> 755
1250: [22:03:07] <Stomach> and owned by the apache/nginx/whatever user
1251: [22:03:08] <checkcheck> trying writeToStage('Draft')
1252: [22:03:13] <Ryan-Toast> Stomach: chur
1253: [22:03:21] <Stomach> checkcheck - writeToStage('Stage');
1254: [22:03:23] <oddnoc> Ryan-Toast: or 775 and writable by the server’s group
1255: [22:03:26] <zipp> Stomach If it's owned by apache/ngix user then it wouldn't need to be 7 (write all) would it
1256: [22:04:29] <Stomach> user-group-all = 755, user can read write execute, others can read and execute
1257: [22:05:43] <zippy__> right you are
1258: [22:06:00] * Stomach is now known as zippp
1259: [22:06:34] <checkcheck> ah thanks again Stomach that worked
1260: [22:06:50] <zippp> thanks Pyromanik!
1261: [22:06:54] * zippp is now known as Stomach
1262: [22:07:23] <Pyromanik> ic
1263: [22:07:48] * sminnee quit (Quit: sminnee)
1264: [22:08:13] <Pyromanik> Ryan-Toast, suphp or fcgi and just 700 :P
1265: [22:08:39] <Ryan-Toast> Fuck I hate hosting bullshit.
1266: [22:08:49] * shellbackpacific has joined #silverstripe
1267: [22:08:52] <Pyromanik> argh, fuck you eyedrops
1268: [22:09:54] <Stomach> Ryan-Toast - just 'chmod -R 777 /'
1269: [22:10:05] <zippy__> dang I wish the watch command was supported
1270: [22:10:17] <Pyromanik> Stomach, willr did that
1271: [22:10:17] <Stomach> what watch command
1272: [22:10:28] <zippy__> notifys you when person comes online / offline
1273: [22:10:33] <Pyromanik> everything stops working apparently
1274: [22:10:49] <Stomach> really?
1275: [22:11:03] <Pyromanik> apparently
1276: [22:11:05] <Stomach> i guess some stuff has to have certain permissions or it doesnt work, like ssh config etc etc
1277: [22:11:08] <Stomach> so makes sense
1278: [22:11:12] <Pyromanik> kinda
1279: [22:11:13] <Pyromanik> idk
1280: [22:11:18] <Pyromanik> that's what I heard
1281: [22:11:30] <Stomach> willr never hangs out anymore :(
1282: [22:11:33] <Pyromanik> ask someone at SS who was there when willr was (at that time)
1283: [22:11:37] <Pyromanik> mmm
1284: [22:11:49] <Pyromanik> Stomach, you were DNA too right? Or Heyday, I forget.
1285: [22:11:53] <Stomach> Heyday
1286: [22:11:58] <Pyromanik> mm, right
1287: [22:12:26] <Pyromanik> So it's totally half 11 and I just finished a cup of tea.
1288: [22:12:37] <Pyromanik> I'm totally going to regret that at 5am :<
1289: [22:12:42] <Stomach> you are so England.
1290: [22:12:52] <Pyromanik> nah
1291: [22:12:57] <Pyromanik> Lemon it was!
1292: [22:12:59] <zippy__> Pyromanik: had a scone?
1293: [22:13:11] <Pyromanik> zippy__, not since I was about 10, no.
1294: [22:13:16] <Stomach> i love scones
1295: [22:13:20] <Pyromanik> mmm, they are good!
1296: [22:13:22] <Kingy> +1
1297: [22:13:28] <Pyromanik> actually I lie, I had them in NZ
1298: [22:13:32] <Pyromanik> before I left
1299: [22:13:35] <Pyromanik> but supermarket ones
1300: [22:13:40] <zippy__> scones crap… pikelets nom
1301: [22:13:41] <antmas> oh god
1302: [22:13:43] <Pyromanik> scones are only good if you home bake
1303: [22:13:45] * antmas needs a scone
1304: [22:14:32] <Stomach> http://stevie.co.nz/scone.jpg
1305: [22:15:54] <antmas> dat beard
1306: [22:16:29] <Ryan-Toast> Trying to upload a file in the files tab: get this in my error log: PHP Fatal error: Call to a member function getFilename()
1307: [22:16:49] <Stomach> antmas - its not even big yet :(
1308: [22:17:38] * shellbackpacific quit (Quit: Leaving.)
1309: [22:17:57] <Stomach> Ryan-Toast - is there more error than that?
1310: [22:18:23] <Ryan-Toast> [30-May-2014 10:14:04 NZ] PHP Fatal error: Call to a member function getFilename() on a non-object in /home/strayco/public_html/framework/forms/UploadField.php on line 1279
1311: [22:19:24] * antmas is growing a Yeard
1312: [22:20:00] <Stomach> Ryan-Toast - that means that the directory probably isn't writeable by the user
1313: [22:20:21] <Stomach> antmas - did that last year, it got pretty messy lol. wish I never shaved it off :(
1314: [22:21:19] <antmas> Stomach: well I shaved my head recently - so a yeard will look METAL AS FUCK :D
1315: [22:21:42] * shellbackpacific has joined #silverstripe
1316: [22:22:21] <Stomach> hahaha :D
1317: [22:22:24] <Ryan-Toast> Stomach: Hmm, I changed the permissions.
1318: [22:22:44] <Stomach> did the file upload if you check it in shell
1319: [22:22:45] <Stomach> ?
1320: [22:22:53] <Ryan-Toast> In shell?
1321: [22:23:02] <Stomach> cli
1322: [22:23:14] <Ryan-Toast> Nope.
1323: [22:23:39] <Stomach> try doing 'chmod -R 777 assets' from the site directory
1324: [22:23:42] <Stomach> then try an upload
1325: [22:24:03] <Stomach> if that works, then your apache user is different from the user you uploaded as
1326: [22:25:15] <Ryan-Toast> The folder is staying as drwxr-sr-x
1327: [22:25:24] <Ryan-Toast> while the others are drwxr-xr-x
1328: [22:25:47] <Ryan-Toast> and the folder is owned by the same users.
1329: [22:26:31] * shellbackpacific quit (Client Quit)
1330: [22:27:54] * shellbackpacific has joined #silverstripe
1331: [22:29:20] <Ryan-Toast> I can upload through pages, but not the files tab ><
1332: [22:31:35] <Stomach> oh
1333: [22:31:37] <Stomach> bug!
1334: [22:31:42] <Pyromanik> zzz
1335: [22:32:04] * sminnee has joined #silverstripe
1336: [22:32:17] <Stomach> what version is the CMS Ryan?
1337: [22:34:04] <Ryan-Toast> Onnnne sec
1338: [22:35:02] <Ryan-Toast> 3.1.3
1339: [22:35:14] <Stomach> can you upgrade to 3.1.5?
1340: [22:35:20] <Ryan-Toast> I’m afraid to.
1341: [22:35:41] <Ryan-Toast> So much shit in this site, I wouldn’t be surprised if there were core edits.
1342: [22:35:43] <Stomach> 3.1.3 has that error in it, we never used it because of that + some report bugs
1343: [22:37:26] <antmas> ughhh bring on 4pm
1344: [22:37:29] <antmas> over today already
1345: [22:37:35] <irogue_> bring on 2:30pm
1346: [22:38:30] <Stomach> what happens at 2.30?
1347: [22:39:05] <Stomach> oh yeah, still on for lunch irogue_?
1348: [22:40:14] <irogue_> Stomach: i finish for the day at 2:30pm and head back to the tron
1349: [22:40:45] <irogue_> Stomach: might have to postpone, got a fair bit to do before I knock off for for the day
1350: [22:40:45] <Kingy> insert joke here?
1351: [22:41:16] <Stomach> irogue_ - sweet as
1352: [22:41:29] * shellbackpacific quit (Quit: Leaving.)
1353: [22:41:31] <Stomach> irogue_ - we should just have a beer after work one night instead next week
1354: [22:41:37] <Stomach> easier to organise than lunch
1355: [22:41:41] <irogue_> sure, except replace beer with cider :P
1356: [22:42:00] <Stomach> haha, is there a cider house in auckland?
1357: [22:42:57] * antmas had too much cider last night
1358: [22:43:23] * irogue_ goes hunting to see if anywhere in auckland serves Good George
1359: [22:44:06] <Stomach> http://www.goodgeorge.co.nz/find-us
1360: [22:44:06] <Stomach> lots of places
1361: [22:45:50] <irogue_> yeah but most only have one beer
1362: [22:46:28] <irogue_> i might bring a couple of growlers back with me
1363: [22:47:40] <Stomach> hahaha that word is so interchangeable
1364: [22:47:50] * Stomach has a dirty mind
1365: [22:48:55] <antmas> I went there as well Stomach :P
1366: [22:49:22] <Stomach> pretty sure growler is a south island thing though, people don't get it up here as much
1367: [22:50:16] <irogue_> o_O
1368: [22:50:36] <Stomach> "show us yer growler!" said the lad in Dunedin as a lady walked by
1369: [22:50:38] <antmas> hmmm I thought it was pretty universal
1370: [22:50:50] <zippy__> ^
1371: [22:51:35] <irogue_> never heard it
1372: [22:53:46] <irogue_> http://en.wikipedia.org/wiki/Beer_bottle#Growler
1373: [22:53:48] <antmas> I thought it was an Ausi thing actualy
1374: [22:59:55] <irogue_> [User Error] Uncaught Zend_Locale_Exception: failed to receive data from locale en_NZ
1375: [22:59:56] <irogue_> WAT
1376: [23:00:02] <irogue_> y have u just randomly started happening
1377: [23:01:13] <Stomach> failed to recieve data??
1378: [23:01:14] <Stomach> :S
1379: [23:02:06] <antmas> werid
1380: [23:02:09] <antmas> weird*
1381: [23:06:47] * Kingy is now known as Kingy[a]
1382: [23:06:55] * Kingy[a] is now known as Kingy
1383: [23:07:06] <Kingy> webchat is annoying
1384: [23:07:22] <Kingy> how do I command line call a controller/method?
1385: [23:09:39] <Stomach> ./framework/sake controller/action
1386: [23:10:02] <Stomach> I think
1387: [23:11:39] <Colin[pi]> morning!
1388: [23:11:54] <Kingy> hey
1389: [23:12:18] <Stomach> hey Colin[pi]
1390: [23:13:38] * sminnee quit (Quit: sminnee)
1391: [23:16:51] <jordanmk> hey guys, any idea what could cause the Widgets tab of a page to come up like this on a staging site? http://puu.sh/96R1o/f44aea92c2.png
1392: [23:17:39] <jordanmk> locally it's working fine and looks like this: http://puu.sh/96RKQ/1ce89e6f9d.png
1393: [23:18:17] <jordanmk> but on the staging site, can't seem to be able to actually create any of the widgets that are listed
1394: [23:18:44] <Colin[pi]> missing css/js?
1395: [23:19:54] <Kingy> flushed?
1396: [23:20:09] <Stomach> man I love npm sometimes: https://www.npmjs.org/package/google-maps
1397: [23:20:11] <Stomach> so easy
1398: [23:20:33] * sminnee has joined #silverstripe
1399: [23:32:41] <jordanmk> yeah Kingy i've flushed
1400: [23:32:51] <jordanmk> Colin[pi], hmm maybe
1401: [23:33:21] <Kingy> open up developer tools and check for errors
1402: [23:33:55] * DesignerX has joined #silverstripe
1403: [23:34:08] <jordanmk> Kingy, no errors
1404: [23:41:46] <jordanmk> just re-uploaded the widgets module, didn't make a difference
1405: [23:42:01] <jordanmk> all the files on the staging site are the same as the live site :S
1406: [23:50:53] * gelignite quit (Quit: http://bit.ly/nkczDT)
1407: [23:55:07] <zippy__> there no simple html editor in SS 3.1.x ? All need is basic bold/itaic and underline and hyperlinks
1408: [23:56:50] * oddnoc has left #silverstripe
1409: [23:59:12] <Ryan-Toast> zippy__: You could extend the HtmlEditorfield then disable the buttons
1410: [23:59:58] <antmas> this ^^

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