#silverstripe IRC Log

IRC log for 16 September 2015

All timestamps are in UTC.

1: [00:07:58] <antmas> which video?
2: [00:10:15] <spronk> one moment caller
3: [00:10:30] <spronk> https://www.youtube.com/watch?v=wyx6JDQCslE
4: [00:11:36] <antmas> oh
5: [00:11:38] <antmas> OH
6: [00:11:45] <spronk> :D
7: [00:13:36] <antmas> oh that would suck
8: [00:13:48] <spronk> ?
9: [00:13:48] <antmas> that dude that one 8million was given the ticket for his bday
10: [00:13:57] <antmas> would HATE to be the person who gave it to him lol
11: [00:13:58] <spronk> ohhh
12: [00:17:44] * MichalKl_ has joined #silverstripe
13: [00:17:47] * DanaeNZ_ has joined #silverstripe
14: [00:20:53] * Blacklite_ has joined #silverstripe
15: [00:21:37] * MichalKleiner quit (Read error: Connection reset by peer)
16: [00:21:38] * DanaeNZ quit (Read error: Connection reset by peer)
17: [00:21:41] * Blacklite quit (Ping timeout: 264 seconds)
18: [00:21:41] * FrozenFire quit (Ping timeout: 264 seconds)
19: [00:21:45] * FrozenFire[alt] has joined #silverstripe
20: [00:24:49] <antmas> I have a dataextension that I'm enabling via siteconfig
21: [00:24:54] <antmas> how to set it to render with a custom template?
22: [00:26:00] <antmas> at the moment I'm simply adding <% with $SiteConfig %> etc, but I want to move that to an includ
23: [00:26:02] <antmas> ...
24: [00:26:03] <antmas> nevermind
25: [00:26:06] <antmas> answered it myself :P
26: [00:27:37] * FrozenFire[alt] is now known as FrozenFire
27: [00:31:12] * Stomach_ has joined #silverstripe
28: [00:35:58] * Stomach quit (*.net *.split)
29: [00:35:58] * irogue quit (*.net *.split)
30: [00:35:58] * Embraden quit (*.net *.split)
31: [00:37:33] <antmas> how do I check for checkboxfield is ticked in a template?
32: [00:37:41] <antmas> whether a*
33: [00:42:37] * irogue has joined #silverstripe
34: [00:42:38] * Embraden has joined #silverstripe
35: [00:43:30] * jonners99 has joined #silverstripe
36: [00:47:47] <antmas> also nevermind
37: [00:47:48] <antmas> :|
38: [00:48:32] * jonners99 quit (Ping timeout: 272 seconds)
39: [00:52:52] <DanaeNZ_> mmm subway
40: [01:07:41] <Stomach_> IsChecked
41: [01:07:52] * Stomach_ is now known as Stomach
42: [01:10:49] <DanaeNZ_> IcCheckedYoSelfBeforeYouWreckYoSelf
43: [01:13:57] * Hailwood quit (Remote host closed the connection)
44: [01:45:18] * Tanger has joined #silverstripe
45: [01:51:21] * novaweb has joined #silverstripe
46: [01:52:52] <novaweb> o/
47: [01:54:09] <DanaeNZ_> novaweb: \o
48: [01:56:46] <antmas> novaweb: o/
49: [01:58:29] <irogue> \o
50: [01:59:23] * camfindlay has joined #silverstripe
51: [01:59:46] <antmas> irogue: o/
52: [01:59:48] <antmas> camfindlay: \o
53: [01:59:54] <camfindlay> hey
54: [01:59:57] <Colin[pi]> o/
55: [02:00:01] <Colin[pi]> ARMS ERRYWHAR
56: [02:00:02] <antmas> Colin[pi]: o/
57: [02:00:04] <Colin[pi]> \o
58: [02:00:05] <Colin[pi]> o/
59: [02:00:07] <Colin[pi]> \o
60: [02:00:09] <Colin[pi]> \o/
61: [02:00:11] <antmas> \o/
62: [02:00:43] <camfindlay> ¯\_(ツ)_/¯
63: [02:01:07] <antmas> http://forgifs.com/gallery/d/199860-1/Animals-waving.gif
64: [02:02:47] <Colin[pi]> http://i.imgur.com/1vj1DPV.gif
65: [02:03:25] <antmas> ROFL
66: [02:03:30] <antmas> I just spat my coffee
67: [02:03:33] <antmas> hahahahhahhaha
68: [02:03:33] <Colin[pi]> dem jaz hands
69: [02:03:36] <Colin[pi]> *jazz
70: [02:04:18] <antmas> it's the little point he does that gets me
71: [02:04:41] <antmas> oh
72: [02:04:57] <antmas> now I'm depressed cos I didn't see it actually had no arms :|
73: [02:05:51] <Colin[pi]> yeah :\
74: [02:08:23] <antmas> http://i.imgur.com/RyVbw4c.gif
75: [02:17:14] <DanaeNZ_> omg stahp XD
76: [02:25:02] * Tanger_ has joined #silverstripe
77: [02:25:22] <MichalKl_> o m g
78: [02:25:27] <MichalKl_> those waving animals again :-D
79: [02:25:30] * MichalKl_ is now known as MichalKleiner
80: [02:27:24] <antmas> MichalKleiner: lol yeah I had to stop looking due to embarrassing giggles
81: [02:28:05] * Tanger quit (*.net *.split)
82: [02:28:05] * irogue quit (*.net *.split)
83: [02:28:05] * Embraden quit (*.net *.split)
84: [02:28:06] * Tanger_ is now known as Tanger
85: [02:28:52] <MichalKleiner> some Solr/search experts here?
86: [02:29:36] <antmas> a Solr expert is pretty much a unicorn
87: [02:29:50] <MichalKleiner> haha
88: [02:30:01] <MichalKleiner> true
89: [02:30:14] <MichalKleiner> I just can't decide which way to go with indexing my data
90: [02:31:27] <antmas> the only solr stuff I know is how to restart the service lol
91: [02:33:58] * Embraden has joined #silverstripe
92: [02:34:09] <jules0x> I've done a bunch. It's a pandoras box
93: [02:34:27] <jules0x> may/maynot be able to answer any questions :B
94: [02:44:15] * jonners99 has joined #silverstripe
95: [02:46:23] * jules0x quit (Quit: Leaving)
96: [02:49:30] * jonners99 quit (Ping timeout: 272 seconds)
97: [02:59:21] * vanny quit (Ping timeout: 246 seconds)
98: [03:02:50] * novaweb quit (Remote host closed the connection)
99: [03:08:17] * krofek has joined #silverstripe
100: [03:10:11] * krofek_ quit (Ping timeout: 260 seconds)
101: [03:16:37] <MichalKleiner> basically my dilemma now is whether it's better to use a separate field for every let's say term tag or it can all go into one multivalued field and fq on that
102: [03:16:49] <MichalKleiner> from the query perspective it doesn't really matter..
103: [03:25:24] * camfindlay quit (Ping timeout: 244 seconds)
104: [03:25:25] * camfindlay_ has joined #silverstripe
105: [03:25:37] * camfindlay_ quit (Client Quit)
106: [03:43:06] * MichaelHabib has joined #silverstripe
107: [03:58:38] * novaweb has joined #silverstripe
108: [04:15:56] * zippy has joined #silverstripe
109: [04:37:36] * Hailwood has joined #silverstripe
110: [04:39:48] * mahfuz quit (Ping timeout: 246 seconds)
111: [04:40:27] * novaweb quit ()
112: [04:42:23] <Hailwood> Hey Folks, I'm curious as to how you're all dealing with embedding google maps - do you disable them from being draggable and mousewheel zoom?
113: [04:45:00] * jonners99 has joined #silverstripe
114: [04:48:56] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
115: [04:49:59] * jonners99 quit (Ping timeout: 264 seconds)
116: [04:51:33] <DanaeNZ_> Hailwood: I disable scroll but make sure there is at least mini zoom in and out
117: [04:51:41] <DanaeNZ_> course depends what you're after
118: [04:53:24] <Hailwood> DanaeNZ_, I'm quite tempted by the idea of having all interaction enabled, but overlaying the map with a transparent overlay that gets removed when clicked or double tapped. That way the user has to basically say "enable interaction" before the map responds to anything
119: [04:53:26] <Hailwood> Thoughts?
120: [04:54:20] <DanaeNZ_> Hailwood: just keep in mind mobile - often a map will take up the whole mobile screen. You don't want the situation where a user is trapped from scrolling up/down
121: [04:57:30] <Hailwood> DanaeNZ_, That's why I say double tap, the other one I've been thinking is adding a "full screen" ui toggle to the map which when clicked as well as making the map go full screen (and switching to a collapse button) enables the other interactions
122: [04:58:12] <DanaeNZ_> Hailwood: Ah yeah I've seen that done before - it works well as long as the expand button is fairly obvious
123: [04:59:01] <Hailwood> DanaeNZ_, Darn! I thought I was the first ;) (we're never really the first are we?) ha. Well sounds like a proven concept then. Anyway, done for the day. Catch ya tomorrow!
124: [04:59:05] * Hailwood quit (Remote host closed the connection)
125: [04:59:26] * Stomach quit (Ping timeout: 244 seconds)
126: [05:01:35] * helenclarko quit (Read error: Connection reset by peer)
127: [05:08:15] * MichaelHabib1 has joined #silverstripe
128: [05:09:44] * MichaelHabib quit (Ping timeout: 246 seconds)
129: [05:20:20] * DanaeNZ_ quit (Remote host closed the connection)
130: [05:22:44] <ss-helper> SilverStripe Image DataObject not available after creation - http://stackoverflow.com/questions/32600302/silverstripe-image-dataobject-not-available-after-creation
131: [05:24:34] * Stomach has joined #silverstripe
132: [05:27:24] * Stomach quit (Client Quit)
133: [05:33:15] * Stomach has joined #silverstripe
134: [05:42:27] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
135: [05:43:13] * wmk has joined #silverstripe
136: [05:47:59] <wmk> loool. on stackoverflow: "Can Anyone Convert The PHP Decryption Scheme to C Sharp?" - I can do it in Bb (b-flat)
137: [05:48:02] <wmk> (not my answer)
138: [06:26:11] * MichaelHabib1 quit (Remote host closed the connection)
139: [06:26:27] * MichaelHabib has joined #silverstripe
140: [06:44:34] * darjus01 has joined #silverstripe
141: [06:45:45] * jonners99 has joined #silverstripe
142: [06:47:42] * Stomach quit (Quit: zzz)
143: [06:50:21] * jonners99 quit (Ping timeout: 246 seconds)
144: [06:55:41] * Stomach has joined #silverstripe
145: [07:08:57] * DanaeNZ has joined #silverstripe
146: [07:10:30] * Stomach quit (Quit: zzz)
147: [07:13:17] * DanaeNZ quit (Ping timeout: 246 seconds)
148: [07:15:30] * spronk quit (Quit: I may need a longer sleep timer...)
149: [07:19:03] * Embraden quit (*.net *.split)
150: [07:24:56] * Embraden has joined #silverstripe
151: [07:28:38] * spronk has joined #silverstripe
152: [07:37:03] * Stomach has joined #silverstripe
153: [07:46:29] * jonners99 has joined #silverstripe
154: [07:51:10] * jonners99 quit (Ping timeout: 240 seconds)
155: [07:52:45] <ss-helper> Silverstripe JS Error Argument 1 of Node.appendChild does not implement interface Node - http://stackoverflow.com/questions/32602549/silverstripe-js-error-argument-1-of-node-appendchild-does-not-implement-interfac
156: [07:57:13] * kinglozzer has joined #silverstripe
157: [08:01:52] * GioVdK has joined #silverstripe
158: [08:03:20] <kinglozzer> Another day, another Java update
159: [08:03:35] * jonners99 has joined #silverstripe
160: [08:03:47] <kinglozzer> http://i.imgur.com/VtLhw.jpg
161: [08:07:46] <ss-helper> How to Enable Filter functionality in Security area Silverstripe Admin? - http://stackoverflow.com/questions/32602738/how-to-enable-filter-functionality-in-security-area-silverstripe-admin
162: [08:08:03] <Tanger> Hey guys, what would cause PJAX responses from the CMS to not load onto the screen, even if they were received?
163: [08:12:39] <MichalKleiner> JS error?
164: [08:15:08] * g4b0_ has joined #silverstripe
165: [08:15:51] * spronka has joined #silverstripe
166: [08:23:16] <wmk> Tanger, php error in the response, causing an js error?
167: [08:23:38] <wmk> Tanger, in firebug's network tab you can take a look at the response
168: [08:25:36] * g4b0_ quit (Ping timeout: 264 seconds)
169: [08:25:52] <Tanger> wmk: The actual html response is fine, firebug lets me preview it in the net panel and the HTML is also fine. No error message
170: [08:26:14] <wmk> no idea...
171: [08:26:23] * MichaelHabib1 has joined #silverstripe
172: [08:26:36] <Tanger> Thanks anyway :D
173: [08:26:42] <wmk> anything displayed in console? does it load after page reload?
174: [08:27:06] * MichaelHabib quit (Ping timeout: 240 seconds)
175: [08:28:13] * spronk quit (Quit: I may need a longer sleep timer...)
176: [08:30:50] * r_hector has joined #silverstripe
177: [08:34:58] * g4b0_ has joined #silverstripe
178: [08:37:36] <wmk> hey g4b0_
179: [08:38:54] * slievr has joined #silverstripe
180: [08:39:06] <g4b0_> hey!
181: [08:39:59] * zippy has joined #silverstripe
182: [08:44:06] * elgabbu quit (Ping timeout: 246 seconds)
183: [08:50:54] <Tanger> wmk: It does load after a page reload, status code is 200 on the GET and the POST
184: [08:51:36] <wmk> so maybe something else on the first page caused a js error?
185: [08:52:03] <wmk> have a look at the network tab.. maybe some ajax call is failing and then js crashes
186: [08:52:11] <wmk> and it works fine after reload
187: [09:09:18] <nontgor> Is there a way to detect when a /dev/build happens - I wish to clear caches out in that particular scenario, but only once
188: [09:10:07] <nontgor> Extension hooks in DevBuildController would have been handy...
189: [09:11:25] <kinglozzer> nontgor: You can do it for flush, not sure about build thought
190: [09:11:27] <kinglozzer> though*
191: [09:12:03] <nontgor> kinglozzer: Yip, you've told me about Flushable interface before :) Need this at build time though.... #ThinkingCapOn
192: [09:12:14] <wmk> dev build calls augmentDatabase
193: [09:12:33] <wmk> g4b0_, any tipps on dev/build ?
194: [09:12:35] <kinglozzer> nontgor: You could apply an extension to DatabaseAdmin, use the onAfterInit controller hook
195: [09:12:58] <wmk> kinglozzer, also good idea...
196: [09:13:30] <nontgor> kinglozzer: Thanks, hadn't though of looking in Controller for extension points. Think that will resolve my issue
197: [09:13:35] * basco has joined #silverstripe
198: [09:13:35] <ss-helper> basco: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
199: [09:14:24] <nontgor> kinglozzer: Probably more sense to add it to DevBuildController - will try that
200: [09:17:26] * Stomach quit (Quit: zzz)
201: [09:17:42] * basco quit (Ping timeout: 246 seconds)
202: [09:24:54] <nontgor> kinglozzer: Adding the extension to DevBuildController works, thanks for your suggestion :)
203: [09:29:04] <wmk> nontgor, the onAfterInit hook?
204: [09:29:18] <nontgor> wmk: Yes, I applied it to DevBuildController
205: [09:29:37] <nontgor> handy trick to know
206: [09:29:45] <wmk> cool. g4b0_ and me were talking about a similar problem yesterday. this solution sounds good...
207: [09:30:35] <g4b0_> wmk: nope
208: [09:30:47] <g4b0_> ah
209: [09:30:49] <g4b0_> yes
210: [09:31:07] <g4b0_> adding extension should work
211: [09:31:15] <g4b0_> extending it not
212: [09:31:33] <g4b0_> the problem is that it works only since 3.1.13
213: [09:31:53] <g4b0_> in older SS installation will not work
214: [09:40:35] * the_sandman has joined #silverstripe
215: [09:42:11] * Tanger quit (Quit: sleep())
216: [09:43:37] * Tanger has joined #silverstripe
217: [09:48:29] <wmk> g4b0_, not?
218: [09:48:38] <wmk> you hook in controller's onAfterInit
219: [09:48:55] <wmk> was DatabaseAdmin added in 3.1.13?
220: [09:50:20] <g4b0_> nope, I was speaking about DevBuildController
221: [09:50:27] <g4b0_> nontgor solved with it
222: [09:51:21] * g4b0_ is confused
223: [09:51:29] * g4b0_ need coffe
224: [09:52:57] <nontgor> will post sample code in a sec g4b0_
225: [09:53:27] <g4b0_> tanks :)
226: [09:53:49] <g4b0_> thanks
227: [09:56:54] <nontgor> gb40_: It's as simple as this https://gist.github.com/gordonbanderson/b64f26b80648f41036f9
228: [09:57:44] <g4b0_> now it's clear
229: [09:58:28] <g4b0_> the same extension should be applied to DatabaseAdmin, that's used during de/build
230: [09:58:34] <g4b0_> as wmk suggested
231: [09:58:56] <g4b0_> because DevBuildController is a new Controller added in SS 3.1.13
232: [09:59:28] <g4b0_> and if I update a module that's installed in previous versions
233: [09:59:39] <g4b0_> some older site will break
234: [10:04:31] <nontgor> ah, didn't realise the oontroller was new. But hey shouldn't folks be using the later 3.1 version for security purposes anyhow?
235: [10:05:56] * Pyabalk has joined #silverstripe
236: [10:05:57] <ss-helper> Pyabalk: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
237: [10:10:42] <g4b0_> they should do it
238: [10:11:06] <g4b0_> but I've seen 3.1.6 online right now :)
239: [10:11:59] <kinglozzer> g4b0_: Huh? DevBuildController isn't new
240: [10:12:29] <kinglozzer> Oh
241: [10:12:31] <kinglozzer> 3.1.6
242: [10:12:36] <kinglozzer> Yeah sorry, didn't see your last message :P
243: [10:14:48] * Azure quit (Ping timeout: 255 seconds)
244: [10:23:45] <g4b0_> :)
245: [10:28:34] * swaiba has joined #silverstripe
246: [10:32:10] * GioVdK quit (Ping timeout: 252 seconds)
247: [10:36:52] * GioVdK has joined #silverstripe
248: [10:41:12] * g4b0_ quit (Ping timeout: 264 seconds)
249: [10:56:42] * R\w\C has joined #silverstripe
250: [11:07:36] * nontgor quit (Ping timeout: 264 seconds)
251: [11:07:47] <ss-helper> JS Error Argument 1 of Node.appendChild does not implement interface Node - http://stackoverflow.com/questions/32602549/js-error-argument-1-of-node-appendchild-does-not-implement-interface-node
252: [11:19:28] * nontgor has joined #silverstripe
253: [11:23:59] * nontgor quit (Ping timeout: 240 seconds)
254: [11:29:20] * zippy quit (Quit: Textual IRC Client: www.textualapp.com)
255: [11:43:55] * kerozene quit (Max SendQ exceeded)
256: [11:46:02] * kerozene has joined #silverstripe
257: [11:56:35] * gordon has joined #silverstripe
258: [11:56:58] * gordon is now known as Guest50675
259: [11:57:53] * kerozene quit (Max SendQ exceeded)
260: [11:59:54] * kerozene has joined #silverstripe
261: [12:09:47] * kerozene quit (Max SendQ exceeded)
262: [12:11:47] * kerozene has joined #silverstripe
263: [12:23:58] <swaiba> Open question - all the silverstripe "exists" methods count all the values in order to return true / false
264: [12:24:11] <swaiba> (I might note in a different way, but beside the point)
265: [12:24:35] <swaiba> any reason they wouldn't essentially use ->first() for this? surely the performace would be much better...
266: [12:24:50] <wmk> which exists() ?
267: [12:24:59] <wmk> DataList->exists() ?
268: [12:25:17] <swaiba> Array List and Data List
269: [12:25:40] <wmk> DataList does a count
270: [12:25:54] <wmk> so it should be a simple query
271: [12:26:02] <swaiba> probably elsewhere too, and throughout the code count($array) is used instead of !empty($array)
272: [12:26:32] <swaiba> it's simple, but a count will always be slower than getting first record... don't you agree?
273: [12:26:52] <wmk> for db i guess it's pretty much the same
274: [12:27:02] <wmk> first record = ordering, grouping...
275: [12:27:05] <wmk> count: just filter
276: [12:27:49] * jonners99 quit (Remote host closed the connection)
277: [12:28:13] <wmk> jup. sqlquery->count() sets limit, orderby and groupby to null, as it's unimportant for counting
278: [12:29:09] * Pyabalk quit (Ping timeout: 246 seconds)
279: [12:29:15] <swaiba> wmk I don't agree that isn't pretty much the same
280: [12:29:34] <swaiba> I've just done a couple of tests with a fairly big table, count is 10x slower
281: [12:30:15] <wmk> ok
282: [12:30:31] <wmk> i have not tested, it also depends on your database cache...
283: [12:30:48] <wmk> if you already have the result queried, taking the first is faster.
284: [12:30:53] <swaiba> well I just tested running direct on the command line, rerunning the same two simple commands
285: [12:31:00] <wmk> if you didn't query, count may be faster
286: [12:31:06] * GioVdK quit (Ping timeout: 250 seconds)
287: [12:31:25] <wmk> swaiba, you'd have to delete the database cache for getting compareable results
288: [12:31:50] <swaiba> well it's the same end action in both cases
289: [12:33:52] * GioVdK has joined #silverstripe
290: [12:34:19] * jonners99 has joined #silverstripe
291: [12:38:48] * Guest50675 quit (Ping timeout: 255 seconds)
292: [12:43:24] * Tanger quit (Quit: sleep())
293: [12:44:46] * Pyabalk has joined #silverstripe
294: [12:46:32] * EasyCo quit (Read error: Connection reset by peer)
295: [12:47:11] * EasyCo has joined #silverstripe
296: [12:51:19] * Guest50675 has joined #silverstripe
297: [12:55:50] * darjus01 quit (Ping timeout: 265 seconds)
298: [13:00:01] * jonners99 quit (Remote host closed the connection)
299: [13:00:55] * r_hector quit (Remote host closed the connection)
300: [13:01:56] * Guest50675 is now known as nontgor
301: [13:03:41] * jonners99 has joined #silverstripe
302: [13:03:48] * sis_ has joined #silverstripe
303: [13:03:49] <ss-helper> sis_: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
304: [13:05:01] * Colin[pi] quit (Ping timeout: 265 seconds)
305: [13:16:10] * nontgor quit (Ping timeout: 240 seconds)
306: [13:26:33] * sis_ quit (Ping timeout: 246 seconds)
307: [13:28:40] * nontgor has joined #silverstripe
308: [13:36:06] * MichaelHabib1 quit (Ping timeout: 244 seconds)
309: [13:37:54] * jonners99 quit (Remote host closed the connection)
310: [13:38:25] * jonners99 has joined #silverstripe
311: [13:38:44] * jonners99 quit (Remote host closed the connection)
312: [13:39:11] * jonners99 has joined #silverstripe
313: [13:39:14] * g4b0_ has joined #silverstripe
314: [13:51:20] * EasyCo quit (Quit: Connection closed for inactivity)
315: [13:59:48] * Pyabalk quit (Ping timeout: 246 seconds)
316: [14:08:53] * joelpittet has joined #silverstripe
317: [14:19:08] * darjus01 has joined #silverstripe
318: [14:20:57] <darjus01> Hi, all I have Ajax contact form is there any tutorial how I can connect that form to mailchimp, I was looking in google but it suggest using contact fomr modules, but its will take additional time to implement that module to style of website. Is any simple way to do it?
319: [14:24:47] * DanaeNZ has joined #silverstripe
320: [14:25:45] <swaiba> darjus01 - I don't know, something like one of these - http://addons.silverstripe.org/add-ons?search=mailchimp
321: [14:29:03] * DanaeNZ quit (Ping timeout: 255 seconds)
322: [14:29:15] * R\w\C is now known as buZzz
323: [14:29:41] * buZzz is now known as R\w\C
324: [14:30:52] * terryapodaca quit (Quit: Leaving.)
325: [14:41:52] <nontgor> darjus01: I've played with MailChimp in the past, but eventually the client gave up on it as it was not possible to render the design she wanted due to HTML in email limitations
326: [14:51:49] <swaiba> nontgor darjus01 in terms of balance many clients we deal with use mailchimp (including ourselves) and are very happy with it
327: [14:52:03] <swaiba> but it's also good to know that advance HTML can be a problem, thanks nontgor
328: [14:52:10] <nontgor> swaiba: Mine was picky about design :)
329: [14:55:56] <nontgor> swaiba: I can't remember the technical details, just the frustration. Client wanted everything to look like her Photoshop mockups, and with the limitations set by MailChimp (limitations quite rightly set due to email client rendering issues) her design was not remotely possible
330: [14:56:36] <swaiba> nontgor we all love our clients and their requests for exact pixel matching :)
331: [14:57:06] <nontgor> in IE6 :-P
332: [14:57:20] <swaiba> we moved all theme design to a third party long ago after too many arguments over shades of green / pixel pushing
333: [14:58:29] <darjus01> I think I will take PHP Api and make module myself so I could add it to basic SS forms not depend on some form modules
334: [15:05:11] <wmk> darjus01, there is already a mailchimp module, did you see it?
335: [15:07:12] <darjus01> which one?
336: [15:18:50] * darjus01 quit (Quit: Leaving)
337: [15:25:37] * spronka quit (Quit: My Mac has gone to sleep. ZZZzzz…)
338: [15:31:00] <g4b0_> darjus02: http://addons.silverstripe.org/add-ons/zirak/silverstripe-mailchimp
339: [15:31:54] <swaiba> g4b0_ he quit, but I'd alredy sent http://addons.silverstripe.org/add-ons?search=mailchimp
340: [15:32:07] <g4b0_> it's quite basic, but in my todo list there's an upgrade
341: [15:32:21] <g4b0_> swaiba: ok
342: [15:52:13] * koentjuh has joined #silverstripe
343: [15:52:30] <koentjuh> hi is there a simple spam protection for silverstripe user defined form?
344: [15:56:03] <swaiba> koentjuh - yes - it will be in this list - http://addons.silverstripe.org/add-ons?search=spam
345: [15:56:38] <swaiba> I've used https://github.com/silverstripe/silverstripe-mathspamprotection many times
346: [15:59:26] <koentjuh> thanks :)
347: [16:00:47] <g4b0_> I do prefer honeypot, but I don't kno
348: [16:01:01] <g4b0_> know if there's already a module out there..
349: [16:01:10] * g4b0_ quit (Quit: Sto andando via)
350: [16:03:05] * the_sandman quit (Quit: My Mac has gone to sleep. ZZZzzz…)
351: [16:05:15] * Eliseth has joined #silverstripe
352: [16:10:00] * Eliseth quit (Ping timeout: 264 seconds)
353: [16:13:18] <wmk> there is a honeypotfield
354: [16:14:21] <koentjuh> it worked thank you !!
355: [16:17:49] * wmk quit (Ping timeout: 244 seconds)
356: [16:22:46] * DimiStripe quit (Quit: DimiStripe)
357: [16:27:30] * antmas quit (Ping timeout: 246 seconds)
358: [16:28:35] * swaiba killing some spam and then going home
359: [16:30:55] * swaiba quit (Remote host closed the connection)
360: [16:31:20] * kinglozzer quit ()
361: [16:33:45] <koentjuh> how can i combine the css files to 1 file>
362: [16:33:47] <koentjuh> :
363: [16:33:52] <koentjuh> ?*
364: [16:34:20] <koentjuh> i have tried this:
365: [16:34:21] <koentjuh> $printStylesheets = array( 'themes/simple/css/bootstrap.min.css', 'themes/simple/css/font-awesome.min.css', 'themes/simple/css/owl.carousel.css', 'themes/simple/css/custom.css', ); Requirements::combine_files('print.css', $printStylesheets, 'print');
366: [16:35:32] * jonners99 quit (Remote host closed the connection)
367: [16:37:17] * jonners99 has joined #silverstripe
368: [16:41:19] * jonners99 quit (Ping timeout: 240 seconds)
369: [16:44:50] * R\w\C quit (Quit: My Mac has gone to sleep. ZZZzzz…)
370: [17:27:00] * koentjuh quit (Ping timeout: 246 seconds)
371: [17:32:28] * the_sandman has joined #silverstripe
372: [17:43:06] * the_sandman quit (Ping timeout: 246 seconds)
373: [17:50:09] * GioVdK quit (Ping timeout: 250 seconds)
374: [18:45:20] * Stomach has joined #silverstripe
375: [18:45:30] * muskie9 has joined #silverstripe
376: [19:13:09] * Stomach quit (Quit: zzz)
377: [19:15:39] * Stomach has joined #silverstripe
378: [19:26:30] * Stomach quit (Quit: zzz)
379: [19:34:15] * Colin[pi] has joined #silverstripe
380: [19:46:15] * Stomach has joined #silverstripe
381: [19:57:08] * adadada_ has joined #silverstripe
382: [19:57:09] <ss-helper> adadada_: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
383: [19:58:58] * kerozene quit (Max SendQ exceeded)
384: [20:00:53] * kerozene has joined #silverstripe
385: [20:01:21] * adadada_ quit (Ping timeout: 246 seconds)
386: [20:27:48] * helenclarko has joined #silverstripe
387: [20:31:38] * r_hector has joined #silverstripe
388: [20:50:26] <Stomach> morning all
389: [20:56:12] * micmania1 has joined #silverstripe
390: [21:00:49] * joelpittet quit ()
391: [21:06:17] <helenclarko> Morning o/
392: [21:07:16] * DimiStripe has joined #silverstripe
393: [21:07:31] * antmas has joined #silverstripe
394: [21:07:52] * jules0x has joined #silverstripe
395: [21:23:20] * r_hector quit (Remote host closed the connection)
396: [21:24:01] <antmas> mornin all o/
397: [21:25:13] * Stomach quit (Quit: zzz)
398: [21:31:02] * antmas waving intensifies
399: [21:31:05] <antmas> o//////
400: [21:37:24] * Stomach has joined #silverstripe
401: [21:37:27] <jules0x> \o
402: [21:37:48] <antmas> :D
403: [21:38:01] * DanaeNZ has joined #silverstripe
404: [21:40:11] <Colin[pi]> antmas: o/
405: [21:46:49] <Colin[pi]> gah I hate that how sometimes you cut from one app and the text disappears, then you paste into another and "oh ho ho, I've pasted something else, lololol"
406: [21:47:19] <Colin[pi]> stupid clipboard
407: [21:51:22] <jules0x> <3 phpstorm multi-option clipboard... "you want that thing you copied a while back, yep I got you bro"
408: [21:51:28] * DimiStripe quit (Quit: DimiStripe)
409: [21:51:36] * Liquide has joined #silverstripe
410: [21:51:42] <Colin[pi]> jules0x: heh nice
411: [21:53:40] * novaweb has joined #silverstripe
412: [21:56:04] <jules0x> when I found out about that (intelliJ feature?)... \o/
413: [21:56:16] <jules0x> Windows, pay attention
414: [22:00:00] <novaweb> Friends... does this actual work? https://docs.silverstripe.org/en/3.1/developer_guides/customising_the_admin_interface/typography/
415: [22:01:39] <jules0x> yes
416: [22:03:57] <antmas> mmm I actually pasted from php storm today and it took all the background color and everything :P
417: [22:04:09] <antmas> was like 'bro, I just want the code maing'
418: [22:05:02] * Stomach quit (Quit: zzz)
419: [22:07:55] * Azure has joined #silverstripe
420: [22:08:05] <MichalKleiner> o/
421: [22:08:10] <MichalKleiner> morning
422: [22:10:11] <Colin[pi]> MichalKleiner: o/
423: [22:10:50] * Stomach has joined #silverstripe
424: [22:12:21] <jules0x> antmas: haha
425: [22:15:25] * DanaeNZ quit (Remote host closed the connection)
426: [22:17:25] * chocolatemoose has joined #silverstripe
427: [22:18:41] <chocolatemoose> o/
428: [22:19:29] <Colin[pi]> chocolatemoose: \o
429: [22:22:40] <antmas> chocolatemoose: o.
430: [22:22:42] <antmas> damnit
431: [22:22:43] <antmas> o/
432: [22:22:46] <chocolatemoose> amputee wave
433: [22:23:13] <chocolatemoose> how can you code with only one arm?
434: [22:23:33] <antmas> I use another appendage
435: [22:23:35] <antmas> :D
436: [22:24:21] <Colin[pi]> ( ͡o ͜ʖ ͡o)
437: [22:32:09] * DanaeNZ has joined #silverstripe
438: [22:35:06] <antmas> DanaeNZ: o/
439: [22:35:35] <DanaeNZ> antmas: \o
440: [22:35:39] * DanaeNZ sips coffee
441: [22:36:21] * jenniferaslan has joined #silverstripe
442: [22:36:44] <jenniferaslan> Anybody online right now?
443: [22:38:07] <jules0x> c[_]
444: [22:38:13] <chocolatemoose> quick hide
445: [22:38:32] <jenniferaslan> I have a question about Requirements::block
446: [22:39:33] <antmas> omg sharepoint is like a RAM vampire
447: [22:40:20] <antmas> trying to deploy to dev box and that box is ALREADY using 94% memory lol
448: [22:40:22] <antmas> gg
449: [22:40:38] <Colin[pi]> :\
450: [22:40:57] <jenniferaslan> My Page.php and HomePage.php are both extending SiteTree. I'm blocking the jquery in THIRDPARTY because I want to use the most recent version. It's blocked in HomePage.php, but I think the Comments module is bringing it in afterwards anyway on Page.php. How do I make it not do that?
451: [22:42:02] <chocolatemoose> block works for anything already required or added in the future
452: [22:43:23] <chocolatemoose> where are you calling block?
453: [22:44:21] * micmania1 quit (Quit: micmania1)
454: [22:45:05] <jenniferaslan> http://sspaste.com/paste/show/55f9f0e9298be
455: [22:46:43] <jenniferaslan> This is what gets spit out on the front-end:
456: [22:46:44] <jenniferaslan> http://sspaste.com/paste/show/55f9f1410f61a
457: [22:47:29] <jenniferaslan> Those last four files are what's puzzling me. The problem is it's breaking my hoverIntent.js functionality.
458: [22:47:44] <chocolatemoose> should it be: Requirements::block(THIRDPARTY_DIR . "/jquery/jquery.js"); ?
459: [22:48:07] <chocolatemoose> notice the slash before jquery
460: [22:48:21] <jenniferaslan> Well, it works on HomePage.php
461: [22:48:25] <jenniferaslan> without the /
462: [22:48:31] <chocolatemoose> hmm
463: [22:49:47] <jenniferaslan> This is all I get on the home page on the front-end: http://sspaste.com/paste/show/55f9f1fb31b77
464: [22:50:15] <jenniferaslan> That's all I was expecting to see on the interior pages, but it seems like the Comments module is overriding my block on Page.php.
465: [22:50:24] <jenniferaslan> I want to not allow it to do that.
466: [22:51:03] <jenniferaslan> The requirements on Page.php and HomePage.php are both the same.
467: [22:51:18] <jenniferaslan> Except that I combine the files into different documents.
468: [22:51:31] <jenniferaslan> But I'm in dev mode right now, so that makes no difference.
469: [22:51:39] <chocolatemoose> is there anything on the HomePage.php that would even be pulling in jQuery?
470: [22:51:43] <chocolatemoose> other than your own requirements
471: [22:52:27] <jenniferaslan> Not that I know of. I don't have $Form or $Comments in the template.
472: [22:53:08] <chocolatemoose> because THIRDPARTY_DIR doesn't return with a trailing /
473: [22:53:33] <jenniferaslan> When I remove $PageComments from Page.ss, the problem goes away.
474: [22:55:18] <chocolatemoose> no difference with "/jquery/jquery.js" ?
475: [22:57:49] <jenniferaslan> Since HomePage.php was working okay, I put in the slash to see if it would break it on the home page and it's still working fine.
476: [22:58:19] <jenniferaslan> So, it's when I put $PageComments on the Page.ss, and the Comments module gets involved.
477: [23:00:58] <jenniferaslan> Turns out my clients don't want to use the comments so maybe I'll just leave that out and stop fighting with it.
478: [23:04:17] <jenniferaslan> Another question: why does the built-in search always use the outer template of the page you happen to be on when you click the search button and how do we make it always use Page instead of HomePage?
479: [23:06:17] <chocolatemoose> https://docs.silverstripe.org/en/3.1/tutorials/site_search/
480: [23:06:24] <chocolatemoose> scroll to Showing the results
481: [23:06:40] <jenniferaslan> yeah, that's the LAYOUT, which is in the layouts folder.
482: [23:07:35] <jenniferaslan> Since my HomePage and Page both extend SiteTree, instead of HomePage extending Page, it wants to plug the PageResults layout into HomePage instead of PAge.
483: [23:07:53] <novaweb> question: does the CMS automatically pick up themes/mySetTheme/css/editor.css or do I have to call it?
484: [23:08:35] <jenniferaslan> It automatically gets it, but sometimes it's hard for the browser to notice changes to editor.css
485: [23:09:04] <Stomach> you need to do a flush if its on the live site too
486: [23:09:07] <jenniferaslan> I generally have to flush the cache and shift-refresh to get the styles dropdown in TinyMCE to notice changes I made in editor.css
487: [23:09:16] <novaweb> (y)
488: [23:09:22] <novaweb> when will emoticons work in IRC
489: [23:09:24] <novaweb> hahaha
490: [23:09:42] <chocolatemoose> depends on your client
491: [23:09:58] <novaweb> No shit do some have emoticon support?
492: [23:10:04] <novaweb> for OS X?
493: [23:10:20] <chocolatemoose> textual apparently
494: [23:10:32] <jenniferaslan> I'm using InstantBird on a Mac and there aren't emticons.
495: [23:10:44] <chocolatemoose> https://www.codeux.com/textual/
496: [23:12:35] <jenniferaslan> So anyway, there are reasons why I didn't want HomePage to extend Page. The layouts and functionality are too different, but I want my search results to always display on a page that inherits from Page and not HomePage. Is there a way to do that without making HomePage extend Page?
497: [23:14:12] <chocolatemoose> extend ContentControllerSearchExtension with your own results function?
498: [23:17:26] <chocolatemoose> actually, ignore me :p
499: [23:19:12] * antmas ignores chocolatemoose
500: [23:19:16] * antmas is super effective
501: [23:23:39] <jenniferaslan> Sorry, was downstairs. I will consult with my back-end guy (I'm basically only front-end).
502: [23:26:30] <jules0x> is there a simple way to add a custom attribute to each option in a dropdown field?
503: [23:27:48] <jules0x> The other option is sending an ajax request onChange to get the value I want.
504: [23:27:59] <chocolatemoose> there's a module for taht
505: [23:28:01] <chocolatemoose> *that
506: [23:28:41] <chocolatemoose> http://addons.silverstripe.org/add-ons/exadium/dropdown-attributes-field worked well enough for me
507: [23:28:45] * kerozene quit (Max SendQ exceeded)
508: [23:30:34] * kerozene has joined #silverstripe
509: [23:33:15] <jenniferaslan> @novaweb Hey, look, there are emoticons in InstantBird!
510: [23:34:07] <jenniferaslan> When @chocolatemoose stuck his tongue out, I saw it as an emoticon.
511: [23:34:45] <chocolatemoose> I can assure you, my tongue is real and not an emoticon
512: [23:35:08] <jenniferaslan> :P
513: [23:35:49] <jenniferaslan> @novaweb http://instantbird.com/
514: [23:38:19] <novaweb> thx :)
515: [23:41:04] <antmas> woah massive earthquake in chille
516: [23:41:14] <antmas> 8.3
517: [23:47:35] <antmas> oh man
518: [23:47:38] <antmas> that's huge
519: [23:49:08] <DanaeNZ> Where was the epicentre ? :O
520: [23:49:28] <antmas> 228km NW of Santiago
521: [23:49:32] <antmas> 12km deep
522: [23:51:53] <DanaeNZ> phwoar

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