#silverstripe IRC Log

IRC log for 4 December 2015

All timestamps are in UTC.

1: [00:04:19] * Colin[pi] has joined #silverstripe
2: [00:04:42] * MischaK quit (Ping timeout: 260 seconds)
3: [00:06:54] <helenclarko> spronk: Hope you dont actually ask that at subway "hey! The fuck is the sub of the day today?".
4: [00:07:02] <spronk> course i do
5: [00:07:06] <spronk> what do you expect from me!?
6: [00:08:33] * antmas has joined #silverstripe
7: [00:08:53] <Colin[pi]> antmas: o/
8: [00:09:01] <antmas> o/
9: [00:09:04] <antmas> and bai o/
10: [00:09:06] <antmas> meeting :|
11: [00:09:12] <Colin[pi]> :|
12: [00:10:40] <spronk> :|
13: [00:11:10] <spronk> today's music for you Colin[pi]: Sneaker Pimps - Becoming X
14: [00:13:02] * spronk also has queued up https://en.wikipedia.org/wiki/Swordfish_(soundtrack)
15: [00:13:06] <helenclarko> spronk: I've always wanted to go to McDonalds drive-through and make a huge order. Like 5x 10 pack chicken nuggets, 4 big mac combos, 7x mcChicken burger combos and a foot-long chicken and bacon sub with bbq sauce. Then when they sy "Sorry we dont do subs, I think you are thinking of subway" I want to say "well in that case I'll just take a softserve icecream thanks".
16: [00:13:25] <spronk> loool
17: [00:14:16] * Colin[pi] goes to check out dis track
18: [00:14:35] <Colin[pi]> oh it's an album :P
19: [00:14:49] <spronk> it's the album with 6 underground and spin spin sugar on it
20: [00:14:52] <spronk> they are the standout tunes
21: [00:14:56] <Colin[pi]> ooh
22: [00:14:59] <Colin[pi]> me likes
23: [00:15:42] <spronk> musical trivia for the day, 6 underground samples the song "Golden Girl" from Goldfinger (1964)
24: [00:15:46] * MischaK has joined #silverstripe
25: [00:19:45] <Colin[pi]> spronk: đź‘Ť
26: [00:19:52] <Colin[pi]> music checks out, I'll allow it
27: [00:20:00] <spronk> kekk
28: [00:20:10] <spronk> there are a few bizarre as fuck tracks on becoming x
29: [00:20:11] <spronk> but oh well
30: [00:20:21] <DanaeNZ> top kek
31: [00:47:05] * MichaelHabib quit (Remote host closed the connection)
32: [00:49:59] * saysora quit (Quit: My Mac has gone to sleep. ZZZzzz…)
33: [00:52:51] * MichaelHabib has joined #silverstripe
34: [01:05:24] * jenniferaslan quit (Quit: jenniferaslan has left the room)
35: [01:08:57] * MichalKl_ is now known as MichalKleiner
36: [01:32:15] * spronk quit (Quit: I may need a longer sleep timer...)
37: [01:34:00] * spronk has joined #silverstripe
38: [01:34:58] * BrewNaked quit (Remote host closed the connection)
39: [01:44:15] * helenclark0 has joined #silverstripe
40: [01:45:34] * helenclarko quit (Ping timeout: 245 seconds)
41: [01:48:44] * MichaelHabib quit (Ping timeout: 246 seconds)
42: [01:49:26] * Colin[pi] quit (Ping timeout: 246 seconds)
43: [01:54:05] * MichaelHabib has joined #silverstripe
44: [01:58:36] * Colin[pi] has joined #silverstripe
45: [02:06:18] <DanaeNZ> nearly beer o clock gents
46: [02:06:28] <Colin[pi]> not for me ;C
47: [02:06:35] <DanaeNZ> wahaaaaat
48: [02:06:42] <DanaeNZ> well technically I'm not having beer either
49: [02:06:49] <DanaeNZ> Probably my sneaky weekly cider
50: [02:06:54] <Colin[pi]> ;)
51: [02:08:16] <Colin[pi]> fuck my internet
52: [02:08:24] <Colin[pi]> going even slower than usual
53: [02:08:46] <Colin[pi]> DanaeNZ: how's the fibre?
54: [02:08:55] <DanaeNZ> pretty sweet
55: [02:08:59] <Colin[pi]> :D
56: [02:09:05] <DanaeNZ> I think I'm going to ring up and see if I can get on an unlimited plan
57: [02:09:21] <Colin[pi]> must of a difference in cost?
58: [02:09:25] <DanaeNZ> it probably costs the same
59: [02:09:32] <Colin[pi]> whaaa?
60: [02:09:33] <DanaeNZ> I'll see if I can cut a deal
61: [02:09:39] <Colin[pi]> nice
62: [02:16:50] * BrewNaked has joined #silverstripe
63: [02:25:34] <helenclark0> DanaeNZ: "Give me a good deal or I'll cut you"
64: [02:26:22] <DanaeNZ> that's the spirit
65: [02:27:03] * Colin[pi] quit (Ping timeout: 260 seconds)
66: [02:27:44] * BrewNaked quit (Remote host closed the connection)
67: [02:41:15] * micmania1 quit (Quit: micmania1)
68: [02:48:00] * antmas returns
69: [02:50:51] * MichaelHabib quit (Ping timeout: 260 seconds)
70: [02:53:12] <DanaeNZ> it's beer o'clock :D
71: [02:53:34] * MichaelHabib has joined #silverstripe
72: [02:58:30] <antmas> not for until 5.15
73: [02:58:33] <antmas> me*
74: [03:03:51] * antmas quit (Quit: Page closed)
75: [03:09:23] * antmas has joined #silverstripe
76: [03:09:33] <antmas> METAL \m/
77: [03:10:33] <DanaeNZ> mechanic says the car blew the head gasket
78: [03:11:00] <antmas> DanaeNZ: did they say how?
79: [03:11:51] <DanaeNZ> they dunno. First problem was leaking water pump. They couldn't properly test the thing til it was going
80: [03:12:13] <antmas> DanaeNZ: mm, could be water pump - was your radiator leaking at all?
81: [03:12:27] <DanaeNZ> water pump it was
82: [03:12:47] <DanaeNZ> but after getting that all going the thing is fine just puttering around
83: [03:12:57] <DanaeNZ> but if you put it under stress it overheats very quickly
84: [03:13:06] <antmas> yeah flucuations in water pressure will cause the seal to go, randomly at times
85: [03:13:10] <antmas> yeah
86: [03:13:33] <DanaeNZ> head gasket needs an engine crane, right?
87: [03:13:36] <antmas> also, if you only have water or very little radiator fluid in the radiator, the temperature won't be stable
88: [03:13:50] <antmas> DanaeNZ: depends, is it a little 4 cylinder motor?
89: [03:14:00] <DanaeNZ> yeah 4 cylinder
90: [03:14:07] <DanaeNZ> toyota corolla hatchback
91: [03:14:10] <antmas> spark plugs at the top of motor?
92: [03:14:13] <DanaeNZ> 1993 i think
93: [03:14:20] <antmas> DanaeNZ: should be fine without a crane
94: [03:14:21] <DanaeNZ> believe so
95: [03:14:29] <DanaeNZ> guess the $1500 is all labour
96: [03:14:36] <antmas> yeah it will be
97: [03:14:46] <antmas> a gasket for that car would be like $50 max
98: [03:14:53] <DanaeNZ> they are metal, yeah?
99: [03:14:55] <DanaeNZ> ally
100: [03:14:57] <DanaeNZ> i duno
101: [03:15:06] <DanaeNZ> plus gasket cement or something right
102: [03:15:12] <antmas> yeah but you think of how many 1993 corollas were made
103: [03:15:19] <antmas> like literally 100,000s
104: [03:15:35] <DanaeNZ> i bet the engine is identical to a thousand other toyotas too
105: [03:15:47] <antmas> yeah you would need gasket cement, the gasket, possibly a new water pump
106: [03:15:55] <antmas> water pump should be like $90 if that
107: [03:15:56] <DanaeNZ> the water pump has been replaced
108: [03:16:02] <antmas> nice
109: [03:16:26] <DanaeNZ> I'd have fun tinkering around attempting to fix it but there is one problem
110: [03:16:36] <DanaeNZ> the car is currently in matamata
111: [03:19:02] <antmas> well
112: [03:19:09] <DanaeNZ> yep
113: [03:19:18] <antmas> they could leave the gasket in and machine the top end
114: [03:19:30] <antmas> so the top comes out, motor stays in etc
115: [03:19:37] <antmas> how big is the motor? 1.3L?
116: [03:21:25] <antmas> $1500 for a 93 corolla head gasket would honestly make me think about just getting another car
117: [03:23:08] * antmas quit (Quit: Page closed)
118: [03:23:55] <DanaeNZ> oop he gone
119: [03:24:02] <DanaeNZ> well yeah that's what the mechanic said
120: [03:25:20] * MichaelHabib1 has joined #silverstripe
121: [03:25:49] * MichaelHabib quit (Read error: Connection reset by peer)
122: [03:25:49] * MichaelHabib1 is now known as MichaelHabib
123: [03:30:39] * Colin[pi] has joined #silverstripe
124: [03:31:27] * helenclark0 quit (Read error: Connection reset by peer)
125: [03:36:21] * UncleCheese has joined #silverstripe
126: [03:36:31] <Colin[pi]> UncleCheese: o/
127: [03:43:07] * Colin[pi] quit (Ping timeout: 260 seconds)
128: [03:44:54] * micmania1 has joined #silverstripe
129: [03:57:54] * micmania1 quit (Quit: micmania1)
130: [03:59:29] * hailwood quit (Remote host closed the connection)
131: [04:11:18] * DanaeNZ quit (Quit: TIME TO FEED)
132: [04:55:58] * sirjeff has joined #silverstripe
133: [05:00:16] * sirjeff quit (Ping timeout: 252 seconds)
134: [05:01:58] * BrewNaked has joined #silverstripe
135: [05:10:51] * cloph quit (Ping timeout: 250 seconds)
136: [05:15:08] * cloph_away has joined #silverstripe
137: [05:24:12] * Colin[pi] has joined #silverstripe
138: [05:41:54] * zlinux has joined #silverstripe
139: [05:54:42] * Colin[pi] has left #silverstripe
140: [05:59:48] * jack has joined #silverstripe
141: [06:00:12] * jack is now known as Guest59277
142: [06:08:14] <Guest59277> i have some issue on next and previous button on my site this is the link: http://www.sewastamb.org/ee/exper-engine/portfolio/show/10
143: [06:08:24] <Guest59277> code: http://www.sspaste.com/paste/show/56612d871df62
144: [06:08:34] <Guest59277> template: http://www.sspaste.com/paste/show/56612d94999ef
145: [06:12:45] * Colin[pi] has joined #silverstripe
146: [06:12:48] * BrewNaked quit (Remote host closed the connection)
147: [06:18:36] * Colin[pi] quit (Read error: Connection reset by peer)
148: [06:44:12] * wmk has joined #silverstripe
149: [06:46:43] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
150: [06:51:57] <Guest59277> help plz
151: [07:06:04] * Mike123 has joined #silverstripe
152: [07:07:04] <wmk> Guest59277, what kind of issue do you have?
153: [07:25:42] * spronk quit (Quit: I may need a longer sleep timer...)
154: [07:25:54] * MichaelHabib1 has joined #silverstripe
155: [07:26:38] * MichaelHabib quit (Ping timeout: 260 seconds)
156: [07:26:39] * MichaelHabib1 is now known as MichaelHabib
157: [07:30:44] * Eliseth has joined #silverstripe
158: [07:34:09] * MichaelHabib quit (Remote host closed the connection)
159: [07:38:16] * spronk has joined #silverstripe
160: [07:39:08] <Mike123> hello all
161: [07:39:48] <Mike123> maybe someone knows how to replace DataExtension on SS 2.4 ?
162: [07:41:26] <veb> nobody
163: [07:48:19] <Guest59277> how can i change a class after each multiple of 4 in template
164: [07:50:30] <Mike123> is there a sitemap module in SS 2.4 ??\
165: [07:50:40] <Mike123> i mean google sitemap
166: [07:53:29] * MichaelHabib has joined #silverstripe
167: [07:57:54] * r_hector has joined #silverstripe
168: [08:00:34] <wmk> Mike123, in 2.4 it was a DataObjectDecorator ?
169: [08:00:54] <wmk> and there should have been a 2.4 sitemap module, though it's hard to find nowadays
170: [08:02:43] <wmk> Guest59277, https://docs.silverstripe.org/en/3.2/developer_guides/templates/syntax/#modulus-and-multipleof
171: [08:04:03] * zippy has joined #silverstripe
172: [08:04:14] <zippy> Hello
173: [08:04:25] <wmk> !help zippy
174: [08:04:25] <zippy> Got a question....
175: [08:04:28] <zippy> mm
176: [08:04:41] <wmk> ss-helper got a disease?
177: [08:04:59] <zippy> must of, will give it a kickin a tick
178: [08:05:07] <zippy> ok, so lets say you have a head off and 3 local offices
179: [08:05:20] <zippy> local office gets someones credit card that head office has to process
180: [08:05:31] <zippy> how to get details from A to B, without using post..
181: [08:05:40] <wmk> welcome to #silverstripe, zippy. Feel free to ask your question but we might be busy. So don't expect us to do your homework *cough*
182: [08:05:43] <zippy> lol
183: [08:06:03] <zippy> and ofc has to be secure.
184: [08:06:18] <wmk> credit-card, i'm out.
185: [08:06:21] * ss-helper has joined #silverstripe
186: [08:06:30] <zippy> mm
187: [08:06:45] <wmk> do both share a database?
188: [08:06:48] <zippy> right now they are just emailing them scanned copies
189: [08:06:59] <zippy> wmk: but then it's storing it on the server, so have to get PCI compliant
190: [08:07:06] <wmk> so - it's no silverstripe specific question?
191: [08:07:14] <zippy> well, they share a SS website
192: [08:07:19] <zippy> it's a developer question...
193: [08:09:31] <zippy> mmm I guess the best that we can do, is encrypt the file, I would think that would be fine to be on the site then
194: [08:10:20] <wmk> hmm, copy over vpn on a shared folder to head office?
195: [08:10:46] <zippy> I still don't really like the idea of them sitting unprotected on a computer somewhere
196: [08:10:53] <zippy> I think that is a PCI think that needs to be checked too
197: [08:11:34] <wmk> of course ;)
198: [08:12:15] <zippy> yea I think the easyist way will be to use z-zip. Encrypt the file and send it over
199: [08:14:03] <zippy> https on the server. file is secured in storage by encryption..
200: [08:14:22] <zippy> beats a pdf in a plain txt email shurley
201: [08:18:01] * spronk quit (Max SendQ exceeded)
202: [08:18:48] * swaiba has joined #silverstripe
203: [08:20:46] * Guest59277 quit (Quit: Page closed)
204: [08:29:18] * sam__ has joined #silverstripe
205: [08:29:53] <sam__> hello, i running on live server when i send mail from contact page i didn't receive any message why
206: [08:30:05] <sam__> this is my code: http://www.sspaste.com/paste/show/56614eca03920
207: [08:30:52] <sam__> ok message is going to spam in my mail
208: [08:38:48] * arnhoe has joined #silverstripe
209: [08:42:33] <sam__> help plz
210: [08:47:02] <wmk> sam__, well, disable your spamfilter?
211: [08:49:34] * MarkGuinn has joined #silverstripe
212: [08:51:05] <sam__> and newsletter module is not working as expected showing errors: Fatal error: Call to a member function MailingLists() on a non-object
213: [08:52:35] * zlinux_ has joined #silverstripe
214: [08:53:26] * zlinux quit (Ping timeout: 260 seconds)
215: [09:00:12] <wmk> sam__, noticed this also with newsletter.
216: [09:00:23] <wmk> some issue...
217: [09:00:35] * GioVdK has joined #silverstripe
218: [09:00:58] <sam__> what kind of issue
219: [09:01:25] <wmk> hey, in phpstorm/idea you can ctrl-click on a variable in template and jump to the according method in php code. #howcoolisthat
220: [09:01:53] <wmk> sam__, well, it tries to get a list and doesn't check if list is emtpy or not.
221: [09:02:47] <wmk> you might add a new issue on github / newsletter module
222: [09:06:24] <sam__> ok, can i do this without newsletter module
223: [09:06:33] <wmk> what?
224: [09:09:32] <sam__> to make an interface in cms to send mails
225: [09:09:48] <wmk> frontend or backend?
226: [09:09:57] <wmk> or just like a "contact form" ?
227: [09:10:52] <sam__> backend
228: [09:13:32] * kinglozzer has joined #silverstripe
229: [09:17:25] <nontgor> how do I go about creating a SilverStripe that is a mirror of master branches - have to do it all manually or can use composer?
230: [09:17:41] * nontgor wishes to apply a fix against master branch
231: [09:20:13] <nontgor> ooh nvm, adding dev-master is looking a win'
232: [09:20:31] <nontgor> composer create-project --keep-vcs --dev silverstripe/installer www dev-master
233: [09:21:19] * zippy quit (Quit: Textual IRC Client: www.textualapp.com)
234: [09:23:24] * MarkGuinn quit (Remote host closed the connection)
235: [09:25:43] * zlinux has joined #silverstripe
236: [09:27:24] <nontgor> ... and master fails :(
237: [09:27:31] * zlinux_ quit (Ping timeout: 260 seconds)
238: [09:34:33] <nontgor> Removing the call to Filesystem.sync() in Install.php5 allows the install to succeed
239: [09:43:27] * zlinux_ has joined #silverstripe
240: [09:44:44] * zlinux quit (Ping timeout: 246 seconds)
241: [09:58:18] <nontgor> just playing around with 3.2 it does feel snappier speed wise
242: [09:58:21] <nontgor> editing that is
243: [10:02:33] <kinglozzer> nontgor: It's definitely faster, IIRC it was like a 30% - 40% improvement for one site I tested
244: [10:03:13] * Azure quit (Read error: Connection reset by peer)
245: [10:04:19] * Azure has joined #silverstripe
246: [10:07:08] * zlinux has joined #silverstripe
247: [10:08:30] * zlinux_ quit (Ping timeout: 245 seconds)
248: [10:08:54] <wmk> kinglozzer, nontgor but updating a huge site (with many modules) to 3.2 could be pretty straightforward... some stuff still doesn't work out of the box...
249: [10:09:03] <wmk> i mean, pretty risky
250: [10:09:15] <nontgor> yip I realise that
251: [10:12:27] * cupcake has joined #silverstripe
252: [10:12:30] <cupcake> ola 0/
253: [10:12:32] <cupcake> is there a way to remove any kind of sorting on the datalist??
254: [10:15:02] <swaiba> cupcake - set the sorting to random?
255: [10:15:20] <swaiba> a little sarcastic, but the data will always be sorted somehow, mainly by ID
256: [10:15:25] <swaiba> as that is when you've added it
257: [10:15:33] <swaiba> what is it you're trying to achieve?
258: [10:20:44] * cloph_away is now known as cloph
259: [10:21:26] <wmk> $list->rand() cupcake ?
260: [10:25:19] * MarkGuinn has joined #silverstripe
261: [10:30:04] <cupcake> swaiba wmk i have a dataobject::get() with a filter of three ids
262: [10:30:14] <cupcake> but i want them in the same order i specified the ids
263: [10:30:19] <swaiba> aha
264: [10:30:34] <cupcake> so if i have ids 15 3 1
265: [10:30:40] <cupcake> or 15 3 5
266: [10:30:48] <cupcake> i want them retrieved that way
267: [10:31:00] <swaiba> ORDER BY FIELD(`ID`, 15,3,5) ASC
268: [10:31:38] <cupcake> you mean ->sort( 'ID', array)
269: [10:31:38] <cupcake> ?
270: [10:31:42] <wmk> cool swaiba
271: [10:32:03] <wmk> cupcake, yup, for dataobjects and simple queries this should work
272: [10:32:15] <wmk> for pages ->sort('SiteTree.ID' ...)
273: [10:32:16] <cupcake> let me try then
274: [10:32:23] <wmk> cause ID might be ambiguous
275: [10:33:29] <cupcake> Warning] strtolower() expects parameter 1 to be string, array given
276: [10:34:45] <wmk> trace cupcake ?
277: [10:35:25] <cupcake> http://sspaste.com/paste/show/56616c5e74b77
278: [10:35:51] <wmk> well, ->sort('ID', implode(',', $array)) should make a string out of the array
279: [10:36:43] <cupcake> [User Notice] Second argument to sort must be either ASC or DESC
280: [10:36:49] <cupcake> doesnt work
281: [10:37:10] <wmk> ->sort('ID ' . implode(',', $array), 'ASC')
282: [10:37:24] <wmk> still not...
283: [10:37:50] <wmk> $field = 'Field(' . implode(',' , $array) . ')';
284: [10:37:59] <wmk> ->sort($field, 'ASC')
285: [10:39:23] <cupcake> still doesnt work
286: [10:39:24] <cupcake> :)
287: [10:40:37] <wmk> well, try the query manually and if it works what swaiba suggested you can try to build this using ORM
288: [10:40:43] * Mike123 quit (Ping timeout: 252 seconds)
289: [10:41:13] <wmk> $field = 'Field(`ID` ' . implode(',' , $array) . ')';
290: [10:41:19] <wmk> ..? cupcake
291: [10:41:26] <swaiba> yeah cupcake wmk is right please try it in plan sql
292: [10:41:49] <swaiba> you can still start with the ORM... just call $list->sql() to get the rest of the sql fromt eh safe processing
293: [10:42:35] <wmk> this is where a decent IDE helps a bit (if you know to use it properly)
294: [10:44:52] <cupcake> $field = 'Field(`ID` ,' . implode(',' , $articleIDs) . ')';
295: [10:44:57] <cupcake> missing the comma
296: [10:44:59] <cupcake> great :)
297: [10:45:07] <cupcake> thanks wmk swaiba
298: [10:45:33] <swaiba> cupcake de nada
299: [10:45:39] <wmk> cupcake, you're welcome
300: [11:19:27] <sam__> this is the demo code: http://www.sspaste.com/paste/show/566176a4362e2
301: [11:20:03] <sam__> i have nine records i want to use three rows for each 3 records how to do that
302: [11:20:19] <sam__> help plz
303: [11:21:47] <swaiba> sam__ --> https://docs.silverstripe.org/en/3.2/developer_guides/templates/syntax/
304: [11:22:14] <swaiba> look for "Modulus and MultipleOf"
305: [11:24:02] * knsqnt has joined #silverstripe
306: [11:24:11] <wmk> hey knsqnt
307: [11:24:16] <knsqnt> Hej.
308: [11:24:27] <wmk> long time not seen, how's things going?
309: [11:24:57] <knsqnt> I try to extend SiteConfig with an image. Everything works fine, except the image is not linked to the upload field.
310: [11:25:09] <knsqnt> It vanishes when I save the site config.
311: [11:25:19] <wmk> weird...
312: [11:25:41] <swaiba> you are doing the ImageID (as in adding the ID) knsqnt ?
313: [11:25:48] <swaiba> basic I know... but worth asking
314: [11:27:44] <knsqnt> I'm trying to stick to the documentation and it sould be super simple, but I dosn't work :-(
315: [11:27:45] <knsqnt> http://pastie.org/10606205
316: [11:27:53] <knsqnt> That's the whole code.
317: [11:28:35] <knsqnt> Except the config of course: http://pastie.org/10606207
318: [11:31:27] <knsqnt> swaiba, ImageID should not be necessary, should it?
319: [11:31:39] <knsqnt> --help
320: [11:31:40] <knsqnt> :-)
321: [11:33:28] <swaiba> try UploadField::create('LogoID', 'Logo') knsqnt
322: [11:36:14] <knsqnt> Nope, no changes.
323: [11:42:58] <knsqnt> The database does not create the column for the image. But why?
324: [11:43:59] <kinglozzer> swaiba: Don't need the 'ID' for an UploadField
325: [11:44:06] <kinglozzer> The exception to the rule... because consistency :D
326: [11:44:39] <kinglozzer> knsqnt: You're applying the extension to DataObject instead of SiteConfig
327: [11:44:55] <kinglozzer> Needs to be SiteConfig: extensions: - MySiteConfigExtension
328: [11:45:20] <swaiba> kinglozzer okey dokey
329: [11:48:11] <knsqnt> True.
330: [11:48:17] <knsqnt> I changed my config this way: http://pastie.org/10606256
331: [11:48:41] <sam__> swaiba i couldn't make three rows with loop
332: [11:49:34] <knsqnt> Now I do not have the col in the database AND I don't see any field in the backend. What did I do wrong now?
333: [12:08:31] <wmk> well, $__fields looks strange... why not $fields ?
334: [12:17:31] * cupcake quit (Ping timeout: 252 seconds)
335: [12:18:11] * NewGuy has joined #silverstripe
336: [12:25:42] <kinglozzer> knsqnt: Did you flush?
337: [12:27:25] * NewGuy quit (Ping timeout: 252 seconds)
338: [12:28:09] * wmk quit (Quit: nice to meet you ;))
339: [12:33:26] <Sphere> Hello world
340: [12:52:43] * cupcake has joined #silverstripe
341: [12:53:09] <cupcake> any idea how i can handle the event on images in htmleditorfield?
342: [12:53:47] * MichaelHabib quit (Read error: Connection reset by peer)
343: [12:55:07] <swaiba> cupcake either relax the htmleditor config to allow script (bad)
344: [12:55:26] <swaiba> or add a class to it and then add some unubtrusive JS to the page that links to that class
345: [12:56:21] <cupcake> the issue is
346: [12:56:29] <cupcake> that i updated the html being inserted with the image
347: [12:56:33] <cupcake> and when i select the image
348: [12:56:40] <cupcake> its not picking up all the html block
349: [12:56:43] <cupcake> but just the image tag
350: [12:56:48] <cupcake> i guess i need to fix js?
351: [13:11:31] * zlinux quit (Ping timeout: 260 seconds)
352: [13:21:25] <swaiba> well I'm suggesting unobtrusive js yes
353: [13:21:39] <knsqnt> @kinglozzer: Yes.
354: [13:28:17] * UndefinedOffset has joined #silverstripe
355: [13:55:25] * sam__ quit (Ping timeout: 252 seconds)
356: [14:21:12] * oetiker has joined #silverstripe
357: [14:22:28] <oetiker> heya ... I am trying to add a second set of include templates (like $Layout) into my silverstripe system ... any idea on how to go about this?
358: [14:31:25] * Liquide has joined #silverstripe
359: [15:29:49] * arnhoe quit ()
360: [15:31:16] * oetiker has left #silverstripe
361: [15:44:37] * swaiba quit (Remote host closed the connection)
362: [16:11:15] * Eliseth quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
363: [16:20:03] * BrewNaked has joined #silverstripe
364: [16:31:16] * muskie9 has joined #silverstripe
365: [17:00:55] <DimiStripe> Hey guys, is there any module to work smth like http://adaptive-images.com/ ? (I found an old forum with 4 years old module http://www.silverstripe.org/community/forums/general-questions/show/19656?start=8 , but maybe theres now another approach, which could serve different images for different devices ?)
366: [17:03:19] <kinglozzer> DimiStripe: https://github.com/heyday/silverstripe-responsive-images ?
367: [17:03:42] <kinglozzer> We use that for serving different images for different viewport widths/pixel ratios
368: [17:03:50] <kinglozzer> Uses picturefill.js under the hood
369: [17:04:37] * kinglozzer weekend!
370: [17:04:40] <kinglozzer> ciao all
371: [17:04:40] * kinglozzer quit ()
372: [17:05:36] <DimiStripe> quited too fast to say Thanks ! :D
373: [17:05:59] * MarkGuinn quit (Remote host closed the connection)
374: [17:11:48] * joelpittet has joined #silverstripe
375: [17:17:53] * knsqnt quit (Remote host closed the connection)
376: [18:01:24] * toddv has joined #silverstripe
377: [18:02:43] <toddv> I am trying to run the MigrateBlogTask to move to v2.3. I am hitting the following error: [User Error] Uncaught Exception: Object->__call(): the method 'publish' does not exist on 'BlogHolder' GET /dev/tasks/BlogMigrationTask Line 739 in /var/www/html/thirdmanrecords/framework/core/Object.php
378: [18:02:56] <toddv> Anyone know what might be triggering this?
379: [18:03:31] <toddv> Anyone been successfully able to upgrade from 1.0 to 2.*?
380: [18:18:40] <DimiStripe> ==
381: [18:18:40] <DimiStripe> Hey guys, on a PageSpeed test from Google , I'm getting Remove render-blocking JavaScript: ..._combinedfiles/alljs.js?m=1449252635 . Can i somehow spceify to load it asynchronyously ? Or how to avoid this . The JS is combined in Page.php in init()
382: [18:36:44] * GioVdK quit (Read error: Connection reset by peer)
383: [18:59:20] * BrewNaked quit (Remote host closed the connection)
384: [18:59:43] * muskie9 quit (Read error: Connection reset by peer)
385: [19:00:10] * UncleCheese has joined #silverstripe
386: [19:00:15] * muskie9 has joined #silverstripe
387: [19:01:27] * BrewNaked has joined #silverstripe
388: [19:11:35] <Sphere> DimiStripe: Set the forcje_js_to_bottom flag in your init.
389: [19:15:17] * gelignite has joined #silverstripe
390: [19:18:16] * toddv quit (Ping timeout: 252 seconds)
391: [19:44:01] * saysora has joined #silverstripe
392: [19:51:21] <ss-helper> Automate HTML form submission and save response page - http://stackoverflow.com/questions/34096166/automate-html-form-submission-and-save-response-page
393: [20:07:42] * Copperis has joined #silverstripe
394: [20:10:28] * knsqnt has joined #silverstripe
395: [20:42:17] * saysora quit (Quit: My Mac has gone to sleep. ZZZzzz…)
396: [20:43:25] * knsqnt quit ()
397: [21:00:10] * cloph is now known as cloph_away
398: [21:03:53] * UndefinedOffset quit (Quit: Leaving.)
399: [21:30:36] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
400: [21:39:15] * Liquide quit (Ping timeout: 260 seconds)
401: [21:44:12] * Liquide has joined #silverstripe
402: [22:20:12] * MarkGuinn has joined #silverstripe
403: [22:34:37] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
404: [23:19:11] * MarkGuinn quit (Remote host closed the connection)
405: [23:23:13] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
406: [23:43:22] * MichaelHabib has joined #silverstripe
407: [23:49:01] * joelpittet quit (Remote host closed the connection)

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