#silverstripe IRC Log

IRC log for 6 June 2013

All timestamps are in UTC.

1: [00:02:57] * DesignerX has joined #silverstripe
2: [00:03:50] <Colin[pi]> wow the modeladmin docs are so woefully inadequate D:
3: [00:04:33] * Hippiee has joined #silverstripe
4: [00:04:58] * MichaelDesignerX quit (Ping timeout: 246 seconds)
5: [00:15:02] * AlphaCactus seconds that
6: [00:18:37] <Colin[pi]> very very powerful part of SS, you can do a ton with... but not much docs :(
7: [00:18:47] <Colin[pi]> always need to dive into the source code
8: [00:22:00] * spronk has joined #silverstripe
9: [00:28:11] <AlphaCactus> hum, does the GridFIeld filter that appears at the top of grids in ModelAdmin not work for Enums cause it seems to do nothing
10: [00:29:45] * chillu quit (Quit: chillu)
11: [00:33:15] * Hippiee quit (Read error: Connection reset by peer)
12: [00:34:46] * MrJeremy has joined #silverstripe
13: [00:34:48] <AlphaCactus> ah, don't use "Status" as a field name if you want to search on it in GridField
14: [00:38:00] * Stomach quit (Quit: Leaving.)
15: [00:51:15] * DigNZ quit (Ping timeout: 256 seconds)
16: [00:51:56] * DigNZ has joined #silverstripe
17: [00:59:01] * DigNZ quit (Quit: DigNZ)
18: [01:02:11] * DigNZ has joined #silverstripe
19: [01:03:16] * DigNZ quit (Client Quit)
20: [01:05:14] * Stomach has joined #silverstripe
21: [01:07:28] <spronk> hmm
22: [01:07:33] <spronk> multidimensional arrays in template output
23: [01:08:32] <willr_> spronk nested ArrayDatas
24: [01:08:46] <willr_> Well array lists of arraydatas
25: [01:09:30] <spronk> mm
26: [01:15:25] <Pyromanik> halp halp what do
27: [01:15:28] <Pyromanik> PHP Fatal error: Object::add_extension() - Can't find extension class for "Gallery"
28: [01:15:45] <Colin[pi]> flush=all?
29: [01:15:47] <Pyromanik> mysite/config.php - Object::add_extension('Page', 'Gallery');
30: [01:16:09] * aragonne quit (Quit: aragonne)
31: [01:16:11] <Pyromanik> Gallery exists and is an extension... and worst of all, works fine on my dev machine.
32: [01:16:21] <Colin[pi]> ...
33: [01:16:37] <Colin[pi]> flush=all or /dev/build right?
34: [01:16:40] <Colin[pi]> didn't work?
35: [01:16:46] <Pyromanik> Colin[pi]: this is during a dev/build
36: [01:16:50] <Colin[pi]> ah
37: [01:16:52] <Colin[pi]> hmm
38: [01:16:55] <Pyromanik> just deployed to live
39: [01:17:03] <Pyromanik> (well, demo, not yet proper live)
40: [01:17:13] <Colin[pi]> class is definitely there?
41: [01:17:18] <Colin[pi]> not missing a _config.php ?
42: [01:17:38] <Pyromanik> nup
43: [01:18:01] <Pyromanik> $ cat gallery/_config.php
44: [01:18:02] <Pyromanik> <?php
45: [01:18:05] <Pyromanik>
46: [01:19:08] <spronk> permissions?
47: [01:19:12] <Colin[pi]> well for some reason it's just not finding that class
48: [01:19:28] <Pyromanik> FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU
49: [01:19:31] <Pyromanik> /div/build
50: [01:19:39] <Colin[pi]> works npw?
51: [01:19:42] <Colin[pi]> *now
52: [01:19:45] <Pyromanik> Colin[pi]: no, look closer.
53: [01:19:50] <Colin[pi]> oh
54: [01:19:51] <Colin[pi]> LOL
55: [01:19:55] <Pyromanik> yeh :<
56: [01:20:22] <spronk> lulzor
57: [01:20:23] <spronk> derp
58: [01:20:26] <Pyromanik> quite :/
59: [01:20:27] <Colin[pi]> like the other day I triggered an error by defining a public static as "pubic static" :C
60: [01:20:32] <Pyromanik> haha
61: [01:20:42] <Pyromanik> should hope the pubics aren't static.
62: [01:20:49] <Colin[pi]> hehe
63: [01:21:21] <spronk> RHAHHRHHHGHGHGH
64: [01:21:29] <spronk> Y U NO RENDER MY TEMPLATE
65: [01:21:45] <Pyromanik> because u no load controller
66: [01:21:52] <spronk> return $this->customise(array('ComparisonMatrix' => $matrix))->renderWith(array('ComparisonPage', 'Page'));
67: [01:22:51] <spronk> showtemplate=1 no longer do stuff?
68: [01:23:06] <Pyromanik> what does an EPP code normally look like?
69: [01:23:22] <Pyromanik> fucking dicks at net24 keep sending me something that looks entirely wrong.
70: [01:23:29] <spronk> like
71: [01:23:31] <spronk> for transfers?
72: [01:23:33] <Pyromanik> yeh
73: [01:23:38] <spronk> hmm
74: [01:23:40] <Pyromanik> how many digiwidgits?
75: [01:23:41] <spronk> i had one of these a while ago
76: [01:23:47] <Pyromanik> I have 19
77: [01:23:58] <Pyromanik> and transfer system says "not a valid code"
78: [01:24:11] <Pyromanik> and helpdesk chap tries to tell me it's because the code is the wrong one for the domain
79: [01:24:22] <Pyromanik> BUT HOW DOES IT KNOW IF IT DIDN'T EVEN TRY TO TRANSFER YET?
80: [01:24:32] <Pyromanik> gawd, get better errors
81: [01:24:33] * joelpittet quit (Remote host closed the connection)
82: [01:24:47] <spronk> yeah
83: [01:24:50] <spronk> 19 seems not right
84: [01:25:01] <Pyromanik> it sarts out like
85: [01:25:03] <spronk> wait
86: [01:25:04] <spronk> 19 digits
87: [01:25:05] <spronk> hmm
88: [01:25:06] <Pyromanik> k`<
89: [01:25:07] <spronk> maybe that is right
90: [01:25:08] <Pyromanik> and ends with >
91: [01:25:11] <Pyromanik> and I'm all
92: [01:25:14] <Pyromanik> so what?
93: [01:25:18] <Pyromanik> is it just the shit in the middle?
94: [01:25:21] <spronk> try without the <>s
95: [01:25:26] <Pyromanik> or is it the whole thing
96: [01:25:37] <Pyromanik> or goddamn you net24
97: [01:25:40] <Pyromanik> wtf
98: [01:25:48] * priithansen quit (Quit: priithansen)
99: [01:25:57] <spronk> srs
100: [01:25:58] <spronk> y u no work
101: [01:26:01] <Pyromanik> who formats an email like "The EPP code for your domain is : k`<blahblah>
102: [01:26:03] <spronk> ^^ that looks fine, yeah?
103: [01:26:09] <Pyromanik> when half that shit is irrlevant
104: [01:26:37] <spronk> i can't remember wtf my epp codes looked like
105: [01:26:44] <spronk> so i may be telling you LIES
106: [01:26:49] <Pyromanik> this is also exactly the same code I tried to use before and it got denied
107: [01:26:52] <Pyromanik> SO MAN
108: [01:26:53] <Pyromanik> MAD
109: [01:27:09] <unsignedint> has anyone encountered this weird scoping issue in the silverstripe template engine? http://pastebin.com/CcMREhnn
110: [01:27:21] <unsignedint> basically im trying to use $Up and its not working
111: [01:27:36] <Pyromanik> unsignedint: yes
112: [01:27:39] <Pyromanik> well
113: [01:27:39] <Pyromanik> no
114: [01:27:40] <spronk> err
115: [01:27:42] <spronk> Top.Images
116: [01:27:43] <spronk> then Up
117: [01:27:45] <spronk> you can't go up from top!
118: [01:28:04] <Pyromanik> yeh, good spotting spronk
119: [01:28:09] <spronk> either way
120: [01:28:11] <spronk> just use Top.ID
121: [01:28:21] <unsignedint> well I want to loop over the same collection again
122: [01:28:31] <unsignedint> and each Image in Images doesnt have another Images attribute
123: [01:28:39] <Pyromanik> I don't even what you just say
124: [01:28:50] <spronk> dude
125: [01:28:55] <spronk> you're performing xzibit inception here
126: [01:29:35] <unsignedint> haha I know
127: [01:29:40] <Pyromanik> wholey hell that has to be the most convoluted slider I've ever seen
128: [01:30:01] <spronk> what are you actually trying to do?
129: [01:30:19] <spronk> 'cause it seems like you don't need the inner loop
130: [01:30:37] <Pyromanik> the inner loop is a really bad counting system?
131: [01:30:44] <spronk> mm
132: [01:31:10] <spronk> i'd take the inner loop out of all that
133: [01:31:16] <unsignedint> im using the size of the images list to print out "dots" at the bottom, and one of the dots needs to be blue for the current slide but the rest need to be black. I made the dots part of the slide (and repeat them for every slide, switching the blue one) so I dont have to write javascript to update them
134: [01:31:36] <spronk> dodgy as bro
135: [01:31:36] <spronk> :p
136: [01:31:43] <unsignedint> so instead of having 1 set of dots, every slide has the full set with one already set to blue
137: [01:32:07] <spronk> are you using js at all for the slider?
138: [01:32:17] <unsignedint> if I could assign variables within a silverstripe template I wouldnt have to go to all this trouble
139: [01:32:25] <unsignedint> I havnt written it yet, but yes
140: [01:32:37] <spronk> just use js then
141: [01:32:42] <Pyromanik> unsignedint: assigning variables is the worst thing ever.
142: [01:32:43] <unsignedint> just simple timer to slideLeft() between the slides
143: [01:32:53] <unsignedint> Pyromanik: its fundamental to programming :P
144: [01:33:12] <Pyromanik> if I could just make a method in the templates then I wouldn't haev to go to all the trouble with the framework.
145: [01:33:18] <unsignedint> I know right!
146: [01:33:21] <Pyromanik> unsignedint: it's not programming
147: [01:33:26] <Pyromanik> template is view layer
148: [01:33:33] <Pyromanik> should be near bereft of logic.
149: [01:33:43] <unsignedint> even if the logic will only ever apply to that view
150: [01:34:13] <unsignedint> so having it in the controller is unnecessary. but yeah we could debate programming practices all day
151: [01:35:03] <spronk> argh
152: [01:35:05] <spronk> seriously
153: [01:35:08] <spronk> why is my template not rendering
154: [01:35:08] <spronk> and
155: [01:35:12] <spronk> why is showtemplates=1 not showing anything
156: [01:35:13] <unsignedint> youd hate some of the things I do, like include most CSS in the view inside <style> tags instead of using separate CSS files, so the CSS is right next to the HTML it affects
157: [01:35:25] <spronk> showtemplate=1*
158: [01:35:36] <Pyromanik> spronk: because... dunno.l
159: [01:35:50] <Pyromanik> unsignedint: umm
160: [01:35:52] <unsignedint> spronk: the midgets inside your computer went on strike
161: [01:35:55] <spronk> return $this->customise(array('ComparisonMatrix' => $matrix))->renderWith(array('ComparisonPage', 'Page'));
162: [01:35:57] <Pyromanik> <style> is not valid inside the <body>
163: [01:36:00] <spronk> AH
164: [01:36:02] <spronk> FUCK YOU
165: [01:36:06] <spronk> jesus christ
166: [01:36:08] <Pyromanik> ?
167: [01:36:12] <spronk> typo
168: [01:36:24] <Pyromanik> o
169: [01:36:28] <Pyromanik> so that makes 2 of us now
170: [01:36:49] <spronk> Maximum function nesting level of '200' reached,
171: [01:36:50] <spronk> NOOOO
172: [01:37:18] <Colin[pi]> :C
173: [01:38:34] * SamMargalit has joined #silverstripe
174: [01:38:50] <unsignedint> Also, Pyromanik, HTML5 allows style inside body. http://stackoverflow.com/questions/1642212/whats-the-difference-if-i-put-css-file-inside-head-or-body
175: [01:39:05] * zippy__ has joined #silverstripe
176: [01:40:42] <Pyromanik> unsignedint: LIES
177: [01:40:45] <Pyromanik> LIEEEEEES
178: [01:43:01] * Pyromanik just gives EPP code to his registrar for them to figure out
179: [01:43:47] * Pyromanik now moves on to tidy up a site because some third party chob decided to inform the client that it's not w3c standards compliant.
180: [01:44:20] <spronk> :/
181: [01:44:25] <Pyromanik> oh lol
182: [01:44:27] <Pyromanik> 4.01 strict
183: [01:44:29] <spronk> argh
184: [01:44:37] <spronk> where fuck is my nested include
185: [01:44:56] <Pyromanik> errors because meta shouldn't have xhtml closes.
186: [01:45:01] <Pyromanik> WTF
187: [01:45:07] <Pyromanik> WHO WOULD GET MAD ABOUT THAT
188: [01:45:33] <spronk> lol
189: [01:46:25] <spronk> FUCK YOU TYPO NAMING BULLSHIT
190: [01:47:02] <Pyromanik> oh my god
191: [01:47:06] * Pyromanik changes doctype
192: [01:47:18] <Pyromanik> now gets error that korean is deprecated.
193: [01:47:24] <Pyromanik> KOREAN IS DEPRECATED
194: [01:47:41] <Pyromanik> and everything else is TinyMCE being a chob.
195: [01:47:56] <Pyromanik> "warning, don't use width attributes on your tables"
196: [01:47:59] <Pyromanik> FFFFFFFFFFFFFFFF
197: [01:48:29] <spronk> LOL
198: [01:49:18] <Pyromanik> and some jackass made it a requirement that right click be disabled so I can't inspect elements easily
199: [01:49:22] <Pyromanik> WHO DOES THAT
200: [01:49:30] <spronk> Missing argument 1 for ArrayData::getField()
201: [01:49:31] <spronk> wtf
202: [01:49:47] <spronk> lol disabling right click
203: [01:50:15] * joelpittet has joined #silverstripe
204: [01:52:16] <unsignedint> hahaha "Korean is deprecated". Is that north korean?
205: [01:55:19] <Pyromanik> unsignedint: nah, hreflang="zh-cmn"
206: [01:56:21] <Pyromanik> "Bad value zh-cmn for attribute hreflang on element link: The language tag zh-cmn is deprecated. Use cmn instead."
207: [01:58:04] <Pyromanik> gawd, it even has 'mares about spaces in hrefs
208: [01:58:34] <Pyromanik> I'm going to have to decorate stringfield with a urlescape aren't i?
209: [02:02:51] <Colin[pi]> you know it
210: [02:04:03] <Colin[pi]> can I disable the createform in modeladmin?
211: [02:04:19] <Colin[pi]> i.e. can't create a particular managed model, but can edit existing
212: [02:07:58] <zippy__> butā€¦ disabling right click will mean you can't view my source and steal all my code!!!
213: [02:08:18] <Colin[pi]> my usual reaction is "Oh you've disabled right click? How cute."
214: [02:09:12] <spronk> hmm
215: [02:09:18] <Colin[pi]> bit like when I did a clean install of Windows 8 the other day, from upgrade disc... after booting it said "can't activate because YOU ARE NOT ALLOWED TO CLEAN INSTALL THIS DISC SIR" - my response: "O RLY??"
216: [02:09:24] <Colin[pi]> fixed with regedit in 1 minute
217: [02:09:26] <spronk> i have a controller method CompareProducts defined on Page
218: [02:09:36] <spronk> why doesn't baseHref/CompareProducts work?
219: [02:09:43] <spronk> yet some/other/page/CompareProducts does?
220: [02:11:07] <zippy__> Windows 8 is balls. Or maybe it's just store brought PCs. Had a friend over to sort something out for them, and their laptop pops up - activate norton, do this, do that. 5 icons on the desktop for rubbish apps!
221: [02:11:18] <Colin[pi]> that'd be store bought sir
222: [02:11:19] <zippy__> what a crap user experience
223: [02:11:37] <Colin[pi]> first thing I do on any new windows laptop is format C:
224: [02:11:47] <Colin[pi]> they fill it with a TON of useless bloated shit
225: [02:11:53] <zippy__> and then have to hunt for the drivers
226: [02:12:06] <Colin[pi]> actually I had to only download one
227: [02:12:45] <zippy__> I can't tell people to get windows anymore, I can't tell them to format - and I surely won't do it for them
228: [02:12:54] <Colin[pi]> i don't actually mind Win8, I think it's misunderstood, but they have a lot of work to do to improve the Metro apps
229: [02:13:24] <Colin[pi]> for example, metro apps are useless at multitasking
230: [02:13:34] <Colin[pi]> let me open the PDF metro app on my right screen for example
231: [02:13:40] <Colin[pi]> and work on the left, right?
232: [02:13:45] <Colin[pi]> I click start again
233: [02:13:49] <Colin[pi]> OH NOES THE PDF DISAPPEARED
234: [02:13:52] <Colin[pi]> useless
235: [02:13:57] <Pyromanik> sminnee: can plz 301 www.doc.silverstripe.org to doc.silverstripe.org?
236: [02:14:02] <Pyromanik> cache seems to hate me :<
237: [02:16:33] <Pyromanik> omg, there's a Convert::raw2mailto()
238: [02:17:09] <Pyromanik> how to call from template? just .MAILTO?
239: [02:22:11] <Pyromanik> oh, those are on DBField
240: [02:22:18] <Pyromanik> zomg .RAWURLATT
241: [02:22:20] <Pyromanik> WINNING
242: [02:22:48] <Peavers> has anyone tried dbplumber on 3.1?
243: [02:23:16] <spronk> hmm
244: [02:23:19] <spronk> why would $TotalItems return 1
245: [02:24:15] <irogue> spronk: cos theres 1 item
246: [02:24:17] <irogue> ^_^
247: [02:24:39] <spronk> SHUSH
248: [02:25:19] <spronk> its a datalist
249: [02:25:22] <spronk> there are multiple items
250: [02:28:55] <spronk> ah
251: [02:28:56] <spronk> Counjt
252: [02:28:57] <spronk> COunt*
253: [02:29:06] <spronk> for a datalist
254: [02:29:07] <spronk> CONFUSING
255: [02:29:39] <Pyromanik> totalitems is a pagination thing I think
256: [02:30:59] <Pyromanik> gawd
257: [02:31:06] <Pyromanik> task "print stylesheet"
258: [02:31:17] <Pyromanik> great, that's heaps of helpful information
259: [02:31:31] * Pyromanik prints to pdf and doesn't think site looks that bad.
260: [02:31:33] <Pyromanik> great
261: [02:31:39] <Pyromanik> derp derp
262: [02:31:54] <Pyromanik> what do I even do?
263: [02:34:51] <spronk> why would session::set not update my session var over page reload?
264: [02:35:43] * nickmolhoek quit (Quit: nickmolhoek)
265: [02:35:48] <Colin[pi]> fffuuuuuu form scaffolder
266: [02:44:01] <Pyromanik> what should I do to test speed of site?
267: [02:44:02] <spronk> seriously
268: [02:44:03] <spronk> what the fuck
269: [02:44:04] <Pyromanik> spronk: ?
270: [02:44:11] <spronk> Pyromanik: abench?
271: [02:44:27] <Pyromanik> spronk: how about I just give you the URL and you tell me if it's slow?
272: [02:44:30] <spronk> lol
273: [02:44:32] <spronk> K
274: [02:44:43] <spronk> why would session::set() not seem to actually set the shit?
275: [02:44:50] <spronk> i keep getting an array back
276: [02:45:01] <Pyromanik> spronk: are yuou trying to set an array?
277: [02:45:09] <Pyromanik> Session::set('key', 'value')
278: [02:45:20] <spronk> i'm trtying to set 'ProductsToCompare' to an array
279: [02:45:25] <Pyromanik> yeah
280: [02:45:25] <spronk> and i'm changing that array
281: [02:45:29] <Pyromanik> it's th array I believe
282: [02:45:35] <spronk> GR
283: [02:45:38] <Pyromanik> I think there's another method for setting an array
284: [02:45:49] <Pyromanik> like Session::setArray()
285: [02:46:10] <Pyromanik> oh
286: [02:46:11] <Pyromanik> no
287: [02:46:14] <Pyromanik> apparently should work
288: [02:46:18] <Pyromanik> http://api.silverstripe.org/3.0/class-Session.html
289: [02:46:21] * nicolaas quit (Ping timeout: 248 seconds)
290: [02:47:00] <Colin[pi]> hey if I set canCreate() { return false; } - will this prevent new data objects being created/saved via the front-end, or just the CMS interface?
291: [02:49:17] <sminnee> Pyromanik: it's not a 301 but the URLs work at least.
292: [02:50:08] <Pyromanik> sminnee: cool :>
293: [02:50:20] <Pyromanik> sminnee:
294: [02:50:22] <Pyromanik> http://www.doc.silverstripe.org/
295: [02:50:27] <Pyromanik> Welcome to a SilverStripeā„¢ Webserver
296: [02:50:29] <Pyromanik> homer.silverstripe.com
297: [02:50:35] <spronk> sminnee: is there some sort of oddity with Session::set and arrays?
298: [03:00:18] <spronk> grr. what the hell. why is session not persisting
299: [03:01:57] <spronk> Session::set() on the first request seems to set, because session::get returns the updated array. Next request, session::get() returns the old value
300: [03:05:13] * cloph_away1 has joined #silverstripe
301: [03:05:33] * cloph_away quit (Ping timeout: 276 seconds)
302: [03:05:36] <spronk> OMFG
303: [03:06:13] <spronk> request 1: Session::set('ProductsToCompare', array()); before rest of code, page loads normally with 0 products. take that line out, no other fucking code runs, page loads old session var with 1 product
304: [03:08:26] <spronk> oomg
305: [03:08:30] <spronk> sessions are associated with controllers?
306: [03:08:32] <spronk> fucking hell
307: [03:10:51] <spronk> k, how to bypass controller-associated sessions?
308: [03:11:14] <Colin[pi]> mine isnt
309: [03:11:18] <Colin[pi]> at least not explicity?
310: [03:11:23] <Colin[pi]> *explicitly
311: [03:11:29] <spronk> http://api.silverstripe.org/master/source-class-Session.html#226-234
312: [03:11:49] <spronk> "In order to support things like testing, the session is associated with a particular Controller."
313: [03:12:02] <Colin[pi]> o rly
314: [03:12:05] <Colin[pi]> hmm
315: [03:12:19] <spronk> this seems braindead
316: [03:16:34] <spronk> hmm
317: [03:17:45] * spronk is tearing his hair out here
318: [03:19:44] * SticksM has joined #silverstripe
319: [03:24:50] * SamMargalit quit (Ping timeout: 250 seconds)
320: [03:29:04] <spronk> aha
321: [03:29:07] <spronk> there's a fucking bug in it
322: [03:29:29] <spronk> Session::recursivelyApply() won't update an array if you want to update it with an empty array
323: [03:30:38] <Pyromanik> so like
324: [03:31:20] <Pyromanik> 2.4 print css file <% require themedCSS(print, print) %> ?
325: [03:31:25] <Pyromanik> no output :<
326: [03:35:02] <Pyromanik> hmm, should do :<
327: [03:35:03] <Pyromanik> http://api.silverstripe.org/2.4/source-class-SSViewer.html#599
328: [03:37:46] * nicolaas has joined #silverstripe
329: [03:39:46] <Pyromanik> oh, needed a flush.
330: [03:40:14] <spronk> man
331: [03:40:18] <spronk> that bug took way too much of my day to fine
332: [03:40:19] <spronk> find
333: [03:41:34] * irogue explodes a little
334: [03:41:39] <irogue> asterisk debugging is always fun
335: [03:41:56] * DigNZ has joined #silverstripe
336: [03:41:56] * DigNZ quit (Client Quit)
337: [03:41:57] <spronk> ?
338: [03:43:21] * DigNZ has joined #silverstripe
339: [03:44:42] * Stomach quit (Quit: Leaving.)
340: [03:55:32] <irogue> spronk: VoIP!
341: [03:55:35] <irogue> everyone's favourite
342: [03:55:47] <spronk> ahh
343: [03:59:51] * zippy__ quit (Quit: zippy__)
344: [04:06:25] * Jedateach has joined #silverstripe
345: [04:06:48] <Jedateach> whats the proper/nice way to 404 in SilverStripe?
346: [04:07:03] <Jedateach> (need to get rid of my die() statment)
347: [04:08:33] <joelpittet> Maybe all error messages in SS should be prefixed with: *Did you flush?*
348: [04:09:50] <spronk> lol
349: [04:11:56] * Stomach has joined #silverstripe
350: [04:12:58] <Jedateach> RequestHandler->httpError(404) , thanks willr_
351: [04:13:07] * joelpittet quit (Remote host closed the connection)
352: [04:14:30] <Pyromanik> Jedateach: $this->httpError() since a controller is a request handler
353: [04:14:39] <Jedateach> indeed
354: [04:14:39] <Pyromanik> usually
355: [04:32:55] <spronk> ugh
356: [04:32:55] <spronk> ok
357: [04:32:59] <spronk> silverstripe's session::set
358: [04:33:01] <spronk> and arrays
359: [04:33:03] <spronk> is COMPLETELY broken
360: [04:41:45] * Colin[pi] quit (Ping timeout: 276 seconds)
361: [04:52:44] * Shrike_Finland quit (Quit: Leaving.)
362: [04:53:20] * joelpittet has joined #silverstripe
363: [04:57:07] * joelpitt_ has joined #silverstripe
364: [04:57:07] * joelpittet quit (Read error: Connection reset by peer)
365: [04:57:41] * DigNZ quit (Quit: DigNZ)
366: [05:07:59] * spronk quit (Ping timeout: 260 seconds)
367: [05:16:28] <Pyromanik> weekend!
368: [05:16:33] * Pyromanik quit (Quit: leaving)
369: [05:19:13] * Liquide quit ()
370: [05:23:35] * nicolaas quit (Remote host closed the connection)
371: [05:24:36] * SightUnseen has joined #silverstripe
372: [05:25:57] * SightUnseen has left #silverstripe
373: [05:29:34] <sminnee> ss23: you about?
374: [05:31:58] * Peavers quit (Ping timeout: 256 seconds)
375: [05:35:18] * Jedateach has left #silverstripe
376: [05:40:12] * Stomach quit (Quit: Leaving.)
377: [05:47:59] * Hippiee has joined #silverstripe
378: [06:04:30] * Pigeon has joined #silverstripe
379: [06:04:53] * Pigeon is now known as Guest37931
380: [06:06:13] * MrJeremy quit (Quit: MrJeremy)
381: [06:06:21] * Guest37931 is now known as PigeonFriend
382: [06:07:51] * joelpitt_ quit (Remote host closed the connection)
383: [06:08:05] * joelpittet has joined #silverstripe
384: [06:23:16] * willr_ quit (Quit: willr_)
385: [06:24:36] * Shrike_Finland has joined #silverstripe
386: [06:36:54] * Shrike_Finland quit (Ping timeout: 264 seconds)
387: [06:44:47] * joelpittet quit (Remote host closed the connection)
388: [06:57:22] * g4b0 has joined #silverstripe
389: [07:07:08] * mento has joined #silverstripe
390: [07:09:49] * SticksM quit (Read error: Connection reset by peer)
391: [07:20:31] <g4b0> hi all
392: [07:26:55] * discorpi1 is now known as discorpia
393: [07:36:54] * chillu has joined #silverstripe
394: [07:53:45] * kinglozzer has joined #silverstripe
395: [08:00:32] * Jedateach has joined #silverstripe
396: [08:01:03] * Shrike_Finland has joined #silverstripe
397: [08:02:03] * Jedateach has left #silverstripe
398: [08:11:54] * Colin[pi] has joined #silverstripe
399: [08:25:30] <Shrike_Finland> Hello, is it possible to select TinyMCE buttons based on access level on SilverStripe?
400: [08:31:49] * chillu quit (Quit: chillu)
401: [08:36:59] * chillu has joined #silverstripe
402: [08:46:39] <ss23> sminnee: I am now!
403: [08:47:41] * openbees has joined #silverstripe
404: [09:07:34] * openbees quit (Quit: Leaving)
405: [09:22:51] * Shrike_Finland quit (Quit: Leaving.)
406: [09:28:33] * zippy__ has joined #silverstripe
407: [09:33:49] * DesignerX quit (Ping timeout: 248 seconds)
408: [09:39:27] * willmorgan quit (Quit: Leaving.)
409: [09:54:19] * osterlaus has joined #silverstripe
410: [10:01:56] * willr has joined #silverstripe
411: [10:02:18] * willmorgan has joined #silverstripe
412: [10:06:24] * priithansen has joined #silverstripe
413: [10:25:19] * zippy__ quit (Quit: zippy__)
414: [10:27:33] * nikrolls quit (Ping timeout: 276 seconds)
415: [10:30:37] <ec8or_> is there a setting for using the Home page meta tags if the current page has none?
416: [10:37:59] <ec8or_> nm, just added some if statements
417: [10:48:20] * osterlaus quit (Quit: Leaving.)
418: [10:49:55] * martimiz has joined #silverstripe
419: [11:05:58] * spronk has joined #silverstripe
420: [11:33:29] * Colin[pi] quit ()
421: [12:06:00] * UndefinedOffset has joined #silverstripe
422: [12:16:54] * willr quit (Quit: willr)
423: [12:21:19] * willmorgan quit (Ping timeout: 264 seconds)
424: [12:30:39] * willmorgan has joined #silverstripe
425: [12:33:22] <PigeonFriend> Hi, so I'm tryiong to save into a belongs_to in 3.0... but it's not working for me (save in the CMS and it doesn't remember the value)
426: [12:33:33] <PigeonFriend> does anyone know the right way to do this?
427: [12:43:43] * wmk has joined #silverstripe
428: [12:52:25] * spronk quit (Ping timeout: 245 seconds)
429: [13:10:43] * martimiz quit (Ping timeout: 250 seconds)
430: [13:10:50] * Motoservo quit (Ping timeout: 264 seconds)
431: [13:10:54] * Ian_Harris quit (Ping timeout: 264 seconds)
432: [13:12:54] * cloph_away1 quit (Ping timeout: 250 seconds)
433: [13:13:52] * Ian_Harris has joined #silverstripe
434: [13:17:54] * cloph_away has joined #silverstripe
435: [13:18:01] * Motoservo has joined #silverstripe
436: [13:18:37] * willmorgan1 has joined #silverstripe
437: [13:21:15] * willmorgan quit (Ping timeout: 273 seconds)
438: [13:29:22] * travis-ci has joined #silverstripe
439: [13:29:22] <travis-ci> [travis-ci] chillu/sapphire#168 (pulls/sqlquery-zero-limit - 23e51b8 : Ingo Schommer): The build failed.
440: [13:29:22] <travis-ci> [travis-ci] Change view : https://github.com/chillu/sapphire/compare/4603378e004d^...23e51b871b1f
441: [13:29:22] <travis-ci> [travis-ci] Build details : http://travis-ci.org/chillu/sapphire/builds/7840641
442: [13:29:22] * travis-ci has left #silverstripe
443: [13:37:01] * travis-ci has joined #silverstripe
444: [13:37:01] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#234 (3.1 - 4603378 : Ingo Schommer): The build passed.
445: [13:37:01] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/7791f20f4957...4603378e004d
446: [13:37:01] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/7840636
447: [13:37:01] * travis-ci has left #silverstripe
448: [14:31:33] * Nivery has joined #silverstripe
449: [14:34:45] * martimiz has joined #silverstripe
450: [14:35:29] <g4b0> is there a way to know if the SiteTree structure has changed during a on[After|Before]Write ?
451: [14:42:41] * martimiz quit (Quit: Page closed)
452: [14:47:25] * martimiz has joined #silverstripe
453: [14:50:05] * martimiz quit (Remote host closed the connection)
454: [14:50:16] * Pigeon has joined #silverstripe
455: [14:50:52] * Pigeon is now known as Guest69783
456: [14:51:24] * martimiz has joined #silverstripe
457: [14:52:07] * PigeonFriend quit (Ping timeout: 269 seconds)
458: [14:57:13] * martimiz has left #silverstripe
459: [14:57:48] * martimiz has joined #silverstripe
460: [15:09:00] * wmk quit (Quit: nice to meet you ;))
461: [15:10:32] <UndefinedOffset> g4b0 you could probably check $this->isChanged('Sort'), that would tell you if the current page's sort index changed
462: [15:11:53] <g4b0> Thanx UndefinedOffset
463: [15:23:21] <UndefinedOffset> may want to check the method name though :P, it's isChanged or hasChanged I think lol
464: [15:23:26] <UndefinedOffset> its defined on DataObject
465: [15:24:10] <AlphaCactus> isChanged
466: [15:38:29] * mento quit (Ping timeout: 250 seconds)
467: [15:41:49] * catcher has joined #silverstripe
468: [15:41:57] <catcher> ls
469: [15:42:22] <catcher> um
470: [15:49:52] * osterlaus has joined #silverstripe
471: [15:50:19] * martimiz quit (Quit: martimiz)
472: [15:51:36] * martimiz has joined #silverstripe
473: [15:57:27] * kinglozzer quit (Remote host closed the connection)
474: [15:58:01] * zfmf1 has joined #silverstripe
475: [16:00:52] * martimiz has left #silverstripe
476: [16:01:30] * g4b0 quit (Quit: Sto andando via)
477: [16:08:50] <AlphaCactus> How do I hook into an add/remove on a many_many relationship that is happening via ajax?
478: [16:19:52] * Motoservo quit (Ping timeout: 276 seconds)
479: [16:47:57] <FrozenFire> What do you mean by hook into?
480: [16:48:08] <FrozenFire> AJAX isn't a special request, really. Not unless you make it so
481: [17:07:31] <AlphaCactus> I think I'm possibly figuring out a solution by using GridField_Action Handler
482: [17:07:40] <AlphaCactus> er Provider I mean
483: [17:08:59] * osterlaus quit (Quit: Leaving.)
484: [17:34:28] * ss23 flexes
485: [17:34:34] <ss23> Time to figure out how to best do a Javascript countdown thing.
486: [17:38:42] * gelignite has joined #silverstripe
487: [17:52:26] * joelpittet has joined #silverstripe
488: [18:05:16] * Ian_Harris quit (Quit: Leaving)
489: [18:17:33] * Guest69783 quit ()
490: [18:29:37] * ARNHOE has joined #silverstripe
491: [18:45:06] <AlphaCactus> Success!
492: [19:16:09] * RojoD has joined #silverstripe
493: [19:16:09] * RojoD quit (Changing host)
494: [19:16:09] * RojoD has joined #silverstripe
495: [19:31:12] * Liquide has joined #silverstripe
496: [19:36:04] * SightUnseen has joined #silverstripe
497: [19:36:06] * SightUnseen has left #silverstripe
498: [19:40:14] * Motoservo has joined #silverstripe
499: [20:03:58] * Peavers has joined #silverstripe
500: [20:10:14] * ARNHOE quit (Remote host closed the connection)
501: [20:21:03] * Motoservo quit (Quit: Motoservo)
502: [20:28:06] <unsignedint> morning benders
503: [20:29:09] * joelpittet quit (Remote host closed the connection)
504: [20:32:06] * Motoservo has joined #silverstripe
505: [20:37:52] * jrthomer quit (Ping timeout: 256 seconds)
506: [20:41:24] * DigNZ has joined #silverstripe
507: [20:41:25] * DigNZ quit (Remote host closed the connection)
508: [20:41:27] * tankr has joined #silverstripe
509: [20:41:39] * DigNZ has joined #silverstripe
510: [20:43:15] * UndefinedOffset quit (Quit: Leaving.)
511: [20:43:57] * nickmolhoek has joined #silverstripe
512: [20:43:58] * nickmolhoek quit (Remote host closed the connection)
513: [20:44:12] * nickmolhoek has joined #silverstripe
514: [20:45:56] * jrthomer has joined #silverstripe
515: [20:49:16] * Nivery quit (Quit: Nivery)
516: [20:49:26] * pex has joined #silverstripe
517: [20:51:08] <Peavers> mornin folks
518: [20:54:38] <Peavers> Theres not a database table that holds deleted tables is there?
519: [20:54:43] <Peavers> sorry deleted pages**
520: [20:55:30] * zippy__ has joined #silverstripe
521: [20:56:11] <RojoD> I guess there could be a module that does that
522: [20:56:26] <Peavers> Its not something I want
523: [20:56:43] <Peavers> I've got 4 pages showin as Deleted in the CMS but they are still there and I can't remove them
524: [20:57:06] <Peavers> They don't show in the database as being there either, just wondering if there is cache/record somewhere else they might be
525: [20:59:25] <AlphaCactus> even if you click another page and refresh?
526: [20:59:38] <Peavers> yup
527: [20:59:45] <AlphaCactus> also, you have to unpublish and also delete draft to get them to actually go away I think
528: [20:59:53] <Peavers> the page title is gone and there is just the page icon and "deleted" showing
529: [21:00:13] <Peavers> I can't click on them, when I click on the page icon where the title would be it just redirects me to the homepage
530: [21:01:01] <Peavers> it looks like its not deleted the pages "cleanly"
531: [21:03:01] <AlphaCactus> yes we're having trouble with similar things too, but apparently we can still click on them, restore, unpublish, then delete.
532: [21:03:27] <Peavers> Hmm you're one up on me then...
533: [21:03:39] <Peavers> There must be a trace of it somewhere in cache or a table
534: [21:03:42] <AlphaCactus> yeah. this is second hand info tho, i don't work with pages in the cms much.
535: [21:03:53] * travis-ci has joined #silverstripe
536: [21:03:53] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#236 (3.1 - c14b799 : Sean Harvey): The build passed.
537: [21:03:53] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/4603378e004d...c14b7997d612
538: [21:03:53] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/7855439
539: [21:03:53] * travis-ci has left #silverstripe
540: [21:03:55] * Stomach has joined #silverstripe
541: [21:04:03] <AlphaCactus> did you look in the versions & live tables too?
542: [21:04:07] <Peavers> yup
543: [21:04:24] <AlphaCactus> flush=all?
544: [21:04:28] <Peavers> Yup tried that too
545: [21:04:44] <Peavers> Since there is no trace of them anywhere obviouse in the DB, might just do a clean install
546: [21:05:13] <AlphaCactus> that seems like overkill
547: [21:05:19] <Peavers> It does
548: [21:05:22] <Peavers> but I'm stumped
549: [21:05:42] <AlphaCactus> clear cookies?
550: [21:05:48] <Peavers> yeah tried that too
551: [21:05:52] <Peavers> tried on a different PC
552: [21:05:54] <AlphaCactus> delete cache in tmp folder?
553: [21:05:59] <Peavers> yup
554: [21:06:13] <Peavers> Even tried on a different network...
555: [21:06:54] <AlphaCactus> what page type?
556: [21:07:04] <Peavers> just a default "page" type
557: [21:07:27] * MrJeremy has joined #silverstripe
558: [21:07:31] <AlphaCactus> so not in page, page_live or page_versions either
559: [21:07:38] <Peavers> thats right
560: [21:08:00] <AlphaCactus> and you're looking at the right database
561: [21:08:04] <Peavers> lol yup
562: [21:08:22] <Peavers> the ID count goes 122 124 and the ID for the page is 123
563: [21:08:24] <AlphaCactus> lol but we've done that before way too often...
564: [21:08:38] <Peavers> wonder if I recreate the row in the table
565: [21:08:40] <AlphaCactus> how do you know the page id
566: [21:11:35] <Peavers> hover of the page icon and it gives the ID in the statusbar
567: [21:11:51] <Peavers> .../page/edit/show/id
568: [21:13:22] <AlphaCactus> what version of ss
569: [21:13:43] <Peavers> 3.1.x
570: [21:14:13] <AlphaCactus> can you reproduce the problem with more pages?
571: [21:17:06] <AlphaCactus> you could try exporting your sitetree & page tables, and then deleting them and dev/build and see if it goes away and then if it comes back if you reimport the backup.
572: [21:21:27] * willr has joined #silverstripe
573: [21:29:16] * zfmf1 has left #silverstripe
574: [21:35:58] * nickmolhoek quit (Ping timeout: 256 seconds)
575: [21:37:40] * nickmolhoek has joined #silverstripe
576: [21:37:41] * nickmolhoek quit (Remote host closed the connection)
577: [21:38:25] * nickmolhoek has joined #silverstripe
578: [21:44:49] * joelpittet has joined #silverstripe
579: [21:45:31] * MrJeremy quit (Ping timeout: 276 seconds)
580: [21:46:47] * MrJeremy has joined #silverstripe
581: [21:48:13] <irogue> holy shit
582: [21:48:23] <irogue> just got a reply from zoneedit to a 2 month old ticket
583: [21:48:35] <unsignedint> hey does anyone know how to remove a tab completely from the CMS? eg I have a page that adds fields to a "Root.LowerSection" tab but it has a subclass that doesnt need this. $fields->removeByName("Root.LowerSection") doesnt work
584: [21:48:42] <irogue> saying "can't see any problem, and the domain you're talking about isn't on your account"
585: [21:48:51] <irogue> YEAH, COS YOU DIDN'T REPLY SO I HAD TO MOVE ALL MY DNS
586: [21:48:56] <unsignedint> nice customer service!
587: [21:49:00] * nikrolls has joined #silverstripe
588: [21:49:05] <irogue> unsignedint: yeah, especially from a paid-for service
589: [21:49:37] * unsignedint wonders how some companies are still in business
590: [21:49:44] * irogue does too
591: [21:50:00] <irogue> it starts with "I apologize about the delay in processing your request as we have an extremely high volume of tickets."
592: [21:50:28] <irogue> i suspect the problem is more "we have a normal amount of tickets but no staff to answer them"
593: [21:51:24] <unsignedint> was it a NZ company?
594: [21:51:35] <unsignedint> staff probably quit due to assholes in management and poor pay
595: [21:52:02] <irogue> nah, US
596: [21:52:25] <unsignedint> oh right
597: [21:52:48] <irogue> http://zoneedit.com
598: [21:53:25] <priithansen> unsignedint: removeByName('LowerSection') should do the trick
599: [21:54:05] <unsignedint> priithansen: thanks! that worked perfectly!
600: [21:54:52] <unsignedint> irogue: who are you using now? I am being forced to use Zonomi at work but I use Zerigo elsewhere and its interface is miles ahead of Zonomi
601: [21:59:57] <irogue> i use zonomi for my personal stuff, work stuff's on Route 53 (since we use AWS)
602: [22:11:10] * ss-log has joined #silverstripe
603: [22:11:11] * ss-log quit (Changing host)
604: [22:11:12] * ss-log has joined #silverstripe
605: [22:17:20] <unsignedint> in a SS template, is there a way to dump information about the current scope in a loop? like what variables are available?
606: [22:17:51] <unsignedint> eg <% loop Something %> <% dump $CurrentItem %> <% end_loop %>
607: [22:21:18] <unsignedint> nevermind managed to figure it out via other means
608: [22:21:26] <AlphaCactus> unsignedint: $Debug ?
609: [22:22:01] <unsignedint> did not even know that existed. Thanks!
610: [22:22:14] <nikrolls> unsignedint: SSTemplateParser.php.inc:773 says that looping without an argument loops the current scope
611: [22:22:20] <AlphaCactus> I didn't know either. the source code is ur friend
612: [22:23:06] <nikrolls> Hmm, I also see references to a <% debug %> tag
613: [22:27:02] * gelignite quit (Quit: http://bit.ly/nkczDT)
614: [22:32:41] <nikrolls> Wow, SSTemplateParser has some goodies in the comments
615: [22:33:06] <nikrolls> This needs to be in an 'Advanced Templating' tutorial somewhere
616: [22:33:53] <AlphaCactus> there is, or was, but I don't think it is, or was, that advanced
617: [22:34:08] * tankr quit (Quit: Leaving.)
618: [22:35:05] <nikrolls> Yeah I think I've seen it, but it's still a little ambiguous. What I'm reading here is exactly what can and can't be done, which is quite revealing
619: [22:37:00] * IainKay quit (*.net *.split)
620: [22:38:58] * Hippieee has joined #silverstripe
621: [22:40:18] * Hippiee quit (Ping timeout: 240 seconds)
622: [22:41:29] <AlphaCactus> I reference the source more than anything, it is the best documentation
623: [22:42:10] <nikrolls> Agreed, been doing that a lot myself lately. Ctrl+O is getting a lot of use
624: [22:46:02] <Peavers> Ho can I overwrite the default page name in the page php?
625: [22:47:11] <RojoD> you can change the url from a page online...?
626: [22:47:23] <AlphaCactus> maybe static $defaults = array( 'Title' => 'My custom default name' );?
627: [22:48:06] <nikrolls> I think the default page name is built in a function
628: [22:48:34] <Peavers> No go AlphaCactus,
629: [22:48:36] * IainKay has joined #silverstripe
630: [22:48:44] <Peavers> I know its built in, but should be able to override it without much issue?
631: [22:49:34] <RojoD> still wondering why not with the webpanel
632: [22:52:37] <nikrolls> To be honest I can't quite find it in SiteTree
633: [22:53:47] <AlphaCactus> its set in CMSMain::getNewItem
634: [22:54:18] <AlphaCactus> so you could set the singular_name but it would still have "New" in front I think.
635: [22:54:41] <AlphaCactus> you could implement augmentNewSiteTreeItem and set the title there?
636: [22:57:59] <Peavers> shouldn't I be able to just use $this->setField('Title' => "Blah")
637: [22:58:15] <Peavers> using parent::populateDefaults();
638: [22:58:22] * chillu quit (Quit: chillu)
639: [22:58:36] <nikrolls> Depends on the order
640: [22:58:55] <nikrolls> I suspect the defaults are populated before getNewItem changes the title
641: [22:59:20] <nikrolls> But augmentNewSiteTreeItem is at the end, so as AlphaCactus said that should work
642: [22:59:30] <Peavers> yeah but I've no idea how to do that lol
643: [22:59:44] <nikrolls> I think you create an Extension subclass
644: [22:59:48] <nikrolls> And Extend CMSMain with it
645: [23:00:28] <nikrolls> And create a function called augmentNewSiteTreeItem, and in it set $this->owner->Title = 'blah'
646: [23:00:37] <nikrolls> Uh no
647: [23:00:42] <AlphaCactus> augment passes in the item
648: [23:00:48] <nikrolls> Yeah the first arg
649: [23:01:55] * IainKay quit (*.net *.split)
650: [23:02:15] <AlphaCactus> and don't forget to put the extension info in your yml
651: [23:03:19] * willmorgan1 quit (Quit: Leaving.)
652: [23:03:40] <nikrolls> Yeah, you don't have to use Object::add_extension any more as most tuts will say
653: [23:05:11] * IainKay has joined #silverstripe
654: [23:05:48] <Peavers> without looking like a twat, it would look something like this? (I'm php nub) http://pastebin.com/WA7i0X4i
655: [23:06:22] <nikrolls> Almost, but I put you wrong
656: [23:06:35] <nikrolls> class MyNewPageName extends Extension
657: [23:06:52] <nikrolls> Wait, I'll update yours
658: [23:08:40] <nikrolls> Sorry, broke the highlighting, but this should help
659: [23:08:41] <nikrolls> http://pastebin.com/fqujaZ4F
660: [23:08:43] <AlphaCactus> I would call it CMSMainExtension myself, and it has to be a separate class from the Page itself
661: [23:09:34] <AlphaCactus> but either way works
662: [23:09:52] <Peavers> was gonna say, you're just trying to confuse me now AlphaCactus
663: [23:10:02] <AlphaCactus> lolyup
664: [23:10:05] <Peavers> Thanks heaps for that nikrolls
665: [23:10:26] <nikrolls> Welcome :)
666: [23:11:28] <nikrolls> And yeah, call it whatever makes sense -- mine was the typical generic tutorial name
667: [23:11:40] <Peavers> yeah gathered that much :)
668: [23:13:14] * pex quit (Quit: pex)
669: [23:15:54] <Peavers> Worked a treat
670: [23:16:00] <Peavers> _b
671: [23:18:37] <nikrolls> :)
672: [23:19:36] <irogue> i will never stop finding the cook islands' domains names hilarious
673: [23:20:03] <nikrolls> :D
674: [23:20:20] <irogue> who the heck decided to use .co for a TLD of .ck?
675: [23:20:38] <AlphaCactus> lol
676: [23:20:38] <Peavers> haha didn't even know they did...
677: [23:20:46] <irogue> http://telecom.co.ck
678: [23:20:57] * RojoD quit (Ping timeout: 248 seconds)
679: [23:20:58] <nikrolls> Not to mention that many of Kenya's domains look like they're owned by Coca Cola
680: [23:21:17] <irogue> haha
681: [23:21:23] <irogue> better than being owned by cock? :P
682: [23:21:39] <nikrolls> I'm just surprised that coke hasn't bought them all already
683: [23:21:42] <nikrolls> share.co.ke
684: [23:21:47] <nikrolls> drink.co.ke
685: [23:22:03] <irogue> eat.co.ck
686: [23:22:13] <nikrolls> I looked up the whois once and there's a couple of guys parking them all, must be asking a mint
687: [23:22:21] <nikrolls> Yeah, have to admit yours are better :)
688: [23:22:32] * IainKay quit (Ping timeout: 264 seconds)
689: [23:22:32] * IainKay has joined #silverstripe
690: [23:22:45] <irogue> nikrolls: my cock is better? THANKS!
691: [23:23:09] <AlphaCactus> is ilike.co.ck taken
692: [23:23:26] <nikrolls> irouge: differents between 'are' and 'is'
693: [23:23:30] <nikrolls> *difference
694: [23:23:40] <irogue> i have more than one cock?!?
695: [23:23:48] <irogue> AlphaCactus: apparently Telecom are very anal about what they let people register
696: [23:23:55] <irogue> due to the likelihood of "misuse"
697: [23:24:00] <AlphaCactus> i see
698: [23:24:40] <AlphaCactus> but if we created a company named iLike first...
699: [23:24:56] <irogue> lol
700: [23:25:01] <nikrolls> And then registered a branch in the CI
701: [23:25:10] <irogue> iLike Rarotonga
702: [23:25:18] <nikrolls> Yea
703: [23:25:47] <nikrolls> I'm serious
704: [23:27:13] <nikrolls> Hey, anyone know if you can nest model-admins?
705: [23:27:26] <AlphaCactus> why would you want to?
706: [23:27:37] <nikrolls> Hypothetically
707: [23:27:42] <nikrolls> Sort of
708: [23:28:04] <nikrolls> Have quite a large admin section that is required to take up only one item in the left nav
709: [23:28:27] <nikrolls> The tabs are wrapping at the moment, just wondering if there are other viable alternatives
710: [23:28:32] * tankr has joined #silverstripe
711: [23:29:27] <MrJeremy> what about two controllers?
712: [23:29:41] <AlphaCactus> how do you select between them?
713: [23:29:44] * catcher quit (Quit: Leaving)
714: [23:31:09] <nikrolls> Or even nested tabs. But I know they were removed, presumably for good reason
715: [23:32:01] <AlphaCactus> why limited to only one item on left
716: [23:32:33] <nikrolls> It's a subsite, and the primary site already has a lot of model admins on the side
717: [23:32:43] <nikrolls> So for simplicity
718: [23:33:07] <nikrolls> Simplicity for people who want to ignore this, and advanced access for people who want to use it
719: [23:33:11] <nikrolls> Pretty much
720: [23:34:03] <AlphaCactus> well, you could maybe create dumy object which you add as manageed model, and then create one and nly one instance and then inside that, manually add tabs for sub-managed models? or something along those lines?
721: [23:34:42] <AlphaCactus> maybe have a field on the dummy model so you can select which models to add as submanaged models so you can have multiple dummies each with a set of submanged models
722: [23:35:15] <nikrolls> Yeah, could do. I've also played with forced tabs on Model Admin in the past. Thanks for your tips, I'll have a think
723: [23:36:51] <AlphaCactus> the tabs wrap don't they? is that not acceptable?
724: [23:37:04] <nikrolls> Yeah they do, it's just looking a little broken
725: [23:37:12] <AlphaCactus> yeah it does
726: [23:37:22] <nikrolls> And a few of the items logically group together
727: [23:37:38] <AlphaCactus> add system requirement that users have to have 2560+ width monitors to use
728: [23:37:51] <nikrolls> But at the same time, should be able to be managed separately rather than just via relationships
729: [23:38:11] <nikrolls> Ha, adding hardware requirements sounds good :)
730: [23:50:15] * travis-ci has joined #silverstripe
731: [23:50:16] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#238 (3.1 - 59fb88b : Sean Harvey): The build passed.
732: [23:50:16] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/c14b7997d612...59fb88bec7c5
733: [23:50:16] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/7860372
734: [23:50:16] * travis-ci has left #silverstripe
735: [23:56:03] * spronk has joined #silverstripe

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