#silverstripe IRC Log

IRC log for 21 June 2013

All timestamps are in UTC.

1: [00:00:15] <simon_w> yes
2: [00:02:11] * nickmolhoek has joined #silverstripe
3: [00:02:11] * nickmolhoek quit (Remote host closed the connection)
4: [00:02:26] * nickmolhoek has joined #silverstripe
5: [00:18:35] <ss23> simon_w: Where do I know the name "Brenda Wallace" from? Is she famous?
6: [00:19:22] <simon_w> ss23, Fairly big in the NZ OSS community
7: [00:19:29] <ss23> Hmm okay
8: [00:19:53] <simon_w> Works at Weta, goes by shiny
9: [00:20:15] * Colin[pi] has joined #silverstripe
10: [00:20:50] <simon_w> Used to work at Catalyst
11: [00:20:57] <ss23> cool, np
12: [00:21:05] <ss23> I just reocgnized her name, wasn't sure where from
13: [00:25:56] <Pyromanik> simon_w: $do->getField('Title') - will this leverage DO::getTitle() that I've defined?
14: [00:26:08] <simon_w> Pyromanik, no
15: [00:26:29] <Pyromanik> simon_w: sweet, so it's safe to use inside getTitle() to get $db=>Title?
16: [00:26:39] <simon_w> Yup
17: [00:26:41] <Pyromanik> err, $db['Title'}
18: [00:26:44] <Pyromanik> sweet, cheers
19: [00:26:58] <Pyromanik> simon_w: it returns object like $this->dbObject('Title') or value?
20: [00:27:10] <simon_w> value
21: [00:27:18] <Pyromanik> looks like object but i'm not... oh
22: [00:27:20] <Pyromanik> sweet :>
23: [00:27:21] <Pyromanik> ta
24: [00:29:02] <Pyromanik> omg, apparent success
25: [00:29:05] <Pyromanik> :D
26: [00:38:43] <simon_w> Bah, pizza delivery dude made me go outside! Defeated point of delivery
27: [00:40:14] <spronk> so
28: [00:40:17] <spronk> you guys all dead up there?
29: [00:40:37] <simon_w> Yu[
30: [00:40:39] <simon_w> Yup
31: [00:41:50] * trent001_ quit (Remote host closed the connection)
32: [00:52:08] <AlphaCactus> up?
33: [00:53:29] <simon_w> From Christchurch
34: [00:59:28] * coldblooded01 has joined #silverstripe
35: [01:01:23] <spronk> cool
36: [01:04:57] * trent001 has joined #silverstripe
37: [01:08:00] <simon_w> Also, looks like work still has power and internet
38: [01:11:57] * willr_ quit (Quit: willr_)
39: [01:15:12] * EasyCo has joined #silverstripe
40: [01:24:21] <Pyromanik> AlphaCactus: when you live just North of Antartica, everything is 'up'
41: [01:27:58] <Pyromanik> Antarctica*
42: [01:34:14] <ss23> Uknown command: awat
43: [01:36:13] <Pyromanik> awat
44: [01:37:02] <simon_w> Careful, it's uknown
45: [01:38:54] <Jayden90> I asked this the other day, there does not seem to be an obveous answer: Is there a way to get TinyMCE editors with custom configuration where needed. i.e. several on one page, edititing difirent page sections. Or an editor tailored properly to each page template.
46: [01:41:21] <ss23> unknown
47: [01:41:22] <ss23> :<
48: [01:56:32] <ss23> return $this->owner->renderWith('countdownwidget/templates/countdown');
49: [01:56:54] <ss23> In an extension, return the HTML from the template in the module directory
50: [01:56:57] * coldblooded01 quit (Quit: coldblooded01)
51: [02:00:06] <simon_w> ->renderWith('countdown')
52: [02:00:15] <ss23> ty
53: [02:00:36] * DigNZ quit (Quit: DigNZ)
54: [02:02:49] * nickmolhoek quit (Quit: nickmolhoek)
55: [02:05:52] * Shrike_Finland quit (Ping timeout: 246 seconds)
56: [02:17:36] * dospuntocero quit (Remote host closed the connection)
57: [02:30:22] * trent001_ has joined #silverstripe
58: [02:30:38] * trent001 quit (Ping timeout: 260 seconds)
59: [02:34:36] * atmos has joined #silverstripe
60: [02:34:52] <atmos> afternoon all - could anyone tell me what's going on here? It looks like pagination isn't working http://www.tasmanlibraries.govt.nz/home/SearchForm?Search=library&action_results=Search&mode=pages
61: [02:35:17] <atmos> ...shoving some search results up into the left...
62: [02:37:38] <atmos> anyone?
63: [02:38:17] * Jayden90 quit (Quit: Jayden90)
64: [02:48:39] <irogue> atmos: weird
65: [02:49:41] <irogue> sspaste your template file?
66: [02:52:09] <Pyromanik> simon_w: will method_exists() pick up extension applied methods too?
67: [02:52:18] <Pyromanik> or is there some kind of SS equiv. I can call?
68: [02:52:21] <simon_w> Pyromanik, nope. Use ->hasMethod
69: [02:52:27] <Pyromanik> ah sweet, thanks
70: [02:54:02] <atmos> <irogue> I'm trying to figure out what template that page is using
71: [02:54:32] <Pyromanik> atmos: http://www.tasmanlibraries.govt.nz/home/SearchForm?Search=library&action_results=Search&mode=pages&debug_request&isDev=1
72: [02:56:00] <Pyromanik> but my guess is Page_results.ss
73: [02:56:07] <ss23> simon_w: [User Warning] None of these templates can be found in theme 'gisborne': countdown.ss
74: [02:56:13] <atmos> <pyromanik> will take a gander now
75: [02:56:22] <ss23> Looks like it's looking in the theme dir, not countdownwidget/templates/countdown.ss
76: [02:57:15] <Pyromanik> ss23: FLUSH!
77: [03:03:03] <atmos> <pyromanik> not that page at least
78: [03:03:56] <atmos> <pyromanik> http://www.sspaste.com/paste/show/51c3c23cb4270
79: [03:04:18] <ss23> Pyromanik: FUCK, OKAY
80: [03:04:33] <ss23> Pyromanik: I am a dummy.
81: [03:04:46] <ss23> ty
82: [03:07:37] <atmos> it looks like it's inserting <li> elements outside of the content div
83: [03:08:59] <irogue> atmos: <img class="right" src="assets/Libraryphotos/learningpod.JPG" alt="Photo of Library Learning...</p>
84: [03:09:23] <irogue> looks like it's truncating in the middle of an HTML tag
85: [03:09:30] <irogue> which is breaking all of the formatting
86: [03:10:02] <irogue> might be a bug in the Abstract() method?
87: [03:12:11] <atmos> <irogue> thanks, will take a look
88: [03:13:54] <ss23> damn, passing variables to a template from an extension?
89: [03:14:28] <ss23> $this->renderWith('countdown', array(variables)); or something
90: [03:14:56] <ss23> I know normally they just go for object properties, but any way to do it just for the renderWith call?
91: [03:16:17] * MrJeremy has left #silverstripe
92: [03:16:25] <ss23> oh actually dw I can work around it
93: [03:16:33] * guzz_afk is now known as guzzlefry
94: [03:17:10] <EasyCo> simon_w: I ended up having to add one more leftJoin to the query to get everything I needed from the many_many relationship you helped me with yesterday. I guess it's cause doing it "manually" and not using the search filter ends up not giving me access to the SiteTree_Live fields of the other side of the many_many relation.
95: [03:17:18] <EasyCo> https://gist.github.com/trev/5828556
96: [03:18:22] <ss23> $CountdownEventdate.format('F d, Y') almost at least, how 2 do dis?
97: [03:18:23] <EasyCo> Anywho, it seems to work fine so I'm stoked.
98: [03:20:26] <ss23> Pyromanik~ simon_w~ irogue~
99: [03:21:08] <ss23> I can't figure out how to format that date thing like that
100: [03:21:26] <ss23> Is this part of that stupid templating 'feature' where you can't pass anything parameters?
101: [03:23:06] <atmos> <irogue> it was a weird issue where the alignment of images in the editor was wrong (left aligned with tabs, rather than right aligned with text wrapping)
102: [03:23:14] <ss23> worked around it, still lame
103: [03:24:01] <simon_w> ss23, you're on 2.4?
104: [03:26:14] <Pyromanik> huh?
105: [03:26:51] <ss23> simon_w: Yeah, quite often I am :<
106: [03:26:57] * ss23 preens
107: [03:27:17] <Pyromanik> ss23: renderWith('Template', array(allthecustomisations));
108: [03:27:17] <ss23> "Hi Stephen. Got it! Thanks so much for explaining that so clearly. Totally awesome. :) Have a lovely weekend, whatever the weather brings."
109: [03:27:26] <ss23> Pyromanik: What are customizations?
110: [03:27:29] <ss23> Template variables?
111: [03:27:44] <Pyromanik> 15:13 < ss23> damn, passing variables to a template from an extension?
112: [03:27:44] <Pyromanik> 15:13 < ss23> $this->renderWith('countdown', array(variables)); or something
113: [03:27:47] <Pyromanik> 15:14 < ss23> I know normally they just go for object properties, but any way to do it just for the renderWith call?
114: [03:28:16] <ss23> Yes, I saw the API thing and it said "customizations", but I didn't know what those are, and they didn't sound like template variables to me
115: [03:28:16] <Pyromanik> or, $this->customise(array(allthevars))->renderWith(array(templatelist))
116: [03:28:29] <Pyromanik> customise injects template vars, yes.
117: [03:28:32] <ss23> aw
118: [03:28:35] <Pyromanik> including overriding existing ones
119: [03:28:37] <ss23> What a deceptive name.
120: [03:29:04] <Pyromanik> eg array('Content'=>'blah blah') will always override $this->Content on the page
121: [03:29:17] <Pyromanik> ss23: how is it deceptive?
122: [03:30:03] <Pyromanik> ss23: $Date.Format(F d, Y)
123: [03:30:11] <Pyromanik> except comma will eat you in 2.4
124: [03:30:14] <ss23> lol
125: [03:30:18] <Pyromanik> I'm not sure if it likes strings on the fly
126: [03:30:18] <ss23> comma ate me
127: [03:30:22] <ss23> But uh
128: [03:30:36] <ss23> It's deceptive because it uses "template variables" everywhere, and never ever mentions "Customisations"
129: [03:30:40] <ss23> Then changes temrinology!
130: [03:31:07] <Pyromanik> ss23: but it customises the object by changing what comes out in the view layer.
131: [03:32:21] * guzzlefry has left #silverstripe
132: [03:33:00] <ss23> I'm not saying it's deceptive because it doesn't describe what happens on some level, I'm saying it's deceptive because it's a change in terminology
133: [03:33:20] * SightUnseen has joined #silverstripe
134: [03:33:54] * SightUnseen has left #silverstripe
135: [03:41:42] <simon_w> ss23, but you can use the customisations outside of the template too
136: [03:41:51] <Pyromanik> does FrozenFire still here?
137: [03:42:20] <Colin[pi]> I think you accidentally a word
138: [03:45:00] <unsignedint> how do I shot web?
139: [03:45:06] <ss23> I just an entire coke
140: [03:45:24] <Colin[pi]> you know when you and then well this is accidentally the WHOLE thing
141: [03:45:33] <ss23> lol
142: [03:46:07] <simon_w> Screw it, I'm just not going to be in here this weekend now! :p
143: [03:46:13] <Colin[pi]> the opening is the best... "I accidentally a coca-cola bottle... You accidentally what? A coca-cola bottle."
144: [03:46:25] <unsignedint> hahahaha
145: [03:47:17] <ss23> simon_w: ;_;
146: [03:47:18] <ss23> simon_w: Why!
147: [03:47:20] <ss23> simon_w: WE'LL DIE
148: [03:47:29] <simon_w> ss23, You just had two weeks without me!
149: [03:47:36] <ss23> simon_w: AND I DIED ALMOST
150: [03:47:42] <Colin[pi]> here it is: http://img521.imageshack.us/img521/1936/614pxaccidentallycokerwim1.jpg
151: [03:47:44] <ss23> That's why I'm fat, I had to eat chocolate to console myself.
152: [03:47:48] <simon_w> And now the wind can finish the job!
153: [03:48:44] <FrozenFire> Pyromanik, Ish
154: [03:49:04] <FrozenFire> Bigger and better things going on for me nowadays, but I'm still around-ish
155: [03:49:10] <ss23> simon_w: Why will you be away?
156: [03:49:17] <simon_w> ss23, youth group camp
157: [03:49:23] <ss23> FrozenFire finally got his dream job. Docs guy.
158: [03:49:32] <ss23> simon_w: Aw k, you are forgiven
159: [03:50:12] <FrozenFire> I'm a docs guy now? :P
160: [03:50:17] <ss23> 'now'?
161: [03:50:21] <ss23> You were *born* a docs guy!
162: [03:50:34] <FrozenFire> This is true, however I didn't know I was a professional docs guy. :P
163: [03:51:06] <ss23> lol
164: [03:51:10] <FrozenFire> Instead I'm now handling a significant portion of the internet-related SMS traffic for the world. :P
165: [03:53:52] <unsignedint> FrozenFire: who do you work for?
166: [03:54:12] <FrozenFire> Heh. This is a long spiel of names. :P
167: [03:54:16] * cloph_away has joined #silverstripe
168: [03:54:19] <FrozenFire> Roave, formerly MediaTech Designs
169: [03:54:31] <FrozenFire> As the lead (and generally only) developer for SMSCloud
170: [03:54:33] * cloph quit (Ping timeout: 264 seconds)
171: [03:55:17] <unsignedint> oh right
172: [03:55:27] <unsignedint> I have been using SMSGlobal for my sites that have a SMS component
173: [03:55:34] <EasyCo> Roave the Border Collie?
174: [03:56:40] <ss23> wah, I release a fix to staging "OMG U BROKE IT"
175: [03:56:42] <ss23> but I cannot reproduce
176: [03:56:42] <FrozenFire> Heh, yeah. Our logo is a dog's head.
177: [03:56:43] <ss23> rawr
178: [03:56:48] <ss23> rage, this client wants too much
179: [03:56:49] <Pyromanik> Roave that aussie celebrity?
180: [03:56:51] <ss23> I want to work with the nice cleints only.
181: [03:56:55] <ss23> That's Rove, Pyromanik
182: [03:56:56] <Colin[pi]> Rove
183: [03:57:12] <EasyCo> I like the logo
184: [03:57:16] <trent001_> Man I'm having to do a Drupal job atm :(
185: [03:58:17] <Colin[pi]> :C
186: [03:59:55] <ss23> fucking bullshit this client
187: [03:59:58] <ss23> "I found two new bugs"
188: [04:00:07] <ss23> No, you found two *Existing* bugs
189: [04:00:46] <ss23> dammit I blame simon_w
190: [04:00:51] <ss23> he goes away for a weekend, and this client is lame
191: [04:00:56] <simon_w> I blame simon_w too
192: [04:01:04] <ss23> ^^^^^
193: [04:01:47] <simon_w> And this guy in here had better hurry up and finish. I wanna go home!
194: [04:03:02] * chrisrio quit (Quit: Page closed)
195: [04:03:16] * Peavers quit ()
196: [04:03:36] <ss23> I wanna stay late and work, might jsut set up ssh tunnel and work from home
197: [04:03:55] <simon_w> I've got to pack and stuff before 5 :p
198: [04:04:05] <simon_w> Also, only one here with a key
199: [04:04:44] <simon_w> Yay! He's gone!
200: [04:04:49] <simon_w> Home time! :)
201: [04:06:05] <ss23> YAY
202: [04:06:07] <ss23> Cya, simon_w <3
203: [04:17:21] * EasyCo_ has joined #silverstripe
204: [04:17:27] * atmos quit (Ping timeout: 250 seconds)
205: [04:18:07] * EasyCo quit (Ping timeout: 252 seconds)
206: [04:18:07] * EasyCo_ is now known as EasyCo
207: [04:36:06] <Pyromanik> and then there was beer
208: [04:36:37] <Pyromanik> your first Friday at SS ss23 :>
209: [04:36:40] <Pyromanik> ?
210: [04:45:32] * trent001_ quit (Ping timeout: 240 seconds)
211: [04:47:23] <ss23> Pyromanik: Yep, but no beer that I can see!
212: [04:47:32] <ss23> Instead, just clients "I WANT IT RELEASED *NOW* DAMMIT"
213: [04:49:09] * trent001 has joined #silverstripe
214: [04:56:28] <irogue> http://isitbeeroclockyet.silverstripe.com
215: [04:56:38] <irogue> its cos its too early, ss23 / Pyromanik!
216: [04:58:44] <ss23> lol
217: [04:58:46] <ss23> It is.
218: [04:58:50] <ss23> They got out the wine too
219: [04:58:50] <ss23> o/
220: [04:59:15] <ss23> this client is angry
221: [04:59:21] <supernovah> I wish this chat wasn't logged right now lol
222: [05:00:07] <ss23> Why's that?
223: [05:00:32] <supernovah> Because I want so god damned hard and have no friends
224: [05:00:41] <supernovah> Half my text didn't show up just now
225: [05:00:48] <supernovah> Because I want to rage so god damned hard*
226: [05:00:54] <ss23> lol
227: [05:03:06] <supernovah> And I can't afford to drink because of exams but I want to so much
228: [05:03:06] * trent001 quit (Remote host closed the connection)
229: [05:03:22] <supernovah> And I'm not sure if I should care about my exams because my parents won't pay for my education
230: [05:05:04] <ss23> You make me confusd
231: [05:05:11] <ss23> You have no money, and so you're mad you can't *drink*?
232: [05:05:23] <ss23> Maybe if drinking is so important, thats why you're poor!
233: [05:05:33] <supernovah> I've been through rehab
234: [05:05:38] <supernovah> Already
235: [05:05:44] <supernovah> And in hospital twice with heart failure
236: [05:05:48] <supernovah> I know I have issues lol
237: [05:08:11] * Jayden90 has joined #silverstripe
238: [05:08:36] <supernovah> Worst of all my DAC won't turn on ARGH
239: [05:13:51] * spronk quit (Read error: Connection reset by peer)
240: [05:14:14] * spronk has joined #silverstripe
241: [05:17:40] <ss23> >.<
242: [05:21:13] <irogue> WHY
243: [05:21:27] <irogue> why does everyone stupid always call at 5:20pm on a friday?
244: [05:21:48] <irogue> "I AM I.T. EXPERT. HOW TO PORT FORWARD?"
245: [05:23:43] <spronk> loool
246: [05:25:15] <irogue> whoa, this guy's a friendly looking chap: https://www.police.govt.nz/news/release/35381.html
247: [05:25:22] <Jayden90> Having the same problem as described here, but dont understand the answer… http://www.silverstripe.org/customising-the-cms/show/20866
248: [05:26:05] <Jayden90> I dont have getCMSFields() in the gridfield DataObject
249: [05:26:12] <Jayden90> Just getCMSFields_forPopup()
250: [05:43:44] <supernovah> No, SS builds one itself
251: [05:43:51] <supernovah> you can reject it with the code that guy pasted I guess
252: [05:45:30] <supernovah> The default getCMSFeilds() is a part DataObject
253: [05:45:34] <supernovah> part of*
254: [05:47:51] <spronk> "i am professional joomla developer this ss site would take me less than a week in joomla"
255: [05:48:08] * spronk KILLS WITH STABBING
256: [05:48:09] <supernovah> lol where's that from spronk
257: [05:48:15] <spronk> some guy i'm working with
258: [05:48:24] <spronk> irogue: don't be hating on my cuzzy
259: [05:49:05] <supernovah> Does the guy you talked to work in PHP
260: [05:49:33] <spronk> attempts to
261: [05:49:36] <spronk> lol
262: [05:50:12] <irogue> spronk: rofl
263: [05:50:28] <irogue> oh god
264: [05:50:31] <irogue> just got news from draytek
265: [05:50:40] <irogue> instantly gave me a slight chub
266: [05:51:03] <spronk> hm?
267: [05:51:40] <irogue> we suggested a new product a while back
268: [05:51:47] <supernovah> I would have replied "Is that a compiled language or an interpreted language?"
269: [05:51:50] <supernovah> irogue
270: [05:52:00] <irogue> without telling us, they've been working on it in the backgrounf
271: [05:52:04] <irogue> *d
272: [05:52:30] <irogue> now they're like "WE WILL SHIP YOU THE FIRST BATCH IN LATE JULY"
273: [05:52:41] <irogue> and we're like "wait, what, you actually did it?"
274: [05:52:49] <spronk> dawg
275: [06:03:01] <ss23> daaawg
276: [06:03:13] <ss23> this support system randomly appended someone eleses signature to my message
277: [06:03:18] <EasyCo> you like dags?
278: [06:03:19] <ss23> I am now stephen@silverstripe.com, aka "Joel"
279: [06:03:58] <irogue> lol
280: [06:04:07] <irogue> you are henceforth Joel
281: [06:04:22] <spronk> wait
282: [06:04:23] <spronk> what
283: [06:06:02] <ss23> OMG
284: [06:06:04] <ss23> IT'S DOING IT AGAIN
285: [06:06:08] <ss23> WHY IS IT MAKING ME JOEL
286: [06:06:09] <ss23> WTF
287: [06:06:24] <ss23> HOW TO NOT JOEL
288: [06:07:07] <ss23> ;_;
289: [06:07:10] <ss23> These clients are going to be like...
290: [06:07:15] <ss23> "IS HE STEPHEN OR JOEL?
291: [06:07:16] <ss23> "
292: [06:07:42] <supernovah> I need to know the dielectric properties of Welbond glue when cured hmm
293: [06:08:05] <spronk> just roll with it man
294: [06:09:36] <ss23> Oh it's not just me
295: [06:09:41] <ss23> The entire Silverstripe is now Joel.
296: [06:10:46] <irogue> hahahaha
297: [06:11:15] <irogue> joel's the after hours guy, he replies to everyone's tickets on their behalf so they can drink beer
298: [06:11:23] <ss23> "Can I get access to this server? Cheers, Joel" "You now have access to servers. Cheers, Joel."
299: [06:11:30] <ss23> haha
300: [06:12:25] <irogue> is it bad that i'm so lazy i haven't gone home yet?
301: [06:12:33] <spronk> lol
302: [06:12:34] <spronk> mm
303: [06:12:38] <spronk> i know that one
304: [06:12:39] <ss23> irogue: KNOW THAT FEEL
305: [06:12:42] <irogue> i'm the last one here
306: [06:12:48] <ss23> I could go home, or I could stay here and eat pizza and it would be just like being home
307: [06:12:50] <irogue> so i have to go around the building turning lights off and locking up
308: [06:12:56] <irogue> and the rest of the building hasn't had heaters on
309: [06:13:03] <ss23> But I am going home, since I have to deal with busses
310: [06:13:42] <irogue> wellington buses at that
311: [06:14:13] <EasyCo> SilverStripe + EmberData + EmberJS. Not bad, a lot easier then I thought :)
312: [06:42:44] * Colin[pi] quit (Ping timeout: 264 seconds)
313: [06:47:31] * mobiusnz quit (Quit: Leaving.)
314: [06:55:59] <supernovah> Can you make a DataObject::get in the $db function of a page or page_controller?
315: [06:56:22] <supernovah> Or in another DataObject for that matter
316: [07:14:07] <EasyCo> $db function? $db should be a static var
317: [07:17:53] * mobiusnz has joined #silverstripe
318: [07:17:54] <supernovah> oh it is too
319: [07:19:23] <supernovah> sorry I meant defaults zzz
320: [07:19:43] <supernovah> I want to adjust my default to the value of a table
321: [07:19:49] <supernovah> Should I just do it in the controller...
322: [07:20:04] <supernovah> when I write();
323: [07:26:50] <EasyCo> I'm not sure I follow and I'm off to the pub. But if I understand at what you're saying, you should be using relationships however you can use DataObject::get() in you controller. Just chuck it in your controllers init() function so it'll run on instantiation
324: [07:27:26] * mobiusnz quit (Ping timeout: 255 seconds)
325: [07:29:18] * Jayden90 quit (Quit: Jayden90)
326: [07:29:50] * EasyCo quit (Quit: EasyCo)
327: [07:35:24] <Pyromanik> omg omg omg omg omg
328: [07:35:36] <Pyromanik> suddenly an ENTIRE TRAY of pita pit's to take home.
329: [07:36:21] <spronk> :O
330: [07:38:10] <Pyromanik> spronk: I'd post a pic, but y'know
331: [07:38:13] <Pyromanik> no cable for phone
332: [07:38:25] <Pyromanik> mebbe when I get home
333: [07:38:55] * Pyromanik quit (Quit: leaving)
334: [07:38:57] * mento has joined #silverstripe
335: [07:41:57] <mento> Not silverstripe related though; does anyone has experience with the new analytics.js code?
336: [07:43:52] <mento> I'm using event tracking on my website, but it only tracks to the first (default) web property in my code; see: http://jsfiddle.net/Qnbkx/
337: [07:46:05] <mento> page visits etc are being tracked fine to all the accounts, only the events arent being tracked by the two other UA properties
338: [07:46:26] <mento> it's driving me nuts :P
339: [07:50:02] <supernovah> if you have a control in a template operating on a dataQuery that returns null, what happens
340: [07:51:20] <supernovah> oh it doesn't know lol
341: [07:52:55] * mobiusnz has joined #silverstripe
342: [08:03:58] * kinglozzer has joined #silverstripe
343: [08:04:24] * ivoba has joined #silverstripe
344: [08:07:55] * PigeonFriend has joined #silverstripe
345: [08:12:05] <ivoba> good morning people
346: [08:12:43] <ss23> (´・ω・`)
347: [08:13:39] <ivoba> does anybody know how i can remove a field from an edit form of the gridfield?
348: [08:16:40] <wmk> wow, php5.5 is out
349: [08:16:53] <wmk> s/out/released
350: [08:29:29] * g4b0_ has joined #silverstripe
351: [08:30:09] <g4b0_> hi all
352: [08:38:45] * lobarvaz has joined #silverstripe
353: [08:46:51] * Colin[pi] has joined #silverstripe
354: [09:12:08] * mobiusnz quit (Ping timeout: 246 seconds)
355: [09:12:21] <supernovah> hi
356: [09:22:43] * openbees has joined #silverstripe
357: [09:30:11] <supernovah> Ooh awesome, string and array dereferencing :D
358: [09:30:14] <supernovah> in php 5.5
359: [09:36:30] <wmk> still running 5.3
360: [09:38:37] <ss23> http://i.imgur.com/YyVWmz5.jpg
361: [09:46:33] * Buum has joined #silverstripe
362: [09:47:28] * Buum quit (Client Quit)
363: [09:54:00] * kerosene is now known as tangelo
364: [10:03:27] * cloph_away is now known as cloph
365: [10:07:53] * mobiusnz has joined #silverstripe
366: [10:07:54] <supernovah> How can you test what an email is going to look like
367: [10:07:58] <supernovah> from the email class of 2.4
368: [10:12:35] * mobiusnz quit (Ping timeout: 255 seconds)
369: [10:12:56] <ss23> supernovah: send it to yourself?
370: [10:13:07] <supernovah> I don't have a mail server...
371: [10:13:23] <ss23> hmmm
372: [10:13:37] <ss23> just install ssmtp and do it via gmail?
373: [10:17:20] * samthejarvis has joined #silverstripe
374: [10:17:48] <samthejarvis> really basic question here, $calendar = Calendar::get()->byID($id); $calendar->Events();
375: [10:17:56] <samthejarvis> Events is on the Calendar_Controller
376: [10:18:13] * LoveDuckie has joined #silverstripe
377: [10:18:14] <samthejarvis> how would I go about getting that method, from the Calendar class
378: [10:19:21] <samthejarvis> not very MVC, but i don't see any other way
379: [10:19:29] <samthejarvis> to go accessing controllers arbitrarily
380: [10:19:50] <supernovah> your $calendar is a dataObject and your Calendar_Controller is a page_controller extension?
381: [10:20:03] <supernovah> I don't it inherits function Events(...);
382: [10:21:38] <samthejarvis> yeah, it isn't inheriting it
383: [10:21:48] <ss23> simon_w: Did Silverstripe make Snapper.co.nz?
384: [10:22:00] <supernovah> Usually if Events was in Calendar_Controller, it would work with a method which processes such a dataobject as calendar
385: [10:22:38] <supernovah> You can't call $calendar->Events(); unless Events is a method of the Calendar dataobject
386: [10:22:46] <samthejarvis> yes, hence the problem
387: [10:23:02] <samthejarvis> i need to get the Calendar object's related controller
388: [10:23:08] <supernovah> Well as long as it operates in a static fashion you can put one in the dataobjects class
389: [10:23:36] <samthejarvis> that'd mean I have to edit the module, it's UncleCheese's
390: [10:23:39] <supernovah> Wait is calendar something you made or something from SS
391: [10:24:14] <supernovah> OIC
392: [10:24:25] <supernovah> You could extend the class itself and add the method then
393: [10:24:39] <supernovah> You know, class myextension extends calendar
394: [10:24:56] <samthejarvis> egh
395: [10:25:00] <supernovah> But you'd have to go about doing all the init and that
396: [10:25:22] <supernovah> Or you could operate in an isolated way and process the data in your controller, not in the dataobject
397: [10:25:28] <supernovah> That's MVC wooo
398: [10:27:35] <samthejarvis> like, the only way I can do this is to get the Calendar object by ID
399: [10:28:05] <supernovah> You can get it by any field value
400: [10:28:16] <supernovah> If you're talking a dataObject from your DB
401: [10:28:31] <samthejarvis> I'm aware of that
402: [10:28:46] <supernovah> You're restricted to this then?
403: [10:29:05] <samthejarvis> it has to start with $calendar = Calendar::get()->byID($id);
404: [10:29:40] <supernovah> What does Events do
405: [10:29:55] <samthejarvis> returns a list of CalendarDateTimes
406: [10:30:33] <samthejarvis> i'll work at this one myself, just wondering if anyone knew a way to yknow, do that, get a model's controller, $model->controller or something, i don't know
407: [10:31:18] <samthejarvis> either I can't access it and have to copy over that method to where I need it
408: [10:31:27] <supernovah> Well what you've actually got is a dataobjectset as $calendar
409: [10:31:42] <samthejarvis> yep, I have a DataObject Calendar
410: [10:31:51] <supernovah> Wait copy it from where
411: [10:31:52] <samthejarvis> but no Calendar_Controller, which is what I need
412: [10:31:53] <supernovah> I need to see some code
413: [10:32:01] <samthejarvis> copy it from the Calendar_Controller class
414: [10:32:09] <supernovah> into!?
415: [10:32:18] <samthejarvis> HomePage_Controller
416: [10:32:29] <supernovah> Oh I see
417: [10:32:29] <samthejarvis> right, worry not
418: [10:32:33] <samthejarvis> i'll get this
419: [10:32:39] <supernovah> well in that case
420: [10:32:45] <supernovah> you'd put it in page.php I would have thought
421: [10:32:48] <supernovah> but I'm not sure
422: [10:33:04] <supernovah> the base page_controller class
423: [10:33:14] <supernovah> which everything obviously will inherit from
424: [10:33:32] <supernovah> Otherwise it's no biggie to replicate it lol
425: [10:35:54] * samthejarvis_ has joined #silverstripe
426: [10:36:35] * willmorgan has joined #silverstripe
427: [10:37:03] * samthejarvis quit (Ping timeout: 250 seconds)
428: [10:38:03] <supernovah> samthejarvis - it's not PHP/OO to do what you're trying to do by the way
429: [10:38:08] <supernovah> you can't steal another classes methods
430: [10:38:39] <supernovah> well actually you can but
431: [10:38:56] <samthejarvis_> I'm well aware of that
432: [10:44:38] <samthejarvis_> uuuh, any closer? http://puu.sh/3kM0H.txt
433: [10:44:59] <samthejarvis_> giving me a PHP Fatal error: Call to a member function date() on a non-object in /home/drops/public_html/event_calendar/code/Calendar.php on line 844
434: [10:45:20] <samthejarvis_> which happens here, http://puu.sh/3kM20.txt
435: [10:47:27] <samthejarvis_> so... set startdate
436: [10:50:32] <samthejarvis_> and, http://puu.sh/3kM9k.txt, gives me Uncaught Exception: Object->__call(): the method 'geteventlist' does not exist on 'Page', why the hell is it Page, i set it to a Calendar object..
437: [10:50:58] <samthejarvis_> unless I'm misunderstanding the API, that's a bug, surely?
438: [10:56:47] <samthejarvis_> var_dump($controller->model); gives me a Calendar object, $controller->data() gives me a page object.
439: [10:57:23] <supernovah> You haven't given the scope to the class, when you have the line $endDate = $this->endDate;, $this->endDate is nothing...
440: [10:57:45] <supernovah> Oh sorry
441: [10:57:52] <samthejarvis_> ->setDefaultView does that
442: [10:57:59] <supernovah> that's inside the controller you're borrowing from
443: [10:59:16] <supernovah> did you copy or type that error, lower case would suggest it's misspelled somewhere?
444: [11:00:06] <samthejarvis_> copy
445: [11:01:06] <supernovah> I'm pretty sure you're violating some routing rules in SS by doing it this way
446: [11:01:19] <samthejarvis_> routing has nothing to do with this
447: [11:01:35] <samthejarvis_> kinda, baffling, i can't see ->data() in any class that Calendar_Controller inherits from, but it's used throughout it
448: [11:02:37] <samthejarvis_> oh, silly me it's in ContentController
449: [11:02:49] <supernovah> Yeah
450: [11:04:34] <supernovah> If you create an instance of another page_controller, what is the behaviour
451: [11:04:44] <samthejarvis_> huzzah!
452: [11:04:53] <samthejarvis_> no worries supernovah, sorted!
453: [11:04:53] <supernovah> I don't know, but that's probably the problem
454: [11:04:57] <supernovah> Tell me how
455: [11:05:02] <samthejarvis_> just a case of me not knowing the API properly
456: [11:05:24] <samthejarvis_> i just needed to put
457: [11:05:38] <samthejarvis_> the model in the construction of the Calendar_Controller
458: [11:05:52] <samthejarvis_> http://puu.sh/3kMx9.txt
459: [11:06:00] <samthejarvis_> jollllllllly good
460: [11:06:13] <supernovah> thats the same link from last time
461: [11:06:34] <samthejarvis_> tis different, I swear!
462: [11:06:49] <samthejarvis_> the magic is on the 3rd line
463: [11:07:06] <samthejarvis_> the URLs are similar
464: [11:07:08] <supernovah> Oh it is haha
465: [11:08:25] * mobiusnz has joined #silverstripe
466: [11:12:53] * mobiusnz quit (Ping timeout: 255 seconds)
467: [11:13:43] * popeshoe quit (Quit: Leaving)
468: [11:21:59] * ivoba quit (Ping timeout: 261 seconds)
469: [11:22:30] * LoveDuckie has joined #silverstripe
470: [11:22:43] * kinglozzer quit (Read error: Connection timed out)
471: [11:23:18] * kinglozzer has joined #silverstripe
472: [11:23:52] * kinglozzer quit (Client Quit)
473: [11:24:07] * kinglozzer has joined #silverstripe
474: [11:26:11] * Colin[pi] quit ()
475: [11:26:31] <supernovah> Anyone experienced with mercury on windows
476: [11:34:36] * rved has joined #silverstripe
477: [11:35:00] <rved> in 2.4.10 i do password reset link, fill in the emailaddress.. send
478: [11:35:08] <rved> and get a Error 500: Bad header=More than one "from" person
479: [11:35:11] <rved> any idea?
480: [11:37:38] <rved> Also another problem, when i;m in the CMS and on a page, i do SAVE AND PUBLISH… it never saves, its just spinning
481: [11:37:50] <rved> console says: Refused connection to header
482: [11:38:01] <rved> Refused to set unsafe header "Connection"
483: [11:41:26] <samthejarvis_> rved, anything in the error log on the server?
484: [11:41:33] <rved> no nithing
485: [11:41:37] <rved> i got log gin on
486: [11:41:40] <rved> display errors on
487: [11:41:41] <rved> dev mode on
488: [11:41:43] * aragonne has joined #silverstripe
489: [11:41:46] <rved> but don't get anything
490: [11:42:15] <samthejarvis_> and if you cause a definite error it does log them?
491: [11:42:20] <aragonne> Hi guys, is there any built in SS method to return the level of a page, e.g., $pageLevel = $myPage->Level();
492: [11:43:11] <aragonne> (level = order in site hierarchy)
493: [11:43:15] <samthejarvis_> aragonne, you should be able to use Hierarchy::parentStack()
494: [11:43:35] <samthejarvis_> what version of SS?
495: [11:43:47] <aragonne> 3.x
496: [11:43:57] <samthejarvis_> http://api.silverstripe.org/3.0/source-class-Hierarchy.html#297-310
497: [11:44:28] <samthejarvis_> should be able to uh, turn that into a count of how deep you are
498: [11:44:30] <samthejarvis_> i think?
499: [11:44:36] <rved> samthejarvis_ how do icreate a definite error? in another case?
500: [11:44:47] <samthejarvis_> just put yknow, asdhiashdiashd in your Page.php
501: [11:44:59] <samthejarvis_> it'll say something like, "unexpected t_" something
502: [11:45:09] <samthejarvis_> if it doesn't log that you'll need to find out why it's not
503: [11:52:10] <kinglozzer> aragonne: I don't think so, but in a template I know you can do <% if Level(1) %> <% if Level(2) %> etc if that helps
504: [11:52:11] <aragonne> samthejarvis: thanks!
505: [11:52:18] * ivoba has joined #silverstripe
506: [11:53:47] <aragonne> kinglozzer: samthejarvis recommended using count($myPage->parentStack()), which will return the level of the page … seems to work good
507: [11:57:03] * Shrike_Finland has joined #silverstripe
508: [12:07:52] <rved> samthejarvis_: then i get a normal error
509: [12:08:02] <rved> Parse error: syntax error, unexpected T_STRING, expecting T_FUNCTION in /home/www...nl/web/mysite/code/Page.php on line 38
510: [12:08:27] * samthejarvis_ quit (Quit: Page closed)
511: [12:08:30] * aragonne has left #silverstripe
512: [12:08:54] * mobiusnz has joined #silverstripe
513: [12:09:11] <rved> but the logs remain empty
514: [12:13:44] * mobiusnz quit (Ping timeout: 268 seconds)
515: [12:17:09] * UndefinedOffset has joined #silverstripe
516: [12:41:23] * tangelo quit (Ping timeout: 256 seconds)
517: [12:42:58] * tangelo has joined #silverstripe
518: [12:43:20] * openbees quit (Ping timeout: 255 seconds)
519: [12:43:50] <rved> does any one know why i can't save any page in the CMS? I'm getting the spinning icon on the button.. but it never says: saved
520: [12:43:54] <rved> Refused to set unsafe header "Connection"
521: [12:43:56] <rved> in the console
522: [12:43:58] <rved> no errors
523: [12:56:23] * openbees has joined #silverstripe
524: [13:02:05] * openbees quit (Quit: Leaving)
525: [13:06:08] * micmania1 has joined #silverstripe
526: [13:09:24] * mobiusnz has joined #silverstripe
527: [13:14:10] * mobiusnz quit (Ping timeout: 260 seconds)
528: [13:15:24] <Shrike_Finland> Hi guys! Quick question about requirements on 3.1… Is it nowdays possible to use <% require javascript(PROJECT_DIR/javascript/yourfile.min.js) %> on template files? It's a pain in the ass to remember all the files with project name.
529: [13:15:57] <Shrike_Finland> THEME_DIR would be fine, also :)
530: [13:17:20] <supernovah> Pretty sure the first thing you said is right
531: [13:17:23] <supernovah> http://doc.silverstripe.org/framework/en/reference/requirements
532: [13:25:08] <Shrike_Finland> I think it's not beem possible to use variables in strings…Dunno in 3.1.
533: [13:25:14] <Shrike_Finland> beem = been
534: [13:33:23] <supernovah> I've been toying with fixing my ssviewer to accept strings more freely
535: [13:37:28] * tangelo is now known as kerosene
536: [13:42:19] * zfmf1 has joined #silverstripe
537: [13:43:45] * ivoba quit (Quit: Leaving)
538: [13:50:09] * svandragt has joined #silverstripe
539: [13:50:20] * NobrainerWeb has joined #silverstripe
540: [13:51:05] <svandragt> i can't install silverstripe anymore via composer, anyopne can help? http://pastie.org/private/z3uy9amfheekuju6g04eg#6-7
541: [13:51:06] <NobrainerWeb> Hi guys, i'm trying to use this composer stuff to setup my SS install
542: [13:52:37] <NobrainerWeb> i got the system downloaded with: composer create-project silverstripe/installer ~/Sites/ss3beta3 3.1.0-beta3 - but now i need to add modules. The guide says: composer require silverstripe/forum:* - how does composer know where to add the files?
543: [13:53:02] <svandragt> NobrainerWeb: because you run it from the folder where SS was installed in
544: [13:53:25] <NobrainerWeb> ahh ok so i just need to be in correct dir when running the command?
545: [13:53:28] <supernovah> I think it's described in computer.json
546: [13:53:41] <svandragt> yup
547: [13:53:42] <supernovah> composer.json *im tired*
548: [13:53:56] <NobrainerWeb> composer.json, what and where is that?
549: [13:54:12] <NobrainerWeb> I'm so new at command line stuff - not feeling it :-)
550: [13:54:15] <supernovah> Usually ../vendor/composer/
551: [13:54:25] <supernovah> Na I don't use it, this is just from memory
552: [14:06:28] * supernovah quit (Read error: Connection reset by peer)
553: [14:07:11] * supernovah has joined #silverstripe
554: [14:07:19] <supernovah> Dang chatzilla and firefox hogging my memory
555: [14:09:51] * mobiusnz has joined #silverstripe
556: [14:09:59] <NobrainerWeb> Hmm that damn composer stuff, i don't get it: i try to add my module but i get and error http://www.sspaste.com/paste/show/51c45e5377952
557: [14:14:14] * mobiusnz quit (Ping timeout: 255 seconds)
558: [14:19:25] <supernovah> There
559: [14:19:29] <supernovah> mt
560: [14:31:14] <rved> does any one know why i can't save any page in the CMS? I'm getting the spinning icon on the button.. but it never says: saved
561: [14:31:29] <rved> 1 error in console: Refused to set unsafe header "Connection"
562: [14:31:33] <rved> SS 2.4.10
563: [14:32:51] * NobrainerWeb quit (Quit: NobrainerWeb)
564: [14:34:36] * RojoD has joined #silverstripe
565: [14:34:37] * RojoD quit (Changing host)
566: [14:34:37] * RojoD has joined #silverstripe
567: [14:35:11] <rved> i just moved my site to different hosting
568: [14:35:18] <rved> on the other hosting erveyrthing was fine
569: [14:46:03] * willmorgan quit (Read error: Connection reset by peer)
570: [14:49:19] <kinglozzer> rved: Check your error logs?
571: [14:53:48] * samthejarvis has joined #silverstripe
572: [14:53:50] * rved quit (Quit: rved)
573: [14:54:12] <samthejarvis> sorting by an extraField, anybody know how?
574: [14:55:17] * rved has joined #silverstripe
575: [14:58:34] <rved> kinglozzer, there are nog erros.. :( dev mode on,
576: [14:59:22] <rved> kinglozzer, i only see Refused to set unsafe header "Connection" in the console
577: [14:59:29] <rved> but my logs stay empty
578: [15:10:25] * mobiusnz has joined #silverstripe
579: [15:14:59] * mobiusnz quit (Ping timeout: 255 seconds)
580: [15:15:00] * mento quit (Quit: Page closed)
581: [15:16:49] <jrthomer> has anybody discussed adding the github IRC hook to SS repos for this room?
582: [15:22:23] * catcher has joined #silverstripe
583: [15:23:37] <UndefinedOffset> jrthomer cms and framework post in here via when a travis build completes
584: [15:24:54] <g4b0_> does anybody tried SS 3.1.0-rc1 on php 5.5.0?
585: [15:25:12] * Nivery has joined #silverstripe
586: [15:25:53] * zfmf1 has left #silverstripe
587: [15:25:58] <g4b0_> I'm getting a fatal error:
588: [15:26:04] <g4b0_> [Fri Jun 21 17:09:49 2013] [error] [client 127.0.0.1] FastCGI: server "/usr/lib/cgi-bin/php5-fcgi-ssdev-master" stderr: PHP message: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 130968 bytes) in /home/g4b0/Develop/ssdev-master/framework/core/Config.php on line 569, referer: http://ssdev-master.zk/chi-siamo/
589: [15:26:22] <jrthomer> g4b0_: do you mean beta1?
590: [15:26:43] <g4b0_> beta3
591: [15:26:56] <g4b0_> sync'd to last git commit
592: [15:28:16] <UndefinedOffset> sounds like something is causing it to use allot more ram than it should. Is this clean pull from git? ie basic site using the silverstripe-installer base project?
593: [15:28:40] <UndefinedOffset> smells like an infinate loop
594: [15:28:57] <g4b0_> yes, it's my SS core test installation
595: [15:29:06] <g4b0_> with PHP 5.4.x it works
596: [15:30:54] <g4b0_> with PHP 5.5.0 -> Fatal Error
597: [15:31:50] <UndefinedOffset> only thing i can think of is to try hooking in with a debugger like xdebug and follow it see where its using so much memory and possibly getting hung up in an infinate loop. Memory errors are hard to trace down because it craps out where ever it runs out of memory it may not be the location where the problem is
598: [15:34:01] <g4b0_> mmm, it looks not so funny :)
599: [15:34:19] <g4b0_> maybe it's PHP 5.5.0 that's bugged :)
600: [15:36:38] <UndefinedOffset> likely some api change they made in 5.5.0 that SilverStripe isn't expecting, SilverStripe never really has had a good track record running on the latest and greatest php its usually a minor version or two before it works on the newest php
601: [15:37:26] <UndefinedOffset> i remember 2.4 and 2.3 having issues when php 5.3 came out, they got patched later on to work with 5.3
602: [15:38:21] <UndefinedOffset> besides didn't 5.5.0 just come out like the other day :P
603: [15:39:48] <catcher> Can anyone explain how the yaml configs connect with classes? For example, what does Director: 'rules': correspond to? There's no 'rules' property, and the addRules() method name seems arbitrary.
604: [15:42:00] <samthejarvis> yeah I've never been entirely.. clear on SS's yaml config system
605: [15:43:19] <AlphaCactus> my limited understanding is that the Config class stores settings for classes. then somehow SS uses magic to link those to statics in the class, or statics aren't really even needed since the Config class is independent from the class you are storing settings on.
606: [15:43:37] <catcher> I suppose it does have a 'rules' property, just not listed in the docs. Maybe 'cause it's private.
607: [15:43:51] <AlphaCactus> it is
608: [15:44:25] <AlphaCactus> but it doesn't have the @config phpdoc marker yet at least on my version
609: [15:44:56] <g4b0_> UndefinedOffset: you're right, PHP 5.5.0 just come out today, but I was expecting SS to work with it
610: [15:45:00] <g4b0_> http://www.php.net/manual/en/migration55.incompatible.php
611: [15:45:30] <g4b0_> it seems to be just very close to php 5.4 in terms of retrocompatibility
612: [15:45:31] <catcher> AlphaCactus, does @config mark it as a yaml-configurable variable? Or just list it as one of the properties?
613: [15:46:07] <AlphaCactus> i think it just tells us programmers that its configurable by using Config or yml, but has no effect
614: [15:46:26] <g4b0_> but it claims to be more performat, so I would like to test it on SS, that's not the fastest CMS in the world :)
615: [15:47:23] <catcher> AlphaCactus, where do they show up in the docs?
616: [15:49:18] <UndefinedOffset> g4b0_ hard to say, could be something in your test enviroment try a clean enviroment no custom stuff see if it works then (assuming you have any custom stuff). Looks like the travis builds are passing but it obviously doesn't test 5.5
617: [15:49:59] <catcher> I'm looking at DataObject, which has $db marked with @config, but no indication in the docs.
618: [15:50:25] <g4b0_> it's a clean environment, but it was a test just for my cusiosity
619: [15:50:36] <g4b0_> I will wait for php 5.5.1 :D
620: [15:53:45] <AlphaCactus> i dunno about the docs. the src is my docs
621: [15:59:26] * osterlaus has joined #silverstripe
622: [15:59:39] <catcher> AlphaCactus, helpful at least to know it always refers to properties.
623: [16:00:08] * RojoD quit (Ping timeout: 248 seconds)
624: [16:00:21] * g4b0_ quit (Quit: Sto andando via)
625: [16:05:58] * samthejarvis quit (Ping timeout: 250 seconds)
626: [16:10:31] * kinglozzer quit (Remote host closed the connection)
627: [16:10:55] * mobiusnz has joined #silverstripe
628: [16:15:00] * wmk quit (Read error: Connection reset by peer)
629: [16:15:15] * mobiusnz quit (Ping timeout: 252 seconds)
630: [16:28:00] * lobarvaz quit (Remote host closed the connection)
631: [16:34:18] * osterlaus quit (Quit: Leaving.)
632: [16:36:18] * micmania1 quit (Ping timeout: 250 seconds)
633: [16:45:14] * RojoD has joined #silverstripe
634: [16:45:15] * RojoD quit (Changing host)
635: [16:45:15] * RojoD has joined #silverstripe
636: [16:57:36] * gelignite has joined #silverstripe
637: [16:58:36] * PigeonFriend quit ()
638: [16:59:04] * guci0 has joined #silverstripe
639: [17:06:46] * rved quit (Quit: rved)
640: [17:11:21] * mobiusnz has joined #silverstripe
641: [17:14:54] * zfmf1 has joined #silverstripe
642: [17:15:30] * mobiusnz quit (Ping timeout: 246 seconds)
643: [17:25:02] <catcher> What's the best way to see how my yml config is being interpreted?
644: [17:29:14] * NT4182 has joined #silverstripe
645: [17:36:11] * Emil_Blume has joined #silverstripe
646: [17:37:11] * Emil_Blume quit (Client Quit)
647: [17:40:52] <catcher> Can't seem to register a shortcode with config.yml
648: [18:01:39] <AlphaCactus> hm, haven't tried that before
649: [18:04:42] <catcher> Even tried this without luck: https://github.com/hafriedlander/silverstripe-config-experiment/blob/master/sapphire/_config/100-shortcode-handler.yml
650: [18:05:10] <catcher> looks like it's not a straightforward setting for some reason.
651: [18:11:52] * mobiusnz has joined #silverstripe
652: [18:16:20] * mobiusnz quit (Ping timeout: 255 seconds)
653: [18:29:55] * rved has joined #silverstripe
654: [18:40:50] <UndefinedOffset> catcher... i remember someone asking this question just the other day. sorry to say i don't remember what the answer was I know their question was something to do with adding extensions and 3.1's config layer
655: [18:41:34] <UndefinedOffset> maybe able to find it in the irc logs
656: [18:42:46] <catcher> UndefinedOffset, extensions are working okay, just the shortcode registration (possibly because it has to run through the register method, though it doesn't do anything the config shouldn't be able to handle)
657: [18:52:22] <UndefinedOffset> mm it may just not be supported in 3.1, chillu seems to know the most about it but i don't see him around atm
658: [19:12:25] * mobiusnz has joined #silverstripe
659: [19:13:36] * rved quit (Quit: rved)
660: [19:17:05] * mobiusnz quit (Ping timeout: 255 seconds)
661: [19:36:58] * willmorgan has joined #silverstripe
662: [19:43:34] * micmania1 has joined #silverstripe
663: [19:44:47] <micmania1> What's the best way to query an object with a SUM(column)?
664: [19:45:03] <micmania1> Is it possible from DataList?
665: [19:46:54] <willmorgan> it should be an aggregate function somewhere micmania1
666: [19:48:47] <micmania1> http://api.silverstripe.org/3.1/class-DataList.html#_sum - found that but I think that's only for 1 column.
667: [19:49:28] <micmania1> I need so apply that function to a few columns over quite a large amount of Data
668: [19:52:09] <willmorgan> micmania1: this won't be datalist, but it's close: http://api.silverstripe.org/3.1/source-class-DataQuery.html#371-376
669: [19:54:05] <micmania1> Cheers! I'll try that now.
670: [20:12:51] * mobiusnz has joined #silverstripe
671: [20:17:23] * mobiusnz quit (Ping timeout: 255 seconds)
672: [20:20:05] * Nivery quit (Quit: Nivery)
673: [20:22:10] * UndefinedOffset quit (Read error: Connection reset by peer)
674: [20:24:32] * rved has joined #silverstripe
675: [20:29:03] * joelpittet has joined #silverstripe
676: [20:47:22] * cloph is now known as cloph_away
677: [20:52:55] * mobiusnz has joined #silverstripe
678: [20:59:58] * guzzlefry has joined #silverstripe
679: [21:00:28] <FrozenFire> Does /dev/build without a ?flush, flush the caching of things like $actions_allowed on controllers?
680: [21:01:27] <guzzlefry> I think I had to do ?flush=all in 3.1 for that to happen.
681: [21:15:10] <AlphaCactus> deja vu
682: [21:15:22] <guzzlefry> oh yeah, we talked about this before. :P
683: [21:15:30] <guzzlefry> hm
684: [21:15:45] <guzzlefry> Is there a way to assign an ID attribute to menu items?
685: [21:29:41] * zfmf1 has left #silverstripe
686: [21:32:19] * rved quit (Quit: rved)
687: [21:38:54] <micmania1> is there a way to remove a select column in SQLQuery? Every usable method seems to be deprecated in 3.1.
688: [21:40:20] * Zauberfisch-idle has joined #silverstripe
689: [21:43:13] * Zauberfisch|idle quit (Ping timeout: 256 seconds)
690: [22:08:55] <AlphaCactus> guzzlefry: in your template or like per item (i.e. per page)
691: [22:09:24] * willr_ has joined #silverstripe
692: [22:09:26] <AlphaCactus> micmania1: what do you mean select column...
693: [22:25:13] * willmorgan quit (Read error: Connection reset by peer)
694: [22:26:53] * willmorgan has joined #silverstripe
695: [22:31:46] * willmorgan quit (Ping timeout: 264 seconds)
696: [22:39:44] * catcher quit (Quit: Leaving)
697: [22:41:05] * EasyCo has joined #silverstripe
698: [22:42:56] * willmorgan has joined #silverstripe
699: [22:49:28] <micmania1> AlphaCactus, I figured it out.
700: [22:49:56] <micmania1> I wanted to run SELECT SUM(x), SUM(y) FROM blah
701: [22:50:00] <micmania1> but using the framework
702: [22:50:12] <micmania1> In the end I used the SQLQuery class
703: [22:50:30] <micmania1> And added a hook in case I need to extend down the line.
704: [23:02:23] <AlphaCactus> excellent
705: [23:06:56] * gelignite quit (Quit: http://bit.ly/nkczDT)
706: [23:13:22] * willmorgan quit (Read error: Connection reset by peer)
707: [23:13:40] * guci0 quit (Ping timeout: 250 seconds)
708: [23:21:05] <AlphaCactus> i just love that SS is throwing a file extension validation error on a folder
709: [23:38:01] * SphereSilverNL has joined #silverstripe
710: [23:38:11] <SphereSilverNL> G'night! :D
711: [23:38:13] * SphereSilverNL quit (Remote host closed the connection)
712: [23:38:52] * SphereSilverNL has joined #silverstripe
713: [23:38:55] <SphereSilverNL> g'night, again :D (Firefox crashed)
714: [23:42:03] * RojoD quit (Ping timeout: 240 seconds)

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