#silverstripe IRC Log

IRC log for 4 June 2014

All timestamps are in UTC.

1: [00:00:52] <Colin[pi]> UncleCheese: I suppose so but I know very little of living in london
2: [00:01:18] <UncleCheese> i don't get the sense that people make much money in the UK, either
3: [00:01:34] <Stomach> nobody makes any money
4: [00:01:38] <Stomach> its all a lie
5: [00:01:40] <UncleCheese> every client i've ever had from the UK has been so cheap
6: [00:03:04] <Colin[pi]> heh I had a friend move there, and he said he never understood why people whinge so much from the UK
7: [00:03:10] <ss23> guis packing is hard
8: [00:03:14] <Colin[pi]> then he lived there and learned why
9: [00:03:14] <ss23> and I need lunch, and boxes
10: [00:03:15] <ss23> :(
11: [00:03:19] <ss23> containers*
12: [00:03:23] <Colin[pi]> he said "nothing works, everything is covered in shit"
13: [00:03:23] <Colin[pi]> lol
14: [00:04:18] * sminnee has joined #silverstripe
15: [00:04:24] <Colin[pi]> ss23: how long til you leave?
16: [00:04:29] <Zauberfisch> holly crap
17: [00:05:04] <Zauberfisch> I would have to think hard to pay 170 pounds for that per month
18: [00:05:16] <ss23> ;_;
19: [00:05:19] <ss23> Soon...
20: [00:05:21] <Colin[pi]> Zauberfisch: they had 20 emails about it
21: [00:05:24] <ss23> Going to auckland in ~3-4 hours
22: [00:05:38] <Colin[pi]> ss23: HURRY UP
23: [00:05:42] <simon_w|air> Bah, don't want to get out of bed
24: [00:05:57] <Stomach> ss23 - don't get stopped by the drug dogs this time
25: [00:06:01] <ss23> XD
26: [00:06:05] <ss23> I get stopped most times :P
27: [00:06:49] <Zauberfisch> Colin[pi]: this is insane
28: [00:07:16] <Colin[pi]> I always get stopped for random checks
29: [00:07:19] <Colin[pi]> I must look dodgy
30: [00:07:27] <Colin[pi]> it's my shifty eyes O_O
31: [00:08:13] <Kingy> the trick when going through customs is to tick the box about bringing in dirty shoes
32: [00:08:20] <Kingy> then just say oh i thought you mean sport shoes
33: [00:08:29] <Kingy> then they just point you through the exit path
34: [00:08:59] <Kingy> 60% of the time it works every time
35: [00:09:50] <Kingy> or buy chocolate at duty free and tick the box about bringing in food
36: [00:10:16] <Colin[pi]> Kingy: last time I got back from Brazil he's like "what have you got?" - told him what it was, chocolate, south american tea, cachaca.. and he said "ok you can go"
37: [00:10:21] <Colin[pi]> didn't even lok
38: [00:10:22] <Colin[pi]> *look
39: [00:10:26] <Colin[pi]> I was very surprised
40: [00:10:29] <Kingy> yeah exactly
41: [00:10:47] <Kingy> we came back from europe and i had chocolates ticked it and shes like ok go through there and it was the exit
42: [00:10:59] <irogue_> i got attention from a dog when i arrived back in auckland from germany
43: [00:11:22] <simon_w|air> You don't need to declare chocolate going into Australia
44: [00:11:25] <irogue_> handler's like "what have you got in there?" "a fuckton of germany chocolate"
45: [00:11:33] <ss23> simon_w|air: Did they change it?
46: [00:11:43] <ss23> Cause when I went through last, they were like "ANY DAIRY PRODUCTS?"
47: [00:11:47] <ss23> and I'm like "aw shit this chocolate is dairy!"
48: [00:11:51] <Stomach> simon_w|air - you should, i got stopped carrying easter eggs once as they thought they looked like bombs
49: [00:11:55] <irogue_> "ah, yeah this dog has an annoying obsession with chocolate, no worries"
50: [00:11:58] <Stomach> :(
51: [00:12:00] <simon_w|air> ss23, they don't count it as a dairy product
52: [00:12:04] <ss23> hahah irogue_ XD
53: [00:12:06] <simon_w|air> Since it's not mostly dairy
54: [00:12:07] <Colin[pi]> irogue_: heheh
55: [00:12:12] <ss23> simon_w|air: aw shit, that's not clear from the slip!
56: [00:12:28] <simon_w|air> ss23, but it is from the person that I had to give money to!
57: [00:12:30] <irogue_> it's always better to declare shit even if you don't think you have to
58: [00:12:43] <Colin[pi]> ^ this
59: [00:12:45] <ss23> aw yep :O
60: [00:12:50] <Colin[pi]> I always err on the side of caution
61: [00:12:52] <irogue_> better to have someone ask for clarification and go "oh, nah we don't care about that, bye"
62: [00:12:58] <Colin[pi]> yep
63: [00:13:10] <Colin[pi]> funniest time was when I brought back an unlabeled plastic bag of cassava flour from Brazil (difficult to find here)
64: [00:13:11] <simon_w|air> I already have to do that with my drugs
65: [00:13:15] <irogue_> than not declare something and get taken aside and asked a million questions about why you didn't declare shit
66: [00:13:15] <Colin[pi]> so she's looking in my suitcase and pulls out this big bag of white powder
67: [00:13:21] <Colin[pi]> she's like "What's this?"
68: [00:13:25] <Colin[pi]> I'm like "It's flour.."
69: [00:13:37] <Colin[pi]> she looks and goes... "hmmmm should prolly be in a labelled bag, but I'll allow it"
70: [00:13:43] <Colin[pi]> I was like wtf
71: [00:14:40] <Colin[pi]> but they took my guarana seed chain ;(
72: [00:16:03] <Stomach> if i have implemented PermissionProvider and added a providePermissions function is there anything else I have to do to get it to show up in the permissions ? >_< why does this one fail, urgh.
73: [00:16:51] <simon_w|air> Stomach, flush
74: [00:17:07] <simon_w|air> Maybe dev/build too
75: [00:17:17] <simon_w|air> Also, I should probably get out of bed and do some work
76: [00:17:28] <Stomach> yeah, dev/build did it
77: [00:17:29] <Stomach> chur
78: [00:18:04] * simon_w|air quit (Quit: This computer has gone to sleep)
79: [00:19:38] * superspring_ is now known as superspring
80: [00:22:07] <Stomach> uh-oh
81: [00:22:10] <Stomach> https://bitbucket.org/
82: [00:22:34] * simon_w has joined #silverstripe
83: [00:24:43] <ss23> lol Stomach
84: [00:24:50] <ss23> sux2bthem
85: [00:25:01] <Stomach> great2bme!
86: [00:25:07] <Stomach> 'cant work, no code, bye'
87: [00:25:17] <ss23> lol
88: [00:25:19] <ss23> I want lunch
89: [00:25:22] <ss23> Get me lunch,Stomach :O
90: [00:25:26] <ss23> I need plastic containers too
91: [00:25:32] <ss23> I really cbf going to supermarket uguuuuuuu
92: [00:25:43] <Stomach> eat grass
93: [00:25:46] <Stomach> grasseater
94: [00:25:48] <ss23> I just realised, I can get my friend to bring containers instead!
95: [00:26:19] <ss23> Stomach: apartment, no grass
96: [00:27:08] <Stomach> eat carpet
97: [00:27:11] <Stomach> carpeteater
98: [00:27:24] <ss23> ...
99: [00:27:27] <ss23> inuendo? :3
100: [00:27:37] <Stomach> nah, just hungover and extra stupid today
101: [00:28:07] <ss23> lol
102: [00:29:18] <Colin[pi]> Stomach: load balancing problem? sometimes works, sometimes not :o
103: [00:29:48] <Stomach> Colin[pi] - doesn't matter as long as it keeps down :D
104: [00:29:55] <Colin[pi]> :D
105: [00:30:01] <Stomach> godamn its up again
106: [00:30:05] <Colin[pi]> lol
107: [00:33:13] * sminnee quit (Quit: sminnee)
108: [00:38:18] <Colin[pi]> Stomach: http://status.bitbucket.org/
109: [00:38:37] <Colin[pi]> the web page equivalent of a "WOOOOP WOOOOP WOOOOP" siren
110: [00:42:27] <simon_w> Colin[pi], emailed Shane?
111: [00:42:47] <Colin[pi]> simon_w: not yet, though I received a reply back from the hotel conference people yesty
112: [00:44:15] <simon_w> I've got a nice link I can click to email him
113: [00:44:20] <simon_w> I guess I'll click it then ;)
114: [00:44:55] <Colin[pi]> cc me in?
115: [00:51:58] <simon_w> Okay
116: [00:58:39] * babak quit (Quit: Connection closed for inactivity)
117: [00:59:55] <Zauberfisch> Colin[pi]: ahhhh. yes. just when I finally found motivation to start working, I can't get to my issue list D:
118: [01:00:20] <Zauberfisch> oh, its back
119: [01:00:21] <Zauberfisch> yay
120: [01:00:21] <Colin[pi]> bitbucket? it's fixed now I think :P
121: [01:00:23] <Colin[pi]> ;)
122: [01:00:37] <Zauberfisch> yeah, was using the time to get something to eat
123: [01:01:18] <simon_w> Oh, all you people and your reliance on external things
124: [01:01:25] <simon_w> Colin[pi], and sent!
125: [01:01:40] <Zauberfisch> simon_w: everything is redundant, expect my issue list
126: [01:01:42] <simon_w> Rather succinct
127: [01:01:44] <Colin[pi]> thanks simon_w
128: [01:01:48] <Zauberfisch> but yeah, not that smart
129: [01:02:33] <simon_w> "mail.server.net.au"
130: [01:02:33] <simon_w> Heh, great name
131: [01:03:12] <Colin[pi]> simon_w: lol my old boss scored that domain, he was stoked
132: [01:04:07] <Colin[pi]> forever having conversations like "what's your mail server address?" "mail.server.net.au" "no no, I know that, but what's the address?" "MAIL.SERVER.NET.AU"
133: [01:05:22] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
134: [01:06:07] * Colin[pi]-2 has joined #silverstripe
135: [01:08:04] * V_ has left #silverstripe
136: [01:08:41] * Colin[pi] quit (Ping timeout: 264 seconds)
137: [01:09:31] * Colin[pi]-2 is now known as Colin[pi]
138: [01:12:59] <Kingy> now don't be jealous but i've got a certificate to say i've completed the introduction to SS
139: [01:13:25] * antmas is now jelly of Kingy
140: [01:14:09] * micmania1 has joined #silverstripe
141: [01:16:06] <Ryan-Toast> Kingy: Mine just arrived too! http://i.imgur.com/cBg8Z0f.jpg
142: [01:16:29] <Kingy> nice! hah
143: [01:16:41] <Kingy> it's lacking scones
144: [01:18:50] * micmania1 quit (Ping timeout: 255 seconds)
145: [01:19:43] <ss23> I CAN'T FIND MY JEANS, HOW CAN ANYONE EVEN LOSE JEANS
146: [01:19:45] * UncleCheese has joined #silverstripe
147: [01:19:55] <Kingy> wearing them?
148: [01:20:30] <Ryan-Toast> Sometimes I find weird things I’ve made in my imgur folder: http://i.imgur.com/f9K9a6d.gif
149: [01:22:35] <ss23> Only wearing one pair, still missing one :(
150: [01:24:18] <Stomach> imgur Stevie is a weirdo: http://i.imgur.com/wAFIY.jpg
151: [01:25:36] <antmas> lol
152: [01:25:51] <antmas> dafuq is the point in page ratings on wikis?
153: [01:25:57] <Ryan-Toast> Stomach: yeah, son http://i.imgur.com/pUFVimJ.jpg
154: [01:26:12] <Stomach> lol, the man
155: [01:26:18] <Stomach> ctr ftw
156: [01:26:22] <simon_w> Good one Gmail. That spam email really belongs under important.
157: [01:26:59] <Stomach> but you could win the prize/get the money/make the money/get the bitches!
158: [01:27:05] <Ryan-Toast> Stomach http://i.imgur.com/K6ozaxn.jpg
159: [01:27:13] <simon_w> It was for Blackberry
160: [01:27:26] <Stomach> Ryan-Toast: what did I do to deserve that :(
161: [01:27:41] <Ryan-Toast> Stomach: was just in my imguer folder, isn’t that what we were doing?
162: [01:27:49] <Stomach> oh
163: [01:27:54] <Stomach> I only had that one photo
164: [01:27:55] <Stomach> :(
165: [01:28:12] <Ryan-Toast> Stomach: lol. I post a lot to /r/birdswitharms
166: [01:28:16] <Colin[pi]> http://i.imgur.com/gLdb50C.gif
167: [01:28:31] * Tanger has joined #silverstripe
168: [01:28:35] <Ryan-Toast> Includeing this one: http://i.imgur.com/mnN0AIP.png
169: [01:28:36] <antmas> Ryan-Toast: is a /r/ whore
170: [01:28:47] <Stomach> indeed
171: [01:29:49] <Colin[pi]> http://i.imgur.com/7Y8VEks.gif
172: [01:31:44] <Ryan-Toast> Lol, found one of the old dota comics I made: http://i.imgur.com/P9UWg.jpg
173: [01:32:08] <Stomach> lol
174: [01:32:46] <Colin[pi]> http://i.imgur.com/zRJA4Ob.gif
175: [01:41:45] <ss23> :(
176: [01:41:49] <ss23> I'M GETTING HUNGRIER
177: [01:42:38] <Colin[pi]> HUNGRINESS INTENSIFIES
178: [01:45:26] <ss23> ;___;
179: [01:45:28] <ss23> yes
180: [01:45:34] <ss23> I am going to have to go out and get mcdonalds I think
181: [01:45:42] <ss23> I decided I'll *probably* be okay without buying more needles
182: [01:46:21] <simon_w> Just reuse needles. What could go wrong?
183: [01:47:14] <Stomach> how can I do an ajax request to a controller action, but have paginated list links use the base link, not the action link
184: [01:47:34] <irogue_> that was a good lunch
185: [01:49:31] <Stomach> http://www.sspaste.com/paste/show/538e779c8b05c
186: [01:51:46] <ss23> simon_w: Surprisngly, not much :O
187: [01:51:51] <ss23> As long as you don't do it often, it's "fine"
188: [01:51:56] <ss23> (warning: you may die)
189: [01:53:34] <Stomach> someone help ^
190: [01:55:16] <ss23> That's fine?
191: [01:55:23] <ss23> requst the page/action
192: [01:55:53] <Stomach> paginated links come up as news/getNews?c=2&start=1
193: [01:56:09] <Stomach> rather than news/?c=2&start=1
194: [01:56:54] * Stomach will just throw it on the index function :\
195: [01:58:45] <ss23> Um
196: [01:58:50] <irogue_> [13:51:51] <+ss23> As long as you don't do it often, it's "fine"
197: [01:58:52] <ss23> I do not understand the issue
198: [01:58:55] <irogue_> i can think of so many things that can apply to...
199: [01:59:51] <ss23> Like violent video games
200: [01:59:55] <ss23> Eventually, they'll cause the urge to murder
201: [02:02:29] <simon_w> Stomach, you need to change $_SERVER['REQUEST_URI'] to the base URL you want
202: [02:03:00] * antmas quit (Quit: Page closed)
203: [02:03:06] <Stomach> simon_w - I've just added an index function and return $this->getNews if request->isAjax is true,
204: [02:07:52] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
205: [02:15:25] * UncleCheese has joined #silverstripe
206: [02:20:57] * babak has joined #silverstripe
207: [02:25:44] <Stomach> urgh I have got a sore tummy
208: [02:26:29] <simon_w> Amputate
209: [02:30:00] <irogue_> ss23: but the urge is only to murder anti-videogame campaigners, so that's okay
210: [02:35:11] <Colin[pi]> lol my alcoholic neighbour just texted me wanting me to bring booze to the hospital
211: [02:35:17] <Kolin> Hey
212: [02:37:03] <simon_w> Our neighbour just took the trailer
213: [02:37:10] <Stomach> hey Kolin
214: [02:37:49] <Kolin> Sup Stomach?
215: [02:37:55] <Stomach> the roof. lol
216: [02:38:20] <Kolin> heh
217: [02:38:49] <Kolin> Bad news if your stomach is on the roof
218: [02:39:06] <Stomach> or an awesome anti-gravity experience
219: [02:39:37] <Kolin> I'm prety sure it would still make me puke.
220: [02:41:37] <Stomach> :D
221: [02:48:41] <Stomach> whats up with you Kolin
222: [02:49:31] <Ryan-Toast> Stomach: your condition is so meta.
223: [02:50:27] <ss23> 14:25:45 < Stomach> urgh I have got a sore tummy
224: [02:50:29] <ss23> :(
225: [02:50:29] <Kolin> Not a lot Stomach
226: [02:50:30] <ss23> THE WORST
227: [02:50:42] <ss23> Stomach has a store somtahc
228: [02:50:59] <Kolin> Thought I'd come say hello again since I'll be builing another freelance job in SS soon and might need some help :)
229: [02:51:40] <Kolin> I've been stuck with Expression Engine and Drupal at work for the past year and may need the odd refresher
230: [02:51:53] <Stomach> you poor thing
231: [02:52:02] <Kolin> :(
232: [02:52:09] <Kolin> I feel alittle bit dirty
233: [02:52:52] <Stomach> lol
234: [02:52:59] <Kolin> I was considering building this site ( its for my dads fishing club so dosent need a lot of thought put into it) in drupal
235: [02:53:08] <Kolin> but thought i should probably brush up on the SS
236: [02:53:27] <Kolin> But its been years
237: [02:53:54] <Kolin> I'm sure my last site was on a 3.0 alpha
238: [02:55:54] <Stomach> thats not so long ago
239: [03:02:41] <Kolin> I'm prety sure it was over a year
240: [03:03:29] <Colin[pi]> Kolin: could be worse, could be Derppress
241: [03:03:49] <Kolin> It could
242: [03:03:56] <Kolin> we maintain a few wordpress sites
243: [03:04:01] <Kolin> I refuse to touch them though
244: [03:04:33] <Stomach> yeah we "have" some too
245: [03:05:03] <Kolin> Most of ours just sit there
246: [03:05:19] <Zauberfisch> haha, same here, we "have" some too
247: [03:05:25] <Kolin> Generaly if a client signed up for a word press site with us they wont want much future developemtn
248: [03:05:32] <Zauberfisch> glad I have never been asked to touch them yet
249: [03:06:01] <Stomach> I get the occasional request to dump a database and code and send it to the client
250: [03:06:09] <Stomach> which I assume means we dont look after them anymore
251: [03:06:11] <Stomach> so thats good
252: [03:06:20] <Colin[pi]> then it's even worse than that too... the J word... shudder
253: [03:06:25] <Stomach> jquery?
254: [03:06:28] <Stomach> jezabel?
255: [03:06:31] <Stomach> jaunt?
256: [03:06:31] <Zauberfisch> ah, yes, same here, but in that case I don't really care what system it is
257: [03:06:33] <Kolin> joomla :(:(:(
258: [03:06:50] <Stomach> Zauberfisch - exactly :D
259: [03:07:20] <Zauberfisch> in fact I don't even have to know. I just send them a zip of the last backup
260: [03:07:56] <Kolin> I wish we could do that with a lot of things :)
261: [03:09:05] <Zauberfisch> best thing is, this company has now fully switched to silverstripe. I think there hasn't been any other system used for at least 6 month
262: [03:09:53] * bridgetm quit (Ping timeout: 245 seconds)
263: [03:10:41] * bridgetm has joined #silverstripe
264: [03:14:09] <Stomach> yeah my current workplace swapped when i got here
265: [03:14:16] <Stomach> so good not dealing with opencart
266: [03:14:20] <Stomach> what were they thinking
267: [03:14:56] <Zauberfisch> what are you now using for ecommerce?
268: [03:15:06] <ss23> Not SilverStripe!
269: [03:15:13] <ss23> SilverStripe core is *really* not made for ecommerce
270: [03:15:23] <ss23> "Oh atomic operations? LOL GO FUCK YOURSELF" is the biggest sign it's had 0 thought IMO
271: [03:15:25] <Stomach> SilverStripe!
272: [03:15:34] <Stomach> swipestripe mostly
273: [03:16:02] <irogue_> ss23: to be fair, opencart is probably just as bad
274: [03:16:02] <Zauberfisch> I disagree. silverstripe as a framework is just as well suited for ecommenrce as for normal websites
275: [03:16:11] <ss23> irogue_: Probably true, but still :P
276: [03:16:17] <Stomach> irogue_, ss23: open cart is much worse
277: [03:16:19] <Zauberfisch> just the existing ecommerce modules are not that good yet
278: [03:16:37] <ss23> Zauberfisch: The core is lacking things that would imply ecommerce was ever given a thought when it was made, like atomic operations
279: [03:16:52] <ss23> I'm not saying like "DOn'T USE IT", I'm just saying, to me, it wasn't made with it in mind
280: [03:17:30] <Stomach> Zauberfisch - yeah we have a heavily modified swipestripe install
281: [03:18:11] * sminnee has joined #silverstripe
282: [03:18:35] <Colin[pi]> I had a former client want to move his J-word site to my hosting... I quoted him a very high fee
283: [03:18:42] <Colin[pi]> he's like "why so expensive?"
284: [03:18:44] <ss23> XD
285: [03:18:51] <Colin[pi]> I said "because you'll be having your own server just for that site, preferably located in a facility outside a 2,500 km radius from my other servers"
286: [03:18:55] <Colin[pi]> "I don't want it anywhere NEAR my other sites"
287: [03:20:39] <irogue_> thats how i feel about wp sites
288: [03:25:00] <Stomach> I feel good now
289: [03:26:25] <simon_w> Colin[pi], so it'll be just down the road?
290: [03:27:01] <Stomach> Zauberfisch - getting into some react? :D
291: [03:31:09] <Zauberfisch> Stomach: no
292: [03:31:39] <Stomach> dang
293: [03:32:04] <Zauberfisch> obvuscating my github streem to confuse you :O
294: [03:32:46] <Colin[pi]> simon_w: yes
295: [03:32:49] <Kolin> We're moving everything to drupal prety much :/
296: [03:32:59] <Zauberfisch> nah, just found a couple of modules interesting and might take a look at their source in the future, not plaining on actually using them
297: [03:33:07] <Kolin> It makes business sense but none of the developers like it
298: [03:33:35] <Stomach> Zauberfisch - thats okay, its still interesting stuff
299: [03:33:37] <Stomach> :D
300: [03:34:28] <Colin[pi]> rofl: http://imgur.com/gallery/pdtUGuL
301: [03:35:00] <Stomach> lol
302: [03:35:15] <Kolin> lol
303: [03:35:18] * cloph has joined #silverstripe
304: [03:35:21] * cloph_away quit (Ping timeout: 252 seconds)
305: [03:38:41] * adss has joined #silverstripe
306: [03:40:13] <r_hector> hi - slowly modifying the simple theme to suit myself ... I want to add a logo to the header. Should I add the image url to SiteConfig somehow?
307: [03:40:48] <r_hector> adding the column to the db would be easy, but I would still need some way to update it from the cms
308: [03:41:20] <jordanmk> do you need the logo to be changeable in the CMS?
309: [03:42:08] <Ryan-Toast> r_hector: Yeah, man
310: [03:42:48] <Ryan-Toast> r_hector: you can see an example here with LogoImage https://github.com/Rhym/ss_boilerplate/blob/master/Boilerplate/BoilerplateConfig.php
311: [03:42:54] <r_hector> jordanmk: I guess it's not essential
312: [03:43:12] <r_hector> Ryan-Toast: thanks, having a look
313: [03:43:39] <Ryan-Toast> that class extends SiteConfig, and is set in my config.yml
314: [03:43:50] <Ryan-Toast> found here: https://github.com/Rhym/ss_boilerplate/blob/master/Boilerplate/_config/config.yml
315: [03:44:03] <jordanmk> r_hector: if you don't need it editable in the CMS, then it'll be easier to just set the logo in a template
316: [03:44:19] <r_hector> jordanmk: ah, yep, thanks
317: [03:44:30] <adss> hey guys, i am using swipeStripe and have added a discount field to my products. I am trying to create my own add to cart method so I can add the product to the cart with the discount applied if it indeed has one. I have created a class named 'OrderExtension' that extends DataExtension and added " Object::add_extension('Order', 'OrderExtension'); "
318: [03:44:30] <adss> to my config so it should use my new extension file first and pick up my new method, but it is not picking it up, it just uses the original one. Any ideas?
319: [03:44:34] <Ryan-Toast> Extensible all the things!
320: [03:44:38] <jordanmk> lol
321: [03:45:43] <jordanmk> is it even possible to override an existing function of a DataObject using a DataExtension that extends that DataObject?
322: [03:45:55] <Stomach> no its not
323: [03:46:27] <jordanmk> is there any other way to do it?
324: [03:50:11] <Zauberfisch> jordanmk: no. but perhaps there is some workaround that you can use
325: [03:50:16] <Zauberfisch> whats your specific usecase?
326: [03:50:46] <r_hector> hmm - is it safe to have 2 sites (docroots, I guess) referring to the same database?
327: [03:51:24] <r_hector> so I can play around with theming on a different site, while having all my content the same
328: [03:52:22] <Zauberfisch> r_hector: it will work well for read access
329: [03:52:28] <jordanmk> Zauberfisch, the specific usecase is what adss is talking about
330: [03:54:29] <Zauberfisch> r_hector: but I advise against it. first of all, your assets might be inconsistent, meaning they are in the database, but only exist on one install not the other
331: [03:54:50] <Zauberfisch> 2nd, if you run /dev/build and you have changed any database related things, it will alter the database and break the other site
332: [03:55:15] <Zauberfisch> so, yeah, I strongly advise you to use 2 databases
333: [03:55:37] <Zauberfisch> adss jordanmk: hmmm, swipestripe add to cart
334: [03:55:39] <Zauberfisch> let me see
335: [03:55:57] <adss> Zauberfisch: I am trying to override the function addItem in this class https://github.com/swipestripe/silverstripe-swipestripe/blob/2.1/code/order/Order.php
336: [03:56:36] <irogue_> I've had it suggested in internal SS chat
337: [03:56:47] <irogue_> class MyBlah extends Blah {}
338: [03:56:57] <irogue_> Object::useCustomClass("MyBlah", "Blah")
339: [03:57:07] <Zauberfisch> internal ss chat?
340: [03:57:18] <ss23> ssltd
341: [03:57:52] <Zauberfisch> wait, you are working for ss?
342: [03:58:08] <irogue_> yep
343: [03:58:25] <Zauberfisch> oh, nice, didn't know
344: [03:58:34] <irogue_> damn near everyone is these days :P
345: [03:58:40] * irogue_ looks at UncleCheese
346: [03:58:44] <Zauberfisch> I am not
347: [03:59:06] <UncleCheese> yeah, SS has made some great gets this year
348: [03:59:24] <Zauberfisch> indeed
349: [03:59:39] <irogue_> Zauberfisch: you seem to be in the wrong country, that's why :P
350: [03:59:48] <Zauberfisch> adss: but yeah, use custom class is a work around here
351: [03:59:57] <Zauberfisch> subclass it, and then make use of usecustom class
352: [04:00:03] <Zauberfisch> irogue_: I guess so
353: [04:00:28] <adss> ritio, thanks guys :)
354: [04:00:42] <irogue_> adss: hope that works for you
355: [04:00:45] <Zauberfisch> I should ask sam to open a ss austria office :D
356: [04:01:06] <adss> irogue: so do I :p
357: [04:01:53] <Colin[pi]> SS Austria, SS Australia, that wouldn't get confusing
358: [04:01:54] <Colin[pi]> :D
359: [04:02:13] <Stomach> SS Germany
360: [04:02:16] <Stomach> doesn't work so well does it
361: [04:02:34] <Colin[pi]> ^ lol
362: [04:02:38] <simon_w> SS Germany moved back to Wellington
363: [04:02:48] <Zauberfisch> haha, right
364: [04:08:24] <ss23> SS Germany is opening up again soon!
365: [04:08:37] <ss23> (Our German... something (I don't remember his title...) is moving back)
366: [04:08:50] <Kingy> yay good
367: [04:08:52] <Kingy> planning on moving there
368: [04:08:59] <Stomach> is ingo moving back?
369: [04:09:08] <Stomach> wat.
370: [04:09:40] <ss23> Ingo is in NZ
371: [04:09:50] <irogue_> you're a bit slow, Stomach
372: [04:09:58] <Zauberfisch> ss23: wait what?
373: [04:10:03] <Stomach> irogue_ - im confused
374: [04:10:19] <Zauberfisch> I am too
375: [04:10:40] <ss23> Ingo is in NZ, and has been for like... 6 months now
376: [04:10:41] <ss23> o.o
377: [04:10:49] <sminnee> Hey ss23 where are you?
378: [04:10:52] <Zauberfisch> yes, that much I know
379: [04:11:02] <ss23> sminnee: At home! :D
380: [04:11:05] <sminnee> hehe
381: [04:11:05] <Zauberfisch> but what is this talk about someone moving to germany again?
382: [04:11:06] <ss23> sminnee: Leaving in a few hours
383: [04:11:09] <simon_w> sminnee, he's slacking off!
384: [04:11:14] <oetiker> hello
385: [04:11:17] <ss23> XD
386: [04:11:21] <oetiker> anyone got experience combining "silverstripe/homepagefordomain" and "silverstripe/subsites"? it seems that the settings of homepagefordomain gets ignored
387: [04:11:24] <Zauberfisch> ah, sam is here
388: [04:11:25] <Zauberfisch> nice
389: [04:11:26] <irogue_> Zauberfisch: someone else
390: [04:11:41] <Zauberfisch> sminnee: you should totally open up a silsverstripe austria office
391: [04:11:43] <ss23> oetiker: Not surprised. The homepagefordomain code is really weird and dodgy
392: [04:11:51] <oetiker> :-)
393: [04:11:52] <irogue_> Zauberfisch: there's no shortage of europeans at SS :P
394: [04:12:00] <sminnee> oetiker: best just to use subsites, i’d think?
395: [04:12:03] <oetiker> <-from switzerland
396: [04:12:18] <oetiker> hmmm
397: [04:12:20] * irogue_ pokes spronk
398: [04:12:24] <ss23> irogue_: SO MEAN
399: [04:12:25] <irogue_> he's the subsites expert
400: [04:12:27] <irogue_> :P
401: [04:12:29] <sminnee> Zauberfisch: are you angling for a job?
402: [04:12:32] <sminnee> :P
403: [04:12:34] <Zauberfisch> irogue_: importing good quality, right? :P
404: [04:12:41] <Colin[pi]> lol that was my take on it too sminnee
405: [04:12:44] <ss23> Remember that Subsites implmentation I started? Yeah, I'm totally leaving the country and have given "Fix the bugs the client finds" to someone else o/
406: [04:13:10] <Zauberfisch> sminnee: no, but if ss had an european office, I probably would be
407: [04:13:30] <sminnee> Well, we’ll keep you posted. No promises though. ;)
408: [04:13:35] <Zauberfisch> :D
409: [04:13:37] <ss23> Oh, that sounds promising!
410: [04:13:49] <r_hector> Zauberfisch: thanks. I guess it's easy enough to clone the db
411: [04:14:05] <oetiker> so if I need the homepagefordomain functionality I better debug the beast ... ?
412: [04:14:17] <Colin[pi]> ss23: how did we jump from "No promises though" to "Oh, that sounds promising" ;P
413: [04:14:28] <ss23> oetiker: Yeah, probably. I dont' think anyone uses it, so it's probably not going t obe in great shape
414: [04:14:37] <ss23> oetiker: There is code in framework core to make it work, when it should all be in a module
415: [04:14:57] <ss23> (took me a long time to realise that)
416: [04:15:01] <oetiker> it used to be a core feature
417: [04:15:06] <ss23> mmm
418: [04:15:09] <oetiker> so the extraction was incomplete ?
419: [04:15:25] <ss23> oetiker: Indeed, parts are left in core, parts are in that module
420: [04:15:34] <ss23> It was extracted and "working", but the code to make it work is in weird places
421: [04:15:35] <oetiker> sigh
422: [04:15:43] <ss23> iirc it's like a "class_exists(HomePageForDomain)" somewhere in core code
423: [04:15:44] <oetiker> I am migrating a 2.4 site
424: [04:16:02] <ss23> Ah, annoying! I thought no one used that feature :O
425: [04:16:04] <oetiker> and subsite will take care of part of the the prob
426: [04:16:14] <irogue_> oetiker: i do!
427: [04:16:15] <oetiker> but only part
428: [04:16:20] <irogue_> *ss23
429: [04:16:27] <irogue_> it's heavily in use for snappernet, lol
430: [04:16:29] <oetiker> iroque_!
431: [04:16:38] <irogue_> my means for avoiding subsites
432: [04:16:38] <oetiker> irogue_!
433: [04:16:57] <oetiker> ah so you are not using the both at once ?
434: [04:17:06] <oetiker> I know it works when used alone
435: [04:17:07] <irogue_> most definitely not
436: [04:17:12] <oetiker> :-(
437: [04:17:24] <irogue_> that site is still 2.4
438: [04:17:46] <oetiker> my 3.1 migration is almost done
439: [04:18:03] <oetiker> but those two modules don't seem to get along
440: [04:21:12] <UncleCheese> if you wanted to ensure that requirements got cleared on every page, which method would you overload?
441: [04:21:21] <UncleCheese> getViewer()?
442: [04:22:01] <ss23> UncleCheese: Depends where they're *added*
443: [04:22:07] <UncleCheese> from modules
444: [04:22:14] <UncleCheese> FieldHolder() et al
445: [04:22:22] <UncleCheese> yeah, you're right
446: [04:22:23] <UncleCheese> i'm fucked
447: [04:22:27] <ss23> lol
448: [04:22:35] <UncleCheese> well
449: [04:22:37] <UncleCheese> what about this
450: [04:22:40] <UncleCheese> closing body tag
451: [04:22:44] <UncleCheese> $ClearRequirements
452: [04:22:56] <UncleCheese> yeah, that just happened
453: [04:23:03] <ss23> Guess it works
454: [04:23:09] <ss23> You could do it anywhere in the template, probably
455: [04:23:09] <UncleCheese> good enough for ss.org?
456: [04:23:13] <ss23> Though last is best
457: [04:23:16] <ss23> UncleCheese: Why do you need to do it?
458: [04:23:19] <UncleCheese> yeah, if you have forms and shit
459: [04:23:20] <simon_w> UncleCheese, will stop them appearing in the template at all
460: [04:23:21] <ss23> I think it is a sign of badness
461: [04:23:39] <UncleCheese> i want to manage requirements on my own
462: [04:23:41] <Stomach> I think that you should get rid of all the requirements
463: [04:23:50] <UncleCheese> otherwise, i have to blacklist every stupid module's dependencies
464: [04:23:57] <UncleCheese> Stomach how did we do it at heyday?
465: [04:24:18] <Stomach> we didnt worry about stupid modules code, because we didnt use them
466: [04:24:24] <Stomach> :P
467: [04:24:24] <ss23> How many modules even add random requirements?
468: [04:24:26] <UncleCheese> oh right
469: [04:24:34] <ss23> The ones that require JS require it because they need it... but I don't think any/many require CSS?
470: [04:24:39] <Stomach> yeah I have a big blacklist for swipestripe in my page controller
471: [04:24:40] <UncleCheese> yeah, heyday was a bit of a code cowboy
472: [04:25:11] <UncleCheese> for instance, the forum module
473: [04:25:15] <UncleCheese> injects css and js
474: [04:25:38] <UncleCheese> i don't see anything wrong with saying spurning the requirements layer
475: [04:25:50] <UncleCheese> it doesn't offer anything you can't do on your own, more elegantly and efficiently
476: [04:26:05] <simon_w> UncleCheese, you could just use your own requirements backend that ignores most calls to it
477: [04:26:05] <ss23> But it defeats the purpose of it
478: [04:26:08] <Stomach> UncleCheese - could you write a nullbackend for the requirements which doesn't inject anything?
479: [04:26:15] <UncleCheese> yeah that's what i was thinking, simon_w
480: [04:26:16] <ss23> "Here's a system to add requirements" "We're going to not allow you to do it!"
481: [04:26:21] <UncleCheese> exactly
482: [04:26:42] <sminnee> The one thing that the requirements layer lets you do that’s difficult in a pure-frontend approach is to specify CSS and JS includes within your partial templatesz.
483: [04:26:43] <UncleCheese> why can't we just have an assets pipeline like rails?
484: [04:26:59] <UncleCheese> oh right, because we don't want a nightmare
485: [04:27:19] <simon_w> UncleCheese, less bitching, more fixing. Is your job now :p
486: [04:27:51] <sminnee> The biggest problem with Requirements is when you call it from PHP and not a template. IMO all Requirements calls should come from templates, because it’s part of the view layer.
487: [04:27:53] <UncleCheese> sminnee i definitely get that.. but the convention seems to be fewer http requests over smaller file size
488: [04:28:18] <simon_w> sminnee, template language doesn't support combine_files
489: [04:28:24] <simon_w> Which is what everyone should be using
490: [04:28:26] <UncleCheese> or constants
491: [04:28:29] <sminnee> Yeah, the combine_files part of it is simplistic and underdevelopered.
492: [04:28:35] <ss23> With SPDY, you don't need combineD_files anyway
493: [04:28:38] <sminnee> err, underdeveloped.
494: [04:28:44] <ss23> So if we made it now, it would be an underused feature going forwards
495: [04:29:07] <ss23> (Replace SPDY with your HTTP/2 of y our choice)
496: [04:29:31] <simon_w> ss23, if we went for SPDY, almost nobody would be able to use it
497: [04:29:48] <ss23> Every SPDY implmentation is backwards compatible
498: [04:29:48] <sminnee> certainly most people are getting better mileage over CSS/JS processing pipelines based and JS command-line tools (eg grunt, uglify)
499: [04:30:06] <UncleCheese> that's the thing.. the requirements layer seems incompatible with that workflow
500: [04:30:17] <sminnee> SPDY is far from the be-all-and-end-all and asset minification isn’t going anywhere soon
501: [04:30:32] <ss23> We can hope it is!
502: [04:30:35] <ss23> All hail the google-beast
503: [04:30:40] <Colin[pi]> early days yet
504: [04:30:48] * an_Eskimo quit (Ping timeout: 240 seconds)
505: [04:30:50] <sminnee> UncleCheese: yeah… more me the question is “how could Requirements defer to a differnet back-end cleanly"
506: [04:31:11] <ss23> And thus, UncleCheese was responsible for delaying ssorg rewrite for 6 months while he thought about it
507: [04:31:15] <ss23> :D
508: [04:31:31] <UncleCheese> go eat some sushi
509: [04:31:35] <ss23> XD
510: [04:31:35] <Stomach> LOL
511: [04:31:35] <adss> irogue_: im back!! that idea didnt work! :(
512: [04:31:44] <Zauberfisch> adss: :O
513: [04:31:49] <adss> in my config : Object::useCustomClass('Order', 'CustomOrderClass');
514: [04:31:50] <simon_w> 34 files changed, 4647 insertions(+), 4647 deletions(-)
515: [04:31:54] <ss23> I'll probably have McDonalds tonight!
516: [04:32:01] <adss> and then my class: class CustomOrderClass extends Order
517: [04:32:02] <ss23> simon_w: Screams of dos2unix
518: [04:32:11] <Zauberfisch> may I be so cheeky and assume you did it worng then?
519: [04:32:13] <adss> still uses the old method
520: [04:32:17] <UncleCheese> adss use Injector..
521: [04:32:26] <Zauberfisch> UncleCheese: not his choice in that case
522: [04:32:27] <sminnee> UncleCheese: the Requirements system *is* the SilverStripe Asset Pipeline. It’s just… not very feature-rich and has some weird corners.
523: [04:32:27] <simon_w> ss23, I doubt Xcode even supports non-\n newlines
524: [04:32:41] <ss23> simon_w: xcode supports \r\n though, right?
525: [04:32:43] <Zauberfisch> adss: hold on, I'll take a look
526: [04:32:48] <ss23> single \n 4 lyfe
527: [04:32:50] <ss23> keep your files small
528: [04:32:50] <ss23> o/
529: [04:32:59] <irogue_> or macos classic style
530: [04:33:04] <irogue_> just \r!
531: [04:33:11] <sminnee> ss23: you know which O/S is to blame for that not being the only newline we see, right?
532: [04:33:18] <sminnee> I’ll give you a hint: it’s yours.
533: [04:33:20] <ss23> haha
534: [04:33:26] <ss23> 16:33:05 < irogue_> just \r!
535: [04:33:29] <adss> UncleChees: Injector???
536: [04:33:30] <ss23> Take blame where it's deserved, sminnee
537: [04:33:44] <sminnee> ss23: \r was 90s Macs, back when Macs were crap.
538: [04:33:46] <ss23> I don't want to hear "But we moved away from that style!", the end result was influence, to the point where line endings aren't unified
539: [04:33:53] <irogue_> ss23: at least mac saw the light 13 years ago :P
540: [04:34:00] <UncleCheese> well, i'm just going to blacklist all the js files i don't want
541: [04:34:00] <ss23> You can't just ignore the mistakes of the past that produced the status-quo!
542: [04:34:03] <UncleCheese> seems ugly as
543: [04:34:11] <UncleCheese> but so does the alternative
544: [04:34:15] <sminnee> OS9 and PowerPC chips weres toy
545: [04:34:20] <ss23> NextSTEP 4 lyfe
546: [04:34:25] <sminnee> Pretty much.
547: [04:34:36] <ss23> So...
548: [04:34:42] <ss23> You see those new reuqirement adverts?
549: [04:34:45] <sminnee> ss23: yeah, you can’t ignore them, but you *can* bitch about them! :p
550: [04:34:47] <ss23> "5 years experience in SWIFT required"?
551: [04:34:50] <sminnee> lol
552: [04:34:51] <ss23> sminnee: trudat
553: [04:35:13] <Zauberfisch> adss: ah, damn it
554: [04:35:20] <simon_w> ss23, that joke was only funny the first 100 times
555: [04:35:23] <irogue_> ss23: junior developer, 5 years commercial experience in SWIFT, Go and Hack required
556: [04:35:26] <ss23> simon_w: That's the joke.
557: [04:35:31] <sminnee> One of the general rules for ‘directions to go for SilverStripe 4’ should be decoupling, and so making it easier to not use Requirements in a project would be part of that goal.
558: [04:35:35] <ss23> irogue_: I love that they all have their own languages, now we can "Go hack swift"
559: [04:36:12] <UncleCheese> it's tricky, because it takes away some of the whiz-bang of installing a frontend module and having it just work
560: [04:36:14] <Zauberfisch> adss: you are correct, it will not work, because swipestripe does not use injector at this point
561: [04:36:17] <Zauberfisch> bad bad
562: [04:36:18] <Colin[pi]> sminnee: can I ask for one of the other general rules to be "MOAR FASTER" ?
563: [04:36:23] <Colin[pi]> pls ^_^
564: [04:36:25] <Zauberfisch> adss: hold on, I'll fix that
565: [04:36:28] <ss23> Colin[pi]: You lost that battle one major version ago
566: [04:36:30] <sminnee> Colin[pi]: yeah, fair call. ;)
567: [04:36:45] <Zauberfisch> sminnee: there is already talk about ss4?
568: [04:36:52] <sminnee> Zauberfisch: it’s not more than talk.
569: [04:36:58] <ss23> I hear SS4 is being written in Go?
570: [04:37:01] <sminnee> lol
571: [04:37:13] <UncleCheese> i'll see to it that we use Dart
572: [04:37:18] <Stomach> Haskell!
573: [04:37:25] <ss23> UncleCheese: aww snap
574: [04:37:30] <Zauberfisch> random talk or actuall considerations/discussion?
575: [04:37:34] <sminnee> we’re going to write our own Haskell-to-Dart cross-compiler.
576: [04:37:35] <Colin[pi]> <@sminnee> Colin[pi]: yeah, fair call. ;) <---- https://i.imgur.com/ikBv6FV.png
577: [04:39:57] <Stomach> sminnee - let us know when you go mental during that process. I imagine right before you thought about that sentence
578: [04:40:14] <Colin[pi]> I'm getting a headache just thinking of it
579: [04:41:02] <Zauberfisch> adss: just updated swipestripe to use injector at that point
580: [04:41:15] <Zauberfisch> adss: if you download the latest version from github it should work
581: [04:41:52] <adss> haha, classic! il give it a go :)
582: [04:42:07] <adss> Zauberfisch: thanks
583: [04:45:51] <Stomach> g'night yall
584: [04:45:56] <Stomach> have fun in Japan ss23
585: [04:46:28] <Colin[pi]> nn Stomach
586: [04:46:35] <adss> Zauberfisch: how would I use injector?
587: [04:46:56] <ss23> nn Stomach
588: [04:47:42] <Colin[pi]> ss23! can you get me something ghost in the shell from JP?
589: [04:47:49] <Colin[pi]> will pay you in Welly :o
590: [04:48:05] <ss23> ummm
591: [04:48:06] <ss23> :O
592: [04:48:08] <ss23> idk what!
593: [04:48:13] <ss23> Colin[pi]: I'll keep an eye out probably :O
594: [04:48:26] <ss23> I picked the books I'm taking on the plane! :D
595: [04:48:26] <Colin[pi]> yeah if you see something, lemme know, no dramas lol
596: [04:48:31] <ss23> A Bug Hunters Diary, I Robot, In Search of Shrodingers Cat, The Book Thief, and a Kindle that has Hacking the Xbox, and Intro to RE on it
597: [04:49:00] <Colin[pi]> ss23: was thinking something like dis: http://www.reignofangels.com/FtB/tachikoma2.jpg
598: [04:49:15] <Colin[pi]> if you see one will reimburse in NZ ;)
599: [04:49:46] <Colin[pi]> may be difficult to find now, or might be more stuff from GITS: ARISE
600: [04:50:08] <Zauberfisch> well, injector is that magical thing that creates objects for you and injects dependencies. when you do 'new Foobar()' that just creates that new class, but if you do it with injector, it does a couple of things more, including a lookup if there is a overwrite (custom) class defined for that class name, and in that case it returns an object of your custom class instead
601: [04:50:24] <ss23> At least Arise looks good too, Colin[pi] :D
602: [04:50:28] <ss23> Though I rewatched SAC 1 recently
603: [04:50:30] <ss23> Was good
604: [04:50:33] <ss23> TA
605: [04:50:33] <ss23> CHI
606: [04:50:34] <Colin[pi]> love it ;)
607: [04:50:38] <ss23> TACHIKOMA KUN
608: [04:50:49] <Colin[pi]> best anime ever
609: [04:50:52] <ss23> best part of sac was the tachikoma specials :D
610: [04:50:58] <Colin[pi]> hehe
611: [04:51:13] <Zauberfisch> adss: you don't really need to worry about the injector if you just write website code. however, if you write a module, then you should use it
612: [04:51:22] <Zauberfisch> to allow other developers to extend/overwrite parts of your module
613: [04:51:29] <Colin[pi]> ss23: prob here is I go to almost any store they sell manga/anime stuff and they've never heard of GITS (ikrite?)
614: [04:51:39] <ss23> dude what even
615: [04:51:45] <Colin[pi]> I know..
616: [04:51:47] <ss23> If you're selling anime/manga shit, how can you not know about GitS!!!!!
617: [04:51:50] <Zauberfisch> there is a "shortcut" for creating objects with injector:
618: [04:51:53] <ss23> Mother fucking naurto and shit, right?
619: [04:51:55] <ss23> Mother fucking.
620: [04:51:58] <Colin[pi]> ss23: "Is it like NARUTO?"
621: [04:52:01] <Colin[pi]> ^ lol
622: [04:52:04] <ss23> RAGE
623: [04:52:09] <ss23> lol
624: [04:52:15] <ss23> At least you wouldn't get that in Japan
625: [04:52:16] <Zauberfisch> just use "$obj = Foobar::create($var1, $var2)" instead of "$obj = new Foobar($var1, $var2)"
626: [04:52:16] <ss23> :D
627: [04:53:00] <adss> Zauberfisch: ok but how does that work in regards to making my custom class?
628: [04:56:27] <irogue_> ie9 needs to fuck off
629: [04:56:54] <Colin[pi]> ^
630: [04:56:56] <Colin[pi]> pls
631: [04:57:01] <Colin[pi]> pls die ie9, pls
632: [04:58:50] * nickmolhoek quit (Quit: nickmolhoek)
633: [04:58:59] <irogue_> such strict x-origin checking
634: [04:59:01] <irogue_> and if it fails
635: [04:59:05] <irogue_> stops processing more scripts
636: [04:59:46] <Colin[pi]> mm
637: [04:59:59] * checkcheck has joined #silverstripe
638: [05:00:27] <checkcheck> Hey all - is there a way for me to override a route provided by a module?
639: [05:00:38] <checkcheck> I HAVE to have the modeul
640: [05:00:40] <checkcheck> module*
641: [05:00:43] <checkcheck> and I cant fork it
642: [05:01:37] <checkcheck> I tried setting my own route using After: 'routesIdontwant'
643: [05:10:43] * srikanth quit (Ping timeout: 240 seconds)
644: [05:12:49] <adss> Zauberfisch: how does that update help with making the custom class?
645: [05:17:54] <Zauberfisch> adss: use custom class should now work
646: [05:22:51] * Ryan-Toast quit (Quit: Ryan-Toast)
647: [05:28:18] * checkcheck quit (Ping timeout: 240 seconds)
648: [05:30:00] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
649: [05:36:45] * irogue_ quit (Quit: Textual IRC Client: www.textualapp.com)
650: [05:44:11] <r_hector> css question, relating to my modified simple theme - I've got my 'brand' text and logo where I want them, by putting the existing text in a div, then floating that and my logo left.
651: [05:44:43] <r_hector> but now, the nav section has dropped underneath those, where it used to be at the right, and not below.
652: [05:45:05] <r_hector> I'm not sure which bit of css makes it do that ... can I have it back where it was?
653: [05:45:38] <r_hector> feel free to suggest a better forum/channel/list etc :-)
654: [06:00:23] <r_hector> hmm. The 'Powered by Silverstripe" bit in the footer has also moved to the left, and I have no idea why ...
655: [06:02:41] <r_hector> oh, I had made the 'brand' width: 100%. taking that out fixes it.
656: [06:02:58] <r_hector> still can't figure out how it affected the footer, though.
657: [06:22:19] <spronk> cwp seems ... slow
658: [06:27:14] * prij has joined #silverstripe
659: [06:29:47] <prij> hi guys! Please help - for the life of me I cannot figure this out. The site I was working on had a page with urlSegment "reports". Carelessly, I created a ModelAdmin extension, for which I defined private static $url_segment = 'reports'. I then realized my error and changed the modeladmin segment to 'reports-admin', but I can't get my reports page to have the 'reports' URL again, it always redirects to reports-admin.
660: [06:30:15] <prij> I've tried rebuilding the database, flushing all the caches, manually changing the URL in all the tables, but to no avail
661: [06:40:31] * sminnee quit (Quit: sminnee)
662: [06:49:42] * prij quit ()
663: [06:50:42] * Shrike_Finland has joined #silverstripe
664: [06:54:20] * simon_w|air has joined #silverstripe
665: [07:08:27] <jordanmk> hey guys
666: [07:09:28] <jordanmk> i have a SS 2.4 site and one of my pages is generating an internal server error every now and then for some users (unable to reproduce myself) and showing the Internal Server Error page set in the CMS
667: [07:09:33] <jordanmk> but nothing is being logged for it
668: [07:09:46] <jordanmk> so i can't figure out what's causing the internal server error
669: [07:11:10] <jordanmk> even though i have the following in my _config.php: SS_Log::add_writer(new SS_LogFileWriter('path\to\site\root\logs\error.log'), SS_Log::ERR);
670: [07:22:56] * wmk has joined #silverstripe
671: [07:32:31] * juliuscaamic has joined #silverstripe
672: [07:32:36] * juliuscaamic has left #silverstripe
673: [07:32:56] * iamss has joined #silverstripe
674: [07:33:03] <iamss> Hello SS!
675: [07:33:10] <wmk> hi
676: [07:34:32] <Shrike_Finland> Hi! I think this operation (ranking photos from 1 to 5) is an issue for MySQL by gicin too many decimals ($this->Image()->Ranking = $total / $count;) Is it possible to write it like this: $this->Image()->Ranking = $total / $count -> Round(2);
677: [07:34:52] * r3v3rb has joined #silverstripe
678: [07:35:33] <iamss> I have question regarding $form->saveInto($object)
679: [07:35:49] <wmk> Shrike_Finland, do you want to round in db or in php?
680: [07:35:54] <wmk> or in ORM?
681: [07:36:04] <Shrike_Finland> db
682: [07:36:12] <iamss> if a member class has one shipping address & one billing address
683: [07:36:17] <simon_w|air> Shrike_Finland, use a decimal field
684: [07:36:17] <Shrike_Finland> as now MySQL gives me an error
685: [07:36:34] <iamss> how do we use the $form->saveInto($object); to auto save the records submitted by the form?
686: [07:37:13] <simon_w|air> iamss, just like that
687: [07:37:23] <iamss> $member = Member::currentUser(); $shipping = $member->ShippingAddress(); $form->saveInto($shipping); $shipping->write();
688: [07:38:18] <r3v3rb> hello
689: [07:39:01] <simon_w|air> iamss, well, if there's no existing ShippingAddress object, you then need to $member->ShippingAddressID = $shipping->ID; $member->write();
690: [07:39:07] <r3v3rb> any idea what would cause this: https://dl.dropboxusercontent.com/u/46858914/splurt.png
691: [07:39:37] <r3v3rb> in the admin
692: [07:42:08] * Ryan-Toast has joined #silverstripe
693: [07:42:23] <Ryan-Toast> simon_w: Hai, you around?
694: [07:42:23] <r3v3rb> morning Ryan-Toast
695: [07:42:38] <Ryan-Toast> r3v3rb> Hey :)
696: [07:42:41] <iamss> hhmm.. ok, I’ll try, thank you :)
697: [07:42:48] <Zauberfisch> 4
698: [07:43:03] <r3v3rb> Zauberfisch: hi
699: [07:43:23] <simon_w|air> r3v3rb, whitespace being outputted from either the start or end of PHP files
700: [07:43:29] <simon_w|air> Ryan-Toast, never! :p
701: [07:44:10] <wmk> Hi Zauberfisch
702: [07:44:28] <r3v3rb> simon_w|air: wierd it’s caused by an onAfterWrite() that sends an email out to a member
703: [07:44:30] <Zauberfisch> blubb
704: [07:45:06] <r3v3rb> simon_w|air: any way to track down the root cause?
705: [07:45:07] * stnvh has joined #silverstripe
706: [07:45:15] * sminnee has joined #silverstripe
707: [07:53:24] <Ryan-Toast> simon_w: dat whisper.
708: [07:54:50] * iamss quit (Quit: iamss)
709: [07:55:12] <simon_w|air> Ryan-Toast, whisper?
710: [07:55:24] <Ryan-Toast> Yarp, I private messaged you.
711: [07:56:02] * kinglozzer has joined #silverstripe
712: [07:56:08] <Ryan-Toast> simon_w: Both of your accounts :P
713: [07:56:36] <simon_w|air> That explains my phone going crazy then :p
714: [07:58:30] * iamss has joined #silverstripe
715: [08:03:09] * ocm has joined #silverstripe
716: [08:03:10] <ocm> howdy!
717: [08:03:42] <r3v3rb> ocm: morning
718: [08:05:25] <wmk> ocm, good morning (ugt)
719: [08:06:01] <r3v3rb> so simon_w|air in respect to that whitespace this is the onAfterWrite function: http://pastebin.com/ZGk2R7Kc
720: [08:07:04] <r3v3rb> what could cause the splurge of text from that being executed, the message/email gets sent and received but the refresh of the CMS returns the forms as escaped text
721: [08:07:11] <simon_w|air> r3v3rb, got anything before the starting tag? Got a closing tag?
722: [08:08:00] <Shrike_Finland> off the record, I managed to get rid of the decimal problem with setlocale(LC_NUMERIC, 'C'); Basically . and , were changed with different locale, which gave MySQL error.
723: [08:08:01] <r3v3rb> simon_w|air: starting tag/closing tag? I have empty lines yes, they would cause that would they?
724: [08:08:17] <simon_w|air> r3v3rb, empty lines before the opening tag would cause it
725: [08:09:32] * spronk2 has joined #silverstripe
726: [08:12:36] <r3v3rb> woot, guest user just kicked in on osx for no apparent reason...
727: [08:16:10] * Ryan-Toast quit (Quit: Leaving)
728: [08:24:28] <r3v3rb> lol, simon_w|air it was an easy fix - line 48 appears to be the culprit ;)
729: [08:24:36] * UncleCheese has joined #silverstripe
730: [08:27:29] * Pyhngovrk has joined #silverstripe
731: [08:48:35] * Colin[pi] quit (*.net *.split)
732: [08:48:55] * Colin[pi] has joined #silverstripe
733: [08:49:31] * Shrike_Finland quit (Quit: Leaving.)
734: [08:49:59] * Shrike_Finland has joined #silverstripe
735: [08:55:18] * r3v3rb_ has joined #silverstripe
736: [08:56:59] * simon_w|air quit (Quit: This computer has gone to sleep)
737: [08:58:01] * r3v3rb quit (Ping timeout: 252 seconds)
738: [08:58:01] * richwestcoast has joined #silverstripe
739: [09:00:10] * UncleCheese quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
740: [09:00:17] * r3v3rb_ quit (Ping timeout: 264 seconds)
741: [09:03:07] * ^pH has joined #silverstripe
742: [09:03:17] * bridgetm quit (Ping timeout: 264 seconds)
743: [09:03:42] * ^pH- quit (Read error: Connection reset by peer)
744: [09:04:04] * bridgetm has joined #silverstripe
745: [09:05:55] * sminnee quit (Quit: sminnee)
746: [09:08:18] * bridgetm quit (Ping timeout: 240 seconds)
747: [09:08:39] * bridgetm has joined #silverstripe
748: [09:09:43] * Shrike_Finland quit (Quit: Leaving.)
749: [09:10:00] * Shrike_Finland has joined #silverstripe
750: [09:12:02] * iamss quit (Read error: Connection reset by peer)
751: [09:14:08] * ^pH quit (Read error: Connection reset by peer)
752: [09:14:27] * ^pH has joined #silverstripe
753: [09:22:41] * simon_w|air has joined #silverstripe
754: [09:23:46] * ^pH quit (Read error: Connection reset by peer)
755: [09:24:01] * ^pH has joined #silverstripe
756: [09:28:57] * UncleCheese has joined #silverstripe
757: [09:37:52] * wmk quit (Quit: nice to meet you ;))
758: [09:46:10] * ^pH- has joined #silverstripe
759: [09:46:33] * Stomach quit (Read error: Connection reset by peer)
760: [09:46:39] * ^pH quit (Read error: Connection reset by peer)
761: [09:46:46] * spronk2 quit (Quit: spronk2)
762: [09:48:08] * Tanger quit (Quit: Tanger)
763: [10:11:36] * Kingy is now known as Kingy[a]
764: [10:15:36] * Shrike_Finland quit (Quit: Leaving.)
765: [10:24:30] * ^pH- quit (Read error: Connection reset by peer)
766: [10:24:38] * ^pH- has joined #silverstripe
767: [10:25:16] * Shrike_Finland has joined #silverstripe
768: [10:50:03] * spronk2 has joined #silverstripe
769: [10:56:08] * ^pH- quit (Read error: Connection reset by peer)
770: [10:56:13] * ^pH has joined #silverstripe
771: [10:58:28] * richwestcoast quit (Quit: My iMac has gone to sleep. ZZZzzz…)
772: [11:12:17] * ryszard has joined #silverstripe
773: [11:12:36] * ryszard is now known as Guest55266
774: [11:12:46] <Guest55266> Hey guys!
775: [11:13:30] <Guest55266> I ve got a small issue with my site
776: [11:14:19] <Guest55266> i want to override the created property
777: [11:14:48] <Guest55266> and i do it directly in the db
778: [11:14:59] <Guest55266> but it doesnt show on the site
779: [11:15:05] <Guest55266> whats up?
780: [11:15:15] <Zauberfisch> Guest55266: of what?
781: [11:15:39] <Guest55266> of a blog post
782: [11:15:57] <Guest55266> i do it inside SiteTree table
783: [11:15:59] <Zauberfisch> blog post has the Stage extension or what it was called
784: [11:16:06] <Zauberfisch> like all SitreTree objects do
785: [11:16:15] <Zauberfisch> and that creates an additional table
786: [11:16:20] <Zauberfisch> SiteTree_Live
787: [11:16:25] * richwestcoast has joined #silverstripe
788: [11:16:37] <Zauberfisch> SiteTree == draft mode
789: [11:16:41] <Guest55266> so i should change that in a table thats responsible for versioning?
790: [11:16:46] <Zauberfisch> SiteTree_Live == live mode
791: [11:16:59] <Zauberfisch> and than there is SiteTree_versions
792: [11:17:02] <Guest55266> thanks i ll do that :)
793: [11:18:55] <Zauberfisch> in your case of Created, its best you change it in all 3 tables for all records
794: [11:19:16] <Zauberfisch> attention: in SiteTree and SiteTree_Live the ID is in the ID column
795: [11:19:31] <Zauberfisch> but in the SiteTree_versions the ID of the page is in RecordID
796: [11:26:37] * richwestcoast quit (Quit: My iMac has gone to sleep. ZZZzzz…)
797: [11:29:21] * richwestcoast has joined #silverstripe
798: [11:42:14] * micmania2 has joined #silverstripe
799: [11:42:17] * micmania2 is now known as micmania1
800: [12:09:31] * Guest55266 quit (Quit: Wychodzi)
801: [12:09:34] * richwestcoast quit (Quit: My iMac has gone to sleep. ZZZzzz…)
802: [12:12:28] * UndefinedOffset has joined #silverstripe
803: [12:19:31] * simon_w|air quit (Quit: This computer has gone to sleep)
804: [12:20:45] <Pyhngovrk> I'd just like to point out that most (pretty much all) database related functions are hardwired to use the default connection. Not idea if you're connecting to extrernal databases.
805: [12:20:51] <Pyhngovrk> someone should patch this.
806: [12:21:13] <Pyhngovrk> eg SQLQuery::sql()
807: [12:21:46] <Pyhngovrk> eg building the query to MySQL spec when you're going to query MSSQL would just be silly.
808: [12:29:15] <Pyhngovrk> and eg SS_Database::manipulate() does not return anything (eg true on success or false on failure).
809: [12:32:28] * Shrike_Finland quit (Quit: Leaving.)
810: [12:44:06] * UncleCheese quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
811: [12:45:52] * joelpittet has joined #silverstripe
812: [12:46:22] * joelpittet quit (Remote host closed the connection)
813: [12:46:42] * joelpittet has joined #silverstripe
814: [12:47:12] * joelpittet quit (Remote host closed the connection)
815: [12:47:30] * joelpittet has joined #silverstripe
816: [12:48:00] * joelpittet quit (Remote host closed the connection)
817: [12:48:17] * joelpittet has joined #silverstripe
818: [12:48:44] * Shrike_Finland has joined #silverstripe
819: [12:48:49] * joelpittet quit (Remote host closed the connection)
820: [12:49:08] * joelpittet has joined #silverstripe
821: [12:49:39] * joelpittet quit (Remote host closed the connection)
822: [12:49:56] * joelpittet has joined #silverstripe
823: [12:50:28] * joelpittet quit (Remote host closed the connection)
824: [12:50:48] * joelpittet has joined #silverstripe
825: [12:51:17] * joelpittet quit (Remote host closed the connection)
826: [12:51:36] * joelpittet has joined #silverstripe
827: [12:52:07] * joelpittet quit (Remote host closed the connection)
828: [12:52:28] * joelpittet has joined #silverstripe
829: [12:52:56] * joelpittet quit (Remote host closed the connection)
830: [12:53:13] * joelpittet has joined #silverstripe
831: [12:53:45] * joelpittet quit (Remote host closed the connection)
832: [12:54:03] * joelpittet has joined #silverstripe
833: [12:54:35] * joelpittet quit (Remote host closed the connection)
834: [12:54:55] * joelpittet has joined #silverstripe
835: [12:55:24] * joelpittet quit (Remote host closed the connection)
836: [12:55:38] * joelpittet has joined #silverstripe
837: [12:55:57] * iamss has joined #silverstripe
838: [12:56:09] * joelpittet quit (Remote host closed the connection)
839: [12:56:27] * joelpittet has joined #silverstripe
840: [12:56:59] * joelpittet quit (Remote host closed the connection)
841: [12:57:16] * joelpittet has joined #silverstripe
842: [12:57:48] * joelpittet quit (Remote host closed the connection)
843: [12:57:51] <iamss> what html to pdf generator module is mostly used by SS developers?
844: [12:58:06] * joelpittet has joined #silverstripe
845: [12:58:36] * joelpittet quit (Remote host closed the connection)
846: [12:58:53] * joelpittet has joined #silverstripe
847: [12:59:25] * joelpittet quit (Remote host closed the connection)
848: [12:59:41] * richwestcoast has joined #silverstripe
849: [12:59:42] * joelpittet has joined #silverstripe
850: [13:00:11] * joelpittet quit (Remote host closed the connection)
851: [13:00:30] * joelpittet has joined #silverstripe
852: [13:01:00] * joelpittet quit (Remote host closed the connection)
853: [13:01:21] * joelpittet has joined #silverstripe
854: [13:01:50] * joelpittet quit (Remote host closed the connection)
855: [13:02:09] * joelpittet has joined #silverstripe
856: [13:02:33] * joelpittet quit (Remote host closed the connection)
857: [13:15:29] <kinglozzer> iamss: Never used one myself, but https://github.com/BetterBrief/silverstripe-pdf looks good
858: [13:15:59] * Shrike_Finland quit (Quit: Leaving.)
859: [13:20:09] <iamss> thanks kinglozzer! I’m just thinking what is the use of snappy if I could directly snapshot an html to pdf like this wkhtmltopdf http://www.google.com google.pdf
860: [13:26:20] <iamss> ok I get it
861: [13:31:51] <Pyhngovrk> heyday did one too that uses webkithtml2pdf
862: [13:32:11] <Pyhngovrk> https://github.com/EllisLab/CodeIgniter/blob/2.1.3/system/core/Loader.php#L746
863: [13:32:12] <Pyhngovrk> ffffffff
864: [13:32:32] <Pyhngovrk> http://php.net/extract
865: [13:32:41] <Pyhngovrk> I mean seriously -.-
866: [13:33:44] <iamss> Pyhngovrk: let me post it for you https://github.com/priithansen/silverstripe-wkhtmltopdf
867: [13:34:57] <Pyhngovrk> Well that's a fork of it, but yeh.
868: [13:47:14] * catcher has joined #silverstripe
869: [13:51:33] * abitran quit (Ping timeout: 245 seconds)
870: [13:51:47] * abitran has joined #silverstripe
871: [13:53:25] <kinglozzer> Pyhngovrk: Also, $$_ci_val
872: [13:53:31] <kinglozzer> Dont use {} will you...
873: [13:54:49] <kinglozzer> https://github.com/EllisLab/CodeIgniter/blob/2.1.3/system/core/Loader.php#L807 << someone was aware of extract() after all :P
874: [13:55:26] * Error404NotFound has joined #silverstripe
875: [13:59:08] * Shrike_Finland has joined #silverstripe
876: [14:04:34] * Shrike_Finland quit (Quit: Leaving.)
877: [14:06:52] <Pyhngovrk> kinglozzer: yeah, I'm not entirely sure what it's all about.
878: [14:07:06] <Pyhngovrk> all I know is that it's a pain in the buttocks
879: [14:07:15] <Pyhngovrk> _manifest_exclude all the things :<
880: [14:20:40] * Shrike_Finland has joined #silverstripe
881: [14:26:18] <Zauberfisch> for html => pdf, wkhtml2pdf is pretty much the only thing you can use
882: [14:26:26] <Zauberfisch> everything else I have seen so far sucks
883: [14:26:58] * Colin[pi] quit (Ping timeout: 240 seconds)
884: [14:42:08] <micmania1> Is there such a thing as an enum field label?
885: [14:42:27] <micmania1> So you have private static $field_labels. Is there away to set field labels for enum values?
886: [15:10:33] * DesignerX quit (Ping timeout: 252 seconds)
887: [15:21:45] * joelpittet has joined #silverstripe
888: [15:35:34] * jenniferaslan has joined #silverstripe
889: [15:41:04] * spronk2 quit (Quit: spronk2)
890: [15:50:21] * simon_w quit (Ping timeout: 240 seconds)
891: [15:50:38] * iamss has left #silverstripe
892: [15:52:16] * joelpittet quit ()
893: [16:08:25] <oetiker> for the record, I asked yesterday about potentially unfortunate interactions between the subsites and homepagefordomain modules ... I have since determined and fixed the culprit it was fluent ... will submit a patch in a few minutes
894: [16:18:25] <oetiker> https://github.com/tractorcow/silverstripe-fluent/pull/86
895: [16:21:58] * kinglozzer quit ()
896: [16:31:29] * stnvh quit ()
897: [16:34:58] * visil has joined #silverstripe
898: [16:35:22] * visil quit (Client Quit)
899: [16:39:47] * Shrike_Finland quit (Quit: Leaving.)
900: [16:41:17] * asker has joined #silverstripe
901: [16:45:22] * Shrike_Finland has joined #silverstripe
902: [16:46:50] * Pyhngovrk quit ()
903: [16:48:48] <asker> hi there - a short question
904: [16:49:05] <asker> I'd like to show up a Form only if a button has been clicked - is there any example for that?
905: [16:56:44] * richwestcoast quit (Quit: Textual IRC Client: www.textualapp.com)
906: [17:01:32] * asker quit (Quit: Page closed)
907: [17:01:49] * asker has joined #silverstripe
908: [17:09:42] * asker quit (Quit: Page closed)
909: [17:24:33] * Shrike_Finland quit (Quit: Leaving.)
910: [17:24:49] * Shrike_Finland has joined #silverstripe
911: [17:26:02] * asker has joined #silverstripe
912: [17:26:27] <asker> is there a way to organize ss-files ? like to include another file in some folder ?
913: [17:33:49] <catcher> asker, templates can include files from the Includes/ folder
914: [17:34:02] <catcher> asker, and re: showing a Form when a button is clicked, that's just a little javascript/jquery
915: [17:35:31] <asker> is there any example for the latter?
916: [17:43:33] <catcher> asker, sure, http://api.jquery.com/toggle/
917: [17:43:49] <catcher> not SS-specific
918: [17:48:14] * Colin[pi] has joined #silverstripe
919: [18:01:04] * asker quit (Quit: Page closed)
920: [18:01:24] * scpi has joined #silverstripe
921: [18:52:10] * jenniferaslan quit (Read error: Connection reset by peer)
922: [18:52:15] * jenniferaslan1 has joined #silverstripe
923: [19:21:41] * muskie9 has joined #silverstripe
924: [19:22:47] <muskie9> hey all, is there an easy way to force all links/url's to be absolute other than doing it in the template/layout?
925: [19:28:01] <guzzlefry> why would you want that?
926: [19:29:05] <muskie9> I need to cache the template in a third party service, so need them to be absolute url's
927: [19:29:46] <guzzlefry> uh, there might be a class you can extend
928: [19:29:50] <muskie9> similar to what this would accomplish I think: https://github.com/silverstripe-labs/silverstripe-newsletter/blob/master/code/email/NewsletterEmail.php#L25
929: [19:29:54] <guzzlefry> been a while since I've messed with SilverStripe
930: [19:30:13] <muskie9> trying to get it worked in outside of that module... it's unrelated to email
931: [19:31:08] <muskie9> think I just answered my own question... overwrite the $AbsoluteBaseURL var for the template
932: [19:41:01] <Shrike_Finland> Anyone familiar with Bootstrap Forms and it's way of adding extra class to button? http://pastebin.com/KHebhC6m
933: [19:43:02] * muskie9 quit (Read error: Connection reset by peer)
934: [19:43:43] * muskie9 has joined #silverstripe
935: [19:53:53] * gelignite has joined #silverstripe
936: [20:00:53] <catcher> Shrike_Finland, did you see the usage demo here? https://github.com/unclecheese/silverstripe-bootstrap-forms
937: [20:01:47] <Shrike_Finland> Yep, tried to figure out, how should I use setStyle and setSize on right way…
938: [20:05:10] * Stomcch has joined #silverstripe
939: [20:05:16] * Stomcch is now known as Stomach
940: [20:22:31] <Shrike_Finland> Now it prints the button and styles right, but I get two submit buttons! The one which is created with FormAction and default form submit. How to get rid of the default button?
941: [20:22:38] <Shrike_Finland> Code example here: http://pastebin.com/Pn9dzkx1
942: [20:42:46] * an_Eskimo has joined #silverstripe
943: [20:46:09] * Ryan-Toast has joined #silverstripe
944: [20:53:45] * Stomach quit ()
945: [20:55:17] * UndefinedOffset quit (Quit: Leaving.)
946: [21:01:15] * Ryan-Toast quit (Quit: Ryan-Toast)
947: [21:03:11] * Ryan-Toast has joined #silverstripe
948: [21:07:58] * nickmolhoek has joined #silverstripe
949: [21:21:52] <muskie9> guzzlefry: figured it out... http://sspaste.com/paste/show/538f89d9bee67
950: [21:21:53] * gelignite quit (Quit: http://bit.ly/nkczDT)
951: [21:21:56] * checkcheck has joined #silverstripe
952: [21:22:14] <muskie9> HTTP::absoluteURLs($html);
953: [21:25:26] <checkcheck> is there a way to override / ignore a route provided in a yaml file WITHOUT deleteing the original route?
954: [21:26:18] <checkcheck> i.e a route is defined in the config of a module for a feature we dont want/need
955: [21:26:39] <checkcheck> forking the repo or removing the module is not possible
956: [21:27:15] <checkcheck> I tried to redefine a new route in my own config with after: 'stuffwedontwant' but that didnt work
957: [21:31:56] * UncleCheese has joined #silverstripe
958: [21:32:21] * irogue_ has joined #silverstripe
959: [21:32:42] * scpi quit (Quit: scpi)
960: [21:33:34] <checkcheck> So it's not possible?
961: [21:33:54] * Kingy[a] is now known as Kingy
962: [21:34:53] * srikanth has joined #silverstripe
963: [21:38:39] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
964: [21:38:46] * Stomach has joined #silverstripe
965: [21:44:04] * Stomach quit (Quit: Page closed)
966: [21:45:18] * checkcheck quit (Ping timeout: 240 seconds)
967: [21:47:49] * Stomach has joined #silverstripe
968: [21:53:56] * jenniferaslan1 quit (Ping timeout: 265 seconds)
969: [22:00:33] * sminnee has joined #silverstripe
970: [22:01:12] * sminnee quit (Client Quit)
971: [22:01:48] * catcher quit (Quit: Leaving)
972: [22:03:01] * sminnee has joined #silverstripe
973: [22:05:37] * irogue has joined #silverstripe
974: [22:06:59] * irogue__ quit (Ping timeout: 265 seconds)
975: [22:10:48] * simon_w|air has joined #silverstripe
976: [22:14:47] * bridgetm quit (Ping timeout: 252 seconds)
977: [22:15:39] * bridgetm has joined #silverstripe
978: [22:18:27] * Ryan-Toast quit (Ping timeout: 252 seconds)
979: [22:23:51] * Azure quit (Quit: Blue Sky Fish)
980: [22:28:36] * jenniferaslan has joined #silverstripe
981: [22:30:10] * Ryan-Toast has joined #silverstripe
982: [22:34:12] * Azure has joined #silverstripe
983: [22:35:58] <Ryan-Toast> How can I reduce $Pos by one?
984: [22:38:45] <simon_w|air> $Pos(0)
985: [22:39:29] <Ryan-Toast> simon_w|air: I needed to do it every now and again, just made a parameter function.
986: [22:39:38] <Ryan-Toast> and passed pos to it.
987: [22:39:57] <simon_w|air> But $Pos already takes an offset (with a default of 1)
988: [22:41:01] <Ryan-Toast> simon_w: Yeah, but I need it on certain items, not all of them.
989: [22:41:31] <Ryan-Toast> And somethimes i need to add :P
990: [22:41:43] <simon_w|air> If you need to add, you pass in a bigger number :p
991: [22:42:17] <Ryan-Toast> Oh.
992: [22:42:18] <Ryan-Toast> :P
993: [22:42:21] <Ryan-Toast> that’s handy
994: [22:42:25] <Ryan-Toast> chur
995: [22:56:57] * Ryan-Toast quit (Ping timeout: 252 seconds)
996: [22:58:13] * Ryan-Toast has joined #silverstripe
997: [22:58:39] * babak quit (Quit: Connection closed for inactivity)
998: [23:09:46] * AdriAn_s has joined #silverstripe
999: [23:24:43] <Ryan-Toast> IRC being weird today? Keep disconnecting.
1000: [23:25:01] <Stomach> no, you're being weird
1001: [23:25:30] <Ryan-Toast> ( ͡° ͜ʖ ͡°)
1002: [23:26:13] <Colin[pi]> Ryan-Toast: was doing it a lot yesty too
1003: [23:28:27] * sminnee quit (Quit: sminnee)
1004: [23:37:28] <simon_w|air> I should probably get out of bed before 10 today
1005: [23:39:04] <Ryan-Toast> simon_w: Nah, live the dream.
1006: [23:39:19] <simon_w|air> Ryan-Toast, pay off me credit card for me and I will! :p
1007: [23:39:34] <Ryan-Toast> simon_w|air: Lol, no thanks. Wasn’t yours like 10k?
1008: [23:39:47] <simon_w|air> 18, but yeah :p
1009: [23:42:05] <irogue_> ouch
1010: [23:42:18] <irogue_> i've almost paid off the police car!
1011: [23:42:43] <simon_w|air> You bought a police car?
1012: [23:42:48] <irogue_> damn close
1013: [23:43:00] <irogue_> rear-ended one years ago, had to pay for the damage
1014: [23:43:10] <simon_w|air> I'm going to be getting a personal loan once I've moved up to 4 days a week to pay off my credit card
1015: [23:43:17] <simon_w|air> Oh, oops
1016: [23:43:55] * sminnee has joined #silverstripe
1017: [23:44:01] <irogue_> been paying that at $50/week for quite some time now
1018: [23:44:14] <simon_w|air> So you don't even get the cop car at the end of it?
1019: [23:44:17] <simon_w|air> Rip off!
1020: [23:44:22] <irogue_> ikr, its bullshit
1021: [23:45:16] * bridgetm quit ()
1022: [23:46:06] <irogue_> spent more paying to repair the cop car than my own car was worth
1023: [23:46:59] <Stomach> didn't have third party?
1024: [23:48:17] * sminnee quit (Client Quit)
1025: [23:51:31] * sminnee has joined #silverstripe
1026: [23:52:09] <AdriAn_s> hey im trying to create a custom class for Swipestripe to override one of the standard ones but it keeps calling the method in the default class. do I have to do anything to get it to work?
1027: [23:52:21] <AdriAn_s> this is in my config: Object::useCustomClass('Order', 'CustomOrderClass');
1028: [23:52:40] <AdriAn_s> and this is my class: class CustomOrderClass extends Order
1029: [23:52:51] <AdriAn_s> shouldnt that override the swipestripe order class?
1030: [23:54:46] <AdriAn_s> this is the class im trying to override: https://github.com/swipestripe/silverstripe-swipestripe/blob/2.1/code/order/Order.php
1031: [23:55:03] <Stomach> AdriAn_s, try Object::useCustomClass('Order', 'CustomOrderClass', true);
1032: [23:55:28] <Stomach> that will force a class replacement under all circumstances (according to docs)
1033: [23:56:35] <AdriAn_s> it should but it is not
1034: [23:56:51] <AdriAn_s> it still calls the old method in the old class
1035: [23:58:33] <irogue_> AdriAn_s: i believe we decided yesterday that the issue is SwipeStripe isn't using Injector
1036: [23:59:08] * simon_w|air quit (Quit: This computer has gone to sleep)
1037: [23:59:10] <Stomach> yeah, Zauberfisch updated that call for Order though - have you updated to the latest 2.1.*@dev version AdriAn_s ?
1038: [23:59:56] <AdriAn_s> yeah he updated. U pulled down the latest zip from gt

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