#silverstripe IRC Log

IRC log for 20 April 2014

All timestamps are in UTC.

1: [00:07:48] * UncleCheese_ quit (Quit: UncleCheese_)
2: [00:42:20] * UncleCheese has joined #silverstripe
3: [01:45:24] * LoveDuckie_ quit (Read error: Connection reset by peer)
4: [03:09:16] * UncleCheese quit (Quit: UncleCheese)
5: [03:22:03] * cloph_away quit (Ping timeout: 240 seconds)
6: [03:26:57] * cloph_away has joined #silverstripe
7: [03:27:15] * CodeTrap quit (Ping timeout: 240 seconds)
8: [03:28:25] * CodeTrap has joined #silverstripe
9: [03:36:52] * gelignite_ has joined #silverstripe
10: [03:39:54] * gelignite quit (Ping timeout: 240 seconds)
11: [03:40:19] * gelignite_ is now known as gelignite
12: [03:58:55] * CodeTrap quit (Ping timeout: 252 seconds)
13: [03:59:51] * CodeTrap has joined #silverstripe
14: [04:20:33] * kerosene has joined #silverstripe
15: [04:24:48] * simon_w|air has joined #silverstripe
16: [04:49:02] <Avroceptyr> I just found out something about Ruby that justifies my hate for it
17: [04:49:09] <Avroceptyr> the unless() control structure
18: [04:49:15] <Avroceptyr> which is just if(!condition)
19: [04:49:53] <Avroceptyr> You know, let's keep adding macros to a language for various use cases
20: [04:50:12] <Avroceptyr> For example, if we need to go from new line characters to <br /> tags (cause we're going to HTML)
21: [04:50:27] * Avroceptyr gives up on all the web
22: [04:52:35] <simon_w|air> You mean nl2br()?
23: [04:55:45] <Avroceptyr> ;)
24: [06:40:25] * SightUnseen has joined #silverstripe
25: [06:56:14] * albert has joined #silverstripe
26: [07:22:48] * albert quit (Ping timeout: 240 seconds)
27: [08:30:15] * UncleCheese_ has joined #silverstripe
28: [08:57:01] * CodeTrap quit (Ping timeout: 252 seconds)
29: [08:58:12] * CodeTrap has joined #silverstripe
30: [09:06:27] * CodeTrap quit (Ping timeout: 250 seconds)
31: [09:07:34] * CodeTrap has joined #silverstripe
32: [09:09:58] * CodeTrap quit (Remote host closed the connection)
33: [09:10:08] * CodeTrap has joined #silverstripe
34: [09:10:39] * VRoxane has joined #silverstripe
35: [10:02:48] * SightUnseen quit (Quit: Leaving.)
36: [10:19:41] * UncleCheese_ quit (Quit: UncleCheese_)
37: [10:22:59] * SightUnseen has joined #silverstripe
38: [10:23:01] * SightUnseen quit (Client Quit)
39: [10:23:09] * SightUnseen has joined #silverstripe
40: [10:23:10] * SightUnseen quit (Client Quit)
41: [12:11:30] * CodeTrap quit (Ping timeout: 240 seconds)
42: [12:25:32] * danfo has joined #silverstripe
43: [12:31:05] * CodeTrap has joined #silverstripe
44: [13:18:59] <VRoxane> I get this : "[User Error] Couldn't find field Pieces in any of Lot's tables" but there is a Pieces field in my DataObject Lot. Note : Same code works with other DataObjects and give me results. Here's tje sspaste : http://www.sspaste.com/paste/show/53529b652ac7d
45: [13:21:05] <ss23> VRoxane: Did you do a dev/build?
46: [13:23:55] <VRoxane> Yes I did, and everything else works like a charm
47: [14:05:00] * LoveDuckie_ has joined #silverstripe
48: [14:08:36] * babak quit (Quit: Connection closed for inactivity)
49: [14:50:22] * danfo quit (Quit: danfo)
50: [14:52:19] * DesignerX has joined #silverstripe
51: [15:01:10] * Sj0hn quit ()
52: [15:57:03] * muskie9 has joined #silverstripe
53: [15:59:09] * muskie9 quit (Client Quit)
54: [16:48:57] * bti_ has joined #silverstripe
55: [16:49:43] * bti_ has left #silverstripe
56: [16:49:58] * bti has joined #silverstripe
57: [16:51:32] * bti quit (Client Quit)
58: [17:20:27] * DesignerX quit (Ping timeout: 240 seconds)
59: [17:49:51] * Motoservo quit (Read error: Connection reset by peer)
60: [17:51:03] * Motoservo has joined #silverstripe
61: [18:18:13] * Laurageek has joined #silverstripe
62: [18:18:51] * Laurageek quit (Client Quit)
63: [18:34:35] * Sj0hn has joined #silverstripe
64: [18:34:58] <Sj0hn> Hey
65: [18:37:25] <Sj0hn> What would be the best way to include an external RSS feed on my pages?
66: [18:37:59] <Sj0hn> Im finding some forum post which include simplepie
67: [18:40:36] <Sj0hn> ok seems its included in the framework.
68: [19:12:31] <Marvanni2> Just with Require::css(); ?
69: [19:12:41] <Marvanni2> pfffffffffff stupid
70: [19:12:48] <Marvanni2> i read css..
71: [19:14:49] <Marvanni2> http://sspaste.com/paste/show/535419a71b1cd
72: [19:15:15] <Marvanni2> $this->ExternalLink = 'my/remote/rss.feed';
73: [19:51:08] * r3v3rb has joined #silverstripe
74: [19:53:55] <r3v3rb> hello, here’s a weird one, I have an AJAX call that calls a function on Page.php - it will work on any page other than the ‘homepage’ of the site - is this something funky to do with ‘home’ not being in the href : this is how I form the URL in the AJAX call : var href = window.location.pathname+'subscribe';
75: [19:54:23] <r3v3rb> where subscribe is the function in Page.php
76: [20:00:46] <Marvanni2> you need home in the url part...
77: [20:07:47] * UncleCheese_ has joined #silverstripe
78: [20:12:43] <Marvanni2> only when you use $.get(); you can omit the home url part
79: [20:24:00] <r3v3rb> Marvanni2: interesting why would that be?
80: [20:31:37] * r3v3rb quit (Ping timeout: 245 seconds)
81: [20:32:12] * simon_w|air quit (Quit: This computer has gone to sleep)
82: [20:33:38] * pippy has joined #silverstripe
83: [20:34:02] * r3v3rb has joined #silverstripe
84: [20:34:06] * simon_w|air has joined #silverstripe
85: [20:35:53] * pippy_ quit (Ping timeout: 250 seconds)
86: [20:36:27] <r3v3rb> Marvanni2: just switched to $.get but it makes no difference - homepage ajax call still doesn’t function - yet works on every other page fine
87: [20:36:38] <r3v3rb> cleared cache too
88: [20:37:39] * Sj0hn quit ()
89: [20:38:16] <r3v3rb> morning simon_w|air btw ;) is it a bank holiday in NZ too?
90: [20:38:38] <simon_w|air> It's a public holiday, the banks have no choice in the matter
91: [20:39:07] <simon_w|air> r3v3rb, you need to include home in the url when calling actions on it
92: [20:39:18] <r3v3rb> lol, fair enough - for some reason we call them bank holidays
93: [20:39:45] <r3v3rb> simon_w|air: okay so I’ll need a way to determine that in the jquery function
94: [20:40:17] <r3v3rb> i’ll check my body class as it has the pagetype in it :D should be simple enough
95: [20:40:45] <r3v3rb> and then add the /home to the href variable
96: [20:58:28] * danfo has joined #silverstripe
97: [21:07:33] * UncleCheese_ quit (Quit: UncleCheese_)
98: [21:23:21] * r3v3rb quit (Quit: r3v3rb)
99: [21:26:28] * Liquide quit ()
100: [21:46:52] <VRoxane> Hello, I'm asking again about this problem... most of you were probably sleeping last time I asked :)
101: [21:46:58] <VRoxane> I get this : "[User Error] Couldn't find field Pieces in any of Lot's tables" but there is a Pieces field in my DataObject Lot. Note : Same code works with other DataObjects and give me results. Here's tje sspaste : http://www.sspaste.com/paste/show/53529b652ac7d
102: [22:07:03] * UncleCheese_ has joined #silverstripe
103: [22:20:26] * pippy_ has joined #silverstripe
104: [22:21:08] * robert_ quit (Read error: Connection reset by peer)
105: [22:22:00] * robert_ has joined #silverstripe
106: [22:22:00] * robert_ quit (Changing host)
107: [22:22:00] * robert_ has joined #silverstripe
108: [22:22:55] * pippy quit (Ping timeout: 250 seconds)
109: [22:26:47] * danfo quit (Read error: Connection reset by peer)
110: [22:33:02] * SphereSilverNL has joined #silverstripe
111: [22:34:10] <SphereSilverNL> \o
112: [22:48:29] * simon_w|air quit (Quit: This computer has gone to sleep)
113: [22:48:43] * muskie9 has joined #silverstripe
114: [22:54:57] * muskie9 quit (Ping timeout: 245 seconds)
115: [23:06:58] * muskie9 has joined #silverstripe
116: [23:08:32] * muskie9 quit (Client Quit)
117: [23:18:23] * Colin[pi] has joined #silverstripe
118: [23:29:49] <SphereSilverNL> I think something is broken....
119: [23:29:51] * simon_w|air has joined #silverstripe
120: [23:30:01] <SphereSilverNL> Note, this is NOT suitable for the faint of heart.
121: [23:30:02] <SphereSilverNL> https://copy.com/jN79T9svFPlsNPrq
122: [23:30:41] <SphereSilverNL> And yes, that is indeed my right arm.
123: [23:30:46] <Avroceptyr> That's now how you PHP :/
124: [23:30:48] <Avroceptyr> not*
125: [23:31:04] * DesignerX has joined #silverstripe
126: [23:31:08] <Avroceptyr> ouch too
127: [23:31:36] <SphereSilverNL> Currently busy on an Android app, might be related :P
128: [23:55:54] * UncleCheese_ quit (Quit: UncleCheese_)
129: [23:57:36] * UncleCheese_ has joined #silverstripe

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