#silverstripe IRC Log

IRC log for 7 April 2015

All timestamps are in UTC.

1: [00:00:55] * mobiusnz quit (Client Quit)
2: [00:01:29] <mahfuz> I can understand that. But the site is live and it has already got lots of data. Now the requirement changed I need to make it a many_many relationship. How should I go about it as there will be thousands of dataobject linked to each other?
3: [00:02:14] <mahfuz> Stomach: I can change the code new table and field will be created but how do i maintain the old data?
4: [00:02:36] <Stomach> you will need to write a task for the has one side
5: [00:02:42] <irogue_> mahfuz: they're essentially incompatible relationship types. you'll need to migrate the data
6: [00:03:14] <Stomach> $this->ManyManyRelationship()->add($this->HasOneRelationship()); should do it easily enough
7: [00:03:47] <mahfuz> Stomach: where should I write this?
8: [00:03:50] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
9: [00:04:03] <Stomach> write a build task, then run it from /dev/tasks
10: [00:04:10] <Stomach> which gets all the objects where the has one is
11: [00:04:12] <Stomach> loops through them
12: [00:04:16] <Stomach> and adds them to the new many_many
13: [00:04:19] <Stomach> test it first :P
14: [00:05:35] <mahfuz> Thanks Stomach. But can you give me some doc about build task?
15: [00:06:02] <Stomach> http://api.silverstripe.org/3.1/class-BuildTask.html
16: [00:06:06] <Stomach> http://doc.silverstripe.org/en/developer_guides/cli/
17: [00:07:09] <mahfuz> Thanks Stomach I will have a look and come back to you if I need any clarification.
18: [00:08:33] * UncleCheese has joined #silverstripe
19: [00:18:43] <spronk2> \o antmas
20: [00:18:50] <spronk2> Colin[pi]
21: [00:18:54] <spronk2> snubbed you guys earlier ;D
22: [00:24:51] <irogue_> what a snob
23: [00:25:07] <antmas> irogue_: says the guy who's never here! ;)
24: [00:25:16] <irogue_> ;)
25: [00:28:53] * Sticks has joined #silverstripe
26: [00:28:53] <Stomach> irogue_ - stupid sprints finished?
27: [00:29:40] <irogue_> nope, still 2 weeks left in crazyland
28: [00:30:29] * antmas is currently doing the opposite of sprints
29: [00:34:42] <Stomach> crazyland is a bad place
30: [00:36:27] <antmas> Stomach: hey what was that presentation tool you use for sitetree-less biz?
31: [00:36:30] <antmas> used*
32: [00:37:11] <Stomach> https://github.com/stevie-mayhew/sitetree-less-sites-talk/blob/master/README.md
33: [00:37:13] <antmas> insert somekindofjslibrary.js here
34: [00:37:37] <antmas> ah, reveal.js
35: [00:39:22] <antmas> so nice
36: [00:39:40] <antmas> Stomach: and you just threw it up on github io yeah?
37: [00:39:49] <Stomach> yep :)
38: [00:40:15] <antmas> :D
39: [00:41:12] <antmas> I'm sure there was some tool out there that one person could control the slides, and the view of others watching on different browsers etc
40: [00:44:50] <Stomach> sounds fancy
41: [00:45:36] <antmas> I'm sure it was something someone whipped out at WDCNZ last year
42: [00:46:38] <spronk2> that's what she said
43: [00:46:46] <antmas> :P
44: [00:47:00] <antmas> as soon as someone says 'whipped out'
45: [00:47:59] <Colin[pi]> antmas: I remember that presentation
46: [00:49:44] <antmas> it was a dude who was pretty much trying to sell everyone on his js library
47: [00:49:51] <antmas> I think...
48: [00:52:31] <Colin[pi]> http://markdalgleish.com/projects/bespoke.js/
49: [00:52:42] <antmas> chur
50: [00:59:15] <ss-helper> byID returns null without doing database query - https://groups.google.com/d/msg/silverstripe-dev/Hbvc0wv8gQE/vzTUOVVxt88J
51: [00:59:25] <antmas> is there a good reddit 'reader' I don't know about?
52: [01:00:31] <Ryan-Toast> antmas: yeah. http://www.reddit.com
53: [01:03:23] <antmas> yip that's a mess
54: [01:03:52] <spronk2> hrmmm
55: [01:04:30] <Colin[pi]> antmas: for what platform?
56: [01:04:56] <antmas> Colin[pi]: Well, I've just spotted Flow for Android at least
57: [01:05:01] <antmas> need a desktop/browser version
58: [01:05:31] <Colin[pi]> antmas: this is the best one I've found on Win8: http://reddhubwin8.com/
59: [01:06:13] <antmas> that name comes dangerously close to nsfw :P
60: [01:06:55] <Colin[pi]> lol
61: [01:13:56] * Tanger quit (Quit: sleep())
62: [01:14:32] <Ryan-Toast> antmas: do you use RES?
63: [01:14:39] * Tanger has joined #silverstripe
64: [01:15:18] <Colin[pi]> Ryan-Toast: mm RES is essential for browser based reddit
65: [01:15:25] <Ryan-Toast> Colin[pi]: yes.
66: [01:15:53] <irogue_> need alien blue for desktop
67: [01:16:13] <irogue_> alien blue on ipad is by far the best reddit experience i've had
68: [01:16:14] <Colin[pi]> irogue_: mm but alien blue has been sorely neglected for some time now :(
69: [01:16:52] <Colin[pi]> irogue_: it's still good but so many bugs and since Jase joined reddit they've basically done jack shit to fix them
70: [01:17:13] <spronk2> I KNOW GUYS
71: [01:17:15] <irogue_> never hit any bugs tbh
72: [01:17:18] <spronk2> LETS BUILD A REDDIT READER!
73: [01:17:36] <Colin[pi]> irogue_: ipad version is worse
74: [01:17:58] <Colin[pi]> spronk2: with blackjack and hookers!
75: [01:18:02] <spronk2> hmm
76: [01:18:04] <irogue_> i use exclusively ipad version *shrug*
77: [01:18:04] <spronk2> forget the blackjack
78: [01:18:09] <Ryan-Toast> irogue_: Reddit is fun is my jam.
79: [01:18:24] <irogue_> maybe i'm just not doing weird enough shit to hit bugs :P
80: [01:18:29] <Colin[pi]> baconreader was pretty good too
81: [01:18:39] <Colin[pi]> irogue_: yeah it must be all that spacedicks I visit
82: [01:24:00] <Colin[pi]> heard good things about this too, but that gui... not as good as alien blue: https://itunes.apple.com/us/app/amrc-fastest-reddit-client/id572391252?mt=8
83: [01:25:54] * adrexia quit (Ping timeout: 252 seconds)
84: [01:42:48] * adrexia has joined #silverstripe
85: [01:43:25] * Colin[pi] waves at adrexia
86: [01:44:32] <adrexia> hey
87: [01:45:36] * mobiusnz has joined #silverstripe
88: [01:48:24] <novaweb> Anyone hit any barriers when trying to render ListboxField in modeladmin instead of sitetree?
89: [01:48:36] <novaweb> 'getidlist' does not exist on 'ArrayList'
90: [01:55:33] <antmas> Ryan-Toast: RES?
91: [01:55:37] * antmas looks up
92: [01:56:19] <Colin[pi]> antmas: reddit enhancement suite
93: [01:56:26] <Ryan-Toast> antmas: ^
94: [01:56:44] <antmas> that looks dooooopppppe
95: [01:56:59] <Colin[pi]> antmas: it's good stuff
96: [01:57:40] <antmas> Ryan-Toast: I tried reddit is fun, but it's pretty glitchy for me
97: [01:57:54] <antmas> I think my phone is just dying however
98: [01:58:11] <Ryan-Toast> antmas: I’ve never had an issue with it./
99: [01:59:30] * antmas is gonna need a new android phone soon
100: [02:00:07] <Colin[pi]> antmas: my iphone5 is dying too I think
101: [02:00:29] <Colin[pi]> the power button works like 50% of the time, and I've been getting "SIM failure" messages increasingly :\
102: [02:01:32] <antmas> my 3.5mm port has died on my GS3
103: [02:01:49] <antmas> and it's just fucking ancient so it's slooooow compared to new phones
104: [02:02:12] <Colin[pi]> antmas: mm
105: [02:02:26] <Colin[pi]> I'd like to get an iPhone 6 but tbh I'm not really a fan of the look of it
106: [02:02:38] <Colin[pi]> I think iPhone 5/5S was the best looking they've made
107: [02:03:11] <Ryan-Toast> The Xperia Z3 Compact is the best phone I’ve ever owned. I love it.
108: [02:03:21] <Ryan-Toast> The Z4 version is coming out soon too.
109: [02:03:34] <antmas> Ryan-Toast: is the compact version gimped in any way?
110: [02:03:57] <Ryan-Toast> antmas: Nope.
111: [02:04:00] <Ryan-Toast> Just smaller screen.
112: [02:04:05] <Ryan-Toast> Perfect size for me.
113: [02:04:30] <antmas> hmmm
114: [02:04:33] <antmas> tha'ts tempting
115: [02:04:46] <antmas> I still think the Sony phones are ugly as fuck though
116: [02:04:47] <Ryan-Toast> wait for the z4
117: [02:04:49] <Ryan-Toast> imo
118: [02:05:02] <antmas> this GS3 is the perfect size for me
119: [02:05:04] <Ryan-Toast> even if you’re going to get the z3.
120: [02:05:07] <antmas> need something that size
121: [02:06:48] <antmas> jesus, the Z3 large (whatever) is huge
122: [02:07:17] <Ryan-Toast> yeah.
123: [02:07:24] <Ryan-Toast> Which is why the compact was my choice.
124: [02:08:33] <antmas> good battery life?
125: [02:12:22] * Cheddam has joined #silverstripe
126: [02:12:30] <Ryan-Toast> Awesome battery life.
127: [02:12:43] <Ryan-Toast> I use mine pretty heavily, and I charge it once every two days.
128: [02:13:19] <antmas> tha'ts pretty damn good
129: [02:14:04] <Colin[pi]> not bad for a compact
130: [02:14:26] * auto9 quit (Remote host closed the connection)
131: [02:14:39] <antmas> 2 days heavy use would be awesome given I have to charge mine every night
132: [02:14:40] * Tanger quit (Quit: exit())
133: [02:14:48] <antmas> no matter the use
134: [02:15:04] <Colin[pi]> antmas: my 5 is shit... when I went to that conference the other week? 50% by lunch time
135: [02:15:08] <Colin[pi]> and was doing jack shit with it
136: [02:15:22] <Colin[pi]> it was on 8% by the time the conference finished
137: [02:16:06] <antmas> does it all go to the screen?
138: [02:16:12] <antmas> like 90% of my usage goes to screen
139: [02:16:56] * spronk2 quit (Quit: I may need a longer sleep timer...)
140: [02:17:18] <Ryan-Toast> 39% of mine is screen
141: [02:25:04] <Colin[pi]> mine is 31% screen
142: [02:44:42] * antmas is doing it wrong
143: [02:45:27] <antmas> 52%
144: [02:45:37] <irogue_> my Nexus 5 running stock 4.4 (its shipping OS) = ~18 hours normal usage. running stock 5.0 = ~8 hours normal usage. running cyanogenmod version of 4.4 = ~30 hours normal usage
145: [02:46:44] <antmas> irogue_: mmm, mine is cyanogenmod 4.4 as well
146: [02:47:01] <antmas> 5.0 is a POS
147: [02:47:47] <irogue_> yup
148: [02:47:55] <irogue_> slow and terribad battery
149: [02:48:03] <irogue_> cyanogenmod so fast
150: [02:48:29] <antmas> dat theme store :O
151: [02:48:31] <antmas> so good
152: [02:53:04] <antmas> UncleCheese: are you in kiwisaver?
153: [02:54:52] * gordon has joined #silverstripe
154: [02:54:58] * gordon is now known as nontgor
155: [02:59:25] <ss-helper> Re: [silverstripe-dev] byID returns null without doing database query - https://groups.google.com/d/msg/silverstripe-dev/Hbvc0wv8gQE/aJfwpsX_rdwJ
156: [02:59:26] * zippy has joined #silverstripe
157: [02:59:36] * Tanger has joined #silverstripe
158: [02:59:42] <zippy> Stomach: ...
159: [02:59:47] <Stomach> zippy...
160: [03:00:06] <Colin[pi]> zippy Stomach: ...
161: [03:00:12] <zippy> Colin[pi]: ...
162: [03:00:12] <Stomach> Colin[pi] zippy Stomach ....
163: [03:00:19] <Colin[pi]> got your periods?
164: [03:00:21] <Colin[pi]> ...
165: [03:00:26] <zippy> Colin[pi]: Stomach: antmas: ...
166: [03:00:35] <Colin[pi]> ... http://i.imgur.com/nCZoEXs.gif
167: [03:00:49] <antmas> :O
168: [03:01:01] <Stomach> UncleCheese zippy Colin[pi] antmas irogue_ ss23 mahfuz Ryan-Toast zauberfisch ...
169: [03:01:08] <Ryan-Toast> Stomach: Yo
170: [03:01:12] <antmas> is that what happens when you do a whois?
171: [03:02:51] <antmas> zippy: dat low cloud
172: [03:03:08] <zippy> ss23: even thou we didn't win the world cup... you still owe me that burger :P *never forget*
173: [03:06:19] <zippy> before I go digging into it, hows this modal admin customized? http://swipestripe.com/features/
174: [03:06:59] * EasyCo has joined #silverstripe
175: [03:08:20] <antmas> zippy: tanger ^^^
176: [03:08:34] <Tanger> Hey antmas
177: [03:08:41] <antmas> Tanger: o/
178: [03:08:42] <Tanger> How's things and thangz?
179: [03:08:52] <antmas> all goods :D
180: [03:09:07] <antmas> Tanger: are you still swipestripe guy?
181: [03:09:35] <Tanger> antmas: Nah, I did work using omnipay, but not so much customisation with swipestripe
182: [03:09:49] <antmas> wai
183: [03:09:49] <antmas> t
184: [03:10:02] <antmas> why did I think you were the fellow who made swipestripe?
185: [03:10:05] <antmas> :O
186: [03:10:11] <zippy> I do like omnipay
187: [03:10:38] <irogue_> antmas: you're thinking of tankr :P
188: [03:10:47] <antmas> :O
189: [03:10:56] <Colin[pi]> well the names are similar :P
190: [03:10:58] <antmas> irogue_: LOL! totally mixed that up
191: [03:11:04] <Tanger> Hahaha
192: [03:11:29] <antmas> so Tanger is not the guy I met in Auckland?
193: [03:11:33] * antmas is not on his name game
194: [03:11:38] <Tanger> Nope
195: [03:11:46] <Tanger> Haven't been to NZ in like a decade
196: [03:11:50] * antmas facepalms
197: [03:12:46] <antmas> whenever Tanger comes on I'm like thinking 'o/ hey Frank!'
198: [03:12:49] <antmas> :/
199: [03:12:53] <irogue_> bahaha
200: [03:13:10] <Tanger> SO IT'S ALL BEEN A FARCE?!
201: [03:13:18] <zippy> hahahah!
202: [03:13:23] <antmas> LOL
203: [03:13:27] <zippy> Tanger: no more messages for you eh..
204: [03:13:29] * antmas doesn't know anymore
205: [03:13:34] <Tanger> haha
206: [03:13:51] <antmas> Tanger: o/ hey bro!
207: [03:14:23] <zippy> guess I will just have to have a look at the sause
208: [03:14:27] <ss-helper> Re: [silverstripe-dev] Date and DateTime Modification - https://groups.google.com/d/msg/silverstripe-dev/yfiTyckQhIg/ALTjm9solGMJ
209: [03:14:42] <zippy> ss-helper: fuck me your reliable..
210: [03:15:25] <antmas> we need ss-unhelper
211: [03:16:27] * antmas is now known as ss-unhelper
212: [03:16:38] <ss-unhelper> have you guys tried Joomla?
213: [03:16:47] <ss-unhelper> ama
214: [03:17:01] <Colin[pi]> ss-unhelper: tell us all about subsites
215: [03:17:05] <adrexia> lol
216: [03:17:08] <ss-unhelper> Colin[pi]: FUCK YOU
217: [03:17:11] * ss-unhelper quit (Quit: Page closed)
218: [03:17:12] <adrexia> ss-unhelper
219: [03:17:24] * [3dgoo] has joined #silverstripe
220: [03:17:43] * antmas has joined #silverstripe
221: [03:17:52] <Colin[pi]> lol
222: [03:18:20] <zippy> This is still stuck eh; https://github.com/silverstripe-labs/silverstripe-payment
223: [03:20:01] <zippy> stupid iphone and ios.
224: [03:20:09] <zippy> would rather sit on 3g then wifi...
225: [03:20:27] <UncleCheese> antmas yeah, i'm in kiwisaver
226: [03:21:39] <zippy> UncleCheese: you guys got / getting a house?
227: [03:21:40] <mobiusnz> zippy: what you trying to do? DPS payments?
228: [03:21:46] <UncleCheese> zippy that's theplan
229: [03:22:03] <zippy> mobiusnz: nope just looking at that module in general as it was swipestripe addon thing
230: [03:22:07] <UncleCheese> looking in Plimmerton lately.. nice stuff
231: [03:22:11] <mobiusnz> ah yep
232: [03:22:32] <mobiusnz> I didn't know about this module and wrote a DPS payment module in a day haha
233: [03:22:49] <zippy> mobiusnz: no dps for omnipay?
234: [03:23:03] <mobiusnz> idk what omnipay is
235: [03:23:05] <zippy> https://github.com/thephpleague/omnipay-paymentexpress
236: [03:23:17] <zippy> https://github.com/thephpleague/omnipay
237: [03:23:41] <UncleCheese> I need a new laptop... should I wait and get the new Macbook?
238: [03:24:32] <zippy> you want to wait another 10 seconds while you do dev/build's?
239: [03:24:45] <UncleCheese> haha
240: [03:24:55] <UncleCheese> what do you mean? is it slow?
241: [03:25:20] <zippy> going from 2012 to 2015 macbook pro i've seen dev/builds take a few seconds less (7 sec to around 5~)
242: [03:25:32] <UncleCheese> that's probably just mysql
243: [03:25:41] <mobiusnz> i think the new macbook is pretty underpowered
244: [03:25:47] <UncleCheese> why? it's new
245: [03:25:50] <zippy> the macbook air is more power + more ports and thinks, but does have retina..
246: [03:26:02] <mobiusnz> new != power
247: [03:26:04] * antmas quit (Ping timeout: 246 seconds)
248: [03:26:05] <zippy> *macbook does have retina
249: [03:26:10] <Ryan-Toast> Which one only has one usb port?
250: [03:26:15] <UncleCheese> wait, so there's air, pro, and macbook?
251: [03:26:17] <zippy> I went with the macbook pro 13" that just came out, and pretty happy
252: [03:26:21] <mobiusnz> UncleCheese: yeah
253: [03:26:24] <UncleCheese> jesus
254: [03:26:27] <UncleCheese> so
255: [03:26:29] <mobiusnz> macbook is the super thin one
256: [03:26:33] <UncleCheese> oh
257: [03:26:35] <mobiusnz> with one power/usb port
258: [03:26:38] <UncleCheese> you'd think the air would be the ligthest
259: [03:26:49] <Ryan-Toast> zippy: https://www.youtube.com/watch?v=KHZ8ek-6ccc
260: [03:27:08] <UncleCheese> well that's annoying
261: [03:27:37] <mobiusnz> macbook has a max 1.3ghz dualcore intel core m
262: [03:27:41] <mobiusnz> which is basically a cellphone
263: [03:27:58] <mobiusnz> if you look at the teardowns, it looks like a cellphone chipset too
264: [03:28:12] <mobiusnz> it's mostly battery, which gives you an idea of what it's designed for
265: [03:28:15] <Colin[pi]> mobiusnz: yeah I saw that, it
266: [03:28:18] <Colin[pi]> it's nuts
267: [03:28:33] <Ryan-Toast> Watch the youtube video I posted ^
268: [03:28:56] <mobiusnz> an the air is only 0.16kg heavier than the macbook
269: [03:29:13] <mobiusnz> Ryan-Toast: yeah, seen that
270: [03:29:27] <Ryan-Toast> I love that video for dubs.
271: [03:29:31] <Ryan-Toast> subs**
272: [03:30:33] * veb has joined #silverstripe
273: [03:30:46] <zippy> Ryan-Toast: oh shit that is funny
274: [03:31:40] <Stomach> zippy - its an entirely custom leftandmain
275: [03:31:41] <UncleCheese> hmm
276: [03:31:44] <UncleCheese> ok, air it is
277: [03:31:58] <zippy> UncleCheese: or... pro 13"
278: [03:32:01] <zippy> then you get retina
279: [03:32:04] <UncleCheese> oooh
280: [03:32:10] <UncleCheese> oh wait, no retina on macbook?
281: [03:32:16] <zippy> on the macbook yes, not on the air
282: [03:32:17] <UncleCheese> it's like $2k!
283: [03:32:20] <UncleCheese> oh
284: [03:32:41] <UncleCheese> shit, the 13" is $2k as well
285: [03:33:44] <zippy> bit more speed, bit more ram, retina screen
286: [03:33:54] <zippy> little bit more $ but I figure last longer
287: [03:34:14] <zippy> new 15"s be out june~
288: [03:34:16] <UncleCheese> i love the MBP that SS got me
289: [03:34:25] <UncleCheese> ii'm quite used to it
290: [03:34:29] <UncleCheese> prefer it to the thin ones
291: [03:34:40] <UncleCheese> have you tried the force click yet?
292: [03:34:45] <UncleCheese> i've heard it's hard to get used to
293: [03:35:22] <zippy> I like the new trackpad
294: [03:40:03] <[3dgoo]> Hi everyone, when using $many_many_extraFields with a $many_many relationship is there anyway to display that extra field as a column in the GridField?
295: [03:44:29] <ss-helper> Re: [silverstripe-dev] Re: Custom admin url - https://groups.google.com/d/msg/silverstripe-dev/gGVRd0wS0U8/sCPmtkc4CoIJ
296: [03:46:58] <Tanger> [3dgoo]: Hmmm, perhaps you can override getSummaryFields() on the object OR use setDisplayFields on the gridfield's GridFieldDataColumns
297: [03:47:13] <Tanger> there's also updateSummaryFields on Extension that might help
298: [03:48:48] <zippy> Ryan-Toast: wonder what they really saying in that vid
299: [03:49:40] * mobiusnz quit (Quit: Leaving.)
300: [03:52:59] <[3dgoo]> Hmmm, turns out it was as easy as adding the variable name to $summary_fields
301: [03:53:15] <[3dgoo]> Tanger: Thanks for the help .
302: [03:59:16] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
303: [04:03:01] * praveen___ quit (Quit: Page closed)
304: [04:04:38] <ss23> 15:03:09 < zippy> ss23: even thou we didn't win the world cup... you still owe me that burger :P *never forget*
305: [04:04:41] <ss23> I NEVER WILL
306: [04:04:43] <ss23> That game was super intense
307: [04:05:05] <ss23> Oh, he left
308: [04:07:12] <[3dgoo]> I think he premeditated your comment
309: [04:23:45] <irogue_> Auckland is very horny right now o_O
310: [04:24:10] * [3dgoo] quit (Ping timeout: 246 seconds)
311: [04:25:32] <Colin[pi]> irogue_: dafuq?
312: [04:28:21] <irogue_> some ship in the harbor was just leaning on its horn for like 5 minutes
313: [04:29:40] <ss23> I'm not sure that's the right form of the word for "using their horn a lot"
314: [04:31:16] <Colin[pi]> ss23: yeah, maybe it should be "seaman's horn gets blown for 5 minutes"
315: [04:31:45] <Colin[pi]> that sounds much less suss
316: [04:31:48] <ss23> lol
317: [04:44:28] * mahfuz quit (Ping timeout: 246 seconds)
318: [04:57:18] <nontgor> what is the correct way of printing out messages for a controller method that could be called from the command line or a browser (in this case for bulk import). Using echo screws up browser output due to lack of <br> tags, but works fine on command line
319: [04:58:38] <ss23> $e = "\r\n"; if (not cli) $e .= "<br>"; echo "output here$e"
320: [04:58:40] <ss23> or something
321: [04:58:44] <ss23> Hacky, dunno if there's a better way
322: [04:59:01] <nontgor> ss23: thanks
323: [04:59:05] <nontgor> haha, heresy
324: [04:59:18] <ss23> lol
325: [05:11:41] * Hailwood quit (Quit: Leaving)
326: [05:15:09] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
327: [05:19:18] * Ryan-Toast quit (Quit: Ryan-Toast)
328: [05:20:07] * spronk2 has joined #silverstripe
329: [05:31:27] * FMateo has joined #silverstripe
330: [05:31:56] * veb quit (Quit: veb-irc: &)
331: [05:33:48] <FMateo> I guys, Someone can help me?
332: [05:33:49] <FMateo> http://www.silverstripe.org/community/forums/general-questions/show/101448
333: [05:40:27] * Stomach quit (Quit: zzz)
334: [05:44:08] <Tanger> FMateo: Your comment isn't a has_many or many_many
335: [05:44:47] <Tanger> Oh, it's a has many
336: [05:46:43] <Tanger> FMateo: I'm not sure I understand what's not working sorry :P
337: [06:03:30] * Cheddam quit (Quit: My Mac has gone to sleep. ZZZzzz…)
338: [06:06:58] <ss-helper> Link files to users - http://www.silverstripe.org/community/forums/customising-the-cms/show/101583
339: [06:20:03] * Cheddam has joined #silverstripe
340: [06:28:54] * irogue_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
341: [06:30:24] * Cheddam quit (Quit: My Mac has gone to sleep. ZZZzzz…)
342: [06:34:52] * Eliseth has joined #silverstripe
343: [06:36:43] * Tanger quit (Quit: sleep())
344: [06:37:36] * Tanger has joined #silverstripe
345: [06:53:43] * Stomach has joined #silverstripe
346: [06:54:52] <Eliseth> Morning
347: [07:08:08] * Sticks quit (Quit: Leaving)
348: [07:34:47] * Blacklite quit (Read error: Connection reset by peer)
349: [07:46:38] * Stomach_ has joined #silverstripe
350: [07:48:08] * DimiStripe quit (Remote host closed the connection)
351: [07:48:26] * DimiStripe has joined #silverstripe
352: [07:48:39] * Stomach quit (Ping timeout: 264 seconds)
353: [07:48:44] * swaiba has joined #silverstripe
354: [07:52:15] <ss-helper> Re: Shortcode for dataobjects - http://www.silverstripe.org/community/forums/customising-the-cms/show/101504#post401021
355: [07:56:23] <swaiba> Morning all
356: [07:56:29] <nontgor> If you are looking for icons for model admin or reports in the CMS this site is useful http://www.flaticon.com/
357: [07:56:41] <nontgor> "The largest database of free vector icons"
358: [08:01:10] * Cheddam has joined #silverstripe
359: [08:08:31] * darjus01 has joined #silverstripe
360: [08:09:17] <darjus01> Hi, is any module sort of translateble like, but transale fields and original fields should me on same view
361: [08:12:59] * Cheddam quit (Quit: My Mac has gone to sleep. ZZZzzz…)
362: [08:14:26] <swaiba> darjus01 - like this - https://github.com/bummzack/translatable-dataobject?
363: [08:16:03] * Cheddam has joined #silverstripe
364: [08:24:27] * babak has joined #silverstripe
365: [08:24:59] <darjus01> yes something in this direction, but question is i have gallery page with galeriry item dataobject with hasmany, then i use this module it translates url or not?
366: [08:25:14] <ss23> darjus01: I'm not sure, but there's https://github.com/tractorcow/silverstripe-fluent you might like
367: [08:25:47] <darjus01> in thid case fluent not sutable
368: [08:26:08] <ss23> Okay, sweet
369: [08:26:20] <darjus01> fluent you youst mark in checkbox language
370: [08:27:05] <swaiba> this module it translates url or not? - if that is a DB field and is selected to be translated then yes, otherwise no
371: [08:27:26] <darjus01> thats i need is page language administration with one view edit all langs and that page url alsso would be transalted into that languages
372: [08:28:50] * arnhoe has joined #silverstripe
373: [08:31:17] * Pynobcnk has joined #silverstripe
374: [08:31:33] <Pynobcnk> Trains were late, no time for a sandwich this morning. SERIOUS DISAPPOINT
375: [08:41:01] * Shrike_Finland has joined #silverstripe
376: [08:52:26] <ss-helper> Re: Silver Stripe Gallery all images down one side of the page - http://www.silverstripe.org/community/forums/general-questions/show/101503#post401020
377: [08:53:24] * Sj0hn has joined #silverstripe
378: [08:53:32] <Sj0hn> hi
379: [08:54:37] * Stomach_ quit (Quit: zzz)
380: [08:58:32] * cloph_away is now known as cloph
381: [09:08:39] * Stomach has joined #silverstripe
382: [09:13:41] * SH__ has joined #silverstripe
383: [09:15:06] <SH__> Hey guys. I've got a multidimensional array in a session, and im trying to figure out how to delete one of the arrays inside of the multi-array. Any suggestions?
384: [09:15:32] <swaiba> SH__ - unset
385: [09:17:04] <SH__> Yeah i've been trying that, just cant seem to figure out how to update the session afterwards
386: [09:18:59] <swaiba> $arr = Session::get('xyz');
387: [09:19:17] <swaiba> do unset $arr
388: [09:19:24] <swaiba> Session::set('xyz',$arr);
389: [09:22:48] <Pynobcnk> hi Sj0hn
390: [09:23:16] <Pynobcnk> Session::clear isn't it?
391: [09:23:21] <Pynobcnk> SH__: swaiba
392: [09:23:39] * r_hector has joined #silverstripe
393: [09:23:43] <Pynobcnk> Yup.
394: [09:23:44] <Pynobcnk> http://api.silverstripe.org/3.1/class-Session.html#_clear
395: [09:23:59] <swaiba> yeah, well, first he says delete, then he says update...
396: [09:24:09] <Pynobcnk> Session::clear('xyz.abc')
397: [09:24:26] <Pynobcnk> swaiba: I think he means save the fact that it's changed (ie, removed)
398: [09:25:00] <SH__> Yeah sorry I meant delete one, then update the session (where it is removed)
399: [09:25:02] <Pynobcnk> as in $thing = Session::get('key'); unset $thing; //this has not altered the session!
400: [09:25:20] <Pynobcnk> SH__: simply Session::clear('key')
401: [09:25:26] <Pynobcnk> I believe.
402: [09:25:49] <swaiba> Pynobcnk, no he is saying he wants to remove something from teh array and update the sessions after
403: [09:25:50] <Pynobcnk> if it remains, you either re-set it later in the code path, or perhaps try Session::save()
404: [09:26:09] <Pynobcnk> swaiba: ah, well yeah, get then set.
405: [09:26:20] <swaiba> indeed
406: [09:27:14] <Pynobcnk> SH__: swaiba: could also try Session::clear('multi.dimensional.array.key')
407: [09:27:16] <Pynobcnk> might work.
408: [09:27:57] <Pynobcnk> which equivliates roughly to $multi['dimensional']['array']['key']
409: [09:28:00] <Pynobcnk> iirc
410: [09:28:11] <Pynobcnk> (about 80% sure)
411: [09:29:17] * UncleCheese has joined #silverstripe
412: [09:30:47] <SH__> Yeah when i try to do Session::clear($products[$selectedProd]) , I get "parameter 2 to be string, array given" error. Which makes sense because its an array in the multi array..
413: [09:36:35] <SH__> ALright figured it out, thanks
414: [09:36:53] * Cheddam quit (Ping timeout: 246 seconds)
415: [09:52:21] * MichalKleiner quit (Ping timeout: 256 seconds)
416: [09:59:57] * Stomach quit (Quit: zzz)
417: [10:01:32] * Tanger quit (Quit: sleep())
418: [10:02:58] <Pynobcnk> SH__: yeah, it's a . separated key string - not an actual variable.
419: [10:07:39] <ss-helper> Nested partial caching doesn't work - http://www.silverstripe.org/community/forums/general-questions/show/101584
420: [10:19:37] * ss23 quit (Ping timeout: 264 seconds)
421: [10:21:13] * huberd has joined #silverstripe
422: [10:24:10] <FMateo> How i can get hiddenField values from a form?
423: [10:25:42] <FMateo> for ex. HiddenField::create('id', 3). I want give 3 whith a $form->methodFromField('id');
424: [10:25:43] <Pynobcnk> FMateo: same as any other field :)
425: [10:25:47] <FMateo> its possible?
426: [10:30:08] <ss-helper> Re: [silverstripe-dev] Date and DateTime Modification - https://groups.google.com/d/msg/silverstripe-dev/yfiTyckQhIg/eJbHDYzoQRIJ
427: [10:33:25] * Pynobcnk quit (Ping timeout: 246 seconds)
428: [10:41:49] * SH__ quit (Ping timeout: 246 seconds)
429: [10:50:03] * Pydconk has joined #silverstripe
430: [10:55:09] * ss23 has joined #silverstripe
431: [10:57:16] * Colin[pi] quit (Ping timeout: 240 seconds)
432: [11:00:11] <ss-helper> Re: [silverstripe-dev] byID returns null without doing database query - https://groups.google.com/d/msg/silverstripe-dev/Hbvc0wv8gQE/KdM5dme9XSwJ
433: [11:00:40] * adrexia_ quit (Quit: Textual IRC Client: www.textualapp.com)
434: [11:09:41] <ss-helper> Re: SilverStripe and multi level subscriptions. - http://www.silverstripe.org/community/forums/general-questions/show/101564#post401138
435: [11:22:51] <ss-helper> Re: Replace And Add To Arraylist - http://www.silverstripe.org/community/forums/data-model-questions/show/101565#post401142
436: [11:22:51] <ss-helper> Re: SilverStripe and multi level subscriptions. - http://www.silverstripe.org/community/forums/general-questions/show/101564#post401141
437: [11:22:51] <ss-helper> Re: Is viewing a versioned dataobject's history in ModelAdmin possible/available? - http://www.silverstripe.org/community/forums/customising-the-cms/show/101581#post401140
438: [11:22:51] <ss-helper> Re: Can't resize png files - http://www.silverstripe.org/community/forums/general-questions/show/101545#post401139
439: [11:23:13] * Kutten has joined #silverstripe
440: [11:24:06] <Kutten> Hello?
441: [11:24:23] <swaiba> @Kutten hello
442: [11:25:12] <Kutten> I was just wondering if anyone could help me get silver stripe install on my local lamp server.
443: [11:25:24] <Kutten> I tried following a tutorial but got stuck.
444: [11:27:25] <Pydconk> Kutten: what do you need/how far did you get?
445: [11:28:20] <Kutten> Pydconk: specifically i was following this, http://www.upubuntu.com/2012/09/how-to-install-silverstripe-cms-301-on.html
446: [11:28:49] <Kutten> Pydconk: And I got stuck at "sed 's/www/www\/silverstripe/g' default > silverstripe"
447: [11:29:42] <Kutten> Pydconk: Can't remember the error I got but I can replicate it.
448: [11:30:23] <Pydconk> wtf is that?
449: [11:31:13] <Pydconk> Kutten: I think that is probably the most convoluted way to do this imaginable
450: [11:31:49] <Kutten> Pydconk: I'm very much a noob to both linux and web dev.
451: [11:32:04] <Kutten> Pydconk: So I have no idea.
452: [11:32:12] <Pydconk> no problem! Just... that 'tutorial' :/
453: [11:32:25] <Pydconk> for starters it's very speicifc to a version that's now nearly 2 years old :P
454: [11:32:41] <Kutten> Pydconk: I guess that's the internet right.
455: [11:32:45] * DimiStripe quit (Read error: Connection reset by peer)
456: [11:32:47] <Pydconk> Kutten: Try here! :) http://doc.silverstripe.org/en/getting_started/
457: [11:32:59] <Kutten> Pydconk: Cheers.
458: [11:33:02] * DimiStripe has joined #silverstripe
459: [11:33:10] <Pydconk> Kutten: indeed, that is the internets at it's bestest.
460: [11:33:52] <Pydconk> Kutten: although it's not immediately obvious, there's a sub-menu on the left for more involved steps :)
461: [11:34:30] <Kutten> Pydconk: Do you recommend using composer?
462: [11:34:44] <swaiba> Kutten - this is also useful https://vimeo.com/108861537
463: [11:36:04] <Pydconk> Kutten: yes, I do.
464: [11:36:14] <Pydconk> It's not necessary, but much easier!
465: [11:37:24] <Kutten> Pydconk: Easy is good :)
466: [11:37:31] <Pydconk> https://github.com/NightJar/talk-silverstripe_intro/ is also handy for a quick introduction
467: [11:37:53] <ss-helper> Re: SilverStripe and multi level subscriptions. - http://www.silverstripe.org/community/forums/general-questions/show/101564#post401144
468: [11:37:54] <Pydconk> more to the system itself though than installation.
469: [11:38:34] <Pydconk> although it's mostly aimed at more experienced developers. The tutorials on that same docs site I already linked are probably more for you at first Kutten :)
470: [11:38:40] <Pydconk> lunch time.
471: [11:38:43] <Pydconk> bbl
472: [11:38:54] * PigeonFriend has joined #silverstripe
473: [11:39:48] <Kutten> Okay
474: [11:45:38] * r_hector quit (Quit: Leaving.)
475: [11:50:46] <Kutten> seen kthnk
476: [11:51:26] <Kutten> Pydconk: Thanks for you help, I need to get to bed.
477: [11:51:52] * Kutten quit (Quit: Kutten)
478: [11:52:56] <ss-helper> Re: Can't resize png files - http://www.silverstripe.org/community/forums/general-questions/show/101545#post401145
479: [12:00:35] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
480: [12:19:18] * cloph is now known as cloph_away
481: [12:22:31] * UndefinedOffset has joined #silverstripe
482: [12:33:19] * MichalKleiner has joined #silverstripe
483: [12:37:44] * MischaK has joined #silverstripe
484: [12:38:33] <MischaK> strange behaviour in silverstripe, maybe this is a setting somewhere, but when i move a page, then it only redirects if a site visitor is logged in
485: [12:38:38] <MischaK> else it gives a 404
486: [12:38:54] <MischaK> so is there a setting somewhere to always get the page moved redirect?
487: [12:42:38] <zauberfisch> MischaK: so you moved the redirector page?
488: [12:43:08] <zauberfisch> sounds indeed weird. my guess is it has something to do with draft / published site
489: [12:43:44] <Pydconk> my guess too
490: [12:43:56] <zauberfisch> moving a page saves the page but doesn't publish it. so you have to publish it again to make the moving visible to guests
491: [12:44:23] <MischaK> ahh ok, let me check :)
492: [12:45:37] <MischaK> it says published
493: [12:45:49] <MischaK> hit publish again same result
494: [12:46:51] <MischaK> this wasn't a redirector page
495: [12:47:09] <MischaK> just an event which got placed from upcoming events to past events
496: [12:47:34] <MischaK> which brakes the /events/eventtitle link
497: [12:48:10] <Pydconk> so /events is upcoming events, and /pastevents is past events?#
498: [12:50:18] <MischaK> yeah
499: [12:50:39] <MischaK> allthough i translated it to english from dutch so its not the actual names :P
500: [12:50:50] * swaiba quit (Remote host closed the connection)
501: [12:51:13] <MischaK> actual: programma vs programma-al-geweest
502: [12:51:14] * cloph_away is now known as cloph
503: [12:51:57] <Pydconk> MischaK: So the page no longer exists under programma/thatthingthatsdone
504: [12:52:44] <MischaK> yeah drag / drop action done from 1 folder to the other
505: [12:53:00] <MischaK> if logged in -> redirects, if not 404
506: [12:53:11] <MischaK> and page is published
507: [13:02:48] <Pydconk> what version?
508: [13:04:44] <MischaK> 3.1.6
509: [13:18:30] <darjus01> $GridConfig->getComponentByType('GridFieldBulkUpload')->setUfSetup('setFolderName', 'Uploads/HomepageSlider/Images')->setUfConfig('sequentialUploads', true);
510: [13:18:44] <darjus01> gives eror: Uncaught Exception: Object->__call(): the method 'setfoldername' does not exist on 'Upload'
511: [13:18:45] * FMateo quit (Ping timeout: 250 seconds)
512: [13:19:00] <darjus01> is any changes lately on 3.1.12?
513: [13:19:08] <MischaK> ok another question, same silverstripe install, I now have images coupled to an event in a 1 - n manner, and I've gotten the request to be able to upload the images in bulk instead of going it 1 by 1
514: [13:19:57] <MischaK> any ideas if this is possible while retaining the original links to the event
515: [13:21:55] <Pydconk> MischaK: you should have an intermediary object.
516: [13:22:20] <Pydconk> If you've extended Image to have a has_one link to Event, then you'll need to write a migration
517: [13:22:44] <darjus01> object put has many to this http://addons.silverstripe.org/add-ons/colymba/gridfield-bulk-editing-tools
518: [13:23:46] <MischaK> Pydconk, its a has_many relationship between event and images
519: [13:24:03] <Pydconk> that's not possible.
520: [13:24:22] <Pydconk> You've either defined a has_one on image via dataextension, or you have an intermediary object.
521: [13:24:42] <Pydconk> well, that _alone_ isn't enough.
522: [13:25:30] <MischaK> yeah i have a dataobject which it links to
523: [13:25:56] <darjus01> make object Event image put has_one Image then put Event with has_many Event image
524: [13:26:04] <Pydconk> so it's Event n:1 ImageObject 1:1 Image
525: [13:26:08] <Pydconk> ?
526: [13:27:15] <darjus01> yes
527: [13:28:54] <darjus01> Event has_many = array('ImageObjects' => 'ImageObject'); in ImageObject has_one = array('Image'=>'Image', 'Event' => 'Event')
528: [13:28:56] <Pydconk> wait, you're both asking the same thing?
529: [13:28:59] <Pydconk> ha
530: [13:29:12] <MischaK> Pydconk, http://tny.cz/89ee2bdf
531: [13:29:17] <MischaK> how its set up now
532: [13:29:27] <darjus01> nop
533: [13:29:33] <darjus01> I am helping :D
534: [13:29:36] <MischaK> darjus01, is also answering :)
535: [13:29:42] <Pydconk> oh
536: [13:29:51] <Pydconk> MischaK: yeah, that's right. That's an intermediary object.
537: [13:29:57] <darjus01> I am asking about other problem
538: [13:30:19] <darjus01> <darjus01> $GridConfig->getComponentByType('GridFieldBulkUpload')->setUfSetup('setFolderName', 'Uploads/HomepageSlider/Images')->setUfConfig('sequentialUploads', true); [16:18] <darjus01> gives eror: Uncaught Exception: Object->__call(): the method 'setfoldername' does not exist on 'Upload'
539: [13:30:37] <MischaK> darjus01, can you have a look at the object and see if the method is renamed?
540: [13:31:19] <darjus01> setfoldername is depricated or what? because I put my basic code to whitch works on 3.1.11 and lover 100%
541: [13:32:04] <darjus01> UploadField::create('Image')->setFolderName('Uploads/HomepageSlider/Images') in object
542: [13:34:37] <darjus01> http://paste.ofcode.org/3aHnb88NC5jQiYen8cyUXHS
543: [13:34:41] <Pydconk> MischaK: I dunno about the page redirect. http://api.silverstripe.org/3.1/source-class-OldPageRedirector.html#32-90
544: [13:34:48] <Pydconk> there's nothing there that hints at permissions
545: [13:35:57] <Pydconk> MischaK: also, as for uploading images in bulk, this is already possible in a 1:n relationship.
546: [13:36:05] <Pydconk> reconfigure your uploadfield
547: [13:36:41] <Pydconk> if you mean you need to change it to n:n relationship (which is what I thought you were asking until I re-read), then you'll probably need to write a small migration script
548: [13:37:47] <Pydconk> darjus01: no idea sorry other than that something in your chain is returning not what you think.
549: [13:37:49] <MischaK> Pydconk, how do i reconfigure it?
550: [13:38:00] <Pydconk> MischaK: read the docs of course!
551: [13:38:07] <MischaK> is using the extension that darjus01 named the easiest or?
552: [13:38:15] <MischaK> Pydconk, ofc :)
553: [13:38:24] <Pydconk> MischaK: actually I think it's automatic
554: [13:38:30] <Pydconk> just drag and drop many files onto it.
555: [13:38:44] <MischaK> well that doesnt work :P
556: [13:38:51] <MischaK> at least in this configuration
557: [13:39:06] <Pydconk> are you using IE 8?
558: [13:39:23] <MischaK> no im a web dev :P
559: [13:39:40] <MischaK> chrome / ff latest versions
560: [13:40:03] <MischaK> opera / ie for testing when im feeling thorough
561: [13:42:10] <Pydconk> $uploadfield->getAllowedMaxFileNumber()
562: [13:42:16] <Pydconk> $uploadfield->setAllowedMaxFileNumber()
563: [13:42:35] <Pydconk> http://api.silverstripe.org/3.1/source-class-UploadField.html#_getAllowedMaxFileNumber
564: [13:42:58] <Pydconk> I mean, put the uploadfield on the parent, not on the related object. Perhaps that's where you've gone wrong.
565: [13:43:32] <Pydconk> MischaK: I think that's how it works. I suddenly got very sleepy so I'm not sure anymore.
566: [13:43:44] <MischaK> cool thanks sir
567: [13:43:48] <MischaK> ill try it out in a bit
568: [13:45:28] * Shrike_Finland quit (Quit: Leaving.)
569: [13:49:19] * Shrike_Finland has joined #silverstripe
570: [13:53:19] * arnhoe_ has joined #silverstripe
571: [13:55:01] * arnhoe quit (Ping timeout: 248 seconds)
572: [14:21:20] * r3v3rb has joined #silverstripe
573: [14:23:30] <r3v3rb> Hi all, i keep getting " DEV. INO. SYN. SV~" crap output on the first line of my ss sites when running them locally. Any ideas where to look first? Google suggests output buffering... But some ss sites work fine
574: [14:29:15] * Spliff has joined #silverstripe
575: [14:31:25] * darjus01 quit (Ping timeout: 246 seconds)
576: [14:44:21] <Pydconk> r3v3rb: U WOT M8!?
577: [14:44:36] <Pydconk> errr, I mean
578: [14:44:50] <Pydconk> U. WOT. M8~
579: [14:44:55] <Pydconk> :P
580: [14:45:38] <Pydconk> (no but seriously, output where?)
581: [14:46:13] * FMateo has joined #silverstripe
582: [14:46:54] * FMateo quit (Client Quit)
583: [14:49:01] <r3v3rb> Pydconk it's output in the browser before the site.
584: [14:49:18] <r3v3rb> On me phone so topping is hard at the mo m8
585: [14:49:26] <r3v3rb> Typing even
586: [14:56:09] <r3v3rb> I get a load of diamonds with question marks and DEV INO etc in between on the first line... I'm beginning to wonder if it has anything to do with line endings on Mac vs Windows and it causing some weird blip
587: [14:56:20] <ss-helper> Set up newsletter signup for in SilverStripe without User-Defined Forms - http://stackoverflow.com/questions/29494471/set-up-newsletter-signup-for-in-silverstripe-without-user-defined-forms
588: [14:58:02] <Pydconk> r3v3rb: can also be zero width characters in text editor, such as UTF-8 BOM which has caused issues in the past.
589: [14:58:29] <Pydconk> ie, output appearing before the 'first' character (the < from <?php)
590: [14:58:34] <Pydconk> thus goes directly to output
591: [14:58:57] <Pydconk> I imagine it's on many files, thus you get much output before actual output.
592: [14:59:12] <Pydconk> also means you might get header problems, try going to yoursite.dev/asdopgyeophbaifjgaighasjgierd
593: [14:59:19] <Pydconk> (ie, 404)
594: [14:59:34] <Pydconk> should get an error appear before redirect
595: [15:00:03] <Pydconk> r3v3rb: can make dev tool console persist between full page loads to compare the full output in response body
596: [15:00:16] <Pydconk> if the redirect happens and happens too fast or something
597: [15:01:22] <r3v3rb> Pydconk happens on .dev/nonexistantpage
598: [15:03:28] <r3v3rb> In output inspector of Firefox it sits as <body>::before dev ino etc
599: [15:14:39] * Eliseth quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
600: [15:16:53] * Shrike_Finland quit (Quit: Leaving.)
601: [15:20:53] * rev3rbbbb has joined #silverstripe
602: [15:20:57] <rev3rbbbb> dang nabbitt
603: [15:24:02] * r3v3rb quit (Ping timeout: 250 seconds)
604: [15:24:12] <rev3rbbbb> Mother fix er ☺ found it. Unison had copied the .AppleDouble folders and inside the mysite one resided a dodgy _config.php
605: [15:31:03] * arnhoe_ quit ()
606: [15:31:34] * NobrainerWeb has joined #silverstripe
607: [15:32:05] * NobrainerWeb quit (Client Quit)
608: [15:43:45] * muskie9 has joined #silverstripe
609: [15:48:40] * Shrike_Finland has joined #silverstripe
610: [15:52:50] * mattybalaam has joined #silverstripe
611: [15:53:28] * catcher has joined #silverstripe
612: [16:00:40] <ss-helper> Re: [silverstripe-dev] byID returns null without doing database query - https://groups.google.com/d/msg/silverstripe-dev/Hbvc0wv8gQE/b1QLNbY8FvAJ
613: [16:07:23] <mattybalaam> I am pushing some html with Director::is_ajax(), and I have noticed that my links come through as [sitetree_link,id=28] rather than a parsed url-segment.
614: [16:07:46] <mattybalaam> I guess my fault lies in using json_encode(array(
615: [16:07:57] <mattybalaam> Is there a proper way of encoding
616: [16:10:12] <muskie9> mattybalaam it sounds like you need to parse the content so the short codes are turned into links.... not completely sure how that's done, but here's some docs on the SS short code stuff: http://doc.silverstripe.org/en/developer_guides/extending/shortcodes
617: [16:10:20] <Pydconk> mattybalaam: no, the issue lies in outputting the raw Content ... err, contents.
618: [16:10:32] <Pydconk> you need to ... as muskie9 says :)
619: [16:10:37] <muskie9> ShortcodeParser::get_active()->parse($text);
620: [16:10:44] <muskie9> something like that maybe
621: [16:10:54] <mattybalaam> Thanks, giving that a try.
622: [16:10:54] <Pydconk> mattybalaam: getContent or suchlike on SiteTree will hold the answer for you ;)
623: [16:13:12] <mattybalaam> Yep, ShortcodeParser::get_active()->parse($this->Content) worked. Thanks so much
624: [16:13:47] <mattybalaam> is Convert::array2json better than json_encode by the eay?
625: [16:14:46] <muskie9> it's pretty much the same thing
626: [16:14:56] <muskie9> http://api.silverstripe.org/3.1/source-class-Convert.html#101
627: [16:15:42] <muskie9> it's an alias that calls the above
628: [16:15:55] <Pydconk> mattybalaam: I believe it's for really old PHP installs, or those that don't have the json extension compiled in
629: [16:16:28] <Pydconk> and now is basically for backwards compatiblity (with 2.2 code and under, i'm not sure what the point is... it's pretty much just code rot I think)
630: [16:22:12] <Pydconk> must be like home time 'n stuff.
631: [16:22:15] * Pydconk quit ()
632: [16:31:09] <mattybalaam> Thanks for everyones help.
633: [16:43:43] * mattybalaam quit (Ping timeout: 246 seconds)
634: [17:00:56] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
635: [17:05:19] * Spliff quit (Quit: See you then)
636: [17:11:23] <ss-helper> Silverstripe.Link user with File - http://stackoverflow.com/questions/29497141/silverstripe-link-user-with-file
637: [17:16:34] * Shrike_Finland quit (Quit: Leaving.)
638: [17:35:23] * Shrike_Finland has joined #silverstripe
639: [17:41:24] <ss-helper> Silverstripe Advancedwrokflow with DataObject not showing button - http://stackoverflow.com/questions/28817528/silverstripe-advancedwrokflow-with-dataobject-not-showing-button
640: [18:03:10] * huberd quit (Ping timeout: 246 seconds)
641: [18:05:35] * masnun has joined #silverstripe
642: [18:07:44] <masnun> Hi, is it possible to have just the list view in the silverstripe admin backend? I just need to show a table of data. I don't need the details view (the view that comes when an item is clicked)
643: [18:54:06] * Stomach has joined #silverstripe
644: [19:01:31] <Shrike_Finland> Hi, is it possible to use retina images on TinyMCE without resampling?
645: [19:07:31] <Shrike_Finland> Silver seems to rezise images to given width and "missing" given double resolution on image.
646: [19:20:25] <catcher> masnun, you can disable the canEdit permission
647: [19:20:41] <catcher> Shrike_Finland, you can replace the img src with the original
648: [19:21:06] <masnun> catcher return false in canEdit method?
649: [19:22:06] * Stomach quit (Quit: zzz)
650: [19:22:46] <catcher> masnun, yep, that should do it.
651: [19:23:15] <catcher> masnun, You can always override the field too of course, but this should be easier.
652: [19:23:21] <masnun> thanks catcher , trying
653: [19:24:09] <ss-helper> Re: DuplicateChecks in CsvBulkLoader isn't working - http://www.silverstripe.org/community/forums/general-questions/show/101506#post401146
654: [19:25:09] <masnun> catcher it still takes me to a details page that is not editable
655: [19:25:16] <masnun> can I disable it totally?
656: [19:25:36] <masnun> I mean just display the table as is, nothing happens when items are clicked, catcher
657: [19:27:46] <catcher> masnun, gridfield?
658: [19:28:11] <catcher> masnun, you can remove the edit button component from the GF config.
659: [19:28:30] <masnun> thanks
660: [19:31:24] * masnun_ has joined #silverstripe
661: [19:32:36] * masnun quit (Ping timeout: 240 seconds)
662: [19:32:58] <ss-helper> SilverStripe Payment Module: 0.4.2 and 0.3.2 security release - https://groups.google.com/d/msg/silverstripe-announce/qFOFfvWBNe8/GBYNgOacmwgJ
663: [19:33:00] <ss-helper> SilverStripe 3.0.6 Security Release - https://groups.google.com/d/msg/silverstripe-announce/m4vmXYmV0CE/EfSzp3t6mvsJ
664: [19:42:24] * Shrike_Finland quit (Quit: Leaving.)
665: [19:48:18] * Colin[pi] has joined #silverstripe
666: [19:54:47] * Stomach has joined #silverstripe
667: [19:56:37] * mobiusnz has joined #silverstripe
668: [19:57:44] * mobiusnz1 has joined #silverstripe
669: [19:57:44] * mobiusnz quit (Read error: Connection reset by peer)
670: [19:58:55] * mobiusnz1 is now known as mobiusnz
671: [20:03:08] <ss-helper> SilverStripe Payment Module: 0.4.2 and 0.3.2 security release - https://groups.google.com/d/msg/silverstripe-announce/qFOFfvWBNe8/GBYNgOacmwgJ
672: [20:03:11] <ss-helper> SilverStripe 3.0.6 Security Release - https://groups.google.com/d/msg/silverstripe-announce/m4vmXYmV0CE/EfSzp3t6mvsJ
673: [20:03:12] <ss-helper> SilverStripe Payment Module: 0.4.2 and 0.3.2 security release - https://groups.google.com/d/msg/silverstripe-announce/qFOFfvWBNe8/GBYNgOacmwgJ
674: [20:06:50] <Stomach> morning team
675: [20:08:34] <catcher> 'morning
676: [20:10:54] * mobiusnz quit (Quit: Leaving.)
677: [20:15:07] * UndefinedOffset quit (Quit: Leaving.)
678: [20:17:51] <ss-helper> SilverStripe 3.0.6 Security Release - https://groups.google.com/d/msg/silverstripe-announce/m4vmXYmV0CE/EfSzp3t6mvsJ
679: [20:20:53] * JamieT has joined #silverstripe
680: [20:22:11] <JamieT> Hey Everyone, this is so weird, but i'm experiencing a crazy problem. When in the admin, i save i get a success message and the page doesn't actually save it reverts back to the previous state.
681: [20:31:25] * antmas has joined #silverstripe
682: [20:31:43] <Stomach> ss23 - ss-helper is fucked
683: [20:32:01] <Stomach> it keeps telling me about security updates, freaking me the fuck out and ruining my day with 2 year old security patches
684: [20:32:04] <Stomach> can you please fix it
685: [20:32:08] <Stomach> or something
686: [20:32:08] <Stomach> :(
687: [20:33:46] <Stomach> JamieT - are you in the SiteTree?
688: [20:33:50] <Stomach> what version of SS?
689: [20:37:21] * mobiusnz has joined #silverstripe
690: [20:38:10] <JamieT> @Stomach yes i am
691: [20:38:19] <antmas> morning o/
692: [20:38:41] <JamieT> @Stomach 3.0.8
693: [20:38:59] <Stomach> JamieT - no chance of upgrading to the latest version?
694: [20:39:03] <Stomach> hey antmas
695: [20:40:32] <JamieT> @Stomach i suppose i could
696: [20:41:19] <JamieT> it's a site in production and was working but has recently stopped
697: [20:45:43] * Stomach quit (Ping timeout: 255 seconds)
698: [20:50:15] * Ryan-Toast has joined #silverstripe
699: [20:50:35] * masnun_ quit (Quit: Signing out.)
700: [20:56:46] * slievr quit (Ping timeout: 246 seconds)
701: [21:15:27] * catcher quit (Quit: Leaving)
702: [21:21:48] * Hailwood has joined #silverstripe
703: [21:21:49] <Ryan-Toast> I have a “Security.ss” template in my ‘mysite’ folder to handle the login, forgiot password pages etc, but now the Security CMS tab uses the template. How can I stop this from happening?
704: [21:40:09] * antmas quit (Quit: Page closed)
705: [21:41:26] * antmas has joined #silverstripe
706: [21:50:29] * Stomach has joined #silverstripe
707: [21:50:40] * JamieT quit (Ping timeout: 246 seconds)
708: [22:01:35] * UncleCheese has joined #silverstripe
709: [22:02:39] * UncleCheese quit (Client Quit)
710: [22:05:25] <Ryan-Toast> antmas: finally happy with it: http://i.imgur.com/usGs3g8.png
711: [22:05:47] <antmas> dafuq, image is blocked
712: [22:05:56] <Ryan-Toast> Really?
713: [22:06:29] <Ryan-Toast> Try this: http://imgur.com/usGs3g8
714: [22:08:25] <antmas> bah, I think it's my network
715: [22:08:29] <antmas> it's gone all fucky
716: [22:14:49] * UncleCheese has joined #silverstripe
717: [22:16:55] * antmas quit (Ping timeout: 246 seconds)
718: [22:28:46] * mahfuz has joined #silverstripe
719: [22:37:01] * DimiStripe quit (Quit: DimiStripe)
720: [22:37:42] * antmas has joined #silverstripe
721: [22:39:34] <antmas> zomg xml relay controlling :|
722: [22:39:44] <Ryan-Toast> I have a “Security.ss” template in my ‘mysite’ folder to handle the login, forgiot password pages etc, but now the Security CMS tab uses the template. How can I stop this from happening?
723: [22:40:21] <Stomach> Ryan-Toast - move it to your themes folder
724: [22:40:31] <Ryan-Toast> Stomach: Only way?
725: [22:40:41] <Ryan-Toast> I don’t have a theme :(
726: [22:41:31] <Stomach> yeah only way
727: [22:41:42] <Stomach> or put it in the right place
728: [22:41:47] <Stomach> is it in the layout folder
729: [22:41:51] <Stomach> or the root folder
730: [22:41:52] <Stomach> etc
731: [22:42:16] <Ryan-Toast> Stomach: root, since it needs to add CSS files.
732: [22:42:24] <Stomach> bugger then :P
733: [22:42:32] <Ryan-Toast> Sigh,.
734: [22:42:42] <Ryan-Toast> This is a constant battle with these templates.
735: [22:46:01] <Hailwood> Hey guys, what's the *correct* way to say a dataobject is editable/viewable/deletable etc by anyone who could edit a page?
736: [22:46:27] <Hailwood> maybe canView($member = null){return singleton('Page')->canView($member);} ?
737: [22:48:34] * mobiusnz quit (Ping timeout: 255 seconds)
738: [22:53:38] <Stomach> Hailwood - there is SITETREE_EDIT_ALL permissions
739: [22:53:52] <Stomach> return Permission::check('SITETREE_EDIT_ALL')
740: [22:54:59] * DimiStripe has joined #silverstripe
741: [23:01:00] * mobiusnz has joined #silverstripe
742: [23:04:31] <Hailwood> Cheers Stomach Next question: http://i.imgur.com/nH5DsZd.png caused by trying to edit a dataobject in this gridfield: https://gist.github.com/hailwood/c6d75e9be4b266d68e75
743: [23:05:27] <Ryan-Toast> Hailwood: https://github.com/Rhym/ss_snippets/blob/master/README.md#gridfield
744: [23:05:59] <Ryan-Toast> Oh, wait. Relation editor
745: [23:06:03] <Ryan-Toast> nvm
746: [23:06:17] <Stomach> $gridField->setModelClass('TeamMember')
747: [23:06:18] <Ryan-Toast> Wait no, continue.
748: [23:07:20] <Hailwood> Ryan-Toast, You've lost me.. Stomach but shouldn't it be picking that up from the relationship?
749: [23:07:39] <Stomach> there is no relationship
750: [23:07:42] <Stomach> you didn't set the title
751: [23:07:46] <Stomach> it tries to auto configure it
752: [23:08:20] <Stomach> 'Team' is just the name of the GridField, not the relation it relies upon
753: [23:08:33] <Stomach> i think
754: [23:08:34] <Stomach> who knows
755: [23:08:35] <Stomach> I dont know
756: [23:09:03] <Hailwood> Stomach, I thought $this->Team() returns the ManyManyList object, which the gridfield should pull the relationship name out of
757: [23:09:40] <Stomach> well obviously its not :P
758: [23:11:57] <Hailwood> Oh, I just realized I screwed up my data object has_one = ['Page' => 'TeamPage'], belongs_many_many = ['Page' => 'TeamPage']
759: [23:16:28] * Azure quit (Ping timeout: 255 seconds)
760: [23:18:09] <Colin[pi]> morning all! o/
761: [23:19:26] <antmas> Colin[pi]: o/
762: [23:24:38] * EasyCo quit (Quit: Connection closed for inactivity)
763: [23:26:51] * novaweb quit (Quit: Leaving)
764: [23:30:26] * Azure has joined #silverstripe
765: [23:35:34] <Stomach> Hailwood - sweet :)
766: [23:41:58] * Sj0hn quit (Ping timeout: 246 seconds)
767: [23:48:01] <Hailwood> :| Just been asked to quote adding some features to a SS 2 site - I've never worked with SS 2 ha! Anyone know what the feature parity is between UserDefinedForms in SS 2.4 vs the current version? Specificically looking at the ability to save records to database, email records, and export records to csv
768: [23:50:10] <Stomach> got all that
769: [23:51:59] <Hailwood> Sweet, that makes it pretty easy then

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