#silverstripe IRC Log

IRC log for 21 May 2014

All timestamps are in UTC.

1: [00:00:53] <simon_w> terryapodaca, haven't tried again. Zauberfisch said it's been fixed, so that may be the case
2: [00:01:32] * jenniferaslan quit (Quit: jenniferaslan has left the room)
3: [00:02:30] <UncleCheese_> jesus, the editing is horrible
4: [00:03:09] <terryapodaca> simon_w: I'm using SS 3.1.3, the most recent stable download. I fear using the Master.
5: [00:03:23] <simon_w> terryapodaca, that's not the most recent
6: [00:03:48] <Colin[pi]> UncleCheese_: haha "Do I smell a poop?"
7: [00:03:53] <simon_w> terryapodaca, also, being fixed in master doesn't exclude it from being fixed in 3.1
8: [00:03:53] <UncleCheese_> ha
9: [00:05:15] <Colin[pi]> UncleCheese_: so the solution is, have a cool idea, tell no one?
10: [00:05:22] <UncleCheese_> yes!
11: [00:05:26] <UncleCheese_> not an idea
12: [00:05:28] <UncleCheese_> but a goal
13: [00:05:37] <Colin[pi]> brilliant!
14: [00:05:46] <UncleCheese_> if you have a good idea, you should tell everyone.. i.e. kickstarter
15: [00:06:01] <Colin[pi]> mm, important difference
16: [00:06:27] <antmas> UncleCheese_: wait, so if you have a goal, tell no one?
17: [00:06:33] <UncleCheese_> +1
18: [00:06:54] * micmania1 quit (Ping timeout: 240 seconds)
19: [00:07:26] <Kingy> Nice icebreaker UncleCheese_
20: [00:07:37] <UncleCheese_> ?
21: [00:07:50] <Kingy> something about americans and booming voices
22: [00:07:54] <Colin[pi]> heheh
23: [00:07:55] <UncleCheese_> haha
24: [00:07:58] <UncleCheese_> never!
25: [00:09:19] <Colin[pi]> so... docs are going to improve under your watch UncleCheese_? ;D
26: [00:09:26] <UncleCheese_> exponentially
27: [00:09:30] <Colin[pi]> !!!! :o
28: [00:09:39] <Colin[pi]> you heard it here first, folks
29: [00:09:55] <antmas> ^^^^^
30: [00:09:57] <antmas> this
31: [00:09:59] <antmas> is
32: [00:10:04] <antmas> HUGE
33: [00:10:06] <Colin[pi]> aww but I like feeling like a "special club", UC ;P
34: [00:10:11] <antmas> ss23: is losing his job?
35: [00:10:12] <UncleCheese_> haha
36: [00:10:13] <UncleCheese_> exactly
37: [00:10:15] <simon_w> And it'll take months for the changes to be merged! :p
38: [00:10:23] <UncleCheese_> i'm so tired of SS being a cult
39: [00:10:28] <Colin[pi]> ss23: is losing his job? <-- lol
40: [00:10:55] <Colin[pi]> UncleCheese_: mm, I both like and dislike it at the same time
41: [00:12:28] <simon_w> Bleugh, is way too hot in here
42: [00:12:45] <Colin[pi]> simon_w: are you ever satisfied?
43: [00:13:02] <simon_w> Colin[pi], yes, when the heater isn't turned up too high :p
44: [00:13:05] <Colin[pi]> ;P
45: [00:13:09] <simon_w> (I like my 16-18 degree rooms)
46: [00:14:12] <simon_w> Compile faaaaaster, dammit
47: [00:14:19] <Colin[pi]> lol I like that, "in open source you love a product in spite of it's faults... but you really hope someone submits a patch"
48: [00:14:48] <Stomach> lol waterfail :D
49: [00:15:20] <Colin[pi]> good talk UncleCheese_, I'm kinda pumped now about you being in charge of SS education
50: [00:15:26] <UncleCheese_> :D
51: [00:15:27] <UncleCheese_> thanks, dude
52: [00:15:43] <simon_w> Heater was set to 19 degrees, with the sensor in the coldest room of the house
53: [00:15:45] <simon_w> bleugh
54: [00:16:13] <antmas> UncleCheese_: Yeah I agree with Colin[pi] , you seem pretty passionate about it which helps a lot
55: [00:16:24] <UncleCheese_> awesome, guys. thanks
56: [00:16:27] <Colin[pi]> ^ mm this,
57: [00:16:40] <Colin[pi]> SS desperately needs someone in this role that has this amount of passion
58: [00:16:55] <ss23> guis please I'M NOT LOSING MY JOB
59: [00:16:58] <ss23> I AM NOT DOCS
60: [00:16:59] <ss23> ;__;
61: [00:17:12] <simon_w> ss23, well, not now that you've lost your job
62: [00:17:19] <ss23> :(
63: [00:17:29] <antmas> lol
64: [00:19:18] <Colin[pi]> UncleCheese_: to go to NZ, was that something you planned a long time ago or it just kinda happened?
65: [00:19:26] <UncleCheese_> umm
66: [00:19:35] * simon_w|air has joined #silverstripe
67: [00:19:44] <UncleCheese_> we first talked about it in 2010 after i met sig in Chigcago
68: [00:19:56] <UncleCheese_> and it just wasn't the right time..
69: [00:20:11] <UncleCheese_> but after we had our kid we were thinking of what the next phase of our life was going to be
70: [00:20:15] <Colin[pi]> ah k, so you had the idea but had to wait til the moment was right
71: [00:20:20] <UncleCheese_> and one day i was just like, well, we could always move to new zealand
72: [00:20:25] <UncleCheese_> and my wife was just like, hmm… ok
73: [00:20:31] <worstcase> hope you didn't move to wellington
74: [00:20:46] <UncleCheese_> so i hit up my contacts at SS.. they didn't have anything, but heyday did, so here i am
75: [00:20:54] <Colin[pi]> how is she now, does she like it there?
76: [00:21:07] <UncleCheese_> more than i do, actually
77: [00:21:11] <UncleCheese_> not that i don't like it
78: [00:21:11] <Colin[pi]> heh
79: [00:21:17] <UncleCheese_> but she's met a lot of great friends
80: [00:21:33] <UncleCheese_> i think i'll like this whole phase of my life more at my new gig
81: [00:21:59] <simon_w|air> UncleCheese_, can I suggest starting with making the tutorials not shit?
82: [00:22:00] <UncleCheese_> it's weird, because all along, the fear was that there was a lot for me here, but not for my wife
83: [00:22:00] <Colin[pi]> UncleCheese_: can't be easy to change basically everything in your life :o
84: [00:22:13] <UncleCheese_> and it's actually turned out to be the opposite
85: [00:22:25] <UncleCheese_> but i think working at SS will be more like.. my tribe, i guess
86: [00:22:35] <Colin[pi]> UncleCheese_: mm, a lot of unknowns
87: [00:22:39] <UncleCheese_> and i'm really excited to take a time out from dev
88: [00:22:47] <Colin[pi]> UncleCheese_: but working with SS I guess for you will fit like a glove
89: [00:22:53] <UncleCheese_> i have a real passion for product development, and i've been looking for ways to follow that passion
90: [00:22:57] <UncleCheese_> and this kind of landed in my lap
91: [00:23:02] <Colin[pi]> nice
92: [00:23:07] <UncleCheese_> yeah, i really think i'm going to like it
93: [00:23:22] <UncleCheese_> i wouldn't have chnaged jobs if it were a dev role
94: [00:23:25] <UncleCheese_> i don't like to take steps sideways
95: [00:23:46] <Colin[pi]> as are we, it seems! we give ss23 shit about docs but we're just joking, but we all know that SS desperately needs to improve this sorta stuff
96: [00:23:47] <Kingy> thanks ss23 :)
97: [00:23:58] <ss23> ^.^
98: [00:24:08] <ss23> Colin[pi]: Be the change you wish to see in the docs
99: [00:24:13] <Colin[pi]> lol
100: [00:24:56] <Kingy> ss23: I think you might need to whitelist IPs for deploy?
101: [00:25:15] <terryapodaca> simon_w: downloaded 3.1.5 and still have the same issue you had in your original issue #777
102: [00:25:22] <ss23> oh, yes, that may be the case :O
103: [00:26:08] <ss23> Kingy: Oh I mean, uh uh, WHAT DO YOU MEAN? :D
104: [00:26:09] <ss23> Try again
105: [00:26:27] <Kingy> nope :P
106: [00:26:40] <ss23> :O
107: [00:26:53] <ss23> I swear, if I've misspelled allow again
108: [00:27:11] <Kingy> haha I was just going to say allow now alow :P
109: [00:27:30] <ss23> hmmmmmm
110: [00:27:31] <ss23> should work
111: [00:27:37] <ss23> Kingy: Sure it doesn't work, even if you clear cache?
112: [00:27:51] <Kingy> yay it does now
113: [00:27:59] <ss23> :D
114: [00:28:13] <Kingy> ty ty
115: [00:28:38] <Kingy> also I've just sent through access for the assets
116: [00:28:48] <Kingy> access requests
117: [00:29:41] <ss23> hmm
118: [00:29:47] <ss23> I thought Google Drive gave access right off the bat
119: [00:30:44] <Colin[pi]> Google Y U change the order of your nav links in the header? it's so fucking annoying
120: [00:31:00] <Kingy> 2GB nice lol
121: [00:31:01] <ss23> More annoying was the removal of the buttons from the top to make you click on that other stuff first now
122: [00:31:04] <ss23> :P
123: [00:31:05] <ss23> and .xz!
124: [00:31:33] <Kingy> right time for the gym I think haha
125: [00:31:39] <Colin[pi]> they're trying to be helpful by saying "well we have a lot of cat pics, so images is 2nd on a search for cats, but 5th on something else"
126: [00:31:50] <Colin[pi]> shouldn't make the user hunt for a link
127: [00:31:56] <Colin[pi]> stick to convention
128: [00:34:29] <ss23> lol Colin[pi]
129: [00:34:43] <Colin[pi]> this is web 101!
130: [00:35:06] <ss23> Google!
131: [00:35:07] <Colin[pi]> imagine if the nav bar for a site randomises on each refresh, dafuq?
132: [00:35:09] <ss23> Redefining Web.
133: [00:36:02] <Colin[pi]> is there a module for SS that will search within PDF assets?
134: [00:37:02] <simon_w|air> Google?
135: [00:37:17] <Colin[pi]> :P
136: [00:38:13] <ss23> p
137: [00:38:22] <ss23> Colin[pi]: solr does it
138: [00:38:25] <ss23> You needa configure it to though
139: [00:38:30] <ss23> lucene/sphinx can do it too iirc
140: [00:38:39] <Colin[pi]> mm I saw about lucene
141: [00:40:22] * UncleCheese_ quit (Quit: UncleCheese_)
142: [00:40:25] <DesignerX> Hi, at what point does HTMLArea look for a ShortcodeParser ? i'm digging through the code to try & understand how it works ..
143: [00:41:47] * Selay has joined #silverstripe
144: [00:42:44] <Selay> Hi guys, I am a question about user roles. I allow content author to access a section (model admin) but that user doesnt see records there. Is there a way to allow everyone to see records not matter what roles they have?
145: [00:42:50] <antmas> oh cool
146: [00:42:57] <antmas> got a new webcam and a mic
147: [00:47:22] <Stomach> Selay - you can add canCreate/canEdit/canView/canDelete to the data object that you are managing and return true for all of them
148: [00:50:16] <Selay> I added but but didnt work.
149: [00:50:28] <Selay> public function canCreate($member = null) {return true;} public function canEdit($member = null) {return true;} public function canDelete($member = null) {return true;}
150: [00:51:37] <Stomach> that should work :\
151: [00:52:59] <Selay> can access model admin but can't see records created by another group. Only sees records created by himself.
152: [00:54:19] * novaweb has joined #silverstripe
153: [00:54:33] <novaweb> Gents - what replaces Director::urlParam() in 3.0?
154: [00:54:43] <Stomach> $this->request->param
155: [00:54:56] * jedateach has joined #silverstripe
156: [00:55:09] <novaweb> thank you Stomach
157: [00:58:53] <Colin[pi]> guis, I want to define some statics of a class from siteconfig fields (added via extension), where is the best place to put the code that defines the statics?
158: [00:59:04] <Colin[pi]> (these are usually defined in _config.php, but I want to override that)
159: [00:59:35] <Colin[pi]> I don't want to modify the class with the statics
160: [01:00:38] <ss23> Maybe a strech, but a client is asking about a "Hide my visit" page similar to http://rpe.co.nz/hide-my-visit/ or https://womensrefuge.org.nz/WR/Legal/Internet-Safety -- does anyone know of a really good up to date one? Those are okay bases, but don't cover everything and aren't pretty etc
161: [01:05:37] <Colin[pi]> is there an event triggered after add_extension() ?
162: [01:06:01] <antmas> ss23: do you just mean a page that provides info on how to be annon on the net?
163: [01:06:23] <ss23> antmas: Not exactly, I mean a pagel ike those -- that is, like, for that target
164: [01:06:34] <ss23> I don't want some OTT technical BS, it needs to be the kind of page you would put on rpe/womensrefuge sites
165: [01:08:18] <antmas> ss23: hmmm, then I'd imagine there are only OTT solutions
166: [01:08:26] <ss23> No, you misunderstnad
167: [01:08:32] <ss23> The RPE/womensrefuge sites are fine
168: [01:08:44] <ss23> They just don't include stuff for Chrome etc, they're a little bit outdated, not pretty
169: [01:08:49] <ss23> I want something juist like that, but nicer
170: [01:11:05] * DesignerX quit (Ping timeout: 264 seconds)
171: [01:13:09] * shellbackpacific has joined #silverstripe
172: [01:13:17] * shellbackpacific has left #silverstripe
173: [01:14:14] * UncleCheese_ has joined #silverstripe
174: [01:17:17] <Colin[pi]> k got it working, thanks ;P
175: [01:18:58] <ss23> Yay, ss23 helped Colin[pi] get it working!
176: [01:19:21] <Colin[pi]> you did?
177: [01:19:40] <ss23> Sure
178: [01:19:42] <ss23> Moral suport ^.^
179: [01:19:45] <Colin[pi]> ;P
180: [01:27:35] <Giganaire> I am regretting that lunch already
181: [01:27:48] <Colin[pi]> Giganaire: what was it?
182: [01:28:38] <Giganaire> it tasted ok, but my stomach is churning and croaking
183: [01:28:46] <Giganaire> http://www.menumania.co.nz/restaurants/kiwi-country-fast-food
184: [01:30:01] <Colin[pi]> :\
185: [01:30:58] <Kingy> wow police chase in Masterton
186: [01:31:18] * an_Eskimo quit (Ping timeout: 240 seconds)
187: [01:31:25] <ss23> In Masterton, I have to imagine the "police chase" is more docile thano ther places
188: [01:31:45] <antmas> ss23: yeah so having that rape page up on my browser during a meeting was awesome
189: [01:31:53] <Colin[pi]> ss23: brrrng BRRRNG brrrng BRRRNG *bicycles scoot past*
190: [01:31:59] <ss23> antmas: Why/why not?
191: [01:32:02] <ss23> Colin[pi]: XD
192: [01:32:04] <ss23> ExacltY!
193: [01:32:15] <Colin[pi]> antmas: dafuq?
194: [01:32:24] <antmas> ss23: lol someone just pointed out 'aahhhhh, so rape prevention aye'?
195: [01:32:33] <ss23> XD
196: [01:32:39] <Colin[pi]> what the fuck
197: [01:32:40] <Kingy> ss23: Well yeah but it involved 3 police cars and some crazies turning from the right lane into the right lane. The dickhead had basically burnt out his clutch by the smell of it so I couldn't see him going much further
198: [01:32:41] <Colin[pi]> lol
199: [01:32:41] <antmas> got some laughs and I went red like a bettroot
200: [01:32:50] <ss23> lol Kingy
201: [01:32:52] <ss23> antmas: XD
202: [01:32:57] <ss23> antmas: At least you could tell the truth!
203: [01:33:04] <ss23> "I'm trying to research people not knowing what I visit online!"
204: [01:33:04] <Colin[pi]> antmas: poor guy, that'd be something to happen to me also
205: [01:33:09] <novaweb> Peeps: Migrating from 3.0 to 3.1 and there are all sorts of strange encoded characters in the content. Database encoding has not changed through...?
206: [01:33:17] <novaweb> *though
207: [01:33:24] <Kingy> antmas: Rape prevention is probably better than a lot of other stuff though :P
208: [01:33:34] <Colin[pi]> Kingy: lol yeeeah could have been worse
209: [01:33:41] <antmas> ss23: Colin[pi] yeah it was fine it's just that inevitable first glance of 'rape' on a browser page makes people think...
210: [01:33:51] <Colin[pi]> antmas: fuck :(
211: [01:33:56] <ss23> mmm :P
212: [01:33:58] * novaweb quit (Quit: novaweb)
213: [01:34:08] <Colin[pi]> antmas: and doesn't really matter if you try and explain, it still makes you feel bad
214: [01:34:11] <antmas> Its not for me! It's for someone else!
215: [01:34:15] <antmas> lol yeah Colin[pi]
216: [01:34:17] <Colin[pi]> ^ this
217: [01:34:22] <Colin[pi]> "asking for a friend"
218: [01:34:23] <Colin[pi]> lol
219: [01:34:25] <ss23> ;_;
220: [01:34:34] <ss23> YOU GUYS ARE STIGMATIZING PEOPLE TRYING TO FIND RESOURCES TO PREVENT RAPE
221: [01:34:35] * ss23 glares
222: [01:34:46] <ss23> It's a rape *prevention* site guys, don't be all anti it :(
223: [01:34:52] <antmas> ss23: you know what I mean :)
224: [01:34:59] * spronk glares at widgets module
225: [01:35:08] <ss23> Yeah, but still :(
226: [01:35:11] * antmas glares at spronk
227: [01:35:19] <ss23> I'm using subsites for this client
228: [01:35:20] <ss23> Good idea y/N?
229: [01:35:37] <simon_w|air> Ooh, ss23 can became the subsites guy!
230: [01:35:44] <simon_w|air> ss23, does it work in 3.1.5 yet? :p
231: [01:35:46] <ss23> Well I could use translatable instead
232: [01:35:50] <ss23> simon_w|air: This site is 3.0!
233: [01:35:50] <ss23> :D
234: [01:36:07] <spronk> widget module puts its own title in an <h3> before my widget..
235: [01:36:08] * spronk does not want this
236: [01:36:11] <spronk> HOW R STOP!?
237: [01:36:23] <antmas> spronk: javascript!
238: [01:36:38] <spronk> NUUUUUUUUUUUUUUU
239: [01:36:41] <Colin[pi]> spronk: I customised it on my own sites with a HideTitle attribute
240: [01:36:42] <simon_w|air> spronk, there's a WidgetController.ss or something you can override
241: [01:36:43] * antmas knows web best practise is to use javascript always
242: [01:36:44] <ss23> fprl ot. s!
243: [01:36:47] <ss23> fork it, spronk!
244: [01:36:48] <spronk> i don't really want to override WidgetHolder.ss
245: [01:36:55] <spronk> but i guess i will.
246: [01:37:01] <simon_w|air> Ah, WidgetHolder. That's what it is.
247: [01:37:44] <Colin[pi]> I have to write a pinterest module :( I can feel the bewbs growing as I type
248: [01:38:10] <spronk> you'll have to ditch your training bra soon
249: [01:38:20] <antmas> Colin[pi]: really? like a page to show things the site owner has pinned?
250: [01:38:22] <Colin[pi]> let them freeeeeee!
251: [01:38:33] <Colin[pi]> antmas: well they want a pin-it button first
252: [01:38:35] * novaweb has joined #silverstripe
253: [01:38:37] <simon_w|air> Colin[pi], careful, you might end up looking like ss23
254: [01:39:08] <simon_w|air> Laptop switch!
255: [01:39:09] * simon_w|air quit (Quit: This computer has gone to sleep)
256: [01:40:07] <ss23> Looking pretty!
257: [01:40:43] <antmas> Colin[pi]: you could probably just use an embedded version, there should one out there
258: [01:41:12] <Colin[pi]> antmas: I have a social buttons module which has plugins for fb, linkedin, twitter etc.
259: [01:41:30] <Colin[pi]> antmas: I write a plugin which adds config for the button, ability to change order etc. into siteconfig
260: [01:41:39] <antmas> Colin[pi]: ah ok
261: [01:41:48] <Colin[pi]> client can turn on and off etc.
262: [01:42:07] <spronk> hmm
263: [01:42:13] <spronk> do widgets have an init()?
264: [01:42:18] <antmas> Colin[pi]: you have that on git at all?
265: [01:42:36] <Colin[pi]> antmas: no :( I desperately need to get all my stuff up there
266: [01:42:48] <antmas> Colin[pi]: yeah would be good
267: [01:42:58] <Colin[pi]> antmas: I've decided that in the coming months I'm (finally) going to start porting to SS3
268: [01:43:01] <antmas> Colin[pi]: it seems like you do a lot of similar work to me, so I could help out
269: [01:43:01] <spronk> i.e. so i can Requirements:: some CSS and JS
270: [01:43:39] <Colin[pi]> antmas: mm would be good; I'm going to be doing a lot of customisation to SS3 in the next few months, and will be githubbing as I go
271: [01:44:22] <antmas> Colin[pi]: nice
272: [01:44:44] <Colin[pi]> antmas: going to be painful at first but I need to bite the bullet and switch
273: [01:44:52] <antmas> right, off to get teh foodz
274: [01:44:59] <Colin[pi]> cyas
275: [01:48:37] <spronk> hmm
276: [01:48:41] <spronk> how the hell can i do this
277: [01:49:08] <Colin[pi]> spronk: my widgets are pulling in Requirements via a method called in the template
278: [01:49:13] <spronk> yeah
279: [01:49:15] <spronk> $Dependencies
280: [01:49:17] <spronk> seems a bit ugly
281: [01:49:46] <Colin[pi]> like my twitter timeline widget has a Timeline() function that has the requirements calls in it
282: [01:49:53] <Colin[pi]> kinda a bit messy :\
283: [01:50:38] <spronk> mm
284: [01:50:55] <spronk> requirements are hard.
285: [01:51:28] <Colin[pi]> in sitetree objects it's pretty straightforward, just everywhere else it kinda gets shitty
286: [01:51:37] <spronk> well
287: [01:51:39] <spronk> yeah
288: [01:51:53] <spronk> i dont really like sticking Requirements::javascript($themedir.'/javascript/jquery-ui/jquery-ui-1.10.4.custom.min.js'); that in my code
289: [01:52:02] <spronk> i'd rather have these injected somehow
290: [01:52:13] <spronk> Requirements::javascript(JQUERY_UI)
291: [01:52:33] <spronk> and some config file that defines JQUERY_UI -> themedir/.../.../...js
292: [01:52:47] <Colin[pi]> you could do that, couldn't you?
293: [01:52:48] <Colin[pi]> or no?
294: [01:52:59] <spronk> probably could
295: [01:53:09] <spronk> ThemeDir() might be problematic
296: [01:53:14] <Colin[pi]> mm
297: [01:53:35] <spronk> aww
298: [01:53:39] <spronk> it doesn't want to include my js
299: [01:54:23] <spronk> oh, no, it just wants to include it above jquery
300: [01:54:24] <spronk> FFSSSS
301: [01:55:04] <Colin[pi]> huh? it's including the ui before the main library?
302: [01:55:14] <spronk> Requirements with some sort of naming, injection, and dependency handling would be nice. Requirements::javascript('jquery-ui', 'jquery')
303: [01:55:27] <spronk> Colin[pi]: jquery gets included elsewhere
304: [01:55:30] * UncleCheese_ quit (Quit: UncleCheese_)
305: [01:55:31] <spronk> jqui included in this widget file
306: [01:55:36] <spronk> can't set order..
307: [01:55:51] <Colin[pi]> mm the widget is being loaded before the jquery requirement?
308: [01:56:04] <spronk> must be :(
309: [01:56:08] <Colin[pi]> weaksauce
310: [01:56:31] <spronk> ah
311: [01:56:41] <spronk> the jq requires are in a template
312: [01:56:42] <spronk> hmmm
313: [01:57:05] <Colin[pi]> :\
314: [02:00:38] <spronk> ugh
315: [02:00:53] <spronk> i dont think i'm going to be able to do this, because whatever i do the widget require happens first
316: [02:01:17] <Colin[pi]> spronk: can you move the jq requires from the template to the controller init() ?
317: [02:02:04] <spronk> hmm
318: [02:02:07] <Ryan-Toast> Just winked at a client. What the fuck was I thinking?
319: [02:02:16] <spronk> isn't it recommended to use tempalte require tags?
320: [02:02:17] <spronk> i dont know..
321: [02:02:44] <Kingy> kwcm92fs
322: [02:02:55] <spronk> heyhey, we just got Kingy's password
323: [02:03:03] <Stomach> booyah!
324: [02:03:03] <Kingy> yeah its pretty useless
325: [02:03:15] <spronk> ss23: go go go!
326: [02:03:26] * terryapodaca quit (Quit: Leaving.)
327: [02:04:05] * DesignerX has joined #silverstripe
328: [02:04:14] * UncleCheese has joined #silverstripe
329: [02:08:23] <UncleCheese> umm.. AMD, hello
330: [02:09:23] <spronk> blehhh
331: [02:09:56] <UncleCheese> My son just woke up from his nap asking for Peppa Pig and WeetBix. I believe according to NZ that makes him a citizen.
332: [02:10:01] <Stomach> A
333: [02:10:12] <Stomach> MD? - asynchronous module definition?
334: [02:10:20] <UncleCheese> yeah
335: [02:10:27] <UncleCheese> no more bullshit!
336: [02:10:27] <Ryan-Toast> UncleCheese: +1
337: [02:10:31] <Kingy> Don't know about Peppa Pig, but the WeetBix for sure
338: [02:10:33] <spronk> AMD is a bit yuck
339: [02:10:41] <UncleCheese> commonJS then
340: [02:10:42] <UncleCheese> something
341: [02:10:44] <Stomach> yus!
342: [02:10:45] <UncleCheese> not Requirements
343: [02:10:50] <spronk> well
344: [02:10:56] <Stomach> you know my feelings about requirements
345: [02:10:59] <spronk> there's CSS in there too..
346: [02:10:59] <Stomach> :puke:
347: [02:11:01] <UncleCheese> no, Stomach
348: [02:11:06] <UncleCheese> please tell us
349: [02:11:23] <UncleCheese> Requirements::fuck_my_code()
350: [02:11:23] <Stomach> having a controller be in charge of what your view recieves is retarded
351: [02:11:27] <Stomach> it makes no sense
352: [02:11:29] <Stomach> none.
353: [02:11:45] <UncleCheese> that's why i named my blog LeftAndMain
354: [02:11:45] <spronk> though your view doesn't receive it
355: [02:12:01] <UncleCheese> SS is so adherent to MVC, but having a controller named LeftAndMain just flies in the face of MVC
356: [02:12:08] <UncleCheese> the name of the thing describes the layout of the view?!
357: [02:12:21] <Stomach> yeah, the view doesn't recieve it - but it shouldnt either, your view should be in charge of your view
358: [02:12:28] <spronk> hmm
359: [02:12:37] <spronk> but i don't think the view should know aaaaanything about its CSS
360: [02:12:45] <spronk> or even, auxiliary javascript that enhances it
361: [02:13:06] <Stomach> or even base javascript that it needs to run
362: [02:14:00] <spronk> yeh..
363: [02:14:10] <spronk> imo the controller is much more suited to know about that
364: [02:14:21] <Stomach> but what happens when you change the view
365: [02:14:38] <Stomach> view should be totally independant imho, otherwise you cannot swap it out
366: [02:14:42] <spronk> well this is where the coupling between view and javascript/css comes into play
367: [02:14:55] <spronk> i usually treat my HTML / CSS like an API boundary
368: [02:15:21] <spronk> so it doens't really matter if one changes, but those changes have to be defined in terms of the old stuff
369: [02:15:32] <spronk> js is a bit more complex
370: [02:15:49] <Ryan-Toast> spronk: +1 for decoupling css/js from views
371: [02:16:09] <spronk> its much cleaner doing client-side js apps that consume APIs, really
372: [02:19:32] <DesignerX> I'm stuch with ShortCodes ! accordting to docs ,I should use this : ShortcodeParser::get('default')->register('my_shortcode', <callback>);
373: [02:19:48] <spronk> i haven't really found a nice way to bundle up css + js + view as a bundlable thing though
374: [02:20:17] <DesignerX> but in CMS config, the callback is an array of "ClassName"=>"FuncName" .. is that correct ?
375: [02:20:45] <Stomach> ShortcodeParser::get()->register('generalinformation', array('ShortCodes','GeneralInformation'));
376: [02:20:58] <Stomach> ShortCodes is the classname which holds my shortcode code
377: [02:21:05] <Stomach> and GeneralInformation is the function
378: [02:21:09] <Stomach> so yes :D
379: [02:22:04] <DesignerX> so when I register a shortcode, it should be available on TinyMCS everywhere or just on pages ?
380: [02:22:17] <Stomach> everywhere I believe
381: [02:22:30] <DesignerX> I'm having a problem, MyDataObject has a HTMLArea field & shortcodes not working in it
382: [02:22:56] <simon_w> DesignerX, saving into a HTMLText?
383: [02:23:06] <DesignerX> http://sydneybestservices.com.au/
384: [02:23:08] <DesignerX> yes
385: [02:23:18] <simon_w> DesignerX, and how are you using it in the templates?
386: [02:23:39] <DesignerX> just calling the $FieldName
387: [02:24:00] * novaweb quit (Quit: novaweb)
388: [02:24:39] <simon_w> DesignerX, I'm not seeing any failed short codes on that page
389: [02:25:30] <ss23> 14:03:16 < spronk> ss23: go go go!
390: [02:25:36] <ss23> I WENT WENT WENT to eat fresh braead
391: [02:25:37] <ss23> ^.^
392: [02:26:03] <antmas> I went went went to the cafe across the road and had the world's worst chicken snitzel
393: [02:26:06] <antmas> ;_____;
394: [02:26:19] <ss23> hahahaha
395: [02:26:23] <DesignerX> simon_w: my bad, its this domain, bottom right http://meshcrete.com.au/
396: [02:26:42] <DesignerX> unser request a quote , the "contact us" link doesnt work
397: [02:26:45] <DesignerX> under *
398: [02:27:39] <Ryan-Toast> DesignerX: what a beautiful website
399: [02:28:20] * antmas agress with Ryan-Toast
400: [02:28:22] <antmas> STUNNING
401: [02:28:29] * antmas swoons
402: [02:28:44] <DesignerX> Not my design
403: [02:28:51] <DesignerX> well 50 50
404: [02:29:24] * an_Eskimo has joined #silverstripe
405: [02:29:26] <DesignerX> the client pciked a template online.. which used TABELS ! so I had to re-work the full theme
406: [02:29:37] <Ryan-Toast> DesignerX: I would put my name in an h1 tag in the footer if I was the designer.
407: [02:29:42] <ss23> mmm, luke warm coke...
408: [02:29:45] <antmas> DesignerX: don't be a table hater now
409: [02:29:49] <simon_w> DesignerX, you're not doing anything extra with that field, like you don't have a FieldName() method on the Controller or model?
410: [02:30:32] <DesignerX> Ryan-Toast: the website is also done for another agency, but a good tip ty .
411: [02:30:35] <antmas> that favicon is totes amaze
412: [02:31:18] <DesignerX> simon_w: it shount be, will double check
413: [02:31:22] <Ryan-Toast> This is my favorite favicon: http://sass.fffunction.co/
414: [02:32:10] <Ryan-Toast> DesignerX: We all have to do shit like that every now and again.
415: [02:33:18] <DesignerX> Ryan-Toast: for me it kinda better when it comes to small-mid websites. He deals with the clients mess & I just quote him.
416: [02:33:31] <Ryan-Toast> DesignerX: Good plan
417: [02:33:56] <Ryan-Toast> My job would be great if I never had to talk to clients.
418: [02:33:59] <antmas> omg
419: [02:34:01] <Ryan-Toast> Or do timesheets.
420: [02:34:03] * novaweb has joined #silverstripe
421: [02:34:08] <Stomach> I love talking to clients and making up timesheets
422: [02:34:08] <antmas> just got a memo about biscuits
423: [02:34:52] <Ryan-Toast> antmas: 3pm is biscuit time, man. No sooner.
424: [02:34:57] <DesignerX> simon_w: The template used a custom method to return the $Content , once I just used "$Content" instead of the $functionName it worked!
425: [02:35:28] <simon_w> DesignerX, guessed as much. For things like that, you want to add in a private static $casting = array('FunctionName' => 'HTMLText')
426: [02:35:36] <simon_w> (Or it gets treated as a Text)
427: [02:36:32] <DesignerX> simon_w: does that require a ?flush or /div/build ?
428: [02:36:44] <simon_w> DesignerX, adding the casting needs a flush
429: [02:37:16] <DesignerX> simon_w: PERFECT . ty
430: [02:44:39] * ezero quit (Quit: Leaving)
431: [02:47:47] <Colin[pi]> Ryan-Toast: "woah, where's this beautiful website??!" *click* ".... Oh."
432: [02:48:10] <Ryan-Toast> Colin[pi]: :P
433: [02:49:30] <antmas> man
434: [02:49:34] <antmas> this error is so lame
435: [02:49:49] <antmas> www.airnewzealand.co.nz throws a script error for some people
436: [02:49:58] <ss23> you guys do airnz?
437: [02:50:00] <antmas> 'airnz.js cannot be found
438: [02:50:15] <antmas> ss23: lol no, I've just been asked to investigate why it happens for some users
439: [02:50:15] <ss23> works for me
440: [02:50:15] <ss23> o/
441: [02:50:25] <ss23> I vote your crappy intranet :D
442: [02:50:34] <antmas> :P
443: [02:50:45] <antmas> I vote it's our neckbeards messing with IE settings
444: [02:51:08] <Ryan-Toast> XMEN TOMORROW, AWWWW YISS
445: [02:51:17] <DesignerX> how do you guys submit websites to SearchEngines ? so you some kind of service or software ?
446: [02:51:40] <Ryan-Toast> DesignerX: webmaster tools.
447: [02:51:46] <Kingy> ^
448: [02:51:46] <antmas> ^^ this
449: [02:51:48] <simon_w> DesignerX, add the site map to webmaster tools
450: [02:51:57] <antmas> pretty straightforward
451: [02:52:25] <DesignerX> do you just do it with google or submit to the others (yahoo/bing)
452: [02:53:37] <antmas> DesignerX: there are others?
453: [02:54:11] <DesignerX> Ryan-Toast: a similar website which I designed from scratch (he provided the logo) northshoretreeloppers.com.au
454: [02:55:00] <antmas> DesignerX: GRADIENT
455: [02:56:17] <DesignerX> antmas: you mean for the background ?
456: [02:56:44] <antmas> DesignerX: I can't stand gradients
457: [02:56:54] <antmas> DesignerX: but yes
458: [02:57:44] <DesignerX> :) that's a budget design .. anything better would cost more
459: [02:57:54] * novaweb quit (Quit: novaweb)
460: [02:59:06] <DesignerX> antmas: this should be better, still in development with a theme from scratch http://electrotechplus.com.au/
461: [02:59:07] <simon_w> Whoa, nano got updated
462: [02:59:15] <ss23> lol
463: [02:59:18] <ss23> that doesn't happen often!
464: [03:00:08] <Ryan-Toast> DesignerX: your website isn’t working, man
465: [03:00:36] <Stomach> the nano homepage hasn't been updated for almost 5 years :D
466: [03:00:49] <simon_w> ss23, looks like it was because it was an upstream release!
467: [03:01:07] <simon_w> Oh, that was 2010
468: [03:01:21] <simon_w> The 2013 one: "Ensure config.{sub,guess} are uptodate"
469: [03:01:33] <simon_w> (only been recently pushed to jessie from sid)
470: [03:01:40] <UncleCheese> antmas: i wrote them about that bug a few months ago and they fixed it
471: [03:01:40] <ss23> It's perfect!
472: [03:01:41] <ss23> :D
473: [03:02:07] <DesignerX> Ryan-Toast: u mean http://designerx.com.au/ I know, it's still in ss2.4 & faild when I did some server updates. It's time to get the new website designed.
474: [03:02:53] <Ryan-Toast> DesignerX: You can use https://github.com/Rhym/ss_boilerplate to get something up quickly if you want.
475: [03:04:01] * micmania1 has joined #silverstripe
476: [03:04:08] <Ryan-Toast> I built my site with it http://ryanpotter.co.nz/
477: [03:04:52] <Kingy> "Creating majestic code since ages ago". Nice
478: [03:05:20] * novaweb has joined #silverstripe
479: [03:06:24] <DesignerX> Ryan-Toast: ty, that looks good. will test it soon
480: [03:06:46] <Ryan-Toast> Kingy: :P
481: [03:08:18] * micmania1 quit (Ping timeout: 240 seconds)
482: [03:08:48] <DesignerX> Ryan-Toast: just about 10 days ago, I downloaded bootstrap & was planning to do the same thing, a MasterBootstraptheme , now this will save me alot of time :)
483: [03:09:31] <Ryan-Toast> DesignerX: so much http://i.imgur.com/xgvfHY1.png
484: [03:10:46] * simon_w|air has joined #silverstripe
485: [03:14:47] * novaweb quit (Quit: novaweb)
486: [03:15:41] <Ryan-Toast> Great website for pre-launch if you’re designing something btw: http://www.criticue.com/
487: [03:22:19] <spronk> bleh. nested grid systems are horrible
488: [03:22:45] <Ryan-Toast> spronk: Depends
489: [03:23:04] * babak has joined #silverstripe
490: [03:26:44] <Colin[pi]> dammit my fixed code breaks during dev/build >_<
491: [03:27:36] <Kingy> yay 2.4GB downloaded. Thanks ss23 :P
492: [03:27:41] <ss23> ^.^
493: [03:28:20] <Kingy> wow there are a lot of files... what are these people doing lol
494: [03:31:40] <ss23> 2.4gb worth of files!
495: [03:31:49] <ss23> Woudln't be surprsied if it's like 4 years of files that have never been deleted :P
496: [03:33:44] <Kingy> yeah
497: [03:33:48] <Kingy> should talk to them about that
498: [03:36:42] <antmas> UncleCheese: hmmm? who? bug?
499: [03:36:48] <UncleCheese> airnz
500: [03:36:57] <antmas> UncleCheese: oh right
501: [03:37:07] <antmas> UncleCheese: this is locally related though... I think
502: [03:37:20] <Stomach> just cache then?
503: [03:37:37] <antmas> I don't know
504: [03:37:42] <Stomach> step 1) goto the petrol station, step 2) get petrol, step 3) burn it down
505: [03:37:44] <Stomach> problem solved
506: [03:37:51] <antmas> I can login to the same computer and use the same browser and view it fine
507: [03:47:18] * Selay quit (Ping timeout: 240 seconds)
508: [03:52:01] * cloph_away has joined #silverstripe
509: [03:52:24] * cloph quit (Ping timeout: 265 seconds)
510: [04:14:56] <unsignedint> hey does anyone know if theres a way to eager load a relation in SS?
511: [04:15:26] <Stomach> nope
512: [04:15:29] <unsignedint> I am creating a JSON API of sorts, and I have an "EntityGroup" which $has_many "Entity". I want to
513: [04:15:31] <unsignedint> nevermind then
514: [04:15:33] <unsignedint> haha
515: [04:16:08] <Stomach> https://github.com/silverstripe/silverstripe-framework/issues/1682
516: [04:17:26] <Stomach> theres a code snippet in there for augmentSQL which jeremy posted which might help :)
517: [04:18:30] <unsignedint> thanks
518: [04:21:18] * DesignerX quit (Ping timeout: 258 seconds)
519: [04:21:46] * DesignerX has joined #silverstripe
520: [04:38:15] <unsignedint> just found out SS doesnt support traits
521: [04:38:49] <unsignedint> I wonder how hard it would be to ditch the current manifest system and use a proper PSR-1 or PSR-4 autoloader like the one Composer provides
522: [04:38:51] <antmas> traits?
523: [04:38:59] <unsignedint> the PHP feature, Trait
524: [04:39:06] <unsignedint> the manifest builder doesnt pick them up
525: [04:39:13] <unsignedint> so you have to manually include() them
526: [04:39:17] <unsignedint> which is dumb
527: [04:39:22] <Colin[pi]> unsignedint: fix it!
528: [04:39:38] <unsignedint> cbf'd!
529: [04:39:56] <unsignedint> it wouldnt even be an issue if Silverstripe used a modern autoloader for everything
530: [04:40:00] <Stomach> it is fixed
531: [04:40:03] <Stomach> simonw fixed it
532: [04:40:04] <unsignedint> lies!
533: [04:40:08] <unsignedint> not in 3.1.5!
534: [04:40:13] <Stomach> https://git.simon.geek.nz/simon_w/trait-loader/tree/master
535: [04:40:31] <unsignedint> oh its an addon module
536: [04:40:46] <Stomach> ;)
537: [04:41:00] <unsignedint> should be in core!
538: [04:41:02] <unsignedint> but thanks
539: [04:41:08] <simon_w|air> unsignedint, also, SS does use a modern autoloader
540: [04:41:20] <unsignedint> yeah but not for everything?
541: [04:41:35] <ss23> Everyone knows that if it's not PSR, it's not "modern"
542: [04:41:37] <unsignedint> my definition of modern autoloader is the one that composer provides that doesnt require a flush to build a manifest file, and then load from that
543: [04:42:01] <simon_w|air> Then your definition of modern is screwed up
544: [04:42:04] <Stomach> just requires a composer update every time you add a static definition, that sounds _excellent_
545: [04:42:15] <ss23> lol
546: [04:42:20] <ss23> yeah, composer is a worser idea if you care about flush etc
547: [04:42:40] <unsignedint> dont get it
548: [04:42:49] <unsignedint> I dont get it*
549: [04:43:05] <Stomach> the composer autoloader is generated on a composer update - so there is still a "flush" happening
550: [04:43:14] <Stomach> you just dont notice it, because you dont add composer modules a lot
551: [04:43:23] <unsignedint> as long as your code is in a directory tracked by the autoloader, it will autoload it *without a composer update*
552: [04:43:31] <unsignedint> with SS, you have to flush everytime you add a class file
553: [04:43:33] <unsignedint> or a new file
554: [04:44:04] <Stomach> if you're adding files to a directory tracked by the autoloader then are you not ruining the point of dependency management? o_O
555: [04:44:05] <simon_w|air> unsignedint, it will fail if you have a case mismatch though
556: [04:44:12] <unsignedint> good, I want it to
557: [04:44:23] <simon_w|air> Also, it is a lot slower
558: [04:44:52] <unsignedint> Stomach: not in the slightest. im talking about autoloading my *own* classes. Like, the ones for my custom page types etc
559: [04:45:27] <simon_w|air> unsignedint, anyway, if you don't think a class map's a modern autoloader, you really need to rethink that
560: [04:45:31] <unsignedint> Im not talking about autoloading dependencies, which I am fine with flushing everytime I add a dependency
561: [04:46:17] <unsignedint> simon_w|air: I dont think silverstripes *approach* is modern, in that it doesnt automatically pick up new files in the directories its tracking without a flush
562: [04:46:41] <unsignedint> when other autoloaders do
563: [04:46:43] <simon_w|air> unsignedint, nor does composer's class map autoloader
564: [04:47:02] <unsignedint> its PSR one does though, and thats the one I use
565: [04:48:11] <simon_w|air> So, just because a classmap is different to PSR, it's not modern?
566: [04:48:39] <ss23> SUBMIT TO THE HEGEMONY
567: [04:50:20] <antmas> ss23: when you say Hegemony, how do you pronouce it? ' Heh Geh Moany'?
568: [04:50:30] <ss23> I have no diea dude :O
569: [04:50:34] <antmas> lol
570: [04:50:37] <ss23> "hedge moaney"
571: [04:50:43] <ss23> Lets find out, TO GOOGLE
572: [04:50:46] <antmas> I just saw it written and had to ask
573: [04:50:52] <ss23> same XD
574: [04:50:54] <ss23> books man!
575: [04:51:03] <ss23> he geh money
576: [04:51:16] <antmas> No all I can see is Hedge Money
577: [04:51:24] <ss23> hehehe
578: [04:51:25] <antmas> now*
579: [04:51:26] <ss23> XD
580: [04:51:33] <Stomach> https://www.youtube.com/watch?v=2RF0lcTuuYE
581: [04:51:36] <antmas> random questions!
582: [04:51:41] <ss23> wait
583: [04:51:43] <ss23> ....
584: [04:51:44] <Colin[pi]> heh GEH mony
585: [04:51:49] <ss23> This guy... he's asying it right
586: [04:51:51] <ss23> This isn't... but....
587: [04:51:58] <Stomach> yeah I know, its confusing as
588: [04:52:00] <antmas> that can't be right
589: [04:52:07] <antmas> Stomach: what have you done!
590: [04:52:09] <antmas> :P
591: [04:52:10] * aragonne has joined #silverstripe
592: [04:52:13] <ss23> https://www.youtube.com/watch?v=v-n1vGeVIXo
593: [04:52:16] <ss23> XD
594: [04:52:22] <ss23> It's the exact same layout of this guy!
595: [04:52:24] <ss23> That's why I was like "wut"
596: [04:52:26] <Stomach> thats the best one
597: [04:52:32] <antmas> :DDDDD
598: [04:52:34] <antmas> hahahahaah
599: [04:52:35] <Colin[pi]> ss23: XD LOOL
600: [04:52:37] <ss23> some poor bastard is going to get them mixed up
601: [04:52:39] <Stomach> signeydigneydodechodey
602: [04:52:52] <antmas> Stomach: I'm losing my shit
603: [04:52:57] <Colin[pi]> https://www.youtube.com/watch?v=pPoGI3J3_Qc
604: [04:53:01] <antmas> not sure why that is so funny
605: [04:53:18] <Stomach> https://www.youtube.com/watch?v=o1-ndsRPxbM
606: [04:53:32] <Colin[pi]> ROFL: https://www.youtube.com/watch?v=BZVBTtX92Nc
607: [04:53:41] <ss23> https://www.youtube.com/watch?v=lARbySKaWlQ
608: [04:53:49] <ss23> lol Colin[pi], yeah
609: [04:53:49] <antmas> OH GOD
610: [04:53:50] <ss23> A+
611: [04:53:52] <antmas> STAAAHP
612: [04:53:54] <antmas> too funny
613: [04:54:31] <antmas> I actually heard someone say Fax Piss once when trying to pronounce that
614: [04:54:41] <antmas> some chinese student
615: [04:55:12] <Ryan-Toast> mmm mI feel like a kid in a candy shop: http://fontello.com/
616: [04:55:27] <ss23> I'll take you to the candy shop
617: [04:55:29] <ss23> ;)
618: [04:55:55] <antmas> https://www.youtube.com/watch?v=kbYBlzOHxiE
619: [05:00:05] <antmas> Ryan-Toast: is there some guide on how to use icon fonts correctly? there are so many tuts that have different methods
620: [05:00:19] <Ryan-Toast> antmas: They’re all pretty much the same?
621: [05:00:33] <antmas> Ryan-Toast: so you have to use codes like '#4jsdk#4'
622: [05:00:35] <antmas> ?
623: [05:01:02] <Ryan-Toast> no?
624: [05:01:12] <antmas> I must be looking at the wrong thing... ;?
625: [05:01:17] <Ryan-Toast> must be :P
626: [05:01:23] <Stomach> Ryan-Toast - we use icomoon (http://icomoon.io)
627: [05:01:33] <Ryan-Toast> Stomach: Icomoon is great.
628: [05:01:41] <Ryan-Toast> Stomach: I’ve rtalked to their main dev before.
629: [05:02:06] <Stomach> :D
630: [05:02:17] <Stomach> https://www.npmjs.org/package/gulp-iconfont
631: [05:02:18] <Stomach> :D
632: [05:02:30] * nickmolhoek quit (Quit: nickmolhoek)
633: [05:02:40] <Stomach> does anyone here have a vagrant install setup for debian?
634: [05:04:00] <Stomach> its 5pm! later yall
635: [05:04:21] <ss23> lol
636: [05:04:25] <ss23> cyao!
637: [05:04:32] <Colin[pi]> cyas
638: [05:04:35] * jarrad has joined #silverstripe
639: [05:05:42] <antmas> I'm off too
640: [05:05:44] <antmas> laters!
641: [05:05:51] <Colin[pi]> BAI ANTMAS
642: [05:06:12] <antmas> Colin[pi]: BA CO CO!
643: [05:06:18] <Colin[pi]> :D
644: [05:08:36] <Colin[pi]> fuck I'm going to have to start using open graph tags
645: [05:08:48] * jarrad quit (Ping timeout: 240 seconds)
646: [05:08:52] <simon_w|air> At least it isn't SAML!
647: [05:09:09] <Colin[pi]> :o
648: [05:12:37] <Colin[pi]> hmm if I embed a script via "//domain.com/script.js" - what happens if I host via https?
649: [05:12:44] <Colin[pi]> does it load via http or https?
650: [05:14:49] <simon_w|air> https
651: [05:14:58] <Colin[pi]> ah so it'll do it automagically?
652: [05:16:24] <worstcase> you mean if you are serving on http but the script is on https eh
653: [05:16:32] <worstcase> why not put https in that case
654: [05:17:00] <Colin[pi]> yeah I can, but was curious if I use the "//" format what happens if I host via https
655: [05:17:07] <Colin[pi]> if it changes automatically, or defaults to http
656: [05:17:15] <worstcase> // is same origin i thought
657: [05:17:29] <worstcase> also, fire up fiddler and test it?
658: [05:17:33] <Colin[pi]> prolly is, that's what I wanted to confirm
659: [05:22:10] <Colin[pi]> simon_w|air: could I ask you a quick qn kind sir?
660: [05:22:51] <simon_w> I guess so
661: [05:23:07] <Colin[pi]> simon_w: what? you've changed computers! :o
662: [05:23:13] <simon_w> Yup!
663: [05:24:38] <Colin[pi]> simon_w: ok, back to my defining a static from siteconfig... I had an extension on Controller -> onAfterInit() to set the statics from SiteConfig, but.. it broke on /dev/build :(
664: [05:25:02] <simon_w> Broke how?
665: [05:25:26] <Colin[pi]> database error I believe
666: [05:25:49] <Colin[pi]> still can't really decide on the best place to put the code that pulls the values from SiteConfig and defines the statics :\
667: [05:26:55] <Colin[pi]> basically if the dev/build needs to modify SiteConfig, the onAfterInit throws an error
668: [05:26:56] * Kingy is now known as Kingy[a]
669: [05:27:03] <Colin[pi]> otherwise it's fine
670: [05:28:31] <simon_w> What error?
671: [05:29:07] <Colin[pi]> User Error] Couldn't run query: SELECT
672: [05:29:33] <simon_w> Are you trying to write to new fields in SiteConfig?
673: [05:29:37] <Colin[pi]> Unknown column 'SiteConfig.NewField' in 'field list'
674: [05:29:46] <simon_w> Or get them, I guess
675: [05:30:03] <Colin[pi]> yeah if I try and add a new field, it errors with this code in onAfterInit, as it's trying to access SiteConfig
676: [05:30:07] <simon_w> Well, the theme gets around this by just hooking into ContentController instead of Controller
677: [05:30:18] <Colin[pi]> mm, ok let me try that :D
678: [05:30:29] * Ryan-Toast quit (Quit: Ryan-Toast)
679: [05:30:56] <Colin[pi]> simon_w: FIXED
680: [05:30:58] <Colin[pi]> <3
681: [05:38:01] * Ryan-Toast has joined #silverstripe
682: [05:39:48] * UncleCheese quit (Quit: UncleCheese)
683: [05:55:14] <ss23> Hmm
684: [05:55:20] <ss23> For you guys who were coming down for WDCNZ
685: [05:55:22] <ss23> http://www.meetup.com/SilverStripe-Wellington-Meetup-Group/events/184292142/?a=ea1_grp&rv=ea1
686: [05:57:32] * Ryan-Toast quit (Quit: Ryan-Toast)
687: [05:59:22] * prij has joined #silverstripe
688: [05:59:32] <Colin[pi]> ss23: ffffffff why not friday? ;_;
689: [05:59:57] <ss23> idk :O
690: [06:00:05] <prij> hi guys - I need to create a report that lists all the currently logged in users, and for the life of me cannot figure out how to check if any given member is currently logged in? I have fuzzy brain from winter cold :(
691: [06:00:13] <prij> What would be the best way to do this?
692: [06:00:18] <Colin[pi]> ss23: I get in too late ;( but I'll be around on Friday
693: [06:00:30] <ss23> yep yep ^.^
694: [06:00:40] <ss23> prij: What counts as logged in? :P
695: [06:00:45] <ss23> Just active in last X minutes?
696: [06:00:50] <prij> Logged into the CMS
697: [06:00:58] <ss23> What does "logged into CMS" mean though?
698: [06:01:02] <ss23> I mean, we have the pings I guess
699: [06:01:04] <prij> the IT guy wants to know so he can tell them to log off if he's turning off servers or something like that
700: [06:01:04] <ss23> Can probably use that
701: [06:01:27] <prij> I think he just wants everything :\
702: [06:01:34] <prij> without good reason :\
703: [06:01:39] <ss23> lol
704: [06:01:53] <ss23> Nothing built in, and a hard problem to really define
705: [06:02:11] <prij> I thought as much
706: [06:02:24] <prij> at least I'm not going mad ;)
707: [06:02:44] * Shrike_Finland has joined #silverstripe
708: [06:05:19] * checkcheck has joined #silverstripe
709: [06:05:55] <checkcheck> Hey all - is there a way for me to include DataObjects as something to link to within content in thw WYSIWYG?
710: [06:08:33] <spronk> wow thats annoying
711: [06:08:44] <spronk> tinymce strips the itunes link builder links
712: [06:12:22] <Colin[pi]> spronk: tinymce strips a whole heap of stuff
713: [06:15:18] * jedateach quit (Quit: jedateach)
714: [06:19:45] * spronk has left #silverstripe
715: [06:21:48] * prij quit (Ping timeout: 240 seconds)
716: [06:27:48] * checkcheck quit (Ping timeout: 240 seconds)
717: [06:31:38] * Shrike_Finland quit (Quit: Leaving.)
718: [06:33:37] <simon_w|air> Well, that was a fun walk
719: [06:34:05] <Colin[pi]> where'd u go?
720: [06:34:11] <simon_w|air> Round Oakey
721: [06:36:39] <Colin[pi]> simon_w|air: should get out on a bike now you're a canberrian
722: [06:36:58] <simon_w|air> Need to buy one first. All the ones here are too small :p
723: [06:37:04] <simon_w|air> (Didn't ship mine)
724: [06:37:09] <Colin[pi]> OIC
725: [06:37:56] <Colin[pi]> just don't be one of the local a-holes that like to ride five abreast on the roads
726: [06:38:12] <simon_w|air> Bleugh
727: [06:38:18] <simon_w|air> I do know how to ride on the road :p
728: [06:38:23] <Colin[pi]> "I ARE PROFESUNAL RIDA, I NEED TO USE TEH ROAD MOFO"
729: [06:38:31] <simon_w|air> Also, five abreast wouldn't fit on most Wellington streets!
730: [06:38:37] <Colin[pi]> hehe
731: [06:38:48] * an_Eskimo quit (Ping timeout: 240 seconds)
732: [06:39:26] <Colin[pi]> we're like the only city in AU completely designed for bike riders to get around on their own paths, and so many dickheads use the roads instead
733: [06:39:50] <simon_w|air> For commuting, I'd be using roads rather than shared paths
734: [06:40:08] <Colin[pi]> yeah depends on where you need to go I guess
735: [06:40:32] <simon_w|air> Also, there's usually a shoulder at least for you compared to having to watch out for pedestrians
736: [06:40:44] <Colin[pi]> mm
737: [06:40:56] <Colin[pi]> I take it bike riding in Welly is a bit shit?
738: [06:41:11] <ss23> Lots of people do it here
739: [06:41:15] <ss23> It's just, you know, most of them get hit by cars
740: [06:41:29] <Colin[pi]> pff, pussies
741: [06:41:37] <ss23> I got hit by a bus riding a bike to school once
742: [06:41:37] <ss23> :O
743: [06:41:38] <simon_w|air> It tends to only be dangerous in the rain when people forget how to drive
744: [06:41:41] <ss23> Bus driver got fired
745: [06:41:41] <ss23> o/
746: [06:41:50] <ss23> simon_w|air: lol, all my friends who bike would say otherwise :P
747: [06:41:57] <Colin[pi]> simon_w|air: but people can't drive here in any conditions
748: [06:42:03] <ss23> Though I hear going through cuba during the rain results in lulz
749: [06:42:06] <simon_w|air> ss23, perhaps your friends who bike should learn how to bike on the road :p
750: [06:42:28] <ss23> Maybe, but I'm more inclined to trust them over you for this, simon_w|air :D
751: [06:42:54] <simon_w|air> ss23, you know I did commute on my bike in Wellington too, right?
752: [06:43:03] <ss23> Yeah, I figured you did, since you had one
753: [06:45:59] * DesignerX quit (Remote host closed the connection)
754: [06:46:12] <aragonne> Hey guys, working on SS3.0 to SS3.1 conversion project and getting the error when trying to access the url http://mydomain/dashboard/solutionmodal/1078/Application/Summary:
755: [06:46:13] <aragonne> I can't handle sub-URLs of a Dashboard_Controller object.
756: [06:46:21] * DesignerX has joined #silverstripe
757: [06:46:36] <simon_w|air> aragonne, sounds like your routes are broken
758: [06:46:37] <aragonne> That URL worked fine in SS3.0
759: [06:46:54] <aragonne> I pasted my routes.yml and the relevant code from Dashboard_Controller.php at:
760: [06:46:55] <aragonne> http://sspaste.com/paste/show/537c2d263ca0b
761: [06:47:22] <aragonne> Can't seem to figure out why the URL is not working in SS3.1.
762: [06:48:27] * anselmdk has joined #silverstripe
763: [06:48:29] <simon_w|air> aragonne, got a private static $url_handlers in Dashboard_Controller?
764: [06:48:57] <aragonne> simon_w|air: I do not have a $url_handlers
765: [06:49:13] <simon_w|air> Yes, and now the url handling doesn't try to be magic
766: [06:50:04] <aragonne> simon_w|air: I don't quite follow the last response
767: [06:51:00] <simon_w|air> Before, the url handling logic would try to figure out what you meant when you had misconfigured routes (like incorrect split points, or no url_handler for your custom matching rules)
768: [06:51:21] <simon_w|air> Half the time it worked, half the time it didn't and it wasn't worth trying to understand the cases
769: [06:51:32] <simon_w|air> Now, it just doesn't try
770: [06:51:56] <simon_w|air> Anyway, what you want is private static $url_handlers = array('$Action/$ID/$OtherID/$MiscID' => 'handleAction');
771: [06:54:38] <aragonne> simon_w: since I have quite a few controller actions in the Dashboard_Controller class (we are using the framework only, no CMS), and I'm only having problems with the 'solutionmodal' action, should I just introduce the below to the code:
772: [06:55:25] <aragonne> private static $url_handlers = array('solutionmodal/$Action/$ID/$OtherID/$MiscID' =. 'solutionmodal') ?
773: [06:56:13] <simon_w|air> If you wanted to do that, you'd use array('solutionmodal/$ID/$OtherID/$MiscID' => 'solutionmodal'), since you're setting a value for $Action
774: [06:56:43] <aragonne> simon_w: ah, yes of course
775: [06:56:48] <aragonne> trying now
776: [06:57:49] <aragonne> you're right about the route rules though, it's confusing … I've already had to edit the routes.yml file a couple of times to get things working in 3.1 that previously worked fine in 3.0
777: [06:58:17] <simon_w|air> Well, once you understand how they're supposed to work, it's a lot easier to understand
778: [07:03:17] <aragonne> simon_w|air: thanks! That seemed to have solved the problem
779: [07:05:12] <aragonne> simon_w: can you clarify the route rules since we'
780: [07:05:24] <aragonne> re already on the topic … I'll cite an example
781: [07:05:57] <aragonne> So I have the rule you saw at sspastie: 'dashboard//$Action/$ID/$OtherID/$MiscID': 'Dashboard_Controller'
782: [07:06:42] <simon_w|air> Well, I'll change it a little to make an example that covers more cases
783: [07:06:59] <simon_w|air> 'dashboard/$Name//$Action/$ID/$OtherID/$MiscID': 'Dashboard_Controller'
784: [07:07:26] <simon_w|air> So, everything up to the cut (the //) is required. Everything after, unless it ends with a !, is optional
785: [07:07:54] <simon_w|air> Everything up to the cut gets consumed by the Director matching, though all variables that are possible get matched
786: [07:08:12] <simon_w|air> These matchings get passed to handleRequest, which uses your $url_handlers
787: [07:08:19] <aragonne> It works fine for uri like /dashboard/application/1078/, /dashboard/company/562/ but not the one cited above, /dashboard/solutionmodal/1078/Application/Summary
788: [07:08:51] <simon_w|air> Your url_handlers then get matched against anything that hasn't been consumed yet
789: [07:09:35] <simon_w|air> The default being $Action//$ID/$OtherID => handleAction
790: [07:09:53] <simon_w|air> The same sort of rules apply here (with everything matched before the cut being consumed)
791: [07:09:59] <aragonne> why wouldn't /dashboard/solutionmodal/1078 not match up like /dashboard/application/1078 or /dashboard/company/562?
792: [07:10:22] <simon_w|air> It would. It's because you've got extra things on the end that it fails
793: [07:10:45] <aragonne> $Action is either solutionmodal, application, or company and $ID is either 1078, 1078, or 562
794: [07:11:01] <simon_w|air> Yes, that's all fine
795: [07:11:06] <simon_w|air> It's /dashboard/solutionmodal/1078/Application/Summary that fails
796: [07:11:18] <simon_w|air> dashboard gets consumed by the Director rule
797: [07:11:28] <simon_w|air> solutionmodal/1078/Application then gets consumed by the default url_handler
798: [07:11:28] <aragonne> Ahhh, I thought the rule specifies that $OtherID and $MiscID are optional
799: [07:12:18] <simon_w|air> Which leaves Summary left. So, if the return value from the solutionmodal action was another subclass of RequestHandler, it would be passed on
800: [07:12:23] <aragonne> … so the three uri's above are treated equally, but apparently not
801: [07:12:53] <simon_w|air> /dashboard/solutionmodal/1078, /dashboard/application/1078 and /dashboard/company/562 are all matched the same by the default url_handler
802: [07:13:39] <simon_w|air> The "I can't handle sub-URLs of a Dashboard_Controller object." error happens when what gets returned from the action handler isn't a RequestHandler subclass and there's things left in the URL that haven't been matced
803: [07:13:43] <simon_w|air> *matched
804: [07:13:55] <aragonne> the default url_handler being: dashboard//$Action/$ID/$OtherID/$MiscID': 'Dashboard_Controller'?
805: [07:14:23] <simon_w|air> No, the default url_handler being $Action//$ID/$OtherID => handleAction
806: [07:14:41] <aragonne> Oh, so what the action handler returns affects the route rules?
807: [07:14:45] <simon_w|air> The Director rules are only used right at the start. Things matched on the right of the cut in it don't count as being consumed
808: [07:15:15] * Shrike_Finland has joined #silverstripe
809: [07:15:16] <simon_w|air> It can do. It's how form fields work
810: [07:16:50] <aragonne> simon_w: let me take a few to absorb what you wrote so I can better understand how the route rules work
811: [07:23:24] <DesignerX> hi, what's the differntce between ?flush=1 & flush=all ?\
812: [07:24:40] * ocm has joined #silverstripe
813: [07:24:44] <ocm> howdy
814: [07:24:53] <simon_w|air> DesignerX, on pages that use SSViewer, flush=all removes all template caches rather than just the one for the current page
815: [07:25:00] <simon_w|air> With SS3, it's not really needed
816: [07:45:14] * stnvh has joined #silverstripe
817: [07:47:01] * iamss has joined #silverstripe
818: [07:47:07] * NewLinuxUser has joined #silverstripe
819: [07:49:29] * DesignerX quit (Ping timeout: 264 seconds)
820: [07:49:49] <iamss> Hello SS. I have a problem on overriding a template
821: [07:50:12] <iamss> I checkout the gallery module and wanting to override the UploadGalleryField.ss
822: [07:50:46] <iamss> I tried to create a similar file under my themes/templates folder
823: [07:50:56] <iamss> but still the override is not working
824: [07:51:05] <iamss> is this possible?
825: [07:51:10] <simon_w|air> is the original UploadGalleryField.ss in Includes?
826: [07:51:26] <iamss> no it's just inside the templates
827: [07:52:24] <simon_w|air> Then it should work fine
828: [07:52:27] <simon_w|air> Have you flushed?
829: [07:54:21] * DesignerX has joined #silverstripe
830: [07:55:35] * NewLinuxUser quit (Ping timeout: 258 seconds)
831: [07:55:48] * iamss quit (Ping timeout: 240 seconds)
832: [07:59:20] * kinglozzer has joined #silverstripe
833: [08:02:01] * iamss has joined #silverstripe
834: [08:02:27] <iamss> @simon_w|air - sorry got log out
835: [08:02:56] * DesignerX quit (Ping timeout: 255 seconds)
836: [08:03:11] <iamss> I missed your replied in case you replied to my last message
837: [08:03:23] <iamss> *reply
838: [08:07:40] * TheHacksaw has joined #silverstripe
839: [08:08:53] * DesignerX has joined #silverstripe
840: [08:10:29] * marijn_ has joined #silverstripe
841: [08:15:04] <marijn_> If I created an extended class using extends DataExtension, should I be able to override an existing function of the original class? Or does the original class need to call $this->extend('someFunction',$var);
842: [08:17:10] <guzzlefry> iamss: <iamss> no it's just inside the templates
843: [08:17:11] <guzzlefry> <simon_w|air> Then it should work fine
844: [08:17:11] <guzzlefry> <simon_w|air> Have you flushed?
845: [08:17:17] <guzzlefry> oh...
846: [08:17:25] <guzzlefry> iamss: There's a log in topic as well. :P
847: [08:17:32] <guzzlefry> http://ss.org.nz/logs
848: [08:18:21] <simon_w|air> marijn_, it needs to call $this->extend
849: [08:19:14] * DesignerX quit (Ping timeout: 240 seconds)
850: [08:19:23] * UncleCheese has joined #silverstripe
851: [08:19:35] <iamss> thanks @guzzlefry ..
852: [08:19:40] <guzzlefry> no problem
853: [08:20:12] <iamss> @simon_w|air - I flushed already but didn't work so far
854: [08:24:23] <marijn_> Cheers, @simon_w. I'll ask UncleCheese to add a $this->extend to his calendar.
855: [08:27:49] * Giganaire yawns
856: [08:27:58] <ss23> Holy shit, the twitter background for github is scary - https://pbs.twimg.com/profile_banners/13334762/1390439341/web
857: [08:28:25] <Giganaire> quite.
858: [08:28:37] * DesignerX has joined #silverstripe
859: [08:30:08] * Giganaire wanders off to find alcohol
860: [08:30:14] <ss23> ON A WORK NIGHT?!
861: [08:30:55] <Giganaire> the closest liquor store to me is next to Auckland City Mission
862: [08:31:01] <Giganaire> you can guess the majority of their clientele
863: [08:31:51] <ss23> lol
864: [08:36:55] * guci0 has joined #silverstripe
865: [08:37:01] <guci0> Ahoy!
866: [08:37:40] * DesignerX quit (Remote host closed the connection)
867: [08:38:06] * DesignerX has joined #silverstripe
868: [08:39:47] <ocm> heya guci0
869: [08:39:52] <ocm> you capt'n
870: [08:41:28] <guci0> Captain on the bridge ;)
871: [08:42:04] * r3v3rb has joined #silverstripe
872: [08:42:15] <r3v3rb> morning
873: [08:42:27] <r3v3rb> any idea why $locale in this: http://pastebin.com/4WQ4i5KT
874: [08:42:35] <guci0> Yo!
875: [08:42:53] <r3v3rb> is empty on the live server yet filled in on the development server running the same code?
876: [08:42:56] <r3v3rb> guci0: Hi
877: [08:44:00] * UncleCheese quit (Quit: UncleCheese)
878: [08:45:08] <guci0> Use Request stuff for GET...
879: [08:45:09] * Sj0hn has joined #silverstripe
880: [08:45:36] <r3v3rb> guci0: good shout ;)
881: [08:47:03] * bwaah_ has joined #silverstripe
882: [08:48:24] * marijn_ quit (Quit: Page closed)
883: [08:51:30] <bwaah_> im still having a problem wen i dev/build on my terminal it doesnt reflect on the browser when i reload.Dont know what am doing wrong
884: [08:51:48] <bwaah_> on linux
885: [08:51:48] * iamss quit (Ping timeout: 240 seconds)
886: [08:52:26] <kinglozzer> Composer: if I specify require: "silverstripe/framework": ">=3.1", does that work with 3.1.x-dev? I seem to remember it didn't.
887: [08:52:55] <kinglozzer> bwaah_: CLI user is often different to web user, so a dev/build and a flush on command line won't affect web
888: [08:53:02] <simon_w|air> kinglozzer, should do
889: [08:55:17] <kinglozzer> simon_w|air: I remember loads of modules had to change their constraints to "~3.1", can't remember if that was why. Though I rarely use 3.1.x-dev, so should be fine. Thanks
890: [08:55:26] * richwestcoast has joined #silverstripe
891: [08:55:38] <simon_w|air> kinglozzer, because they're rather likely to break in 4.0
892: [08:57:24] <kinglozzer> simon_w|air: Oh yeah, ~3.1 is equivalent to >=3.1,<4.0.. oops - that was what I was looking for anyway
893: [08:58:10] <r3v3rb> kinglozzer: 4.0?
894: [08:58:14] <r3v3rb> where did you find this?
895: [08:58:31] <kinglozzer> r3v3rb: Find what? The composer info?
896: [08:58:32] <r3v3rb> can’t, we have a 3.2, 3.5, 3.8 first?
897: [08:58:46] <kinglozzer> r3v3rb: NO!
898: [08:58:51] <r3v3rb> simon_w: mentioned 4.0 :D
899: [08:59:25] <kinglozzer> r3v3rb: 4.0 comes out next week, it’s been rewritten entirely in node
900: [08:59:31] <kinglozzer> Good luck
901: [08:59:33] <kinglozzer> :D
902: [08:59:33] <r3v3rb> pah, you liar!
903: [09:00:38] * r3v3rb is having can’t think for stupid prostate cancer day and shouldn’t be programming
904: [09:00:43] * UncleCheese has joined #silverstripe
905: [09:01:12] * DesignerX quit (Remote host closed the connection)
906: [09:01:27] <bwaah_> @kinglozzer so naw after dev/build the database what should i do to reflect on the browser
907: [09:01:36] * DesignerX has joined #silverstripe
908: [09:02:03] <Giganaire> OMG GAIZ
909: [09:02:12] <Giganaire> i forgot to tell y'all
910: [09:02:24] <ss23> :O
911: [09:02:28] <ss23> YOU'Re PREGNANT
912: [09:02:30] <Giganaire> my room
913: [09:02:33] <Giganaire> is number 404
914: [09:02:35] <ss23> XD
915: [09:03:21] <guci0> :))
916: [09:03:24] <Giganaire> also i was about to go to the laundromat full of hobos
917: [09:03:56] <kinglozzer> r3v3rb: They give you any update/more info since you mentioned it last week?
918: [09:04:54] <Giganaire> reception guy saw me walking out with bag of clothes
919: [09:05:10] <Giganaire> was like "you know we have self-service machines on levels 3, 6 and 9 right?"
920: [09:05:21] <Giganaire> and i'm like HALLELUJAH I DON'T HAVE TO SIT AND WAIT FOR CLOTHES TO WASH
921: [09:05:53] <guzzlefry> bwaah_: what do you mean by 'relfect on the browser'?
922: [09:06:25] <Giganaire> figure people much less likely to steal my shitty clothes in a $150/hr night hotel than in a laundromat + curry shop on Hobson Street
923: [09:06:27] * simon_w|air quit (Quit: This computer has gone to sleep)
924: [09:06:32] <guzzlefry> s/relfect/reflect
925: [09:06:34] <Giganaire> uh
926: [09:06:38] <Giganaire> $150/night
927: [09:06:44] <Giganaire> that other option was scary
928: [09:06:56] <r3v3rb> kinglozzer: they only believe that the biopsy will show a T2cn0m0 cancer - and hopefully a RP along with some follow up treatment should be good for a 10yr prognosis
929: [09:08:21] <kinglozzer> r3v3rb: So not quite confirmed yet, but they're 100%? (I'm sure they wouldn't say it otherwise). RP?
930: [09:09:27] <r3v3rb> not clinically confirmed but the MRI is in their words ‘suspiciously indicative of early prostate cancer’
931: [09:09:37] <r3v3rb> RP = Radical Prostatectomy
932: [09:09:46] <Giganaire> fuck
933: [09:09:48] <r3v3rb> basically they rip the whole thing out
934: [09:09:59] <Giganaire> that is not one of the cancers a man wants to think about
935: [09:10:35] <r3v3rb> Giganaire: it has one of the best long term survival rates soooo
936: [09:10:48] <r3v3rb> any way I gtg - doctors appointment :\
937: [09:11:17] <r3v3rb> bbl
938: [09:11:28] * r3v3rb quit (Quit: r3v3rb)
939: [09:11:53] <Giganaire> "rip the whole thing out"
940: [09:11:58] <Giganaire> well there goes any anal fun
941: [09:13:25] * Shrike_Finland quit (Quit: Leaving.)
942: [09:15:02] <Sj0hn> Hi all
943: [09:15:22] <guci0> Hi!
944: [09:18:00] * simon_w|air has joined #silverstripe
945: [09:18:18] * bwaah_ quit (Ping timeout: 240 seconds)
946: [09:18:19] * cloph_away is now known as cloph
947: [09:22:51] * bwaah_ has joined #silverstripe
948: [09:22:56] <bwaah_> wel if i add a module and dev/build it on the browser side nothing reflects even a simple module like a blog module
949: [09:26:11] * Shrike_Finland has joined #silverstripe
950: [09:29:06] <guzzlefry> bwaah_: what do you mean by 'reflect'?
951: [09:30:11] * opalfroot has joined #silverstripe
952: [09:31:19] * simon_w|air quit (Quit: This computer has gone to sleep)
953: [09:31:50] <bwaah_> like doesnt a blog page o a blog holder...in short it does nothing to the cms its like i dint make a change
954: [09:32:33] <opalfroot> https://gist.github.com/opalfroot/14524bf50f9657ef7d21
955: [09:32:52] * wmk has joined #silverstripe
956: [09:36:18] * bwaah_ quit (Ping timeout: 240 seconds)
957: [09:37:02] * bwaah_ has joined #silverstripe
958: [09:41:13] <guzzlefry> bwaah_: /dev/build only builds the database table structure.
959: [09:44:29] <bwaah_> thats why am asking now like what do i have to do to the browser so that the cms can be updated
960: [09:49:33] <bwaah_> like u find the database is buld but i cant do anything at the cms backend like adding a blog page because it doesnt give mi that option o maybi if i add widgets and dev build if i go to the cms backend i cant see them at all
961: [09:57:18] * anselmdk quit (Quit: anselmdk)
962: [10:00:47] <guzzlefry> bwaah_: you have to create a new page with Page Type blog/blogholder or whatever in the CMS.
963: [10:02:58] <Giganaire> protip: the stove works better when switched on at the wall
964: [10:05:11] <opalfroot> anyone know how to remove the 'remove' button from a file upload widget?
965: [10:08:18] <Colin[pi]> opalfroot: you'd need to use css I think: button.ss-uploadfield-item-remove { display: none; }
966: [10:08:54] <marvanni> of use canDelete() ?
967: [10:09:04] <marvanni> on FileDataExtension
968: [10:09:21] <marvanni> or create a custom template...
969: [10:09:50] <opalfroot> ah ok - so a custom template sounds good - how would that be implemented?
970: [10:10:06] <Colin[pi]> marvanni: canDelete will remove the delete button but not the remove
971: [10:10:16] <marvanni> ah ok
972: [10:10:22] <marvanni> didn't know that
973: [10:10:45] <Colin[pi]> opalfroot: $field->setTemplateFileButtons('templatename');
974: [10:11:09] <opalfroot> cool cheers
975: [10:11:18] <marvanni> ^ that
976: [10:15:01] <Colin[pi]> that raises a good point, I wonder if they should have a programmatic way of hiding the remove button?
977: [10:18:03] <marvanni> I guess so, but my experience with UploadField for frontend usage requires more customisation than a template override can handle, so I prefer subclassing the UploadField for frontend anyway
978: [10:18:08] <opalfroot> seems like their should be
979: [10:18:25] <Colin[pi]> mm good point marvanni
980: [10:20:47] * dancingbear has joined #silverstripe
981: [10:22:08] <dancingbear> dance
982: [10:22:43] <marvanni> If I say jump...
983: [10:24:58] * DesignerX quit (Ping timeout: 240 seconds)
984: [10:25:12] * DesignerX has joined #silverstripe
985: [10:25:27] * ss23 spins marvanni :D
986: [10:25:29] <ss23> Jump!
987: [10:25:45] * micmania1 has joined #silverstripe
988: [10:26:02] <marvanni> www.youtube.com/watch?v=010KyIQjkTk
989: [10:26:21] * Shrike_Finland quit (Quit: Leaving.)
990: [10:26:27] <marvanni> not how high ;)
991: [10:27:34] <bwaah_> guzzlefry the cms doesnt have a page with Page Type blog/blogholder its like i havent installed the module at all
992: [10:28:00] <guzzlefry> oh derp
993: [10:28:12] <guzzlefry> bwaah_: Run /dev/build?flush via the webpage
994: [10:28:20] <guzzlefry> http://example.com/dev/build/?flush
995: [10:28:31] <guzzlefry> See what it lists for PageTypes iirc.
996: [10:34:14] * bouba has joined #silverstripe
997: [10:34:20] * lucido has joined #silverstripe
998: [10:35:15] * DesignerX quit (Remote host closed the connection)
999: [10:36:31] <bouba> I can't get dataobject relations the way i want. Could someone help?
1000: [10:37:43] <bouba> I have slideshows > Slides > layers and somehow every layer shows up in every slide... don't know what i am doing wrong...
1001: [10:39:05] <bouba> slideshow has_many slides, slide has_one slideshow.... slide has_many layers layer has_one slide
1002: [10:39:52] <kinglozzer> bouba: Relations seem fine to me, when you say 'shows up' - how do you mean? What field are they showing up in/how are you setting up that field?
1003: [10:40:33] <bwaah_> actually on windows its localhost/silverstripe-project/dev/build?flush but with linux you have to include the index file localhost/silverstripe-project/index.php/dev/build?flush i gues thats the difference thanx btw
1004: [10:40:57] <bouba> in the layer grid of every slide all the layers are shown, also layers i added to other slides
1005: [10:41:43] <kinglozzer> bouba: How are you building the GridField? Can you paste your Slide->getCMSFields(): http://pastie.org
1006: [10:42:59] * anselmdk has joined #silverstripe
1007: [10:44:23] <bouba> http://pastie.org/9195575 = LayerSlider
1008: [10:45:13] <bouba> http://pastie.org/9195579 = LayerSliderSlide
1009: [10:45:17] * lucido quit (Ping timeout: 264 seconds)
1010: [10:46:04] <bouba> http://pastie.org/9195582 = LayerSliderLayer
1011: [10:46:50] <kinglozzer> bouba: This is wrong: http://pastie.org/9195579#26
1012: [10:47:02] <kinglozzer> Instead of LayerSliderLayer::get(), you need $this->LayerSliderLayers()
1013: [10:47:50] <kinglozzer> LayerSliderLayer::get() will fetch all slides and put them in that GridField, whereas $this->LayerSliderLayers() will only fetch ones related to the current LayerSlider
1014: [10:49:39] * Giganaire is now known as irogue
1015: [10:50:27] <bouba> Ofcourse overlooked that one.... thanx kinglozzer!
1016: [10:51:04] * Shrike_Finland has joined #silverstripe
1017: [11:01:09] * simon_w|air has joined #silverstripe
1018: [11:02:39] * wmk quit (Ping timeout: 240 seconds)
1019: [11:08:18] <opalfroot> $uploadfield->setTemplateFileButtons('xyz') sets the template though somehow SS cannot find the template....any ideas?
1020: [11:10:26] * mento has joined #silverstripe
1021: [11:11:22] <mento> hey guys, is there way to loop a list of children into multiple lists using loop children in a template without writing a function?
1022: [11:12:09] * TheHacksaw quit (Quit: Leaving)
1023: [11:12:11] <mento> like so -> http://sspaste.com/paste/show/537c86a6454b7
1024: [11:12:53] <mento> i know there is MultipleOf or Modulus i can use for counting, but not sure how to break the loop to start a new list
1025: [11:17:18] * bwaah_ quit (Ping timeout: 240 seconds)
1026: [11:19:01] <simon_w|air> mento, <% if $MultipleOf(4) %></ul><ul><% end_if %>
1027: [11:19:16] <irogue> if i ever get rich
1028: [11:19:28] <irogue> i'm buying fucking commercial laundry appliances
1029: [11:20:02] <Colin[pi]> irogue: busy at the laundromat?
1030: [11:20:17] <irogue> a load took 20min in the washer and 40min in the dryer and came out spotless and bone-dry-but-not-'hard'
1031: [11:20:27] <irogue> Colin[pi]: hotel laundry room
1032: [11:20:33] <Colin[pi]> oic
1033: [11:20:37] <Shrike_Finland> Hi, should bootstrap forms and user forms work nicely together straight away?
1034: [11:20:49] <Colin[pi]> meanwhile, my washing machine is being a penis
1035: [11:20:51] <irogue> the same machines housekeeping use, guests can use
1036: [11:21:05] <irogue> so they're big fucking Maytag beasts
1037: [11:21:29] <Colin[pi]> irogue: always wash the best
1038: [11:21:38] <simon_w|air> Shrike_Finland, doubt it
1039: [11:22:33] <simon_w|air> Oh no, I'm about to composer update to install a SS-based site
1040: [11:22:36] * simon_w|air whimpers
1041: [11:23:33] <Shrike_Finland> Ok, do we have any good tutorials about extending user forms with bootstrap forms?
1042: [11:26:10] <irogue> aha! found them
1043: [11:26:18] <irogue> http://www.whirlsource.com/catalog/stack-laundry/mlg20pdbww-commercial-stack-washer-dryer.html
1044: [11:31:34] <irogue> Shrike_Finland: not that i'm aware of, you'd have to ask whoever's module that was
1045: [11:31:38] <irogue> was that one of UncleCheese's?
1046: [11:31:52] <UncleCheese> hmm
1047: [11:31:57] <Shrike_Finland> Yes
1048: [11:32:20] <UncleCheese> Shrike_Finland: they won’t play nicely straight away
1049: [11:32:30] <Shrike_Finland> UncleCheese: any tips, how to extend?
1050: [11:32:54] <UncleCheese> I believe BootstrapForms decorates your FieldList with a method calld bootstrapify()
1051: [11:33:11] <UncleCheese> so
1052: [11:33:24] <UncleCheese> $yourUserForm->Fields()->bootstrapify();
1053: [11:33:48] <UncleCheese> $yourUserForm->Actions()->bootstrapify();
1054: [11:33:56] <UncleCheese> and $yourUserForm->setTemplate(‘BootstrapForm');
1055: [11:34:01] <UncleCheese> or whatever it is
1056: [11:34:26] <Shrike_Finland> Ok, great, thanx!
1057: [11:36:35] <mento> simon_w|air: - thanks for the reply - somehow i cant get it to work as it should be: http://sspaste.com/paste/show/537c8c4593687
1058: [11:38:12] <mento> For some reason $FirstLast doesn't work in that loop and it displays 4 items in the the first list, and 5 in the second, third and so on
1059: [11:47:33] <dancingbear> i have a form with the field: new TextField('Text', 'Text', $this->getChild()->title)
1060: [11:47:41] <dancingbear> with the function: function getChild() { return $this->Children()->first(); }
1061: [11:47:52] <dancingbear> then i get the title of the first child
1062: [11:48:28] <dancingbear> but i need the title of the child that is clicked
1063: [11:49:14] <dancingbear> What is the function for this?
1064: [11:49:21] <dancingbear> or what is the best way to code?
1065: [11:56:58] * Colin[pi] quit (Ping timeout: 240 seconds)
1066: [11:57:33] * UncleCheese quit (Quit: UncleCheese)
1067: [12:01:14] * chris__ has joined #silverstripe
1068: [12:06:52] * UndefinedOffset has joined #silverstripe
1069: [12:30:03] * chris__ quit (Ping timeout: 265 seconds)
1070: [12:30:18] * lucido has joined #silverstripe
1071: [12:32:02] <guzzlefry> dancingbear: it's been a while but
1072: [12:32:13] <guzzlefry> maybe $this->Children()->filter()
1073: [12:32:15] * guzzlefry checks
1074: [12:32:46] <guzzlefry> well wiat
1075: [12:32:54] <guzzlefry> What is $this?
1076: [12:36:46] * shellbackpacific has joined #silverstripe
1077: [12:37:53] <shellbackpacific> hey all…what's the best way to render a json string (encoded and passed from a controller) in a silverstripe template?
1078: [12:41:06] <micmania1> shellbackpacific: http://api.silverstripe.org/3.1/class-Convert.html#_array2json
1079: [12:41:42] <shellbackpacific> micmania1: thanks
1080: [12:41:44] <micmania1> Add a method to your controller. function MyJson($array) { return Convert::array2json($array); }
1081: [12:42:03] <shellbackpacific> nice thanks
1082: [12:47:58] <shellbackpacific> micmania1: so Convert::array2json doesn't handle ArrayList/ArrayData?
1083: [12:48:42] <kinglozzer> shellbackpacific: Convert::array2json($arrayList->toArray());
1084: [12:48:49] <shellbackpacific> ah
1085: [12:48:49] <shellbackpacific> ij
1086: [12:48:51] <shellbackpacific> ok
1087: [12:49:19] <shellbackpacific> so does that convert all sub arrays in the array to native php arrays?
1088: [12:49:45] <kinglozzer> shellbackpacific: Nope, ->toNestedArray() will do that I think
1089: [12:50:01] <shellbackpacific> ok thanks
1090: [12:57:01] * simon_w|air quit (Quit: This computer has gone to sleep)
1091: [13:07:21] * richwestcoast quit (Quit: My iMac has gone to sleep. ZZZzzz…)
1092: [13:16:01] * wmk has joined #silverstripe
1093: [13:20:22] * Shrike_Finland quit (Quit: Leaving.)
1094: [13:22:13] * catcher has joined #silverstripe
1095: [13:34:09] <shellbackpacific> anyone know how to decode html entities (ex: &quot;) in silverstripe templates?
1096: [13:34:41] <shellbackpacific> tried using 'html_entity_decode' before passing the var to the template
1097: [13:37:18] * bouba quit (Ping timeout: 240 seconds)
1098: [13:37:51] <kinglozzer> shellbackpacific: $Field.Raw might do it, not sure
1099: [13:39:42] * kinglozzer visiting client
1100: [13:41:44] <shellbackpacific> kinglozzer: doesn't work
1101: [13:45:54] * Shrike_Finland has joined #silverstripe
1102: [13:46:19] <shellbackpacific> can't even find docs for $Field.Raw :/
1103: [13:46:30] * Shrike_Finland quit (Client Quit)
1104: [13:47:15] * mento quit (Quit: Page closed)
1105: [13:49:09] <shellbackpacific> ah got it
1106: [13:49:31] <shellbackpacific> i was trying $Field.Raw($var)…..should be $var.Raw
1107: [13:51:18] * richwestcoast has joined #silverstripe
1108: [13:55:40] * ampharmex has joined #silverstripe
1109: [13:56:12] * ampharmex has left #silverstripe
1110: [14:19:29] <opalfroot> anyone know why $uploadfield->setTemplateFileButtons('UploadField_FileEditButtons'); might not be able to find the template (even after a flush)??
1111: [14:24:03] * Shrike_Finland has joined #silverstripe
1112: [14:35:39] * micmania1 quit (Ping timeout: 252 seconds)
1113: [14:37:56] * marvanni quit ()
1114: [14:42:18] <guci0> Convert::array2json hmmm... good idea!
1115: [14:51:18] * dancingbear quit (Ping timeout: 240 seconds)
1116: [15:03:24] <ocm> why not just json_encode()?
1117: [15:03:39] <ocm> ah, arraylist :)
1118: [15:06:15] * anselmdk quit (Quit: anselmdk)
1119: [15:07:42] * Sj0hn quit ()
1120: [15:10:43] <kinglozzer> Convert::array2json() actually is just json_encode() :P
1121: [15:11:20] <kinglozzer> Completely pointless method lol
1122: [15:11:22] <ocm> haha
1123: [15:11:24] <ocm> is it?
1124: [15:11:25] <ocm> lol
1125: [15:12:29] <kinglozzer> Convert::array2json() calls Covert::raw2json(), which just contains "return json_encode($val);" :P
1126: [15:12:40] <kinglozzer> So two pointless methods
1127: [15:12:42] <ocm> I see
1128: [15:12:54] <ocm> same as json2array
1129: [15:13:02] <ocm> well, 'same' cause it is the opposite
1130: [15:13:15] <ocm> but why? internship occupation? :P
1131: [15:13:57] <kinglozzer> No idea :P
1132: [15:14:02] <ocm> oh well
1133: [15:14:04] <ocm> time for a smoke
1134: [15:25:38] * muskie9 has joined #silverstripe
1135: [15:27:02] * muskie9 quit (Client Quit)
1136: [15:34:23] * micmania1 has joined #silverstripe
1137: [15:37:57] * jenniferaslan has joined #silverstripe
1138: [15:53:48] * opalfroot quit (Ping timeout: 240 seconds)
1139: [16:04:17] * wmk quit (Quit: nice to meet you ;))
1140: [16:07:41] * Shrike_Finland quit (Quit: Leaving.)
1141: [16:09:19] * shellbackpacific quit (Quit: Leaving.)
1142: [16:14:54] * kinglozzer quit ()
1143: [16:29:02] * stnvh quit ()
1144: [16:58:47] * shellbackpacific has joined #silverstripe
1145: [17:10:49] * gelignite has joined #silverstripe
1146: [17:16:26] * jenniferaslan quit (Ping timeout: 255 seconds)
1147: [17:18:58] * richwestcoast quit (Quit: Textual IRC Client: www.textualapp.com)
1148: [17:24:10] * jenniferaslan has joined #silverstripe
1149: [17:47:07] * UndefinedOffset quit (Quit: Leaving.)
1150: [18:37:29] * shellbackpacific quit (Quit: Leaving.)
1151: [18:37:55] * shellbackpacific has joined #silverstripe
1152: [18:42:46] * UndefinedOffset has joined #silverstripe
1153: [18:51:36] <ec8or_> how can i check if it is the first time a record is saved?
1154: [18:51:41] <ec8or_> a Page rather
1155: [18:52:03] <ec8or_> need to add a relationship so checking for ID in onbeforewrite doesn't work
1156: [18:59:43] * novaweb has joined #silverstripe
1157: [19:13:19] <catcher> ec8or_, if you can't compare the previous ID value, I'd say you need a custom flag on the object.
1158: [19:13:46] <catcher> ec8or_, what are you trying to accomplish?
1159: [19:15:24] <ec8or_> catcher: i got a relationship for which listing should contain which project page
1160: [19:15:37] <ec8or_> and want to add each project to two of them by default
1161: [19:16:05] <ec8or_> but yeah, might be easiest to add a flag and just not show it in the CMS
1162: [19:27:30] * novaweb quit (Quit: novaweb)
1163: [19:28:48] * muskie9 has joined #silverstripe
1164: [19:29:04] * muskie9 quit (Client Quit)
1165: [19:45:30] * novaweb has joined #silverstripe
1166: [19:47:08] * SightUnseen has joined #silverstripe
1167: [19:53:29] <novaweb> Gents - why would the encoding of the content of the website go all buggery and display characters like this “” after upgrading to 3.1?
1168: [19:53:48] <novaweb> Database is exactly the same...
1169: [19:56:48] * antmas quit (Quit: Page closed)
1170: [19:59:53] * SightUnseen quit (Quit: Leaving.)
1171: [20:00:15] * SightUnseen has joined #silverstripe
1172: [20:00:23] * SightUnseen has left #silverstripe
1173: [20:16:41] <guci0> https://www.youtube.com/watch?feature=player_embedded&v=M3h00M9dcj4 nice consola :))
1174: [20:17:44] * Kingy[a] is now known as Kingy
1175: [20:19:16] <Kingy> morning all
1176: [20:20:07] * UncleCheese_ has joined #silverstripe
1177: [20:20:07] * UncleCheese_ quit (Client Quit)
1178: [20:26:16] <novaweb> Kia Ora
1179: [20:32:48] <Stomach> yo yo
1180: [20:41:57] * Ryan-Toast has joined #silverstripe
1181: [20:47:37] * UndefinedOffset quit (Quit: Leaving.)
1182: [20:50:25] * muskie9 has joined #silverstripe
1183: [20:51:06] * antmas has joined #silverstripe
1184: [20:51:23] * muskie9 quit (Client Quit)
1185: [20:51:29] <antmas> greetings
1186: [20:51:51] <Kingy> hey
1187: [20:52:27] <Ryan-Toast> antmas: dat list, son :P
1188: [20:54:08] * antmas ducks
1189: [20:54:16] <antmas> Ryan-Toast: ... I forgot it!
1190: [20:54:25] <Ryan-Toast> :P It’s okay.
1191: [20:54:32] <antmas> I might make it a gdoc actually
1192: [20:54:44] <antmas> so you can comment on it as you fix the things!
1193: [20:54:45] <antmas> :P
1194: [20:55:59] <Stomach> why not just add issues to the github repo?
1195: [20:56:10] <Stomach> then we can all watch how much he slacks off :D
1196: [20:56:15] * antmas slaps forehead
1197: [20:56:21] <antmas> ofc
1198: [20:56:29] <antmas> I should git more
1199: [20:59:08] <Ryan-Toast> antmas: yeah github issues would be good :)
1200: [20:59:11] * lucido quit (Ping timeout: 252 seconds)
1201: [21:00:44] * an_Eskimo has joined #silverstripe
1202: [21:03:08] <Ryan-Toast> I have my enhancements in there: https://github.com/Rhym/ss_boilerplate/issues
1203: [21:10:21] * shellbackpacific quit (Quit: Leaving.)
1204: [21:12:40] <antmas> Ryan-Toast: weird, I get emails from git for the BP project now, but I didn't before?
1205: [21:12:57] <antmas> odd
1206: [21:12:59] <antmas> ah well
1207: [21:13:28] <Stomach> you're following it twice!
1208: [21:13:32] <Stomach> or watching twice
1209: [21:13:33] <Stomach> weird
1210: [21:13:51] <antmas> hmmm
1211: [21:14:26] <antmas> oh
1212: [21:14:29] <antmas> 2 accounts :P
1213: [21:15:33] * UncleCheese has joined #silverstripe
1214: [21:15:57] <antmas> fixed
1215: [21:16:02] <Ryan-Toast> Wish I could see who was following it.
1216: [21:16:26] <antmas> Ryan-Toast: can you not view the watch list?
1217: [21:16:37] <Ryan-Toast> Not that I can see
1218: [21:19:08] <antmas> Ryan-Toast: http://www.gfycat.com/GraveActualHerculesbeetle
1219: [21:19:32] <antmas> that's the follow list right?
1220: [21:19:37] <Ryan-Toast> antmas: ahh cool :)
1221: [21:19:45] <Ryan-Toast> Is dat some Licecap?
1222: [21:19:57] <antmas> Ryan-Toast: it is!
1223: [21:20:16] <antmas> I use it a lot now
1224: [21:20:27] <Ryan-Toast> antmas: it’s great, right?
1225: [21:20:48] <antmas> Ryan-Toast: yeah I've got about 6 people using it in the office now
1226: [21:21:12] <antmas> I get people to do it when they say my shit is broken and can't prove it
1227: [21:21:37] <Ryan-Toast> I can see everyone who starred cakeStrap :)
1228: [21:22:34] <antmas> what's cakestrap exactly?
1229: [21:22:49] * catcher quit (Quit: Leaving)
1230: [21:23:00] * aragonne has left #silverstripe
1231: [21:23:01] <Ryan-Toast> static model/controller/view generator theme for cakePHP
1232: [21:23:33] <antmas> nice
1233: [21:24:53] <Ryan-Toast> IT’s like 30% of my incoming traffic fr my webssite.
1234: [21:24:59] <Ryan-Toast> and it goes to my 404 page :P
1235: [21:25:19] <Ryan-Toast> I should really make a redirection page
1236: [21:26:05] <Ryan-Toast> This fucking guy pretty much just forked it and changed a couple of things then never gave me credit: https://github.com/hugodias/cakeStrap
1237: [21:27:09] <antmas> git should auto credit upon fork
1238: [21:27:12] <antmas> I reckon
1239: [21:29:25] <Stomach> did you have a license on it Ryan?
1240: [21:29:36] <Stomach> if you did, send github help an email with deets about it
1241: [21:29:40] <Stomach> then get that fucker shut down
1242: [21:30:10] <Ryan-Toast> Stomach: I don’t really care that much to shut him down. If people like hios one better then meore power to him I suppose.
1243: [21:30:23] <Stomach> thats not the point :P
1244: [21:30:35] <antmas> Ryan-Toast: think of the children
1245: [21:30:43] <Ryan-Toast> If it was boilerplate it would be a different fucking story.
1246: [21:33:48] <Kingy> Wow so I was paying $111 a month for Slingshots unlimited plan
1247: [21:33:54] <Kingy> They've cut the price to $89 now
1248: [21:33:57] <Kingy> score!
1249: [21:35:55] <antmas> still not a fan of unlimited plans
1250: [21:36:00] <antmas> dat speed flux
1251: [21:36:34] * Jarrad has joined #silverstripe
1252: [21:36:53] <Ryan-Toast> I do fine with 200 gig for $50 a month.
1253: [21:37:01] <Kingy> I've been on this one for the better part of 18 months
1254: [21:37:12] <Kingy> haven't had any issues with speeds changing
1255: [21:37:31] * gelignite quit (Quit: http://bit.ly/nkczDT)
1256: [21:37:55] <antmas> Ryan-Toast: ? who is that with?
1257: [21:37:59] <Ryan-Toast> Vodafone
1258: [21:38:08] <Kingy> I can generally max out my line at any time
1259: [21:38:09] <antmas> do you know someone there?
1260: [21:38:13] <Ryan-Toast> No.
1261: [21:38:20] <antmas> $50 for 200gb?
1262: [21:38:22] <Ryan-Toast> I’m just in the red zone of the City.
1263: [21:38:36] <Ryan-Toast> which is their fastest/cheapest area
1264: [21:38:45] <antmas> oh
1265: [21:38:47] <antmas> zoning
1266: [21:38:47] <Ryan-Toast> and my phone contract is with them so $10 off
1267: [21:38:48] <antmas> makes sense
1268: [21:39:06] <Jarrad> Hey. I have a quick SS question if that is ok?
1269: [21:39:17] <Ryan-Toast> It was 100 gig, and I called them sayiong I was going elseware so they gave me another 100 gig. Lol, data.
1270: [21:39:22] <Ryan-Toast> Jarrad: Never
1271: [21:39:23] <antmas> Jarrad: just ask, don't ask to ask :P
1272: [21:39:26] <Stomach> always okay Jarrad
1273: [21:40:21] <Jarrad> Haha ok. Basically I have a form on every page on my site. I want to render the results with a specific page. Is this possible?
1274: [21:40:38] <Ryan-Toast> Yes, you can use the renderwith
1275: [21:40:50] <antmas> Jarrad: this ^^^
1276: [21:40:51] <Ryan-Toast> rock3tm4n
1277: [21:40:58] <Stomach> yeah free passwords!
1278: [21:40:58] <Ryan-Toast> fuck
1279: [21:41:06] <Kingy> haha
1280: [21:41:08] <Stomach> and now we know ryan loves elton john
1281: [21:41:13] <Kingy> i did it yesterday too :(
1282: [21:41:15] <Ryan-Toast> Luckily that’s a 1 of 2 shh password :P
1283: [21:41:23] <Stomach> yeah I've done it lots as well :S
1284: [21:41:34] <Kingy> it's always only my irc password so i don't really care
1285: [21:41:38] <Kingy> but still
1286: [21:41:41] <Jarrad> Thanks :)
1287: [21:41:44] <Ryan-Toast> It comes up as a popup, super annoying
1288: [21:42:11] <Kingy> It's ok Ryan-Toast all I see is *********
1289: [21:42:15] <Kingy> :P
1290: [21:42:16] <antmas> Jarrad: if you need help with renderwith, let us know
1291: [21:42:19] <Ryan-Toast> Jarrad: You can send the page data as well to be used by the template if you use the customise method.
1292: [21:42:32] <Ryan-Toast> Kingy :P
1293: [21:43:27] <Stomach> yeah I hear that when you put your password into IRC it doesn't display
1294: [21:43:29] <Stomach> *********
1295: [21:43:31] <Stomach> like that
1296: [21:43:34] <Stomach> someone else try!
1297: [21:43:39] <Stomach> (lol internet)
1298: [21:44:10] <antmas> Stomach: it does if it's a browser client
1299: [21:44:19] <Jarrad> Ok I will see how I get on and come back if I need a hand!
1300: [21:45:24] <Kingy> Ryan-Toast: hunter2
1301: [21:45:26] <antmas> Ryan-Toast: Stomach you guys know of any good ways to do breadcrumbs in css?
1302: [21:45:46] <Stomach> :S what do you mean
1303: [21:46:34] <antmas> Stomach: http://thecodeplayer.com/walkthrough/css3-breadcrumb-navigation as in navigation breadcrumbs
1304: [21:46:43] <antmas> just want an efficient way of doing them
1305: [21:47:11] <Stomach> oh - I always just output links with a font arrow between them
1306: [21:47:16] <Stomach> so its basically no css
1307: [21:47:27] <Ryan-Toast> antmas: Easiest way would be a list
1308: [21:47:35] <antmas> Stomach: yeah I have that but it looks pants :P
1309: [21:48:15] <Ryan-Toast> antmas: ez just do a :before with absolute positioning, and the font’s unicode as the content
1310: [21:48:40] <antmas> Ryan-Toast: sweet, chur
1311: [21:49:22] <Ryan-Toast> antmas: look at the check/delete list here for how to do it: http://webdough.co.nz/~boilerpl/widgets/typography/
1312: [21:49:35] <Ryan-Toast> then just inline-block the lis
1313: [21:50:16] <Ryan-Toast> or float them if you need ie7 support.
1314: [21:50:22] <Ryan-Toast> but make sure you escape the float.
1315: [21:50:56] <antmas> we finally updated our corporate browsers to IE10 for everyone
1316: [21:51:20] <Ryan-Toast> yay?
1317: [21:51:41] <Ryan-Toast> A shiny piece of shit is still a piece of shit.
1318: [21:51:59] <antmas> Ryan-Toast: trust me, it's better than having half and half IE8 and IE9
1319: [21:54:00] <Jarrad> Ok so I have renderWith semi working. I'm using this code return $form->renderWith('ProductSearch', $returnArray); and I have a file called ProductSearch.ss in templates/Layout
1320: [21:55:07] <antmas> Ryan-Toast: what sucks is we use SiteMaps (ASP) which renders by default as spans :/
1321: [21:55:12] <antmas> so need to alter that first somehow
1322: [21:55:19] <Ryan-Toast> antmas: Ugh, sitemaps
1323: [21:55:38] <Ryan-Toast> WHY WOULDN’T YOU USE BLOCK ELEMENTS, I MAKES NO SENSE
1324: [21:56:10] * Jarrad_ has joined #silverstripe
1325: [21:57:40] <Ryan-Toast> My friends want to see X-Men in 3D, I don’t think we can be friends anymore
1326: [21:58:18] * Jarrad quit (Ping timeout: 240 seconds)
1327: [21:59:01] * simon_w quit (Quit: This computer has gone to sleep)
1328: [21:59:17] * simon_w has joined #silverstripe
1329: [21:59:43] <Stomach> Jarrad_ - that seems right?
1330: [22:00:09] * simon_w quit (Client Quit)
1331: [22:00:19] <Jarrad_> Sorry I DC'ed their for a bit
1332: [22:00:32] <Jarrad_> so basically the page i get is all the results correctly
1333: [22:00:43] * simon_w has joined #silverstripe
1334: [22:00:45] <Jarrad_> but nothing from the Page.ss template is rendered
1335: [22:00:56] <Jarrad_> if that makes any sense
1336: [22:01:06] <Ryan-Toast> Jarrad_: Is your template in Layout?
1337: [22:01:14] <Jarrad_> Yes
1338: [22:01:22] <Ryan-Toast> Hmm
1339: [22:01:43] <Stomach> oh, do ->renderWith(array('ProductSearch', 'Page), $returnArray)
1340: [22:01:51] <Ryan-Toast> $page->renderWith(array('MyPage', 'Page'));
1341: [22:01:52] <Ryan-Toast> ?
1342: [22:02:22] <Jarrad_> Perfect!
1343: [22:02:24] <Jarrad_> Thank you
1344: [22:05:42] * shellbackpacific has joined #silverstripe
1345: [22:06:54] * simon_w quit (Ping timeout: 240 seconds)
1346: [22:07:15] <Ryan-Toast> is this legit? http://www.sspaste.com/paste/show/537d201cd7912
1347: [22:10:02] <Stomach> what do you need to register a shutdown function for :S
1348: [22:10:02] * shellbackpacific quit (Ping timeout: 258 seconds)
1349: [22:11:16] <Ryan-Toast> Gets rid of all the spacing in the html
1350: [22:11:39] <Stomach> you cant regex html
1351: [22:11:46] <Ryan-Toast> Apparently you can
1352: [22:11:56] * UncleCheese_ has joined #silverstripe
1353: [22:12:13] <Stomach> lol
1354: [22:12:22] <Stomach> its not a good idea though
1355: [22:12:32] <Ryan-Toast> will it fuck things up?
1356: [22:12:42] <irogue> when a form is bounced back due to validation
1357: [22:12:50] <Stomach> one tag broken and the entire thing will break, yes
1358: [22:12:51] * novaweb quit (Quit: novaweb)
1359: [22:13:26] <irogue> what can I check against to know whether the user has landed on form direcrly or bounced back there due to invalid entries?
1360: [22:13:34] <Ryan-Toast> but look at that view source, it;’s beautiful: view-source:http://ryanpotter.co.nz/
1361: [22:13:56] <Stomach> oh if its for you then its all good
1362: [22:14:08] <Stomach> just don't put it on a site where a client can edit anything
1363: [22:14:11] <Ryan-Toast> Rekon I’llk run into problems in the future with it?
1364: [22:14:13] <Stomach> because they will fuck it up immediately
1365: [22:14:30] <Ryan-Toast> So fine for people who know how to actually build websites?
1366: [22:14:31] <Kingy> quick question. Images aren't loading on my site. I've cleared cache etc. I tried in a VM and it loaded perfectly fine. Ideas?
1367: [22:14:38] * simon_w has joined #silverstripe
1368: [22:14:41] <Stomach> yeah, and who are aware that that is running
1369: [22:14:55] <Ryan-Toast> Kingy: Check an igcognito window
1370: [22:14:59] <Ryan-Toast> incognito
1371: [22:15:17] <Stomach> or add hashpath to them
1372: [22:15:22] * novaweb has joined #silverstripe
1373: [22:15:25] <Stomach> https://github.com/heyday/silverstripe-hashpath
1374: [22:15:41] <Kingy> incognito still showing nothing
1375: [22:15:42] <Stomach> irogue - there should be a $Message element on the form ?
1376: [22:16:29] * UncleCheese_ quit (Ping timeout: 264 seconds)
1377: [22:17:55] <Ryan-Toast> Sooo I can’t login to my site…. http://ryanpotter.co.nz/Security/login?BackURL=%2Fadmin%2Fpages
1378: [22:18:14] <Jarrad_> Hey I have a related problem. My results are now rendering with ProductSearch and Page. But on Page.ss I have a number of includes that aren't being included on the result page now
1379: [22:18:54] <irogue> Stomach: the validation is FormField-level
1380: [22:18:55] <Stomach> custom Security_login.ss ?
1381: [22:18:59] * UncleCheese___ has joined #silverstripe
1382: [22:19:07] <Ryan-Toast> Stomach: Nope
1383: [22:19:10] <Stomach> irogue - unsure then :S
1384: [22:19:16] <Stomach> simon_w may know
1385: [22:19:44] * jenniferaslan quit (Ping timeout: 255 seconds)
1386: [22:19:48] <irogue> see, my problem is, during my form creation i'm querying an external source and doing a $form->loadDataFrom() to shove that data into the form
1387: [22:20:47] <irogue> a user then edits that data, hits save, validation on a field fails so it bounces back to the form page, which then grabs the data from CRM again and loads it in - wiping out everything they've entered, and putting "this form ain't valid" above perfectly valid (old) values
1388: [22:20:56] <Stomach> can you not just set a session variable "loaded" or something when you do that?
1389: [22:21:03] <Stomach> then check that to see if they have already had it loaded? and clear it out when the form submits
1390: [22:22:06] <irogue> Stomach: but then if they don't end up submitting, and come back to the form in a couple of minutes, it won't load any data in
1391: [22:22:39] <irogue> i'm sure there must be some kindof $this->NumberOfFieldsThatFailedCosYoureDerp but I can't see one
1392: [22:23:52] <ss23> "Aaron Carlino is a documentation champion but I will still expect everyone the company to contribute reasonable things"
1393: [22:23:55] <ss23> MUHAHAHAHAHAHAHHAHAA
1394: [22:23:56] <ss23> UncleCheese___: :D
1395: [22:24:57] <UncleCheese> hmm?
1396: [22:26:34] <simon_w> Wait, you're a documentation champion? So why haven't you written any docs before?
1397: [22:27:17] <irogue> hey simon_w, how am i managing to fucktard it above ^^
1398: [22:27:31] * Stomcch has joined #silverstripe
1399: [22:28:01] <simon_w> irogue, you're doing it wrong?
1400: [22:28:13] * bridgetm has joined #silverstripe
1401: [22:28:16] <simon_w> I'm still half asleep, summarise for me :p
1402: [22:28:33] * FrozenFire[alt] has joined #silverstripe
1403: [22:29:02] * Keeps has joined #silverstripe
1404: [22:29:44] <Stomach> getValidationErrorResponse ?
1405: [22:29:44] <Stomach> UncleCheese___ when is 3.1.6 being released?
1406: [22:29:51] * FrozenFire quit (Disconnected by services)
1407: [22:29:53] <Stomcch> woah laggy
1408: [22:30:29] * FrozenFire[alt] is now known as FrozenFire
1409: [22:30:50] <irogue> simon_w: am propogating form with loadDataFrom() but it's overwriting existing entered values if we land at the form due to validation failures
1410: [22:31:19] <irogue> need to check whether we're landing at form fresh or bounced back to it from validation
1411: [22:32:11] <simon_w> irogue, just call $form->setupFormErrors(); after loadDataFrom()
1412: [22:34:23] <UncleCheese___> ss23: who said i was a documentation champion?
1413: [22:35:46] <Keeps> Hey. Anyone show me where I'm going wrong here? I got a class decorating Member, with a many-many relationship, Buildings, to a DO called Building. I'm creating a gridField - $gridField = new GridField("Buildings", "Buildings", $this->Buildings(), $config) - and adding that to a tab. But when I go to the member area in the back-end, I get - Call to undefined method MemberDecorator::Buildings()
1414: [22:36:17] <Keeps> I've done a dev/build
1415: [22:36:22] <Stomcch> $this->owner->Buildings()
1416: [22:37:02] <Keeps> ahhh is that cos I'm decorating?
1417: [22:37:07] <Keeps> thanks btw
1418: [22:37:07] <Stomcch> yep :(
1419: [22:37:09] <Stomcch> :)
1420: [22:37:11] <Stomcch> :D
1421: [22:37:32] <Keeps> BINGO!!! cheers Stomcch :D
1422: [22:38:05] * Stomach quit (Ping timeout: 265 seconds)
1423: [22:38:14] * Stomcch is now known as Stomach
1424: [22:41:33] * novaweb quit (Quit: novaweb)
1425: [22:42:41] <Jarrad_> Ok so I have discovered a bit more related to rendering my form with
1426: [22:42:42] <Jarrad_> return $form->renderWith(array('ProductSearch', 'Page'), $returnArray);
1427: [22:42:53] <Jarrad_> Basically any variables on Page.ss are null
1428: [22:44:16] <simon_w> Jarrad_, well, you're just rendering the form, not the page
1429: [22:44:18] * Keeps quit (Ping timeout: 240 seconds)
1430: [22:46:14] <ss23> UncleCheese___: :D
1431: [22:46:16] <ss23> UncleCheese___: Secret!
1432: [22:48:20] * UncleCheese quit (Quit: UncleCheese)
1433: [22:48:21] * UncleCheese___ is now known as UncleCheese
1434: [22:50:25] * cloph_away has joined #silverstripe
1435: [22:52:43] * travis-ci has joined #silverstripe
1436: [22:52:43] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2599 (master - a263bed : Hamish Friedlander): The build passed.
1437: [22:52:43] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/ec578e5c8a67...a263bed937af
1438: [22:52:43] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/25739289
1439: [22:52:43] * travis-ci has left #silverstripe
1440: [22:54:41] * Colin[pi] has joined #silverstripe
1441: [22:54:52] * jenniferaslan has joined #silverstripe
1442: [22:55:34] * cloph quit (Remote host closed the connection)
1443: [22:59:00] <Colin[pi]> moin moin
1444: [22:59:41] * Kingy is now known as Kingy[a]
1445: [23:00:16] * simon_w|air has joined #silverstripe
1446: [23:00:30] <Stomach> hey Colin
1447: [23:00:34] <Stomach> how goes it
1448: [23:01:02] * Kingy[a] is now known as Kingy
1449: [23:01:23] <Colin[pi]> good thanks!
1450: [23:01:30] * UncleCheese quit (Quit: UncleCheese)
1451: [23:02:38] * UncleCheese_ has joined #silverstripe
1452: [23:03:01] <antmas> Colin[pi]: HOWDY
1453: [23:03:22] <Colin[pi]> HI ANTMAS :D
1454: [23:06:08] <simon_w|air> Download faster, dammit!
1455: [23:06:19] <Colin[pi]> ooh Watch_Dogs comes out in 6 days
1456: [23:06:54] * shellbackpacific has joined #silverstripe
1457: [23:08:24] <antmas> Colin[pi]: hmmmm, my PC probably isn't up to that one
1458: [23:08:29] <antmas> maybe at 720p
1459: [23:08:32] <Colin[pi]> looks freakin amazing
1460: [23:08:35] <Ryan-Toast> Colin[pi]: I’m not even excited about it anymore.
1461: [23:08:41] <Ryan-Toast> Been so long
1462: [23:08:48] <Ryan-Toast> The hype train has derailed
1463: [23:08:59] <antmas> yeah well that happens with all Ubi games
1464: [23:09:02] <Colin[pi]> yeah
1465: [23:09:12] <Colin[pi]> waited extra for DX:HR and loved it
1466: [23:09:40] <Colin[pi]> imagine how complicated these titles are though?
1467: [23:11:22] * shellbackpacific quit (Ping timeout: 258 seconds)
1468: [23:12:12] <antmas> Colin[pi]: depends on the engine really, which are really easy to use these days. It's mostly design and screenplay that takes forever
1469: [23:12:41] <Kingy> As long as WWE 2k15 comes out with a new engine i'll be happy :)
1470: [23:12:44] * Colin[pi] awaits antmas' AAA game title ;)
1471: [23:12:51] <antmas> :P
1472: [23:12:54] <Stomach> its really easy
1473: [23:13:01] <Stomach> you just need to get the design and screenplay done!
1474: [23:13:10] <Colin[pi]> it codes itself!
1475: [23:13:11] <Colin[pi]> ;D
1476: [23:13:18] * guci0 quit (Ping timeout: 240 seconds)
1477: [23:13:27] <antmas> YOU KNOW WHAT I MEAN
1478: [23:13:28] <antmas> :D
1479: [23:13:33] <Colin[pi]> hehe
1480: [23:13:44] <Colin[pi]> mmm I'm at about the minimum specs for Watch_Dogs :\
1481: [23:14:03] <Colin[pi]> well, no
1482: [23:14:05] <Colin[pi]> mid-range I spose
1483: [23:14:23] <Colin[pi]> hmm should I purchase or no
1484: [23:14:30] <Stomach> pirate it first, see if it runs
1485: [23:14:35] <Stomach> then buy it if it does
1486: [23:14:37] <Colin[pi]> hmm good point
1487: [23:14:59] <antmas> that's usually what I do
1488: [23:15:38] <Kingy> and by usually you mean you pirate it and play it.. end of ?
1489: [23:16:09] <Stomach> I sent an author $50 last night because I enjoyed the books I stole so much
1490: [23:16:21] <Ryan-Toast> Stomach: good for you, man
1491: [23:16:33] <antmas> Stomach: Yeah I do the same
1492: [23:16:47] <Ryan-Toast> I just…buy my books
1493: [23:17:06] <Ryan-Toast> They’re like $4
1494: [23:17:14] <Colin[pi]> Ryan-Toast: never google for "Index of ebooks"
1495: [23:17:22] <Colin[pi]> you can find a TON of stuff for free
1496: [23:17:22] <antmas> I have a pretty specific list of authors I know are good so I pay them
1497: [23:17:26] <Ryan-Toast> Colin[pi]: Well aware :P
1498: [23:17:30] <Colin[pi]> hehe
1499: [23:18:02] <antmas> but I don't buy physical books anymore as most are produced with shitty quality bindings etc
1500: [23:18:10] <antmas> acid paper etc
1501: [23:18:25] <Ryan-Toast> I like my ereader, it doesn’t hurt my hands after hours of reading.
1502: [23:18:41] <antmas> Ryan-Toast: +1
1503: [23:18:44] <Ryan-Toast> And I can read one handed on my side
1504: [23:18:46] <Stomach> what I really want is a helmet with a stick on it that holds it for me
1505: [23:18:46] <Colin[pi]> I have a little ereader but tbh I've just been using the ipad mostly
1506: [23:18:53] * jordanmk has joined #silverstripe
1507: [23:19:05] <Colin[pi]> Stomach: google glass?
1508: [23:19:06] <Ryan-Toast> Colin[pi]: I don’t like reading on LCDs, inkscreen or bust.
1509: [23:19:07] <Colin[pi]> ;)
1510: [23:19:17] <jordanmk> hey guys
1511: [23:19:21] <Colin[pi]> Ryan-Toast: mm I prefer the epaper
1512: [23:20:03] <antmas> I don't mind LCDs
1513: [23:20:09] <antmas> I read on my ipad usually
1514: [23:20:20] <Colin[pi]> antmas: dat retina screen
1515: [23:20:26] <Ryan-Toast> Nearly finished this: https://www.goodreads.com/book/show/45108.Fool_s_Fate Would recommend to others.
1516: [23:21:23] <Stomach> Ryan-Toast - I just finished up this: https://www.goodreads.com/book/show/13453029-wool-omnibus?from_search=true
1517: [23:21:33] <Stomach> am reading the prequel now too
1518: [23:21:51] <Stomach> in amongst trying to read all of those top 100 lists - so far the best one has been All quiet on the western front
1519: [23:21:56] <Ryan-Toast> Stomach: what’s it about?
1520: [23:22:11] <Ryan-Toast> Stomach: Me too :D I’m reading the top 100 fantasy books of all time
1521: [23:22:13] <Stomach> its like Fallout, in a book
1522: [23:22:21] <Ryan-Toast> Stomach: That sounds awesome.
1523: [23:22:36] <Stomach> basically future where the earth is scorched/whatever and the last humans live in 50 silos
1524: [23:23:09] <Ryan-Toast> Stomach: is tit foir adults?
1525: [23:23:14] <Ryan-Toast> it**
1526: [23:23:14] <antmas> I've been diggin some short stories lately
1527: [23:23:14] <Stomach> yeah
1528: [23:23:20] <Ryan-Toast> Stomach: sweet.
1529: [23:23:38] <Ryan-Toast> I hate when you read a book and think “”Man this would be way better if it were for older audiences"
1530: [23:23:49] <antmas> http://www.goodreads.com/book/show/15788399-shotguns-v-cthulhu
1531: [23:23:53] <antmas> Loving this ^^^
1532: [23:23:57] <Stomach> yeah its not like every maurice gee book ever
1533: [23:24:04] <Stomach> man I wish Halfmen of O was for adults
1534: [23:24:41] <Ryan-Toast> Add me on goodreads :D https://www.goodreads.com/user/show/16772158-ryan-potter
1535: [23:24:44] * mediacorpjack has joined #silverstripe
1536: [23:24:50] <Stomach> I don't have one, maybe its time
1537: [23:25:16] <Stomach> I usually just post what I'm reading on GP: http://www.gpforums.co.nz/threads/258077-what-are-you-currently-reading/page78
1538: [23:25:48] <antmas> woah, GP! Stomach you hippy
1539: [23:25:59] <mediacorpjack> Hi there, Im trying to extend siteconfig http://doc.silverstripe.org/framework/en/reference/siteconfig which says to update the config.yml in framework/en/topics/configuration.
1540: [23:26:11] <mediacorpjack> my /framework dir doesnt have an en folder though
1541: [23:26:45] <Stomach> Hi mediacorpjack - it doesn't mean that file, it means the one in mysite/_config/
1542: [23:26:50] <Stomach> its just a broken link
1543: [23:26:54] <mediacorpjack> oh right
1544: [23:26:56] <mediacorpjack> thanks :)
1545: [23:27:05] <mediacorpjack> and i just add it onto the end of the other options?
1546: [23:27:11] <Stomach> antmas - why hippy :S been called a lot of things for reading GP, but never a hippy
1547: [23:27:16] <Stomach> mediacorpjack - thats correct
1548: [23:27:47] <antmas> Stomach: a term of endearment I use
1549: [23:27:47] <mediacorpjack> cool thanks for the help
1550: [23:27:51] <antmas> :P
1551: [23:28:03] <Stomach> haha, most of my best friends I met through GP
1552: [23:28:10] <antmas> Stomach: I spent a lot of time on there back in the day
1553: [23:28:19] <antmas> and then I moved to Giantbomb
1554: [23:28:44] <Stomach> what was your username?
1555: [23:28:44] <antmas> Vodun
1556: [23:28:48] <Stomach> dont remember :(
1557: [23:28:52] <antmas> I haven't been able to dig up my old posts though :(
1558: [23:30:40] <Stomach> lol, probably for the best
1559: [23:30:42] <Ryan-Toast> Stomach: we’re bros now.
1560: [23:30:46] <Stomach> wooo
1561: [23:30:56] <Stomach> I'll go through tonight and do the initial brain dump
1562: [23:31:26] <Ryan-Toast> I read so many books when I was younger, and I can’t remember their titles :P
1563: [23:31:35] <Ryan-Toast> I’d just go eny meeny miny moo at the libary.
1564: [23:31:41] <Ryan-Toast> library
1565: [23:32:27] <Stomach> can you use functionality from Page_Controller in Shortcodes?
1566: [23:32:58] <Stomach> I guess my class isn't extending it, so no
1567: [23:33:22] <Stomach> but then, is it legit to have class Shortcodes extends Page_Controller
1568: [23:33:45] <antmas> Ryan-Toast: I signed up for GoodReads
1569: [23:33:55] <Ryan-Toast> antmas: Swish
1570: [23:34:08] <antmas> I need a better way of keeping track of books and graphic novels etc
1571: [23:34:30] * Jarrad_ quit (Quit: Page closed)
1572: [23:35:02] <Colin[pi]> antmas: do you have the Manga Rock app?
1573: [23:35:12] <antmas> Colin[pi]: nup
1574: [23:35:25] <Colin[pi]> love it on the ipad, soo much manga
1575: [23:35:36] <antmas> not super into manga
1576: [23:35:43] * UncleCheese___ has joined #silverstripe
1577: [23:35:46] <Colin[pi]> oh.. "graphic novels" ;P
1578: [23:35:53] <Colin[pi]> but yeah I know what you mean
1579: [23:36:19] <antmas> :P
1580: [23:36:36] <antmas> I'm just obsessed with Lovecraft and old horror/weird fiction
1581: [23:38:11] <Stomach> anyone - is there a way to use a $TemplateCall in shortcodes without ... don't worry
1582: [23:38:18] <Stomach> just pass it in the render function
1583: [23:38:19] <Stomach> >_<
1584: [23:39:44] <antmas> Stomach: Ryan-Toast any recs for a css drop down menu?
1585: [23:40:02] * novaweb has joined #silverstripe
1586: [23:40:14] <Ryan-Toast> anmas: display none, then display block :P
1587: [23:40:32] <Stomach> .transition(.6s);
1588: [23:40:34] <Stomach> "{
1589: [23:40:35] <Stomach> :D
1590: [23:40:42] <Ryan-Toast> Stomach: bugs in ff
1591: [23:40:48] <Ryan-Toast> unfortunately
1592: [23:41:05] <antmas> Ryan-Toast: do you have any examples?
1593: [23:41:06] <antmas> :P
1594: [23:41:12] <Ryan-Toast> and you can’t add transitions to display none elements
1595: [23:41:35] <Ryan-Toast> you have to tansform it to be 0m,0 then 3d transform it back to 100%
1596: [23:45:43] <Stomach> and this is why I'm not a front end dev
1597: [23:45:51] <Ryan-Toast> antmas: http://codepen.io/anon/pen/wsnAa
1598: [23:45:59] * Keeps has joined #silverstripe
1599: [23:46:39] <antmas> Ryan-Toast: swish, cheers
1600: [23:46:47] * UncleCheese___ quit (Quit: UncleCheese___)
1601: [23:48:46] <Ryan-Toast> antmas: http://codepen.io/anon/pen/dtuxc
1602: [23:53:15] * shellbackpacific has joined #silverstripe
1603: [23:57:45] * shellbackpacific quit (Ping timeout: 258 seconds)

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