#silverstripe IRC Log

IRC log for 10 October 2014

All timestamps are in UTC.

1: [00:11:47] * Ryan-Toast quit (Quit: Ryan-Toast)
2: [00:15:16] * micmania1 quit (Quit: micmania1)
3: [00:15:30] <irogue_> for the two people in the office who are religiously anti-violence, the King of Fighters '98 battle between Dr. J and Oly was incredibly good
4: [00:22:02] * tractorcow has joined #silverstripe
5: [00:23:26] * caamic30 has joined #silverstripe
6: [00:30:23] * zippy has joined #silverstripe
7: [00:31:04] <nicolaas_> religiously anti violence = oxymoron?
8: [00:31:23] * nickmolhoek quit (Ping timeout: 240 seconds)
9: [00:34:03] * Ryan-Toast has joined #silverstripe
10: [00:34:40] * irgbit quit (Remote host closed the connection)
11: [00:34:41] * caamic30 quit (Quit: caamic30)
12: [00:34:48] * willr quit (Ping timeout: 260 seconds)
13: [00:39:08] * irgbit has joined #silverstripe
14: [00:40:28] * nickmolhoek has joined #silverstripe
15: [00:40:46] * irgbit quit (Remote host closed the connection)
16: [00:41:21] * irgbit has joined #silverstripe
17: [00:41:22] * irgbit quit (Remote host closed the connection)
18: [00:41:37] * irgbit has joined #silverstripe
19: [00:41:56] * caamic30 has joined #silverstripe
20: [00:44:15] * caamic30 has left #silverstripe
21: [00:53:39] * travis-ci has joined #silverstripe
22: [00:53:39] <travis-ci> silverstripe/silverstripe-framework#3441 (htmltext_remove_domdocument - ba73f44 : Sean Harvey): The build has errored.
23: [00:53:39] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/commit/ba73f44fa2a7
24: [00:53:39] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/37557070
25: [00:53:39] * travis-ci has left #silverstripe
26: [01:02:48] * tractorcow has left #silverstripe
27: [01:06:06] <Ryan-Toast> how do you get paeges Level in the controller?
28: [01:07:12] <Colin[pi]> Ryan-Toast: huh?
29: [01:07:21] <Colin[pi]> oh I see
30: [01:07:23] <Ryan-Toast> Colin[pi]: like checking if a page is a root page
31: [01:07:38] <Colin[pi]> Ryan-Toast: check for ParentID ?
32: [01:07:43] <Ryan-Toast> ah, kk
33: [01:12:32] <Colin[pi]> fuck sake xbox music, stop being retarded
34: [01:13:14] <simon_w> Lunch time!
35: [01:16:27] * Tanger has joined #silverstripe
36: [01:17:20] <Colin[pi]> quiet in here today
37: [01:17:29] <Colin[pi]> everyone's either really busy.. or in "Friday" mode"
38: [01:17:44] <Ryan-Toast> Can confirm. In Friday-summer’s-coming mode
39: [01:17:50] * simon_w is breaking shit!
40: [01:18:01] <Ryan-Toast> simon_w: stahp
41: [01:18:05] <Colin[pi]> simon_w: sounds messy
42: [01:19:36] <Ryan-Toast> Colin[pi]: how’s the cms thingy coming?
43: [01:21:15] * novaweb is dreading tonight's visit to Symes De Silva dentist :*
44: [01:21:27] <Colin[pi]> Ryan-Toast: still on hold while I finish paid work
45: [01:21:39] <Colin[pi]> Ryan-Toast: will hopefully have some more time in a week or two
46: [01:22:09] <Ryan-Toast> Colin[pi]: good. goooooood
47: [01:22:16] <Colin[pi]> novaweb: the way I think about it is, the longer I put off going to the dentist, the worse it'll be
48: [01:22:59] <Colin[pi]> Ryan-Toast: over the xmas hols when it's quiet I have a big list of things to do :o
49: [01:23:15] <Ryan-Toast> Colin[pi]: Me too. Usually it’s just a list of beaches and beers.
50: [01:23:30] <Colin[pi]> Ryan-Toast: ha, I wish.. well, maybe for some of it
51: [01:24:13] <Ryan-Toast> so apparently once you’ve set $allowed_children, changing it doesn’t do shit.
52: [01:24:29] <Colin[pi]> Ryan-Toast: nope
53: [01:24:39] <Ryan-Toast> Colin[pi]: what do?
54: [01:24:39] <novaweb> Colin[pi] I left a hole in my tooth for four years :/ Uh oh.
55: [01:24:41] <Colin[pi]> well, not after page load
56: [01:24:50] <Ryan-Toast> Colin[pi]: did a devbuild and a flush
57: [01:24:58] <Colin[pi]> oh it should after that I think?
58: [01:25:43] <Ryan-Toast> Shoiuld being the word of the day.
59: [01:26:09] <Colin[pi]> mm
60: [01:26:23] <Colin[pi]> dunno it's changed in the past for me after flush/build
61: [01:26:54] <Ryan-Toast> zzzzz had to do a flush=1, not a flush=all
62: [01:28:36] <simon_w> novaweb, just go up a couple of floors and throw things at ss23 instead :p
63: [01:28:48] <ss23> :O
64: [01:28:51] <irogue_> Colin[pi]: it's hackday :P
65: [01:29:04] <ss23> novaweb: Yeah, if you hear thumping music coming from the top floor, it's us
66: [01:29:08] <ss23> o/
67: [01:29:10] <irogue_> so we're all, y'know, super busy
68: [01:29:11] <irogue_> https://twitter.com/iRogue/status/520368574536241154
69: [01:29:32] <simon_w> Woo, time to rm -rf /var/lib/mysql/*
70: [01:33:55] <pippy> simon_w: maria?
71: [01:33:59] <pippy> or postgresql
72: [01:34:04] <simon_w> pippy, breaking shit!
73: [01:34:15] <Colin[pi]> irogue_: ah, so doing nothing day then
74: [01:34:17] <Colin[pi]> ;D
75: [01:34:51] <Colin[pi]> ohhh King of Fighters
76: [01:34:56] <Colin[pi]> sweeeet!
77: [01:36:44] <pippy> stripe the web got a cake from silverstripe?
78: [01:38:00] <pippy> https://twitter.com/stripetheweb/status/421472052814426112
79: [01:38:12] <ss23> That was ages ago!
80: [01:38:41] <pippy> was it like the MSIE-modzilla thing?
81: [01:40:39] <Colin[pi]> what was inside? ITS A TRAP
82: [01:42:28] <Ryan-Toast> happy new year?
83: [01:45:29] <ss23> pippy: Naw, we collaborate a *lot*
84: [01:46:28] <simon_w> Which basically means they get all the clients that are smart enough to realise they're being charged a shittonne :p
85: [01:46:48] <ss23> aw snap!
86: [01:46:55] <Colin[pi]> lol
87: [01:48:44] <Colin[pi]> <+ss23> pippy: Naw, we collaborate a *lot* <-- yeah I imagine with a name like "Stripe the Web" they're in balls deep
88: [01:48:56] <ss23> rofl
89: [01:50:13] <simon_w> Aww, no long weekend this tie
90: [01:50:36] <pippy> Colin[pi]: lol
91: [01:58:47] <irogue_> it's a bit like that in silverstripeland - noone's really competitors :P
92: [01:59:01] <irogue_> (except at KOF98)
93: [02:02:35] <zippy> be nice to do SS_Log::add_writer(new SS_LogEmailWriter('admin@domain.com'), SS_Log::WARN, '<='); in the environment file
94: [02:07:29] <pippy> My company is called "SilverStripe rocks!" and everything is made from silverstripe
95: [02:07:48] <pippy> including the furniture
96: [02:07:52] <pippy> do i get a cake?
97: [02:08:13] <ss23> XD
98: [02:08:15] <ss23> Mayne :P
99: [02:08:21] <ss23> pippy: FWIW most cmopanies send out cakes
100: [02:08:27] <ss23> We recieved like 3 cakes, we sent like 20
101: [02:08:40] * travis-ci has joined #silverstripe
102: [02:08:40] <travis-ci> silverstripe/silverstripe-framework#3443 (hhvm_nginx_docs2 - 6cda801 : Sean Harvey): The build has errored.
103: [02:08:40] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/commit/6cda801ec376
104: [02:08:40] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/37560601
105: [02:08:40] * travis-ci has left #silverstripe
106: [02:09:41] <pippy> no one sends cakes to polytechnic departments :(
107: [02:10:04] <pippy> wait we did get one once, but it was gone before i ate any
108: [02:10:05] <irogue_> we got cakes last week
109: [02:10:11] <irogue_> one of them was delicious
110: [02:10:15] <irogue_> the other one was gluten free
111: [02:10:16] <ss23> lol pippy
112: [02:11:42] * markcl has joined #silverstripe
113: [02:12:58] <simon_w> No one's sent me cake :(
114: [02:13:49] <irogue_> I've never sent cakes
115: [02:13:54] <irogue_> I sent Pyro a V once
116: [02:14:00] <irogue_> and sent ss23 hair clippers :P
117: [02:16:08] <simon_w> Oh, ss23, there's lots of chicks that look like you in Sydney
118: [02:17:02] <simon_w> Probably got the same cup size too
119: [02:19:41] <zippy> hahaha
120: [02:24:18] <spronk> hair clippers
121: [02:24:20] <spronk> hahahah
122: [02:27:14] <Ryan-Toast> do data objects have a afterSave method?
123: [02:27:18] <Ryan-Toast> an**
124: [02:27:28] <spronk> onAfterWrite?
125: [02:27:33] <Ryan-Toast> chu
126: [02:27:35] <Ryan-Toast> chur
127: [02:29:15] * tractorcow has joined #silverstripe
128: [02:33:51] * irgbit quit (Remote host closed the connection)
129: [02:43:17] <ss23> 15:16:09 <@simon_w> Oh, ss23, there's lots of chicks that look like you in Sydney
130: [02:43:20] <ss23> in wellington too!
131: [02:53:16] <spronk> those poor girls
132: [02:53:23] <spronk> ooh
133: [02:53:28] <spronk> need my root password
134: [02:53:40] <spronk> what was it again, ss23???????
135: [02:55:39] <simon_w> password
136: [02:56:23] <spronk> nah i posted it here last night
137: [02:56:28] * spronk finds it in the logs
138: [02:56:50] <spronk> http://logs.simon.geek.nz/index.php?date=2014-10-09#log_1437262
139: [02:56:50] <spronk> there we go
140: [02:56:52] <spronk> ss23sucks
141: [02:57:17] * spronk knew it was something obvious
142: [02:58:04] <ss23> ... :(
143: [02:58:29] <spronk> its ok ss23, im almost finished with this vm
144: [02:58:44] <spronk> maybe i'll let you choose the next password
145: [02:58:50] <ss23> ;_;
146: [02:58:56] <ss23> subsitesxspronk?
147: [02:59:11] <spronk> haha ;D
148: [02:59:30] * spronk feels kinda naughty writing 2TB of data to a "degraded" RAID10 array
149: [02:59:40] * irgbit has joined #silverstripe
150: [03:02:49] <spronk> hmm
151: [03:03:01] <ss23> I was scared doing my data migrations
152: [03:03:04] <spronk> is social logins to a mobile app service a done thing these days?
153: [03:03:07] <ss23> Two degraded raids and I was copying between them :O
154: [03:03:11] <spronk> heh
155: [03:03:12] <spronk> yeah
156: [03:03:27] <spronk> i mean, this degraded raid is basically so i can move from a 2 drive system into a 4 drive one
157: [03:03:38] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
158: [03:03:41] <spronk> so.... its not really any worse than it was before
159: [03:06:23] * tractorcow quit (Ping timeout: 240 seconds)
160: [03:07:58] <ss23> 16:03:28 < spronk> i mean, this degraded raid is basically so i can move from a 2 drive system into a 4 drive one
161: [03:08:01] * novaweb quit ()
162: [03:08:03] <ss23> mdadm actually lets you migrate quite well
163: [03:08:11] <ss23> llike adding/removing drives, changing raid levels etc
164: [03:08:14] <spronk> the "UI" could be a bit better
165: [03:08:15] <spronk> but
166: [03:08:21] <spronk> its quite easy once you understand it
167: [03:08:30] * nicolaas_ quit (Remote host closed the connection)
168: [03:08:35] <spronk> 2 drive RAID1 --> 4 drive RAID 10 =
169: [03:08:54] <spronk> mdadm --create --raid-devices=4 missing /dev/newdrive1 missing /dev/newdrive2
170: [03:09:11] <spronk> plus the /dev/md0
171: [03:09:14] <spronk> or we
172: [03:09:17] <ss23> hmm
173: [03:09:18] <spronk> copy data over
174: [03:09:31] <spronk> fail and remove disk from raid1
175: [03:09:33] <spronk> add to raid10
176: [03:09:42] <ss23> you probably could've used the -- add some more devices --add another device -- migrate to raid10 from raid 1
177: [03:09:43] <spronk> fail and stop raid1
178: [03:09:45] <ss23> idk
179: [03:09:46] <ss23> computers r hard
180: [03:10:00] <spronk> i couldnt see an easy way to migrate from 1 to 10
181: [03:10:41] <ss23> ah, you seem to be right, lame
182: [03:10:43] <ss23> Someone should write that
183: [03:10:52] <spronk> it shouldn't be too hard
184: [03:10:56] <spronk> but...
185: [03:11:06] <spronk> it does remove redundancy from your data unless you use a backup drive as well
186: [03:11:38] * pippy quit (Quit: Page closed)
187: [03:20:11] * cloph_away has joined #silverstripe
188: [03:20:33] * cloph quit (Ping timeout: 260 seconds)
189: [03:34:55] * irgbit quit (Remote host closed the connection)
190: [03:35:25] <stojg> DataObject::onAfterShave();
191: [03:38:49] * Ryan-Toast quit (Quit: Ryan-Toast)
192: [03:46:04] * Olliepop quit (Ping timeout: 246 seconds)
193: [04:03:17] * Ryan-Toast has joined #silverstripe
194: [04:03:40] * Ryan-Toast quit (Client Quit)
195: [04:09:37] * tankr quit (Ping timeout: 272 seconds)
196: [04:13:32] * nickmolhoek quit (Quit: nickmolhoek)
197: [04:18:36] * Stomach quit (Ping timeout: 246 seconds)
198: [04:20:57] * stojg quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
199: [04:26:07] <ss23> 16:35:26 < stojg> DataObject::onAfterShave();
200: [04:26:08] <ss23> heh
201: [04:43:38] * jedateach quit (Quit: jedateach)
202: [04:45:59] <markcl> My allowed_children does not work
203: [04:45:59] <markcl> private static $allowed_children = array('CreateProfilePage');
204: [04:48:27] <markcl> class CreateProfilePage extends Page {
205: [04:48:34] <markcl> appears on the CMS
206: [04:48:49] <markcl> But it cant be a child of the class I allowed it to
207: [04:52:17] * irgbit has joined #silverstripe
208: [05:05:44] * irgbit quit (Remote host closed the connection)
209: [05:10:19] * stojg has joined #silverstripe
210: [05:10:44] <Colin[pi]> jesus h christ I've just had a client mess up sitetree in an epic way
211: [05:11:01] <Colin[pi]> struggling to even figure out what they've done
212: [05:11:25] <simon_w> Invoke devil worship?
213: [05:11:45] <Colin[pi]> simon_w: looks like a parent (root node) was deleted and I can't find it in deleted pages
214: [05:11:53] <Colin[pi]> all the children are now linked to some other panret
215: [05:11:56] <Colin[pi]> *parent
216: [05:12:44] * stojg quit (Client Quit)
217: [05:13:32] <simon_w> Check SiteTree_versions for the old ID, see if it still exists? (And just hasn't been moved or something)
218: [05:13:39] <Colin[pi]> yep it's there
219: [05:14:45] <simon_w> So the old parent is still showing in SiteTree?
220: [05:14:52] <Colin[pi]> in deleted pages
221: [05:15:05] <simon_w> Well, now you can fix it! :p
222: [05:15:23] <Colin[pi]> I see now, she's renamed the parent to something else
223: [05:15:25] <Colin[pi]> sigh
224: [05:15:42] * veb has joined #silverstripe
225: [05:16:11] <simon_w> Yay, clients!
226: [05:16:41] <Colin[pi]> ok all the children are back WHEW
227: [05:18:33] <Colin[pi]> had to republish all
228: [05:18:39] <Colin[pi]> looks like it's intact
229: [05:22:00] * irogue_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
230: [05:27:12] <Colin[pi]> I dont need that shit on a friday arvo :(
231: [05:29:46] <Tanger> http://i.imgur.com/kFJVH.jpg
232: [05:30:05] <Colin[pi]> FO SHO
233: [05:37:59] <simon_w> Linux's file systems not doing things alphabetically is really annoying
234: [05:38:43] <timezone> what
235: [05:39:00] <timezone> linux ls default behavior is alphabetical
236: [05:39:04] <simon_w> Nope
237: [05:39:26] <simon_w> Linux defaults sorting to creation time
238: [05:39:37] <timezone> can you type 'alias ls'
239: [05:39:44] <simon_w> I'm not talking about ls
240: [05:39:47] <timezone> it may be adding options because you're using a numpty distro
241: [05:39:48] <simon_w> ls defaults to sorting
242: [05:40:08] <timezone> ahh, ls is how i list files,
243: [05:40:55] <simon_w> Notice how doing things like rsync and tar don't go alphabetically?
244: [05:41:03] <simon_w> That's the default ordering
245: [05:41:41] <simon_w> Makes figuring out the progress of something bloody annoying
246: [05:42:47] <timezone> tar is alphabetical here with a wildcard
247: [05:42:52] <timezone> just recursively
248: [05:43:13] <simon_w> Yeah, your shell tries to be nice to you
249: [05:43:17] <simon_w> Which is great
250: [05:43:39] <timezone> well this is an interesting subject
251: [05:43:53] <timezone> just looking for a concrete example
252: [05:44:33] <simon_w> find -name '*.php'
253: [05:44:56] <simon_w> or just find .
254: [05:45:53] <timezone> i think it's timeoclock for me to fire up C and have a look at this
255: [05:45:58] <timezone> cheers
256: [05:46:22] <timezone> there are often crazy ass optimizations in this shit that are from ancient times
257: [05:47:09] <simon_w> Yeah, back when sorting things was slow
258: [05:54:09] <timezone> ahh there we go
259: [05:54:12] <timezone> it's by inode order
260: [05:54:15] <timezone> by default
261: [05:54:33] <simon_w> Yeah, something that makes absolutely no sense for end users
262: [05:54:40] <simon_w> Which is what makes it so frustrating :p
263: [05:54:58] <timezone> shrug, fuck em, but i'm always curious about shit like this, since it usually tells you about how somethings built
264: [05:55:03] <timezone> so thanks
265: [05:55:48] <timezone> but yeah it's probably because it's faster hey
266: [05:56:35] <timezone> and in terms of unix philosophy / small program design, i guess their argument would be find . | sort
267: [06:16:46] * simon_w quit (Quit: Ping timeout: your mum)
268: [06:22:33] * Adesso has joined #silverstripe
269: [06:29:59] * Robke has joined #silverstripe
270: [06:30:04] <Robke> morning :)
271: [06:41:14] * markcl has left #silverstripe
272: [06:50:32] * wmk has joined #silverstripe
273: [06:54:30] * irgbit has joined #silverstripe
274: [06:55:18] * UncleCheese has joined #silverstripe
275: [06:58:57] * irgbit quit (Ping timeout: 245 seconds)
276: [07:00:25] * Marvanni slaps Marvanni around a bit with a large trout
277: [07:00:32] * Marvanni quit ()
278: [07:01:49] <Robke> wmk: morning, have you ever used fullPage.js? :)
279: [07:05:42] * Guits has joined #silverstripe
280: [07:06:26] * Guits quit (Client Quit)
281: [07:06:52] * marvanni has joined #silverstripe
282: [07:06:55] * ARNHOE has joined #silverstripe
283: [07:14:22] * oli has joined #silverstripe
284: [07:14:46] * oli is now known as Guest734
285: [07:18:31] * Guest734 quit (Ping timeout: 246 seconds)
286: [07:21:37] * jordanmk quit ()
287: [07:29:59] <wmk> gmorning.
288: [07:30:04] <wmk> Robke, hmm, no.
289: [07:30:09] <wmk> link?
290: [07:30:29] <Robke> hm.. i dont get it how to enable horizontally scrolling on this library...
291: [07:30:40] <Robke> http://alvarotrigo.com/fullPage/#secondPage
292: [07:31:04] <Robke> somehow its possible to do, but for me - mission impossible
293: [07:33:28] <wmk> just horizontal?
294: [07:33:41] <wmk> see sourcecode of the example: http://alvarotrigo.com/fullPage/examples/navigationH.html
295: [07:34:26] * ocmnt has joined #silverstripe
296: [07:35:23] <ocmnt> howdy
297: [07:35:27] <Robke> hm... i dont see the code in js :)
298: [07:35:45] <Robke> $(document).ready(function() { $('#fullpage').fullpage({ anchors: ['firstPage', 'secondPage', '3rdPage'], sectionsColor: ['#8FB98B', '#DE564B', '#EAE1C0'], slidesNavigation: true }); });
299: [07:35:48] <Robke> only this?
300: [07:38:48] <wmk> seems so.
301: [07:40:07] <Robke> i will try
302: [07:40:30] <wmk> i guess you need the right div structure
303: [07:40:56] <wmk> see https://github.com/alvarotrigo/fullPage.js#required-html-structure
304: [07:41:03] <wmk> the second code example
305: [07:41:26] <wmk> div#fullpage > div.section > div.slide
306: [07:41:39] * wmk wants an emmet plugin for xchat
307: [07:43:20] <ocmnt> wmk, emmet? :o whats that?!
308: [07:43:45] <wmk> ocmnt, http://docs.emmet.io/
309: [07:43:51] <wmk> there are plugins for the IDE you love
310: [07:44:14] <ocmnt> brb
311: [07:44:36] * ocmnt has joined #silverstripe
312: [07:44:56] <Robke> ocmnt: hey ;)
313: [07:45:02] <wmk> ocmnt, wb
314: [07:45:08] * stnvh has joined #silverstripe
315: [07:47:02] <ocmnt> thnx :D
316: [07:48:55] <ocmnt> oh wow, emmet looks nice
317: [07:49:04] <ocmnt> write less code more kinda stuff
318: [07:51:36] <wmk> i use it sometimes. but is saw it power used in a foundation video tutorial
319: [07:51:45] <wmk> it even has a lorem tag
320: [07:51:55] * spronk2 has joined #silverstripe
321: [07:52:13] <wmk> ocmnt, there are plugins for every good IDE. PHPstorm has it built in
322: [07:52:19] <Tanger> oooh
323: [07:52:23] <Tanger> Emmet for vim
324: [07:52:29] <wmk> really?
325: [07:52:31] <ocmnt> wmk, I mainly use sublime text :P
326: [07:52:35] <Tanger> http://mattn.github.io/emmet-vim/
327: [07:52:37] * wmk should configure his vim
328: [07:52:40] <ocmnt> but its supported
329: [07:52:48] <ocmnt> why is everyone that fond about vim?
330: [07:52:53] <Tanger> I can't configure my VIM at work or I waste hours
331: [07:53:07] <Tanger> It's really cool once you get to know it
332: [07:53:17] <ocmnt> Tanger, I like to think that about myself aswell
333: [07:53:21] <wmk> ocmnt, you should know vim basics as it's on every system available
334: [07:53:23] <ocmnt> really cool once you get to know me :P
335: [07:53:25] <Tanger> Haha
336: [07:53:38] <ocmnt> I know vim basics, use it when working from shell
337: [07:53:47] <wmk> so...
338: [07:54:09] <ocmnt> so, still not using it as main editor
339: [07:54:30] <wmk> the con on configuring vim too much: it's not configured that way on the server you work.
340: [07:55:01] <Tanger> wmk: I can't remember where, but I saw something some guy wrote that transfers your vimrc over ssh
341: [07:55:12] <Tanger> Without using scp editing in vim itself
342: [07:56:06] <wmk> Tanger, THAT sounds really cool.
343: [07:56:28] <wmk> cause on one server i can use cursors without problem, on another server it crashes quite much when you try to use cursors
344: [07:56:35] <wmk> maybe a ssh setting, dunno
345: [07:56:43] <wmk> i just don't like that other server
346: [07:56:57] <wmk> kind of an assh***-server.
347: [07:57:59] <wmk> like the mittermeier assh****-baby
348: [07:58:28] <Adesso> Can Anybody tell me the ref for the StartPage Object ? I just want to add the "Home" link for a Breadcrumb..
349: [07:58:49] <ocmnt> Page(Home) ?
350: [07:59:21] <ocmnt> <% loop Page(Home) %><a href="$Link">Home</a><% end_loop %>
351: [07:59:31] <wmk> ocmnt, no loop
352: [07:59:37] * kinglozzer has joined #silverstripe
353: [07:59:51] <ocmnt> <% control? :P
354: [07:59:56] <wmk> why not <% with Page('Home') %> ???
355: [08:00:04] <kinglozzer> Morning
356: [08:00:07] <wmk> ocmnt, ss ran out of control in 3.x
357: [08:00:14] <ocmnt> I know wmk ;)
358: [08:00:18] <ocmnt> morngin kinglozzer
359: [08:01:23] <wmk> https://www.youtube.com/watch?v=6sOpbRL8R4g
360: [08:01:33] <wmk> should pause while my collegue is on the phone ;)
361: [08:01:42] <Adesso> $StartPage().First()....
362: [08:02:54] <Adesso> or Page.First() if you did not extend it
363: [08:03:02] <Adesso> this give me the ID
364: [08:03:43] <Adesso> good start... but I guess I shouljd just extend the $Breadcrumbs rather
365: [08:03:56] <Adesso> this way it stayes clean
366: [08:04:22] * g4b0_ has joined #silverstripe
367: [08:05:45] * r_hector has joined #silverstripe
368: [08:06:31] <wmk> You can of course overwrite Bredcrumbs method in your Page
369: [08:06:39] <wmk> or just overwrite the template for it
370: [08:06:43] * Adesso is doing that right now
371: [08:06:51] <wmk> i'd go for the template
372: [08:08:12] <g4b0_> hi all
373: [08:08:56] <g4b0_> like yesterday I'm fighting with DB::query
374: [08:09:04] <g4b0_> http://pastebin.com/mXGfLRhg
375: [08:09:17] <g4b0_> the first query is executed
376: [08:09:29] <g4b0_> the second and the third aren't
377: [08:09:41] <g4b0_> no errors
378: [08:09:54] <g4b0_> this code is inside a loop
379: [08:10:13] <g4b0_> and it continue its run
380: [08:10:38] <g4b0_> but db tables are not modified :/
381: [08:11:02] <g4b0_> $tbl == 'SiteTree'
382: [08:11:31] <g4b0_> any hints?
383: [08:13:34] <wmk> g4b0_, inside a php loop or inside a <% loop %> while calling getFoo() ???
384: [08:14:13] <g4b0_> php loop
385: [08:14:34] <g4b0_> it's a Task that try to repair an old bug
386: [08:15:22] <Tanger> g4b0_: Perhaps use DB::query's second argument to enable deeper error reporting?
387: [08:16:05] <g4b0_> mmm good idea :)
388: [08:16:21] <wmk> what's DB::query() returning?
389: [08:17:02] <g4b0_> don't know...
390: [08:17:07] <g4b0_> I need to chesk
391: [08:17:10] <g4b0_> check
392: [08:17:21] <g4b0_> stay tuned, it's a long running task
393: [08:21:06] * Pymmfdyk has joined #silverstripe
394: [08:21:36] <Pymmfdyk> bacon day!
395: [08:21:44] <wmk> Pymmfdyk, !!!!!
396: [08:21:49] <wmk> WB!
397: [08:23:41] <Pymmfdyk> hello wmk !
398: [08:23:56] <wmk> back home from rome?
399: [08:24:00] <Pymmfdyk> I came back yesterday actually. Did next to no work though, heh.
400: [08:24:13] <wmk> ;)
401: [08:24:26] <Pymmfdyk> emptied emails (literally, delete button so good), got caught up, tried to look at something, got confused, gave up, went home early, haha
402: [08:24:45] <Pymmfdyk> but I had a short lunch to make up for it.
403: [08:24:58] <Pymmfdyk> so it all evens out, now today is Friday breakfast bun day!
404: [08:25:32] <g4b0_> ouch, a customer is asking for me...
405: [08:25:40] <Pymmfdyk> oh no g4b0_!
406: [08:25:52] <Pymmfdyk> don't worry, usually it's because they love you.
407: [08:26:04] <g4b0_> see you this afternoon wmk, Tanger & Pymmdfyk
408: [08:26:07] <Pymmfdyk> just walk in, be all CIAO!, then leave ;P
409: [08:26:13] <g4b0_> ahahah
410: [08:26:16] <Tanger> g4b0_: Good luck man
411: [08:26:26] <g4b0_> I will never fix this bug :D
412: [08:26:27] <Pymmfdyk> 'cause I know that's both a greeting and a farewell :P
413: [08:26:39] <Pymmfdyk> very efficient!
414: [08:26:57] * g4b0_ preparing the lupara
415: [08:27:05] <Pymmfdyk> lupara?
416: [08:27:29] <wmk> lupus = wulf ?
417: [08:27:35] <g4b0_> http://en.wikipedia.org/wiki/Lupara
418: [08:27:45] <g4b0_> for the customer :D
419: [08:28:43] <wmk> g4b0_, you're scary sometimes
420: [08:31:00] <Adesso> fast way to get your teeth done... this baby has a recoil that kick worse than a mule
421: [08:31:19] <g4b0_> eheheh, I'm just joking :)
422: [08:32:14] * Adesso is getting it right to make the Breadcrumb comlicated again ...
423: [08:32:19] <Adesso> complicated
424: [08:32:31] <wmk> Adesso, did you go for the template?
425: [08:32:46] <kinglozzer> wagwhan Pymmfdyk
426: [08:33:48] <Adesso> in my Template I use $Breadcrumb
427: [08:34:04] <wmk> which calls a method in SiteTree
428: [08:34:13] <Adesso> I need however to add the StartPage as the first Item, so I do this in the Controllers
429: [08:34:16] <wmk> which uses a template you can overwrite in your theme
430: [08:34:58] * Adesso littrally reads between the lines
431: [08:35:08] <wmk> http://doc.silverstripe.org/framework/en/3.0/changelogs/3.0.0#breadcrumbs-breadcrumbs
432: [08:36:01] * g4b0_ quit (Ping timeout: 260 seconds)
433: [08:36:03] <wmk> i'd change this template, just put link to Home in front
434: [08:36:13] <wmk> then drink coffee in the saved time ;)
435: [08:36:23] <wmk> </joke>
436: [08:37:38] <Adesso> but I am still in aTemplate..
437: [08:37:48] <Adesso> in the PHP I have a couple of more options ..
438: [08:38:01] <Adesso> it's woking so far... except for one part
439: [08:38:06] <kinglozzer> Adesso: What are you trying to do? Just add a 'Home' link to breadcrumb trail?
440: [08:38:09] <wmk> if you need those options, use php.
441: [08:38:18] <wmk> just adding a home link i'd go for the template solution
442: [08:38:39] <wmk> http://doc.silverstripe.org/framework/en/topics/page-type-templates#breadcrumbs <-- some more docs
443: [08:38:50] <kinglozzer> Yep, that's the easiest way ^
444: [08:39:08] <kinglozzer> You can override methods on PHP, but you'd just duplicate core code mostly :P
445: [08:39:11] <kinglozzer> in*
446: [08:39:52] <wmk> aaah, duplicate code = code*2 = possible errors ^2
447: [08:40:33] <Adesso> true on the duplication...
448: [08:40:49] <Adesso> but it's not so bad, as it allows for custom control..
449: [08:40:58] <Adesso> Like not having a Breadcrumb on the startpage..
450: [08:41:10] <Adesso> but anyway.. this is not my problem
451: [08:41:24] <Adesso> All is working as it should except for one part..
452: [08:41:31] <Adesso> my bloody Articles..
453: [08:42:04] <Adesso> this thing uses the Slug... and as far as I can see it only uses the Parent Class overwrite
454: [08:42:42] <wmk> so you have to generate the breadcrumbs in the article holder
455: [08:42:47] * simon_w has joined #silverstripe
456: [08:43:24] * irgbit has joined #silverstripe
457: [08:43:27] <Adesso> yes... but is there a way to say where the Article came from ?
458: [08:43:43] <wmk> ?
459: [08:43:45] <Adesso> from the Holder or StartPage or other related Pages
460: [08:44:03] <wmk> Adesso, do you see it in the url where the article came from?
461: [08:44:04] <Adesso> If I teaser these Articles all over the site
462: [08:44:19] <Adesso> they always link to the same place
463: [08:44:38] <Adesso> so no, but I could add some extra's in the Link in the Teaser spots I guess
464: [08:44:45] <wmk> then you loose the link back to where we came from, which isn't a problem IMHO
465: [08:45:05] <wmk> there is also a Referrer param in $_SERVER
466: [08:45:20] <Adesso> Serious
467: [08:45:34] <Adesso> I was hoping to avoid the Refferer
468: [08:45:48] <Adesso> but if not .. then I guess that is the way I'll go
469: [08:46:00] * Adesso does not trust the refferer
470: [08:46:04] <wmk> rethink: do you really need this feature?
471: [08:46:15] <wmk> i mean: really really
472: [08:46:32] <Adesso> I would leave it.. but the Project requires it ..
473: [08:46:44] <Adesso> the Articles are Topic related
474: [08:47:02] <Adesso> and drilling into the Topics.. and then reading a Article...
475: [08:47:16] <wmk> then you'd need more article holders you can link to
476: [08:47:23] <Adesso> must have a visual connection to where you are once you are reading the Article..
477: [08:47:30] <wmk> and maybe a many-many
478: [08:47:42] * irgbit quit (Ping timeout: 245 seconds)
479: [08:47:48] <Adesso> If I am getting my hands dirty
480: [08:48:06] <Adesso> I might as well hack the Breadcrum and Section in the Menu
481: [08:48:23] <Adesso> sprinkle some JQuery on it .. and done
482: [08:48:40] <wmk> and this canonical tag
483: [08:48:45] <Adesso> not nice, but hey... if it breaks I'll just say... use the fucking back button
484: [08:48:59] <wmk> yup. use the back button.
485: [08:49:28] * Adesso gets down low and dirty
486: [08:58:02] * UncleCheese quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
487: [08:58:55] <kinglozzer> ping marvanni
488: [08:59:40] <simon_w> ping YOUR FACE :D
489: [08:59:48] <kinglozzer> a wild simon_w appears
490: [09:00:01] <simon_w> I appeared 17 minutes ago!
491: [09:00:14] <kinglozzer> How was the wedding? Haven't spoken to you since!
492: [09:01:03] <kinglozzer> Also, if you're bored simon_w, care to critique this? http://takeaway.bigfork.co.uk/working-with-external-data-sources-in-silverstripe-pt1
493: [09:01:14] <simon_w> Great fun!
494: [09:01:20] <simon_w> Nice and haily :D
495: [09:01:30] <kinglozzer> simon_w: Haha, ideal weather!
496: [09:01:39] <simon_w> Still outside too
497: [09:02:09] <kinglozzer> brave :P
498: [09:02:25] <kinglozzer> How did you manage that if it was hailing? D:
499: [09:02:39] <simon_w> https://fbcdn-sphotos-a-a.akamaihd.net/hphotos-ak-xpa1/v/t1.0-9/1654218_10152479158674891_4698687527661110340_n.jpg?oh=0c0e45c180a721308cf0a90a61f366f5&oe=54BEF062&__gda__=1421854472_5c752a8c368fc0b626ffe5364c78158d
500: [09:04:40] <kinglozzer> Ah I see, good planning ;)
501: [09:04:58] <simon_w> Those were hired and set up that morning
502: [09:06:27] <kinglozzer> Brief panic, or did the venue have them?
503: [09:06:36] <simon_w> kinglozzer, "$course = Course::create($data);" Don't do that. Use Course::create(); $course->update($data);
504: [09:07:02] <simon_w> Nah, dad and the groomsmen went out and did it
505: [09:07:47] <simon_w> Also, for part 2, perhaps look into creating your own SS_List subclass
506: [09:07:54] <kinglozzer> simon_w: That's the plan ;)
507: [09:08:29] <kinglozzer> Something that's sorta bugging me, though: what reasons are there to _not_ use a DataObject, besides ending up with an empty database table?
508: [09:12:12] <marvanni> ping kinglozzer
509: [09:12:45] <kinglozzer> marvanni: http://takeaway.bigfork.co.uk/working-with-external-data-sources-in-silverstripe-pt1 rewritten to make it more obvious DataObject is better for that example :)
510: [09:13:09] <kinglozzer> marvanni: Want me to credit you if I add a "tip" about field mapping?
511: [09:14:19] <wmk> kinglozzer, the date "15 sept. 1956" on that blog post....
512: [09:14:39] <Pymmfdyk> [09:32] <kinglozzer> wagwhan Pymmfdyk -- eh?
513: [09:14:45] <marvanni> Your time ahead ;)
514: [09:14:53] <kinglozzer> wmk: Yeah it's just so it doesn't show on the home page ;)
515: [09:15:15] <kinglozzer> Pymmfdyk: Not sure if wagwhan is the correct spelling, rasta for "whats goin on?"
516: [09:15:16] * wmk bumps his head on the table
517: [09:16:56] * cloph_away is now known as cloph
518: [09:16:57] <wmk> kinglozzer, marvanni nice tutorial
519: [09:17:10] * Sj0hn has joined #silverstripe
520: [09:18:07] <Pymmfdyk> kinglozzer: your 'rasta' sounds a lot like Geordie.
521: [09:18:34] <Pymmfdyk> or mebbe aberdeenshire folk slang. I forget which.
522: [09:19:06] <Pymmfdyk> right, seems like I should actually do work today.
523: [09:19:10] <Pymmfdyk> Need to display progress :<
524: [09:19:27] <Pymmfdyk> but just like simon_w, after a holiday I've forgotten how to do my job
525: [09:20:13] <Pymmfdyk> hahahahahaaa wmk - that cow tweet!
526: [09:20:21] <wmk> ;)
527: [09:20:48] <wmk> in german we say "kleinvieh macht auch mist", so "selfie" sounds like "kleinvieh"
528: [09:21:08] <wmk> translated: small animals also produce shit
529: [09:23:49] <simon_w> Oh, if you lot want me to write on some topic, let me know and I might see if I can be bothered enough ;)
530: [09:25:21] * simon_w can't think of his own ideas, so he crowd sources them
531: [09:28:00] * spronk2 quit (Quit: spronk2)
532: [09:29:13] * Tanger quit (Quit: Tanger)
533: [09:33:07] <Sj0hn> Hi
534: [09:33:31] <Pymmfdyk> wmk kinglozzer have you seen this amazingness? https://twitter.com/NightJarNZ/status/520295230688751616
535: [09:33:57] <Pymmfdyk> Pretty sure that's almost iamdeveloper or maybe phpceo worthy, heh
536: [09:34:11] <Sj0hn> I've updated an current website of ours from ss 2.4 tot 3.1, but somehow i cant get the spamprotection to work.
537: [09:34:12] <kinglozzer> Hahaha Pymmfdyk
538: [09:34:18] <wmk> omg
539: [09:34:28] <Sj0hn> It gives back: 'enablespamprotection' does not exist on 'Form' when i try to enable it on a field
540: [09:34:31] <Sj0hn> form*
541: [09:35:13] <Sj0hn> included the spamprotections.yml in the config folder
542: [09:35:14] <Pymmfdyk> did you update the module?
543: [09:35:17] <kinglozzer> simon_w: Can't think of anything off the top of my head, I'll let you know if I do ;)
544: [09:35:32] <Sj0hn> Pymmfdyk: download the latest from git
545: [09:35:42] <Sj0hn> downloaded*
546: [09:38:29] <Pymmfdyk> is it compatible though
547: [09:47:33] * UncleCheese has joined #silverstripe
548: [09:47:48] <Sj0hn> Yeh..just noticed the rights of the silverstripe-cache folder are not set right.. it was generated with the www-data owner which we dont have acces to.. (shared server)
549: [09:50:40] <wmk> wow. libsass seems to be really fast
550: [09:51:05] <simon_w> So's not using CSS at all!
551: [09:51:24] <wmk> yeah. just depend on browser css
552: [09:52:52] <ss23> 22:50:41 < wmk> wow. libsass seems to be really fast
553: [09:53:01] <ss23> yeah, but it's not compatible with ruby sass stuff
554: [09:53:24] <ss23> Guy at work spent ~3 hours getting libsass working, ~6 hours rewriting his SCSS/SASS to work
555: [09:53:54] <simon_w> Surprised he didn't go all NIH in build his own CSS preprocesser :p
556: [09:56:21] * wmk quit (Ping timeout: 246 seconds)
557: [09:56:52] * spronk2 has joined #silverstripe
558: [09:57:25] * Robke quit (Ping timeout: 246 seconds)
559: [09:59:44] <Pymmfdyk> ha, not compatible?
560: [09:59:45] <Pymmfdyk> dafuq
561: [09:59:53] <Pymmfdyk> is even the point then?
562: [10:07:00] * Adesso thanks the almighty for simplifing his Breadcrumb
563: [10:07:20] <Adesso> wmk - it turns out I don't need it so complicated
564: [10:07:22] <Adesso> phew
565: [10:08:16] <ss23> Pymmfdyk: It's "mostly" compatible
566: [10:08:24] <ss23> And worth it for the speed increase -- ruby is slow as fuck
567: [10:12:16] <Pymmfdyk> ss23: yeah well ruby is sad as fuck.
568: [10:13:00] <Pymmfdyk> declaritive languages - lets make them functional! With an interpreted language which parses this second functional language and returns a third declared language.
569: [10:13:05] <Pymmfdyk> GREAT IDEA GUYS
570: [10:13:53] <Pymmfdyk> what libsass really means to me is that finally not only rails hipsters will harp on about it,
571: [10:14:02] <Pymmfdyk> and I can use it without a billion dependencies.
572: [10:14:04] * simon_w quit (Quit: Ping timeout: your mum)
573: [10:14:06] <Pymmfdyk> then I might actually look into it.
574: [10:14:36] <Pymmfdyk> fuck, my brain hurts. I just wanna sleep.
575: [10:14:50] * rzz has joined #silverstripe
576: [10:15:00] * Adesso 's head start chiming the circus song - complete with Monkey and cambals
577: [10:15:12] <rzz> I want to modify a field when it's saved in the CMS... any tips?
578: [10:15:13] <Adesso> cymbals s
579: [10:15:28] <Pymmfdyk> rzz: define modify
580: [10:15:38] <Pymmfdyk> define 'when its saved'
581: [10:15:47] <rzz> essentially... add a URL... but when saved... it only keeps the param in the URL
582: [10:15:58] <rzz> saved as in created in the CMS.... dataobject
583: [10:16:07] <Pymmfdyk> subclass form filed, override datavalue
584: [10:16:27] <rzz> field?
585: [10:16:32] <Pymmfdyk> yes.
586: [10:16:40] <rzz> kew. tks
587: [10:17:27] <Adesso> onBeforeWrite ?
588: [10:17:32] <Pymmfdyk> could do
589: [10:17:38] <Pymmfdyk> form field easier
590: [10:17:44] <Adesso> k
591: [10:17:44] <Pymmfdyk> even easier is js.
592: [10:18:02] <Pymmfdyk> well, formfield maybe not easier, but more reusable.
593: [10:18:07] <Pymmfdyk> encapsulation
594: [10:18:10] * Adesso is looking for that URL create page that the CMS WYSIWIG calls
595: [10:18:13] <rzz> so I guess the trigger is the key... do I override save()
596: [10:18:31] <Pymmfdyk> trigger?
597: [10:18:40] <rzz> actrually onBeforeWrite might suit my need better
598: [10:18:45] <Pymmfdyk> probably
599: [10:18:48] <Pymmfdyk> it's easier.
600: [10:18:51] <Pymmfdyk> I guess.
601: [10:18:53] <rzz> :)
602: [10:19:09] <Pymmfdyk> if($this->isChanged('fieldName')) ...
603: [10:24:41] * UncleCheese quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
604: [10:30:04] <Adesso> Anybody have a starting point for using the htmleditor linkdialog funktionality on a normal text Form field in the CMS ?
605: [10:45:48] <Adesso> silverstripe-linkable ?
606: [10:45:57] <Adesso> would that do the trick ?
607: [10:48:31] * rzz quit (Ping timeout: 246 seconds)
608: [10:56:03] * marvanni quit (Quit: marvanni)
609: [10:58:56] <Pymmfdyk> Adesso: I generally just build my own.
610: [10:59:18] <Adesso> I would if I could
611: [10:59:31] <Adesso> and I want to .. just not sure how
612: [10:59:36] <Adesso> example... small one ?
613: [11:00:32] <Pymmfdyk> internal link vs external link?
614: [11:00:35] <Pymmfdyk> or... more advanced?
615: [11:01:30] <Adesso> pratically 100% what is in the CMS HTMLeditor
616: [11:01:44] <Adesso> I was wanting to use just that
617: [11:01:57] <Adesso> but I don't know how to call it
618: [11:02:04] <Adesso> or what it is called
619: [11:02:30] <Adesso> and if it is wise to write the resulting html in the BD
620: [11:02:35] <Adesso> DB
621: [11:04:34] * Adesso is removing sheadawson/silverstripe-linkable
622: [11:05:15] * irgbit has joined #silverstripe
623: [11:06:35] <Adesso> Anybody know how I can make my SS find the silverstripe-labs/googleanalytics GooglePerformanceChart.ss
624: [11:06:40] <Adesso> The files are there..
625: [11:06:42] <kinglozzer> flush?
626: [11:06:46] <Adesso> it's just not seeing them
627: [11:06:48] <Adesso> ??
628: [11:07:00] <kinglozzer> Adesso: ?flush=1
629: [11:07:51] * wmk has joined #silverstripe
630: [11:07:51] <Adesso> Seems that sometimes I have to log-in/out of admin too
631: [11:08:06] <Adesso> works
632: [11:11:06] <Adesso> say kinglozzer... what you remove from the standard Analytics ?
633: [11:11:29] <Colin[pi]> dat cake: https://pbs.twimg.com/media/BzlLvHJCIAAl9wY.jpg
634: [11:11:43] <Adesso> Creaper Cake .. Cool
635: [11:11:44] <kinglozzer> Adesso: Hmm, can't remember. I think we added a field to "settings" to enter custom analytics vars
636: [11:11:51] <Adesso> k
637: [11:11:55] <kinglozzer> Probably removed the charts from the CMS too
638: [11:19:48] <Pymmfdyk> Adesso: if you flush=1, you need to do it in the admin.
639: [11:19:54] <Pymmfdyk> if you flush=all, it maybe should do it all probably
640: [11:20:22] <wmk> afaik flush=all isn't supported anymore in ss3
641: [11:20:29] <Pymmfdyk> yeah I don't know.
642: [11:20:37] <Pymmfdyk> it all changed and I didn't particularly care.
643: [11:20:40] <Pymmfdyk> :<
644: [11:21:44] <Adesso> well it works.. I am reading up on Analytics/OpenGraph first (The Modules )
645: [11:22:23] <ocmnt> Colin[pi], that cake is kinda creepy
646: [11:22:50] <wmk> Adesso, what are you doing w/ opengraph?
647: [11:22:59] <kinglozzer> Pymmfdyk: It's all changing again :P
648: [11:23:10] <kinglozzer> ?flush used to work, but from 3.1.7 it'll need to be ?flush=1
649: [11:23:32] <Adesso> Facebook Social Media shit ..
650: [11:23:35] * Adesso is hating it
651: [11:24:11] <Adesso> I need to setup the damn OpenGraph tags so the idiot links to Like and Share works
652: [11:24:17] <Adesso> :<
653: [11:24:35] * Adesso has no Facebook = not interested
654: [11:27:04] <wmk> well, setting this up isn't much more than a meta tag in html head
655: [11:27:34] <Adesso> defining the Images... and the Article..
656: [11:29:41] <wmk> sounds like a useful module.
657: [11:30:11] <Adesso> Well if you love Facebook.. it is usefull
658: [11:31:12] <wmk> if you want your site to work well with fb
659: [11:31:27] <wmk> read: if you want fb for markting instrument
660: [11:32:06] <wmk> we once did some kind of regional internet newspaper, getting it liked properly on fb was quite important
661: [11:32:20] <wmk> and every product page should look pretty on FB
662: [11:32:40] * Adesso thinks Facebook is over-rated
663: [11:33:14] <ocmnt> Adesso, I think there is an OG addon for ss
664: [11:33:27] <Adesso> but I am glad that there is a Open-Graph module.. saves me lots of work
665: [11:33:43] <wmk> well... i don't like to waste time on FB, too
666: [11:33:47] <wmk> but many ppl do
667: [11:33:48] <Adesso> ocmnt--- already got it .. busy with the config
668: [11:33:54] <ocmnt> ah :)
669: [11:35:12] <Adesso> https://github.com/tractorcow/silverstripe-opengraph/wiki/Using-DataObjects-as-Pages
670: [11:35:22] * Adesso thinks he should break for Lunch first
671: [11:35:25] <Colin[pi]> ocmnt: then I was successful ;D
672: [11:35:34] <ocmnt> you made it yourself?
673: [11:41:04] <Colin[pi]> ocmnt: my gf and me yeah
674: [11:41:09] * marvanni has joined #silverstripe
675: [11:41:09] * irgbit quit (Read error: Connection reset by peer)
676: [11:41:38] * Adesso is impressed ... Really cool Cake dude
677: [11:41:55] * irgbit has joined #silverstripe
678: [11:43:00] <ocmnt> nice job on the cake!
679: [11:43:07] <Colin[pi]> thanks
680: [11:43:18] <Colin[pi]> should make for one happy 8-year-old :)
681: [11:43:23] * wmk quit (Ping timeout: 240 seconds)
682: [11:47:42] * irgbit quit (Remote host closed the connection)
683: [11:49:15] <ocmnt> this is the best I could ever do on a cake
684: [11:49:17] <ocmnt> https://fbcdn-sphotos-h-a.akamaihd.net/hphotos-ak-xfa1/v/t1.0-9/380819_428980237157075_766874069_n.jpg?oh=a3bb32bc11abaddd602545cf5696dfd1&oe=54B86E66&__gda__=1421127384_d6c5c09f0d48d1435c5ef4e8bf492335
685: [11:49:40] <Colin[pi]> ocmnt: but that's awesome!
686: [11:50:00] <ocmnt> got some help though, made with 5 people in total
687: [11:50:04] <ocmnt> to feed about 80 people
688: [11:50:07] <ocmnt> for over a year :P
689: [11:50:08] <Adesso> ok ok boys.. let's not get carried away by cake ..
690: [11:50:19] <ocmnt> the cake is a lie anyway
691: [11:51:51] <Adesso> I had a T-Shirt like that on at the Meetup in Linz... Nobody noticed
692: [11:51:59] * Adesso thinks he was the only Gamer there
693: [11:53:16] <ocmnt> I wasn't in Linz
694: [11:53:20] <ocmnt> else I would have noticed
695: [11:53:59] <Adesso> ;)
696: [11:54:49] * headtrip has joined #silverstripe
697: [11:55:41] <Colin[pi]> Adesso: I was wearing a shirt with this on it in NZ: http://i.imgur.com/jhhKa.jpg
698: [11:56:49] <Adesso> Oooohh, Dues Ex
699: [11:57:58] <Colin[pi]> Adesso: I lap up anything cyberpunk :)
700: [11:58:06] <Adesso> :)
701: [11:58:12] <ocmnt> deus ex <3
702: [11:58:17] <Colin[pi]> original DX was my fav pc game of all time
703: [11:58:25] * Adesso can second that ..
704: [11:58:27] <ocmnt> it still is the best game ever made (probably)
705: [11:58:27] <Colin[pi]> it looks so dated now though :\
706: [11:58:37] <ocmnt> Colin[pi], I still find myself playing DX1
707: [11:58:47] * Colin[pi] is getting the reinstall vibe
708: [11:58:51] * Adesso would if he had more time
709: [11:58:54] <Colin[pi]> actually it's already installed in steam
710: [11:59:02] <ocmnt> though I am now working for DX:HR directors cut to get all achievments in 1 run
711: [11:59:07] <ocmnt> or atleast, all that are possible in 1 run
712: [11:59:14] <ocmnt> pascifier and stuff like that
713: [11:59:30] <Adesso> pascifier ganna be hard
714: [11:59:32] <ocmnt> yes I have no life at all
715: [11:59:49] <ocmnt> not that hard adesso, just be patient
716: [11:59:58] <ocmnt> just know the patrol routes
717: [12:00:03] * Adesso has a wife :/ so I can#t play too much
718: [12:00:06] <ocmnt> and make sure you get foxy the hound aswell
719: [12:00:16] <ocmnt> wife? what does that mean?
720: [12:00:19] * ocmnt is confused now
721: [12:00:38] <Adesso> Someone that manages your spare time
722: [12:00:42] <Adesso> use your money
723: [12:00:44] <ocmnt> spare time?
724: [12:00:46] <ocmnt> money?
725: [12:00:50] <ocmnt> oh money!
726: [12:00:51] <ocmnt> I get money
727: [12:00:58] <Adesso> LOL
728: [12:01:01] <ocmnt> but spare time, wife
729: [12:01:05] <ocmnt> dunno what you talkin about man :p
730: [12:01:12] <Adesso> ocmnt - I think you need to get out more
731: [12:01:21] <ocmnt> Adesso, I go out quite often actually
732: [12:01:34] <ocmnt> to party and get drunk mainly
733: [12:01:37] <ocmnt> or to buy food
734: [12:02:17] <Colin[pi]> Adesso: haha I know that feel.. but it's good when my gf has study for uni to do, gives me time to myself :)
735: [12:02:25] <Colin[pi]> last few weeks I was back in Skyrim
736: [12:02:25] <Adesso> Well the Evolution is like this Woman > Girl > Wife Beta > Wife > Mother Beta > Mother
737: [12:02:39] <ocmnt> Pymmfdyk, you are from the UK right?
738: [12:03:00] <ocmnt> Adesso, f*ck evolution
739: [12:03:12] <ocmnt> eval(ution); ftw
740: [12:03:30] <Adesso> naah.. I rahter f**k my Wife
741: [12:03:43] <ocmnt> me too
742: [12:03:49] <ocmnt> your wife that is :'D
743: [12:03:59] <Adesso> Nice one .. :D
744: [12:04:25] <ocmnt> that's what she said...
745: [12:04:36] * Adesso takes his Lunch ... I need some fresh air
746: [12:05:22] <Adesso> , you aint seen my Wife yet.. ;)
747: [12:05:32] <ocmnt> i know right
748: [12:05:38] <ocmnt> I love those leather masks you bought here
749: [12:05:51] * Adesso takes notes...
750: [12:05:52] * ocmnt thinks I should really get back to work now
751: [12:06:02] <Adesso> remind me to swing by yourplace next time I visit London
752: [12:06:13] <ocmnt> hm, what does [..v,s] do in composer by overwrite file?
753: [12:06:30] <ocmnt> Discard changes? [y,n,v,s,?]?
754: [12:06:35] * Adesso leave.. for real .. Lunch
755: [12:08:09] <ocmnt> enjoy your meal
756: [12:09:36] <ocmnt> does anyone else see the amazon favicon here? http://ia.media-imdb.com/images/rock.jpg
757: [12:10:59] <ocmnt> oh nvm, imdb is since '98 from amazon
758: [12:11:36] <Pymmfdyk> [12:22] <kinglozzer> Pymmfdyk: It's all changing again :P eh?
759: [12:11:58] * UndefinedOffset has joined #silverstripe
760: [12:14:00] <Pymmfdyk> [12:51] * Adesso thinks he was the only Gamer there
761: [12:14:01] <Pymmfdyk> wrong
762: [12:14:22] * marvanni quit (Quit: marvanni)
763: [12:24:33] * g4b0_ has joined #silverstripe
764: [12:26:28] * g4b0_ back @work
765: [12:30:10] <g4b0_> hi all
766: [12:30:37] <ocmnt> heya
767: [12:30:48] <g4b0_> Strange DB::query behaviour:
768: [12:31:06] * guci0 has joined #silverstripe
769: [12:31:12] <guci0> Hello World!
770: [12:31:28] <g4b0_> http://pastebin.com/e0LXub3q
771: [12:31:29] <Pymmfdyk> hullo
772: [12:32:15] <g4b0_> result:
773: [12:32:17] <Pymmfdyk> g4b0_: var_dump($last)
774: [12:32:17] <g4b0_> http://pastebin.com/2dS1105h
775: [12:33:01] <g4b0_> $last->Version == 15
776: [12:33:07] <Pymmfdyk> ok
777: [12:33:12] <g4b0_> $last->ID == 122
778: [12:33:31] <Pymmfdyk> ok so code is croppe, ok :)
779: [12:33:31] <g4b0_> select * from SiteTree_Live where id=122
780: [12:33:40] <g4b0_> Version is still 10 !!!
781: [12:34:51] * Adesso tries to link face to Pymmfdyk
782: [12:35:01] <Adesso> fail
783: [12:35:06] <g4b0_> $tbl == 'SiteTree'
784: [12:35:13] <Pymmfdyk> eh?
785: [12:36:15] * Adesso still does not know who was in Linz... and how to link up the Nick to the Person
786: [12:36:33] <Adesso> my Relational Links are broken :P
787: [12:38:29] <Pymmfdyk> Well... wmk was, kinglozzer was not, sminnee was, Anselm_ was, Zauberfisch was, otterpocket was, thehacksaw was, nightjar was, irogue was not, ss23 was not, ocmnt was not, spheresilver was, Colin[pi] was not.
788: [12:39:35] <g4b0_> g4b0 was not
789: [12:39:36] <Pymmfdyk> nobrainerweb was.
790: [12:39:48] <Pymmfdyk> ocmnt was not.
791: [12:40:51] <Pymmfdyk> make sense Adesso ?
792: [12:41:32] <Adesso> wmk, Nightjar, Anslem and Zauberfisch I got..
793: [12:42:54] <Adesso> Pymmfdyk, sminee, otterpocket, thehacksaw and spheresilver still fails entries to the Real People...
794: [12:43:07] * Adesso is trying to repair his MindDB
795: [12:43:52] <Adesso> I am still noob here
796: [12:46:52] <Pymmfdyk> Adesso: well, you know sminnee at least.
797: [12:47:02] <Pymmfdyk> He was the bearded Kiwi in the jacket.
798: [12:47:20] <Pymmfdyk> y'know, the one that wrote silverstripe originally ;)
799: [12:47:32] <Adesso> Simon .. ?
800: [12:47:46] <Pymmfdyk> No, that was the blonde dutchman, spheresilver.
801: [12:48:00] <Adesso> ok ... that solves 2 ..
802: [12:48:08] <Pymmfdyk> Sam Minnee. => sminnee
803: [12:48:15] <Pymmfdyk> oddly enough ;P
804: [12:48:15] <Adesso> 3
805: [12:48:31] <Pymmfdyk> you know wmk, so I'm guessing that's the third.
806: [12:48:47] * Adesso searches for the Group Photo
807: [12:49:33] <Pymmfdyk> otterpocket and thehacksaw (both not currently in channel, thehacksaw comes sometimes, otterpocket/fiziks a little more often) were the English chaps from Norwich. The Hacksaw being the chap that gave the Ajax talk.
808: [12:50:00] * Adesso liked the Hacksaw's talk
809: [12:51:13] <Pymmfdyk> Adesso: pretty much everyone at the top of the page there, excepting ocm (ocmnt) was attending.
810: [12:52:58] * Adesso finds no Photos :(
811: [12:53:00] * marvanni has joined #silverstripe
812: [12:53:09] <Pymmfdyk> Adesso: twitter.com/silverstripeeu
813: [12:54:19] <Pymmfdyk> Adesso: https://pbs.twimg.com/profile_banners/2355324908/1412707884/1500x500
814: [12:54:40] <Adesso> you in the grey shirt ?
815: [12:54:58] <Pymmfdyk> No, he was Pali, the Slovakian.
816: [12:55:20] <Adesso> dammit
817: [12:56:27] <Colin[pi]> nn all, sleeps tiem
818: [12:56:39] * irgbit has joined #silverstripe
819: [13:01:38] * irgbit quit (Ping timeout: 272 seconds)
820: [13:02:49] <ocmnt> are those the SS t-shirts?
821: [13:03:22] * marvanni quit (Ping timeout: 250 seconds)
822: [13:06:40] <ocmnt> Pymmfdyk, can't you photoshop me in there on that picture? :P
823: [13:06:45] <ocmnt> somewhere hanging from the ceiling or something?
824: [13:12:44] <Pymmfdyk> ocmnt: popping in from the side like Mortal Kombat 2?
825: [13:13:00] <Pymmfdyk> ocmnt: yep, the dragon smoke is the the shape of the logo you'll see :)
826: [13:13:22] <ocmnt> are they for sale somewhere? would like to have one aswell
827: [13:13:56] <Pymmfdyk> those are limited edition!
828: [13:13:57] <kinglozzer> Pymmfdyk: Did anyone catch Zauberfisch in a photo? :P
829: [13:15:27] * muskie9 has joined #silverstripe
830: [13:15:41] <Pymmfdyk> kinglozzer: no, he's magic!
831: [13:31:31] * wilsonstaff has joined #silverstripe
832: [13:31:58] <wilsonstaff> Hi to all, what do you use (successfully) as Silverstripe ECommerce module?
833: [13:32:49] <Pymmfdyk> swipestripe.
834: [13:34:13] <guci0> " My_Controller::init(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition" – any ideas?
835: [13:34:46] <wilsonstaff> <Pymmfdk>Ive tried to use it but can't managed to have Taxes and Shipping modules to work.
836: [13:35:21] <Adesso> PoP Quiz: Global reff for the domain in SS
837: [13:36:00] <Adesso> $base_tag->URL ?
838: [13:37:55] <ocmnt> if I have a dataextention that adds some DB fields
839: [13:37:56] <ocmnt> how to call them in my controller?
840: [13:38:05] <ocmnt> $this->FieldName gives error
841: [13:38:14] <ocmnt> [NOTICE] UNDEFINED PROPERTY:
842: [13:40:57] <Adesso> anybody.. I want to return absolute links for Facebook
843: [13:41:04] <Adesso> I just need the BaseHref
844: [13:41:12] <Adesso> in the Controller
845: [13:42:54] <wilsonstaff> <Pymmfdyk>How did you managed to have Taxes and Shipping modules to work?
846: [13:45:46] <kinglozzer> http://tylervigen.com/
847: [13:45:48] <kinglozzer> Hahaha
848: [13:47:03] * Adesso finds the solution Director::protocolAndHost()
849: [13:47:04] <ocmnt> Adesso, I use: content="{$BaseHref}{$URLSegment}"
850: [13:48:02] <Adesso> Director::protocolAndHost() playes better when you add images that are relative to the base ..
851: [13:48:08] <Adesso> as it has no Slash ..
852: [13:48:36] <Pymmfdyk> wilsonstaff: did you build?
853: [13:49:00] <Pymmfdyk> wilsonstaff: type py then press tab, that lot with the angle brackets doesn't notify me.
854: [13:49:03] <Pymmfdyk> ;)
855: [13:49:39] <wilsonstaff> <Py>Yes, but still no sign of Taxes anywhere. It shows in the SHOP section of the CMS but not on the Checkout page.
856: [13:49:46] <kinglozzer> Close enough ^^
857: [13:49:47] <kinglozzer> :P
858: [13:50:03] <wilsonstaff> Pymmfdyk: Yes, but still no sign of Taxes anywhere. It shows in the SHOP section of the CMS but not on the Checkout page.
859: [13:51:07] <wilsonstaff> Pymmfdyk: Problem is also that the site is build using SS3.0.5 and SwipeStripe seems to be build for SS3.1 with all this private function i had to render as public.
860: [13:51:13] <Pymmfdyk> wilsonstaff: you probably have to add it by editing the template.
861: [13:51:28] <wilsonstaff> Pymmfdyk: And you do this using?
862: [13:51:29] <Pymmfdyk> wilsonstaff: in the repositiory there is likely a tag or a branch for 3.0
863: [13:51:33] <Pymmfdyk> use that instead.
864: [13:51:50] <Pymmfdyk> wilsonstaff: well, I use notepad++ to edit.
865: [13:52:21] <wilsonstaff> Pymmfdyk: No i meant what $Tag do you add in the template and which template?
866: [13:52:43] <Pymmfdyk> I dunno.
867: [13:52:56] <Pymmfdyk> there's probably an example include in the repository for the tax addon
868: [13:53:05] <Pymmfdyk> you could just <% include That %>
869: [13:53:27] <Pymmfdyk> I've not used Swipestripe in over a year though.
870: [13:53:36] <Pymmfdyk> so I'm unsure of it all.
871: [13:53:36] <wilsonstaff> Pymmfdyk: Thats the THAT i am looking for. Like $Taxes
872: [13:54:13] <Pymmfdyk> like NameOfTheIncludeFile.ss
873: [13:56:08] <Pymmfdyk> wilsonstaff: no, hang on, I'm telling you lies I think.
874: [13:56:20] <Pymmfdyk> It looks like it should calculate automatically.
875: [13:56:27] <Pymmfdyk> have you created a tax rate in the CMS?
876: [13:57:35] <wilsonstaff> Pymmfdyk: Yes. It shows in the SHOP section of the CMS. I can see the TAX modules and taxes options are created. Seems like it needs ADRESSES to work.
877: [14:00:10] * catcher has joined #silverstripe
878: [14:01:03] <wilsonstaff> To All => what files do i need to change to go from SS 3.0.5 to SS3.1.5 ?
879: [14:01:39] <kinglozzer> Uh, cms/ and framework/ ?
880: [14:02:13] <kinglozzer> http://doc.silverstripe.org/framework/en/changelogs/3.1.0#upgrading
881: [14:03:26] <catcher> wilsonstaff, likely followed by many of your php files
882: [14:04:06] * irgbit has joined #silverstripe
883: [14:04:29] * spronk2 quit (Quit: spronk2)
884: [14:05:53] * g4b0_ quit (Ping timeout: 240 seconds)
885: [14:08:45] * irgbit quit (Ping timeout: 260 seconds)
886: [14:14:30] * Adesso can't get his bloody page ..
887: [14:14:49] <Adesso> This Slug is just fucking with me
888: [14:15:28] <Adesso> no matter what I do.. I can't get the Model or Controller to respond in the Template..
889: [14:15:42] <Adesso> it just shows the Paretn Controller functions
890: [14:15:51] <Adesso> but the DO Methods.. are somehow missing
891: [14:15:56] <Adesso> grrrr
892: [14:20:58] * g4b0_ has joined #silverstripe
893: [14:22:26] <Pymmfdyk> Adesso: wrong scope in your template as usual I would suggest ;)
894: [14:22:42] <Pymmfdyk> remember, you need to <% with Item %>
895: [14:22:57] <Pymmfdyk> then all the things on your item (in this case Article) will be available.
896: [14:23:08] <Pymmfdyk> if you need to reference the controller again, $Top.Thing
897: [14:23:23] <Pymmfdyk> similarly when outside the with, you can reference the item with Item.Thing
898: [14:24:35] <Adesso> I ma in the Controller, trying to get some Open Graph tags in a DataObject ..
899: [14:24:52] <Pymmfdyk> $Object.OGTagMethod
900: [14:24:58] <Adesso> but I can't get to the DO Methods... it's like it is not seen
901: [14:25:16] <Pymmfdyk> $Object.Debug
902: [14:30:36] <Adesso> I give up ..
903: [14:30:46] <Adesso> I'll try again on Monday
904: [14:32:01] <Adesso> it's this bitchass https://gist.github.com/Adesso/1e2428fcf0861ae4cc6d
905: [14:32:25] <Adesso> and I think the Slug is killing my ability to access the Model when I view a Article
906: [14:32:30] <Adesso> somehow ..
907: [14:32:51] <Adesso> It really works great.. but I can pull in the MEtaDescription
908: [14:33:02] <Adesso> everything else is perfect
909: [14:34:53] * headtrip quit (Quit: Computer has gone to sleep.)
910: [14:35:19] * headtrip has joined #silverstripe
911: [14:39:11] * Adesso takes on the Weekend
912: [14:39:56] * headtrip quit (Ping timeout: 260 seconds)
913: [14:40:08] * Adesso quit (Quit: Tequila me in already !!!)
914: [14:40:55] * guci0 quit (Ping timeout: 246 seconds)
915: [14:47:42] * josh has joined #silverstripe
916: [14:48:06] * josh is now known as Guest88941
917: [14:48:25] <Guest88941> hello! I've got a quick question re. languages - client would like to see some wording different in the backend (for example, Security as Users, etc.). What would be the best way to do it? I assume that I would download the english .yml file, but where to put the overrides?
918: [14:49:50] <ocmnt> themes/lang/ should do
919: [14:50:18] <ocmnt> alrighty, up to some serious problem now (atleast I think)
920: [14:50:26] * wilsonstaff quit (Quit: Page closed)
921: [14:50:35] <ocmnt> on /dev/build?flush=1 the DB doesnt get updated
922: [14:51:58] <ocmnt> the builder works but stops without any error/complete msg
923: [14:53:14] <Guest88941> .. that would be under mysite?
924: [14:53:24] <ocmnt> Guest88941, yes it would be :)
925: [14:53:33] <ocmnt> uhr wait
926: [14:53:49] <ocmnt> this should do /mysite/lang/langfile.yml
927: [14:54:10] <ocmnt> and don't forget to flush when you are done with that
928: [14:54:24] <Guest88941> .. and what next? anything in the config to make it active?
929: [14:54:43] <ocmnt> it should be picked up automatically
930: [14:56:04] * toddvalentine has joined #silverstripe
931: [14:56:07] <Guest88941> does it matter how I call it?
932: [14:56:13] <Guest88941> seems still the same..
933: [14:56:14] <ocmnt> the .yml?
934: [14:56:18] <Guest88941> yes
935: [14:56:21] <ocmnt> it should be the name of the language that is set
936: [14:56:43] <ocmnt> so for english it should be en_GB.yml (or en_US.yml for murican's)
937: [14:58:23] <Guest88941> ok, seems to be picked up, thank you very much!
938: [14:58:58] <ocmnt> no problem :)
939: [15:04:44] * r_hector quit (Quit: Leaving.)
940: [15:04:53] * Sj0hn quit ()
941: [15:05:42] * jcwacky_ has joined #silverstripe
942: [15:05:53] * headtrip has joined #silverstripe
943: [15:06:52] * jcwacky quit (Ping timeout: 244 seconds)
944: [15:06:52] * jcwacky_ is now known as jcwacky
945: [15:10:21] * headtrip quit (Ping timeout: 260 seconds)
946: [15:10:24] * irgbit has joined #silverstripe
947: [15:15:02] * irgbit quit (Ping timeout: 255 seconds)
948: [15:19:25] * Guest88941 quit (Ping timeout: 246 seconds)
949: [15:38:05] * jenniferaslan has joined #silverstripe
950: [15:38:18] <Pymmfdyk> gw ocmnt :>
951: [15:39:08] <ocmnt> gw?
952: [15:39:19] <Pymmfdyk> good work
953: [15:39:31] <ocmnt> on what?
954: [15:39:39] <ocmnt> did I miss something here?
955: [15:39:43] <Pymmfdyk> [15:58] <ocmnt> no problem :)
956: [15:40:01] <ocmnt> problems don exists anyway
957: [15:40:06] <ocmnt> challenges!
958: [15:40:10] <ocmnt> :P
959: [15:41:21] <Pymmfdyk> yeh
960: [15:41:41] <ocmnt> oeh, allmost weekend \o/
961: [15:41:45] <ocmnt> party time
962: [15:44:25] * ARNHOE quit ()
963: [15:45:11] * UndefinedOffset quit (Quit: Leaving.)
964: [15:46:22] <Pymmfdyk> doofdoof
965: [15:55:38] <ocmnt> good weekend all
966: [15:55:41] <ocmnt> gbye
967: [15:55:42] <ocmnt> :*
968: [15:55:44] <Pymmfdyk> ciao
969: [15:55:44] * ocmnt quit (Quit: Ik ga weg)
970: [15:55:45] <kinglozzer> cya oc
971: [15:55:47] <kinglozzer> :(
972: [15:55:53] <kinglozzer> hit tab a second too late :<
973: [15:55:56] <Pymmfdyk> you missed the m
974: [15:56:01] <Pymmfdyk> ah
975: [15:56:02] <Pymmfdyk> hehe
976: [15:58:15] <g4b0_> bye bye
977: [15:58:19] <g4b0_> have a good weekend
978: [15:58:27] <Pymmfdyk> ciao g4b0_
979: [15:58:39] * g4b0_ leaving the office
980: [15:58:43] * g4b0_ quit (Quit: Sto andando via)
981: [16:06:17] <kinglozzer> home time
982: [16:06:20] <kinglozzer> ciao Pymmfdyk
983: [16:06:31] * kinglozzer quit ()
984: [16:06:35] * headtrip has joined #silverstripe
985: [16:06:57] * stnvh quit ()
986: [16:10:57] * headtrip quit (Ping timeout: 260 seconds)
987: [16:11:31] <Pymmfdyk> time to weekend I thinks. Channel is dead from now until monday anyway :< CIAO whoever is left *(not afk)!
988: [16:11:36] * Pymmfdyk quit ()
989: [16:15:10] * irgbit has joined #silverstripe
990: [16:17:20] * catcher quit (Quit: Leaving)
991: [16:19:46] * irgbit quit (Ping timeout: 255 seconds)
992: [16:21:36] * ARNHOE has joined #silverstripe
993: [16:34:45] * UndefinedOffset has joined #silverstripe
994: [16:48:45] * toddvalentine quit ()
995: [16:55:31] * muskie9 is now known as _muskie9_
996: [17:07:21] * headtrip has joined #silverstripe
997: [17:12:05] * headtrip quit (Ping timeout: 260 seconds)
998: [17:18:41] * irgbit has joined #silverstripe
999: [17:22:57] * irgbit quit (Ping timeout: 246 seconds)
1000: [17:24:33] * Fuxo has joined #silverstripe
1001: [18:07:32] * _muskie9_ is now known as muskie9
1002: [18:08:05] * headtrip has joined #silverstripe
1003: [18:12:20] * headtrip quit (Ping timeout: 250 seconds)
1004: [18:21:03] * irgbit has joined #silverstripe
1005: [18:25:16] * irgbit quit (Ping timeout: 244 seconds)
1006: [19:08:53] * headtrip has joined #silverstripe
1007: [19:13:25] * headtrip quit (Ping timeout: 260 seconds)
1008: [19:21:52] * irgbit has joined #silverstripe
1009: [19:26:07] * irgbit quit (Ping timeout: 245 seconds)
1010: [19:36:36] * jcwacky quit (Quit: jcwacky)
1011: [19:42:22] * x75 has joined #silverstripe
1012: [19:46:03] <x75> hi, there
1013: [19:49:47] <x75> I normally put css and js requirements in Page_Controller::init and combine them using minify-module. but now I have a module that uses a Controller that does not extend Page_Controller so my CSS and JS is missing. Any suggestions what I should do?
1014: [19:50:31] * UncleCheese has joined #silverstripe
1015: [19:52:17] * toddvalentine has joined #silverstripe
1016: [19:52:43] <x75> Is there a way to combine requirements if I put them in the templates?
1017: [20:00:00] * wilsonstaff has joined #silverstripe
1018: [20:02:00] <wilsonstaff> Hi ti all, i am having a problem with a Decimal field created as : 'Rate' => 'Decimal(18,3)' It refuses to accept numbers like 14.975 it says Validation error. Any clue?
1019: [20:06:58] * UndefinedOffset quit (Quit: Leaving.)
1020: [20:09:38] * headtrip has joined #silverstripe
1021: [20:10:54] <muskie9> x75, create an extension to apply to the Controller and use onAfterInit()
1022: [20:11:28] <muskie9> call ur requirements like you would in a controller and it'll apply them after the controller's init() function
1023: [20:12:13] <x75> muskie9: ah thanks, I guess I could then apply the same extension to page_controller to only have one place to manage requirements
1024: [20:12:28] <muskie9> yup
1025: [20:13:00] <muskie9> I've had some issues with requirements orders with this method, but for the most part it's worked for me
1026: [20:13:32] <x75> thanks, I'll give it a try.
1027: [20:14:05] * headtrip quit (Ping timeout: 260 seconds)
1028: [20:14:30] <wilsonstaff> <Muskie>I am having a problem a a decimal field. It refuses numbers like 7.987 even if field is created as Decimal(18,3). If i set the rate to 14975 Can i alter that line return $this->Rate . ' %'; to multiple that 14975 x 0.01 to bring the . to the right place, ending with 14.975 ?
1029: [20:14:58] <wilsonstaff> <Muskie9>I am having a problem a a decimal field. It refuses numbers like 7.987 even if field is created as Decimal(18,3). If i set the rate to 14975 Can i alter that line return $this->Rate . ' %'; to multiple that 14975 x 0.01 to bring the . to the right place, ending with 14.975 ?
1030: [20:16:29] <muskie9> can you paste ur class, or the $db
1031: [20:20:55] <wilsonstaff> <muskie9> http://www.sspaste.com/paste/show/54383a77161f8 look at line 16
1032: [20:21:24] <wilsonstaff> <muskie>I succeeded moving the decimal but it ended up generating other problems.
1033: [20:21:29] * irgbit has joined #silverstripe
1034: [20:22:44] <wilsonstaff> <muskie9>Oddly, the field in the CMS correctly returns 15.000 when i enter 15 but refuses numbers like 14.975. VALIDATION ERROR It it not a number.
1035: [20:23:00] <muskie9> that's odd
1036: [20:25:11] <wilsonstaff> <muskie9>As i said when i used $this->Rate / 1000 . ' %'; i could enter 14975 and the rate was modified to 14.975% but the total amount was not altered....
1037: [20:25:39] * irgbit quit (Ping timeout: 244 seconds)
1038: [20:25:58] * ARNHOE quit ()
1039: [20:28:00] <muskie9> wilsonstaff, are you using a specific local?
1040: [20:28:10] <muskie9> locale*
1041: [20:29:05] <muskie9> wonder if the locale's format is kicking the error
1042: [20:30:39] <x75> muskie9: Hm, I guess Security/login does not call onAfterInit, so my login has no css now
1043: [20:31:42] <x75> ok, I guess it's a know problem: https://github.com/silverstripe/silverstripe-cms/issues/655
1044: [20:32:22] <muskie9> x75 doesn't look like it's gotten much love... over a year old
1045: [20:33:35] * veb has joined #silverstripe
1046: [20:33:39] <wilsonstaff> <muskie9>Changed local from fr_FR to en_US, same problem.....
1047: [20:34:49] <x75> yeah, I guess there has to be some "official" way to do this. Otherwise the silverstripe-opauth module would be totally useless, since its Controller extends Content_Controller and thus presents forms to the user without the requirements
1048: [20:35:45] <x75> I'll just hack something that calls a method in init and then in OnAfterInit I check if it has allready been called. but feels sooo wrong
1049: [20:37:33] <muskie9> x75, the other option is if you have all the files combining, then overwrite the login template and call the combined js/css files from the template
1050: [20:38:15] <muskie9> then if you change the requirements in the controller for that combined file it'll automatically take in the login form
1051: [20:38:53] * willr has joined #silverstripe
1052: [20:39:39] <wilsonstaff> <muskie9>With this $this->Rate / 1000 . ' %'; correctly setting back the decimal to the right place, generating the correct rate 14.975. I did the same thing to the amount number. All sets equal now.
1053: [20:40:44] <x75> muskie9: hm, you mean hardcode the path to the combined files?
1054: [20:41:34] * phillprice has joined #silverstripe
1055: [20:42:11] <phillprice> Has anyone had success with semaphoreapp? a /dev/build in it brings back this message about the database
1056: [20:42:12] <phillprice> Trace ===== user_error(Couldn't connect to MySQL database | No such file or directory,256) MySQLDatabase.php:598 MySQLDatabase->databaseError(Couldn't connect to MySQL database | No such file or directory) MySQLDatabase.php:72 MySQLDatabase->__construct(Array) DB.php:174 DB::connect(<filtered>) cli-script.php:106
1057: [20:42:34] <muskie9> ya, like you normally would in a template <% require css("path/to/combined/css.css") %>
1058: [20:44:15] <muskie9> wilsonstaff, definitely seems like it's way more work... but since the Decimal validation doesn't seem to be working I guess that would do for now
1059: [20:45:06] <x75> went the other way. I have an Extension with a doRequirements function and a requirementsDone flag now. then in onAfterInit of the extension and in init of the Page_Controller I call doRequirements. Works, but far away from elegant
1060: [20:45:48] <x75> muskie9: thanks for your help!
1061: [20:46:11] <muskie9> no problem
1062: [20:47:09] * simon_w has joined #silverstripe
1063: [20:47:56] * wilsonstaff quit (Quit: Page closed)
1064: [20:53:29] <muskie9> so if I was looking to obfuscate data on a csv export would this be the way to go: http://stackoverflow.com/questions/17502299/how-to-export-all-rows-as-csv-in-modeladmin-silverstripe-3-1#answer-17503504
1065: [20:53:44] * Shrike_Finland has joined #silverstripe
1066: [20:53:55] <muskie9> at least to get all the data and add the button as an optional element for the grid config
1067: [20:55:28] * irgbit has joined #silverstripe
1068: [20:55:31] <muskie9> here is my first attempt, but not sure where in the loops the data is that I would obfuscate: https://gist.github.com/nhorstmeier/d4a6527db05ceaf40454
1069: [20:55:38] * UncleCheese quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
1070: [20:55:39] <Shrike_Finland> UncleCheese: is it possible to add language support for this bootstrap javascript? http://goo.gl/vzQNwk
1071: [20:58:43] * spronk2 has joined #silverstripe
1072: [21:06:02] * travis-ci has joined #silverstripe
1073: [21:06:02] <travis-ci> silverstripe/silverstripe-framework#3445 (3.1 - 07c8085 : Sean Harvey): The build passed.
1074: [21:06:02] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/6bfbbdcb3814...07c8085e5d15
1075: [21:06:02] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/37640632
1076: [21:06:02] * travis-ci has left #silverstripe
1077: [21:08:02] * x75 has left #silverstripe
1078: [21:10:25] * headtrip has joined #silverstripe
1079: [21:14:45] * headtrip quit (Ping timeout: 260 seconds)
1080: [21:21:27] * simon_w quit (Read error: No route to host)
1081: [21:21:28] * simon__w has joined #silverstripe
1082: [21:29:39] * simon__w is now known as simon_w
1083: [21:30:46] * phillprice quit (Ping timeout: 246 seconds)
1084: [21:34:04] * Azure quit (Quit: My MBP went to sleep.)
1085: [21:35:54] * muskie9 is now known as _muskie9_
1086: [21:36:08] * Fuxo quit (Quit: leaving)
1087: [21:40:50] * _muskie9_ is now known as muskie9
1088: [21:51:30] * muskie9 is now known as _muskie9_
1089: [22:11:10] * headtrip has joined #silverstripe
1090: [22:15:53] * headtrip quit (Ping timeout: 260 seconds)
1091: [22:18:34] * Shrike_Finland quit (Quit: Leaving.)
1092: [22:27:30] * simon_w quit (Quit: Ping timeout: your mum)
1093: [22:34:23] * toddvalentine quit (Ping timeout: 240 seconds)
1094: [22:35:48] * spronk2 quit (Quit: spronk2)
1095: [23:11:56] * headtrip has joined #silverstripe
1096: [23:16:18] * ninty9notout has joined #silverstripe
1097: [23:16:33] * headtrip quit (Ping timeout: 260 seconds)
1098: [23:16:54] <ninty9notout> hey
1099: [23:25:13] * ninty9notout quit (Ping timeout: 246 seconds)
1100: [23:45:57] * willr quit (Quit: willr)

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