#silverstripe IRC Log

IRC log for 19 June 2015

All timestamps are in UTC.

1: [00:00:27] * Stomach has joined #silverstripe
2: [00:04:11] * adrexia quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
3: [00:04:56] <Colin[pi]> anyone here done much with partial caching?
4: [00:07:01] * UncleCheese has joined #silverstripe
5: [00:07:24] <Stomach> Colin[pi] - cacheinclude
6: [00:10:19] * adrexia has joined #silverstripe
7: [00:14:38] <Colin[pi]> Stomach: ooh
8: [00:14:41] <Colin[pi]> wait
9: [00:14:51] <Colin[pi]> so that's not like <% cached %> ?
10: [00:15:10] <Stomach> it is
11: [00:15:12] <Stomach> but is better
12: [00:15:23] <Stomach> <% cache 'LongLoop' %><% end_cache %>
13: [00:15:34] <Stomach> then you set up whatever longloop has in it in yml config
14: [00:15:43] * jeremybridson quit (Ping timeout: 246 seconds)
15: [00:15:58] <Stomach> and the cache is generated when one of those objects is updated
16: [00:17:09] <Colin[pi]> :o
17: [00:17:13] <Colin[pi]> woah I'll have to try this out
18: [00:17:14] <Colin[pi]> ta
19: [00:17:40] <Stomach> yeah its much better
20: [00:17:44] <Stomach> no database calls
21: [00:17:48] <Stomach> like a cache should be :P
22: [00:19:01] <DanaeNZ> Stomach: I might use it for this project
23: [00:19:15] <DanaeNZ> my big O notation is not so good
24: [00:19:21] <Stomach> you should use it for all your projects
25: [00:19:23] * scott1702 has joined #silverstripe
26: [00:19:24] <DanaeNZ> function*
27: [00:19:24] <UncleCheese> Stomach is this the heyday cacheinclude?
28: [00:19:25] <DanaeNZ> whatevs*
29: [00:19:30] <Stomach> UncleCheese yah
30: [00:19:35] <UncleCheese> with the react backend
31: [00:19:36] <UncleCheese> so slick
32: [00:19:46] <Stomach> yeah its grand :D
33: [00:20:06] <Stomach> yeah Colin[pi] , DanaeNZ - https://github.com/heyday/silverstripe-cacheinclude-manager
34: [00:20:18] <Colin[pi]> thanks
35: [00:23:36] * spronk has joined #silverstripe
36: [00:24:19] <UncleCheese> Ugh.. the backend is so fluxy
37: [00:24:47] <Stomach> UncleCheese its a shame Cam works for FB now
38: [00:24:48] <Stomach> https://github.com/camspiers
39: [00:24:53] <Stomach> look at that commit history :(
40: [00:25:34] <UncleCheese> !!!!!!
41: [00:26:54] <Colin[pi]> Stomach: he started there in Sept?
42: [00:27:02] <Stomach> yea
43: [00:27:04] <Colin[pi]> lol
44: [00:27:10] <Colin[pi]> pretty black and white
45: [00:28:04] <Stomach> we also haven't seen pippy for a while
46: [00:28:08] <Stomach> wonder how hes doing
47: [00:28:29] <DanaeNZ> Stomach: OOooh nice interface
48: [00:30:15] <Stomach> yah
49: [00:36:23] * adrexia quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
50: [00:38:14] * glenn-bautista1 quit (Quit: Leaving.)
51: [00:41:47] * stecman quit (Quit: This computer has gone to sleep)
52: [00:42:33] <antmas> since when did stuff start doing those presentation articles? http://www.stuff.co.nz/
53: [00:42:37] <antmas> see child fighter article
54: [00:42:47] <ss23> composer install --faster
55: [00:44:14] <chocolatemoose> probably trying to stay current
56: [00:44:14] <Stomach> ss23
57: [00:44:17] <Stomach> composer install -o
58: [00:44:43] <ss23> -o?
59: [00:45:19] <Stomach> --optimize-autoloader
60: [00:45:25] <ss23> oh
61: [00:45:27] <ss23> *shrug*
62: [00:45:36] <antmas> why would you ever not want -0?
63: [00:45:40] <antmas> -o*
64: [00:45:44] <Stomach> its faster without it
65: [00:47:27] <ss23> I care about the speed of `composer install`, not my site
66: [00:48:06] <Colin[pi]> composer's sluggishness doesn't seem to be just network related right?
67: [00:48:32] <Stomach> ss23, if you dont have any dev dependencies it should all come from the cache
68: [00:48:34] <chocolatemoose> http://vanderveer.be/speed-up-composer-by-using-hhvm-including-a-slowtimer-error-fix/ hahaha
69: [00:48:37] <Stomach> and take <1 second
70: [00:49:08] <ss23> Stomach: How would it come from cache if I've never installed these specific versions before?!
71: [00:49:25] <Stomach> do more installing :D
72: [00:49:49] <ss23> :P
73: [00:50:04] <Stomach> composer install --all :P
74: [00:50:06] <Stomach> hahaha
75: [00:50:39] * antmas left his lunch at home
76: [00:50:42] * antmas cries
77: [00:50:45] <antmas> ;______;
78: [00:51:08] <ss23> Eh
79: [00:51:10] <ss23> I buy lunch :O
80: [00:51:22] <ss23> But even if I left lunch at home and couldn't buy lunch, we have work lunch stuff we can use
81: [00:51:25] <ss23> bread n cheese n stuff
82: [00:51:43] <ss23> p.s. we're hiring more devs
83: [00:51:46] <ss23> just putting that out there antmas
84: [00:51:46] <ss23> you know
85: [00:51:47] <ss23> no reason
86: [00:51:52] <ss23> also we have biscuits
87: [00:51:53] <ss23> and free coke
88: [00:52:05] <Colin[pi]> lol
89: [00:52:14] <antmas> ss23: already on it :P
90: [00:52:19] <ss23> Oh? :O
91: [00:52:26] <antmas> shhhhhhhhhhhhhh
92: [00:52:30] <Colin[pi]> ss23: what is your hookers and blackjack quota?
93: [00:52:30] * ss23 leans over to the person doing hirings' PC to look at it
94: [00:52:49] <ss23> antmas: p.s. remmeber ot mention that I was the one who suggested you work here, so I ge my $500
95: [00:52:59] <antmas> ss23: lol!
96: [00:53:04] <antmas> you and UncleCheese
97: [00:53:12] <antmas> also, we used to have biscuits here
98: [00:53:14] <ss23> Colin[pi]: Common misconception. With the number of people here who're a bit weird, it ends up being that we make up the hookers ourselves.
99: [00:53:15] <micmania1> antmas: you should totally come work at silverstripe. My referral code is MSTRONG007
100: [00:53:17] <antmas> and then we had #biscuitgate
101: [00:53:19] <ss23> NO
102: [00:53:21] <ss23> NO DO ME
103: [00:53:26] <Colin[pi]> ss23: lol
104: [00:53:30] <ss23> Whats biscuit gate?
105: [00:53:47] <ss23> bet some fatty ate al the biscuits, amirite?
106: [00:53:53] <Colin[pi]> it's amazing the drama that happens in offices involving god damn biscuits
107: [00:53:54] <antmas> we were apprently spending $20k per year on biscuits throughout the office
108: [00:53:57] <ss23> haha
109: [00:54:00] <DanaeNZ> Ryan-Toast: where are our biscuits
110: [00:54:04] <Ryan-Toast> DanaeNZ: wat?
111: [00:54:08] <DanaeNZ> actually I don’t care, we get BF
112: [00:54:16] <ss23> You get BF?
113: [00:54:18] <ss23> ;_;
114: [00:54:20] <Colin[pi]> antmas: lol WHAT in the actual
115: [00:54:25] <Colin[pi]> 20K?
116: [00:54:27] <antmas> Colin[pi]: ikr
117: [00:54:30] <DanaeNZ> woah
118: [00:54:32] <Colin[pi]> that's a fuck load of biscuits
119: [00:54:32] <Ryan-Toast> ss23: literally just arrived.
120: [00:54:39] <terryapodaca> Hey guys, what's the latest and greatest spamprotection (module) for SS these days? Hopefully something simple like a honeypot, because i can't stand recaptcha
121: [00:54:46] <antmas> bearing in mind our staff average age is like 55
122: [00:54:47] <ss23> micmania1: WHERES OUR FREE BURGERFUEL?
123: [00:54:47] <ss23> :(
124: [00:54:56] <antmas> so lot's more digestives consumed then average
125: [00:54:58] <Ryan-Toast> terryapodaca: just use recaptcha 3
126: [00:55:00] <micmania1> We do get free BF sometimes
127: [00:55:03] <ss23> We probably spend ~$20k on alcohol
128: [00:55:07] <antmas> lol
129: [00:55:07] <ss23> I guess, micmania1, not every day though
130: [00:55:09] <Colin[pi]> ss23: loool
131: [00:55:18] <micmania1> I reckong I drink more than $20k worth myself
132: [00:55:25] <micmania1> I try anyway
133: [00:55:26] <Stomach> thats the spirit!
134: [00:55:26] <ss23> Not including the times someone gets the company credit card and buys more on a Friday
135: [00:55:32] <Colin[pi]> Stomach: literally
136: [00:55:34] <antmas> so now if you want biscuits, you must go down stairs and only eat them there
137: [00:55:36] <Stomach> ;)
138: [00:55:36] <antmas> literally
139: [00:55:43] <ss-helper> Re: [silverstripe-dev] trailing slash on urls - does it matter in terms of SEO - https://groups.google.com/d/msg/silverstripe-dev/kKwmaFRUeRQ/z4jZFe1wZxYJ
140: [00:55:47] <antmas> like biscuit auswitz
141: [00:55:49] <Stomach> EAT THEM IN THE BISCUIT ROOM
142: [00:55:55] <Colin[pi]> antmas: loool you must eat biscuits in front of security
143: [00:55:57] <micmania1> antmas: sign your biscuits out of the packet?
144: [00:55:57] <ss23> lol
145: [00:56:07] <Colin[pi]> CEILING BISCUIT IS WATCHING YOU
146: [00:56:14] <ss23> all this talk of biscuits and burgerfuel is making me hungry, you know...
147: [00:56:15] * DanaeNZ considers baking biscuits
148: [00:56:24] <antmas> I walked up stairs with a biscuit yesterday and one of the accountants was like 'ohhhhhhhhhhhhhhhhhhhhhhhooooooooooohhhhhhhhhh' like were at school again
149: [00:56:37] <Colin[pi]> antmas: OH NO HE DEENT
150: [00:56:38] <ss23> hahahaha antmas
151: [00:56:55] <ss23> The person in our office who used to do baking isn't here anymore :(
152: [00:56:56] <DanaeNZ> Ryan-Toast: post your BF gif
153: [00:57:04] <Ryan-Toast> http://www.gfycat.com/BabyishShinyHarrier
154: [00:57:09] <Colin[pi]> lolol
155: [00:57:11] <Colin[pi]> love that gif
156: [00:57:12] <antmas> I tried to eat it fast but there is only so much pace you can have when eating a gingernut
157: [00:57:16] <ss23> One of the ladies here used to bake fresh bread every day too, but considering it took like an hour, I guess it was considered a little too unproductive or something
158: [00:57:28] <antmas> Ryan-Toast: FUCKYOUFUCKYOUFUCKYOUFUCKYOUFUCKYOUFUCKYOUFUCKYOUFUCKYOU
159: [00:57:29] <Colin[pi]> ss23: dafuq
160: [00:57:32] <antmas> :(
161: [00:57:36] <Colin[pi]> you just put it in the machine right?
162: [00:57:40] <Colin[pi]> or was it in the oven?
163: [00:58:05] <DanaeNZ> Breadmaker takes care of itself and insta bread 3 hours later
164: [00:58:27] <Colin[pi]> I can prep a bread in 5 minutes flat
165: [00:58:35] <Colin[pi]> throw in the machine, 3 hours later, dat smell
166: [00:58:36] <antmas> mm bread
167: [00:58:55] <antmas> one time I made bread and slow cooked lamb at the same time
168: [00:59:00] <antmas> DAT SMELL OMG
169: [00:59:04] <Colin[pi]> antmas: :O
170: [00:59:16] <Colin[pi]> that would be a good combo
171: [01:01:10] <chocolatemoose> speaking of food, does anywhere sell cheese curds?
172: [01:02:10] <chocolatemoose> preferably in Auckland
173: [01:03:39] * Stomach quit (Quit: zzz)
174: [01:04:45] * adrexia has joined #silverstripe
175: [01:09:09] * micmania1 quit (Quit: micmania1)
176: [01:11:14] * Kapdap quit (Quit: leaving)
177: [01:15:07] * Kapdap has joined #silverstripe
178: [01:19:41] * glenn-bautista has joined #silverstripe
179: [01:22:06] <spronk> ^^ anyone do sourdough?
180: [01:23:03] <terryapodaca> sourdough biscuits are the best!
181: [01:28:31] * stecman has joined #silverstripe
182: [01:30:24] * micmania1 has joined #silverstripe
183: [01:34:43] * Stomach has joined #silverstripe
184: [01:36:31] * antmas quit (Quit: Page closed)
185: [01:41:53] <Ryan-Toast> Stomach: do you use SVG sprites, or just your handler that you made?
186: [01:43:23] <Stomach> just the handler
187: [01:44:06] * Tanger has joined #silverstripe
188: [01:44:28] <Stomach> we looked at sprites
189: [01:44:41] <Stomach> but the sometimes we have so many SVGs that loading a sprite is just a total waste of bandwidth
190: [01:44:47] <Ryan-Toast> Fair enough.
191: [01:45:26] <ss23> oh man
192: [01:45:27] <ss23> http://i.imgur.com/JDOmZfX.jpg
193: [01:45:39] <Ryan-Toast> ss23: lol
194: [01:45:46] <ss23> oh man
195: [01:45:48] <ss23> making me lol irl
196: [01:45:54] <DanaeNZ> nooooo
197: [01:46:00] <DanaeNZ> mufasa ;___;
198: [01:46:04] <chocolatemoose> hahahaha
199: [01:46:08] <ss23> Say it again! Mufasa!!!!!
200: [01:46:10] <Colin[pi]> ss23: ಠ_ಠ
201: [01:46:18] <DanaeNZ> hahahah
202: [01:48:40] <Ryan-Toast> Stomach and you just use svgmin in your task runner, right?
203: [01:48:44] <Stomach> yah
204: [01:49:35] <Stomach> so like 50 svgs is 209kb
205: [01:49:37] <Stomach> not bad
206: [01:49:43] <Ryan-Toast> hnnng
207: [01:50:31] <Stomach> :D
208: [01:50:45] <Colin[pi]> hnnnging intensifies
209: [01:50:52] <Ryan-Toast> HNNNNNG
210: [01:50:58] <ss23> ungh.
211: [01:51:12] <DanaeNZ> gnnnh?
212: [01:52:39] <terryapodaca> is there a way to add a class to a inputfield container element? ->addExtraClass('block') puts the class on the <input> but I need it on the container <div>
213: [01:56:19] * Stomach quit (Quit: zzz)
214: [01:56:22] <Colin[pi]> terryapodaca: I think it puts it on both doesn't it?
215: [01:57:29] <terryapodaca> I thought it would too, but these two fields just so happen to be inside a FieldGroup so maybe the framework code does those fields differently
216: [01:58:27] <Ryan-Toast> Stomach: http://i.imgur.com/EeBnI8O.gifv
217: [01:58:36] <Ryan-Toast> :(
218: [01:58:39] <Ryan-Toast> he gone.
219: [01:58:46] <Ryan-Toast> Colin[pi]: ^
220: [02:00:27] <Colin[pi]> lol
221: [02:00:30] <Colin[pi]> nice
222: [02:00:54] <DanaeNZ> Hahahahahaha
223: [02:01:17] <DanaeNZ> how do you make all these gifs anyway >__>;;
224: [02:01:44] <terryapodaca> Colin[pi]: http://i.imgur.com/yiKilAy.png <-- have a look at the input and the container <div>
225: [02:01:55] <terryapodaca> the input has the class 'block'
226: [02:02:02] <Ryan-Toast> DanaeNZ: photoshop.
227: [02:02:10] <Ryan-Toast> even though we have shitty cs5
228: [02:02:12] <DanaeNZ> of course
229: [02:02:22] <DanaeNZ> I hav CC 2015
230: [02:02:29] <Ryan-Toast> the timeline in cs5 is badwrong.
231: [02:02:44] <DanaeNZ> I’ve never been a fan of how photoshop does aniimation tbh
232: [02:02:49] <Ryan-Toast> terryapodaca: What’re you trying to do?
233: [02:03:19] <terryapodaca> the Announcement checkbox options will grow so I just want them each on a new line
234: [02:04:03] * jules0x has joined #silverstripe
235: [02:04:06] <Ryan-Toast> float: none
236: [02:04:18] <Ryan-Toast> terryapodaca: ^
237: [02:04:45] <jules0x> Yo, solr experts? :B
238: [02:04:58] <terryapodaca> right, but that's the framework CSS, how can I override that?
239: [02:05:38] <Ryan-Toast> add an extra class to that fieldgroup, then extend LeftAndMAin with a css file
240: [02:05:42] <jules0x> I need to modify a few thousand versioned records for a dataobject. How can I trigger Solr to index these as I loop through them? I don't want to re-index the entire Table/DB
241: [02:06:03] <Ryan-Toast> target the fieldgroup ???? profit!
242: [02:06:17] <chocolatemoose> terryapodaca: something like this in your config.yml http://pastebin.com/9n9QKFRw
243: [02:06:54] <terryapodaca> BOOOM! perfect
244: [02:07:10] <terryapodaca> thanks chocolatemoose and Ryan-Toast
245: [02:07:16] <DanaeNZ> heheh
246: [02:07:19] <DanaeNZ> chocolate toast
247: [02:07:46] <terryapodaca> lol, it's easy to tell it's Friday in NZ
248: [02:07:53] <DanaeNZ> hussshhh
249: [02:07:55] <DanaeNZ> haha
250: [02:08:15] <terryapodaca> (since I'm a day behind...it's still Thursday 9pm for me)
251: [02:13:04] * glenn-bautista quit (Quit: Leaving.)
252: [02:14:11] <jules0x> So... no one ? :D
253: [02:18:44] * UncleCheese quit (Ping timeout: 252 seconds)
254: [02:19:39] * Stomach has joined #silverstripe
255: [02:24:20] <Tanger> Morning guys
256: [02:24:52] * UncleCheese has joined #silverstripe
257: [02:25:57] <Ryan-Toast> Merning
258: [02:26:30] * UncleCheese quit (Read error: Connection reset by peer)
259: [02:28:18] * veb has joined #silverstripe
260: [02:28:23] <Colin[pi]> Tanger: o/
261: [02:29:32] * jules0x quit (Quit: Leaving)
262: [02:30:42] <Colin[pi]> I just googled a picture of the back of my video card instead of looking around the back of my pc
263: [02:30:52] <Tanger> Hahaha
264: [02:30:54] <Colin[pi]> lazy factor 11
265: [02:30:55] <Colin[pi]> :D
266: [02:35:54] <ss23> hmm
267: [02:36:00] <ss23> sometimes I think my git messages are a little passive-aggressive
268: [02:36:07] <Ryan-Toast> ss23: lol.
269: [02:36:09] <ss23> Fixing the mistakes of developers past
270: [02:36:11] <ss23> It will be a glorious day when people learn how .gitignore works.
271: [02:39:38] * antmas has joined #silverstripe
272: [02:40:02] * Stomach quit (Quit: zzz)
273: [02:40:21] * antmas beeps
274: [02:40:56] <ss-helper> Re: speed speed speed - https://groups.google.com/d/msg/silverstripe-dev/y7VI9gW5PzI/zPyxH51GZQAJ
275: [02:41:28] * Colin[pi] bloops
276: [02:46:02] * Stomach has joined #silverstripe
277: [02:51:46] * glenn-bautista has joined #silverstripe
278: [02:52:00] * Stomach quit (Quit: zzz)
279: [02:52:23] <Ryan-Toast> Anyone know how to remove height + width with svgmin?
280: [02:52:24] * Stomach has joined #silverstripe
281: [02:52:35] <Ryan-Toast> Stomach: “Anyone know how to remove height + width with svgmin?"
282: [02:52:58] <Stomach> remove?
283: [02:53:01] <Stomach> O_O
284: [02:53:04] <Ryan-Toast> remove
285: [02:53:23] <Ryan-Toast> e.g remove <svg xmlns="http://www.w3.org/2000/svg" width="8" height="8">
286: [02:53:27] <Ryan-Toast> width="8"
287: [02:53:29] <Stomach> oh
288: [02:53:30] <Stomach> svgmin
289: [02:53:33] <Ryan-Toast> yes.
290: [02:53:39] <Ryan-Toast> Butwhat plugin? :P
291: [02:53:44] <Stomach> gulp-svgmin
292: [02:53:51] <Ryan-Toast> :(
293: [02:54:03] <Ryan-Toast> grunt svgmin doesn’t remove the width
294: [02:54:04] <DanaeNZ> it’s gulp again :D
295: [02:54:09] <Stomach> https://github.com/svg/svgo
296: [02:54:20] <Stomach> if it uses that
297: [02:54:23] <Stomach> then pass in the right config
298: [02:54:26] <Ryan-Toast> I tried remove metadata
299: [02:54:51] <Stomach> or dont export with the width and height? :D
300: [02:55:08] <Ryan-Toast> Yeah, I know but I’d rather just copy paste them in :P
301: [02:55:53] <Stomach> haha
302: [02:57:47] <Ryan-Toast> Looks like SVGO can’t do it.
303: [02:58:01] <Ryan-Toast> boourns
304: [02:58:36] <Stomach> yeah bugger
305: [02:58:47] <Ryan-Toast> oh well, manual removal of size it is.
306: [03:02:56] * UncleCheese has joined #silverstripe
307: [03:02:56] * adrexia quit (Read error: Connection reset by peer)
308: [03:02:58] * adrexia_ has joined #silverstripe
309: [03:04:55] <antmas> come onnnnnn Friday
310: [03:08:43] * Stomach quit (Quit: zzz)
311: [03:14:43] * Stomach has joined #silverstripe
312: [03:15:02] <DanaeNZ> yay, booze!
313: [03:15:15] <antmas> DanaeNZ: jelly
314: [03:15:25] <DanaeNZ> Ryan-Toast: make a gif
315: [03:15:31] <Ryan-Toast> DanaeNZ: of?
316: [03:15:57] <terryapodaca> see!!! Fridays do weird things to you guys in NZ
317: [03:16:23] <Ryan-Toast> DanaeNZ: could just use the hnng one
318: [03:16:23] <DanaeNZ> Ryan-Toast: something with booze and flipping the bird
319: [03:16:28] <DanaeNZ> oh yeah
320: [03:17:08] <antmas> LOl https://www.youtube.com/watch?v=OYXGFE-sf60
321: [03:18:37] <Colin[pi]> haha
322: [03:19:37] <DanaeNZ> hahaha antmas
323: [03:20:36] * Stomach quit (Quit: zzz)
324: [03:20:53] <Colin[pi]> must have been an exciting game
325: [03:25:37] <ss-helper> Silverstripe not working on Plesk Server - http://stackoverflow.com/questions/30344481/silverstripe-not-working-on-plesk-server
326: [03:27:54] <Ryan-Toast> antmas: http://i.imgur.com/EeBnI8O.gifv
327: [03:28:13] <antmas> lol
328: [03:28:15] <antmas> hahahahahah
329: [03:29:18] <Ryan-Toast> DanaeNZ: SVG in the header: http://webdough.co.nz/~boilerpl/
330: [03:29:34] <DanaeNZ> yeeeaaaah buddy
331: [03:30:29] <antmas> is that the toast logo in the favi?
332: [03:31:14] <Colin[pi]> I confuse, I cant seen an SVG I don't think?
333: [03:32:49] <Colin[pi]> wait, mobile only?
334: [03:33:24] * CodeTrap has joined #silverstripe
335: [03:33:28] * UncleCheese quit (Quit: Textual IRC Client: www.textualapp.com)
336: [03:34:27] * CodeTrap1 quit (Ping timeout: 256 seconds)
337: [03:34:44] <Ryan-Toast> Colin[pi]: yeah, mobile only
338: [03:34:55] <Colin[pi]> k thought I was going even more mad
339: [03:35:18] <WandL> Hi guys, Has anyone used Include Parameter's like: <% Include SomeInclude Var1="One" Var2="Two" Var3="Three" %> It works for me with only one parameter if I include anymore it foobars the template... Any Ideas?
340: [03:36:14] <Ryan-Toast> WandL: you could pass an arraylist and use with?
341: [03:39:46] <WandL> Ryan-Toast: hmm will give that a try will make a controller function as is sort of static stuff just different configurations thanks :)
342: [03:42:35] <WandL> Anyone going to Code 2015 in Melbourne next week?
343: [03:44:29] <DanaeNZ> https://docs.silverstripe.org/en/3.1/developer_guides/templates/
344: [03:44:30] <DanaeNZ> woah
345: [03:44:34] <DanaeNZ> who broke the docas
346: [03:44:36] <DanaeNZ> docs
347: [03:46:10] <antmas> ss2
348: [03:46:10] <ss23> don't use the HTTPS version
349: [03:46:11] <ss23> scrub
350: [03:46:15] <antmas> ss23 is the docs guy
351: [03:46:27] <ss23> It never used to support HTTPS. We enabled HTTPS but haven't fixed it including HTTP assets/js/css yet
352: [03:46:27] <DanaeNZ> where on earth did I find this link
353: [03:46:37] <ss23> camfindlay is meant to be fixigin
354: [03:46:39] <DanaeNZ> you used http:// instead of //
355: [03:46:44] <DanaeNZ> ok cool
356: [03:46:47] * UncleCheese has joined #silverstripe
357: [03:46:50] <DanaeNZ> the link I found on google
358: [03:46:57] * adrexia_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
359: [03:48:00] <DanaeNZ> first result for “silverstripe templates” hahaha
360: [03:51:42] <ss23> Yeah
361: [03:51:51] <ss23> Google must <3 HTTPS cause we only made HTTPS work a few days ago
362: [03:51:58] <ss23> We know about the issue, it's just not something I've got time to fix just now
363: [03:51:58] <DanaeNZ> wowsa
364: [03:52:17] * DanaeNZ shrugs
365: [03:52:20] <DanaeNZ> fair nuf
366: [03:52:46] <Colin[pi]> translation: "haha fuck u it's Friday"
367: [03:52:48] <Colin[pi]> :D
368: [03:52:55] <Ryan-Toast> :P{
369: [03:52:57] <DanaeNZ> not only that, it’s 4pm on a friday
370: [03:53:15] * Beak-5 loses his shit
371: [03:53:35] <Beak-5> i just asked the dev at the parent company i'm working for to add an a record for the new box they requisitioned 2 weeks ago
372: [03:53:50] <Beak-5> and i got a response back 'hey, i've sent them a ticket, so will let you know'
373: [03:53:59] <Ryan-Toast> ss23: “can you fix the HTTPS issue this friday? http://i.imgur.com/zcD8Trp.gif“
374: [03:54:04] <Beak-5> a fucking ticket
375: [03:54:07] * Beak-5 riots
376: [03:54:14] <Beak-5> i guess that's the end of my week
377: [03:54:14] <DanaeNZ> that gif is also Beak-5
378: [03:54:36] <DanaeNZ> they too scared to add a new A record?
379: [03:54:43] <Beak-5> in this day of web based dns, th ehead programmer should be able to fucking fill out a form field for a dns record
380: [03:54:49] <Colin[pi]> lol Ryan-Toast dafuq?
381: [03:54:50] * adrexia has joined #silverstripe
382: [03:54:51] <DanaeNZ> eh Ryan-Toast
383: [03:54:53] <Beak-5> he's probably gone "this is an IT job"
384: [03:54:58] <DanaeNZ> :P
385: [03:55:34] <Colin[pi]> Beak-5: hell even I can do that :D
386: [03:55:38] <Beak-5> so much for invoing them today
387: [03:55:47] <Beak-5> actually caused a limit break in my brain
388: [03:55:58] <Ryan-Toast> Beak-5: them right now: http://i.imgur.com/hHm1sN2.gifv
389: [03:56:01] * Stomach has joined #silverstripe
390: [03:56:19] <Beak-5> haha
391: [03:56:21] <DanaeNZ> pahahahah
392: [03:56:28] <Beak-5> lkadsjlkasd
393: [03:56:37] <Colin[pi]> roflmao
394: [03:56:53] <Colin[pi]> btw
395: [03:56:55] <Colin[pi]> gotta say
396: [03:56:58] <Colin[pi]> great show that was
397: [03:57:05] <Beak-5> so close to responding with "A ticket? http://i.imgur.com/hHm1sN2.gifv"
398: [03:57:13] <Beak-5> time to go get a beer
399: [03:57:26] * spronk quit (Quit: bleep bleep bloop bloop)
400: [03:57:36] <Ryan-Toast> Beak-5: Just send them this: http://i.imgur.com/UtHQkqd.gif
401: [03:57:54] <WandL> Ryan-Toast: that didn't work either, also only works with one parameter multiple cause a unclosed block error possible bug?
402: [03:58:15] <Ryan-Toast> WandL: Hmm, no idea sorry. I’ve never sent more than one variable as I try to avoid it.
403: [03:58:24] * spronk has joined #silverstripe
404: [03:59:50] <WandL> Ryan-Toast: okay thanks would be good if it works as can create reusable components in this case am creating stacked font-awesome icons for chevrons and configurable link and title, DRY and all :)
405: [04:00:03] * antmas just walked into a roflcopter of gifs
406: [04:01:08] <DanaeNZ> Stomach: that cacheinclude module is ballin’
407: [04:01:15] <WandL> So know one is going to Melbourne for Code15 :( Guess I will be alone lol
408: [04:02:10] * Stomach quit (Quit: zzz)
409: [04:03:07] <antmas> I think the only Aus people here are in like Canberra?
410: [04:03:12] <antmas> I could be mistaken though
411: [04:03:20] <antmas> good amount of lurkers in here...
412: [04:04:11] * Stomach has joined #silverstripe
413: [04:04:21] <WandL> RyanToast: worked it out docs are wrong the with needs to be in template then pass one parameter
414: [04:05:01] <WandL> Ryan-Toast: mishap ^
415: [04:05:11] <Stomach> DanaeNZ yeah its awesome :D
416: [04:05:37] <DanaeNZ> Stomach: like 5 mins and it’s up and running
417: [04:05:38] <Stomach> makes life much better
418: [04:05:45] <Stomach> and faster
419: [04:05:51] <DanaeNZ> voooom quick
420: [04:10:54] * ss-helper quit (Remote host closed the connection)
421: [04:11:07] * micmania1 quit (Quit: micmania1)
422: [04:11:09] * scott1702 quit (Quit: This computer has gone to sleep)
423: [04:11:10] * ss-helper has joined #silverstripe
424: [04:12:34] <DanaeNZ> Stomach: heeeyyyy, how do you even check if this thing is working
425: [04:12:47] <Stomach> install the manager :D
426: [04:12:57] <Stomach> or xhprof and check DB calls
427: [04:14:46] * travis-ci has joined #silverstripe
428: [04:14:47] <travis-ci> silverstripe/silverstripe-framework#5110 (3.2 - d9c7d45 : Damian Mooyman): The build passed.
429: [04:14:47] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/1d122803cc4f...d9c7d4538b8a
430: [04:14:47] <travis-ci> Build details : https://travis-ci.org/silverstripe/silverstripe-framework/builds/67470055
431: [04:14:47] * travis-ci has left #silverstripe
432: [04:18:06] <DanaeNZ> Stomach: I also found that the cache files were being written
433: [04:18:09] <DanaeNZ> so wahoo
434: [04:18:18] <Stomach> yeah thats another way :D
435: [04:18:35] <Stomach> yay! welcome to the future
436: [04:18:43] <Stomach> static publisher without static publisher
437: [04:20:28] <DanaeNZ> excellent
438: [04:20:45] <DanaeNZ> do the cache files automatically destroy themselves?
439: [04:21:43] <antmas> aaaaaaand Colin Craig is gonskies
440: [04:22:17] <Stomach> DanaeNZ - they destroy themselves when it matches your conditions
441: [04:22:36] <Stomach> like if you have HomePage:
442: [04:22:36] <Stomach> context: page
443: [04:22:37] <Stomach> contains:
444: [04:22:37] <Stomach> - HomePage
445: [04:22:37] <Stomach> - AmbassadorProfilePage
446: [04:22:37] <Stomach> - PrizePage
447: [04:22:38] <Stomach> - BlogPost
448: [04:22:38] <Stomach> expires: +2 hour
449: [04:22:53] <Stomach> and then a homepage, ambassador, prizepage or blogpost is saved it will delete the cache
450: [04:23:00] <DanaeNZ> awesome :D
451: [04:23:02] <Stomach> or in that one every two hours it removes it too
452: [04:23:22] <DanaeNZ> I suddenly have the urge to wrap everything in cache blocks
453: [04:23:26] <antmas> that's pretty slick
454: [04:23:48] <Stomach> yeah its great
455: [04:23:50] <DanaeNZ> The only downside is I don’t feel so bad about the complexity in my controller now, hahahaha
456: [04:24:03] <Stomach> DanaeNZ - apart from that one poor schmuck with a 15 second page load
457: [04:24:14] <DanaeNZ> Hahaha
458: [04:24:20] <DanaeNZ> fortunately it wasn’t that bad
459: [04:24:53] <Stomach> good :P
460: [04:24:54] <DanaeNZ> beer o clock ladies and gents
461: [04:25:16] <nikob> woo beer
462: [04:25:29] * antmas has to wait 1 more hour for beersies
463: [04:25:47] <nikob> 3 hours for me :/
464: [04:26:10] <Stomach> beers naow!
465: [04:26:14] <nikob> I mean, I could start drinking at work, but then I'd have to ride home drunk.
466: [04:26:56] <antmas> nikob: motorbike or cycle?
467: [04:27:12] <nikob> cycle
468: [04:27:38] <antmas> no laws against cycling drunk
469: [04:27:41] <antmas> or is there?
470: [04:27:42] <antmas> :P
471: [04:27:46] <chocolatemoose> usually is
472: [04:27:49] <nikob> hmm
473: [04:28:11] <nikob> not sure in Aus tbh.
474: [04:28:40] <nikob> no cops would care in melbourne, everyone i know cycles drunk
475: [04:29:29] <chocolatemoose> http://www.lawhandbook.org.au/handbook/ch10s03s03.php#Ch1302Se257774 lol, classifying a bicycle as a carriage
476: [04:29:33] <chocolatemoose> though, thats Vic
477: [04:29:43] <chocolatemoose> don't know about country wide
478: [04:29:44] * travis-ci has joined #silverstripe
479: [04:29:45] <travis-ci> silverstripe/silverstripe-framework#5111 (3.2 - 4e8aa72 : Hamish Friedlander): The build passed.
480: [04:29:45] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/d9c7d4538b8a...4e8aa727022a
481: [04:29:45] <travis-ci> Build details : https://travis-ci.org/silverstripe/silverstripe-framework/builds/67470179
482: [04:29:45] * travis-ci has left #silverstripe
483: [04:30:18] <nikob> I recall somebody saying you could get your licence suspended for it, but you don't need a licence to cycle
484: [04:30:26] <nikob> so...?
485: [04:32:40] * Stomach quit (Quit: zzz)
486: [04:33:30] * antmas quit (Quit: Page closed)
487: [04:37:02] * Hailwood quit (Remote host closed the connection)
488: [04:47:53] * travis-ci has joined #silverstripe
489: [04:47:54] <travis-ci> silverstripe/silverstripe-cms#1277 (3.2 - 124de94 : Hamish Friedlander): The build is still failing.
490: [04:47:54] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-cms/compare/d5c7bf66a25a...124de94e678b
491: [04:47:54] <travis-ci> Build details : https://travis-ci.org/silverstripe/silverstripe-cms/builds/67470288
492: [04:47:54] * travis-ci has left #silverstripe
493: [04:51:29] * adrexia quit (Ping timeout: 272 seconds)
494: [04:53:32] * Stomach has joined #silverstripe
495: [04:55:03] * micmania1 has joined #silverstripe
496: [04:55:08] * scott1702 has joined #silverstripe
497: [05:00:32] <Stomach> bicycling drunk is illegal
498: [05:00:37] <Stomach> so is skateboarding drunk :(
499: [05:01:37] <ss23> lol
500: [05:01:55] <ss23> It's probably about as dangerous as driving drunk
501: [05:01:59] <terryapodaca> yep, here in the states, well most states, you can get a DUI or DWI for cycling drunk or if the cop can prove you are impared
502: [05:05:02] <nikob> perhaps as dangerous to yourself
503: [05:06:20] <nikob> but a 70kg cyclist vs a 1500kg car may impact the public with varying degrees.
504: [05:06:55] <terryapodaca> walking isn't necessarily safe either
505: [05:06:56] <terryapodaca> https://www.youtube.com/watch?v=7a7l7IHXZwk
506: [05:07:51] <nikob> LOL the music
507: [05:09:07] <terryapodaca> I don't think this is the same guy, but they both seem to have the same motor skills "effect" while drunk
508: [05:09:11] <terryapodaca> https://www.youtube.com/watch?v=Xvj4Ud-RKrM
509: [05:11:59] * micmania1 quit (Quit: micmania1)
510: [05:13:41] * Stomach quit (Quit: zzz)
511: [05:14:23] * glenn-bautista quit (Quit: Leaving.)
512: [05:17:20] * spronk quit (Ping timeout: 244 seconds)
513: [05:18:43] * spronk has joined #silverstripe
514: [05:19:05] * spronk sighs
515: [05:19:13] * spronk just had to switch to tethered 4g to upload a large file
516: [05:19:13] <spronk> because DSL is slow as fucking shit
517: [05:20:42] * stecman quit (Quit: This computer has gone to sleep)
518: [05:21:16] <terryapodaca> I didn't know DSL still existed
519: [05:21:17] <terryapodaca> ;)
520: [05:26:30] * aragonne has joined #silverstripe
521: [05:27:05] <aragonne> hi guys and gals, anyone know how to change the date format in the CMS’ history view
522: [05:28:56] <aragonne> I tried the following in _config.php: i18n::set_locale('en_US'); Config::inst()->update('i18n', 'date_format', 'MM/dd/YYYY');
523: [05:30:21] * Ryan-Toast has left #silverstripe
524: [05:31:54] * DanaeNZ quit (Quit: DanaeNZ)
525: [05:33:37] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
526: [05:41:07] * scott1702 quit (Quit: Leaving)
527: [05:43:19] <aragonne> Can anyone help out with the CMS date format question?
528: [05:45:51] <terryapodaca> i18n::set_date_format('dd-MM-YYYY');
529: [05:45:53] <terryapodaca> ?
530: [05:46:09] <terryapodaca> but make it your format
531: [05:49:36] <aragonne> thanks terryapodaca, but that didn’t work either; I think your method and mine actually do the same thing. I tried both
532: [05:49:53] <aragonne> To be safe, I ran dev/build and also flush=all
533: [05:50:26] <terryapodaca> do you know what php source file in the framework renders that?
534: [05:50:49] <terryapodaca> you can look at the class, and see if there is a function that allows you to configure that
535: [05:53:51] <terryapodaca> That might be something they have never made configurable
536: [05:58:30] * Sticks has joined #silverstripe
537: [05:58:52] <terryapodaca> That template uses the template variable $Nice
538: [05:59:13] <terryapodaca> you'll probably have to override that template with your own
539: [05:59:30] <terryapodaca> and format at the template level
540: [05:59:37] <terryapodaca> so that you don't change core code
541: [06:00:03] <terryapodaca> \cms\templates
542: [06:00:45] * aragonne quit (Quit: aragonne)
543: [06:02:19] * wmk has joined #silverstripe
544: [06:02:46] * chocolatemoose quit (Remote host closed the connection)
545: [06:08:17] * terryapodaca quit (Quit: Leaving.)
546: [06:14:59] * Colin[pi] quit (Ping timeout: 265 seconds)
547: [06:17:04] * terryapodaca has joined #silverstripe
548: [06:17:56] * Mike123 has joined #silverstripe
549: [06:18:07] <Mike123> Morning :)
550: [06:25:41] <terryapodaca> haha...for me it's 1:30 am
551: [06:25:48] <terryapodaca> is that considered morning or night?
552: [06:27:58] <Mike123> :Ddunno
553: [06:36:08] * spronk quit (Quit: I may need a longer sleep timer...)
554: [06:41:15] <ss-helper> Re: [silverstripe-dev] trailing slash on urls - does it matter in terms of SEO - https://groups.google.com/d/msg/silverstripe-dev/kKwmaFRUeRQ/Bv6zZFOmavIJ
555: [06:51:14] <terryapodaca> is there a way to format (in a template) <% with $LastEdited %>$Nice<%end_with %> ?
556: [06:51:41] <terryapodaca> I tried $Nice.Format('m/d/Y') but it just doesn't show anything
557: [06:55:23] * nikob quit (Quit: Leaving)
558: [06:55:47] * spronk has joined #silverstripe
559: [06:56:08] * joelpitt_ has joined #silverstripe
560: [06:56:16] <ss-helper> Re: [silverstripe-dev] trailing slash on urls - does it matter in terms of SEO - https://groups.google.com/d/msg/silverstripe-dev/kKwmaFRUeRQ/6gSsLxtoGnEJ
561: [06:58:31] * joelpittet quit (Ping timeout: 276 seconds)
562: [07:02:58] * wmk quit (Ping timeout: 272 seconds)
563: [07:06:27] * wmk has joined #silverstripe
564: [07:10:30] <Mike123> can anyone please explain me this error , dont know where to look for it http://snag.gy/gUiz3.jpg
565: [07:11:17] <ss-helper> Re: [silverstripe-dev] trailing slash on urls - does it matter in terms of SEO - https://groups.google.com/d/msg/silverstripe-dev/kKwmaFRUeRQ/2Z1JdBfKJb0J
566: [07:13:04] * swaiba has joined #silverstripe
567: [07:17:29] * aragonne has joined #silverstripe
568: [07:21:02] * Stomach has joined #silverstripe
569: [07:26:18] <ss-helper> Re: [silverstripe-dev] trailing slash on urls - does it matter in terms of SEO - https://groups.google.com/d/msg/silverstripe-dev/kKwmaFRUeRQ/sDtUhPW-cskJ
570: [07:37:13] * Sticks quit (Quit: Leaving)
571: [07:38:43] * Werner_2_ has joined #silverstripe
572: [07:40:39] * wmk quit (Ping timeout: 245 seconds)
573: [07:41:20] <ss-helper> Re: [silverstripe-dev] trailing slash on urls - does it matter in terms of SEO - https://groups.google.com/d/msg/silverstripe-dev/kKwmaFRUeRQ/GIz3ZVCAxMsJ
574: [07:42:39] * travis-ci has joined #silverstripe
575: [07:42:39] <travis-ci> silverstripe/silverstripe-framework#5114 (3.2 - 9cccfec : Damian Mooyman): The build passed.
576: [07:42:40] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/bc8bc7d0c51c...9cccfec1a067
577: [07:42:40] <travis-ci> Build details : https://travis-ci.org/silverstripe/silverstripe-framework/builds/67482245
578: [07:42:40] * travis-ci has left #silverstripe
579: [07:43:07] * aragonne quit (Read error: Connection reset by peer)
580: [07:43:13] * kinglozzer has joined #silverstripe
581: [07:45:29] * travis-ci has joined #silverstripe
582: [07:45:30] <travis-ci> silverstripe/silverstripe-framework#5115 (3.2.0-beta1 - 9cccfec : Damian Mooyman): The build has errored.
583: [07:45:30] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/3.2.0-beta1
584: [07:45:30] <travis-ci> Build details : https://travis-ci.org/silverstripe/silverstripe-framework/builds/67482265
585: [07:45:30] * travis-ci has left #silverstripe
586: [07:48:38] * WandL quit (Quit: Textual IRC Client: www.textualapp.com)
587: [07:48:43] * wmk has joined #silverstripe
588: [07:49:41] * aditya has joined #silverstripe
589: [07:50:28] <aditya> when i rebuild database, database build completed is not showing why rest is working right
590: [07:50:49] * Werner_2_ quit (Ping timeout: 255 seconds)
591: [08:02:42] * GioVdK has joined #silverstripe
592: [08:04:24] * Stomach quit (Quit: zzz)
593: [08:07:52] * travis-ci has joined #silverstripe
594: [08:07:53] <travis-ci> silverstripe/silverstripe-cms#1279 (3.2.0-beta1 - 12bcf38 : Damian Mooyman): The build failed.
595: [08:07:53] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-cms/compare/3.2.0-beta1
596: [08:07:53] <travis-ci> Build details : https://travis-ci.org/silverstripe/silverstripe-cms/builds/67482292
597: [08:07:53] * travis-ci has left #silverstripe
598: [08:11:11] * ss-helper quit (Remote host closed the connection)
599: [08:11:27] * ss-helper has joined #silverstripe
600: [08:22:57] * bemusedrat has joined #silverstripe
601: [08:26:12] <ss-helper> SilverStripe 3.2.0 beta 1 release announcement - https://groups.google.com/d/msg/silverstripe-announce/CYWO2k-yxBo/cpAEeZRXFkQJ
602: [08:35:52] * Mike123 quit (Ping timeout: 246 seconds)
603: [08:37:33] * Mike123 has joined #silverstripe
604: [08:37:39] * Stomach has joined #silverstripe
605: [08:41:12] <ss-helper> Only allow access to a file if logged in to the CMS [SilverStripe] - http://stackoverflow.com/questions/30933532/only-allow-access-to-a-file-if-logged-in-to-the-cms-silverstripe
606: [08:41:57] * spronk quit (Quit: I may need a longer sleep timer...)
607: [08:45:11] * Stomach quit (Quit: zzz)
608: [08:45:44] * Robke has joined #silverstripe
609: [08:45:47] <Robke> hello
610: [08:56:36] * marvanni has joined #silverstripe
611: [08:59:52] * Tanger quit (Quit: Tanger)
612: [09:01:20] * Werner_2_ has joined #silverstripe
613: [09:03:48] * wmk quit (Ping timeout: 276 seconds)
614: [09:07:01] * Mike123 quit (Ping timeout: 246 seconds)
615: [09:11:28] * Stomach has joined #silverstripe
616: [09:22:39] <swaiba> hi Robke
617: [09:29:41] <aditya> $Holders = new ManyManyComplexTableField($this, "GalleryFolder", "VideoGalleryHolder", array("NameWithParent" => "Title"), "", "", "ParentID, Title"); $Holders->setPermissions(array()); how to change this to gridfield
618: [09:33:41] <kinglozzer> Ughhh... I feel super unwell, I have a site going live today and the SSL certificate hasn't come through, plus I've got to try to get Solr running (ss23 feels my pain) and it just refuses to start for no damn reason
619: [09:33:45] * kinglozzer Friday
620: [09:34:45] * Stomach quit (Quit: zzz)
621: [09:34:52] <kinglozzer> aditya: $gridField = GridField::create('GalleryFolder', 'Gallery folders', $this->GalleryFolder(), GridFieldConfig_RecordEditor::create());
622: [09:35:01] <kinglozzer> Assuming GalleryFolder is the name of the many_many relation
623: [09:37:10] * Stomach has joined #silverstripe
624: [09:38:32] <Robke> i have an issue :) im using ajax for loading content as a slide. Slide is page. but im rendering with other template :) so how can i achieve that url segment would be show in address bar? :)
625: [09:41:20] <ss-helper> 302 vs 301 - controller redirect method should use 301 by default? - https://groups.google.com/d/msg/silverstripe-dev/-Y4l4Ece_T8/Aiar-wcy_RUJ
626: [09:41:20] <ss-helper> Re: [silverstripe-dev] trailing slash on urls - does it matter in terms of SEO - https://groups.google.com/d/msg/silverstripe-dev/kKwmaFRUeRQ/WYeGQYkJNHUJ
627: [09:45:52] <kinglozzer> Robke: If you mean you want to change the URL with JavaScript, HTML5 History API does that (or a polyfill for it for old browsers)
628: [09:46:21] <kinglozzer> e.g. http://html5demos.com/history
629: [09:46:23] <Robke> kinglozzer, this api works i guess only then if location.href changes :)
630: [09:46:37] <Robke> in my case im pushing a button, but url doesnt appear at all :)
631: [09:46:46] <Robke> but via sitetree everything shows up :)
632: [09:46:54] <kinglozzer> Robke: I'm confused now :P
633: [09:47:00] <Robke> yeah me too :D
634: [09:47:11] <kinglozzer> So user clicks a button, instead of opening the page like normal it opens via AJAX with a different template
635: [09:47:23] <Robke> yes
636: [09:47:24] <Robke> :)
637: [09:47:26] <kinglozzer> You've got that working already? Or is that what you're trying to do?
638: [09:47:34] <Robke> its already working :)
639: [09:47:41] <Robke> but now i need to do google SEO :)
640: [09:47:52] <kinglozzer> And you want the URL to update in the address bar?
641: [09:48:03] <Robke> yes
642: [09:48:07] <kinglozzer> Yeah, the history API is what you'll need
643: [09:48:24] <kinglozzer> "JavaScript will intercept these clicks, load data and the browser address bar will appear to change - but this is the History API in action!"
644: [09:48:31] <kinglozzer> http://html5demos.com/history
645: [09:48:40] <kinglozzer> There are plenty of tutorials out there for it :)
646: [09:48:47] <Robke> but in my case im using a tag but without href :) everythign goes straight via ID's
647: [09:48:51] <Robke> ok
648: [09:49:25] <kinglozzer> Robke: Make the button an anchor with the href pointing to the page, then use event.preventDefault() to stop the browser going there
649: [09:49:31] <kinglozzer> Then you've got access to the href :)
650: [09:49:43] <Robke> mhm ok i will try :)
651: [09:50:27] <kinglozzer> "Dear RapidSSL Customer, ....... Our average response time is approximately 2 business days."
652: [09:50:31] <kinglozzer> So much for rapid... :(
653: [09:50:50] <Robke> unlucky
654: [09:52:10] <aditya> return DataObject::get_one("PeopleHolder", "", true, "Type=".$this->Type." DESC, Type=0 DESC")->Link()."bio/".$this->ID; how can i update this code make it compatible with ss 3.1
655: [09:52:41] <swaiba> kinglozzer it's almost weekend
656: [09:52:47] * Py2755k has joined #silverstripe
657: [09:53:02] * Stomach quit (Quit: zzz)
658: [09:53:04] <swaiba> and yeah I dislike SSL, tyringto get the client to see a webmaster@domain.com email
659: [09:53:15] <swaiba> and replay to it is a challenge
660: [09:53:32] <kinglozzer> swaiba: I just set it up as a forwarder to myself :P
661: [09:53:48] <swaiba> lucky!
662: [09:53:58] <swaiba> all the domains I deal with are owned by others
663: [09:54:05] * Stomach has joined #silverstripe
664: [09:54:16] <swaiba> authroities are the worst, it bounces around 4/5 ppl before someone can approve
665: [09:54:30] <aditya> return DataObject::get_one("PeopleHolder", "", true, "Type=".$this->Type." DESC, Type=0 DESC")->Link()."bio/".$this->ID; how can i update this code make it compatible with ss 3.1
666: [09:55:38] <Py2755k> ssl?
667: [09:55:45] <Py2755k> what's not to like about ssl?
668: [09:56:17] <swaiba> Py2755k it turns the address bar greenish!
669: [09:56:47] <swaiba> aditya should still work
670: [09:57:31] <simon_w> Py2755k, it's insecure and shouldn't be used
671: [09:57:47] <kinglozzer> Cannot execute /sbin/false
672: [09:57:50] <kinglozzer> SOLR Y U DO DIS
673: [09:58:12] <swaiba> simon_w throught you were talking to aditya - as yes there is SQL injection possible :o
674: [09:58:15] * joelpitt_ quit (Remote host closed the connection)
675: [09:58:30] <simon_w> kinglozzer, because false doesn't live in /sbin?
676: [09:58:46] <Py2755k> simon_w: and what should be used instead?
677: [09:58:48] <aditya> its not, i am upgrading this to ss 3.1
678: [09:58:54] <simon_w> Py2755k, TLS
679: [09:59:00] <Py2755k> oh right.
680: [09:59:12] <Py2755k> same thing different name I thought.
681: [09:59:17] <kinglozzer> simon_w: Yeah I'm just using the bundled install stuff because lazy, no idea where it's getting that
682: [09:59:25] <kinglozzer> Guess I'll have to actually dig through some docs instead :(
683: [09:59:26] <swaiba> aditya so whats the error?
684: [09:59:29] <Py2755k> well, slightly different. I thought one was derived from the other (ssl -> tls)
685: [10:00:13] * Mike123 has joined #silverstripe
686: [10:00:17] <aditya> simply its not compatible with ss 3.1
687: [10:01:25] <kinglozzer> aditya: you're getting an error that says that? There shouldn't be an error...
688: [10:01:33] <kinglozzer> Though the order by clause doesn't seem to make sense
689: [10:01:43] <kinglozzer> Oh wait, maybe it does
690: [10:01:44] <swaiba> http://api.silverstripe.org/3.1/source-class-DataObject.html#2890-2929
691: [10:01:51] <simon_w> Py2755k, IE6 doesn't support TLS by default, so that's a massive difference :p
692: [10:02:37] <Py2755k> simon_w: haha, true.
693: [10:02:55] <Py2755k> doesn't support 256k anyway I thought
694: [10:02:57] * Py2755k shrugs
695: [10:03:03] <aditya> i want to update this like this return PeopleHolder::get()->filter->sort->first() and so
696: [10:03:13] <Py2755k> or you know, anything.
697: [10:03:19] <kinglozzer> aditya: Well you've got the code right there, you just wrote it :P
698: [10:03:24] <Py2755k> liek the internet, as a whole.
699: [10:04:11] <kinglozzer> https://www.linkedin.com/pulse/nhs-browser-statistics-mark-reynolds
700: [10:04:21] <kinglozzer> Props to the person browsing email on their Wii
701: [10:04:24] <kinglozzer> :P
702: [10:05:23] <Py2755k> aditya: PeopleHolder::get()->filter('Type'=>$this->Type)->sort('Type','DESC')->first()->Link('bio/'.$this->ID)
703: [10:05:50] <Py2755k> or something like that. The SQL snippits make no sense
704: [10:05:59] <Py2755k> in your example
705: [10:07:09] <kinglozzer> Py2755k: That's what confused me, the filter is blank
706: [10:07:14] <kinglozzer> The $type stuff is all sort
707: [10:07:25] <kinglozzer> as in ->sort("Type=".$this->Type." DESC, Type=0 DESC")
708: [10:07:36] <Py2755k> kinglozzer: I know. I assumed chappy has typed it out manually and gotten it all muddled
709: [10:08:16] * elgabbu quit (Ping timeout: 246 seconds)
710: [10:08:29] <Py2755k> and no, DO::get[_one] was ($thing, $filter, $JOIN, $sort)
711: [10:08:52] <Py2755k> It's kinda alarming that that is still so strong in my memory, ha
712: [10:09:49] <Py2755k> so as I recall it that's JOIN Type=<this.type> DESC
713: [10:10:13] <Py2755k> or was it filter sort join limit
714: [10:10:16] <Py2755k> fk
715: [10:11:22] <ss-helper> Re: [silverstripe-dev] Re: speed speed speed - https://groups.google.com/d/msg/silverstripe-dev/y7VI9gW5PzI/Ha6WzeGL-6gJ
716: [10:11:47] <Py2755k> mm yeah, ($thing, $filter, $sort, $join, $limit) ... although get_one is just ($thing, $filter, $cache=true, $sort)
717: [10:12:55] <Py2755k> so yeah, you're right kinglozzer :<
718: [10:13:01] <Py2755k> that's one hell of a fucked up sort clause.
719: [10:14:14] <kinglozzer> Haha yeah
720: [10:14:17] <kinglozzer> I HAVE SOLR RUNNING
721: [10:14:26] <kinglozzer> I can't get it to do shit, but it's running, so that's a win
722: [10:14:55] <Py2755k> lol java apps
723: [10:14:56] * Werner_2_ quit (Ping timeout: 244 seconds)
724: [10:30:10] * Stomach quit (Quit: zzz)
725: [10:30:55] * travis-ci has joined #silverstripe
726: [10:30:55] <travis-ci> JayDevlin/silverstripe-framework#7 (ss32b1-install-requireWriteable - c6c0583 : Devlin): The build has errored.
727: [10:30:56] <travis-ci> Change view : https://github.com/JayDevlin/silverstripe-framework/compare/52983712829f^...c6c058361a02
728: [10:30:56] <travis-ci> Build details : https://travis-ci.org/JayDevlin/silverstripe-framework/builds/67501462
729: [10:30:56] * travis-ci has left #silverstripe
730: [10:33:24] * veb quit (Quit: veb-irc: &)
731: [10:36:21] * veb has joined #silverstripe
732: [10:44:28] * Stomach has joined #silverstripe
733: [10:48:54] * aditya quit (Quit: Page closed)
734: [10:51:54] * travis-ci has joined #silverstripe
735: [10:51:55] <travis-ci> JayDevlin/silverstripe-framework#8 (3.2 - 9cccfec : Damian Mooyman): The build passed.
736: [10:51:55] <travis-ci> Change view : https://github.com/JayDevlin/silverstripe-framework/compare/ce3b5a5ace55^...9cccfec1a067
737: [10:51:55] <travis-ci> Build details : https://travis-ci.org/JayDevlin/silverstripe-framework/builds/67502945
738: [10:51:55] * travis-ci has left #silverstripe
739: [10:52:53] <Py2755k> $null=null;var_dump(isset($null));
740: [10:53:05] <Py2755k> bool(false) //fuck you php
741: [10:54:05] * travis-ci has joined #silverstripe
742: [10:54:06] <travis-ci> JayDevlin/silverstripe-framework#9 (3.2-install-requireWriteable - da4c31c : Devlin): The build has errored.
743: [10:54:06] <travis-ci> Change view : https://github.com/JayDevlin/silverstripe-framework/commit/da4c31cd50d4
744: [10:54:06] <travis-ci> Build details : https://travis-ci.org/JayDevlin/silverstripe-framework/builds/67503456
745: [10:54:06] * travis-ci has left #silverstripe
746: [10:55:37] * tmro quit (Ping timeout: 264 seconds)
747: [10:56:26] <ss-helper> Re: [silverstripe-dev] Re: speed speed speed - https://groups.google.com/d/msg/silverstripe-dev/y7VI9gW5PzI/QIGlOPDbgrMJ
748: [10:57:37] * Stomach quit (Quit: zzz)
749: [10:58:27] * veb quit (Quit: veb-irc: &)
750: [10:59:02] <Mike123> anyone used Block module ?
751: [11:02:19] <simon_w> Py2755k, that's what isset does
752: [11:02:35] <simon_w> Since PHP doesn't actually have a notion of a var being set
753: [11:03:48] <Py2755k> yeah, I mean I figured that out, but... seems silly.
754: [11:04:13] <Py2755k> $var = 'a proper value'; $var = null; // === unset($var)
755: [11:04:55] <Py2755k> but in my mind, it's still there, not like js's delete
756: [11:05:05] <Py2755k> so yeah it's a bit odd.
757: [11:05:13] <Py2755k> Not major, but still odd.
758: [11:07:41] * UncleCheese has joined #silverstripe
759: [11:07:50] <kinglozzer> Oh cool, looks like 3.2b1 is here
760: [11:08:05] * jack_ has joined #silverstripe
761: [11:08:13] * tmro has joined #silverstripe
762: [11:10:01] <jack_> DataObject::get_one("File","ClassName = 'Folder' AND Name = 'widgets'")->first(); how to change this code to File::get()->filter->first(); how to use filter in this
763: [11:11:06] <kinglozzer> jack_: File::get()->filter(array('ClassName' => 'Folder', 'Name' => 'widgets'))->first();
764: [11:11:42] <kinglozzer> Or as folder is a class, you should jsut be able to do Folder::get()->filter('Name', 'widgets')->first();
765: [11:15:03] * darjus01 has joined #silverstripe
766: [11:15:15] <swaiba> Py2755k is isset doesn't make sense, try empty(null)
767: [11:15:56] <Py2755k> swaiba: no I know, I'm not asking, I'm reporting on something I've found, which works, which seems backwards to me.
768: [11:16:17] <Py2755k> ie $var = null; is essentially the same as unset($var)
769: [11:16:58] <Py2755k> swaiba: ie. $var = 'a thing'; $var = null; I would _expect_ to report: empty() true, isset() true.
770: [11:17:16] <Py2755k> but rather it's empty() true, isset() false
771: [11:17:55] <swaiba> I'd expect empty to error as you haven't passed it anything to count
772: [11:18:07] <swaiba> but I didn't write the language :)
773: [11:18:17] <Py2755k> :P
774: [11:18:29] <Py2755k> defined on point of declaration.
775: [11:18:36] <Py2755k> because dynamic type.
776: [11:19:06] <Py2755k> duck duck duck duck GOOSE
777: [11:19:50] <Py2755k> or rather in dynamic types, duck duck duck duck weirdduck
778: [11:19:55] <Py2755k> :P
779: [11:26:28] <ss-helper> Re: [silverstripe-dev] Re: Requiring Composer in 4.0 - https://groups.google.com/d/msg/silverstripe-dev/hcb3HM5oWRg/zfgrS1rzQawJ
780: [11:26:28] <ss-helper> Re: [silverstripe-dev] Re: speed speed speed - https://groups.google.com/d/msg/silverstripe-dev/y7VI9gW5PzI/BKbEsiBKk4kJ
781: [11:34:52] * DimiStripe has joined #silverstripe
782: [11:41:29] <ss-helper> Re: 302 vs 301 - controller redirect method should use 301 by default? - https://groups.google.com/d/msg/silverstripe-dev/-Y4l4Ece_T8/H2dvRkX-IlEJ
783: [11:44:38] <Mike123> is there a possibility to add block to DataObjects ?
784: [11:44:58] <Mike123> i;m working with Blocks Module
785: [11:52:38] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
786: [12:10:22] * jack_ quit (Quit: Page closed)
787: [12:10:57] * wmk has joined #silverstripe
788: [12:15:50] * wmk quit (Ping timeout: 272 seconds)
789: [12:17:00] * UndefinedOffset has joined #silverstripe
790: [12:19:39] * DimiStripe quit (Quit: DimiStripe)
791: [12:26:43] <Py2755k> Mike123: not sure what you mean.
792: [12:26:50] <Py2755k> maybe a link
793: [12:31:58] * bemusedrat quit (Quit: Leaving)
794: [12:37:22] <Py2755k> enuff
795: [12:37:23] * Py2755k quit ()
796: [12:38:28] <Mike123> Py2755k, https://github.com/sheadawson/silverstripe-blocks
797: [12:38:56] <Mike123> it work on every page in SiteTree but i also need for dataObjects :/
798: [12:55:44] * ss-helper quit (Ping timeout: 272 seconds)
799: [13:01:56] * ss-helper has joined #silverstripe
800: [13:14:20] * dhensby has joined #silverstripe
801: [13:14:53] <dhensby> kinglozzer: you coming to the hackday tomorrow?
802: [13:16:03] <kinglozzer> dhensby: No, sorry
803: [13:18:43] * alialamshahi has joined #silverstripe
804: [13:19:03] <alialamshahi> hello everyone
805: [13:20:55] <alialamshahi> anyone on?
806: [13:30:48] <swaiba> alialamshahi nope (joking)
807: [13:30:54] <swaiba> whats the question
808: [13:32:18] * babak quit (Quit: Connection closed for inactivity)
809: [13:36:25] * catcher has joined #silverstripe
810: [13:37:55] * Mike123 quit (Ping timeout: 246 seconds)
811: [13:40:06] * Robke quit (Remote host closed the connection)
812: [13:43:19] <alialamshahi> hi swaiba
813: [13:43:49] * swaiba_ has joined #silverstripe
814: [13:44:02] <alialamshahi> hi swaiba
815: [13:44:27] <alialamshahi> I'm working on a template, I just need someone to check it up for me
816: [13:44:51] <alialamshahi> you can find it here: https://github.com/alialamshahi/SilverStripe-Tino/tree/1.0
817: [13:45:03] <alialamshahi> it works fine on localhost
818: [13:45:09] <swaiba_> direct link to just the template?
819: [13:45:21] <swaiba_> also a bit more detail about what doesnt' work...
820: [13:45:33] <alialamshahi> everything works
821: [13:45:40] <alialamshahi> but I'm just a graphic designer
822: [13:45:51] <alialamshahi> I'm very beginner in coding
823: [13:45:52] * swaiba quit (Ping timeout: 265 seconds)
824: [13:46:12] <swaiba_> ok well, as I said do you have at least one example template and issue?
825: [13:46:31] <alialamshahi> so I dont know if there is any better solutions for things I made / ways to improve it ...
826: [13:46:35] <swaiba_> you can wait for others, but I'm not reviewing an entire project right now sorry :)
827: [13:47:24] <alialamshahi> anyway there are preview images in the github project
828: [13:47:44] <alialamshahi> maybe you can give me a review on how it looks
829: [13:47:59] <alialamshahi> http://alialamshahi.com/themes/silverstripe/tino/previews/homepage-june-19-2015-v1.jpg
830: [13:48:10] <alialamshahi> http://alialamshahi.com/themes/silverstripe/tino/previews/page-june-19-2015-v1.jpg
831: [13:48:17] <alialamshahi> http://alialamshahi.com/themes/silverstripe/tino/previews/page-mobile-june-19-2015-v1.jpg
832: [13:49:08] <alialamshahi> it's first time I'm developing a theme, and also first time on github, very new to composer...
833: [13:49:22] <kinglozzer> Looks nice alialamshahi, we need more themes listed on http://addons.silverstripe.org/ good work :)
834: [13:49:32] <alialamshahi> thanks
835: [13:49:54] <alialamshahi> I want to create more templates, and this one is just for me to learn how to
836: [13:50:27] <alialamshahi> so far I'm in love with SilverStripe!!
837: [13:50:32] <swaiba_> alialamshahi - well yeah, I second that it looks nice for sure :)
838: [13:51:04] <kinglozzer> alialamshahi: You have a slight syntax error in your composer.json, maybe that's why addons.silverstripe.org isn't detecting your preview images
839: [13:51:08] <kinglozzer> https://github.com/alialamshahi/SilverStripe-Tino/blob/master/composer.json#L16
840: [13:51:12] <kinglozzer> Just need a comma at the end of that line
841: [13:51:55] <alialamshahi> thanks @kinglozzer
842: [13:52:05] <alialamshahi> this is why I'm here
843: [13:55:26] <alialamshahi> seems packagist has problems with preview image links on composer.json
844: [13:55:45] <alialamshahi> should I remove them?
845: [13:58:28] <alialamshahi> thanks!! I'm on SilverStripe addons! http://addons.silverstripe.org/add-ons/alialamshahi/tino
846: [13:59:43] * muskie9 has joined #silverstripe
847: [14:00:06] <swaiba_> alialamshahi good job!
848: [14:00:19] <alialamshahi> thanks :)
849: [14:17:54] <dhensby> ok, well, for any UK people, there's a hack day tomorrow
850: [14:20:51] <swaiba_> dhensby at the shiny new office?
851: [14:21:19] * alialamshahi quit (Ping timeout: 246 seconds)
852: [14:23:37] * alialamshahi has joined #silverstripe
853: [14:24:02] <darjus01> Is any builded in function in SS so I could count the time diffrence from post creation in this format: 1 minute ago, 3 hours ago, 2 days ago, 1 mount ago 1 year ago?
854: [14:24:41] * EasyCo quit (Quit: Connection closed for inactivity)
855: [14:25:14] <muskie9> darjus01 probably Ago() http://api.silverstripe.org/3.1/class-Date.html#_Ago
856: [14:26:58] <darjus01> thx man you are my saver
857: [14:27:24] <muskie9> no problem, there are a couple other functions listed below that are similar you might wanna check out too
858: [14:31:03] * babak has joined #silverstripe
859: [14:57:22] * alialamshahi quit (Ping timeout: 246 seconds)
860: [15:00:31] * jcwacky has joined #silverstripe
861: [15:00:57] * swaiba_ quit (Remote host closed the connection)
862: [15:01:08] <jcwacky> So I have a DO from a module which sets canEdit to ‘true’. What do I need to add to an Extension in order to override it so canEdit = ‘false’?
863: [15:01:52] <ss-helper> Re: [silverstripe-dev] trailing slash on urls - does it matter in terms of SEO - https://groups.google.com/d/msg/silverstripe-dev/kKwmaFRUeRQ/I-L47ZRgMmAJ
864: [15:04:05] <muskie9> jcwacky should just be a public function canEdit($member = null) { return false;//or whatever you want to do here }
865: [15:04:39] <jcwacky> That’s not overriding the one in the DO thought.
866: [15:04:55] <jcwacky> I think the module will need to be updated to check extendedCan.
867: [15:05:28] <jcwacky> Currently the module DO jsut does “return true;”.
868: [15:05:32] <muskie9> you've implemented the DataExtension to the DO?
869: [15:05:43] <jcwacky> Yep.
870: [15:06:12] <jcwacky> If I remove the canEdit in the DO, then the canEdit in the Extension starts to work.
871: [15:06:30] <muskie9> gotcha, then ya, probably need the module updated
872: [15:06:35] <jcwacky> But as the DO is part of a module I can’t do that.
873: [15:06:38] <jcwacky> Ok. Thanks!
874: [15:06:58] <muskie9> jcwacky what's the module?
875: [15:07:12] <jcwacky> Don’t worry, it’s my own module :P
876: [15:07:20] <muskie9> gotcha
877: [15:07:35] * joelpitt_ has joined #silverstripe
878: [15:07:43] <jcwacky> Still a public one though.
879: [15:11:32] <muskie9> anyone know if there are upgrade notes for upgrading a 2.4.x site with translations to 3.1.x and the translatable module since afaik translatable is just the core stuff pulled out
880: [15:16:53] <ss-helper> Re: [silverstripe-dev] trailing slash on urls - does it matter in terms of SEO - https://groups.google.com/d/msg/silverstripe-dev/kKwmaFRUeRQ/M-XhkM52z_sJ
881: [15:16:53] <ss-helper> Re: [silverstripe-dev] trailing slash on urls - does it matter in terms of SEO - https://groups.google.com/d/msg/silverstripe-dev/kKwmaFRUeRQ/9PML4IvBp4sJ
882: [15:22:50] * muskie9 quit (Read error: Connection reset by peer)
883: [15:24:13] * ^pH quit (Read error: No route to host)
884: [15:24:25] * joelpittet has joined #silverstripe
885: [15:27:44] * joelpitt_ quit (Ping timeout: 245 seconds)
886: [15:41:11] * joelpittet quit ()
887: [15:59:24] * travis-ci has joined #silverstripe
888: [15:59:25] <travis-ci> silverstripe/silverstripe-framework#5119 (3.2 - 9110e68 : Daniel Hensby): The build passed.
889: [15:59:25] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/9cccfec1a067...9110e689cf5a
890: [15:59:25] <travis-ci> Build details : https://travis-ci.org/silverstripe/silverstripe-framework/builds/67542745
891: [15:59:25] * travis-ci has left #silverstripe
892: [16:01:46] * dhensby quit (Ping timeout: 246 seconds)
893: [16:06:59] * kinglozzer quit ()
894: [16:35:41] * alialamshahi has joined #silverstripe
895: [16:39:24] * alialamshahi quit (Client Quit)
896: [16:59:40] * travis-ci has joined #silverstripe
897: [16:59:41] <travis-ci> silverstripe/silverstripe-framework#5120 (3.2 - b4802df : Daniel Hensby): The build passed.
898: [16:59:41] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/9110e689cf5a...b4802dfd78c8
899: [16:59:41] <travis-ci> Build details : https://travis-ci.org/silverstripe/silverstripe-framework/builds/67551991
900: [16:59:41] * travis-ci has left #silverstripe
901: [17:02:23] * gelignite has joined #silverstripe
902: [17:22:56] * GioVdK quit (Ping timeout: 252 seconds)
903: [17:32:01] * ss-helper quit (Remote host closed the connection)
904: [17:32:18] * ss-helper has joined #silverstripe
905: [17:33:51] * muskie9 has joined #silverstripe
906: [17:37:31] * darjus01 quit (Read error: Connection reset by peer)
907: [18:30:40] * muskie9 quit (Read error: Connection reset by peer)
908: [18:30:46] * muskie9_ has joined #silverstripe
909: [18:47:11] <ss-helper> Re: [silverstripe-dev] trailing slash on urls - does it matter in terms of SEO - https://groups.google.com/d/msg/silverstripe-dev/kKwmaFRUeRQ/lLqCGvy2OhwJ
910: [19:02:13] <ss-helper> Re: [silverstripe-dev] trailing slash on urls - does it matter in terms of SEO - https://groups.google.com/d/msg/silverstripe-dev/kKwmaFRUeRQ/AiJLgMBTOcEJ
911: [19:57:55] * PenguinMan98 has joined #silverstripe
912: [19:58:07] <PenguinMan98> Greetings amigos
913: [19:58:45] <PenguinMan98> I'm trying to create a form for an object that has a reflexive relationship to itself
914: [19:58:55] <PenguinMan98> many many
915: [19:59:49] <PenguinMan98> The TreeMultiselectField thows errors when I try to render it for this relationship
916: [20:00:12] <PenguinMan98> The CheckboxSetField dies horrifically
917: [20:00:30] <PenguinMan98> I'm sure there's a simple trick to fix this. Any ideas?
918: [20:01:34] <PenguinMan98> http://pastebin.com/YjsGsbt6
919: [20:01:45] <PenguinMan98> Here is my CustomHMenu class
920: [20:03:02] <PenguinMan98> The error given with TreeMultiSelect: http://screencast.com/t/RgD1LhwY4
921: [20:04:00] <PenguinMan98> the weirdness that happens with CheckboxSetField http://screencast.com/t/VwUFECeNN
922: [20:04:48] <PenguinMan98> Any light you could shed would be most welcomed
923: [20:08:23] <PenguinMan98> Also, why does the cms only report that an error happened and not give me the text of the error?
924: [20:08:32] <PenguinMan98> aaaaaaaannoying
925: [20:17:44] <catcher> PenguinMan98, because content authors shouldn't see such things. Logs & network inspectors will show you
926: [20:18:12] <PenguinMan98> Where can I find those? My php logs don't have the specifics
927: [20:19:02] * UndefinedOffset quit (Quit: Leaving.)
928: [20:19:20] <catcher> PenguinMan98, web server logs, and any browser debugger should be capable of showing you network responses
929: [20:20:52] <PenguinMan98> the method 'markpartialtree' does not exist on 'CustomHMenu'
930: [20:21:02] <PenguinMan98> what's a markpartialtree?
931: [20:23:55] <PenguinMan98> hmm
932: [20:28:57] <catcher> PenguinMan98, I'd guess TreeMultiSelect depends on a hierarchical object (like Page), which your CustomHMenu does not inhert from.
933: [20:29:01] <catcher> inherit*
934: [20:29:53] <catcher> PenguinMan98, http://api.silverstripe.org/3.1/class-Hierarchy.html#_markPartialTree
935: [20:32:21] <PenguinMan98> So, can I inherit from Hierarchy?
936: [20:39:09] <PenguinMan98> DataExtension hmm
937: [20:39:16] <PenguinMan98> How do I use DataExtension?
938: [20:39:40] <catcher> PenguinMan98, are you sure a TreeMultiSelect is what you want?
939: [20:40:01] <PenguinMan98> I have a menu. It has a many many relationship to pages
940: [20:40:20] <PenguinMan98> Besides pages, I want to link other menus
941: [20:40:37] <PenguinMan98> So I added the many many relationship with itself
942: [20:40:58] <PenguinMan98> The input field has to give me a list of menus and let me pick which ones I link to.
943: [20:42:08] <PenguinMan98> removing the ones that are already in my menu because I don't want to make an infinite inclusion loop
944: [20:52:29] * UncleCheese has joined #silverstripe
945: [20:55:40] <PenguinMan98> Alternatively, I could create a CustomHMenuItem class and have it point to either a page or a menu
946: [20:55:47] <PenguinMan98> Then the CustomHMenu displays those
947: [20:57:05] <PenguinMan98> I'm just not sure how easy it would be to take a list of pages, select the ones i want, and then have silverstripe create the customHMenuItem objects that match them
948: [20:57:44] * Pyrimak has joined #silverstripe
949: [20:57:54] * jcwacky quit (Quit: jcwacky)
950: [20:57:54] <PenguinMan98> I'm under pressure to have a working solution by next Tue. so simple but works is probably better
951: [20:59:14] <Pyrimak> Oh gawd.
952: [20:59:32] <Pyrimak> What was the question?
953: [21:04:20] <Pyrimak> Oh yeah, the guy with the stupid boss and a related need for hierarichal menus
954: [21:08:38] <Pyrimak> Sounds like you're on the right track
955: [21:10:04] * Beak-5 is now known as IAmBeakIsMeBeak
956: [21:11:57] <Pyrimak> This has been fun. Good night
957: [21:12:15] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
958: [21:13:42] * IAmBeakIsMeBeak is now known as Beaks
959: [21:14:10] <PenguinMan98> Well that was ... not useful. Thanks pyrimak.
960: [21:19:26] <PenguinMan98> So, let's say I wanted to map CustomHMenuItems to Pages
961: [21:19:57] <PenguinMan98> For ease of user interface, I'd like to make the CustomHMenuItems invisible and have the user just select pages.
962: [21:20:16] <PenguinMan98> So I create my interface and give the treemultiselect the site tree to pick from
963: [21:20:47] * muskie9_ quit (Ping timeout: 246 seconds)
964: [21:21:02] <PenguinMan98> When I submit the form, I need to not create a relationship between the CustomHMenu and the pages, but create a mapping between CustomHMenu -> CustomHMenuItem -> Page
965: [21:21:22] <PenguinMan98> Is that possible?
966: [21:28:57] <PenguinMan98> I've been looking at the docs for forms but they seem all geared towards working front end
967: [21:29:13] <PenguinMan98> This form needs to be in the cms
968: [21:37:31] <PenguinMan98> I'm likely overthinking much of this
969: [21:37:35] <PenguinMan98> and underthinking the rest
970: [21:38:09] <catcher> haha
971: [21:39:33] <catcher> PenguinMan98, sadly, I must go, but I should remind you of onBeforeWrite before I do.
972: [21:39:56] <catcher> You can handle a lot of custom writes that way, based on custom fields.
973: [21:40:05] * catcher quit (Quit: Leaving)
974: [21:40:50] <PenguinMan98> thanks!
975: [21:46:27] * jcwacky has joined #silverstripe
976: [21:46:27] * jcwacky quit (Client Quit)
977: [21:56:43] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
978: [21:59:08] * Beaks is now known as peakoil
979: [22:02:22] * ss-helper quit (Remote host closed the connection)
980: [22:02:36] * ss-helper has joined #silverstripe
981: [22:04:17] * veb has joined #silverstripe
982: [22:27:07] <PenguinMan98> If I use the siteTree in my TreeMultiselectField even if I name it HMenuItems...
983: [22:27:23] <PenguinMan98> $fields->addFieldToTab('Root.Main', new TreeMultiselectField('HMenuItems','Select pages', 'SiteTree'));
984: [22:27:58] <PenguinMan98> Then the cms is hell bent on finding a way to save a reference to the page into my CustomHMenu
985: [22:28:28] <PenguinMan98> That's all well and good if that was what I was trying to do. I'd rather it not this time. How can I tell it to stand down and let me handle it?
986: [22:29:00] <PenguinMan98> I've discovered onChangeHMenuItems
987: [22:32:27] <ss-helper> Re: [silverstripe-dev] trailing slash on urls - does it matter in terms of SEO - https://groups.google.com/d/msg/silverstripe-dev/kKwmaFRUeRQ/rf2dDj_MlmIJ
988: [22:58:00] * peakoil is now known as lice
989: [22:58:14] * lice is now known as lllice
990: [23:01:35] * Stomach has joined #silverstripe
991: [23:01:36] * Stomach quit (Client Quit)
992: [23:04:14] * lllice is now known as lllic
993: [23:09:18] <PenguinMan98> If Silverstripe can't do this out of the box, given my time constraint, I'm going to need some help learning how to 'break out' of the cms and just hack in a custom html+cs solution
994: [23:09:50] <PenguinMan98> css*
995: [23:11:51] * spronk has joined #silverstripe
996: [23:22:37] * ss23 quit (Ping timeout: 276 seconds)
997: [23:22:52] * ss23 has joined #silverstripe
998: [23:23:37] <PenguinMan98> I need to know if it's worth fighting with SS to get this to work or if I should hard code the URL route to a custom page and completely bypass it.
999: [23:24:43] * UncleCheese has joined #silverstripe
1000: [23:25:06] * PenguinMan98 whines. Needs a friend who is good with this to help him
1001: [23:25:38] * UncleCheese quit (Client Quit)
1002: [23:26:30] <PenguinMan98> See you all on Monday
1003: [23:47:34] * turtleline has joined #silverstripe
1004: [23:55:36] * turtleline quit (Quit: Page closed)

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