#silverstripe IRC Log

IRC log for 25 September 2015

All timestamps are in UTC.

1: [00:00:59] * micmania1 quit (Quit: micmania1)
2: [00:06:36] * Olliepop quit (Ping timeout: 246 seconds)
3: [00:12:02] * permanentinc quit ()
4: [00:13:14] * UndefinedOffset has joined #silverstripe
5: [00:13:28] * camfindlay has joined #silverstripe
6: [00:14:26] * UndefinedOffset quit (Client Quit)
7: [00:28:42] <WandL> Think I am most likely moving to Auckland (from Australia) in the next 6 month, will be looking for a job ;)
8: [00:29:35] * UndefinedOffset has joined #silverstripe
9: [00:30:19] * darjus01 quit (Read error: Connection reset by peer)
10: [00:31:11] * UndefinedOffset quit (Client Quit)
11: [00:36:15] * spronk has joined #silverstripe
12: [00:37:15] <MichalKleiner> WandL: why would you do that?
13: [00:43:25] * jules0x has joined #silverstripe
14: [00:46:41] * UndefinedOffset has joined #silverstripe
15: [00:47:42] * UndefinedOffset quit (Client Quit)
16: [00:49:02] <WandL> MichalKleiner: My ex wants to move my daughter there...
17: [00:49:32] <MichalKleiner> aaaahh.. sorry to hear that.. but understandable from your side then
18: [00:50:31] <WandL> MichalKleiner: Yeah haven't got much choice except family court which isn't great for the kids
19: [00:56:44] * micmania1 has joined #silverstripe
20: [00:57:32] <MichalKleiner> so good luck job hunting in Auckland
21: [00:57:53] <MichalKleiner> I'm in Welly so can't help much
22: [00:59:58] <spronk> lame
23: [01:03:24] * UndefinedOffset has joined #silverstripe
24: [01:04:27] * UndefinedOffset quit (Client Quit)
25: [01:04:35] <jules0x> Can I achieve something like this (doesnt work)
26: [01:04:40] <jules0x> Person::get()->sort('FirstName', 'LastName')
27: [01:04:44] <jules0x> ie. secondary sort field...
28: [01:04:57] <jules0x> array('firstname, 'lastname') ?
29: [01:05:04] <jules0x> etc
30: [01:09:16] <MichalKleiner> Person::get()->sort('"FirstName" DESC, "LastName" DESC')
31: [01:09:23] <MichalKleiner> it should be one string
32: [01:11:29] <ss-helper> Customizing charset/collation per-column. - https://groups.google.com/d/msg/silverstripe-dev/FXG5Yg7KzSo/dmc0GA75AgAJ
33: [01:12:27] <jules0x> Person::get()->sort(array('FirstName'=>'ASC','LastName'=>'ASC'))
34: [01:12:29] <jules0x> doh.
35: [01:12:57] <jules0x> well it works. thanks for the tip anyway :)
36: [01:13:27] * micmania1 quit (Quit: micmania1)
37: [01:15:13] * Tanger has joined #silverstripe
38: [01:19:16] * Olliepop has joined #silverstripe
39: [01:19:35] <WandL> MichalKleiner: Thanks hopefully will be fine never had much problem here in Australia
40: [01:19:55] <MichalKleiner> yeah, as a developer it should be easy anywhere basically
41: [01:20:08] * UndefinedOffset has joined #silverstripe
42: [01:21:11] * UndefinedOffset quit (Client Quit)
43: [01:21:30] <Hailwood> Hey Folks, Is there a standard way for adding an "info" message to a tab in the cms (think "Please Save this page before adding images" in place of a gridfield if !$this->exists())
44: [01:28:08] <Olliepop> Hailwood you could do a validation message
45: [01:30:28] * chocolatemoose quit (Remote host closed the connection)
46: [01:31:33] <muskie9> Hailwood we usually check for a value and if it doesn't exist we do a literal or header field with the message else the field for the data input
47: [01:32:13] <muskie9> we use it more on DO's and check if $myDataObject->ID show inputs else show message
48: [01:34:16] * chocolatemoose has joined #silverstripe
49: [01:34:53] * chocolatemoose quit (Remote host closed the connection)
50: [01:35:12] <Hailwood> The message being <p class="message notice">...</p>? or some other style?
51: [01:35:13] * chocolatemoose has joined #silverstripe
52: [01:36:48] * UndefinedOffset has joined #silverstripe
53: [01:37:21] <muskie9> ya, usually a <p> tag then whatever the classes are to format it nicely with the proper color in the cms
54: [01:37:56] * UndefinedOffset quit (Client Quit)
55: [01:41:11] * Vedran__ has joined #silverstripe
56: [01:41:41] <Vedran__> is there a method to get $Link without /
57: [01:41:54] <Vedran__> so i can use it in a class name
58: [01:42:16] <Vedran__> class="menu-$Link" and it would get something like .menu-home, menu-about etc
59: [01:42:17] <muskie9> Vedran__ do you need the full path?
60: [01:42:32] <muskie9> ->URLSegment
61: [01:42:37] <Vedran__> muskie9: nah, just the 'name' of the page
62: [01:43:07] <Vedran__> perfect, thank you kindly
63: [01:43:32] <muskie9> sure
64: [01:47:35] <ss23> just spent $100 on bulk candy
65: [01:47:38] <ss23> SS offices are gunna be AWESOME
66: [01:48:13] <jules0x> ༼ つ ◕_◕ ༽つ
67: [01:48:36] <ss23> :D
68: [01:50:25] * micmania1 has joined #silverstripe
69: [01:50:52] * normannlou has joined #silverstripe
70: [01:50:56] <DanaeNZ> candy? :D
71: [01:51:50] <ss23> Candy!!!!!
72: [01:53:09] * UndefinedOffset has joined #silverstripe
73: [01:54:42] * UndefinedOffset quit (Client Quit)
74: [01:55:23] <DanaeNZ> CAAAAAANDDYYYYYY
75: [01:57:17] <ss23> I got m&m's, skittles, and chupachups
76: [01:58:28] <muskie9> what's chupachups
77: [02:01:39] * micmania1 quit (Quit: micmania1)
78: [02:05:26] * spronk quit (Quit: I may need a longer sleep timer...)
79: [02:07:43] <DanaeNZ> i found a chupachup in my bag once
80: [02:07:47] <DanaeNZ> it's lollipop
81: [02:07:51] <muskie9> nice
82: [02:08:03] <DanaeNZ> I'm always a slut for skittles tho
83: [02:08:10] * Hailwood LoL's at the code - https://github.com/silverstripe/silverstripe-framework/blob/3/dev/DevBuildController.php#L25
84: [02:08:17] <Hailwood> The footer never gets written lol
85: [02:08:40] <muskie9> sometimes I return $hit in my code
86: [02:08:58] <muskie9> see if any of the other devs catch it ;P
87: [02:09:50] * UndefinedOffset has joined #silverstripe
88: [02:10:15] * krofek__ has joined #silverstripe
89: [02:11:28] * UndefinedOffset quit (Client Quit)
90: [02:11:54] * krofek has joined #silverstripe
91: [02:13:19] * krofek_ quit (Ping timeout: 240 seconds)
92: [02:14:26] * krofek__ quit (Ping timeout: 252 seconds)
93: [02:16:24] * spronk has joined #silverstripe
94: [02:17:28] * spronk quit (Max SendQ exceeded)
95: [02:18:33] * Olliepop quit (Ping timeout: 246 seconds)
96: [02:19:46] * micmania1 has joined #silverstripe
97: [02:22:24] <helenclarko> DanaeNZ, As am I, TASTE THE RAINBOW!
98: [02:24:46] * Olliepop has joined #silverstripe
99: [02:25:25] * muskie9 quit (Ping timeout: 252 seconds)
100: [02:25:59] * spronk has joined #silverstripe
101: [02:26:34] * UndefinedOffset has joined #silverstripe
102: [02:27:22] * muskie9 has joined #silverstripe
103: [02:28:11] * UndefinedOffset quit (Client Quit)
104: [02:35:32] <jules0x> isDev=1 and debug=1 don't seem to trigger any error messages on my 'server error' page... what gives?
105: [02:36:01] <jules0x> (non prod env)
106: [02:36:32] <DanaeNZ> jules0x: checking the network panel in the inspector?
107: [02:37:36] <jules0x> to clarify... it works on www.site.com .... but not www.site.com/customArea/
108: [02:39:20] <jules0x> when I try it on that area I get the login page (which shows that I am alredy logged in)
109: [02:39:56] <jules0x> any tips before I drown my sorrows? (╯°□°)╯︵ ┻━┻
110: [02:40:31] <Colin[pi]> ┬──┬ ノ( ゜-゜ノ)
111: [02:41:18] <helenclarko> Everyone, just calm down.
112: [02:43:18] * UndefinedOffset has joined #silverstripe
113: [02:44:57] * UndefinedOffset quit (Client Quit)
114: [02:45:02] * antmas has joined #silverstripe
115: [02:46:52] <antmas> afternoon all o/
116: [02:48:59] <DanaeNZ> hahahahahah
117: [02:49:03] <DanaeNZ> yo antmas
118: [02:49:24] <DanaeNZ> coooffeeeee
119: [02:49:36] * DanaeNZ does the coffee jig
120: [02:55:40] * jules0x quit (Quit: Leaving)
121: [02:55:45] <muskie9> sleep time, night
122: [02:55:49] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
123: [02:57:09] * spronk quit (Quit: I may need a longer sleep timer...)
124: [02:58:11] <DanaeNZ> awake time
125: [02:58:17] <DanaeNZ> that was meant to be in caps
126: [02:58:25] * antmas has a Lift+
127: [02:58:26] <DanaeNZ> i have my caps lock on more often than not
128: [03:00:03] * UndefinedOffset has joined #silverstripe
129: [03:00:04] <antmas> what'd I miss from today?
130: [03:00:50] * antmas has been =3 in payment express stuff
131: [03:01:06] <DanaeNZ> hmmmmm
132: [03:01:08] <DanaeNZ> cats
133: [03:01:11] <DanaeNZ> and um
134: [03:01:12] <DanaeNZ> candy
135: [03:01:26] * UndefinedOffset quit (Client Quit)
136: [03:01:27] <DanaeNZ> yep that's it
137: [03:06:13] * Stomach quit (Quit: zzz)
138: [03:08:51] * spronk has joined #silverstripe
139: [03:09:35] <spronk> nips nips nips nips
140: [03:10:15] <antmas> cats candy and nippys
141: [03:10:18] <antmas> #bandname
142: [03:12:38] <Colin[pi]> omg antmas in da haus
143: [03:12:39] <Colin[pi]> o/
144: [03:13:56] * antmas raises roof
145: [03:13:59] <antmas> |o|
146: [03:14:03] <antmas> also tie fighter
147: [03:14:10] <Colin[pi]> antmas why is my canCreate not working?
148: [03:14:39] <antmas> Colin[pi]: cantCreate()?
149: [03:14:47] <antmas> :D
150: [03:14:51] <Colin[pi]> -_
151: [03:14:54] <Colin[pi]> -_- also
152: [03:15:42] <Colin[pi]> wait
153: [03:15:49] <Colin[pi]> canCreate should be inherited right?
154: [03:15:56] <Colin[pi]> I don't need to redeclare on every subclass?
155: [03:16:05] <antmas> pretty sure yeah
156: [03:16:16] <Colin[pi]> y u no work then? :C
157: [03:16:54] <antmas> :/
158: [03:16:57] * antmas shrugs
159: [03:17:06] * UndefinedOffset has joined #silverstripe
160: [03:17:07] <antmas> I've already had a beer so my brain has checked out
161: [03:17:11] <Colin[pi]> lol
162: [03:17:15] <Colin[pi]> starting early?
163: [03:17:28] <antmas> nah bday in the office
164: [03:18:11] * UndefinedOffset quit (Client Quit)
165: [03:18:36] <Colin[pi]> FFFFFFFFFFUUUU
166: [03:18:39] <Colin[pi]> I just figured it out
167: [03:18:42] <Colin[pi]> god fucking dammit
168: [03:18:50] <antmas> :P
169: [03:18:56] <Colin[pi]> the subclass was overriding the canCreate
170: [03:18:57] <Colin[pi]> :(
171: [03:21:06] <Colin[pi]> OH LOOK IT WORKS NOW GEE FANCY THAT EH
172: [03:21:43] <antmas> hgnnnnnn it's so sunday outside :|
173: [03:21:48] <antmas> sunny*
174: [03:21:50] <antmas> fuck sunday
175: [03:22:22] <Colin[pi]> http://i.imgur.com/Ng1wa.jpg
176: [03:22:35] <antmas> :P
177: [03:23:33] <antmas> been such a nice day here today http://www.tasman.govt.nz/tasman/webcams-in-tasman/richmond-webcam/
178: [03:24:21] <Colin[pi]> nice
179: [03:33:34] * UndefinedOffset has joined #silverstripe
180: [03:34:57] * UndefinedOffset quit (Client Quit)
181: [03:37:36] <DanaeNZ> I'm going to be ducking out early today muahahaha
182: [03:39:12] <antmas> lucky
183: [03:39:58] <DanaeNZ> i have a thing tonight in kohimarama
184: [03:40:08] <DanaeNZ> from shore to kohimarama
185: [03:40:11] <DanaeNZ> in rush hour
186: [03:40:13] <DanaeNZ> i will die
187: [03:40:20] <antmas> running thing?
188: [03:40:32] <DanaeNZ> nah cosplay thing
189: [03:40:42] <DanaeNZ> like a cocktail party i think
190: [03:40:47] <DanaeNZ> i have no idea what to expect
191: [03:40:54] <DanaeNZ> there are prizes and food
192: [03:41:00] <DanaeNZ> that's all the incentive I need
193: [03:41:21] <antmas> am hoping to get to a beersies thing after work
194: [03:41:28] <antmas> if boss leaves early then I will too :D
195: [03:41:53] <antmas> btw if you're in Auckland, Hodor is playing at 1885 tonight :P
196: [03:42:06] <antmas> http://www.dashtickets.co.nz/event/qpz19v4cb
197: [03:42:58] <DanaeNZ> whaaaat
198: [03:43:04] <DanaeNZ> a rave, with Hodor?
199: [03:43:27] <antmas> Rave of Thrones :D
200: [03:43:41] <DanaeNZ> omg, I might post this to the cosplay facebook group
201: [03:43:49] <DanaeNZ> there's always someone dressed up from game of thrones
202: [03:44:05] <antmas> it would be awesome fun
203: [03:44:14] <DanaeNZ> dress up raves are the best
204: [03:44:32] <DanaeNZ> but you must anticipate your costume won't make it through in one piece
205: [03:44:39] * Olliepop quit (Ping timeout: 246 seconds)
206: [03:44:45] <antmas> if you follow him on instagram or whatever, MOST people end up cosplaying at his gigs
207: [03:47:32] <DanaeNZ> ok that sounds awesome
208: [03:47:53] <DanaeNZ> I would probably go if I had GoT gear and didn't have to get up at 7am the next morning
209: [03:48:14] <antmas> looks like it's on tomorrow night too though
210: [03:50:12] * UndefinedOffset has joined #silverstripe
211: [03:50:26] <Colin[pi]> you gonna get a chance to see him antmas?
212: [03:50:38] <DanaeNZ> tomorrow night too? oooh
213: [03:51:09] <antmas> Colin[pi]: nah, ended up having to spend travel money on GF so she can see her mate+baby
214: [03:51:21] <Colin[pi]> antmas: oh
215: [03:51:22] <Colin[pi]> :\
216: [03:51:28] <antmas> I didn't tell her about Hodor incase she goes while there without me LOL
217: [03:51:41] * UndefinedOffset quit (Client Quit)
218: [03:51:42] <antmas> If I can't have it, NO ONE CAN!
219: [03:53:04] <Colin[pi]> antmas: still think it's funny that Hodor has dainty little star tattoos under his makeup on his forehead
220: [04:00:35] <antmas> lol yes
221: [04:07:12] * UndefinedOffset has joined #silverstripe
222: [04:08:26] * UndefinedOffset quit (Client Quit)
223: [04:10:23] * r_hector has joined #silverstripe
224: [04:11:28] * DanaeNZ quit (Quit: TIME TO FEED)
225: [04:12:17] * Azure|dc has joined #silverstripe
226: [04:13:22] <MichalKleiner> beer o'clock just around the corner
227: [04:13:53] <antmas> awww yisss
228: [04:14:06] * Azure quit (Ping timeout: 240 seconds)
229: [04:24:01] * UndefinedOffset has joined #silverstripe
230: [04:25:12] * UndefinedOffset quit (Client Quit)
231: [04:28:29] * micmania1 quit (Quit: micmania1)
232: [04:31:26] * antmas quit (Quit: Page closed)
233: [04:35:08] * micmania1 has joined #silverstripe
234: [04:40:21] * UndefinedOffset has joined #silverstripe
235: [04:41:56] * UndefinedOffset quit (Client Quit)
236: [04:47:37] * Phlunk3 quit (Quit: Leaving)
237: [04:49:34] <Tanger> beer o'clock eh?
238: [04:49:36] <Tanger> Yum
239: [04:57:01] * UndefinedOffset has joined #silverstripe
240: [04:58:27] * UndefinedOffset quit (Client Quit)
241: [05:02:57] * helenclarko quit (Read error: Connection reset by peer)
242: [05:05:10] * Hailwood quit (Remote host closed the connection)
243: [05:08:30] * micmania1 quit (Quit: micmania1)
244: [05:14:05] * UndefinedOffset has joined #silverstripe
245: [05:15:42] * UndefinedOffset quit (Client Quit)
246: [05:18:00] * normannlou quit (Quit: Leaving)
247: [05:19:22] * r_hector quit (Remote host closed the connection)
248: [05:30:48] * UndefinedOffset has joined #silverstripe
249: [05:32:11] * UndefinedOffset quit (Client Quit)
250: [05:35:16] * chocolatemoose quit (Remote host closed the connection)
251: [05:47:35] * UndefinedOffset has joined #silverstripe
252: [05:48:41] * UndefinedOffset quit (Client Quit)
253: [05:53:13] * Embraden quit (Ping timeout: 256 seconds)
254: [06:03:56] * UndefinedOffset has joined #silverstripe
255: [06:05:15] * Embraden has joined #silverstripe
256: [06:05:27] * UndefinedOffset quit (Client Quit)
257: [06:20:37] * UndefinedOffset has joined #silverstripe
258: [06:21:03] * camfindlay quit (Quit: camfindlay)
259: [06:22:13] * UndefinedOffset quit (Client Quit)
260: [06:23:51] * WandL quit (Quit: Textual IRC Client: www.textualapp.com)
261: [06:33:53] * chocolatemoose has joined #silverstripe
262: [06:37:23] * UndefinedOffset has joined #silverstripe
263: [06:37:29] * chocolatemoose quit (Client Quit)
264: [06:38:56] * UndefinedOffset quit (Client Quit)
265: [06:48:12] * swaiba has joined #silverstripe
266: [06:54:02] * UndefinedOffset has joined #silverstripe
267: [06:55:42] * UndefinedOffset quit (Client Quit)
268: [07:00:30] * Zauberfisch quit (Ping timeout: 240 seconds)
269: [07:00:50] * Zauberfisch has joined #silverstripe
270: [07:02:12] * spronk quit (Quit: I may need a longer sleep timer...)
271: [07:11:09] * UndefinedOffset has joined #silverstripe
272: [07:12:11] * UndefinedOffset quit (Client Quit)
273: [07:18:09] * wmk has joined #silverstripe
274: [07:24:24] * GT86Jay has joined #silverstripe
275: [07:25:24] <GT86Jay> Hi, Does anyone know how I can get a Gridfield to Persist it's state between pages? E.g Sort and Page number. If you sort or go to a specific page number. When you then go into an object. Save and close. You are returned back to Page 1 and default sort on the gridfield..?
276: [07:27:51] * UndefinedOffset has joined #silverstripe
277: [07:28:56] * UndefinedOffset quit (Client Quit)
278: [07:37:01] * Vedran__ quit ()
279: [07:37:29] <wmk> GT86Jay, on a page or in modeladmin?
280: [07:37:44] <GT86Jay> wmk: Modeladmin.
281: [07:37:55] <swaiba> GT86Jay - are yoou using better buttons?
282: [07:38:12] <GT86Jay> swaiba: yeah, which is all working fine. But its just not persisting the state
283: [07:38:22] <wmk> same here ;)
284: [07:38:30] <wmk> with a filter...
285: [07:38:34] <swaiba> GT86Jay - I'd try without them, I've been meaning to
286: [07:38:45] * Liquide quit ()
287: [07:38:56] <swaiba> as I'm sure it saved state before, but now with these buttons it loads twice after I go back, losing state as you say
288: [07:39:45] <wmk> GT86Jay, could you confirm that?
289: [07:40:12] <GT86Jay> swaiba: I will give it a go. But ideally I need better buttons working. There is over 4k objects in one of my Models and without better buttons it becomes a handful.
290: [07:40:17] <GT86Jay> https://www.bountysource.com/issues/2778676-persist-gridfield-state-between-requests
291: [07:40:22] <GT86Jay> Seems to be a bounty on it
292: [07:40:50] <swaiba> GT86Jay - I'm only suggeting it to determine if it is those "better" buttons or not
293: [07:41:10] <swaiba> if it is then we know where to focus efforts, if not then we exclude it
294: [07:41:12] <GT86Jay> Yeah, now removing them and will give it a go
295: [07:41:36] <swaiba> bounty source lol
296: [07:41:56] <swaiba> "Wanted line of code responsible for blue screen of death" - B Gates
297: [07:42:42] <GT86Jay> swaiba: Same happens if I remove the betterbuttons module.
298: [07:42:55] <swaiba> ok, well thanks for trying
299: [07:44:21] * krofek_ has joined #silverstripe
300: [07:44:37] * UndefinedOffset has joined #silverstripe
301: [07:44:45] <GT86Jay> It just seems when ever the main ModelAdmin is reloaded its a new refresh which starts the requests again.
302: [07:45:42] * UndefinedOffset quit (Client Quit)
303: [07:46:09] <swaiba> GT86Jay - but if you just "go back" it works?
304: [07:46:29] <swaiba> I noticed this whole thing recently and have started to right click open edit forms in new tabs to keep my search state
305: [07:46:49] <GT86Jay> No, however I navigate back to the modeladmin root page. (Browser Back or SS Buttons Close) It reloads the page losing state.
306: [07:47:16] <GT86Jay> swaiba: That's a quick fix I will let my client know. Just seems like it should be an easy(ish) thing to implement.
307: [07:47:21] * krofek quit (Ping timeout: 252 seconds)
308: [07:53:20] <GT86Jay> Does anyone know how to use GridState? https://docs.silverstripe.org/en/3.2/developer_guides/forms/field_types/gridfield
309: [07:53:26] <GT86Jay> Looks like a thing at the bottom of the docs.
310: [07:53:42] * Colin[pi] quit (Ping timeout: 240 seconds)
311: [08:00:54] * UndefinedOffset has joined #silverstripe
312: [08:02:26] * UndefinedOffset quit (Client Quit)
313: [08:06:27] * kinglozzer has joined #silverstripe
314: [08:07:55] <Tanger> Can you push a controller in a function that you cann on a template?
315: [08:08:21] <wmk> Tanger, ???
316: [08:08:24] <Tanger> Ie if you use <% with X %>, will it only run off that controller in the scope of that template closure?
317: [08:08:44] <wmk> Tanger inside <% with X %> use $Up or $Top
318: [08:08:51] <wmk> to leave the current scope
319: [08:10:02] <Tanger> wmk: Right. But if I have a function that returns a Controller, will it be running off that controller inside thw <% with %> block?
320: [08:10:08] * mobiusnz quit (Quit: Leaving.)
321: [08:10:39] <wmk> should that function be callable from a template?
322: [08:10:47] <wmk> sounds pretty weird to me right now
323: [08:11:30] <wmk> normally you should define in your php code what you want to print out and use the template for formatting / giving it a structure
324: [08:12:26] <wmk> But if e.g. $Foo is that controller you mean in your template, i'd just try $Foo.MyMethod() to get something back from that controller
325: [08:14:50] <Tanger> wmk: Yeah. I'm looking at grabbing a Form from a UserDefinedForm controller in my site footer.
326: [08:15:08] <wmk> ouch
327: [08:15:27] <wmk> why no hardcoded form?
328: [08:15:27] <Tanger> Oh… wait
329: [08:15:54] <Tanger> Our release deadline is Monday
330: [08:16:04] <Tanger> And the client hasn't got their shit together to decide what they need from it :P
331: [08:16:16] <Tanger> I;ll hardcode something if this is impossible
332: [08:16:22] <Tanger> But I figured I might give it a shot
333: [08:17:38] * UndefinedOffset has joined #silverstripe
334: [08:18:04] * terryapodaca has joined #silverstripe
335: [08:18:49] <wmk> well, "client has not decided" and "deadline" is contradicting
336: [08:19:11] * UndefinedOffset quit (Client Quit)
337: [08:20:54] <swaiba> client is doesn't need to decide anything until day before deadline and when they do deadline is still valid
338: [08:21:20] <Tanger> swaiba: Pretty much
339: [08:21:32] <Tanger> Not the best client
340: [08:22:08] <wmk> hmm, display-logic and FieldGroup... does this work together?
341: [08:22:45] <swaiba> display-logic work well with anything wmk - just be sure to use the wrapper if you have probelms
342: [08:22:46] <Tanger> DisplayLogicWrapper it?
343: [08:23:07] <swaiba> (the wrapper basically makes a CompositeField btw)
344: [08:24:53] <wmk> ah, Wrapper instead of FieldGroup... cooll
345: [08:26:56] <wmk> hmm, still [User Error] Uncaught Exception: Object->__call(): the method 'getname' does not exist on 'DisplayLogicCriteria'
346: [08:28:56] * mobiusnz has joined #silverstripe
347: [08:29:09] <Tanger> wmk: Are you wrapping a FieldGroup or just multiple fields?
348: [08:29:20] <wmk> just multiple fields...
349: [08:29:26] <wmk> had to add ->end()
350: [08:30:03] <Tanger> :D
351: [08:33:46] <wmk> now all fields inside that wrapper are apperaing twice and collateDataFields() is erroring
352: [08:33:49] <wmk> WTF?
353: [08:34:20] * UndefinedOffset has joined #silverstripe
354: [08:35:26] * gordon has joined #silverstripe
355: [08:35:50] * gordon is now known as Guest98035
356: [08:35:57] * UndefinedOffset quit (Client Quit)
357: [08:39:26] <kinglozzer> wmk: Good luck :P
358: [08:39:43] <wmk> seems it got scaffolded somewhere...
359: [08:39:44] <kinglozzer> I recently had to use displaylogic + zenvalidator together, produced some... interesting... results
360: [08:39:55] * NETim quit (Ping timeout: 260 seconds)
361: [08:39:58] <wmk> kinglozzer, oh.
362: [08:40:03] <wmk> well, it's backend
363: [08:40:17] <kinglozzer> Ah, mine was all frontend so you might have more luck than me :)
364: [08:40:30] <wmk> i had this combination in frontend recently, only one field hidden that got not validated
365: [08:41:07] * NETim has joined #silverstripe
366: [08:51:08] * UndefinedOffset has joined #silverstripe
367: [08:52:41] * UndefinedOffset quit (Client Quit)
368: [08:55:30] * Guest98035 is now known as nontgor
369: [09:00:50] <Tanger> wmk: Were you adding those displaylogic fields to a DataObject?
370: [09:01:14] <wmk> updatecmsfields...
371: [09:03:02] <wmk> actually i abandoned that fieldgroup
372: [09:03:12] <wmk> works now
373: [09:03:30] * GT86Jay quit (Ping timeout: 246 seconds)
374: [09:03:33] <Tanger> Nice
375: [09:03:40] <Tanger> Trying to kill 12 mins until I can leave
376: [09:03:55] <Tanger> CBF'd starting on actual work
377: [09:07:47] * UndefinedOffset has joined #silverstripe
378: [09:09:12] * UndefinedOffset quit (Client Quit)
379: [09:13:10] * Tanger quit (Quit: exit())
380: [09:15:59] * darjus01 has joined #silverstripe
381: [09:24:52] * UndefinedOffset has joined #silverstripe
382: [09:25:57] * UndefinedOffset quit (Client Quit)
383: [09:26:34] <MichalKleiner> good weekend everyone
384: [09:26:40] * MichalKleiner is now known as MichalKleiner_aw
385: [09:41:35] * UndefinedOffset has joined #silverstripe
386: [09:42:41] * UndefinedOffset quit (Client Quit)
387: [09:43:42] * Werner_2_ has joined #silverstripe
388: [09:43:42] * wmk quit (Read error: Connection reset by peer)
389: [09:46:15] <darjus01> Hi all would SS be working on server there API is CGI/FastCGI
390: [09:46:17] <darjus01> ?
391: [09:51:37] * Colin[pi] has joined #silverstripe
392: [09:54:50] * benjhocking quit (Read error: Connection reset by peer)
393: [09:58:19] * UndefinedOffset has joined #silverstripe
394: [09:58:53] * benjhocking has joined #silverstripe
395: [09:59:26] * UndefinedOffset quit (Client Quit)
396: [10:04:09] * benjhocking quit (Read error: Connection reset by peer)
397: [10:15:02] * UndefinedOffset has joined #silverstripe
398: [10:16:12] * UndefinedOffset quit (Client Quit)
399: [10:25:35] * Werner_2_ is now known as wmk
400: [10:25:38] <wmk> darjus01, why not?
401: [10:26:00] <wmk> when you have nginx, you run php over fastcgi
402: [10:26:13] <darjus01> just asking never used
403: [10:26:34] <wmk> well, just try it.
404: [10:26:49] <wmk> and if you get stuck ask. but it works.
405: [10:27:03] <wmk> ss doesn't need a webserver, runs on cli also
406: [10:27:09] <wmk> e.g. cron task
407: [10:31:23] * UndefinedOffset has joined #silverstripe
408: [10:32:58] * UndefinedOffset quit (Client Quit)
409: [10:34:39] * mike123 has joined #silverstripe
410: [10:45:00] * r_hector has joined #silverstripe
411: [10:48:06] * UndefinedOffset has joined #silverstripe
412: [10:49:41] * UndefinedOffset quit (Client Quit)
413: [10:52:27] * r3v3rb has joined #silverstripe
414: [10:52:32] <r3v3rb> yello
415: [10:55:50] <r3v3rb> sometimes PHPStorm drives me insane - XDebug Path mappings go screwy and then can’t breakpoint!
416: [10:55:52] <r3v3rb> arghhhhh
417: [10:56:39] <kinglozzer> r3v3rb: and here's me just using var_dump($something); die; :P
418: [10:56:50] <r3v3rb> sometimes it’s better!
419: [10:57:22] <r3v3rb> always when you duplicate a project - mappings/debug goes awry
420: [10:57:32] <r3v3rb> yet nothign has ‘really’ changed
421: [10:57:35] <r3v3rb> nothing*
422: [10:58:26] * r3v3rb has left #silverstripe
423: [10:59:15] * r3v3rb has joined #silverstripe
424: [10:59:18] <r3v3rb> woot!
425: [10:59:21] <r3v3rb> what happened
426: [11:00:14] <swaiba> r3v3rb - I used to think line by line debugging was the whole show and PHPStorm the best editor
427: [11:00:26] <r3v3rb> but…
428: [11:00:30] <swaiba> but now I'm only using it when it makes sense, I'm quicker with most times
429: [11:00:38] <swaiba> *without
430: [11:00:52] <r3v3rb> yep, i just switch it on for painful ‘bugs’ that aren’t completely obvious…
431: [11:01:11] <r3v3rb> hence I need it now to see if a function is actually getting data sent to it…
432: [11:01:36] <r3v3rb> not used for the entire site build but now a day before showing client phpstorm refuses to debug this function
433: [11:04:07] <swaiba> i used to use netbeans
434: [11:04:19] <swaiba> as that was ZERO problem setting up and getting debugging
435: [11:04:48] * UndefinedOffset has joined #silverstripe
436: [11:04:50] <swaiba> I recall all the woes about PHP getting setup... it's like "setup server, add this, then configure this to use server, then create blahblah..."
437: [11:05:02] <swaiba> I hate installing and getting that running
438: [11:05:07] <swaiba> but I love the rest of the product :)
439: [11:06:27] * UndefinedOffset quit (Client Quit)
440: [11:06:48] * r_hector quit (Remote host closed the connection)
441: [11:09:25] <wmk> r3v3rb, are you debugging remotely? i normally have no problems with a local vagrant box
442: [11:09:39] <r3v3rb> nope, WAMP on local Mac
443: [11:09:55] <r3v3rb> any other project just works - just this one!
444: [11:10:07] <wmk> MAMP?
445: [11:10:14] <r3v3rb> time to switch off and reboot - Japanese Reset stylely
446: [11:10:18] <wmk> ;)
447: [11:10:26] <wmk> well, i'm happy with Zauberfisch 's vagrant box
448: [11:12:02] <wmk> r3v3rb, are you going to london this year?
449: [11:12:15] <r3v3rb> wmk: hopefully - work permitting
450: [11:12:33] <r3v3rb> two projects to get cleared up by mid-end of October so will be a bit manic
451: [11:12:39] <wmk> oh
452: [11:13:08] <r3v3rb> if anyone fancies working from Bexhill they are welcome to come and help finish them off - I’ll pay with free board and coffee
453: [11:21:31] * UndefinedOffset has joined #silverstripe
454: [11:22:56] * UndefinedOffset quit (Client Quit)
455: [11:35:10] * R\w\C has joined #silverstripe
456: [11:35:48] * Colin[pi] quit (Ping timeout: 255 seconds)
457: [11:38:36] * UndefinedOffset has joined #silverstripe
458: [11:39:41] * UndefinedOffset quit (Client Quit)
459: [11:55:17] * UndefinedOffset has joined #silverstripe
460: [11:56:27] * UndefinedOffset quit (Client Quit)
461: [12:03:59] * nontgor quit (Remote host closed the connection)
462: [12:12:02] * UndefinedOffset has joined #silverstripe
463: [12:13:11] * UndefinedOffset quit (Client Quit)
464: [12:18:08] * UndefinedOffset1 has joined #silverstripe
465: [12:18:56] * UndefinedOffset1 quit (Client Quit)
466: [12:19:22] * UndefinedOffset has joined #silverstripe
467: [12:26:33] * Copperis has joined #silverstripe
468: [12:54:49] * Pyvwok has joined #silverstripe
469: [12:54:50] <ss-helper> Pyvwok: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
470: [12:55:12] <Pyvwok> cheers, ss-helper, thanks for having me here today.
471: [12:59:38] <NETim> Any way to use the action url paramater as an id?
472: [12:59:59] <NETim> so /page/ID? where /page is a page
473: [13:02:13] <Pyvwok> yes.
474: [13:03:14] <Pyvwok> public function index(){ $id = $this->request->param('Action'); //...
475: [13:04:16] <NETim> Pyvwok, thanks. Thought it might be something like that, just wasn't sure about the index() bit.
476: [13:04:34] <Pyvwok> index() is the default action (even when it's not defined)
477: [13:04:45] <NETim> cool, cheers.
478: [13:07:41] * UndefinedOffset quit (Quit: Leaving.)
479: [13:13:03] * Pyvwok quit (Ping timeout: 246 seconds)
480: [13:15:10] * torican quit (Read error: Connection reset by peer)
481: [13:16:22] * Pyvwok has joined #silverstripe
482: [13:16:30] <Pyvwok> LOL, just looked at the name of the day a bit closer.
483: [13:16:39] <Pyvwok> I work for a car company that sells them.
484: [13:16:43] <Pyvwok> they're not ok.
485: [13:16:48] <Pyvwok> apparently. According to the news.
486: [13:17:19] <r3v3rb> Pyvwok: :D hello
487: [13:17:23] <Pyvwok> according to the statement we were told to refer to yesterday they are in EU. But then news comes out later that day saying otehrwise. So idk. I don't particularly care either.
488: [13:17:36] <Pyvwok> 'lo r3v3rb
489: [13:17:43] <Pyvwok> getting excited for the conf?
490: [13:17:44] <r3v3rb> you good?
491: [13:17:45] <Pyvwok> I am :>
492: [13:17:48] <Pyvwok> well
493: [13:17:52] <r3v3rb> if I can clear my work load yes
494: [13:18:09] <Pyvwok> apart from where I may or may not have broken my shoulder, and I feel extremly discouraged to seek medical advice on it.
495: [13:18:32] * UndefinedOffset has joined #silverstripe
496: [13:18:47] <Pyvwok> Because you turn up to the A&E and they're all FUCKOFF YOU SCUMBAG, GO SEE YOUR GP
497: [13:19:56] * UndefinedOffset quit (Client Quit)
498: [13:35:15] * UndefinedOffset has joined #silverstripe
499: [13:36:42] * UndefinedOffset quit (Client Quit)
500: [13:52:15] * mike123 quit (Ping timeout: 246 seconds)
501: [13:52:19] * UndefinedOffset has joined #silverstripe
502: [13:52:48] * muskie9 has joined #silverstripe
503: [13:54:42] * UndefinedOffset quit (Client Quit)
504: [13:55:38] * UndefinedOffset has joined #silverstripe
505: [14:22:15] * elgabbu has joined #silverstripe
506: [14:22:58] <elgabbu> guys ... SiteTree->validate ... this->getParent() ... is returning the old parent when saving the page ... so if some new allowed children properties are applied you could have locked pages and cannot be moved to other folders
507: [14:24:42] <muskie9> elgabbu I remember seeing that at one point possibly as a bug ticket, not sure if it got fixed in a security release or not
508: [14:24:48] <kinglozzer> elgabbu: Yep, known bug
509: [14:26:11] <muskie9> not sure if this is it: https://github.com/silverstripe/silverstripe-cms/issues/1210
510: [14:26:26] <muskie9> may be semi related
511: [14:27:11] <elgabbu> kinda related yeah but not exactly
512: [14:28:27] <elgabbu> ok so to go round the issue for now i want to write a build task to correct the problematic page ... anyway i can invoke a write with passing through validation?
513: [14:31:03] <muskie9> maybe before you write update the config: Config::inst()->set('DataObject', 'validation_enabled', false) or however that would work http://api.silverstripe.org/3.1/source-class-DataObject.html#1143
514: [14:31:48] <elgabbu> ok i ll try that
515: [14:32:20] <muskie9> I've never done it so no idea if that will work... make sure you update the config after as well so your objects validate after it's run
516: [14:32:52] <NETim> Pyvwok, just trying to implement the index() solution you suggested but I keep getting not found?
517: [14:36:28] * darjus01 quit (Quit: Leaving)
518: [14:46:03] <Pyvwok> NETim: eh?
519: [14:51:54] <NETim> nevermind. Gave up. The requirement for the URL structure wasn't from the client...
520: [14:52:07] <NETim> How would one return a 404 page from a controller?
521: [14:52:41] <muskie9> NETim return $this->httpError(404);
522: [14:53:09] <NETim> muskie9, cheers.
523: [14:53:18] <muskie9> there's a second param for $message
524: [14:53:26] <muskie9> http://api.silverstripe.org/3.1/class-ContentController.html#_httpError
525: [14:53:52] <terryapodaca> Hey guys, need a little CSS advice
526: [14:54:05] <Pyvwok> reet
527: [14:54:33] <terryapodaca> I have a this: <div><a href="#">Link Text</a></div>
528: [14:55:13] <terryapodaca> but the original coder has padding on the div so even with display: block on the <a> tag, the whole "button" isn't clickable
529: [14:55:34] <terryapodaca> is it best to move the padding to the <a> tag instead of the <div> tag?
530: [14:55:47] <Pyvwok> terryapodaca: div{position:relative}a{position:absolute;top:0;left:0;right:0;bottom:0;}
531: [14:56:27] <Pyvwok> or -ve margin to cancel out the paddings
532: [14:57:01] <terryapodaca> so you are saying, it's not a good idea to put the padding on the <a> tag
533: [14:57:25] <Pyvwok> you can, with display:block
534: [15:06:18] <swaiba> In ModelAdmin when opening an item in the view context instead of the edit context if that item has a GridField, instead of the GridField being displayed a read only textfield is displayed the value (none)
535: [15:06:26] <swaiba> Anyone got any ideas?
536: [15:08:27] <r3v3rb> more crap with CORS then Edge and Chrome v44 no longer support loading fonts from CDN
537: [15:10:37] <muskie9> swaiba known issue: https://github.com/silverstripe/silverstripe-framework/issues/3357
538: [15:11:03] <muskie9> looks like there's a workaround for it in the ticket thread
539: [15:11:30] <Pyvwok> terryapodaca: get it?
540: [15:12:10] <swaiba> thanks muskie9 - checking it out now
541: [15:16:20] <muskie9> elgabbu any luck with the config?
542: [15:17:14] * player64 has joined #silverstripe
543: [15:17:15] <ss-helper> player64: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
544: [15:25:42] * player64 quit (Ping timeout: 246 seconds)
545: [15:29:59] * phil has joined #silverstripe
546: [15:30:23] * phil is now known as Guest43071
547: [16:01:20] * kinglozzer weekend
548: [16:01:21] <kinglozzer> <3
549: [16:01:21] * kinglozzer quit (Remote host closed the connection)
550: [16:01:50] <terryapodaca> Pyvwok: http://ag.cultivateapps.com/
551: [16:01:57] <terryapodaca> top right button/link
552: [16:02:10] <terryapodaca> I ended up just using the padding on the <a> tag instead
553: [16:07:50] <swaiba> muskie9 cheers the stuff damian did in the blog worked :)
554: [16:08:46] <muskie9> awesome! I might need that soon actually, good to know it works!
555: [16:23:28] <Pyvwok> terryapodaca: yes, that is easier/better. But you need to be sure to display:block too, or you'll run into ... anomalies.
556: [16:24:03] <terryapodaca> I believe I did add the display:block
557: [16:24:31] <Pyvwok> good oh, that's all I wanted to check :>
558: [16:24:49] <terryapodaca> now I am trying to make the whole div grow on hover
559: [16:24:51] <terryapodaca> :D
560: [16:31:55] <terryapodaca> ok, so when I "grow" the whole box, there is some weird stuff going on with the text, it's growing and shrinking back down, but it flickers and it gets fuzzy
561: [16:32:00] <terryapodaca> http://ag.cultivateapps.com/
562: [16:32:10] * NETim quit (Ping timeout: 250 seconds)
563: [16:32:27] <terryapodaca> I thought I read some place when using CSS you should also add some kind of fix for text transitions
564: [16:32:35] * NETim has joined #silverstripe
565: [16:39:33] * R\w\C quit (Quit: Textual IRC Client: www.textualapp.com)
566: [16:40:05] <ss-helper> When to use Page vs Dataobject in Silverstripe - http://stackoverflow.com/questions/32786678/when-to-use-page-vs-dataobject-in-silverstripe
567: [16:41:58] * swaiba ahhh that 5.30+ feeling
568: [16:42:01] * swaiba quit (Remote host closed the connection)
569: [16:45:19] <Pyvwok> time ta gaans out
570: [16:45:39] * Pyvwok quit (Quit: Page closed)
571: [17:00:54] * Spliff has joined #silverstripe
572: [17:00:59] * Spliff quit (Client Quit)
573: [17:04:24] * Guest43071 quit (Ping timeout: 246 seconds)
574: [17:15:59] <muskie9> anyone use this before? https://github.com/g4b0/silverstripe-member-user-management
575: [17:56:39] * NETim quit (Ping timeout: 240 seconds)
576: [17:56:43] * NETim_ has joined #silverstripe
577: [18:00:11] * terryapodaca quit (Ping timeout: 244 seconds)
578: [18:37:15] <wmk> muskie9, i guess g4bo ;)
579: [18:37:24] <wmk> he's sometimes online
580: [18:38:43] <muskie9> got it working, pretty nifty... I'll try to add some options and docs to it, did about 90% of what I needed out of the box
581: [18:42:08] <wmk> fine.
582: [18:42:18] <wmk> g4bo modules are fine.
583: [18:42:27] <wmk> i enhanced searchabledataobjects a bit
584: [18:42:31] <wmk> cool for simple site search
585: [18:42:35] <muskie9> using his searchable dataobjects
586: [18:42:40] <muskie9> that one's nice
587: [18:43:17] <wmk> muskie9, i plan to PR funcitonality for highlighting the search term in the result, and for getting the relevant snippet out of the text
588: [18:43:28] <wmk> got it working, must find time for the PR
589: [18:43:38] <muskie9> nice!
590: [18:44:25] <muskie9> added some extra filter options the other week, I need to finish working the module into my project, but worked well last I looked at it
591: [18:53:01] * DimiStripe_alt has joined #silverstripe
592: [18:54:59] * DimiStripe quit (Ping timeout: 260 seconds)
593: [18:54:59] * DimiStripe_alt is now known as DimiStripe
594: [18:58:46] * BackEndCoder quit (Ping timeout: 240 seconds)
595: [19:01:36] * mmkjay has joined #silverstripe
596: [19:02:29] <mmkjay> i've got a Gridfield with sortable component added. When I do LastEdited it's sotable but soon as I put a method on it like .Nice or .Time24 it's no longer sortable.
597: [19:02:35] <mmkjay> Any ideas?
598: [19:03:37] * r3v3rb quit (Quit: r3v3rb)
599: [19:14:10] * Azure|dc quit (Quit: My Mac has gone to sleep. ZZZzzz…)
600: [19:26:30] <wmk> mmkjay, ???
601: [19:26:52] <wmk> grid uses $default_sort to sort stuff
602: [19:27:08] <wmk> or do you mean a header bar where you can sort every column?
603: [19:27:54] * mmkjay quit (Ping timeout: 246 seconds)
604: [19:39:06] * BackEndCoder has joined #silverstripe
605: [19:42:15] * Copperis quit (Quit: Leaving)
606: [19:55:32] * Colin[pi] has joined #silverstripe
607: [20:47:19] * UndefinedOffset quit (Quit: Leaving.)
608: [20:54:33] * gelignite has joined #silverstripe
609: [20:54:45] * wmk quit (Quit: nice to meet you ;))
610: [20:58:22] * Guits has joined #silverstripe
611: [21:44:23] * Colin[pi] quit (Ping timeout: 246 seconds)
612: [22:12:04] * muskie9 quit (Ping timeout: 268 seconds)
613: [22:27:46] * muskie9 has joined #silverstripe
614: [22:57:25] * Azure has joined #silverstripe
615: [23:09:31] * Viper-7 is now known as TechnicAli
616: [23:10:27] * TechnicAli is now known as Viper-7
617: [23:21:24] <muskie9> is micmania1's lumberjack the more widely used version, or the silverstripe fork? SS is defaulting to 1.1 branch and micmania1's defaults to 1.0

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