#silverstripe IRC Log

IRC log for 30 September 2015

All timestamps are in UTC.

1: [00:03:00] * terryapodaca has joined #silverstripe
2: [00:04:52] <terryapodaca> Colin[pi]: You around?
3: [00:11:50] <terryapodaca> Is it correct that: {$BaseHref} is depricated now?
4: [00:12:02] <terryapodaca> deprecated
5: [00:12:11] <terryapodaca> and if so, what is it's replacement?
6: [00:14:52] * novaweb quit (Remote host closed the connection)
7: [00:15:19] <Colin[pi]> terryapodaca: I is here
8: [00:15:29] <Colin[pi]> uh, I dunno... anyone else know?
9: [00:15:46] <helenclarko> Feeling good on a Wednesday!
10: [00:16:14] <terryapodaca> {$AbsoluteBaseURL} is what I am going to try, I saw a couple stack posts saying to use this
11: [00:16:26] <terryapodaca> Colin[pi]: I've got a question for you, and a comment
12: [00:16:47] <terryapodaca> The work you did was fantastic!!!!!! on that menu/tab stuff
13: [00:17:09] <terryapodaca> thing is, I got it "responsive" myself already
14: [00:17:13] <Colin[pi]> terryapodaca: eh? did it work out ok?
15: [00:17:14] <Colin[pi]> oh
16: [00:17:19] <Colin[pi]> sweet :D
17: [00:17:55] <terryapodaca> so...can I have you take a look at something and either show me how or tell me how...to make this responsive?
18: [00:19:39] <terryapodaca> this: http://codepen.io/terryapodaca/pen/pjRNVd?editors=110
19: [00:19:47] <terryapodaca> needs to turn into this: http://imgur.com/TeQIZW0
20: [00:20:15] <Colin[pi]> k lemme have a look
21: [00:20:30] <terryapodaca> helenclarko: it's 7:20 pm here for me on Tuesday still
22: [00:20:39] <terryapodaca> I'm always a day behind
23: [00:20:53] <terryapodaca> :-(
24: [00:21:25] <Colin[pi]> terryapodaca: ah the ol' split nav
25: [00:22:02] <terryapodaca> Colin[pi]: yeah, well it's split, but the second section is a separate UL and is going to always be hard coded, it's not a part of the main menu
26: [00:22:10] <Colin[pi]> terryapodaca: am I right in guessing the left part will be SiteTree?
27: [00:22:26] <terryapodaca> the suck part is, in the "responsive" version, it's tacked on to the end
28: [00:22:37] <terryapodaca> yep, it's SiteTree
29: [00:23:10] <Colin[pi]> k, so you'll need to do some css media queries for how it's going to look on mobile... or really, the opposite these days (mobile first)
30: [00:23:12] <terryapodaca> and it already has submenu items, I just haven't plugged in the html into my template yet to generate it
31: [00:24:03] <Colin[pi]> so I'd make the html first look like the mobile menu, and then write media queries to munge it into the desktop look
32: [00:24:21] <terryapodaca> yeah, so I guess what you could ultimately do for me...is set a media query for say....max-width: 800px and at that point make it look like the mobile/responsive version
33: [00:25:18] <Colin[pi]> mm what I do now typically is write all the mobile stuff first
34: [00:25:30] <Colin[pi]> then I have a breakpoint at 750px
35: [00:25:39] <Colin[pi]> so I have all the desktop stuff in: @media (min-width: 750px) { }
36: [00:26:04] <Colin[pi]> but 800 is fine, need to make sure it's all standard
37: [00:28:06] <helenclarko> terryapodaca, Feeling good on a Tuesday just doesnt sound right.
38: [00:28:35] <terryapodaca> ok, all that makes sense...but since i am already backwards...how would I make the "hamburger" icon...clickable to show/hide the parent menu?
39: [00:28:46] <Colin[pi]> ah ok lol
40: [00:29:36] <terryapodaca> and I am sure with all your CSS ninja skillz...is there a way to CSS that same hamburger icon with the word menu below it?
41: [00:29:54] * antmas quit (Ping timeout: 246 seconds)
42: [00:30:05] <Colin[pi]> terryapodaca: jquery it so that you do a slideToggle() on the menu under the hamburger or somethin
43: [00:31:10] <terryapodaca> so make the hamburger (I hate that term) an image?
44: [00:31:12] <Stomach> ewww, jQuery
45: [00:31:18] <Stomach> ewwww, images
46: [00:31:23] <terryapodaca> LOL
47: [00:32:43] <Colin[pi]> Stomach: no way man, this is the sort of menu I'm talking about: http://i.imgur.com/EiERt6q.png
48: [00:32:54] <Stomach> you wont get me
49: [00:32:58] <Stomach> I know all the urls
50: [00:33:02] <Colin[pi]> DAMMIT
51: [00:33:15] <Stomach> :D
52: [00:39:24] <DanaeNZ> NOOOO
53: [00:39:29] <DanaeNZ> Colin[pi]: I TRUSTED YOU
54: [00:39:33] <DanaeNZ> YOU WERE THE CHOSEN ONE
55: [00:40:59] <Colin[pi]> XD
56: [00:42:04] * glenn-bautista has joined #silverstripe
57: [00:43:10] <helenclarko> God damnit! every fucking time!
58: [00:44:01] <helenclarko> I had chicken last night too
59: [00:45:31] <Colin[pi]> stomach was the target, I should have known better than to try to fool the chickenbutt master :D
60: [00:57:59] * antmas has joined #silverstripe
61: [00:58:16] <antmas> internet is back on
62: [00:58:17] <antmas> \o/
63: [00:58:24] <Colin[pi]> aw yiss
64: [00:58:47] <helenclarko> antmas, you need this! http://i.imgur.com/EiERt6q.png
65: [00:59:08] <Colin[pi]> helenclarko: dat awesome download speed
66: [01:00:51] <antmas> LOL
67: [01:00:52] <antmas> gg
68: [01:00:56] <helenclarko> Instant internet.
69: [01:01:03] <antmas> hmmmm
70: [01:01:22] <antmas> RSS feed not working, /rss stopped rendering as rss feed
71: [01:01:28] <antmas> wtf
72: [01:01:41] <helenclarko> is it not /feed
73: [01:03:06] <antmas> nah /rss
74: [01:03:21] <antmas> this should be an /rss feed http://www.tasman.govt.nz/council/media-centre/news/rss
75: [01:04:46] <helenclarko> antmas, not today.
76: [01:05:56] <Colin[pi]> antmas: fixit! fixitfixitfixitfixitfixitfixitfixitfixit
77: [01:06:00] <antmas> :P
78: [01:06:04] * antmas dives in
79: [01:06:25] <Colin[pi]> hold my debugger, I'm going in
80: [01:07:28] <Colin[pi]> why did my ajax stop working? oh cause I created a server side error HURR DURR
81: [01:07:51] <antmas> awesome, so my dev server and UAT server load it fine
82: [01:08:02] <helenclarko> antmas, so admin admin is not the login details for tasman.govt.nz
83: [01:08:02] * antmas passes buck to neckbeards
84: [01:08:08] <antmas> helenclarko: :D
85: [01:08:21] <Colin[pi]> helenclarko: that has worked for me so many times
86: [01:11:34] <antmas> mm it worked for me on the Nelson council site a while back
87: [01:12:20] <Colin[pi]> antmas: seriously?
88: [01:12:50] * Azure quit (Ping timeout: 240 seconds)
89: [01:14:08] <antmas> Colin[pi]: lol yeah
90: [01:14:12] <Colin[pi]> lmfao!
91: [01:14:15] <Colin[pi]> oh dear
92: [01:14:38] <antmas> this is the same council that got docu locked a month or so ago :P
93: [01:15:44] * novaweb has joined #silverstripe
94: [01:15:44] <Colin[pi]> docu locked?
95: [01:15:48] <antmas> blegh, Y U RENDER HTML
96: [01:15:51] * Tanger has joined #silverstripe
97: [01:16:06] <Hailwood> Hey folks, I need to setup some default DataObjects via has_many on SiteConfig, and then I need the same data objects to be able to link to a page via has_many. Should I just add has_one [SiteConfig, Page] to the DataObject, or is there a better way of doing that?
98: [01:16:07] <DanaeNZ> doc blocked
99: [01:16:07] <antmas> Colin[pi]: documents got locked out and ransomed for money
100: [01:16:14] <Colin[pi]> antmas: oh.. LOL
101: [01:16:18] <antmas> lol yes
102: [01:16:29] <antmas> found like 60% of staff had local admin on their PCs
103: [01:16:32] <Colin[pi]> wow that's kinda embarrassing
104: [01:16:33] <antmas> RIP security
105: [01:16:47] <terryapodaca> surely this is a typo: https://docs.silverstripe.org/en/3.1/developer_guides/templates/how_tos/navigation_menu/
106: [01:17:06] <terryapodaca> you can't <li> inside an <li> like that
107: [01:17:40] <Colin[pi]> terryapodaca: missing the <ul> wrapper
108: [01:18:04] * Azure has joined #silverstripe
109: [01:18:13] <Hailwood> Colin[pi], I don't think so, I just think that second set of LI's around the UL should not be there
110: [01:18:24] <terryapodaca> Colin[pi]: or it has an <li> outside the <ul>
111: [01:18:31] <terryapodaca> which shouldn't be there
112: [01:18:37] <Colin[pi]> ah yep you're right Hailwood
113: [01:19:05] <Colin[pi]> docs are on gh right? someone submit a PR
114: [01:19:06] <Colin[pi]> :DF
115: [01:19:10] <Hailwood> I'll do it
116: [01:19:51] <Hailwood> Done, Someone with the magic powers should merge it now https://github.com/silverstripe/silverstripe-framework/pull/4642
117: [01:19:59] * novaweb quit (Ping timeout: 240 seconds)
118: [01:20:05] * spronk has joined #silverstripe
119: [01:20:26] <Colin[pi]> it is me or the SS folks been a bit quiet in here lately? busy at HQ?
120: [01:21:00] <antmas> hmmm looks like <link rel="alternate" type="application/rss+xml" title="" href="/council/media-centre/news/rss" /> isn't working
121: [01:21:14] <Hailwood> Colin[pi], They're all just sitting back watching to see us self destruct without them....
122: [01:21:14] <Hailwood> Anyway, SS doesn't have the concept of polymorphic relations right?
123: [01:21:38] <Hailwood> *SS 3.1
124: [01:22:21] <Colin[pi]> Hailwood: relations are always to a particular class, but that class can be a parent class and you can associate the subclasses..?
125: [01:22:36] <Colin[pi]> e.g 'MyPage' => 'SiteTree'
126: [01:22:57] <Hailwood> Colin[pi], in this case a "CarouselSlide" can either be associated with SiteConfig, or Page
127: [01:23:16] <Hailwood> Since the ones associated with SiteConfig are the defaults if Page does not have it's own setup
128: [01:23:16] <Colin[pi]> Hailwood: oic
129: [01:23:43] <Colin[pi]> Hailwood: yeah in that case I think it'd need has_one page and has_one config ?
130: [01:24:31] <Hailwood> I can always add a "Parent" function which simply does if($this->PageID) { return $this-Page(); } else { return $this->SiteConfig(); } but meh.
131: [01:24:53] <Colin[pi]> mm it gets a bit confusing with parents that are different classes
132: [01:25:04] <Colin[pi]> (i.e. siteconfig / sitetree)
133: [01:27:27] * ajbudhia has joined #silverstripe
134: [01:27:28] <ss-helper> ajbudhia: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
135: [01:27:57] * antons quit (Quit: Page closed)
136: [01:28:52] <helenclarko> hey ss-helper!
137: [01:30:03] <helenclarko> shy much?
138: [01:30:40] <antmas> anyone know where I can get a payment express xml request example?
139: [01:30:49] <antmas> their dev portal is janky af to find anything
140: [01:31:44] <DanaeNZ> antmas: oooh i had a PDF once
141: [01:31:50] <DanaeNZ> um
142: [01:31:53] <DanaeNZ> I might be able to find it
143: [01:31:59] <antmas> oh chur
144: [01:32:34] <DanaeNZ> https://www.paymentexpress.com/Downloads/DPSECOM_PXPay.pdf
145: [01:32:38] <DanaeNZ> It was this one
146: [01:32:44] <DanaeNZ> page 9
147: [01:32:52] <antmas> cheers, looking now
148: [01:33:09] <helenclarko> Lol was just about to send same link
149: [01:33:23] * DanaeNZ blows out imaginary smoke from fingers
150: [01:33:29] * DanaeNZ like a gun
151: [01:33:32] * DanaeNZ gunsmoke
152: [01:33:52] * helenclarko nods
153: [01:34:18] * helenclarko like agreement nod, not yes nod
154: [01:35:35] <helenclarko> DanaeNZ, Feeling good on a Wednesday?
155: [01:35:52] <DanaeNZ> hahahahaha
156: [01:35:56] * antmas quit (Quit: Page closed)
157: [01:36:03] <DanaeNZ> RIP antmas
158: [01:36:31] <Colin[pi]> RIP in peace
159: [01:36:53] <helenclarko> I told him he should have got this: http://i.imgur.com/EiERt6q.png
160: [01:36:54] <Hailwood> I get the feeling I slightly abuse the File Templates feature of PHPstorm with Silverstripe: http://i.imgur.com/1EK8SJ0.png
161: [01:37:02] <helenclarko> Fix all internet problems.
162: [01:38:28] <Colin[pi]> Hailwood: my SS snippets in Komodo Edit: http://i.imgur.com/7PY6UvY.png
163: [01:38:40] * Stomach quit (Quit: zzz)
164: [01:39:45] * spronk quit (Quit: bleep bleep bloop bloop)
165: [01:43:29] <Hailwood> Colin[pi], Your snippets look roughly equal to mine, Surprised you don't have one for getCMSFields?
166: [01:44:06] * glenn-bautista quit (Quit: Leaving.)
167: [01:44:51] <MichalKleiner> Hailwood: looks nice, do you have it on github somewhere?
168: [01:45:06] <MichalKleiner> or do you have to configure it via the IDE?
169: [01:47:55] * helenclarko quit (Quit: Screw you guys, I'm going home!)
170: [01:48:15] * helenclarko has joined #silverstripe
171: [01:48:30] <MichalKleiner> antmas RIP in one piece :-D
172: [01:51:24] <Colin[pi]> Hailwood: my "New DataObject" and "New Page" snippets both have getCMSFields() stubs in them ;)
173: [01:52:17] <terryapodaca> Hey guys, I have children under my parent menu items
174: [01:53:05] <terryapodaca> <% if $LinkOrSection == section %> but $LinkOrSection returns Link
175: [01:53:10] * mark_s has joined #silverstripe
176: [01:53:12] <terryapodaca> so I don't get my child elements
177: [01:53:55] <Hailwood> MichalKleiner, https://gist.github.com/hailwood/3fde24f4c6e83a06b487
178: [01:55:22] <DanaeNZ> terryapodaca: section will apply to the active parent I'm pretty sure
179: [01:55:31] * novaweb has joined #silverstripe
180: [01:55:38] <DanaeNZ> terryapodaca: unless i misunderstand
181: [01:56:06] <terryapodaca> DanaeNZ: I was using this: https://docs.silverstripe.org/en/3.1/developer_guides/templates/how_tos/navigation_menu/
182: [01:56:37] <terryapodaca> I need a top level menu that has a submenu that shows/hides on hover of the parent menu
183: [01:58:21] <Hailwood> Colin[pi], Ah makes sense, I should actually add that, although considering it's a case of cmsFields<tab> it doesn't really matter ha.
184: [01:58:59] * mark_s quit (Quit: Leaving)
185: [01:59:09] <Colin[pi]> Hailwood: :D I need to make more of them for fields
186: [01:59:18] <Colin[pi]> GridField<tab> is nice :D
187: [02:00:24] <MichalKleiner> cheers Hailwood :) will give it a try
188: [02:00:37] <Hailwood> Colin[pi], I have gridfield_gallery gridfield_recordeditor and gridfield_relationeditor which set's up the relevant gridfield, and does the addFieldToTab for me cause I'm lazy ;)
189: [02:00:59] <MichalKleiner> is someone using UC's Zen fields?
190: [02:01:28] <terryapodaca> ahhhh, shieeet.
191: [02:01:41] <terryapodaca> I see, that's for when you have a sidebar menu
192: [02:01:56] <terryapodaca> that's a stupid how-to
193: [02:02:20] * aneesha has joined #silverstripe
194: [02:02:21] <ss-helper> aneesha: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
195: [02:02:26] <Colin[pi]> Hailwood: not lazy, efficient :D
196: [02:02:42] * ajbudhia quit (Quit: Page closed)
197: [02:08:58] * novaweb quit (Remote host closed the connection)
198: [02:22:25] * novaweb has joined #silverstripe
199: [02:28:02] * Stomach has joined #silverstripe
200: [02:28:23] * zippy has joined #silverstripe
201: [02:28:49] <zippy> Tanger: btw, with your medals, you could just add a rank, so gold is rank 1 etc, then sort by rank
202: [02:29:02] <zippy> Name = Gold, Rank=1
203: [02:29:08] <zippy> or Rank could be just Sort
204: [02:32:38] <Tanger> zippy: I ended up making the medal levels an associative array [0 => 'Gold', etc], then sorting them by key
205: [02:33:05] <zippy> that'd work too :)
206: [02:33:23] <zippy> as long as they don't want Platinum to be the new top one
207: [02:33:36] <zippy> but then I guess your saving it in the DB as 'Gold' and not an ID or something?
208: [02:36:10] <zippy> mm some more nice shortcuts; https://twitter.com/phpstormtips
209: [02:43:53] * novaweb quit (Remote host closed the connection)
210: [02:47:12] <helenclarko> I'm done!
211: [02:47:13] * helenclarko quit (Quit: Screw you guys, I'm going home!)
212: [02:47:17] <Colin[pi]> bye... oh
213: [02:47:57] * antmas has joined #silverstripe
214: [02:48:30] <zippy> lol
215: [02:48:34] <zippy> Colin[pi]: was that a rage quit?
216: [02:48:42] * helenclarko has joined #silverstripe
217: [02:48:45] <antmas> DanaeNZ: thanks for that link before - allowed me to confirm our vendor has fucked up the template :P
218: [02:48:50] <helenclarko> bye Colin[pi]
219: [02:48:55] <DanaeNZ> antmas: yaaaay
220: [02:48:56] <antmas> RIP Colin[pi]
221: [02:49:02] <zippy> bye helenclarko
222: [02:49:08] <antmas> o/ zippy
223: [02:49:16] <DanaeNZ> bye everyone
224: [02:49:18] <zippy> Colin[pi]: how did he know what you said...?
225: [02:49:31] <DanaeNZ> who
226: [02:49:32] <zippy> antmas: o/
227: [02:49:32] <DanaeNZ> was
228: [02:49:33] <DanaeNZ> phone
229: [02:49:42] <helenclarko> ooooooo
230: [02:49:44] * zippy needs to cut his finger nails
231: [02:49:56] <helenclarko> Irc logs my friend... irc logs
232: [02:50:11] <antmas> zippy: are you asian?
233: [02:50:14] <zippy> helenclarko: so you quit and then checked the logs to see if anyone said goodbye?
234: [02:50:20] <zippy> "did anyone miss me...?"
235: [02:50:26] <antmas> not racist, but every asian dude I meet has long af fingernails
236: [02:50:32] <helenclarko> zippy, Yeah, I did that.
237: [02:50:38] <zippy> thats like having your funeral when your not dead to see who shows up
238: [02:50:41] <helenclarko> haha
239: [02:50:46] <antmas> zippy: LOL
240: [02:51:49] <helenclarko> I just happened to have the log open. I saw Colin[pi]'s message.
241: [02:52:01] <helenclarko> Thats a lie!
242: [02:52:43] <helenclarko> Bye everyone.
243: [02:52:46] <zippy> antmas: have a rice day? https://www.youtube.com/watch?v=FkZOhPZBCiA
244: [02:53:00] * helenclarko quit (Client Quit)
245: [02:53:12] <antmas> bahahaha
246: [02:54:17] <Stomach> Tanger still having that problem? :D
247: [02:55:02] <Tanger> Stomach: Nah, nah, it's all good now :D It's not really flexible, but it'll do for now
248: [02:55:14] * Phlunk3 quit (Quit: Leaving)
249: [02:55:15] <Stomach> ahhh
250: [02:55:19] <Stomach> the old technical debt decision
251: [02:55:32] <Tanger> Yeah. I'll refactor later (probably)
252: [02:56:11] <Tanger> *he says, knowing it won't happen until the client needs to change it
253: [02:58:44] <Stomach> hahaha
254: [03:03:02] * Stomach quit (Quit: bye)
255: [03:10:40] * Stomach has joined #silverstripe
256: [03:13:26] <Hailwood> Client wanted to be able to do subscript and superscript in their headings. I didn't want to give them the ability to do HTML. What do we think of this solution? http://i.imgur.com/2TKyy6v.png
257: [03:15:39] <DanaeNZ> Hailwood: cool _b
258: [03:15:57] <MichalKleiner> valid solution.. maybe for sub i'd add v to have it similar to ^..
259: [03:16:10] <MichalKleiner> as you may need to use [..] within title without making it sub
260: [03:16:21] <MichalKleiner> or ~ or something
261: [03:16:30] <zippy> haha
262: [03:16:40] <zippy> I was like, how do you even do a down ^ on the keyboard
263: [03:16:42] <zippy> v
264: [03:16:43] <zippy> :P
265: [03:16:46] <MichalKleiner> :-F
266: [03:16:51] <MichalKleiner> :-D
267: [03:17:15] <MichalKleiner> but then it may get mistaken with simple v as the first character
268: [03:17:19] <MichalKleiner> so maybe _?
269: [03:17:20] <zippy> yea true
270: [03:17:24] <zippy> [very good]
271: [03:17:59] <Hailwood> Hmm that's a good point. I'm liking the idea of _
272: [03:18:00] <MichalKleiner> or it can be just ^^something sup^^ and __something sub__
273: [03:18:36] <MichalKleiner> unlikely to have two _ or ^ in a row
274: [03:18:49] <MichalKleiner> but I like the brackets too, so [^ and [_
275: [03:19:27] <DanaeNZ> chuck it in the field description too
276: [03:19:35] <MichalKleiner> +1 DanaeNZ
277: [03:19:40] <MichalKleiner> true
278: [03:19:44] * DanaeNZ dodges +1
279: [03:19:52] * DanaeNZ +1 hits Stomach in the face
280: [03:20:06] <Hailwood> Yeah, I'm adding in a description block at the top of the page with a bunch of unicode characters for them to copy/paste around as they need.
281: [03:20:25] <MichalKleiner> :-D
282: [03:20:59] <Hailwood> Cool thing about [^ and [_ is that the url parser strips them out - so the url ends up being "about-super-us-sub-super2
283: [03:21:30] <zippy> hmm, whats the <title> look like on the page?
284: [03:22:24] <Hailwood> zippy, Crap :/
285: [03:22:25] <Hailwood> lol
286: [03:22:29] <Hailwood> Thanks, I'll fix that
287: [03:28:05] <Hailwood> Ohh, here's an interesting one, can you add a message so it appears either on all tabs, or above the tabs in the CMS?
288: [03:36:29] <Stomach> wtf
289: [03:36:31] <Stomach> DanaeNZ
290: [03:36:33] <Stomach> ;(
291: [03:36:34] <MichalKleiner> could do probably with entwine :-D
292: [03:36:52] <Hailwood> MichalKleiner, I'm just overwriting the tabset template now. easiest way me thinks
293: [03:37:28] <DanaeNZ> hahahahah
294: [03:37:31] <MichalKleiner> yeah, I wish there was always only single correct way how to do things :-D
295: [03:37:53] <DanaeNZ> only 2 hrs to go guys home stretch
296: [03:37:55] * DanaeNZ cries
297: [03:38:48] <antmas> 30mins for me
298: [03:38:53] <antmas> then 2 hours of client meeting
299: [03:38:58] * antmas cires with DanaeNZ
300: [03:39:04] * antmas also cries
301: [03:39:17] <zippy> I think I might finish now
302: [03:39:41] * glenn-bautista has joined #silverstripe
303: [03:43:46] * antmas quit (Quit: Page closed)
304: [03:44:47] <DanaeNZ> client meetings in the evening are the worst
305: [03:47:36] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
306: [03:50:24] <micmania1> me too :|
307: [03:50:41] * micmania1 has left #silverstripe
308: [03:59:59] * aneesha quit ()
309: [04:09:16] <MichalKleiner> lucky 5pm-ers
310: [04:11:20] * Hailwood quit (Remote host closed the connection)
311: [04:12:56] <DanaeNZ> :<
312: [04:14:50] * adrexia quit (Quit: My Mac has gone to sleep. ZZZzzz…)
313: [04:14:55] <MichalKleiner> I could do 8-5 with lunch break as well.. but who would wake up at 7 to get here that early
314: [04:15:54] <DanaeNZ> i just come in later
315: [04:16:07] <DanaeNZ> there's a meeting at 9 tomorrow morning tho
316: [04:16:21] <DanaeNZ> thanks to SATAN
317: [04:16:56] <ss23> lol
318: [04:17:00] <ss23> 9am meetings are the worst
319: [04:19:35] <DanaeNZ> who even suggests it
320: [04:19:38] <DanaeNZ> it's like
321: [04:19:45] <DanaeNZ> we're trying to make important decisions
322: [04:19:56] <DanaeNZ> i can't make important decisions in a decaffeinated state
323: [04:20:06] <DanaeNZ> well, the decisions I make will be terrible
324: [04:20:47] <MichalKleiner> just toss a coin, same result :-D maybe luckier :-D
325: [04:21:37] * stecman has left #silverstripe
326: [04:22:22] <DanaeNZ> hahah
327: [04:22:32] <DanaeNZ> oh dammit why do the cleaners come in on wednesday
328: [04:26:50] <MichalKleiner> we have cleaners wed and sun
329: [04:26:55] <MichalKleiner> actually sat
330: [04:27:04] <MichalKleiner> yeah, come in like 8pm, toooo early
331: [04:35:04] * nontgor quit (Ping timeout: 246 seconds)
332: [04:35:40] <DanaeNZ> woah i worked the phones
333: [04:35:47] <DanaeNZ> hold and transfer and everything
334: [04:37:14] <DanaeNZ> I'M A CLEANER I'M VACUUMIIIINNGGG RAAAARRR
335: [04:37:47] <Colin[pi]> LOUD NOISES
336: [04:39:49] * glenn-bautista quit (Quit: Leaving.)
337: [04:40:20] <DanaeNZ> TOO BAD CAN'T USE THE BATHROOM I'M CLEANING IT
338: [04:40:50] <Colin[pi]> DanaeNZ: go on the clean floor, teach them a lesson, ASSERT YOUR ALPHA FEMALE
339: [04:43:14] <DanaeNZ> Hahahahahhahaoh my god
340: [04:49:09] * zagoodwin has joined #silverstripe
341: [04:50:57] <zagoodwin> Hey, having trouble with operators in the template. Should <% if not $IsFiltered %>active<% end_if %> work?
342: [04:51:25] <DanaeNZ> zagoodwin: template code looks fine
343: [04:51:36] <DanaeNZ> Try putting $IsFiltered just in the template somewhere
344: [04:51:39] <DanaeNZ> and see what pops out
345: [04:52:47] <zagoodwin> Sorry, I mean <% if $IsFiltered.ID == $ID %>active<% end_if %> both $IsFiltered.ID and $ID are 13 for example, should it pop out active?
346: [05:01:06] <DanaeNZ> Maybe a scope issue? Pop out those two variables in the scope of that if statement
347: [05:03:33] * Stomach quit (Quit: zzz)
348: [05:03:45] * DanaeNZ quit (Remote host closed the connection)
349: [05:11:39] * zagoodwin quit (Ping timeout: 246 seconds)
350: [05:22:53] * gordon has joined #silverstripe
351: [05:22:58] * gordon is now known as nontgor
352: [05:34:58] * wmk has joined #silverstripe
353: [05:50:37] * r_hector has joined #silverstripe
354: [06:20:00] * veb has left #silverstripe
355: [06:20:03] * veb has joined #silverstripe
356: [06:22:00] * mahfuz quit (Ping timeout: 246 seconds)
357: [06:34:30] * ccburns has joined #silverstripe
358: [06:35:30] <ccburns> Hey guys we’re trying to do some code profiling and just tried to use the ?showqueries=1 url variable and it’s not working… Is there something specific I need to do to get a list of all the DB calls the page is making… Thanks
359: [06:39:46] * veb_ has joined #silverstripe
360: [06:40:13] <veb_> veb: wtf!
361: [06:42:49] * ccburns quit (Quit: ccburns)
362: [06:46:02] * Kingy^ is now known as Kingy
363: [06:46:17] <veb> errr
364: [06:47:01] * Kingy is now known as Kingy[a]
365: [06:47:10] <veb> soz Kapdap
366: [06:47:12] <veb> er Kingy[a]
367: [06:49:15] * veb_ quit (Quit: leaving)
368: [06:52:19] * DanaeNZ has joined #silverstripe
369: [06:57:24] * DanaeNZ quit (Ping timeout: 272 seconds)
370: [07:08:25] * Colin[pi] quit (Ping timeout: 244 seconds)
371: [07:13:08] * swaiba has joined #silverstripe
372: [07:22:53] * zippy has joined #silverstripe
373: [07:26:58] * zippy quit (Client Quit)
374: [07:38:08] * darjus01 has joined #silverstripe
375: [07:58:44] * Mike123 has joined #silverstripe
376: [08:01:32] <Mike123> Morning
377: [08:01:56] * elgabbu quit (Quit: Page closed)
378: [08:02:12] <Mike123> doesn anyone know how to user translations in SS 2.4 ? <%t %> syntax doesnt work :/
379: [08:02:12] * elgabbu has joined #silverstripe
380: [08:02:35] * mobiusnz quit (Quit: Leaving.)
381: [08:04:53] <wmk> *phew*
382: [08:05:14] <wmk> Mike123, did you look at 2.4 docs?
383: [08:05:20] <elgabbu> gd morning
384: [08:05:22] * kinglozzer has joined #silverstripe
385: [08:05:28] <wmk> kinglozzer, ☺/
386: [08:05:30] <elgabbu> having some trouble with PaginatedLists
387: [08:05:35] <kinglozzer> \o wmk
388: [08:05:44] <elgabbu> I have ObjectA has_many ObjectB
389: [08:06:20] <elgabbu> .... PaginatedList::create(ObjectA::get(), $request)
390: [08:06:45] <elgabbu> in the template i loop the paginated list
391: [08:07:09] <elgabbu> now objectA has a function which uses the relationship with ObjectB
392: [08:07:34] <elgabbu> so in the paginated list loop I am calling this function ... but I get an error
393: [08:08:14] <Mike123> wmk, yes i have found old syntax but somehow it doent work...
394: [08:08:34] <wmk> !paste Mike123
395: [08:08:34] <ss-helper> Mike123: Please paste your code using something like http://kopy.io/ or http://www.sspaste.com/ or https://gist.github.com/ and then paste the link here.
396: [08:09:40] <elgabbu> Fatal error: Call to undefined method PartnerDataQuery::PartnerRatings()
397: [08:09:56] <elgabbu> PartnerRatings being my has_many relationship
398: [08:10:25] <elgabbu> one way to go around it was to call ->owner->PartnerRatings()
399: [08:10:34] <elgabbu> but I don't understand why I should do that
400: [08:11:02] <wmk> Mike123, http://api.silverstripe.org/2.4/class-i18n.html
401: [08:11:14] <wmk> so in template it was like <% _t('MyNamespace.MYENTITY', 'My default natural language value') %>
402: [08:11:15] * novaweb has joined #silverstripe
403: [08:13:09] <kinglozzer> elgabbu: In an extension?
404: [08:13:15] <Mike123> wmk, http://www.sspaste.com/paste/show/560b998d60b26
405: [08:13:19] <kinglozzer> ->owner is for extensions
406: [08:13:36] <wmk> Mike123, you flushed?
407: [08:13:48] <wmk> add ?flush=all to your url
408: [08:13:57] <wmk> note the difference to now... parameter needed
409: [08:14:12] <elgabbu> no its not an extension that why i am confused
410: [08:14:30] <Mike123> wmk, strange but i saw other syntax, without a namespace
411: [08:14:35] <Mike123> will try right away
412: [08:14:39] <wmk> and did you try <% _t('LangEditor.DOCTOR_MORE_LINK', ' some text') %>`??
413: [08:15:14] <wmk> well, it was a bit weird in 2.4, sometimes the auto namespace was NameOfTemplate.ss
414: [08:16:18] <Mike123> wmk, your syntax works well, thanks, i'm getting a headache of that 2.4 SS :/
415: [08:16:28] <wmk> Mike123, i can totally feel you
416: [08:16:37] <wmk> i'm so happy most customers already updated to 3.x
417: [08:16:54] <wmk> i need to calculate extra hours for 2.4 stuff
418: [08:16:56] <Mike123> wmk, u told me something about update scripts ?
419: [08:17:01] <wmk> ahja
420: [08:17:23] <Mike123> doesnt update 100% without any manual changes needed ?
421: [08:17:32] <Mike123> or how does it work ?
422: [08:17:51] <wmk> well,
423: [08:17:59] <wmk> it's basically search - replace
424: [08:18:34] <wmk> Mike123, https://github.com/sunnysideup/silverstripe-upgrade_silverstripe
425: [08:18:40] <wmk> so - check in old project in git
426: [08:19:09] <wmk> remove modules and re-add them with composer (just check in composer.json and .lock)
427: [08:19:16] <wmk> run the script on your custom code
428: [08:19:24] <wmk> pray noone ever changed modules or framework
429: [08:19:25] * cupcake has joined #silverstripe
430: [08:19:32] <wmk> kinglozzer, am i right?
431: [08:20:51] <Mike123> wmk, thanks , will look up :)
432: [08:21:16] <elgabbu> any ideas kinglzzer?
433: [08:22:03] <wmk> elgabbu, paste please ;)
434: [08:23:16] <kinglozzer> wmk: I don't know, thankfully I've never had to upgrade a site from 2.4 to 3.x :P
435: [08:25:02] <wmk> lucky you
436: [08:26:37] <elgabbu> wmk kinglozzer http://sspaste.com/paste/show/560b9ca50f2e2
437: [08:27:00] <elgabbu> the error i get is ( ! ) Fatal error: Call to undefined method PartnerDataQuery::PartnerRatings() in /mnt/hgfs/www/ss3.www.pokerlistings.com/site/code/review/dataobjects/Partner.php on line 1402
438: [08:27:22] <wmk> and the other side has a has_one set?
439: [08:27:33] <wmk> so PartnerRating class?
440: [08:27:58] <elgabbu> wmk yes it does
441: [08:28:10] <wmk> and Partner.php line 1402 is what line?
442: [08:28:15] <wmk> in your paste
443: [08:29:25] <elgabbu> wmk line 21 ... return $this->PartnerRatings()->first()->OverallRating
444: [08:29:41] <wmk> so can you debug this line?
445: [08:29:48] <wmk> e.g. $this->ParnterRatings()->count()
446: [08:30:07] <elgabbu> it still gives the same error
447: [08:30:22] <elgabbu> the problem is calling the relationship
448: [08:30:26] <wmk> var_dump($this->PartnerRatings()) ...
449: [08:30:52] <wmk> anything ambiguous in your database structure?
450: [08:31:25] <elgabbu> no the problem is that $this ... in that context is not a Partner object but rather a PartnerDataQuery
451: [08:31:55] <wmk> i've never seen a class PartnerDataQuery or RelationNameDataQuery
452: [08:32:10] <wmk> so - have you made that special dataquery yourself?
453: [08:32:30] <wmk> it normally should be a HasManyList
454: [08:33:18] * Eliseth has joined #silverstripe
455: [08:33:39] <elgabbu> our bad sorry about that we were throwing function inside an extension written in the same bloody file
456: [08:34:04] <elgabbu> and since the file is 1.5K off lines i didn't notice i was actually in another class
457: [08:34:32] <wmk> elgabbu, in a world without side effects $this->PartnerRatings() should resolve in PartnerRating::get()->filter(['RelationNameID' => $this->ID])
458: [08:35:16] <wmk> elgabbu, time for: http://de.slideshare.net/rdohms/bettercode-phpbenelux212alternate
459: [08:42:36] <kinglozzer> 1,500 lines :|
460: [08:42:43] <kinglozzer> I feel your pain
461: [08:49:15] * ccburns has joined #silverstripe
462: [08:53:59] <wmk> is it just me or is the font on http://www.silverstripe.org/blog/speakers-confirmed-for-stripecon2015/ just too small? a bit more bolder would be more readable imho
463: [09:03:18] <kinglozzer> wmk: Looks fine to me
464: [09:03:27] <kinglozzer> 18px
465: [09:09:28] * Pyahalbnk has joined #silverstripe
466: [09:09:29] <ss-helper> Pyahalbnk: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
467: [09:09:32] <Pyahalbnk> 'lo
468: [09:13:24] * novaweb quit (Remote host closed the connection)
469: [09:14:14] * nontgor quit (Remote host closed the connection)
470: [09:14:58] <swaiba> Anyone seen this error with SOAP....
471: [09:14:58] <swaiba> Fatal error: SOAP-ERROR: Parsing WSDL: Unknown required WSDL extension 'http://schemas.xmlsoap.org/ws/2004/09/policy'
472: [09:15:22] <swaiba> google says to edit the WSDL, but as it is served over t'internet that isn't an option is it?
473: [09:16:23] <cupcake> hey o/
474: [09:16:51] <cupcake> why does an infinite loop occur when i do return $this->httpError(404)
475: [09:18:02] <swaiba> cupcake - maybe you're doing that within the handling of httpError?
476: [09:21:49] <cupcake> im doing it in the index function
477: [09:21:51] <cupcake> of a page type
478: [09:35:18] * Colin[pi] has joined #silverstripe
479: [09:36:15] * Tanger quit (Quit: sleep())
480: [09:37:53] <wmk> cupcake, did you manage to register for the conf?
481: [09:55:01] <swaiba> cupcake as the index function is called on every page view, it sounds like yes you're constatnly redirecting yourself
482: [10:04:58] <cupcake> no we found a bug
483: [10:05:06] <cupcake> on OldPageRedirector.php
484: [10:05:27] <cupcake> because it is sending 301 to the same page you are currently accessing
485: [10:05:50] <cupcake> so the link is the same thus when throwing httperror 404 it goes into infinite loop
486: [10:05:59] <cupcake> we just removed the extension in the config file
487: [10:12:39] <swaiba> okie :)
488: [10:16:56] <wmk> any subsite expert around?
489: [10:22:55] <Pyahalbnk> Send out the spronkey signal!
490: [10:32:00] * Sileence has joined #silverstripe
491: [10:32:01] <ss-helper> Sileence: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
492: [10:32:08] <Sileence> Hello
493: [10:32:45] <wmk> spronkey?
494: [10:33:06] <swaiba> hello Sileence
495: [10:33:38] <wmk> hi Sileence
496: [10:34:06] <Pyahalbnk> My old friend.
497: [10:34:42] <swaiba> Pyahalbnk I was thinking those "makes you forget" things from dr who
498: [10:35:45] <Pyahalbnk> oh them aliens things.
499: [10:35:58] <Pyahalbnk> you say that I think of weeping angels
500: [10:36:35] <Pyahalbnk> but you say hello silence, I think Simon & Garfunkel. Although that is actualy "Hello darkness my old friend"
501: [10:36:43] <Pyahalbnk> but close enough
502: [10:36:48] * Sileence quit (Ping timeout: 246 seconds)
503: [10:36:56] <swaiba> yeah the gradute I'm thinking now
504: [10:42:05] <Pyahalbnk> I don't think I've seen it, but I assume it's the Mrs Robinson one?
505: [10:42:54] <Pyahalbnk> Coffee
506: [10:43:02] <Pyahalbnk> Very dregs, much empty, wow.
507: [10:46:46] * ccburns quit (Quit: ccburns)
508: [10:48:24] * Azure quit (Quit: Oops.)
509: [10:49:12] * Azure has joined #silverstripe
510: [11:35:36] <Zauberfisch> terryapodaca: you needed something?
511: [11:40:45] * Colin[pi] quit (Ping timeout: 255 seconds)
512: [11:41:12] * wmk quit (Ping timeout: 255 seconds)
513: [11:59:53] * r_hector quit (Remote host closed the connection)
514: [12:03:59] * wmk has joined #silverstripe
515: [12:10:07] * wmk quit (Ping timeout: 256 seconds)
516: [12:14:24] * UndefinedOffset has joined #silverstripe
517: [12:24:35] * Motoservo has joined #silverstripe
518: [12:33:55] * wmk has joined #silverstripe
519: [12:34:49] * Frans_Amsterdam has joined #silverstripe
520: [12:36:20] <Frans_Amsterdam> Hi, i'm using $PublishDate.FormatI18N('%e %B %Y') in my template. But it does translate the given date. Any usual suspects on this?
521: [12:37:16] <Frans_Amsterdam> Hi, i'm using $PublishDate.FormatI18N('%e %B %Y') in my template. But it does NOT translate the given date. I repaet NOT. ;-)
522: [12:39:49] * wmk quit (Ping timeout: 246 seconds)
523: [12:54:30] <swaiba> Frans_Amsterdam...
524: [12:54:37] <swaiba> https://silverstripe.uservoice.com/forums/251266-new-features/suggestions/9608094-dates-should-be-formatted-by-locale
525: [12:54:42] <swaiba> http://www.silverstrip.es/blog/dates-formatted-based-on-locale
526: [12:55:04] <swaiba> Pyahalbnk yes it is
527: [12:55:12] <Frans_Amsterdam> swaiba thanks I'll have a look in that.
528: [12:57:12] * Motoservo quit (Quit: Over & out.)
529: [13:03:57] <Pyahalbnk> eh?
530: [13:04:07] * wmk has joined #silverstripe
531: [13:04:08] * DanaeNZ has joined #silverstripe
532: [13:04:59] <Pyahalbnk> the coffee you mean swaiba?
533: [13:05:16] <Pyahalbnk> I just went and bought a pound of liquid death, so I'm set for the afternoon :P
534: [13:05:25] <swaiba> "I don't think I've seen it, but I assume it's the Mrs Robinson one?" - yes
535: [13:05:35] <Pyahalbnk> oh right
536: [13:05:36] <Pyahalbnk> :>
537: [13:10:11] * wmk quit (Ping timeout: 250 seconds)
538: [13:19:56] * cloph is now known as cloph_away
539: [13:27:31] * cupcake quit (Quit: Page closed)
540: [13:34:10] * wmk has joined #silverstripe
541: [13:40:36] * wmk quit (Ping timeout: 264 seconds)
542: [13:53:59] * muskie9 has joined #silverstripe
543: [13:54:08] * Eliseth quit (Ping timeout: 272 seconds)
544: [14:04:16] * wmk has joined #silverstripe
545: [14:10:08] * wmk quit (Ping timeout: 268 seconds)
546: [14:13:25] * gordon has joined #silverstripe
547: [14:13:48] * gordon is now known as nontgor
548: [14:31:32] <Frans_Amsterdam> Hi all, i did get some help here al ready about dates, but I would like to translate dates in the template. Is it possible?
549: [14:34:18] * wmk has joined #silverstripe
550: [14:36:33] * slievr_ quit (Ping timeout: 246 seconds)
551: [14:38:14] <kinglozzer> Frans_Amsterdam: isn't that what the link swaiba gave you does?
552: [14:39:46] <Frans_Amsterdam> Kinglozzer No, can't get a translation out of that. It is more about formatting. I would like to translate the day and months.
553: [14:40:22] * wmk quit (Ping timeout: 272 seconds)
554: [14:40:29] <kinglozzer> Frans_Amsterdam: Have you set your locale with setlocale()?
555: [14:41:52] <Frans_Amsterdam> kinglozzer yes, setlocale(LC_ALL, $this->Locale);
556: [14:44:20] <kinglozzer> Frans_Amsterdam: If you call setlocale(LC_ALL, $this->Locale); strftime("%A");, is that translated?
557: [14:44:34] <kinglozzer> If not, I'd guess that your Locale isn't recognised or something
558: [14:46:31] <kinglozzer> Also Frans_Amsterdam, it's safer to set setlocale(LC_TIME instead of LC_ALL if you're only translating dates - setting LC_ALL can have side-effects elsewhere
559: [14:50:53] <Frans_Amsterdam> kinglozzer strftime("%A"); retuns a translated. Its Mittwoch. I guess I have to use a function with strftime()
560: [14:51:25] <kinglozzer> Frans_Amsterdam: FormatI18N uses strftime
561: [14:56:29] * darjus01 quit (Quit: Leaving)
562: [14:56:53] * Audlex has joined #silverstripe
563: [14:58:16] <Frans_Amsterdam> Kinglozzer thanks, it seems that some locales are not installed on the server
564: [15:02:26] * rob____ has joined #silverstripe
565: [15:02:27] <ss-helper> rob____: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
566: [15:02:41] * slievr has joined #silverstripe
567: [15:02:55] <rob____> can i have the url-segment of my home page empty
568: [15:03:14] <rob____> when I try this and save I get 'method not allowed'
569: [15:03:30] * Mike123 quit (Ping timeout: 246 seconds)
570: [15:04:22] * wmk has joined #silverstripe
571: [15:04:39] <rob____> i don't want my pages to appear as blah.com/home/foo
572: [15:04:48] <rob____> just blah.com/foo :)
573: [15:10:34] * wmk quit (Ping timeout: 268 seconds)
574: [15:33:07] <kinglozzer> rob____: You can disable nested URLs
575: [15:33:24] <kinglozzer> In config.yml, SiteTree: nested_urls: false
576: [15:33:40] <kinglozzer> Oh, *only* the home page?
577: [15:34:04] <kinglozzer> I don't know if you can do that :/ but you could always add a VirtualPage at the top-level if you're desperate to do it
578: [15:34:13] <muskie9> has anyone done a csv import in the model admin and had chars like é work?
579: [15:34:24] * wmk has joined #silverstripe
580: [15:34:32] <rob____> thnaks kinglozzer
581: [15:35:52] * DanaeNZ quit (Ping timeout: 246 seconds)
582: [15:40:10] * wmk quit (Ping timeout: 240 seconds)
583: [15:41:43] <ss-helper> SilverStripe 3.0 upgrade to 3.1 failure with Composer - http://stackoverflow.com/questions/32870246/silverstripe-3-0-upgrade-to-3-1-failure-with-composer
584: [15:49:21] * rob____ quit (Ping timeout: 246 seconds)
585: [16:03:22] <swaiba> kinglozzer Frans_Amsterdam - are you guys saying that just use ->FormatI18N instead of ->Format and it's all good?
586: [16:03:44] <kinglozzer> swaiba: Yeah, looks like that uses strftime :P
587: [16:03:58] <swaiba> I'll update the blog post then, thanks :)
588: [16:04:05] * kinglozzer had no idea
589: [16:04:28] * wmk has joined #silverstripe
590: [16:07:35] * MarcGuay has joined #silverstripe
591: [16:08:38] <MarcGuay> Hi folks. v2.4. I just added a new page type and template, chose the page type, and am getting "Generated with the default ContentController.ss template" on the frontend. I flushed cache. Any ideas?
592: [16:09:42] <MarcGuay> The filenames match...
593: [16:09:58] * wmk quit (Ping timeout: 260 seconds)
594: [16:10:49] <muskie9> MarcGuay your controller name matches the model name? MyPage extends Page... MyPage_Controller extends Page_Controller
595: [16:11:09] <MarcGuay> muskie9: Yes
596: [16:11:30] <muskie9> you ran dev/build ?
597: [16:12:01] <MarcGuay> Yep
598: [16:13:00] <muskie9> when my cache doesn't flush I add silverstripe-cache to the site root, and if I already have it I manually zap it's contents... that'll put the cache in that folder
599: [16:13:44] <MarcGuay> cd silverstripe-cache rm -Rf *?
600: [16:14:10] <muskie9> I generally do it from an ftp client rather than cli
601: [16:14:28] <MarcGuay> ok but you delete the entire contents of the dir?
602: [16:14:37] <muskie9> but I think that would work... or rm -rf silverstripe-cache then mkdir silverstripe-cache
603: [16:14:48] <MarcGuay> ok thanks
604: [16:15:09] <MarcGuay> muskie9: That worked, thanks a bunch.
605: [16:15:12] <MarcGuay> Buggy cache clearing?
606: [16:15:25] <muskie9> probably
607: [16:16:21] <muskie9> I'd get out of 2.4.x too if you can... it's no longer supported... I've got a bunch of clients I need to upgrade, it's a pain getting them to understand
608: [16:16:37] * kinglozzer quit ()
609: [16:17:50] <MarcGuay> muskie9: I bet. I'm not an expert with SS by any means, this is the first time I've touched it (project handed off by another dev), so I'm not sure I'm the one to do the updating. I'll talk to him about it.
610: [16:18:06] <MarcGuay> Thanks for the advice
611: [16:18:10] <muskie9> sure
612: [16:18:26] <MarcGuay> Any known security issues?
613: [16:19:26] <muskie9> can't recall, I'm guessing anything that was found was patched in 3.0.x and 3.1.x, 3.0.x may be close to end of life as well, 3.2.x will be coming out next month iirc
614: [16:34:30] * wmk has joined #silverstripe
615: [16:39:43] * Pyahalbnk quit ()
616: [16:40:42] * wmk quit (Ping timeout: 272 seconds)
617: [17:04:37] * wmk has joined #silverstripe
618: [17:10:36] * wmk quit (Ping timeout: 264 seconds)
619: [17:34:37] * wmk has joined #silverstripe
620: [17:40:45] * wmk quit (Ping timeout: 255 seconds)
621: [18:04:41] * wmk has joined #silverstripe
622: [18:09:56] * wmk quit (Ping timeout: 250 seconds)
623: [18:29:27] * Liquide has joined #silverstripe
624: [18:34:44] * wmk has joined #silverstripe
625: [18:37:30] * TRB143 quit (Quit: No Ping reply in 180 seconds.)
626: [18:38:37] * TRB143 has joined #silverstripe
627: [18:42:56] * wmk quit (Ping timeout: 272 seconds)
628: [18:48:13] * muskie9 quit (Read error: Connection reset by peer)
629: [19:04:42] * gelignite has joined #silverstripe
630: [19:04:49] * wmk has joined #silverstripe
631: [19:07:29] * adrexia has joined #silverstripe
632: [19:09:13] * DanaeNZ has joined #silverstripe
633: [19:09:58] * Stomach has joined #silverstripe
634: [19:10:20] * wmk quit (Ping timeout: 252 seconds)
635: [19:13:45] * DanaeNZ quit (Ping timeout: 250 seconds)
636: [19:16:13] * Alboes has joined #silverstripe
637: [19:17:27] <Alboes> hello. How to check if a user (not a specific user) is logged in in the controller? In the template I check with <% if $CurrentMember %>
638: [19:23:42] * Frans_Amsterdam quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
639: [19:34:50] * wmk has joined #silverstripe
640: [19:37:14] * Alboes quit (Remote host closed the connection)
641: [19:40:24] * zippy has joined #silverstripe
642: [19:40:40] * wmk quit (Ping timeout: 268 seconds)
643: [19:40:45] <zippy> morning
644: [19:40:48] <zippy> new osx out eh
645: [19:41:01] * TRB143 quit (Quit: No Ping reply in 180 seconds.)
646: [19:42:17] * TRB143 has joined #silverstripe
647: [19:44:42] * CodeTrap has joined #silverstripe
648: [19:53:24] * Colin[pi] has joined #silverstripe
649: [19:54:45] * glenn-bautista has joined #silverstripe
650: [20:00:32] * antmas has joined #silverstripe
651: [20:04:55] * wmk has joined #silverstripe
652: [20:06:55] <antmas> morning all o/
653: [20:08:02] <Stomach> hey antmas
654: [20:08:08] * muskie9 has joined #silverstripe
655: [20:10:25] * wmk quit (Ping timeout: 246 seconds)
656: [20:11:56] * DanaeNZ has joined #silverstripe
657: [20:12:12] * micmania1 has joined #silverstripe
658: [20:15:34] <zippy> morning
659: [20:18:15] <DanaeNZ> yo \o
660: [20:20:20] <antmas> o/
661: [20:20:22] <antmas> \o
662: [20:23:04] <DanaeNZ> antmas you waving to yourself
663: [20:25:18] * novaweb has joined #silverstripe
664: [20:25:55] <novaweb> Morning spacecadets
665: [20:26:06] <novaweb> 8-D
666: [20:26:35] <zippy> morning
667: [20:27:11] * helenclarko has joined #silverstripe
668: [20:27:28] <novaweb> Heard through the grapevine there's an eZPublish -> SilverStripe migration tool
669: [20:27:33] <novaweb> anyone know about this?
670: [20:27:44] <helenclarko> MORNING!!! o/
671: [20:27:57] <helenclarko> Aggressive.
672: [20:27:59] <novaweb> yeow
673: [20:28:07] * Stomach quit (Quit: bye)
674: [20:28:28] <MarcGuay> SS 2.4, how can I get a page's URL by ID in a template?
675: [20:29:02] <novaweb> Write a function in the php for that page, send it to a variable to use in template
676: [20:29:09] <muskie9> ^
677: [20:29:32] <novaweb> something like DataObject::get("Page", $this->ID);
678: [20:29:37] <MarcGuay> If I need it for many pages, smarter to make a general function in Page?
679: [20:29:47] <novaweb> return $page->URL
680: [20:30:04] <novaweb> perhaps DataObject::get_one
681: [20:30:17] <MarcGuay> Thanks
682: [20:32:06] * novaweb quit (Remote host closed the connection)
683: [20:32:42] * novaweb has joined #silverstripe
684: [20:33:06] * micmania1 quit (Quit: micmania1)
685: [20:34:35] * micmania1 has joined #silverstripe
686: [20:34:36] * novaweb_ has joined #silverstripe
687: [20:34:36] * novaweb quit (Read error: Connection reset by peer)
688: [20:34:59] * wmk has joined #silverstripe
689: [20:36:28] <muskie9> that moment your host upgrades php and your clients refused to upgrade their site to 3.x (and no down time to just upgrade them) http://puu.sh/ktWhU/3cf4c6c655.gif
690: [20:37:09] <antmas> muskie9: lol I know that feeling well
691: [20:37:19] <zippy> I think it's possible to make 2.x run on php 5.x
692: [20:37:44] <novaweb_> muskie9, are you kiwi?
693: [20:37:55] <novaweb_> I have a server running that will do it to buy you some time if needed
694: [20:37:58] <terryapodaca> =-O
695: [20:38:00] <muskie9> novaweb_ na
696: [20:38:06] <novaweb_> where are yoyu?
697: [20:38:09] <novaweb_> how many sites?
698: [20:38:13] <terryapodaca> I thought they hated being called kiwi
699: [20:38:43] <novaweb_> terry... travelling ladies love "kiwi boys" :D
700: [20:38:49] <muskie9> US, Wisconsin... we have one other host that will support older php through the end of the year, enough time to get on the clients' asses about upgrades again
701: [20:38:57] <novaweb_> Cooooh
702: [20:39:27] <muskie9> zippy there's a line in manifest somewhere that needed a ; after a continue... that's been the fix in my experience, but didn't work on 5.6
703: [20:39:43] * UndefinedOffset quit (Quit: Leaving.)
704: [20:40:17] <helenclarko> novaweb_, My Fiancee is Canadian, your "travelling ladies love "kiwi boys"" rings true here haha.
705: [20:40:22] <muskie9> moved 5 sites in a few hours last night, clients always say.. the site works fine, why would we upgrade... http://www.reactionface.info/sites/default/files/imagecache/Node_Page/images/1314029819767.png
706: [20:40:39] * wmk quit (Ping timeout: 240 seconds)
707: [20:40:54] * slievr quit (Ping timeout: 246 seconds)
708: [20:42:53] <novaweb_> helenclarko, yeah boi!
709: [20:43:05] <novaweb_> muskie9.... because SECURITY
710: [20:43:09] <helenclarko> muskie9, Do some marketing... Just say "It'll bring more clients to your site or some shit".
711: [20:43:11] <novaweb_> vulnerabilities
712: [20:43:24] <muskie9> helenclarko that might work lol
713: [20:43:44] <novaweb_> I told my clients on SS2 they need to upgrade. Their site got hacked, said I told them so now their site is missing half the content
714: [20:43:57] <muskie9> novaweb_ I've been giving our account peeps all the technical stuff as far as php, ss and how/why versioning and support cycles are a thing
715: [20:43:59] <helenclarko> muskie9, Most cases that's all they are interested in.
716: [20:44:32] <muskie9> for sure
717: [20:44:46] <novaweb_> Recently gone through a purging where I've literally dropped any client who don't take their site seriously enough to have it in version control and pay for upgrades
718: [20:45:36] <muskie9> we may do that with this, help keep the consistent clients
719: [20:45:49] <muskie9> drop the nickel and dimers
720: [20:53:10] * novaweb_ quit (Remote host closed the connection)
721: [20:59:31] <antmas> man
722: [20:59:48] <antmas> bus fares cost more than what I spend on petrol per week :O
723: [20:59:52] <antmas> what a rip!
724: [21:00:18] <antmas> zippy: ever use the bus much?
725: [21:00:26] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
726: [21:00:38] <antmas> If I use the bus from Nelson to Richmond for work, every day, that costs more than I spend on petrol for me car :O
727: [21:01:09] <zippy> antmas: i've used it twice
728: [21:01:18] <zippy> quite good, on time, didn't think it was too bad
729: [21:01:45] <zippy> you factor in wear + wof + rego + insurance
730: [21:01:52] <antmas> yeah the time/route is pretty good
731: [21:02:07] <antmas> well yearly, my car would be $45 per week to cover all of that
732: [21:02:08] <helenclarko> antmas, Yeahhh.... But Nelson bus service.
733: [21:02:23] <zippy> helenclarko: gotten a lot better in the past couple of years
734: [21:02:50] <helenclarko> zippy, Its been awhile since I used it.
735: [21:02:59] <antmas> the bus would be $40 per week
736: [21:04:05] * muskie9 has joined #silverstripe
737: [21:05:04] * wmk has joined #silverstripe
738: [21:05:50] <zippy> antmas: isn't there a consession card?
739: [21:06:13] <zippy> wouldn't you get a discount since your a council pawn?
740: [21:07:04] <zippy> Full fare (Richmond to Nelson) for an adult is $4. A range of concessions and multi-trip discounts are available..
741: [21:07:40] <zippy> $32.00 for 10 trips to through 4 zones. $84 for 30 trips
742: [21:08:03] <zippy> $2.80 a trip, not bad
743: [21:08:54] <zippy> riding the loser cruiser
744: [21:10:30] * wmk quit (Ping timeout: 260 seconds)
745: [21:12:11] <zippy> ss23: the topic version is wrong madmatt
746: [21:15:24] * adrexia quit (Quit: My Mac has gone to sleep. ZZZzzz…)
747: [21:15:42] * novaweb has joined #silverstripe
748: [21:16:04] * Azure quit (Ping timeout: 246 seconds)
749: [21:16:33] <antmas> zippy: maybe?
750: [21:16:36] <antmas> no discounts here
751: [21:16:45] <antmas> but I did only just look at straight fair prices
752: [21:17:01] <zippy> antmas: http://nelson.govt.nz/services/transport/nbus/fares-and-zone-map/
753: [21:17:12] * Azure has joined #silverstripe
754: [21:17:36] <antmas> zippy: yeah so is that $4.00 per trip from Nelson to Richmond?
755: [21:18:20] <antmas> or, do you pay for the trip based on the zone that you depart from?
756: [21:18:36] <zippy> zone
757: [21:18:47] <zippy> like
758: [21:18:50] <zippy> how many zones you go through
759: [21:18:57] <zippy> sto tahuna to richmond is 2
760: [21:19:05] <zippy> 3
761: [21:19:11] <zippy> toke to richmond is 2
762: [21:19:28] <antmas> well I'd go from zone 1 to zone 4 and return
763: [21:19:58] <zippy> so $4.00, or buy a 10 pack for $32 = $3.20, or a 30 pack for $84 = $2.80
764: [21:20:46] <antmas> ok so multi pack would work out cheaper then
765: [21:22:53] <antmas> I'd save about $15 per week
766: [21:23:51] <helenclarko> so $5.60 a day?
767: [21:24:24] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
768: [21:24:33] <antmas> I'd need 40 trips per month
769: [21:24:46] <antmas> which is $116 per month
770: [21:25:20] <antmas> car = $180 per month
771: [21:25:29] <antmas> so, like $16 per week difference
772: [21:25:51] <helenclarko> Thats lunch and nippy's money right there.
773: [21:25:52] <antmas> not overly sure that's worth it :P
774: [21:25:57] <antmas> lol true
775: [21:27:14] <antmas> zippy: we should start uber in nelson
776: [21:27:34] <antmas> we'd be like, hundredaires in no time
777: [21:28:54] <zippy> could get Hone Ma Heke to give people rides on his horse and cart
778: [21:29:33] <antmas> he'd probably just spend the money on paint for his signs
779: [21:31:19] <DanaeNZ> awesoooome, just had a meeting with CloudHouse. They are gonna migrate all our sites to AWS for us
780: [21:31:27] <helenclarko> antmas, zippy, Do you still have the angry little person?
781: [21:31:29] <DanaeNZ> Then we can get some sweet dev environmnets
782: [21:31:32] <DanaeNZ> S3
783: [21:31:34] <DanaeNZ> RDS
784: [21:31:38] <DanaeNZ> yas yas yaaasssss
785: [21:32:06] <antmas> helenclarko: I *think* so
786: [21:32:11] <antmas> people mcnuggets
787: [21:33:06] <helenclarko> antmas, He tried to get in my car once. He wanted a ride into the city.
788: [21:33:53] <antmas> helenclarko: lol
789: [21:34:10] <antmas> not so long ago some dearo opened my car door and sat in the passenger seat
790: [21:34:19] <antmas> asked if I wanted to buy his bike for $50
791: [21:34:20] <helenclarko> ha People mcnuggets!
792: [21:34:33] <antmas> it had 2 flat tyres and no seat LOL
793: [21:34:50] <helenclarko> antmas, "Wanna get out of my car for $50"
794: [21:34:58] <antmas> XD
795: [21:35:08] * wmk has joined #silverstripe
796: [21:35:15] <zippy> http://cloud.house/about.html - dunno about those wine drinkers.. and the dude with his beer cooler :)
797: [21:35:45] <antmas> zippy: holy shit that dude is tall
798: [21:36:00] <DanaeNZ> what a tall guy
799: [21:36:15] <DanaeNZ> actually I met Jordan IRL he wasn't too tall himself
800: [21:36:28] <DanaeNZ> he's the surfer dude we call him
801: [21:36:28] <antmas> zippy: you know that nelson dude that is always riding a bike talking to himself?
802: [21:36:35] <zippy> nop
803: [21:36:49] <antmas> :O
804: [21:36:52] <antmas> hes famous
805: [21:37:15] <antmas> DanaeNZ: the token out-of-place surfer dude at a tech company :P
806: [21:37:22] <zippy> not famous enough evidently :)
807: [21:37:57] <antmas> zippy: I saw him last night in the Fresh Choice carpark talking to his helmet about windows phones lol
808: [21:38:35] <helenclarko> antmas, This guy? http://i.imgur.com/EiERt6q.png
809: [21:39:18] <DanaeNZ> ANOTHER
810: [21:39:20] <DanaeNZ> CHICKEN
811: [21:39:22] <DanaeNZ> BUTT
812: [21:39:23] <zippy> https://www.youtube.com/watch?v=a1nrtRLhvuQ
813: [21:39:25] <DanaeNZ> it is not my week
814: [21:39:33] <zippy> ^ not chicken butt
815: [21:39:36] * novaweb quit (Remote host closed the connection)
816: [21:39:40] * novaweb_ has joined #silverstripe
817: [21:39:43] <DanaeNZ> antmas: yeah he's a little out of place except he drives a porsche
818: [21:39:52] <antmas> helenclarko: lol fuck you
819: [21:40:29] <antmas> DanaeNZ: of course he does :P
820: [21:41:18] <helenclarko> I'm sick of being caught out by chickenbutt.
821: [21:41:21] <DanaeNZ> I'm in the wrong job haha
822: [21:41:32] * wmk quit (Ping timeout: 265 seconds)
823: [21:42:35] <helenclarko> DanaeNZ, What does he do? Marketing?
824: [21:42:37] <terryapodaca> Simon's cat needs help: http://gogetfunding.com/fund-firespheres-cat-dodge-to-new-zealand/
825: [21:42:56] <Colin[pi]> moin moin o/
826: [21:43:05] <helenclarko> Colin[pi], o/
827: [21:43:10] <antmas> Colin[pi]: o/
828: [21:43:24] <antmas> still can't unsee the nazi salute
829: [21:44:30] <helenclarko> Ich liebe Huhn-Hintern
830: [21:44:34] <Colin[pi]> yeah, I can nazi anything else
831: [21:44:47] <Colin[pi]> boom tish
832: [21:44:54] <antmas> Colin[pi]: GET OUT
833: [21:45:00] <Colin[pi]> NEVAR
834: [21:45:42] <helenclarko> Ich liebe Huhn-Hintern
835: [21:45:51] <Colin[pi]> btw this is freakin hilarious (nsfw language): https://vid.me/KVfZ
836: [21:46:15] <helenclarko> Colin[pi], No chickenbutt?
837: [21:46:26] <Colin[pi]> nope
838: [21:46:42] <helenclarko> Ich liebe Huhn-Hintern
839: [21:46:55] <DanaeNZ> helenclarko: nah he's a super smart tech guy
840: [21:47:06] <antmas> Colin[pi]: LOL awesome
841: [21:48:03] <antmas> DanaeNZ: does he syngergise the team and is a code-ninja specialising in agile awesome buzzword thing?
842: [21:48:11] <antmas> :D
843: [21:48:21] <antmas> also synergise
844: [21:48:45] <zippy> Colin[pi]: christ, hands are all over the place
845: [21:53:30] <DanaeNZ> > npm install
846: [21:53:34] <DanaeNZ> > pretend to be hacker
847: [21:55:09] <Colin[pi]> DanaeNZ: http://hackertyper.net/
848: [21:55:11] * muskie9 quit (Read error: Connection reset by peer)
849: [21:55:16] <DanaeNZ> Colin[pi]: lolololol
850: [21:55:28] * muskie9 has joined #silverstripe
851: [21:55:44] <Colin[pi]> DanaeNZ: I wonder how many have used that on their bosses?
852: [21:55:50] <Colin[pi]> "holy shit, look how fast DanaeNZ codes!"
853: [21:55:54] <DanaeNZ> XD
854: [21:56:13] <helenclarko> right click computer, left click manage, open event viewer, Left Click Windows logs, Left Click System, show client how hacked they are!
855: [21:56:37] * muskie9 quit (Client Quit)
856: [21:56:45] * Azure quit (Quit: Oops.)
857: [21:57:24] <antmas> Colin[pi]: amazing
858: [21:58:53] <helenclarko> Colin[pi], Got any of that stuff in other languages?
859: [21:59:00] <helenclarko> Ich liebe Huhn-Hintern
860: [21:59:08] <Colin[pi]> wat
861: [22:04:25] <novaweb_> n00b IRC question, why is there and underscore after my username?
862: [22:05:02] <antmas> that's usually because you joined while there was already a novaweb in here
863: [22:05:11] * wmk has joined #silverstripe
864: [22:05:17] <antmas> if you quit and join again, it will go back to novaweb
865: [22:05:25] <zippy> or just type /nick novaweb
866: [22:06:19] <antmas> or that :P
867: [22:08:47] * novaweb_ is now known as novaweb
868: [22:08:51] <novaweb> booyaaa
869: [22:09:44] <Colin[pi]> yeah and if you type your password, it will automatically convert to asterisks, see: *********
870: [22:09:49] <Colin[pi]> how cool is that?
871: [22:10:21] <antmas> Colin[pi]: gg
872: [22:10:24] <Colin[pi]> ;)
873: [22:10:28] <Colin[pi]> hunter2
874: [22:10:30] <Colin[pi]> :D
875: [22:11:10] * wmk quit (Ping timeout: 260 seconds)
876: [22:12:28] * mahfuz has joined #silverstripe
877: [22:13:15] <helenclarko> ChickenButt69
878: [22:13:21] <antmas> lol
879: [22:13:29] <helenclarko> Colin[pi], It didnt work
880: [22:13:39] * antmas hacks helenclarko
881: [22:13:59] <helenclarko> Did it show for you guys?
882: [22:14:06] <Colin[pi]> no, see, you see ChickenButt69, but we see *************
883: [22:14:22] <antmas> stahhhhp
884: [22:14:26] <Colin[pi]> XD
885: [22:14:29] <helenclarko> Oh, cool!
886: [22:14:59] * Colin[pi] wonders how many people antmas works with that would fall for this gag
887: [22:15:38] <antmas> I don't even want to know
888: [22:15:58] <Colin[pi]> :D
889: [22:16:13] <helenclarko> My fav is changing password fields to text fields before letting someone use your computer for facebook. Then just sit and wait.
890: [22:16:35] <antmas> lol
891: [22:16:35] <Colin[pi]> lol
892: [22:16:38] <Colin[pi]> nice
893: [22:16:58] <antmas> you barely even have to do that these days
894: [22:17:09] <antmas> 9/10 people leave passwords saved to browser
895: [22:17:22] <helenclarko> haha, I do too
896: [22:17:37] <antmas> lol same
897: [22:17:38] <antmas> it's so bad
898: [22:17:43] <antmas> but so convenient!
899: [22:18:30] <DanaeNZ> it feels like Friday
900: [22:18:36] <DanaeNZ> so close
901: [22:18:53] <antmas> mmm it does
902: [22:19:00] <antmas> so far awa though :(
903: [22:19:02] <helenclarko> antmas, I set a friends facebook so that his messages could only be seen by himself. So it looked like he was posting messages, but only he could see them. Trouble was that he was in a band and had spent a week on promo stuff only he could see. HE WAS PISSED!
904: [22:19:03] <antmas> away*
905: [22:19:15] <antmas> LOL
906: [22:19:19] <antmas> helenclarko: hhahahaha
907: [22:21:32] * CodeTrap quit (Quit: CodeTrap)
908: [22:25:08] * oetiker has joined #silverstripe
909: [22:26:26] * oetiker quit (Client Quit)
910: [22:27:16] * ss-log has joined #silverstripe
911: [22:31:58] <antmas> settle down, ss-log
912: [22:32:32] <helenclarko> down boy, down... good log.
913: [22:33:28] <antmas> Sit ubu, sit... good dog
914: [22:33:47] <Colin[pi]> WOOF
915: [22:34:09] <helenclarko> That's some nice hat harry.
916: [22:35:12] * wmk has joined #silverstripe
917: [22:39:41] * zippy quit (Ping timeout: 256 seconds)
918: [22:40:47] * wmk quit (Ping timeout: 252 seconds)
919: [22:53:18] <Colin[pi]> it's quiet in here... a LITTLE.... too... quiet
920: [22:54:35] * DimiStripe quit (Quit: DimiStripe)
921: [22:59:08] * spronk has joined #silverstripe
922: [23:00:31] <antmas> Colin[pi]: it is, I'm working on like 5 different things at once
923: [23:00:37] <antmas> php this, c# that
924: [23:00:40] <antmas> :|
925: [23:00:47] * antmas needs a holiday
926: [23:03:32] <Colin[pi]> :\
927: [23:03:41] <Colin[pi]> I know dat feel
928: [23:05:15] * wmk has joined #silverstripe
929: [23:10:30] * wmk quit (Ping timeout: 252 seconds)
930: [23:13:52] * LimRes has joined #silverstripe
931: [23:24:47] <LimRes> Hey SS Peeps, anybody used Uncle Cheese's Dropzone?
932: [23:35:18] * wmk has joined #silverstripe
933: [23:38:18] <spronk> http://i.imgur.com/cVRJNFH.jpg
934: [23:38:43] <Colin[pi]> spronk: ha haaa
935: [23:39:03] <Colin[pi]> is funny because F5 is the refresh key and no one wants to install software updates!
936: [23:40:43] * DanaeNZ quit (Remote host closed the connection)
937: [23:41:12] * wmk quit (Ping timeout: 264 seconds)
938: [23:48:11] * glenn-bautista quit (Quit: Leaving.)
939: [23:48:48] <spronk> :D
940: [23:50:57] <novaweb> phpbased web scraper using cURL
941: [23:50:58] <novaweb> GO!
942: [23:51:23] <novaweb> or file_get_contents
943: [23:55:54] * zippy has joined #silverstripe
944: [23:56:48] * DanaeNZ has joined #silverstripe
945: [23:59:09] * Azure has joined #silverstripe

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