#silverstripe IRC Log

IRC log for 21 January 2013

All timestamps are in UTC.

1: [00:00:00] <howardgrigg> You can do it in the template with <% with Page(gallery) %>$FeaturedImages<% end_with %> where 'gallery' is the url segment of the page you want
2: [00:00:00] <howardgrigg> NobrainerWeb
3: [00:01:00] <NobrainerWeb> is it not possible to have method a in class a call method a in class b?
4: [00:01:00] <NobrainerWeb> Howard, yes but then it will only be for one page with url gallery
5: [00:02:00] <NobrainerWeb> howardgrigg
6: [00:03:00] <howardgrigg> you can with $gallery = GalleryPage::create then $gallery->FeaturedImages;
7: [00:04:00] * T8 has joined #silverstripe
8: [00:04:00] <howardgrigg> but because your function uses $this->GalleryImages you need to call a specific page
9: [00:04:00] <howardgrigg> or else it wont know what page you're referring to
10: [00:05:00] <howardgrigg> so you could do Page::get()->byID(5)->FeaturedImages()
11: [00:05:00] <NobrainerWeb> hmm ok
12: [00:05:00] <T8> Hey guys, DataList Question. I have a datalist that has been turned into a nested array using ->toNestedArray() now I want to return that data to a template so I can loop through it, how is the best way to approach this?
13: [00:06:00] <NobrainerWeb> i have it working with a simple data object::get call
14: [00:06:00] <howardgrigg> NobrainerWeb: yea that's an easier problem
15: [00:06:00] <NobrainerWeb> problemer is that i want to get the featured objects across different pages
16: [00:07:00] <NobrainerWeb> but for some reason that does return data objects across different languages
17: [00:07:00] <howardgrigg> oh languages...
18: [00:07:00] <howardgrigg> add a function to your homepage function AllFeaturedImages(){ return GalleryImage::get()->filter("Featured",1)
19: [00:08:00] <T8> Any ideas on my question?
20: [00:09:00] * Bollig|DesignCty has joined #silverstripe
21: [00:10:00] <howardgrigg> one sec
22: [00:10:00] <howardgrigg> T8: not sure sorry, i remember there is docs somewhere about nested stuff in the template
23: [00:10:00] <ss23> Halp where is simon_w :<
24: [00:11:00] <T8> I'm looking at viewable data but I cant wrap my head around it..
25: [00:18:00] * NobrainerWeb quit (Quit: NobrainerWeb)
26: [00:19:00] * nicolaas_ has joined #silverstripe
27: [00:20:00] <T8> Ugh... Why can't I just return a datalist to the template.
28: [00:21:00] <howardgrigg> T8: what are you trying to do?
29: [00:22:00] <nicolaas_> ??? THANK YOU!
30: [00:22:00] <nicolaas_> can someone have a look at a question I have: http://www.sspaste.com/paste/show/50fc8a072fc12
31: [00:27:00] <Pyromanik> public function MyNewDataList(){return new DataList();}
32: [00:27:00] <Pyromanik> T8: you can. But you need to process it in the template.
33: [00:27:00] <perverse`w> we so need some benchmarks for SS3... i need to be able to know it can do volume, lol
34: [00:27:00] <Pyromanik> <% loop MyNewDataList %>
35: [00:28:00] <Pyromanik> perverse`w: ask the chaps at SS ltd.
36: [00:28:00] <Pyromanik> I'm sure they'll have stats somewhere
37: [00:29:00] <perverse`w> do any idle here anymore, pyro?
38: [00:29:00] <Pyromanik> perverse`w: yes and no.
39: [00:29:00] <Pyromanik> yes, but not since the new year.
40: [00:29:00] <Pyromanik> sminee was in on Friday
41: [00:30:00] <Pyromanik> iirc
42: [00:30:00] <Pyromanik> said he hadn't got back into the habit yet.
43: [00:30:00] <perverse`w> might just pump them through an email to sales@silverstripe.com and see what i come up with
44: [00:30:00] <Pyromanik> just send an email
45: [00:30:00] <perverse`w> dont particularly want to go through sales if it can be avoided, though, lol
46: [00:30:00] * Pyromanik doesn't twitters
47: [00:30:00] <Pyromanik> mmm
48: [00:30:00] <Pyromanik> just @silverstripe on twitters
49: [00:31:00] <Pyromanik> since it's lazy loaded.
50: [00:31:00] <Pyromanik> nicolaas_: I imagine they should return the same thing.
51: [00:32:00] * ss23 lazy loads Pyromanik
52: [00:34:00] <nicolaas_> I found that they do not return the same thing... I was very surprised. I am using 3.1-beta... Not sure if it is a bug / I made a mistake / it works in magic ways....
53: [00:34:00] <perverse`w> hmm yeah twit might work
54: [00:35:00] <T8> howardgrigg: I got it
55: [00:35:00] <nicolaas_> I would love for a few more peeps to have a look at this: http://www.sspaste.com/paste/show/50fc8a072fc12
56: [00:35:00] * MichaelDesignerX has joined #silverstripe
57: [00:35:00] <T8> Pyromanik: got it!
58: [00:36:00] <T8> I was using data for my custom data when I shouldnt because silverstripe already uses it.
59: [00:36:00] <howardgrigg> it's a public holiday for SilverStripe today
60: [00:37:00] <nicolaas_> irogue: would love to send you some work... are you ready?
61: [00:37:00] <irogue> nicolaas_: i should *really* learn SS3. send some work my way using it, so i have a reason to :P
62: [00:39:00] <irogue> nicolaas_: yeah, not doing much outside of work hours at the moment. so if you've got anything (particularly ss3) i'd be keen
63: [00:40:00] <ss23> ss23
64: [00:40:00] <ss23> :)
65: [00:41:00] <irogue> in about 40 years time your nick will be confusing in this chan :P
66: [00:41:00] <irogue> you're the future, ss23
67: [00:41:00] <ss23> lol
68: [00:42:00] * tankr quit (Quit: Leaving.)
69: [00:43:00] <irogue> true
70: [00:43:00] <Pyromanik> ah yeah true, it's Wellington anniversary day, public holiday.
71: [00:43:00] <Pyromanik> Auckland next week
72: [00:44:00] <irogue> https://pbs.twimg.com/media/BBF_-1ACQAEoGXG.jpg:large
73: [00:44:00] <ss23> LOL
74: [00:44:00] <ss23> >compulsalry holiday
75: [00:44:00] <Pyromanik> well, it's not compulsory holiday
76: [00:44:00] <irogue> as all the big auckland-based businesses dont answer their phones :P
77: [00:44:00] <Pyromanik> holey fuck that's awesome irogue, haha
78: [00:44:00] <irogue> Pyromanik: yep, next monday is when the rest of the country WTFs
79: [00:44:00] <Pyromanik> Canterbury in November :(
80: [00:45:00] <Pyromanik> ss23: yeah, like Christmas day, derp.
81: [00:45:00] <Pyromanik> most still do answer phones
82: [00:45:00] <irogue> [13:45] <Pyromanik> most still do answer phones
83: [00:45:00] <irogue> nah g, aucklanders are like FUCK THIS, EXTRA HOLIDAY DAY IN SUMMERTIEM
84: [00:45:00] <irogue> and coromandel are like "OH FUCK, THE JAFAS ARE COMING!"
85: [00:45:00] <ss23> Like people will just not take a holiday off?!
86: [00:47:00] <irogue> i know we'll be fully closed, i expect many emails and cellphone calls from customers below taupo telling us are phones are broken
87: [00:48:00] <irogue> we do the tech support for australia for a couple of australian brands - they'll have *absolutely* no idea
88: [00:48:00] <irogue> particularly mean for the australians
89: [00:49:00] * aznain has joined #silverstripe
90: [00:49:00] <irogue> *asian brands
91: [00:50:00] <aznain> Hi! When i try to type something in search field next to "Link existing" button , then i get the at line 190 of \framework\forms\gridfield\GridFieldAddExistingAutocompleter.php
92: [00:50:00] <nicolaas_> irogue: send me an email...
93: [00:51:00] <aznain> how to resolve this one ?
94: [00:51:00] * ray quit (Ping timeout: 245 seconds)
95: [01:21:00] * MichaelDesignerX quit (Ping timeout: 244 seconds)
96: [01:31:00] <howardgrigg> has anyone used the new unsavedRelationList stuff?
97: [01:38:00] <T8> I have a stupid question.
98: [01:38:00] <T8> How do I install a module with the Silverstripe Framework... ie. not using the CMS
99: [01:40:00] <T8> Never mind turns out I did it without noticing... silly me
100: [01:55:00] <irogue> #silverstripe day trip? :P
101: [01:55:00] <irogue> https://pbs.twimg.com/media/BBGOefRCUAAtADa.jpg:large
102: [01:56:00] * MichaelDesignerX has joined #silverstripe
103: [01:59:00] <T8> my theme is set correctly in my config
104: [01:59:00] <T8> Help!
105: [01:59:00] <T8> [User Warning] None of these templates can be found in theme 'simple': Todo.ss... I don't have a 'simple' theme
106: [01:59:00] <T8> Why does SS hate me
107: [02:00:00] <MichaelDesignerX> do you haVE ANY SIMPLE_SOMETHING THEME ?
108: [02:00:00] <MichaelDesignerX> sorry for caps
109: [02:00:00] <T8> nope
110: [02:00:00] <T8> I removed it
111: [02:00:00] <MichaelDesignerX> ?flush=all
112: [02:30:00] * T8 quit (Ping timeout: 245 seconds)
113: [02:30:00] * tict0c quit (Ping timeout: 245 seconds)
114: [02:43:00] * howardgrigg quit (Ping timeout: 256 seconds)
115: [02:44:00] * howardgrigg has joined #silverstripe
116: [02:58:00] * howardgr_ has joined #silverstripe
117: [02:58:00] * howardgrigg quit (Ping timeout: 252 seconds)
118: [03:00:00] <Pyromanik> bug
119: [03:00:00] <Pyromanik> bug
120: [03:00:00] <Pyromanik> bug
121: [03:00:00] <Pyromanik> !
122: [03:00:00] * ss23 bugs Pyromanik
123: [03:00:00] <Pyromanik> URLSegmentFilter doesn't parse out +, but it appears Director/RequestHandler/whichever cannot deal with it.
124: [03:02:00] <Pyromanik> you are very buggy ss23
125: [03:02:00] <ss23> :<
126: [03:02:00] <ss23> Nu uh!
127: [03:02:00] <Pyromanik> Sorry, I can't hear you over the sound of all your errors
128: [03:02:00] <ss23> ;_;
129: [03:03:00] <ss23> Liar liar!
130: [03:03:00] <Pyromanik> PANTS ON FIRE
131: [03:03:00] <irogue> ss23 has an error in class BloodSugar_Controller
132: [03:04:00] <ss23> sif, that ones fine, it's the dammed parent class Pancreas thats the issue
133: [03:12:00] * howardgr_ quit (Ping timeout: 248 seconds)
134: [03:12:00] <Pyromanik> No worries though, jsut apply the InsulinInjector extension to keep it in check.
135: [03:13:00] <ss23> I do, but it requires constant oversight, and the User keeps fucking up the values
136: [03:14:00] <Pyromanik> Suggest creating UsageReport to help see where the issues might be.
137: [03:14:00] <ss23> User just threw exception: Too Lazy
138: [03:15:00] <Pyromanik> or run it through profiler to try and correct the values.
139: [03:15:00] <ss23> user too lazy to profile
140: [03:15:00] <Pyromanik> type 1 or 2?
141: [03:15:00] <ss23> 1
142: [03:15:00] <Pyromanik> user shouldn't be profiling, developer should be!
143: [03:15:00] <ss23> DEVELOPER?!
144: [03:15:00] <ss23> I don't know the developer
145: [03:16:00] <ss23> He never returns my calls
146: [03:16:00] <Pyromanik> sounds like a hand-me-down project
147: [03:16:00] <ss23> I'm just a user left with this dodgy codebase
148: [03:16:00] <Pyromanik> sux
149: [03:16:00] <ss23> I'm all "Yo god, wassap?" and he leaves me hangin' bra!
150: [03:17:00] <Pyromanik> suck it up bitch, it's easy.
151: [03:17:00] <ss23> In other news, cpp is hard
152: [03:17:00] <ss23> lol
153: [03:18:00] <ss23> idk why
154: [03:18:00] <Pyromanik> interpreted and no pointers
155: [03:18:00] <Pyromanik> CPP HARDCORE
156: [03:18:00] <Pyromanik> sif modern language.
157: [03:18:00] <Pyromanik> JUST GET WITH IT
158: [03:18:00] <Pyromanik> POINTERS ARE GENIUS
159: [03:18:00] <ss23> Its a stack overflow
160: [03:18:00] <ss23> I'M NOT DOING THAT
161: [03:18:00] <Pyromanik> sure: pr0tip, stop writing to null pointer
162: [03:18:00] <ss23> fix my segfault
163: [03:18:00] <ss23> fine
164: [03:18:00] <ss23> lol
165: [03:18:00] <Pyromanik> people just love to QQ about it so hard.
166: [03:18:00] <ss23> wanna fix a segfault for me?
167: [03:19:00] <Pyromanik> what line if fault?
168: [03:19:00] <Pyromanik> alternatively, do it in g-object and lol
169: [03:19:00] <Pyromanik> debugger
170: [03:19:00] <Pyromanik> do it
171: [03:19:00] <ss23> http://sprunge.us/hWTS?cpp
172: [03:19:00] <ss23> fix it.
173: [03:19:00] <ss23> Problem 1: lSize is nowhere near the size of the file in bytes, or bits
174: [03:20:00] <ss23> all vars should be initlized when they're uesd
175: [03:20:00] <Pyromanik> wut
176: [03:20:00] <ss23> problem 2: crashes with a "yo u smashing the stack" after printf("Now writing the file\n");
177: [03:20:00] <Pyromanik> lol
178: [03:20:00] <Pyromanik> no init vars
179: [03:20:00] <ss23> (pax / hardened box)
180: [03:20:00] <Pyromanik> derp derp
181: [03:20:00] <ss23> >no init vars
182: [03:20:00] <ss23> lSize = ftell(img);
183: [03:21:00] <ss23> Uh
184: [03:21:00] <ss23> doesn't need to be set before that, I thought?
185: [03:21:00] <ss23> Do I needa bzero imgbuffer or something?
186: [03:21:00] <ss23> I figured fread would do that for me
187: [03:21:00] <Pyromanik> use a double instyead of long/
188: [03:21:00] * howardgrigg has joined #silverstripe
189: [03:21:00] <Pyromanik> lol
190: [03:22:00] <Pyromanik> have something happen for you in C?
191: [03:22:00] <Pyromanik> LOLOLOL
192: [03:22:00] <Pyromanik> ss23: because bigger number holder
193: [03:22:00] <ss23> Because does it matter if the file is tiny?
194: [03:22:00] <Pyromanik> wrapsies
195: [03:22:00] <ss23> It needs to be accurate, not big
196: [03:22:00] <Pyromanik> mebbe
197: [03:22:00] <ss23> Its a file size, right?
198: [03:22:00] <Pyromanik> mm
199: [03:22:00] <Pyromanik> ic
200: [03:22:00] <ss23> SEE
201: [03:22:00] <ss23> double is a float... why use a float for something that will only ever be a whole integer?
202: [03:22:00] <Pyromanik> nfi
203: [03:22:00] <Pyromanik> been ages since I cpp'd
204: [03:22:00] <ss23> It's less than 3kb, it shouldn't overflow
205: [03:22:00] <ss23> SEE MOFUCK
206: [03:23:00] <Pyromanik> you're just doing it wrong
207: [03:23:00] <ss23> lrn2code
208: [03:23:00] <irogue> I'LL BITE YOUR FACE CUNT
209: [03:23:00] <ss23> Whatever, nub
210: [03:23:00] <ss23> Yeah yeah
211: [03:23:00] <Pyromanik> so fuckup
212: [03:23:00] <ss23> lol
213: [03:23:00] <Pyromanik> different brain
214: [03:23:00] <Pyromanik> where I php
215: [03:23:00] <Pyromanik> I'm at work
216: [03:23:00] <Pyromanik> also
217: [03:23:00] <ss23> Thats what I'm talking about
218: [03:23:00] <ss23> And then this
219: [03:23:00] <Pyromanik> it is
220: [03:23:00] * irogue does it in python
221: [03:23:00] <ss23> Yeah
222: [03:23:00] <ss23> 16:22:56 < Pyromanik> suck it up bitch, it's easy.
223: [03:23:00] <Pyromanik> sif
224: [03:23:00] <ss23> 16:23:05 < Pyromanik> people just love to QQ about it so hard.
225: [03:23:00] <ss23> With your dammed
226: [03:23:00] <irogue> looks hard
227: [03:23:00] <ss23> Mother fucker
228: [03:23:00] <Pyromanik> make bigger stack
229: [03:23:00] <Pyromanik> not my fault u can't pointer
230: [03:23:00] <ss23> this just in, Pyromanik a massive noob who cant' even do cpp
231: [03:24:00] <ss23> make ur n00b
232: [03:26:00] * SightUnseen has joined #silverstripe
233: [03:26:00] * SightUnseen has left #silverstripe
234: [03:27:00] <ss23> Now you code what they told ya
235: [03:27:00] <ss23> Now you code what they told ya
236: [03:27:00] * ss23 headbangs
237: [03:29:00] <aznain> When trying to create a page and change the page name , i am getting "Error: TypeError: url_segment_field.update is not a function"
238: [03:30:00] <Pyromanik> aznain: broken JS
239: [03:30:00] <aznain> anyone ?
240: [03:32:00] <aznain> Pyromanik: Any idea how to fix it ?
241: [03:32:00] <Pyromanik> unbreak it
242: [03:33:00] <Pyromanik> or refresh, see if it fixes
243: [03:33:00] <Pyromanik> probably got some custom script doing something it shouldn't
244: [03:33:00] <aznain> ok
245: [03:37:00] <ss23> come on
246: [03:37:00] <ss23> try ues gcc aye
247: [03:37:00] <Pyromanik> excepting a couple of couts
248: [03:37:00] <ss23> come on I dare you
249: [03:37:00] <ss23> bitch
250: [03:37:00] <ss23> "It's C apart from the C++"
251: [03:37:00] <Pyromanik> g++ bitch
252: [03:37:00] <Pyromanik> gosh
253: [03:37:00] <ss23> YEAH SEE
254: [03:37:00] <Pyromanik> ss23: the fuck you write C for?
255: [03:37:00] <Pyromanik> you're writing C++
256: [03:37:00] <Pyromanik> write it.
257: [03:37:00] <ss23> wut?
258: [03:37:00] <ss23> faggot
259: [03:37:00] <ss23> It is C++
260: [03:37:00] <Pyromanik> no it's not
261: [03:37:00] <ss23> Don't you see the cout <<?
262: [03:37:00] <ss23> Bitch
263: [03:37:00] <Pyromanik> it's like HI MY COOL CPP FILE.cpp
264: [03:37:00] <ss23> come on
265: [03:37:00] <ss23> do cout in C
266: [03:37:00] <Pyromanik> then it's full of C
267: [03:38:00] <ss23> Thats what I thought, bitch
268: [03:38:00] <ss23> brbizzle
269: [03:38:00] <Pyromanik> FILE
270: [03:38:00] <Pyromanik> derp
271: [03:38:00] <Pyromanik> char*, derp.
272: [03:38:00] <Pyromanik> do everything in C instead of using libs, derp
273: [03:38:00] <Pyromanik> you included string, use it
274: [03:38:00] <Pyromanik> include file
275: [03:38:00] <Pyromanik> etc.
276: [03:38:00] <Pyromanik> MAKE LIFE EASIER ON YOURSELF
277: [03:39:00] <irogue> smh
278: [03:39:00] <Pyromanik> stop using C libs
279: [03:40:00] <irogue> thats like using mysql_query
280: [03:40:00] <Pyromanik> irogue: wut?
281: [03:40:00] <irogue> smh = shaking my head
282: [03:41:00] <irogue> i'm cool and use tumblr initialisms
283: [03:46:00] <Pyromanik> oic
284: [03:46:00] <Pyromanik> irogue: it's not that bad.
285: [03:47:00] <Pyromanik> if you're writing C++, then write C++.
286: [03:47:00] <Pyromanik> it's just that... if you're writing C it's fine.
287: [03:47:00] <Pyromanik> dat*
288: [03:47:00] <Pyromanik> give that bish da fumbz up
289: [03:47:00] <Pyromanik> _b
290: [03:47:00] <Pyromanik> multiple inheritance is tops
291: [03:54:00] <irogue> everyone in the office just ducked
292: [03:55:00] <Pyromanik> ?
293: [03:55:00] <Pyromanik> you threaten to brand someone?
294: [03:58:00] <irogue> sounded like the jets weren't quite right
295: [03:58:00] <irogue> particularly scary sounding plane
296: [03:58:00] <irogue> haven't heard a boom though so all g
297: [03:58:00] <irogue> i.e. sounded like it was crashing :P
298: [04:01:00] * instabil2 has joined #silverstripe
299: [04:04:00] * instabil quit (Ping timeout: 240 seconds)
300: [04:05:00] <Pyromanik> home time!
301: [04:06:00] <Pyromanik> anyway, home.
302: [04:06:00] <Pyromanik> irogue: sounds like it were turboprop
303: [04:06:00] <Pyromanik> very misleading name
304: [04:06:00] <Pyromanik> jets, but they do sound funky.
305: [04:06:00] * Pyromanik has left #silverstripe
306: [04:07:00] * dendeffe has joined #silverstripe
307: [04:10:00] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#197 (master - 06e8499 : Will Rossiter): The build passed.
308: [04:10:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/b035c45dc9c9...06e8499070dc
309: [04:10:00] * travis-ci has joined #silverstripe
310: [04:10:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/4274730
311: [04:10:00] * travis-ci has left #silverstripe
312: [04:22:00] * nicolaas_ quit (Quit: ChatZilla 0.9.89 [Firefox 18.0/20130107224407])
313: [04:28:00] <aznain> dumb question: what is difference between dropdown field and listfield ?
314: [04:37:00] <priithansen> dunno about drop down field but listfield can be configured to act like this http://picpaste.com/pics/listfield.1358743004.png
315: [04:38:00] * gelignite quit (Quit: http://bit.ly/nkczDT)
316: [04:47:00] * cloph_away has joined #silverstripe
317: [04:49:00] * cloph_away1 quit (Ping timeout: 252 seconds)
318: [04:55:00] * Error404NotFound quit (Quit: User guilty of hitting the Big Red X...)
319: [05:03:00] * Error404NotFound has joined #silverstripe
320: [05:10:00] <MichaelDesignerX> priithansen: hi there, Can ListFields be used for a has_many relation ?
321: [05:12:00] <priithansen> Don't see why not
322: [05:13:00] <priithansen> Just used it for belongs_many_many
323: [05:15:00] <priithansen> http://www.sspaste.com/paste/show/50fcce9c25bb5 < NewsSectionPages in there are managed with listfield. There's something on line 54 to get all the relations for the list but don't know if its always needed or if there are better ways
324: [05:45:00] <aznain> If db field is of type 'Text'. Can i restrict number of allowed character for input on admin area ?
325: [05:47:00] <priithansen> depends on the field I think
326: [05:47:00] <priithansen> TextField has setMaxLength method
327: [05:48:00] <aznain> 'ShortDescription' => 'Text',
328: [05:49:00] <aznain> do i have to create manually in getCMSFields ?
329: [05:49:00] <aznain> and modeladmin is creating the field when seeing back panel
330: [05:49:00] <aznain> 'description' => 'Text',
331: [05:50:00] <priithansen> maybe 'ShortDescription' => 'Varchar(255)'
332: [05:51:00] <aznain> ok
333: [05:58:00] <elgordo> if you want to start with a clean slate do $fields = new FieldList();
334: [05:58:00] <elgordo> aznain: Behaviour I am observing in SS3 in model admin is that scaffolding is created if you do not specify a getCMSField method
335: [05:58:00] <elgordo> if you want to modify the scaffolding use $fields = parent::getCMSFields();
336: [06:03:00] <aznain> but in admin panel, setMaxLength not working
337: [06:03:00] <aznain> elgordo: thanks ... i created this $shortDescField = new TextField('ShortDescription', 'Short Description'); $shortDescField->setMaxLength(255);
338: [06:13:00] <elgordo> is there a set size option, on the number of columns in the interface?
339: [06:13:00] <elgordo> :(
340: [06:14:00] <aznain> can we put character limit restriction on textarea like text field ?
341: [06:21:00] <Bollig|DesignCty> bah... what's the lang string for changing 'Email' on the login form??
342: [06:21:00] * DesignerX has joined #silverstripe
343: [06:24:00] * MichaelDesignerX quit (Ping timeout: 256 seconds)
344: [06:27:00] <Bollig|DesignCty> ... or do I just have to hack the crap out of MemberLoginForm..........
345: [06:34:00] <elgordo> having lunch, will check fter
346: [06:34:00] <elgordo> from memory i18n of the login form is a no go
347: [06:54:00] * MichaelDesignerX has joined #silverstripe
348: [06:57:00] * DesignerX quit (Ping timeout: 256 seconds)
349: [06:58:00] * dendeffe quit (Quit: dendeffe)
350: [07:00:00] * aznain quit (Ping timeout: 245 seconds)
351: [07:02:00] * Unlearned has joined #silverstripe
352: [07:04:00] * chillu has joined #silverstripe
353: [07:08:00] * dendeffe has joined #silverstripe
354: [07:10:00] * NobrainerWeb has joined #silverstripe
355: [07:19:00] * dendeffe quit (Quit: dendeffe)
356: [07:20:00] * SightUnseen has joined #silverstripe
357: [07:23:00] * EPIK quit (Ping timeout: 252 seconds)
358: [07:23:00] * SightUnseen has left #silverstripe
359: [07:27:00] * OomElvis quit ()
360: [07:32:00] * travis-ci has joined #silverstripe
361: [07:32:00] <travis-ci> [travis-ci] silverstripe/sapphire#1198 (3.1 - e151704 : Tony Air): The build was broken.
362: [07:32:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/4276533
363: [07:32:00] * travis-ci has left #silverstripe
364: [07:32:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/2ad56e1d523c...e1517044cf7d
365: [07:36:00] <MichaelDesignerX> Hi, sould I add the ?> closing tag in my .php files ?
366: [07:40:00] * Shrike_Finland has joined #silverstripe
367: [07:45:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/e1517044cf7d...d12ae82f7003
368: [07:45:00] * travis-ci has joined #silverstripe
369: [07:45:00] <travis-ci> [travis-ci] silverstripe/sapphire#1199 (3.1 - d12ae82 : Kirk Mayo): The build passed.
370: [07:45:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/4276649
371: [07:45:00] * travis-ci has left #silverstripe
372: [07:49:00] * dendeffe has joined #silverstripe
373: [07:51:00] * DesignerX has joined #silverstripe
374: [07:52:00] * MichaelDesignerX quit (Ping timeout: 256 seconds)
375: [08:00:00] * travis-ci has joined #silverstripe
376: [08:00:00] * travis-ci has left #silverstripe
377: [08:00:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/4276775
378: [08:00:00] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#198 (3.1 - 1571d35 : Kirk Mayo): The build passed.
379: [08:00:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/8a9acaa5ba3c...1571d3542d23
380: [08:11:00] * SightUnseen has left #silverstripe
381: [08:11:00] * SightUnseen has joined #silverstripe
382: [08:14:00] <DesignerX> hi guys, is there a way to get ParentPageID of a widget ?
383: [08:15:00] <DesignerX> I am chaecking if something built in exists ?.
384: [08:17:00] <FrozenFire> Not sure, though
385: [08:17:00] * travis-ci has joined #silverstripe
386: [08:17:00] <travis-ci> [travis-ci] silverstripe/sapphire#1200 (3.1 - 89176e8 : Ingo Schommer): The build passed.
387: [08:17:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/d12ae82f7003...89176e8f5d28
388: [08:17:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/4276869
389: [08:17:00] * travis-ci has left #silverstripe
390: [08:17:00] <FrozenFire> DesignerX, You *might* be able to use $Top.ID
391: [08:17:00] <DesignerX> in PHP
392: [08:17:00] <DesignerX> If page has_one WidgetArea , I need to get that PageID in the class MyWidget
393: [08:18:00] <FrozenFire> In what context is this?
394: [08:18:00] <FrozenFire> So getting *one* parent isn't necessarily possible
395: [08:18:00] <FrozenFire> Many Page has_one WidgetArea
396: [08:19:00] <DesignerX> Page has_one WidgetArea , WidgetArea has_many Widgets
397: [08:19:00] <FrozenFire> Yes
398: [08:19:00] <DesignerX> with wiget area its always page has_one widgetArea
399: [08:20:00] <FrozenFire> In which case you could do Page::get()->filter("WidgetAreaID", $this->ID)->First();
400: [08:20:00] <FrozenFire> Or $this->ParentID, if you're in the context of Widget
401: [08:20:00] <FrozenFire> I suppose you could *assume* that each WidgetArea is only owned by one Page
402: [08:21:00] <DesignerX> :D ty ..
403: [08:21:00] <DesignerX> thats it . I just have to put it in a function
404: [08:21:00] <DesignerX> The idea is MyWidget will render the page/section of the page with a custom template
405: [08:23:00] * simon_w|air has joined #silverstripe
406: [08:24:00] <FrozenFire> Keeps your view in your view
407: [08:24:00] <FrozenFire> Could instead probably do <% loop WidgetArea.Widgets %>$renderWith(SomeTemplate)<% end_loop %>
408: [08:25:00] <FrozenFire> Howdy simon_w|air
409: [08:25:00] <FrozenFire> Back from your vacation?
410: [08:27:00] <simon_w|air> Also, holiday :p
411: [08:27:00] <simon_w|air> Kinda
412: [08:33:00] <DesignerX> any idea why WidgetArea doesnt have a parentID ? knowing Page has_one WidgetArea is the only possible relation ?
413: [08:34:00] <DesignerX> parentID = the idea of the page its on
414: [08:34:00] <DesignerX> the id *
415: [08:36:00] * Friksel has joined #silverstripe
416: [08:38:00] <DesignerX> simon_w|air: any other ?
417: [08:38:00] <simon_w|air> DesignerX, because it's not the only possible relation
418: [08:38:00] <simon_w|air> Whatever ones you add
419: [08:38:00] <simon_w|air> No, because there's no reverse has_one
420: [08:38:00] <DesignerX> can I have page has_many widgetArea ?
421: [08:39:00] <DesignerX> So can WidgetArea has_many Page ?
422: [08:39:00] <simon_w|air> Why would WidgetArea couple itself to Page?
423: [08:40:00] <DesignerX> "what I mean is , can a WidgetArea belong to more then one Page "
424: [08:40:00] <simon_w|air> It can also belong to something that isn't a page
425: [08:40:00] <simon_w|air> It's just a has_one relation
426: [08:40:00] <simon_w|air> yes
427: [08:41:00] <DesignerX> well, its doesnt work in ModelAdmin .. & I will try now with an Object
428: [08:44:00] <DesignerX> simon_w|air: what I am trying to get to is , I need MyWidget to know the ClassName & ID of the Object its on
429: [08:45:00] * zfmf has joined #silverstripe
430: [08:50:00] <simon_w|air> And there is no way to consistently do that
431: [08:57:00] * Shrike_Finland1 has joined #silverstripe
432: [08:57:00] * Shrike_Finland quit (Ping timeout: 252 seconds)
433: [08:59:00] <DesignerX> Thanks, I have more questions : does this looks right ? $var = Page::get_one()->filter(array("ID=$ID"));
434: [08:59:00] <DesignerX> does that get one object beased on the filter ?
435: [08:59:00] <DesignerX> simon_w|air: kk, Then I have to find another solution .
436: [09:00:00] <simon_w|air> bi
437: [09:00:00] <simon_w|air> $var = Page::get()->filter('ID', $ID)->First()
438: [09:00:00] <simon_w|air> no
439: [09:01:00] <simon_w|air> though, $var = Page::get()->byID($ID) looks nicer in this case
440: [09:02:00] <DesignerX> yep
441: [09:03:00] <DesignerX> IFound a bad solution for my problem above, create a methods on MyWidget & pass $Top.ID in the template
442: [09:03:00] <DesignerX> Not sure if it will work ! time to test it
443: [09:05:00] <simon_w|air> Well, if you're not going to handle WidgetAreas not attached to Pages, then you can just use Controller::curr()
444: [09:07:00] * popeshoe has joined #silverstripe
445: [09:09:00] * simon_w|air quit (Quit: This computer has gone to sleep)
446: [09:15:00] * guci0 has joined #silverstripe
447: [09:15:00] <guci0> Hello!
448: [09:15:00] <DesignerX> hi
449: [09:18:00] * lx-berlin has joined #silverstripe
450: [09:18:00] <Shrike_Finland1> Good day everyone
451: [09:20:00] <Shrike_Finland1> What is the weather like in SilverStripe world?
452: [09:21:00] * wmk has joined #silverstripe
453: [09:27:00] <kinglozzer> Snowy again!
454: [09:28:00] <chillu> Loving the snow (but only because I don't have to go outside heh)
455: [09:29:00] <chillu> Whats up?
456: [09:29:00] <lx-berlin> a client has a tool that was build by another company using rails
457: [09:29:00] <lx-berlin> to make it short
458: [09:29:00] <kinglozzer> I got to work on time, took 10 minutes to park my car as it got bogged down in snow!
459: [09:29:00] <lx-berlin> great :)
460: [09:29:00] <lx-berlin> ah, chillu .... :) one question, please
461: [09:30:00] <lx-berlin> now they ask us to build another tool with SS that uses the same database
462: [09:30:00] <lx-berlin> so foreign keys for example are like "product_id"
463: [09:30:00] <lx-berlin> but reals has its own conventions when it comes to creating databse tables
464: [09:31:00] <lx-berlin> but ss would not fit with SS out of the box
465: [09:31:00] <lx-berlin> "_id" instead of "ID"
466: [09:31:00] <lx-berlin> can i define ss , so that ss uses this kind of foreign keys ?
467: [09:32:00] <lx-berlin> which class to i need to overwrite ?
468: [09:32:00] <lx-berlin> thanks
469: [09:32:00] <lx-berlin> too bad
470: [09:32:00] <lx-berlin> ok
471: [09:32:00] <chillu> You'll need to build your own mapper, or access the data through a service like REST
472: [09:32:00] <lx-berlin> for example
473: [09:32:00] <chillu> The SS ORM isn't that flexible, you can't override certain conventions like column and table naming
474: [09:33:00] <chillu> MyMappedObject::get_by_id() would do a raw SELECT * FROM ??? WHERE _id = ...
475: [09:34:00] <chillu> Then do a new MySilverStripeObject($sqlResultRow) if you want to use it in templating etc.
476: [09:34:00] <chillu> You can combine those into overloaded DataObject and DataList methods, but its going to be messy unless you plan to reimplement large parts of the ORM logic
477: [09:38:00] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
478: [09:43:00] * hubertusanton quit (Remote host closed the connection)
479: [10:17:00] <lx-berlin> sorry, i had a longer phonecall. Thanks, that doesnt sound like something i want to do :)
480: [10:21:00] * hubertusanton has joined #silverstripe
481: [10:25:00] * travis-ci has left #silverstripe
482: [10:25:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/4278653
483: [10:25:00] * travis-ci has joined #silverstripe
484: [10:25:00] <travis-ci> [travis-ci] silverstripe/sapphire#1201 (3.0 - 8717dec : Ingo Schommer): The build was fixed.
485: [10:25:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/3d921e7459fd...8717deca8277
486: [10:39:00] * DesignerX quit (Ping timeout: 252 seconds)
487: [10:46:00] * travis-ci has left #silverstripe
488: [10:46:00] * travis-ci has joined #silverstripe
489: [10:46:00] <travis-ci> [travis-ci] silverstripe/sapphire#1202 (3.1 - 37f4d2e : Ingo Schommer): The build passed.
490: [10:46:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/89176e8f5d28...37f4d2e21f9b
491: [10:46:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/4278830
492: [10:54:00] <lx-berlin> chillu : i have another question/suggestion (concerning modeladmin) :)
493: [10:55:00] <chillu> :)
494: [10:55:00] <lx-berlin> when u use the filters in modeladmin and maybe also go the page 5 and then edit a record, and then you go back to the list, your filter and paging is reset
495: [10:56:00] <lx-berlin> and also you have to click 4 times to get to page 5 again
496: [10:56:00] <lx-berlin> this is really bad. so you have to select your filters again
497: [10:56:00] <lx-berlin> 3.0 branch
498: [10:58:00] <chillu> Hm, that should be avoided by $('.cms .ss-gridfield') in LeftAndMain.js - that's your starting point at least
499: [10:59:00] <lx-berlin> i will make a pull right now and test it again
500: [10:59:00] <chillu> The filter stays if you use the browser back button, just not with the actual "back" button in the CMS UI, right?
501: [11:00:00] <lx-berlin> ok
502: [11:00:00] <lx-berlin> just a second . i will test it again in 1 minute
503: [11:00:00] * travis-ci has left #silverstripe
504: [11:00:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/4278890
505: [11:00:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/06e8499070dc...8ab66c93b61c
506: [11:00:00] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#200 (master - 8ab66c9 : Ingo Schommer): The build passed.
507: [11:00:00] * travis-ci has joined #silverstripe
508: [11:00:00] <chillu> Its broken, I've checked it
509: [11:01:00] <lx-berlin> would be nice if this gets fixed. because its really no fun to use modeladmin at the moment
510: [11:03:00] * Error404NotFound quit (Ping timeout: 246 seconds)
511: [11:04:00] * ocm_ has joined #silverstripe
512: [11:04:00] <ocm_> howdy!@
513: [11:05:00] <ocm_> like the names of the days and months?
514: [11:05:00] <ocm_> how to set locale for date output?
515: [11:06:00] * Friksel quit (Ping timeout: 245 seconds)
516: [11:09:00] <chillu> lx-berlin: Half fixed with http://github.com/silverstripe/sapphire/commit/f7c87784661cd0f9c448040c9a695f168dbf9c57
517: [11:09:00] <ocm_> any idea's?
518: [11:11:00] <chillu> It still breaks when you save the detail record, because the POST <form-url> doesn't keep the GET data with the search params. I think its illegal HTTP to send GET data with a POST request, so we'd have to submit those with POST, probably as a combined "_currentURL" flag or something.
519: [11:14:00] <lx-berlin> i see
520: [11:15:00] <ocm_> it still keeps returning english values
521: [11:15:00] <ocm_> when trying to set locale day output with: FormatI18N(%A)
522: [11:15:00] * travis-ci has left #silverstripe
523: [11:15:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/4278896
524: [11:15:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/94de10e41563...3d0f9afac8f9
525: [11:15:00] <travis-ci> [travis-ci] silverstripe/sapphire#1203 (master - 3d0f9af : Ingo Schommer): The build passed.
526: [11:15:00] * travis-ci has joined #silverstripe
527: [11:15:00] <ocm_> anyone has some suggestions?
528: [11:16:00] <ocm_> locale is set in _config
529: [11:17:00] * Error404NotFound has joined #silverstripe
530: [11:18:00] * Error404NotFound quit (Max SendQ exceeded)
531: [11:20:00] * Error404NotFound has joined #silverstripe
532: [11:21:00] * Error404NotFound quit (Max SendQ exceeded)
533: [11:23:00] * Error404NotFound has joined #silverstripe
534: [11:24:00] * Error404NotFound quit (Max SendQ exceeded)
535: [11:25:00] * Error404NotFound has joined #silverstripe
536: [11:30:00] <wmk> ocm_, you need the correct locale installed on your machine
537: [11:31:00] <NobrainerWeb> in _config
538: [11:31:00] <NobrainerWeb> i18n::set_time_format('HH:mm');
539: [11:31:00] <NobrainerWeb> ocm i have i18n::set_date_format('dd.MM.YYYY');
540: [11:32:00] <NobrainerWeb> i18n::set_locale($this->dataRecord->Locale);
541: [11:32:00] <NobrainerWeb> and in Page init function i have if($this->dataRecord->hasExtension('Translatable')) {
542: [11:32:00] <wmk> NobrainerWeb, yup, but if the OS doesn't know the correct translation for January cause it's not installed you have a problem
543: [11:32:00] <NobrainerWeb> Don't know if there is something there that helps
544: [11:32:00] <NobrainerWeb> }
545: [11:32:00] <NobrainerWeb> setlocale(LC_TIME, $this->dataRecord->Locale . ".utf8");
546: [11:33:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/8ab66c93b61c...a7d7975a643d
547: [11:33:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/4279220
548: [11:33:00] <wmk> on a freshly installed debian e.g. you have to perform dpkg-reconfigure locales
549: [11:33:00] * travis-ci has left #silverstripe
550: [11:33:00] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#201 (master - a7d7975 : Ingo Schommer): The build passed.
551: [11:33:00] * travis-ci has joined #silverstripe
552: [11:33:00] <NobrainerWeb> Ok, i don't know :-) i just shared what i have on my sites
553: [11:34:00] <wmk> NobrainerWeb, of course... this drove me crazy some times on new setups
554: [11:35:00] <wmk> depends on the hosting
555: [11:36:00] <NobrainerWeb> Yes i remember the problems to - generally i think there is to many problems working with multiple languages
556: [11:41:00] * travis-ci has joined #silverstripe
557: [11:41:00] * travis-ci has left #silverstripe
558: [11:41:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/4279224
559: [11:41:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/3d0f9afac8f9...47e0531babb0
560: [11:41:00] <travis-ci> [travis-ci] silverstripe/sapphire#1204 (master - 47e0531 : Ingo Schommer): The build passed.
561: [11:42:00] <wmk> NobrainerWeb, but sometimes we have to
562: [11:43:00] <NobrainerWeb> wmk, yes but i really believe SS should have more focus on this area - most of my sites are multilingual - in europe, that's mostly how it has to be - we don't just speak english :-)
563: [11:43:00] <wmk> full ak
564: [11:43:00] <wmk> ack
565: [11:44:00] <lx-berlin> chillu: i also have a suggestion for a new feature in modeladmin :) But this might also be done as a module. When you have a modeladmin and manage a class that has many properties and relations you will create some tabs for all this fields. And if you are also validating the input of many of this fields, it happens that when clicking on save, you get a message "validation error" (something like this). But then the admin has no idea wh
566: [11:44:00] <lx-berlin> field was not correct. So he has to click on each of the tabs to see if there is a field that was not correct. It would be nice if a tab could show a red bullet to indicate that in this tab there is a validation error
567: [11:45:00] * Emil_Blume has joined #silverstripe
568: [11:45:00] <kinglozzer> http://uncyclopedia.wikia.com/wiki/JavaScript Haha
569: [11:49:00] <webguest> where can i find the 2.4 modules? on github i only see version 3.0 modules - any ideas?
570: [11:49:00] * webguest has joined #silverstripe
571: [11:50:00] <webguest> want the latest version of some 2.4 modules like blog, userdefinedforms, evet calender, DOM, uploadify, newsletter, member profiles
572: [11:50:00] <webguest> http://www.silverstripe.org/blog-module/
573: [11:50:00] <webguest> well, example blog isnt latest version, it shows 2010 version on modules website
574: [11:50:00] <wmk> webguest, http://www.silverstripe.org/modules/
575: [11:51:00] <webguest> Date: 2012-05-01 - no download available
576: [11:51:00] * Error404NotFound quit (Disconnected by services)
577: [11:51:00] <webguest> and where can i find the latest?
578: [11:51:00] <webguest> why is this?
579: [11:52:00] <wmk> https://github.com/silverstripe/silverstripe-blog/tree/0.5
580: [11:52:00] <lx-berlin> i dont know if it is for 2.4
581: [11:52:00] <wmk> most modules are no longer developed for 2.4
582: [11:52:00] <lx-berlin> there is a 0.5 branch
583: [11:52:00] <wmk> maybe on github there are branches for 2.4 versions
584: [11:55:00] <chillu> lx-berlin: That's a good idea, and can be done entirely in JS. Pull request? ;)
585: [11:56:00] <lx-berlin> sorry, i think i am not able to do it
586: [11:56:00] <lx-berlin> not yet :)
587: [11:57:00] <webguest> wmk thx, didnt see the dropdwon
588: [11:57:00] * dendeffe quit (Quit: dendeffe)
589: [11:57:00] * travis-ci has joined #silverstripe
590: [11:57:00] <travis-ci> [travis-ci] silverstripe/sapphire#1205 (3.0 - f7c8778 : Ingo Schommer): The build passed.
591: [11:57:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/8717deca8277...f7c87784661c
592: [11:57:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/4279617
593: [11:57:00] * travis-ci has left #silverstripe
594: [11:59:00] * Shrike_Finland1 quit (Quit: Leaving.)
595: [12:02:00] <wmk> webguest, np
596: [12:04:00] * Unlearned quit (Read error: Connection reset by peer)
597: [12:13:00] * ocm_ quit (Ping timeout: 244 seconds)
598: [12:16:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/4999e5d886ba...d0585e484abd
599: [12:16:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/4280418
600: [12:16:00] * PigeonFriend has joined #silverstripe
601: [12:16:00] * travis-ci has joined #silverstripe
602: [12:16:00] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#202 (3.0 - d0585e4 : Ingo Schommer): The build passed.
603: [12:16:00] * webguest quit (Quit: Page closed)
604: [12:16:00] * travis-ci has left #silverstripe
605: [12:21:00] <priithansen> Is there any way to make the i18nTextCollectorTask fill out other enabled language files too?
606: [12:25:00] * travis-ci has joined #silverstripe
607: [12:25:00] <travis-ci> [travis-ci] silverstripe/sapphire#1206 (3.0 - 6c7e3af : Ingo Schommer): The build passed.
608: [12:25:00] * travis-ci has left #silverstripe
609: [12:25:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/4280461
610: [12:25:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/f7c87784661c...6c7e3afab3fb
611: [12:27:00] * ocm_ has joined #silverstripe
612: [12:28:00] <ocm_> wmk and NobrainerWeb thnx for the suggestions\
613: [12:28:00] <ocm_> I guess its the server that needs the locale aswell
614: [12:46:00] <PigeonFriend> hey @chillu, you about? How's best for me to go about editing that pull request? just add a new pull request and let you delete the existing one?
615: [12:55:00] <travis-ci> [travis-ci] Change view : https://github.com/dhensby/sapphire/compare/02d34b6499e2...ed0de4c3c661
616: [12:55:00] <travis-ci> [travis-ci] dhensby/sapphire#1 (3.0 - ed0de4c : Daniel Hensby): The build failed.
617: [12:55:00] * travis-ci has joined #silverstripe
618: [12:55:00] * travis-ci has left #silverstripe
619: [12:55:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/dhensby/sapphire/builds/4281108
620: [12:59:00] * cloph_away1 has joined #silverstripe
621: [13:00:00] * cloph_away quit (Ping timeout: 245 seconds)
622: [13:12:00] * dendeffe has joined #silverstripe
623: [13:14:00] <chillu> PigeonFriend: You can use "git rebase -i" to modify the history, then "git push -f" to force push to your branch. That's considered OK when working on small/medium sized pull requests where you're the only author
624: [13:15:00] <PigeonFriend> *test
625: [13:15:00] <PigeonFriend> hey chillu: yes, just done it and it looks to have come through and passed the tst
626: [13:15:00] <chillu> Its definitely better than reopening a new PR, since that means we split out the discussion into two places, and lose some context along the way
627: [13:16:00] <chillu> Yep, that looks better
628: [13:16:00] <PigeonFriend> I've checked on WAMP and it doesn't infinitely loop for windows or linux filesystems
629: [13:18:00] * dendeffe quit (Quit: dendeffe)
630: [13:25:00] * dendeffe has joined #silverstripe
631: [13:28:00] <priithansen> Is that ok method to add space adter the translated string ->setTitle(_t('Translatable.ORIGINAL', 'Original').' '.$originalField->Title());
632: [14:05:00] * g4b0 has joined #silverstripe
633: [14:08:00] <travis-ci> [travis-ci] Change view : https://github.com/dhensby/sapphire/compare/ed0de4c3c661...c3c92351df03
634: [14:08:00] <travis-ci> [travis-ci] dhensby/sapphire#2 (3.0 - c3c9235 : Daniel Hensby): The build is still failing.
635: [14:08:00] * travis-ci has joined #silverstripe
636: [14:08:00] * travis-ci has left #silverstripe
637: [14:08:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/dhensby/sapphire/builds/4282312
638: [14:10:00] * UndefinedOffset has joined #silverstripe
639: [14:24:00] * kinglozzer quit (Remote host closed the connection)
640: [14:55:00] * guci0 quit (Ping timeout: 245 seconds)
641: [15:15:00] * zfmf quit (Ping timeout: 245 seconds)
642: [15:23:00] * Shrike_Finland has joined #silverstripe
643: [15:29:00] <Shrike_Finland> Greetings
644: [15:30:00] <Shrike_Finland> Do you know, is the latest Github version under 3.1 in sync with open tickets? All fixed tickets are actually fixed in files on GitHub?
645: [15:43:00] * catcher has joined #silverstripe
646: [15:44:00] * EPIK has joined #silverstripe
647: [15:53:00] * ocm_ quit ()
648: [16:01:00] * webguest has joined #silverstripe
649: [16:02:00] <webguest> how do you make a DOM on the siteConfig? SS 2.4.9 - please see http://www.silverstripe.org/dataobjectmanager-module-forum/show/12048?start=32#post319408
650: [16:17:00] * dendeffe quit (Quit: dendeffe)
651: [16:19:00] <webguest> solved
652: [16:24:00] * webguest quit (Ping timeout: 245 seconds)
653: [16:55:00] * Shrike_Finland quit (Ping timeout: 240 seconds)
654: [16:56:00] * priithansen quit (Quit: priithansen)
655: [16:57:00] * g4b0 quit (Quit: Sto andando via)
656: [16:59:00] * howardgrigg quit (Ping timeout: 248 seconds)
657: [17:04:00] * howardgrigg has joined #silverstripe
658: [17:13:00] * priithansen has joined #silverstripe
659: [17:41:00] * chillu quit (Quit: chillu)
660: [17:44:00] * UndefinedOffset quit (Quit: Leaving.)
661: [17:46:00] * NobrainerWeb quit (Quit: NobrainerWeb)
662: [17:59:00] * UndefinedOffset has joined #silverstripe
663: [18:04:00] * lx-berlin has left #silverstripe
664: [18:12:00] * ARNHOFF has joined #silverstripe
665: [18:22:00] * gelignite has joined #silverstripe
666: [18:58:00] * PigeonFriend quit ()
667: [18:58:00] * dendeffe has joined #silverstripe
668: [19:20:00] * gelignite quit (Quit: http://bit.ly/nkczDT)
669: [19:35:00] <Pyromanik> Good morning.
670: [19:35:00] * Pyromanik has joined #silverstripe
671: [19:39:00] * Bollig|DesignCty has joined #silverstripe
672: [19:39:00] <catcher> top o' the morning to you.
673: [19:49:00] * Emil_Blume quit (Read error: Connection reset by peer)
674: [20:00:00] * Shrike_Finland has joined #silverstripe
675: [20:01:00] * dendeffe quit (Quit: dendeffe)
676: [20:03:00] * SightUnseen has joined #silverstripe
677: [20:04:00] * gelignite has joined #silverstripe
678: [20:07:00] * SightUnseen has left #silverstripe
679: [20:22:00] * simon_w|air has joined #silverstripe
680: [20:41:00] * zfmf has joined #silverstripe
681: [20:43:00] * wmk quit (Quit: nice to meet you ;))
682: [20:46:00] * dendeffe has joined #silverstripe
683: [20:48:00] * dendeffe quit (Client Quit)
684: [20:50:00] * dendeffe has joined #silverstripe
685: [20:51:00] * dendeffe quit (Client Quit)
686: [21:00:00] * simon_w|air quit (Quit: This computer has gone to sleep)
687: [21:03:00] * OomElvis has joined #silverstripe
688: [21:05:00] * dendeffe has joined #silverstripe
689: [21:09:00] * priithansen quit (Quit: priithansen)
690: [21:14:00] * chillu has joined #silverstripe
691: [21:24:00] * UndefinedOffset quit (Quit: Leaving.)
692: [21:29:00] * ARNHOFF quit (Quit: ( www.nnscript.com :: NoNameScript 4.22 :: www.esnation.com ))
693: [21:58:00] * simon_w has joined #silverstripe
694: [21:58:00] * Emil_Blume has joined #silverstripe
695: [22:03:00] * aznain has joined #silverstripe
696: [22:06:00] * dendeffe quit (Quit: dendeffe)
697: [22:14:00] <aznain> "A" dataobject has 1-M relationship with "B" dataobject. "A" has textfield named "a_name". "B" has textfield "b_name". My requirement is that When creating the "B" at back end. When new form displays, then "b_name" field should populate with value of parent "a_name" as default value in editable form.
698: [22:15:00] <aznain> I am unable to get Parent ID on that stage. But I can see that ID in URL appearing in the browser. Is there any way to get parent id so that i can take value from that and populate field of "B" rather than manipulating with URL ?
699: [22:18:00] <aznain> Am i making sense ?
700: [22:21:00] <catcher> aznain, if I'm understanding correctly, the relationship hasn't been set yet, so the parentID hasn't been set yet. Therefore, it would have to happen with request/url trickery.
701: [22:22:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/37f4d2e21f9b...be780980652c
702: [22:22:00] * travis-ci has left #silverstripe
703: [22:22:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/4291933
704: [22:22:00] <travis-ci> [travis-ci] silverstripe/sapphire#1210 (3.1 - be78098 : Daniel Hensby): The build passed.
705: [22:22:00] * travis-ci has joined #silverstripe
706: [22:24:00] <catcher> but I think I see a simon_w who may be back from vacation, and he'd know for sure.
707: [22:24:00] <aznain> catcher: Yea, I understand that thing. But still there should be some thing about who is going to be parent ... like parent id showing in url ....
708: [22:25:00] <catcher> aznain, it very well may be somewhere in the request.
709: [22:25:00] <aznain> @simon_w: please help in this regard.
710: [22:32:00] * gelignite quit (Quit: http://bit.ly/nkczDT)
711: [23:18:00] * DesignerX has joined #silverstripe
712: [23:18:00] * Ben___ has joined #silverstripe
713: [23:18:00] <Ben___> Hello
714: [23:23:00] * Guest__ has joined #silverstripe
715: [23:24:00] * Guest__ is now known as michaelmichael
716: [23:24:00] <Guest__> hello, I'm trying to work with grid fields and running in to a bit of an issue. Can I use a grid field to edit a has_one relation?
717: [23:28:00] * Ben___ is now known as Iseroy
718: [23:29:00] * zfmf has left #silverstripe
719: [23:30:00] <michaelmichael> I have a has_one that points to a DataObject
720: [23:30:00] <Iseroy> Why you want use gridfield for has_one?
721: [23:30:00] <michaelmichael> well, perhaps that's not the right solution :)
722: [23:30:00] <michaelmichael> I just want to be able to edit all fields on the has_one inline
723: [23:31:00] * MichaelDesignerX has joined #silverstripe
724: [23:31:00] <Iseroy> Yeah than use a gridfield only for creating the dataobjects ;)
725: [23:32:00] <Iseroy> And for everybody - i need a little bit help. If anyone unpulished a page all childrens are unpublished. and after publish parentpage all childrens still unpublished where i find this function to edit?
726: [23:32:00] <michaelmichael> thanks, Iseroy , I'm not sure I follow? use the grid field, but only for creation?
727: [23:33:00] <Iseroy> michael yeah many things i make as gridfield in SiteConfig for main creation and then i make a simple dropdown box for relation ;)
728: [23:33:00] * DesignerX quit (Ping timeout: 245 seconds)
729: [23:34:00] <Iseroy> but you can make gridfield for creation in every page too
730: [23:35:00] <michaelmichael> I see, so if you want to be able to edit/create inline, gridField is the way to go
731: [23:35:00] * reefer has joined #silverstripe
732: [23:36:00] <michaelmichael> I guess I was hoping for something more like hasonecomplextablefield, fromm SS of past
733: [23:37:00] <Iseroy> one moment i look for a solution
734: [23:37:00] <Iseroy> yeah for editing dataobjects use gridfield with config recordeditor - and to use a has_one relation make a extra field example as dropdown
735: [23:39:00] * funkygibbon has joined #silverstripe
736: [23:39:00] <michaelmichael> thanks, Iseroy
737: [23:40:00] <Iseroy> ok gridfield is not working for has_one - and i guess my solution is a simple way to do what you want
738: [23:41:00] <MichaelDesignerX> hi
739: [23:41:00] <michaelmichael> yeah, I think I'm understanding it all now. Seems like the ideal solution for me would be to create a a new Field type that handles the association. deep.
740: [23:41:00] <Iseroy> And for everybody - i need a little bit help. If anyone unpulished a page all childrens are unpublished. and after publish parentpage all childrens still unpublished where i find this function to edit?
741: [23:41:00] <catcher> michaelmichael, gridfield is for managing relationships rather than items, you'll have to go with modeladmin & dropdown or something similar.
742: [23:41:00] * MichaelDesignerX is now known as DesignerX
743: [23:42:00] <michaelmichael> ok, thanks, catcher, appreciate it
744: [23:42:00] <catcher> michaelmichael, np
745: [23:42:00] <DesignerX> anyone works with widgtes ?
746: [23:44:00] <DesignerX> If Page has_one MyWidgetArea , shouldnt MyWidgetAreaID have an ID (on the Page Table )
747: [23:44:00] <DesignerX> now MyWidgetAreaID always 0 !
748: [23:44:00] <Iseroy> No sorry
749: [23:45:00] <aznain> @simon_w: Can please help
750: [23:47:00] <catcher> DesignerX, you still have to write the relationship.
751: [23:49:00] * chillu quit (Quit: chillu)
752: [23:49:00] <Iseroy> catcher you have an idea for my problem?
753: [23:51:00] <reefer> Iseroy if your goal is simply to change the satus of those pages to published, it looks like in 3.0 you can still use /admin/publishall
754: [23:51:00] <DesignerX> catcher: $MyWidgetArea.ID in the template returns the ID but MyWidgetAreaID is 0 on my Page Table
755: [23:51:00] <reefer> http://doc.silverstripe.org/framework/en/reference/urlvariabletools
756: [23:52:00] <catcher> That's MyWidgetArea.ID, as opposed to Page.MyWidgetAreaID
757: [23:53:00] <DesignerX> catcher: then How Page hnow which WIdgetArea to get if MyWidgetAreaID is 0 on the table
758: [23:53:00] <Iseroy> yeah i know but i want only that Child Elements don't unpublished if i unpublish their parent element. I don't want publish all sites ;)
759: [23:56:00] <catcher> DesignerX, you have to write the relationship.
760: [23:58:00] <catcher> How does WidgetArea know which Page it belongs to?

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