#silverstripe IRC Log

IRC log for 2 September 2014

All timestamps are in UTC.

1: [00:03:26] <PapaBearNZ> Hi all. The searchform returns an object of PaginatedList. I am wanting to apply some further filtering to the returned list. However, while the $result->TotalItems returns the correct number of pages found, $result->getList() only ever returns the current page. How can I get the unpaginated list containing all returned items? I've tried to adjust the limit settings but I still only ever get one page of data instead of the entire list.
2: [00:05:05] * howardgrigg has joined #silverstripe
3: [00:07:12] * vebb has joined #silverstripe
4: [00:08:21] * vebb quit (Client Quit)
5: [00:09:22] * howardgrigg quit (Ping timeout: 245 seconds)
6: [00:10:06] <micmania1> PapaBearNZ: I think you’d have to do it here: http://api.silverstripe.org/3.1/class-SearchForm.html#_setPageLength
7: [00:11:01] <micmania1> SearchForm really needs destroyed.
8: [00:11:41] <simon_w|work> PapaBearNZ, if the underlying list's a DataList, you can just apply more filters and not worry about the limit
9: [00:12:51] * nicolaas has joined #silverstripe
10: [00:14:53] <micmania1> http://api.silverstripe.org/3.1/source-class-SearchForm.html#142
11: [00:15:13] <micmania1> http://api.silverstripe.org/3.1/source-class-DataList.html#985-995
12: [00:15:26] <micmania1> Won’t that actually delete records that you can’t view??
13: [00:15:33] <micmania1> and not just exclude them.
14: [00:15:43] <micmania1> (If its a DataList).
15: [00:18:28] * Kingy is now known as Kingy[a]
16: [00:19:01] <PapaBearNZ> simon_w|work: That's just it. I'm getting the list and applying the appropriate filters but I'm only ever seeing the 3 items that match the filter on the first page - it's as if the list is being truncated to only the first 10 items.
17: [00:20:16] * vebb has joined #silverstripe
18: [00:22:57] <PapaBearNZ> $results->getList() returns an ArrayList with only 10 items in it - so filters only filter within those 10 items - The full list (in this instance) is 25 items. I can't seem to get all 25 items out of the PaginatedList as a single set.
19: [00:27:38] * pippy has joined #silverstripe
20: [00:27:51] * micmania1 quit (Quit: micmania1)
21: [00:31:13] * Phlunk33 has joined #silverstripe
22: [00:34:52] * Phlunk3 quit (Ping timeout: 260 seconds)
23: [00:35:38] * Kingy[a] is now known as Kingy
24: [00:35:59] * vebb has joined #silverstripe
25: [00:38:55] * vebbbbbbbbbbb has joined #silverstripe
26: [00:39:15] * maxer quit (Quit: maxer)
27: [00:40:08] <nicolaas> Sorry, just wanted to double-check if anyone can help me ... does anyone know a "fast and easy" way to get a list of the modules from addons / packagist. I am just wondering if there is an easy way.... I am just looking for the names / code.... I am trying to create some code that returns an array of modules available for SS.
28: [00:40:51] <zippy> nicolaas: like... https://github.com/KnpLabs/packagist-api ?
29: [00:41:31] * micmania1 has joined #silverstripe
30: [00:42:02] <nicolaas> PapaBearNZ: can you set the number of items for a paginated list? It may default to 10?
31: [00:42:05] * vebb quit (Ping timeout: 252 seconds)
32: [00:42:13] <zippy> nicolaas: https://packagist.org/feeds/vendor.silverstripe.rss
33: [00:43:16] <nicolaas> zippy: looks good. THANK YOU ... I am just wondering if there would be a full list rss feed.
34: [00:43:29] <nicolaas> that would be perfect (without the version numbers).
35: [00:44:22] <nicolaas> the KNPLabs thing also looks great!
36: [00:44:33] <nicolaas> lets hope it is relatively easy to install.
37: [00:45:12] <simon_w|work> There's also https://packagist.org/search/?type=silverstripe-module and https://packagist.org/search/?type=silverstripe-theme
38: [00:48:38] <nicolaas> simon_w|work: thank you as always.... any idea how https://packagist.org/search/?type=silverstripe-module can be turned into rss feed or similar?
39: [00:49:12] <simon_w|work> nicolaas, submit a PR to add a RSS feeds against the addons site
40: [00:56:02] * howardgrigg has joined #silverstripe
41: [00:59:30] <nicolaas> nice idea simon... I will have a look at KNPlabs first and otherwise the PR for addons is a great idea
42: [01:00:12] * howardgrigg quit (Ping timeout: 245 seconds)
43: [01:03:06] * Tanger has joined #silverstripe
44: [01:03:53] <PapaBearNZ> nicolaas: Doesn't seem to have any effect. I still only get 10 items returned.
45: [01:04:59] * vebbbbbbbbbbb is now known as veb
46: [01:06:28] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
47: [01:11:27] * seah0rse has joined #silverstripe
48: [01:15:22] <spronk> hmm
49: [01:22:50] <hailwood> If I wanted a custom product type (WineProduct) so that I could get them to fill out things like vintage (so not a variant - it's an attribute of singular product). I would just extend the Product (https://github.com/burnbright/silverstripe-shop/blob/master/code/product/Product.php) class like a normal page yeah?
50: [01:24:41] <jedateach> hailwood: yep
51: [01:39:13] * howardgrigg has joined #silverstripe
52: [01:43:30] * howardgrigg quit (Ping timeout: 255 seconds)
53: [01:48:17] * jedateach quit (Quit: jedateach)
54: [01:56:16] * jedateach has joined #silverstripe
55: [02:02:20] * wilsonstaff has joined #silverstripe
56: [02:04:10] <wilsonstaff> HI to all. My question: i have a newsletter that contains links to a secured page - a page that is visible only if you are logged in as a member. When user clicks on the newsletter link, he will be directed to the secures page with a SS message: THIS PAGE IS SECURED. PLEASE LOG IN. When logged, will he be redirected to the secured page?
57: [02:04:38] <zippy> wilsonstaff: they should be directed to the login page to start with
58: [02:04:54] <micmania1> wilsonstaff: they should be. Test it.
59: [02:04:54] <wilsonstaff> <novaweb> FInally quit on Newsletetr. Went to Mailchimp.
60: [02:06:14] <Kolin> Is this a paid service wilsonstaff?
61: [02:06:17] <adrexia> good choice
62: [02:06:56] <wilsonstaff> <zippy>Yes they should. But is this automated? I mean, when the site sees an attempt to access a secured page, does it automatically send the visitor to the login page then after logged in, to the desired page?
63: [02:07:11] <zippy> yes
64: [02:07:26] <wilsonstaff> <Kolin>What do you mean? The Mailchimp account?
65: [02:07:36] <adrexia> does it have something like ?BackURL= in the login url?
66: [02:08:07] <Kolin> I sorry I didnt see the start of the conversation
67: [02:08:14] <Kolin> I'm soorry*
68: [02:08:19] <Kolin> -o
69: [02:08:28] <Kolin> my keyboard is a bit fecked :P
70: [02:08:39] <wilsonstaff> <zippy> Thanks.
71: [02:09:17] <zippy> jeapers, it seems like a real pain in the ass to have a decent time picker which mobile suport
72: [02:09:25] <wilsonstaff> <adrexia>Not sure. The link is as simple as www.mysite.com/secured-page
73: [02:10:09] <adrexia> zippy - yeah, been there before :-/
74: [02:11:17] <adrexia> wilsonstaff - default behabviour, unless someone has overrride, is to redirect toi the login screen and include a backurl to the page the user is trying to reach. Once logged in, the user should be redirected to that link :)
75: [02:12:43] <wilsonstaff> <adrexia>It addresses my question and clarifies it. Thanks!
76: [02:14:05] <wilsonstaff> <adrexia> I had such a bad time with Newsletter. I could send test HTML mail, but when trying to send to group, all freezed up. Despite all the time i put into Newsletter, ive ditched it nevertless....
77: [02:14:41] <wilsonstaff> To aal, is there a module that syncs Mailchimp and SS? APES isnt codes for SS3.
78: [02:14:51] <Kingy> should SS_Datetime::now() be giving me a datetime?
79: [02:15:01] <Kingy> if i echo it out all im seeing is SS_Datetime
80: [02:15:56] <adrexia> Yeah - Newsletter module would be a full time job, to be honest. Better to use a service that specializes in that
81: [02:16:04] <adrexia> a bit like payment gateways :)
82: [02:16:54] <micmania1> Kingy: You should be getting an object back
83: [02:17:33] * antmas quit (Quit: Page closed)
84: [02:20:40] <Kingy> micmania1: what should $date = new DateTime(SS_Datetime::now()->Format('Y-m-d H:i:s')); give me ?
85: [02:21:20] <micmania1> Should be a formatted date string
86: [02:21:25] <Kingy> blank :(
87: [02:21:53] <zippy> well, your not outputting anything...
88: [02:22:00] <zippy> echo SS_Datetime::now()->Format('Y-m-d H:i:s'); ?
89: [02:22:05] <Kingy> i have die($date)
90: [02:22:13] <zippy> i c :)
91: [02:22:14] <micmania1> oh, actually no
92: [02:22:27] <micmania1> what zippy said
93: [02:22:45] * UncleCheese has joined #silverstripe
94: [02:22:52] <Kingy> yes zippy your one worked lol
95: [02:22:58] <zippy> does die output anything for objects? try var_dump die...
96: [02:23:36] <Kingy> die(SS_Datetime::now()->Format('Y-m-d H:i:s')); works good
97: [02:23:43] <Kingy> so I don't need new DateTime()
98: [02:24:02] <Kingy> thanking you muchly
99: [02:24:40] <adrexia> http://connect.mailchimp.com/integrations/apes-automated-provision-for-email-services-for-silverstripe-cms
100: [02:25:21] <adrexia> just rellised that one was the one you found
101: [02:25:28] <adrexia> hmm
102: [02:26:09] <adrexia> http://www.e-scape.co.uk/e-scape-blogs/others/a-silverstripe-module-that-lets-you-integrate-mailchimp-with-silverstripe/ ?
103: [02:28:54] <adrexia> looks interesting but no code
104: [02:29:05] <wilsonstaff> <adrexia> Yeah, but its not up to the task yet. No downlaod available.
105: [02:29:37] <adrexia> yeah
106: [02:29:39] <adrexia> :(
107: [02:29:45] <adrexia> couple of people asking for it too
108: [02:30:40] <adrexia> not suree how easy it woul;d be to upgrade Cam's module, but mi9ght be worth it?
109: [02:36:30] <Ryan-Toast> I have a half finished one
110: [02:38:15] <wilsonstaff> Cam mentionned to me that the module is not ported to SS3, but anyone willing to do it, would have his help.
111: [02:40:04] <Stomach> I just use https://github.com/drewm/mailchimp-api/ and put things into a list onBeforeWrite :D
112: [02:40:45] * howardgrigg has joined #silverstripe
113: [02:44:31] <wilsonstaff> <Stomach>On my site, people cannot register via Mailchimp. They are automatically added as members when to register. My Mailchimp account would have to dig into my site DB and update in synch. Is is what your code does?
114: [02:44:59] <Stomach> ah no, not at all
115: [02:45:07] <Stomach> we are just adding people to mailchimp when they register
116: [02:45:12] * howardgrigg quit (Ping timeout: 245 seconds)
117: [02:45:31] <Stomach> so when a member registers, we call the api and add them to that mailchimp list and note a flag on the member that it has been done so we dont have to do it again
118: [02:45:40] <Stomach> then we manage all the mail from mailchimp from then on
119: [02:47:31] <wilsonstaff> <Stomach>So i expressed myself teh wrong way then. This the way my site works too: a member registers as a member. He is added to the Member group (a custom group). Then i exported vis CSV to Mailchimp. We update Mailchimp manually as members add up into the SS DB.
120: [02:48:19] <Stomach> oh, then you totally could use that API - when a member registers simply add them to the list on mailchimp
121: [02:48:25] <novaweb> wilsonstaff, good to see you took the route :)
122: [02:48:26] <Stomach> then you wont have to do it manually any more
123: [02:49:23] <wilsonstaff> What i would have liked, is a API that will have Mailchimp dig into SS Members group (my custom group) and updates itself as members add up into SS DB. Am i correct in that assumption?
124: [02:50:13] * veb is now known as vebb
125: [02:51:03] <Ryan-Toast> wilsonstaff: I’m in the middle of one: http://www.gfycat.com/IndelibleEcstaticAfricanparadiseflycatcher
126: [02:51:31] * vebb is now known as veb
127: [02:51:41] <Ryan-Toast> Okay, that hmtl video did not work very well
128: [02:54:16] <wilsonstaff> <Ryan-Toast>Any timeframe for the delivery :-)
129: [02:54:29] <Ryan-Toast> Most likely next week.
130: [02:54:38] <Ryan-Toast> Only working on it every now and again
131: [02:54:48] <wilsonstaff> OK, and how would we be noticed?
132: [02:55:08] <wilsonstaff> <Ryan-Toast>Looks very promising.
133: [02:55:40] <Ryan-Toast> wilsonstaff: Will be added to my modules list: https://github.com/Rhym/ss_boilerplate/tree/master/Boilerplate/code/Modules
134: [02:57:08] <wilsonstaff> <Ryan-Toast>Ok will take a look from time to time. Thanks!
135: [02:57:12] * wilsonstaff quit (Quit: Page closed)
136: [02:59:24] * veb is now known as vebb
137: [03:07:54] * Phlunk33 is now known as Phlunk3
138: [03:09:16] * vebb is now known as veb
139: [03:15:33] * Zopiclone has joined #silverstripe
140: [03:16:14] <Zopiclone> Hello
141: [03:17:15] <willr> Zopiclone Howdey
142: [03:17:55] <Zopiclone> I have extended the member with DataExtention, Does anyone know how to delete an exsisting image upon the upload of a new one? oooor just rename the file to the same name and auto overwrite?
143: [03:18:01] <Zopiclone> Hi Willr
144: [03:18:14] <Zopiclone> Been following your stuff all day!
145: [03:20:54] <Zopiclone> http://websitequote.co.nz/Security/login
146: [03:20:55] <Zopiclone> demo demo
147: [03:21:12] <willr> It was for 2.4 but I did something like autosampling images on upload (https://gist.github.com/wilr/2298046)
148: [03:24:55] * novaweb quit ()
149: [03:25:04] <zippy> could you hook the beforesave, to see if the image id had changed and remove the old one?
150: [03:33:56] <Colin[pi]> has anyone had an issue with tinymce double-spacing plain text that is pasted in?
151: [03:34:19] <Stomach> yup, all the time
152: [03:34:57] <Colin[pi]> Stomach: do you know if it's a setting or something easily fixable?
153: [03:35:17] <Colin[pi]> Stomach: I reckon it could be to do with windows carriage returns
154: [03:35:36] <Stomach> Colin[pi] - it is windows only where I get the problem
155: [03:35:45] <Colin[pi]> mm more fuel to the theory
156: [03:35:45] <Stomach> never bothered fixing it, I dont do that much data entry
157: [03:35:55] <Stomach> and now I have a mac
158: [03:35:57] <Stomach> so lololol
159: [03:36:00] <Colin[pi]> :P
160: [03:36:16] <Colin[pi]> yeah, I have one client who is complaining about it, not bitching, just "would be nice if it didnt do that"
161: [03:37:46] <Zopiclone> sorry for segwaying back I used $Banner->setTemplateFileButtons('buttons'); and just put <% if canDelete %>
162: [03:37:46] <Zopiclone> <button data-href="$UploadFieldDeleteLink" class="ss-uploadfield-item-delete ss-ui-button ui-corner-all" title="<% _t('UploadField.DELETEINFO', 'Permanently delete this file from the file store') %>" data-icon="minus-circle">Remove</button>
163: [03:37:46] <Zopiclone> <% end_if %>
164: [03:38:00] <Zopiclone> so they have to replace it!
165: [03:38:15] * nicolaas quit (Ping timeout: 255 seconds)
166: [03:38:25] <Stomach> Colin[pi] - http://blog.o-x-t.com/2010/03/06/extra-spacing-in-tinymce-after-pasting-from-word/ ?
167: [03:38:41] * BarkChudson is now known as kerosene
168: [03:39:07] <Colin[pi]> Stomach: cool thanks will give it a try
169: [03:41:53] * howardgrigg has joined #silverstripe
170: [03:46:02] * howardgrigg quit (Ping timeout: 245 seconds)
171: [03:48:54] <Colin[pi]> Stomach: mm the code executes but doesn't change the result
172: [03:49:30] <pippy> igor set up my CWP instance
173: [03:49:33] <pippy> yay
174: [03:49:47] <Kingy> pippy: deploynaut is great
175: [03:49:50] <Kingy> if you get to use it
176: [03:50:08] * cloph_away has joined #silverstripe
177: [03:50:13] <pippy> though someone set up the roles incorrectly, i'm listed as a instance manager not a deployment manager
178: [03:50:24] * cloph quit (Ping timeout: 250 seconds)
179: [03:50:44] <pippy> Kingy: i think CWP uses some sort of deploy tool, though it's all done through tickets
180: [03:50:45] <Stomach> Colin[pi], darn
181: [03:51:02] <pippy> hooray for no responsibility
182: [03:51:07] <Kingy> pippy: gutted, you should ask for access to it
183: [03:51:11] <Kingy> pretty neat
184: [03:52:15] * Kingy is now known as Kingy[a]
185: [04:02:30] * micmania1 has left #silverstripe
186: [04:02:38] * micmania1 has joined #silverstripe
187: [04:24:04] <Colin[pi]> simon_w|work: looks like you got the rain you wanted
188: [04:24:20] <simon_w|work> Colin[pi], it stopped rather quickly :(
189: [04:24:26] <simon_w|work> And the hail's all gone already too!
190: [04:24:27] <Colin[pi]> we're in the "eye"
191: [04:24:35] <Colin[pi]> (according to the radar)
192: [04:27:12] <simon_w|work> Send it back, you rain stealer :p
193: [04:27:55] * Ryan-Toast quit (Quit: Ryan-Toast)
194: [04:29:36] * Ryan-Toast has joined #silverstripe
195: [04:37:34] * veb is now known as vebb
196: [04:38:31] * vebb is now known as veb
197: [04:42:57] * howardgrigg has joined #silverstripe
198: [04:46:08] * hailwood quit (Quit: Leaving.)
199: [04:47:24] * PapaBearNZ has left #silverstripe
200: [04:47:33] * howardgrigg quit (Ping timeout: 255 seconds)
201: [04:50:04] * pippy quit (Ping timeout: 246 seconds)
202: [05:02:40] * Zopiclone quit (Quit: I'm out. It's home time!)
203: [05:03:31] * micmania1 has left #silverstripe
204: [05:05:13] * willr quit (Quit: willr)
205: [05:22:26] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
206: [05:23:20] * Phlunk3 quit (Remote host closed the connection)
207: [05:29:13] * Ryan-Toast quit (Quit: Ryan-Toast)
208: [05:31:36] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
209: [05:38:09] * Shrike_Finland has joined #silverstripe
210: [05:44:05] * howardgrigg has joined #silverstripe
211: [05:47:24] * jedateach quit (Quit: jedateach)
212: [05:48:32] * howardgrigg quit (Ping timeout: 245 seconds)
213: [05:51:41] * AdriAn_s has joined #silverstripe
214: [05:52:18] <AdriAn_s> hey. Does anyone know how to make a widget be on every page. essentially making a default widget that gets added without the user having to ad it manually?
215: [06:01:20] <AdriAn_s> anyone??
216: [06:01:23] <AdriAn_s> :(
217: [06:02:04] <spronk> widgets module
218: [06:02:05] <spronk> ?
219: [06:02:15] <AdriAn_s> yeah
220: [06:02:49] <spronk> well
221: [06:02:57] <spronk> you can render widgets individually
222: [06:03:06] * Shrike_Finland quit (Quit: Leaving.)
223: [06:03:31] <spronk> i.e. fn RenderMyWidget() { $w = new MyWidget(); return $w->renderWith("WidgetHolder"); }
224: [06:03:37] <spronk> then $RenderMyWidget in template
225: [06:03:59] <AdriAn_s> I have it showing on the page but currently in the admin you need to add the widget to each page
226: [06:04:08] <spronk> ^^ that will sidetrack that
227: [06:04:12] <AdriAn_s> i want for a certain page type for it to automatically add that widget onto the page
228: [06:04:15] <spronk> do you need it to appear in the widgets list for the page?
229: [06:04:20] <AdriAn_s> yeah
230: [06:04:23] <spronk> hmm
231: [06:04:23] <spronk> ok
232: [06:04:27] <AdriAn_s> so they canedit or remove if needed
233: [06:04:29] <spronk> you'll probaly need to add it to the widgetarea then
234: [06:04:35] <spronk> lets have a look
235: [06:04:52] <spronk> https://github.com/silverstripe/silverstripe-widgets/blob/master/code/model/WidgetArea.php
236: [06:05:15] <spronk> should be able to do programmatically create the widget
237: [06:05:36] <spronk> then add it to widgetArea->widgets
238: [06:06:30] <spronk> https://github.com/silverstripe/silverstripe-widgets/blob/master/code/form/WidgetAreaEditor.php
239: [06:06:38] <spronk> have a look around line 150ish
240: [06:06:45] <spronk> thats how the WidgetAreaEditor does the creation of a widget
241: [06:06:56] <spronk> you should be able to do something similar in like.. onBeforeWrite()
242: [06:07:43] <AdriAn_s> mmmm so when does it get added to the page?
243: [06:07:45] <AdriAn_s> when I create it?
244: [06:07:49] <spronk> well
245: [06:08:02] <spronk> if im reading that code correctly it gets added via the ParentID association
246: [06:08:05] <spronk> but ... im skimming :p
247: [06:08:36] <AdriAn_s> but what happens if a user removes it or updates a value inmy widget
248: [06:08:48] <AdriAn_s> will it get overiden by the code?
249: [06:08:57] <spronk> depends on how you implement it :)
250: [06:09:16] <spronk> you can get the list of current widgets by using $this->WidgetArea->Items() i think
251: [06:09:37] <spronk> could do a check to see whether the widget is in the list, and if not, add it
252: [06:10:21] <AdriAn_s> but if they have removed it then it would get readded wouldnt it?
253: [06:10:31] <AdriAn_s> unless there was some flag to say uremoved by user kind ting
254: [06:10:43] <spronk> well
255: [06:10:55] <spronk> you could check to see whether the page exists
256: [06:10:58] <spronk> if it exists, don't add
257: [06:11:02] <spronk> if it doesn't, do
258: [06:11:10] <spronk> so it adds only on first time the page is saved etc
259: [06:11:20] <spronk> actually exists might be the wrong check
260: [06:11:35] <spronk> but you get the diea
261: [06:11:36] <spronk> idea*
262: [06:11:42] <AdriAn_s> yeah true
263: [06:12:10] * Shrike_Finland has joined #silverstripe
264: [06:21:39] * Selay has joined #silverstripe
265: [06:23:30] * nicolaas has joined #silverstripe
266: [06:24:10] <Selay> Hi guys, a question if anyone can help. A has_one B and has_many C. In the template. I have loop A then inside it loop C and inside C, I have with Up.B. The problem is I am unable to access C members. I tried Up.Up as well
267: [06:25:11] <spronk> sounds fishy
268: [06:25:27] <spronk> how can you have loop c inside context of A if B is the thing that has_many C?
269: [06:26:02] <Selay> No, B doesnt have c. A has B and C. So, B and C are siblings.
270: [06:26:13] <spronk> ah
271: [06:26:23] <Selay> But I need to member of C inside B
272: [06:26:28] <spronk> right
273: [06:26:35] <spronk> Up should do it
274: [06:26:40] <spronk> paste your code
275: [06:31:24] * wmk has joined #silverstripe
276: [06:32:10] <Selay> @spronk http://www.sspaste.com/paste/show/54055fb783017
277: [06:32:43] <spronk> try with $Up.EventVenue
278: [06:33:03] <spronk> also, whch bit isnt displaying?
279: [06:33:12] <spronk> because looks like a typo on VenuName [sic]
280: [06:33:40] <Selay> $Up.PerfDate doesnt display, which is a member of Performance
281: [06:34:05] <spronk> ah
282: [06:34:06] <spronk> ok
283: [06:34:36] <spronk> hmmm
284: [06:35:22] <spronk> im not sure whether Up gets reassigned when scope changes like that
285: [06:35:36] <spronk> Up inside the with might be referring to one above Event scope
286: [06:36:01] <spronk> you could just do
287: [06:36:23] <spronk> <% with Up.EventValue %>$VenueName<% end_with %> $PerfDate $EventName
288: [06:36:28] <spronk> err, $Up.EventName
289: [06:37:12] <spronk> you probably dont even need the with at all, tbh
290: [06:37:44] <spronk> $Up.EventValue.VenueName $PerfDate $Up.EventName
291: [06:37:52] * Selay quit (Ping timeout: 246 seconds)
292: [06:39:25] * Selay has joined #silverstripe
293: [06:40:14] <Selay> Something happened to the blog. So, needed to refresh. Sorry if you you answered my question.
294: [06:40:23] <Selay> @spronk
295: [06:40:37] <spronk> i said you probably dont even need the with, really
296: [06:40:47] <spronk> https://github.com/silverstripe/silverstripe-widgets/blob/master/code/form/WidgetAreaEditor.php
297: [06:40:50] <spronk> ugh
298: [06:40:56] <spronk> clipboard broken
299: [06:41:05] <spronk> $Up.EventValue.VenueName $PerfDate $Up.EventName might do the trick
300: [06:41:09] <Selay> You mean Loop instead?
301: [06:41:21] <Selay> ok, let me try
302: [06:42:05] * jedateach has joined #silverstripe
303: [06:43:30] <Selay> @spronk yes! it works in this way. Thanks!
304: [06:43:40] <spronk> just look to simplify
305: [06:43:49] <spronk> in that instance you had two things that didn't need the with, and only one that did
306: [06:43:53] <spronk> :)
307: [06:44:05] * ARNHOE has joined #silverstripe
308: [06:44:10] * Olliepop quit (Ping timeout: 246 seconds)
309: [06:45:14] * howardgrigg has joined #silverstripe
310: [06:47:17] * Liquide quit ()
311: [06:47:40] * Selay quit (Ping timeout: 246 seconds)
312: [06:49:57] * howardgrigg quit (Ping timeout: 255 seconds)
313: [07:19:53] * Shrike_Finland quit (Quit: Leaving.)
314: [07:24:04] * ocmnt has joined #silverstripe
315: [07:29:28] * howardgrigg has joined #silverstripe
316: [07:30:44] * wmk quit (Read error: Connection reset by peer)
317: [07:31:28] * wmk has joined #silverstripe
318: [07:33:00] * zfmf has joined #silverstripe
319: [07:38:20] * Shrike_Finland has joined #silverstripe
320: [07:45:07] * stnvh has joined #silverstripe
321: [07:47:17] * willr has joined #silverstripe
322: [07:56:07] * kinglozzer has joined #silverstripe
323: [08:06:47] * simon_w has joined #silverstripe
324: [08:11:10] * Stomach quit (Quit: bye)
325: [08:34:13] * zippy has joined #silverstripe
326: [08:34:24] <zippy> thanks willr :)
327: [08:39:33] <Tanger> Hey guys, can an Abstract class extend a non-abstract class in PHP?
328: [08:40:07] <guzzlefry> good question
329: [08:41:26] * veb is now known as vebb
330: [08:41:35] <willr> Tanger no.
331: [08:41:43] <Tanger> Dang
332: [08:41:49] <willr> And sadly DataObject is not abstract :)
333: [08:41:55] <Tanger> Haha
334: [08:42:00] <Tanger> Double dang
335: [08:42:31] <zippy> I think a abstract class could extend a non abstract one
336: [08:42:44] <Tanger> willr: Know of any way to achieve the same kind of effect? I kinda don't want to use an interface because it doesn't quite fit
337: [08:44:07] <willr> I’d recommend an interface. You could also move shared logic out to an extension which is applied to both objects
338: [08:44:59] <Tanger> Nice willr! That's a good way to go about it without duplicating lots of code :D
339: [08:45:01] <Tanger> Thanks
340: [08:45:52] <willr> actually I could be wrong. http://dumblooks.wordpress.com/2012/06/20/php-can-an-abstract-class-inherit-from-a-concrete-class/ totally thought that wasn’t possible in PHP
341: [08:47:03] <Tanger> Wow
342: [08:47:14] <Tanger> Man, I didn't think that was possible either
343: [08:48:39] <zippy> yea it's one of those noodle bakers
344: [08:50:19] * jedateach quit (Quit: jedateach)
345: [08:51:13] * vebb quit (Ping timeout: 252 seconds)
346: [08:55:10] * vebb has joined #silverstripe
347: [08:56:38] * howardgrigg quit (Remote host closed the connection)
348: [08:57:05] * howardgrigg has joined #silverstripe
349: [08:59:39] * vebb quit (Ping timeout: 252 seconds)
350: [09:01:21] * howardgrigg quit (Ping timeout: 246 seconds)
351: [09:02:39] * r_hector has joined #silverstripe
352: [09:05:31] * maxer has joined #silverstripe
353: [09:09:51] * maxer quit (Client Quit)
354: [09:18:26] * ThePeach has joined #silverstripe
355: [09:19:28] * Frans_Amsterdam has joined #silverstripe
356: [09:19:52] * g4b0_ has joined #silverstripe
357: [09:20:05] * Tanger has left #silverstripe
358: [09:20:15] <g4b0_> hi all
359: [09:21:39] * jedateach has joined #silverstripe
360: [09:22:48] * vebb has joined #silverstripe
361: [09:23:48] * jedateach quit (Client Quit)
362: [09:27:28] <g4b0_> I'm searching a good way for caching an high traffic site
363: [09:27:30] * howardgrigg has joined #silverstripe
364: [09:27:38] <g4b0_> with a lot of daily changes
365: [09:28:36] <g4b0_> I'm studying StaticPublisher, StaticPublishQueue, DynamicCache
366: [09:28:58] <g4b0_> I also readed something about using Varnish
367: [09:29:52] <g4b0_> did you have had some experience with the caching problem? How did you solved it?
368: [09:31:48] * howardgrigg quit (Ping timeout: 246 seconds)
369: [09:34:56] * Otterpocket has joined #silverstripe
370: [09:39:07] <zippy> g4b0_: can you full cache the page? or does it have logged in user content on there?
371: [09:40:08] * maxer has joined #silverstripe
372: [09:41:33] <g4b0_> zippy: In this case I can full cache the page
373: [09:42:21] <g4b0_> but I'm studying both cases
374: [09:42:57] <g4b0_> since I've got another installation with logged in frontend users
375: [09:43:08] <g4b0_> that maybe will be cached too
376: [09:44:02] <g4b0_> but all loggedin stuff belongs to the same URL suffix
377: [09:45:39] <g4b0_> so it can be excluded, even if I prefer to cache also taht
378: [09:45:42] <g4b0_> that
379: [09:47:01] * MattyBalaam has joined #silverstripe
380: [09:53:02] * Shrike_Finland quit (Quit: Leaving.)
381: [09:55:10] <Frans_Amsterdam> Hi All, I have a question about the GD class. Is the rotate function still in it?
382: [09:58:51] * Shrike_Finland has joined #silverstripe
383: [10:00:44] <wmk> Frans_Amsterdam, afaik yes, have seen it last week but not used
384: [10:02:51] <Frans_Amsterdam> wmk Ow, but I saw it not in the References, it shows in the documentation, but when I call it it gives an error that it doesn't exsits.
385: [10:03:26] <Frans_Amsterdam> wmk Where did you see it?
386: [10:07:31] * howardgrigg has joined #silverstripe
387: [10:08:38] <kinglozzer> Frans_Amsterdam: https://github.com/silverstripe/silverstripe-framework/blob/3.1/filesystem/GD.php#L212 It's still in there
388: [10:10:09] <Frans_Amsterdam> kinglozzer Thanks
389: [10:11:57] * howardgrigg quit (Ping timeout: 245 seconds)
390: [10:15:06] * Robke has joined #silverstripe
391: [10:16:02] <Robke> hello, http://pastie.org/9521132 look at the code.
392: [10:16:23] <Robke> i have a problem that background is still scrolling on tap if you select mobile device to landscape
393: [10:18:47] <Robke> any solutions? :)
394: [10:19:00] * ARNHOE quit (Read error: No route to host)
395: [10:22:07] * ARNHOE has joined #silverstripe
396: [10:26:17] * zfmf quit (Remote host closed the connection)
397: [10:38:22] * g4b0_ quit (Ping timeout: 272 seconds)
398: [10:38:31] * howardgrigg has joined #silverstripe
399: [10:42:51] * howardgrigg quit (Ping timeout: 246 seconds)
400: [10:46:42] * willr quit (Quit: willr)
401: [10:47:02] * Frans_Amsterdam quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
402: [11:03:17] * zfmf has joined #silverstripe
403: [11:11:58] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
404: [11:14:26] <MattyBalaam> Is it possible to translate a 2 letter country code while sorting in a GroupedList? Something like $stockists = GroupedList::create(Stockist::get()->sort(Zend_Locale::getTranslation($this->Country, 'country', i18n::get_locale()) ) ); ?
405: [11:16:01] <kinglozzer> MattyBalaam: That should be possible, yeah
406: [11:16:09] <kinglozzer> You're just sorting the list before you pass it to GroupedList
407: [11:25:12] * Colin[pi] quit (Ping timeout: 245 seconds)
408: [11:39:33] * howardgrigg has joined #silverstripe
409: [11:40:26] * Shrike_Finland quit (Quit: Leaving.)
410: [11:41:08] * g4b0_ has joined #silverstripe
411: [11:43:45] * howardgrigg quit (Ping timeout: 246 seconds)
412: [11:48:40] * Robke quit (Ping timeout: 246 seconds)
413: [11:51:25] * Pymtngk has joined #silverstripe
414: [11:52:15] <Pymtngk> kinglozzer: yey, mhurge
415: [11:52:26] <Pymtngk> mhurj'd
416: [11:52:46] <kinglozzer> Pymtngk: Guess that answers the question about whether 120 chars matter :P
417: [11:52:54] <Pymtngk> mhoorjd
418: [11:53:02] <Pymtngk> yup
419: [11:53:12] <Pymtngk> mhurjd. yus.
420: [11:53:25] <Pymtngk> and it's 7 minutes to lunch, brilliant.
421: [11:53:29] <Pymtngk> spent all morning in meetings.
422: [11:56:34] * Shrike_Finland has joined #silverstripe
423: [11:59:25] * howardgrigg has joined #silverstripe
424: [12:17:43] * simon_w quit (Quit: Ping timeout: your mum)
425: [12:33:45] * UndefinedOffset has joined #silverstripe
426: [12:36:54] * Shrike_Finland quit (Quit: Leaving.)
427: [12:48:52] * Pymtngk quit (Ping timeout: 246 seconds)
428: [13:00:02] * zfmf quit ()
429: [13:16:57] * Pyknackeredk has joined #silverstripe
430: [13:17:12] <Pyknackeredk> how are the afternoon Z's coming on kinglozzer?
431: [13:24:31] * howardgrigg quit (Remote host closed the connection)
432: [13:24:58] * howardgrigg has joined #silverstripe
433: [13:26:29] * UndefinedOffset quit (Quit: Leaving.)
434: [13:26:38] * Shrike_Finland has joined #silverstripe
435: [13:26:49] * Shrike_Finland quit (Client Quit)
436: [13:29:20] * howardgrigg quit (Ping timeout: 252 seconds)
437: [13:32:16] * Pyknackeredk quit (Ping timeout: 246 seconds)
438: [13:39:16] * UndefinedOffset has joined #silverstripe
439: [13:52:58] <wmk> quite silent this afternoon
440: [13:53:11] <wmk> seems like everybody is working
441: [13:55:17] * howardgrigg has joined #silverstripe
442: [14:00:24] * howardgrigg quit (Ping timeout: 272 seconds)
443: [14:01:49] * Shrike_Finland has joined #silverstripe
444: [14:04:25] * NETim has joined #silverstripe
445: [14:04:59] <NETim> Morning, Getting a 301 redirect when trying to use sake from cron. any ideas?
446: [14:08:34] * r_hector quit (Quit: Leaving.)
447: [14:11:28] * NETim quit (Ping timeout: 246 seconds)
448: [14:21:39] * Shrike_Finland quit (Quit: Leaving.)
449: [14:35:36] * howardgrigg has joined #silverstripe
450: [14:40:18] * howardgrigg quit (Ping timeout: 272 seconds)
451: [14:41:23] * Shrike_Finland has joined #silverstripe
452: [14:44:40] * catcher has joined #silverstripe
453: [14:45:34] * Claire__ has joined #silverstripe
454: [14:47:40] <Claire__> Hello
455: [14:48:15] <Claire__> is anybody there>
456: [14:48:36] <catcher> Hello
457: [14:48:43] <Claire__> hi
458: [14:48:50] <Claire__> i have a query re gridfield
459: [14:49:12] <catcher> Ask away, hopefully someone can help
460: [14:49:31] <Claire__> is it possible to add rows dynamically?
461: [14:50:11] <catcher> Yes, but it may require some custom entwined js
462: [14:51:02] <catcher> Claire__, what's the use case?
463: [14:51:22] <Claire__> so
464: [14:51:37] <Claire__> am i currently using menumanager addon
465: [14:51:54] <Claire__> but this is a simple menu manager
466: [14:52:26] <Claire__> which does not cater for child elements of a menu item
467: [14:52:32] * toddvalentine has joined #silverstripe
468: [14:52:43] <Claire__> i need to implement a 1 level dropdown
469: [14:52:59] <Claire__> so i thought of extending this add on
470: [14:53:21] <Claire__> but i have a problem i don't know how to show the child elements of a menu item within the gridfield
471: [14:53:43] <Claire__> is there a treeview formfield maybe which i could use instead?
472: [14:58:10] <catcher> Claire__, there's a tree dropdown, http://api.silverstripe.org/3.1/class-TreeDropdownField.html
473: [14:58:11] <kinglozzer> Claire__: I’ve never used that module, but there’s TreeDropdownField which is built for showing stuff like that. Hope that’s of some help
474: [14:58:52] <kinglozzer> Great minds ^^ :)
475: [14:59:34] <catcher> And ours!
476: [14:59:41] <catcher> :)
477: [15:00:17] * Gregsm has joined #silverstripe
478: [15:01:18] <Claire__> but i want to apply actions for every node
479: [15:03:08] <Gregsm> Probably what Claire refers to is something like TreeGrid
480: [15:04:09] <Gregsm> is there a module that shows tree hierarhy in GridField?
481: [15:05:43] * Claire__ quit (Ping timeout: 246 seconds)
482: [15:06:31] * howardgrigg has joined #silverstripe
483: [15:10:53] * howardgrigg quit (Ping timeout: 260 seconds)
484: [15:10:58] * ARNHOE quit (Remote host closed the connection)
485: [15:11:31] * ARNHOE has joined #silverstripe
486: [15:11:47] * ARNHOE quit (Read error: Connection reset by peer)
487: [15:11:59] * ClaireMalta has joined #silverstripe
488: [15:12:10] * ARNHOE has joined #silverstripe
489: [15:14:49] * Gregsm quit (Ping timeout: 246 seconds)
490: [15:14:57] * toddvalentine quit ()
491: [15:15:28] * clairemalta_ has joined #silverstripe
492: [15:15:35] <clairemalta_> http://bit.ly/1uteHJA
493: [15:15:45] <clairemalta_> i want something like that
494: [15:16:13] * ClaireMalta quit (Ping timeout: 246 seconds)
495: [15:16:39] * ARNHOE quit (Ping timeout: 255 seconds)
496: [15:17:09] <wmk> custom actions per item in grid is no problem
497: [15:20:08] * Gregsm has joined #silverstripe
498: [15:23:47] <clairemalta_> yes but how do u add a row dynamically then
499: [15:31:45] * g4b0_ quit (Quit: Sto andando via)
500: [15:33:26] <wmk> hmm, dunno
501: [15:35:34] * toddvalentine has joined #silverstripe
502: [15:35:47] * toddvalentine has left #silverstripe
503: [15:39:14] * jenniferaslan has joined #silverstripe
504: [15:41:24] * ocmnt quit (Ping timeout: 255 seconds)
505: [15:49:49] * ocmnt has joined #silverstripe
506: [15:56:22] * ocmnt quit (Ping timeout: 252 seconds)
507: [15:59:21] * ocmnt has joined #silverstripe
508: [16:02:41] * ocm13 has joined #silverstripe
509: [16:05:09] * ocmnt quit (Ping timeout: 240 seconds)
510: [16:07:34] * howardgrigg has joined #silverstripe
511: [16:10:07] * clairemalta_ quit (Ping timeout: 246 seconds)
512: [16:11:05] * x75_ has joined #silverstripe
513: [16:11:22] * ocmnt has joined #silverstripe
514: [16:11:51] * howardgrigg quit (Ping timeout: 246 seconds)
515: [16:12:24] * wmk quit (Ping timeout: 260 seconds)
516: [16:12:34] * Gregsm quit (Quit: Page closed)
517: [16:12:59] * Error404NotFound has joined #silverstripe
518: [16:13:57] * ocm13 quit (Ping timeout: 246 seconds)
519: [16:15:00] <x75_> How can I remove a setting from a composite value in a configuration yml file?
520: [16:21:38] * kinglozzer quit ()
521: [16:22:21] * MattyBalaam quit (Quit: Page closed)
522: [16:30:42] * Otterpocket quit (Quit: WeeChat 0.4.1)
523: [16:41:43] * ocm13 has joined #silverstripe
524: [16:43:45] * ocmnt quit (Ping timeout: 264 seconds)
525: [16:44:25] * oddnoc has joined #silverstripe
526: [16:45:19] * Error404NotFound quit (Quit: User guilty of hitting the Big Red X...)
527: [16:47:33] * ocm13 quit (Ping timeout: 240 seconds)
528: [16:54:59] * stnvh quit ()
529: [17:00:12] * ocmnt has joined #silverstripe
530: [17:02:01] * ThePeach quit (Quit: leaving)
531: [17:08:02] <catcher> I'm making a module; Foo extends DataExtension, and it has_many Bar. Bar is a custom DataObject extension. What should the has_one of Bar be? DataObject?
532: [17:08:36] * howardgrigg has joined #silverstripe
533: [17:08:39] <catcher> Seems too generic, but maybe that's okay (and necessary)
534: [17:09:01] * gelignite has joined #silverstripe
535: [17:12:41] * UndefinedOffset quit (Quit: Leaving.)
536: [17:13:00] * howardgrigg quit (Ping timeout: 252 seconds)
537: [17:14:53] * FrozenFire quit (Ping timeout: 240 seconds)
538: [17:15:17] * Shrike_Finland quit (Quit: Leaving.)
539: [17:15:58] * Shrike_Finland has joined #silverstripe
540: [17:17:47] * FrozenFire has joined #silverstripe
541: [17:39:33] <Shrike_Finland> Hi, is there any good Silverstripe presentation from coder point of view: how does Silverstripe work in 5 minutes, or something… :)
542: [17:55:38] * UndefinedOffset has joined #silverstripe
543: [17:55:43] * Shrike_Finland quit (Quit: Leaving.)
544: [17:59:12] * ocmnt quit (Ping timeout: 252 seconds)
545: [17:59:47] * ocmnt has joined #silverstripe
546: [18:04:08] * Shrike_Finland has joined #silverstripe
547: [18:06:21] * ocmnt quit (Ping timeout: 240 seconds)
548: [18:06:27] * ocm13 has joined #silverstripe
549: [18:08:30] * wmk has joined #silverstripe
550: [18:09:40] * howardgrigg has joined #silverstripe
551: [18:12:46] * wmk quit (Ping timeout: 252 seconds)
552: [18:14:00] * howardgrigg quit (Ping timeout: 246 seconds)
553: [18:18:34] * ocm13 quit (Read error: Connection reset by peer)
554: [18:18:57] * ocm13 has joined #silverstripe
555: [18:24:27] * Shrike_Finland quit (Quit: Leaving.)
556: [18:25:43] * Shrike_Finland has joined #silverstripe
557: [18:48:30] * toddvalentine has joined #silverstripe
558: [18:51:18] * maxer quit (Quit: maxer)
559: [18:59:12] * Shrike_Finland quit (Quit: Leaving.)
560: [19:01:47] * Shrike_Finland has joined #silverstripe
561: [19:10:43] * howardgrigg has joined #silverstripe
562: [19:14:49] * wmk has joined #silverstripe
563: [19:14:53] * howardgrigg quit (Ping timeout: 240 seconds)
564: [19:22:43] * Colin[pi] has joined #silverstripe
565: [19:29:37] * x75_ quit (Ping timeout: 246 seconds)
566: [19:41:46] * howardgrigg has joined #silverstripe
567: [19:41:46] * PapaBearNZ has joined #silverstripe
568: [19:41:57] <PapaBearNZ> Morning all!
569: [19:44:33] <catcher> 'afternoon!
570: [19:46:12] * howardgrigg quit (Ping timeout: 255 seconds)
571: [19:53:01] * Liquide has joined #silverstripe
572: [20:11:11] * Kingy[a] is now known as Kingy
573: [20:11:45] * UndefinedOffset quit (Quit: Leaving.)
574: [20:13:21] * maxer has joined #silverstripe
575: [20:23:42] * r3v3rb has joined #silverstripe
576: [20:24:17] <r3v3rb> hi all, in 2.4 how can I add a button to the results of a modeladmin search page, next to the export button?
577: [20:26:29] * Stomach has joined #silverstripe
578: [20:27:34] <Kingy> so, anyone had any experience with fontawesome fonts showing up as squares
579: [20:28:32] * jedateach has joined #silverstripe
580: [20:32:03] * ARNHOE has joined #silverstripe
581: [20:33:25] * ARNHOE quit (Client Quit)
582: [20:34:11] * vebb has joined #silverstripe
583: [20:36:21] <catcher> Kingy, only on really lame designs
584: [20:36:37] <Kingy> I didn't make the design so can't blame me :)
585: [20:36:51] <vebb> oh well hello Kingy
586: [20:36:54] <vebb> way to SAY HELLO TO ME
587: [20:36:59] <Kingy> hey cunt
588: [20:37:01] * zippy has joined #silverstripe
589: [20:37:03] <vebb> sup
590: [20:37:08] <vebb> how's life treating you?
591: [20:37:21] <vebb> they finally found out why I've been sick for like 8 months.
592: [20:37:24] * howardgrigg has joined #silverstripe
593: [20:37:25] <vebb> !
594: [20:37:27] <Kingy> pretty good, stressing
595: [20:37:29] <Kingy> oh ?
596: [20:37:39] <vebb> put it this way, a dude on Facebook did what a BRAIN SURGEON couldn't
597: [20:37:50] <Kingy> so what was it
598: [20:37:55] <vebb> remember how he told me I had an infection? brain surgeon said it wasn't?
599: [20:38:11] <vebb> one of the most resistant strains of staph infection IN MY COCHLEAR IMPLANT
600: [20:38:22] <vebb> lab said that it had 6 month growth
601: [20:38:24] <vebb> fffffuuuuuu
602: [20:38:29] <Kingy> jesus
603: [20:38:36] <vebb> it also spread to my ear lobe
604: [20:38:41] <vebb> he maintained they were different etc
605: [20:38:43] <Kingy> all cleared up now? or did you have to go get it taken out?
606: [20:38:44] <vebb> cock
607: [20:38:44] * pippy has joined #silverstripe
608: [20:38:53] <vebb> umm
609: [20:38:56] <vebb> not cleared uo
610: [20:39:01] <vebb> I know what it is though, so A+
611: [20:39:04] <Kingy> haha
612: [20:40:55] * Ryan-Toast has joined #silverstripe
613: [20:41:10] * r3v3rb quit (Quit: r3v3rb)
614: [20:43:19] <zippy> Morning
615: [20:45:03] <Kingy> hey zippy
616: [20:49:08] <vebb> sup zippy
617: [20:49:12] <vebb> been dying recently?
618: [20:49:21] <zippy> everyone is...
619: [20:49:23] <zippy> slowly
620: [20:49:31] <zippy> well, some more faster than others
621: [20:49:59] <zippy> did my first ever github pull request the other night, and it got merged (I even had tests!) so pretty stoked :D
622: [20:51:44] <wmk> zippy, congrats
623: [21:06:15] * micmania1 has joined #silverstripe
624: [21:09:48] <PapaBearNZ> micmania1: Thanks for your help yesterday. One of the things you said lead to a segue in thinking that got me to a solution for my problem with the arraylist behind a searchform result. The desired functionality is now delivered :)
625: [21:10:11] <micmania1> PapaBearNZ: sweet :)
626: [21:12:28] * gelignite quit (Quit: http://bit.ly/nkczDT)
627: [21:17:12] * catcher quit (Quit: Leaving)
628: [21:20:45] * abitran quit (Quit: Lost terminal)
629: [21:25:06] * Kingy is now known as Kingy[a]
630: [21:30:24] * abitran has joined #silverstripe
631: [21:32:46] * UncleCheese has joined #silverstripe
632: [21:36:01] * Kingy[a] is now known as Kingy
633: [21:37:22] * willr has joined #silverstripe
634: [21:38:14] * r3v3rb has joined #silverstripe
635: [21:39:31] * babak quit (Quit: Connection closed for inactivity)
636: [21:44:42] <Ryan-Toast> I am sad that someone owns this: http://allthat.biz/
637: [21:45:37] * vebbbbbbbbbbb has joined #silverstripe
638: [21:46:37] * simon_w has joined #silverstripe
639: [21:48:55] * vebb quit (Ping timeout: 252 seconds)
640: [21:48:56] <zippy> morning simon_w
641: [21:49:27] <simon_w> Morning
642: [21:49:36] <simon_w> Time to figure out who to vote for!
643: [21:50:21] * Shrike_Finland quit (Quit: Leaving.)
644: [21:51:21] <zippy> name in hat
645: [21:52:51] * vebbbbbbbbbbb is now known as veb
646: [21:53:09] <r3v3rb> simon_w: morning - vote for the coral reef
647: [21:54:01] <r3v3rb> actually, simon_w how can I add a button to the search result of a modeladmin in 2.4.12?
648: [21:54:08] <r3v3rb> any idea?
649: [21:54:19] <simon_w> override SearchForm
650: [21:54:57] <r3v3rb> and that button would appear next to the ‘export’ button or in the search panel?
651: [21:55:19] <r3v3rb> i need the button next to the export button below the complextablefield
652: [21:55:41] <simon_w> So find the method/template that makes that and override it
653: [21:56:02] * wmk quit (Ping timeout: 245 seconds)
654: [21:56:04] * liam__ has joined #silverstripe
655: [21:56:10] <r3v3rb> alright, searching time it is
656: [21:56:33] <liam__> how can I enable searching members in the security tab in the cms?
657: [21:58:21] <simon_w> liam__, is enabled by default
658: [21:59:04] <liam__> simonw_w: hmm any ideas why it wouldn't be appearing?
659: [22:00:10] <liam__> it doesnt appear on any of my sites...
660: [22:00:24] <simon_w> liam__, click the magnifying glass in the top right of the grid field
661: [22:00:36] <liam__> ahh ok thanks
662: [22:00:41] <liam__> not easy to see
663: [22:05:05] * mrzero quit (Remote host closed the connection)
664: [22:05:12] * mrzero has joined #silverstripe
665: [22:05:13] * mrzero quit (Changing host)
666: [22:05:13] * mrzero has joined #silverstripe
667: [22:08:30] <simon_w> Isn't there a site that comparies all the parties' policiys?
668: [22:16:40] <zippy> there is http://tvnz.co.nz/votecompass and there was another one someone metioned a week or so ago
669: [22:20:32] <pippy> I keep getting jobs stalled in the queued jobs module. Is there a way to force each task to finish, even if the job gets stuck in a loop?
670: [22:21:01] <zippy> simon_w: http://onthefence.co.nz/ was the other one
671: [22:21:41] * antmas has joined #silverstripe
672: [22:22:14] <simon_w> I don't want a compass type thing. I want a policy comparision
673: [22:22:48] <antmas> moin moin
674: [22:23:45] <zippy> http://www.interest.co.nz/news/election-2014-policies
675: [22:23:47] <zippy> antmas: morning
676: [22:24:07] <antmas> can we vote today?
677: [22:25:01] <simon_w> yes
678: [22:27:33] * ocm13 quit (Ping timeout: 240 seconds)
679: [22:27:36] * antmas still doesn't know who to vote for
680: [22:28:13] <adrexia> This made my morning: "BUG: if you enter a very large (10k -> ~7935 char) search term, you get a request failed error"
681: [22:28:59] <antmas> lol
682: [22:29:01] <simon_w> Isn't that because search is done via GET?
683: [22:29:26] * toddvalentine quit ()
684: [22:29:30] <antmas> "BUG: if you herp, you're probably gonna derp"
685: [22:30:04] <zippy> antmas: right, I think i'll ring the council now :)
686: [22:30:12] <adrexia> simon_w quite possibly
687: [22:30:27] <adrexia> I have never even thought to try that
688: [22:30:44] <simon_w> So it's the requested entity too large error
689: [22:30:54] <adrexia> but my instinct is not to take away the small victories form the people trying to break something
690: [22:31:04] * adrexia nods
691: [22:31:09] <adrexia> makes sense
692: [22:32:10] * antmas_ has joined #silverstripe
693: [22:32:28] <simon_w> Well, I should have breakfast then head off to the High Commission
694: [22:32:39] <antmas_> zippy: about the building thingy?
695: [22:33:43] * antmas quit (Ping timeout: 246 seconds)
696: [22:33:59] * simon_w quit (Quit: Ping timeout: your mum)
697: [22:34:15] * antmas_ is now known as antmas
698: [22:35:07] <r3v3rb> night all
699: [22:35:13] * r3v3rb quit (Quit: r3v3rb)
700: [22:39:52] <zippy> antmas: yerp
701: [22:39:58] * zippy says a little prayer
702: [22:41:10] * zippy quit (Remote host closed the connection)
703: [22:42:15] * zippy has joined #silverstripe
704: [22:44:31] <antmas> zippy: that was quick :P
705: [22:44:40] <zippy> trying to find the phone number...
706: [22:45:23] <zippy> ok, here we go
707: [22:46:08] * antmas holds breath
708: [22:46:23] <zippy> "all our service reps are on other calls"
709: [22:46:37] <antmas> lol
710: [22:46:37] <zippy> ah well I tried, must be fine
711: [22:46:43] <antmas> yeah, busy day for them I think
712: [22:46:50] <zippy> ah ok, maybe I should call tomorrow
713: [22:46:57] <antmas> something to do with water rates are going out today
714: [22:47:06] <antmas> sorry yeah I should have said
715: [22:47:07] <antmas> :P
716: [22:47:14] <antmas> afternoon should be gravy though
717: [22:48:48] <zippy> talked with someone , she is putting me through to building person or something
718: [22:48:56] * zippy has his toes crossed
719: [22:48:59] <zippy> sharon
720: [22:52:04] * howardgrigg quit (Remote host closed the connection)
721: [22:52:31] * howardgrigg has joined #silverstripe
722: [22:53:47] <zippy> yay I am all legit!
723: [22:53:52] <antmas> :D
724: [22:53:55] <antmas> score!
725: [22:54:02] <zippy> beer time!!!
726: [22:54:09] * antmas hi5s zippy
727: [22:54:10] <antmas> o/
728: [22:56:00] <antmas> o-
729: [22:56:12] <zippy> \o
730: [22:56:14] * antmas is left hagning
731: [22:56:17] <antmas> ;__:
732: [22:56:24] <antmas> :D
733: [22:56:46] <zippy> went in and told the wife, said the council was going to send in a building inspector, and might have to take off a wall
734: [22:56:58] <antmas> lol
735: [22:57:05] * howardgrigg quit (Ping timeout: 276 seconds)
736: [22:57:09] * zippy had a wet nappy thrown at him
737: [22:57:17] <antmas> haha
738: [22:57:27] <zippy> thankfully, it was a womans arm throw so I was fine :)
739: [22:58:06] * zippy vows to teach his daughter how to throw properly
740: [22:58:42] <antmas> did it simply fly out on a 90 degree angle from her arm over to the fridge on the opposite side of the room to you?
741: [22:59:19] * maxer quit (Quit: maxer)
742: [23:00:14] <zippy> close :) weakly pretty much rolled past me
743: [23:01:36] <zippy> cool beans
744: [23:02:33] * maxer has joined #silverstripe
745: [23:05:27] <zippy> anyone ever do an video series on silverstripe?
746: [23:06:28] <antmas> zippy: I think UncleCheese is going to sometime soon
747: [23:09:30] <zippy> unit tests, functional tests, intergration tests, bdd... omg testing overload
748: [23:10:27] <Stomach> behat tests
749: [23:11:39] <zippy> comception tests
750: [23:11:43] <zippy> *codeception
751: [23:12:12] <zippy> oh and I forgot acceptance testing
752: [23:15:55] <UncleCheese> zippy yeah, that's very much in the works
753: [23:16:37] <zippy> similar style to laracasts?
754: [23:20:14] <Ryan-Toast> what replaced setAdminEmail ?
755: [23:20:47] <Kingy> why is it you when you download a piece of software it automatically says there is a newer version available when you first run it
756: [23:22:22] <Stomach> Ryan-Toast, yml config
757: [23:22:33] <Stomach> or _ss_environment rather
758: [23:22:40] <Ryan-Toast> Stomach: what if I want to set it temporarily
759: [23:23:13] <Stomach> Security::setDefaultAdmin('test', 'test');
760: [23:25:22] <Ryan-Toast> Stomach: that’s the login, not the email?
761: [23:25:31] <Stomach> oh, whoops
762: [23:25:50] <Stomach> Email:
763: [23:25:50] <Stomach> send_all_emails_to: webmaster@littlegiant.co.nz
764: [23:25:50] <Stomach> admin_email: webmaster@littlegiant.co.nz
765: [23:25:53] <Stomach> in yml
766: [23:26:31] <Stomach> but change the emails :P :D
767: [23:27:15] <Ryan-Toast> Can’t do it in yml :P It’s only for one method
768: [23:27:47] * Kingy is now known as Kingy[a]
769: [23:28:08] <Stomach> update it with the config system then?
770: [23:28:51] <Stomach> Config::inst()->update('Email', 'admin_email', 'lol@lol.com');
771: [23:29:02] <Ryan-Toast> Stomach: chur
772: [23:29:21] * babak has joined #silverstripe
773: [23:31:02] * veb is now known as vebb
774: [23:35:25] * vebb is now known as veb
775: [23:39:22] <adrexia> anyone know anything about stripping html from the stuff solr search indexes?
776: [23:39:29] <adrexia> docs mention it but don't say how
777: [23:39:41] * veb is now known as vebb
778: [23:40:54] * vebb is now known as veb
779: [23:42:17] <adrexia> https://github.com/silverstripe-labs/silverstripe-fulltextsearch/blob/master/docs/en/Solr.md#highlighting
780: [23:42:54] <adrexia> basically this bit "Note: It is recommended to strip out all HTML tags and convert entities on the indexed content, to avoid matching HTML attributes, and cluttering highlighted content with unparsed HTML." while useful has no guidance
781: [23:45:00] <adrexia> oh, it might be the next bit. I skim read for someone else
782: [23:45:46] <adrexia> though it's still not very clear :-/
783: [23:46:05] <adrexia> ...this is why I prefer frontend
784: [23:52:52] * howardgrigg has joined #silverstripe
785: [23:57:17] * howardgrigg quit (Ping timeout: 245 seconds)

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