#silverstripe IRC Log

IRC log for 4 March 2014

All timestamps are in UTC.

1: [00:00:36] <Desperate> oh i thought flush was only realted to templates
2: [00:00:46] <guzzlefry> private statics are cached too
3: [00:04:29] <Desperate> wow thank you guys... you've been a god send
4: [00:04:41] <Desperate> I've mamnaged to get loads of things off my plate this evening
5: [00:04:54] <Desperate> can I buy you all a beer on my way out
6: [00:05:59] <howardgrigg> hah always welcome ;)
7: [00:07:01] <Desperate> if you don't mind I'll be popping in on a regular basis
8: [00:07:21] <Desperate> nice to share some conversation with knowledgeable SS folk
9: [00:07:39] <Desperate> it can be quite testing for a newbie
10: [00:07:55] <howardgrigg> Yea SS has a bit of a learning curve but it
11: [00:08:21] <howardgrigg> 's pretty powerful once you know how to wield it
12: [00:08:32] <Desperate> I can see the power of it, just takes some getting used to
13: [00:08:44] <Desperate> i'm off to relax......... thanks again!
14: [00:08:46] <Desperate> cya!
15: [00:08:50] <guzzlefry> later
16: [00:18:34] * violetina quit (Remote host closed the connection)
17: [00:21:23] * Sj0hn quit ()
18: [00:29:06] * ObiWanSh_ quit (Quit: Leaving...)
19: [00:35:13] * PapaBearNZ quit (Ping timeout: 245 seconds)
20: [00:40:34] * UncleCheese has joined #silverstripe
21: [00:46:30] <zippy__> Ryan-Toast: fark got a weird arse issue, when the page first loads, a slider is only showing 50px, but if I reload or the slider image changes, it's fixed. Only happens the very first time page loads, and then it's fine for that browser….. faarrk
22: [00:46:53] <Ryan-Toast> Slider js isn't loading on document ready.
23: [00:47:20] <Ryan-Toast> but it will be cached after a page load, which is why it'll work on refrsh
24: [00:47:47] <zippy__> right I see…. I wonder why document ready fires when the document isn't ready
25: [00:48:04] <zippy__> oh i see now…. hahaha
26: [00:48:10] <zippy__> it's not wrapped in a document ready
27: [00:48:56] <zippy__> Ryan-Toast: thats for the heads up
28: [00:49:24] <Ryan-Toast> No problem :)
29: [00:49:28] <Ryan-Toast> Glad I could help/
30: [00:51:22] <Stomach> anyone every done anything like the hover points on the images here: http://line7.co.nz/terrain/product/ridge-jacket/?
31: [00:51:46] <Ryan-Toast> Stomach: yes
32: [00:51:54] <Stomach> in SS?
33: [00:51:59] <Stomach> got a sweet module? :D
34: [00:52:16] <Ryan-Toast> Stomach: No, but it shouldn't be difficult.
35: [00:52:17] <Ryan-Toast> :P
36: [00:52:31] <Stomach> yeah I am really, really lazy though
37: [00:54:19] <Ryan-Toast> Aren't we all? :P
38: [00:55:27] <Ryan-Toast> Just make a basic one. has_many markers - x-axis/y-axis/text then absolute position them in the template. EZmode
39: [00:56:33] * travis-ci has joined #silverstripe
40: [00:56:34] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2073 (3.1 - 1cc366f : Damian Mooyman): The build passed.
41: [00:56:34] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/ccb791995e8a...1cc366fe23b8
42: [00:56:34] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/20020102
43: [00:56:34] * travis-ci has left #silverstripe
44: [01:17:52] * howardgrigg quit ()
45: [01:35:29] * azureknight has joined #silverstripe
46: [01:36:14] <azureknight> This may sound like a stupid question, but how exactly would I ensure my site is multi-lingual using translatable?
47: [01:36:31] <azureknight> Whenever I view the content even when adding the other languages, it's always in english.
48: [01:37:55] <azureknight> (this is my first side I've needed to ensure is multi-lingual)
49: [01:40:02] <ss23> Oh Wellington. Someone just emailed out, "I'm just heading home quickly to tie down all of my things before the winds get here"
50: [01:44:14] <Ryan-Toast> Oh gods there are <br> tags everywhere!
51: [01:46:23] * UncleCheese quit (Quit: UncleCheese)
52: [01:47:59] <azureknight> Better than td Ryan-Toast
53: [01:48:21] <Ryan-Toast> Just remake the front end they said, it'll be easy they said
54: [01:49:39] * Tanger has joined #silverstripe
55: [01:50:22] <Ryan-Toast> Oh god, they're are inline styles. noooooo
56: [01:50:24] * azureknight quit (Read error: Connection reset by peer)
57: [01:50:30] <Ryan-Toast> there're
58: [01:50:42] * azureknight has joined #silverstripe
59: [01:56:09] <simon_w> Almost done with this dashboard
60: [01:56:17] <azureknight> Huzza!
61: [01:56:28] <simon_w> Hopefully the API's actually working for this one last piece...
62: [01:56:31] * UncleCheese has joined #silverstripe
63: [01:56:33] <Tanger> Damn, the long weekend went too fast
64: [03:07:58] * zippy__ quit (Quit: zippy__)
65: [03:33:33] * SightUnseen has joined #silverstripe
66: [03:33:41] * SightUnseen has left #silverstripe
67: [03:34:58] <UncleCheese> I love heat pumps!
68: [03:35:24] <UncleCheese> my house is warm on a cold day!
69: [03:36:24] <Ryan-Toast> yay :D
70: [04:01:47] * nickmolhoek quit (Quit: nickmolhoek)
71: [04:11:59] * gurubobnz quit (Remote host closed the connection)
72: [04:36:40] * jrthomer has joined #silverstripe
73: [04:42:01] * CodeTrap quit (Ping timeout: 240 seconds)
74: [04:42:21] * Blablub has joined #silverstripe
75: [04:42:54] * CodeTrap has joined #silverstripe
76: [04:44:19] <ss23> You can tell this site is good because it takes 30 seconds and 2gb of ram to load
77: [04:44:51] <ss23> I wish I was kidding.
78: [04:50:01] * bubaphex quit (Ping timeout: 240 seconds)
79: [04:50:05] * UncleCheese quit (Quit: UncleCheese)
80: [04:51:25] * howardgrigg has joined #silverstripe
81: [04:53:00] * cloph_away quit (Ping timeout: 264 seconds)
82: [04:57:27] * cloph_away has joined #silverstripe
83: [05:02:20] * bubaphex has joined #silverstripe
84: [05:02:30] <guzzlefry> ss23: sounds a little...loopy *puts on sunglasses*
85: [05:07:05] <ss23> lol
86: [05:07:12] <ss23> Every item in the sitetree instantiated
87: [05:07:13] <ss23> yes
88: [05:07:29] <ss23> And normally I would solve this with partial caching... but I can't get it to cache if it takes 2gb to do it
89: [05:09:32] * DesignerX has joined #silverstripe
90: [05:16:42] * ss23 rubs his brain
91: [05:16:44] <ss23> how do I do this...
92: [05:16:58] <ss23> I need some kind of asyncronous cache warming script...
93: [05:17:22] <guzzlefry> 0.o
94: [05:22:51] * Guest34208 has joined #silverstripe
95: [05:24:00] * Guest34208 is now known as rodders1512
96: [05:36:03] * bubaphex quit (Ping timeout: 253 seconds)
97: [05:57:49] * babak has joined #silverstripe
98: [06:11:44] * azureknight quit (Quit: Textual IRC Client: www.textualapp.com)
99: [06:17:42] <Tanger> ss23: What kind of site takes 2GB of ram? That cray
100: [06:17:48] <ss23> Yeah, damn right
101: [06:17:53] <ss23> I'm having to talk to a coworker to try figure out a fix
102: [06:19:12] <guzzlefry> I had a SilverStripe site hitting 2GB before.
103: [06:19:15] <guzzlefry> ecommerce :P
104: [06:21:12] <Tanger> I didn't benchmark the RAM usage, but I made an intranet that practically pulls an entire Active Directory tree. Took like 5 minutes to pull and process all of that lol
105: [06:21:18] <ss23> lol
106: [06:25:25] * rodders1512 quit (Quit: Leaving)
107: [06:26:31] * SightUnseen1 has joined #silverstripe
108: [06:27:46] * SightUnseen1 quit (Client Quit)
109: [06:28:14] * SightUnseen1 has joined #silverstripe
110: [06:30:28] * SightUnseen1 has left #silverstripe
111: [06:33:18] * Blablub quit (Ping timeout: 240 seconds)
112: [06:47:25] * willr has joined #silverstripe
113: [07:09:08] * Robke has joined #silverstripe
114: [07:11:30] * SightUnseen has joined #silverstripe
115: [07:11:53] * SightUnseen has left #silverstripe
116: [07:15:32] * Shrike_Finland has joined #silverstripe
117: [07:22:23] <ss23> "So, Debian git isn’t doing any certificate verification right now, is one thing you want to know." well fuck me
118: [07:26:54] <guzzlefry> say what
119: [07:27:05] <guzzlefry> Did Debian patch crap and break it?
120: [07:27:28] <ss23> no
121: [07:27:29] <ss23> gnutls bug
122: [07:27:30] <ss23> uh
123: [07:27:38] <ss23> http://www.gnutls.org/security.html#GNUTLS-SA-2014-2
124: [07:30:25] <ss23> is linux version of apple goto bug
125: [07:32:16] <guzzlefry> oh, that one
126: [07:32:28] * bubaphex has joined #silverstripe
127: [07:35:41] * zippy__ has joined #silverstripe
128: [07:57:18] * Robke quit (Ping timeout: 245 seconds)
129: [08:00:48] * EasyCo quit (Quit: Connection closed for inactivity)
130: [08:02:49] * Sj0hn has joined #silverstripe
131: [08:04:29] * bubaphex quit (Ping timeout: 240 seconds)
132: [08:15:31] <Tanger> Is type checking variables bad practice in PHP?
133: [08:19:43] <willr> can't imagine why it would be
134: [08:21:30] <willr> unless you're type hinting which you can be fairly confident of types
135: [08:35:54] * OzziNL has joined #silverstripe
136: [08:41:38] * willr quit (Ping timeout: 240 seconds)
137: [08:48:04] * ARNHOE has joined #silverstripe
138: [08:48:10] * willr has joined #silverstripe
139: [08:52:53] * DimiStripe has joined #silverstripe
140: [08:53:19] <DimiStripe> HI guys, in SS3 how do I change the title for button "Add MyObject" in GridField ?
141: [09:01:22] * Shrike_Finland quit (Quit: Leaving.)
142: [09:03:35] * Shrike_Finland has joined #silverstripe
143: [09:04:26] <wmk> DimiStripe, see http://stackoverflow.com/a/19923357 for custom GridFieldAddNewButton text
144: [09:15:40] * UncleCheese has joined #silverstripe
145: [09:16:45] * micmania1 has joined #silverstripe
146: [09:19:33] * willr quit (Quit: willr)
147: [09:19:36] <Tanger> Hey guys, Does anybody know why I get logged off of the CMS every 2-3 minutes in SS3.1? Is it something funky with my session settings or something?
148: [09:22:53] <svandragt> Tanger: maybe the server or your PC's time is off by a significant amount, then sessions would expire in the past :)
149: [09:25:16] <Tanger> svandragt: You're a genius, I bet I haven't set some bs timezone setting in my php.ini
150: [09:25:22] <Tanger> ty
151: [09:25:53] <svandragt> Tanger: no after a few years you tend to come across these things :)
152: [09:26:36] <Tanger> Haha. I've only been using PHP for like 2-3 months. Soooooo many little things -_-
153: [09:28:33] * willmorgan has joined #silverstripe
154: [09:34:22] * howardgrigg quit (Remote host closed the connection)
155: [09:34:41] * Pyohnoesk has joined #silverstripe
156: [09:34:45] <Pyohnoesk> ohnoes
157: [09:34:49] * howardgrigg has joined #silverstripe
158: [09:35:02] <Pyohnoesk> It's only 9:30 and I want to eat my lunch :(
159: [09:35:09] <micmania1> yep
160: [09:35:16] <micmania1> pancakes!!
161: [09:35:27] * howardgr_ has joined #silverstripe
162: [09:35:53] <Pyohnoesk> Had pancakes in the weekend.
163: [09:36:02] <Pyohnoesk> it's two days late now.
164: [09:37:35] <Pyohnoesk> http://www.maslenitsa.co.uk/
165: [09:37:59] <Pyohnoesk> didn't go, unfortunately.
166: [09:38:48] <Pyohnoesk> a bit costly and highly likely to get accosted by some twat sticking their nose into another country's business that they have about 0 clues about and are actually upset because the media reports however the fuck they want.
167: [09:39:12] * howardgrigg quit (Ping timeout: 264 seconds)
168: [09:45:23] * feejin quit ()
169: [09:48:17] * Tanger quit (Quit: Tanger)
170: [09:49:23] * Tanger has joined #silverstripe
171: [09:49:49] * Tanger quit (Client Quit)
172: [09:53:52] <Sj0hn> A client of us wants a restricted area (login) where there's a different menu.. what would be best way to approach this?
173: [10:00:23] <zippy__> Sj0hn: DIfferent page template
174: [10:00:56] * zippy__ quit (Quit: zippy__)
175: [10:03:10] <Pyohnoesk> make a page, protect it. make all protected pages under it (so protected area is bascially a section)
176: [10:03:24] <Pyohnoesk> all you have to do is flick the access rights on a single page in the cms.
177: [10:04:09] <Pyohnoesk> different template to only show second level menu instead of Menu(1) and you're away laughing.
178: [10:16:59] * ocm has joined #silverstripe
179: [10:17:04] <ocm> howdy!
180: [10:17:42] * Shashitechno has joined #silverstripe
181: [10:21:28] <Pyohnoesk> hi ocm
182: [10:28:46] <Sj0hn> Yo
183: [10:34:14] <Sj0hn> Pyohnoesk, I think i get the idea. I've added a new page type(for the template) and put the 'who can watch this page' to logged users, but by doing this this page doesnt show up in the menu anymore (when not logged).
184: [10:35:53] * Motoservo quit (Ping timeout: 252 seconds)
185: [10:38:49] * desperate_ has joined #silverstripe
186: [10:40:39] <Pyohnoesk> Sj0hn: make a redirector page to it, not sure. Didnt' think about that sorry.
187: [10:42:46] <Sj0hn> np, that works
188: [10:42:52] <desperate_> hi guys... if I have a dataobject - a news article. I want to associate tow images with it. A thumbnail and a main image... do I create two has_one relationships (1 x thumb 1 x main image) or is this has_many?
189: [10:43:05] <desperate_> I need ot be able to distinguish between the two file types
190: [10:44:04] <wmk> you can of course make two has_ones, just name them differently
191: [10:44:21] <wmk> Thumbnail => Image and MainImage => Image
192: [10:46:22] <desperate_> that was how I thought it should be done
193: [10:46:31] <desperate_> I'm also having some issues flushing my cache
194: [10:46:46] <desperate_> the page refreshes too quickly so it clearly isn't flushing
195: [10:48:31] <desperate_> when i try to flush the url redirects to Security/login?BackURL=%2Findex.php%3Fflush%3Dall#.UxWvYmR_t3U
196: [10:48:42] <desperate_> and it tells me that I am logged in which of course i already know
197: [10:50:03] <desperate_> i think it's related ot my server and not ss
198: [10:50:12] <desperate_> i think i fixe dit
199: [10:50:29] * howardgr_ quit (Remote host closed the connection)
200: [10:50:55] * howardgrigg has joined #silverstripe
201: [10:51:38] * Sj0hn quit (Ping timeout: 240 seconds)
202: [10:54:10] <Pyohnoesk> that's informative.
203: [10:54:25] <Pyohnoesk> what was the cause and how did you fix it desperate_ ?
204: [10:55:00] * howardgrigg quit (Ping timeout: 244 seconds)
205: [11:03:34] * Sj0hn has joined #silverstripe
206: [11:04:18] <Pyohnoesk> oh gawd, apparently shots fired in Ukraine.
207: [11:04:31] * UncleCheese quit (Quit: UncleCheese)
208: [11:08:18] <Pyohnoesk> hmm, warning shots.
209: [11:08:22] <Pyohnoesk> still, not looking good.
210: [11:08:28] <micmania1> its just a matter of time now
211: [11:08:39] <wmk> hmm...
212: [11:08:51] <Pyohnoesk> micmania1: it's always been a matter of time.
213: [11:09:01] <Pyohnoesk> The real question has been "to what?"
214: [11:09:08] <wmk> hopefully to the good end
215: [11:09:12] <Pyohnoesk> something the western media is insisting will be world war three or someshit.
216: [11:09:14] * OpticBlaze has joined #silverstripe
217: [11:09:23] <Pyohnoesk> but is complete bullshit when it really comes down to it.
218: [11:09:31] <micmania1> just watching on bbc now
219: [11:09:50] <Pyohnoesk> Fucking USA sticking their noses in again.
220: [11:09:55] <micmania1> Ukraine soldiers walking towards Russian troops. Ukraine firing warning shots in the air.
221: [11:10:04] <Pyohnoesk> nek minnit, 10 year US military occupation of Ukraine.
222: [11:10:26] <Pyohnoesk> for "freedom"
223: [11:10:29] <OpticBlaze> Hello
224: [11:10:31] <Pyohnoesk> hello.
225: [11:10:56] <Pyohnoesk> can't win the oil in the middle east, we'll go get Ukraine's pipeline.
226: [11:11:06] <Pyohnoesk> le sigh.
227: [11:11:17] <OpticBlaze> Are we talking politics or Silverstripe today?
228: [11:11:22] <Pyohnoesk> both.
229: [11:11:26] <OpticBlaze> Cool
230: [11:11:27] <Pyohnoesk> always all the things.
231: [11:11:54] <Pyohnoesk> spin doctors in overdrive the past few months :(
232: [11:11:58] <OpticBlaze> Have any of you had experience extending the Upload class
233: [11:12:06] <Pyohnoesk> Why?
234: [11:12:26] <OpticBlaze> Trying to create a upload field that automatically appends the date to the file name
235: [11:12:36] <Pyohnoesk> ie, obey the rules of IRC help ;)
236: [11:12:48] <Pyohnoesk> OpticBlaze: yeh, I've done that.
237: [11:13:07] <Pyohnoesk> don't remember how, and it was 2.4 though, sorry.
238: [11:13:42] <OpticBlaze> Its ok
239: [11:13:47] <Pyohnoesk> you could probably extend File (or Image) to do it directly.
240: [11:13:54] <Pyohnoesk> though unsrue.
241: [11:13:56] <Pyohnoesk> sure*
242: [11:14:01] <Pyohnoesk> unsure*
243: [11:14:34] <OpticBlaze> I figured out how to do it if i hack the class...but that is not elegant
244: [11:15:11] <Pyohnoesk> if there's a hook available ($this->extend(...))
245: [11:15:18] <ocm> it shouldnt be hard to append a filename
246: [11:15:21] <Pyohnoesk> use that and Extension class
247: [11:15:47] <Pyohnoesk> otherwise you might need to just rename the file before/after creation
248: [11:15:58] <OpticBlaze> ok will try...sounds like an idea
249: [11:17:55] <ocm> OpticBlaze, perhaps this could help you out? https://github.com/silverstripe-australia/silverstripe-versionedfiles
250: [11:20:46] * NoobNL has joined #silverstripe
251: [11:21:11] * howardgrigg has joined #silverstripe
252: [11:22:55] <Sj0hn> Is it possible for every uploaded image in the htmleditor field to open in a pop-up?
253: [11:23:21] <ocm> like how? from the frontend in your template?
254: [11:25:05] <Sj0hn> yeh
255: [11:25:31] * Shrike_Finland quit (Quit: Leaving.)
256: [11:25:51] <ocm> sure, using jquery
257: [11:25:53] <ocm> and something like fancybox
258: [11:26:19] <Sj0hn> I'd like to use this
259: [11:26:20] <Sj0hn> http://dimsemenov.com/plugins/magnific-popup/
260: [11:26:21] <ocm> images should open in a pop-up on click?
261: [11:26:28] <Sj0hn> yeh
262: [11:26:36] * howardgrigg quit (Ping timeout: 264 seconds)
263: [11:26:48] <ocm> $('img').magnificPopup( { settings.. } );
264: [11:26:49] <ocm> should do
265: [11:26:54] <ocm> or $('#content img').
266: [11:27:05] <ocm> so you only have the contentcontainer
267: [11:27:22] <Sj0hn> k,thnx il try that out
268: [11:30:51] <svandragt> When I'm editing page types in a GridField, how to I add the page action buttons to the detail form? is there a module for this? I only see Create / Cancel not Save & Publish
269: [11:30:51] <Sj0hn> it's giving me a 404
270: [11:31:18] <ocm> giving 404 on what?
271: [11:33:03] <Sj0hn> GET http://mysite.com/undefined 404 (Not Found)
272: [11:33:14] <Sj0hn> doesn't load the image
273: [11:34:19] <ocm> did you load the library properly? do all resources get loaded?
274: [11:35:39] <Sj0hn> yeh, only give me that error when i click the image. (also it pops up with the message "image could not be loaded")
275: [11:36:05] <Sj0hn> But idealy i would like to show the original image in the pop-up (not the resized)
276: [11:38:32] <Sj0hn> but that probaly isn't so easy to do
277: [11:39:45] <OpticBlaze> Thanks ocm will have a look
278: [11:40:04] * OpticBlaze quit (Quit: Leaving)
279: [11:45:14] * guci0 has joined #silverstripe
280: [11:45:22] <guci0> Hello World!
281: [11:48:19] <svandragt> Someone else must be using gridfields to edit instances of a page type?
282: [11:49:14] <micmania1> svandragt: You're asking for a world of hurt trying to do it that way
283: [11:50:08] <svandragt> micmania1: what's the alernative for say a NewsHolder with a few hundred NewsItems then?
284: [11:50:34] <micmania1> https://github.com/micmania1/silverstripe-blogger
285: [11:50:50] <micmania1> You can use that, or you can steal code you need from it
286: [11:51:04] <svandragt> micmania1: will have a look (3.0 site)
287: [11:51:17] <micmania1> Basically it stores pages in a gridfield, but removes the pain of actually editing a page within a gridfield.
288: [11:53:06] * Shrike_Finland has joined #silverstripe
289: [11:56:08] <svandragt> micmania1: looks interesting and well structured, thanks.
290: [12:01:34] * howardgrigg has joined #silverstripe
291: [12:05:47] * howardgrigg quit (Ping timeout: 244 seconds)
292: [12:06:47] <Pyohnoesk> Sj0hn: it's calculating the path wrong. Whatever you've got doing that is returning undefined instead of a string to the 'large' image file.
293: [12:14:38] <Pyohnoesk> svandragt: the answer is don't use pages.
294: [12:14:45] <Pyohnoesk> DataObjects.
295: [12:21:58] <Sj0hn> Pyohnoesk, in order to get the 'large' image file. Shoudnt you define it somewhere(like in an 'a' tag surrounding the image)? Not sure how to do that in the HTMLeditorfield when uploading an image.
296: [12:22:24] <Pyohnoesk> you can't. But resized images all follow the same pattern.
297: [12:22:49] <Pyohnoesk> you should be able to construct a regex to clean the resized data out of the filename to get the original.
298: [12:25:05] <Pyohnoesk> eg. http://www.silverstripe.org/assets/Uploads/_resampled/homethumb-fclspartners-screenshot.png
299: [12:25:14] <Pyohnoesk> http://www.silverstripe.org/assets/Uploads/fclspartners-screenshot.png
300: [12:26:49] <guci0> Hmmm... Is eny possible to get DataObject from VirtualPage as same as BasePage?
301: [12:26:58] <guci0> *any :)
302: [12:28:08] * NoobNL quit (Ping timeout: 245 seconds)
303: [12:28:28] <guci0> <% loop Children %> hmm...
304: [12:28:31] * Sj0hn quit (Ping timeout: 244 seconds)
305: [12:31:57] * Sj0hn has joined #silverstripe
306: [12:32:43] * howardgrigg has joined #silverstripe
307: [12:36:49] * howardgrigg quit (Ping timeout: 240 seconds)
308: [12:37:24] <desperate_> if I have a news article that has images... set by has_one how would I reference the file name in my template
309: [12:37:39] <desperate_> imagine the function that gets my news articles is GetNews
310: [12:37:58] <desperate_> I would start a loop control in my template
311: [12:38:23] <desperate_> GetNews will query the newsItems table for a given id
312: [12:38:55] <desperate_> but the file image name is stored in the files table
313: [12:39:12] <desperate_> i know that I need to do a join or does SS have a way of doing this for me?
314: [12:39:46] * Shrike_Finland quit (Quit: Leaving.)
315: [12:47:19] <desperate_> the name of my relationship for the image is 'thumb'
316: [12:47:26] * Shrike_Finland has joined #silverstripe
317: [12:47:49] <desperate_> so I would reference the image name as $thumb.?
318: [12:49:44] <Pyohnoesk> desperate_: $ImageVariable.filename
319: [12:49:58] <Pyohnoesk> or $ImageVariable.URL
320: [12:50:33] <Pyohnoesk> ok, so $thumb.URL
321: [12:52:00] * DesignerX quit (Ping timeout: 265 seconds)
322: [12:54:44] <desperate_> will SS make the join for me?
323: [12:55:59] * Blablub has joined #silverstripe
324: [12:56:30] <desperate_> because in my GetNews function I am only querying the News table
325: [12:56:36] <desperate_> I am not specifying the join
326: [12:56:53] * Shashitechno quit (Ping timeout: 245 seconds)
327: [13:00:34] <desperate_> or do I have to specify the join to the files table when I query my news table
328: [13:02:55] <Pyohnoesk> desperate_: yes, that's the whole point.
329: [13:02:59] * Sj0hn quit (Ping timeout: 240 seconds)
330: [13:03:01] <Pyohnoesk> of an ORM
331: [13:03:48] <Pyohnoesk> the result of a query isn't a query result, it's an object. Fetching relations will cause them to be fetched also.
332: [13:04:08] <Pyohnoesk> as you're accessing on an object, not just a flat query result array.
333: [13:04:46] <desperate_> ok so the relatinoships are also brough across right?
334: [13:05:03] <Pyohnoesk> No, they're accessed as needed.
335: [13:05:14] <Pyohnoesk> long story short: don't worry about anything, just do it.
336: [13:05:19] <Pyohnoesk> only worry when it doesn't work.
337: [13:05:29] <Pyohnoesk> queries are done for you.
338: [13:05:34] <desperate_> wowo powerful
339: [13:05:46] <Blablub> private static $summary_fields = array( 'brand' => 'Marke' ); <-- still shows as 'brand' in the gridfield, any idea?
340: [13:06:17] <Pyohnoesk> NewsItems::get() : you now have a full list of all news items, and can access any item or relation defined on the model as you iterate through the list.
341: [13:06:22] <Pyohnoesk> desperate_: ^
342: [13:06:27] <Pyohnoesk> as an example.
343: [13:06:42] <Pyohnoesk> Blablub: flush.
344: [13:06:56] * UndefinedOffset has joined #silverstripe
345: [13:08:35] * DimiStripe quit (Quit: Page closed)
346: [13:11:02] * Sj0hn has joined #silverstripe
347: [13:12:15] <Blablub> Pyohnoesk, tried it at least 50 times, I even restarted the apache to clear the opcode cache ;)
348: [13:13:09] <Pyohnoesk> that's a bit overkill.
349: [13:13:25] <Pyohnoesk> probably just a misunderstanding of the summary fields.
350: [13:13:45] <micmania1> tried reversing the key value pairing?
351: [13:13:54] <Pyohnoesk> I forget how they're defined, but try title => field, instead of field => title
352: [13:14:08] <Pyohnoesk> yeh, what micmania1 said.
353: [13:14:49] <desperate_> hmm i don't seem to be able to reference the image... the name of the relationship is 'Thumb' and the column that holds the name of the image file is 'Filename' so in my template I am using $Thumb.Filename
354: [13:15:01] <desperate_> but I don't get any output
355: [13:15:49] <desperate_> my Getnews function uses: $res=DataObject::get("News",null,"PriorityOrder DESC, Created DESC");
356: [13:16:04] <Blablub> when i change it to title => field it shows me 'brand' as title but it doesn't show me any values
357: [13:18:49] * NoobNL has joined #silverstripe
358: [13:22:00] <desperate_> @Pyohoesk will this work: $res=DataObject::get("NewsItem",null,"PriorityOrder DESC, Created DESC");
359: [13:25:01] <Pyohnoesk> desperate_: are you... what.
360: [13:25:09] <Pyohnoesk> are you using version 2.4?
361: [13:25:50] <Sj0hn> Pyohnoesk sorry my internet tripped out, I get what our saying only not sure how to fix this with the magnific-popup plugin. My javascript coding doesnt go so far creating that on my own..
362: [13:26:27] <desperate_> 3.1
363: [13:26:27] <Pyohnoesk> Sj0hn: in that case read the docs, they probably want some kind of specific html structure to define things and make it all 'magically' work.
364: [13:26:34] <Pyohnoesk> desperate_: then you're doing it 100% wrong.
365: [13:26:42] <desperate_> ah!
366: [13:26:44] <Sj0hn> Lol, "magically"
367: [13:26:49] <Sj0hn> Ill try to figure it out
368: [13:27:08] <Pyohnoesk> desperate_: replace that entire line with $res = News::get()
369: [13:27:18] <Blablub> hmm, seems like $summary_fields isn't for renaming, i added 'brand' => 'Marke' to $field_labes, now it is working
370: [13:27:21] <desperate_> ok..
371: [13:27:44] <Pyohnoesk> desperate_: replace that entire line with $res = News::get()->sort('PriorityOrder DESC, Created DESC')
372: [13:28:36] <Pyohnoesk> Blablub: summary_fields needs to be defined on the dataObject. field_labels is a gridfield thing, afaik.
373: [13:28:46] <Pyohnoesk> you may hve been confused about where what goes. I dunno.
374: [13:28:56] <Pyohnoesk> maybe not, in which case that's a bit weird.
375: [13:32:42] <desperate_> @Pyohoesk ok I changed the way that I make the query
376: [13:33:11] <Pyohnoesk> cool, read docs on data model :>
377: [13:33:15] <Blablub> Pyohnoesk, in this documentation $field_labels is defined in the dataobject http://doc.silverstripe.org/framework/en/reference/modeladmin
378: [13:33:23] <desperate_> so in my foreach in my controller I should be able to see the filename in $res->Thumb.Filename
379: [13:33:28] * howardgrigg has joined #silverstripe
380: [13:33:39] <Pyohnoesk> desperate_: oh, controller
381: [13:34:37] <Pyohnoesk> in the template you do <% loop FunctionThatReturnsThatList %> $Thumb.Filename <% end_loop %>
382: [13:34:38] * howardgrigg quit (Read error: Connection reset by peer)
383: [13:34:46] * howardgrigg has joined #silverstripe
384: [13:34:47] <Pyohnoesk> desperate_: but in php they're just normal php objects.
385: [13:35:33] <Pyohnoesk> foreach($res as $newsitem){ $thumbnailFilename = $newsitem->Thumb()->Filename; }
386: [13:35:36] <Pyohnoesk> for example.
387: [13:36:13] <desperate_> ok thst's fine I am happy to do in the template I was just testing the output in the controller first
388: [13:37:27] <desperate_> weird in the template this doesn't work $Thumb.Filename
389: [13:37:58] <Pyohnoesk> probably in wrong scope
390: [13:38:03] <desperate_> just to confirm 'Thumb' is defined in the has_one
391: [13:39:00] <desperate_> ie private static $has_one = array('Thumb' => 'Image');
392: [13:39:04] <Pyohnoesk> yes, you're probably returning the wrong thing (or nothing at all) to the template.
393: [13:39:23] <desperate_> ah yes i think you are right
394: [13:39:27] <desperate_> i am returning an array
395: [13:39:34] * Shrike_Finland quit (Quit: Leaving.)
396: [13:39:42] <Pyohnoesk> public function News() { return News::get(); }
397: [13:40:04] <Pyohnoesk> <% loop News %> $Thumb.Filename <% end_loop %>
398: [13:40:48] <desperate_> ahhh ok so i am just returning the entire object
399: [13:41:05] <Pyohnoesk> why are you returning an array, what's in it?
400: [13:41:51] <desperate_> it's an array containing the field
401: [13:42:02] <Pyohnoesk> ?
402: [13:42:19] <Pyohnoesk> array('Res' => $res); ?
403: [13:42:51] <Pyohnoesk> unnecessary
404: [13:43:01] <Pyohnoesk> just confusing.
405: [13:43:42] <Pyohnoesk> I suggest you do tutorials desperate_ : http://doc.silverstripe.org/framework/en/tutorials
406: [13:44:00] <Pyohnoesk> 1,2,3 cover the basics. 5 is most relevant here.
407: [13:44:16] <svandragt> How Do you pass a value with spaces into an include? <% include MyInclude Title="$This $That the other" %> but then with the variables evaluated :)
408: [13:44:56] <desperate_> @Pyohoesk thanks I am going to grab some lunch I will try in about an hour
409: [13:44:57] <desperate_> thanks
410: [13:45:36] * Pigeon has joined #silverstripe
411: [13:46:01] * Pigeon is now known as Guest91781
412: [13:47:36] <Pyohnoesk> oh you, dan
413: [13:48:55] * Guest91781 is now known as PigeonFriend
414: [13:49:33] <Pyohnoesk> better.
415: [13:52:30] <PigeonFriend> stupid nickserv
416: [13:53:29] <PigeonFriend> whoever took Pigeon can ... give it to me, please
417: [13:53:46] <Pyohnoesk> but you've always been PigeonFriend
418: [13:53:52] <Pyohnoesk> or Fiend, I never remember
419: [13:58:55] * kk has joined #silverstripe
420: [14:01:13] <kinglozzer> Pyohnoesk: You know what time it is?
421: [14:03:22] <willmorgan> has anyone ever tried running code coverage on the full test suite?
422: [14:03:34] <willmorgan> you know, for a laugh
423: [14:06:45] <lewellyn> 06:06 [freenode] -NickServ(NickServ@services.)- Information on pigeon (account pigeon):
424: [14:06:48] <lewellyn> 06:06 [freenode] -NickServ(NickServ@services.)- Registered : Nov 05 22:58:10 2001 (12 years, 17 weeks, 2 days, 15:08:21 ago)
425: [14:06:53] <lewellyn> good luck getting that nick from the owner :P
426: [14:07:08] <kk> what irc client do you use?
427: [14:07:50] <PigeonFriend> heh, don't think I'll see that
428: [14:07:59] <PigeonFriend> I've always been PigeonFriend coz I can't get Pigeon
429: [14:08:14] <PigeonFriend> when did i register mine?
430: [14:08:25] <PigeonFriend> I'm using irc
431: [14:09:07] <Pyohnoesk> kinglozzer: hammer time?
432: [14:09:51] <kinglozzer> Pyohnoesk: If by hammer you mean siesta, yes
433: [14:10:03] <kinglozzer> Otherwise... maybe
434: [14:10:25] <Pyohnoesk> kinglozzer: ah yeah, I was gonna come and tell you earlier, but instead I went to sleep (with my eyes open, reading a newspaper).
435: [14:10:35] <micmania1> oh siesta! My favourite time of the day
436: [14:10:50] <Pyohnoesk> the trick is doing it with eyes open micmania1
437: [14:10:54] <Pyohnoesk> ... if you can.
438: [14:10:59] <micmania1> i'm good at that.
439: [14:11:03] <Pyohnoesk> if you're truely sleepy it's... hard :<
440: [14:11:17] <Pyohnoesk> going for a walk works well too.
441: [14:12:18] <Pyohnoesk> but when I do that I usually end up spending money, which isn't too good.
442: [14:12:41] <Pyohnoesk> well, depneds. If it's caffine related it can help... for about 10 minutes.
443: [14:12:52] <Pyohnoesk> but generally it's waste I don't need :(
444: [14:17:29] <Pyohnoesk> kinglozzer: despite being pretty yawney all day, surprisingly not siestary atm. Especially considering the time
445: [14:17:52] <kinglozzer> I am, ate too much food at lunch, fatal mistake
446: [14:17:59] <Pyohnoesk> always is.
447: [14:18:10] <Pyohnoesk> especially if it's hot and stodgy.
448: [14:18:27] <Pyohnoesk> like say... burger king. Or fish and chips.
449: [14:21:01] * Shrike_Finland has joined #silverstripe
450: [14:21:12] <micmania1> or mcdonalds? :p
451: [14:21:26] <micmania1> I was hoping they were doing pancakes all day but no luck :(
452: [14:22:20] <Pyohnoesk> guts
453: [14:22:27] <Pyohnoesk> might be make your own night tonight?
454: [14:22:34] <micmania1> definitely
455: [14:22:36] <Pyohnoesk> bro, do you even pancake?
456: [14:22:46] * NobrainerWeb has joined #silverstripe
457: [14:24:21] <Blablub> is there a way to rename a tab without removing and readding?
458: [14:25:08] <kinglozzer> $fields->fieldByName('Root.Main.MyTab')->setTitle('NewName');
459: [14:25:11] <kinglozzer> I'd guess
460: [14:26:06] <micmania1> I was going to go for setName() but I guess that works too
461: [14:26:48] * Shrike_Finland quit (Quit: Leaving.)
462: [14:26:53] * desperate_ quit (Ping timeout: 245 seconds)
463: [14:27:08] <willmorgan> ISuggestor? SuggestorInterface? Suggestable? Suggestive?
464: [14:31:50] <Blablub> kinglozzer, that's working, thanks
465: [14:32:02] <kinglozzer> Epic guess
466: [14:32:21] <kinglozzer> willmorgan: SuggestorInterface imo
467: [14:32:49] <willmorgan> see, we have some crazy interface conventions in SS so far
468: [14:32:53] <kinglozzer> That or iSuggestor, those are the only two that are immediately obvious
469: [14:33:09] <willmorgan> TestOnly vs PermissionProvider
470: [14:33:43] <willmorgan> CMSPreview*able*
471: [14:33:45] <willmorgan> and so on
472: [14:33:46] <kinglozzer> Actually maybe Suggestable as well :P
473: [14:33:52] <willmorgan> yeah, I'm using Suggestable
474: [14:34:14] <willmorgan> thanks for indulging my pompous pedantry, kinglozzer
475: [14:34:24] <kinglozzer> np
476: [14:37:19] * catcher has joined #silverstripe
477: [14:37:33] <NobrainerWeb> I have static db 'FestivalStartDate' => 'Date' in my siteconfig, doing echo "StartDate: " . $this->SiteConfig()->FestivalStartDate->Format('d-M-y'); on my Page class gives error " ...Format() on a non-object" - what's wrong?
478: [14:37:51] <NobrainerWeb> how do i format the date?
479: [14:37:57] <kinglozzer> NobrainerWeb: Try $this->SiteConfig()->dbObject('FestivalStartDate');
480: [14:38:01] <Pyohnoesk> willmorgan: sounds like that .net nazi atrocious stuff.
481: [14:38:12] <willmorgan> ...excuse me?
482: [14:38:15] <Pyohnoesk> INTERFACES MUST START WITH AN I
483: [14:38:23] <Pyohnoesk> or you are an inferior developer
484: [14:38:26] <willmorgan> oh
485: [14:38:32] <willmorgan> it's essentially hungarian notation
486: [14:38:38] <Pyohnoesk> off to the chambers with PHP devs!
487: [14:38:40] <Pyohnoesk> etc.
488: [14:38:52] <Pyohnoesk> yeah, essentially. But also not.
489: [14:38:53] <NobrainerWeb> kinglozzer: Thank you once again :-)
490: [14:39:19] <willmorgan> I'm just glad that they probably didn't program the Apple website in .NET
491: [14:39:23] <willmorgan> IiPhone
492: [14:39:25] <Blablub> Ok, last question (I hope), I have a gridfield on a page with some dataobjects, every dataobject has a page, if I click on add on a page, the page isn't automatically set to the actual page
493: [14:39:32] <Pyohnoesk> also it has the undesired affect of making you sound like an iTwat, yeh.
494: [14:39:34] <Blablub> Any Idea how I can automatically set it to the actual page?
495: [14:39:35] <NobrainerWeb> kinglozzer: Is there something i can read to understand why i need to call the data like that?
496: [14:39:49] <Pyohnoesk> IiPhoneCap'n
497: [14:40:02] * catcher quit (Client Quit)
498: [14:40:03] <Pyohnoesk> new IiCapn
499: [14:40:11] <Pyohnoesk> cap(N)
500: [14:40:14] <Pyohnoesk> something like that
501: [14:40:21] <Pyohnoesk> ALL THE LAME DEV JOKES
502: [14:40:35] <Pyohnoesk> so I went for a walk kinglozzer.
503: [14:40:39] <Pyohnoesk> ended up with a boost bar.
504: [14:40:42] <Pyohnoesk> :<
505: [14:40:54] <Pyohnoesk> Moro Gold.
506: [14:41:05] <Pyohnoesk> ish
507: [14:45:37] <willmorgan> ah, the caffeine is what makes you type so much?
508: [14:46:36] <PigeonFriend> Blablub: just remove the field in getCMSFields() SS magic will do the rest
509: [14:47:49] <Blablub> Blablub, I don't have getCMSFields() in the dataobject
510: [14:48:22] <Pyohnoesk> willmorgan: no, boredom.
511: [14:49:16] <Blablub> PigeonFriend, Ok, i will add getCMSFields() and just parent::getCMSFields() and then remove this single field
512: [14:50:18] * howardgrigg quit (Remote host closed the connection)
513: [14:51:13] <Sj0hn> Pyohnoesk i got it working
514: [14:51:15] <Sj0hn> :D
515: [14:51:16] <Sj0hn> http://paste2.org/Fh5BHWN3
516: [14:53:16] <Pyohnoesk> :>
517: [14:53:32] <PigeonFriend> h'ogod Sj0hn: that looks nasty..... can't you just add a data attribute to each el in the template of the original filename?
518: [14:55:43] <Sj0hn> It's for the images in the HTMLEditor field, so not sure how that would work..
519: [14:55:47] <Pyohnoesk> PigeonFriend: you fuck around with tinymce and then get back to me.
520: [14:56:01] <Pyohnoesk> but yeh, nasty. but that's just because it is.
521: [14:56:05] <PigeonFriend> aren't images in the html editor short tags?
522: [14:56:16] <PigeonFriend> so you just modify the short tag parser
523: [14:56:41] <PigeonFriend> Pyohnoesk: funny you say that, I was looking at getting TinyMCE4 working
524: [14:57:22] <PigeonFriend> take that SS: https://dl.dropboxusercontent.com/u/3429338/Clippings/2014-02/2014-02-19_21-44-32_I8vWgUFHtr.png
525: [14:57:32] <Pyohnoesk> PigeonFriend: oh yeh. Personally I think a better idea is cleaning the shit up out of the whole HTMLEditor interface.
526: [14:57:41] <Pyohnoesk> but... easier said than done :<
527: [14:58:13] <Pyohnoesk> PigeonFriend: nah, it plonks images in there proper. It's links that don't.
528: [14:58:18] <Pyohnoesk> at least, at last ook.
529: [14:58:19] <Pyohnoesk> look*
530: [14:58:46] <Pyohnoesk> lol, dat install.php :<
531: [14:59:06] <Pyohnoesk> still, a valiant effort to get just that far :>
532: [15:00:34] <Pyohnoesk> nice work PigeonFriend
533: [15:00:47] <Sj0hn> The tinymce4 looks prty nice
534: [15:01:03] <PigeonFriend> meh f SS, I'll just build my own CMS on Laravel, it'll be faster than integrating TinyMCE 4 into SS
535: [15:01:09] <willmorgan> I'm rather jealous that I'm working on actual projects instead of doing cool shit for community rep like PigeonFriend
536: [15:01:21] <willmorgan> pfft heathen
537: [15:01:27] <PigeonFriend> willmorgan: don't be jelly
538: [15:01:35] <willmorgan> have fun with Laravel then brah
539: [15:01:38] <willmorgan> off you go
540: [15:01:48] <PigeonFriend> you'll join my Backbone.js driven CMS that runs on a framework that is consistent and makes sense
541: [15:02:14] <willmorgan> haha yeah
542: [15:02:15] <willmorgan> like WordPress
543: [15:02:21] <PigeonFriend> the cms will be called Dan is Awesome. or Dia for short
544: [15:02:38] <willmorgan> who's Dan?
545: [15:02:39] <PigeonFriend> just so when you're talking about it you have to say im awesome
546: [15:02:47] <willmorgan> ugh
547: [15:02:54] <willmorgan> smug too much
548: [15:02:56] * willmorgan withdraws
549: [15:03:10] * PigeonFriend thinks it's all too sticky
550: [15:04:17] <Pyohnoesk> hoooooooooo
551: [15:04:18] <Pyohnoesk> [15:01] <PigeonFriend> you'll join my Backbone.js driven CMS that runs on a framework that is consistent and makes sense [15:02] <willmorgan> haha yeah [15:02] <willmorgan> like WordPress
552: [15:04:20] <Pyohnoesk> lulz
553: [15:04:30] * london95 has joined #silverstripe
554: [15:04:58] <PigeonFriend> willmorgan actually builds all his sites in WP. he just hangs out here because I'd judge him otherwise
555: [15:05:06] <Pyohnoesk> I'd like to evaluate Lara. So long as she's a croft model.
556: [15:05:30] <Pyohnoesk> I don't believe. Good troll though.
557: [15:06:14] <PigeonFriend> Pyohnoesk: laravel is like... the best thing ever... you know all that stuff you love about SS? yer, laravel has it.. you know the stuff you hate about SS? yer, not in laravel
558: [15:06:36] <Pyohnoesk> Frameworks are a terrible idea. Just learn PL/pgSQL and be done with it.
559: [15:07:16] <PigeonFriend> Pyohnoesk: it's all about libraries
560: [15:07:44] <Pyohnoesk> Laravel has a CMS? An interface. It's more than a collection of parts of a framework?
561: [15:07:56] <Pyohnoesk> In which case, it doesnt' have everything I love about SS.
562: [15:08:01] <Pyohnoesk> and it' has more things I hate.
563: [15:08:28] <Pyohnoesk> so in short; No.
564: [15:10:52] <Blablub> How can I get the action, (add dataobject, or edit dataobject)
565: [15:11:28] * NoobNL quit (Ping timeout: 245 seconds)
566: [15:13:12] <Pyohnoesk> Blablub: I'm not sure what you mean, could you clarify please?
567: [15:13:28] <Pyohnoesk> oh, if you're in a controller, $this->Action
568: [15:13:31] <Pyohnoesk> iirc
569: [15:14:25] <Blablub> Yes sure, In the getCMSFields function in a dataobject I remove a field, but I only want it to remove it if I add a new Object
570: [15:14:46] <Blablub> So the field should be visible when I edit an Object
571: [15:15:19] <Pyohnoesk> babak: getCMSFields (if !$this->ID { show field } else { nothing} ...
572: [15:15:23] <PigeonFriend> Blablub: if ($this->exists()) { //update } else { //new }
573: [15:15:31] <Pyohnoesk> yeah, or that too.
574: [15:15:35] <Pyohnoesk> bascially the same thing.
575: [15:15:52] <PigeonFriend> Pyohnoesk: no CMS on laravel.. yet...
576: [15:15:59] <Blablub> Thanks, that should work
577: [15:16:12] <Pyohnoesk> PigeonFriend: so basically you're just confirming that SS is superior.
578: [15:16:16] <Pyohnoesk> great!
579: [15:16:16] <Blablub> How do you know such things?
580: [15:16:19] <Pyohnoesk> I'll stick with it.
581: [15:16:34] <Pyohnoesk> (I lie, I regressed all the way to Code Igniter :( )
582: [15:18:37] <Blablub> is there a way to get the calling class. I mean when I add a dataobject which class called dataobject->new
583: [15:19:19] <Pyohnoesk> nope
584: [15:19:56] <Pyohnoesk> there's only the URL
585: [15:20:01] <Pyohnoesk> and post/get data
586: [15:20:22] <Blablub> hmm, yes, i think that should work with the GET Data
587: [15:21:10] * howardgrigg has joined #silverstripe
588: [15:21:44] <PigeonFriend> Blablub: you can be super hacky and do something like: Controller::curr()->currentPage and it'll return the page that is being edited in the CMS.. but you should check that Controller::curr() is and instance of LeftAndMain...
589: [15:22:04] <willmorgan> Controller::curr()->getData(), maybe
590: [15:22:17] <PigeonFriend> no... currentPage
591: [15:22:39] <willmorgan> not sure if currentPage also takes in to account generic DO relations
592: [15:25:04] <Blablub> $_GET['url'] is pretty fine
593: [15:25:38] <Zauberfisch> not sure if $_GET['url'] is s save choice
594: [15:25:49] * howardgrigg quit (Ping timeout: 252 seconds)
595: [15:25:56] <Zauberfisch> that URL handling is long overdue for refactoring
596: [15:26:03] <PigeonFriend> here is an example of hacking the hell out of SS: https://dl.dropbox.com/u/3429338/Clippings/2014-03/2014-03-04_15-25-57_Bfx4vItWKf.png
597: [15:26:18] <Pyohnoesk> Blablub: not a good idea.
598: [15:26:24] <Pyohnoesk> use the framework.
599: [15:26:36] <Pyohnoesk> Zauberfisch: how so?
600: [15:27:03] <Zauberfisch> well, because ?url=something is too generic for beeing the key stone of the framework
601: [15:27:21] <Pyohnoesk> it's the rules.
602: [15:27:26] <Zauberfisch> and many other systems (eg oembed) use ?url= as well
603: [15:27:28] <Pyohnoesk> of all PHP framworks.
604: [15:27:40] <Zauberfisch> so you can not be oembed provider with silverstripe at all
605: [15:27:40] <Pyohnoesk> Zauberfisch: yeah, but not seeing the issue here.
606: [15:27:51] <Pyohnoesk> Zauberfisch: Ah yeh.
607: [15:28:07] * hubertusanton has joined #silverstripe
608: [15:29:05] <Zauberfisch> so yeah, url is bad
609: [15:30:19] <Zauberfisch> should be something less ambiguous
610: [15:30:33] <Blablub> Hmm, ok, the problem is i have a dataobject with $has_many and another dataobject with $has_one, in the dataobject with $has_many I can create the other dataobjects, and in this case I want to remove a field
611: [15:30:40] <Zauberfisch> like ?silverstripe-url-which-is-not-ambiguous=$1
612: [15:31:20] <Zauberfisch> remove a field?
613: [15:31:33] <Zauberfisch> ah, as in you want the CMS fields to show 1 field less?
614: [15:32:14] <Blablub> remove a field from the gridfield
615: [15:32:43] <Zauberfisch> from the gridfield (as in a column) or from the CMS fields of the dataobject?
616: [15:32:45] <Blablub> Yes but only in the case he's editing or adding a dataobject in the view of the dataobjects which holds it
617: [15:33:07] <Blablub> from the CMS Fields of the dataobject
618: [15:33:56] <Blablub> It's Object<->Category, in the category view he see's all the objects which belong to this category
619: [15:34:30] <Blablub> And if the user add's a dataobject he shouldn't have to fill the category, because the user is already choosed the category
620: [15:34:46] <Blablub> has already
621: [15:36:25] <Zauberfisch> so you want to remove a field
622: [15:36:29] <Blablub> Yes
623: [15:36:30] <Zauberfisch> well, there is already an api for that
624: [15:36:34] <Zauberfisch> no need to hack around
625: [15:36:35] <Zauberfisch> http://paste2.org/5p5ADM5H
626: [15:36:41] <Zauberfisch> that should do the trick
627: [15:38:02] <Blablub> atm it's solved this way: http://paste2.org/VIwvbk14
628: [15:39:30] <Zauberfisch> http://paste2.org/5p5ADM5H has to be put into the parent. (there where the gridfield is)
629: [15:42:23] <Blablub> Hmm, the getComponentByType method doesn't exist
630: [15:47:42] * Shrike_Finland has joined #silverstripe
631: [15:49:47] * Shrike_Finland quit (Client Quit)
632: [15:50:43] * desperate_ has joined #silverstripe
633: [15:51:34] <desperate_> hi I am using an HTMLfield but it is not saving the input to my db
634: [15:51:39] <desperate_> $fields->replaceField('Body', new HTMLEditorField('Text'));
635: [15:51:51] <desperate_> Body is a field of 'htmltext' type
636: [15:52:02] <desperate_> all other form input is saved
637: [15:52:19] <Pyohnoesk> name of field needs to match name of field on object.
638: [15:52:46] <Pyohnoesk> form fields usually go FormField($fieldname, $title, $value)
639: [15:52:48] <Pyohnoesk> usually
640: [15:53:17] <Pyohnoesk> not always, although the first two are pretty constant. Title is what you use to change the user visible text. Name is the name of the field it's to populate.
641: [15:53:33] * london95 quit (Ping timeout: 245 seconds)
642: [15:55:58] <desperate_> so somethin glike $fields->formField('Body', new HTMLEditorField('Text'));
643: [15:57:12] <desperate_> although that crashes my cms
644: [16:01:40] * howardgrigg has joined #silverstripe
645: [16:04:13] <desperate_> ah i see... just making the field type HTMLtext it defaults to a html editor by default
646: [16:04:15] <desperate_> nice I like that!
647: [16:05:59] * howardgrigg quit (Ping timeout: 252 seconds)
648: [16:06:52] <svandragt> simple template question: When I have <% loop Items %><% include ItemDetails %><% end_loop %> then in ItemDetails I can echo $ID. Now when I customize a controller and renderWith ItemDetails, what do I assign the data to? I tried customize "Me" => $Item but that doesn't work there is magic going on
649: [16:12:30] * NobrainerWeb quit (Quit: NobrainerWeb)
650: [16:13:59] * Sj0hn quit ()
651: [16:15:23] * hubertusanton quit (Read error: Connection reset by peer)
652: [16:19:35] * ARNHOE quit ()
653: [16:19:46] <willmorgan> hmm
654: [16:19:47] <willmorgan> yeah
655: [16:19:50] <willmorgan> you need to set the scope somehow
656: [16:19:59] <svandragt> Solved this -
657: [16:20:03] <willmorgan> I thought you might have
658: [16:21:06] <svandragt> I created CustomizedItemDetails include which wraps around ItemDetails using a with statement
659: [16:21:13] <willmorgan> ah
660: [16:21:14] <svandragt> to set the scope :)
661: [16:21:22] <svandragt> counter magic
662: [16:22:08] <svandragt> I must be getting tired.
663: [16:22:57] <Pyohnoesk> desperate_: where are you based?
664: [16:23:01] <Pyohnoesk> UK?
665: [16:24:20] <desperate_> @Pyohoesk... using your approach... $res=NewsItem::get();
666: [16:24:26] <desperate_> it works I can get the related images
667: [16:27:15] <desperate_> butcan i add a condition to the get
668: [16:29:46] <micmania1> see this: http://doc.silverstripe.com/framework/en/topics/datamodel
669: [16:31:37] * catcher has joined #silverstripe
670: [16:32:46] * howardgrigg has joined #silverstripe
671: [16:36:49] * howardgrigg quit (Ping timeout: 240 seconds)
672: [16:44:18] <Blablub> is there a good recent tutorial for adding a detailpage for a dataobject? All I get are docs for 2.4
673: [16:48:16] * kk quit (Quit: Page closed)
674: [16:51:29] * violetina has joined #silverstripe
675: [16:52:33] <desperate_> @micmanial thanks that is perfect I can add the condition to my sql
676: [16:53:00] <desperate_> if I want to modify some of the dataobject valuesis that possible
677: [16:53:10] * ocm quit (Quit: HydraIRC -> http://www.hydrairc.com <-)
678: [16:53:17] <desperate_> for example I select all form my News table
679: [16:53:44] <desperate_> i want to grab the first 100 characters of the main body.. as preview text
680: [16:54:08] <desperate_> I would typically use the substr php function
681: [16:55:19] <desperate_> so if I'm using this.. $res=NewsItem::get()
682: [16:55:26] <desperate_> do i have to do a for each?
683: [17:01:39] <micmania1> Just do it in your template.
684: [17:02:12] <micmania1> http://api.silverstripe.org/3.1/class-StringField.html#_LimitCharacters
685: [17:02:25] <micmania1> You can just call $MyField.LimitCharacters(100)
686: [17:03:33] * guci0 quit (Ping timeout: 245 seconds)
687: [17:05:56] <desperate_> @micmanial wow thank you... that works perfectly
688: [17:10:28] <desperate_> so there must also be a way to format a date
689: [17:10:39] <willmorgan> desperate_: yep
690: [17:10:50] <willmorgan> $DateFieldName.Format in the template
691: [17:11:16] <willmorgan> $DateFieldName.Format('Y-m-d G:i:s') will give you 2014-03-04 17:11:00
692: [17:11:41] <willmorgan> likewise, in PHP: $DateFieldName->Format('Y-m-d G:i:s')
693: [17:15:21] <desperate_> excellent that's so easy
694: [17:15:26] <desperate_> working nicely now
695: [17:22:29] <desperate_> guys another question... is it possible to run a cron job form within SS
696: [17:22:39] * Sj0hn has joined #silverstripe
697: [17:29:24] <SMaction> is there a way to display a subpage as a modal as opposed to a seperate page?
698: [17:30:46] <Pyohnoesk> yes and no.
699: [17:31:02] <Pyohnoesk> mostly no. It used to be like that but was removed to allow nesting
700: [17:32:02] <Pyohnoesk> desperate_: you're working with objects, not raw primitives.
701: [17:32:28] <Pyohnoesk> it seems like you've come from a DIY or Code Igniter background... you really need to read and understand the tutorials for SS :>
702: [17:33:14] <Pyohnoesk> desperate_: but yes, it's possible to run cronjobs, see the docs for command line operation and scheduled tasks.
703: [17:33:26] * Pyohnoesk quit (Quit: Page closed)
704: [17:33:35] * howardgrigg has joined #silverstripe
705: [17:33:42] * bubaphex has joined #silverstripe
706: [17:37:32] * kinglozzer quit ()
707: [17:38:08] * howardgrigg quit (Ping timeout: 265 seconds)
708: [17:39:23] * desperate_ quit (Ping timeout: 245 seconds)
709: [17:56:33] * dendeffe has joined #silverstripe
710: [17:59:03] * SphereSilverNL has joined #silverstripe
711: [18:04:12] <SphereSilverNL> This is quite cool: http://osrc.dfm.io/
712: [18:05:49] <catcher> whoa, that's pretty cool
713: [18:09:32] <catcher> Makes me wish I hosted my own repos on github instead of privately
714: [18:11:02] * PigeonFriend quit ()
715: [18:18:48] * SphereSilverNL quit (Remote host closed the connection)
716: [18:21:48] * willmorgan quit (Ping timeout: 264 seconds)
717: [18:28:27] <dendeffe> I have an old Silverstripe install 2.x (it's the one where the version number is missing in the bottom of the admin) - I have a URL that is redirected to /exsanhk/index.html/ (notice the slash at the end) - this gives a 404 as the .htaccess takes over. I added the following rewrite rule, but it only works without the final slash: RewriteCond %{REQUEST_URI} !^/exsanhk/.*
718: [18:29:13] <dendeffe> Here's the full .htaccess: http://www.sspaste.com/paste/show/53161804c3965
719: [18:29:40] <dendeffe> What should I change in that last line to also match index.html/
720: [18:29:40] * bubaphex quit (Ping timeout: 244 seconds)
721: [18:34:32] * howardgrigg has joined #silverstripe
722: [18:34:43] <simon_w|air> dendeffe, you want them to be before the RewriteRule line
723: [18:37:44] <dendeffe> simon_w|air like this? http://www.sspaste.com/paste/show/531619c0931f4 - still only seems to work without the trailing slash, I'm affraid
724: [18:38:17] <simon_w|air> dendeffe, try getting rid of the leading slash
725: [18:38:38] * howardgrigg quit (Ping timeout: 240 seconds)
726: [18:40:05] <dendeffe> In the redirect to the site? Or in the .htaccess? The registrar adds it automatically in the redirect. It's that time of month again when I wish my regex skills were better :)
727: [18:40:52] <catcher> dendeffe, try a question mark after the trailing slash
728: [18:40:57] <simon_w|air> The htaccess.
729: [18:42:14] <dendeffe> Like this? RewriteCond %{REQUEST_URI} !^/exsanhk/?.*
730: [18:42:29] <dendeffe> Doesn't work I'm afraid.
731: [18:43:41] <catcher> oh, the trailing slash after index.html, I see
732: [18:45:41] <catcher> without the slash, the file test condition will fail, no?
733: [18:47:12] <dendeffe> Without the trailing slash it works: http://www.sany.be/exsanhk/index.html
734: [18:47:33] <dendeffe> But the registrar automatically adds a trailing slash to the redirect
735: [18:47:34] <catcher> right, the file test is handling that one
736: [18:47:42] <dendeffe> aaah I see
737: [18:48:11] <catcher> dendeffe, did you try it without the leading slash per simon?
738: [18:48:49] <dendeffe> Like this? Yes, that didn't work either. RewriteRule %{REQUEST_URI} !^exsanhk/.*
739: [18:49:35] <dendeffe> OK - it does do something
740: [18:50:05] <dendeffe> If I put this: http://www.sspaste.com/paste/show/53161ceb448c8
741: [18:50:17] <dendeffe> Then I get another page, but not a 404
742: [18:50:42] <simon_w|air> Why would you get a 404?
743: [18:52:17] <dendeffe> If I don't have a special rule in the .htaccess and go to http://www.sany.be/exsanhk/index.html/ I get a 404 as Silverstripe tries to handle it.
744: [18:52:45] <dendeffe> With the .htaccess as I last pasted I'm getting some other static page
745: [18:53:51] * Azure quit (Quit: Textual IRC Client: www.textualapp.com)
746: [18:55:59] <catcher> dendeffe, does exsanhk/index.html exist?
747: [18:56:15] <catcher> I see, it does
748: [18:57:04] <catcher> Seems to get through, with & without trailing slash
749: [18:59:07] <dendeffe> With the trailing slash I get some other static page, because of the .htaccess - without, it is handled by the check for files as you said.
750: [19:00:18] <dendeffe> OK, with the trailing slash in the URL, I get something out of SilverStripe, not the actual state file.
751: [19:00:40] <catcher> dendeffe, http://www.sany.be/exsanhk/index.html and http://www.sany.be/exsanhk/index.html/ produce the same results for me
752: [19:03:28] * Azure has joined #silverstripe
753: [19:04:57] <dendeffe> catcher do you get this? http://monosnap.com/image/1NPqHvuKVY4IRRCDshdpoRiZqIQl31
754: [19:06:31] <catcher> dendeffe, no, I get a page with a white background, says Sany Group
755: [19:06:31] <catcher> Nieuws
756: [19:06:32] <catcher> Sany Group
757: [19:06:32] <catcher> Zagerijstraat 17, 2960 Sint-Job-In-‘t-Goor, etc
758: [19:06:41] <dendeffe> Ah OK, now the .htaccess indeed does the same for the two version
759: [19:06:43] <dendeffe> s
760: [19:06:46] <dendeffe> hmm
761: [19:10:37] * simon_w|air quit (Quit: This computer has gone to sleep)
762: [19:23:59] * SphereSilverNL has joined #silverstripe
763: [19:31:50] <SphereSilverNL> Composer keeps crashing on my live-server.
764: [19:31:56] * SphereSilverNL dislikes composer
765: [19:35:28] * bubaphex has joined #silverstripe
766: [19:35:39] * howardgrigg has joined #silverstripe
767: [19:37:23] * bubaphex quit (Remote host closed the connection)
768: [19:37:32] * gurubobnz has joined #silverstripe
769: [19:37:39] <Stomach> don't composer on the live server
770: [19:37:40] <Stomach> :P
771: [19:40:25] * howardgrigg quit (Ping timeout: 265 seconds)
772: [19:40:50] * zippy___ has joined #silverstripe
773: [19:40:54] <zippy___> morning
774: [19:41:21] * bubaphex has joined #silverstripe
775: [19:41:47] <Ryan-Toast> Morning :)
776: [19:41:55] <Stomach> howdy
777: [19:41:57] <Sj0hn> Good evening :)
778: [19:42:47] * SightUnseen has joined #silverstripe
779: [19:42:50] * SightUnseen has left #silverstripe
780: [19:43:46] <Ryan-Toast> My replacement computer finally arrived, after three weeks.
781: [19:44:41] <SphereSilverNL> Stomach: Why not? Composer install should be perfectly fine
782: [19:44:52] <SphereSilverNL> 'evening Ryan-Toast
783: [19:44:57] <Stomach> yeah, but what if it doesn't
784: [19:45:01] <Ryan-Toast> SphereSilverNL: Hey.
785: [19:45:35] <SphereSilverNL> Stomach: If you think "what if it doesn't", you're better off sitting in a room with cushioned walls and one of those jackets with extra long sleeves.
786: [19:45:59] <SphereSilverNL> "I should be able to do a git pull" "yeah, but what if it doesn't"
787: [19:46:10] <SphereSilverNL> There's no end to "but" everything
788: [19:48:26] <SphereSilverNL> One of my teachers used to say "If you say 'but', you're not discussing, you're just trying to say you're right"
789: [19:48:34] <SphereSilverNL> And I found, that's actually true :)
790: [19:48:40] <SphereSilverNL> No offence :)
791: [19:49:00] <SphereSilverNL> If you keep questioning everything, you won't get anywhere. :/
792: [19:49:48] * Motoservo has joined #silverstripe
793: [19:50:04] <SphereSilverNL> Hey, Zauberfisch. This is what osrc has to say about my relation to you: "It seems like Simon is—or should be—friends with Zauberfisch. With this in mind, it's worth noting that Zauberfisch spends less of their time commenting on issues. "
794: [19:53:43] <Ryan-Toast> Why do you never see hippos hiding in trees?
795: [19:53:57] <Ryan-Toast> because they're really good at it.
796: [19:54:00] <SphereSilverNL> Because they're frikkin' good at hiding in trees!
797: [19:54:03] <catcher> YES
798: [19:54:06] <Sj0hn> lol
799: [19:54:29] <SphereSilverNL> Did you know, elephants wear yellow wooden shoes to hide in the grass?
800: [19:54:41] <SphereSilverNL> And have you ever seen an elephant in your lawn?
801: [19:55:19] <SphereSilverNL> (excuse my bad English)
802: [19:55:28] <SphereSilverNL> See, it works!
803: [20:00:39] * zippy___ quit (Quit: zippy___)
804: [20:02:28] * robert_ quit (Read error: Connection reset by peer)
805: [20:05:19] * UncleCheese_ has joined #silverstripe
806: [20:05:58] * zippy___ has joined #silverstripe
807: [20:06:54] <SphereSilverNL> Hey UncleCheese_ , could you look into the airfare prices as well? I'm working on getting my budget together :)
808: [20:07:23] <SphereSilverNL> No rush, but preferably before end this week?
809: [20:07:44] <Ryan-Toast> Does anyone work in London?
810: [20:07:57] <SphereSilverNL> Some people do.
811: [20:08:05] <Ryan-Toast> :p
812: [20:08:12] <SphereSilverNL> But most just hang around doing nothing, from what I understood
813: [20:08:17] <Ryan-Toast> I need to start getting some contacts before I move over there.
814: [20:09:51] <SphereSilverNL> I live just 490km from London.... if that helps?
815: [20:10:04] <SphereSilverNL> 488.29 to be exact.
816: [20:10:36] <Ryan-Toast> Not really :P I'm thinking of going in the beginning of their "summer" as to assimilate myself easier.
817: [20:10:50] <SphereSilverNL> Get in touch with Josh
818: [20:15:03] <zippy___> Ryan-Toast: Getting used to drinking Tea and eating Black Puddings?
819: [20:15:22] <Ryan-Toast> I like Tea, not so much the black pudding.
820: [20:15:39] <Stomach> you moving over there Ryan?
821: [20:19:09] <Ryan-Toast> Yeah, not for ages though. Classic kiwi OE
822: [20:22:27] * SphereSilverNL quit (Quit: bye)
823: [20:30:19] <Desperate> am i still logged in?
824: [20:30:27] <Desperate> yes I am cool!
825: [20:34:19] * mobiusnz quit (Quit: Leaving.)
826: [20:36:21] <Stomach> lol - I still need to have my OE
827: [20:36:25] <Stomach> aiming for age 28 now
828: [20:36:25] <Stomach> :P
829: [20:36:38] * howardgrigg has joined #silverstripe
830: [20:36:43] <simon_w> You know you don't need to have one, right?
831: [20:36:59] <Ryan-Toast> Stomach: I'll be 25, which I think is a good age
832: [20:37:10] <Stomach> simon_w - yes
833: [20:37:18] <Ryan-Toast> simon_w: You don't have to, but it sounds like fun.
834: [20:37:34] <Stomach> but it makes sense to take advantage of Visas for under 30 year olds too
835: [20:37:37] <simon_w> Stomach, good, now fill up my drink bottle for me :p
836: [20:37:56] <Stomach> Stomachs do not fill drinkbottles. We empty them.
837: [20:37:58] * antmas has joined #silverstripe
838: [20:38:05] <antmas> morning all
839: [20:38:15] <Stomach> you
840: [20:38:19] <Stomach> you're alive!
841: [20:38:21] <Stomach> thank goodness
842: [20:38:24] <antmas> :D
843: [20:38:43] <antmas> was on holiday since Friday, and sick yesterday :(
844: [20:39:04] <antmas> zippy___: yo, will have a job description advert out next week
845: [20:39:14] <zippy___> sweet
846: [20:39:39] <antmas> zippy___: will actually be slightly more full-time than what they had
847: [20:40:00] <zippy___> should be fine, will depend on what experience / qualifications they want
848: [20:40:07] <antmas> noice
849: [20:40:23] <Stomach> there are heaps of jobs going at the moment
850: [20:40:36] <antmas> Stomach: not really in Nelson though :P
851: [20:40:53] <zippy___> it's like people come here to retire or something
852: [20:40:58] * howardgrigg quit (Ping timeout: 240 seconds)
853: [20:40:59] <Stomach> lol
854: [20:41:06] <zippy___> Nelson - Silvertop capitol of NZ
855: [20:41:18] <antmas> very true though
856: [20:41:19] <Ryan-Toast> Tauranga would like to have a word with you.
857: [20:41:22] <Stomach> no way
858: [20:41:24] <Stomach> what Ryan said
859: [20:41:49] <antmas> I was lucky
860: [20:41:50] <antmas> here, you either free-lance or go get raped at CoreTT :P
861: [20:42:57] <zippy___> must, get, motivated
862: [20:43:12] <zippy___> antmas: hows the freelance website?
863: [20:43:25] <antmas> zippy___: good :D, am toying with it again though
864: [20:43:42] <antmas> I keep wanting to change everything :O
865: [20:45:32] <antmas> was doing some theme testing last night using Ryan-Toast 's BP, so www.theironcharlie.co.nz is just a content wip now
866: [20:46:04] <Ryan-Toast> antmas: your fray menu is going to be unreadable for some people.
867: [20:46:14] <antmas> Ryan-Toast: see above
868: [20:46:20] <Ryan-Toast> :P
869: [20:46:20] <antmas> and yes :D
870: [20:46:26] <Ryan-Toast> ONLY CRITICISM
871: [20:46:54] <antmas> I'm probably not goint to use that nav anymore anyway
872: [20:47:01] <Ryan-Toast> Fair enough :)
873: [20:47:18] <Ryan-Toast> I think you should make your heading banner text and stuff.
874: [20:47:26] <Ryan-Toast> Instead of an image
875: [20:47:34] <antmas> Ryan-Toast: agreed
876: [20:48:31] <antmas> Ryan-Toast: about the templating, did you just seperate out a custom bootstrap theme into the various ss includes etc?
877: [20:48:49] <antmas> footer, header, nav etc?
878: [20:51:04] <Ryan-Toast> Hmm?
879: [20:51:33] <Ryan-Toast> No I made them from scratch.
880: [20:59:21] <zippy___> ps, I don't think you need a login link in your footer
881: [21:00:00] <Ryan-Toast> It's automatic from BP
882: [21:00:16] <Ryan-Toast> From my registration module.
883: [21:00:43] * UndefinedOffset quit (Read error: Connection reset by peer)
884: [21:02:53] * UndefinedOffset has joined #silverstripe
885: [21:04:20] * robert_ has joined #silverstripe
886: [21:04:26] <Desperate> is there a way to rename a field andmake it readonly with a single line ie.
887: [21:04:43] <Desperate> $fields->renameField('FieldName', 'My Field')->performReadonlyTransformation();
888: [21:06:28] <catcher> Desperate, $fields->dataFieldByName('FieldName')->setTitle('My Field')->performReadonlyTransformation;
889: [21:06:47] <catcher> um
890: [21:06:50] <catcher> ();
891: [21:09:38] * mobiusnz has joined #silverstripe
892: [21:09:58] <Desperate> @catcher thanks, the rename works but I can still edit the field and save it
893: [21:10:06] <Desperate> theI did add the' ()'
894: [21:11:26] <simon_w> Desperate, you can't do it with just one line. You need to do $fields->renameField('FieldName', 'My Field'); $fields->makeFieldReadOnly('FieldName');
895: [21:13:20] <antmas> Ryan-Toast: sweet, was more wondering if that's the approach I should take in implmenting a template/imported theme (not just css)
896: [21:14:07] <catcher> I see, performReadonlyTransformation returns the modified field
897: [21:14:50] <Desperate> thanks that works nicely
898: [21:14:57] <Ryan-Toast> antmas: Do whatever :P I'm thinking of moving things around and creating a blank child theme that would be used to create custom sites.
899: [21:15:12] <Ryan-Toast> to override the default templates etc.
900: [21:15:29] <antmas> Ryan-Toast: nice, I'll have a crack this afternoon
901: [21:17:07] * geekdenz has joined #silverstripe
902: [21:18:35] <geekdenz> hi, is it possible to have a many many relationship field list or relation editor like gridfield but which has a custom field type like this? https://github.com/sheadawson/silverstripe-linkable
903: [21:25:29] * OzziNL quit (Ping timeout: 240 seconds)
904: [21:28:27] <antmas> Ryan-Toast: some of the themes from wrap are pretty complex :O
905: [21:28:39] <antmas> and there are so many fookin one pagers
906: [21:31:49] * ObiWanShanobi has joined #silverstripe
907: [21:33:35] <Desperate> when i use a fileUpload field type the brwoser defaults to a foldr "uploads" in assets. Can I make it default to assets
908: [21:37:42] * howardgrigg has joined #silverstripe
909: [21:37:59] <zippy___> Desperate: whats wrong with the Upload folder?
910: [21:38:25] <zippy___> Desperate: you can do, UploadField::create('Foo')->setFolderName('Uploads/Banners');
911: [21:38:40] <zippy___> so you could probably do UploadField::create('Foo')->setFolderName(''); to get just assets
912: [21:39:05] <Desperate> i think by default if the user adds files via the files tab in the CMS they go into assets
913: [21:39:25] <Desperate> if they upload via fileUpload it goes into assets/uploads
914: [21:41:59] * howardgrigg quit (Ping timeout: 241 seconds)
915: [21:42:55] * UndefinedOffset quit (Quit: Leaving.)
916: [21:48:49] <zippy___> hehe - if I try and set my Xero password to this, it bombs -> 3}j9V3=yM,7K<T
917: [21:50:11] <Stomach> it'll be the less than symbol probably
918: [21:52:59] <Desperate> @zippy___ awesome that works perfectly
919: [21:53:02] <Desperate> wow thanks guys
920: [21:53:05] * mobiusnz quit (Quit: Leaving.)
921: [21:53:17] <Desperate> achieved a lot today with the help of the chat
922: [21:53:27] * zippy___ has been schooled by simon_w
923: [21:53:32] * dendeffe quit (Quit: dendeffe)
924: [21:53:34] <Desperate> btw is there any SS mechandise available?
925: [21:53:34] * mobiusnz has joined #silverstripe
926: [21:53:36] * mobiusnz quit (Client Quit)
927: [21:55:15] <simon_w> Not for sale
928: [21:55:26] <Desperate> that's a shame
929: [21:55:38] <Desperate> soem t-shirt would be a good idea in my opinon :0)
930: [21:55:55] <simon_w> I've got one of those :)
931: [21:55:56] <Desperate> *some
932: [21:58:28] <Ryan-Toast> antmas: Meh, they're mostly pretty bad.
933: [21:58:41] <Desperate> ok I'm signing off guys, thanks for the help once again, see you all tomorrow
934: [21:59:39] <antmas> Ryan-Toast: some are good starting points at least, but there aren't many good ones for 3.0 it seems
935: [21:59:59] * Blablub quit (Ping timeout: 240 seconds)
936: [22:01:25] <Ryan-Toast> antmas: I don't like using other people's code :P
937: [22:02:07] <antmas> Ryan-Toast: fair enough, you front-end pro, you!
938: [22:02:08] <antmas> :P
939: [22:02:16] <Stomach> I use people who I have met IRL's code without thinking about it
940: [22:02:21] <Stomach> otherwise I read it first
941: [22:03:00] <Ryan-Toast> Backend no problem, but front end I',m always asking myself "what were they thinking?"
942: [22:03:09] <antmas> Ryan-Toast: yeah true
943: [22:03:17] <Stomach> its because there are a million ways to do the same thing in the front end
944: [22:03:20] * Colin[pi] has joined #silverstripe
945: [22:03:22] <Stomach> and only thousands in the back
946: [22:03:42] <Ryan-Toast> Stomach: this is true. there definitely are best practises though.
947: [22:03:44] <Colin[pi]> moin moin
948: [22:03:48] <antmas> I typically try not to reinvent the wheel if someone else already has, front-end or back-end, unless the code obviously doesn't makes sense
949: [22:03:49] <Ryan-Toast> HELLO
950: [22:08:18] <Ryan-Toast> reinvent all the wheels.
951: [22:08:51] <Stomach> angularemberbonereact.js
952: [22:09:06] <Ryan-Toast> fucking js libraries.
953: [22:09:13] <Stomach> hahaha, I know
954: [22:09:29] <Stomach> I'm building on commonjs using browserify now
955: [22:09:38] <Stomach> 2 years ago, I wouldn't have even minimized my css
956: [22:09:41] <Stomach> :S
957: [22:10:12] <antmas> same here :P
958: [22:11:13] <Stomach> I did write much less of it though, damn responsive world
959: [22:11:15] <Ryan-Toast> I really try my hardest to use as little js as possible.
960: [22:11:20] * outrunthewolf has joined #silverstripe
961: [22:11:44] <Stomach> Ryan - same, some others in my team don't share that concern though
962: [22:12:00] <Stomach> so at least by modularising we end up with <1500 line scripts (sometimes)
963: [22:12:40] <antmas> our other dev never uses it unless its for thirdparty software that we have no choice other than to use it
964: [22:12:43] <antmas> it's great
965: [22:12:47] <Ryan-Toast> css transitions were a godsend in that respect.
966: [22:13:49] <Ryan-Toast> I can remember two years ago, if someone would come to me and say can we change all the colours to x, I would be sad. But now with SASS, I'm just like "SURE THING, MAN"
967: [22:14:04] <Ryan-Toast> One line change boomtown.
968: [22:14:19] <simon_w> Cause find and replace is hard?
969: [22:14:21] <antmas> haha
970: [22:14:50] <Ryan-Toast> simon_w: It is when you have 5+ shades of the same fucking colour :P
971: [22:15:43] <simon_w> Ryan-Toast, so it's not a one line SASS change then either :p
972: [22:16:03] <Ryan-Toast> simon_w: Yeah it is, just use the lighten/darken function to change the shade.
973: [22:16:15] <Ryan-Toast> which are set by the one colour :)
974: [22:16:41] <Ryan-Toast> example: https://github.com/Rhym/ss_boilerplate/blob/master/themes/boilerplate/sass/_vars.scss
975: [22:17:48] <simon_w> So, compass then. Not sass :p
976: [22:18:30] <Ryan-Toast> I don't think so.
977: [22:18:46] <Ryan-Toast> http://sass-lang.com/documentation/Sass/Script/Functions.html
978: [22:18:53] * outrunthewolf quit (Remote host closed the connection)
979: [22:20:17] <antmas> I... I must have that name... ^^^
980: [22:21:38] <Ryan-Toast> Dammit it's taken: http://outrunthewolf.com/
981: [22:22:05] <Ryan-Toast> SELL ME YOUR FUCKING DOMAIN YOU CHILD! http://ryanpotter.com/
982: [22:22:46] <simon_w> Ryan-Toast, you sound like ss23 going on about s.geek.nz
983: [22:22:53] <ss23> lol
984: [22:22:57] <ss23> You're not in NZ now
985: [22:22:58] <ss23> give me it
986: [22:23:08] * simon_w looks out on Courtenay Place
987: [22:23:11] <simon_w> Yes I am :p
988: [22:23:26] <antmas> why is .geek so coveted?
989: [22:23:30] <Ryan-Toast> simon_w: It has been "Under Construction" for over three years now, and the little shit still won't sell it to me.
990: [22:23:40] <antmas> Ryan-Toast: LOL
991: [22:23:43] <antmas> love it
992: [22:24:03] <Ryan-Toast> Makes me so mad.
993: [22:24:04] <simon_w> HELLO RAIN! :D
994: [22:24:09] <catcher> Ryan-Toast, dos threats
995: [22:24:50] <Ryan-Toast> catcher: I talked to his domain provider, and they said they would give it to me if he doesn't pay his bill.
996: [22:24:52] <antmas> Ryan-Toast: thoughts? http://malosanu.fleuzi.com/index.html
997: [22:25:10] <catcher> Ryan-Toast, ah, so you just need to ruin him financially.
998: [22:27:36] <simon_w> antmas, because .geek.nz is just awesome :D
999: [22:27:46] <Ryan-Toast> simon_w: death threats
1000: [22:27:53] <simon_w> ss23, also, I'll be keeping all my .nz domains :p
1001: [22:28:19] <antmas> simon_w: -_-
1002: [22:28:20] <antmas> sure
1003: [22:28:22] <antmas> :P
1004: [22:28:33] <ss23> simon_w: psh
1005: [22:28:38] <ss23> You're not even in NZ...
1006: [22:28:49] <antmas> fawk
1007: [22:28:54] <antmas> why did admin update my IE?
1008: [22:28:57] <antmas> grrrr
1009: [22:29:12] <Ryan-Toast> antmas: It's oaky, but the design can't seem to decide whether it wants to be flat or not.
1010: [22:30:05] <antmas> Ryan-Toast: hmmm
1011: [22:30:14] <simon_w> ss23, notice how I'm still coming from office.pocketrent.com?
1012: [22:30:15] <antmas> I'm thinking about using this one for a small client
1013: [22:30:23] <Ryan-Toast> antmas: Go for it.
1014: [22:30:25] <ss23> simon_w: You're still in NZ TEMPORARILY!
1015: [22:30:32] <Ryan-Toast> Should take you fuck all to add BP to it
1016: [22:30:43] <Ryan-Toast> then rake in dat $$
1017: [22:30:44] <antmas> Ryan-Toast: yeah hopfeully
1018: [22:31:11] <antmas> Ryan-Toast: only problem I see is that design almost requires proff photos and this guy... doesn't really have them :P
1019: [22:31:39] <Ryan-Toast> Did you mean every client ever?
1020: [22:32:01] <antmas> Ryan-Toast: pretty much, but he's asked ME to find a photographer :P
1021: [22:32:21] <Ryan-Toast> I know a good one in Welly if that helps.
1022: [22:32:38] <geekdenz> This answered my question btw: http://doc.silverstripe.org/framework/en/reference/grid-field#customizing-detail-forms
1023: [22:33:14] <antmas> Ryan-Toast: good rate?
1024: [22:33:23] <Ryan-Toast> antmas: Ye.
1025: [22:34:05] <antmas> Ryan-Toast: link?
1026: [22:34:17] <Ryan-Toast> http://www.wellingtonphotographer.net/wedding-pricing
1027: [22:35:01] <antmas> SHAMELESS PLUG!
1028: [22:35:03] <antmas> :P
1029: [22:35:06] <Ryan-Toast> :P
1030: [22:35:25] <Ryan-Toast> One of the first sites I ever made
1031: [22:35:37] <simon_w> Ryan-Toast, ouch :(
1032: [22:36:08] <Ryan-Toast> simon_w: :P
1033: [22:36:34] <Colin[pi]> is.. is that... a full page image instead of text?
1034: [22:36:36] <Colin[pi]> ;D
1035: [22:36:41] <Ryan-Toast> Yes.
1036: [22:36:45] <Ryan-Toast> She did that, not me
1037: [22:36:58] <Ryan-Toast> I haven't touched the site in about 4 years
1038: [22:37:27] <antmas> Colin[pi]: Ryan-Toast I didn't want to say anything :D
1039: [22:37:32] * mobiusnz has joined #silverstripe
1040: [22:37:34] <Colin[pi]> lol
1041: [22:37:37] <Ryan-Toast> :D
1042: [22:37:38] * catcher quit (Quit: Leaving)
1043: [22:37:48] <Ryan-Toast> I think she want's to update soon, so that will be nice.
1044: [22:37:55] <Ryan-Toast> She's a cool chick.
1045: [22:37:57] <Colin[pi]> take all the monies
1046: [22:38:12] <Stomach> now you've made me go look at some old sites, lol
1047: [22:38:13] <Stomach> not too bad
1048: [22:38:28] * antmas shrinks his browser window
1049: [22:38:37] <Colin[pi]> some of my old stuff is very cringe worthy
1050: [22:38:45] <Ryan-Toast> everyone's are.
1051: [22:38:53] * howardgrigg has joined #silverstripe
1052: [22:39:03] <Ryan-Toast> everyones' ?
1053: [22:39:16] <Ryan-Toast> damn apostrophe, where do you go?!
1054: [22:39:40] <Colin[pi]> this was one of mine, circa 2006, still running: http://www.memorial.act.gov.au/
1055: [22:40:07] <antmas> Colin[pi]: dat gradient image
1056: [22:40:20] <Colin[pi]> dat drop shadow too
1057: [22:41:06] <antmas> I'm almost suprised there is style:none; on the lists :D
1058: [22:41:07] <Ryan-Toast> I like to pretend I've never made any site.s
1059: [22:41:07] <Stomach> http://www.gillions.co.nz/ is one of mine
1060: [22:41:21] <Stomach> first site I did in dunedin if I remember right
1061: [22:41:33] <Colin[pi]> that one still looks pretty good Stomach
1062: [22:41:45] <antmas> Stomach: not bad, but man, those pics are depressing lol
1063: [22:41:53] <Stomach> that was ~2009/10 though
1064: [22:41:59] <Stomach> so not nearly as old :D
1065: [22:42:05] <Colin[pi]> dat cufon nav
1066: [22:42:17] <Stomach> cufon was the bomb at that stage
1067: [22:42:28] <Colin[pi]> it totally was
1068: [22:42:41] <Colin[pi]> I remember first discovering it and thinking... "THIS. CHANGES. EVERYTHING."
1069: [22:42:51] <Stomach> hahaha yeah
1070: [22:43:13] * howardgrigg quit (Ping timeout: 240 seconds)
1071: [22:43:30] <antmas> I remember seeing those ribbon stylings for the first time
1072: [22:43:40] <antmas> and being like :O I need dis!
1073: [22:44:47] <antmas> my first website got updated by someone else lol, thank god
1074: [22:45:47] <Colin[pi]> oh here's probably my most cringiest one that's still live: http://www.freshstart.net.au/
1075: [22:45:51] <Colin[pi]> lol dat width
1076: [22:46:09] <Colin[pi]> looks like a postage stamp on my monitor
1077: [22:46:22] <antmas> Colin[pi]: :D I love it how the site shifts on nav click
1078: [22:46:40] <simon_w> I can't remember the URL for my worst, but it's a fixed-width DreamWeaver file I was given that I had to centre and stick in SS
1079: [22:46:53] <Stomach> my worst was for the vegan association of NZ
1080: [22:47:00] <Stomach> I built them an application with this: http://www.clickteam.com/vitalize4/download.html
1081: [22:47:11] <Stomach> and plugged it into the browser, wooo ActiveX!
1082: [22:47:43] * Colin[pi] shudders
1083: [22:47:56] <ss23> http://i.imgur.com/UQFdsuK.png pls google music :/
1084: [22:48:00] <antmas> Colin[pi]: one of those pics is the classic 'I'm looking at a black screen on a computer :D'
1085: [22:48:05] <Colin[pi]> antmas: rofl
1086: [22:48:08] <Colin[pi]> yep :(
1087: [22:48:10] <Colin[pi]> pretty sad
1088: [22:48:26] <Colin[pi]> lol ss23
1089: [22:48:28] <Colin[pi]> it knows you well
1090: [22:48:40] <antmas> ss23: +1 <3 for Glitch Mob
1091: [22:48:52] <simon_w> Mmm, hot chocolate
1092: [22:52:09] <Stomach> and here comes the rain
1093: [22:52:30] <antmas> tis probably going to rain here too
1094: [22:53:14] <simon_w> Is raining here and I get to walk to my parents' this evening :D
1095: [22:53:36] <Ryan-Toast> I have to go get lunch in the rain :(
1096: [22:54:12] <antmas> I have fantastic noodles for lunch today because I forgot my wallet :(
1097: [22:54:41] * UncleCheese_ quit (Quit: UncleCheese_)
1098: [22:54:50] <simon_w> I have a sammich and a bandanna and a carrot
1099: [22:57:39] <Colin[pi]> you've got a bandanna to eat?
1100: [22:58:56] <simon_w> That's what bananananananana (with fewer ananananans) got correct to
1101: [23:00:22] <zippy___> antmas: chicken fantastic noodles?
1102: [23:00:25] <zippy___> fucken NOM!
1103: [23:00:38] * Stomach quit ()
1104: [23:00:44] <antmas> zippy___: oh yeah, in the pottle too
1105: [23:01:04] <antmas> I have a stockpile for 'I forgot my wallet' days
1106: [23:01:45] <Colin[pi]> Meanwhile in Australia: https://pbs.twimg.com/media/Bh6mHpwCEAALSA_.jpg
1107: [23:02:06] <antmas> Colin[pi]: :O I saw that yesterday
1108: [23:02:29] <Colin[pi]> snake eating a possum :o
1109: [23:02:51] <antmas> wait
1110: [23:02:53] <antmas> no
1111: [23:02:55] <antmas> was this http://www.huffingtonpost.com/2014/03/04/snake-eats-crocodile-swallows-croc-australia-photos_n_4896644.html
1112: [23:03:25] <Colin[pi]> lol holy shit
1113: [23:04:05] * antmas_ has joined #silverstripe
1114: [23:05:00] <antmas_> snakes make me sick
1115: [23:05:02] <antmas_> hate them
1116: [23:06:56] <zippy___> http://yourquestions.mcdonalds.co.nz/ - makes me wants macers
1117: [23:07:13] <ss23> some of the people asking questions are retarded
1118: [23:07:18] * antmas quit (Ping timeout: 245 seconds)
1119: [23:07:21] * ObiWanShanobi quit (Remote host closed the connection)
1120: [23:08:09] * ObiWanShanobi has joined #silverstripe
1121: [23:08:32] <antmas_> some of those questions are obvious
1122: [23:08:34] <antmas_> like
1123: [23:08:42] <antmas_> Big Mac sauce is just Masterfoods Ranch
1124: [23:09:02] <ss23> I used to think there were no stupid questions
1125: [23:09:15] <Colin[pi]> ss23: oh there is
1126: [23:10:20] <Colin[pi]> bit like when I had a managed ask me "How long does it take to make a web page?"
1127: [23:10:24] <Colin[pi]> *manager
1128: [23:10:54] <ss23> Hmm
1129: [23:11:01] <ss23> Yeah
1130: [23:11:02] <ss23> :D
1131: [23:11:21] <Colin[pi]> I asked him how long is a piece of string
1132: [23:11:58] <antmas_> http://www.latimes.com/business/technology/la-fi-tn-1-10-americans-html-std-study-finds-20140304,0,1188415.story#axzz2v2S9XoTN
1133: [23:12:36] * antmas_ is now known as antmas
1134: [23:13:03] <Ryan-Toast> Colin[pi]: depends how long my team in india makes it.
1135: [23:14:05] <Colin[pi]> antmas: lol, /r/nottheonion
1136: [23:14:12] <antmas> :P
1137: [23:14:34] <antmas> Ryan-Toast: that's what Wheedle said :D
1138: [23:16:24] <antmas> I wish the original wheedle was still around
1139: [23:17:12] <pippy> 23% thought an "MP3" was a "Star Wars" robot. It is actually an audio file.
1140: [23:17:15] <pippy> http://www.latimes.com/business/technology/la-fi-tn-1-10-americans-html-std-study-finds-20140304,0,1188415.story#ixzz2v2TW3tbk
1141: [23:17:18] <pippy> that's surprising
1142: [23:17:26] <pippy> i though mp3 was pretty common
1143: [23:17:51] <antmas> yeah that one and USB were shocking
1144: [23:18:25] <antmas> I fail to see how the connection to an aircraft carrier was made with 'motherboard' though
1145: [23:19:29] <Ryan-Toast> mothership, that's why
1146: [23:19:35] <Colin[pi]> I'm pretty sure I read something once that said 20% of Merkins didn't realise the Sun was a star
1147: [23:19:48] <Colin[pi]> but you know, stats, who knows
1148: [23:19:50] <ss23> Not surprsed about the SEO one
1149: [23:19:57] <ss23> Who the fuck would ever need to know what a marketting term liek that means
1150: [23:20:03] <ss23> Might as well ask if they know what "Cloud" means
1151: [23:20:29] <Colin[pi]> lol buzzwords
1152: [23:20:42] <Colin[pi]> WEB 3.0 SYNERGISTIC CLOUD
1153: [23:20:45] <Colin[pi]> ALL THE MONIES
1154: [23:21:06] <antmas> Ryan-Toast: I guess so
1155: [23:21:18] <antmas> pretty dubios at best, but then again, general public
1156: [23:21:53] <Ryan-Toast> Colin[pi]: http://www.youtube.com/watch?v=aocZo3oeNxw
1157: [23:22:04] <antmas> Colin[pi]: rofl, we'll all be saying the same about Responsive in prolly 2 years
1158: [23:22:37] <Ryan-Toast> Responsive is an actual thing though.
1159: [23:22:57] <antmas> so is 'Cloud'
1160: [23:23:10] <Ryan-Toast> less relevant though.
1161: [23:23:18] <Ryan-Toast> is your website cloud?
1162: [23:23:19] <antmas> :p
1163: [23:23:27] <Colin[pi]> I'm come to learn that basically the more bullshit you spin and the more wankerish you sound like, the more clients seem to love you
1164: [23:23:36] <Ryan-Toast> yup
1165: [23:23:39] <antmas> Colin[pi]: oh yeah
1166: [23:23:59] <Colin[pi]> it's a fine art I guess
1167: [23:24:05] <antmas> all you need to say is 'mobile device' and they throw moneis at your face
1168: [23:26:02] <Colin[pi]> I try to convince all new customers on responsive these days, firstly because, well you'd be silly not to, and secondly it's pretty much all I do these days
1169: [23:26:19] <Colin[pi]> I haven't done a fixed width site for long, long time now
1170: [23:26:36] <antmas> Colin[pi]: yeah rather that than have THEM come back to you and want reponsive
1171: [23:27:10] <Colin[pi]> the way I pitch it is "look, it might cost you a bit more now, but your site will last LONGER before it needs to be made more suitable for mobile"
1172: [23:27:28] <Colin[pi]> most traffic is coming from mobile/tablet now anyway according to trends
1173: [23:28:16] <Colin[pi]> and luckily they seem to be sensible enough to want it, I had one guy I think in the last year who didn't
1174: [23:28:52] <antmas> I've had the odd person ask for an app rather than a responsive site, for the same data
1175: [23:29:14] <antmas> which I don't actually mind
1176: [23:29:40] <antmas> either way is vastly better than a mobile 'theme'
1177: [23:29:44] <antmas> HATE THAT
1178: [23:30:21] <Colin[pi]> I have one client in discussions right now who wanted a mobile-only site in parallel to their main
1179: [23:30:37] <Colin[pi]> trying to talk him around to building a responsive main to replace it ;)
1180: [23:31:34] <antmas> just do the browser resize thingy in front of them
1181: [23:31:40] <antmas> lol
1182: [23:32:15] <Colin[pi]> haha yep it's pretty easy to convince them
1183: [23:32:33] <antmas> as gawdy as this kinda looks, I really want one http://www.stuff.co.nz/motoring/photos/9792381/Honda-unveils-hotted-up-Civic-hatch
1184: [23:33:02] <Colin[pi]> I do like Civics
1185: [23:36:58] <Colin[pi]> I test drove one of these last week, was quite fun: http://www.themotorreport.com.au/content/image/2/0/2014_alfa_romeo_giulietta_update_overseas_02-0903.jpg
1186: [23:37:06] <Colin[pi]> but I like the previous generation styling more
1187: [23:37:12] <antmas> hahaha
1188: [23:37:13] <Colin[pi]> fucking almond shaped lights
1189: [23:37:24] <antmas> Colin[pi]: was that after you talked about seeing one?
1190: [23:37:28] <Colin[pi]> yes :(
1191: [23:37:34] <antmas> hehe
1192: [23:37:50] <Colin[pi]> I went to have a meeting near the dealership... soooo... went for a look ;)
1193: [23:38:35] <Colin[pi]> still like the Brera better, but man for a 1.4 (admittedly with turbo) that little thing FLEW
1194: [23:39:03] <antmas> 1.4 is tiny
1195: [23:39:07] <antmas> but yeah, turbo
1196: [23:39:35] <Colin[pi]> yeah I was quite surprised.. you accelerate gently and you can feel the car saying "no bitch, not like that... like THIS"
1197: [23:39:41] * howardgrigg has joined #silverstripe
1198: [23:40:03] <antmas> haha
1199: [23:40:04] <antmas> dat lag
1200: [23:40:14] <Colin[pi]> the guy told me to give it some boot
1201: [23:40:18] <Colin[pi]> and wow, it goes alright lol
1202: [23:40:45] <antmas> as soon as the new WRX arrives in NZ i'll be test driving
1203: [23:41:21] <Colin[pi]> I've really gone off the styling of the WRX though
1204: [23:41:27] <Colin[pi]> it looks like a Ford now
1205: [23:42:01] <antmas> I love it
1206: [23:42:11] <simon_w> Mmm, tasty lunch
1207: [23:42:12] <antmas> I've hated every design since the 22b
1208: [23:43:42] <Colin[pi]> my father bought a WRX after he retired, and he drove it like an old lady
1209: [23:43:47] <Colin[pi]> it was SO painful to watch
1210: [23:43:48] * howardgrigg quit (Ping timeout: 244 seconds)
1211: [23:43:49] <Colin[pi]> ;_;
1212: [23:43:53] <antmas> gutted
1213: [23:44:02] <Colin[pi]> such a waste lol
1214: [23:44:43] <Colin[pi]> he got it on a whim, and I said dad do you know they are one of the most stolen cars?
1215: [23:44:59] <Colin[pi]> and he like shat his pants, and keep it in the garage like 95% of the time
1216: [23:45:00] <Colin[pi]> lol
1217: [23:45:16] <Colin[pi]> poor car
1218: [23:45:35] <antmas> hahaha
1219: [23:45:47] <antmas> yeah everyone loves to steal wrxs for whatever reason
1220: [23:45:59] <Colin[pi]> joy ride cars
1221: [23:46:06] <Colin[pi]> then set the poor thing on fire :(
1222: [23:46:08] <guzzlefry> Someone had one of those on the beach one time, looked like too much fun.
1223: [23:51:57] * micmania1 has joined #silverstripe
1224: [23:52:16] <antmas> Colin[pi]: if they made it a flat6 instead of 4 I'd be all over it
1225: [23:52:33] <Colin[pi]> antmas: which one?
1226: [23:52:40] <antmas> Colin[pi]: WRX
1227: [23:52:43] <Colin[pi]> ah k
1228: [23:52:45] <antmas> boxer 6 rather
1229: [23:52:58] <SMaction> is there a way to display a subpage as a modal as opposed to a seperate page?
1230: [23:53:25] <Ryan-Toast> Colin[pi]: My dad brought a R33 GT-R for his midlife crisis, and barely was ever under boost ><
1231: [23:53:41] <Colin[pi]> oh the horror :(
1232: [23:54:31] <antmas> Ryan-Toast: :O
1233: [23:54:32] <Colin[pi]> I have you all as my witness, as I rapidly approach middle age... if I buy a sports car, I will drive the shit out of it
1234: [23:54:35] <antmas> SHUN!
1235: [23:54:58] <Ryan-Toast> I'll buy an ariel atom and die.
1236: [23:55:07] <Colin[pi]> ohhhhh man, don't start on the atom
1237: [23:55:10] <Colin[pi]> I'm getting a semi
1238: [23:55:14] <antmas> lol
1239: [23:55:20] <antmas> ...aaaaaand I'm off to lunchg
1240: [23:55:28] <Colin[pi]> :D enjoy
1241: [23:56:01] * UncleCheese has joined #silverstripe
1242: [23:56:36] <Ryan-Toast> God some subreddit styles are jarring.
1243: [23:56:43] <Ryan-Toast> I should make one.
1244: [23:56:49] <Colin[pi]> dat alien blue app ;)
1245: [23:56:55] <Ryan-Toast> Is average
1246: [23:56:58] <Colin[pi]> but yeah, on the pc
1247: [23:56:59] * howardgrigg has joined #silverstripe
1248: [23:57:00] <Colin[pi]> eek
1249: [23:57:21] * guzzlefry has left #silverstripe
1250: [23:57:22] <Ryan-Toast> Reddit is golden platinum edition :P
1251: [23:57:26] <Colin[pi]> even the web_design style is a bit shitty: http://www.reddit.com/r/web_design
1252: [23:58:15] <Ryan-Toast> BUT IT HAS BORDER RADII AND DROP SHAODWS
1253: [23:58:28] <Colin[pi]> TEH AWESOME
1254: [23:58:36] <Ryan-Toast> THEBESTTHEBEST
1255: [23:58:51] <Colin[pi]> oh wow Gabe Newell is doing an AMA? LOL like any question I ask will be seen in that circlejerk
1256: [23:59:02] <Ryan-Toast> he's done a few amas
1257: [23:59:38] <antmas> he shouldn't need to do an ama
1258: [23:59:46] <antmas> there is only one question for Gabe

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