#silverstripe IRC Log

IRC log for 24 May 2016

All timestamps are in UTC.

1: [00:00:01] * ss-helper quit (Remote host closed the connection)
2: [00:00:17] * ss-helper has joined #silverstripe
3: [00:09:52] * BrewNaked quit (Remote host closed the connection)
4: [00:19:07] * spekulatius has joined #silverstripe
5: [00:33:25] * muskie9 has joined #silverstripe
6: [00:43:26] * aragonne has joined #silverstripe
7: [00:44:50] * aragonne quit (Client Quit)
8: [01:04:54] * PenguinMan98 quit (Ping timeout: 260 seconds)
9: [01:05:16] * novaweb has joined #silverstripe
10: [01:08:27] <novaweb> Hey kids. I want to run a loop in a template for items one to three, then loop items 4 - 10 further down in the template. What template syntax to use?
11: [01:08:52] <novaweb> Currently <% loop $Features.Sort(ID, ASC).Limit(3) %> obviously not delivering the end result I'm after yet...
12: [01:11:18] <novaweb> Example code is for first block, with items one to three. Understand I'll need to repeat for the second block with items 4-10.
13: [01:11:55] <Hailwood> Limit takes a second param, offset, does that help?
14: [01:12:37] <novaweb> Yes, thank you.
15: [01:12:44] <novaweb> I am on 3g, any api/docs don't load
16: [01:12:45] <novaweb> perfect.
17: [01:41:11] * novaweb quit (Ping timeout: 250 seconds)
18: [01:58:40] * BrewNaked has joined #silverstripe
19: [02:03:36] * BrewNaked quit (Ping timeout: 276 seconds)
20: [02:22:06] * micmania1 quit (Quit: micmania1)
21: [02:23:10] * micmania1 has joined #silverstripe
22: [02:50:25] * spronk has joined #silverstripe
23: [02:51:30] * spronk quit (Max SendQ exceeded)
24: [02:53:12] * spronk has joined #silverstripe
25: [02:53:28] * kinglozzer has joined #silverstripe
26: [02:57:52] * kinglozzer quit (Ping timeout: 250 seconds)
27: [03:47:30] * BrewNaked has joined #silverstripe
28: [03:52:34] * BrewNaked quit (Ping timeout: 272 seconds)
29: [03:53:51] * Phlunk3 quit (Remote host closed the connection)
30: [03:59:49] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
31: [03:59:57] * novaweb has joined #silverstripe
32: [04:05:48] * novaweb quit (Remote host closed the connection)
33: [04:33:03] * chillu_2323 has joined #silverstripe
34: [04:33:03] <ss-helper> chillu_2323: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
35: [04:33:08] * chillu_2323 quit (Client Quit)
36: [04:35:00] * chillu_23 quit (Ping timeout: 272 seconds)
37: [04:45:05] <ss-helper> In the CMS, clicking 'From files' not opening into folder name that has been set? - http://stackoverflow.com/questions/37404539/in-the-cms-clicking-from-files-not-opening-into-folder-name-that-has-been-set
38: [05:00:06] <ss-helper> UploadField 'From files' not opening into folder name that has been set in the CMS - http://stackoverflow.com/questions/37404539/uploadfield-from-files-not-opening-into-folder-name-that-has-been-set-in-the-c
39: [05:18:37] * novaweb has joined #silverstripe
40: [05:19:26] * novaweb_ has joined #silverstripe
41: [05:23:03] * novaweb quit (Ping timeout: 240 seconds)
42: [05:30:58] * glenn-bautista quit (Quit: Leaving.)
43: [05:31:13] * glenn-bautista has joined #silverstripe
44: [05:32:18] * glenn-bautista quit (Client Quit)
45: [05:36:23] * BrewNaked has joined #silverstripe
46: [05:40:46] * BrewNaked quit (Ping timeout: 252 seconds)
47: [05:56:40] * Stomach quit (Ping timeout: 260 seconds)
48: [06:07:15] * Mike123 has joined #silverstripe
49: [06:09:58] * aragonne has joined #silverstripe
50: [06:10:34] * aragonne quit (Client Quit)
51: [06:15:10] <ss-helper> Re: [silverstripe-dev] Re: RFC: Remove mailer in favor of SwiftMailer - https://groups.google.com/d/msg/silverstripe-dev/oEWWT2VDl5w/LuaevwzxDAAJ
52: [06:15:10] <ss-helper> Re: [silverstripe-dev] Re: RFC: Remove mailer in favor of SwiftMailer - https://groups.google.com/d/msg/silverstripe-dev/oEWWT2VDl5w/9S809fPwDAAJ
53: [06:21:04] * Zauberfisch quit (Ping timeout: 260 seconds)
54: [06:22:14] * xyphoid quit (Ping timeout: 260 seconds)
55: [06:25:04] * Zauberfisch has joined #silverstripe
56: [06:27:21] * xyphoid has joined #silverstripe
57: [06:33:21] * auto9 quit (Ping timeout: 276 seconds)
58: [06:34:20] * Stomach has joined #silverstripe
59: [06:55:40] * kinglozzer has joined #silverstripe
60: [06:57:41] * micmania1 quit (Quit: micmania1)
61: [06:58:14] * arnhoe has joined #silverstripe
62: [06:59:53] * kinglozzer quit (Ping timeout: 244 seconds)
63: [07:03:05] * Eliseth has joined #silverstripe
64: [07:05:35] * spronk quit (Quit: I may need a longer sleep timer...)
65: [07:11:06] * Stomach quit (Quit: zzz)
66: [07:13:25] * novaweb_ quit (Remote host closed the connection)
67: [07:25:14] * BrewNaked has joined #silverstripe
68: [07:29:30] * BrewNaked quit (Ping timeout: 244 seconds)
69: [07:45:13] <ss-helper> RFC: Move all Shortcode Handlers to separate classes - https://groups.google.com/d/msg/silverstripe-dev/gog2P9fmVdY/_Mj1SdH1DAAJ
70: [07:45:13] <ss-helper> Re: [silverstripe-dev] Re: RFC: Remove mailer in favor of SwiftMailer - https://groups.google.com/d/msg/silverstripe-dev/oEWWT2VDl5w/CIINKj76FwAJ
71: [07:47:59] * spronk has joined #silverstripe
72: [07:52:26] * Stomach has joined #silverstripe
73: [07:52:56] * wmk has joined #silverstripe
74: [08:01:29] * kinglozzer has joined #silverstripe
75: [08:04:00] <Stomach> good morning team europe
76: [08:06:10] <kinglozzer> \o Stomach
77: [08:06:21] <Stomach> o/
78: [08:06:28] <Stomach> how are you today loz
79: [08:11:49] <wmk> ☺/
80: [08:12:05] <kinglozzer> Good thanks Stomach, you?
81: [08:12:22] <Stomach> hey wmk
82: [08:12:24] <kinglozzer> Anyone in here watch Game of Thrones? :'(
83: [08:12:34] <kinglozzer> (I won't post any spoilers - just lots of crying faces)
84: [08:12:36] <kinglozzer> :P
85: [08:12:51] <Stomach> I'm good, watching analytics for fun at the moment :P whats my life become... :D
86: [08:13:23] <Stomach> and yeah poor door holder
87: [08:13:48] <kinglozzer> Haha, I do that sometimes... watching the live view like "CLICK SOMETHING, GO ON!!"
88: [08:13:57] <Stomach> thats what I'm watching hahaha
89: [08:14:11] <Stomach> waiting for donations to pop up
90: [08:15:05] * auto9 has joined #silverstripe
91: [08:15:33] <Stomach> also waiting to hit 200 people online at once - slowly getting there
92: [08:16:39] <kinglozzer> Hmm, I wonder what our highest traffic site is...
93: [08:17:23] <wmk> highest traffic ... how much visitors / page views per day?
94: [08:17:43] <Stomach> we run a campaign for the cancer society in june and its by far our highest
95: [08:17:54] <Stomach> so I get one month of good analytics :D gotta make the most of it
96: [08:17:57] <wmk> that sounds huge... ;)
97: [08:18:22] <kinglozzer> lol, 25 active users rn, not that high :P
98: [08:18:36] <kinglozzer> ~225k page views/month
99: [08:19:06] <Stomach> thats pretty good if its consistent though
100: [08:19:11] <Stomach> we dont have anything like that
101: [08:19:23] <wmk> ~2k visits a day atm
102: [08:19:40] <kinglozzer> Yeah ours is around that point too wmk
103: [08:20:10] <kinglozzer> It is pretty consistent, which is nice
104: [08:20:32] <wmk> from all over the world...
105: [08:21:03] <wmk> well, we have high season and low season, as it's a touristic site. but it's more from year to year.
106: [08:21:12] <Stomach> I like to do it as a percentage of the population instead :P about 1% of the country visited the site yesterday
107: [08:21:15] <wmk> I expect some more in july/august
108: [08:21:43] <wmk> Stomach that's unfair
109: [08:21:57] <Stomach> hahaha yeah I know :D works better for me than you by far haha
110: [08:22:12] <wmk> how many ppl live in NZ?
111: [08:22:22] <wmk> Austria is about 9 millions
112: [08:22:34] <Stomach> 4.4 million
113: [08:22:51] <wmk> omg... 4k visits is a number
114: [08:22:54] <wmk> nope...
115: [08:23:02] <wmk> that would be one promille
116: [08:23:02] <kinglozzer> 64 million :(
117: [08:23:26] * auto9 quit (Read error: Connection reset by peer)
118: [08:23:41] * auto9 has joined #silverstripe
119: [08:23:43] <Stomach> haha just a few million more then
120: [08:24:04] <wmk> well, the live stream of austrian tv broke down yesterday
121: [08:24:10] <wmk> when the new president was announced
122: [08:24:14] <kinglozzer> So like 0.003% of the population visited our site yesterday
123: [08:24:15] <kinglozzer> :P
124: [08:24:19] <wmk> good old satelite tv rules ;)
125: [08:24:52] <wmk> it was about 50:50 election, about 30K votes difference
126: [08:25:21] <Stomach> oh wow thats close
127: [08:26:23] <wmk> on sunday the other one was in front, but the votes that came in by snail-mail were counted on monday - and turned the result
128: [08:27:11] <Stomach> oh thats awesome
129: [08:27:18] <Stomach> old people snail mail mostly?
130: [08:27:27] <wmk> dunno.
131: [08:27:48] <wmk> people that are not in town on the election day
132: [08:28:42] * auto9 quit (Ping timeout: 272 seconds)
133: [08:28:47] <kinglozzer> We've gotta vote on whether to leave the EU soon..
134: [08:28:57] <Stomach> good idea or bad idea?
135: [08:29:22] <wmk> yup. that's also a 50/50 vote, isn't it? Or is there any trend in UK?
136: [08:29:37] <kinglozzer> Bad imo
137: [08:29:53] <kinglozzer> wmk: It seems that way... but I wonder if the people who want to leave are just shouting louder :P
138: [08:30:05] <Stomach> possibly
139: [08:30:10] <Stomach> like those pesky scots
140: [08:30:53] <kinglozzer> Most of the people who want to leave point to immigration as the main reason
141: [08:31:14] <wmk> on the other hand it seems that UK always has some special deals in EU
142: [08:31:25] <wmk> wants everything but doesn't want to pay anything
143: [08:31:40] <kinglozzer> EU means free movement between EU nations etc, which I don't see as a problem at all
144: [08:31:49] <kinglozzer> In fact I see it as a benefit.. but whatever
145: [08:32:06] <wmk> it is. But UK isn't in Schengen, so we have passport controls
146: [08:32:06] <Stomach> stop being so forward thinking kinglozzer
147: [08:32:10] <kinglozzer> Yeah wmk we do, but some people will never be happy :(
148: [08:32:11] <Stomach> well not even forward...
149: [08:32:16] <kinglozzer> Current? :P
150: [08:32:23] <Stomach> haha
151: [08:32:30] <kinglozzer> Not stuck in the 1960s :P
152: [08:32:53] <wmk> but it's the same over here. EU or Brussels aways has weird ideas
153: [08:33:51] <wmk> In Germany the politicans are officially against stuff, but the same parties and politicans in Brussels are pro that stuff. Then the german politicans say "ok, we cannot decide, it was Brussels, it's not our fault"
154: [08:43:06] * Werner__ has joined #silverstripe
155: [08:43:36] * wmk quit (Disconnected by services)
156: [08:43:38] * Werner__ is now known as wmk
157: [08:44:27] * Sentro has joined #silverstripe
158: [08:45:00] <Sentro> SS Documentation has an error.
159: [08:45:09] <kinglozzer> Yep :(
160: [08:45:14] <ss-helper> Re: [silverstripe-dev] docs.silverstripe.org down - https://groups.google.com/d/msg/silverstripe-dev/iXkA66awmlk/YDDXM2z5DAAJ
161: [08:45:14] <ss-helper> docs.silverstripe.org down - https://groups.google.com/d/msg/silverstripe-dev/iXkA66awmlk/PIA6EEj5DAAJ
162: [08:45:23] <kinglozzer> Oi ss23
163: [08:45:27] <kinglozzer> Fixit fixit fixit
164: [08:46:47] <Sentro> yeah fixit fixit
165: [08:50:47] * agent44 has joined #silverstripe
166: [08:58:30] <Stomach> poor ss23
167: [09:00:48] * Sentro quit (Quit: Sentro)
168: [09:04:16] * spronk quit (Quit: I may need a longer sleep timer...)
169: [09:06:12] * cloph_away is now known as cloph
170: [09:14:08] * BrewNaked has joined #silverstripe
171: [09:18:20] * BrewNaked quit (Ping timeout: 250 seconds)
172: [09:20:04] <Eliseth> When I try to format a date in my template using Format(d M Y) it displays the month in English, even though I set locale to NL in _config.php
173: [09:21:22] <wmk> you need to install your locale on the machine Eliseth
174: [09:22:25] <Eliseth> It is
175: [09:23:14] <wmk> oh, http://php.net/manual/en/datetime.format.php This method does not use locales. All output is in English.
176: [09:23:51] <Eliseth> errrr.... >.<
177: [09:24:13] <wmk> You need to use FormatI18N(d M Y)
178: [09:24:25] <wmk> this uses strftime
179: [09:24:34] <wmk> which takes the locales in account.
180: [09:24:41] <wmk> if installed correctly on your machine
181: [09:25:09] <wmk> common problem Eliseth
182: [09:25:55] <Eliseth> Right, I take it FormatI18N(d M Y) can't be called from the template on a SS_Datetime?
183: [09:26:55] * SH__ has joined #silverstripe
184: [09:27:28] <wmk> ?
185: [09:27:31] <wmk> It can Eliseth
186: [09:28:51] <Eliseth> Just displays d M Y on my page
187: [09:33:53] <Eliseth> nvm
188: [09:34:09] <Eliseth> Had to use FormatI18N('%e %b %Y') instead of Format(d M Y)
189: [09:34:19] <Eliseth> Thanks!
190: [09:35:26] <ss23> kinglozzer / Stomach I don't even work for SS anymore!
191: [09:35:27] <ss23> :(
192: [09:42:01] <cloph> is there some ETA until when 3.1.x will be EOL? I feel it was pretty quick from 2.4 EOL last year to already having 4.0 nearly out of the door…
193: [09:43:45] <SH__> Hey guys im trying to export a GridField to CSV data. This does not work properly since I've not used the summary fields to display data in the GridField, I've used custom data instead. Am I forced to modify the GridFieldExportButton functionality?
194: [09:44:54] * kerozene quit (Remote host closed the connection)
195: [09:47:31] * kerozene has joined #silverstripe
196: [09:48:03] <kinglozzer> lol, oh yeah ss23
197: [09:48:06] <kinglozzer> Forgot :P
198: [09:48:37] * darianno has joined #silverstripe
199: [09:50:41] <cloph> So many broken links on docs.silverstripe.org :-/
200: [10:02:06] * kinglozzer quit (Remote host closed the connection)
201: [10:13:44] * novaweb has joined #silverstripe
202: [10:16:42] * Stomach quit (Quit: zzz)
203: [10:19:29] * novaweb quit (Remote host closed the connection)
204: [10:24:16] * swaiba has joined #silverstripe
205: [10:29:41] * agent44 quit (Read error: Connection reset by peer)
206: [10:30:01] * agent44 has joined #silverstripe
207: [10:34:53] * auto9 has joined #silverstripe
208: [10:36:03] * kinglozzer has joined #silverstripe
209: [10:45:17] <ss-helper> Re: Better support for testing out of the box - https://groups.google.com/d/msg/silverstripe-dev/YQ9ru7UuUV0/EFTmQLgEGAAJ
210: [10:54:03] <swaiba> hmmm unexpected case...
211: [10:54:14] <swaiba> MyObject has a db field for MyInt
212: [10:54:34] <swaiba> it also has a populateDefaults method which sets MyInt to 1
213: [10:54:58] <swaiba> then if I do MyObject::create(array('MyInt'=>2))->write()
214: [10:55:04] <swaiba> database has MyInt=1
215: [10:55:15] <swaiba> this cannot be correct can it?
216: [10:55:53] <kinglozzer> swaiba: You'll need to do MyObject::create()->update(array('MyInt'=>2))->write() I think
217: [10:55:57] <kinglozzer> But yeah that does seem strange..
218: [10:56:26] <kinglozzer> It's called last in DataObject::__construct() :/
219: [10:57:06] <swaiba> oh dear, it certainly had me mystified for about 15 minutes, then noticed the populatedefaults
220: [11:03:01] * BrewNaked has joined #silverstripe
221: [11:03:37] * swaiba quit (Remote host closed the connection)
222: [11:07:22] * BrewNaked quit (Ping timeout: 244 seconds)
223: [11:18:06] * DimiStripe has joined #silverstripe
224: [11:20:00] * novaweb has joined #silverstripe
225: [11:20:35] * arnhoe quit ()
226: [11:24:25] * novaweb quit (Ping timeout: 244 seconds)
227: [11:27:39] * auto9 quit (Ping timeout: 246 seconds)
228: [11:42:32] * anyonesguess has joined #silverstripe
229: [11:42:32] <ss-helper> anyonesguess: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
230: [11:43:04] * Azure quit (Remote host closed the connection)
231: [11:43:34] <anyonesguess> Guys come here as a last hope. getCMSFields is not being called. My breakpoint never gets called. Why could this be? I have flushed, removed silverstripe-cache. Completely lost?
232: [11:44:02] <anyonesguess> BTW come back to SS after a year doing other stuff, so could be something really basic
233: [11:50:40] * anyonesguess quit (Ping timeout: 250 seconds)
234: [11:51:20] * auto9 has joined #silverstripe
235: [11:56:32] * kinglozzer quit (Remote host closed the connection)
236: [11:59:20] * auto9 quit (Read error: Connection reset by peer)
237: [11:59:30] * auto9 has joined #silverstripe
238: [12:03:51] * auto9 quit (Ping timeout: 244 seconds)
239: [12:11:18] * auto9 has joined #silverstripe
240: [12:16:45] * UndefinedOffset has joined #silverstripe
241: [12:18:58] * agent44 quit (Ping timeout: 258 seconds)
242: [12:21:37] * novaweb has joined #silverstripe
243: [12:26:07] * novaweb quit (Ping timeout: 252 seconds)
244: [12:27:13] * agent44 has joined #silverstripe
245: [12:30:19] <ss-helper> Re: [silverstripe-dev] docs.silverstripe.org down - https://groups.google.com/d/msg/silverstripe-dev/iXkA66awmlk/AnzbgEwFDQAJ
246: [12:31:30] * cheddam has joined #silverstripe
247: [12:36:33] * marvanni has joined #silverstripe
248: [12:37:19] <marvanni> so, never thought I needed to ask this question again, but has enybody experience weird encoding for & to &amp; in a HTML editor field?
249: [12:43:42] * cheddam quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
250: [12:44:45] * kinglozzer has joined #silverstripe
251: [12:44:59] <cloph> I'd say encoding & as &amp; is epxected...
252: [12:51:39] * auto9 quit (Ping timeout: 276 seconds)
253: [12:51:54] * BrewNaked has joined #silverstripe
254: [12:52:00] <marvanni> yes
255: [12:52:19] <marvanni> but I get &amp;&amp; on the frontend
256: [12:53:39] * auto9 has joined #silverstripe
257: [12:56:36] * BrewNaked quit (Ping timeout: 272 seconds)
258: [13:01:36] <marvanni> nvm. I had $Content.NoHTML
259: [13:10:32] * auto9 quit (Ping timeout: 272 seconds)
260: [13:18:31] * auto9 has joined #silverstripe
261: [13:21:51] * darianno quit (Ping timeout: 244 seconds)
262: [13:24:57] * wmk quit (Ping timeout: 244 seconds)
263: [13:30:10] <Mike123> how can i decrease size of resampled images ?
264: [13:33:06] <Mike123> i have uploaded a 70kb images and after resize it's over 150kb !
265: [13:34:53] <Mike123> is there a way to make this size a bit lower ?
266: [13:35:02] <Mike123> smaller*
267: [13:42:35] * darianno has joined #silverstripe
268: [13:52:40] * slievr has joined #silverstripe
269: [13:53:23] <slievr> hello, I was wondering what generates the SecurityID on a form and if it's updated after a submission
270: [14:00:06] * muskie9 has joined #silverstripe
271: [14:01:58] <kinglozzer> Mike123: You can reduce the quality of them
272: [14:01:58] <kinglozzer> GDBackend: quality: 50 in yaml for example
273: [14:01:59] <kinglozzer> Sorry, default_quality: that should be
274: [14:02:01] <kinglozzer> Apart from that there's not too much you can do. There are some modules that hook into image optimisation services
275: [14:02:51] * auto9 quit (Ping timeout: 264 seconds)
276: [14:08:40] * auto9 has joined #silverstripe
277: [14:22:18] * agent44 quit (Ping timeout: 246 seconds)
278: [14:23:08] * agent44 has joined #silverstripe
279: [14:26:11] * flowsn has joined #silverstripe
280: [14:26:26] * auto9 quit (Read error: Connection reset by peer)
281: [14:26:47] * auto9 has joined #silverstripe
282: [14:30:22] <ss-helper> Re: [silverstripe-dev] docs.silverstripe.org down - https://groups.google.com/d/msg/silverstripe-dev/iXkA66awmlk/HyzCWtkLDQAJ
283: [14:30:50] <muskie9> anyone have favorite modules for generating pdf's from pages/layouts?
284: [14:31:13] * auto9 quit (Ping timeout: 258 seconds)
285: [14:31:30] * wmk has joined #silverstripe
286: [14:36:43] * PenguinMan98 has joined #silverstripe
287: [14:40:00] <slievr> muskie9, DOMPDF
288: [14:40:04] * auto9 has joined #silverstripe
289: [14:40:46] * BrewNaked has joined #silverstripe
290: [14:41:32] <muskie9> slievr https://github.com/burnbright/silverstripe-dompdf ?
291: [14:42:37] * kinglozzer quit (*.net *.split)
292: [14:43:23] <slievr> Didn't know that existed, I used https://github.com/dompdf/dompdf
293: [14:44:32] <muskie9> looks like the SS one utilizes that... thanks for the suggestion, first time going down this road so want the path of least resistance ;P
294: [14:45:03] * BrewNaked quit (Ping timeout: 240 seconds)
295: [14:45:13] <ss-helper> Access a controller when inside a loop (ChildrenOf) - http://stackoverflow.com/questions/37416434/access-a-controller-when-inside-a-loop-childrenof
296: [14:47:06] * Eliseth quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
297: [14:48:30] * auto9 quit (Quit: -a- Connection Timed Out)
298: [14:48:43] * auto9 has joined #silverstripe
299: [15:00:13] <ss-helper> Silverstripe: Converting a database value to and from a cms field - http://stackoverflow.com/questions/37416791/silverstripe-converting-a-database-value-to-and-from-a-cms-field
300: [15:01:18] * martimiz has joined #silverstripe
301: [15:04:32] <martimiz> Hi guys, I'm trying to get a hold of the gridfield config for a relation in ModelAdmin. The one that is generated automatically. But fieldByName('Relation') returns null - either in getCMSFields() or in ItemRequest::ItemEditForm()...
302: [15:05:42] <muskie9> martimiz I did that a bit when sorting in the model admin: http://www.silverstrip.es/blog/sorting-in-modeladmin/
303: [15:07:27] <martimiz> Thanks @muskie9, but it looks like you're aiming at the main ModelAdmin GridField - or am I wrong?
304: [15:08:16] <muskie9> yes, but I would think it would be similar, dataFieldByName('Relation')->getConfig()... not sure if you were using fieldByName or dataFieldByName
305: [15:08:16] * Mike123 quit (Ping timeout: 250 seconds)
306: [15:08:27] <martimiz> I'm aiming at the one that is generated for a Model's relation, once you enter the DetailsForm...
307: [15:09:03] <martimiz> ah... fieldByName...
308: [15:09:45] <muskie9> I think that might be accessible via getCMSFields on the managed object in your model admin
309: [15:12:18] <martimiz> yes, dataFieldByName works in both cases! Thanks!!!!!
310: [15:13:59] <martimiz> I've made that mistake before :( fieldByName works in ModelAdmin::getEditForm()...
311: [15:15:13] <ss-helper> Upload files from frontend form and then restrict access [Silverstripe] - http://stackoverflow.com/questions/37417539/upload-files-from-frontend-form-and-then-restrict-access-silverstripe
312: [15:15:32] <muskie9> I've had that before
313: [15:17:22] * SH__ quit (Ping timeout: 250 seconds)
314: [15:21:06] * cmcramer has joined #silverstripe
315: [15:24:31] * darianno quit (Quit: Computer has gone to sleep.)
316: [15:42:33] * BrewNaked has joined #silverstripe
317: [15:45:54] * kinglozzer has joined #silverstripe
318: [15:57:34] * kinglozzer quit (*.net *.split)
319: [16:02:27] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
320: [16:03:03] * wmk quit (Ping timeout: 240 seconds)
321: [16:24:10] * novaweb has joined #silverstripe
322: [16:27:08] * martimiz quit (Ping timeout: 250 seconds)
323: [16:28:18] * novaweb quit (Ping timeout: 246 seconds)
324: [16:32:24] * flowsn quit (Quit: (null))
325: [16:37:39] * slievr quit (Ping timeout: 260 seconds)
326: [16:44:32] * muskie9 has joined #silverstripe
327: [16:45:24] <ss-helper> Re: [silverstripe-dev] docs.silverstripe.org down - https://groups.google.com/d/msg/silverstripe-dev/iXkA66awmlk/lLUlPeUSDQAJ
328: [16:47:26] * r3v3rb has joined #silverstripe
329: [16:47:46] <r3v3rb> i’m going bonkers - it’s official
330: [16:51:57] * DimiStripe quit (Quit: DimiStripe)
331: [16:52:24] * DimiStripe has joined #silverstripe
332: [16:54:13] <r3v3rb> how/why can I not access the items in my template from these arrays as arraylists : http://sspaste.com/paste/show/5744870fd4157
333: [16:55:16] <r3v3rb> the function is ProductFields() which returns the ArrayList() - no matter what I have tried the $type, $originX etc etc have failed to be accessible arggghhhh!
334: [17:14:24] * r3v3rb is an idiot! ignore above
335: [17:23:31] * agent44 quit (Quit: zzz)
336: [17:28:02] * gelignite has joined #silverstripe
337: [18:10:54] <neomang> Hey I've got a code snippet I'm trying to run and check for errors manually, but it's not currently included in other classes (since I need to make sure the output is correct)
338: [18:11:05] <neomang> how would I go about running and checking it?
339: [18:11:30] <neomang> I tried to just access the file directly through a browser but it gave me a 403 error
340: [18:11:42] <muskie9> neomang throw it in a controller as an allowed action
341: [18:12:15] <muskie9> **create a public method with the code and have the method be an allowed action
342: [18:15:16] <ss-helper> Silverstripe duplicate entries even with unique index - http://stackoverflow.com/questions/37420730/silverstripe-duplicate-entries-even-with-unique-index
343: [18:19:19] <neomang> alright, I'll give it a shot, thanks muskie
344: [18:21:47] <muskie9> cheers
345: [18:24:57] * marvanni quit (Quit: marvanni)
346: [18:32:20] * arnhoe has joined #silverstripe
347: [18:38:40] * ss2321 has joined #silverstripe
348: [18:38:40] <ss-helper> ss2321: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
349: [18:41:02] <ss2321> hi, i'm trying out the official modeladmin presentation and created a unique index on firstname and surname, but silverstripe stillaloowing duplcate entries?
350: [18:41:59] <muskie9> ss2321 I think that even though you have the indexing setup, you still need to do a validate() method on the object to ensure no records match the case
351: [18:42:30] <ss2321> muskie9, would you point me to some example please?
352: [18:43:57] <ss2321> also why not just do validation and not define any index?
353: [18:46:24] <muskie9> ss2321 it depends on the need, the indexing speeds up queries from my experience and the validation just ensures that the data is valid prior to writing to the database, so the use cases are different
354: [18:49:42] <BrewNaked> o/ Howdy.
355: [18:50:23] <ss2321> where in the document an example of validate() for added columns?
356: [18:50:41] <muskie9> ss2321 did you post in stack overflow recently about this?
357: [18:53:32] <ss2321> yes muskie just minutes ago, I thought we have more silverstripe experts here so I came
358: [18:53:40] <BrewNaked> Don't suppose anyone is familiar enough with Solr/FullTextSearch to verify my suspicion that adding inline search logic keywords in search queries gets ignored by FullTextSearch and passed directly to Solr (in a way that breaks the request)?
359: [18:53:58] <muskie9> no worries, I posted an example solution of validate() on your post
360: [18:54:26] <muskie9> BrewNaked you lost me at Solr ;P
361: [18:54:32] <BrewNaked> :)
362: [18:54:43] <muskie9> still haven't had an opportunity to play around with that
363: [18:54:59] <ss2321> ok thanks a lot muskie9, please keep helping we all appreciate it
364: [18:55:15] <muskie9> cheers ss2321, always glad to help where I can
365: [18:55:22] <BrewNaked> Mostly works out of the box and does some really cool things, but the config is substantial. Touch one thing and it affects *everything*!
366: [18:56:28] <muskie9> that type of config I try to stay away form ;)
367: [18:58:19] <muskie9> ss2321 here's the docs reference for validation: https://docs.silverstripe.org/en/3.3/developer_guides/model/validation/
368: [18:59:25] <ss2321> Awesome muskie thanks
369: [19:02:34] * Stomach has joined #silverstripe
370: [19:07:50] * Stomach quit (Quit: zzz)
371: [19:14:18] * marvanni has joined #silverstripe
372: [19:14:24] * marvanni quit (Client Quit)
373: [19:25:32] * Stomach has joined #silverstripe
374: [19:32:11] <ss2321> when and where do one call public static function requireIndex($table, $index, $spec)?
375: [19:44:58] * Stomach quit (Quit: zzz)
376: [19:45:51] * Stomach has joined #silverstripe
377: [19:48:06] * ss2321 quit (Quit: Page closed)
378: [19:58:02] * r3v3rb quit (Quit: r3v3rb)
379: [20:00:18] <ss-helper> Silverstripe defined index not showing in PHPMyAdmin? - http://stackoverflow.com/questions/37422788/silverstripe-defined-index-not-showing-in-phpmyadmin
380: [20:00:30] * Stomach quit (Quit: zzz)
381: [20:07:19] * novaweb has joined #silverstripe
382: [20:07:37] * novaweb quit (Remote host closed the connection)
383: [20:07:51] * novaweb has joined #silverstripe
384: [20:09:21] * Stomach has joined #silverstripe
385: [20:15:18] <ss-helper> Twitter bootstrap collapse: change display of toggle button - http://stackoverflow.com/questions/16224636/twitter-bootstrap-collapse-change-display-of-toggle-button
386: [20:20:54] * arnhoe quit ()
387: [20:28:21] * novaweb quit (Read error: Connection reset by peer)
388: [20:28:38] * novaweb has joined #silverstripe
389: [20:29:16] * Admonish has joined #silverstripe
390: [20:31:57] <Admonish> I was looking through the SS Api docs for getOne which I though silverstripe had. But I cannot find it. So my question is Does ss have a getOne?
391: [20:33:55] * novaweb quit (Ping timeout: 250 seconds)
392: [20:34:30] * novaweb has joined #silverstripe
393: [20:34:30] * chillu_23 has joined #silverstripe
394: [20:34:48] <cmcramer> Admonish if you're trying to get one by id ClassName::get()->byID($id)
395: [20:35:56] <Admonish> cmcramer Thank you :D
396: [20:36:45] <muskie9> Admonish the other option is ->first()
397: [20:37:09] <muskie9> or ->last() depending on what you need
398: [20:37:25] <Admonish> Right First() was what I was reading about
399: [20:37:30] <Admonish> Got it mixed up
400: [20:37:38] <Admonish> Thanks both of you :D
401: [20:40:24] <cmcramer> Admonish np :)
402: [20:45:21] * novaweb quit (Ping timeout: 258 seconds)
403: [20:45:57] * novaweb has joined #silverstripe
404: [20:50:32] * novaweb quit (Read error: Connection reset by peer)
405: [20:50:38] * novaweb_ has joined #silverstripe
406: [20:53:58] * novaweb_ quit (Read error: Connection reset by peer)
407: [20:54:29] * novaweb has joined #silverstripe
408: [20:59:05] * novaweb quit (Ping timeout: 260 seconds)
409: [20:59:38] * novaweb has joined #silverstripe
410: [21:04:40] * glenn-bautista has joined #silverstripe
411: [21:25:57] * micmania1 has joined #silverstripe
412: [21:26:21] * Dedra has joined #silverstripe
413: [21:27:16] <Dedra> Someone still awake? How would you realise this: http://dedra-sc.com/Tutorial1/index.php (scroll down to: "Collapsible Group Item") ?? Just with Page and Holder ?
414: [21:27:54] <Dedra> Like every page of a holder is an extra collapsible item? O.o or would you realise that on an easier way? Adding a new Collasible Group Item in a normal Page?
415: [21:30:27] <Hailwood> If you can really only use those two classes then you're going to need to add a title and content field for each section you want. But the ideal solution is to use a "AccordionSection" DataObject and setup a has_many relationship on your page to them. https://docs.silverstripe.org/en/3.2/developer_guides/model
416: [21:30:28] * cmcramer quit (Quit: Textual IRC Client: www.textualapp.com)
417: [21:38:51] <Dedra> Is there a tutorial for that Hailwood ?
418: [21:39:03] <Dedra> because I just did the ss3 tutorial up to the search part.
419: [21:39:40] <Dedra> So my "idea" was to make a page / holder. So i add many pages to the holder, and they are listed as this accordion thing. But this feels not perfect, that solution ^^
420: [21:39:44] <Dedra> that's why I asked here.
421: [21:39:58] <Hailwood> Dedra, This page should have all the information you need - https://docs.silverstripe.org/en/3.2/developer_guides/model/relations/
422: [21:41:12] <Hailwood> The page/holder idea would work if you wanted say a full version of the accordion content and the blocks had a "read more" button - then that would be the right approach, but in this instance it looks more like a FAQ style setup so a DataObject relationship is more appropriate
423: [21:41:44] * UndefinedOffset quit (Quit: Leaving.)
424: [21:42:02] <Dedra> k, thanks I'll have a look into that. And see what I can do :)
425: [21:42:26] <Dedra> My first idea was to implement this into the editor. So you can add this as html code. buuut
426: [21:42:37] <Dedra> that's to hard for a normal "customer" to use, without any html knowledge :P
427: [21:45:32] <ss-helper> Re: Better support for testing out of the box - https://groups.google.com/d/msg/silverstripe-dev/YQ9ru7UuUV0/VAm44XPCAAAJ
428: [21:46:12] * Admonish quit (Quit: Going offline, see ya! (www.adiirc.com))
429: [21:46:51] * cheddam has joined #silverstripe
430: [21:47:02] * Dedra quit (Quit: Bye guys, have to go!)
431: [21:47:42] * auto9 quit (Remote host closed the connection)
432: [21:59:21] * chillu_23 quit (Quit: chillu_23)
433: [22:04:01] * Azure has joined #silverstripe
434: [22:06:53] * Admonish has joined #silverstripe
435: [22:09:06] * cheddam_ has joined #silverstripe
436: [22:09:54] * cheddam quit (Ping timeout: 244 seconds)
437: [22:11:18] * micmania1 quit (Quit: micmania1)
438: [22:14:10] * micmania1 has joined #silverstripe
439: [22:14:40] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
440: [22:20:35] * Phlunk3 has joined #silverstripe
441: [22:24:29] * lerni has joined #silverstripe
442: [22:43:27] * Admonish quit (Quit: Going offline, see ya! (www.adiirc.com))
443: [22:50:32] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
444: [22:53:20] * lerni quit (Remote host closed the connection)
445: [23:03:34] * g-n0m3 has joined #silverstripe
446: [23:08:23] * Admonish has joined #silverstripe
447: [23:11:58] * Admonish quit (Client Quit)
448: [23:14:18] * cheddam_ quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
449: [23:15:48] * spronk has joined #silverstripe
450: [23:36:34] <spronk> grr css
451: [23:36:38] <spronk> y u no box-shadow-color
452: [23:36:38] <spronk> :@
453: [23:42:25] <Audlex> is converting from SS3.X to SS4 quite a task?
454: [23:47:27] <Firesphere> It shouldn't be too hard, just check the changelogs for if you use any deprecated systems.
455: [23:47:35] * micmania1 quit (Quit: micmania1)
456: [23:48:57] <Hailwood> Of course plugins is another question entirely
457: [23:49:12] * micmania1 has joined #silverstripe
458: [23:49:16] <Hailwood> *are another
459: [23:50:38] <Firesphere> Yep, if it doesn't say it's 4-compatible, you might run into trouble. Although I think most are compatible.
460: [23:52:18] * BrewNaked quit ()

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