#silverstripe IRC Log

IRC log for 29 January 2015

All timestamps are in UTC.

1: [00:06:36] <zippy> Stomach: -1 hr
2: [00:06:45] <Stomach> :D
3: [00:06:56] * R\w\C has joined #silverstripe
4: [00:07:37] <zippy> Rugby World Cup ..
5: [00:07:45] <zippy> bit early for that isn't it?
6: [00:11:13] <zippy> antmas: ff
7: [00:11:33] <zippy> antmas: when is the council buying me lunch?
8: [00:12:57] <zippy> http://php.net/manual/en/function.array-sum.php - a array function for everything!
9: [00:15:26] * willr has joined #silverstripe
10: [00:25:24] * R\w\C quit (Quit: Textual IRC Client: www.textualapp.com)
11: [00:25:36] * willr quit (Quit: willr)
12: [00:30:36] <zippy> jeapers
13: [00:32:17] <ss23> creepers
14: [00:32:36] <zippy> if you want ss sites to use less ram... use php 5.4+
15: [00:33:37] <zippy> after 20 runs of a fairly basic ss website with a bunch of modules. php 5.3 is
16: [00:33:39] <zippy> Min Memory: 34.75 Max Memory: 35 Avg Memory: 34.95 Median Memory: 35
17: [00:33:52] <zippy> php 5.4
18: [00:33:53] <zippy> Min Memory: 23.75 Max Memory: 24 Avg Memory: 23.95 Median Memory: 24
19: [00:35:02] * travis-ci has joined #silverstripe
20: [00:35:02] <travis-ci> silverstripe/silverstripe-framework#3951 (3.1 - d943667 : Daniel Hensby): The build passed.
21: [00:35:02] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/eeacbb1b9565...d9436675a17c
22: [00:35:02] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/48700480
23: [00:35:02] * travis-ci has left #silverstripe
24: [00:35:25] * willr has joined #silverstripe
25: [00:35:54] * irogue_ has joined #silverstripe
26: [00:36:03] <zippy> thats a decent ram saving
27: [00:36:15] <zippy> going to php 5.5 is not that much better
28: [00:38:13] * Motoservo quit (Quit: Motoservo)
29: [00:38:27] <zippy> yea, bugger all different for 5.5. Min Memory: 23.75 Max Memory: 23.75 Avg Memory: 23.75 Median Memory: 23.75
30: [00:45:41] * Motoservo has joined #silverstripe
31: [00:47:20] * edward__ has joined #silverstripe
32: [00:47:21] <MichalKleiner> 5.5 have code cache implemented
33: [00:48:08] <zippy> yea, but just going to php 5.4 see's a memory drop
34: [00:50:44] <antmas> zippy: ruhroh?
35: [00:52:34] <spronk2> what about 5.6 ro
36: [00:52:35] <spronk2> bro
37: [00:52:44] <irogue_> at phpconf rasmus basically said people who don't upgrade php are idiots cos massive resource improvement with each version
38: [00:52:54] <zippy> need to install new mamp to get 5.6
39: [00:52:56] <spronk2> rasmus is idiots
40: [00:53:01] <zippy> but yea, that memory drop is... pretty impressive
41: [00:53:02] * auto9 quit (Read error: Connection reset by peer)
42: [00:53:17] <spronk2> php 5.6 is meant to be quite a bit quicker
43: [00:53:20] <spronk2> like big jump
44: [00:53:31] <spronk2> i have certainly noticed a big jump
45: [00:53:43] <zippy> you saying ss was playing the long game... waiting for php to get faster :)
46: [00:53:58] <zippy> it's not ss that is slow, it's php.
47: [00:54:08] <spronk2> heh
48: [00:54:10] <spronk2> php is fast
49: [00:54:14] <spronk2> well
50: [00:54:19] <spronk2> compared to puby or rython
51: [00:54:31] <Stomach> mmm puby
52: [00:54:37] <edward__> Hi, I'm my <% require css tags aren't being combined in to a single file in live mode, is there something else I need to turn on to combine them?
53: [00:54:49] <zippy> edward__: it's probably permissions..
54: [00:54:58] <spronk2> edward__ are you actually sticking the code in to do the combinations?
55: [00:55:28] <zippy> you telling it to write to a different folder? like /themes/mytheme/combined/ ?
56: [00:56:12] <edward__> Ok, I will check the permissions, I'm not sticking in code to do combinations, is that required when using require in the templates? I'm not writing it to a different folder
57: [00:56:37] <zippy> if you just use <% require then it will not combine them
58: [00:57:03] <edward__> Ok, so how do I combine them?
59: [00:57:07] <zippy> http://doc.silverstripe.org/en/developer_guides/templates/requirements#combining-files
60: [00:57:36] <zippy> Stomach: sky go is on!
61: [00:57:44] <Stomach> I dont have the sky go :(
62: [00:58:36] <edward__> Where can I put that code if I want to do it for every route in the entire site?
63: [00:58:48] <Stomach> edward__ - whatcha mean
64: [00:59:40] <edward__> I want to combine all the files that are listed in the base template all of the time, not per route
65: [01:00:16] <Stomach> oh like a requirements ?
66: [01:00:59] <edward__> Yeah, do I just put it inside the init method on Page.php?
67: [01:01:40] <Stomach> yeah, that will do it for all pages which are descended from Page
68: [01:02:24] <edward__> Cool, thanks :)
69: [01:07:23] * Tanger has joined #silverstripe
70: [01:08:01] * Tanger quit (Client Quit)
71: [01:13:22] <zippy> Stomach: aren't you in welly?
72: [01:13:28] <Stomach> I'm in Auckland
73: [01:21:27] <Stomach> aaaahhhhh cricinfo changed
74: [01:22:19] * zagoodwin quit (Ping timeout: 246 seconds)
75: [01:26:32] * mobiusnz has joined #silverstripe
76: [01:29:32] <antmas> zippy: ITS'S TOO DAMN HOT
77: [01:29:46] <zippy> yes, I am once again shirtless
78: [01:30:47] <MichalKleiner> SilverStrip
79: [01:31:19] <WandL> Hi guys anyone suggest a good captcha for silverstripe, was looking at the official spam protection module which looks good but really don't like any of the sub modules for it is there anything else available?
80: [01:31:59] <zippy> WandL: you add in the silverstripe spam protection module, and then add in say, silverstripe recapture or silverstripe mollomn or silverstipe math spam
81: [01:32:54] <WandL> zippy: yeah thanks I understand that we just don't like any of those lol... know of any others?
82: [01:33:15] <zippy> well...
83: [01:33:25] <zippy> if you don't care about anyone but nz then allow only nz ips to submit the form
84: [01:34:39] <antmas> kinda what we do at the moment
85: [01:34:40] <WandL> How does that help what if kiwi's are the spammers :)
86: [01:34:49] <antmas> dont' use captcha
87: [01:34:55] <antmas> captcha is aweful
88: [01:35:07] <zippy> WandL: I don't think it'd be kiwis...
89: [01:35:13] <WandL> I would only allow aussies we can all be trusted hehe...
90: [01:36:05] <antmas> we get 90% of our spam from German IPs
91: [01:36:08] <zippy> mmm dunno about that Colin[pi] guy.
92: [01:36:27] <zippy> WandL: otherwise, put cloudflare up in front and use that to block bad ppl
93: [01:36:35] <zippy> can also exclude places like china and russia
94: [01:36:58] <antmas> WandL: do you just need it on a form?
95: [01:36:59] <WandL> yeah agree, was thinking of more of a filter mollum sort of works that way only shows if thinks you are spamming I believe
96: [01:37:36] * spronk2 quit (Quit: I may need a longer sleep timer...)
97: [01:37:40] <WandL> antmas: yes only if people not logged in basically, is a contact/support form
98: [01:38:12] <antmas> WandL: I started using a hidden field setup and reduced our spam by well over 2/3s
99: [01:39:37] * edward__ quit (Quit: Page closed)
100: [01:42:16] * manja16 has joined #silverstripe
101: [01:42:23] * Tanger has joined #silverstripe
102: [01:42:47] * edward__ has joined #silverstripe
103: [01:43:02] <manja16> I'm having some issues with custom routing
104: [01:43:17] <manja16> using only fw, without cms
105: [01:43:31] <manja16> bunch of routing rules, most of them work like a charm
106: [01:43:40] <manja16> but last one is killing me
107: [01:43:43] <zippy> mm?
108: [01:43:54] <edward__> Is there a way I can get rid of or override the empty style.css file with the output of = Requirements::combine_files()?
109: [01:44:17] <manja16> basicaly, I want to redirect all not-matched rules to routing class
110: [01:44:37] <manja16> and problem is that, by doing so, dev/build is killed
111: [01:46:04] <WandL> antmas: interesting.... what do you store in the hidden field?
112: [01:47:07] <zippy> WandL: nothing I would assume, just name it something like 'Country' and if it's filled then it was a spam bot
113: [01:47:22] <zippy> sometimes it's good to not use a type=hidden, but hide it will css
114: [01:48:09] <antmas> WandL: zippy yeah nothing in the field. I hide it with css and then run a test/try/catch on submit - if that field has something in it, don't submit the form
115: [01:48:11] <antmas> easy
116: [01:48:37] <antmas> although ... some newer bots apparently can tell if it has the display:none property set
117: [01:51:13] <WandL> antmas: okay that sounds good thanks guys! the emails are sent to us anyway so a bit of spam is always entertaining :)
118: [01:51:24] <MichalKleiner> you can leave it visible and just do position:absolute; left: -100000px
119: [01:51:28] * micmania1 quit (Quit: micmania1)
120: [01:51:54] <MichalKleiner> just a thought
121: [01:51:57] <manja16> WandL: or try SFS or even Akismet?
122: [01:52:06] <MichalKleiner> might have impact on taborder in the form
123: [01:52:21] * spronk2 has joined #silverstripe
124: [01:52:25] <zippy> or..
125: [01:52:38] <zippy> put a note saying "No spam please"
126: [01:52:42] <zippy> works on my letterbox
127: [01:53:02] <antmas> you can offset the taborder
128: [01:53:26] <antmas> can also do a final question on the form like 'What is 1+7?'
129: [01:53:36] <antmas> or any other question with only 1 answer
130: [01:53:37] <manja16> MichalKleiner: there's "tabindex" property on form fields...
131: [01:54:16] <WandL> zippy: lol
132: [01:55:14] <WandL> antmas: I don't mind the math one but is a support form and some our members might struggle with simple stuff lol
133: [01:55:38] <antmas> WandL: :P
134: [01:55:45] <antmas> 'monkey's with hand grenades'
135: [01:55:49] <antmas> -'*
136: [01:56:05] <zippy> WandL: actually... you could say "Please repeat/confirm your email: [ ] and call that form say, city - and check it matches their email field
137: [01:59:23] <WandL> zippy: not bad either!
138: [01:59:40] <zippy> trim(strtolower( on both first ofc.
139: [02:00:57] <Ryan-Toast> Use the new Google captcha which is just a checkbox.
140: [02:01:41] <Ryan-Toast> https://www.google.com/recaptcha/intro/index.html
141: [02:03:24] * novaweb quit (Quit: Leaving)
142: [02:03:31] <antmas> Ryan-Toast: huh, that's kinda cool
143: [02:03:58] <antmas> glad some bigger company is looking for alternatives to recaptcha
144: [02:04:14] <Ryan-Toast> lol, google’s owned captcha for like 6 years, man.
145: [02:04:23] <Ryan-Toast> reCaptcha**
146: [02:04:35] <antmas> and?
147: [02:04:46] <Ryan-Toast> “glad some bigger company is looking for alternatives to recaptcha” ?
148: [02:04:58] <antmas> my point is still valid
149: [02:05:33] <antmas> well
150: [02:08:07] * antmas delivers sharepoint intranet
151: [02:08:22] * antmas 's boss looks at it
152: [02:08:41] <antmas> "I think we need to adjust your salary level"
153: [02:08:48] <antmas> :>
154: [02:08:51] <zippy> Stomach: 1
155: [02:08:59] <edward__> Can I get rid of the empty style.css, print.css and screen.css in silverstripe somehow?
156: [02:09:32] * mobiusnz quit (Quit: Leaving.)
157: [02:09:47] <zippy> edward__: did you make them?
158: [02:10:17] <zippy> Ryan-Toast: that loosk cool
159: [02:10:21] * Motoservo quit (Quit: Motoservo)
160: [02:11:06] <edward__> Not afaik, lol, I'll try deleting them
161: [02:15:01] <Hailwood> Hey nicolaas, In the shopping cart what's the easiest way to tell what GSTTaxModifier has been applied to an order? Also, there is a small pull request waiting for you
162: [02:15:07] * Motoservo has joined #silverstripe
163: [02:16:04] <nicolaas> Hey Hailwood, i can do the pull request now.
164: [02:16:16] <nicolaas> in terms of the GSTaxModifier ...
165: [02:16:23] <nicolaas> one sec
166: [02:18:47] <nicolaas> Hailwood: have a look here: shoppingcart/debug/
167: [02:19:02] * micmania1 has joined #silverstripe
168: [02:19:06] <nicolaas> e.g. mysite.co.nz/shoppingcart/debug/
169: [02:21:07] * manja16 quit (Ping timeout: 246 seconds)
170: [02:21:21] <nicolaas> also have a look here:
171: [02:21:37] <nicolaas> dev/ecommerce/
172: [02:21:39] <nicolaas> - e.g. dev/ecommerce/ecommercetaskcartmanipulation_debug - you will find a ton of debug and development tools there
173: [02:21:59] * Motoservo quit (Quit: Motoservo)
174: [02:23:30] <zippy> edward__: those fiels are being created by the combines. check your combines because /****** FILE: themes/tfc/css/layout.css *****/, means it's trying to pull that in
175: [02:23:39] <zippy> otherwise, drop in your page init in here for us to look at
176: [02:26:55] * Motoservo has joined #silverstripe
177: [02:28:45] <nicolaas> Hailwood: does that help?
178: [02:28:45] * drye has joined #silverstripe
179: [02:28:57] <WandL> Ryan-Toast: we looked at silverstripes spamprotection -> reCaptcha module it didn't work when you clicked it the capatcha opened, I didn't realise it was suppose to detect I was human so thought thats crap :)
180: [02:28:58] <antmas> what did people do before recaptcha?
181: [02:29:19] <nicolaas> Math questions ;-)
182: [02:29:25] <antmas> mm
183: [02:29:37] <antmas> I've been using it since like 07
184: [02:29:48] <WandL> antmas: deleted spam from inbox?
185: [02:29:54] <antmas> haha
186: [02:29:56] <antmas> pretty much
187: [02:30:06] <antmas> use mail rules
188: [02:30:07] <antmas> :P
189: [02:30:42] <Hailwood> nicolaas, Ok, so it looks like I can loop over $order->Modifiers() and check the ClassName and the Title, but I don't see any way (other than querying the database for GSTTaxModifierOptions where those two columns match) to check against the code?
190: [02:31:01] <Hailwood> Basically I need to go "if we have applied GST do this, if we have applied VAT do that"
191: [02:31:42] <antmas> man, this would be pretty creepy http://www.stuff.co.nz/national/crime/65540031/masked-pair-threaten-auckland-parkgoers
192: [02:31:54] <nicolaas> can you explain a bit more Hailwood - sounds like an interesting question.
193: [02:32:37] * mobiusnz has joined #silverstripe
194: [02:33:06] <nicolaas> are you basically wanting to have a function HasTax($myTaxCode/ID) on Order?
195: [02:33:44] <Hailwood> nicolaas, Correct
196: [02:34:05] <Hailwood> As on the invoice depending on the tax applied I need to show either the GST number or the VAT code
197: [02:34:29] <Hailwood> Legal requirement
198: [02:35:48] <nicolaas> ok, so the first thing to do would be to add the GST / VAT number to the GSTTaxModifierOption
199: [02:36:25] <nicolaas> and I personally would just add it to the title? would that work?
200: [02:36:41] <nicolaas> I dont really think you need the "HasTax" method.
201: [02:36:48] <nicolaas> but I will definitely look into this a bit more.
202: [02:38:06] <Hailwood> nicolaas, Unfortunately not as with the invoice we don't email it off using the standard silverstripe stuff, we use the mandrill API, and the email template there has the VAT/GST numbers on it, wrapped in an {IF TAX=...} block, so when I send the invoice off to the API I need to send across the tax type
203: [02:39:21] <Stomach> zippy - we're getting smashed
204: [02:39:52] <nicolaas> Hailwood: I will need to look at this a bit closer.
205: [02:40:03] <nicolaas> will do, but not right now
206: [02:40:35] <Hailwood> nicolaas, Easiest option might be for me to just save the GSTTaxModifierOption Code on the GSTTaxModifier table.
207: [02:40:55] <nicolaas> yeah - I wonder why that is not done already!!!
208: [02:41:00] <nicolaas> it is not , but why?
209: [02:42:34] <nicolaas> I will add this feature...
210: [02:42:35] <zippy> Stomach: we'll se
211: [02:42:42] <nicolaas> it has to be a many-many relationship!
212: [02:43:15] <antmas> I need to get Rainmeter again http://lifehacker.com/the-binary-rain-desktop-1681821145
213: [02:55:18] * spronk2 uses rainmeeter on his windowser
214: [02:55:21] <spronk2> want something like it for mac
215: [02:59:57] <zippy> spronk2: you installed latest update, make any speed difference?
216: [03:00:02] <zippy> Stomach: might be a little...
217: [03:00:06] <spronk2> mac update?
218: [03:00:11] <Stomach> haha yeah we're getting smashed
219: [03:05:11] * blueman_ has joined #silverstripe
220: [03:05:34] * blueman_ is now known as Guest10718
221: [03:07:51] * UncleCheese quit (Ping timeout: 246 seconds)
222: [03:07:54] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
223: [03:09:07] <zippy> spronk2: yea, new update for 10 came out
224: [03:09:14] <spronk2> hmm
225: [03:09:16] * spronk2 installs
226: [03:09:36] <spronk2> wonder whether it will fix the catastrophe that is yosemite
227: [03:09:39] * spronk2 doubts it
228: [03:13:02] * veb quit (Quit: veb-irc: &)
229: [03:14:16] * UncleCheese has joined #silverstripe
230: [03:18:24] <zippy> Stomach: 2!
231: [03:19:29] <Guest10718> If I have a DataObject called QuoteDetail that has a has_one relationship with a DataObject called Item it adds ItemID to the QuoteDetail table. If I use QuoteDetail::get() with a filter to query the detail what do I have to do to have it get the Item information as in the result as well?
232: [03:21:31] <micmania1> Guest10718: You just call $dataObject->Item() to get the item.
233: [03:21:35] <zippy> Guest10718: If you do. $QuoteDetail = QuoteDetail::get()->filter(something)->first(); . then you can do $QuoteDetail->Item() to get the item
234: [03:23:20] * camfindlay has joined #silverstripe
235: [03:25:17] * camfindlay quit (Client Quit)
236: [03:26:24] <Guest10718> micmanial and zippy - thanks!
237: [03:26:42] * Hailwood quit (Remote host closed the connection)
238: [03:29:43] * drye quit (Ping timeout: 246 seconds)
239: [03:30:30] * nicolaas quit (Remote host closed the connection)
240: [03:30:36] * UncleCheese quit (Ping timeout: 246 seconds)
241: [03:33:14] <irogue_> mmmm
242: [03:33:27] <irogue_> pizza & ciderf
243: [03:37:04] * Guest10718 quit (Ping timeout: 246 seconds)
244: [03:38:19] <zippy> irogue_: cider :P
245: [03:38:31] <irogue_> yesf
246: [03:38:39] * edward__ quit (Quit: Page closed)
247: [03:38:58] <zippy> Stomach: :D
248: [03:41:43] <Ryan-Toast> Free user testing, please: http://www.crabshack.co.nz/
249: [03:41:51] * willr quit (Quit: willr)
250: [03:42:00] <Ryan-Toast> APlease don’t submit the form, as it actually sends to the client :P
251: [03:42:49] * Colin[pi] goes to click buttons
252: [03:43:56] <zippy> Ryan-Toast: static caching or something? that site runs fairly quick...
253: [03:43:59] <Colin[pi]> Ryan-Toast: Google Maps screenshot instead of actual Google Maps? booourns
254: [03:44:10] <Ryan-Toast> zippy: a little bit here and there
255: [03:44:20] <Ryan-Toast> Colin[pi]: There are actual google mapss.
256: [03:44:28] <Ryan-Toast> Menu > Contact us
257: [03:44:33] <Colin[pi]> not on locations ;P
258: [03:44:44] <Ryan-Toast> Nah, would slow down that area.
259: [03:45:11] <Ryan-Toast> Ideally I didn’t want that page at all.
260: [03:45:22] <zippy> you have a js error on http://www.crabshack.co.nz/contact-us/
261: [03:45:31] <MichalKleiner> Choose your location in the contact form doesn't make sense
262: [03:45:38] <MichalKleiner> from the UX perspective
263: [03:45:45] <MichalKleiner> should be labeled differently
264: [03:45:48] <Ryan-Toast> MichalKleiner: Store maybe?
265: [03:45:57] <Colin[pi]> Ryan-Toast: personally I would reduce the #f9f9f9 hover for the top nav to a #f3f3f3 or so
266: [03:46:05] <Colin[pi]> it's a litttttle bit too subtle
267: [03:46:55] <MichalKleiner> Ryan-Toast: store or restaurant or something that tells it means where one wants the question sent to
268: [03:47:43] <Ryan-Toast> MichalKleiner: Agreed, changed :)
269: [03:47:58] <MichalKleiner> the auckland pin on the homepage feels more like show me on map where it is, not a facebook page
270: [03:48:36] <Colin[pi]> MichalKleiner: mm agreed
271: [03:49:06] <Ryan-Toast> zippy: fixed.
272: [03:49:47] <Ryan-Toast> MichalKleiner: It used to link to to the locations page, client changed the link.
273: [03:50:02] <Colin[pi]> Ryan-Toast: jesus that background is 220KB with that many artifacts?
274: [03:50:06] <Ryan-Toast> AKA: problem with CMS since it’s invention.
275: [03:50:20] <MichalKleiner> Ryan-Toast: ok then :-D
276: [03:50:24] <Ryan-Toast> Colin[pi]: Again, client :P
277: [03:50:31] <Ryan-Toast> they wanted a darker one.
278: [03:50:35] <MichalKleiner> I know how hard it's to educate clients on this :-D
279: [03:50:35] <Colin[pi]> heh k
280: [03:50:40] <Ryan-Toast> I should kinify rit,.
281: [03:50:43] <Ryan-Toast> minify
282: [03:50:48] <Colin[pi]> mm
283: [03:50:55] <Ryan-Toast> there are still some 1.5 mb images around I think
284: [03:51:01] <Colin[pi]> dang
285: [03:51:51] <zippy> in my ss query. how could I do; '.... AND ID in (sub query where)...'
286: [03:51:53] <Colin[pi]> Ryan-Toast: one other thing I noticed, the hamburger icon is in the middle (vertically) until smartphone size when it's in the top right
287: [03:52:05] <Colin[pi]> supposed to be like that? cause I reckon in the same spot each time would be better
288: [03:52:18] <Ryan-Toast> Colin[pi]: Yeah, it’s the removal of the navigation container, I cbf fixing it.
289: [03:52:22] <Colin[pi]> lol
290: [03:52:23] <Colin[pi]> k
291: [03:52:45] <Ryan-Toast> I mean “it’s part of a specific user experiance"
292: [03:53:54] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
293: [03:54:17] <Colin[pi]> Ryan-Toast: other than those things I think it's all pretty good
294: [03:54:53] <Colin[pi]> Ryan-Toast: no slightly darker hover love for the top nav? ;P
295: [03:55:24] <Ryan-Toast> Colin[pi]: Nah, they specifically asked for that
296: [03:55:35] <Colin[pi]> #f9f9f9 ? k
297: [03:55:39] <Ryan-Toast> Yeah :P
298: [03:55:40] <Colin[pi]> cause it's subtle as fuck
299: [03:55:54] <Ryan-Toast> Ideally I would like a third action colour, but they like brown...
300: [03:56:12] <Colin[pi]> who the heck actually likes brown?
301: [03:56:17] <Ryan-Toast> these guys
302: [03:56:29] <Ryan-Toast> is ss-log working atm?
303: [03:57:04] <Colin[pi]> Ryan-Toast: seems to be
304: [03:57:15] <Ryan-Toast> Colin[pi]: okay, never mind then :P
305: [03:57:55] <Colin[pi]> Ryan-Toast: although the latest page seems frozen at line 1000
306: [03:58:43] <Ryan-Toast> Colin[pi]: Still don’t trust it :P
307: [03:59:04] <Colin[pi]> Ryan-Toast: yeah dunno, simon has been stuffing around with it as well
308: [03:59:08] * mobiusnz quit (Quit: Leaving.)
309: [03:59:11] <Ryan-Toast> Colin[pi]: dem ads.
310: [03:59:18] <Ryan-Toast> Okay, I’m getting the fuuuuuck out of here.
311: [03:59:23] <Ryan-Toast> Later, guys.
312: [03:59:27] <Colin[pi]> Ryan-Toast: cya d00d
313: [03:59:38] <Ryan-Toast> chur for the suggestions everyone.
314: [04:04:24] * Tanger quit (Ping timeout: 245 seconds)
315: [04:04:37] * Tanger has joined #silverstripe
316: [04:05:59] <MichalKleiner> np, c u
317: [04:08:53] * micmania1 has left #silverstripe
318: [04:11:36] * irogue_ quit (Quit: Textual IRC Client: www.textualapp.com)
319: [04:16:20] * benjhocking has joined #silverstripe
320: [04:22:15] * Kingy[a] is now known as Kingy
321: [04:22:29] <Kingy> hey hey
322: [04:22:30] * Ryan-Toast quit (Quit: Ryan-Toast)
323: [04:22:38] <Colin[pi]> hai Kingy!
324: [04:22:46] <Kingy> how ya going mate
325: [04:22:52] <Colin[pi]> good thanks
326: [04:23:10] <Colin[pi]> got a concept out the door today one day early, and a client is shouting me beer and pie for dinner, so I'm stoked
327: [04:23:58] <Kingy> oh badass!
328: [04:24:19] <Colin[pi]> :D
329: [04:24:29] <Colin[pi]> how are things in Bahrain?
330: [04:25:29] <Kingy> yeah good man
331: [04:25:33] <Kingy> off to dubai in a couple of weeks
332: [04:25:43] <Colin[pi]> for a visit?
333: [04:25:57] <Kingy> yeah, when coming to Bahrain you have to have exit flights
334: [04:26:04] <Kingy> so we getting a free flight
335: [04:26:24] <Colin[pi]> oh nice
336: [04:26:32] * Shrike_Finland has joined #silverstripe
337: [04:26:45] <Kingy> so yeah we're going to spend our anniversery there
338: [04:26:50] <Kingy> coz why not right
339: [04:26:58] <Colin[pi]> exactly!
340: [04:27:09] <Colin[pi]> staying in the burj al arab?
341: [04:27:13] <Colin[pi]> wait is that there?
342: [04:27:35] <Colin[pi]> yep it's there
343: [04:27:41] <Kingy> burj yeah
344: [04:27:45] <Kingy> but nah, staying at the movenpick or something
345: [04:27:49] <Kingy> some 5* hotel lol
346: [04:27:57] <Kingy> don't think there is anything other than 5* in dubai it seems
347: [04:28:02] <Colin[pi]> lol
348: [04:28:08] <Colin[pi]> 5* is for peasants
349: [04:28:15] <Colin[pi]> 7* is where it's at according to Dubai ;)
350: [04:28:45] <Kingy> haha yeah
351: [04:29:07] <Kingy> already costing us like $1300NZD for 4 nights or something
352: [04:29:11] <Colin[pi]> dang
353: [04:29:15] <Kingy> so i imagine 7* would be 10x that
354: [04:29:19] <Colin[pi]> :\
355: [04:29:24] <Kingy> :P
356: [04:29:38] <Colin[pi]> 7* accommodation better damn well come with free BJs
357: [04:29:41] <Colin[pi]> or else
358: [04:31:00] <Kingy> rofl, well i'm sure our 5* will include that
359: [04:31:02] <Kingy> for me at least ;)
360: [04:31:54] <Colin[pi]> haha "and this sir is the beej room"
361: [04:39:55] * veb has joined #silverstripe
362: [04:42:21] * cloph_away has joined #silverstripe
363: [04:42:41] <Kingy> hey veb
364: [04:43:18] * cloph quit (Ping timeout: 276 seconds)
365: [04:46:37] * Shrike_Finland quit (Read error: Connection reset by peer)
366: [04:46:56] * Shrike_Finland has joined #silverstripe
367: [04:49:18] <veb> hey Kingy
368: [04:49:45] <Kingy> how doing
369: [04:49:53] <veb> did you try skype with anyone else yet
370: [04:49:57] <veb> wonder if we should try now
371: [04:50:07] <Kingy> tried it last night with work
372: [04:50:10] <Kingy> seems alright
373: [04:50:15] <veb> fast as ours?
374: [04:50:30] <Kingy> well i was showing them the work i did yesterday and they said they could see it all
375: [04:50:34] <Kingy> so yeah i guess lol
376: [04:50:36] <veb> did I do goot helping you?
377: [04:50:44] <Kingy> A++ would work with again
378: [04:50:50] <veb> lol
379: [04:51:01] <veb> yeah me and ray spent to 3am working on android via skype
380: [04:51:06] <veb> was nice
381: [04:51:18] <Kingy> jesus nice
382: [04:55:06] <veb> I'll be back on 7pm or something
383: [04:55:15] <veb> we should release seekacar
384: [04:57:35] <Kingy> yeah lol
385: [04:57:40] <Kingy> still not working right
386: [04:58:52] * Shrike_Finland quit (Quit: Leaving.)
387: [05:03:41] * Shrike_Finland has joined #silverstripe
388: [05:04:32] * benjhocking quit (Quit: Leaving.)
389: [05:08:35] * Motoservo quit (Quit: Motoservo)
390: [05:09:15] * benjhocking has joined #silverstripe
391: [05:10:31] <Tanger> WHat's the easiest way to get the version of an SS install?
392: [05:12:13] <Kingy> Tanger: do you mean to find out the current version you're using?
393: [05:12:17] <Kingy> or the latest version available
394: [05:12:26] <Tanger> The version installed on hosting
395: [05:12:45] <Tanger> I've noticed that silverstripe_version has an actual version in SS > 3.X
396: [05:12:56] <Tanger> But for a lot of versions it's a zero-byte file
397: [05:15:07] * Motoservo has joined #silverstripe
398: [05:17:42] * r_hector has joined #silverstripe
399: [05:18:21] <Colin[pi]> Tanger: if you have CMS access, you can hover over the SS logo, the tooltip will show the version
400: [05:18:50] <Tanger> Colin[pi]: Oh, cool! Thanks man
401: [05:20:24] <Colin[pi]> np, that's the quickest way
402: [05:20:43] * asdfsdfsdfs has joined #silverstripe
403: [05:21:15] <asdfsdfsdfs> hey can anyone explain the autologin functionality of the Member class
404: [05:21:20] <asdfsdfsdfs> as in it's main use case?
405: [05:23:02] * r_hector quit (Quit: Leaving.)
406: [05:25:19] * r_hector has joined #silverstripe
407: [05:28:13] * jenniferaslan quit (Quit: jenniferaslan has left the room)
408: [05:31:52] * mahfuz quit (Ping timeout: 246 seconds)
409: [05:33:16] * benjhocking quit (Quit: Leaving.)
410: [05:38:54] * Shrike_Finland quit (Quit: Leaving.)
411: [05:41:46] * benjhocking has joined #silverstripe
412: [05:41:58] * willr has joined #silverstripe
413: [05:42:00] * willr quit (Client Quit)
414: [05:42:22] * asdfsdfsdfs quit (Ping timeout: 246 seconds)
415: [05:46:29] * Kingy is now known as Kingy[a]
416: [05:54:43] * Colin[pi] quit (Ping timeout: 255 seconds)
417: [06:01:44] <veb> hey Kingy[a]
418: [06:02:32] * spronk2 quit (Quit: I may need a longer sleep timer...)
419: [06:04:35] * benjhocking quit (Quit: Leaving.)
420: [06:10:44] * benjhocking has joined #silverstripe
421: [06:27:00] * benjhocking quit (Quit: Leaving.)
422: [06:28:11] * Sticks quit (Quit: Leaving)
423: [06:29:52] * spronk2 has joined #silverstripe
424: [06:33:56] * r_hector quit (Quit: Leaving.)
425: [06:41:10] * Olliepop quit (Ping timeout: 246 seconds)
426: [06:53:17] * Stomach quit (Quit: bye)
427: [06:54:23] * Tanger quit (Quit: Tanger)
428: [07:00:10] * spronk2 quit (Quit: I may need a longer sleep timer...)
429: [07:06:01] * Shrike_Finland has joined #silverstripe
430: [07:06:38] * Shrike_Finland quit (Client Quit)
431: [07:06:50] * Shrike_Finland has joined #silverstripe
432: [07:34:57] * Shrike_Finland1 has joined #silverstripe
433: [07:38:37] * Shrike_Finland quit (Ping timeout: 256 seconds)
434: [07:50:19] * glenn-bautista quit (Quit: Leaving.)
435: [08:13:27] * veb quit (Quit: veb-irc: &)
436: [08:15:47] * arnhoe has joined #silverstripe
437: [08:37:13] * zippy has joined #silverstripe
438: [08:37:15] * Shrike_Finland1 quit (Quit: Leaving.)
439: [08:40:21] <zippy> ello
440: [08:40:23] * webspilka has joined #silverstripe
441: [08:40:58] <zippy> >> 2 failed logins since last login.
442: [08:40:59] <zippy> hehe
443: [08:55:29] <zippy> it must really rip that guys undies I got this udername
444: [08:55:32] <zippy> *username
445: [08:56:55] * Pydslnk has joined #silverstripe
446: [08:57:08] <zippy> hi Pydslnk
447: [08:57:19] <Pydslnk> sup zippy
448: [08:59:26] <zippy> php 5.4 does wonders for memory eh
449: [09:00:37] * wmk has joined #silverstripe
450: [09:01:05] <zippy> hi wmk
451: [09:01:49] * kinglozzer has joined #silverstripe
452: [09:03:26] <wmk> ho
453: [09:03:40] <zippy> everyones coming on..
454: [09:04:11] <Pydslnk> pacman -Syu
455: [09:04:16] <Eliseth> Morning!
456: [09:04:17] <Pydslnk> ***finishes
457: [09:04:20] <Pydslnk> pacman -Syu
458: [09:04:25] <Pydslnk> *installs more stuff
459: [09:04:26] <Pydslnk> o.0
460: [09:04:35] <Pydslnk> oh yup. Repo updates in the time it takes me to update eh.
461: [09:05:53] <Pydslnk> oh yup. Repo updates in the time it takes me to update eh.
462: [09:10:42] * lerni_ has joined #silverstripe
463: [09:22:31] * webspilka quit (Ping timeout: 246 seconds)
464: [09:24:55] <zippy> whats the best way to do a subquery with SS?
465: [09:25:19] <zippy> I want to have a modal admin which lists members in a certain group
466: [09:25:33] <zippy> I can override the getList method to change the query
467: [09:31:02] <wmk> zippy, yup
468: [09:31:04] <kinglozzer> zippy: ->alterDataQuery ?
469: [09:31:21] * bemusedrat has joined #silverstripe
470: [09:32:05] <zippy> yea im just thinking of the 'next step'. $list->whereIn('SELECT MemberID FROM Group_Members WHERE GroupID=x') sort of thing
471: [09:32:12] * spronk2 has joined #silverstripe
472: [09:32:51] <kinglozzer> zippy: ->filter('Groups.ID', $id) should do that, shouldn't it?
473: [09:33:00] <zippy> ...woo... might do
474: [09:34:31] * Kingy[a] is now known as Kingy
475: [09:34:44] <Kingy> hey guys
476: [09:35:11] <zippy> Kingy: hello
477: [09:35:13] * jyrkililja quit (Quit: leaving)
478: [09:36:58] <Kingy> zippy: i'm creating a widget that is using a jquery plugin, how do I go about include the js? Requirements::javascript("path/to/file.js");
479: [09:37:12] <Kingy> do I need to put the full path in? mysite/code/widget/js/blah.js
480: [09:37:19] <zippy> for the js you need full path
481: [09:37:22] <Kingy> or is there some sort of CURRENT_DIR variable floating around
482: [09:37:37] <zippy> same with css, unless you do themeCSS
483: [09:38:07] <zippy> current_dir in relation to what, the current php file?
484: [09:38:14] <Kingy> yeah
485: [09:38:16] <zippy> basename(__FILE__) I think will do it
486: [09:38:22] <zippy> or is it basedir
487: [09:38:25] <zippy> dirname
488: [09:39:13] <zippy> dirname(__FILE__) will give you the folder the current php file is in
489: [09:40:06] * Shrike_Finland has joined #silverstripe
490: [09:42:14] * spronk2 quit (Quit: bleep bleep bloop bloop)
491: [09:42:36] * Shrike_Finland1 has joined #silverstripe
492: [09:43:05] <Eliseth> Hello
493: [09:43:30] <Eliseth> I have a function that returns an array
494: [09:43:33] <Eliseth> array(2) {
495: [09:43:33] <Eliseth> ["lastname"]=>
496: [09:43:33] <Eliseth> string(4) "Test"
497: [09:43:33] <Eliseth> ["firstname"]=>
498: [09:43:33] <Eliseth> string(4) "Test"
499: [09:43:34] <Eliseth> }
500: [09:44:31] <Eliseth> When trying to get a value in the template using <% with $myFunction %>$lastname<% end_with %> I get nothing. What am I doing wrong?
501: [09:45:21] <kinglozzer> Eliseth: You can't access arrays in the template directly, use return ArrayData::create($array);
502: [09:45:39] * N3sh has joined #silverstripe
503: [09:46:01] * Shrike_Finland quit (Ping timeout: 265 seconds)
504: [09:46:18] <Eliseth> ohhhhh
505: [09:46:30] <Eliseth> Thanks :D
506: [09:47:20] <N3sh> Hello there. I have a question about SS and multi-sites. I'm working on a project and I'm planning to have several (hundreds patiently
507: [09:47:24] <N3sh> ops
508: [09:48:25] <N3sh> (hundreds possibly) sub-sites just with different settings (background, users, logo, etc...). Would SS be a good framework for me?
509: [09:49:26] <N3sh> I started checking Drupal but I found it a bit too manual for a scalable solution.
510: [09:49:33] <Kingy> zippy: it no loadddinggg :(
511: [09:49:57] * aragonne has joined #silverstripe
512: [09:50:22] * lerni_ quit (Ping timeout: 265 seconds)
513: [09:50:24] * spronk2 has joined #silverstripe
514: [09:50:25] <wmk> N3sh, i guess it should work with silverstripe
515: [09:50:32] <aragonne> hye guys, what is the best way to convert this SS2.4 query to SS3:
516: [09:50:32] <zippy> Kingy: whats your line your using? die with it to check its right
517: [09:50:34] <aragonne> $appSurveys = DataObject::get('AppSurvey', 'DATE(`BeginDate`) <= CURDATE() AND DATE(`EndDate`) >= CURDATE()');
518: [09:50:43] <zippy> well.
519: [09:50:47] <wmk> you can easily have a field for each setting in db
520: [09:51:03] <aragonne> AppSurvey::get()->filter(?);
521: [09:51:16] <wmk> aragonne, yes
522: [09:51:18] <wmk> ;)
523: [09:51:26] <zippy> and I would drop the curdate() and build the date - that way you can use indexes
524: [09:51:43] <zippy> how many rows you got going on, and is BeginDate and EndDate date fields ?
525: [09:51:47] <zippy> like, date fields in the db
526: [09:52:05] <wmk> N3sh, subsites in terms of "subdomain with many pages" or just in meaning of "another html page"
527: [09:52:08] <Kingy> zippy: path is right, just nothing is happening (flushed and build). Chrome isn't even seeing anything trying to be loaded
528: [09:52:22] <aragonne> BeginDate and EndDate are Date fields
529: [09:52:23] <N3sh> I saw that there is an add-on for that but I really require a reliable multisite framework. do you know any?
530: [09:52:30] <zippy> Kingy: play with a / at the start or not
531: [09:53:26] <wmk> N3sh, subsites module is ok
532: [09:53:26] <wmk> do you share information between those sites?
533: [09:53:31] <zippy> AppSurvey::get()->filter(array('BeginDate:LessThanEqualTo' => $date, 'EndDate:GreaterThanEqualTo' => $date)); or osmeting
534: [09:53:45] <zippy> where date is date('Y-m-d H:i:s');
535: [09:53:48] <wmk> zippy, os meeting?
536: [09:53:58] <zippy> .... hm?
537: [09:54:17] <zippy> or something :D
538: [09:54:19] <wmk> ;)
539: [09:54:30] <wmk> curdate is date('Y-m-d')
540: [09:54:44] <aragonne> thanks zippy, so this would be a date comparison and not a string comparison, right?
541: [09:55:05] <zippy> yea mysql will work it out, and then set an index on BeginDate,EndDate
542: [09:55:26] <zippy> (1 index, 2 fields)
543: [09:55:40] <aragonne> the index to speed up DB searches?
544: [09:56:09] <zippy> http://doc.silverstripe.org/en/developer_guides/model/indexes/
545: [09:56:10] <zippy> yes
546: [09:56:11] <wmk> aragonne, in therory yes
547: [09:56:19] <Kingy> zippy: if i completely mess up the directory it spits out errors in console, if I don't nothing
548: [09:56:26] * spronk2 quit (Ping timeout: 264 seconds)
549: [09:56:47] * N3sh_ has joined #silverstripe
550: [09:56:55] <N3sh_> back
551: [09:56:58] <zippy> you doing a ctrl-f to trying and find it in the page Kingy ?
552: [09:57:20] <N3sh_> wmk no, I would like to have a single login screen and the users will be redirected to their subsite. I would like to be able to create a new 'blank' website, set it up (users, custom settings, logo, etc) and be done
553: [09:57:55] <Kingy> zippy: yeah it's there. god dammit
554: [09:58:12] <zippy> was just hidden eh! :)
555: [09:58:13] * N3sh quit (Ping timeout: 246 seconds)
556: [09:58:19] <N3sh_> imagine an employee from company A, would put its credential and be redirected to the companyA.example.com subsite
557: [09:58:40] <wmk> N3sh_, that's what subsites module should be for.
558: [09:58:43] <N3sh_> they share nothing and they are independent
559: [09:58:49] <Kingy> zippy, I mean it's there, just not doing anything now lol
560: [09:58:50] <wmk> though you need to test...
561: [09:59:13] <wmk> ansible and installing a fresh ss site from a template could be another solution
562: [09:59:19] <N3sh_> Ok. I mean, is it reliable for such a use?
563: [09:59:27] <wmk> so every customer has its completly own installation
564: [09:59:45] <N3sh_> nono, I want my own site
565: [10:00:04] <N3sh_> because I'll add apps and other functionalities, of course
566: [10:00:20] <aragonne> zippy, so: private static $indexes = array(‘DateIndex’ => array(‘type’ => ‘index’, ‘value’ => ‘“BeginDate”, “EndDate”’));
567: [10:00:35] <zippy> dev/build and see what happens
568: [10:00:40] * N3sh has joined #silverstripe
569: [10:00:44] * spronk2 has joined #silverstripe
570: [10:01:09] <aragonne> is the index a necessity or a nice to have for performance?
571: [10:01:24] <wmk> N3sh should all sites run in the same database and share the php code?
572: [10:01:40] <wmk> or different installations for each customer?
573: [10:01:52] <zippy> ahhh fffffuu
574: [10:02:05] <zippy> aragonne: depends on how many records you have, but it's generally a good idea
575: [10:02:51] <N3sh> imagine X almost exact copies of the site, with their own settings. Perhaps the only shared point is the user-subsite table, since the login screen is unique
576: [10:03:42] <zippy> kinglozzer: $list = $list->filter('Groups.ID', $myGroup->ID); was right. I just wasn't assigning $list back to $list...
577: [10:04:31] * N3sh_ quit (Ping timeout: 246 seconds)
578: [10:04:51] <kinglozzer> Sweet :)
579: [10:04:58] <wmk> N3sh, have a look at the subsites module. you can set a lot there, even page type per subsite...
580: [10:05:11] <wmk> global settings in yml, site specific settings in db
581: [10:05:26] <wmk> afaik you can limit a user to a subsite, didn't need it yet
582: [10:05:50] <wmk> afaik you can even have different assets for each subsite
583: [10:05:59] <wmk> dunno if you have different asset dirs for each subsite
584: [10:08:15] <Eliseth> Is there a default SS function that translates countrycoe (NL) to country (Netherlands)?
585: [10:08:46] * Kingy is now known as Kingy[a]
586: [10:10:00] * UncleCheese has joined #silverstripe
587: [10:10:10] <N3sh> wmk, cool. And is managing this subsites easy? like disabling them, deleting them, etc
588: [10:10:20] <N3sh> these*
589: [10:10:25] <zippy> UncleCheese: o/
590: [10:10:30] <UncleCheese> heya
591: [10:10:34] <zippy> hows things
592: [10:10:42] <UncleCheese> good, man
593: [10:10:53] <UncleCheese> has it been as sunny in nelson as it has in welly?
594: [10:11:08] <zippy> yea man it's been freaking too hot
595: [10:11:13] <UncleCheese> ah
596: [10:11:18] <zippy> when you moving down?
597: [10:11:18] <UncleCheese> "kiwi hot"
598: [10:11:25] <zippy> you could live in mot? :)
599: [10:11:28] <UncleCheese> 28 degrees !== 'hot'
600: [10:11:41] <UncleCheese> umm.
601: [10:11:48] <N3sh> of course
602: [10:11:51] <UncleCheese> nah...it had that great restaurant, but
603: [10:11:55] <Pydslnk> Kingy[a]: you can do some tricks to get your module dir name, but other than that, yeah the path is up to you.
604: [10:11:57] <UncleCheese> i was much more keen on nelson
605: [10:12:02] <N3sh> comparing a string to an int. so silly
606: [10:12:16] * aragonne quit (Quit: aragonne)
607: [10:12:22] <Pydslnk> if it's in your 'mysite', then global $project has project dir name in it.
608: [10:12:41] <UncleCheese> N3sh oops.. should have been !=
609: [10:12:43] <Pydslnk> also, zippy fuck you 5.2 ways. __DIR__ is enough.
610: [10:12:57] <zippy> oh yeaaaa __DIR__ ofc!
611: [10:13:32] <Pydslnk> N3sh: SS would work, but there are probably better platforms.
612: [10:13:32] <UncleCheese> Kingy[a] every _config.php file shoul dhave this: define('MY_MODULE_DIR', basename(__DIR__));
613: [10:17:52] <N3sh> pydslnk: could you tell me some? I really just need a platform or something handling mainly the multisite part.
614: [10:18:36] <N3sh> because I don't want to choose something which becomes cumbersome to handle which is meant to be scalable
615: [10:20:03] * N3sh has left #silverstripe
616: [10:20:16] * N3sh has joined #silverstripe
617: [10:20:20] <N3sh> back
618: [10:21:45] <Pydslnk> UncleCheese: well, afaik you're not from Death Valley.
619: [10:21:49] <Pydslnk> so yes, hot.
620: [10:22:11] <N3sh> Pydslnk, if you replied I missed it
621: [10:22:17] <UncleCheese> it does not get hot here
622: [10:22:26] <Pydslnk> Just because it's followed by a C and not an F is you can claim feigned ignorance! :P
623: [10:22:29] <UncleCheese> when was the last time it was 30 degrees? Christmas 2012?
624: [10:22:44] <Pydslnk> nah, ... wait, ok fuck you :<
625: [10:23:02] <Pydslnk> be in more places than wellington!
626: [10:23:09] <UncleCheese> it gets really fucking nice here
627: [10:23:11] <Pydslnk> N3sh: no I saw.
628: [10:23:11] <UncleCheese> but it doesnt' get hot
629: [10:23:16] <Pydslnk> and I've no iea.
630: [10:23:18] <UncleCheese> i'd rather nice than hot
631: [10:23:26] <Pydslnk> UncleCheese: that I can agree with.
632: [10:23:32] <Pydslnk> hot is just... ugh.
633: [10:23:35] <UncleCheese> it gets really, really shitty here, too, though
634: [10:23:44] <Pydslnk> 'shitty' how?
635: [10:23:52] <Pydslnk> windy rainey?
636: [10:23:53] <UncleCheese> but i maintain that a fine day in wellington is among the best fine days in the world
637: [10:23:58] <UncleCheese> yeah, just... shitty
638: [10:24:00] <Pydslnk> o.0
639: [10:24:11] <Pydslnk> oh, well a 'fine' day, yeah I guess so.
640: [10:24:12] <UncleCheese> overcast, wind, rain for weeks at a time
641: [10:24:22] <Pydslnk> again, stop being in wellington! :P
642: [10:24:33] <Pydslnk> also, talking about heat in winter... lol
643: [10:24:39] <UncleCheese> and those "nice" days where the sun goes behind a cloud and everyone runs inside to add layers of clothing
644: [10:24:53] <Pydslnk> but like, gaan experience a canterbury plains norwester in the middle of summer
645: [10:25:06] <UncleCheese> what's that place down south, in the valley
646: [10:25:16] <Pydslnk> Napa?
647: [10:25:19] <UncleCheese> it's like a basin
648: [10:25:30] <UncleCheese> i can't remember
649: [10:25:35] <UncleCheese> but it gets like > 35 there
650: [10:25:42] <Pydslnk> oh, Central Otago
651: [10:25:44] <wmk> N3sh, maybe ask in the forum or on stackoverflow also, atm it's midnight in NZ where most of the core devs are
652: [10:25:50] <Pydslnk> yeah, it gets retarded because all rocks.
653: [10:25:51] <UncleCheese> and < 0 in the winter
654: [10:25:55] <Pydslnk> it's like a mini desert.
655: [10:25:57] <UncleCheese> those are some seasons
656: [10:26:03] <UncleCheese> that's what i'm used to
657: [10:26:07] <Pydslnk> yeh it's almost like Russia
658: [10:26:13] <wmk> anyway N3sh, you'll have to test each platform carefully and play around with it to see if it'll fit your needs
659: [10:26:14] <UncleCheese> -20 winters and 30+ summers
660: [10:26:15] <Pydslnk> +40 in summer, -40 in winter
661: [10:26:19] <Pydslnk> C
662: [10:26:28] <UncleCheese> wait.. -40C or -40F?
663: [10:26:29] <UncleCheese> :)
664: [10:26:36] <Pydslnk> yeah, Russia. C
665: [10:26:46] <UncleCheese> (it's a nerd joke.. they're exactly the same)
666: [10:27:07] <Pydslnk> UncleCheese: oh, yeah I didn't see your joke, but yes I know.
667: [10:27:11] <Pydslnk> although I thought it was -30
668: [10:28:01] <UncleCheese> I've had multiple years in the USA where we say 40 to -40
669: [10:28:04] <Pydslnk> not this winter though wmk, it's not very extreme.
670: [10:28:13] <wmk> extremly warm
671: [10:28:18] <wmk> though it's snowing a lot atm
672: [10:28:31] <Pydslnk> it snowed a bit last night, but shit's well melted by now.
673: [10:28:33] <UncleCheese> -40 is a pretty fucking cold day, but it happens.. +40 is more common in the summer
674: [10:28:40] <wmk> but around christmas they had to roll out some alternative program for all the guests...
675: [10:28:50] <Pydslnk> lol because no white?
676: [10:28:55] <wmk> yup
677: [10:29:04] <wmk> and even to warm for this snow machines
678: [10:29:11] <Pydslnk> heh
679: [10:29:22] <wmk> all the time before christmas
680: [10:29:23] <UncleCheese> Pydslnk where are you?
681: [10:29:32] <Pydslnk> but yeah queenstown is a _bit_ like that. All the snows in winter, all the retarded hots in summer.
682: [10:29:41] <wmk> Pydslnk, did you hear about the 4-Schanzen Tour ? (ski flight)
683: [10:29:56] <Pydslnk> UncleCheese: micmania1 and I did a swapsies.
684: [10:30:10] <Pydslnk> wmk: nope
685: [10:30:16] <UncleCheese> no shit
686: [10:30:33] <wmk> Pydslnk, a yearly event, quite populare over here
687: [10:30:36] <Pydslnk> N3sh: you could do it with SS, but I think it could be more of a pain than you'd anticipate.
688: [10:30:38] <UncleCheese> so you've got to drink all that shitty beer?
689: [10:30:47] <Pydslnk> UncleCheese: shitty beer?
690: [10:30:53] <Pydslnk> Nah, not much american stuff on sale here.
691: [10:30:55] <UncleCheese> Newcastle?
692: [10:30:59] <UncleCheese> hahaha
693: [10:31:06] <wmk> http://en.wikipedia.org/wiki/Four_Hills_Tournament
694: [10:31:27] <wmk> this year they had sorrow not to get enough snow for it
695: [10:31:32] <N3sh> I got suggested Zend framework
696: [10:31:33] <Pydslnk> Toon broon ain't so bad UncleCheese
697: [10:31:38] <N3sh> I'm checking it out now
698: [10:31:46] <Pydslnk> it has a rep like Lion Red, but it's no where near that bad.
699: [10:32:01] <Pydslnk> N3sh: probably better.
700: [10:32:28] <Pydslnk> can build it to your needs, as opposed to contrort an existing system that does 80% what you want, but needs severe breaking for the other 20%
701: [10:32:35] <wmk> N3sh, if the cms for it is as easy to use... don't know it
702: [10:35:01] * benjhocking has joined #silverstripe
703: [10:35:22] <wmk> N3sh, good luck anyway ;)
704: [10:40:06] <N3sh> Thanks guys wmk Pydslnk
705: [10:40:36] * bemusedrat quit (Quit: Leaving)
706: [10:45:03] * Otterpocket has joined #silverstripe
707: [10:56:13] * spronk2 quit (Quit: I may need a longer sleep timer...)
708: [11:00:28] * lerni has joined #silverstripe
709: [11:01:17] * arnhoe quit ()
710: [11:05:27] * lerni quit (Ping timeout: 256 seconds)
711: [11:06:28] * arnhoe has joined #silverstripe
712: [11:06:38] <Otterpocket> When will the Ruby version of silverstripe be released?
713: [11:06:52] * ss23 twitches
714: [11:07:05] <ss23> A COLD DAY IN HELL BEFORE THAT HAPPENS, Otterpocket
715: [11:07:08] <ss23> A COLD DAY, MY FRIEND
716: [11:08:17] * Otterpocket sobs
717: [11:08:49] <Otterpocket> and the perl6 version....?
718: [11:10:33] <wmk> ss23, hehe, reminds me of a cartoon video of "the cold day in hell"
719: [11:10:41] <wmk> kind of tv news
720: [11:11:06] <wmk> at the end the news speaker is telling that he's going to a girl from school to have... you know
721: [11:11:15] <wmk> cause this day hell was cold
722: [11:11:32] <ss23> lol
723: [11:12:58] <wmk> hmm, german only cartoon
724: [11:19:14] * wmk quit (Ping timeout: 264 seconds)
725: [11:20:07] * N3sh quit (Ping timeout: 246 seconds)
726: [11:22:55] * cloph_away is now known as cloph
727: [11:23:35] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
728: [11:24:00] <Pydslnk> Otterpocket: the perl guy.
729: [11:24:47] * benjhocking quit (Quit: Leaving.)
730: [11:28:55] <Pydslnk> oh yey
731: [11:29:01] <Pydslnk> forgot password to ticket system
732: [11:29:06] <Pydslnk> looked in db
733: [11:29:10] <Pydslnk> copied hash
734: [11:29:13] <Pydslnk> searched it
735: [11:29:18] <Pydslnk> password found.
736: [11:29:24] <Pydslnk> GG plain MD5 has
737: [11:29:36] <Pydslnk> +h
738: [11:30:13] * spronk2 has joined #silverstripe
739: [11:30:17] <ss23> gg bad passowrds
740: [11:30:18] <ss23> :P
741: [11:30:54] <Pydslnk> yeah, I embellished the truth a bit there ss23.
742: [11:31:26] <Pydslnk> I got told of for having NEVER logged into the system, I said I dunno how, they said you got an account when you joined company, I said my details don't work, colleage did the search.
743: [11:31:29] <Pydslnk> "password"
744: [11:31:31] <Pydslnk> lol
745: [11:32:06] <Pydslnk> But still, not salted, and md5. Just all kinds of fail.
746: [11:33:37] <Pydslnk> Also, this happened about 6 months ago. I'm just telling the story now because I'm bored as fuck.
747: [11:52:45] * webspilka has joined #silverstripe
748: [11:54:59] <webspilka> hello guys
749: [11:55:19] <webspilka> who can help with silverstripe/silverstripe-translatable?
750: [11:56:02] <webspilka> I have next problem http://www.silverstripe.org/community/forums/all-other-modules/show/100205 - Translatable adds a filter to the locale in only one sub-queries
751: [11:56:45] <spronk2> https://twitter.com/e_kaspersky/status/560694653109157889
752: [11:56:58] <ss23> hahaha
753: [11:57:01] <ss23> That must be intentional
754: [12:01:02] * Shrike_Finland1 quit (Quit: Leaving.)
755: [12:01:03] <spronk2> is awesome
756: [12:01:26] * mobiusnz has joined #silverstripe
757: [12:02:52] <Pydslnk> idgi.
758: [12:04:00] * Shrike_Finland has joined #silverstripe
759: [12:05:37] <ss23> His laptop is around the wrong way
760: [12:05:43] <spronk2> lolmm
761: [12:09:39] <Pydslnk> webspilka: I don't know sorry.
762: [12:09:46] <Pydslnk> spronk2: ss23 yeah I get that much.
763: [12:09:58] <Pydslnk> but is there some reason it's funny?
764: [12:10:14] <ss23> Cause that's not how a laptop is meant to be!
765: [12:10:45] <Pydslnk> yeah but... that's not funny. he's probably fixing it#
766: [12:11:10] * Error404NotFound has joined #silverstripe
767: [12:11:15] <ss23> lol
768: [12:11:21] <ss23> Why would he have it on that angle to fix?
769: [12:11:28] <Pydslnk> screen
770: [12:11:29] <Pydslnk> camera
771: [12:11:35] <Pydslnk> casing
772: [12:11:41] <ss23> pls Pydslnk
773: [12:11:42] <ss23> >.<
774: [12:11:51] <spronk2> yeahhh
775: [12:12:00] <spronk2> py just being retarded now
776: [12:12:05] <Pydslnk> It would be funnier if there was context
777: [12:12:07] <spronk2> :P
778: [12:12:14] <ss23> What context was there?
779: [12:12:21] <Pydslnk> "Again."
780: [12:12:41] <Pydslnk> coz: [11:57] <@ss23> That must be intentional
781: [12:13:55] <Eliseth> HiddenField doesn't take a value?
782: [12:14:04] <ss23> I would sure hope it is intentional
783: [12:24:09] <zippy> spronk2: https://twitter.com/laravelphp/status/560112591868276736 - Pydslnk loves it
784: [12:24:24] <ss23> ?
785: [12:24:28] <ss23> l5?
786: [12:24:32] <spronk2> ooo
787: [12:24:33] <spronk2> next week
788: [12:24:34] <spronk2> leet
789: [12:24:46] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
790: [12:25:09] <Eliseth> Why can't I set a value to a HiddenField?
791: [12:26:33] * mobiusnz quit (Quit: Leaving.)
792: [12:33:23] <Pydslnk> Eliseth: probably got stuff in the wrong order. Look at the constructor
793: [12:34:16] <Pydslnk> maybe not. ($name, $title, $value)
794: [12:34:32] <Pydslnk> if it doesn't work, try setValue($v)
795: [12:40:53] <Eliseth> Both were checked and doublechecked, tried setValue as well, it just comes back with a (seemingly) random text in the value field
796: [12:41:02] * wmk has joined #silverstripe
797: [12:41:02] * DimiStripe quit (Quit: DimiStripe)
798: [12:42:08] <Eliseth> I don't need it anymore. But it's still strange that it doesn't work
799: [12:53:50] <spronk2> why doesn't Pydslnk like laravel again?
800: [12:57:28] * wmk quit (Ping timeout: 272 seconds)
801: [12:59:23] * Err404NotFound has joined #silverstripe
802: [12:59:23] * Error404NotFound quit (Disconnected by services)
803: [13:00:04] <Pydslnk> http://www.openwall.com/lists/oss-security/2015/01/27/9
804: [13:00:07] <Pydslnk> D:
805: [13:02:52] * Pydslnk is now known as Pyromanik
806: [13:03:10] <ss23> OLD
807: [13:04:30] <spronk2> ugh
808: [13:04:34] <spronk2> stupid fucking security holes
809: [13:04:45] <Pyromanik> ss23: old by 2 days
810: [13:05:28] * webspilka quit (Ping timeout: 246 seconds)
811: [13:05:39] <ss23> yeah, but considering how fast everoyne patched, 2 days is a long time
812: [13:05:47] <Pyromanik> well
813: [13:05:52] <Pyromanik> depends on your distro
814: [13:05:55] * spronk2 patched yesterday
815: [13:06:07] <Pyromanik> but... I'm assuming those who haven't patched were not affected
816: [13:06:16] <Pyromanik> because it was up to date enough anyways.
817: [13:08:47] <ss23> sleepy, goin 2 bed
818: [13:08:49] <ss23> nn guis
819: [13:08:53] <spronk2> BAI
820: [13:11:49] <Pyromanik> http://allanmcrae.com/2015/01/who-you-gonna-call/
821: [13:11:51] <Pyromanik> w00t
822: [13:11:56] * Shrike_Finland quit (Quit: Leaving.)
823: [13:11:57] <Pyromanik> assumptions correct.
824: [13:11:58] <spronk2> go busters?
825: [13:12:10] <Pyromanik> GHOST busters xD
826: [13:13:31] * origincube has joined #silverstripe
827: [13:13:41] * Pyromanik is now known as Pydsln2k
828: [13:14:35] <ss23> don't worry
829: [13:14:41] <origincube> hey guys :)
830: [13:14:44] <ss23> if you run arch you can use `pacman` to get rid of GHOST
831: [13:15:10] <spronk2> if you run arch you can use parted
832: [13:15:14] <spronk2> to get the frack rid of it
833: [13:15:30] <origincube> any of you have a guide to how to get SS running with multilanguage support (the simpler the better since i'm not technically a developer)
834: [13:15:31] <origincube> :D
835: [13:15:46] <spronk2> origincube look into Translatable
836: [13:15:56] <spronk2> https://github.com/silverstripe/silverstripe-translatable
837: [13:16:08] <spronk2> should be pretty easy to drop in
838: [13:16:26] <spronk2> even for a not-technically-a-developer
839: [13:16:27] <spronk2> ;)
840: [13:16:53] <origincube> so i should just be able to drop that in as a add on
841: [13:16:58] <origincube> and it will do the magical stuff? :)
842: [13:17:04] <spronk2> preeetty much
843: [13:17:14] <spronk2> depends
844: [13:17:16] <spronk2> if you ahve an existing site
845: [13:17:21] <spronk2> might not be that simple
846: [13:17:24] <origincube> it will be a brand new site
847: [13:17:29] <spronk2> well you're fine then
848: [13:17:29] <spronk2> :p
849: [13:17:29] <origincube> new theme etc
850: [13:17:41] <origincube> will just need to figure out how to do the theme stuff
851: [13:17:49] <spronk2> install that (preferably via composer)
852: [13:17:52] <spronk2> dev build
853: [13:17:55] <spronk2> and you're set
854: [13:18:15] <origincube> ok will do a quick test site in a bit before i tell the client yes or no
855: [13:18:16] <origincube> haha
856: [13:18:26] <origincube> don't have the patience to say yes if its going to give me ulcers
857: [13:18:31] <spronk2> :D
858: [13:19:34] * UndefinedOffset has joined #silverstripe
859: [13:19:58] <Pydsln2k> ss23: HEEEYYOOOOOOO
860: [13:20:21] <Pydsln2k> also spronk2, why would you get rid of arch?
861: [13:20:33] <Pydsln2k> It's pretty much the one truth of the world.
862: [13:21:09] <spronk2> its loonux
863: [13:21:11] <spronk2> for loonies
864: [13:21:23] <Pydsln2k> origincube: there's also fluent, a similar extention that works differently.
865: [13:21:40] <Pydsln2k> spronk2: pfft, apply fanboi deteceted!
866: [13:21:45] <Pydsln2k> xD
867: [13:21:54] <spronk2> i fucking hate apple
868: [13:21:56] <spronk2> fucking yosemite
869: [13:22:00] <spronk2> and its fucking flickering laggy gui
870: [13:22:02] <Pydsln2k> so...
871: [13:22:17] <Pydsln2k> use... like... doors 6.4?
872: [13:22:28] <spronk2> lawl
873: [13:22:43] <Pydsln2k> oh fuck sorry, I meant windows, not dos.
874: [13:22:49] <Pydsln2k> wondows 6.4
875: [13:22:52] <Pydsln2k> oh wait, I mean 10
876: [13:22:57] <Pydsln2k> SAME THIGN
877: [13:23:03] * MichalKleiner quit (Remote host closed the connection)
878: [13:23:06] <Pydsln2k> or is it 6.5
879: [13:23:09] <Pydsln2k> either way, not important
880: [13:23:23] <origincube> Pydsln2k which is easier to use / manage / deploy ? :)
881: [13:23:30] <Pydsln2k> origincube: no idea :<
882: [13:23:41] * MichalKleiner has joined #silverstripe
883: [13:23:49] <Pydsln2k> I'd make 2 clean installs and give them both a quick test.
884: [13:23:50] <Pydsln2k> tb.
885: [13:23:52] <Pydsln2k> tbh*
886: [13:24:38] <origincube> fluent is ahed given it has documentation on its github page
887: [13:24:41] <origincube> *ahead
888: [13:25:06] <spronk2> they both have their disadvantages
889: [13:25:14] <spronk2> tell us more about the site, origincube
890: [13:25:44] <origincube> its for an insurance company
891: [13:25:50] <origincube> pretty standard content site
892: [13:26:01] <origincube> with some custom javascript form handling here and there
893: [13:26:16] <origincube> and an "application" page that is handled by an external system
894: [13:26:31] <origincube> that will likely either be a new window, a modal or just an iframe (cringe)
895: [13:31:06] * Shrike_Finland has joined #silverstripe
896: [13:36:34] * MichalKl_ has joined #silverstripe
897: [13:37:46] <spronk2> hmm
898: [13:37:58] <spronk2> is it "one" site
899: [13:38:02] <spronk2> or is it like
900: [13:38:05] <spronk2> one site per country?
901: [13:38:20] * DimiStripe has joined #silverstripe
902: [13:38:49] <origincube> one site
903: [13:38:58] <origincube> joys of living in a country with 11 official languages
904: [13:38:59] * MichalKleiner quit (Ping timeout: 245 seconds)
905: [13:41:59] <origincube> am i being an idiot: composer require "silverstripe/silverstripe-translatable" "2.*-dev" ?
906: [13:42:04] <origincube> because that is so not working
907: [13:42:19] <Pydsln2k> nfi tbh :<
908: [13:42:41] <origincube> fluent is definitely leading the pack then
909: [13:42:43] <origincube> since that installed!
910: [13:42:59] <spronk2> yeahh
911: [13:43:00] <spronk2> shrug
912: [13:57:02] * Eliseth quit (Ping timeout: 264 seconds)
913: [14:10:35] <origincube> sweet, fluent seems to be working awesomely thus far! :D
914: [14:10:40] <origincube> thanks guys :)
915: [14:12:30] <origincube> now just have to figure out how to tweak the template stuff so that static content getsswapped out
916: [14:12:41] <origincube> otherwise might be simpler just to push as much into the db config as possible
917: [14:16:57] * Eliseth has joined #silverstripe
918: [14:18:07] <Eliseth> What's fluent?
919: [14:18:28] <origincube> an localisation add on :) https://github.com/tractorcow/silverstripe-fluent
920: [14:19:16] <Eliseth> Yeah... should've just googled... but I'm lazy
921: [14:19:49] <origincube> we all have those days
922: [14:20:10] <Eliseth> Can't seem to motivate myself today... I blame Magento
923: [14:24:25] * Otterpocket quit (Quit: Otterpocket)
924: [14:29:28] <origincube> hmm, do you guys know how to get this fluent stuff working with the blog module as well?
925: [14:29:46] <origincube> although i'd imagine that they aren't likely to release blog posts in all languages anyway
926: [14:40:00] * Shrike_Finland quit (Quit: Leaving.)
927: [14:59:49] <Pydsln2k> origincube: depends on how you set the locale I think.
928: [14:59:58] <Pydsln2k> if you set it, it should just work.
929: [15:00:03] <Pydsln2k> it all runs through the _t command
930: [15:00:12] <Pydsln2k> hence why templates look like that
931: [15:00:38] <Pydsln2k> <% t(blog.THING, Default Value here) %> or something like that
932: [15:01:29] <origincube> yeah, the problem is that i don't think the blog comes with the 3 other languages
933: [15:03:30] * spronk2 quit (Quit: I may need a longer sleep timer...)
934: [15:07:21] <Pydsln2k> origincube: which are... ?
935: [15:07:45] <Pydsln2k> https://github.com/silverstripe/silverstripe-blog/tree/master/lang
936: [15:09:58] <Eliseth> I'm getting the following error: [Notice] Undefined offset: 0. How can I check if the offset exists without triggering the error?
937: [15:09:58] <origincube> af, st and zu
938: [15:24:31] <kinglozzer> Pydsln2k: s'finally snaaan here noo
939: [15:24:45] <kinglozzer> (my geordie needs some work)
940: [15:25:56] <Pydsln2k> kinglozzer: oh yups
941: [15:26:03] <Eliseth> nvm
942: [15:26:13] <Pydsln2k> Eliseth: isset
943: [15:26:53] <Eliseth> was an array, used array_key_exists
944: [15:27:24] <Pydsln2k> but that'll only work if it's an array.
945: [15:27:34] <Pydsln2k> you should check that too! (unless you're 100% sure it is)
946: [15:28:49] <Pydsln2k> "why do we have to log in?"
947: [15:29:04] <Pydsln2k> legitimate (and persistently asked) question from the project owners.
948: [15:29:16] <Pydsln2k> kinglozzer: what do?
949: [15:29:36] <kinglozzer> Pydsln2k: give up and read this https://github.com/alex/what-happens-when
950: [15:29:37] * muskie9 has joined #silverstripe
951: [15:30:51] <Pydsln2k> and I'm down at the bottom of a pit in the blazing sun
952: [15:32:43] <Eliseth> <% if $MyCustomPage %><a href="$MyCustomPage.Link">$MyCustomPage.Title</a><% end_if %>
953: [15:33:02] <Eliseth> Shouldn't that show the link of my custom pagetype if there is one, and nothing if there isn't?
954: [15:33:16] <Eliseth> (because now it never shows anything)
955: [15:51:22] <arnhoe> What do you guys recommend when I want my silverstripe website to run on a webservice api?
956: [15:51:32] <Pydsln2k> Eliseth: no.
957: [15:51:34] <Pydsln2k> well
958: [15:51:34] <Pydsln2k> maybe
959: [15:51:45] <Pydsln2k> depends what MyCustomPage is a reference to
960: [15:52:00] <Eliseth> I think I have it figured out
961: [15:52:01] <Pydsln2k> if it's a has_one from the currently in scope object, then yes.
962: [15:52:24] <Eliseth> I had to make a function that returns the first instance of that particular pagetype
963: [15:56:47] <Pydsln2k> well
964: [15:56:48] <Pydsln2k> no
965: [15:56:49] <Pydsln2k> you didn't
966: [15:56:55] <Pydsln2k> MyCustomPage.First.Link
967: [15:57:13] <Pydsln2k> if it's a has/many_many
968: [16:07:19] <Pydsln2k> wholey shit guys
969: [16:07:30] <Pydsln2k> I just found probably the most insulting thing to feminisim everywhere: https://www.google.co.uk/search?q=stock+image+woman+driving+car
970: [16:08:00] <Pydsln2k> for comparison: https://www.google.co.uk/search?q=stock+image+man+driving+car
971: [16:10:18] <kinglozzer> lol Pydsln2k, because all women sit 3cm from the steering wheel
972: [16:12:24] <Pydsln2k> then again, http://www.shutterstock.com/video/clip-6803368-stock-footage-happy-hip-business-man-dancing-and-singing-celebrating-while-driving-car.html
973: [16:12:33] <Pydsln2k> kinglozzer: yeah but I mean... click Images.
974: [16:12:39] <Pydsln2k> there are some shockers.
975: [16:13:15] <kinglozzer> rofl
976: [16:13:16] <Pydsln2k> doing makeup, pretending they can drive, mouths open like they're crashing, looking sultry like they're about to get heavy with the gear lever
977: [16:14:07] * masnun has joined #silverstripe
978: [16:14:09] <Pydsln2k> where as the men photos are either parked at giving thumbs up (ie, not pretending to drive while parked), ACTUALLY driving, or other such like more almost normal images
979: [16:14:40] <Pydsln2k> excepting the happy hip businessman twat I linked above, which is pretty f'n hilarious.
980: [16:17:25] * Shrike_Finland has joined #silverstripe
981: [16:18:09] * travis-ci has joined #silverstripe
982: [16:18:09] <travis-ci> dhensby/silverstripe-framework#70 (3.1 - d943667 : Daniel Hensby): The build passed.
983: [16:18:09] <travis-ci> Change view : https://github.com/dhensby/silverstripe-framework/compare/efb1eb588606...d9436675a17c
984: [16:18:09] <travis-ci> Build details : http://travis-ci.org/dhensby/silverstripe-framework/builds/48777802
985: [16:18:09] * travis-ci has left #silverstripe
986: [16:18:50] <Pydsln2k> Just added my 201st field to a single table.
987: [16:22:27] * travis-ci has joined #silverstripe
988: [16:22:27] <travis-ci> dhensby/silverstripe-framework#71 (pulls/treeupdate-hook - 9b5772b : Daniel Hensby): The build has errored.
989: [16:22:27] <travis-ci> Change view : https://github.com/dhensby/silverstripe-framework/commit/9b5772bc7c24
990: [16:22:27] <travis-ci> Build details : http://travis-ci.org/dhensby/silverstripe-framework/builds/48778058
991: [16:22:27] * travis-ci has left #silverstripe
992: [16:26:17] * arnhoe quit ()
993: [16:31:13] * Shrike_Finland quit (Ping timeout: 244 seconds)
994: [16:31:55] * websoukja has joined #silverstripe
995: [16:32:31] * Shrike_Finland has joined #silverstripe
996: [16:34:39] * jenniferaslan has joined #silverstripe
997: [16:36:10] * websoukja quit (Ping timeout: 246 seconds)
998: [16:38:31] * Vanny has joined #silverstripe
999: [16:38:39] * Shrike_Finland quit (Ping timeout: 256 seconds)
1000: [16:39:13] <Vanny> Anyone have trouble getting GreaterThanOrEqualFilter to work?
1001: [16:40:07] * Shrike_Finland has joined #silverstripe
1002: [16:40:34] * Shrike_Finland quit (Client Quit)
1003: [16:40:45] * Shrike_Finland has joined #silverstripe
1004: [16:42:49] * origincube has left #silverstripe
1005: [16:44:45] * LoveDuckie has joined #silverstripe
1006: [16:45:27] * PigeonFriend has joined #silverstripe
1007: [16:45:50] <PigeonFriend> hey all. Anyone know if it's possible to set the priority order of _config.php files?
1008: [16:46:57] * LoveDuckie quit (Client Quit)
1009: [16:47:16] * LoveDuckie has joined #silverstripe
1010: [16:54:40] <kinglozzer> PigeonFriend: A quick glance at ConfigManifest suggests no
1011: [16:56:38] <PigeonFriend> indeed... which is odd
1012: [16:56:44] * Shrike_Finland quit (Read error: No route to host)
1013: [16:56:52] <PigeonFriend> as I need mysite/_config.php to be loaded "first"
1014: [16:56:54] * Shrike_Finland has joined #silverstripe
1015: [16:56:59] <PigeonFriend> but I'd have thought most people need it loaded last
1016: [16:58:37] * Shrike_Finland quit (Client Quit)
1017: [17:00:46] * Liquide quit ()
1018: [17:02:26] <PigeonFriend> kinglozzer ^
1019: [17:02:44] <PigeonFriend> anyway, I've hacked it, it was more my purist that wanted to fix it
1020: [17:02:59] <kinglozzer> PigeonFriend: a_modulename/ ? :P
1021: [17:03:04] <PigeonFriend> I'm using Illuminate/events on a project and for that you need a facade appliation created
1022: [17:03:13] <PigeonFriend> unix doesn't sort by name out the box
1023: [17:04:01] * Shrike_Finland has joined #silverstripe
1024: [17:05:15] * Vanny quit (Quit: Page closed)
1025: [17:05:15] * Shrike_Finland quit (Read error: Connection reset by peer)
1026: [17:05:18] * Shrike_Finland1 has joined #silverstripe
1027: [17:06:31] <Pydsln2k> PigeonFriend: it's always been undefined.
1028: [17:06:36] <Pydsln2k> iirc it goes in alphabetical order though.
1029: [17:06:56] <Pydsln2k> It's not odd. 2.4 docs had specific instructions not to rely on such things.
1030: [17:08:51] * masnun quit (Ping timeout: 276 seconds)
1031: [17:10:37] * masnun has joined #silverstripe
1032: [17:11:40] * Shrike_Finland1 quit (Quit: Leaving.)
1033: [17:18:07] * kinglozzer quit ()
1034: [17:18:18] <Pydsln2k> hooooome!
1035: [17:18:20] * Pydsln2k quit ()
1036: [17:33:12] * masnun quit (Read error: Connection reset by peer)
1037: [17:37:23] * masnun has joined #silverstripe
1038: [17:38:00] * Shrike_Finland has joined #silverstripe
1039: [17:47:54] * Shrike_Finland1 has joined #silverstripe
1040: [17:47:54] * Shrike_Finland quit (Read error: Connection reset by peer)
1041: [18:07:05] * _hschillig has joined #silverstripe
1042: [18:07:32] <_hschillig> I enabled the fullsearch text on my site. How do I make it tell which columns to search in a dataobject? Is there a property of an array to set this to?
1043: [18:10:43] * Shrike_Finland1 quit (Quit: Leaving.)
1044: [18:11:24] * Shrike_Finland has joined #silverstripe
1045: [18:19:06] * Shrike_Finland quit (Quit: Leaving.)
1046: [18:29:40] * Shrike_Finland has joined #silverstripe
1047: [18:36:52] * blueman has joined #silverstripe
1048: [18:50:42] * gelignite has joined #silverstripe
1049: [18:55:49] * blueman quit (Ping timeout: 246 seconds)
1050: [19:00:37] <DimiStripe> Hey guys!
1051: [19:04:18] <DimiStripe> Is there a way of srting by "Created", but limit sort to HOURS in doublesorting? . Currently I have "Created DESC, country ASC", however as Created is sorted by minutes and seconds, I can't prioretize records by country . What I want to achieve is sorting it in such a way that country sort would be important for the last several hours results.
1052: [19:04:23] <DimiStripe> if you see what i mean :D
1053: [19:04:35] * antmas quit (Quit: Page closed)
1054: [19:05:55] <DimiStripe> its basically for sorting proxy list. So the newer the better , but if within 1-2 hours there where required country proxy - i should use them even thou they are bit older than the others
1055: [19:07:46] <masnun> Hi, I need a suggestion. I am storing HTML emails in the database. So I need to offer some sort of template system to the admin. How should I achieve this?
1056: [19:15:27] * oddnoc has joined #silverstripe
1057: [19:23:34] * Stomach has joined #silverstripe
1058: [19:25:53] * _hschillig has left #silverstripe
1059: [19:25:53] <muskie9> masnun, might be worth digging through this https://github.com/silverstripe-labs/silverstripe-newsletter
1060: [19:26:08] * willr has joined #silverstripe
1061: [19:26:10] * Error404NotFound has joined #silverstripe
1062: [19:28:23] * Err404NotFound quit (Ping timeout: 240 seconds)
1063: [19:38:17] * zippy has joined #silverstripe
1064: [19:42:27] * Ryan-Toast has joined #silverstripe
1065: [19:45:54] * JeremyRoundill has joined #silverstripe
1066: [19:46:17] <JeremyRoundill> Tena koutou!
1067: [19:47:21] * Azure quit (Read error: Connection reset by peer)
1068: [19:48:33] * Shrike_Finland1 has joined #silverstripe
1069: [19:49:17] <zippy> hi
1070: [19:51:44] * Azure has joined #silverstripe
1071: [19:56:17] * veb has joined #silverstripe
1072: [19:56:37] * Shrike_Finland quit (Ping timeout: 264 seconds)
1073: [19:56:38] * Phlunk3 quit (Ping timeout: 264 seconds)
1074: [19:57:53] * Phlunk3 has joined #silverstripe
1075: [20:02:19] * glenn-bautista has joined #silverstripe
1076: [20:08:28] * mobiusnz has joined #silverstripe
1077: [20:09:15] * mobiusnz1 has joined #silverstripe
1078: [20:09:16] * mobiusnz quit (Read error: Connection reset by peer)
1079: [20:09:25] * mobiusnz1 is now known as mobiusnz
1080: [20:09:53] * willr quit (Quit: willr)
1081: [20:17:45] * mobiusnz quit (Read error: No route to host)
1082: [20:20:36] * mobiusnz has joined #silverstripe
1083: [20:22:36] * LoveDuckie quit (Quit: LATER TATERS!)
1084: [20:31:38] <Stomach> hello zippy
1085: [20:31:43] <zippy> hi
1086: [20:34:32] <Ryan-Toast> Hello, people.
1087: [20:34:38] <Ryan-Toast> Stomach, Zippy.
1088: [20:34:42] * Ryan-Toast tips hat.
1089: [20:34:53] <Ryan-Toast> Mi’velepors
1090: [20:35:03] <zippy> Ryan-Toast, Stomach, ss23 , *.* o/
1091: [20:37:17] * spekulatius quit (Remote host closed the connection)
1092: [20:40:29] * UncleCheese has joined #silverstripe
1093: [20:40:38] <zippy> UncleCheese: o/
1094: [20:40:46] <UncleCheese> hi
1095: [20:42:13] * spekulatius has joined #silverstripe
1096: [20:47:57] <Stomach> how was birthday UncleCheese
1097: [20:48:03] <UncleCheese> good, man
1098: [20:48:14] <UncleCheese> took a nice walk down the water front, grabbed a beer
1099: [20:48:21] <UncleCheese> had a nice dinner at Chow
1100: [20:48:49] <UncleCheese> ate cupcakes with my boy
1101: [20:49:10] <UncleCheese> ... who woke up this morning demandng them for breakfast
1102: [20:53:28] <Ryan-Toast> Can you set a classes “const” with a global const, i.e const FOO = GLOBAL_CONST.’/herp-derp’ ?
1103: [20:59:11] <zippy> can in php 5.5
1104: [20:59:13] <zippy> diodn't try others
1105: [20:59:34] * micmania1 has joined #silverstripe
1106: [21:02:38] <Ryan-Toast> zippy: hmm, doesn’t seem to like it.
1107: [21:06:30] <zippy> Ryan-Toast: http://pastebin.com/zTCVeS2N
1108: [21:06:36] * Frans_Amsterdam has joined #silverstripe
1109: [21:06:57] <Ryan-Toast> zippy: Yeah, doesn’tt like it. Maybe my test server php needs upgrading.
1110: [21:07:05] <zippy> what v?
1111: [21:07:11] <Ryan-Toast> dunno, will check
1112: [21:07:37] * MichalKl_ is now known as MichalKleiner
1113: [21:14:40] <zippy> UncleCheese: how many hits do you get to http://www.leftandmain.com/silverstripe-tips/2010/09/08/8-common-silverstripe-errors-explained-and-solved/ ? I run into it often!
1114: [21:15:05] <UncleCheese> ha
1115: [21:15:07] <UncleCheese> i should check!
1116: [21:18:36] * Shrike_Finland has joined #silverstripe
1117: [21:20:49] * Shrike_Finland1 quit (Ping timeout: 255 seconds)
1118: [21:21:16] <UncleCheese> i can't belive it's still relevant
1119: [21:22:23] <zippy> #1 flush
1120: [21:22:30] <zippy> #2 dev/duild
1121: [21:22:37] <zippy> #3 flush :P
1122: [21:23:09] <zippy> UncleCheese: whats stats
1123: [21:23:29] <JeremyRoundill> zippy: /dev/build?flush=all
1124: [21:23:34] <JeremyRoundill> If that fails, read the docs.
1125: [21:23:50] <JeremyRoundill> Stay the hell away from IRC! Everybody there is really hostile.
1126: [21:24:18] * mobiusnz quit (Quit: Leaving.)
1127: [21:24:54] <UncleCheese> zippy it's the #1 page on the site
1128: [21:24:59] <UncleCheese> more than the home page
1129: [21:25:12] <UncleCheese> last 30 days, 706 views, 677 uniques
1130: [21:25:22] <UncleCheese> average time spent on the page is 9 minutes
1131: [21:25:22] * Shrike_Finland quit (Read error: Connection reset by peer)
1132: [21:25:23] * Shrike_Finland1 has joined #silverstripe
1133: [21:26:13] <Stomach> UncleCheese - Gus loves the cupcakes
1134: [21:26:15] * DimiStripe quit (Quit: DimiStripe)
1135: [21:26:25] <UncleCheese> yeah, man. wont' stop talking about them
1136: [21:32:08] <zippy> UncleCheese: decent
1137: [21:33:17] * Colin[pi] has joined #silverstripe
1138: [21:33:37] <Colin[pi]> morning all!
1139: [21:34:05] <zippy> morning
1140: [21:41:27] * Stomach quit (Ping timeout: 264 seconds)
1141: [21:56:55] * LoveDuckie has joined #silverstripe
1142: [21:57:10] * veb quit (Quit: veb-irc: &)
1143: [21:57:47] * mobiusnz has joined #silverstripe
1144: [21:59:41] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
1145: [21:59:43] * veb has joined #silverstripe
1146: [22:00:04] * muskie9 has joined #silverstripe
1147: [22:08:45] * Frans_Amsterdam quit (Quit: Textual IRC Client: www.textualapp.com)
1148: [22:16:47] * Nightjar has joined #silverstripe
1149: [22:18:03] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
1150: [22:19:07] * UndefinedOffset quit (Quit: Leaving.)
1151: [22:26:02] * Guest52891 has joined #silverstripe
1152: [22:27:54] * Guest52891 quit (Client Quit)
1153: [22:33:35] * mobiusnz1 has joined #silverstripe
1154: [22:33:43] * antmas has joined #silverstripe
1155: [22:33:51] <antmas> hello world
1156: [22:34:07] <Colin[pi]> hey antant o/
1157: [22:34:34] <antmas> I noticed the friendly message is missing from the logs :>
1158: [22:35:00] <antmas> and that it is friday :D
1159: [22:35:03] <antmas> long weekend!
1160: [22:35:05] <Colin[pi]> antmas: which friendly message?
1161: [22:35:19] <antmas> Colin[pi]: the one about us being jerks :D
1162: [22:35:29] * mobiusnz quit (Ping timeout: 265 seconds)
1163: [22:37:06] * oddnoc quit (Quit: beer:30)
1164: [22:40:39] <Colin[pi]> antmas: well we are jerks, but nobody likes to be told! :C
1165: [22:42:37] * spronk2 has joined #silverstripe
1166: [22:43:09] * muskie9 quit (Max SendQ exceeded)
1167: [22:43:28] <zippy> mm
1168: [22:44:36] <antmas> why put it up, then take it down?
1169: [22:44:57] <zippy> im not sure about a lot of things at the moment
1170: [22:45:02] <zippy> except its friday, and I am tried
1171: [22:45:19] * antmas is tired also
1172: [22:45:27] <antmas> too much sharepoint for one man
1173: [22:46:58] * mahfuz has joined #silverstripe
1174: [22:47:41] <zippy> the $casting array looks useful, should remember about that
1175: [22:48:16] * muskie9 has joined #silverstripe
1176: [22:48:20] <antmas> trying to find a gif is hard
1177: [22:49:48] <Colin[pi]> antmas: which one?
1178: [22:49:52] <Colin[pi]> I have a big folder full
1179: [22:50:53] <antmas> this one where a girl has hillarious hair that flaps like a bird
1180: [22:52:13] <Nightjar> antmas, long weekend?
1181: [22:52:15] <Colin[pi]> antmas: hmm don't think I have, google found this one: http://i.imgur.com/CdIKqpf.gif (but it's not the hair!)
1182: [22:52:43] <Nightjar> anniversary or something? or you just take leave?
1183: [22:53:05] <antmas> Nightjar: anniversay
1184: [22:53:11] <antmas> so super short week
1185: [22:53:11] <antmas> :D
1186: [22:53:26] <Nightjar> nice for folk in your area then
1187: [22:53:36] <Nightjar> so uhh, what friendly message?
1188: [22:54:10] * vanny has joined #silverstripe
1189: [22:54:15] <antmas> "These logs were automatically created by ss-log from a channel of entitled jerks."
1190: [22:54:38] <Nightjar> o.0 :<
1191: [22:54:48] <Nightjar> never saw it
1192: [22:55:01] <antmas> it was right at the bottom, but the ad :P
1193: [22:55:07] <antmas> by*
1194: [22:55:12] <Nightjar> oh, on the site.
1195: [22:55:17] <antmas> yarp
1196: [22:55:30] <Nightjar> I don't look down there.
1197: [22:55:40] <antmas> Colin[pi]: I saw the gif on the chive, but that site is horrible to find anything
1198: [22:55:45] <Colin[pi]> aye
1199: [22:55:49] <vanny> Im having trouble with this in the CMS part, its showing fine but not saving $fields->addFieldToTab('Root.Main', new DropdownField('Category', 'Category', array(''=>'','Networking'=>'Networking','Business'=>'Business','Social'=>'Social','Family'=>'Family','Community'=>'Community')),'Content');
1200: [22:55:51] <Nightjar> I just unblocked ads and continued to not give a fuck, 'coz I'm not an entitled jerk, you jerk.
1201: [22:56:00] <muskie9> antmas Nightjar https://web.archive.org/web/20150123003458/http://logs.simon.geek.nz/
1202: [22:56:44] <Motoservo> I just spent a whole day trying to get my local dev environment back up. Seems I had a global my.cnf file reassigning my macports socket. All is good now though, and mysql seems to be working as I remember (been awhile since I’ve coded). Strangely though, the SS installer is still saying “I couldn't find a database server on 'localhost': No such file or directory”.
1203: [22:57:05] <Motoservo> And, though the page states I can install anyway, despite the warning, I can't.
1204: [22:57:25] <Motoservo> not that I’d really want to but was curious to see what would happen had I marched on.
1205: [22:57:44] <Motoservo> Any ideas on why I’m still getting a warning?
1206: [22:58:16] <Nightjar> vanny, don't new. don't ''=>''
1207: [22:58:44] <Nightjar> Motoservo, don't use the installer
1208: [22:58:57] <Nightjar> no one does, that's the secret.
1209: [22:59:22] <Motoservo> So, you mean the only way to use Silversripe now is to learn Composer an GIT?
1210: [22:59:33] <Nightjar> no
1211: [22:59:35] <Motoservo> SS has really slipped in the last couple years then. ;)
1212: [22:59:44] <Nightjar> it works, but your dev setup is a mess.
1213: [22:59:46] <Colin[pi]> Motoservo: tbh composer is a good thing to learn
1214: [22:59:58] <Nightjar> you should just stop avoiding the truth of the matter.
1215: [23:00:14] <Nightjar> less hassle, more dev.
1216: [23:00:37] <Motoservo> Wow. The snark factor has shot through the roof in the SS channel now, too.
1217: [23:00:40] <zippy> filtering for a null value.... ->filter('Field', NULL) isn't doing a null query.... is it possible..
1218: [23:00:48] <Nightjar> wow, didn't intend snark.
1219: [23:00:52] <Motoservo> A few year s ago it was a lot more professional, up in here.
1220: [23:01:31] <zippy> Motoservo: :) you don't need composer, you also don't need to run the install. Usually want I do is open the mysite/_config.php and set a database name. Then setup a _ss_environment.php file with my details and then hit the site.
1221: [23:01:32] <Colin[pi]> Motoservo: yeah now we're all a bunch of entitled jerks
1222: [23:01:38] <zippy> Colin[pi]: :P
1223: [23:01:55] <zippy> Colin[pi]: why you not aswering my question! I am entitled to an answer right now!
1224: [23:02:51] <Nightjar> Motoservo, modern development has moved on. You don't _need_ anything except php to run SS & a database really.
1225: [23:03:08] <Ryan-Toast> vanny: do you have a $bd field called Category?
1226: [23:03:12] <Ryan-Toast> $db**
1227: [23:03:13] <Motoservo> Thanks, zippy. I ditched SS Dev a couple years ago though I have this one single site I need to build for a friend. So, was trying to take the path of least resistance.
1228: [23:03:19] <Nightjar> but just as SS now no longer runs on php 5.2, you should also update your practices.
1229: [23:03:59] <Motoservo> Moved on from *what*, Nightjar ? That’s all I needed before.
1230: [23:04:07] <Nightjar> Motoservo, and we're trying to advise the path of least resistance. But you just call us snarky :( It's not intended that way.
1231: [23:04:08] <vanny> Yeah, I have that field
1232: [23:04:15] <vanny> I thknk I am getting there
1233: [23:04:26] <Ryan-Toast> vanny: did you do a dev/build?
1234: [23:05:06] <Nightjar> Motoservo, well, differing dev/live environments, svn, manually installing things, ftp. You name it really.
1235: [23:05:40] <Motoservo> Well, Nightjar, with comments like “you should just stop avoiding the truth of the matter.” and “your dev setup is a mess”, how could anybody take you seriously?
1236: [23:05:41] <Nightjar> Some goof even invented a whole new language to build CSS for you, after you define it in this more complex language.
1237: [23:05:58] <zippy> Motoservo: im not sure how you mysql is setup, is it on? if it can't connect try using either 127.0.0.1 or localhost (one uses tcp, one uses sockets I believe)
1238: [23:06:10] <Ryan-Toast> http://i.imgur.com/BhA29.gif
1239: [23:06:24] <Motoservo> I’ll try that, zippy. Thanks.
1240: [23:06:24] <Nightjar> Motoservo, well we're offering you help and you just ignore us. It's just as frustrating from this angle that you won't accept our help!
1241: [23:07:00] <vanny> Thanks eveyrone, I got it working :) Enum the way to go
1242: [23:07:20] <Nightjar> gw vanny :)
1243: [23:07:39] <Motoservo> I guess I was hoping for some insight, not a workaround to just not use the installer. Anwyay, we digress.
1244: [23:07:46] * antmas_ has joined #silverstripe
1245: [23:07:48] <vanny> No thanks to you and Colin[pi].....
1246: [23:07:57] <Colin[pi]> :D
1247: [23:08:12] <Nightjar> Motoservo, well, it's an environment config issue, which I at least cannot help with, so I suggest a work around.
1248: [23:08:25] <Ryan-Toast> vanny: yarp, remember to use the setEmptyString () method instead of an empy Enum.
1249: [23:08:35] <Nightjar> I didn't mean it to be snarky, but then you snark up that SS has 'slipped'
1250: [23:08:37] <Nightjar> :<
1251: [23:08:52] * Sticks has joined #silverstripe
1252: [23:09:23] <Nightjar> a suggested work around is better than no solution because no mac pros are on hand to help solve the issue
1253: [23:09:27] <Nightjar> I thought at least
1254: [23:09:43] <Ryan-Toast> What’s wrong with the installer?
1255: [23:10:03] <Nightjar> won't find his database
1256: [23:10:09] <Nightjar> but it's running.
1257: [23:10:33] <zippy> Motoservo: an luck?
1258: [23:10:37] * antmas quit (Ping timeout: 246 seconds)
1259: [23:10:41] <Ryan-Toast> What’s the database he’s running? MAMP?
1260: [23:10:44] <Nightjar> yup
1261: [23:11:33] * spronk2 quit (Ping timeout: 276 seconds)
1262: [23:11:34] <antmas_> what to lunch
1263: [23:11:35] <Nightjar> zippy's probably on the money I think.
1264: [23:11:39] * antmas_ is now known as antmas
1265: [23:11:40] <Nightjar> antmas_, food.
1266: [23:11:42] <Ryan-Toast> Make sure nothing else is using the mamp port.
1267: [23:11:49] <Ryan-Toast> Skype used to.
1268: [23:12:02] <Nightjar> MAMP has a port?
1269: [23:12:18] <Ryan-Toast> a local port
1270: [23:12:27] <Nightjar> MySQL has a port, Apache has a port... didn't know MAMP had one :P
1271: [23:12:47] <Motoservo> Still looking, zippy.
1272: [23:13:17] <Motoservo> Not MAMP, Ryan-Toast, macports mysql56-server
1273: [23:13:29] * Hailwood has joined #silverstripe
1274: [23:13:51] <zippy> ... doing ->filter('Foo', NULL); or ->filter('Foo', 'NULL'); doesnt actually do WHERE Foo is NULL, just Foo=''
1275: [23:13:59] <zippy> is it not possible to check if someting is null...
1276: [23:14:03] <zippy> without custom sql
1277: [23:14:05] <Ryan-Toast> Motoservo: Oh, sorry. Haven’t used that before.
1278: [23:14:30] <Ryan-Toast> zippy: Ddin’t we talk about this yesterday?
1279: [23:14:36] <zippy> Motoservo: in the installer, mysql server use localhost or 127.0.0.1
1280: [23:14:44] <Nightjar> Motoservo, easiest dev setup: use vagrant, get https://vagrantcloud.com/zauberfisch/boxes/silverstripe-trusty64
1281: [23:14:51] <zippy> Ryan-Toast: no, different. that was ->filter('Group.ID', x);
1282: [23:15:04] <Nightjar> I'm not 100%, but it may even come with SS already installed.
1283: [23:15:25] <Nightjar> zippy, no, not yet :(
1284: [23:15:32] <Motoservo> localhost is the mysql convention, I believe. But lookback should still asign to either in etc/hosts, right?
1285: [23:15:43] <Hailwood> Hi guys, so on one particular set of pages when navigating to the page via the cms we get the blue dots for loading, but then they disappear without loading the page - the url has changed, and navigating directly to the url loads the page.
1286: [23:15:54] <zippy> Motoservo: yea but mysql does something freaky... it will use socket for one and tcp for the other
1287: [23:16:01] <Nightjar> Motoservo, I would have thought so... but macports :<
1288: [23:16:20] <Ryan-Toast> Hailwood: check console first, if nothing check the logs.
1289: [23:16:21] <zippy> "localhost" means local socket connection while 127.0.0.1 is TCP/IP
1290: [23:16:40] <Ryan-Toast> Hailwood: Also set to dev mode first.
1291: [23:16:56] <Nightjar> Hailwood, what Ryan-Toast is trying to say is "Javascript error"
1292: [23:17:00] <Hailwood> There doesn't seem to be an error with the returned content from the ajax request as it returns {"Content": "...HTML HERE..."} just as any other page.
1293: [23:17:13] <Nightjar> no errors show up?
1294: [23:17:22] <Ryan-Toast> Hailwood: Are you in dev mode?
1295: [23:17:35] <Nightjar> the return can be fine, but actual JS side errors (not server response errors)
1296: [23:18:59] <antmas> hmmmm
1297: [23:19:05] <Motoservo> Thanks for the tips. Have to pop out for a bit but back online in a bit.
1298: [23:19:15] <antmas> is there a way to have an iframe target only a specific element from it's src?
1299: [23:19:20] <antmas> its*
1300: [23:19:31] <Nightjar> huh?
1301: [23:19:55] <Colin[pi]> antmas: don't think so, but you could do that with jquery/ajax
1302: [23:19:58] <Nightjar> but I don't think so.
1303: [23:20:04] <antmas> mmm
1304: [23:20:08] <Nightjar> iframe is a page in a page. You can't load half a page normally.
1305: [23:20:20] <antmas> yeah silly question
1306: [23:20:31] <Nightjar> you can load segements like Colin[pi] says with jquery easily
1307: [23:20:36] <Colin[pi]> antmas: when you pull in html via ajax I believe you can specify the element/path to display
1308: [23:20:59] <antmas> Colin[pi]: yeah?
1309: [23:21:01] <antmas> hmmm
1310: [23:21:05] <veb> do you guys find silverstripe to be easy for the end user?
1311: [23:21:20] <antmas> Colin[pi]: link to how to do this?
1312: [23:21:23] <veb> i.e. someone used to putting content via tumblr even
1313: [23:21:28] <Colin[pi]> antmas: http://api.jquery.com/load/
1314: [23:21:33] <antmas> veb: generally yeah
1315: [23:21:34] <Colin[pi]> look at "loading page fragments
1316: [23:21:38] <antmas> Colin[pi]: tah
1317: [23:21:49] <veb> antmas: hows that?
1318: [23:21:59] <veb> I find it's extremely bloated on the admin side
1319: [23:22:04] <Hailwood> Ryan-Toast, Nightjar: http://imgur.com/lRkowmy (Console after request), https://gist.github.com/anonymous/4fb9cf782e2695874f8b (ajax response)
1320: [23:22:06] <veb> unless we're talking privledges
1321: [23:22:10] <Nightjar> vanny, in any case, before I got distracted, I was trying to advise you to use CLASS::create over new CLASS and also to use DropdownField::setEmptyString (or simply the 4th? param in the constructor if that's not deprecated yet)
1322: [23:22:27] <Nightjar> when you use create you can chain.
1323: [23:22:51] <Colin[pi]> veb: tbh I actually preferred the 2.4 cms in terms of speed/layout :\
1324: [23:22:56] <Nightjar> so DropdownField::create($name, $title, $list->map()->toArray())->setEmptyString('')
1325: [23:23:00] <Nightjar> :>
1326: [23:23:08] <Nightjar> good night.
1327: [23:23:09] * Nightjar quit (Quit: Leaving)
1328: [23:23:23] <veb> Colin[pi]: yeah agreed the earlier versions
1329: [23:23:26] <veb> like Chrome imo
1330: [23:23:26] <Colin[pi]> veb: never really been a huge fan of the 3.x cms
1331: [23:23:49] <Colin[pi]> just find it slow and some of the changes I didn't really like
1332: [23:23:51] <Colin[pi]> but eh
1333: [23:23:57] <veb> I'm sort of looking for something else. I don't need menu designers or anything. Just page/edit/media
1334: [23:24:18] <antmas> veb an alt to ss?
1335: [23:24:47] <veb> mm yes
1336: [23:24:53] <veb> but not so big
1337: [23:25:15] <veb> check the demo on this
1338: [23:25:16] <veb> https://www.django-cms.org/en/
1339: [23:25:23] <veb> has inline editing
1340: [23:25:25] <veb> but too big
1341: [23:25:41] * Colin[pi] starts to sing Django theme song
1342: [23:26:10] <Ryan-Toast> “veb: do you guys find silverstripe to be easy for the end user?"
1343: [23:26:12] <Ryan-Toast> yes.
1344: [23:26:19] <Ryan-Toast> As long as you build the cms properly.
1345: [23:26:30] <veb> https://www.dropbox.com/s/hf9jpvlv5yqfm4n/Screenshot%202015-01-30%2012.26.20.png?dl=0
1346: [23:26:30] <Ryan-Toast> Seen some shocking shit in my time with SS and other devs
1347: [23:26:34] <Ryan-Toast> TABS EVERYWHERE!
1348: [23:26:36] <Colin[pi]> Ryan-Toast: you built your own cms?
1349: [23:26:37] <Colin[pi]> ;P
1350: [23:26:44] <Ryan-Toast> Colin[pi]: I just mean organising stiuff.
1351: [23:26:47] <Colin[pi]> mm
1352: [23:26:47] <veb> I find that SS is too big for my current needs.
1353: [23:27:01] <Ryan-Toast> veb: use the model admin
1354: [23:27:07] <Colin[pi]> veb: really? I think SS overall is still fairly lean compared to some
1355: [23:27:09] <veb> shockingly small number of smaller ones
1356: [23:27:59] <Hailwood> So, Ryan-Toast Any ideas?
1357: [23:28:17] <Ryan-Toast> Hailwood: dev mode on, and error reporting on?
1358: [23:29:08] <Hailwood> Ryan-Toast, It's on the live server so I've used IsDev=1 that should do it yeah?
1359: [23:29:11] <veb> http://instant-update.com
1360: [23:29:19] <Ryan-Toast> Hailwood: I don’t think so.
1361: [23:30:10] <Hailwood> Ah snap... Hmm Ok lunch time and then I'll have to put the site in dev mode for a bit via the director heh
1362: [23:30:13] <Ryan-Toast> veb: just build something that compiles to a Jekyll site.
1363: [23:30:27] <veb> http://veb.nz is
1364: [23:30:30] <Ryan-Toast> Hailwood: via your _config.yml
1365: [23:30:31] <veb> but this is for a client
1366: [23:30:41] <veb> who needs to add stuff and shiz
1367: [23:31:08] * Stomach has joined #silverstripe
1368: [23:31:09] <Ryan-Toast> that’s what I’m saying, build a cms that pushes to git :D
1369: [23:31:17] * Ryan-Toast I should build that
1370: [23:31:39] <veb> overkill haha
1371: [23:31:55] <Ryan-Toast> The performance is great for jekyll sites though.
1372: [23:32:34] <veb> yeah
1373: [23:33:57] <veb> Ryan-Toast: http://thinkshout.com/blog/2014/10/success-building-cmsless-production-sites-with-jekyll/
1374: [23:36:32] * antmas_ has joined #silverstripe
1375: [23:37:13] * antmas quit (Ping timeout: 246 seconds)
1376: [23:48:37] * Motoservo quit (Quit: Motoservo)
1377: [23:52:48] * mobiusnz1 quit (Quit: Leaving.)
1378: [23:55:07] * Motoservo has joined #silverstripe
1379: [23:57:19] * Shrike_Finland1 quit (Quit: Leaving.)

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