#silverstripe IRC Log

IRC log for 13 August 2013

All timestamps are in UTC.

1: [00:00:25] <hamror> thanks a lot Pyromanik
2: [00:01:17] <ss23> I think I can hack it by using 'MetaTags'
3: [00:01:19] <ss23> lol
4: [00:01:24] <ss23> this feels *dirty*
5: [00:02:17] <ss23> Hmm
6: [00:03:56] <ss23> Where dose the result from getCMSFields get stored (for maniuplation later etc)
7: [00:04:33] <ss23> q!
8: [00:04:36] <ss23> asdfasdf
9: [00:06:45] <Colin[pi]> omg I got wkhtmltopdf working on my vps, I'm a freakin whizz kid
10: [00:07:28] <ss23> WHIZ MY CODE INTO WORKING THEN, KID
11: [00:07:31] <ss23> raggeeee
12: [00:08:46] * Colin[pi] takes a whiz on ss23's code
13: [00:08:51] <ss23> :<
14: [00:08:53] * zippy__ quit (Ping timeout: 240 seconds)
15: [00:08:54] <Colin[pi]> did it work???
16: [00:10:26] <ss23> nope
17: [00:11:24] <Colin[pi]> :C
18: [00:12:17] <Peavers> Don't worry, ss23s code never works.
19: [00:12:23] <Peavers> citation: newsletter module.
20: [00:12:46] * will_ has joined #silverstripe
21: [00:13:08] <Colin[pi]> lol
22: [00:13:10] * will_ is now known as Guest40473
23: [00:14:47] <Guest40473> hello
24: [00:15:13] <Guest40473> iv'e uploaded my site to our staging server. all seems more or less ok, except some pages don't load in the admin
25: [00:15:51] <Guest40473> reports, media and files seem to be the worse offenders, but the whole thing is being a bit flakey
26: [00:15:55] <Guest40473> what have i done wrong?
27: [00:16:02] <atmos> de/build + ?flush?
28: [00:16:05] <atmos> dev*
29: [00:16:14] <Guest40473> Iv'e checked all my code files, no whitespace
30: [00:16:21] <Guest40473> ive done a flush = all
31: [00:16:37] <Peavers> done a build?
32: [00:16:43] <Guest40473> doing that now
33: [00:17:09] <Guest40473> hasn't fixed it
34: [00:17:32] <atmos> have a look at the error logs - or hit up Firebug and see what calls are failing
35: [00:17:35] <Guest40473> i also went in and deleted everything in the silverstripe-cache dir
36: [00:17:59] <Guest40473> console dosn't show any js errors
37: [00:18:44] <Peavers> what version of ss?
38: [00:20:39] <Guest40473> 3.1 dev
39: [00:20:46] <Guest40473> so you know, you takes your chances..
40: [00:21:28] <Guest40473> clicking settings, doesn't load settings, no js error, 200 response with a bunch of html returned
41: [00:23:05] <Guest40473> one thing i noticed, i checked all my code files (mysite/code ) for encoding. They were all western iso. I changed them to utf8 but they are changing back to western ISO. related?
42: [00:26:48] * catcher quit (Quit: Leaving)
43: [00:30:53] <UncleCheese> how come you can't do this
44: [00:31:04] <UncleCheese> MyObject::get()->distinct('FieldName');
45: [00:55:04] * Bollig|DesignCty has joined #silverstripe
46: [00:59:51] * UncleCheese quit (Quit: UncleCheese)
47: [01:04:29] * UncleCheese has joined #silverstripe
48: [01:05:13] <Guest40473> if a debatepage has_one address, what is the name of the field to be able to add & connect the address when editing the debatepage? I'm sure SS does this but i can't find it anywhere
49: [01:09:12] <atmos> this iPhone 5C thing is so dumb
50: [01:09:26] <atmos> 'budget' = $50 less for us I bet
51: [01:11:10] <atmos> Guest40473: Are you trying to create a new field?
52: [01:11:33] <Pyromanik> all them 3.1s
53: [01:12:12] <Pyromanik> GS error
54: [01:12:17] <Pyromanik> JS* Guest40473
55: [01:12:22] <Pyromanik> silent fails
56: [01:12:43] <Pyromanik> sounsd like some selector somewhere is failing so the switchy of contents never happens
57: [01:13:05] <Pyromanik> but also not an error
58: [01:14:03] <Peavers> ffs just spent two weeks trying to solve a .net app issue, after calling ~100 people and talking to every man and his dog, sleepless nights, high stress meetings, turns out someone put an extra "L" in the server name when giving us the details.
59: [01:14:06] <Peavers> gg my life.
60: [01:14:56] <atmos> Peavers: was there no error messages or anything?
61: [01:15:18] <atmos> Peavers: on the .net side - or did they just pass you details of a connection string?
62: [01:15:38] <Peavers> bit of both sides
63: [01:15:51] <Peavers> I knew it was a connection error, but was assured the connection string was correct
64: [01:16:15] <atmos> Peavers: seems weird - .net is pretty specific when it comes to conn strings
65: [01:19:47] <atmos> Peavers: as a .net guy - I would have to say 90% of my problems have involved something off in the web.config file - notable connection strings
66: [01:19:52] * UncleCheese quit (Quit: UncleCheese)
67: [01:19:52] <atmos> notably*
68: [01:20:20] <Peavers> yup
69: [01:20:25] <Peavers> and that was the problem
70: [01:20:46] <Peavers> but when everyone you talk to gives you a string, and the string is the same from all the people, and they all are sure its correct...
71: [01:21:05] <Peavers> but you know its wrong, or you're getting blocked via AD to the server or the firewalls causing issues etc
72: [01:21:17] <Peavers> its a tiring process to get to the bottom of it
73: [01:21:30] <Peavers> nobody wants to admit they are wrong and go back and actually check these things
74: [01:21:38] <atmos> Peavers: that would be a big slap on the wrist for those guys - it's pretty easy to catch that
75: [01:22:45] <atmos> Peavers: can you say who built whatever it is?
76: [01:23:07] <Peavers> was all internal
77: [01:23:24] <atmos> Peavers: ouch
78: [01:23:31] <Peavers> yup.
79: [01:24:52] <Peavers> prob the first time in my career I've been genuinely annoyed
80: [01:26:56] <Guest40473> atmos: yep
81: [01:28:14] <Guest40473> Pyromanik: yep, i thought that. Do you think i should be looking at my code or might it be a SS bug? trying to think what i might have done to upset it.
82: [01:32:17] <atmos> Guest40473: and you're looking to add the field to the CMS for debatepage?
83: [01:32:32] <Guest40473> yep thats right
84: [01:33:07] <Guest40473> where debatePage has_one address
85: [01:33:19] <Guest40473> gridfield?
86: [01:33:52] <atmos> Guest40473: what have you got in your getCMSFields function?
87: [01:34:22] <Guest40473> $address_field = new GridField( 'Address', 'Address', $this->Address(), GridFieldConfig_RelationEditor::create() ); $gridField = new GridField('images', 'Linked images', $this->Images(), GridFieldConfig_RelationEditor::create());
88: [01:34:27] <Guest40473> $fields->addFieldToTab('Root.Address', $address_field);
89: [01:34:33] <Guest40473> and loads of unrelated stuff
90: [01:34:54] <Guest40473> but thats giving me an error and im not sure its even the right thing to be using
91: [01:34:55] <atmos> Guest40473: use this to paste your code and copy the link to it here http://oceanexplorer.noaa.gov/okeanos/media/exstream/exstream_04.html
92: [01:35:03] <atmos> Guest40473: sorry, www.sspaste.com
93: [01:35:16] * mirrors has joined #silverstripe
94: [01:35:25] <Guest40473> that first one is a cool site though : )
95: [01:35:42] <mirrors> hey guys...i just noticed the enum "Status" is missing from the SiteTree table now...how can I find out the current status of the page
96: [01:36:00] <Guest40473> http://www.sspaste.com/paste/show/52098ca1561a9
97: [01:40:18] <atmos> Guest40473: I'm off to a meeting - so I won't be much use sorry - there is good help on here though - everyon'e is probably still at lunch
98: [01:40:36] <Pyromanik> nearly 2pm!
99: [01:40:49] <atmos> Pyromanik: XD
100: [01:41:00] <Pyromanik> dem some late lunches
101: [01:42:03] * atmos quit (Quit: Page closed)
102: [01:45:42] * willr_ has joined #silverstripe
103: [01:47:34] <ss23> 12:12:17 < Peavers> Don't worry, ss23s code never works.
104: [01:47:34] <ss23> 12:12:23 < Peavers> citation: newsletter module.
105: [01:47:44] <ss23> PEBKAC
106: [01:48:16] <Peavers> rubbish.
107: [01:52:04] * howardgrigg quit (Remote host closed the connection)
108: [01:55:15] * UncleCheese has joined #silverstripe
109: [01:58:15] <Pyromanik> D:
110: [01:58:18] <Pyromanik> * @todo Re-implement cookie and member option
111: [01:58:23] <Pyromanik> ss23: halp
112: [01:58:54] <ss23> halp
113: [01:58:55] <ss23> what do
114: [01:58:59] <Pyromanik> indeed!
115: [01:59:02] <ss23> Dude I already have like 99999x issues
116: [01:59:09] <Pyromanik> ikr
117: [01:59:15] <Pyromanik> I'm just
118: [01:59:18] <Pyromanik> idek
119: [01:59:20] <ss23> lol
120: [02:01:00] <Pyromanik> I'm trying to change langs using ?locale=en_GB
121: [02:01:03] <Pyromanik> but no sticky
122: [02:01:12] <ss23> I don't think it's sticky if you do it like that
123: [02:01:29] <ss23> if you're logged in, change your locale in your CMS settings section
124: [02:01:29] <Pyromanik> yeh, that's where my copy paste docbloc comes from
125: [02:01:32] <Pyromanik> and I was all D:!
126: [02:01:38] <ss23> :<
127: [02:01:43] <Pyromanik> I'll have to self session
128: [02:01:45] <Pyromanik> :q
129: [02:11:26] <Pyromanik> hooray Session::x
130: [02:11:28] <Pyromanik> :D
131: [02:11:31] <Pyromanik> thanks ss23
132: [02:11:39] <Pyromanik> for your helps
133: [02:12:30] * Stomach quit (Quit: Leaving.)
134: [02:12:54] * coldblooded01 quit (Quit: coldblooded01)
135: [02:16:41] <ss23> yay
136: [02:16:42] <ss23> :D
137: [02:16:44] * ss23 helping!
138: [02:19:52] * Stomach has joined #silverstripe
139: [02:21:09] * atmos has joined #silverstripe
140: [02:37:33] * Pyromanik winning!
141: [02:37:56] * Pyromanik is wearing a (plastic toy) fireman's helmet at his desk.
142: [02:38:14] <ss23> o.o
143: [02:38:16] <ss23> weirdo!
144: [02:38:22] <Pyromanik> I'm the fireman for the day!
145: [02:38:26] <ss23> XD
146: [02:38:27] <Pyromanik> (I'm basically you)
147: [02:39:11] <ss23> o.o
148: [02:39:14] <ss23> Why am I a fireman?
149: [02:39:17] <ss23> ARE YOU TRYING TO CALL ME HOT?
150: [02:41:03] <Pyromanik> we were getting inundated with small support requests
151: [02:41:16] <Pyromanik> projects weren't getting much space to get worked on
152: [02:41:42] <Pyromanik> so now we have a dedicated firefighter each day, running around putting out all the little support fires clients love to light
153: [02:41:55] <ss23> oic, lol
154: [02:41:55] <ss23> XD
155: [02:41:57] <Pyromanik> rest of the team gets to work on projects
156: [02:42:02] <Pyromanik> today I am the fireman.
157: [02:42:07] <ss23> Yes, I am a fireman
158: [02:42:15] <ss23> :D
159: [02:42:25] <Pyromanik> and we got the admin lady to score us a fireman's hat
160: [02:42:53] <ss23> ;)
161: [02:42:54] <ss23> She cute/
162: [02:43:07] <Pyromanik> so we have this thin plastic thing from the warehouse that has a label saying "remove all labels before letting your child play with this toy" inside it.
163: [02:43:32] <Pyromanik> along with "WARNING: does not provide protection - toy only"
164: [02:44:53] <Pyromanik> o.0 If you're the greasy fellow who owns the resturant we went to last year for mid year celebrations, then yeah, you might find her cute.
165: [02:45:19] <Pyromanik> but over 40, married with 2 kids is not really my thing.
166: [02:45:38] <atmos> uggghhh - don't use bright blue text in emails.
167: [02:45:38] <Pyromanik> you slippery customer you, ss23
168: [02:45:57] <Pyromanik> rofl atmos, IT'S RETINA DISPLAY
169: [02:45:59] <Pyromanik> get it?
170: [02:46:04] <Pyromanik> f i'm good
171: [02:46:06] <Colin[pi]> did I see something the other day about Swipestripe changing it's licensing?
172: [02:47:08] <atmos> Pyromanik: haha, it's like everything is linked
173: [02:47:59] <Pyromanik> the bright blue text helps burn it into your retinas, thus, a retina display. Now you can join the cool kids club.
174: [02:48:09] <Pyromanik> Colin[pi]: yes, is now BSD3
175: [02:48:24] <Pyromanik> https://github.com/frankmullenger/silverstripe-swipestripe/commit/a3590b6ba1ad9494bdcee1bff7305fce783fd016
176: [02:49:16] <Colin[pi]> oooh interesting
177: [02:49:35] <Colin[pi]> I need to build an e-comm site soon and still deciding on platform
178: [02:50:34] <atmos> Colin[pi]: Shopify? I'm keen to give it a go soon
179: [02:50:45] <Pyromanik> foxycart
180: [02:50:55] <Colin[pi]> not sure, most of the store is fairly standard, but there's some weird shipping options
181: [02:51:01] <Colin[pi]> and I need to use EWAY
182: [02:51:17] <Pyromanik> a fella named Chris from Washington State or BC Canada (one of them in that area) made a module
183: [02:51:22] <Pyromanik> oh
184: [02:51:46] <Pyromanik> Colin[pi]: look to see if there's a gateway module for eway
185: [02:51:51] <Pyromanik> for the payment module
186: [02:52:01] <Pyromanik> if there's not, you'll probably have to either make one or look somewhere else
187: [02:52:30] * zippy__ has joined #silverstripe
188: [02:52:44] <ss23> 14:45:18 < Pyromanik> but over 40, married with 2 kids is not really my thing.
189: [02:52:50] <ss23> eh eh, what about daugthers then? ;)
190: [02:55:36] <Colin[pi]> thanks Pyromanik I'll have a look
191: [02:56:45] <ss23> If I wobble my legs I can get some mean ressonnce going on that wobbles the desks like a mini earthquake :D
192: [03:02:31] * howardgrigg has joined #silverstripe
193: [03:04:09] <Pyromanik> ss23: I'm no kiddyfiddler you sicko.
194: [03:04:33] <Pyromanik> ss23: haha, resonance, gw
195: [03:06:44] <irogue> 40 year old's kids could be like 24...
196: [03:06:53] <ss23> Pyromanik: Dude what? You said she's 40. Assuming she has a kid around the normal age of ~20 or so, the kid is going to be ~20 too
197: [03:06:58] <ss23> idk what you consider kids if 20 counts
198: [03:07:05] * howardgrigg quit (Ping timeout: 256 seconds)
199: [03:07:18] <irogue> ss23: i think you would get along with Elon Musk
200: [03:07:30] <ss23> cause we both have awesome crazy ideas and shit?
201: [03:07:32] <irogue> reading the Hyperloop paper
202: [03:07:34] <irogue> "Short of figuring out real teleportation, which would of course be awesome
203: [03:07:34] <ss23> "man, what if teleporters"
204: [03:07:37] <irogue> (someone please do this)"
205: [03:07:39] <ss23> hahhaha
206: [03:07:43] <ss23> yes
207: [03:07:45] <ss23> I'm telling you man
208: [03:07:47] <ss23> teleporters.
209: [03:08:06] <irogue> as soon as i read that line, especially with the "(someone please do this)", i thought of you
210: [03:08:53] <ss23> :D
211: [03:11:54] <Colin[pi]> aww how touching
212: [03:12:12] <irogue> <3
213: [03:14:05] <Colin[pi]> NOW SPOON
214: [03:16:16] * ss23 sends a pull request ;)
215: [03:16:25] * peter_ss has joined #silverstripe
216: [03:16:42] <peter_ss> guys how can i customize the security_login.ss template?
217: [03:19:40] <hamror> hey guys i'm getting told by SS that getOsp doesn't exist, have i got my actions vs method names round the wrong way http://bpaste.net/show/jb54PKiEuxeXhDLpriuL/
218: [03:19:50] <hamror> "The action 'getOsp' does not exist in class Webservice"
219: [03:31:30] <hamror> i guess i don't understand how to actually access $Name later in the method
220: [03:32:15] <hamror> ahh, param, sorry
221: [03:34:39] <Pyromanik> hamror: not sure what you're asking.
222: [03:34:51] <Pyromanik> getBlah will let you do $Blah in the themplates
223: [03:34:56] <Pyromanik> err, templates
224: [03:35:26] <irogue> peter_ss: just put a template called Security_login.ss (the capital S is important)
225: [03:35:26] <Pyromanik> it would probably also work as an action if you add 'getBlah' to your $allowed_actions
226: [03:35:47] <Pyromanik> ss23: well you're wrong. Primary school.
227: [03:35:52] <irogue> peter_ss: with $LoginForm where you want the form
228: [03:35:59] <ss23> Pyromanik: ... ;) it could work
229: [03:36:04] <Pyromanik> wee
230: [03:36:07] <Pyromanik> eww*
231: [03:36:12] <Pyromanik> dude, wtf
232: [03:36:15] <peter_ss> also is it possible to add a custom tab and fields to the main settings tab of admin?
233: [03:36:17] <ss23> XD
234: [03:36:35] <hamror> Pyromanik: trying to work out how to access say, $Name in getOsp given the url handler i have defined as 'osp/$ID/$Name/' => 'getOsp'
235: [03:36:56] <hamror> a var_dump of $request shows it in 'OtherID' rather than something named after Name
236: [03:37:04] <hamror> so i think i'm missing something basic
237: [03:37:50] <ss23> hamror: http://doc.silverstripe.org/framework/en/topics/controller implies it should be in uh
238: [03:37:58] <ss23> well it doesn't say where, because those docs are *crap*
239: [03:38:02] * cloph has joined #silverstripe
240: [03:38:14] <hamror> yeah i've tried my best to digest the docs but i'm a bit lost at times
241: [03:38:40] * cloph_away quit (Ping timeout: 260 seconds)
242: [03:38:44] <hamror> the above function has an unscoped $arguments it's using
243: [03:38:52] <hamror> (in those docs)
244: [03:38:57] <ss23> Yeah, hamror, I noticed that too...
245: [03:39:02] <ss23> Someone needs to fix the docs :O
246: [03:40:08] * irogue nominates ss23
247: [03:40:19] <ss23> NU UH
248: [03:41:47] <ss23> irogue: WHAT THE FUCK
249: [03:41:50] <ss23> IS THAT THING YOU RETWEETED
250: [03:41:54] <ss23> irogue: WITH THE TREAD LIGHTLY
251: [03:41:55] <ss23> ;_;
252: [03:42:00] <hamror> so uhm
253: [03:42:21] <irogue> ss23: breaking bad reference
254: [03:42:24] <ss23> oic
255: [03:42:48] <hamror> i assume there is some kind of preprocessor / router splitting up this url fragment into some variables osmewhere based on my url handler entries
256: [03:44:44] * Stomach quit (Quit: Leaving.)
257: [03:48:10] <hamror> looks like the format is always Action ID OtherId ignoring what is passed into the url handler
258: [03:50:34] * Stomach has joined #silverstripe
259: [04:11:17] * Colin[pi] quit (Ping timeout: 248 seconds)
260: [04:11:59] * Colin[pi] has joined #silverstripe
261: [04:12:53] * zippy__ quit (Ping timeout: 240 seconds)
262: [04:13:58] * mirrors quit (Quit: Page closed)
263: [04:21:52] * ChaBuku has joined #silverstripe
264: [04:22:54] <ChaBuku> I finally got SS installed tonight
265: [04:25:02] <peter_ss> guys how can I add tabs and fields to the setting tab of ss admin?
266: [04:26:38] <Colin[pi]> peter_ss: http://doc.silverstripe.org/framework/en/reference/siteconfig
267: [04:29:04] <ChaBuku> just learning the syntax that the templating system uses, <% include Whatever %> should include Whatever.ss file in the templates Includes directory, correct?
268: [04:29:23] <Colin[pi]> ChaBuku: correct
269: [04:30:06] <ChaBuku> I tried renaming the Navigation.ss to Nav.ss and changing it within the Footer.ss include and it simply disappeared
270: [04:30:29] <Colin[pi]> did you do a ?flush=all ?
271: [04:30:52] <ChaBuku> You'll have to forgive me, I installed this about an hour ago, so I'm not sure how to do that. =)
272: [04:31:06] <Colin[pi]> ah, go to the site in your browser, and type ?flush=all after the URL
273: [04:31:20] <Colin[pi]> it will clear the cache and it should then find your include
274: [04:31:27] <ss23> It will clear *a* cache
275: [04:31:38] <Guest40473> hello
276: [04:31:54] <Colin[pi]> ss23: that too
277: [04:31:58] <ChaBuku> ah. I typically work with Chrome Dev tools open and have caching disabled, so I assume that is server side caching I'm flushing with that?
278: [04:32:25] <Guest40473> iv'e got a really very nice gridfield thing going on. I can clcick through to add or edit a person, and click back to get to the page.
279: [04:32:28] <Colin[pi]> ChaBuku: yes
280: [04:32:40] <atmos> Chrome -_-
281: [04:32:43] <Guest40473> is there a way to control which tab it goes back to?
282: [04:32:51] <ss23> Chrome best
283: [04:32:51] <ss23> :D
284: [04:33:04] <atmos> I have a love/hate relationship
285: [04:33:14] <ChaBuku> Awesome, that seemed to work well for me.
286: [04:33:16] <ss23> You love to hate it?
287: [04:33:16] <ss23> :P
288: [04:33:19] <Pyromanik> Guest40473: it should go back to the tab you were on
289: [04:33:22] <ChaBuku> I will remember that when I'm doing this.
290: [04:33:26] <ss23> ChaBuku: We have a sign up here in the toilets at SilverStripe
291: [04:33:29] <Pyromanik> if it doesn't... probably not (not easily at least)
292: [04:33:44] <ss23> ChaBuku: "Don't forget to flush?=1"
293: [04:33:46] <ss23> eep
294: [04:33:47] <Guest40473> hmm, ok. doesn't do that
295: [04:33:50] <ss23> ChaBuku: "Don't forget to ?flush=1"
296: [04:33:52] <ss23> :P
297: [04:34:06] <Pyromanik> ChaBuku: read through the tutorials on docs.silverstripe.org
298: [04:34:07] <irogue> will's most famous creation
299: [04:34:07] <Colin[pi]> haha
300: [04:34:09] <Pyromanik> they're very helpful
301: [04:34:18] <atmos> do you now need 'admin' rights to flush at work?
302: [04:34:45] <ChaBuku> I don't understand a lot of the different variables, but I'm really enjoying the file heirarchy and the functionality of this system
303: [04:35:16] <ChaBuku> Pyromanik: I've got about 3 tabs with different tutorials open right now.
304: [04:35:21] <Guest40473> Pyro: ok, thanks. Its quite just to know that its something i shouldn't even try to fix.
305: [04:35:37] <Guest40473> quite nice that is
306: [04:35:38] <ChaBuku> Is there a page that lists all the variables and their functions? =)
307: [04:35:51] <Colin[pi]> ChaBuku: good :) you'll learn to love it even with it's flaws, I'm always like "I'm sorry silverstripe, I didn't mean to fight..."
308: [04:37:00] <atmos> ChaBuku: Like me - who tries to use it for every type of website build
309: [04:37:49] <ChaBuku> I need to figure out how to change the default syntax display in Sublime now so that .ss files don't look dead because they display lisp syntax.
310: [04:38:03] <ChaBuku> I like colorful coding.
311: [04:38:27] <atmos> ChaBuku: dat black background
312: [04:39:45] <atmos> oh, hey rain
313: [04:40:13] * atmos quit (Quit: Page closed)
314: [04:41:00] * BPower has joined #silverstripe
315: [04:42:22] <BPower> Heyo! What db servers do y'all use/prefer with your SS install?
316: [04:42:38] <BPower> MySQL, SQL, PostgreSQL, or SQLite
317: [04:42:47] <Colin[pi]> MySQL here
318: [04:44:19] <ss23> what is "SQL"?
319: [04:44:23] <ss23> Was that meant to be "MSSQL"?
320: [04:44:35] <Pyromanik> ChaBuku: Scheme, actually.
321: [04:48:52] <hamror> what's the // mean in this (still trying to get to the bottom of this problem) static $url_handlers = array( '$Action//$ID/$OtherID' => 'handleAction'
322: [04:49:43] <hamror> i assume the default url_handlers (above) in Controller is overwriting my one
323: [04:52:21] * redstubble has joined #silverstripe
324: [04:54:45] <hamror> yeah the problem is the default url_handlers in the framework/control/Controllers
325: [05:03:14] * howardgrigg has joined #silverstripe
326: [05:05:47] * digitaldesign has joined #silverstripe
327: [05:06:04] * nickmolhoek quit (Quit: nickmolhoek)
328: [05:06:43] <BPower> ss23: yes
329: [05:07:26] * howardgrigg quit (Ping timeout: 240 seconds)
330: [05:09:09] * DigNZ quit (Quit: DigNZ)
331: [05:09:30] * Jayden90 has joined #silverstripe
332: [05:15:35] <Jayden90> Really wierd. A google maps iframe using the url hardcoded in the template loads, but loading the url via a cms field fails to load. The webkit inspector shows the exact same URL is being used.
333: [05:16:02] * Shrike_Finland has joined #silverstripe
334: [05:16:07] <Pyromanik> homes
335: [05:16:08] * Pyromanik quit (Quit: leaving)
336: [05:20:23] * Shrike_Finland quit (Ping timeout: 240 seconds)
337: [05:23:37] <BPower> Jayden90: don't look in inspector, hit "view source"
338: [05:23:53] <BPower> inspector prettyifies attributes
339: [05:25:39] <BPower> Can someone explain this line in the README.md for the "simple" theme?
340: [05:25:40] <BPower> HtmlEditorConfig::get('cms')->setOption('theme_advanced_styles', 'highlight=highlight;no-border=no-border,break=break');
341: [05:25:41] * Guest40473 quit (Ping timeout: 250 seconds)
342: [05:25:57] * willr_ quit (Quit: willr_)
343: [05:27:28] * Peavers quit (Ping timeout: 246 seconds)
344: [05:28:12] <Jayden90> BPower: Thanks for the tip, looks like silverstripe was outputing the string containing "&amp;" as "&"
345: [05:28:34] <BPower> Jayden90: try using $YourVar.RAW
346: [05:28:54] <BPower> But make sure it will always be safe.
347: [05:29:02] <ss23> You mean always be *unsafe* :P
348: [05:29:09] <ss23> Oh
349: [05:29:10] <ss23> WAit
350: [05:29:11] <ss23> I misread
351: [05:29:13] <ss23> SORRY PLEASE IGNORE
352: [05:29:14] <ss23> ;_;
353: [05:29:15] <BPower> Haha!
354: [05:30:02] <Jayden90> Jayden90: Mystery solved.
355: [05:30:08] <Jayden90> :D
356: [05:33:20] <BPower> Jayden90: awesome! Just be extra sure that the link is validated and encoded and secured before it hits the page.
357: [05:33:31] * peter_ss quit (Quit: Leaving.)
358: [05:38:18] * Stomach quit (Quit: Leaving.)
359: [05:46:00] <ChaBuku> On install it said I didn't have mod_rewrite enabled... my host tells me it is enabled, how can I check?
360: [05:48:24] <BPower> ChaBuku: do you have a cPanel host?
361: [05:48:29] <ChaBuku> Ya
362: [05:50:09] <BPower> I assume you already tried putting this on a line in your .htaccess file: RewriteEngine on
363: [05:50:51] <ChaBuku> Yes.
364: [05:51:20] <ChaBuku> Actually I'm thinking my host doesn't use Cpanel, or uses a highly skinned version of it.
365: [05:51:43] <ChaBuku> Not sure if I'm going to keep this host once my plan runs out
366: [05:52:06] * redstubble quit (Ping timeout: 276 seconds)
367: [05:52:07] <BPower> it's possible. it's been so long since I used cPanel, I pretty sure there's a config somewhere in there for that.
368: [05:53:12] <BPower> actually mod_rewrite is enabled by default on cPanel...
369: [05:53:29] <BPower> do you have access to your httpd.conf?
370: [05:53:37] <ChaBuku> I checked with the host tonight and they said it is enabled by default.
371: [05:53:41] <ChaBuku> I do not. I have a shared host
372: [05:53:42] * howardgrigg has joined #silverstripe
373: [05:54:41] <BPower> if you're able to at least view it, open it and search for rewrite_module and mod_rewrite and make sure those two lines are uncommented.
374: [05:55:15] * UncleCheese quit (Quit: UncleCheese)
375: [05:55:45] <ChaBuku> I don't think I can view it. I believe it is in a directory up from where I have access.
376: [05:56:31] <ChaBuku> I think that's what I saw in php info
377: [05:57:07] <BPower> ChaBuku: if you want, you can connect w/ me on Skype (nathanbrauer). You can send me a join.me and I can take a look.
378: [05:58:04] <ChaBuku> I would, but I'm actually working on this just before heading to sleep and my lady next to me probably wouldn't like that. hehe
379: [05:58:26] * howardgrigg quit (Ping timeout: 264 seconds)
380: [05:58:46] <BPower> We don't need to skype call. I just figured you didn't want to send a join.me invite to the entire IRC channel.
381: [05:58:53] <ChaBuku> Ah. cheers
382: [05:59:40] <BPower> :)
383: [06:00:02] * Shrike_Finland has joined #silverstripe
384: [06:31:51] <ChaBuku> Time for sleep 2:30am on the east coast. =)
385: [06:31:55] * ChaBuku quit (Quit: sleep.)
386: [06:33:05] * BPower falls asleep on his keybbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
387: [06:33:19] * BPower quit (Remote host closed the connection)
388: [06:35:14] * DigNZ has joined #silverstripe
389: [06:36:53] * DigNZ quit (Remote host closed the connection)
390: [06:56:37] * digitaldesign quit (Quit: digitaldesign)
391: [07:05:09] * peter_ss has joined #silverstripe
392: [07:10:38] * ARNHOE has joined #silverstripe
393: [07:12:35] * Guits has joined #silverstripe
394: [07:12:58] <Guits> Hi all, anyone know when ss3.1 is gonna be released?
395: [07:14:09] <Bollig|DesignCty> Guits: nope, when it's finished I think. They're up to rc1, so soon most likely (although things take time!)
396: [07:43:35] * Jayden90 quit (Quit: Jayden90)
397: [07:44:05] * peter_ss quit (Read error: Connection reset by peer)
398: [07:44:51] * peter_ss has joined #silverstripe
399: [07:46:35] * zippy__ has joined #silverstripe
400: [07:46:56] <zippy__> evening
401: [07:49:10] * peter_ss quit (Ping timeout: 245 seconds)
402: [07:51:25] <Colin[pi]> heya zippy
403: [07:51:37] * Valorez_ has joined #silverstripe
404: [07:51:57] <Valorez_> Hello! I need some help, please. I'm trying to add new group permissions, but they are not being added when doing a dev/build. I have no idea what's wrong. http://sspaste.com/paste/show/5208ca6920387
405: [07:56:35] <zippy__> Valorez_: Where in there are you doing permissions?
406: [07:56:40] <zippy__> Give me some line numbers
407: [07:56:45] <Valorez_> 1 sec
408: [07:56:46] <Valorez_> :)
409: [07:57:19] <Valorez_> 169-195
410: [08:01:16] * maknz has joined #silverstripe
411: [08:01:16] * maknz quit (Changing host)
412: [08:01:16] * maknz has joined #silverstripe
413: [08:02:40] * peter_ss has joined #silverstripe
414: [08:08:57] * kinglozzer has joined #silverstripe
415: [08:13:54] * den_ has joined #silverstripe
416: [08:13:58] <den_> hi support
417: [08:14:55] * den_ quit (Client Quit)
418: [08:15:26] * hen_ has joined #silverstripe
419: [08:15:33] <hen_> Hi support
420: [08:15:42] <hen_> need a help in validating cms fields
421: [08:15:51] <hen_> kindly help
422: [08:16:29] <hen_> validte a cms field which inpits myfield_id I need to check whther it is unique and return an error
423: [08:18:09] * aragonne has joined #silverstripe
424: [08:19:03] <aragonne> Hi guys, anyone know how to get GridField to use HTML in the field values?
425: [08:20:17] <aragonne> Looks like by default, GridField is escaping the HTML, e.g., <br /> becomes &lt;br /&gt;
426: [08:21:03] <hen_> Hi everybody kindly help validte a cms field which inpits myfield_id I need to check whther it is unique and return an error
427: [08:24:09] <Valorez_> I would help if I knew what to do, sorry hehe
428: [08:24:30] <Valorez_> This chat may be dead from time to time, especially at this hour (alot on vacation aswell) :) Just stay patient
429: [08:38:51] * peter_ss1 has joined #silverstripe
430: [08:38:56] * peter_ss quit (Read error: Connection reset by peer)
431: [08:42:16] <zippy__> aragonne: Create your own getter for the column and return it how you want
432: [08:43:20] * peter_ss1 quit (Ping timeout: 245 seconds)
433: [08:43:48] <aragonne> zippy__: I'm doing that but GridField still escapes the HTML string that is returned from my method
434: [08:45:40] <Zauberfisch> aragonne: yes, there is no clean way to make it display html
435: [08:45:48] * lobarvaz has joined #silverstripe
436: [08:45:52] <Zauberfisch> there are 2 ways of what you can do
437: [08:46:16] <aragonne> Zauberfisch: please do tell
438: [08:47:08] <Zauberfisch> 1) creat your own column provider (this way is the cleaner, but requires a lot of code, that will be 20-30 lines or so)
439: [08:47:46] <Zauberfisch> correct that, it means 1 file, 1 class and 20-30 lines of code just to display html
440: [08:49:43] <Zauberfisch> 2) is a hack, but can be done inline, http://paste2.org/zYCmsKIg
441: [08:49:48] * SightUnseen has joined #silverstripe
442: [08:49:57] * SightUnseen has left #silverstripe
443: [08:50:18] * PigeonFriend has joined #silverstripe
444: [08:50:44] <kinglozzer> Eugh. Filtering on a join table anyone? Car has_one bodystyle, filter where bodystyle = foo, can't remember how
445: [08:51:41] * chillu has joined #silverstripe
446: [08:51:47] <kinglozzer> Oh, can I just do Car.Bodystyle = ?
447: [08:52:00] <aragonne> Zuberfissch: thanks so much for the suggestions … is getTag() the key method that returns the raw HTML?
448: [08:52:06] <hen_> Hi everybody kindly help validte a cms field which inpits myfield_id I need to check whther it is unique and return an error
449: [08:52:22] <hen_> kindly help
450: [08:52:54] <hen_> validating a cms field to check whether it is unique and return an error on the form itself
451: [08:53:34] <aragonne> kinglozzer: SS2.x or 3.x?
452: [08:53:40] <kinglozzer> 3.1
453: [08:54:35] <Zauberfisch> aragonne: yeah, getTag() returns <img src="..." alt="...">
454: [08:54:48] <aragonne> kinglozzer: maybe try Car::get()->filter(array('BodyStyle.ID', $fooID));
455: [08:55:19] <Zauberfisch> aragonne: so on that line you could also write
456: [08:55:54] <hen_> kindly help in validating a cms field to check whether it is unique and return an error on the form itself
457: [08:56:47] <Zauberfisch> return "<img src='{$obj->Image()->getURL()}'>";
458: [08:56:50] <aragonne> hen_: you could try to do some checking in onBeforeWrite()
459: [08:57:07] <Zauberfisch> or, if you fancy it
460: [08:57:16] <kinglozzer> aragonne: I don't have access to the bodystyle id though :(
461: [08:57:19] <Zauberfisch> return "<h1>zauberfisch is awesome</h1>";
462: [08:57:45] <aragonne> Zauberfisch: thanks, I'll give method #2 a shot
463: [08:58:28] <Zauberfisch> yeah, I use 2 as well
464: [08:58:44] * peter_ss has joined #silverstripe
465: [08:58:48] <aragonne> kinlozzer: are Car and BodyStyle data objects and have a many_many relationship?
466: [08:58:59] <aragonne> (with each other)
467: [08:59:47] <kinglozzer> bodystyle has_many car, car has_one bodystyle
468: [08:59:59] <kinglozzer> I can use Bodystyle.Name instead, thanks aragonne
469: [09:00:04] <kinglozzer> Put me on the right track
470: [09:00:22] * micmania1 has joined #silverstripe
471: [09:00:22] <aragonne> kinglozzer: sure! glad to help
472: [09:01:09] <hen_> kindly help in validating a cms field to check whether it is unique and return an error on the form itself
473: [09:09:21] * peter_ss1 has joined #silverstripe
474: [09:10:42] * peter_ss quit (Read error: Connection reset by peer)
475: [09:12:33] * peter_ss has joined #silverstripe
476: [09:14:10] * peter_ss1 quit (Ping timeout: 245 seconds)
477: [09:16:05] <hen_> kindly help in validating a cms field to check whether it is unique and return an error on the form itself
478: [09:17:20] * zippy__ quit (Quit: zippy__)
479: [09:18:27] <aragonne> Zauberfisch: thanks again … just implemented the code and it worked!
480: [09:39:26] * howardgrigg has joined #silverstripe
481: [09:41:08] * peter_ss quit (Read error: Connection reset by peer)
482: [09:41:44] * peter_ss has joined #silverstripe
483: [09:46:13] * swordsmanz has joined #silverstripe
484: [09:59:05] * zippy__ has joined #silverstripe
485: [10:01:25] * aragonne has left #silverstripe
486: [10:04:26] * Smaranika has joined #silverstripe
487: [10:04:44] <Smaranika> hi need some help on clearing search field
488: [10:04:55] <Smaranika> http://golf.kc316.com/
489: [10:05:08] * peter_ss1 has joined #silverstripe
490: [10:05:41] <Smaranika> code is http://www.sspaste.com/paste/show/520a0414caeb5
491: [10:06:00] <Smaranika> need to put blank
492: [10:08:14] <Zauberfisch> Smaranika: well, look at line 2 and 3
493: [10:08:18] <Zauberfisch> you are setting the value there
494: [10:08:38] * peter_ss quit (Ping timeout: 240 seconds)
495: [10:09:37] * qlex1 has joined #silverstripe
496: [10:09:44] * qlex1 says hi
497: [10:10:38] <Zauberfisch> blubb
498: [10:11:39] <Smaranika> yes...
499: [10:11:51] <Smaranika> but cant do it properly....
500: [10:12:17] <Smaranika> actually, the defauls will be shown.
501: [10:12:24] <Smaranika> default values
502: [10:12:41] <Smaranika> my problem is while search it takes the default values
503: [10:13:01] <Smaranika> if nothing entered
504: [10:18:44] <Zauberfisch> Smaranika: yes, so if you don't change the values it will set the default
505: [10:18:45] * peter_ss has joined #silverstripe
506: [10:18:54] <Zauberfisch> what is it exactly you want?
507: [10:19:46] * peter_ss1 quit (Read error: Connection reset by peer)
508: [10:21:58] <Smaranika> If nothing is entered, search takes the default values.
509: [10:22:19] <Smaranika> I want, if nothing entered, the blank value should be taken
510: [10:30:49] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
511: [10:38:21] <qlex1> guys, im going 2.4.9 to 3.0.5, almost there, db builds correctly, but im getting errors with blog module - i upgraded to 0.6 blog which is compatibile with ss3.0
512: [10:38:33] <qlex1> and stuck with errors on Date.I18n and ParagraphSummary
513: [10:38:46] <qlex1> errors point to blog module
514: [10:39:14] <qlex1> but that shouldnt be in the blog ?
515: [10:39:16] * FrozenFire[alt] has joined #silverstripe
516: [10:40:33] * swordsmanz quit (*.net *.split)
517: [10:40:33] * chillu quit (*.net *.split)
518: [10:40:33] * PigeonFriend quit (*.net *.split)
519: [10:40:33] * jrthomer quit (*.net *.split)
520: [10:40:33] * wmk quit (*.net *.split)
521: [10:40:34] * FrozenFire quit (*.net *.split)
522: [10:44:20] <qlex1> could any1 look at the error im getting here:
523: [10:44:20] <qlex1> http://kulesza.net/kombus/
524: [10:44:27] <qlex1> Missing argument 1 for Date::FormatI18N()
525: [10:45:42] * peter_ss quit (Ping timeout: 264 seconds)
526: [10:46:22] <qlex1> im not sure if im missing an argument if i have in my theme:
527: [10:46:22] <qlex1> $Date.FormatI18N(%e %B %Y)
528: [10:46:33] * peter_ss1 has joined #silverstripe
529: [10:46:33] * swordsmanz has joined #silverstripe
530: [10:46:33] * chillu has joined #silverstripe
531: [10:46:33] * PigeonFriend has joined #silverstripe
532: [10:46:33] * jrthomer has joined #silverstripe
533: [10:47:14] <qlex1> and second error is Paragraph.Summary being depreciated
534: [10:47:22] <qlex1> changing this to $Content doesnt help either
535: [10:47:31] <qlex1> i think those 2 errors are causing the site to break
536: [10:48:05] * wmk has joined #silverstripe
537: [10:48:36] * peter_ss has joined #silverstripe
538: [10:49:21] <qlex1> any1 ?
539: [10:52:25] * peter_ss1 quit (Ping timeout: 276 seconds)
540: [10:57:11] * Smaranika quit (Ping timeout: 250 seconds)
541: [11:05:06] <qlex1> noone here to help ?
542: [11:05:59] <Zauberfisch> qlex1: nope, sorry
543: [11:06:22] <Zauberfisch> nothing comes to mind for this issue
544: [11:06:29] <Zauberfisch> and I don't have time to investigate
545: [11:08:30] <qlex1> k
546: [11:19:15] <kinglozzer> qlex1: Should the $Date.FormatI18N(%e %B %Y) be quoted? $Date.FormatI18N('%e %B %Y')
547: [11:21:04] <qlex1> kinglozzer: doesnt make any difference if i do that
548: [11:21:15] <qlex1> i changed it to $Date.Nice jsut to be sure
549: [11:21:18] <qlex1> still the same thing appears
550: [11:21:31] <qlex1> im trying to re-upload cms and framework
551: [11:22:47] <qlex1> this is driving me nuts
552: [11:31:41] * priithansen has joined #silverstripe
553: [11:40:23] * Colin[pi] quit ()
554: [11:41:12] * peter_ss quit (Ping timeout: 260 seconds)
555: [11:46:06] * kerosene has joined #silverstripe
556: [11:53:54] * zippy__ quit (Ping timeout: 240 seconds)
557: [12:03:54] * UndefinedOffset has joined #silverstripe
558: [12:19:23] * nicolaas quit (Remote host closed the connection)
559: [12:24:54] * Guits quit (Ping timeout: 240 seconds)
560: [12:38:31] * Guits has joined #silverstripe
561: [12:38:49] * howardgrigg quit (Remote host closed the connection)
562: [12:41:31] * qlex1 quit (Quit: Leaving.)
563: [12:41:45] * samthejarvis has joined #silverstripe
564: [12:42:24] <samthejarvis> got a form here, has a numericfield, what would be the cleanest way to add validation to that field to ensure the submitted value stays between two specified values
565: [12:43:07] <samthejarvis> just wondering if silverstripe can handle that kind of thing
566: [12:56:54] <micmania1> samthejarvis, are you validating from the CMS?
567: [12:56:55] * Shrike_Finland quit (Read error: Connection reset by peer)
568: [12:56:55] * Shrike_Finland1 has joined #silverstripe
569: [13:01:06] <samthejarvis> 'fraid not, it's just a subclass of Controller
570: [13:05:23] <samthejarvis> not to worry, apparently it doesn't matter what numbers go into this field now
571: [13:06:01] * digitaldesign has joined #silverstripe
572: [13:10:41] * hen_ quit (Quit: Page closed)
573: [13:12:38] * kerosene quit (Quit: leaving)
574: [13:21:06] * samthejarvis quit (Quit: Page closed)
575: [13:26:03] <wmk> crazy, firephp logs me out, cause it changes the HTTP_USER_AGENT string...
576: [13:39:36] * chillu quit (Quit: chillu)
577: [13:44:24] * Guits quit (Ping timeout: 240 seconds)
578: [13:53:05] * peter_ss has joined #silverstripe
579: [14:07:18] * Shrike_Finland1 quit (Quit: Leaving.)
580: [14:18:42] * digitaldesign quit (Quit: digitaldesign)
581: [14:23:13] * Rojod is now known as Rojod|work
582: [14:40:59] * dangerdan has joined #silverstripe
583: [14:41:21] <dangerdan> by default should tinymce in the cms be spellchecking for english words? or spellchecking at all?
584: [14:48:31] * Weishaupt has joined #silverstripe
585: [14:49:17] <ARNHOE> kinglozzer: Should the $Date.FormatI18N(%e %B %Y) be quoted? $Date.FormatI18N('%e %B %Y'), you are right btw.. I had the same couple weeks ago with the error that qlex1 got, it needs to be placed in quotes
586: [14:50:51] <Weishaupt> Hey there, I use PHP_Tidy to clean data from an old website. I then want to store it into an DataObject. The problem: On DataObject->write() the text is only written to the first German Umlaut.
587: [14:51:02] <Weishaupt> The Database Connection is set to UTF8.
588: [14:54:21] * Nivery has joined #silverstripe
589: [14:58:33] * dangerdan quit (Ping timeout: 250 seconds)
590: [15:28:19] * violetina has joined #silverstripe
591: [15:29:59] * ARNHOE quit (Remote host closed the connection)
592: [15:38:53] <Weishaupt> I'll just repeat my question, there may be someone here now, that can help.
593: [15:38:55] <Weishaupt> Hey there, I use PHP_Tidy to clean data from an old website. I then want to store it into an DataObject. The problem: On DataObject->write() the text is only written to the first German Umlaut.
594: [15:38:57] <Weishaupt> The Database Connection is set to UTF8.
595: [15:45:29] * FrozenFire[alt] is now known as FrozenFire
596: [15:45:29] * FrozenFire quit (Changing host)
597: [15:45:29] * FrozenFire has joined #silverstripe
598: [15:50:39] * Guits has joined #silverstripe
599: [15:55:59] * CodeTrap has joined #silverstripe
600: [16:10:19] * travis-ci has joined #silverstripe
601: [16:10:19] <travis-ci> [travis-ci] chillu/silverstripe-framework#56 (pulls/optionset-label-for - 6352201 : Ingo Schommer): The build has errored.
602: [16:10:19] <travis-ci> [travis-ci] Change view : https://github.com/chillu/silverstripe-framework/compare/0918cd20926b^...63522017383c
603: [16:10:19] <travis-ci> [travis-ci] Build details : http://travis-ci.org/chillu/silverstripe-framework/builds/10161762
604: [16:10:19] * travis-ci has left #silverstripe
605: [16:16:28] * kinglozzer quit (Remote host closed the connection)
606: [16:18:36] * catcher has joined #silverstripe
607: [16:19:25] * JT13 has joined #silverstripe
608: [16:20:32] <JT13> Hi, please can someone help me, I need to link the SilverStripe framework & CMS into my project, but get a php error: class Page is missing
609: [16:21:57] * Nivery quit (Quit: Nivery)
610: [16:23:16] <Weishaupt> Okay, I figured it out myself. The encoding delivered by tiny was false.
611: [16:23:24] * Weishaupt quit ()
612: [16:30:40] * Nivery has joined #silverstripe
613: [16:49:31] <wmk> MichaelDesignerX, have you tried simons hasoneedit module?
614: [16:53:49] * joelpittet has joined #silverstripe
615: [17:06:16] * JT13 quit (Remote host closed the connection)
616: [17:09:24] * Nivery quit (Quit: Nivery)
617: [17:12:24] * JT13 has joined #silverstripe
618: [17:13:46] * lobarvaz quit (Remote host closed the connection)
619: [17:14:54] * JT13 quit (Remote host closed the connection)
620: [17:19:02] * micmania1 quit (Ping timeout: 240 seconds)
621: [17:19:54] * CodeTrap quit (Ping timeout: 264 seconds)
622: [17:30:09] * peter_ss quit (Ping timeout: 264 seconds)
623: [17:30:57] * guci0 has joined #silverstripe
624: [17:31:10] <guci0> Hi all!
625: [17:31:15] * peter_ss has joined #silverstripe
626: [17:34:25] <wmk> hi guci0
627: [17:40:28] * JT13 has joined #silverstripe
628: [17:40:34] * JT13 quit (Remote host closed the connection)
629: [17:58:36] * Matty has joined #silverstripe
630: [18:03:35] * Matty quit (Ping timeout: 250 seconds)
631: [18:05:48] * ARNHOE has joined #silverstripe
632: [18:21:56] * Guest77116 quit (Read error: Operation timed out)
633: [18:25:24] * onre has joined #silverstripe
634: [18:25:49] * onre is now known as Guest47226
635: [18:54:35] * Nivery has joined #silverstripe
636: [18:57:00] * SightUnseen has joined #silverstripe
637: [18:57:01] * SightUnseen has left #silverstripe
638: [19:09:40] <catcher> I need some custom js for the CMS to run on all ajax loads. $(document).ready doesn't do the trick (nor $(window).load), and no luck with entwine yet either. Anyone else?
639: [19:10:57] <catcher> my click handlers are working fine, but I need some initial setup code to run on the load.
640: [19:30:56] * priithansen quit (Quit: priithansen)
641: [19:31:46] * DigNZ has joined #silverstripe
642: [19:33:33] * priithansen has joined #silverstripe
643: [19:38:28] * DigNZ quit (Quit: DigNZ)
644: [19:40:05] * Rojod|work is now known as RojoD
645: [19:45:48] <catcher> Ah nm, got it
646: [19:47:10] * ARNHOE quit (Remote host closed the connection)
647: [20:11:10] * atmos has joined #silverstripe
648: [20:19:59] * zfmf1 has joined #silverstripe
649: [20:26:16] * Peavers has joined #silverstripe
650: [20:27:05] <atmos> hmmmm, NCS
651: [20:27:42] <atmos> ss23: give Jean a pat on the back from us :) - it looks like page duplication works - at least on dev
652: [20:30:57] * nickmolhoek has joined #silverstripe
653: [20:30:58] * nickmolhoek quit (Remote host closed the connection)
654: [20:31:12] * nickmolhoek has joined #silverstripe
655: [20:36:39] * simon_w has joined #silverstripe
656: [20:46:20] * UndefinedOffset quit (Quit: Leaving.)
657: [20:49:25] * DigNZ has joined #silverstripe
658: [20:49:29] * DigNZ quit (Read error: Connection reset by peer)
659: [20:49:45] * DigNZ has joined #silverstripe
660: [20:52:28] * Stomach has joined #silverstripe
661: [20:53:13] * micmania1 has joined #silverstripe
662: [20:56:28] * simon_w quit (Quit: Leaving)
663: [20:56:30] * zfmf1 has left #silverstripe
664: [20:56:41] * ARNHOE has joined #silverstripe
665: [20:59:44] * simon_w has joined #silverstripe
666: [21:01:44] * zippy__ has joined #silverstripe
667: [21:02:05] <zippy__> Morning
668: [21:05:35] * nickmolhoek quit (Quit: nickmolhoek)
669: [21:05:40] <Stomach> how do
670: [21:11:55] * ARNHOE quit (Remote host closed the connection)
671: [21:13:22] * Nivery quit (Read error: Connection reset by peer)
672: [21:19:30] * Pyromanik has joined #silverstripe
673: [21:21:53] * joelpittet quit (Remote host closed the connection)
674: [21:22:14] <Pyromanik> so
675: [21:22:16] <Pyromanik> stripe.com
676: [21:22:20] <Pyromanik> what's up with that/
677: [21:23:04] * willr_ has joined #silverstripe
678: [21:23:35] * Liquide has joined #silverstripe
679: [21:24:27] * UncleCheese has joined #silverstripe
680: [21:24:35] <Pyromanik> tried to use a site that uses it
681: [21:24:47] <Pyromanik> js goes out, token comes in, post goes through
682: [21:24:53] <Pyromanik> seems like a pretty tidy setup
683: [21:24:58] <Pyromanik> until 500 SERVER ERROR
684: [21:25:00] <Pyromanik> lulz
685: [21:26:53] * b00mtastik has joined #silverstripe
686: [21:29:29] * howardgrigg has joined #silverstripe
687: [21:29:33] <b00mtastik> Hello
688: [21:33:02] <b00mtastik> Can someone help me regarding Forms?
689: [21:42:26] <Pyromanik> b00mtastik: please just ask your question
690: [21:42:29] * simon_w changed the topic to 'Welcome to #silverstripe discussion - IRC logs available: http://ss.org.nz/logs || Ask your question, don't ask about asking your question || 9th of August 2013: 3.1.0-rc1 is here! http://ss.org.nz/3.1.0rc1 || Don't forget yesterday's security releases http://ss.org.nz/2.4.11 and http://ss.org.nz/3.0.6rc1 || Development mailing list: http://ss.org.nz/ss-dev'
691: [21:42:53] <Pyromanik> We can't tell if we can help if we don't know what it is that's wrong ;)
692: [21:43:19] <Pyromanik> simon_w: yesterday's sec releases?
693: [21:43:33] <simon_w> 2.4.11 and 3.0.6rc1
694: [21:43:38] <simon_w> Oh right
695: [21:43:39] <Pyromanik> yesterday?
696: [21:43:42] <Pyromanik> yeah :P
697: [21:43:45] <simon_w> That would've been Sam
698: [21:43:48] <Pyromanik> yeh
699: [21:43:55] <Pyromanik> it was true when he put them there :P
700: [21:43:55] * simon_w changed the topic to 'Welcome to #silverstripe discussion - IRC logs available: http://ss.org.nz/logs || Ask your question, don't ask about asking your question || 9th of August 2013: 3.1.0-rc1 is here! http://ss.org.nz/3.1.0rc1 || Don't forget the security releases http://ss.org.nz/2.4.11 and http://ss.org.nz/3.0.6rc1 || Development mailing list: http://ss.org.nz/ss-dev'
701: [21:44:33] * simon_w changed the topic to 'Welcome to #silverstripe discussion - IRC logs available: http://ss.org.nz/logs || Ask your question, don't ask about asking your question || 9th of August 2013: 3.1.0-rc1 is here! http://ss.org.nz/3.1.0rc1 || Don't forget the 2.4 and 3.0 security releases: http://ss.org.nz/2.4.11 and http://ss.org.nz/3.0.6rc1 || Development mailing list: http://ss.org.nz/ss-dev'
702: [21:45:44] * simon_w has left #silverstripe
703: [21:45:44] * simon_w has joined #silverstripe
704: [21:46:12] <simon_w> Hmm, ss-log's going to need some changes to support more than one line in join.msg
705: [21:48:45] * redstubble has joined #silverstripe
706: [21:51:30] * drazafsky has joined #silverstripe
707: [21:53:33] <Pyromanik> simon_w: eh? join.msg == topic?
708: [21:53:46] <simon_w> -ss-log- SilverStripe 3.1.0-rc1 now available! Also, security releases for 2.4 and 3.0. Check the topic for details.
709: [21:53:56] <simon_w> join.msg is the file that gets pulled from
710: [21:54:03] <Pyromanik> oic
711: [21:54:41] <Pyromanik> reasonably trivial change, no?
712: [21:55:15] <simon_w> Maybe. Will need to see how easy it is to split a byte array
713: [21:56:27] * redstubble_ has joined #silverstripe
714: [21:56:49] <Pyromanik> oic
715: [21:57:07] <Pyromanik> so it's not just gets and puts?
716: [21:57:14] <Pyromanik> until EOF
717: [21:57:40] * redstubble quit (Read error: Connection reset by peer)
718: [21:59:11] <willr_> simon_w what have you done with ss23
719: [21:59:23] <willr_> He's IGNORING ME
720: [22:00:27] <simon_w> willr_, he's in bed?
721: [22:00:39] <simon_w> Pyromanik, newline is the end of an IRC command
722: [22:01:09] * Motoservo has joined #silverstripe
723: [22:02:02] * Motoservo quit (Client Quit)
724: [22:03:08] <b00mtastik> Sorry for the late reply guys, I have someone helping me at the moment from Google Plus Community Network. I'll post here if it doesn't work.
725: [22:04:20] <ss23> willr_: :O
726: [22:04:23] <ss23> I'M HERE I'M HERE!!!!!
727: [22:04:53] * redstubble has joined #silverstripe
728: [22:05:15] <ss23> simon_w: join.msg = "lol check topic\nPRIVMG #silverstripe :more lines, yo"
729: [22:05:18] <ss23> :D
730: [22:05:20] <ss23> fixed!
731: [22:05:29] <simon_w> ss23, no.
732: [22:05:35] <ss23> Oh look, now willr_ is ignoring *me*!
733: [22:06:05] <simon_w> ss23, in fact, that's even worse
734: [22:06:41] * drazafsky quit (Ping timeout: 250 seconds)
735: [22:07:55] <ss23> simon_w: Why!
736: [22:08:13] <simon_w> Because it'll spam the entire channel any time someone joins
737: [22:08:30] * redstubble_ quit (Ping timeout: 246 seconds)
738: [22:08:30] <ss23> Oh fine fine...
739: [22:08:34] <ss23> PRIVMSG thatperson:
740: [22:08:37] <ss23> you know what I mean! :P
741: [22:08:45] <simon_w> In a static file?
742: [22:10:30] <ss23> Pish, I thought it would be something *sane*
743: [22:14:01] * nickmolhoek has joined #silverstripe
744: [22:14:02] * nickmolhoek quit (Read error: Connection reset by peer)
745: [22:14:16] * nickmolhoek has joined #silverstripe
746: [22:16:56] * Colin[pi] has joined #silverstripe
747: [22:17:19] <Colin[pi]> morning!
748: [22:17:27] <ss23> moin Colin[pi]
749: [22:26:17] <Pyromanik> simon_w: yeh, but if the whole file is join message, wouldn't you just put multiple says in?
750: [22:26:48] <Pyromanik> b00mtastik: google plus community network has a silverstripe support section?
751: [22:27:04] * AlphaCactus quit (Read error: Connection reset by peer)
752: [22:27:57] <Pyromanik> what is dif msg and privmsg... assuming the latter is the actual raw protocol command for the former
753: [22:28:15] <simon_w> Pyromanik, the format for each line would need to be: /notice <something that changes each time> <actual notice>
754: [22:28:53] * redstubble quit (Remote host closed the connection)
755: [22:28:54] <Pyromanik> oic
756: [22:29:05] <Pyromanik> I was thinking that the file was just <actual notice>
757: [22:29:19] <simon_w> It is
758: [22:29:28] <Pyromanik> and that it read the file and used that to populate the message section of a pre-formatted programmatically generated command
759: [22:29:30] <simon_w> Which is why I need to split the byte array up on newlines
760: [22:29:54] <Pyromanik> oic, you read the whole file in one chunk.
761: [22:29:57] <Pyromanik> right, gotcha
762: [22:31:31] * pippy has joined #silverstripe
763: [22:31:46] <Pyromanik> I was thinking that you'd have a file stream and fgets, as an example (because I don't know go)
764: [22:32:15] <Pyromanik> 10:28 -!- redstubble [~redstubbl@202.49.18.1] has quit [Remote host closed the connection]
765: [22:32:18] <Pyromanik> :O
766: [22:32:23] <Pyromanik> the ginger beard man was here!
767: [22:32:40] <simon_w> I shaved my beard though!
768: [22:33:05] * Stomach quit (Quit: Leaving.)
769: [22:33:53] * pippy_ quit (Ping timeout: 240 seconds)
770: [22:33:58] <Pyromanik> o.0
771: [22:36:44] * b00mtastik_ has joined #silverstripe
772: [22:37:41] * willr_ quit (Ping timeout: 268 seconds)
773: [22:38:01] * Stomach has joined #silverstripe
774: [22:41:47] * swordsmanz is now known as denzasuckspee
775: [22:44:49] * b00mtastik quit (Ping timeout: 250 seconds)
776: [22:45:39] <zippy__> hmm nuts
777: [22:47:59] <zippy__> I am a function on my page which takes a paramater, which I am calling from my template. If I use it with just a quoted string (eg $Top.getIcons('foo')) then it works fine, but if I try and use a variable on my object I am looping -> $Top.getIcons($Name) it calls over with error; Missing argument 1
778: [22:48:22] <zippy__> so can you not call a controller function, passing an argument of an object? SS 3.0.5
779: [22:50:32] <ss23> <sheild> -- block elements
780: [22:50:47] <zippy__> O.o
781: [22:50:47] <ss23> zippy__: Can't pass arguemnts to functions iirc
782: [22:51:05] <zippy__> ss23: You can pass arguments to functions
783: [22:51:11] <ss23> Are you SURE?!
784: [22:51:17] <ss23> I remember having a similiar issue and got told I couldn't
785: [22:51:30] <zippy__> If i do $Top.getIcons('foo') (withor without quotes) then it works fine
786: [22:51:43] <ss23> Probably because it's compiled down to .php as a raw string
787: [22:51:54] <ss23> However in templates, $variable is replaced with somethingly wildly different
788: [22:52:11] <ss23> like, $scope->getstuff(dofunkyhax, 'variablename'), which I presume ends up not working
789: [22:52:24] <ss23> zippy__: Sorry, I really don't know the answer, I just remember having a similiar issue and being told I couldn't do it :<
790: [22:52:42] <zippy__> Yea, I think you mustn't be able to pass a variable as a paramater
791: [22:52:45] <simon_w> zippy__, should be fixed in 3.1
792: [22:52:50] <zippy__> ball ache
793: [22:53:15] <ss23> :D
794: [22:53:18] * ss23 spins simon_w
795: [22:53:22] <ss23> You're back I just realised
796: [22:54:09] * denzasuckspee is now known as swordsmanz
797: [22:54:41] <Colin[pi]> he was gone?
798: [22:54:43] <Colin[pi]> ;p
799: [22:54:54] <simon_w> Yeah, ss23 and Zauberfisch were the only ones that noticed :p
800: [23:00:23] <Colin[pi]> i'm gone for 10 days from Friday, not like anyone will notice ;_;
801: [23:01:10] * catcher quit (Quit: Leaving)
802: [23:02:55] * digitaldesign has joined #silverstripe
803: [23:08:35] * violetina quit (Remote host closed the connection)
804: [23:10:12] <ss23> Colin[pi]: Awwww :<
805: [23:10:14] * ss23 pets Colin[pi]
806: [23:10:19] <ss23> I'll be aware of it now!
807: [23:10:21] <Colin[pi]> ^_^
808: [23:10:46] * digitaldesign quit (Quit: digitaldesign)
809: [23:10:56] <ss23> If only I could timesheet for trying to find music to listen to
810: [23:12:41] * digitaldesign has joined #silverstripe
811: [23:13:25] * guci0 quit (Ping timeout: 250 seconds)
812: [23:16:41] <Colin[pi]> put it on shuffle bitch
813: [23:16:42] <Pyromanik> ah, american support.
814: [23:17:00] <ss23> Colin[pi]: bad idea, I have too much horrible music for that!
815: [23:17:13] <Pyromanik> wait 12 hours, email while you're asleep "I just tried it and it works for me, perhaps try again. Hope this helps"
816: [23:17:22] <Pyromanik> YOUR SITE 500s!
817: [23:17:29] <Pyromanik> there will be an error log!
818: [23:17:43] <Pyromanik> thanks for not looking into it, I'm trying to give you money here.
819: [23:18:01] <Pyromanik> I'm only*
820: [23:18:17] * nickspiel86 has joined #silverstripe
821: [23:18:47] * peter_ss quit (Quit: Leaving.)
822: [23:19:02] <Pyromanik> all I can say is that I better not have a bunch of repeat charges for the same thing from retrying this
823: [23:20:52] * nickspiel123 quit (Ping timeout: 264 seconds)
824: [23:21:50] <Colin[pi]> I had a wtf with virgin australia today, booked my flight to brisbane in March, reserved seats 12A/C
825: [23:21:57] <Colin[pi]> I go to do web check in today
826: [23:22:04] <Colin[pi]> it says "you have been assigned seats 18A/C"
827: [23:22:06] <Colin[pi]> wtf
828: [23:22:21] <ss23> lol
829: [23:22:22] <ss23> owned
830: [23:22:23] <Colin[pi]> don't really care too much but would like the seats I chose in motherfucking March
831: [23:22:23] <ss23> :D
832: [23:22:39] <Colin[pi]> called them, they said it had been rescheduled
833: [23:22:48] <Colin[pi]> i'm like wtf, no, it's the same flight number and time on the checkin
834: [23:23:05] <Colin[pi]> oh.. oh... maybe it was rescheduled and reverted again, and they had to reassign seats
835: [23:23:07] <Colin[pi]> sigh
836: [23:23:14] <Colin[pi]> anyway she gave me 8A/C in the end :D
837: [23:23:29] * UncleCheese quit (Quit: UncleCheese)
838: [23:33:13] <guzzlefry> https://gist.github.com/anonymous/06671058f462fc32bf8b Any ideas on why this doesn't work? It doesn't add the slider tab nor does it remove the Content editor.
839: [23:34:17] <guzzlefry> derp, GridFieldSortableRows might be something non-vendor. :P
840: [23:35:49] <guzzlefry> Still, shouldn't it yell at me?
841: [23:40:08] <ss23> Colin[pi]: Is that a good seat? :O
842: [23:41:00] <ss23> atmos: Will do :D
843: [23:41:50] <Colin[pi]> ss23: almost at the front, generally closer to the front is better
844: [23:43:34] <ss23> Why is it better? :O
845: [23:44:26] <Colin[pi]> less waiting to get off
846: [23:45:32] * Stomach quit (Quit: Leaving.)
847: [23:48:00] <guzzlefry> So, SortableGridField's packagist install requires silverstripe/behat-extension, anyway around this?
848: [23:48:06] <Pyromanik> guzzlefry: why would it yell at you
849: [23:48:07] <Pyromanik> ?
850: [23:48:15] * UncleCheese has joined #silverstripe
851: [23:48:22] <guzzlefry> Pyromanik: Because class SortableGridField doesn't exist?
852: [23:48:29] <ss23> "$ git bra" -- sometimes I wonder what I was last doing on my terminal to leave it like this
853: [23:48:58] * howardgrigg quit (Remote host closed the connection)
854: [23:49:04] <guzzlefry> Pyromanik: or rather, GridFieldSortableRows
855: [23:49:04] <Pyromanik> guzzlefry: no, it's because you've defined it in the controller.
856: [23:49:32] <guzzlefry> I'm confused. :/
857: [23:49:44] <Pyromanik> so 2 things: it won't yell at you if you have the module installed. and it won't yell at you if the code never ever gets excecuted.
858: [23:50:03] <Pyromanik> you've got
859: [23:50:04] <Pyromanik> class PicsPage_Controller extends Page_Controller
860: [23:50:04] <Pyromanik> {
861: [23:50:05] <Pyromanik> public function getCMSFields()
862: [23:50:19] <guzzlefry> Pyromanik: you forgot to call me dumb. :P
863: [23:50:26] <guzzlefry> also, thank you
864: [23:50:29] <Pyromanik> you've been around long enough to spot the error there :P
865: [23:50:42] <Pyromanik> np, sometimes it just takes a second set of eyes.
866: [23:50:51] <Pyromanik> this channel knows I've asked my fair share of dumb questions.
867: [23:51:09] <guzzlefry> Any idea on the composer issue? I might just install this behat thing. :P
868: [23:51:14] <Pyromanik> guzzlefry: https://github.com/UndefinedOffset/SortableGridField
869: [23:51:19] <Pyromanik> composer?
870: [23:51:19] <Pyromanik> no
871: [23:51:25] <Pyromanik> the issue is composer
872: [23:51:27] <Pyromanik> that's my answer.
873: [23:51:42] <Pyromanik> (I don't use it because I don't like headaches).
874: [23:51:49] <ss23> Headon
875: [23:51:52] <ss23> Apply directly to the forehead.
876: [23:53:16] <guzzlefry> oh, it looks like I never called composer install. 0.o
877: [23:54:05] <guzzlefry> nevermind, silverstripe just gives up unless I drop the require-dev stuff. :P
878: [23:54:52] * Stomach has joined #silverstripe
879: [23:55:04] * digitaldesign quit (Ping timeout: 276 seconds)
880: [23:56:58] <guzzlefry> Pyromanik: What do you use to pull dependencies in?
881: [23:57:04] <ss23> wget
882: [23:57:05] <ss23> o/
883: [23:57:09] <guzzlefry> oh :P

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