#silverstripe IRC Log

IRC log for 5 December 2013

All timestamps are in UTC.

1: [00:00:07] <Colin[pi]> [10:59:07] <Pyromanik> some of the venitian blinds (whoever invented those things is a cunt)
2: [00:00:07] <Pyromanik> antmas: see that's the issue, still here :<
3: [00:00:12] <Colin[pi]> same guy as css: http://i.imgur.com/Q3cUg29.gif
4: [00:00:35] <Pyromanik> hahah Colin[pi], mine actually work though.
5: [00:00:40] <spronk> ugh
6: [00:00:43] <spronk> venetian blinds
7: [00:00:59] <Colin[pi]> every set I've owned have been like that gif, lol
8: [00:01:01] <Pyromanik> except that when you go to clean behind them (gap between window and blind at top of frame), they pop out of holders.
9: [00:01:01] <spronk> first rental place i was in had them behind kitchen
10: [00:01:05] <antmas> I swear I labled the 2 differnt cords that you can pull, and they still fuck me up
11: [00:01:24] <Pyromanik> Colin[pi]: yeh, generally i'd agree with you.
12: [00:01:37] <spronk> i never understood why they had two cords anyway
13: [00:01:44] <spronk> who the fuck wants to pull up only one side
14: [00:01:46] <Pyromanik> Colin[pi]: mine only has one ... well 3 but tied together.
15: [00:01:55] <Pyromanik> it's up & down.
16: [00:02:08] <Pyromanik> the rotate is a wee plastic stick.
17: [00:02:28] <Pyromanik> which is fan fucking tastic because it gets sun bleached and then just breaks.
18: [00:02:38] <spronk> haha
19: [00:02:54] <Pyromanik> (not the stick itself, but the connection)
20: [00:03:03] <antmas> oh god
21: [00:03:04] <Pyromanik> (on the stick side)
22: [00:03:13] <antmas> when people try to call me using private numbers
23: [00:03:16] <antmas> instadeny
24: [00:03:24] <Pyromanik> lawl
25: [00:03:31] <Colin[pi]> Pyromanik: ah yeah I know the type
26: [00:03:36] <Colin[pi]> those ones are almost bearable
27: [00:03:40] <Pyromanik> someone tried to call the other day from a private number, didn't leave a message and I was on the shitter.
28: [00:03:51] <Pyromanik> like YEAH BITCH, WACHOO GONNA DO NOW!?
29: [00:03:57] <Colin[pi]> lol
30: [00:04:12] <Pyromanik> was probably just an automated bullshit fuckery message from vodafone anyway.
31: [00:04:24] <simon_w> I got a call that I missed. Rang the number back, hit a switchboard
32: [00:04:31] <Pyromanik> dunno when they started doing that for prepaid, but it's bullshit.
33: [00:04:42] <Colin[pi]> vodafail
34: [00:04:44] <Pyromanik> simon_w: yeh, that happens too soemtimes.
35: [00:04:56] <Colin[pi]> I went to the coast on the weekend.. I had zero signal.. ZERO.. ANYWHERE
36: [00:04:59] <Colin[pi]> thanks vodafail
37: [00:05:09] <simon_w> Colin[pi], that's just the coast
38: [00:05:14] <Pyromanik> Colin[pi]: yeh. They're all "PAY US MONEY EACH MONTH FOR NOTHING, OR WE'LL SPAM THE SHIT OUT OF YOU FOR BEING A CUSTOMER" (ie, plan vs prepaid)
39: [00:05:16] <simon_w> I could roam at all while I was there
40: [00:05:30] <simon_w> *couldn't
41: [00:05:33] <Colin[pi]> simon_w: if you want coverage here, it's Telstra or you're shit outta luck
42: [00:05:34] <Pyromanik> hahaha
43: [00:05:39] <Pyromanik> fuck that racket eh simon_w
44: [00:05:46] <Pyromanik> I once rang them to see if I could use phone overseas
45: [00:05:52] <simon_w> Colin[pi], I can roam on them :p Didn't have any reception at all
46: [00:06:04] <Pyromanik> and they're all "roaming is enabled, you just connect to a network and it'll work fine!"
47: [00:06:10] <Colin[pi]> simon_w: rly? hmm usually you can get a telstra signal anywhere
48: [00:06:14] <Pyromanik> ZERO USE AT ALL WHILE OVER SEAS, you lied, you dicks.
49: [00:06:42] <Pyromanik> I got one text randomly come through at some random point (but didn't sustain a connection) and it cost me like $60 to recieve.
50: [00:06:52] <Pyromanik> anyway, washing more walls :S
51: [00:07:01] * Pyromanik has left #silverstripe
52: [00:07:12] <simon_w> Colin[pi], usually, if I can't get VF, I can't get anyone
53: [00:08:20] <Colin[pi]> I could get an SOS signal at least >_>
54: [00:08:43] <Colin[pi]> I was in a place called "the wilderness coast" though :P
55: [00:10:20] <Colin[pi]> was amazingly beautiful down there though, and a great drive though the forests
56: [00:11:53] * SightUnseen1 has joined #silverstripe
57: [00:18:03] * SightUnseen1 has left #silverstripe
58: [00:18:53] <antmas> ew, ASB mobile app updates
59: [00:20:33] <spronk> ?
60: [00:21:07] <Colin[pi]> ¯\_(ツ)_/¯
61: [00:21:43] * zippy___ has joined #silverstripe
62: [00:29:06] <Colin[pi]> this guy has the best last name: http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=74046
63: [00:36:54] <lewellyn> too bad his parents didn't name him Iam instead of Ian
64: [00:37:07] <lewellyn> "Vote Iam Goodenough for Moore"
65: [00:38:07] <Colin[pi]> hehe
66: [00:44:08] * UncleCheese quit (Quit: UncleCheese)
67: [01:07:48] <antmas> Colin[pi]: ha, nice
68: [01:18:24] * UncleCheese has joined #silverstripe
69: [01:20:20] <antmas> blegh
70: [01:20:28] <antmas> news is either Hobbit or Lorde
71: [01:20:32] <antmas> or cricket
72: [01:26:18] * Pyromanik has joined #silverstripe
73: [01:26:38] <Pyromanik> Physio like a bawss
74: [01:27:04] <Pyromanik> walk in "I don't suppose you've got any appointment time today or tomorrow" - "Yep I can do you now" - "SOLD!"
75: [01:27:21] <Pyromanik> fuck yeah not working is so much better than working.
76: [01:27:38] <Pyromanik> been given my physio exercises, now it's time for pad thai and a beer.
77: [01:27:51] <Pyromanik> while watching a TV show
78: [01:29:39] * UncleCheese quit (Quit: UncleCheese)
79: [01:30:45] * Pyromanik has left #silverstripe
80: [01:31:21] * antmas quit (Ping timeout: 250 seconds)
81: [01:40:17] * willr has joined #silverstripe
82: [01:56:43] * chillu quit (Quit: chillu)
83: [01:58:22] * UncleCheese has joined #silverstripe
84: [02:06:50] * antmas has joined #silverstripe
85: [02:10:12] <antmas> HOLY SHIT
86: [02:10:13] <antmas> o.O
87: [02:10:28] <antmas> I just met someone at lunch with Argyria
88: [02:12:24] <spronk> https://www.destroyallsoftware.com/talks/wat
89: [02:12:32] <spronk> wa?
90: [02:14:34] <FrozenFire> w?
91: [02:19:48] <antmas> hooray for caching erros
92: [02:19:52] <antmas> errors*
93: [02:43:51] * SightUnseen quit (Quit: Leaving.)
94: [02:47:25] <spronk> also
95: [02:47:27] <spronk> https://www.destroyallsoftware.com/talks/a-whole-new-world
96: [02:47:31] <spronk> this is a fantastic talk
97: [02:52:41] <Colin[pi]> spronk: that wat talk is hilarious
98: [02:53:18] <spronk> ja
99: [02:53:26] <spronk> how the fuck is javascript so popular :(
100: [02:55:16] <Colin[pi]> watman rofl
101: [02:55:43] <Colin[pi]> I rage hard whenever I need to javascript
102: [02:57:58] <simon_w> I just rage
103: [03:00:50] <Colin[pi]> your rage is indiscriminate
104: [03:01:55] <guzzlefry> against the machine?!
105: [03:02:19] <spronk> WAKE UP!
106: [03:03:26] <simon_w> NO!
107: [03:04:32] <simon_w> First they want you to wake up, then they want you to put pants on
108: [03:04:37] <simon_w> What's next, wanting me to work?
109: [03:06:22] <Colin[pi]> wow that destroyallsoftware dude is one of the most eloquently spoken geeks I've seen
110: [03:07:49] <simon_w> Would be nice if I got audio
111: [03:09:55] * LimRes has joined #silverstripe
112: [03:11:02] <LimRes> Hi there yall. 3.1 noob issue: if I want to exclude objects from a DataList based on a hasmany relationship, it looks like I have to make a datalist to pass like $All->exclude($ExcludeThese)
113: [03:11:14] <LimRes> how to make an empty Datalist to start adding to?
114: [03:11:18] <LimRes> or is there a shorthand for this?
115: [03:11:36] <LimRes> (the excluded items will be ones that have no children of a particular type)
116: [03:12:56] <Ryan-Toast> ¯\_(ツ)_/¯
117: [03:15:00] <LimRes> oops I meant $All->subtract($SubtractThese)
118: [03:19:33] * Pyromanik has joined #silverstripe
119: [03:20:07] <Pyromanik> LimRes: ObjectOne::get()->exclude('ManyRelation.FieldName', 'value')
120: [03:20:26] * Pyromanik has left #silverstripe
121: [03:21:28] <LimRes> pyromanik: but in this case the relation will not exist for ones to be filtered
122: [03:21:38] <LimRes> so do I need filterbycallback?
123: [03:26:44] * Pyromanik has joined #silverstripe
124: [03:27:43] <Pyromanik> LimRes: 2 queries probably easier. something like: ObjectOne::get()->exclude(ObjectTwo::get()->filter()->Column('ID'))
125: [03:27:44] <simon_w> spronk, hmm, I might have to figure out how to use a VIM-like thing and give it a go
126: [03:28:00] <simon_w> Pyromanik, that's what subtract does
127: [03:28:06] <Pyromanik> vim cheat sheet got removed from the interwebs :<
128: [03:28:13] <LimRes> yeaj I thought this was to be a subtract
129: [03:28:21] <Pyromanik> simon_w: oh, so I dunno what the question is.
130: [03:28:39] <Pyromanik> good luck, more cleaning!
131: [03:28:41] * Pyromanik quit (Client Quit)
132: [03:28:52] <LimRes> simon_w I am trying to filter a DataList by subtracting objects that have no children
133: [03:29:07] * DigNZ quit (Quit: DigNZ)
134: [03:29:22] <simon_w> LimRes, $list = $list->exclude('HasManyName.HasOneNameID', 0)
135: [03:29:23] <LimRes> in this case, a product without any price objects in it's has_many
136: [03:32:10] * Nimle has joined #silverstripe
137: [03:32:25] <LimRes> ah I see. thanks
138: [03:32:59] <Nimle> Hi guys, does anyone know how to fix SS 3.1 problem for IE? It doesnt keep session. says not logged in and redirects back the admin login again.
139: [03:33:12] <Nimle> it works fine in other browsewrs
140: [03:33:37] <Colin[pi]> spronk: GAH his editor is fake?
141: [03:33:41] <spronk> ja
142: [03:33:44] <Colin[pi]> fffuuuuu
143: [03:33:45] <Colin[pi]> hahaha
144: [03:33:47] <simon_w> Jerk
145: [03:33:55] <spronk> mm
146: [03:34:03] <spronk> he's more highlighting how the underlying shit is ancient and needs rethinking
147: [03:34:06] <Ryan-Toast> Nimle: Just don't use IE
148: [03:34:10] <Ryan-Toast> problem fixed
149: [03:35:17] <Nimle> I dont use but customer uses. Not only admin sessions, user-defined sessions also get lost
150: [03:35:36] <Ryan-Toast> Nimle: what version of IE?
151: [03:35:40] <Nimle> ie9
152: [03:35:46] <Nimle> 9.0.21
153: [03:36:02] <Nimle> it works in 9.0.22
154: [03:36:05] <Ryan-Toast> Nimle: Are you using any modules?
155: [03:36:13] <Ryan-Toast> or just a fresh install?
156: [03:36:33] <Nimle> no, i tested with simple one. my only codes are in mysute
157: [03:36:39] <Nimle> mysite
158: [03:36:51] <Nimle> but they are not called when you go to admin
159: [03:37:07] <Colin[pi]> spronk: his video player needs rethinking too, since I exited fullscreen and it lost it's buffer
160: [03:37:10] <Ryan-Toast> Nimle: And you're using 3.1.2?
161: [03:37:18] <Colin[pi]> can't skip back to the point I was at
162: [03:37:19] <Nimle> yes. 3.1.2
163: [03:37:23] <Nimle> 3.0 works fine
164: [03:37:36] <EasyCo> Woohoo my Margaret River wine box has arrived :)
165: [03:37:45] <Colin[pi]> EasyCo: awww yiss
166: [03:37:47] <EasyCo> Beautiful Rosabank Cab. sav.
167: [03:37:48] <simon_w> Colin[pi], yeah, sublime has weird issues
168: [03:38:57] <EasyCo> Colin[pi]: I'll tell you 2 things I learnt while i was the the food and wine festival. Margaret River cab. savs. are unreal. Margaret River Shiraz's are sub-par.
169: [03:39:17] <Colin[pi]> :D
170: [03:39:18] <Nimle> console says : Html113 Document mode restart from Quircks to IE9 Standards. That means redirect() or other framework methods doesnt use exit after header() or there is any output before redirection.
171: [03:39:20] <EasyCo> Oh and once you've tasted over 20 wines, they all taste the same.
172: [03:39:31] <Colin[pi]> hehe yeah I can imagine
173: [03:39:52] <EasyCo> I definitely recommend trying to go if ever you get the chance.
174: [03:40:04] <simon_w> Nimle, so check your files for extra whitespace that shouldn't be there
175: [03:40:09] <EasyCo> $38 entry. and you can taste as much wine as you can handle.
176: [03:40:38] <Nimle> but its 3.1.2 code
177: [03:40:40] <Nimle> not my code
178: [03:40:56] <Nimle> it happens in /admin
179: [03:41:08] <simon_w> Doesn't stop it being your code
180: [03:41:19] * Snowman23 looks at simon_w
181: [03:41:31] <Snowman23> simon_w: Can I just insert arbitary jQuery into CMS and expect it to work fine?
182: [03:41:36] * antmas looks at Snowman23
183: [03:41:41] <simon_w> Snowman23, no
184: [03:42:04] <Snowman23> Hum
185: [03:42:15] <simon_w> Snowman23, also, stop asking me.
186: [03:42:20] <Snowman23> Stop asking what? o.o
187: [03:42:24] <simon_w> I'm not the only one that knows things
188: [03:42:27] <Snowman23> :)
189: [03:42:31] <Snowman23> You're the only one in here that does!
190: [03:42:35] <Ryan-Toast> simon_w: How do I thing?
191: [03:44:23] * antmas quit (Quit: Page closed)
192: [03:49:35] * Nimle quit (Ping timeout: 250 seconds)
193: [03:53:33] <simon_w> Debug builds are so sloooow
194: [03:55:44] <LimRes> thanks again simon
195: [03:55:49] <LimRes> see ya everyone
196: [03:57:00] <EasyCo> spronk: As much as that destroyallsoftware guy is a great dev. he's a straight weirdo.
197: [03:57:11] <spronk> jup
198: [03:57:33] <spronk> but actually saying stuff about the dumb infrastructure we have that's been around since the 70s is a step forward
199: [03:58:20] <simon_w> The amount of terminals that don't support unicode is just astounding
200: [03:58:31] <simon_w> How am I supposed to have a pile of poo file?
201: [03:59:59] * LimRes quit (Ping timeout: 250 seconds)
202: [04:00:02] <simon_w> Haha, my monospaced font can't handle it
203: [04:01:03] <spronk> mm
204: [04:01:35] * Pyromanik has joined #silverstripe
205: [04:01:50] * Nimle has joined #silverstripe
206: [04:02:11] <Nimle> @simon_w I checked, a refresh ss install also has a problem with ie 9.0.21
207: [04:02:45] <Nimle> it loses session with Session() but $_SESSION can work.
208: [04:03:11] <Pyromanik> spronk: what a toaster oven?
209: [04:03:24] <Pyromanik> perfect for those mini pizza snacks without having to get up from your computer!
210: [04:03:41] <Pyromanik> Go uber geek in 0 easy steps!
211: [04:05:06] <Nimle> @Pyromanik, do you have an idea why SS 3.1.2 session fails in IE 9?
212: [04:05:20] <spronk> haha no
213: [04:05:22] <spronk> trademe that shit man
214: [04:05:37] <spronk> irogue_: it possible to change the SNR limit for adsl on 2710n ?
215: [04:05:43] <spronk> i'm at 12dB.....
216: [04:06:32] * DigNZ has joined #silverstripe
217: [04:06:35] <guzzlefry> fix wiring?
218: [04:06:48] <Colin[pi]> FFFFUUUUU IE
219: [04:06:53] * DigNZ quit (Client Quit)
220: [04:07:52] <Nimle> :)
221: [04:08:29] <Nimle> downgrading to 3.0 fixes the problem. I will use 3.0 for now.
222: [04:09:42] <Pyromanik> Nimle: because security settings are an explosion
223: [04:09:47] <Pyromanik> of 'security'
224: [04:10:01] <Pyromanik> ie "no thx cookies"
225: [04:10:28] <Nimle> But I set to accept all cookies
226: [04:10:35] <Nimle> still not solved
227: [04:10:43] <Pyromanik> spronk: ha, I wish. 1: trademe cost more than I'd earn, 2: no thx wheedle, 3: leaving CHC on Sunday.
228: [04:10:52] <Nimle> also, 3.0 works fine
229: [04:11:00] <Pyromanik> Nimle: because 'security' means even from yourself!
230: [04:11:05] <Pyromanik> or something.
231: [04:11:10] <Pyromanik> IDK, IE9 man.
232: [04:11:57] <spronk> mm..
233: [04:13:21] <Nimle> hmm. I understand. But IE9 is widely used by idiots who are abundant :) Ok, I will use 3.0 for now, can upgrade when it is better in the future releases
234: [04:13:38] <Pyromanik> at least they use IE9 man!
235: [04:13:44] <Pyromanik> not... 7 or 8
236: [04:13:50] * Ryan-Toast quit (Quit: Ryan-Toast)
237: [04:15:00] <Nimle> @Pyromanik, the problem happens when mode changes suddenly. IE clears all cookies if mode is changed. The console shows that somewhere mode changes from quicks mode to IE9 standard mode
238: [04:15:21] <Nimle> mode change can be caused when redirect or header is not sent correctly
239: [04:15:24] <Pyromanik> it's a meta tag ususally isn't it?
240: [04:15:25] <Nimle> or doc type
241: [04:15:55] <Nimle> yes, but there is some output happens before doc type or meta tag is reached
242: [04:16:12] * cloph has joined #silverstripe
243: [04:16:18] <Nimle> for exampl,e if you redirect with header location but dont exit after this, this happens in plain php
244: [04:16:36] <Nimle> because php outputs empty end of line
245: [04:17:06] <Nimle> I assume ss can have problem with redirect() method implementation or other director methods
246: [04:17:20] * cloph_away quit (Ping timeout: 245 seconds)
247: [04:23:46] * Nimle quit (Quit: Page closed)
248: [04:24:18] * Nimle has joined #silverstripe
249: [04:24:31] * willr quit (Quit: willr)
250: [04:27:44] * nickmolhoek quit (Ping timeout: 240 seconds)
251: [04:31:15] * Bollig|DesignCty quit (Ping timeout: 260 seconds)
252: [04:39:12] <simon_w> Dammit, hhvm failed to link
253: [04:39:49] <Snowman23> lol
254: [04:39:51] <Snowman23> After the long build?
255: [04:40:42] * SightUnseen has joined #silverstripe
256: [04:41:48] <simon_w> Yeah, but it means I just need to switch to make
257: [04:41:56] <simon_w> Can't do a debug link of hhvm and test at the same time
258: [05:00:51] * UncleCheese quit (Quit: UncleCheese)
259: [05:14:28] * Toe quit (Remote host closed the connection)
260: [05:14:44] * DryerLintPurple has joined #silverstripe
261: [05:21:26] * simon_w quit (Quit: This computer has gone to sleep)
262: [05:27:39] * willr has joined #silverstripe
263: [05:29:55] * willr quit (Client Quit)
264: [05:32:39] * Colin[pi] quit (Ping timeout: 240 seconds)
265: [05:50:37] * Shashitechno has joined #silverstripe
266: [05:51:16] <Shashitechno> Hello everyone,
267: [05:51:56] <Shashitechno> I am using balbus autocomplete it works fine on web
268: [05:52:25] <Shashitechno> but on mobile view its giving me 404 not found on GET request ?
269: [05:52:31] <Shashitechno> any clue ?
270: [05:52:46] * new_learner has joined #silverstripe
271: [05:54:02] * new_learner_ has joined #silverstripe
272: [05:56:59] * new_learner quit (Ping timeout: 250 seconds)
273: [06:17:03] * violetina quit (Remote host closed the connection)
274: [06:24:30] * SightUnseen1 has joined #silverstripe
275: [06:24:32] * SightUnseen1 has left #silverstripe
276: [06:34:28] * simon_w has joined #silverstripe
277: [06:38:03] * Shashitechno quit (Quit: Page closed)
278: [06:46:44] * Shrike_Finland has joined #silverstripe
279: [06:52:31] * willr has joined #silverstripe
280: [07:15:25] * Nimle quit (Ping timeout: 250 seconds)
281: [07:16:34] <new_learner_> classname::get()->sort('Created' , 'DESC'); or classname::get()->sort('Created DESC'); ??
282: [07:16:51] <new_learner_> which one is correct?
283: [07:17:24] * peter_ss has joined #silverstripe
284: [07:17:26] * peter_ss has left #silverstripe
285: [07:18:20] <new_learner_> sort('Created' , 'DESC'); sort('Created DESC'); which one is correct according to ss 3.1
286: [07:18:45] * Colin[pi] has joined #silverstripe
287: [07:19:56] <new_learner_> sort('Created' , 'DESC'); sort('Created DESC'); which one is correct according to ss 3.1
288: [07:21:29] <guzzlefry> new_learner_: Check the API docs for DataList::sort()
289: [07:22:16] <new_learner_> can u send me the proper link ?
290: [07:23:16] <guzzlefry> new_learner_: http://api.silverstripe.org/3.1/
291: [07:23:20] <guzzlefry> Search box on the left
292: [07:23:35] <guzzlefry> you konw what
293: [07:23:43] <guzzlefry> that doesn't actually help you since it's not listing arguments...
294: [07:23:55] <guzzlefry> oh
295: [07:23:58] <guzzlefry> yes it does :P
296: [07:24:19] <guzzlefry> Click the entry for sort() and it shows you examples.
297: [07:24:30] <guzzlefry> both methods you listed are valid
298: [07:27:39] <new_learner_> thanx guzzlefry...u show me the way how to find solution
299: [07:28:23] <new_learner_> both are right .....i got it now..how to google silver stripe
300: [07:29:40] <guzzlefry> new_learner_: There's docs.silverstripe.org as wlel.
301: [07:29:41] <guzzlefry> well*
302: [07:29:54] <guzzlefry> Although those need work.
303: [07:31:20] * joelpittet quit ()
304: [07:32:11] * Bollig|DesignCty has joined #silverstripe
305: [07:45:13] <simon_w> new_learner_, the search bar at the top of the silverstripe sites searches all the sites
306: [07:46:49] <simon_w> Though, if you're searching the IRC logs, the search on logs.ss.org.nz is better for it than Google
307: [07:47:24] <guzzlefry> help!
308: [07:47:33] <guzzlefry> [Notice] Undefined property: Cart::$ItemTotal
309: [07:47:45] <guzzlefry> That's from inside public function getItemTotal()
310: [07:47:57] <guzzlefry> ItemTotal is also defined in private static $db
311: [07:49:47] <guzzlefry> Should I be doing $this->record['ItemTotal'] instead?
312: [07:51:30] <guzzlefry> Well, that gets rid of the error.
313: [07:51:41] <guzzlefry> Why can't I simple do $this->ItemTotal, though?
314: [07:51:45] <guzzlefry> simply*
315: [07:53:07] * new_learner_ quit (Ping timeout: 250 seconds)
316: [07:58:30] <Snowman23> bah!
317: [07:58:35] <Snowman23> "Behaviour is not defined"
318: [07:58:37] <Snowman23> HOW CAN I DO THE THINGS THEN
319: [08:01:44] <simon_w> guzzlefry, you can't have recursive __get calls to the same thing, also, $this->getField('ItemTotal')
320: [08:01:49] <simon_w> (similarly for set)
321: [08:02:15] <Snowman23> Does anyone know how to do like.... $('document').ready() but with ajax and CMS interface and all that? I presume it's some kind of $('something that I have no idea').entwine crap
322: [08:02:29] <simon_w> Snowman23, what are you trying to do?
323: [08:03:32] <Snowman23> simon_w: Call some javascript when the CMs has loaded this stuff
324: [08:03:43] <Snowman23> this stuff == gridfield edit request form interface form thingy
325: [08:03:56] <Snowman23> I don't even think this will work
326: [08:04:04] <Snowman23> Goddam it I hate that the SilverStripe CMS uses this fancy ajax shit
327: [08:04:11] <simon_w> $('.classOfTheThing').entwine({ onmatch: function() { do stuff })
328: [08:04:15] <Snowman23> It makes it approximatly 100% harder to do my stuff
329: [08:04:40] <Snowman23> simon_w: If I just want it generically when this loads, I take it I can pick anything on this page?
330: [08:04:52] <Snowman23> I could edit the template and add a unique div with an ID for it I guess, but that seems lame
331: [08:05:03] <Snowman23> Hmm
332: [08:05:10] <guzzlefry> simon_w: Thank you sir.
333: [08:05:19] <simon_w> What are you trying to do that doesn't target something specific?
334: [08:05:28] * Bollig|DesignCty quit (Ping timeout: 246 seconds)
335: [08:05:58] <Snowman23> It's an interaction between two dropdown thingies, but the ID on them can be reused, right?
336: [08:06:15] <Snowman23> Like, the thing I'm using interacts with diferent things, so it seems weird ot target a single 'thing' to deal with it
337: [08:07:25] <Snowman23> I don't think this is goin to work anyway, because at the time it tries using AJAX to reload that iframe with the default values, the <option> value it wants doesn't exist
338: [08:07:28] <Snowman23> hmmmmmm
339: [08:07:37] <Snowman23> Hmmmmmmmmmmmmmmmmmmm
340: [08:07:50] <Snowman23> If I ruin the UI a little I can probably hack it though
341: [08:07:52] <Snowman23> Goddam it
342: [08:08:03] <simon_w> Or match on the drop down
343: [08:08:15] <Snowman23> Won't help with this problem
344: [08:08:31] <Snowman23> The problem is that it tries to load defaults on error, right
345: [08:08:43] <Snowman23> But since the second dropdown is populated based on the first, it can't choose the default there
346: [08:09:18] <Snowman23> But I think I can hack something up if I make that dropdown contain every possible value that exists ever, then use a match to check it has a 'default', and decide to work from there
347: [08:09:22] <Snowman23> Complex as fuck
348: [08:09:28] <Snowman23> And probably oging to be buggy and fuck up the UI while loading
349: [08:09:30] <Snowman23> :(
350: [08:09:32] <Snowman23> QQ
351: [08:10:48] <Snowman23> Oh actually, there might be another way that is less likely to fuck up the UI. still fucked up though
352: [08:12:25] * Azure quit (Quit: My MBP went to sleep.)
353: [08:14:42] * ARNHOE has joined #silverstripe
354: [08:22:23] * SightUnseen quit (Quit: Leaving.)
355: [08:39:35] * zfmf has joined #silverstripe
356: [08:43:04] * DimiStripe has joined #silverstripe
357: [08:44:00] <DimiStripe> Hi All, Anyone couls suggest a good solution for picking items in datagrid with checkboxes ? (Best case if they would stay ticked while changing pages, but would only save when page is saved ) ?
358: [08:47:58] * new_learner has joined #silverstripe
359: [08:54:03] * Shrike_Finland quit (Quit: Leaving.)
360: [08:56:22] * svandragt has joined #silverstripe
361: [09:02:56] * Shrike_Finland has joined #silverstripe
362: [09:07:21] <willr> DimiStripe tried https://github.com/simonwelsh/silverstripe-GridFieldRelationHandler
363: [09:08:00] * willr quit (Quit: willr)
364: [09:09:30] * kinglozzer has joined #silverstripe
365: [09:33:24] <new_learner> get()->byID($objeto_foto->ImageID).....is it correct?
366: [09:34:35] <new_learner> byID(array($objeto_foto-=>'ImageID') or this one is correct?
367: [09:36:03] * DimiStripe quit (Quit: Page closed)
368: [09:36:43] <Snowman23> new_learner: If you want to get an object with an ID of $foo, get()->byID($foo)
369: [09:37:04] <Snowman23> new_learner: If you want to get an object where a relations ID is $foo, get()->filter(array('RelationID' => $foo))
370: [09:40:00] <new_learner> get()->filter(array('RelationID' => $foo)) here dont we need to use ->byID
371: [09:42:37] <new_learner> $imagem = DataObject::get_by_id("Image", $objeto_foto->ImageID);------------what will be its ss 3.1 changed version?/
372: [09:46:06] <Pyromanik> new_learner: Image::get()->byID($objecto_foto->ImageID)
373: [09:46:10] * Shrike_Finland quit (Quit: Leaving.)
374: [09:46:19] <Pyromanik> although it'd be far far easier to just $objecto_foto->Image()
375: [09:46:50] <Pyromanik> assuming $objecto_foto is a DataObject with a has_one Image=>Image
376: [09:47:41] <new_learner> how do u know this much ...i want to learn silver stripe very fast...
377: [09:48:00] <Pyromanik> Like all things, you can't learn fast without good foundations.
378: [09:48:10] <new_learner> du u have some tips so that i follow those tips and learn everything
379: [09:48:20] <Pyromanik> Read the docs.
380: [09:48:33] <Pyromanik> doc.silverstripe.org and api.silverstripe.org
381: [09:48:48] <new_learner> its tough to memorise those docs ...
382: [09:48:49] <Pyromanik> err, docs.sil... *
383: [09:48:58] <Pyromanik> well, that's what learning is.
384: [09:49:22] <Pyromanik> you can't just read, you must also do. If you keep doing it, you will learn.
385: [09:49:31] <new_learner> ohk...
386: [09:49:44] <Pyromanik> practice makes perfect they say.
387: [09:49:55] <new_learner> i dont have idea to implement what i m learning...
388: [09:50:37] <Pyromanik> You will need good knowledge of design patterns, php, general software design & good practice, etc.
389: [09:50:38] * rved has joined #silverstripe
390: [09:50:41] <new_learner> u on facebook or skype...
391: [09:50:45] <Pyromanik> and something to work on.
392: [09:50:46] <Pyromanik> nope.
393: [09:50:56] <rved> Does anyone have working example of a form with CompositeField ?
394: [09:51:14] <Pyromanik> rved: what are you trying to do?
395: [09:51:15] * Shrike_Finland has joined #silverstripe
396: [09:51:24] <rved> im getting errors all the time, for instance:Call to a member function FieldHolder() on a non-object in /storage/web/public/sites/.../sapphire/forms/CompositeField.php on line 93 - See more at: http://cf.robvaneckdesign.nl/mycyclefit/new-measurement/#sthash.SPJZ9u05.dpuf
397: [09:51:40] <Pyromanik> rved: that's not to do with composite field
398: [09:51:56] <rved> :O
399: [09:51:59] <rved> what is it then?
400: [09:51:59] <Pyromanik> that's to do with $NULL->action()
401: [09:52:30] <new_learner> hey....is there any auto indentation in sublime text
402: [09:52:31] <Pyromanik> rved: how have you built your form?
403: [09:53:01] <Pyromanik> You'll probably need to paste code on sspaste.com or pastie.org or pastebin or something before I can help.
404: [09:53:09] <Pyromanik> new_learner: should be, dunno, don't use it.
405: [09:53:26] <Pyromanik> (or auto indent either)
406: [09:53:36] <new_learner> what is the best way to indent my code?
407: [09:53:40] <rved> http://paste2.org/kpDFXteK
408: [09:53:45] <rved> im trying to do something like that
409: [09:54:28] * EH4U has joined #silverstripe
410: [09:54:42] * EH4U quit (Client Quit)
411: [09:54:56] <Pyromanik> rved: are you sure that definition of compositefield is correct?
412: [09:55:01] <Pyromanik> I'm not convinced.
413: [09:55:19] <rved> maybe a title is not allowed
414: [09:55:27] <Pyromanik> exactly.
415: [09:55:37] <rved> :P
416: [09:55:39] <rved> ty
417: [09:55:40] <Pyromanik> also if you're using 3.1, use Class::create() instead of new Class
418: [09:55:50] * BingoLingo has joined #silverstripe
419: [09:55:52] <rved> thx, ill use 3.1 on a next project
420: [09:56:02] <BingoLingo> Hello
421: [09:56:09] <Pyromanik> rved: http://api.silverstripe.org/3.1/class-CompositeField.html#___construct
422: [09:56:17] <Pyromanik> ;)
423: [09:56:18] <rved> pyromanik: is 3.1 much faster compared to 3.0? i didn't use 3.0 cause clicking on a page in the cmd site tree loading took ages
424: [09:56:23] <Pyromanik> yes.
425: [09:56:45] <Pyromanik> rved: it shouldn't take ages even in 3.0. Are you using shared hosting or something?
426: [09:57:02] <rved> yes shared
427: [09:57:02] <rved> ...
428: [09:57:10] <rved> php 5.3
429: [09:57:13] <Pyromanik> It is most advisable not to :(
430: [09:57:15] <BingoLingo> Does anybody now how to get a page by locale from a TranslationGroup
431: [09:57:26] <rved> ok
432: [09:57:27] <Pyromanik> get a VPS or something like that :)
433: [09:57:34] <rved> hehe
434: [09:57:40] <rved> ill give it a go on next projects
435: [09:57:44] <Pyromanik> BingoLingo: set reading locale before using get
436: [09:57:55] <Pyromanik> or use getByLocale or whatever the docs say on translatable
437: [09:58:49] <Pyromanik> rved: silverstripe can be quite greedy on memory, so shared hosting is not ideal, although will work, you'll notice things like slow loading, etc.
438: [09:59:15] <Pyromanik> and less control over the environment, eg if some php extension is missing, etc.
439: [09:59:23] <rved> ok ty, is SS.3.1 also much faster at loading pages
440: [09:59:23] <Pyromanik> VPS much better :)
441: [09:59:32] <rved> i've read that db queries go faster?
442: [09:59:55] <Pyromanik> queries always go the same speed, they're all executed the same.
443: [09:59:57] <rved> (i mean on the front-end of the site)
444: [10:00:08] <BingoLingo> well, more specific: i do this in a page controler function: $page = $this->Parent()->Children()->First()->getTranslationGroup();
445: [10:00:14] <Pyromanik> it's the way silverstripe generates the query, etc that's better.
446: [10:00:29] <BingoLingo> what i want is the translated page of this first child
447: [10:00:49] <Pyromanik> BingoLingo: you need to set the locale before fetching.
448: [10:00:54] <Pyromanik> or something like that.
449: [10:02:06] <BingoLingo> okay, thanks
450: [10:10:52] * BingoLingo quit (Quit: Page closed)
451: [10:30:24] * violetina has joined #silverstripe
452: [10:48:22] * chillu has joined #silverstripe
453: [11:06:45] * kerosene has joined #silverstripe
454: [11:11:31] * feejin has joined #silverstripe
455: [11:33:15] * new_learner quit (Ping timeout: 250 seconds)
456: [11:37:58] * Pyromanik quit (Quit: Pyromanik)
457: [11:40:07] * r3v3rb has joined #silverstripe
458: [11:40:40] <r3v3rb> hello
459: [11:41:38] <r3v3rb> can the subsites module run domain1.com and domain2.com as separate entities now? The documentation has disappeared from doc.silverstripe.org
460: [11:41:55] <r3v3rb> or is it purely subsite1.domain.com subsite2.domain.com
461: [11:41:59] <r3v3rb> ???
462: [11:58:36] <Colin[pi]> all I know r3v3rb is: "subsites: abandon all hope ye who enter here"
463: [12:19:46] * Colin[pi] quit ()
464: [12:19:47] <r3v3rb> Colin[pi]: thanks :D
465: [12:26:12] * lerni has joined #silverstripe
466: [12:35:57] * feejin quit (Remote host closed the connection)
467: [12:36:04] * feejin has joined #silverstripe
468: [12:36:16] * feejin quit (Remote host closed the connection)
469: [12:36:23] * feejin has joined #silverstripe
470: [12:37:50] * svandragt quit (Ping timeout: 240 seconds)
471: [12:42:54] * feejin quit (Remote host closed the connection)
472: [12:43:01] * feejin_ has joined #silverstripe
473: [12:49:29] * feejin_ quit (Remote host closed the connection)
474: [12:49:36] * feejin has joined #silverstripe
475: [12:51:19] * feejin quit (Remote host closed the connection)
476: [12:51:26] * feejin has joined #silverstripe
477: [12:54:15] * feejin quit (Remote host closed the connection)
478: [12:54:22] * feejin has joined #silverstripe
479: [12:54:23] * feejin quit (Remote host closed the connection)
480: [12:54:29] * feejin has joined #silverstripe
481: [12:58:42] * r3v3rb quit (Quit: r3v3rb)
482: [12:59:34] * feejin quit (Remote host closed the connection)
483: [12:59:41] * feejin has joined #silverstripe
484: [13:00:07] * feejin quit (Remote host closed the connection)
485: [13:00:14] * feejin has joined #silverstripe
486: [13:06:18] * feejin quit (Remote host closed the connection)
487: [13:06:25] * feejin has joined #silverstripe
488: [13:07:21] * svandragt has joined #silverstripe
489: [13:08:00] * feejin quit (Remote host closed the connection)
490: [13:08:07] * feejin has joined #silverstripe
491: [13:11:24] * feejin quit (Remote host closed the connection)
492: [13:11:30] * feejin has joined #silverstripe
493: [13:14:02] * UndefinedOffset has joined #silverstripe
494: [13:21:06] * DimiStripe has joined #silverstripe
495: [13:21:20] * feejin quit (Remote host closed the connection)
496: [13:21:27] * feejin has joined #silverstripe
497: [13:22:52] <DimiStripe> HI ALl, in SS3 - how do i sort datagrid by calculated values ? (Got client with number of purchases from other table) , any could give me an example ? link ?
498: [13:34:45] <rved> if i have an allowed action 'showResults' in page.php ... on which url's will this function work?
499: [13:35:06] <rved> www.url.com/page5/subpage/showResults ?
500: [13:35:08] <rved> will this work?\
501: [13:35:15] <rved> or only www.url.com/home/showResults?
502: [13:36:05] <svandragt> rved: if subpage is of type page.php then it will work afaik
503: [13:36:17] <rved> ok ty
504: [13:39:15] * feejin quit ()
505: [13:45:06] * zfmf quit (Remote host closed the connection)
506: [13:57:34] <kinglozzer> DimiStripe: As far as I know, you can't
507: [13:58:06] <kinglozzer> At least not without a lot of custom work
508: [14:03:52] * qlex1 has joined #silverstripe
509: [14:04:01] * qlex1 says hi
510: [14:04:12] <qlex1> quick question, Zauberfisch used to make a fork of userforms
511: [14:04:33] <qlex1> which had the function in dropdown element to direct message to different email address depeneding on the chosen item from dropdown
512: [14:04:50] <qlex1> i remember once discussing it here and willr was commenting that such feature would be implemented in main branch of module
513: [14:05:05] <qlex1> does any1 have any knowledge on this ?
514: [14:12:43] <qlex1> need to leave now, but hopefulyl will be back later on to ask again
515: [14:12:45] * qlex1 says bye
516: [14:12:47] * qlex1 has left #silverstripe
517: [14:40:09] * Shrike_Finland quit (Quit: Leaving.)
518: [14:59:28] * catcher has joined #silverstripe
519: [15:09:45] * rved quit (Quit: rved)
520: [15:15:50] * Shrike_Finland has joined #silverstripe
521: [15:37:29] * zfmf has joined #silverstripe
522: [15:44:31] * DimiStripe quit (Quit: Page closed)
523: [15:47:03] * Shrike_Finland quit (Quit: Leaving.)
524: [16:08:53] * DesignerX quit (Ping timeout: 252 seconds)
525: [16:12:45] * ARNHOE quit (Ping timeout: 241 seconds)
526: [16:27:46] * Azure has joined #silverstripe
527: [16:53:38] * lerni quit (Quit: lerni)
528: [16:58:12] * Shrike_Finland has joined #silverstripe
529: [17:25:12] * zfmf quit (Remote host closed the connection)
530: [17:25:48] * kinglozzer quit ()
531: [17:28:51] * Shrike_Finland quit (Quit: Leaving.)
532: [17:47:12] * Shrike_Finland has joined #silverstripe
533: [17:56:15] * Shrike_Finland quit (Ping timeout: 260 seconds)
534: [17:56:45] * Shrike_Finland has joined #silverstripe
535: [17:57:21] * Shrike_Finland1 has joined #silverstripe
536: [17:57:40] * Shrike_Finland1 quit (Read error: Connection reset by peer)
537: [17:57:56] * Shrike_Finland quit (Read error: Connection reset by peer)
538: [17:57:59] * Shrike_Finland1 has joined #silverstripe
539: [17:59:28] * Liquide has joined #silverstripe
540: [18:00:45] * Shrike_Finland has joined #silverstripe
541: [18:00:45] * Shrike_Finland1 quit (Read error: Connection reset by peer)
542: [18:04:22] * C10ne has joined #silverstripe
543: [18:05:37] <C10ne> Hi, just a quick question: When I imported SS 3.0 database on server, and run dev/buld/ it would rename tables to uppercase. When I tried the same with 3.1 I just got a lot of errors. Any way to force this?
544: [18:08:02] * Shrike_Finland1 has joined #silverstripe
545: [18:08:03] * Shrike_Finland quit (Read error: Connection reset by peer)
546: [18:09:42] <catcher> C10ne, that's up to the mysql server config: http://dev.mysql.com/doc/refman/5.0/en/identifier-case-sensitivity.html
547: [18:10:15] <catcher> (or whichever DB you're using)
548: [18:10:44] <C10ne> Yeah, I know it's different for windows and linux servers, but SS used to handle it before 3.1
549: [18:11:03] <C10ne> Now it doesn't work any more.
550: [18:14:33] * svandragt quit (Ping timeout: 250 seconds)
551: [18:15:57] <Zauberfisch23> C10ne: sounds like a bug i guess
552: [18:16:22] * Shrike_Finland1 quit (Read error: Connection reset by peer)
553: [18:16:28] * Shrike_Finland has joined #silverstripe
554: [18:16:51] <Zauberfisch23> C10ne: have you tried to iport it on ss3.0 and then update to 3.1?
555: [18:17:22] * SightUnseen has joined #silverstripe
556: [18:17:36] * qlex has joined #silverstripe
557: [18:17:40] * qlex says hi
558: [18:17:59] <qlex> anybody with knowledge on userforms module ? i was here before but didnt catch anyone
559: [18:18:11] <qlex> Zauberfisch23: are you around perhaps ?
560: [18:18:39] * SightUnseen has left #silverstripe
561: [18:20:17] * Shrike_Finland quit (Client Quit)
562: [18:27:23] <C10ne> Not sure if bug, I just started with 3.1... There's this line in framework/model/Database at line 329 if(Config::inst()->get('Database', 'check_and_repair_on_build')) {
563: [18:27:49] <C10ne> So, that config option skips the table name alteration
564: [18:29:43] <Zauberfisch23> C10ne: ah, could be that they made that optional
565: [18:30:09] <Zauberfisch23> does it work if you set the value of that config?
566: [18:30:36] * zfmf has joined #silverstripe
567: [18:31:08] <Zauberfisch23> qlex: i wanted to merge my code back when 2.4 was still around, but the pull request was rejected because it was sort of a hack
568: [18:31:08] * zfmf quit (Read error: Connection reset by peer)
569: [18:31:17] * zfmf has joined #silverstripe
570: [18:31:48] <Zauberfisch23> qlex: i dont think anyone has made a real patch for that yet
571: [18:35:38] <qlex> ok
572: [18:35:49] <qlex> we will start with just sending email to all 3 email addresses
573: [18:35:56] <qlex> but will look into this feature later on
574: [18:36:40] <qlex> also need some help - how to introduce typography.css - we're using just style.css for now, but i realized all formatting withing WYSIWYG should be styled in typography.csss rite ?
575: [18:36:59] <qlex> client will frequently use <p>, <h1> <h2> and <table> tags
576: [18:37:19] <qlex> i added editor.css, typography.css into the themes/mytheme/css/ folder
577: [18:37:52] <qlex> and have added this to page.ss
578: [18:37:53] <qlex> <% require themedCSS('typography') %>
579: [18:40:44] <Zauberfisch23> qlex: the WYSIWYG editor uses editor.css
580: [18:41:28] <Zauberfisch23> and most people just import the typography intothe editor.css
581: [18:42:00] <Zauberfisch23> so editor.css is loaded in the editor, and typography.css is included in the frontend
582: [18:49:37] * C10ne quit (Ping timeout: 250 seconds)
583: [19:15:17] * oddnoc has joined #silverstripe
584: [19:26:21] <Zauberfisch23> qlex: maybe, just maybe, if you bug me frequently during the christmas holiday, I will update my pull request to get merged
585: [19:27:08] <qlex> !!!
586: [19:27:19] <Zauberfisch23> but you have to be super anyoing
587: [19:27:25] <qlex> i will, and i promise i can get my programmer to help you out
588: [19:27:36] <Zauberfisch23> I have like this list, of things to do, and those that anoy me most are those that get done :P
589: [19:27:42] <Zauberfisch23> so you have to be on top of that list
590: [19:27:43] <qlex> we will look and compare 2.4 standard and your fork to see the difference
591: [19:27:55] <qlex> haha
592: [19:28:02] <qlex> nice, where r u located (i mean timezone)
593: [19:28:08] <qlex> so that i know when to best annoy you :)
594: [19:28:15] <Zauberfisch23> [3~
595: [19:28:34] <Zauberfisch23> mispaste
596: [19:28:40] <qlex> i see that same timezone and continent as mine :)
597: [19:29:21] * simon_w pokes Zauberfisch23
598: [19:29:25] * simon_w pokes Zauberfisch23
599: [19:29:28] * simon_w pokes Zauberfisch23
600: [19:29:31] <simon_w> Annoying yet? :p
601: [19:34:25] <Zauberfisch23> -.-
602: [19:36:28] <catcher> stupid question. What do I have to do to get an HTMLText value to be parsed in the template when I'm passing via Customise?
603: [19:37:42] <unsignedint> how do you mean? HTMLText doesnt escape its content afaik, so any HTML in it is preserved and not converted to entities
604: [19:38:01] <Zauberfisch23> catcher: you mean it gets excaped (so it ends up beeing &lt;span&gt; ?
605: [19:38:10] <Zauberfisch23> try:
606: [19:38:20] <catcher> Not even the codes, just < p > text, etc.
607: [19:38:30] <Zauberfisch23> $foo->customize(array($page->getField('Content')));
608: [19:38:38] <Zauberfisch23> or
609: [19:38:56] <Zauberfisch23> $foo->customize(array($page->val_XML('Content')));
610: [19:38:59] <unsignedint> catcher: paste code of customise() call and template?
611: [19:39:00] <Zauberfisch23> or something like that
612: [19:40:06] <simon_w> catcher, $this->obj('Field')
613: [19:40:10] * ajmitch_ is now known as ajmitch
614: [19:40:27] <catcher> theeere it is, thanks simon_w
615: [19:40:46] <unsignedint> oh you wanted the actual HTMLText object, and not the string value
616: [19:40:46] <catcher> and thanks Zauberfisch23 and unsignedint for the other suggestions
617: [19:40:54] <catcher> right
618: [19:41:03] * Ryan-Toast has joined #silverstripe
619: [19:42:02] <simon_w> Bah, need to rejig this since PHP doesn't let you have recursive closures :(
620: [19:42:19] * SphereSilverNL has joined #silverstripe
621: [19:44:46] * DigNZ has joined #silverstripe
622: [20:06:53] <zippy___> unsignedint: o/
623: [20:07:59] <unsignedint> zippy___: \o haha didnt realise you were in #laravel too
624: [20:08:22] <zippy___> not the first time I've spotted people in both channels...
625: [20:08:41] <unsignedint> Silverstripe for CMS projects, Laravel for everything else if its a PHP project
626: [20:09:02] <zippy___> yeap that seems to be the general consensus I am findnig :)
627: [20:09:15] <simon_w> Beatbox!
628: [20:09:22] * unsignedint beatboxes
629: [20:09:27] <AlphaCactus> whats a non cms project
630: [20:09:29] * unsignedint feels ashamed for being white trash
631: [20:09:39] <unsignedint> AlphaCactus: for example the booking system I wrote
632: [20:10:13] <simon_w> AlphaCactus, a project without a cms
633: [20:10:17] <unsignedint> sure, you could try and shoehorn it into Silverstripe but it would be an exercise in rage and frustration
634: [20:10:46] <zippy___> http://www.incredibox.com/v3/
635: [20:12:07] <unsignedint> hahahaha
636: [20:12:16] <unsignedint> wow, I cant believe people actually make this stuff
637: [20:12:33] <simon_w> Giant grey box with FLASH in the middle?
638: [20:12:42] <simon_w> Also, https://wiki.pocketrent.com/beatbox/start
639: [20:12:42] <simon_w> Someone should write them docs for me!
640: [20:15:23] <guzzlefry> If only there was a documentation person here...
641: [20:15:23] * Cornelio has joined #silverstripe
642: [20:15:23] <unsignedint> ss23 is docs man
643: [20:15:23] <unsignedint> although I havnt seen him in ages
644: [20:15:23] <guzzlefry> He probably bailed from it.
645: [20:15:23] <unsignedint> I would too, the docs are mostly a mess
646: [20:15:23] <zippy___> unsignedint: ss23 is now… Snowman23:
647: [20:15:23] <guzzlefry> "I'm not the docs guy!"
648: [20:15:27] <guzzlefry> who does he think he's fooling? :P
649: [20:15:44] <unsignedint> I mainly look at the API docs now and then read the code which is conveniently accessible from the API docs
650: [20:16:06] <Ryan-Toast> zippy___: That's really cool.
651: [20:16:34] <zippy___> isn't it just…. cool the beats you can make.. the other versions are good as well…
652: [20:16:42] <zippy___> I think there is a shuffle mode as well
653: [20:16:56] <Ryan-Toast> There goes my productivity
654: [20:18:46] <zippy___> record them, make an itunes album, be rich as!
655: [20:18:55] <zippy___> easy :)
656: [20:18:56] * Cornelio has left #silverstripe
657: [20:19:03] <unsignedint> itd probably work too, talent isnt a requirement nowadays
658: [20:19:23] <Ryan-Toast> unsignedint: Please see beatport top 10
659: [20:19:31] <unsignedint> heaps of faggot highschoolers equipped with beats headphones and beats studio try it and pretend they are DJs
660: [20:19:33] <Ryan-Toast> all the same drop
661: [20:20:25] <Ryan-Toast> I went to OurHouse last weekend, and everytime therte was a build up for a song I liked I was all aww yiss, but then the same generic drop would go on for ~2 minutes...
662: [20:20:56] <unsignedint> sounds dumb
663: [20:21:04] * qlex has left #silverstripe
664: [20:21:37] * unsignedint has no motivation to work today
665: [20:21:47] * SphereSilverNL neither
666: [20:21:51] <Ryan-Toast> unsignedint: It was.
667: [20:21:55] <SphereSilverNL> but then again, it's 9.20 PM
668: [20:22:21] <unsignedint> oh, its 9:20am here. Have to work till 5pm
669: [20:22:35] <unsignedint> also have to charge my time to a client
670: [20:22:44] * unsignedint wonders which client should pay for him chatting on IRC
671: [20:23:03] <SphereSilverNL> My boss, probably :P
672: [20:23:16] <Ryan-Toast> unsignedint: I have to finish this stupid iFrame site, but I'd much rather be adding stuff to my boilerplate
673: [20:23:31] <SphereSilverNL> Ryan-Toast: refuse?
674: [20:23:41] <Ryan-Toast> SphereSilverNL: Not my call :(
675: [20:23:50] <SphereSilverNL> If I can't promise it'll work in an iframe, I just say "nope, not gonna happen"
676: [20:23:57] <unsignedint> yeah sucks ay, having to work on stuff youre not interested in
677: [20:24:00] <SphereSilverNL> Your manager doesn't listen to your input?
678: [20:24:17] <Ryan-Toast> SphereSilverNL: It's just the last part of their site
679: [20:24:28] <Ryan-Toast> SphereSilverNL: Intergration of a external booking form.
680: [20:24:45] <Ryan-Toast> SphereSilverNL: The client didn't want to pay for an API intergration, so we have to use dem sweet iframes.
681: [20:24:51] <unsignedint> if only browsers let you do cross-domain POSTS, would be way easier
682: [20:24:55] <SphereSilverNL> Ah, those iframes....
683: [20:25:06] <SphereSilverNL> Here's a hint, for IE-stuff:
684: [20:25:10] <simon_w> unsignedint, they do :p
685: [20:25:11] * zfmf quit ()
686: [20:25:11] <SphereSilverNL> USE THE P3P-header
687: [20:25:28] <unsignedint> simon_w: is that via Access-Control-Allow-Origin?
688: [20:25:40] <simon_w> Also, by not using ajax
689: [20:25:42] <SphereSilverNL> and note, Safari will NEVER EVER work normally with iframes, due to it's default security policy
690: [20:25:57] <SphereSilverNL> p3p-headers at least solves IE (usually)
691: [20:26:18] <Ryan-Toast> Works in safari?
692: [20:26:42] <SphereSilverNL> No, latest Safari will not ever accept 3rd party cookies
693: [20:26:50] <simon_w> Yeah, Safari handles iframes fine
694: [20:27:08] <SphereSilverNL> iframes are fine, session-cookies are a problem though
695: [20:27:10] <Ryan-Toast> SphereSilverNL: Here it is on the latest safari: http://imgur.com/8NQWCX3
696: [20:27:42] <SphereSilverNL> My experience with Safari is, "expect issues"
697: [20:28:15] <simon_w> If you rely on 3rd party cookies, expect issues
698: [20:28:20] <SphereSilverNL> Mavericks version of Safari, won't accept 3rd party cookies, which will probably cause CSRF-errors (no session, no CSRF)
699: [20:28:24] <simon_w> That's not just Safari
700: [20:29:00] <Ryan-Toast> SphereSilverNL: I'm using mavrick...
701: [20:29:01] <SphereSilverNL> simon_w: the P3P header solves that for IE, Firefox and Chrome, but Safari just keeps saying "not gonna happen"
702: [20:29:24] <SphereSilverNL> You can get through a form without CSRF errors?
703: [20:29:31] <Ryan-Toast> SphereSilverNL: Yup
704: [20:29:39] <SphereSilverNL> I personally haven't experienced that yet :/
705: [20:29:49] <Ryan-Toast> SphereSilverNL: Maybe because it's an asp form?
706: [20:30:37] <SphereSilverNL> Any form will do. A "simple" facebook-pagetab had to be fixed with browser sniffing, just because safari]
707: [20:30:58] <SphereSilverNL> (Don,t ask, FB-thingy's are the worst)
708: [20:31:52] <Ryan-Toast> SphereSilverNL: I'm glad I'm a front end dev.
709: [20:31:59] <SphereSilverNL> If browser doesn't accept, use URL-based session settings was the way to go :/
710: [20:32:54] <SphereSilverNL> It's an ugly, unwanted, solution :)
711: [20:33:14] <Ryan-Toast> Bah, it's been more than 2 weeks since the last going quantum mix. I need my fix.
712: [20:33:42] <SphereSilverNL> I haven't had coffee in 3 days. You'll be fine :/
713: [20:36:16] <Ryan-Toast> I used to drink ~1 litre of V a day, then I had to give up cold turkey. That was a rough couple of weeks.
714: [20:36:56] <SphereSilverNL> As in Wodka???
715: [20:42:05] <SphereSilverNL> Almost 10 PM.... I'm off to bed.
716: [20:42:12] <SphereSilverNL> Sleep tight folks
717: [20:42:26] * SphereSilverNL quit (Quit: bye)
718: [20:42:33] <zippy___> nite
719: [20:48:40] * joelpittet has joined #silverstripe
720: [21:03:37] <Snowman23> 09:15:21 < guzzlefry> "I'm not the docs guy!"
721: [21:03:42] <Snowman23> I AINT THE DOCS GUY
722: [21:03:48] <Snowman23> THAT'S camfindlay!!!!!!
723: [21:04:58] * ARNHOE has joined #silverstripe
724: [21:05:58] <simon_w> Nope, it's you
725: [21:07:58] <unsignedint> hey does anyone know how to Sort on a manymany_extraFIeld?
726: [21:08:55] <unsignedint> i tried $this->Relation()->Sort("FieldName") and $this->Relation()-Sort("ManyMany[FieldName]") but both produced a query that didnt work (FieldName didnt have the correct table prefixed to it)
727: [21:10:29] <unsignedint> oh nevermind it was just me being a dumbass
728: [21:10:31] <unsignedint> carry on
729: [21:12:33] * PapaBear has joined #silverstripe
730: [21:13:44] <PapaBear> Hi Everyone. I'm having trouble with a custom controller. I've set up the route and the template files but the controller is resulting in the "Welcome to Silverstripe" page instead of showing me what I expect - which is a page build from the template.
731: [21:14:00] <simon_w> Have you flushed?
732: [21:14:26] <PapaBear> this is regardless whether I access it via the route or via the default controller route - localhost/SpecRunnerController
733: [21:14:40] <PapaBear> yes. dev/build?flush=all
734: [21:15:23] <Ryan-Toast> PapaBear: Sometimes doing a dev/build, then a flush=all seperatly works for me.
735: [21:17:01] <simon_w> PapaBear, and what's the name of your template?
736: [21:17:23] <PapaBear> Well - that was simple - Thanx Ryan! sheesh - You'd think I woulda thought of that one :(
737: [21:18:02] <PapaBear> the template is SpecRunnerController_runall
738: [21:18:06] <Ryan-Toast> PapaBear: No problem :) Glad I could help.
739: [21:19:19] <PapaBear> Ok - back to the debugging. ;) Thanks simon_w and Ryan!
740: [21:21:00] * tankr has joined #silverstripe
741: [21:26:55] <Ryan-Toast> There's a TotalCount method in a template loop, right?
742: [21:28:16] <zippy___> ->Count() ?
743: [21:28:53] <Ryan-Toast> Count is incremental, isn't it?
744: [21:29:17] <Ryan-Toast> Or is that Pos?
745: [21:29:55] * svandragt has joined #silverstripe
746: [21:31:28] <Ryan-Toast> zippy___: It is the total, cheers :)
747: [21:31:58] * PapaBear quit ()
748: [21:34:53] * svandragt quit (Read error: Connection reset by peer)
749: [21:34:56] * svandragt1 has joined #silverstripe
750: [21:35:47] <catcher> If I instantiate a RestfulService in a static method & use it across controllers, will the cache will persist across them? i.e. is it the same object?
751: [21:37:44] * Liquide quit ()
752: [21:37:47] <catcher> I guess it wouldn't be.. do I need to pass it by reference? Even to reuse it in the same controller?
753: [21:37:50] <AlphaCactus> in the same request?
754: [21:38:12] <catcher> AlphaCactus, different requests.
755: [21:39:48] <catcher> I'm going to be grabbing a large dataset from an API. I'd like to have it cached once per hour, and have the local copy used across requests and actions for that hour.
756: [21:39:55] * svandragt has joined #silverstripe
757: [21:40:52] * svandragt1 quit (Read error: Connection reset by peer)
758: [21:42:08] * ARNHOE quit (Remote host closed the connection)
759: [21:44:59] * svandragt1 has joined #silverstripe
760: [21:45:02] <catcher> Looks like it's smart enough to serve up the local copy based on filename, which obviously persists
761: [21:45:23] * UndefinedOffset quit (Quit: Leaving.)
762: [21:45:40] * UndefinedOffset has joined #silverstripe
763: [21:45:41] * svandragt quit (Read error: Connection reset by peer)
764: [21:48:40] <catcher> That's some great news if that's true.
765: [21:49:50] * UndefinedOffset quit (Ping timeout: 240 seconds)
766: [21:51:02] * svandragt1 quit (Ping timeout: 240 seconds)
767: [21:51:19] <guzzlefry> So, I'm adding 301 redirects to my .htaccess. How do I stop SilverStripe from appending ?url=/path/to/old/url to the URL?
768: [22:00:09] <zippy___> ? think
769: [22:00:34] <zippy___> /aaaa /bbbb?
770: [22:00:34] <guzzlefry> ?
771: [22:00:44] <zippy___> I think if you put a ? on the end, it stops it
772: [22:00:50] <zippy___> it's not a Silverstripe thing but apache
773: [22:01:02] <guzzlefry> I thought I saw a rewrite rule for it...
774: [22:01:23] <guzzlefry> oh, nevermind
775: [22:01:24] <guzzlefry> RewriteRule .* framework/main.php?url=%1&%{QUERY_STRING} [L]
776: [22:01:28] <guzzlefry> Was looking at thta.
777: [22:01:31] <guzzlefry> s/that
778: [22:02:06] <Ryan-Toast> Aww sick, morrowind in Skyrim: http://www.youtube.com/watch?v=AYrH_cb8zeY
779: [22:06:07] <unsignedint> hey does anyone know how to, in a GridField-managed many_many, include multiple records of the same class? eg I have Accessories and Vehicles, and many accessories can be assigned to many Vehicles. The same accessory can also be assigned to the same vehicle many times, with different data on the many_many_extraFields (which include price and part number). However, GridFIeld will only allow me to link the relation once and aft
780: [22:06:08] <unsignedint> er that it doesnt show in the autocomplete
781: [22:12:22] <simon_w> unsignedint, you're going to need a class in the midddle
782: [22:12:23] <unsignedint> I can add the records manually in the database and they show in GridField, but the GridField autocomplete "Link Existing" wont show them as an option if they have already been added
783: [22:12:44] <unsignedint> ah damn, just when I was starting to understand the ManyMany system
784: [22:13:50] <AlphaCactus> unsignedint: i use https://github.com/simonwelsh/silverstripe-GridFieldRelationHandler
785: [22:14:17] <AlphaCactus> might not hurt to try it at least to see if it lists items you want to select
786: [22:14:23] <unsignedint> maybe I can subclass the GridFieldAddExistingAutocompleter
787: [22:14:29] <unsignedint> thanks AlphaCactus I will give that a crack
788: [22:17:57] <unsignedint> actually that wont work, it still only allows a single record for each item on the other tabke
789: [22:18:01] <unsignedint> table*
790: [22:18:42] <unsignedint> and I just realised the GridField edit form doesnt work with the item I manually added to the db, it takes the first item I added instead
791: [22:18:46] <unsignedint> separate class it is :(
792: [22:19:04] <AlphaCactus> i use extra fields so rarely I can't even remember where I used it last
793: [22:19:19] <unsignedint> yeah I have never had to use them before this project
794: [22:19:58] <unsignedint> would be nice if GridField managed the intermediate tables properly instead of being limited to the first record that matches both sides
795: [22:22:01] <simon_w> It does handle them properly. You breaking the expected consistency doesn't change that.
796: [22:23:31] <unsignedint> I dont understand then. Each row in the intermediate table has a unique id. Shouldnt GridField be able to operate on the intermediate table based solely on that id instead of taking the ID of the left side and the ID of the right side and using that as its "unique" id?
797: [22:44:52] * DesignerX has joined #silverstripe
798: [22:46:25] <zippy___> hgahaha oh jez :)
799: [22:46:55] <zippy___> watching this live stream of the cricket and it pops up with a dialog right in the middle "This software is for personal use only" been there for the past 10 minutes… guy finally remotes it and closes it.
800: [22:47:06] <zippy___> *remotes in
801: [22:53:51] * catcher quit (Quit: Leaving)
802: [22:54:18] * tankr quit (Quit: Leaving.)
803: [22:54:35] * Colin[pi] has joined #silverstripe
804: [22:56:56] <zippy___> Colin[pi]: o/
805: [22:57:18] <Colin[pi]> :o
806: [22:57:20] <Colin[pi]> morning
807: [22:57:31] * Pyromanik has joined #silverstripe
808: [23:00:57] * Jayden has joined #silverstripe
809: [23:01:23] * Jayden is now known as Jayden90
810: [23:01:26] * Jayden90 quit (Client Quit)
811: [23:01:44] * Jayden90 has joined #silverstripe
812: [23:02:07] <Jayden90> https://github.com/ajshort/silverstripe-gridfieldextensions/blob/master/docs/en/index.md
813: [23:02:16] <Jayden90> "For many_many relationships, the sort field should normally be an extra field on the relationship."
814: [23:02:26] <Jayden90> What is meant by this?
815: [23:08:26] * SightUnseen1 has joined #silverstripe
816: [23:14:51] * zippy___ quit (Ping timeout: 252 seconds)
817: [23:15:24] <unsignedint> Jayden90: it means make a field called eg "SortOrder" => "Int" as part of the many_many_extraFields
818: [23:16:07] <Jayden90> Ohh, looking up `many_many_extraFields` now. Dont think i have used that before, thanks
819: [23:16:39] <unsignedint> its basically a way to attach data to the intermediate table that gets created for many to many relations
820: [23:26:13] * Ryan-Toast quit (Quit: Ryan-Toast)
821: [23:26:16] * spronk2 has joined #silverstripe
822: [23:29:36] * zfmf has joined #silverstripe
823: [23:30:50] * Bollig|DesignCty has joined #silverstripe
824: [23:31:22] * spronk2 quit (Quit: spronk2)
825: [23:32:34] * Ryan-Toast has joined #silverstripe
826: [23:32:40] <Jayden90> unsignedint: Got it working, thanks for the tip.
827: [23:32:44] * zfmf quit (Client Quit)
828: [23:32:47] <unsignedint> no worries
829: [23:33:03] * zfmf has joined #silverstripe
830: [23:55:14] * Ryan-Toast quit (Quit: Ryan-Toast)

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