#silverstripe IRC Log

IRC log for 20 March 2014

All timestamps are in UTC.

1: [00:01:31] * UncleCheese quit (Quit: UncleCheese)
2: [00:01:32] * UncleCheese_ is now known as UncleCheese
3: [00:05:14] <spronk> 19!?
4: [00:05:22] <ss23> ikr
5: [00:05:28] <ss23> looked like iowait, presume it just started swapping
6: [00:09:48] <antmas> putting a request in for a new mouse
7: [00:09:52] <antmas> this one is craphouse
8: [00:10:19] <ss23> Oh I should too
9: [00:10:20] <ss23> But idk which
10: [00:10:23] <ss23> antmas: Which one are you getting?
11: [00:10:41] <antmas> ss23: I dunno, some kind of gaming mouse
12: [00:10:49] <antmas> but the G9x is not in stock anymore :(
13: [00:10:59] <ss23> mm
14: [00:11:31] <antmas> really just need something with accuracy and suits claw/finger grip
15: [00:12:01] <ss23> :(
16: [00:12:07] <ss23> i lost my claw grip when I stopped playing FPS
17: [00:12:52] <antmas> maybe a Razer deathadder?
18: [00:14:52] <antmas> this current mouse skips pixels like crazy
19: [00:15:03] <Ryan-Toast> I have this at work: https://www.razerzone.com/gaming-mice/razer-imperator
20: [00:15:07] <Ryan-Toast> Pretty nice.
21: [00:15:32] <antmas> Ryan-Toast: yeah I looked at that
22: [00:15:43] <antmas> not bad
23: [00:15:51] <antmas> Ryan-Toast: switchable DPI?
24: [00:15:55] <Ryan-Toast> Yes
25: [00:15:57] <Colin[pi]> i need to get one to match my blackwidow
26: [00:16:17] <antmas> Ryan-Toast: what about the scroll wheel - can it free wheel?
27: [00:16:19] <Ryan-Toast> Colin[pi]: green or blue?
28: [00:16:23] <Colin[pi]> green
29: [00:16:28] <Ryan-Toast> aww, guts
30: [00:17:02] <Ryan-Toast> My blackwidow stealth ultimate is blue :P
31: [00:17:10] <Colin[pi]> so?
32: [00:17:11] <Ryan-Toast> god that's an obnoxious name.
33: [00:17:19] <Ryan-Toast> So the mouse matches.
34: [00:17:27] <Ryan-Toast> Is what I'm getting at
35: [00:17:37] <Colin[pi]> I could just get a green mouse..?
36: [00:17:38] <Colin[pi]> ;P
37: [00:17:51] <Ryan-Toast> Isn't that what you were asking about?
38: [00:17:54] <Ryan-Toast> I'm confused.
39: [00:18:00] <Colin[pi]> SO AM I
40: [00:18:06] <ss23> I think I would prefer a Steelseries mouse to Razer
41: [00:18:12] <antmas> yeh, I'ma get a deathadder
42: [00:18:17] <ss23> Razer mice always seem so plastic and gimmicky
43: [00:18:22] <Ryan-Toast> ss23: I like the steel series keyboards for work
44: [00:18:33] <ss23> I had a Steel Series KB, but I spilled coke on it :(
45: [00:18:37] <ss23> Now I have coolermaster at home
46: [00:18:38] <Ryan-Toast> ss23: the one I linked is nice and minimal.
47: [00:18:39] <Colin[pi]> pwned
48: [00:18:51] <Ryan-Toast> ss23: Aww, sucks :P
49: [00:18:53] <Colin[pi]> ss23: I killed my last keyboard with coffee :(
50: [00:19:10] <Ryan-Toast> Colin[pi]: People at work think my keyboard is from 15 years ago, sigh.
51: [00:19:23] <Colin[pi]> which is it?
52: [00:19:54] <Ryan-Toast> http://www.mightyape.co.nz/product/SteelSeries-6Gv2-Keyboard/19342128
53: [00:20:17] <Colin[pi]> mechanical?
54: [00:20:18] <antmas> Ryan-Toast: nice
55: [00:20:24] <Ryan-Toast> yes, mechanical.
56: [00:20:35] <Ryan-Toast> dat click clack.
57: [00:20:45] <Colin[pi]> which cherries does it use?
58: [00:20:55] <Colin[pi]> ah black
59: [00:21:12] * UncleCheese quit (Quit: UncleCheese)
60: [00:21:53] * jparks quit (Ping timeout: 245 seconds)
61: [00:22:47] <antmas> the G9x is the best mouse I ever bought
62: [00:23:24] <Colin[pi]> I do love my G400 though
63: [00:23:39] <Colin[pi]> AK47 of mice lol
64: [00:24:13] <antmas> Colin[pi]: I tried a g400 but my gammy grip just didn't fit it :(
65: [00:24:28] <Colin[pi]> masturbate more
66: [00:24:31] <Colin[pi]> to practice
67: [00:24:39] <antmas> lol
68: [00:25:11] * desperate quit (Quit: Page closed)
69: [00:39:13] * UncleCheese_ has joined #silverstripe
70: [00:40:42] <pippy> with SilverStripe 3.1, how are links injected from the site tree?
71: [00:42:35] <pippy> i'm seeing a bunch of [sitetree_link,id=318] on my pages
72: [00:44:19] <antmas> ooooooh finally got a call back about a house
73: [00:44:25] <Ryan-Toast> uses a sshortcode, no?
74: [00:44:37] <terryapodaca> yep
75: [00:44:41] <Ryan-Toast> OH GOD, WHY AREN'T THEY CALLED SSHORTCODES?
76: [00:47:04] <terryapodaca> pippy: SS does that if you use the default link to page on this site. If you don't want to use SShortcodes you can select a different site and then just enter the url to he page on your site.
77: [00:47:43] * zippy____ has joined #silverstripe
78: [00:49:32] <pippy> I see
79: [00:49:36] <zippy____> indeed
80: [00:49:48] <pippy> it seem the issues was caused by the upgrade to 3.1.3:
81: [00:49:50] <pippy> http://doc.silverstripe.com/framework/en/changelogs/3.1.3
82: [00:49:51] * zippy____ is now known as zippy__
83: [00:50:04] <pippy> http://doc.silverstripe.com/framework/en/changelogs/3.1.0
84: [00:50:17] <pippy> $default_cast is now Text instead of HTMLText
85: [00:50:25] <zippy__> pippy ss23: is working on a 3.1.4 this week, to roll out next week :)
86: [00:50:44] <pippy> so i had to call DBField::create_field('HTMLText', $text) to call the function that parsed the sitetree_links
87: [00:51:01] <pippy> zippy__: i might give 3.1.4 a miss
88: [00:51:21] <pippy> i patched the instance i'm running to fix up the file upload issue
89: [00:51:31] <ss23> ^.^
90: [00:51:32] <ss23> It's true!
91: [00:51:34] * UncleCheese_ quit (Quit: UncleCheese_)
92: [00:51:56] <ss23> I rate the release "Low" though, in terms of severity of issues
93: [00:53:29] <pippy> how many votes before silverstripe gets added to bitnami
94: [00:53:54] <pippy> some devs i spoke to today said they loved it
95: [00:56:21] <Ryan-Toast> pippy: SS, or bitnami?
96: [00:57:58] * UncleCheese has joined #silverstripe
97: [00:59:10] <pippy> both
98: [00:59:28] <pippy> though in this context they were speaking about bitnami
99: [01:00:45] <ss23> pippy: iirc they had problems adding it (technical problems) and were waiting for Cam to fix them
100: [01:00:51] <ss23> idk what he did, and Cam is only leave now
101: [01:01:14] <pippy> ah cool
102: [01:02:33] * danfo has left #silverstripe
103: [01:08:00] <ss23> Once again, ruined by this retarded bug where Subsites will infinite redirect
104: [01:08:04] <ss23> :(
105: [01:12:44] * Bollig|DesignCty has joined #silverstripe
106: [01:13:08] * wracu quit (Ping timeout: 245 seconds)
107: [01:17:16] * Azure has joined #silverstripe
108: [01:23:17] <Ryan-Toast> what's the Director::CurrentPage() function in 3.x?
109: [01:23:39] <Ryan-Toast> get_current_page?
110: [01:24:13] * Jakx has joined #silverstripe
111: [01:25:07] <Jakx> Why would an empty DataObjectSet (in 2.4) invoke this error: Missing argument 1 for ViewableData::hasValue()?
112: [01:30:26] * Tanger has joined #silverstripe
113: [01:31:12] <simon_w> Ryan-Toast, Controller::curr()
114: [01:31:33] <Ryan-Toast> I have a dtaaobject with a URL Segment, how do I make it work like it does in the pages, in regards to updating based on the title?
115: [01:31:57] <Ryan-Toast> simon_w: get_current_page seems to work well too.
116: [01:33:38] <Bollig|DesignCty> anyone know how I can get the CMS to not log me out every 2.5 seconds?
117: [01:34:04] * unsigned_ has joined #silverstripe
118: [01:34:54] * unsignedint quit (Ping timeout: 264 seconds)
119: [01:36:49] <Bollig|DesignCty> I know LeftAndMain.Ping.js should be doing it, but sometimes I'm getting logged out in under 10 seconds from logging in :(
120: [01:36:58] <Bollig|DesignCty> simon_w: halp! ;)
121: [01:37:26] <simon_w> Bollig|DesignCty, complain to your host about sessions being destroyed?
122: [01:37:38] <Bollig|DesignCty> localhost :(
123: [01:37:42] <simon_w> Stop switching into porn mode?
124: [01:37:54] <Bollig|DesignCty> lol
125: [01:38:13] <Bollig|DesignCty> why would I ever switch OUT of porn mode? :p
126: [01:38:24] <simon_w> Browser history :p
127: [01:39:11] <Bollig|DesignCty> simon_w: are sessions killed on build or flush or anything?
128: [01:39:31] <simon_w> Nope
129: [01:43:39] <Ryan-Toast> what field does the URL Segemnt use?
130: [01:44:28] * robert_ has joined #silverstripe
131: [01:44:28] * robert_ quit (Changing host)
132: [01:44:28] * robert_ has joined #silverstripe
133: [01:47:31] <Bollig|DesignCty> Ryan-Toast: http://api.silverstripe.org/3.1/source-class-SiteTree.html#103
134: [01:48:05] <zippy__> If I have a holder page, which has a child under it. I can access the parent model via $this->Parent() but is it possible to get the parent controller?
135: [01:51:23] <Bollig|DesignCty> zippy__: I don't know.. Im inclined to say no, but simon_w or someone more knowledgable is probably better to ask.
136: [01:51:38] <Bollig|DesignCty> you could always have a function to return the specific controller you wanted...
137: [01:58:27] <Ryan-Toast> Any way to turn on better error reporting? All I get in the Console is: Failed to load resource: the server responded with a status of 500 (Error at line 759 of /home/_SILVERSTRIPE/icebase/framework/core/Object.php)
138: [01:58:43] * DesignCity has joined #silverstripe
139: [01:58:54] * Bollig|DesignCty quit (Ping timeout: 264 seconds)
140: [01:58:55] * DesignCity is now known as Bollig|DesignCty
141: [02:07:52] <UncleCheese> Is this allowed?
142: [02:08:12] <UncleCheese> Injector: {My\Namespaced\Class: {properties: {foo: bar} } }
143: [02:12:03] <simon_w> UncleCheese, quote the classname
144: [02:13:14] <UncleCheese> yay, thank you
145: [02:13:18] <zippy__> ....
146: [02:13:52] <zippy__> I should just be able to do, <% cached 'sidebar' %> <p>foo</p> <% end_cached %> - and it will 'work' right? on ss 3.0?
147: [02:14:11] <zippy__> I am checking the silverstripe cache folder, and there is no file which contains sidebar in any of the cache files
148: [02:14:15] <zippy__> turned of dev mode
149: [02:15:36] * spronk2 has joined #silverstripe
150: [02:18:23] <zippy__> right it IS working….
151: [02:18:34] <zippy__> if you change the template then it invalidates that cache block :)
152: [02:20:21] <Jakx> I'm in 2.4, handing a dataobject to the template. If $DO->MyProperty = 6. It displays 6. But if $DO->MyProperty = anything ViewableData... I get Error: Missing argument 1 for ViewableData::hasValue()
153: [02:20:32] <Jakx> I've been troubleshooting this for hours.
154: [02:21:48] <Jakx> What's fucked is working in another controller... just not this one ><
155: [02:21:57] <Jakx> is that it's*
156: [02:25:30] <Jakx> if I create a dataobject and give it a MyProperty() method that returns anything Viewable data... it works.
157: [02:27:42] <Ryan-Toast> getting a "[User Deprecated]: NegationFilter->__construct is deprecated" when I add a data object, and I have no clue what the shit that is.
158: [02:28:58] <Ryan-Toast> Full stack, what the shiiiit? http://pastebin.com/W6LppjmH
159: [02:30:39] * muskie9 quit ()
160: [02:35:34] <zippy__> Ryan-Toast: show us ya code. looks like ther eis a select or something using the wrong filter
161: [02:35:48] <simon_w> Ryan-Toast, SluggableExtension needs updating
162: [02:36:01] <Ryan-Toast> simon_w: How do I do that?
163: [02:36:34] <Ryan-Toast> zippy___: http://pastebin.com/Bem7nsHY
164: [02:36:45] <simon_w> Ryan-Toast, you open it in a text editor and change the filter it's using to the one the deprecation message is telling you to use
165: [02:38:24] <Ryan-Toast> simon_w: I don't even know where it's being called :/
166: [02:38:43] <simon_w> Ryan-Toast, look at the callstack
167: [02:39:01] * an_Eskimo quit (Quit: Page closed)
168: [02:39:25] * an_Eskimo has joined #silverstripe
169: [02:40:20] <Ryan-Toast> ohhh
170: [02:42:53] <Ryan-Toast> simon_w: Chur.
171: [02:43:36] <zippy__> Ryan-Toast: Also, you should ideally be using the newer method with the ->filter so it escapes your sql queries….. return (DataObject::get_one('Client', "URLSegment = '" . $URLSegment ."' AND ID != " . $this->ID));
172: [02:43:54] <Ryan-Toast> zippy__: Thanks :)
173: [02:44:23] <zippy__> Country::get()->map()->toArray()
174: [02:44:29] <zippy__> there is Mr toArray again :)
175: [02:44:42] <Ryan-Toast> fucking toArray :P
176: [02:45:38] <simon_w> That sounds painful
177: [02:45:43] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
178: [02:46:48] <Ryan-Toast> simon_w: With enough lube, anything's possible.
179: [02:54:47] <Colin[pi]> I am so unbelievably close to firing this client
180: [02:57:18] * onfire has joined #silverstripe
181: [02:57:21] <simon_w> Is this the one you ranted at?
182: [02:58:00] <onfire> has anyone used the nyeholt CDN modules?
183: [02:58:36] <Colin[pi]> simon_w: yep, had another difficult call today
184: [02:58:40] <antmas> Colin[pi]: same dude as yesterday?
185: [02:58:42] <Colin[pi]> yep
186: [02:58:48] <antmas> what happened now?
187: [02:59:03] <Colin[pi]> guy just doesn't understand anything
188: [02:59:08] <antmas> lol
189: [02:59:33] <Colin[pi]> I try and I try to explain even the most basic things, and it's like WOAH slow down poindexter
190: [03:00:00] <Colin[pi]> then it's my fault because I'm not listening correctly apparently
191: [03:00:37] <Colin[pi]> then to make matters worse he is like the most demanding rude prick too
192: [03:03:13] <antmas> Colin[pi]: just do everything he says, literally
193: [03:03:20] <antmas> then you can say
194: [03:03:23] <antmas> see?
195: [03:03:25] <antmas> told you so
196: [03:03:35] <antmas> your site looks and functions like a potato on heat
197: [03:03:50] <antmas> then
198: [03:03:51] <antmas> ...
199: [03:03:52] <antmas> $$$
200: [03:04:56] <mobiusnz> is there an easy way to make a couple of fields in a form render differently, without rendering the whole form in a custom template?
201: [03:05:06] <UncleCheese> yup
202: [03:05:08] <UncleCheese> setTemplate()
203: [03:05:15] <mobiusnz> oh
204: [03:05:28] <UncleCheese> TextField::create('Foo')->setTemplate('MyTextField')
205: [03:06:03] <mobiusnz> cool ta
206: [03:06:26] <mobiusnz> this form has like 100 fields in it and I wasn't enjoying this
207: [03:07:03] <antmas> mobiusnz: hate that
208: [03:07:14] <onfire> anyone know the best way to integrate a CDN with silverstripe?
209: [03:09:03] <Jakx> onfire, just use a CDN service in proximity to your SS site.
210: [03:09:36] <Jakx> onfire, there are plenty of cloud services for this - as I'm sure you know.
211: [03:09:58] <onfire> definitely - have the cloud side sorted, its just the integratin with assets/
212: [03:10:49] * onfire_ has joined #silverstripe
213: [03:14:23] * onfire quit (Ping timeout: 245 seconds)
214: [03:16:41] * onfire_ quit (Quit: Page closed)
215: [03:22:27] * Bollig|DesignCty has joined #silverstripe
216: [03:23:04] <zippy__> Two objects thought to be linked to missing plane found off Australia ... More soon
217: [03:23:06] <zippy__> wooo
218: [03:26:11] <antmas> zippy__: we've heard that story already :P
219: [03:26:24] <zippy__> antmas: http://i.imgur.com/DjnfX0o.jpg
220: [03:26:41] <UncleCheese> That moment when you've spent 9 days upgrading a site to SS3, and it finally loads for the first time.
221: [03:27:29] <antmas> UncleCheese: dose feels
222: [03:27:35] <simon_w> zippy__, it's Tony Abbott saying it, so he'll turn them back
223: [03:27:46] <antmas> LOL
224: [03:27:55] <Stomach> UncleCheese - congrats man
225: [03:28:03] <zippy__> UncleCheese: Must be a huge site!
226: [03:28:09] <antmas> 9 days?
227: [03:28:16] <UncleCheese> yeah
228: [03:28:19] <UncleCheese> it's haystack, man
229: [03:28:23] <simon_w> Sloooooow
230: [03:28:29] <UncleCheese> They call it Heystack because each error is a needle
231: [03:28:43] <antmas> UncleCheese: which site?
232: [03:28:56] <UncleCheese> trilogy.com
233: [03:29:12] <Stomach> *trilogyproducts.com
234: [03:29:19] <UncleCheese> ha
235: [03:29:22] <UncleCheese> i don't even know the fucking url
236: [03:29:35] <UncleCheese> that shows you how much browser testing is really going on
237: [03:30:15] <UncleCheese> can't click anywhere
238: [03:30:18] <UncleCheese> but still, a big win
239: [03:30:31] <antmas> wait
240: [03:30:42] <antmas> is it trilogy or trilogy products?
241: [03:30:47] <Stomach> trilogy products
242: [03:31:15] <antmas> UncleCheese: most difficult part?
243: [03:31:36] <UncleCheese> the ecommerce integration
244: [03:31:46] * antmas_ has joined #silverstripe
245: [03:31:55] <UncleCheese> Heyday uses a homegrown ecommerce suite known as Heystack
246: [03:32:00] <UncleCheese> which will be open-sourced someday
247: [03:32:26] <UncleCheese> but it had to be upgraded to SS3… which was actually all handled by someone else.. but all the integration points were difference
248: [03:32:31] <UncleCheese> different*
249: [03:32:55] <antmas_> ah I see
250: [03:33:13] <UncleCheese> massive DI layer
251: [03:33:14] <antmas_> because on the surface, it looks like a pretty straighforward ecommerce site :D
252: [03:33:17] <UncleCheese> which is really cool
253: [03:33:19] <UncleCheese> I know, right?
254: [03:33:44] <antmas_> zippy__: that article is terrible
255: [03:33:47] <Stomach> antmas - the simplest things are always the most confusing
256: [03:33:50] <antmas_> such click bate
257: [03:33:55] <antmas_> bait*
258: [03:33:59] <zippy__> antmas_: article?
259: [03:34:00] <antmas_> Stomach: agreed :D
260: [03:34:09] <antmas_> zippy__: the read more link for the plane debris
261: [03:34:25] <antmas_> NOTHING new besides 'something TA said'
262: [03:34:52] <Ryan-Toast> The plane thing is a news network's wet dream. They can say whatever the fuck they want.
263: [03:35:09] <antmas_> ofc
264: [03:35:13] <zippy__> mmhmm
265: [03:35:38] * antmas quit (Ping timeout: 245 seconds)
266: [03:36:08] <antmas_> I love how there was that story saing 'kiwi technology finds plane!' and now it will be 'Ausi found it first!'
267: [03:36:21] <antmas_> WHO CARES WHO FINDS IT?!
268: [03:36:32] * antmas_ is now known as antmas
269: [03:36:45] * zippy__ is now known as antmas_
270: [03:37:16] <antmas> that antmas_ guy is a jerk right?
271: [03:37:27] <antmas_> sure is!
272: [03:37:59] <Ryan-Toast> test: ><
273: [03:38:02] <Ryan-Toast> aww yiss.
274: [03:38:07] <Ryan-Toast> Turned off emoticons.
275: [03:38:12] * antmas_ is now known as zippy__
276: [03:38:39] * unsigned_ is now known as unsignedint
277: [03:45:57] * antmas quit (Quit: Page closed)
278: [03:46:47] <Colin[pi]> <@simon_w> zippy__, it's Tony Abbott saying it, so he'll turn them back
279: [03:46:50] <Colin[pi]> ^ lol
280: [03:53:30] <UncleCheese> Poor man's unit testing
281: [03:53:57] <UncleCheese> foreach($everyThingInTheDB as $record) { $record->getCMSFields() } echo "If you're seeing this, everything works.";
282: [03:53:58] <simon_w> Yay, I'm allowed to publish my post tomorrow
283: [03:54:44] <ss23> MAMA MIA
284: [03:54:53] <ss23> BEAZUAUBUB HAS A DEVIL PUT ASIDE
285: [03:54:54] <ss23> FOR ME
286: [03:54:57] <ss23> FOR MEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
287: [03:55:00] * ss23 headbangs on simon_w
288: [03:55:10] * Motoservo quit (Ping timeout: 265 seconds)
289: [03:55:12] <ss23> SO YOU THINK YOU CAN STOP ME AND SPIT IN MY EYE
290: [03:55:13] <Ryan-Toast> simon_w: what's it about?
291: [03:55:17] <ss23> OHHHHHHHHHHHHHHHHHHHHHHHHHHHHH, BABY!
292: [03:55:20] <ss23> CAN'T DO THIS TO ME BABY
293: [03:55:29] <ss23> JUST GOTTA OUT, JUST GOTTA GET RIGHT OUT OF HERE
294: [03:55:36] <simon_w> Oops, wrong way
295: [03:55:36] <zippy__> damn!
296: [03:55:37] <ss23> lol
297: [03:55:45] <simon_w> Bah
298: [03:55:50] <simon_w> Can't just +m ss23!
299: [03:55:57] <simon_w> Ryan-Toast, you'll find out tomorrow
300: [03:56:00] <ss23> :D
301: [03:56:03] <ss23> You can +q me, simon_w
302: [03:56:06] <ss23> But it won't work unless you -v me too
303: [03:56:20] <simon_w> Eh, /kb
304: [03:56:21] <Ryan-Toast> simon_w: Is it crochet patterns?
305: [03:56:26] <simon_w> Ryan-Toast, you'll find out tomorrow
306: [03:56:29] <Ryan-Toast> I do like me some crochet patterns
307: [03:57:15] <Ryan-Toast> I used to have a blog, but I took it down when I actually started using it for work. Since it was called "Ryan's rants" and featured much profanity.
308: [03:57:37] <Ryan-Toast> I had to be come a professional and be http://www.youtube.com/watch?v=hpigjnKl7nI
309: [03:58:34] * babak quit (Quit: Connection closed for inactivity)
310: [03:58:49] <ss23> Is it SQLi, simon_w/
311: [03:58:51] <ss23> Is it XSS, simon_w?
312: [03:59:00] <simon_w> ss23, you'll find out tomorrow
313: [03:59:03] <ss23> lol
314: [03:59:25] <ss23> meanie
315: [03:59:57] <Colin[pi]> Ryan-Toast: lol I know what you mean, I have a personal blog still sitting untouched because every time I want to put something there, I prolly shouldn't
316: [04:00:18] <Ryan-Toast> Colin[pi]: I had quite a following for a while.
317: [04:00:37] <zippy__> wtf… http://www.youtube.com/watch?v=JbepN4dKLbU
318: [04:00:39] <Ryan-Toast> It was described as Maddoxesque.
319: [04:01:44] <ss23> lol zippy__, old!
320: [04:03:39] <Colin[pi]> Ryan-Toast: how's the weather up there with your head in the clouds? ;P
321: [04:04:02] <Ryan-Toast> Colin[pi]: Cloudy as fuck.
322: [04:04:07] <Colin[pi]> D:
323: [04:05:19] <Ryan-Toast> Hometime, later guys.
324: [04:05:40] <Colin[pi]> cyas
325: [04:06:40] * chris_bryer has joined #silverstripe
326: [04:08:19] * spronk2 quit (Quit: spronk2)
327: [04:08:35] * chris_bryer has left #silverstripe
328: [04:22:35] * cloph_away has joined #silverstripe
329: [04:22:48] * cloph quit (Ping timeout: 255 seconds)
330: [04:29:48] * an_Eskimo quit (Ping timeout: 245 seconds)
331: [04:30:36] * UncleCheese quit (Quit: UncleCheese)
332: [04:39:06] * zippy__ quit (Ping timeout: 264 seconds)
333: [04:45:09] * dashivalunatic has joined #silverstripe
334: [04:45:16] <dashivalunatic> heyas
335: [04:46:25] <dashivalunatic> does anyone know what is meant by a "plastic" rating - in reference to Disaster Recovery in a corporate app build? Googled it seven ways from sunday and can't find anything..... :(
336: [04:47:54] <ss23> Nope :O
337: [04:47:58] <ss23> Context?
338: [04:48:45] <dashivalunatic> got a project
339: [04:48:53] <dashivalunatic> they're talking about disaster recovery plans
340: [04:49:02] <dashivalunatic> and talking about achieving a 'plastic' rating
341: [04:49:17] <dashivalunatic> "Sales has a Plastic DR Rating as assessed by the Service Criticality Assessment"
342: [04:49:41] <dashivalunatic> Requirement: "Based on a Plastic DR Rating the solution must meet the Recovery Time Objective of 30 days in the event of a Disaster Recovery scenario." - that sort of thing
343: [04:50:05] <Colin[pi]> sounds like wanky buzzwords
344: [04:50:07] <dashivalunatic> just building a web app for internal use by teh company, and going over the requirements to see if i can use SS for it
345: [04:50:08] <ss23> Hmm
346: [04:50:14] <ss23> I dunno :O
347: [04:50:17] <dashivalunatic> yeah, but most buzz words I can google :P
348: [04:50:21] <Colin[pi]> hehe
349: [04:50:23] <dashivalunatic> no worries
350: [04:50:42] <dashivalunatic> wasn't expecting anyone to know, just hoping lol
351: [04:51:17] <dashivalunatic> the other thing is i'm sure i've read about it before at uni or something
352: [04:52:24] <Colin[pi]> ss23
353: [04:54:46] <ss23> Colin[pi]
354: [04:54:53] <Colin[pi]> umm 3.1.3
355: [04:54:57] <Colin[pi]> I just pulled it down
356: [04:55:00] <ss23> yep yep
357: [04:55:06] <Colin[pi]> what is... chart1.jpg in the root?
358: [04:55:16] <ss23> No idea, I didn't generate the archive, I think Ingo did
359: [04:55:25] <ss23> SilverStripe does have a history of generating releases with fucked up shit all through it...
360: [04:55:26] <Colin[pi]> some temps chart for NY city
361: [04:55:28] <Colin[pi]> wtf
362: [04:55:28] <ss23> :P
363: [04:55:29] <ss23> haha
364: [04:55:33] <ss23> Yeah, I remember smoeone did mention this
365: [04:55:34] <ss23> XD
366: [04:55:35] <ss23> I have no idea man
367: [04:55:37] <Colin[pi]> wtf
368: [04:55:40] <Colin[pi]> at least it's not porn
369: [04:55:45] <ss23> Want to build us a Release Builder that will generate it nicely?
370: [04:55:50] <Colin[pi]> YES
371: [04:55:52] <Colin[pi]> NO
372: [04:55:54] <Colin[pi]> MAYBE
373: [04:55:56] <Colin[pi]> I DONT KNOW
374: [04:55:58] <ss23> XD
375: [04:56:00] <Colin[pi]> COULD YOU REPEAT THE QUESTION?
376: [04:56:26] <ss23> ./generate-release 3.1.2
377: [04:56:33] <ss23> Created: SilverStripe-3.1.2.tar.gz
378: [04:56:35] <ss23> Created: SilverStripe-3.1.2.zip
379: [04:56:55] <ss23> ss23 ~/scripts/ $
380: [04:56:57] <ss23> etc
381: [05:00:24] <Colin[pi]> holy shit 3.1.3 doesn't throw an HTTP error for me anymore following installation
382: [05:00:31] * k_fish_ quit (Quit: Leaving)
383: [05:00:39] <Colin[pi]> hmm though it is taking a long time to login to the cms
384: [05:01:33] * dashivalunatic quit (Quit: Page closed)
385: [05:02:27] <Colin[pi]> hmm apache has hung trying to load the cms -_-
386: [05:02:51] <Colin[pi]> never ending redirect \o/
387: [05:07:19] <ss23> :D
388: [05:07:20] <ss23> Sounds good!
389: [05:07:46] <Colin[pi]> I've never had a good time installing SS3 :(
390: [05:07:54] <ss23> Poor Colin[pi]
391: [05:07:57] <ss23> Did you /dev/build? :D
392: [05:07:58] <Colin[pi]> ;_;
393: [05:08:01] <Colin[pi]> well
394: [05:08:03] <Colin[pi]> post install
395: [05:08:10] <Colin[pi]> it redirected to the delete install files stuff
396: [05:08:12] <Colin[pi]> with a flush
397: [05:08:16] <Colin[pi]> but it got stuck
398: [05:08:36] <Colin[pi]> I think it kept flushing and redirecting and flushing and redirecting
399: [05:08:41] <Colin[pi]> locked up my apache until it died lol
400: [05:11:42] <Colin[pi]> hmmm
401: [05:11:49] <Colin[pi]> wonder if I should contribute some PRs
402: [05:11:51] <Colin[pi]> :o
403: [05:17:03] <ss23> Always! :D
404: [05:20:14] <Colin[pi]> found something broken in treedropdownfield already, tsk tsk
405: [05:21:26] * brianmwaters has joined #silverstripe
406: [05:24:05] <ss23> Colin[pi]: I blame you for not testing the RC :D
407: [05:24:18] <Colin[pi]> oh oh, always my fault
408: [05:24:25] <Colin[pi]> ;P
409: [05:24:51] <ss23> :P
410: [05:25:24] <Colin[pi]> hmm the treedropdownfield js is not seeing the lang definitions
411: [05:27:06] * cloph_away quit (Ping timeout: 264 seconds)
412: [05:34:29] <Colin[pi]> any idea why ss disables the web console ss23?
413: [05:35:02] <Colin[pi]> well, a script within ss anyway
414: [05:35:12] <ss23> What is the "web console"?
415: [05:35:26] <Colin[pi]> you know, the console in the browser that shows js errors and such
416: [05:36:00] <ss23> Um, how can you disable that? o.o
417: [05:36:04] <ss23> Like... it's a browser feature?
418: [05:36:13] <Colin[pi]> I get this when I load the cms:
419: [05:36:16] <ss23> I'm not aware of a way to disable it in the first place, much less SS doing it :O
420: [05:36:22] <Colin[pi]> "The Web Console logging API (console.log, console.info, console.warn, console.error) has been disabled by a script on this page."
421: [05:36:36] <Colin[pi]> I've always got that within SS
422: [05:36:42] <Colin[pi]> it's super annoying
423: [05:36:43] <Colin[pi]> ;D
424: [05:37:15] <ss23> I presume you are using Firefox
425: [05:37:21] <Colin[pi]> correct
426: [05:37:24] <ss23> It looks unrelated to SilverStripe -- http://stackoverflow.com/questions/8212373/firefox-web-console-disabled
427: [05:37:33] <Colin[pi]> ah
428: [05:37:37] <ss23> :P
429: [05:37:46] <Colin[pi]> though
430: [05:37:52] <simon_w|air> 2.4 does it
431: [05:37:56] <Colin[pi]> "This happens when the page itself defines a global variable called console"
432: [05:38:05] <Colin[pi]> wait hmm
433: [05:38:08] <Colin[pi]> let me check something
434: [05:38:44] <Colin[pi]> nm I'm a retard
435: [05:38:45] <simon_w|air> Colin[pi], remove any reference to firebug.js or firebugx.js from LeftAndMain.php
436: [05:38:50] <ss23> lol
437: [05:38:54] <Colin[pi]> firebug is overriding it
438: [05:39:07] <Colin[pi]> ^o^
439: [05:39:27] <ss23> :P
440: [05:40:54] <Colin[pi]> it should really say "has been disabled by an extension" and not "by a script on this page"
441: [05:40:58] <Colin[pi]> I blame firefox
442: [05:41:26] * brianmwaters quit (Quit: Page closed)
443: [05:41:55] <ss23> lol
444: [05:41:56] <ss23> I do too
445: [05:41:57] <ss23> :D
446: [05:42:00] <ss23> You know the solution, Colin[pi], right?
447: [05:42:02] <ss23> Use Safari!
448: [05:42:15] <Colin[pi]> Yeah but
449: [05:42:17] <Colin[pi]> I'm on Windows
450: [05:42:25] <Colin[pi]> Safari on Windows is TERRIBAD
451: [05:42:30] <ss23> s/on Windows/
452: [05:42:30] <ss23> :3
453: [05:42:33] <ss23> s/on Windows//
454: [05:42:34] <ss23> fuck
455: [05:42:35] <ss23> you know what I mean
456: [05:42:36] <Colin[pi]> lol
457: [05:47:55] <Colin[pi]> btw ss23 didn't you get a new windows box?
458: [05:48:06] <ss23> I did! :D
459: [05:48:08] <ss23> Shit rules dude
460: [05:48:11] <Colin[pi]> at the office?
461: [05:48:14] <ss23> mm
462: [05:48:16] <ss23> AT home I have a pentium
463: [05:48:21] <Colin[pi]> you'd be like the only one right?
464: [05:48:22] <ss23> Here, it's an i7
465: [05:48:29] <ss23> Yeah :D
466: [05:48:32] <ss23> Everyone else uses OSX
467: [05:48:32] <Colin[pi]> haha
468: [05:48:35] <Colin[pi]> REBEL!
469: [05:48:40] <ss23> ikr
470: [05:48:41] <ss23> :3
471: [05:48:43] <ss23> 8 cores
472: [05:48:45] <ss23> shit is good
473: [05:48:50] <ss23> 16gb of ram
474: [05:48:54] <Colin[pi]> with HT too right?
475: [05:49:07] <ss23> Well, 4 real cores, 8 because HT
476: [05:49:08] <ss23> :P
477: [05:49:12] <Colin[pi]> mmm dat task manager
478: [05:49:57] * jparks has joined #silverstripe
479: [05:53:58] * jparks quit (Ping timeout: 245 seconds)
480: [06:01:37] * cloph_away has joined #silverstripe
481: [06:02:41] <ss23> Man, 7pm, and 7 people at this end of the office still :O
482: [06:02:47] <ss23> Must be some teams doing a project!
483: [06:02:54] <ss23> and I feel like shit
484: [06:05:31] <ss23> OH LOW BLOOD SUGAR LOL THAT WOULD CAUSE THAT
485: [06:40:18] <simon_w|air> ss23, don't forget that hep b you're getting from all those needles!
486: [06:40:46] <ss23> lol
487: [06:40:55] <ss23> It doesn't work like that!
488: [06:41:05] <simon_w|air> Also, when did it suddenly get so dark in here...
489: [06:41:11] <ss23> I knew a chick who thought that you got AIDS from anal sex.
490: [06:42:38] <simon_w|air> You knew a chick? :o
491: [06:42:58] <ss23> In school, of course! :P
492: [06:43:14] <ss23> simon_w|air: Is there a simple way to redirect from onedomain.com/foo/page to twodomain.com/foo/page?
493: [06:43:27] <ss23> So retain the main part of the page, but just change the URL?
494: [06:43:31] <simon_w|air> .htaccess
495: [06:44:07] <ss23> Without using .htaccess, has to be in SilverStripe code
496: [06:44:07] <ss23> :D
497: [06:44:13] <simon_w|air> Ahahahahaha
498: [06:44:33] <ss23> Hmm
499: [06:44:35] <simon_w|air> Duplicate what Director::force_www(), or whatever it is, does
500: [06:44:38] <ss23> I think it can be done easily actually :O
501: [06:44:48] <ss23> What is the "Current URL" method?
502: [06:44:52] <ss23> Director::currentURL?
503: [06:45:55] * babak has joined #silverstripe
504: [06:46:04] <simon_w|air> https://github.com/silverstripe/silverstripe-framework/blob/3.1/control/Director.php#L865-L872
505: [06:46:06] <simon_w|air> Copy that
506: [06:46:21] <ss23> ty :D
507: [06:54:09] * deschebbs has joined #silverstripe
508: [06:58:12] * deschebbs quit (Client Quit)
509: [06:58:17] * Shrike_Finland has joined #silverstripe
510: [07:28:33] <ss23> 2degrees are horrible. "To stop this reoccuring cost, text STOP and the pack code to 233", but no reference to what the pack code is...
511: [07:38:29] * Shrike_Finland quit (Quit: Leaving.)
512: [07:59:26] * spronk2 has joined #silverstripe
513: [08:07:07] <Bollig|DesignCty> Zauberfisch: there bud? wondering if UploadField can be sortable?
514: [08:07:15] <Bollig|DesignCty> (when handling many-many)
515: [08:07:29] <Bollig|DesignCty> anyone else (/me pokes simon_w|air) welcome to answer :)
516: [08:07:56] <simon_w|air> Bollig|DesignCty, for that, current practice is to use one of the sortable grid field things and GridFieldBulkEditingTools
517: [08:08:21] <Bollig|DesignCty> sucks :(
518: [08:08:25] <Bollig|DesignCty> (but thanks!)
519: [08:08:28] * Bollig|DesignCty hugs simon_w|air
520: [08:08:48] <simon_w|air> Now, do my dishes!
521: [08:10:28] <ss23> :O
522: [08:10:29] <ss23> NEVER!
523: [08:10:36] <ss23> simon_w|air: This feature/fix I'm working on is hard
524: [08:10:37] <ss23> :(
525: [08:14:30] * ryszard quit (Ping timeout: 264 seconds)
526: [08:14:44] * ryszard_ quit (Ping timeout: 265 seconds)
527: [08:15:24] * UncleCheese has joined #silverstripe
528: [08:15:29] * spronk2 quit (Ping timeout: 240 seconds)
529: [08:21:17] <simon_w|air> ss23, sucker!
530: [08:21:59] <ss23> It's SSViewier shit
531: [08:22:00] <ss23> ;_;
532: [08:22:12] <ss23> On one hand, I don't know this, so it might be good. On another, what the fuck is this shit
533: [08:26:00] <ss23> simon_w|air: Wher is like
534: [08:26:01] <ss23> The thing that goes
535: [08:26:07] <ss23> "Hey look, a <loop>! I'll turn that into this PHP!"?
536: [08:26:29] <simon_w|air> SSTemplateParser.php?
537: [08:26:31] <ss23> ty
538: [08:26:35] <ss23> It's hard to grep for :S
539: [08:26:43] <simon_w|air> Though you'll probably want to look at the .inc version
540: [08:26:54] <ss23> WARNING: This file has been machine generated. Do not edit it, or your changes will be overwritten next time it is compiled.
541: [08:26:57] <ss23> lol
542: [08:27:00] <ss23> Yes
543: [08:27:02] <ss23> God so scary.
544: [08:28:13] <ss23> wtf
545: [08:28:27] <ss23> todo: Top and Up, Partail Cache Blocks, commments
546: [08:28:31] <ss23> I HOPE THOSE ARE DONE :/
547: [08:28:54] <simon_w|air> They are
548: [08:29:43] * spronk2 has joined #silverstripe
549: [08:30:18] <ss23> I blame spronk2
550: [08:30:28] <spronk2> what this tme!?
551: [08:30:35] <simon_w|air> Everything
552: [08:30:42] <spronk2> god damnit
553: [08:30:47] <simon_w|air> MY DISHES STILL NEED DOING AND CAITLIN'S ON HER WAY ACROSS
554: [08:33:00] <ss23> XD
555: [08:33:07] <ss23> spronk2: The templating part of SilverStripe :D
556: [08:33:15] <spronk2> lol
557: [08:33:25] <simon_w|air> ss23, guess who wrote it!
558: [08:33:25] <ss23> I'm considering using eval
559: [08:33:26] <ss23> Is this good?
560: [08:33:33] <ss23> simon_w|air: I fucking know just from the first few lines of the file
561: [08:33:35] <simon_w|air> Both the .inc file and the thing that turns it into the .php file!
562: [08:34:00] <ss23> hmm, it looks like this already gets eval'd!
563: [08:34:01] <ss23> :D
564: [08:34:02] <ss23> YAY
565: [08:34:07] <spronk2> :|
566: [08:34:21] <simon_w|air> Yay! More stuff that doesn't work in whole program mode!
567: [08:35:50] <ss23> whole program mode?
568: [08:35:53] <ss23> repo authoritve mode?!
569: [08:36:13] <simon_w|air> yes, same thing
570: [08:36:44] <spronk2> watt?
571: [08:36:49] * ss23 looks at simon_w|air
572: [08:36:58] <ss23> FIX IT FIX IT FIX IT FIX IT FIX IT FIX IT FIX IT FIX IT FIX IT FIX IT FIX IT FIX IT FIX IT FIX IT
573: [08:37:05] <ss23> :D
574: [08:37:10] <ss23> I think this is going to be easier than I thought
575: [08:37:22] <ss23> SSViewer may be a mess, but I think I can inject my seed inside of it and leave without being noticed
576: [08:38:29] <ss23> $res['php'] .= 'if ('.$condition.'($partial = $cache->load('.$key.'))) $val .= $partial;' . PHP_EOL;
577: [08:38:33] <ss23> who the fuck wrote this, seriously
578: [08:38:56] <simon_w|air> Hamish
579: [08:38:59] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
580: [08:39:02] <ss23> I knew the answer :(
581: [08:39:37] * Jakx quit (Ping timeout: 240 seconds)
582: [08:43:24] * Shrike_Finland has joined #silverstripe
583: [08:46:02] <ss23> FUCK this isn't going to work
584: [08:46:03] <ss23> :/
585: [08:46:27] <spronk2> mm...
586: [08:54:43] * wmk has joined #silverstripe
587: [08:55:18] <ss23> simon_w|air: I am modifying a functions $res[php] in here
588: [08:55:24] <wmk> hi all
589: [08:55:32] <ss23> In what I put in, I need to check the equiv of what in a template would be $CurrentUser.ID
590: [08:55:36] <ss23> How can I do this?
591: [08:55:48] <ss23> like, um
592: [08:56:11] <ss23> $res['php'] .= "echo $CurrentUser;"; obviously doesn't work for obvious reasons
593: [08:56:40] <simon_w|air> Member::currentUserID()?
594: [08:57:19] <ss23> Um, not exactly
595: [08:57:28] <ss23> It needs to be called like the template system does, because it's configurable
596: [09:00:02] <ss23> eh screw it, going home
597: [09:00:05] <ss23> <3
598: [09:02:46] <ss23> hmm, I wonder if people outside on the street can hear the msuic I'm blasting with the windows open
599: [09:02:49] <ss23> :O
600: [09:05:09] * zippy____ has joined #silverstripe
601: [09:11:06] * micmania1 has joined #silverstripe
602: [09:11:24] <micmania1> mornin'
603: [09:11:47] * kinglozzer has joined #silverstripe
604: [09:11:53] <spronk2> lol
605: [09:11:56] <Tanger> Evening
606: [09:20:12] <zippy____> evenng
607: [09:21:47] * micmania2 has joined #silverstripe
608: [09:23:01] * cloph_away is now known as cloph
609: [09:23:59] * micmania1 quit (Ping timeout: 240 seconds)
610: [09:26:07] * desperatre has joined #silverstripe
611: [09:26:52] <desperatre> mrning everyone, I#ve got a styling issue. Using the simple template I want to remove the site title from my site. I have edited the header.ss file and removed this: <h1>$SiteConfig.Title</h1>
612: [09:27:07] <desperatre> but doing so also removes the menus from the header!
613: [09:28:57] * danfo has joined #silverstripe
614: [09:32:12] * Tanger quit (Quit: Tanger)
615: [09:41:33] <micmania2> desperatre: That shouldn't happen if you're only removing the h1 tag. Try debugging using ?showtemplate=1
616: [09:41:39] * micmania2 is now known as micmania1
617: [09:42:23] * Shrike_Finland quit (Quit: Leaving.)
618: [09:43:56] <micmania1> My internet is on fire today. 4.3kb/s!!
619: [09:44:37] * ryszard has joined #silverstripe
620: [09:45:22] * ryszard_ has joined #silverstripe
621: [09:54:13] * micmania2 has joined #silverstripe
622: [09:56:16] * UncleCheese quit (Quit: UncleCheese)
623: [09:57:33] * mobiusnz quit (Quit: Leaving.)
624: [09:57:41] * micmania1 quit (Ping timeout: 265 seconds)
625: [09:57:59] * micmania2 quit (Client Quit)
626: [09:58:11] * mobiusnz has joined #silverstripe
627: [10:01:13] * danfo quit (Ping timeout: 240 seconds)
628: [10:04:32] * joelpittet has joined #silverstripe
629: [10:04:40] * danfo has joined #silverstripe
630: [10:08:37] * WheatThins has joined #silverstripe
631: [10:08:57] <WheatThins> Hello, I seem to be having an issue changing both the theme and the favicon.ico for my silverstripe website
632: [10:09:21] <WheatThins> (And have flushed cache near obsessively)
633: [10:09:47] <wmk> WheatThins, hi, do you have a demo and / or paste?
634: [10:10:16] <wmk> what version of ss?
635: [10:10:56] <WheatThins> Most recent
636: [10:11:00] <WheatThins> past eof?
637: [10:11:03] <WheatThins> *paste of
638: [10:11:30] <WheatThins> I can link you the site www.epilep.se if it helps
639: [10:13:29] <wmk> ok. i see the simple theme
640: [10:13:41] <wmk> where did you define another theme?
641: [10:13:51] <WheatThins> If I change themes the theme breaks, I have it set to simple currently
642: [10:13:57] <WheatThins> (This is also my first website, I'm new at this)
643: [10:14:01] <wmk> ok.
644: [10:14:07] <wmk> want to change the theme?
645: [10:14:23] <WheatThins> Yes, I downloaded and unpacked a theme called lazydays
646: [10:14:38] <wmk> ah.
647: [10:14:44] <wmk> ok.
648: [10:14:52] <wmk> it's located in the themes directory?
649: [10:14:55] <WheatThins> Yes
650: [10:14:58] <WheatThins> And unpacked from the tarball
651: [10:15:22] <wmk> and WHERE did you change the theme?
652: [10:15:32] <wmk> config file, backend ...?
653: [10:15:42] <WheatThins> I tried just config, I tried just backend, and I tried both
654: [10:15:49] <WheatThins> None of those 3 combinations worked
655: [10:16:12] <WheatThins> I changed it via backend just now
656: [10:16:24] <WheatThins> ctrl+f5 the front page to see what I mean
657: [10:16:32] <wmk> oh, i just guess this very old theme is for silverstripe 2.x
658: [10:16:42] <wmk> in 3.0 the template language changed a lot
659: [10:16:47] * stripee has joined #silverstripe
660: [10:17:02] <wmk> you downloaded it from http://www.silverstripe.org/lazydays/?
661: [10:17:05] <WheatThins> Yes
662: [10:17:26] <WheatThins> Ah, somehow I did not see the new link
663: [10:17:29] <WheatThins> under we've moved
664: [10:17:37] <WheatThins> I feel silly for playing with this for two hours now lol
665: [10:17:49] <wmk> well, we all do sometimes
666: [10:18:21] <WheatThins> Also, I managed to muck up the Pages.ss entry for favicon
667: [10:18:24] <wmk> if your templates contains <% control %> and <% end_control %> it's an old theme
668: [10:18:49] <wmk> well, best is to replace /favicon.ico file
669: [10:19:10] <WheatThins> Which I have
670: [10:19:26] <wmk> browser cache?
671: [10:19:40] <wmk> i see some orange ?
672: [10:19:42] <WheatThins> ctrl +f5 does nothing, flush?=1 does nothing too
673: [10:19:46] <WheatThins> Oh you do?
674: [10:19:51] <WheatThins> I don't on my end, interesting
675: [10:19:59] <wmk> favicon.ico get's cached by the browser
676: [10:20:04] <WheatThins> It should be a mario ? block, but kind of a malformed ?!
677: [10:20:04] <wmk> try another browser or clear the cache
678: [10:20:28] <wmk> yes, some kind of orange mario block with questionmark
679: [10:20:31] <WheatThins> Ah ok so it did work
680: [10:20:41] <WheatThins> It's intended to be a ?! condensed in to one symbol, named an interrobang
681: [10:20:42] <wmk> WheatThins, you know firebug and webdeveloper tools for firefox?
682: [10:20:47] <WheatThins> I do not
683: [10:21:12] <wmk> http://chrispederick.com/work/web-developer/
684: [10:21:31] <wmk> here you can easlily e.g. deactivate browser cache temporarly
685: [10:22:05] <wmk> https://www.getfirebug.com/
686: [10:22:10] <WheatThins> Hold on, I'm a FF version behind on 27, gotta restart my browser to update, thank you for the links
687: [10:22:30] <wmk> for analyzing the webpage, the traffic, the javascript, the css. THE swiss army knife
688: [10:22:36] <wmk> np
689: [10:22:42] * WheatThins quit (Quit: Page closed)
690: [10:23:11] * WheatThins has joined #silverstripe
691: [10:23:23] <WheatThins> Heh, and here I was about to remove silverstripe
692: [10:23:31] <WheatThins> And I'm just using the wrong theme version
693: [10:23:45] <wmk> which isn't obvious there!
694: [10:24:31] <wmk> only cause it's a theme from 2008
695: [10:25:28] <wmk> http://addons.silverstripe.org/add-ons?type=theme&view=expanded is your friend now ;)
696: [10:26:25] <WheatThins> Though screenshots would be nice, yes :P
697: [10:26:52] <WheatThins> Disregard, there is a thumbnail, just not in search
698: [10:27:02] <WheatThins> I'm not exactly on top of my game, I blame 5:26 am
699: [10:28:42] <wmk> yup, themes have to provide screenshots
700: [10:29:47] <WheatThins> I do not have sudo access on the shared server I'm hosting this from
701: [10:29:51] <WheatThins> And composer is not installed
702: [10:29:58] <WheatThins> Is there a way to add the blog module without composer?
703: [10:30:07] <wmk> but now you can have a look at the code at github....
704: [10:30:21] <wmk> hmm, install locally and upload via ftp?
705: [10:30:34] <wmk> do you use a IDE for coding?
706: [10:31:56] <WheatThins> Yes
707: [10:32:09] <WheatThins> Netbeans/Eclipse
708: [10:32:58] <wmk> if you only have ftp the best way would be to setup a local devserver (WAMP or a VM), develop locally and then deploy to live server
709: [10:32:59] * joelpittet quit ()
710: [10:33:25] * wmk knows how easy it seems to develop remotely on the live machine
711: [10:33:40] <WheatThins> I have ftp and ssh
712: [10:33:44] <wmk> of course you can go without composer and download the packages.
713: [10:33:49] <WheatThins> Just not sudo
714: [10:33:49] <wmk> you HAVE ssh...
715: [10:34:01] <wmk> why would you need sudo?
716: [10:34:10] <WheatThins> To install composer which isn't installed
717: [10:34:16] <wmk> you can download composer for your local user
718: [10:34:47] <WheatThins> I can?
719: [10:34:51] <WheatThins> Via curl and dpkg or something?
720: [10:35:19] <stripee> changing theme in SSViewer: theme: is not working....what may be the problem?
721: [10:35:44] <wmk> WheatThins, this may do: curl -sS https://getcomposer.org/installer | php -- --install-dir=~/.bin
722: [10:35:49] <wmk> https://getcomposer.org/download/
723: [10:36:23] <wmk> stripee, theme somewhere hardcoded?
724: [10:36:31] <wmk> stripee, where do you change it? config file?
725: [10:37:02] <stripee> config.yml......
726: [10:37:09] <stripee> theme is mi own coded
727: [10:37:28] <WheatThins> I get a warning for unexpected character in input asci 92 /
728: [10:37:38] <WheatThins> * \
729: [10:37:52] <wmk> stripee, have a look in the old mysite/_config.php and the controller
730: [10:38:28] <wmk> WheatThins, ???
731: [10:39:27] <WheatThins> Idk, a bunch of parse errors after I try that curl
732: [10:39:40] <stripee> wmk what to look in mysite/_config.php?
733: [10:39:46] * Shrike_Finland has joined #silverstripe
734: [10:39:55] <wmk> stripee, something like set_theme()
735: [10:40:17] <stripee> there is not ...
736: [10:40:20] <wmk> fine.
737: [10:40:38] <wmk> did you try setting it via siteconfig in the backend?
738: [10:40:55] <stripee> u mean through CMS?
739: [10:40:59] <stripee> settings
740: [10:41:22] <wmk> WheatThins, just go to ~/.bin and download composer with
741: [10:41:24] <wmk> curl -sS https://getcomposer.org/installer | php
742: [10:41:41] <wmk> this should install the phar in this directory
743: [10:42:14] <wmk> sorry, ~/bin/
744: [10:42:19] <wmk> stripee, yes, in the cms
745: [10:42:23] <WheatThins> Yes, I attempted this but I continually get the same issue with unexpected characters
746: [10:42:29] <WheatThins> stripee: which theme?
747: [10:42:45] <stripee> yes i did
748: [10:42:50] <wmk> WheatThins, i just downloaded in on my debian machine without problems.
749: [10:43:10] <stripee> the theme changed but.........the output was not as i expecdted
750: [10:43:16] <WheatThins> I'm sure the link works fine, I think it's something server side for me
751: [10:43:18] <wmk> stripee, do you have an url for us to look at?
752: [10:43:22] <WheatThins> (on my shared server)
753: [10:43:36] <WheatThins> I'll just ftp it there instead
754: [10:43:44] <stripee> nothing what i coded in the header.ss is displayed in .....
755: [10:43:58] <stripee> working on local
756: [10:44:12] <wmk> WheatThins, maybe this link may help you. http://www.tohir.co.za/2013/10/14/php-composer-on-a-hostgator-shared-account/
757: [10:44:36] <wmk> stripee, flushed?
758: [10:44:55] <wmk> any error messages?
759: [10:44:58] <stripee> yes
760: [10:45:03] <stripee> yes
761: [10:46:28] <wmk> can you paste the errors
762: [10:46:46] <stripee> this was the error Please choose an authentication method and enter your credentials to access the CMS
763: [10:48:01] <wmk> stripee, url?
764: [10:48:34] <WheatThins> Ok I'll be getting some sleep
765: [10:48:37] <WheatThins> Goodnight thank you for the help
766: [10:48:44] <wmk> WheatThins, n8
767: [10:48:51] * WheatThins quit (Quit: Page closed)
768: [10:51:03] * stripee quit (Ping timeout: 245 seconds)
769: [10:51:36] * stripee has joined #silverstripe
770: [10:51:47] <stripee> diconnected after 16:17] <stripee> but after refreshing there is no more error
771: [10:51:57] <stripee> wmk ??
772: [10:54:43] * micmania1 has joined #silverstripe
773: [10:54:55] <wmk> stripee, do you have a url?
774: [10:55:53] <stripee> i m working on local ...
775: [10:55:58] <wmk> ok.
776: [10:56:15] <wmk> seems like the theme isn't found.
777: [10:56:26] <stripee> may be
778: [10:56:37] <stripee> or may be the permission issue?
779: [10:56:46] <wmk> maybe.
780: [10:56:53] <wmk> hard to say from distance ;)
781: [10:57:00] <wmk> have to run now, cu 8ater
782: [10:57:09] <stripee> in windows 7, can permission be issue?
783: [10:57:25] <wmk> shouldn't
784: [10:57:50] * wmk quit (Quit: nice to meet you ;))
785: [10:58:05] <stripee> but while changing the theme
786: [10:58:44] <stripee> color and look gets changed ...but not the header n footer
787: [11:04:11] * Shrike_Finland quit (Quit: Leaving.)
788: [11:10:07] * stripee quit (Quit: Page closed)
789: [11:17:54] * Bollig|DesignCty has joined #silverstripe
790: [11:26:30] * ARNHOE has joined #silverstripe
791: [11:27:39] * danfo_ has joined #silverstripe
792: [11:28:33] * danfo quit (Ping timeout: 265 seconds)
793: [11:32:30] * danfo_ quit (Ping timeout: 264 seconds)
794: [11:35:00] * Shrike_Finland has joined #silverstripe
795: [11:35:10] * danfo has joined #silverstripe
796: [12:02:00] * Shrike_Finland quit (Quit: Leaving.)
797: [12:15:26] * Colin[pi] quit (Ping timeout: 265 seconds)
798: [12:18:45] * UndefinedOffset has joined #silverstripe
799: [12:23:17] * MrGuits has joined #silverstripe
800: [12:24:30] * spronk2 quit (Quit: spronk2)
801: [12:26:25] * Guits quit (Ping timeout: 240 seconds)
802: [12:33:13] * ryszard_ quit (Ping timeout: 240 seconds)
803: [12:33:31] * ryszard quit (Ping timeout: 241 seconds)
804: [12:34:23] * Guits has joined #silverstripe
805: [12:34:54] * jonShape has joined #silverstripe
806: [12:36:57] * wmk has joined #silverstripe
807: [12:37:29] * MrGuits quit (Ping timeout: 240 seconds)
808: [12:44:14] * zippy____ quit (Quit: zippy____)
809: [12:44:43] * zippy____ has joined #silverstripe
810: [12:46:49] * zippy____ quit (Client Quit)
811: [12:56:52] * Azure quit (Quit: My MBP went to sleep.)
812: [13:11:49] * Liquide has joined #silverstripe
813: [13:18:02] * basso_ has joined #silverstripe
814: [13:18:29] * iamss has joined #silverstripe
815: [13:18:57] <iamss> do we still have people inside?
816: [13:20:24] <basso_> Hi, I've uploaded some images in the 'Files' section; created a separate folder named 'homepage-slideshow'. I want to access these photo's in the 'Home' Page, put them in a div. How to achieve this? I've followed http://www.silverstripe.org/data-model-questions/show/23809 but I do not understand how to access the DB correctly.
817: [13:24:24] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
818: [13:27:10] * Shrike_Finland has joined #silverstripe
819: [13:33:19] <micmania1> basso_: for accessing the database: http://doc.silverstripe.com/framework/en/topics/datamodel
820: [13:33:30] <micmania1> so to get your files...
821: [13:33:52] <basso_> micmania1: thank you
822: [13:33:57] <micmania1> $files = Folder::get()->filter("Name", "homepage-slideshow")->first()->Files();
823: [13:34:19] <micmania1> But you should follow the tutorials and read the docs to get a full understanding of what its doing.
824: [13:37:30] <iamss> bosso: try this http://pastebin.com/50CrZ3YQ
825: [13:38:24] <micmania1> basso_: My example was wrong. Its ->Children() not ->Files().
826: [13:38:55] <iamss> basso remove the ->Files();
827: [13:39:02] <basso_> and Folder::get probably must be File::get, since it has to query the File table?
828: [13:39:50] <basso_> iamss: thanks :)
829: [13:39:52] <basso_> Pastebin.com is under heavy load right now :'(
830: [13:40:15] <micmania1> basso_: no, Folder::get() will return the home page folder.
831: [13:40:28] <micmania1> then ->Children() will return the files in that folder.
832: [13:41:36] <iamss> basso_ then try this one http://pastie.org/8953416
833: [13:44:03] <iamss> does anyone tried the UserForm translatable?
834: [13:44:19] <iamss> I'm getting some problems translating UserForm module
835: [13:44:19] <iamss> [User Error] DataObject::getComponents(): Unknown 1-to-many component 'Fields_original' on class 'UserDefinedForm'
836: [13:48:15] * ryszard has joined #silverstripe
837: [13:48:25] * ryszard_ has joined #silverstripe
838: [13:52:11] * catcher has joined #silverstripe
839: [14:01:19] <basso_> iamss: I put that code in the Page model?
840: [14:03:12] <iamss> well, you can put that inside your model and call it by a controller OR you can put it on the controller
841: [14:03:40] * Shrike_Finland quit (Quit: Leaving.)
842: [14:06:06] * ss23 quit (Ping timeout: 264 seconds)
843: [14:06:18] * ss23 has joined #silverstripe
844: [14:06:54] <basso_> iamss: when i put in in the controller, i get the error: Parse error: parse error, expecting `T_FUNCTION'
845: [14:07:11] <basso_> Isn't' there some more documentation about how to get these basics done in SS?
846: [14:07:52] <basso_> The SS book is all based on 2.4, so outdated already
847: [14:07:53] <iamss> basso_ start from here http://doc.silverstripe.org/framework/en/tutorials/
848: [14:12:15] <desperatre> I give users the option to upload an image on my homepage in the CMS which sets the background for a page
849: [14:12:29] <desperatre> how can I access this variable data on other pages
850: [14:12:42] <desperatre> for example I want my GalleryPage to use the same image
851: [14:12:54] <desperatre> GalleryPage exstended page
852: [14:13:02] <desperatre> so it picks up the Page.ss
853: [14:13:22] <desperatre> but the background image is set using
854: [14:13:33] <desperatre> <body style="background-image:url('$BackgroundImage.Filename');background-repeat: no-repeat;">
855: [14:14:07] <micmania1> desperatre: You could just add the field to the GalleryPage?
856: [14:14:45] <desperatre> but then that would mean the user has to upload an image for every page?
857: [14:15:12] <micmania1> Or if you want to ensure its the same as the home page use SiteTree::get()->filter("URLSegment", "home")->first()
858: [14:16:21] <kinglozzer> desperatre: <% with Page(home) %><body style="background-image:url('$BackgroundImage.Filename');background-repeat: no-repeat;"><% end_with %>
859: [14:16:52] <kinglozzer> To be honest, what I usually do is set up a function in the controller to loop through parent pages if there's no image set on the current page
860: [14:21:50] <desperatre> kinglozzer: thanks that works perfectly
861: [14:21:59] <desperatre> don't quite understand it but great
862: [14:23:29] * danfo quit (Ping timeout: 240 seconds)
863: [14:25:59] * Shrike_Finland has joined #silverstripe
864: [14:26:29] <desperatre> can i fix my side bar menu so that it only ever shows the children of a particular page
865: [14:26:33] <desperatre> for example Events
866: [14:26:52] <desperatre> i have a list of event and ever want the list of events to be listed
867: [14:27:40] <kinglozzer> <% with List(EventHolder).First %><% loop Children %>{$MenuTitle.XML}<% end_loop %><% end_with %>
868: [14:27:50] <kinglozzer> Assuming you have a different page type ^
869: [14:30:01] * Shrike_Finland quit (Ping timeout: 240 seconds)
870: [14:30:45] * danfo has joined #silverstripe
871: [14:33:43] <desperatre> do i edit sidebar.ss with those changes
872: [14:37:05] * ryszard quit (Remote host closed the connection)
873: [14:37:05] * ryszard_ quit (Read error: Connection reset by peer)
874: [14:54:36] <ARNHOE> desperatre: loop Menu(2) ?
875: [14:54:52] <desperatre> thanks
876: [14:56:03] * iamss quit (Ping timeout: 245 seconds)
877: [15:02:47] * Azure has joined #silverstripe
878: [15:06:15] * ivoba has joined #silverstripe
879: [15:07:19] * Aefroze has joined #silverstripe
880: [15:07:21] <Aefroze> hi
881: [15:07:45] <Aefroze> I'm trying to install silverstripe using web
882: [15:07:57] <Aefroze> i've uploaded the files on my hosting space
883: [15:08:52] <Aefroze> what to write in database server? localhost doesn't work
884: [15:11:09] <micmania1> Aefroze: localhost should work. It depends on your setup. Try 127.0.0.1
885: [15:13:49] <ivoba> is this a local installation or on shared hosting?
886: [15:19:39] <desperatre> I have lost my sidebar
887: [15:19:45] <desperatre> I am using the default includes
888: [15:19:50] <desperatre> have not edited ti in any way
889: [15:20:01] <desperatre> created allowed children
890: [15:20:55] * MrGuits has joined #silverstripe
891: [15:21:27] * ivoba quit (Ping timeout: 252 seconds)
892: [15:21:40] <desperatre> when i do a flush I see this:
893: [15:21:41] <desperatre> Warning: Invalid argument supplied for foreach() in D:\Software\WAMP\www\assembly\framework\core\manifest\ConfigManifest.php on line 655
894: [15:22:10] <desperatre> # Time Memory Function Location 1 0.0012 153168 {main}( ) ..\index.php:0 2 0.0025 183296 require_once( 'D:\Software\WAMP\www\assembly\framework\main.php' ) ..\index.php:66 3 0.0133 242840 ErrorControlChain->execute( ) ..\main.php:167 4 0.0133 243472 ErrorControlChain->step( ) ..\ErrorControlChain.php:117 5 0.0133 243528 call_user_func ( ) ..\ErrorControlChain.php:125 6 0.0133 243544 {closure:D:\Software\WAMP\www\assembly\fram
895: [15:22:38] * Guits quit (Ping timeout: 240 seconds)
896: [15:25:53] <kinglozzer> Terrible news... I now have a phone at my desk... people can call me D:
897: [15:28:33] <micmania1> urgh! Isn't that someone elses job?
898: [15:32:56] <kinglozzer> Exactly :(
899: [15:33:16] <kinglozzer> To be fair, 99% of the time it'll be someone calling to ask for someone other than me so it's still all good :P
900: [15:34:47] <desperatre> any idea what might be making me lose my sidebar
901: [15:35:02] <desperatre> <% if $Menu(2) %>
902: [15:35:33] <desperatre> my home page has children
903: [15:36:48] <kinglozzer> desperatre: <% with Page(home) %><% if Menu(2) %>... etc
904: [15:37:53] <desperatre> if i remove the <% with Page(home) %> code which you gave me for the body I get the menus back!
905: [15:38:08] * Aefroze quit (Ping timeout: 245 seconds)
906: [15:38:28] * ivoba has joined #silverstripe
907: [15:39:00] <ivoba> when i unlink the relation the linked page is detached in root level
908: [15:48:58] <catcher> Filtering an SS_Report does not reset the url params, am I missing something?
909: [15:49:26] <catcher> It ends up that there's no way to remove filters on subsequent requests.
910: [15:51:22] <desperatre> kinglozzer: why would adding <% with Page(home) %>....<% end_with %> around my body cause the side bar menu on my home page to disappear
911: [15:51:29] <desperatre> if I remove it I get the menu back
912: [15:52:54] * ivoba quit (Quit: Leaving)
913: [16:01:30] <desperatre> in fact kinglozzer, the with Page(home) thing kills all my sidebar menus site wide
914: [16:02:49] <kinglozzer> desperatre: Probably because 'home' doesn't have any child pages
915: [16:03:12] <desperatre> kinglozzer: I fixed it by putting the SS tags within the body tags
916: [16:03:34] <desperatre> <body <% with Page(home) %>style="background-image:url('$BackgroundImage.Filename');background-repeat: no-repeat;"<% end_with %>>
917: [16:03:52] <desperatre> I had the taas outside of the body tag which caused issues
918: [16:07:21] <micmania1> I hate old projects that don't use composer. I'm not sure ow my life functioned without it.
919: [16:07:41] <micmania1> git submodules are the devil
920: [16:09:02] <kinglozzer> True ^^
921: [16:09:07] <catcher> Any way to specify the fields for CSV export on an SS_Report?
922: [16:09:36] <kinglozzer> I'm now trying to set up Capistrano deploy scripts, ruby is also hell :(
923: [16:11:30] <micmania1> Checkout bamboo
924: [16:11:42] <micmania1> CI server that can deploy your code
925: [16:11:51] <micmania1> $10 for 5 users.
926: [16:12:08] <micmania1> We don't use it to deploy yet, but apparently it can...
927: [16:24:23] * k_fish has joined #silverstripe
928: [16:24:59] <kinglozzer> Yeah we looked at bamboo, but thought a full CI server is overkill for what we need
929: [16:25:37] <kinglozzer> Ties in nicely with bitbucket though
930: [16:27:11] * ARNHOE quit ()
931: [16:48:34] * babak quit (Quit: Connection closed for inactivity)
932: [16:52:24] <desperatre> how do i trim a variable in a template
933: [16:52:26] <desperatre> a string..
934: [16:54:07] <desperatre> I got it
935: [16:54:07] <desperatre> $Name.LimitCharacters(30)
936: [17:19:38] * kinglozzer quit ()
937: [17:21:34] * Shrike_Finland has joined #silverstripe
938: [17:25:52] * wmk quit (Quit: nice to meet you ;))
939: [17:30:22] <desperatre> guys I have a question regarding my data model.....
940: [17:34:20] <desperatre> I have a galleryAlbum (page) has_many GalleryImage (dataObject) has_one Image
941: [17:34:58] <desperatre> this structure gives me a gallery page but also the structure works for my home page (just like the gallery it is a bunch of text with an associated gallery)
942: [17:35:23] <desperatre> BUT..... my gallery page and my homepage have different layouts so I want to use different layouts
943: [17:35:35] <desperatre> different templates that is
944: [17:36:37] <desperatre> how can I create different pages which use the same type
945: [17:37:04] <desperatre> of course I could just repliacate the models for galleries and name it HomePage...
946: [17:37:13] <desperatre> but that isn't very efficient
947: [17:41:31] <micmania1> desperatre: checkout DataExtension
948: [17:41:42] <micmania1> http://doc.silverstripe.org/framework/en/reference/dataextension
949: [17:42:10] <micmania1> Add your functionality there, then apply those extensions to your pages
950: [17:43:15] <desperatre> is this simple to implement
951: [17:43:21] <desperatre> I'm a bit of a newbie
952: [17:43:34] <desperatre> fighting to meet a deadline
953: [17:43:44] <desperatre> hope I won't have to rebuild my model completely
954: [17:43:50] <micmania1> Pretty simple when you get your head around it
955: [17:44:27] <micmania1> You just need to pull out your code from your model, and add it to the DataExtension
956: [17:45:07] <micmania1> Any reference to $this in the DataExtension would then become $this->owner which refers back to the DataObject you're applying the extension to
957: [17:46:09] <desperatre> i can't process it fully... will my previous dataObjects need to be DataExtensions?
958: [17:48:05] <micmania1> no
959: [17:48:09] * Shrike_Finland quit (Quit: Leaving.)
960: [17:48:40] <micmania1> a DataExtension is something you can 'apply' to any DataObject which basically extends its functionality
961: [17:48:48] <micmania1> so you can add new db fields, has_one's etc...
962: [17:49:01] <desperatre> i'm not sure this is what I need
963: [17:49:10] <desperatre> does it apply to my case?
964: [17:49:23] <micmania1> By creating it as a DataExtension, it means you can apply the same code to multiple classes without directly extending in php.
965: [17:50:16] * Shrike_Finland has joined #silverstripe
966: [17:50:21] <desperatre> so my GalleryImage which was a DataObject becomes a DataExtension?
967: [17:52:00] <micmania1> http://pastebin.com/TZcuH7Kk - Like this
968: [17:52:34] <micmania1> If you have GalleryImage between your image and a DataObject, then your has_many would be GalleryImage instead of Image.
969: [17:54:34] * basso_ quit (Quit: basso_)
970: [17:54:42] <desperatre> so is it an intermediacy between your data object
971: [17:54:44] <micmania1> Taking it a step further: http://pastebin.com/rEK2V7mC
972: [17:55:06] <micmania1> You can call methods on DataObject that only exist in the DataExtension
973: [17:56:37] <desperatre> can i paste my data model
974: [17:57:07] <micmania1> More or less, but remember when you refer to $this in your DataObject you're referring to the DataObject class.
975: [17:57:24] <micmania1> When you refer to $this in your DataExtension you're referring to the DataExtension.
976: [17:57:43] <micmania1> So whenever you need to refer to your DataObject from your DataExtension, you need to use $this->owner.
977: [17:58:43] <desperatre> http://paste2.org/8sE7vHCG
978: [17:59:39] <desperatre> if i apply the dataextension is my site going to fall apart?
979: [18:00:29] <micmania1> You just need to pull out the parts from GalleryAlbum to create your DataExtension
980: [18:00:38] <micmania1> If you do that correctly then it won't
981: [18:01:12] <micmania1> see the implementation example in the docs
982: [18:04:07] <desperatre> this is a tough
983: [18:04:12] * Shrike_Finland quit (Quit: Leaving.)
984: [18:14:11] * Shrike_Finland has joined #silverstripe
985: [18:24:33] <desperatre> micmania1: here is my paste... http://paste2.org/bpsmhCP3
986: [18:24:46] <desperatre> my Galleryalbum pages now won't open the cms
987: [18:25:23] <micmania1> You have GalleryImage on your extendsion AND DataObject
988: [18:25:27] <desperatre> No has_one found on class 'GalleryImage', the has_many relation from 'GalleryAlbum' to 'GalleryImage' requires a has_one on 'GalleryImage'
989: [18:25:37] <micmania1> also, you need to build your database
990: [18:25:56] <desperatre> i did a dev build
991: [18:25:58] <micmania1> as well as that, you need to move your code out of getCMSFields too and add it to updateCMSFields in the DataExtension
992: [18:26:31] <micmania1> Basically, make your DataObject totally unaware of your DataExtension (except for statis $extensions)
993: [18:26:40] <micmania1> static*
994: [18:27:48] * Drkevlar has joined #silverstripe
995: [18:30:04] * danfo quit (Quit: danfo)
996: [18:30:26] <Drkevlar> Hey all, new to SS cms, I'm trying to install the newsletter addon. I installed all the depedencies, but it keep getting a sql error: unknown column SiteConfig.GlobalUnsubscribe
997: [18:31:16] <micmania1> Drkevlar: you need to run a dev build
998: [18:31:24] <micmania1> go to /dev/build?flush=1
999: [18:31:31] <desperatre> i'm still getting relational errors
1000: [18:31:31] <desperatre> http://paste2.org/dG0FWyEy
1001: [18:33:03] <micmania1> Line 53-60 should be in your extension as it no longer exists in that class.
1002: [18:34:37] * Shrike_Finland quit (Quit: Leaving.)
1003: [18:35:52] <micmania1> also, GalleryImage should have a has_one link back to each class that your extension is applied to
1004: [18:36:00] <micmania1> I have to shoot off now.
1005: [18:36:14] <micmania1> Good luck with it.
1006: [18:36:54] <Drkevlar> micmania1: Thanks! Is this command documented somewhere ?
1007: [18:37:45] * gelignite has joined #silverstripe
1008: [18:39:59] <Drkevlar> Heh, ups :-P
1009: [18:40:45] * SphereSilverNL has joined #silverstripe
1010: [18:42:11] <SphereSilverNL> Hey guys, I get an "template 'Form.ss' not found" error
1011: [18:42:32] <SphereSilverNL> But not on my dev machine, only on live. Any clue? the Form.ss file indeed doesn't exist
1012: [18:43:35] <SphereSilverNL> Nevermind....
1013: [18:43:57] <SphereSilverNL> the entire Templates dir from the framework wasn't pulled from git somehow
1014: [18:44:18] <catcher> SphereSilverNL, minor detail :)
1015: [18:44:34] <SphereSilverNL> Slightly useful detail :P
1016: [18:44:59] * muskie9 has joined #silverstripe
1017: [18:47:14] * FrozenFire quit (Read error: Connection reset by peer)
1018: [18:48:03] * FrozenFire has joined #silverstripe
1019: [18:48:13] * danfo has joined #silverstripe
1020: [18:54:54] <SphereSilverNL> By the way, wouldn't it make more sense to have the Form.ss in the forms subirectory instead of in includes?
1021: [18:57:27] <desperatre> can anyone see why my 'Images' tab doesn't appear
1022: [18:57:50] <desperatre> I am setting it up in the GalleryImageExtension
1023: [18:59:39] <desperatre> by extension it sohlud appear in the CMS when I set up a GalleryAlbum page
1024: [19:02:25] <desperatre> anyone familiar with Warning: Invalid argument supplied for foreach()
1025: [19:02:39] <desperatre> \framework\core\manifest\ConfigManifest.php on line 655
1026: [19:02:50] <desperatre> Gooogle search suggest an empty .yml file
1027: [19:03:07] <desperatre> I deleted any empty 0 byte .yml files but still have the problem
1028: [19:08:37] <Stomach> a yml file with no directives can cause that as well
1029: [19:09:04] <desperatre> I don't see the error when I take the site out of dev mode
1030: [19:09:12] <desperatre> it happens when I flush in dev mode
1031: [19:09:31] <Stomach> yeah, live mode doesn't show errors to the user
1032: [19:09:43] <desperatre> here is my pastefor my tab problem
1033: [19:09:44] <Stomach> so you have an error in one of your yml files somewhere
1034: [19:09:44] <desperatre> http://paste2.org/e0NzI8vC
1035: [19:09:54] <desperatre> ok I'll take a look
1036: [19:10:21] <desperatre> in my paste I am trying to get the tab which I have setup in my data extension to show as an option on my GalleryAlbum page
1037: [19:10:26] <desperatre> but it doesn't show up
1038: [19:11:02] <Stomach> why not just put the stuff from the extension onto the galleryalbum page?
1039: [19:11:24] <Stomach> past the yml you are using to apply the extension to the page anyway?
1040: [19:13:13] <desperatre> I wanted it to be a tab on the GalleryAlbum page
1041: [19:13:36] <desperatre> i don't thnk the yml issue is related to the missing tab
1042: [19:13:42] <desperatre> two issues
1043: [19:13:57] <Stomach> no
1044: [19:14:18] <Stomach> if the extension isn't getting applied the tab wont show up
1045: [19:14:52] <Stomach> but you don't need an extension to do this
1046: [19:15:11] <Stomach> just put the code onto your GalleryAlbum page - its already got quotes, so why not images too?
1047: [19:15:26] <Stomach> ah i see you have defined the extension in the GalleryAlbum
1048: [19:15:41] <Stomach> but then you have code in GalleryAlbum which relates to things that are within the extension
1049: [19:15:50] <Stomach> so why bother with the extension ?
1050: [19:16:08] <desperatre> Let me explain what I am trying to do....
1051: [19:16:39] <desperatre> I built a GalleryAlbum Page has_many GalleryImage (dataobject) has_one Image
1052: [19:16:56] <desperatre> then I realised that my HomePage requires the same data model
1053: [19:17:05] <desperatre> ie a page with a gallery
1054: [19:17:15] * muskie9 quit (Read error: Connection reset by peer)
1055: [19:17:23] <desperatre> but my gallery and home page need to have their own templates as there layout differs
1056: [19:17:42] * muskie9 has joined #silverstripe
1057: [19:17:44] <Stomach> okay, cool
1058: [19:17:49] <desperatre> so i want two pages that use the same model with thier own templates
1059: [19:18:01] <desperatre> so someone suggested dataextensiion?
1060: [19:18:22] <Stomach> yeah, that would work
1061: [19:18:59] <muskie9> desperatre: updateCMSFields(FieldList $fields) instead of getCMSFields in your DataExtension
1062: [19:19:00] <Stomach> public function getCMSFields() { should be public function updateCMSFields(FieldList $fields) {
1063: [19:19:09] <Stomach> in the ImageExtension
1064: [19:19:29] <Stomach> also, you dont need to do parent::getFields() or return $fields in that function
1065: [19:19:31] <desperatre> ahh
1066: [19:20:12] <Stomach> Your gallery image object should $has_one back to 'Page' so the $has_many on the extension will work
1067: [19:20:50] <Stomach> also, like 98 should be $this->owner->GalleryImage()
1068: [19:23:31] <desperatre> wow this is challenging
1069: [19:23:36] * antmas has joined #silverstripe
1070: [19:24:35] <antmas> morning all
1071: [19:25:13] <desperatre> like this?
1072: [19:25:13] <desperatre> http://paste2.org/XKpf0aKn
1073: [19:28:54] <desperatre> Fatal error: Call to a member function addFieldToTab() on a non-object
1074: [19:30:07] <Stomach> remove line 11 and 23
1075: [19:30:15] <Stomach> hey antmas
1076: [19:32:59] * an_Eskimo has joined #silverstripe
1077: [19:33:08] * antmas quit (Ping timeout: 245 seconds)
1078: [19:33:54] <desperatre> now i get a white screen with this http://paste2.org/BB4BGELU
1079: [19:34:07] * Pyromanik has joined #silverstripe
1080: [19:34:33] <Stomach> dev/build flush=all ? :D
1081: [19:34:35] <muskie9> desperatre: where are you setting your $config
1082: [19:34:59] <Stomach> and that ^
1083: [19:35:28] <desperatre> sorry guys.... I don't know what the config is
1084: [19:35:38] <Pyromanik> config.php config.yml
1085: [19:35:48] <muskie9> http://paste2.org/zKXUWxXb
1086: [19:35:55] <Stomach> nope, not that Pyromanik :P
1087: [19:36:02] <desperatre> I have a config file in mysite
1088: [19:36:33] <Pyromanik> I don't even know what the fuck this is.
1089: [19:36:35] <Stomach> use what muskie9 pasted
1090: [19:37:09] <Pyromanik> muskie9: doing it right.
1091: [19:37:20] <muskie9> desperatre: http://doc.silverstripe.org/framework/en/reference/grid-field#configuration
1092: [19:37:42] * mobiusnz1 has joined #silverstripe
1093: [19:38:40] <desperatre> muskie9: I have to pop out I will be back in 10 mins and i'll test that paste
1094: [19:38:42] <desperatre> thanks
1095: [19:38:49] <muskie9> sure thing
1096: [19:40:25] * mobiusnz quit (Ping timeout: 240 seconds)
1097: [19:41:04] * zippy____ has joined #silverstripe
1098: [19:41:04] * mobiusnz has joined #silverstripe
1099: [19:42:28] <zippy____> morning
1100: [19:42:29] <Drkevlar> I would like to change the environment type in ss cms, is there a default file for this, or can i create my own?
1101: [19:42:32] * zippy____ is now known as antmas
1102: [19:42:38] <antmas> oh yus! :) the power
1103: [19:42:49] <simon_w> Drkevlar, _config.php
1104: [19:42:53] <simon_w> Usually in my site
1105: [19:43:37] * antmas is now known as zippy__
1106: [19:43:45] <catcher> Is there any way to control which fields are dumped by CSV export in an SS_Report? Or do I just have to temporarily hijack summary_fields?
1107: [19:44:16] <catcher> I realize it's probably a gridfield csv export question rather than ss_report.
1108: [19:44:22] <Drkevlar> The documentation looks like it's in yaml format, bit confused here: http://doc.silverstripe.com/framework/en/topics/debugging
1109: [19:44:29] * mobiusnz1 quit (Ping timeout: 240 seconds)
1110: [19:44:51] <Stomach> you can do that in the yml config
1111: [19:45:18] <Drkevlar> So i can simply add to mysite yml config ?
1112: [19:45:21] <Ryan-Toast> Morning, home dogs.
1113: [19:45:28] <Stomach> Drkevlar, yep
1114: [19:45:29] <Stomach> hey Ryan
1115: [19:45:32] <Drkevlar> Thanks
1116: [19:45:36] <muskie9> would this work for Drkevlar: Config::inst()->update('Director', 'environment', 'dev')
1117: [19:46:08] <Stomach> yeah, but seems like a bad idea
1118: [19:47:14] <Drkevlar> I'd like to stick to the documented approach
1119: [19:47:53] <muskie9> I tend to use this: http://doc.silverstripe.com/framework/en/topics/environment-management
1120: [19:48:03] <muskie9> define('SS_ENVIRONMENT_TYPE', 'dev/test/live');
1121: [19:50:38] <Drkevlar> muskie9: Thanks, good read
1122: [19:54:29] <Drkevlar> I had a small doubt when i tried ss cms, apache crashed on install with a minor issue, but i'm really impressed so far
1123: [19:56:23] <Drkevlar> Newsletter has some errors I havent figured out, but overall it seems really flexible
1124: [19:57:34] <zippy__> Drkevlar: It is a nice system - sometimes it will make you rage :) but as with anything there is a bit to learn. From now for the next 8 hours~ is when quite a few people are on IRC so a good time to pop in
1125: [19:57:54] <zippy__> Drkevlar: and simon_w is just the wikipedia of silverstripe...
1126: [19:58:08] <simon_w> Shhh, I'm not editable :p
1127: [19:59:13] * Pyromanik quit (Ping timeout: 240 seconds)
1128: [20:03:07] * Pyromanik has joined #silverstripe
1129: [20:03:40] <desperatre> muskie9: I'm back, your pastie also gives me an erorr in my cms
1130: [20:03:42] <desperatre> http://paste2.org/8BKgjPmY
1131: [20:04:03] <desperatre> the dataextension is at line 89
1132: [20:04:19] <desperatre> Error at line 1563 of D:\Software\WAMP\www\assembly\framework\model\DataObject.php
1133: [20:05:06] <terryapodaca> why is there a Chart in the latest download of SS?
1134: [20:05:09] <terryapodaca> in the root
1135: [20:06:17] <muskie9> desperatre: looks like in your latest paste you're declaring the has_many in GalleryAlbum and in GalleryImageExtension, that might be causing it
1136: [20:06:37] * danfo quit (Quit: danfo)
1137: [20:07:03] <desperatre> I just saw this Uncaught Exception: No has_one found on class 'GalleryImage', the has_many relation from 'GalleryAlbum' to 'GalleryImage' requires a has_one on 'GalleryImage'
1138: [20:07:30] <muskie9> also you have a belongs_many_many in GalleryImage but no many_many in GalleryAlbum
1139: [20:07:33] * UncleCheese has joined #silverstripe
1140: [20:07:49] * antmas has joined #silverstripe
1141: [20:08:46] <desperatre> my code is just a heap of mess isn't it
1142: [20:09:40] <muskie9> are you wanting the GalleryImage to be shared on many GalleryAlbums or GalleryAlbums have many GalleryImags that are unique to just that album
1143: [20:10:42] <desperatre> A GalleryImage can belong to many Galleries
1144: [20:12:08] <desperatre> so the former option
1145: [20:13:09] <catcher> the dir base for my images is stored incorrectly in partial caches. How could that happen?
1146: [20:13:35] <muskie9> desperatre: it would be more along the lines of this I think: http://paste2.org/HtOEfJvj
1147: [20:14:14] <muskie9> line 88 should be GalleryImages not GalleryImage
1148: [20:16:36] * danfo has joined #silverstripe
1149: [20:17:38] <desperatre> it still doesn't work
1150: [20:17:50] <desperatre> i think I'm going to scrap this apporach
1151: [20:18:03] <desperatre> tbh i think the dataextension is a little byond my level
1152: [20:18:19] <desperatre> if I am honnest it is confuing me no end
1153: [20:18:34] <Ryan-Toast> desperatre: Best way to learn.
1154: [20:18:40] <zippy__> desperatre: what is the problem your having?
1155: [20:19:07] <desperatre> the issue is that this is my work and I am fearful of handing of something I can't maintain
1156: [20:19:26] <desperatre> I'm just hitting a brick wall
1157: [20:19:39] <desperatre> Warning: Invalid argument supplied for foreach() in D:\Software\WAMP\www\assembly\framework\core\manifest\ConfigManifest.php on line 655
1158: [20:19:51] <desperatre> that's what I get when i compile
1159: [20:19:54] <Ryan-Toast> desperatre: Did you do the silverstripe tutorials when you started? They cover most of the issues you're having.
1160: [20:20:08] <desperatre> yes I have done them
1161: [20:20:50] <desperatre> this is my paste
1162: [20:20:52] <desperatre> http://paste2.org/HtOEfJvj
1163: [20:21:14] <desperatre> when i click on a GalleryAlbum in the cms I get a white screen
1164: [20:21:41] <Ryan-Toast> Look at your network tab.
1165: [20:22:05] <desperatre> Error at line 14 of D:\Software\WAMP\www\assembly\framework\control\injector\InjectionCreator.php
1166: [20:22:19] <Ryan-Toast> Look at the stack trace.
1167: [20:26:28] <zippy__> desperatre: sorted?
1168: [20:26:49] <desperatre> sadly not my site is broken
1169: [20:27:02] <desperatre> I'm restoring an older version to retrace my steps
1170: [20:27:06] * ss23 quit (Ping timeout: 264 seconds)
1171: [20:28:08] <Ryan-Toast> desperatre: Just look at the stack trace to find out where the code is breaking.
1172: [20:28:31] <desperatre> what is a stack trace?
1173: [20:29:07] * [1]Pyromanik has joined #silverstripe
1174: [20:29:25] * ss23 has joined #silverstripe
1175: [20:29:36] * UndefinedOffset quit (Quit: Leaving.)
1176: [20:29:40] <desperatre> I can't process this after 12 hours coding
1177: [20:29:42] <desperatre> No has_one found on class 'GalleryImage', the has_many relation from 'GalleryAlbum' to 'GalleryImage' requires a has_one on 'GalleryImage'
1178: [20:29:56] * danfo quit (Quit: danfo)
1179: [20:30:18] * Pyromanik quit (Ping timeout: 240 seconds)
1180: [20:30:20] <Ryan-Toast> GalleryImage $has_one = array('GalleryAlbumn' => 'Page')
1181: [20:30:34] <Ryan-Toast> is GalleryAlbum extending page?
1182: [20:31:04] * [1]Pyromanik is now known as Pyromanik
1183: [20:31:25] <desperatre> yes GalleryAlbum extends page
1184: [20:31:49] <zippy__> desperatre: In your GalleryImage you called it Album, not GalleryAlbum
1185: [20:31:56] <muskie9> deperatre: that's probably it, try commenting out that line out since you're using a many_many for the relation
1186: [20:32:06] <Ryan-Toast> then it should be private static $has_many = array('GalleryImages' => 'GalleryImage')
1187: [20:32:33] <Ryan-Toast> and on your GalleryImage data object static $has_one = array ('Page' => 'Page')
1188: [20:32:49] <Ryan-Toast> then run a dev/build
1189: [20:33:53] * ss23 quit (Ping timeout: 246 seconds)
1190: [20:34:49] * kinglozzer has joined #silverstripe
1191: [20:34:58] <kinglozzer> Evenin'
1192: [20:35:04] <zippy__> kinglozzer: hi
1193: [20:35:09] <Ryan-Toast> kinglozzer: Hi
1194: [20:38:53] <antmas> kinglozzer: hey
1195: [20:38:56] <UncleCheese> Facebook reinvented PHP. Yawn. http://hacklang.org/
1196: [20:39:24] <kinglozzer> UncleCheese: Don't let simon_w hear you say that :P
1197: [20:39:57] <UncleCheese> i've been eagerly anticipating simon_w 's opinion on this since early this morning
1198: [20:39:57] <Ryan-Toast> simon_w's asleep, post distain for HHVM!
1199: [20:40:14] <UncleCheese> "This looks like it might be useful."
1200: [20:40:15] <UncleCheese> "Nope."
1201: [20:40:30] <simon_w> http://coding.simon.geek.nz/2014/03/21/facebooks-hack-for-php/
1202: [20:40:49] <simon_w> Available since just after Hack got released, during sleep times
1203: [20:41:27] <antmas> I wish they'd stop calling it 'hack'
1204: [20:41:35] <simon_w> Too bad :p
1205: [20:42:33] <simon_w> I'm allowed to talk about Hack now without worrying about breaking the NDA!
1206: [20:42:49] <Ryan-Toast> simon_w: I thought maybe the misalignment of the logo was a mistake, but it's BY DESIGN! http://wp-themes.com/syntax/?TB_iframe=true&width=600&height=400
1207: [20:42:50] <simon_w> I also get to go to the Hack party at Facebook
1208: [20:43:12] <spronk> hack is awesome
1209: [20:43:13] <simon_w> Ryan-Toast, yeah. It was even worse before I made the middle column wider
1210: [20:43:32] <Ryan-Toast> simon_w: Pastebin me your CSS.
1211: [20:44:33] <simon_w> Ryan-Toast, http://coding.simon.geek.nz/content/themes/syntax/style.css
1212: [20:44:40] <antmas> it is awesome
1213: [20:44:48] <antmas> but Hack is a retarded name
1214: [20:44:52] <simon_w> Yes, Hack is awesome
1215: [20:45:44] <antmas> simon_w: it's in beta right?
1216: [20:45:58] <simon_w> No, Hack's stable
1217: [20:46:26] <antmas> simon_w: http://hacklang.org/install/
1218: [20:46:32] <antmas> the first line says otherwise?
1219: [20:47:03] <simon_w> antmas, huh, maybe there's waiting until 2.5.0 ships before calling it stable
1220: [20:47:26] <simon_w> *they're
1221: [20:47:35] * micmania1 has joined #silverstripe
1222: [20:47:37] <antmas> prolly
1223: [20:47:55] <antmas> zippy__: did the person you know apply for that roll yet?
1224: [20:47:59] <antmas> it will go pretty quick
1225: [20:48:38] <kinglozzer> Hey micmania1
1226: [20:48:43] <micmania1> areet
1227: [20:49:10] <micmania1> you're on late?
1228: [20:52:34] <kinglozzer> Yeah there's nothin on TV :P
1229: [20:53:06] <Ryan-Toast> simon_w: try this http://pastebin.com/H5CE5MXc
1230: [20:56:05] <zippy__> antmas: no, he pussied out. Thanks though
1231: [20:57:30] <antmas> zippy__: np - tis a shame - would be a fairly cruisy job really
1232: [20:59:31] <simon_w> Ryan-Toast, thanks. Trying to get wordpress/cloudflare to update the file now
1233: [21:01:30] <desperatre> ok I am going to strip my site right back and drop in my new classes one by one
1234: [21:01:45] <desperatre> for some reason I am getting an invalid loop error when I try to flush
1235: [21:01:51] <desperatre> so something is screwed up
1236: [21:01:56] <desperatre> which can't be helping matters
1237: [21:02:53] <simon_w> Ryan-Toast, there you go!
1238: [21:07:33] * gelignite quit (Quit: http://bit.ly/nkczDT)
1239: [21:08:40] <Ryan-Toast> simon_w: Missedf an issue with iPad: http://pastebin.com/70kjn5Wc
1240: [21:09:08] <Ryan-Toast> Also, use h2's in your content. You shouldn't have more than one h1 on any given page.
1241: [21:09:23] <antmas> Ryan-Toast: THIS x100
1242: [21:11:09] <simon_w> Ryan-Toast, huh, thought I was. Fixed
1243: [21:12:02] <antmas> simon_w: aaaaaand instantly better :D
1244: [21:12:52] <Ryan-Toast> simon_w: you'll need to add a margin to your content area on mobile too. WHO MADE THIS THEME?
1245: [21:13:02] * danfo has joined #silverstripe
1246: [21:13:12] <simon_w> Ryan-Toast, I dunno. But the margin used to be massive, so I took it out :p
1247: [21:14:03] <Ryan-Toast> Give .content-area a 15px gutter, as a default.
1248: [21:14:31] <Ryan-Toast> margin: 0 15px;
1249: [21:15:41] <simon_w> Hang on, switching on development mode so I can actually test this stuff
1250: [21:17:10] <pippy> is gmail down for anyone else?
1251: [21:17:34] <antmas> pippy: in what way? looks fine to me
1252: [21:17:55] <pippy> probally just my network
1253: [21:17:59] <pippy> the connections are timing out
1254: [21:18:06] <pippy> right when i have to send documents to my lawyer
1255: [21:18:15] <zippy__> pippy: seems ok… looks like the style has changed a bit thou (maybe there is an issue)
1256: [21:18:41] <simon_w> Ryan-Toast, that broke it! :p
1257: [21:19:03] <pippy> they're probally doing some work on it
1258: [21:19:17] <pippy> time for a hot chocolate
1259: [21:19:21] <antmas> float left!
1260: [21:19:22] <antmas> :P
1261: [21:19:25] <Ryan-Toast> simon_w: give the .site-main the margin. The .content-area is being centered.
1262: [21:19:42] <simon_w> Ryan-Toast, I stuck the 15px on the padding instead
1263: [21:19:48] <Ryan-Toast> that works too.
1264: [21:20:05] <simon_w> Does it appease your design sense now?
1265: [21:20:17] <Ryan-Toast> No, but it's a start :)
1266: [21:20:36] <simon_w> Haha
1267: [21:23:14] <Ryan-Toast> Are functions defined in a class out of scope if you're using <% with %> ?
1268: [21:23:24] <spronk> ugh
1269: [21:23:25] <spronk> that whole
1270: [21:23:28] <spronk> only 1 H1 thing
1271: [21:23:32] <spronk> is so dumb
1272: [21:23:41] <simon_w> Ryan-Toast, if they're on the controller, they're out of scope
1273: [21:23:43] <Ryan-Toast> spronk: Makes perfect sense actuaklly.
1274: [21:23:53] <Ryan-Toast> simon_w: Aww, kay.
1275: [21:23:55] <spronk> neg
1276: [21:23:58] <spronk> that's what title is for
1277: [21:24:19] <Ryan-Toast> spronk: Your h1 should contain more content than your title.
1278: [21:24:31] <Ryan-Toast> but they should be related.
1279: [21:24:35] <spronk> i thought html5 removed these esoteric recommendations!?
1280: [21:24:54] <Ryan-Toast> It's semantics, not a recommendation.
1281: [21:25:10] <spronk> yes
1282: [21:25:12] <Ryan-Toast> you can use h1's in a group.
1283: [21:25:15] <spronk> i thought html5 removed these semantics
1284: [21:25:16] <Ryan-Toast> hgroup**
1285: [21:25:27] <Ryan-Toast> but just plain content you shouldn't.
1286: [21:25:41] <spronk> noooo
1287: [21:25:44] <Ryan-Toast> If you want to get marked as spam by search engines.
1288: [21:25:50] <spronk> nooo
1289: [21:25:51] <Ryan-Toast> then go ahead :)
1290: [21:25:55] <spronk> this is propagating lies
1291: [21:26:24] <antmas> spronk: it does get you marked though, however stupid it may seem
1292: [21:26:25] <spronk> http://www.youtube.com/watch?v=GIn5qJKU8VM
1293: [21:26:34] <spronk> GOGEL DISAGREE!
1294: [21:26:36] <Ryan-Toast> h1: This is my page h2: This is a subject of my page h3: Subject of a subject.
1295: [21:27:16] <spronk> additionally
1296: [21:27:25] <spronk> sections and articles should begin with h1s inside them in html5
1297: [21:27:42] <Ryan-Toast> as long as it's in an article tag
1298: [21:27:45] <spronk> maybe if you're living in the old days of xhtml1.1 strict, the h1 semantics come into play
1299: [21:28:53] <spronk> semantics around h1 in html5 basically say it's not a title
1300: [21:28:59] <antmas> Ryan-Toast: having it inside <article> negates the idea that to only have 1 h1 per page
1301: [21:29:45] <Ryan-Toast> antmas: I'm talking about things like a holder page where you would have a grid or list of articles to link to a page, you would use h1's there.
1302: [21:30:05] <antmas> Ryan-Toast: so, like a blog/news feed?
1303: [21:30:10] <Ryan-Toast> ye
1304: [21:30:18] <spronk> hmm
1305: [21:30:20] <antmas> definitely
1306: [21:30:28] <spronk> depends on the rest of the content, IMO
1307: [21:30:34] <Ryan-Toast> but the single page, I wouldn't have more than one.
1308: [21:30:37] <antmas> but on the post itself, should only need 1 h1
1309: [21:30:42] <antmas> ^^
1310: [21:30:54] <spronk> if it's just blog title, blog post, blog title, blog post
1311: [21:30:59] <spronk> with nothing else on the page but maybe some footer matter
1312: [21:31:01] <spronk> i'd consider using h1s
1313: [21:31:27] <desperatre> I'm back.... so this is what I did.... a clean install.... rebuild, flush etc,...... this is my current paste without any data extension
1314: [21:31:29] <desperatre> http://paste2.org/8BsztsX7
1315: [21:31:48] <desperatre> does is the logic sound.... when i rebuild and flush I don't get any errors
1316: [21:31:48] <spronk> but in cases where the page's title is actually relvant to the person looking at the page, sure, stick that in a single h1 and go down to other levels
1317: [21:32:03] <spronk> but semantically you should be grouping that into articles and sections anyway
1318: [21:32:34] <spronk> only case where right now i'd consider it potentially bad is for accessibility with shitty screen readers
1319: [21:33:03] <muskie9> desperatre: add $belongs_many_many = array(
1320: [21:33:35] <antmas> no ss23 today?
1321: [21:33:41] <muskie9> sorry, $belongs_many_many = array('GalleryAlbums' => 'GalleryAlbum')); to Quote class
1322: [21:34:16] <spronk> ss23 has been deleted from the matrix
1323: [21:34:24] <spronk> reason: for being a virus
1324: [21:34:29] <zippy__> antmas: hiding fro mme
1325: [21:35:37] <zippy__> desperatre: not sure I see the need for the function on line 54.
1326: [21:36:23] <desperatre> in my template I display the contents of the gallery so i wrote a functiion
1327: [21:36:27] <desperatre> is there a short cut?
1328: [21:36:59] * ss23 has joined #silverstripe
1329: [21:37:13] <antmas> zippy__: lol
1330: [21:37:20] <antmas> ss23: there he is
1331: [21:37:21] <antmas> :D
1332: [21:37:23] * WheatThins has joined #silverstripe
1333: [21:37:46] <zippy__> desperatre: You should just be able to call $GalleryImage in the template, eg <% loop $GalleryImage %>
1334: [21:37:47] <WheatThins> How do I locate the raw .html file of a page I've created via CMS
1335: [21:37:48] <desperatre> muskie9: quotes only belongs to one page... which will be my home page
1336: [21:38:03] * SphereSilverNL quit (Remote host closed the connection)
1337: [21:38:04] <desperatre> but I won't have that in place til I get the data extension part functioning
1338: [21:38:19] <zippy__> desperatre: why?
1339: [21:38:28] <desperatre> zippy__: I knew there would be a n easier way of getting the gallery
1340: [21:38:57] <antmas> WheatThins there isn't really a raw html file for a page
1341: [21:39:22] <WheatThins> antmas: then what is there for me to edit?
1342: [21:39:36] <WheatThins> I'm trying to add a collapseable list, but can't seem to find where to do it
1343: [21:39:45] <desperatre> zippy__: this data modelis for a gallery page. When I cam eto make my home page I realised that the homepage also needs a gallery attached to it
1344: [21:40:00] <antmas> WheatThins: well, a page will have a template (.ss file)
1345: [21:40:06] <desperatre> so I have two tpyes of pages... galleries and a homepage
1346: [21:40:16] <desperatre> same structure but different layout
1347: [21:40:29] <desperatre> so two templates needed
1348: [21:40:39] <desperatre> so I am gonig to use dataextension
1349: [21:40:53] <antmas> WheatThins: Pages in mysite/code will all use Page.ss (template) unless otherwise specified
1350: [21:41:45] <WheatThins> antmas: What I'm attempting to do is find the file for this page
1351: [21:41:45] <WheatThins> http://epilep.se/index.php/mbddoti/
1352: [21:41:50] <WheatThins> But I only have page.php in that folder
1353: [21:41:56] <WheatThins> (mysite/code)
1354: [21:42:22] <spronk> hm
1355: [21:42:24] * k_fish_ has joined #silverstripe
1356: [21:42:30] <zippy__> WheatThins: themes/simple/templates/Page.ss
1357: [21:42:34] <spronk> i have come to the conclusion that javascript is less readable than most languages
1358: [21:42:40] <antmas> WheatThins: yup, so any page you create will be of type 'Page.php' the theme is in what zippy__ just sadi
1359: [21:42:42] <antmas> said*
1360: [21:42:57] <antmas> template* not theme
1361: [21:43:29] <zippy__> WheatThins: and also in the Layouts/Page.ss folder (of the tempaltes folder).
1362: [21:43:36] <zippy__> WheatThins: If you have dev mode on, you can do http://epilep.se/index.php/mbddoti/?showtemplate=1
1363: [21:43:41] * antmas feels he should watch Page Type-itis video before further comment
1364: [21:44:34] <WheatThins> That's of the theme though, correct?
1365: [21:44:36] <WheatThins> As in for the entire website?
1366: [21:44:40] <WheatThins> I want to edit one particular page
1367: [21:45:00] <antmas> WheatThins: then the easiest way is to create another page type in mysite/code
1368: [21:45:13] <antmas> and then create another template file to match
1369: [21:45:29] * k_fish quit (Ping timeout: 240 seconds)
1370: [21:45:58] <WheatThins> I think I'm gonna go through codecademy's web essentials before I continue with this
1371: [21:46:10] <WheatThins> I seem to keep hitting roadblocks at pretty elementary stuff lol
1372: [21:46:12] <zippy__> WheatThins: Go through the tutorial website
1373: [21:46:22] <WheatThins> for CMS?
1374: [21:46:23] <WheatThins> alright
1375: [21:46:24] <antmas> WheatThins: /mysite/code/MyNewPageType.php and then /themes/simple/Templates/Layout/MyNewPageType.ss
1376: [21:46:29] <zippy__> http://doc.silverstripe.org/framework/en/tutorials/
1377: [21:46:46] <antmas> WheatThins: but yeah, follow the tuts and it'll become pretty clear quickly :P
1378: [21:48:35] <Ryan-Toast> Ugh, gmail down?
1379: [21:48:38] <Ryan-Toast> nvm.
1380: [21:49:10] * UncleCheese_ has joined #silverstripe
1381: [21:53:05] <desperatre> Ok so I have taken my working model
1382: [21:53:24] <desperatre> I have created a date extension (line 80)
1383: [21:53:52] <desperatre> and added the extension (line 9)
1384: [21:53:53] <desperatre> http://paste2.org/D8KhH3JC
1385: [21:54:07] <desperatre> and the error I get is: [User Error] Uncaught Exception: No has_one found on class 'GalleryImage', the has_many relation from 'GalleryAlbum' to 'GalleryImage' requires a has_one on 'GalleryImage'
1386: [21:54:58] * jordanmk has joined #silverstripe
1387: [21:55:02] <ss23> My host sucks, always disconnecting and shit
1388: [21:55:04] * ss23 kicks antmas
1389: [21:55:05] <ss23> FIX IT
1390: [21:55:17] <simon_w> ss23, you can read my blog post now
1391: [21:55:30] <muskie9> desperatre, you're declaring a many_many and has_many with the same 'GalleryImage' => 'GalleryImage', not sure that's possible
1392: [21:55:35] <antmas> ss23: ;__;
1393: [21:55:50] <antmas> ss23: which host?
1394: [21:56:21] <desperatre> so should I remove it from the data extension?
1395: [21:56:27] <ss23> VPSCITY
1396: [21:56:28] <muskie9> try that first
1397: [21:56:30] <ss23> More like vps shitty.
1398: [21:57:28] <desperatre> yeah I think that worked
1399: [21:59:11] <desperatre> :0)
1400: [21:59:31] <desperatre> so.... I now need to create my home page let's see how that goes
1401: [21:59:49] <zippy__> desperatre: HomePage - and you'll get a pretty little icon
1402: [22:00:03] <desperatre> ?
1403: [22:00:54] <zippy__> desperatre: http://doc.silverstripe.org/framework/en/tutorials/1-building-a-basic-site#using-a-different-template-for-the-home-page - read from there down
1404: [22:01:27] <zippy__> ss23: excited much?
1405: [22:01:40] <ss23> simon_w: please reply to https://github.com/silverstripe/silverstripe-framework/issues/2970 with "yes it is, feel free"
1406: [22:01:46] <ss23> zippy__: For the release?!
1407: [22:02:02] <zippy__> ss23: yeap
1408: [22:02:08] * zippy__ is on edge of seat
1409: [22:02:09] <ss23> Sometimes I hear a noise that sounds like... fizzing or something, and it sounds like it's coming from inside my head and it's really weird
1410: [22:02:12] <ss23> XD
1411: [22:02:19] <ss23> zippy__: I said I would have all the patches done on Friday!
1412: [22:02:25] <Ryan-Toast> ss23: You have butt cancer.
1413: [22:02:26] <zippy__> yeap
1414: [22:02:27] <ss23> I can give you a preview of some of them if you want..
1415: [22:02:28] <ss23> :PP
1416: [22:02:31] <ss23> Ryan-Toast: FFF
1417: [22:02:32] <desperatre> zippy__: ah yes i remember doing this a few months back
1418: [22:02:36] <ss23> the worst kind of cancer
1419: [22:02:44] <zippy__> desperatre: ah, so you have a homepage already
1420: [22:03:24] <Ryan-Toast> Damn I'm hungry. May be a Ravvies day.
1421: [22:03:35] <ss23> I am a little too
1422: [22:03:42] <Ryan-Toast> Ravi's
1423: [22:03:50] <Ryan-Toast> Raviz.
1424: [22:04:05] <Ryan-Toast> Aww ye, check that flash out http://www.raviz.co.nz/
1425: [22:04:37] <Ryan-Toast> order online? You know it, son.
1426: [22:05:28] <simon_w> ss23, www, iframes :p
1427: [22:06:46] <desperatre> OMG I love you all
1428: [22:06:48] <desperatre> it works!"
1429: [22:07:01] <simon_w> ss23, *eww, iframes :p
1430: [22:07:16] * simon_w adds eww to his dictionary
1431: [22:07:19] <ss23> simon_w: Sure!
1432: [22:07:24] <ss23> It's ew, but it should be a yes regardless :P
1433: [22:07:25] <micmania1> desperatre: not so hard after all?
1434: [22:07:33] <ss23> simon_w: I would reply myself, but not a core dev etc...
1435: [22:07:47] <simon_w> ss23, also, http://coding.simon.geek.nz/2014/03/21/facebooks-hack-for-php/
1436: [22:07:54] <desperatre> no it was the fact that I was declaring the relationship in the dataextension
1437: [22:08:38] * nickmolhoek has joined #silverstripe
1438: [22:09:07] <micmania1> <@ss23> simon_w: please reply to https://github.com/silverstripe/silverstripe-framework/issues/2970 with "yes it is, feel free" - Is this what you meant?
1439: [22:10:38] * Drkevlar quit ()
1440: [22:10:59] <antmas> it's build your own burger day here downstairs :D
1441: [22:11:07] * Colin[pi] has joined #silverstripe
1442: [22:11:24] <simon_w> Who else wanted to see that blog post? zippy__?
1443: [22:11:35] <unsignedint> simon_w: nice blog post!
1444: [22:11:36] <zippy__> yeap
1445: [22:11:44] <simon_w> zippy__, you can read it now!
1446: [22:11:48] <simon_w> unsignedint, thanks :)
1447: [22:11:53] <zippy__> ta
1448: [22:12:17] * Colin[pi] feels sad for not having the link for said blog post
1449: [22:12:21] * unsignedint is now seriously considering writing future projects to run on HHVM
1450: [22:12:24] <unsignedint> look up Colin[pi]
1451: [22:12:28] <Colin[pi]> just joined
1452: [22:12:37] <unsignedint> oh so you did. I should look up
1453: [22:12:52] <simon_w> http://coding.simon.geek.nz/2014/03/21/facebooks-hack-for-php/
1454: [22:14:06] * UncleCheese_ quit (Quit: UncleCheese_)
1455: [22:14:22] * Colin[pi] goes to read
1456: [22:14:29] <catcher> Anyone experience partial caches storing the wrong base dir for images?
1457: [22:14:50] <simon_w> Also, I totally get mentioned in the Wired and Facebook posts too
1458: [22:17:15] <zippy__> simon_w: "Enabling Hack" the code snippets in there almost need to be italic or something
1459: [22:17:45] <simon_w> zippy__, I need a syntax highlighter, but they didn't play well with writing in markdown
1460: [22:18:07] <ss23> 11:07:47 <@simon_w> ss23, also, http://coding.simon.geek.nz/2014/03/21/facebooks-hack-for-php/
1461: [22:18:10] <ss23> saw that :D
1462: [22:18:20] <ss23> simon_w: Doubt we'll be using it here though :P
1463: [22:18:27] <simon_w> ss23, gutted :p
1464: [22:18:54] <simon_w> Especially once Hack supports covariance, so you can have ::get() return a DataList<this>
1465: [22:21:25] <ss23> simon_w: You didn't respond to 2970 with "Sure! :)"
1466: [22:21:33] <simon_w> I know
1467: [22:22:09] * catcher quit (Quit: Leaving)
1468: [22:24:03] <antmas> Ryan-Toast: I'll be whipping out BP to replace this mess with :D http://www.jamonline.co.nz/latest/
1469: [22:24:21] <Ryan-Toast> is it bad practise to use multiple <% with %> on a template?
1470: [22:24:24] <antmas> have no idea who made it, nor how that footer got so retarded
1471: [22:24:30] <Ryan-Toast> antmas: sweet jesus
1472: [22:24:40] <desperatre> my new HomePage is using page.ss in layout.. not HomePage.ss
1473: [22:24:43] <Ryan-Toast> TASMAN JAM, YO
1474: [22:24:53] <Ryan-Toast> desperatre: flush
1475: [22:25:12] <antmas> Ryan-Toast: haha, I hate loading that site - just want to killitwithfire
1476: [22:25:57] <Ryan-Toast> Having all the councils is a pretty lucrative contract.
1477: [22:26:03] * WheatThins quit (Ping timeout: 245 seconds)
1478: [22:26:35] <antmas> Ryan-Toast: it is, given how much they charge for it :P
1479: [22:27:46] <Ryan-Toast> Very interesting.
1480: [22:28:03] <Ryan-Toast> Would be a shame if...someone were to undermine it. MUHAHAHAHA
1481: [22:28:45] <desperatre> Ryan-Toast: flush didn't fix it
1482: [22:28:53] <desperatre> HomePage extends Page
1483: [22:29:02] <desperatre> then HomePage.ss is all i need right
1484: [22:29:19] <ss23> simon_w: Are you goign to reply with "Sure :)"?
1485: [22:29:21] <Ryan-Toast> desperatre: Is it in Layout?
1486: [22:29:27] <simon_w> ss23, meh
1487: [22:29:29] <ss23> simon_w: an alternative question: Would you merge the change?
1488: [22:29:31] <ss23> simon_w: Cause I can respond
1489: [22:30:33] <antmas> Ryan-Toast: put a tender in next time :D
1490: [22:30:42] <Ryan-Toast> antmas: cbf :P
1491: [22:30:50] <antmas> Ryan-Toast: lol fair enough
1492: [22:30:52] <Ryan-Toast> I don't compete with other comapnies.
1493: [22:31:03] <Ryan-Toast> you either want to work with me, or ou don't.
1494: [22:31:15] <ss23> simon_w: ?????
1495: [22:31:26] <antmas> Ryan-Toast: naw, we're pretty happy with ss as far as I can tell
1496: [22:31:37] <antmas> but yeah, would be a mint contract to pick up
1497: [22:31:49] <zippy__> whats the ss rate these days?
1498: [22:32:24] <antmas> zippy__: can't say for us :P
1499: [22:32:29] <antmas> ss23: any comment?
1500: [22:32:42] <zippy__> sure it used to be on the website, 3 years ago
1501: [22:33:00] <antmas> I thought so too
1502: [22:33:23] <ss23> antmas: About? :O
1503: [22:34:27] <UncleCheese> Say you run your app, and there's output being sent to the browser before the html document renders.. a stray character floating around somewhere
1504: [22:34:36] <UncleCheese> how do you debug that? In my experience, it's a huge pain
1505: [22:34:44] <antmas> ss23: the ss charge rate
1506: [22:34:46] <UncleCheese> * there are no closing php tags in my code
1507: [22:36:36] * muskie9 quit (Remote host closed the connection)
1508: [22:36:40] <ss23> antmas: No idea about the rate. It's "high" I think though?
1509: [22:36:47] <ss23> I mean, it's higher than I charge when I freelance I know :P
1510: [22:37:01] <antmas> ss23: yeah it seems high from what I gather
1511: [22:37:17] <antmas> I just know the hours we have quater to quater, but not how that translates to $$$
1512: [22:37:25] <antmas> quarter*
1513: [22:38:00] <Colin[pi]> simon_w: foreach($map->filter((int $a):bool ==> $a > 10)->map((int $a):int ==> -$a) as $var) {
1514: [22:38:10] <Colin[pi]> lines like that are common in hack?
1515: [22:38:22] <antmas> Colin[pi]: is that the lambda?
1516: [22:38:35] <Colin[pi]> yep, well with lazy iterator
1517: [22:38:50] <ss23> simon_w: YOU'RE NOT ANSWERING :O
1518: [22:39:10] <antmas> lambda expressions in php look so retarted imo
1519: [22:39:30] <Colin[pi]> the hack syntax reminds me of when I did Smalltalk
1520: [22:39:38] <Colin[pi]> much neater, but sheesh.. that one liner
1521: [22:40:00] * azureknight has joined #silverstripe
1522: [22:40:00] <simon_w> Colin[pi], well, that was just an example. You would normally split it up a big
1523: [22:40:10] <simon_w> ss23, depends on the quality, just like with other PRs
1524: [22:40:29] * muskie9_ has joined #silverstripe
1525: [22:40:55] <Colin[pi]> nice post simon_w... but where is your responsive nav sir?
1526: [22:41:15] <simon_w> Deleted it. Was adding in like 40px of whitespace
1527: [22:41:24] <azureknight> How do you control the object that you're bringing to your controller via view() ?
1528: [22:41:35] <Colin[pi]> lol you deleted your nav?
1529: [22:41:41] <azureknight> Such as, I want to have related objects listed on the side, but need to disclude the object of the page the user is on.
1530: [22:41:41] <simon_w> Yes
1531: [22:41:44] <Colin[pi]> LOL
1532: [22:41:57] <azureknight> Navs are so outdated.
1533: [22:41:58] <simon_w> It did the whole responsive pie warmers thing on a desktop too
1534: [22:41:59] <Colin[pi]> "this nav bar is adding 80px to the top of my page, DELETE"
1535: [22:42:03] <azureknight> Let's go back to image mapping.
1536: [22:42:20] <unsignedint> Lets go back to 80 column terminals and no internet
1537: [22:42:28] <simon_w> Heck yeah!
1538: [22:42:35] <simon_w> Hack still works!
1539: [22:42:36] <Colin[pi]> floppy drives and 56k modems too?
1540: [22:42:37] <azureknight> unsignedint just imagine the irc disconnecting after that.
1541: [22:43:06] <unsignedint> it'd be nostalgic
1542: [22:43:12] <azureknight> I'm too young.
1543: [22:43:23] <unsignedint> youre too young for 56k modems?
1544: [22:43:31] <unsignedint> sheesh you must be like 12
1545: [22:43:32] <azureknight> More like 80 column terminals.
1546: [22:43:36] <unsignedint> oh right
1547: [22:43:41] <ss23> simon_w: Okay that is a yes, I will tell him
1548: [22:43:43] <antmas> I still have my first 56k modem
1549: [22:43:50] <azureknight> I remember that amazing dial up noise like it was yesterday.
1550: [22:44:05] <unsignedint> me too, I can still do a pretty mean modem impression
1551: [22:44:18] <Colin[pi]> here's mine: REEE REEE REEE REEE RARARARA BDDMMMMMM BDDDESSSSSSSHH ZHZHZHZHHZHZHHSHHSHSHZHZHZHHZHHZHSHSHSHSHHHZHZHZHZHZSH
1552: [22:44:30] <desperatre> how difficult is it to add thumbs to a gridfield
1553: [22:44:30] <azureknight> Colin[pi] you could be an impersonator.
1554: [22:44:34] <Colin[pi]> lol
1555: [22:44:39] <azureknight> desperatre pretty easy.
1556: [22:44:48] <muskie9_> desperatre: not too tough
1557: [22:44:53] <antmas> </3 when people use that as their ring tone
1558: [22:44:54] <unsignedint> doh de doh de doh de dohhhh...... deee deee dee dee daang de de dang de dang de braaaaaaaaap....braaaaaaaap.... *verifying username and password*
1559: [22:44:58] <zippy__> UncleCheese: sort it?
1560: [22:45:19] <desperatre> at the moment on my gridfield I am listing the title of the file only
1561: [22:45:54] <zippy__> desperatre: summary fields is what you want. after editing, flush
1562: [22:46:29] <unsignedint> yep thats the key. I wasted hours trying to find out why my summary fields never worked and it was because I didnt flush
1563: [22:47:16] <azureknight> 'Image.CMSThumbnail' => 'Image'
1564: [22:47:17] <zippy__> need a grunt / gulp task, when the files ben modifed just clear the template cache
1565: [22:47:18] <antmas> time for a ginger nut
1566: [22:47:40] <azureknight> Put that in you $summary_fields array desperatre
1567: [22:47:54] <azureknight> And change Image to whatever your has_one for image is
1568: [22:48:15] <UncleCheese> zippy__: yeah, it was before the <?php tag
1569: [22:48:17] <UncleCheese> \<?php
1570: [22:48:20] <UncleCheese> !!!!!!
1571: [22:48:22] <zippy__> :)
1572: [22:48:24] <UncleCheese> lucked out on that one..
1573: [22:48:38] <UncleCheese> nothing like searching an entire directory tree of a PHP project for a backslash
1574: [22:48:41] <zippy__> I was going to say, regex, \s+?<\?php
1575: [22:48:46] <UncleCheese> oh, good one
1576: [22:48:50] <UncleCheese> yeah, i mean
1577: [22:48:52] <zippy__> ah, that wouldn't of found the \ thou
1578: [22:48:54] <UncleCheese> unless you use echo statements
1579: [22:49:14] <UncleCheese> then it's either before an opening php tag
1580: [22:49:22] <UncleCheese> or you've used the dreaded ?> tag
1581: [22:49:58] <azureknight> my Topic_Controller is how I'm producing my Articles. How would I add controller functions to the Article objects?
1582: [22:50:12] <azureknight> Such as not including the current article into a side bar area with "related Articles"
1583: [22:50:56] * UncleCheese_ has joined #silverstripe
1584: [22:52:26] <antmas> awwww yeah 6 minutes of tractor fails http://jalopnik.com/no-driving-is-worse-than-six-minutes-of-tractor-fails-1524350301
1585: [22:53:57] * joelpittet has joined #silverstripe
1586: [22:55:08] <kinglozzer> antmas: they so bouncy!
1587: [22:55:12] <kinglozzer> +'re
1588: [22:57:05] <antmas> crazy how they bunny hop like that
1589: [23:01:14] <Colin[pi]> cool 404: http://www.hugoware.net/404
1590: [23:01:38] <Ryan-Toast> Colin[pi]: That site is going to get the Reddit hug of death soon.
1591: [23:01:44] <Colin[pi]> hehe yeah
1592: [23:06:05] <azureknight> lol... That 404 is legit
1593: [23:08:31] * kinglozzer quit ()
1594: [23:10:08] <Pyromanik> right, so yeah.
1595: [23:10:12] <Pyromanik> g'nite.
1596: [23:10:21] <Colin[pi]> PYROMANIK
1597: [23:10:23] <Colin[pi]> WAIT
1598: [23:10:24] <Colin[pi]> WAIT
1599: [23:10:24] <Colin[pi]> WAIT
1600: [23:10:24] <Pyromanik> hi2u
1601: [23:10:26] <Colin[pi]> WAIT
1602: [23:10:27] <Colin[pi]> WAIT
1603: [23:10:28] <Colin[pi]> WAIT
1604: [23:10:39] <Colin[pi]> fuck sake I've been trying to catch you for three days
1605: [23:10:52] <Pyromanik> yeah well you said hi then I said hi and then you didn't reply at all last time.
1606: [23:11:01] <Colin[pi]> I went to make a coffee :(
1607: [23:11:08] <Ryan-Toast> *wiggle, wiggle, wiggle 'click'* Pyromanik was caught!
1608: [23:11:09] <Colin[pi]> CAME BACK AND YOU ARE GONE ;_;
1609: [23:11:13] <Pyromanik> shoot fast because I had plastic surgery and didn't sleep all last night.
1610: [23:11:23] <Pyromanik> recovery is a cunt when you can't breathe.
1611: [23:11:35] <Colin[pi]> k, are you interested in a project in the next few months or not?
1612: [23:11:38] <Pyromanik> yes
1613: [23:11:43] <Colin[pi]> shall I PM you quickly?
1614: [23:11:47] <Pyromanik> extra money is win
1615: [23:11:51] <terryapodaca> how big did you go? DD? :P
1616: [23:11:55] <Colin[pi]> rofl
1617: [23:12:04] <Pyromanik> regail me with stories of your fantastic plans.
1618: [23:12:18] <Ryan-Toast> terryapodaca: +1
1619: [23:12:32] <desperatre> I changed somethnig in private_static
1620: [23:12:39] <desperatre> deleted cache
1621: [23:12:43] <desperatre> flushed
1622: [23:12:53] <desperatre> rebuilt 10 times and the change is not picked up
1623: [23:13:16] <Pyromanik> terryapodaca, yeah nah. By plastic surgery I don't mean the I felt insecure about myself kind, I mean the "I just wanted a part of me to be like it used to be before it was demolished"
1624: [23:14:23] <terryapodaca> I keed I keed
1625: [23:14:31] <Pyromanik> I know.
1626: [23:14:36] <muskie9_> desperatre: dev/build?
1627: [23:14:43] <Pyromanik> I'd have limed to have not needed reconstruction, trust me.
1628: [23:14:47] <Pyromanik> liked*
1629: [23:15:00] <antmas> Pyromanik: pic? :D
1630: [23:15:02] <Pyromanik> not that I really needed it anyway, it was just straightening a bent nose.
1631: [23:15:17] <Pyromanik> antmas, I have, but on tablet.
1632: [23:15:24] <antmas> :P
1633: [23:15:29] * zippy__ quit (Ping timeout: 240 seconds)
1634: [23:15:44] <antmas> I have my jaw surgery in a week today :(
1635: [23:15:44] <Pyromanik> I've got this real camp like batman baddie face mask on.
1636: [23:15:57] <Pyromanik> antmas, jaw surgery?
1637: [23:16:13] <desperatre> muskie9_: Yeah I did the rebuild
1638: [23:16:16] <antmas> Pyromanik: yeah, ruptured wisdom tooth messed the jaw bone up
1639: [23:16:23] <Pyromanik> oh guts.
1640: [23:16:31] <Pyromanik> how does a tooth rupture?
1641: [23:16:43] * cloph is now known as cloph_away
1642: [23:16:43] <Pyromanik> but hey antmas, at least it didn't rapture.
1643: [23:16:50] <antmas> Pyromanik: lol
1644: [23:17:10] <antmas> basically just breaks under pressure - then infects surrounding in jaw bone/gum in like hours
1645: [23:17:31] <Pyromanik> oh fuck, maybe I should get my impacted ones looked at sooner than I thought.
1646: [23:17:50] <antmas> Pyromanik: yeah mine was just impacted and then BOOM can't even move jaw
1647: [23:18:38] <Pyromanik> urgh
1648: [23:18:56] <Pyromanik> I have trouble opening my jaw since the assault, but I figure that it'll wear off.
1649: [23:18:57] <terryapodaca> yep, had my wisdom teeth pulled 8 years ago because the Doc said with them impacted they could break up and cause infection
1650: [23:19:03] * violet- quit (Remote host closed the connection)
1651: [23:19:45] <Pyromanik> my orthodontist said that wisdom teeth wouldn't cause issue so long as they didn't rupture the gum line (come through)
1652: [23:19:50] <Pyromanik> but one did, about 2 years back.
1653: [23:20:04] <Pyromanik> have managed to keep it infection free so far, but I worry sometimes.
1654: [23:22:23] <antmas> Pyromanik: that's my exact problem
1655: [23:23:28] <desperatre> Thanks guys I am off to bed, 14 hours straight today but the result is a pretty slick gallery site
1656: [23:23:35] <desperatre> it wouldn't have happened without your help
1657: [23:23:38] <desperatre> I appreciate it!
1658: [23:24:30] <desperatre> see ya!
1659: [23:24:35] <muskie9_> laters
1660: [23:26:40] <antmas> l8r
1661: [23:28:00] <Pyromanik> antmas, yeah except my jaw isn't sore because of infection, it's sore because some cunt beat me unconcious and stole all my shit.
1662: [23:28:12] <Pyromanik> err, cunts. Plural.
1663: [23:28:37] <antmas> Pyromanik: wait, this isn't to do with the bike crash? did you get mugged?!
1664: [23:28:52] * UncleCheese_ quit (Quit: UncleCheese_)
1665: [23:29:01] <Pyromanik> antmas, yeah, nah. I bung my shoulder in cycle accident 4 months ago.
1666: [23:29:22] <Pyromanik> a week and a half ago some thugs beat the shit out of me while I was on my way home.
1667: [23:29:27] <ss23> hi Pyromanik
1668: [23:29:30] <antmas> crazy, dude. I hope they got caught?
1669: [23:29:31] <Pyromanik> turned my nose into mush.
1670: [23:29:38] <Pyromanik> antmas, nah, don't be silly.
1671: [23:29:46] <ss23> Pyromanik: micmania was talking about you today
1672: [23:29:47] <ss23> :D
1673: [23:29:55] <Pyromanik> the cops know who they are. They're trying to sell my phone over facebook.
1674: [23:30:03] <antmas> lol n00bs
1675: [23:30:12] <Pyromanik> but you know... the law exists to protect sumbags like this, rather than the general populus.
1676: [23:30:20] <ss23> 12:11:13 < Pyromanik> shoot fast because I had plastic surgery and didn't sleep all last night.
1677: [23:30:24] <ss23> wtfwtf
1678: [23:30:33] <antmas> ss23: mofo got mugged!
1679: [23:30:34] <Pyromanik> the cops can't do shit because attempting to buy the phone in a recovery attempt would be entrapment.
1680: [23:30:47] <Pyromanik> and they'd basically just skate away.
1681: [23:31:00] <ss23> woah
1682: [23:31:00] <Pyromanik> ss23, I had my nose put back into place.
1683: [23:31:04] <ss23> O.O
1684: [23:31:07] <ss23> crayzy shit man
1685: [23:31:20] <Pyromanik> yeah, it wasn't pleasant.
1686: [23:32:18] <Pyromanik> The wosrt part is when they ask "was alcohol a factor?" and I go "no" and they go "so you weren't drunk" and I'm all... "well fuck you cunt. I was drunk, but it has absolutely NOTHING to do with why or how I got done in"
1687: [23:32:57] <Pyromanik> I managed to outpace them and hide. But unluckily for me I didn't hide well enough.
1688: [23:33:11] <ss23> that sounds fucked up dude
1689: [23:33:11] <ss23> :/
1690: [23:33:21] <Pyromanik> yeh.
1691: [23:33:34] <Pyromanik> it is. Moral of the story, never walk home after 10pm.
1692: [23:33:58] <Pyromanik> Just about everyone I've talked to here has had an experience like this.
1693: [23:34:01] * UncleCheese_ has joined #silverstripe
1694: [23:34:06] <Pyromanik> at some point
1695: [23:34:17] <Pyromanik> ss23, so what did micmania1 say?
1696: [23:34:27] <ss23> not much
1697: [23:34:28] <ss23> ;_;
1698: [23:34:31] <Pyromanik> lol
1699: [23:34:31] <ss23> just that you were in UK now
1700: [23:34:50] <Pyromanik> I would have been here to defend myself, except i was busy being in hospital, for the third time in 4 months.
1701: [23:35:05] <ss23> lol
1702: [23:35:07] <ss23> yeah
1703: [23:35:10] <ss23> Naw, it was on Skype, not here
1704: [23:35:14] <Pyromanik> Previous to bike accident just before leaving NZ I'd never been to hospital before.
1705: [23:35:25] <ss23> Does NHS cover the recovery shit?
1706: [23:35:32] <Pyromanik> yeh.
1707: [23:35:40] <Pyromanik> I guess I'm lucky in that respect at least.
1708: [23:36:26] <Pyromanik> anyway, for some reason I said I'd be at work tomorrow (despite only getting discharged about 6 hours ago)... so I'd best go to bed.
1709: [23:36:34] <Pyromanik> laters.
1710: [23:36:37] <ss23> Cyao
1711: [23:36:42] <ss23> :(
1712: [23:36:55] <Pyromanik> Walk through newmarket in the middle of the night, nothing.
1713: [23:37:13] <Pyromanik> walk through the GOOD part of town here at night, another concussion and a broken nose.
1714: [23:37:16] <antmas> Pyromanik: did you at least swing a puinch?
1715: [23:37:21] <Pyromanik> antmas, nup.
1716: [23:37:26] * UncleCheese_ quit (Client Quit)
1717: [23:37:33] <Pyromanik> jsut got demo'd
1718: [23:37:40] <antmas> Pyromanik: not even flail wildly?
1719: [23:37:59] <Pyromanik> antmas, dunno, don't think so. Dont' remember much because concussion.
1720: [23:38:08] <antmas> true
1721: [23:38:15] <antmas> you should stay home from work though, dude
1722: [23:38:25] <Pyromanik> http://iforce.co.nz/i/owdtmaab.5mf.jpg
1723: [23:38:31] <Pyromanik> I was 600m from home.
1724: [23:38:40] <antmas> suck
1725: [23:38:57] <antmas> huh, iforce
1726: [23:39:05] <antmas> didn't even know about that :P
1727: [23:39:06] <Pyromanik> I remember being scared of them putting the boot in while I was on the ground. Dunno if they did or not. I think I did get laid into while down though.
1728: [23:39:30] <Pyromanik> luckily not the face stomp kind though I guess.
1729: [23:39:33] <Colin[pi]> that's fucked Pyromanik :\
1730: [23:39:54] <Pyromanik> so yeah, distance from blood pool (face) to scuff marks (feet) is about a metre.
1731: [23:40:01] <Pyromanik> I was curled up defensively.
1732: [23:40:18] <antmas> far out
1733: [23:40:26] <Colin[pi]> :(
1734: [23:40:32] <antmas> ;__;
1735: [23:40:39] <Pyromanik> so then I feel hands in my pocket.
1736: [23:40:44] <Colin[pi]> people are such fucking arseholes
1737: [23:40:53] <Pyromanik> wallet was already gone otherwise I woudln't have felt hand. I guess they were doublechecking or something.
1738: [23:41:02] <Pyromanik> there was a woman present too, yelling abuse at me the whole time.
1739: [23:41:13] <Pyromanik> just all round lovely people.
1740: [23:41:31] <Pyromanik> then I got up and walked 500m to a pizza shop.
1741: [23:41:43] <Pyromanik> dunno if I lay there unconcious first or not.
1742: [23:42:10] <Pyromanik> Colin[pi], yeah man, arseholes indeed.
1743: [23:42:49] <antmas> hmmmm
1744: [23:42:49] <Pyromanik> anyway, I need rest. gotta let nose heal properly not I can breathe nicely out of both nostrils again.
1745: [23:42:58] <Colin[pi]> go rest man, take it easy
1746: [23:42:59] <Pyromanik> not/now*
1747: [23:43:00] <antmas> manye people have much experience with google maps api?
1748: [23:43:06] <Colin[pi]> antmas: JS api?
1749: [23:43:11] <Pyromanik> laters
1750: [23:43:18] <antmas> later dude, rest up Pyromanik
1751: [23:43:28] <Pyromanik> ps, it's spelt Ciao ss23 :P
1752: [23:43:31] <Pyromanik> ciao
1753: [23:43:36] <ss23> No!
1754: [23:43:41] <ss23> ciao is spelled ciao
1755: [23:43:45] <ss23> Cyao is speleld cyao ^.^
1756: [23:43:45] <Pyromanik> oic
1757: [23:43:53] <Pyromanik> oh i si.
1758: [23:43:55] <antmas> Colin[pi]: yep
1759: [23:43:58] <Colin[pi]> in brazil it's spelled "tchau" :P
1760: [23:44:04] <Colin[pi]> just to be different
1761: [23:44:10] <antmas> in nz it's spelled, bye
1762: [23:44:14] <Colin[pi]> antmas: yep I made a google maps widget for SS
1763: [23:44:18] <Pyromanik> ka kite.
1764: [23:44:27] <Pyromanik> haire ra.
1765: [23:44:31] <Pyromanik> and all that.
1766: [23:44:44] <antmas> Colin[pi]: I'm going to do some integration with an events calendar, although Sharepoint
1767: [23:44:58] <antmas> Colin[pi]: how are points accessed? X an Ys?
1768: [23:45:06] <Colin[pi]> antmas: lat/long
1769: [23:45:16] <antmas> Colin[pi]: nice
1770: [23:45:20] <Colin[pi]> antmas: though I integrated their geolocation api
1771: [23:45:34] <Colin[pi]> so in the widget I made, someone can type the address of the place they want to show on the map
1772: [23:45:47] <Colin[pi]> and the JS gets the lat/long from their geolocation API
1773: [23:45:48] <antmas> Colin[pi]: ah, that's what I'd need
1774: [23:46:26] <antmas> Colin[pi]: I'll probably hit you up about it once I start :P
1775: [23:47:42] <Colin[pi]> I have some JS I could share with you?
1776: [23:47:46] <Colin[pi]> it's pretty shitty though
1777: [23:47:56] <Colin[pi]> and their JS API does some really weird things
1778: [23:48:03] <antmas> Colin[pi]: doesn't matter too much, it's an experiment at this stage
1779: [23:48:08] <Colin[pi]> k
1780: [23:48:28] <antmas> basically, users enter an event into sharepoint calendar widget, give it some lat/longs, show it on the map
1781: [23:48:32] <Colin[pi]> actually the widgets are in use here: http://www.rudds.com.au/contact-us/
1782: [23:48:35] <antmas> simple, but I've never done it before
1783: [23:48:36] <Colin[pi]> view source :D
1784: [23:49:13] <antmas> Colin[pi]: nice, tah, shouldn't be complicated at all really
1785: [23:49:16] <antmas> but, sharepoint
1786: [23:49:29] <Colin[pi]> yeah it's not, but the google JS is kinda weird
1787: [23:49:38] <Colin[pi]> if you're used to jQuery it's a bit quirky
1788: [23:49:55] <antmas> yeah we have some geolocation on our council site anyway, so I could look at that too
1789: [23:50:11] <antmas> totally forgot about that actually :P
1790: [23:50:32] <Colin[pi]> it's pretty sweet
1791: [23:50:42] <Colin[pi]> AINT NOBODY GOT TIME FOR LATITUDE AND LONGITUDE
1792: [23:58:06] * UncleCheese quit (Quit: UncleCheese)

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