#silverstripe IRC Log

IRC log for 15 February 2016

All timestamps are in UTC.

1: [00:04:38] * nontgor has joined #silverstripe
2: [00:18:56] * Azure has joined #silverstripe
3: [00:21:29] <helenclarko> zippy: Is the pain over yet
4: [00:26:47] * zippy quit (Quit: Textual IRC Client: www.textualapp.com)
5: [00:37:58] * Stomach has joined #silverstripe
6: [00:48:36] * zippy has joined #silverstripe
7: [00:48:52] <spronk> lol southee almost on 50
8: [00:48:58] <zippy> :)
9: [00:49:09] <spronk> lol 6 again
10: [00:49:14] <zippy> he's having fun.... god.. just keep going
11: [00:49:15] <helenclarko> Oh Southee
12: [00:49:22] <zippy> fuck
13: [00:49:23] <helenclarko> goodbye tim
14: [00:49:27] <spronk> looool
15: [00:49:37] <zippy> before those past two shots, he was playing not tooo bad..
16: [00:50:17] <zippy> fuck me, I had a glimmer that we could get even closer to even
17: [00:50:50] <spronk> time for a boulty 50
18: [00:51:02] <spronk> throw in a few more runs from craig and we'll make australia bat!
19: [00:52:34] <zippy> he's due for one
20: [00:53:49] <zippy> he's just getting his eye in
21: [00:54:19] <zippy> stretching the arms
22: [00:56:22] * DanaeNZ quit (Remote host closed the connection)
23: [00:56:56] * DanaeNZ has joined #silverstripe
24: [00:57:48] * r_hector has joined #silverstripe
25: [00:58:35] <spronk> yeaaah bouilty
26: [01:00:39] <zippy> 70 to go
27: [01:00:53] <helenclarko> zippy: not gonna happen
28: [01:01:02] <zippy> helenclarko: because of your negativity
29: [01:01:18] <helenclarko> nope, because of their stats.
30: [01:01:33] <Hailwood> Hey folks, if I have a class that extends LeftAndMain and I basically want it to render out like when you are adding a page (so tabs, form fields, actions at bottom of page). can anyone give me some tips as to what I need to render with from my method on the extended class?
31: [01:01:34] <spronk> if they both high score
32: [01:01:36] <spronk> they could do it
33: [01:01:37] <spronk> :p
34: [01:01:47] <zippy> everyone starts cricket with a high score of 0
35: [01:01:50] * DanaeNZ quit (Ping timeout: 272 seconds)
36: [01:03:04] <zippy> Need the pwn a few of those inclose fields men, even it up a bit
37: [01:03:15] <zippy> 65..
38: [01:03:26] <zippy> it feels like counting down to Taylors 300 last year..
39: [01:03:35] <spronk> lol
40: [01:03:37] <spronk> the sad thing is
41: [01:03:46] <spronk> this is just to make australia not win straight away.
42: [01:04:02] <zippy> it's a game in a game..
43: [01:04:25] <zippy> it's a statement. Yes! We can get more runs than you if we bat 2x to your 1
44: [01:04:28] <helenclarko> zippy: cant believe we have made it this far to be honest haha.
45: [01:04:47] <spronk> yeah
46: [01:04:49] <spronk> sigh
47: [01:04:54] <spronk> what an abysmal first innings
48: [01:04:57] <spronk> and not much better second.
49: [01:05:05] <spronk> WHERE WAS KANE
50: [01:05:33] <helenclarko> I want then to bat again. Just as a "Ha you have to bat now!"
51: [01:05:58] <zippy> get that one run!
52: [01:06:30] <zippy> save time Warner could just borrow Trents batt and he can have a bowl while he's out there
53: [01:07:05] <zippy> 56..
54: [01:07:28] * zippy has now lost the ability to work
55: [01:08:36] <zippy> 52..
56: [01:09:03] <helenclarko> oh no!
57: [01:09:11] <zippy> bugger.
58: [01:10:17] <zippy> that no-ball eh... ;-)
59: [01:10:41] <zippy> ah well, chch :D
60: [01:10:48] <zippy> spronk: btw, nice shake yesterday?
61: [01:14:22] <spronk> mm
62: [01:14:25] <spronk> good lol
63: [01:16:42] <Hailwood> I've almost got it - http://i.imgur.com/mHXpLtU.png by telling my form to render with CMSMain_EditForm - but I think I need to override a parent template so it's not wrapped or something? which is causing those spacing issues
64: [01:17:01] <helenclarko> zippy: Nice wee one to put ya in place.
65: [01:17:15] <helenclarko> Keeps you knowing where you live.
66: [01:17:51] <helenclarko> Like CHCH saying "You're my bitch."
67: [01:18:26] <zippy> :)
68: [01:20:06] * joelpittet quit ()
69: [01:25:31] * spronk quit (Quit: I may need a longer sleep timer...)
70: [01:27:07] * zippy quit (Quit: Textual IRC Client: www.textualapp.com)
71: [01:38:29] * spronk has joined #silverstripe
72: [01:39:33] * spronk quit (Max SendQ exceeded)
73: [01:43:00] * spronk has joined #silverstripe
74: [01:49:42] * DanaeNZ has joined #silverstripe
75: [01:56:55] * scott1702 quit (Quit: This computer has gone to sleep)
76: [01:59:21] * scott1702 has joined #silverstripe
77: [02:00:08] * micmania1 has joined #silverstripe
78: [02:00:10] * micmania1 quit (Client Quit)
79: [02:00:40] * wmk has joined #silverstripe
80: [02:11:48] * wmk quit (Ping timeout: 248 seconds)
81: [02:25:19] <spronk> hmm
82: [02:25:39] <spronk> silly black caps
83: [02:25:42] <spronk> they could have at least given me some afternoon entertainment :(
84: [02:26:34] <DanaeNZ> nooo why did I have a big lunch
85: [02:26:38] <DanaeNZ> I am gonna coma out
86: [02:26:39] <DanaeNZ> RIP
87: [02:26:42] <spronk> because it looked super tasty
88: [02:26:45] <spronk> get a V
89: [02:30:21] <DanaeNZ> i got one
90: [02:30:30] <DanaeNZ> I went to the french patisserie
91: [02:30:41] <DanaeNZ> best long black i have ever consumed
92: [02:31:51] <spronk> ooo
93: [02:47:55] * r_hector quit (Remote host closed the connection)
94: [03:34:08] * helenclarko quit (Read error: Connection reset by peer)
95: [03:37:21] * spronk quit (Quit: I may need a longer sleep timer...)
96: [03:41:49] * Phlunk3 quit (Quit: Leaving)
97: [03:42:19] * jules0x quit (Quit: Leaving)
98: [03:56:02] <nontgor> I note there was a fire at the Hataitai Bakery today. Their chicken pies were a magic hangover cure pre cricket on a Saturday
99: [04:16:13] * Azure|dc has joined #silverstripe
100: [04:19:26] * Azure quit (Ping timeout: 272 seconds)
101: [04:33:18] <DanaeNZ> Woah, I think I had too much caffeine today
102: [04:33:30] <DanaeNZ> I don't feel like I did, but I had three coffees and two V bottles
103: [04:33:33] <DanaeNZ> That sounds like a lot
104: [05:03:16] <Hailwood> Hey guys, does anyone know of an example of having two model admins hooked into the same url segment?
105: [05:16:24] <DanaeNZ> Hailwood: I wouldn't think it's possible; the URL segment would always route to one model admin over the other
106: [05:30:11] <ss-helper> CsvBulkLoader for SiteTree objects - http://stackoverflow.com/questions/35402054/csvbulkloader-for-sitetree-objects
107: [05:31:19] * scott1702 quit (Quit: This computer has gone to sleep)
108: [05:32:35] * Stomach quit (Quit: zzz)
109: [05:33:58] * Stomach has joined #silverstripe
110: [05:52:22] * Tanger has joined #silverstripe
111: [05:52:34] * Stomach quit (Quit: zzz)
112: [06:05:02] * wmk has joined #silverstripe
113: [06:18:59] * wmk quit (Ping timeout: 276 seconds)
114: [06:20:50] * Hailwood quit (Remote host closed the connection)
115: [06:31:22] * DanaeNZ quit (Quit: TIME TO FEED)
116: [06:46:15] * mahfuz quit (Ping timeout: 252 seconds)
117: [06:58:57] * Shrike_Finland has joined #silverstripe
118: [07:03:44] * Kolin quit (*.net *.split)
119: [07:03:51] * Kolin has joined #silverstripe
120: [07:24:31] * wmk has joined #silverstripe
121: [08:14:07] * Shrike_Finland quit (Quit: Leaving.)
122: [08:20:51] * SH__ has joined #silverstripe
123: [08:31:56] * r_hector has joined #silverstripe
124: [08:33:49] * Shrike_Finland has joined #silverstripe
125: [08:47:17] <SH__> Does anyone know why my Silverstripe 3.2 site creates all tables as innoDB? This causes the site to crash when enabling FullTextSearch
126: [08:49:11] * DimiStripe_alt has joined #silverstripe
127: [08:50:12] * DimiStripe_alt quit (Client Quit)
128: [08:52:46] * wmk quit (Ping timeout: 250 seconds)
129: [08:56:21] * Shrike_Finland quit (Quit: Leaving.)
130: [09:12:42] * kinglozzer has joined #silverstripe
131: [09:13:05] * Tanger quit (Quit: Tanger)
132: [09:17:02] * SH__ quit (Changing host)
133: [09:17:02] * SH__ has joined #silverstripe
134: [09:21:02] * wmk has joined #silverstripe
135: [09:28:54] * Zauberfisch quit (Ping timeout: 260 seconds)
136: [09:30:39] * Zauberfisch has joined #silverstripe
137: [09:45:15] <ss-helper> Creating a symlinked asset folder in SilverStripe - http://stackoverflow.com/questions/35405768/creating-a-symlinked-asset-folder-in-silverstripe
138: [10:19:59] * arnhoe has joined #silverstripe
139: [10:38:55] <SH__> wmk , did you ever work this out? https://github.com/Little-Giant/silverstripe-catalogmanager/issues/29
140: [10:40:19] <wmk> SH__, yes
141: [10:44:56] <SH__> What did you do? The furthest i get is for the button to give me a 404 error
142: [10:45:26] <SH__> wmk , If its not too much trouble to give me a hint to the solution :)
143: [11:09:25] <wmk> well, configure it ;)
144: [11:09:57] <wmk> did you read the manual? what did you try? anything relevant in the error log?
145: [11:11:20] <SH__> I added "TranslatableCatalogExtension" to ProductsAdmin which is a ModelAdmin class. This is where I manage my Pages with the Translatable extension.
146: [11:12:03] <SH__> I also noticed that the JS used foro translatable on pages, was not included when viewing them through modeladmin. So I tried adding that JS to LeftAndMain
147: [11:12:52] <SH__> I then saw that some HTML classes were missing, which were used in Translatable's JS. I've tried adding them, but nothing besides a simple 404 error seems to happen
148: [11:13:39] <wmk> aah, didn't get the issue...
149: [11:13:54] <wmk> sorry, didn't work it out somehow
150: [11:14:33] <wmk> just saw the module
151: [11:14:58] <SH__> Damn, its quite annoying because I really want to manage these pages via ModelAdmin
152: [11:15:10] <wmk> yup.
153: [11:15:15] <wmk> fluent is no alternative?
154: [11:15:58] <SH__> Unfortunately not in this case
155: [11:16:15] <SH__> I'll give it another shot
156: [11:16:42] <wmk> you know, in the english part of the world they don't care so much about translatable
157: [11:16:50] <wmk> lucky guys
158: [11:18:14] <SH__> Yeah I noticed that with quite a bunch of modules, many strings are often not translated hehe
159: [11:41:29] * wmk sings "pull, as you are"
160: [12:07:42] <SH__> lol did you just make a Nirvana reference?
161: [12:10:51] <wmk> you got it!
162: [12:12:14] <SH__> haha
163: [12:28:13] <SH__> By the way wmk I found a way to create translations of pages in modeladmin ( https://github.com/silverstripe/silverstripe-translatable/issues/55#issuecomment-66888090 ), however now im just having trouble with versioning
164: [12:30:54] * Azure|dc quit (Quit: My Mac has gone to sleep. ZZZzzz…)
165: [12:48:12] * r_hector quit (Remote host closed the connection)
166: [12:59:07] * Shrike_Finland has joined #silverstripe
167: [13:04:15] * Shrike_Finland1 has joined #silverstripe
168: [13:04:16] * Shrike_Finland quit (Read error: Connection reset by peer)
169: [13:31:57] * Shrike_Finland1 quit (Quit: Leaving.)
170: [13:38:15] * TRB143 quit (Ping timeout: 240 seconds)
171: [13:41:19] <shellbackpacific> exit
172: [13:41:30] * shellbackpacific quit (Quit: leaving)
173: [13:42:27] * Shrike_Finland has joined #silverstripe
174: [13:53:03] * TRB143 has joined #silverstripe
175: [14:03:33] * muskie9 has joined #silverstripe
176: [14:26:40] * Shrike_Finland quit (Quit: Leaving.)
177: [14:29:21] * SH__ quit (Ping timeout: 252 seconds)
178: [15:03:22] * wmk quit (Quit: nice to meet you ;))
179: [15:16:23] * SH__ has joined #silverstripe
180: [15:16:57] <SH__> Does anyone know how I could go about copying the values of fields to other pages of the same pagetype, after I save a page?
181: [15:26:16] * Shrike_Finland has joined #silverstripe
182: [15:28:26] * cloph quit (Remote host closed the connection)
183: [15:28:40] * cloph_away has joined #silverstripe
184: [15:52:24] * SH__ quit (Ping timeout: 252 seconds)
185: [15:57:34] * Shrike_Finland quit (Quit: Leaving.)
186: [16:03:59] * Azure has joined #silverstripe
187: [16:27:36] * arnhoe quit ()
188: [16:28:53] <kinglozzer> Anyone using subsites? Think I might have a client that needs to use it, but last time I asked I was told to avoid using it at all costs :D
189: [16:38:30] <kinglozzer> My main concern with it would be separation of assets. Can users of one subsite view/edit assets from another?
190: [16:39:39] <nontgor> kinglozzer: Before I was cat hassled I just tried running the test suite against multiple versions, several failed... though I have not tried the module in practice
191: [16:40:23] <kinglozzer> nontgor: Yeah it looks like one of the more neglected modules :(
192: [16:40:31] <kinglozzer> Guess I'll just have to stop being lazy and test it myself :D
193: [16:42:47] <nontgor> the default branch looks incorrect as well, 3, and not 3.2 related
194: [16:43:14] <nontgor> 3 has no travis for a start :)
195: [16:44:00] * Shrike_Finland has joined #silverstripe
196: [17:11:44] * Shrike_Finland quit (Quit: Leaving.)
197: [17:29:25] * kinglozzer quit ()
198: [17:31:00] * GioVdK has joined #silverstripe
199: [17:35:45] * GioVdK quit (Read error: Connection reset by peer)
200: [17:35:56] * GioVdK has joined #silverstripe
201: [17:37:09] * GioVdK quit (Remote host closed the connection)
202: [17:45:24] <nontgor> kinglozzer: Or write some tests
203: [17:56:24] * joelpittet has joined #silverstripe
204: [18:02:55] <nontgor> kinglozzer: From the README... .."All separation of content achieved with this module should be viewed as cosmetic and not appropriate for security-critical applications." < question answered.
205: [18:03:08] <nontgor> a cat is now sitting on my mouse pad
206: [18:06:43] <nontgor> kinglozzer: Module needs the love "Each subsite appears as a standalone website from a users *prospective*"
207: [18:07:57] <nontgor> kinglozzer: "It is not currently possible to backup or restore the data from a single subsite."
208: [18:09:35] <nontgor> kinglozzer: That's the default README..., though as I said before I think the default branch needs a kick
209: [18:09:38] * gelignite has joined #silverstripe
210: [18:10:49] <nontgor> kinglozzer: Oh I was browsing my fork of master... text matches https://github.com/silverstripe/silverstripe-subsites/tree/master
211: [18:18:34] * muskie9 quit (Quit: My Mac has gone to sleep. ZZZzzz…)
212: [18:21:55] * muskie9 has joined #silverstripe
213: [18:24:35] * muskie9 quit (Client Quit)
214: [18:33:28] * Stomach has joined #silverstripe
215: [18:35:47] * Stomach quit (Client Quit)
216: [18:45:25] <ss-helper> Overload dashboard template not working - SilverStripe 3.3 - http://stackoverflow.com/questions/35416656/overload-dashboard-template-not-working-silverstripe-3-3
217: [18:45:31] * Stomach has joined #silverstripe
218: [19:15:26] <ss-helper> Modify GridFieldFilterHeader to work with custom summary fields - http://stackoverflow.com/questions/35417099/modify-gridfieldfilterheader-to-work-with-custom-summary-fields
219: [19:27:16] * helenclarko has joined #silverstripe
220: [19:35:42] * TheVoid_ is now known as TheVoid
221: [19:37:21] * Phlunk3 has joined #silverstripe
222: [19:50:16] * DanaeNZ has joined #silverstripe
223: [19:50:36] <DanaeNZ> this sort of ungodly hour requires a coffee
224: [19:54:43] <helenclarko> DanaeNZ: Just got mine!
225: [20:01:18] * Stomach quit (Quit: zzz)
226: [20:03:52] * Stomach has joined #silverstripe
227: [20:05:45] * DanaeNZ quit (Remote host closed the connection)
228: [20:09:22] * camfindlay has joined #silverstripe
229: [20:12:21] * nzphoenix has joined #silverstripe
230: [20:12:22] <ss-helper> nzphoenix: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
231: [20:14:16] * DanaeNZ has joined #silverstripe
232: [20:14:46] <nzphoenix> Quick q - trying to manage pages via ModelAdmin (think news section) while keeping versioned History tab, preview mode. Anybody had luck with this?
233: [20:15:46] * DanaeNZ sips coffee
234: [20:17:52] <camfindlay> nzphoenix: I have seen a few modules around that attempt this but nothing really completely replaces it that I’ve seen as all that functionalty is closely ties to the SiteTree class
235: [20:18:31] <nzphoenix> seems to be what I've found too. A few modules that get partially there but nothing that can replicate the page edit interface
236: [20:21:55] <nzphoenix> looking at it a different way would be to convert the pagetype to dataobjects and then manage via modeladmin, but that still wont give a versioned history tab or preview mode unfortunately :(
237: [20:42:38] * scott1702 has joined #silverstripe
238: [20:49:34] * joelpittet quit (Remote host closed the connection)
239: [21:09:26] <MichalKleiner> nzphoenix: just an idea - turn whatever makes SiteTree class does what you need into an extension and apply it to you page type.. will be a code duplication for now until all this is resolved in the core and turned into extensions or traits
240: [21:09:53] <MichalKleiner> might be a module as well, not a core thing
241: [21:09:59] <MichalKleiner> that was just an example
242: [21:14:30] <nzphoenix> I've extended CMSMain and can get most of the way there... might end up just reverting back to telling users to go to the Pages tab and manage through there still
243: [21:21:41] * lerni_ has joined #silverstripe
244: [21:24:48] * joelpittet has joined #silverstripe
245: [21:26:13] <MichalKleiner> or you can create LiteralField with a link to the page edit from your model admin
246: [21:29:40] <camfindlay> nzphoenix: begs the question… why are you doing this? Could value of what you’re doing be achieved in another way?
247: [21:32:41] <nzphoenix> started off as trying to have modeladmin manage pages with the same functionality.. Ideally want users to manage pages via filterable/sortable gridfield rather than sitetree.. might look at lumberjack module and that might have to be 'good enough'
248: [21:33:35] <nzphoenix> I would convert the pagetype to dataobjects as they would be suitable, but it would lose the preview and history tabs which the client utilizes a lot
249: [21:36:58] * spronk has joined #silverstripe
250: [21:42:38] <MichalKleiner> lumberjack is good.. also you can create modeladmin with holder dataobjects where DO will has_one Page
251: [21:45:48] <ss-helper> Re: [silverstripe-dev] Re: Mark as spam button for Forum - https://groups.google.com/d/msg/silverstripe-dev/rUb_0ycZFaM/oeaOxVGJAAAJ
252: [21:46:54] * gelignite quit (Ping timeout: 252 seconds)
253: [21:48:52] * matt-in-a-hat has joined #silverstripe
254: [21:49:26] <matt-in-a-hat> Can anyone tell me how I could disable page versioning for 1 page type?
255: [21:56:30] <matt-in-a-hat> Is it possible?
256: [21:58:50] <spronk> hm
257: [21:58:53] <spronk> probably not easily
258: [22:05:24] <spronk> aw
259: [22:05:27] <spronk> forgot my water bottle :(
260: [22:05:38] * Stomach quit (Ping timeout: 250 seconds)
261: [22:07:24] <matt-in-a-hat> Hmm, failing that, is there an easy way of removing all versions except the latest published versions of a page type?
262: [22:08:17] <spronk> delete from the db? not sure whether that has any collateral damage though
263: [22:11:20] <matt-in-a-hat> Naw, will need to be on a cron and on CWP
264: [22:13:44] <matt-in-a-hat> Alternatively, is there a way of updating a published page via code without creating a new version?
265: [22:15:57] <spronk> ah right
266: [22:17:17] <spronk> it's kinda complex
267: [22:17:17] <spronk> https://docs.silverstripe.org/en/3.2/developer_guides/model/versioning/
268: [22:17:19] <spronk> check these docs out
269: [22:25:35] * Guest20919 quit (Ping timeout: 240 seconds)
270: [22:32:55] * madmatt has joined #silverstripe
271: [22:33:19] * madmatt is now known as Guest24655
272: [22:46:17] <MichalKleiner> is someone responsible for the CWP recipes here?
273: [22:46:54] <camfindlay> MichalKleiner: I can take feedback if you like PM me.
274: [22:47:27] <camfindlay> can also open issues on the cwp modules in GitLab if you have CWP account on there?
275: [22:47:36] <MichalKleiner> true
276: [22:47:39] <MichalKleiner> thanks
277: [22:55:40] * Stomach has joined #silverstripe
278: [22:56:02] <MichalKleiner> https://gitlab.cwp.govt.nz/cwp/cwp/issues/8
279: [23:00:02] * ss-helper quit (Remote host closed the connection)
280: [23:00:18] * ss-helper has joined #silverstripe
281: [23:11:03] <camfindlay> thanks MichalKleiner
282: [23:12:35] <MichalKleiner> No worries. Sorry I don't really have time to create a pull request, we already spent too much time convincing cwp helpdesk it's an actual bug
283: [23:19:47] * DanaeNZ ......sips coffee
284: [23:20:55] <MichalKleiner> how many coffees a day do you sip on DanaeNZ? :-D
285: [23:21:24] <DanaeNZ> MichalKleiner: just one, I sip it throughout the whole day
286: [23:21:29] <DanaeNZ> ;D
287: [23:21:35] <MichalKleiner> must be a huge mug
288: [23:21:53] <MichalKleiner> or the USB one constantly heating the coffee up
289: [23:23:30] <DanaeNZ> yum yum yum
290: [23:24:56] <spronk> hmm
291: [23:24:57] <spronk> coffeee
292: [23:25:06] <spronk> i wonder if i should go down the road and try the place that's closest to work...
293: [23:35:43] * lerni_ quit (Remote host closed the connection)
294: [23:58:13] * Hailwood has joined #silverstripe
295: [23:59:10] <DanaeNZ> i just have instant bleugh

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