#silverstripe IRC Log

IRC log for 26 September 2016

All timestamps are in UTC.

1: [00:05:08] * micmania1 quit (Quit: micmania1)
2: [00:15:04] <ss-helper> RFC Versioned many_many - https://groups.google.com/d/msg/silverstripe-dev/6nks_xV7hpM/Xq-lGhQyBQAJ
3: [00:16:17] * zippy quit (Ping timeout: 240 seconds)
4: [00:17:58] * zippy has joined #silverstripe
5: [00:24:27] * janneklouman-- has joined #silverstripe
6: [00:29:07] * janneklouman-- quit (Ping timeout: 255 seconds)
7: [00:35:13] * micmania1 has joined #silverstripe
8: [00:41:32] <vitaly__> Hi :) Is it possible to easily display captcha on login form?
9: [00:44:57] * Nightjar has joined #silverstripe
10: [00:45:45] * spronk has joined #silverstripe
11: [00:46:59] <zippy> spronk: o/
12: [00:47:14] <zippy> vitaly__: possibly... you could extend the memberform and add in captcha
13: [00:47:18] <zippy> via the spam module
14: [00:47:47] <vitaly__> zippy: thanks, I'll try that
15: [00:59:22] * janneklouman-- has joined #silverstripe
16: [01:04:32] * janneklouman-- quit (Ping timeout: 265 seconds)
17: [01:35:00] <spronk> lo
18: [01:35:10] <Nightjar> 'lo
19: [01:45:29] <zippy> where have all the people gone eh! so quiet in here now..
20: [01:51:15] * janneklouman-- has joined #silverstripe
21: [01:53:35] <Nightjar> quite quiet indeed zippy
22: [01:53:52] <Nightjar> zippy, you TDC, or was that antmas?
23: [01:53:57] <zippy> antmas
24: [01:55:55] <Nightjar> You're in nelson tho rite zippy ?
25: [01:56:01] <zippy> yeap
26: [01:56:18] * janneklouman-- quit (Ping timeout: 264 seconds)
27: [01:56:21] <zippy> needs a burger fuel... :)
28: [01:56:23] <Nightjar> wut u do?
29: [01:56:35] <zippy> talk on irc... not many people talk back these days thou
30: [01:56:36] <Nightjar> NCC? :P
31: [01:56:39] <zippy> haha no
32: [01:56:50] <Nightjar> ikr, stink. They all went overseas. Or are overseas. Or both.
33: [01:56:51] <zippy> for myself, for clients
34: [01:56:55] <Nightjar> oic, nice.
35: [01:57:04] <zippy> no Colin even.. jeapers..
36: [01:57:10] <Nightjar> zippy, do you know Scotty?
37: [01:57:33] <zippy> because there is only one Scotty in Nelson....?
38: [01:57:39] <Nightjar> Yes.
39: [01:57:53] <zippy> no, don't know a scotty
40: [01:58:03] <zippy> well I went to school with a Scott... not sure if any relation :)
41: [01:59:26] <Nightjar> Mebbe, dunno. Probably not. He's a designer, moved to Nelson after the quake. Mobius (another old irc name) was/is married to his sister.
42: [01:59:50] <Nightjar> designer/artist
43: [01:59:53] <zippy> from Welly / or ChCh?
44: [01:59:58] <Nightjar> both? idk.
45: [02:00:06] <Nightjar> oh, I worked with him in CHC
46: [02:02:12] <zippy> :) ah yeap, your in ChCh or Welly?
47: [02:02:20] <Nightjar> You're.
48: [02:02:37] <zippy> yes
49: [02:03:04] <Nightjar> yes,
50: [02:03:07] <Nightjar> I am.
51: [02:03:52] <Nightjar> Across the water from you.
52: [02:03:57] <Nightjar> ... ish.
53: [02:06:08] <Nightjar> Even Danae is missing :<
54: [02:15:03] * janneklouman-- has joined #silverstripe
55: [02:17:50] <vitaly__> I'm trying to upload image to SilverStripe and I'm getting and error at line 539 HtmlEditorField.php. Does anyone know what could it be? It's not clear what version of SS is it, I have limited access to he website -_-
56: [02:18:50] <zippy> vitaly__: if you check the Network tab and loo at the response for the upload, it might contain more information....
57: [02:19:03] <zippy> Since it's saying "line 539" then I am guessing it's dumping out a bit of an error there...
58: [02:19:11] <zippy> open the network tab, do the upload, check the response
59: [02:19:40] * janneklouman-- quit (Ping timeout: 260 seconds)
60: [02:21:32] <vitaly__> zippy: jquery.js?m=1373256118:8240 POST /admin/pages/edit/EditorToolbar/MediaForm/field/AssetUploadField/upload 500 (Internal Server Error)
61: [02:21:49] <zippy> yes, if you click on it, and then click the response tab
62: [02:22:11] <zippy> !paste
63: [02:22:11] <ss-helper> Please paste your code using something like http://kopy.io/ or http://www.sspaste.com/ or https://gist.github.com/ and then paste the link here.
64: [02:24:20] <vitaly__> zippy: http://kopy.io/2DWVW weird stuff
65: [02:24:53] <vitaly__> zippy: it happens after I drag and drop image in WYSIWYG content editor image upload popup
66: [02:24:56] * janneklouman-- has joined #silverstripe
67: [02:25:15] <zippy> Look looks like the headers.
68: [02:25:23] <zippy> On the response tab should be some different info
69: [02:25:58] <zippy> mind you, not sure what browser your using. User agent gives no clues anymore lol
70: [02:26:10] <zippy> vitaly__: is the page saved?
71: [02:26:18] <vitaly__> zippy: oh yeah, gonna get response
72: [02:27:28] <vitaly__> zippy: http://kopy.io/85mHT
73: [02:27:42] <vitaly__> It might be private tab in chrome :)
74: [02:29:26] <zippy> I wonder if the upload fails to complete so it doesn't get a valid ID and runs into this issue..
75: [02:29:35] <zippy> tried it on a saved page?
76: [02:29:41] <zippy> what SS you running?
77: [02:29:49] <zippy> Does uploaded into WYSIWYG work normally?
78: [02:29:57] * janneklouman-- quit (Ping timeout: 272 seconds)
79: [02:29:58] <zippy> Can you upload a file via the Files on the left hand side in CMS
80: [02:35:15] <vitaly__> zippy: When I try navigate to the folder where image is located in "From the CMS" tab it's empty for some reason even thought it contains an image.
81: [02:35:34] <zippy> are you sure the permissions are correct for your assets folder
82: [02:35:37] <vitaly__> I don't know the version, but it's 3.0+
83: [02:36:01] <vitaly__> good question
84: [02:37:01] <vitaly__> zippy: got something different now: http://kopy.io/3Tv3W
85: [02:37:42] <vitaly__> zippy: yeah, looks like permission issue
86: [02:37:49] <vitaly__> IIS is weird
87: [02:38:10] <vitaly__> zippy: thanks for the help on this one :)
88: [03:00:06] <ss-helper> How to fetch value from url in silverstripe - http://stackoverflow.com/questions/28560679/how-to-fetch-value-from-url-in-silverstripe
89: [03:03:26] * Nightjar quit (Ping timeout: 265 seconds)
90: [03:10:49] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
91: [03:17:24] * Nightjar has joined #silverstripe
92: [03:22:08] * ahr3n has joined #silverstripe
93: [03:23:15] * Azure quit (Ping timeout: 265 seconds)
94: [03:49:18] * Azure has joined #silverstripe
95: [03:53:14] * spronk quit (Quit: I may need a longer sleep timer...)
96: [03:55:57] * Nightjar quit (Quit: Leaving)
97: [03:56:07] * spronk has joined #silverstripe
98: [03:56:18] <spronk> tfw when you have nothing to eat for lunch
99: [03:56:22] <spronk> and end up making egg burgers.
100: [03:57:17] * micmania1 quit (Quit: micmania1)
101: [03:58:11] * micmania1 has joined #silverstripe
102: [04:00:56] <spronk> also tfw your 1.75 year old is more mature than your 4.5 year old, and commiserates with you when the latter throws a tantrum "oh dear temper tanty"
103: [04:03:30] * Azure quit (Ping timeout: 264 seconds)
104: [04:04:36] * Azure has joined #silverstripe
105: [04:04:45] * janneklouman-- has joined #silverstripe
106: [04:10:18] * janneklouman-- quit (Ping timeout: 276 seconds)
107: [04:15:07] <ss-helper> Limit SiteTree based on current member in SilverStripe - http://stackoverflow.com/questions/39694576/limit-sitetree-based-on-current-member-in-silverstripe
108: [04:34:24] <Audlex-> how do i get the next DO item?
109: [04:38:54] * micmania1 quit (Quit: micmania1)
110: [05:03:56] * adrexia quit (Quit: My Mac has gone to sleep. ZZZzzz…)
111: [05:13:36] * Zauberfisch_ has joined #silverstripe
112: [05:13:37] * slievr1 has joined #silverstripe
113: [05:16:35] * Robdgreat_ has joined #silverstripe
114: [05:16:36] <ss-helper> Robdgreat_: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
115: [05:16:54] * TombL_ has joined #silverstripe
116: [05:17:05] * Kolin_ has joined #silverstripe
117: [05:21:00] * slievr quit (*.net *.split)
118: [05:21:02] * Zauberfisch quit (*.net *.split)
119: [05:21:04] * Kingy quit (*.net *.split)
120: [05:21:05] * Robdgreat quit (*.net *.split)
121: [05:21:06] * TombL quit (*.net *.split)
122: [05:21:06] * gamma quit (*.net *.split)
123: [05:21:06] * Kolin quit (*.net *.split)
124: [05:23:31] * ahr3n quit (Ping timeout: 265 seconds)
125: [05:24:59] * Zauberfisch_ is now known as Zauberfisch
126: [05:25:56] * Kingy has joined #silverstripe
127: [05:29:13] * gamma has joined #silverstripe
128: [05:35:04] * janneklouman-- has joined #silverstripe
129: [05:40:04] * janneklouman-- quit (Ping timeout: 255 seconds)
130: [05:46:29] * Stomach has joined #silverstripe
131: [05:50:48] * janneklouman-- has joined #silverstripe
132: [05:55:29] * janneklouman-- quit (Ping timeout: 240 seconds)
133: [06:11:49] * Stomach quit (Quit: zzz)
134: [06:12:18] * Mike123 has joined #silverstripe
135: [06:18:21] * Stomach has joined #silverstripe
136: [06:20:24] * wmk has joined #silverstripe
137: [06:21:51] <Mike123> Hey
138: [06:28:26] <wmk> g'morning(ugt)
139: [06:31:09] * Eliseth has joined #silverstripe
140: [06:32:58] * darianno has joined #silverstripe
141: [06:35:35] <wmk> "To save time and speed up development, we do not maintain a change log."
142: [06:35:42] <wmk> what should i think about that...
143: [06:40:03] * zippy has joined #silverstripe
144: [06:55:18] <wmk> seems like using $AbsoluteLink on a RedirectionPage breaks the external link?
145: [07:01:28] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
146: [07:12:38] * phorloop has joined #silverstripe
147: [07:14:41] * janneklouman-- has joined #silverstripe
148: [07:15:00] * zippy has joined #silverstripe
149: [07:19:08] * janneklouman-- quit (Ping timeout: 244 seconds)
150: [07:23:24] * Robdgreat_ is now known as Robdgreat
151: [07:24:31] * swaiba has joined #silverstripe
152: [07:30:56] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
153: [07:35:20] * zippy has joined #silverstripe
154: [07:37:32] * spronk quit (Quit: I may need a longer sleep timer...)
155: [07:45:17] <ss-helper> Re: [silverstripe-dev] RFC Versioned many_many - https://groups.google.com/d/msg/silverstripe-dev/6nks_xV7hpM/cozcS35KBQAJ
156: [07:45:18] <ss-helper> Re: [silverstripe-dev] RFC Versioned many_many - https://groups.google.com/d/msg/silverstripe-dev/6nks_xV7hpM/TpM-CAxKBQAJ
157: [07:56:33] * Stomach quit (Quit: zzz)
158: [08:00:18] <ss-helper> Re: [silverstripe-dev] RFC Versioned many_many - https://groups.google.com/d/msg/silverstripe-dev/6nks_xV7hpM/LPzthI5LBQAJ
159: [08:04:11] * micmania1 has joined #silverstripe
160: [08:04:51] * kinglozzer has joined #silverstripe
161: [08:06:28] * JorisDebonnet has joined #silverstripe
162: [08:06:28] <ss-helper> JorisDebonnet: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
163: [08:13:21] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
164: [08:14:29] * spronka has joined #silverstripe
165: [08:15:11] <ss-helper> JavaScript Callback After SilverStripe Grid Field Extensions Reorder? - http://stackoverflow.com/questions/39697619/javascript-callback-after-silverstripe-grid-field-extensions-reorder
166: [08:19:30] * phorloop quit (Quit: My laptop go to sleep. ZZZzzz…)
167: [08:20:46] * zippy has joined #silverstripe
168: [08:20:56] * janneklouman-- has joined #silverstripe
169: [08:25:15] * dylangrech92 has joined #silverstripe
170: [08:25:15] <ss-helper> dylangrech92: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
171: [08:25:50] * janneklouman-- quit (Ping timeout: 252 seconds)
172: [08:30:18] <ss-helper> Re: [silverstripe-dev] RFC Versioned many_many - https://groups.google.com/d/msg/silverstripe-dev/6nks_xV7hpM/nXU4XZRMBQAJ
173: [08:35:54] * r3v3rb has joined #silverstripe
174: [08:35:58] <r3v3rb> hello
175: [08:36:56] <r3v3rb> I have 'Donation' belongs_one -> yet $this->Donation() returns an error of method Donation doesnt exist on DO
176: [08:39:27] <kinglozzer> r3v3rb: belongs_to ?
177: [08:41:02] <r3v3rb> kinglozzer, I am a tit!
178: [08:41:08] <kinglozzer> :D
179: [08:43:37] <dylangrech92> morning guys, this weekend I submitted my plugin to SS addons. Is it normal that the rating still says N/A and updates from composer to SS addons page take so long to propagate?
180: [08:43:54] * spronka quit (Quit: My MacBook Air has gone to sleep. ZZZzzz…)
181: [08:44:18] * DimiStripe quit (Ping timeout: 264 seconds)
182: [08:44:59] * Stomach has joined #silverstripe
183: [08:45:17] <wmk> r3v3rb, glad you found it out yourself
184: [08:45:45] <wmk> dylangrech92, you submitted it to addons or did you submit it to packagist?
185: [08:45:52] <wmk> dylangrech92, which package?
186: [08:46:57] <r3v3rb> wmk ;)
187: [08:47:42] * dylangrech92 quit (Ping timeout: 240 seconds)
188: [08:47:54] <swaiba> mornin all o/
189: [08:48:14] <wmk> hey ho
190: [08:49:01] * dylangrech92 has joined #silverstripe
191: [08:49:10] <wmk> dylangrech92, you submitted it to addons or did you submit it to packagist? and which package?
192: [08:49:47] <dylangrech92> I submit it to packagist
193: [08:50:01] <wmk> which one?
194: [08:50:11] <dylangrech92> http://addons.silverstripe.org/add-ons/dylangrech92/seotoolbox
195: [08:51:18] <wmk> ah, that rating... dunno how often it's recalculated
196: [08:52:00] * spronka has joined #silverstripe
197: [08:52:29] <dylangrech92> even the README, yesterday spent pretty much all day re-writing readme, contributors, etc... nothing is getting updated. Even the composer screenshots removed it as it was broken as you can see in the addons page
198: [08:52:50] * agent44 has joined #silverstripe
199: [08:53:05] <wmk> dylangrech92, i guess you have to email the ss guys in NZ
200: [08:53:27] <wmk> maybe the updating job isn't running that often
201: [08:53:58] <dylangrech92> I'll wait till tomorrow and try that. Thanks :)
202: [09:00:12] <ss-helper> Controlling the Position of some items whilst the remainder can be sorted - http://stackoverflow.com/questions/39698335/controlling-the-position-of-some-items-whilst-the-remainder-can-be-sorted
203: [09:11:45] * chillu_23 has joined #silverstripe
204: [09:12:54] * Stomach quit (Quit: zzz)
205: [09:25:06] * DimiStripe has joined #silverstripe
206: [09:27:20] <JorisDebonnet> I am starting a completely new web project (which must however be ready by Friday), and would of course love to use SS 4. It's not that complicated, so I can probably use alpha2 and get that to work, but I will need to add Translatable support "soon after". So the question is of course: how soon might we expect a compatible Translatable version?... :) (I tried with its master whose readme claims SS4 compatibility, but ge
207: [09:28:04] <zippy> don't use alpha..
208: [09:29:59] * agent44 quit (Quit: agent44)
209: [09:33:07] * phorloop has joined #silverstripe
210: [09:34:24] * DimiStripe quit (Ping timeout: 265 seconds)
211: [09:36:36] <swaiba> JorisDebonnet 100% agree with zippy - don't use alpha
212: [09:38:55] * phorloop quit (Quit: My laptop go to sleep. ZZZzzz…)
213: [09:42:15] <JorisDebonnet> Yeah, I know that's the sensible thing... I was hoping to get rid of TinyMCE 3, but I guess I'll just have to migrate later!
214: [09:47:23] <wmk> JorisDebonnet, best to migrate later, there is some tinymce4 module as replacement in ss3 around... dunno how stable that is
215: [09:51:37] <chillu_23> JorisDebonnet: If you rely on modules (incl. SilverStripe supported ones), SS4 will probably be too early for you
216: [09:52:42] <chillu_23> Unless you’re prepared to run the upgrade script against said modules and work out the kinks yourself. I’d expect 1-3 hours of work to get translatable working for example
217: [09:55:24] * DimiStripe has joined #silverstripe
218: [09:57:44] * janneklouman-- has joined #silverstripe
219: [09:59:43] * DimiStripe quit (Ping timeout: 255 seconds)
220: [09:59:55] * wmk quit (Ping timeout: 260 seconds)
221: [10:01:01] * chillu_23 quit (Quit: chillu_23)
222: [10:03:22] * chillu_23 has joined #silverstripe
223: [10:03:53] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
224: [10:06:56] * DimiStripe has joined #silverstripe
225: [10:10:06] * JorisDebonnet quit (Quit: Page closed)
226: [10:11:54] * MichalKl_ quit ()
227: [10:15:45] * cloph_away has joined #silverstripe
228: [10:20:36] * agent44 has joined #silverstripe
229: [10:30:41] * chillu_23 quit (Quit: chillu_23)
230: [10:35:21] * pweh has joined #silverstripe
231: [10:46:56] * cloph_away is now known as cloph
232: [10:48:53] * DimiStripe quit (Ping timeout: 265 seconds)
233: [10:55:53] * DimiStripe has joined #silverstripe
234: [10:56:37] * Eliseth quit (Read error: Connection reset by peer)
235: [10:59:34] * agent44 quit (Ping timeout: 255 seconds)
236: [11:01:18] * spronka quit (Read error: Connection reset by peer)
237: [11:02:04] * spronka has joined #silverstripe
238: [11:07:17] * agent44 has joined #silverstripe
239: [11:15:16] * wmk has joined #silverstripe
240: [11:44:16] * pweh quit (Quit: Leaving)
241: [11:45:15] <ss-helper> Routing with parameters - http://stackoverflow.com/questions/20847983/routing-with-parameters
242: [11:45:42] * dylangrech92 quit (Ping timeout: 240 seconds)
243: [11:50:12] * janneklouman-- quit (Ping timeout: 244 seconds)
244: [12:12:30] * lerni has joined #silverstripe
245: [12:24:53] * UndefinedOffset has joined #silverstripe
246: [12:29:38] * micmania1 quit (Quit: micmania1)
247: [12:44:40] * janneklouman-- has joined #silverstripe
248: [13:00:49] * shellbac1pacific quit (Ping timeout: 250 seconds)
249: [13:01:43] * shellbackpacific has joined #silverstripe
250: [13:13:06] * agent44 quit (Ping timeout: 264 seconds)
251: [13:18:02] * agent44 has joined #silverstripe
252: [13:25:03] * swaiba quit (Remote host closed the connection)
253: [13:59:11] * wmk_ has joined #silverstripe
254: [13:59:12] <r3v3rb> hmm, 'Client' is a relation of $belongs_many_many | $this->Client()->Field returns null everytime... Odd
255: [13:59:20] * r3v3rb or just me
256: [14:00:24] <kinglozzer> r3v3rb: "Client" singular? Shouldn't it be Clients()->first() or something?
257: [14:01:04] <r3v3rb> nah, i love causing mayhem with the same names 'Client' => 'Client' for example :D
258: [14:01:15] <r3v3rb> and then watching the site burn!
259: [14:01:22] <kinglozzer> :P
260: [14:01:44] <kinglozzer> But I mean that belongs_many_many will return a list won't it?
261: [14:01:52] <kinglozzer> Rather than just one item
262: [14:02:59] * wmk quit (Ping timeout: 252 seconds)
263: [14:03:22] * r3v3rb gets back under the table and laughs
264: [14:04:46] <r3v3rb> heh, i am a tit and an idiot today
265: [14:05:08] <kinglozzer> Monday :P
266: [14:07:22] <r3v3rb> yeh and after being battered by social workers for our fostering application!
267: [14:09:42] * Mike123 quit (Ping timeout: 240 seconds)
268: [14:11:15] <r3v3rb> can't wait I have another 1hr long phone call tomorrow and if that is okay then I can look forward to 8 2hr long meetings to write a life history!
269: [14:13:28] <kinglozzer> Ouch... yeah I've heard it can be darn painful! Good luck!
270: [14:13:48] * Anna__ has joined #silverstripe
271: [14:13:48] <ss-helper> Anna__: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
272: [14:13:50] <Anna__> Hello everyone
273: [14:14:06] <Anna__> I try to create a CurrencyField in a dataobject
274: [14:14:42] <Anna__> but when i save the dataobject, ajax reload my model_admin and the value is multiplied by 100
275: [14:14:51] <Anna__> The value is correct in DB
276: [14:15:09] <Anna__> When I press F5 (reload) page. Value is correct
277: [14:15:15] <Anna__> Any idea ?
278: [14:16:19] <r3v3rb> kinglozzer, thanks - its already consumed a lot of time...
279: [14:17:32] <Anna__> very strange case
280: [14:23:39] <Anna__> a locale pb ?
281: [14:23:43] <Anna__> problem ?
282: [14:32:20] <r3v3rb> kinglozzer, any good with date tests in Silverstripe?
283: [14:33:02] <kinglozzer> r3v3rb: Hmm dunno, try me!
284: [14:33:03] <r3v3rb> I have a 'Pregnant' object with a duedate and need to filter if the duedate is within the next 30days!
285: [14:33:49] <r3v3rb> filter('DueDate' >= now()+30 ) would be nice
286: [14:35:05] <kinglozzer> ->filter('DueDate:LessThan', $thirtyDaysFromNow) ?
287: [14:35:31] <r3v3rb> :D $thirtyDaysFromNow << love it!
288: [14:35:36] <kinglozzer> :D
289: [14:36:07] <kinglozzer> $thirtyDaysFromNow = DBField::create_field('SS_Datetime', strtotime('+30 days'))->Value;
290: [14:36:08] <r3v3rb> date('Y-m-d', strtotime($Date. ' + 1 days'));
291: [14:36:08] <kinglozzer> I think
292: [14:36:11] <r3v3rb> ta da
293: [14:36:30] <kinglozzer> Or that ^^
294: [14:36:45] <kinglozzer> I can never remember the format it wants ><
295: [14:37:10] <r3v3rb> lets see
296: [14:37:24] <r3v3rb> bloody pregnant people are destroying my will to live!
297: [14:40:23] <Anna__> nobody ?
298: [14:43:21] * shellbackpacific quit (Ping timeout: 272 seconds)
299: [14:44:31] <r3v3rb> Anna__, sorry I steer clear of the currencyfield for these reasons!
300: [14:48:28] <r3v3rb> kinglozzer, you'd love this filter! it's basically > if PregnantLady Due Date within 30 days ignore, if PregnantLady has donation from same postcode area/district > ignore and if PregnantLady has a donation from someone with same surname already > ignore >> otherwise add her to a list of possibles, sort and use the first found. If none, just grab a random PregnantLady who is available
301: [14:48:36] * shellbackpacific has joined #silverstripe
302: [14:50:28] <kinglozzer> lol, good luck with that r3v3rb :P
303: [14:50:47] <r3v3rb> duedate and postcode are done, but now I have to refactor because of the surname
304: [14:51:08] <r3v3rb> once done I can invoice! hurrag
305: [14:51:11] <r3v3rb> hurrah even*
306: [14:52:05] <Anna__> @r3v3rb : "you steer clear" ?? Sorry I'm french
307: [14:52:23] <Anna__> I don't understand
308: [14:53:43] <r3v3rb> Anna__, Je suis désolé, Je voulais dire: «Je ne l'utilise pas" I think!
309: [14:54:14] <Anna__> ok cool thank ! ;)
310: [14:54:17] * r3v3rb thanks his 13yr old for the translation :D
311: [14:54:25] <Anna__> :D
312: [14:54:50] <kinglozzer> je deteste currencyfield
313: [14:54:53] <r3v3rb> he's 'spanglish' so much better with languages then I am
314: [14:54:57] <kinglozzer> That's about all the French I can remember from school :D
315: [14:55:12] <r3v3rb> kinglozzer, et moi
316: [14:56:33] <cloph> Anna__: there are backend bugs regarding decimal separator, maybe you're hitting one of those
317: [14:58:52] * darianno quit (Quit: Textual IRC Client: www.textualapp.com)
318: [15:16:47] <Anna__> cloph: i think so !
319: [15:16:58] <Anna__> kinglozzer: I hate too!!!!!
320: [15:20:08] * spronka quit (Quit: My MacBook Air has gone to sleep. ZZZzzz…)
321: [15:20:15] * lerni quit (Remote host closed the connection)
322: [15:23:27] <Anna__> ahhh :(
323: [15:23:50] <Anna__> I'm now trying to extends NumericField
324: [15:24:33] <Anna__> http://pastebin.com/8kY7bzdg
325: [15:24:49] <Anna__> but the holdertemplate is not loaded !!!
326: [15:24:52] <Anna__> :(
327: [15:26:04] <Anna__> here is the themes/my-theme/templates/Includes/MyEuroFieldHolder.ss : http://pastebin.com/fHKsPz1j
328: [15:30:35] * cloph is now known as cloph_away
329: [15:30:40] * janneklouman-- quit (Ping timeout: 265 seconds)
330: [15:33:11] * janneklouman-- has joined #silverstripe
331: [15:37:28] <Anna__> very strange today
332: [15:37:38] <Anna__> :-O
333: [15:38:32] * UndefinedOffset quit (Quit: Leaving.)
334: [15:42:03] * UndefinedOffset has joined #silverstripe
335: [15:46:17] * r3v3rb quit (Ping timeout: 240 seconds)
336: [15:52:42] * Anna__ quit (Quit: Page closed)
337: [16:01:35] * jonners99 has joined #silverstripe
338: [16:01:52] <jonners99> What decides in the CMS if a gridfield column is sortable?
339: [16:05:07] <slievr1> $sortable_fields no?
340: [16:05:12] * slievr1 is now known as slievr
341: [16:08:09] <jonners99> I thought it was, I searched the codebase for sortable_fields and came up empty
342: [16:17:10] <slievr> I've found it
343: [16:17:20] <slievr> it's $summary_fields
344: [16:17:29] <jonners99> Doesn't look like it does use $sortable_fields GridFieldSortableHeader looks runs the column through canSortBy
345: [16:17:30] <slievr> aswell
346: [16:17:46] <slievr> http://api.silverstripe.org/3.3/source-class-DataObject.html#_searchableFields
347: [16:17:50] <slievr> might shed some light
348: [16:18:38] <slievr> I'm afraid I have to be off, hope you fix your issue. o/
349: [16:19:05] <jonners99> Ta, it is decided here: http://api.silverstripe.org/3.3/source-class-GridFieldSortableHeader.html#78-164
350: [16:20:12] <kinglozzer> jonners99: This might help - https://gist.github.com/kinglozzer/330f484c6ff7bb0fc1017a852c981d47
351: [16:20:32] <kinglozzer> For that example, it'll sort by the "Surname" field on order, but will display their full name
352: [16:21:10] <kinglozzer> So replace Order.Surname with a database field that it *can* sort on, then use the callback to output whatever you want to display
353: [16:23:20] <jonners99> Can sort only occur one level down? ie if I have a gridfield showing top.title, top.level1.title and top.level1.level2.Title it is letting me sort by top and level1 currently
354: [16:24:47] <jonners99> argh, sorry my example is backwards
355: [16:27:16] <jonners99> I basically have a chain of has_one relationships and I am trying to sort using a displayed column a couple of levels higher
356: [16:28:27] <kinglozzer> Assuming they're all has_one and database fields then they *should* work I think
357: [16:30:07] <jonners99> Ok, I will make sure my searchable fields aren't dynamic. Thanks
358: [16:30:13] <kinglozzer> One of the unit tests covers traversing multiple relations - https://github.com/silverstripe/silverstripe-framework/blob/3.4/tests/forms/gridfield/GridFieldSortableHeaderTest.php#L88-L103
359: [16:30:14] <jonners99> That gist looks really helpful as well
360: [16:31:12] <kinglozzer> Good luck! Cya
361: [16:31:15] * kinglozzer quit ()
362: [16:31:32] * jonners99 quit (Read error: Connection reset by peer)
363: [16:50:29] * wmk_ quit (Quit: Leaving)
364: [17:19:35] * agent44 quit (Quit: zzz)
365: [17:21:40] * lerni has joined #silverstripe
366: [17:35:51] * janneklouman-- quit (Ping timeout: 265 seconds)
367: [17:37:38] * janneklouman-- has joined #silverstripe
368: [17:42:03] * janneklouman-- quit (Ping timeout: 265 seconds)
369: [17:43:41] * UndefinedOffset quit (Quit: Leaving.)
370: [17:50:00] * gelignite has joined #silverstripe
371: [18:11:08] * lerni quit (Remote host closed the connection)
372: [18:14:38] * lerni has joined #silverstripe
373: [18:42:44] * lerni quit (Remote host closed the connection)
374: [18:46:29] * chillu_23 has joined #silverstripe
375: [18:48:45] * chillu_23 quit (Client Quit)
376: [18:55:07] * Stomach has joined #silverstripe
377: [18:57:03] * lerni has joined #silverstripe
378: [19:05:42] * AlphaCactus has joined #silverstripe
379: [19:06:35] <AlphaCactus> Anybody ever have a problem where server returns 500 error with nothing logged anywhere when LeftAndMain.php calls new PjaxResponseNegotiator when loading /admin/assets
380: [19:12:50] * AlphaCactus quit (Read error: Connection reset by peer)
381: [19:13:21] * AlphaCactus has joined #silverstripe
382: [19:15:02] * chillu_23 has joined #silverstripe
383: [19:16:05] * lerni quit ()
384: [19:18:32] * DimiStripe quit (Quit: DimiStripe)
385: [19:21:23] * Stomach quit (Ping timeout: 272 seconds)
386: [19:26:47] * Stomach has joined #silverstripe
387: [19:35:09] * zippy has joined #silverstripe
388: [19:49:18] * Stomach quit (Quit: zzz)
389: [19:52:49] * Stomach has joined #silverstripe
390: [19:53:01] * adrexia has joined #silverstripe
391: [19:53:12] * adrexia quit (Client Quit)
392: [19:53:28] * adrexia has joined #silverstripe
393: [19:53:44] * adrexia quit (Remote host closed the connection)
394: [19:54:42] * adrexia has joined #silverstripe
395: [19:59:59] * UndefinedOffset has joined #silverstripe
396: [20:03:09] * Stomach quit (Quit: bye)
397: [20:06:54] * Stomach has joined #silverstripe
398: [20:07:15] <zippy> Morning
399: [20:07:52] * adrexia quit (Read error: Connection reset by peer)
400: [20:08:31] * ahr3n has joined #silverstripe
401: [20:19:39] * Hailwood has joined #silverstripe
402: [20:20:44] * UndefinedOffset quit (Quit: Leaving.)
403: [20:33:21] <xyphoid> is there a foreachelse equivalent in ss's <% loop syntax?
404: [20:34:16] <zippy> no there isn't
405: [20:35:06] <xyphoid> chur
406: [20:36:51] <Hailwood> With the new nested themes update that's coming in SS4, is there going to be any concept of nested templates yet? (i.e. the difference between templates/Includes/Something/File.ss and templates/Includes/Another/File.ss)
407: [20:46:22] * Hailwood quit (Ping timeout: 255 seconds)
408: [20:47:42] <Stomach> zippy we still suck at cricket
409: [20:49:01] <zippy> little bit
410: [20:51:53] * r3v3rb has joined #silverstripe
411: [20:52:15] <r3v3rb> morning
412: [20:53:19] * ss-log has joined #silverstripe
413: [20:55:23] * micmania1 has joined #silverstripe
414: [20:58:27] * Hailwood has joined #silverstripe
415: [21:04:32] * r3v3rb quit (Quit: Leaving)
416: [21:11:56] <zippy> Hailwood: dunno, but it would be nice eh!
417: [21:12:02] <zippy> A few times I have ran into that issue..
418: [21:12:33] <zippy> NameSpace_File.ss
419: [21:12:33] <zippy> :)
420: [21:12:56] <Hailwood> zippy, Yep, I have having template/Includes/Module/ModuleOverviewItem.ss as an example
421: [21:25:42] * Stomach quit (Quit: zzz)
422: [21:26:44] * Stomach has joined #silverstripe
423: [22:00:41] <ss-helper> SilverStripe 4.0.0-alpha2 Release Announcement - https://groups.google.com/d/msg/silverstripe-announce/vxAfW1mFLnQ/YJtC3ZZHAgAJ
424: [22:01:02] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
425: [22:04:17] * ahr3n_ has joined #silverstripe
426: [22:04:18] <ss-helper> ahr3n_: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
427: [22:05:13] * Stomach quit (Ping timeout: 244 seconds)
428: [22:05:32] * Stomach has joined #silverstripe
429: [22:07:22] * ahr3n quit (Ping timeout: 255 seconds)
430: [22:18:59] * zippy quit (Ping timeout: 244 seconds)
431: [22:34:33] * ahr3n_ quit (Ping timeout: 272 seconds)
432: [23:00:02] * ss-helper quit (Remote host closed the connection)
433: [23:00:17] * ss-helper has joined #silverstripe
434: [23:17:01] * spronk has joined #silverstripe
435: [23:36:23] * Stomach quit (Quit: zzz)
436: [23:39:03] * Stomach has joined #silverstripe
437: [23:54:23] * Stomach quit (Quit: zzz)

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