#silverstripe IRC Log

IRC log for 20 May 2013

All timestamps are in UTC.

1: [00:07:05] * normak quit (Ping timeout: 250 seconds)
2: [00:08:04] * Bollig|DesignCty has joined #silverstripe
3: [00:17:02] * cloph_away has joined #silverstripe
4: [00:53:26] * zippy__ quit (Quit: zippy__)
5: [00:57:32] * cloph_away quit (Remote host closed the connection)
6: [01:05:09] * joelpittet quit (Read error: Connection reset by peer)
7: [01:05:41] * joelpittet has joined #silverstripe
8: [01:07:17] <aragonne> Hi, I have an AJAX call to a controller method, and need to secure that call through validation using authentication through BasicAuth. Everything works except for the authentication part. Here are snippets of the code: http://www.sspaste.com/paste/show/5199714946880
9: [01:07:53] * nickmolhoek quit (Quit: nickmolhoek)
10: [01:08:17] * Colin[pi] has joined #silverstripe
11: [01:08:49] <aragonne> The authentication only works if I make the user part of the Administrators group, but I don't want to grant the user Admin access. Any ideas?
12: [01:11:00] <simon_w> aragonne, SS_USE_BASIC_AUTH being set to true causes BasicAuth to require the ADMIN permission to access the site
13: [01:12:25] * cloph_away has joined #silverstripe
14: [01:13:44] <aragonne> simon_w: is the fix as simple as removing the SS_USE_BASIC_AUTH from _ss_environment.php?
15: [01:19:16] <Colin[pi]> can someone help me with some model/controller design?
16: [01:20:01] <simon_w> aragonne, well, you'll also need to enable basicauth yourself with a different permission level
17: [01:25:08] <Colin[pi]> anyone? I'll give you a cookie
18: [01:26:11] * UncleCheese has joined #silverstripe
19: [01:27:32] <aragonne> smon_w: sorry, but can you please clarify? (I'm a noobie to with using BasicAuth/Permissions)
20: [01:27:47] * kj has joined #silverstripe
21: [01:29:03] <kj> hi there, newbie in SS, just wonder how can I call a controller init() or index() in the template js ?
22: [01:30:58] <simon_w> aragonne, BasicAuth::protect_entire_site(true, null);
23: [01:31:09] <simon_w> kj, what do you mean?
24: [01:31:40] <Colin[pi]> kj: pretty sure js shouldn't have anything to do with the controller init()
25: [01:35:38] <kj> like i wanna put some facebook connect logic things aside in a file called fbController.php
26: [01:35:56] * nickmolhoek has joined #silverstripe
27: [01:35:57] * nickmolhoek quit (Remote host closed the connection)
28: [01:36:10] * nickmolhoek has joined #silverstripe
29: [01:37:05] <kj> and in the page.ss I check if the fb account login or not, if not just do some things in the fbController.php
30: [01:37:34] <simon_w> kj, have a look at some of the Facebook connect modules
31: [01:38:13] <kj> thanks
32: [01:42:10] * kj quit (Quit: Page closed)
33: [01:44:18] <aragonne> simon_w: so if I have a member, member@mysite.com, that belongs to group MyGroup and the group only has the permission code 'MY_PERMISSION_CODE' and the code is defined in my Controller class, would I put the following BasicAuth code in my Controller's init() method (vs. _ss_environment.php)?
34: [01:44:37] <aragonne> BasicAuth::protect_entire_site(true, 'MY_PERMISSION_CODE');
35: [01:46:05] <simon_w> aragonne, if you're trying to protect your entire site, it should go in your _config.php. For just a single controller, $member = BasicAuth::requireLogin('My Site', 'MY_PERMISSION_CODE');
36: [01:46:10] <aragonne> basically, I want member@mysite.com to only be able to access the controller actions in one Controller subclass
37: [01:46:54] <aragonne> aha, that makes more sense since I don't want to protect the entire site …. let me give that a try
38: [01:50:12] <simon_w> Colin[pi], less meta :p
39: [01:50:31] * UncleCheese quit (Quit: UncleCheese)
40: [01:51:26] <Colin[pi]> simon_w: k I will explain :D
41: [01:52:05] <Colin[pi]> simon_w: have a series of products as DO's, managed with ModelAdmin, have a Shop controller that pulls out a set of products and displays in the page
42: [01:52:41] <Colin[pi]> simon_w: now I need to make a controller to work on the products, i.e. "addtocart()"
43: [01:52:59] <Colin[pi]> simon_w: but since they are not pages, I'm getting a bit lost
44: [01:53:58] <Colin[pi]> simon_w: should the shop controller handle it (page controller)? make a separate one for products? etc.
45: [01:53:59] <simon_w> So you want something like Controller/addtocart/DataObjectID?
46: [01:54:10] <Colin[pi]> basically yes
47: [01:55:01] <simon_w> From what I've seen of the current commerce modules, they stick all the logic into either an AJAX-only controller (subclasses Controller, no template, usually called by cart) or the generic shop page one
48: [01:55:16] <simon_w> Personally, I like the former so I don't end up with a monolithic class
49: [01:55:21] <Colin[pi]> mmm
50: [01:55:37] <Colin[pi]> I get a bit confused in SS when a data object doesn't really have a concrete "page"
51: [01:56:15] <simon_w> $id = $this->request->param('ID'); $object = Product::get()->byID($id);
52: [01:56:16] <Colin[pi]> i.e. pages are easy and very well defined, but I scratch my head a bit when dealing with non-page objects, renderWith(), customise() and all that jazz
53: [01:56:28] <Colin[pi]> oh that part is fine
54: [01:56:35] <Colin[pi]> it's the controller handling that confuses me
55: [01:56:38] * joelpittet quit (Read error: Connection reset by peer)
56: [01:57:01] <Colin[pi]> I can get the objects from the db fine... but then it's like "OK... now what" hehe
57: [01:57:02] <simon_w> Well, by default returning an array renders the controller with the template with its name, just like with a ContentController subclass
58: [01:57:17] <Colin[pi]> ah I see
59: [01:57:18] * joelpittet has joined #silverstripe
60: [01:57:29] <simon_w> There's no fancy template stuff done in ContentController
61: [01:57:42] <Colin[pi]> can a dataobject have it's own controller?
62: [01:57:49] <Colin[pi]> or is that not really done?
63: [01:58:05] <Colin[pi]> (or intended)
64: [01:58:33] * DesignerX has joined #silverstripe
65: [01:58:41] <simon_w> You mean like how SiteTree does? That's just setting the failover on the Controller to the object
66: [01:58:48] <Colin[pi]> ah k
67: [01:59:09] <Colin[pi]> ok well I think I'll go browse some source code, that's my usual studying process lol
68: [01:59:27] * UncleCheese has joined #silverstripe
69: [01:59:28] <Colin[pi]> thanks for your assistance
70: [02:00:47] <aragonne> simon_w: I removed define('SS_USE_BASIC_AUTH', true); from my _ss_environment file and updated my controller's method to:
71: [02:01:00] <aragonne> function init() {
72: [02:01:01] <aragonne> parent::init();
73: [02:01:02] <aragonne> BasicAuth::requireLogin('Realm', 'ACCESS_STAKEHOLDER_API');
74: [02:01:03] <aragonne> }
75: [02:01:40] <simon_w> aragonne, you're going to want to call login() on the Member object if you want to use it later
76: [02:01:50] <aragonne> However, if I try to access the controller's methods via an AJAX url without any user/pwd, the controller still returns data
77: [02:02:16] <simon_w> Are you logged in?
78: [02:05:07] <aragonne> When I first tested the updated code, I did have the usr/pwd in the AJAX url and got the expected result; I then tried to invalidate the HTTP BASIC authentication by sending a bogus usr/pwd
79: [02:06:02] <aragonne> simon_w: Aaaah, I was logged in as admin .. just logged out and getting the expected behavior now! Thanks!
80: [02:07:09] <aragonne> In the BasicAuth::requireLogin($realm, $permission code) call, is the $real string arbitrary? i.e., does there have to be some handshaking between the client and server on this $realm param?
81: [02:09:17] <Pyromanik> has anyone already made a module to dump out individual blog posts in ICS format?
82: [02:09:31] <simon_w> aragonne, it's the realm that shows up in the username/password popup
83: [02:12:31] <aragonne> simon_w: thanks for the info … so is the realm just some arbitrary identifier/namespace or does it actually have some functional significance?
84: [02:15:47] <simon_w> it's arbitrary
85: [02:16:48] * pevjan quit (Remote host closed the connection)
86: [02:26:07] * UncleCheese quit (Quit: UncleCheese)
87: [02:26:53] * zippy__ has joined #silverstripe
88: [02:39:18] * joelpittet quit (Remote host closed the connection)
89: [02:46:46] <Jeremy1> is there any way to do
90: [02:46:46] <Jeremy1> "for ($i = 1; $i <= 10; $i++) " in a ss template?
91: [02:47:21] <Jeremy1> or just loop X times?
92: [02:48:44] <Jeremy1> http://www.silverstripe.org/general-questions/show/18141
93: [02:48:51] <Jeremy1> not simply by the look of that
94: [02:49:59] <Pyromanik> Jeremy1: no. logic does not belong in a template.
95: [02:50:28] <Pyromanik> build an ArrayList in a controller method
96: [02:50:40] <Pyromanik> or if you're getting a datalist, use .Limit(10)
97: [02:50:56] <Pyromanik> <% loop MasManyItems.Limit(10) %>
98: [02:51:09] <Jeremy1> Im just testing something and I want to duplicate html "x" times
99: [02:52:01] <Jeremy1> <% loop(10) %>
100: [02:52:01] <Jeremy1> <li>test</li>
101: [02:52:01] <Jeremy1> <% end_loop %>
102: [02:52:01] <Jeremy1> would be handy right now
103: [02:53:10] <Pyromanik> Jeremy1: no, I just told you the answer -.-
104: [02:53:58] <Jeremy1> thanks
105: [02:55:51] * pevjan has joined #silverstripe
106: [02:56:28] <DesignerX> hi guys, in SS3.1 it seems shortcodes are not working ? tryies to insert a link in the Editor & the UserForm module is not working too (the shortcode is being printed on the page)
107: [02:56:49] <DesignerX> any idea how to solve it ?
108: [02:58:32] <Pyromanik> fetch an older 3.1?
109: [02:58:42] <Pyromanik> report the regression?
110: [02:58:53] <Pyromanik> do a bit of research to find out if it's by design?
111: [02:59:21] <DesignerX> I been looking, nothing on the forums or IRC chat logs
112: [03:03:56] <Pyromanik> hahahah, f'n script kiddies: [Mon May 20 08:27:22 2013] [error] [client 69.58.178.59] Invalid URI in request GET /../ HTTP/1.1
113: [03:04:44] <simon_w> DesignerX, which 3.1?
114: [03:04:58] <DesignerX> simon_w: beta 3
115: [03:05:05] <simon_w> Grab a newer version
116: [03:05:21] <simon_w> And, especially for a custom short code, check out the upgrading guyed
117: [03:05:23] <simon_w> *guide
118: [03:06:36] <DesignerX> simon_w: thanks, I will have a look now. I think an update sould fix the shortcode bug within the CMS at least.
119: [03:24:17] * cloph_away1 has joined #silverstripe
120: [03:24:38] * cloph_away quit (Ping timeout: 260 seconds)
121: [03:31:41] <Pyromanik> email comes through from account manager: "there seems to be heaps of bugs in chrome?"
122: [03:31:49] <Pyromanik> that's it, full email.
123: [03:32:02] <Pyromanik> fantastic bug report.
124: [03:35:21] <irogue> awesome.
125: [03:39:22] <simon_w> I have a feeling that Chromium's being causing my GPU panics
126: [03:47:19] * Jeremy1 quit (Ping timeout: 248 seconds)
127: [03:48:40] * Jeremy1 has joined #silverstripe
128: [03:51:59] * wmk has joined #silverstripe
129: [03:57:14] <Pyromanik> simon_w: sounds likely.
130: [03:57:32] <Pyromanik> also, is there a function to test whether a PHP array is associative or numeric?
131: [03:59:21] <simon_w> ArrayLib::is_associative
132: [04:00:15] <Pyromanik> cool.
133: [04:00:48] <Pyromanik> backporting Extension to 2.4, no support for $allowed_actions static *sigh*
134: [04:00:48] <FrozenFire> Or, $isAssoc = (array_keys($array) !== range(0, count($array) - 1));
135: [04:01:50] <Pyromanik> LOL
136: [04:02:04] <FrozenFire> Which I think is actually better performance than ArrayLib's implementation
137: [04:02:16] <Pyromanik> only road into an certain CHC area shut because they think a house might fall off the cliff above it.
138: [04:02:26] * DigNZ has joined #silverstripe
139: [04:06:09] <simon_w> Pyromanik, uh, 2.4 allows adding to $allowed_actions from an Extension
140: [04:09:29] <Pyromanik> simon_w: I tried and it denied me
141: [04:09:45] <Pyromanik> I tried from extraStatics
142: [04:09:49] <simon_w> Pyromanik, using static $allowed_actions = blah?
143: [04:09:59] <simon_w> extraStatics() is DataObjectDecorator stuff
144: [04:10:08] * zippy__ quit (Quit: zippy__)
145: [04:10:12] <Pyromanik> public static $allowed_actions = blah didn't work either.
146: [04:10:22] <Pyromanik> (was orig. set like that because 3.0)
147: [04:10:47] <simon_w> I'm looking at allowedActions() and it says otherwise
148: [04:10:56] <Pyromanik> :<
149: [04:10:58] <Pyromanik> meh, works now
150: [04:11:12] <Pyromanik> just modified it directly from _config
151: [04:11:20] <Pyromanik> (on the owner class)
152: [04:11:33] <Pyromanik> bad, I know. But meh.
153: [04:12:35] <Pyromanik> anyone made a nice "add another person" form field that I can use?
154: [04:15:10] <Pyromanik> (3.0)
155: [04:15:30] <simon_w> Deleting code, deleting code
156: [04:16:00] <simon_w> Mostly from sapphire
157: [04:16:05] * openbees has joined #silverstripe
158: [04:17:12] <openbees> Is there any way to resize images uploaded via WYSIWIG ?
159: [04:17:48] <Pyromanik> yep, resize the image with drag handles.
160: [04:18:06] <simon_w> Home time!
161: [04:21:07] <openbees> Pyromanik actually I want to automate this .. clients are lazy doing this by themselves !
162: [04:21:40] <Pyromanik> openbees: well
163: [04:21:51] <Pyromanik> plonk upload fields in instead
164: [04:22:20] <Pyromanik> otherwise you're probably a bit out of luck :<
165: [04:23:03] <openbees> :( Thanks
166: [04:24:10] <openbees> client think us like superhuman always demand for hardest things :D
167: [04:31:06] <Pyromanik> openbees: I find the best way to control image size is to tell them to sort their shit out and resize it before uploading.
168: [04:31:26] <Pyromanik> that way you don't fill your server account up with 16Mb images with run PHP out of memory when it tries to resize them...
169: [04:31:36] <Pyromanik> (as well as having nice sized images)
170: [04:31:39] <Pyromanik> ;)
171: [04:38:42] <ss23> yeah ss23 and Pyromanik are sleeping togheter.
172: [04:38:44] <ss23> but apart.
173: [04:43:44] <Pyromanik> We got a twin, but I dibs the hot one.
174: [04:43:52] <Pyromanik> xD
175: [04:46:01] * willmorgan has joined #silverstripe
176: [04:50:39] <ss23> XD
177: [04:51:16] <Pyromanik> [User Error] collateDataFields() I noticed that a field called 'Name[]' appears twice in your form: 'Form_Form'. One is a 'TextField' and the other is a 'TextField'
178: [04:51:19] <Pyromanik> hmm
179: [04:52:24] * Pyromanik feels a useCustomClass coming on
180: [04:52:30] <Pyromanik> :<
181: [04:52:39] <Pyromanik> or are there hooks for this?
182: [04:53:52] <Pyromanik> FrozenFire: any ideas?
183: [04:54:03] <Pyromanik> have you had to do this kinda thing before
184: [04:54:04] <Pyromanik> ?
185: [04:57:00] <openbees> Pyromanik is it in front end form or CMS ?
186: [04:57:21] <Pyromanik> openbees: well, ideally either. But the particular case I'm working on is for front end
187: [04:59:28] <openbees> I had this in cms once while I was renaming the field without removing it first .. not sure about frontend !
188: [04:59:53] <Pyromanik> openbees: I'm trying to think of the best way to do an 'add another' type situation
189: [05:00:07] * wmk quit (Ping timeout: 240 seconds)
190: [05:00:07] <Pyromanik> oh look, 5pm. Going home instead!
191: [05:00:11] * Pyromanik quit (Quit: leaving)
192: [05:08:01] * nickmolhoek quit (Quit: nickmolhoek)
193: [05:19:12] * LoveDuckie has joined #silverstripe
194: [05:22:12] * joelpittet has joined #silverstripe
195: [05:23:11] * aragonne quit (Remote host closed the connection)
196: [05:41:40] <irogue> ss23: i hear u got chocolate
197: [05:43:22] <ss23> :D
198: [05:43:23] <ss23> YES
199: [05:43:23] <ss23> wait
200: [05:43:26] <ss23> how u hear
201: [05:43:26] <ss23> ;_;
202: [05:43:27] <ss23> STALKER
203: [05:43:52] <ss23> Relatedly, I'm meant to be getting paid soon
204: [05:46:28] <irogue> ss23: kekeke
205: [05:46:34] <irogue> i know all
206: [05:46:40] <irogue> ss23: good
207: [05:46:48] <irogue> cos i'm poor from paying from ur shiz
208: [05:48:46] <ss23> :<
209: [05:49:18] <ss23> I'm poor too!
210: [05:49:24] <ss23> Oh which reminds me
211: [05:49:27] <ss23> gotta invoice someone for $60 :D
212: [05:49:41] <ss23> irogue: When I get this $60 I'll give it all to you and you can atke it off what I owe you for shit
213: [05:49:55] <ss23> irogue: Then if I don't get paid again before we go to wellington, I'll just get my mom to give me money and use that to pay you back
214: [05:49:58] <ss23> all g?
215: [05:52:13] * pevjan quit (Remote host closed the connection)
216: [05:52:47] <irogue> sounds good
217: [05:52:55] <irogue> that way i'll be able to eat in wgtn :P
218: [05:57:24] * pevjan has joined #silverstripe
219: [05:59:30] * openbees quit (Quit: Leaving)
220: [05:59:47] * pevjan quit (Remote host closed the connection)
221: [06:00:16] * pevjan has joined #silverstripe
222: [06:03:31] * Pyromanik__ has joined #silverstripe
223: [06:09:44] * Jeremy1 quit (Quit: Jeremy1)
224: [06:31:50] * ^pH has joined #silverstripe
225: [06:35:10] * ^pH- quit (Ping timeout: 256 seconds)
226: [06:37:55] * chillu has joined #silverstripe
227: [06:44:32] * priithansen has joined #silverstripe
228: [06:45:18] <Colin[pi]> are there any books being written for SS3?
229: [06:46:05] <simon_w|air> Given the number of BC breaking changes planed, that may not be such a good idea
230: [06:46:17] <Colin[pi]> hehe, ok.. for 3.1 then? ;)
231: [06:55:37] * joelpittet quit (Remote host closed the connection)
232: [06:56:26] * wmk has joined #silverstripe
233: [06:56:30] <Pyromanik__> dear wdcnz, why can I not buy after party tickets?
234: [07:01:10] * wmk quit (Ping timeout: 260 seconds)
235: [07:01:23] <ss23> Wah, anyone want to buy me dinner?
236: [07:04:26] <simon_w|air> Pyromanik__, you need something like Name[0], Name[1], ...
237: [07:04:31] * wmk has joined #silverstripe
238: [07:08:45] <Pyromanik__> simon_w: yeh... just seems like a bit of a PITA.
239: [07:08:59] <Pyromanik__> soemthing that happens automagically, but needs to be rebuilt unautomagically.
240: [07:09:29] <simon_w|air> Remind me tomorrow and I can pastie our loop. Is fairly straightforward
241: [07:09:41] <Pyromanik__> ok that'd be awesome, thank you.
242: [07:09:50] <Pyromanik__> just booked flight ticket for WDC
243: [07:10:30] <Pyromanik__> Hoping my funds don't look too pathetic to get ticket before the end of the week
244: [07:10:49] * wmk quit (Quit: nice to meet you ;))
245: [07:11:07] <spronk> wdcnz?
246: [07:11:14] <Pyromanik__> WDCNZ.com
247: [07:11:17] <spronk> mm
248: [07:11:20] <spronk> considering whether or not to go
249: [07:11:30] <Pyromanik__> I figure I may as well
250: [07:11:40] <Pyromanik__> I've never been to a geek conference before
251: [07:13:09] <ss23> Whats wdc?
252: [07:13:12] <ss23> is that the apple one?
253: [07:13:14] <ss23> NO
254: [07:13:15] <ss23> Windows?
255: [07:13:18] * kerosene is now known as OldTom
256: [07:13:24] <Pyromanik__> yes, it is the appdows.
257: [07:13:35] <ss23> oh, just a web one
258: [07:13:43] <ss23> I went to Kiwicon, that was sweet :D
259: [07:13:50] * willmorgan quit (Quit: Leaving.)
260: [07:14:24] <Pyromanik__> that's a sec one right?
261: [07:14:29] <ss23> Yep
262: [07:14:39] <ss23> It was at Kiwicon I first me simon_w|air :O
263: [07:15:50] * pevjan quit (Remote host closed the connection)
264: [07:16:49] * pex has joined #silverstripe
265: [07:20:17] * travis-ci has joined #silverstripe
266: [07:20:18] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#16 (master - e48cdb6 : Ingo Schommer): The build passed.
267: [07:20:18] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/7ab175374b09...e48cdb676ba2
268: [07:20:18] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/7315193
269: [07:20:18] * travis-ci has left #silverstripe
270: [07:20:59] <simon_w|air> And then he didn't bring me lunch!
271: [07:24:30] * chillu quit (Quit: chillu)
272: [07:33:03] * willr_ has joined #silverstripe
273: [07:33:03] * willr_ quit (Changing host)
274: [07:33:03] * willr_ has joined #silverstripe
275: [07:36:32] <Pyromanik__> I remember that
276: [07:39:30] * travis-ci has joined #silverstripe
277: [07:39:30] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#17 (3.1 - 881a41c : Sean Harvey): The build passed.
278: [07:39:30] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/e0f4bd6113af...881a41cc3085
279: [07:39:30] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/7315466
280: [07:39:30] * travis-ci has left #silverstripe
281: [07:51:09] * travis-ci has joined #silverstripe
282: [07:51:09] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#18 (3.1 - 13e632d : Sean Harvey): The build passed.
283: [07:51:09] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/881a41cc3085...13e632d0532d
284: [07:51:09] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/7315535
285: [07:51:09] * travis-ci has left #silverstripe
286: [07:58:35] * Shrike_Finland has joined #silverstripe
287: [08:01:34] * Pyromanik__ has left #silverstripe
288: [08:01:51] * willmorgan has joined #silverstripe
289: [08:05:56] * kinglozzer has joined #silverstripe
290: [08:06:11] * popeshoe has joined #silverstripe
291: [08:06:44] * zippy__ has joined #silverstripe
292: [08:09:26] * PigeonFriend quit ()
293: [08:30:43] * guci0 has joined #silverstripe
294: [08:30:56] <guci0> Hello moto!
295: [08:31:26] <guci0> http://grupakarczew.pl/aktualnosci/lubie-poniedziaki/ I like mondays :)
296: [08:33:10] * guci0_ has joined #silverstripe
297: [08:33:13] <guci0_> Wrrr :)
298: [08:33:42] <DrCuriosity> That's the third time taht song has come up in the last 24 hours for me.
299: [08:34:11] <guci0_> :)
300: [08:34:22] <guci0_> It's good :) No reason :)
301: [08:35:23] <guci0_> Again
302: [08:35:50] * guci0 quit (Ping timeout: 250 seconds)
303: [08:38:43] * Mark-M has joined #silverstripe
304: [08:41:06] <willmorgan> Mark-M hello!
305: [08:41:21] <Mark-M> hey will
306: [08:41:32] * pex quit (Quit: pex)
307: [08:44:01] <ss23> ruby on razers ,for real emo devs.
308: [08:45:15] <guci0_> GAME DEV TYCOON, from greenheartgame you know that?
309: [08:45:21] <guci0_> Greate gamme!
310: [08:45:44] * guci0_ is now known as guci0
311: [08:46:12] <guci0> Technology of the game is great too
312: [08:46:15] <guci0> node-webkit
313: [08:46:18] <guci0> WOW!
314: [08:47:02] <guci0> Apps written in modern HTML5, CSS3, JS and WebGL.
315: [08:47:16] <guci0> It's gooda idea!
316: [08:48:04] * khaos has joined #silverstripe
317: [08:48:06] * khaos is now known as otinane
318: [08:50:26] <willmorgan> http://cdn.memegenerator.net/instances/400x/37986458.jpg
319: [08:51:52] <guci0> Oscar's sceene http://www.youtube.com/watch?feature=player_embedded&v=lmj3IaB2NcE
320: [08:56:45] <guci0> "Fewer clients, less money."
321: [09:00:39] <guci0> Janusz Kamiński, I didn't know :) Its good camera men. From Poland – huge contribution to the movie.
322: [09:00:43] <guci0> Ok, back to work!
323: [09:04:06] <willmorgan> on namespaces: http://pornel.net/phpns/pl
324: [09:04:17] <willmorgan> it's in polish, but google translate is your friend
325: [09:08:20] <kinglozzer> Oh wow I'm on a roll this morning. Forgot SCSS when doing a pull request, also completely forgot to branch off 3.1... maybe I should just go back to bed
326: [09:18:18] * guci0 quit (Ping timeout: 250 seconds)
327: [09:18:49] * guci0 has joined #silverstripe
328: [09:21:33] <willr_> kinglozzer more coffee :)
329: [09:22:19] <kinglozzer> willr_: More caffeine: tea is the weapon of choice this morning
330: [09:22:53] <guci0> good idea
331: [09:23:42] <guci0> http://grupakarczew.pl/aktualnosci/motywacja/ for more motivation, polecam. Few nice movies, picked by me :)
332: [09:28:44] <kinglozzer> willmorgan: http://pornel.net/phpns no need for translate ;)
333: [09:30:20] <willmorgan> maybe I need more caffeine...
334: [09:30:29] <kinglozzer> We all do :P
335: [09:30:33] <willmorgan> my first one was an aeropress at 6am, and then i ran out of coffee
336: [09:32:45] <guci0> http://pornel.net/phpns/pl it's good point. PHP namespaces are flawed, I don't like it, a little don't understand. Its like a globally oither object, with the same name.
337: [09:33:13] <guci0> It's your hat?
338: [09:33:36] <willmorgan> ha, that hat is not mine, and that guy is not me
339: [09:33:57] <willmorgan> he's just a cool dude in London. have been to a few of his talks
340: [09:34:01] <guci0> Coffe and shower, It's hot here :) Today
341: [09:34:37] <guci0> UK, it's good idea too ;)
342: [09:42:16] * zfmf1 has joined #silverstripe
343: [09:55:35] * DrCuriosity quit (Read error: Connection reset by peer)
344: [09:56:42] * zippy__ quit (Quit: zippy__)
345: [09:58:43] * DrCuriosity has joined #silverstripe
346: [10:03:08] <willmorgan> hmm. pretty sure I just found a bug in SSViewer with TemplateGlobalProvider implementors overriding a specific scope
347: [10:03:54] * Zauberfisch has joined #silverstripe
348: [10:04:57] <willmorgan> if I use <% with $AFormField %>$Title, and I ->customise('Title' => 'Some value'), then $Title will be 'Some value' instead of the FormField title
349: [10:05:17] <simon_w|air> willmorgan, expected. customise() causes an overlay
350: [10:05:43] <willmorgan> surely if you're in a scope that shouldn't happen?
351: [10:06:08] <willmorgan> i can see that changing the behaviour might break a lot of stuff though
352: [10:06:38] <willmorgan> what do you think the best way forward is? avoid use of customise in my scenario? report a bug?
353: [10:06:49] <simon_w|air> Wait, it's ->renderWith('name', 'blah') that causes an overlay
354: [10:07:16] * guci0 quit (Ping timeout: 250 seconds)
355: [10:07:23] <simon_w|air> ->customise() doesn't
356: [10:08:31] <simon_w|air> So, what's your actual line?
357: [10:09:50] <willmorgan> one sec. i'll paste
358: [10:10:38] <willmorgan> ah yes, it is renderwith
359: [10:11:11] <simon_w|air> So chain a customise() instead
360: [10:11:22] <simon_w|air> ss23, I'll be there for the full time on Saturday now
361: [10:11:33] <ss23> Yay :D
362: [10:11:38] <ss23> simon_w|air: So I can borrow your Air?
363: [10:11:43] <simon_w|air> I guess
364: [10:11:45] <ss23> ty
365: [10:11:57] <simon_w|air> Time to set up a controlled user :p
366: [10:12:01] <simon_w|air> What'll you need?
367: [10:12:04] <ss23> Hmm
368: [10:12:14] <ss23> SSH client + webbrowser I think?
369: [10:12:22] <ss23> I don't think I'll need anything else at this point :O
370: [10:12:43] <ss23> Also, since I'm nice and you're letting me use it, I'll refrain from messing with it :P
371: [10:13:07] <simon_w|air> Also, because I can remotely lock you out of it :p
372: [10:13:12] <willmorgan> simon_w|air: this seems to fix it: http://www.sspaste.com/paste/show/5199f6b4e6a97
373: [10:13:31] <willmorgan> (line 18-21)
374: [10:13:46] <ss23> simon_w|air: turn off all the internets, obviously! :D
375: [10:14:18] <willmorgan> and thanks for your help, simon
376: [10:14:44] <simon_w|air> I should probably turn off postgres, mysql and apache too :p
377: [10:15:08] <simon_w|air> There, you'll be getting Safari and Terminal
378: [10:15:17] <ss23> Yay :D
379: [10:15:23] <ss23> wait
380: [10:15:25] <ss23> SAFARI?
381: [10:15:26] * ss23 dies
382: [10:15:32] <ss23> simon_w|air: Have you got a *non* hipster browser?
383: [10:15:41] <ss23> I might have to start drinking fancy coffee and not showering if I use Safari
384: [10:15:45] <simon_w|air> How is Safari hipster?
385: [10:15:48] <ss23> lol
386: [10:15:59] <ss23> Well, you use it...
387: [10:16:09] <simon_w|air> Kinda
388: [10:23:51] <Colin[pi]> safari is terrible for development, on PC at least :o
389: [10:35:05] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
390: [10:42:07] * r3v3rb has joined #silverstripe
391: [10:42:31] * willr_ quit (Quit: willr_)
392: [10:56:59] <otinane> hello. quick question. does a gallery module exist that will allow users to upload images ?
393: [11:03:08] * guci0 has joined #silverstripe
394: [11:03:23] <guci0> ;)
395: [11:07:31] <r3v3rb> otinane: from the front end?
396: [11:08:50] <otinane> yes if possible
397: [11:09:06] <otinane> basically i'm looking for a gallery that supports user submissions
398: [11:16:09] <willmorgan> not afaik. but it sounds easy
399: [11:16:14] <willmorgan> write one yourself? :D
400: [11:17:11] <r3v3rb> otinane: I would agree with willmorgan - best to write one yourself you'll get the best UX as you can determine all elements and how it integrates in the site
401: [11:17:44] <willmorgan> sorry, I know that's not answering your question fully, but you could write one yourself. I'm sure the people in here would be happy to help with any questions you'd have
402: [11:17:50] <otinane> yes that goes without saying, just wanted to know if it existed already and perhaps i wasnt finding it. thanks for the info
403: [11:21:07] <willmorgan> the cool thing to do would be to use the gallery CMS module and basically provide a frontend template
404: [11:21:21] <willmorgan> less duplication of code, and it also means you can administrate using the same module in the backend
405: [11:21:50] <otinane> i will look into that. you are not talking about cwsoft-foldergallery am i right ? sorry for bad english
406: [11:24:08] * Zauberfisch quit (Remote host closed the connection)
407: [11:25:09] <willmorgan> no, not that
408: [11:28:13] <kinglozzer> When using terminal, 'which php' is returning MAMP - I don't want to use MAMP :( how can I change which directory 'php' uses?
409: [11:31:02] <kinglozzer> Aha, never mind
410: [11:37:01] * gelignite has joined #silverstripe
411: [11:42:57] * daslicht has joined #silverstripe
412: [11:43:28] <daslicht> i just stretd with ss but i am stuck here:
413: [11:43:28] <daslicht> http://doc.silverstripe.org/framework/en/tutorials/2-extending-a-basic-site
414: [11:43:52] <daslicht> adding static $icon = "framework/docs/en/tutorials/_images/treeicons/news-file.gif"; does not change the icon as described there
415: [11:44:06] <daslicht> any idea how to find out why ?
416: [11:55:47] <willmorgan> could be that the file doesn't exist
417: [11:56:03] <willmorgan> i presume you're using SS2.4?
418: [12:00:54] * UncleCheese has joined #silverstripe
419: [12:04:47] <ss23> oh man I think I'm about to be paid, and if so, I'm fucking getting dinner. I've been eating nothing but jelly rings coated in chocolate since I woke up, and they're taking a toll on me
420: [12:04:51] <ss23> :<
421: [12:34:09] * jrthomer has joined #silverstripe
422: [12:37:02] * r3v3rb quit (Quit: r3v3rb)
423: [12:43:04] <Colin[pi]> as a freelancer, this is how I feel when I show my sites to devs from large companies: http://www.youtube.com/watch?v=hfF6HVjgeEA
424: [12:49:02] <ss23> lol, it's the opposite!
425: [12:49:10] <ss23> Big companies normally have old crufty code from the 90's!
426: [12:52:47] <Colin[pi]> depends on the company :)
427: [12:53:33] <Colin[pi]> annnnd I'm off to sleeps, nn
428: [12:53:37] * Colin[pi] quit (Quit: pants)
429: [12:54:47] <priithansen> can arraylist filter use GreaterThanFilter and other search filters?
430: [13:00:00] <priithansen> i guess not
431: [13:07:40] * UncleCheese quit (Quit: UncleCheese)
432: [13:23:32] * UncleCheese has joined #silverstripe
433: [13:27:27] * UncleCheese quit (Client Quit)
434: [13:29:07] * pex has joined #silverstripe
435: [13:34:58] * osterlaus has joined #silverstripe
436: [13:39:58] * otinane quit (Quit: Page closed)
437: [13:45:47] * lx-berlin_ has joined #silverstripe
438: [13:46:53] * lx-berlin_ has left #silverstripe
439: [13:47:23] * Shrike_Finland quit (Quit: Leaving.)
440: [13:57:13] * pex quit (Ping timeout: 264 seconds)
441: [14:02:48] * osterlaus quit (Quit: Leaving.)
442: [14:05:22] <daslicht> is it normal that silverstipe is very slow reacting on my localhost ?
443: [14:05:50] <daslicht> are therer different modes ? such as developement ?
444: [14:07:00] <daslicht> hm even this demo is slooowww http://ss3.silverstripe-ecommerce.com/new-product-category/
445: [14:12:21] * oak has joined #silverstripe
446: [14:12:46] <oak> hello. would it be possible to access the user logged into silverstripe from an external script sitting on the webserver ?
447: [14:12:50] <oak> if so how ?
448: [14:21:09] * Nivery has joined #silverstripe
449: [14:42:35] * r3v3rb has joined #silverstripe
450: [14:44:06] <r3v3rb> hello, can anyone help?
451: [14:44:53] <r3v3rb> I have my site setup as a translated site and I have setup user groups to determine which people can edit which language. This works well
452: [14:45:37] <r3v3rb> however, I have to give access to the SiteConfig for each set of editors too and this is where it falls down - SiteConfig is not accepting the canEdit function I have
453: [14:45:48] <r3v3rb> in SiteConfigExtension.php
454: [14:46:46] <kinglozzer> r3v3rb: Can you actually override canEdit() etc with an extension?
455: [14:46:54] <kinglozzer> Just wondering if you're sure you can, I've never tried before
456: [14:46:54] <r3v3rb> no idea
457: [14:47:07] <r3v3rb> lol
458: [14:47:11] <kinglozzer> r3v3rb: Stick a die('hello'); in there and see if it's called? :P
459: [14:47:16] <r3v3rb> good shout
460: [14:47:29] * UncleCheese has joined #silverstripe
461: [14:48:59] <r3v3rb> hmm, it appears not kinglozzer
462: [14:49:12] <r3v3rb> UncleCheese: good luck with the forth coming move :)
463: [14:49:26] <UncleCheese> thanks, bud
464: [14:49:32] <r3v3rb> kinglozzer: that could be a real headscratcher now for me!
465: [14:49:35] <UncleCheese> it's craaaaaaazy
466: [14:49:48] <kinglozzer> r3v3rb: So you're adding some fields to SiteConfig, presumably with updateCMSFields(), can you do the check in your updateCMSFields() method before you add them in?
467: [14:49:56] <r3v3rb> UncleCheese: would do it myself if: a. qualified enough and b. didn't have children
468: [14:50:21] <UncleCheese> we have an 11 month old
469: [14:50:24] <UncleCheese> easy to move :)
470: [14:50:30] <UncleCheese> but it's an insane amount of work
471: [14:50:37] <UncleCheese> i think i have 40 hours into the visa application alone
472: [14:50:39] <r3v3rb> kinglozzer: the problem is when logged in as an 'editor' instead of an 'admin' as such the 'save' button is missing
473: [14:50:59] <r3v3rb> UncleCheese: yes 11 month is much easier to move than a 10 & 7 year old
474: [14:51:20] <r3v3rb> UncleCheese: application forms should be banned!
475: [14:51:43] <kinglozzer> r3v3rb: updateCMSActions ;)
476: [14:51:57] * r3v3rb googles
477: [14:52:47] <kinglozzer> r3v3rb: Just add it to your extension: http://pastie.org/7934801
478: [14:53:06] <kinglozzer> Oh sorry I messed that up, one sec
479: [14:53:45] <kinglozzer> http://pastie.org/7934806 that should do it
480: [14:54:01] <r3v3rb> hehe, 2.4 still on this project :D
481: [14:55:58] <kinglozzer> Or possibly that one: http://pastie.org/7934813
482: [14:56:09] <kinglozzer> r3v3rb: Should be fine in 2.4
483: [14:56:25] <r3v3rb> nope, didn;t like it :( crashed out site
484: [14:56:26] <kinglozzer> I think, just forget the extra classes/attributes
485: [14:56:50] <r3v3rb> setAttribute doesn't exist in 2.4
486: [14:56:55] <zfmf1> he guys, the search on http://doc.silverstripe.org add www. to the search result so i get a aborted response
487: [14:57:20] <kinglozzer> Yeah that was added in 3.0, so try without that r3v3rb
488: [14:57:46] <kinglozzer> zfmf1: Known bug, it's been fixed but not pushed live yet
489: [14:57:47] <r3v3rb> I is! kinglozzer :D
490: [14:59:32] <kinglozzer> r3v3rb: Working? Test saving it, I'm not sure if there are additional permission checks before writing to the db
491: [15:00:04] <r3v3rb> no idea yet, the site doesn't load at the moment in 2.4
492: [15:00:20] <r3v3rb> PHP Fatal error: Call to a member function Name() on a non-object in /Users/Sites/sapphire/forms/FieldSet.php on line 392
493: [15:00:24] <r3v3rb> just fixing it
494: [15:01:15] <kinglozzer> r3v3rb: Caused by you or me? :P
495: [15:01:31] <r3v3rb> ->addExtraClass !
496: [15:01:32] <r3v3rb> lol
497: [15:02:19] * UncleCheese quit (Ping timeout: 260 seconds)
498: [15:02:56] <r3v3rb> kinglozzer: works but now I just need to add my check in for whichever language they are in to stop them overwriting others siteconfigs ;)
499: [15:03:22] <r3v3rb> should be fairly straightforward
500: [15:03:32] <r3v3rb> except I have to go pick up my damn kids!
501: [15:03:36] <r3v3rb> bbl
502: [15:05:17] <kinglozzer> Haha, cya
503: [15:17:06] * guci0 quit (Ping timeout: 250 seconds)
504: [15:50:01] * chillu has joined #silverstripe
505: [15:52:19] * joelpittet has joined #silverstripe
506: [15:52:58] * MichaelDesignerX has joined #silverstripe
507: [15:53:13] * DesignerX quit (Ping timeout: 256 seconds)
508: [15:54:25] * catcher has joined #silverstripe
509: [15:54:54] * Nacho_Cologne has joined #silverstripe
510: [15:56:29] <MichaelDesignerX> join /sql
511: [15:56:36] <MichaelDesignerX> join /#sql
512: [15:56:51] * MichaelDesignerX quit (Client Quit)
513: [15:57:19] * DesignerX has joined #silverstripe
514: [15:57:45] <Nacho_Cologne> Dear experts, I really need some help with multiple widgets. When I add a second widget whichever is on the bottom won't show any content. Could somebody please give me a hint where I could look for the bug? Thank you!
515: [15:58:11] <catcher> Class B extends Class A, class B's $default_sort='sortOrder'. Class B's onBeforeWrite is erroring because Class A has no field 'sortOrder'. What's the right way to have the ORM consider the actual class I'm referring to?
516: [15:59:50] * origincube has joined #silverstripe
517: [16:00:11] <DesignerX> catcher: have the base class with that variable set to null ?
518: [16:02:51] <origincube> hi everyone, have a bit of a tricky problem, and can't seem to find a solution in the forums
519: [16:03:07] <catcher> DesignerX, variable?
520: [16:03:10] * ^pH- has joined #silverstripe
521: [16:03:57] <origincube> have a client who needs to be able to add in code snippets within the htmleditor, which i know isn't best practice, but there isn't really a way around it since they're code snippets for a third party lead nurturing network
522: [16:05:52] <catcher> origincube, shortcodes
523: [16:06:18] <origincube> the code snippets are javascript based though
524: [16:06:39] * ^pH quit (Ping timeout: 276 seconds)
525: [16:09:01] <catcher> FrozenFire, we discussed this issue before, didn't we? Do you remember the way around it?
526: [16:10:03] <origincube> i've set allowed elements to *[*]
527: [16:10:10] <origincube> and also set cleanup to ""
528: [16:10:24] <origincube> as suggested in the forums, but it still removes any javascript code
529: [16:10:39] <FrozenFire> It's feasible to enable Javascript in the HTMLEditorField, but I recommend against it. You should instead determine the way that the Javascript is put together, and create a shortcode for it, or have fields on your Page for that, then handle including that Javascript in the controller.
530: [16:11:24] * joelpittet quit (Remote host closed the connection)
531: [16:11:48] <FrozenFire> For instance, for GA, you might have the code listed here: https://support.google.com/analytics/answer/1008080?hl=en
532: [16:11:49] <origincube> yeah, the trick is that the client creates these "call to actions" within Hubspot (marketing engine), and then needs to place them within content areas
533: [16:12:13] <origincube> the GA stuff is all configured into the site template since that doens't have to be too dynamic
534: [16:12:25] <FrozenFire> Yeah, just making an example of templated Javascript.
535: [16:12:39] <origincube> the only other option would seem to be insert a textarea field instead of html, then paste the raw content into the layout?
536: [16:12:43] <FrozenFire> In the case of the GA stuff, you'd template it and insert the account ID
537: [16:12:56] <FrozenFire> Definitely not that way.
538: [16:13:48] <FrozenFire> I'd say a shortcode is your best bet.
539: [16:13:57] * kinglozzer quit (Quit: home time)
540: [16:14:02] <origincube> any nifty links to tutorials on how to use that ? :)
541: [16:14:11] <origincube> only been using SS for about a month
542: [16:14:17] <origincube> feel like a total newb
543: [16:14:56] <FrozenFire> http://www.balbuss.com/mini-introduction-to-shortcodes/
544: [16:15:17] <FrozenFire> It may have changed a bit in SS3, though
545: [16:16:14] <origincube> hopefully not too much!
546: [16:16:40] <origincube> this could work fairly well, just need to see the script info from this client and then i'm good to test it out!
547: [16:16:44] <FrozenFire> It's fundamentally the same, but the configuration syntax for adding new shortcodes may have changed
548: [16:19:05] <origincube> ah sweet
549: [16:19:09] <origincube> there's some helpful docs in the api
550: [16:19:10] <origincube> http://docs.silverstripe.org/framework/en/topics/shortcodes
551: [16:19:13] <origincube> thanks! :)
552: [16:19:59] <FrozenFire> You'll probably also want to take a look at Requirements::javascriptTemplate
553: [16:20:55] <FrozenFire> Unless, of course, you need to place the script in a specific place in the content
554: [16:20:55] <Nacho_Cologne> Politely asking for help again - it's for a primary school, so if you help me you'll get karma points for contributing to a brighter future and the happiness of children! :-)
555: [16:21:02] <FrozenFire> Though that'd be bad practise.
556: [16:21:34] <FrozenFire> Nacho_Cologne, Could you give more information on the issue you're encountering? Do you have a screenshot?
557: [16:21:50] <FrozenFire> Also, need information on the types of widgets
558: [16:21:52] <origincube> yeah, i'm still not entirely sure why these bits of html need javascript since they're linked to external sites, but must be tracking related
559: [16:22:10] <origincube> thanks for the assist FrozenFire :)
560: [16:22:11] <Nacho_Cologne> I can give you a link: http://www.wp11170768.server-he.de/aktuelles/
561: [16:22:39] <Nacho_Cologne> I added a debug line already
562: [16:23:09] <Nacho_Cologne> whichever widget on top will work, so it's not the widget's malfunction
563: [16:24:24] <FrozenFire> Odd. Could you quickly switch the order of the widgets, so I can see the tag collection widget functioning correctly?
564: [16:24:46] <daslicht> when i try to install ss with composer i get :
565: [16:24:48] <daslicht> [Composer\Downloader\TransportException]
566: [16:24:48] <daslicht> The "https://api.github.com/repos/silverstripe/sapphire/zipball/3.0.5" file could not be downloaded (HTTP/1.1 404 Not Found)
567: [16:25:20] <Nacho_Cologne> In the forum I just found an open thread with no solution
568: [16:26:20] <FrozenFire> daslicht, SS goofed recently and changed the name of the repository. If you have any hardcoded references to "sapphire" in your composer.json, you'll need to change it to silverstripe-framework
569: [16:26:32] <Nacho_Cologne> FrozenFire, did it - order changed
570: [16:27:03] <FrozenFire> Yeah, I can see that. Very odd.
571: [16:27:10] <daslicht> i tried it like this: composer create-project silverstripe/installer ./my/website/folder
572: [16:27:25] <FrozenFire> I don't have the time at the moment to do deeper debugging with you, but I may have time in a bit.
573: [16:27:25] <daslicht> how would a composer.json look like ?
574: [16:27:40] <FrozenFire> daslicht, Ah, so you're installing it like that
575: [16:27:58] <daslicht> i actually dont care how
576: [16:27:59] <daslicht> :)
577: [16:28:11] <Nacho_Cologne> ok FrozenFire I'll wait for a while - thanks for looking into it!
578: [16:28:20] <daslicht> i try : https://packagist.org/packages/silverstripe/framework
579: [16:28:34] <FrozenFire> Well, all I can really say is that the naming of the repository changed, so some reference you have it probably borked
580: [16:28:45] <daslicht> ok
581: [16:28:48] <FrozenFire> Which may be a case of composer creating a cache
582: [16:28:50] <daslicht> i donload it manually :D
583: [16:29:52] <FrozenFire> sminnee, Just going to ping you on this, since it's likely to be a common issue in the coming days.
584: [16:30:10] <FrozenFire> Change of sapphire repo name to silverstripe-framework is apparently causing at least one person to have repo reference issues
585: [16:30:28] <FrozenFire> And will likely have many more for people who are using git submodules instead of composer
586: [16:31:05] <r3v3rb> FrozenFire: has it changed again from framework to silverstripe-framework?
587: [16:31:35] <FrozenFire> Nah, not in that way, r3v3rb
588: [16:31:42] <r3v3rb> phew!
589: [16:31:47] <FrozenFire> https://github.com/silverstripe/sapphire changed to https://github.com/silverstripe/silverstripe-framework
590: [16:31:52] <r3v3rb> sure
591: [16:32:07] * origincube quit (Quit: ~ Trillian - www.trillian.im ~)
592: [16:34:02] * Nivery quit (Quit: Nivery)
593: [16:37:40] <r3v3rb> is it time to go home yet?
594: [16:37:53] * r3v3rb is now known as r3v|home
595: [16:38:04] * r3v|home has left #silverstripe
596: [16:39:08] <daslicht> ok i maanged now to install teh framework with composer
597: [16:39:22] <daslicht> but therer is stuff missing :)
598: [16:39:27] <daslicht> its just the framework folder
599: [16:46:56] <catcher> Any ideas on unknown column 'sortOrder' due to the ORM only querying the base class?
600: [16:47:32] <catcher> $default_sort = 'sortOrder' is set on the subclass, and the field exists on the subclass (not the base class).
601: [16:53:56] <catcher> looping instead of using column() seems to avoid the $default_sort check. Would this be a bug in column() for not joining the necessary tables?
602: [16:55:55] <ss23> ss23 when working with a stack - http://www.youtube.com/watch?v=vCadcBR95oU
603: [16:57:40] <catcher> ha!
604: [16:58:48] * cloph_away1 quit (Read error: Connection reset by peer)
605: [17:02:34] <daslicht> is therer a way to speed up silverstripe ? its so slow on my localhost
606: [17:03:03] <daslicht> i am using mamp which has apc enabled
607: [17:03:10] <ss23> Depends on which parts are slow
608: [17:03:22] <daslicht> just the main navigation
609: [17:03:23] <ss23> static publisher is good though
610: [17:03:33] <ss23> I mean internally, is it PHP or MySQL or what
611: [17:03:34] * joelpittet has joined #silverstripe
612: [17:03:46] <daslicht> how do i find out ?
613: [17:04:32] <ss23> Measure how long each part takes? idk the best way to do that in Silverstripe though sorry
614: [17:05:29] <daslicht> uh
615: [17:05:57] <daslicht> do you have an example of a fast ss page online ?
616: [17:06:24] <ss23> Hmm, iirc the democrat party used Silverstripe, I'll see if theirs is still up
617: [17:06:54] <ss23> Oh, was the convention side
618: [17:06:55] <ss23> site*
619: [17:07:28] <ss23> daslicht: http://westpac.co.nz/ is another good example
620: [17:08:09] <daslicht> do you suggest using nginx or apache ?
621: [17:08:33] <ss23> I suggest using whichever suits your needs better :P
622: [17:08:45] <ss23> nginx is faster for static content, apache is better for intergration with PHP
623: [17:08:51] <daslicht> will be nginx feel faster than apache ?
624: [17:08:56] <ss23> If you can use a combination, that'll likely be the best, but few people have the resources to justify both
625: [17:09:27] <daslicht> do you use some kind of cache in conjunction with apache ? varnish ?
626: [17:09:50] <ss23> The sites I manage don't, though some of htem use static publisher
627: [17:09:54] * Mark-M quit ()
628: [17:09:59] * popeshoe quit (Quit: This computer has gone to sleep)
629: [17:10:02] * chillu quit (Quit: chillu)
630: [17:10:20] <daslicht> i dont know that , i google
631: [17:11:16] <daslicht> looks good
632: [17:11:18] <daslicht> thanks
633: [17:11:18] <daslicht> !
634: [17:12:09] <ss23> Sweet :)
635: [17:15:38] * willmorgan quit (Ping timeout: 264 seconds)
636: [17:29:27] * zfmf1 quit (Ping timeout: 256 seconds)
637: [17:31:16] <daslicht> holy cow, PJAX inside
638: [17:31:26] <daslicht> http://doc.silverstripe.org/framework/en/reference/cms-architecture#pjax-partial-template-replacement-through-ajax
639: [17:39:37] * Nivery has joined #silverstripe
640: [18:01:06] * daslicht quit (Remote host closed the connection)
641: [18:11:44] * joelpittet quit (Remote host closed the connection)
642: [18:12:17] * joelpittet has joined #silverstripe
643: [19:03:26] * UncleCheese has joined #silverstripe
644: [19:11:08] * popeshoe has joined #silverstripe
645: [19:12:57] * cloph_away has joined #silverstripe
646: [19:14:22] * pex has joined #silverstripe
647: [19:14:44] * joelpitt_ has joined #silverstripe
648: [19:17:59] * joelpittet quit (Ping timeout: 256 seconds)
649: [19:24:02] * popeshoe quit (Quit: This computer has gone to sleep)
650: [19:40:33] * joelpitt_ quit (Remote host closed the connection)
651: [19:44:16] * SightUnseen has joined #silverstripe
652: [19:44:20] * SightUnseen has left #silverstripe
653: [19:44:32] * OldTom quit (Ping timeout: 256 seconds)
654: [19:47:51] * OldTom has joined #silverstripe
655: [19:54:33] * SightUnseen has joined #silverstripe
656: [19:57:05] * SightUnseen has left #silverstripe
657: [20:20:50] <Nacho_Cologne> Hey FrozenFire, how is it looking? If you're still busy I would be grateful if you could post whatever thoughts you have on the thread in the forum - it's easy to find in the widgets section
658: [20:39:26] * UncleCheese quit (Quit: UncleCheese)
659: [20:40:16] * Pyromanik has joined #silverstripe
660: [20:40:28] <Pyromanik> simon_w: do you have that paste handy?
661: [20:40:38] * DigNZ1 has joined #silverstripe
662: [20:40:39] * DigNZ1 quit (Remote host closed the connection)
663: [20:40:58] * DigNZ1 has joined #silverstripe
664: [20:41:53] * simon_w quit (Ping timeout: 276 seconds)
665: [20:42:55] * priithansen quit (Quit: priithansen)
666: [20:42:57] * simon_w has joined #silverstripe
667: [20:42:59] <Pyromanik> oic
668: [20:43:09] * Nacho_Cologne quit (Quit: Page closed)
669: [20:43:11] <Pyromanik> simon_w: do you have that paste handy?
670: [20:43:30] * joelpittet has joined #silverstripe
671: [20:48:09] * C10ne has joined #silverstripe
672: [20:48:30] <simon_w> Pyromanik, hang on, browser's just opening
673: [20:51:08] <Pyromanik> simon_w: thanks dude
674: [20:52:05] <simon_w> http://sspaste.com/paste/show/519a8ce6d7beb
675: [20:54:53] * oak quit (Quit: Page closed)
676: [20:59:04] <simon_w> Pyromanik, Ignore TabularCompositeField and its first parameter. That's a custom field
677: [21:00:39] <simon_w> and $data['NumUnits'] is the number of units to add fields for. You may want something more akin to count($data['FieldName'])
678: [21:03:39] * Jeremy2 has joined #silverstripe
679: [21:04:04] <catcher> simon_w, what am I missing here - class B extends class A, class B has a $db field and $default_sort 'sortOrder'. Calling ->column('ID') directly on Class B tells me it can't find 'sortOrder', because it's only looking on the base class table.
680: [21:08:17] <Pyromanik> thank you simon_w, that looks fantastic.
681: [21:08:21] <Pyromanik> why does it not in core?
682: [21:08:49] <Pyromanik> core can handle [] submissions (even validates them iirc), but doesn't do re-population support of it :<
683: [21:09:08] * Jeremy2 is now known as MrJeremy
684: [21:09:43] <Pyromanik> catcher: calling ->column('ID') on which object?
685: [21:09:47] <Pyromanik> A or B?
686: [21:09:58] <catcher> Pyromanik, B
687: [21:10:02] <Pyromanik> oh sorry, didn't see it on the end there
688: [21:10:30] <Pyromanik> by base class table you mean eg SiteTree vs HomePage, yeh?
689: [21:11:28] * MrJeremy quit (Quit: MrJeremy)
690: [21:11:44] * Jeremy2 has joined #silverstripe
691: [21:11:55] <catcher> These are custom DOs, but in that example, Homepage $default_sort & $db 'sortOrder', Homepage::get()->column('ID') complains about missing 'sortOrder' because only SiteTree is queried.
692: [21:13:02] * zfmf1 has joined #silverstripe
693: [21:13:44] * zfmf1 has left #silverstripe
694: [21:13:53] <Jeremy2> Is it possible to constant in templates?
695: [21:15:05] <Jeremy2> define(d) constants that is
696: [21:16:44] <simon_w> add a method that returns it and it is
697: [21:17:37] <Jeremy2> ok thanks
698: [21:20:15] * zippy__ has joined #silverstripe
699: [21:21:06] <zippy__> Always a contentious question :) What IDE to you mac developers use? I've been using sublime edit lately, but looking to try something else
700: [21:21:21] <simon_w> Hehe, IDEs
701: [21:21:31] <simon_w> Most of us use Sublime Text for some reason
702: [21:21:58] <lewellyn> i use vim, just because it's the most proper vi available for os x.
703: [21:23:14] <zippy__> need to get Sublime opening .ss files as html
704: [21:23:21] * Nivery quit (Quit: Nivery)
705: [21:23:44] <zippy__> I find vim fine for quick edits, not when trying to do some serious work. Guess I am not hardcore enough ;-)
706: [21:24:28] <lewellyn> i've used vi for like 20 years now. so i find where vim differs from vi to be overall annoying ;)
707: [21:26:22] <zippy__> I used to work with the guy that wrote NerdTree plugin, good guy, loved his vim
708: [21:26:50] <Pyromanik> Jeremy2: separation of concerns, nothing should be 'new' in a template!
709: [21:27:55] <Pyromanik> also, a constant just being constant, wouldn't you just type the text in?
710: [21:28:09] <Jeremy2> its a setting
711: [21:28:12] <Pyromanik> zippy__: I use Notepad++, but I'm on windows.
712: [21:28:19] <Pyromanik> Jeremy2: so it's not constant.
713: [21:28:51] <zippy__> Pyromanik: Notepad++ takes me back a few years!
714: [21:28:52] <Jeremy2> yes but its set in one place. Its constant for the application
715: [21:29:05] <Pyromanik> if someone can change it in the CMS, then it's on a model somewhere, which means you can probably just access it there.
716: [21:29:22] <simon_w> zippy__, open .ss file, View -> Syntax -> Open all with current extension as.. -> Pick your HTML flavour (I use Rails)
717: [21:29:27] <Pyromanik> if it's _config statically set, then what simon_w said, write a getter.
718: [21:30:02] * nickmolhoek has joined #silverstripe
719: [21:30:03] * nickmolhoek quit (Remote host closed the connection)
720: [21:30:14] <zippy__> simon_w You have to do that every time?
721: [21:30:17] <Jeremy2> its not in the cms its a define('SETTING_NAME', 30). so its not new nor will it change
722: [21:30:17] * nickmolhoek has joined #silverstripe
723: [21:30:34] <Pyromanik> write a getter.
724: [21:30:35] <simon_w> zippy__, you're missing the "Open all with current extension as..." step
725: [21:30:49] <Pyromanik> also, use the configuration system where applicable.
726: [21:31:19] <Jeremy2> oh but I could put it in the cms, thanks might be simpler to edit/tweak
727: [21:31:50] <zippy__> simon_w: Ah ok, that worked. It sounds deceiving, like it would set all the currently open files of .ss with that syntax.
728: [21:36:32] <Pyromanik> Jeremy2: if it's a site wide setting, look at decorators and SiteConfig
729: [21:36:48] <Jeremy2> its a module setting
730: [21:36:57] <simon_w> ooh, sexy new Flickr
731: [21:40:42] <Jeremy2> Pyromanik: Thanks for all your help. I think ill add it to the cms for ease of tweaking
732: [21:42:51] * Jeremy2 has left #silverstripe
733: [21:44:14] * MrJeremy has joined #silverstripe
734: [21:44:42] <MrJeremy> now Im registered
735: [21:54:54] <zippy__> WIth Mollom, do you guys just create free accounts for client websites? The limits are a bit of a pain, I find the plans to be very weird. Free = unlimited sites, but paid = 3! I don't mind paying, but it seems you pay and get less.
736: [21:59:02] <simon_w> zippy__, the number of sites means nothing if you go over their rate limits
737: [22:01:57] <zippy__> simon_w: correct, but that is what I mean by weird. unlimited sites but limit of 50. I need to support 100 sites but need a limit of 300. Enterprise is overkill. There is no way to add just a little bit more to an account
738: [22:02:41] <simon_w> zippy__, make your clients pay.
739: [22:02:42] * FrozenFire wonders why DataObject never shows up in Google searches
740: [22:02:45] <FrozenFire> Always DataObjectInterface
741: [22:04:17] <simon_w> FrozenFire, doing it wrong! http://doc.silverstripe.org/framework/en/reference/dataobject is my top hit
742: [22:05:20] <FrozenFire> https://www.google.com/search?q=site:api.silverstripe.org%2F3.1%20dataobject
743: [22:08:25] <FrozenFire> Anyone happen to know how jQuery handles redirects in $.get ?
744: [22:08:31] * gelignite quit (Quit: http://bit.ly/nkczDT)
745: [22:09:07] * cloph_away quit (Ping timeout: 256 seconds)
746: [22:09:13] <simon_w> All AJAX-related redirects are opaque to the JS
747: [22:09:41] <FrozenFire> Getting weirdness with an AJAX-ified link
748: [22:09:46] <FrozenFire> Not returning the JSON I expect
749: [22:09:48] <FrozenFire> Or anything
750: [22:09:56] <FrozenFire> The hit happens
751: [22:10:00] <FrozenFire> But no success call
752: [22:13:51] <FrozenFire> Mmm, now I am
753: [22:13:54] <FrozenFire> Weirdness
754: [22:13:56] <FrozenFire> Cached calls, probably.
755: [22:15:37] * Colin[pi] has joined #silverstripe
756: [22:18:58] <FrozenFire> Blegh. Is there some magic for returning JSON that I'm not aware of?
757: [22:19:17] <FrozenFire> Is there a magic helper on the response object for handling that?
758: [22:19:23] <catcher> what's wrong with this? $SDO = CustomDataObject::get()->filter('CustomImageID:GreaterThan', 0);
759: [22:19:36] <FrozenFire> catcher, I'd say, use :Not
760: [22:19:46] <FrozenFire> Or, exclude("CustomImageID", 0);
761: [22:20:18] <simon_w> FrozenFire, $this->response->addHeader('Content-type', 'application/json'); ?
762: [22:20:30] <FrozenFire> Blegh. I expected as much. :P
763: [22:20:49] <FrozenFire> Wish there was return $this->Response->json(array( ... ));
764: [22:21:28] <catcher> exclude is a winner, ty - but weird that I get 'setValue on a non-object' with the filter, no?
765: [22:24:10] * FrozenFire feels like he's retarded or something
766: [22:24:33] <FrozenFire> Derp.
767: [22:24:36] <FrozenFire> More caching
768: [22:24:38] <FrozenFire> I hate that shit.
769: [22:40:00] <zippy__> If I have a has_many relationship, and I have an ID which I want to check is in the relationship (e.g., if $staff->hasStudent($studentID); in my haStudent would I need to loop my $this->Students relationship and check the id, or is there a better way - the DataModel page doesn't seem to provide much information. Basically, how can I check (and then add) an object to a relationship
770: [22:45:05] <simon_w> zippy__, just add it? $staff->Students()->add($studentID) will make sure that the student with that ID's in the list
771: [22:45:22] <zippy__> simon_w: how can I check if it exists in there first?
772: [22:45:23] <simon_w> though, to check, $staff->Students()->byID($studentID)
773: [22:45:27] <zippy__> gotcha
774: [22:45:42] <zippy__> I see, so filtering it really
775: [22:50:22] * fake has joined #silverstripe
776: [22:50:46] * fake is now known as Guest59463
777: [22:51:14] <Guest59463> Hi there, in SS 3, how to load a single form field in the form template ? $Fields.dataFieldByName(FieldName) seems not working
778: [22:52:03] * Guest59463 quit (Client Quit)
779: [22:53:04] * fakep has joined #silverstripe
780: [22:53:21] <Pyromanik> FrozenFire: aren't AJAX calls never cached?
781: [22:53:37] <fakep> hi there, sorry to ask the same question again, lost the connection
782: [22:53:37] <simon_w> Pyromanik, nope
783: [22:53:38] <fakep> Hi there, in SS 3, how to load a single form field in the form template ? $Fields.dataFieldByName(FieldName) seems not working
784: [22:54:09] <Pyromanik> simon_w: nope they get cached?
785: [22:54:14] <simon_w> Pyromanik, yeah
786: [22:54:28] <Pyromanik> oh. I thought browsers didn't cache XHRs
787: [22:54:49] <simon_w> fakep, Are you in the right scope? Is that field actually a data field? Is the name correct?
788: [22:55:01] <simon_w> Pyromanik, some don't, some do. Corporate proxies like to as well.
789: [22:55:28] <Pyromanik> fakep: $Form.Fields.dataFieldByName(Name)
790: [22:55:34] <Pyromanik> try that
791: [22:55:41] <fakep> the form template was included successfully
792: [22:56:03] <fakep> but in the form.ss just can't get the field I want
793: [22:56:17] <Pyromanik> fakep: if you're trying to change the template for a single field, try it programmatically with $field->setFieldHolderTemplate()
794: [22:56:30] <Pyromanik> fakep: it might not be a datafield
795: [22:56:35] <Pyromanik> try fieldByName
796: [22:56:53] <Pyromanik> try using dot notation if it's a subfield
797: [22:57:20] <Pyromanik> eg fieldByName("Name.FieldYouWant")
798: [22:57:50] <Pyromanik> simon_w: yeh true proxys I guess.
799: [22:59:52] <fakep> $fields = new FieldList( EmailField::create('Email')->addExtraClass('input input-text')->setAttribute('placeholder', 'email address')->setAttribute('type', 'email'), PasswordField::create('Password')->addExtraClass('input input-text')->setAttribute('placeholder', 'password')->setAttribute('type', 'password') );
800: [23:00:13] <fakep> then I renderWith('Form.ss')
801: [23:00:28] <fakep> the form.ss is inclueded in the page.ss
802: [23:00:56] <fakep> in the form.ss i tried $Fields.fieldByName(Email) or $Fields.dataFieldByName(Email)
803: [23:07:00] * pex quit (Quit: pex)
804: [23:08:04] <simon_w> fakep, what are you calling renderWith() on? And you probably shouldn't name it Form.ss
805: [23:11:16] <fakep> renderWith('LoginForm')
806: [23:11:39] <fakep> renderWith('LoginForm')
807: [23:12:06] <simon_w> fakep, What are you calling it on?
808: [23:12:15] <Pyromanik> There already is a LoginForm.ss, no?
809: [23:12:15] <fakep> renderWith('LoginForm')
810: [23:12:29] <Pyromanik> fakep: No, what is the OBJECT you're calling the method on?
811: [23:12:35] <fakep> then I put the LoginForm.ss in the includes
812: [23:12:42] <fakep> sorry
813: [23:13:23] <Pyromanik> $form = new Form(...); $form->renderWith('LoginForm') ?
814: [23:13:59] <fakep> $this->renderWidth()
815: [23:14:02] <FrozenFire> Making the blog module let you do future publishing, but hidden. How to?
816: [23:14:16] <FrozenFire> That is, I want to be able to set the Date for a future date, and have the post only show up then.
817: [23:14:37] <Pyromanik> fakep: and what is $this?
818: [23:14:43] <FrozenFire> I know how I'd do it if I was writing it. But blog module is cray-cray
819: [23:14:54] <Pyromanik> FrozenFire: modify BlogSummary?
820: [23:14:56] <zippy__> FrozenFire: could you just not change your blog holder to fetch entries older than current day?
821: [23:15:00] <Pyromanik> or, install the workflow module?
822: [23:15:25] <fakep> yes, guess something wrong here, i have no diea either, :) thanks
823: [23:15:27] <Pyromanik> iirc workflow has embargo/expiry with it
824: [23:15:28] <FrozenFire> I think you guys overestimate the sane-ness of blog module
825: [23:15:39] <Pyromanik> FrozenFire: not really, I've looked at it.
826: [23:16:00] <zippy__> FrozenFire: I've done it before, but can't recall how (was couple of years ago)
827: [23:16:19] <Pyromanik> FrozenFire: there's a summary method on blogholer or tree
828: [23:16:35] <Pyromanik> if it has a hook (doubtful) you could decorate
829: [23:16:37] <FrozenFire> Actually, nevermind. I look at it now and I've already created a separate accessor for blog entries on a holder for filtering it properly.
830: [23:16:48] <Pyromanik> or subclass and hide_ancestor
831: [23:16:59] <Pyromanik> FrozenFire: or that ;)
832: [23:17:02] <FrozenFire> God this project has been going on so long I've forgotten what changes I've made.
833: [23:17:08] <Pyromanik> lulz
834: [23:17:12] <Pyromanik> hack all the cores!
835: [23:17:51] <FrozenFire> I fucking despise this client
836: [23:17:53] <Pyromanik> "you must restart your machine to finish your Adobe Acrobat update" - what, the, fuck.
837: [23:18:03] <FrozenFire> They've basically made my current employer go kaput
838: [23:18:06] <lewellyn> yay adobe not knowing how to tskill their crap
839: [23:18:08] <FrozenFire> New job at the end of the month
840: [23:18:27] <Pyromanik> FrozenFire: there was an embargo/expiry module for 2.4 you could probably hack up and plonk in for basic support in 3.0 if you don't want the full workflow weight.
841: [23:18:38] <Pyromanik> FrozenFire: wow, that sucks :(
842: [23:18:54] <Pyromanik> lewellyn: tskill?
843: [23:19:11] <lewellyn> Pyromanik: it's the windows equiv of pkill
844: [23:19:14] <Pyromanik> FrozenFire: I hear lots of places in Wellington are hiring :P
845: [23:19:22] <Pyromanik> lewellyn: ah.
846: [23:19:38] <Pyromanik> nah, I assume it's for some kind of OS hook
847: [23:19:39] <FrozenFire> :P My new job pays more and is more in line with my level of competence.
848: [23:19:51] <Pyromanik> FrozenFire: nice
849: [23:19:59] <FrozenFire> Unfortunately for you guys, that probably means I stop using SilverStripe.
850: [23:19:59] <FrozenFire> :P
851: [23:20:09] <Pyromanik> FrozenFire: so your current job is under or above your current level of competence?
852: [23:20:19] <Pyromanik> FrozenFire: sif. you'll still be here
853: [23:20:22] <FrozenFire> Current job is way below my level of competence and pay.
854: [23:20:31] <Pyromanik> FrozenFire: IC.
855: [23:20:39] <Pyromanik> well congratulations then :)
856: [23:21:07] <zippy__> Wellington gives me the jitters
857: [23:21:13] * fakep quit (Quit: Page closed)
858: [23:21:13] <FrozenFire> Incidentally, if my replacement doesn't work out, one of you guys is welcome to my job, if my employer keeps going. :P
859: [23:21:24] <lewellyn> heh.
860: [23:21:25] <zippy__> After being all through Chch quakes, the thought of Wellington makes me queezy!
861: [23:22:34] <Pyromanik> zippy__: where are you now?
862: [23:23:02] <Pyromanik> FrozenFire: $40USD an hour right?
863: [23:23:09] <Pyromanik> sounds great
864: [23:23:18] <Pyromanik> but I don't want the stress :P
865: [23:23:22] <FrozenFire> $25/hour, actually.
866: [23:23:31] <FrozenFire> New job is going to be $40/hour
867: [23:23:44] <Pyromanik> nice
868: [23:23:50] <FrozenFire> And yeah, my current employer would only be good for someone who is knowledgeable but inexperienced.
869: [23:24:09] <FrozenFire> Someone who doesn't really have much to lose, as far as financial responsibilities go
870: [23:24:30] <FrozenFire> Which is why I'm jumping ship so quickly.
871: [23:24:48] <Colin[pi]> Sounds like the writing is on the wall FF?
872: [23:25:15] <FrozenFire> No doubt. I wouldn't actually count him out just yet, but he'll have to get creative in the coming months.
873: [23:25:31] <FrozenFire> If I were in his position, this current client would've been fired months ago, no matter the legal repercussions.
874: [23:25:37] <Colin[pi]> I've been in that situation before, not a pleasant feeling
875: [23:26:20] <FrozenFire> Indeed. If not for the money stuff, I'd've gladly stayed on indefinitely.
876: [23:27:01] <FrozenFire> My current boss/client is a good guy, with good projects, and a lot of respect for me, so I've nothing but hope for his success.
877: [23:27:12] <zippy__> Pyromanik: nelson
878: [23:29:40] <Colin[pi]> I worked at one place with about 50 staff, 45 managers, and 5 people actually doing work
879: [23:29:55] <Colin[pi]> needless to say that we could see it imploding long before it did
880: [23:30:08] <Colin[pi]> surprised it lasted as long as it did, actually
881: [23:32:59] <Pyromanik> zippy__: oh yeah, who do you work for/as?
882: [23:33:16] <zippy__> freelance
883: [23:33:48] <Pyromanik> as a developer?
884: [23:34:00] <zippy__> yes
885: [23:34:01] <Pyromanik> wait, you're not Tama are you?
886: [23:34:05] <zippy__> no
887: [23:34:25] <Pyromanik> righto.
888: [23:34:44] <Pyromanik> or Scotti?
889: [23:34:49] <zippy__> no :)
890: [23:35:03] <simon_w> zippy__, coming to the hackfest?
891: [23:35:08] <Pyromanik> yeah, he's designer.
892: [23:35:26] <Pyromanik> yeah zippy, it's just a ferry ride for you.
893: [23:35:41] <zippy__> simon_w: no I'm not, try and stay out of wellington :) thou will likely go up for the kiwi con later in the year
894: [23:35:50] <zippy__> when is it?
895: [23:35:56] <simon_w> What's wrong with Wellington? :p
896: [23:36:00] <Pyromanik> simon_w: is project _config always included last?
897: [23:36:01] <simon_w> Saturday
898: [23:36:04] <Pyromanik> simon_w: earthquakes.
899: [23:36:09] <simon_w> Pyromanik, nope
900: [23:36:12] <Colin[pi]> lol
901: [23:36:16] <simon_w> Pyromanik, New Zealand
902: [23:36:33] <Pyromanik> simon_w: New Zealand is always included last?
903: [23:36:37] <Colin[pi]> yeah earthquakes in NZ don't just happen in Welly lol
904: [23:36:42] <simon_w> Pyromanik, earthquakes
905: [23:36:44] <zippy__> Guys seen that video clip on stuff with the dudes parachute?
906: [23:36:55] <Pyromanik> nope
907: [23:38:32] <Pyromanik> weird I just got an error in the cms, admin/pages
908: [23:38:41] <Pyromanik> complaining about trim() in SiteTree
909: [23:38:43] * catcher quit (Quit: Leaving)
910: [23:38:44] <Pyromanik> but now can't replicate it
911: [23:38:52] * joelpittet quit (Remote host closed the connection)
912: [23:45:36] * MrJeremy quit (Ping timeout: 245 seconds)
913: [23:47:09] * MrJeremy has joined #silverstripe
914: [23:47:16] * simon_w quit (Ping timeout: 245 seconds)
915: [23:50:08] * simon_w has joined #silverstripe
916: [23:53:37] <Pyromanik> ERROR [User Error]: Uncaught Exception: Object->__call(): the method 'extends' does not exist on 'BannerSlide'
917: [23:53:40] <Pyromanik> what does it mean?
918: [23:53:54] <Pyromanik> class BannerSlide extends DataObject {
919: [23:53:59] <Pyromanik> :<
920: [23:54:12] <Pyromanik> oh, extend/extends
921: [23:54:13] <Pyromanik> derp
922: [23:59:05] * Liquide has joined #silverstripe
923: [23:59:17] <zippy__> :)

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