#silverstripe IRC Log

IRC log for 11 March 2014

All timestamps are in UTC.

1: [00:00:26] <desperate> yay i got it.. it works
2: [00:00:27] <desperate> so neat
3: [00:01:59] <howardgrigg> lol 'magic!'
4: [00:02:40] * UncleCheese_ quit (Quit: UncleCheese_)
5: [00:03:02] <desperate> i've come from a background where i have had to write my own controllers so everything is such a beeze with SS... once i got my head around what is going on
6: [00:04:18] <howardgrigg> yea it's certainly pretty sweet but takes a wee while to start thinking of websites in SS terms
7: [00:06:20] * Bollig|DesignCty has joined #silverstripe
8: [00:13:04] <Colin[pi]> desperate: I know that feel, I came from a similar background to you
9: [00:13:09] <antmas> bah
10: [00:13:19] <antmas> fatal error on cms batch actions :(
11: [00:13:26] <antmas> to the logs!
12: [00:14:05] * Colin[pi] plays batman music
13: [00:14:23] * b00mtastik quit (Ping timeout: 245 seconds)
14: [00:14:44] * jimt has joined #silverstripe
15: [00:15:42] <nbezzala> I'm following the tutorial, and I have created the poll, and submitted it and created the graph yesterday. But today, the control just doesn't go into doBrowserPoll
16: [00:15:44] <nbezzala> https://github.com/nbezzala/silverstripe-test/blob/master/mysite/code/HomePage.php
17: [00:15:53] <nbezzala> How do I debug this?
18: [00:16:07] <jimt> I just updated from SilverStripe 3.0->3.1, and updated the Newsletter module from github. The "Mailing lists" tab of the admin panel is now blank (with no error logged in the web server logs). Any clues where to look?
19: [00:16:24] <Colin[pi]> nbezzala: add doBrowserPoll to $allowed_actions
20: [00:16:34] <nbezzala> thanks Colin[pi]
21: [00:17:09] <antmas> error is referring to this class - but I don't see anything amiss http://www.sspaste.com/paste/show/531e527895937
22: [00:19:53] <antmas> which gives me PHP Fatal error: CMSBatchActionHandler::register() - Bad class 'CMSBatchAction_MoveTo' in /var/www/dev01/framework/admin/code/CMSBatchActionHandler.php on line 48 when I'm trying to run a task :(
23: [00:21:25] <nbezzala> I added it, and it didn't make any difference
24: [00:23:58] * Bollig|DesignCty quit (Read error: Connection reset by peer)
25: [00:24:20] * Bollig|DesignCty has joined #silverstripe
26: [00:24:47] * joelpittet has joined #silverstripe
27: [00:25:13] <PapaBearNZ> how do you disable (ie "grey out") an action button in the CMS?
28: [00:27:25] <PapaBearNZ> This is for a custom action button on a leftandmain extension.
29: [00:27:39] <Colin[pi]> $action->setDisabled(TRUE) ?
30: [00:28:45] <desperate> my articles page is called: class TextPageA extends Page
31: [00:29:04] <desperate> I have a TextPageA.ss file in my templates but it is not being picked up
32: [00:30:09] <PapaBearNZ> Thanx Colin[pi]! I was having a forest and trees moment!
33: [00:30:47] <antmas> anyone care to take a peek at my paste? ^^^
34: [00:34:31] <ss23> https://github.com/silverstripe-labs/silverstripe-newsletter/pull/66
35: [00:34:33] <ss23> o/
36: [00:34:35] <ss23> Am I quick or what?
37: [00:34:36] <ss23> :D
38: [00:35:37] <zippy____> ss23 you put all other repo maintainers to shame
39: [00:36:01] <zippy____> antmas: you flushed so it could pickup the clas?
40: [00:36:21] <zippy____> heh… table tenis, machine v robot - http://www.kuka-timoboll.com/en/home/
41: [00:36:30] <antmas> zippy____: :O
42: [00:36:34] <antmas> lemme check
43: [00:36:34] <nbezzala> antmas, you will have to look at line 48 to see the error. You have only pasted 36 lines here.
44: [00:37:00] <antmas> nbezzala: line 48 is from the CMSBatchActions :P,
45: [00:37:25] <jimt> Thanks ss23 :-)
46: [00:37:33] <ss23> Oh, you're in here too
47: [00:37:35] <ss23> :D
48: [00:37:57] <antmas> zippy____: ah, yip I did
49: [00:38:02] <antmas> no dice :<
50: [00:38:14] <ss23> jimt: Newsletter module isn't amazingly well maintained, so if you do have issues and manage to fix them, PRs for those are welcome to (though can't promise I'll merge them as quickly :P)
51: [00:38:31] <jimt> Any guess why my new admin/newsletter/MailingList page is blank after my 3.0->3.1 and Newsletter module update?
52: [00:38:38] <ss23> Not off hand sorry
53: [00:38:51] <ss23> Wouldn't be surprised if it was still broken a little on 3.1
54: [00:38:52] <jimt> Odd there is no error logged. :-/
55: [00:40:38] * PapaBearNZ quit (Ping timeout: 245 seconds)
56: [00:42:26] <antmas> hmmm
57: [00:42:30] <Colin[pi]> antmas: what's the file name for this class?
58: [00:42:35] <Colin[pi]> (that you pasted)
59: [00:42:49] * UncleCheese_ has joined #silverstripe
60: [00:42:50] <antmas> Colin[pi]: same name as class title
61: [00:43:10] <Colin[pi]> hmm, is there a chance the underscore is stuffing up the manifest somehow?
62: [00:43:12] <zippy____> jimt: flushed and dev build after update?
63: [00:43:31] <Colin[pi]> all the underscored named classes exist in the same file as each other, right?
64: [00:43:32] <antmas> Colin[pi]: possibly, will try it anyway
65: [00:43:36] <jimt> zippy____: Yes.
66: [00:43:43] <antmas> Colin[pi]: yup
67: [00:43:51] <Colin[pi]> try without an underscore
68: [00:44:18] <antmas> Colin[pi]: just the file name? or the class title and references?
69: [00:44:20] <antmas> or both?
70: [00:44:22] <desperate> I just renamed some of my template ss files to try and identify which is being used on a page.... i have now lost my login in form
71: [00:44:28] <Colin[pi]> antmas: both
72: [00:44:31] <desperate> i can't flush becuase i'm not logge din
73: [00:44:56] <desperate> I have of course renamed all ss files so that they are as they were
74: [00:45:15] <zippy____> desperate: You should always have a Page.ss which has the $Form on it
75: [00:45:22] <zippy____> as that is the default page...
76: [00:45:43] <zippy____> otherwise, nuke your cache folder (with silverstripe-cache in the document root, or in the system temp folder)
77: [00:46:36] <pippy> I've found a bug
78: [00:46:46] <pippy> it relates to the assets file upload bug
79: [00:47:14] <desperate> i have the $From in the page..s in the layouts folder
80: [00:47:17] <pippy> if you're using nginx proxy -> apache, it will fail if find_or_make() fails to find a folder
81: [00:47:48] <antmas> Colin[pi]: no dice
82: [00:48:26] <antmas> Colin[pi]: same error, but also reported on dev/build, not just in CLI
83: [00:48:42] <pippy> ah it's just been reported https://github.com/silverstripe/silverstripe-framework/issues/2930#issuecomment-37250438
84: [00:48:54] <desperate> ok I have got my login back
85: [00:49:06] <desperate> any ideas why my template.ss file isn't being picked up
86: [00:51:02] <antmas> I'm stumped :O
87: [00:51:29] <desperate> if x extends Page... then if an ss file named x exists then this will be used to render the content of the site right?
88: [00:52:16] <spronk> hmm
89: [00:52:24] <spronk> how the hell is that malaysian 777 still missing:|
90: [00:52:44] <Colin[pi]> <antmas> :(
91: [00:52:52] <Colin[pi]> spronk: ocean is a big, big place
92: [00:52:58] <Colin[pi]> however
93: [00:53:07] <Colin[pi]> I heard an aviation expert on the radio today
94: [00:53:20] <Colin[pi]> he thought they should have found something on the surface by now
95: [00:53:34] <spronk> yeah :S
96: [00:53:42] <spronk> has basically never happened beforer
97: [00:53:43] <Colin[pi]> like 10,000 components in an aircraft float he said
98: [00:53:50] <spronk> new theory on airliners forum is espionage
99: [00:53:58] <antmas> when they saw the supposed 'door', what did that turn out to be?
100: [00:54:10] <Colin[pi]> something unrelated I think
101: [00:54:12] <howardgrigg> desperate: yup you can use it a couple of ways templates/Page.ss and templates/HomePage.ss will be totally separate templates
102: [00:54:19] <Colin[pi]> he said even if it plowed into the ocean, there should be SOMETHING floating from it
103: [00:54:27] <spronk> mm
104: [00:54:30] <spronk> maybe it didnt plow into ocean
105: [00:54:42] <Colin[pi]> yeah he has 25 yrs exp, he wagered it's in the jungle
106: [00:54:43] <ss23> Hmm
107: [00:54:48] <ss23> There was someone in here from natlib, right?
108: [00:54:54] <Colin[pi]> but surely someone would have seen it if it was on land?
109: [00:54:56] <ss23> What was their name...
110: [00:54:57] <spronk> but
111: [00:54:58] <howardgrigg> most people split it into templates/Page.ss, templates/Layout/Page.ss and templates/Layout/HomePage.ss
112: [00:54:59] <spronk> if its in the jungle
113: [00:55:06] <spronk> how the hell did it *get* there without being detected by radar
114: [00:55:15] <spronk> or at the very least, person
115: [00:55:23] <desperate> my template files is just a test "hello wolrd" but it's not rendring
116: [00:55:30] <ss23> They're gone :(
117: [00:55:38] <Colin[pi]> well there are saying it may have changed course at the last minute, but yeah it was still about 15 mins from land iirc?
118: [00:55:42] <desperate> i just see a default white page with a blue banner at top and my content
119: [00:55:43] <spronk> yeah
120: [00:55:52] <Colin[pi]> just so freakin weird
121: [00:55:55] <spronk> which is approximately its glide path time
122: [00:56:00] <Colin[pi]> yeah :\
123: [00:56:01] <howardgrigg> desperate: are you using ?flush=1 to flush the template cache?
124: [00:56:04] <antmas> simon_w: thoughts on my batchactions issue?
125: [00:56:09] * antmas consults the oracle
126: [00:56:18] <ss23> lol
127: [00:56:20] <spronk> and then, what the hell caused its ADS to stop broadcasting :S
128: [00:56:47] <desperate> @howardgrigg yes... it's ok to do it on the home page right or do I have to do it on the page that is causing issues?
129: [00:57:03] <Colin[pi]> spronk: http://i.imgur.com/ajBMO.jpg
130: [00:57:10] <spronk> :D
131: [00:57:15] <antmas> lol Colin[pi]
132: [00:57:17] <spronk> vietnamuda triangle?
133: [00:57:25] <Colin[pi]> it's the only explanation
134: [00:57:30] <spronk> OOO
135: [00:57:33] <spronk> Certified winner claim form!
136: [00:57:55] <spronk> OH NO VIRUS
137: [00:57:56] <Colin[pi]> what did you win?
138: [00:58:02] <Colin[pi]> oh email? lol
139: [00:58:36] <spronk> :D
140: [00:58:50] <desperate> @howardgrigg I just did a flush on the url that is causing me issues.. still that same, I never had this issue when I used dataobject for articles
141: [00:59:06] <desperate> been banging my head against this for half an hour
142: [00:59:40] <howardgrigg> desperate: it's likely you
143: [00:59:55] <howardgrigg> 've just got a simple error - all your spelling is correct?
144: [01:00:07] <desperate> http://pastie.org/8905918
145: [01:00:45] <howardgrigg> then where's your template file?
146: [01:01:47] <desperate> silverstripe\themes\foundation\templates\Layout
147: [01:01:56] <desperate> TextPageA.ss
148: [01:01:59] <antmas> Colin[pi]: I use this register in my _config.php CMSBatchActionHandler::register('moveto', 'CMSBatchActionMoveTo'); not the changed name (no _ etc)
149: [01:02:03] <antmas> does that seem right?
150: [01:02:06] <desperate> "Hello World"
151: [01:03:14] <desperate> i'm not sure what else can possibly be done
152: [01:03:24] <desperate> is t is such a simple example
153: [01:03:49] <howardgrigg> and you're sure that the page you're viewing is of type TextPageA?
154: [01:04:18] <Colin[pi]> antmas: looks correct
155: [01:04:23] <howardgrigg> Also do you have $Layout in your \themes\foundation\templates\Page.ss
156: [01:04:35] * Ar10 has joined #silverstripe
157: [01:06:28] <geekdenz> hi, hopefully a quick question but i haven't found the solution googling...
158: [01:06:28] <geekdenz> When I have a custom PageValidator extending Validator, it does the validation even on delete. However, our tester was complaining that she by accident created a page of that type but then couldn't delete it from the draft. The issue is that getCMSValidator() is called even on delete. Is this a bug in SilverStripe and/or is there a way around this problem?
159: [01:06:39] <desperate> @howardgrigg yes.. the page is of type TextPageA - just checked
160: [01:07:57] <antmas> Colin[pi]: my full stack trace http://www.sspaste.com/paste/show/531e5e6813230
161: [01:08:51] <desperate> and also I have $Layout in the page.ss in the templates folder
162: [01:12:06] <desperate> could this be an issue with 3.13?
163: [01:12:31] <howardgrigg> so if you visit website.com/testpage?flush=1 it should show up the page rendered with 'Hello World' wherever your $Layout is but that's not happening?
164: [01:13:42] <desperate> no all I ever get is the content of the article
165: [01:14:00] <desperate> in a basic template not doesn't match my site
166: [01:14:32] <howardgrigg> desperate: is this on a public site or local?
167: [01:16:14] <desperate> local
168: [01:19:00] <zippy____> desperate: Page.ss - capital.
169: [01:19:13] <antmas> bah
170: [01:19:18] <antmas> fuck this error
171: [01:19:27] <zippy____> antmas: give it the fingers
172: [01:19:48] * antmas gives error log the fingers
173: [01:20:21] * antmas squints to look for syntax errors
174: [01:20:38] * desperate quit (Ping timeout: 245 seconds)
175: [01:21:41] <howardgrigg> anyone had issues with SortableGridField? user_error('Sort column '.$this->sortColumn.' must be an Int, column is of type '.$fieldType, E_USER_ERROR);
176: [01:22:18] <Colin[pi]> antmas: "path goes here" ?
177: [01:22:32] <Colin[pi]> that was you right? ;)
178: [01:22:42] <antmas> Colin[pi]: yerp
179: [01:23:05] <antmas> hmmm, seems it's not just that class, but any class in my register :O
180: [01:23:10] <Colin[pi]> silly question but there is a _config.php in it's root folder, right?
181: [01:23:11] <antmas> dafuq
182: [01:23:16] <antmas> yup
183: [01:23:48] <jimt> Re: my problems with 3.1 Newsletter module: While there is no error in the web server logs, enabling SS_Log() in the newsletter _config.php I see: Uncaught LogicException: exclude can't be called on an UnsavedRelationList. when I visit the Mailing List tab. (Not that the error means anything to me. ;-)
184: [01:24:24] <zippy____> howardgrigg: no… have you setup a Sort / SortOrder column on the object which is an int. and did you pass that column into the constructor inthe getCMSFields?
185: [01:25:35] <howardgrigg> zippy____: I think it's setup right https://gist.github.com/anonymous/88b3c1182ffbd8be8961
186: [01:25:45] <Colin[pi]> sweet jesus, dem comments: http://www.sspaste.com/paste/show/4e95b88e17295
187: [01:27:24] <antmas> hehe
188: [01:27:38] * McLovin123 quit (Ping timeout: 240 seconds)
189: [01:27:41] <zippy____> howardgrigg: Ah.. a many many.. not sure about that
190: [01:27:56] <zippy____> as I think it's looking for SortOrder on the PageSection object, not the join table
191: [01:28:03] <zippy____> join / pivot table
192: [01:32:58] * desperate has joined #silverstripe
193: [01:33:13] * MusicMann quit (Ping timeout: 240 seconds)
194: [01:33:13] <desperate> sorry @howardgrigg I lost connection for a while there
195: [01:35:03] <howardgrigg> desperate: Yea sorry I didn't have much more to offer... do you have templates in your mysite folder as well which my be getting priority?
196: [01:35:42] <antmas> lame, I can get the task to run, but only if I comment out my CMSBatchActionHanlder entries in _config
197: [01:35:43] <desperate> well I have an ArticleHolder.ss which works perfectly
198: [01:38:51] * Tanger has joined #silverstripe
199: [01:40:15] <desperate> ok this must be a bug... I stripped out all other tempalte files
200: [01:40:23] <desperate> flushed, rebuilt
201: [01:41:04] <desperate> copied in a new page.ss into the layouts and the other page.ss up one level
202: [01:41:15] <howardgrigg> zippy____: found it - PageSections not PageSection, man I hate crap like that lol
203: [01:41:36] <desperate> home page has no styles attached (as expected) ... loks broken and basic
204: [01:41:47] <desperate> the articles page still is the same layout
205: [01:43:06] <howardgrigg> so the articlespage is showing the old non broken layout?
206: [01:43:22] <desperate> SS can be so awesome..... so powerful so elegant... and then you spend 2 hours getting a template to work... exhausting
207: [01:43:31] <desperate> yep precisely
208: [01:44:01] <howardgrigg> so it's cache somewhere?
209: [01:44:40] <desperate> I've flushed the cache 50 plus times
210: [01:44:49] * nickmolhoek has joined #silverstripe
211: [01:44:51] <desperate> flush=1 flush=all
212: [01:44:59] <desperate> deleted the silverstripe-cache folder
213: [01:45:08] <desperate> re-created it
214: [01:46:11] <zippy____> desperate: Are you setting a layout in the code perhaps? Calling renderWith or something...
215: [01:46:22] <antmas> was thinking this ^^
216: [01:46:50] <desperate> I'mnot using renderwith
217: [01:47:13] <howardgrigg> theres no template files in your mysite folder?
218: [01:48:19] <desperate> I'll test again.... what should I do remove all but page.ss from templates?
219: [01:48:54] <antmas> desperate: yeah
220: [01:49:35] <antmas> although that's getting pretty...
221: [01:49:40] <antmas> desperate...
222: [01:49:45] <antmas> XD
223: [01:49:50] <antmas> haraharharhar
224: [01:51:52] <desperate> ok so now I only have a page.ss in the templates and one in the folder above
225: [01:52:09] <desperate> i go to my articles page I see a page with a blue top bar
226: [01:52:19] <zippy____> a dark blue top bar?
227: [01:52:27] <desperate> yes with the title
228: [01:52:37] <desperate> and below that white with the article content
229: [01:52:40] <zippy____> login to your cms, and go to settings then set the theme to your theme
230: [01:53:18] <desperate> it is already set to my current thme
231: [01:53:30] <desperate> but i saved it again
232: [01:53:59] <zippy____> change page.ss to Page.ss, and flush
233: [01:54:28] <desperate> it is already Page.ss
234: [01:54:37] <desperate> both of them are - with upprcase P
235: [01:55:44] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
236: [01:55:55] <howardgrigg> desperate: add ?showtemplate=1 to your url
237: [01:56:55] <desperate> Template: D:\Software\WAMP\www\silverstripe\silverstripe-cache\unknown/.cache.framework.templates.Controller.ss
238: [01:57:00] * Bollig|DesignCty has joined #silverstripe
239: [01:57:23] <howardgrigg> what about for a normal page? that does have a Page.ss template
240: [01:57:55] <zippy____> desperate: Does your article holder page extend page?
241: [01:58:03] <desperate> yes
242: [01:58:08] <zippy____> and the page_controller?
243: [01:59:10] <desperate> class ArticleHolder_Controller extends Page_Controller { }
244: [01:59:21] <zippy____> see my pm?
245: [02:04:01] * FrozenFire quit (Ping timeout: 265 seconds)
246: [02:04:52] * FrozenFire has joined #silverstripe
247: [02:10:24] * joelpittet quit ()
248: [02:11:59] * nbezzala quit (Remote host closed the connection)
249: [02:13:30] * UncleCheese_ quit (Quit: UncleCheese_)
250: [02:15:42] * coldblooded01 has joined #silverstripe
251: [02:21:40] <zippy____> glade your sorted desperate
252: [02:22:55] <howardgrigg> what was the issue?
253: [02:24:08] <desperate> thanks zippy
254: [02:24:25] <desperate> my articles page did not extend the page controller
255: [02:24:34] <desperate> it was extending content controller
256: [02:24:52] <howardgrigg> oh yea that'd be an issue lol
257: [02:25:08] <desperate> when is the content controller used?
258: [02:25:29] <desperate> thanks @zippy____ much appreciated, as well as everyone else's input
259: [02:28:16] <howardgrigg> desperate: no worries - annoying issues like that are frustrating but hope you have a good experience with SS
260: [02:28:51] <desperate> yeah all part of the lerning curve
261: [02:29:15] <desperate> my very last question... I'll think about this one when i ger into bed in a couple of mins....
262: [02:29:46] <desperate> on my article page where i dispaly the content can i access the data with loop_parent?
263: [02:30:02] <antmas> bah
264: [02:30:12] <howardgrigg> yup
265: [02:30:13] * coldblooded01 quit (Ping timeout: 245 seconds)
266: [02:30:25] <howardgrigg> not loop though
267: [02:30:41] <antmas> simon_w: le halp!
268: [02:30:42] <howardgrigg> use <% with Parent %>$Title<% end_with %>
269: [02:31:18] <simon_w> antmas, Stop doing it wrong?
270: [02:31:29] <antmas> simon_w: :D it's not my module
271: [02:31:39] <simon_w> Excuses!
272: [02:31:45] <antmas> heh
273: [02:31:51] <antmas> but anyway, thoughts?
274: [02:31:58] <simon_w> With what?
275: [02:32:15] <antmas> when I attemp to run a task, which normally runs fine
276: [02:32:28] <desperate> ok that's it I out guys......... thanks for your pointers and solving my massive headache of a problem
277: [02:32:32] <antmas> it hits my _config at CMSBatchActionsHandler saying my classes are bad
278: [02:32:35] <desperate> getting better each day!
279: [02:33:18] <antmas> specifically, CMSBatchActionHandler::register
280: [02:34:06] <simon_w> And what class is it's saying is bad?
281: [02:34:25] <simon_w> And does that class subclass CMSBatchAction?
282: [02:35:38] <antmas> all of them, but this is the first one I list http://www.sspaste.com/paste/show/531e72ec292bc
283: [02:35:45] <antmas> simon_w: and yes
284: [02:36:28] <simon_w> Have you flushed?
285: [02:36:37] <antmas> simon_w: yup, build and flush
286: [02:37:04] <simon_w> And what's the command you're calling?
287: [02:37:19] <antmas> simon_w: a custom task
288: [02:37:20] <antmas> hold on
289: [02:37:41] <simon_w> Hang on, are you calling this from the command line?
290: [02:37:54] <antmas> simon_w: yup
291: [02:37:59] <simon_w> Flush that too
292: [02:38:02] <simon_w> sake blah flush=1
293: [02:38:05] <antmas> oh
294: [02:38:11] * antmas runs to CLI
295: [02:38:38] * bubaphex quit (Ping timeout: 252 seconds)
296: [02:39:41] <antmas> no sake command
297: [02:39:50] <simon_w> php framework/cli-script.php
298: [02:41:35] <antmas> simon_w: same error
299: [02:42:33] <antmas> simon_w: this is the task I was trying to run, but I don't think it's specific to any task http://www.sspaste.com/paste/show/531e737d1fc94
300: [02:43:00] <simon_w> Well, if it's from your _config.php, it's because it can't find the class you're trying to register
301: [02:43:48] <antmas> simon_w: they're in a batchactions module folder
302: [02:44:15] <simon_w> Including the flush=1 bit, what command did you just run?
303: [02:44:41] <antmas> php framework/cli-script.php flush=1
304: [02:44:49] <antmas> I'm guessing that isn't right :P
305: [02:44:51] <simon_w> And so it didn't actually flush
306: [02:45:10] <simon_w> php framework/cli-script.php dev/task/MyTask flush=1
307: [02:45:44] <antmas> trying
308: [02:46:17] <antmas> ...
309: [02:46:26] * antmas holds breath
310: [02:46:42] <simon_w> FLUSHING: IT WORKS, BITCHES!
311: [02:46:54] <antmas> O
312: [02:46:55] <antmas> M
313: [02:46:56] <antmas> G
314: [02:47:03] <antmas> simon_w: thank you, dude!
315: [02:47:10] <ss23> XD
316: [02:47:20] <ss23> rm -rf /tmp/silverstripe*
317: [02:47:33] <simon_w> Yeah, that's what the flush part of our deploy playbook does
318: [02:48:23] * desperate quit (Quit: Page closed)
319: [02:49:11] <antmas> what exactly is getting flushed? ^^
320: [02:49:11] <ss23> We can't do that for some of our bigger sites
321: [02:49:12] <ss23> :(
322: [02:49:18] <ss23> If you deploy at the wrong time, server goes down *hard*
323: [02:49:22] <simon_w> antmas, the manifest_cli-script file
324: [02:49:33] <antmas> simon_w: ah ok
325: [02:49:38] <antmas> makes sense
326: [02:49:48] <antmas> ss23: why?
327: [02:50:27] <simon_w> - name: Flush manifest files
328: [02:50:27] <simon_w> shell: 'rm -rf /tmp/silverstripe-cache-*/manifest-*'
329: [02:50:47] <simon_w> That's what we do, so has very little load for the next people that hit
330: [02:51:12] <ss23> antmas: Because if the cache isn't built, and 20 people request the page before the cache *is* built, each of those 20 people will try building the cache
331: [02:51:15] <ss23> That takes the server down
332: [02:51:29] <simon_w> ss23, so stop doing full flushes?
333: [02:51:30] <ss23> (Problem is called 'cache stampede' if you wnana googlez it)
334: [02:51:36] <ss23> simon_w: Yeah, we do stop doing that :P
335: [02:51:49] <ss23> simon_w: My prefered solution is to have ea way to warm caches as needed
336: [02:51:54] <simon_w> Or, just flush the cli then copy manifest-cli_script to manifest-main?
337: [02:52:05] <ss23> Deploy to new directory -> warm the caches (including partial caches) -> do a pivot
338: [02:52:31] <simon_w> Take one site out of the load balancer, update it and its caches, add back
339: [02:52:49] <simon_w> *server, not site
340: [02:52:53] <antmas> ss23: ouch
341: [02:55:33] <antmas> ew
342: [02:55:47] <antmas> I can touch my teeth with my mo
343: [02:56:24] <simon_w> Well, so long as you can't touch my teeth with it
344: [02:57:30] * antmas twizzles his mo at simon_w
345: [02:57:56] * Jakx has joined #silverstripe
346: [02:58:43] <Colin[pi]> *twizzling intensifies*
347: [03:00:57] <Jakx> what I can I use to check if an object is being created on write? i.e something that I only want to run once, on creation.
348: [03:01:04] * chillu_23 has joined #silverstripe
349: [03:01:15] <antmas> lol https://play.google.com/store/apps/details?id=us.brk.wfhc
350: [03:02:48] <zippy____> Jakx: On before write - check if the id is set
351: [03:03:18] <Jakx> zippy____, ah of course. tyvm.
352: [03:06:03] * UncleCheese_ has joined #silverstripe
353: [03:14:04] <Jakx> zippy____, any tricks for on after write?
354: [03:14:47] <zippy____> um… maybe created == updated? but I would prefer on before
355: [03:15:07] <zippy____> as when you save, it will likly be in the same second, so I would go with onbefore
356: [03:15:24] <Colin[pi]> Word your GUI is bad and you should feel bad
357: [03:21:59] * zippy____ quit (Ping timeout: 240 seconds)
358: [03:27:35] * bubaphex has joined #silverstripe
359: [03:51:51] <antmas> this sounds neat http://www.spritzinc.com/about/
360: [03:53:51] <Jakx> yeah it's cool
361: [03:54:48] <Jakx> I can't get over about 400 words per minute, because I subvocalise haha. But if you don't - I hear people can get up to 5000.
362: [03:55:08] <Stomach> I wrote my own version of it a few nights ago
363: [03:55:25] <Stomach> theres problems though - blinking and new words you need to process fuck the whole thing up
364: [03:55:26] <UncleCheese_> yeah, i a saw that a while back
365: [03:55:31] <Jakx> I feel like there's a punch line coming...
366: [03:55:38] <UncleCheese_> plus, the whole "enjoying reading" thing
367: [03:55:40] <UncleCheese_> blargh
368: [03:55:49] <Jakx> "I wrote my own version of it a few nights ago", "I couldn't read it back fast enough".
369: [03:56:05] <antmas> I got to about 400 :P
370: [03:56:08] <Stomach> UC - it would be great if you could index everything you read and then access those indexes to find passages
371: [03:56:11] <Stomach> imagine studying
372: [03:56:12] <antmas> harder than I imagined
373: [03:56:15] <Stomach> would be awesome
374: [03:56:25] <howardgrigg> UncleCheese_: how do I stop bootstrapforms from including it's own css/js
375: [03:56:40] <antmas> I don't like how it works with special chars though, like things in () seem HARDER to read
376: [03:56:44] <Stomach> and on google glass you could use voice commands :D
377: [03:56:44] <UncleCheese_> bootstrap_included: true
378: [03:56:59] <howardgrigg> I did that but still showing up...
379: [03:57:15] <UncleCheese_> it's a config setting.. did you flush?
380: [03:58:04] <howardgrigg> yea - I can just define it in my mysite/config/config.yml yea?
381: [03:58:49] * Jakx has left #silverstripe
382: [03:59:18] <Stomach> as long as that is loaded after the bootstrapforms one
383: [03:59:55] <howardgrigg> Stomach: yea doesn't seem to be as editing the actual module config fixes it - how would I change the order?
384: [04:00:22] <Stomach> add an after rule
385: [04:00:31] <Stomach> After: 'cms/*', 'framework/*', 'bootstrapforms/*'
386: [04:00:39] <Stomach> or whatever the module is called
387: [04:02:03] <simon_w> antmas, my main problem is that my eyes don't work together, so I still end up needing to move them
388: [04:04:08] * BPower has joined #silverstripe
389: [04:06:26] <BPower> Hey - what's the SS 3.1 way of adding allowed extensions to be uploaded to assets? http://www.silverstripe.org/data-model-questions/show/13035
390: [04:10:42] * nbezzala has joined #silverstripe
391: [04:11:21] * nickmolhoek quit (Quit: nickmolhoek)
392: [04:17:28] <BPower> Found it: http://www.silverstripe.org/general-questions/show/25614
393: [04:17:32] <BPower> This is not documented anywhere.
394: [04:19:11] <ss23> You should document it!
395: [04:19:12] <ss23> :D
396: [04:25:40] * NewLinuxUser has joined #silverstripe
397: [04:43:41] * UncleCheese_ quit (Quit: UncleCheese_)
398: [04:44:18] * bubaphex quit (Ping timeout: 240 seconds)
399: [04:44:53] * chillu_23 quit (Quit: chillu_23)
400: [04:45:10] * cloph_away quit (Ping timeout: 252 seconds)
401: [04:46:01] * bubaphex has joined #silverstripe
402: [04:47:21] * BPower quit (Remote host closed the connection)
403: [04:47:47] <ss23> simon_w: https://github.com/silverstripe-labs/silverstripe-newsletter/issues/67 pls comment on this with your thoughts <3
404: [04:50:02] * cloph_away has joined #silverstripe
405: [04:53:07] <jimt> Thanks for the comment ss23 I suppose my first confusion is why aren't the lists saved at that point, since it is just iterating through all the lists and attempting to display their (active) user counts.
406: [04:53:20] <ss23> Yeah
407: [04:53:24] <ss23> I don't know man :O
408: [04:54:14] <jimt> It does spark an interesting question though... I wonder if it is *all* my lists or just some. Time for some printf debugging.
409: [04:59:23] <Colin[pi]> dat feel when you keep clicking the browser, wondering why it isn't doing anything, and then you realise it's a screenshot
410: [05:00:07] <ss23> XD
411: [05:00:16] <Colin[pi]> WHY WONT YOU WORK... oh
412: [05:00:27] * bubaphex quit (Ping timeout: 265 seconds)
413: [05:01:04] <Colin[pi]> once I took a screenshot of the designer's Mac desktop and then set it as his wallpaper, then dragged all his icons to a folder
414: [05:01:10] <Colin[pi]> fucking priceless to watch
415: [05:01:15] <ss23> XD
416: [05:01:41] <spronk> ;ppp;
417: [05:01:59] <ss23> Okay!
418: [05:02:04] <ss23> Design implmented for one page type
419: [05:02:32] <ss23> Need to do the other 2 page types, then responsive
420: [05:02:32] <ss23> ^.^
421: [05:05:50] * bubaphex has joined #silverstripe
422: [05:08:14] <Colin[pi]> "hi my web site is not working properly" "oh, what's up?" "the editor in the backend doesn't work properly" (goes to site) "site was made in 2003"
423: [05:08:22] <Colin[pi]> UPGRADE UR FUCKING SITE
424: [05:09:18] <ss23> lol
425: [05:09:39] <Colin[pi]> jesus it was probably pre jQuery
426: [05:09:47] <Colin[pi]> it's a wonder the editor works at all
427: [05:10:02] <Colin[pi]> it was pre-jQuery lol
428: [05:10:07] <ss23> PROTOTYPE!
429: [05:10:09] <ss23> jsparty! :D
430: [05:10:28] <Colin[pi]> now now prototype was the bomb back then
431: [05:15:38] * Ar10 quit (Ping timeout: 245 seconds)
432: [05:17:32] * EasyCo has joined #silverstripe
433: [05:21:13] * bubaphex quit (Ping timeout: 240 seconds)
434: [05:26:19] * bubaphex has joined #silverstripe
435: [05:36:59] * bubaphex quit (Ping timeout: 240 seconds)
436: [05:49:27] * bubaphex has joined #silverstripe
437: [05:56:34] * bubaphex quit (Ping timeout: 264 seconds)
438: [06:07:27] * howardgrigg quit (Remote host closed the connection)
439: [06:07:54] * howardgrigg has joined #silverstripe
440: [06:11:07] * thomas has joined #silverstripe
441: [06:11:11] <thomas> hey
442: [06:11:31] * thomas is now known as Guest41547
443: [06:11:39] * simon_w|air has joined #silverstripe
444: [06:11:52] <Guest41547> hello
445: [06:12:00] <ss23> hihi
446: [06:12:02] * howardgrigg quit (Ping timeout: 244 seconds)
447: [06:12:08] <Guest41547> m new to silverstripe
448: [06:12:19] <Guest41547> i m unable to install theme ..
449: [06:12:44] <Guest41547> i m just downloading a theme .. and trying to installl .. but not installing properly
450: [06:12:55] <Guest41547> plz help me
451: [06:13:07] <ss23> You're going to need to give some more information, Guest41547 :P
452: [06:13:14] <ss23> What did you try doing, and what does "not installing properly" mean?
453: [06:13:50] <Guest41547> ok .. i will make the doc and will get back to u .. thanks for this ..
454: [06:14:07] * simon_w|air quit (Client Quit)
455: [06:15:15] * Guest41547 quit (Client Quit)
456: [06:24:30] * SightUnseen has joined #silverstripe
457: [06:25:30] * SightUnseen has left #silverstripe
458: [06:35:41] <azureknight> That was deep.
459: [06:36:31] <ss23> lol
460: [06:36:36] <ss23> So deep that Adele could be rolling in it.
461: [06:38:19] * howardgrigg has joined #silverstripe
462: [06:38:32] <azureknight> Exactly ss23
463: [06:38:42] <ss23> XD
464: [06:39:03] <azureknight> I wonder if guest there had been using wp before, cause in that sense, installing a theme is totally different.
465: [06:39:09] <azureknight> It's much simpler in ss. :D
466: [06:41:59] * Shrike_Finland has joined #silverstripe
467: [06:42:55] * howardgrigg quit (Ping timeout: 265 seconds)
468: [06:47:32] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
469: [06:58:23] * violetina has joined #silverstripe
470: [07:10:59] * howardgrigg has joined #silverstripe
471: [07:11:20] * zippy____ has joined #silverstripe
472: [07:13:44] <wmk> gmorning gentle(wo)men
473: [07:13:52] <ss23> I hate the handling of dates in SilverStripe
474: [07:14:08] <ss23> "I want a date field that defaults to today please SilverStripe!" "Go suck a dick, ss23"
475: [07:14:11] <ss23> :(
476: [07:14:41] * ss23 looks at wmk
477: [07:14:42] <ss23> wanna help?
478: [07:15:01] <ss23> dw actually
479: [07:15:04] <ss23> Realised I solve this already
480: [07:15:04] <wmk> dw?
481: [07:15:05] <ss23> :O
482: [07:15:07] <ss23> Don't worry
483: [07:15:08] <ss23> :D
484: [07:15:11] <ss23> dw == Don't worry
485: [07:15:11] <wmk> ok.
486: [07:15:23] <ss23> Just remembered another page already does the exact thing I want, and I worte it like 2 days ago XD
487: [07:15:26] * wmk is happy #BobbyMcFerrin
488: [07:16:04] <wmk> ss23, i once set the default date via javascript, cause i used staticpublisher on the site
489: [07:16:11] <ss23> lol
490: [07:16:13] <ss23> That sounds yucky!
491: [07:16:28] <wmk> was a form for pre-filling another contact form for a hotel page
492: [07:16:42] <wmk> including the form via ajax would be surely better
493: [07:17:21] <wmk> ss23, we'd need a collection of silvestripe gists for such common tasks
494: [07:17:40] <wmk> like ssbits was once
495: [07:18:20] <ss23> Hmm
496: [07:18:26] <ss23> Probably, but the docs could have it too :D
497: [07:18:59] <wmk> i think more like addons.silverstripe.org, but not for composer packages. for gists / snippets.
498: [07:19:08] <ss23> mm
499: [07:19:12] <ss23> snippets.silverstripe.org
500: [07:19:13] <wmk> you can fork gists easily
501: [07:19:18] <ss23> yeah
502: [07:19:22] <ss23> Could just use github
503: [07:19:23] <ss23> :D
504: [07:19:28] <zippy____> yeap
505: [07:19:51] <zippy____> and you could drop addons.ss and use https://packagist.org/
506: [07:20:00] <ss23> lol
507: [07:20:03] <ss23> zippy____: welll...
508: [07:20:15] * ss23 looks at the groups convo
509: [07:20:30] <zippy____> when I was using composer today, that is what I use, just went there to find my packages
510: [07:20:57] <wmk> https://gist.github.com/search?q=silverstripe
511: [07:21:27] * wmk wonders if we could e.g. import / sync this
512: [07:22:09] <zippy____> wmk: or just use that
513: [07:22:10] <wmk> unfortunately gists don't have metadata like modules w/ composer.json
514: [07:22:27] <wmk> so you won't see if it's for 2.4, 3.0, 3.1 ....
515: [07:23:45] <ss23> The groups has had an interesting turn though
516: [07:23:57] <ss23> SilverStripe is deciding not to target entry level or non-developers
517: [07:24:03] * Shrike_Finland quit (Quit: Leaving.)
518: [07:24:31] <wmk> ss23 is this new? IMHO ss was always not for total beginners
519: [07:24:35] <ss23> Kind of
520: [07:24:39] <ss23> It's nice to have a recent reminder
521: [07:24:51] <wmk> you always had to know a little bit for installing it.
522: [07:24:51] <ss23> There was some talk of "SilverStripe should be a competitor to Drupal/Wordpress!"
523: [07:24:54] <ss23> Yeah
524: [07:25:19] <ss23> And simon_w is pretty much right
525: [07:25:34] <ss23> If we're requiring CLI access to do anything with themes/modules, requirement of knowing CLI, flush should just be on CLI
526: [07:25:41] <ss23> The code would be infinitly cleaner with the ErrorControlChain stuff
527: [07:25:53] <ss23> Probably faster too
528: [07:25:53] <ss23> :D
529: [07:26:47] <wmk> well, some things in wordpress shocked me last fall
530: [07:26:59] <wmk> e.g. the domain is hardcoded in every $Content in DB
531: [07:27:16] <ss23> lol, yeah, database storing domain is a bad one tbh
532: [07:27:16] <ss23> :(
533: [07:27:23] <wmk> you cannot just move db from dev to live server
534: [07:27:26] <zippy____> and the code is shocking
535: [07:27:32] <wmk> and php inside templates.... brrr
536: [07:27:49] <zippy____> php in templates I don't mind to much - laravel and others get it right
537: [07:27:50] <wmk> the reason i used it was the android app for posting new blogposts
538: [07:27:57] <wmk> customer wanted this feature
539: [07:28:04] <wmk> and the app is really nic
540: [07:28:05] <wmk> e
541: [07:28:09] <ss23> I *love* PHP inside templates, personally
542: [07:28:22] * Shrike_Finland has joined #silverstripe
543: [07:28:23] <wmk> a template is a template is a template
544: [07:28:25] <ss23> I know the arguemnt of "But what if people abuse it!", but seems BS to me. like "Oh people might use this feature wrong, so we shouldn't allow it"
545: [07:29:11] <wmk> ss23, sometimes you have to save users from themselfs
546: [07:29:32] <ss23> Disagree :P
547: [07:29:34] * ss23 puts on his liberal hat
548: [07:29:39] <ss23> We should make alchol illegal
549: [07:29:43] <ss23> Since people can drink themselves to death
550: [07:29:46] <ss23> In fact
551: [07:29:49] <ss23> We should just not allow anyone outside
552: [07:29:50] <ss23> No cars
553: [07:29:50] <ss23> etc
554: [07:29:53] <ss23> You might crash and die!
555: [07:30:45] <wmk> well, in reality it's like this sometimes.
556: [07:31:10] <ss23> We have differing views on this :P
557: [07:31:15] <wmk> e.g. porsche that cannot drive faster than xxx, there is a electronic stop...
558: [07:31:32] <wmk> ss23, well, different views are not bad. so both sides get some light ;)
559: [07:31:46] <wmk> or do you have a different view on different views?
560: [07:31:48] <ss23> XD
561: [07:31:51] <ss23> I don't know :P
562: [07:33:53] <azureknight> I'm with ss23 on the features.
563: [07:34:27] <azureknight> I normally have to work out tons of troubleshooting to keep the users from breaking stuff, and it takes more time, but at least the features are added and it allows for others to manage the content, not me.
564: [07:38:40] <wmk> depends which content. or how your business model is. or how often your customers have to change content.
565: [07:38:59] <wmk> if a customer has to change it once a year he'll call you anyway. at least to ask how it worked
566: [07:39:28] <wmk> but 3.1 has a much more intuitive UI, so things only can become better
567: [07:41:31] <ss23> Is that a challenge? :D
568: [07:48:24] * DesignerX has joined #silverstripe
569: [07:48:49] * NewLinuxUser quit (Ping timeout: 240 seconds)
570: [07:50:50] * g4b0 has joined #silverstripe
571: [07:53:53] <g4b0> hi all
572: [07:54:29] <ss23> hihi
573: [07:58:39] <Tanger> ss23: I agree with the php inside templates thing. It'd give the tempting system a steeper learning curve though, what with the chance to accidentally "while(1)" somewhere in the code and not have the logic separated in the actual php files
574: [07:58:57] <Tanger> Should be like a "Advanced Templating Mode" option in SS :P
575: [08:00:24] * ARNHOE has joined #silverstripe
576: [08:01:00] * simon_w|air has joined #silverstripe
577: [08:02:15] <simon_w|air> "[20:25:19] <ss23> And simon_w is pretty much right"
578: [08:02:15] <simon_w|air> Damn right I am!
579: [08:04:18] <ss23> Tanger: ++
580: [08:04:32] <zippy____> lol
581: [08:04:32] <ss23> Tanger: I like the idea of "sane by default, but if you're insane, you can still do what you want!"
582: [08:05:01] <ss23> As it is, SilverStripe templates literally "compile" to PHP, so it wouldn't be amazingly hard to tidy up those files, and present them as an alternative
583: [08:05:07] <simon_w|air> Tanger, you've got that. If you return a string from an action method, that's used.
584: [08:05:08] <ss23> mmm, foamy milk hot chocolate :D
585: [08:05:14] <ss23> lol simon_w|air
586: [08:05:18] <ss23> Not exactly the same thing! :P
587: [08:05:58] <simon_w|air> ss23, it makes it really easy to build in a different template engine. Just need it to return an HTML string
588: [08:06:24] <ss23> Yeah, but it's not "SilverStripe"
589: [08:06:48] <g4b0> Is it possible to extend HtmlEditorField.js from a module?
590: [08:08:19] <Tanger> That said, perhaps making a "raw rendering" templating class that you can opt to render raw php with, as opposed to looking up matching actions. So then you can swap per template page type
591: [08:25:28] <ss23> jimt: Good work on finding all these bugs :O
592: [08:25:39] <ss23> jimt: Normally I don't find them until a client complains :P
593: [08:25:53] <jimt> I'm not finding any solutions... I'm just writing them down so I don't forget. ;-)
594: [08:25:59] <ss23> :D
595: [08:26:00] <ss23> No problems
596: [08:30:23] * deschebbs has joined #silverstripe
597: [08:38:25] <zippy____> the only issue with cli command only to flush are all those people who have ftp only, and no command line. They'd be screwed then. They could still use composer locally thou ofc.
598: [08:46:44] <wmk> hmm, flush should always also be in browser
599: [08:47:13] <wmk> sometimes your customer / co-worker should flush if something doesn't work as expected
600: [08:48:41] * kk_ has joined #silverstripe
601: [08:48:47] * ocm has joined #silverstripe
602: [08:49:33] <simon_w|air> wmk, that only happens from an incorrect deploy
603: [08:49:37] <ocm> howdy
604: [08:50:18] <ss23> zippy____: Maybe, but ins't the idea "We only want to suppot people using CLI and composer, not the kind of people who use FTP or zips"?
605: [08:50:33] <ss23> Like, the idea isn't "We will enforce CLI and Composer" so much as "We only want to support 'good devs'"?
606: [08:51:15] <simon_w|air> zippy____, people stuck on FTP probably aren't going to use composer either
607: [08:51:19] * azureknight quit (Quit: Textual IRC Client: www.textualapp.com)
608: [08:51:30] <ss23> http://doc.silverstripe.org/framework/en/trunk/reference/uploadfield
609: [08:51:32] <ss23> This is some funky syntax
610: [08:51:40] <ss23> The embedded $name = 'SingleImage'
611: [08:51:50] <ss23> If it works, I can see how, but like... weird inline documentation style
612: [08:51:51] <ss23> :O
613: [08:51:56] <simon_w|air> Yeah, why do people even do that?
614: [08:52:14] <simon_w|air> Is just a waste
615: [08:52:54] <zippy____> reminds me of python…. but in that case it actually has a use
616: [08:53:29] <ss23> I've written the term "Attachment" too much and I'm beginning to think it's a fucked up word with broken spelling
617: [08:53:32] <ss23> please help
618: [08:53:41] <simon_w|air> Stop writing it?
619: [08:53:48] <zippy____> google it
620: [08:53:49] <ss23> I CAN'T I HAVE TO USE IT IN THE CODE
621: [08:53:50] <ss23> ;___;
622: [08:53:53] <ss23> zippy____: I have, this is the third time
623: [08:53:56] <simon_w|air> Refactor!
624: [08:54:04] <ss23> * This links to an attachement, not page
625: [08:54:06] <ss23> class AttachmentPage extends DateablePage {
626: [08:54:10] <ss23> $upload = new UploadField('Attachment', 'Attachment');
627: [08:54:13] <ss23> MORE
628: [08:54:16] <ss23> ATTACHEMENTSNASKANSDKFANS
629: [09:00:47] * EasyCo quit (Quit: Connection closed for inactivity)
630: [09:01:54] <ss23> what? :(
631: [09:02:00] <ss23> I thought I could do $this->nameofrelationship and get the object
632: [09:02:01] <ss23> ;_;
633: [09:02:09] <ss23> if $has_one foo
634: [09:02:17] <irogue_> needs ()
635: [09:02:42] <ss23> ah yes
636: [09:02:43] <zippy____> yea, needs ()
637: [09:02:45] <zippy____> gets me everytime
638: [09:02:45] <ss23> :D
639: [09:02:55] <ss23> woohoo
640: [09:02:58] <zippy____> laravel, no (), SS in the template, no () but in the code….. needs ()
641: [09:02:59] <ss23> I think my code is working 100% now
642: [09:03:09] <ss23> Site is 95% themed, just responsive is a little ugly
643: [09:08:27] <simon_w|air> Bleugh, I'm going to have to make a mobile version of this site at some point
644: [09:09:56] * kinglozzer has joined #silverstripe
645: [09:13:43] <Colin[pi]> which site?
646: [09:14:13] <ss23> It must be scary to have your brain start failing
647: [09:14:28] <ss23> I just found myself thinking "Hmm, does 3rd March come after or before the 4th of March?"
648: [09:17:27] <Colin[pi]> lol
649: [09:17:48] <Colin[pi]> ss23: I'm of the theory that many years of coding fucks up one's brain
650: [09:18:01] <Colin[pi]> mine is shit these days XD
651: [09:18:11] <ss23> Yeah :(
652: [09:18:12] <ss23> idk
653: [09:18:19] <Colin[pi]> and you're young!
654: [09:18:24] <Colin[pi]> dude you're screwed
655: [09:18:25] <Colin[pi]> ;D
656: [09:18:25] <ss23> IKR
657: [09:18:33] <ss23> By the time I'm as crazy old as you... my God
658: [09:18:38] <Colin[pi]> :o
659: [09:18:42] <ss23> oh I forgot, I'm pretty tired
660: [09:18:43] <ss23> :O
661: [09:18:45] <ss23> So that probably makes it worse
662: [09:18:53] <Colin[pi]> well what time do you generally go to sleep?
663: [09:18:58] <ss23> um
664: [09:18:58] <ss23> idk
665: [09:19:01] <ss23> between 8pm and 3am
666: [09:19:08] <ss23> normally centering around ~12:30
667: [09:19:14] <Colin[pi]> k.. and wake up?
668: [09:19:29] <ss23> ~9am
669: [09:19:41] <Colin[pi]> ok so that's not too bad with the sleep in
670: [09:19:46] <Colin[pi]> you feel rested when you wake uo?
671: [09:19:47] <Colin[pi]> *up
672: [09:20:15] <ss23> um
673: [09:20:22] <ss23> yeah, I'm tired atm because I stayed up late the past two nights
674: [09:20:23] <ss23> :P
675: [09:20:31] <Colin[pi]> k :)
676: [09:20:51] <ss23> Someone just posted on a mailing list
677: [09:20:53] <ss23> I'll quote
678: [09:21:05] <ss23> "Well... Alex Gaynor's project *does* have a test suite that includes 100% code coverage."
679: [09:21:08] <ss23> Someone responded
680: [09:21:20] <ss23> "There could be 100% coverage, just up until the goto fail/success lines. I mean no point testing code that will never get hit right ;)"
681: [09:21:24] <ss23> What the fuck?
682: [09:21:32] <Colin[pi]> wow
683: [09:21:36] <ss23> If it doesn't cover all the code, then it's not 100%
684: [09:21:36] <Colin[pi]> "What could go wrong?
685: [09:21:37] <ss23> NOOB
686: [09:21:49] <Colin[pi]> lol yeah
687: [09:22:02] <ss23> If it doesn't include 100% of the code then it's not 100% code coverage. Whatever point he tried to make is fucking lost on me :/
688: [09:24:58] <Colin[pi]> um if there's a modeladmin with an import form, and I don't believe there's a bulk loader class, will it automagically manage relations?
689: [09:25:14] <Colin[pi]> or will it need a bulk loader class?
690: [09:29:24] * headtrip has joined #silverstripe
691: [09:29:45] <headtrip> hey guys
692: [09:30:09] <headtrip> is there any module where i can dynamically generate a page with something like components?
693: [09:30:17] <headtrip> just like in typo3
694: [09:30:57] * nbezzala quit (Remote host closed the connection)
695: [09:31:11] <headtrip> so i might have a "TextAndImage" Component, a "Tab" Component in different sizes and put them together (drag&drop?) on a page?
696: [09:31:33] <ss23> headtrip: Not aware of anything like this. There is a philosphpy against it from what I've read
697: [09:31:44] <ss23> headtrip: If it's a page, it should have a programmer create it, kind of thing :)
698: [09:31:54] <ss23> There was a widgets module, don't think it's supported now
699: [09:32:11] <headtrip> the widgets module works great for sidebars
700: [09:32:17] <Colin[pi]> headtrip: I am using widgets to achieve something along those lines
701: [09:33:07] <headtrip> i build something like this my own with a sortable grid field but its not very stable
702: [09:33:41] <Colin[pi]> headtrip: my default Page class went nuts with widgets, like total overkill, but it's very flexible
703: [09:34:16] * micmania1 has joined #silverstripe
704: [09:34:26] <headtrip> https://github.com/silverstripe-labs/silverstripe-dynamictemplate what is this for?
705: [09:34:42] <headtrip> Colin: could you please give me an code example?
706: [09:35:48] <Colin[pi]> headtrip: I can explain briefly, the Page class has four has_one's: LeftSideWidgets, RightSideWidgets, FooterWidgets, and PageWidgets
707: [09:36:00] <Colin[pi]> and tabs in the CMS to manage them
708: [09:36:11] <Colin[pi]> the user can control which widgets to add where
709: [09:36:20] <Colin[pi]> and the template will format them appropriately
710: [09:36:30] <Colin[pi]> also, pages inherit widgets from their parent
711: [09:36:39] <Colin[pi]> or you can override in the child
712: [09:36:49] <Colin[pi]> global ones are defined in the SiteConfig
713: [09:37:17] <Colin[pi]> it's probably far more than the widgets system was ever intended, but it's worked pretty well
714: [09:37:17] <headtrip> hm sounds good. any performance issues with this?
715: [09:37:23] <Colin[pi]> not that I've noticed
716: [09:38:12] <headtrip> can you configure which widgets are available for which widget area?
717: [09:38:31] <Colin[pi]> no, it shows a selection of all widgets
718: [09:38:38] <headtrip> hm okay
719: [09:38:44] <Colin[pi]> but I did create a "ResponsiveWidgetArea" clas
720: [09:38:45] <Colin[pi]> *class
721: [09:38:49] <Colin[pi]> which is used for the footer
722: [09:39:08] <Colin[pi]> it allows a maximum of four, and changes the size of the widgets appropriately in the grid
723: [09:39:33] <Colin[pi]> they'll then stack into a column on smartphone
724: [09:40:08] <headtrip> okay, do your customers understand the system?
725: [09:40:28] <Colin[pi]> yep! they like it
726: [09:40:43] <Colin[pi]> although the page widgets was a new addition and they find a bit confusing I think
727: [09:40:57] <Colin[pi]> page ones appear under the main block of content
728: [09:41:51] <headtrip> i think i like the idea of using the widget module for this
729: [09:41:56] <headtrip> better than sortable grid field :D
730: [09:42:01] <Colin[pi]> it worked better than I hoped
731: [09:42:05] <headtrip> i'll try it, thank you very much!
732: [09:42:09] * howardgrigg quit (Remote host closed the connection)
733: [09:42:26] <Colin[pi]> no worries, give it a try and see if it works ok
734: [09:46:12] * McLovin123 has joined #silverstripe
735: [09:51:14] <Colin[pi]> me: "oh hi internet, I'd like a list of metro zones in australia with their postcodes please, I'm sure that's easy to find"
736: [09:51:17] <Colin[pi]> 30 mins later
737: [09:51:22] <Colin[pi]> internet: "trololololol"
738: [09:52:40] <ss23> lol
739: [09:52:45] <Colin[pi]> seriously
740: [09:52:46] <ss23> What are "metro zones"?
741: [09:52:56] <ss23> auspost provided us with postcode / suburb / shipping data
742: [09:52:56] <ss23> :D
743: [09:52:58] <ss23> And AAE
744: [09:53:11] <Colin[pi]> yeah but is it grouped into like "Sydney Metropolitan Area"?
745: [09:53:17] <Colin[pi]> or is it just a list of burbs and codes?
746: [09:53:42] <ss23> From memory, suburbs + postcodes + shipping info
747: [09:54:10] <Colin[pi]> I just want a list that shows "OK you want a postcode for the greater sydney area, here's the range of numbers"
748: [09:54:18] <ss23> "range of numbers"?
749: [09:54:19] <Colin[pi]> think I can find it? fuck no
750: [09:54:28] <ss23> Like, a list of every possible postcode in Sydney?
751: [09:54:34] <Colin[pi]> that's it
752: [09:54:49] <ss23> http://www.postconnect.com.au/postcode-data
753: [09:54:53] <ss23> congratulations
754: [09:55:05] <Colin[pi]> I have that
755: [09:55:19] * UncleCheese has joined #silverstripe
756: [09:55:25] <ss23> Is that not what you want?
757: [09:55:30] * Tanger quit (Quit: Tanger)
758: [09:55:36] <ss23> Fuck it, I'm going home
759: [09:55:43] <Colin[pi]> no it's not grouped
760: [09:55:44] <ss23> I better get a mother fucking payrise for the last two weeks
761: [09:55:45] <ss23> :/
762: [09:55:50] <ss23> Colin[pi]: What do you mean grouped?
763: [09:55:52] <Colin[pi]> oh shit you were still at work?
764: [09:55:58] <ss23> Colin[pi]: Like, you need to know it's in Sydney only, not just NSW?
765: [09:56:04] <ss23> Yeah dude
766: [09:56:05] <ss23> :/
767: [09:56:10] <ss23> Things are crazy for me atm
768: [09:56:10] <ss23> :(
769: [09:56:12] <Colin[pi]> fuck
770: [09:56:18] <Colin[pi]> ok I'll let you get going
771: [09:56:20] <ss23> Kind of like... I'm in one of those positions where everyone wants me to do shit :D
772: [09:56:24] <ss23> ty ty :P
773: [09:56:41] <Colin[pi]> yah I know exactly how you feel ;P
774: [09:58:34] <headtrip> anyone knows how to use https://github.com/silverstripe-australia/silverstripe-multivaluefield in the template?
775: [09:59:59] <UncleCheese> use its native .Implode() method
776: [10:00:13] <UncleCheese> just look at the source code
777: [10:04:15] * desperate has joined #silverstripe
778: [10:04:44] <desperate> morning guys... it only seems like a few hours since I was here pulling my hair out.. that's because it was lol
779: [10:05:58] <headtrip> UncleCheese: i want to loop it
780: [10:06:34] <headtrip> g'morning desperate
781: [10:08:30] <headtrip> got it.. using the native .Items() method
782: [10:08:33] <headtrip> >.<
783: [10:08:41] <headtrip> to early^^ sorry
784: [10:12:53] * howardgrigg has joined #silverstripe
785: [10:18:28] <Colin[pi]> ss23: fucking found it, finally
786: [10:19:10] <ss23> sweet
787: [10:19:10] <ss23> :D
788: [10:21:04] * howardgrigg quit (Ping timeout: 244 seconds)
789: [10:21:33] <zippy____> desperate: wb:)
790: [10:22:32] <Colin[pi]> ss23: this is what I mean: http://www.training.nsw.gov.au/training_providers/training_market/doing_business/ssd_mapping.html
791: [10:22:46] <Colin[pi]> and I've found the source for all of them, but it's a word doc YAY
792: [10:22:55] <Colin[pi]> word doc: the most useful data format
793: [10:25:02] * zippy____ quit (Quit: zippy____)
794: [10:49:52] <ss23> ah kk
795: [10:51:22] * Shrike_Finland quit (Quit: Leaving.)
796: [10:53:18] * howardgrigg has joined #silverstripe
797: [10:58:07] * howardgrigg quit (Ping timeout: 265 seconds)
798: [11:00:07] * Shrike_Finland has joined #silverstripe
799: [11:07:29] * micmania1 quit (Ping timeout: 240 seconds)
800: [11:10:16] * micmania2 has joined #silverstripe
801: [11:10:19] * micmania2 is now known as micmania1
802: [11:21:11] * dangerdan has joined #silverstripe
803: [11:24:14] * howardgrigg has joined #silverstripe
804: [11:24:23] * McLovin123 quit (Changing host)
805: [11:24:23] * McLovin123 has joined #silverstripe
806: [11:24:44] <dangerdan> how do people run tests on their modules? do they have a dummy ss install underneath it? if the module itself is under source control inside its own folder, like all the modules seem to be, then how are ci tests run? i'm trying to set up ci for a couple modules of my own, but obviously an enviroment needs to set up for each build, i'm using gitlab-ci and i'm not quite sure how to do it!
807: [11:28:36] * UncleCheese quit (Quit: UncleCheese)
808: [11:28:57] * howardgrigg quit (Ping timeout: 264 seconds)
809: [11:30:54] * howardgrigg has joined #silverstripe
810: [11:33:35] <micmania1> dangerdan: Never used gitlab but normally you'd have a composer.json file which would pull in all your module dependancies
811: [11:34:07] <micmania1> then you would build the database and run sake /dev/tests/module/MyModule flush=1
812: [11:34:11] <dangerdan> i have that, but if i run composer install it will install everything in the same folder as my module, is that the way it should be done?
813: [11:34:43] <desperate> does anyone have any recommendations for a gallery?
814: [11:34:48] <desperate> I have found one on github
815: [11:34:54] <dangerdan> does this mean i need to add a _config.php with conf/configurefromenv in it to my module? its just i havent seen that in other modules on github and stuff
816: [11:35:04] <desperate> I'm wondering if there is any point in reinventing the wheel
817: [11:36:23] <micmania1> dangerdan: SilverStripe has some test modules built for behate. I've only done it once and can't remember exactly how I done it
818: [11:36:27] <Colin[pi]> desperate: I wrote my own gallery module in about an hour
819: [11:36:35] <Colin[pi]> not super fancy, but works
820: [11:37:39] <dangerdan> so id need something to similar to that but for gitlab ci?
821: [11:37:56] <kinglozzer> dangerdan: Check out https://github.com/silverstripe-labs/silverstripe-travis-support, see if that helps
822: [11:37:59] * g4b0 quit (Ping timeout: 240 seconds)
823: [11:38:08] <kinglozzer> I know it's for Travis, but might give you some pointers
824: [11:38:27] <dangerdan> yeah, thanks!
825: [11:38:34] <dangerdan> at least i know that this is what needs to be done
826: [11:41:01] * qlex2 has joined #silverstripe
827: [11:48:18] * kk_ quit (Quit: Page closed)
828: [11:49:44] <desperate> @Colin[pi] I am tempted to do it myself but if someone has already done the work. I need to associate images with several possible galleries
829: [11:49:53] <desperate> and add text against the images
830: [11:50:14] <desperate> so I am not if i need to create an ImageItem which has_one image
831: [11:50:24] <desperate> or whether to extend and image
832: [11:51:14] <howardgrigg> desperate: there are a few different ways to set this up but you'll probably go with a Gallery many_many GalleryObjects
833: [11:51:57] <howardgrigg> where each GalleryObject $has_one Image and $db "Caption" => "Text"
834: [11:52:32] <howardgrigg> then have a gridfield in each gallery that manages the galleryobjects
835: [11:53:41] <desperate> yeah I think that is the approach
836: [11:53:47] <howardgrigg> but there are gallerys floating around - although it only takes a few minutes to build one once you get your head around it
837: [11:53:47] <desperate> so a Gallery extends page?
838: [11:54:06] <desperate> and GalleryObjects extends DataObject/
839: [11:54:19] <howardgrigg> yea
840: [11:54:44] <desperate> how will the user decide if an image belongs to gallery A or B
841: [11:54:55] <desperate> check boxes?
842: [11:55:55] <howardgrigg> the default is they can upload them directly to each gridfield or search (using their caption) for a preexisting object and add that
843: [11:56:31] <howardgrigg> or else there is a module which adds checkboxes to the gridfield so all images are listed and they just tick the ones they want included
844: [11:56:47] <desperate> ah i see... and so when a galleryObject belongs to a gallery this is just a foreign key
845: [11:58:09] <howardgrigg> yup
846: [11:58:48] <dangerdan> so basically these extensions automate the setup of a dummy ss install?
847: [11:58:55] <dangerdan> the behat and travis extensions
848: [12:00:20] * Error404NotFound has joined #silverstripe
849: [12:00:45] * Error404NotFound quit (Client Quit)
850: [12:00:49] <howardgrigg> desperate: see this module for the checkboxes - it was written by simon_w (who's in here) https://github.com/simonwelsh/silverstripe-GridFieldRelationHandler
851: [12:01:26] * howardgrigg doesn't know much about testing
852: [12:02:34] <howardgrigg> desperate: see https://github.com/frankmullenger/silverstripe-gallery
853: [12:11:20] * UndefinedOffset has joined #silverstripe
854: [12:21:30] <howardgrigg> night!
855: [12:24:10] <desperate> thanks Howard
856: [12:24:18] <desperate> that's the same gallery which I came across
857: [12:26:14] * howardgrigg has left #silverstripe
858: [12:28:00] * Pyromanik has joined #silverstripe
859: [12:30:13] * dangerdan quit (Ping timeout: 245 seconds)
860: [12:47:52] <desperate> guys is 'publish' a resevered word
861: [12:48:08] <desperate> i have a dataobject with a boolean field type
862: [12:48:14] <desperate> "publish"
863: [12:48:25] <desperate> in my template i can't output the value
864: [12:48:33] <desperate> in db i can see it has a value of 1
865: [12:48:43] <desperate> i can output all other fields for this object
866: [12:50:01] <kinglozzer> desperate: Is it a page or a DataObject?
867: [12:51:05] <desperate> extedns page
868: [12:51:34] <kinglozzer> I'd guess it's calling the publish() method then. Try adding a getPublish() method to your page class, just return $this->Publish;
869: [12:52:19] <desperate> yes it seems it is a conflict, changing it to publishx works as expected
870: [12:54:25] * stripee has joined #silverstripe
871: [12:55:45] <stripee> In admin/pages ,i want my child pages to be rendered in descending order.how can this be implemented?
872: [13:00:10] <micmania1> stripee: SiteTree::$default_sort
873: [13:00:28] <micmania1> I think, anyway
874: [13:01:04] <stripee> wer to put that code?
875: [13:02:00] <micmania1> set $default_sort as a private static inside your Page class
876: [13:05:29] * qlex2 quit (Read error: Connection reset by peer)
877: [13:05:42] * qlex has joined #silverstripe
878: [13:12:58] * DesignerX quit (Ping timeout: 252 seconds)
879: [13:14:44] * qlex1 has joined #silverstripe
880: [13:15:43] * qlex quit (Ping timeout: 244 seconds)
881: [13:19:16] * qlex1 quit (Ping timeout: 265 seconds)
882: [13:19:48] <stripee> $default_sort as a private static...this dint work.....any other way ??
883: [13:23:26] * Colin[pi] quit (Ping timeout: 252 seconds)
884: [13:23:58] <desperate> I want to add alt text to my images on my site, is there a tag in the files table? Would title work?
885: [13:24:24] * g4b0_ has joined #silverstripe
886: [13:33:48] <micmania1> desperate: $Name should do
887: [13:34:23] * stripee quit (Ping timeout: 245 seconds)
888: [13:50:30] * catcher has joined #silverstripe
889: [14:22:35] * deschebbs quit (Quit: Konversation terminated!)
890: [14:28:20] * Shrike_Finland quit (Quit: Leaving.)
891: [14:36:06] * r3v3rb has joined #silverstripe
892: [14:38:09] <r3v3rb> micmania1: any idea why my blog roll is empty in my blog.ss page - paginatedlist seems not to grab my blog posts...
893: [14:40:29] <micmania1> r3v3rb: are they all published
894: [14:40:31] <micmania1> ?
895: [14:40:45] <r3v3rb> :\ good question
896: [14:40:49] <r3v3rb> let me double check
897: [14:41:04] <r3v3rb> always possible they aren't
898: [14:41:14] * evelin has joined #silverstripe
899: [14:41:27] <evelin> hi
900: [14:41:28] <r3v3rb> as for my footer I didn't check the published boolean ;)
901: [14:41:33] * muskie9 has joined #silverstripe
902: [14:41:56] <r3v3rb> yep both published micmania1
903: [14:42:42] * r3v3rb goes to check code etc
904: [14:43:01] * Pyromanik quit (Read error: Connection reset by peer)
905: [14:43:09] <evelin> is there an issue known with SS 3.1.3 with file upload? I get an error and this error is in my apache log: PHP Fatal error: Call to a member function getFilename() on a non-object in /home/sites/development/www.silverstripe313.hst3/www/framework/forms/UploadField.php on line 1279, referer: http://www.silverstripe313.hst3/admin/assets/add/?ID=0
906: [14:43:20] <kinglozzer> evelin: Yes, known issue
907: [14:43:33] <kinglozzer> https://github.com/silverstripe/silverstripe-framework/issues/2930
908: [14:43:39] <evelin> any solution?
909: [14:44:00] <micmania1> r3v3rb: publish date & server time correct?
910: [14:44:07] <r3v3rb> indeed
911: [14:48:32] <r3v3rb> micmania1: ignore me, the result was there but the div wasn't clearing so the result was hidden behind my footer!
912: [14:48:37] * r3v3rb = muppet
913: [14:49:16] <micmania1> haha nice one
914: [14:58:48] <desperate> is there a sibling loop control?
915: [15:00:15] <micmania1> desperate: what do you mean by sibling?
916: [15:00:46] <r3v3rb> loop Children
917: [15:01:48] <desperate> article holder has)many articles
918: [15:02:03] <desperate> in the articles page I want to loop through all other pages
919: [15:02:39] <desperate> the other pages are not children as they are at the same level
920: [15:02:55] <desperate> *loop through all other articles
921: [15:04:22] <desperate> loops parent loop children works
922: [15:04:26] <desperate> seems to be a bit of a hack though
923: [15:05:14] <micmania1> you could add a siblings method to your page controller?
924: [15:11:23] * Shrike_Finland has joined #silverstripe
925: [15:16:54] * Shrike_Finland quit (Quit: Leaving.)
926: [15:17:49] * Shrike_Finland has joined #silverstripe
927: [15:24:35] * muskie9 quit (Read error: Connection reset by peer)
928: [15:24:45] * r3v3rb quit (Ping timeout: 264 seconds)
929: [15:25:09] * guci0 has joined #silverstripe
930: [15:25:12] * muskie9 has joined #silverstripe
931: [15:25:15] <guci0> Hello World!
932: [15:28:56] * evelin quit ()
933: [15:32:38] * muskie9 quit (Read error: Connection reset by peer)
934: [15:33:15] * muskie9 has joined #silverstripe
935: [15:33:20] * r3v3rb has joined #silverstripe
936: [15:35:32] * muskie9 quit (Read error: Connection reset by peer)
937: [15:35:33] * Teqz has joined #silverstripe
938: [15:35:43] * r3v3rb quit (Client Quit)
939: [15:35:54] <Teqz> hi
940: [15:36:06] * muskie9 has joined #silverstripe
941: [15:36:10] <Teqz> I've got a question about SS_Report
942: [15:36:55] <Teqz> When i set my parameterFields, the output isn't show in sourceRecords
943: [15:39:29] <Teqz> Somebody?
944: [15:40:58] * muskie9 quit (Read error: Connection reset by peer)
945: [15:41:44] * muskie9 has joined #silverstripe
946: [15:42:14] * muskie9 quit (Read error: Connection reset by peer)
947: [15:42:47] * muskie9 has joined #silverstripe
948: [15:46:13] * muskie9 quit (Client Quit)
949: [15:48:08] * guci0 quit (Ping timeout: 245 seconds)
950: [15:52:12] <Teqz> ...
951: [15:58:49] <catcher> Teqz, haven't used that, you'll probably get more feedback in a little while.
952: [16:02:09] * OxFF1 has joined #silverstripe
953: [16:03:18] <micmania1> Teqz: can you paste your code? http://www.sspaste.com/
954: [16:07:49] <Teqz> http://www.sspaste.com/paste/show/531f314d7579a
955: [16:07:52] <Teqz> thanks in advance
956: [16:08:16] <Teqz> my ss version is 3.1.x
957: [16:09:44] <catcher> I'm having a nightmare of a time converting a 5-dimensional array from an API into viewable SS data. Anyone have a shortcut?
958: [16:17:40] <micmania1> Teqz: have you followed this? http://doc.silverstripe.org/framework/en/reference/site-reports
959: [16:18:16] <micmania1> catcher: You just need to convert it to a set of ArrayDate and ArrayLists
960: [16:18:22] <micmania1> ArrayData*
961: [16:22:05] * OxFF1 has left #silverstripe
962: [16:22:51] * muskie9 has joined #silverstripe
963: [16:23:12] <Teqz> yes, i get the error "Fatal error: Class 'SideReport' not found in C:\x****l\public_html\mysite\code\CustomSideReport.php on line 2" when I try to extend it as SideReport
964: [16:23:46] <catcher> micmania1, hoping for some magic, it gets gnarly after the 3rd dimension.
965: [16:26:18] * ARNHOE quit ()
966: [16:28:34] * muskie9 quit (Quit: Page closed)
967: [16:28:42] <micmania1> catcher: Can't you use the data as is?
968: [16:30:55] <catcher> micmania1, it needs to be converted to a Viewable instance for the template to use it, so it's a mess of ArrayDatas & arrays.
969: [16:31:10] <catcher> And then 5 loops in the template
970: [16:31:20] * Shrike_Finland quit (Quit: Leaving.)
971: [16:31:29] <catcher> 5 nested loops at that.
972: [16:37:03] <desperate> guys I have to submit some data via a form to a 3rd party... the 3rd party then send a response which I need to process... a confirmation or denial message
973: [16:37:20] <desperate> any tips on how to incorporate this into my SS site
974: [16:37:44] * Shrike_Finland has joined #silverstripe
975: [16:39:10] <catcher> desperate, I'd probably go with js, make a synchronous call
976: [16:39:55] <ocm> 3rd party no rest nor soap?
977: [16:40:17] <catcher> desperate, or maybe a server-side curl/http request
978: [16:42:13] <micmania1> desperate: check out RestfulService if its just a simple post, otherwise use curl.
979: [16:42:29] * Shrike_Finland quit (Client Quit)
980: [16:43:58] * steveheyes has joined #silverstripe
981: [16:44:04] <steveheyes> hey everyone
982: [16:44:08] <steveheyes> how you all doing?
983: [16:44:44] <steveheyes> I was wondering if someone would be able to help me? I am trying to create a model admin that only shows one form to edit one dataobject
984: [16:45:11] * g4b0_ quit (Ping timeout: 265 seconds)
985: [16:45:28] <desperate> i wanted to make an ajax call and just display a div mask with conirmation but the 3rd party returns a 200.... it's not set up to send a confirmation reply
986: [16:45:29] <steveheyes> so far i have a class that extends ModelAdmin and in the in init() method has a line: $this->redirect('/admin/profile/Member/EditForm/field/Car/item/'.$id.'/edit');
987: [16:45:39] <desperate> they reply with a GET var
988: [16:45:42] <desperate> or POST?
989: [16:45:58] <steveheyes> is there a way to find the right link without hard coding like I have?
990: [16:49:05] * FrozenFire quit (Quit: There's no place like ~)
991: [16:51:33] <catcher> micmania1, how were you suggesting using the data as-is?
992: [16:51:53] <micmania1> Just loop through when you need it
993: [16:52:20] <micmania1> If you know what data structure to expect you could extend DBField and add some control logic in there.
994: [16:56:53] <catcher> micmania1, templates can't display array contents though..
995: [16:58:44] * g4b0_ has joined #silverstripe
996: [17:10:16] * kinglozzer quit ()
997: [17:28:22] <catcher> ugh, finally
998: [17:28:47] <catcher> not so bad once you wrap your head around what's actually happening though.
999: [17:29:07] <catcher> The trick is assigning local references to the nested ArrayLists as you create them, so you can nest under them
1000: [17:32:17] * Liquide has joined #silverstripe
1001: [17:50:18] * UndefinedOffset quit (Quit: Leaving.)
1002: [18:04:48] * desperate quit (Ping timeout: 245 seconds)
1003: [18:07:37] * Liquide quit ()
1004: [18:10:02] * Liquide has joined #silverstripe
1005: [18:12:00] * gelignite has joined #silverstripe
1006: [18:12:28] * UndefinedOffset has joined #silverstripe
1007: [18:14:51] * nbezzala has joined #silverstripe
1008: [18:28:32] * Shrike_Finland has joined #silverstripe
1009: [18:35:55] * g4b0_ quit (Ping timeout: 252 seconds)
1010: [18:36:05] * steveheyes quit (Quit: steveheyes)
1011: [19:02:38] * antmas quit (Quit: Page closed)
1012: [19:14:54] * chillu_23 has joined #silverstripe
1013: [19:17:08] * countress has joined #silverstripe
1014: [19:24:02] * countress quit (Remote host closed the connection)
1015: [19:25:33] * Shrike_Finland quit (Quit: Leaving.)
1016: [19:26:50] * pippy_ has joined #silverstripe
1017: [19:29:32] * pippy quit (Ping timeout: 245 seconds)
1018: [19:31:21] * yuriig has joined #silverstripe
1019: [19:35:21] * antmas has joined #silverstripe
1020: [19:35:35] <antmas> mernin
1021: [19:35:51] <simon_w> I can't fill up my drink bottle :(
1022: [19:36:03] * antmas plays tiny violin
1023: [19:36:15] * simon_w dies of dehydration
1024: [19:36:41] <simon_w> This isn't a one-off thing either. I can no longer fill up my drink bottle at work
1025: [19:36:50] <antmas> why?
1026: [19:37:05] <simon_w> New sinks, so can't fit it under the faucet
1027: [19:37:13] <Stomach> get a hose
1028: [19:40:11] <antmas> +1 for hose
1029: [19:40:23] <antmas> or a wide, low drink bottle
1030: [19:40:57] <antmas> simon_w: http://www.ebay.com/bhp/flexible-water-bottle
1031: [19:41:11] * unsignedint quit ()
1032: [19:41:19] <simon_w> Why not just go for a camel back then?
1033: [19:41:35] <simon_w> Also, those are tiny
1034: [19:42:10] * yuriig quit (Remote host closed the connection)
1035: [19:42:47] <antmas> wait, you guys don't have a water cooler?
1036: [19:42:52] <antmas> water coolers are awesome
1037: [19:43:25] <simon_w> We don't really have an office either
1038: [19:43:50] <antmas> simon_w: :(
1039: [19:43:55] <simon_w> Yeah
1040: [19:44:11] <Ryan-Toast> You need a massive water bottle.
1041: [19:44:18] * gmmail has joined #silverstripe
1042: [19:45:42] <antmas> gave stream home streaming a go last night, works awesome
1043: [19:46:25] * gmmail quit (Remote host closed the connection)
1044: [19:51:51] * zippy____ has joined #silverstripe
1045: [19:52:04] * zippy____ is now known as zippy__
1046: [19:53:47] * unsignedint has joined #silverstripe
1047: [19:54:08] * r3v3rb has joined #silverstripe
1048: [19:54:09] <zippy__> morning
1049: [19:58:42] * zfmf has joined #silverstripe
1050: [19:58:46] <r3v3rb> morning
1051: [19:59:38] <r3v3rb> just switched the supplied router from my fibre install to my old ASUS N55U and turned it into a WAN router through firmware update, was getting 4.5-5MB/s now getting 8.7-9MB/s
1052: [19:59:52] * r3v3rb = happy
1053: [20:00:05] * antmas_ has joined #silverstripe
1054: [20:00:13] * antmas quit (Ping timeout: 245 seconds)
1055: [20:01:50] <r3v3rb> http://www.speedtest.net/my-result/3363886005 :D
1056: [20:01:53] * UncleCheese has joined #silverstripe
1057: [20:01:59] <r3v3rb> hi UncleCheese
1058: [20:02:06] <UncleCheese> HEY THERE
1059: [20:02:29] <Stomach> r3v3rb - what do you need to do, stream 4 HD movies at a time? :D
1060: [20:02:29] <r3v3rb> still having trouble with displaylogic when bootstrap forms isn't installed
1061: [20:02:40] <r3v3rb> Stomach: :D
1062: [20:03:17] <r3v3rb> Stomach: they are only charging me £27pm and that includes line rental and unlimited calls 24/7
1063: [20:03:25] <UncleCheese> isn't installed?
1064: [20:03:29] <UncleCheese> that doesn't make any sens
1065: [20:03:49] <Stomach> displaylogic without bootstrapforms is messing up?
1066: [20:03:56] <Stomach> but it works in combo with bootstrapforms?
1067: [20:04:02] <r3v3rb> if I don't have the bootstrap forms module installed - then displaylogic doesnt work
1068: [20:04:28] <r3v3rb> are they mutually inclusive
1069: [20:05:09] <UncleCheese> nope
1070: [20:05:25] <UncleCheese> i've actually never used the two of them together
1071: [20:05:43] <r3v3rb> hmm, I wonder what I missed then - if its a jquery issue getting loaded twice or some such
1072: [20:07:04] <antmas_> w00t, Surface Pro 2 on it's way to my desk :D
1073: [20:08:33] <r3v3rb> antmas_: I want one
1074: [20:08:41] <r3v3rb> let me know if its worth having
1075: [20:10:59] <Stomach> are they cheap?
1076: [20:11:45] * Stomach winces at the prices
1077: [20:11:51] * stripemonkey has joined #silverstripe
1078: [20:12:00] <stripemonkey> Hi o/
1079: [20:12:07] <antmas_> we get a pretty hefty discount
1080: [20:12:14] * antmas_ is now known as antmas
1081: [20:12:53] <antmas> we're testing tablet options for mobile building inspectors and the tech team said to order an extra one for our dev team :D
1082: [20:13:17] <Stomach> i love new toys
1083: [20:13:26] <stripemonkey> I've just added the silverstripe/googlesitemaps module and it isn't listing anything in sitemap.xml except itself, what might cause that?
1084: [20:14:26] <stripemonkey> I'm using the subsites module too, might that be a problem for sitemaps?
1085: [20:15:27] <Ryan-Toast> Is it possible to upload several images at once and then drag/drop them into the correct order?
1086: [20:15:54] <Stomach> Ryan-Toast yes
1087: [20:16:03] <Stomach> "bummzack/sortablefile": "dev-master"
1088: [20:16:11] <Ryan-Toast> Stomach: Is it like a batch upload grid field, or something|
1089: [20:16:16] <antmas> bummzack?
1090: [20:16:17] <antmas> :P
1091: [20:16:19] <Stomach> SortableUploadField::create('ProductImages', 'Product Images')
1092: [20:16:31] <stripemonkey> Ah, never mind, the URL it provides lists all the others!
1093: [20:16:35] <stripemonkey> How odd!
1094: [20:16:45] <Stomach> stripemonkey - oh yes, thats the sitemap index
1095: [20:17:15] <Ryan-Toast> Stomach: Will that conflict with the SortableGridField module?
1096: [20:17:23] <Stomach> nope
1097: [20:17:25] <stripemonkey> Stomach: why is there an index to an index, can I make it simply list it all at once?
1098: [20:17:32] <Ryan-Toast> Stomach: Cheers, man.
1099: [20:17:36] <r3v3rb> stripemonkey: I think that is the 'correct' way to provide a sitemap now
1100: [20:17:37] * zippy__ quit (Ping timeout: 240 seconds)
1101: [20:17:45] <Stomach> stripemonkey - thats how its supposed to be now
1102: [20:17:55] <stripemonkey> r3v3rb & Stomach: ah OK
1103: [20:17:59] <stripemonkey> Thanks
1104: [20:18:12] <r3v3rb> looks wrong to me but what do I know... very little
1105: [20:18:14] <r3v3rb> :D
1106: [20:18:26] <antmas> lame, Surfaces don't have GPS, NFC or mobile bb
1107: [20:19:15] * zippy____ has joined #silverstripe
1108: [20:19:32] <Stomach> Ryan-Toast - no problem. you also need to add SortableFile to the image class or extended class you are using for it to work
1109: [20:19:50] <Stomach> might not be good for hundreds of images though, just 1-15ish
1110: [20:19:57] <Ryan-Toast> Stomach: Sweet, that stuff will be in the install instructions, right?
1111: [20:20:05] <Stomach> yeah
1112: [20:20:08] <Ryan-Toast> Swish.
1113: [20:20:17] <UncleCheese> wow… SortableUploadField.. nice find
1114: [20:20:22] <UncleCheese> bummzack does it again
1115: [20:20:54] <Ryan-Toast> Bummzack...can't get over that name.
1116: [20:21:25] <antmas> yeah
1117: [20:21:57] <antmas> man, I could use that module
1118: [20:23:02] <Stomach> UncleCheese - I've been using it for a while, its quite nice
1119: [20:23:19] <Ryan-Toast> I need to make a reaaaaly good gallery module.
1120: [20:23:20] <Stomach> bummzacks 2.4 color picker is still my favourite though
1121: [20:24:03] <UncleCheese> i think that module needs a Color fieldtype
1122: [20:24:06] <UncleCheese> that would be so tight
1123: [20:24:10] * violet- has joined #silverstripe
1124: [20:24:14] <UncleCheese> $MyColorField.RGB
1125: [20:24:16] <antmas> UncleCheese: YES
1126: [20:24:22] <r3v3rb> SortableUploadField over UploadField why?
1127: [20:24:28] <Ryan-Toast> Why does no-one ever post a screenshot ><
1128: [20:24:32] * violetina quit (Ping timeout: 245 seconds)
1129: [20:24:41] <Ryan-Toast> r3v3rb: So you can order them.
1130: [20:24:41] <Stomach> r3v3rb - you cant mass upload and then sort on that can you?
1131: [20:24:45] <UncleCheese> antmas why forego sorting when you can have it?
1132: [20:25:10] <r3v3rb> Ryan-Toast: Stomach ok, so no need to have them as DO's in a gridfield separately - I get it
1133: [20:25:16] <antmas> UncleCheese: I... I wouldn't?
1134: [20:25:37] <Stomach> lol
1135: [20:25:40] <UncleCheese> oh sorry
1136: [20:25:44] <UncleCheese> i tagged the wrong user
1137: [20:25:44] <antmas> :P
1138: [20:25:45] <Stomach> yeah thats it r3v3rb
1139: [20:25:51] <UncleCheese> irc sucks
1140: [20:25:54] <Ryan-Toast> r3v3rb: yeah, telling a client they have to add their 30 images for their gallery individually is not something I want to do.
1141: [20:26:05] <antmas> I love IRC - makes it feel like it's 1997
1142: [20:26:21] <r3v3rb> yeh baby - antmas 1997 all over again please
1143: [20:27:02] <Stomach> its like 2000 for me
1144: [20:27:10] <Stomach> downloading dreamcast iso
1145: [20:27:38] <catcher> What gets bypassed when partial caching is used? The action still seems to run in its entirety, so how do calculations get bypassed?
1146: [20:27:41] <antmas> I pretty much judge all money on 'number of coffees that would cost' and time by 'whether or not it was before or after The Matrix'
1147: [20:28:27] <r3v3rb> Stomach: huh?
1148: [20:28:37] <r3v3rb> ;)
1149: [20:28:50] <Ryan-Toast> antmas: I judge all mine by how-much-do-I-have-left
1150: [20:29:01] * UndefinedOffset quit (Quit: Leaving.)
1151: [20:29:11] * zippy____ slaps antmas around a bit with a large trout
1152: [20:29:33] <Ryan-Toast> zippy___: http://wiki.teamfortress.com/wiki/Holy_Mackerel
1153: [20:29:38] <antmas> zippy____: :O
1154: [20:29:51] <antmas> zippy____: you need a license for that
1155: [20:30:25] * antmas installs TF2 again
1156: [20:30:36] <zippy____> probably need a license for this extension on the house as well...
1157: [20:30:57] <antmas> zippy____: I'll send the inspector over ;)
1158: [20:31:06] <zippy____> fucking council and there rates and telling me what to do with my land
1159: [20:31:14] * antmas looks up zippy____ rates account
1160: [20:31:34] <zippy____> Name: zippy___
1161: [20:31:36] <zippy____> Account not found :D
1162: [20:31:54] * antmas runs a whois on Zippy
1163: [20:32:16] <zippy____> does the council have a reverse ip lookup :)
1164: [20:32:23] * guttmann has joined #silverstripe
1165: [20:32:32] <antmas> zippy____: that's classified
1166: [20:32:50] <zippy____> only on tv I think… oh and NSA
1167: [20:33:03] <zippy____> just have to enhance…. enhance…. there is zippy waving!
1168: [20:33:16] <antmas> XD
1169: [20:35:55] * guttmann quit (Client Quit)
1170: [20:36:40] <antmas> another patrick working in govt it?
1171: [20:36:41] <antmas> :D
1172: [20:37:17] <zippy____> did you just lookup yourself?
1173: [20:37:59] <antmas> nope ^^ gutman's address
1174: [20:40:34] <Stomach> his name isn't patrick
1175: [20:40:44] * r3v3rb_ has joined #silverstripe
1176: [20:41:02] <Ryan-Toast> does anyone have the new Facebook design? Fuck it's thin.
1177: [20:42:29] * r3v3rb quit (Ping timeout: 265 seconds)
1178: [20:42:30] * r3v3rb_ is now known as r3v3rb
1179: [20:42:33] <r3v3rb> ugh, my wife bought PG Tips tea bags from 'PoundLand' they taste like facking floor sweepings - she should know better... biatch
1180: [20:43:01] <Ryan-Toast> r3v3rb: Need that english breakfast.
1181: [20:43:43] <Stomach> Earl Grey!
1182: [20:44:02] <Ryan-Toast> Stomach: Shuuuuun
1183: [20:44:40] <r3v3rb> :D i prefer tetley tbh
1184: [20:45:03] <Ryan-Toast> r3v3rb: You're a crazy person :P
1185: [20:46:27] <r3v3rb> must work... bbl
1186: [20:46:36] <Stomach> yeah thats probably a good idea
1187: [20:46:38] <Stomach> toodles
1188: [20:46:47] <r3v3rb> au revoir
1189: [20:46:49] * r3v3rb quit (Quit: r3v3rb)
1190: [20:51:39] <zippy____> Coffee bitches!
1191: [20:54:34] <simon_w> Grapes, hoes!
1192: [20:54:48] <Ryan-Toast> Sigh, clients are so dumb.
1193: [20:55:04] <zippy____> Ryan-Toast: more blinking?
1194: [20:55:40] <Ryan-Toast> "How do I get my video embed code?" - If you look under the field that you've been typing in theres a big heading g that says "How to get your embed code".
1195: [20:56:04] <Ryan-Toast> "Oh, I didn't know that was for me"
1196: [20:56:11] * Ryan-Toast facepalm.
1197: [20:58:19] * Jakx has joined #silverstripe
1198: [21:00:18] <Jakx> If I add a director rule such as: "mycontroller//$Action/$Custom/$ID/$OtherID" will this add "Custom" to my URL params?
1199: [21:05:10] <simon_w> Will in handleRequest() but not afterwards
1200: [21:05:35] <antmas> Earl Grey tastes like flowers
1201: [21:05:37] <antmas> aka gross
1202: [21:06:21] <Jakx> simon_w, ty
1203: [21:11:10] <catcher> Anyone know exactly how/what partial caching bypasses? Does it only work with DataLists?
1204: [21:12:24] * zfmf quit ()
1205: [21:12:47] * UncleCheese__ has joined #silverstripe
1206: [21:12:50] <simon_w> catcher, it bypasses whatever's in the <% cached %> block
1207: [21:15:02] <catcher> simon_w, the entire controller action still runs though, is that right?
1208: [21:15:10] <simon_w> catcher, yes
1209: [21:15:55] <catcher> simon_w, so it can't actually bypass any controller logic.
1210: [21:16:12] <simon_w> catcher, yes it can. Just not action logic
1211: [21:17:16] <catcher> simon_w, does it bypass all non-action methods used within the <% cached %> block then?
1212: [21:17:24] <simon_w> yes
1213: [21:17:39] <catcher> aha, interesting. ty
1214: [21:18:40] <catcher> With SS_Cache, is it a problem to set_cache_lifetime on the fly, i.e. in a controller on each request?
1215: [21:19:51] <catcher> I need to set different lifetimes for different objects of the same class.
1216: [21:19:55] * stripemonkey quit (Quit: Page closed)
1217: [21:21:53] * an_Eskimo has joined #silverstripe
1218: [21:26:15] <an_Eskimo> Hey guys, am in a stick of trouble, have just implmented three emails to be sent. Two are working, but one is not, and I have pretty much done the same for all three.
1219: [21:26:30] <an_Eskimo> the last one isn't actually populating the template at all
1220: [21:26:40] <an_Eskimo> code for reference http://www.sspaste.com/paste/show/531f7bc243817
1221: [21:26:54] <simon_w> catcher, you can pass the expiration value to set()
1222: [21:27:52] <catcher> simon_w, set_cache_lifetime()? Or something else?
1223: [21:27:57] * lab-notes quit (Ping timeout: 245 seconds)
1224: [21:28:07] <simon_w> catcher, $cache->set($value, $key, $expire), or something like that
1225: [21:28:18] <zippy____> css only tooltips not to bad..
1226: [21:28:22] <antmas> anyone ever attempted to export a csv from automagically?
1227: [21:28:31] <antmas> from-*
1228: [21:29:06] <catcher> simon_w, interesting, not in the API docs, I'll check that out. And it's okay to do that in a controller action on each request, basically overwriting it?
1229: [21:29:16] <antmas> I wonder if I could just make a task and cron it...
1230: [21:29:29] <simon_w> catcher, check the Zend_Cache docs and yes
1231: [21:32:10] * robert___ has joined #silverstripe
1232: [21:32:10] * robert___ quit (Changing host)
1233: [21:32:10] * robert___ has joined #silverstripe
1234: [21:33:00] * zippy____ quit (*.net *.split)
1235: [21:33:00] * unsignedint quit (*.net *.split)
1236: [21:33:06] * spronk quit (*.net *.split)
1237: [21:33:07] * geekdenz quit (*.net *.split)
1238: [21:33:07] * Stomach quit (*.net *.split)
1239: [21:33:07] * jrthomer_ quit (*.net *.split)
1240: [21:33:08] * wmk quit (*.net *.split)
1241: [21:33:32] * UncleCheese__ quit (Quit: UncleCheese__)
1242: [21:33:42] <antmas> simon_w: would that be possible? to create a job that exports a csv from a gridfield?
1243: [21:33:49] <simon_w> antmas, yes
1244: [21:33:54] <antmas> :D
1245: [21:34:01] <simon_w> antmas, there's a component for it already
1246: [21:34:14] <antmas> simon_w: oh yeah?
1247: [21:34:20] <simon_w> GridFieldExportButton
1248: [21:34:24] <simon_w> or some such
1249: [21:34:59] <antmas> simon_w: yes, but I'd want to run it automatically via cron?
1250: [21:35:16] <antmas> ?-*
1251: [21:35:20] <simon_w> Then it's not really exporting from a GridField :p
1252: [21:35:48] <antmas> hmm
1253: [21:35:50] <antmas> I guess not
1254: [21:35:56] <antmas> grab them all from mysql?
1255: [21:36:09] <simon_w> antmas, have a look at how GridFieldExportButton->generateExportFileData() works, copy that
1256: [21:36:20] <antmas> simon_w: will do, thanks
1257: [21:37:27] <antmas> awesome
1258: [21:38:07] * zippy____ has joined #silverstripe
1259: [21:38:11] <antmas> I'm thinking about grabbing all form entries and importing them into a mssql db for some reporting
1260: [21:38:15] <antmas> this'll probably work
1261: [21:38:21] * geekdenz has joined #silverstripe
1262: [21:38:29] * jrthomer has joined #silverstripe
1263: [21:38:30] * unsignedint has joined #silverstripe
1264: [21:39:03] * Jakx quit (*.net *.split)
1265: [21:39:07] * UncleCheese quit (*.net *.split)
1266: [21:39:07] * nbezzala quit (*.net *.split)
1267: [21:39:07] * simon_w|air quit (*.net *.split)
1268: [21:39:08] * robert_ quit (*.net *.split)
1269: [21:39:08] * Ryan-Toast quit (*.net *.split)
1270: [21:39:10] * pippy_ quit (*.net *.split)
1271: [21:39:10] * chillu_23 quit (*.net *.split)
1272: [21:39:11] * McLovin123 quit (*.net *.split)
1273: [21:39:17] * Stomach[Ache] has joined #silverstripe
1274: [21:39:28] <catcher> simon_w, I see a setLifetime() that doesn't seem to be working for me, but no set(), am I missing it?
1275: [21:39:32] * Stomach[Ache] is now known as Stomach
1276: [21:40:23] * lab-notes has joined #silverstripe
1277: [21:40:55] <simon_w> catcher, save() or whatever the actual method you call to stick things in is
1278: [21:41:17] * wmk has joined #silverstripe
1279: [21:41:17] * pippy_ has joined #silverstripe
1280: [21:41:17] * chillu_23 has joined #silverstripe
1281: [21:41:17] * McLovin123 has joined #silverstripe
1282: [21:44:20] <zippy____> I want to add a couple of field options to userfields - I think it's better to extend the actual class. Or is it SS best to be a data extension?
1283: [21:45:05] * nickmolhoek has joined #silverstripe
1284: [21:48:49] * Jakx has joined #silverstripe
1285: [21:49:26] <zippy____> >> For example, the decorator method above wouldn't work if you added to a class that didn't have static $has_one explicitly declared on the object. This is because of PHP's crappy support for statics.
1286: [21:49:30] <zippy____> feel the rage in the docs!
1287: [21:49:55] <Jakx> lol
1288: [21:52:29] * Kim__ has joined #silverstripe
1289: [21:52:33] <simon_w> That could probably get removed now
1290: [21:53:38] <catcher> simon_w, seems to be working, thanks!
1291: [21:53:46] * nbezzala has joined #silverstripe
1292: [21:54:23] <catcher> simon_w, I'm a little unsure about the id param.. I'm assuming I can leave that null since that's how it's typically used?
1293: [21:55:03] <simon_w> catcher, it's the key to use. Defaults to the last one you tried to get()
1294: [21:56:22] <Kim__> Hi I was wondering if anyone has experience a problem where a page never finishes saving I am not seeing any errors
1295: [21:56:32] <catcher> simon_w, ah, so maybe it's the tags I'm unsure on
1296: [21:58:08] <catcher> simon_w, it seems to behave normally (cache file names are the same) if id is null and tags are array(cacheName, cacheKey)
1297: [21:59:19] <Stomach> github down
1298: [21:59:20] <Stomach> :S
1299: [22:00:41] * pippy_ is now known as pippy
1300: [22:03:29] * OxFF1 has joined #silverstripe
1301: [22:08:00] <zippy____> Kim__: How do you mean?
1302: [22:08:58] * Kim__ quit (Ping timeout: 245 seconds)
1303: [22:09:08] * spronk has joined #silverstripe
1304: [22:13:07] * howardgrigg has joined #silverstripe
1305: [22:27:00] * willr has joined #silverstripe
1306: [22:33:19] * Colin[pi] has joined #silverstripe
1307: [22:36:17] <Colin[pi]> morning!
1308: [22:36:25] <zippy____> hi
1309: [22:36:34] <antmas> Colin[pi]: wazzzzzzzuuuuuuuup
1310: [22:37:23] <Colin[pi]> this malaysian plane thing just keeps getting weirder
1311: [22:37:37] <antmas> indeed
1312: [22:37:43] <antmas> I reckon pilot suicide now
1313: [22:38:05] <pippy> wait what happened with the plane?
1314: [22:38:12] <Colin[pi]> and now someone reported it was possibly still airborne an hour after it "disappeared" wtf
1315: [22:38:33] <Colin[pi]> pippy: have you been living under a rock? ;)
1316: [22:38:39] <pippy> "aliens"
1317: [22:38:52] <pippy> last i heard they found a door or something in the ocean
1318: [22:39:03] <Colin[pi]> they found some debris which was unrelated apparently
1319: [22:39:23] <antmas> I know exactly what happened http://www.jasonzapata.com/wp-content/uploads/2013/09/Cthulhu1.jpg
1320: [22:39:34] * catcher quit (Quit: Leaving)
1321: [22:39:38] <Colin[pi]> lol
1322: [22:39:56] <Colin[pi]> actually there's a photo circulating of the co-pilot with some cute chick in the cockpit with him
1323: [22:40:02] <Colin[pi]> explantation: cockpit orgy
1324: [22:40:12] <pippy> lappy while flying
1325: [22:40:18] <Colin[pi]> someone put their arse on the controls
1326: [22:40:42] <pippy> they decided to get the controll stick involved
1327: [22:40:48] <Colin[pi]> lol
1328: [22:41:21] <pippy> perhaps they decided to fly to valhalla isntead
1329: [22:41:28] * headtrip quit (Ping timeout: 245 seconds)
1330: [22:44:30] <Stomach> malaysian viking airlines
1331: [22:44:32] <Stomach> ?
1332: [22:48:55] <Colin[pi]> ah big business bullshit
1333: [22:49:03] <Colin[pi]> the petrol price in canberra never lowers, it's always high
1334: [22:49:08] <Colin[pi]> yet in Sydney there is a cycle
1335: [22:49:15] <Colin[pi]> high on thurs, low on tues
1336: [22:49:23] <Colin[pi]> so I emailed Shell to ask why this is
1337: [22:49:35] * zippy____ quit (Ping timeout: 252 seconds)
1338: [22:49:40] <Colin[pi]> they passed the buck and said I need to ask Coles Express (who run the stations)
1339: [22:49:53] <Colin[pi]> so I emailed Coles Express a week ago, and so far no response at all
1340: [22:50:17] <simon_w> I know which petrol station you use now! MUAHAHAHAHAHA!
1341: [22:50:41] <Colin[pi]> actually it doesn't really matter, they're all the same ;P
1342: [23:05:43] <antmas> lol at attempting to contact petrol companies
1343: [23:06:23] <Colin[pi]> yeah I know I will get a BS response, I just think it's amusing
1344: [23:06:23] * nimeso has joined #silverstripe
1345: [23:08:21] <nimeso> hmmmm, why would changes to the 'Content' not be showing on the front-end? I'm pretty sure I don't have a cache folder set up.
1346: [23:08:40] <Colin[pi]> did you save or save and publish?
1347: [23:08:41] <nimeso> It saves the text fine in the CMS
1348: [23:08:51] <nimeso> Save and publish
1349: [23:09:07] <Colin[pi]> hmm should be there
1350: [23:09:11] <nimeso> thanks colin for ya time
1351: [23:09:18] <nimeso> yer... it super weird
1352: [23:09:38] * Ryan-Toast has joined #silverstripe
1353: [23:13:26] <howardgrigg> gah stupid git system
1354: [23:17:08] <antmas> heh, apparently you can stream Origin games through steam
1355: [23:17:09] <antmas> :D
1356: [23:19:05] <howardgrigg> So I made a pull request, it was wrong so it's been closed, I've corrected it and pushed the correct commit to the same branch. How do I add that commit to the pull request and reopen it?
1357: [23:19:08] <howardgrigg> see https://github.com/silverstripe/silverstripe-framework/pull/2943
1358: [23:19:22] <simon_w> howardgrigg, open another pull request
1359: [23:19:42] <simon_w> Also, the pull request should only have one commit in it
1360: [23:19:56] <howardgrigg> yea I merged them :)
1361: [23:22:30] * gelignite quit (Quit: http://bit.ly/nkczDT)
1362: [23:22:38] * kim__ has joined #silverstripe
1363: [23:24:19] <kim__> Hi I was wondering if anyone has experience a problem where a page never finishes saving just says saving. I am not sure how to go about troubleshooting this as I see not error.
1364: [23:26:06] * nimeso quit (Quit: Page closed)
1365: [23:50:31] <antmas> o.O http://www.stuff.co.nz/life-style/life/9819265/Twins-take-identical-to-next-level
1366: [23:51:13] * McLovin123 quit (Ping timeout: 240 seconds)
1367: [23:51:41] <unsignedint> kim__: fire up your web inspector and look at the AJAX request that gets made when you click save. no doubt its erroring
1368: [23:52:27] <Colin[pi]> antmas: saw that, so fucking ugly they are too
1369: [23:53:09] <antmas> Colin[pi]: yeah. ew.
1370: [23:53:26] <Colin[pi]> I will never understand how women think they look good with that much plastic surgery
1371: [23:53:46] <Colin[pi]> lips like a fucking groper fish
1372: [23:54:11] <antmas> Colin[pi]: haha, glub glub
1373: [23:54:13] <Colin[pi]> lol
1374: [23:54:24] <pippy> Colin[pi]: lol
1375: [23:54:26] <howardgrigg> simon_w: I fetched upstream and rebased against master but I'm still getting someone elses commit showing up when I go to make the pull request https://github.com/howardgrigg/silverstripe-framework/compare/silverstripe:master...patch-2
1376: [23:54:31] <howardgrigg> any idea?
1377: [23:55:39] <simon_w> howardgrigg, there's been a commit to 3.1 (which you should be targeting) that hasn't been merged into master yet

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