#silverstripe IRC Log

IRC log for 13 May 2015

All timestamps are in UTC.

1: [00:00:05] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
2: [00:04:06] * MichaelH_ has joined #silverstripe
3: [00:04:30] * Stomach quit (Quit: zzz)
4: [00:04:57] <MichaelH_> hi, whats the use of the mysite/_config/ ?
5: [00:05:07] <MichaelH_> (the folder)
6: [00:05:15] <spronk2> to separate out config
7: [00:05:28] <spronk2> e.g. using yaml
8: [00:06:42] <MichaelH_> will I be able to put .php files in there with my config ? so I dont have to write changes to _config.php ?
9: [00:11:12] <adrexia> MichaelH_, that wouldn't be what it's for so likely to confuse future devs
10: [00:11:42] <adrexia> this might help?
11: [00:12:03] <adrexia> http://doc.silverstripe.org/en/developer_guides/configuration/configuration/
12: [00:13:09] <adrexia> config with YML is generally recommended where possible.
13: [00:13:22] <adrexia> though the subject tends to be a wee bit controversial
14: [00:14:05] <adrexia> if you don't plan to use yml, its best to ignore that folder
15: [00:15:44] <MichaelH_> adrexia: spronk2 thanks. I will look into that. Also, is there a way to download the full SS docs as PDF (Or other formats) for offline usage ?
16: [00:15:59] <adrexia> it's all in your git repo
17: [00:16:10] <adrexia> (i think that's still true?)
18: [00:16:19] <adrexia> as .md files
19: [00:16:27] <spronk2> it is?
20: [00:16:33] * Sticks has joined #silverstripe
21: [00:16:36] <adrexia> used to be, let me check
22: [00:16:50] <adrexia> hmm, might just be the old ones?
23: [00:16:51] <adrexia> https://github.com/silverstripe/silverstripe-framework/tree/3.1/docs/en
24: [00:17:31] <adrexia> https://github.com/silverstripe/documentation-examples
25: [00:17:42] <adrexia> sample code is there
26: [00:17:59] <spronk2> so it is
27: [00:18:04] <spronk2> didnt know that
28: [00:18:05] <spronk2> cool
29: [00:18:37] <adrexia> it was doen that way so dev's would be more likely to update the docs ;)
30: [00:24:01] <MichaelH_> ty guys. :)
31: [00:25:52] * jenniferaslan quit (Quit: jenniferaslan has left the room)
32: [00:26:11] * MichaelH_ quit (Quit: Page closed)
33: [00:28:34] <zippy> Ryan-Toast: do you do page specific markup to it's own file?
34: [00:28:49] <zippy> it doesn't feel right, because it makes it feel like the scss isn't as re-useable
35: [00:40:38] * Ryan-Toast quit (Quit: Ryan-Toast)
36: [00:41:37] * DimiStripe quit (Quit: DimiStripe)
37: [00:47:00] * Stomach has joined #silverstripe
38: [00:56:08] * Ryan-Toast has joined #silverstripe
39: [01:00:23] * oddnoc quit (Quit: yawn!)
40: [01:03:32] * camfindlay quit (Quit: camfindlay)
41: [01:06:41] * UncleCheese has joined #silverstripe
42: [01:08:22] * camfindlay has joined #silverstripe
43: [01:15:36] <adrexia> heh. govt nz site went down while catalyst were all looking at the flags
44: [01:16:56] <adrexia> back up now. But interfered with looking at all the horribly awesoem flags
45: [01:17:22] <adrexia> https://www.govt.nz/browse/engaging-with-government/the-nz-flag-your-chance-to-decide/gallery/Design/2238
46: [01:20:28] <spronk2> o_O
47: [01:20:36] <spronk2> we linked that earlier :)
48: [01:23:14] <adrexia> oh? :D
49: [01:23:27] <spronk2> mm. loltasm
50: [01:23:35] * micmania1 quit (Quit: micmania1)
51: [01:24:17] <DanaeNZ> baaahahah
52: [01:24:42] <simon_w|air> Why not go for the Kiwicon II logo?
53: [01:27:01] * veb quit (Quit: veb-irc: &)
54: [01:28:41] <antmas> whatever design we settle on should have a tiny little vector image hidden somewhere on it
55: [01:29:13] <adrexia> I couldn't really care less about the flag.
56: [01:29:22] <adrexia> but it seems like a giant waste of money to me
57: [01:29:40] <adrexia> fiscally irresponsible even :P
58: [01:30:03] <adrexia> but the designs are pretty funny
59: [01:30:38] <simon_w|air> Ooh, the design should be a wad of cash on fire!
60: [01:31:10] <adrexia> lol
61: [01:31:17] <adrexia> great symbolism
62: [01:35:19] <Ryan-Toast> zippy: Hmm, depends.
63: [01:35:42] <Ryan-Toast> Generally all classes should be reusable components.
64: [01:36:08] <Ryan-Toast> but sometimes I put things in a _YourPage.scss file
65: [01:36:25] <Ryan-Toast> or have a reference, for when there are heaps of page types
66: [01:36:33] <Ryan-Toast> using includes, extends etc.
67: [01:37:14] <antmas> adrexia: it's probably fine now we've cut ACC ;)
68: [01:37:58] <adrexia> antmas yeah why do something useful when you can change what a piece of fabric looks like?
69: [01:38:45] <adrexia> now we just need to bring back the right to sue for damages, and we'll be well on our way to becoming just like big brotehr
70: [01:39:29] <adrexia> given ACC is pretty tied up with all of that, it'll be interesting to see if the laws do change soemwhat
71: [01:39:42] <antmas> I would imagine so
72: [01:39:54] <antmas> given they're obviously going to be getting way less money
73: [01:39:58] <adrexia> I hope not, but one thing does lead to another
74: [01:40:08] <antmas> people that abuse ACC and those who legit use it will lobby
75: [01:40:20] <adrexia> "people that abuse ACC" lols
76: [01:40:23] <adrexia> all 2 of them?
77: [01:40:24] <adrexia> :P
78: [01:40:33] <antmas> you know what I mean :P
79: [01:40:53] <adrexia> we don't actually want that sort of society, right?
80: [01:40:53] * willr has joined #silverstripe
81: [01:40:58] * Stomach quit (Quit: zzz)
82: [01:41:10] <antmas> we don't
83: [01:41:11] <terryapodaca> http://tbc.stricklandapps.com/
84: [01:41:31] <terryapodaca> can someone tell me if they are getting a JS error when resizing the browser?
85: [01:41:39] <adrexia> then I think the change to ACC will be temporary
86: [01:41:55] <terryapodaca> the menu is using a plugin that changes the UL menu to a <select> meny
87: [01:41:59] <terryapodaca> menu
88: [01:42:20] <adrexia> terryapodaca, no error, but its not working
89: [01:42:30] <terryapodaca> but as you can seem the <select> menu is being created (at less than 800px)
90: [01:42:36] <antmas> adrexia: probably to 'fix' the budget, then they'll change it back when private health insurance starts to skyrocket
91: [01:42:54] <adrexia> fix the budget by moving the money for the flag into ACC?
92: [01:43:09] <terryapodaca> right, it worked just a couple days ago...and nothing changed code wise
93: [01:43:14] <simon_w|air> Ugh, NZ does not want to go with the AU health care style
94: [01:43:36] <adrexia> I think we have one of the better health care systems to be honest
95: [01:43:36] <antmas> woah, even for a smoker, private health insurance is pretty cheap
96: [01:43:42] <adrexia> with all its flaws
97: [01:43:42] <ss-helper> Confusion configuring silverstripe advancedworkflow workflow - http://stackoverflow.com/questions/23811742/confusion-configuring-silverstripe-advancedworkflow-workflow
98: [01:43:59] <simon_w|air> antmas, that's because very little of it is actually for health care
99: [01:44:03] <adrexia> antmas it depends what you need it for and what you want to be covered for
100: [01:44:10] * Stomach has joined #silverstripe
101: [01:44:12] <antmas> $60 per month for $300,000 :O
102: [01:44:24] <adrexia> even private health care is heavily subsidized
103: [01:44:45] <antmas> adrexia: I'm thinking of like coverage for an ACC alternative
104: [01:45:04] <adrexia> yeah, it'll likely go up if people can't get ACC too
105: [01:45:31] <adrexia> our health insurance tends to be supplementary.
106: [01:45:34] <antmas> that's what I'm sayin, they'll change their minds in a few years once the price of HI goes up
107: [01:45:43] <adrexia> if can be low because a lot of things are 'free'
108: [01:45:49] <adrexia> yep
109: [01:45:52] <adrexia> or not
110: [01:45:53] <simon_w|air> Yeah, and doesn't get you pref treatment since the provider still gets paid exactly the same
111: [01:46:06] <adrexia> because the people making those choices really don't give a damn
112: [01:46:20] <simon_w|air> Whereas here, health insurance gets the provider paid more so it's kinda needed :(
113: [01:46:28] <adrexia> and NZers are less likely to riot than peopel in the UK, it seems :D
114: [01:46:42] <antmas> I dunno man, I know someone who just recently started using PHI and they're getting a pretty good deal
115: [01:47:25] <antmas> but then again, perhaps they pay a truckload...
116: [01:47:39] <adrexia> I'd like an alternative to health insurance. Like some sort of public fund
117: [01:47:42] <adrexia> ;)
118: [01:47:58] <adrexia> pay a bit in every week and then when I need health care, boom health care
119: [01:48:13] <adrexia> no increased premiums
120: [01:48:16] <antmas> I 'd like that, but who wants gigantic waiting lists for the actual help?
121: [01:48:31] <adrexia> antmas that rhtoric isn't very NZ centric, fyi
122: [01:48:37] <adrexia> it's imported
123: [01:48:44] <adrexia> ...from America
124: [01:48:52] <antmas> I disagree, it can be pretty bad depending on what you need
125: [01:48:59] <adrexia> they say it about the UK... and its also not true there
126: [01:49:12] <adrexia> antmas, depending on what you need, yeah
127: [01:49:23] <adrexia> they do have a tendency to treat life threatening first
128: [01:49:38] <antmas> 'tendency' is exactly the issue
129: [01:49:46] * micmania1 has joined #silverstripe
130: [01:49:54] <simon_w|air> Yeah, prioritising on seriousness versus how much you can pay is a much better system
131: [01:50:00] <adrexia> but the wait in the US for the same thing isn't significantly different, and you often have to fight your insurance company to pay for it
132: [01:50:17] <antmas> mm true
133: [01:50:59] <antmas> simon_w|air: yeah but you'd need the medical practitioner to determine that, not the government who is paying
134: [01:51:23] <simon_w|air> antmas, good thing the government doesn't control the waiting list then
135: [01:51:39] <simon_w|air> (Unless you class publicly funded DBHs as the government)
136: [01:52:20] <antmas> you can if they make the rules
137: [01:52:29] <antmas> don't follow rules? don't get paid
138: [01:53:00] <simon_w|air> Don't pay us? Don't get health care
139: [01:53:13] <simon_w|air> Threats go both ways :p
140: [01:53:17] <antmas> exactly, it's a spiral
141: [01:53:30] <antmas> $$
142: [01:53:50] <antmas> as long as they include dental, then I'm happy \o/
143: [01:54:07] <simon_w|air> That's basically what you want private insurance for
144: [01:54:16] <antmas> mm
145: [01:54:16] <simon_w|air> And glasses
146: [01:54:25] * TombL quit (Ping timeout: 255 seconds)
147: [01:54:39] <antmas> even though they're medical issues, that's what you pretty much have to do these days
148: [01:56:37] <adrexia> yeah, its really backwards to not see dental care as health
149: [01:57:19] * willr quit (Quit: willr)
150: [01:58:47] <Colin[pi]> adrexia: my gf from brazil thinks it's really weird here how dental is not considered that important
151: [01:58:51] <antmas> you have asthma? cool, heres a free inhaler. Wisdom tooth causing blood poisoning? $100,000 kthnxbai
152: [01:59:13] <adrexia> Colin[pi], I also think it's really weird.
153: [01:59:36] <Colin[pi]> adrexia: I know over there they are very appearance conscious, so dunno
154: [01:59:51] <adrexia> well, dental isn't just appearance
155: [02:00:03] <adrexia> infections can kill
156: [02:00:09] <antmas> adrexia: +1
157: [02:00:21] <antmas> it can cause depression too
158: [02:00:28] * willr has joined #silverstripe
159: [02:00:46] <Colin[pi]> yeah not just appearance
160: [02:00:48] <adrexia> I beleive at a certain point it _is_ covered by our health care. but often that point is very late, and the treatments are very minimal
161: [02:01:13] <antmas> well it's free until 18 right?
162: [02:01:18] <adrexia> yeah
163: [02:01:18] <antmas> unless it's cosmetic
164: [02:01:31] * TombL has joined #silverstripe
165: [02:01:34] <simon_w|air> So long as the dentist is in the plan
166: [02:01:38] <antmas> glhf after that though
167: [02:01:40] <adrexia> also free to get wisdom teeth out if they are causing related medical problems
168: [02:01:41] <Colin[pi]> DENTAL PLAN
169: [02:01:48] <antmas> LISA NEEDS BRACES
170: [02:01:51] <Colin[pi]> DENTAL PLAN
171: [02:01:56] <adrexia> and free to get teeth pulled out at the outpatient care palce
172: [02:01:58] <antmas> LISA NEEDS BRACES
173: [02:02:01] <Colin[pi]> rofl
174: [02:02:36] <antmas> mm I remember they used to park this old trailer at my primary school for a few months of the year
175: [02:02:49] <antmas> everyone got really depressed around that time of year :|
176: [02:02:59] <simon_w|air> My primary school actually had a physical dentist building
177: [02:03:20] <antmas> they used to have to DRAG me in there
178: [02:03:44] <simon_w|air> So long as I was timed for specific classes, it was fine
179: [02:03:49] <adrexia> I had my first filling a few years ago
180: [02:03:56] <Colin[pi]> simon_w|air: we had that too
181: [02:03:59] <antmas> adrexia: :O
182: [02:04:04] <adrexia> It was the first time I'd seen a dentist since right before I turned 18
183: [02:04:07] <antmas> adrexia: do you have like, wizard teeth?
184: [02:04:17] <adrexia> ...and I left it a long long time after I knew there was a problem
185: [02:04:18] <Colin[pi]> are your teeth wizards? o_O
186: [02:04:25] <antmas> :O
187: [02:04:25] <adrexia> I thought the problem was a lot worse actually
188: [02:04:31] <antmas> I have 2 white fillings
189: [02:05:02] <adrexia> antmas - didn't have much in the way of 'candy' as a kid
190: [02:05:17] <Colin[pi]> antmas: I hardly ever go to the dentist, and I get shit scared when I do eventually go, but every time he's like "well it's all looking pretty good, just a clean"
191: [02:05:18] <antmas> I remember as a kid though, the day before it was my turn for the dentist, I bit down on a thin cut chip and my tooth literally exploded
192: [02:05:19] <adrexia> never broken a bone or anything either
193: [02:05:29] <simon_w|air> https://www.google.com.au/maps/place/Lyall+Bay+School+Dental+Clinic/@-41.323346,174.7931228,123m/data=!3m1!1e3!4m2!3m1!1s0x6d38a55fc32317e7:0x30da1642fe48f929?hl=en
194: [02:05:35] <simon_w|air> Turns out it's still there
195: [02:05:37] <antmas> adrexia: +1 for not breaking bones
196: [02:05:45] <Colin[pi]> same here, never broken any
197: [02:05:50] <antmas> adrexia: aaaaaaand now I'm terrified of doing so :P
198: [02:06:22] <adrexia> I'm more worried about cartilage
199: [02:06:43] <Colin[pi]> I have a "crunchy" knee
200: [02:06:44] <Colin[pi]> :\
201: [02:06:45] <adrexia> my bones are solid, but my joints can cause issues
202: [02:06:54] <adrexia> Colin[pi], me too :-/
203: [02:07:04] <adrexia> got it from playing ultimate for years
204: [02:07:20] <antmas> simon_w|air: they used to park the dentist truck right inside this gate so when you arrived you were reminded of your impending doom https://www.google.co.nz/maps/place/St+Mary's+Catholic+School/@-42.715655,170.966231,3a,75y,278.45h,89.46t/data=!3m4!1e1!3m2!1sY2YbZPSw-p6LZEzzCW54bw!2e0!4m2!3m1!1s0x6d2f2f6da5500c6d:0x3c9bdc1828d22116!6m1!1e1
205: [02:07:23] <Colin[pi]> adrexia: first identified when I was like 14, they offered arthroscopy, but I passed
206: [02:07:35] <adrexia> ahh
207: [02:07:43] <adrexia> I went to a physio for a while
208: [02:07:44] <Colin[pi]> then he said "you'll prolly be at increased risk for arthritis when you're older" \o/
209: [02:07:56] <simon_w|air> antmas, they should've disguised it as the Harold truck! :p
210: [02:07:58] <adrexia> erg
211: [02:08:06] <antmas> simon_w|air: ROFL they did do that once
212: [02:08:16] <antmas> but we knew they were LIES
213: [02:08:20] <adrexia> holikita?
214: [02:08:27] <adrexia> I thought I recognised that
215: [02:08:34] <antmas> adrexia: yarp
216: [02:08:39] <adrexia> it's down the road from where my dad used to live
217: [02:08:54] <antmas> adrexia: was he towards the town or away?
218: [02:08:57] <adrexia> had to walk passed it to get to 'town '
219: [02:09:01] <adrexia> away from
220: [02:09:13] <antmas> lol omg small world
221: [02:09:17] <adrexia> and a couple of blocks over
222: [02:09:40] <adrexia> he worked at the venison place down there
223: [02:09:53] <antmas> ah yeah I remember it
224: [02:10:18] <adrexia> hah! so west coast and Nelson
225: [02:10:24] <antmas> :P
226: [02:10:39] <adrexia> Nelson was the first 'city' I lived in :D
227: [02:10:47] * antmas moved to the big smoke \o/
228: [02:10:57] <adrexia> lol, yep
229: [02:11:07] <adrexia> I moved there when I was 9
230: [02:11:10] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
231: [02:11:14] <adrexia> or 10 maybe
232: [02:11:20] <adrexia> yeah, 10 :)
233: [02:11:45] <adrexia> I distinctly remember my new classmates explaining to me what a 'prostitute' was
234: [02:11:53] <antmas> rofl
235: [02:12:02] <antmas> adrexia: moved from?
236: [02:12:15] <adrexia> Murchison, and before that, Karamea
237: [02:12:47] <Stomach> I love karamea
238: [02:12:53] <adrexia> me too
239: [02:13:11] <antmas> woah Murchison
240: [02:13:12] <adrexia> its hard to get to though. not the sort of place you can just pass through
241: [02:13:12] <Stomach> my partner is from westport, so whenever we go down there her old man takes me up the coast fishing
242: [02:13:32] <adrexia> Murchison though... that place was shit
243: [02:13:34] <adrexia> :P
244: [02:13:41] <Stomach> hahaha
245: [02:13:43] <adrexia> Stomach, sweet!
246: [02:14:00] <Stomach> yeah its fucking beautiful there
247: [02:14:03] <Stomach> good fishing too :D
248: [02:14:09] <adrexia> I remember ctaching the mail van to Westport a few times as a child
249: [02:14:21] <Stomach> now thats a big smoke :D
250: [02:14:26] <adrexia> Karamea, where Westport is 'town'
251: [02:14:29] <adrexia> ;)
252: [02:14:33] <Stomach> yeah lol
253: [02:14:54] <Stomach> I've been to greymouth to get mcdonalds with kims sister every single time we go to westport
254: [02:14:56] <Stomach> lol
255: [02:14:57] <Stomach> :D
256: [02:14:57] <antmas> my boss used to fly me to karamea in a microlite each friday for a beer and smoke :P
257: [02:15:08] <adrexia> haha, long way to go for a meal
258: [02:15:16] <adrexia> antmas, really?
259: [02:15:19] <adrexia> wow :D
260: [02:16:14] <antmas> yeah I worked at the airport in Hoki
261: [02:17:48] <adrexia> ahh, nice :)
262: [02:18:03] <adrexia> pretty expensive place to fly into though
263: [02:20:25] <antmas> yeah
264: [02:20:35] <antmas> so dumb how you have to go to chch first
265: [02:21:16] <adrexia> yep
266: [02:21:33] <adrexia> then you get on the tiniest little plane :D
267: [02:21:53] <antmas> they did recently at ATRs on that route I believe
268: [02:22:05] * adrexia nods
269: [02:22:29] <antmas> but the slightest hint of rain? boom 10m high clouds
270: [02:24:41] <antmas> I used to drive a beat up old car on the runway each morning shooting at birds with a shotgun
271: [02:25:00] <antmas> was literally part of my AirNZ contract
272: [02:25:21] <adrexia> ...wow
273: [02:25:27] <adrexia> that's...
274: [02:25:34] <adrexia> small towns
275: [02:25:35] <adrexia> :D
276: [02:25:39] <antmas> haha
277: [02:26:07] * david_____ has joined #silverstripe
278: [02:27:25] <zippy> pretty sure there is a dude that drives at the nelson airport in a 4x4 and fires off something
279: [02:27:34] * Stomach quit (Quit: zzz)
280: [02:27:59] <david_____> https://github.com/silverstripe/silverstripe-framework/blob/3.1/control/HTTP.php#L347 - how would I go about changing that line without touching that file? So I could still user composer and upgrade the SS version
281: [02:28:02] <antmas> zippy: yeah they still do
282: [02:29:06] * Stomach has joined #silverstripe
283: [02:29:45] <zippy> david_____: possibly subclass http?
284: [02:30:01] <zippy> what are you using it for, restful ?
285: [02:30:26] <david_____> nah just trying to use composer
286: [02:30:33] <david_____> but need to make some modifications to the core
287: [02:31:05] <antmas> "but need to make some modifications to the core"
288: [02:31:06] <david_____> maybe I should do a pull request and make it a configureable option
289: [02:31:12] <antmas> and that's the last we saw of david_____
290: [02:31:20] <david_____> why?
291: [02:31:52] <adrexia> david_____, looks like there's a method in HTTPResponse called removeHeader
292: [02:31:56] <adrexia> that should do it ?
293: [02:32:40] <simon_w|air> Unless things have changed, HTTP gets called after anything you can easily hook into
294: [02:32:52] <david_____> nah I want to remove the "must-revalidate" part of that header
295: [02:33:40] <david_____> I think I might just make a pull request
296: [02:33:43] <adrexia> $controller->response->removeHeader('Cache-Control');
297: [02:34:15] <adrexia> though, yeah, what simon_w|air says could be a problem
298: [02:34:37] <david_____> this isn't for a particular instance of a controller, I'm trying to make a kind of "base project" that others can be started from within the company
299: [02:35:11] <adrexia> ahh, so, any controller ?
300: [02:35:24] <david_____> basically project-wide
301: [02:35:44] <adrexia> what's the problem its causing?
302: [02:37:09] <zippy> niiiceee https://www.govt.nz/browse/engaging-with-government/the-nz-flag-your-chance-to-decide/gallery/design/1350
303: [02:37:56] <david_____> so the must-revalidate part of that header basically tells the proxy to query the server every request to see if the resource has changed
304: [02:38:09] <david_____> it just doesn't transfer any data if a 304 is returned
305: [02:39:30] <david_____> but we don't want the proxy to call the app server, we want it to cache for however long we tell it to and call the app server again once the cache expires
306: [02:39:56] <antmas> zippy: lol
307: [02:41:07] <zippy> david_____: um. I think it will only revalidate once it has become stale wont it?
308: [02:41:31] * TombL quit (Ping timeout: 252 seconds)
309: [02:41:47] <adrexia> wow that file is super old.
310: [02:42:36] <adrexia> zippy, that's what that looks like to me
311: [02:43:03] <zippy> so the must-revalidate part of that header basically tells the proxy to query the server every request to see if the resource has changed; once it has gone past the age
312: [02:43:09] <zippy> I believe
313: [02:43:11] <zippy> david_____: ^
314: [02:43:49] <zippy> david_____: must-revalidate is an instruction that tells caches that once something becomes stale, it has to be checked on the origin server. If it isn't present, caches can (generally) use stale responses in unusual circumstances (e.g., if they lose contact with the origin server).
315: [02:44:54] * camfindlay quit (Quit: camfindlay)
316: [02:45:25] <david_____> I get that ideally if the spec is followed then that is what should happen but we are having a different experience with our proxies (squid and nginx)
317: [02:47:29] <david_____> it could be squid though, that thing is old as shit
318: [02:48:46] * TombL has joined #silverstripe
319: [02:49:08] <david_____> I'll look into it some more
320: [02:49:11] <david_____> thanks for the help
321: [02:51:35] * helenclarko has joined #silverstripe
322: [02:53:29] * oddnoc has joined #silverstripe
323: [02:59:26] * Stomach quit (Quit: zzz)
324: [03:02:10] * camfindlay has joined #silverstripe
325: [03:02:10] * camfindlay quit (Client Quit)
326: [03:05:36] * Stomach has joined #silverstripe
327: [03:05:45] * dospuntocero has joined #silverstripe
328: [03:12:25] * oddnoc quit (Quit: yawn!)
329: [03:13:59] * faithwhaler has joined #silverstripe
330: [03:14:28] <faithwhaler> hey guys, i built this photo gallery site a while ago and everything was fine, but now they have 2700 images and it's moderately popular so they are having to do a lot more administration than before
331: [03:15:08] <faithwhaler> the problem is currently i have a gridfield that contains all the photographs and they have to manually scroll through them, then click the photograph they need, then when they click the 'back' button the pagination takes them back to page 1 rather than whatever gridfield page they were on
332: [03:15:47] <faithwhaler> the second problem is they want to be able to just click 'feature' as a toggle button in the grid field so they can change what goes on the front page mosaic, right now they have to open the data object, uncheck / check, then click save and click back (which again causes that pagination problem)
333: [03:16:16] <faithwhaler> so, any ideas on the pagination being lost, and can i add a custom button to the grid field view that just does something with an ajax controller to change the feature status
334: [03:16:42] <faithwhaler> also are there any ways to put the gridfield into say 3 columns or something, as these are photos a full row for each is a little overkill
335: [03:17:02] <faithwhaler> anyway, any advice would be appreciated
336: [03:17:13] <DanaeNZ> https://github.com/silverstripe-australia/silverstripe-gridfieldextensions ?
337: [03:17:24] <DanaeNZ> most notable, GridFieldEditableColumns
338: [03:17:39] <DanaeNZ> which I believe allows you to change a value from the main gridfield view
339: [03:17:40] <faithwhaler> have you used that, i have before and it has a fairly elaborate UI
340: [03:17:45] <faithwhaler> it's not just inline
341: [03:17:46] <DanaeNZ> Stomach: what do you think
342: [03:17:51] <faithwhaler> maybe it's changed last time i used it
343: [03:17:55] <Stomach> just add a gridfieldaction
344: [03:17:58] <Stomach> one sec ill find and example
345: [03:18:11] <DanaeNZ> yes the gridfieldactions are nice and easy to add
346: [03:18:15] <Stomach> https://github.com/Little-Giant/silverstripe-catalogmanager/blob/master/code/Actions/GridfieldPagePublishAction.php
347: [03:18:38] <faithwhaler> great i will take a look
348: [03:19:08] <Stomach> and https://github.com/Little-Giant/silverstripe-catalogmanager/blob/master/code/ModelAdmin/CatalogPageAdmin.php#L26-L97
349: [03:20:43] * david_____ quit (Ping timeout: 246 seconds)
350: [03:22:04] * UncleCheese has joined #silverstripe
351: [03:23:09] <faithwhaler> ok cool
352: [03:31:09] * Stomach quit (Quit: zzz)
353: [03:33:10] <helenclarko> faithwaller: 2nd problem possible solution, what about gridfieldrelationhandler field? SimonWlsh made a nice Addon for it http://addons.silverstripe.org/add-ons/simonwelsh/gridfieldrelationhandler
354: [03:33:53] <helenclarko> Dunno if it's of any use to you, but might help with creating featured option for your gridfield.
355: [03:35:17] <helenclarko> Damnit!!!! Spelling errors all over those! faithwhaler, is who the last two messages are for haha.
356: [03:41:17] * Stomach has joined #silverstripe
357: [03:48:13] <spronk2> i should open a sandwich bar
358: [03:48:13] <spronk2> this shit is fucking delicious
359: [03:50:00] * babak has joined #silverstripe
360: [03:50:02] * r_hector has joined #silverstripe
361: [03:50:15] <DanaeNZ> what’s in YO SAMMICH
362: [03:51:32] <spronk2> roast chicken, pepperoni, blue cheese, capsicum, olives, tomato, cucumber, aioli
363: [03:51:40] <spronk2> nomnom
364: [03:51:54] <DanaeNZ> damn that’s some serious sandwich game
365: [03:52:00] <spronk2> wasnt sure about the blue cheese, but damn, it kicks that shit up a notch
366: [03:52:13] <spronk2> #workingfromhome #fuckyeah
367: [03:52:48] <zippy> blue cheese... bleeeeehhhhhhhh
368: [03:52:54] <UncleCheese> -1
369: [03:53:02] * spronk2 used to ahte it
370: [03:53:12] <spronk2> now i love it in small doses
371: [03:53:26] <spronk2> though, i'm still a complete blue cheese n00b
372: [03:53:43] <spronk2> any mould that doesnt look like the stuff inside the cheese and i'm like.. fuck this shit
373: [03:54:32] <zippy> I can taste the mold, and the smell, and the taste
374: [03:54:48] <zippy> I can handle bree and camembert but blue...
375: [03:54:54] <zippy> that shit makes me wanna yak
376: [03:54:58] <spronk2> brie is fuuuuckiing deliiiiiiiicious
377: [03:55:00] <spronk2> KING OF CHEESE
378: [03:55:10] * UncleChe_ has joined #silverstripe
379: [03:55:13] <spronk2> no
380: [03:55:13] <spronk2> queen
381: [03:55:16] <spronk2> king would be parmesan
382: [03:55:39] <DanaeNZ> I’m a big fan of camembert
383: [03:55:47] * UncleChe_ quit (Read error: Connection reset by peer)
384: [03:55:58] <spronk2> i still havent figured out the difference between brie and cam
385: [03:56:16] <DanaeNZ> Camembert tastes a little sharper, not much difference tho
386: [03:56:18] <spronk2> cam seems a bit dryer.. but then, one brand's brie is drier than another's cam, so...
387: [03:56:18] <zippy> me either
388: [03:56:18] <DanaeNZ> I like both
389: [03:56:29] <zippy> ^
390: [03:56:35] <DanaeNZ> #cheese
391: [03:56:37] <DanaeNZ> yes
392: [03:56:44] <spronk2> guess what guys
393: [03:56:50] <spronk2> we've added a new topic to the SS random chat list
394: [03:56:59] <DanaeNZ> haha
395: [03:57:08] <spronk2> soon it'll be back to cars
396: [03:57:08] <helenclarko> Hellow and welcome to Cheese Chat! All cheese, all the time.
397: [03:57:33] <spronk2> wait wait
398: [03:57:36] <spronk2> Haloumi and welcome!
399: [03:58:22] <DanaeNZ> oh gods cheese puns
400: [03:58:23] <DanaeNZ> :D
401: [03:58:26] <helenclarko> I CAMEMBERT THIS ANYMORE?!?!
402: [03:58:32] <DanaeNZ> YES
403: [03:58:32] <DanaeNZ> haha
404: [03:58:37] <spronk2> I GOUDA GO
405: [03:59:10] <antmas> Mild is cheaper than Tasty
406: [03:59:13] <terryapodaca> I'm using the UserDefinedForms module...how do I make input fields within a HTML Block be submitted with the email?
407: [03:59:24] <antmas> if you think otherwise you're wasting YOUR MONEY, SHEEPLE
408: [03:59:43] <antmas> and tastier*
409: [03:59:46] <DanaeNZ> Tasty Tastier
410: [03:59:50] <spronk2> i quite like maasdam too
411: [03:59:57] <spronk2> crazy fruity cheese
412: [04:00:03] <DanaeNZ> cumin gouda _b
413: [04:00:30] <antmas> DanaeNZ: how would you pronounce cumin?
414: [04:00:38] <antmas> I hate when people say 'coomin'
415: [04:00:49] <zippy> qumin ?
416: [04:00:53] <spronk2> cue-min
417: [04:00:54] <DanaeNZ> Q - Min
418: [04:00:56] <antmas> zippy: +1
419: [04:00:57] <DanaeNZ> yeah
420: [04:01:04] <DanaeNZ> my friend pronounces it “Come In"
421: [04:01:07] <DanaeNZ> lel
422: [04:01:10] <antmas> LOL
423: [04:01:20] <zippy> same people that say warez is war-ez
424: [04:01:23] <spronk2> its like PAPrika vs papRIka
425: [04:01:32] <zippy> and linux is line-ux
426: [04:01:36] <helenclarko> terryapodaca, they should automagically send with your email... unless you ticked the nice tickbox on the htmlfield to say otherwise.
427: [04:01:37] <simon_w|air> terryapodaca, can't. UDF only knows about the fields listed
428: [04:01:40] <antmas> zippy: huarez?
429: [04:01:45] <antmas> que?
430: [04:02:03] <antmas> or varCHAR vs varCAR
431: [04:02:06] <antmas> :|
432: [04:02:18] <spronk2> CHARCHARCHAR
433: [04:02:32] <simon_w|air> How about Huiwei?
434: [04:02:44] <antmas> I say Huaway
435: [04:02:46] <helenclarko> sorry simon_w, I assumed he was talking about the htmlfield within userforms.
436: [04:02:49] <simon_w|air> *Huawei
437: [04:02:53] <spronk2> HEE OOO AEY OOO AYEE EEEE OOOO UUU AWWW WWWAAAA WAAIE
438: [04:02:59] <antmas> lol
439: [04:03:30] <simon_w|air> It's wah-way :p
440: [04:03:37] <antmas> "Whoarewe? we're Huawei!
441: [04:03:37] <helenclarko> Who are we? No, Who are you?!
442: [04:03:56] <helenclarko> AHHHH, Nice Antmas!
443: [04:03:58] * antmas can't stop whispering huawei
444: [04:04:35] <spronk2> o_O
445: [04:05:10] <terryapodaca> simon_w|air: there's no way to jQuery it or something?
446: [04:05:13] <helenclarko> Often wonder if they were just sitting around trying to come up with a name just saying "Who are we... Who are we... Who are we"
447: [04:05:22] <antmas> helenclarko: rofl
448: [04:05:23] <simon_w|air> terryapodaca, it's on the PHP side, so no
449: [04:05:56] * Stomach quit (Quit: zzz)
450: [04:06:07] <helenclarko> Pied Piper!
451: [04:07:27] * Stomach has joined #silverstripe
452: [04:07:49] <simon_w|air> http://www.wellingtonphoenix.com/video/huawei--wah-way/941593
453: [04:08:33] <antmas> huahuahua
454: [04:08:59] * Cheddam has joined #silverstripe
455: [04:09:46] <DanaeNZ> Huawei is def Hwa-Way
456: [04:09:51] <DanaeNZ> chinese right?
457: [04:10:37] <antmas> yeah
458: [04:10:43] <antmas> its hwa-way
459: [04:10:45] * jules0x has joined #silverstripe
460: [04:10:54] * DanaeNZ has left #silverstripe
461: [04:11:12] * DanaeNZ has joined #silverstripe
462: [04:11:18] <jules0x> has anyone here used SOLR fulltextsearch to search through PDFs?
463: [04:11:29] <terryapodaca> simon_w|air: so in this form, in the section National Beef Checkoff: http://tbc.stricklandapps.com/compliance/online-remittance-form/
464: [04:11:32] <DanaeNZ> no but that sounds fun
465: [04:11:56] <simon_w|air> antmas, didn't you hear Siggy? It's Hawaii? :p
466: [04:12:11] <antmas> jules0x: like search inside a pdf(s)?
467: [04:12:14] <jules0x> depends on your definition of fun
468: [04:12:26] <terryapodaca> simon_w|air: there's no simple way to achieve those fields without building my own form...
469: [04:12:35] <helenclarko> Huawei literally means "China's achievement". The company suggests that its name be pronounced "wah-way".
470: [04:12:51] <antmas> jules0x: we have solr connected to our DMS system which primarily hosts pdfs
471: [04:13:08] <terryapodaca> or can I achieve that same "look" with UDF? I assume using CSS...but will end up with a crap ton of form fields to manage in the CMS
472: [04:13:25] <jules0x> We've not implemented pdf searching in our code, though I understand Solr is capable of this
473: [04:13:34] <antmas> jules0x: it is
474: [04:13:37] <helenclarko> well the chinese symbols for Huawei, mean "China's achievement.
475: [04:13:40] <jules0x> Just wondered how complex something like this is
476: [04:14:09] * Stomach quit (Quit: zzz)
477: [04:14:51] <DanaeNZ> 花 : Flower, blossom
478: [04:14:55] <jules0x> We currently have two separate search controllers and indexes, allowing searching to be split along class lines... the PDF searchability would be integrated with only one of these
479: [04:15:00] <DanaeNZ> 为: reason, become
480: [04:15:22] <antmas> jules0x: yup, just confirming https://www.cwp.govt.nz/guides/core-technical-documentation/fulltext-search-module/en/Solr
481: [04:15:30] <antmas> 'text extraction'
482: [04:15:53] <jules0x> hey thanks
483: [04:15:59] <antmas> np
484: [04:16:30] * willr quit (Quit: willr)
485: [04:16:42] * Stomach has joined #silverstripe
486: [04:19:37] <zippy> spronk2: it's time... https://youtu.be/ayfCs6nj-7k?t=62
487: [04:19:50] * spronk2 headbangs
488: [04:21:16] * antmas pushes some shapes
489: [04:21:17] <antmas> \\o
490: [04:21:19] <antmas> o//
491: [04:21:26] <antmas> |o|
492: [04:21:38] * terryapodaca has left #silverstripe
493: [04:22:28] * willr has joined #silverstripe
494: [04:26:01] * Hailwood quit (Ping timeout: 252 seconds)
495: [04:27:03] * Hailwood has joined #silverstripe
496: [04:27:47] * UncleChe_ has joined #silverstripe
497: [04:41:08] * micmania1 quit (Quit: micmania1)
498: [04:41:39] * jules0x quit (Quit: Leaving)
499: [04:42:37] * antmas quit (Ping timeout: 246 seconds)
500: [04:49:34] <Stomach> UncleChe_
501: [04:49:36] <Stomach> you there
502: [04:49:37] <Stomach> ?
503: [04:50:03] <UncleChe_> yeah bra
504: [04:54:25] <helenclarko> GO BANANA!
505: [04:57:38] * Stomach quit (Quit: zzz)
506: [05:00:11] * helenclarko quit (Quit: Page closed)
507: [05:02:16] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
508: [05:03:09] * Stomach has joined #silverstripe
509: [05:05:32] * Phlunk3 quit (Remote host closed the connection)
510: [05:07:53] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
511: [05:10:37] * Hailwood quit (Quit: Leaving)
512: [05:14:45] * faithwhaler is now known as Fishmancer
513: [05:16:43] * DanaeNZ quit (Quit: DanaeNZ)
514: [05:20:33] * UncleChe_ quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
515: [05:23:51] * Stomach quit (Quit: zzz)
516: [05:24:25] * micmania1 has joined #silverstripe
517: [05:24:51] * Ryan-Toast quit (Quit: Ryan-Toast)
518: [05:25:43] * dospuntocero quit ()
519: [05:53:57] * Ryan-Toast has joined #silverstripe
520: [06:03:10] * Shrike_Finland has joined #silverstripe
521: [06:05:43] * Shrike_Finland1 has joined #silverstripe
522: [06:07:55] * Shrike_Finland quit (Read error: No route to host)
523: [06:10:39] * Shrike_Finland has joined #silverstripe
524: [06:10:45] * Shrike_Finland1 quit (Read error: No route to host)
525: [06:13:32] * Ryan-Toast quit (Quit: Ryan-Toast)
526: [06:16:38] * micmania1 quit (Quit: micmania1)
527: [06:20:04] * willr quit (Quit: willr)
528: [06:21:16] * micmania1 has joined #silverstripe
529: [06:21:30] * micmania1 quit (Client Quit)
530: [06:24:23] * Cheddam quit (Ping timeout: 250 seconds)
531: [06:24:49] * Kingy has joined #silverstripe
532: [06:35:41] * huberd has joined #silverstripe
533: [06:35:52] * david_____ has joined #silverstripe
534: [06:36:01] * Kingy quit ()
535: [06:36:03] <david_____> question about modeladmin
536: [06:36:16] * Colin[pi] quit (Ping timeout: 258 seconds)
537: [06:36:20] <david_____> if I have one object with a summary_fields property
538: [06:36:47] <david_____> can I have two modeladmin classess, one that uses summary_fields and another that lists out some other set of fields as the summary?
539: [06:38:55] <david_____> do I have to extend that object into two sub classes each with their own set of summary fields?
540: [06:48:45] * wmk has joined #silverstripe
541: [06:48:58] * harry_ quit (Ping timeout: 246 seconds)
542: [06:49:53] * Err404NotFound quit (Quit: User guilty of hitting the Big Red X...)
543: [06:56:44] * Error404NotFound has joined #silverstripe
544: [07:00:31] * mahfuz quit (Ping timeout: 246 seconds)
545: [07:12:04] * applePay has joined #silverstripe
546: [07:18:49] * r_hector quit (Remote host closed the connection)
547: [07:24:08] * rista has joined #silverstripe
548: [07:25:22] * david_____ quit (Ping timeout: 246 seconds)
549: [07:28:10] * rista quit (Ping timeout: 246 seconds)
550: [07:33:48] <ss-helper> How do I add dynamic html class for every LI tag? - http://www.silverstripe.org/community/forums/template-questions/show/101739
551: [07:41:37] * veb has joined #silverstripe
552: [07:47:03] * zippy has joined #silverstripe
553: [07:51:04] * swaiba has joined #silverstripe
554: [07:53:15] * micmania1 has joined #silverstripe
555: [07:54:00] * Mike123 has joined #silverstripe
556: [07:56:03] <elgabbu> morning guys
557: [07:56:10] * kinglozzer has joined #silverstripe
558: [07:56:32] <elgabbu> my question today is about the CSVBulkLoader
559: [07:56:43] <swaiba> mornin' all
560: [07:56:52] * Sticks quit (Quit: Leaving)
561: [07:57:11] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
562: [07:57:19] <elgabbu> so I have a ModelAdmin for dataObjectA ....
563: [07:57:36] <elgabbu> dataObjectA has_many dataObjectB
564: [07:59:14] <elgabbu> so when I click on one of the rows of ObjectA .... the getCMSFields of ObjectA displays a form in Root.Main and a GridField with a list of ObjectB records
565: [08:00:04] <elgabbu> is it possible to use the CSVBulkUpload to upload more ObjectB records
566: [08:00:57] <elgabbu> from the documentation I read on SS site the model_importers property is limited to the the models inside the managed_models property
567: [08:03:53] <ss-helper> Re: How do I add dynamic html class for every LI tag? - http://www.silverstripe.org/community/forums/template-questions/show/101739#post401536
568: [08:05:11] <wmk> elgabbu, maybe https://github.com/burnbright/silverstripe-importexport is better, at least worth a look
569: [08:11:49] <elgabbu> wmk thanks will try it out
570: [08:12:23] <wmk> hope it helps - please report how you like it ;)
571: [08:26:23] * jamesbrowne has joined #silverstripe
572: [08:27:19] * spronk2 quit (Quit: I may need a longer sleep timer...)
573: [08:30:39] * Pyircelk has joined #silverstripe
574: [08:33:59] <ss-helper> Re: How do I add dynamic html class for every LI tag? - http://www.silverstripe.org/community/forums/template-questions/show/101739#post401538
575: [08:33:59] <ss-helper> Custom FormField with Custom Javascript in CMS Module (Pages Tree) - http://www.silverstripe.org/community/forums/customising-the-cms/show/101740
576: [08:34:18] * zippy has joined #silverstripe
577: [08:36:01] * wmk quit (Read error: Network is unreachable)
578: [08:36:07] * wmk has joined #silverstripe
579: [08:43:09] <Pyircelk> wmk: see my tweet?
580: [08:44:33] <wmk> Pyircelk, seen it, didn't try it though
581: [08:45:05] <wmk> maybe i should ask in forum or on stackoverflow for a detailed step-by-step beginner howto
582: [08:45:22] <wmk> why didn't write unclecheese a lesson about that important topic?
583: [08:49:01] <ss-helper> Re: Including HTML in Footer Only on HomePage - http://www.silverstripe.org/community/forums/general-questions/show/101681#post401539
584: [08:49:45] <Pyircelk> wmk: most diagrams have a few specifics to know of beforehand
585: [08:49:51] <Pyircelk> like different dotted lines
586: [08:50:30] * cloph_away is now known as cloph
587: [08:51:48] <Pyircelk> ...... for 'valley folds' and ..-..-..- for 'mountain folds'
588: [08:52:22] <wmk> guess i have to read some general howtos before
589: [08:52:38] * wmk just knows foldLeft() or foldRight()
590: [08:53:13] * benjhocking quit (Read error: Connection reset by peer)
591: [09:11:37] * Colin[pi] has joined #silverstripe
592: [09:17:02] * bemusedrat has joined #silverstripe
593: [09:19:06] <ss-helper> Re: SilverStripe Shop Version 1.0.0 Released - oh snap! - http://www.silverstripe.org/community/forums/e-commerce-modules/show/97135#post401540
594: [09:19:48] <Pyircelk> wmk: valley fold means to fold the paper towards you (lift the flap over) and mountain fold means to fold the paper away from you (so if you stop half way it looks like a mountain)
595: [09:24:20] * benjhocking has joined #silverstripe
596: [09:32:08] <swaiba> Pyircelk - woo hoo - I know origami - and serval other japanesse words
597: [09:34:09] <ss-helper> Re: Custom FormField with Custom Javascript in CMS Module (Pages Tree) - http://www.silverstripe.org/community/forums/customising-the-cms/show/101740#post401542
598: [09:34:09] <ss-helper> Re: How do I add dynamic html class for every LI tag? - http://www.silverstripe.org/community/forums/template-questions/show/101739#post401541
599: [09:35:15] <zippy> Pyircelk: wmk you guys visit the forum more since the helper dumps links?
600: [09:36:44] * Stomach has joined #silverstripe
601: [09:42:00] * UncleCheese has joined #silverstripe
602: [09:45:29] <zippy> what is something large I can download
603: [09:47:53] <Pyircelk> zippy: much.
604: [09:48:16] * Stomach quit (Quit: zzz)
605: [09:48:48] <Pyircelk> zippy: the raw extract of the blueray special extended edition of lord of the rings trilogy, all three chapters with directors comentary and extra bits?
606: [09:48:49] <Pyircelk> idk
607: [09:49:11] <Pyircelk> some modern game? Like, call of duty 29 or whatever?
608: [09:49:11] <ss-helper> Re: How do I add dynamic html class for every LI tag? - http://www.silverstripe.org/community/forums/template-questions/show/101739#post401543
609: [09:49:20] <Pyircelk> they're about a billion gigs a pop these days
610: [09:49:43] <elgabbu> wmk: that import export module is giving an error ... Fatal error: Class 'Goodby\CSV\Import\Standard\LexerConfig' not found in
611: [09:49:57] <wmk> zippy, of course!
612: [09:50:05] <elgabbu> those the module have some dependency on another module?
613: [09:50:05] <wmk> helper is totally good
614: [09:50:38] <elgabbu> yeah i can see the dependency in composer
615: [09:55:05] <elgabbu> anyone can tell the basics of installing something with composer?
616: [09:55:11] <Pyircelk> function iWouldLikeToMakePlease_thePDF($outputFile=null) {
617: [09:55:28] <Pyircelk> #winningatfunctionnames
618: [09:59:41] * wmk quit (Quit: nice to meet you ;))
619: [10:04:03] <swaiba> elgabbu what isn't covered by https://getcomposer.org/doc/00-intro.md ?
620: [10:04:26] <swaiba> it's a little bit of a large subject and I'm sure apart from teh docs there are a bunch of vids on it too
621: [10:16:40] <ss-helper> Re: [silverstripe-dev] Ideas from other projects - https://groups.google.com/d/msg/silverstripe-dev/MI0BMOncRzM/DpfTZFf1AogJ
622: [10:17:24] <kinglozzer> Pyircelk: Start including emoji characters in function names
623: [10:18:37] <Mike123> how to set different template for form action ?
624: [10:23:32] * kinglozzer quit (Read error: Connection reset by peer)
625: [10:24:02] * kinglozzer has joined #silverstripe
626: [10:24:37] * benjhocking quit (Read error: Connection reset by peer)
627: [10:25:41] * benjhocking has joined #silverstripe
628: [10:25:50] * eagles0513875_ quit (Ping timeout: 272 seconds)
629: [10:26:17] * huberd_ has joined #silverstripe
630: [10:27:51] * eagles0513875_ has joined #silverstripe
631: [10:30:07] * huberd quit (Ping timeout: 256 seconds)
632: [10:30:21] * SphereSilver quit (Ping timeout: 265 seconds)
633: [10:30:25] * Fishmancer quit (Ping timeout: 272 seconds)
634: [10:30:46] * Fishmancer has joined #silverstripe
635: [10:31:18] * simon_w|air quit (Max SendQ exceeded)
636: [10:31:46] <zippy> In ss 2.4 how can you remove the content field
637: [10:31:58] <zippy> since removeByName('Content') removes the whole content tab
638: [10:32:02] * simon_w|air has joined #silverstripe
639: [10:35:30] * SphereSilver has joined #silverstripe
640: [10:42:25] * applePay quit (Ping timeout: 246 seconds)
641: [10:43:33] <Pyircelk> kinglozzer: nah man, dun do emoji me like
642: [10:44:12] <Pyircelk> zippy: use full path
643: [10:44:19] * Eliseth has joined #silverstripe
644: [10:44:31] <Pyircelk> Root.Content.Content
645: [10:44:34] <Pyircelk> or whatever
646: [10:44:40] <Pyircelk> Root.Main.Content.Content
647: [10:52:49] <zippy> mmm wasn't working
648: [10:53:00] <zippy> but did with $fields->removeByName('Content', true);
649: [10:53:07] <zippy> where true is 'datafieldonly'
650: [11:03:54] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
651: [11:05:26] * swaiba quit (Remote host closed the connection)
652: [11:20:26] <Pyircelk> Closed an urgent ticket. Now bored.
653: [11:34:29] <ss-helper> Acess and store php site inside silverstripe? - http://www.silverstripe.org/community/forums/all-other-modules/show/101741
654: [11:46:04] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
655: [11:48:46] * UncleCheese has joined #silverstripe
656: [11:49:31] <ss-helper> Re: Acess and store php site inside silverstripe? - http://www.silverstripe.org/community/forums/all-other-modules/show/101741#post401545
657: [12:04:34] <ss-helper> Re: Acess and store php site inside silverstripe? - http://www.silverstripe.org/community/forums/all-other-modules/show/101741#post401546
658: [12:06:08] <elgabbu> i have a dataobject that has a field of type Money
659: [12:06:52] <elgabbu> if i have a currency and amount in $currency and $amount ... how do i query this dataobject to find records with the same currency and amount?
660: [12:08:07] <cloph> Name::get()->filter(....)?
661: [12:08:41] <elgabbu> yeah its those .... that confuse me ... since its a money field which is then represent with two separte fields in the database
662: [12:09:47] <Pyircelk> is it?
663: [12:09:49] <cloph> MoneyField::get()->filter(array('Currency' = $yourinstance->Curreny, 'Amount' = $yourinstance->Amount))
664: [12:09:59] <Pyircelk> ^
665: [12:10:06] * Pyircelk quit (Quit: reboot time)
666: [12:10:43] * DimiStripe has joined #silverstripe
667: [12:10:55] <cloph> sorry => not just "="
668: [12:17:06] * veb quit (Quit: veb-irc: &)
669: [12:17:31] * UndefinedOffset has joined #silverstripe
670: [12:19:37] <ss-helper> Re: Acess and store php site inside silverstripe? - http://www.silverstripe.org/community/forums/all-other-modules/show/101741#post401549
671: [12:19:37] <ss-helper> Re: Acess and store php site inside silverstripe? - http://www.silverstripe.org/community/forums/all-other-modules/show/101741#post401548
672: [12:19:37] <ss-helper> Re: Acess and store php site inside silverstripe? - http://www.silverstripe.org/community/forums/all-other-modules/show/101741#post401547
673: [12:28:37] * NETim has joined #silverstripe
674: [12:29:22] <NETim> Morning. Got some data objects that are being displayed as pages. How would one get the complete URL for the DO as a page?
675: [12:37:34] <elgabbu> thanks cloph it was something along those lines :)
676: [12:38:00] <elgabbu> $payoutLevel = $self->PayoutLevels()->filter(array('PayoutCurrency' => $currency,'PayoutAmount' => $amount ))->First();
677: [12:49:42] <ss-helper> Re: Acess and store php site inside silverstripe? - http://www.silverstripe.org/community/forums/all-other-modules/show/101741#post401550
678: [12:50:16] * jamesbrowne quit (Quit: Textual IRC Client: www.textualapp.com)
679: [12:51:00] * r3v3rb has joined #silverstripe
680: [12:53:03] * DimiStripe quit (Quit: DimiStripe)
681: [12:53:21] <r3v3rb> hi guys
682: [12:53:24] <r3v3rb> and gals
683: [12:53:51] <r3v3rb> anyone ever used the cvs import to deal with many_many -> belongs_many_many relations?
684: [12:53:57] <r3v3rb> csv*
685: [12:56:49] <r3v3rb> for example I want to import something like this where shelf one, two and three are of type ‘shelf’ and the products listed are of type ‘product’
686: [12:56:50] <r3v3rb> https://docs.google.com/spreadsheets/d/1l8azncJwhMET3VRmP5kKJRUug6dnWvmptiZ7qCwR_XM/edit?usp=sharing
687: [12:57:46] <r3v3rb> therefore the ‘shelf’ items need to be created on the first import and then the products parsed and associated on a second run through
688: [12:57:57] <r3v3rb> feasibile?
689: [12:58:29] * micmania1 quit (Quit: micmania1)
690: [13:02:03] * bemusedrat quit (Quit: Leaving)
691: [13:02:53] * swaiba has joined #silverstripe
692: [13:04:05] * Error404NotFound quit (Remote host closed the connection)
693: [13:05:02] <kinglozzer> r3v3rb: It's possible yeah, I've done something similar before. I had a CSV containing products with many_many related products, just looped over everything once to import (ignoring related products), then after that loop over them again and look at only related products
694: [13:05:56] <r3v3rb> kinglozzer: did you take a look at the spreadsheet i posted?
695: [13:06:06] * Pyrconik has joined #silverstripe
696: [13:06:15] <r3v3rb> Pyrconik: :) how do
697: [13:06:19] <Pyrconik> do well
698: [13:06:25] <Pyrconik> you do?
699: [13:06:30] <r3v3rb> still UK Pyrconik ?
700: [13:06:34] <Pyrconik> yup
701: [13:06:47] <Pyrconik> 'til December
702: [13:06:48] <r3v3rb> When you coming down to the beach Pyrconik ?
703: [13:06:52] <Pyrconik> Summer.
704: [13:06:53] * Colin[pi] quit (Ping timeout: 258 seconds)
705: [13:07:14] <r3v3rb> Sweet! Come see me in Bexhill/Hastings - I’ll buy you an Ice cream
706: [13:07:34] <Pyrconik> Hastings eh? That's near where my aunt lives, in Napier.
707: [13:07:45] <Pyrconik> xD
708: [13:07:55] <kinglozzer> r3v3rb: Nup!
709: [13:08:08] <r3v3rb> kinglozzer: the spreadsheet is already the clients bible and follows this format where the relations are defined side by side… urghh
710: [13:08:24] <kinglozzer> Yay, clients!
711: [13:08:27] <r3v3rb> shelf is not the real terminology!
712: [13:08:33] <r3v3rb> kinglozzer: :\
713: [13:09:07] <kinglozzer> So the relation is a 1/cross in one of many columns? Should still be the same principal, just trickier to extract the data :P
714: [13:09:12] <r3v3rb> Pyrconik: fancy a paid challenge?
715: [13:09:21] <r3v3rb> king exactly
716: [13:09:31] <Pyrconik> r3v3rb: sure do
717: [13:09:35] <r3v3rb> but the hard part will be maintenance in future I keep telling them
718: [13:09:50] * lerni_ has joined #silverstripe
719: [13:09:54] <r3v3rb> one change to a column name for the ‘shelfs’ and its fucked up
720: [13:10:06] <r3v3rb> will get all new imports going on!
721: [13:10:27] <r3v3rb> Pyrconik: https://docs.google.com/spreadsheets/d/1l8azncJwhMET3VRmP5kKJRUug6dnWvmptiZ7qCwR_XM/edit?usp=sharing
722: [13:10:35] <Pyrconik> The proxy server is refusing connections
723: [13:10:46] <Pyrconik> Firefox is configured to use a proxy server that is refusing connections. Check the proxy settings to make sure that they are correct. Contact your network administrator to make sure the proxy server is working.
724: [13:11:12] <Pyrconik> screenshot r3v3rb ?
725: [13:11:17] <r3v3rb> needs to be an automated import system, where each ‘shelf’ is its own DO and then the products are many_many relations
726: [13:11:38] <Pyrconik> that's nonsense. A product can only be on one shelf at a time.
727: [13:11:49] <Pyrconik> 1 shelf, many products.
728: [13:11:59] <Pyrconik> of course, if you're talking product TYPE... ;)
729: [13:12:17] <r3v3rb> lol, i’m not using real names to protect the innocent
730: [13:12:25] * Pyrconik rambles on about how OOP is supposed to reflect real life relations, etc.
731: [13:12:39] <r3v3rb> yeh yeh, it would in the real scenario
732: [13:12:57] * Pyrconik is just filling his boredom with words, he trusts your judgement
733: [13:12:57] <r3v3rb> holy shit how slow is dropbpx
734: [13:13:25] <r3v3rb> Pyrconik: https://www.dropbox.com/s/rhj3nrzkdj8b094/Screen%20Shot%202015-05-13%20at%2014.11.23.png?dl=0
735: [13:14:28] <Pyrconik> and you want me to write an importer?
736: [13:15:06] <r3v3rb> maybe, if you can let me know the costing involved :D fancy chatting in a pm
737: [13:15:41] <Pyrconik> no, no PM's allowed.
738: [13:15:44] <Pyrconik> This is a PM free zone
739: [13:15:49] <r3v3rb> £5 then
740: [13:15:52] <Pyrconik> I an't got time for politics
741: [13:16:01] <Pyrconik> and our PM is a dick.
742: [13:16:09] <Pyrconik> worse than yours, better than Aussies.
743: [13:16:25] <r3v3rb> don’t get me started
744: [13:16:46] <r3v3rb> collectively the British are fuckwits or the results are fixed?
745: [13:17:12] <r3v3rb> but they made their choice I now get to choose - stay here or go and live in Spain for 5-10 years instead
746: [13:17:27] <Pyrconik> Better than the alternatives!
747: [13:17:31] <r3v3rb> as I didn’t vote because all candidates are idiots I can’t complain
748: [13:17:37] <Pyrconik> exactly
749: [13:17:52] <Pyrconik> so yeah, I'll do it for 5k
750: [13:17:53] <Pyrconik> sure.
751: [13:18:00] <r3v3rb> ffs wtf!
752: [13:18:04] <r3v3rb> ;)
753: [13:18:06] <Pyrconik> xP
754: [13:18:16] <Pyrconik> Rule your country that is.
755: [13:19:48] <ss-helper> Check if logged in from third party php page inside silverstripe - http://www.silverstripe.org/community/forums/all-other-modules/show/101742
756: [13:20:15] <Pyrconik> lol, extension of that earlier question I guess. Foresaw that coming
757: [13:20:17] * huberd_ quit (Read error: Connection reset by peer)
758: [13:20:33] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
759: [13:22:14] <swaiba> sorry to detract from the politics...
760: [13:22:34] <swaiba> 2.4 question - when a pages URL is changed and it automatically redirects
761: [13:22:44] <swaiba> is there a way to stop it
762: [13:23:00] * catcher has joined #silverstripe
763: [13:23:01] <swaiba> becasue there is another page with that URL and it ends up going there which is most confusing
764: [13:23:24] <Pyrconik> umm
765: [13:23:31] <Pyrconik> I don't think so.
766: [13:23:46] <Pyrconik> iirc it's rolled into ModelAsController
767: [13:23:55] <swaiba> do you know where in db previous value is and I'll just hack it?
768: [13:23:58] <Pyrconik> you'll have to read through it (it's not very complicated)
769: [13:24:08] <Pyrconik> page versions I think :<
770: [13:26:45] <Pyrconik> https://github.com/silverstripe/silverstripe-framework/blob/2.4/core/control/ModelAsController.php#L150
771: [13:27:11] <Pyrconik> yeh: https://github.com/silverstripe/silverstripe-framework/blob/2.4/core/control/ModelAsController.php#L167
772: [13:28:43] <r3v3rb> Pyrconik: SiteTree_versions
773: [13:28:46] <r3v3rb> maybe?
774: [13:28:49] <Pyrconik> yes
775: [13:28:55] <Pyrconik> in link ^
776: [13:29:29] <swaiba> yep thanks guys - I'm reading/ sqling now :)
777: [13:33:24] * DimiStripe has joined #silverstripe
778: [13:33:47] * Error404NotFound has joined #silverstripe
779: [13:37:30] <NETim> Anyone know why my password reminders are coming from unknown sender?
780: [13:38:45] <r3v3rb> Pyrconik: £5 is still on the table but I have just got the first stage working here using CSVParser ;)
781: [13:39:02] <Pyrconik> cool
782: [13:39:22] <Pyrconik> kinglozzer: where does SS check user?
783: [13:39:27] <Pyrconik> check/set
784: [13:39:31] <Pyrconik> (ie, from session)
785: [13:39:38] <kinglozzer> Pyrconik: Member::currentUserID?
786: [13:39:41] <kinglozzer> ()
787: [13:39:48] <Pyrconik> no
788: [13:39:53] <kinglozzer> Session::get("loggedInAs"); ?
789: [13:39:58] <Pyrconik> no
790: [13:40:06] <kinglozzer> Dunno what you mean then :P
791: [13:40:18] <Pyrconik> check/set, not get
792: [13:40:26] <kinglozzer> Ohh, authenticate?
793: [13:41:05] <swaiba> NETim - http://api.silverstripe.org/3.1/class-Email.html#_setAdminEmail
794: [13:41:29] <Pyrconik> kinglozzer: yeah, but not Authenticator (because that's a one off after logging in right?)
795: [13:41:35] <NETim> swaiba: thanks. Is there not a default setting? I've never had an SS site do that before.
796: [13:41:57] <kinglozzer> Pyrconik: MemberAuthenticator validates email + password if that's what you mean
797: [13:42:00] <swaiba> NETim - can't say more - I've used that from 2.4
798: [13:42:03] <Pyrconik> NETim: default admin is 'admin' - not a valid email address
799: [13:42:43] <NETim> Pyrconik: This is for the forgotten password emails. For some reason on the site I'm working on atm they are coming from unknown sender.
800: [13:42:43] <swaiba> NETim - oh and note that means, use yml instead now :)
801: [13:43:03] <NETim> swaiba: YAY! YML.
802: [13:43:26] <swaiba> everyone loves that unforgiving ugly syntax
803: [13:43:56] <Pyrconik> kinglozzer: better question perhaps - how does SS track user session?
804: [13:44:19] <Pyrconik> what's the process flow?
805: [13:44:56] <r3v3rb> okay, next part is get the header row from CSVParser ?
806: [13:45:04] <r3v3rb> shows as protected :\
807: [13:45:05] * Shrike_Finland quit (Quit: Leaving.)
808: [13:45:24] <r3v3rb> fetchCSVHeader() method that is
809: [13:46:30] <kinglozzer> Pyrconik: Still no idea what you're asking :P MemberAuthenticator tries to validate the username+password. If that passes, Member::logIn() is called which sets the "loggedInAs" session variable
810: [13:46:39] <kinglozzer> That what you mean?
811: [13:47:00] <r3v3rb> kinglozzer: is it possible to extract the header from the csv file being uploaded ?
812: [13:47:13] <r3v3rb> using the CSVParser
813: [13:47:26] <kinglozzer> r3v3rb: Dunno, I used the phpleague CSV package instead :P
814: [13:47:45] <r3v3rb> dammnit i should remember their stuff its awesome
815: [13:57:46] * muskie9 has joined #silverstripe
816: [13:59:06] * babak quit (Quit: Connection closed for inactivity)
817: [14:00:05] <NETim> swaiba: Thanks. That fixed it.
818: [14:00:15] <NETim> Good ol' YML
819: [14:04:32] * Shrike_Finland has joined #silverstripe
820: [14:09:55] * Shrike_Finland quit (Quit: Leaving.)
821: [14:27:09] <NETim> Got a dataobject that has many of itself. How would DataObject::get filter the ones that don't have any related to them?
822: [14:28:39] <r3v3rb> stage one complete - import and creation of ‘shelves’ done - now on to parsing products and associating relations
823: [14:30:45] <NETim> Anyone?
824: [14:31:58] <Pyrconik> kinglozzer: oh, so just always loggedInAs? No re-check on each load as per some hash or something?
825: [14:32:28] <Pyrconik> which part checks for 'LoggedInAs'?
826: [14:32:29] <kinglozzer> Pyrconik: Nope, just an ID in that session var
827: [14:32:39] <kinglozzer> Member::currentUserID()
828: [14:32:43] <Pyrconik> heh
829: [14:32:43] * Mike123 quit (Ping timeout: 246 seconds)
830: [14:34:15] <swaiba> NETim - I wouldn't - I'd use a hack like csv in a text field and then manually remove them based on adding code
831: [14:34:38] <swaiba> not good, but I've never have do relating to themselves or multiple relations between smae objects work
832: [14:34:53] <NETim> A little too far down the line for that. I'm just trying to limit the results for a gridfield relation editor.
833: [14:34:59] * Eliseth quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
834: [14:35:20] <swaiba> NETim thin I'm no help :)
835: [14:35:25] <NETim> Really, it's just looking for objects that don't have any of a related other object.
836: [14:36:29] <muskie9> NETim is it a has_many has_one relation?
837: [14:36:45] <muskie9> and you're just looking for objects that haven't been related back?
838: [14:39:10] * Error404NotFound quit (Quit: User guilty of hitting the Big Red X...)
839: [14:39:37] * Eliseth has joined #silverstripe
840: [14:40:39] * Eliseth quit (Client Quit)
841: [14:40:48] <NETim> muskie9: Pretty much. So I want all Object As that don't have any Object Bs
842: [14:41:59] <muskie9> you could build an array based on the ObjAID column on the related objects then exclude those ID's from a ::get() if that makes sense
843: [14:42:50] <Pyrconik> kinglozzer: so, basically if you set the session var to a number like say... 1, suddenly you're an admin no worries m80
844: [14:43:04] <muskie9> $related = ObjB::get()->column('ObjARelationID'); $noRelation = ObjA::get()->exclude($related);
845: [14:43:05] <kinglozzer> Pyrconik: Yep
846: [14:43:06] <muskie9> something like that
847: [14:43:22] <Pyrconik> kinglozzer: righto.
848: [14:43:35] <NETim> Think i get it. I'll give it a go and see what breaks.
849: [14:45:16] <Pyrconik> NETim: muskie9 or, this is one case where it's actually acceptable to use ->leftjoin and ->where
850: [14:45:53] <NETim> Silly question, but can you do a subselect in a get()?
851: [14:46:07] <muskie9> not sure on the subselect
852: [14:46:16] <Pyrconik> DemAs::get()->leftjoin('DemBs on b.arelID = A.id')->where('B.id IS NULL')
853: [14:46:29] <Pyrconik> NETim: no, it's not a select.
854: [14:46:38] <Pyrconik> ORM != SQL
855: [14:46:52] <NETim> Just wondered if there was an equivalent method.
856: [14:47:04] <Pyrconik> filter()
857: [14:47:56] <Pyrconik> Thing::get()->filter('SomeField'=>OtherThings::get()->column('ID')->toArray()) // or something
858: [14:48:58] <Pyrconik> basically the same as a subquery - same net result, although it's two /distinct/ queries
859: [14:49:05] <Pyrconik> as opposed to two queries in one command
860: [14:51:01] <NETim> How would that handle a not in?
861: [14:51:55] * lerni_ quit ()
862: [15:00:02] <Pyrconik> s/filter/exclude/
863: [15:04:01] <Pyrconik> NETim: ^
864: [15:05:07] <ss-helper> Re: Check if logged in from third party php page inside silverstripe - http://www.silverstripe.org/community/forums/all-other-modules/show/101742#post401552
865: [15:19:40] <catcher> Weird. A content author managed to delete a page from SiteTree without it being removed from SiteTree_Live.
866: [15:20:43] <catcher> Does CMS page deletion not unpublish? I'll look soon, but lmk if anyone else has encountered this.
867: [15:21:33] <muskie9> catcher, a user can delete a 'draft' version of a page but keep the published version iirc
868: [15:21:49] <muskie9> to remove a page fully need to unpublish and delete
869: [15:22:17] <catcher> muskie9, doesn't it seem like a bug that pages can be published with no way to edit them?
870: [15:23:06] <muskie9> ya, seems weird, I haven't had that happen in a long time, but might be worth looking back if it used to function differently
871: [15:23:33] * EasyCo has joined #silverstripe
872: [15:25:33] <catcher> Anyone else want to weigh in before I add an issue for this?
873: [15:27:30] <catcher> https://www.loomio.org/d/PvkJBLtu/remove-delete-from-draft-option-from-cms
874: [15:27:35] <swaiba> catcher - I'll add a +1
875: [15:27:51] <swaiba> becasue I've seen it and had to go to the DB to resolve, not impressed
876: [15:29:27] <catcher> Yeah, as much as I enjoy running insert statements from mysql in prd...
877: [15:43:27] <muskie9> has anyone come across a bug where PageB extends PageA, PageA has an onBeforeWrite(), PageB hides ancestor PageA via $hide_ancestor, and the parent::onBeforeWrite() in PageA fails in SiteTree?
878: [15:44:08] <muskie9> commenting out the $hide_ancestor in PageB then allows the parent::onBeforeWrite() to work
879: [15:44:31] <catcher> swaiba, https://github.com/silverstripe/silverstripe-cms/issues/631
880: [15:57:09] <Pyrconik> catcher: no.
881: [15:57:29] <Pyrconik> (ref: [16:20] <catcher> Does CMS page deletion not unpublish?)
882: [15:58:06] <Pyrconik> swaiba: 'show all including deleted' - suddenly editable!
883: [15:58:12] <Pyrconik> no need to crash DB :>
884: [15:58:32] <Pyrconik> catcher: shouldn't be any need for insert at all
885: [15:58:42] <Pyrconik> show all including deleted - restore button.
886: [15:59:02] <swaiba> Pyrconik - hmmm yes I know this - but I'm still sure I've had cases where things are gone
887: [15:59:20] <swaiba> e.g. deleting a parent to children or something
888: [16:00:36] <catcher> Pyrconik, I use that filter 1x per year, and always forget about it. Thanks.
889: [16:00:59] <catcher> Pyrconik, does that use the versions table then?
890: [16:11:13] <muskie9> catcher it should iirc
891: [16:11:39] <muskie9> otherwise it couldn't get deleted ;)
892: [16:24:38] <Pyrconik> catcher: yep.
893: [16:25:06] <Pyrconik> swaiba: hmm, bulk edit in that case. But to be fair I don't think I've actually used it myself since 2.4 haha
894: [16:25:57] <Pyrconik> n e wae, iz liek hoome teem n stouff, lata'z
895: [16:26:15] * Pyrconik quit (Quit: (dat NE accent rite?))
896: [16:27:16] * swaiba quit (Remote host closed the connection)
897: [16:29:10] * kinglozzer quit ()
898: [17:12:16] * muskie9 is now known as muskie9_afk
899: [17:18:19] * Shrike_Finland has joined #silverstripe
900: [17:20:27] * joelpittet has joined #silverstripe
901: [17:25:59] * Shrike_Finland quit (Quit: Leaving.)
902: [17:36:01] * joelpittet quit (Remote host closed the connection)
903: [17:46:30] * babak has joined #silverstripe
904: [17:59:03] * muskie9_afk is now known as muskie9
905: [18:14:46] * r3v3rb quit (Quit: r3v3rb)
906: [18:38:00] * harry_ has joined #silverstripe
907: [18:39:40] <harry_> is it possible to debug vars in the view?
908: [18:44:09] * harry_ quit (Quit: Page closed)
909: [18:44:26] * harry_ has joined #silverstripe
910: [18:47:01] <harry_> my page has_many CarouselImage
911: [18:47:21] <harry_> how can i test if the var is empty of not in my templlate?
912: [18:48:14] * Stomach has joined #silverstripe
913: [18:51:19] <harry_> my CarouselImage dataobject is empty
914: [18:51:29] <harry_> but this evaluates as true
915: [18:51:31] <harry_> <% if $CarouselImage %>
916: [18:51:59] <muskie9> harry_ var_dump() ? or debug::show()
917: [18:52:03] <muskie9> in your php
918: [18:52:07] <harry_> it has a many_many relationship with Page
919: [18:54:50] * EasyCo quit (Quit: Connection closed for inactivity)
920: [18:55:42] <harry_> in the template muskie9
921: [18:55:45] <harry_> ?
922: [18:56:02] * Stomach quit (Quit: zzz)
923: [18:56:59] <muskie9> I usually write a method in the model... something like getMyObjects(){ debug::show($this->RelatedObject()); } then call $MyObjects in the template...
924: [19:10:09] * Stomach has joined #silverstripe
925: [19:14:37] <harry_> muskie9: does this look right?
926: [19:14:39] <harry_> https://gist.github.com/spacebiscuit/b6d0e09f446c21af8534
927: [19:15:38] <muskie9> https://gist.github.com/spacebiscuit/b6d0e09f446c21af8534#comment-1453110
928: [19:16:12] <harry_> thanks
929: [19:16:16] <muskie9> sure
930: [19:26:37] <harry_> muskie9: i changed my line to
931: [19:26:38] <harry_> var_dump($this->CarouselImage);
932: [19:26:47] <harry_> output is null
933: [19:26:57] <harry_> but there are related CarouselImage
934: [19:27:03] <harry_> i can see them on page
935: [19:27:28] <muskie9> can you paste your model
936: [19:30:37] <harry_> https://gist.github.com/spacebiscuit/b6d0e09f446c21af8534
937: [19:30:51] <harry_> maybe i need to specify the relation from CarouselIamge ot Page?
938: [19:31:40] <muskie9> sorry, meant the page, my bad
939: [19:32:55] <harry_> https://gist.github.com/spacebiscuit/090df5e3a978c5858bb0
940: [19:34:24] <muskie9> line 25 should be var_dump($this->CarouselImage());
941: [19:36:03] <harry_> ok I see
942: [19:36:25] <harry_> i was using the () previously and i was getting an error
943: [19:36:36] <harry_> must have been something else which was wrong
944: [19:36:43] <harry_> don't the brackets imply a function?
945: [19:36:49] <muskie9> maybe var_dump($this->getManyManyComponents('CarouselImage'));
946: [19:37:28] <muskie9> yes, but it's also how you access a relation in the ORM
947: [19:38:56] <harry_> i see
948: [19:39:11] <harry_> i'm trying to check to see if the has_many relation is empty or not
949: [19:39:17] * Stomach quit (Quit: zzz)
950: [19:39:28] <harry_> if it is empty I don't want to display my caorusel
951: [19:39:38] <muskie9> I don't see a has_many on the page, just a many_many
952: [19:39:41] * joelpittet has joined #silverstripe
953: [19:40:38] <harry_> sorrey I meant many_many
954: [19:40:42] <harry_> *
955: [19:41:13] <muskie9> you could do debug::show($this->CarouselImage()->count()); to see the total in the related list
956: [19:42:56] <harry_> perfect
957: [19:43:00] <harry_> that's what i need
958: [20:01:29] * Stomach has joined #silverstripe
959: [20:16:21] * UndefinedOffset quit (Quit: Leaving.)
960: [20:17:04] * Azure|dc has joined #silverstripe
961: [20:19:27] * Azure quit (Ping timeout: 256 seconds)
962: [20:29:13] * antmas has joined #silverstripe
963: [20:33:15] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
964: [20:34:47] * helenclarko has joined #silverstripe
965: [20:35:23] * gelignite has joined #silverstripe
966: [20:37:37] * r_hector has joined #silverstripe
967: [20:45:28] * DanaeNZ has joined #silverstripe
968: [20:47:01] * r_hector quit (Remote host closed the connection)
969: [20:50:15] <antmas> morning all o/
970: [20:50:20] <Stomach> hey antmas \o
971: [20:56:12] * Ryan-Toast has joined #silverstripe
972: [20:56:32] <MichalKleiner> moin
973: [20:56:34] <MichalKleiner> o/
974: [20:57:20] <Ryan-Toast> Morning
975: [20:57:39] <Stomach> hey Ryan-Toast
976: [20:57:46] <Stomach> I mentioned you on a github issue!
977: [20:57:50] <Ryan-Toast> Stomach: Got your email just before I left
978: [20:58:19] <Stomach> I was all like "we should kill that ryan guy" and ingo was pretty into it but Hamish was all up in my face about it so Damian told me to wait a few days
979: [21:00:21] <Ryan-Toast> Stomach: I have prepared for this all my life.
980: [21:01:54] <Stomach> :D
981: [21:02:27] * inphi has joined #silverstripe
982: [21:03:00] <adrexia> so how are you going to convince Hamish it's a good idea?
983: [21:03:21] <antmas> what is this one about?
984: [21:03:27] * antmas missed the memo
985: [21:03:30] * inphi has left #silverstripe
986: [21:03:47] <DanaeNZ> lols
987: [21:03:53] <adrexia> antmas, I know as much as you do ;)
988: [21:04:01] <Ryan-Toast> Stomach: Looks like I deleted my local version :/
989: [21:04:14] <Stomach> still got a PR somewhere with it in?
990: [21:04:17] * antmas carries on
991: [21:04:44] <Ryan-Toast> No :/
992: [21:05:05] <Ryan-Toast> I think it was at a time when I was still learning git, so I had finished it but I didn’t know how to branch the repo :P
993: [21:05:10] * superspring_ has joined #silverstripe
994: [21:05:21] <Ryan-Toast> I remember I posted the code in the IRC channel.
995: [21:05:32] * UncleCheese has joined #silverstripe
996: [21:05:38] <DanaeNZ> irc logs everything doesn’t it?
997: [21:05:47] <DanaeNZ> you might be able to google it *lol*
998: [21:06:09] <antmas> how far back does it log though?
999: [21:06:11] <ss-helper> Re: Getting error on form - http://www.silverstripe.org/community/forums/forum-module-forum/show/101743#post401554
1000: [21:06:11] <ss-helper> Getting error on form - http://www.silverstripe.org/community/forums/forum-module-forum/show/101743
1001: [21:06:33] <antmas> ss-helper: it's only 9.00am bro, calm down
1002: [21:06:51] <Ryan-Toast> Stomach: this is all I can find, but I remember doing much more than this: http://pastebin.com/as8t6dDS
1003: [21:07:43] <Stomach> you should just redo it and do a PR against the three branch
1004: [21:07:47] <Stomach> and be all like "what up bitches"
1005: [21:08:22] * willr has joined #silverstripe
1006: [21:08:37] <Ryan-Toast> I should do that.
1007: [21:09:02] <Stomach> yeah!
1008: [21:09:13] <Ryan-Toast> Remind me on Monday, and I’ll see what I can do :)
1009: [21:09:25] <Ryan-Toast> Need to finish this e-commerce site this week.
1010: [21:09:42] * superspring quit (Ping timeout: 250 seconds)
1011: [21:11:32] <helenclarko> ss-helper, read my reply on your post.
1012: [21:12:17] <Stomach> helenclarko - ss-helper is a bot
1013: [21:12:36] <helenclarko> haha, great!
1014: [21:12:56] <helenclarko> I'll keep talking to it if it replys.
1015: [21:13:40] <helenclarko> I really need some friends
1016: [21:14:16] <antmas> :O
1017: [21:14:25] <antmas> .net 5 is dropping Web Forms
1018: [21:14:27] <antmas> FINALLY
1019: [21:15:00] * antmas gets excited over in his little corner
1020: [21:15:51] <DanaeNZ> yesss
1021: [21:16:14] <DanaeNZ> far out I really really want to make some MVC 5 sites
1022: [21:16:22] <antmas> grunt, bower, npm and gulp support :O
1023: [21:16:24] <DanaeNZ> wrong irc channel for this sort of blasphemy
1024: [21:16:33] <DanaeNZ> oohhhh
1025: [21:16:41] <antmas> MVC 6 is coming with it too :D
1026: [21:16:46] <DanaeNZ> :D :D
1027: [21:16:49] * catcher quit (Quit: Leaving)
1028: [21:16:53] <DanaeNZ> Maybe I’ll wait till then
1029: [21:17:45] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
1030: [21:17:48] * Stomach quit (Quit: zzz)
1031: [21:18:01] <antmas> lol I told our senior dev and his response was 'oh man, these bloody young kids and their gulyp web tools! Where's the legacy support?!'
1032: [21:19:37] <Ryan-Toast> ss-helper: how is your day going?
1033: [21:20:24] <Ryan-Toast> ss-helper, pls.
1034: [21:21:14] <ss-helper> Re: SilverStripe Shop Version 1.0.0 Released - oh snap! - http://www.silverstripe.org/community/forums/e-commerce-modules/show/97135#post401555
1035: [21:21:51] <helenclarko> Just talk to us about your issues ss-helper! don't just post links!
1036: [21:21:52] <DanaeNZ> ss-helper: all you care about is work
1037: [21:21:54] * antmas snaps fingers
1038: [21:21:55] * Stomach has joined #silverstripe
1039: [21:22:22] <antmas> !ryan-toast ss-helper
1040: [21:22:30] <Ryan-Toast> !help antmas
1041: [21:22:30] <ss-helper> antmas: Please provide the version, full error message and relevant code. You can put the code in http://kopy.io/ or http://www.sspaste.com/ or https://gist.github.com/ and paste the link here.
1042: [21:22:30] <antmas> lol snobbed
1043: [21:22:46] <antmas> lol, he thinks you're work!
1044: [21:22:57] <Ryan-Toast> he thinks he’s people
1045: [21:23:22] <antmas> then he should have a name like travis
1046: [21:23:53] <helenclarko> or Bruce.
1047: [21:24:41] <Ryan-Toast> Woodhouse
1048: [21:24:57] <DanaeNZ> Peddleton
1049: [21:25:03] <antmas> Bort
1050: [21:25:24] <helenclarko> Bort Peddleton
1051: [21:25:52] <antmas> ^^^
1052: [21:26:00] <helenclarko> at your service
1053: [21:26:47] <DanaeNZ> “Sorry to bother you chaps, but it appears as though Build Version 3.2.354 is failing!”
1054: [21:27:28] * antmas reads that in a Dandy voice'
1055: [21:27:36] <antmas> XD
1056: [21:27:53] * Ryan-Toast quit (Quit: Ryan-Toast)
1057: [21:29:24] * Ryan-Toast has joined #silverstripe
1058: [21:30:10] * Liquide has joined #silverstripe
1059: [21:30:56] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
1060: [21:32:01] * antmas quit (Ping timeout: 246 seconds)
1061: [21:32:23] * Stomach quit (Quit: zzz)
1062: [21:32:29] * Azure|dc is now known as Azure
1063: [21:32:31] * antmas has joined #silverstripe
1064: [21:36:17] <ss-helper> Re: SilverStripe Shop Version 1.0.0 Released - oh snap! - http://www.silverstripe.org/community/forums/e-commerce-modules/show/97135#post401556
1065: [21:36:52] * zippy has joined #silverstripe
1066: [21:37:04] <zippy> Morning
1067: [21:39:04] <antmas> zippy: o/
1068: [21:39:17] <zippy> \o
1069: [21:41:37] * Stomach has joined #silverstripe
1070: [21:49:20] <zippy> hi simon_w|air
1071: [21:49:22] <zippy> hmm
1072: [21:49:24] <zippy> hi Stomach
1073: [21:49:26] <zippy> :)
1074: [21:49:29] <Stomach> hi zippy
1075: [21:54:51] * DimiStripe quit (Quit: DimiStripe)
1076: [21:58:02] <zippy> With SS 2.4.x was it possible to specify a path for the ImageField?
1077: [21:58:40] <zippy> yes it is zauberfi1ch
1078: [21:58:43] <zippy> mmm
1079: [21:58:44] <zippy> my bad
1080: [22:00:41] <antmas> have some more coffee zippy
1081: [22:06:09] <zippy> mm onto my second
1082: [22:06:22] <ss-helper> Directory Listing - http://www.silverstripe.org/community/forums/general-questions/show/101744
1083: [22:06:22] <ss-helper> Re: Getting error on form - http://www.silverstripe.org/community/forums/forum-module-forum/show/101743#post401557
1084: [22:06:31] <zippy> antmas: https://hellpizza.com/nz/store-info/3814/richmond-/
1085: [22:06:35] <Ryan-Toast> Y’all need to chill on your coffees.
1086: [22:07:44] <antmas> zippy: :O
1087: [22:07:50] <antmas> zippy: when does it open?
1088: [22:07:54] <zippy> dunno
1089: [22:08:11] <antmas> 18th May
1090: [22:08:17] <zippy> no wai
1091: [22:08:18] <zippy> where?
1092: [22:08:18] <antmas> https://hellpizza.com/nz/order/3814
1093: [22:08:41] <antmas> I hope they deliver to the Wood :P
1094: [22:09:00] <zippy> :)
1095: [22:09:06] <zippy> yea prbaly be $40
1096: [22:09:14] <antmas> :P
1097: [22:09:38] <antmas> also, if anyone feels like donating to our fundraiser http://pinkribbonbreakfast.co.nz/page/sarahbrownonbehalfoftasmandistrictcouncilshostpage
1098: [22:09:42] <antmas> would be awesome :D
1099: [22:11:48] <zippy> okdokie
1100: [22:14:32] <antmas> zippy: you get ya new wheely bin yet?
1101: [22:14:38] <zippy> not yet
1102: [22:14:50] <zippy> it will remind me of chch having a green, red and yellow bin
1103: [22:14:56] * Stomach quit (Quit: zzz)
1104: [22:15:00] <antmas> mm
1105: [22:15:08] <antmas> the new truck is in our parking lot
1106: [22:15:09] <zippy> "
1107: [22:15:15] <antmas> their giving tours of it lol
1108: [22:15:19] <antmas> they're
1109: [22:15:24] <zippy> "wont cost anything extra" - money will come from somewhere :)
1110: [22:15:33] <zippy> ahh no more funding for the xyz
1111: [22:15:34] <antmas> le rates
1112: [22:15:46] <zippy> mm
1113: [22:17:55] * Stomach has joined #silverstripe
1114: [22:18:44] <Stomach> nah donate to us! https://www.junkfreejune.org.nz/participants/matt-clayton
1115: [22:19:46] * willr quit (Quit: willr)
1116: [22:19:52] * micmania1 has joined #silverstripe
1117: [22:24:03] * UncleCheese has joined #silverstripe
1118: [22:24:20] <zippy> UncleCheese: progress?
1119: [22:24:35] <MichalKleiner> ======---- 60%
1120: [22:24:43] <UncleCheese> zippy gift money is going to take at least 14 days to get here
1121: [22:24:46] <UncleCheese> super annoying
1122: [22:25:00] <zippy> coming over on a boat?
1123: [22:25:03] <UncleCheese> yeah, right
1124: [22:25:27] <zippy> coming from merica?
1125: [22:25:34] <UncleCheese> yeah
1126: [22:25:43] <zippy> hopefully DEA not all like, that looks like drug money, swipe.
1127: [22:25:58] <UncleCheese> i'm going to write to my mortgage broker and ask if we can just get some sort of indicative approval with just the letter
1128: [22:26:17] <UncleCheese> because i don't want to sit around for another fortnight wondering if we even have a shot at it
1129: [22:26:23] <zippy> fair enough!
1130: [22:26:32] <zippy> I hate waiting
1131: [22:27:23] <UncleCheese> yeah, and we're really struggling to decide if we want small, new, in town, and bland, or big, old, isolated, and inspiring
1132: [22:28:16] <Stomach> INSPIRATION
1133: [22:30:04] * UncleChe_ has joined #silverstripe
1134: [22:32:37] <zippy> small, new, intown, bland but warmer :)
1135: [22:32:45] <ss-helper> Re: [silverstripe-dev] Ideas from other projects - https://groups.google.com/d/msg/silverstripe-dev/MI0BMOncRzM/lAB_t3-g8x8J
1136: [22:32:53] <zippy> vs old, weatherboards, 3 stores that will shake like a bastard in a eq
1137: [22:33:23] <zippy> sanding and painting weatherboards is a bastard
1138: [22:33:59] <zippy> you could always get ss23 to help with any painting -> https://www.youtube.com/watch?v=ymKLymvwD2U
1139: [22:34:45] * willr has joined #silverstripe
1140: [22:37:34] * Stomach quit (Quit: zzz)
1141: [22:39:05] * Stomach has joined #silverstripe
1142: [22:39:13] * mahfuz has joined #silverstripe
1143: [22:40:58] <zippy> I think I am going to do it
1144: [22:41:07] <zippy> I think I am going to reactivate my eve subscription..
1145: [22:41:53] <Ryan-Toast> zippy: Why not just study accounting instead?
1146: [22:41:59] <zippy> :P
1147: [22:42:25] <DanaeNZ> haha say goodbye to all your waking hours
1148: [22:45:33] <zippy> antmas: mmm
1149: [22:46:32] <zippy> this clip and music is just bad ass thoug; https://www.youtube.com/watch?v=pNGCHpiLyhU
1150: [22:53:12] <ss23> zippy: took me ages to understand that painting thing you said
1151: [22:53:45] <zippy> :P
1152: [22:57:53] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
1153: [23:03:41] * Stomach quit (Quit: zzz)
1154: [23:16:13] * Colin[pi] has joined #silverstripe
1155: [23:16:14] * veb has joined #silverstripe
1156: [23:16:39] <zippy> blistering barnacles, that is some rain out there
1157: [23:17:00] <Colin[pi]> zippy: thundering typhoons!
1158: [23:17:48] <ss-helper> Re: Ideas from other projects - https://groups.google.com/d/msg/silverstripe-dev/MI0BMOncRzM/WCiEjIUoK8oJ
1159: [23:19:07] * babak quit (Quit: Connection closed for inactivity)
1160: [23:20:06] * spronk2 has joined #silverstripe
1161: [23:21:26] * Stomach has joined #silverstripe
1162: [23:23:50] <zippy> Colin[pi]: you watch the movie they made? felt very sureal...
1163: [23:24:33] <zippy> antmas: decceeent
1164: [23:25:03] <Colin[pi]> zippy: the Tin Tin movie? yeah it really, really went deep into the uncanny valley
1165: [23:27:29] <zippy> for some reason, on ss 2.4, doing <% control $SiteConfig.ContactDetails %> is not rendering right
1166: [23:27:46] <zippy> gives me a Parse error: syntax error, unexpected '}'
1167: [23:27:54] <zippy> the ContactDetails is a has_many
1168: [23:28:06] <Colin[pi]> zippy: did you try without the $?
1169: [23:28:18] <zippy> I did
1170: [23:28:21] <Colin[pi]> hmm
1171: [23:28:30] <Stomach> did you <% end_control %>
1172: [23:28:33] <Colin[pi]> ^
1173: [23:28:37] <zippy> I did
1174: [23:28:45] <Stomach> well then upgrade to 3.1.12
1175: [23:28:46] <Stomach> :P
1176: [23:28:53] <Colin[pi]> you sure? I've had similar things before when I had like the wrong end_
1177: [23:29:02] <Colin[pi]> like an end_if instead of an end_control
1178: [23:29:31] <Ryan-Toast> I just made a method create the html for a table. I feel dirty.
1179: [23:29:39] <zippy> hmm
1180: [23:29:57] <Colin[pi]> Ryan-Toast: SHUNNN
1181: [23:30:02] <Ryan-Toast> Colin[pi]: SHHHUUUNNNN
1182: [23:30:02] <zippy> ah huh!
1183: [23:30:15] <zippy> I thought I had removed the contents between the control and tested it, but I hadn't my bad
1184: [23:30:37] <zippy> turns out if was my <% if $Location %> check. If I make it <% if Location %> then we golden
1185: [23:30:42] <zippy> my mind is on Eve..
1186: [23:30:46] * Azure quit (Read error: Connection reset by peer)
1187: [23:31:49] * Azure has joined #silverstripe
1188: [23:34:28] <Colin[pi]> I have to go do CMS training shortly :C
1189: [23:34:53] <Colin[pi]> this woman rang in a panic the other day because they "had received 30 emails but could only see 10 records in the CMS"
1190: [23:35:00] <Colin[pi]> yeahhhh you're gonna next to press the next button
1191: [23:35:05] <Colin[pi]> *need
1192: [23:35:16] <Colin[pi]> next to where it says 1-10 of 30
1193: [23:35:18] <Colin[pi]> >_<
1194: [23:35:28] <zippy> ;)
1195: [23:35:59] <Colin[pi]> zippy: ;(
1196: [23:42:37] <Stomach> ->removeComponentsByType('GridFieldPaginator');
1197: [23:43:44] <helenclarko> ^^^^^^
1198: [23:45:18] <zippy> dev/build flush so fast in 2.4!
1199: [23:45:20] * Stomach quit (Quit: zzz)
1200: [23:45:45] <helenclarko> Its because 2.4 is a lower number.
1201: [23:45:52] <Colin[pi]> lol
1202: [23:46:03] <Colin[pi]> zippy: dat non-YAML config system
1203: [23:46:05] <Colin[pi]> ;)
1204: [23:47:01] * zippy is OVER this site
1205: [23:47:28] <zippy> maybe I should employ someone
1206: [23:48:37] <Colin[pi]> welp, off to training... ;(
1207: [23:50:55] * Stomach has joined #silverstripe
1208: [23:51:33] * Colin[pi] is now known as Colin[pi][a]
1209: [23:56:44] <zippy> Sky loses 8,700 customers (one was me) and prices go up 3%
1210: [23:58:03] * PapaBearNZ has joined #silverstripe
1211: [23:58:35] <spronk2> eh?
1212: [23:59:02] <DanaeNZ> sky is dead mang

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