#silverstripe IRC Log

IRC log for 29 May 2013

All timestamps are in UTC.

1: [00:00:17] <Pyromanik> if you close firebug then suddenly all smooth again (after the ~20 secs it takes to close)
2: [00:00:36] <Pyromanik> Don't leave a tab open for ages with firebug open on it and not have it selected
3: [00:00:51] <Pyromanik> ie, open tab, inspect something, open new tab, forget about other tab for next day.
4: [00:00:57] <Pyromanik> come back to that tab, OMG
5: [00:02:46] <Colin[pi]> one of canberra's finest, waiting to turn in a lane that is through-traffic: http://twitter.com/colintucker/status/339530620327821314/photo/1
6: [00:03:53] <Pyromanik> I'd give her the horn, if you know what I mean
7: [00:03:59] <Colin[pi]> she copped plenty
8: [00:04:13] <Colin[pi]> people are flying up behind at 80kph expecting to go straight lol
9: [00:04:20] <Colin[pi]> what a fucking moron
10: [00:04:47] <JohnnyJimJams> Is that the north side of gungahlin (spelling?)
11: [00:05:04] <Colin[pi]> it's under the gungahlin drive extension GDE yes
12: [00:05:23] <JohnnyJimJams> The same bridge that a truck took out a couple of years ago?
13: [00:05:25] <Colin[pi]> i'm waiting to turn south for Woden, in one of the two turning lanes :)
14: [00:05:33] <Colin[pi]> ya I think so
15: [00:05:42] <JohnnyJimJams> don't know it
16: [00:05:45] <JohnnyJimJams> ;)
17: [00:05:48] <Colin[pi]> lol
18: [00:06:21] <simon_w> Come on, even I recognise it :p
19: [00:06:32] <JohnnyJimJams> I earned my pen license at Latham Primary School
20: [00:06:58] <JohnnyJimJams> Where are you located simon_w?
21: [00:07:03] <simon_w> Wellington
22: [00:07:06] <Colin[pi]> latham!
23: [00:07:26] <Colin[pi]> simon_w's much better half is (or was) in Canberra
24: [00:07:34] <Colin[pi]> ;)
25: [00:07:38] <JohnnyJimJams> What's his name?
26: [00:07:42] <JohnnyJimJams> kidding
27: [00:07:44] <Colin[pi]> LOL
28: [00:08:06] <JohnnyJimJams> Sean (sheep)
29: [00:08:09] <JohnnyJimJams> kidding again
30: [00:09:01] <JohnnyJimJams> Canberra is home for me.
31: [00:09:17] <Colin[pi]> I think it's funny that when the AU and NZ prime ministers got together recently, the NZ PM basically asked our PM to tell us to "be nice to New Zealanders" lol
32: [00:09:20] <JohnnyJimJams> I love coming over the hill on the freeway and seeing Telstra Tower
33: [00:09:44] <JohnnyJimJams> :D
34: [00:09:45] <Colin[pi]> ah you're in Canberra too?
35: [00:09:52] <JohnnyJimJams> Sydney
36: [00:09:58] <JohnnyJimJams> But I grew up in Canberra
37: [00:09:59] <Colin[pi]> ah but from here?
38: [00:10:02] <Colin[pi]> OIC
39: [00:10:05] <JohnnyJimJams> It's my getaway city
40: [00:10:14] <Colin[pi]> I lived in Sydney for 3 years, but ehh
41: [00:10:19] <Colin[pi]> good to visit but not to live imho
42: [00:10:25] <JohnnyJimJams> sydney is shit
43: [00:10:33] <JohnnyJimJams> hang on let me check something.....
44: [00:10:35] <JohnnyJimJams> .....
45: [00:10:36] * chillu quit (Quit: chillu)
46: [00:10:37] <JohnnyJimJams> nope....
47: [00:10:39] <JohnnyJimJams> still shit
48: [00:11:10] <JohnnyJimJams> traffic, arrogance, too manyt humans
49: [00:11:27] <simon_w> Just waiting for Qantas or AirNZ to fly international out of Canberra
50: [00:11:39] <Colin[pi]> simon_w we used to have intl flights here
51: [00:11:50] <Colin[pi]> it is called "Canberra International Airport" lol
52: [00:11:58] <simon_w> Colin[pi], your airport's all set up for them
53: [00:12:01] <simon_w> just waiting on carriers
54: [00:12:14] <Colin[pi]> yes with all the fog in Sydney the last two days, they have diverted a lot of planes to Canberra
55: [00:12:23] <Colin[pi]> the runway can handle 747's and A380's
56: [00:12:45] <Colin[pi]> there is talk of setting up a high-speed rail link between Canberra and Sydney
57: [00:12:47] <simon_w> international departures are up by the Virgin lounge
58: [00:12:57] <Colin[pi]> aye
59: [00:13:17] <simon_w> I had six hours to kill in that airport. They need more detail in their upgrade plans :p
60: [00:13:48] <Colin[pi]> six hours? dude wtf
61: [00:13:59] <simon_w> Was only supposed to be four
62: [00:14:06] <Colin[pi]> what happened?
63: [00:14:11] <simon_w> Then Virgin cancelled my flight
64: [00:14:19] <Colin[pi]> oh those bastards
65: [00:14:26] <Colin[pi]> they can't do that :)
66: [00:15:04] <simon_w> Turned out there were four of us on that flight with connections back to NZ that we only just made
67: [00:15:09] <Colin[pi]> eek
68: [00:15:13] <simon_w> Yay, codeshares with budget airlines
69: [00:15:18] <Colin[pi]> well I did spend 10 hours in Santiago, but that was self-inflicted
70: [00:15:46] <Colin[pi]> if I waited for the later flight, it was $1K cheaper
71: [00:16:03] <Colin[pi]> so I paid $50 US for the member lounge and had 'free' food beer and spirits for 10 hours lol
72: [00:16:40] <Colin[pi]> and it dragged.. and dragged...... and draggggged
73: [00:16:43] <Colin[pi]> :o
74: [00:18:00] <Colin[pi]> I remember now, that was during the last world cup, I watched the final with some Chileans
75: [00:18:07] <Colin[pi]> GOOOOOOOOOOOOOOOOOOOOOOOOOL
76: [00:18:32] <simon_w> Woo, only undefeated team!
77: [00:18:50] <Colin[pi]> man the south americans go nuts for soccer
78: [00:19:09] <Colin[pi]> especially Brazilians, the place shuts down when Brazil is playing
79: [00:24:41] <irogue> [12:11] <Colin[pi]> it is called "Canberra International Airport" lol
80: [00:24:46] <irogue> like "Hamilton International Airport"
81: [00:24:55] <Colin[pi]> hehe
82: [00:26:18] <Colin[pi]> they did have flights direct to Fiji a while ago
83: [00:26:29] <Colin[pi]> but no longer... they want to open routes direct to Singapore
84: [00:26:37] <simon_w> Except Canberra's dropped international from its name
85: [00:26:53] <Colin[pi]> trading as "Canberra Airport" yes
86: [00:26:59] <irogue> hamilton hasn't cos they're a bit too hopeful
87: [00:27:10] <spronk> hmm
88: [00:27:12] <irogue> they're capable of 767 & A300
89: [00:27:16] <ss23> 12:14:00 <@simon_w> I had six hours to kill in that airport. They need more detail in their upgrade plans :p
90: [00:27:24] <irogue> but biggest they actually have flying there is the Dash 8
91: [00:27:25] <ss23> I also had 6 hours to kill, but this was in WEllington airport :O
92: [00:27:29] <spronk> why don't Layout templates look back up the inheritance chain?
93: [00:27:36] <spronk> lul dash 8
94: [00:27:39] <simon_w> ss23, so you had wifi, power and food options!
95: [00:27:44] <spronk> and "biggest"
96: [00:27:45] <Colin[pi]> i like dash 8's!
97: [00:27:52] <ss23> simon_w: I thought so too... right up until I tried to get some dinner
98: [00:27:54] <Colin[pi]> they're cool little prop planes
99: [00:27:59] <ss23> "oh sorry we ran out of donut batter soz"
100: [00:28:00] <ss23> :<
101: [00:28:08] <Colin[pi]> lol
102: [00:28:50] <simon_w> spronk, they do
103: [00:29:17] <spronk> they do?
104: [00:29:19] <spronk> the fuck
105: [00:29:22] <Colin[pi]> :D
106: [00:29:29] <spronk> i have layouts/ProductPage.ss
107: [00:29:40] <spronk> VPProductPage extends ProductPage. Doesn't use ProductPage.ss
108: [00:30:15] <spronk> err, themes/theme/templates/Layout/ProductPage.ss *
109: [00:30:40] <spronk> simon_w: whereabouts is the code that selects which template file to load?
110: [00:31:00] <simon_w> SSViewer/Controller->getTemplates
111: [00:32:50] <spronk> in 3.0?
112: [00:34:10] <simon_w> oh right, getViewer()
113: [00:34:15] <spronk> ahh
114: [00:34:23] <irogue> http://www.hamiltonairport.co.nz/page/31-flight-information+airlines
115: [00:34:35] <irogue> hah, sif A320s fly out of Hamilton
116: [00:39:56] <simon_w> Hmm, I should lunch
117: [00:40:32] <Colin[pi]> hmm well that's not your usual DLC: http://www.digitaltrends.com/gaming/grid2-mono-edition-is-the-worlds-most-expensive-video-game-but-it-comes-with-a-car/
118: [00:43:56] * War^DoG quit (Quit: Saliendo)
119: [00:48:33] <JohnnyJimJams> jquery + silverstripe question
120: [00:48:35] <JohnnyJimJams> http://sspaste.com/paste/show/51a55039e1ce5
121: [00:48:44] <spronk> aha
122: [00:48:46] <spronk> thanks simon_w
123: [00:48:52] <JohnnyJimJams> I've included a custom js file
124: [00:48:57] <spronk> found my bug... subclass was inhering from two up the tree
125: [00:49:46] <JohnnyJimJams> when my page loads, I have javascript available but not jquery (yet)
126: [00:50:11] <JohnnyJimJams> Viewing the page source I see that jquery is included after my custom js
127: [00:50:29] <spronk> JohnnyJimJams: stick a Requirements::javascript in your page init() for jquery
128: [00:50:41] <JohnnyJimJams> Force it myself.
129: [00:50:45] <JohnnyJimJams> k
130: [00:50:48] <JohnnyJimJams> will try
131: [00:51:04] <spronk> iirc there's no way to control include order in requirements
132: [00:53:05] <simon_w> requirements are included in the order they're called
133: [00:53:58] <JohnnyJimJams> ok that worked, thx spronk
134: [00:54:11] <JohnnyJimJams> Note, that now it's included twice
135: [00:54:23] <spronk> i generally use the framework/thirdparty jquery
136: [00:54:32] <spronk> but if you need a newer one you can stop the inclusion of the framework one
137: [00:55:03] <JohnnyJimJams> I'm happy with the included version....
138: [00:55:28] <JohnnyJimJams> how do I tell the framework not to include it (once I have already).... where is it included?
139: [00:55:38] <spronk> Requirements::block
140: [00:55:40] * Bollig|DesignCty has joined #silverstripe
141: [00:55:58] <JohnnyJimJams> ok, yep. thx I did read about block in my travels
142: [00:57:08] <Colin[pi]> how can I go about overriding that default "Welcome" page shown by ModelAdmin?
143: [00:57:19] <Colin[pi]> i.e. and put some custom templated info there
144: [00:57:37] <simon_w> JohnnyJimJams, if you're including it, you shouldn't then go and block it. Requirements only includes each file once
145: [00:59:32] <simon_w> Colin[pi], upgrade? :p
146: [01:00:31] <Colin[pi]> :P
147: [01:01:07] <JohnnyJimJams> simon_w: thx, it seems that the system includes the non minified version after I include the minified version
148: [01:01:54] <simon_w> Colin[pi], duplicate cms/templates/Includes/ModelAdmin_right.ss as Includes/YourClass_right.ss (in my site, theme won't work)
149: [01:02:15] <JohnnyJimJams> http://sspaste.com/paste/show/51a5537f91a96
150: [01:02:29] <Colin[pi]> hmm but that will override any modeladmin subclass in the cms, right?
151: [01:02:42] <simon_w> Colin[pi], that's why you rename it
152: [01:02:49] <Colin[pi]> ah oops I just saw that ;P
153: [01:02:51] <Colin[pi]> ;)
154: [01:02:52] <Colin[pi]> thanks
155: [01:03:06] <simon_w> JohnnyJimJams, yeah, you'd usually use the non-minifed version and then combine_files
156: [01:03:41] <Colin[pi]> legend, it works
157: [01:03:43] <Colin[pi]> thanks
158: [01:04:50] <simon_w> JohnnyJimJams, so you'd use something like Requirements::combine_files('site.js', array(THIRDPARTY_DIR . '/jquery/jquery.js', 'themes/simple/javascript/site.js', 'themes/simple/javascript/script.js')) and remove the hardcoded <script> tag from the template
159: [01:06:43] <JohnnyJimJams> "and remove the hardcoded <script> tag from the template"
160: [01:06:46] <JohnnyJimJams> thanks
161: [01:06:53] <JohnnyJimJams> I didn't know where it was coming from
162: [01:21:16] <Pyromanik> smi... :<
163: [01:22:36] * ajmitch quit (Remote host closed the connection)
164: [01:22:40] <Pyromanik> wtb user stories on gitlab
165: [01:24:15] <spronk> you guys use gitlab?
166: [01:31:01] * ajmitch has joined #silverstripe
167: [01:31:39] <spronk> anyone know of any nav menu manager modules for silverstripe?
168: [01:31:56] <spronk> specifically that let you create custom menus based on existing pages, and order them?
169: [01:32:00] <Colin[pi]> the CMS?
170: [01:32:01] <Colin[pi]> ;D
171: [01:33:59] <spronk> lol
172: [01:34:05] <spronk> i mean... a completely arbitrary menu
173: [01:34:09] <spronk> i.e. select a few pages here and there
174: [01:34:21] <spronk> manage it without code
175: [01:34:43] <spronk> so... in my template.. i can just be like <% loop $FuckYeahMenu %>
176: [01:34:52] <Colin[pi]> hmm shouldn't be too hard to roll your own eh?
177: [01:34:55] <spronk> hmm
178: [01:34:57] <Colin[pi]> your own module for doing it
179: [01:35:07] <spronk> waste of tmie if something already exists :p
180: [01:35:08] <Colin[pi]> make a DO structure with links to pages
181: [01:35:11] <Colin[pi]> hehe :P
182: [01:35:28] <spronk> i was considering doing virtualpages
183: [01:35:31] <spronk> but thats a bit naff
184: [01:35:36] <Colin[pi]> yeah nah
185: [01:35:42] <Colin[pi]> always found them a bit shitty
186: [01:35:53] <Bollig|DesignCty> just add a checkbox to page, works exactly like menu...
187: [01:36:52] <spronk> hmm
188: [01:36:54] <spronk> i dno
189: [01:36:59] <spronk> i want multiple different menus
190: [01:37:18] <Colin[pi]> I would make a CustomMenu with has_many CustomMenuPage with has_one to SiteTree... have them reorderable
191: [01:37:23] <Colin[pi]> maybe is overkill :P
192: [01:37:34] <Bollig|DesignCty> I don't want to simplify this too much, but more than one checkbox? ;)
193: [01:38:10] <spronk> haha
194: [01:38:16] <Bollig|DesignCty> I personally hate what I call the 'joomla' menu system, where menus are arbitrary and not based on site structure. It's weird and unintuitive...
195: [01:38:30] <Colin[pi]> I personally hate Joomla
196: [01:38:33] <Bollig|DesignCty> Show in Menu, Show in Green Menu, Show in Blue Menu...?
197: [01:38:37] <spronk> i generally agree when it comes to the main menu
198: [01:38:37] <irogue> +1
199: [01:38:48] <spronk> a 'primary' hierarchy needs to exist
200: [01:38:56] <spronk> but there are cases for secondary 'menus' composed of arbitrary pages
201: [01:39:03] <spronk> like 'related' type menus
202: [01:39:06] <Colin[pi]> yep.. SS's site tree approach actually makes sense
203: [01:39:28] <spronk> or if you want to do custom menus in large footers etc
204: [01:39:32] <Bollig|DesignCty> well, in fairness, it is pretty much like saying "I hate Multiple Sclerosis", nobody is going to jump on and be like "I FREAKING LOVE IT"
205: [01:39:37] <spronk> :D
206: [01:39:45] <Colin[pi]> hehe true
207: [01:39:45] <Bollig|DesignCty> spronk: oh, of course. Entirely dependent on the use :)
208: [01:40:21] <spronk> hmm
209: [01:41:09] <spronk> http://www.silverstripe.org/custom-menus-module/ there's this, but it's a bit akward when you're assigning menus to pages
210: [01:41:36] * EasyCo has joined #silverstripe
211: [02:10:20] <spronk> hmm
212: [02:10:26] <Colin[pi]> hmm
213: [02:10:29] <Colin[pi]> hmm?
214: [02:10:44] <spronk> does SS look in Include/ subdirectories for <% includes ?
215: [02:10:54] <Colin[pi]> yes
216: [02:11:01] <spronk> excellent
217: [02:18:37] <spronk> hmm... is there shorthand in ss3 for getting specific type of children of current page?
218: [02:18:43] <spronk> like... $this->ChildrenOf()->filter... or something?
219: [02:18:54] <spronk> or still PageType::get() ?
220: [02:20:34] <willr_> $this->Children()->filter(array('ClassName' => '..'));
221: [02:20:52] <spronk> excellent
222: [02:20:54] <spronk> thanks willr_
223: [02:35:09] <willr_> spronk you mentioned docs last night. Got anything you'd like to get documented?
224: [02:37:02] <spronk> to be honest, i think a tidy up of the basic templates stuff would go a long way
225: [02:37:29] <spronk> the old 2.4 built in page controls page was my go-to cheat sheet for when i hadn't used ss for a while
226: [02:37:59] <willr_> The tidy up sam did for 3.0 didn't help for templates? Think that was the one doc he touched heh
227: [02:38:15] <spronk> well, not for me
228: [02:38:23] <spronk> maybe for others?
229: [02:39:36] <willr_> On my list is to extend the grid field stuff. It's a little left up to the code to explain.
230: [02:39:54] <spronk> yeah
231: [02:40:01] <spronk> i think a few 'best practices' type bits and pieces would go a long way too
232: [02:40:18] <Colin[pi]> +1
233: [02:40:29] <spronk> i.e. some pros/cons and when to use sitetree vs dataobjects, gridfields vs modeladmin etc
234: [02:41:21] <spronk> and, this is stretching, but something more substantial about what to do when modeladmin isn't quite enough
235: [02:41:34] <Colin[pi]> this
236: [02:41:34] <willr_> spronk my personal thought is that is best explained as part of an how to perhaps like a rotating banner how to. That could explain using Pages or DataObject
237: [02:41:52] <spronk> heh, interestingly this is basicalyl the exact thing that i see new SS devs get stuck on
238: [02:41:55] <JohnnyJimJams> willr_: I just did the tutorials...
239: [02:42:16] <JohnnyJimJams> ... and the first couple of tutorials are a bit of a mess
240: [02:42:25] <JohnnyJimJams> They seem to have been patched and repatched
241: [02:42:52] <spronk> ^^ the customising leftandmain bits and pieces would probably be best done by someone uber familair with internals
242: [02:43:29] <spronk> i'd be keen to have a go at some of the lesser stuff
243: [02:45:18] <willr_> JohnnyJimJams exactly.
244: [02:45:41] <JohnnyJimJams> How can we help?
245: [02:46:02] <spronk> hmm
246: [02:46:13] <spronk> why might $this->Children() not be returning all my children?
247: [02:46:21] <willr_> ShowInMenus
248: [02:46:43] <willr_> AllChildren() will ignore filters
249: [02:46:43] <spronk> ohh
250: [02:46:49] <spronk> i see
251: [02:46:54] <spronk> i've got two functions in my HomePage class
252: [02:47:00] <spronk> using $this->Children()->filter
253: [02:47:10] <spronk> first one applies filter, second one applies *further* filter..
254: [03:13:11] * cloph_away has joined #silverstripe
255: [03:13:59] * cloph_away1 quit (Ping timeout: 264 seconds)
256: [03:19:17] <willr_> JohnnyJimJams the best way to help is to simply comment on the bottom of doc pages with any issues or ideas for improvement. Comment moderation goes out to people who will review the docs and make fixes, or you can edit the documentation yourself through github. I've got a chuck of budget to improve the docs over the next couple weeks so getting a list of things people struggle with.
257: [03:20:12] <willr_> In the process of training 3-4 government guys on SS and so they've given me some starting questions.
258: [03:20:44] <JohnnyJimJams> willr_: k
259: [03:25:03] <simon_w> willr_, I think the 2.4 tutorials should be revived. The new ones don't seem to cover the basics anywhere near as well, probably since Simple's already built
260: [03:26:04] * spronk concurs
261: [03:26:27] <Pyromanik> the tutorial is still there
262: [03:26:36] <EasyCo> That makes me happy
263: [03:26:38] <Pyromanik> and 2.4 had blackcandy already there
264: [03:26:52] <simon_w> 2.4 had you build your theme
265: [03:27:05] <Pyromanik> blackcandy by default
266: [03:27:23] <Pyromanik> same as 3.0 is simple by default
267: [03:27:34] <Pyromanik> tutorial folder is still part of installer last I looked
268: [03:27:42] <Pyromanik> one can still do tutorials.
269: [03:27:45] <Pyromanik> they've all been updated.
270: [03:27:54] <Pyromanik> but perhaps they should be cleaned and improved on.
271: [03:28:00] <simon_w> Have you looked at the tutorial?
272: [03:28:07] <simon_w> It's all "This is what Simple does"
273: [03:28:49] <ss23> I'm feeling really disgruntled now. Does anyone want to gruntle me?
274: [03:29:19] * Pyromanik grunts in ss23's general direction
275: [03:29:21] * spronk gruntles ss23
276: [03:29:26] <ss23> oh yeah
277: [03:30:10] <Pyromanik> simon_w: ah, the docs have been updated.
278: [03:30:18] <Pyromanik> I see, I thought you meant the actual theme.
279: [03:30:30] <Pyromanik> last I looked at 3.0 doc it still had tutorial theme
280: [03:30:38] <Pyromanik> now is simple, which is a bit bad, yeah.
281: [03:30:50] <Pyromanik> "this is how do" not "do this to do..."
282: [03:31:02] * Pyromanik also concurs
283: [03:34:07] <EasyCo> willr_: Nowhere, afaik, in the docs is there mention of $Menu() , $LinkingMode…I know it's the in tuts but it would be nice if it were actually in the references as well http://docs.silverstripe.com/framework/en/reference/templates
284: [03:34:36] <EasyCo> I think that Templates article can definitely be expanded
285: [03:37:22] <EasyCo> Also, is there a quick/convenient way to see what properties and/or methods are available to a specific page template.
286: [03:38:24] <spronk> it would be nice ot have hierarchical docs with a good TOC as well
287: [03:39:07] <EasyCo> Oh and a fuzzy search like you have for the API but in the docs. That'd be great.
288: [03:42:00] <Pyromanik> EasyCo: you mean like the page in the docs?
289: [03:42:35] <simon_w> EasyCo, $Debug will usually list the available methods
290: [03:43:06] <EasyCo> Pyromanik: Nah, that's not fuzzy.
291: [03:43:35] <EasyCo> simon_w:You just chuck $Debug in your template?
292: [03:43:42] <simon_w> yup
293: [03:43:56] <EasyCo> simon_w: Is that in the docs? :)
294: [03:44:02] <simon_w> doubt it
295: [03:44:31] <EasyCo> My point exactly
296: [03:45:12] <Pyromanik> argh fuck
297: [03:45:17] <Pyromanik> who keeps removing things from the docs?
298: [03:45:30] <Pyromanik> there used to be a 3.0 equiv of this page I'm sure.
299: [03:45:31] <Pyromanik> http://doc.silverstripe.org/framework/en/2.4/reference/built-in-page-controls
300: [03:45:44] <simon_w> Nope, that didn't make it to 3.0
301: [03:46:45] <Pyromanik> http://doc.silverstripe.org/framework/en/trunk/reference/templates
302: [03:46:47] <Pyromanik> hmm
303: [03:46:49] <Pyromanik> there's that
304: [03:47:07] <spronk> mm
305: [03:47:09] <Pyromanik> must be what I was thinking of
306: [03:47:11] <EasyCo> Thanks for the tip about $Debug though.
307: [03:47:13] <spronk> its not as good as the old built in page controls page
308: [03:47:36] <spronk> for example, that tempaltes page makes no mention of the fact you can put variable arguments in ss3 now
309: [03:47:44] <Pyromanik> spronk: the problem with built in page controls page was that it was actually spread across about 3 different docs pages.
310: [03:47:48] * spronk had forgotten this, simon_w refreshed my memory last night
311: [03:47:49] <spronk> yeah
312: [03:47:55] <Pyromanik> there was that one, another one on pages and maybe another
313: [03:48:10] <simon_w> And all three were gigantic messes
314: [03:48:14] <Pyromanik> got confusing as they all had different content on them and you had to remember where the bit of info you wanted was
315: [03:48:28] <Pyromanik> and I always forgot what the pages were or what sections they were in
316: [03:48:35] <simon_w> "I've found out about this new thing! I'm going to stick this here in this completely unrelated section!"
317: [03:48:54] <Pyromanik> I thought someone had consolidated it in 3.0 docs, but it seems they've actually just converted one of the pages and simply removed all the rest
318: [03:48:57] <Pyromanik> I blame FrozenFire
319: [03:49:01] <Pyromanik> THE DOCS GUY
320: [03:49:56] <ss23> ^%^^^
321: [03:50:00] <Pyromanik> yeah, here we go EasyCo
322: [03:50:01] <Pyromanik> http://doc.silverstripe.org/framework/en/trunk/topics/page-type-templates
323: [03:50:10] <Pyromanik> http://doc.silverstripe.org/framework/en/trunk/topics/page-type-templates#menu-loops
324: [03:50:17] <FrozenFire> I'm the docs guy?
325: [03:50:25] <FrozenFire> I thought that was chillu :P
326: [03:50:25] <Pyromanik> self proclaimed since day #1
327: [03:50:33] <Pyromanik> :P
328: [03:50:45] <FrozenFire> I so would've liked to have fixed the docs. :P
329: [03:50:50] <Pyromanik> you can
330: [03:50:51] <FrozenFire> But it would've taken more clout than I have
331: [03:50:55] <Pyromanik> they have an edit button
332: [03:50:56] <Pyromanik> lies
333: [03:51:03] <FrozenFire> Nah, fixing documentation is *not* about writing documentation.
334: [03:51:04] <simon_w> Just not dedicated enough
335: [03:51:07] <FrozenFire> Fixing documentation is about kicking asses
336: [03:51:29] <EasyCo> Puromanik: Thanks! Not very obvious… Should just chuck that stuff in Templates.
337: [03:51:30] <FrozenFire> Documentation for a project like this is only as good as the developers are at being consistent.
338: [03:51:41] <Pyromanik> EasyCo: yeah.
339: [03:51:51] <Pyromanik> as I say, there used to be 3 pages.
340: [03:52:06] <Pyromanik> seems 2 got converted and the third (arguably more helpful) one got trashed.
341: [03:52:26] <EasyCo> yay
342: [03:52:48] <willr_> I think we culled it as it had become just a dumping ground. $LinkingMode etc is more useful explained why it works
343: [03:53:11] <willr_> Common question was so $LinkingMode.. what else can I $?
344: [03:53:30] <willr_> so the goal was to explain that somewhere and 'how' it works.
345: [03:53:33] <Pyromanik> yeah, so a list is helpful
346: [03:53:43] <willr_> well that list is infinite.
347: [03:53:45] <Pyromanik> I see what you've tried to do
348: [03:53:46] <ss23> Silverstripe is all magic
349: [03:53:55] <Pyromanik> willr_: yeah, but not entirely.
350: [03:54:13] <Pyromanik> ss23: always. dem __get & __set calls is php hacking.
351: [03:54:18] <ss23> :D
352: [03:54:21] <Pyromanik> lulz
353: [03:54:28] <Pyromanik> php bads get mads
354: [03:54:41] <spronk> guh wtf
355: [03:56:20] <simon_w> GAH! Turns out my fix from Saturday isn't good enough D:
356: [03:56:27] <spronk> ?
357: [03:56:45] <ss23> Damn!
358: [03:56:50] <ss23> And you spent hours on it too!
359: [03:57:21] <spronk> hmm
360: [03:57:29] <simon_w> $curr.lg($ID) breaks too :(
361: [03:57:32] <spronk> you can't test datalists like <% if DataListReturningMethod %> ?
362: [03:57:46] <simon_w> Oh well, that actually makes the change a lot cleaner
363: [03:58:12] <Pyromanik> guys I need input
364: [03:58:18] <Pyromanik> MOAR IIINPUUUUT
365: [03:58:23] * Pyromanik 5 alive
366: [03:58:23] <willr_> Pyromanik that's what she said
367: [03:58:30] <spronk> lulz
368: [03:58:33] <Pyromanik> willr_: oh you
369: [03:58:40] <spronk> short circuit FUKYEH
370: [03:58:46] <Pyromanik> #hard
371: [03:58:49] <Pyromanik> so anyways
372: [03:58:51] <spronk> HEY LASERLIPS! YOUR MOTHER WAS A SNOWBLOWER!
373: [03:58:59] <Pyromanik> need to have an intranet managed by SS
374: [03:59:14] <Pyromanik> so basically an intranet which is actually an internet with a login area
375: [03:59:22] <Pyromanik> for forum and managing files, etc.
376: [03:59:26] <Pyromanik> so forum right
377: [03:59:33] <Pyromanik> hide unless logged in, easy enough.
378: [03:59:38] <Pyromanik> but document management
379: [03:59:41] <Pyromanik> DMS
380: [03:59:44] <Pyromanik> looked at
381: [03:59:48] <Pyromanik> looks cool
382: [04:00:07] <zippy__> hmm is there a way to stop the image from resizing up?
383: [04:00:25] <Pyromanik> but I need notifications when docs are updated
384: [04:00:38] <Pyromanik> and presumably the ability to limit access to documents per user.
385: [04:00:47] <Pyromanik> is DMS the way to go?
386: [04:00:48] <zippy__> e.g. $Image.SetWidth(100, false); // so if it's less than 100px, it won't go up, but if it's over 100 it will resize down
387: [04:00:53] <Pyromanik> http://www.silverstripe.org/document-management-system-module/
388: [04:01:00] <Pyromanik> zippy__: err
389: [04:01:02] <Pyromanik> what?
390: [04:01:03] <spronk> what the fuck
391: [04:01:11] <spronk> why would <% if Products %> not be doing shit
392: [04:01:15] <Pyromanik> zippy__: like SetRatioSize(width,height)
393: [04:01:23] <spronk> when the datalist Products() is returning has a count() of 2
394: [04:01:24] <Pyromanik> spronk: wrong scope or no products
395: [04:02:10] <Pyromanik> zippy__: or
396: [04:02:24] <spronk> ohhhhhh
397: [04:02:28] <spronk> my filter is by classname
398: [04:02:29] <spronk> fuck
399: [04:02:33] <Pyromanik> $Image.SetWidth(100).CroppedImage(100,height)
400: [04:02:35] <zippy__> Pyromanik: SetRatioSize will resize it up. Say I have an image 80x80. if I do SetResize(100,100) it looks rank
401: [04:02:45] <spronk> how can i do a data object query for a hierarchy of classes?
402: [04:02:55] <Pyromanik> zippy__: you need to check width first
403: [04:03:01] <spronk> i.e. give me all my children that inherit from X
404: [04:03:15] <zippy__> Pyromanik: Yea, that is what I am doing, but that feels pretty poor as well
405: [04:03:15] <Pyromanik> in 2.4 or 3.1 you can <% if $Image.Width > 100 %>
406: [04:03:21] <Pyromanik> in 3.0 you can't use > or <
407: [04:03:37] <Pyromanik> so will have to decorate Image to make it do calcs in php
408: [04:03:55] <zippy__> I did a function on the owning object
409: [04:03:57] <simon_w> Pyromanik, can't do that in 2.4
410: [04:04:01] <Pyromanik> oh
411: [04:04:04] <Pyromanik> thought you could simon_w ?
412: [04:04:09] <simon_w> Nope
413: [04:04:13] <zippy__> no I tried already
414: [04:04:18] <Pyromanik> didn't you make a big hoo hah about 3.x getting what 2.4 always had?
415: [04:04:37] <simon_w> No, about 3.1 getting what we've (as in PocketRent) already has in 2.4
416: [04:05:20] <Pyromanik> oh
417: [04:05:22] <Pyromanik> you
418: [04:05:26] <Pyromanik> laddergoat
419: [04:05:35] <ss23> OH YOU LADDERGOAT
420: [04:05:38] <simon_w> Woo, fixed my thing
421: [04:05:44] <ss23> Pyromanik: Did Jetstar play Taylor Swift for you?
422: [04:06:02] <willr_> ss23 doesn't have the latest album though.
423: [04:06:08] <spronk> srs guys
424: [04:06:11] <ss23> lol
425: [04:06:18] <spronk> how to get children() that are subclasses of X?
426: [04:06:19] <ss23> willr_: You undersestimate me
427: [04:06:23] <ss23> Always have up to date Taylor Swift.
428: [04:06:46] <willr_> Qantas does thankly.
429: [04:06:47] <Pyromanik> ss23: umm, yes I think.
430: [04:06:49] <Pyromanik> when I landed
431: [04:06:58] <ss23> :D
432: [04:07:30] <simon_w> spronk, ->filterByCallback(function($class) { return $class instanceof OtherClass; }) as the last thing in the chain
433: [04:07:33] <Pyromanik> shit, DMS associates per page
434: [04:11:27] * zippy__ quit (Quit: zippy__)
435: [04:11:45] <spronk> thanks simon_w
436: [04:31:27] <spronk> guys, is there a way to do second level $Layout includes?
437: [04:31:46] <spronk> i.e. Page.ss $Layout --> ProductPage.ss $Layout -> specific productpage subclass
438: [04:32:04] <EasyCo> spronk: I was trying to do that a few weeks back
439: [04:32:21] <spronk> result? :)
440: [04:32:53] <EasyCo> afaik you can't nest $Layouts to get a grandparent->parent->child relationship as confirmed by simon
441: [04:33:03] <spronk> :<
442: [04:33:21] <EasyCo> Not like nesting {{outlet}} in Ember
443: [04:33:28] <spronk> yeah
444: [04:35:22] <EasyCo> spronk: http://logs.simon.geek.nz/index.php?date=2013-05-06#11_42
445: [04:36:19] <spronk> mm
446: [04:37:05] <spronk> hmm
447: [04:37:08] <EasyCo> More here: http://logs.simon.geek.nz/index.php?date=2013-05-02#19_04
448: [04:37:08] <spronk> i wonder if i could do it via includes
449: [04:37:09] <spronk> like
450: [04:37:19] <spronk> <% include $ClassName
451: [04:37:32] * SightUnseen has joined #silverstripe
452: [04:38:28] <EasyCo> Yah that's one approach: <% if Action = ChildPage %><% include ChildPage %><% end_if %>
453: [04:38:48] <spronk> i was more referring to dynamic var
454: [04:38:52] <spronk> probably not doable
455: [04:39:23] <EasyCo> Good luck and lemme know if you come up with a sexy solution plz
456: [04:40:48] <spronk> hmm
457: [04:40:50] <spronk> seems to just ignore it
458: [04:45:48] <spronk> hmm
459: [04:45:55] <spronk> i could just get the code to do it..
460: [04:46:46] * robert_ has joined #silverstripe
461: [04:50:33] * SightUnseen has left #silverstripe
462: [04:55:38] <EasyCo> How do you add another item to the Format drop down in the TinyMCE editor?
463: [04:56:45] <EasyCo> I'm using HtmlEditorConfig::get('cmd')->setOptions(array('format' => array('button' => array('inline' => 'button')))); to no avail.
464: [04:57:03] <Pyromanik> willr_: does forum work in 3.0?
465: [04:57:07] <Pyromanik> (work well?)
466: [04:57:14] <willr_> yes, no
467: [04:57:20] * DigNZ quit (Quit: DigNZ)
468: [04:57:21] <Pyromanik> guts
469: [04:58:06] <Pyromanik> EasyCo: you can do $Layout $Content $Content
470: [04:58:16] <Pyromanik> have a folder named Content
471: [04:58:32] <Pyromanik> well, that might have been 2.4
472: [04:58:34] <EasyCo> sprong ^
473: [04:58:36] <Pyromanik> might still work
474: [04:58:37] <Pyromanik> but
475: [04:58:39] <EasyCo> *spronk
476: [04:58:41] <Pyromanik> gets messy :<
477: [04:59:31] <Pyromanik> infinite recursion is a-ok in 3.0, so gotta be careful if it does work.
478: [04:59:43] <Pyromanik> home
479: [04:59:46] * Pyromanik quit (Quit: leaving)
480: [05:00:09] <spronk> hmm
481: [05:01:18] <simon_w> the $Content template isn't available inside a $Layout one and the $Content field takes precedence
482: [05:01:25] * DigNZ has joined #silverstripe
483: [05:01:26] * DigNZ quit (Remote host closed the connection)
484: [05:01:40] * DigNZ has joined #silverstripe
485: [05:01:44] * Shrike_Finland quit (Quit: Leaving.)
486: [05:02:14] <spronk> what's the method called that turns camelcase shit into nice words for englush?
487: [05:03:05] <spronk> FormField::name_to_label
488: [05:03:30] * nickmolhoek quit (Quit: nickmolhoek)
489: [05:04:20] * DigNZ quit (Client Quit)
490: [05:14:10] * Hippiee has joined #silverstripe
491: [05:14:34] * willr_ quit (Quit: willr_)
492: [05:58:45] * Colin[pi] quit (Read error: Connection reset by peer)
493: [05:59:04] * Colin[pi] has joined #silverstripe
494: [06:00:08] * Liquide quit ()
495: [06:16:39] <spronk> hmm
496: [06:16:49] <spronk> Unknown column ClassName in field list for ProductPage_versions
497: [06:16:50] <spronk> :S
498: [06:23:11] <Colin[pi]> YUO BROKE IT
499: [06:24:40] <Colin[pi]> ClassName is not in the child tables, it's in SiteTree no?
500: [06:40:36] <Marvanni> SS 2.4 question : I a have a Page with a ComplexTableField. I need a user to allow to edit records managed with the CTF, while it has no permissions to edit the Page
501: [06:40:41] <Marvanni> is this possible?
502: [06:40:59] <Marvanni> $ctf->setPermissions( array('edit', 'show', 'add')); doesn't work...
503: [06:48:02] * g4b0 has joined #silverstripe
504: [06:52:08] * guci0 has joined #silverstripe
505: [06:52:46] <g4b0> hi all
506: [06:52:50] <guci0> Hello Moto!
507: [06:53:21] <spronk> hmm
508: [06:53:27] <spronk> i iupgrade cms from 3.0.3 to 3.0.5
509: [06:53:29] <spronk> and...
510: [06:53:42] <spronk> changed some classes around
511: [06:53:43] <spronk> :S
512: [07:03:25] * priithansen has joined #silverstripe
513: [07:09:19] * ^pH- has joined #silverstripe
514: [07:11:57] * Shrike_Finland has joined #silverstripe
515: [07:12:35] * ^pH quit (Ping timeout: 252 seconds)
516: [07:21:02] * PigeonFriend has joined #silverstripe
517: [07:32:50] * SightUnseen1 has joined #silverstripe
518: [07:33:34] * SightUnseen1 has left #silverstripe
519: [07:37:44] * osterlaus has joined #silverstripe
520: [07:38:05] * Error404NotFound has joined #silverstripe
521: [07:39:54] * ugly_duck quit (Ping timeout: 245 seconds)
522: [07:55:40] * chillu has joined #silverstripe
523: [07:56:05] * kinglozzer has joined #silverstripe
524: [08:06:12] * EasyCo quit (Ping timeout: 252 seconds)
525: [08:06:27] * EasyCo has joined #silverstripe
526: [08:06:33] * EasyCo quit (Client Quit)
527: [08:07:27] * elgrodo has joined #silverstripe
528: [08:08:38] <elgrodo> quick entwine question. What is the event to grab on to when an edit page is show in the admin section? I want to toggle some fields based on an Enum dropdown
529: [08:09:06] <elgrodo> the toggle is working fine, but I've not found the equivalent of an onload event to use
530: [08:10:18] <simon__w|air> elgrodo, onmatch/onadd
531: [08:18:50] <elgrodo> simon_w|air" Thanks
532: [08:21:02] * willmorgan has joined #silverstripe
533: [08:30:48] * deschebbes has joined #silverstripe
534: [08:58:10] * maknz has joined #silverstripe
535: [08:58:10] * maknz quit (Changing host)
536: [08:58:10] * maknz has joined #silverstripe
537: [09:00:26] * sam___ has joined #silverstripe
538: [09:00:32] <sam___> Hi all
539: [09:00:44] <sam___> I am facing trouble in custom validation
540: [09:00:50] <sam___> please help me
541: [09:05:09] * sam___ quit (Ping timeout: 250 seconds)
542: [09:09:00] <willmorgan> hey chillu, just wondering if this PR is the right way to go about it: https://github.com/silverstripe/silverstripe-framework/pull/2022
543: [09:09:45] <chillu> uhm, double negation to make type safe checks or what?
544: [09:09:54] <willmorgan> no, extending canCreate
545: [09:09:55] <simon__w|air> willmorgan, extendedCan() is your friend
546: [09:10:02] <willmorgan> that's what PigeonFriend said ;)
547: [09:10:41] <willmorgan> so that PR should be closed?
548: [09:11:11] <simon__w|air> chillu, should all DataObject can* methods use extendedCan() instead of a straight Permission check? There'll be a slight performance penalty, though that's pretty much entirely in the CMS
549: [09:12:07] <chillu> Yeah I'm just wondering that as well. I think that's a good idea
550: [09:16:15] <willmorgan> So simon__w|air, this is the way around it yeh? http://www.sspaste.com/paste/show/51a5c7453e892
551: [09:16:27] <willmorgan> (in a DataExtension)
552: [09:17:35] <simon__w|air> willmorgan, no, you'll need to update your pull request to use extendedCan() instead of your current extension checking logic
553: [09:18:18] <simon__w|air> (extendedCan()'s a method on DataObject)
554: [09:18:42] <willmorgan> yeah, i'm looking at that now
555: [09:19:03] <willmorgan> i don't see it calling extendedCan anywhere, but I think i'm being dense
556: [09:19:15] <simon__w|air> That's because it doesn't
557: [09:19:27] <simon__w|air> What your PR should do is change the can*() methods in DataObject to call it
558: [09:19:44] * simon__w|air is now known as simon_w|air
559: [09:20:17] <willmorgan> ah. so purely to stop the repetition in the code for canEdit, canView etc? (where we're checking min($results) etc)
560: [09:20:49] <simon_w|air> Well, that's what it's there for. And so it actual gets the min properly
561: [09:21:18] <willmorgan> i need this to be in 3.1 for a client project that's running a bit behind ;-)
562: [09:22:19] <MrJeremy> is ther any way of adding a script in a template?
563: [09:22:32] <willmorgan> MrJeremy: what kind? JS?
564: [09:22:38] <MrJeremy> * javascript
565: [09:22:45] <willmorgan> it's generally better to put it all in a separate JS file
566: [09:23:00] <willmorgan> separate your concerns
567: [09:23:05] <simon_w|air> MrJeremy, <% require javascript("path/to/file") %>
568: [09:23:12] <willmorgan> ^
569: [09:24:15] <simon_w|air> willmorgan, you can cherry-pick commits into your local copy, and you're basically making them like: function canBlah($member = null) { $extended = $this->extendedCan(__FUNCTION__, $member); if($extended !== NULL) return $extended; return Permission::check('ADMIN', 'any', $member); }
570: [09:24:59] * samthejarvis has joined #silverstripe
571: [09:25:03] <willmorgan> cool, will do
572: [09:25:14] <willmorgan> but PR this work in to master, yeh?
573: [09:25:29] <simon_w|air> probably should
574: [09:25:33] <willmorgan> okay, no worries
575: [09:25:59] <MrJeremy> <% require javascript( with $ThemeDir?
576: [09:26:20] <simon_w|air> MrJeremy, no, you'll need to put in the full path
577: [09:29:11] <willmorgan> simon_w|air: it now looks like this: https://dl.dropbox.com/u/4215179/clips/2013-05-29_10-28-47.png
578: [09:29:19] <willmorgan> provided you're happy I'll push those changes to the PR
579: [09:29:21] * ivoba has joined #silverstripe
580: [09:30:23] <simon_w|air> willmorgan, yeah, like that. Would be nice if you could add some tests too :)
581: [09:30:30] <willmorgan> all right
582: [09:30:48] <willmorgan> just getting to grips with git lately - went to a 3 hour long workshop the other week
583: [09:31:05] <MrJeremy> ah cheers guys! deadlines soon
584: [09:32:18] <samthejarvis> I've found this to be a pretty good resource http://www.atlassian.com/git/
585: [09:32:41] <willmorgan> heh
586: [09:32:47] <willmorgan> i did a git within a git at the workshop: https://github.com/willmorgan/git-lesson
587: [09:32:59] <simon_w|air> I've found bugging sminnee, then having to fix my broken branches to be a pretty good resource :p
588: [09:33:20] <samthejarvis> haha
589: [09:38:03] * zippy__ has joined #silverstripe
590: [09:38:40] * osterlaus quit (Quit: Leaving.)
591: [09:39:36] <willmorgan> i like the way they put it
592: [09:39:40] <willmorgan> plumbing and the porcelain
593: [09:41:31] <simon_w|air> "Keep your current workflow style while enjoying the lightweight and feature-rich benefits that Git has to offer."
594: [09:41:40] <willmorgan> hahah... no.
595: [09:41:43] <simon_w|air> Bad way of doing things. Git really needs a different workflow
596: [09:42:32] <willmorgan> github for windows is pretty good
597: [09:42:41] <willmorgan> but i do prefer good old CLI mode
598: [09:43:11] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
599: [09:45:32] <samthejarvis> quick Q here, is there anyway to flush the routing cache only?
600: [09:46:19] <simon_w|air> Nope
601: [09:46:32] <samthejarvis> heh aight
602: [09:48:34] <simon_w|air> Always going to flush the 3/4 manifests and the templates/images if there's any in the request
603: [09:51:16] * sam____ has joined #silverstripe
604: [09:51:25] <sam____> hi all
605: [09:51:36] <zippy__> hi
606: [09:51:36] <sam____> need some help on multiform module
607: [09:51:39] <zippy__> ok
608: [09:51:50] <sam____> to load data for editing profile
609: [09:52:54] * PigeonFriend quit (Ping timeout: 252 seconds)
610: [09:53:35] <kinglozzer> simon_w|air: https://github.com/silverstripe/silverstripe-framework/issues/1942 - Am I right in thinking forTemplate() should return nl2br($this->XML()); ? I want to get that little bug fixed to save an unnecessary extension
611: [09:53:48] * PigeonFriend has joined #silverstripe
612: [09:57:07] <willmorgan> also simon_w|air: https://github.com/silverstripe/silverstripe-framework/pull/2022
613: [09:58:36] <simon_w|air> kinglozzer, I'd ask chillu to see if he wanted that just for HTML() (then have StringField->forTemplate() return that), or on base forTemplate
614: [09:58:46] * Error404NotFound quit (Read error: Connection reset by peer)
615: [09:58:52] <simon_w|air> willmorgan, we just want the change to DataObject, in one commit :)
616: [09:59:55] * Error404NotFound has joined #silverstripe
617: [10:03:33] <willmorgan> isn't it too late to squash those commits?
618: [10:04:23] <simon_w|air> Nope
619: [10:04:26] <simon_w|air> git push --force
620: [10:04:58] <simon_w|air> It's only two late once an upstream you don't control's merged them
621: [10:05:02] <willmorgan> ah
622: [10:05:05] <willmorgan> just googled
623: [10:05:10] <willmorgan> looks good! this means i can be even more sloppy!
624: [10:06:07] * Jedateach quit (Quit: Jedateach)
625: [10:06:45] <willmorgan> right, i've pushed it and that's removed .gitignore (though having .svn in there is kinda handy)
626: [10:07:09] <willmorgan> i did a reset on security/Member.php to an older version (git reset <hash> security/Member.php) but that doesn't seem to have done much
627: [10:07:40] <willmorgan> think i need to do a checkout instead
628: [10:13:32] <willmorgan> simon_w|air, let's try again :) https://github.com/silverstripe/silverstripe-framework/pull/2022
629: [10:13:58] <willmorgan> reverted the other files and then rebased, then push --force'd
630: [10:14:01] <willmorgan> thanks for your help/patience
631: [10:14:10] <simon_w|air> That's better. Now, unit tests :)
632: [10:14:25] <willmorgan> that might have to be a wee bit later today
633: [10:14:38] <willmorgan> i think it's going to be a long one
634: [10:14:44] <simon_w|air> Only got 105 minutes left!
635: [10:14:56] <willmorgan> haha, for me more like 7 hours
636: [10:15:15] <willmorgan> i'm sooo behind on this project - think i spent too much time doing opauth
637: [10:15:39] * mento has joined #silverstripe
638: [10:15:47] <willmorgan> where should I be putting these tests, btw?
639: [10:16:07] <willmorgan> just the name of the suite will do
640: [10:16:22] <simon_w|air> DataObjectTest sounds like the right place
641: [10:16:32] <willmorgan> okay, I'll keep a note of that. thanks!
642: [10:22:46] * Error404NotFound quit (Quit: User guilty of hitting the Big Red X...)
643: [10:46:43] <zippy__> I've got a list of data objects, I want to split into two columns, the number of items would change so needs to be flexible. There are template functions like odd / even etc, but how can I tell if I am half way through displaying the list so I can close the div on the first column so I can create another div?
644: [10:48:04] <zippy__> There is $Pos and $TotalItems in the template, but I can't seem to be able to pass those to a function (to work out if half way)
645: [10:48:17] * sam____ quit (Ping timeout: 250 seconds)
646: [10:50:12] <samthejarvis> i usually do that by doing something like, getSplitList($columns) {pushes every n = $columns item to a new column in an arraylist, returns arraylist}
647: [10:50:45] <samthejarvis> and in your template you loop through each of those columns
648: [10:52:14] <samthejarvis> zippy__: http://puu.sh/33Ckk.txt
649: [10:52:22] <samthejarvis> like that
650: [10:52:46] <zippy__> agh, haven't looked into the loop much, thanks
651: [10:52:56] <samthejarvis> oh, what version of SS are you using?
652: [10:53:12] <zippy__> 3.0.5
653: [10:53:22] <samthejarvis> then you're good to go :)
654: [10:53:43] <zippy__> thanks
655: [11:11:43] <Hippiee> http://hugelol.com/lol/129304
656: [11:14:16] <JohnnyJimJams> Hippiee :D
657: [11:14:26] <Hippiee> Hi :)
658: [11:15:29] <zippy__> hi
659: [11:16:04] <Colin[pi]> HI
660: [11:17:31] <zippy__> whats a sort of avg hourly rate for a php developer with 8 years commercial experience with several frameworks (linux, apache, mysql etc etc)?
661: [11:17:59] <Colin[pi]> it varies a lot
662: [11:18:02] <zippy__> should be an AND after frameworks
663: [11:18:07] <Colin[pi]> I charge $85/hour
664: [11:19:31] <zippy__> yea there would be a bit of variance I can imagine. So $55 is really at the cheaper end of the scale then in some ways
665: [11:19:53] <Colin[pi]> I believe so yes; I've heard of some going up to $125-150
666: [11:20:00] <Colin[pi]> depends on the location, experience, skill etc.
667: [11:20:00] <zippy__> crazy
668: [11:20:32] <zippy__> no other comments on anyone else?
669: [11:21:12] <willmorgan> zippy__: what country are you in?
670: [11:21:17] <zippy__> NZ
671: [11:21:25] <willmorgan> okay
672: [11:21:31] <willmorgan> N years commercial experience is kinda useless
673: [11:21:43] <willmorgan> it's more interesting what sort of projects you've worked on, their size and so on
674: [11:22:18] <zippy__> interesting
675: [11:22:23] <willmorgan> it depends on the company you want to work for. if you want to work with properly talented programmers then the company that hires you probably cares more about your skills and ideas than how many years you've been doing it
676: [11:22:29] <willmorgan> at least that's how it is in London :)
677: [11:23:01] <willmorgan> $85 NZD is about £45 GBP, which sounds about right for someone who knows what they're doing
678: [11:23:15] <zippy__> Colin[pi]: your in NZ?
679: [11:23:33] <Colin[pi]> AU
680: [11:23:46] <zippy__> gotcha
681: [11:23:47] <zippy__> brb
682: [11:24:10] <willmorgan> you could easily charge more though, maybe $110
683: [11:24:21] * zippy__ quit (Quit: zippy__)
684: [11:25:17] <Colin[pi]> yeah I've had the same rates for a while now, maybe time to review
685: [11:27:20] <priithansen> The latest silverstripe cms has "silverstripe/reports": "*" in composer requirements. What would be the right way to remove that requirement?
686: [11:29:41] <willmorgan> reviewing rates only makes sense if you're undercharging or if you're changing your target market
687: [11:30:33] <willmorgan> if you're going from small businesses to bigger ones you can charge more but a client is a client, imho
688: [11:31:48] * maknz quit (Read error: Connection reset by peer)
689: [11:38:57] * ivoba quit (Ping timeout: 248 seconds)
690: [11:53:21] * Colin[pi] quit (Ping timeout: 252 seconds)
691: [12:01:17] <kinglozzer> Can you use PartialMatch on an ArrayList? Doesn't seem to be working
692: [12:01:22] * kinglozzer lunch
693: [12:13:20] * UndefinedOffset has joined #silverstripe
694: [12:43:36] <samthejarvis> In awe, http://chrome.com/campaigns/rollit
695: [12:45:17] <MrJeremy> anyone good at xpath (jquery)?
696: [12:45:17] <MrJeremy> input[type='button'||type='submit']
697: [12:47:35] <MrJeremy> input[type='button'],input[type='submit']
698: [12:47:45] <MrJeremy> not xpath but works in jquery
699: [12:53:08] * ivoba has joined #silverstripe
700: [13:06:52] <mento> samthejarvis: some cool expirment!
701: [13:16:30] * Hippiee quit (Quit: Leaving)
702: [13:22:03] * Hippiee has joined #silverstripe
703: [13:25:01] * Colin[pi] has joined #silverstripe
704: [13:36:28] * Shrike_Finland quit (Quit: Leaving.)
705: [13:36:59] * Shrike_Finland has joined #silverstripe
706: [13:39:31] * Colin[pi] quit (Ping timeout: 252 seconds)
707: [13:41:11] * Shrike_Finland quit (Ping timeout: 256 seconds)
708: [13:45:34] * osterlaus has joined #silverstripe
709: [13:47:42] * scar has joined #silverstripe
710: [13:48:21] <scar> hey guys-- im moving a silverstripe install from one server to the next, and there is no database connection info in the _config.php -- so i still mgirated the dbs from old server to new, and added my own DB connect string, and im still getting "Server Error: Sorry, there was a problem with handling your request."
711: [14:05:17] * osterlaus quit (Quit: Leaving.)
712: [14:07:43] * johnzuh has joined #silverstripe
713: [14:08:21] <samthejarvis> hi scar, have you tried adding ?isDev=1 or Director::set_environment_type('dev'); to the _config.php?
714: [14:09:09] <scar> samthejarvis, no jas
715: [14:10:59] <scar> samthejarvis, okay it does say access denied using PW yes, but i removed my DB connection info so to have the original state-- where in the heck would they be placing the db info
716: [14:11:01] <scar> lol
717: [14:11:22] <scar> samthejarvis, never even heard of silverstripe until now, and the way this is setup seems diff from docs
718: [14:13:05] <samthejarvis> hi scar, usually the db info is defined in the _config.php, it can also be defined in an _ss_environment.php file in the root
719: [14:13:11] <samthejarvis> could you check if there's one of those?
720: [14:14:22] <samthejarvis> this should be near the to of your _config http://puu.sh/33HDg.txt
721: [14:14:28] <samthejarvis> top*
722: [14:19:50] <scar> samthejarvis, that is not in my confi :\ and i see no environmnet file
723: [14:19:54] <scar> this is crazy
724: [14:20:12] <scar> using PW with no PW defined? maybe i can var_dump $parameters ?
725: [14:20:45] <scar> or just var_dump($databaseConfig) ?
726: [14:22:06] <g4b0> chillu: can you kindly put your attention here, please? https://github.com/silverstripe/silverstripe-framework/pull/2023
727: [14:23:07] <chillu> g4b0: There's just a space missing, isn't there?
728: [14:23:27] <g4b0> yep
729: [14:23:36] <chillu> But you're right, your solution is clearer, even if more verbose - thanks!
730: [14:23:48] <g4b0> np
731: [14:24:16] <g4b0> just another question, since I think you're the only one that can answer...
732: [14:24:23] <g4b0> how can I translate that
733: [14:24:24] <g4b0> PghRegulations::add_extension( 'CustomWorkflowHolderPage("Regulations","RegulationsHolder")');
734: [14:24:28] <g4b0> in YAML?
735: [14:26:05] <chillu> have you tried it as a YAML string?
736: [14:26:13] <g4b0> ??
737: [14:27:15] <chillu> https://gist.github.com/676683b2831b0a9d3aff - haven't tried it, but that's my best guess
738: [14:28:23] <samthejarvis> scar: you'll need to put what i sent in your _config
739: [14:28:42] <samthejarvis> i don't know it went missing heh.
740: [14:29:27] <scar> samthejarvis, usually when no db info is given, it says using pw :NO
741: [14:29:29] <g4b0> it seems working
742: [14:29:45] <g4b0> ie: no errors during dev/build
743: [14:30:00] <g4b0> let's check if it really extend the DO...
744: [14:33:16] <g4b0> it works!!!
745: [14:33:41] <g4b0> thanks a lot chillu, and also thanks to kinglozzer for your try :)
746: [14:36:59] * catcher has joined #silverstripe
747: [14:37:07] * travis-ci has joined #silverstripe
748: [14:37:07] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#163 (3.1 - bd91891 : Ingo Schommer): The build passed.
749: [14:37:07] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/41faaec2d7ce...bd918915e2ec
750: [14:37:07] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/7600081
751: [14:37:07] * travis-ci has left #silverstripe
752: [14:44:12] * ivoba quit (Quit: Leaving)
753: [14:54:40] * sekjal has joined #silverstripe
754: [15:02:21] * catcher quit (Quit: Leaving)
755: [15:05:29] * JohnnyJimJams quit (Read error: Connection reset by peer)
756: [15:05:47] * g4b0 quit (Quit: Sto andando via)
757: [15:05:52] * JohnnyJimJams has joined #silverstripe
758: [15:11:50] * catcher has joined #silverstripe
759: [15:24:40] * mento quit (Quit: Page closed)
760: [15:40:27] * travis-ci has joined #silverstripe
761: [15:40:27] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#164 (3.1 - 77d65ba : Ingo Schommer): The build passed.
762: [15:40:27] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/bd918915e2ec...77d65ba76166
763: [15:40:27] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/7602210
764: [15:40:27] * travis-ci has left #silverstripe
765: [15:43:29] <kinglozzer> Something tells me I might need a more robust PartialMatchFilter replacement than just foreach() { if (stristr()); } :P
766: [15:43:49] <kinglozzer> That said, it seems to work perfectly so far
767: [15:51:34] * UncleCheese has joined #silverstripe
768: [15:52:11] <UncleCheese> I'm trying to use a custom class for MemberLoginForm, but MemberLoginForm::create() doesn't pass arguments to the constructor.
769: [15:53:43] <catcher> new instead?
770: [15:55:32] <UncleCheese> well then i can't use a custom class
771: [15:55:42] <UncleCheese> Security calls MemberLoginForm::create() so that you can inject on it
772: [15:55:53] <UncleCheese> but the Injector seems to be a bit wonky
773: [15:56:25] * travis-ci has joined #silverstripe
774: [15:56:26] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#165 (3.1 - a5b1a56 : Ingo Schommer): The build passed.
775: [15:56:26] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/77d65ba76166...a5b1a566d220
776: [15:56:26] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/7602535
777: [15:56:26] * travis-ci has left #silverstripe
778: [15:58:24] <willmorgan> UncleCheese: what are you using to use a custom class?
779: [15:59:15] <willmorgan> we're doing this: Object::useCustomClass('MemberLoginForm', 'AccountLoginForm');
780: [15:59:24] <UncleCheese> Injector:
781: [15:59:33] <willmorgan> ah
782: [15:59:35] <UncleCheese> MemberLoginForm:
783: [15:59:38] <UncleCheese> class: MyLoginForm
784: [15:59:53] <willmorgan> you could try falling back to _config.php for now :-P
785: [16:02:32] * samthejarvis quit (Quit: Page closed)
786: [16:02:41] <sekjal> hi, UncleCheese.
787: [16:02:45] <UncleCheese> hi
788: [16:02:48] <UncleCheese> Oh, ok
789: [16:02:50] * deschebbes quit (Ping timeout: 245 seconds)
790: [16:02:55] <UncleCheese> I thought that was frowned upon on 3.1?
791: [16:03:54] <sekjal> UncleCheese: I've been working on the Event Calendar module. Several pull requests and an email. Just adding "random IRC harrassment" to the list :)
792: [16:04:16] <UncleCheese> i saw
793: [16:04:31] <UncleCheese> i have a lot on my plate right now with the move, so it will be a little while
794: [16:04:40] <sekjal> fair enough
795: [16:05:17] <sekjal> I've done my (annoying) diligence. can move on to other modules for the time being
796: [16:16:32] <UncleCheese> willmorgan: That did the trick. Thanks, man
797: [16:16:50] <UncleCheese> Disappointing that the config layer doesn't seem to be working full stop.
798: [16:18:28] * johnzuh quit (Ping timeout: 252 seconds)
799: [16:23:26] <willmorgan> it's still in beta, they can get away with it ;)
800: [16:29:26] * kinglozzer quit (Remote host closed the connection)
801: [16:29:56] <UncleCheese> how do I create a new version in packagist?
802: [16:30:09] <UncleCheese> so that people can do composer install silverstripe/betterbuttons version 3.0
803: [16:30:15] * MrJeremy quit (Quit: MrJeremy)
804: [16:33:56] <willmorgan> +1
805: [16:34:06] <willmorgan> i need to do the same for some of our composer modules and i'm a noob
806: [16:36:06] * johnzuh has joined #silverstripe
807: [16:37:02] <FrozenFire> UncleCheese, Tag
808: [16:37:10] <FrozenFire> Composer has version conventions.
809: [16:37:24] <UncleCheese> yup, just discovered that
810: [16:37:25] <FrozenFire> You typically have branches for major versions (1.0, 2.0, 3.0)
811: [16:37:28] <UncleCheese> so cool!
812: [16:37:43] <FrozenFire> And then tag minor versions + revisions
813: [16:37:59] <FrozenFire> I usually get rid of my master branch altogether
814: [16:38:08] <FrozenFire> And set the symbolic-ref for my GitHub repo to my current stable branch
815: [16:38:20] <FrozenFire> Set the HEAD, that is
816: [16:40:29] * chillu quit (Read error: Connection reset by peer)
817: [16:40:34] * ^pH has joined #silverstripe
818: [16:42:50] * travis-ci has joined #silverstripe
819: [16:42:50] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#168 (3.1 - fbfcb6d : Ingo Schommer): The build passed.
820: [16:42:50] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/a5b1a566d220...fbfcb6d8aa1d
821: [16:42:50] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/7603999
822: [16:42:50] * travis-ci has left #silverstripe
823: [16:44:02] * ^pH- quit (Ping timeout: 252 seconds)
824: [16:49:36] * travis-ci has joined #silverstripe
825: [16:49:37] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#169 (3.1 - 657c203 : Che Van Lawrence): The build passed.
826: [16:49:37] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/fbfcb6d8aa1d...657c2033ae51
827: [16:49:37] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/7604033
828: [16:49:37] * travis-ci has left #silverstripe
829: [17:00:47] * Colin[pi] has joined #silverstripe
830: [17:18:55] * UncleCheese quit (Quit: UncleCheese)
831: [17:20:40] * UncleCheese has joined #silverstripe
832: [17:48:30] * Shrike_Finland has joined #silverstripe
833: [18:03:48] * willmorgan quit (Ping timeout: 252 seconds)
834: [18:08:38] * PigeonFriend quit ()
835: [18:08:59] * MiniZeka has joined #silverstripe
836: [18:10:41] <MiniZeka> is there a way to make sure that requireDefaultRecords in some model is executed last, after all tables are created?
837: [18:23:30] * UncleCheese quit (Quit: UncleCheese)
838: [18:27:59] <UndefinedOffset> MiniZeka could create a dataobject with a name of ZZMyObject or something like that (hack i know)
839: [18:28:36] <UndefinedOffset> just override requireTable() to make sure it does nothing, i think that should stop the table from being created :S
840: [18:30:38] <MiniZeka> I created one called XModel
841: [18:31:12] <MiniZeka> but although I don't have any other model which starts with letters X, Y or Z
842: [18:31:27] <MiniZeka> I see it in the middle of dev/build report
843: [18:32:58] <UndefinedOffset> hmm ya dunno, may need to even create a module that contains that class, say module named XModule. Which I think would force it to the bottom of the manifest which should make it happen last
844: [18:34:32] * Shrike_Finland quit (Quit: Leaving.)
845: [18:36:58] <MiniZeka> UndefinedOffset: even worse (with a module) - it actually moved up (executed earlier)
846: [18:42:02] <UndefinedOffset> weird, not sure then sorry :(
847: [18:46:10] <MiniZeka> do you know by chance where classes are gathered for dev/build?
848: [18:47:25] <MiniZeka> in public function regenerate($cache = true) (framework/core/manifest/ClassManifest.php)?
849: [18:48:33] * JohnnyJimJams_ has joined #silverstripe
850: [18:48:36] * JohnnyJimJams quit (Read error: Connection reset by peer)
851: [18:48:44] * JohnnyJimJams_ is now known as JohnnyJimJams
852: [18:59:15] * pex has joined #silverstripe
853: [19:02:48] <MiniZeka> fixed it - just extended SS_ClassManifest and added ksort after gathering classes :)
854: [19:17:39] * chillu has joined #silverstripe
855: [19:30:37] * SightUnseen has joined #silverstripe
856: [19:30:50] * SightUnseen has left #silverstripe
857: [19:35:05] * zfmf1 has joined #silverstripe
858: [19:43:30] * zippy__ has joined #silverstripe
859: [19:43:41] <zippy__> Morning
860: [19:50:13] <MiniZeka> 'Evening zippy__
861: [19:53:06] * pex1 has joined #silverstripe
862: [19:54:56] * pex quit (Ping timeout: 276 seconds)
863: [19:54:58] * zippy__ quit (Ping timeout: 276 seconds)
864: [20:06:37] * gelignite has joined #silverstripe
865: [20:25:47] * DigNZ has joined #silverstripe
866: [20:31:33] * MiniZeka quit (Ping timeout: 250 seconds)
867: [20:36:29] * scpi has joined #silverstripe
868: [20:37:19] * UndefinedOffset quit (Quit: Leaving.)
869: [20:37:53] * scpi has left #silverstripe
870: [20:38:12] * scpi has joined #silverstripe
871: [20:49:09] * scpi has left #silverstripe
872: [20:51:01] * Pyromanik has joined #silverstripe
873: [20:51:49] * zfmf1 has left #silverstripe
874: [20:53:16] * sekjal quit (Quit: Leaving)
875: [20:59:15] <unsigned_> hey can anyone remember the name of that silverstripe plugin that cleans up the database of all the unneeded tables/columns?
876: [20:59:31] * unsigned_ is now known as unsignedint
877: [21:00:31] <simon_w> dbplumber
878: [21:00:48] * pex1 quit (Quit: pex1)
879: [21:01:47] * Liquide has joined #silverstripe
880: [21:02:05] <unsignedint> hmm seems to be 2.4 only and hasnt been updated in 2 years
881: [21:02:59] <simon_w> Still works great in 2.4
882: [21:11:02] * SightUnseen1 has joined #silverstripe
883: [21:11:40] * SightUnseen1 quit (Client Quit)
884: [21:13:46] * pex has joined #silverstripe
885: [21:14:42] <irogue> Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.20 Safari/537.36 OPR/15.0.1147.18 (Edition Next)
886: [21:14:59] <irogue> ah, the levels of fakery
887: [21:16:00] <simon_w> Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_4) AppleWebKit/537.44+ (KHTML, like Gecko) Version/6.0.5 Safari/536.30.1
888: [21:16:00] <simon_w> Much nicer :)
889: [21:16:02] * zippy__ has joined #silverstripe
890: [21:16:07] <zippy__> hi
891: [21:18:46] <irogue> simon_w: i'm trying out the new Opera, if you didn't guess
892: [21:18:58] <simon_w> I gathered as much
893: [21:19:18] <simon_w> I'm on a webkit nightly if you're not used to seeing the +
894: [21:20:24] <simon_w> Come on you silly script, flood me with emails
895: [21:24:58] <johnzuh> Good evening folks
896: [21:25:20] <johnzuh> johnzuh, edit /etc/apache2/httpd.conf, in the <Directory "/Library/WebServer/Documents"> block set AllowOverride to All
897: [21:25:22] <johnzuh>
898: [21:25:23] <johnzuh> simon_w Also, make sure the "LoadModule rewrite_module libexec/apache2/mod_rewrite.so" line isn't commented (shouldn't start with a #)
899: [21:25:59] <johnzuh> I have performed the above actions but still have the same mod_rewrite and AllowOverride All fatal errors during installation
900: [21:26:28] <simon_w> They should only be warnings, and have you restarted apache?
901: [21:26:39] <johnzuh> ok
902: [21:27:35] <johnzuh> let me do that now
903: [21:34:36] <irogue> simon_w: ah yeah, had a suspicion that'd be what the + was. also explains why your webkit version is higher than the one in a brand new beta browser :P
904: [21:35:03] <simon_w> irogue, helps that I'm actually running WebKit :p
905: [21:36:42] * SightUnseen has joined #silverstripe
906: [21:39:58] * SightUnseen has left #silverstripe
907: [21:40:12] * johnzuh quit (Remote host closed the connection)
908: [21:47:13] * travis-ci has joined #silverstripe
909: [21:47:13] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#171 (3.1 - 1ffbbb5 : Ingo Schommer): The build passed.
910: [21:47:13] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/657c2033ae51...1ffbbb53775a
911: [21:47:13] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/7613336
912: [21:47:13] * travis-ci has left #silverstripe
913: [21:48:43] * spronk has left #silverstripe
914: [21:48:49] * spronk has joined #silverstripe
915: [21:48:52] * spronk has left #silverstripe
916: [21:52:33] * willr_ has joined #silverstripe
917: [21:53:55] <simon_w> Huh, just found out I've got a Drupal account by them sending me an email saying they got haxored
918: [21:56:12] <ss23> lol
919: [21:56:28] <xyphoid_> Me too
920: [21:58:53] * scar quit (Quit: Leaving)
921: [22:11:54] * EasyCo has joined #silverstripe
922: [22:19:45] <JohnnyJimJams> Good news!
923: [22:19:52] <JohnnyJimJams> I'm back.
924: [22:19:55] <JohnnyJimJams> Stay calm.
925: [22:20:06] <ss23> Yay!
926: [22:21:02] * spronk has joined #silverstripe
927: [22:23:49] <simon_w> Good news everybody! I'm taking two weeks holiday starting Saturday
928: [22:25:22] <ss23> Yay!
929: [22:25:25] <ss23> simon_w: Are you going to CAnbera?
930: [22:25:31] <simon_w> A little
931: [22:25:33] <ss23> simon_w: :D
932: [22:25:36] <ss23> When are you getting MARRIED?!
933: [22:25:41] <ss23> :3
934: [22:25:59] <simon_w> Only three days there though
935: [22:26:03] <simon_w> No idea :p
936: [22:26:06] <ss23> XD
937: [22:26:14] <spronk> dude
938: [22:26:16] <spronk> go to Kenya
939: [22:26:18] <spronk> they've got lions
940: [22:26:23] <ss23> lol
941: [22:26:26] <spronk> forget norway!
942: [22:28:49] <simon_w> I know someone that went on a missions trip to Kenya. Her build up fundraising stuff was almost entirely done around that
943: [22:29:25] <ss23> Lions?
944: [22:30:52] <spronk> GIRAFFES?
945: [22:30:59] <simon_w> http://www.weebls-stuff.com/songs/kenya/
946: [22:31:05] <spronk> :D
947: [22:31:07] <spronk> <3
948: [22:31:26] <spronk> lucky simon_w
949: [22:31:31] <spronk> you're *almost* too young to know about this stuff
950: [22:31:40] <ss23> aw yeah, simon_w
951: [22:31:48] <ss23> spronk: No way, man :O
952: [22:31:54] <ss23> I know people younger than me who know
953: [22:32:27] <spronk> how old are you, ss23?
954: [22:32:29] <simon_w> I also like http://www.weebls-stuff.com/wab/jelly/
955: [22:32:41] <spronk> man, whatever happened to weebl and bob..
956: [22:32:55] * spronk used to religiously watch new eps of that
957: [22:33:34] <ss23> spronk: 21
958: [22:33:41] <simon_w> He tried making himself out of jelly
959: [22:33:45] <spronk> awesome
960: [22:34:01] <spronk> you younguns still get to appreciate what the internet had to offer back when it was still good
961: [22:34:24] <ss23> http://www.weebls-stuff.com/wab/anywhere/ -- it was a sad day for the business with the number "0800 MONKEY" the day we found this.
962: [22:34:32] <simon_w> Also, it turned out that the phrase on the shirt I was wearing yesterday is potentially older than I am
963: [22:36:30] <xyphoid_> oh man now I need to watch magical trevor again
964: [22:36:37] <spronk> he's ever so clever
965: [22:37:10] <spronk> guys
966: [22:37:28] <ss23> look at him now
967: [22:37:36] <ss23> disappearing a cow!
968: [22:37:42] <spronk> WHERE IS THE COW??!
969: [22:38:06] <spronk> ..?
970: [22:38:50] <spronk> ss23: where is the cow?!!?!?!?
971: [22:39:26] <spronk> talk about leaving me hanging
972: [22:39:29] <ss23> HEADING RIGHT NOW
973: [22:39:33] <ss23> sorry ;_;
974: [22:39:35] <ss23> I'm trying to work :<
975: [22:39:42] <catcher> hidden!
976: [22:39:48] <spronk> :D
977: [22:40:05] <spronk> i'm trying to figure out why the fuck silverstripe is complaining that my ProductPage_versions table has no ClassName field
978: [22:40:23] <ss23> spronk: Maybe your ProductPage_versions table has no ClassName field?
979: [22:40:37] <spronk> ever seen this one before, simon_w ? after a CMS upg + fw upg + some new page subclasses
980: [22:40:41] <spronk> SHUSH YOU
981: [22:40:49] <spronk> :)
982: [22:40:58] <ss23> :D
983: [22:41:12] <spronk> SS generated the damn table
984: [22:42:10] * Pat_Ts has joined #silverstripe
985: [22:42:21] <ss23> spronk: Does it really have that field?
986: [22:42:28] <spronk> nope
987: [22:42:33] <spronk> solved
988: [22:42:36] <Pat_Ts> can anyone tell me how I can get SS to accept double quotes from a text field to return in a url?
989: [22:42:43] <spronk> deleted all the ProductPage* tables and let /dev/build rebuild them
990: [22:42:49] <ss23> spronk: weiiiird
991: [22:42:51] <spronk> also, http://www.weebls-stuff.com/wab/merchandise/
992: [22:42:58] <ss23> spronk: 3.1 or 3.0?
993: [22:43:26] <spronk> 3.0.5
994: [22:43:31] <simon_w> spronk, that'd happen if ProductPage has a ClassName column in it
995: [22:43:53] <spronk> it doesn't :(
996: [22:44:02] <spronk> not sure what caused it
997: [22:47:21] * Pat_Ts quit (Quit: Page closed)
998: [22:51:37] * pex quit (Quit: pex)
999: [22:54:49] * simon_w quit (Ping timeout: 256 seconds)
1000: [23:01:19] * simon_w has joined #silverstripe
1001: [23:02:06] * catcher quit (Quit: Leaving)
1002: [23:05:00] * Marvanni quit (Ping timeout: 246 seconds)
1003: [23:13:11] * guci0 quit (Ping timeout: 250 seconds)
1004: [23:16:05] * gelignite quit (Quit: http://bit.ly/nkczDT)
1005: [23:20:23] * Marvanni has joined #silverstripe
1006: [23:44:35] * joelpittet has joined #silverstripe
1007: [23:50:32] * Leo____ has joined #silverstripe
1008: [23:51:22] <Leo____> hi! anibody here?
1009: [23:51:29] <ss23> Of course
1010: [23:51:30] <ss23> :)
1011: [23:52:27] <Leo____> hi!
1012: [23:52:56] <Leo____> i have a problem that i don't know how to fix :S
1013: [23:53:16] <Leo____> can you help me?
1014: [23:55:04] * zippy__ quit (Quit: zippy__)
1015: [23:55:19] <JohnnyJimJams> Hey Leo____ what's the issue?
1016: [23:55:53] * ss23 quit (Remote host closed the connection)
1017: [23:56:09] <Leo____> hi! i'm going to try to explain the better i can! my english really sucks
1018: [23:58:11] * chillu quit (Quit: chillu)
1019: [23:58:35] * ss23 has joined #silverstripe
1020: [23:58:42] * ss23 quit (Client Quit)
1021: [23:59:20] * ss23 has joined #silverstripe

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