#silverstripe IRC Log

IRC log for 28 September 2015

All timestamps are in UTC.

1: [00:02:03] * micmania1 has joined #silverstripe
2: [00:12:49] <Hailwood> Interesting question <%if not $SomeValue %>Default String<% else %>{$SomeValue}<% end_if %> . What do we do if 0 is a valid $SomeValue?
3: [00:13:48] <jules0x> $SomeValue()
4: [00:14:05] <jules0x> *do logic
5: [00:14:45] <jules0x> maybe.
6: [00:18:42] <novaweb> is it possible to access the contents of $Layout in php?
7: [00:20:09] <novaweb> Upon thinking about how SilverStripe's templating engine works, the above is a ridiculous question. Back to the drawing board.
8: [00:21:51] <Hailwood> novaweb, I'm curious as to what led you to that thought path..
9: [00:22:06] <novaweb> Working with an api
10: [00:22:31] <novaweb> I need the source html as it is output to Layout to fling off to a third party for validation
11: [00:23:14] <novaweb> I can either send the source or have the api scrutinise a URL, the latter doesn't work in a dev environment
12: [00:24:01] <Hailwood> couldn't you just do $output = $this->RenderWith('MyLayoutTemplate'); or if you need the full html value $this->RenderWith('MyLayoutTemplate, 'Page');
13: [00:25:37] * Jakxnz has joined #silverstripe
14: [00:25:38] <ss-helper> Jakxnz: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
15: [00:28:54] * Jakx quit (Ping timeout: 255 seconds)
16: [00:32:19] * mahfuz has joined #silverstripe
17: [00:40:02] <helenclarko> Hailwood, you want a if $SomeValue not 0?
18: [00:41:53] <Hailwood> helenclarko, more I want if $SomeValue === null or $SomeValue === false
19: [00:42:50] <Hailwood> basically 0,1,2,3,4,5,... are all valid values - so the loose comparison of if not $SomeValue doesn't work. And afaik you cannot do strict comparison in silverstripe yeah?
20: [00:43:57] <MichalKleiner> Hailwood: just move the logic into the code and use it as a function in the template
21: [00:44:05] <MichalKleiner> and do whatever comparison using php
22: [00:44:28] <MichalKleiner> as jules0x suggested
23: [00:45:01] <MichalKleiner> template comparisons are not reliable for anything more complicated than true-ish/falsy and simple string comparison
24: [00:46:09] <Hailwood> so <% if $HasSomeValue %>{$SomeValue}<% else %>Some Default<% end_if %> yeah?
25: [00:46:56] * Troy quit (Quit: Page closed)
26: [00:46:57] <MichalKleiner> and HasSomeValue is a function..
27: [00:47:07] <Hailwood> MichalKleiner, yeah.
28: [00:47:47] <MichalKleiner> it'd be nice to have it in the template, I understand, always wanted to have it there.. as well as some sort of helpers.. but, it's how it is :-D
29: [01:04:14] * r_hector has joined #silverstripe
30: [01:34:28] * SphereSilver has joined #silverstripe
31: [01:34:49] * r_hector1 has joined #silverstripe
32: [01:35:03] * jbrungar_ has joined #silverstripe
33: [01:38:44] * Sphere quit (Ping timeout: 250 seconds)
34: [01:38:44] * r_hector quit (Ping timeout: 250 seconds)
35: [01:38:48] * jbrungar quit (Ping timeout: 250 seconds)
36: [01:38:52] * jbrungar_ is now known as jbrungar
37: [02:00:54] <helenclarko> AWWW GOD!!! Spammers on SS Forum.
38: [02:03:59] <spronk> o_O
39: [02:04:21] <ss-helper> Re: [silverstripe-dev] Re: Customizing charset/collation per-column. - https://groups.google.com/d/msg/silverstripe-dev/FXG5Yg7KzSo/7nRLHjboAwAJ
40: [02:12:33] * Tanger has joined #silverstripe
41: [02:14:34] <ss23> Hmm
42: [02:14:46] <ss23> When JS is loaded in the CMS, there's an m=foo parameter where foo is a timestamp of the file
43: [02:14:50] <ss23> But what is the _=foo?
44: [02:14:55] <ss23> A cachebuster? Is it nonstandard? Standard? idk
45: [02:17:13] * micmania1 quit (Quit: micmania1)
46: [02:34:33] <DanaeNZ> ss23: weird, i thought the timestamp would be enough of a cachebuster
47: [02:35:00] * micmania1 has joined #silverstripe
48: [02:36:18] <ss23> Yeah
49: [02:36:25] <ss23> Not sure what _ is yet
50: [02:41:56] * r_hector1 quit (Remote host closed the connection)
51: [02:43:35] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
52: [03:07:20] * stecman has joined #silverstripe
53: [03:31:08] <Hailwood> So, Code commenting - excessive, or just right? http://i.imgur.com/TXekxc5.png
54: [03:31:35] <Hailwood> Debating with someone, I think this section of code requires no comments at all
55: [03:34:03] * Olliepop has joined #silverstripe
56: [03:40:34] <micmania1> Hailwood: is it covered by unit tests? :p
57: [03:41:27] <Hailwood> micmania1, mate we have unit tests for our unit tests
58: [03:41:35] <micmania1> haha
59: [03:41:49] * jules0x quit (Quit: Leaving)
60: [03:43:23] <Hailwood> MichalKleiner, Late reply I know, but did you try adding your tab in beforeUpdateCMSFields ?
61: [03:44:39] <MichalKleiner> Hailwood: I'm over it now, will have a play later, thanks though
62: [03:44:53] <MichalKleiner> about the commenting above - too excessive, makes it 2 times longer and actually harder to read
63: [03:45:16] <MichalKleiner> and using tabs :-P
64: [03:45:24] * MichalKleiner promotes spaces
65: [03:45:51] <Stomach> Hailwood - its overkill
66: [03:46:01] <Stomach> your functions are self explanatory
67: [03:47:15] <Hailwood> MichalKleiner, my issue with tabs is that I can set tab width, I cannot set space width. And totally agree about the harder to read.
68: [03:51:45] <Hailwood> Oh! Another preference question - <h1>$SomeVar</h1> or <h1>{$SomeVar}</h1> - and <% loop SomeVar %> or <% loop $SomeVar %> or (is this even valid?) <% loop {$SomeVar} %>
69: [03:56:16] <Stomach> <% loop $SomeVar %>
70: [03:56:20] <Stomach> and {$VarName}
71: [03:56:26] <Stomach> are my preference
72: [03:56:29] * Phlunk3 quit (Quit: Leaving)
73: [03:56:53] * helenclarko quit (Quit: Leaving)
74: [03:57:42] <MichalKleiner> loop $SomeVarOrFn and <h1>$SomeVarOrFn
75: [03:58:25] <MichalKleiner> within the loop it's recommended to use $ by SS itself.. it used to be without $ but it should be consistent with $
76: [03:58:41] <MichalKleiner> therefore I prefer to use $var in the markup as well without { to be consistent
77: [03:59:31] <Hailwood> MichalKleiner, is $SomeVar$AnotherVar valid though? or if you need that then do you do {$SomeVar}{$AnotherVar} or {$SomeVar}$AnotherVar
78: [04:00:00] <MichalKleiner> I wouldn't chain it.. if there's need I move it to php and create it a single var
79: [04:00:35] <MichalKleiner> I mean a function that does it
80: [04:02:28] <Hailwood> Ah righto. Makes sense, Well home time. Off the play some Destiny! Catch you folks later!
81: [04:03:10] * Hailwood quit (Remote host closed the connection)
82: [04:08:04] <novaweb> End of day brain fade, line 23. whaddaya do http://pastie.org/10447493
83: [04:10:21] <novaweb> got it https://docs.silverstripe.org/en/3.1/developer_guides/model/relations/
84: [04:10:43] <micmania1> novaweb: student -> course should be many_many?
85: [04:10:54] <novaweb> yeah it is
86: [04:13:10] * micmania1 quit (Quit: micmania1)
87: [04:19:07] * DanaeNZ quit (Remote host closed the connection)
88: [04:20:39] <MichalKleiner> novaweb: first I'd rename $courseID to $course, because it's not ID and might be confusing
89: [04:21:06] <novaweb> done and task completed :)
90: [04:21:08] <novaweb> thanks
91: [04:21:42] <MichalKleiner> then something like $course->Students()->add($student);
92: [04:26:08] <MichalKleiner> :-)
93: [04:41:16] * Stomach quit (Quit: zzz)
94: [05:03:06] * mahfuz quit (Ping timeout: 246 seconds)
95: [05:05:50] <novaweb> Debian Server, friendly URLS not working, AllowOverride ALL is set in sites-available file and have run a2ensite
96: [05:05:57] <novaweb> any other ideas?
97: [05:08:25] * Stomach has joined #silverstripe
98: [05:20:21] <MichalKleiner> novaweb: might be set to None somewhere further up the chain..
99: [05:27:01] * Liquide quit ()
100: [05:27:32] <Olliepop> novaweb can you post the conf somewhere?
101: [05:40:47] * wmk has joined #silverstripe
102: [05:47:40] * Stomach quit (Quit: zzz)
103: [05:48:36] * stecman quit (Quit: This computer has gone to sleep)
104: [05:52:48] * Olliepop quit (Ping timeout: 246 seconds)
105: [06:07:43] * DanaeNZ has joined #silverstripe
106: [06:11:36] * spronk quit (Quit: I may need a longer sleep timer...)
107: [06:11:50] * DanaeNZ quit (Ping timeout: 240 seconds)
108: [06:20:02] * spronk has joined #silverstripe
109: [06:46:52] * Stomach has joined #silverstripe
110: [06:51:07] <wmk> hi Stomach
111: [06:51:14] <Stomach> good evening!
112: [06:51:26] <wmk> anyone knows if there is a method for getting used get params?
113: [06:51:58] <wmk> if i want to pass e.g ?foo=1&bar=2 to Controller::join_links()
114: [06:52:09] <wmk> but only if those are used in this request
115: [06:56:15] <Stomach> $this->getRequest()->getVars()
116: [06:56:43] <Stomach> you could then use array_map or something on it to build the join_links
117: [06:57:59] <wmk> jup.
118: [06:58:20] <wmk> array_intersect_key($request->getVars(), array_flip(['foo', 'bar'])) gives me the currently used parameters as an array
119: [06:58:39] <wmk> where $request is Controller::curr()->getRequest()
120: [06:59:04] <Stomach> yeah thats a good way to do it
121: [06:59:28] <Stomach> otherwise people can append ?lol=false&foo=true or something and it would fail
122: [07:01:22] * Guits quit (Ping timeout: 246 seconds)
123: [07:05:25] <wmk> array_map doesn't handle keys, array_walk should do it
124: [07:13:51] * swaiba has joined #silverstripe
125: [07:18:05] <wmk> Stomach, didn't i make a PR for the readme update?
126: [07:28:36] <Stomach> ah i always forget about array walk vs map in php
127: [07:28:40] <Stomach> its annoying :D
128: [07:29:19] <wmk> well, array_walk is ugly
129: [07:29:22] <wmk> not returning anything
130: [07:29:28] <wmk> but you can map on two arrays
131: [07:42:30] <wmk> Stomach, got it working, see http://www.silverstrip.es/blog/filter-used-get-parameters-and-pass-them-to-the-current-link/
132: [07:46:51] * spronk quit (Quit: I may need a longer sleep timer...)
133: [07:49:29] <Stomach> knew array map would be useful :P
134: [07:50:34] <wmk> yup
135: [07:51:37] <wmk> i love that functional approach
136: [07:55:53] <ss-helper> Silverstripe multisite configuration - http://stackoverflow.com/questions/32817899/silverstripe-multisite-configuration
137: [07:58:15] * mobiusnz quit (Quit: Leaving.)
138: [08:04:24] * kinglozzer has joined #silverstripe
139: [08:05:13] <Stomach> this is a handy blog wmk
140: [08:05:21] <wmk> thanks
141: [08:05:48] <wmk> like intended. a place for currently swaiba and me to write down things
142: [08:06:00] * mobiusnz has joined #silverstripe
143: [08:06:01] <wmk> and lookup later *G*
144: [08:07:17] <Stomach> yeah I spent 30 minutes today trying to find a project where I knew I had done something... :D
145: [08:09:19] * r_hector has joined #silverstripe
146: [08:10:20] * mobiusnz quit (Client Quit)
147: [08:15:32] * NETim_ quit (Quit: Leaving)
148: [08:15:34] <swaiba> morning wmk
149: [08:15:40] <wmk> hi swaiba
150: [08:15:48] <wmk> Stomach, i know this feeling
151: [08:16:01] <swaiba> once I've got something for scaffolding search fields for multiple values I'll be makign a post today
152: [08:16:25] <swaiba> yeah me too, or searching forum for a post I made 2 years ago...
153: [08:16:31] <wmk> hey, when i create my own extension point i want to call using $this->extend(), do i need to pass the variable by reference? or do i need to get the variable by reference in the hook method?
154: [08:16:38] <wmk> always confused...
155: [08:16:49] <Stomach> you can do either
156: [08:16:56] <Stomach> objects are always passed by reference
157: [08:17:07] <Stomach> but strings etc I prefer to call by reference
158: [08:17:16] <wmk> on a DataList..
159: [08:17:41] <Stomach> that will be passed by reference so you shouldn't need to & at either end
160: [08:17:49] <wmk> hmm...
161: [08:22:15] <wmk> so the extension is called, i see the datalist filtered, but back in the main method it's unfiltered again
162: [08:23:03] <Stomach> damn
163: [08:23:06] <Stomach> add the & :D
164: [08:24:40] <wmk> i try it
165: [08:25:12] <wmk> so in doubt just add it?
166: [08:27:08] <Stomach> haha pretty much
167: [08:31:32] <wmk> Stomach, i have a method in my controller to return a boolean if i should show something or not
168: [08:31:47] <wmk> is there a pattern for using $this->extend() when i want to show something?
169: [08:32:16] <wmk> e.g. if i want to show only if all predicts are true or if one is true
170: [08:32:36] <Stomach> not that ive seen
171: [08:34:15] <wmk> i wonder when i return something in the extension hook.... is it collected or overwritten?
172: [08:37:43] <Stomach> its not used I dont believe
173: [08:39:50] * Stomach quit (Quit: zzz)
174: [08:42:11] <kinglozzer> wmk: Yeah you'll need to add the & for DataList/ArrayList as they're immutable
175: [08:43:59] <wmk> kinglozzer, and if i want to get boolean values from all extension called, are they collected somewhere?
176: [08:44:12] <wmk> so do i get an array with all return values of that hook?
177: [08:44:31] <kinglozzer> wmk: Yeah
178: [08:44:40] <kinglozzer> $values = $this->extend('foo');
179: [08:44:49] <kinglozzer> $values is an array
180: [08:45:24] <wmk> and i get the result of every extension called?
181: [08:50:04] <kinglozzer> wmk: Yep
182: [08:50:11] <wmk> fine.
183: [08:50:19] <wmk> so i can check this array for truthyness
184: [08:50:57] <kinglozzer> wmk: IIRC core uses min() for can* permissions
185: [08:51:16] <kinglozzer> Ah, $results = $this->extend('can', $member); if($results && is_array($results)) if(!min($results)) return false;
186: [08:51:38] <kinglozzer> Though the is_array() isn't needed
187: [08:51:52] <wmk> ok. this is for "everything should be true"
188: [08:52:14] <wmk> for "if one value is true" in_array() should be enough..?
189: [08:53:17] <kinglozzer> wmk: if min($results) should do it I think
190: [08:54:09] <kinglozzer> Oh, wait, no it won't
191: [08:54:10] <kinglozzer> Sorry :P
192: [08:55:35] <wmk> min is for "everything should be true"
193: [08:59:53] <swaiba> Hi All, I'm trying to find the simplest method of scaffolding a multiple exact match filter....
194: [09:00:04] <swaiba> This is the code I'd *like* to have working... http://www.sspaste.com/paste/show/5609016ac01f4
195: [09:00:42] <swaiba> but I suspect I'll have to make a full search context and hardcode the search fields, can anyone help me get something generic like the above working?
196: [09:01:28] * Stomach has joined #silverstripe
197: [09:13:29] <wmk> aint there a updateSearchContext method in dataextension, swaiba ?
198: [09:14:10] <swaiba> wmk there is, but that leads to much more code and I'm really after a simple scaffolding situation
199: [09:14:20] <wmk> or a method in the DO to return the searchfilter?
200: [09:14:24] <wmk> ah, scaffolding... well...
201: [09:14:29] <swaiba> provided there is one, if I'm told no... then fine
202: [09:15:01] <swaiba> but it's much nicer to add one search filter line, than much more code/functions/classes
203: [09:15:40] <wmk> of course
204: [09:15:51] <wmk> DataObject has defaultSearchFilters()
205: [09:16:04] <wmk> which checks searchableFields()
206: [09:16:43] <wmk> http://api.silverstripe.org/3.1/source-class-DataObject.html#3388-3419 swaiba
207: [09:17:48] <wmk> so defining filters in $searchable_fields should work out of the box
208: [09:19:23] * Jakxnz quit (Ping timeout: 264 seconds)
209: [09:24:49] <swaiba> I assumed it would work, wmk, trouble is the listbox doesn't contain the statuses and so doesn't allow a mulitple selection
210: [09:25:16] <swaiba> if the array wasn't specfified then it would show the enum values int he drop down
211: [09:25:27] <swaiba> I want the same as that but allowing multiple selection / filtering
212: [09:28:10] * Tanger quit (Quit: sleep())
213: [09:33:56] * Stomach quit (Quit: zzz)
214: [09:43:48] <wmk> well swaiba, you could make a custom db field for that value
215: [09:43:52] <wmk> and scaffold it there
216: [09:44:00] <wmk> if you need it more often
217: [09:44:47] * Audlex quit ()
218: [09:45:11] <swaiba> I think I get that there isn't a message coming soon saying "it works, do this"
219: [09:45:43] <swaiba> making a field might be the solution as I've tried many field classes there and that is the only variable I can see being changable
220: [09:50:07] * Audlex has joined #silverstripe
221: [09:51:36] * novaweb quit (Remote host closed the connection)
222: [09:52:08] * novaweb has joined #silverstripe
223: [09:53:04] * Audlex quit (Client Quit)
224: [09:56:48] * novaweb quit (Ping timeout: 268 seconds)
225: [09:57:42] * Audlex has joined #silverstripe
226: [10:23:53] <wmk> kinglozzer, did you get zenvalidator and displaylogic working together?
227: [10:24:08] <wmk> i want to show a textfield if no of the dropdown values fits,
228: [10:24:17] <wmk> and customer wants it required...
229: [10:24:18] <kinglozzer> wmk: Mostly yeah, but there were a few bugs...
230: [10:24:40] <wmk> but only require that textfield if it's shown...
231: [10:28:56] * krofek_ quit (Read error: Connection reset by peer)
232: [10:29:05] * krofek_ has joined #silverstripe
233: [10:31:04] * Embraden quit (Read error: Connection reset by peer)
234: [10:31:33] * Embraden has joined #silverstripe
235: [10:58:17] * Mike123 has joined #silverstripe
236: [11:15:46] * lerni_ has joined #silverstripe
237: [11:28:55] * samlander has joined #silverstripe
238: [11:29:03] <samlander> morning folks, finally got a good question for ya
239: [11:29:16] <samlander> how do i limit a manymanylist query?
240: [11:29:45] <samlander> $category = BlogCategory::get()->filter(array('Title'=>'Case Study'));
241: [11:29:45] <samlander> $caseStudy = $category->first()->BlogPosts()->sort('PublishDate','ASC')->limit(2);
242: [11:30:08] <samlander> that bombs, ... but if i remove the limit clause, works fine
243: [11:32:06] <Mike123> salamander , have you tried to do it without sort like this $category->first()->BlogPosts()->limit(2);
244: [11:33:51] <Mike123> and sorry , samlander :)
245: [11:40:56] <ss-helper> Use clicked item in GridFieldDetailForm fields - http://stackoverflow.com/questions/32821832/use-clicked-item-in-gridfielddetailform-fields
246: [11:43:58] <Mike123> Hey guys , have old 2.4 SS project, and i cant start it, get error like this Strict standards: call_user_func() expects parameter 1 to be a valid callback, non-static method Translatable::extraStatics() should not be called statically in D:\......\sapphire\core\model\DataObjectDecorator.php on line 69
247: [11:50:40] <samlander> Mike: i did try to do it with a staic value as well
248: [11:51:11] <samlander> mike: odd thing, if i create a new variable like $cs=$caseStudy->limit(2)
249: [11:51:14] <samlander> works dandy
250: [11:51:23] <samlander> *shrug*
251: [11:51:25] <samlander> xD
252: [12:03:57] <wmk> samlander "that bombs" ... what error message?
253: [12:38:48] * cloph_away is now known as cloph
254: [12:54:18] * novaweb has joined #silverstripe
255: [12:58:43] * novaweb quit (Ping timeout: 268 seconds)
256: [12:59:31] <samlander> here's a quick little question... im used to using grid fields for my has_many relationships, what if i just want to use my model as a has_one in my page
257: [12:59:38] <samlander> how would i represent it's controls in a tab?
258: [13:00:36] * Alboes has joined #silverstripe
259: [13:03:28] <Alboes> if I have a pagetype like AdPage it will use as template AdPage.ss automatic if this exists, otherwise it use Page.ss. But is it possible to force to use another template file, other than the name or Page.ss?
260: [13:05:18] <samlander> sure
261: [13:05:41] <samlander> trap the action and use renderwith
262: [13:06:04] <samlander> ie: if you're going to /blah/ chances are ss is gonna look for the index() action in the blah controller
263: [13:21:12] * samlander quit (Quit: Leaving)
264: [13:22:45] <swaiba> samlander - maybe one of these...
265: [13:22:45] <swaiba> http://addons.silverstripe.org/add-ons/briceburg/silverstripe-pickerfield
266: [13:22:51] <swaiba> http://addons.silverstripe.org/add-ons/simonwelsh/hasoneedit
267: [13:24:00] <wmk> swaiba, that simon module got abandoned, stomach has a up to date fork
268: [13:24:22] <wmk> http://addons.silverstripe.org/add-ons/stevie-mayhew/hasoneedit
269: [13:24:31] <wmk> works like a charm the hasoneedit module
270: [13:24:44] <swaiba> thansk wmk, I was just writing to cam to say it's odd I could find it in google results, but it doesn't have access to the gitlab :)
271: [13:24:59] <wmk> well, you know
272: [13:25:09] <wmk> fortunately i forked it long time ago
273: [13:26:06] <wmk> and stevie asked kindly if he can host it now
274: [13:27:51] <wmk> but seeing a repo go away is the risk of open source. though it shouldn't be so often
275: [13:28:23] <wmk> had this with another composer package a time ago.... deploy rolled back cause someone deleted his github repo
276: [13:29:25] <swaiba> sound logic for mirroring everything instead of relying on composer and "the internet"
277: [13:29:43] <swaiba> who know when someone borrows the internet to take to a shareholders meeting and drops it by accident
278: [13:29:44] <swaiba> https://www.youtube.com/watch?v=UTBsm0LzSP0
279: [13:33:10] <wmk> W
280: [13:33:10] <wmk> T
281: [13:33:12] <wmk> F
282: [13:33:13] <wmk> ?
283: [13:40:00] <swaiba> never seen the IT Crowd wmk?
284: [13:40:05] <wmk> not yet
285: [13:40:11] <swaiba> :)
286: [13:40:21] <swaiba> it's good, like soooo good
287: [13:41:06] <wmk> swaiba, http://www.commitstrip.com/en/2015/09/23/going-to-war/
288: [13:42:03] <swaiba> https://www.youtube.com/watch?v=r3BO6GP9NMY wmk
289: [13:55:46] * wmk quit (Ping timeout: 240 seconds)
290: [13:56:18] <Alboes> if i do renderWith in the index function it works, but not for the actions?
291: [13:57:22] * r_hector quit (Remote host closed the connection)
292: [14:12:16] * Pybwolk has joined #silverstripe
293: [14:12:16] <ss-helper> Pybwolk: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
294: [14:13:57] <Pybwolk> So I was thinking right.
295: [14:14:00] <Pybwolk> That's dangerous.
296: [14:14:25] <Pybwolk> but... are there any docs on how the composer autoloader works?
297: [14:14:50] <Pybwolk> besides PSR-0? (is that the only option?)
298: [14:16:48] <Pybwolk> does it just scan every folder/etc once an update is done, or is it a live lookup?
299: [14:18:54] <Alboes> can i do a renderWith for all $allowed_actions in one time or do I need to add a functions for every action?
300: [14:21:40] <Pybwolk> Alboes: I think you need to expand a little.
301: [14:21:43] <Pybwolk> I don't understand.
302: [14:21:46] <Pybwolk> enough.
303: [14:22:48] <Pybwolk> do you have to call renderWith upon return of an action? No. You can just return an array.
304: [14:23:13] <Pybwolk> or $this. Or any form of ViewableData
305: [14:23:30] <Alboes> sorry. I have a pagetype for which i want to use another template than the name of the page type. So in the contoller i do: public function index() { return $this->renderWith(array('AdPage', 'Page')); }
306: [14:24:04] <Pybwolk> why not just use the pagetype?
307: [14:24:07] <Pybwolk> .ss
308: [14:24:48] <Alboes> because i want to use one template for more page types
309: [14:25:05] <Pybwolk> then that should be the template for a superclass
310: [14:25:14] <Pybwolk> generally.
311: [14:25:55] <Pybwolk> but you could just set $this->template
312: [14:25:57] <Pybwolk> iirc
313: [14:26:22] <Pybwolk> or $that->setTemplate()
314: [14:27:40] <Pybwolk> or override $this->getTemplate() maybe
315: [14:27:45] <Pybwolk> something like that
316: [14:28:20] <Alboes> okay, but the right way should be a superclass in understand?
317: [14:28:32] <Pybwolk> Generally. It's better system design.
318: [14:28:39] <Alboes> okay
319: [14:28:47] <Pybwolk> It depends on whether or not they're related. I'm guessing they are though.
320: [14:30:44] <Alboes> okay, thanks for the info, I can going forward with this. I'm a bit newbie with ss and php :)
321: [14:35:56] <Pybwolk> it's ok, we're here to help :)
322: [14:38:24] <Alboes> i use a superclass now, works perfect, thanks
323: [14:40:41] * wmk has joined #silverstripe
324: [14:43:30] <Pybwolk> :)
325: [14:46:27] * wmk quit (Ping timeout: 250 seconds)
326: [14:51:29] <Mike123> are there any altertatives to Top or Up in SS 2.4 ?
327: [14:51:43] <Mike123> need to get out of scope :/
328: [14:55:26] <swaiba> Mike123 - https://docs.silverstripe.org/en/2.4/reference/built-in-page-controls/
329: [14:55:40] <swaiba> Top is right there in the docs and I alwasy recall it as working
330: [14:58:55] <Mike123> strange it doesnt work for me
331: [14:59:06] <Mike123> i mean i dont get errors but i get white screen
332: [14:59:18] <Mike123> <% if Top.Link %>
333: [14:59:22] <Mike123> is it ok ?
334: [15:01:33] <swaiba> Mike123 clearly not if it isn't working!
335: [15:01:56] <Mike123> :/
336: [15:01:58] <swaiba> I'd try $Top.MyFunc and debug MyFunc to see
337: [15:02:21] <Mike123> ok will try thanks
338: [15:02:32] * Mike123 quit (Quit: Page closed)
339: [15:06:25] * mobiusnz has joined #silverstripe
340: [15:10:38] * wmk has joined #silverstripe
341: [15:11:41] * lerni_ quit ()
342: [15:12:35] * DanaeNZ has joined #silverstripe
343: [15:16:08] * wmk quit (Ping timeout: 265 seconds)
344: [15:16:57] * DanaeNZ quit (Ping timeout: 252 seconds)
345: [15:30:36] <Alboes> is there an ucfirst function for ss templates?
346: [15:40:52] * wmk has joined #silverstripe
347: [15:43:52] <Pybwolk> MichalKleiner: no.
348: [15:44:16] <Pybwolk> There is not anything like that. If you're on a has_many you can use the has_one to get back though.
349: [15:44:24] <Pybwolk> Although there is $Top. Top will work.
350: [15:44:26] <Pybwolk> but not Up.
351: [15:46:27] * wmk quit (Ping timeout: 255 seconds)
352: [15:47:08] * novaweb has joined #silverstripe
353: [15:48:47] * novaweb quit (Client Quit)
354: [15:49:43] * UndefinedOffset has joined #silverstripe
355: [16:10:51] * wmk has joined #silverstripe
356: [16:16:10] <kinglozzer> Pybwolk: r.e. composer, no docs, but each module tells it where to look
357: [16:16:21] <kinglozzer> i.e. PSR-0, PSR-4 or straight paths to files
358: [16:16:28] * wmk quit (Ping timeout: 250 seconds)
359: [16:16:36] <kinglozzer> https://getcomposer.org/doc/04-schema.md#autoload
360: [16:16:52] <kinglozzer> On update/install it builds up a file containing an array of paths to push to spl_autoload
361: [16:17:47] <kinglozzer> Or rather, it pushes a callback to spl_autoload that'll then find the file by looking at the generated array
362: [16:18:31] <kinglozzer> e.g. https://gist.github.com/kinglozzer/ca854a50d50d015bcce0
363: [16:20:00] <kinglozzer> There's a flag to optimise the autoloader too (-o / --optimise-autoloader) on install/update that'll convert psr-0 or psr-4 to a classmap
364: [16:20:53] <kinglozzer> That'll then build a huge array of every PSR-0/PSR-4 autoloaded-class, classname -> filepath map
365: [16:21:01] <kinglozzer> Rather than it having to work it out in real-time
366: [16:21:20] <kinglozzer> capiche?
367: [16:23:39] <kinglozzer> Pybwolk: Sorry, I meant to say that each module *must* tell composer where to look for the files in composer.json
368: [16:25:18] <kinglozzer> So it can be PSR-0, PSR-4, a classmap (i.e. path to dir, Composer will scan and build classname like above) or "files" which is just an array of file paths (only really used for defining functions rather than classes)
369: [16:27:14] <kinglozzer> Unless you're building a SilverStripe module of course - SilverStripe has its own composer installer that'll dump it in docroot instead of vendor/, and obvs we have a classloader already so you don't need to tell composer where to look
370: [16:27:38] <kinglozzer> and with that, i'm outta here
371: [16:27:38] <kinglozzer> <3
372: [16:27:39] * kinglozzer quit ()
373: [16:34:40] * swaiba makes like a tree and leaves
374: [16:34:42] * swaiba quit (Remote host closed the connection)
375: [16:36:04] <ss-helper> Re: [silverstripe-dev] Security issue with login? - https://groups.google.com/d/msg/silverstripe-dev/2YQLa6v07Jo/UOqzLFcXBAAJ
376: [16:38:11] * Alboes quit (Remote host closed the connection)
377: [16:40:36] * Spliff has joined #silverstripe
378: [16:40:56] * wmk has joined #silverstripe
379: [16:46:13] * wmk quit (Ping timeout: 246 seconds)
380: [16:53:23] * Spliff quit (Quit: See you then)
381: [17:01:20] * DanaeNZ has joined #silverstripe
382: [17:05:52] * DanaeNZ quit (Ping timeout: 250 seconds)
383: [17:10:51] * wmk has joined #silverstripe
384: [17:11:00] <ss-helper> Use clicked / selected item in GridFieldDetailForm fields - http://stackoverflow.com/questions/32821832/use-clicked-selected-item-in-gridfielddetailform-fields
385: [17:11:28] * Seraphia_ has left #silverstripe
386: [17:16:26] * wmk quit (Ping timeout: 240 seconds)
387: [17:17:09] * gelignite has joined #silverstripe
388: [17:17:16] * wmk has joined #silverstripe
389: [17:21:10] <ss-helper> Re: [silverstripe-dev] Security issue with login? - https://groups.google.com/d/msg/silverstripe-dev/2YQLa6v07Jo/28ECuQYaBAAJ
390: [18:06:17] * Stomach has joined #silverstripe
391: [18:25:28] * Stomach quit (Quit: zzz)
392: [18:47:58] * micmania1 has joined #silverstripe
393: [18:52:34] * micmania1 quit (Ping timeout: 252 seconds)
394: [18:56:06] <wmk> SphereSilver, around?
395: [18:57:02] * Stomach has joined #silverstripe
396: [19:12:53] * spekulatius quit (Ping timeout: 246 seconds)
397: [19:14:21] * spekulatius has joined #silverstripe
398: [19:18:30] * antmas has joined #silverstripe
399: [19:29:19] * helenclarko has joined #silverstripe
400: [19:31:41] <antmas> morning all o/
401: [19:37:37] * trb143 quit (Quit: No Ping reply in 180 seconds.)
402: [19:38:53] * TRB143 has joined #silverstripe
403: [19:42:47] * TRB143 quit (Client Quit)
404: [19:44:15] * TRB143 has joined #silverstripe
405: [19:48:04] <Stomach> hey antmas
406: [19:48:18] <antmas> yoyoyoyoyo
407: [19:50:10] <Stomach> hows it going
408: [19:50:44] <antmas> not bad, having trouble with paymentexpress
409: [19:51:08] <antmas> but work has slowed a tad since doing some big releases, so good overall :P
410: [19:51:09] <antmas> Stomach: you?
411: [19:52:07] <Stomach> I'm just doing the same as usual :D
412: [19:52:18] <Stomach> payment express is always fun
413: [19:52:43] <Stomach> I'm starting work on updating swipestripe to use PX post + merging all our internal changes into it this week.. should be a nightmare
414: [19:52:54] <antmas> \o/
415: [19:53:07] <antmas> yeah I'm just having trouble getting PE to contact me
416: [19:53:14] <helenclarko> Morning o/
417: [19:53:32] <antmas> like I needed a very simple template change and their tech support dude just doesn't understand what I'm asking
418: [19:54:09] * TRB143 quit (Quit: No Ping reply in 180 seconds.)
419: [19:55:24] <antmas> plus if I call them, I get an answer machine :P
420: [19:55:33] <MichalKleiner> morning
421: [19:55:34] * TRB143 has joined #silverstripe
422: [19:55:41] <MichalKleiner> getting to work earlier and earlier
423: [19:55:59] <antmas> mm I start at 7.30am 3 days per week :O
424: [19:56:15] <helenclarko> Stomach, What king of "Internal Changes"?
425: [19:56:30] <MichalKleiner> antmas: that would kill me
426: [19:56:36] <MichalKleiner> 9:30 is my usual start
427: [19:56:40] <Stomach> we start at 8am 5 days a week :D
428: [19:56:41] <MichalKleiner> with thinking from 11
429: [19:56:57] <Stomach> helenclarko - we have our own forks of swipestripe with guest checkout, lots of shipping modules etc
430: [19:56:58] <MichalKleiner> but I usually stay till 6pm+
431: [19:57:05] * terryapodaca has joined #silverstripe
432: [19:57:05] <Stomach> looking at putting them all into the wild after a refactor
433: [19:57:21] <MichalKleiner> => never
434: [19:57:24] <antmas> we nomrally do 8.30-4.30, but 3 days a week I do 7.30-3.30
435: [19:57:39] <MichalKleiner> I could understand when people have kids etc.. it's different
436: [19:57:49] <antmas> MichalKleiner: yeah pretty much my only reason
437: [19:58:25] <terryapodaca> Anyone use Thunderbird as their email client?
438: [19:58:33] <Stomach> terryapodaca I used to
439: [19:58:38] <antmas> terryapodaca: used to
440: [19:58:52] <antmas> work email is Outlook, otherwise I don't use a 'client'
441: [19:58:54] <helenclarko> Stomach, Any rewrite of PXPay? Currently have Swipestripe sending out multiple emails because it recieves multiple responses from PE
442: [19:59:05] <Stomach> helenclarko - yeah we've fixed that
443: [19:59:17] <Stomach> I'm also looking at omnipay instead
444: [19:59:19] <terryapodaca> I have my terryapodaca.com email still set using Thunderbird, is there a better replacement these days?
445: [19:59:23] <antmas> helenclarko: what was the multiple reponse?
446: [19:59:26] <helenclarko> Stomach, OMG, I NEED!
447: [19:59:32] <terryapodaca> yeah, I use Outlook for my "work" email
448: [19:59:51] <Stomach> helenclarko - well lets talk in a week :)
449: [19:59:57] <helenclarko> antmas, Some security check that PXPay does now.
450: [20:00:05] <antmas> oh that thing
451: [20:00:54] <MichalKleiner> terryapodaca: yes, outlook for work, thunderbird for private
452: [20:01:04] <MichalKleiner> i hate web interfaces
453: [20:01:12] <helenclarko> Stomach, antmas, FPRN?
454: [20:01:24] <Stomach> whats that mean
455: [20:01:27] <antmas> ?
456: [20:02:00] <helenclarko> Fail-proof Result Notification
457: [20:02:06] <antmas> ah yes
458: [20:02:20] <helenclarko> Turning that off stops the second email
459: [20:02:39] <Stomach> we just added an "email sent" boolean to that motherfucker
460: [20:02:40] <antmas> We had something similar happening, but we were sending emails twice based on the 'auto-redirect' of the hosted PE template
461: [20:02:46] <antmas> which was retarded
462: [20:03:21] * UndefinedOffset quit (Quit: Leaving.)
463: [20:03:29] <helenclarko> Stomach, That'll do it.
464: [20:03:30] <antmas> right now I'm struggling to get PE to understand I need TxnData1 to be populated on the template :|
465: [20:03:38] <antmas> driving me crazy
466: [20:05:44] <Stomach> :D
467: [20:06:44] <antmas> I even sent them a .gif of the whole process :D
468: [20:06:56] <xyphoid> FPRN is interesting, the component we use in another system doesn't process at all for the user's request and relies on the FPRN one
469: [20:07:48] <xyphoid> rather than trying to treat both the same and having fun race conditions
470: [20:10:50] <helenclarko> xyphoid, Our site wouldnt register that it had recieved the FPRN, so we would end up with multiple FPRNs (resulting in multiple emails). Also if the user continued to our site, the payment would show pending until the user reloaded the page.
471: [20:12:10] * jules0x has joined #silverstripe
472: [20:12:14] <helenclarko> xyphoid, Just some weird stuff going on with Swipestripe and PXPay I guess.
473: [20:14:57] * micmania1 has joined #silverstripe
474: [20:15:48] * DanaeNZ has joined #silverstripe
475: [20:16:25] <Stomach> probably :D
476: [20:22:24] * stecman has joined #silverstripe
477: [20:24:26] <antmas> you know you're trying to focus when you have a 10hr clip of rain playing on youtube
478: [20:34:36] <helenclarko> That sounds really nice... Except for the pee factor.
479: [20:35:23] <antmas> :P
480: [20:35:33] <antmas> honestly, it's super relaxing
481: [20:35:38] <antmas> Put this on https://www.youtube.com/watch?v=53Lx4GpVtb4
482: [20:35:46] <antmas> and at the same time, this https://www.youtube.com/watch?v=cWOOMgS_FW4
483: [20:35:46] <helenclarko> coffee + rain music = pee factory.
484: [20:36:30] <helenclarko> Oh thats soo cool, both together!
485: [20:36:30] <wmk> helenclarko, the 3,1415926 factor?
486: [20:37:02] * DanaeNZ sips coffee and listens to rain
487: [20:37:03] <antmas> helenclarko: it's a perfect combo
488: [20:37:11] <ss23> I wish it was raining a little here, DanaeNZ
489: [20:37:15] <ss23> I need to walk into work but it's sunny
490: [20:37:16] <ss23> :(
491: [20:37:19] <helenclarko> Antmas, This is happening all day today! IM SOOO FOCUSED!
492: [20:37:20] <DanaeNZ> hahaha
493: [20:37:27] <ss23> Hate the sun
494: [20:37:27] <ss23> >.<
495: [20:37:31] <antmas> helenclarko: hahaha
496: [20:37:33] <DanaeNZ> someone post that comic
497: [20:37:41] <DanaeNZ> the one where the guy closes the cutrains on the sun
498: [20:37:42] <antmas> the neckbeard sun one?
499: [20:37:45] <DanaeNZ> yes
500: [20:37:47] <antmas> LOL
501: [20:37:55] <antmas> don't even need to, we all know it well :P
502: [20:37:58] <DanaeNZ> hahahah
503: [20:38:08] <helenclarko> DanaeNZ, Where does the world go when you close the curtains?
504: [20:38:19] <DanaeNZ> MY GOD, MIND BLOWN
505: [20:38:21] <wmk> ss23, come to the mountains in winter - no sun for weeks if you know the right place
506: [20:38:57] <antmas> is there also free candy?
507: [20:39:01] <DanaeNZ> oh man turn the chillstep way down, sounds so nice
508: [20:39:13] <antmas> DanaeNZ: yeah, rain up louder, chillstep on low
509: [20:40:04] <helenclarko> antmas, I think you are onto something here.
510: [20:40:19] <antmas> helenclarko: :) I just found it yesterday from reddit
511: [20:40:24] <helenclarko> Raindance-chillstep
512: [20:40:34] <helenclarko> rainstep?
513: [20:41:31] <antmas> just have to make sure you have adblock on other wise "rain sounds -----------> YOUI CAR INSURANCE WILL SAVE YOU HUNDREDS ----------> rain sounds"
514: [20:46:49] <antmas> you're not wrong about it making you want to pee
515: [20:46:52] <antmas> :|
516: [20:49:08] <helenclarko> antmas, This mix is working too well. Just caught myself listening and looking blankly at my screen.
517: [20:49:18] <antmas> helenclarko: :D
518: [20:49:19] <antmas> nice
519: [20:49:51] <antmas> there are dozens of chillstep mixes too, so chain them together and you have a whole day of tracks :D
520: [20:54:09] * Jakx has joined #silverstripe
521: [20:58:20] <helenclarko> antmas, Just waiting for scribe to start singing stop the music
522: [20:58:32] <antmas> LOL
523: [20:58:34] <antmas> scribe
524: [20:59:48] <helenclarko> haha, didnt he sell all his awards to pay rent (or a drug addiction)?
525: [21:01:14] <antmas> probably
526: [21:06:19] <antmas> :O
527: [21:06:23] <antmas> payment express replied :D
528: [21:06:25] <antmas> \o/
529: [21:13:20] <DanaeNZ> \o\
530: [21:13:25] <DanaeNZ> /o/
531: [21:13:28] <DanaeNZ> \o/
532: [21:14:20] <antmas> tie figher straifing
533: [21:14:56] <helenclarko> hadouken!!
534: [21:15:08] <helenclarko> Tiger Uppercut!!
535: [21:15:27] <DanaeNZ> Ugh fuck this fucking electricity company. Called a month ago to sort it all out and transfer account to my name, got a helpful lady to sort it out for me. Never received a bill so I enquired about it, they say it's still in my landlord's name. FFFUUUUUUUU
536: [21:15:50] <DanaeNZ> So now I'm gonna have to sort it out AGAIN and I probably threw away the bit of paper with the fucking meter number on it
537: [21:15:53] <antmas> mm
538: [21:15:58] <DanaeNZ> And at the end of it all I'm gonna get a hefty bill
539: [21:16:02] <antmas> I've never found a good electricity company
540: [21:16:11] <antmas> some might have good rates, but shitty CS
541: [21:16:28] <DanaeNZ> fml
542: [21:16:37] <DanaeNZ> I'm so pissed off
543: [21:16:47] <DanaeNZ> My landlord probably thinks I'm useless\
544: [21:17:12] <DanaeNZ> AND I STILL DON'T HAVE FUCKING INTERNET
545: [21:17:25] <DanaeNZ> pro tip, never move into your own place, it's not worth it
546: [21:17:27] <antmas> if you have proof of that lady 'sorting it out' then you don't have to pay that bill
547: [21:17:47] <DanaeNZ> There should be an array of notes on the account
548: [21:17:54] <antmas> hopefully
549: [21:17:55] <DanaeNZ> plus I have my "Welcome" pack
550: [21:18:04] <antmas> mm that should be enough then
551: [21:18:50] <helenclarko> DanaeNZ, You can request any information they hold on you. Guess its a little hard though if the account isn't in your name.
552: [21:19:03] <DanaeNZ> Yes there's an email right here, with my customer number, name, and the address. How can an address be associated to my name when it is still under the landlord's name?
553: [21:19:12] <DanaeNZ> And the weirdest thing is
554: [21:19:22] <DanaeNZ> I don't think it was even in his name
555: [21:19:28] <DanaeNZ> I think it was in the name of the old tenant
556: [21:19:40] <DanaeNZ> whatever, I'll call up today
557: [21:19:48] <DanaeNZ> At least my power hasn't been cut off
558: [21:19:56] <DanaeNZ> I don't want to adult today
559: [21:20:34] <helenclarko> DanaeNZ, Still cant believe you have no internet, Thats retarded! how long has it been now?
560: [21:21:38] <DanaeNZ> About three months since I requested it
561: [21:21:59] <helenclarko> What are they doing?
562: [21:22:11] <DanaeNZ> sitting around with their finger up their bum apparently
563: [21:22:56] <DanaeNZ> the fibre cable has been sitting outside my front doorstep for ages. I enquired, and they reckoned someone would be over to "survey" on the 9th of October. Ish.
564: [21:23:10] <xyphoid> i just called up for UFB for the new place, not looking forward to it
565: [21:23:24] <helenclarko> I mean provided there is space on your local exchange/cabnet, it should be like 3 weeks max for chorus to be out and hook it all up.
566: [21:23:30] <xyphoid> theoretically the fiber is already hooked up but they are still WELP 30 DAYS
567: [21:23:46] <DanaeNZ> I'm soooo maaaaad
568: [21:23:54] <DanaeNZ> Been paying a shittonne for data
569: [21:24:34] <helenclarko> DanaeNZ, Thats fucked. I cant believe an ISP can do that to people. Make them pay for a service they dont have.
570: [21:25:03] <DanaeNZ> I'm going to call them up and get them to explain themselves
571: [21:25:10] <DanaeNZ> it would be fine if I had vdsl or adsl
572: [21:25:17] <DanaeNZ> but I got nothing
573: [21:26:59] <helenclarko> DanaeNZ, Snap (now 2D) here in christchurch made it company policy not to charge for a service you dont have. You pay first month and then only when you have been connected. I have been with others that will charge out monthly while you are sitting on a waiting list for a spot on my locl cabnet to open up, they also had no ETA.
574: [21:27:23] <helenclarko> I could have been waiting up to a year for a cabnet upgrade.
575: [21:29:03] <DanaeNZ> helenclarko: I've been keeping an eye on my account and they haven't charged anything, but I have had to pay for 4G data ;____;
576: [21:30:04] <helenclarko> DanaeNZ, Oh right, that makes sense.
577: [21:30:31] <ss23> helenclarko: Didn't irogue get charged like 4 months and he had to manually ring up and ask for it back?
578: [21:30:38] <DanaeNZ> yeah I would be storming down their door if they were charging my account for internet lol
579: [21:31:20] <helenclarko> ss23, Sounds about right. Its happened to me before.
580: [21:32:59] <DanaeNZ> I just wanna live in my hooouuuuusseee properllyyyyyyyy
581: [21:33:02] * DanaeNZ kicks stuff over
582: [21:36:40] <ss-helper> Re: [silverstripe-dev] Security issue with login? - https://groups.google.com/d/msg/silverstripe-dev/2YQLa6v07Jo/tnfSursnBAAJ
583: [21:39:51] * Colin[pi] has joined #silverstripe
584: [21:40:31] <Colin[pi]> o/
585: [21:41:26] <antmas> Colin[pi]: o/
586: [21:42:41] * wmk quit (Quit: nice to meet you ;))
587: [21:48:14] <antmas> ffs
588: [21:48:19] <antmas> payment express changed out template
589: [21:48:29] <antmas> so one field doesn't have currency formatting
590: [21:48:42] <antmas> and are saying it will take 1 week to put formatting back on
591: [21:48:44] <antmas> :|
592: [21:48:56] * antmas escalates
593: [21:55:35] <Colin[pi]> escalating intensifies
594: [21:58:38] * DanaeNZ throws fucking computer across room
595: [21:58:49] <DanaeNZ> STOP RENDERING STUFF THAT DOESN'T EXIST YOU PIECE OF TURD
596: [21:58:50] <antmas> you cant take something away, then expect it take a week to put it back on
597: [21:59:50] * stecman quit (Quit: This computer has gone to sleep)
598: [22:18:52] * jules0x quit (Quit: Leaving)
599: [22:26:14] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
600: [22:26:51] * Azure quit (Quit: Oops.)
601: [22:27:15] * Azure has joined #silverstripe
602: [22:27:25] * spronk has joined #silverstripe
603: [22:27:34] * stecman has joined #silverstripe
604: [22:27:42] <DanaeNZ> can anyone see why this shit is fucking with me? See comments on lines 19 and 25 http://sspaste.com/paste/show/5609bec32d9ce
605: [22:28:30] * spronk quit (Max SendQ exceeded)
606: [22:28:56] <antmas> DanaeNZ: there is no line 25 :O
607: [22:29:13] <DanaeNZ> war
608: [22:29:14] <DanaeNZ> wat*
609: [22:29:20] <DanaeNZ> there is on my screen D:
610: [22:29:44] <antmas> I see up to 21
611: [22:29:55] <DanaeNZ> .____.
612: [22:30:06] <antmas> fixitfixit
613: [22:30:07] <DanaeNZ> noo but that's before the important part
614: [22:30:39] <DanaeNZ> http://kopy.io/v28ec
615: [22:30:43] <DanaeNZ> how about that?
616: [22:31:09] <antmas> that works
617: [22:31:10] <antmas> so weird
618: [22:31:24] <DanaeNZ> v weird
619: [22:31:32] <antmas> same amount of code, but different line numbers ...
620: [22:31:43] <DanaeNZ> -3-
621: [22:34:58] * novaweb has joined #silverstripe
622: [22:35:10] <antmas> novaweb: o/
623: [22:35:29] <novaweb> yeow \o
624: [22:36:04] * Stomach quit (Ping timeout: 250 seconds)
625: [22:37:00] * Stomach has joined #silverstripe
626: [22:37:58] <DanaeNZ> antmas: I figured it out
627: [22:38:17] <DanaeNZ> there was another function in there (not in the controller) taking precedence
628: [22:38:25] <DanaeNZ> becuase it was called getDrawings
629: [22:38:26] <DanaeNZ> anyway
630: [22:47:58] * terryapodaca has left #silverstripe
631: [23:00:25] * Stomach quit (Quit: zzz)
632: [23:13:14] * Stomach has joined #silverstripe
633: [23:17:03] * micmania1 quit (Quit: micmania1)
634: [23:29:19] <helenclarko> Just told my workplace I am not going to be here next year. Moving to Canada!
635: [23:32:05] <antmas> :O
636: [23:32:12] <antmas> helenclarko: congrats, did they take it well?
637: [23:32:52] <helenclarko> I think they had some idea it was coming (fiancee is Canadian)... Wedding planned in Canada
638: [23:33:12] * Hailwood has joined #silverstripe
639: [23:34:28] * Azure quit (Excess Flood)
640: [23:35:49] * Azure has joined #silverstripe
641: [23:37:06] <antmas> helenclarko: :P
642: [23:37:15] <antmas> helenclarko: what will you be doing work wise?
643: [23:44:59] * mobiusnz quit (Quit: Leaving.)
644: [23:48:23] * Stomach quit (Quit: zzz)
645: [23:50:22] * mahfuz has joined #silverstripe
646: [23:52:24] <helenclarko> antmas, Thinking freelance.
647: [23:53:29] <helenclarko> Hard to say at the moment. Might hit up a few of the SS webdesign places. Kinda weird that toronto's big industry area is in a place named Hamilton.
648: [23:53:46] <helenclarko> so, I could be working in Hamilton.
649: [23:57:09] * micmania1 has joined #silverstripe

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