#silverstripe IRC Log

IRC log for 15 May 2013

All timestamps are in UTC.

1: [00:00:00] <willr> FrozenFire find/replace project code wide helps :)
2: [00:01:00] <FrozenFire> Meh. It's writing new code that always gets me.
3: [00:01:00] <FrozenFire> My muscle memory (and all of my code snippets) uses public visibility
4: [00:02:00] <FrozenFire> Which normally has no issue
5: [00:02:00] <FrozenFire> But when it comes to writing the Page definition for a new project, shit gets borked
6: [00:02:00] <FrozenFire> Since it has to have a private $db
7: [00:03:00] <willr> No textexpanders?
8: [00:05:00] <FrozenFire> Well, for new pages I do sspage<tab>
9: [00:05:00] * OldTom quit (Ping timeout: 256 seconds)
10: [00:06:00] * SightUnseen has joined #silverstripe
11: [00:06:00] * SightUnseen has left #silverstripe
12: [00:06:00] <FrozenFire> Which lets me populate the important stuff for a new page definition quickly
13: [00:07:00] <cjt> installed**
14: [00:07:00] <cjt> heh, half my pages start out like that ;)
15: [00:07:00] <cjt> turns out my server didn't have postfix installer... its okay the world can continue now.
16: [00:07:00] <FrozenFire> http://i.imgur.com/rtV31bo.png
17: [00:08:00] <FrozenFire> Also have other stuff like ssdo, ssconfig, ssenvironment
18: [00:08:00] <FrozenFire> ssform
19: [00:09:00] <cjt> I'm off to an training session with ss next week... hopefully learn to replace all my bad habits and code styles with something a little more 'proper'
20: [00:09:00] <FrozenFire> Don't let them tell you that putting template requirements in the controller is sensible, though.
21: [00:10:00] <FrozenFire> As much as I love SS, after having spent 6 hours this past Sunday getting a crash course on ZF2 from one of the core contributors (Evan Coury), I can say that SS utilizes so many anti-patterns. :P
22: [00:13:00] <willr> Well at least decorators aren't in corrected used anymore. Same with DataObjectSet. That bugged the compsci student in me
23: [00:13:00] <willr> used incorrectly*
24: [00:14:00] <FrozenFire> Indeed. I'd still like to see a whole bunch of stuff moved into traits to reduce the dynamic horizontal inheritance to a minimum, but meh.
25: [00:14:00] <FrozenFire> Like the model acting as controller very, very often
26: [00:14:00] <FrozenFire> Some of SS's issues are pretty deeply engrained
27: [00:15:00] <FrozenFire> 5.3 is gone in a little over a year
28: [00:15:00] <FrozenFire> Well, the lines are blurred pretty heavily both ways
29: [00:15:00] <willr> yeah but that's 5.4. We would be crazy to drop 5.3 support at least stage
30: [00:15:00] <FrozenFire> But then again, that's part of what makes SS so fast to build with
31: [00:16:00] <FrozenFire> 5.3 has had its run.
32: [00:16:00] <FrozenFire> And maintaining three minor versions like that would be a nightmare.
33: [00:16:00] <FrozenFire> The improvements in 5.4 and 5.5 more than justify killing 5.3
34: [00:16:00] <willr> PHP team gone, not real world gone.
35: [00:16:00] <FrozenFire> Meh. I don't think you could accuse the PHP team of being quick to EOL things. :P
36: [00:17:00] <FrozenFire> Since EOL means no more security updates.
37: [00:17:00] <FrozenFire> Also, PHP team gone is real-world gone, for all intents and purposes.
38: [00:17:00] <FrozenFire> I personally voted against the EOL of 5.3 so soon, but I don't disagree with the outcome.
39: [00:19:00] <willr> I'm all for ending it, but I'm at the end of the food chain. A lot of bigger hurdles before it gets to us.
40: [00:19:00] <FrozenFire> Err, wtf. My vote got removed from that RFC >.>
41: [00:20:00] <FrozenFire> But those don't really matter anyways.
42: [00:20:00] <FrozenFire> Anyways, yeah. I'm also *currently* in the position where I deal with a lot of hosts who don't even have 5.3 yet, much less 5.4
43: [00:20:00] <FrozenFire> Since they inevitably have an older 5.3 as it is.
44: [00:21:00] <willr> might dig up the 3.0 install stats, see how 5.3 is tracking
45: [00:21:00] <willr> Now the default PHP package in debian is 5.4 that should see adoption rise as new machines replace older ones
46: [00:22:00] <willr> I think the installer still pings our server with the stats.
47: [00:29:00] <simon_w> Well, there's code in there for it
48: [00:33:00] <cjt> So whats the correct location for email templates? mysite/templates/email.ss or themes/abc/templates/email/email.ss??
49: [00:33:00] <FrozenFire> $project/templates/Email/
50: [00:33:00] * UncleCheese has joined #silverstripe
51: [00:33:00] * Bollig|DesignCty has joined #silverstripe
52: [00:34:00] <cjt> sweet as
53: [00:36:00] <FrozenFire> It starts in the theme for all templates, iirc
54: [00:36:00] <FrozenFire> It'll just find a template
55: [00:36:00] <FrozenFire> Ultimately it doesn't really matter, though
56: [00:37:00] <FrozenFire> I like to keep email templates in the project, though, since they're a different sort of template.
57: [00:37:00] <FrozenFire> And then searches all of the "modules", which includes the project
58: [00:38:00] <cjt> yeah it makes sense too
59: [00:38:00] <cjt> as each project will have a dif email template
60: [00:39:00] * kerosene has joined #silverstripe
61: [00:47:00] <willr> Wouldn't be surprised if Post moderation was there, then stripped out or a half baked idea
62: [00:47:00] <UncleCheese> :)
63: [00:47:00] <UncleCheese> good thing it's running on ss.org
64: [00:47:00] <UncleCheese> yeah, i figured
65: [00:47:00] <FrozenFire> XD
66: [00:47:00] <cjt> spend two hours trying to workout why something isn't working... notice you spelt it wrong in static $db = array () :fail:
67: [00:47:00] <willr> @UncleCheese whole module is kinda weird. Was built in 2006 and only just had more things hacked onto it since.
68: [00:47:00] <willr> must to chillu's disgust
69: [00:47:00] <willr> he would be happier to see it gone
70: [00:48:00] <UncleCheese> only thing is, every other time SS reinvents the wheel, it's a great invention
71: [00:48:00] <UncleCheese> this random TagField dependency kinda threw me
72: [00:48:00] <willr> Told him that's not the SS sprit, we reinvent the wheel
73: [00:48:00] <UncleCheese> true
74: [00:48:00] <willr> UncleCheese another example of hacked onto the side. Though if you're using composer that should be sweet
75: [00:49:00] <willr> Throw enough darts at a board and you're bound to hit the bullseye sometime but usually you hit people in the face
76: [00:49:00] <UncleCheese> forums are such a black hole
77: [00:49:00] <UncleCheese> lol
78: [00:49:00] <UncleCheese> like the tempting language, or the orm
79: [00:50:00] <willr> I used too but even them are such dogs. I think simplifying and cleaning up the module would make it much more attractive.
80: [00:50:00] <UncleCheese> clients ask for them and i just point them to VBulletin or Vanilla
81: [00:50:00] <UncleCheese> but in this case it had to be baked into the site with the existing members, etc.. so here i am in a 2006 time capsule
82: [00:51:00] <UncleCheese> 2.4
83: [00:51:00] <willr> 3.0 or 2.4?
84: [00:51:00] <UncleCheese> you start out saying that, but invariably, you (and everyone else) wants more
85: [00:51:00] <UncleCheese> it's a hard thing to simplify, though… it's kind of like saying you want a simple e-commerce module
86: [00:53:00] <simon_w> Seriously, don't delete the cache folder
87: [00:53:00] <willr> Was going to say happy to help for 3.0 forums stuff but meh 2.4 :P
88: [00:53:00] <UncleCheese> meh is one word for it.. i've had a few other choice words
89: [00:53:00] <simon_w> 2.4 is so slooow
90: [00:53:00] <willr> Any questions buzz me though. I guess I do have to take most of the blame for the current state as "main tainer"
91: [00:54:00] <UncleCheese> i noticed that.. i was like, wow.. how did he get stuck with that?
92: [00:54:00] <UncleCheese> umm.. 3.0 is slow too.
93: [00:54:00] <willr> caused all sort of issues
94: [00:54:00] <willr> forum used to be worst. It didn't have a concept of a 'thread' at the start
95: [00:55:00] <UncleCheese> all kinds of JS nastiness
96: [00:55:00] <UncleCheese> true
97: [00:55:00] <UncleCheese> i'm surprised you got UDF upgraded to 3.0
98: [00:55:00] <willr> Well unlike forum, UDF is used all over the place so had incentives for that
99: [00:56:00] <UncleCheese> i just added a UDF adapter to my bootstrap_forms module
100: [00:56:00] <simon_w> Hackfest!
101: [00:56:00] <willr> Waiting for an incentive to do forums :)
102: [00:56:00] <simon_w> 3.1's flushing is almost as bad as 2.4's. 3.0 was a lot better in that regard
103: [00:57:00] <UncleCheese> my proposal for a new forum module would be a redirector page that points to stackoverflow
104: [00:57:00] <UncleCheese> well i think much like its inception, ss.org will be the incentive...
105: [00:57:00] <willr> ss.org rebuild has been on hold for the last 6 months
106: [00:57:00] <willr> and will be for the next 6 I'm picking
107: [00:58:00] <UncleCheese> like ecomm.. you're better off using a platform solution
108: [00:58:00] <UncleCheese> rightfully so
109: [00:58:00] <willr> Even if ss.org moves to something like stack overflow, I'd imagine the module will stay around even less supported.
110: [00:59:00] <willr> Would never use commerce in SS, Shopify kicks the pants off anything anyone could build
111: [00:59:00] <UncleCheese> No way. Would never blog in SS, either. :-b
112: [01:00:00] <UncleCheese> off topic.. why wasn't a JS MVC a bigger consideration for the 3.0 CMS?
113: [01:01:00] <UncleCheese> really?
114: [01:01:00] <UncleCheese> i think by comparison, SS3 is actually really slow
115: [01:01:00] <simon_w> Because none of them were good enough?
116: [01:01:00] <simon_w> Go find the thread about them in ss-dev :p
117: [01:02:00] <willr> They did consider ExtJS as a bit of joke but didn't last long
118: [01:02:00] <simon_w> Yes
119: [01:02:00] <UncleCheese> it's really unfortunate that all the ajax endpoints return HTML
120: [01:02:00] <simon_w> And then there's a new one every couple of months
121: [01:02:00] <willr> UncleCheese 3.0 CMS actually started over 2 years ago now
122: [01:02:00] <UncleCheese> was there one?
123: [01:02:00] <UncleCheese> true
124: [01:02:00] <UncleCheese> backbone was a baby back then
125: [01:03:00] <simon_w> So has drupal :p
126: [01:03:00] <UncleCheese> i'm not nuts about backbone by any means, but it seems to have won
127: [01:04:00] <UncleCheese> 2% of all websites use drupal, so that's a good market share
128: [01:04:00] <UncleCheese> hmm.. i'd like to get the numbers on that
129: [01:04:00] <simon_w> and jquery 1.4, and Rails
130: [01:04:00] <UncleCheese> query certainly has
131: [01:05:00] <UncleCheese> jQuery UI is ok, but backbone would be a stretch
132: [01:05:00] <UncleCheese> i just don't get SS's threshold for an acceptable third party library
133: [01:06:00] <UncleCheese> and somehow, Chosen JS made its way into the core
134: [01:06:00] <simon_w> You're trying to compare components with frameworks
135: [01:07:00] <UncleCheese> yeah, i suppose they are incommensurate
136: [01:07:00] <simon_w> And you have design choices
137: [01:07:00] <UncleCheese> but then you have something like jquery layout, but bootstrap/foundation are shunned
138: [01:08:00] <UncleCheese> but if what willr is saying is true, that SS reinvents the wheel by philosophy, then maybe Entwine is the JS MVC yet to be fully developed
139: [01:09:00] <simon_w> Nope, entwine isn't going to be a MVC
140: [01:10:00] <UncleCheese> "a C for your MV" as Hamish puts it
141: [01:12:00] <simon_w> And you can still use whatever you want in the frontend. Just because <flavour of the month> isn't in the CMS doesn't stop you using it elsewhere
142: [01:28:00] * priithansen quit (Quit: priithansen)
143: [01:28:00] <Pyromani1> http://www.netmagazine.com/opinions/hell-jquery
144: [01:28:00] <Pyromani1> yup.
145: [01:28:00] <Pyromani1> tl;dr : stop being bad at code and blaming the tool.
146: [01:34:00] <UncleCheese> It doesn't necessarily have to be a JS MVC, but I do wish that SS3 were more of a client side application, with the UI and data layers decoupled
147: [01:35:00] <UncleCheese> because then you could do cool things like build alternate UIs, or even a mobile app, without having to touch the server side code
148: [01:39:00] <simon_w> So, build an API already
149: [01:40:00] * SightUnseen1 has left #silverstripe
150: [01:40:00] <UncleCheese> yup, i probably will.. but the issue is that now users have to opt into a module just to expose RESTful endpoints that really should be there to begin with
151: [01:40:00] * SightUnseen1 has joined #silverstripe
152: [01:41:00] <UncleCheese> you'd have to have the user install a module that exposes JSON endpoints to give it something you can use.. otherwise you're stuck screen scraping
153: [01:41:00] <UncleCheese> it would be really difficult, for instance, to create an iOS app for SS, because the data comes in as HTML
154: [01:42:00] <UncleCheese> well ideally you build both, right? same amount of time, and a lot cleaner, don't you think?
155: [01:42:00] <simon_w> Oh no, SS spent their time building an application instead of an API. The horror!
156: [01:42:00] <simon_w> No
157: [01:43:00] <simon_w> Then you get two half-arsed products
158: [01:43:00] <tankr> I've played a bit with API endpoints for Backbone (https://github.com/frankmullenger/book-library/blob/master/mysite/code/API.php) issue for me was Restful verbs in the routes
159: [01:56:00] * robert_ has joined #silverstripe
160: [01:56:00] * robert_ quit (Changing host)
161: [01:56:00] * robert_ has joined #silverstripe
162: [02:08:00] <Pyromani1> tankr: you're here
163: [02:09:00] <tankr> yes, see you tomorrow :-)
164: [02:09:00] <Pyromani1> yeh :)
165: [02:10:00] <Pyromani1> tankr: going to hackfest?
166: [02:10:00] <tankr> mebbe, depends if I have moved at that stage or not. would like to
167: [02:13:00] <simon_w> Do it
168: [02:14:00] <simon_w> Pyromani1, ss23 and irogue and all coming!
169: [02:15:00] <tankr> sweet! yeah going to try. have some work on payment module to do so… :-)
170: [02:15:00] <ss23> :D
171: [02:26:00] <Pyromani1> (like, same network, different computers)
172: [02:26:00] <Pyromani1> ie if logged in from one location, locks out second person trying to use the same user&pass
173: [02:26:00] <Pyromani1> simon_w: any reason you could think of that would restrict the same user from logging in at two different locations?
174: [02:27:00] <Pyromani1> :<
175: [02:27:00] <simon_w> npoe
176: [02:28:00] <Pyromani1> I think it's pebcak, but user seems adamant.
177: [02:31:00] * UncleCheese quit (Quit: UncleCheese)
178: [02:31:00] * Squandered has joined #silverstripe
179: [02:32:00] * cjt quit (Ping timeout: 252 seconds)
180: [02:36:00] * Squandered quit (Ping timeout: 256 seconds)
181: [02:41:00] * joelpittet has joined #silverstripe
182: [02:43:00] * UncleCheese has joined #silverstripe
183: [02:47:00] <simon_w> Woo, a pull request for my module I can actually use
184: [02:50:00] <willr> simon_w you have modules on github?
185: [02:52:00] * simon_w quit (Ping timeout: 245 seconds)
186: [02:54:00] <simon_w> willr, my gridfield components
187: [02:54:00] * simon_w has joined #silverstripe
188: [02:55:00] <willr> crazy.
189: [02:56:00] <willr> that hurts..
190: [02:56:00] <simon_w> Very few people can actually write code that's cross-version or fixes the bug instead of the symptoms
191: [02:56:00] <Pyromani1> but it's true.
192: [02:57:00] <willr> I prefer the "Works for me" code.
193: [02:57:00] <Pyromani1> it's the cancer of web dev.
194: [02:57:00] <Pyromani1> it's extremely common to the point where it's just normal.
195: [02:57:00] <Pyromani1> haha
196: [02:57:00] <Pyromani1> snap
197: [02:57:00] <Pyromani1> the "works for me" mentality
198: [02:58:00] <Pyromani1> see so much of it going around.
199: [02:58:00] <willr> jinx 123
200: [02:58:00] <Pyromani1> see link I posted before: http://www.netmagazine.com/opinions/hell-jquery
201: [02:58:00] <Pyromani1> things like core hacks to change functionality instead of applying decorators, etc.
202: [02:58:00] <simon_w> Well, one of this things was the cache was being written multiple times, including in one particular case that cleared it. Proposed solution? Stop caching
203: [03:00:00] <Pyromani1> willr: granted I often do as is done rather than as I should do, but I know it's bad & 100% of the time no one else ever sees my code.
204: [03:00:00] * robert_ has left #silverstripe
205: [03:25:00] * tankr quit (Quit: Leaving.)
206: [03:29:00] * cloph_away has joined #silverstripe
207: [03:30:00] * Colin[pi] has joined #silverstripe
208: [03:30:00] * UncleCheese quit (Quit: UncleCheese)
209: [03:30:00] * cloph_away1 quit (Ping timeout: 260 seconds)
210: [03:35:00] <Pyromani1> can I get apache to trace a 403 for me?
211: [03:35:00] <simon_w> On what way?
212: [03:36:00] <simon_w> *In
213: [03:37:00] <Pyromani1> 403*
214: [03:37:00] <simon_w> But a search for 'deny from' will give a good starting list
215: [03:37:00] <Pyromani1> simon_w: I'm getting a 403, and I can see a why in error_log
216: [03:37:00] <Pyromani1> but I don't know where the rule is set
217: [03:37:00] <Pyromani1> I want to find which part of the config is making it decide on the 4.2
218: [03:37:00] <simon_w> Don't think so
219: [03:38:00] <Pyromani1> <sitepath>/img/cms/images/index.pl
220: [03:38:00] <Pyromani1> (tried to load site.co.nz/img/cms/images)
221: [03:38:00] <Pyromani1> Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden:
222: [03:38:00] <simon_w> Options is different from Allow
223: [03:39:00] <Pyromani1> ?
224: [03:39:00] <simon_w> AllowOverride is for letting things be changed with a .htaccess
225: [03:39:00] <Pyromani1> simon_w: can you clarify please/
226: [03:39:00] <simon_w> Options is things like directory listings, FollowSymLinks
227: [03:43:00] * Shrike_Finland has joined #silverstripe
228: [03:45:00] <Pyromani1> makes more sense, now, thanks
229: [03:45:00] <Pyromani1> oic, I missed 15:37 <@simon_w> But a search for 'deny from' will give a good starting list
230: [03:48:00] <Pyromani1> and tehre aren't anyotehr .htaccess files in the path
231: [03:48:00] <simon_w> Pyromani1, options and allow override are httpd.conf things
232: [03:48:00] <Pyromani1> simon_w: root .htacces doesn't have any Options, or allow override
233: [03:49:00] <Pyromani1> hmm
234: [03:50:00] <Pyromani1> yeh, but I'm confused as to why it's even trying to redirect in the first place.
235: [03:50:00] <Pyromani1> there is no rule
236: [03:51:00] <simon_w> What's the actual error you're getting?
237: [03:52:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/7176765
238: [03:52:00] * travis-ci has joined #silverstripe
239: [03:52:00] <travis-ci> [travis-ci] silverstripe/sapphire#2258 (3.1 - 394e2b2 : Sean Harvey): The build has errored.
240: [03:52:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/7bf790a5fa87...394e2b2f7b46
241: [03:52:00] <Pyromani1> 15:38 < Pyromani1> Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden:
242: [03:52:00] * travis-ci has left #silverstripe
243: [03:53:00] <Pyromani1> nope
244: [03:53:00] <Pyromani1> <sitepath>/img/cms/images/index.pl
245: [03:53:00] <Pyromani1> (tried to load site.co.nz/img/cms/images)
246: [03:53:00] <simon_w> Is that a symlink by any chance?
247: [03:53:00] <Pyromani1> nope
248: [03:53:00] <Pyromani1> folder
249: [03:53:00] <simon_w> or anything in that path?
250: [03:55:00] <simon_w> And index.pl? And are you sure?
251: [03:55:00] <Pyromani1> httpdocs/img/cms, all directories
252: [03:55:00] <Pyromani1> yeh, that's what the error_log says
253: [03:56:00] <simon_w> Can you turn FollowSymLinks on? (You'll get a speed boost from it too)
254: [03:57:00] <Pyromani1> speed boost?
255: [03:58:00] <Pyromani1> now I'm getting index not allowed (as expected from httpconf include)
256: [03:58:00] <Pyromani1> hmm, colleague rm'd the images dir
257: [03:58:00] <simon_w> yeah, it's a little faster since Apache doesn't have to check the path for symlinks
258: [04:00:00] <Pyromani1> hmm
259: [04:00:00] <Pyromani1> ah yeh
260: [04:00:00] <Pyromani1> looks like some kind of code issue now
261: [04:01:00] * travis-ci has left #silverstripe
262: [04:01:00] <Pyromani1> the file manager from tinymce folk is denying folder creation
263: [04:01:00] <Pyromani1> path comes up as 'undefined' in the create method
264: [04:01:00] * travis-ci has joined #silverstripe
265: [04:01:00] <travis-ci> [travis-ci] silverstripe/sapphire#2259 (3.1 - 9f532fe : Sean Harvey): The build passed.
266: [04:01:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/394e2b2f7b46...9f532fe97609
267: [04:01:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/7176831
268: [04:03:00] * joelpittet quit (Remote host closed the connection)
269: [04:17:00] * simon_w quit (Read error: Operation timed out)
270: [04:20:00] * simon_w has joined #silverstripe
271: [04:29:00] <Pyromani1> client uploaded a file with an apostrophe in the filename
272: [04:29:00] <Pyromani1> hahahahahaha
273: [04:29:00] <Pyromani1> simon_w: found the error
274: [04:29:00] <Pyromani1> ajaxfilemanager.php couldn't handle it
275: [04:30:00] <Pyromani1> was not escaped when put into the JS, cased early termination of string, ripped the rest of the script to shreds.
276: [04:33:00] <Pyromani1> php gen'd js.
277: [04:33:00] <Pyromani1> :<
278: [04:33:00] <spronk> what day is this hackfest shiz?
279: [04:35:00] <simon_w> 25th
280: [04:44:00] * tankr has joined #silverstripe
281: [04:46:00] * Shrike_Finland quit (Quit: Leaving.)
282: [04:49:00] * tankr quit (Client Quit)
283: [04:50:00] * koomi has joined #silverstripe
284: [04:50:00] * nickmolhoek has joined #silverstripe
285: [04:50:00] * nickmolhoek quit (Remote host closed the connection)
286: [04:50:00] * nickmolhoek has joined #silverstripe
287: [04:54:00] * DigNZ quit (Quit: DigNZ)
288: [05:00:00] * discorpia quit (*.net *.split)
289: [05:00:00] * spronk quit (*.net *.split)
290: [05:00:00] * Bollig|DesignCty quit (*.net *.split)
291: [05:00:00] * willr quit (*.net *.split)
292: [05:00:00] * aragonne quit (*.net *.split)
293: [05:02:00] * nickmolhoek quit (Quit: nickmolhoek)
294: [05:03:00] * Bollig|DesignCty has joined #silverstripe
295: [05:03:00] * aragonne has joined #silverstripe
296: [05:03:00] * spronk has joined #silverstripe
297: [05:03:00] * discorpia has joined #silverstripe
298: [05:03:00] * willr has joined #silverstripe
299: [05:04:00] <Pyromani1> home!
300: [05:05:00] * Pyromani1 quit (Quit: leaving)
301: [05:09:00] <simon_w> Good idea.
302: [05:17:00] * Motoservo has joined #silverstripe
303: [05:21:00] <willr> Home is overrated
304: [05:23:00] <irogue> hmmm
305: [05:23:00] <ss23> patch tuesday!
306: [05:23:00] <irogue> home
307: [05:23:00] <irogue> phone is ringing, so yep, time to go home
308: [05:25:00] * Shrike_Finland has joined #silverstripe
309: [05:41:00] * Shrike_Finland quit (Ping timeout: 248 seconds)
310: [05:49:00] * koomi has left #silverstripe
311: [05:53:00] * Shrike_Finland has joined #silverstripe
312: [06:00:00] <spronk> :P
313: [06:00:00] <spronk> oh well
314: [06:00:00] <spronk> im in welly 22nd to 24th
315: [06:00:00] <spronk> ah
316: [06:01:00] <spronk> well, welly for a couple of hours each of those dates, rotovegas inbetween. fun
317: [06:08:00] * simon_w|air has joined #silverstripe
318: [06:09:00] <simon_w|air> spronk, not good enough!
319: [06:13:00] * Colin[pi] quit (Ping timeout: 256 seconds)
320: [06:22:00] * willr quit (Quit: willr)
321: [06:23:00] * simon_w|air has joined #silverstripe
322: [06:23:00] * simon_w|air quit (Quit: Leaving)
323: [06:25:00] * chillu has joined #silverstripe
324: [06:31:00] * jon-shape has joined #silverstripe
325: [06:35:00] * jon-shape quit (Ping timeout: 252 seconds)
326: [06:39:00] * Motoservo quit (Ping timeout: 256 seconds)
327: [06:41:00] * jon-shape has joined #silverstripe
328: [06:46:00] * jon-shape quit (Ping timeout: 252 seconds)
329: [06:47:00] * osterlaus has joined #silverstripe
330: [06:49:00] <osterlaus> can anybody tell me something about the documentation of side reports for 2.4 at http://doc.silverstripe.org/framework/en/2.4/reference/site-reports ? this does not look like code for 2.4....
331: [06:51:00] * jon-shape has joined #silverstripe
332: [07:00:00] * priithansen has joined #silverstripe
333: [07:03:00] * jon-shape quit (Ping timeout: 252 seconds)
334: [07:04:00] <Bollig|DesignCty> jinx
335: [07:04:00] <Bollig|DesignCty> osterlaus: Looks like 2.4 code to me… what about it isn't working for you?
336: [07:04:00] <simon_w|air> osterlaus, looks like 2.4 code to me
337: [07:05:00] <simon_w|air> osterlaus, SS_Report subclasses (like in that) are different from SideReport (like in the docs)
338: [07:05:00] <osterlaus> fieldsToShow() does not occur once in the 2.4 code, shouldnt that be columns()
339: [07:05:00] <osterlaus> if i look at the tutorial at http://www.ssbits.com/tutorials/2011/adding-custom-filterable-reports-to-reportadmin/, i see multiple differences
340: [07:07:00] <osterlaus> aaaah, okay, now i see the difference. so a documentation about ss_report is completely missing?
341: [07:08:00] <simon_w|air> Probably
342: [07:08:00] * jon-shape has joined #silverstripe
343: [07:10:00] * gumble has joined #silverstripe
344: [07:11:00] * webguest has joined #silverstripe
345: [07:12:00] <webguest> does anyone know how to make a TreeDropDown on a newsletter? http://paste2.org/FmwMkVjA - i see it, but when i click it, i get an error and the sitetree wont load http://paste2.org/9LzMYLb3
346: [07:12:00] * jon-shape quit (Ping timeout: 252 seconds)
347: [07:14:00] * Shrike_Finland quit (Quit: Leaving.)
348: [07:15:00] * jon-shape has joined #silverstripe
349: [07:20:00] * jon-shape quit (Ping timeout: 252 seconds)
350: [07:21:00] * zfmf1 has joined #silverstripe
351: [07:23:00] * Nightjar has joined #silverstripe
352: [07:23:00] * jon-shape has joined #silverstripe
353: [07:23:00] * Shrike_Finland has joined #silverstripe
354: [07:24:00] * Nightjar has left #silverstripe
355: [07:25:00] * Nightjar has joined #silverstripe
356: [07:27:00] * jon-shape quit (Ping timeout: 252 seconds)
357: [07:28:00] * SticksM quit (Read error: Connection reset by peer)
358: [07:28:00] * jon-shape has joined #silverstripe
359: [07:33:00] * jon-shape quit (Ping timeout: 252 seconds)
360: [07:37:00] * ARNHOE has joined #silverstripe
361: [07:38:00] <webguest> does anyone know how to make a TreeDropDown on a newsletter? http://paste2.org/FmwMkVjA - i see it, but when i click it, i get an error and the sitetree wont load http://paste2.org/9LzMYLb3
362: [07:52:00] <Extro> you cannot scroll down
363: [07:52:00] <Extro> hey guys
364: [07:52:00] * Extro has joined #silverstripe
365: [07:52:00] <Extro> there's a problem with the WYSIWYG on iPad
366: [07:53:00] <simon_w|air> Extro, use two fingers
367: [07:58:00] <webguest> http://paste2.org/9LzMYLb3
368: [07:58:00] <Extro> oh does that work ?
369: [07:58:00] <webguest> @simon_w|air, do you know why my treedropdown wont work?
370: [07:59:00] <simon_w|air> Extro, yes. Standard way of scrolling a frame
371: [08:02:00] <Extro> alright
372: [08:02:00] <simon_w|air> webguest, what version of the newsletter module are you running?
373: [08:04:00] * kinglozzer has joined #silverstripe
374: [08:04:00] <webguest> branch 0.5
375: [08:04:00] <webguest> from github
376: [08:04:00] <webguest> on SS 2.4.10
377: [08:07:00] <Nightjar> if you have DOM installed use SimpleTreeDropdownField
378: [08:08:00] <Nightjar> good times.
379: [08:08:00] <Nightjar> wd
380: [08:08:00] <webguest> thx
381: [08:08:00] <webguest> so reinstalled 0.5
382: [08:08:00] <webguest> wasnt sure
383: [08:08:00] <webguest> @simon_w|air i didnt ran 0.5, just upgraded and now it works
384: [08:09:00] <simon_w|air> Yeah, looks like older versions weren't falling back to the session for the current page/email ID
385: [08:15:00] * willmorgan has joined #silverstripe
386: [08:26:00] <discorpia> i'm using the languageprefix module at https://github.com/Martimiz/silverstripe-languageprefix
387: [08:26:00] <discorpia> when switching from other than my default locale the templates are lost, any idea what that could depend on?
388: [08:27:00] <webguest> @simon_w|air: may i also ask if you know how to get my vars into the template, can i use them instantly or do i need to populate something? when i use <% control LinkedPage1 %>$title <% end_control %> i dont see the title in the sent email template (i did flush all before test)
389: [08:28:00] <Bollig|DesignCty> capital T?
390: [08:28:00] <webguest> so something should have shown up
391: [08:28:00] <webguest> no :P i have actually alot of things inside the control
392: [08:29:00] <simon_w|air> LinkedPage1?
393: [08:30:00] <webguest> http://paste2.org/vtUyV2Kh
394: [08:30:00] <webguest> http://paste2.org/KAAmFDH3
395: [08:30:00] <Bollig|DesignCty> webguest: perhaps you can pastie.org your template and class files?
396: [08:32:00] <simon_w|air> <% control Newsletter.LinkedPage1 %>
397: [08:34:00] <webguest> works, thx!
398: [08:37:00] <discorpia> if the framework goes straight to the Controller.ss template, what could that stem from? the themes directory is there and everything
399: [08:39:00] <simon_w|air> no other template for it to load
400: [08:40:00] * r3v3rb has joined #silverstripe
401: [08:41:00] <r3v3rb> erm, is 3.1b3 broken at the moment - just installed and get:: Access level to ErrorPage::$db must be public (as in class Page) in /Users/Sites/cms/code/model/ErrorPage.php on line 310
402: [08:41:00] <discorpia> where is that logic placed? i can see it try to load the pagetype template from the Layout folder of the module where the pagetype resides, but then moves on to Controller.ss instead of the regular theme
403: [08:42:00] <simon_w|air> r3v3rb, reading the change log
404: [08:42:00] * ARNHOE quit (Remote host closed the connection)
405: [08:42:00] <discorpia> this only happens on pages with non default locale, not sure if it's translatable that causes it, or something else, but would like to debug it/add some debug::dump() statements to see why it fails to find the theme
406: [08:42:00] <simon_w|air> discorpia, ?debug=1
407: [08:43:00] <r3v3rb> all private subclasses now
408: [08:43:00] <discorpia> oh, how can i have missed that? :O i've only used showqueries and showtemplate, thanks i'll have a look
409: [08:43:00] <r3v3rb> got it
410: [08:44:00] <r3v3rb> fixed
411: [08:45:00] <r3v3rb> interesting change… any idea why that has been introduced
412: [08:46:00] * rohitbanerjee has joined #silverstripe
413: [08:47:00] <rohitbanerjee> hello everyone
414: [08:47:00] <webguest> @simon_w|air all works now, but since the upgrade to 0.5 the newsletter concept won't save all the time, the save loader keeps spinning, but doesnt save. the console says " Refused to set unsafe header "Connection" " - any idea's ?
415: [08:47:00] <webguest> other times it will save
416: [08:47:00] <r3v3rb> translatable is broken though. Site was setup as 'en_GB' before module was added
417: [08:47:00] <r3v3rb> now all pages are by default 'en_US'
418: [08:51:00] <discorpia> r3v3rb: did you check the docs? it's very important to use the ::set_default_locale() before your first flush after adding it if you're not using en_US
419: [08:52:00] <r3v3rb> discorpia: did that
420: [08:55:00] <kinglozzer> Damn I hate my mac's DVD drive... I get nervous every time I put something in there, it seems to be so lazy at detecting when I'm inserting a disk
421: [08:56:00] <r3v3rb> kinglozzer: i know that feeling, sounds like a jet plane taking off when spinning up too on my MBP
422: [08:56:00] <r3v3rb> it makes the whole table vibrates
423: [08:57:00] <r3v3rb> :(
424: [08:57:00] <kinglozzer> Haha yeah. I know that one day I'm gonna push something in there and it's gonna get stuck, I just know it
425: [08:57:00] <r3v3rb> easy enough to rip your MBP apart though tbh
426: [08:57:00] <r3v3rb> just not what you want to be doing
427: [08:58:00] <r3v3rb> discorpia: re-downloaded client database and second attempt translatable has picked up the default locale
428: [08:59:00] <discorpia> ah
429: [08:59:00] <r3v3rb> strange though
430: [09:00:00] <r3v3rb> no difference in config.php between attempts
431: [09:00:00] <r3v3rb> nm, its working thats all thats important for now
432: [09:00:00] <r3v3rb> just need to test the batch translation script now in 3.1
433: [09:00:00] <r3v3rb> as its still missing :\
434: [09:01:00] <rohitbanerjee> to everyone, does anyone know why TinyMCE editor in SS 3.0.3 doesnt load???
435: [09:01:00] <rohitbanerjee> for the Content block
436: [09:02:00] <r3v3rb> rohitbanerjee: not seen that before, what browser?
437: [09:02:00] <rohitbanerjee> on all browsers
438: [09:02:00] <discorpia> i'm getting really frustrated, i get no clues what so ever to what makes it lose the templates. the results from ModelAsController::for_controller() are identical for both locales, but the secondary locale simply acts as if the page type controller didn't have a template in the theme directory, or it behaves as if the page type has no parent class
439: [09:03:00] <r3v3rb> discorpia: is this a site without CMS ?
440: [09:03:00] <discorpia> but the themes dir contains a Page.ss so it should fallback to that one rather than Controller.ss anyway
441: [09:04:00] <r3v3rb> oh :P
442: [09:04:00] <r3v3rb> i'll dig out the code i as using in a minute if that helps
443: [09:04:00] <r3v3rb> was*
444: [09:04:00] <r3v3rb> I had a similar issue for a controller/framework only site but fixed it somehow
445: [09:04:00] <discorpia> regular cms+framework (3.1) and translatable module
446: [09:04:00] <discorpia> nope
447: [09:05:00] <discorpia> that would be nice. i've exhausted all my options
448: [09:06:00] <r3v3rb> one minute just bopping to 'Gloria' on Radio 2!!! lmao
449: [09:10:00] <discorpia> :D no worries
450: [09:12:00] <discorpia> i need to get myself a coffee and cool off a bit i think :D i just wish there were more debugging statements for themes in general (and have wished for since 2.x), because it's usually not a complicated cause but the lack of feedback often have running in circles
451: [09:13:00] <r3v3rb> discorpia: i'm guessing the function that provides the renderWith is public ? I seem to remember something along those lines
452: [09:14:00] <r3v3rb> I went round in circles with renderWith issues
453: [09:14:00] <r3v3rb> and all those functions are listed in $allowed_actions?
454: [09:14:00] <r3v3rb> too
455: [09:15:00] * rohitbanerjee quit (Ping timeout: 250 seconds)
456: [09:20:00] * Colin[pi] has joined #silverstripe
457: [09:22:00] <discorpia> r3v3rb: yeah i actually cloned the dir and started removing page types to try to isolate it, but a realize a colleague was working on it this weekend so i just sent him a text asking if he did anything with templates or site settings
458: [09:23:00] <r3v3rb> eek! could be fun
459: [09:24:00] <discorpia> yeah the thought didn't even hit me until just now when i saw some tabs instead of spaces in a file :P
460: [09:24:00] <discorpia> i have a feeling that whatever it turns out to be i will be deeply embarassed
461: [09:25:00] * Nightjar quit (Ping timeout: 256 seconds)
462: [09:31:00] <zippy_> hello
463: [09:31:00] * zippy_ has joined #silverstripe
464: [09:31:00] <r3v3rb> :P
465: [09:31:00] <r3v3rb> for example how can I setup a form with translated labels in a frontend page when using translatable
466: [09:31:00] <r3v3rb> lol, its usually embarassing for me
467: [09:32:00] <r3v3rb> guessing this is the page I need: http://doc.silverstripe.org/framework/en/topics/i18n
468: [09:34:00] <zippy_> will beta3 be the final for 3.1?
469: [09:35:00] <r3v3rb> zippy_: only smarties have the answer ;)
470: [09:36:00] <simon_w|air> Well, it should be the final beta, but it won't be the final pre-release
471: [09:36:00] * gelignite has joined #silverstripe
472: [09:36:00] <simon_w|air> zippy_, no
473: [09:37:00] <zippy_> yeap, there shouldn't be a beta 4, but there will be changes between beta3 and final
474: [09:37:00] <zippy_> ^final^final release^
475: [09:38:00] * Extro is now known as thejhnz
476: [09:39:00] <zippy_> I find the YAML configs and odd move
477: [09:40:00] <zippy_> php is still needed to parse the YAML...
478: [09:40:00] <simon_w|air> It allows caching
479: [09:40:00] <zippy_> which couldn't be done with php?
480: [09:40:00] <r3v3rb> simon_w|air: do you know how I can go about translating the field labels in a contact form for a site in en_GB and it_IT ?
481: [09:41:00] * ARNHOE has joined #silverstripe
482: [09:41:00] <simon_w|air> zippy_, no, and only at the start (which is why it can be cached)
483: [09:41:00] <simon_w|air> r3v3rb, _t('MyForm.FIELDNAME', 'Label')
484: [09:41:00] <r3v3rb> becuase the form template holders don't appear to have any <%t components
485: [09:42:00] <r3v3rb> simon_w|air: so I just throw that into the controller?
486: [09:42:00] <r3v3rb> and then create a translation file?
487: [09:42:00] <simon_w|air> yes
488: [09:43:00] <simon_w|air> zippy_, the PHP configure is inherently dynamic. The static stuff has been moved to YAML, which is then parsed and cached
489: [09:43:00] <r3v3rb> so I would just create a lang folder in code to store the yml translations?
490: [09:43:00] <simon_w|air> r3v3rb, well, in $project/
491: [09:44:00] <r3v3rb> simon_w|air: yes, my mistake
492: [09:44:00] <r3v3rb> i meant project ;)
493: [09:44:00] <zippy_> I guess I would have to look through the code to understand it better. It's written in YAML, then it gets passed by PHP, and written to cache (cached as YAML?)
494: [09:45:00] * osterlaus quit (Quit: Leaving.)
495: [09:45:00] <simon_w|air> cached as a massive array
496: [09:46:00] <simon_w|air> r3v3rb, new TextField('Name', _t('MyForm.NAME', 'My label'))
497: [09:46:00] * Kolin quit (Quit: leaving)
498: [09:46:00] <r3v3rb> simon_w|air: sorry one more question, should I put the _t in the form function or in init?
499: [09:46:00] * Kolin has joined #silverstripe
500: [09:46:00] <zippy_> php array?
501: [09:46:00] <r3v3rb> doh, of course simon_w|air
502: [09:47:00] <simon_w|air> zippy_, yes
503: [09:47:00] <simon_w|air> Well, a serialised one
504: [09:50:00] <simon_w|air> zippy_, make a silverstripe-cache folder, flush, then look in silverstripe-cache/<username>/cache at the zend_cache---SS_Configurationyaml_config_<hash> file. That's how the YAML config is cached.
505: [09:52:00] <zippy_> simon_w|air: Just thinking about it, I guess the YAML was done as a way to easily read the config out of a file. Otherwise you have to include the php file, and try and handle that - which could get messey
506: [09:53:00] <simon_w|air> zippy_, the YAML was done to make it cache-able and to make the configuration a lot more static (which means a lot more can be cached). You can still use _config.php if you don't want the benefits of the cache
507: [09:54:00] <r3v3rb> for each defined field type in the form?
508: [09:54:00] <r3v3rb> simon_w|air: this sufficient for the yaml? http://sspaste.com/paste/show/51935b56ae9cb
509: [09:55:00] <r3v3rb> do i need to tell it what controller its from? ie ContactPage:
510: [09:56:00] <r3v3rb> ok
511: [09:56:00] <simon_w|air> r3v3rb, Blah.BLAH turns into lang: Blah: BLAH: 'Value'
512: [09:56:00] <simon_w|air> and no comma
513: [09:57:00] <r3v3rb> so new TextField(_t('ContactForm.Name', 'Name')),
514: [09:57:00] <r3v3rb> turns into ContactForm: Name: '%s Nome' in italian for example
515: [09:58:00] <simon_w|air> yes
516: [09:58:00] * Motoservo has joined #silverstripe
517: [09:59:00] <r3v3rb> hmm, dev/build?flush=all and still get english in italian page
518: [10:00:00] <r3v3rb> weird
519: [10:01:00] <zippy_> simon_w|air: thanks :) maybe I am just getting old and don't like new fandangle changes
520: [10:02:00] <r3v3rb> simon_w|air: latest ContactForm and what I have in $project/lang/it.yml http://sspaste.com/paste/show/51935d140fbe0
521: [10:06:00] <simon_w|air> zippy_, custom update script
522: [10:06:00] <zippy_> in the past I have used rsync, but it's good to deploy from svn/git
523: [10:06:00] <zippy_> na
524: [10:06:00] <zippy_> ;)
525: [10:06:00] <r3v3rb> zippy_: manual labour
526: [10:06:00] <zippy_> What do you guys use for pushing your site live? At my job they use http://beanstalkapp.com/ which handles deployments, but they don't have a free plan.
527: [10:06:00] <zippy_> but don't really want to install svn/git on the server
528: [10:07:00] <simon_w|air> svn, dev/build, cache cleaning, sass
529: [10:07:00] * ARNHOE quit (Remote host closed the connection)
530: [10:07:00] * webguest quit (*.net *.split)
531: [10:07:00] <simon_w|air> r3v3rb, shouldn't matter
532: [10:07:00] * webguest has joined #silverstripe
533: [10:07:00] <zippy_> simon_w|air: which is just a wrapper around rsync or something?
534: [10:07:00] <r3v3rb> simon_w|air: shoudl ContactForm actually be ContactPage the class ?
535: [10:08:00] <r3v3rb> hmm, and no other changes to config.php bar default locale being setup
536: [10:09:00] <r3v3rb> best I add the <%t to the formfield templates then?
537: [10:10:00] <simon_w|air> r3v3rb, I'd try ?flush=1 first
538: [10:10:00] * ARNHOE has joined #silverstripe
539: [10:11:00] <r3v3rb> simon_w|air: makes no difference. should the formfield be in caps as per the example in i18n docs?
540: [10:12:00] <r3v3rb> but then when I look at the formfield_holder templates there are no <%t or _t elements to them, do they get handled by the form controller
541: [10:14:00] <simon_w|air> r3v3rb, are you getting other italian strings showing up?
542: [10:15:00] <simon_w|air> Yeah, this uses i18n, not translatable
543: [10:15:00] <r3v3rb> hmm
544: [10:15:00] <r3v3rb> html lang="it_IT" shows up
545: [10:15:00] <r3v3rb> yes the translated text from translatable is fine
546: [10:16:00] <simon_w|air> in your Page_Controller::init(): i18n::set_locale($this->Locale);
547: [10:16:00] <r3v3rb> I don't have any other i18n text that I am trying to translate though
548: [10:18:00] <kinglozzer> I want to save a CSV file to 'assets/csv/myfile.csv' - easiest way to do it? Standard PHP or is there an SS way?
549: [10:19:00] <r3v3rb> simon_w|air:
550: [10:19:00] <simon_w|air> May need to construct the File object yourself, if you care about that
551: [10:19:00] <r3v3rb> ;) better now I just need to change the text on the submit button :D
552: [10:19:00] <r3v3rb> thanks for your patience again :D
553: [10:19:00] <simon_w|air> kinglozzer, assuming you've already got the file, file_put_contents(ASSETS_PATH . '/csv/myfile.csv', $data);
554: [10:21:00] <r3v3rb> fixed the submit button :D yay for me!
555: [10:22:00] <simon_w|air> r3v3rb, oh, you'd want to be using new TextField('Name', _t('ContactForm.Name')) so you don't translate the name of the field, just the label
556: [10:22:00] <zippy_> Is the _ss_enviroment file still around / still get used in the 3.x series?
557: [10:22:00] <kinglozzer> simon_w|air: I'm going to have a ModelAdmin section to display the contents of that folder, so presumably File is the better way to go?
558: [10:23:00] <simon_w|air> kinglozzer, well, File doesn't write the contents out for you. When creating it, set the ParentID and Name
559: [10:23:00] <r3v3rb> simon_w|air: yes, just found that out when the controller spat out on submission :)
560: [10:23:00] <zippy_> the website says yes, but it didn't seem to be overriding the mysite/_config
561: [10:23:00] <kinglozzer> zippy_: Yes but I think it's included before _config.php
562: [10:23:00] <zippy_> gotcha
563: [10:25:00] <kinglozzer> simon_w|air: So $file = new File; $file->setParentID($csvfolderid)->setName('filename.csv')->write(); ?
564: [10:25:00] * Nightjar has joined #silverstripe
565: [10:25:00] <simon_w|air> zippy_, _ss_environment is usually only used for configuring the database. If that's not happening, you need to require_once 'conf/ConfigureFromEnv.php'; (same with setting the environment type) and not set it in your _config.php
566: [10:25:00] <jcwacky> Think my first SS "web app" is almost ready for launch, but one issue: When just using the Framework, with a Controller subclass, how do I get /Security/lostpassword etc to use the CSS & JS requirements from my custom Controller's init?
567: [10:26:00] <jcwacky> simon_w: :( That really the best way? No way to specify a main root init for example?
568: [10:26:00] <simon_w|air> jcwacky, Security.ss with <% require %> calls
569: [10:26:00] <simon_w|air> kinglozzer, yup
570: [10:26:00] <r3v3rb> wooot! okay I use jQuery validate for the form error message - now thats a fun one for translation!
571: [10:26:00] <Nightjar> ha translation in js
572: [10:26:00] <Nightjar> f that
573: [10:27:00] <Nightjar> I don't even know where to start.
574: [10:27:00] <Nightjar> r3v3rb: just dump out a translation map object from ss by current locale?
575: [10:27:00] <simon_w|air> jcwacky, make a SiteTree and Page_Controller object?
576: [10:28:00] <jcwacky> simon_w: Ok, I'll have a play with that, cheers!
577: [10:28:00] <simon_w|air> Add an Extension to Security with a onBeforeInit() method
578: [10:30:00] <simon_w|air> r3v3rb, have a look at framework/javascript/lang/it.js does it, then use ss.i18n._t('Namespace.Field', 'Default')
579: [10:30:00] <simon_w|air> (you need to require framework/javascript/i18n.js before requiring your translations)
580: [10:31:00] <kinglozzer> simon_w|air: Do I then use file_put_contents() to actually write the data to the file?
581: [10:31:00] <kinglozzer> Cool thanks
582: [10:31:00] <simon_w|air> kinglozzer, yup
583: [10:31:00] <r3v3rb> ok, thanks
584: [10:34:00] <jcwacky> simon_w: Great idea! Seems to be working great!
585: [10:35:00] <simon_w|air> jcwacky, if you want to remove duplication, stick the Extension on Controller instead
586: [10:35:00] * ARNHOE quit (Remote host closed the connection)
587: [10:36:00] <jcwacky> ah, nice one!
588: [10:38:00] <r3v3rb> simon_w|air: was easier than messing in js files - the validation is in the controller init so I just attacked the _t in that requirements script ;) works perfectly
589: [10:38:00] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
590: [10:49:00] <jcwacky> simon_w: Any way to move my form functions (i.e. Registration form) into the Extension? I'm getting "Fatal error: Call to undefined method RootControllerExtension::hasMethod() in framework/forms/Form.php on line 876" when I try.
591: [10:52:00] <Nightjar> jcwacky: your form needs to submit to the controller it's extension is applied to, not to the extension itself
592: [10:52:00] <Nightjar> err, the action that is
593: [10:52:00] <simon_w|air> jcwacky, new Form($this->owner, ...
594: [10:53:00] <Nightjar> ^
595: [10:57:00] <r3v3rb> ^^ simon_w|air , Nightjar $this-owner or just $this ?
596: [10:57:00] <r3v3rb> I get away with $this ...
597: [10:58:00] <Nightjar> r3v3rb: are you creating the form in an extension?
598: [10:58:00] <r3v3rb> ahhh, no just a class sorry
599: [10:58:00] <r3v3rb> my bad
600: [10:58:00] <Nightjar> ;)
601: [10:59:00] <Nightjar> an extension isn't a controller
602: [10:59:00] <jcwacky> simon_w: ah, sorry, was that all it was, cheers! working a treat.
603: [10:59:00] <Nightjar> Form::__construct($controller, $function, $fields, $actions, $validator)
604: [11:12:00] <guci0> Hi there!
605: [11:12:00] * guci0 has joined #silverstripe
606: [11:15:00] * Colin[pi] quit (Ping timeout: 276 seconds)
607: [11:16:00] <jcwacky> simon_w: Gah, adding the extension direct to Controller breaks the backend :( I'll just selectively add the extension.
608: [11:21:00] <Nightjar> jcwacky: that'd apply the form to EVERY controller
609: [11:21:00] * simon_w|air quit (Quit: This computer has gone to sleep)
610: [11:22:00] <Nightjar> if you want it on all pages, apply it to ContentController
611: [11:22:00] <jcwacky> yeh, it's not so much the form, it's the Requirements.
612: [11:22:00] <Nightjar> javascript? Probably have a conflict somewhere, or you're shuffling the requirements out of order
613: [11:23:00] <Nightjar> (ie trying to load plugins before the parent library)
614: [11:23:00] <jcwacky> ah, I'll try that
615: [11:34:00] * UncleCheese has joined #silverstripe
616: [11:36:00] * webguest quit (Ping timeout: 250 seconds)
617: [11:42:00] <jcwacky> Ah, ContentController won't work, as it need to apply to Security. I'll just specify each one.
618: [11:45:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/7183572
619: [11:45:00] * travis-ci has joined #silverstripe
620: [11:45:00] * travis-ci has left #silverstripe
621: [11:45:00] <travis-ci> [travis-ci] silverstripe/sapphire#2261 (3.0 - b401d39 : Sam Minnee): The build has errored.
622: [11:45:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/9a6a6ec75de6...b401d39aec8d
623: [11:46:00] <r3v3rb> quick question, is it possible to loop through the allowed_locales in a template?
624: [11:51:00] <ec8or_> yeah should be fine to get and pass to the template yourself
625: [11:51:00] <Nightjar> dunno, probably not. It will be if you generate an arraylist with them though in a controller action
626: [12:08:00] * UndefinedOffset has joined #silverstripe
627: [12:19:00] * osterlaus has joined #silverstripe
628: [12:22:00] * Zauberfisch has joined #silverstripe
629: [12:25:00] * Nightjar has left #silverstripe
630: [12:33:00] * osterlaus quit (Quit: Leaving.)
631: [12:34:00] <folibis> hi all!
632: [12:34:00] * folibis has joined #silverstripe
633: [12:36:00] <folibis> what is right base class for custom report in SS3 - SideReport or SS_Report?
634: [12:37:00] * FireMe has joined #silverstripe
635: [12:38:00] * thejhnz quit ()
636: [12:39:00] <FireMe> Hi all, how would i create a template for a dynamic url of for my event page type when the url is "new-event/#7/book"
637: [12:43:00] * folibis_ has joined #silverstripe
638: [12:44:00] * folibis quit (Ping timeout: 250 seconds)
639: [12:49:00] <ec8or_> FireMe: it should probably be /new-event/book/7 and then you can have a template for books called something like EventPage_book.ss
640: [12:50:00] <FireMe> oh of course that makes sense thanks, i will edit the url abit
641: [12:56:00] * folibis_ quit (Quit: Page closed)
642: [12:57:00] <travis-ci> [travis-ci] silverstripe/sapphire#2261 (3.0 - b401d39 : Sam Minnee): The build has errored.
643: [12:57:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/9a6a6ec75de6...b401d39aec8d
644: [12:57:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/7183572
645: [12:57:00] * travis-ci has joined #silverstripe
646: [12:57:00] * travis-ci has left #silverstripe
647: [13:07:00] * zippy_ quit (Quit: zippy_)
648: [13:08:00] * UndefinedOffset quit (Disconnected by services)
649: [13:08:00] * UndefinedOffset1 has joined #silverstripe
650: [13:11:00] * UndefinedOffset1 is now known as UndefinedOffset
651: [13:15:00] * UncleCheese quit (Quit: UncleCheese)
652: [13:35:00] <FireMe> now*
653: [13:35:00] <FireMe> ok my url is know going to /book/#1 instead of events/new-event/book/#1 how would i include events/new-event in url?
654: [13:43:00] * r3v3rb quit (Quit: r3v3rb)
655: [13:48:00] * Shrike_Finland quit (Quit: Leaving.)
656: [14:04:00] * sewid has joined #silverstripe
657: [14:24:00] * Shrike_Finland has joined #silverstripe
658: [14:54:00] * r3v3rb has joined #silverstripe
659: [14:56:00] * r3v3rb has left #silverstripe
660: [15:25:00] * sewid quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
661: [15:26:00] * sewid has joined #silverstripe
662: [15:30:00] <willmorgan> FireMe: did you figure out in the end?
663: [15:30:00] <FireMe> will do
664: [15:30:00] <willmorgan> look up Controller::join_links
665: [15:30:00] <FireMe> no
666: [15:30:00] * irogue quit ()
667: [15:31:00] <willmorgan> that basically joins two paths together to form another link
668: [15:31:00] <willmorgan> i don't know too much about your architecture though
669: [15:31:00] <willmorgan> so i might be wrong
670: [15:32:00] <FireMe> ok
671: [15:38:00] * UncleCheese has joined #silverstripe
672: [15:42:00] <FireMe> ok i have an Event page type, that has many timeslots, i want the url new-event/book/1 etc 2 3 4 5 but i cannot seem to control anything on the Event_book.ss?
673: [15:43:00] <FireMe> or i can but it just list all ids
674: [15:45:00] <ss23> It annoys me that even when I'm in test mode, I can still get cryptic crap like "Sorry, there was a problem with handling your request."
675: [15:46:00] <ss23> wait, user error, my bad
676: [15:52:00] * catcher has joined #silverstripe
677: [15:57:00] * Zauberfisch quit (Ping timeout: 276 seconds)
678: [15:59:00] * g4b0 quit (Quit: Sto andando via)
679: [16:00:00] <willmorgan> 'event/$ID/book' => 'book'
680: [16:00:00] <willmorgan> FireMe: you most likely want event/7/book
681: [16:00:00] <willmorgan> just reading up
682: [16:00:00] <willmorgan> then you can set up a URL handler
683: [16:02:00] <FireMe> not sure
684: [16:02:00] <willmorgan> well you will need to make sure you have the event $ID loaded
685: [16:03:00] <willmorgan> i.e. DataObject::get_by_id('Event', $ID);
686: [16:09:00] * guci0 quit (Remote host closed the connection)
687: [16:09:00] * kinglozzer quit (Remote host closed the connection)
688: [16:10:00] * ivoba has joined #silverstripe
689: [16:11:00] <FireMe> do you mean TimeSlotID?
690: [16:12:00] * rkupper has joined #silverstripe
691: [16:30:00] * sewid quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
692: [16:31:00] <willmorgan> no....
693: [16:34:00] * gelignite quit (Quit: http://bit.ly/nkczDT)
694: [16:35:00] * gumble quit (Ping timeout: 264 seconds)
695: [16:39:00] <FireMe> ok i am so confused.. I have a pagetype called "Event" its got a Has Many "TimeSlots" and i am trying to create a page link, new-event/book/$TimeSlotID how would i go about it?
696: [16:40:00] <FireMe> TimeSlot is a dataobject
697: [16:45:00] * elgrodo has joined #silverstripe
698: [16:48:00] * UncleCheese quit (Quit: UncleCheese)
699: [16:49:00] <catcher> FireMe, what is book?
700: [16:50:00] <FireMe> to book the event, so the template is Event_book.ss
701: [16:53:00] <FireMe> i can type event/book/1 in and it loads my event_book.ss template but i cant figure how to control just that id, i can do <% loop TimeSlots %> $SlotName etc but is displays for all id and not the one its on book/1 if you know what i mean?
702: [16:56:00] <catcher> FireMe, the Event controller should have a book action that checks the URL params. Then you can grab the appropriate timeslot & pass that to the template with Customise.
703: [16:58:00] <catcher> FireMe, it'll also help to have a good grasp on MVC in general.
704: [16:58:00] <FireMe> could you post and example on how to do this, see im real new to php and not sure.
705: [16:58:00] <catcher> If you haven't read this, it may be helpful to you: http://www.ssbits.com/tutorials/2010/dataobjects-as-pages-part-1-keeping-it-simple/
706: [16:59:00] * Plopinoux has joined #silverstripe
707: [16:59:00] <Plopinoux> hi guys
708: [17:00:00] * Colin[pi] has joined #silverstripe
709: [17:00:00] <Plopinoux> I have a little question for you
710: [17:01:00] <Plopinoux> and i wanna execute this code
711: [17:01:00] <Plopinoux> I have a $var containing that : _t('formTec29.ACCEPTQUEST','Acceptation du questionnaire');
712: [17:01:00] * zfmf1 has left #silverstripe
713: [17:02:00] <Plopinoux> i tried with eval(); and $var(); but without success
714: [17:04:00] <Plopinoux> Anyone has and idea ? for the context I fill this $var with a title field in a JSon array from Database
715: [17:05:00] <ec8or_> do i need to place email templates anywhere special in ss3?
716: [17:05:00] * jrthomer quit (Remote host closed the connection)
717: [17:06:00] <willmorgan> ec8or_: helps to put them under /themes/<yourtheme>/templates/email
718: [17:06:00] <ec8or_> yeah that's where i've got them
719: [17:06:00] <ec8or_> still get an error after running flush=all
720: [17:06:00] <willmorgan> that's the 'standard' place
721: [17:07:00] <ec8or_> ERROR [User Warning]: None of these templates can be found in theme '': ApplicationRejectedEmail.ss
722: [17:07:00] <willmorgan> you don't have a theme
723: [17:07:00] <willmorgan> what is your setTemplate function doing?
724: [17:07:00] <ec8or_> seems like the theme gets unset
725: [17:07:00] <willmorgan> what is the error?
726: [17:07:00] <willmorgan> (you have about 5 minutes before i leave)
727: [17:07:00] <ec8or_> aha
728: [17:07:00] <willmorgan> oh
729: [17:08:00] <ec8or_> well it works when browsing the site
730: [17:08:00] <ec8or_> weird
731: [17:08:00] <willmorgan> that's not fun
732: [17:08:00] <ec8or_> SSViewer::set_theme('mimotv');
733: [17:08:00] <ec8or_> it is there in _config.php
734: [17:08:00] <willmorgan> is your _config being parsed differently? weird
735: [17:08:00] <FrozenFire> How do you guys handle browser-conditional loads of things like html5shiv?
736: [17:08:00] <catcher> ec8or_, set themedir in _config.php, or select in CMS
737: [17:09:00] <catcher> ec8or_, I seem to recall a corner or two that still relies on the CMS setting.
738: [17:09:00] <ec8or_> gonna set it through the cms as well
739: [17:09:00] <ec8or_> this might have happened when i upgraded to 3.0.5 actually
740: [17:10:00] <ec8or_> no using tmp
741: [17:10:00] <catcher> ec8or_, first, try throwing your email template in templates/Includes/
742: [17:10:00] <ec8or_> if i set the theme right before sending the email it works
743: [17:10:00] <catcher> ec8or_, do you have your own silverstripe-cache dir?
744: [17:10:00] <ec8or_> hmm still the same
745: [17:11:00] <catcher> ah, that's weird
746: [17:11:00] <ec8or_> hold on, must be something on the model that unsets it
747: [17:13:00] <ec8or_> well nm, works now :)
748: [17:13:00] <ec8or_> hmm no
749: [17:14:00] <catcher> ec8or_, moving the template? Or it just started working as-is?
750: [17:15:00] <ec8or_> so shouldn't be anything strange going on
751: [17:15:00] <catcher> well, okay :)
752: [17:15:00] <ec8or_> but this is fine
753: [17:15:00] <ec8or_> on a Dataobject
754: [17:15:00] <ec8or_> it is called in onAfterWrite()
755: [17:15:00] <ec8or_> as-is if i include SSViewer::set_theme(); in the method
756: [17:18:00] <FireMe> @catcher thanks alot for that tutorial helped alot and got it working
757: [17:19:00] <catcher> was RestfulServer removed from core in 3.0.5?
758: [17:19:00] <catcher> FireMe, cool, np
759: [17:20:00] * ivoba quit (Quit: Leaving)
760: [17:20:00] <catcher> sure was
761: [17:22:00] <FrozenFire> Blargh. Need to set the placeholder attribute on the MemberLoginForm
762: [17:22:00] <FrozenFire> But no extension point to grab it :(
763: [17:22:00] * willmorgan quit (Ping timeout: 276 seconds)
764: [17:26:00] <FrozenFire> Aha. Found my trick. :P
765: [17:28:00] <priithansen> If I make a controller for a dataobject how would I link it to the dataobject?
766: [17:29:00] <priithansen> I have route for it
767: [17:29:00] <FrozenFire> priithansen, What's the context? Handling it in a GridField?
768: [17:30:00] <FrozenFire> That's... vague
769: [17:30:00] <priithansen> for frontend access
770: [17:31:00] <FrozenFire> Still very vague. Do you mean, how would you write your Link() method on the DataObject?
771: [17:31:00] <priithansen> That the dataobjects methods are accessible from template
772: [17:31:00] <priithansen> I guess what I'm trying to understand is how contentcontroller and sitetree work together
773: [17:32:00] <FrozenFire> Eh, I usually avoid the ContentController way of doing things.
774: [17:33:00] <FrozenFire> I typically just have a controller whose methods return a rendered customised view with the DataObject as a variable
775: [17:33:00] <priithansen> At the moment I'm getting my dataobject in controllers init() and I could add it with $this->customise but was thinking there is a better way to indicate that this controller and dataobject go hand in hand
776: [17:34:00] <FrozenFire> E.g. public function item() { $item = MyDataObject::get()->byID($this->Request->param("ID")); if(!$item) return $this->httpError(404); return $this->customise(array("MyDataObject" => $item))->renderWith(array("SomeTemplate", "Page")); }
777: [17:35:00] <FrozenFire> Then you can have /controller/item/<id>
778: [17:35:00] <priithansen> jeah that looks familiar
779: [17:36:00] <priithansen> should the httpError(404) redirect to proper 404 error page automatically or is there soething more to it?
780: [17:37:00] <FrozenFire> Controller::httpError(404) will automatically display the 404 page.
781: [17:37:00] <FrozenFire> But I prefer to have the DO as a variable
782: [17:37:00] <FrozenFire> You *could* customise it by just passing in the DataObject, instead of an array, and I think that'd make all of the DataObject methods/vars available directly
783: [17:38:00] <FrozenFire> You should never redirect for a 404
784: [17:38:00] <FrozenFire> Or any HTTP error, really.
785: [17:39:00] <priithansen> Makes sense
786: [17:40:00] <priithansen> Probably something missing from my controller
787: [17:40:00] <priithansen> For me it just displays a white page with the optional error message when I $this->httpError(404, Something);
788: [17:42:00] <FrozenFire> Which would make it a ContentController
789: [17:42:00] <FrozenFire> I usually have my DataObject as Pages sort of things as Page_Controller
790: [17:42:00] <FrozenFire> Well, actually, now that I think of it, I was probably wrong to say Controller:httpError(404) does that 404 page display.
791: [17:42:00] <FrozenFire> E.g. CatalogPage extends Page, CatalogPage_Controller extends Page_Controller
792: [17:44:00] <priithansen> I have more of an app in the works and am not using pages at all that's why I'm poking around with just the controller
793: [17:45:00] <FrozenFire> Not sure how you'd handle 404 errors in the case, but you'd best still use httpError
794: [17:45:00] <priithansen> Thanks for the help. As I'm really green with mvc and oop this SS magic everywhere sometimes confuses things even more
795: [17:45:00] <FrozenFire> Ah, yeah.
796: [17:46:00] <FrozenFire> Yeah, I recommend still using the CMS and SiteTree.
797: [17:46:00] <FrozenFire> I do a *lot* of DataObject-driven applications, and I always still route things dynamically using SiteTree
798: [17:50:00] <priithansen> That would probably replace couple of weird functions I have made to get this controller working
799: [17:50:00] * rkupper quit (Ping timeout: 250 seconds)
800: [17:56:00] * r3v3rb has joined #silverstripe
801: [18:10:00] <FireMe> hi, class 'FieldSet' not found on line 85 line 85 is $actions = new FieldSet(new FormAction('doBooking', 'Submit')); ?
802: [18:11:00] <FrozenFire> Not FieldSet
803: [18:11:00] <FireMe> oh
804: [18:11:00] <FrozenFire> FieldSet was deprecated in SS3
805: [18:11:00] <FrozenFire> FireMe, You should be using FieldList
806: [18:13:00] * r3v3rb quit (Quit: r3v3rb)
807: [18:23:00] * joelpittet has joined #silverstripe
808: [18:26:00] <FireMe> im now getting Action 'BookingForm' isn't available on class Event_controller. this is my code http://sspaste.com/paste/show/5193d3158c271
809: [18:29:00] * dd has joined #silverstripe
810: [18:30:00] * sewid has joined #silverstripe
811: [18:30:00] * sewid quit (Client Quit)
812: [18:32:00] * willmorgan has joined #silverstripe
813: [18:32:00] <dd> hello
814: [18:33:00] <dd> with the new way that SS 3.1 casts HTMLText fields, how can i get the HTML in my template now?
815: [18:48:00] <priithansen> dd: http://doc.silverstripe.org/framework/en/3.1/changelogs/3.1.0#default-cast-is-now-text
816: [19:01:00] * jrthomer has joined #silverstripe
817: [19:04:00] * FireMe quit (Read error: Connection reset by peer)
818: [19:05:00] * FireMe has joined #silverstripe
819: [19:11:00] <FrozenFire> FireMe, Is BookingForm an allowed action?
820: [19:12:00] * dd quit (Quit: Page closed)
821: [19:15:00] <FireMe> no it was not
822: [19:19:00] <catcher> anyone here use xss scanners to test your sites?
823: [19:20:00] <willmorgan> www.scantosecure.com seems interesting, catcher
824: [19:22:00] * gelignite has joined #silverstripe
825: [19:23:00] * UncleCheese has joined #silverstripe
826: [19:24:00] <catcher> willmorgan, have you tried it out?
827: [19:24:00] <willmorgan> i have an invite but not actually used it
828: [19:24:00] <willmorgan> your first scan is free apparently
829: [19:25:00] <catcher> ah, the heroin model :)
830: [19:25:00] <willmorgan> i think it's more aimed at agencies and software companies
831: [19:26:00] <willmorgan> it's much better to keep an eye on OWASP
832: [19:26:00] <willmorgan> cheaper, anyway :)
833: [19:26:00] <willmorgan> afk
834: [19:30:00] * catcher quit (Ping timeout: 276 seconds)
835: [19:31:00] * jrthomer quit (Remote host closed the connection)
836: [19:32:00] * jrthomer has joined #silverstripe
837: [19:32:00] * UncleCheese quit (Quit: UncleCheese)
838: [19:34:00] <FireMe> how come this line Director::redirect($this->URLSegment . '/confirmation'); is getting call to undefined method?
839: [19:37:00] <FrozenFire> Because it's a bit silly?
840: [19:37:00] <FrozenFire> return $this->redirect($this->Link("confirmation"));
841: [19:37:00] <FrozenFire> Also, Director::redirect doesn't exist
842: [19:49:00] <FireMe> i guess im looking at old documentation
843: [19:49:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/7183572
844: [19:49:00] * travis-ci has left #silverstripe
845: [19:49:00] * travis-ci has joined #silverstripe
846: [19:49:00] <travis-ci> [travis-ci] silverstripe/sapphire#2261 (3.0 - b401d39 : Sam Minnee): The build passed.
847: [19:49:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/9a6a6ec75de6...b401d39aec8d
848: [19:50:00] <FrozenFire> Are you using SS3?
849: [19:50:00] <FrozenFire> Most likely.
850: [19:51:00] <FrozenFire> But 3.1 does not.
851: [19:51:00] * SightUnseen has joined #silverstripe
852: [19:51:00] <FrozenFire> master still has Director::redirect
853: [19:51:00] <FireMe> yes
854: [19:51:00] <FrozenFire> Keep in mind that master is not 3.1
855: [19:51:00] <FrozenFire> master is... a frustrating and irrelevant branch of the framework
856: [19:52:00] <FireMe> im using 3.1
857: [19:53:00] <FrozenFire> Out of curiosity, what browser are you using?
858: [19:54:00] <FrozenFire> Ah. Was going to suggest a custom search engine provider for the URL bar, if you were using Chrome
859: [19:54:00] <FrozenFire> So I can type something like "ss Controller" and it'll search for Controller in the 3.1 documentation
860: [19:54:00] <FireMe> FireFox OSX
861: [19:54:00] <FrozenFire> I have "ss" mapped to http://google.com/search?q=site:api.silverstripe.org%2F3.1 %s
862: [19:55:00] <FrozenFire> Might be able to do the equivalent in FireFox
863: [19:55:00] <FrozenFire> I just don't know how it handles its URL bar in that respect
864: [19:55:00] <FireMe> i do use chrome sometimes, just firefox has firebug
865: [19:55:00] * SightUnseen has left #silverstripe
866: [19:59:00] * DigNZ has joined #silverstripe
867: [20:01:00] * DigNZ has joined #silverstripe
868: [20:01:00] * DigNZ quit (Client Quit)
869: [20:03:00] <FireMe> ok i have event/book/1 working now, but in my bookingForm function how would i get fieldset->push(new TextField('TimeSlot','TimeSlot',$this->ID)); atm it is getting the event id and not the timeslot id?
870: [20:16:00] * zfmf1 has joined #silverstripe
871: [20:20:00] <simon_w> FireMe, so pass in the timeslot's id instead?
872: [20:20:00] * UncleCheese has joined #silverstripe
873: [20:21:00] <FireMe> well thas what i thought the above code would do
874: [20:21:00] * UndefinedOffset quit (Quit: Leaving.)
875: [20:22:00] <simon_w> If you're on an event, $this->ID is going to get the ID of the event
876: [20:27:00] * jrthomer has joined #silverstripe
877: [20:27:00] * jrthomer quit (Remote host closed the connection)
878: [20:40:00] * Pyromanik has joined #silverstripe
879: [20:43:00] * nickmolhoek quit (Remote host closed the connection)
880: [20:43:00] * nickmolhoek has joined #silverstripe
881: [20:43:00] * nickmolhoek has joined #silverstripe
882: [21:16:00] * Liquide has joined #silverstripe
883: [21:27:00] <zippy_> Morning
884: [21:27:00] * zippy_ has joined #silverstripe
885: [21:34:00] * gelignite quit (Quit: http://bit.ly/nkczDT)
886: [21:36:00] * zfmf1 has left #silverstripe
887: [21:36:00] * UncleCheese_ has joined #silverstripe
888: [21:44:00] <FireMe> ok my bookingform is on my event page controller and the page i have the bookingform on is event/book/1 which is timeslot dataoject, so i have no idea how to select the id of the current timeslot? :-(
889: [21:46:00] <simon_w> $this->request->param('ID') ?
890: [21:52:00] * UncleCheese_ quit (Quit: UncleCheese_)
891: [21:57:00] * tankr has joined #silverstripe
892: [22:20:00] * UncleCheese quit (Quit: UncleCheese)
893: [22:42:00] * willmorgan quit (Read error: Connection reset by peer)
894: [23:07:00] * Plopinoux quit ()
895: [23:20:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/9f532fe97609...3878806ca3fb
896: [23:20:00] * travis-ci has left #silverstripe
897: [23:20:00] * travis-ci has joined #silverstripe
898: [23:20:00] <travis-ci> [travis-ci] chillu/sapphire#153 (pulls/shortcode-docs - 29d1dd7 : Ingo Schommer): The build failed.
899: [23:20:00] <travis-ci> [travis-ci] Change view : https://github.com/chillu/sapphire/compare/f45621b07ee1^...29d1dd785557
900: [23:20:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/chillu/sapphire/builds/7204278
901: [23:20:00] * travis-ci has left #silverstripe
902: [23:20:00] * travis-ci has joined #silverstripe
903: [23:20:00] <travis-ci> [travis-ci] silverstripe/sapphire#2266 (3.1 - 3878806 : Sean Harvey): The build passed.
904: [23:20:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/7204318
905: [23:29:00] * travis-ci has left #silverstripe
906: [23:29:00] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#372 (3.1 - 38c025f : Sean Harvey): The build passed.
907: [23:29:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/89bf063880b3...38c025f8baf5
908: [23:29:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/7204347
909: [23:29:00] * chillu quit (Quit: chillu)
910: [23:29:00] * travis-ci has joined #silverstripe
911: [23:33:00] * nhorstmeier has joined #silverstripe
912: [23:33:00] * FireMe quit (Quit: ChatZilla 0.9.90 [Firefox 20.0/20130326150557])
913: [23:34:00] * [1]LoveDuckie has joined #silverstripe
914: [23:36:00] * nhorstmeier has left #silverstripe
915: [23:36:00] * LoveDuckie quit (Ping timeout: 245 seconds)
916: [23:36:00] * [1]LoveDuckie is now known as LoveDuckie
917: [23:38:00] * DigNZ quit (Quit: DigNZ)
918: [23:50:00] * zippy_ quit (Quit: zippy_)

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