#silverstripe IRC Log

IRC log for 30 August 2013

All timestamps are in UTC.

1: [00:00:15] <mdowton> Any Ideas on how to deal with search results that render inside a parent page? Losing there format?
2: [00:07:24] <simon_w> What do you mean?
3: [00:08:45] <mdowton> I have nested pages in a parent that are included in the search results if I serch and than follow the link back it renders not in the parent page, does that make sense?
4: [00:13:12] <simon_w> So you do a search, follow a result, and then click some link you've added and that link takes you to something that isn't being rendered properly?
5: [00:15:04] * robert_ quit (Quit: Connection reset by traffic clause.)
6: [00:16:05] <willr> simon_w you have a script handy to fix leading / trailing whitespace in PHP files. My regexs aren't showing up anything
7: [00:16:15] * zippy__ quit (Ping timeout: 245 seconds)
8: [00:17:58] <atmos> willr: can I ask if know how to to call an addtional method for jquery validation on a custom userform field?
9: [00:18:15] <simon_w> willr, find * -name '*.php' -print0 | xargs -0 -n 1 php -r '$file = trim(file_get_contents($_SERVER["argv"][1])); file_put_contents($_SERVER["argv"][1], $file);' ?
10: [00:18:20] <mdowton> Yes thats right..... I have an apply page which is part of a holder page which has several pages under it...but these are access via an anchor tag in a side menu which seems to be striped out of the url(hash tag that is)?
11: [00:18:23] <simon_w> (typed directly into xchat, untested)
12: [00:19:11] <mdowton> Can provide a link if you wish to see it?
13: [00:19:45] <willr> atmos you can override the validate js in your page by defining a Requirements::customScript() with the same name 'UserFormsValidation
14: [00:20:41] <willr> simon_w no rm -rf /. I though you may want to troll someone
15: [00:20:51] <atmos> willr: directly on the form itself?
16: [00:21:22] <simon_w> willr, can't do text-indent: -9999999em in IRC :p
17: [00:21:37] <willr> atoms - what change did you want to make?
18: [00:22:36] <Pyromanik> lol, atoms
19: [00:22:47] <willr> damn osx autofix
20: [00:23:03] <Pyromanik> so it fixes stuff you didn't type too?
21: [00:23:40] <atmos> willr: I've created a new field of which I want to apply a custom validation rule too
22: [00:28:23] <willr> well each form field type can specify a json hash that is injected into validate() https://github.com/silverstripe/silverstripe-userforms/blob/master/code/model/formfields/EditableFormField.php#L483
23: [00:28:46] <willr> if you need more flexibility you can do like I mentioned and replace the entire javascript template with your own logic
24: [00:30:06] <atmos> willr: that seems like a lot of work for just one extra rule?
25: [00:36:34] <atmos> although I'm just assuming that addMethod would allow me to add an extra rule to that array
26: [00:36:54] <atmos> and include the addtional-methods.js on the form
27: [00:54:22] * nickspiel has joined #silverstripe
28: [00:54:57] <atmos> willr: thanks, that does work though
29: [01:03:09] * zippy__ has joined #silverstripe
30: [01:17:21] * Bollig|DesignCty has joined #silverstripe
31: [01:20:18] * DigNZ quit (Quit: DigNZ)
32: [01:25:42] <zippy__> 188 icons in this theme, not a single disk / save type one!!
33: [01:27:04] * Stomach quit (Quit: Leaving.)
34: [01:27:22] <zippy__> http://upload.wikimedia.org/wikipedia/commons/thumb/9/91/Amstrad_CPC464.jpg/800px-Amstrad_CPC464.jpg - memories!!
35: [01:28:48] <spronk> duude
36: [01:28:53] <spronk> i had a 6128!
37: [01:28:56] <spronk> with the weird 3" disks
38: [01:29:10] <spronk> http://wiki.nuaj.net/images/b/b7/Cpc6128.jpg
39: [01:29:33] <spronk> http://upload.wikimedia.org/wikipedia/commons/thumb/3/3d/3_inch_floppy_disks.jpg/220px-3_inch_floppy_disks.jpg
40: [01:29:59] * DigNZ has joined #silverstripe
41: [01:30:00] * DigNZ quit (Remote host closed the connection)
42: [01:30:14] * DigNZ has joined #silverstripe
43: [01:30:14] * DigNZ quit (Client Quit)
44: [01:32:14] <Bollig|DesignCty> So they look exactly like the C64 in a different box...
45: [01:35:46] * Stomach has joined #silverstripe
46: [01:38:27] <zippy__> man, got stuck reading this http://en.wikipedia.org/wiki/List_of_Amstrad_CPC_games :) so many good games
47: [01:38:33] <ss23> lol
48: [01:39:10] <Pyromanik> zippy__: but where are the achievements? all good games have achievements -.-
49: [01:39:23] <zippy__> lol
50: [01:39:48] <zippy__> it did lack online multiplayer also
51: [01:39:58] <Colin[pi]> amstrad! those were the days
52: [01:40:04] <Pyromanik> who needs online when your friends are sitting right next to you!?
53: [01:40:21] <spronk> one of the best games was GRYZOR
54: [01:40:23] <spronk> otherwise known as
55: [01:40:23] <spronk> CONTRA
56: [01:40:24] <spronk> fuck yeah.
57: [01:40:40] <Colin[pi]> I long for the early days with my C64 and my Amiga 500
58: [01:41:14] <ss23> you're the one I long for
59: [01:41:16] <zippy__> Oh yea, Amiga! that is where it was at
60: [01:41:16] <ss23> The one I adore
61: [01:41:18] <ss23> You're my c64
62: [01:41:29] <Colin[pi]> my amiga was awesome.. so many good memories
63: [01:41:40] <Colin[pi]> back then the PC couldn't touch it in terms of gfx/sound
64: [01:41:41] <zippy__> Insert disk 2, insert disk 3, insert disk 2
65: [01:41:49] <Colin[pi]> *click*click*click*click*click*click*click*
66: [01:41:49] <Pyromanik> insert disk 4
67: [01:41:53] <Pyromanik> insert disk 1
68: [01:42:00] <Pyromanik> insert disk 3 again
69: [01:42:02] <Pyromanik> BUT
70: [01:42:03] <Pyromanik> WHY
71: [01:42:07] <Pyromanik> I ALREADY DID THAT ONE?
72: [01:42:11] <ss23> BECAUSE RAM TOO SMALL
73: [01:42:14] <Colin[pi]> I used to run a utility to stop the drive clicking when empty
74: [01:42:15] <Pyromanik> xD
75: [01:42:43] <Pyromanik> Street Fighter 2
76: [01:42:45] <Pyromanik> boss.
77: [01:42:51] <Colin[pi]> the floppy drive worked like "Is a disk inserted?" "Is a disk inserted?" "Is a disk inserted?" "Is a disk inserted?"
78: [01:42:53] <spronk> LOAD "*",8,2
79: [01:42:54] <Colin[pi]> every 2 seconds
80: [01:42:58] <Pyromanik> dream web: far too intense for 12 year olds.
81: [01:43:20] <spronk> or more commonly, ,8,1
82: [01:43:24] <Pyromanik> my mate had a program that printed a diplidocus.
83: [01:43:34] <Pyromanik> on the dot matrix
84: [01:43:51] <spronk> awesome
85: [01:43:52] <Pyromanik> on big line feed sheets
86: [01:44:11] <Pyromanik> tractorfeed*
87: [01:44:17] <Colin[pi]> you could get proggies that would play music with the floppy drive servo
88: [01:44:25] <Colin[pi]> bzzz bzz bz bz bzz BZZZZZ
89: [01:44:30] <Pyromanik> old man still runs one of those as a backup dump every night at the office.
90: [01:44:42] <Pyromanik> surprised he can still get paper for it :P
91: [01:44:48] <Colin[pi]> lol
92: [01:44:55] <ss23> simon_w: lunch?
93: [01:44:57] <Pyromanik> can't beat quality!
94: [01:45:03] <ss23> I figure you've already been, but just checking
95: [01:45:32] <ss23> omg too late :O
96: [01:46:17] <simon_w> ss23, soon
97: [01:48:40] <simon_w> Need to wait half an hour for this token to expire, so I guess now's a good time
98: [01:49:58] <simon_w> ss23, four minutes
99: [01:53:26] * UncleCheese quit (Quit: UncleCheese)
100: [01:54:49] <ss23> simon_w: mp[e
101: [01:54:50] <ss23> mp[e
102: [01:54:53] <ss23> I already left
103: [01:54:57] <ss23> I hope he doesn't expect me to meet him
104: [02:03:11] * UncleCheese has joined #silverstripe
105: [02:05:33] <Pyromanik> beer friday
106: [02:06:47] <Pyromanik> pacon pancakes, makin' bacon pancakes, take some bacon and I put it in a pancake, bacon pancakes; that's what it's gonna makes, bacon pancakeeeees!
107: [02:06:53] <Pyromanik> pacon!
108: [02:06:56] <Pyromanik> bancakes
109: [02:07:06] <Pyromanik> take some packonczkes
110: [02:07:22] <Pyromanik> it's like a tounge twister for your fingers :<
111: [02:09:05] <simon_w> Still got 9 minutes to wait!
112: [02:10:42] <atmos> Pyromanik: thanks, alteast that got Miley Cyrus' song out of my head. Time to load a 1hr youtube clip of Bacon Pancakes
113: [02:11:23] <Bollig|DesignCty> link pls
114: [02:14:32] * UncleCheese quit (Quit: UncleCheese)
115: [02:16:51] <Pyromanik> are manymanyextrafields still terribly shit?
116: [02:17:11] <Pyromanik> Bollig|DesignCty: http://www.youtube.com/watch?v=0_EW8aNgKlA
117: [02:17:39] <Bollig|DesignCty> ahhhhhhhhhhhhhhhhhhhh thanks Pyromanik
118: [02:17:46] <Pyromanik> ?
119: [02:17:55] <Pyromanik> sweet relief?
120: [02:18:01] <Bollig|DesignCty> exactly.
121: [02:18:04] <Pyromanik> dat miley?
122: [02:18:26] <Pyromanik> she should make friends with amanda bynes.
123: [02:18:33] <Pyromanik> they could run around in capes
124: [02:18:39] <Pyromanik> like a superhero duo
125: [02:18:52] <Pyromanik> it'd be hilarious
126: [02:19:19] <Pyromanik> how does one get ...'s into their paginations?
127: [02:19:28] <Pyromanik> I forgetted
128: [02:23:59] <batbadger> curse the recalcitrant ellipsis
129: [02:24:10] <batbadger> aye bitchacho
130: [02:27:42] <Pyromanik> wut
131: [02:28:18] <batbadger> sorry, was just being commiseratory
132: [02:28:45] <Pyromanik> idek
133: [02:29:15] <Pyromanik> I have to make a form that uses other forms to form it's input.
134: [02:29:22] <Pyromanik> form form form form fom
135: [02:29:30] <Pyromanik> forumulate a form for forming inputs
136: [02:29:43] <Pyromanik> or something.
137: [02:30:06] <Pyromanik> how 2 do dis
138: [02:33:31] <Pyromanik> ZOMG
139: [02:33:44] <Pyromanik> who's excited for the final episode of Burn Notice evers?
140: [02:34:04] <ss23> I only watched like 5 eps of s1
141: [02:34:05] <ss23> was like "meh"
142: [02:34:35] <Pyromanik> but but but
143: [02:34:45] <Pyromanik> the guy from The Pretender!
144: [02:34:53] <Pyromanik> and Bruce Campbell!
145: [02:35:48] <ss23> idk who either of those people are
146: [02:35:48] <ss23> ;_;
147: [02:39:14] <Pyromanik> The main guy in Burn Notice played Jarod's brother in the Pretender.
148: [02:39:25] <ss23> I don't know what The Pretender is!
149: [02:39:29] <ss23> The music video by Foo Fighters
150: [02:39:29] <ss23> :D
151: [02:39:30] <Pyromanik> D:!!
152: [02:39:38] <Pyromanik> you're too young ;_;
153: [02:40:12] <Pyromanik> http://www.youtube.com/watch?v=iI9C-zMwWZE
154: [02:41:31] <Bollig|DesignCty> Pyromanik: NO FREAKING WAY
155: [02:41:36] <Bollig|DesignCty> DID HE REALLY?!?!!
156: [02:41:45] <Pyromanik> He totally did.
157: [02:41:55] <Pyromanik> Kyle.
158: [02:42:06] <Pyromanik> is.
159: [02:42:11] <Pyromanik> A burnt spy.
160: [02:42:58] <Bollig|DesignCty> So had the hots for Andrea Parker.
161: [02:43:32] <Pyromanik> So did everyone in the 90's.
162: [02:43:44] <Bollig|DesignCty> and I love Patrick Bauchau.
163: [02:43:56] <Pyromanik> yeh, when isn't he awesome?
164: [02:44:16] <Pyromanik> I like it when any of them are in another show
165: [02:44:22] <Pyromanik> the rest of them turn up too
166: [02:44:34] <Pyromanik> Except Jon Gries.
167: [02:44:54] <Pyromanik> I think after Napoleon Dynamite no one will touch him :<
168: [02:45:47] <Pyromanik> http://www.imdb.com/title/tt1640802/
169: [02:47:41] <Bollig|DesignCty> huh, I'll have to go home and watch that episode now I know the connection, never realised.
170: [02:47:55] <Bollig|DesignCty> It was 10 years ago, Jeffry doesn't look a heap older...
171: [02:48:07] <Pyromanik> ikr, haha
172: [02:48:15] <Pyromanik> the more recent eps he does a bit.
173: [02:48:26] <Pyromanik> but then compared to Bruce Campbell
174: [02:48:29] <Pyromanik> heh
175: [02:48:30] <Bollig|DesignCty> lol
176: [02:49:18] <Bollig|DesignCty> but it's bruce campbell! Did you see the fall of sam axe? average I thought, but the throw backs to the evil dead were pretty funny
177: [02:50:11] <Bollig|DesignCty> playing alongside the leading lady 20 years his senior I was like, she must have real daddy issues
178: [02:58:40] <Pyromanik> lol, yeah
179: [02:58:44] <Pyromanik> I saw it
180: [02:58:50] <Pyromanik> was pretty much what I expected, lol.
181: [02:59:01] <Pyromanik> I couldn't see Bruce running, jumping and dive rolling around the place, haha
182: [03:02:45] <atmos> speaking of Evil Dead - I actually enjoyed the remake
183: [03:03:51] * cloph_away has joined #silverstripe
184: [03:04:23] * cloph quit (Ping timeout: 260 seconds)
185: [03:07:33] <ss23> atmos: i hear lots of people did!
186: [03:07:33] <ss23> :O
187: [03:08:05] <atmos> ss23: yeh. Very different movie, but cool in a Cabin in the woods kinda way
188: [03:08:23] * nhorstmeier quit (Remote host closed the connection)
189: [03:09:54] * UncleCheese has joined #silverstripe
190: [03:15:40] <simon_w> Bah, the Xero API does a stupid and now I have to wait another half hour to handle it
191: [03:15:47] <batbadger> i really liked a cabin in the woods
192: [03:15:52] <batbadger> lots of people had a big qq about it
193: [03:15:55] <batbadger> shame on their faces
194: [03:18:08] <simon_w> I really like just how undervalued their API team appears to be
195: [03:19:17] <simon_w> Oh well, back to Snake
196: [03:26:09] <Pyromanik> Nokia 3122 snake?
197: [03:26:31] <simon_w> That would require having a phone I can't use
198: [03:26:46] <Pyromanik> lol
199: [03:26:48] <Pyromanik> can't use!?
200: [03:26:57] <simon_w> Well, can't text on
201: [03:27:06] <Pyromanik> can too!
202: [03:27:32] <simon_w> I can't
203: [03:28:12] <Pyromanik> because telecom?
204: [03:28:28] <simon_w> Because keypad
205: [03:29:05] <batbadger> did you enver learn multitap muscle memory?
206: [03:29:06] <Pyromanik> you can't do keypad texting?
207: [03:29:18] <batbadger> i'm surprised i still know it, had to use it hte other day
208: [03:29:19] <simon_w> Pyromanik, yes
209: [03:29:47] <Pyromanik> simon_w: I'm confused. But ok.
210: [03:29:52] <Pyromanik> in other news
211: [03:30:15] <simon_w> four more minutes...
212: [03:30:25] <Pyromanik> of snake
213: [03:30:56] <simon_w> The pain in my wrist that feels like early RSI started flaring up again, so had to stop :(
214: [03:31:03] <Pyromanik> oic
215: [03:31:11] <Pyromanik> so you can, but you shouldn't. More specifically.
216: [03:31:24] <Pyromanik> I can understand that
217: [03:31:48] <batbadger> if i have a tab like the Content tab on the page calle dsay Fun, is its name Root.Fun and can i then pass that to changeFieldOrder along with Root.Content etc to reorganise their order?
218: [03:32:09] <Pyromanik> yes?
219: [03:32:15] <Pyromanik> tab is just a field.
220: [03:32:18] <batbadger> sweet
221: [03:32:24] <simon_w> batbadger, it's name's Fun, and you'd use changeFieldOrder on $fields->fieldByName('Root')
222: [03:32:36] <simon_w> *its
223: [03:32:42] <batbadger> ahh okay cheers
224: [03:35:01] <simon_w> GAH! Still borked D:
225: [03:35:24] <simon_w> Oh, I see why
226: [03:35:26] <simon_w> Dammit
227: [03:35:34] <simon_w> Half an hour wait again and it's my last chance today
228: [03:36:12] <ss23> Why your last chance?
229: [03:36:22] <simon_w> Because I'm getting picked up just after 4
230: [03:36:42] <Pyromanik> why does it only happen every half hour/
231: [03:36:44] <Pyromanik> ?
232: [03:36:55] <simon_w> Token expiration
233: [03:37:09] <simon_w> Need it to be expired on Xero's end but my end to think it's still valid
234: [03:38:48] <simon_w> OAuthExpires | 2013-08-30 04:05:54
235: [03:38:48] <atmos> simon_w: whoever's picking you up can't wait any extra 5-6 mins? ;)
236: [03:38:52] <simon_w> Waiting waiting waiting
237: [03:39:05] <simon_w> atmos, they're leaving at 4 and it takes about 10 minutes to get here
238: [03:39:09] <simon_w> Hence one more go :p
239: [03:39:15] <atmos> simon_w: ah
240: [03:41:15] <atmos> blegh, movie tickets have gone up again surely
241: [03:41:50] * howardgrigg quit (Ping timeout: 240 seconds)
242: [03:43:34] * howardgrigg has joined #silverstripe
243: [03:45:25] <atmos> Random Act of Kindess day? what is this
244: [03:46:34] <Pyromanik> :<
245: [03:47:56] * nickspiel quit (Ping timeout: 245 seconds)
246: [03:52:57] * nickspiel has joined #silverstripe
247: [03:53:02] <Pyromanik> you know it's a warm day when you can smell your feet and they're still in your shoes :<
248: [03:53:28] <atmos> Pyromanik: :O
249: [03:55:28] <atmos> oh god
250: [03:55:36] <atmos> where have my outlook rules gone
251: [03:55:49] <atmos> all the things, all in inbox :<
252: [03:55:51] <simon_w> Pyromanik, I never have that problem!
253: [03:55:54] * zippy__ quit (Ping timeout: 264 seconds)
254: [03:58:24] * atmos_ has joined #silverstripe
255: [03:59:42] * tankr quit (Quit: Leaving.)
256: [04:00:11] * atmos quit (Ping timeout: 250 seconds)
257: [04:03:10] * cloph_away quit (Ping timeout: 246 seconds)
258: [04:05:49] <batbadger> i have 3 DOs that i want on this page, and no more, or less, would i just do some kind of getCMSFields loop over the 3 do's and stuff them into the fields list, or can a grid have a limit of 3 items, or what
259: [04:05:54] <batbadger> i'm not actually sure how to do this nicely
260: [04:06:11] <batbadger> i probably can't create them anyway until the object is saved for the relationships huh
261: [04:07:03] <atmos_> batbadger: ^
262: [04:07:30] <atmos_> ugghh old sharepoint doesn't declare doctypes - have fun with that IE
263: [04:07:57] * cloph_away has joined #silverstripe
264: [04:09:47] * atmos_ quit (Quit: Page closed)
265: [04:13:23] <Pyromanik> simon_w: you live the dream though :<
266: [04:13:50] <Pyromanik> batbadger: nah.
267: [04:13:54] <Pyromanik> it's a mess
268: [04:14:14] <Pyromanik> you're better off limiting the gridfield to only allow three to be addded.
269: [04:14:30] <Pyromanik> or just do what I do and let the user derpily make as many as they want
270: [04:14:38] <Pyromanik> but $Blah.Limit(3) in the template
271: [04:14:45] <Pyromanik> tell them only the first 3 will display
272: [04:14:45] <batbadger> yeah gonna do that
273: [04:14:47] <Pyromanik> wash your hands.
274: [04:14:48] <Pyromanik> done.
275: [04:14:49] <Pyromanik> xD
276: [04:14:53] <batbadger> cheers
277: [04:16:34] * Shrike_Finland has joined #silverstripe
278: [04:23:45] * simon_w quit (Quit: Leaving)
279: [04:28:23] * aznain has joined #silverstripe
280: [04:29:08] <aznain> what is meaning of $this->data()->getName() ?
281: [04:47:50] * Colin[pi] quit (Ping timeout: 240 seconds)
282: [04:49:56] * coldblooded01 quit (Quit: coldblooded01)
283: [04:53:03] * aznain quit (Ping timeout: 250 seconds)
284: [04:58:22] * nickmolhoek quit (Quit: nickmolhoek)
285: [04:59:15] * Stomach quit (Quit: Leaving.)
286: [05:00:39] * Stomach has joined #silverstripe
287: [05:08:49] * Colin[pi] has joined #silverstripe
288: [05:11:42] * UncleCheese quit (Quit: UncleCheese)
289: [05:17:03] * Stomach quit (Quit: Leaving.)
290: [05:19:19] * Stomach has joined #silverstripe
291: [05:30:33] * Stomach quit (Quit: Leaving.)
292: [05:37:04] * chillu has joined #silverstripe
293: [05:38:25] * Stomach has joined #silverstripe
294: [05:44:51] * Pyromanik quit (Quit: leaving)
295: [05:49:52] * Stomach quit (Quit: Leaving.)
296: [06:18:29] * unsigned_ quit (Remote host closed the connection)
297: [06:37:53] * chillu quit (Quit: chillu)
298: [06:47:42] * meow-- has joined #silverstripe
299: [06:49:36] * meow--- quit (Ping timeout: 245 seconds)
300: [06:50:30] * chillu has joined #silverstripe
301: [06:59:33] * Guits quit (Ping timeout: 268 seconds)
302: [07:04:35] * Guits has joined #silverstripe
303: [07:14:10] * g4b0 has joined #silverstripe
304: [07:18:13] * openbees has joined #silverstripe
305: [07:21:01] * Sjohn has joined #silverstripe
306: [07:23:26] <g4b0> hi all
307: [07:23:31] <g4b0> any experience running SS 3.1 on apache 2.4?
308: [07:23:40] <g4b0> It seems that actual .htaccess is not working anymore
309: [07:23:50] <g4b0> rewrite works fine for everithing but the homepage
310: [07:23:56] <g4b0> processing pass through index.php
311: [07:26:13] * violetina has joined #silverstripe
312: [07:30:49] * Shrike_Finland quit (Quit: Leaving.)
313: [07:33:32] * travis-ci has joined #silverstripe
314: [07:33:32] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#898 (3.1 - 20b49e2 : Ingo Schommer): The build passed.
315: [07:33:32] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/b2f207af3097...20b49e215c7e
316: [07:33:32] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/10787767
317: [07:33:32] * travis-ci has left #silverstripe
318: [07:42:51] * chillu quit (Quit: chillu)
319: [07:46:54] * ARNHOE has joined #silverstripe
320: [07:58:51] * kinglozzer has joined #silverstripe
321: [08:00:35] * mdowton has left #silverstripe
322: [08:00:37] * meow-- quit ()
323: [08:09:13] <kinglozzer> Lol https://github.com/silverstripe/silverstripe-framework/pull/2223/files. I've been using $has_one and removing the <relation>ID field for the past year... :P
324: [08:10:04] * nickspiel quit (Ping timeout: 264 seconds)
325: [08:18:51] * unsignedint has joined #silverstripe
326: [08:23:30] * unsignedint quit (Ping timeout: 264 seconds)
327: [08:35:02] * travis-ci has joined #silverstripe
328: [08:35:03] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#900 (3.1 - 5f0329c : Ingo Schommer): The build passed.
329: [08:35:03] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/93ea066f53d5...5f0329c6f20a
330: [08:35:03] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/10789243
331: [08:35:03] * travis-ci has left #silverstripe
332: [08:38:34] * priithansen has joined #silverstripe
333: [08:38:48] * Guits quit (Ping timeout: 276 seconds)
334: [08:39:17] * lobarvaz has joined #silverstripe
335: [08:44:44] * travis-ci has joined #silverstripe
336: [08:44:45] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#901 (3.1.0 - 1c31c09 : Ingo Schommer): The build passed.
337: [08:44:45] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/c396645aede2...1c31c098ee2c
338: [08:44:45] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/10789795
339: [08:44:45] * travis-ci has left #silverstripe
340: [08:45:35] * osterlaus has joined #silverstripe
341: [09:01:17] * zippy__ has joined #silverstripe
342: [09:20:08] * micmania1 has joined #silverstripe
343: [09:23:25] * willmorgan has joined #silverstripe
344: [09:25:38] * howardgrigg quit (Remote host closed the connection)
345: [09:54:26] <g4b0> Dose StaticPublisher worw with SS 3.1.0-rc1?
346: [09:54:59] <g4b0> @willr: that's for you :)
347: [09:57:39] <micmania1> g4b0 did you sort out your issue with index.php/htaccess?
348: [09:58:23] <g4b0> micmania1: yep
349: [09:58:34] <g4b0> just renamed index.php in _index.php
350: [09:58:42] <g4b0> not so elegante
351: [09:59:03] <g4b0> but I'm not a RewriteRule guru :)
352: [09:59:18] <micmania1> yeah, ss23 has the same issue last night/this morning and that was what was advised
353: [09:59:23] <micmania1> either that or delete it.
354: [09:59:56] <g4b0> off course
355: [10:00:25] <g4b0> it seems that apache 2.4 give precedence to DirectoryIndex instead of RewriteRules
356: [10:02:00] <zippy__> What was the issue with the index.php sorry?
357: [10:02:19] * hans_ has joined #silverstripe
358: [10:02:20] <zippy__> g4b0: nudge
359: [10:02:21] <g4b0> zippy__ it's just related to apache 2.4
360: [10:02:29] <zippy__> and the issue is?
361: [10:02:57] <g4b0> it seems that apache 2.4 give precedence to DirectoryIndex instead of RewriteRules
362: [10:03:20] <g4b0> so .htaccess rewrite rules does not work with apache 2.4
363: [10:03:27] <g4b0> until index.php is present
364: [10:03:32] <zippy__> I see
365: [10:09:22] * swordsmanz has joined #silverstripe
366: [10:19:14] * Shrike_Finland has joined #silverstripe
367: [10:20:38] * zippy__ quit (Quit: zippy__)
368: [10:27:50] * Guits has joined #silverstripe
369: [10:30:31] <hans_> hey, got a problem getting a newsletter signup form in a box on the homepage.
370: [10:30:48] <hans_> the normal form is present on a singel page , i want a box on the homepage
371: [10:31:00] <hans_> can someone give me a hint how this works?
372: [10:33:36] <openbees> hans_ http://www.sspaste.com/paste/show/522073f1126d4
373: [10:36:08] <openbees> habs_ ahh u need to change class names though ... it was for UserDefinedForm in my case
374: [10:37:49] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
375: [10:43:50] <hans_> openbees: means: 1 install userdefineform, create one, use Name in ...:get() ?
376: [10:44:18] * violetina quit (Read error: Connection reset by peer)
377: [10:44:32] <openbees> yes
378: [10:44:36] * violetina has joined #silverstripe
379: [10:45:30] <openbees> I mean that works for me .. may be some one here can suggest a better way .. ;)
380: [10:49:28] * Guest89306 quit (Remote host closed the connection)
381: [10:49:46] * Pigeon has joined #silverstripe
382: [10:50:10] * Pigeon is now known as Guest83648
383: [10:52:36] * violetina quit (Ping timeout: 260 seconds)
384: [10:54:22] <hans_> openbees: one thing: how can i add them to a group (by id) ?
385: [10:58:09] <hans_> i use the newsletter module
386: [11:19:41] * NobrainerWeb has joined #silverstripe
387: [11:20:55] <NobrainerWeb> Hi guys
388: [11:21:38] <NobrainerWeb> Did anyone ever write a module/some code to exclude the url segment of a parent page in the childrens url?
389: [11:23:49] <NobrainerWeb> Would like to have an option to check "Do not include this url segment in the url of subpages"
390: [11:25:52] <openbees> NobrainerWeb wondering how will you a browse a page then ?
391: [11:26:03] * howardgrigg has joined #silverstripe
392: [11:28:24] <NobrainerWeb> openbees: i guess that is what the code/module should do - make the link function return the children's url without the parent url segment. And ofc SS will have to know how to lookup the url
393: [11:28:48] <NobrainerWeb> I remember seeing some discussion about it once in the google dev group, but can't find it
394: [11:29:54] <openbees> so basically u want something like this ... instead of mysite.com/parentpage/childpage ... mysite.com/childpage ?
395: [11:30:03] <NobrainerWeb> yes
396: [11:30:38] * g4b0 quit (Ping timeout: 240 seconds)
397: [11:30:42] * howardgrigg quit (Ping timeout: 264 seconds)
398: [11:31:06] <NobrainerWeb> example: you create a holder page for some landing pages, that gives you: example.com/landingapges/my-awesome-landingpage, but i would really like it to be: example.com/my-awesome-landingpage
399: [11:33:08] <openbees> don't mind .. but why can't example.com/my-awesome-landingpage can't be in top of sitetree hierarchy at first place ?
400: [11:33:28] <openbees> I am just trying to understand ur use case
401: [11:35:22] <openbees> hans_ are you still looking for answer .. sorry was afk
402: [11:41:50] <kinglozzer> NobrainerWeb: Are you looking for SiteTree::disable_nested_urls() ?
403: [11:42:15] <NobrainerWeb> openbees: in some cases it can, and it's no problem, but if you have many sites it can get hard messy, or if the site structure is deep, it can hurt your SEO
404: [11:42:34] <NobrainerWeb> kinglozzer: no i'm looking for a combination
405: [11:42:54] <NobrainerWeb> i know i can revert to the old ways :-)
406: [11:43:09] * g4b0 has joined #silverstripe
407: [11:43:43] <openbees> NobrainerWeb : I tried something with Director rules and seems its working .. all u have to do is define a url rule for 'my-awesome-landingpage : 'my-awesome-landingpage_Controller'
408: [11:44:51] <NobrainerWeb> openbees: well then it's hardcoded right?
409: [11:45:04] <batbadger> ur hard coded
410: [11:45:13] <openbees> but again u will have to define it individually for each page .. not a stable solution though as if someone changes urlsegment .. all rules will be fail
411: [11:45:19] <openbees> yaah u can say
412: [11:45:28] <kinglozzer> NobrainerWeb: You'd need to hook into ModelAsController I believe
413: [11:46:38] <NobrainerWeb> ok, it's not something i need right now, just something i sometimes comes across (it's in other CMS i use) and would like to have. So thinking of trying to do a module if possible at some time
414: [11:46:58] <NobrainerWeb> kinglozzer: ok thank you, i will have a look
415: [11:48:02] <kinglozzer> And ContentController
416: [11:48:09] <kinglozzer> Probably a few more things as well :P
417: [11:49:30] <NobrainerWeb> Well i bet it's more than i can do, was hoping someone with a lot more PHP skills than me, had already done something
418: [11:50:01] <NobrainerWeb> But maybe for a rainy day, with nothing else to do ...
419: [11:56:05] <openbees> Friday ... yaah :D
420: [11:56:41] * openbees quit (Quit: Leaving)
421: [12:01:40] * UndefinedOffset has joined #silverstripe
422: [12:03:01] * ARNHOE quit (Remote host closed the connection)
423: [12:09:19] * NobrainerWeb quit (Quit: NobrainerWeb)
424: [12:15:50] * g4b0 quit (Ping timeout: 245 seconds)
425: [12:17:00] * Colin[pi] quit ()
426: [12:19:40] * unsignedint has joined #silverstripe
427: [12:24:06] * unsignedint quit (Ping timeout: 264 seconds)
428: [12:29:36] * g4b0 has joined #silverstripe
429: [12:35:39] * violetina has joined #silverstripe
430: [12:49:07] * hans_ quit (Quit: Page closed)
431: [13:26:25] * howardgrigg has joined #silverstripe
432: [13:30:45] * howardgrigg quit (Ping timeout: 248 seconds)
433: [13:54:17] * Sjohn quit (Ping timeout: 250 seconds)
434: [14:07:17] * g4b0 quit (Quit: Sto andando via)
435: [14:09:26] * nhorstmeier has joined #silverstripe
436: [14:20:00] * unsignedint has joined #silverstripe
437: [14:20:24] * Nivery has joined #silverstripe
438: [14:24:31] * unsignedint quit (Ping timeout: 264 seconds)
439: [14:31:31] * travis-ci has joined #silverstripe
440: [14:31:31] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#526 (pulls/security-issues-august-2.4 - 6543b4e : Ingo Schommer): The build passed.
441: [14:31:31] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/commit/6543b4e6f0d8
442: [14:31:31] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/10802046
443: [14:31:31] * travis-ci has left #silverstripe
444: [14:39:49] * Shrike_Finland quit (Quit: Leaving.)
445: [15:00:39] * micmania1 quit (Quit: Leaving)
446: [15:09:36] * nhorstme_ has joined #silverstripe
447: [15:12:53] * nhorstmeier quit (Ping timeout: 268 seconds)
448: [15:19:21] * nhorstme_ quit (Read error: Connection reset by peer)
449: [15:19:55] * nhorstmeier has joined #silverstripe
450: [15:26:56] * howardgrigg has joined #silverstripe
451: [15:31:43] * howardgrigg quit (Ping timeout: 264 seconds)
452: [15:46:20] * swordsmanz quit (Read error: Connection reset by peer)
453: [15:47:36] * swordsmanz has joined #silverstripe
454: [16:03:41] * Guest83648 quit (Remote host closed the connection)
455: [16:07:25] * gelignite has joined #silverstripe
456: [16:10:15] * kinglozzer quit (Remote host closed the connection)
457: [16:14:23] * Nivery quit (Quit: Nivery)
458: [16:41:39] * priithansen quit (Quit: priithansen)
459: [16:47:56] * lobarvaz quit (Remote host closed the connection)
460: [16:52:14] * osterlaus quit (Quit: Leaving.)
461: [16:53:24] * violet- has joined #silverstripe
462: [16:54:02] * violetina quit (Read error: Connection reset by peer)
463: [17:11:01] * willmorgan quit (Ping timeout: 246 seconds)
464: [17:15:37] * priithansen has joined #silverstripe
465: [17:27:27] * howardgrigg has joined #silverstripe
466: [17:32:10] * howardgrigg quit (Ping timeout: 256 seconds)
467: [17:46:50] * micmania1 has joined #silverstripe
468: [17:52:38] * joelpittet has joined #silverstripe
469: [18:20:42] * unsignedint has joined #silverstripe
470: [18:21:21] * Liquide has joined #silverstripe
471: [18:25:17] * unsignedint quit (Ping timeout: 268 seconds)
472: [18:49:40] * ARNHOE has joined #silverstripe
473: [18:50:41] * UndefinedOffset quit (Quit: Leaving.)
474: [19:22:21] * SightUnseen has joined #silverstripe
475: [19:23:00] * SightUnseen quit (Client Quit)
476: [19:27:59] * howardgrigg has joined #silverstripe
477: [19:30:54] * robert__ has joined #silverstripe
478: [19:31:04] * robert__ quit (Changing host)
479: [19:31:04] * robert__ has joined #silverstripe
480: [19:32:06] * howardgrigg quit (Ping timeout: 245 seconds)
481: [19:32:50] * robert__ is now known as robert_
482: [19:43:34] * nhorstmeier quit (Remote host closed the connection)
483: [19:52:18] * Nivery has joined #silverstripe
484: [19:54:41] * unsignedint has joined #silverstripe
485: [20:13:41] * NitinShah has joined #silverstripe
486: [20:30:59] <NitinShah> Hi, anyone here who can help me regarding url handling in silverstripe
487: [20:34:19] <NitinShah> I have added tag support to Pages using tagfield module and have made these tags as links that list all pages with specific tags
488: [20:35:33] <NitinShah> the url of the clickable tag right now is something like siteurl/pageurl/tag/selectedtag and I would like to change the same to siteurl/tag/selectedtag
489: [20:37:21] <NitinShah> I have added public function index() {
490: [20:37:21] <NitinShah> $tagID = $this->request->param('ID');
491: [20:37:22] <NitinShah> }
492: [20:37:22] <NitinShah> on the Page.php to setup url handling but am not sure what to put in routes.yml
493: [20:59:45] * willmorgan has joined #silverstripe
494: [21:05:50] * Nivery quit (Quit: Nivery)
495: [21:07:18] * zippy__ has joined #silverstripe
496: [21:08:18] <zippy__> Morning
497: [21:10:08] <micmania1> NitinShah, setup a custom action on Page_Controller with an entry in $allowed_actions for tag.
498: [21:10:32] <micmania1> Then in your yaml file you need to tell it to run before cms/*
499: [21:10:43] <micmania1> I'll see if I can find an example.
500: [21:11:16] <micmania1> and gm zippy (even though its still Friday night here :p)
501: [21:12:08] <NitinShah> micmania1, Have set $allowed_actions for tag in Page_Controller
502: [21:12:25] <micmania1> http://doc.silverstripe.com/framework/en/topics/configuration - something like that
503: [21:12:57] <micmania1> scroll to the priorities section/
504: [21:13:24] <micmania1> You basically need to set it to look at Page_Controller
505: [21:14:49] <micmania1> I might have been a bit off with the allowed actions. As long as you can get it looking at Page_Controller you should be able to debug from there.
506: [21:15:48] <micmania1> You can use $url_handlers to route the request within Page_Controller (ie 'tag/$Tag!' => 'tag')
507: [21:16:02] <micmania1> then you'd have a tag method which would handle the request.
508: [21:20:00] <NitinShah> I will just check and get back
509: [21:20:05] <NitinShah> thank you
510: [21:20:42] * ARNHOE quit (Remote host closed the connection)
511: [21:28:31] * howardgrigg has joined #silverstripe
512: [21:33:06] * howardgrigg quit (Ping timeout: 264 seconds)
513: [21:41:42] * NitinShah quit (Ping timeout: 240 seconds)
514: [21:44:53] * SightUnseen has joined #silverstripe
515: [21:46:46] * Rojod has left #silverstripe
516: [21:54:27] <FrozenFire> Filtering for DataObjects where a field is not null/empty.
517: [21:54:29] <FrozenFire> How to?
518: [21:54:45] <FrozenFire> E.g. Foo::get()->filter("Bar:Not", "");
519: [21:54:49] <FrozenFire> Except that doesn't work.
520: [21:56:54] <FrozenFire> Oh derp
521: [21:56:56] <FrozenFire> exclude
522: [22:03:07] * SightUnseen quit (Quit: Leaving.)
523: [22:05:08] * Trooy has joined #silverstripe
524: [22:21:43] * aragonne quit (Read error: Connection reset by peer)
525: [22:22:07] * aragonne has joined #silverstripe
526: [22:22:15] <guzzlefry> FrozenFire: You're doing SS stuff again?
527: [22:23:26] <FrozenFire> We use it for the Roave website
528: [22:23:36] <guzzlefry> oh
529: [22:23:37] <FrozenFire> Might also do some contracting relating to it, for higher-profile clients.
530: [22:27:10] * willr quit (Quit: willr)
531: [22:29:39] <guzzlefry> FrozenFire: Hate to bug you, but anyway I could bug you really quick? :P
532: [22:33:28] <FrozenFire> You could, but I suspect I know what you're going to ask about, and you probably know more about it than I do. ;)
533: [22:33:40] <FrozenFire> The whole orders thing is a mash of ugly-ass code that you'll just have to untangle.
534: [22:33:45] <FrozenFire> I took me and Matt a couple of hours to figure out
535: [22:34:46] <guzzlefry> ah okay, the emails said it was a simple fix. Lies. :P
536: [22:37:11] <guzzlefry> FrozenFire: Does the video system itself shoot out the voucher emails?
537: [22:37:18] <FrozenFire> Yes
538: [22:37:27] <FrozenFire> When it creates the voucher
539: [22:40:38] * SightUnseen has joined #silverstripe
540: [22:40:40] * SightUnseen has left #silverstripe
541: [22:41:05] <guzzlefry> okay, I'm looking for the wrong thing then. :P
542: [22:41:10] <guzzlefry> thanks
543: [22:41:24] * unsignedint quit (Remote host closed the connection)
544: [23:16:11] * unsignedint has joined #silverstripe
545: [23:20:54] * unsignedint quit (Ping timeout: 256 seconds)
546: [23:29:03] * howardgrigg has joined #silverstripe
547: [23:32:46] * SightUnseen has joined #silverstripe
548: [23:33:20] * howardgrigg quit (Ping timeout: 245 seconds)
549: [23:33:46] * SightUnseen quit (Client Quit)
550: [23:34:53] * SightUnseen has joined #silverstripe
551: [23:35:19] * SightUnseen has left #silverstripe
552: [23:39:07] * joelpittet quit (Remote host closed the connection)
553: [23:45:32] * gelignite quit (Quit: http://bit.ly/nkczDT)
554: [23:47:35] * priithansen quit (Quit: priithansen)
555: [23:50:00] * Trooy quit (Ping timeout: 245 seconds)
556: [23:54:53] * priithansen has joined #silverstripe
557: [23:55:20] * priithansen quit (Client Quit)
558: [23:58:50] * howardgrigg has joined #silverstripe

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