#silverstripe IRC Log

IRC log for 14 March 2014

All timestamps are in UTC.

1: [00:08:11] * SphereSilverNL quit (Remote host closed the connection)
2: [00:14:20] * k_fish__ quit (Read error: Connection reset by peer)
3: [00:14:26] * k_fish_ has joined #silverstripe
4: [00:15:59] * ri0ter has joined #silverstripe
5: [00:16:03] <ri0ter> Hi
6: [00:16:12] * mrzero_ has joined #silverstripe
7: [00:16:12] * mrzero_ quit (Changing host)
8: [00:16:12] * mrzero_ has joined #silverstripe
9: [00:16:38] <ri0ter> Can anybody tell me how to get allowed file extension in the template for FileField?
10: [00:17:30] <simon_w> ri0ter, as it's an array rather than an ArrayList, you'd need to provide a method that does that
11: [00:18:29] * mrzero quit (Read error: Connection reset by peer)
12: [00:18:30] <zippy____> ahhh wtfff!
13: [00:18:30] * mrzero_ is now known as mrzero
14: [00:19:02] <zippy____> Sit down with my noodles to watch that SS page type itus video, and it's been removed! 
15: [00:19:10] * SightUnseen quit (Quit: Leaving.)
16: [00:19:14] <zippy____> ss23: Where the video go!!
17: [00:20:13] * OxFF1 has joined #silverstripe
18: [00:20:40] <ri0ter> Ok, one more question, i've tried to make my own ajax function to upload form fields and file. Can You tell me is it possible to do that using iFrame?
19: [00:21:25] <ri0ter> Cuz i got it working for my static page, but culdn't do the same wit SS
20: [00:26:10] * OxFF1 has left #silverstripe
21: [00:29:48] * violet- quit (Remote host closed the connection)
22: [00:32:27] * UncleCheese has joined #silverstripe
23: [00:32:38] * muskie9 quit (Read error: Connection reset by peer)
24: [00:33:04] * muskie9 has joined #silverstripe
25: [00:36:24] * MusicMann has joined #silverstripe
26: [00:37:24] * joelpittet has joined #silverstripe
27: [00:39:56] * joelpittet quit (Client Quit)
28: [00:45:05] <zippy____> oh yeus! I just realised I could grab the key off my keyboard I splieed coffee on the other month
29: [00:45:10] <zippy____> oh praise jesus!
30: [00:45:31] <zippy____> having a retarded ; was really annoying
31: [00:47:16] * UncleCheese_ has joined #silverstripe
32: [00:47:53] * UncleCheese quit (Read error: Connection reset by peer)
33: [00:47:53] * UncleCheese_ is now known as UncleCheese
34: [00:52:58] * Nimle has joined #silverstripe
35: [00:53:50] <antmas> zippy____: you mean you can remove the key?
36: [00:56:17] * markcl has joined #silverstripe
37: [00:56:21] <markcl> hello
38: [00:56:22] <zippy____> yes
39: [00:56:27] <antmas> a little thing I'm working on :D http://i.imgur.com/k3oYf47.jpg
40: [00:56:53] <markcl> I can't seem to use:
41: [00:56:54] <markcl> <% if $pageIsViewedInDesktop %>
42: [00:56:55] <markcl> <% if $currentUserIsLoggedInInFacebook %>
43: [00:57:02] <antmas> Sharepoint theming is like Drupal theming :(
44: [00:57:22] <markcl> i mean, i cant seem to use: <% if $page.IsViewedInDesktop %>
45: [00:57:23] <markcl> <% if $currentUser.IsLoggedInInFacebook %>
46: [00:57:52] <markcl> but if i make a function called pageIsViewedInDesktop that calls page()->isViewedInDesktop it works
47: [00:58:40] <markcl> i thought $page.isViewedInDesktop will call $controller->page()->isViewedInDesktop()
48: [00:58:44] <markcl> but it doesnt seem to for me
49: [00:59:26] <zippy____> markcl: Do you mean, just, isViewedInDesktop
50: [00:59:28] <zippy____> markcl: If you are on the page, you don't have to use $page to access it's self… you might want to do $Top.IsViewedInDesktop incase your in a loop
51: [01:02:06] <zippy____> what context are you in?
52: [01:02:16] <zippy____> it will call $this->page()->isViewedInDesktop()
53: [01:02:16] <zippy____> paste codes
54: [01:02:16] <zippy____> unsignedint: find out who did it?
55: [01:03:27] <unsignedint> zippy____: nah
56: [01:03:38] <unsignedint> some poor bastard
57: [01:06:25] <markcl> zippy____: $page is a variable inside the controller
58: [01:06:29] <markcl> not an actual silverstripe page
59: [01:06:32] <markcl> sorry for the confusion
60: [01:07:03] * muskie9_ has joined #silverstripe
61: [01:07:15] <markcl> what i want to do is call the subfunction isViewedInDesktop() from the $page class inside the current Controller where I'm in.
62: [01:07:32] <markcl> kind of like <% if $class.subfunction %>
63: [01:07:49] <markcl> should call $this->class()->subfunction();
64: [01:08:07] <markcl> and pass it to the if statement
65: [01:08:14] * muskie9 quit (Ping timeout: 240 seconds)
66: [01:10:40] <zippy____> unsignedint: I worked it out
67: [01:11:14] <unsignedint> zippy____: oh really? what did you ascertain then?
68: [01:12:55] <zippy____> unsignedint: If you view the source code, and look near the top
69: [01:13:41] <unsignedint> how far near the top. is it in the <head> or the <body>?
70: [01:14:07] <zippy____> You can see that the Contact Us will display on mouse over - and on there is a phone number to ring the council
71: [01:14:07] <zippy____> :P
72: [01:14:07] <zippy____> was developed in house by a Lee Tong
73: [01:14:07] <zippy____> markcl: Probably then <% with $page %><% if isViewedInDesktop %>fooo <% end_if %><% end_with %>
74: [01:14:07] <zippy____> ^^
75: [01:15:44] <unsignedint> zippy____: nope still cant see it. searching the source for 'Lee' returns nothing too
76: [01:17:28] <markcl> wow! awesome! thanks zippy!
77: [01:17:30] <zippy____> unsignedint: they have a number of websites as well, but most don't look good; http://www.bing.com/search?q=ip%3A119.47.116.97&go=&qs=n&form=QBLH&filt=all&pq=ip%3A119.47.116.97&sc=0-3&sp=-1&sk=
78: [01:17:32] <zippy____> dude...
79: [01:17:32] <zippy____> read what I said
80: [01:17:48] <markcl> i know i can just make it into a function but i am obsessed about readable and elegant code
81: [01:18:07] <markcl> hopefully in the future they can support $subclass.function in if statements
82: [01:18:28] <zippy____> what comes after my 'look near the top' message?
83: [01:18:28] <zippy____> There is a number to ring them… so I rang them..
84: [01:18:29] <markcl> im new to silverstripe and use it because its what my client wants me to use
85: [01:18:38] <markcl> where can i suggest that they support that?
86: [01:18:51] <markcl> does ss have some sort of suggestions forum?
87: [01:19:16] <unsignedint> zippy____: oh right. I thought that the data was next to the number, not that you actually rang them :P but thanks haha
88: [01:19:17] <zippy____> unsignedint: I rang them
89: [01:19:55] <zippy____> markcl: I sure they could/do, seems a bit odd indeed
90: [01:25:25] <ri0ter> I'll repeat my question
91: [01:25:54] <ri0ter> Can anybody tell mi, if there's a way to send a contact form with a file using iFrame in template?
92: [01:26:34] * cloph_away has joined #silverstripe
93: [01:30:30] * cloph quit (Ping timeout: 240 seconds)
94: [01:30:33] * boytikz1 quit (Ping timeout: 240 seconds)
95: [01:31:37] * MusicMann quit (Ping timeout: 240 seconds)
96: [01:31:55] * MusicMann has joined #silverstripe
97: [01:37:22] * SightUnseen has joined #silverstripe
98: [01:39:42] <zippy____> ri0ter does it need to use an iframe? what about using a restricted UserForm?
99: [01:39:43] <zippy____> Ryan-Toast: How'd you get on with a restricted UploadForm the other day, I think you had some style issues?
100: [01:40:16] <ri0ter> zippy____ i don't know what is restricted UserForm
101: [01:40:30] <zippy____> hops, not UserForm - I mean UploadForm
102: [01:40:31] <ri0ter> it just need to be ajax compatibile with IE8+
103: [01:41:00] <ri0ter> but if i'l use upload form people without FlashPlayer won't be able to use it
104: [01:41:04] <ri0ter> right?
105: [01:41:55] <unsignedint> it just dawned on me. my nick is unsignedint and suggests I dont support negative values, yet I am a natural pessimist. WHAT HAVE I DONE?
106: [01:42:08] <simon_w> ri0ter, UploadField is entirely HTML
107: [01:42:22] <simon_w> unsignedint, underflow
108: [01:42:45] <ri0ter> Ohhh, that's cool
109: [01:42:47] <unsignedint> oh, phew
110: [01:43:01] <ri0ter> simon_w: is it cross-browser?
111: [01:43:15] <simon_w> ri0ter, yes
112: [01:43:31] <ri0ter> one last question, Ca
113: [01:43:42] * SightUnseen has left #silverstripe
114: [01:43:49] <ri0ter> How to use custom ajax script with this one?
115: [01:44:18] <ri0ter> and can I style it freely?
116: [01:45:45] * sreveD has joined #silverstripe
117: [01:47:21] <ri0ter> simon_w ?
118: [01:47:39] <simon_w> What do you need a custom AJAX script for?
119: [01:47:44] <simon_w> And yes, you can style it
120: [01:50:29] * nbezzala quit (Ping timeout: 240 seconds)
121: [01:52:33] <ri0ter> Maybe I don't need it so much, cuz I've don it without ajax
122: [01:52:43] <ri0ter> but I'm just curious
123: [01:53:25] * nbezzala has joined #silverstripe
124: [01:53:27] <ri0ter> I wanted to make a page, fast
125: [01:53:51] * nickmolhoek quit (Ping timeout: 255 seconds)
126: [01:53:51] <ri0ter> I had a html template already don, so i just had to move it into ss
127: [01:54:09] * nickmolhoek has joined #silverstripe
128: [01:54:58] <ri0ter> but then i realized that there are so many wrappers that r different from what i have in my HTML, and I thought to just use input's like $Form.FieldByName
129: [01:57:02] <ri0ter> simon_w so? is that possible?
130: [02:00:41] * boytikz has joined #silverstripe
131: [02:05:56] <antmas> having to move house suuuuuuuucks
132: [02:06:12] <unsignedint> indeed
133: [02:06:19] * Colin[pi] quit ()
134: [02:06:25] <unsignedint> did you get kicked out?
135: [02:07:45] * MusicMann quit (Ping timeout: 240 seconds)
136: [02:09:51] * Colin[pi] has joined #silverstripe
137: [02:13:51] <zippy____> antmas: don't hear one of those every day
138: [02:14:24] * FrozenFire is now known as benig
139: [02:14:55] <ri0ter> Hmmm, wierd
140: [02:15:23] <ri0ter> I have a contact form, and after sending a message the fields are filled with last query
141: [02:15:34] <ri0ter> And even if I realod the page they stay the same
142: [02:15:46] * benig is now known as FrozenFire
143: [02:16:38] <ri0ter> any Idea why's that?
144: [02:16:39] * Liquide quit ()
145: [02:16:56] <ri0ter> zippy____ ?
146: [02:17:06] <zippy____> ?
147: [02:17:27] <zippy____> Honestly, for contact forms, I just use UserForms module
148: [02:17:29] <zippy____> bam, done
149: [02:17:37] <zippy____> save to db, sure, send to a person, sure
150: [02:18:01] <ri0ter> So u never had such a situtation?
151: [02:20:48] <ri0ter> nothing comes to my mind except cookies
152: [02:21:08] <antmas> zippy____: hmm?
153: [02:21:26] <antmas> unsignedint: yeah, basically, house is going on the market
154: [02:21:35] <antmas> zippy____: I might move out this way :)
155: [02:21:49] * sreveD quit (Quit: Page closed)
156: [02:22:01] <zippy____> antmas: what way are you now?
157: [02:22:28] <zippy____> ri0ter: The values get saved in the session on submit, because if there is an error, the user is returned back to the form, with the form pre-filled...
158: [02:22:47] <zippy____> ri0ter: so it seems during the process, it's not hitting the session::clear methods , so it's not resetting the form
159: [02:22:49] <antmas> zippy____: Nile st, right in Nelson town
160: [02:23:03] <zippy____> ri0ter: you could call it yourself, or look at why the form is not completing it's full process
161: [02:23:05] * simon_w quit (Quit: This computer has gone to sleep)
162: [02:23:33] <ri0ter> Tnx :)
163: [02:25:46] <zippy____> with ss2.4 - there is no ArrayList, so how can I pass an associative array to the template?
164: [02:27:09] * k_fish_ quit (Quit: Leaving)
165: [02:27:32] <zippy____> DataObjectSet
166: [02:29:26] <zippy____> antmas: ah yeap, not to bad traffic wise then eh
167: [02:30:45] <antmas> zippy____: yeah, I feel for the people having to come back the opposite way :P
168: [02:31:07] <antmas> zippy____: will probably stay in Nelson though, for preschool and Jaz's work
169: [02:31:30] <zippy____> antmas: what about buying a house?
170: [02:32:21] <antmas> zippy____: naw, that 20% deposit thing...
171: [02:35:13] <zippy____> westpac will do 10% - NZHL will do 10
172: [02:35:28] <antmas> zippy____: not bad actually
173: [02:35:46] <antmas> Will probably look at getting one at the end of the year if that holds
174: [02:36:56] <ss23> Okay
175: [02:37:00] <ss23> going to start on the security fixes now!
176: [02:37:05] <ss23> willr isn't here to cheer me on :(
177: [02:37:24] <antmas> ss23: GO GO GO!
178: [02:37:28] <antmas> we believe in you
179: [02:38:03] <antmas> zippy____: job here is going to be for 3 8 hour days I think
180: [02:38:28] <zippy____> 3:40 on a friday, roll out the release!!
181: [02:38:41] <zippy____> antmas: yeap, let me know link and will pass on
182: [02:38:55] <antmas> zippy____: sweet, will be advertising next week sometime
183: [02:45:34] <zippy____> right, I am outta hair!!
184: [02:45:36] <zippy____> chow
185: [02:45:41] <Colin[pi]> cya
186: [02:46:28] <ss23> YAY
187: [02:46:31] * ss23 cheers too
188: [02:48:09] * Tanger has joined #silverstripe
189: [02:48:12] <Tanger> Morning guys
190: [02:48:17] <Colin[pi]> morning
191: [02:49:59] * zippy____ quit (Ping timeout: 240 seconds)
192: [02:50:26] <antmas> evening?
193: [02:50:34] * Colin[pi] slaps antmas
194: [02:50:43] * antmas rubs cheek
195: [02:50:48] <antmas> ;__;
196: [02:50:53] <Colin[pi]> IRC standard time ;P
197: [02:51:00] <Colin[pi]> everyone says morning lol
198: [02:51:05] * boytikz has left #silverstripe
199: [02:51:06] <antmas> haha
200: [02:52:07] <Tanger> Actually, it's almost afternoon. The morning escaped me
201: [02:52:13] <Colin[pi]> heh
202: [02:53:18] <Colin[pi]> dat feel when you test a major code change and it works the first time
203: [02:53:23] <ss23> Google Music has ~20 versions of the transformers theme song
204: [02:53:34] <ss23> We are in for a fun afternoon at SilverStripe HQ
205: [02:54:29] <Tanger> Colin[pi]: Nothing quite like it!
206: [02:54:49] <Colin[pi]> ss23: what's doing?
207: [02:54:56] <ss23> Playing the transformers theme song
208: [02:54:56] <ss23> :D
209: [02:55:01] <Colin[pi]> lol
210: [02:55:24] <Colin[pi]> play the intro to battle of the planets next
211: [02:55:27] <ss23> lol
212: [02:55:27] <ss23> nono
213: [02:55:31] <ss23> there are 20 versions of this song
214: [02:55:34] <ss23> We are going to listn to all of them
215: [02:55:34] <ss23> :D
216: [02:55:56] <Colin[pi]> and they're ok with this?
217: [02:56:26] <ss23> ...
218: [02:56:28] <ss23> Welllllllllllll
219: [02:56:32] <ss23> I haven't had my access removed yet
220: [02:56:32] <ss23> :D
221: [02:56:38] <ss23> We'll see how I get on ^.^
222: [02:56:53] <Colin[pi]> ss23, always making friends
223: [02:57:08] * simon_w has joined #silverstripe
224: [02:57:19] <Colin[pi]> ssh ssh, simon is here
225: [02:57:53] * ss23 ssh's to Colin[pi]
226: [02:58:03] <Colin[pi]> :o
227: [02:58:15] <simon__w|air> But did I ever leave?
228: [02:58:35] <Colin[pi]> you can check out any time you like, but you can never leave
229: [02:58:45] * simon__w|air is now known as simon_w|air
230: [03:00:23] <Colin[pi]> can I get access to SiteConfig within an email template?
231: [03:02:05] <Stomach> just pass it in
232: [03:02:29] <Stomach> ->customise(array('SiteConfig' => SiteConfig::currentSiteConfig()) );
233: [03:02:34] <Stomach> or whatever
234: [03:03:01] <Colin[pi]> ahh through populateTemplate()
235: [03:03:42] <Stomach> yeah
236: [03:04:01] <Stomach> sorry I gave you controller code :D
237: [03:04:13] <Colin[pi]> no worries it made me realise I was being stupid
238: [03:04:23] <Stomach> always happy to help
239: [03:04:24] <Stomach> :P
240: [03:08:49] <ss23> Currently on 6/20 remixes of the Transformers theme song!
241: [03:11:12] <simon_w|air> Come on, it's Friday!
242: [03:11:17] <ss23> :D
243: [03:11:25] <ss23> Switched to Master of Puppets
244: [03:11:35] <simon_w|air> https://www.youtube.com/watch?v=GVCzdpagXOQ
245: [03:12:07] <Colin[pi]> ss23: you need to play this one, 10 hour loop: https://www.youtube.com/watch?v=eh7lp9umG2I
246: [03:13:30] <ss23> BATTERY
247: [03:13:33] * azureknight has joined #silverstripe
248: [03:13:35] <ss23> LI-PO BATTERIES
249: [03:14:17] <azureknight> Anybody know why none of my cms sitetree pages show up when loading ss 3.1.3?
250: [03:14:27] <azureknight> Just uploaded to a rackspace server and my sitetree is just not there.
251: [03:17:17] <Stomach> did you flush
252: [03:17:24] <Stomach> also, is your assets directory writable
253: [03:17:58] <azureknight> That might be the issue.
254: [03:18:01] <azureknight> I'm looking right now.
255: [03:18:12] <azureknight> 755
256: [03:18:44] <Stomach> is the servers user in the same group?
257: [03:18:51] <Stomach> or change it to 777
258: [03:18:58] <azureknight> Ooh. Very good question. Let me ask my coworker.
259: [03:19:14] <azureknight> I'm gonna try and change it first, and if it works, then I'll talk to him about that.
260: [03:19:15] <simon_w|air> 755 means only the owner has write
261: [03:19:59] <Stomach> what do you typically do simon_w|air?
262: [03:20:12] <simon_w|air> Set the owner to www-data
263: [03:21:47] <azureknight> Hmm?
264: [03:22:00] <azureknight> It definitely seems like a permissions issue.
265: [03:32:22] <Colin[pi]> to properly delete a sitetree object I need to: ->deleteFromStage('Live'); ->deleteFromStage('Stage'); ->destroy(); is that right?
266: [03:38:58] * an_Eskimo quit (Ping timeout: 245 seconds)
267: [03:40:22] * markcl quit (Quit: Leaving.)
268: [03:42:45] * nbezzala quit (Ping timeout: 255 seconds)
269: [03:47:56] * howardgrigg has joined #silverstripe
270: [03:48:09] <azureknight> Anybody have a random "unknown" folder in their silvestripe-cache
271: [03:49:57] <howardgrigg> ok I've got a weird issue - $SiteConfig.SalesEmail isn't rendering in IE - works as expected in other browsers but in IE no email is there and it's not coming up when you view source
272: [03:50:00] <howardgrigg> any ideas?
273: [03:51:31] <ri0ter> bb
274: [03:51:35] * ri0ter quit (Quit: Page closed)
275: [03:51:44] <Stomach> nope
276: [03:51:44] <ss23> howardgrigg: .... o.o
277: [03:51:45] <ss23> wat
278: [03:51:49] <ss23> howardgrigg: ...cache?
279: [03:51:53] <Stomach> got some ie only javascript that kills that element? :D
280: [03:51:57] <azureknight> :D
281: [03:52:03] <ss23> Stomach: would show up in view source, js doesn't execute on source
282: [03:52:15] <howardgrigg> not cache, multiple computers...
283: [03:52:20] <Stomach> yeah, I always just use the dev tools browser as my "source" :P
284: [03:52:22] <howardgrigg> multiple versions of IE
285: [03:52:32] <ss23> howardgrigg: got a public link?
286: [03:52:34] <howardgrigg> you can see it here http://www.patsoftware.com.au/contact/
287: [03:52:48] <howardgrigg> the Sales and Support emails dont show in IE
288: [03:52:56] <ss23> Works for me
289: [03:52:59] <ss23> which versions?
290: [03:53:15] <ss23> IE11 here works
291: [03:53:17] <Stomach> works fine for me too
292: [03:53:25] <howardgrigg> gah
293: [03:53:28] * howardgrigg goes testing
294: [03:53:30] <Stomach> on ie11
295: [03:53:38] <ss23> Might be just IE10/IE9 not working?
296: [03:54:25] <Stomach> https://browserling.com/queue?uri=http%3A%2F%2Fwww.patsoftware.com.au%2Fcontact%2F&browser=explorer&version=9.0
297: [03:54:25] <Nimle> Hi guys, how to get substring in template? for example, the string is "hellow world", I only wan to show world.
298: [03:54:27] <howardgrigg> oh yea it's working in IE 11 not 8-10
299: [03:54:28] <Stomach> ie9 doesnt work
300: [03:54:32] <Stomach> weiiiird
301: [03:55:00] <Stomach> doesnt work in firefox three either, if that helps
302: [03:55:36] <howardgrigg> html validates so it's not an open tag or anything - I dunno what's going on
303: [03:57:47] <Nimle> @Stomach @howardgrigg works fine from ie8 to 10
304: [03:57:54] <Colin[pi]> "I dunno what's going on" - 90% of any given day of programming
305: [03:58:29] <howardgrigg> Oh yea it's working for me as well now - wtf, i didnt change anything
306: [03:58:29] <Stomach> 90% of any given day
307: [03:58:33] <Stomach> ftfy
308: [03:58:36] <Colin[pi]> heh
309: [03:58:53] <Stomach> howardgrigg - do you have any apc or other php level caching going on?
310: [03:59:35] <Nimle> @howardgrigg i checked in ie10, and then changed the mode to ie9 and 8, all work fine.
311: [03:59:44] <howardgrigg> nope - but I changed the template and it updated but still didnt show the email
312: [04:00:34] <howardgrigg> now it's not working for me again - gah I give up, going to have lunch
313: [04:00:37] <Stomach> yeah Nimle - actual versions of the browsers behave differently in some cases than those emulators
314: [04:00:48] <Stomach> howardgrigg - good luck with that one
315: [04:03:58] * nickmolhoek quit (Quit: nickmolhoek)
316: [04:09:24] <Nimle> Guys, anybody knows any module or something which provides more string manipulations for template? The native ones are too limited and double-parsing doesnt work. like I have $Title in template and I can't pass it backto a controler to parse there. for example, "Hello World" I want only "World".
317: [04:10:53] <Nimle> any class to extend so that can use in this way $Title.explode.last ?
318: [04:14:05] * markcl has joined #silverstripe
319: [04:14:58] <muskie9_> does getCMSValidator reference validate at all
320: [04:16:23] * nbezzala has joined #silverstripe
321: [04:28:08] <Colin[pi]> muskie9_: getCMSValidator is used to return your own validator instance of your choice for your dataobject
322: [04:32:53] <muskie9_> docs show new RequiredFields(array('MyRequiredField') for CMSValidator... similar to required fields for forms, can I do more robust validation rather than just making sure something is entered into the field
323: [04:33:25] <Colin[pi]> muskie9_: you can extend RequiredFields and add your own validation code
324: [04:33:37] <muskie9_> ok, thanks
325: [04:34:25] * UncleCheese quit (Quit: UncleCheese)
326: [04:41:15] * cloph_away quit (Ping timeout: 255 seconds)
327: [04:43:57] * cloph_away has joined #silverstripe
328: [04:51:44] * muskie9_ quit ()
329: [05:17:41] * howardgrigg quit (Remote host closed the connection)
330: [05:18:09] * howardgrigg has joined #silverstripe
331: [05:22:25] * howardgrigg quit (Ping timeout: 240 seconds)
332: [06:04:07] * Ar10 has joined #silverstripe
333: [06:12:02] * howardgrigg has joined #silverstripe
334: [06:16:39] * howardgrigg quit (Ping timeout: 255 seconds)
335: [06:20:51] * howardgrigg has joined #silverstripe
336: [06:21:48] <Ar10> Greetings everyone
337: [07:03:15] * stripee has joined #silverstripe
338: [07:04:45] <stripee> i m strilll unable to figure out the error......http://www.sspaste.com/paste/show/5322a67e6bb46
339: [07:06:00] * willr has joined #silverstripe
340: [07:06:47] * Shrike_Finland has joined #silverstripe
341: [07:08:30] * azureknight quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
342: [07:31:03] * Nimle quit (Ping timeout: 245 seconds)
343: [07:41:37] * deschebbs has joined #silverstripe
344: [07:43:41] * wmk has joined #silverstripe
345: [07:43:52] <wmk> gmorning
346: [07:47:15] * iamss has joined #silverstripe
347: [07:47:16] <iamss> Hello SilverStripe!
348: [07:47:31] <stripee> i m getting this error...........Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 1429122 bytes) in /tmp/silverstripe-cache-var-www-html/unknown/.cache.themes.sitename.templates.Layout.pagename.ss on line 26
349: [07:47:38] <iamss> How to create a new action to the CMS
350: [07:47:50] <iamss> I have a modeladmin that lists some items
351: [07:48:26] <iamss> when I edit a record it sends me to the editform with 2 buttons 'Save' and 'Delete'
352: [07:48:48] <iamss> how to create another action there so I have 'Save' 'Delete', 'New Action'
353: [07:49:23] * Ar10 quit (Ping timeout: 245 seconds)
354: [07:51:35] <Tanger> iamss: Edit the grid field that's on the modeladmin
355: [07:51:56] <Tanger> If you're making a modeladmin extension: this page can tell you how to do it http://doc.silverstripe.org/framework/en/reference/modeladmin
356: [07:52:32] <Tanger> Actually, it'll tell you how to do it if you're subclassing as well
357: [07:52:35] <iamss> Tanger: So the DataObject getCMSAction is no longer used to this
358: [07:52:43] <Tanger> Not in modeladmin
359: [07:52:57] <Tanger> It's getEditForm($id,$fields) now
360: [07:53:24] <iamss> Tanger: ah got it! many thanks Tanger
361: [07:53:33] <Tanger> No worries mate
362: [07:58:44] <wmk> stripee, how much ram do you have? how much ram is in php.ini for php process available?
363: [08:03:25] <iamss> Tanger: can you give an example how exactly to create a new formaction using getEditForm please
364: [08:07:21] <willr> iamss can also take a look at UncleCheese's better buttons module for an idea on how to do that.
365: [08:08:09] <willr> See ale: http://stackoverflow.com/questions/18349377/add-buttons-for-custom-action-to-modeladmin
366: [08:08:55] * Guits quit (Ping timeout: 264 seconds)
367: [08:09:27] <iamss> willr: this is what I'm looking for thanks willr!
368: [08:12:42] * Guits has joined #silverstripe
369: [08:13:29] * ocm has joined #silverstripe
370: [08:13:34] <ocm> howdy
371: [08:17:22] <Tanger> Uhhh
372: [08:17:33] <Tanger> I'll see if I have an example
373: [08:21:30] <Tanger> iamss: I can, but I think it's a really inefficient way to do it. You can probably VASTLY improve on it :P
374: [08:21:36] <Tanger> http://pastebin.com/AeffmhdQ
375: [08:21:59] <Tanger> I work with python primarily, but my job uses SilverStripe and PHP
376: [08:22:29] <Tanger> That code will handle the action in the grid field without needing to refresh, i.e. with the ajax call stuffs
377: [08:23:25] <Bollig|DesignCty> Tanger: excuses, excuses :p
378: [08:23:35] <Tanger> Bastard male
379: [08:23:46] <Bollig|DesignCty> :)
380: [08:24:05] <iamss> Tanger: Isn't that creates an action to the listings and not to the details form?
381: [08:25:11] <Tanger> Sorry iamss, what do you mean?
382: [08:25:50] * zippy____ has joined #silverstripe
383: [08:28:13] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
384: [08:32:49] <Tanger> That code adds a button in a column within the grid field. You could use roughly the same code, except you'd implement a different type of component ala http://doc.silverstripe.org/framework/en/reference/grid-field#creating-a-custom-gridfieldcomponent
385: [08:37:57] * markcl quit (Quit: Leaving.)
386: [08:39:28] * boytikz has joined #silverstripe
387: [08:40:31] <boytikz> Hi. Is there any way to have a beforeWrite() when adding items to a many_many list?
388: [08:44:33] <willr> boytikz strangely no AFAIK. No event for that
389: [08:46:43] <boytikz> yeah, I had a look and ManyManyList uses DB::manipulate() instead of write(). Is there a way to create have a DataObject class for the join table?
390: [08:46:57] * nbezzala quit (Ping timeout: 255 seconds)
391: [08:47:23] * nbezzala has joined #silverstripe
392: [08:47:46] <willr> Well you can just define a DataObject with 2 has ones and that's your 'JOIN'
393: [08:49:04] * violetina has joined #silverstripe
394: [08:55:01] <stripee> wmk 256Mb
395: [08:55:26] <wmk> stripee, hmm, ram at all or php?
396: [08:56:06] <stripee> 4gb ram , 256Mb php
397: [09:04:30] * nbezzala quit (Ping timeout: 255 seconds)
398: [09:04:59] * nbezzala has joined #silverstripe
399: [09:06:08] <wmk> stripee, well, this _should_ do.
400: [09:06:17] <wmk> any crazy code? loops?
401: [09:06:24] <wmk> or are you dealing with very big images?
402: [09:06:31] * kinglozzer has joined #silverstripe
403: [09:07:01] <wmk> stripee, as it's in a template is there something like $Image.Resize() on that line?
404: [09:07:03] * Tanger quit (Quit: Tanger)
405: [09:07:16] <wmk> in this case you'd need either more ram or smaller pics
406: [09:07:50] <stripee> more ram!!!!!
407: [09:08:13] <wmk> you cannot have enough ram.
408: [09:08:38] <wmk> hmm, is imagemagick backend ram friendlier than gd?
409: [09:08:41] <stripee> line 26 has </div>
410: [09:09:04] * micmania1 has joined #silverstripe
411: [09:09:06] <wmk> stripee, in the compiled template?
412: [09:09:33] <micmania1> mornin'
413: [09:09:42] <wmk> hi micmania1
414: [09:09:54] <stripee> yes
415: [09:10:19] <wmk> hmm. the line above?
416: [09:10:42] <stripee> include twitter
417: [09:10:48] <wmk> or below? any loops? big objects?
418: [09:11:02] <wmk> stripee, could you paste the compiled template somewhere?
419: [09:11:15] <stripee> i was abt to do that
420: [09:11:59] <stripee> http://www.sspaste.com/paste/show/5322c451e5f77
421: [09:14:15] <wmk> stripee, this is the original template, not the compiled one php complains about
422: [09:14:48] <wmk> .... in /tmp/silverstripe-cache-var-www-html/unknown/.cache.themes.sitename.templates.Layout.pagename.ss on line 26
423: [09:14:58] <stripee> wer can i find the compiled one???
424: [09:15:41] <wmk> /tmp/ ...
425: [09:16:09] <wmk> you have ssh?
426: [09:16:31] <stripee> yes
427: [09:16:36] * nbezzala quit (Remote host closed the connection)
428: [09:16:38] <wmk> there you go
429: [09:17:48] <stripee> but i want this template be used ..............i did flush too
430: [09:18:01] <stripee> y is the compiled one not gettig replaced?
431: [09:18:25] <wmk> dunno if your error message changed ;)
432: [09:18:36] * PyxRoman^k has joined #silverstripe
433: [09:18:41] <wmk> normally when flushing the templates should be replaced, in 3.1 even without flushing
434: [09:18:55] <wmk> you can savely delete your ss cache dir
435: [09:18:55] <stripee> i m using 3.1
436: [09:18:57] <PyxRoman^k> only if it's not a new template wmk
437: [09:19:06] <wmk> PyxRoman^k, you're right
438: [09:19:19] * markcl has joined #silverstripe
439: [09:19:23] <wmk> this drove me crazy some times, too...
440: [09:20:01] <PyxRoman^k> if in doubt, build then flush.
441: [09:20:33] <kinglozzer> PyxRoman^k: Build /and/ flush, then flush :P
442: [09:20:53] <kinglozzer> Or does build clear the static cache too? I can never remember
443: [09:21:10] <kinglozzer> flush all the things!
444: [09:22:08] <wmk> flush all the time when developing
445: [09:22:46] <wmk> hmm, when on 2.4... first update to 3.1 or write unit tests for existing code? cannot decide
446: [09:23:52] * Shrike_Finland quit (Quit: Leaving.)
447: [09:24:46] <stripee> what is unit tests?
448: [09:25:05] <stripee> line 26 is <div id="todas_noticias_conteudo_chamada"><a href="';
449: [09:25:24] <wmk> stripee, can you paste the compiled template?
450: [09:25:37] <wmk> if there is nothing critical in it
451: [09:27:51] * ARNHOE has joined #silverstripe
452: [09:28:32] <kinglozzer> wmk: I'd upgrade first personally, you'll probably have to rewrite some of those tests anyway :P
453: [09:28:48] <PyxRoman^k> kinglozzer: building clears.
454: [09:30:31] <kinglozzer> So in a /dev/build?flush=1, the flush=1 is now completely redundant?
455: [09:31:11] <stripee> first i retry build,flush once more
456: [09:31:26] <stripee> then i upload the noticias.ss
457: [09:32:45] * Shrike_Finland has joined #silverstripe
458: [09:33:06] <wmk> stripee, the compiled template from /tmp/ please
459: [09:33:15] <wmk> good luck anyway
460: [09:33:15] <PyxRoman^k> kinglozzer: dev/build?flush=anything used to do 100% of nothing when it came to flushing.
461: [09:33:35] <wmk> PyxRoman^k, yeah, we're still used to it from old 2.x days
462: [09:34:07] <stripee> what do u mean??
463: [09:34:08] <PyxRoman^k> wmk: yeah. I still find it more reliable to do it in separate stages, because I'm a mistrustful bastard or something I guess.
464: [09:34:24] <stripee> doesnt dev/build/?flush=all work??
465: [09:34:45] <wmk> stripee, not your .ss file in your themes but the compiled php file from the error message, somewhere located in /tmp/ on your sever
466: [09:34:55] <PyxRoman^k> kinglozzer: but basically, it's the exact opposite. dev/build?flush=1 is NOW completely un-redundant.
467: [09:35:35] <stripee> i saw the file.........
468: [09:35:40] <stripee> i have copied it ....but
469: [09:36:26] <wmk> hehe "i saw the file" sounds like a new version of an old Ace of Base song
470: [09:39:32] <stripee> is it a new phrase.............a new version of an old Ace of Base song
471: [09:39:34] <stripee> ?
472: [09:39:36] <stripee> hehhee
473: [09:42:24] <wmk> ehem, mo
474: [09:42:25] <wmk> no
475: [09:44:19] <wmk> stripee, http://en.wikipedia.org/wiki/The_Sign_%28song%29
476: [09:44:23] <wmk> was back in the 90s
477: [09:44:36] * howardgrigg quit (Remote host closed the connection)
478: [09:45:38] * stripee quit (Ping timeout: 245 seconds)
479: [09:57:21] * stripee has joined #silverstripe
480: [10:08:48] * bobkosse has joined #silverstripe
481: [10:10:09] * boytikz quit (Quit: Leaving.)
482: [10:13:40] <micmania1> kinglozzer: you seen that video of Jonas dancing?
483: [10:13:51] <kinglozzer> micmania1: Nope
484: [10:13:58] <micmania1> check my twitter
485: [10:14:05] <micmania1> what a fine man.
486: [10:14:07] * kinglozzer checking
487: [10:14:17] * bobs has joined #silverstripe
488: [10:14:55] <kinglozzer> Hahaha
489: [10:15:20] <kinglozzer> Yep, think you're right about us paying him in Class A
490: [10:15:28] * howardgrigg has joined #silverstripe
491: [10:15:35] <bobs> Hi.Somewhat new to silverstripe... can I ask a question?
492: [10:15:51] <kinglozzer> You may :)
493: [10:16:03] <bobs> I'm making a page for fun. Users can submit a youtube URL via a form. How would I go about making the urls associate with the user who submitted them
494: [10:16:16] <bobs> eg. the user logs into CMS and see s thier own submissions
495: [10:16:20] <bobs> but an admin sees them all
496: [10:16:23] <bobs> :S
497: [10:16:50] <bobs> i have the form working as a test but havent added a loggin in process yet
498: [10:16:55] <micmania1> do you have a DataObject which represents your video?
499: [10:16:59] <bobs> yes
500: [10:17:02] <kinglozzer> bobs: Save the posted URLs as DataObjects, with a has_one relationship to Member
501: [10:17:09] <bobs> ahhhh
502: [10:17:16] <bobs> thanks :)
503: [10:17:23] <micmania1> bobs: and then overload the canView method to do the checking
504: [10:17:47] <wmk> $member = Member::currentUser();
505: [10:17:54] <bobs> elaborate a little?
506: [10:17:57] <bobs> oh kk
507: [10:18:13] <bobs> I think I have enough to go on with...? :)
508: [10:19:35] * willr quit (Quit: willr)
509: [10:20:08] * howardgrigg quit (Ping timeout: 252 seconds)
510: [10:20:29] <simon_w|air> Well, if you don't, you can always come back and get some more help :)
511: [10:20:45] <simon_w|air> (Assuming people are still awake)
512: [10:20:55] <wmk> bobs, have you read the tutorials?
513: [10:21:12] <ocm> simon_w, still trying to get awake; does that count too? D:
514: [10:22:15] <bobs> should probably be more thourough
515: [10:22:18] <bobs> but yes...
516: [10:22:51] <bobs> *guilty* skim reading a little
517: [10:23:02] <bobs> I think I get what I need to do.
518: [10:23:29] <wmk> i could have bet the relation to current user is in the tuts, but i haven't found it right now
519: [10:23:50] <wmk> nevermind. just ask if you don't know how to do it
520: [10:25:16] <bobs> I'm sure I will. this is a half-hour here, half-hour there sort of project :p I'm sure I'll have more questions!
521: [10:26:21] <wmk> ok. good luck bobs
522: [10:35:37] * Colin[pi] quit (Ping timeout: 240 seconds)
523: [10:37:43] * stripee quit (Ping timeout: 245 seconds)
524: [10:39:46] * stripee has joined #silverstripe
525: [10:40:32] * Shrike_Finland quit (Quit: Leaving.)
526: [10:49:00] * Shrike_Finland has joined #silverstripe
527: [10:50:08] * markcl quit (Quit: Leaving.)
528: [10:50:27] * markcl has joined #silverstripe
529: [10:51:31] <PyxRoman^k> bobs: you will of course need to require a member to be logged in before submitting a video link
530: [10:52:09] <bobs> yes. so check that they're logged in on the template?
531: [10:52:18] <PyxRoman^k> not on the template, no.
532: [10:52:21] <PyxRoman^k> in the controller
533: [10:52:35] <PyxRoman^k> template is purely for rendering visual output
534: [10:52:55] <zippy____> simon_w|air: you never sleep do you? :)
535: [10:53:36] <bobs> ok so make a function to return bool yes or no logged in, then output it?
536: [10:54:13] <simon_w|air> bobs, inside the method that returns the form: if (Member::currentUser()) { return new Form(...); }
537: [10:54:45] <simon_w|air> bobs, for the template side, you'd use <% if CurrentMember %> if you have things around the form that you only want to show to people that can see it
538: [10:54:52] * markcl quit (Ping timeout: 256 seconds)
539: [10:54:55] <simon_w|air> zippy____, I do! I should probably move to bed soon
540: [10:55:18] <zippy____> simon_w|air: wrote blog post yet?
541: [10:55:38] <simon_w|air> zippy____, Yes. Have been asked to wait until publishing it for reasons
542: [10:55:41] * howardgrigg has joined #silverstripe
543: [10:56:32] <bobs> perfect. now only shown to logged in users :)
544: [10:56:45] <zippy____> simon_w|air: you could write a post about bug hunting in SS and those issues you found the other night :)
545: [10:57:16] <simon_w|air> zippy____, I could, though I do need to send that email and then give them time to fix them
546: [10:57:30] <zippy____> yeap just an idea for a second one
547: [10:57:43] * stripee quit (Ping timeout: 245 seconds)
548: [10:58:22] * cloph_away is now known as cloph
549: [10:59:26] * travis-ci has joined #silverstripe
550: [10:59:26] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2124 (3.1 - 7f704cf : Simon Welsh): The build passed.
551: [10:59:26] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/eca35c473ca2...7f704cfc9792
552: [10:59:26] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/20756901
553: [10:59:26] * travis-ci has left #silverstripe
554: [10:59:41] * howardgrigg quit (Read error: No route to host)
555: [11:00:03] * howardgrigg has joined #silverstripe
556: [11:01:09] <PyxRoman^k> blog posts?
557: [11:01:15] <PyxRoman^k> what is this recent one on simon_w|air ?
558: [11:01:45] <simon_w|air> PyxRoman^k, can't say
559: [11:02:10] <simon_w|air> Will be showing up on http://coding.simon.geek.nz once it's allowed to though
560: [11:02:27] <PyxRoman^k> simon_w|air: oh, because sec related?
561: [11:02:50] <simon_w|air> PyxRoman^k, nope, because potential NDA related
562: [11:03:03] * wmk quit (Quit: nice to meet you ;))
563: [11:03:18] <PyxRoman^k> simon_w|air: ah, I see. Fair enough then!
564: [11:03:45] <PyxRoman^k> blag all the things!
565: [11:03:50] <PyxRoman^k> 3rd blag simon_w|air ?
566: [11:03:59] <simon_w|air> Yup
567: [11:04:08] * howardgrigg quit (Ping timeout: 240 seconds)
568: [11:04:28] <PyxRoman^k> I mean... the other is simon.geek.nz obviously, but the second is...?
569: [11:04:37] <simon_w|air> http://brainchemicals.geek.nz
570: [11:05:49] <PyxRoman^k> deep man.
571: [11:06:55] <PyxRoman^k> But cool :>
572: [11:15:13] * bobs quit (Ping timeout: 245 seconds)
573: [11:17:49] * bobkosse quit (Quit: Lost terminal)
574: [11:18:29] * r3v3rb has joined #silverstripe
575: [11:19:46] * zippy____ quit (Quit: zippy____)
576: [11:21:56] * travis-ci has joined #silverstripe
577: [11:21:56] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2125 (master - d1befdd : Simon Welsh): The build passed.
578: [11:21:56] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/18661005eedd...d1befdd37cd1
579: [11:21:56] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/20757941
580: [11:21:56] * travis-ci has left #silverstripe
581: [11:23:58] * iamss quit (Ping timeout: 245 seconds)
582: [11:25:01] * deschebbs quit (Quit: Konversation terminated!)
583: [11:26:28] * r3v3rb quit (Read error: Connection reset by peer)
584: [11:26:57] * r3v3rb has joined #silverstripe
585: [11:34:34] <simon_w|air> Oops, it's Saturday
586: [11:35:21] * deschebbs has joined #silverstripe
587: [11:40:35] <ocm> saturday... stupid zealanders :P
588: [11:46:14] * desperate_ has joined #silverstripe
589: [11:46:25] * bobs has joined #silverstripe
590: [11:46:29] * desperate_ quit (Client Quit)
591: [11:47:09] * desperate2 has joined #silverstripe
592: [11:49:09] <desperate2> hello everyone i'm having some issues with fiel uplaods
593: [11:49:23] <desperate2> i have checked the permissions on the server
594: [11:49:29] <desperate2> assets and uploads are both set to 777
595: [11:49:36] <desperate2> and also ownership is ok
596: [11:49:55] <desperate2> i have another installation of ss on the same server and uploads works fine on that
597: [11:50:24] <desperate2> when i upload a file it says it has been successful but the bar is red rather than blue
598: [11:50:28] <PyxRoman^k> ocm: what have the dutch got to do with Saturday, and why are they stupid for it?
599: [11:51:25] <desperate2> "File upload completed"
600: [11:53:18] * Shrike_Finland quit (Quit: Leaving.)
601: [11:56:39] * Shrike_Finland has joined #silverstripe
602: [11:57:08] * k_fish has joined #silverstripe
603: [11:59:12] <bobs> sooo... I have a form, shown only to logged in users, with a single text field (mandatory). I want to capture the user ID of the submittor, and add it to the DataObject (there is a one_many relationship between DO and Member).
604: [11:59:18] <bobs> how can I do this?
605: [11:59:57] * k_fish quit (Read error: Connection reset by peer)
606: [12:00:13] * k_fish has joined #silverstripe
607: [12:00:31] <bobs> other than that... I'm getting there slowly :)
608: [12:01:05] * howardgrigg has joined #silverstripe
609: [12:06:52] * howardgrigg quit (Ping timeout: 252 seconds)
610: [12:09:47] <bobs> Any tips on how to add the MemberID to the DataObject when a logged in user is submitting a form?
611: [12:18:08] * desperate2 quit (Ping timeout: 245 seconds)
612: [12:22:07] * UndefinedOffset has joined #silverstripe
613: [12:22:34] <kinglozzer> bobs: Member::currentUser()->ID ?
614: [12:23:00] <bobs> but how can I relate that to submitting the form?
615: [12:23:31] <bobs> in the controller... the submit() function has fields that match the DataObject fields
616: [12:23:42] <bobs> they are output onto the template
617: [12:23:53] <bobs> I want to use the value of 'Member::currentUser()->ID' but I dont want to display it
618: [12:24:08] <bobs> if that makes sense :S
619: [12:25:06] <bobs> also.... Houblon Chouffe could be clouding my decisions here... hehe
620: [12:26:06] * bobs_ has joined #silverstripe
621: [12:29:23] * bobs quit (Ping timeout: 245 seconds)
622: [12:33:02] * guci0 has joined #silverstripe
623: [12:33:06] <guci0> MOrning!
624: [12:37:36] <guci0> Is only my problem, raw 3.1.3 and Files / Uploads / Upload returns 500 (Internal Server Error), by editor uploading works fine...
625: [12:41:17] <kinglozzer> guci0: Known issue
626: [12:41:22] <guci0> Ok
627: [12:41:56] <kinglozzer> https://github.com/silverstripe/silverstripe-framework/issues/2930 / https://github.com/silverstripe/silverstripe-framework/pull/2903
628: [12:49:19] <bobs_> gah
629: [12:49:44] <bobs_> $fields = new FieldList(new TextField('Url'), new TextField('MemberID', '', Member::currentUser()->ID));
630: [12:50:05] <bobs_> that works but its terrible as it outputs the field to the page and is also editable D:
631: [12:50:46] <kinglozzer> bobs_: You can use a HiddenField
632: [12:50:55] <bobs_> how can I do something similar in my form but invisible. If I remove the field with $fields->removeByName('MemberID'); it doesnt show up in the back end
633: [12:51:02] <bobs_> oh.... hiddenField... brb
634: [12:52:04] <guci0> kinglozzer: thx!
635: [12:53:06] <bobs_> kinglozzer: thx! (moreso)
636: [12:54:30] <bobs_> its always easier than you think huh? :) thanks for the help. gtg
637: [12:55:10] <kinglozzer> Np :)
638: [12:56:39] * jonShape quit (Remote host closed the connection)
639: [12:56:52] * jonShape has joined #silverstripe
640: [12:58:58] * bobs_ quit (Ping timeout: 245 seconds)
641: [13:02:06] * bobkosse has joined #silverstripe
642: [13:03:23] * howardgrigg has joined #silverstripe
643: [13:07:05] * bobkosse_ has joined #silverstripe
644: [13:07:56] * howardgrigg quit (Ping timeout: 253 seconds)
645: [13:09:18] * bobkosse quit (Ping timeout: 240 seconds)
646: [13:12:52] <PyxRoman^k> kinglozzer: a better answer would have been to introduce him to onBeforeWrite and !$this->ID... but that'll work too :P
647: [13:13:08] <PyxRoman^k> also, there's a Member::currentMemberID() iirc
648: [13:13:22] <PyxRoman^k> err, currentUserID
649: [13:14:20] * bobkosse_ quit (Quit: leaving)
650: [13:16:29] <PyxRoman^k> urgh, codeigniter docs so terrible
651: [13:22:49] <micmania1> PyxRoman^k: well i'm on W*rdpress again. Count yourself lucky.
652: [13:36:49] * r3v3rb quit (Quit: r3v3rb)
653: [13:37:53] * catcher has joined #silverstripe
654: [13:38:26] <PyxRoman^k> micmania1: well sucks to be you eh :<
655: [13:38:35] <PyxRoman^k> fish and chip friday though!
656: [13:38:47] <PyxRoman^k> although last friday didn't end too well for me :(
657: [13:38:55] <micmania1> not for me. mcdonalds firdays
658: [13:38:57] <micmania1> fridays
659: [13:48:06] * Cari has joined #silverstripe
660: [13:48:15] <PyxRoman^k> micmania1: horseburgers?
661: [13:48:33] <PyxRoman^k> or was that BK only?
662: [13:50:31] <micmania1> that was tesco
663: [13:50:45] <PyxRoman^k> oh, I heard it was bk
664: [13:50:47] <micmania1> horse is good tho. I'm not a fussy eater
665: [13:50:55] <PyxRoman^k> haha, champ.
666: [13:50:58] <PyxRoman^k> Not my deal.
667: [13:51:06] <PyxRoman^k> but I've got no issue with those who do.
668: [13:51:16] <micmania1> there's horse in everything in europe
669: [13:51:18] <PyxRoman^k> but I'm not up for "beef... almost"
670: [13:51:28] <PyxRoman^k> I want my beef to be beef.
671: [13:51:46] <PyxRoman^k> from little teenaged bulls.
672: [13:54:14] <PyxRoman^k> micmania1: yeh, this no horse business is mostly a cultural thing.
673: [13:54:35] <PyxRoman^k> I'd just like to know what's what so I can make my own decisions.
674: [13:55:58] * ARNHOE_ has joined #silverstripe
675: [13:55:59] * ARNHOE quit (Read error: Connection reset by peer)
676: [13:58:33] * Cari quit (Ping timeout: 245 seconds)
677: [14:04:26] * howardgrigg has joined #silverstripe
678: [14:09:00] * howardgrigg quit (Ping timeout: 252 seconds)
679: [14:10:46] <kinglozzer> Anyone know stuff about emails? Can't get them to send from an SS site. Exact same setup works in numerous other client sites. Mail log says "status=sent (250 OK", nothing ever comes through
680: [14:11:05] <micmania1> kinglozzer: postfix?
681: [14:11:31] <kinglozzer> WAIT WAIT WAIT it comes through to my gmail
682: [14:11:34] <kinglozzer> micmania1: yeah
683: [14:11:47] <micmania1> if so, check /etc/postfix/main.conf
684: [14:11:59] <micmania1> I think the setting to look for is mydestinationname
685: [14:12:15] <micmania1> Check to make sure the website domain isn't there otherwise the mail will never leave the server
686: [14:13:03] <kinglozzer> It's there but commented out
687: [14:13:17] <kinglozzer> The mail came through to my gmail but is completely blank, maybe it's being filtered as its empty
688: [14:14:12] <micmania1> Strange. No idea what would cause that.
689: [14:14:40] <micmania1> Might be stupid, but you sure gmail isn't truncating the email as it does with duplicate content?
690: [14:15:21] <kinglozzer> Nah, I was using Email->sendPlain() for testing - switched back to send() and it's there
691: [14:15:28] <kinglozzer> But it still won't come through to my work email ><
692: [14:16:19] <micmania1> junk? Have you setup an spf recor don the domain?
693: [14:16:23] <micmania1> record*
694: [14:18:38] <kinglozzer> micmania1: This is just in development at the moment, so no live domain - http://forms.somesite.dev/ atm
695: [14:18:56] <kinglozzer> Checked junk & spam filter, nothing :(
696: [14:22:01] <micmania1> you use google apps?
697: [14:22:45] <kinglozzer> Nope
698: [14:28:15] <micmania1> if you're getting your emails through a web host (ie heart) they might be blocking it before it even reaches you
699: [14:28:23] <micmania1> Had this problem a couple times with them
700: [14:28:34] <micmania1> There spam filters dont even allow it to get to junk
701: [14:30:18] <PyxRoman^k> kinglozzer: 250 is usually an indication that there's some server relay issue
702: [14:30:39] <PyxRoman^k> as in, if it's a plesk server, it's redirecting to manage the email internally instead of ever launching it into the internet at large.
703: [14:31:13] <PyxRoman^k> you need to disable the domain's email functions in plesk (or re-enable then re-disable sometimes), then suddenly it works.
704: [14:31:31] <PyxRoman^k> gotta read the actual mail log for more info to know for sure though
705: [14:32:23] <PyxRoman^k> so tl;dr - plesk is shit, & regardless, read mail.log
706: [14:33:23] <kinglozzer> I don't even know how our email is set up D:
707: [14:33:34] <PyxRoman^k> kinglozzer: is it plesk?
708: [14:33:45] <kinglozzer> Nope
709: [14:33:49] <PyxRoman^k> also, dig domainname.tld mx
710: [14:34:21] <kinglozzer> Brb, need caffeine for this
711: [14:34:49] <PyxRoman^k> bigfork.co.uk. 86400 IN MX 10 mailcluster.zen.co.uk.
712: [14:35:47] <PyxRoman^k> http://zen.co.uk/ - call them.
713: [14:35:54] * Shrike_Finland quit (Quit: Leaving.)
714: [14:38:24] <kinglozzer> PyxRoman^k: Found it, cPanel
715: [14:38:31] <kinglozzer> "Sender verify failed"
716: [14:39:36] <PyxRoman^k> if in doubt, reverse engineer the logs.
717: [14:39:38] <PyxRoman^k> :P
718: [14:39:57] <PyxRoman^k> or is that reference too old for you? FrozenFire knows what I'm talk'n bout :D
719: [14:40:11] <kinglozzer> WOOOSH
720: [14:40:14] * kinglozzer as it goes over my head
721: [14:40:57] <PyxRoman^k> kinglozzer: yeh, I thought it might be. Hilarious ss irc history.
722: [14:41:01] <PyxRoman^k> like, super hilarious.
723: [14:41:31] <PyxRoman^k> not even like. Just is.
724: [14:41:53] <kinglozzer> Find it!
725: [14:41:54] <kinglozzer> :P
726: [14:42:21] <PyxRoman^k> kinglozzer: neg. Just search logs for wwwalker
727: [14:43:12] <PyxRoman^k> It's all from the same day, so just relax and laugh.
728: [14:43:26] <kinglozzer> I'm reading it now :P
729: [14:43:45] <PyxRoman^k> he only ever came for help once. Then SS was too bleeding edge, so yeah. None of that nonsense for wwwalker.
730: [14:45:04] <kinglozzer> "ys I am a BSc in computer science"
731: [14:45:33] <kinglozzer> HOW?!
732: [14:47:00] <PyxRoman^k> hahahaha ikr
733: [14:47:08] <PyxRoman^k> so amazing
734: [14:47:23] <PyxRoman^k> I espeially like how that is supposed to be somehow relevant.
735: [14:48:02] <PyxRoman^k> I mean fuck, I'm a BA in Classics.
736: [14:49:47] * Shrike_Finland has joined #silverstripe
737: [14:53:03] <kinglozzer> Oh shit he came back later
738: [14:53:05] * kinglozzer more reading
739: [14:54:33] <PyxRoman^k> hahahaha love it kinglozzer. So amazing.
740: [14:56:45] * Shrike_Finland quit (Quit: Leaving.)
741: [14:59:17] <kinglozzer> " is there is wrapper so php 5.2.9 works on ss 3.0.3?"
742: [15:00:49] <kinglozzer> Oh, r.e. emails: turns out domain is fucked, no emails work at all
743: [15:01:37] * desperate has joined #silverstripe
744: [15:01:47] <desperate> hello eveeyone
745: [15:01:54] <PyxRoman^k> kinglozzer: hahahaha, such gold right?
746: [15:02:34] <desperate> i'm planning my data model. Imagine a library of 'book' and each book belongs to a category (well many categories but let's keep it simple for now
747: [15:02:57] <desperate> library has_many books, books has_one category
748: [15:03:08] <desperate> my thoughts are a lirary_holder page
749: [15:04:23] <desperate> and then a books page
750: [15:04:59] <desperate> in the cms I want to be able to view all books by category
751: [15:05:21] <desperate> so I would go to the books page and see a selection of tabs (one for each category)
752: [15:05:30] * howardgrigg has joined #silverstripe
753: [15:05:50] <desperate> click a tab and then see a list of books that are under that category
754: [15:06:12] <desperate> I can see how to pull related items into a tab
755: [15:06:14] <PyxRoman^k> desperate: stop thinking about pages
756: [15:06:45] <desperate> but in my case I would be pulling in realted items with a condition
757: [15:06:48] <desperate> is that possible?
758: [15:06:55] <PyxRoman^k> yes
759: [15:07:00] <PyxRoman^k> but why?
760: [15:07:07] <PyxRoman^k> it's the cms side...
761: [15:07:20] * wilson has joined #silverstripe
762: [15:07:44] * wilson is now known as Guest32753
763: [15:07:54] <desperate> i want to group books by category in the cms
764: [15:08:24] <PyxRoman^k> but why
765: [15:08:34] <Guest32753> Hi guys, ive got a blank.... I need to access the url of the parent of a page. Ive tried $Parent.URL to no use. I am not ina scope (i.e. not using loop $Children. Tried $Up, to no use either
766: [15:08:40] <desperate> because i don't want a great big list of all books
767: [15:08:46] <PyxRoman^k> Parent.Link
768: [15:08:50] <PyxRoman^k> Guest32753: ^
769: [15:08:57] <PyxRoman^k> wilson^^
770: [15:09:28] <PyxRoman^k> desperate: I think you misunderstand the point of the admin area.
771: [15:09:38] * howardgrigg quit (Ping timeout: 240 seconds)
772: [15:10:09] <desperate> how so, isn't it reasonable to expect the user to be able ot administer their 'books'
773: [15:10:15] <Guest32753> @PixRoman -> thanks for the reminder. Worked!
774: [15:10:20] <PyxRoman^k> no, just not in the way you're thinking of it.
775: [15:10:33] <PyxRoman^k> Guest32753: :< this isn't twitter man
776: [15:10:36] <PyxRoman^k> :>
777: [15:10:40] <PyxRoman^k> but you're welcome :>
778: [15:11:44] <Guest32753> @PyxRoman -> not sure youre talking to me...? Whats wrong? My use of IRC? Or the way i use $Parent.Link ?
779: [15:12:07] <PyxRoman^k> Guest32753: IRC :P
780: [15:12:28] <PyxRoman^k> no @, it's not twitter. also press py then the tab key.
781: [15:12:35] <PyxRoman^k> problem solved :>
782: [15:12:46] <kinglozzer> PyxRoman^k: PyxRoman^k PyxRoman^k PyxRoman^k PyxRoman^k PyxRoman^k PyxRoman^k PyxRoman^k
783: [15:12:49] <kinglozzer> Like so ^^
784: [15:12:50] <PyxRoman^k> xD
785: [15:13:01] <Guest32753> PyxRoman -> ok then remind me again. Whats the use if IRC of not ask questions? The SS forums are less than useful...
786: [15:13:01] <kinglozzer> Tab is my favourite key now
787: [15:13:12] <kinglozzer> Guest32753: He meant using '@', not asking a question
788: [15:13:32] <kinglozzer> '@' is for twitter :P
789: [15:13:39] <Guest32753> Okaaaayyyyyyyy :-)
790: [15:13:43] <kinglozzer> Any maybe Github ;)
791: [15:13:57] <PyxRoman^k> Guest32753: so in other words, you're halfway there :P
792: [15:14:18] <PyxRoman^k> I don't get any notifications if you don't spell my name exact, which is what the tab shortcut is for :)
793: [15:14:26] <PyxRoman^k> just like command completion
794: [15:14:36] <Guest32753> Thanks. I am taking note. Back to work.
795: [15:14:41] * Guest32753 quit (Quit: Page closed)
796: [15:14:41] <PyxRoman^k> righto, have fun!
797: [15:14:55] <PyxRoman^k> he's making a note there, huge success!
798: [15:14:59] <PyxRoman^k> (oh yes I did)
799: [15:15:03] <desperate> so do i need to re-think how i build my CMS?
800: [15:16:01] <PyxRoman^k> desperate: yeh. At least, how you fit things into the SS pre-provided CMS tools.
801: [15:16:26] <PyxRoman^k> as in, I suggest not using pages, and use ModelAdmin
802: [15:16:41] <PyxRoman^k> it's kinda the whole point of it (your exact usecase) :P
803: [15:17:30] <cloph> hi - docs say that DataObject duplicate() copies releations as well, but apparently I have a different understanding of it http://api.silverstripe.org/3.1/class-DataObject.html#_duplicate
804: [15:17:37] <desperate> ok i see some pretty good documentation on this
805: [15:17:42] <desperate> i'll have a read
806: [15:17:56] <PyxRoman^k> cloph: it copies the relation link, not the actual objects on the other side of the relation.
807: [15:17:59] <cloph> I would expect to also keep the belongs_to / has_one reference, but no such ref is copied.
808: [15:18:26] <PyxRoman^k> cloph: but from my memory, it never has copied relations. So I'm not sure... it could be a typo. Not sure.
809: [15:18:50] <PyxRoman^k> eg, in 2.4 'duplicate page' function never copied images in a gallery or anything.
810: [15:19:07] <cloph> Ah no, I'm an idiot, I actually need to change the ref for what I'm intending to do, so I was looking at the wrong output.
811: [15:19:17] <PyxRoman^k> ha, bl :>
812: [15:26:46] * Shrike_Finland has joined #silverstripe
813: [15:38:16] * derek-b has joined #silverstripe
814: [15:53:33] * Colin[pi] has joined #silverstripe
815: [15:54:31] * ocm quit (Read error: Connection reset by peer)
816: [16:02:28] <catcher> So ?flush=1 empties almost my entire silverstripe-cache/www-data/cache folder, regardless of where I request it.
817: [16:02:44] <catcher> All of my partial cache cacheblocks, custom SS_Caches, etc. are removed.
818: [16:03:05] <catcher> I've tried it on 2 sites, one which is basically a fresh install, same behavior. I'm told this isn't supposed to happen.
819: [16:03:08] <catcher> Can someone else verify this?
820: [16:06:30] * ARNHOE_ quit ()
821: [16:06:33] * howardgrigg has joined #silverstripe
822: [16:10:49] * howardgrigg quit (Ping timeout: 240 seconds)
823: [16:12:52] * deschebbs quit (Quit: Konversation terminated!)
824: [16:21:35] <kinglozzer> Is there any way of getting /all/ the config values for a class, rather than a specific key?
825: [16:22:18] * kinglozzer doubts it, just checking
826: [16:30:30] <micmania1> kinglozzer: how about singleton("ClassName")->config()?
827: [16:31:47] <kinglozzer> Well, the class doesn't actually exist :P I'm just using the Config API to store some data with yaml
828: [16:31:49] * kinglozzer naughty
829: [16:32:05] <micmania1> How the hell do you manage that? lol
830: [16:33:23] <kinglozzer> Brands: BrandA: name: 'SomeBrand' - can then use $brand = Config::inst()->get('BrandA', 'name');
831: [16:33:47] <micmania1> ahhhh, I never knew that
832: [16:34:00] <kinglozzer> It's probably frowned upon lol
833: [16:34:11] <kinglozzer> But it works so fuckit
834: [16:34:12] <micmania1> It sounds like an unintended feature
835: [16:35:17] <kinglozzer> Yeah, thought about posting on the Google Group about it to see what people think
836: [16:35:34] <kinglozzer> It's handy to be able to configure stuff that's not gonna change and have it accessible everywhere like that
837: [16:37:46] * Shrike_Finland quit (Quit: Leaving.)
838: [16:42:06] <micmania1> I suppose you could just add it to SiteConfig?
839: [16:42:34] <catcher> Anyone else noticing that ?flush=1 behaves like ?flush=all?
840: [16:42:39] <catcher> 3.1.2, 3.1.3
841: [16:42:43] <micmania1> Instead of having classless configs. You can still create them on the fly within a class
842: [16:43:00] <kinglozzer> Don't have the cms installed on this particular project
843: [16:43:18] <micmania1> I knew you were going to say that
844: [16:43:29] <kinglozzer> Thought about using a class with statics, but it's nicer to store them in _config/brands.yml than in code/SomeHelper.php
845: [16:43:53] <micmania1> You could still add them t Controller or something if its not possible to get them all
846: [16:43:55] <micmania1> to*
847: [16:45:22] <PyxRoman^k> kinglozzer: micmania1: you can use yaml for anything. It's k:v pairing, not tied to any class.
848: [16:45:25] <PyxRoman^k> you can define
849: [16:45:33] <PyxRoman^k> RandoLols:
850: [16:45:38] <PyxRoman^k> herp: derp
851: [16:45:49] <kinglozzer> PyxRoman^k: Yeah but I can't loop through all the values :( (at least not using the Config API)
852: [16:45:57] <PyxRoman^k> mmm, probably not yeh.
853: [16:46:09] <PyxRoman^k> I'm not aware, but I've never dived that far into config.
854: [16:46:20] <PyxRoman^k> only to know so far that you can define and call on what you want.
855: [16:47:07] <PyxRoman^k> kinglozzer: I was more referring to your 'probably frowned upon' comment. Not really.
856: [16:47:15] <PyxRoman^k> config system is the place for config stuff!
857: [16:47:48] <PyxRoman^k> catcher: flush=1 has been the same as flush=all for quite some time now.
858: [16:47:57] <PyxRoman^k> flush=all is deprecated.
859: [16:48:01] <PyxRoman^k> afaik
860: [16:49:00] <catcher> PyxRoman^k, thanks, that narrows things down.
861: [16:49:11] <PyxRoman^k> since about that time that whole hoohaa where drupal fanbois got all butthurt about SS being the choice of the govt and whinged about the 'glaring security hole' where anyone could ?flush=1 without needing any permissions.
862: [16:49:21] <PyxRoman^k> catcher: ^
863: [16:49:27] <micmania1> kinglozzer: Config->forClass("Brands")
864: [16:49:32] <catcher> PyxRoman^k, so they just lumped them together?
865: [16:49:35] <micmania1> It doesn't actually check to see if the class exists
866: [16:49:50] <micmania1> so should work
867: [16:49:58] <PyxRoman^k> catcher: dunno. I wasn't aware of when it happened, but around the same time dev/build started passing flushes off to actually do them.
868: [16:50:03] <catcher> PyxRoman^k, anyway, the real problem is that any kind of flush kills all my partial caches & custom SS_Caches.
869: [16:50:16] <kinglozzer> micmania1: That returns a Config_ForClass object, idk if I can iterate over that
870: [16:50:25] <PyxRoman^k> ie. dev/build?flush=all never used to work because never touched ssviewer, now it does work (not sure about touching ssviewer still)
871: [16:50:36] <PyxRoman^k> catcher: so don't flush?
872: [16:50:43] <catcher> PyxRoman^k, that's certainly plan B
873: [16:50:48] <PyxRoman^k> catcher: only admins can...
874: [16:51:12] <catcher> PyxRoman^k, but when a flush is required, I'll need to regenerate a few things manually.
875: [16:51:19] <micmania1> ahhhh!
876: [16:51:27] <PyxRoman^k> catcher: sorry man *shrug*
877: [16:51:42] <PyxRoman^k> micmania1: ??
878: [16:52:09] <micmania1> PyxRoman^k: kinglozzers issue - thought I'd solved it lol
879: [16:52:10] <catcher> PyxRoman^k, simon_w mentioned yesterday that it's not default behavior for a flush to kill partial / custom caches.
880: [16:52:44] <PyxRoman^k> micmania1: heh. I've defined bogus things before, but it may have been on an existing class's config definition. Not sure, so long ago :<
881: [16:53:02] <PyxRoman^k> catcher: you'd have to ask simon_w|air about that chap, I don't know much about anything.
882: [16:53:21] <catcher> PyxRoman^k, haha, thanks anywy
883: [16:53:25] <catcher> also, anyway
884: [16:56:15] <kinglozzer> Stupid question but my mind has drawn a blank: do CSV files need a comma at the end of each line?
885: [16:56:28] <kinglozzer> Or just a \n
886: [16:56:28] <PyxRoman^k> no, comma separates values, not rows.
887: [16:56:33] <PyxRoman^k> just \n iirc
888: [16:56:35] <kinglozzer> Cool, thanks
889: [16:56:50] <PyxRoman^k> php has a generate csv func built in iirc. not sure.
890: [16:58:28] * Sj0hn has joined #silverstripe
891: [16:58:47] <micmania1> yep, fputcsv and fgetcsv
892: [16:58:57] <PyxRoman^k> yeh, them :>
893: [16:58:59] <micmania1> They can be buggy though, depnding of the source
894: [16:59:08] <PyxRoman^k> -f+n
895: [17:00:29] * kinglozzer copied and pasted GridFieldExport logic
896: [17:00:33] <kinglozzer> 'cause lazy
897: [17:00:44] <PyxRoman^k> yeh, but SUPREEEEEMO slow
898: [17:00:45] <micmania1> and its 5pm on a Friday
899: [17:00:53] <PyxRoman^k> and that
900: [17:01:07] <kinglozzer> PyxRoman^k: Monthly build task so meh :P
901: [17:01:22] * kinglozzer won't be saying that when there are 500k records to export
902: [17:01:28] <PyxRoman^k> guts 4 me, still 1/2 hour to go, then a massive trip over town, then a massive trip between towns.. the slow way :<
903: [17:01:40] <PyxRoman^k> kinglozzer: yeah, but if you're not doing it via cli, it'll time out.
904: [17:01:43] <PyxRoman^k> is what I'm meaning
905: [17:01:53] <kinglozzer> Oh yeah it'll be done by cli
906: [17:01:58] <PyxRoman^k> safe then :>
907: [17:02:06] <kinglozzer> It can take up to a month to complete ;)
908: [17:02:12] <PyxRoman^k> hahaha
909: [17:02:19] <PyxRoman^k> also, never ever mysql.
910: [17:02:55] <PyxRoman^k> have a friend who deals with database logic all day. His boss routinely imports data from mysql as they update a customer's systems.
911: [17:03:18] <PyxRoman^k> so he does this export from mysql. Takes 3.5 days, non-stop.
912: [17:03:29] <kinglozzer> Ha, nice
913: [17:03:35] <kinglozzer> Anyway, WEEKEND FOR ME BABY
914: [17:03:40] <PyxRoman^k> after importing it into postgre, he decides to test the same shit from there, for a larf.
915: [17:03:45] <PyxRoman^k> takes 3.5 HOURS
916: [17:03:49] <kinglozzer> Have a good'un <333
917: [17:03:54] <PyxRoman^k> you too :>
918: [17:03:59] * kinglozzer quit ()
919: [17:04:29] <micmania1> 2 minutes then I can leave too!
920: [17:04:33] <PyxRoman^k> joy
921: [17:04:42] * muskie9 has joined #silverstripe
922: [17:05:13] * boytikz has joined #silverstripe
923: [17:06:18] <PyxRoman^k> that time.
924: [17:06:21] * PyxRoman^k has left #silverstripe
925: [17:07:38] * howardgrigg has joined #silverstripe
926: [17:11:58] * howardgrigg quit (Ping timeout: 240 seconds)
927: [17:13:44] * Shrike_Finland has joined #silverstripe
928: [18:08:15] * k_fish_ has joined #silverstripe
929: [18:08:23] * howardgrigg has joined #silverstripe
930: [18:11:18] * k_fish quit (Ping timeout: 240 seconds)
931: [18:12:43] * howardgrigg quit (Ping timeout: 252 seconds)
932: [18:26:58] * gelignite has joined #silverstripe
933: [18:33:33] * desperate quit (Ping timeout: 245 seconds)
934: [19:09:46] * howardgrigg has joined #silverstripe
935: [19:14:08] * howardgrigg quit (Ping timeout: 240 seconds)
936: [19:22:02] * babak has joined #silverstripe
937: [19:33:16] * azureknight has joined #silverstripe
938: [19:50:35] * derek-b quit (Remote host closed the connection)
939: [19:56:38] * k_fish has joined #silverstripe
940: [19:59:13] * k_fish_ quit (Ping timeout: 240 seconds)
941: [20:00:25] * azureknight quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
942: [20:10:47] * howardgrigg has joined #silverstripe
943: [20:11:21] * UndefinedOffset quit (Read error: Connection reset by peer)
944: [20:14:49] * howardgrigg quit (Ping timeout: 240 seconds)
945: [20:16:48] * muskie9 quit ()
946: [20:28:49] * r3v3rb has joined #silverstripe
947: [20:35:58] * Shrike_Finland quit (Quit: Leaving.)
948: [20:36:18] * zippy____ has joined #silverstripe
949: [20:40:02] <zippy____> Mornings
950: [20:41:37] <simon_w> Lies!
951: [20:47:44] <zippy____> simon_w: !!
952: [20:47:52] * r3v3rb quit (Ping timeout: 252 seconds)
953: [20:48:00] <zippy____> simon_w: writing blog post? :) I see the videos have finally made it up on the site
954: [20:48:11] <zippy____> http://vimeo.com/silverstripe
955: [20:48:22] <zippy____> Still no 3.1.4 eh, ss23 telling porkies
956: [20:48:27] <zippy____> drop everything my ass
957: [20:56:15] * SightUnseen has joined #silverstripe
958: [20:56:38] * SightUnseen has left #silverstripe
959: [20:59:37] * r3v3rb has joined #silverstripe
960: [21:00:31] <r3v3rb> hola muchacho'
961: [21:00:32] <r3v3rb> s
962: [21:03:43] <r3v3rb> anyone home?
963: [21:03:52] <simon_w> Nope
964: [21:05:22] <r3v3rb> shame I needed a simon_w to answer a modeladmin issue :\ nm it can wait until he's around ;)
965: [21:07:21] <catcher> simon_w, is it true? is there no longer distinction b/n ?flush, ?flush=1, and ?flush=all
966: [21:07:21] <catcher> ?
967: [21:07:56] <simon_w> catcher, there was never a difference between ?flush and ?flush=1 and you almost never need the delete-all-templates ?flush=all
968: [21:09:12] <catcher> simon_w, the clearing mode sent to zend seems to be "all" for both ?flush and ?flush=all
969: [21:09:54] <catcher> thus partial caches & named caches in the dir are cleared out, since they still match the glob prefix (zend_cache--)
970: [21:09:56] * r3v3rb wonders why http://pastebin.com/vsX5pT5R - doPreview doesn't redirect to a new tab with google in it???
971: [21:10:55] <catcher> I got around it by creating my own back-end (which I prefer anyway for my case, for syncing just those across servers), but I could see it being an issue on other sites
972: [21:11:50] * howardgrigg has joined #silverstripe
973: [21:16:12] * howardgrigg quit (Ping timeout: 255 seconds)
974: [21:18:40] <zippy____> why does it seem you can't buy a standlong microphone anymore...
975: [21:18:44] <zippy____> *standlone
976: [21:28:57] * willr has joined #silverstripe
977: [21:31:19] * SightUnseen has joined #silverstripe
978: [21:32:36] <r3v3rb> zippy____: progress ;)
979: [21:32:42] <zippy____> ?
980: [21:32:45] <r3v3rb> allegedly
981: [21:33:52] <r3v3rb> anyone cast any light on why this 'doPreview' function doesn't open a new tab when clicked in modeladmin http://pastebin.com/vsX5pT5R
982: [21:33:54] * SightUnseen has left #silverstripe
983: [21:39:37] * OxFF1 has joined #silverstripe
984: [21:40:24] <zippy____> r3v3rb: Inspect the code, is the target blank really on the element. Also - is it adding the target _blank on the button or the form?
985: [21:47:14] * pippy quit (Ping timeout: 442 seconds)
986: [21:50:49] <r3v3rb> zippy____: I'll take a look :D
987: [21:50:58] * pippy has joined #silverstripe
988: [21:51:58] <r3v3rb> target _blank is on the button
989: [21:52:07] <r3v3rb> not the form
990: [21:53:49] <r3v3rb> then again the Director isn't loading google in the frame either
991: [21:54:07] <r3v3rb> I just get a blank modeladmin page returned
992: [21:57:02] <ss23> zippy____: I NEVER SAID I WOULD GET A NEW VERSION OF SS OUT
993: [21:57:06] <ss23> zippy____: I SAID I WOULD WORK ON FORUMS
994: [21:57:08] <ss23> zippy____: ;_;
995: [21:57:11] <ss23> zippy____: pls stop being noob
996: [21:57:40] <zippy____> ss23: bit hungover?
997: [21:58:46] <ss23> Nope?
998: [21:58:46] <ss23> :O
999: [21:58:54] <ss23> Only had like 3 beers last night
1000: [21:59:29] <r3v3rb> zippy____: so that redirect just gives me a blank panel on the right hand side of the current page when clicked... :(
1001: [22:00:07] * r3v3rb is confused
1002: [22:08:42] <r3v3rb> so I'm thinking I must be doing something completely wrong
1003: [22:08:58] <catcher> has_one ORM getter methods fail on cached ArrayLists. Is this surprising?
1004: [22:09:18] <r3v3rb> button should fire function and redirect to new page in new tab but seems impossible to achieve from modeladmin
1005: [22:12:53] * howardgrigg has joined #silverstripe
1006: [22:15:06] <zippy____> r3v3rb: Does it fire the function, if you die in it, will it show that die?
1007: [22:15:16] <r3v3rb> yep, it functions
1008: [22:15:24] <zippy____> oh, so it's just not redirecting?
1009: [22:15:36] <zippy____> what if you did a header("Location - does that work?
1010: [22:16:06] <zippy____> with an exit..
1011: [22:17:13] * howardgrigg quit (Ping timeout: 240 seconds)
1012: [22:18:49] * simon_w quit (Ping timeout: 240 seconds)
1013: [22:19:01] <r3v3rb> zippy____: just tried - 'internal server error' is the response to that :)
1014: [22:19:10] * simon_w has joined #silverstripe
1015: [22:19:12] <r3v3rb> time to sleep on it, will continue tomorrow
1016: [22:19:48] * travis-ci has joined #silverstripe
1017: [22:19:48] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2127 (3.1 - 99d6498 : Simon Welsh): The build was broken.
1018: [22:19:48] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/7f704cfc9792...99d6498467b6
1019: [22:19:48] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/20802286
1020: [22:19:48] * travis-ci has left #silverstripe
1021: [22:21:31] * Colin[pi]-2 has joined #silverstripe
1022: [22:21:37] * Colin[pi] quit (Ping timeout: 240 seconds)
1023: [22:22:18] * r3v3rb quit (Quit: r3v3rb)
1024: [22:26:30] <simon_w> Lies Travis
1025: [22:31:07] * howardgrigg has joined #silverstripe
1026: [22:34:12] * OxFF1 quit (Quit: Hasta la proxima)
1027: [22:46:17] * catcher quit (Quit: Leaving)
1028: [22:48:03] * zippy____ quit (Quit: zippy____)
1029: [22:59:20] * k_fish_ has joined #silverstripe
1030: [23:00:34] <Zauberfisch> simon_w :D
1031: [23:02:40] * k_fish quit (Ping timeout: 252 seconds)
1032: [23:08:34] * babak quit (Quit: Connection closed for inactivity)
1033: [23:25:01] * gelignite quit (Quit: http://bit.ly/nkczDT)
1034: [23:40:02] * Sjohn has joined #silverstripe
1035: [23:44:36] * Sj0hn quit (*.net *.split)
1036: [23:44:36] * jonShape quit (*.net *.split)
1037: [23:44:37] * cloph quit (*.net *.split)
1038: [23:46:19] * k_fish__ has joined #silverstripe
1039: [23:47:20] * Colin[pi] has joined #silverstripe
1040: [23:48:10] * robert___ is now known as robert_
1041: [23:49:47] * violet- has joined #silverstripe
1042: [23:50:40] * jonShape has joined #silverstripe
1043: [23:55:55] * k_fish_ quit (*.net *.split)
1044: [23:55:55] * Colin[pi]-2 quit (*.net *.split)
1045: [23:55:58] * violetina quit (*.net *.split)
1046: [23:56:00] * Stomach quit (*.net *.split)
1047: [23:58:12] * k_fish_ has joined #silverstripe

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