#silverstripe IRC Log

IRC log for 19 September 2014

All timestamps are in UTC.

1: [00:02:15] <ss23> Kingy: But it is our work!
2: [00:02:29] <ss23> Though... with the ungodly amount of adverts you made us add... yeah, porbably not good to tell people
3: [00:02:33] <ss23> :O
4: [00:02:59] * jenniferaslan quit (Quit: jenniferaslan has left the room)
5: [00:08:12] * Azure quit (Quit: My MBP went to sleep.)
6: [00:09:09] <Kingy> haha
7: [00:09:17] <Kingy> ss23: I created a whole new page for them last sprint
8: [00:09:21] <Kingy> with 10 ad blocks
9: [00:09:24] * antmas has joined #silverstripe
10: [00:09:45] <antmas> Kingy: is that thing updating? I saw your last message but was in a meeting :P
11: [00:10:12] <Kingy> antmas: nah hasn't updated in ages
12: [00:10:30] <Kingy> they said they were expecting results to start coming in just after 12am (11am our time)
13: [00:10:31] <spronk> has anyone integrated an amazon search into a site?
14: [00:11:35] <antmas> spronk: o.O
15: [00:11:36] * abitran has joined #silverstripe
16: [00:11:36] <spronk> like
17: [00:11:36] <Ryan-Toast> antmas: lol, antmas. Liking my facebook photoshop
18: [00:11:36] <spronk> "these are our products available from amazon.com"
19: [00:11:51] <abitran> re
20: [00:11:54] <antmas> Ryan-Toast: :D classic
21: [00:13:09] <abitran> I was playing with spamprotection module and userforms... but when I try to add a spamprotection field using the userform interface, silverstripe crashes...
22: [00:13:33] <zippy> abitran: need to flush and devbuild and flush - as it changes some db things in userforms
23: [00:14:11] <abitran> hi zippy .. I did the dev/build flush stuff about 20 times..
24: [00:14:13] * muskie9 has joined #silverstripe
25: [00:14:23] <antmas> just use recapture :P
26: [00:14:31] <antmas> captcha
27: [00:14:34] <antmas> or whatever :P
28: [00:17:32] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
29: [00:17:58] <Kingy> antmas: BBC are saying 54% Yes in Glasgow
30: [00:18:10] <Colin[pi]> :o
31: [00:18:19] <Kingy> apparently that's not good for Yes, they were needing that to be higher
32: [00:19:16] <Colin[pi]> pretty close
33: [00:20:07] <Kingy> Clackmannanshire result expected shortly
34: [00:22:14] * Azure has joined #silverstripe
35: [00:24:59] <Kingy> rofl
36: [00:25:01] <Kingy> first 100% turnout! It's Knoydart (pop:98) in the Highlands
37: [00:25:07] <Colin[pi]> haha
38: [00:25:50] <Kingy> antmas: 5minutes apparently
39: [00:28:07] <Kingy> YES vote going wider to 21/1 on Betfair
40: [00:28:08] <antmas> so... they need to get more than 51% for yes to work?
41: [00:28:31] <Kingy> antmas: yep
42: [00:28:40] <spronk> ugh
43: [00:28:48] <spronk> god its complicated to sign up to amazon's stupid web services :|
44: [00:29:08] <spronk> have to get an associate tag by joining the associate program, have to sigh up to the product advertising API, then separately have to use AWS console to get identity management certificates
45: [00:29:23] <antmas> Kingy: is that because of the fact there are so many undecideds?
46: [00:29:24] <Kingy> here we go antmas
47: [00:29:24] <Kingy> BBC: Clackmannashire votes = 35,410. Yes = 16,350, No = ~19,036
48: [00:29:39] <Colin[pi]> spronk: sounds as shit as PayPal's api stuff
49: [00:30:06] <Stomach> PayPal is mind boggling hard to navigate
50: [00:30:23] <Colin[pi]> Stomach: horrible, horrible api PayPal is
51: [00:30:26] <spronk> ugh its insane
52: [00:31:21] <Colin[pi]> PayPal seems like some devs got a whole bunch of code printed on paper, and threw it into the air... then stacked it all together again and said "this is our API code"
53: [00:31:51] <antmas> Kingy: so that's a No for clack?
54: [00:32:00] <Kingy> yep
55: [00:32:10] <Kingy> 54% - 46% in favour of No
56: [00:32:31] <antmas> Kingy: ahh, graphic is updating now
57: [00:32:46] <Kingy> lol
58: [00:32:49] <Kingy> i'm no the bbc one now
59: [00:32:50] <Kingy> much better
60: [00:32:58] <Kingy> http://www.bbc.com/news/events/scotland-decides/results
61: [00:33:17] <antmas> yeah that one is better
62: [00:33:25] <spronk> also
63: [00:33:25] <Colin[pi]> so there's only results in for one council so far?
64: [00:33:31] <hailwood> Hey guys, following this post - It's missing the GalleryImages() function, What should that function be?
65: [00:33:32] <spronk> none of these fucking APIs seem to be able to be used with raw JS
66: [00:33:44] <Kingy> Colin[pi]: yep, another one expected pretty soon
67: [00:33:55] <antmas> 1/32 counts
68: [00:34:06] <antmas> probably a margin of error to work with as they come in
69: [00:34:46] <Kingy> yeah
70: [00:34:59] <Kingy> final count isn't expected until 7am local time (6pm our time)
71: [00:35:09] <Kingy> no doubt there will be recounts in several councils
72: [00:35:36] <Kingy> might run out and get some lunch now
73: [00:36:24] <antmas> yeah I need to pay my social club tab :/
74: [00:38:50] * muskie9 is now known as _muskie9_
75: [00:38:56] <Colin[pi]> so a client wants me to reduce my quoted total by 25%... hmm, guess we can reduce the inclusions by 25% as well!
76: [00:39:11] <antmas> Colin[pi]: take it out of the support budget :P
77: [00:39:24] * _muskie9_ is now known as muskie9
78: [00:39:48] <Colin[pi]> antmas: people are unbelievable... I'm sorry your quote is too much for us, lets reduce it to this.
79: [00:39:52] <Colin[pi]> "Uh... no?"
80: [00:40:01] <madmatt> Colin[pi]: only acceptable answer
81: [00:40:24] <Colin[pi]> madmatt: it's an accurate quote, and I think already pretty reasonable
82: [00:40:24] <antmas> I love it when they ask for mates rates
83: [00:41:14] <Stomach> I'm not your buddy, guyu
84: [00:41:39] <antmas> ok lunch time
85: [00:41:43] * muskie9 is now known as _muskie9_
86: [00:41:45] * _muskie9_ is now known as muskie9
87: [00:42:57] <Colin[pi]> Stomach: I'm not your guy, friend
88: [00:46:47] <Ryan-Toast> I’m not your friend, buddy.
89: [00:48:39] <Colin[pi]> https://www.youtube.com/watch?v=zuQK6t2Esng
90: [00:50:24] * muskie9 is now known as _muskie9_
91: [00:51:52] * _muskie9_ is now known as muskie9
92: [00:52:31] <Kingy> That turnout in Glasgow considerably lower than we'd been expecting, and will be seen as good news by No camp
93: [00:55:29] * UncleCheese has joined #silverstripe
94: [00:56:19] <Kingy> Glasgow - 364,664 papers - 75%. Far lower than elsewhere & bad news for Yes
95: [00:56:43] <simon_w|work> They're going to do a Texas!
96: [00:57:29] <simon_w|work> Threaten to succeed, but go nowhere
97: [00:57:30] <spronk> o_O
98: [01:01:36] <Kingy> the poor fuckers that need to be up all night counting
99: [01:02:46] <Kingy> antmas: Orkney is in
100: [01:02:55] <Kingy> BBC: Voting in Orkney results, Yes = 4,883, No = 10,004
101: [01:05:22] <Colin[pi]> pretty strong no
102: [01:06:29] <Kingy> apparently that was always one of the safe ones
103: [01:06:33] <UncleCheese> i just read it was 58% to 52%
104: [01:06:38] <UncleCheese> in favour of yes
105: [01:06:54] <Kingy> good old CNN
106: [01:07:02] <UncleCheese> yeah, that was it
107: [01:07:07] <simon_w|work> UncleCheese, haven't you learnt you can't trust news from the US?
108: [01:07:24] <UncleCheese> yeah, but that doesn't make me lose my appetite for it
109: [01:08:25] <UncleCheese> .org cake! http://ow.ly/i/6W3Q5
110: [01:08:29] <simon_w|work> Aww, finished my L&P can :(
111: [01:08:45] <simon_w|work> UncleCheese, not enough whitespace to be .org!
112: [01:09:23] <UncleCheese> hmm... i'll take that as a critism of the cake design
113: [01:10:24] * zippy has joined #silverstripe
114: [01:10:30] * babak has joined #silverstripe
115: [01:10:47] <Stomach> we really need to stop using the colloquialism ss.org
116: [01:11:11] <UncleCheese> it kind of evolved .organically
117: [01:11:45] <Kingy> Stomach: or they need to throw their 'weight' behind it and buy it :P
118: [01:12:39] <Stomach> but Systems Software has been around for 40 years! its an institution!
119: [01:12:56] * Ryan-Toast quit (Quit: Ryan-Toast)
120: [01:15:23] <Colin[pi]> well there's ss.org.nz...
121: [01:15:24] <Colin[pi]> ;)
122: [01:16:20] <Kingy> ssorgynz
123: [01:16:37] * antmas quit (Ping timeout: 246 seconds)
124: [01:16:38] <Stomach> this is a weird name for a page: http://www.silverstripe.org/footer-menu/privacy-policy/
125: [01:16:51] <Kingy> ress Association saying West Lothian going 53% for No
126: [01:16:55] <Kingy> Press
127: [01:17:09] * codetoday quit (Quit: Leaving...)
128: [01:19:48] <zippy> couple of results in already eh
129: [01:20:23] <Kingy> zippy: yep
130: [01:20:41] <zippy> 52% no atm
131: [01:20:55] <Kingy> more than that
132: [01:21:00] <Kingy> 57%
133: [01:21:06] <zippy> ah, looking at old page
134: [01:21:26] <Stomach> 58%!
135: [01:21:36] <Stomach> 45 rejected ballots
136: [01:21:38] <Stomach> badasses
137: [01:24:49] * Ryan-Toast has joined #silverstripe
138: [01:26:54] <zippy> Stomach: page?
139: [01:27:04] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
140: [01:27:10] <Stomach> http://www.bbc.com/news/events/scotland-decides/results
141: [01:27:26] * muskie9 has joined #silverstripe
142: [01:28:12] * Tanger has joined #silverstripe
143: [01:29:50] * muskie9 quit (Client Quit)
144: [01:30:24] * muskie9 has joined #silverstripe
145: [01:32:59] <adrexia> wow, Orkney islandss voted a pretty firm no
146: [01:33:00] <zippy> ta
147: [01:33:16] <Kingy> adrexia: a no stronghold apparently
148: [01:33:25] <adrexia> looks like it
149: [01:33:38] <adrexia> suprrised me, they are a long way form England
150: [01:33:40] <zippy> yea, quite close to england as well, I can imagine that being so close would have some infullence
151: [01:33:43] <zippy> are they?
152: [01:33:52] <zippy> oh...
153: [01:33:54] <zippy> well
154: [01:33:56] <zippy> bugger me
155: [01:34:02] <adrexia> yeah
156: [01:34:18] <adrexia> isles north of Scotland
157: [01:34:33] <Kingy> Glasgow is the one to watch
158: [01:34:36] <adrexia> hisotrically strong ties to Scandinavians
159: [01:34:43] <Kingy> although low turnout will hurt the Yes people apparently
160: [01:35:26] <adrexia> do they do a popular vote, or is it the number of areas?
161: [01:36:00] <Kingy> popular
162: [01:36:15] <adrexia> ahh, so the areas declaring for No or Yes don't really matter
163: [01:36:18] <Kingy> although they're coming in via their areas
164: [01:36:21] <adrexia> that's good
165: [01:36:24] <Kingy> nope total votes
166: [01:36:33] <adrexia> yep
167: [01:36:37] <adrexia> that's the fiar way to do it
168: [01:36:46] <adrexia> but not every country does fair
169: [01:36:51] <Kingy> lol
170: [01:37:28] <Kingy> that's why low turnout will hurt Yes
171: [01:37:49] <Kingy> prediction now is only 54% - 46% in favour of yes
172: [01:38:24] * adrexia nods
173: [01:38:36] <Kingy> that's for glasgow
174: [01:38:39] <Kingy> it'll be a no win
175: [01:38:43] <Kingy> overall
176: [01:38:47] <simon_w|work> Yay, my phone's Today view is about to be useful
177: [01:39:01] <micmania1> Glasgow will probably be the biggest split.
178: [01:39:07] <micmania1> ie. closest vote.
179: [01:39:08] <adrexia> people are scared of change
180: [01:39:24] <Kingy> micmania1: when does newcastle go to the polls :P
181: [01:39:28] <adrexia> in general, I'd expect a no vote too
182: [01:39:42] <Kingy> adrexia: yeah, way too many what ifs
183: [01:39:47] <hailwood> When using silverstripe/blog how can I change how many entries are shown per page in the blog holder?
184: [01:39:48] <adrexia> yep
185: [01:39:57] <micmania1> The people republic of Newcastle will have their day.
186: [01:40:00] <adrexia> expecially with people fear mongering
187: [01:40:10] <adrexia> lols
188: [01:40:15] <Kingy> rofl nice
189: [01:40:34] <simon_w|work> hailwood, is one of the arguments provided in the template
190: [01:41:42] <hailwood> simon_w|work: Was that a statement or a question?
191: [01:41:54] <simon_w|work> hailwood, statement
192: [01:43:14] <Kingy> next one has come through
193: [01:43:26] * antmas has joined #silverstripe
194: [01:43:33] <antmas> gah
195: [01:43:37] <hailwood> I must be missing something then, I've looked through everywhere I could think of it being and I cannot see it.
196: [01:43:39] <Kingy> Shetland Islands: Turnout 84.4% Yes 5,669 No 9,951
197: [01:43:46] <muskie9> hailwood https://github.com/silverstripe/silverstripe-blog/blob/master/code/BlogTree.php#L258
198: [01:43:47] <antmas> not ss related, more browser related maybe
199: [01:43:49] <Kingy> another sizeable win
200: [01:44:02] <muskie9> <% loop $BlogEntries(5) %> iirc
201: [01:44:06] <antmas> I have a dropdownlist which is filled with data via sql view
202: [01:44:09] <Kingy> Running total: YES: 40.83% NO: 59.17% with 3 counts declared
203: [01:44:22] <antmas> and it randomly is either coming back with all the results, or some are missing
204: [01:44:40] <antmas> the randomness occurs when you refresh the page
205: [01:44:50] <antmas> my question is, is this likely a caching issue?
206: [01:44:59] <simon_w|work> hailwood, you've got a loop over $BlogEntries. You can pass a number to that which is the page size
207: [01:45:08] <Kingy> antmas: try incognito
208: [01:45:53] <antmas> Kingy: true, forgot about that
209: [01:46:11] <hailwood> simon_w|work: muskie9 Cheers, I probably should have looked into it in that context rather than from the context of the pagination heh
210: [01:47:16] <jordanmk> hey guys, i have a form called GlobalSearchForm which is part of a page type called GlobalSearchPage. i'm trying to implement a 'proxy' for that form, i.e. a different form on a different page which has the same inputs, and after submit, will appear to the user as though they had submitted the form on the GlobalSearchPage
211: [01:47:46] <jordanmk> not sure what the best way is to redirect to the GlobalSearchPage and pass it the $data from the 'proxy' form
212: [01:50:25] <simon_w|work> jordanmk, $controller = new GlobalSearchPage_Controller(GlobalSearchPage::get()->first()); return $controller->GlobalSearchForm();
213: [01:51:19] * muskie9 is now known as _muskie9_
214: [01:51:43] <jordanmk> simon_w, would that be in the submit method of my GlobalSearchProxyForm?
215: [01:52:04] <simon_w|work> jordanmk, no, that would be instead of creating a proxy form
216: [01:52:06] <jordanmk> i should clarify that GlobalSearchProxyForm has an extra form action so it's not identical to the GlobalSearchForm
217: [01:52:41] <jordanmk> although i could potentially have that extra action on GlobalSearchForm as well and hide it with CSS
218: [01:55:27] <Colin[pi]> can anyone think of a logical reason why IE would access my localhost like it's hosted on the moon?
219: [01:55:36] <Colin[pi]> firefox is fine, so is chrome
220: [01:55:45] <zippy> stupid proxy thingie
221: [01:55:58] <Colin[pi]> really? hmm let me check settingsa
222: [01:55:59] <Colin[pi]> -a
223: [01:56:20] <Colin[pi]> hmm none set up manually at least
224: [01:56:34] <zippy> http://theofficecubicle.com/ie-internet-explorer-detecting-proxy-settings-ie-slow/
225: [01:57:30] <Colin[pi]> zippy: you da man!
226: [01:57:32] <Colin[pi]> fixed
227: [01:57:34] <Colin[pi]> thanks
228: [01:57:42] * Colin[pi] shakes fist at IE
229: [01:57:48] * _muskie9_ quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
230: [02:00:27] <simon_w|work> Oops, may have just wiped all my 2FA tokens :(
231: [02:02:52] <Kingy> Western Isles (Eilean Siar) votes NO: Yes 9,195 (46.6%) No 10,544 (53.4%) Turnout 86.2%
232: [02:03:44] <antmas> Kingy: lol have tracked it down to a SQL issue
233: [02:04:10] <antmas> we can run the same query on a dataset and it will return the same number of results one time, and slightly different (but the same number) the next time and then reverse
234: [02:04:11] <Kingy> oh yeah?
235: [02:04:28] <zippy> ffs!
236: [02:04:40] <zippy> this frontend person has float left everything
237: [02:04:43] <antmas> Kingy: and incog is disable by GP :P
238: [02:04:47] <zippy> even 100% items, just float it left
239: [02:04:54] <antmas> zippy: link?
240: [02:05:10] <zippy> it's a .dev domain ;-)
241: [02:05:17] <zippy> it's fucking anoying
242: [02:05:21] <Kingy> incog disabled!
243: [02:05:22] <Kingy> wtf
244: [02:05:23] <zippy> some of the shittyist css
245: [02:05:50] <Colin[pi]> ah zippy uses .dev like me ;)
246: [02:05:52] <Kingy> ps antmas: dev tools > network > disable cache
247: [02:06:31] <ss23> http://api.silverstripe.org/master/
248: [02:06:33] <antmas> Kingy: tah, wil try it
249: [02:06:34] <ss23> look how much prettier it is now
250: [02:06:35] <ss23> :D
251: [02:07:04] <antmas> ss23: :O
252: [02:07:11] * antmas nods head
253: [02:07:36] <halkyon> ss23: noooice!
254: [02:07:43] <antmas> Kingy: either way, it's SQL related :P
255: [02:07:55] <Kingy> lol yes
256: [02:08:13] <antmas> hmmm, another no for Scotland?
257: [02:08:32] <Kingy> yep Western Isles
258: [02:08:39] <Kingy> apparently it was supposed to be a strong yes as well
259: [02:08:55] <antmas> ss23: a few 404s :P
260: [02:09:33] <ss23> JK LOL DON'T CLICK
261: [02:09:33] <ss23> PLEASE
262: [02:09:36] <ss23> OH GOD
263: [02:10:13] <antmas> http://api.silverstripe.org/master/class-MemberCsvBulkLoader.html
264: [02:10:15] <antmas> :O
265: [02:10:20] * antmas spins
266: [02:10:33] <Kingy> ss23: holy shit I love the searh
267: [02:10:35] <Kingy> search
268: [02:11:08] <simon_w|work> The requested URL / was not found on this server.
269: [02:11:10] <simon_w|work> gg ss23
270: [02:11:22] <antmas> yeah that search is nice
271: [02:11:22] <ss23> okay you can click again but please pretend that I never mentioned anything
272: [02:11:25] <ss23> o.o
273: [02:11:28] <antmas> it has fat fingers nailed
274: [02:11:43] <zippy> ss23: the title bar thing is a bit naffed
275: [02:12:03] <Kingy> antmas: like homer simpson at 400lbs fat fingers
276: [02:12:06] <ss23> yeah
277: [02:12:06] <antmas> zippy: yip
278: [02:12:09] <adrexia> searching with the api search messes thign sup a bit
279: [02:12:15] <ss23> zippy: I SAID FORGET I SAID ANYTHING
280: [02:12:16] <ss23> ;_;
281: [02:12:29] <simon_w|work> the search is still poorly weighted
282: [02:12:32] <zippy> ss23: you said, ok you can click again...
283: [02:12:32] <antmas> #neverforget
284: [02:12:37] <Kingy> Ryan-Toast: it's after 2pm
285: [02:13:05] <simon_w|work> Ooh, pie time!
286: [02:13:22] <Ryan-Toast> Kingy: https://i.imgur.com/E51rFVC.jpg
287: [02:13:34] <ss23> zippy: YEAH YO:U CAN CLICK BUT FORGET THAT I ANNOUCNED IT WAS PRETTY
288: [02:13:36] <antmas> sauce?
289: [02:13:43] <Stomach> http://i1.sndcdn.com/artworks-000078829586-nz9vy8-original.png
290: [02:13:50] <Kingy> antmas: glasgow within the hour
291: [02:13:56] <Ryan-Toast> antmas: Inglorius bartardss
292: [02:13:57] <antmas> :O
293: [02:14:02] <antmas> Ryan-Toast: :D
294: [02:14:14] <antmas> I had the biggest crush on that
295: [02:14:20] <Kingy> fuck they must be counting fast in glasgow
296: [02:14:24] <antmas> Kingy: I'd say they will be yes
297: [02:14:25] <Ryan-Toast> her* antmas, her
298: [02:14:27] <Kingy> takes like 2 hours to count 10k
299: [02:14:31] <Ryan-Toast> She’s a person.
300: [02:14:32] <antmas> PHRASING
301: [02:14:39] <Kingy> Ryan-Toast: he was crushing on the movie
302: [02:14:47] <antmas> this ^^^
303: [02:14:53] <antmas> i actually did mean the movie
304: [02:15:12] <Ryan-Toast> Kingy: https://i.imgur.com/9khCtxg.jpg
305: [02:15:24] * muskie9 has joined #silverstripe
306: [02:15:30] <Kingy> you can see the accent
307: [02:16:11] <zippy> this css makes me think of how I would feel if I turned up to a camp site, that was run down and shit all over the place.... no-one wants to stay in that shit
308: [02:16:32] <zippy> been outsrouced...... welll...
309: [02:16:46] <antmas> zippy: local?
310: [02:16:52] <zippy> no
311: [02:16:59] <zippy> Derka Derka
312: [02:17:05] <antmas> :P
313: [02:17:14] <antmas> Can we see the css?
314: [02:17:15] <antmas> :D
315: [02:17:18] * antmas pines
316: [02:17:20] <Ryan-Toast> zippy: https://i.imgur.com/WwhzYDp.jpg
317: [02:17:41] <zippy> I love the buttons the most
318: [02:17:59] <zippy> they've used background images, for the whole button so if you write to much the text goes off the button
319: [02:18:12] <zippy> and no two buttons use the same class, alllll difference classes
320: [02:18:13] <antmas> zippy: :|
321: [02:18:15] <simon_w|work> Mmm, nice round meal
322: [02:18:16] <Ryan-Toast> zippy: old school.
323: [02:18:19] <simon_w|work> Pie and L&P
324: [02:18:29] <antmas> simon_w|work: phatty
325: [02:19:27] <simon_w|work> antmas, Y U JELLY?
326: [02:20:02] <zippy> http://www.reddit.com/r/newzealand/comments/2gtkqe/hi_im_colin_craig_leader_of_the_conservative/
327: [02:20:16] <Kingy> antmas: Looking very positive for No in Aberdeen as well, with it looking like another emphatic win (around 58%)
328: [02:21:06] <Kingy> zippy: "Colin, if it is your people making shell accounts to softball you questions, I am going to shutdown this AMA,I have had to ban two account and remove about a dozen comments now"
329: [02:21:11] <zippy> heh yea
330: [02:21:37] <Stomach> yeah we need baseball questions!
331: [02:25:39] <simon_w|work> Mmm, good pie
332: [02:26:31] <Kingy> nasty simon_w|work
333: [02:26:46] <simon_w|work> Kingy, pie pie pie
334: [02:27:32] <Kingy> well im still winning biggest loser season 2
335: [02:27:33] <Kingy> so thats good
336: [02:28:59] <antmas> Kingy: interesting
337: [02:29:11] <antmas> I hope they go independant
338: [02:31:52] <simon_w|work> I hope they have a massive party
339: [02:32:25] * antmas looks at Ryan-Toast
340: [02:32:32] <Ryan-Toast> antmas: wat
341: [02:32:45] <antmas> Ryan-Toast: gifs
342: [02:32:50] <antmas> :3
343: [02:33:00] <simon_w|work> Ryan-Toast, hurry up with your PR :p
344: [02:33:11] <Ryan-Toast> simon_w|work: My PR?
345: [02:33:23] <simon_w|work> Ryan-Toast, for the resizable side thing
346: [02:33:36] <Ryan-Toast> simon_w|work: I’ve made it, just need to figure out how to pull request...
347: [02:33:42] <simon_w|work> Ryan-Toast, is it in git?
348: [02:33:57] <Ryan-Toast> simon_w|work: It’s in my kind of repo that I have
349: [02:34:06] <Ryan-Toast> I need to make a branch or some shit
350: [02:34:33] <Ryan-Toast> When you guys ask how the repo is going: https://i.imgur.com/u9I1O.jpg
351: [02:35:43] <zippy> Ryan-Toast: you don't HAVE to branch
352: [02:35:58] <zippy> Ryan-Toast: just login to git hub, select you commit and click the button to send it up as a PR
353: [02:35:58] <Kingy> antmas: Inverclyde (1.5% of registered voters): Yes 49.9% No 50.1% Turnout 87.4%
354: [02:36:04] <antmas> that AMA was actually not that bad
355: [02:36:06] <Kingy> soclose
356: [02:36:13] <Ryan-Toast> zippy: I was doing this: http://doc.silverstripe.org/framework/en/trunk/misc/contributing/code
357: [02:36:38] <Kingy> Yes 27,243 (49.9%) No 27,329 (50.1%)
358: [02:36:44] <antmas> Kingy: woah that is close
359: [02:36:51] <antmas> 1.5% lol
360: [02:36:53] * UncleChe_ has joined #silverstripe
361: [02:36:59] <Ryan-Toast> zippy: but I got confused, and said “monday problem"
362: [02:38:07] <simon_w|work> antmas, 86 votes difference
363: [02:39:14] <antmas> that's cray
364: [02:40:11] <zippy> wow
365: [02:41:12] <simon_w|work> Also, must suck to be the counting staff
366: [02:41:24] <antmas> indeed
367: [02:41:44] <antmas> 10001......100002....100012 fuck
368: [02:41:47] <antmas> start again
369: [02:41:51] <antmas> 1...2...3...4...5
370: [02:42:07] <Kingy> antmas: and it's 3:42am
371: [02:42:12] <Kingy> fuck that
372: [02:42:42] <Kingy> To put Inverclyde into perspective
373: [02:42:43] <Kingy> Glasgow counts for 11.13%
374: [02:43:06] * antmas puts on Scottish accent
375: [02:43:46] <antmas> can't really help it
376: [02:52:15] <simon_w|work> Hmm, I might go out to dinner on Saturday
377: [02:52:31] <simon_w|work> Would be better than watching Twitter circle-jerk over the election
378: [02:52:43] <Kingy> that's what im doing
379: [02:53:14] <antmas> or you know, don't watch twitter
380: [02:53:24] <adrexia> simon_w|work, with modern technology, you can do both!
381: [02:53:54] <simon_w|work> antmas, need to get off a computer to do that
382: [02:54:00] <simon_w|work> crtl-shift-T is too natural
383: [02:54:20] <Kingy> Yes is on the board
384: [02:54:21] <Kingy> Dundee: Total Votes = 93,592, Turn Out = 78.8%, Yes = 53,620, No = 39,880
385: [02:54:29] <Kingy> lower turn out though
386: [02:54:35] <adrexia> woohoo!
387: [02:54:39] <adrexia> finally
388: [02:54:51] <Kingy> yep
389: [02:55:01] <simon_w|work> With No taking Renfrewshire
390: [02:55:04] <Kingy> followed by
391: [02:55:04] <Kingy> Renfrewshire votes NO in Scotland's: Yes 55,466 (47.2%) No 62,067 (52.8%)
392: [02:55:33] <adrexia> that's a close one
393: [02:55:45] <zippy> wow, a yes nvote eh!
394: [02:56:02] <Kingy> wow dundee
395: [02:56:07] <Kingy> total: 51% no - 49% yes
396: [02:56:12] <zippy> wow that pulled it right back
397: [02:56:23] <Kingy> well yeah
398: [02:56:29] <Kingy> dundee is one of the biggest though
399: [02:56:43] <antmas> this is pretty close
400: [02:56:46] <antmas> fun to watch
401: [02:56:55] <zippy> get to do it all again tomorrow :)
402: [02:57:02] <zippy> bigger steaks here thoug
403: [02:57:24] <simon_w|work> Yeah, we either get more of the same or more of a slightly different same
404: [02:57:25] <Kingy> someone on twitter was sayng
405: [02:57:29] <Kingy> "lets do a new country every week"
406: [02:57:46] <zippy> south island!
407: [02:58:00] <zippy> sick of you northerens taking all our power
408: [02:58:25] * macka^ has joined #silverstripe
409: [02:58:56] <macka^> Hi guys, i can't get a page to redirect back to itself after a failed login?
410: [02:59:11] <simon_w|work> zippy, so, the NI blackouts during winter and the SI blackouts during summer?
411: [02:59:12] <antmas> man that the Highlands are huge
412: [02:59:21] <antmas> simon_w|work: that's fine
413: [02:59:33] <zippy> simon_w|work: with no auckland taking the power, we wont blackout during summer
414: [03:00:02] <simon_w|work> zippy, the SI draws power from the north during summer
415: [03:00:12] <zippy> ...
416: [03:00:28] <simon_w|work> That cable works both ways :p
417: [03:01:04] <ajmitch> just put up a few wind turbines, noone will mind
418: [03:03:06] <Kingy> hilarious the past 2 hours has been
419: [03:03:14] <Kingy> "oh what a shit country scotland, fuck this i give up"
420: [03:03:16] * UncleChe_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
421: [03:03:20] <Kingy> and now its all oh woo game on bring it on
422: [03:07:14] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
423: [03:07:23] <macka^> So - have a link on a page that is to an action to show an item. It takes you to a loginform if you aren't logged in, and if the login is bad, it doesn't redirect to another loginform?
424: [03:10:10] <Kingy> Dunbartonshire votes YES YES 33,720 NO 28,776 87.9% turnout
425: [03:10:59] <adrexia> wow, almost 50:50 of the popular vote
426: [03:11:11] <Kingy> yep
427: [03:11:18] <Kingy> Yes on 206,146 , No on 207,587
428: [03:11:24] * adrexia watches
429: [03:11:39] * vebb has joined #silverstripe
430: [03:11:46] <antmas> woah
431: [03:11:48] <Kingy> Midlothian votes NO: Yes 26,370 (43.7%) No 33,972 (56.3%) Turnout 86.8%
432: [03:11:54] <adrexia> only two green, but I guess tehy have a higher population than the islanads
433: [03:11:56] <Kingy> that's a big change
434: [03:12:27] <Kingy> "Midlothian an expected No win, exceeding predicted margins."
435: [03:12:44] <adrexia> Scotalnd has such cool palce names
436: [03:13:55] <Kingy> our vote tomorrow is going to be exactly the same
437: [03:14:03] <Kingy> all i've seen on the internet for the last 2 weeks
438: [03:14:09] <Kingy> is fuck jk and national
439: [03:14:19] <Kingy> which is the same as i'm seeing now about scotland voting no
440: [03:14:20] <antmas> yeah I know :(
441: [03:15:33] <Kingy> CaNo - 241,559 50.95% Yes - 232,516 49.05%
442: [03:15:41] <Kingy> so close
443: [03:16:12] <Kingy> East Lothian votes NO: YES 27,467 NO 44,283 87.6% turnout
444: [03:16:17] <Kingy> ouch
445: [03:16:19] <Kingy> that's a big No win
446: [03:17:21] <adrexia> yep. knocked Yes down to 47.63%
447: [03:17:45] <simon_w|work> Woo, go the No
448: [03:18:00] <Kingy> Another NO rolls in from Stirling YES 25,010 NO 37,153 90.1% turnout
449: [03:18:07] <Kingy> im so impressed with these turnouts
450: [03:18:31] <Kingy> adrexia: now 46.87%
451: [03:18:42] * vebb has joined #silverstripe
452: [03:19:05] <Kingy> "thumping No win for Stirling, it was key target for Yes campaign"
453: [03:19:44] <adrexia> 90.1% turnout. thats amazing
454: [03:20:13] <Kingy> yeah they're expecting around 85% overall
455: [03:20:37] <antmas> gut feeling
456: [03:20:39] <antmas> it's a No
457: [03:20:55] <Kingy> amazing that only 16.5% of the total vote has been counted
458: [03:21:27] <simon_w|work> Declared
459: [03:21:41] <Kingy> Results in Falkirk: Total Votes = 108,626. Yes = 50,489, No=58,030
460: [03:21:52] <Kingy> another decent no
461: [03:22:01] <ezero> where is the elections dashboard?
462: [03:22:16] * macka^ quit (Ping timeout: 246 seconds)
463: [03:22:19] <Kingy> http://www.bbc.com/news/events/scotland-decides/results
464: [03:22:40] <ezero> ta :D
465: [03:22:48] <simon_w|work> vote.org.nz?
466: [03:22:52] <ezero> that too!
467: [03:23:04] <Kingy> lol
468: [03:24:12] <ezero> there was one similar to this http://www.bbc.com/news/events/scotland-decides/results for New Zealand ... last elections
469: [03:24:14] <Kingy> got a meeting in a minute
470: [03:24:20] <antmas> man how do you set a file path to a bluetooth printer?
471: [03:24:38] * Azure quit (Ping timeout: 272 seconds)
472: [03:24:40] <simon_w|work> antmas, /dev/bt-something-a-rather
473: [03:24:41] <antmas> Kingy: 3.30 meeting on a Friday? yuck
474: [03:24:55] <Kingy> antmas: weekly catchup with manager
475: [03:24:57] <Kingy> is like 10min at most
476: [03:25:10] <antmas> simon_w|work: I wonder if it is programfiles/HP or whatever
477: [03:25:11] <Kingy> but i go home at 4 lol
478: [03:25:16] <antmas> I'll try that
479: [03:25:25] * vebb has joined #silverstripe
480: [03:25:31] <Kingy> take a 2 hour train and im sure no1 will mind :P
481: [03:25:42] <Kingy> everyone in the office is probably home before me
482: [03:26:57] <antmas> just drink as much as you can during the meeting to make the train ride more fun
483: [03:26:58] <antmas> :D
484: [03:27:10] <Kingy> rofl
485: [03:27:26] <Kingy> i sometimes do a the sneaky and leave slightly early to get to the supermarket first
486: [03:27:34] <antmas> drink everytime your manager says 'the'
487: [03:27:48] <Kingy> more like "So uhh"
488: [03:27:53] <Kingy> that's his line
489: [03:28:00] <antmas> or 'there is a problem with'
490: [03:28:25] <antmas> 586 rejected ballots is pretty low
491: [03:28:34] <antmas> can you vote if you're pissed?
492: [03:28:53] <Kingy> apparently 12 people showed up in glasgow to find they'd already voted lol
493: [03:28:56] <Kingy> that'd fuck you off
494: [03:29:02] <micmania1> antmas: yes, otherwise nobody in Scotalnd would have been able to vote.
495: [03:29:17] <Kingy> "A big cheer in the hall to a big No from Aberdeen City"
496: [03:29:23] <antmas> LOL
497: [03:29:26] <Kingy> hinteresting
498: [03:29:43] <Kingy> micmania1Angus votes NO in Scotland's #indyref: Yes 35,044 (43.7%) No 45,192 (56.3%) Turnout 85.8%
499: [03:30:36] <micmania1> Its going well for no :)
500: [03:30:58] <adrexia> wil be a bit anti-climactic
501: [03:31:48] <antmas> it will spawn a modern day Braveheart
502: [03:32:10] <antmas> and it will be even LESS historically accurate
503: [03:32:14] <antmas> staring Nick Cage
504: [03:32:45] * toddvalentine quit ()
505: [03:32:47] <micmania1> Glasgow is going to be huge.
506: [03:32:58] <Colin[pi]> antmas: http://www.reddit.com/r/OnetrueGod
507: [03:33:01] <antmas> another no for Humphries
508: [03:33:20] <antmas> Dumfries* lol
509: [03:33:37] <antmas> Dumb Fries
510: [03:34:22] <simon_w|work> After two Glasgows, No is almost 100k ahead
511: [03:34:43] <simon_w|work> Or a East Dunbartonshire ahead
512: [03:35:24] <micmania1> which half of Glasgow though? Its already pretty split.
513: [03:35:35] <antmas> sort it by Electorate, a bit of a pattern there
514: [03:36:10] <simon_w|work> antmas, sort by yes%. Much more obvious pattern :p
515: [03:36:25] <antmas> simon_w|work: well yeah :P
516: [03:36:35] * simon_w|work passed stats!
517: [03:37:17] * antmas did calculus :P
518: [03:37:19] <antmas> fuck stats
519: [03:37:26] <simon_w|work> I did both
520: [03:37:33] <Colin[pi]> stats at uni was ruined for me on the first dau
521: [03:37:35] <Colin[pi]> *day
522: [03:37:46] <simon_w|work> And now, I know they're both crap :p
523: [03:37:54] <Colin[pi]> the lecturer said "welcome to stats! you prolly wont need to know this stuff after uni, as computers will do it all for you!"
524: [03:38:06] <antmas> lol yeah
525: [03:38:14] <Colin[pi]> I'm like... ok?
526: [03:38:18] <simon_w|work> Another big electorate goes no
527: [03:38:18] <antmas> I was in the 'Quantitative Analysis' class for 2 hours
528: [03:38:21] <antmas> and left
529: [03:38:28] <simon_w|work> I didn't do any stats at uni :D
530: [03:39:29] * howardgrigg quit (Remote host closed the connection)
531: [03:39:35] <micmania1> Modern day colonialism is a lot more polite.
532: [03:39:42] <antmas> :P
533: [03:39:46] <Stomach> I just like saying Poisson
534: [03:40:01] <antmas> Stomach: dat naisily sounds
535: [03:40:05] <zippy> imagine if it came down to 1000 ballots, same as the rejected ones...
536: [03:40:06] <zippy> :O
537: [03:40:58] <antmas> is that pink or red for no? my monitor I'm using is trash
538: [03:42:17] <antmas> it's pink
539: [03:42:24] * vebb has joined #silverstripe
540: [03:42:29] <simon_w|work> antmas, it's yellow...
541: [03:47:11] * cloph has joined #silverstripe
542: [03:47:29] <micmania1> zippy: I think if it was that close they’d ask for a recount
543: [03:47:43] * cloph_away quit (Ping timeout: 258 seconds)
544: [03:47:46] <zippy> I guess they will do a re-count anyway wouldn't they
545: [03:48:11] <micmania1> well there’s 150k difference so far so I wouldn’t think so haha
546: [03:48:13] <zippy> woo another yes
547: [03:48:29] <hailwood> Anyone know why my controller when submitting the form is giving me a 404 when it tries to find the "search" function? https://gist.github.com/hailwood/36ff00bf788152912d01
548: [03:48:41] <zippy> micmania1: I think they get recounted anyway for offical results or something
549: [03:49:03] <micmania1> In normal elections they don't
550: [03:50:17] <Olliepop> 5 mins til glasgow
551: [03:51:12] <micmania1> Its like a big Rangers vs Celtic match
552: [03:51:50] <Ryan-Toast> Colin[pi]: finally got my shortcode generator working
553: [03:52:09] <adrexia> every now and then I get the urge to delete entire files worth of css
554: [03:52:13] <Stomach> hailwood - private static, not public static
555: [03:52:18] <adrexia> some thigns just look better without it
556: [03:52:18] <Ryan-Toast> adrexia: yeees
557: [03:52:32] <simon_w|work> hailwood, try return new ArticleSearchForm($this->owner, __FUNCTION__, $fields, $actions)
558: [03:52:33] <pippy> No 55.32%
559: [03:53:03] <Ryan-Toast> adrexia: or when a new version of scss comes out and you get to refactor everything to be smaller :3
560: [03:53:13] <adrexia> haha
561: [03:53:15] <Ryan-Toast> feelsgoodbro.gif
562: [03:53:15] <adrexia> yeah
563: [03:53:25] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
564: [03:53:59] <adrexia> I can't delete any of this. But really the theme is not verty good. and responsive has been hacked on top of something with 10,00 ids
565: [03:54:04] <adrexia> would look better with no css
566: [03:54:13] <Ryan-Toast> adrexia: :P
567: [03:54:25] <adrexia> 10,000 ids
568: [03:55:14] <simon_w|work> Glasgow voting YES did almost nothing
569: [03:55:15] <hailwood> Stomach: simon_w|work Yeah that would work, but then my form would submit do /{blogHolder}/ArticleSearchForm What I want to do is in the template be able to use $ArticleSearchForm but have the form submit to /{blogHolder}/search. Should I just create the search function as standard, and then create the ArticleSearchForm function that just returns $this->search()?
570: [03:55:19] <adrexia> I get annoyed when I se a single ID
571: [03:55:25] <adrexia> this is just painful
572: [03:55:39] <Ryan-Toast> adrexia: http://i.imgur.com/vbLzLia.jpg
573: [03:55:59] <simon_w|work> hailwood, that would be one way
574: [03:56:09] <simon_w|work> hailwood, your form action method should *never* be in the URL
575: [03:56:23] <Ryan-Toast> Colin[pi]: shortcode button test in action!!!!!!!!! http://www.gfycat.com/DistortedGivingBandicoot
576: [03:56:24] <adrexia> wow, that's very much no now
577: [03:56:24] * CodeTrap1 has joined #silverstripe
578: [03:57:17] <simon_w|work> "Glasgow votes a massive yes"
579: [03:57:19] <Colin[pi]> Ryan-Toast: sweet!
580: [03:57:31] <simon_w|work> Considering the size of some of the no wins, I'm going with not massive
581: [03:57:35] * CodeTrap quit (Ping timeout: 255 seconds)
582: [03:57:41] <Ryan-Toast> Colin[pi]: Just going to swap the button for a dropdown that houses all of the shortcodes I’ve made
583: [03:57:43] <Colin[pi]> 53.49% is massive?
584: [03:57:52] <Colin[pi]> Ryan-Toast: nice
585: [03:58:00] <adrexia> 200,000 votes out
586: [03:58:23] <simon_w|work> Colin[pi], well, it could be. But then the Borders had 66.56%
587: [03:58:26] <adrexia> Some big palces not yet in
588: [03:59:30] <simon_w|work> NO needs 566,613 votes to win
589: [03:59:31] <micmania1> I doubt they’ll make up 200k votes with what’s left.
590: [03:59:51] <micmania1> All the yes wins are minimal
591: [04:01:14] <adrexia> Edinburgh and Fife could still surprise us
592: [04:01:17] <adrexia> ;)
593: [04:01:24] * Kingy is now known as Kingy[a]
594: [04:01:26] <simon_w|work> adrexia, Fife is expecting a large No
595: [04:01:35] <adrexia> yeah
596: [04:02:01] <adrexia> I don't actually have much hope ;)O
597: [04:02:30] * simon_w|work is going for the NOs since Twitter seemed to all be about the YES
598: [04:02:52] <adrexia> I'm going for the yes, because I have been brainwashed since a young age
599: [04:03:11] <simon_w|work> Heh, sounds like most voters
600: [04:03:17] <adrexia> :P
601: [04:03:40] <adrexia> I actually don't know what would be best for them. Too many unknowns
602: [04:03:53] <adrexia> But I know the relationship hasn't been particiulary good for them
603: [04:03:54] * hailwood quit (Quit: Leaving.)
604: [04:04:07] <adrexia> and when that is the case, I generally prefer that things end
605: [04:05:38] <micmania1> The relationship is the same for them as it is for any english city outside of London
606: [04:06:02] <micmania1> well, apart from they get more stuff to keep them sweet
607: [04:07:25] <adrexia> they aren't English
608: [04:07:53] <adrexia> but that seems like a big problem that should be fixed
609: [04:08:10] <micmania1> yes, but I’m saying they get treat the same
610: [04:08:24] <simon_w|work> Oh man, a yes vote would make the england/britian/UK distinctions even more confusing
611: [04:08:35] <adrexia> then there is a probelm with how England treats it's districts
612: [04:08:41] <micmania1> Its not really their relationship with England, its more that all the money goes to London
613: [04:08:51] <adrexia> and maybe everyone should move to scotalnd and vote yes
614: [04:08:54] <adrexia> :P
615: [04:09:03] <adrexia> yeah - that is a problem
616: [04:10:14] <antmas> Glasgo yes?
617: [04:10:19] <antmas> :O
618: [04:10:38] * vebb quit (Quit: preprocessor-irc-cli)
619: [04:11:13] <adrexia> but not by enough
620: [04:11:38] <adrexia> only 7 to go
621: [04:11:42] <antmas> still
622: [04:11:51] <adrexia> I expected that
623: [04:12:38] * muskie9 has joined #silverstripe
624: [04:12:49] <antmas> so which ever side gets 1,822,880 wins right?
625: [04:12:49] <adrexia> Orkney Islands are still winning to No vote. I think the queen owes them for that
626: [04:13:12] <adrexia> all 17,806 of them
627: [04:13:14] <adrexia> :D
628: [04:14:05] <adrexia> South Ayrshire votes NO
629: [04:14:37] <antmas> a big margin between north and south too
630: [04:14:38] <adrexia> Ayrshire is where my grandmother is from
631: [04:16:06] <antmas> I never had Grandparents :(
632: [04:16:18] <antmas> I should look more into my family tree
633: [04:16:26] <antmas> I know Scotland is in there somewhere :P
634: [04:16:40] <adrexia> I'm sure you did, technically ;)
635: [04:16:58] * simon_w|work isn't (paternally) from the UK
636: [04:17:18] <antmas> yeah but I think it is Great grandparent level
637: [04:17:26] <adrexia> We uysed to be forced to eat porridge with lines like "What would your great grandmother say". Then she came over from scotalnd to visit... and she hated porridge
638: [04:17:42] <simon_w|work> Haha
639: [04:17:42] <antmas> lol oldschool
640: [04:18:15] <adrexia> that won quite a few arguments for years
641: [04:18:24] * Kingy[a] is now known as Kingy
642: [04:18:32] <Kingy> well that's that then
643: [04:18:33] <zippy> doh !
644: [04:18:44] <antmas> yay PHPstorm licence finally :D
645: [04:19:35] <zippy> antmas: :)
646: [04:19:40] <adrexia> The BBC forecasts that Scotland has voted against becoming an independent country by a projected 55% to 45%.
647: [04:20:01] <zippy> with the combined files requirements.... is it possible to tell it to write them to a different folder?
648: [04:20:03] <antmas> when was the last vote?
649: [04:20:08] * antmas is naive
650: [04:20:20] <antmas> or... was there ever a 'vote'
651: [04:21:07] <zippy> North Ayrshire - that sounds bad ass
652: [04:22:02] <Kingy> there are still some big places to come
653: [04:23:31] <Ryan-Toast> ugh tinymce has the fucking worst api document
654: [04:24:00] <antmas> our web guy asked me if i could swap ou TinyMCE for another alternative
655: [04:24:10] <simon_w|work> Ryan-Toast, I dunno. Have you looked at SilverStripe's? :p
656: [04:24:11] <antmas> I just gave him the :| face
657: [04:24:13] <Ryan-Toast> antmas: there are modules
658: [04:24:42] <Ryan-Toast> simon_w|work: Super useful http://www.tinymce.com/wiki.php/api4:method.tinymce.Editor.addButton
659: [04:24:50] <ezero> replace it with what? CKEditor?
660: [04:25:08] <antmas> dunno, just 'something different' :/
661: [04:25:12] * ezero looking at http://en.wikipedia.org/wiki/Comparison_of_HTML_editors
662: [04:25:27] <Ryan-Toast> I like CKeditor
663: [04:25:39] <antmas> yeah I remember liking it
664: [04:25:45] <ezero> ^^
665: [04:26:08] <Kingy> lol remember?
666: [04:26:15] <Ryan-Toast> pre-SS
667: [04:26:15] <Kingy> ah fuck i sat on the wrong side of the train
668: [04:26:18] <Kingy> the sun it burns!
669: [04:26:47] <antmas> :P Kingy back before I got 100% subjected to TinyMCE
670: [04:26:56] <antmas> it'sa distant memory
671: [04:27:15] <antmas> 3 mins till beer
672: [04:27:21] <Kingy> oh dear the hurt in some people
673: [04:27:22] <antmas> *heavy breathing*
674: [04:27:32] <Kingy> "Pathetic. 1.2 million REAL Scot's and 1.4 million imposters. All those No voters can bend over and let Westminster fuck them in the arse. Countries laid down their lives for freedom, Scotland had to put an X in a box and shat it. Absolutely pathetic."
675: [04:27:34] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
676: [04:27:57] * muskie9 has joined #silverstripe
677: [04:27:59] <adrexia> Kingy, taht's the past
678: [04:28:08] * jsirish has joined #silverstripe
679: [04:28:09] <antmas> Kingy: National and Labour supporters will be the same :P
680: [04:28:11] <adrexia> people not from the past also live in scotalnd
681: [04:28:14] <Kingy> absolutely
682: [04:28:20] <Kingy> i can see /r/nz on sunday now...
683: [04:30:11] * ezero looking at http://www.krizalys.com/article/ckeditor-vs-tinymce
684: [04:30:37] <ezero> although that is old...
685: [04:33:21] <antmas> later all
686: [04:33:24] <antmas> beer time :D
687: [04:34:27] <Colin[pi]> BAI ANTMAS
688: [04:34:28] * jsirish has left #silverstripe
689: [04:34:28] <Ryan-Toast> fucking lol: https://pbs.twimg.com/media/Bx268EVCUAEu6KY.png:large
690: [04:34:50] * antmas quit (Quit: Page closed)
691: [04:35:20] * howardgrigg has joined #silverstripe
692: [04:36:37] <ezero> lol that is hilarious
693: [04:37:06] <Colin[pi]> wait what?
694: [04:37:08] <Colin[pi]> lol
695: [04:37:35] <Colin[pi]> <?php echo "PHP is disabled."; ?>
696: [04:37:38] <zippy> lol
697: [04:37:46] <ezero> but the thing is
698: [04:37:49] <ezero> that will work!
699: [04:37:53] <ezero> if there is no php
700: [04:38:02] <Colin[pi]> heh yeah, you'll get output
701: [04:39:53] * howardgrigg quit (Ping timeout: 260 seconds)
702: [04:40:08] <Kingy> who can be arsed worked on the train
703: [04:40:59] <Colin[pi]> fucking L O L: https://twitter.com/9NewsAUS/status/512773283373002752
704: [04:41:24] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
705: [04:41:31] <Kingy> aahahahaha Colin[pi]
706: [04:42:28] <Colin[pi]> shouldn't laugh, that'd be something that would happen to me
707: [04:42:29] * muskie9 has joined #silverstripe
708: [04:44:21] <Ryan-Toast> Colin[pi]: http://dailycurrant.com/2014/09/17/kanye-scores-106-points-against-wheelchair-basketball-team/
709: [04:44:35] <Kingy> Colin[pi]: I wouldn't be dumb enough to open it like that
710: [04:44:59] <Colin[pi]> Kingy: guy was excited and nervous, but still what a dick
711: [04:46:25] <Kingy> even more reason to not open it until you're at home
712: [04:47:06] <Colin[pi]> Ryan-Toast: wtf
713: [04:47:08] <Colin[pi]> is that for real?
714: [04:47:26] <Colin[pi]> r/nottheonion
715: [04:48:25] * willr quit (Quit: willr)
716: [04:48:38] <Ryan-Toast> nah, it’s a satire site. Still made me laugh.
717: [04:48:54] <Kingy> Colin[pi]: I'm assuming it's in relation to Kanye not starting his concert until everyone was standing... including those in wheelchairs
718: [04:49:14] <Colin[pi]> haha totally fooled me, should have looked at the trending :(
719: [04:50:38] * howardgrigg has joined #silverstripe
720: [04:55:06] <Colin[pi]> SS should really reskin their CMS version of TinyMCE
721: [04:55:06] * muskie9 quit (Read error: Connection reset by peer)
722: [04:55:09] * howardgrigg quit (Ping timeout: 244 seconds)
723: [04:55:33] * muskie9 has joined #silverstripe
724: [04:56:34] <Kingy> Vote Results in Edinburgh: No = 194,638 Yes = 123,927
725: [04:57:04] <Kingy> 84.4% turnout
726: [04:59:10] <Kingy> Aberdeenshire votes NO: NO 108,606 60.36% YES 71,337 39.64%
727: [04:59:31] <Kingy> It's a NO from Argyll & Bute YES 26,324 NO 37,143
728: [05:01:11] * Kingy is now known as Kingy[a]
729: [05:04:04] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
730: [05:04:07] * Ryan-Toast has left #silverstripe
731: [05:07:13] <spronk> anyone here ever offshored dev?
732: [05:07:14] * pippy quit (Quit: Page closed)
733: [05:07:43] <ss23> http://api.silverstripe.org/ damn that is one sexy site!
734: [05:07:46] <ss23> (You can click now)
735: [05:07:59] <ss23> It'sa bit broken as it's regenerating some
736: [05:08:06] <spronk> ....looks worse
737: [05:08:07] <spronk> :p
738: [05:08:23] <spronk> im serious, too
739: [05:08:30] <spronk> static header takes way too much space
740: [05:08:34] <spronk> alignment is all wack compared to old
741: [05:08:42] <spronk> darker colours aren't as funk :p
742: [05:08:55] <spronk> sorry bro
743: [05:08:57] <ss23> Yeah
744: [05:08:59] <ss23> :D
745: [05:09:04] <ss23> spronk: Still, PRs welcome?
746: [05:09:05] <ss23> :3
747: [05:09:12] <spronk> .... just go back to the old one?
748: [05:09:19] <ss23> TOO LATE
749: [05:09:20] <ss23> :D
750: [05:09:22] <spronk> :(
751: [05:09:23] <spronk> but it was nice
752: [05:09:29] <simon_w|work> Two search forms, and the API one is still crap
753: [05:09:35] <ss23> simon_w|work: Pull requests welcome
754: [05:09:36] <ss23> ^.^
755: [05:09:57] <spronk> ugh
756: [05:09:58] <spronk> it really is shit
757: [05:10:00] <spronk> why does it miss obvious shit
758: [05:10:39] <spronk> wow
759: [05:10:42] <spronk> what the fuck happened to foursquare
760: [05:10:47] <simon_w|work> ss23, so I can receive more condescension? Fuck that.
761: [05:10:54] <ss23> haha
762: [05:11:09] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
763: [05:18:12] * howardgrigg has joined #silverstripe
764: [05:19:07] <simon_w|work> One more council to go
765: [05:20:36] <spronk> ?
766: [05:21:04] <simon_w|work> http://www.bbc.com/news/events/scotland-decides/results
767: [05:21:08] <spronk> oo
768: [05:21:16] <spronk> nahhh
769: [05:21:18] <spronk> nos have it
770: [05:21:19] <spronk> easy
771: [05:21:45] <spronk> only four councils voted yes
772: [05:21:47] <spronk> he
773: [05:21:50] <spronk> what a waste of money
774: [05:22:08] <ss23> While I hate democracy as much as the next guy, I don't think it counts as a waste of money
775: [05:22:19] <ss23> s/as much as the next guy/more than most people/
776: [05:22:34] <madmatt> bloody Dundee
777: [05:23:03] <spronk> IMO the world needs more uinification not less
778: [05:26:16] * fat quit (Quit: Page closed)
779: [05:36:23] * halkyon quit (Quit: Leaving)
780: [05:47:29] * simon_w|work wants to go all stabbity on Angular
781: [05:48:11] <spronk> fair enough
782: [05:48:13] <spronk> angular is shit
783: [05:48:18] <spronk> cant understand why people like it
784: [05:48:28] <simon_w|work> To make it worse, we're using 1.0
785: [06:07:35] * willr has joined #silverstripe
786: [06:15:14] * Stomach quit (Ping timeout: 244 seconds)
787: [06:30:32] * willr quit (Quit: willr)
788: [06:35:52] * Tanger quit (Quit: Tanger)
789: [06:37:30] <simon_w|work> Turns out a pie isn't enough for lunch
790: [06:37:41] <Colin[pi]> simon_w|work: sausage roll as well??!
791: [06:37:47] <Colin[pi]> GO CRAZY
792: [06:39:28] <simon_w|work> Eh, maccas stop on the way home
793: [06:40:50] <Colin[pi]> mm I should think about what's for dinner
794: [06:42:38] <simon_w|work> Aww, isn't pizza week
795: [06:42:59] <simon_w|work> Colin[pi], http://www.indianaffair.com.au/home.html
796: [06:43:17] <Colin[pi]> it's pizza week for me!
797: [06:43:23] <simon_w|work> Jerk! :p
798: [06:43:47] <Colin[pi]> simon_w|work: there's this place at Mawson, Johnno's takeaway... they make amazing pizzas
799: [06:44:21] <simon_w|work> Colin[pi], we're moving this weekend. Little late :p
800: [06:44:25] <Colin[pi]> boo
801: [06:44:47] <simon_w|work> Gonna be north-side snobs!
802: [06:46:26] * wmk has joined #silverstripe
803: [06:47:12] <simon_w|work> Home tiem!
804: [06:47:14] * simon_w|work quit (Quit: Ping timeout: your mum)
805: [07:00:43] * Tanger has joined #silverstripe
806: [07:05:36] * vebb has joined #silverstripe
807: [07:09:13] * ARNHOE has joined #silverstripe
808: [07:13:17] * ocmnt has joined #silverstripe
809: [07:14:45] * vebb quit (Quit: preprocessor-irc-cli)
810: [07:24:09] <ocmnt> howdy
811: [07:26:09] <wmk> hey
812: [07:28:36] * Stomach has joined #silverstripe
813: [07:33:43] * jordanmk quit ()
814: [07:34:12] * howardgrigg quit (Remote host closed the connection)
815: [07:40:30] * willr has joined #silverstripe
816: [07:43:28] * Shrike_Finland has joined #silverstripe
817: [07:43:49] * Shrike_Finland quit (Client Quit)
818: [07:45:08] * stnvh has joined #silverstripe
819: [07:47:51] <ocmnt> anyone here perhaps know about a NON getty images stocklibrary?
820: [07:48:22] <wmk> ocmnt, the sd card in your camera
821: [07:48:35] <wmk> fotolia e.g?
822: [07:48:55] <wmk> http://de.fotolia.com/
823: [07:49:32] <ocmnt> I don't have a camera :D
824: [07:49:48] <wmk> http://www.pixelio.de/
825: [07:49:54] <wmk> ocmnt, that's bad ;)
826: [07:50:25] <ocmnt> hahaha, I have a phone
827: [07:50:26] <ocmnt> :P
828: [07:50:37] * ss31noob has joined #silverstripe
829: [07:50:46] <ocmnt> thnx wmk for the links :)
830: [07:50:48] * wmk don't like it to see the same boring images all the time on so many websites
831: [07:50:54] <ocmnt> all getty sites are so expensive now a days
832: [07:51:24] <wmk> ocmnt, please save a screenshot of the image with date and licence and put it somewhere save
833: [07:51:43] <wmk> in some years you won't be able to remember where you got the image from
834: [07:51:54] <wmk> and maybe get a letter from a lawyer
835: [07:52:12] <ocmnt> yea we have had that before
836: [07:52:13] <ocmnt> haha
837: [07:52:15] <ocmnt> but thanks for the tip
838: [07:52:20] <wmk> ah.
839: [07:52:22] <wmk> also g***y?
840: [07:52:26] * vebb has joined #silverstripe
841: [07:52:41] <ocmnt> aye
842: [07:52:52] <ocmnt> they started with a fine above 10k
843: [07:52:57] <wmk> FCK!
844: [07:53:00] * willr quit (Quit: willr)
845: [07:53:01] <ocmnt> ended up, after a lot of communcation for about
846: [07:53:02] <ocmnt> 1,5k
847: [07:53:05] <ocmnt> still a LOT of money
848: [07:53:08] <ocmnt> for about 10 images
849: [07:53:25] <wmk> ok, it was just one image over here but still a lot of money.
850: [07:53:53] <wmk> my collegue said he don't know where he got it from but wanted to replace it anyway
851: [07:54:10] <wmk> :(
852: [07:54:25] <wmk> now we try only to make images ourself
853: [07:54:45] <wmk> on the other hand it's quite expensive to sue someone else if he isn't willing to communicate and pay
854: [07:54:47] <ocmnt> you got in house photographer?
855: [07:55:04] <ocmnt> getty has quite some power in them, and a lot of money to sue
856: [07:55:10] <ocmnt> so they brute force that shit out of you
857: [07:55:26] <wmk> we know some photographers, we can shoot a lot (nature, tourism, hotel rooms etc...)
858: [07:57:00] * UncleCheese has joined #silverstripe
859: [08:00:53] * zfmf has joined #silverstripe
860: [08:05:05] * howardgrigg has joined #silverstripe
861: [08:05:54] * willr has joined #silverstripe
862: [08:10:09] * howardgrigg quit (Ping timeout: 272 seconds)
863: [08:18:53] * spronk2 has joined #silverstripe
864: [08:30:16] * Pyfrdyk has joined #silverstripe
865: [08:33:13] <Pyfrdyk> oh gawd
866: [08:33:29] <wmk> ?
867: [08:37:48] <wmk> is there a way to remove an extension in yml (e.g. from page) and put it to another Pagetype instead?
868: [08:38:02] * superspring_ has joined #silverstripe
869: [08:38:09] * Robke has joined #silverstripe
870: [08:38:29] <Robke> is it possible to load google map without any api key?
871: [08:38:52] * zfmf quit (Ping timeout: 244 seconds)
872: [08:39:34] <wmk> Robke, google map v3?
873: [08:40:42] <wmk> from what i know v3 doesn't need api key anymore.
874: [08:40:51] <wmk> though the rest of the code is different to v2
875: [08:41:05] <wmk> v2 is deprecated for ages but still used
876: [08:41:06] <Robke> hm... :)
877: [08:41:09] * superspring quit (Ping timeout: 260 seconds)
878: [08:41:16] * simon_w has joined #silverstripe
879: [08:41:24] <Robke> but somehow.... i downloaded code which works properly without any api key in live site
880: [08:41:33] <Robke> implememted code to my project
881: [08:41:42] <Robke> and in console i have error... google is not defined
882: [08:41:53] * Colin[pi] quit (Ping timeout: 240 seconds)
883: [08:41:53] <Robke> i implentet api key and the map has loaded
884: [08:42:02] <Robke> so thats why im asking how could it be
885: [08:42:06] <Robke> any ideas?
886: [08:42:22] <wmk> what api is loaded? you see it in the called url to include googles js
887: [08:43:20] <Robke> <script src="http://maps.googleapis.com/maps/api/js?key=AIzaSyDCgIL3GyeAVSwuL5BGKzK2wHfJJsSYzIA&sensor=false"></script>
888: [08:43:27] <Robke> with this line map is loading
889: [08:43:30] <Robke> without it - not loading
890: [08:44:49] * crapwagon is now known as T__O__T
891: [08:45:25] * howardgrigg has joined #silverstripe
892: [08:45:58] <Robke> ok i deleted api key :)
893: [08:46:09] <Robke> and it loads but still have same issue that google is not defined :(
894: [08:46:25] <Robke> var lasvegas = new google.maps.LatLng(36.128059,-115.173225);
895: [08:46:32] <Robke> whats wrong with this line?
896: [08:47:03] * Shrike_Finland has joined #silverstripe
897: [08:48:36] <wmk> Robke, dunno. I'm not in google maps right now. maybe http://stackoverflow.com/questions/14229695/google-maps-api-throws-uncaught-referenceerror-google-is-not-defined-only-whe can help you a bit
898: [08:49:12] * Colin[pi] has joined #silverstripe
899: [08:49:52] * howardgrigg quit (Ping timeout: 245 seconds)
900: [08:50:04] <Robke> ty
901: [08:50:16] * vebb quit (Quit: preprocessor-irc-cli)
902: [08:51:51] * ThePeach has joined #silverstripe
903: [08:52:10] <ss31noob> guys, have anyone tried to have this kind of statics value in their decorator in ss3.1? function extraStatics() { Object::add_extension( 'Page_Controller', 'SiteCommentDecorator_PageControllerDecorator' ); }
904: [08:53:11] <ss31noob> is it still possible to have an Object::add_extension to the extraStatics in a DataExtension in ss3?
905: [08:54:13] <wmk> ss31noob, yup, still possible but afaik deprecated in 3.2
906: [08:54:31] <wmk> defining in yml is preferred
907: [08:54:58] <wmk> as you have to define it anyway: why in the extension directly instead of yml?
908: [08:56:02] <Robke> wmk: thanks it helped ;)
909: [08:56:15] <wmk> Robke, fine.
910: [08:56:39] <Robke> just needed script line to add in main page.ss :)
911: [08:57:47] <wmk> ;)
912: [08:57:59] <wmk> any yaml pro can help me: how can i do this in YML ??
913: [08:58:01] <wmk> Config::inst()->remove($class, 'extensions', Config::anything(), $extension);
914: [08:58:51] <ss31noob> wmk, but im having an error right now when trying to dev/build or access the site.. Strict standards: Declaration of SiteCommentConfigDecorator::updateCMSFields() should be compatible with that of DataExtension::updateCMSFields() in /mnt/hgfs/www/work_ss3.1/framework/core/manifest/ClassLoader.php on line 77
915: [08:59:44] <wmk> ss31noob, make it compatible ;)
916: [09:00:03] <wmk> public function updateCMSFields(FieldList $fields)
917: [09:00:24] <wmk> that's how it's defined in 3.1 DataExtension
918: [09:02:30] * T__O__T is now known as crapwagon
919: [09:03:46] <wmk> UncleCheese, new ss site gone live?
920: [09:03:50] <UncleCheese> yes
921: [09:06:43] <wmk> seems like urls are not parsed in forum
922: [09:07:01] <wmk> e.g. http://www.silverstripe.org/community/forums/general-questions/show/24648 seans answer
923: [09:07:17] <wmk> [url=http://doc.silverstripe.org....]
924: [09:08:52] * Shrike_Finland quit (Quit: Leaving.)
925: [09:10:57] * Tanger quit (Quit: Tanger)
926: [09:14:12] <wmk> UncleCheese, nice design
927: [09:16:16] * howardgrigg has joined #silverstripe
928: [09:20:42] * howardgrigg quit (Ping timeout: 245 seconds)
929: [09:25:07] * simon_w quit (Read error: Connection reset by peer)
930: [09:29:10] * simon_w has joined #silverstripe
931: [09:47:13] <ocmnt> nice job on the new website :)
932: [09:47:24] <ocmnt> though, why does it say SS 3.1.5 available?
933: [09:47:30] <ocmnt> isn't 3.1.6 stable?
934: [09:48:48] <simon_w> That's what the topic says
935: [09:49:33] <ocmnt> it says 3.1.5 indeed, but why not 3.1.6?
936: [09:49:49] <ocmnt> "SilverStripe 3.1.5 CMS and Framework stable is available to download" on ss.com
937: [09:50:09] * ss-log has joined #silverstripe
938: [09:51:45] <ocmnt> oh, and a little responsive flaw (really minor I guess): http://imgur.com/esq0UiA
939: [09:52:53] * wmk quit (Ping timeout: 272 seconds)
940: [09:54:20] * Sj0hn quit (Client Quit)
941: [10:08:32] * Azure has joined #silverstripe
942: [10:15:19] * zfmf has joined #silverstripe
943: [10:17:10] * howardgrigg has joined #silverstripe
944: [10:17:23] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
945: [10:21:53] * howardgrigg quit (Ping timeout: 272 seconds)
946: [10:24:04] * zfmf quit ()
947: [10:25:27] * Otterpocket has joined #silverstripe
948: [10:26:14] <Otterpocket> Hi, My BuildTask in Tasks need to read from some text files, where do I put the text files so I can call them with file_get_contents?
949: [10:26:59] <simon_w> Otterpocket, wherever
950: [10:27:20] <Otterpocket> If I put it in the Tasks directory, what is the path?
951: [10:27:47] <simon_w> If your PHP file's also in there, __DIR__ . '/filename.txt';
952: [10:27:58] <Otterpocket> simon_w: K, thanks
953: [10:28:06] <Pyfrdyk> Robke: yes.
954: [10:28:14] <Pyfrdyk> [09:38] <Robke> is it possible to load google map without any api key?
955: [10:29:08] <Pyfrdyk> but it's just a simple embed.
956: [10:29:19] <Otterpocket> Pyfrdyk: Yes
957: [10:30:07] <Pyfrdyk> the embed code and the link code are the same - only 1 get param difference. If you avhe this on a model it goes <iframe src="{$MapCode}&z=blah"></iframe> or something like that
958: [10:30:14] <Pyfrdyk> output=embed I think it is.
959: [10:30:35] <Otterpocket> Im, using JS do siplay a map with a pin in a specfic lat,long
960: [10:30:44] <Otterpocket> Without an api key
961: [10:32:11] <Pyfrdyk> [10:06] <wmk> seems like urls are not parsed in forum
962: [10:32:14] <Pyfrdyk> probably all short codes.
963: [10:32:48] <Pyfrdyk> Otterpocket: sounds like effort.
964: [10:33:09] <Pyfrdyk> I went simplest route I could. Also I first did that back in 2.4.
965: [10:35:33] <Pyfrdyk> email from client "URGENT: blah blah blah", reply "Hi client, can you please log this as a ticket." - JUST BOUGHT MYSELF A DAY OR TWO
966: [10:35:57] <Pyfrdyk> (can guarantee that a ticket won't be logged with ANY sorty of urgency)
967: [10:36:33] <Pyfrdyk> err, on their part - ticket will probably be marked critical when it comes in... for a mis matched email signature.
968: [10:40:05] <Robke> thanks guys :)
969: [10:43:37] * Stomach quit (Quit: zzz)
970: [11:07:21] * Adesso has joined #silverstripe
971: [11:07:40] <Adesso> Greetings all ..
972: [11:08:12] <Adesso> I have a Question regarding a onBeforeWrite feauture.. anybody hae 5 min ?
973: [11:08:44] * Adesso is not sure how to acces the structure for the DB
974: [11:08:53] <Adesso> maybe I just need a pointer..
975: [11:12:06] <ocmnt> Adesso, what is the problem?
976: [11:12:12] <ocmnt> just ask
977: [11:12:20] * Adesso sorry
978: [11:12:32] <Adesso> I have created 3 Page types ..
979: [11:12:55] <Adesso> 2 of which have a many_many ewlation to the 3 one
980: [11:13:12] <Adesso> this has a belong_to
981: [11:13:38] <Adesso> Using GridFieldConfig_RelationEditor
982: [11:14:09] <Adesso> you are then able to create a Article(the belong_to type) on either of the two pages
983: [11:14:25] <Adesso> and this is all 100% what I want..
984: [11:14:45] <Adesso> to clarify, the one Page type is LandingPage, and the other is Article Holder
985: [11:15:46] <Adesso> now I need to add a rule to the LandingPage Model to create a relation to the ArticleHolder when a Article is created in the LandingPage section...
986: [11:16:16] <Adesso> but I have no clue how to set this relation up ..
987: [11:16:46] <simon_w> Adesso, if you're doing it through a GridField, it is done for you automatically
988: [11:17:09] <Adesso> only to the current Relation ..
989: [11:17:34] <Adesso> or maybe I have setup my constructors wrong
990: [11:18:10] * Adesso checks the behaviour again
991: [11:18:16] * howardgrigg has joined #silverstripe
992: [11:18:55] <simon_w> Adesso, oh right. Which ArticleHolder do you want it to be related to?
993: [11:19:21] <Adesso> There will only always be one Article holder
994: [11:19:30] <Adesso> like a Archve
995: [11:19:42] <Adesso> but many LandingPages
996: [11:20:34] <Adesso> So if you create a Article in the Holder Page.. it is correct, and you can assign Landing Pages to it
997: [11:20:38] <simon_w> Adesso, then you could just do something like $this->ArticlerHolderID = ArticleHolder::get()->First()->ID; in onBeforeWrite on Article
998: [11:23:33] * howardgrigg quit (Ping timeout: 255 seconds)
999: [11:32:55] * Adesso just noticed that not everything is the way he described it
1000: [11:33:49] <Adesso> or wait ..
1001: [11:34:08] <Adesso> assigning Articles can be done in the respective LandingPages..
1002: [11:34:17] <Adesso> *constraint*
1003: [11:34:47] <Adesso> Iso you are saying that when I create a Article in the LandingPage
1004: [11:35:25] <Adesso> I should define $this->ArticleHolderID
1005: [11:35:43] <Adesso> and get the next available ID from the table
1006: [11:35:58] <Adesso> with First()
1007: [11:36:48] <Adesso> and then SS will magically know that it should make a entry in the ArticleHolder_Article table with this ID
1008: [11:39:04] <Adesso> @simon_w this onBeforeWrite, must his go in the Article Model... ?
1009: [11:39:27] <Adesso> casue my brain is telling me this is going to create duplicates if it goes there
1010: [11:39:31] <Adesso> or am I wrong
1011: [11:39:36] * Adesso tries it ..
1012: [11:39:50] <simon_w> Adesso, do you have a many_many between ArticleHolder and Article?
1013: [11:40:01] <Adesso> yes
1014: [11:40:14] <simon_w> But you've only got one ArticleHolder?
1015: [11:40:22] <simon_w> So why not make it a has_many?
1016: [11:40:34] <Adesso> true
1017: [11:40:43] * Adesso is on day 5 of SS... :)
1018: [11:41:14] <simon_w> So, you'll have a has_many in ArticleHolder to Article, then a has_one in Article to ArticleHolder
1019: [11:41:28] <Adesso> but then the LandingPage could also be has:many
1020: [11:41:29] <simon_w> Then, in onBeforeWrite on Article, you can set the ID of the has_one
1021: [11:41:42] <simon_w> Adesso, can an article be on multiple LandingPages?
1022: [11:41:48] <Adesso> Yes
1023: [11:41:59] <simon_w> Then you still want that to be a many_many
1024: [11:42:12] <Adesso> now this is where my head goes Boom
1025: [11:42:29] <Adesso> in Article I only have belongs_to
1026: [11:42:34] <Adesso> there is no has_one
1027: [11:42:49] <Adesso> and the belong _to has 2 array entries
1028: [11:43:23] <Adesso> ArticleHolder.Article and LandingPage.Article
1029: [11:44:01] <Adesso> or
1030: [11:44:09] <Adesso> 'Article' => 'ArticleHolder.Article',
1031: [11:44:16] <Adesso> 'Article' => 'LandingPage.Article'
1032: [11:44:21] <Adesso> is that right ?
1033: [11:44:45] <simon_w> A belomgs_to is the inverse of a has_one. You want a belongs_many_many to LandingPage
1034: [11:45:07] <simon_w> Have you done the tutorials?
1035: [11:45:20] <Adesso> yes..
1036: [11:45:25] <Adesso> twice already ..
1037: [11:45:36] <Adesso> but I am confused
1038: [11:46:22] <Adesso> so I setup a has_one to Article holder .
1039: [11:46:33] <Adesso> and a belong_many_may to LandingPage ..
1040: [11:47:35] * Adesso also has a fellow Programmer that only knows like SS 2.x ... and keeps confusing him
1041: [11:47:38] * simon_w quit (Quit: Ping timeout: your mum)
1042: [11:48:08] <Adesso> like a duael relationship
1043: [11:48:17] <Adesso> this would make sense
1044: [11:48:19] <Adesso> dual
1045: [11:48:48] * wmk has joined #silverstripe
1046: [11:50:00] * Adesso 's co_programmer is a copy_paste Programmer
1047: [11:50:33] * zippy has joined #silverstripe
1048: [11:51:45] <zippy> hi
1049: [11:53:12] * wmk quit (Ping timeout: 245 seconds)
1050: [11:54:37] <Adesso> and just before the crutial answer ..... he drops out :'(
1051: [11:55:01] * Adesso guess he will be doing the tutorial for the 3'de time
1052: [11:55:10] <Adesso> this can't tbe that difficult
1053: [11:56:47] * Shrike_Finland has joined #silverstripe
1054: [11:57:20] <zippy> Adesso: nope, it's not
1055: [11:57:22] * Colin[pi] quit (Ping timeout: 245 seconds)
1056: [11:57:32] <zippy> Adesso: whats the problem
1057: [11:58:13] <Adesso> you have log access? .. I just desribed it in detail ....
1058: [11:58:26] <Adesso> like the last 30 min
1059: [11:58:31] <Adesso> maybe 60
1060: [11:59:06] <Adesso> starting 13:12
1061: [12:00:00] <zippy> Adesso: drop your code in a paste bin
1062: [12:01:26] <Adesso> ArticleHolder - http://pastebin.com/zZ6uRWbS
1063: [12:02:24] <Adesso> Article.php - http://pastebin.com/5fy1bwZK
1064: [12:02:54] <Adesso> LandingPage.php
1065: [12:02:57] <Adesso> http://pastebin.com/rZb38SGb
1066: [12:04:51] <zippy> with the has_many and many_many, use plurals (it wont fix it, but it's nicer...) 'Article' => 'Article' --> 'Articles' => 'Article'
1067: [12:05:03] <zippy> thus you get $this->Articles(),
1068: [12:05:43] <Adesso> I did the singular so the DB Tables make more sense.. but I'll change it around
1069: [12:06:39] <zippy> your has_one in the article should be 'ArticleHolder' => 'ArticleHolder'
1070: [12:08:34] <Adesso> object reffrence pointing to the Model.. right
1071: [12:08:44] <zippy> the blong many_many would be 'LandingPages' => 'LandingPage'
1072: [12:09:00] <zippy> and the landing page many_many 'Articles' => 'Article'
1073: [12:09:08] <zippy> http://doc.silverstripe.org/framework/en/tutorials/5-dataobject-relationship-management - have a look at that
1074: [12:10:03] <zippy> yea so it's 'RelationName' => 'Model'
1075: [12:10:25] <Adesso> cool... I think I almost get it .. now the final question was ..
1076: [12:10:35] * willr quit (Quit: willr)
1077: [12:11:00] <Adesso> if I want to have all articles created in the LandingPage gridEditor to also be related to the Holding Page...
1078: [12:11:11] <Adesso> rule: ONly one Holding Page will ever exist
1079: [12:11:26] <Adesso> I have to do a OnBefore Write
1080: [12:11:57] <Adesso> but If I do this in the Article... then would it not create duplicates ?
1081: [12:12:01] <zippy> why do you use a real page type for the article page
1082: [12:12:10] <zippy> and put that udner the holding page in the site tree?
1083: [12:13:01] <zippy> You could set a OnBeforeWrite on the Article - that just had $this->ArticleHoldingPageID = ArticleHoldingPage::get()->first()->ID;
1084: [12:13:10] <Adesso> Because I don't want to list the 1000+ Articles in the site tree
1085: [12:13:33] <zippy> fair enough
1086: [12:13:53] <zippy> sorrt you have $this->ArticleHoldingID = ArticleHolding::get()->first()->ID;
1087: [12:14:54] <zippy> and make sure to do parent::onBeforeWrite() as well
1088: [12:15:10] <Adesso> just to make sure I understand it right.. this would however not work if no ArticleHolder PAge exist ..
1089: [12:15:11] <Adesso> right
1090: [12:15:38] <Adesso> or does it rely on the next available ID if nothing exist
1091: [12:16:06] * UndefinedOffset has joined #silverstripe
1092: [12:16:33] <Adesso> plus ... how does it know that when I create a article in LandingPages that it has to go to the other Table to add the id.
1093: [12:16:35] <zippy> If there is no article holder page, it will actually throw an error
1094: [12:17:02] <Adesso> SS really has alot of logic behind the curtains that it hides ..
1095: [12:17:04] <zippy> because we are setting it on the Article model - we are saying if ANY article is created always add it to the holder
1096: [12:17:10] <zippy> not logic, magic
1097: [12:17:17] <Adesso> true true
1098: [12:17:19] <Adesso> magic
1099: [12:17:53] <zippy> so you could do this so its more "robust" $articleHolding = ArticleHolding::get()->first(); then if($articleHolding) { $this->ArticleHoldingID = $articleHolding->ID; }
1100: [12:19:41] <zippy> all good?
1101: [12:19:54] <Adesso> not so sexy.. but I like the clear point of failure
1102: [12:20:12] * howardgrigg has joined #silverstripe
1103: [12:21:17] * Adesso dumps the tables ... and takes it for a spin :)
1104: [12:24:27] * howardgrigg quit (Ping timeout: 245 seconds)
1105: [12:27:07] * Sj0hn has joined #silverstripe
1106: [12:28:35] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
1107: [12:30:37] <Sj0hn> What does the following error mean exactly: Action 'fileexists' isn't available on class CheckableVisibilityField. Like i know where to look but I'm not sure whats going on xD
1108: [12:39:33] <Adesso> @zippy, it does not like the onBeforeWrite.. zippy - Article has a broken onBeforeWrite() function.
1109: [12:40:08] <Adesso> if I add $articleHolder = ArticleHolder::get()->first(); then it goes - syntax error, unexpected '::' (T_PAAMAYIM_NEKUDOTAYIM)
1110: [12:40:24] <Adesso> ??
1111: [12:44:34] * anselmdk has joined #silverstripe
1112: [12:44:37] <Adesso> 7me is reading http://doc.silverstripe.org/framework/en/3.1/topics/datamodel
1113: [12:44:57] * anselmdk quit (Client Quit)
1114: [12:45:48] * Adesso unlike the getCMSFields... the parent calss should be called last ..
1115: [12:45:53] <Adesso> class..
1116: [12:47:27] <Adesso> Seems to almost work.... well actually it does..
1117: [12:47:44] <Adesso> it makes a cute drop-down in the LandingPage with the Holder Page in there
1118: [12:48:16] <Adesso> just not selected
1119: [12:59:04] * Adesso is wondering how he can stop the magic ;)
1120: [13:03:37] * Robke quit (Ping timeout: 246 seconds)
1121: [13:05:31] * Shrike_Finland quit (Quit: Leaving.)
1122: [13:08:52] <Adesso> I think the most difficult part of SS is trying to figure out what the magic is, and how to change it
1123: [13:19:44] * micmania1 quit (Quit: micmania1)
1124: [13:21:42] * howardgrigg has joined #silverstripe
1125: [13:23:38] <Adesso> Anybody have a clue how I get the Children of a Page that have DataObject'S related to it for the Template
1126: [13:23:51] <Pyfrdyk> Adesso: <% loop Children %>
1127: [13:24:02] <Pyfrdyk> Adesso: none of it is magic, it's just knowing what is possible ;)
1128: [13:24:32] <Adesso> does nothing
1129: [13:24:41] <Pyfrdyk> then you have no children, or are in the wrong scope.
1130: [13:24:47] <Adesso> only gives me the Page Content
1131: [13:24:52] <Adesso> but not the Children
1132: [13:24:55] <Adesso> :/
1133: [13:25:22] <Pyfrdyk> <ul><% loop Children %><li>$Title</li><% end_loop %></ul>
1134: [13:26:12] * howardgrigg quit (Ping timeout: 260 seconds)
1135: [13:26:16] <Adesso> The Parent has a has_many relation to a DataObject
1136: [13:26:21] <Adesso> 's
1137: [13:26:35] <Pyfrdyk> then they are not children.
1138: [13:26:38] <Adesso> how do I get into that set of Children
1139: [13:26:40] <Pyfrdyk> they are whatever you named it.
1140: [13:26:50] <Pyfrdyk> Adesso: If I could draw you a picture, I would.
1141: [13:26:57] <Pyfrdyk> I think it would help you understand a lot.
1142: [13:27:19] * Adesso totally agrees
1143: [13:27:31] <Pyfrdyk> alright, I'll do it. Sick of work anyway :P
1144: [13:27:40] <Adesso> lol
1145: [13:27:45] <Pyfrdyk> where from Adesso ?
1146: [13:27:52] <Adesso> Germany
1147: [13:28:04] <Pyfrdyk> cool :)
1148: [13:28:05] * Adesso is a imagrant
1149: [13:28:23] <ss31noob> i have a model admin for a dataobject.. how can i remove the Add <dataObject> button in the model admin?
1150: [13:28:29] <Pyfrdyk> oh, so where from Adesso ?
1151: [13:28:38] * Pyfrdyk is also an immagrant
1152: [13:28:44] <Pyfrdyk> immigrant*
1153: [13:29:06] * Adesso is actually a Boer - aka South African
1154: [13:29:12] <Adesso> you ?
1155: [13:29:12] <ocmnt> Pyfrdyk, are you an instammagrant?
1156: [13:29:13] <Pyfrdyk> ss31noob: $gridfield->getConfig()->removeComponentByName('...
1157: [13:29:24] <Pyfrdyk> ocmnt: no, I don't take photos of my food.
1158: [13:29:29] <Pyfrdyk> I eat it instead.
1159: [13:29:39] <Pyfrdyk> Adesso: saffa eh?
1160: [13:29:40] <ocmnt> OWL RLY?
1161: [13:29:45] * Pyfrdyk is kiwi
1162: [13:29:48] <ocmnt> is that what food is ment for?
1163: [13:29:49] <Pyfrdyk> in UK
1164: [13:29:54] <ocmnt> kiwi, I eat kiwi's every now and then
1165: [13:30:02] <ocmnt> the bird and the fruit
1166: [13:30:03] <Pyfrdyk> no, you eat Kiwifruit.
1167: [13:30:07] <ss31noob> Pyfrdyk, so i need to create a gridfield?
1168: [13:30:08] <Adesso> Pyfrdyk I have family there in kiwi-land
1169: [13:30:13] <Adesso> and freinds in London
1170: [13:30:14] <ocmnt> Pyfrdyk ^
1171: [13:30:15] <Pyfrdyk> ss31noob: well you already have one.
1172: [13:30:28] <Pyfrdyk> Adesso: lol, most safas do :P
1173: [13:30:35] <Pyfrdyk> It seems.
1174: [13:30:39] <ss31noob> because right now.. if i just put like a public static $managed_models = array( 'SiteComments' );
1175: [13:30:47] * Adesso waits a bit before this become a s***t-storm
1176: [13:30:56] <Pyfrdyk> ss31noob: $this->getEditForm() iirc
1177: [13:31:00] <ss31noob> it will just automically create a gridfield like with Add button stuff right
1178: [13:31:02] <Pyfrdyk> check api.ss.org.nz
1179: [13:31:20] <Pyfrdyk> ss31noob: ModelAdmin IS just a big GridField.
1180: [13:31:23] <Pyfrdyk> predefined.
1181: [13:32:41] <Pyfrdyk> Adesso: what is your PHP experience?
1182: [13:32:49] <Adesso> 15 years +
1183: [13:32:56] <Pyfrdyk> OOP?
1184: [13:33:05] <Adesso> 3-4 years
1185: [13:33:09] <Pyfrdyk> MVC?
1186: [13:33:14] <Adesso> also
1187: [13:33:21] <Pyfrdyk> Righto
1188: [13:35:40] * Adesso stepps outside.. for a smoke
1189: [13:44:37] * muskie9 has joined #silverstripe
1190: [13:49:22] <Adesso> so Pyfrdyk
1191: [13:49:31] <Adesso> I am ready for that picture of wisdom
1192: [13:49:54] <Pyfrdyk> getting there.
1193: [13:50:04] <Pyfrdyk> decided it was easier to hml rather than img.
1194: [13:50:09] <Pyfrdyk> +t
1195: [13:53:18] * ARNHOE_ has joined #silverstripe
1196: [13:55:41] * ARNHOE quit (Ping timeout: 258 seconds)
1197: [14:00:38] <Adesso> After looking at the Tutorial code again.. it seems that all Children are retrieved in the output, So I tried my has_many var_name..
1198: [14:00:41] <Adesso> nuttin
1199: [14:01:11] <Adesso> I feel like I am playing Battelship agains SS
1200: [14:01:16] <Adesso> and I am loosing
1201: [14:01:27] <Adesso> big time
1202: [14:02:07] * CodeTrap has joined #silverstripe
1203: [14:03:32] * muskie9_ has joined #silverstripe
1204: [14:03:47] <Pyfrdyk> Adesso: it's not var name, it's what you define it as. The array key.
1205: [14:03:57] <Pyfrdyk> name => type
1206: [14:03:58] * Adesso to SS -->D4
1207: [14:04:00] <Pyfrdyk> is the format
1208: [14:04:10] <Pyfrdyk> neg
1209: [14:04:12] <Pyfrdyk> SS ftw
1210: [14:04:45] <Adesso> Pyfrdyk that's what I ment .. the array key
1211: [14:04:48] <Adesso> or name
1212: [14:04:57] <Adesso> as you said
1213: [14:04:59] <Pyfrdyk> <% loop RelName %>
1214: [14:05:06] <Pyfrdyk> gotta be in the right scope though
1215: [14:05:16] <Adesso> so you loop the Children, then loop the name
1216: [14:05:24] * veb_ has joined #silverstripe
1217: [14:05:31] * Shrike_Finland has joined #silverstripe
1218: [14:05:34] <Pyfrdyk> what? no.
1219: [14:05:42] * muskie9_ quit (Client Quit)
1220: [14:05:51] <Adesso> mmm but I am in a Page, and the Objects are DataObjects.. so I am guessing they are not int the same scope
1221: [14:06:08] * muskie9_ has joined #silverstripe
1222: [14:06:13] <Adesso> cause I get no output
1223: [14:06:29] <Adesso> Just the Page Content... not the Children Content
1224: [14:06:41] <Pyfrdyk> class MyThing extends DataObject{private static $has_many = ['OtherThings' => 'SomeOtherThing']}
1225: [14:06:51] <Pyfrdyk> <% loop OtherThings %>
1226: [14:07:07] <Adesso> nested in Children or not
1227: [14:07:21] <Pyfrdyk> I think you'll have to paste some code, I can't follow you.
1228: [14:07:32] <Adesso> sec
1229: [14:08:15] <Adesso> Let me make a Pastebin account.. before I go nuts
1230: [14:09:03] * muskie9_ quit (Client Quit)
1231: [14:10:16] * muskie9 quit (*.net *.split)
1232: [14:10:17] * Otterpocket quit (*.net *.split)
1233: [14:10:19] * CodeTrap1 quit (*.net *.split)
1234: [14:10:23] * veb quit (*.net *.split)
1235: [14:10:23] * eagles0513875 quit (*.net *.split)
1236: [14:10:56] * muskie9 has joined #silverstripe
1237: [14:11:47] * eagles0513875 has joined #silverstripe
1238: [14:12:30] <Adesso> http://pastebin.com/u/Adesso
1239: [14:13:02] <Adesso> wow, the stuff is getting hit like crazy
1240: [14:13:38] <Adesso> so the setup is actually simple I think
1241: [14:13:52] <Adesso> but it's driving me nuts
1242: [14:14:21] <Adesso> Artile can be created in LandingPages but must always be in the Holder Page
1243: [14:14:27] <Adesso> Articles
1244: [14:14:39] <Adesso> as a kind of Archive
1245: [14:14:58] <Adesso> now I just wanne aoutput some tesers .. that link to the Articles.
1246: [14:15:08] <Adesso> no rocket science .. I think
1247: [14:17:30] * Otterpocket has joined #silverstripe
1248: [14:19:07] <Pyfrdyk> Adesso: http://paste2.org/ksJXbwt9
1249: [14:20:22] <Pyfrdyk> Adesso: so what's the format for these three files?
1250: [14:20:27] <Pyfrdyk> explain to me your usecase
1251: [14:21:04] <Adesso> I like your page...
1252: [14:21:07] <Adesso> Thanks ..
1253: [14:21:26] <Adesso> ok UseCase...
1254: [14:22:04] <Adesso> Site has a Magazine section... that will have +n articles that could have a relation to Sections in the Site
1255: [14:22:22] <Adesso> be it the Start Page or Cat page
1256: [14:22:35] <Pyfrdyk> Adesso: so basically what is the difference between articleholder and landingpage?
1257: [14:22:36] * howardgrigg has joined #silverstripe
1258: [14:23:08] <Adesso> Article Holder is the Magazine.. and will always have all Articles in it
1259: [14:23:22] <Adesso> LandingPage will only have the relevant Artile at the time+n
1260: [14:23:29] <Adesso> Article
1261: [14:23:58] <Pyfrdyk> hmm, in in that case I probably wouldn't even bother with a relation in ArticlePage
1262: [14:24:18] <Pyfrdyk> just public function getArticles() { return Article::get(); }
1263: [14:24:44] <Pyfrdyk> maybe ->filter(['visible/published/whatever' => true])
1264: [14:25:18] <Adesso> the relation is really just to make the navigation simpler
1265: [14:25:36] <Adesso> as the Magazin page will have a search and indexed pages etc...
1266: [14:25:53] <Adesso> and most likly a diffrent but similat layout
1267: [14:25:58] * catcher has joined #silverstripe
1268: [14:25:59] <Adesso> similar
1269: [14:26:43] <Adesso> you think that the has_one relation is not required then ?
1270: [14:27:20] * howardgrigg quit (Ping timeout: 260 seconds)
1271: [14:27:46] * Adesso has to say that getting this far went like lightning..
1272: [14:27:55] <Adesso> but now I am feeling the sting ..
1273: [14:32:19] * Adesso is framing the drawing on SS relations.. Brilliant
1274: [14:36:21] <Adesso> Pyfrdyk thanks for the help... and enjoy your weekend man... TGIF
1275: [14:36:21] * eagles0513875 quit (Quit: ZNC @ TrekWeb - https://trekweb.org)
1276: [14:37:00] <Adesso> it's time to go play... Happy Weekend all ;)
1277: [14:40:45] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
1278: [14:41:02] * Adesso quit (Quit: EOD - EOW)
1279: [14:42:16] * muskie9 has joined #silverstripe
1280: [14:43:11] * Sj0hn quit ()
1281: [14:45:55] * spronkey has joined #silverstripe
1282: [14:47:34] * R\w\C has joined #silverstripe
1283: [14:47:37] <R\w\C> hey guys
1284: [14:47:52] <R\w\C> is there a reason you cant have a unique field name in the database?
1285: [14:48:19] * spronk quit (Ping timeout: 272 seconds)
1286: [14:48:30] * scpi has joined #silverstripe
1287: [14:48:50] <R\w\C> i want the database handling unique entries and discarding entries that have a duplicate fieldname
1288: [14:50:49] * eagles0513875 has joined #silverstripe
1289: [15:00:59] * UndefinedOffset quit (Disconnected by services)
1290: [15:01:00] * UndefinedOffset1 has joined #silverstripe
1291: [15:01:28] * StefanLehmann has joined #silverstripe
1292: [15:03:00] * spronk2 quit (Quit: spronk2)
1293: [15:05:51] * StefanLehmann_ quit (Ping timeout: 260 seconds)
1294: [15:13:56] <Pyfrdyk> R\w\C: you can.
1295: [15:14:19] <R\w\C> yes there is a unique model feature, but that does not make it unique in the database
1296: [15:14:22] <Pyfrdyk> have to manipulate the table_options config for that though I think.
1297: [15:14:33] <R\w\C> oh okay let me look at that
1298: [15:15:09] <Pyfrdyk> there's something like that
1299: [15:15:18] <R\w\C> which part of the documentation will that be under?
1300: [15:15:30] <Pyfrdyk> cf. FulltextSearchable, it manipulates the db to do stuff like that (it changes engine)
1301: [15:17:22] <R\w\C> urg im not following i cant find anything on table_options
1302: [15:17:30] <Pyfrdyk> fulltextsearchable.
1303: [15:17:39] <Pyfrdyk> look at it.
1304: [15:17:43] <R\w\C> oh right ok ty
1305: [15:17:46] <R\w\C> what does cf. mean?
1306: [15:18:26] <Pyfrdyk> o.0
1307: [15:18:34] <Pyfrdyk> aren't you American?
1308: [15:18:39] <R\w\C> na
1309: [15:18:49] <Pyfrdyk> English speaking?
1310: [15:19:03] <R\w\C> african
1311: [15:19:08] <Pyfrdyk> Sorry, must have you confused with someone else.
1312: [15:19:14] <Pyfrdyk> means 'see'.
1313: [15:19:16] <Pyfrdyk> basically.
1314: [15:19:19] <R\w\C> oh lol okay
1315: [15:19:29] <R\w\C> i thought it stood for coldfusion ^_^
1316: [15:19:33] <Pyfrdyk> http://en.wikipedia.org/wiki/Cf.
1317: [15:19:51] <Pyfrdyk> haha, yeah, well there is that. But CF isn't a thing so far as most of everybody is concerned :P
1318: [15:20:14] <catcher> Coincidentally, the first line: .cf, the Top-Level Domain for Central African Republic
1319: [15:20:41] <Pyfrdyk> http://api.silverstripe.org/3.1/source-class-FulltextSearchable.html#55
1320: [15:20:52] <Pyfrdyk> create_table_options
1321: [15:21:05] <Pyfrdyk> I don't think you'll find many docs on it thoguh, unfortuantely :(
1322: [15:21:08] <R\w\C> basically i need to have a field unique so when i use a outside-of-ss script to import data it doesnt keep a bunch of records that are the same
1323: [15:21:23] <R\w\C> im using the restful-api to import the data
1324: [15:21:46] <R\w\C> and i dont wanna make the field unique but when i rebuild the database it turns off the unique field
1325: [15:22:00] <R\w\C> or maybe i forget when i move db
1326: [15:22:53] <Pyfrdyk> R\w\C: http://api.silverstripe.org/3.1/source-class-DB.html#311-328
1327: [15:23:26] <R\w\C> oh shit
1328: [15:23:32] <R\w\C> thats exactly what im after
1329: [15:23:40] * howardgrigg has joined #silverstripe
1330: [15:23:46] <R\w\C> its a pity this stuff isnt documented so well :(
1331: [15:23:52] <Pyfrdyk> if you're not using MySQL you might be able to use a contstraint
1332: [15:24:01] <Pyfrdyk> not sure if mysql supports them though
1333: [15:24:02] <R\w\C> im using mysql
1334: [15:24:19] * ss31noob quit (Ping timeout: 246 seconds)
1335: [15:24:22] <Pyfrdyk> R\w\C: yeah, you don't call that method directly, you manipulate the options through the $options param
1336: [15:24:59] <Pyfrdyk> http://api.silverstripe.org/3.1/source-class-SS_Database.html#314-385
1337: [15:25:36] <Pyfrdyk> :( might not be able to support anything more than ENGINE= :(
1338: [15:25:49] <Pyfrdyk> pull request time! :P
1339: [15:26:01] <R\w\C> so can i uniquify a field?
1340: [15:26:17] <Pyfrdyk> not sure
1341: [15:26:20] <Pyfrdyk> best to give it a go :P
1342: [15:26:54] <R\w\C> oh im using the cms will that hinder my $options usage?
1343: [15:28:20] * ec8or__ has joined #silverstripe
1344: [15:28:24] * tmk has joined #silverstripe
1345: [15:28:27] <Pyfrdyk> nope, shouldn't.
1346: [15:28:40] * howardgrigg quit (Ping timeout: 272 seconds)
1347: [15:28:45] <R\w\C> okay sorry for all the questions im still learning ss
1348: [15:28:48] * ARNHOE_ quit ()
1349: [15:29:04] <R\w\C> all the previous mvc frameworks iv build myself so i usually have a good idea how it works
1350: [15:29:27] * lenix- has joined #silverstripe
1351: [15:29:33] * babak quit (Quit: Connection closed for inactivity)
1352: [15:29:39] <Pyfrdyk> R\w\C: yeah, looks like it only supports the ENGINE= command at the moment :(
1353: [15:29:47] <Pyfrdyk> sorry!
1354: [15:29:54] <R\w\C> the cms?
1355: [15:29:56] <tmk> Anyone else having trouble getting the mollom add-on to work with userforms? I've added them according to the docs, no errors are surfacing, the Mollom field only displays after the form is submitted. Seems like a session or cookie problem. Ideas?
1356: [15:30:02] <Pyfrdyk> R\w\C: all of it.
1357: [15:30:14] <Pyfrdyk> tmk: that's how mollom works.
1358: [15:30:30] <Pyfrdyk> if it thinks you're submitting spam it'll ask for a captcha.
1359: [15:30:44] <Pyfrdyk> otherwise it just goes straight through, no captcha
1360: [15:30:52] <Pyfrdyk> (mollom still checks it)
1361: [15:31:02] <R\w\C> Pyfrdyk do you think I could change it to allow unique fields?
1362: [15:31:12] <tmk> oh, its been a while since i used it, new policy?
1363: [15:31:15] <Pyfrdyk> R\w\C: I think if you alter the table manually it should stick
1364: [15:31:22] <Pyfrdyk> tmk: no, always been the policy
1365: [15:31:26] <Pyfrdyk> afaik
1366: [15:31:31] * ajmitch_ has joined #silverstripe
1367: [15:31:44] * ec8or_ quit (Ping timeout: 252 seconds)
1368: [15:31:45] * lenix quit (Read error: Connection reset by peer)
1369: [15:31:48] * ajmitch quit (Ping timeout: 250 seconds)
1370: [15:31:48] * Kolin quit (Ping timeout: 250 seconds)
1371: [15:31:51] <Pyfrdyk> you can force it to show always, but not sure if userforms does that (since it's auto setup)
1372: [15:31:55] <R\w\C> Pyfrdyk - i dont wanna move away from altering tables i like the idea of building a db from scratch and everything works
1373: [15:32:02] <tmk> hmm, I thought hte field always used to display (unless you were logged in as an admin).
1374: [15:32:27] <R\w\C> Pyfrdyk i might make a seperate builder as a holding area for my custom scripts and import them into ss when i have reviewed the data :)
1375: [15:32:36] <R\w\C> sepearte builder = sql builder*
1376: [15:32:41] * Kolin has joined #silverstripe
1377: [15:34:15] * DimiStripe has joined #silverstripe
1378: [15:34:54] <DimiStripe> Hey guys, just created a post about new SS forum look and feel . Please comment , I'm very much interested if anyone finds new structure is any easier than it was ? http://www.silverstripe.org/community/forums/showcase-questions/show/74680
1379: [15:34:59] <tmk> either way, it works, im happy
1380: [15:39:22] * tmk quit (Ping timeout: 246 seconds)
1381: [15:40:39] * UndefinedOffset1 is now known as UndefinedOffset
1382: [15:45:54] <Pyfrdyk> R\w\C: well you could define your own database class, subclassing MySQLDatabase - edit that one function, then use that in your Database definiton in your config instead. That would work, and you wouldn't need to hack the core.
1383: [15:46:15] <Pyfrdyk> ie, add support for unique
1384: [15:46:21] <Pyfrdyk> in the create options
1385: [15:46:47] <Pyfrdyk> R\w\C: it might pay to grep/read the rest of the database code, unique may be supported somewhere else, but I don't know of it.
1386: [15:47:11] <Pyfrdyk> but the idea solution here would be to edit the core, write a test for it, then make a pull request :)
1387: [15:47:18] <Pyfrdyk> then it'll be supporte. :P
1388: [15:47:26] <Pyfrdyk> +d
1389: [15:49:33] <R\w\C> would this be the right start?
1390: [15:49:33] <R\w\C> public static $db_unique = array (
1391: [15:49:34] <R\w\C> 'url' => 'Text'
1392: [15:49:34] <R\w\C> }
1393: [15:49:54] <Pyfrdyk> uhh, no Idea worry. I'm not a DB guy.
1394: [15:49:55] <R\w\C> in my mysqite/code/resultItem.php
1395: [15:50:18] <Pyfrdyk> but probably not. Probably just use the create_table_options
1396: [15:51:03] * babak has joined #silverstripe
1397: [15:54:31] * Shrike_Finland quit (Quit: Leaving.)
1398: [15:58:48] <R\w\C> what does create_table_options actually do
1399: [15:59:26] <R\w\C> private static $create_table_options = array(
1400: [15:59:27] <R\w\C> 'MySQLDatabase' => 'UNIQUE (`fieldname`)'
1401: [15:59:27] <R\w\C> );
1402: [15:59:29] <R\w\C> can i do that?
1403: [16:01:35] <Pyfrdyk> it suplies extra options on table creation
1404: [16:02:35] <Pyfrdyk> and you can try that, yes. But it won't do anything because it doesn't pick up 'UNIQUE' - only 'ENGINE'
1405: [16:03:22] <Pyfrdyk> unless you're doing like I suggested and modifying to make it pick it up :>
1406: [16:03:36] <R\w\C> ok tyring to figure that out now :)
1407: [16:06:20] <R\w\C> i dont even know where to start :(
1408: [16:06:25] <R\w\C> i might just write this off
1409: [16:06:42] <R\w\C> im looking at the ln 239 of MySQLDatabase.php
1410: [16:06:58] <R\w\C> add options = $options[get_class($this)]
1411: [16:07:31] <R\w\C> means i gotta go figure out what get_class does
1412: [16:18:29] * DimiStripe quit (Quit: Page closed)
1413: [16:20:05] <Pyfrdyk> R\w\C: returns a string of the class name of the current instance ($this)
1414: [16:20:11] <Pyfrdyk> ie, 'MySQLDatabase'
1415: [16:24:41] * howardgrigg has joined #silverstripe
1416: [16:29:03] * howardgrigg quit (Ping timeout: 246 seconds)
1417: [16:30:55] <Pyfrdyk> weekend!
1418: [16:30:57] * Pyfrdyk quit ()
1419: [16:34:04] * jenniferaslan has joined #silverstripe
1420: [16:34:34] * Otterpocket quit (Quit: WeeChat 0.4.1)
1421: [16:36:04] * jenniferaslan quit (Client Quit)
1422: [16:48:54] * R\w\C quit (Quit: My iMac has gone to sleep. ZZZzzz…)
1423: [16:49:36] * Liongold has joined #silverstripe
1424: [16:49:40] <Liongold> Hi
1425: [16:53:01] * jenniferaslan has joined #silverstripe
1426: [16:54:59] * stnvh quit ()
1427: [17:16:51] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
1428: [17:17:21] * Liongold has left #silverstripe
1429: [17:25:45] * howardgrigg has joined #silverstripe
1430: [17:29:52] * howardgrigg quit (Ping timeout: 245 seconds)
1431: [17:40:28] * gelignite has joined #silverstripe
1432: [18:08:24] * Liongold has joined #silverstripe
1433: [18:08:26] <Liongold> Hi
1434: [18:08:53] <Liongold> Do sessions get cleared automatically between refreshes, please?
1435: [18:09:18] <catcher> Liongold, I hope not!
1436: [18:09:46] <Liongold> catcher: How can I make it clear?
1437: [18:10:08] <catcher> Liongold, most browsers will let you clear it
1438: [18:10:24] <Liongold> catcher: The silverstripe session?
1439: [18:10:27] * ThePeach quit (Quit: leaving)
1440: [18:10:45] <Liongold> I mean the one like Session::set....
1441: [18:11:08] <catcher> http://api.silverstripe.org/3.1/class-Session.html#_clear
1442: [18:12:04] <Liongold> What's the difference between clear and clear all?
1443: [18:15:37] <catcher> Liongold, clear is for clearing just one key, clear_all will clear them all.
1444: [18:15:42] <Liongold> catcher: I got undefined method error with Session::clearAll()
1445: [18:17:05] <Liongold> catcher: Sorry wrong name. It works nowe.
1446: [18:26:57] * howardgrigg has joined #silverstripe
1447: [18:30:33] * muskie9 has joined #silverstripe
1448: [18:31:29] * howardgrigg quit (Ping timeout: 260 seconds)
1449: [18:33:44] <catcher> Liongold, glad to hear it
1450: [18:34:10] <Liongold> catcher: Actually, the error cleared up but the main problem is still there.
1451: [18:35:30] <Liongold> catcher: Could the form be not prefilled because I'm using an incognito window?
1452: [18:47:24] * muskie9 is now known as _muskie9_
1453: [18:47:52] * _muskie9_ is now known as muskie9
1454: [18:51:51] * muskie9_ has joined #silverstripe
1455: [18:52:02] * muskie9_ quit (Client Quit)
1456: [18:52:24] * muskie9 quit (Ping timeout: 260 seconds)
1457: [18:53:05] * muskie9 has joined #silverstripe
1458: [19:27:52] * howardgrigg has joined #silverstripe
1459: [19:32:15] * howardgrigg quit (Ping timeout: 258 seconds)
1460: [19:37:51] * Liongold quit (Quit: Page closed)
1461: [19:44:33] * muskie9 is now known as _muskie9_
1462: [19:45:05] * _muskie9_ quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
1463: [19:45:35] * muskie9 has joined #silverstripe
1464: [20:04:48] * UndefinedOffset quit (Quit: Leaving.)
1465: [20:14:37] * Azure quit (Ping timeout: 260 seconds)
1466: [20:28:54] * howardgrigg has joined #silverstripe
1467: [20:33:50] * howardgrigg quit (Ping timeout: 272 seconds)
1468: [20:42:45] <jenniferaslan> Are you guys using 3.1.6 now?
1469: [20:49:28] * spronk2 has joined #silverstripe
1470: [20:50:21] <jenniferaslan> I have just installed a new SS 3.1.6 site and whenever I move from one page to another in the CMS, whether changes are saved or not, I get that message that asks me if I really want to navigate away and lose unsaved changes.
1471: [20:52:48] * zippy has joined #silverstripe
1472: [20:56:16] * zippy quit (Client Quit)
1473: [21:00:27] * zippy has joined #silverstripe
1474: [21:08:19] * CodeTrap quit (Remote host closed the connection)
1475: [21:08:39] * CodeTrap has joined #silverstripe
1476: [21:19:34] * muskie9 is now known as _muskie9_
1477: [21:19:35] * _muskie9_ quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
1478: [21:26:36] * muskie9 has joined #silverstripe
1479: [21:28:00] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
1480: [21:30:15] * howardgrigg has joined #silverstripe
1481: [21:32:02] <jenniferaslan> Never mind. I figured out that it was happening because an add-on in Firefox was adding code to the page. I removed the add-on and everything is cool now.
1482: [21:32:15] * scpi has left #silverstripe
1483: [21:34:23] * howardgrigg quit (Ping timeout: 244 seconds)
1484: [21:34:38] <madmatt> jenniferaslan: Interesting, which addon?
1485: [21:35:22] <jenniferaslan> I think it was called Pin It. It was for Pinterest, but not the official one.
1486: [21:36:48] <jenniferaslan> It was a script that would add a "pin" button to each image on a page when they were hovered. It was inserting it into the HTML of the TinyMCE
1487: [21:51:38] * catcher quit (Quit: Leaving)
1488: [21:52:11] * spronk2 quit (Quit: spronk2)
1489: [21:55:27] <madmatt> ahh I see
1490: [21:56:23] * spronk2 has joined #silverstripe
1491: [22:11:50] * spronk2 quit (Quit: spronk2)
1492: [22:13:14] * Colin[pi] has joined #silverstripe
1493: [22:14:05] * muskie9 is now known as _muskie9_
1494: [22:14:06] * _muskie9_ quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
1495: [22:14:32] * Colin[pi] quit (Client Quit)
1496: [22:26:42] * marbus90 has joined #silverstripe
1497: [22:27:26] <marbus90> all your base are belong to us .. you there veb_ ?
1498: [22:28:20] * simon_w has joined #silverstripe
1499: [22:31:21] * howardgrigg has joined #silverstripe
1500: [22:35:56] * howardgrigg quit (Ping timeout: 272 seconds)
1501: [22:42:03] * willr has joined #silverstripe
1502: [22:44:38] * vebb has joined #silverstripe
1503: [22:48:07] * howardgrigg has joined #silverstripe
1504: [23:10:25] * vebb quit (Quit: preprocessor-irc-cli)
1505: [23:30:36] * Azure has joined #silverstripe
1506: [23:35:33] <veb_> marbus90: nope not for a second
1507: [23:35:36] * veb_ quit (Quit: brb)
1508: [23:37:27] * spronk2 has joined #silverstripe
1509: [23:38:33] * adrexia_ has joined #silverstripe
1510: [23:42:21] * willr quit (Quit: willr)
1511: [23:44:30] * willr has joined #silverstripe
1512: [23:47:52] * muskie9 has joined #silverstripe
1513: [23:47:59] * spronk2 quit (Quit: spronk2)

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