#silverstripe IRC Log

IRC log for 19 August 2015

All timestamps are in UTC.

1: [00:00:31] <irogue> antmas: well yes, that too :P
2: [00:00:52] <DanaeNZ> would that extension be somehow preventing the GridFieldItemEditForm from updating tho?
3: [00:00:58] * Motoservo has joined #silverstripe
4: [00:01:06] * glenn-bautista has joined #silverstripe
5: [00:01:10] <DanaeNZ> GridFieldDetailForm*
6: [00:02:39] <Motoservo> If I’m reading along the READ ME of the widget module and I’m seeing instructions on how to override the title() method… and it’s telling me to put the new code in **widgets_yourWidget/YourWidgetWidget.php**… where is this, exactly?
7: [00:03:44] <Motoservo> Do I mirror the widget module’s directories into my own theme?
8: [00:05:06] * novaweb quit (Ping timeout: 240 seconds)
9: [00:06:59] <eolant> 2.4 -> 3.1 update. Getting: "Uncaught UnexpectedValueException: Type mismatch in configuration. All values for a particular property must contain the same type (or no value at all)." Probably related to File table when doing /dev/build?flush=1
10: [00:08:36] * hombero quit (Ping timeout: 246 seconds)
11: [00:10:36] <Motoservo> Should I just extend the class and override it there (in which case I suppose it won’t make much difference where I put it, as long as it’s in my code.)
12: [00:11:40] * hombero has joined #silverstripe
13: [00:13:43] <DanaeNZ> eolant: is the error coming from somewhere in mysite or a module? it shouldn't be throwing errors from the actual SS core
14: [00:13:57] <irogue> [11:53:36] <novaweb> Who's going to meetup tonight?
15: [00:14:00] * wmk has joined #silverstripe
16: [00:14:03] <irogue> I'll probably be around since I"m already here :P
17: [00:15:47] * Stomach quit (Quit: zzz)
18: [00:16:17] * novaweb has joined #silverstripe
19: [00:16:43] <eolant> DanaeNZ: it's throwing error from core: /framework/core/Config.php Originally site used kickassets, uploadify, dataobject_maneger, fixtures. I deleted all of this folders and I think changed all of upload fields to simple Uploads and now i'm trying to run /dev/build
20: [00:18:11] * joelpittet quit (Remote host closed the connection)
21: [00:18:30] <DanaeNZ> eolant: it's likely the error is thrown from the core, but the actual error might exist in the config somewhere else. Could you follow the trace further down?
22: [00:19:17] * spronk has joined #silverstripe
23: [00:20:41] <zippy> o/
24: [00:22:05] * wmk quit (Ping timeout: 245 seconds)
25: [00:22:21] <antmas> spronk: o/
26: [00:22:27] <spronk> hallo
27: [00:22:39] <Motoservo> Nope. Overriding didn’t work. <scratches head> I seem to remember from a few years back that was the SS way to do it. Will need to do some googling to see what I can find.
28: [00:26:45] <eolant> DanaeNZ: http://jpst.it/B3cx - full trace. And at the top it says Creating database tables • File
29: [00:28:04] <DanaeNZ> eolant: ok, looks like it's a config issue: Config->get(File,indexes,1) probabbly
30: [00:28:19] <DanaeNZ> so you gotta find the config line that is stuffing it up
31: [00:28:38] * joelpittet has joined #silverstripe
32: [00:28:38] <DanaeNZ> I forget how SS 2.4 handled config setting tho
33: [00:28:48] <DanaeNZ> usually in Config.php files?
34: [00:29:56] <eolant> that's an interesting question, because that is like second SilverStripe site I see xD
35: [00:30:26] <eolant> But thanks for suggestion, I'll try to locate the problem now
36: [00:33:12] * joelpittet quit (Ping timeout: 244 seconds)
37: [00:33:41] <eolant> DanaeNZ: Ok, seems like I found it. There is also folder custom_search that probably responsible for creating indexes... Before it was using extraStatics and now it says class FileIndexesDecorator extends DataExtension { public static $indexes = array("SearchFields" => "fulltext (Filename,Title,Content)");}
38: [00:33:47] <helenclarko> Damnit Gmail, Just let me send this .exe to everyone!
39: [00:34:49] <spronk> ugh
40: [00:34:51] <spronk> and then if you zip it
41: [00:34:53] <spronk> they'll go
42: [00:34:55] <spronk> nah it's an exe in a zip!
43: [00:35:11] <RyanPotter> spronk: .tar used to work
44: [00:35:14] <spronk> mm
45: [00:35:25] <DanaeNZ> eolant: oh yeah dat old. Check out this tut: https://docs.silverstripe.org/en/3.1/tutorials/site_search/
46: [00:35:40] <DanaeNZ> eolant: which when enabled, adds those indexes to the File class by default
47: [00:36:04] <helenclarko> What the hell! Okay so I change the file extension to ".removeme, thats allowed it passed Gmail. Now I have a message from office365 saying the client cant recieve executable content!!! I GIVE UP.
48: [00:36:08] <eolant> DanaeNZ: awesome, thanks for pointing me in the right direction
49: [00:36:33] <spronk> yuss sold all my headphones
50: [00:37:25] <Colin[pi]> what would you call a form transformation that takes a field list and makes all the fields use an array for their name? i.e. FieldName => ArrayName[FieldName] ?
51: [00:38:04] <helenclarko> spronk, So office365 can search inside files that have strange extensions.
52: [00:38:12] <spronk> mm?
53: [00:39:18] <zippy> hahaha
54: [00:39:25] <helenclarko> spronk, I ended up with a message back from my client outlook/office365 saying "Sorry your mail has been blocked due to executable content."
55: [00:39:26] <zippy> https://www.youtube.com/watch?v=bU64GI0Aj3A - compliments https://www.youtube.com/watch?v=ZUG9qYTJMsI
56: [00:40:08] <spronk> ffff helenclarko
57: [00:40:09] <spronk> god that's annoying
58: [00:40:25] <spronk> why isn't there like... an
59: [00:40:27] <spronk> "i know what i'm doing" box
60: [00:40:47] <helenclarko> spronk, Might just tell my client to imagine clicking on an icon and it does everything you want. Then for the rest of the year, imagine everything has been fixed.
61: [00:40:56] <spronk> :D
62: [00:41:30] <helenclarko> Because without allowing files through your shitty office365 protection, thats how its going to be.
63: [00:41:37] * Tanger has joined #silverstripe
64: [00:43:12] * Stomach has joined #silverstripe
65: [00:44:03] * wmk has joined #silverstripe
66: [00:45:31] * Azure quit (Quit: My Mac has gone to sleep. ZZZzzz…)
67: [00:47:06] * glenn-bautista quit (Quit: Leaving.)
68: [00:48:21] * Azure has joined #silverstripe
69: [00:49:39] * veb has joined #silverstripe
70: [00:49:46] <Zauberfisch> zippy: lol
71: [00:49:57] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
72: [00:51:55] * r_hector has joined #silverstripe
73: [00:52:28] * wmk quit (Ping timeout: 246 seconds)
74: [00:55:24] * travis-ci has joined #silverstripe
75: [00:55:25] <travis-ci> silverstripe/silverstripe-framework#5577 (3.2 - 42e87d6 : Damian Mooyman): The build passed.
76: [00:55:25] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/af5ef13e6c3d...42e87d683020
77: [00:55:25] <travis-ci> Build details : https://travis-ci.org/silverstripe/silverstripe-framework/builds/76208588
78: [00:55:25] * travis-ci has left #silverstripe
79: [00:59:38] * glenn-bautista has joined #silverstripe
80: [01:02:54] * ss-helper quit (Remote host closed the connection)
81: [01:03:11] * ss-helper has joined #silverstripe
82: [01:03:53] * zippy has joined #silverstripe
83: [01:08:15] <zippy> Zauberfisch: not bad, I do like the dollar shave club one
84: [01:09:40] <zippy> I should really place Planetary Annihilation since I backed it..
85: [01:13:38] * Stomach quit (Quit: zzz)
86: [01:14:09] * wmk has joined #silverstripe
87: [01:15:45] * micmania1 quit (Quit: micmania1)
88: [01:22:46] * wmk quit (Ping timeout: 260 seconds)
89: [01:24:09] * mahfuz has joined #silverstripe
90: [01:30:52] <Zauberfisch> zippy: place?
91: [01:30:59] <zippy> *play
92: [01:31:23] <Zauberfisch> I hear it's not that great
93: [01:32:39] <Zauberfisch> zippy: thought about buying it, but meh
94: [01:33:31] <Zauberfisch> I'll stick with NOTA (not original TA) a open source clone of TA
95: [01:33:53] <Zauberfisch> https://springrts.com/wiki/Games#TA-derived
96: [01:35:18] <zippy> nota eh
97: [01:36:12] <Zauberfisch> if you ever feel like loosing, let me know :P
98: [01:41:22] <RyanPotter> Zauberfisch: What’re you going to do to us to make us loose?
99: [01:41:41] <RyanPotter> :O
100: [01:44:13] * wmk has joined #silverstripe
101: [01:44:36] <Zauberfisch> RyanPotter: nah, I am actually not that good. unless you leave me alone for like an hour to boom my eco first
102: [01:45:00] <RyanPotter> Zauberfisch: Was really emphasising the “loose” there :P
103: [01:45:10] <Zauberfisch> ah, lol
104: [01:45:22] <Zauberfisch> bad england ...
105: [01:46:59] <Zauberfisch> though playing against NZ people is actually a good idea. I can always rage quit and blame it on the bad ping if things are not going my way
106: [01:52:46] * wmk quit (Ping timeout: 244 seconds)
107: [01:55:03] * DanaeNZ quit (Remote host closed the connection)
108: [01:55:36] * DanaeNZ has joined #silverstripe
109: [02:00:17] * DanaeNZ quit (Ping timeout: 265 seconds)
110: [02:00:32] * spronk quit (Quit: I may need a longer sleep timer...)
111: [02:01:33] <zippy> Zauberfisch: ah you are one of those "NAP for 20 mins first" type people
112: [02:10:49] * micmania1 has joined #silverstripe
113: [02:14:15] * wmk has joined #silverstripe
114: [02:20:17] * DanaeNZ has joined #silverstripe
115: [02:21:50] * irogue quit (Ping timeout: 240 seconds)
116: [02:22:08] * micmania1 quit (Quit: micmania1)
117: [02:22:10] * wmk quit (Ping timeout: 240 seconds)
118: [02:29:49] * irogue has joined #silverstripe
119: [02:34:19] <eolant> 2.4 -> 3.1 update. I think I'm getting closer... right now I'm having error somewhere in menus. "DataList::create Can't find data classes (classes linked to tables) for Array." and "get_class() expects parameter 1 to be object, array given" and trace http://justpaste.it/n4cw any ideas?
120: [02:34:35] * irogue quit (Ping timeout: 250 seconds)
121: [02:35:22] <eolant> http://jpst.it/B3jf navigation code
122: [02:37:34] <RyanPotter> eolant !help
123: [02:37:42] <RyanPotter> !help eolant
124: [02:37:42] <ss-helper> eolant: Please provide the version, full error message and relevant code. You can put the code in http://kopy.io/ or http://www.sspaste.com/ or https://gist.github.com/ and paste the link here.
125: [02:38:16] <RyanPotter> eolant: did you do a build, and a flush?
126: [02:39:17] <eolant> RyanPotter: yes, didn't help
127: [02:40:03] * hombero_ has joined #silverstripe
128: [02:40:54] <zippy> RyanPotter: get it right with the bot dude....
129: [02:41:05] <zippy> rtfm :)
130: [02:42:33] * micmania1 has joined #silverstripe
131: [02:42:39] * hombero_ quit (Read error: Connection reset by peer)
132: [02:42:48] <DanaeNZ> eolant: weird how it says getMenu is in the Page class
133: [02:43:10] <DanaeNZ> what does Page.php:182 look like?
134: [02:43:24] * hombero quit (Ping timeout: 244 seconds)
135: [02:43:33] * hombero_ has joined #silverstripe
136: [02:44:22] * wmk has joined #silverstripe
137: [02:45:13] * wilson has joined #silverstripe
138: [02:45:23] <wilson> *wilson
139: [02:45:24] <Zauberfisch> zippy: yeah, pretty much
140: [02:45:25] * joelpittet has joined #silverstripe
141: [02:45:51] <eolant> DanaeNZ: public function Menu($level) { return $this->getMenu($level); }
142: [02:46:20] * squarefanatic has joined #silverstripe
143: [02:46:20] <DanaeNZ> eolant: Page.php shouldn't have any of that...
144: [02:46:22] * Error404NotFound quit (Ping timeout: 260 seconds)
145: [02:46:34] <Zauberfisch> zippy: my "super early game" is pretty good. my "late early game" sucks millitary wise until late mid game. After that, I am usually to big to fail
146: [02:46:44] <Zauberfisch> but I don't usually get there, lol
147: [02:46:54] <DanaeNZ> eolant: you could probably remove that and getMenu
148: [02:47:17] <eolant> DanaeNZ: I'll try that, this website is kind of a mess...
149: [02:47:23] * squarefanatic quit (Client Quit)
150: [02:47:28] <wilson> Hi to all, i am using a PHP-login system that is independent of SS. It is, however, using the table MEMBERS from the SS database. It works, i can retrieve data of the DB from a page not created by SS. Problem is password encryption. Where and how the Members passwords are encrypted? and how to have my page check those credentials correctly? Thanks!
151: [02:48:41] * zippy quit (Quit: Textual IRC Client: www.textualapp.com)
152: [02:48:45] * spronk has joined #silverstripe
153: [02:50:49] <eolant> DanaeNZ: yay, it works, updated! Now have to check if all functionality before and after works.
154: [02:51:08] <DanaeNZ> eolant: good stuff!
155: [02:51:14] <eolant> Thanks for help guys, you're awesome
156: [02:52:36] <spronk> hmm
157: [02:52:56] * permanentinc has joined #silverstripe
158: [02:53:09] <DanaeNZ> oh it's this asshole permanentinc
159: [02:53:23] <permanentinc> shove it up your arse
160: [02:53:24] * wmk quit (Ping timeout: 272 seconds)
161: [02:53:30] <permanentinc> oh, and hai
162: [02:53:36] <DanaeNZ> sorry i mean arsehole*
163: [02:53:48] <DanaeNZ> it's pinc btw
164: [02:53:54] <permanentinc> good save
165: [02:55:07] * chocolatemoose has joined #silverstripe
166: [02:55:47] <DanaeNZ> omg....just realised chocolatemoose is a play on "chocolate mousse"
167: [02:55:52] <DanaeNZ> how fucking retarded am i
168: [02:55:56] <chocolatemoose> ha!
169: [02:56:21] <chocolatemoose> is anyone familiar with multiform? is it possible to prevent someone from skipping steps by clicking the next button a couple of times?
170: [02:58:01] * Error404NotFound has joined #silverstripe
171: [03:00:28] * samlander quit ()
172: [03:01:17] * wilson quit (Quit: Page closed)
173: [03:01:37] <antmas> how do I stop phpstorm from highlighting typos?
174: [03:04:05] <Zauberfisch> antmas: stop making typos? :P
175: [03:04:28] <antmas> Zauberfisch: :|
176: [03:05:03] <DanaeNZ> antmas: change the colour thing to something more subtle
177: [03:05:04] <Zauberfisch> antmas: just open settings and type "spell" in the left top seach
178: [03:05:08] <Zauberfisch> search*
179: [03:05:23] <Zauberfisch> there should be a few options to modify / disable that inspector
180: [03:05:33] * antmas looks at settings
181: [03:05:41] <permanentinc> uncheck typo under spelling inside of inspections
182: [03:05:42] <Zauberfisch> chocolatemoose: yes, validation
183: [03:06:04] <chocolatemoose> thought so, thanks!
184: [03:06:17] <antmas> permanentinc: Zauberfisch that's it
185: [03:06:19] <Zauberfisch> chocolatemoose: if you use form validation, you can make sure a user can only procede until all required fields are filled correctly
186: [03:06:20] <antmas> thanks
187: [03:06:28] * antmas looks at Danae
188: [03:06:35] <antmas> >.>
189: [03:06:45] <antmas> DanaeNZ: I'll change your color in a minute
190: [03:06:50] <antmas> -_-
191: [03:07:37] <DanaeNZ> o______o;;;
192: [03:08:41] * Motoservo quit (Quit: Over & out.)
193: [03:11:47] <RyanPotter> How would you go about redrawing a formfield after save?
194: [03:11:53] <RyanPotter> in the cms.
195: [03:12:04] <RyanPotter> call the fieldholder html, and replace it?
196: [03:12:04] <novaweb> Friends, is it possible to use multidimensional php arrays and then pass them through to Requirements::javascriptTemplate?
197: [03:12:09] <novaweb> Or can you only use strings...
198: [03:12:18] <RyanPotter> novaweb: convert tthem to json
199: [03:12:38] <novaweb> Here we go, I've never touched JSON before
200: [03:12:53] <novaweb> Ok thanks, any modules that currently do something like this that I can use for reference?
201: [03:12:54] <RyanPotter> novaweb: tit’s pretty easy, it’s just a javascript object.
202: [03:13:00] <RyanPotter> mm, one sec.
203: [03:14:23] * wmk has joined #silverstripe
204: [03:16:08] * glenn-bautista quit (Quit: Leaving.)
205: [03:16:39] * Colin[pi] quit (Ping timeout: 265 seconds)
206: [03:17:10] <RyanPotter> novaweb: pretty old code, but you can do something like this: http://pastie.org/10360522
207: [03:17:13] <novaweb> RyanPotter http://www.sspaste.com/paste/show/50ed13118fd8b
208: [03:17:26] <novaweb> Your one or this one?
209: [03:17:49] <RyanPotter> My one.
210: [03:18:03] <novaweb> OK
211: [03:18:06] <novaweb> Thx
212: [03:18:36] <novaweb> Awesome!
213: [03:20:16] * CodeTrap1 has joined #silverstripe
214: [03:22:26] * CodeTrap quit (Ping timeout: 240 seconds)
215: [03:23:12] * wmk quit (Ping timeout: 264 seconds)
216: [03:27:13] * novaweb quit (Remote host closed the connection)
217: [03:30:52] <eolant> Something wrong with GridField now. Before it used dataobject_manager to manage Products which are linked via has_many. Here is code with GridField: http://kopy.io/S3Li6. In admin it return this error: "Fatal error: Call to a member function hasMethod() on a non-object in .../framework/forms/gridfield/GridFieldSortableHeader.php on line 114"
218: [03:33:05] <RyanPotter> eolant: https://github.com/Rhym/ss_snippets#gridfield
219: [03:33:15] <RyanPotter> just remove the GridFieldSortableRows
220: [03:43:16] <eolant> RyanPotter: can you repeat but a total newbie in SS who sees it first time? XD btw here is ProductResource http://kopy.io/Gg9LF
221: [03:43:45] <RyanPotter> eolant: What’s the issue?
222: [03:44:27] <eolant> RyanPotter: When I go on a page in admin panel, i'm getting "Fatal error: Call to a member function hasMethod() on a non-object in /Users/vitaly/www/firstfresh/framework/forms/gridfield/GridFieldSortableHeader.php on line 114"
223: [03:44:33] * wmk has joined #silverstripe
224: [03:44:35] * Stomach has joined #silverstripe
225: [03:46:47] <RyanPotter> eolant: Paste your page code that you’re calling the gridfield
226: [03:47:21] <eolant> RyanPotter: http://kopy.io/S3Li6
227: [03:48:53] <RyanPotter> eolant: Replace lines 38-48 with this http://pastie.org/10360547
228: [03:49:34] <spronk> ughh
229: [03:49:45] <spronk> anyone know any youshop type services from aus to nz?
230: [03:50:55] <eolant> RyanPotter: Thanks, that solved these error, but now I get another: "Fatal error: Call to a member function dbObject() on a non-object in /Users/vitaly/www/firstfresh/framework/model/DataObject.php on line 2729"
231: [03:53:01] * wmk quit (Ping timeout: 250 seconds)
232: [03:53:17] * Stomach quit (Quit: zzz)
233: [03:54:00] * glenn-bautista has joined #silverstripe
234: [03:54:18] * ss-helper quit (Remote host closed the connection)
235: [03:54:36] * ss-helper has joined #silverstripe
236: [03:56:39] * zagoodwin has joined #silverstripe
237: [03:58:35] * Stomach has joined #silverstripe
238: [04:09:17] <chocolatemoose> ugh, now the form just jumps back to the first step when it should be valid data
239: [04:10:40] * Stomach quit (Quit: zzz)
240: [04:13:28] <eolant> Found the issue: Attachment.CMSThumbnail.Tag should be just Attachment.CMSThumbnail
241: [04:14:32] * wmk has joined #silverstripe
242: [04:14:37] <helenclarko> ugh. Its hard to help some people.
243: [04:15:31] * Stomach has joined #silverstripe
244: [04:15:51] * antmas quit (Quit: Page closed)
245: [04:18:47] <Hailwood> Hey Folks, micmania1/silverstripe-blog if you have links in the first part of your content (in the section $Excerpt returns) then you end up with a Summary that has the link shortcode in it
246: [04:19:21] <micmania1> Hailwood: checkout the official blog module
247: [04:19:30] <micmania1> (its the same one but with a lot of work done to it)
248: [04:21:53] <Hailwood> Oh really? Heh when I was asking a couple of months ago I was told to use yours!
249: [04:22:36] * wmk quit (Ping timeout: 244 seconds)
250: [04:28:31] <adrexia> Hailwood - probably not much longer after that micmania1's module was forked to the official one and continued on from tehre
251: [04:28:33] <adrexia> :)
252: [04:28:58] <Hailwood> adrexia, Quite likely!
253: [04:29:03] <adrexia> :D
254: [04:30:23] * antmas has joined #silverstripe
255: [04:31:17] <adrexia> http://www.silverstripe.org/blog/blog-2-0/
256: [04:32:17] <antmas> hmm
257: [04:32:31] <antmas> I have a foo=>ss_datetime
258: [04:32:43] <antmas> how do I assign the value of that to a hiddenfield?
259: [04:33:09] * permanentinc quit (Remote host closed the connection)
260: [04:33:33] * permanentinc has joined #silverstripe
261: [04:33:51] * RyanPotter quit (Quit: ZZZ)
262: [04:34:12] * RyanPotter has joined #silverstripe
263: [04:35:13] <adrexia> setValue?
264: [04:36:47] <antmas> adrexia: oh yeah? how would that look exactly?
265: [04:37:09] <adrexia> $blah = hiddenfield ... etc
266: [04:37:18] <antmas> adrexia: ah yes, chur
267: [04:37:20] <adrexia> $blah->setValue(thing)
268: [04:37:29] <adrexia> :)
269: [04:38:16] <adrexia> that was rather lazy psedo code, sorry
270: [04:40:58] <antmas> adrexia: it helped :P
271: [04:41:08] <adrexia> sweet as :)
272: [04:41:33] * Stomach quit (Quit: zzz)
273: [04:42:33] * antmas quit (Quit: Page closed)
274: [04:42:57] * Colin[pi] has joined #silverstripe
275: [04:43:51] <RyanPotter> God dammit, Stomach.
276: [04:44:38] * wmk has joined #silverstripe
277: [04:45:45] <DanaeNZ> #saveStomach2015
278: [04:47:15] <adrexia> ?
279: [04:47:39] * zippy has joined #silverstripe
280: [04:48:25] <RyanPotter> Lol: https://i.imgur.com/HueB17L.png
281: [04:49:16] <zippy> lol
282: [04:49:22] <DanaeNZ> lolol!
283: [04:53:19] * wmk quit (Ping timeout: 260 seconds)
284: [05:01:21] <zippy> "a Sydney fire crew have saved a man from the clutches of a washing machine after he was trapped in the front loader for three hours."
285: [05:01:31] <zippy> Colin[pi]: ....
286: [05:01:45] * helenclarko quit (Read error: Connection reset by peer)
287: [05:02:09] <Hailwood> Hmm, Why would <% loop $Children %>$Content< %end_loop %> not be parsing the shortcodes?
288: [05:02:10] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
289: [05:02:52] <DanaeNZ> zippy: #irrationalfears
290: [05:03:30] * zlinux quit (Ping timeout: 260 seconds)
291: [05:03:33] <DanaeNZ> Hailwood: how are you getting Children? Usually it's cos you need to return the object or run it through the ShortcodeParser
292: [05:05:44] <Hailwood> DanaeNZ, it's just on a standard page that has child pages
293: [05:06:11] <DanaeNZ> whelp I got no idea then
294: [05:06:22] <DanaeNZ> check the wysiwyg again
295: [05:06:33] <DanaeNZ> i had some weird issues where it reverted the link shortcode
296: [05:06:43] * permanentinc quit ()
297: [05:13:25] * micmania1 quit (Quit: micmania1)
298: [05:14:27] * wmk has joined #silverstripe
299: [05:19:46] * Stomach has joined #silverstripe
300: [05:23:00] * joelpittet quit (Remote host closed the connection)
301: [05:23:03] * wmk quit (Ping timeout: 244 seconds)
302: [05:24:31] * RyanPotter quit (Quit: ZZZ)
303: [05:28:42] * wmk has joined #silverstripe
304: [05:31:02] * Colin[pi] quit (Read error: Connection reset by peer)
305: [05:42:11] * glenn-bautista quit (Quit: Leaving.)
306: [05:48:25] * DanaeNZ quit (Remote host closed the connection)
307: [05:53:07] * veb quit (Ping timeout: 246 seconds)
308: [05:54:20] <ss-helper> Uncaught LogicException: byID can't be called on an UnsavedRelationList - http://stackoverflow.com/questions/32087388/uncaught-logicexception-byid-cant-be-called-on-an-unsavedrelationlist
309: [05:55:54] * RyanPotter has joined #silverstripe
310: [06:00:48] * chocolatemoose quit (Remote host closed the connection)
311: [06:01:32] * hombero has joined #silverstripe
312: [06:04:03] * adrexia quit (Quit: My Mac has gone to sleep. ZZZzzz…)
313: [06:04:22] * hombero_ quit (Ping timeout: 265 seconds)
314: [06:15:00] * wmk quit (Quit: nice to meet you ;))
315: [06:15:28] * RyanPotter quit (Quit: ZZZ)
316: [06:24:40] * hombero quit (Ping timeout: 265 seconds)
317: [06:25:23] * chocolatemoose has joined #silverstripe
318: [06:29:59] * chocolatemoose quit (Ping timeout: 265 seconds)
319: [06:36:32] * Stomach quit (Quit: zzz)
320: [06:45:42] * ss-helper quit (Remote host closed the connection)
321: [06:45:58] * ss-helper has joined #silverstripe
322: [06:50:20] * Hailwood quit (Remote host closed the connection)
323: [06:52:02] * Stomach has joined #silverstripe
324: [06:53:51] * mahfuz quit (Ping timeout: 246 seconds)
325: [07:03:39] * zagoodwin quit (Ping timeout: 246 seconds)
326: [07:03:47] * Error404NotFound quit (Ping timeout: 256 seconds)
327: [07:07:42] * Stomach quit (Quit: zzz)
328: [07:09:13] * bucketface has joined #silverstripe
329: [07:10:20] * Stomach has joined #silverstripe
330: [07:12:16] * spronk quit (Quit: I may need a longer sleep timer...)
331: [07:16:47] * bucketface quit (Quit: Page closed)
332: [07:17:36] * zlinux has joined #silverstripe
333: [07:18:16] * Stomach quit (Quit: zzz)
334: [07:19:31] * Error404NotFound has joined #silverstripe
335: [07:22:44] * spronk has joined #silverstripe
336: [07:29:49] * zfmf has joined #silverstripe
337: [07:30:10] * zfmf quit (Client Quit)
338: [07:32:57] * novaweb has joined #silverstripe
339: [07:32:58] * novaweb quit (Read error: Connection reset by peer)
340: [07:37:04] * DanaeNZ has joined #silverstripe
341: [07:41:42] * DanaeNZ quit (Ping timeout: 260 seconds)
342: [07:44:49] * nontgor quit (Ping timeout: 252 seconds)
343: [07:46:28] * saiyan has joined #silverstripe
344: [07:53:37] * Stomach has joined #silverstripe
345: [07:57:38] * nontgor has joined #silverstripe
346: [08:05:23] * kinglozzer has joined #silverstripe
347: [08:05:55] * spronk quit (Quit: I may need a longer sleep timer...)
348: [08:08:15] * swaiba has joined #silverstripe
349: [08:10:18] * GioVdK has joined #silverstripe
350: [08:13:31] * willr has joined #silverstripe
351: [08:13:45] * zlinux quit (Ping timeout: 255 seconds)
352: [08:13:53] * Stomach quit (Quit: zzz)
353: [08:13:59] * willr quit (Changing host)
354: [08:14:00] * willr has joined #silverstripe
355: [08:14:06] * DimiStripe has joined #silverstripe
356: [08:18:10] * Stomach has joined #silverstripe
357: [08:18:10] * willr quit (Ping timeout: 240 seconds)
358: [08:22:59] * darjus01 has joined #silverstripe
359: [08:24:15] <Tanger> Is canView() evaluated during onBeforeWrite();
360: [08:24:32] * Stomach_ has joined #silverstripe
361: [08:25:36] * Stomach quit (Ping timeout: 264 seconds)
362: [08:26:24] * Pygvbnk has joined #silverstripe
363: [08:27:56] * willr has joined #silverstripe
364: [08:28:01] <Pygvbnk> D: the Koreans are back swaiba :S
365: [08:28:10] <Pygvbnk> o/ willr
366: [08:28:19] * willr waves
367: [08:28:30] * swaiba spings into action
368: [08:30:55] <swaiba> Pygvbnk all sorted
369: [08:31:01] <Pygvbnk> :D
370: [08:31:03] <Pygvbnk> our hero
371: [08:33:50] * zfmf has joined #silverstripe
372: [08:34:20] * mobiusnz has joined #silverstripe
373: [08:41:19] * Eliseth has joined #silverstripe
374: [08:49:53] * novaweb has joined #silverstripe
375: [08:50:06] * wmk has joined #silverstripe
376: [08:50:50] <Pygvbnk> sigh.
377: [08:50:56] <Pygvbnk> ping google.com on 3 different machines.
378: [08:50:58] <wmk> Pygvbnk, ☺/
379: [08:51:01] <Pygvbnk> get 3 different IP addresses.
380: [08:51:07] <Pygvbnk> \o wmk :>
381: [08:51:19] <Eliseth> Morning o/
382: [08:52:07] <wmk> Eliseth, what's the PR doing? did you already squash the commits?
383: [08:52:11] <Eliseth> I have a "Delete All" button in my ModelAdmin based on this code: http://www.silverstripe.org/community/forums/general-questions/show/49489
384: [08:52:21] <wmk> delete all... sounds scary
385: [08:52:36] <Eliseth> How do I ensure the table gets truncated on delete so ID's don't go through the roof?
386: [08:52:53] * Copperis has joined #silverstripe
387: [08:53:11] <wmk> Eliseth, is counter set to zero when you truncate a table?
388: [08:53:16] <wmk> or do you have to delete it and rebuild it?
389: [08:54:09] <Eliseth> What counter
390: [08:54:24] <wmk> hmm, that was mysql autoincrment, but afaik ss doesn't use that
391: [08:54:39] <wmk> well, let's see what DataObject does to get the ID for a new object
392: [08:56:34] <wmk> DB::getGeneratedID($baseTable)
393: [08:56:55] <wmk> so, what kind of DO are you deleting? a plain DO or a subclass of something, Eliseth ?
394: [08:56:57] * DimiStripe quit (Quit: DimiStripe)
395: [08:57:25] <kinglozzer> wmk: SS doesn't set an ID, it just uses MySQL (or other DB) autoincrement
396: [08:57:42] <Eliseth> Yes, it's the MySQL autoincrement
397: [08:57:45] <kinglozzer> getGeneratedID returns the last inserted ID
398: [08:57:47] <Eliseth> Hance the need for truncate
399: [08:57:51] <kinglozzer> (i.e. after the first write)
400: [08:57:53] <Eliseth> *hence
401: [08:58:15] <wmk> ok
402: [08:58:23] <wmk> kinglozzer, thanks for clarification
403: [08:58:24] <kinglozzer> Eliseth: Can you just run DB::query('TRUNCATE TABLE Foo'); or something?
404: [08:58:25] * GioVdK quit (Read error: Connection reset by peer)
405: [08:58:33] <wmk> so you have to reset the autoincrement
406: [08:58:44] <kinglozzer> (I have no idea if TRUCATE will reset autoincrement)
407: [08:58:57] <Eliseth> It should
408: [08:58:57] <wmk> Eliseth, http://stackoverflow.com/questions/8923114/how-to-reset-auto-increment-in-mysql
409: [08:59:06] <wmk> just run ALTER TABLE tablename AUTO_INCREMENT = 1
410: [08:59:15] <wmk> which should be enough
411: [09:00:09] <wmk> for an empty table
412: [09:01:21] <wmk> From MySQL 5.0.13 on, the AUTO_INCREMENT counter is reset to zero by TRUNCATE TABLE, regardless of whether there is a foreign key constraint.
413: [09:01:25] <wmk> https://dev.mysql.com/doc/refman/5.0/en/truncate-table.html
414: [09:01:31] * R\w\C has joined #silverstripe
415: [09:04:03] <Eliseth> I never run a DB query directly from SS before
416: [09:11:05] <wmk> like kinglozzer said above
417: [09:11:22] <Eliseth> Yes, that seems to work
418: [09:11:38] <wmk> http://api.silverstripe.org/3.1/class-DB.html#_query
419: [09:11:46] <Eliseth> Thanks, that's also a lot faster than going through all the items and do a delete()
420: [09:11:52] <wmk> ORM is nice, but sometimes you want to run a given sql query
421: [09:12:03] <wmk> ORM might be totally slow...
422: [09:12:19] <wmk> but: with orm you can make other logic, e.g. onBeforeDelete etc...
423: [09:12:32] <Eliseth> Yes, but in this case that's not needed
424: [09:12:35] <wmk> so with DB::query() you have all the responsibility to make it right
425: [09:12:42] <wmk> Eliseth, fine!
426: [09:12:44] <Eliseth> It's just emptying a custom logging table
427: [09:13:21] <Eliseth> Since it probably won't emptied untill record count is in the millions a DB query is the way to go I think
428: [09:16:46] * Tanger quit (Quit: sleep())
429: [09:17:41] * jcwacky quit (Quit: jcwacky)
430: [09:19:40] <Eliseth> wmk: squash the commits? Is that something I must do?
431: [09:19:57] <wmk> afaik it was the last comment on your PR
432: [09:20:09] <wmk> as you did two commits, you should rebase your branch
433: [09:20:09] <Eliseth> It is
434: [09:21:01] <wmk> dunno if you can sqash online
435: [09:21:05] <wmk> guess not
436: [09:21:21] <wmk> so you'd have to download your fork / repo, rebase -i and sqash the two commits togehter
437: [09:21:28] <wmk> kinglozzer, any thoughts on this?
438: [09:21:55] <wmk> Eliseth, no worry, the first squash is the trickiest
439: [09:22:12] <Eliseth> >.<
440: [09:24:23] <wmk> Eliseth, basically something like http://blog.steveklabnik.com/posts/2012-11-08-how-to-squash-commits-in-a-github-pull-request or
441: [09:24:32] <Pygvbnk> fuuok'n bawmar com
442: [09:24:47] <kinglozzer> Yeah there's no way to squash online
443: [09:24:48] <Pygvbnk> dem Koreans gaan hard liek
444: [09:25:04] <kinglozzer> If you're really, really stuck, just say on the PR and one of us will do it for you and manually merge it
445: [09:25:23] <kinglozzer> Eliseth / wmk ^^
446: [09:25:48] <Pygvbnk> haway, how to learn then?
447: [09:25:50] <Pygvbnk> :P
448: [09:26:38] * auto9 has joined #silverstripe
449: [09:27:09] * adrexia has joined #silverstripe
450: [09:27:18] <Pygvbnk> o/ adrexia
451: [09:34:14] <wmk> why oh why does dev/build take so long, even if that table isn't touched?
452: [09:34:23] <wmk> or changed...
453: [09:34:37] <wmk> have a huge log table which takes forever when doing dev/build
454: [09:34:51] <swaiba> and why is it needed for things like summary or search field changes
455: [09:35:10] <ss23> wmk: Not sure, maybe run with show_queries? at a guess, it's doing a rebuild of the index or something
456: [09:35:38] <swaiba> huge log table would be better sent elsewhere I've found, either disk or message queue to another service
457: [09:36:03] <swaiba> I've had GB's in log tables and it does take an eon in those cases
458: [09:36:14] <wmk> swaiba, disk or something else woudl be a good idea
459: [09:36:19] <wmk> "take an eon" ?
460: [09:36:30] <swaiba> eon = a very very very long time
461: [09:36:38] <wmk> ok.
462: [09:36:44] <wmk> eon = german electricity provider
463: [09:36:47] <ss23> Eon or aeon in geology, a measure of time in the geologic time scale
464: [09:36:55] <ss23> https://en.wikipedia.org/wiki/Aeon
465: [09:37:02] <ss23> The word aeon /ˈiːɒn/, also spelled eon, originally meant "life", "vital force" or "being", "generation" or "a period of time", though it tended to be translated as "age" in the sense of "ages", "forever", "timeless" or "for eternity".
466: [09:37:02] * ss-helper quit (Remote host closed the connection)
467: [09:37:04] <wmk> aeon, ok, that greek word. thanks for explanation
468: [09:37:06] <ss23> ~the more you know~
469: [09:37:12] <ss23> tbh I didn't know it was "aeon"
470: [09:37:16] * ss-helper has joined #silverstripe
471: [09:37:53] <swaiba> aeon - is the american word, but at least I'm not bitter or pedantic ;-)
472: [09:37:57] <wmk> hmm, how to tell if dev/build on cli crashed?
473: [09:38:01] <wmk> or is still running?
474: [09:38:15] <ss23> um
475: [09:38:20] <ss23> if it crashes, you'll get a shell
476: [09:38:29] <wmk> ok, so wait...
477: [09:41:34] <wmk> fine...
478: [09:42:14] <Pygvbnk> ss23: flux?
479: [09:42:23] <ss23> Pygvbnk: I was thikning it :P
480: [09:42:36] <Pygvbnk> https://en.wikipedia.org/wiki/%C3%86on_Flux
481: [09:44:36] <Pygvbnk> hte time scale is Eon though, yeh
482: [09:45:24] * cupcake has joined #silverstripe
483: [09:45:37] <cupcake> hey hey o/
484: [09:45:55] <wmk> yo cupcake
485: [09:46:44] <ss23> Pygvbnk: As per wikipedia, aeon referes to the length of time too
486: [09:50:05] <Pygvbnk> ss23: yeh
487: [09:52:53] * SH__ has joined #silverstripe
488: [09:53:04] <SH__> Hey guys, any ideas on how to combine partial caching and paginated lists?
489: [09:53:24] <Pygvbnk> no idea
490: [09:53:35] <Pygvbnk> ask ss23
491: [09:53:54] <Pygvbnk> ss23: yeah, but like wiki's wrong 'n shit
492: [09:55:49] <SH__> Found a forum post with the same problem and the guy said he ended up generating cachekey in the controller. Any ideas to how this would be done?
493: [09:57:24] * willr quit (Quit: willr)
494: [10:01:43] <Copperis> SH__, you could write a method in your page model which adds the paginated list's get parameter if any to the key (the string that the method returns) and use that as the key in the <% cache %> block
495: [10:04:14] <SH__> Yeah trying that at the moment, thanks man!
496: [10:05:39] <Copperis> you're welcome
497: [10:05:40] * zfmf quit (Remote host closed the connection)
498: [10:06:16] * zfmf has joined #silverstripe
499: [10:07:15] * eagles0513875 quit (Ping timeout: 244 seconds)
500: [10:09:15] * Mike123 has joined #silverstripe
501: [10:11:06] * zfmf quit (Ping timeout: 260 seconds)
502: [10:11:15] * eagles0513875 has joined #silverstripe
503: [10:23:09] * SH__ quit (Ping timeout: 246 seconds)
504: [10:32:53] * Werner_2_ has joined #silverstripe
505: [10:32:59] * wmk quit (Read error: Network is unreachable)
506: [10:36:52] * Stomach_ quit (Quit: zzz)
507: [10:42:31] * zfmf has joined #silverstripe
508: [10:43:11] * zippy has joined #silverstripe
509: [10:46:25] * MarkGuinn has joined #silverstripe
510: [10:57:45] * travis-ci has joined #silverstripe
511: [10:57:46] <travis-ci> dhensby/silverstripe-framework#461 (master - 0768434 : Daniel Hensby): The build passed.
512: [10:57:46] <travis-ci> Change view : https://github.com/dhensby/silverstripe-framework/compare/84b70422b6dc...0768434997ea
513: [10:57:46] <travis-ci> Build details : https://travis-ci.org/dhensby/silverstripe-framework/builds/76261597
514: [10:57:46] * travis-ci has left #silverstripe
515: [10:59:18] * veb has joined #silverstripe
516: [11:07:21] * Vedran__ has joined #silverstripe
517: [11:12:31] * travis-ci has joined #silverstripe
518: [11:12:32] <travis-ci> silverstripe/silverstripe-framework#5580 (master - 0768434 : Daniel Hensby): The build passed.
519: [11:12:32] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/84b70422b6dc...0768434997ea
520: [11:12:32] <travis-ci> Build details : https://travis-ci.org/silverstripe/silverstripe-framework/builds/76263307
521: [11:12:32] * travis-ci has left #silverstripe
522: [11:14:10] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
523: [11:15:51] * Werner_2_ is now known as wmk
524: [11:15:56] * Vedran__ quit (Ping timeout: 244 seconds)
525: [11:17:15] * zippy has joined #silverstripe
526: [11:17:18] * zippy quit (Client Quit)
527: [11:22:22] * Vedran__ has joined #silverstripe
528: [11:25:59] * MichalKleiner quit ()
529: [11:27:32] * veb quit (Quit: veb-irc: quit)
530: [11:35:39] * Vedran__ quit ()
531: [11:39:10] * novaweb quit (Remote host closed the connection)
532: [11:45:28] * DimiStripe has joined #silverstripe
533: [11:52:03] <ss-helper> Silverstripe: Excluding current page from list of the parent's children - http://stackoverflow.com/questions/7589740/silverstripe-excluding-current-page-from-list-of-the-parents-children
534: [12:05:04] * veb has joined #silverstripe
535: [12:06:37] * DimiStripe quit (Quit: DimiStripe)
536: [12:16:07] * spronk has joined #silverstripe
537: [12:17:54] * UndefinedOffset has joined #silverstripe
538: [12:28:26] * ss-helper quit (Remote host closed the connection)
539: [12:28:42] * ss-helper has joined #silverstripe
540: [12:39:42] * novaweb has joined #silverstripe
541: [12:46:26] * novaweb quit (Ping timeout: 260 seconds)
542: [12:46:58] <Pygvbnk> huh, so turns out he's right! http://www.silverstripe.org/community/forums/general-questions/show/104784
543: [12:46:59] * spronk quit (Quit: I may need a longer sleep timer...)
544: [12:55:25] <swaiba> Pygvbnk surely a simple case of setting HtmlEditorConfig::get('cms')->setOption('extended_valid_elements','....');
545: [12:55:45] <Pygvbnk> perhaps.
546: [12:56:02] <Pygvbnk> unsure. right click used to still be a thing, now it's not.
547: [12:56:48] <swaiba> sure, I guess I'm talking quick fix only
548: [13:00:14] <wmk> so i want to filter with ORM like cond1 OR (cond2 AND cond3)
549: [13:00:36] <wmk> do i have to write sql myself or is this possible with filter() and filterAny()?
550: [13:01:59] <wmk> filterAny() alone with nested arrays doesn't work
551: [13:05:40] <kinglozzer> wmk: I think you'll have to do it manually, possibly with ->alterDataQuery()
552: [13:06:09] <wmk> or just where() ?
553: [13:06:36] <Pygvbnk> wmk: need to look at groups
554: [13:06:37] <Pygvbnk> err
555: [13:06:46] <kinglozzer> $list->alterDataQuery(function($query) { $subQuery = $query->disjunctiveGroup(); $subQuery->where()../// etc });
556: [13:06:50] <Pygvbnk> disjunctivegroup an conjunctivegroup?
557: [13:06:50] <Pygvbnk> yeh
558: [13:06:51] <kinglozzer> Or something like that
559: [13:06:54] <Pygvbnk> boom kinglozzer, nice.
560: [13:07:07] <kinglozzer> Great minds think alike Pygvbnk ;)
561: [13:07:07] <Pygvbnk> wasn't sure what they were called.
562: [13:07:17] <Pygvbnk> but you came through with backup right when I needed it :P
563: [13:07:22] <kinglozzer> Yeah it's a pretty obscure name :/
564: [13:07:26] <Pygvbnk> Not really.
565: [13:07:45] <Pygvbnk> disjunctive and conjunctive is pretty normal in set theory and thus RBDMSs
566: [13:07:48] <wmk> kinglozzer, well, this time i don't really understand...
567: [13:08:01] <Pygvbnk> I remember simon_w writing them, it was an exciting time :D
568: [13:08:39] <Pygvbnk> something I wished I had at the time. But then haven't used at all since they've been a thing :<
569: [13:09:37] <kinglozzer> wmk: The DataQuery tests might help explain them a bit
570: [13:09:41] <swaiba> kinglozzer +1 for that but with some more friendly names :)
571: [13:10:01] <kinglozzer> wmk: https://github.com/silverstripe/silverstripe-framework/blob/3/tests/model/DataQueryTest.php#L99-L125
572: [13:10:20] <kinglozzer> wmk: disjuntice = OR, conjuntice = AND
573: [13:10:25] <kinglozzer> s/c/v
574: [13:10:36] <wmk> ok
575: [13:11:17] <wmk> so i need to alterDataQuery with my array given...? still no clue...
576: [13:13:00] <kinglozzer> wmk: Something like $list = $list->alterDataQuery(function($query) { $query->where("Foo = 'Bar'"); $subQuery = $query->disjunctiveGroup(); $subQuery->where("Bar = 'Baz'"); $subQuery->where("Baz = 'Bam'"); });
577: [13:13:21] <kinglozzer> If you need to pass an array into alterDataQuery() $list->alterDataQuery(function($query) use($myArray) { ... etc
578: [13:13:50] <wmk> so this would be where foo=bar OR (bar=baz AND baz=bam) ?
579: [13:14:23] <Pygvbnk> kinglozzer: s/c/v?
580: [13:14:27] <Pygvbnk> oh
581: [13:14:33] <Pygvbnk> missing a final /
582: [13:14:50] <Pygvbnk> and a g
583: [13:14:51] <Pygvbnk> I think
584: [13:15:05] <kinglozzer> Pygvbnk: :(
585: [13:15:10] <Pygvbnk> and you'd end up with vonjuntive
586: [13:15:25] <kinglozzer> close enough
587: [13:15:26] <kinglozzer> ;D
588: [13:15:30] <Pygvbnk> you need to move the later c and add a v :P
589: [13:15:31] <Pygvbnk> but yeh
590: [13:15:36] <kinglozzer> wmk: Yeah I think so
591: [13:15:44] <Pygvbnk> we all knew what you meant, but we knew that beforehand too.
592: [13:16:53] <Pygvbnk> https://www.silverstripe-europe.org/
593: [13:16:56] <kinglozzer> Wait, am I missing something obvious in all the DataQuery tests?
594: [13:16:58] <Pygvbnk> I'm getting excited.
595: [13:17:00] <kinglozzer> e.g. https://github.com/silverstripe/silverstripe-framework/blob/3/tests/model/DataQueryTest.php#L123
596: [13:17:05] <kinglozzer> $parameters
597: [13:17:08] <kinglozzer> O.o
598: [13:17:27] <Pygvbnk> lol, no
599: [13:17:38] <Pygvbnk> but
600: [13:17:40] <Pygvbnk> outside function?
601: [13:17:42] <Pygvbnk> in class?
602: [13:17:43] <Pygvbnk> what
603: [13:17:45] <Pygvbnk> IJDEK
604: [13:17:57] <Pygvbnk> neg, is class.
605: [13:18:04] <Pygvbnk> so yes, $parameters === null
606: [13:18:18] <kinglozzer> but.. should error, right?
607: [13:18:20] <kinglozzer> :/
608: [13:18:38] <Pygvbnk> depends on level
609: [13:18:43] <Pygvbnk> nfi
610: [13:18:46] <Pygvbnk> fixitfixitifixit
611: [13:18:48] <Pygvbnk> :P
612: [13:19:07] <Pygvbnk> I on the other hand am gonna gaan pee and then get a snickers and a coke or something
613: [13:23:20] <swaiba> Pygvbnk tmi
614: [13:28:19] <Pygvbnk> nah swaiba TMI would be [14:16] <Pygvbnk> I'm getting excited. ... Also I'm looking forward to this conference like!
615: [13:28:25] <Pygvbnk> :P
616: [13:28:48] <swaiba> I know what I regard as tmi :-P
617: [13:30:07] <Pygvbnk> hehe
618: [13:31:10] <Pygvbnk> You mean we have differing opinions! INCONCIEVIBLE!
619: [13:57:00] * Mike123 quit (Ping timeout: 246 seconds)
620: [14:15:28] * r_hector quit (Remote host closed the connection)
621: [14:27:06] * cupcake quit (Ping timeout: 246 seconds)
622: [14:56:07] * novaweb has joined #silverstripe
623: [15:02:29] * novaweb quit (Ping timeout: 246 seconds)
624: [15:04:39] <wmk> kinglozzer, ended up using a where() string i had from old 2.4
625: [15:06:33] <kinglozzer> wmk: Boo! That's cheating ;)
626: [15:06:57] <wmk> well, i tried that disjunctive but got an AND query
627: [15:07:06] * saiyan quit (Quit: Verlassend)
628: [15:07:08] <wmk> maybe i did something wrong, but i had other issues to fix
629: [15:07:21] <wmk> and won't touch that until i have to.
630: [15:07:43] <wmk> or you can make nested and/or queries with arrays... would be great ;)
631: [15:08:45] <wmk> BUT: i finally found a solution for passing Datalists around and disabling Subsite's augment query on that list
632: [15:19:49] * ss-helper quit (Remote host closed the connection)
633: [15:20:02] * ss-helper has joined #silverstripe
634: [15:20:49] <wmk> kinglozzer, http://www.silverstrip.es/blog/how-to-switch-off-subsites-extension-on-a-datalist/
635: [15:23:11] * zfmf quit ()
636: [15:25:13] <Pygvbnk> fook'n... kerberos time!
637: [15:34:50] <ss-helper> Silverstripe 3 Filtering / Filtering Out DataObjects in a Function - http://stackoverflow.com/questions/32099701/silverstripe-3-filtering-filtering-out-dataobjects-in-a-function
638: [15:37:50] * muskie9 has joined #silverstripe
639: [15:41:15] * Motoservo has joined #silverstripe
640: [15:42:50] <Pygvbnk> urgh, there's always some cunt in the fuck'n loo
641: [15:43:02] * motoservo_ has joined #silverstripe
642: [15:43:25] <Pygvbnk> haway
643: [15:43:49] * motoservo_ quit (Client Quit)
644: [15:46:41] * CodeTrap1 quit (Ping timeout: 244 seconds)
645: [15:47:35] * cupcake has joined #silverstripe
646: [15:47:50] <Eliseth> Does getChangedFields work on Member?
647: [15:47:58] <cupcake> is it possible to have a page with no db variable but with a has many relationship?
648: [15:48:13] <wmk> Eliseth, should work on any DataObject
649: [15:48:22] <wmk> cupcake, of course
650: [15:48:26] * DimiStripe has joined #silverstripe
651: [15:48:33] <Eliseth> Should it return anything onBeforeWrite?
652: [15:48:38] <Eliseth> Because all I get is Null
653: [15:48:57] <wmk> cupcake, as page is a subclass of SiteTree you have Title and URLSegment etc.. set automatically
654: [15:49:42] <wmk> Eliseth, dunno if it works in onbeforewrite
655: [15:50:42] <cupcake> But for example
656: [15:50:54] <cupcake> if i have a page object called Tree
657: [15:50:58] <cupcake> and has many Fruit
658: [15:51:08] <Eliseth> nevermind... found it...
659: [15:51:11] <cupcake> Fruit table should have TreeID as a field no?
660: [15:51:18] <wmk> Eliseth, ?
661: [15:51:22] <cupcake> each record in the fruit table
662: [15:51:22] <Eliseth> I'm an idiot
663: [15:51:37] * darjus01 quit (Read error: Connection reset by peer)
664: [15:51:40] <wmk> from what i see in L 1156 changed is filled out AFTER onbeforewrite is called
665: [15:51:44] <Eliseth> getChangedFields(), not getChangedFields
666: [15:51:50] <kinglozzer> cupcake: That's correct
667: [15:52:02] <wmk> Eliseth, oh, typo...
668: [15:52:08] <cupcake> but then Fruits table doesnt have that field
669: [15:52:17] <kinglozzer> cupcake: Have you set the has_one in Fruits?
670: [15:52:28] <kinglozzer> Fruit has_one Tree
671: [15:52:36] <wmk> cupcake, you need the has_one on Fruit's side
672: [15:52:50] <wmk> Pygvbnk, do you have your relationship graphics available?
673: [15:53:58] <wmk> cupcake, the id on Fruit is not made automatically. you have to code it. either in the DO directly or with a DataExtension
674: [15:54:59] <cupcake> ok so if Tree extends page
675: [15:55:03] <cupcake> and Fruit is a DO
676: [15:55:09] <cupcake> is it correct to have
677: [15:55:12] <cupcake> has one Tree
678: [15:55:15] <cupcake> in the Fruit?
679: [15:55:18] <kinglozzer> Yes
680: [15:55:22] <cupcake> ok
681: [15:55:23] <wmk> absolutely
682: [15:55:30] <cupcake> muchas gracias :)
683: [15:55:32] <wmk> cupcake, see lessons ;)
684: [15:55:41] <cupcake> bored down here
685: [15:55:46] <cupcake> :)
686: [15:56:01] <cupcake> or up here
687: [15:56:07] <cupcake> depending where u are haha
688: [15:57:09] <wmk> up/down: altitiude or latiude?
689: [15:57:34] <cupcake> both
690: [15:57:35] <cupcake> hehe
691: [15:57:52] <cupcake> depends on ure viewing perspective
692: [16:02:34] * joelpittet has joined #silverstripe
693: [16:05:49] <Pygvbnk> cupcake: only if it's a has_many. Many_many will result in a separate join table of ClassName_RelationName
694: [16:06:21] <Pygvbnk> and since there are no new fields required on the subclass in regards to SiteTree, it won't make a table.
695: [16:06:51] <Pygvbnk> so ID && ClassName in the SiteTree make one side of the relation
696: [16:07:10] <Pygvbnk> wmk: ah, yes
697: [16:07:11] <Pygvbnk> somewhere
698: [16:07:14] <Pygvbnk> in the logs :<
699: [16:07:57] * wmk quit (Ping timeout: 250 seconds)
700: [16:10:06] <Pygvbnk> oh I found it on the harddisk at work, brilliant
701: [16:10:22] <cupcake> Pygvbnk thanks
702: [16:10:37] <Pygvbnk> http://iforce.co.nz/i/sqyya1hj.2oy.png
703: [16:11:21] <Pygvbnk> cupcake: ^
704: [16:11:27] * Eliseth quit (Ping timeout: 246 seconds)
705: [16:12:01] <Pygvbnk> cupcake: also, wmk is in Austria, so down is correct :>
706: [16:12:41] <cupcake> :)
707: [16:14:03] <swaiba> Pygvbnk who owns that image? I'd like to "blog" it
708: [16:16:16] <Pygvbnk> swaiba: me.
709: [16:16:18] <Pygvbnk> I made it.
710: [16:16:24] <Pygvbnk> I have the HTML and all.
711: [16:16:39] <Pygvbnk> And yes, you may :>
712: [16:17:35] * ^pH has joined #silverstripe
713: [16:19:45] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
714: [16:21:34] * muskie9 has joined #silverstripe
715: [16:31:24] * kinglozzer quit ()
716: [16:32:24] * Motoservo quit (Quit: Shhh. I'm trying to get some sleep here.)
717: [16:34:34] <Pygvbnk> home
718: [16:34:35] * Pygvbnk quit ()
719: [16:38:57] * jcwacky has joined #silverstripe
720: [16:41:22] <jcwacky> I’m trying to customise a method within the class GridFieldAddExistingAutocompleter. So I’ve created “class CustomGridFieldAddExistingAutocompleter extends GridFieldAddExistingAutocompleter”, added my modified method, and then added Object::useCustomClass("GridFieldAddExistingAutocompleter", "CustomGridFieldAddExistingAutocompleter"); to config, but it doesn’t appear to be using my custom class. Any ideas
721: [16:41:56] * R\w\C quit (Quit: Textual IRC Client: www.textualapp.com)
722: [16:42:10] <muskie9> jcwacky why not remove the default component from the gridfield and add yours
723: [16:42:27] <jcwacky> Ah! Good idea.
724: [16:43:11] <muskie9> I've tried using the Object::useCustomClass() recently and had issues with it as well
725: [16:46:16] <swaiba> muskie9 what issues did you have with useCustomClass?
726: [16:46:36] <swaiba> it works fine provided it is in the config.yml, but not when in _config.php from expiernce
727: [16:46:56] <swaiba> seems several things are like this in SS3 (and require a dev build flush after)
728: [16:48:29] <muskie9> that'd be the issue then... was using _config.php... was trying to override some login stuff based on a module I found... partnering w/a creative agency on a project and they designed the login form to be different from how SS lays everything out...
729: [16:49:32] <muskie9> we usually get away with just adding a Security_login.ss template in the theme, but this requires a bit more in terms of layout
730: [16:54:08] * joelpittet quit ()
731: [17:05:18] * swaiba home time
732: [17:05:24] * swaiba quit (Remote host closed the connection)
733: [17:06:43] * zlinux has joined #silverstripe
734: [17:09:39] * pinkp has joined #silverstripe
735: [17:11:47] <pinkp> Does anyone know if you can access the url segment of the page that a dataobject belongs to? I'm looping the objects on a separate page but want their page url
736: [17:23:20] * auto9 quit (Read error: Connection reset by peer)
737: [17:24:29] * auto9_ has joined #silverstripe
738: [17:29:54] * Saiyan has joined #silverstripe
739: [17:31:14] <muskie9> pinkp in your loop I think it would be $RelationToPage.URLSegment assuming it's a page has_many yourObject
740: [17:32:27] <jcwacky> muskie9: Do you know the correct syntax for useCustomClass in config.yml?
741: [17:33:45] <muskie9> no clue, looking at the function it doesn't hit the config system afaik
742: [17:34:06] <muskie9> so not sure you can use the config.yml to set it
743: [17:34:13] <jcwacky> Ah. Ok, thanks,
744: [17:34:20] <muskie9> sure
745: [17:36:35] <Saiyan> hi guys, is there any info available regarding the support of silverstripe 3 over the next years?
746: [17:41:57] <zlinux> Saiyan: 3.0 ?
747: [17:41:59] * novaweb has joined #silverstripe
748: [17:43:34] <Saiyan> 3.X
749: [17:46:33] * veb quit (Ping timeout: 244 seconds)
750: [17:48:35] * novaweb quit (Ping timeout: 265 seconds)
751: [17:49:50] <ss-helper> SilverStripe 3: How to display the URL Segment / Page info of a DataObject - http://stackoverflow.com/questions/32102149/silverstripe-3-how-to-display-the-url-segment-page-info-of-a-dataobject
752: [17:51:17] <muskie9> pinkp did you try $Top.URLSegment
753: [17:51:59] <pinkp> tried $RelationToPage.URLSegment and its displays nothing..
754: [17:52:30] <muskie9> after seeing your post on SA I realized it's not relation based so that wouldn't work, but $Top. might
755: [17:52:59] <muskie9> **SO (stack overflow)
756: [17:54:38] <pinkp> $Top gives me the current page URL, but I need the page that the DataObject belongs to.. as they are being displayed on another page. Thanks for helping btw
757: [17:54:44] * gelignite has joined #silverstripe
758: [17:55:07] <muskie9> can you paste your models for the relations
759: [17:55:11] <muskie9> !paste
760: [17:55: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.
761: [17:57:50] * UndefinedOffset quit (Quit: Leaving.)
762: [18:02:31] <pinkp> ok will do
763: [18:04:02] <pinkp> My data object Stockist http://kopy.io/cbsa5
764: [18:04:32] <muskie9> is StockistArea a Page?
765: [18:04:41] <muskie9> page type rather
766: [18:05:30] <muskie9> assuming it is, in your loop you'd use $StockistArea.URLSegment
767: [18:06:07] <pinkp> Yea here http://kopy.io/caOS0
768: [18:07:09] <muskie9> cool, then $StockistArea.URLSegment should work... the trick is the left side of the $has_many array, the keys, are the relation name. that's what you use to access related objects in SS
769: [18:07:50] <pinkp> Its the child of a holder page too if that matters http://kopy.io/n8FPn
770: [18:08:13] <pinkp> oh ok ill try that!
771: [18:08:35] * UndefinedOffset has joined #silverstripe
772: [18:09:04] <muskie9> if you haven't looked through the docs and tuts they cover a lot of stuff related to this type of thing https://docs.silverstripe.org/en/3.1/
773: [18:11:12] * ss-helper quit (Remote host closed the connection)
774: [18:11:12] * nontgor quit (Read error: Connection reset by peer)
775: [18:11:29] * ss-helper has joined #silverstripe
776: [18:12:54] <pinkp> That did it! great thanks so much
777: [18:13:09] <muskie9> sure
778: [18:16:52] * wmk has joined #silverstripe
779: [18:42:15] * pinkp quit (Ping timeout: 246 seconds)
780: [18:47:46] <Firesphere> Evening folks!
781: [18:49:04] <wmk> Firesphere, ☺/
782: [18:50:19] * UndefinedOffset quit (Quit: Leaving.)
783: [18:52:09] * UndefinedOffset has joined #silverstripe
784: [18:56:23] * novaweb has joined #silverstripe
785: [18:59:45] * MarkGuinn quit (Ping timeout: 246 seconds)
786: [19:03:24] * Liquide has joined #silverstripe
787: [19:05:22] <wmk> anyone has a good tip how to backup mysql on windows automatically?
788: [19:07:13] * Stomach has joined #silverstripe
789: [19:08:31] <Firesphere> First of all, why do you need to backup a Windows MySQL?
790: [19:08:52] <Firesphere> Other than that, the PowerShell has the MysqlAdmin command, if MySQL is installed
791: [19:09:05] <Firesphere> so you could just run a dump via scheduled actions
792: [19:09:11] <wmk> you know... the customers wishes are their kingdom (or something like that)
793: [19:09:22] <wmk> scheduled actions = cron for windows?
794: [19:09:38] <Firesphere> Ok, so you need scheduled maintenance to run a powershell action that dumps the database.
795: [19:09:40] <Firesphere> Yeps
796: [19:09:57] <Firesphere> Check if it's actually named "Scheduled Actions", I could be wrong there. But there is such an option.
797: [19:10:57] <Firesphere> Sorry, it's "Task Scheduler"
798: [19:12:59] <wmk> hmm...
799: [19:16:06] * auto9 has joined #silverstripe
800: [19:18:30] * auto9_ quit (Ping timeout: 244 seconds)
801: [19:20:13] * willr has joined #silverstripe
802: [19:21:26] * willr quit (Client Quit)
803: [19:22:19] * Error404NotFound quit (Ping timeout: 246 seconds)
804: [19:29:02] * novaweb quit (Remote host closed the connection)
805: [19:31:28] * Stomach quit (Quit: zzz)
806: [19:35:11] * Error404NotFound has joined #silverstripe
807: [19:39:00] * DimiStripe quit (Quit: DimiStripe)
808: [19:50:31] * pinkp has joined #silverstripe
809: [19:59:58] * novaweb has joined #silverstripe
810: [20:06:57] * Stomach has joined #silverstripe
811: [20:16:42] * novaweb quit (Remote host closed the connection)
812: [20:21:53] * antmas has joined #silverstripe
813: [20:22:00] <antmas> :O
814: [20:22:05] <antmas> irc upgrade?
815: [20:22:39] <antmas> browser irc looks wwaaaaaay different :O
816: [20:22:39] * Copperis quit (Quit: Leaving)
817: [20:25:32] * iWannaSeeWebIRC has joined #silverstripe
818: [20:26:03] * iWannaSeeWebIRC has left #silverstripe
819: [20:28:26] * helenclarko has joined #silverstripe
820: [20:28:39] <helenclarko> Morning o/
821: [20:30:04] <antmas> helenclarko: o/
822: [20:32:42] * wmk quit (Ping timeout: 260 seconds)
823: [20:36:13] <antmas> my android UI keeps crashing :|
824: [20:41:14] * wmk has joined #silverstripe
825: [20:42:21] * UndefinedOffset quit (Quit: Leaving.)
826: [20:43:42] <muskie9> in the docs for csv importer... the function for parsing a value has args of &$obj, $val and $record... what's $record for
827: [20:43:47] <muskie9> I've never used it
828: [20:44:18] <muskie9> https://docs.silverstripe.org/en/3.1/developer_guides/integration/csv_import/#column-mapping-and-relation-import
829: [20:44:33] * zfmf has joined #silverstripe
830: [20:45:05] <antmas> muskie9: the id of the row maybe?
831: [20:45:29] <antmas> I've avoided csv importer like the plague so I don't really know
832: [20:45:33] <antmas> :P
833: [20:46:11] <muskie9> ya, it's hit and miss for me usually lol
834: [20:47:42] * chocolatemoose has joined #silverstripe
835: [20:48:08] * C10ne has joined #silverstripe
836: [20:49:07] <C10ne> Hey people, just a quick question, I'm a bit out of the loop with SS: How do i set up dev environment in SS 3.1?
837: [20:49:42] <C10ne> Whatever I try I get "Sorry, there was a problem with handling your request.", and I need more detailed errors if possible...
838: [20:49:44] <C10ne> Thanks!
839: [20:49:58] * wmk quit (Ping timeout: 244 seconds)
840: [20:50:38] <antmas> C10ne: check these dude, http://www.silverstripe.org/learn/lessons/
841: [20:50:50] <antmas> C10ne: everything you need from dev env to tutorials
842: [20:51:32] <C10ne> Cool, thanks.
843: [20:51:53] <antmas> C10ne: but if you don't find what you need in those vids, we can also help :P
844: [20:52:15] * chocolatemoose quit (Ping timeout: 265 seconds)
845: [20:53:06] <C10ne> OK, I'll watch them and try to find my way around.
846: [20:57:06] * DanaeNZ has joined #silverstripe
847: [20:58:55] * Motoservo has joined #silverstripe
848: [21:00:10] * glenn-bautista has joined #silverstripe
849: [21:01:51] * joelpittet has joined #silverstripe
850: [21:02:35] * ss-helper quit (Remote host closed the connection)
851: [21:02:49] * ss-helper has joined #silverstripe
852: [21:07:23] * RyanPotter has joined #silverstripe
853: [21:09:04] * Stomach quit (Ping timeout: 244 seconds)
854: [21:09:47] * Stomach has joined #silverstripe
855: [21:10:12] * jcwacky quit (Quit: jcwacky)
856: [21:10:38] <antmas> morning all o/
857: [21:11:15] * wmk has joined #silverstripe
858: [21:11:37] * DanaeNZ quit (Remote host closed the connection)
859: [21:13:12] * chocolatemoose has joined #silverstripe
860: [21:13:43] * micmania1 has joined #silverstripe
861: [21:14:55] <RyanPotter> Stomach: http://i.imgur.com/2BlxFbP.gifv
862: [21:15:12] <C10ne> antmas: Managed to switch, thanks again.
863: [21:15:33] <antmas> C10ne: all good :)
864: [21:15:58] <antmas> RyanPotter: :O
865: [21:16:26] <C10ne> My company's on Laravel now, I'm using SS for a private project, but I've kinda lost the touch...
866: [21:17:16] * joelpittet quit ()
867: [21:17:42] <antmas> C10ne: it's easy to re-pick up most things I think
868: [21:18:27] <C10ne> antmas: Yeah, most are, but this isn't really straight forward.
869: [21:19:08] <antmas> true
870: [21:19:48] <RyanPotter> Interesting: http://blog.getbootstrap.com/2015/08/19/bootstrap-4-alpha/
871: [21:20:21] * wmk quit (Ping timeout: 255 seconds)
872: [21:20:49] * novaweb has joined #silverstripe
873: [21:23:19] <antmas> good they're going to continue support for v3 for a while
874: [21:27:07] <eolant> Good morning all. If I'm using GridFieldOrderableRows I have to write my own function that will return ordered objects to loop in front end, is it correct?
875: [21:27:46] <RyanPotter> eolant: You should just call the has_many or many_many name. i.e <% loop $Items %>
876: [21:28:19] <RyanPotter> your dataobject should have a $default_sort static set to your orderable row.
877: [21:28:43] * Stomach quit (Quit: zzz)
878: [21:29:10] * Stomach has joined #silverstripe
879: [21:30:47] * DanaeNZ has joined #silverstripe
880: [21:34:08] <RyanPotter> Stomach: http://i.imgur.com/2BlxFbP.gifv
881: [21:35:02] <chocolatemoose> RyanPotter: that looks awesome
882: [21:35:13] <RyanPotter> chocolatemoose: churbo
883: [21:38:04] * Azure quit (Quit: Oops.)
884: [21:38:12] <Stomach> GIVE IT TO ME
885: [21:38:26] * Azure has joined #silverstripe
886: [21:38:27] * Stomach quit (Quit: zzz)
887: [21:38:52] * Stomach has joined #silverstripe
888: [21:39:15] <RyanPotter> Stomach: Sooon.
889: [21:39:25] <RyanPotter> I ned to decouple it from my boilerplate.
890: [21:41:17] * wmk has joined #silverstripe
891: [21:41:32] <RyanPotter> Hmm, I can see this being an issue @media (min-width: 75em) { ... }
892: [21:41:37] <novaweb> Yowza o/
893: [21:42:31] <RyanPotter> novaweb: o/
894: [21:42:44] <novaweb> Picking up on that JSON now... thanks bro
895: [21:43:21] * Stomach quit (Ping timeout: 250 seconds)
896: [21:43:23] <RyanPotter> No problem, good luck :D
897: [21:43:24] * Saiyan quit (Quit: Verlassend)
898: [21:46:32] <antmas> guis
899: [21:47:02] <antmas> what's a way to do a cms field that allows datetime selection, but defaults to ss_datetime if nothing selected?
900: [21:48:38] <eolant> RyanPotter: thanks, that works
901: [21:48:44] * Stomach has joined #silverstripe
902: [21:48:55] <RyanPotter> antmas: make your own, I guess?
903: [21:49:13] * joelpittet has joined #silverstripe
904: [21:49:23] <Stomach> RyanPotter give it to me
905: [21:49:30] * glenn-bautista quit (Quit: Leaving.)
906: [21:49:46] <RyanPotter> Stomach: Need to fix a couple entwine bugs, and decouple it; then should be set for an initial rlease.
907: [21:49:52] <Stomach> wooo :D
908: [21:49:55] <RyanPotter> AKAK: 1.0.hackedasfuck
909: [21:50:01] * wmk quit (Ping timeout: 246 seconds)
910: [21:50:43] <Stomach> 0.0.1 ?
911: [21:51:58] <RyanPotter> very much so, haha
912: [22:05:07] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
913: [22:06:17] <antmas> hmmm
914: [22:06:30] <antmas> I guess all I need is a default for datetimefield
915: [22:06:39] <RyanPotter> :D
916: [22:06:54] <antmas> to the docs!
917: [22:07:25] <antmas> ah wait, this default needs to be dynamic when the page loads :O
918: [22:08:39] <antmas> anyone know how I would do that? this datetimefield needs to be current datetime when the page loads
919: [22:08:50] <RyanPotter> entwine?
920: [22:09:01] <RyanPotter> no.
921: [22:09:08] <RyanPotter> just set the value if it doesn’t have one?
922: [22:09:19] <RyanPotter> I’m not entirely surte what you’re trying to do.
923: [22:09:35] <antmas> RyanPotter: I have a url that gets built using cmsfields
924: [22:09:43] <antmas> one of those params is a datetime
925: [22:09:58] <antmas> I need to have that parameter update when the page is loaded from the front end
926: [22:10:04] <muskie9> antmas can you set it onBeforeWrite?
927: [22:10:16] <muskie9> if there's no value
928: [22:10:53] <antmas> muskie9: but would setting it that way allow it to be update when a user views it from the front end?
929: [22:11:29] * wmk has joined #silverstripe
930: [22:11:32] <muskie9> probably not
931: [22:11:34] * hombero has joined #silverstripe
932: [22:11:53] <muskie9> so you want to track the date time when it was viewed last?
933: [22:12:06] <antmas> yeah, it's for a graph
934: [22:12:38] <antmas> all the other parameters are set in the cms, just the graph needs to update each time they view the page, so the datetime parameter needs to be dynamix
935: [22:12:42] <antmas> dynamic*
936: [22:13:54] <muskie9> sounds like either an ajax call to a function that updates it, or you have a getter in the model of the page that grabs the record and updates to the current date/time
937: [22:14:38] <antmas> mm I was thinking ajax
938: [22:15:31] <muskie9> probably best bet
939: [22:15:37] <antmas> mm
940: [22:15:51] <antmas> muskie9: cheers, I'll take a look at how to do it with ajax
941: [22:16:03] * benjhocking quit (Read error: Connection reset by peer)
942: [22:16:58] * glenn-bautista has joined #silverstripe
943: [22:18:01] * benjhocking has joined #silverstripe
944: [22:20:42] * wmk quit (Ping timeout: 265 seconds)
945: [22:22:15] * permanentinc has joined #silverstripe
946: [22:22:21] <DanaeNZ> morning all o/
947: [22:23:34] <antmas> muskie9: so using ajax, I'd be calling a function that updates my datetime field for the given page record yeah?
948: [22:23:40] <antmas> just trying to clarify in my head
949: [22:25:07] <muskie9> I believe so, you'd probably have to pass the page's ID in the call so you can query the proper one, unless $this->data()->ID works in the function when you do the call
950: [22:26:40] <antmas> muskie9: right, cheers!
951: [22:28:10] * Stomach quit (Quit: zzz)
952: [22:28:26] <DanaeNZ> I SAID MORNING ALL O/ O/ O/
953: [22:29:09] <antmas> DanaeNZ: Oh hi o/
954: [22:29:20] <antmas> :P
955: [22:29:24] <DanaeNZ> that's better
956: [22:30:16] <eolant> DanaeNZ: morning :)
957: [22:30:22] <DanaeNZ> :D
958: [22:31:06] * zfmf quit ()
959: [22:31:08] * pinkp quit (Quit: Page closed)
960: [22:32:54] * cupcake quit (Ping timeout: 246 seconds)
961: [22:34:13] * Stomach has joined #silverstripe
962: [22:39:12] <DanaeNZ> ah flight of the conchords seem to be planning a movie :D
963: [22:39:19] <DanaeNZ> and also a tour
964: [22:41:21] * wmk has joined #silverstripe
965: [22:45:54] * terryapodaca has joined #silverstripe
966: [22:46:14] * helenclark0 has joined #silverstripe
967: [22:48:54] <RyanPotter> the twbs guy’s are my brothers from another mother: http://i.imgur.com/2NXTKX0.png
968: [22:49:35] * helenclarko quit (Ping timeout: 245 seconds)
969: [22:49:52] * wmk quit (Ping timeout: 246 seconds)
970: [22:52:37] * spronk has joined #silverstripe
971: [22:52:47] <chocolatemoose> hahaha
972: [22:56:21] <terryapodaca> http://www.liveleak.com/view?i=793_1432306352
973: [22:56:30] <terryapodaca> =-O
974: [22:57:30] <antmas> lol that video is nuts
975: [22:57:54] <terryapodaca> I can't find a full version, but yeah...nuts
976: [22:57:54] <Stomach> NOT CHICKENBUTT: http://i.imgur.com/yAvNRyb.gif
977: [22:59:30] <terryapodaca> There's another video somewhere, where a Cheetah chases down the shooter that's shooting at him...and actually gets him, until one of the other hunters finally shoots it
978: [23:00:48] <terryapodaca> http://www.liveleak.com/view?i=0ba_1317191996
979: [23:00:59] <terryapodaca> warning: graphic!!!
980: [23:01:27] <terryapodaca> but something in me is rooting for the cheetah/leopard
981: [23:02:00] <novaweb> $550 for phpconf!
982: [23:02:06] <novaweb> does anyone have a discount code?
983: [23:02:22] <antmas> that seems... cheap?
984: [23:02:51] * Colin[pi] has joined #silverstripe
985: [23:04:31] <antmas> Colin[pi]: o.
986: [23:04:33] <antmas> damnit
987: [23:04:36] <antmas> Colin[pi]: o/
988: [23:04:41] <Colin[pi]> lol o/
989: [23:04:54] <Colin[pi]> that arm keeps falling off, you should get it looked at
990: [23:05:03] <antmas> :P
991: [23:08:03] * t8 has joined #silverstripe
992: [23:08:06] <t8> Hey guys
993: [23:08:28] <antmas> t8: o/
994: [23:08:29] <t8> I have a question... Why does my model admin show heaps of new lines when i click it but when I refresh it loads correctly....
995: [23:08:49] <DanaeNZ> novaweb: you missed the early bird special
996: [23:08:57] <novaweb> buggar
997: [23:08:58] <t8> \n\n\t \n\t\t \n\t\t\t \n\t\t\t\t\n\t<\/span>\n\n\n\t\t\t\t\n\t\t\t\t\tSliders\n\t\t\t\t\n\t\t\t<\/h2>\n\t\t<\/div>\n\n\t\t \n\t\t\t \n\t\t\t\n\t\t\t\t \n\t\t\t\t\tSlider<\/a>\n\t\t\t\t<\/li>\n\t\t\t\n\t\t\t<\/ul>\n\t\t<\/div>\n\t<\/div>\n\n\t \n\t\t \n\t \n\t\t\n\t\t\t Filter<\/h3>\n\t\t\t\n \n\n\t\n\t <\/p>\n\t\n\t\n\t \n\t\t \n\t\t\n\t\t\t \n\tTitle<\/label>\n\t \n\t\t\n\t<\/div>\n\t\n\t\n\t\n<\/div>\n\n\t\t\n\t\t <\/div>\n\t<\
998: [23:09:01] <t8> wtf is this
999: [23:09:11] <novaweb> I can't justify it atm :/ in between "paydays"
1000: [23:09:17] <novaweb> Nektime.
1001: [23:09:28] <DanaeNZ> novaweb: could you ask your company? or are you freelancing?
1002: [23:09:40] <novaweb> I'm a contrawanktor
1003: [23:09:48] <DanaeNZ> gotcha
1004: [23:10:03] <novaweb> So i'd also lose a couply days work [sigh]
1005: [23:10:41] <Stomach> novaweb - should have bought it when it was early bird
1006: [23:10:44] <Stomach> $495
1007: [23:10:45] <Stomach> :\
1008: [23:10:49] <novaweb> Ha
1009: [23:10:58] <novaweb> Only heard about it at meetup last night
1010: [23:11:25] <DanaeNZ> aw noes
1011: [23:11:26] * wmk has joined #silverstripe
1012: [23:12:08] <DanaeNZ> dammit, accidentally said "n" to delete existing vcs
1013: [23:12:09] <antmas> mm I wanted to go
1014: [23:12:20] <antmas> but won tickets to something else, so nopes
1015: [23:14:50] * Hailwood has joined #silverstripe
1016: [23:17:01] * hombero_ has joined #silverstripe
1017: [23:19:43] * hombero quit (Ping timeout: 260 seconds)
1018: [23:20:09] * wmk quit (Ping timeout: 265 seconds)
1019: [23:24:14] * cloph quit (Ping timeout: 244 seconds)
1020: [23:24:25] * ^pH quit (Read error: Connection reset by peer)
1021: [23:25:04] * ^pH has joined #silverstripe
1022: [23:25:08] * cloph_away has joined #silverstripe
1023: [23:25:29] <RyanPotter> Stomach: you bug fixing twbs?
1024: [23:25:34] <Stomach> nah
1025: [23:25:43] <RyanPotter> just forking for the sak of forking?
1026: [23:26:53] <DanaeNZ> http://i.imgur.com/DKMwTOb.gifv
1027: [23:27:17] <DanaeNZ> Stomach doesn't give a fork
1028: [23:28:02] <Stomach> :D
1029: [23:28:31] * krimcg has joined #silverstripe
1030: [23:31:07] <Hailwood> Hey Folks, Does anyone know of a package (or quick guide) for doing a donation form in SS using DPS?
1031: [23:31:46] <antmas> does anyone have or know of some ajax examples for ss?
1032: [23:32:10] <antmas> I can't find anything that demos how to edit a db field on load
1033: [23:32:45] * krimcg quit (Ping timeout: 246 seconds)
1034: [23:32:53] <chocolatemoose> you could look at the source for SiteTreeURLSegmentField
1035: [23:33:21] <RyanPotter> antmas: I can give a you a paste
1036: [23:33:43] <antmas> RyanPotter: ooooh please :P
1037: [23:34:14] * UncleCheese has joined #silverstripe
1038: [23:35:36] <RyanPotter> antmas: http://kopy.io/PAx7M
1039: [23:35:39] <eolant> I updated SS from 2.4 to 3.1 and now all draft pages are visible in menus and on site in general even though they marked as draft in admin panel. Does anyone knows how to fix that?
1040: [23:36:48] <eolant> oh, nvm :) it's displayed only when i'm logged in
1041: [23:37:08] <RyanPotter> eolant: Is there a getMenu() method in your Page.php that’s looping through all pages regardless of state?
1042: [23:37:30] <antmas> RyanPotter: hmmm is this to manipulate classes on load in the cms?
1043: [23:37:37] <RyanPotter> antmas: ye
1044: [23:37:48] <RyanPotter> well,. and save dataobjects
1045: [23:38:02] <RyanPotter> you just set the url to your method
1046: [23:38:06] <RyanPotter> action**
1047: [23:38:40] <antmas> RyanPotter: ah, I need to update a field when a user views the page on the front end, not so much the cms
1048: [23:38:49] <RyanPotter> same shit
1049: [23:38:58] <RyanPotter> just don’t use entwine
1050: [23:41:25] * wmk has joined #silverstripe
1051: [23:42:47] * spronk quit (Quit: I may need a longer sleep timer...)
1052: [23:43:27] * spronk has joined #silverstripe
1053: [23:43:44] * zippy has joined #silverstripe
1054: [23:46:50] * Stomach quit (Ping timeout: 260 seconds)
1055: [23:47:30] * Stomach has joined #silverstripe
1056: [23:48:46] * Motoservo quit (Read error: Connection reset by peer)
1057: [23:50:36] * wmk quit (Ping timeout: 265 seconds)
1058: [23:51:48] * Motoservo has joined #silverstripe
1059: [23:51:56] * zlinux quit (Ping timeout: 250 seconds)
1060: [23:53:03] * t8 quit (Ping timeout: 246 seconds)
1061: [23:53:54] * ss-helper quit (Remote host closed the connection)
1062: [23:54:10] * ss-helper has joined #silverstripe
1063: [23:56:55] * Stomach quit (Quit: zzz)
1064: [23:57:57] * Stomach has joined #silverstripe

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