#silverstripe IRC Log

IRC log for 22 August 2014

All timestamps are in UTC.

1: [00:00:00] * Azure quit (Quit: Blue Sky Fish)
2: [00:00:32] * Azure has joined #silverstripe
3: [00:02:49] * Stomach has joined #silverstripe
4: [00:03:33] <ss23> oh god help Hamish is in the offic
5: [00:03:34] <ss23> office
6: [00:04:03] <simon_w> ss23, YOU'RE IN TROUBLE NOW
7: [00:05:12] <ss23> :O
8: [00:05:13] * ss23 hides
9: [00:10:55] * Azure quit (Quit: Blue Sky Fish)
10: [00:11:29] * Azure has joined #silverstripe
11: [00:20:59] * travis-ci has joined #silverstripe
12: [00:20:59] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#3191 (3.1 - 2368b2a : Damian Mooyman): The build passed.
13: [00:20:59] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/aec84303956d...2368b2af2fbd
14: [00:20:59] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/33234442
15: [00:20:59] * travis-ci has left #silverstripe
16: [00:29:52] <Colin[pi]> ss23: has he peered over your shoulder yet, looked at your screen and gone *tsk tsk tsk* then walked away?? :O
17: [00:30:35] <Colin[pi]> antmas: http://theoatmeal.com/comics/kids dat truth
18: [00:32:16] <hailwood> Hi guys, I am using IOTI/silverstripe-blogcategories but I must be missing something - It doesn't seem to be possible to just get a list of the categories for the BlogHolder in your templates?
19: [00:35:35] <hailwood> Anyone used it before?
20: [00:39:52] <antmas> Colin[pi]: the sad, sad truth indeed
21: [00:41:02] <ss23> Colin[pi]: XD
22: [00:41:14] <ss23> No, but I said something about "Hamish is here" and he said "Not as much hair as I used to have, but yeah"
23: [00:41:44] * ^pH has joined #silverstripe
24: [00:42:25] * oddnoc quit (Quit: oddnoc)
25: [00:44:11] <simon_w> hailwood, should be able to loop over $BlogCategories
26: [00:47:40] <hailwood> simon_w: Ah cheers that is working, any reason that $BlogCategories doesn't show up anywhere in the $Debug output?
27: [00:48:02] <simon_w> hailwood, cause it's on BlogHolder, not BlogHolder_Controller
28: [00:48:57] <antmas> ss23: such a dad joke
29: [00:48:59] <hailwood> simon_w: It's showing the debug info for BlogHolder as well - https://gist.github.com/hailwood/2d02e4b5f77ac696a272
30: [00:49:41] * hailwood realizes that actually according to the debug info I have no methods -:|
31: [00:52:07] * Newleeland has joined #silverstripe
32: [00:52:27] * Newleeland has left #silverstripe
33: [00:52:31] * Ryan-Toast quit (Quit: Ryan-Toast)
34: [00:53:53] <hailwood> Is there a more "raw" debug method we can use?
35: [00:55:03] * micmania1 quit (Quit: micmania1)
36: [01:01:34] <Kingy> "In 2004, aged 47, a police raid found him smoking P (methamphetamine) in his home where he had three children living aged from nine to 13. He was ordered to pay $38."
37: [01:01:41] <Kingy> dear god that'll break the bank
38: [01:03:38] * zippy has joined #silverstripe
39: [01:03:45] <Colin[pi]> lol Kingy
40: [01:05:58] * jenniferaslan quit (Quit: jenniferaslan has left the room)
41: [01:07:55] <Kingy> how you doing Colin[pi]
42: [01:08:08] * Ryan-Toast has joined #silverstripe
43: [01:10:03] <Ryan-Toast> Colin[pi]: I see your likes
44: [01:10:39] <antmas> I should eat lunch
45: [01:11:31] * Stomach quit (Quit: zzz)
46: [01:13:39] <Colin[pi]> Kingy: good thanks mate
47: [01:13:44] <Colin[pi]> Ryan-Toast: ?
48: [01:14:08] <Ryan-Toast> Colin[pi]: This one: http://i.imgur.com/Z053Gjy.jpg
49: [01:14:37] <zippy> mmmmmhmm
50: [01:15:11] <simon_w> http://what-if.xkcd.com/imgs/a/109/planet.png
51: [01:17:27] * travis-ci has joined #silverstripe
52: [01:17:27] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#3192 (2.4 - ba73b03 : Sean Harvey): The build passed.
53: [01:17:27] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/55ed5a6495a6...ba73b03e6c70
54: [01:17:27] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/33238230
55: [01:17:27] * travis-ci has left #silverstripe
56: [01:18:43] <Colin[pi]> Ryan-Toast: lol anyone who is a parent understands that comic :D
57: [01:18:56] <Colin[pi]> that's basically 80% of the time having a young child
58: [01:18:59] <Ryan-Toast> Colin[pi]: I’m an Uncle. I understand
59: [01:19:01] <Colin[pi]> hehe
60: [01:19:20] <Kingy> I'm an uncle tooo
61: [01:19:22] <Kingy> never met the fucker though
62: [01:19:43] <Colin[pi]> U N C L E FUCK YOU UNCLE FUCKA... TOO RIGHT.. SUCKMYBALLS
63: [01:19:57] <Colin[pi]> man I laughed at that song so much in the cinema :D
64: [01:19:57] <Kingy> lol
65: [01:20:00] <simon_w> I'm a godfather. Skipped the first three years
66: [01:20:11] <Kingy> to be fair he's only 3 months old and lives in a different country
67: [01:24:39] * micmania1 has joined #silverstripe
68: [01:25:27] * nickmolhoek has joined #silverstripe
69: [01:26:55] * simon_w|air has joined #silverstripe
70: [01:34:04] * muskie9 quit (Ping timeout: 260 seconds)
71: [01:34:35] * muskie9 has joined #silverstripe
72: [01:34:51] * Stomach has joined #silverstripe
73: [01:39:06] * antmas is a godfather now tooo
74: [01:43:18] * r_hector1 has joined #silverstripe
75: [01:52:22] * travis-ci has joined #silverstripe
76: [01:52:22] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#3193 (3.0 - 0c85680 : Joel Marcey): The build passed.
77: [01:52:22] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/a6f244faff92...0c8568037168
78: [01:52:22] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/33239515
79: [01:52:22] * travis-ci has left #silverstripe
80: [01:52:55] * superspring has joined #silverstripe
81: [01:55:13] * novaweb quit (Remote host closed the connection)
82: [02:01:54] * simon_w|air quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
83: [02:02:00] * muskie9 quit (Ping timeout: 250 seconds)
84: [02:03:49] * muskie9 has joined #silverstripe
85: [02:10:23] <Kingy> if I get a list of articles, loop over them and change the content to say "locked article" if the article is subscription based, how can I display the "locked article" without saving back to db?
86: [02:11:41] * novaweb has joined #silverstripe
87: [02:11:51] <Stomach> $returnSet = ArrayList::create(); foreach ($this->Articles() as $article) { $article->Description = 'LockedContent'; $returnSet->push($article);} return $returnSet;
88: [02:12:13] <novaweb> Stripers, what in the hell could possible prevent my installation from calling any of the required JS files on the front end?
89: [02:12:19] <novaweb> I'm stumped.
90: [02:12:22] <Kingy> ah nice. Thanks Stomach
91: [02:12:27] <Stomach> Kingy, np :)
92: [02:12:34] <novaweb> Nothing showing up in console, was before I left to lunch.
93: [02:12:36] <Stomach> novaweb, permissions on the assets folder?
94: [02:12:51] <Stomach> oh, then an error somewhere!
95: [02:12:52] <Stomach> :D
96: [02:13:08] <novaweb> JS error?
97: [02:13:15] <novaweb> Wouldn't I see that in console?
98: [02:13:24] <Stomach> check the network tab instead
99: [02:13:29] <Stomach> is it pulling down the files?
100: [02:14:00] <novaweb> No JS files are showing... anywhere in console
101: [02:14:20] <Stomach> are they in the source?
102: [02:14:23] <Kingy> beautiful Stomach, works!
103: [02:14:24] <novaweb> No...?
104: [02:14:34] <novaweb> I can't imagine why not though.
105: [02:14:35] <Stomach> then Requirements is bugging out somewhere
106: [02:14:40] <novaweb> Ok...
107: [02:14:59] <Stomach> do you have a head tag in your templates/Page.ss, they need that to attach themselves into
108: [02:15:19] <novaweb> yes
109: [02:15:43] <novaweb> This is subsites, I bet you if I change it back (page class extensions, it will work)
110: [02:15:44] <novaweb> let me see
111: [02:16:15] <ezero> anyone know how to get raw/xml data from $Content field? when I do echo $obj->Content; all the other xml is removed :( I tried Convert::raw2xml
112: [02:17:10] <novaweb> nope ..:/
113: [02:17:21] <Kingy> 27 attacks on my server in the last half hour. all from different IP addresses
114: [02:17:23] <Kingy> nice
115: [02:18:47] <novaweb> git reset --hard HEAD is my hero, now to see what was doing it.
116: [02:19:27] <Stomach> ezero
117: [02:19:47] <Stomach> you can do $this->dbObject('Content')->RAW
118: [02:19:53] <Stomach> you can do $this->dbObject('Content')->raw();
119: [02:19:56] <Stomach> or something like that
120: [02:19:59] <ezero> let me try
121: [02:20:09] <Kingy> or something like that .. love it
122: [02:21:33] <Stomach> lol, its a mixture of the two!
123: [02:21:40] <Stomach> $this->dbObject('Content')->RAW();
124: [02:21:51] <ezero> yeah that almost worked
125: [02:22:03] <ezero> but its doing it after its filtered it via Content
126: [02:22:17] * travis-ci has joined #silverstripe
127: [02:22:18] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#3195 (3.1 - 73b1537 : Sean Harvey): The build passed.
128: [02:22:18] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/2368b2af2fbd...73b1537a891a
129: [02:22:18] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/33240311
130: [02:22:18] * travis-ci has left #silverstripe
131: [02:22:21] <ezero> i've checked the database and there are some invalid xml elements that i want.. they are not making it through
132: [02:22:31] <Stomach> what do you mean ezero? that should give you the raw DB values
133: [02:23:53] <Stomach> Kingy - we get hundreds of attacks every day on our servers
134: [02:24:00] <Stomach> script kiddies mostly
135: [02:24:52] <ezero> Stomach, i think you are right.. im checking :)
136: [02:27:35] <ezero> woot thanks Stomach
137: [02:27:40] <ezero> it was
138: [02:27:44] <ezero> ->XML()
139: [02:27:58] <ezero> thanks for that
140: [02:29:49] <Stomach> :)
141: [02:30:03] <Stomach> no problem
142: [02:30:07] <Stomach> any more problems! gogogo
143: [02:30:49] <Kingy> Stomach: yeah I sometimes wake up to my inbox full of attack notices
144: [02:31:11] <Kingy> "Trust you are well. Was wondering what are you up to the moment? Are you interested in looking out for any new roles?
145: [02:31:12] <Kingy> One of my client is looking for Oracle Developer and its a contract role and was thinking if this might be of interest to you?"
146: [02:31:15] <Kingy> woah sorry lol
147: [02:31:25] <Kingy> oracle dev, yay!
148: [02:32:38] <superspring> hey, so not a Silverstripe question, but what do you peoples use for password management within a company? sharing passwords between employees... any recommended sites/programs/systems/approaches?
149: [02:32:57] <Kingy> KeyPass
150: [02:33:02] <Stomach> LastPass
151: [02:33:18] <superspring> Kingy: that's a nice windows tool, and if you put the database on a network drive that's shared...
152: [02:33:37] * joelpittet has joined #silverstripe
153: [02:34:13] <Kingy> superspring: there is also KeyPassX for mac
154: [02:34:24] <Kingy> but yes that is what we do re shared drive
155: [02:34:51] <superspring> Stomach: LastPass is looking nice, so a web site plus windows client?
156: [02:34:59] <Stomach> and osx too
157: [02:35:09] <superspring> Stomach: mobile site or client?
158: [02:35:19] <Stomach> yep
159: [02:35:24] <Stomach> has a mobile client
160: [02:35:54] <Stomach> only in premium though
161: [02:36:05] <zippy> superspring: last pass
162: [02:36:41] <superspring> zippy: Stomach: last pass is looking nice, only $12/year...
163: [02:36:41] <simon_w> superspring, 1Password
164: [02:36:53] <superspring> zippy: Stomach: does it handle multiple users?
165: [02:36:58] <Stomach> yep
166: [02:37:14] <Stomach> you can set up 'vaults' and allow different users access to different vaults
167: [02:37:22] <zippy> man, I got the friday slow downs
168: [02:37:22] <superspring> Stomach: ah, nice...
169: [02:38:23] <superspring> Stomach: so the paid version gets you mobile support, ad free, is there a time limit on the free version?
170: [02:38:33] <zippy> no
171: [02:39:34] <superspring> i'm loving this - https://lastpass.com/index.php?sk=1&ac=1&fromwebsite=1&email=
172: [02:40:00] <superspring> never seen an auth system like that before :p
173: [02:40:14] <Kingy> zippy: for some reason im powering through my day
174: [02:41:33] <superspring> simon_w: i'm seeing mixed reviews on 1password, works differently in IE and Firefox? how do you use it?
175: [02:42:19] <zippy> I use 1password for my own passwords, sync it to my phone via dropbox (they have built in support). and use it with firefox and chrome fine
176: [02:47:10] <antmas> zippy: I had the friday slow downs yesterday :|
177: [02:49:02] <zippy> will see if I can half arse something for an hour then might hit the pub
178: [02:53:38] <antmas> zippy: what pub?
179: [02:54:27] <zippy> probably the sprig, gonna see what happens with something else first
180: [02:55:05] <Colin[pi]> Ryan-Toast: u thar?
181: [02:55:09] <Ryan-Toast> Colin[pi]: yarp
182: [02:55:23] <Colin[pi]> Ryan-Toast: hi ^.^ do you know much about jQuery animate?
183: [02:55:29] <Ryan-Toast> Colin[pi]: A nbit
184: [02:55:32] <Ryan-Toast> bit**
185: [02:55:50] <Ryan-Toast> Always better to assign classes and toggle them though for animation.
186: [02:55:55] <Colin[pi]> Ryan-Toast: I'm trying to animate the bgcolor of one div, and the color of a link at the same time, but the div animates first, then the button :(
187: [02:55:57] <antmas> zippy: is there a sprig down this way?
188: [02:56:01] <Colin[pi]> I tried queue: false but no worky
189: [02:56:14] <Ryan-Toast> Colin[pi]: Use a class, toggle the class.
190: [02:56:20] <zippy> antmas: top of queen street
191: [02:56:43] <antmas> zippy: is it actually a sprig? or does it just sell sprig beer?
192: [02:56:43] <Colin[pi]> Ryan-Toast: it needs to smoothly transition from one color to another, will that work with classes/css transitions?
193: [02:56:48] <Ryan-Toast> Colin[pi]: Yes
194: [02:56:53] <zippy> it's a sprig n fern
195: [02:57:02] <Colin[pi]> Ryan-Toast: mm let me try it
196: [02:57:39] <zippy> Queen Street Sprig & Fern Tavern - 126 Queen Street, Richmond, Nelson
197: [02:58:45] <antmas> zippy: woah, had no idea
198: [02:59:01] <antmas> awesome that it's next to a chippy like the milton st one
199: [02:59:13] <zippy> antmas: yeap, so usually grab a beer and order the dinner at the same time
200: [02:59:22] <antmas> zippy: you and the mrs?
201: [02:59:33] <antmas> or DA BOIZIZZZZZZ?
202: [02:59:47] * antmas makes some kind of gansta symbol
203: [02:59:50] <antmas> o/
204: [03:00:03] * zippy makes a retarded R symbol with his hands
205: [03:00:10] <Ryan-Toast> Colin[pi]: http://codepen.io/anon/pen/vqmaf
206: [03:00:11] <antmas> lol
207: [03:00:50] <zippy> usually the misses. an office shout :D
208: [03:01:00] <antmas> haha nice
209: [03:02:31] <superspring> Stomach: zippy: i had one more question about lastpass - are you able to transfer or copy passwords between vaults?
210: [03:02:45] <zippy> superspring: you can share
211: [03:03:03] <superspring> zippy: so each vault is it's own database right? can you share individual passwords between vaults?
212: [03:03:12] <superspring> like it's own database*
213: [03:04:39] <zippy> superspring: it's free, signup and play with it and see if it suits your needs
214: [03:05:17] <superspring> zippy: will do
215: [03:05:19] <antmas> TIMESHEET LADY
216: [03:05:21] <antmas> must be friday
217: [03:05:30] <simon_w> Well, I am at home
218: [03:06:08] <antmas> simon_w: bro, do you even work hours?
219: [03:06:16] <simon_w> antmas, yup!
220: [03:06:30] <simon_w> All those times I'm simon_w|work :p
221: [03:06:32] <spronk> nah
222: [03:06:41] <spronk> simon_w charges in light years
223: [03:06:58] <simon_w> I charge in units of distance?
224: [03:07:01] <spronk> yeah
225: [03:07:08] <simon_w> So why not parsecs?
226: [03:07:12] <spronk> 0.00000000034 light years in perspex
227: [03:07:24] <antmas> perspex?
228: [03:07:31] <spronk> well
229: [03:07:34] <spronk> you know
230: [03:07:38] <antmas> lol
231: [03:07:40] <spronk> medium to determine speed of light travel
232: [03:07:42] <spronk> so you can get a time
233: [03:08:15] <spronk> I MADE THIS TOO TECHNICAL AND SHOULD HAVE JUST SAID MAN-NANOSECONDS
234: [03:08:25] <antmas> well
235: [03:08:37] <spronk> anyone here used moddiy.com ?
236: [03:08:38] <antmas> if you say simon_w charges in light years
237: [03:08:43] <spronk> (to buy custom psu cables or similar?)
238: [03:08:49] <antmas> and said he charges $1 per light year
239: [03:08:56] <antmas> he gets $1 a year no?
240: [03:09:04] <antmas> MATH
241: [03:09:15] <spronk> well
242: [03:09:19] <spronk> as he said
243: [03:09:23] <spronk> light year is a measure of distance
244: [03:09:23] <spronk> so
245: [03:09:28] <antmas> I know
246: [03:10:07] <Ryan-Toast> Colin[pi]: Did you see the link above?
247: [03:18:01] <novaweb> Ladies and Gents... provided I've extended Page to accommodate for $FooterTitle... is there anything to prevent me from looping through page like this: http://www.sspaste.com/paste/show/53f6b1a427f29
248: [03:18:41] <novaweb> ignore the fact i've forgotten to add <li>'s :p
249: [03:19:43] <simon_w> novaweb, Have you defined $Page somewhere too?
250: [03:19:56] <ss23> Anyone rolled out SSH certificate auth stuff at work before? (e.g. for more than just personal stuff?) - http://archive.today/ACP3X / http://neocri.me/documentation/using-ssh-certificate-authentication/
251: [03:20:24] <novaweb> simon_w, no I thought you'd be able to call it as it is a base class.
252: [03:20:25] <novaweb> Thanks
253: [03:20:47] <novaweb> .. must be friday
254: [03:21:44] <novaweb> Done. Cool.
255: [03:22:06] <Colin[pi]> Ryan-Toast: did now, thanks
256: [03:26:11] <antmas> I need a happy gif
257: [03:26:15] <antmas> today is balls
258: [03:26:27] <simon_w> antmas, just read what-if?
259: [03:28:39] <antmas> https://www.youtube.com/watch?v=U_HBHtSylQw
260: [03:29:28] <Colin[pi]> antmas: http://i.imgur.com/YKfqwqt.gif
261: [03:29:41] <antmas> Colin[pi]: XD
262: [03:29:44] <Ryan-Toast> heh: http://i.imgur.com/6KGpaJj.jpg
263: [03:29:59] <Colin[pi]> Ryan-Toast: rofl
264: [03:30:19] <antmas> Ryan-Toast: :D
265: [03:31:08] <Colin[pi]> antmas: http://i.imgur.com/9LQd62Q.gif
266: [03:31:16] <Colin[pi]> "HALP"
267: [03:32:44] <antmas> Colin[pi]: lol the eyes
268: [03:33:05] <antmas> I can hear him saying 'OH GAWD' in the nerdy scientist voices from Simpsons
269: [03:33:35] <Colin[pi]> I have so many saved gifs: http://i.imgur.com/hVXcrbe.gif
270: [03:34:04] <antmas> Colin[pi]: hahaha
271: [03:34:08] <antmas> keep em coming
272: [03:34:08] <Kingy> http://imgur.com/kWdSOn0
273: [03:34:12] <Kingy> that's gold
274: [03:34:15] <Ryan-Toast> antmas: http://i.imgur.com/SWLhUXH.gif
275: [03:34:28] <antmas> Ryan-Toast: o.O
276: [03:34:32] <antmas> is that iggy?
277: [03:34:38] <Ryan-Toast> Shakira i think
278: [03:34:40] <Kingy> Ryan-Toast: oh dear god
279: [03:35:36] <antmas> so wrong
280: [03:35:36] <antmas> so many levels
281: [03:35:41] <antmas> but I CAN'T STOP LOOKING
282: [03:35:44] <Colin[pi]> http://i.imgur.com/lu0bVz7.gif
283: [03:36:06] <antmas> XD
284: [03:36:43] <Kingy> hahaha
285: [03:37:08] <Colin[pi]> DOES NOT CATPUTE: http://imgur.com/cbK1mWg.gif
286: [03:37:18] <Ryan-Toast> antmas: http://i.imgur.com/dbfWT6X.gif
287: [03:37:30] <antmas> Colin[pi]: I did that to my boy the other day
288: [03:37:39] <antmas> HERE, SON! HAVE A MEAT CIRCLE
289: [03:37:40] <Colin[pi]> lol
290: [03:37:42] <Kingy> Ryan-Toast: HAHAHAHA
291: [03:38:36] <antmas> I laughed aduibly at that
292: [03:38:41] <antmas> -_-
293: [03:38:43] <antmas> audibly
294: [03:38:58] <antmas> now the neckbeards are looking at me weird
295: [03:40:07] <Ryan-Toast> http://i.imgur.com/JcwUkLd.jpg
296: [03:40:13] <zippy> "he's on the bloody irc again, look at the logs... lauging at silly cats again"
297: [03:40:40] <antmas> zippy: lol
298: [03:40:48] <antmas> Ryan-Toast: that is amazing
299: [03:40:55] <zippy> thats pretty good
300: [03:40:55] <Colin[pi]> Ryan-Toast: haha that's great
301: [03:41:09] * joelpittet quit ()
302: [03:41:34] * Azure quit (Ping timeout: 250 seconds)
303: [03:41:59] <Ryan-Toast> http://i.imgur.com/xcggi0Q.gif
304: [03:42:31] <antmas> :D
305: [03:42:34] <antmas> MOAR
306: [03:43:13] <Ryan-Toast> http://i.imgur.com/7mrvQBm.gif
307: [03:43:37] <Ryan-Toast> http://i.imgur.com/j86F7HK.gif
308: [03:43:57] <zippy> TIL that Ryan-Toast spends all hours at work not doing designs, but looking at gifs
309: [03:43:58] <antmas> <3 Ron
310: [03:44:08] <Ryan-Toast> zippy: not a designer ><
311: [03:44:22] <antmas> ss23: is doc guy
312: [03:44:25] <zippy> front end though right?
313: [03:44:27] <antmas> spronk is subsites guy
314: [03:44:27] * Azure has joined #silverstripe
315: [03:44:31] <antmas> Ryan-Toast: is designer
316: [03:44:35] <zippy> I thought ss23 was also subsites
317: [03:44:36] <antmas> simon_w: is front end guy
318: [03:44:36] <ss23> :(
319: [03:44:41] <ss23> I WANNA BE THE GUY
320: [03:44:55] <Ryan-Toast> antmas: :P
321: [03:44:56] <Colin[pi]> simon_w is #1 for front end
322: [03:45:05] <Ryan-Toast> simon_w: is the best front end designer
323: [03:45:15] <zippy> ss23: you are the guy, I think about when I find a problem in the docs...
324: [03:45:22] <ss23> XD
325: [03:45:24] * simon_w knows all about them tables and them <font> tags!
326: [03:45:26] <ss23> meanwhile...
327: [03:45:28] <Kingy> ss23 just wants to be a guy
328: [03:45:31] <Ryan-Toast> http://i.imgur.com/BzfZHpf.gif
329: [03:45:32] <zippy> haha
330: [03:45:40] <ss23> https://github.com/silverstripe/silverstripe-framework/pull/3406
331: [03:45:42] <ss23> >docs fix
332: [03:45:44] <ss23> >make docs better
333: [03:45:46] <ss23> >not merged.
334: [03:45:51] <antmas> Ryan-Toast: Loooool
335: [03:45:54] <ss23> simon_w: can you pls merge it?
336: [03:46:23] <simon_w> ss23, can you make the thing about show templates actually correct?
337: [03:46:33] <Kingy> I just imagine ss23s commit comments slowly turn into pure rage
338: [03:46:50] <Colin[pi]> that's just mean: http://i.imgur.com/BtbjYsu.gif
339: [03:47:13] <Ryan-Toast> https://lh5.googleusercontent.com/-IhfFBDM8TUY/U56Nav2NkJI/AAAAAAAAAEk/y-bZ0MKDhqo/w318-h178-no/capture2.gif
340: [03:47:31] <ss23> simon_w: Not easily. I don't have time to at the moment, because I have NFI what it 'should' be
341: [03:47:32] <Ryan-Toast> http://i.imgur.com/8rAmavy.gif
342: [03:47:36] <ss23> I know that showtemplates didn't even work for me though
343: [03:47:37] <ss23> :(
344: [03:47:52] * cloph_away has joined #silverstripe
345: [03:47:57] * cloph quit (Ping timeout: 240 seconds)
346: [03:47:57] <simon_w> Need to be logged in as an admin
347: [03:48:39] <zippy> Ryan-Toast: heh, I saw that (clip (except morphus) on Riculiuonus the other night (note, bad spelling)
348: [03:48:48] <zippy> funny show
349: [03:49:02] <zippy> is there a nice, super easy way to just take an array and format to xml
350: [03:49:34] <Ryan-Toast> Oh god, clicked on a nsfl. Need the eyebleach
351: [03:49:57] <antmas> Ryan-Toast: that's what happens to me everytime I reddit
352: [03:50:07] <Ryan-Toast> thank god for http://www.reddit.com/r/eyebleach
353: [03:50:23] * simon_w may have to turn off image previews in this channel
354: [03:50:39] <ss23> XD
355: [03:50:40] <Ryan-Toast> simon_w: No, you will view them, and you will like it!
356: [03:50:49] <ss23> Having image previews turned on in the first place is silly
357: [03:50:49] <ss23> :P
358: [03:50:52] <Ryan-Toast> #justfridaythings
359: [03:51:06] <antmas> what chat channel is complete without a fuckload of gifs?
360: [03:51:08] <antmas> NONE
361: [03:51:19] <ss23> http://i.imgur.com/SWLhUXH.gif
362: [03:51:25] <zippy> oh god not again
363: [03:51:31] <zippy> image preview....
364: [03:51:39] <simon_w> Now I just need a massive wall of test to make all the old previews go away :p
365: [03:51:48] <Ryan-Toast> ss23: lol
366: [03:51:58] <Ryan-Toast> Are we just going to post that everytime now?
367: [03:52:04] <Ryan-Toast> IS THIS A THING WE’VE JUST DONE?
368: [03:52:19] <antmas> Ryan-Toast: THANKS
369: [03:52:20] <simon_w> http://ss.org.nz/3
370: [03:52:52] <antmas> Ryan-Toast: is there anyway to turn a <ul> menu into a dropdown without jquery?
371: [03:53:07] <simon_w> antmas, CSS
372: [03:53:20] <Ryan-Toast> css
373: [03:53:23] <Colin[pi]> ^
374: [03:53:24] <antmas> -_-
375: [03:53:30] <Ryan-Toast> li:hover ul{display block}
376: [03:53:31] <antmas> you guis
377: [03:53:36] <simon_w> http://line25.com/tutorials/how-to-create-a-pure-css-dropdown-menu
378: [03:53:55] <antmas> I mean, using a media query
379: [03:53:58] * Kingy is now known as Kingy[a]
380: [03:53:59] <zippy> mmm you think array to xml would be something out there... or in SimpleXML
381: [03:54:01] <Ryan-Toast> the bp dropdown is css until it gets to tablet size
382: [03:54:10] <antmas> Ryan-Toast: ah true
383: [03:54:41] <Ryan-Toast> ahgh, perfect bleach: http://i.imgur.com/d7ZB9No.jpg
384: [03:54:44] <antmas> I didn't say stop with the gifs
385: [03:55:09] * apuckey quit (Remote host closed the connection)
386: [03:55:35] <Ryan-Toast> LET THEM CONTINUE http://i.imgur.com/p65BtoD.gif
387: [03:55:59] * Bollig|DesignCty has joined #silverstripe
388: [03:56:43] <simon_w> antmas, 4chan.org/b/? :p
389: [03:57:45] <Colin[pi]> Ryan-Toast: class changing working, thx
390: [03:57:50] <antmas> simon_w: HARHAR
391: [03:57:54] <Ryan-Toast> Colin[pi]: Nice :)
392: [03:58:03] <simon_w> antmas, they have lots of gifs!
393: [03:58:05] <Colin[pi]> Ryan-Toast: also through the cascade I can obviously get the child button to change accordingly ;)
394: [03:58:10] <Ryan-Toast> It’s much better for performance, and it’s easily changable
395: [03:58:27] <antmas> simon_w: so does /gif/ :P
396: [03:59:48] <Colin[pi]> Ryan-Toast: ok 2nd question sir, I have a transition on the color of the link, so that it changes when the parent div's bgcolor changes
397: [04:00:03] <Colin[pi]> Ryan-Toast: but when I hover over the link, it's doing the same transition, which I dont want
398: [04:00:46] <Ryan-Toast> Colin[pi]: when do you want the link to change?
399: [04:00:47] <antmas> Ryan-Toast: is this ok for something basic? http://treehouse-blog.s3.amazonaws.com/Respond-Menu/index.html
400: [04:00:57] * mirrors quit (Quit: Page closed)
401: [04:00:59] <antmas> need to make sure everything is semantically 'correc'*
402: [04:01:03] <antmas> correct*
403: [04:01:20] <Ryan-Toast> antmas: just make one from scratch. they’re super easy., and it’s something that you should know how to do.
404: [04:01:37] <Colin[pi]> Ryan-Toast: I have a callback from a carousel that is changing the bgcolor of a div, and a button within has it's text change to the same color... but the button also has a hover effect
405: [04:01:54] <antmas> Ryan-Toast: I am, but I'm after an idea of what is considered best prac though
406: [04:02:18] <Ryan-Toast> antmas: best practise is display changes for static, and opacity for transitions
407: [04:02:45] <Ryan-Toast> antmas: since transitions don’t work on elements that are hidden then shown by display manipulation
408: [04:03:10] <antmas> Ryan-Toast: ok thanks
409: [04:03:12] <antmas> :)
410: [04:03:15] <Ryan-Toast> Colin[pi]: I don’t understand the problem
411: [04:03:16] <antmas> makes sense
412: [04:03:52] <Colin[pi]> Ryan-Toast: parent class change has a transition of 2s... hover for the button will be different... just override in the hover selector?
413: [04:04:16] <Ryan-Toast> Colin[pi]: override the element, not the hover state
414: [04:04:31] <Ryan-Toast> so .foo transition: none
415: [04:04:50] * travis-ci has joined #silverstripe
416: [04:04:50] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#1040 (3.1 - fa90658 : Damian Mooyman): The build passed.
417: [04:04:50] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/796874dae770...fa90658b7ca6
418: [04:04:50] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/33244559
419: [04:04:50] * travis-ci has left #silverstripe
420: [04:05:23] <Ryan-Toast> Colin[pi]: It shouldn’t inherit the transityion in the first place.
421: [04:05:33] <Ryan-Toast> e.g: http://codepen.io/anon/pen/vqmaf
422: [04:06:08] <Colin[pi]> Ryan-Toast: I need the "Click Me" color to change to match the bgcolor
423: [04:06:45] <Colin[pi]> but the transition speed for the color change is different to the hover, am I making sense? :o
424: [04:07:58] * travis-ci has joined #silverstripe
425: [04:07:58] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#3199 (3.1 - 0d169d5 : Damian Mooyman): The build passed.
426: [04:07:58] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/73b1537a891a...0d169d5c8db3
427: [04:07:58] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/33244593
428: [04:07:58] * travis-ci has left #silverstripe
429: [04:08:28] <Ryan-Toast> Colin[pi]: so hover will be the same, but the color will be differnet?
430: [04:08:47] <Colin[pi]> Ryan-Toast: one sec, I'll show a grab
431: [04:10:15] * pippy quit (Quit: Page closed)
432: [04:10:44] <Ryan-Toast> Colin[pi]: you can override them like this: http://codepen.io/anon/pen/vqmaf
433: [04:10:57] <Colin[pi]> Ryan-Toast: here tis: http://i.imgur.com/R6JAnnQ.png
434: [04:11:15] <Colin[pi]> that horrible pink div has five colours to cycle through when the carousel changes
435: [04:11:22] <Colin[pi]> and the button text color matches
436: [04:11:45] <Ryan-Toast> Colin[pi]: kk, give me a sec
437: [04:11:48] <Colin[pi]> when you hover over the button, it has a super quick transition to change to white border, bgcolor transparent
438: [04:12:36] <Ryan-Toast> yarp, give me a sec
439: [04:12:47] * travis-ci has joined #silverstripe
440: [04:12:47] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#3200 (post-2.4 - 411c539 : Sean Harvey): The build is still failing.
441: [04:12:47] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/c7e4a46279ee...411c53908c39
442: [04:12:47] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/33245608
443: [04:12:47] * travis-ci has left #silverstripe
444: [04:12:50] <Colin[pi]> thanks man
445: [04:16:39] <Ryan-Toast> Colin[pi]: http://codepen.io/anon/pen/vqmaf
446: [04:17:19] <Colin[pi]> very close, button color stays pink!
447: [04:17:20] <Ryan-Toast> Is that what you meant?
448: [04:17:28] <Ryan-Toast> I thought that’s what you wanted :P
449: [04:17:36] <Colin[pi]> <Colin[pi]> and the button text color matches
450: [04:17:37] <Ryan-Toast> oh, wait :P
451: [04:17:37] <Colin[pi]> :P
452: [04:18:35] <Ryan-Toast> Colin[pi]: http://codepen.io/anon/pen/vqmaf
453: [04:18:49] <Colin[pi]> ohhh
454: [04:18:52] <Colin[pi]> pretty slick
455: [04:19:15] <Colin[pi]> ahhh but this is like mine atm
456: [04:19:21] <Ryan-Toast> so just have your carousels add a color class, and have the colors in your css
457: [04:19:28] <Colin[pi]> the button color text transition
458: [04:19:53] <Ryan-Toast> you can set the color transition in the .toggle class, like I have
459: [04:20:03] <Ryan-Toast> line 23, and 24
460: [04:20:06] <Colin[pi]> maybe I can't have both... the background color + text color transition is 2s... but when I hover/rollout, it should be 0.2s
461: [04:20:16] <Colin[pi]> this is the crux of my problem atm
462: [04:20:53] <Ryan-Toast> Oh, I see what you’re saying
463: [04:21:11] <Colin[pi]> yeah.. when the bgcolor shifts, in 2s... the color of the button needs to shift at the same speed
464: [04:21:18] <Colin[pi]> but when I rollover, it should be fast, not 2s
465: [04:21:20] <Colin[pi]> :\
466: [04:21:35] <Ryan-Toast> Carousel right?
467: [04:22:00] <Ryan-Toast> give me a sec
468: [04:22:20] <Colin[pi]> Ryan-Toast: yeah when the carousel shifts, it triggers a callback to change the bgcolor class
469: [04:22:27] <Colin[pi]> (different dv)
470: [04:22:28] <Colin[pi]> *div
471: [04:24:17] <antmas> zippy: so no pub then?
472: [04:26:01] <Colin[pi]> Ryan-Toast: have I broken your brain? I broke mine long ago
473: [04:26:33] <Ryan-Toast> Colin[pi]: Can do something like this: http://codepen.io/anon/pen/vqmaf
474: [04:26:48] <Ryan-Toast> wait
475: [04:26:50] <Ryan-Toast> ned to save
476: [04:27:22] <Ryan-Toast> http://codepen.io/anon/pen/vqmaf?editors=011
477: [04:27:25] <Ryan-Toast> there
478: [04:27:32] <Colin[pi]> lemme see
479: [04:28:21] <Ryan-Toast> do you understand the concept?
480: [04:29:58] <Colin[pi]> yep that seems to be pretty damn close
481: [04:30:27] <Ryan-Toast> you’ll need to tweak it a littlebit so if you spam the button it won’t get mixed up in the toggles, but it’s a solution.
482: [04:30:55] <Colin[pi]> thanks dude, I appreciate it
483: [04:31:13] <Ryan-Toast> np, you’ll find a lot of carousels will have a transitioning class for stuff like this :)
484: [04:31:32] <Colin[pi]> Ryan-Toast: well to do the div bkg is no issue, but dat button
485: [04:32:26] <hailwood> Hey guys, I am using silverstripe/blog and I have a BlogHolder.ss page in themes/<name>/templates/Layout/BlogHolder.ss which is being used - I have another file /themes/<name>/templates/Includes/SocialIcons.ss can anyone tell me how to include that template in BlogHolder.ss?
486: [04:32:53] <zippy> hailwood: in your blog holder, do <% include SocialIcons %>
487: [04:33:02] <zippy> antmas: :(
488: [04:33:05] <novaweb> zippy you are zippy
489: [04:33:06] <hailwood> I thought I could just do <%include SocialIcons %> but I am getting None of these templates can be found in theme '<name>': SocialIcons.ss
490: [04:33:12] <zippy> novaweb: yes
491: [04:33:21] <zippy> hailwood: flush
492: [04:33:24] <hailwood> ah!
493: [04:33:26] <hailwood> cheers
494: [04:33:29] <zippy> new template = flush
495: [04:33:53] <hailwood> Yeah forgot about the flushing, new to SS. Thanks
496: [04:34:18] <Colin[pi]> hailwood: keep calm and ?flush=1
497: [04:36:49] * antmas quit (Ping timeout: 246 seconds)
498: [04:38:04] <novaweb> any of you guys used a jquery plugin for responsive mobile menu that was piss easy to implement?
499: [04:38:11] <novaweb> there are heaps out there
500: [04:38:20] <novaweb> looking for one that people have enjoyed using
501: [04:38:46] <novaweb> (ie I used stickUp for a sticky menu and ran out of the box, want minimal config)
502: [04:41:00] <zippy> bootstrap :)
503: [04:41:13] <Stomach> yeah bootstrap here too
504: [04:41:20] <Stomach> good luck on a no-configuration menu system
505: [04:41:24] <novaweb> thank zippy and stomach
506: [04:41:24] <Stomach> if you find it, let me know :D
507: [04:41:31] <novaweb> bootstrap it is
508: [04:41:57] <novaweb> i just spent a wee while coding responsive manually, but guess bootstrap will be easier to attack all so i'll undo that
509: [04:43:49] <Colin[pi]> ruh roh, safety recall on my mitsu
510: [04:46:35] <Stomach> oh noes!
511: [04:46:38] <Stomach> whats wrong with it
512: [04:47:06] <Colin[pi]> expansion/contraction cycle can cause soldering to crack affecting the head lights
513: [04:47:24] <Colin[pi]> and/or turn signals
514: [04:47:43] <Colin[pi]> "may turn off, do not turn on, or stay turned on"
515: [04:48:51] <zippy> head lights, pffft
516: [04:49:53] * Tanger has joined #silverstripe
517: [04:52:11] * Ryan-Toast quit (Quit: Ryan-Toast)
518: [04:53:57] * Tanger quit (Ping timeout: 240 seconds)
519: [04:54:26] * Tanger has joined #silverstripe
520: [04:56:13] * Phlunk3 quit (Remote host closed the connection)
521: [04:58:53] * novaweb quit ()
522: [04:59:56] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
523: [05:00:16] * Ryan-Toast has joined #silverstripe
524: [05:00:28] * Ryan-Toast quit (Client Quit)
525: [05:01:06] * willr quit (Quit: willr)
526: [05:04:34] * nickmolhoek quit (Quit: nickmolhoek)
527: [05:08:05] * travis-ci has joined #silverstripe
528: [05:08:05] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#3201 (3.0 - 1661213 : Ingo Schommer): The build passed.
529: [05:08:05] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/0c8568037168...1661213e5b9f
530: [05:08:05] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/33247735
531: [05:08:05] * travis-ci has left #silverstripe
532: [05:09:13] * Stomach quit (Quit: zzz)
533: [05:11:58] * hailwood quit (Ping timeout: 264 seconds)
534: [05:14:08] * micmania1 has left #silverstripe
535: [05:14:44] * simon_w quit (Ping timeout: 250 seconds)
536: [05:22:21] * Guest3207 quit (Ping timeout: 240 seconds)
537: [05:22:27] * travis-ci has joined #silverstripe
538: [05:22:28] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#3202 (3.1 - c8c1833 : Stig Lindqvist): The build passed.
539: [05:22:28] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/0d169d5c8db3...c8c1833e0968
540: [05:22:28] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/33248307
541: [05:22:28] * travis-ci has left #silverstripe
542: [05:23:33] * spronk quit (Ping timeout: 240 seconds)
543: [05:25:45] * spronk has joined #silverstripe
544: [05:28:42] * Guits has joined #silverstripe
545: [05:33:23] * Guits quit (Ping timeout: 240 seconds)
546: [05:35:13] * adrexia_phone has joined #silverstripe
547: [05:36:30] * travis-ci has joined #silverstripe
548: [05:36:30] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#3203 (3.1 - 6e0d9df : Sean Harvey): The build passed.
549: [05:36:30] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/c8c1833e0968...6e0d9df33145
550: [05:36:30] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/33248929
551: [05:36:30] * travis-ci has left #silverstripe
552: [05:37:45] * [1]firefox2kx is now known as firefoxk2x
553: [05:44:27] * adrexia_phone quit (Remote host closed the connection)
554: [05:45:23] * adrexia_phone has joined #silverstripe
555: [05:48:31] * adrexia_phone quit (Remote host closed the connection)
556: [05:59:12] * simon_w has joined #silverstripe
557: [06:06:09] * travis-ci has joined #silverstripe
558: [06:06:10] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#3204 (3.1 - 0e07f1a : Sean Harvey): The build passed.
559: [06:06:10] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/6e0d9df33145...0e07f1a7f53b
560: [06:06:10] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/33250209
561: [06:06:10] * travis-ci has left #silverstripe
562: [06:09:19] * adrexia_phone has joined #silverstripe
563: [06:12:24] * adrexia_phone quit (Remote host closed the connection)
564: [06:25:24] * vebb quit (Quit: preprocessor-irc-cli)
565: [06:25:47] * vebb has joined #silverstripe
566: [06:31:28] * adrexia has joined #silverstripe
567: [06:31:42] * anselmdk has joined #silverstripe
568: [06:36:12] * Shrike_Finland has joined #silverstripe
569: [06:36:49] * jordanmk has joined #silverstripe
570: [06:37:12] <jordanmk> hey guys, having a bit of an issue with SS 2.4 not loading an email template file, kinda stuck as to what could be causing it :S
571: [06:37:42] <jordanmk> my error log on the staging site keeps saying the following:
572: [06:38:10] * adrexia quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
573: [06:38:11] <jordanmk> [22-Aug-2014 04:33:55] Warning at \sapphire\core\SSViewer.php line 207: None of these templates can be found in theme '': NameOfEmailTemplateHere.ss (URL here)
574: [06:38:26] <jordanmk> but the template it is referring to absolutely is uploaded to the server
575: [06:38:32] * adrexia has joined #silverstripe
576: [06:38:43] <Colin[pi]> jordanmk: is it inside a folder called 'email' ?
577: [06:38:50] * mrzero quit (Remote host closed the connection)
578: [06:38:59] <jordanmk> i'm not sure whether perhaps the issue is that theme seems to be empty string, and so it can't find it since it's actually in a theme with a name
579: [06:39:14] <jordanmk> Colin[pi], yes it is
580: [06:39:24] <Colin[pi]> mm that was my first though
581: [06:39:26] <Colin[pi]> *thought
582: [06:39:34] <Colin[pi]> theme '' looks concerning
583: [06:39:54] <jordanmk> the email is sent in a bit of a different way, i'll chuck the code up as that could be the reason for it
584: [06:41:40] <jordanmk> http://pastebin.com/EtR7hE5T
585: [06:42:26] <jordanmk> i'm wondering if perhaps that unconventional method of sending (hooking into onAfterWrite) could mean that it doesn't know what theme to look for the template in?
586: [06:45:32] <Colin[pi]> jordanmk: why no: $Email = new Email(); $Email->setTemplate('CombinedReminderEmail'); ?
587: [06:45:54] <Colin[pi]> oops, CombinedReminderEmail is the name of the template from my code
588: [06:47:48] <jordanmk> Colin[pi], i've got this: http://pastebin.com/JBnruWP5
589: [06:48:10] <jordanmk> which i believe is the equivalent of what you said? but i'll give your method a try as well
590: [06:48:52] <Colin[pi]> mm try setTemplate, I haven't done it your way before
591: [06:50:36] <jordanmk> nah, got the same error message as before
592: [06:50:53] <Colin[pi]> :(
593: [06:51:01] <Colin[pi]> theme is definitely set?
594: [06:51:22] <jordanmk> yeah, that same class actually has another function which sends an email to the person who created the data object via a form
595: [06:51:36] <jordanmk> and it's all the same, but with a different template
596: [06:52:08] <jordanmk> and works fine, however that function is called from within a page controller directly after the data object is created
597: [06:52:19] <jordanmk> while this other function is called via the onAfterWrite function
598: [06:52:50] <Colin[pi]> mmm, like somehow it's forgotten the theme
599: [06:52:57] <Colin[pi]> or hasn't had it defined yet
600: [06:52:58] <jordanmk> i'll try changing it to actually use the same template as the other one is
601: [06:53:02] <jordanmk> since i know the other one is working
602: [06:54:01] <jordanmk> yep so that doesn't work either
603: [06:54:09] <jordanmk> so it must be the way that the function is called
604: [06:54:20] <jordanmk> which causes it to not know which theme to look for the template in
605: [06:54:33] * adrexia quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
606: [06:54:57] <jordanmk> no idea how to fix that though :S
607: [06:56:15] <ss23> adrexia_: you here?
608: [06:57:09] <jordanmk> woot, fixed it
609: [06:57:27] <jordanmk> directly before i create the new email, i just added:
610: [06:57:32] <jordanmk> SSViewer::set_theme('theme name here');
611: [06:57:44] <jordanmk> and it then finds the template just fine :)
612: [06:57:51] <jordanmk> cheers for the help with troubleshooting
613: [06:59:37] <Colin[pi]> :D
614: [06:59:45] * Colin[pi] quit ()
615: [07:00:14] * Colin[pi] has joined #silverstripe
616: [07:00:56] * ARNHOE has joined #silverstripe
617: [07:06:22] * mrzero has joined #silverstripe
618: [07:06:22] * mrzero quit (Changing host)
619: [07:06:22] * mrzero has joined #silverstripe
620: [07:09:09] * wmk has joined #silverstripe
621: [07:10:01] <wmk> gmorning
622: [07:17:13] * simon_w quit (Quit: Ping timeout: your mum)
623: [07:23:53] * mrzero quit (Remote host closed the connection)
624: [07:32:00] * henkpoley has joined #silverstripe
625: [07:33:32] * jordanmk quit ()
626: [07:35:44] * ocm has joined #silverstripe
627: [07:37:14] <ocm> howdy
628: [07:45:06] * stnvh has joined #silverstripe
629: [07:49:44] * Selay has joined #silverstripe
630: [07:51:14] <Selay> Hi guys, is there a way to configure silverstripe so that it requires member password change every 90 days, not allow the same password, require longer password etc? We are going through PCI compliance process. these things are required.
631: [07:54:42] * anselmdk quit (Quit: anselmdk)
632: [07:56:29] * kinglozzer has joined #silverstripe
633: [08:02:22] * simon_w has joined #silverstripe
634: [08:02:33] * henkpoley quit (Quit: henkpoley)
635: [08:03:59] <simon_w> Selay, http://api.silverstripe.org/3.1/class-PasswordValidator.html
636: [08:04:54] * henkpoley has joined #silverstripe
637: [08:08:37] <wmk> hey ocm
638: [08:08:52] * henkpoley quit (Client Quit)
639: [08:12:44] * willr has joined #silverstripe
640: [08:15:11] * mrzero has joined #silverstripe
641: [08:15:11] * mrzero quit (Changing host)
642: [08:15:11] * mrzero has joined #silverstripe
643: [08:16:37] * Selay quit (Ping timeout: 246 seconds)
644: [08:23:06] * Colin[pi] quit (Ping timeout: 260 seconds)
645: [08:26:31] * Tanger quit (Quit: Tanger)
646: [08:46:28] * Stomach has joined #silverstripe
647: [08:51:04] * Stomach quit (Ping timeout: 250 seconds)
648: [08:53:09] * mento has joined #silverstripe
649: [08:55:46] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
650: [08:55:54] <mento> hey guys, i got a site running on 2.4.11 with 6 translations. The logo links to the homepage, but can i link the logo the every specific language homepage dynamically? So when i'm on the russian site - the logo links to the russian homapge, the swedish site - the logo links to the swedish homepage etc
651: [08:56:29] <ss23> Using the translatable module?
652: [08:56:58] <spronk> was it a module in 2.4?
653: [08:57:30] <ss23> Oh, I dunno :O
654: [08:57:35] <spronk> i think it was core
655: [08:57:48] <spronk> there's a method on Translatable like..
656: [08:57:52] <spronk> get homepage link
657: [08:58:39] * hailwood has joined #silverstripe
658: [08:59:36] <spronk> so you can write a function on your page class, or controller, like... CurrentTranslationHomepageLink
659: [08:59:55] <spronk> return self::get_homepage_link_by_locale(self::get_current_locale());
660: [09:00:35] <spronk> that should be in Page class, not controller, actually
661: [09:00:58] <mento> ah k, sounds good
662: [09:01:13] <mento> thanks for the info spronk
663: [09:01:26] <spronk> then you can just refer to that method from template
664: [09:03:15] * Shrike_Finland quit (Quit: Leaving.)
665: [09:04:52] * hailwood quit (Quit: Leaving.)
666: [09:04:58] <mento> instead of self:: i used Translatable:: which makes it working now :)
667: [09:06:01] <spronk> hmm
668: [09:06:02] <spronk> k
669: [09:06:15] <spronk> if it works ;D
670: [09:07:27] * vebb has joined #silverstripe
671: [09:09:26] * aragonne has joined #silverstripe
672: [09:09:42] * Shrike_Finland has joined #silverstripe
673: [09:11:13] <mento> thanks =))
674: [09:13:32] <simon_w> It became a module in 2.4
675: [09:15:57] * todamoon_ has joined #silverstripe
676: [09:17:24] <mento> got some other issue as well, on a 3.1.5 site we installed the userforms module. The site has different user groups which each have access to their own part of the tree. Somehow, they are getting an 403 forbidden error when they try to add a form reciept. When saving the dataobject, the 403 forbidden notification pops up
677: [09:17:54] <mento> recipient*
678: [09:18:52] <wmk> seems like they cannot add / write to the dataobject
679: [09:19:28] <mento> they have access to Pages, Files and are allowed to edit the site structure
680: [09:20:32] * todamoon_ quit (Ping timeout: 250 seconds)
681: [09:20:40] * todamoon_ has joined #silverstripe
682: [09:20:55] <mento> they can edit the dataobject though, but when they create a new one, they are now allowed to save it somehow
683: [09:24:00] <aragonne> Hey guys, trying to get a DataObjects search form with paginated results working using the documentation at: http://doc.silverstripe.org/framework/en/reference/searchcontext
684: [09:24:16] <aragonne> Unfortunately, the pagination part is not working
685: [09:24:40] <aragonne> My code is here: http://www.sspaste.com/paste/show/53f7074719287
686: [09:26:08] * spronk2 has joined #silverstripe
687: [09:26:36] <aragonne> on line 28, I had to change $query->unlimitedRowCount() to $query->count() since the unlimitedRowCount() method is deprecated
688: [09:27:18] * ThePeach has joined #silverstripe
689: [09:28:34] <aragonne> Also, unlike the example in the document page, I’m using getDefaultSearchContext() instead of getCustomSearchContext() in lines 10 and 20, but I don’t think this should cause any problems
690: [09:28:34] <aragonne> Search results are returned but the pagination navigation does not display even though there should be more than 1 page of search results
691: [09:29:26] * Shrike_Finland quit (Quit: Leaving.)
692: [09:35:27] <aragonne> can anyone help?
693: [09:38:30] * Pyluserswtfk has joined #silverstripe
694: [09:49:29] * aragonne quit (Quit: aragonne)
695: [09:56:57] * Shrike_Finland has joined #silverstripe
696: [09:59:22] <wmk> mento, hmm, dunno. maybe the forum can help you better. irc _may_ be faster ;)
697: [10:00:48] * aragonne has joined #silverstripe
698: [10:01:24] <mento> yes, it's a very strange thing. They are able to edit / add dataobjects that are not part of the userforms module though
699: [10:03:31] <willr> mento what is the output of UserDefinedForm_EmailRecipient::canEdit()? I assume that is false?
700: [10:03:41] <willr> can they modify the parent form?
701: [10:04:24] <mento> yes they can, no errors while editing / saving the parent form
702: [10:05:57] <willr> One odd thing with UserDefinedForm_EmailRecipient::canEdit is it doesn’t pass the member record through but that shouldn’t be an issue
703: [10:10:48] <mento> how can i check the output of UserDefinedForm_EmailRecipient::canEdit(); should i print it in the dataobject?
704: [10:13:08] <Pyluserswtfk> kinglozzer: willr: simon_w: "Ref the Notification Email, could you possibly add the colour on it?"
705: [10:13:17] <Pyluserswtfk> halp, how to make users not retarded?
706: [10:13:42] <Pyluserswtfk> that is the beginning, middle and end of the entire support request email.
707: [10:13:51] <willr> just var_dump it tfor now
708: [10:18:30] * aragonne quit (Quit: aragonne)
709: [10:18:41] * Shrike_Finland quit (Quit: Leaving.)
710: [10:19:31] <kinglozzer> Pyluserswtfk: Give them /all/ the colour: http://rainbow.arch.scriptmania.com/tools/rainbow_text/
711: [10:21:09] * TRB143__ has joined #silverstripe
712: [10:21:59] * TRB143 quit (Ping timeout: 272 seconds)
713: [10:26:05] <mento> willr: i'm a complete noob in debugging, funny things these things always happen on fridays when my developer isn't around =P in what file do i place my var_dump? var_dump(UserDefinedForm_EmailRecipient::canEdit());
714: [10:29:33] * todamoon_ quit (Ping timeout: 240 seconds)
715: [10:29:46] <mento> i've tried adding it to the UserDefinedForm_EmailRecipient dataobject in userdifinedform.php which gave me a 500 error
716: [10:32:19] <Pyluserswtfk> kinglozzer: it crossed my mind. But it would affect the entire corporate group, not just the manager that asked for 'the colour'.
717: [10:32:24] * todamoon_ has joined #silverstripe
718: [10:32:24] * todamoon_ quit (Client Quit)
719: [10:32:34] <kinglozzer> <% if CurrentMember.ID = 123 %> ? :P
720: [10:35:46] <Pyluserswtfk> wholey shit kinglozzer - same codebase as yesterday - today just one error in views.
721: [10:35:56] <Pyluserswtfk> I JUST DON'T EVEN
722: [10:36:33] * aragonne has joined #silverstripe
723: [10:37:16] <kinglozzer> Pyluserswtfk: lolwut
724: [10:37:29] <kinglozzer> Cache issue somehow?
725: [10:37:33] <kinglozzer> But then...
726: [10:37:33] <kinglozzer> no
727: [10:37:37] <kinglozzer> Well idk
728: [10:40:12] * simon_w quit (Ping timeout: 245 seconds)
729: [10:44:39] <Pyluserswtfk> kinglozzer: idk either. Running full test suite now to see what's what.
730: [10:54:02] * Stomach has joined #silverstripe
731: [10:55:44] * Guits has joined #silverstripe
732: [11:03:04] * willr quit (Quit: willr)
733: [11:03:52] * guzzlefry quit (Ping timeout: 255 seconds)
734: [11:09:09] * guzzlefry has joined #silverstripe
735: [11:16:53] * Stomach quit (Quit: zzz)
736: [11:22:52] * aragonne quit (Quit: aragonne)
737: [11:49:59] <Pyluserswtfk> ss23: so squashing and stuff..
738: [11:50:10] <Pyluserswtfk> how does that work if I've pushed and all>
739: [11:50:12] <Pyluserswtfk> kinglozzer: ???
740: [11:50:24] <Pyluserswtfk> still works? idgi
741: [11:50:37] <kinglozzer> Pyluserswtfk: Squashing commits?
742: [11:50:41] <Pyluserswtfk> yes
743: [11:50:46] <kinglozzer> git rebase -i upstream/branch
744: [11:50:47] <ss23> um
745: [11:50:50] <Pyluserswtfk> turn 20 into 1, etc.
746: [11:50:50] <kinglozzer> git push --force origin/mybranch
747: [11:50:56] <ss23> yeah
748: [11:50:57] <Pyluserswtfk> D:
749: [11:50:58] <ss23> do the shit then push
750: [11:50:59] <ss23> :S
751: [11:51:03] <ss23> http://www.twitch.tv/fishplaystreetfighter
752: [11:51:05] <ss23> if you get bored
753: [11:51:05] <Pyluserswtfk> yeah, confused.
754: [11:51:07] <ss23> FPP but better
755: [11:51:16] <Pyluserswtfk> how to share sexytimes with differetn comptuers in the meantime? :<
756: [11:51:32] <Pyluserswtfk> requirement of squashing seems to defeat point in git.
757: [11:51:41] <kinglozzer> Pyluserswtfk: http://doc.silverstripe.org/framework/en/trunk/misc/contributing/code#squash-all-commits-related-to-a-single-issue-into-a-single-commit
758: [11:51:50] <ss23> Pyluserswtfk: Why?
759: [11:51:51] <ss23> :S
760: [11:52:25] <Pyluserswtfk> kinglozzer: yeah but wouldn't that cause issues when you try to push to origin? idk.
761: [11:52:29] <Pyluserswtfk> maybe not,
762: [11:52:34] <Pyluserswtfk> but it's confusing a bit.
763: [11:52:37] <kinglozzer> Pyluserswtfk: Not with -f
764: [11:52:47] <Pyluserswtfk> D: but -f is doing it wrong!
765: [11:52:51] <kinglozzer> No! :P
766: [11:53:03] <Pyluserswtfk> the what happens when everyone pulls from your rebased and squashed?
767: [11:53:08] <Pyluserswtfk> and forced push
768: [11:53:18] <Pyluserswtfk> git will have a 'mare?
769: [11:53:58] <kinglozzer> Pyluserswtfk: nfi :P
770: [11:54:06] <Pyluserswtfk> see, it's confusing.
771: [11:54:13] <Pyluserswtfk> seems like it's a terrible idea.
772: [11:54:25] <Pyluserswtfk> like, good, but terrible :<
773: [11:55:36] * UndefinedOffset has joined #silverstripe
774: [12:01:28] * guzzlefry quit (Ping timeout: 255 seconds)
775: [12:08:41] * guzzlefry has joined #silverstripe
776: [12:18:34] * guzzlefry quit (Ping timeout: 255 seconds)
777: [12:20:42] * guzzlefry has joined #silverstripe
778: [12:47:08] <ss23> irogue: I want help!
779: [12:47:08] <ss23> :D
780: [13:23:00] * quietnagger has joined #silverstripe
781: [13:25:02] * guci0 has joined #silverstripe
782: [13:25:08] <guci0> Yo!
783: [13:25:44] <guci0> Fast question, is possible to show only allowed (sets) translations? Range for example – show 3 form 6 language?
784: [13:26:30] <guci0> Show possible translation, isn't form me right now... I wan't show only ... or ...
785: [13:26:45] <Pyluserswtfk> ss23: no one can help you, you've got too many things wrong!
786: [13:26:56] <guci0> *want
787: [13:27:00] <quietnagger> hi guys.. im just new here in irc of silverstripe.. i wonder if anyone here can help me with ss3.. i wanted to use a TreeDropDownField that displays all pages of with a pagetype ProductPage.. but what is happening right now is that it just displays the pages ProductPage that are in the root of the admin (not a child of any other pagetypes).. those ProductPage that are children of other pagetypes are not being retrieved.. h
788: [13:27:12] <Pyluserswtfk> guci0: not sure I follow
789: [13:27:51] <guci0> Translatable::set_allowed_locales(array( 'en_GB', 'pl_PL', 'en_US' ) ); but in loop I want only en and pl
790: [13:30:00] <Pyluserswtfk> guci0: well... you could do a bit of processing
791: [13:30:04] <guci0> And i need to change domain, with it... :(
792: [13:30:10] <Pyluserswtfk> ah, I see.
793: [13:31:19] <guci0> I thought that set_allowed_locales can range possible tarnslations
794: [13:31:50] <Pyluserswtfk> foreach($locales as $locale) $langs[] = array_pop(explode('_', $locale));
795: [13:32:10] <Pyluserswtfk> guci0: not too sure sorry. I haven't dealt with translatable much.
796: [13:32:17] <Pyluserswtfk> and it was a long time ago
797: [13:32:30] <Pyluserswtfk> quietnagger: ok, but what is your code? (pastie.org)
798: [13:33:10] <Pyluserswtfk> DropdownField::create('ProductPageID', 'Product page', ProductPage::get());
799: [13:33:11] <Pyluserswtfk> ?
800: [13:33:50] <guci0> Pyluserswtfk: a few ifs will be okey, thanks!
801: [13:34:25] <quietnagger> $carouselDropdown = new TreeDropDownField( 'ProductPageID', 'Product Page', 'ProductPage' );
802: [13:34:36] <quietnagger> $carouselDropdown->setFilterFunction( function($obj){
803: [13:34:54] <quietnagger> if ($obj->ClassName != "ProductPage") { return false; }
804: [13:34:59] <quietnagger> else { return true; } } );
805: [13:35:49] <kinglozzer> quietnagger: Are you on 3.0 or 3.1?
806: [13:36:30] <quietnagger> 3.1
807: [13:36:42] <quietnagger> i read that it should be fixed in 3.1
808: [13:37:13] <kinglozzer> Try using ->setDisableFunction() instead. I think ->setFilterFunction removes pages and breaks the tree view
809: [13:37:23] * Shrike_Finland has joined #silverstripe
810: [13:37:29] * Shrike_Finland quit (Client Quit)
811: [13:39:30] <quietnagger> that could be a nice workaround for this :)
812: [13:39:49] <quietnagger> thank you kinglozzer :)
813: [13:40:00] * guci0_ has joined #silverstripe
814: [13:41:06] <kinglozzer> No problem, I had the same issue before which is why I added that :)
815: [13:42:19] <quietnagger> ahh cool. i was reading your post in the silverstripe forum
816: [13:42:23] <quietnagger> it was you.. hehe
817: [13:42:49] * guci0 quit (Ping timeout: 246 seconds)
818: [13:49:04] <Pyluserswtfk> kinglozzer: if you sake dev/tests/view does requirements from inlude file fail?
819: [13:49:19] <kinglozzer> Pyluserswtfk: 3.1 or 3.2?
820: [13:50:21] <Pyluserswtfk> master
821: [13:50:26] <Pyluserswtfk> (3.2 i guess)
822: [13:51:42] <kinglozzer> "Please install PHPUnit using pear"
823: [13:51:44] <kinglozzer> NO :(
824: [13:52:27] <kinglozzer> phpunit framework/tests/view '' db=sqlite3 doesn't have any failures
825: [13:52:30] <kinglozzer> sec, phone
826: [13:59:34] <kinglozzer> Pyluserswtfk: Is that in SSViewerTest? It passes for me
827: [13:59:39] <kinglozzer> Lemme rebase and check again
828: [14:01:04] <kinglozzer> Yep, $ sake dev/tests/SSViewerTest passes
829: [14:01:09] <Pyluserswtfk> kinglozzer: yeah it complains about an include issue for me.
830: [14:01:13] <Pyluserswtfk> again, nonroot
831: [14:01:25] <kinglozzer> Pyluserswtfk: nonroot?
832: [14:01:27] <Pyluserswtfk> err, nonframewrok/teblah
833: [14:01:29] <kinglozzer> Oh
834: [14:01:33] <kinglozzer> I'll try that
835: [14:01:41] <Pyluserswtfk> I'm trying to track down why this include is failing.
836: [14:01:47] <Pyluserswtfk> it's not getting included at all from what I see
837: [14:03:05] <kinglozzer> SSViewerTest::testRequireCallInTemplateInclude
838: [14:03:09] <kinglozzer> Failed ^^
839: [14:03:31] <Pyluserswtfk> sweet thanks kinglozzer
840: [14:03:35] <Pyluserswtfk> I was looking in the wrong place.
841: [14:03:37] <Pyluserswtfk> :>
842: [14:03:43] <Pyluserswtfk> is path issue, not include issue
843: [14:03:57] <Pyluserswtfk> but why, hmm.
844: [14:04:00] <kinglozzer> Pyluserswtfk: huh? :P
845: [14:04:14] <Pyluserswtfk> why other includes don't fail I guess... hmm...
846: [14:04:34] <Pyluserswtfk> kinglozzer: well the include isn't pulling through at all, or ... oh perhaps it's hardcoded path in the requirements.
847: [14:04:35] <Pyluserswtfk> hmm, derp
848: [14:04:55] <Pyluserswtfk> fuck'n... yep!
849: [14:05:34] <Pyluserswtfk> hmmm
850: [14:05:48] <Pyluserswtfk> so really this means that Requirements itself needs an overhaul.
851: [14:05:53] <Pyluserswtfk> to deal with modules and shit
852: [14:06:01] <Pyluserswtfk> themedJS
853: [14:06:03] <Pyluserswtfk> xD
854: [14:06:28] * wmk quit (Quit: nice to meet you ;))
855: [14:07:11] <kinglozzer> OHHH I see
856: [14:07:16] <kinglozzer> SSViewerTestProcessHead.ss
857: [14:07:29] <Pyluserswtfk> hmm yeh, because other requirements are done from controller, $basePath
858: [14:07:30] <Pyluserswtfk> etc
859: [14:07:41] <kinglozzer> See that's why requirements should be handled in Controllers ;)
860: [14:07:49] <Pyluserswtfk> which makes me wonder... are there no tests for requirements from template?
861: [14:08:05] <Pyluserswtfk> kinglozzer: yeah from modules I can agree, for this reason. but themes shoudln't be affected because themes.
862: [14:08:16] <kinglozzer> Pyluserswtfk: Yeah, one test, the one that's failing
863: [14:08:16] <kinglozzer> :P
864: [14:08:43] <Pyluserswtfk> so as I said yesterday... if it's required shit for stuff to function at all, then yes. Code. If it's purely asthetic/presentational, then yeah, Tempalte.
865: [14:09:11] <Pyluserswtfk> kinglozzer: yeah but surely if you're testing requirements from a temlpate in an include, you should also be testing requirements from a temlpate NOT in an include...
866: [14:09:17] <Pyluserswtfk> idk
867: [14:09:24] <Pyluserswtfk> seems weird that there's no test for that to me.
868: [14:09:58] * zfmf has joined #silverstripe
869: [14:10:06] <kinglozzer> Yeah, you're right
870: [14:10:29] <Pyluserswtfk> also with all these 'skipped/notimplemented' tests
871: [14:11:10] <zfmf> is there a way to use emmet/zen coding on .ss files on phpstorm?? anyone an idea??
872: [14:11:23] <Pyluserswtfk> for a framework that emphasises testing.
873: [14:11:26] <kinglozzer> Lol, forgot I had this installed - https://github.com/whatthejeff/nyancat-phpunit-resultprinter
874: [14:11:40] <kinglozzer> Pyluserswtfk: Some of them are skipped for a reason (some)
875: [14:11:48] <kinglozzer> But yeah, some are just cos lazy/broken
876: [14:11:49] <Pyluserswtfk> zfmf: well emmet is just html plugin.
877: [14:11:52] <Pyluserswtfk> so yeah, of course.
878: [14:12:02] <Pyluserswtfk> it won't do SS template tags, but it'll do everything else.
879: [14:12:20] <Pyluserswtfk> as for getting it to work in phpstorm... I dunno. Does it support phpstorm normally?
880: [14:12:34] <Pyluserswtfk> if so then surely it should just work, no?
881: [14:12:47] <zfmf> yes on html files its working, but on ss files it doens't
882: [14:13:17] <Pyluserswtfk> rofl kinglozzer, amazing!
883: [14:14:26] <kinglozzer> https://github.com/whatthejeff/emoji-phpunit-resultprinter O.o
884: [14:14:34] <Pyluserswtfk> how about NOOOOOO
885: [14:14:46] <Pyluserswtfk> plus I use real linux, not this emoji powered bullshit
886: [14:15:38] * Shrike_Finland has joined #silverstripe
887: [14:16:00] <kinglozzer> Pyluserswtfk: Does RequirementsTest::testSuffix fail for you too? With non-framework framework
888: [14:16:21] <Pyluserswtfk> kinglozzer: did, but I :d'd the offending line.
889: [14:16:44] <Pyluserswtfk> there's nothing I can do about that template include though :<
890: [14:16:48] <Pyluserswtfk> just gonna ignroe it.
891: [14:16:51] <Pyluserswtfk> ignore*
892: [14:17:09] <Pyluserswtfk> o~r :>
893: [14:18:10] <Pyluserswtfk> NOTE: If PHPUnit was not installed via composer, you also need to include the composer autoloader. One easy way to do this is to add the following attribute to the <phpunit> element in your phpunit.xml file: bootstrap="vendor/autoload.php"
894: [14:18:13] <Pyluserswtfk> wut -.-
895: [14:19:25] <kinglozzer> Pyluserswtfk: Huh?
896: [14:19:35] <kinglozzer> Surely you don't?...
897: [14:19:54] <Pyluserswtfk> kinglozzer: eh?
898: [14:20:00] <kinglozzer> Not I'm confused again
899: [14:20:04] <kinglozzer> now*
900: [14:20:07] <Pyluserswtfk> what?
901: [14:20:15] <Pyluserswtfk> nyancat phpunit
902: [14:20:27] <kinglozzer> oic
903: [14:20:35] <Pyluserswtfk> if you don't phpunit by composer, you have to include composer autoloader to make nyancat work.
904: [14:20:39] <kinglozzer> Thought you got that from ss docs ^^
905: [14:20:41] <Pyluserswtfk> sounds... fucking terrible.
906: [14:20:44] <Pyluserswtfk> kinglozzer: haha, nope
907: [14:20:53] <kinglozzer> Pyluserswtfk: It's like one line :P
908: [14:21:05] <Pyluserswtfk> kinglozzer: and the inclusion of composer in the first place.
909: [14:21:38] <Pyluserswtfk> like, "if you dont' use composer, too bad fucking use composer, you can't make this script work any other way EVEN THOUGH ITS PHP"
910: [14:28:56] * spronk2 quit (Quit: spronk2)
911: [14:36:52] <Pyluserswtfk> fuck, docs lying :<
912: [14:37:18] <Pyluserswtfk> maybe
913: [14:37:43] * travis-ci has joined #silverstripe
914: [14:37:44] <travis-ci> [travis-ci] dhensby/silverstripe-framework#25 (patch-4 - c5956d6 : Daniel Hensby): The build failed.
915: [14:37:44] <travis-ci> [travis-ci] Change view : https://github.com/dhensby/silverstripe-framework/compare/0e07f1a7f53b...c5956d6ac478
916: [14:37:44] <travis-ci> [travis-ci] Build details : http://travis-ci.org/dhensby/silverstripe-framework/builds/33287168
917: [14:37:44] * travis-ci has left #silverstripe
918: [14:46:37] <Pyluserswtfk> ffs, how to incl phar?
919: [14:46:39] <Pyluserswtfk> :<
920: [14:46:59] <kinglozzer> Pyluserswtfk: ?
921: [14:47:26] <Pyluserswtfk> have phar, want to use lib, include('phar') results in instant execution
922: [14:47:33] <Pyluserswtfk> need autoload :<
923: [14:47:43] <Pyluserswtfk> need less cuntism :<
924: [14:48:11] <Pyluserswtfk> phpunit needs to add the colour on it.
925: [14:48:29] <kinglozzer> Pyluserswtfk: Doesn't yours have any colour?
926: [14:48:37] <Pyluserswtfk> it does, but it needs the colour on it.
927: [14:49:37] <kinglozzer> Pyluserswtfk: Now you're confusing me again. "on it"?
928: [14:49:48] <Pyluserswtfk> yes. it nees THE colour ON it.
929: [14:49:59] <kinglozzer> OHHHH
930: [14:50:04] <kinglozzer> Why didn't you say so?!
931: [14:50:21] <kinglozzer> I'll submit a pull request to add the colour
932: [14:50:38] <Pyluserswtfk> http://logs.simon.geek.nz/index.php?date=2014-08-22#log_1380553
933: [14:50:56] <kinglozzer> Yeah I twigged :P
934: [14:51:02] <Pyluserswtfk> I branched.
935: [14:51:07] <kinglozzer> Took me a while.. but I got there
936: [14:51:11] <Pyluserswtfk> ;P
937: [14:51:36] <Pyluserswtfk> Join the joyride.
938: [15:03:43] * ARNHOE quit ()
939: [15:04:19] * catcher has joined #silverstripe
940: [15:04:38] <catcher> 'morning
941: [15:05:07] <kinglozzer> Fuck'n DNS
942: [15:05:10] <kinglozzer> Afternoon catcher
943: [15:05:47] <catcher> kinglozzer, isn't it weekend time for you?
944: [15:05:54] <kinglozzer> Nearly!
945: [15:15:09] <kinglozzer> Guise. If www.domain.com is CNAME'd to domain.com, but domain.com .htaccess 301 redirects to www.domain.com, is that going to result in infinite loop?
946: [15:20:09] * zfmf quit ()
947: [15:21:10] * quietnagger quit (Ping timeout: 246 seconds)
948: [15:22:18] <kinglozzer> Pyluserswtfk: halp, u know dns?
949: [15:25:40] <Pyluserswtfk> kinglozzer: little
950: [15:25:45] <Pyluserswtfk> wut?
951: [15:26:01] <kinglozzer> See above ^^
952: [15:26:21] <Pyluserswtfk> yes.
953: [15:26:35] <Pyluserswtfk> just try it and see. the browser will bail after about 40 circles.
954: [15:26:35] <kinglozzer> www.domain.com went down, DNS error apparently. Looked at records and www. was CNAME'd to non-www
955: [15:26:58] <Pyluserswtfk> hmm wait hang on no
956: [15:27:06] <Pyluserswtfk> cname is just an alias, not a redirection.
957: [15:27:14] <Pyluserswtfk> canonical name.
958: [15:27:58] <kinglozzer> Oh, well I just removed it
959: [15:28:07] <kinglozzer> But whatever, the a-record should catch it anyway
960: [15:29:33] <Pyluserswtfk> well only if you have a * a record
961: [15:30:20] <Pyluserswtfk> kinglozzer: so www.domain.com was down, but domain.com was up?
962: [15:30:25] <kinglozzer> Yep
963: [15:30:30] <Pyluserswtfk> o.0
964: [15:30:32] <Pyluserswtfk> cache.
965: [15:30:47] <kinglozzer> Idk, tried on work internet and 3g and it was down
966: [15:30:53] <Pyluserswtfk> browsers tell you if you have inf. loop.
967: [15:31:05] <Pyluserswtfk> downforeveryoneorjustme.com
968: [15:31:09] <kinglozzer> Yeah didn't get that, so think it may have been fine as it was and just a nameserver issue
969: [15:31:17] <Pyluserswtfk> kloth.net/tools/dig.php
970: [15:31:18] <Pyluserswtfk> etc
971: [15:31:22] <Pyluserswtfk> err, whatever.
972: [15:31:25] * mento quit (Quit: Page closed)
973: [15:31:47] <Pyluserswtfk> fuck projects and fuck composer.
974: [15:31:52] <kinglozzer> and dns
975: [15:32:00] <Pyluserswtfk> I AM NOT INSTALLING SHIT TO MY FUCKING SYSTEM USING COMPOSER YOU TWATS
976: [15:32:09] <Pyluserswtfk> I have a real package manager for that.
977: [15:32:30] <Pyluserswtfk> composer --global isn't cutting my mustard.
978: [15:36:56] * UndefinedOffset quit (Quit: Leaving.)
979: [15:38:07] * jenniferaslan has joined #silverstripe
980: [15:40:39] * TRB143__ is now known as TRB143
981: [16:08:14] * kinglozzer quit ()
982: [16:09:18] * stnvh quit ()
983: [16:27:22] * Pyluserswtfk quit ()
984: [16:36:46] * guci0_ quit (Ping timeout: 246 seconds)
985: [16:42:39] * sgrover has joined #silverstripe
986: [16:45:39] <sgrover> I have to create a custom lost password routine. I'm having troubles getting the autologinhash to work. I generate a autologinhash, mail that to the user, then use the Member::member_from_autologinhash($hash) routine, but it never returns a member.
987: [16:51:50] * UndefinedOffset has joined #silverstripe
988: [17:26:50] <sgrover> Think I have solved my problem. When using the Member->generateAutoLoginTokenAndStoreHash() method the return value is a token, not the raw hash. So afterwards you use $member->AutoLoginHash as the value to pass via the forgot password email. Then you can use Member::member_from_autologinhash($PASSED_HASH, true) to retrieve the user and log them in. (using the token in the later function does not work.. which was what I was
989: [17:26:50] <sgrover> doing)
990: [17:29:13] * Shrike_Finland quit (Quit: Leaving.)
991: [17:30:46] * ThePeach quit (Quit: leaving)
992: [17:51:19] * Shrike_Finland has joined #silverstripe
993: [17:52:20] * gelignite has joined #silverstripe
994: [19:18:37] * wilsonstaff has joined #silverstripe
995: [19:18:48] * wilsonstaff is now known as wilson
996: [19:18:56] * wilson is now known as wilsonstaff
997: [19:19:20] <wilsonstaff> Hi to all, can someone tell why this line isnt removing the field from the CMS?
998: [19:19:31] <wilsonstaff> $fields->removeFieldFromTab("Root.Content.Main","Content");
999: [19:20:00] <muskie9> are you using ss 2.4 or 3.x
1000: [19:21:16] <wilsonstaff> <muskie9> Sorry, SS3 But ive tried $fields->removeFieldFromTab("Root.Main","Content"); to no use either.
1001: [19:22:11] <muskie9> wilsonstaff, try $fields->removeByName('Content');
1002: [19:23:47] <wilsonstaff> <muskie9> Nope... I am trying to remove content field for the Newsletter.php
1003: [19:24:20] <muskie9> that should remove it, it just doesn't require the tab declaration
1004: [19:24:37] <muskie9> can you paste your code http://pastie.org/
1005: [19:32:07] * sgrover quit (Quit: This computer has gone to sleep)
1006: [19:32:16] <wilsonstaff> <muskie> Still trying to figure out why this Newsletter.php isnt catching up my custom fields. It adds them to the CMS but the .ss file isnt catching them!
1007: [19:34:46] <muskie9> wilsonstaff are you using the newsletter module?
1008: [19:35:22] <wilsonstaff> <muskie9> Yeah, i barely add it to work on another site.... but on this one...
1009: [19:35:31] <wilsonstaff> Had it, sorry
1010: [19:35:57] <muskie9> how are you adding your custom fields
1011: [19:46:14] <wilsonstaff> <muskie> $fields->addFieldToTab('Root.Main', new TextField("titrePrincipal", "Titre de article principal")); as i said, they show up in the CMS but not in the email sent using the template. All others hard-coded elements do however, so its picking up the template.
1012: [19:46:51] <muskie9> did you add titrePrinciple to your db array?
1013: [19:47:18] * R\w\C has joined #silverstripe
1014: [19:50:07] <wilsonstaff> <muskie9> yes, "titrePrincipal" => "Text",
1015: [19:50:28] <muskie9> wilsonstaff dev/build then flush ??
1016: [19:51:00] <wilsonstaff> <muskie9> Yes, dev/build + flush afterward, still nothing. And it doesnt explain why its not removing the Content field.
1017: [19:51:56] <muskie9> not sure, are you editing Newsletter.php or using a DataExtension
1018: [19:53:07] <wilsonstaff> <muskie9> Editing Newsletter.php
1019: [19:53:55] <muskie9> can you post it, not sure I can help unless I can see the code http://pastie.org/
1020: [19:54:35] <wilsonstaff> <muskie9> Here it is. http://pastie.org/9495149
1021: [19:57:01] <muskie9> have you tried flushing the cms?
1022: [19:57:25] <muskie9> I've had to do that at times... that might be the content field issue
1023: [19:59:17] <wilsonstaff> <muskie9>i did admin$flush=1 (or all) many times.
1024: [20:01:43] <wilsonstaff> <muskie9> ive succeeded getting the textfield to show.... I have to use <% loop $Newsletter %>$titrePrincipal<% end_loop %> in the template...
1025: [20:02:14] <muskie9> wilsonstaff, you should probably use <% with %> rather tha <% loop %>
1026: [20:02:28] <muskie9> loop is for lists, with is for a single instance
1027: [20:02:41] <wilsonstaff> <muskie9> in ss3?
1028: [20:02:45] <muskie9> yes
1029: [20:04:06] <muskie9> wilsonstaff: http://docs.silverstripe.org/framework/en/reference/templates#with
1030: [20:05:38] <wilsonstaff> <muksie9<% with $Newsletter %>$mois<% end_with %> caused an error. Maybe Newsletter doent like it?
1031: [20:06:06] <muskie9> could be
1032: [20:06:10] * sgrover has joined #silverstripe
1033: [20:06:22] <muskie9> are you on 3.0.x or 3.1.x
1034: [20:11:17] <wilsonstaff> <muskie9> 3.1.2 just noticed that a missing <% if...... caused the error.
1035: [20:11:33] <muskie9> that'll happen lol
1036: [20:11:46] * UndefinedOffset quit (Read error: Connection reset by peer)
1037: [20:17:32] <wilsonstaff> <muksie9> One serious question. I am building the template for a Newsletter. There is a group of fields that may or may not be on the newsletter, based on client content. How can i create an object (containng title, subtitle, texte, image) that the client could add as he wish? As it is now, ima creating more foelds than needed, and use <% if..... ∞> to sjow them if filled.
1038: [20:18:34] <muskie9> wilsonstaff, you could setup the object with the fields, then do a has_many from the Newsletter to your new object
1039: [20:19:10] <muskie9> then in the template <% if YourHasManyRelationName %><% loop YourHasManyRelation %><% end_loop %><% end_if %>
1040: [20:19:29] <muskie9> that would be in your <% with $Newsletter %>
1041: [20:19:47] <wilsonstaff> <muskie> Yeah but if client wants to add a second of this group of fields in the CMS?
1042: [20:21:04] <muskie9> since it's a has_many you could add as many of the object that has those fields (probably with a GridField)
1043: [20:24:53] <wilsonstaff> <muskie> This is way out my skills. Ill keep the <% if $that %> $that <% end_if %>. It works. It clums up the CMS but it works.
1044: [20:25:46] <muskie9> if you haven't worked through the tutorials yet I'd give them a go. takes some time, but once it clicks it'll open things up for ya
1045: [20:26:50] <wilsonstaff> <muskie9> I will after this job!!! How do i style this img? <% if imagePrincipal %>$imagePrincipal.setWidth(204)<% end_if %>
1046: [20:27:28] <wilsonstaff> <muskie9><img src="$imagePrincipal.URL" style="...." /> ???
1047: [20:27:32] <muskie9> try <% if imagePrincipal %><img src="$imagePrincipal.setWidth(204).URL" /><% end_if %>
1048: [20:43:02] * Guits quit (Read error: Connection reset by peer)
1049: [20:45:40] <wilsonstaff> <muskie9> Why this $fields->addFieldToTab('Root.Main', new TextField("nom", "Personne signe le texte")); isnt showing comments "Personne signe le texte" in the CMS?
1050: [20:58:19] <muskie9> wilsonstaff, not sure, looks good from here
1051: [21:00:06] * Stomach has joined #silverstripe
1052: [21:00:40] * R\w\C quit (Quit: ^^ Watch this Space)
1053: [21:01:06] <wilsonstaff> <muskie9> ilt not, it only shows the name of the private static DB, i.e. nom
1054: [21:10:05] * Stomach quit (Quit: zzz)
1055: [21:11:17] * Stomach has joined #silverstripe
1056: [21:17:02] * willr has joined #silverstripe
1057: [21:29:53] * vebb has joined #silverstripe
1058: [21:39:59] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
1059: [21:44:40] * travis-ci has joined #silverstripe
1060: [21:44:40] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#1044 (3.1 - 3f902eb : Will Rossiter): The build has errored.
1061: [21:44:40] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/fa90658b7ca6...3f902eb9fc6c
1062: [21:44:40] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/33323841
1063: [21:44:40] * travis-ci has left #silverstripe
1064: [21:47:09] * spronk2 has joined #silverstripe
1065: [22:04:58] <catcher> Happy weekend everyone.
1066: [22:05:01] * catcher quit (Quit: Leaving)
1067: [22:14:31] * wilsonstaff quit (Ping timeout: 246 seconds)
1068: [22:23:16] * Colin[pi] has joined #silverstripe
1069: [22:28:44] * simon_w has joined #silverstripe
1070: [22:54:06] * willr quit (Quit: willr)
1071: [23:08:28] * sgrover quit (Quit: This computer has gone to sleep)
1072: [23:15:16] * willr has joined #silverstripe
1073: [23:18:59] * Stomach quit (Quit: zzz)
1074: [23:20:25] * Stomach has joined #silverstripe
1075: [23:22:46] * Stomach quit (Client Quit)
1076: [23:54:58] * azureRaven has joined #silverstripe
1077: [23:59:02] * Colin[pi] quit (Ping timeout: 245 seconds)

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