#silverstripe IRC Log

IRC log for 11 April 2013

All timestamps are in UTC.

1: [00:01:00] <Pyromanik> DOM DO?
2: [00:02:00] <terryapodaca> a DO managed by the old antiquated DOM dataobjectmanager module
3: [00:02:00] <Pyromanik> you want the popup to be paged?
4: [00:05:00] <Pyromanik> or do you mean a DoS?
5: [00:05:00] <Pyromanik> DOS*
6: [00:07:00] <terryapodaca> i want to page the has_many, but i guess i will have to build a custom 'getter' to do that. i was hoping there was something built-in to the, yes, DOS
7: [00:08:00] <Pyromanik> though DOM paginated by default anyway
8: [00:08:00] <Pyromanik> well yeah
9: [00:08:00] <Pyromanik> ->setPageLimits
10: [00:08:00] <Pyromanik> thought*
11: [00:14:00] * howardgrigg has joined #silverstripe
12: [00:15:00] * chillu quit (Quit: chillu)
13: [00:37:00] * DigNZ quit (Quit: DigNZ)
14: [00:42:00] * ajmitch quit (Read error: Operation timed out)
15: [00:43:00] * ajmitch has joined #silverstripe
16: [00:46:00] * DigNZ has joined #silverstripe
17: [00:49:00] * DigNZ quit (Client Quit)
18: [00:51:00] * LoveDuckie quit ()
19: [01:14:00] * DigNZ quit (Remote host closed the connection)
20: [01:14:00] * DigNZ has joined #silverstripe
21: [01:15:00] * DigNZ has joined #silverstripe
22: [01:21:00] <terryapodaca> what am I doing wrong here: return DataObject::get('Testimonial','','RAND()','','10');
23: [01:22:00] <simon_w> Sorting by rand
24: [01:24:00] <Pyromanik> $filter, $sort, $join, $limit
25: [01:24:00] <Pyromanik> iirc
26: [01:24:00] <terryapodaca> ah, wrong spot
27: [01:27:00] <terryapodaca> tell me if i missed something, but isn't that correct?
28: [01:27:00] <simon_w> Well, what's happening that shouldn't?
29: [01:28:00] <terryapodaca> nothing is showing up
30: [01:28:00] <terryapodaca> i want to get a random 10 testimonials
31: [01:32:00] <terryapodaca> yes
32: [01:32:00] <Pyromanik> ?
33: [01:32:00] <Pyromanik> spelling or scope issue in the template
34: [01:32:00] <Pyromanik> terryapodaca, do you have testimonials?
35: [01:32:00] <terryapodaca> http://www.therestorationstore.com/testimonials/
36: [01:33:00] <Pyromanik> terryapodaca, they're a bit truncated...
37: [01:33:00] <Pyromanik> Maybe you should use Text instead of Varchar (if that's the case)
38: [01:35:00] <terryapodaca> so, i have my randomtestimonial function in page controller
39: [01:35:00] <terryapodaca> sorry refresh
40: [01:36:00] <terryapodaca> does it need to go some place else?
41: [01:36:00] <terryapodaca> i can easily DO::get_one
42: [01:36:00] * DrCuriosity has joined #silverstripe
43: [01:37:00] <terryapodaca> but the client wanted to carousel 10 different ones, like the banner and/or recent projects
44: [01:37:00] <simon_w> terryapodaca, are you inside some <% with/loop %> when calling it?
45: [01:39:00] <simon_w> you're in the wrong scope
46: [01:39:00] <terryapodaca> yes
47: [01:39:00] <simon_w> And there's your problem
48: [01:48:00] * DrCuriosity quit (Ping timeout: 245 seconds)
49: [01:48:00] <Pyromanik> :D
50: [01:48:00] <Pyromanik> [13:32] <Pyromanik> spelling or scope issue in the template
51: [01:50:00] <Pyromanik> like if I started a company and called it "Site Developers"
52: [01:50:00] <Pyromanik> as a side note, I dislike when people name companies like that
53: [01:50:00] <Pyromanik> and you come to my website wanting a website
54: [01:50:00] <Pyromanik> turns out I make property subdivisions.
55: [01:52:00] <Pyromanik> I would have called it "The rooftoration store"
56: [01:52:00] <terryapodaca> hey, i just build their sites
57: [01:52:00] <terryapodaca> ;)
58: [01:53:00] <Pyromanik> I know
59: [01:54:00] <Pyromanik> hence "as a side note"
60: [01:54:00] <Pyromanik> :P
61: [01:54:00] <Pyromanik> it irks me when people use a descriptive name that's too loose, because it ultimately describes nothing.
62: [01:54:00] <Pyromanik> like when people say "I'm a designer"
63: [01:54:00] <Pyromanik> print, web, interior, architectural, automobile, industrial, what?
64: [01:54:00] <Bollig|DesignCty> Pyromanik: did you know I'm a designer?
65: [01:55:00] <Pyromanik> Bollig|DesignCty, I would like you to design me one CPU please.
66: [01:56:00] <Bollig|DesignCty> done and done!
67: [01:56:00] <Bollig|DesignCty> http://files.designcity.com.au/transfer/cpu-copy.png
68: [01:57:00] <Pyromanik> will this run the twitters?
69: [01:57:00] <Pyromanik> :D
70: [01:57:00] <Bollig|DesignCty> light jog, maybe.
71: [01:57:00] <Pyromanik> I need my cpu to be web scale.
72: [02:00:00] <lewellyn> it has to be able to keep up with the faces and twits.
73: [02:01:00] <Bollig|DesignCty> I had to read that twice??? single letter away from poo.
74: [02:01:00] <lewellyn> for non-americans, it probably is easier to misread :)
75: [02:02:00] <Pyromanik> twitfaces
76: [02:03:00] <Pyromanik> oh I'm late to the party. NOT FASHIONABLY :<
77: [02:03:00] <Pyromanik> not to be confused with twitfaeces
78: [02:06:00] <spronk> jazzercise!
79: [02:06:00] <Pyromanik> Bowie!
80: [02:06:00] * Pyromanik plays
81: [02:06:00] <spronk> f f f f faashion
82: [02:07:00] <Pyromanik> There's a brand new dance, but I don't know it's name.
83: [02:08:00] <simon_w> And Brooke thought we were all technical!
84: [02:12:00] <Pyromanik> exactly what I told her. Only about 30% of the time :P
85: [02:12:00] * Pyromanik sings See these tears so blue, an ageless heart that can never mend. These tears can never dry, judgement made can never bend.
86: [02:13:00] <Pyromanik> [...] I've been putting out the fire with gasoline... putting out the fire, with gasoline!
87: [02:14:00] <Pyromanik> ty spronk, was getting sick of what I was listening to :D
88: [02:15:00] <spronk> silly quips, that's what i'm here for
89: [02:15:00] <Pyromanik> <3
90: [02:16:00] <simon_w> Nope, nsc-au1.rimuhosting.com
91: [02:16:00] <spronk> NOM
92: [02:16:00] <simon_w> rimuhosting, why your DNS broken?
93: [02:16:00] <Pyromanik> ^ double scoop icecream.
94: [02:16:00] <Pyromanik> simon_w, HD?
95: [02:17:00] <Pyromanik> bl2u
96: [02:17:00] <simon_w> Support ticket time!
97: [02:26:00] * terryapodaca has left #silverstripe
98: [02:35:00] * svandragt quit (Quit: Instantbird 1.3 -- http://www.instantbird.com)
99: [02:50:00] * iamss has joined #silverstripe
100: [02:50:00] <iamss> hi guys, how do I set all my js files on top ??
101: [02:51:00] <simon_w> Why?
102: [02:53:00] <irogue> js belongs on the bottom
103: [02:53:00] <willr_> irogue not modernizr.
104: [02:54:00] <simon_w> If you need modernizr at the top, your graceful degradation is broken.
105: [02:56:00] <Pyromanik> if you need modernizr you're broken.
106: [02:57:00] <Pyromanik> yes and no
107: [02:57:00] <simon_w> Feature detection is useful
108: [02:57:00] <simon_w> Using feature detection to turn things off isn't
109: [02:58:00] <Pyromanik> Mr Progressive Enhancement.
110: [02:58:00] <willr_> feature detection to turn things on.
111: [02:58:00] <Pyromanik> mmm
112: [02:58:00] <Pyromanik> Code like it's there, if it's not, too bad.
113: [02:58:00] <Pyromanik> vs Mr Graceful Degradation
114: [02:59:00] * howardgrigg quit (Remote host closed the connection)
115: [02:59:00] <Pyromanik> vs. Mr Zero Fucks Given, update your browsers.
116: [02:59:00] <willr_> or more specifically, yepnope
117: [02:59:00] <Pyromanik> yeh
118: [02:59:00] <willr_> We use modernizer to load extra js when it can. No point loading 100kbs of stuff for animations that don't work in IE7
119: [03:00:00] <Pyromanik> or just don't support IE7 :P
120: [03:01:00] <simon_w> Pyromanik, Mr JS vs Mr CSS vs horrible person :p
121: [03:02:00] <simon_w> priithansen, your method needs to return an object
122: [03:02:00] <priithansen> gridfield does not want to render html even if field casting is set to htmltext/htmlvarchar?
123: [03:05:00] <priithansen> simon_w: thanks that does the trick. Just to be sure return $this->obj('FieldName'); is the correct way to make it happen?
124: [03:05:00] <simon_w> yes
125: [03:08:00] * priithansen quit (Quit: priithansen)
126: [03:08:00] <priithansen> cheers
127: [03:17:00] * cloph_away1 has joined #silverstripe
128: [03:18:00] * cloph_away quit (Ping timeout: 240 seconds)
129: [03:19:00] <Pyromanik> simon_w, mr JS for all the layout is a very silly person
130: [03:20:00] <Pyromanik> ie. pretty much any big news site from the states.
131: [03:22:00] <EasyCo> So I'm doing this to essentially join the Media.ID with the Fie.ID to get the Filename but it seems verbose. Any suggestions: https://gist.github.com/trev/5360483
132: [03:23:00] <EasyCo> Fie.ID/File.ID
133: [03:27:00] <willr_> EasyCo does media extend file? The you can just use $Filename
134: [03:28:00] <EasyCo> It extendsDataObject
135: [03:28:00] <Pyromanik> I don't understand what you're doing
136: [03:28:00] <EasyCo> and VideoMP4ID is a has_one of type File
137: [03:29:00] <Pyromanik> why are you Media::get?
138: [03:30:00] <Pyromanik> chur
139: [03:30:00] <EasyCo> Pyromanik: I'll clarify, uno momento.
140: [03:33:00] <Pyromanik> Because from that snippit it looks like you just want $this->VideoMP4()
141: [03:36:00] <EasyCo> Better? https://gist.github.com/trev/5360483
142: [03:37:00] <willr_> so just $this-> VideoMP4()->$Filename doesn't work?
143: [03:37:00] <EasyCo> Heh, yah Pyromanik, that worked.
144: [03:38:00] <Pyromanik> or
145: [03:38:00] <Pyromanik> might
146: [03:38:00] <Pyromanik> depending on your setup
147: [03:38:00] <EasyCo> Yh that's why I have the if statement there
148: [03:38:00] <Pyromanik> EasyCo, it won't work on brand new records (first saves)
149: [03:39:00] <EasyCo> Where is the behaviour documented? Because I originally just did Debug::show($this); in the onBeforeWrite to see what I had to play with
150: [03:40:00] <EasyCo> Sorry couldn't help me self
151: [03:40:00] <EasyCo> That's what she said...
152: [03:40:00] <Pyromanik> EasyCo, you have anything to play with
153: [03:40:00] <willr_> EasyCo print_r($this) will give you a lot more, but more magic methods all around the show (like __get())
154: [03:40:00] * Pyromanik appreciates.
155: [03:40:00] <Pyromanik> good call
156: [03:40:00] <Pyromanik> oh ho ho
157: [03:41:00] <Pyromanik> saving will save all the modifications
158: [03:41:00] <Pyromanik> EasyCo, what is the end goal?
159: [03:41:00] <EasyCo> Thx fellahs, gonna have a dig at that and see what I come up with.
160: [03:42:00] <Pyromanik> shouldn't need to stress about updating things in onbeforewrite unelss you're making some other change elsewhere
161: [03:42:00] * iamss quit (Ping timeout: 245 seconds)
162: [03:42:00] <Pyromanik> err, writing after changing stuff
163: [03:42:00] <EasyCo> Pyromanik: In onBeforeSave() I check to see if the VideoMP4 has been added/changed. Then I tie in to the Zencoder API and trigger a encoding job which returns the file in webm and ogg formats. I then update the other DB fields with those new files.
164: [03:43:00] <Pyromanik> EasyCo, $this->isChanged('VideoMP4')
165: [03:43:00] <EasyCo> I've got 3 fields: VideoMP4, VideoWEBM and VIdeoOGV but the last two are hidden as they're only their for the api.
166: [03:43:00] <Pyromanik> EasyCo, ah, makes sense.
167: [03:44:00] <Pyromanik> :>
168: [03:44:00] <EasyCo> http://api.silverstripe.org/ <-- Best friend
169: [03:44:00] <EasyCo> Ooh, I'll have a look.
170: [03:47:00] <EasyCo> Well $this->isChanged() and $this->VideoMP4 just whiped out about 15 lines. Thanks!
171: [03:59:00] <Pyromanik> :)
172: [04:20:00] <EasyCo> Anybody have a good technique to debug a php function that's handled by and ajax request. Since you can't debug on screen...
173: [04:23:00] <EasyCo> Actually I guess I can just check the XHR response. That works.
174: [04:25:00] <liam__> hi i am trying to use the ss blog module 0.6 with silverstripe 3. I have installed and built but the blog holder page type is not appearing in the CMS when I go to create a page. Any ideas why this is happening?
175: [04:25:00] * liam__ has joined #silverstripe
176: [04:28:00] <EasyCo> Did you ?fllush=all as well?
177: [04:28:00] <liam__> EasyCo: yes....
178: [04:29:00] <EasyCo> Do the tables exist in your DB?
179: [04:29:00] <liam__> there are no blog page types appearing in the cms...
180: [04:29:00] <EasyCo> Where did you download the blog module from?
181: [04:30:00] <Pyromanik> did you get the right version?
182: [04:30:00] <EasyCo> If from GitHub, make sure to get from here: https://github.com/silverstripe/silverstripe-blog/tree/ss3-fixes
183: [04:30:00] <EasyCo> the master branch is no good atm afaik.
184: [04:30:00] <Pyromanik> it's for 3.1
185: [04:30:00] <Pyromanik> (incompatible api changes)
186: [04:31:00] <EasyCo> Ah k, that makes sense then.
187: [04:31:00] <Pyromanik> and I'm assuming here really, but most modules are getting updated for 3.1 on the master.
188: [04:31:00] <Pyromanik> well, compatible, but not BC
189: [04:31:00] <EasyCo> Is it? Well there you go, maybe I had 3.1 when I installed it.
190: [04:31:00] <Pyromanik> the master branch I maen.
191: [04:31:00] <Pyromanik> mean*
192: [04:32:00] <Pyromanik> do the page types show up when you dev/build?
193: [04:32:00] <Pyromanik> liam__, the only reason things won't show up in the CMS is because you're checking the wrong site.
194: [04:32:00] <liam__> I have tried the one from github and the one from the silverstripe.org website
195: [04:33:00] <Pyromanik> liam__, that's not what I asked
196: [04:33:00] <Pyromanik> big difference between a successfully run dev/build and ensuring that it's actually doing what you want it to...
197: [04:33:00] <liam__> Pyromanik: yes the db built fine
198: [04:33:00] <Pyromanik> do the page types show up when you dev/build?
199: [04:34:00] <Pyromanik> ;)
200: [04:34:00] <liam__> Pyromanik: ok they're not showing up
201: [04:34:00] <Pyromanik> you must be checking the wrong site
202: [04:34:00] <Pyromanik> or you put the module in the wrong place
203: [04:34:00] <Pyromanik> or something like that
204: [04:34:00] <liam__> hmm i can see it so not sure...
205: [04:35:00] <Pyromanik> if the folder is definitely in the right place on the right server, then ensure permissions aren't preventing the web user from reading in it
206: [04:35:00] <Pyromanik> or something like that
207: [04:41:00] * liam__ has left #silverstripe
208: [04:55:00] <Pyromanik> heh, I guess he figured it out.
209: [05:03:00] * mobiusnz quit (Quit: Leaving.)
210: [05:04:00] * nickmolhoek quit (Quit: nickmolhoek)
211: [05:14:00] * mdowton has joined #silverstripe
212: [05:15:00] * DigNZ quit (Quit: DigNZ)
213: [05:26:00] * Shrike_Finland has joined #silverstripe
214: [05:51:00] * Error404NotFound quit (Quit: User guilty of hitting the Big Red X...)
215: [05:55:00] * shango has joined #silverstripe
216: [05:55:00] * shango quit (Client Quit)
217: [05:57:00] * Error404NotFound has joined #silverstripe
218: [06:12:00] * gordon has joined #silverstripe
219: [06:12:00] * gordon is now known as elgrodo
220: [06:19:00] * eikonos quit (Ping timeout: 256 seconds)
221: [06:19:00] * willr_ quit (Quit: willr_)
222: [06:20:00] * eikonos has joined #silverstripe
223: [06:20:00] * eikonos has joined #silverstripe
224: [06:20:00] * hubertusanton has joined #silverstripe
225: [06:20:00] * eikonos quit (Changing host)
226: [06:23:00] <elgrodo> simon_w: Can I just check with you this http://pastie.org/7444788 << do I need to do all ORM operations as a one line command or not?
227: [06:23:00] <elgrodo> I also have joins to add but was seeing things like sorting not being appended
228: [06:24:00] <elgrodo> I'm not sure if it is expected behaviour or is a bug
229: [06:24:00] * Shrike_Finland1 has joined #silverstripe
230: [06:24:00] * Shrike_Finland quit (Read error: Connection reset by peer)
231: [06:25:00] <elgrodo> (this the smallest case I could find that I considered erroneous)
232: [06:29:00] <ss23> OMG the episode of friends where Rachael and Ross take a break is on
233: [06:29:00] <ss23> They're playing U2 With or Without You, so sad ;_;
234: [06:41:00] * howardgrigg has joined #silverstripe
235: [06:52:00] * SightUnseen has left #silverstripe
236: [06:52:00] * SightUnseen has joined #silverstripe
237: [06:53:00] * ARNHOE has joined #silverstripe
238: [06:53:00] <EasyCo> Should onBeforeWrite() trigger twice on Save?
239: [06:54:00] * simon_w|air has joined #silverstripe
240: [06:55:00] * gelignite has joined #silverstripe
241: [06:58:00] <EasyCo> Oh well, I'll just use a class variable and check iteration count
242: [06:58:00] <howardgrigg> EasyCo: yea it does :(
243: [07:12:00] <simon_w|air> Also, please please use filter
244: [07:12:00] <simon_w|air> elgrodo, DataList is immutable in 3.1. You need to assign the result
245: [07:15:00] <elgrodo> simon_w|air: I assume that's a change from 3.0, noted, explains behaviour change
246: [07:16:00] <elgrodo> just checking on what's best practice
247: [07:16:00] <elgrodo> and filter being the likes of FlickrBucket::get()->Filter(array('FlickrSetID', $number)); ?
248: [07:17:00] <elgrodo> oh, and thanks :)
249: [07:21:00] <peterupaulo> good day everyone
250: [07:21:00] * peterupaulo has joined #silverstripe
251: [07:23:00] * zfmf has joined #silverstripe
252: [07:23:00] <simon_w|air> elgrodo, http://doc.silverstripe.org/framework/en/3.1/topics/datamodel#filter
253: [07:25:00] * mdowton has left #silverstripe
254: [07:25:00] <simon_w|air> elgrodo, and, have a read through http://doc.silverstripe.org/framework/en/3.1/changelogs/3.1.0
255: [07:25:00] <elgrodo> simon_w|air: Ha, had just come upon https://github.com/silverstripe/sapphire/pull/1020
256: [07:26:00] <elgrodo> I've been switchng between 3.0 and 3.1 and having problems with joins
257: [07:26:00] <elgrodo> all makes sense now... :)
258: [07:27:00] * peterupaulo quit (Ping timeout: 245 seconds)
259: [07:30:00] * zfmf quit (Ping timeout: 256 seconds)
260: [07:33:00] * EasyCo quit (Quit: EasyCo)
261: [07:40:00] * peterupaulo has joined #silverstripe
262: [07:46:00] * zfmf has joined #silverstripe
263: [07:47:00] * chillu has joined #silverstripe
264: [07:56:00] * willr_ quit (Changing host)
265: [07:56:00] * willr_ has joined #silverstripe
266: [07:56:00] * willr_ has joined #silverstripe
267: [08:11:00] * SightUnseen1 has joined #silverstripe
268: [08:15:00] * kinglozzer has joined #silverstripe
269: [08:18:00] * SightUnseen1 has left #silverstripe
270: [08:28:00] * waveydave has joined #silverstripe
271: [08:31:00] * travis-ci has joined #silverstripe
272: [08:31:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/6242162
273: [08:31:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/ba67d4c5cd42...16c723594240
274: [08:31:00] * travis-ci has left #silverstripe
275: [08:31:00] <travis-ci> [travis-ci] silverstripe/sapphire#1972 (3.1 - 16c7235 : Ingo Schommer): The build passed.
276: [09:02:00] * peterupaulo quit (Ping timeout: 245 seconds)
277: [09:05:00] <jamine> HI ANYONE KNOWS ABOUT THIS ISSUE http://www.silverstripe.org/data-model-questions/show/22377
278: [09:05:00] * jamine has joined #silverstripe
279: [09:06:00] <ss23> jamine: Yes, it's known
280: [09:06:00] <jamine> ISSUES ABOUT THE ManyManyList::add() can't be called until a foreign ID is set
281: [09:07:00] <simon_w|air> Fixed in 3.1
282: [09:07:00] <ss23> jamine: There's no easy fix for it, so it's just a limitation you'll have to work with
283: [09:08:00] <jamine> THANK YOU
284: [09:08:00] <ss23> Oh there you are!
285: [09:08:00] <simon_w|air> Sure, you still can add things to a ManyManyList before it has a foreign ID, but unsaved DOs don't give out ManyManyLists any more
286: [09:08:00] <ss23> jamine: I think your caps lock is on
287: [09:08:00] * lx-bln has joined #silverstripe
288: [09:08:00] <jamine> OH OKAY SS23 WILL TRY THAT VERSION CURRENTLY WERE ON 3.0.2
289: [09:09:00] <jamine> sorry i mean it so that everybody can noticed my message...hehehe
290: [09:09:00] <simon_w|air> ss23, I've been here for about two hours now :p
291: [09:10:00] <ss23> I realised it was badly phrased after I said it, but there was no easy fix
292: [09:10:00] <ss23> I DON'T KNOW BRO, DOESN'T THIS JUST CATCH YOUR ATTENTION?
293: [09:10:00] <ss23> :<
294: [09:10:00] <simon_w|air> Oh right, UnsavedRelationList!
295: [09:10:00] <simon_w|air> jamine, how loud you are doesn't change how likely people are to see something :p
296: [09:10:00] <ss23> simon_w|air: I meant like, "Well there you are! That's how you do it"
297: [09:10:00] <ss23> lol
298: [09:11:00] <simon_w|air> :D
299: [09:11:00] <jamine> hahaha
300: [09:11:00] * ss23 has joined #silverstripe
301: [09:11:00] <ss23> Meanie :P
302: [09:12:00] <lewellyn> ss23: stop trying to send html mail. your mail server is rebelling. ;)
303: [09:12:00] <ss23> My emails are blank
304: [09:12:00] <ss23> help simon_w|air
305: [09:14:00] * simon_w|air guesses not setting a body or template
306: [09:14:00] <simon_w|air> ss23, how blank?
307: [09:14:00] <ss23> COMPLETLY! Let me gist my code
308: [09:14:00] <ss23> It's actually plaintext only
309: [09:14:00] <ss23> I was like "f dealing with html emails"
310: [09:14:00] <jamine> OH! WAIT 3.1 IS NOT YET UP..HUHUHU..
311: [09:14:00] <ss23> lol
312: [09:15:00] <ss23> I'm setting template, but will I get an error if the template has issues?
313: [09:15:00] <ss23> https://gist.github.com/ss23/5361923
314: [09:15:00] <ARNHOE> ss23: you got my attention
315: [09:15:00] <lewellyn> ss23: html mail is rarely worth the effort.
316: [09:16:00] <jamine> my other solution is when creating record should disable the field first( many_many relationship), and enable after saving or in edit form so that he can select
317: [09:16:00] <ss23> (and yes, PHP is configured to give errors)
318: [09:16:00] <ss23> Instead I'll just get blank pages
319: [09:16:00] <ss23> simon_w|air: FWIW I've been not getting errors if my templates have sytnax errors
320: [09:16:00] <jamine> but m,y prob is how to do it..
321: [09:17:00] <ss23> I will do this :D
322: [09:17:00] <simon_w|air> ss23, echo $email->debug();
323: [09:17:00] <simon_w|air> Then it's probably a template error
324: [09:17:00] <ss23> ty simon_w|air
325: [09:18:00] <jamine> mmm maybe i'll do a capslock again...
326: [09:19:00] <ss23> lol jamine, just be patient
327: [09:19:00] <simon_w|air> jamine, what interface are you using for creating the DataObject? (ModelAdmin? Just a GridField?)
328: [09:19:00] <jamine> hehehe :)
329: [09:20:00] <jamine> and Gridfield
330: [09:20:00] <jamine> ModelAdmin
331: [09:21:00] <simon_w|air> Yeah, ModelAdmin's a pretty wrapper for a GridField
332: [09:22:00] * lx-bln quit (Remote host closed the connection)
333: [09:23:00] <ss23> simon_w|air: There's output from the debug() call just fine
334: [09:25:00] <ss23> simon_w|air: https://gist.github.com/ss23/5361967
335: [09:25:00] <jamine> okay so what shall I do?
336: [09:26:00] * ss23 waits patiently for simon_w|air the SS master
337: [09:26:00] <ss23> silverstripe_wmaster
338: [09:26:00] <simon_w|air> Wait :p
339: [09:27:00] * lx-bln has joined #silverstripe
340: [09:28:00] <simon_w|air> jamine, http://sspaste.com/paste/show/51668231b1bb6
341: [09:28:00] <elgrodo> are there any known problems with SS 3.0.5 and the translatable module?
342: [09:28:00] <simon_w|air> That should let you keep exactly the same interface, but does a write before trying to save the form into the object
343: [09:28:00] <elgrodo> I am using the correct branch, 1.0
344: [09:29:00] <elgrodo> observations: Translations tab exist and I can choose a language from the drop down. But the create button does nothing (no javascript trace, no network activity)
345: [09:30:00] <simon_w|air> Either set the body directly, or use HTML emails too
346: [09:30:00] <simon_w|air> So's the Email class :p
347: [09:30:00] <ss23> Hmm
348: [09:30:00] <ss23> simon_w|air: ... that is horribly retarded
349: [09:30:00] <simon_w|air> ss23, I see what's happening. Plain text emails don't use templates
350: [09:31:00] <ss23> simon_w|air: Any simple way to set the body directly by using the template?
351: [09:32:00] <ss23> lol simon_w|air, that seems so silly, but ty <3
352: [09:32:00] <simon_w|air> or, $email->templateData()->renderWith(...
353: [09:32:00] <jamine> simon_w|air: okay, will try this one tomorrow..thank you
354: [09:32:00] <simon_w|air> ss23, $email->setBody($email->renderWith($email->getTemplate()))
355: [09:34:00] * mikg has joined #silverstripe
356: [09:36:00] <ARNHOE> Anyone here with experience with resizing images? For the designing area we always fit the image properly in the design. But usually when silverstripe comes at the user then we always have problems with photo's not showing properly.
357: [09:39:00] <elgrodo> reinstalled and it's working #305 #translatable
358: [09:39:00] <simon_w|air> ARNHOE, where?
359: [09:40:00] <simon_w|air> Where's the resizing happening?
360: [09:40:00] <ARNHOE> So, they add a 1920x1080 image for example
361: [09:40:00] <ARNHOE> What do you mean by where?
362: [09:40:00] <ARNHOE> In the template
363: [09:40:00] <ARNHOE> which must be the problem I guess, but there must be a way to atleast make this problem alot smaller?
364: [09:41:00] <simon_w|air> What problem? You're not very clear
365: [09:42:00] <simon_w|air> So you're using $CroppedImage?
366: [09:42:00] <ARNHOE> Well, we have for example a space of 445x306. The customer adds a picture of a bed that is 1920x1080, and it only shows the upperhalf of the bed. We usually fix that by doing that in photoshop, but are their anyways to solve this in a cms like silverstripe?
367: [09:43:00] <ARNHOE> I am
368: [09:43:00] <simon_w|air> Why not try some of the other methods?
369: [09:43:00] <ARNHOE> I have tried padded with creates a white space
370: [09:44:00] <howardgrigg> ARNHOE: have you seen all the options available? http://doc.silverstripe.org/framework/en/reference/image
371: [09:45:00] <howardgrigg> you might just want $Image.SetHeight(400)
372: [09:45:00] <ARNHOE> yeah, I have. But I remember using croppedimage for a reason, I think it was the best option.
373: [09:46:00] <ARNHOE> Oke, but I should just play around more with those options. What I am trying to achieve is not unpossible in a cms ?
374: [09:46:00] <simon_w|air> The best option is to have your area be the same aspect ratio as the image ;)
375: [09:46:00] <howardgrigg> well what exactly do you want? resized or cropped?
376: [09:46:00] <howardgrigg> well that will crop your image...
377: [09:47:00] <ARNHOE> howardgrigg: well, actually resized. But I remember it not showing so well, but I am gonna try again with those possiblities. I just thought it was unpossible since I have been trying to get this working for so long
378: [09:47:00] <simon_w|air> And then, if it doesn't need to exactly fill the area, $SetRatioSize
379: [09:47:00] <howardgrigg> it's probably possible...
380: [09:47:00] * SightUnseen has joined #silverstripe
381: [09:48:00] <howardgrigg> ARNHOE: fair enough - if one of those functions doesn't work for you it's possible to create your own image manipulation one and use it with SS
382: [09:49:00] <jamine> tomorrow again..have a nice day ahead..bye
383: [09:49:00] <ARNHOE> yeah, howardgrigg both setratiosize and paddedimage are adding white space
384: [09:49:00] <howardgrigg> anyone want to do my homework?
385: [09:50:00] <ARNHOE> but unfortuantly, I have to go now, thanks for helping
386: [09:50:00] * ARNHOE quit (Remote host closed the connection)
387: [09:52:00] <lewellyn> howardgrigg: you want to write my code for me? we can trade... ;)
388: [09:53:00] <howardgrigg> lol tempting ...
389: [09:56:00] <mikg> Is there a good strategy to create a ModelAdmin or similar interface for an existing database that will be imported regularly ? The problem seems to be that I cannot define the primary key and foreign key fields in DataObject myself.
390: [09:56:00] <mikg> Hello
391: [09:57:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/6243788
392: [09:57:00] <travis-ci> [travis-ci] silverstripe/sapphire#1973 (3.1 - ae09301 : Ingo Schommer): The build passed.
393: [09:57:00] * travis-ci has joined #silverstripe
394: [09:57:00] <lewellyn> howardgrigg: less tempting than you'd think.
395: [09:57:00] * travis-ci has left #silverstripe
396: [09:57:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/16c723594240...ae09301c8c3c
397: [09:59:00] * jamine quit (Quit: Page closed)
398: [10:06:00] <howardgrigg> mikg: you may want to look at https://github.com/nyeholt/silverstripe-external-content
399: [10:07:00] <howardgrigg> lewellyn: yea I doubt you would be too interested in this anyway :(
400: [10:07:00] <lewellyn> howardgrigg: nor you this.
401: [10:07:00] <mikg> howardgrigg: thanks! interesting
402: [10:08:00] * SightUnseen has left #silverstripe
403: [10:13:00] * travis-ci has joined #silverstripe
404: [10:13:00] * lx-berlin has joined #silverstripe
405: [10:13:00] * travis-ci has left #silverstripe
406: [10:13:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/6244240
407: [10:13:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/e1e941013caf...2227ed3629fb
408: [10:13:00] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#336 (master - 2227ed3 : Ingo Schommer): The build passed.
409: [10:14:00] * osterlaus has joined #silverstripe
410: [10:15:00] * lx-bln quit (Ping timeout: 264 seconds)
411: [10:20:00] <lx-berlin> i just wanted to make sure, that i am still logged in :)
412: [10:20:00] <ss23> dsadsa
413: [10:20:00] <ss23> lol
414: [10:20:00] <lx-berlin> asdasd
415: [10:21:00] * willr_ quit (Quit: willr_)
416: [10:22:00] * travis-ci has joined #silverstripe
417: [10:22:00] <travis-ci> [travis-ci] silverstripe/sapphire#1974 (master - 233198c : Ingo Schommer): The build passed.
418: [10:22:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/5c7ceee9020a...233198c5cb6c
419: [10:22:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/6244263
420: [10:22:00] * travis-ci has left #silverstripe
421: [10:23:00] <simon_w|air> lx-berlin, /ping :)
422: [10:24:00] * osterlaus quit (Quit: Leaving.)
423: [10:26:00] <lx-berlin> yep
424: [10:26:00] <lx-berlin> how can i help you :) LOL
425: [10:27:00] <simon_w|air> Use /ping to check if you're still connected :p
426: [10:28:00] <lx-berlin> ok, thanks
427: [10:28:00] <lx-berlin> but i doesnt do anything
428: [10:29:00] <simon_w|air> You should get something like " * Ping reply from holmes.freenode.net: 0.20 second(s)", maybe in a server tab instead of a channel one
429: [10:30:00] <lx-berlin> no, nothing. maybe my irc client doesnt support this. I am using the buildin chat client in opera
430: [10:31:00] <simon_w|air> Could be that
431: [10:32:00] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
432: [10:38:00] <lewellyn> or maybe /raw ping 12345
433: [10:38:00] <lewellyn> i forget which opera uses
434: [10:38:00] <lewellyn> lx-berlin: /quote ping 12345
435: [10:40:00] * mikg has left #silverstripe
436: [10:46:00] <lx-berlin> what means 12345
437: [10:47:00] <lx-berlin> nothing works. But its no problem i can write "asdasd" in the chatroom :)
438: [10:49:00] <lewellyn> lx-berlin: 1) the 12345 is just a string the server echoes back. 2) if you're not really connected, you'll see it but we won't. irc doesn't echo your text back to you.
439: [10:51:00] <lewellyn> :)
440: [10:51:00] <lx-berlin> ah, thanks
441: [10:51:00] <lewellyn> you could, at worst, just: /whois lx-berlin
442: [10:51:00] <lewellyn> that goes through the server.
443: [10:53:00] <lx-berlin> i see. yes, this is nicer. This gives me a feedback :)
444: [10:54:00] <lewellyn> ;)
445: [10:56:00] <lx-berlin> <% if $email_send %> Using an underscrore is the template is valid, isnt it ?
446: [11:04:00] * osterlaus has joined #silverstripe
447: [11:13:00] <elgrodo> simon_w|air: What's the status of translatable DataObjects and GridField - is it a no go area like it was in 2.4 using ComplexTableField
448: [11:14:00] <elgrodo> Trying to see if https://github.com/gordonbanderson/Silverstripe-Links-Module/issues/2 is fundamentally unsolvable
449: [11:14:00] <elgrodo> I have Links (DataObject) hanging off a LinksFolder (Page/SiteTree)
450: [11:15:00] * lx-berlin quit (Ping timeout: 264 seconds)
451: [11:22:00] * ARNHOE has joined #silverstripe
452: [11:30:00] * osterlaus quit (Quit: Leaving.)
453: [11:35:00] * FrozenFire quit (Ping timeout: 276 seconds)
454: [11:41:00] * FrozenFire has joined #silverstripe
455: [11:52:00] * ^pH has joined #silverstripe
456: [12:04:00] * UndefinedOffset has joined #silverstripe
457: [12:21:00] * g4b0 has joined #silverstripe
458: [12:22:00] <ss23> "valid URL" is ambigious, but you might want php.net/urlencode
459: [12:22:00] <g4b0> how*
460: [12:22:00] <g4b0> ho can I transform a string into a valid URL?
461: [12:23:00] <g4b0> there is a SS function
462: [12:23:00] <g4b0> nope
463: [12:23:00] <g4b0> I would like to transform
464: [12:23:00] <g4b0> "My titltle" into my-title
465: [12:24:00] <g4b0> let's have a look :)
466: [12:24:00] <ss23> It'd be on Director:: right?
467: [12:24:00] <howardgrigg> yea same lol
468: [12:24:00] <ss23> oic
469: [12:24:00] <g4b0> but I can't remembere which one is...
470: [12:25:00] <ss23> meh
471: [12:25:00] <ss23> It's not
472: [12:25:00] <g4b0> yes, but I'm lazy :)
473: [12:25:00] <ss23> Could have a look at the code that runs when you create a page and it picks the URL, g4b0
474: [12:29:00] <howardgrigg> g4b0: https://github.com/silverstripe/silverstripe-cms/blob/3.0/code/model/SiteTree.php#L1596
475: [12:29:00] * priithansen has joined #silverstripe
476: [12:29:00] <g4b0> thanks all
477: [12:29:00] <g4b0> class URLSegmentFilter
478: [12:52:00] * feejin has joined #silverstripe
479: [13:11:00] <g4b0> chillu: what do you think about https://github.com/silverstripe/sapphire/issues/1752 ?
480: [13:16:00] <chillu> g4b0: commented on the issue
481: [13:29:00] <ocm> howdy!
482: [13:29:00] * ocm has joined #silverstripe
483: [13:32:00] <g4b0> chillu: I'm working on it
484: [13:32:00] <chillu> awesome, thanks!
485: [13:33:00] * Shrike_Finland1 quit (Quit: Leaving.)
486: [13:33:00] <priithansen> anyway to make the modeladmin breadcrumb title thing not escape html?
487: [13:36:00] <priithansen> www.priithansen.com/maTitle.png < that one
488: [13:47:00] * UndefinedOffset quit (Read error: Connection reset by peer)
489: [13:48:00] * UndefinedOffset has joined #silverstripe
490: [13:52:00] * lx-berlin has joined #silverstripe
491: [13:54:00] * Error404NotFound quit (Read error: Connection reset by peer)
492: [13:57:00] * Error404NotFound has joined #silverstripe
493: [14:11:00] * howardgrigg quit (Remote host closed the connection)
494: [14:16:00] * wazza has joined #silverstripe
495: [14:17:00] * ooystein_ quit (*.net *.split)
496: [14:17:00] * zfmf quit (*.net *.split)
497: [14:19:00] * ooystein_ has joined #silverstripe
498: [14:19:00] * zfmf has joined #silverstripe
499: [14:22:00] <wazza> Hello. In SS3 admin I'd like my gridfield list to have a checkbox next to each record and a dropdown, or single button, at the top of the list in order to perform some sort of bulk action on the selected records. Can anyone suggest the a good way to do this?
500: [14:25:00] <wazza> The functionality I want is almost exactly the same as the 'Multi-select' feature of the Pages tree.
501: [14:25:00] <g4b0> chillu: just an hint for the commit message
502: [14:25:00] <g4b0> do I need to put issue #1752
503: [14:25:00] <g4b0> ?
504: [14:26:00] <kinglozzer> wazza: Take a look at https://github.com/colymba/GridFieldBulkEditingTools
505: [14:27:00] <kinglozzer> g4b0: Yeah include the issue number
506: [14:28:00] <g4b0> ok
507: [14:29:00] <wazza> thanks kinglozzer I'll take a better look.... I did spot GridFieldBulkEditingTools earlier but assumed it was more for bulk editing. I'd like to do actions like 'Export selection' and 'Print selection'
508: [14:30:00] <kinglozzer> wazza: It doesn't have those actions built in, I think it only has 'delete selection' and 'edit selection', but you could use it as a base and add those actions I guess
509: [14:32:00] <chillu> g4b0: Yes, should read "(fixes #<issue-number)"
510: [14:33:00] <waveydave> I gets a lovely error: [User Error] Uncaught Exception: Object->__call(): the method 'getid' does not exist on 'Form'
511: [14:33:00] * ARNHOE quit (Remote host closed the connection)
512: [14:33:00] <waveydave> Anyone know, please, how to get the ID of a Form object?
513: [14:34:00] <waveydave> also tried $form->ID
514: [14:35:00] * ARNHOE has joined #silverstripe
515: [14:35:00] <g4b0> chillu: https://github.com/silverstripe/sapphire/pull/1753/files
516: [14:36:00] <chillu> Just updated the docs regarding that BTW: https://github.com/silverstripe/sapphire/blob/master/docs/en/misc/contributing/code.md#commit-messages
517: [14:36:00] <waveydave> Also eventually found a doc with a reference to ->setHTMLID(), so thought there might be a complimentary getHTMLID()... Alas, nay...
518: [14:37:00] <chillu> g4b0: commented inline
519: [14:41:00] * Nivery has joined #silverstripe
520: [14:42:00] <g4b0> yep
521: [14:50:00] <kinglozzer> waveydave: ->getAttribute('id'); ?
522: [14:50:00] * joelpittet has joined #silverstripe
523: [14:52:00] <kinglozzer> waveydave: Either that or possibly $form->FormName();
524: [14:53:00] <waveydave> Ah, thanks kinglozzer! I've actually solved it by setting as variable with `'Form_'.$form->getName();` and using that...
525: [14:54:00] <chillu> :)
526: [14:54:00] <g4b0> chillu: I didn't understend what you stated here: https://github.com/silverstripe/sapphire/pull/1753#issuecomment-16238550
527: [14:54:00] <chillu> That's more of an internal note, it'll casue merge conflicts. You can ignore it :(
528: [14:55:00] <g4b0> perfect
529: [14:56:00] <g4b0> yep
530: [14:56:00] <chillu> g4b0: Did you test this a bit? Creating images through the HTML field in the CMS, creating resized images through a template?
531: [14:57:00] <g4b0> with custom background color
532: [14:57:00] <g4b0> I can get padded images
533: [14:57:00] <g4b0> so I think it's ok with other image manipulation, isn't it?
534: [14:59:00] * travis-ci has joined #silverstripe
535: [14:59:00] * travis-ci has left #silverstripe
536: [14:59:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/6251372
537: [14:59:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/233198c5cb6c...f514067f2fb6
538: [14:59:00] <travis-ci> [travis-ci] silverstripe/sapphire#1977 (master - f514067 : Ingo Schommer): The build passed.
539: [15:03:00] * wazza quit (Ping timeout: 245 seconds)
540: [15:19:00] * ss23 has joined #silverstripe
541: [15:19:00] * ss23 quit (Quit: leaving)
542: [15:22:00] <ss23> Woah, irssi has a "/disco" to make your keyboard light up :O
543: [15:24:00] * ARNHOE quit (Remote host closed the connection)
544: [15:27:00] * feejin quit (Remote host closed the connection)
545: [15:36:00] * svandragt has joined #silverstripe
546: [15:38:00] <svandragt> Silly question, I've set a $has_one relation as required, however any of the fields that haven't been saved yet don't have a value. How do I set a default value?
547: [15:40:00] <ss23> Set them in a constructor?
548: [15:41:00] * micmania1 has joined #silverstripe
549: [15:44:00] <svandragt> Not sure I understand, I want to avoid having to save all records again, you know just like in SQL where you set NOT NULL DEFAULT whatever
550: [15:50:00] <svandragt> I can set the default for new records using populateDefaults() but I don't know how to change the default value for records that existed before I added this relationship (they show up as blank in the GridField.
551: [15:51:00] <svandragt> See http://i.imm.io/12AgW.png (IntakeType column)
552: [15:51:00] * DrCuriosity has joined #silverstripe
553: [15:52:00] * catcher has joined #silverstripe
554: [15:56:00] * micmania1 quit (Ping timeout: 245 seconds)
555: [16:00:00] <g4b0> bye
556: [16:00:00] * g4b0 quit (Quit: Sto andando via)
557: [16:02:00] * gelignite quit (Quit: http://bit.ly/nkczDT)
558: [16:13:00] * travis-ci has left #silverstripe
559: [16:13:00] * travis-ci has joined #silverstripe
560: [16:13:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/6253932
561: [16:13:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/ae09301c8c3c...1f7796c83e99
562: [16:13:00] <travis-ci> [travis-ci] silverstripe/sapphire#1980 (3.1 - 1f7796c : Ingo Schommer): The build passed.
563: [16:26:00] * kinglozzer quit (Remote host closed the connection)
564: [16:29:00] * FrozenFire is getting seriously pissed at his code
565: [16:29:00] <FrozenFire> Somehow it's... not changing
566: [16:30:00] <ss23> Hate that
567: [16:30:00] <ss23> Normally just a user error though
568: [16:30:00] <FrozenFire> I keep modifying it, and I can see the modifications on the server, but it's stuck in an old state or something
569: [16:30:00] <ss23> lol
570: [16:31:00] <FrozenFire> It still redirects.
571: [16:31:00] * wmk has joined #silverstripe
572: [16:31:00] <FrozenFire> I comment out the redirect to do some debugging
573: [16:31:00] <FrozenFire> I have a form action, which is the only possible thing for it to select, where ordinarily a redirect is performed from there
574: [16:31:00] <ss23> Wrong server / directory?
575: [16:31:00] <FrozenFire> I can't imagine how it could be doing what it's doing, without something else being wrong.
576: [16:31:00] <FrozenFire> But seriously. It's not changing
577: [16:31:00] <FrozenFire> I assumed that at the outset
578: [16:32:00] <FrozenFire> And there's only one place where this code is
579: [16:32:00] * ocm quit (Quit: HydraIRC -> http://www.hydrairc.com <- IRC with a difference)
580: [16:33:00] <FrozenFire> And...
581: [16:33:00] <FrozenFire> So it shouldn't be cached?
582: [16:33:00] <FrozenFire> When I do it from an incognito window, it works as expected.
583: [16:33:00] <FrozenFire> But it's a 302 redirect
584: [16:33:00] <ss23> What does the network tab / fiddler say?
585: [16:33:00] <FrozenFire> So it's somehow caching the redirect
586: [16:35:00] <FrozenFire> Seems like https://code.google.com/p/chromium/issues/detail?id=103458
587: [16:38:00] <ss23> I think I have hit that before, tbh
588: [16:44:00] * Nivery has left #silverstripe
589: [16:47:00] <FrozenFire> Hrmm, had to add a cache break to the form
590: [16:48:00] <lx-berlin> why is it, that if you reorder pages in the sitetree with drag&drop, that this new order is not published but only saved as a draft change ? I think this is confusing to admins
591: [16:49:00] <FrozenFire> Yep. It's a really annoying behaviour
592: [16:49:00] <FrozenFire> Usually means changing the order, then going into multiple selection in the tree edit, and publishing each one.
593: [16:49:00] <lx-berlin> yep
594: [16:50:00] <lx-berlin> not so nice
595: [16:50:00] <lx-berlin> chillu: dont you think this could be changed ?
596: [16:50:00] <priithansen> Any ideas why the cms form changetracker won't pick up changes I make with $Field.val('new content') but when I change the same field by hand it asks about unsaved changes just as it should?
597: [16:53:00] <FrozenFire> Well, I can understand the problem.
598: [16:53:00] <FrozenFire> Users may not expect a re-order to be an implicit publish
599: [16:54:00] <FrozenFire> A possible solution is to bypass the publishing process and set the sort order directly on the stages
600: [16:54:00] <FrozenFire> So if they have draft changes already, then it would be publishing those.
601: [16:54:00] <FrozenFire> But that could result in weirdness.
602: [16:57:00] <lx-berlin> but what about this: if a page is alreaady published, a reordering will include immediately publishing. If a page is already in draft state a reordering does not publish
603: [16:57:00] <lx-berlin> does this make sense ?
604: [16:59:00] <lx-berlin> hmm
605: [16:59:00] <FrozenFire> Then you end up only committing that reordering to the live stage half-way.
606: [16:59:00] <FrozenFire> Which isn't necessarily a bad thing. But it's unexpected.
607: [17:00:00] <FrozenFire> That is, if you're reordering a bunch of items, some will be reordered live
608: [17:00:00] <FrozenFire> So when a publish happens, it does something else.
609: [17:00:00] <FrozenFire> The other thing is that some people have publish events set up
610: [17:00:00] <lx-berlin> i see
611: [17:00:00] <FrozenFire> Some won't.
612: [17:01:00] * waveydave has left #silverstripe
613: [17:01:00] <FrozenFire> While that would still have to happen, people won't necessarily expect that to happen when they reorder something
614: [17:01:00] <lx-berlin> i didnt expect that this could become so complicated :)
615: [17:17:00] * Error404NotFound quit (Ping timeout: 256 seconds)
616: [17:21:00] * Zauberfisch has joined #silverstripe
617: [17:30:00] * Error404NotFound has joined #silverstripe
618: [17:45:00] * UncleCheese has joined #silverstripe
619: [17:46:00] <UncleCheese> Has anyone had problems with this error when using Composer?
620: [17:46:00] <UncleCheese> Could not scan for classes inside "framework//tests/behat/features/bootstrap" which does not appear to be a file nor a folder
621: [17:57:00] * UncleCheese quit (Quit: UncleCheese)
622: [18:00:00] * UncleCheese has joined #silverstripe
623: [18:06:00] <chillu> UncleCheese: There's a double slash there. What branch are you on, and which composer command fails?
624: [18:09:00] * ARNHOE has joined #silverstripe
625: [18:14:00] <UncleCheese> what happens is, the framework and cms directories are only partially populated
626: [18:14:00] <UncleCheese> it happens a lot. usually when i install a new module
627: [18:15:00] <UncleCheese> i'm not sure the double slash makes a difference??? and then again i don't know why it's there, either
628: [18:15:00] <UncleCheese> so /framework/tests/behat doesn't exists.
629: [18:16:00] <UncleCheese> drwxr-xr-x 4 aaroncarlino staff 136 Apr 11 13:25 tests
630: [18:16:00] <UncleCheese> this is the contents of my framework/ dir when I get the error:
631: [18:16:00] <UncleCheese> -rw-r--r-- 1 aaroncarlino staff 231 Feb 19 15:39 .htaccess
632: [18:16:00] <UncleCheese> drwxr-xr-x 3 aaroncarlino staff 102 Apr 11 13:25 admin
633: [18:16:00] <UncleCheese> drwxr-xr-x 3 aaroncarlino staff 102 Apr 11 13:25 css
634: [18:16:00] <UncleCheese> drwxr-xr-x 3 aaroncarlino staff 102 Apr 11 13:25 thirdparty
635: [18:40:00] * lx-berlin quit (Ping timeout: 255 seconds)
636: [18:51:00] * SightUnseen has joined #silverstripe
637: [19:00:00] * gelignite has joined #silverstripe
638: [19:08:00] * joelpittet is now known as joelpittet|lunch
639: [19:26:00] * wmk quit (Quit: nice to meet you ;))
640: [19:28:00] * UncleCheese quit (Quit: UncleCheese)
641: [19:30:00] * UncleCheese has joined #silverstripe
642: [19:30:00] * ooboo has joined #silverstripe
643: [19:30:00] <ooboo> hello
644: [19:30:00] <ooboo> anyone know of any manual image cropping extensions for Image?
645: [19:34:00] * ooboo quit (Client Quit)
646: [19:40:00] * SightUnseen has left #silverstripe
647: [19:52:00] * FrozenFire smacks ooboo
648: [20:02:00] <simon_w> Yup, use 2.2
649: [20:09:00] * simon_w has a feeling the DateTimeImmutable class is going to sneak into 5.5 because the guy supposed to be fixing it isn't, and no one has the guts to revert it
650: [20:10:00] * UncleCheese quit (Quit: UncleCheese)
651: [20:15:00] * UndefinedOffset quit (Quit: Leaving.)
652: [20:17:00] * UndefinedOffset has joined #silverstripe
653: [20:18:00] * ^pH- has joined #silverstripe
654: [20:19:00] * mobiusnz has joined #silverstripe
655: [20:20:00] * oddnoc has joined #silverstripe
656: [20:21:00] * DigNZ has joined #silverstripe
657: [20:21:00] * joelpittet|lunch is now known as joelpittet
658: [20:21:00] * DigNZ quit (Remote host closed the connection)
659: [20:21:00] * DigNZ has joined #silverstripe
660: [20:22:00] * UndefinedOffset quit (Client Quit)
661: [20:22:00] * ^pH quit (Ping timeout: 276 seconds)
662: [20:29:00] * irogue just cooked up a plate of bacon, eggs & kransky
663: [20:29:00] <irogue> now my workmates are jealous
664: [20:36:00] * nickmolhoek has joined #silverstripe
665: [20:36:00] * nickmolhoek quit (Remote host closed the connection)
666: [20:37:00] * nickmolhoek has joined #silverstripe
667: [20:38:00] <simon_w> irogue, Where's mine?
668: [20:38:00] <Pyromanik> irogue, must have a decent kitchen at work
669: [20:44:00] * azureKnight has joined #silverstripe
670: [20:53:00] * EasyCo has joined #silverstripe
671: [20:54:00] * SightUnseen1 has joined #silverstripe
672: [20:54:00] * EasyCo quit (Client Quit)
673: [20:57:00] * ARNHOE quit (Remote host closed the connection)
674: [21:01:00] <mobiusnz> or is there an easy way to build a multidimensional arraylist?
675: [21:01:00] <mobiusnz> is there an easy way to turn a multidimensional array into an arraylist?
676: [21:02:00] <simon_w> How many dimensions, and what sort of arrays?
677: [21:04:00] <mobiusnz> it's a set of dataobjects, grouped by a category with additional information about that category
678: [21:05:00] <mobiusnz> so $list[$category][$items][], plus $list[$category][$meta]
679: [21:07:00] <simon_w> Well, if you can turn the items bit into an ArrayList, then a straight new ArrayList($list) should work, turning each category into an ArrayData instance
680: [21:08:00] <mobiusnz> http://www.sspaste.com/paste/show/516726476e96e
681: [21:09:00] <mobiusnz> I'm not sure how line 4 would work, as I don't seem to be able to access arraylist like an array
682: [21:10:00] <simon_w> if(!$chargesByCategory[$charge->Category]["Charges"]) $chargesByCategory[$charge->Category]["Charges"] = new ArrayList;
683: [21:10:00] <simon_w> Bah
684: [21:11:00] <simon_w> if(!isset($chargesByCategory[$charge->Category]["Charges"])) $chargesByCategory[$charge->Category]["Charges"] = new ArrayList;
685: [21:11:00] <simon_w> At the start of the foreach
686: [21:12:00] <simon_w> irogue, fancypants kitchen :p
687: [21:12:00] <irogue> Pyromanik: not really, just an electric frypan :P
688: [21:15:00] <Pyromanik> indeed.
689: [21:15:00] <Pyromanik> with red bull in it?
690: [21:15:00] <simon_w> We have a red bull fridge
691: [21:15:00] <Pyromanik> we've got a toaster.
692: [21:15:00] * willr_ has joined #silverstripe
693: [21:16:00] * zfmf has left #silverstripe
694: [21:16:00] <simon_w> Nope
695: [21:17:00] <irogue> lol
696: [21:18:00] <Pyromanik> guts
697: [21:20:00] * SightUnseen1 quit (Quit: Leaving.)
698: [21:25:00] <azureKnight> Red Bull!!
699: [21:26:00] <azureKnight> Quick question.
700: [21:26:00] <azureKnight> Lol.
701: [21:26:00] <Pyromanik> 1 fish 2 fish red fish blue fish
702: [21:26:00] <azureKnight> More and more I'm learning that I need to learn more. Anybody got a good recommended spot to learn php?
703: [21:26:00] * Error404NotFound quit (Ping timeout: 245 seconds)
704: [21:26:00] <Pyromanik> Blue Bull!!
705: [21:27:00] <azureKnight> Hmm.
706: [21:27:00] <Pyromanik> know what you're doing
707: [21:27:00] <Pyromanik> learn.
708: [21:27:00] <Pyromanik> browse around to see if there's more/better ones
709: [21:27:00] <Pyromanik> look up a function that exists
710: [21:27:00] <Pyromanik> think about how you might achieve that
711: [21:27:00] <Pyromanik> php.net
712: [21:27:00] <azureKnight> Just read the docs?
713: [21:27:00] <Pyromanik> pretty much
714: [21:27:00] <Pyromanik> yep.
715: [21:27:00] <azureKnight> Seems bleeding edge??? And I like that.
716: [21:28:00] <Pyromanik> there we go
717: [21:28:00] <azureKnight> Yeah, I'm often in the docs and apis.
718: [21:28:00] <azureKnight> Interesting.
719: [21:28:00] <azureKnight> I gotcha.
720: [21:28:00] <Pyromanik> s'wat I do.
721: [21:28:00] <azureKnight> Thanks Pyromanik
722: [21:28:00] <Pyromanik> Other than that, google your question.
723: [21:28:00] <Zauberfisch> azureKnight I would also recommend reading the source of the silverstripe framework
724: [21:28:00] <Zauberfisch> (sapphire)
725: [21:28:00] <Pyromanik> prevalent
726: [21:28:00] <Pyromanik> prevailent? no still wrong :<
727: [21:28:00] <irogue> we have 2 fridges, a freezer, a toaster, a toasted sandwich maker, 2 microwaves and an electric frypan
728: [21:28:00] <Pyromanik> php's quite prevailant.
729: [21:28:00] <Pyromanik> ent.
730: [21:29:00] <azureKnight> See, I don't have a lot of knowledge of php, most of what I've learned has actually come through programming SS
731: [21:29:00] <Zauberfisch> reading the source of ss thought me a lot
732: [21:29:00] <azureKnight> Like, the sapphire folder?
733: [21:29:00] * Jeremy has joined #silverstripe
734: [21:29:00] <Zauberfisch> azureKnight yeah
735: [21:29:00] * Jeremy is now known as clodeindustrie
736: [21:29:00] <azureKnight> Hmm.
737: [21:29:00] <azureKnight> Alright.
738: [21:29:00] <Zauberfisch> just read through the code
739: [21:29:00] <clodeindustrie> hey there
740: [21:29:00] <Pyromanik> irogue, fridgefreezer, toaster, toasted sandwich squisher, microwave, dishwasher.
741: [21:29:00] <Pyromanik> which no one ever puts dirty dishes in
742: [21:29:00] <Zauberfisch> pick a topic you want to read on, and then find a class related to that topic
743: [21:29:00] <Pyromanik> unless there's clean stuff in there
744: [21:30:00] <Pyromanik> and grinder, etc.
745: [21:30:00] <irogue> but i don't count it
746: [21:30:00] <clodeindustrie> $Key doesn't seem to work
747: [21:30:00] <Pyromanik> oh, and an industrial fridge
748: [21:30:00] <irogue> cos coffee is yuck
749: [21:30:00] <azureKnight> Pyromanik: so lucky??? Our office just has a mini fridge
750: [21:30:00] <clodeindustrie> when I want to loop over an ArrayData in a template how do I call the key and the value?
751: [21:30:00] <Pyromanik> filled with coke, l&p, beer, wine, cider
752: [21:30:00] <azureKnight> Thanks Zauberfisch
753: [21:30:00] <simon_w> clodeindustrie, ArrayData isn't for looping over
754: [21:30:00] <Zauberfisch> Pyromanik, irogue. I win, we have a whole kitchen including offen, pans, dishwasher, ... :P
755: [21:30:00] <Pyromanik> irogue, oh, and a cafe style dual head espresso machine.
756: [21:30:00] <irogue> Pyromanik: i wish we had a dishwasher.
757: [21:30:00] <irogue> yes, we have one of those too
758: [21:31:00] <irogue> Zauberfisch: haha
759: [21:31:00] <Pyromanik> Zauberfisch, nice. Sounds like SS
760: [21:31:00] <Zauberfisch> and what is even more important than a kitchen: we have a lot of food delivery services around the area :D
761: [21:31:00] <Pyromanik> ($Key0
762: [21:31:00] <Pyromanik> clodeindustrie, you cannot.
763: [21:31:00] <Pyromanik> their kitchen is nice.
764: [21:31:00] <clodeindustrie> simon_w: I've misinformed by the forum then :)
765: [21:31:00] <simon_w> Not surprised :p
766: [21:32:00] <Pyromanik> clodeindustrie, well you don't.
767: [21:32:00] <Zauberfisch> and per default that is only ArrayList and DataList
768: [21:32:00] <simon_w> clodeindustrie, what sort of an array?
769: [21:32:00] <Zauberfisch> you can only loop things that implement SS_List
770: [21:32:00] <Pyromanik> and secondly, you can't get the $key
771: [21:32:00] <Zauberfisch> clodeindustrie not possible in ss
772: [21:32:00] <Pyromanik> well for starter you'd want arraylist, not arraydata
773: [21:32:00] <clodeindustrie> in a template
774: [21:32:00] <clodeindustrie> I mean looping over an array
775: [21:32:00] <irogue> only food delivery service we have nearby (other than pizza) is Burgerfuel
776: [21:32:00] <clodeindustrie> any idea how I can do that?
777: [21:32:00] <Pyromanik> )*
778: [21:33:00] <Zauberfisch> but you can du what you want using a ArrayList
779: [21:33:00] <Pyromanik> Zauberfisch, Earthquake stole all the close eating places.
780: [21:33:00] <clodeindustrie> something very basic array("toto" => "Toto") for use in a select
781: [21:33:00] <Pyromanik> go to the service station to get things
782: [21:33:00] <Pyromanik> (pies, sushi, etc)
783: [21:33:00] <clodeindustrie> I may take a look at ArrayList then
784: [21:33:00] <simon_w> clodeindustrie, just use a DropdownField?
785: [21:33:00] <Pyromanik> umm, petrol station, in case service station is a kiwi thing.
786: [21:33:00] <clodeindustrie> hum
787: [21:34:00] <clodeindustrie> thanks
788: [21:34:00] <Zauberfisch> azureKnight so for example if you want to read up on image functions in PHP open up the GDBackend class and read through it
789: [21:34:00] <clodeindustrie> I'll take a look at that too then
790: [21:35:00] <simon_w> So, this SilverScoop thing. It's like a month late on the next scheduled episode :p
791: [21:35:00] <azureKnight> I see. I see.
792: [21:35:00] <simon_w> or, php.net/gd
793: [21:36:00] <Pyromanik> simon_w, surprised?
794: [21:36:00] <Zauberfisch> howard has a bad work schedule at the moment
795: [21:36:00] <Pyromanik> I think he's busy.
796: [21:36:00] <Zauberfisch> simon_w yeah, I know :/ we have troubles getting together lately.
797: [21:36:00] <Pyromanik> mmm
798: [21:36:00] <simon_w> Something about married life or some such
799: [21:36:00] <Pyromanik> haven't seen Howard Grigg around in channel much lately either.
800: [21:37:00] <Pyromanik> can't live with, can't live without.
801: [21:37:00] <Pyromanik> wimminz.
802: [21:37:00] <Zauberfisch> and I am also pretty busy as usual
803: [21:37:00] * Pyromanik sighs.
804: [21:37:00] <Zauberfisch> UC is probably busy preparing for wellington
805: [21:37:00] <Pyromanik> if you're a heterosexual male.
806: [21:37:00] <Pyromanik> Zauberfisch, preparing for wellington?
807: [21:38:00] <simon_w> He's moving. Apparently it's big news
808: [21:38:00] <simon_w> If he's not here for the hackfest, not committed enough!
809: [21:38:00] <simon_w> yeah
810: [21:38:00] * Error404NotFound has joined #silverstripe
811: [21:38:00] <Zauberfisch> simon_w haha :D
812: [21:38:00] <Pyromanik> Fleeing America though... probably not all that bad.
813: [21:38:00] <Zauberfisch> Pyromanik yes, moving to NZ, already got a job in wellington
814: [21:38:00] <Zauberfisch> can't recall the company name though
815: [21:38:00] <Pyromanik> wow
816: [21:38:00] <Pyromanik> that's... pretty big.
817: [21:38:00] <Pyromanik> To NZ?
818: [21:39:00] <simon_w> Heyday
819: [21:39:00] <willr_> we tried to offer him one but we only give out 3 month contracts
820: [21:39:00] <Pyromanik> willr_, sounds perfect.
821: [21:39:00] <Pyromanik> when can I start?
822: [21:39:00] <Pyromanik> :P
823: [21:39:00] <willr_> well not when you're moving to the other side of the world
824: [21:39:00] <Pyromanik> can I telecommute
825: [21:39:00] <willr_> HeyDay
826: [21:39:00] <Pyromanik> oh yeh
827: [21:40:00] <Pyromanik> lulz
828: [21:40:00] <Pyromanik> I'm stuck in CHC for now.
829: [21:40:00] <simon_w> Pyromanik, take an OE to Wellington! :p
830: [21:40:00] <willr_> Pyromanik contract can have your name of it if you want it. Though like I said, only a 3 month.
831: [21:41:00] <Zauberfisch> Pyromanik you are moving to?
832: [21:41:00] <Pyromanik> see previous statement about wimminz
833: [21:41:00] <willr_> stuck in liquefaction?
834: [21:41:00] <Pyromanik> naw, lecturing contract
835: [21:41:00] <Pyromanik> Zauberfisch, ha, I wish.
836: [21:42:00] <azureKnight> Has anybody tested the TimePickerField in ss 3.0?
837: [21:42:00] <azureKnight> Makes picking a time even something dummies can do! :D
838: [21:42:00] <Pyromanik> there's a timepickerfield?
839: [21:42:00] <Pyromanik> lol
840: [21:42:00] <azureKnight> It's an extension.
841: [21:43:00] <Pyromanik> never underestimate a dummy.
842: [21:43:00] <Pyromanik> I bet they can't.
843: [21:45:00] <Pyromanik> Zauberfisch, I was tempted to apply for a job in Warsaw recently though.
844: [21:46:00] <Pyromanik> but then I thought how they probably don't use SS, and I probably couldn't live like that.
845: [21:46:00] <Zauberfisch> haha, I did implement a timepicker once
846: [21:46:00] <Zauberfisch> and yes, some people did manage not to get it :P
847: [21:47:00] <Zauberfisch> "but then I thought how they probably don't use SS, and I probably couldn't live like that." !!!!
848: [21:47:00] <simon_w> Dropdowns!
849: [21:47:00] <Zauberfisch> I just switched company recently, my first demand was that the company switches to silverstripe ^^
850: [21:47:00] <simon_w> We changed our date/time fields to use drop downs. All input problems when bye byes
851: [21:47:00] <simon_w> *went
852: [21:48:00] * Liquide has joined #silverstripe
853: [21:49:00] <Pyromanik> more like app dev work
854: [21:49:00] <Pyromanik> Can't imagine them redev'n entire framework just to fit junior dev's request
855: [21:49:00] <Pyromanik> Zauberfisch, yeah, but this wasn't for an agency
856: [21:53:00] <azureKnight> simon_w:
857: [21:53:00] <azureKnight> Really? That seems incredible??? Did you list out each month and then potential times?
858: [21:54:00] <azureKnight> I feel like there'd be a simple php statement for that though...
859: [21:55:00] <simon_w> Days and months are drop downs, year is a numeric field, hour and minutes are drop downs, limited to 5/15 (actual value is settable) increments
860: [21:55:00] <azureKnight> Interesting.
861: [21:59:00] <Pyromanik> simon_w, POIDH
862: [22:00:00] <azureKnight> Huh?
863: [22:00:00] <simon_w> Wha?
864: [22:00:00] * Error404NotFound quit (Ping timeout: 255 seconds)
865: [22:00:00] <Zauberfisch> good night gents
866: [22:00:00] <Zauberfisch> bed time
867: [22:01:00] <azureKnight> Lol.
868: [22:01:00] <azureKnight> Night Zauberfisch thanks.
869: [22:01:00] <Pyromanik> simon_w, Pics Or It Didn't Happen.
870: [22:01:00] <Pyromanik> night Zauberfisch
871: [22:01:00] <azureKnight> Pyromanik: first time I've seen that abbreviated.
872: [22:04:00] <simon_w> Pyromanik, http://s.geek.nz/p/4r
873: [22:06:00] * nickmolhoek1 has joined #silverstripe
874: [22:06:00] * nickmolhoek1 quit (Remote host closed the connection)
875: [22:06:00] * nickmolhoek1 has joined #silverstripe
876: [22:07:00] * nickmolhoek quit (Ping timeout: 264 seconds)
877: [22:16:00] <azureKnight> Anybody added a query character counter in the admin on ss?
878: [22:16:00] <azureKnight> Looking like I'm going to try and figure out a custom implementation.
879: [22:17:00] <FrozenFire> I have a file whose Filename is assets/Waivers/3.pdf
880: [22:17:00] <FrozenFire> Is the File class intentionally tardy or something?
881: [22:17:00] <FrozenFire> I see it in the database.
882: [22:18:00] <FrozenFire> When I generate a link using ->Link(), ->Filename, ->URL, etc it comes out as assets/3.pdf
883: [22:20:00] * priithansen quit (Quit: priithansen)
884: [22:20:00] <simon_w> Did you upload it through as has_many relation?
885: [22:21:00] * PokPok has joined #silverstripe
886: [22:21:00] <FrozenFire> Nope. I'm generating the file myself.
887: [22:22:00] <FrozenFire> $fileName = "assets/Waivers/3.pdf";
888: [22:22:00] <FrozenFire> $pdf->Filename = $fileName;
889: [22:22:00] <FrozenFire> $pdf->write();
890: [22:22:00] <FrozenFire> In fact, lollercopter, it keeps regenerating the file
891: [22:22:00] <FrozenFire> Something's goofy.
892: [22:22:00] <simon_w> How you doing it?
893: [22:22:00] <FrozenFire> $pdf = new File();
894: [22:23:00] <FrozenFire> Oh
895: [22:23:00] <FrozenFire> Jesus.
896: [22:23:00] <FrozenFire> That's... silly.
897: [22:23:00] <FrozenFire> >.>
898: [22:23:00] <FrozenFire> Wat
899: [22:23:00] <simon_w> You need to set the ParentID
900: [22:25:00] <FrozenFire> Thanks, though
901: [22:28:00] <FrozenFire> Uggh, this is confusing
902: [22:29:00] <FrozenFire> Do all File references act relative to ASSETS_DIR?
903: [22:29:00] <Pyromanik> oh
904: [22:29:00] <Pyromanik> yes
905: [22:30:00] <Pyromanik> wait
906: [22:30:00] <Pyromanik> File.php
907: [22:30:00] <Pyromanik> dunno
908: [22:32:00] <simon_w> yes
909: [22:34:00] <FrozenFire> Figured it out. Just got complicated with various relative and absolute references
910: [22:35:00] * gelignite quit (Quit: http://bit.ly/nkczDT)
911: [22:38:00] <azureKnight> If I'm trying to make my summar_fields show Time in am/pm
912: [22:38:00] <azureKnight> summary*
913: [22:39:00] * ^pH has joined #silverstripe
914: [22:41:00] * SightUnseen has joined #silverstripe
915: [22:42:00] * SightUnseen has left #silverstripe
916: [22:43:00] <guci0> Hi all!
917: [22:43:00] * guci0 has joined #silverstripe
918: [22:43:00] * ^pH- quit (Ping timeout: 276 seconds)
919: [22:47:00] <azureKnight> Hi guci0
920: [22:48:00] <guci0> :)
921: [22:51:00] <Pyromanik> azureKnight, 'Time.Format(A-B-Cdef)' => 'Time'
922: [22:52:00] <Pyromanik> where contents of brackets match what you want from http://php.net/date
923: [22:52:00] <azureKnight> So, 'Time.Format(h:i)' => 'Time' ?
924: [22:53:00] <azureKnight> Maybe I should make Time a Date in the $db?
925: [22:53:00] <azureKnight> I get an error when I try and put that in the summaryField array.
926: [22:55:00] <azureKnight> I was trying to do casting.
927: [22:55:00] <azureKnight> So, $casting = array('NiceTime' => 'Time') -- getNiceTime() {return $this->Time;} and was going to try and format the time in the function.
928: [23:02:00] * catcher quit (Quit: Leaving)
929: [23:03:00] <azureKnight> Nevermind.
930: [23:04:00] <azureKnight> I figured it out. :)
931: [23:06:00] <Pyromanik> azureKnight, and the answer was?
932: [23:06:00] <azureKnight> I needed to object!
933: [23:07:00] * azureKnight fingers crossed.
934: [23:07:00] <azureKnight> $this->obj('Time')->Nice();
935: [23:07:00] <Pyromanik> $this->dbObject('Time')
936: [23:07:00] <Pyromanik> mm
937: [23:07:00] <Pyromanik> yup
938: [23:07:00] <azureKnight> Yup.
939: [23:07:00] <azureKnight> Never gonna ask that question again.
940: [23:09:00] <Pyromanik> http://www.youtube.com/watch?v=E10vJKMhePo
941: [23:10:00] <Pyromanik> the only good thing to ever come out of ZM
942: [23:11:00] <Pyromanik> FrozenFire, you must have something for me
943: [23:11:00] <simon_w> Like, a dropdown?
944: [23:11:00] <Pyromanik> guys I need a has_one picker field.
945: [23:11:00] <Pyromanik> what do?
946: [23:12:00] <simon_w> In the 3.0 CMS, they're given that search box
947: [23:12:00] <Pyromanik> is that a special dropdown, or just a dropdown?
948: [23:12:00] <Pyromanik> yeah, but that's a bit shit when you have 60 things to choose from
949: [23:12:00] <Pyromanik> ?
950: [23:13:00] <simon_w> azureKnight, nope
951: [23:13:00] <azureKnight> Doesn't the drop down become a search when it has so many?
952: [23:13:00] <simon_w> Pyromanik, any drop down
953: [23:13:00] <Pyromanik> no idea, trying.
954: [23:13:00] <azureKnight> Or when it's a drop down for a relationship?
955: [23:14:00] <Pyromanik> choice
956: [23:14:00] <FrozenFire> Pyromanik, Yeah, I think if you name a DropdownField as the ID of a has_one, it'll munge it into a has_one selector
957: [23:14:00] <azureKnight> http://dec.re/gzu
958: [23:15:00] <azureKnight> ;)
959: [23:15:00] <Pyromanik> that's a country dropdown?
960: [23:15:00] <azureKnight> That's a State dropdown.
961: [23:15:00] <azureKnight> USA.
962: [23:15:00] <Pyromanik> oh yeh
963: [23:17:00] <azureKnight> That's a one to many though.
964: [23:19:00] <simon_w> That's a standard drop down
965: [23:20:00] <azureKnight> Yeah, I was asking if that wouldn't work for Pyromanik
966: [23:22:00] * chillu quit (Quit: chillu)
967: [23:25:00] <Pyromanik> like private static $extensions = array('ExtensionForThisClassOnly');
968: [23:25:00] <Pyromanik> can I apply an extension to an object but not it's children?
969: [23:28:00] <Pyromanik> simon_w, ?
970: [23:29:00] <Pyromanik> travis-ci?
971: [23:29:00] <simon_w> Pyromanik, no
972: [23:29:00] <willr_> no
973: [23:29:00] <Pyromanik> :<
974: [23:29:00] <Pyromanik> cool, hide fields it is
975: [23:29:00] * clodeindustrie quit (Quit: Textual IRC Client: www.textualapp.com)
976: [23:29:00] * travis-ci has joined #silverstripe
977: [23:29:00] <travis-ci> [travis-ci] silverstripe/sapphire#1983 (3.0 - 933fbf8 : Ingo Schommer): The build passed.
978: [23:29:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/a68fb1f09623...933fbf8ea47c
979: [23:29:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/6266259
980: [23:29:00] * travis-ci has left #silverstripe
981: [23:29:00] <Pyromanik> willr_, ?
982: [23:30:00] <azureKnight> Good plan.
983: [23:31:00] * DigNZ quit (Ping timeout: 264 seconds)
984: [23:35:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/6266299
985: [23:35:00] * travis-ci has joined #silverstripe
986: [23:35:00] <travis-ci> [travis-ci] silverstripe/sapphire#1984 (3.1 - 59dc008 : Ingo Schommer): The build passed.
987: [23:35:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/1f7796c83e99...59dc0085d841
988: [23:35:00] * travis-ci has left #silverstripe
989: [23:39:00] * travis-ci has left #silverstripe
990: [23:39:00] * travis-ci has joined #silverstripe
991: [23:39:00] <travis-ci> [travis-ci] silverstripe/sapphire#1985 (master - 9eab893 : Ingo Schommer): The build was broken.
992: [23:39:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/f514067f2fb6...9eab893e7cd8
993: [23:39:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/6266325
994: [23:52:00] * oddnoc quit (Quit: bye!)
995: [23:56:00] * Jeremy is now known as clodeindustrie
996: [23:56:00] * Jeremy has joined #silverstripe
997: [23:57:00] <clodeindustrie> is it possible to call a count function on a paginateList in a template before calling <% control %> on it?
998: [23:59:00] <simon_w> clodeindustrie, yes, and use loop
999: [23:59:00] <irogue> ah great
1000: [23:59:00] <irogue> zoneedit haxxed

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