#silverstripe IRC Log

IRC log for 9 February 2013

All timestamps are in UTC.

1: [00:01:00] * dospuntocero quit (Remote host closed the connection)
2: [00:02:00] * dospuntocero has joined #silverstripe
3: [00:07:00] * ARNHOE quit (Read error: Connection reset by peer)
4: [00:29:00] * Colin[pi] quit ()
5: [00:33:00] * gelignite quit (Quit: http://bit.ly/nkczDT)
6: [00:42:00] * Stomach has joined #silverstripe
7: [00:42:00] * Stomach quit (Client Quit)
8: [00:45:00] * l8s quit (Quit: Nettalk6 - www.ntalk.de)
9: [00:48:00] * priithansen quit (Quit: priithansen)
10: [01:23:00] * SightUnseen has joined #silverstripe
11: [01:24:00] * SightUnseen has left #silverstripe
12: [01:30:00] * nickmolhoek quit (Quit: nickmolhoek)
13: [01:53:00] * SightUnseen has left #silverstripe
14: [01:53:00] * SightUnseen has joined #silverstripe
15: [01:53:00] * Jakx has joined #silverstripe
16: [01:53:00] <Jakx> yo
17: [01:55:00] <Jakx> appropriate*
18: [01:55:00] <Jakx> what is the most appripriate way to convert 2013-02-08T16:30:36.000Z into an SS_Datetime object?
19: [02:23:00] <ss23> Where did it come from?
20: [02:23:00] <ss23> To convert that string to it? Probably depends on where it came from
21: [02:26:00] <Jakx> DBField::create_field('SS_DateTime', '2013-02-09T02:12:01.000Z');
22: [02:26:00] <Jakx> google claendar feed
23: [02:26:00] <Jakx> calendar*
24: [02:26:00] <Jakx> man
25: [02:26:00] <Jakx> typing is off today
26: [02:27:00] <Jakx> is that an ok way to do it?
27: [02:55:00] <Jakx> so Convert::xml2array(); didn't convert the google calendar xml feed properly. There was tonnes of missing fields :(
28: [03:28:00] * Emil_Blume quit (Ping timeout: 252 seconds)
29: [03:33:00] * mobiusnz has joined #silverstripe
30: [03:39:00] * ajshort has joined #silverstripe
31: [03:40:00] * Liquide quit ()
32: [03:42:00] * dospuntocero quit (Remote host closed the connection)
33: [03:43:00] * dospuntocero has joined #silverstripe
34: [03:48:00] * dospuntocero quit (Ping timeout: 276 seconds)
35: [03:49:00] * Emil_Blume has joined #silverstripe
36: [03:49:00] * dospuntocero has joined #silverstripe
37: [03:53:00] * dospuntocero quit (Ping timeout: 248 seconds)
38: [03:59:00] * Bollig|DesignCty has joined #silverstripe
39: [04:12:00] * Motoservo has joined #silverstripe
40: [04:13:00] * ezero quit (Ping timeout: 245 seconds)
41: [04:19:00] * dospuntocero has joined #silverstripe
42: [04:22:00] * Jakx has left #silverstripe
43: [04:26:00] * ss23 quit (Ping timeout: 246 seconds)
44: [04:26:00] * ss-log has joined #silverstripe
45: [04:26:00] * sminnee_ has joined #silverstripe
46: [04:26:00] * sminnee_ quit (Changing host)
47: [04:26:00] * ss-log quit (Ping timeout: 257 seconds)
48: [04:26:00] * sminnee_ has joined #silverstripe
49: [04:27:00] * Kapdap quit (Ping timeout: 252 seconds)
50: [04:27:00] * sminnee quit (Read error: Connection reset by peer)
51: [04:27:00] * Kapdap has joined #silverstripe
52: [04:27:00] * sminnee_ is now known as sminnee
53: [04:27:00] * ss23 has joined #silverstripe
54: [04:29:00] * dospuntocero quit (Ping timeout: 256 seconds)
55: [04:35:00] * cloph_away has joined #silverstripe
56: [04:37:00] * cloph_away1 quit (Ping timeout: 248 seconds)
57: [04:39:00] * ferge has joined #silverstripe
58: [04:44:00] * Motoservo quit (Quit: Motoservo)
59: [04:44:00] * ezero has joined #silverstripe
60: [04:51:00] * ezero quit (Ping timeout: 255 seconds)
61: [05:02:00] * silly-moose has joined #silverstripe
62: [05:04:00] * silly-moose quit (Client Quit)
63: [05:24:00] * Motoservo has joined #silverstripe
64: [06:32:00] * howardgrigg has joined #silverstripe
65: [06:53:00] * Error404NotFound quit (Quit: User guilty of hitting the Big Red X...)
66: [06:59:00] * mobiusnz quit (Quit: Leaving.)
67: [07:07:00] * SightUnseen1 has left #silverstripe
68: [07:07:00] * SightUnseen1 has joined #silverstripe
69: [07:33:00] * Unlearned has joined #silverstripe
70: [07:51:00] * lx-berlin has joined #silverstripe
71: [07:53:00] * howardgrigg quit (Remote host closed the connection)
72: [08:02:00] * Error404NotFound has joined #silverstripe
73: [08:03:00] * dospuntocero has joined #silverstripe
74: [08:03:00] * Shrike_Finland has joined #silverstripe
75: [08:06:00] <lx-berlin> good morning, is anyone online? I am looking for a solution to manage many_many_extrafields in a grid.
76: [08:07:00] * dospuntocero quit (Ping timeout: 248 seconds)
77: [08:07:00] <lx-berlin> for SS3
78: [08:17:00] * simon_w|air has joined #silverstripe
79: [08:19:00] <lx-berlin> yes
80: [08:19:00] <lx-berlin> I am looking for a solution to manage many_many_extrafields in a grid. (ss3)
81: [08:19:00] <simon_w|air> lx-berlin, GridField?
82: [08:20:00] <simon_w|air> lx-berlin, in your getCMSFields, add new FormField('ManyMany[ExtraFieldName]')
83: [08:20:00] <lx-berlin> but i will have about 8 extra fields for this m:m relation
84: [08:21:00] <simon_w|air> i.e., new TextField('ManyMany[SomeExtraText]', 'Some extra text')
85: [08:21:00] <lx-berlin> and when will this form field show up?
86: [08:21:00] <lx-berlin> ?
87: [08:21:00] <simon_w|air> Will have a field that manages the SomeExtraText extra field
88: [08:22:00] <simon_w|air> ajshort, does your inline editing component handle those?
89: [08:22:00] <lx-berlin> ah
90: [08:22:00] <simon_w|air> When you're in the edit view
91: [08:23:00] <lx-berlin> but i cannot set it, when i am adding an existing item. I need to click "edit" after adding an existing record. right ?
92: [08:23:00] <simon_w|air> Can do it on creation too
93: [08:24:00] <simon_w|air> Object gets written, then it and the extraFields get added to the list
94: [08:24:00] <lx-berlin> is there anywhere a documentation/tutorial about this ?
95: [08:25:00] <simon_w|air> lx-berlin, right
96: [08:25:00] <vogels> hello
97: [08:25:00] * vogels has joined #silverstripe
98: [08:25:00] <simon_w|air> Doubt it
99: [08:25:00] <lx-berlin> But setting the many_many_extrafields will be in fullscreen, not a popup , right ?
100: [08:26:00] <vogels> have a question about the sortable gridfield
101: [08:26:00] <ajshort> scratch your own itch etc. etc.
102: [08:26:00] <lx-berlin> i think this workflow looks a little bit confusing, when you click on "edit" in the grid
103: [08:26:00] <simon_w|air> ajshort, FIX IT! :p
104: [08:26:00] <ajshort> simon_w: no
105: [08:27:00] <simon_w|air> vogels, which one? And what's the question?
106: [08:27:00] <simon_w|air> ajshort, I don't care, other people do :p
107: [08:27:00] <lx-berlin> but thanks a lot, simon_w|air. I will give it a try later. Now its time for breakfast
108: [08:28:00] <vogels> the box is not bigger so there the message stops
109: [08:28:00] <vogels> when i add a foto in the SS backend i get a error message in the right upper corner teling me "/warning at line 418 of /home/deouwsku/public_html/framework/forms/gridf
110: [08:28:00] <simon_w|air> vogels, look at the response from the server in your browser's inspector to see what the actual error is
111: [08:28:00] <lx-berlin> use firebug to see the entire message
112: [08:29:00] <lx-berlin> btw. will this message box ever be styled ?
113: [08:29:00] <simon_w|air> It is styled :p
114: [08:29:00] <vogels> and when i want to open my uploads folder in the backend i get the same warning only on line 657 anf it will not open
115: [08:30:00] <vogels> chrome
116: [08:30:00] <simon_w|air> vogels, which browser are you using?
117: [08:30:00] <lx-berlin> i think error boxes should have a red background, and success boxes a green one. Oh, i didnt know that this is completely styled :)
118: [08:30:00] <vogels> hmmm. simon_w|air how do i do this :)
119: [08:30:00] <vogels> but also have IE and FF
120: [08:31:00] <simon_w|air> Open the web inspector, network tab, do the request that errors, click on it, look at response
121: [08:33:00] <lx-berlin> just google for "firbug tutorial". I think you should find plenty of them. Even many screencasts
122: [08:33:00] <simon_w|air> lx-berlin, firebug isn't going to help here
123: [08:33:00] <vogels> hmm
124: [08:34:00] <lx-berlin> why not ?
125: [08:34:00] <vogels> wtf the error is gone
126: [08:34:00] <lx-berlin> yes, but he said he has also FF installed
127: [08:34:00] <simon_w|air> Chrome
128: [08:35:00] <lx-berlin> but of course he can use whatever he wants
129: [08:36:00] * zfmf has joined #silverstripe
130: [08:36:00] <vogels> could an error like this have something to do with a PHP setting called "fileinfo"
131: [08:36:00] <vogels> i asked the hosting provider tto eneble this setting
132: [08:37:00] <simon_w|air> vogels, only file uploads should be using fileinfo
133: [08:38:00] <vogels> i have a photo slider on my page
134: [08:39:00] <vogels> now it's gonne
135: [08:39:00] <simon_w|air> Could be related. Well, if it comes back, you know how to get the error message now :)
136: [08:39:00] <lx-berlin> vogels: are you using the flexslider module ?
137: [08:39:00] <vogels> and when i add a photo i need to create a slide. i got the error on creating that slide
138: [08:40:00] <vogels> i don't know how it's called i didn't built this one myself
139: [08:41:00] <vogels> when i look at the files in the root
140: [08:41:00] <lx-berlin> hmm
141: [08:42:00] <lx-berlin> ah, ok.
142: [08:42:00] <lx-berlin> so, its not a module
143: [08:42:00] <vogels> the only extra files (besides original instaal) are SortableGridField . Translatable and userforms
144: [08:43:00] <vogels> think its build in i check the page.ss
145: [08:43:00] <vogels> the error at the upload folder is also gonne now
146: [08:44:00] <vogels> nothing happens
147: [08:44:00] <lx-berlin> is the assets folder writeable ?
148: [08:44:00] <vogels> but when i open it i get a blank screen in backend
149: [08:45:00] <vogels> damn that was a message during install i completely forgot
150: [08:46:00] <lx-berlin> on linux try: chmod 775 assets/ -R
151: [08:46:00] <vogels> how do i make it writable
152: [08:46:00] <lx-berlin> i would set assets/ -R to 777. But someone told me that this is bad, bad, bad :)
153: [08:47:00] * henkpoley has joined #silverstripe
154: [08:47:00] <vogels> i'm kind of a noob couse i don't know what you are talking about :p
155: [08:48:00] <lx-berlin> or mac ?
156: [08:48:00] <lx-berlin> or windows ?
157: [08:48:00] <lx-berlin> is the server running on linux ?
158: [08:48:00] <lx-berlin> you have to change the folder permissions
159: [08:48:00] <vogels> server is from NXS i have to check but i think linux
160: [08:49:00] <lx-berlin> do you have ssh access ?
161: [08:49:00] <lx-berlin> sorry, i have to leave
162: [08:50:00] <vogels> NXS provides a cpanel logon and PHP my admin
163: [08:50:00] <vogels> open now
164: [08:50:00] <vogels> i would have to check
165: [08:50:00] <lx-berlin> if you dont have ssh accees , you can also try to set the permissions with a ftp client. It just takes much longer. filezilla for windows can do this (for example)
166: [08:50:00] <lx-berlin> bye
167: [08:50:00] <vogels> ok i have filezilla
168: [08:51:00] <lx-berlin> connect to your server
169: [08:51:00] <lx-berlin> phpmyadmin is to manage your database. This has nothing to do with folder permissions
170: [08:51:00] <vogels> when i right click on the assets folder in filezilla
171: [08:51:00] <lx-berlin> maybe rightclick
172: [08:51:00] <vogels> i se owner rights read write and run
173: [08:52:00] <lx-berlin> not just the folder itseld
174: [08:52:00] <lx-berlin> *itself
175: [08:52:00] <vogels> values 755
176: [08:52:00] <lx-berlin> try 775
177: [08:52:00] <lx-berlin> make sure you set the rights for each file in assets/ too
178: [08:53:00] <lx-berlin> if uploads are still not working, set everything to 777/ and please ask simon_w if this is ok (to set everything to 777)
179: [08:53:00] <vogels> i'm going to try
180: [08:53:00] <lx-berlin> for security reasons
181: [08:54:00] <vogels> 775 still gives no acces
182: [08:54:00] <vogels> thank you for your help
183: [08:54:00] <lx-berlin> now i have to leave
184: [08:54:00] <lx-berlin> good look
185: [08:56:00] * simon_w|air quit (Quit: This computer has gone to sleep)
186: [09:03:00] * Shrike_Finland1 has joined #silverstripe
187: [09:05:00] * Shrike_Finland quit (Ping timeout: 245 seconds)
188: [09:35:00] * ajshort quit (Quit: Leaving)
189: [09:36:00] <vogels> doesn't seems to be working
190: [09:39:00] * Unlearned quit (Quit: Going offline, see ya! (www.adiirc.com))
191: [09:48:00] * dendeffe has joined #silverstripe
192: [10:38:00] * Motoservo_ is now known as Motoservo
193: [10:38:00] * Motoservo_ has joined #silverstripe
194: [10:38:00] * Motoservo quit (Read error: Connection reset by peer)
195: [10:41:00] * Motoservo quit (Read error: Connection reset by peer)
196: [10:41:00] * Motoservo has joined #silverstripe
197: [10:53:00] * Motoservo quit (Quit: Motoservo)
198: [10:55:00] * dendeffe quit (Quit: dendeffe)
199: [10:58:00] * Motoservo has joined #silverstripe
200: [10:59:00] * priithansen has joined #silverstripe
201: [11:02:00] <lx-berlin> vogels: have you checked if the permissions could be set successfully ?
202: [11:02:00] * lx-berlin has left #silverstripe
203: [11:04:00] * lx-bln has joined #silverstripe
204: [11:06:00] * lx-bln has joined #silverstripe
205: [11:06:00] * lx-bln quit (Remote host closed the connection)
206: [11:07:00] <lx-bln> .........
207: [11:18:00] * dospuntocero has joined #silverstripe
208: [11:20:00] * chillu has joined #silverstripe
209: [11:42:00] * gelignite has joined #silverstripe
210: [11:43:00] <lx-bln> i just watched a screencast abou laravel migrations. i am wondering if these migrations with their possibility to rollback running a function down() are advanced over the dev/build from silverstripe, which is not able to roll something back
211: [11:49:00] * henkpoley quit (Quit: henkpoley)
212: [12:07:00] * ARNHOFF has joined #silverstripe
213: [12:13:00] * ARNHOFF is now known as ARNHOE
214: [12:17:00] * dospuntocero quit (Remote host closed the connection)
215: [12:18:00] * chillu quit (Quit: chillu)
216: [12:28:00] * dospuntocero has joined #silverstripe
217: [12:32:00] * VSLOD has joined #silverstripe
218: [12:38:00] <VSLOD> Hey guys, if anyone's around I have a quick question. I'm building a 1 page site with a contact form at the bottom. My problem is that if the fields are required and not filled in, when the form submits it returns to the top of the page. So the user can't see that their form wasn't submitted and would have to think to scroll all the way down. Is there a way to redirect to an anchor after the form is submitted and the required fie
219: [12:39:00] * ratcat has joined #silverstripe
220: [12:52:00] * lx-bln quit (Remote host closed the connection)
221: [12:58:00] * lx-bln has joined #silverstripe
222: [13:00:00] * lx-bln quit (Remote host closed the connection)
223: [13:00:00] <lx-bln> .
224: [13:01:00] * lx-bln has joined #silverstripe
225: [13:06:00] * lx-bln quit (Read error: Connection reset by peer)
226: [13:26:00] * guci0 has joined #silverstripe
227: [13:27:00] <guci0> Hi
228: [13:47:00] <vogels> simon_w are you here?
229: [13:57:00] * vogels quit (Ping timeout: 245 seconds)
230: [14:08:00] * dospuntocero quit (Remote host closed the connection)
231: [14:12:00] * irogue quit (Ping timeout: 246 seconds)
232: [14:20:00] <C10ne> VSLOD, sorry for the late reply, you can do that by outputting some javascript if the form fails to submit that will scroll to the form
233: [14:29:00] * C10ne quit (Quit: Page closed)
234: [14:29:00] * C10ne has joined #silverstripe
235: [14:35:00] * henkpoley has joined #silverstripe
236: [14:36:00] * simon_w quit (Ping timeout: 255 seconds)
237: [14:37:00] * simon_w has joined #silverstripe
238: [14:45:00] <VSLOD> C10ne: how would I go about testing if the form failed?
239: [14:47:00] <C10ne> VSLOD: depends on the form code you're using, but basically you validate if the required fields are filled and submit the form if they are
240: [14:48:00] <VSLOD> so something like if(empty($data['Field'])){ ?? }
241: [14:48:00] <C10ne> So, in the code of your form submission just echo the js if the validation fails.
242: [14:48:00] <C10ne> Yes, something like that
243: [14:49:00] <VSLOD> alright, I'll play around with that. Thanks
244: [14:50:00] <C10ne> You're welcome
245: [15:00:00] * henkpoley quit (Quit: henkpoley)
246: [15:18:00] * dospuntocero has joined #silverstripe
247: [15:23:00] * dospuntocero quit (Ping timeout: 252 seconds)
248: [15:27:00] * MattyBalaam has joined #silverstripe
249: [15:28:00] <MattyBalaam> Is anyone around today? I have a quick question about using ThemedCSS in a module
250: [15:35:00] <Zauberfisch> MattyBalaam there is always someone around
251: [15:36:00] <MattyBalaam> Grreat :D I???m using the Sitemaps module which has <% require themedCSS(SitemapPage) %> which pulls in the css from sitemap/css/SitemapPage.css in SS 2, but in SS 3 it doesn't, and I need to change it to <% require css(sitemap/css/SitemapPage.css) %>
252: [15:36:00] <MattyBalaam> I was wondering if anyone knew if this was a bug, or by design?
253: [15:43:00] <Zauberfisch> with combined_files()
254: [15:43:00] <Zauberfisch> I prever to include all css in php
255: [15:43:00] <Zauberfisch> haven't used themedCSS
256: [15:43:00] <Zauberfisch> idk
257: [15:43:00] <Zauberfisch> hmmm
258: [15:44:00] <MattyBalaam> That???s what I usually use, but before I mentioned it to the module writer I wanted to see if something had changed.
259: [15:55:00] <C10ne> I've got a quick question... :)
260: [15:55:00] <C10ne> I use silverstripe-mobile module, and it sets SSViewer::set_theme to mobile theme
261: [15:56:00] <C10ne> Anyone knows why that is happening?
262: [15:56:00] <C10ne> but when I use $ThemeDir in templates, I still get the link to non-mobile theme
263: [15:58:00] * Zauberfisch quit (Ping timeout: 246 seconds)
264: [16:07:00] * simon_w quit (Ping timeout: 256 seconds)
265: [16:14:00] * simon_w has joined #silverstripe
266: [16:27:00] <MattyBalaam> With a gridfield is it possible to change the summary fields for Image, without subclassing it?
267: [16:36:00] * dospuntocero has joined #silverstripe
268: [16:38:00] * Zauberfisch has joined #silverstripe
269: [16:40:00] * dospuntocero quit (Ping timeout: 248 seconds)
270: [16:52:00] * C10ne quit (Ping timeout: 245 seconds)
271: [17:05:00] * simon_w quit (Ping timeout: 276 seconds)
272: [17:13:00] * simon_w has joined #silverstripe
273: [17:19:00] * Martin__ has joined #silverstripe
274: [17:19:00] * MrGuits quit (Read error: Connection reset by peer)
275: [17:19:00] * VSLOD quit (Ping timeout: 245 seconds)
276: [17:20:00] * simon_w quit (Read error: Connection reset by peer)
277: [17:22:00] * simon_w has joined #silverstripe
278: [17:34:00] * MattyBalaam quit (Quit: Page closed)
279: [18:07:00] * UndefinedOffset has joined #silverstripe
280: [18:07:00] * UndefinedOffset quit (Client Quit)
281: [18:08:00] * zfmf has left #silverstripe
282: [18:12:00] * Emil_Blume quit (Read error: Connection reset by peer)
283: [18:13:00] * Emil_Blume has joined #silverstripe
284: [18:56:00] * Emil_Blume quit (Quit: Leaving.)
285: [19:00:00] * Motoservo quit (Quit: Motoservo)
286: [19:02:00] * Motoservo has joined #silverstripe
287: [19:28:00] * priithansen quit (Quit: priithansen)
288: [19:29:00] * priithansen has joined #silverstripe
289: [19:32:00] * Liquide has joined #silverstripe
290: [19:45:00] * simon_w|air has joined #silverstripe
291: [19:50:00] * simon_w|air quit (Ping timeout: 260 seconds)
292: [20:03:00] * mobiusnz has joined #silverstripe
293: [20:11:00] * dospuntocero has joined #silverstripe
294: [20:52:00] * SightUnseen has joined #silverstripe
295: [20:56:00] * SightUnseen quit (Client Quit)
296: [21:10:00] * zfmf has joined #silverstripe
297: [21:19:00] * ferge has left #silverstripe
298: [21:38:00] * willr_ quit (Changing host)
299: [21:38:00] * willr_ has joined #silverstripe
300: [21:38:00] * willr_ has joined #silverstripe
301: [22:01:00] * SightUnseen has joined #silverstripe
302: [22:05:00] * SightUnseen has left #silverstripe
303: [22:06:00] * Zauberfisch quit (Ping timeout: 246 seconds)
304: [22:07:00] * Bollig|DesignCty quit (Read error: Connection reset by peer)
305: [22:10:00] * zfmf has left #silverstripe
306: [22:10:00] * SightUnseen has joined #silverstripe
307: [22:11:00] * SightUnseen has left #silverstripe
308: [22:18:00] * Bollig|DesignCty has joined #silverstripe
309: [22:29:00] * Zauberfisch has joined #silverstripe
310: [22:32:00] * howardgrigg has joined #silverstripe
311: [22:38:00] * ratcat has left #silverstripe
312: [22:39:00] * SightUnseen has left #silverstripe
313: [22:39:00] * SightUnseen has joined #silverstripe
314: [23:08:00] * howardgrigg quit (Remote host closed the connection)
315: [23:11:00] * SightUnseen has joined #silverstripe
316: [23:11:00] * SightUnseen has left #silverstripe
317: [23:19:00] * howardgrigg has joined #silverstripe
318: [23:29:00] * howardgrigg quit (Remote host closed the connection)
319: [23:39:00] * willr_ quit (Quit: willr_)
320: [23:56:00] * SightUnseen has joined #silverstripe
321: [23:59:00] * howardgrigg has joined #silverstripe

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