#silverstripe IRC Log

IRC log for 26 November 2014

All timestamps are in UTC.

1: [00:01:08] <Hailwood> Hmm, on the frontend how can I get the current logged in member?
2: [00:01:36] <Hailwood> Er... Sorry in a frontend form rather - not the template
3: [00:03:19] <Hailwood> Ah got it - man I hate how ss is silent with a lot of it's errors.
4: [00:06:59] <Colin[pi]> antmas: ....
5: [00:07:01] <Colin[pi]> link?
6: [00:08:18] <Colin[pi]> nm
7: [00:09:59] <Colin[pi]> oh no, mutant dinosaurs now?
8: [00:10:57] <Colin[pi]> ehh
9: [00:11:00] <Colin[pi]> I'll go see it :D
10: [00:13:51] * willmorgan quit ()
11: [00:22:50] <simon_w|work> Well, that was a fun bug to track down
12: [00:23:00] <simon_w|work> Cache meant that certain objects were using closed database connections
13: [00:23:02] <Colin[pi]> antmas: best comment on the trailer: http://www.reddit.com/r/movies/comments/2ndx0r/the_full_jurassic_world_trailer/cmcru2o
14: [00:30:25] <Ryan-Toast> Colin[pi]: “Jurassic Parks & Recreation"
15: [00:31:48] <Colin[pi]> Ryan-Toast: I'd love to see Ron Swanson with a shotgun chasing dinos
16: [00:32:30] * muskie9 has joined #silverstripe
17: [00:33:50] * _muskie9_ quit (Ping timeout: 272 seconds)
18: [00:35:54] * clairef quit (Quit: Leaving.)
19: [00:35:56] * jbrungar_ has joined #silverstripe
20: [00:36:05] * jbrungar_ quit (Client Quit)
21: [00:40:32] * Tanger has joined #silverstripe
22: [00:43:27] <novaweb> Is it possible to reorder everything in the "LEFT" of leftandmain?
23: [00:50:02] <Kingy> on hold to ird \o/
24: [00:50:41] <JeremyRoundill> Kingy: Don't worry, it'll only be an hour or two.
25: [00:54:16] <Kingy> theyre useless...
26: [00:54:37] <Kingy> ask a quesion.. if you go and fill out IRXXX it'll tell you
27: [00:54:46] <JeremyRoundill> Why are IR3s so difficult?
28: [00:55:07] <Kingy> lol
29: [00:55:13] <Kingy> tis a bit complex
30: [00:55:23] <Kingy> i'm a contractor working remotely but being paid in NZD
31: [00:55:26] <Kingy> into a NZ account
32: [00:55:38] <Kingy> nfi what I need to do
33: [00:55:53] <Kingy> skip paying tax altogether and just never return?
34: [00:56:01] <Tanger> Morning fellas!
35: [00:56:37] <JeremyRoundill> Afternoon, Tanger!
36: [00:56:42] <antmas> Colin[pi]: I think it looks pretty neat
37: [00:56:52] <antmas> Colin[pi]: but it needs to be viceral and violent imo
38: [00:56:53] <Colin[pi]> antmas: I'll allow it
39: [00:59:00] <Kingy> least they have good music
40: [00:59:06] <Kingy> better than the usual shit
41: [00:59:13] <antmas> trouble is, he doesn't have Drax, Gamora, Groot or Rocket :/
42: [00:59:52] <JeremyRoundill> Whenever anybody mentions Groot I correct them in my head.
43: [01:00:04] <novaweb> http://doc.silverstripe.org/framework/en/howto/customize-cms-menu tells me how to order new modeladmins, but how do set the priority of pre-existing CMSMenuItems?
44: [01:00:12] <JeremyRoundill> "Your knowledge of the history of beer is impressive, but it's spelt 'gruit'"
45: [01:01:33] <novaweb> Guess I'll look in CMSMenu ;p
46: [01:03:11] <antmas> JeremyRoundill: hahaha
47: [01:03:23] <antmas> bloody beer snobs ;)
48: [01:03:45] <JeremyRoundill> :P
49: [01:03:58] <JeremyRoundill> I sound like I belong in Wellington, huh?
50: [01:04:07] <antmas> :P
51: [01:04:38] <antmas> someone should call a gruit-esque beer 'I am Gruit'
52: [01:04:45] <antmas> someone has probably already done that
53: [01:05:02] * muskie9 is now known as _muskie9_
54: [01:05:36] * jbrungar has joined #silverstripe
55: [01:06:15] <antmas> bleep bloop
56: [01:06:28] * clairef has joined #silverstripe
57: [01:07:10] * _muskie9_ is now known as muskie9
58: [01:08:47] <antmas> since switching to unlimited, I've used 386gb this month
59: [01:11:44] <Ryan-Toast> HD anime?
60: [01:12:48] <antmas> :P
61: [01:12:52] <antmas> Popcorn time :D
62: [01:13:09] <antmas> also, will probably double come black friday Steam sales :(
63: [01:16:01] <Kingy> antmas: more sales?
64: [01:16:16] <antmas> all the sales
65: [01:19:31] <JeremyRoundill> Fuuuaaaar.
66: [01:19:39] <JeremyRoundill> Missed out on Andrew Little's question to the PM
67: [01:19:57] <JeremyRoundill> Ahh well, we've still got Megan Woods and Russel Norman.
68: [01:20:11] <Colin[pi]> LOL: http://i.imgur.com/2R0rFM0.jpg
69: [01:20:31] <JeremyRoundill> SMBC :)
70: [01:20:36] <Colin[pi]> love it
71: [01:20:45] <antmas> :P
72: [01:20:58] * jenniferaslan quit (Quit: jenniferaslan has left the room)
73: [01:23:35] <antmas> are there any browser plugins like adblock that stop fucking youtube ads?
74: [01:24:16] <JeremyRoundill> Doesn't adblock do that?
75: [01:24:31] <antmas> JeremyRoundill: hmmmm, I don't think so?
76: [01:24:35] <JeremyRoundill> Does for me :)
77: [01:24:45] <JeremyRoundill> Maybe you've got an old list.
78: [01:24:51] <Olliepop> Does for me!
79: [01:24:52] <antmas> must do
80: [01:24:55] <antmas> hmmm
81: [01:24:58] <antmas> wait, Chrome does
82: [01:25:03] <simon_w|work> Oops, someone just found out that HHVM is targetting compatibility with PHP 5.6, not 5.2
83: [01:25:43] <simon_w|work> antmas, Click2Flash does it for me (bypasses the Youtube player entirely)
84: [01:26:03] * antmas quit (Quit: Page closed)
85: [01:27:28] * muskie9 quit (Read error: Connection reset by peer)
86: [01:27:57] * muskie9 has joined #silverstripe
87: [01:31:17] * antmas has joined #silverstripe
88: [01:32:05] <Kingy> omg they make this so hard
89: [01:32:53] <Kingy> I ring up ird and they say read the guide and fill out the form
90: [01:32:58] <Kingy> i read the guide and it says this..
91: [01:33:10] <Kingy> "There are special rules for non-resident contractors who earn income from
92: [01:33:10] <Kingy> New Zealand. Please contact one of our specialist teams for more
93: [01:33:10] <Kingy> information"
94: [01:33:22] <Kingy> fuck sakes
95: [01:34:38] <JeremyRoundill> Jeez
96: [01:37:00] <novaweb> "Due to your inability to facilitate inbound communications with non-resident contractors who earn income from New Zealand, I have no choice but to cease all current arrangements and agreements established between both parties until such time this incovenience has been dealth with appropriately and reasonable channels of communication have been established"
97: [01:37:13] <novaweb> *dealt\
98: [01:37:19] <spronk2> o_O
99: [01:37:34] <novaweb> Signed
100: [01:37:35] <novaweb> God
101: [01:38:35] <JeremyRoundill> Ahh, pull an Irish Water protest on them?
102: [01:38:35] <novaweb> Further contact by mail only: Par Avion, Heaven 666, The Universe.
103: [01:38:36] <JeremyRoundill> :P
104: [01:38:38] <novaweb> ?
105: [01:38:58] <JeremyRoundill> There are a bunch of water meters going in in Ireland.
106: [01:39:03] <JeremyRoundill> And the people are refusing to pay.
107: [01:39:18] <novaweb> Just like residents don't pay rates in Northland
108: [01:39:19] <JeremyRoundill> And they're removing their meters because they have no contract with Irish Water.
109: [01:39:24] <novaweb> it's aweseom
110: [01:48:16] * muskie9 is now known as _muskie9_
111: [01:51:21] <JeremyRoundill> https://soundcloud.com/troskey99/genesis
112: [01:51:50] <JeremyRoundill> I love all the hate it's getting.
113: [01:52:02] <JeremyRoundill> We don't even know what this kid's like.
114: [01:52:20] <JeremyRoundill> He could actually be a Trotskyist
115: [01:52:34] <antmas> awww yisss finally got VS2013 Ultimate
116: [01:52:41] <JeremyRoundill> :D
117: [01:54:34] <antmas> people just hate them because of Key
118: [01:54:46] <JeremyRoundill> Yeah.
119: [01:54:51] <JeremyRoundill> It's kinda unreasonable.
120: [01:54:52] <antmas> nd they're jealous because EVERYONE want's to be a fucking DJ these days
121: [01:55:20] <JeremyRoundill> But they hit the front page for no reason.
122: [01:55:25] <JeremyRoundill> Some kids are DJing, great.
123: [01:55:25] <antmas> haha
124: [01:55:32] <JeremyRoundill> Stephie gets naked with a squid.
125: [01:55:33] <JeremyRoundill> Whatever
126: [01:55:46] <antmas> they have MBPs and some expensive headphones = DJ
127: [01:56:00] <JeremyRoundill> We shouldn't judge them because of John Key.
128: [01:56:30] <antmas> no way
129: [01:56:36] <antmas> and tbh, this track aint bad
130: [01:57:02] * _muskie9_ quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
131: [01:57:31] <antmas> nothing special
132: [01:57:40] <antmas> but better than a LOT of the garbage out there
133: [01:58:37] <JeremyRoundill> Sure
134: [01:59:02] <Tanger> Hey guys, is there a task to force CMS Pagetype icons to flush?
135: [02:02:30] <Olliepop> /admin?flush=all will do it
136: [02:03:11] <Tanger> In 3.1? Didn't think flush needed a value to work past 3.0
137: [02:03:24] <JeremyRoundill> Doesn't, but flush won't do it.
138: [02:03:32] <JeremyRoundill> flush=all will
139: [02:04:04] * mahfuz has joined #silverstripe
140: [02:04:21] <mahfuz> Hi
141: [02:04:53] <antmas> Ryan-Toast: thoughts on https://soundcloud.com/troskey99/genesis?
142: [02:05:01] <antmas> remove ?*
143: [02:06:26] <mahfuz> I am transferring my silverstripe site from dev to the live server. I have copied all the files, imported the database file, changed cinfig files with new database info. Site is showing fine but the admin url is not accessible. Could any one tell me why?
144: [02:07:45] <Kolin> wow, hes getting worse
145: [02:08:51] <Ryan-Toast> antmas: bad imo
146: [02:09:51] <Ryan-Toast> mahfuz: set it to dev mode and run a dev/build?
147: [02:10:22] <Ryan-Toast> antmas: it’s what I would call an ADD child of music.
148: [02:10:42] <mahfuz> thanks Ryan. Your are a life saver
149: [02:10:52] <Ryan-Toast> mahfuz: np, man :0
150: [02:10:55] <Ryan-Toast> :) **
151: [02:11:02] <antmas> Ryan-Toast: It is a bit, a lot of the sections are throw at way
152: [02:11:08] <antmas> throwaway
153: [02:11:10] <antmas> whatever*
154: [02:15:10] <antmas> http://www.stuff.co.nz/life-style/home-property/63551525/britains-largest-home-to-hit-market.html
155: [02:15:16] <antmas> 365 rooms
156: [02:15:20] <antmas> :O
157: [02:15:43] <Colin[pi]> antmas: holy shit
158: [02:16:12] <JeremyRoundill> That's weird, my place has 3.65 rooms.
159: [02:16:12] <Colin[pi]> 14 million seems ludicrously cheap (I see the repair bill is quite high though)
160: [02:16:25] * muskie9 has joined #silverstripe
161: [02:16:40] <mahfuz> Ryan-Toast: there was sign in link in my site and after I login using admin details its logs in the front end but when I enter mydomain.com/dev/build it says Not Found ..
162: [02:16:56] <JeremyRoundill> mahfuz: Check your htaccess.
163: [02:16:57] <Colin[pi]> antmas: you could quite literally sleep in a different room every night of the year
164: [02:17:16] <JeremyRoundill> mahfuz: Probably will work on mydomain.com/index.php/dev/build
165: [02:17:21] <Snowman23> Yeah, but it'd be unpleasant sleping in the bathrooms, Colin[pi]
166: [02:17:31] <Colin[pi]> Snowman23: don't knock it til you've tried it
167: [02:17:39] <Snowman23> no comment
168: [02:17:42] <Colin[pi]> :D
169: [02:18:37] <mahfuz> JeremyRoundhill: Yes mydomain.com/index.php/dev/build that worked
170: [02:19:00] * Cws has joined #silverstripe
171: [02:19:21] <JeremyRoundill> mahfuz: You'll have an incorrect rewrite base in your htaccess, probably.
172: [02:20:10] <mahfuz> But still I can't access my domain.com/admin I need to use domain.com/index.php/admin
173: [02:20:38] <JeremyRoundill> mahfuz: You'll have an incorrect rewrite base in your htaccess, probably.
174: [02:21:00] * muskie9_ has joined #silverstripe
175: [02:22:22] <antmas> Colin[pi]: yeah it would be pretty awesome
176: [02:22:23] * muskie9 quit (Read error: Connection reset by peer)
177: [02:22:41] <antmas> you could get an 8km run every day just by going through corodoors
178: [02:23:10] <Colin[pi]> antmas: meanwhile, my gf got all excited looking at some townhouses close by the other day, they do look real nice.... I looked at the price, $980,000 in 2013
179: [02:23:10] <Colin[pi]> :(
180: [02:23:17] <mahfuz> JeremyRoundhill: Sorry my .htaccess was not copied at all. I copied all the fils using SSH but the .htaccess was not copied
181: [02:23:20] <antmas> Colin[pi]: :O
182: [02:23:33] <Colin[pi]> antmas: for a fucking 3 bdr townhouse
183: [02:26:34] <Ryan-Toast> where’s the place where people give feature requests for SS?
184: [02:27:40] <Colin[pi]> Ryan-Toast: uservoice ?
185: [02:27:49] <Ryan-Toast> Colin[pi]: found it :)
186: [02:30:02] <Snowman23> Send a PR or STFU
187: [02:30:24] <Ryan-Toast> How can I add a custom field to be searched by the default search function?
188: [02:34:02] <antmas> hmmmmmm
189: [02:34:47] <Ryan-Toast> someone pls
190: [02:36:18] <antmas> to right align or left align
191: [02:36:21] <antmas> on a form
192: [02:36:35] <Ryan-Toast> depends where the fields are.
193: [02:36:44] <UncleCheese> Stomach yes
194: [02:39:46] <Tanger> Is there a way to set a default DateFormat for members in a dataextension class?
195: [02:40:17] * jedateach quit (Ping timeout: 245 seconds)
196: [02:40:57] * novaweb quit (Quit: Leaving)
197: [02:46:18] <antmas> Ryan-Toast: its in the middle of the page
198: [02:46:28] <antmas> so like Label : Field
199: [02:46:37] <antmas> left align looks weird, but lines up better
200: [02:46:40] <Ryan-Toast> antmas: screen it, noob.
201: [02:46:47] <antmas> Ryan-Toast: :|
202: [02:46:53] <antmas> Ryan-Toast: hold on to your panties
203: [02:48:32] <antmas> Ryan-Toast: http://i.imgur.com/DmkadcQ.png
204: [02:48:52] <antmas> wondering if left align for the lables is better than the right align
205: [02:49:36] <simon_w|work> Snowman23, you now that project you were nagging me to do? http://decry.pt
206: [02:50:17] <Ryan-Toast> antmas: looks like you’re making a kcrosoft site so: http://msdn.microsoft.com/en-us/library/windows/apps/jj839734.aspx
207: [02:50:23] <Ryan-Toast> microsoft**
208: [02:51:09] <Ryan-Toast> so label above, or small left align.
209: [02:51:50] <antmas> Ryan-Toast: huh, nice
210: [02:51:57] <antmas> Ryan-Toast: thanks man, I'll use that
211: [02:52:10] <Ryan-Toast> antmas: good man :)
212: [02:52:35] <Ryan-Toast> antmas: they literally give you a size guide at the bottom too.
213: [02:52:48] <Cws> I just moved a site over from dev to production, and now I'm getting this error: Parse error: syntax error, unexpected $end in /framework/parsers/ShortcodeParser.php on line 260
214: [02:53:12] <Cws> Anybody know what could be causing it? Server keeps timing out, thinking something may have corrupted in the transfer
215: [02:53:14] <antmas> Ryan-Toast: yeah that is really good, MS never used to do this :|
216: [02:53:47] <Ryan-Toast> antmas: they still don’t do it very well, but at least it’s something.
217: [02:54:10] <Ryan-Toast> Cws: did you tar/zip the folder up, or did you ftp them individually?
218: [02:54:33] <Cws> Individually, tried again with zipping it but transfer fails every time.
219: [02:55:10] <Cws> I only have FTP access to the server, but I'm getting 67.7% packet loss when pinging it which also can't be good
220: [02:55:27] <Ryan-Toast> Cws: :/ no ssh access either?
221: [02:55:49] <Cws> Nope :(
222: [02:56:26] <Ryan-Toast> Cws: http://i.imgur.com/kmln2n8.jpg
223: [02:57:06] <Cws> Yeah that's about how I'm feeling hahaha
224: [03:01:44] <Snowman23> 15:49:36 <@simon_w|work> Snowman23, you now that project you were nagging me to do? http://decry.pt
225: [03:01:47] <Snowman23> Which one? :O
226: [03:01:49] <Snowman23> I see :D
227: [03:01:51] <Snowman23> Ohhhh
228: [03:01:56] <Snowman23> simon_w|work: >try one for free
229: [03:01:58] <Snowman23> >not opensource
230: [03:02:04] <simon_w|work> Snowman23, cry me a river :p
231: [03:02:15] <Snowman23> Well it's a bit hypocritical
232: [03:02:20] <Snowman23> "Software shouldn't be restrictive"
233: [03:02:27] <Snowman23> "Unless it's us restricting you. Then you can go fuck yourself"
234: [03:02:39] <antmas> oh tits they also have Segoe UI font icons
235: [03:05:19] <antmas> oh wait
236: [03:05:23] <antmas> just for 8.1 apps
237: [03:05:24] <antmas> :(
238: [03:07:14] <Snowman23> simon_w|work: But ty for link, I will poke around it ^.^
239: [03:10:32] <Ryan-Toast> antmas: it'
240: [03:10:38] <Ryan-Toast> s a licenced font is why.
241: [03:11:23] <antmas> Ryan-Toast: we're licenced for it
242: [03:11:35] <antmas> Ryan-Toast: just using it in ASP is all backwards
243: [03:11:42] <Ryan-Toast> antmas: could probs use icomon to seperate them orut then
244: [03:11:47] <Ryan-Toast> icomoon
245: [03:12:25] <antmas> true
246: [03:12:31] <antmas> I'm using just font awesome at the mo
247: [03:12:58] <Ryan-Toast> yeah, fontawesome is good.
248: [03:13:18] <Ryan-Toast> getting a little too big for my liking though, without an inbuilt customiser.
249: [03:13:26] <Tanger> Hey guys, I've noticed that on the very first dev/build call on a site, it seems to be instantiating DataObjects, which causes any DB calls in populateDefaults to fail. Is this how it's meant to work? Because I always thought dev/build didn't create any actual records
250: [03:13:36] <antmas> Ryan-Toast: yeah I'm going to cull it right back once our icons are desided
251: [03:13:38] <antmas> decided*
252: [03:13:44] <Ryan-Toast> antmas: I always forget.
253: [03:13:54] <Ryan-Toast> antmas: Need to add it to my go-live repo
254: [03:14:02] <antmas> indeed
255: [03:14:21] <Snowman23> Tanger: It does populateDefaultRecords I believe
256: [03:14:34] <Snowman23> Tanger: Basically, you're right, it shouldn't do that, but there are sometimes bugs in how things are built
257: [03:14:40] <Snowman23> Tanger: I've often had bugs with subsites with that kind of thing
258: [03:14:48] <Ryan-Toast> subsites.
259: [03:14:50] <Snowman23> Tanger: So yes, it's a bug, you should fix it. If you're too lazy to fix, you should just work around it
260: [03:15:03] <Ryan-Toast> sub sites.
261: [03:15:06] <Ryan-Toast> sub-sites.
262: [03:15:09] <Ryan-Toast> SUBSITES
263: [03:15:17] <Ryan-Toast> SUUUBBBSSSIIITTTEEESSSSSSSS
264: [03:15:18] <antmas> SUBSPRONKS
265: [03:15:19] <Tanger> Snowman23: Cool, just so long as I'm not being a derp :)
266: [03:15:24] <Ryan-Toast> spronk, pls.
267: [03:15:29] <Ryan-Toast> spronk2
268: [03:15:34] <Ryan-Toast> aye, gurl.
269: [03:15:37] <spronk2> yeah boi
270: [03:15:38] <Ryan-Toast> you heard about subsites?
271: [03:15:45] <Ryan-Toast> prettyy cool module
272: [03:15:48] <Snowman23> Tanger: Just SilverStripe being derpy as usual :P
273: [03:17:26] <Ryan-Toast> antmas: how do I replicate that bug in my cms theme?
274: [03:17:46] <antmas> Ryan-Toast: hmmmm, I dunno - do what I did in my gif?
275: [03:17:57] <antmas> I was just bouncing in and out of 1-3 levels of breadcrumbs
276: [03:18:01] <Ryan-Toast> it was already there in the gif, wasn’t it
277: [03:18:42] * muskie9 has joined #silverstripe
278: [03:18:45] <antmas> Ryan-Toast: I was switching between pages/objects in that gif
279: [03:18:55] <Ryan-Toast> dataobjects?
280: [03:19:05] * camfindlay quit (Quit: camfindlay)
281: [03:22:18] <Stomach> UncleCheese - awesome
282: [03:22:26] * muskie9_ quit (Ping timeout: 250 seconds)
283: [03:33:16] * wrangler has joined #silverstripe
284: [03:33:48] <wrangler> Hey guys how the heck do I call a page controller function from my js. Its doing my head in!!
285: [03:34:45] <wrangler> Guess 4.30 is not a great time to ask a question
286: [03:34:52] <Snowman23> lol
287: [03:35:03] <Snowman23> wrangler: Like, AJAX to it?
288: [03:35:10] <wrangler> Yup
289: [03:35:11] <Snowman23> http://yoursite.com/Page_Controller/foo
290: [03:35:15] <Snowman23> Does that work?
291: [03:35:20] <Snowman23> Make sure foo() is an allowed_action
292: [03:35:45] <wrangler> OK mate that might be it!!! Will give it a shot
293: [03:38:45] <UncleCheese> Snowman23 where do i put in a ticket?
294: [03:39:45] <antmas> UncleCheese: in the butt
295: [03:39:55] <UncleCheese> i love irc
296: [03:40:53] <wrangler> No still getting a 404 on the console
297: [03:40:58] <wrangler> $('#ajax-SSEnv').on('click', function() { $('#test-input').load('/ServerPage_Controller/grepSSEnv', function() { }); return false; });
298: [03:43:49] * Olliepop quit (Ping timeout: 246 seconds)
299: [03:43:49] * antmas quit (Quit: Page closed)
300: [03:47:02] * Stomach quit (Quit: zzz)
301: [03:47:49] <wrangler> @Snowman23 Thanks mate all good, Needed to be in allowed actions, also flushing helps
302: [03:48:39] <Tanger> Anybody know of any good online references to shed some light on Dependancy injection?
303: [03:49:44] <Snowman23> wrangler: :D
304: [03:49:45] <Snowman23> Yay
305: [03:49:55] <Snowman23> UncleCheese: NO
306: [03:49:57] <Snowman23> NO TICKETS 4 U
307: [03:49:58] * Snowman23 runs away
308: [03:50:07] <Snowman23> UncleCheese: If you seriously need osmething, you should talk to Katie (WHO JUST LEFT, HA)
309: [04:06:54] * muskie9 is now known as _muskie9_
310: [04:07:36] * _muskie9_ is now known as muskie9
311: [04:08:31] * Hailwood quit (Remote host closed the connection)
312: [04:09:44] <adrexia> Snowman23 are you coming to philosophy Tuesday? Apparently it's on Wednesday this week. ;)
313: [04:09:48] <Snowman23> Um
314: [04:09:55] <Snowman23> Probably not, got some deadlines this week
315: [04:09:56] <Snowman23> :(
316: [04:10:03] <adrexia> ahh, fair enough
317: [04:10:59] <adrexia> I'm a bit worn out from trying to bash two completely different sorts of javascript frameworks together. But I could use a beer or two.
318: [04:11:50] * Stomach has joined #silverstripe
319: [04:12:53] * Cws quit (Ping timeout: 246 seconds)
320: [04:14:40] <wrangler> Hey Snowman if I catch you before you head out any reason why my parameter is not getting passed to the function
321: [04:14:50] <Snowman23> wrangler: How are you passing it?
322: [04:15:02] <Snowman23> As $_GET?
323: [04:15:20] <wrangler> Yup
324: [04:15:27] <wrangler> $('#ajax-SSEnv').on('click', function() { $('#test-input').load('/ServerPage_Controller/grepSSEnv/test', function() { x }); })
325: [04:15:36] <Snowman23> For that uh
326: [04:15:41] <Snowman23> There's weird rules
327: [04:15:43] <wrangler> Maybe I am misunderstanding
328: [04:15:44] <Snowman23> I don't know of hand sory
329: [04:15:52] <Snowman23> But you could do grepSSEnv/?foo=test
330: [04:15:57] <Snowman23> Then $_GET['foo'] directly
331: [04:16:17] <wrangler> OK thats a direction to move in. Thanks again
332: [04:19:22] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
333: [04:20:33] <MichalKleiner> Tanger: this looks interesting http://php-di.org/
334: [04:20:54] <MichalKleiner> and http://code.tutsplus.com/tutorials/dependency-injection-in-php--net-28146
335: [04:21:55] <Tanger> MichaelKleiner: Sweet, thanks man. Time for some serious reading at lunch
336: [04:23:14] * muskie9 is now known as _muskie9_
337: [04:23:22] <wrangler> Cheers Snowman got exactly what I needed
338: [04:26:36] * _muskie9_ is now known as muskie9
339: [04:27:42] * Ryan-Toast quit (Quit: Ryan-Toast)
340: [04:29:54] * muskie9 is now known as _muskie9_
341: [04:33:19] * _muskie9_ is now known as muskie9
342: [04:35:22] * muskie9 is now known as _muskie9_
343: [04:35:32] * _muskie9_ is now known as muskie9
344: [04:37:46] * cloph_away has joined #silverstripe
345: [04:38:17] * cloph quit (Ping timeout: 264 seconds)
346: [04:39:37] * muskie9 is now known as _muskie9_
347: [04:39:38] * _muskie9_ is now known as muskie9
348: [04:43:20] * Ryan-Toast has joined #silverstripe
349: [04:43:23] * Stomach quit (Quit: zzz)
350: [05:05:01] * mahfuz quit (Ping timeout: 246 seconds)
351: [05:05:54] <Colin[pi]> oh for fuck's sake
352: [05:06:01] <Snowman23> ?
353: [05:06:11] <Colin[pi]> customer specifically requested mega menu on their site
354: [05:06:13] * muskie9 is now known as _muskie9_
355: [05:06:16] <Colin[pi]> site was built with mega menu
356: [05:06:26] <Colin[pi]> was demonstrated and this is what they wanted
357: [05:06:36] <Snowman23> lol
358: [05:06:40] <Colin[pi]> now is concerned and says that dropdown is what they want
359: [05:06:42] * Ryan-Toast quit (Quit: Ryan-Toast)
360: [05:06:46] * _muskie9_ is now known as muskie9
361: [05:06:56] <Colin[pi]> frustrating, but thankfully it's configurable lol
362: [05:06:58] <Snowman23> muskie9: OI
363: [05:07:01] <Snowman23> muskie9: CALM THE NICK CHANGES BRO
364: [05:11:47] * micmania1 quit (Quit: micmania1)
365: [05:13:09] <muskie9> Snowman23, downside to late night w/the laptop unplugged
366: [05:13:17] <Snowman23> lol
367: [05:13:45] <muskie9> better than my earlier issue of disconnecting and reconnecting... got blacklisted from the channel for that one lol
368: [05:15:52] * wrangler quit (Ping timeout: 246 seconds)
369: [05:19:31] * muskie9 is now known as _muskie9_
370: [05:19:43] * _muskie9_ is now known as muskie9
371: [05:19:53] * muskie9 has left #silverstripe
372: [05:25:45] * spronk2 quit (Quit: I may need a longer sleep timer...)
373: [06:05:51] * clairef quit (Quit: Leaving.)
374: [06:06:41] * r_hector has joined #silverstripe
375: [06:35:06] * novaweb has joined #silverstripe
376: [06:36:48] <novaweb> Getting an InjectorClass error on a live site… Something to do with the cache I think… http://radianthealth.co.nz/register/registration-form/ Upgraded to 3.1.8 then back to 3.1.5 after finding this error. Have created and dumped contents of silverstripe-cache but no improvement :/
377: [06:37:12] <novaweb> Any clues let me know..
378: [06:38:31] <novaweb> Looking in to spam protection for now.
379: [06:43:54] * UltimateHodor is now known as kerosene
380: [06:46:20] * willr has joined #silverstripe
381: [06:47:11] * MichalKleiner is now known as MK_away
382: [06:56:58] * guci0 has joined #silverstripe
383: [06:56:59] <guci0> Morning :)
384: [06:58:18] * Shrike_Finland has joined #silverstripe
385: [07:09:36] * UncleCheese has joined #silverstripe
386: [07:16:25] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
387: [07:20:36] * Stomach has joined #silverstripe
388: [07:29:13] * wmk has joined #silverstripe
389: [07:34:35] * glenn-bautista quit (Quit: Leaving.)
390: [07:36:53] * Stomach quit (Quit: zzz)
391: [07:37:26] * Eliseth has joined #silverstripe
392: [07:44:09] * lerni has joined #silverstripe
393: [07:49:01] <Tanger> Shit it's stormy
394: [07:49:08] <Tanger> Looks like it's 10pm here when it's only 4
395: [07:55:48] * Kingy is now known as Kingy[a]
396: [08:01:26] <wmk> Eliseth, have you seen the basic svg module for ss?
397: [08:01:30] <wmk> maybe it's helpful for you
398: [08:02:07] <wmk> http://addons.silverstripe.org/add-ons/stevie-mayhew/silverstripe-svg
399: [08:19:17] <Kolin> Hey
400: [08:20:35] <wmk> ho
401: [08:20:51] <Kolin> sup wmk?
402: [08:25:06] <lerni> hi wmk - did you had a go with this svg-module? If I got it right it outputs svg files inline?
403: [08:25:14] * micmania1 has joined #silverstripe
404: [08:26:48] <wmk> lerni, dunno, i just stumbled over it. and as afaik Eliseth was fighting around with svg it might help i thouhgt
405: [08:27:06] <wmk> making image class support svg would be a great feature...
406: [08:27:55] <lerni> preview, scalable, fallback :)
407: [08:31:11] <Shrike_Finland> What might be the error, as my default value from enum is not selected. Insted, the first value gets selected: new DropdownField('NewsSize', _t('News.NEWSSIZE','NewsSize'),$this->dbObject('NewsSize')->enumValues())
408: [08:33:31] * CerV has joined #silverstripe
409: [08:33:44] * CodeTrap has joined #silverstripe
410: [08:34:38] <CerV> Hi all, i got trouble with my navigation menu, is there a way to only loop over the children of a specific page?
411: [08:35:06] * CodeTrap quit (Client Quit)
412: [08:35:22] <micmania1> CerV: <% loop Children %>
413: [08:35:38] <micmania1> $Children* :P although both will work
414: [08:36:39] <CerV> micmania1: this is what i am doing right now, problem is, due to how the pages are organised, the menu doesnt appear on several pages (that are on the same level as the home page)
415: [08:37:38] <micmania1> Is this for a sidebar or the main navigation? What's the issue with how they're organised?
416: [08:38:17] <CerV> micmania1: i have a "home" page, where several children branch out, and on the same level there is contact, sitemap, ... , on these pages, the nav menu doesn't show, its the main navigation
417: [08:38:31] <CerV> micmania1: i have a seperate top navigation for those
418: [08:43:26] <micmania1> <% loop $Page(home).Children %> will loop only the home page, but i'm not clear on what you're actually doing.
419: [08:44:11] <CerV> hmm, thx, lets try.....
420: [08:46:26] <CerV> micmania1: hmm, not working for me, i'll try to rephrase whats going on....
421: [08:49:17] <CerV> micmania1: ok check this out: http://pastebin.com/EX850fia
422: [08:49:29] * Guits has joined #silverstripe
423: [08:49:33] <CerV> micmania1: this is an approximation to the layout of my site
424: [08:50:38] <CerV> micmania1: since "home" is on the same level as "contact", when i view the "contact" page, the navigation menu doesn't show
425: [08:50:54] <Eliseth> Morning
426: [08:51:21] <Guits> I have a control that when I use a leftJoin on another DO returns that DOs ID as ID ($ID in the template)
427: [08:51:26] <CerV> micmania1: this: http://pastebin.com/J1bZQwFU is the menu.ss in question
428: [08:51:27] <Eliseth> wmk, No? What module?
429: [08:51:36] <Eliseth> nvm, just saw the link ^^
430: [08:51:38] <Guits> If i skip the leftjoin , correct ID is returnet
431: [08:51:42] <micmania1> CerV: for the main navigation create a method on Page_Controller which gets the correct children for your main navigation and call that instead.
432: [08:53:40] <Guits> ..but only if i sort by that ID ..
433: [08:53:41] <CerV> micmania1: ok, where can i look that up?
434: [09:01:43] <micmania1> SiteTree::get()->filter('URLSegment', 'home')->first()->Children()
435: [09:04:16] <wmk> Eliseth, fine
436: [09:05:32] <Eliseth> I think making image class support svg doesn't add much tbh, since resizing and such has no additional value to SVG
437: [09:05:50] <Eliseth> However, allowing the image class upload of any image type including SVG would help :D
438: [09:06:50] * r_hector quit (Quit: Leaving.)
439: [09:07:59] * kinglozzer has joined #silverstripe
440: [09:11:31] <CerV> micmania1: thank you, i wish i wouldn't have to bother you any further but where do i put this?
441: [09:15:17] * Guest45864 is now known as elgrodo
442: [09:16:45] <elgrodo> nick elgrodo
443: [09:17:38] <elgrodo> In the comments module I note this line: return ($this->request->isAjax()) ? $comment->renderWith('CommentsInterface_singlecomment') : $this->redirectBack();
444: [09:18:16] <elgrodo> it appears to be using the template from the comments module and not the one in my theme (which has Foundation classes on the links)
445: [09:18:21] <elgrodo> anyway to overide this?
446: [09:18:38] * willr quit (Quit: willr)
447: [09:20:21] * Pylaserk has joined #silverstripe
448: [09:23:25] * ThePeach has joined #silverstripe
449: [09:23:35] <Pylaserk> areet
450: [09:24:21] <micmania1> areet
451: [09:26:02] <Pylaserk> micmania1: so I was thinking of seeing if I could do this http://www.chroniclelive.co.uk/news/north-east-news/international-students-newcastle-take-classes-8142379
452: [09:27:00] <micmania1> what is it? (I try not to click links to newspapers :P)
453: [09:27:00] <Pylaserk> #xD
454: [09:27:23] <micmania1> CerV: http://pastie.org/private/fvxlmjlht94uskobelqdg - Like that.
455: [09:27:37] <Pylaserk> micmania1: "Geordie for speakers of other languages" at the universities.
456: [09:27:41] * novaweb quit (Quit: novaweb)
457: [09:28:09] <micmania1> Should get Snowman23 on it as well so he can go out and get absolutely 'mortal'
458: [09:28:28] <micmania1> Geordie short is his favourite TV show
459: [09:28:29] * jeroenem has joined #silverstripe
460: [09:28:30] <Pylaserk> haha, mortal.
461: [09:28:30] <micmania1> shore*
462: [09:28:41] <Pylaserk> I got mortal once. I slept behind the train station.
463: [09:29:06] <micmania1> seems sensible
464: [09:29:29] <Pylaserk> some rude chunts woke me up to ask where the caino was (about 50m down the road)
465: [09:30:40] <micmania1> vagrant/virtualbox is psissing me about :(
466: [09:31:09] <Pylaserk> why?
467: [09:31:13] <micmania1> One day i'm going to go absolutely mental and try docker for windows.
468: [09:31:19] <Pylaserk> lol fk that
469: [09:31:19] <micmania1> Just is. Bugs and shit.
470: [09:31:22] <Pylaserk> for now like.
471: [09:31:46] <micmania1> There's always a reason I need to keep windows on my laptop
472: [09:31:56] <micmania1> its netflix atm
473: [09:32:03] <micmania1> if it wasn't for that i'd be on ubuntu
474: [09:32:10] <Pylaserk> micmania1: vagrant doesn't actually do anything special beyond the predefined box thing, you can achieve all the same shit in about a couple of shell scripts.
475: [09:32:21] <Pylaserk> eww ubuntu
476: [09:32:30] <Pylaserk> also, you need windows for netfix?
477: [09:32:36] <micmania1> Pylaserk: I use shell scripts on vagrant
478: [09:32:40] <micmania1> but package when i'm good.
479: [09:32:48] <Pylaserk> thought you just need flash or something
480: [09:32:49] <CerV> micmania1: thank you for your efforts, i tried it, it didn't work(no items in the list), but also, the menu still doesn't show up at all on those pages mentioned, so i guess, there is some other issue i'll have to identify first
481: [09:32:50] <micmania1> you used to. I think you can watch it in your browser now
482: [09:33:11] <Eliseth> I thought Netflix runs on Chrome under Ubuntu?
483: [09:33:14] <Pylaserk> micmania1: yeah but point is, I can set up a VM, install an image, do all the port forwarding manually.
484: [09:33:24] <micmania1> Eliseth: I think it does now, never tried it though
485: [09:33:45] <Pylaserk> so if you're having trouble, perhaps share and we can figure it out
486: [09:33:57] <micmania1> Pylaserk: yeah, you can but i'm having with virtualbox too.
487: [09:34:11] <micmania1> it was a known bug. Had to upgrade.
488: [09:34:16] <Pylaserk> ah
489: [09:34:19] <Pylaserk> yeah well that sucks :<
490: [09:34:37] <micmania1> I'm going to docker everything one day
491: [09:35:04] <micmania1> Pylaserk: How's the weather back home? :p
492: [09:35:36] <Pylaserk> micmania1: today it's "heavy rain"
493: [09:35:44] <Pylaserk> which basically just means "rain"
494: [09:35:54] <Pylaserk> because "rain" means 'wet mist'
495: [09:35:56] <Pylaserk> I've found.
496: [09:36:16] <Pylaserk> although it's permenantly wet in this country, y'all seem to be quite confused as to what rain is... :<
497: [09:36:16] <micmania1> We had rain last night, but this morning was boiling (not literally).
498: [09:36:26] <Pylaserk> micmania1: yeh, that happens, lol,.
499: [09:36:37] <Pylaserk> micmania1: you get some good sideways spring downpours?
500: [09:36:43] <Pylaserk> dat sideways rain like...
501: [09:36:43] <micmania1> Its always hot here. Even winter was hot when i got here.
502: [09:36:49] <micmania1> oh, yeah. that wind
503: [09:37:03] <micmania1> I can hear the wind now
504: [09:37:04] <Pylaserk> micmania1: yeh, I mean I did tell you. It's pretty much like here.
505: [09:37:09] <Pylaserk> although your winters are a touch cooler.
506: [09:37:18] <Pylaserk> it seems I just had a warm one last year.
507: [09:37:29] <micmania1> yeah, there weather here is good when its not raining or too windy.
508: [09:37:33] <Pylaserk> hahaaha
509: [09:37:34] <Pylaserk> so never?
510: [09:37:35] <Pylaserk> :P
511: [09:37:38] <micmania1> haha
512: [09:37:50] <micmania1> 'windy' has been redefined.
513: [09:37:54] <Pylaserk> the trick in wellies is to get yoself some... err, wellies.
514: [09:37:58] <Pylaserk> I mean shelter.
515: [09:38:05] <micmania1> Its like once or twice a week wheer eyou get a bad day here.
516: [09:38:14] <Pylaserk> yeah. Find a wall that shelters the wind, but faces the sun. That's the trick.
517: [09:38:38] <micmania1> yeah, my house is on the top of a hill so i get sun all day on the weekends
518: [09:38:42] <Pylaserk> ps, get north for some serious summer treats.
519: [09:38:47] <micmania1> and weekdays, but i'm not here :(
520: [09:38:59] <micmania1> i'm going tramping this weekend. TRAMPING
521: [09:39:09] <Pylaserk> micmania1: yeah, but I mean, you have a deck right? Sweet barbeque times.
522: [09:39:20] <Pylaserk> evenings last forevers in the summer.
523: [09:39:26] <micmania1> two decks. one at the front and one at the bacl ;)
524: [09:39:44] <micmania1> for all day sun exposure
525: [09:39:56] * Pylaserk thinks of that deck video pisstake - one in the front AND one IN the back you say? xD
526: [09:40:05] <micmania1> hahaha
527: [09:40:07] <Pylaserk> choo choo
528: [09:40:15] <micmania1> dick in the front and a dick in the back.
529: [09:40:28] <Pylaserk> up the bum no babies... oh wait...
530: [09:40:30] <micmania1> Its funny. Even people over here laugh at how you say deck
531: [09:40:37] <Pylaserk> ?
532: [09:40:53] <Pylaserk> yeah, we know what we sound like... like.
533: [09:41:00] <micmania1> People just laugh when its used in the wrong sentence.
534: [09:41:12] <Pylaserk> because it becomes a pun!
535: [09:41:14] <Pylaserk> :D
536: [09:41:21] <micmania1> lol
537: [09:41:38] <simon_w> You mean a poon :p
538: [09:41:50] <Pylaserk> We have a tendency to meld words (and sounds) together just like you Geordies do.
539: [09:41:56] <Pylaserk> simon_w: no, no, that's something else entirely.
540: [09:41:57] <Pylaserk> :P
541: [09:42:30] <micmania1> wew wew wew. Howld on a minute. We speak proper english like.
542: [09:42:54] <Pylaserk> proper OLD english/viking mebbe.
543: [09:43:03] * Tanger quit (Quit: Tanger)
544: [09:43:18] <Pylaserk> we take different shortcuts. We are a little less... monosyllibilic about it too :P
545: [09:43:22] <Pylaserk> toon
546: [09:43:26] <Pylaserk> broon
547: [09:43:26] <Pylaserk> etc
548: [09:43:30] <Pylaserk> reet
549: [09:43:32] <Pylaserk> xD
550: [09:44:00] <micmania1> divn't knah what yi takin aboot.
551: [09:44:09] <Pylaserk> divnt eh.
552: [09:44:40] <micmania1> One of the royales complained that we didn't speak the queen's english once. German twats.
553: [09:44:40] <Pylaserk> hant herd that one yet
554: [09:44:48] <Pylaserk> LOL
555: [09:44:49] <Pylaserk> true
556: [09:45:00] <Pylaserk> I knew a scotsman with a great comeback for taht one too.
557: [09:45:14] <Pylaserk> "SHE WAS MARY; QUEEN OF SCOTS"
558: [09:46:14] <micmania1> Am gana make a robot to do my job for me and call it Cheryl after the queen of Newcastle.
559: [09:46:14] <Pylaserk> (In fantastic Aberdeen accent)
560: [09:46:20] <Pylaserk> LOL
561: [09:46:56] <Pylaserk> sheeril
562: [09:47:10] <Pylaserk> elgrodo: nope, btw.
563: [09:47:19] <Pylaserk> elgrodo: not unless there's a hook.
564: [09:48:01] <Pylaserk> CerV: $Menu(2)
565: [09:48:16] <Pylaserk> mebbe, idk what you want.
566: [09:49:35] <Pylaserk> Guits: what are you after?
567: [09:49:51] <Guits> ID from my "main" DO
568: [09:50:03] <Pylaserk> yeah, I mean... what do you want START AGAIN PLZ
569: [09:50:39] <Pylaserk> you're doing an x=>y thing.
570: [09:51:13] * Adesso has joined #silverstripe
571: [09:51:28] <Guits> I have a DataObject::get("AvailableCondoWeek") with a leftJoin('BookableWeek', 'Av_BookableWeekID = BookableWeek.ID')
572: [09:52:09] <Guits> the controller returns 'BookableWeek'.ID as ID to the template when i sort by BookableWeek.ID
573: [09:52:37] <Guits> when I sort by BookableWeek"."Start" "AvailableCondoWeek".ID is returned to the template
574: [09:52:46] <Guits> ..as $ID in both cases
575: [09:53:01] <Pylaserk> http://mywiki.wooledge.org/XyProblem
576: [09:53:02] <Guits> It is "AvailableCondoWeek".ID i am after
577: [09:53:29] <Pylaserk> Guits: why are you joining?
578: [09:53:47] <Guits> to be able to sort
579: [09:54:09] * travis-ci has joined #silverstripe
580: [09:54:09] <travis-ci> chillu/silverstripe-framework#159 (pulls/form-validation-exempt - 5d1c355 : Ingo Schommer): The build has errored.
581: [09:54:09] <travis-ci> Change view : https://github.com/chillu/silverstripe-framework/compare/817f8d6096c2...5d1c355cad00
582: [09:54:09] <travis-ci> Build details : http://travis-ci.org/chillu/silverstripe-framework/builds/42177040
583: [09:54:09] * travis-ci has left #silverstripe
584: [09:54:10] <Pylaserk> filter('BookableWeek.ID')
585: [09:54:15] <Pylaserk> fuck you travis
586: [09:54:15] <Pylaserk> fuck you travis
587: [09:54:17] <Pylaserk> filter('BookableWeek.ID')
588: [09:54:29] <Pylaserk> err
589: [09:54:34] <Pylaserk> sort(bookableweek.id)
590: [09:54:44] <Pylaserk> sort(relation.property)
591: [09:54:48] <Pylaserk> try it.
592: [09:55:06] <Guits> ok, thanx. But still is it not a bit strange ?
593: [09:55:24] <Pylaserk> no.
594: [09:55:49] <Pylaserk> Not even a mystery.
595: [09:56:28] <Pylaserk> think about it.
596: [09:56:46] <Guits> ..Unknown column 'BookableWeek.ID' in 'field list'
597: [09:57:05] <Pylaserk> $thing['prop'] = 2; $thing['prop'] = 2345; echo $thing['prop'];
598: [09:57:08] <Pylaserk> what is the output?
599: [09:58:16] <Teddy__> is there a way to crop an image at different sizes depending on various breakpoints ?
600: [09:58:28] <Pylaserk> yes.
601: [09:58:39] <Pylaserk> http://php.net/switch
602: [09:58:46] <Guits> yeah, but ........->sort('"BookableWeek"."ID", ID '); returns $ID = 123 and .....->sort('"BookableWeek"."Start", ID '); returns $ID = 555656
603: [09:59:17] <Guits> = ID from different DO depending on Sort field
604: [09:59:17] <Pylaserk> Guits: might be easier if you ouput the query before executing it.
605: [09:59:26] <Pylaserk> easier to understand*
606: [09:59:42] <Guits> ok
607: [09:59:44] <Pylaserk> this could be either of two things I guess.
608: [09:59:49] <wmk> Eliseth, yup, uploading svg to image field and make $Image.Cropped() be aware of that would be great.
609: [10:00:02] <wmk> can you crop an svg?
610: [10:00:17] <micmania1> wmk: you can with css
611: [10:00:24] <wmk> ah, cool.
612: [10:00:35] <wmk> then image class should be aware of that.
613: [10:00:39] <micmania1> I think. Or at least with attributes and stuff
614: [10:00:39] <Pylaserk> either a misunderstanding (thinking that the ORM is a query wrapper), or the ORM is automating to the point where it's not really a bug, but could be better.
615: [10:00:40] <wmk> *dreaming*
616: [10:00:44] <Pylaserk> wmk: yeah, change the viewport size.
617: [10:00:47] <Pylaserk> hmm
618: [10:00:52] <Pylaserk> ambiguious word 'viewport'
619: [10:00:55] <Pylaserk> the... 'frame' ?
620: [10:01:21] <Pylaserk> idk svg terminology. Document view size, but not the scale. Offset the origin of the image to change centre of 'crop'
621: [10:02:00] <wmk> Pylaserk, hopefully the new svg module will take care of that
622: [10:02:05] <Pylaserk> if you use inkscape, draw a circle in the top left of the document outline. Save, then open in IE
623: [10:02:18] <Pylaserk> it'll show a quarter of the circle.
624: [10:02:26] <Pylaserk> wmk: new svg module?
625: [10:02:29] <wmk> uploading logos as svg seems sexy...
626: [10:02:37] <wmk> http://addons.silverstripe.org/add-ons/stevie-mayhew/silverstripe-svg
627: [10:02:42] <Pylaserk> wmk: yeah... but you have to have logos as svg in the first place :<
628: [10:02:55] <wmk> of course...
629: [10:03:22] <Pylaserk> Hmm, seems a bit complex, but yeah, cool.
630: [10:04:59] * Shrike_Finland quit (Quit: Leaving.)
631: [10:05:34] <Eliseth> We now use the file upload instead of image
632: [10:06:11] <Pylaserk> Same thing, slightly different config.
633: [10:06:22] <wmk> can i call self::create in a static function (e.g. shortcode hanlder)?
634: [10:06:33] <Pylaserk> uhh, perhaps.
635: [10:06:45] <simon_w> wmk, yes
636: [10:07:03] <simon_w> You can also do new self()
637: [10:07:06] <Pylaserk> I don't really see why not, but you'll have to give it a go to see if get_called_class will pick up correct ty... oh gw simon_w :>
638: [10:07:18] <wmk> simon_w, php 5.3 still on server
639: [10:07:24] <simon_w> wmk, so?
640: [10:07:35] <Pylaserk> wmk: should work. Self isn't a new thing.
641: [10:07:36] <wmk> is self() php or ss?
642: [10:07:40] <simon_w> PHP
643: [10:07:50] <wmk> ok, don't know when it was introduced...
644: [10:07:51] <Pylaserk> wmk: no, self() as in new $classname()
645: [10:07:58] <Pylaserk> not a method named self :>
646: [10:08:06] <wmk> ah
647: [10:08:06] <Pylaserk> err, function*
648: [10:08:17] <Pylaserk> as in self::
649: [10:08:18] <Pylaserk> :>
650: [10:08:51] <Pylaserk> new {$this->classname}()
651: [10:10:45] <Teddy__> while using a switch statement in a template file, how can i detect screen size ? (width , etc) a variable of some sorts that silverstripe has to witch function for different breakpoints
652: [10:11:45] <simon_w> Teddy__, given that templates are entirely server side, there's no way to know the screen width
653: [10:13:13] <Teddy__> simon_w, then, is it possbile to havea switch to crop a image diff between let's say phone and desktop
654: [10:13:55] <CerV> Pylaserk: sorry for the delay, working 3 jobs at once right now
655: [10:13:58] <wmk> Teddy__, some kind of responsive images
656: [10:14:12] <CerV> Pylaserk: did you mean menu(2) might be causing my problems?
657: [10:14:19] <wmk> define more images with data-small-href etc and switch with javascript
658: [10:14:31] <wmk> there are one or two modules out there that do that for you
659: [10:14:42] <Teddy__> wmk, probably the best way
660: [10:19:33] <kinglozzer> wtf, I disable JavaScript in Chrome for testing and as soon as I refresh the page it re-enables it every time
661: [10:19:40] <kinglozzer> FF it is..
662: [10:20:46] * ccburns has joined #silverstripe
663: [10:22:27] <ccburns> Hey guys - looking for some help with running Silverstripe on Windows IIS 8.5. Anyone else having problems or is it just me? I’m normally a linux guy so I’m struggling to work things out on IIS
664: [10:23:48] <elgrodo> kinglozzer: Where are you disabling JavaScript? If you click on the favicon there's an option to block JavaScipt there which is working for me after a refresh also
665: [10:24:15] <kinglozzer> Dev tools settings menu
666: [10:25:22] * robert__ has joined #silverstripe
667: [10:25:23] <wmk> kinglozzer, i use developer toolbar
668: [10:25:26] <robert__> hi
669: [10:25:31] * Colin[pi] quit (Ping timeout: 244 seconds)
670: [10:26:38] <Pylaserk> CerV: no, I mean I didn't quite understand what you're up to. Again with the x=>y problem.
671: [10:27:20] <robert__> My install.php keeps showing "GD support for PHP not included" what's the problem? (Mint 17 Apache2, php5 php5-gd all installed --with-gd=/usr/share/php5/gd set in php.ini)
672: [10:29:22] <Pylaserk> Teddy__: the usual approach to this problem is to NOT load images, but rather to use ajax to load them in afterwards, when the screen size is known.
673: [10:29:28] <micmania1> robert__: which php.ini? Make sure that apache is reading from that file.
674: [10:29:47] * veb quit (Quit: My Mac has gone to sleep. ZZZzzz…)
675: [10:30:33] <robert__> thank you, mic, so the path /usr/share ... is correct?
676: [10:31:00] <Teddy__> Pylaserk, you're probably right, but don't have the time to find out how to do that :*(
677: [10:31:01] <CerV> Pylaserk: sorry, i kinda run into these kind of probs all the time, mostly cause i'm crash coursing silverstripe i guess :-)
678: [10:32:36] <CerV> Pylaserk: everything seemed to work yesterday but then the navigation menu wasn't showing on pages on the lowest level, there is no 'if' involved there so i'm quite confused (again)
679: [10:33:18] <robert__> thank you,bye
680: [10:33:23] * robert__ quit (Quit: Leaving)
681: [10:35:10] <kinglozzer> Teddy__: https://github.com/heyday/silverstripe-responsive-images
682: [10:35:23] <kinglozzer> (won't work on HtmlEditorField images)
683: [10:35:42] <wmk> [<span style="color: #6a8759;">ShortcodeName</span>] cannot work
684: [10:35:47] <Teddy__> kinglozzer, thanks i'll look into that :D
685: [10:35:53] <wmk> tinymce, i hate you for pasting colors from my IDE
686: [10:36:08] <wmk> and intellij, that wasn't nice from you!
687: [10:36:57] <CerV> CerV: not related to the changing of "control" to "loop" though
688: [10:38:16] <Teddy__> kinglozzer, wow this looks like exactly what i need :D
689: [10:39:55] <Pylaserk> [10:31] <Teddy__> Pylaserk, you're probably right, but don't have the time to find out how to do that :*(
690: [10:39:59] <Pylaserk> it's really not hard Teddy__
691: [10:40:13] <Pylaserk> I've never done it before and I can think of how to go about it
692: [10:40:32] <Pylaserk> kinglozzer: chrome is shit, welcome to the realisation.
693: [10:41:19] <Teddy__> Pylaserk, i know :( just don't want to bime more than i can chew , but kinglozzer gave me this molude link https://github.com/heyday/silverstripe-responsive-images
694: [10:41:26] <Teddy__> Pylaserk, seems really sweet
695: [10:41:34] <Pylaserk> CerV: the reason I can think of (from the top of my head) that your menu suddenly stopped working, is because someone renamed or deleted (and recreated) the page
696: [10:41:48] * Shrike_Finland has joined #silverstripe
697: [10:41:50] <Pylaserk> cool, well there you go :>
698: [10:47:42] <Pylaserk> CerV: your crash course is one way of thinking about it, the other way is that you could be approaching things the wrong way (putting too much logic in the template)
699: [10:47:47] <CerV> Pylaserk: chances are, it never really worked on those pages, i just came around to test them recently, its got something to do with the level they are on, maybe the way i arranged them in the tree is wrong
700: [10:48:25] <Pylaserk> CerV: well <% with $Page(url-segment-here) %> is _never_ a good idea.
701: [10:49:26] <Pylaserk> CerV: perhaps... as with all things X=>Y related... if you described what you're trying to achieve, not what isn't working in the way you're trying to achieve it, we could help better :>
702: [10:51:30] * wmk quit (Ping timeout: 264 seconds)
703: [10:54:16] <Pylaserk> you want the submenu of a specific section of the site?
704: [10:57:15] <Teddy__> kinglozzer, that module it the BOSS :D thaks for the link
705: [10:57:33] <kinglozzer> Teddy__: It's pretty neat! We've used it a lot recently
706: [10:58:06] <Teddy__> kinglozzer, def on the cleanest to do what i needed
707: [10:58:14] <CerV> Pylaserk: sorry, it appears that way, i posted an illustration of the site layout earlier here: http://pastebin.com/EX850fia
708: [10:59:51] <CerV> Pylaserk: the <% with $Page(url-segment-here) %> was just an suggestion i received, i didn't actually use it, it was later proposed to use a Page_Controller Method to get the list of Subpages, but that didn't fix it as well
709: [11:04:09] <CerV> Pylaserk: all said, i'm sure you are right in that i use too much logic in the template
710: [11:04:24] <micmania1> BED TIME
711: [11:04:27] <micmania1> Gan canny.
712: [11:05:57] * bikeydz has joined #silverstripe
713: [11:07:15] <bikeydz> Hi, I have two home pages in two languages
714: [11:07:25] <bikeydz> this $news = DataObject::get('NewsPage', null, 'NewsDate DESC', null, $limit);
715: [11:07:44] <bikeydz> returns the last 3 news pages
716: [11:08:00] <bikeydz> it works for en language
717: [11:08:29] <bikeydz> but not for ar (as now news pages exist in ar)
718: [11:08:48] <bikeydz> how can I show en news in ar homepage
719: [11:11:44] <Pylaserk> you must disable the query filter
720: [11:11:52] <Pylaserk> then re-enable it again afterwards.
721: [11:12:26] <simon_w> bikeydz, two letter language code? You're on 2.4?
722: [11:12:54] <Pylaserk> https://github.com/silverstripe/silverstripe-translatable/blob/master/docs/en/index.md#usage-1
723: [11:13:41] <Pylaserk> $origLocale = Translatable::get_reading_locale();Translatable::set_reading_locale('en_GB'); $obj = Thing::get(); Translatable::set_reading_locale($origLocale);
724: [11:13:50] <Pylaserk> or soemthing to that effect.
725: [11:13:53] * Guits quit (Ping timeout: 264 seconds)
726: [11:14:13] <simon_w> Pylaserk, there's a much easier way :p
727: [11:14:32] <Pylaserk> simon_w: perhaps. I'm no translatable master.
728: [11:14:37] <simon_w> Translatable::get_by_locale('NewsPage', 'en_US')->sort('NewsDate', 'DESC')->limit(3)
729: [11:14:49] <Pylaserk> cool, yeah.
730: [11:16:29] * Shrike_Finland quit (Quit: Leaving.)
731: [11:16:58] <Pylaserk> CerV: can you elaborate on what "doesn't work" means?
732: [11:17:36] * Adesso quit ()
733: [11:18:55] <Pylaserk> oooh, I understand now CerV
734: [11:19:20] <Pylaserk> you're simply asking "how to make main site menu?"
735: [11:20:57] <bikeydz> no, on 3.1
736: [11:21:46] <simon_w> bikeydz, Translatable::get_by_locale('NewsPage', 'en_US')->sort('NewsDate', 'DESC')->limit(3)
737: [11:21:59] <Pylaserk> CerV: http://doc.silverstripe.org/framework/en/tutorials/1-building-a-basic-site#the-navigation-system
738: [11:22:15] <Teddy__> any idea why CroppedImage(50, 50) would return the image shrinked to that size rather than cropped ?
739: [11:22:52] <Pylaserk> after the anchor tag, do perhaps: <% if $Children %><ul><% loop $Children %> ... (basically the same pattern again from this point)
740: [11:23:11] <Pylaserk> that'll give you staggered menu.
741: [11:23:20] <Pylaserk> or dropdowns, or whatever you do with your styling.
742: [11:24:43] * lerni quit (Remote host closed the connection)
743: [11:24:46] * guci0 quit (Ping timeout: 246 seconds)
744: [11:25:23] * ccburns has left #silverstripe
745: [11:26:41] <Pylaserk> CerV: http://sspaste.com/paste/show/5475b3ca8e108
746: [11:27:59] <bikeydz> simon, I'm trying that
747: [11:30:42] <Snowman23> There are two files containing the "ZenFieldGroup" class: "/sites/ecard/zen-fields/code/ZenFieldGroup.php" and "/sites/ecard/zen_fields/code/ZenFieldGroup.php"
748: [11:30:46] <Snowman23> Yo so just checking
749: [11:30:48] <Snowman23> bah
750: [11:30:51] <Snowman23> one of them is _, one is -
751: [11:30:52] <Snowman23> :/
752: [11:30:53] * Snowman23 sighs
753: [11:31:50] <Snowman23> wtf
754: [11:31:53] <Snowman23> the original repo had two
755: [11:31:53] <Snowman23> how
756: [11:46:49] * Shrike_Finland has joined #silverstripe
757: [11:47:23] <CerV> Pylaserk: hmm, i'll try to elaborate, i managed to build a site, i made the theme including the templates from scratch, the menunavigation is pretty much the same you posted (i followed this tutorial and changed the css to fit my needs: http://blog.arvixe.com/how-to-make-dropdown-menu-for-silverstripe-cms-theme/
758: [11:48:38] <CerV> Pylaserk: the menu navigation does work as intended, its just that it isn't shown on all the pages, it just works on home and home->subpages, not on pages parallel to home like contact, sitemap and the likes
759: [11:49:37] <CerV> Pylaserk: i removed the <% if $Children %> loop in the hope that on pages without children, the menu would also show, but it didn't work
760: [11:53:58] * cloph_away is now known as cloph
761: [11:54:12] <bikeydz> Simon: Translatable::get_by_locale('NewsPage', 'en_US')->sort('NewsDate', 'DESC')->limit(3) did not work
762: [11:55:28] * lerni has joined #silverstripe
763: [11:57:39] * Otterpocket has joined #silverstripe
764: [11:58:31] * lerni_ has joined #silverstripe
765: [12:00:18] <CerV> Pylaserk: i'm using <% loop Menu(2) %> since thats the part of the site i wish to show in the navigation, but as it seems since my contacts or sitemap page do not have a Level(2), the Loop is skipped, so i tried to loop the "home" part of my site specifically
766: [12:00:59] <CerV> Pylaserk: I hope this makes more sense to you now, i can post whatever part of my code that helps illustrate the issue
767: [12:01:01] * lerni quit (Ping timeout: 255 seconds)
768: [12:01:13] <Otterpocket> Hello, How do I run a default function in my DataExtension when any other method is used ? (function __construct basicaly)
769: [12:02:49] * lerni_ quit (Ping timeout: 255 seconds)
770: [12:03:46] <Otterpocket> ahhh I see I have to call parent::__construct()
771: [12:03:49] <Otterpocket> thanks :D
772: [12:03:55] * lerni has joined #silverstripe
773: [12:21:02] <Snowman23> bah
774: [12:21:06] <Snowman23> I've confirmed _Ss_env gets read
775: [12:21:09] <Snowman23> but it doesn't connect to the right DB
776: [12:21:10] * Snowman23 sobs
777: [12:22:58] <Snowman23> omg I'm an idiot
778: [12:22:59] <Snowman23> ;_;
779: [12:23:03] * Snowman23 sobs harer
780: [12:23:05] <Snowman23> harder*
781: [12:24:41] <CerV> Pylaserk: alright i fixed it, as i suspected, the problem was the scope, loop menu(2) wont work in my case, but loop $Page(home).Children does
782: [12:38:36] <Pylaserk> CerV: no, that's not a fix.
783: [12:38:37] <Pylaserk> that's a hack.
784: [12:39:12] <Pylaserk> Otterpocket: always parent::construct (and parent::init in the case of controllers for init())
785: [12:39:16] <Pylaserk> never don't.
786: [12:40:07] <Pylaserk> CerV: the issue is probably that you have some weird template structure that means you've got more than one 'parent' template, and only one has the menu on it.
787: [12:40:34] <Pylaserk> or your page classes inherit from the wrong superclass.
788: [12:40:56] <Pylaserk> ie, you copied and pasted Page.php and changed the classnames.
789: [12:41:12] <Pylaserk> thinking it was a neat tempalte, when it's not intended to be used like that.
790: [12:47:20] <CerV> Pylaserk: i didn't create or modify any php files, all i did so far was with ss files, but i'll gladly show you my Page.ss
791: [12:48:51] <CerV> Pylaserk: but you are not talking about that kind of template, are you?
792: [12:49:55] <CerV> Pylaserk: i kinda understand what you mean, and it feels like it should not be necessary, its just i really can't pinpoint where i took a wron turn when i started the site
793: [12:52:58] * bikeydz quit (Ping timeout: 246 seconds)
794: [12:54:03] <CerV> Pylaserk: here's my page.ss: http://pastebin.com/qUyaGv9a its not too pretty, but currently, it almost works :-)
795: [13:04:10] * Guits has joined #silverstripe
796: [13:11:25] <Snowman23> Heh, production code
797: [13:11:26] <Snowman23> return (isset($this->data['FirstName ']) ? $this->data['FirstName '] : 'Tim');
798: [13:12:57] * elgrodo quit (Ping timeout: 240 seconds)
799: [13:13:15] <Pylaserk> CerV: yeah, pas... oh you did.
800: [13:13:40] <Pylaserk> why did you do that Snowman23? Your name isn't even Tim. GOSH.
801: [13:14:00] <Snowman23> WASN'T ME MAN
802: [13:14:47] <Pylaserk> CerV: so... a few things.
803: [13:14:55] <Pylaserk> 1: remove the generator meta tag.
804: [13:15:05] <Pylaserk> 2: $MetaTags should be in the <head>
805: [13:15:18] <Pylaserk> 3: you need to include <% base_tag %> (this is not optional)
806: [13:15:31] <Pylaserk> 4: html5, man. It's 2014
807: [13:16:04] * UndefinedOffset has joined #silverstripe
808: [13:17:18] <Pylaserk> 5: those conditional comments (style, etc) for IE should also be in the head.
809: [13:17:37] <Pylaserk> 6: this doesn't actually show me your navigation structure :<
810: [13:18:03] <Pylaserk> 7: oh sorry, you do have a basetag. but it should be immediately after the opening <head>
811: [13:22:36] * Eliseth quit (Ping timeout: 250 seconds)
812: [13:25:46] * elgrodo has joined #silverstripe
813: [13:30:18] <CerV> Pylaserk: alright, done, the Navigation is here(NaviTest.ss):http://pastebin.com/pRUaJHKg but you know that part already, should i paste the sitemap so you see the whole site structure?
814: [13:38:58] <Pylaserk> CerV: an annotated screenshot might be better (circle in red what's missing/wrong, etc)
815: [13:39:27] <Pylaserk> CerV: ha, you're coding in nano?
816: [13:39:29] <Pylaserk> who does that :<
817: [13:50:22] * Guits quit (Ping timeout: 255 seconds)
818: [13:53:19] <Pylaserk> also CerV, http://pastebin.com/pRUaJHKg line 2, change it to <% loop $Menu(1) %>
819: [13:53:22] <Pylaserk> then that's that.
820: [13:53:26] <Pylaserk> done.
821: [13:53:52] <Pylaserk> oh, wait.
822: [13:53:58] <Pylaserk> That's not the main menu one.
823: [13:55:03] <Pylaserk> Why do you have two navs? What is the second one for?
824: [13:55:29] <CerV> Pylaserk: yep i'm on nano, i have 2 navs, one is on top
825: [13:56:18] <CerV> Pylaserk: wait a sec, check out this website: www.vogelbusch-biopharma.com its the one i'm tasked to recreate (its the company i work for)
826: [13:57:21] <CerV> Pylaserk: you should get a pretty good picture what does what (and why) this way
827: [13:58:26] <Pylaserk> CerV: nope, not really. It looks like a standard menu.
828: [13:58:54] <Pylaserk> http://sspaste.com/paste/show/5475b3ca8e108
829: [14:02:03] <CerV> Pylaserk: but the top nav is clear now, and the std menu you mention is the one i used first, but ran into trouble on certain pages
830: [14:03:48] <CerV> Pylaserk: as for your comment concearning changing line 2 to $menu(1), its Menu(2) in my case (menu(1) is the top nav), but when i use it like that, its broken on my contact page for example
831: [14:04:29] <CerV> Pylaserk: i'll make a screenshot for you, one sec
832: [14:04:36] <Pylaserk> CerV: Menu(2) is for submenus of pages that have them. It's not for children of whatever page is currently being looped
833: [14:05:50] <CerV> Pylaserk: i'll illustrate with pictures, might make things clearer
834: [14:06:04] <Pylaserk> might do
835: [14:10:58] <Pylaserk> also CerV it might be handy to take a picture of the site tree (the pages in the cms, so I can see the structure as it currently is)
836: [14:12:43] <CerV> Pylaserk: alright #1 as it looks right now(and how its supposed to look): http://picpaste.com/site_current-AUmbnVxu.png
837: [14:13:55] <Pylaserk> right, so which are your two menus?
838: [14:14:34] <CerV> Pylaserk: top right and center
839: [14:14:50] <Pylaserk> You have the wrong idea for the most part I think.
840: [14:14:51] <CerV> Pylaserk: this is what happens when i use menu(1)
841: [14:14:54] <Pylaserk> top right is not a menu.
842: [14:14:56] <CerV> http://picpaste.com/site_with_menu_1-j0GvnvGb.png
843: [14:15:00] <Pylaserk> center is Menu(1)
844: [14:15:31] <Pylaserk> Yeah, you've confused site structure with layout.
845: [14:15:36] <CerV> Pylaserk: its no drop down menu but its a menu, i need to loop it because of the translations
846: [14:15:58] <Pylaserk> yeah, it also seems like you don't have a translation module installed
847: [14:16:11] <CerV> Pylaserk: i do and its working fine
848: [14:16:15] <Pylaserk> right
849: [14:16:23] <CerV> what makes you thing that i dont?
850: [14:16:47] <Pylaserk> It seems like you're using a flat site layout, and using sub-pages of a certain tree to handle translations
851: [14:17:12] <Pylaserk> root -> de, en
852: [14:17:24] <Pylaserk> en -> company, about, etc
853: [14:17:35] <CerV> "silverstripe/translatable" is handling the translations
854: [14:17:39] <Pylaserk> right
855: [14:18:04] <Pylaserk> well, my advice would be to install a site map module (for humans, not google)
856: [14:18:07] <CerV> i read that there are differences how it integrates in the structure
857: [14:18:48] <CerV> Pylaserk: which one would you recommend?
858: [14:18:50] <Pylaserk> top right isn't a menu, it's just a language chooser, site map, and a quick link to the contact page.
859: [14:19:02] <Pylaserk> CerV: dunno, haven't needed one in a long long time
860: [14:19:09] <Pylaserk> I don't know what's available now
861: [14:20:14] <Pylaserk> but anyway, the point is that the menu is the centre below banner/logo
862: [14:20:25] <Pylaserk> top right is just a quick shortcut thing.
863: [14:20:38] <Pylaserk> use something else for this, not something else to try and re-create the menu.
864: [14:21:02] <Pylaserk> it will also save you the ownerous task of manually keeping a site tree page up to date if you use a module.
865: [14:21:36] <CerV> Pylaserk: there are many, some out of date, i'm afraid to mess something up again, but i'll try
866: [14:21:52] <CerV> Pylaserk: here's the site tree: http://picpaste.com/SiteTree-Q2qRPkyz.png from the admin interface
867: [14:22:18] * Shrike_Finland quit (Quit: Leaving.)
868: [14:23:28] <Pylaserk> CerV: what you've got there _could_ work
869: [14:26:41] <CerV> Pylaserk: the site isn't goin live in the nearest future, for demo purposes it works well enough, i'd really like to understand my mistakes better though
870: [14:27:10] <Pylaserk> but you'll need some fancy method on Page_Controller to fetch the homepage for taht domain to get the subtree.
871: [14:27:34] <CerV> Pylaserk: why is that?
872: [14:28:03] <CerV> Pylaserk: i get what you mean now
873: [14:28:16] <Pylaserk> if you keep the current approach CerV.
874: [14:28:21] <Pylaserk> it _could_ work.
875: [14:28:33] <Pylaserk> but you should still use a site tree module for the site tree page :>
876: [14:28:38] <CerV> Pylaserk: i could flatten the structure and set certain pages not to show up in the menus
877: [14:28:44] <Pylaserk> well
878: [14:29:00] <CerV> Pylaserk: and set these manually in the list on top
879: [14:29:15] <Pylaserk> you can keep what you have now, but change $Page(segment).Children to be $SiteMenu
880: [14:29:33] <Pylaserk> or something to that effect, where SiteMenu() is a method that gets the parent for that site (that translation)
881: [14:29:37] <CerV> i was talking to someone here earlier, he suggested this:
882: [14:29:57] <Pylaserk> there are also modules that let you manage menus independently from the site structure
883: [14:30:04] <Pylaserk> that could be handy
884: [14:30:10] <Pylaserk> in this situation
885: [14:30:23] * Shrike_Finland has joined #silverstripe
886: [14:30:28] <CerV> http://pastie.org/9744794
887: [14:30:34] <Pylaserk> Normally I would perhaps hard code that top right menu, but you must worry about translation too.
888: [14:30:45] * Shrike_Finland quit (Client Quit)
889: [14:31:06] <Pylaserk> CerV: yes, but that will only ever work when you've got a page with the segment 'home' in the current tree.
890: [14:31:20] <Pylaserk> which could not be the case depending on the translation
891: [14:31:36] <CerV> Pylaserk: well, the tree isn't going to change, when the site goes live
892: [14:31:40] <Pylaserk> or if say the client changes the name (which they do, even when you tell them not to or it will break their site)
893: [14:32:06] <CerV> Pylaserk: luckily i'm the primary website editor, this is an inside job ;-)
894: [14:32:07] <Pylaserk> CerV: there are a number of approaches to this problem.
895: [14:37:05] <Teddy__> anyone know what the error module 'mcrypt' already loaded means ?
896: [14:37:21] <Teddy__> the error log keeps saying it but i have no idea why
897: [14:37:24] <Pylaserk> yeah, it means that mcrypt is already loaded.
898: [14:37:39] <Pylaserk> ie, stop trying to load it again.
899: [14:37:51] <Teddy__> Pylaserk, where could it be loading from ?
900: [14:37:57] <Pylaserk> php.ini
901: [14:38:07] <Teddy__> but i didn't even touch that file
902: [14:39:25] <Teddy__> Pylaserk, is php.ini the only place that would be generated from ? a.k.a it's not something i might have codded wrong in the template file of a page or something like that
903: [14:40:25] <Pylaserk> nope
904: [14:42:56] <CerV> Pylaserk: thanks for your patience on this issue, big step in understanding for me!
905: [14:45:36] * CerV quit (Quit: Page closed)
906: [14:52:34] * muskie9 has joined #silverstripe
907: [15:01:03] * Eliseth has joined #silverstripe
908: [15:07:22] <Pylaserk> kinglozzer: how to stave off the ever evil z's?
909: [15:07:27] <Pylaserk> ALL the red bulls!
910: [15:08:27] <kinglozzer> Pylaserk: I have no red bulls
911: [15:08:41] <kinglozzer> And thy vending machine was bare
912: [15:08:43] <kinglozzer> :(
913: [15:11:02] <Pylaserk> agast!
914: [15:11:08] <Pylaserk> you have a vending machine?
915: [15:11:10] <Pylaserk> :<
916: [15:30:17] * Teddy__ quit (Quit: Leaving)
917: [15:35:22] * wilsonstaff has joined #silverstripe
918: [15:37:43] <wilsonstaff> Hi to all, here is the URL mysite.com/en/products-en/xcerg-en/ I want to show something ONLY if if first directory is /en/ I tried if $InSection(en) to no avail. Is this the right track?
919: [15:45:36] <Pylaserk> depends on what /en/ representds
920: [15:50:07] * Shrike_Finland has joined #silverstripe
921: [15:54:31] * travis-ci has joined #silverstripe
922: [15:54:31] <travis-ci> silverstripe/silverstripe-framework#3698 (3.1 - a8ae5cc : Daniel Hensby): The build passed.
923: [15:54:31] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/a61fb89e4fce...a8ae5cc55b76
924: [15:54:31] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/42207814
925: [15:54:31] * travis-ci has left #silverstripe
926: [15:59:01] * Shrike_Finland quit (Quit: Leaving.)
927: [16:00:35] * Shrike_Finland has joined #silverstripe
928: [16:00:36] * Shrike_Finland quit (Client Quit)
929: [16:34:24] * lerni quit (Remote host closed the connection)
930: [16:39:14] * Teddy_ has joined #silverstripe
931: [16:47:28] * jeroenem quit (Ping timeout: 246 seconds)
932: [16:52:09] <Teddy_> could someone confirm form me this simple inheritance function is corect pls https://gist.github.com/anonymous/fffefd3e7ece5f537054
933: [16:58:54] <Teddy_> on one online :| wow
934: [17:09:11] * headtrip has joined #silverstripe
935: [17:13:20] <kinglozzer> Teddy_: Looks okay
936: [17:13:40] <kinglozzer> Not sure if getField() works in a controller, so you might need to change that to $this->data()->getField('HexColour');
937: [17:13:57] <Teddy_> kinglozzer, cheers :| then i have to find what else is wrong
938: [17:14:03] <Teddy_> kinglozzer, i'll try that too
939: [17:15:13] * kinglozzer quit ()
940: [17:38:09] * Otterpocket quit (Quit: Otterpocket)
941: [17:40:38] * Fuxo has joined #silverstripe
942: [17:43:08] <Pylaserk> Teddy_: what is wrong with it?
943: [17:44:05] <Pylaserk> ah, hometime
944: [17:44:05] <Pylaserk> gl
945: [17:44:07] * Pylaserk quit ()
946: [17:54:25] * ThePeach quit (Quit: leaving)
947: [17:55:28] * novaweb has joined #silverstripe
948: [18:28:35] * novaweb quit (Quit: novaweb)
949: [18:44:24] * muskie9 is now known as _muskie9_
950: [18:45:49] * _muskie9_ is now known as muskie9
951: [18:48:43] * lerni has joined #silverstripe
952: [18:50:11] * abitran quit (Quit: Lost terminal)
953: [18:59:48] * Kingy[a] is now known as Kingy
954: [19:00:44] * Stomach has joined #silverstripe
955: [19:08:56] * JeremyRoundill quit (Remote host closed the connection)
956: [19:15:08] * JeremyRoundill has joined #silverstripe
957: [19:20:33] * antmas has joined #silverstripe
958: [19:20:52] <antmas> morning all
959: [19:20:58] <Kingy> hey mate
960: [19:21:28] <Kingy> antmas: "Players had to send their .cfg to DH admins before wednesday for avoiding any USB and Internet connection on place."
961: [19:21:28] <antmas> CS:GO is $7.50USD at the mo :)
962: [19:21:38] <Kingy> new smurf account? :P
963: [19:21:43] <antmas> trying not to buy anything on steam
964: [19:21:44] <Kingy> or 10
965: [19:21:48] <antmas> trygin reaaaaaaaal heard
966: [19:21:52] <antmas> hard*
967: [19:22:01] <Kingy> new account to hack :P
968: [19:22:06] <antmas> haha
969: [19:22:25] <Kingy> I'd be quite keen to get some source code for a hack
970: [19:22:33] <Kingy> always been interested to see
971: [19:23:38] <Kingy> to be honest antmas there isn't really a whole lot i want on there anyway
972: [19:23:49] <antmas> Kingy: nah, not today anyway
973: [19:24:12] <antmas> I'm hoping DayZ gets a sale so my mate will finalyl get it
974: [19:24:23] <Kingy> standalone?
975: [19:24:28] <antmas> yeah
976: [19:24:33] <Kingy> yeah i'll grab it as well
977: [19:25:18] <antmas> I really need a new headset
978: [19:25:31] <Kingy> same!
979: [19:29:39] <antmas> I'd love some Astro A40s with the mixer
980: [19:29:43] <antmas> but dat $400
981: [19:29:45] <Kingy> oh wow
982: [19:29:49] <Kingy> i have a second account already
983: [19:29:49] <Kingy> lolol
984: [19:33:49] <JeremyRoundill> :)
985: [19:33:59] <Kingy> It's got a 10 year badge
986: [19:34:00] <Kingy> rofl
987: [19:34:06] <JeremyRoundill> Played some games with MG1/MG2/DMG last night, yo.
988: [19:34:10] <Kingy> CS1.6 vac ban
989: [19:34:13] <JeremyRoundill> I topped out like 3 games, but we lost :O
990: [19:34:17] <JeremyRoundill> Haha
991: [19:34:29] <Kingy> JeremyRoundill: well I played with some 4 star gold fgts
992: [19:34:34] <Kingy> :D
993: [19:34:39] <JeremyRoundill> Yeah, that's pretty much who I had on my team too
994: [19:34:40] * clairef has joined #silverstripe
995: [19:34:48] <Kingy> dat Minah guy though
996: [19:34:51] <JeremyRoundill> Haha
997: [19:34:52] <JeremyRoundill> Yeah
998: [19:34:55] <JeremyRoundill> So bad.
999: [19:34:59] <JeremyRoundill> Baiting for daaaays!
1000: [19:35:02] <Kingy> gf was all like "wtf you raging at"
1001: [19:35:45] * Ryan-Toast has joined #silverstripe
1002: [19:35:51] * abitran has joined #silverstripe
1003: [19:42:13] * lerni quit (Remote host closed the connection)
1004: [19:47:03] * spekulatius has joined #silverstripe
1005: [19:47:10] <Ryan-Toast> Colin[pi]: Luckily you had them sign off on the design/functionality before the build… right?
1006: [19:48:11] * lerni_ has joined #silverstripe
1007: [19:49:54] <JeremyRoundill> Kingy: Haha, but yelling is the best bit!
1008: [19:50:04] <Kingy> hardcore!
1009: [19:55:54] * DimiStripe quit (Quit: DimiStripe)
1010: [19:56:31] * glenn-bautista has joined #silverstripe
1011: [19:59:29] * DimiStripe has joined #silverstripe
1012: [20:00:35] <DimiStripe> Who is in resposnce of ss-log message - "SilverStripe 3.1.6 and 3.0.11 are now available!" update to 3.1.8 ;)
1013: [20:00:40] * veb has joined #silverstripe
1014: [20:01:00] * Olliepop has joined #silverstripe
1015: [20:05:04] * leigh has joined #silverstripe
1016: [20:05:22] * Olliepop quit (Client Quit)
1017: [20:06:32] * lerni_ quit (Remote host closed the connection)
1018: [20:08:52] <JeremyRoundill> DimiStripe: The ops
1019: [20:13:56] * lerni_ has joined #silverstripe
1020: [20:16:38] * novaweb has joined #silverstripe
1021: [20:17:32] * MK_away is now known as MichalKleiner
1022: [20:18:51] * travis-ci has joined #silverstripe
1023: [20:18:51] <travis-ci> silverstripe/silverstripe-framework#3700 (3.1 - 9e7373a : Daniel Hensby): The build passed.
1024: [20:18:51] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/a8ae5cc55b76...9e7373a36596
1025: [20:18:51] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/42234533
1026: [20:18:51] * travis-ci has left #silverstripe
1027: [20:24:18] <novaweb> Morning all. What's your opinion on i18n. So far I see there is translatable, silverstripe fluent and multilingual. What have you used? Looking for your opinions....
1028: [20:24:56] * [3dgoo] has joined #silverstripe
1029: [20:26:16] <[3dgoo]> Good morning all
1030: [20:26:27] <JeremyRoundill> What's crackin', crazy cat?
1031: [20:26:50] <Kingy> is there such a thing as AfterUpload or anything in SS
1032: [20:27:16] <Kingy> I want to make an upload field to process a csv file
1033: [20:28:36] <[3dgoo]> @JeremyRoudnill Nothing much, just training it up on the old train. Yourself?
1034: [20:28:41] * Olliepop has joined #silverstripe
1035: [20:28:44] <MichalKleiner> novaweb: good question. I went with fluent as I liked that it creates language mutations on one row.. which means you don't have to think about any logic around when you have the record..
1036: [20:28:58] <JeremyRoundill> I'm just chairing it up on the old chair.
1037: [20:29:05] <MichalKleiner> which could lead into exceeding maximum row size in mysql if you have too many languages with too many fields
1038: [20:29:24] <[3dgoo]> Sweet
1039: [20:29:31] <JeremyRoundill> Kingy: http://api.silverstripe.org/3.1/class-File.html#_onAfterUpload
1040: [20:29:35] <JeremyRoundill> Might be what you're after
1041: [20:29:44] <Kingy> o/
1042: [20:29:48] <MichalKleiner> novaweb: also another dimension that steps in is whether you need to have those translated fields searchable by solr
1043: [20:29:57] <novaweb> Thanks Michal, that was my preference so far
1044: [20:30:16] * lerni_ quit (Remote host closed the connection)
1045: [20:30:53] * lerni_ has joined #silverstripe
1046: [20:31:16] <MichalKleiner> but cwp uses translatable I think.. and probably it has some reason too.. I liked fluent more tho :-D
1047: [20:32:32] <Fuxo> novaweb: I tried fluent and it's buggy
1048: [20:32:53] <Fuxo> translatable looks to be much more stable
1049: [20:34:07] * lerni__ has joined #silverstripe
1050: [20:35:29] * lerni_ quit (Ping timeout: 265 seconds)
1051: [20:35:30] <MichalKleiner> Fuxo: in which way buggy? any more info what to look for or test?
1052: [20:39:15] <Fuxo> MichalKleiner: well, I created a couple of pages in several languages, deleted some, updated some and after a while there wer english pages displayed in another language tree, etc
1053: [20:44:28] <MichalKleiner> hmm, I can try that on our multilanguage site but so far didn't have any issues
1054: [20:48:20] <Fuxo> MichalKleiner: I will keep an eye on the fluent module, but will continue using translatable in production
1055: [20:49:08] <Fuxo> I am also using https://github.com/bummzack/translatable-dataobject and https://github.com/webbuilders-group/silverstripe-translatablerouting
1056: [20:49:15] <MichalKleiner> I'm not promoting any of them, just said what I preferred so far.. more opinions the better
1057: [20:50:32] <[3dgoo]> Does anyone know what needs to be done to get a Silverstripe documentation page to update from it's git version?
1058: [20:50:42] <[3dgoo]> I updated the Site Reports doc 2 weeks ago but the doc is still showing the old version.
1059: [20:50:50] <[3dgoo]> http://doc.silverstripe.org/framework/en/reference/site-reports
1060: [20:50:51] <Fuxo> same here, I have no real preferences, fluent looks very promising
1061: [20:51:00] <[3dgoo]> https://github.com/silverstripe/silverstripe-framework/blob/3.1/docs/en/reference/site-reports.md
1062: [20:51:02] <[3dgoo]> ?flush=1 maybe
1063: [20:51:09] * wracu has joined #silverstripe
1064: [20:53:49] * travis-ci has joined #silverstripe
1065: [20:53:49] <travis-ci> silverstripe/silverstripe-framework#3702 (3.1 - 979389c : Daniel Hensby): The build passed.
1066: [20:53:49] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/9e7373a36596...979389ca7261
1067: [20:53:49] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/42237526
1068: [20:53:49] * travis-ci has left #silverstripe
1069: [20:58:13] * Fuxo quit (Quit: Leaving)
1070: [21:00:27] <novaweb> MichalKleiner, good point on Solr.
1071: [21:05:27] * jedateach has joined #silverstripe
1072: [21:09:18] * travis-ci has joined #silverstripe
1073: [21:09:18] <travis-ci> silverstripe/silverstripe-framework#3704 (3.1 - ca7030d : Daniel Hensby): The build passed.
1074: [21:09:18] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/979389ca7261...ca7030d70dec
1075: [21:09:18] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/42238299
1076: [21:09:18] * travis-ci has left #silverstripe
1077: [21:12:04] * [3dgoo] quit (Ping timeout: 246 seconds)
1078: [21:14:14] * micmania1 has joined #silverstripe
1079: [21:19:31] * terryapodaca has joined #silverstripe
1080: [21:20:06] * UncleCheese has joined #silverstripe
1081: [21:22:35] <terryapodaca> anyone around?
1082: [21:22:45] <JeremyRoundill> Howdy
1083: [21:25:44] <terryapodaca> I've got a checkboxsetfield that is populated via a simple Enum(). The form shows just fine on the front end. But, I am populating an EmailForm template with all the data on the form, except the CheckboxSetField...it isn't showing up in the final email
1084: [21:26:16] <terryapodaca> oh, and this is a SS2.4 site
1085: [21:26:52] <JeremyRoundill> PasteBin your code, yo.
1086: [21:26:57] <JeremyRoundill> I'll have a quick gander
1087: [21:27:07] * Cws has joined #silverstripe
1088: [21:27:32] <terryapodaca> give me a second
1089: [21:27:42] <Cws> Hey, I'm getting this error on one of my production servers, any body know what could be causing it? 99.9% sure it's something to do with the server config, but unsure what
1090: [21:27:46] <Cws> Fatal error: Interface 'i18nTranslateAdapterInterface' not found in /framework/i18n/i18nRailsYamlAdapter.php on line 10
1091: [21:30:00] <terryapodaca> Here's the PHP code where I build the form, and submit it via email and send the data to the email template: http://www.sspaste.com/paste/show/5476410e3f4b8
1092: [21:30:17] * Phlunk3 has joined #silverstripe
1093: [21:30:58] <terryapodaca> Here's the email template: http://www.sspaste.com/paste/show/5476415d736a3
1094: [21:32:16] * UndefinedOffset quit (Quit: Leaving.)
1095: [21:35:38] <JeremyRoundill> terryapodaca: I can't spot anything.
1096: [21:36:07] <JeremyRoundill> terryapodaca: If I were you I'd dump BrainBreaks in the email template.
1097: [21:36:14] <JeremyRoundill> And just see what it is.
1098: [21:36:19] <terryapodaca> JeremyRoundill: it's weird because it use to work
1099: [21:36:23] <terryapodaca> ok, I'll try that
1100: [21:38:59] <terryapodaca> it kicks out the Array()
1101: [21:39:30] <JeremyRoundill> Empty?
1102: [21:40:13] <JeremyRoundill> Cws: Do you have php5-intl installed?
1103: [21:40:20] <terryapodaca> nope, and I thought that's how you displayed an array in a template by <% control %>
1104: [21:40:23] <terryapodaca> array ( 'The Milk Shake' => 'The Milk Shake', 'The Dairy Shuffle' => 'The Dairy Shuffle', 'The Freestyle Fridge' => 'The Freestyle Fridge', )
1105: [21:40:28] <JeremyRoundill> php -i | grep intl
1106: [21:40:42] <JeremyRoundill> Hmm
1107: [21:40:49] <JeremyRoundill> I think control accepts SS_Lists only
1108: [21:40:52] <JeremyRoundill> But I'm not sure
1109: [21:40:58] <jedateach> JeremyRoundill: thats right
1110: [21:40:59] <JeremyRoundill> You can always build an ArrayList with that array.
1111: [21:41:07] <jedateach> you can’t itterate over a raw array
1112: [21:41:20] <JeremyRoundill> Didn't even need the docs for that answer :)
1113: [21:41:27] <JeremyRoundill> I'll be simon_w before you know it. :P
1114: [21:41:33] * [3dgoo] has joined #silverstripe
1115: [21:42:35] <jedateach> although he’s using 2.4 remember
1116: [21:42:43] <JeremyRoundill> :O
1117: [21:42:55] <terryapodaca> I know I know...it's an old site though
1118: [21:42:59] <jedateach> might need to store in an ArrayData
1119: [21:43:17] <JeremyRoundill> Yeah
1120: [21:43:24] <JeremyRoundill> ArrayLists don't exist in 2.4
1121: [21:43:32] <JeremyRoundill> Upgrade to 3.1 :P
1122: [21:44:33] <terryapodaca> I would if I could...but it's a very large company and I have no control over upgrading because it would take a decent amount of code updates and I don't make the $$$ decision
1123: [21:44:47] <JeremyRoundill> Haha, I was joking.
1124: [21:44:50] <terryapodaca> Im just the developer :-(
1125: [21:45:07] <JeremyRoundill> I think everyone would upgrade to 3.1 if they could, but there are still 2.4 sites :)
1126: [21:48:27] * Zopiclone has joined #silverstripe
1127: [21:49:10] <antmas> we have a 2.4 site
1128: [21:49:13] <antmas> actually
1129: [21:49:14] <antmas> 2
1130: [21:49:16] <Zopiclone> Hello, has anyone dealt with setting up payments for silverstripe ecommerce?
1131: [21:49:19] <antmas> 2x 2.4 sites
1132: [21:49:49] <jedateach> Zopiclone: yes - although an older version of it
1133: [21:50:02] <jedateach> I’ve since built the silverstripe-omnipay module
1134: [21:50:11] <jedateach> and maintain a fork of ecommerce called ‘shop'
1135: [21:50:41] <Olliepop> Does anybody have any idea why $this->redirect (on a class extending \Controller) could be doing nothing? No errors, notices etc
1136: [21:51:12] <Zopiclone> oh cool im getting Fatal error: Call to undefined method PayPalExpressCheckoutPayment::set_live_config() /mysite/_config.php on line 26
1137: [21:51:29] <JeremyRoundill> Olliepop: Are you echoing stuff before it?
1138: [21:51:32] <Zopiclone> on the payment module. Im using 3.1
1139: [21:51:56] <JeremyRoundill> Olliepop: It's usually that the headers have all been sent by the time you try to redirect.
1140: [21:52:12] <jedateach> Zopiclone: i’m guesing that method doesn’t exist then
1141: [21:52:30] <Olliepop> JeremyRoundill It looks like there's no output whatsoever but that's good to know thanks :) I'll take a look if anything is sent
1142: [21:53:35] <Zopiclone> exactly, but thats real strange lol. https://github.com/sunnysideup/silverstripe-payment_paypal maybe requires extra bits?
1143: [21:54:55] <jedateach> Zopiclone: I’d read through the class and see where the configuration functions are
1144: [21:55:10] <jedateach> or maybe it’s been upgraded to make use of the yaml config system
1145: [22:00:14] * headtrip quit (Quit: (null))
1146: [22:00:50] * micmania1 quit (Quit: micmania1)
1147: [22:02:10] <Cws> JeremyRoundill: Where would I check that? Looked in phpinfo and didn't see anything, but I can't see why I wouldn't.
1148: [22:02:31] <JeremyRoundill> Cws: php -i | grep intl
1149: [22:02:40] * spronk2 has joined #silverstripe
1150: [22:03:12] <Cws> No ssh access :(
1151: [22:03:34] <JeremyRoundill> Dag, yo.
1152: [22:03:35] <Kingy> anyone used xero when contracting?
1153: [22:03:40] <Kingy> or just used xero in general
1154: [22:06:25] * r_hector has joined #silverstripe
1155: [22:18:42] * DimiStripe quit (Ping timeout: 264 seconds)
1156: [22:19:58] * Cws quit (Ping timeout: 246 seconds)
1157: [22:20:13] <Olliepop> Kingy Yeah I have what's up?
1158: [22:21:44] <UncleCheese> Olliepop did you resolve your redirect() issue?
1159: [22:22:46] <Olliepop> @UncleCheese Not yet unfortunately, no response content being sent so it can't be that. I've got a bit of namespacing going on so am wondering if it's something to do with that
1160: [22:23:05] <UncleCheese> for me it's usually fixed by using return $this->redirect()
1161: [22:24:05] <Stomach> anyone know of a super sweet vimeo/youtube embed system for silverstripe
1162: [22:24:11] <Stomach> apart from https://github.com/richardsjoqvist/silverstripe-embedder
1163: [22:24:14] <antmas> Ryan-Toast: everytime I that effn Savage song comes on on your playlist, my stress levels rise
1164: [22:25:39] <UncleCheese> Savage Garden?
1165: [22:26:05] <Stomach> lemme hear your hips SCHWING
1166: [22:26:19] <antmas> nah it's that trumpet song
1167: [22:27:11] * micmania1 has joined #silverstripe
1168: [22:32:03] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
1169: [22:34:01] <Ryan-Toast> antmas: THE BASS AND THE SPEAKER GO TO WAR
1170: [22:36:56] <antmas> Ryan-Toast: HAH THE MIGHTY TRUMPET IS LAME SAVAGE ISN'T RELEVANT ANYMORE
1171: [22:37:03] <Ryan-Toast> antmas: lol
1172: [22:39:48] * travis-ci has joined #silverstripe
1173: [22:39:49] <travis-ci> silverstripe/silverstripe-framework#3705 (3.1 - 3b34781 : Damian Mooyman): The build passed.
1174: [22:39:49] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/ca7030d70dec...3b3478136d49
1175: [22:39:49] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/42248473
1176: [22:39:49] * travis-ci has left #silverstripe
1177: [22:44:54] * mahfuz has joined #silverstripe
1178: [22:45:00] <micmania1> Is it possible in subsites to create an ‘admin’ for each site?
1179: [22:46:10] * DimiStripe has joined #silverstripe
1180: [22:47:03] <JeremyRoundill> Haha, the grammar dickhead in me always makes me want to respond to "is it possible" questions with "yes".
1181: [22:47:12] <JeremyRoundill> But I can't help, haven't used subsites :(
1182: [22:51:09] <Ryan-Toast> Lol
1183: [22:51:21] <adrexia> micmania1 not really
1184: [22:51:26] <adrexia> admins have superpowers
1185: [22:51:45] <JeremyRoundill> I always wondered what gave me those powers.
1186: [22:51:50] <adrexia> which means they are admins of the entire build, not just a subsite.
1187: [22:51:54] <JeremyRoundill> The ability to breath above water.
1188: [22:51:55] <micmania1> What about setting it in Settings (in SiteConfig)?
1189: [22:52:07] <JeremyRoundill> The ability to pull a matching pair of socks out of my sock drawer every time.
1190: [22:52:18] <JeremyRoundill> And the ability to finish a pint of beer without crying most of the time.
1191: [22:52:29] <adrexia> so even thoiugh you can visually lock them out of other sites, too much of core code relies on admins having access to everythign
1192: [22:53:11] <JeremyRoundill> adrexia, what you're trying to say is that it *is* possible, you just have to modify core code? :P
1193: [22:53:15] <adrexia> you could instead create a new permission level that is everything except admin ticked
1194: [22:53:17] <Ryan-Toast> yes
1195: [22:53:27] <adrexia> JeremyRoundill, everything is possible ;)
1196: [22:54:11] <JeremyRoundill> Even an O(n) list sorter!? :O
1197: [22:55:00] * Jakx has joined #silverstripe
1198: [22:55:44] * r_hector quit (Quit: Leaving.)
1199: [22:56:07] <Jakx> Sorry for the 2.4 terms, but does anyone have a trick for referencing the FieldGroup, of a FormField, from the formfield? (Assuming it's in one) Something like ->getParent() or something?
1200: [22:57:45] <Jakx> I feel like I'm being dumb here, and there's an easy hook
1201: [22:58:37] * Colin[pi] has joined #silverstripe
1202: [22:58:44] <Colin[pi]> morning all
1203: [22:58:50] <spronk2> ello 'olin
1204: [22:58:57] <spronk2> 'ows your brother?
1205: [22:59:01] <[3dgoo]> Good morning
1206: [23:00:28] <antmas> Colin[pi]: OMG HAI
1207: [23:00:30] <Colin[pi]> spronk2: wat
1208: [23:00:31] <antmas> o/
1209: [23:00:35] <Colin[pi]> antmas: !!!!!
1210: [23:00:37] <spronk2> sigh
1211: [23:00:42] <spronk2> you're supposed to say "i ate im"
1212: [23:00:50] <Colin[pi]> spronk2: *whoosh*
1213: [23:01:39] <antmas> nothing goes over my head
1214: [23:01:49] <antmas> my reflexes are too fast
1215: [23:05:45] <Kingy> sorry Olliepop got called to a meeting
1216: [23:05:51] <Kingy> do you like it and does it make life easier
1217: [23:06:41] <antmas> Kingy: there really isn't anything better imo
1218: [23:07:20] <Kingy> what exactly are the benefits
1219: [23:07:20] <Kingy> ?
1220: [23:07:29] <antmas> relatively cheap
1221: [23:07:34] <antmas> good invoicing
1222: [23:07:45] <antmas> good receipting
1223: [23:08:18] <Kingy> so that obviously all helps with taxing and shit right
1224: [23:08:27] <antmas> yeah
1225: [23:08:36] <antmas> the mobile stuff is good too
1226: [23:08:43] <antmas> support is good
1227: [23:08:44] <glenn-bautista> Does anyone know if there's an extend hook on Controller that I can use in my Extension that runs after init?
1228: [23:09:43] * muskie9 is now known as _muskie9_
1229: [23:10:13] <glenn-bautista> I'm trying to extend CMS Main, and replace the publish CMSBatchAction
1230: [23:10:25] <Colin[pi]> glenn-bautista: onAfterInit ?
1231: [23:10:36] <glenn-bautista> great!
1232: [23:12:15] <Olliepop> Kingy Yeah it's just easy to use and has great accessibility (mobile etc). I was doing a lot of expense claims to being able to take a picture and upload from my phone was great. Invoicing is awesome. Integration with my ASB bank account. Most importantly the financial reports were very clean and easy to access.
1233: [23:13:05] <Olliepop> Kingy: Neg is your accountant may hate you for it. Xero doesn't let you get into the accounts like MYOB does and manually edit fields, you have to do everything Xero's way
1234: [23:13:16] <Olliepop> Kingy: But for me that was an advantage, I couldn't fuck it up
1235: [23:13:43] <Kingy> yeah
1236: [23:17:13] * pixelboy has joined #silverstripe
1237: [23:18:34] <pixelboy> hey guys can anyone tell me why this inheritance function does not work, it's been bugging me for a while now https://gist.github.com/anonymous/d7f153ab66ca85839d32
1238: [23:19:17] <pixelboy> both the parent and the child page are of the same type
1239: [23:24:18] <Stomach> whats the error
1240: [23:25:32] <Stomach> if ($parent && $parent->exists() && method_exists($parent, 'getColour')) {
1241: [23:25:33] <Stomach> ?
1242: [23:27:15] <simon_w|work> pixelboy, $Caption = $this->Caption;
1243: [23:28:14] <Stomach> oh lol
1244: [23:28:31] <pixelboy> simon_w|work, just tried :( tried , nothing
1245: [23:28:37] <pixelboy> Stomach, no error
1246: [23:29:01] <pixelboy> Stomach, just see nothing in the child page
1247: [23:30:29] <pixelboy> simon_w|work, it's really frustrating :( just want a child page to inherit a txt file from the parent and i can't get it to work for the life of me
1248: [23:31:11] <Kingy> JeremyRoundill: antmas http://www.reddit.com/r/GlobalOffensive/comments/2niupp/where_flusha_actually_aimed_on_dust2_with_interp/cmdzwrb
1249: [23:32:06] <pixelboy> simon_w|work, sorry meant txt field
1250: [23:33:39] <antmas> Kingy: JeremyRoundill BUSTEDDDDDDD!
1251: [23:34:20] <Colin[pi]> antmas Kingy JeremyRoundill: seems legit
1252: [23:34:32] <Kingy> crazy right
1253: [23:34:54] <Kingy> guy is still playing tomorrow
1254: [23:35:36] <Colin[pi]> it's like he just pans randomly and it snaps to the nearest player's head
1255: [23:35:41] <Colin[pi]> (aimbot I'm assuming)
1256: [23:35:49] <Kingy> yeah
1257: [23:35:50] <antmas> Colin[pi]: I dunno - it looks pretty aimbotty
1258: [23:35:53] <antmas> and wall hacks
1259: [23:36:02] <Colin[pi]> definitely
1260: [23:36:18] <Colin[pi]> so is this guy... like supposed to be good?
1261: [23:36:22] <Colin[pi]> good rank/reputation?
1262: [23:36:28] <antmas> yeah it's fnatic
1263: [23:36:32] <antmas> top team
1264: [23:36:36] <Kingy> yep one of the best
1265: [23:36:40] <Colin[pi]> oh dear
1266: [23:36:46] <Colin[pi]> that's quite sad theb
1267: [23:36:47] <antmas> fnatic are my favs for BF
1268: [23:36:47] <Colin[pi]> *then
1269: [23:36:52] <Kingy> pretty sure fnatic are ranked #1
1270: [23:36:57] <Stomach> NOT FOR LONG
1271: [23:37:05] <Kingy> yeah
1272: [23:37:07] <antmas> yeah the dream is over lol
1273: [23:37:18] <Kingy> Dreamhack required players to submit their configs on Wednesday
1274: [23:37:30] <Kingy> and nothing will be connected to the net now
1275: [23:37:37] <antmas> he KNOWS he's coming through the smoke and exactly where in those gifs
1276: [23:37:37] <Colin[pi]> some of those other gifs dont look TOO bad
1277: [23:37:41] <Colin[pi]> just flukey
1278: [23:38:06] <Kingy> it's the ones on dust when he pans through the walls in tunnels and just stops on the head for a second
1279: [23:38:15] <Colin[pi]> yeah that one looks suss
1280: [23:38:15] <antmas> Colin[pi]: http://gfycat.com/GiganticDecisiveDromedary is REALLY sketchy though
1281: [23:38:17] <Kingy> well more like 1ms but still
1282: [23:38:31] <Colin[pi]> antmas: mm I dunno about that one, he's not tracking him through the smoke
1283: [23:38:41] <Kingy> Colin[pi]: it's the initial movement at the start
1284: [23:38:41] <antmas> Colin[pi]: not obviously no
1285: [23:38:45] <antmas> but at the begining it'
1286: [23:38:47] <Kingy> that shows where the guy is
1287: [23:38:51] <Kingy> then he just waits
1288: [23:39:00] <antmas> he know's exactly where he is imo
1289: [23:39:22] <Kingy> apparently these hacks are really only supposed to give you like a 10-20% improvement
1290: [23:39:34] <Kingy> instead of the lul speedhack, autoshoot, head shot
1291: [23:39:40] <Colin[pi]> mm he might be hacking just to get the edge
1292: [23:39:46] <Colin[pi]> just enough to assist
1293: [23:40:05] <Colin[pi]> because really... you'd have to be fucking retarded at that level to hack
1294: [23:41:34] <antmas> Colin[pi]: I dunno dude, it's no stretch of the imagination to think that some top level CS players are still just smart retards
1295: [23:41:40] <antmas> :P
1296: [23:41:42] <Colin[pi]> heh yeah
1297: [23:41:52] <Colin[pi]> he's playing in 12 hours... can we spectate
1298: [23:41:53] <Colin[pi]> ?
1299: [23:42:09] <Kingy> Colin[pi]: yeah all live
1300: [23:42:24] <Kingy> be very early for you though :P
1301: [23:42:25] <antmas> through twitch?
1302: [23:42:27] * Colin[pi] grabs popcorn
1303: [23:42:32] <Kingy> antmas: yep
1304: [23:42:39] <Colin[pi]> Kingy: wait, 12 hours from now? that's 10:30pm
1305: [23:42:42] <antmas> Kingy: link? I'm terrible at scheduling this
1306: [23:43:38] <Kingy> http://www.gosugamers.net/counterstrike/events/260-dreamhack-winter-2014
1307: [23:43:43] <Kingy> 11h 18min
1308: [23:43:53] <Colin[pi]> dat prize money
1309: [23:44:00] * spekulatius quit (Quit: Leaving)
1310: [23:44:02] <Kingy> not bad really
1311: [23:44:04] <JeremyRoundill> Graaah!
1312: [23:44:11] <Kingy> for playing a game for 3 days :P
1313: [23:44:17] <JeremyRoundill> I've got a redbull in the fridge at work and one in my bag.
1314: [23:44:24] <JeremyRoundill> Let's see if I survive tonight.
1315: [23:44:37] <Colin[pi]> "ranked #1"
1316: [23:45:20] <Colin[pi]> Kingy: do I watch via the site, or is it in-game?
1317: [23:45:38] <JeremyRoundill> Both Titan and Epsilon are completely disqualified?
1318: [23:45:44] <JeremyRoundill> Colin[pi]: both
1319: [23:45:52] <Colin[pi]> oh cool
1320: [23:46:05] <antmas> so we'll be watching the Dreamhack CS:GO stream right?
1321: [23:46:20] <Kingy> JeremyRoundill: yeah but they only got DQ'd because you need 3 original members in the team who qualified
1322: [23:46:33] <JeremyRoundill> Kingy: Really?
1323: [23:46:36] <Kingy> yeah
1324: [23:46:40] <Kingy> i'm pretty sure that was the reason
1325: [23:46:41] <antmas> oh nice, you can watch in game?
1326: [23:46:45] <JeremyRoundill> Kingy: I thought they only had one member banned each
1327: [23:46:49] <Kingy> yeah
1328: [23:47:00] <Kingy> but that took them down to only having 2 members who qualified
1329: [23:47:02] <Kingy> obviously had some changes
1330: [23:47:08] <JeremyRoundill> Hmm
1331: [23:47:19] <JeremyRoundill> Sucks for the rest of the team.
1332: [23:47:23] <Kingy> yeah
1333: [23:47:28] <Kingy> ScreaM in particular lol
1334: [23:47:30] <Colin[pi]> so wait, this dreamhack thing happens.. where?
1335: [23:47:36] <Snowman23> EU
1336: [23:47:38] <Kingy> kicked out of Titan and then Epsilon dq'd
1337: [23:47:38] <JeremyRoundill> Sweden
1338: [23:47:40] <Snowman23> All the cool stuff happens in EU
1339: [23:47:53] <Colin[pi]> and.. they're all in the one place?
1340: [23:48:02] <Kingy> apparently it's on TV in some of these Euro places
1341: [23:48:02] <Colin[pi]> LAN game
1342: [23:48:23] <Colin[pi]> so do they bring their own hardware?
1343: [23:48:28] <antmas> Colin[pi]: nope
1344: [23:48:31] <Kingy> mouse/kb i think
1345: [23:48:31] <Colin[pi]> hmm
1346: [23:48:48] <Colin[pi]> so... he wouldn't be able to hack there, right?
1347: [23:48:59] <Kingy> Colin[pi]: here is EPSL One Cologne http://static.ongamers.com/uploads/original/0/1394/15729-iem-katowice-2014-2.jpg
1348: [23:49:03] <antmas> Colin[pi]: if they're checking configs then nope
1349: [23:49:14] <Colin[pi]> so these gifs were from which match?
1350: [23:49:17] <Kingy> Colin[pi]: The hack was put into the cloud.. so when they logged in it was automatically downloaded
1351: [23:49:28] <Colin[pi]> Kingy: wtf no wai
1352: [23:49:33] <Colin[pi]> that's diabolical
1353: [23:49:35] <Kingy> thus why Dreamhack is, gimmie your config and no internets
1354: [23:49:36] <antmas> holy shit
1355: [23:50:40] <antmas> Gonna put this up on the big screen at home
1356: [23:50:51] <Colin[pi]> http://i.imgur.com/ucdtQYJ.gif
1357: [23:51:13] <pixelboy> simon_w|work, in the error log it says the template theme cannot be found . any idea why
1358: [23:51:53] <JeremyRoundill> pixelboy: Check your settings in _config.yml and the settings section of the backend
1359: [23:53:03] <antmas> Kingy: JeremyRoundill it will be this one right? http://www.twitch.tv/dreamhackcs
1360: [23:53:34] <Kingy> probably
1361: [23:53:41] <Kingy> worst case jump on the game and go to 'watch'
1362: [23:53:42] <pixelboy> JeremyRoundill, in the yml it still mentioned the simple theme so i corrected it to my one and flushed but still nothing
1363: [23:53:53] <antmas> Kingy: true good point
1364: [23:54:05] <pixelboy> JeremyRoundill, and the error log still said the same thing but now with the correct theme
1365: [23:54:09] <Kingy> doesn't really help when at work though does it lol
1366: [23:54:34] <antmas> Kingy: I have the day off :D
1367: [23:54:41] <Kingy> bastardo
1368: [23:54:43] <antmas> but I am travelling this weekend so will have to choose matches :(
1369: [23:55:01] <Kingy> well NiP play from like 7:30 tomorrow morning I think
1370: [23:55:03] <Kingy> final is 9am sunday
1371: [23:55:47] * lerni__ quit ()
1372: [23:56:09] <antmas> cool, as long as I can watch some fNatic and NiP matches I'll be happy
1373: [23:57:53] <antmas> Kingy: JeremyRoundill Colin[pi] this smoke and stun https://www.youtube.com/watch?feature=player_detailpage&v=XW4rqF7y0UI#t=2213
1374: [23:59:19] <Colin[pi]> antmas: holy shit
1375: [23:59:32] <Kingy> fifflaren is on commentary at Dreamhack
1376: [23:59:41] <antmas> Colin[pi]: that whole video is holy shit
1377: [23:59:48] <antmas> brb noms

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