#silverstripe IRC Log

IRC log for 24 August 2014

All timestamps are in UTC.

1: [00:08:18] * cloph_away quit (Ping timeout: 250 seconds)
2: [00:08:51] * Stomach quit (Quit: zzz)
3: [00:09:36] * cloph_away has joined #silverstripe
4: [00:40:37] * jrthomer quit (Ping timeout: 245 seconds)
5: [00:44:51] * simon_w quit (Quit: Ping timeout: your mum)
6: [00:45:13] * cloph has joined #silverstripe
7: [00:45:20] * cloph_away quit (Ping timeout: 260 seconds)
8: [00:48:35] * jrthomer has joined #silverstripe
9: [00:52:28] * simon_w has joined #silverstripe
10: [00:57:18] * Stomach has joined #silverstripe
11: [00:57:48] * cloph_away has joined #silverstripe
12: [00:58:05] * cloph quit (Ping timeout: 272 seconds)
13: [01:02:03] * cloph_away quit (Ping timeout: 240 seconds)
14: [01:05:55] * cloph_away has joined #silverstripe
15: [01:07:26] * LoveDuckie quit (Read error: Connection reset by peer)
16: [02:11:50] * Stomach quit (Quit: zzz)
17: [02:40:05] * Stomach has joined #silverstripe
18: [02:44:10] * simon_w quit (Quit: Ping timeout: your mum)
19: [02:51:34] * travis-ci has joined #silverstripe
20: [02:51:35] <travis-ci> [travis-ci] chillu/silverstripe-framework#147 (pulls/contrib-docs - 0b7533a : Ingo Schommer): The build passed.
21: [02:51:35] <travis-ci> [travis-ci] Change view : https://github.com/chillu/silverstripe-framework/compare/9899b48daf4d^...0b7533aa120f
22: [02:51:35] <travis-ci> [travis-ci] Build details : http://travis-ci.org/chillu/silverstripe-framework/builds/33396762
23: [02:51:35] * travis-ci has left #silverstripe
24: [02:57:34] * Stomach quit (Quit: zzz)
25: [02:57:48] * Olliepop has joined #silverstripe
26: [02:59:11] * gelignite quit (Quit: http://bit.ly/nkczDT)
27: [03:00:21] * ocmnt quit (Ping timeout: 240 seconds)
28: [04:01:00] * cloph has joined #silverstripe
29: [04:01:46] * cloph_away quit (Ping timeout: 272 seconds)
30: [04:36:11] * Stomach has joined #silverstripe
31: [05:13:24] * Stomach_ has joined #silverstripe
32: [05:15:15] * Stomach_ quit (Read error: Connection reset by peer)
33: [05:15:38] * Stomach quit (Ping timeout: 250 seconds)
34: [05:17:34] * Stomach has joined #silverstripe
35: [05:20:39] * spronk2 has joined #silverstripe
36: [05:38:03] * r_hector1 quit (Read error: Connection reset by peer)
37: [05:48:01] * Kingy is now known as Kingy[a]
38: [05:48:45] * Kingy[a] is now known as Kingy
39: [06:23:26] * vebb has joined #silverstripe
40: [06:33:14] * spronk2 quit (Quit: spronk2)
41: [06:35:49] * Kingy is now known as Kingy[a]
42: [06:42:17] * Stomach quit (Quit: zzz)
43: [06:50:31] * Stomach has joined #silverstripe
44: [06:56:20] * ocmnt has joined #silverstripe
45: [06:58:17] * spronk2 has joined #silverstripe
46: [07:00:21] * ocmnt quit (Ping timeout: 240 seconds)
47: [07:18:40] * spronk2 quit (Quit: spronk2)
48: [07:32:02] * spronk2 has joined #silverstripe
49: [07:57:05] * Stomach quit (Quit: zzz)
50: [08:14:47] * Error404NotFound has joined #silverstripe
51: [08:33:38] * simon_w has joined #silverstripe
52: [08:39:16] * Error404NotFound quit (Read error: Connection reset by peer)
53: [08:48:15] * spronk2 quit (Quit: spronk2)
54: [08:59:32] * spronk2 has joined #silverstripe
55: [08:59:37] * zippy has joined #silverstripe
56: [09:31:21] * zippy quit (Quit: Textual IRC Client: www.textualapp.com)
57: [10:03:58] * ocmnt has joined #silverstripe
58: [10:20:40] * Shrike_Finland has joined #silverstripe
59: [10:27:00] <ocmnt> howdy!
60: [10:29:16] <simon_w> Evening
61: [10:40:53] <ss23> hihi
62: [10:54:35] * shar has joined #silverstripe
63: [10:54:51] <shar> Hello
64: [10:55:08] <shar> how tu make language switcher for silverstripe 3.1.5 ?
65: [10:55:28] <shar> I googled, but template code doesn't work
66: [11:20:00] * simon_w quit (Quit: Ping timeout: your mum)
67: [11:22:31] <ocmnt> shar, what do you mean by language switcher? something like this: https://github.com/silverstripe/silverstripe-translatable
68: [11:22:35] <ocmnt> ?
69: [11:25:49] <shar> Yes, i installed Translatable module, i now i want to make language switcher in template
70: [11:26:47] <shar> but this example not work
71: [11:26:48] <shar> <% if Translations %> <ul class="translations"> <% loop Translations %> <li class="$Locale.RFC1766"> <a href="$Link" hreflang="$Locale.RFC1766" title="$Title"> <% sprintf(_t('SHOWINPAGE','Show page in %s'),$Locale.Nice) %> </a> </li> <% end_loop %> </ul> <% end_if %>
72: [11:28:24] <shar> Looks like Translations variable in template not exists
73: [11:47:16] * Shrike_Finland quit (Quit: Leaving.)
74: [11:47:44] * gelignite has joined #silverstripe
75: [12:44:10] * shar quit (Ping timeout: 246 seconds)
76: [12:51:25] * Error404NotFound has joined #silverstripe
77: [13:21:53] * Error404NotFound quit (Read error: Connection reset by peer)
78: [13:47:53] * ocmnt quit (Read error: Connection reset by peer)
79: [13:49:00] * ocm13 has joined #silverstripe
80: [13:59:30] * babak quit (Quit: Connection closed for inactivity)
81: [14:39:29] * spronk2 quit (Quit: spronk2)
82: [14:51:59] * spronk2 has joined #silverstripe
83: [14:52:37] * spronk2 quit (Client Quit)
84: [14:53:45] * Shrike_Finland has joined #silverstripe
85: [15:44:49] * sgrover has joined #silverstripe
86: [15:53:04] * Azure quit (Ping timeout: 250 seconds)
87: [16:15:08] * sgrover quit (Quit: This computer has gone to sleep)
88: [16:16:56] * Azure has joined #silverstripe
89: [16:18:48] * Shrike_Finland quit (Quit: Leaving.)
90: [17:31:37] * sgrover has joined #silverstripe
91: [18:01:55] * sgrover quit (Quit: This computer has gone to sleep)
92: [19:44:47] * eagles0513875 quit (Quit: ZNC @ TrekWeb - https://trekweb.org)
93: [19:49:32] * eagles0513875 has joined #silverstripe
94: [19:58:59] * Stomach has joined #silverstripe
95: [20:09:19] * Cheddam has joined #silverstripe
96: [20:25:41] * Liquide has joined #silverstripe
97: [20:30:02] * nickmolhoek has joined #silverstripe
98: [20:36:08] * Ryan-Toast has joined #silverstripe
99: [20:46:40] * zippy has joined #silverstripe
100: [20:50:08] * Shrike_Finland has joined #silverstripe
101: [20:50:52] <zippy> Kingy[a]: o/
102: [20:56:58] * travis-ci has joined #silverstripe
103: [20:56:59] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#1044 (3.1 - 3f902eb : Will Rossiter): The build passed.
104: [20:56:59] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/fa90658b7ca6...3f902eb9fc6c
105: [20:56:59] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/33323841
106: [20:56:59] * travis-ci has left #silverstripe
107: [21:07:18] * travis-ci has joined #silverstripe
108: [21:07:19] <travis-ci> [travis-ci] chillu/silverstripe-framework#148 (pulls/contrib-docs - 5c9e88b : Ingo Schommer): The build passed.
109: [21:07:19] <travis-ci> [travis-ci] Change view : https://github.com/chillu/silverstripe-framework/compare/0b7533aa120f...5c9e88b9a048
110: [21:07:19] <travis-ci> [travis-ci] Build details : http://travis-ci.org/chillu/silverstripe-framework/builds/33441568
111: [21:07:19] * travis-ci has left #silverstripe
112: [21:08:59] * zippy quit (Quit: Textual IRC Client: www.textualapp.com)
113: [21:14:12] * zippy has joined #silverstripe
114: [21:18:12] * travis-ci has joined #silverstripe
115: [21:18:12] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#3214 (3.1 - afa6612 : Sean Harvey): The build passed.
116: [21:18:12] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/13ca45411cb1...afa66120746e
117: [21:18:12] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/33442266
118: [21:18:12] * travis-ci has left #silverstripe
119: [21:18:56] * UncleCheese has joined #silverstripe
120: [21:20:00] <zippy> morning UncleCheese
121: [21:20:03] <UncleCheese> hi
122: [21:20:59] <Stomach> mmm cheese
123: [21:23:15] * micmania1 has joined #silverstripe
124: [21:24:26] * gelignite quit (Quit: http://bit.ly/nkczDT)
125: [21:27:42] <adrexia_> <Stomach> mmm cheese
126: [21:27:44] <adrexia_> lols
127: [21:39:04] <Ryan-Toast> I have decided my life goal is to only work 4 days a week.
128: [21:39:22] <Stomach> why not two?
129: [21:39:25] <Stomach> or none
130: [21:39:33] <Ryan-Toast> shhh
131: [21:39:36] <Stomach> my life goal is to die
132: [21:39:41] <Stomach> stupid predetermined goals.
133: [21:41:16] * micmania1 quit (Quit: micmania1)
134: [21:42:25] <zippy> Ryan-Toast: 4 days doing 10 hour days? :)
135: [21:42:34] <Ryan-Toast> Stomach: I think 4 is a good amount so you don’t get bored.
136: [21:45:07] * Phlunk3 has joined #silverstripe
137: [21:46:26] <Stomach> Ryan-Toast - I think that if I didn't work I would be able to entertain myself
138: [21:46:33] <Stomach> you could do sweet projects
139: [21:46:37] <Stomach> like buying a lathe
140: [21:46:41] <Stomach> and lathing things
141: [21:46:49] <Ryan-Toast> Stomach: Metal lathe, mmmmmm
142: [21:47:14] <Ryan-Toast> Working on my first 2.4 site. Wat the fuk.
143: [21:47:39] <Stomach> lol
144: [21:47:42] <Stomach> its a bit different aye
145: [21:48:07] * Kingy[a] is now known as Kingy
146: [21:51:33] <Ryan-Toast> Stomach: 5 minutes in and just completed my first core hack, yuss
147: [21:53:20] <adrexia_> Yeah, I'm not sure about the 4 day week thing, but I'm willing to try it at some point ;)
148: [21:53:50] <Ryan-Toast> adrexia_: Own a business, pay people 30% less to work 4 days a week.
149: [21:53:54] <Ryan-Toast> 20%
150: [21:54:01] * micmania1 has joined #silverstripe
151: [21:54:05] <Ryan-Toast> I’d do it
152: [21:54:35] <zippy> Ryan-Toast: If you work 4 days you'd get 20% less. But if you worked 4 days and started doing 5 you'd get paid 25% more...
153: [21:55:43] <Ryan-Toast> zippy: http://i.imgur.com/pGOmE.gif
154: [21:56:22] <spronk> 4 days 10 hour > 5 days 8 hour\
155: [21:57:30] <Ryan-Toast> 25% of 4 days is the same as 20% of 5 days though.
156: [21:58:29] <zippy> Ryan-Toast: it is yes
157: [22:01:15] * willr has joined #silverstripe
158: [22:08:57] <zippy> Kingy: morning
159: [22:09:57] <Kingy> hey zippy
160: [22:10:06] <spronk> 30 hour week would pwn
161: [22:10:18] <spronk> never have enough time to do anything really working 40 hours
162: [22:11:01] * hailwood has joined #silverstripe
163: [22:11:36] <hailwood> Hey guys - Where in the docs can I find how to print the current url in a template
164: [22:16:29] <Stomach> $Link
165: [22:18:16] <hailwood> What about if I want an absolute url? I tried {$BaseHref}{$Link} but that gives me a double // since $BaseHref has a trailing slash and $Link has a proceeding slash (also where are these documented? Had to find them in a forum post)
166: [22:18:41] <Stomach> $AbsoluteLink
167: [22:19:16] * hailwood feels silly - thanks - question about documentation still stands though
168: [22:19:40] <Stomach> yeah I cant find it
169: [22:19:57] <Stomach> there used to be a page for built in template controls
170: [22:19:57] <Stomach> but not for 3.1 it seems
171: [22:22:04] <hailwood> Heh yeah - even the link to "Build in page controls" in the Related section at the bottom of http://doc.silverstripe.org/framework/en/reference/templates gives 404
172: [22:25:02] * camfindlay has joined #silverstripe
173: [22:26:48] <Stomach> camfindlay might know hailwood
174: [22:26:56] <spronk> OMFG FUCK OFF OUTLOOK FAILED TO UPDATE HEADERS YOU SHIT PIECE OF SHIT\
175: [22:28:06] * Stomach quit (Read error: Connection reset by peer)
176: [22:28:08] * Stomach_ has joined #silverstripe
177: [22:29:17] <guzzlefry> :(
178: [22:31:11] <spronk> monday rage
179: [22:34:19] <guzzlefry> oh, that's tomorrow for me
180: [22:37:04] * simon_w has joined #silverstripe
181: [22:46:47] * camfindlay quit (Quit: camfindlay)
182: [22:46:52] * Olliepop quit (Ping timeout: 246 seconds)
183: [22:48:12] <hailwood> Anyone know why - whenever I try to change page in the cms I end up bringing up the SS loading icon (3 dots) and it just sits there - the url changes but nothing happens until I select the address bar and press enter?
184: [22:48:12] * Stomach_ quit (Ping timeout: 245 seconds)
185: [22:49:15] * Stomach has joined #silverstripe
186: [22:54:01] <Ryan-Toast> hailwood: have you checked tyour console?
187: [22:54:09] <hailwood> Yeah no errors
188: [22:54:36] <Ryan-Toast> hailwood: And when you refresh the page that’s not loading?
189: [22:54:53] <hailwood> Then it loads - given me a second I'll do a screen rec
190: [22:55:03] <Ryan-Toast> Also check your php_log in the framework folder
191: [22:55:13] <Ryan-Toast> see if there’s anything in there.
192: [22:55:27] <Ryan-Toast> Also try turning on dev mode and see itf it gves you an error
193: [22:55:40] <simon_w> hailwood, sounds like you've get whitespace being outputted when it shouldn't be (i.e. before a <?php)
194: [22:57:40] * ocm13 quit (Ping timeout: 260 seconds)
195: [22:58:35] <hailwood> I am in dev mode - and of course now I decide to do a screen rec it starts working :|
196: [23:04:05] <Stomach> one which sometimes gets me (or used to in 2.4) was having a _config.php with only <?php and no newline too
197: [23:08:51] <Blacklite> is there an easy way to use nl2br on an email template in silverstripe?
198: [23:10:07] <hailwood> Hmm yeah _config.php has content in it so don't think it's that
199: [23:10:15] <Stomach> do it before you pass the content into the email Blacklite ?
200: [23:10:21] <Ryan-Toast> public function foo(){return nl2br($message);} ?
201: [23:14:07] <Blacklite> so in the controller?
202: [23:14:20] <Ryan-Toast> Blacklite: Yeah
203: [23:14:37] <Blacklite> thing is - this particular data isn't related to a specific model
204: [23:14:46] <Ryan-Toast> Blacklite: I’d just do it in your Form method
205: [23:15:13] <simon_w> Blacklite, the default forTemplate() should do it for you
206: [23:15:37] <Ryan-Toast> something like $data[‘’Message] = nl2br($data[‘’Messege]);
207: [23:19:04] * Bollig|DesignCty has joined #silverstripe
208: [23:31:04] * nickmolhoek quit (Quit: nickmolhoek)
209: [23:32:05] <Ryan-Toast> does empty() work on an ArrayList?
210: [23:33:01] <zippy> or ->count() == 0
211: [23:33:21] <zippy> !$foo->count()
212: [23:36:10] * travis-ci has joined #silverstripe
213: [23:36:10] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#3220 (master - f3974f0 : Damian Mooyman): The build passed.
214: [23:36:10] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/c0abb08b61a3...f3974f0e63e3
215: [23:36:10] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/33450022
216: [23:36:10] * travis-ci has left #silverstripe
217: [23:43:43] <Ryan-Toast> zippy: chur
218: [23:57:37] * travis-ci has joined #silverstripe
219: [23:57:37] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#3221 (3.1.6 - 9da3357 : Damian Mooyman): The build has errored.
220: [23:57:37] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/f49416858cee...9da3357e3a73
221: [23:57:37] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/33450190
222: [23:57:37] * travis-ci has left #silverstripe

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