#silverstripe IRC Log

IRC log for 26 January 2015

All timestamps are in UTC.

1: [00:01:21] * joelpittet has joined #silverstripe
2: [00:05:52] * zippy has joined #silverstripe
3: [00:06:33] <zippy> wracu: sure, it's just an array
4: [00:21:07] * muskie9 quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
5: [00:35:06] * joelpittet quit (Remote host closed the connection)
6: [00:39:18] * joelpittet has joined #silverstripe
7: [00:40:53] * muskie9 has joined #silverstripe
8: [00:41:08] * veb has joined #silverstripe
9: [00:41:37] <veb> men.
10: [00:41:41] * veb quit (Remote host closed the connection)
11: [00:41:57] * veb has joined #silverstripe
12: [00:54:24] <zippy> meh
13: [00:59:01] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
14: [00:59:52] <veb> zippy: ziiiiiipy
15: [00:59:57] <veb> where's my Kingy[a]
16: [01:00:00] <veb> he's so Bahrained
17: [01:00:45] <zippy> he shows up every now and then... was on a few days ago for a bit
18: [01:01:01] <zippy> he's computer goes good :)
19: [01:02:04] <veb> Oh yeah I bet
20: [01:02:07] <veb> I helped him
21: [01:02:21] <veb> but then ditched it
22: [01:02:35] <veb> I remember we spoke for like 4 days on one single item
23: [01:02:43] <veb> finding the cheapest one, but from the best place
24: [01:02:44] <veb> god
25: [01:12:47] <zippy> :)
26: [01:12:52] <zippy> now it plays civ5 :)
27: [01:13:06] <zippy> almost finished the first game, shit it takes hours eh
28: [01:13:12] <zippy> and the whole '1 more turn' so very real
29: [01:13:27] <zippy> reminds me of school holidays and civ1
30: [01:17:37] * masnun has joined #silverstripe
31: [01:18:20] * masnun quit (Client Quit)
32: [01:19:51] <veb> lol my wife loves civ
33: [01:20:00] <veb> eerry night... civ
34: [01:20:01] <veb> or sims
35: [01:20:07] * UncleCheese has joined #silverstripe
36: [01:20:09] <zippy> :)
37: [01:22:50] * micmania1 quit (Quit: micmania1)
38: [01:29:09] * joelpittet quit (Remote host closed the connection)
39: [01:33:01] * masnun has joined #silverstripe
40: [01:40:06] * novaweb quit (Quit: Leaving)
41: [01:48:58] * Hailwood has joined #silverstripe
42: [01:50:44] <Hailwood> Hey guys, What's the easiest way to redirect a user off to the login page and redirect them back to the current page they are on after login?
43: [01:56:28] <zippy> Hailwood: use the ReturnURL
44: [01:57:48] * spronk2 quit (Quit: I may need a longer sleep timer...)
45: [02:01:34] * camfindlay has joined #silverstripe
46: [02:06:34] <zippy> wtf.
47: [02:06:46] <zippy> load the page, and I can use Member::currentUser()
48: [02:07:09] <zippy> but if I have ?showqueries then it returns null.
49: [02:13:47] <zippy> change it to log to file and not use showqueies and works fine.. ah well
50: [02:18:30] * micmania1 has joined #silverstripe
51: [02:22:05] * masnun is now known as masnun|away
52: [02:35:25] * veb quit (Quit: veb-irc: &)
53: [02:36:47] * adrexia quit (Quit: Ex-Chat)
54: [02:43:53] * spronk2 has joined #silverstripe
55: [02:53:37] * masnun|away is now known as masnun
56: [03:09:21] * camfindlay quit (Quit: camfindlay)
57: [03:18:14] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
58: [03:19:18] * adrexia has joined #silverstripe
59: [03:37:33] * camfindlay has joined #silverstripe
60: [03:45:41] * babak_ is now known as babak
61: [03:54:09] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
62: [03:54:15] * Shrike_Finland has joined #silverstripe
63: [03:59:14] * veb has joined #silverstripe
64: [04:05:29] * spekulatius quit (Quit: Leaving)
65: [04:22:48] <MichalKleiner> quiet day here today
66: [04:23:01] <MichalKleiner> everyone's working apparently :-D
67: [04:23:10] * vebb has joined #silverstripe
68: [04:24:35] * veb quit (Ping timeout: 264 seconds)
69: [04:28:07] <camfindlay> think the Auckland people have a day off today
70: [04:28:46] <Hailwood> Hi Guys, How can I call a pub static function on a different controller from within a .ss template?
71: [04:31:58] <camfindlay> you could create a template method on the controller actually using the template which does the call to the other controller static perhaps, best keep logic in controllers as much as possible rather than in the view ;)
72: [04:35:31] <muskie9> ^
73: [04:37:00] * vebb quit (Quit: veb-irc: &)
74: [04:39:03] * camfindlay quit (Quit: camfindlay)
75: [04:44:27] * Hailwood quit (Ping timeout: 264 seconds)
76: [04:45:40] * cloph_away has joined #silverstripe
77: [04:45:52] * cloph quit (Ping timeout: 255 seconds)
78: [04:46:02] * gordon has joined #silverstripe
79: [04:46:25] * gordon is now known as Guest89508
80: [04:46:41] * Guest89508 is now known as nontgor
81: [04:48:11] * spronk2 quit (Quit: I may need a longer sleep timer...)
82: [04:55:53] * spronk2 has joined #silverstripe
83: [05:17:48] * bemusedrat has joined #silverstripe
84: [05:40:34] * micmania1 quit (Quit: micmania1)
85: [05:57:21] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
86: [06:12:47] * Shrike_Finland quit (Quit: Leaving.)
87: [06:18:30] * spronk2 quit (Quit: I may need a longer sleep timer...)
88: [06:30:12] * jedateach quit (Quit: jedateach)
89: [06:35:12] * jedateach has joined #silverstripe
90: [06:36:37] * starlifterdigi has joined #silverstripe
91: [06:39:58] * Shrike_Finland has joined #silverstripe
92: [06:42:00] * MichalKleiner is now known as MK_away
93: [06:48:58] * Shrike_Finland quit (Quit: Leaving.)
94: [06:50:50] * Shrike_Finland has joined #silverstripe
95: [06:56:11] * zippy has joined #silverstripe
96: [07:04:56] * starlifterdigi quit (Quit: starlifterdigi)
97: [07:06:17] * spronk2 has joined #silverstripe
98: [07:15:10] <zippy> spronk2: o/
99: [07:15:26] <spronk2> bazingah! \o
100: [07:18:54] * wracu_ has joined #silverstripe
101: [07:19:48] * MK_away quit (Ping timeout: 246 seconds)
102: [07:22:15] * wracu quit (Ping timeout: 246 seconds)
103: [07:23:09] * wracu_ quit (Ping timeout: 245 seconds)
104: [07:29:26] * Shrike_Finland1 has joined #silverstripe
105: [07:30:11] * Shrike_Finland2 has joined #silverstripe
106: [07:30:18] * Shrike_Finland quit (Read error: Connection reset by peer)
107: [07:34:15] * Shrike_Finland1 quit (Ping timeout: 264 seconds)
108: [07:40:12] * Eliseth quit (Read error: Connection reset by peer)
109: [07:44:46] * wmk has joined #silverstripe
110: [07:44:53] * Eliseth has joined #silverstripe
111: [07:45:15] <Eliseth> Goodmorning
112: [07:49:00] * glenn-bautista quit (Quit: Leaving.)
113: [07:56:29] * spronk2 quit (Quit: I may need a longer sleep timer...)
114: [08:05:05] * veb has joined #silverstripe
115: [08:06:07] * wmk quit (Ping timeout: 256 seconds)
116: [08:12:16] * arnhoe has joined #silverstripe
117: [08:13:06] * jedateach has left #silverstripe
118: [08:15:29] * jedateach has joined #silverstripe
119: [08:18:59] * jedateach quit (Client Quit)
120: [08:29:56] * veb quit (Quit: veb-irc: &)
121: [08:38:32] * jedateach has joined #silverstripe
122: [08:40:09] * wmk has joined #silverstripe
123: [08:41:57] * veb has joined #silverstripe
124: [08:42:13] * jedateach has left #silverstripe
125: [08:49:04] * veb quit (Quit: veb-irc: &)
126: [08:56:18] <zippy> Eliseth: evening
127: [09:01:51] * kinglozzer has joined #silverstripe
128: [09:05:50] <zippy> kinglozzer: evenings
129: [09:06:04] <kinglozzer> morning zippy
130: [09:06:09] <zippy> hows it going
131: [09:06:42] <kinglozzer> Good thanks mate
132: [09:06:43] <kinglozzer> You?
133: [09:06:48] <zippy> yea not bad thanks
134: [09:06:52] <zippy> Monday almost done!
135: [09:07:07] <kinglozzer> Lucky :(
136: [09:08:30] <kinglozzer> Many we _really_ need a modules/ folder or something
137: [09:08:57] <kinglozzer> 30 directories in my site root now :|
138: [09:14:41] * veb has joined #silverstripe
139: [09:20:46] <Eliseth> ./signed
140: [09:22:56] <zippy> yes!
141: [09:23:02] <zippy> tbh.
142: [09:23:08] <zippy> modules added to vendors
143: [09:23:28] <zippy> manifiest system dropped, and composer used for autoloading
144: [09:24:26] <kinglozzer> zippy: Mmm, I'd be all for that. Trouble is, what about people who don't use composer? Lots of people still use shared hosting (EWWWWW)
145: [09:24:51] <zippy> do they thou, or is that just an assumption we make?
146: [09:25:24] <Eliseth> we do
147: [09:25:27] <zippy> besides, they can just ftp up the whole vendor folder
148: [09:25:35] <Eliseth> well... "shared"
149: [09:25:50] <Eliseth> Actually, we don't... nvm
150: [09:25:59] <zippy> don't need to run composer commands if you copy up the whole folder
151: [09:26:18] <Eliseth> We never run composer on production server though
152: [09:26:52] <zippy> and simply the whole config system, but thats another story
153: [09:27:04] <zippy> it's like ss has two autoloaders, two config systems
154: [09:28:41] <Eliseth> Why is that?
155: [09:28:47] <Eliseth> The YAML / PHP config shizzle?
156: [09:29:14] <kinglozzer> zippy: Yeah but requiring composer anywhere raises the entry barrier a bit (i.e. by forcing you to use a CLI), so we'd cut off a portion of users
157: [09:29:32] <kinglozzer> I don't know how big/small that portion is though, I think the discussion will come up soon
158: [09:30:14] <kinglozzer> Like the asset abstraction RFC - if we're gonna use Flysystem, we don't want to copy it into the /thirdparty folder - it'd make much more sense to use composer to pull it in
159: [09:34:15] <zippy> mm
160: [09:34:37] <zippy> and jquery & tinymce
161: [09:41:22] * masnun_ has joined #silverstripe
162: [09:41:54] * MrGuits has joined #silverstripe
163: [09:43:18] * masnun quit (Ping timeout: 246 seconds)
164: [09:46:39] <zippy> kinglozzer: is there just 1 silverstripe group on google, or many?
165: [09:47:08] <zippy> lots eh, looksl ike silverstripe-core and silverstripe-dev to name a few
166: [09:47:36] <kinglozzer> zippy: As far as I know ss-dev is the only one that's actually used
167: [09:48:13] <kinglozzer> Or "SilverStripe Core Development"
168: [09:54:31] * Shrike_Finland2 quit (Quit: Leaving.)
169: [09:58:14] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
170: [10:01:40] * Pyhmnrk has joined #silverstripe
171: [10:23:33] * veb quit (Quit: veb-irc: &)
172: [10:27:20] <Pyhmnrk> I'm knackered.
173: [10:27:30] <Pyhmnrk> so busy all weekend doing nothing
174: [10:29:41] <kinglozzer> Pyhmnrk: Same, barely did anything and zzzz today
175: [10:29:55] <Pyhmnrk> I simply went to sleep too late I think.
176: [10:30:12] <Pyhmnrk> Fuck winter sucks in this country.
177: [10:30:28] <Pyhmnrk> motivation to do anything is at like 0%
178: [10:36:46] * masnun_ quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
179: [10:42:10] <Eliseth> What country is that?
180: [10:44:40] <Pyhmnrk> Blighty
181: [10:46:16] * Werner_2_ has joined #silverstripe
182: [10:46:16] * wmk quit (Read error: Connection reset by peer)
183: [10:46:21] <Eliseth> Ah, yes, well... Not much better here... (NL)
184: [10:47:16] * Werner_2__ has joined #silverstripe
185: [10:47:16] * Werner_2_ quit (Read error: Connection reset by peer)
186: [10:48:07] <kinglozzer> Pyhmnrk: I was talking to my friend in Sweden the other day, he has a friend in the north of the country - it was ~ -30c there earlier this month
187: [10:48:13] <kinglozzer> FUCK DAT
188: [10:48:16] <Pyhmnrk> kinglozzer: yeah but that's fine.
189: [10:48:22] <kinglozzer> I struggle if it's below +10
190: [10:48:25] <Pyhmnrk> At least shit actually fuck'n changes.
191: [10:48:36] <Pyhmnrk> unlike here. It drops below zero and there's not even any fuck'n snow!
192: [10:48:45] <kinglozzer> Yeah that sucks
193: [10:49:00] <kinglozzer> But it has a habit of coming in Feb, so there may be some yet :P
194: [10:49:00] <Pyhmnrk> everyone just starts driving like a twat
195: [10:49:18] <Eliseth> I'd much rather have -30 with lots of snow etc...
196: [10:49:22] <Pyhmnrk> yup
197: [10:49:33] <Pyhmnrk> I'd much rather be in Sweden :P
198: [10:49:51] <Eliseth> Instead of the never ending +5 with rain and grey depressing skies
199: [10:50:18] <Pyhmnrk> Yeah, the sun came out on ... Sunday (lol), felt like I should go and do something with it.
200: [10:50:31] <Pyhmnrk> but... had no plans, was too cold to be bothered to move, just... fuckit.
201: [10:50:33] <Eliseth> Most exiting thing here is when the temperature drops to ~0 and we have wet snow instead of rain... which instantly melts of course..
202: [10:50:36] <Pyhmnrk> now it's all cold and grey again.
203: [10:50:46] <Pyhmnrk> ah, sleet.
204: [10:51:00] <Pyhmnrk> Had that on the way to work once.
205: [10:51:07] <Pyhmnrk> Turned up saturated in sub zero water.
206: [10:51:53] <Pyhmnrk> did you solve your ajax dropdown thing?
207: [10:52:00] <Eliseth> No
208: [10:52:25] <Eliseth> TOmorrow I have someone coming that can help me with it, he's a real developer so
209: [10:52:29] <Pyhmnrk> reet, lemme have a go.
210: [10:52:48] <Eliseth> Struggling with another problem not suitable for beginners.. :P
211: [10:54:04] <Eliseth> Have to make this dataobject translatable, installed translatable-dataobject, see the fields appearing in my database, but adding the code that should give me the translation tabs ($fields->add($this->getTranslatableTabSet());) just errors out.
212: [10:55:48] <Pyhmnrk> oh gawd kinglozzer
213: [10:55:54] <Pyhmnrk> I just instinctively typed out
214: [10:56:03] <Pyhmnrk> $fields = new FieldSet(...
215: [10:56:05] <Pyhmnrk> D:
216: [10:56:37] <Pyhmnrk> Eliseth: because you have ; in wrong place
217: [10:56:43] <Pyhmnrk> oh, wait, maybe not.
218: [10:58:10] <Eliseth> nono, the () was just to encapsulate the code within my sentence
219: [10:58:11] <Eliseth> :P
220: [11:02:24] <Pyhmnrk> Yeh, I got it :>
221: [11:07:39] <Eliseth> off topic: Is there an online course or something that anyone can recommend to educate me into getting started with developing? I've been silverstriping on some projects for a while now, but keep facing my own limitations, most likely because my base knowledge on programming is insufficient.
222: [11:17:06] * Shrike_Finland has joined #silverstripe
223: [11:17:31] <Pyhmnrk> Eliseth: plenty of free resources out there!
224: [11:17:43] <Eliseth> That much I know...
225: [11:17:46] <Pyhmnrk> Programming is reasonably fundamentally the same across all languages.
226: [11:18:00] <Eliseth> Was hoping the pro's here would know which ones are actually good :)
227: [11:18:05] * Sj0hn has joined #silverstripe
228: [11:18:21] <Pyhmnrk> I dunno about the Treehouse for proper code, but I know they're pretty good when it comes to html/css
229: [11:18:30] <Pyhmnrk> and I know they cover code too.
230: [11:19:09] <Pyhmnrk> but basically Eliseth, if you google 'introduction to object oriented programming' you're probably going to be fine.
231: [11:21:20] <Eliseth> Delivered my first silverstripe last week btw, so I got that going for me, which is nice :) (can link in private for the curious)
232: [11:25:36] <Pyhmnrk> Eliseth: maybe something like this: http://sspaste.com/paste/show/54c623efecd2f
233: [11:26:01] <Pyhmnrk> how does that look kinglozzer ?
234: [11:26:13] <Pyhmnrk> (read title :> )
235: [11:26:44] <Pyhmnrk> Beware I've not written any SS code all year!
236: [11:27:19] <kinglozzer> Yeah looks good
237: [11:28:54] <Pyhmnrk> phew, not lost touch yet then! Despite kicking off with 2.4 code to begin with! :S
238: [11:29:55] * Pyhmnrk ingests caffine
239: [11:30:39] <Pyhmnrk> :< I should have gone to sleep earlier, that I should've.
240: [11:31:23] <Eliseth> Thanks for that Pyhmnrk, I'll look into it later. First glance remark: this means I'll have to rewrite the whole form code manually correct? (currently it's a silverstripe form thingy)
241: [11:31:42] <Pyhmnrk> Eliseth: oh, a UserForm?
242: [11:31:53] <Pyhmnrk> Yeah, there's no way to do what you're after with a userform.
243: [11:32:17] <Eliseth> Ok... :)
244: [11:33:09] <Pyhmnrk> Proper forms are much more flexible & efficient anyway!
245: [11:33:20] <Pyhmnrk> It'll be good for you to learn
246: [11:33:35] <Pyhmnrk> They're pretty much the key to SS.
247: [11:35:23] * Werner_2__ quit (Ping timeout: 264 seconds)
248: [11:37:42] <Pyhmnrk> Eliseth: besides, they're exceedingly simple! (to learn, more difficult to master)
249: [11:38:11] <Pyhmnrk> Like snooker I guess.
250: [11:38:23] <Eliseth> Haha
251: [11:51:40] * headtrip has joined #silverstripe
252: [12:02:54] * Shrike_Finland quit (Quit: Leaving.)
253: [12:15:35] * headtrip quit (Quit: (null))
254: [12:50:29] * arnhoe_ has joined #silverstripe
255: [12:51:16] * arnhoe quit (Read error: Network is unreachable)
256: [13:09:48] * Shrike_Finland has joined #silverstripe
257: [13:20:11] <Sj0hn> I'm using a module that uses a custom route "results//$Action/$ID". All my requirements (setup in page.php) aren't loaded there.
258: [13:21:01] <Sj0hn> I'm not sure how to add these.
259: [13:24:35] * Frans_Amsterdam has joined #silverstripe
260: [13:28:05] * UndefinedOffset has joined #silverstripe
261: [13:34:05] <Pyhmnrk> Sj0hn: custom routes have no impact on Requirements at all
262: [13:34:49] * _hschillig has joined #silverstripe
263: [13:35:25] <_hschillig> What's the best way to go about grabbing multiple values (array) in forms? Do I just append [] onto them name like you would in raw PHP and loop through a key for each record?
264: [13:35:58] <Pyhmnrk> yup, pretty much.
265: [13:35:59] <Sj0hn> Pyhmnrk oh..
266: [13:36:03] <Sj0hn> my bad
267: [13:36:12] <_hschillig> ok
268: [13:36:26] <Pyhmnrk> Sj0hn: what is the full rule?
269: [13:37:23] <Sj0hn> Pyhmnrk: https://github.com/i-lateral/silverstripe-searchable/blob/master/_config/routes.yml
270: [13:38:27] <Pyhmnrk> Sj0hn: https://github.com/i-lateral/silverstripe-searchable/blob/master/code/control/SearchResults.php#L3
271: [13:39:56] <Pyhmnrk> https://github.com/i-lateral/silverstripe-searchable/blob/master/code/control/SearchResults.php#L128
272: [13:40:16] <Pyhmnrk> Sj0hn: move your requirements to the template, rather than the controller.
273: [13:45:29] <Sj0hn> Is there a way to keep them in the controller? Extend the searchresults from the contentcontroller/Page_Controller?
274: [13:46:23] <Sj0hn> I like my requirements in the Page_Controller
275: [13:48:11] * wmk has joined #silverstripe
276: [13:48:12] <Sj0hn> That worked aswell
277: [13:48:24] <Sj0hn> Pyhmrk thanks for your help :)
278: [13:54:16] <Pyhmnrk> it's the wrong answer though, but it should work without issue.
279: [13:56:01] <Pyhmnrk> ... until you or someone decides to upgrade.
280: [13:56:04] <Pyhmnrk> ;)
281: [13:59:07] <Sj0hn> Yeah, probaly not the most clean way to do it.
282: [14:02:07] * muskie9 has joined #silverstripe
283: [14:08:12] * Sj0hn quit ()
284: [14:09:18] <wmk> Pyhmnrk, never change a running... you know what i mean
285: [14:09:55] <wmk> hah, new idea for a name of a band: system of a change
286: [14:13:14] <Pyhmnrk> heh
287: [14:13:24] <Pyhmnrk> wmk: with hits such as suey chop?
288: [14:13:51] <Pyhmnrk> reception devices, and the friendliest day of my life?
289: [14:15:13] * Frans_Amsterdam quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
290: [14:27:59] <wmk> Pyhmnrk, coxytity ?
291: [14:28:53] <Pyhmnrk> hahah
292: [14:29:07] <Pyhmnrk> that sounds like a name for a porno, not a song!
293: [14:29:09] <Pyhmnrk> haha
294: [14:53:15] * masnun has joined #silverstripe
295: [15:13:03] * bemusedrat quit (Quit: Leaving)
296: [15:13:05] * Shrike_Finland quit (Quit: Leaving.)
297: [15:19:52] * babak quit ()
298: [15:20:04] * babak has joined #silverstripe
299: [15:23:34] * wmk quit (Ping timeout: 245 seconds)
300: [15:45:04] * Shrike_Finland has joined #silverstripe
301: [16:01:46] * UndefinedOffset1 has joined #silverstripe
302: [16:01:46] * UndefinedOffset quit (Disconnected by services)
303: [16:03:59] * Shrike_Finland quit (Quit: Leaving.)
304: [16:04:49] * joelpittet has joined #silverstripe
305: [16:08:30] * Shrike_Finland has joined #silverstripe
306: [16:25:28] * travis-ci has joined #silverstripe
307: [16:25:28] <travis-ci> silverstripe/silverstripe-framework#3937 (pulls/byids-arraylist - 743604a : Daniel Hensby): The build has errored.
308: [16:25:28] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/commit/743604af749f
309: [16:25:28] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/48360615
310: [16:25:28] * travis-ci has left #silverstripe
311: [16:25:47] * arnhoe_ quit ()
312: [16:29:40] * travis-ci has joined #silverstripe
313: [16:29:40] <travis-ci> dhensby/silverstripe-framework#57 (pulls/byids-arraylist - 743604a : Daniel Hensby): The build has errored.
314: [16:29:40] <travis-ci> Change view : https://github.com/dhensby/silverstripe-framework/commit/743604af749f
315: [16:29:40] <travis-ci> Build details : http://travis-ci.org/dhensby/silverstripe-framework/builds/48361405
316: [16:29:40] * travis-ci has left #silverstripe
317: [16:47:47] * Frans_Amsterdam has joined #silverstripe
318: [16:48:44] <Frans_Amsterdam> Hi all, I like to ask a little help on validation errors and how to show them.
319: [16:52:22] * jenniferaslan has joined #silverstripe
320: [16:52:57] <zauberfisch> Frans_Amsterdam: ask away
321: [16:57:58] <Frans_Amsterdam> I have declared a new password validator in de _config. Like $validator = new PasswordValidator(); And then $validator->minLenght(6); Finally Member::set_password_validator($validator); This work fine but I cannot place the validation error within the form. How do I show it there?
322: [17:17:40] * travis-ci has joined #silverstripe
323: [17:17:40] <travis-ci> dhensby/silverstripe-framework#58 (pulls/byids-arraylist - e45b067 : Daniel Hensby): The build has errored.
324: [17:17:40] <travis-ci> Change view : https://github.com/dhensby/silverstripe-framework/compare/743604af749f...e45b067fc170
325: [17:17:40] <travis-ci> Build details : http://travis-ci.org/dhensby/silverstripe-framework/builds/48367551
326: [17:17:40] * travis-ci has left #silverstripe
327: [17:23:16] * Frans_Amsterdam quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
328: [17:29:15] * kinglozzer quit ()
329: [17:29:54] * babak quit (Quit: Connection closed for inactivity)
330: [17:30:44] * Shrike_Finland quit (Quit: Leaving.)
331: [17:32:25] * Shrike_Finland has joined #silverstripe
332: [17:43:16] * Shrike_Finland quit (Quit: Leaving.)
333: [17:44:02] * Shrike_Finland has joined #silverstripe
334: [17:55:01] * Shrike_Finland quit (Quit: Leaving.)
335: [17:59:48] * Pyhmnrk quit ()
336: [18:08:16] * joelpittet quit ()
337: [18:08:46] * Shrike_Finland has joined #silverstripe
338: [18:15:51] <masnun> I have a controller ShoppingCart
339: [18:15:58] <masnun> and I create a method named "getrate"
340: [18:16:06] <masnun> added it to allowed actions
341: [18:16:12] <masnun> but it's getting a 404
342: [18:16:20] <masnun> is there anything else I need to do?
343: [18:20:02] <muskie9> masnun, did you flush
344: [18:20:24] <masnun> I did but flush had an error
345: [18:20:29] <masnun> could that be the reason?
346: [18:20:58] <muskie9> if you can't flush then there's a bigger issue... I'd put ur site in dev mode and turn on error reporting
347: [18:22:59] <masnun> yes
348: [18:23:02] <masnun> I fixed the error
349: [18:23:04] <masnun> now it works
350: [18:23:07] <masnun> thanks
351: [18:23:10] <muskie9> sure
352: [18:52:23] * joelpittet has joined #silverstripe
353: [18:56:43] * catcher has joined #silverstripe
354: [19:13:13] * babak_ has joined #silverstripe
355: [19:17:08] * Shrike_Finland quit (Quit: Leaving.)
356: [19:21:56] * wracu has joined #silverstripe
357: [19:25:35] * spekulatius has joined #silverstripe
358: [19:33:08] * Ryan-Toast has joined #silverstripe
359: [19:33:24] * jedateach has joined #silverstripe
360: [19:38:06] * _hschillig has left #silverstripe
361: [19:48:03] * zippy has joined #silverstripe
362: [19:48:04] * jedateach has left #silverstripe
363: [19:48:28] * lerni_ has joined #silverstripe
364: [19:50:32] <zippy> morning
365: [19:50:48] <Ryan-Toast> morning, morning.
366: [19:55:13] * veb has joined #silverstripe
367: [19:59:33] * lerni_ quit (Remote host closed the connection)
368: [20:01:27] * lerni_ has joined #silverstripe
369: [20:03:03] <zippy> Ryan-Toast: hows it going
370: [20:03:05] <zippy> veb: morning
371: [20:03:19] * UncleCheese has joined #silverstripe
372: [20:03:25] * Stomach has joined #silverstripe
373: [20:03:27] <veb> mōrena zippy
374: [20:03:55] <Ryan-Toast> zippy: Good man, just recovering from the weekend.
375: [20:04:11] <zippy> Did you catch up with those Russian girls again? :)
376: [20:07:34] <veb> hey Ryan-Toast
377: [20:07:36] <veb> sup?
378: [20:07:50] <Ryan-Toast> veb: Hey, just sorting through my emails.
379: [20:10:17] * joelpittet quit (Remote host closed the connection)
380: [20:10:55] <Ryan-Toast> Which is the best mailchimp subscription module just for a simple input?
381: [20:11:19] <zippy> if it's simple, why use a module? just post straight to mailchimp...
382: [20:11:25] <Ryan-Toast> zippy: Nah, they went to the coramandel, but I did meet a nice German girl in town on Saturday :)
383: [20:11:40] <Ryan-Toast> orly? I haven’t used their API in ages.
384: [20:12:46] <veb> what do we use to take our phone recorded videos and make them smaller?
385: [20:12:54] <veb> i.e. html5 conversion
386: [20:12:56] <veb> oh
387: [20:12:59] <veb> gyfcat works
388: [20:12:59] <veb> h
389: [20:13:00] <veb> ha
390: [20:13:10] <Ryan-Toast> Love me some gfycat
391: [20:13:12] <zippy> handbreak on osx..
392: [20:13:15] <zippy> or ffmpeg
393: [20:13:24] <veb> nah
394: [20:13:26] <veb> gyfcat
395: [20:13:28] <veb> drag mp4 over
396: [20:13:29] <veb> win
397: [20:15:02] <veb> Sorry! Gfy's are 15 seconds max! This video is 30.60 seconds. Think simple, jiffy, and captivating!
398: [20:15:03] <veb> FFFF
399: [20:17:03] * novaweb has joined #silverstripe
400: [20:19:51] <zippy> veb: handbreak on osx...
401: [20:19:54] <zippy> or ffmpeg
402: [20:20:37] <zippy> vimeo might do it...
403: [20:20:40] <zippy> but might need to apy
404: [20:22:28] <novaweb> i can't see what the question was as just joined, but if you're trying to do some video converting stuff - VLC will probably do it.
405: [20:24:20] <zippy> i hate having all the modules in the root folder, god damn
406: [20:24:26] <veb> imgur
407: [20:24:28] <veb> works
408: [20:25:55] <zippy> bet handbreak be better :)
409: [20:26:59] * joelpittet has joined #silverstripe
410: [20:27:45] <veb> iyuhbekrbfsdkjasd
411: [20:27:46] <veb> die
412: [20:27:46] <veb> :p
413: [20:38:49] <Stomach> wheres simon these days
414: [20:38:51] <Stomach> :(
415: [20:40:01] * Hailwood has joined #silverstripe
416: [20:42:49] <zippy> Stomach: o/
417: [20:42:57] <zippy> Stomach: not sure.. he hasn' tbeen around for almost two weeks :(
418: [20:43:13] <zippy> Stomach: http://ss.org.nz/logs is dead...
419: [20:43:25] <zippy> I emailed him last week but no reply :(
420: [20:43:27] <Stomach> http://logs.simon.geek.nz/
421: [20:43:40] * Frans_Amsterdam has joined #silverstripe
422: [20:43:47] <zippy> Stomach: yea, but the ss.org.nz domain he has... which was used for the redirects in the topic title
423: [20:44:07] <zippy> there is also no more stats page on the logs site (I think it was at stats.php wasn't it:)
424: [20:44:53] <Stomach> well thats pretty dumb
425: [20:45:13] <zippy> Jan 22nd. Simon Welsh* @simon_w - Getting really close to rm -rf all my shared SilverStripe stuff. I’m tired of putting up with this sort of treatment.
426: [20:45:47] <zippy> so not sure, would be nice to help him but I don't know whats really going on...
427: [20:49:20] * MK_away has joined #silverstripe
428: [20:51:45] * Ryan-Toast quit (Quit: Ryan-Toast)
429: [20:53:08] * micmania1 has joined #silverstripe
430: [20:55:16] * Ryan-Toast has joined #silverstripe
431: [20:55:25] <zippy> ss23: I think might have to send some BurgerFuel over for him..
432: [21:03:14] * glenn-bautista has joined #silverstripe
433: [21:05:11] * Motoservo has joined #silverstripe
434: [21:05:15] * DimiStripe quit (Quit: DimiStripe)
435: [21:10:51] <Stomach> zippy - yeah I just saw that too
436: [21:11:00] <Stomach> haven't heard from him so don't know what the issues are
437: [21:12:49] * camfindlay has joined #silverstripe
438: [21:13:22] * MK_away is now known as MichalKleiner
439: [21:13:53] <camfindlay> morning
440: [21:14:02] <Hailwood> Hey guys, how can I get the current request object in a method on a TemplateProvider?
441: [21:15:42] <Stomach> Controller::curr()->getRequest()
442: [21:15:52] <Stomach> hey camfindlay
443: [21:16:35] <Hailwood> THanks Stomach
444: [21:17:16] <camfindlay> so somehow I won a Moto 360 watch this morning… however I don’t have an android phone lol maybe an excuse to get one :P
445: [21:18:38] <camfindlay> also, fyi. micmania1 is starting to look at the addons site search which is a bit broken at the moment. Hopefully we can sort that out soon :)
446: [21:22:14] * gelignite has joined #silverstripe
447: [21:23:55] * Stomach goes and posts some title-less forum topics
448: [21:31:38] <catcher> Hailwood, API doc re: Stomach's answer: http://api.silverstripe.org/3.1/class-RequestHandler.html#_getRequest
449: [21:32:13] <Stomach> catcher - yeah the problem was that he is inside a templateglobalprovider which isn't part of the request chain
450: [21:33:52] <catcher> Ah right, so http://api.silverstripe.org/3.1/class-Controller.html#_curr too.
451: [21:34:23] * catcher posts some addons called 'addon'
452: [21:34:48] * masnun is now known as masnun|away
453: [21:34:48] * masnun|away quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
454: [21:36:28] * zippy posts some addons called addons_addon
455: [21:38:09] * Stomach posts some packages with "name": "silverstripe/penis",
456: [21:39:52] <camfindlay> Stomach - someone is onto creating a PR for the forum - more deployments hopefully soon… all the deploys
457: [21:40:20] <Stomach> camfindlay - yeah was just poking fun at it
458: [21:40:28] <Stomach> we've already deployed 3 sites with an update to fix it :D
459: [21:40:38] <Stomach> watching github issues is a good idea
460: [21:41:08] <camfindlay> I declared war on the love guru spammer this year… so anything that tightens up this stuff is good :P
461: [21:41:32] <camfindlay> Yip I watch a lot of github issues ;)
462: [21:41:55] <zippy> who is in control of the silverstripe dev google group, my account needs approving
463: [21:42:04] <camfindlay> if you have a fix Stomach, maybe you can do a gist or win the pull request game :)
464: [21:42:21] <camfindlay> which group zippy?
465: [21:42:36] <camfindlay> I thought that was auto approve and I can check for you if you like
466: [21:42:55] <zippy> silverstripe-dev
467: [21:43:25] <Stomach> camfindlay - all of ours are forks of it, all I did was add javascript to our front end then add a if (!$data['Title') { $form->getController()->redirectBack();} into our code
468: [21:43:26] <zippy> oh look... there is the new topic button :D
469: [21:43:29] <Stomach> not really PR able
470: [21:46:37] <camfindlay> would we be better to actually make that field a required one if it’s the first post Stomach? ;)
471: [21:47:18] <Stomach> yeah, but then you have to handle the validation redirectback with a nice message which I wasn't certain if it already had
472: [22:02:17] * Frans_Amsterdam quit (Ping timeout: 252 seconds)
473: [22:07:31] <micmania1> puppet is hard :(
474: [22:07:57] <catcher> micmania1, I've avoided it after reading how touchy it can be
475: [22:09:13] <micmania1> Looks like its working \o/
476: [22:10:33] * spronk2 has joined #silverstripe
477: [22:12:33] * Colin[pi] has joined #silverstripe
478: [22:12:55] <Colin[pi]> morning all
479: [22:15:14] * jedateach has joined #silverstripe
480: [22:16:03] <Stomach> hey Colin[pi]
481: [22:16:09] <Stomach> micmania1 - it makes live easy when it works :P
482: [22:16:33] <zippy> Colin[pi]: hello
483: [22:22:08] * Frans_Amsterdam has joined #silverstripe
484: [22:28:48] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
485: [22:33:41] * jedateach has left #silverstripe
486: [22:41:49] * Stomach quit (Quit: zzz)
487: [22:43:59] <Hailwood> Hey guys, if I have altered a config yml file what do I need to run to get it picked up? dev/build, flush=1, flush=all, dev/build?flush=all?
488: [22:48:00] <zippy> flush=1 or flush=all would do it
489: [22:49:54] * babak_ quit (Quit: Connection closed for inactivity)
490: [22:54:13] * muskie9 quit (Ping timeout: 244 seconds)
491: [22:56:12] <camfindlay> micmania1 - show me how to get the puppet working for addons sometime ;) keen to be able to actually work on that site :P
492: [22:56:27] <ss23> You don't need puppet
493: [22:56:33] <ss23> Just install the stuff you need manually and run those scripts
494: [22:56:38] * Colin[pi] quit (Ping timeout: 245 seconds)
495: [22:57:05] <ss23> It's a little complex cause of all the moving parts, but reading the scripts themselves should clear up what is needed where, if anything is missing
496: [22:57:44] <micmania1> camfindlay: it didn’t work in the end haha
497: [22:59:22] * muskie9 has joined #silverstripe
498: [22:59:24] <camfindlay> booo
499: [22:59:56] <camfindlay> would be nice to have a vagrant setup that any community member can use to get addons going - that site hasn’t had much love
500: [23:00:34] <ss23> If I could wave my hands and make magical things happen, making the addons site work with vagrant would be super low on the list :O
501: [23:00:48] <camfindlay> I did start on a bash driven vagrant setup for that - unfinished yet (might push to fork sometime soon if anyone wants to improve)
502: [23:01:27] <camfindlay> being able to get addons working quickly would be a requirement to be able to actively work on it and contribute though right?
503: [23:01:36] <adrexia> lol
504: [23:01:45] <adrexia> at least you're honest ss23
505: [23:01:57] <zippy> how do you create a tab in a fieldset. eg I want to reset the whole field list... so figured if I start from $fields = new FieldList(); but then of course it maosn there is no root.main tab
506: [23:02:42] * Stomach has joined #silverstripe
507: [23:02:56] * Colin[pi] has joined #silverstripe
508: [23:10:06] * nicolaas has joined #silverstripe
509: [23:10:10] <nicolaas> does anyone care to have a look at this strange bug? http://www.sspaste.com/paste/show/54c6c8e62ec13
510: [23:10:23] <Stomach> no!
511: [23:11:05] <nicolaas> :-)
512: [23:11:28] <Stomach> that seems weird
513: [23:11:35] <Stomach> do you have two ProductPage classes?
514: [23:12:01] <nicolaas> Stomach: good question... let me check.
515: [23:13:00] <Stomach> also try doing that Config::update stuff in _config.php before the rest of the site loads? just to see if its working
516: [23:13:01] <nicolaas> checked, that is a no. ProductPage extends Product extends Page
517: [23:14:32] <Stomach> but your example you are executing the get on the product before adding the extension, so it wont have it
518: [23:14:56] <nicolaas> yeah - true... sorry, I missed that
519: [23:15:17] <nicolaas> let me have a look - maybe I am adding it wrong in the yml file. I will double-check that.
520: [23:15:29] <nicolaas> thank you so much for your help... you put me in the right direction.
521: [23:16:13] <Stomach> no worries buddy :)
522: [23:18:10] * catcher outski.
523: [23:18:13] * catcher quit (Quit: Leaving)
524: [23:18:20] <nicolaas> :-)
525: [23:19:06] * terryapodaca has joined #silverstripe
526: [23:19:38] <camfindlay> micmania1 - here’s the fork I was playing with to get a less SS Ltd centric setup for addons website https://github.com/camfindlay/addons.silverstripe.org/tree/bashvagrant
527: [23:20:18] <terryapodaca> anyone know of a jquery (or css) that will grow a circle from basically 0 height/width to a set height/width? Animation on page load or section load?
528: [23:21:23] * MrGuits quit (Ping timeout: 240 seconds)
529: [23:21:58] * Guits quit (Ping timeout: 272 seconds)
530: [23:22:38] <Stomach> terryapodaca - you can do that with an svg easily
531: [23:22:40] <nicolaas> @terry, i'd say that could be done in three lines of JS?
532: [23:24:13] <nicolaas> http://stackoverflow.com/questions/5755765/using-jquery-html5-to-animate-a-circle?
533: [23:24:26] <terryapodaca> Stomach: it's going to be a circle, probably a <div> with content inside it, text content
534: [23:25:11] <Ryan-Toast> terryapodaca: depending on browser support, just use css animation.
535: [23:26:15] * Colin[pi] quit (Ping timeout: 244 seconds)
536: [23:26:23] * Colin[pi] has joined #silverstripe
537: [23:26:58] <Colin[pi]> all my power just turned off and on again.. nice
538: [23:27:08] * spronk2 quit (Quit: I may need a longer sleep timer...)
539: [23:30:30] <terryapodaca> Ryan-Toast: how would I kick off that animation on page load?
540: [23:30:37] <terryapodaca> instead of hover
541: [23:30:45] <Ryan-Toast> opacity: none, then set the animation queue.
542: [23:32:53] * Frans_Amsterdam quit (Ping timeout: 245 seconds)
543: [23:33:45] <terryapodaca> Ryan-Toast: I have something close on jsfiddle, let me "fiddle" with this a little bit...I might come back some time and ask more questions if I can't get what I need
544: [23:33:47] <terryapodaca> :D
545: [23:36:58] * jenniferaslan quit (Quit: jenniferaslan has left the room)
546: [23:43:16] * spronk2 has joined #silverstripe
547: [23:53:44] * lerni_ quit ()
548: [23:55:42] * camfindlay quit (Quit: camfindlay)
549: [23:57:07] * camfindlay has joined #silverstripe

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