#silverstripe IRC Log

IRC log for 2 November 2013

All timestamps are in UTC.

1: [00:13:31] <guzzlefry> Guessing this is going to be about 5 hours of data entry in itself.
2: [00:15:07] <willr> Well to migrate to a new table a SQL query should be able to do it for you in a faction of the time
3: [00:15:36] * DigNZ has joined #silverstripe
4: [00:17:10] * DigNZ quit (Client Quit)
5: [00:43:52] * travis-ci has joined #silverstripe
6: [00:43:53] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1486 (3.1 - 4e79159 : Will Rossiter): The build passed.
7: [00:43:53] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/90017821a129...4e7915996996
8: [00:43:53] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/13389755
9: [00:43:53] * travis-ci has left #silverstripe
10: [00:47:45] <ss23> willr: WHAT HANGOVER?
11: [00:48:24] <ss23> willr: I mean, my ankle is fucked up, I've lost my wallet, tshirt, and sweatshirt, and had to borrow money to get home so I didn't have to walk on my fucked up ankle, and also had to borrow a jacket so I didn't have to do it in a dress
12: [00:48:29] <ss23> BUT NO HANGOVER.
13: [00:48:54] * DesignerX has joined #silverstripe
14: [00:52:31] <guzzlefry> ...
15: [00:52:38] <guzzlefry> everything made sense but the dress part
16: [00:54:03] <willr> this isn't the hangover
17: [01:01:33] * Colin[pi] has joined #silverstripe
18: [01:31:38] * willr quit (Quit: willr)
19: [01:49:09] <Marvanni_> this does not work :
20: [01:49:11] <Marvanni_> $('div.cms-tree ul li').on('click', 'a', function() {
21: [01:49:31] <Marvanni_> any idea to trigger the click event from a SiteTree Item?
22: [02:10:32] <Marvanni_> $('div.cms-tree ul li a').entwine({
23: [02:10:32] <Marvanni_> onclick: function(e) {
24: [02:10:34] <Marvanni_> that is
25: [02:21:50] * jrthomer quit (Ping timeout: 240 seconds)
26: [02:22:55] * jrthomer has joined #silverstripe
27: [02:30:56] * Marvanni_ quit (Quit: Marvanni_)
28: [02:45:26] * UncleCheese has joined #silverstripe
29: [03:10:55] * UncleCheese quit (Quit: UncleCheese)
30: [03:43:05] * EasyCo has joined #silverstripe
31: [04:00:39] * SightUnseen has joined #silverstripe
32: [04:06:06] * SightUnseen has left #silverstripe
33: [04:49:54] * jon-shape quit (Ping timeout: 252 seconds)
34: [04:55:14] * cloph has joined #silverstripe
35: [04:55:35] <guzzlefry> Did shortcodes get dropped from 3.1?
36: [04:55:50] * jon-shape has joined #silverstripe
37: [04:56:02] * cloph_away quit (Ping timeout: 264 seconds)
38: [05:01:54] * mobiusnz has joined #silverstripe
39: [05:02:17] * mobiusnz1 has joined #silverstripe
40: [05:06:14] * mobiusnz quit (Ping timeout: 240 seconds)
41: [05:06:45] * mobiusnz has joined #silverstripe
42: [05:09:55] * mobiusnz1 quit (Ping timeout: 272 seconds)
43: [05:14:03] * Colin[pi] quit (Ping timeout: 240 seconds)
44: [05:52:06] * jrthomer quit (Ping timeout: 245 seconds)
45: [05:56:27] * jrthomer has joined #silverstripe
46: [06:26:27] * mobiusnz quit (Quit: Leaving.)
47: [06:57:16] * mobiusnz has joined #silverstripe
48: [07:09:15] * mobiusnz quit (Ping timeout: 260 seconds)
49: [07:23:59] * SightUnseen has joined #silverstripe
50: [07:28:50] * SightUnseen has left #silverstripe
51: [07:38:16] * EasyCo quit (Quit: We can't stop here, this is bat country)
52: [07:41:35] <ss23> guzzlefry: Nope!
53: [07:41:45] <ss23> guzzlefry: all URLs are done with shortcodes, so can't drop them
54: [07:41:50] <ss23> guzzlefry: but I think some stuff did break/ c hange
55: [08:03:39] * mobiusnz has joined #silverstripe
56: [08:06:43] * Error404NotFound has joined #silverstripe
57: [08:07:50] * mobiusnz quit (Ping timeout: 240 seconds)
58: [09:03:42] * mobiusnz has joined #silverstripe
59: [09:08:15] * mobiusnz quit (Ping timeout: 260 seconds)
60: [09:27:15] * Nightjar has joined #silverstripe
61: [10:00:19] * zfmf has joined #silverstripe
62: [10:03:46] * mobiusnz has joined #silverstripe
63: [10:08:27] * mobiusnz quit (Ping timeout: 260 seconds)
64: [10:17:39] * UncleCheese has joined #silverstripe
65: [10:45:18] * Nightjar has left #silverstripe
66: [11:03:29] * mobiusnz has joined #silverstripe
67: [11:07:41] * mobiusnz quit (Ping timeout: 245 seconds)
68: [11:27:07] * spronk2 has joined #silverstripe
69: [11:41:17] <DesignerX> Hi guys.. anyone here has exp with ASP .Net ?
70: [12:03:22] * mobiusnz has joined #silverstripe
71: [12:07:55] * mobiusnz quit (Ping timeout: 260 seconds)
72: [12:28:49] * Alexwijn has joined #silverstripe
73: [12:32:11] * spronk2 quit (Quit: spronk2)
74: [12:39:18] <Alexwijn> How to specify a modelClassName for a Gridview?
75: [12:39:30] <Alexwijn> I get "GridField doesn't have a modelClassName, so it doesn't know the columns of this grid." when using my custom getList function
76: [12:39:49] <Alexwijn> But currently it does not return rows, when it does have rows he displays it just fine
77: [12:42:49] * UncleCheese quit (Quit: UncleCheese)
78: [12:44:37] <Alexwijn> Or is it possible to set the columns manually?
79: [12:48:32] * Alexwijn_ has joined #silverstripe
80: [12:49:09] <Alexwijn_> Anyone got a suggestion?
81: [12:51:41] * Alexwijn quit (Ping timeout: 245 seconds)
82: [12:52:32] * Alexwijn_ is now known as Alexwijn
83: [12:55:24] <Alexwijn> Doeso nobody knows possible fix for this?
84: [12:55:40] <Alexwijn> Or I'm I too early here to ask anyone about it?
85: [13:00:04] * Error404NotFound quit (Read error: Connection reset by peer)
86: [13:03:41] * mobiusnz has joined #silverstripe
87: [13:08:43] * mobiusnz quit (Ping timeout: 272 seconds)
88: [13:09:09] * jrthomer quit (Read error: Connection reset by peer)
89: [13:09:47] * jrthomer has joined #silverstripe
90: [13:12:03] * Alexwijn quit ()
91: [13:17:19] * Marvanni_ has joined #silverstripe
92: [13:17:30] * Error404NotFound has joined #silverstripe
93: [13:29:43] * Marvanni_ quit (Ping timeout: 245 seconds)
94: [14:00:49] * DaShiVaDan quit (Ping timeout: 250 seconds)
95: [14:03:49] * mobiusnz has joined #silverstripe
96: [14:08:19] * mobiusnz quit (Ping timeout: 260 seconds)
97: [14:09:11] * zippy__ quit (Ping timeout: 260 seconds)
98: [14:12:39] * Marvanni_ has joined #silverstripe
99: [14:22:06] * zippy__ has joined #silverstripe
100: [14:42:11] * oskarholo quit (Remote host closed the connection)
101: [15:03:35] * mobiusnz has joined #silverstripe
102: [15:04:40] * oskarholo has joined #silverstripe
103: [15:07:49] * mobiusnz quit (Ping timeout: 248 seconds)
104: [15:38:15] * Error404NotFound quit (Read error: Connection reset by peer)
105: [15:39:12] * DesignerX quit (Ping timeout: 272 seconds)
106: [15:40:53] * Error404NotFound has joined #silverstripe
107: [16:02:48] * Marvanni_ quit (Ping timeout: 240 seconds)
108: [16:03:36] * mobiusnz has joined #silverstripe
109: [16:05:08] * Marvanni_ has joined #silverstripe
110: [16:08:15] * mobiusnz quit (Ping timeout: 260 seconds)
111: [16:27:35] * zfmf quit (Ping timeout: 272 seconds)
112: [16:40:38] * Error404NotFound quit (Quit: User guilty of hitting the Big Red X...)
113: [17:03:34] * mobiusnz has joined #silverstripe
114: [17:08:07] * mobiusnz quit (Ping timeout: 272 seconds)
115: [17:50:28] * SphereSilverNL has joined #silverstripe
116: [18:03:23] * Marvanni_ quit (Quit: Marvanni_)
117: [18:03:35] * mobiusnz has joined #silverstripe
118: [18:06:09] <SphereSilverNL> Hey guys, anyone know of a method to apply the $formfield->addExtraClass('classname'); method to the actual <input> itself?
119: [18:08:05] * mobiusnz quit (Ping timeout: 248 seconds)
120: [18:10:13] <guzzlefry> SphereSilverNL: Why not just .className input { }
121: [18:10:32] <SphereSilverNL> What do you mean?
122: [18:10:37] <SphereSilverNL> With Javascript?
123: [18:10:44] <guzzlefry> in the CSS
124: [18:10:50] <SphereSilverNL> Ah, like that.
125: [18:11:09] <SphereSilverNL> I'm trying to get the Twitter Bootstrap v3 to be applied to my form ;)
126: [18:11:15] <guzzlefry> ah
127: [18:11:28] <SphereSilverNL> Problem is, Silverstripe applies the extra classes to the label and middlecolumn as well
128: [18:11:34] <SphereSilverNL> therefor, screwing up ;)
129: [18:11:42] <guzzlefry> oh yeah...love that :P
130: [18:12:00] <guzzlefry> I just use textarea.className to target those
131: [18:12:49] <SphereSilverNL> I use a javascript solution right now, but it makes me sad, because it makes the page jumpy
132: [18:25:22] <SphereSilverNL> Hurray for less!
133: [18:25:39] <SphereSilverNL> It's easily solved by doing input { .form-control; }
134: [18:37:01] <SphereSilverNL> For the curious, I ended up with just this, using LESS as my CSS-compiler. It's instantly applied (as opposed to javascript), it works on all browsers and no hassle with $field->addExtraClass();
135: [18:37:04] <SphereSilverNL> input, textarea, select, input.action {
136: [18:37:05] <SphereSilverNL> .form-control;
137: [18:37:07] <SphereSilverNL> }
138: [18:37:09] <SphereSilverNL> .field, input.action, .Actions {
139: [18:37:10] <SphereSilverNL> .col-xs-6;
140: [18:37:12] <SphereSilverNL> }
141: [18:37:13] <SphereSilverNL> textarea.textarea {
142: [18:37:15] <SphereSilverNL> height: auto;
143: [18:37:16] <SphereSilverNL> }
144: [19:03:45] * mobiusnz has joined #silverstripe
145: [19:08:21] * mobiusnz quit (Ping timeout: 248 seconds)
146: [19:34:27] * mobiusnz has joined #silverstripe
147: [19:55:06] <SphereSilverNL> Does anyone here have clients that say stuff like this?
148: [19:55:22] <SphereSilverNL> "My website isn't uploaded daily anymore. Please fix asap"
149: [19:55:56] <SphereSilverNL> And, if you understand what the client means, please enlighten me
150: [19:57:19] <SphereSilverNL> (Note, latest update via CMS for the website was somewhere July)
151: [19:57:49] <guzzlefry> SphereSilverNL: uploaded daily?
152: [19:58:26] <guzzlefry> Alos
153: [19:58:31] * Alexwijn has joined #silverstripe
154: [19:58:32] <guzzlefry> you're supposed to clarify stuff with clients.
155: [19:58:43] <SphereSilverNL> Yeah, don't ask, I really don't understand what they're on about :)
156: [19:59:01] <Alexwijn> How to specify a modelClassName for a Gridview?
157: [19:59:06] <Alexwijn> 1I get "GridField doesn't have a modelClassName, so it doesn't know the columns of this grid." when using my custom getList function
158: [19:59:11] <Alexwijn> But currently it does not return rows, when it does have rows he displays it just fine
159: [19:59:59] <SphereSilverNL> I've seen this. Digging deep into my memory
160: [20:00:21] <guzzlefry> Alexwijn: http://logs.simon.geek.nz/search.php?q=GridField+doesn%27t+have+a+modelClassName
161: [20:00:24] <guzzlefry> somewhere in those logs.
162: [20:00:47] <Alexwijn> Lol, I an only find my own questions:)
163: [20:01:06] <guzzlefry> hah, noticed that :P
164: [20:02:52] <Alexwijn> Because the getList get's his data from a external source and use ArrayList to fill it
165: [20:03:03] <Alexwijn> There is no way to tell SS what the collumns are if the ArrayList is emptu
166: [20:03:25] <guzzlefry> hm
167: [20:03:40] <guzzlefry> just throwing this out, no clue if it's related but
168: [20:03:45] <guzzlefry> unsavedRelationList or whatever?
169: [20:03:54] <Alexwijn> Whats that?
170: [20:05:11] <SphereSilverNL> You're trying to save something which has a relation
171: [20:05:19] <SphereSilverNL> but the relation hasn't been saved yet
172: [20:05:23] <guzzlefry> http://api.silverstripe.org/3.1/class-UnsavedRelationList.html
173: [20:05:25] <guzzlefry> that thing
174: [20:05:32] <guzzlefry> to be honest I don't know what it's for. :P
175: [20:05:33] <Alexwijn> The DataObject has not relation to anything
176: [20:05:49] <Alexwijn> no*
177: [20:06:11] <SphereSilverNL> Are you sure of that?
178: [20:06:17] <Alexwijn> yes
179: [20:06:33] <Alexwijn> The table does not even exists in the SS database
180: [20:06:36] <Alexwijn> It's external
181: [20:06:51] <Alexwijn> The DataObject only contains how to generate the form and what columns it have
182: [20:10:07] <Alexwijn> Any suggestion?
183: [20:10:36] <Alexwijn> I can't use a datalist to fill it, since it then tries to retrieve the data on his own...And that's impossbile since the talble does not exsits on the ss database
184: [20:11:04] <guzzlefry> overload the getters?
185: [20:11:14] <Alexwijn> Of?
186: [20:11:49] <guzzlefry> hm
187: [20:11:50] <guzzlefry> nevermind
188: [20:11:56] <guzzlefry> This is way above me. :P
189: [20:13:38] <Alexwijn> Maybe I need to extend from ArrayList and make a custom second parameter for the constructor
190: [20:13:49] <Alexwijn> So i can set a custom return value for dataClass()
191: [20:14:06] <Alexwijn> I think the GridView uses that to figure out what columns it has
192: [20:18:49] <Alexwijn> Ok that did the trick :)
193: [20:19:39] <Alexwijn> http://www.sspaste.com/paste/show/52755c7e67ab2
194: [20:20:14] <Alexwijn> For archive purposes :)
195: [20:21:20] * pippy quit (Ping timeout: 246 seconds)
196: [20:23:16] * pippy has joined #silverstripe
197: [20:34:30] * Alexwijn quit ()
198: [20:57:44] * zfmf has joined #silverstripe
199: [21:58:07] * EasyCo has joined #silverstripe
200: [22:07:38] * mobiusnz quit (Quit: Leaving.)
201: [22:15:44] * Marvanni_ has joined #silverstripe
202: [22:16:01] * mobiusnz has joined #silverstripe
203: [22:16:40] * mobiusnz quit (Client Quit)
204: [22:26:17] <SphereSilverNL> Too bad Sminnee isn't online :(
205: [22:47:28] * mobiusnz has joined #silverstripe
206: [23:00:21] * mobiusnz quit (Ping timeout: 272 seconds)
207: [23:03:13] * mobiusnz has joined #silverstripe
208: [23:06:47] * SphereSilverNL quit (Remote host closed the connection)
209: [23:08:18] * spronk2 has joined #silverstripe
210: [23:10:08] * Marvanni_ quit (Quit: Marvanni_)
211: [23:13:46] * mobiusnz quit (Ping timeout: 245 seconds)
212: [23:38:09] * Liquide has joined #silverstripe

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