#silverstripe IRC Log

IRC log for 25 April 2013

All timestamps are in UTC.

1: [00:02:00] * travis-ci has joined #silverstripe
2: [00:02:00] <travis-ci> [travis-ci] silverstripe/sapphire#2073 (3.0 - c8d9886 : Will Rossiter): The build passed.
3: [00:02:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/50d2c262303d...c8d98861c0a0
4: [00:02:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/6615958
5: [00:02:00] * travis-ci has left #silverstripe
6: [00:12:00] <terryapodaca> simon_w: if I want to set the page limit, is it like so:
7: [00:12:00] <terryapodaca> new PaginatedList($this->GalleryImages()->sort('SortOrder'), $this->request)->setPageLength(12);
8: [00:12:00] <simon_w> Well, assuming you're running 5.4, you need to wrap the constructor in parentheses
9: [00:17:00] <terryapodaca> worked perfect
10: [00:24:00] * howardgrigg quit (Read error: Connection reset by peer)
11: [00:25:00] * Liquide has joined #silverstripe
12: [00:25:00] * howardgrigg has joined #silverstripe
13: [00:34:00] * gelignite quit (Quit: http://bit.ly/nkczDT)
14: [00:35:00] * terryapodaca has left #silverstripe
15: [00:45:00] * spronk has joined #silverstripe
16: [01:05:00] * mobiusnz has joined #silverstripe
17: [01:08:00] * mobiusnz quit (Client Quit)
18: [01:27:00] * robert_ quit (Ping timeout: 245 seconds)
19: [01:50:00] * maknz has joined #silverstripe
20: [01:52:00] * SightUnseen has left #silverstripe
21: [01:52:00] * SightUnseen has joined #silverstripe
22: [02:28:00] <ss23> "Saw guy taking notes feverishly in @moxie future of authentication talk, halfway through writes giant "SSL?" and circles it"
23: [02:30:00] <ss23> oh wait no an alternative doesn't exist, my bad
24: [02:30:00] <ss23> deprecated indeed, that alternative we have is way better
25: [02:30:00] <simon_w> Oh SSL. That deprecated thing people seem to like.
26: [02:31:00] <ss23> (unless you're going to start being all WAH TLS)
27: [02:33:00] <simon_w> So hurry up and come up with some encryption scheme that embodies the hard cases of a NPC decision :p
28: [02:46:00] * bmh has joined #silverstripe
29: [02:48:00] * Bollig|DesignCty has joined #silverstripe
30: [02:49:00] * Bollig|DesignCty quit (Client Quit)
31: [02:53:00] * willr_ quit (Quit: willr_)
32: [02:54:00] * willr_ has joined #silverstripe
33: [02:54:00] * willr_ has joined #silverstripe
34: [02:54:00] * willr_ quit (Changing host)
35: [02:59:00] * willr_ quit (Client Quit)
36: [03:52:00] * cloph_away quit (Read error: Operation timed out)
37: [03:52:00] * cloph_away1 has joined #silverstripe
38: [04:06:00] * sewid has joined #silverstripe
39: [04:17:00] * Shrike_Finland has joined #silverstripe
40: [04:23:00] * joelpittet quit (Remote host closed the connection)
41: [04:25:00] * joelpittet has joined #silverstripe
42: [04:55:00] * Shrike_Finland quit (Quit: Leaving.)
43: [05:05:00] * simon_w|air has joined #silverstripe
44: [05:06:00] * simon_w|air quit (Client Quit)
45: [05:08:00] * simon_w|air has joined #silverstripe
46: [05:08:00] * Shrike_Finland has joined #silverstripe
47: [05:11:00] * aatch quit (Ping timeout: 258 seconds)
48: [05:36:00] * ajshort has joined #silverstripe
49: [05:43:00] * sewid quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz???)
50: [05:57:00] * mobiusnz has joined #silverstripe
51: [05:59:00] * bmh quit (Quit: Textual IRC Client: http://www.textualapp.com/)
52: [06:34:00] * joelpittet quit (Remote host closed the connection)
53: [06:58:00] * webguest has joined #silverstripe
54: [06:58:00] <webguest> i would like to place all GOogle Maps markers in a javascript marker var... http://paste2.org/G85E4CUW using a ajax request (php file) must get all markers, how do i write the javascript for this?
55: [07:03:00] * ajshort quit (Quit: ChatZilla 0.9.90-rdmsoft [XULRunner 18.0.2/20130201065344])
56: [07:18:00] * Zauberfisch has joined #silverstripe
57: [07:18:00] * zfmf has joined #silverstripe
58: [07:53:00] * osterlaus has joined #silverstripe
59: [07:54:00] * Liquide quit ()
60: [07:55:00] * MrGray has joined #silverstripe
61: [07:57:00] <MrGray> Hello, could someone help a few Striper with loops?
62: [07:57:00] * chillu has joined #silverstripe
63: [07:59:00] <MrGray> I'd have gotten a whole lot of responses if it was a stripper and hoops..
64: [08:00:00] <MrGray> Anyway, I have a set of Children that seem to be getting cached on being called for the second time in a template, I've tried <uncached> and it still persists.
65: [08:00:00] <MrGray> I'd appreciate the help.
66: [08:06:00] * MrGray quit (Ping timeout: 245 seconds)
67: [08:07:00] * MrGray has joined #silverstripe
68: [08:09:00] * kinglozzer has joined #silverstripe
69: [08:17:00] * dgroves has joined #silverstripe
70: [08:17:00] * dgroves has left #silverstripe
71: [08:31:00] * waveydave has joined #silverstripe
72: [08:31:00] <simon_w|air> MrGray, everything in the template is cached for the request
73: [08:34:00] * webguest quit (Ping timeout: 245 seconds)
74: [08:38:00] <MrGray> Is there any way around it?
75: [08:38:00] <MrGray> Hey Simon!
76: [08:39:00] <MrGray> set of*
77: [08:39:00] <MrGray> Basically I loop through a set of children and I need to loop through again for the descriptions of the gallery items.
78: [08:39:00] <MrGray> I can't use another function because the Children are being looped inside another set if children, thus no controller functions.
79: [08:49:00] * zfmf quit (Read error: Connection reset by peer)
80: [08:50:00] * spronk quit (Ping timeout: 258 seconds)
81: [09:00:00] * timsnadden has joined #silverstripe
82: [09:02:00] * osterlaus quit (Quit: Leaving.)
83: [09:13:00] * Zauberfisch quit (Read error: Connection reset by peer)
84: [09:19:00] * DesignerX has joined #silverstripe
85: [09:19:00] * zfmf has joined #silverstripe
86: [09:21:00] * Shrike_Finland quit (Read error: Connection reset by peer)
87: [09:22:00] * Shrike_Finland has joined #silverstripe
88: [09:22:00] * timsnadden quit (Quit: timsnadden)
89: [09:30:00] * Zauberfisch has joined #silverstripe
90: [09:39:00] <MrGray> ..probably not, worth a shot.
91: [09:39:00] <MrGray> Zauber, are you here?
92: [09:43:00] <DesignerX> Hi, I'm using a DropDownField and passing in a small array . How can I save the Vlaue & not the key to the database ?
93: [09:58:00] <simon_w|air> DesignerX, have the key be the same as the value
94: [09:58:00] <simon_w|air> MrGray, you're using <% loop $Children %> both times?
95: [09:59:00] <DesignerX> yeh.. seems the only way
96: [10:02:00] * mrzero has joined #silverstripe
97: [10:02:00] * mrzero quit (Changing host)
98: [10:02:00] * mrzero has joined #silverstripe
99: [10:02:00] * mrzero quit (Remote host closed the connection)
100: [10:08:00] * qlex says hi
101: [10:08:00] <qlex> any1 used UncleCheese's dashboard for ss3 ?
102: [10:08:00] <MrGray> Hey Simon, I am.
103: [10:08:00] * qlex has joined #silverstripe
104: [10:09:00] <MrGray> Qlex, set it as default.
105: [10:09:00] <MrGray> On the second look I'm using Children.Reverse.
106: [10:09:00] <MrGray> loop*
107: [10:09:00] <qlex> it works great when administrator logs in, but when content author logs in (even if its turned on in permissions) it appears empty
108: [10:09:00] <qlex> is it because its has to be set as default
109: [10:09:00] <MrGray> You can set the panels for each user.
110: [10:10:00] <MrGray> Create a set and assign it to everyone and modify it for the admin later if you want.
111: [10:10:00] <MrGray> ..and I missed Simon. again. :\
112: [10:11:00] <qlex> works
113: [10:11:00] <qlex> MrGray: thanx, thats what i did. i actually thought about it as i was asking here :)
114: [10:12:00] <MrGray> I'm glad.
115: [10:32:00] * qlex says seeya
116: [10:32:00] * qlex has left #silverstripe
117: [10:33:00] * mrzero quit (Remote host closed the connection)
118: [10:33:00] * mrzero_ is now known as mrzero
119: [10:33:00] * mrzero_ has joined #silverstripe
120: [10:41:00] * mrzero_ is now known as mrzero
121: [10:41:00] * mrzero_ has joined #silverstripe
122: [10:41:00] * mrzero quit (Read error: Connection reset by peer)
123: [10:41:00] * simon_w|air quit (Quit: This computer has gone to sleep)
124: [10:48:00] * dangerdan has joined #silverstripe
125: [10:50:00] * mrzero_ has joined #silverstripe
126: [10:50:00] * mrzero quit (Read error: Connection reset by peer)
127: [10:50:00] * mrzero_ quit (Changing host)
128: [10:50:00] * mrzero_ is now known as mrzero
129: [10:50:00] * mrzero_ has joined #silverstripe
130: [10:53:00] <dangerdan> is it possible to have a new tab for a certain page type have what would normally go in the left menu with model admin?
131: [10:54:00] <MrGray> Uh?
132: [10:55:00] <dangerdan> sorry that was really poorly worded
133: [10:55:00] <MrGray> Yeah, read that four times, still not sure.
134: [10:57:00] <dangerdan> im going to make an image of what i mean
135: [10:59:00] <dangerdan> http://i.imgur.com/FUkLjBH.png
136: [10:59:00] <dangerdan> so basically i want to know if i can have the modeladmin view for a set of data object as its own tab for a certain page
137: [11:00:00] <dangerdan> those data objects will power the page basically, i could just have the tab on the left but i would rather have it as a tab for the page itself
138: [11:03:00] * gelignite has joined #silverstripe
139: [11:09:00] * wmk has joined #silverstripe
140: [11:12:00] <Zauberfisch> the question is how much work are you willing to spend on it
141: [11:12:00] <Zauberfisch> dangerdan I say basiclly anything is possible
142: [11:15:00] <Zauberfisch> I am still not sure what exactly you are trying to do though
143: [11:17:00] <dangerdan> all i really wanted was a grid field view in a tab as opposed to it being a model admin page on the left
144: [11:17:00] <dangerdan> near enough
145: [11:17:00] <dangerdan> ive done it
146: [11:17:00] <dangerdan> sorry
147: [11:18:00] <Zauberfisch> you just want a grid inside getCMSFields of a page?
148: [11:18:00] <Zauberfisch> ah, so you don't want a new model admin
149: [11:19:00] * simon__w has joined #silverstripe
150: [11:19:00] <MrGray> Finally! HELP PLX!
151: [11:19:00] <dangerdan> i worded my question awfully though
152: [11:19:00] <Zauberfisch> thats easy
153: [11:19:00] <Zauberfisch> ah
154: [11:19:00] <dangerdan> yes
155: [11:20:00] <Zauberfisch> dangerdan whats the name of the has_many or many_many relation you want to manage with the gridfield
156: [11:20:00] <MrGray> [14:09] <MrGray> I can't use another function because the Children are being looped inside another set if children, thus no controller functions.
157: [11:20:00] <MrGray> [14:08] <MrGray> Basically I loop through a set of children and I need to loop through again for the descriptions of the gallery items.
158: [11:21:00] <dangerdan> its okay i've come up with a solution
159: [11:21:00] <Zauberfisch> yep
160: [11:21:00] <Zauberfisch> $grid = GridField::create('name', 'this is my awesome grid', $this->HasManyRelationName(), $config);
161: [11:21:00] <dangerdan> i did:
162: [11:21:00] <Zauberfisch> thats it
163: [11:21:00] <dangerdan> $gridField = new GridField('pages', 'All pages', Guide::get(), GridFieldConfig_RecordEditor::create());
164: [11:22:00] <Zauberfisch> Guide::get() is also valid, but then its not related to the page
165: [11:22:00] <Zauberfisch> dangerdan but gridfield is powerful, I am doing some crazy stuff with it
166: [11:22:00] <dangerdan> i might go with your way then tbh
167: [11:23:00] <dangerdan> go on?
168: [11:23:00] <dangerdan> i'm doing something very simple atm, but i am new to SS so would be interested to hear
169: [11:23:00] <MrGray> I think I'm curious too.
170: [11:24:00] <Zauberfisch> http://saturn.zauberfisch.at/share/screen001.png
171: [11:25:00] <Zauberfisch> both silverstripe
172: [11:25:00] <MrGray> Second one didn't open, but fuck!
173: [11:25:00] <Zauberfisch> http://saturn.zauberfisch.at/share/screen002.png
174: [11:25:00] <Zauberfisch> both gridfield awesomeness
175: [11:26:00] <MrGray> Wait, scratch the sort of.
176: [11:26:00] <MrGray> ..I sort of feel like a newb now.
177: [11:26:00] <dangerdan> wow cool
178: [11:27:00] <Zauberfisch> dangerdan you need to replace "HasManyRelationName" with the name of your relation
179: [11:27:00] <MrGray> I really need to tinker more..
180: [11:27:00] <dangerdan> your "$this->HasManyRelationName()" part of the code didnt work for me
181: [11:27:00] <dangerdan> from your snippet above
182: [11:27:00] <MrGray> Uhm.
183: [11:27:00] <MrGray> Aye, worked.
184: [11:27:00] <Zauberfisch> MrGray dangerdan try the 2nd link again, fixed it
185: [11:28:00] <Zauberfisch> dangerdan if it doesn't work, paste your code (but use a paste site like paste2.org)
186: [11:29:00] * simon_w quit (*.net *.split)
187: [11:29:00] <MrGray> I*
188: [11:29:00] <MrGray> On a Children's loop?
189: [11:29:00] <MrGray> Ok, remember that used the Reverse y'day?
190: [11:29:00] <MrGray> Ah, I'll be clearer.
191: [11:29:00] <Zauberfisch> MrGray I don't understand your loop question
192: [11:30:00] <dangerdan> http://pastebin.com/War4TFHs
193: [11:30:00] * Zauberfisch quit (Remote host closed the connection)
194: [11:31:00] <MrGray> Aw.
195: [11:35:00] * Zauberfisch has joined #silverstripe
196: [11:35:00] <Zauberfisch|idle> don't worry, I got everything
197: [11:36:00] <MrGray> Basically, it's <% loop Children %> <% loop Children.Reverse %>Gallery images.<%end_loop %> <% loop Children.Reverse %>Gallery descriptions.<%end_loop %> <%end_loop %>
198: [11:36:00] <MrGray> The second internal loop, the one with gallery descriptions, repeats the first set descriptions for the first gallery.
199: [11:36:00] <MrGray> Ah, here's what I was going to type,
200: [11:37:00] <MrGray> So, if there are three galleries, all three of them have valid images, but the descriptions for ALL of them are of the first one.
201: [11:40:00] <Zauberfisch> let me read the log
202: [11:40:00] <MrGray> a*
203: [11:40:00] <Zauberfisch> so
204: [11:40:00] <MrGray> I think it might be cache issue..
205: [11:40:00] <MrGray> n*
206: [11:40:00] <MrGray> Aye, let me know if I should create a pastebit.
207: [11:40:00] <Zauberfisch> now I am fully back
208: [11:41:00] <Zauberfisch> dangerdan more code
209: [11:41:00] <Zauberfisch> and the Guides class
210: [11:41:00] <Zauberfisch> I need the whole class
211: [11:42:00] <MrGray> Na, that's just an illustration.
212: [11:42:00] <MrGray> Wait, I'll create a pastebin.
213: [11:42:00] <Zauberfisch> MrGray your <%end_loop %> is missing a space
214: [11:42:00] <dangerdan> okay
215: [11:45:00] <MrGray> http://pastebin.com/AMFjcbAv
216: [11:45:00] <MrGray> Here we go.
217: [11:46:00] <dangerdan> http://pastebin.com/CLPVLqpj
218: [11:54:00] <MrGray> Zauber?
219: [11:55:00] <MrGray> 3.0
220: [11:55:00] <Zauberfisch> MrGray ss version?
221: [11:55:00] <MrGray> Aw, he left us again.
222: [11:56:00] * mobiusnz quit (Quit: Leaving.)
223: [11:57:00] <Zauberfisch> dangerdan http://paste2.org/k96c1FW6
224: [11:58:00] * webguest has joined #silverstripe
225: [11:58:00] <webguest> Any one in the house who know the best approach on Multi Language Javascript messages?
226: [11:58:00] <Zauberfisch> MrGray remind me, what again is not working as expected?
227: [11:59:00] <Zauberfisch> there is some sort of _t in javascript, I just never used it
228: [11:59:00] <MrGray> The one where I placed the comment?
229: [11:59:00] <Zauberfisch> ss2 has a way of doing it, I just don't know how
230: [11:59:00] <webguest> hi ;)
231: [11:59:00] <webguest> cause in javascript files, you cant use the silverstripe <% _t value's
232: [11:59:00] <MrGray> Ok, you see the second loop?
233: [11:59:00] <Zauberfisch> ohai webguest (:
234: [12:00:00] <MrGray> It shows the Children from the first gallery for all three galleries.
235: [12:00:00] * Nyger has joined #silverstripe
236: [12:00:00] * Nyger has left #silverstripe
237: [12:02:00] <MrGray> The first loop runs perfectly showing the images, the second one shows descriptions just from the first gallery.
238: [12:03:00] <dangerdan> thats great thanks!
239: [12:03:00] * lx-berlin has joined #silverstripe
240: [12:04:00] <Zauberfisch> dangerdan np
241: [12:04:00] <Zauberfisch> lx-berlin idk if I showed you already, but here is a screen of the custom silverstripe backend I have been working on http://saturn.zauberfisch.at/share/screen001.png
242: [12:04:00] <Zauberfisch> ok
243: [12:05:00] <dangerdan> i know how to hide the field just not how to force it to be set to the page selected in the cms
244: [12:05:00] <dangerdan> there is now a field when you add a guide to a page asking for the has one page obviously, but if someone went to this tab for the page to add this object, i want it to be for the page in question (obviously).. how do i force the field to be set to the page and hide the field?
245: [12:10:00] <Zauberfisch> dangerdan have you tried it?
246: [12:10:00] <lx-berlin> Zauberfisch: wow!
247: [12:10:00] <Zauberfisch> dangerdan gridfield is taking care of that
248: [12:11:00] <dangerdan> so if i just hide it, it should just fill it in for me?
249: [12:11:00] <dangerdan> tried it now, works :)
250: [12:11:00] * UndefinedOffset has joined #silverstripe
251: [12:12:00] <MrGray> No help for moi?
252: [12:13:00] <Zauberfisch> dangerdan yep, gridfield fills that
253: [12:13:00] <Zauberfisch> dangerdan just so you know, has_many is useless without a has_one on the other class
254: [12:14:00] <MrGray> Nope, tried it with a whole lot of things.
255: [12:14:00] <Zauberfisch> MrGray have you checked the actual html output?
256: [12:14:00] <Zauberfisch> has_many does nothing if the other class doesn't have a has one
257: [12:14:00] <Zauberfisch> maybe its just a display issue?
258: [12:14:00] <MrGray> Used sort methods.
259: [12:15:00] <dangerdan> silverstripe seems really powerful though
260: [12:15:00] <MrGray> It just does not seem to like me.
261: [12:15:00] <MrGray> Cleared cache.
262: [12:15:00] <dangerdan> okay thanks, like i said im new at this :)
263: [12:15:00] <dangerdan> makes a lot of stuff really easy
264: [12:19:00] <Zauberfisch> dangerdan indeed
265: [12:20:00] * Nyger has joined #silverstripe
266: [12:21:00] <lx-berlin> looking forward for your blogpost, how you built this cms, Zauberfisch :)
267: [12:21:00] <Zauberfisch> MrGray does it work if you loop then without reverse?
268: [12:22:00] <Zauberfisch> if I just had time for the luxury of a blog
269: [12:22:00] <MrGray> Uh, open-source the souce code? :p
270: [12:22:00] <lx-berlin> too bad
271: [12:22:00] <Zauberfisch> lx-berlin ^^
272: [12:22:00] <Zauberfisch> then I wouldn't have the time to build such cool things :P
273: [12:22:00] <MrGray> It does work without Reverse.
274: [12:22:00] <MrGray> I am too!
275: [12:23:00] <MrGray> It really does look fantastic though.
276: [12:23:00] <Zauberfisch> MrGray not so easy, I can't just open source code I did for a company
277: [12:24:00] <MrGray> Is it a booking system of some sort?
278: [12:24:00] <MrGray> I know, I just wanted to pull the liner! ;)
279: [12:31:00] <kinglozzer> Is http://api.silverstripe.org/ kinda broken for everyone else?
280: [12:33:00] <MrGray> It was for me y'day.
281: [12:36:00] * waveydave has left #silverstripe
282: [12:37:00] * waveydave has joined #silverstripe
283: [12:52:00] <wmk> kinglozzer, i can browse the api
284: [12:53:00] <kinglozzer> wmk: I can browse it, but the search form is broken
285: [12:54:00] <wmk> kinglozzer, on left or on top?
286: [12:54:00] <kinglozzer> wmk: Left, there isn't one on top for me
287: [12:54:00] <wmk> kinglozzer, the "Search on SilverStripe.org sites" form
288: [12:55:00] <wmk> Zauberfisch, was this just a css tweak or also templates?
289: [12:55:00] <wmk> looks really really cool
290: [12:55:00] <kinglozzer> wmk: http://i.imgur.com/EEjg8mP.jpg
291: [12:56:00] <kinglozzer> FF20 :P
292: [12:56:00] <wmk> kinglozzer, omg...
293: [12:56:00] <wmk> which browser? i use ff 20
294: [12:56:00] <kinglozzer> Cleared cache and everything
295: [12:57:00] <wmk> left form also works here
296: [12:57:00] <wmk> i deactivated cache in webdeveloper tools
297: [12:57:00] <kinglozzer> Ooh, fixed it! I had javascript disabled from when I was building a site earlier. Pretty drastic changes without JS enabled though
298: [12:58:00] <wmk> of course, now i see it
299: [13:07:00] * lx-berlin quit (Read error: Operation timed out)
300: [13:19:00] * MrGray quit (Ping timeout: 245 seconds)
301: [13:24:00] * MrGray has joined #silverstripe
302: [13:25:00] <MrGray> Could I use default_sort on Children?
303: [13:30:00] * Shrike_Finland quit (Quit: Leaving.)
304: [13:39:00] <onre> anyone got non-latin urls to work with ss 3.0?
305: [13:40:00] <onre> i know i can't enter them from admin interface, but putting them in database either as utf8 or as urlencoded doesn't work either
306: [13:42:00] * DesignerX quit (Ping timeout: 256 seconds)
307: [13:42:00] <MrGray> Ok, overriding Children didn't work either.
308: [13:42:00] <MrGray> Boy do I hate caching now.
309: [13:49:00] * Shrike_Finland has joined #silverstripe
310: [13:56:00] * priithansen has joined #silverstripe
311: [13:59:00] * osterlaus has joined #silverstripe
312: [13:59:00] * dangerdan quit (Ping timeout: 245 seconds)
313: [14:20:00] * kerosene has joined #silverstripe
314: [14:23:00] <wmk> Hi UndefinedOffset, didn't find the time yet to dig into the issue w/ sortablegridfield
315: [14:32:00] <wmk> i cannot reopen, just comment
316: [14:32:00] <UndefinedOffset> if not let me know and i will
317: [14:32:00] <UndefinedOffset> wmk ok well... reopen the issue if you find anything (I think you can do that...)
318: [14:33:00] <UndefinedOffset> ok i'll open it then
319: [14:33:00] <wmk> ok.
320: [14:33:00] <wmk> i'll have a look at it later
321: [14:51:00] * osterlaus quit (Quit: Leaving.)
322: [15:05:00] * xyphoid quit (Read error: Operation timed out)
323: [15:09:00] * xyphoid has joined #silverstripe
324: [15:14:00] * Nivery has joined #silverstripe
325: [15:16:00] * xyphoid quit (Ping timeout: 255 seconds)
326: [15:17:00] * xyphoid has joined #silverstripe
327: [15:19:00] * Nyger has left #silverstripe
328: [15:21:00] * Nivery has joined #silverstripe
329: [15:21:00] * Nivery quit (Read error: Connection reset by peer)
330: [15:22:00] <Zauberfisch> and silverstripe forms
331: [15:22:00] <Zauberfisch> wmk its based on a silverstripe controller and 2 gridfields
332: [15:22:00] <Zauberfisch> but there is A LOT of custom css, JS and php
333: [15:23:00] <wmk> did you make it in backend or frontend?
334: [15:25:00] * lx-berlin has joined #silverstripe
335: [15:25:00] <wmk> hi lx-berlin
336: [15:25:00] <lx-berlin> hi
337: [15:26:00] <lx-berlin> any news on updating maps to google maps v3 api ?
338: [15:26:00] <wmk> not yet.
339: [15:27:00] <wmk> unclecheese has also a v3 branch in his mappable module
340: [15:27:00] <wmk> same here.
341: [15:27:00] <lx-berlin> me either :) i guess i will start working on this 2 days before support for v2 ends :)
342: [15:34:00] * lx-berlin has left #silverstripe
343: [15:38:00] * webguest quit (Ping timeout: 245 seconds)
344: [15:46:00] <Zauberfisch> wmk its a backend, but not based on leftandmain
345: [15:46:00] <wmk> ok.
346: [15:46:00] <Zauberfisch> so you could call it a frontend that is password protected
347: [15:51:00] * waveydave quit (Quit: waveydave)
348: [15:58:00] * wmk quit (Quit: nice to meet you ;))
349: [16:07:00] * Zauberfisch quit (Remote host closed the connection)
350: [16:19:00] * kinglozzer quit (Remote host closed the connection)
351: [16:31:00] * Nivery quit (Quit: Nivery)
352: [16:37:00] * popeshoe quit (Quit: Leaving)
353: [17:05:00] * MrGray quit (Ping timeout: 245 seconds)
354: [17:56:00] <peter_ss> css3 PIE *
355: [17:56:00] <peter_ss> anyone here uses cs33 PIE?
356: [17:56:00] * peter_ss has joined #silverstripe
357: [18:01:00] <FrozenFire> Should I just use <link href="$ThemeDir/...">?
358: [18:01:00] <FrozenFire> How does one do browser-specific CSS includes in the templating system?
359: [18:16:00] * joelpittet has joined #silverstripe
360: [18:17:00] * zfmf has left #silverstripe
361: [18:26:00] * peter_ss1 has joined #silverstripe
362: [18:27:00] * peter_ss quit (Ping timeout: 255 seconds)
363: [18:58:00] * ss-log has joined #silverstripe
364: [19:07:00] * terryapodaca has joined #silverstripe
365: [19:08:00] <terryapodaca> does anyone know where the ecommerce module is doing validation on the form?
366: [19:10:00] * kerosene quit (Quit: it'll all end in tears, you know)
367: [19:12:00] * sewid has joined #silverstripe
368: [19:13:00] * eikonos quit (Ping timeout: 260 seconds)
369: [19:14:00] * eikonos quit (Changing host)
370: [19:14:00] * eikonos has joined #silverstripe
371: [19:14:00] * eikonos has joined #silverstripe
372: [19:22:00] * sewid quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz???)
373: [19:45:00] * r3v3rb has joined #silverstripe
374: [19:45:00] <r3v3rb> any one home?
375: [19:47:00] <r3v3rb> so, what was once simple and worked in 2.4.X seems not to work as expected in 3.1
376: [19:49:00] <r3v3rb> I have an Advert dataobject that $has_one -> Page and on my Page that $has_many -> Advert yet when I choose a page for the advert it doesn't retain the ID to create a link on it :(
377: [19:53:00] <r3v3rb> http://www.sspaste.com/paste/show/5179898fa9ed4 <- if anyone has a second to help out?
378: [19:54:00] <priithansen> maybe the $has_one in Advert should be to HomePage as that's where the has_many is?
379: [19:56:00] <r3v3rb> priithansen: hmm??? not sure I want the Advert to store a page the user chooses, and then return a link for that advert to a page on the site <- hence the $has_one
380: [19:57:00] <r3v3rb> but the homepage could have 5 adverts for example
381: [19:57:00] <priithansen> what I meant was $has_one = [ $ad_Link => 'HomePage' ]
382: [19:57:00] <r3v3rb> I think I am missing something obvious
383: [19:57:00] <r3v3rb> an advert should only have one page associated to it
384: [19:58:00] <r3v3rb> priithansen: sure, but then the advert link ( $ad_Link ) would always want to be a HomePage type
385: [19:58:00] <priithansen> you have just 'Page' at the moment
386: [19:59:00] * oskarholo quit (Quit: oskarholo)
387: [20:00:00] <priithansen> hm then declare $has_many??= [ 'HPAdvert' => 'Advert' ] in Page.php ?
388: [20:02:00] <priithansen> No idea if that could be the problem just was the first thing i noticed that advert links to page but what links back is homepage class
389: [20:04:00] <FrozenFire> r3v3rb, The reverse relationship needs to use the same class.
390: [20:04:00] <FrozenFire> The Advert has_one should be to HomePage
391: [20:04:00] <FrozenFire> And the HomePage has_many going to Advert
392: [20:04:00] <r3v3rb> ok
393: [20:04:00] <FrozenFire> Or you should move the HomePage has_many into Page
394: [20:04:00] <FrozenFire> You have the Advert has_one going to Page
395: [20:05:00] * timsnadden_ has joined #silverstripe
396: [20:05:00] <FrozenFire> A has_many is a reverse relationship, so you need to make sure it links up properly to the class name the has_one is pointing to
397: [20:05:00] <FrozenFire> Or you can simply create your own component getter
398: [20:06:00] <r3v3rb> yep, so I changed it to HomePage and now I can only select homepage in the dropdown when creating an advert
399: [20:06:00] <FrozenFire> Otherwise it can't be sure whether it's being referred to
400: [20:06:00] <r3v3rb> which is what I expected
401: [20:06:00] <FrozenFire> Though, in this case, it actually sounds like you should be adding a many_many to HomePage
402: [20:06:00] <FrozenFire> Since many different types of pages might have adverts
403: [20:06:00] <FrozenFire> Instead of one advert mapping to one page.
404: [20:07:00] <FrozenFire> You don't necessarily need to use GridField
405: [20:07:00] <r3v3rb> damn this gridfield thingamajig makes it harder
406: [20:07:00] <FrozenFire> That is, HomePage many_many Advert
407: [20:08:00] <FrozenFire> You could, for instance, use a ListboxField
408: [20:08:00] <FrozenFire> r3v3rb, You just said two completely conflicting things.
409: [20:08:00] <r3v3rb> nope
410: [20:08:00] <FrozenFire> You might just be unfamiliar with GridField
411: [20:08:00] <FrozenFire> Though I prefer GridField for complex relationships
412: [20:08:00] <r3v3rb> FrozenFire: no only a HomePage can have an advert, but the advert needs to store a link to any page type
413: [20:09:00] <r3v3rb> no it needs to know the link that the user chooses when creating the advert??? to create a clickable advert in the site
414: [20:09:00] <FrozenFire> If a HomePage and a SomeOtherPage can both possibly have adverts, then Advert needs to know about either
415: [20:09:00] <FrozenFire> If only a HomePage can have an advert, then an advert only needs to know about HomePage
416: [20:10:00] <r3v3rb> ok, from the top
417: [20:10:00] <FrozenFire> An advert can show up on any given page, yes?
418: [20:10:00] <FrozenFire> I think maybe you're trying to represent two different things, then?
419: [20:10:00] <r3v3rb> the other page doesn't care about the advert in this instance - the advert DO just needs to store the ID of a page that a user chooses to have that 'advert' click through too
420: [20:11:00] <FrozenFire> Okay. So the Advert only needs to have a link to another page. It doesn't need to know about HomePage at all.
421: [20:11:00] <r3v3rb> an advert only appears on the HomePage, that advert though holds an image and a link to another page on the site which is then wrapped around the image in the template
422: [20:12:00] <r3v3rb> gotcha
423: [20:12:00] <FrozenFire> A has_many is "These things are pointing to me, specifically"
424: [20:12:00] <r3v3rb> or similar in the gridfield
425: [20:12:00] <r3v3rb> exactly
426: [20:12:00] <FrozenFire> Then HomePage can simply get *all* Adverts
427: [20:12:00] <r3v3rb> yep
428: [20:12:00] <FrozenFire> It doesn't need a has_many
429: [20:12:00] <FrozenFire> Just do public function Adverts() { return Advert::get(); }
430: [20:12:00] <FrozenFire> On HomePage
431: [20:13:00] <FrozenFire> Yup. So use GridField
432: [20:13:00] <r3v3rb> right so many many - advert on homepage
433: [20:13:00] <r3v3rb> :D
434: [20:13:00] <FrozenFire> If you want to select which adverts show up on a HomePage, then you'd use a many_many relationship
435: [20:13:00] <r3v3rb> I didn't want to have to create another admin panel just to store the adverts
436: [20:13:00] <r3v3rb> using modeladmin
437: [20:14:00] <FrozenFire> public static $many_many = array( "Adverts" => "Advert" )
438: [20:14:00] <r3v3rb> no has many
439: [20:14:00] <FrozenFire> Indeed
440: [20:14:00] <FrozenFire> Though, personally, instead of using a has_one for those sorts of links, I tend to do just a Text field
441: [20:14:00] <FrozenFire> Yep
442: [20:14:00] <r3v3rb> and advert still stays with has one page
443: [20:15:00] <r3v3rb> and in the gridfield use a custom getter to return all adverts ?
444: [20:15:00] <FrozenFire> Since you might want more complex links like "/contact/some-person#sometab"
445: [20:15:00] <r3v3rb> FrozenFire: ;) true but that requires a client with half a brian
446: [20:16:00] <r3v3rb> lmao
447: [20:16:00] * dangerdan has joined #silverstripe
448: [20:16:00] <FrozenFire> :P**
449: [20:16:00] <FrozenFire> That's their problem. P
450: [20:16:00] <r3v3rb> and my clients do not have half a half a brian
451: [20:17:00] <r3v3rb> okay you can come and do the install training :)
452: [20:18:00] * r3v3rb needs better clients
453: [20:18:00] <r3v3rb> spent 5 hours today in a room of 5 'users' explaining how to use the text styles in their website/ how to create text links in pages etc etc
454: [20:19:00] * mobiusnz has joined #silverstripe
455: [20:22:00] <r3v3rb> FrozenFire: I could kiss you, many_many fixed the relationship
456: [20:23:00] <r3v3rb> now heres another quicky, I have two gridfields on the page type, the add button shows the same text for both, why would that happen? So they both say Add FlexSlider...
457: [20:25:00] * timsnadden__ has joined #silverstripe
458: [20:26:00] * timsnadden_ quit (Ping timeout: 252 seconds)
459: [20:29:00] <FrozenFire> It uses the $singular_name of the DataObject
460: [20:29:00] * UndefinedOffset quit (Quit: Leaving.)
461: [20:30:00] <FrozenFire> You can change that on GridFieldAddNewButton
462: [20:30:00] <FrozenFire> Either way, you want to have the GF config
463: [20:30:00] <FrozenFire> Are you creating the GF yourself, or is it being automatically created?
464: [20:30:00] <r3v3rb> $config->addComponent(new GridFieldAddNewButton() then ?
465: [20:31:00] * joelpittet quit (Read error: Connection reset by peer)
466: [20:31:00] <r3v3rb> FrozenFire: http://www.sspaste.com/paste/show/51799298bae7a
467: [20:31:00] <FrozenFire> So $config->getComponentByType("GridFieldAddNewButton")->setButtonName("Your Name");
468: [20:31:00] <r3v3rb> yep ;)
469: [20:31:00] <r3v3rb> so use two configs for each gridfield - is best practice
470: [20:31:00] <FrozenFire> Create two configs
471: [20:32:00] <r3v3rb> simple :D
472: [20:32:00] <FrozenFire> $myRelationConfig->...
473: [20:32:00] <FrozenFire> Normally my GF creation is $fields->addFieldToTab("Root.Whatevs", new GridField("MyRelation", "My Relation", $this->MyRelation(), $myRelationConfig = new GridFieldConfig_RelationEditor()));
474: [20:33:00] <r3v3rb> right, less than 3% battery left - time to dash for the night, thanks FrozenFire for the GF advise
475: [20:34:00] <r3v3rb> even
476: [20:34:00] <r3v3rb> advice*
477: [20:35:00] * r3v3rb has left #silverstripe
478: [20:35:00] <vogels> any idee where i can find them in the folder structure
479: [20:35:00] <vogels> i'm looking for the translations of the blog module
480: [20:35:00] <vogels> hello ppl
481: [20:35:00] * vogels has joined #silverstripe
482: [20:36:00] <FrozenFire> https://github.com/silverstripe/silverstripe-blog/tree/master/lang
483: [20:39:00] <vogels> i have this site guestbook that runs on the bolg module
484: [20:39:00] <vogels> http://deouwskuur.nl.web02.ib.nxs.nl/guestbook/
485: [20:40:00] <vogels> woopt
486: [20:40:00] <vogels> i want to change the text: E-mailadress (won't be publiched)
487: [20:40:00] <vogels> woops
488: [20:40:00] <vogels> but i can't find that text
489: [20:40:00] <vogels> i want to change the text: http://deouwskuur.nl.web02.ib.nxs.nl/guestbook/
490: [20:41:00] <FrozenFire> Not sure what that has to do with the blog module
491: [20:41:00] <vogels> this runs on the comment feature in SS
492: [20:41:00] <FrozenFire> That looks to be a contact form in your site
493: [20:42:00] <vogels> sorry not the blog module
494: [20:42:00] <vogels> my bad
495: [20:44:00] <vogels> any idee where i can change this text
496: [20:47:00] <vogels> found
497: [20:47:00] <vogels> :)
498: [20:55:00] * ajmitch_ is now known as ajmitch
499: [20:59:00] * vogels quit (Quit: Page closed)
500: [21:01:00] * timsnadden__ quit (Quit: timsnadden__)
501: [21:07:00] <mobiusnz> where can I set allowed extensions in SS3?
502: [21:07:00] * dangerdan quit (Ping timeout: 245 seconds)
503: [21:08:00] <mobiusnz> for file uploads
504: [21:13:00] * timsnadden has joined #silverstripe
505: [21:24:00] <FrozenFire> $UploadField->getValidator()->setAllowedExtensions(array('jpg', 'jpeg', 'png', 'gif'));
506: [21:28:00] * timsnadden quit (Quit: timsnadden)
507: [21:46:00] * timsnadden_ has joined #silverstripe
508: [21:53:00] <cloph_away1> Director::forceSSL doesn't work anymore in SS 3.1?
509: [21:53:00] * cloph_away1 is now known as cloph
510: [21:54:00] * timsnadden_ quit (Quit: timsnadden_)
511: [21:55:00] <FrozenFire> It does.
512: [21:55:00] <FrozenFire> Depends on when you call it, most like
513: [21:56:00] <cloph> I put it into mysite/_config.php (as in the api-docs, and as it works in ss 2.4) - but it has no effect at all.
514: [21:56:00] <cloph> Tried with array of patterns, tried for whole site as Director::forceSSL() - neither did work.
515: [21:59:00] <FrozenFire> Page::init
516: [21:59:00] <cloph> FrozenFire: Do you have a working example?
517: [21:59:00] <FrozenFire> Put it in your controller init
518: [21:59:00] <FrozenFire> I tend to only put it on controllers which handle credit card data
519: [22:00:00] <cloph> I want it for /admin and /Security - so mainly for the backend, not the user-facing pages.
520: [22:00:00] <FrozenFire> That way the site works without SSL, until they need to check out
521: [22:01:00] <FrozenFire> For admin, create an Extension called LeftAndMainSSLHook
522: [22:01:00] <FrozenFire> Same with Security
523: [22:01:00] <FrozenFire> Apply that to LeftAndMain
524: [22:01:00] <FrozenFire> public function onAfterInit() { Director::forceSSL(); }
525: [22:02:00] <FrozenFire> And apply the same to both
526: [22:02:00] <cloph> sounds like a bad hack, given that the functionality should (and did) work out-of-the-box....
527: [22:02:00] <FrozenFire> Could actually just create an Extension called ForceSSLExtension
528: [22:02:00] * willr_ has joined #silverstripe
529: [22:02:00] <FrozenFire> You should be munging it when the controller is initialized
530: [22:02:00] <FrozenFire> You shouldn't be munging the request during init/config
531: [22:02:00] <FrozenFire> Nah, it's how it *should* be done.
532: [22:03:00] <cloph> Well, the function is meant to be used that way - it explicitly states to call it from _config.php
533: [22:03:00] <FrozenFire> Hrmm. Well, it's wrong, imo.
534: [22:04:00] <FrozenFire> Before SS3
535: [22:04:00] <FrozenFire> That note was written back in 2008
536: [22:05:00] <FrozenFire> Well before SS3 by far
537: [22:05:00] <cloph> I disagree - and rather before adding Extensions for that, I look into rewriting the URLs in the webserver. Director::forceSSL should work as described - that's my POV.
538: [22:06:00] <FrozenFire> That's an even worse way of going about it.
539: [22:06:00] <FrozenFire> They're ways of adding non-standard functionality to the system.
540: [22:06:00] <FrozenFire> Extensions are not hacks.
541: [22:07:00] <FrozenFire> SSL should be standard for all SS installs?
542: [22:07:00] <FrozenFire> My suggested extension is saying, once this controller has done its initialization, and possibly blocked the user in some other way, check to see if they're on SSL, and if so, force them over to the SSL-protected site.
543: [22:07:00] <FrozenFire> Wat
544: [22:07:00] <cloph> non-standard. Exactly. But SSL should be standard. And the Function is excactly that - only that it is broken in 3.1 and doesn't work anymore as it did in ss 2.4
545: [22:08:00] <cloph> it is pointless to do any action, when you know you require ssl anyway.
546: [22:08:00] <FrozenFire> Eh, do what you want. You're wrong, though.
547: [22:08:00] <cloph> Nothing that you should have to hack around yourself.
548: [22:08:00] <FrozenFire> It's a hack to match by URL
549: [22:08:00] <willr_> cloph surely then you're in force that at the web server level
550: [22:08:00] <cloph> No, it is a standard functionality that you enable with a configure switch or similar.
551: [22:09:00] <willr_> if you want to require SSL for everything.
552: [22:09:00] <FrozenFire> He wants to require it for two controllers.
553: [22:09:00] <cloph> I don't want to require it for everyting.
554: [22:09:00] <cloph> I want it to work as in 2.4, for Director::forceSSL(array('/^admin/', '/^Security/'))
555: [22:09:00] <FrozenFire> He wants to apply this functionality by naively mapping URLs to routing behaviour
556: [22:09:00] <FrozenFire> Except he doesn't want to involve the controller in that decision in any way.
557: [22:10:00] <FrozenFire> Bad, bad, bad.
558: [22:10:00] <FrozenFire> Yes. That is a horrific way of doing it.
559: [22:10:00] <FrozenFire> Yes. The written-in-2008 bad API docs for 2.3 or something
560: [22:10:00] <cloph> that's the way it is described in the source/api docs.
561: [22:11:00] <cloph> doesn't matter when they were written when the very same documentation is still in the shipped source.
562: [22:12:00] <simon_w> FrozenFire, no, you are.
563: [22:12:00] * FrozenFire washes his hands of this
564: [22:12:00] <FrozenFire> You're being moronic.
565: [22:12:00] <simon__w> FrozenFire, no, you are. That's still the recommended way of doing things.
566: [22:12:00] <cloph> No, just have a different opinion
567: [22:12:00] * simon__w is now known as simoN_w
568: [22:12:00] <FrozenFire> simoN_w, Then it's wrong.
569: [22:12:00] * simoN_w is now known as simon_w
570: [22:12:00] <FrozenFire> Neener neener
571: [22:13:00] * eikonos quit (Ping timeout: 268 seconds)
572: [22:14:00] <simon_w> Hang on, lady friend is here. Why am I even on IRC?
573: [22:14:00] * eikonos1 has joined #silverstripe
574: [22:15:00] * Kolin quit (*.net *.split)
575: [22:15:00] * Kolin has joined #silverstripe
576: [22:15:00] * spronk2 has joined #silverstripe
577: [22:15:00] * spronk2 quit (*.net *.split)
578: [22:15:00] <FrozenFire> Good question.
579: [22:17:00] <cloph> lady busy watching her favorite show on TV? :-)
580: [22:19:00] * eikonos1 is now known as eikonos
581: [22:20:00] * eikonos has joined #silverstripe
582: [22:20:00] * eikonos quit (Changing host)
583: [22:27:00] * eikonos1 has joined #silverstripe
584: [22:28:00] * eikonos quit (Ping timeout: 248 seconds)
585: [22:31:00] * eikonos1 is now known as eikonos
586: [22:31:00] * eikonos has joined #silverstripe
587: [22:31:00] * eikonos quit (Changing host)
588: [22:34:00] * priithansen quit (Quit: priithansen)
589: [22:49:00] <cloph> FYI: cause for the redirect not working is that nginx as configured on ubuntu sets $_SERVER['HTTPS'] to <empty>, but Director checks with isset and fails because of that.
590: [22:50:00] <cloph> So an extension wouldn't have helped either...
591: [22:55:00] <FrozenFire> Uh huh.
592: [22:55:00] <FrozenFire> fastcgi_params
593: [22:57:00] <cloph> jup.
594: [22:58:00] <FrozenFire> Except at the right point in time
595: [22:58:00] <FrozenFire> An extension would've done precisely the same thing.
596: [22:59:00] <FrozenFire> Naturally your SAPI has to inform the application of whether it's SSL
597: [22:59:00] <cloph> would have exactly failed the same way, as ending up in the same codepath. But we've been there already. We just disagree on how it /should/ work.
598: [23:00:00] <FrozenFire> SAPI has to inform the application of everything to do with the environment.
599: [23:00:00] <FrozenFire> It defines $_SERVER
600: [23:04:00] <mobiusnz> has database config in _config.php changed in SS3?
601: [23:04:00] <mobiusnz> I see global $database instead of global $databaseConfig
602: [23:04:00] * travis-ci has joined #silverstripe
603: [23:04:00] <travis-ci> [travis-ci] chillu/sapphire#147 (pulls/shortcode-quoting - 0e5b099 : Ingo Schommer): The build has errored.
604: [23:04:00] <travis-ci> [travis-ci] Change view : https://github.com/chillu/sapphire/compare/8d26bdbd2e06^...0e5b09928753
605: [23:04:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/chillu/sapphire/builds/6645779
606: [23:04:00] * travis-ci has left #silverstripe
607: [23:04:00] <cloph> Yes, it is empty when not accessing using https, and "on" when accessing with https
608: [23:05:00] <cloph> The crucial thing is that it is set and empty, and that forceSSL checks with isset, and that returns true, even when there is no value.
609: [23:05:00] <cloph> Easy to fix in ubuntu's config by adding a "if_not_empty" - or by changing !isset() to empty()
610: [23:05:00] * timsnadden_ has joined #silverstripe
611: [23:06:00] <cloph> mobiusnz: AFAICT there is no change - I have databaseConfig in both ss 2.4 as well as in a fresh 3.1beta3
612: [23:07:00] <mobiusnz> ok
613: [23:16:00] <FrozenFire> Hrmm, I'm so glad that I *finally* get how to mess with GridFieldDetailForm_ItemRequest
614: [23:16:00] * dangerdan has joined #silverstripe
615: [23:16:00] <dangerdan> how do i stop silverstripe automatically adding a <title> tag to my pages?
616: [23:16:00] <FrozenFire> It's so goddamn handy
617: [23:17:00] <FrozenFire> dangerdan, Version?
618: [23:17:00] <dangerdan> 3.0
619: [23:17:00] <FrozenFire> I've noticed that, too. I think it's only in 3.0
620: [23:17:00] <FrozenFire> It's likely part of ContentNegotiator
621: [23:18:00] <FrozenFire> Indeed
622: [23:18:00] <FrozenFire> I'd call it such
623: [23:18:00] <dangerdan> cos i want to be able to set it via my main page.ss template :(
624: [23:18:00] <dangerdan> so is this kinda like a bug?
625: [23:18:00] <dangerdan> it sets the title correct.. just makes my html invalid
626: [23:19:00] <dangerdan> you come up with any work-arounds?
627: [23:19:00] <FrozenFire> Can't say I have
628: [23:20:00] <dangerdan> yes
629: [23:20:00] <FrozenFire> 3.0.5?
630: [23:20:00] <FrozenFire> What version, specifically, are you using?
631: [23:21:00] <FrozenFire> I might take a look around for a solution in a bit
632: [23:21:00] <FrozenFire> Have a bit of work to do at the moment
633: [23:27:00] * helenclarko has joined #silverstripe
634: [23:28:00] <helenclarko> How often does Chillu visit IRC? I have some questions regarding the reCAPTCHA module.
635: [23:29:00] <terryapodaca> is there a way to echo or print a dataobject?
636: [23:30:00] <travis-ci> [travis-ci] silverstripe/sapphire#2076 (pulls/shortcode-quoting - 6e9d358 : Ingo Schommer): The build has errored.
637: [23:30:00] * travis-ci has joined #silverstripe
638: [23:30:00] * travis-ci has left #silverstripe
639: [23:30:00] <FrozenFire> helenclarko, He's here right now, though my understanding of his geographical location would seem to indicate that he's sipping wine and relaxing, at present.
640: [23:30:00] <FrozenFire> terryapodaca, Debug::dump()
641: [23:30:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/6646204
642: [23:30:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/commit/6e9d3580505a
643: [23:31:00] <helenclarko> Haha, in that case I'll just ask my questions and see how it goes.
644: [23:31:00] <FrozenFire> Probably best. ;)
645: [23:32:00] * spronk has joined #silverstripe
646: [23:32:00] <helenclarko> Actually, this may not be something Chillu can answer...But here goes.
647: [23:33:00] <chillu> FrozenFire: helenclarko Not sipping wine unfortunately, but about to head to bed
648: [23:34:00] * travis-ci has joined #silverstripe
649: [23:34:00] * travis-ci has left #silverstripe
650: [23:34:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/6646296
651: [23:34:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/6e9d3580505a...1d253d0026fe
652: [23:34:00] <travis-ci> [travis-ci] silverstripe/sapphire#2077 (pulls/shortcode-quoting - 1d253d0 : Ingo Schommer): The build failed.
653: [23:35:00] <simon_w> I'm Simon!
654: [23:35:00] <spronk> http://www.kickstarter.com/projects/woodenshark/lightpack-ambient-backlight-for-your-displays
655: [23:35:00] <helenclarko> Im working with the blog module. My question is how can I stop the recapthca on the comments section of the blog? I realise the blog has nothing to do with the comments, as the comments are something that is built into silverstripe.
656: [23:36:00] <helenclarko> But I have forced all users to be logged in to post a comment and in this case I dont think they need to fill out a reCaptcha.
657: [23:38:00] * Liquide has joined #silverstripe
658: [23:38:00] <simon_w> I'm a smelly head!
659: [23:39:00] <simon_w> Never!
660: [23:39:00] <simon_w> :o
661: [23:39:00] <FrozenFire> You're his lady friend, is who you are. :P
662: [23:39:00] <simon_w> It's not possible.
663: [23:40:00] <FrozenFire> Good maybe I can get you to patch a bug for me, then
664: [23:40:00] <simon_w> I, Simon, am completely me. Simon. Yes.
665: [23:40:00] * SticksM has joined #silverstripe
666: [23:40:00] <simon_w> And someone keeps emailing me whose name is the name of the table in Jonathan Coulton's 'Ikea' song.
667: [23:40:00] <simon_w> uh yeah
668: [23:40:00] <simon_w> of course
669: [23:40:00] <simon_w> yeessss I can do that.
670: [23:42:00] <FrozenFire> Be a sweetheart and patch it for me? :P
671: [23:42:00] <FrozenFire> So, for the translatable module, in order for the Translatable updateCMSFields to function correctly, the GridFieldDetailForm_ItemRequest needs to have a createtranslation action on it
672: [23:42:00] <FrozenFire> http://www.sspaste.com/paste/show/5179bf5c4c84a
673: [23:43:00] <simon_w> That would couple framework to translatable in a way that's not going to happen
674: [23:43:00] * FrozenFire applies the nerd Turing test
675: [23:43:00] * travis-ci has joined #silverstripe
676: [23:43:00] <travis-ci> [travis-ci] silverstripe/sapphire#2078 (3.1 - 9b99eb9 : Ingo Schommer): The build passed.
677: [23:43:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/a6b0807b9fdb...9b99eb9339e0
678: [23:43:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/6646319
679: [23:43:00] * travis-ci has left #silverstripe
680: [23:43:00] <simon_w> See, I'm Simon!
681: [23:44:00] <chillu> Sorry, gotta head off - its 1:30am here :)
682: [23:44:00] <helenclarko> all good, thanks for your time
683: [23:44:00] <chillu> helenclarko: The comments and blog modules don't have any mention of recaptcha or spamprotection, so I don't see the connection at the moment
684: [23:44:00] <Colin[pi]> nn ingo
685: [23:45:00] <FrozenFire> Bundling that, with some modifications that I'm sure you can do, one could simply specify that as the ItemRequestClass for the GridFieldDetailForm handling the Translatable DataObject
686: [23:45:00] <FrozenFire> And kapow
687: [23:45:00] <helenclarko> Ill talk to you sometime next week possibly
688: [23:45:00] <FrozenFire> simon_w, That's why it's a descendent rather than a modification. ;)
689: [23:46:00] <FrozenFire> Would also be cool to let DataObjects specify their ItemRequestClass, instead of having to modify the GridFieldDetailForm manually
690: [23:46:00] <FrozenFire> :P
691: [23:46:00] * helenclarko quit (Quit: Page closed)
692: [23:46:00] <simon_w> PR or GTFO :p
693: [23:46:00] <FrozenFire> Okay, definitely Simon now.
694: [23:47:00] <simon_w> I won't
695: [23:47:00] <simon_w> he won't let me type!
696: [23:47:00] <Colin[pi]> we already know he's a smelly head
697: [23:47:00] <simon_w> I mean
698: [23:47:00] <simon_w> I
699: [23:47:00] <Colin[pi]> lol
700: [23:47:00] <simon_w> And, now that I have proven I'm Simon, you must accept that I am a smelly head
701: [23:47:00] <simon_w> I, Simon, declareis
702: [23:47:00] <simon_w> Multiple personality disorder
703: [23:47:00] <simon_w> it's
704: [23:47:00] <simon_w> it's a problem
705: [23:48:00] <FrozenFire> Haha
706: [23:48:00] <Colin[pi]> LOL
707: [23:48:00] * chillu quit (Quit: chillu)
708: [23:48:00] <simon_w> Multiple computer problem.
709: [23:48:00] <simon_w> Heheh.
710: [23:48:00] <simon_w> You should witness the odour his butt fives off
711: [23:48:00] <simon_w> gives
712: [23:48:00] <simon_w> orrrrr not
713: [23:48:00] <Colin[pi]> I would rather not!
714: [23:48:00] <simon_w> if you value your nasal passages
715: [23:48:00] <Colin[pi]> I love that all of this is logged, on his own server
716: [23:48:00] <FrozenFire> Yes, the odour that his head gives off is well-established around here.
717: [23:49:00] <simon_w> noooo
718: [23:49:00] <FrozenFire> Then indexed by teh Googles for all to see
719: [23:49:00] <simon_w> I nearly had to get out of bed this morning. I mean, my own bed, to get away from my, Simon's, awful farts.
720: [23:49:00] <FrozenFire> Dutch Oven
721: [23:49:00] <simon_w> Oh, there's worse
722: [23:49:00] <simon_w> Get away from my irc, me!
723: [23:49:00] <simon_w> Don't you even think about it!
724: [23:53:00] <simon_w> I won.
725: [23:54:00] <FrozenFire> Who?
726: [23:54:00] <simon_w> Me, Simon.
727: [23:54:00] * Colin[pi] is so confused
728: [23:55:00] <FrozenFire> Identity test: Should the oembed module be bundled into the framework?
729: [23:55:00] <simon_w> Apparently I would respond no
730: [23:55:00] <simon_w> I mean
731: [23:55:00] <simon_w> definitely
732: [23:56:00] <simon_w> Oi, get out of it!
733: [23:56:00] * FrozenFire is afraid that simon_w is currently opped
734: [23:56:00] <simon_w> I have said "that's what she said" but I'm not sure why.
735: [23:56:00] <simon_w> Oh, right. It was in response to what I typed.
736: [23:56:00] <FrozenFire> IMPOSTER
737: [23:56:00] <simon_w> Or would I? DUN DUN DUN
738: [23:57:00] <simon_w> HA!
739: [23:57:00] <Colin[pi]> lol
740: [23:57:00] <lewellyn> good move
741: [23:57:00] <FrozenFire> :P
742: [23:57:00] <simon_w> Bother
743: [23:57:00] <FrozenFire> You could set his tagline to something by doing /quote Quit being a smelly head
744: [23:58:00] <simon_w> I'm trying to plan cooking him dinners :p
745: [23:58:00] <simon_w> I couuulld
746: [23:58:00] <FrozenFire> Blah. Evaded my carefully laid trap. :P
747: [23:58:00] * simon_w is dropping the thoroughly-convincing illusion.
748: [23:59:00] <simon_w> Aww, /cs doesn't like me enough
749: [23:59:00] <simon_w> WHAT AM I DOING
750: [23:59:00] <simon_w> mua ha ha
751: [23:59:00] <simon_w> STOP THAT
752: [23:59:00] <simon_w> Punk
753: [23:59:00] <simon_w> YEAH

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