#silverstripe IRC Log

IRC log for 29 October 2015

All timestamps are in UTC.

1: [01:06:39] * ss-log has joined #silverstripe
2: [01:10:06] * novaweb has joined #silverstripe
3: [01:12:46] * novaweb quit (Remote host closed the connection)
4: [01:14:35] * antmas quit (Quit: Page closed)
5: [01:24:18] * micmania1 quit (Quit: micmania1)
6: [01:24:48] * micmania1 has joined #silverstripe
7: [01:25:26] * novaweb has joined #silverstripe
8: [01:28:27] * novaweb quit (Read error: Connection reset by peer)
9: [01:28:36] * Colin[pi] has joined #silverstripe
10: [01:28:57] <Colin[pi]> afternoon o/
11: [01:29:04] * novaweb has joined #silverstripe
12: [01:29:13] <terryapodaca> o/
13: [01:29:17] <muskie9> night ./
14: [01:29:20] <muskie9> o/
15: [01:29:27] <muskie9> tiny head, big arm lol
16: [01:31:10] <DanaeNZ> Colin[pi]: \o
17: [01:48:14] <DanaeNZ> COFFEEEEE
18: [01:51:55] * Tanger has joined #silverstripe
19: [01:54:02] <muskie9> DanaeNZ beer's working better for me atm
20: [02:13:24] <ss-helper> Re: [silverstripe-dev] Re: RFC: Adding ReactJS to SilverStripe CMS - https://groups.google.com/d/msg/silverstripe-dev/WcjutNP-raQ/YJMNYQWjAAAJ
21: [02:17:17] * novaweb quit (Remote host closed the connection)
22: [02:25:31] * Hailwood has joined #silverstripe
23: [02:27:49] * gordon has joined #silverstripe
24: [02:27:57] * gordon is now known as nontgor
25: [02:28:36] <nontgor> find as you type search for SilverStripe, using Elasticsearch http://imgur.com/a/6RYgJ
26: [02:47:22] * spronk has joined #silverstripe
27: [02:58:39] * Motoservo quit (Quit: Shhh. I'm trying to get some sleep here.)
28: [03:02:44] <spronk> http://www.stuff.co.nz/business/world/73490958/fifo-worker-says-urine-test-cheating-is-rife-in-was-resources-industry
29: [03:02:46] <spronk> fake dicks anyone?
30: [03:04:02] <DanaeNZ> well
31: [03:04:06] <DanaeNZ> that's the quote of the day
32: [03:04:34] <terryapodaca> does anyone know how to make 0 a valid entry on a required field in the UserForms module?
33: [03:04:39] <spronk> ikr, DanaeNZ
34: [03:21:49] <DanaeNZ> so feckin tired
35: [03:22:09] <DanaeNZ> hleeep
36: [03:25:16] <ss23> me too
37: [03:25:27] <ss23> Had 24/7 stuff, was up till 4am
38: [03:25:28] <ss23> :(
39: [03:28:53] <spronk> awesome, ss23
40: [03:29:00] <spronk> sounds like so much fun
41: [03:29:46] <ss23> ikr
42: [03:29:47] <ss23> $$$ though
43: [03:29:53] <ss23> All I wanna do is *bngbangnbangnbnag*
44: [03:29:56] <ss23> anna
45: [03:29:58] <ss23> *chaching*
46: [03:30:02] <spronk> sexual :/
47: [03:30:03] <ss23> and take your money
48: [03:33:00] * Hailwood quit (Remote host closed the connection)
49: [03:33:26] <DanaeNZ> haha MIA nice
50: [03:35:00] <helenclarko> ss23: www.youtube.com/watch?v=e0sCXBFv2Xk
51: [03:35:59] <DanaeNZ> i feel like i'm about to just pass out and sleep on my desk
52: [03:41:00] * Stomach quit (Quit: bye)
53: [03:43:30] <muskie9> https://teespring.com/sifp
54: [03:43:34] <ss23> rofl helenclarko
55: [03:43:45] <DanaeNZ> nice
56: [03:43:46] * novaweb has joined #silverstripe
57: [03:51:56] <Tanger> Hey guys, anybody know if displaylogic works in 3.2?
58: [03:52:44] <muskie9> Tanger I'm guessing yes, but haven't tested yet
59: [03:53:51] <muskie9> on my infinite todo list to test my normal 3rd party mods lol
60: [03:53:56] * Stomach has joined #silverstripe
61: [03:56:46] <Tanger> muskie9: Haha. My list keeps on growing rather than shrinking :D
62: [03:57:45] <muskie9> I want to jump in with 3.2 with client sites, but want to make sure it's solid lol
63: [03:58:43] <helenclarko> ^ I know that feeling
64: [03:59:42] <helenclarko> I think my next project will be done on 3.2.
65: [03:59:49] * helenclarko quit (Quit: Ain't no lie, baby bye bye bye.)
66: [04:03:12] <muskie9> I'm doing a side project update to 3.2... finding more issues with just refactoring my bad code than anything related to upgrading ;P
67: [04:07:00] <Colin[pi]> muskie9: where are the main BC breaks in 3.2 to be found?
68: [04:09:34] <muskie9> Colin[pi] I tend to go through the changelogs... I thought there were one or two BC's in 3.2 but not sure now: https://docs.silverstripe.org/en/3.2/changelogs/3.2.0/
69: [04:10:05] <Colin[pi]> muskie9: thx I'll have a skim thru
70: [04:10:51] <muskie9> some upgrade things depending on what you may have done with the db queries and what not, but largely dropin ready
71: [04:11:11] <Colin[pi]> pretty extensive db/orm changes
72: [04:11:55] <muskie9> more enhancements from what I can tell if you're not using SQLQuery
73: [04:12:07] <Colin[pi]> mm
74: [04:12:12] <muskie9> luckily I haven't had to do that really in 3.x
75: [04:12:20] <Colin[pi]> I have a few SQLQuery things here and there, not that many
76: [04:12:36] <Colin[pi]> yeah the 3.x ORM requires far less use of it
77: [04:12:49] <muskie9> and I love it for that :D
78: [04:13:12] <muskie9> I've been trying to stay current on 4.0 changes... some of those make my head spin a bit
79: [04:13:41] <muskie9> I need to start playing with that so I have some understanding to what's going on when it hits beta
80: [04:21:42] <camfindlay> I’ve been working on moving silverstirpe.org to 3.2 recently. Hit a few edge cases but nothing too major.
81: [04:22:17] <Colin[pi]> camfindlay: that's a good sign
82: [04:22:29] <camfindlay> biggest issue has been bugging module maintainers to update their composer.json files to allow installation under 3.2 core
83: [04:23:26] <camfindlay> Done a coupke of minor PRs against core to fix some edgecase breaks so hopefully when we get a 3.2.1 we’ll be in good stead
84: [04:23:38] <camfindlay> tracking 3.2.x-dev currently
85: [04:27:41] <Colin[pi]> camfindlay: how is 3.2 performance?
86: [04:27:50] <Colin[pi]> any major changes + or - ?
87: [04:27:56] <camfindlay> that I haven’t benchmarked as yet
88: [04:28:01] <Colin[pi]> ah k, np
89: [04:28:57] <camfindlay> It’s also a complex set of variables too, as I’ve also upgraded a ton of modules at the same time (and it’s good more module maintainers are actually versioning modules using semver now).
90: [04:28:58] * micmania1 quit (Quit: micmania1)
91: [04:29:18] <camfindlay> ^ hint hint everyone that maintains modules ;)
92: [04:29:32] <Colin[pi]> hehe
93: [04:32:32] <muskie9> camfindlay what's the trick to allow for 3.1 and 3.2 as the requirement, or do you have to spec at least the minor version in composer.json
94: [04:32:51] <muskie9> **or rather than and
95: [04:33:39] <muskie9> I want to update some modules to support both and would like to not specify a minor version as they should work with both
96: [04:34:35] <muskie9> or with semvar should we be spec'ing the minor version
97: [04:35:40] <camfindlay> ^3.1
98: [04:36:22] <muskie9> I thought that would just allow for 3.1.x rather than 3.1.x or 3.2.x
99: [04:36:25] <camfindlay> that’ll support 3.1.x, 3.2.x, 3.3.x etc
100: [04:36:29] <camfindlay> but not 4.x
101: [04:36:36] * muskie9 needs to brush up on his composer
102: [04:37:15] <camfindlay> I ‘think’ it means all minor starting at where I specify
103: [04:37:31] <camfindlay> so if you only support 3.2 + I tihnk you can use ^3.2
104: [04:38:00] <camfindlay> there is a ~ character too I actually need to go look up the difference between ~ and ^ in composer myself haha
105: [04:38:30] <camfindlay> In my project composer.json I’m also now using “prefer-stable”: true
106: [04:38:55] <muskie9> I saw a PR that changed the ~ to ^ so that's one reason I asked
107: [04:39:03] <muskie9> might've been blog or userforms
108: [04:39:16] <camfindlay> so I only pull mostly stable tagged versions of things (of course it relies on people not merging breaking changes and tagging patch releases! :D)
109: [04:39:45] <muskie9> right, it trusts that supporters are using semvar
110: [04:40:04] <camfindlay> yeah, I usually go inspect the module source on github before making that call
111: [04:40:17] <camfindlay> +1 for open source ;)
112: [04:40:22] <muskie9> things I feel the SS community is moving towards more so now that the core has moved to semvar
113: [04:40:39] <muskie9> and yes, +1 for open source :D
114: [04:40:41] <camfindlay> plus we have a better modules standard people can opt into if they like
115: [04:40:54] <camfindlay> this was recently added to docs in the module section
116: [04:41:23] <camfindlay> will be some more material being release about this in due course.
117: [04:41:43] <muskie9> I saw that, been some responses on the dev mailing list... I'm a lurker on there... not confident enough in my code to pipe up and mention anything (yet)
118: [04:42:01] <camfindlay> lurking is all good… lurking is learning…
119: [04:42:10] <Colin[pi]> lurking is love, lurking is life
120: [04:42:28] <camfindlay> erryday…. lurk
121: [04:42:37] <muskie9> lurking is learning how injector is power, but use it with caution lol
122: [04:43:02] * muskie9 loves injector, used it in my 2 projects since I learned it
123: [04:43:19] <camfindlay> ^ + a bazillion
124: [04:43:46] * muskie9 been stuck on 2 projects for the past 3 months... needs to be done with them 😔
125: [04:44:12] * rytiz2873 has joined #silverstripe
126: [04:44:18] <nontgor> muskie9: With great power comes great power bills
127: [04:44:24] <muskie9> lol
128: [04:44:30] <muskie9> true nontgor
129: [04:44:50] <Stomach> we use ~ = above or equal to the version
130: [04:46:30] <camfindlay> Stomach: yeah I had been using that and have been reminded to switch to ^ by a few open sourcers
131: [04:46:46] <camfindlay> still need to go brush up on the official line from composer
132: [04:47:52] <muskie9> we're still moving to a composer based management system for dev... we use RackSpace Cloud for much of our hosting, so no ssh access unfortunately, so limited on composer atm... we're gonna be running a site on the SS platform in the next month or two so I'm hopeful it pans out and our decision makers let us run with that!
133: [04:48:52] <Stomach> we never ever use composer on remote machines
134: [04:48:56] <Stomach> thats asking for disaster
135: [04:49:07] <muskie9> composer install ???
136: [04:49:11] <Stomach> yeah
137: [04:49:13] <Stomach> it can fail
138: [04:49:17] <muskie9> trure
139: [04:49:19] <muskie9> true
140: [04:49:42] <Stomach> we git checkout into a temp directory and then we composer install locally and then rsync the changes
141: [04:49:51] <Stomach> getbeam.io ;)
142: [04:49:54] <muskie9> guess my question then is, how do you do composer dependency management with git and automated deployments
143: [04:49:56] <camfindlay> https://getcomposer.org/doc/articles/versions.md#caret
144: [04:50:05] <muskie9> ah, beam
145: [04:50:12] <muskie9> been meaning to try that
146: [04:50:32] <muskie9> thanks camfindlay
147: [04:50:41] <Stomach> @camfindlay - seems like theres no functional difference between ~ and ^ as far as I can see
148: [04:50:46] <Stomach> but ^ is recommended
149: [04:50:49] <camfindlay> yip
150: [04:50:51] <Stomach> muskie9 - yeah its great
151: [04:50:54] <muskie9> The ^ operator behaves very similarly but it sticks closer to semantic versioning... I like it
152: [04:51:33] <camfindlay> caret or the stick for moving to semver?
153: [04:51:43] <camfindlay> :P
154: [04:51:56] <Stomach> lol
155: [04:52:15] <camfindlay> right on that bad joke… I need to bail.
156: [04:52:29] <camfindlay> o/ see ya
157: [04:52:34] * camfindlay quit (Quit: camfindlay)
158: [04:55:50] <muskie9> Stomach if you have setups that are submodule dependent rather than composer dependent atm, does it handle that? sooooooo much updating otherwise
159: [04:56:00] <muskie9> but new project would be great
160: [05:02:18] <Stomach> it does, just like usual
161: [05:02:26] <Stomach> just clones them when you git export
162: [05:02:38] <Stomach> its not that hard to change them over to composer though
163: [05:02:48] <Stomach> like 10 seconds work per module when you're adept at it ;)
164: [05:03:54] <muskie9> only problem is sites I haven't setup reference submodules not at tag points, but specific merges... so I've been trying to get them to a state of tags... much testing
165: [05:04:19] <muskie9> ** commits, rather than merges
166: [05:04:31] <muskie9> it's very eary in the am here... brain is failing lol
167: [05:06:23] <terryapodaca> how do I pull down (download) a pull request in github?
168: [05:07:06] <terryapodaca> muskie9: were you just having beers like a couple hrs ago?
169: [05:07:16] <muskie9> ya, moved to vodka lol
170: [05:07:24] <muskie9> works so much better...
171: [05:07:36] <muskie9> terryapodaca are you central time zone US
172: [05:07:49] <terryapodaca> yep. just turned midnight
173: [05:07:52] <muskie9> yup
174: [05:07:53] <muskie9> lo
175: [05:07:54] <muskie9> lol
176: [05:08:02] <muskie9> Racine, WI
177: [05:08:15] <terryapodaca> but I didn't start "working" until like 3 pm
178: [05:08:24] <muskie9> lucky!
179: [05:08:45] <terryapodaca> nah, had a doctors apt, and that's why I am still working
180: [05:08:50] <muskie9> I tend to get more work done after 5... less interruptions for business stuff
181: [05:09:02] <terryapodaca> gonna get a nap in here pretty soon though
182: [05:09:54] <muskie9> referencing my post from earlier lol
183: [05:09:54] <muskie9> [22:43:30] <muskie9> https://teespring.com/sifp
184: [05:10:20] <terryapodaca> ha
185: [05:10:31] <terryapodaca> like I said, just a nap, not a full 8hrs
186: [05:10:43] <muskie9> terryapodaca for PR stuff this might help https://help.github.com/articles/checking-out-pull-requests-locally/
187: [05:10:52] <muskie9> tbh haven't read it lol
188: [05:11:05] <terryapodaca> I dont' want to work AT ALL this weekend so I am trying to get everything done early
189: [05:11:13] <muskie9> same here
190: [05:11:41] <terryapodaca> I don't see the command line that page references
191: [05:11:43] <muskie9> prolonged project, things pushed from launch to post-launch, trying to get it wrapped up
192: [05:11:52] <terryapodaca> I saw the same page when I googled it
193: [05:12:20] <muskie9> do you have read access to the repo the PR is coming from?
194: [05:13:04] <muskie9> add it as a remote in the repo or submodule repo and track/checkout that branch
195: [05:13:51] <muskie9> so at 5 you don't see git fetch origin pull/ID/head:BRANCHNAME
196: [05:15:44] <terryapodaca> ugggh
197: [05:15:50] <terryapodaca> I just learned Composer
198: [05:15:56] <terryapodaca> now I have to learn something else?
199: [05:16:26] * Stomach quit (Ping timeout: 240 seconds)
200: [05:16:39] <muskie9> I'm guessing there's a way to do it in composer lol, but I'm learning composer and have done it that way with git submodules lol
201: [05:17:08] <muskie9> yin/yang lol
202: [05:17:24] <terryapodaca> I just want to see a link (like usual) that says "download zip/
203: [05:17:42] <terryapodaca> yeah, I guess I will have to learn this too
204: [05:17:44] <terryapodaca> damn it
205: [05:19:04] <muskie9> as long as you know git, submodules should be quick... essentially instead of git clone in a git project (which I can't remember if that's valid) it's git submodule //your git link //your install path
206: [05:19:09] * Colin[pi] quit (Ping timeout: 255 seconds)
207: [05:19:45] <muskie9> I'm on a mac so much of this is done in the Tower app which I absolutely love
208: [05:21:16] <muskie9> vpn disconnect coming
209: [05:21:50] * Colin[pi] has joined #silverstripe
210: [05:22:19] * muskie9__ has joined #silverstripe
211: [05:22:30] <muskie9__> clients and their vpn's lol
212: [05:25:49] * muskie9 quit (Ping timeout: 246 seconds)
213: [05:26:00] * muskie9__ is now known as muskie9
214: [05:26:11] <terryapodaca> I never vpn into clients
215: [05:26:15] <terryapodaca> well, I take that back
216: [05:26:21] <terryapodaca> I have to for ONE only
217: [05:26:28] <muskie9> this one wasn't an option unfortunately lol
218: [05:26:36] <muskie9> we have 2 I think
219: [05:27:17] <terryapodaca> but I do VPN into my company's vpn so I can get local stuff from the network, and when I am on a .NET project and have to stay connected to an internal SQL Server
220: [05:27:46] <muskie9> ugh, .NET lol
221: [05:27:56] <muskie9> I'm kinda anti .NET
222: [05:28:11] <terryapodaca> we do what ever gets the job done best
223: [05:28:32] <terryapodaca> 75% of the stuff I do is PHP, mostly SilverStripe
224: [05:28:33] <muskie9> same, we just cringe if it's not apache lol
225: [05:29:13] <muskie9> luckily we're probably close to 90% SS, hosting about 85% Apache for SS
226: [05:29:22] <terryapodaca> but we also have a couple proprietary apps that were originally done in Classic ASP, so we have been converting them to ASP.NET MVC
227: [05:29:24] <muskie9> bigger clients want the Microsoft setup
228: [05:29:51] <muskie9> mmmmmmmm asp, that's where I started my web dev skillz lol
229: [05:29:59] <terryapodaca> yeah, our biggest client, GE, wants everything Microsoft
230: [05:30:08] <muskie9> not a surprise
231: [05:30:46] <muskie9> big client == $$$$ means it works and it's good === Microsoft... when in reality that's not it
232: [05:31:28] <muskie9> but you can't convince them non-proprietary is better...
233: [05:32:23] <muskie9> just glad SS runs on multiple platforms
234: [05:32:33] <terryapodaca> yep
235: [05:41:23] * Stomach has joined #silverstripe
236: [05:53:28] * DanaeNZ quit (Remote host closed the connection)
237: [05:58:06] <terryapodaca> ahhhh
238: [05:58:16] <terryapodaca> figured the Composer way
239: [05:58:35] <terryapodaca> just ad the commit ID to you composer.json file, version
240: [05:58:45] <muskie9> nice!
241: [05:58:54] <terryapodaca> like "dev-master#12973681028736021387018379874f987qw0"
242: [05:59:23] <terryapodaca> good, I didn't want to learn more git command line stuff
243: [05:59:30] <muskie9> lol
244: [06:00:22] <terryapodaca> you were trying to tell me ways to customize the userforms module so I can use custom email templates
245: [06:00:42] <terryapodaca> I wasn't quite following
246: [06:00:47] <terryapodaca> can you refresh
247: [06:02:04] <muskie9> sure, so if you extend the page type and add an enum db field that had the options for what template to use... you can override the function that sends the email and use ->setTemplate() or whatever it is to utilize the one set in the page's model via the cms
248: [06:02:08] <muskie9> if that makes sense
249: [06:07:33] <terryapodaca> kinda
250: [06:07:36] <terryapodaca> brb
251: [06:07:41] <terryapodaca> gotta restart my machine
252: [06:07:50] <muskie9> sure
253: [06:08:03] * terryapodaca quit (Quit: Leaving.)
254: [06:08:29] * patricknelson has joined #silverstripe
255: [06:08:44] * Stomach quit (Quit: zzz)
256: [06:09:08] <patricknelson> anyone know what triggers the particular selector in $.entwine('ss', function() { ... });
257: [06:09:49] <patricknelson> like, I know what this does: $('.cms-container').entwine({ ... });
258: [06:10:58] <patricknelson> but why is it that it doesn't appear that the contents of the $.entwine('ss', ...) closure are executing? https://github.com/silverstripe/silverstripe-framework/blob/3/admin/javascript/LeftAndMain.js#L62
259: [06:11:06] <patricknelson> what triggers the 'ss'?
260: [06:12:40] <muskie9> patricknelson my best guess... http://i.imgur.com/YsbKHg1.gif
261: [06:12:50] <patricknelson> yep.
262: [06:12:57] <patricknelson> that's exactly what I expected when I saw a gif
263: [06:13:16] <muskie9> lol
264: [06:13:30] <patricknelson> all i'm trying to do is just call that damned $('.cms-container').showLoginDialog();
265: [06:13:33] <muskie9> I've done limited entwine stuff... that 'ss' confuses me
266: [06:13:47] <patricknelson> but for some f'in reason, it's not yet defined
267: [06:13:56] <patricknelson> but yet magically it DOES work if you try to navigate in the site tree.
268: [06:13:58] <patricknelson> lolwtf
269: [06:15:40] <muskie9> your calling __super(); or whatever that is?
270: [06:15:52] <patricknelson> no.
271: [06:16:01] <muskie9> https://www.bigfork.co.uk/takeaway/a-beginners-introduction-to-using-entwine-in-silverstripe
272: [06:16:04] <muskie9> it's somewheres in there
273: [06:16:10] <patricknelson> i feel like i need to reverse engineer a convoluted/esoteric framework just to do something simple/standard.
274: [06:16:26] <muskie9> this._super();
275: [06:16:44] <muskie9> that's like parent:: in php
276: [06:16:54] <patricknelson> yeah I figured
277: [06:16:56] <muskie9> so not sure if it'll help, but that might do something
278: [06:17:29] <patricknelson> let's see if that gives me some http://i.imgur.com/YsbKHg1.gif
279: [06:17:36] <muskie9> lol
280: [06:17:54] <muskie9> from what I looked at in that code, they're not doing anything special to call the same thing you're trying to call
281: [06:18:08] <patricknelson> nope.
282: [06:18:27] <patricknelson> basically: showLoginDialog is not a function
283: [06:18:40] <patricknelson> more specifically: Uncaught TypeError: $(...).showLoginDialog is not a function
284: [06:19:36] <patricknelson> basically I'm trying to call $('.cms-container').showLoginDialog(); from within LeftAndMain.Ping.js
285: [06:19:52] <patricknelson> inside here: https://github.com/silverstripe/silverstripe-framework/blob/3/admin/javascript/LeftAndMain.Ping.js#L26
286: [06:22:06] <patricknelson> dammit. I've got this._super(); everywhere and still no lock. i setup a new "onmatch", added it to _setupPinging
287: [06:22:27] * patricknelson facepalms
288: [06:22:46] <muskie9> patricknelson my pic lol https://github.com/muskie9
289: [06:23:01] <patricknelson> double mega facepalm, yes
290: [06:23:09] <patricknelson> so you understand
291: [06:23:30] <patricknelson> entering territory: http://www.canceristhenewblack.com/wp-content/uploads/2012/10/jackie-chan-wtf-meme.jpeg
292: [06:23:40] <muskie9> I'd start commenting out stuff out and make sure that the trigger class ('.cms-container') is working, then step through...
293: [06:23:40] * terryapodaca has joined #silverstripe
294: [06:23:53] <muskie9> lol, I've been there patricknelson
295: [06:24:07] <patricknelson> http://media.giphy.com/media/H3T9limYS4rdK/giphy.gif
296: [06:24:09] <muskie9> terryapodaca something like this https://gist.github.com/muskie9/d85e78a847c8593e5abc#file-myuserform-php-L113
297: [06:24:25] <patricknelson> definitely not like that
298: [06:24:50] <terryapodaca> patricknelson: that fig is AWLSOME!
299: [06:25:05] <muskie9> i didn't change that line, but that's where you'd check the model for what template to use
300: [06:25:53] <patricknelson> now I know that wasn't for me muskie9
301: [06:26:03] <muskie9> lol, yup
302: [06:26:06] <terryapodaca> muskie9:
303: [06:26:16] <terryapodaca> cool, you didn't have to go through the trouble
304: [06:26:31] <muskie9> eh, it was mostly copy/paste
305: [06:26:56] <muskie9> good reference to have in the future for my co-workers ;P
306: [06:27:39] <terryapodaca> yep
307: [06:29:25] <patricknelson> oh holy jesus
308: [06:29:27] <patricknelson> I figured it out guys.
309: [06:29:31] <patricknelson> $('.cms-container').entwine('ss').showLoginDialog();
310: [06:29:49] <muskie9> nice!
311: [06:29:55] <patricknelson> so in the F*** does $('.cms-container').showLoginDialog() work?!
312: [06:29:59] <patricknelson> because... "namespace"
313: [06:30:00] <muskie9> didn't know it was chainable like that
314: [06:30:07] <muskie9> or that lol
315: [06:30:09] <patricknelson> it was already inside of that closure.
316: [06:30:15] <patricknelson> so yes!
317: [06:30:28] <patricknelson> this is that mysterious technical debt also known as http://i.imgur.com/YsbKHg1.gif
318: [06:30:44] <muskie9> lol, yes, closures + entwine === ^
319: [06:31:03] <patricknelson> my parser just crashed reading that.
320: [06:31:09] <patricknelson> brb, rebooting
321: [06:31:38] <patricknelson> actual solution: https://docs.silverstripe.org/en/3.1/developer_guides/customising_the_admin_interface/cms_architecture/#javascript-through-jquery-entwine
322: [06:32:06] <muskie9> ugh, obscure docs
323: [06:33:20] * wmk has joined #silverstripe
324: [06:35:08] <patricknelson> google is still great though
325: [06:35:19] <muskie9> true story
326: [06:36:11] <muskie9> welp, eyes are tired, sleep time
327: [06:36:16] <patricknelson> basically what I'm doing is getting rid of that old 90's alert() message that annoys the shit out of you when you close/reopen your laptop after having had the CMS open.
328: [06:36:39] <muskie9> that alert is the worst!
329: [06:36:50] <patricknelson> by replacing that with a more standard (and potentially abstracted/reused) dialog that's within the page instead
330: [06:37:07] <muskie9> I smell a module coming on lol
331: [06:37:15] <patricknelson> and, what i'm doing, is setting it up to auto-close the dialog and/or window that it pops up if it detects that you're back online AND that you've also still retained your session
332: [06:37:22] <patricknelson> and if not, it'll show the login prompt to log back in.
333: [06:37:26] <patricknelson> no module
334: [06:37:29] <patricknelson> fix to framework.
335: [06:37:37] <patricknelson> f-that-noise
336: [06:37:38] <muskie9> even better!
337: [06:37:41] <patricknelson> enough modules already.
338: [06:38:02] <patricknelson> i like how "entwine" reminds me of "entangled" which reminds me of "entangled mess" which reminds me of "spaghetti mess"
339: [06:38:20] <muskie9> mmmmmmmm spaghetti
340: [06:38:21] <patricknelson> for others it may remind them of cartoonish redhead songbirds
341: [06:41:20] <muskie9> well, gonna catch some zzzzzz's gonna be a short sleep before the work day tomorrow
342: [06:41:28] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
343: [06:52:28] <terryapodaca> later
344: [06:55:40] <patricknelson> fml. now i'm testing my code in the "3" branch and naturally the namespacing idea doesn't work again.
345: [06:56:03] <terryapodaca> of course not
346: [06:59:54] * rytiz2873 quit (Ping timeout: 250 seconds)
347: [07:00:52] * Stomach has joined #silverstripe
348: [07:02:00] * rytiz2873 has joined #silverstripe
349: [07:02:55] * Mike123 has joined #silverstripe
350: [07:03:13] <patricknelson> is there ANY possible way to inspect the ocntents of entwine?
351: [07:03:20] <patricknelson> I can't seem to unravel this mess.
352: [07:03:56] <patricknelson> supposedly an entwine function was defined in the 'ss' namespace, but it's not showing up. i've verified it's executing.
353: [07:04:03] <patricknelson> how on earth do I see that it's actually there?
354: [07:04:17] <patricknelson> works in 3.1, but not 3.
355: [07:04:21] * patricknelson facepalm
356: [07:04:30] <terryapodaca> shrugs
357: [07:04:44] <terryapodaca> I don't use entwine in any of my custom work
358: [07:04:57] <terryapodaca> so I don't know how dependent SS backend stuff is on it
359: [07:05:19] <terryapodaca> I know entwine is basically a SilverStripe thing and they've moved more towards using jQuery
360: [07:05:42] <patricknelson> core uses both
361: [07:05:56] <patricknelson> in fact they're very much... entwined.
362: [07:06:16] <terryapodaca> yuck
363: [07:09:02] <patricknelson> HAHA, I'm going to go insane!
364: [07:09:15] <patricknelson> alright, f'it -- i'll show you why in a moment, standby good sir
365: [07:10:32] <terryapodaca> lol
366: [07:18:03] * r_hector has joined #silverstripe
367: [07:22:05] <patricknelson> still writing up PR @terryapodaca
368: [07:22:21] <terryapodaca> no worries
369: [07:27:30] <terryapodaca> $Image.CroppedImage(80,80), does that still crop the image if it's already 80x80 originally?
370: [07:27:41] <wmk> terryapodaca, quick question: in english you say "you're ON holiday"
371: [07:27:43] <wmk> ?
372: [07:28:09] <terryapodaca> I don't personally
373: [07:28:19] <patricknelson> finally. https://github.com/silverstripe/silverstripe-framework/pull/4722
374: [07:28:20] <wmk> what then?
375: [07:28:24] <terryapodaca> maybe I don't understand your context?
376: [07:28:31] <patricknelson> no I don't think it does wmk
377: [07:29:01] <patricknelson> if the image already matches the desired dimensions/specs in most generateFormattedImage() calls, I think it leave's it as is and returns $this
378: [07:29:20] <terryapodaca> oh, ha
379: [07:29:27] <terryapodaca> thaought you were talking to wmk
380: [07:29:33] <patricknelson> public function Fill($width, $height) {
381: [07:29:33] <patricknelson> return $this->isSize($width, $height) && !Config::inst()->get('Image', 'force_resample')
382: [07:29:33] <patricknelson> ? $this
383: [07:29:33] <patricknelson> : $this->getFormattedImage('Fill', $width, $height);
384: [07:29:33] <patricknelson> }
385: [07:29:46] <patricknelson> i'm multi tasking @terryapodaca :)
386: [07:30:15] <patricknelson> wmk - so as you can see, no it won't generate an image if it already matches.
387: [07:30:22] <terryapodaca> wmk, we say, "I'm on vacation"
388: [07:30:31] <terryapodaca> patricknelson: but that was my question!!!
389: [07:30:34] <patricknelson> btw it's 3:30am because i'm doing open source work
390: [07:30:37] <patricknelson> I have no life.
391: [07:30:49] <patricknelson> what was your question?
392: [07:30:57] <terryapodaca> the image size
393: [07:31:34] <patricknelson> sorry I'm confused now.
394: [07:31:34] <wmk> terryapodaca, thanks. but also "ON" when you use holiday instead of vacation? Seems international tourists search more for the term holiday
395: [07:31:47] <terryapodaca> wmk: I don't know anyone that says "I'm on holiday"
396: [07:31:52] <patricknelson> terry asked: "$Image.CroppedImage(80,80), does that still crop the image if it's already 80x80 originally?"
397: [07:31:56] <wmk> terryapodaca, ok, thanks
398: [07:31:59] <patricknelson> to that, answer is no.
399: [07:33:10] <terryapodaca> wmk I think in terms of speach, and Holidays are usually very well known, so if a person is off work, it's just a given that said person is on holiday break, "it's a holiday"
400: [07:34:18] <patricknelson> in the US at least, we say we're on vacation anytime we are not at work during a time when typically you might be working. this even means during holidays (e.g. christmas).
401: [07:34:37] * DimiStripe quit (Read error: Connection reset by peer)
402: [07:34:41] <terryapodaca> ^ yep
403: [07:35:07] <patricknelson> for example, let's say I take a few days off before and after christmas. If someone at work asked me if I'll be available, I'd tell them "No I'll be out on vacation early."
404: [07:35:21] <Tanger> Hmmm, my has_many to has_one isn't setting the has_one side of it :(
405: [07:35:24] <patricknelson> or "No I'll be out on vacation early for christmas."
406: [07:35:24] * DimiStripe has joined #silverstripe
407: [07:35:42] <terryapodaca> ^yep
408: [07:35:58] <patricknelson> Tanger are you setting the inverse relationship on the foreign data object?
409: [07:37:18] <patricknelson> category { ::has_many => [product] } ...... product { ::has_one => [category] }
410: [07:37:31] <patricknelson> to write it up in one line pseudocode
411: [07:39:50] <patricknelson> alright, gonna go to sleep. i'm pooped and had many many very long days and late nights
412: [07:39:52] * patricknelson ragequit
413: [07:40:01] * patricknelson quit (Quit: Leaving.)
414: [07:42:01] * DanaeNZ has joined #silverstripe
415: [07:44:31] * spronk quit (Quit: I may need a longer sleep timer...)
416: [07:45:49] * Stomach quit (Quit: zzz)
417: [07:46:18] * DanaeNZ quit (Ping timeout: 255 seconds)
418: [07:46:34] * Stomach has joined #silverstripe
419: [07:48:33] <Mike123> Morning
420: [08:08:30] * Hailwood has joined #silverstripe
421: [08:09:01] * Copperis has joined #silverstripe
422: [08:09:40] * Stomach quit (Quit: zzz)
423: [08:20:19] * novaweb quit (Remote host closed the connection)
424: [08:29:53] * MarkGuinn quit (Quit: My Mac has gone to sleep. ZZZzzz…)
425: [08:38:40] * Colin[pi] quit (Ping timeout: 246 seconds)
426: [08:46:59] * terryapodaca quit (Ping timeout: 240 seconds)
427: [08:47:09] * elgabbu quit (Ping timeout: 246 seconds)
428: [08:52:01] * joelpittet quit (Remote host closed the connection)
429: [08:58:38] * auto9 quit (Ping timeout: 250 seconds)
430: [09:09:22] * elgabbu has joined #silverstripe
431: [09:19:43] * wmk quit (Quit: nice to meet you ;))
432: [09:20:58] * novaweb has joined #silverstripe
433: [09:21:35] * wmk has joined #silverstripe
434: [09:21:36] * stnvh has joined #silverstripe
435: [09:21:58] * swaiba has joined #silverstripe
436: [09:23:52] * novaweb quit (Remote host closed the connection)
437: [09:24:08] * novaweb has joined #silverstripe
438: [09:31:25] * DanaeNZ has joined #silverstripe
439: [09:35:55] * DanaeNZ quit (Ping timeout: 256 seconds)
440: [09:36:00] * Tanger quit (Quit: sleep())
441: [09:41:42] <wmk> how can i order by how often my DO has a many_many (the DO is on the belongs_many_many side) ?
442: [09:42:35] * terryapodaca has joined #silverstripe
443: [09:45:37] <terryapodaca> https://www.frostbank.com/sitepages/expect-more.aspx#socialfeed
444: [09:46:01] <terryapodaca> for the life of me, I can't figure out what plugin they are using for the FB feed
445: [09:46:21] <terryapodaca> what ever it is, is feeding from a single post
446: [09:46:38] <terryapodaca> and not showing the image, just the text, and the comments:
447: [09:46:39] <terryapodaca> https://www.facebook.com/FrostBank/photos/a.410267472377020.94428.378433955560372/949969375073491/
448: [10:07:56] <ss-helper> Silverstripe ORM: sort by number of $belongs_many_many relation - http://stackoverflow.com/questions/33411036/silverstripe-orm-sort-by-number-of-belongs-many-many-relation
449: [10:13:14] * spronka has joined #silverstripe
450: [10:20:26] * rytiz2873 quit (Ping timeout: 240 seconds)
451: [10:20:55] * Hailwood quit (Remote host closed the connection)
452: [10:24:00] * r_hector quit (Ping timeout: 250 seconds)
453: [10:24:47] * novaweb quit (Remote host closed the connection)
454: [10:25:07] * rytiz2873 has joined #silverstripe
455: [10:40:29] * MarkGuinn has joined #silverstripe
456: [10:42:07] * Azure has joined #silverstripe
457: [10:46:06] <wmk> argh, i hate when i cannot copy a silverstripe query in phpmyadmin
458: [10:46:15] <wmk> some different quoting...?
459: [10:47:17] <MarkGuinn> wmk - have you tried prepending "set sql_mode='ansi';" to your query?
460: [10:48:13] <wmk> MarkGuinn, thanks man!
461: [10:51:09] <MarkGuinn> happy to help!
462: [10:51:51] <wmk> there is no groupBy in DataList?
463: [10:52:53] * joelpittet has joined #silverstripe
464: [10:56:21] <MarkGuinn> There is a GroupedList but I've not used it much
465: [10:57:34] * joelpittet quit (Ping timeout: 260 seconds)
466: [10:58:12] <wmk> GroupedList is difficult...
467: [10:58:44] <wmk> ->alterDataQuery(function($query){$query->groupBy('Foo');}) does the job
468: [11:00:26] <wmk> hmm but how to add an alias for a calculated column?
469: [11:00:37] * wmk wonders if he should just go outside for a hike today
470: [11:00:48] * stnvh quit (Read error: Connection reset by peer)
471: [11:01:57] <MarkGuinn> You've got me there. That's one thing I wish was easier with SS.
472: [11:08:10] <wmk> seems not...
473: [11:20:00] * stnvh has joined #silverstripe
474: [11:36:35] <slievr> any one used https://github.com/silverstripe/multi-domain on ss 3.2?
475: [11:38:05] <slievr> get no errors but it doesn't get the page
476: [11:56:12] <terryapodaca> Doesn't the newer versions of silverstripe (3.0 +) automatically create thumbnails for the gridfield?
477: [11:56:34] <terryapodaca> older versions we use to have to create the function getThumbnail()
478: [11:56:53] <terryapodaca> but for some reason I can't get it to work...anyone have a sample gridfield?
479: [11:57:23] <wmk> slievr, maybe some routing issue?
480: [12:01:23] * wmk quit (Read error: Connection reset by peer)
481: [12:01:24] * Werner_2_ has joined #silverstripe
482: [12:01:35] * Werner_2_ is now known as wmk
483: [12:07:10] <slievr> wmk, I'm using host entries for my non primary domains think that could cause it?
484: [12:09:45] <slievr> terryapodaca: I usually use summary fields and CMSThumbnail( )
485: [12:10:14] <terryapodaca> slievr: yeah, that's how I usually do it as well
486: [12:10:38] <terryapodaca> I had done it with the new default GridField some place, I just can't find my old code that did it
487: [12:11:33] <wmk> slievr, if you can reach the server on this domain it should work
488: [12:11:41] <wmk> normally silverstripe doesn't care about the domain.
489: [12:11:59] <wmk> webserver should accept it, so maybe you need to add them to server's etc/hosts
490: [12:13:45] <slievr> wmk, they are. domains resolve to site but not to the configured path, and then return a 404.
491: [12:14:26] <wmk> _could_ be a 3.2 issue
492: [12:14:40] <wmk> see changelog
493: [12:14:50] <wmk> !debug slievr
494: [12:14:50] <ss-helper> Maybe it's time to start xdebug and see whats going on... check out http://docs.silverstripe.org/en/developer_guides/debugging/ and http://xdebug.org/docs/
495: [12:17:43] * UndefinedOffset has joined #silverstripe
496: [12:33:25] * Azure quit (Ping timeout: 268 seconds)
497: [12:41:57] <slievr> wmk,
498: [12:42:00] <slievr> got it working now thx
499: [12:42:06] <wmk> what was it?
500: [12:42:25] <slievr> baseUrl was getting the wrong url
501: [12:42:56] <slievr> was getting /index.php/url not /url
502: [12:43:30] <slievr> so it chained into /index.php/url/index.php/suburl
503: [12:43:35] <slievr> was wierd
504: [12:43:43] <wmk> oh
505: [12:43:52] <Pyhalfdk> not enough /
506: [12:43:58] <Pyhalfdk> not enough rewrite
507: [12:53:53] * joelpittet has joined #silverstripe
508: [12:55:34] * krofek quit (Read error: Connection reset by peer)
509: [12:58:22] * joelpittet quit (Ping timeout: 246 seconds)
510: [13:00:32] * DanaeNZ has joined #silverstripe
511: [13:19:46] * spronka quit (Quit: My Mac has gone to sleep. ZZZzzz…)
512: [13:23:00] <ss-helper> Customisable Twitter hashtag feed for website [on hold] - http://stackoverflow.com/questions/33414934/customisable-twitter-hashtag-feed-for-website
513: [13:45:22] <terryapodaca> ok, this is making me mad
514: [13:45:31] <terryapodaca> with SS 3.1.*
515: [13:45:51] <terryapodaca> how do I make a thumbnail for a grid?
516: [13:46:24] <terryapodaca> I tried the usual way back in 2.4 where we simply created a getThumbnail() function
517: [13:46:28] <terryapodaca> that didn't work
518: [13:46:49] <terryapodaca> I tried the StripThumbnail in the $summary_fields and that didn't work
519: [13:47:52] <wmk> terryapodaca, did you flush?
520: [13:48:04] <wmk> when you change something in $summary_fields you need to flush!
521: [13:48:27] <terryapodaca> I went all the way and did a /dev/build?flush=all
522: [13:48:42] <terryapodaca> so is the StripThumbnail still suppose to work?
523: [13:50:00] <wmk> StripThumbnail?
524: [13:50:46] <terryapodaca> yeah, could use to do: 'MyImage.StripThumbnail' => 'Picture'
525: [13:51:38] <wmk> terryapodaca, i don't see StripThumbnail method in Image, but generateStripThumbnail...
526: [13:52:03] <wmk> so it _should_ work
527: [13:53:47] <terryapodaca> yeah, I see CMSThumbnail and generateCMSThumbnail in there too, and that didn't work
528: [13:53:59] <terryapodaca> this is stupid
529: [14:12:06] * muskie9 has joined #silverstripe
530: [14:14:13] * cmcramer has joined #silverstripe
531: [14:20:58] * pbnj4640 has joined #silverstripe
532: [14:20:58] <ss-helper> pbnj4640: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
533: [14:22:04] <wmk> terryapodaca, any error logging?
534: [14:22:24] <wmk> it _should_ work, so if your machine is misconfigured or you don't have write permissions somehow it might abort
535: [14:23:49] <pbnj4640> What the hell happened to subsites? SubsiteXHRController is "not found" now. ugh
536: [14:24:52] <wmk> pbnj4640, there is already a PR for it
537: [14:24:57] <wmk> i guess you're on 3.2 ;)
538: [14:25:20] <pbnj4640> yes, i just started updating a project to 3.2
539: [14:25:21] <wmk> pbnj4640, https://github.com/silverstripe/silverstripe-subsites/pull/204
540: [14:25:54] * Frans_Amsterdam has joined #silverstripe
541: [14:26:04] <pbnj4640> and of course segmentfield class is giving me issues on my 3.1.15 install with userforms. its been a hellacious morning lol
542: [14:26:05] <wmk> pbnj4640, might be too early to upgrade
543: [14:26:16] <pbnj4640> wmk ftw
544: [14:26:25] <muskie9> terryapodaca did you get your nap?
545: [14:26:53] <terryapodaca> muskie9: nope, sleep is for wooooosies
546: [14:26:55] <pbnj4640> wmk, im beginning to agree!
547: [14:27:11] <muskie9> lol, damn!
548: [14:27:12] <terryapodaca> wmk, I think it's working now
549: [14:27:23] <wmk> terryapodaca, cool
550: [14:27:46] <wmk> note to myself: defining $default_sort without having that field in your DO causes queries to crash
551: [14:28:08] <terryapodaca> I used the MyImage.CMSThumbnail instead and it worked without having to make a custom function to get it
552: [14:28:17] * cmcramer quit (Quit: Textual IRC Client: www.textualapp.com)
553: [14:28:40] <terryapodaca> it's a bigger thumb though, I think the StripThumbnail was half the size
554: [14:28:56] <terryapodaca> muskie9: you hung over?
555: [14:29:11] <muskie9> na, just tired... I'm always tired though ;P
556: [14:29:19] <terryapodaca> :D
557: [14:30:09] <Frans_Amsterdam> Hello there, I have a function which I like to call with an URL. The links is called from within the footer like: http://mysite.dev/de-ch/customcontent. Where or how do I call this function. http://www.sspaste.com/paste/show/56322ca78cf13
558: [14:31:13] <pbnj4640> im going on the record here, wmk is my hero! lol
559: [14:33:08] <pbnj4640> i guess while im at it, i might as well go for the gold. Any clue why Userforms is throwing me this error when i try to edit a field? Fatal error: Class 'SilverStripe\Forms\SegmentField' not found in /MYROOTDIRECTORY/userforms/code/model/editableformfields/EditableFormField.php on line 164
560: [14:33:42] <pbnj4640> thats on my 3.1.15 install. I have GridFieldExtensions and SegmentField installed as well.
561: [14:33:55] <wmk> pbnj4640, you flushed?
562: [14:34:03] <pbnj4640> yes. MANY times
563: [14:34:14] <terryapodaca> yeah, make sure you use the correct Composer updates
564: [14:34:30] <terryapodaca> I had that error on a default SS 3.1.15 installation
565: [14:34:35] <pbnj4640> flushed the whole site, flushed the admin, and that specific page and everything. making me nuts.
566: [14:35:20] <pbnj4640> i downloaded the zip and installed?
567: [14:35:32] <terryapodaca> oh
568: [14:35:54] <terryapodaca> did you /dev/build and ?flush
569: [14:36:05] <pbnj4640> yep. nearly 10,000 times
570: [14:38:21] <pbnj4640> thats part of why im going to be doing a fresh install and trying 3.2, i get the worst errors. in chrome ill have my wysiwyg boxes not show up, but work fine on IE of all things.
571: [14:38:54] <terryapodaca> 3.1.15 was very flaky for me
572: [14:39:14] <wmk> <pbnj4640> i downloaded the zip and installed?
573: [14:39:21] <wmk> don't do that!!!
574: [14:39:29] <wmk> use composer!
575: [14:39:31] <terryapodaca> wmk: he's like me
576: [14:39:43] <wmk> terryapodaca, and you wonder why things don't work?
577: [14:39:51] <pbnj4640> lol
578: [14:39:51] <terryapodaca> I went as long as I could not using Composer
579: [14:39:56] <terryapodaca> oh, I use it now
580: [14:40:16] <pbnj4640> i admittedly have no experience with composer. i guess today seems like a good day to learn it lol
581: [14:40:31] <terryapodaca> It's not hard at all pbnj4640
582: [14:40:36] <wmk> pbnj4640, yesterday was a good day, today it's obligate to learn it!
583: [14:41:09] <terryapodaca> once you get use to the commands and the later on editing the composer.json file
584: [14:41:10] <pbnj4640> the issue is, with my company, my access and web work is offsite (hostgator) our internal network is off limits.
585: [14:41:26] <pbnj4640> im assuming this can be done on a generic webhost
586: [14:41:36] <terryapodaca> do you first build localhost or local machine
587: [14:41:47] <wmk> pbnj4640, well, you can build locally and sync using ftp
588: [14:41:50] <wmk> but that's a pain
589: [14:42:00] <wmk> there are services like ftploy that could help
590: [14:42:13] <terryapodaca> I do the build locally first and then ftp
591: [14:42:18] <pbnj4640> currently i do not. im lobbying as we speak to get WAMP installed on my desktop. Again, outrageous security measures.
592: [14:42:55] <terryapodaca> Dreamhost doesn't let me run command line so I have no choice but to build locally first and then FTP
593: [14:42:58] <wmk> terryapodaca, how do you sync ftp? what if a file in a composer installed module is deleted?
594: [14:43:06] <pbnj4640> as it stands, ive been building live. i know its dangerous, but i have little choice here.
595: [14:43:22] <pbnj4640> i have FTP access to that hostgator account.
596: [14:43:32] <wmk> pbnj4640, like everyone here did building live (until that bad moment)
597: [14:44:22] <pbnj4640> yeah. im sort of like an action movie hero. i like to live dangerously. but then something shitty happens, and i realize im not a badass, just a dork in front of a keyboard lol
598: [14:44:27] <terryapodaca> wmk: I haven't run into that kind of problem yet, but then again, remember, we don't update/upgrade the client sites after first build unless they are willing to pay for it
599: [14:44:50] <terryapodaca> so it's not like I am going in and doing a weekly composer update on every site
600: [14:46:16] <terryapodaca> so basically, I do a local build, as I am building I install modules as I see fit (through composer of course) and when I feel it's ready, I ftp it to a test site so the client can go over it, etc
601: [14:47:11] <wmk> terryapodaca, but basically it means to delete the whole site and redeploy?
602: [14:47:22] <pbnj4640> hmmm... according to what im reading i SHOULD have SSH access. Lets see what i can do here.
603: [14:47:30] <terryapodaca> once they approve, I ftp again to the live site...and that's pretty much the end of it except for content changes and sometimes simple CSS/HTML (template) changes that do not require Composer at all
604: [14:47:54] <terryapodaca> nah
605: [14:48:41] <terryapodaca> I don't have the luxury of changing Hosts
606: [14:48:50] <terryapodaca> so I have no other way of doing it
607: [14:49:06] <pbnj4640> im an idiot. i just remembered i have a macbook with admin access. ill bypass the dopey rules.
608: [14:49:07] <terryapodaca> unless you can recommend a better way to keep them synced
609: [14:49:53] <terryapodaca> pbnj4640: I don't know what SilverStripe or the community in general thinks, but I prefer XAMPP
610: [14:50:26] <pbnj4640> xampp it is!
611: [14:53:21] <pbnj4640> !!! ssh access achieved !!!
612: [14:54:38] * joelpittet has joined #silverstripe
613: [14:59:39] * joelpittet quit (Ping timeout: 260 seconds)
614: [15:04:50] * cloph_away is now known as cloph
615: [15:06:34] * alialamshahi has joined #silverstripe
616: [15:07:44] <alialamshahi> Hey swaiba
617: [15:07:48] <alialamshahi> hey wmk
618: [15:08:46] <swaiba> good afternoon alialamshahi :)
619: [15:09:03] <alialamshahi> thanks! how are you?
620: [15:09:14] <pbnj4640> here we go. composer is running. that wasnt so bad
621: [15:14:16] <swaiba> not bad, almost the weekend...
622: [15:14:27] <alialamshahi> cool
623: [15:14:35] <alialamshahi> where are you from swaiba?
624: [15:15:06] <swaiba> I'm in Bristol right now
625: [15:15:16] <alialamshahi> nice
626: [15:17:24] * joelpittet has joined #silverstripe
627: [15:28:08] <swaiba> alialamshahi you?
628: [15:29:22] <alialamshahi> I live in Tehran
629: [15:29:25] <alialamshahi> Iran
630: [15:30:19] <wmk> pbnj4640, that routing issue in subsites should be resolved. that PR got merged
631: [15:30:25] <swaiba> oh yeah, you were asking about the calendar before right?
632: [15:30:36] * wmk remembers...
633: [15:30:42] <pbnj4640> so, wmk, im using composer, how do i require a specific build of of subsites for instance
634: [15:30:58] <wmk> in your composer.json
635: [15:31:02] <wmk> you have the repositories
636: [15:31:12] <wmk> like "silverstripe/subsites":"version"
637: [15:31:22] <wmk> there you can do e.g. 2.1.x@stable
638: [15:31:23] <wmk> for version
639: [15:31:30] <pbnj4640> ive got composer require "silverstripe/subsites:1.1"
640: [15:31:44] <pbnj4640> ahhh, so quotes around version number as well
641: [15:31:55] <wmk> pbnj4640, http://de.slideshare.net/rdohms/composer-the-right-way is a very good resource
642: [15:32:01] <wmk> there is also a talk on youtube
643: [15:32:25] <pbnj4640> thank you for that linl
644: [15:32:26] <pbnj4640> link
645: [15:34:32] * krofek has joined #silverstripe
646: [15:34:56] * DanaeNZ quit (Ping timeout: 272 seconds)
647: [15:35:21] <alialamshahi> yes swaiba
648: [15:35:42] <swaiba> are you "winning" there now?
649: [15:37:29] <alialamshahi> what do you mean?
650: [15:37:45] <swaiba> with the calendar are you winning with it now?
651: [15:37:53] <swaiba> you know like is it working?
652: [15:37:58] <alialamshahi> I dont have it yet
653: [15:38:03] <swaiba> sad face
654: [15:53:19] * Frans_Amsterdam quit (Quit: Textual IRC Client: www.textualapp.com)
655: [15:54:35] * wmk quit (Quit: nice to meet you ;))
656: [15:57:46] <nontgor> any cool ways to get a diff of 2 DataLists?
657: [16:01:25] * rytiz2873 quit (Ping timeout: 246 seconds)
658: [16:02:14] <swaiba> nontgor depends on your definition of "cool" - how about - array_diff($list1->column('ID'),$list2->column('ID'))
659: [16:02:52] <nontgor> ooh that's an idea - late my time and typing over a cat so brain not 100% switched on
660: [16:06:12] * rytiz2873 has joined #silverstripe
661: [16:10:41] <terryapodaca> did I miss something swaiba and alialamshahi?
662: [16:10:46] * Copperis quit (Ping timeout: 240 seconds)
663: [16:11:22] * Copperis has joined #silverstripe
664: [16:11:36] <swaiba> errr not sure... terryapodaca... previously we discussed making a non-western calendar
665: [16:11:40] <swaiba> was curious on the results
666: [16:12:03] <swaiba> and np nontgor - glad to give you a useful idea :)
667: [16:12:08] <terryapodaca> wmk pbnj4640: be careful though, make sure you look at each module and make sure you know what versions/branches are valid
668: [16:17:28] <slievr> a non western calendar?
669: [16:19:00] * Mike123 quit (Ping timeout: 246 seconds)
670: [16:22:59] <swaiba> slievr - yep - it's why I'm curious to see a result - who knows it might open a new market up!
671: [16:37:21] <nontgor> swaiba: Simply add 543 to get a Thai calendar ;)
672: [16:37:41] <nontgor> current year is 2558 in the Buddhist calendar
673: [16:37:52] <nontgor> everything else seems to be the same other than translations though
674: [16:52:18] <Pyhalfdk> nontgor: exclude('ID'=>$otherlist->column('ID')->toArray()) or something like that
675: [16:52:35] * Motoservo has joined #silverstripe
676: [16:53:06] <ss-helper> TinyMCE 3.5 spell checker not working in SilverStripe - http://stackoverflow.com/questions/18162874/tinymce-3-5-spell-checker-not-working-in-silverstripe
677: [16:53:06] <ss-helper> Amazon CloudSearch throws HTTP 403 on document upload - http://stackoverflow.com/questions/22903295/amazon-cloudsearch-throws-http-403-on-document-upload
678: [16:53:38] * rytiz2873 quit (Ping timeout: 260 seconds)
679: [16:53:42] <nontgor> Pyhalfdk: Looks more efficient than what I am trying. Didn't help that I called a many many field SearchableFields() and that seems to clash with a method in an extension returning an array #IWasConfused
680: [17:06:35] <swaiba> nontgor i think the iranian one is a little more non-standard than that!
681: [17:08:47] <Pyhalfdk> swaiba: you sure do a lot of overseas accessibility stuff!
682: [17:14:18] <swaiba> not that much at the moment - Pyhalfdk - I'm just listening for these things so when the sales guys have a project in Iran I'll know about their calendars ;-)
683: [17:22:06] <Firesphere> 'afternoon folks
684: [17:22:18] <swaiba> Firesphere o/
685: [17:22:23] <terryapodaca> o/
686: [17:22:37] <terryapodaca> \o
687: [17:22:43] <Firesphere> Medical exam went well today.
688: [17:22:45] <terryapodaca> I'm right handed
689: [17:22:55] <Firesphere> According to the examining doctor, "no problems" :D
690: [17:33:01] * UndefinedOffset quit (Quit: Leaving.)
691: [17:45:07] * Motoservo quit (Read error: Connection reset by peer)
692: [17:45:39] <terryapodaca> Firesphere: sounds like you need a second opinion
693: [17:46:17] * Motoservo has joined #silverstripe
694: [17:47:41] * swaiba quit (Remote host closed the connection)
695: [17:47:49] <nontgor> Firesphere: Apparently one of the questions in the work permit medical is 'Are you an alcoholic?' :)
696: [17:48:00] <Firesphere> nontgor: It is ;)
697: [17:48:13] <nontgor> *hic*
698: [17:48:24] <Firesphere> And I'm not an alcoholic ;) I just like beer and like the stereotype I've set :P
699: [17:49:02] <nontgor> haha
700: [17:49:09] <nontgor> note to self, rock up with an open bottle of Chang
701: [17:49:20] <Firesphere> I'm an independent alcoholic. I decide when I drink beer!
702: [17:49:21] <terryapodaca> "I'm an alcoholic"
703: [17:50:28] <nontgor> For the Thai drivers test it was a case of paying 150 baht for proof that you could walk to the medical practice to get the piece of paper. In the actual driving test they only check peripheral vision, no checks made on long/short sight
704: [17:56:24] * Stomach has joined #silverstripe
705: [17:57:50] <terryapodaca> what does this mean: "I can't handle sub-URLs of a CMSForm object."
706: [18:00:05] * Stomach quit (Client Quit)
707: [18:03:30] * UndefinedOffset has joined #silverstripe
708: [18:03:41] * Stomach has joined #silverstripe
709: [18:08:44] * Motoservo quit (Read error: Connection reset by peer)
710: [18:09:12] * Motoservo has joined #silverstripe
711: [18:15:44] * Motoservo quit (Read error: Connection reset by peer)
712: [18:18:38] * Motoservo has joined #silverstripe
713: [18:23:44] * wmk has joined #silverstripe
714: [18:23:44] * wilson has joined #silverstripe
715: [18:23:56] <wilson> :wilson
716: [18:24:08] * wilson is now known as Guest29331
717: [18:25:26] <Guest29331> Hi to all, i am in the middle on rehaul a SS3.0.5 with SwipeStripe to SS 3.2. We wondering if Swipestripe is the best/only alternative regarding commercial online store. What do you use?
718: [18:26:49] <muskie9> Guest29331 we built out FoxyStripe which is a module that integrates SilverStripe with FoxyCart http://www.foxystripe.org/
719: [18:27:05] <Firesphere> Ow...
720: [18:27:17] <Firesphere> terryapodaca: It means there's an error in the URL-tree
721: [18:27:20] <muskie9> haven't done any 3.2 sites with it yet, but I think it'd work for the most part
722: [18:27:22] <Firesphere> possibly a missing ID.
723: [18:27:40] <Firesphere> Guest29331: Woah... ecommerce is a big thing in SilverStripe community atm!
724: [18:27:43] <Firesphere> Ehm...
725: [18:27:51] <Firesphere> Zauberfisch, are you here?
726: [18:28:02] * Motoservo quit (Ping timeout: 250 seconds)
727: [18:28:16] <Firesphere> Contact Zauberfisch Guest29331. He is more knowledgable on the current state of ecommerce and SilverStripe ;)
728: [18:29:20] <terryapodaca> This one is a good one:
729: [18:29:21] <terryapodaca> https://github.com/burnbright/silverstripe-shop
730: [18:29:32] <terryapodaca> http://ss-shop.org/
731: [18:30:00] <wmk> hmm, in Fluent it's not possible to delete / null an translated entry? If it's been saved before it gets the value from the untranslated column back :(
732: [18:30:23] * Stomach quit (Quit: zzz)
733: [18:30:38] * Motoservo has joined #silverstripe
734: [18:31:03] <Firesphere> Mark Guinn had a great ecommerce talk on StripeCon: https://vimeo.com/143267912
735: [18:31:16] <Guest29331> HI to all, as i can see, SwipeStripe is not the flavour of the day?
736: [18:31:36] <terryapodaca> and Firesphere, I have a Staff DataObject: http://sspaste.com/paste/show/563265f4bc589
737: [18:31:45] <Firesphere> The problem is, there's no real "perfect" solution to SilverStripe and ecommerce yet
738: [18:32:07] <Firesphere> terryapodaca: Looks ok to me, what's wrong with it?
739: [18:32:21] <Guest29331> Should i rather go Custom Online with no or little relation with my SS site OR something like Shopify?
740: [18:32:46] <terryapodaca> and this is the StaffPage where my grid field sits: http://sspaste.com/paste/show/56326625ed5ac
741: [18:32:50] <Firesphere> Guest29331: That question is impossible to answer.
742: [18:33:13] <wmk> Firesphere, i'd answer with a concrete "depends"
743: [18:33:26] <Firesphere> ^^ what he says ;)
744: [18:33:32] <wmk> yo
745: [18:33:33] <terryapodaca> that's my same question Firesphere, "what's wrong with it"?
746: [18:33:38] <terryapodaca> :P
747: [18:33:48] <Firesphere> terryapodaca: what exactly isn't working?
748: [18:33:58] <Firesphere> A quick look says, should work.
749: [18:34:35] <Firesphere> So, $pagethingy->Staffs() should be available.
750: [18:34:42] <Guest29331> Well, I've set up a site with SS and SwipteStripe. Was not a great success, many SwipeStripe features adapt poorly to NA market, like taxes. Shipping module is vague, at best. And support, inexistant.
751: [18:34:55] <wmk> terryapodaca, this is working: https://github.com/wernerkrauss/silverstripe-team/blob/master/code/pages/TeamHolder.php
752: [18:35:05] * alialamshahi quit (Quit: Page closed)
753: [18:36:00] <terryapodaca> when i click Add Staff on the StaffPage (gridfield), sometimes when I click Create is when I see that "I can't handle sub-URLs of a CMSForm object." message
754: [18:36:26] <wmk> ouch. that message
755: [18:36:45] <Guest29331> <muskie9>FoxyCart is kinda Shopify?
756: [18:36:57] <Firesphere> Hmmmm, is that when you just created the page terryapodaca ?
757: [18:37:04] <Firesphere> I guess not? :X
758: [18:37:10] <wmk> terryapodaca, the one difference i see is: i use GridFieldConfig_RecordEditor::create(); instead of RelationEditor
759: [18:37:25] <Firesphere> The config should/could be empty.
760: [18:37:29] <Firesphere> It's optional.
761: [18:37:34] <Guest29331> How do i validate my nickname? /name *name :name ???
762: [18:37:48] <muskie9> Guest29331 not sure about shopify... never looked into it
763: [18:37:50] <Firesphere> Where do you want to validate?
764: [18:38:01] <wmk> you can register a nick on freenode
765: [18:38:06] <Guest29331> When i log in with a nickname, i am being renamed.
766: [18:38:13] <terryapodaca> Hang on wmk, Firesphere
767: [18:38:14] <Firesphere> Ah, try this: /msg nickserv help
768: [18:38:45] <Guest29331> I never remember: its like /name or kind of
769: [18:39:18] <Firesphere> Have you guys seen the StripeCon recordings yet? https://vimeo.com/album/3629143
770: [18:39:31] <MarkGuinn> Guest29331 - SwipeStripe is great. It's well coded but less flexible. It depends a lot on what type of site you're doing. If you have any questions about SS Shop specifically, feel free to ask here or on https://gitter.im/burnbright/silverstripe-shop
771: [18:39:46] <Firesphere> Hey Mark!
772: [18:39:48] * Firesphere waves
773: [18:39:51] <Firesphere> You ok?
774: [18:42:26] <Guest29331> <MarkGuinn>What i need is a simple ecommerce module that will allow me to: 1) create products with SS environment with prices pics etc 2/build a ADD TO CART 3/ display cart on Page.ss template 4/exit to cart function 5/Gateway (external Paypal will do_ no need for https: 6/ FUNCTIONAL after purchase mail notification.
775: [18:42:35] <MarkGuinn> Yep, doing well. Are you still on this side of the pond?
776: [18:43:06] <terryapodaca> Guest29331: did you see the two links I gave you?
777: [18:43:23] <Firesphere> MarkGuinn: Yep, 12th of january, I'll be leaving :D
778: [18:43:35] <Firesphere> Had my medical checkup today :D
779: [18:43:49] <MarkGuinn> I would think both Swipestripe or ss-shop could do that, Guest29331.
780: [18:44:11] <Guest29331> <terryapodaca>Yes i did. Are these two largely used in the SS environment?
781: [18:44:34] <terryapodaca> MarkGuinn: the last time I tried both both, ss-shop was much more easy to customize/code
782: [18:44:47] <Zauberfisch> Firesphere: Guest29331 I am here now
783: [18:44:51] <MarkGuinn> Firesphere - good thing it wasn't a psychological checkup ;)
784: [18:45:19] <Zauberfisch> But for exommerce i guess I'll have to send you along to MarkGuinn ;)
785: [18:45:22] <Firesphere> MarkGuinn: I would ACE a psychological checkup! Why would you think I would fail it?!
786: [18:45:36] <Zauberfisch> MarkGuinn: awesome to see you here btw
787: [18:45:50] <MarkGuinn> Just kidding. Of course you would!
788: [18:45:56] <MarkGuinn> You too!
789: [18:46:01] <terryapodaca> Guest29331: I believe it is... MarkGuinn is pretty active on their gitter page
790: [18:46:03] <Firesphere> You know what's funny? Everything Zauberfisch types here, I read it in his accent :D
791: [18:46:04] <terryapodaca> https://gitter.im/burnbright/silverstripe-shop
792: [18:46:15] <terryapodaca> and he's here often to answer questions
793: [18:46:38] <Guest29331> silverstripe-shop is own and operated by Zauberfish?
794: [18:46:42] <Firesphere> MarkGuinn: I somehow feel, you were being sarcastig :(
795: [18:46:47] <terryapodaca> no
796: [18:46:54] <Firesphere> The whole world is owned by the Zauberfisch
797: [18:47:04] <terryapodaca> BurnBright, aka Jeremy Shipman
798: [18:47:26] <MarkGuinn> Firesphere - not at all
799: [18:47:46] <Guest29331> Ok will give it a try. Thanks!
800: [18:48:24] * jules0x has joined #silverstripe
801: [18:52:07] * Motoservo quit (Read error: Connection reset by peer)
802: [18:53:49] * Stomach has joined #silverstripe
803: [18:54:12] <terryapodaca> got damn! why is SS fighting me so bad today!!!!!!!!
804: [18:54:15] <terryapodaca> Fatal error: Maximum execution time of 30 seconds exceeded in /home/cultivateappsvps/ag.cultivateapps.com/framework/core/manifest/ManifestCache.php on line 35
805: [19:00:16] <Firesphere> Set the memory-limit to 0, temporarily. Or in dev mode.
806: [19:00:28] <Firesphere> Exec-time is an issue all the time.
807: [19:00:38] <terryapodaca> it is in dev mode
808: [19:01:01] <Firesphere> Then, your PHP doesn't have enough memory. In live-mode, it should use less memory afaik
809: [19:02:19] <terryapodaca> I also have a phprc file setting the following
810: [19:02:33] <terryapodaca> max_execution_time = 500
811: [19:02:33] <terryapodaca> max_input_time = 500
812: [19:02:53] <Firesphere> In dev-mode, it should be zero
813: [19:03:01] <Firesphere> And also, disable the debugger.
814: [19:03:57] <terryapodaca> and by dev mode, I stopped setting that in the _config file, now it yml file:
815: [19:03:58] <terryapodaca> Director:
816: [19:03:58] <terryapodaca> environment_type: 'dev'
817: [19:07:42] * slievr quit (Ping timeout: 246 seconds)
818: [19:07:43] * DanaeNZ has joined #silverstripe
819: [19:08:08] * Motoservo has joined #silverstripe
820: [19:08:30] * Stomach quit (Ping timeout: 260 seconds)
821: [19:11:00] * Guest29331 quit (Quit: Page closed)
822: [19:11:59] <wmk> terryapodaca, use a _ss_environment.php
823: [19:12:06] * DanaeNZ quit (Ping timeout: 255 seconds)
824: [19:12:18] <wmk> so dev mode is on a machine basis, not a config setting you'll put in your vcs
825: [19:14:28] <terryapodaca> wmk I usually do have the environment file all done
826: [19:14:57] <terryapodaca> this is a relatively new "host" VPS and we have both dev and live sites on it
827: [19:15:15] <wmk> ah, you have ONE environment file for many sites?
828: [19:15:22] <wmk> i usually have one per site
829: [19:15:32] <Firesphere> Errrr....
830: [19:15:34] <Firesphere> WHAT?
831: [19:15:50] <Firesphere> _ss_env files exists for a reason!
832: [19:16:20] <wmk> well, you have one db user for many sites?
833: [19:16:49] <wmk> on live machine?
834: [19:17:06] <terryapodaca> I have ONE Env file for all my local dev sites because they are all Dev mode, all use the same DB, etc, etc...and all I have to do is ccreate the new DB tables for each site like ss_mysite, ss_silversrtipe, ss_agworkers
835: [19:17:55] <wmk> and on live?
836: [19:18:08] <terryapodaca> but when I put these on the live server, I don't use the _ss_env file, I just use the _config file for the DB stuff and the yml for the other config stuff
837: [19:18:33] <wmk> well, with env file you don't have that config in your git
838: [19:18:42] <wmk> but that's a matter of taste i guess
839: [19:20:34] * Stomach has joined #silverstripe
840: [19:20:36] <terryapodaca> I can't remember who it was, simmon_w or someone like that (works for SS or at least did back when he got onto me)...but they got onto me for still using the _config file for ALL my config settings and to move all that to the config.yml file now...or at least as much of as I can
841: [19:21:38] * helenclarko has joined #silverstripe
842: [19:22:22] * DanaeNZ has joined #silverstripe
843: [19:23:23] <Firesphere> If possible, everything should be in the YMLs
844: [19:28:46] <wmk> ...if it's not machine specific, like db settings, dev/live mode ...
845: [19:29:36] * antmas has joined #silverstripe
846: [19:35:15] <terryapodaca> oh I do now...I didn't like learning the YAML stuff either and still some of it doesn't make 100% sense
847: [19:35:34] * DanaeNZ quit (Remote host closed the connection)
848: [19:35:48] <wmk> well, yml is a bit hard in the beginning
849: [19:35:56] <terryapodaca> but as for machine wide settings, I only to the _ss_env file on my local machine for development
850: [19:36:05] <wmk> that's totally fine.
851: [19:36:16] <wmk> have to leave, g'night everyone
852: [19:36:20] * wmk quit (Quit: nice to meet you ;))
853: [19:37:09] <terryapodaca> I might eventually start pushing a single _ss_env file for every site just to stay as close as I can to "recommendations" and/or "standards"
854: [19:38:04] <terryapodaca> and poof...he gone
855: [19:38:06] <terryapodaca> lol
856: [19:38:14] <terryapodaca> I must not type fast enough anymore
857: [19:38:15] <antmas> morning all o/
858: [19:38:19] <terryapodaca> :(
859: [19:38:26] * helenclarko quit (Read error: Connection reset by peer)
860: [19:38:38] <terryapodaca> \o
861: [19:38:42] * Motoservo quit (Read error: Connection reset by peer)
862: [19:38:51] <terryapodaca> \o/
863: [19:39:14] <antmas> \o/
864: [19:39:19] <antmas> =o
865: [19:39:21] <antmas> o=
866: [19:39:27] <antmas> |o|
867: [19:39:32] <antmas> tie fighter :D
868: [19:39:36] <antmas> pewpew
869: [19:39:59] <terryapodaca> someone needs to fig a bunch of these \o/ dancing around
870: [19:40:52] <terryapodaca> http://i.imgur.com/ZmwEReV.jpg
871: [19:41:43] * helenclarko has joined #silverstripe
872: [19:44:07] * Motoservo has joined #silverstripe
873: [19:45:26] * DanaeNZ has joined #silverstripe
874: [19:46:20] <antmas> http://i.imgur.com/OhYPN.gif
875: [19:46:24] <antmas> notchickenbutt ^^^
876: [19:49:56] * DanaeNZ quit (Ping timeout: 250 seconds)
877: [19:52:02] <helenclarko> antmas: lol.
878: [19:52:06] <helenclarko> Cats!
879: [19:52:38] <antmas> and Star Wars!
880: [19:53:08] <terryapodaca> isn't today national cat day?
881: [19:54:38] <antmas> correct
882: [19:54:46] <antmas> national or international?
883: [19:55:11] <antmas> nope international is August 8th
884: [19:56:28] <terryapodaca> eh, saw it on twitter
885: [19:57:04] <antmas> just followed you
886: [19:58:13] <antmas> :D
887: [19:58:27] <terryapodaca> follow bak yo
888: [19:58:34] <antmas> be aware that most of my tweets are usually drunk :P
889: [19:58:36] <antmas> or about cars
890: [19:58:41] <antmas> lol
891: [19:59:00] <terryapodaca> mine are mostly retweets about stupid shit or about sports
892: [19:59:09] <antmas> same
893: [19:59:14] <antmas> re-sports
894: [19:59:39] * novaweb has joined #silverstripe
895: [20:04:33] * micmania1 has joined #silverstripe
896: [20:16:02] <jules0x> whats a good way to achieve something like the following?
897: [20:16:08] <jules0x> Thing::get()-f>ilter('property' == '4' OR 'display' true);
898: [20:16:32] <jules0x> ie. OR but not on the same field
899: [20:19:39] <nontgor> ->where($whereClause) I think is the only option, at least with 3.1
900: [20:19:42] <nontgor> #ZZZZ
901: [20:19:57] <jules0x> I'm looking at filterAny... maybe?
902: [20:20:21] <muskie9> jules0x filterAny should do the trick
903: [20:20:42] <muskie9> ->filterAny(array('property' => 4, 'display' => true))
904: [20:23:11] * Motoservo quit (Read error: Connection reset by peer)
905: [20:23:18] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
906: [20:27:26] * Motoservo has joined #silverstripe
907: [20:29:07] * pbnj4640 has joined #silverstripe
908: [20:29:29] <ss-helper> Re: [silverstripe-dev] Re: RFC: Adding ReactJS to SilverStripe CMS - https://groups.google.com/d/msg/silverstripe-dev/WcjutNP-raQ/V8h1SynfAAAJ
909: [20:29:49] <pbnj4640> hey Terry, do you use subsites?
910: [20:31:06] <pbnj4640> or anyone else for that matter
911: [20:36:29] * DanaeNZ has joined #silverstripe
912: [20:38:11] <ss-helper> How to add a css class to an href in Silverstripe CMS editor? - http://stackoverflow.com/questions/33423898/how-to-add-a-css-class-to-an-href-in-silverstripe-cms-editor
913: [20:38:56] * micmania1 hides
914: [20:39:00] * micmania1 has left #silverstripe
915: [20:39:27] * micmania1 has joined #silverstripe
916: [20:39:34] <Stomach> anyone want a job in auckland? :)
917: [20:39:51] * Motoservo quit (Read error: Connection reset by peer)
918: [20:40:13] <jules0x> does it pay twice as much as in wellington?
919: [20:40:28] <jules0x> :B
920: [20:40:50] <jules0x> *subtle affordable housing dig*
921: [20:41:04] * DanaeNZ quit (Ping timeout: 250 seconds)
922: [20:41:47] * joelpittet quit (Remote host closed the connection)
923: [20:44:04] * Motoservo has joined #silverstripe
924: [20:44:30] * DanaeNZ has joined #silverstripe
925: [20:46:19] * Motoservo quit (Read error: Connection reset by peer)
926: [20:47:38] * Motoservo has joined #silverstripe
927: [20:50:24] * antmas yawns
928: [20:51:04] <pbnj4640> anyone know why the Copy to Subsite button is not showing on 3.2?
929: [20:51:18] <pbnj4640> its replaced with just "FormField" in plain text.
930: [20:57:27] * Copperis quit (Quit: Leaving)
931: [20:57:27] <antmas> pbnj4640: any js errors?
932: [20:59:32] <ss-helper> Re: [silverstripe-dev] Re: RFC: Adding ReactJS to SilverStripe CMS - https://groups.google.com/d/msg/silverstripe-dev/WcjutNP-raQ/OM5MPVjgAAAJ
933: [20:59:38] * UndefinedOffset quit (Quit: Leaving.)
934: [21:03:30] <pbnj4640> nothing that im seeing antmas
935: [21:04:27] <pbnj4640> dev tools shows everything loading fine?
936: [21:08:18] * Motoservo_ has joined #silverstripe
937: [21:08:34] * Motoservo quit (Read error: Connection reset by peer)
938: [21:08:35] * Motoservo_ is now known as Motoservo
939: [21:11:10] <jules0x> damn, I'm having a monday on a friday.
940: [21:17:06] <DanaeNZ> i don't get a weekend WHOOO
941: [21:18:21] * joelpittet has joined #silverstripe
942: [21:18:35] <Stomach> jules0x - depends how much you get paid in wellington :D
943: [21:18:45] <Stomach> DanaeNZ - why not :(
944: [21:19:01] * terryapodaca quit (Quit: Leaving.)
945: [21:19:04] <DanaeNZ> so much work
946: [21:19:59] * Motoservo quit (Ping timeout: 264 seconds)
947: [21:22:24] * zippy has joined #silverstripe
948: [21:22:37] * Motoservo has joined #silverstripe
949: [21:23:35] <DanaeNZ> hmmmm i wanna get a random ID from a datalist
950: [21:24:10] * gelignite has joined #silverstripe
951: [21:24:21] <zippy> DanaeNZ: raanndddomm
952: [21:24:50] <DanaeNZ> i think i'm just gonna get the ID column and pick one from that
953: [21:25:03] <zippy> was going to suggest that :)
954: [21:25:41] <zippy> DanaeNZ: ->map()->toArray(), then, array_rand or, shuffle and pop
955: [21:25:50] <DanaeNZ> soudns like a dance
956: [21:25:53] <DanaeNZ> shuffle and POP
957: [21:26:02] <zippy> https://www.youtube.com/watch?v=fv4kp4ZnSuE
958: [21:26:50] * Azure has joined #silverstripe
959: [21:28:12] * Motoservo quit (Read error: Connection reset by peer)
960: [21:31:50] <antmas> bleep bloop
961: [21:34:35] <DanaeNZ> beep bep
962: [21:34:58] * Motoservo has joined #silverstripe
963: [21:36:02] * Motoservo quit (Read error: Connection reset by peer)
964: [21:36:46] * Motoservo has joined #silverstripe
965: [21:39:29] <antmas> http://i.imgur.com/6oRbFMU.gifv
966: [21:40:26] <DanaeNZ> that's mildly terrifying
967: [21:41:03] * Motoservo quit (Read error: Connection reset by peer)
968: [21:41:20] <antmas> DanaeNZ: lol THIS is actually terrifying http://i.imgur.com/g1TNNs7.gif
969: [21:43:00] <DanaeNZ> I'll pass
970: [21:43:01] <DanaeNZ> hah
971: [21:43:13] <antmas> lol it's not chickenbutt
972: [21:43:15] <antmas> more owlsies
973: [21:43:34] <DanaeNZ> hahahah that's not terrifying
974: [21:43:37] <DanaeNZ> that's adorable
975: [21:43:42] <antmas> o.O
976: [21:43:50] <antmas> omg
977: [21:43:55] <antmas> lolly cake :O
978: [21:43:58] <DanaeNZ> FUCK
979: [21:44:00] <DanaeNZ> i fucking
980: [21:44:01] <DanaeNZ> love
981: [21:44:04] <DanaeNZ> lollie
982: [21:44:04] <DanaeNZ> cake
983: [21:44:18] <antmas> it's so gooooood
984: [21:44:19] <antmas> :O
985: [21:44:40] <antmas> OMG AND BELGIUM BISCUITS
986: [21:44:43] * antmas dies
987: [21:47:52] * Motoservo has joined #silverstripe
988: [21:49:56] <zippy> nom
989: [21:50:31] <zippy> brrr she a bit chilly in the office
990: [22:00:47] <novaweb> Ok kids this is a tricky one I'm sure's been seen many times. I've got a custom DataObject. I'm using getTitle to print the Title and Date fields. Whenever I save the dataobject in model admin, it postpends the date to the title field in the database, so I end up with "Report 324 - 01/01/2015 01/01/2015"
991: [22:00:50] <antmas> mmm temp dropped out a bit last few adys here
992: [22:01:00] <novaweb> if I pressed save once more, it'd be "Report 324 - 01/01/2015 01/01/2015 01/01/2015"
993: [22:01:08] <novaweb> What's me doin wrong?
994: [22:01:58] <novaweb> code http://pastie.org/10516939
995: [22:04:14] <DanaeNZ> novaweb: you'll want to build the title from scratch
996: [22:04:24] <DanaeNZ> don't go $this->getField('Title')
997: [22:04:38] <novaweb> ok, what's my alternative?
998: [22:05:08] <novaweb> If in the modeladmin, It only shows the Title of the report
999: [22:05:14] <DanaeNZ> return "Report " . $this->getField('ID') . " " . $this->getField('Date')
1000: [22:05:14] <novaweb> I need to to show Title - Date
1001: [22:05:32] <micmania1> novaweb: $Title - $Date ???
1002: [22:05:53] <micmania1> If you override the getter then its going to show in the text field which you then save which keeps recerusively adding a date every time.
1003: [22:06:43] <novaweb> so I'm still using getTitle correct?
1004: [22:07:24] <novaweb> DanaeNZ... confused.. don't see how that differs to my code :/
1005: [22:07:30] * Motoservo quit (Read error: Connection reset by peer)
1006: [22:08:09] <DanaeNZ> novaweb: the function getTitle is also used when populating the Title dbField iirc
1007: [22:08:17] <novaweb> ahhh
1008: [22:08:20] <DanaeNZ> so when you're saving, it's pulling the whole thing over and over again
1009: [22:08:49] <micmania1> You could add a setTitle() and strip the date off the end but that seems more complex and error prone that just using template variables.
1010: [22:09:45] <novaweb> Ok I understand the problem, but what's the solution? Not using getTitle? How else does one manipulate the output of the Title field in ModelAdmin?
1011: [22:10:32] <micmania1> You want to manipulate the value of title in the edit form or in the grid view?
1012: [22:10:43] <novaweb> grid view
1013: [22:11:16] * Motoservo has joined #silverstripe
1014: [22:12:06] <micmania1> try private static $summary_files = [‘FullTitle’ => ‘Title’]; and rename your getter to getFullTitle.
1015: [22:14:22] <micmania1> summary_fields* :p
1016: [22:14:59] <novaweb> god thank you
1017: [22:15:00] <novaweb> hahah
1018: [22:15:02] <novaweb> broke shit
1019: [22:17:02] <novaweb> right we're getting there
1020: [22:17:25] <novaweb> now the title filter form has disappeared from the left hand pane
1021: [22:17:36] <novaweb> i guess it will be searchable fields full title, will go check the docs
1022: [22:20:44] * Motoservo quit (Read error: Connection reset by peer)
1023: [22:21:58] <novaweb> OK. micmania1 / DanaeNZ - thank you!
1024: [22:22:11] * Kapdap has joined #silverstripe
1025: [22:27:19] * Motoservo has joined #silverstripe
1026: [22:27:31] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
1027: [22:29:08] * antmas quit (Quit: Page closed)
1028: [22:30:39] * Motoservo quit (Read error: Connection reset by peer)
1029: [22:34:25] * Motoservo has joined #silverstripe
1030: [22:41:04] * Colin[pi] has joined #silverstripe
1031: [22:41:38] <Colin[pi]> HOWDY FOLKS
1032: [22:41:42] <Colin[pi]> whoops caps
1033: [22:41:57] * Motoservo quit (Read error: Connection reset by peer)
1034: [22:42:21] <DanaeNZ> never apologise for caps
1035: [22:42:52] * Motoservo has joined #silverstripe
1036: [22:42:58] <Colin[pi]> DanaeNZ: OK I WONT
1037: [22:44:19] * MarkGuinn quit (Ping timeout: 240 seconds)
1038: [22:44:39] <DanaeNZ> GOOD
1039: [22:46:46] * Motoservo quit (Read error: Connection reset by peer)
1040: [22:47:57] <zippy> OMG WTF GOING ON GUYS
1041: [22:48:23] <Colin[pi]> WHAT?
1042: [22:48:26] <Colin[pi]> SPEAK UP
1043: [22:49:12] <Colin[pi]> HAY GUYS, THIS IS MY LAST DAY IN THIS HOUSE ZOMG
1044: [22:49:51] * Motoservo has joined #silverstripe
1045: [22:51:13] <zippy> Colin[pi]: ALSO< THE LAST PHP & RC IS OUT! @ WEEKS UNTIL RELEASE
1046: [22:51:21] * Motoservo quit (Read error: Connection reset by peer)
1047: [22:51:29] <Colin[pi]> zippy: WOW
1048: [22:51:41] <zippy> Colin[pi]: SS MIGHT BECOME FAST
1049: [22:51:55] <zippy> oh wait, thats right, it wont support it until middle next year
1050: [22:52:23] <Colin[pi]> zippy: I noticed a huge leap at 3.1
1051: [22:52:30] <Colin[pi]> 3.0 was slooooow
1052: [22:52:33] <zippy> yea it was
1053: [22:52:38] <zippy> I haven't tried 3.2 yet
1054: [22:52:52] <zippy> I was looking at the change logs and saw a couple of things and I was like, hmm more learnings
1055: [22:53:12] <Colin[pi]> just when you think you've got something learned... *SHAZAM*... computers
1056: [22:54:51] <zippy> yeap
1057: [22:54:59] <zippy> btw, barcode scanners are pretty cool
1058: [22:55:12] <zippy> you just point and it reads shit and puts it into the computer
1059: [22:55:14] <zippy> magical
1060: [22:55:15] * spronk has joined #silverstripe
1061: [22:55:43] <zippy> scan -> popup on screen. Are you adding to stock or taking away? Adding 5 mofo!
1062: [22:55:44] <zippy> bam
1063: [22:55:58] <zippy> no need to type in any names or numbers, barcodes!
1064: [22:55:59] <Colin[pi]> zippy: welcome to 1980!
1065: [22:56:00] <Colin[pi]> ;P
1066: [22:56:23] <zippy> now if only it could read client requirements and smash out the code for me
1067: [22:56:29] <zippy> I point, I click, and fuck all happens
1068: [22:56:47] <Colin[pi]> zippy: the solution is simple
1069: [22:56:54] <Colin[pi]> clients need to provide their reqs as a barcode
1070: [22:57:13] <zippy> "im sorry guys, I only work with barcodes..."
1071: [22:57:24] <zippy> that might help with my workload :D
1072: [22:58:08] * Motoservo has joined #silverstripe
1073: [22:59:22] <Colin[pi]> it's really cool to watch real-time google analytics on a site that's actually busy
1074: [22:59:35] <zippy> and people haven't installed adblockers on
1075: [23:00:56] <Colin[pi]> zippy: the world map looks like something from that pandemic game
1076: [23:05:41] * Motoservo quit (Read error: Connection reset by peer)
1077: [23:06:15] * novaweb quit (Remote host closed the connection)
1078: [23:06:48] * novaweb has joined #silverstripe
1079: [23:08:24] * Motoservo has joined #silverstripe
1080: [23:08:49] <Stomach> Colin[pi] :D its great aye
1081: [23:08:55] <Stomach> especially when you set up lots of events
1082: [23:09:09] * antmas has joined #silverstripe
1083: [23:09:19] <antmas> SO MUCH WANT http://io9.com/wow-this-poster-of-the-death-star-blueprints-is-insane-1739484467
1084: [23:10:19] <Colin[pi]> antmas: o/
1085: [23:10:35] <antmas> Colin[pi]: o/
1086: [23:10:40] * Motoservo quit (Read error: Connection reset by peer)
1087: [23:10:43] <antmas> had to delete o. just then
1088: [23:11:25] * Motoservo has joined #silverstripe
1089: [23:11:41] * novaweb quit (Ping timeout: 268 seconds)
1090: [23:14:43] * Colin[pi] quit (Ping timeout: 246 seconds)
1091: [23:15:00] * Motoservo quit (Read error: Connection reset by peer)
1092: [23:16:36] * Motoservo has joined #silverstripe
1093: [23:21:16] * Colin[pi] has joined #silverstripe
1094: [23:22:22] * novaweb has joined #silverstripe
1095: [23:25:36] <Colin[pi]> what's the best way to avoid broken bookmark links after changing a site over?
1096: [23:25:41] <Colin[pi]> htaccess?
1097: [23:25:47] <Colin[pi]> Director rules?
1098: [23:26:12] * Motoservo quit (Read error: Connection reset by peer)
1099: [23:26:37] <DanaeNZ> Colin[pi]: I would go for htaccess
1100: [23:26:47] <DanaeNZ> although...
1101: [23:26:52] <DanaeNZ> it'll have the same hostname
1102: [23:27:09] <DanaeNZ> some redirects module might be easier
1103: [23:27:44] * Motoservo has joined #silverstripe
1104: [23:28:17] <Colin[pi]> mmm
1105: [23:28:29] <Colin[pi]> yeah I'm seeing a lot of broken shit on Analytics
1106: [23:29:17] * micmania1 quit (Quit: micmania1)
1107: [23:31:15] * Motoservo quit (Read error: Connection reset by peer)
1108: [23:41:11] * Stomach quit (Quit: zzz)
1109: [23:51:58] * Stomach has joined #silverstripe
1110: [23:52:23] * DanaeNZ quit (Remote host closed the connection)
1111: [23:54:30] <helenclarko> Does anyone use any of the one page addons?
1112: [23:55:56] * micmania1 has joined #silverstripe

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