#silverstripe IRC Log

IRC log for 5 August 2016

All timestamps are in UTC.

1: [00:00:02] * ss-helper quit (Remote host closed the connection)
2: [00:00:17] * ss-helper has joined #silverstripe
3: [00:00:51] * micmania1 quit (Quit: micmania1)
4: [00:14:12] * micmania1 has joined #silverstripe
5: [00:19:57] * Admonish has joined #silverstripe
6: [00:25:04] <Hailwood> DanaeNZ, For you I believe http://goo.gl/nFlK5V
7: [00:26:20] <DanaeNZ> pretty much
8: [00:35:49] <Hailwood> What version are you running?
9: [00:44:51] <DanaeNZ> 2016.2
10: [01:05:31] * catcherdev has joined #silverstripe
11: [01:06:48] * catcherdev quit (Client Quit)
12: [01:08:16] * DanaeNZ quit (Remote host closed the connection)
13: [01:08:51] * DanaeNZ has joined #silverstripe
14: [01:13:04] * DanaeNZ quit (Ping timeout: 250 seconds)
15: [01:13:41] * DanaeNZ has joined #silverstripe
16: [01:30:46] * janneklouman-- has joined #silverstripe
17: [01:35:34] * janneklouman-- quit (Ping timeout: 244 seconds)
18: [01:38:54] * Nightjar quit (Ping timeout: 260 seconds)
19: [01:45:59] * Nightjar has joined #silverstripe
20: [02:59:43] <Hailwood> Can you write completely separate docblocks for a class? I.e. have a custom_docs.php that's just full of phpdoc stuff?
21: [03:00:47] <ss23> dunno, but that's a phpdoc question I guess
22: [03:00:54] <ss23> Why would you want to is a more important question
23: [03:03:18] <Hailwood> ss23, Well, I have an extension that I am applying to "Member", so I want to be able to doc that Member now has a "FavouriteFrenchToastShape" property, but obviously I can't just go writing docs on Member
24: [03:04:38] <Hailwood> Hey DanaeNZ do you know the name of any of those "vote for music" things?
25: [03:04:58] <DanaeNZ> Hailwood: uhhhhh I think TradeMe made one
26: [03:05:03] <DanaeNZ> what was it called
27: [03:05:29] <DanaeNZ> http://labs.trademe.co.nz/projects/playme/
28: [03:05:32] <DanaeNZ> it's only ok
29: [03:07:02] <Hailwood> Lol .net
30: [03:08:27] <Nightjar> someone get me the spotify link for 'be prepared' from the lion king soundtrack.
31: [03:08:36] <Nightjar> plezse.
32: [03:13:21] <DanaeNZ> https://open.spotify.com/track/1zEtUGZZ1rDsBtUfc97Hml
33: [03:13:57] <Hailwood> Anyone built a hubot that controls spotify?
34: [03:16:47] <Nightjar> DanaeNZ, that's... wut
35: [03:17:20] <DanaeNZ> Nightjar: is it not?
36: [03:17:33] <Nightjar> idk, is it spotify:?
37: [03:18:00] <DanaeNZ> It's a spotify link to the Be Prepared song
38: [03:18:02] <DanaeNZ> as requested
39: [03:19:06] <Nightjar> oh yep, should probably work. I'll give it a try
40: [03:19:12] <Nightjar> thx
41: [03:19:58] <Nightjar> hmm, can probably modify it anyway coz hash. spotify:track:1zEtUGZZ1rDsBtUfc97Hml
42: [03:39:55] * micmania1 quit (Quit: micmania1)
43: [03:41:06] * micmania1 has joined #silverstripe
44: [03:42:51] * janneklouman-- has joined #silverstripe
45: [03:46:40] <DanaeNZ> agh I always forget in SS the easy way to parse the \n or \r on a plain string to <br>
46: [03:46:52] * janneklouman-- quit (Ping timeout: 240 seconds)
47: [03:50:46] <DanaeNZ> aha, I think the trick is to not use the injector
48: [03:52:28] <DanaeNZ> wait
49: [03:52:30] <DanaeNZ> nl2br
50: [03:52:33] <DanaeNZ> lol
51: [03:58:46] * zippy has joined #silverstripe
52: [04:10:58] * Nightjar quit (Ping timeout: 252 seconds)
53: [04:14:06] * pippy quit (Ping timeout: 250 seconds)
54: [04:14:12] * Stomach quit (Quit: zzz)
55: [04:19:11] * Nightjar has joined #silverstripe
56: [04:38:02] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
57: [04:49:39] * Admonish quit (Quit: Going offline, see ya! (www.adiirc.com))
58: [04:51:37] * Stomach has joined #silverstripe
59: [05:00:08] <ss-helper> Loop blog post filtered by a category on silverstripe - http://stackoverflow.com/questions/38781381/loop-blog-post-filtered-by-a-category-on-silverstripe
60: [05:03:20] * Hailwood quit (Remote host closed the connection)
61: [05:03:46] * Phlunk3 quit (Ping timeout: 265 seconds)
62: [05:08:42] <Nightjar> thanks DanaeNZ - but it's ridiculously fk'n quiet. Sadpanda.
63: [05:08:46] <Nightjar> Anticlimax :<
64: [05:09:42] <DanaeNZ> noooooooo
65: [05:09:54] <DanaeNZ> i didn't listen to it before i sent the link haha
66: [05:10:02] <Nightjar> Missed like, the entire first half :<
67: [05:10:27] <Nightjar> You get this in return: https://www.youtube.com/watch?v=OO_XG1m4bpc&index=1&list=PLA4E8weE-Awitx4yE9ZqrZatzCf3ssY0C
68: [05:12:56] <Nightjar> thanks to DanaeNZ, seemed like the office enjoyed it
69: [05:13:01] <Nightjar> tho*
70: [05:14:31] <DanaeNZ> sweeet
71: [05:17:25] <DanaeNZ> woohoo, hometime!
72: [05:17:29] * DanaeNZ quit (Quit: TIME TO FEED)
73: [05:19:11] * Stomach quit (Quit: zzz)
74: [05:22:24] * Stomach has joined #silverstripe
75: [05:31:07] * MichalKleiner has joined #silverstripe
76: [05:32:13] * micmania1 quit (Quit: micmania1)
77: [05:41:59] * spronk quit (Quit: I may need a longer sleep timer...)
78: [05:52:21] * Stomach quit (Ping timeout: 244 seconds)
79: [05:57:04] * XorPush has joined #silverstripe
80: [06:02:37] * Nightjar quit (Ping timeout: 252 seconds)
81: [06:16:40] * Stomach has joined #silverstripe
82: [06:22:08] * Stomach quit (Quit: zzz)
83: [06:23:05] * Stomach has joined #silverstripe
84: [06:23:33] * swaiba has joined #silverstripe
85: [06:24:50] * Stomach quit (Client Quit)
86: [06:32:56] * janneklouman-- has joined #silverstripe
87: [06:41:10] * arnhoe has joined #silverstripe
88: [06:43:51] * janneklouman-- quit (Ping timeout: 258 seconds)
89: [06:49:07] * janneklouman-- has joined #silverstripe
90: [07:13:40] * darianno has joined #silverstripe
91: [07:16:23] * micmania1 has joined #silverstripe
92: [07:21:31] * chillu_23 quit (Ping timeout: 265 seconds)
93: [07:25:20] * janneklouman-- quit (Read error: Connection reset by peer)
94: [07:28:29] * micmania1 quit (Quit: micmania1)
95: [07:37:10] * jyrkililja has joined #silverstripe
96: [07:37:28] <jyrkililja> Hi all!
97: [07:37:40] <jyrkililja> Any idea how to see the params of a prepared query?
98: [07:38:19] <jyrkililja> Debugging/checking $datalist->sql() is quite hard without them
99: [07:40:43] <jyrkililja> Other than installing https://github.com/lekoala/silverstripe-debugbar
100: [07:45:11] <ss-helper> Silverstripe main url working but subsite url not working - http://stackoverflow.com/questions/38783637/silverstripe-main-url-working-but-subsite-url-not-working
101: [07:57:20] * chillu_23 has joined #silverstripe
102: [07:57:34] * chillu_23 quit (Client Quit)
103: [08:00:29] * kinglozzer has joined #silverstripe
104: [08:13:19] <swaiba> jyrkililja I don't know but am very insterested
105: [08:13:30] <swaiba> if you don't get an answer here then maybe post on SO
106: [08:18:44] * deschebbs has joined #silverstripe
107: [09:09:25] * janneklouman-- has joined #silverstripe
108: [09:14:59] <jyrkililja> swaiba: I'd love to find a method that can be called from debugger. That'd be the best for me...
109: [09:16:03] * janneklouman-- quit (Ping timeout: 240 seconds)
110: [09:17:19] <swaiba> jyrkililja well if you're not going to post it on SO I might... :)
111: [09:25:30] * janneklouman-- has joined #silverstripe
112: [09:27:18] <jyrkililja> I'll probably have to ;)
113: [09:31:03] <swaiba> I'll up vote that and star it!
114: [09:32:04] * janneklouman-- quit (Ping timeout: 240 seconds)
115: [09:32:38] * Stomach has joined #silverstripe
116: [09:34:39] * janneklouman-- has joined #silverstripe
117: [09:37:31] <jyrkililja> swaiba: http://stackoverflow.com/questions/38786051/debugging-silverstripe-prepared-statements
118: [09:37:38] <jyrkililja> any suggestions on improving the question?
119: [09:37:50] * pweh has joined #silverstripe
120: [09:38:09] <swaiba> jyrkililja looks fine to me!
121: [09:38:42] <jyrkililja> good!
122: [09:38:54] <jyrkililja> Now we just hope that someone has the answer :)
123: [09:39:28] <swaiba> well there is a possibility you'll get "why don't you just take the code from the debug bar"!
124: [09:39:40] <swaiba> but hopefully someone will post a neat answer instead of being a hater
125: [09:39:48] <jyrkililja> true...
126: [09:39:58] <swaiba> * correction down voter
127: [09:40:20] <jyrkililja> I should probably add that I tried to look around the code quickly but didn't find an easily usable solution...
128: [09:40:27] <swaiba> good call
129: [09:42:56] <jyrkililja> dony
130: [09:42:59] <jyrkililja> *done
131: [09:45:13] <ss-helper> Debugging SilverStripe prepared statements - http://stackoverflow.com/questions/38786051/debugging-silverstripe-prepared-statements
132: [09:45:38] <swaiba> looks like you safe with 3 up votes :)
133: [09:45:58] <jyrkililja> :)
134: [09:47:12] * janneklouman-- quit (Ping timeout: 240 seconds)
135: [10:04:39] * spronka has joined #silverstripe
136: [10:06:51] * Stomach quit (Quit: zzz)
137: [10:20:58] <arnhoe> With uploadfield, is there a way when using 'from files' it gets forced to the foldername rather than the root
138: [10:23:08] <swaiba> arnhoe UploadField::create('Photo','Upload a photo')->setFolderName('somefolder/')
139: [10:23:29] <arnhoe> yes, that is when you are uploading a file
140: [10:23:50] <arnhoe> but when selecting a exisiting file 'from files', it doesn't go to somfolder/ but goes to the root
141: [10:23:59] <swaiba> oh sorry my bad
142: [10:46:49] <jyrkililja> https://docs.silverstripe.org/en/3.4/changelogs/3.2.0/#uploadfield-select-from-files-shows-files-in-all-folders-by-default
143: [10:46:52] <jyrkililja> UploadField::create('MyField')->setDisplayFolderName('Uploads');
144: [10:46:57] <jyrkililja> arnhoe: would this solve the problem?
145: [10:47:17] <jyrkililja> Or does this allow accessing other folders, just starts from the specified?
146: [10:51:50] * pweh is now known as F-u-c-k
147: [10:54:34] <arnhoe> @jyrkililja: great, that was the solution I was looking for (Y)
148: [10:54:36] <arnhoe> thanks
149: [10:55:10] <kinglozzer> jyrkililja: Yeah it's a known pain point that you can't see the query params, there was a Github ticket about it somewhere
150: [10:56:39] <kinglozzer> ah https://github.com/silverstripe/silverstripe-framework/pull/4582
151: [11:00:31] * F-u-c-k is now known as coca_koala
152: [11:00:38] * coca_koala is now known as pweh
153: [11:10:51] * spronka quit (Quit: My Mac has gone to sleep. ZZZzzz…)
154: [11:13:49] * spronka has joined #silverstripe
155: [11:17:52] <jyrkililja> kinglozzer: thanks for the info! now the question (as discussed here http://stackoverflow.com/questions/38786051/debugging-silverstripe-prepared-statements) is can we get that info easily from the debug console in 3.2.
156: [11:25:26] * flowsn has joined #silverstripe
157: [11:31:04] * Azure quit (Ping timeout: 264 seconds)
158: [11:34:11] * Azure has joined #silverstripe
159: [11:40:15] * Azure|dc has joined #silverstripe
160: [11:41:19] * Azure quit (Ping timeout: 258 seconds)
161: [11:43:45] * _will_ has joined #silverstripe
162: [11:43:45] <ss-helper> _will_: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
163: [11:43:51] <_will_> partial caching. I always seem to do it wrong
164: [11:44:24] <_will_> i have a ProjectHolder with projects listed. I want the page partial cached unless it is updated or any of the projects are updated, including reordering.
165: [11:44:31] <_will_> can i get that to work? nope.
166: [11:45:19] <_will_> eg <% cached 'ProjectList', $LastEdited, $List("ProjectPage").max('LastEdited') %>
167: [11:51:42] * _will_ quit (Ping timeout: 250 seconds)
168: [12:19:49] * UndefinedOffset has joined #silverstripe
169: [12:20:59] * pweh is now known as HotBot
170: [12:22:14] * HotBot is now known as SCREAMING
171: [12:23:07] * SCREAMING is now known as PORN
172: [12:24:14] * __will has joined #silverstripe
173: [12:34:42] * PORN quit (Read error: Connection reset by peer)
174: [12:37:12] * __will quit (Ping timeout: 250 seconds)
175: [12:42:24] * XorPush quit (Ping timeout: 250 seconds)
176: [12:48:59] * jyrkililja quit (Quit: leaving)
177: [13:14:06] * flowsn quit (Quit: (null))
178: [13:26:45] * UndefinedOffset quit (Quit: Leaving.)
179: [13:40:59] <swaiba> and it's "I hate forms friday"
180: [13:41:32] <swaiba> not code to share, just hating forms, they always seem to not action right for the first 10/15 minutes
181: [13:57:25] * janneklouman-- has joined #silverstripe
182: [14:08:25] * spronka quit (Quit: My Mac has gone to sleep. ZZZzzz…)
183: [14:13:40] * janneklouman-- quit (Ping timeout: 264 seconds)
184: [14:14:31] * deschebbs quit (Quit: Konversation terminated!)
185: [14:49:04] * vitaly_ quit (Ping timeout: 240 seconds)
186: [14:55:15] * Christopher has joined #silverstripe
187: [14:55:39] * Christopher is now known as Guest8899
188: [14:56:51] <Guest8899> Hi All, we're using the module https://github.com/sheadawson/silverstripe-blocks and want to make use of https://github.com/heyday/silverstripe-cacheinclude, has anybody successfully integrated the two? We're struggling where a given block is used more than once on a page.
189: [15:06:15] * darianno quit (Quit: Textual IRC Client: www.textualapp.com)
190: [15:16:14] * Guest8899 quit (Ping timeout: 250 seconds)
191: [15:29:52] * arnhoe quit ()
192: [15:49:56] * UndefinedOffset has joined #silverstripe
193: [15:54:35] * swaiba quit (Remote host closed the connection)
194: [15:56:31] * janneklouman-- has joined #silverstripe
195: [15:56:35] * kinglozzer quit ()
196: [16:01:13] * janneklouman-- quit (Ping timeout: 258 seconds)
197: [16:39:42] * janneklouman-- has joined #silverstripe
198: [16:49:29] * janneklouman-- quit (Ping timeout: 250 seconds)
199: [18:26:26] * UndefinedOffset quit (Quit: Leaving.)
200: [18:40:23] * UndefinedOffset has joined #silverstripe
201: [18:42:06] * terryapodaca1 quit (Read error: Network is unreachable)
202: [18:43:37] * terryapodaca has joined #silverstripe
203: [19:17:43] * janneklouman-- has joined #silverstripe
204: [19:45:20] * neomang quit (Ping timeout: 250 seconds)
205: [20:04:29] * Stomach has joined #silverstripe
206: [20:07:36] * janneklouman-- quit (Ping timeout: 265 seconds)
207: [20:27:11] * janneklouman-- has joined #silverstripe
208: [20:33:18] * UndefinedOffset quit (Quit: Leaving.)
209: [20:36:34] * terryapodaca1 has joined #silverstripe
210: [20:39:08] * terryapodaca quit (Ping timeout: 250 seconds)
211: [20:52:09] * Stomach quit (Quit: zzz)
212: [20:57:42] * terryapodaca1 quit (Quit: Leaving.)
213: [21:29:15] * Stomach has joined #silverstripe
214: [21:40:18] * UncleCheese has joined #silverstripe
215: [22:15:29] * janneklouman-- quit (Ping timeout: 250 seconds)
216: [22:43:53] * pweh has joined #silverstripe
217: [23:36:58] * pweh quit (Ping timeout: 252 seconds)
218: [23:59:33] * pweh has joined #silverstripe

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