#silverstripe IRC Log

IRC log for 13 March 2013

All timestamps are in UTC.

1: [00:00:00] * DrCuriosity has joined #silverstripe
2: [00:03:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/5457047
3: [00:03:00] * travis-ci has left #silverstripe
4: [00:03:00] * travis-ci has joined #silverstripe
5: [00:03:00] <travis-ci> [travis-ci] silverstripe/sapphire#1628 (3.1 - 8b2a911 : Sam Minnée): The build is still failing.
6: [00:03:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/e486574b31f0...8b2a911c806f
7: [00:04:00] <jerry____> priithansen: thank you ... it works ...
8: [00:05:00] <Pyromanik> jerry____, when you use has_many the relation is stored on the target object.
9: [00:06:00] <jerry____> I see
10: [00:06:00] <Pyromanik> which means you NEED to have the corresponding has_one defined on the target.
11: [00:06:00] <Pyromanik> as image does not has_one page, it doesn't work.
12: [00:06:00] <jerry____> aah
13: [00:06:00] <Pyromanik> 2 solutions: do what priithansen suggested with many_many, or use an intermediary object.
14: [00:07:00] <Pyromanik> like
15: [00:07:00] <Pyromanik> Caption, description, location stuff, etc.
16: [00:07:00] <Pyromanik> BUT
17: [00:07:00] <Pyromanik> this way you can do neat things like add extra text
18: [00:07:00] <Pyromanik> eg. class MyPageImages extends DataObject, has_one image, has_one page
19: [00:08:00] <jerry____> would that method display the picture (instead of file names)?
20: [00:08:00] <Pyromanik> jerry____, where is it only showing the file names?
21: [00:08:00] <Pyromanik> has the downside that it's a pain to manage with GridField, as you can only add one at a time.
22: [00:08:00] <jerry____> currently the pictures are not displayed though ... only file name
23: [00:09:00] <jerry____> ModelAdmin
24: [00:09:00] <jerry____> currently (with $many_many) relation, it displayed file names e.g. "car1" "car2" "car3"
25: [00:09:00] <Pyromanik> yeah.
26: [00:09:00] <jerry____> when I have $has_only relation, it displayed the picture
27: [00:09:00] <Pyromanik> ah yes
28: [00:09:00] <jerry____> I have a column for "Pictures"
29: [00:09:00] <jerry____> On the search result
30: [00:10:00] <Pyromanik> where Image is your picture's name (defined in the many_many)
31: [00:10:00] <Pyromanik> no
32: [00:10:00] <Pyromanik> oh
33: [00:10:00] <Pyromanik> mmm
34: [00:10:00] <Pyromanik> not sure
35: [00:10:00] <Pyromanik> try Image.CMSThumbnail
36: [00:10:00] <jerry____> in $summary_fields array you mean?
37: [00:10:00] <Pyromanik> jerry____, it'll be because it's a many_many
38: [00:10:00] <Pyromanik> it's not practical to output all the images attached to a file in the summary
39: [00:11:00] <Pyromanik> so it concatenates the filenames
40: [00:11:00] <Pyromanik> (at a guess)
41: [00:11:00] <Pyromanik> jerry____, what you can do though, is on your object (the model you manage with modeladmin)
42: [00:11:00] <Pyromanik> make a method
43: [00:11:00] <jerry____> static $summary_fields = array('Pictures', 'Year', 'Make', 'Model', 'Odometer', 'VIN',);
44: [00:12:00] <Pyromanik> just do Pictures.First
45: [00:12:00] * guci0 quit (Ping timeout: 245 seconds)
46: [00:12:00] <jerry____> that's what I have currently
47: [00:12:00] <Pyromanik> public function Thumbnail{return $this->Images()->First()->CMSThumbnail();}
48: [00:12:00] <Pyromanik> then use "Thumbnail" in your summary fields
49: [00:12:00] <jerry____> let me try that
50: [00:12:00] <Pyromanik> see if that works
51: [00:12:00] <Pyromanik> jerry____, or as a shortcut
52: [00:14:00] <jerry____> it doesn't like that .... that column is not displayed ... currently it is showing Year, Make, Model, Odometer, VIN
53: [00:15:00] <Pyromanik> in the format
54: [00:15:00] <Pyromanik> jerry____, oh
55: [00:15:00] <Pyromanik> at the moment you have an indexed array of 'Field'
56: [00:15:00] <Pyromanik> 'Field' => 'column title'
57: [00:15:00] <Pyromanik> it's because your summary fields should be an associative array
58: [00:15:00] * jcwacky quit (Read error: Operation timed out)
59: [00:16:00] * Stomach quit (Quit: Leaving.)
60: [00:16:00] <jerry____> static $many_many = array('Pictures' => 'Image',);
61: [00:16:00] <Pyromanik> so you'd do "Thumbnail" => "Preview Picture", as an example.
62: [00:17:00] <jerry____> static $summary_fields = array('Pictures', 'Year', 'Make', 'Model', 'Odometer', 'VIN',);
63: [00:18:00] <Pyromanik> static $summary_fields = array ('Thumbnail' => 'Picture', 'Year' => 'Year', 'Make' => 'Make', 'Model' => 'Model', 'Odometer' => 'Odometer', 'VIN' => 'VIN Number');
64: [00:18:00] <jerry____> let me try that
65: [00:22:00] <Pyromanik> static $summary_fields = array ('Pictures.First' => 'Picture', 'Year' => 'Year', 'Make' => 'Make', 'Model' => 'Model', 'Odometer' => 'Odometer', 'VIN' => 'VIN Number');
66: [00:22:00] <Pyromanik> or
67: [00:23:00] <Marvanni> When using FrameWork Only how do I setup an AppController extends Controller to use as RootController?
68: [00:24:00] <Pyromanik> Pictures returns a list, since it is a many_many
69: [00:24:00] <Pyromanik> literal .First
70: [00:24:00] <jerry____> hmm ... when you said Picture.First .... the ".First" here is literal "First" or title name?
71: [00:24:00] <jerry____> seems like $summary_fields wants to see relation-name
72: [00:25:00] * chillu quit (Quit: chillu)
73: [00:25:00] <jerry____> do I need to use template to enumerate that?
74: [00:25:00] <Pyromanik> so Pictures.First is the first item in the list Pictures
75: [00:26:00] <jerry____> when I use "Picture.First", ModelAdmin doesn't display it on Search Result
76: [00:26:00] <jerry____> when I use "Picture", that column show up ...
77: [00:26:00] <Pyromanik> you could try Picture.First.CMSThumbnail
78: [00:26:00] <Pyromanik> but I'm not sure that'll work
79: [00:26:00] <Pyromanik> nope
80: [00:26:00] <Pyromanik> it will either work or it won't
81: [00:26:00] <Pyromanik> I'm not sure
82: [00:26:00] <Pyromanik> just put it in
83: [00:27:00] <jerry____> but instead of displaying the content of that .jpg, it just display the title
84: [00:27:00] <Pyromanik> jerry____, but Picture isn't one image, it's MANY images.
85: [00:27:00] <Pyromanik> that's why it's not showing a jpg
86: [00:27:00] <jerry____> let me try that
87: [00:28:00] <jerry____> 'Pictures.First.CMSThumbnail' column is not displayed
88: [00:29:00] <Pyromanik> you might just be making a typo
89: [00:29:00] <jerry____> plural
90: [00:29:00] <Pyromanik> yeah, you'll need to use the thumbnail method I described earlier
91: [00:29:00] <Pyromanik> I was just curious to see if Picture.First would work
92: [00:29:00] <Pyromanik> jerry____, is it Picture, or Pictures?
93: [00:29:00] <jerry____> Pictures
94: [00:29:00] <Pyromanik> mm ok
95: [00:29:00] <jerry____> your earlier idea sounds interesting ...
96: [00:29:00] <Pyromanik> then yeah, make a thumbnail method on your object
97: [00:30:00] <Pyromanik> [13:12] <Pyromanik> public function Thumbnail{return $this->Images()->First()->CMSThumbnail();}
98: [00:30:00] <Pyromanik> scroll up?
99: [00:30:00] <jerry____> to create additional stuff
100: [00:30:00] <Pyromanik> yeh
101: [00:30:00] <jerry____> public function Thumbnail{return $this->Images()->First()->CMSThumbnail();}
102: [00:30:00] <jerry____> is it this one?
103: [00:30:00] <Pyromanik> then use that method name as a summary field
104: [00:30:00] <jerry____> could you repeat that again?
105: [00:30:00] <Pyromanik> 'Thumbnail' => 'First Picture'
106: [00:31:00] <Pyromanik> you might want some error checking in there
107: [00:31:00] * nhorstmeier has joined #silverstripe
108: [00:31:00] <jerry____> this is in "model" or "controller" section?
109: [00:32:00] <Pyromanik> jerry____, model is the better place.
110: [00:32:00] <Pyromanik> $picture = $this->Pictures()->First(); return $picture->exists() ? $picture->CMSThumbnail() : null;
111: [00:33:00] * nhorstmeier quit (Remote host closed the connection)
112: [00:33:00] <Pyromanik> jerry____, the same place the $summary_fields is defined
113: [00:37:00] <jerry____> hmmm Internal Server Error
114: [00:37:00] * Stomach has joined #silverstripe
115: [00:37:00] <jerry____> public function Thumbnail() { return $this->Images()->First()->CMSThumbnail(); }
116: [00:39:00] <jerry____> static $summary_fields = array( 'Thumbnail', 'Year', 'Make', 'Model', 'Odometer', 'VIN', );
117: [00:40:00] <Pyromanik> static $summary_fields = array ('Thumbnail' => 'Picture', 'Year' => 'Year', 'Make' => 'Make', 'Model' => 'Model', 'Odometer' => 'Odometer', 'VIN' => 'VIN Number');
118: [00:40:00] * Stomach has joined #silverstripe
119: [00:40:00] <Stomach> try getThumbnail instead as the function name
120: [00:40:00] <Pyromanik> no jerry____ you need to make your array associative
121: [00:40:00] * Stomach has left #silverstripe
122: [00:41:00] <Stomach> at least it wasn't a q situation this time
123: [00:41:00] <Stomach> constantly
124: [00:41:00] <Pyromanik> CMD W the wrong thing Stomach ?
125: [00:43:00] <Colin[pi]> so it doesn't have an ID yet
126: [00:43:00] <Stomach> correct
127: [00:43:00] <Colin[pi]> ok thought i was going mad lol
128: [00:43:00] <jerry____> internal server error
129: [00:43:00] <Colin[pi]> hmm in modeladmin, it doesn't save the object first when you click "Create", right?
130: [00:44:00] <Pyromanik> jerry____, what is the error?
131: [00:44:00] <Stomach> nope, just staying mad :P
132: [00:45:00] <Stomach> open the console
133: [00:45:00] <jerry____> it doesn't include the details ... only at the bottom left (I'm using ss24)
134: [00:45:00] <Stomach> the error will be in there
135: [00:46:00] <jerry____> sorry for newbie question .... where is the console?
136: [00:46:00] <Stomach> what browser are you using - its a browser specific functionality
137: [00:46:00] <jerry____> I'm 1 week old with SS
138: [00:46:00] <jerry____> chrome
139: [00:46:00] <Stomach> okay, so hit CMD+OPT+J
140: [00:46:00] <Stomach> if you're in MAC
141: [00:47:00] <Stomach> or View>>Developer>>Javascript Console
142: [00:47:00] <Pyromanik> jerry____, something like this: http://www.sspaste.com/paste/show/513fcca950668
143: [00:48:00] <jerry____> yes
144: [00:48:00] <Pyromanik> :<
145: [00:48:00] <jerry____> it's not available on 2.4?
146: [00:48:00] <Stomach> http://www.ssbits.com/snippets/2009/adding-a-thumbnail-to-a-dataobjectmanager-or-complex-table-field/
147: [00:48:00] <Stomach> that should work for 2.4 too Pyromanik
148: [00:48:00] <Pyromanik> jerry____, OH, you're using 2.4?
149: [00:49:00] <Pyromanik> also
150: [00:49:00] <Pyromanik> Stomach, should, but it gets a bit messed up with model admin between searchable and summaries
151: [00:49:00] <Pyromanik> eg sorting columns can't happen if the column isn't a direct field on the model
152: [00:49:00] <Stomach> yeah, thats always annoyed me
153: [00:49:00] <jerry____> let me login to different server
154: [00:49:00] <jerry____> that has 3.0
155: [00:50:00] <Pyromanik> he'll need more error checks around whether or not a dataobjectset is returned from the get method
156: [00:50:00] <Pyromanik> because it doesn't automatically return an empty one
157: [00:50:00] <Pyromanik> or something like that
158: [00:51:00] <Pyromanik> eg $this->Pictures()->First() can give you a method on non object error.
159: [00:51:00] <Pyromanik> (and probably IS what's happening)
160: [00:51:00] <Stomach> yeah, you should always be checking that your chains are correct in 2.4 though - theres lots of fun situations like that
161: [00:52:00] * eddiemonge quit (Read error: Connection reset by peer)
162: [00:54:00] <Pyromanik> see comment http://www.sspaste.com/paste/show/513fcca950668
163: [00:58:00] <jerry____> yeah 2.4. thew an exception
164: [00:58:00] <jerry____> throw new Exception("Unable to traverse to related object field [$fieldPath] on [$this->class]");
165: [00:59:00] <jerry____> let me try it on ss3 after dinner
166: [00:59:00] <jerry____> I appreciate the help
167: [00:59:00] <jerry____> thank you Pyromanik & Stomach
168: [01:00:00] <jerry____> I'm excited in exploring SS ... it's very powerful!
169: [01:02:00] <jerry____> this is my code so far
170: [01:02:00] <jerry____> http://www.sspaste.com/paste/show/513fd018b2585
171: [01:07:00] * jerry____ quit (Ping timeout: 245 seconds)
172: [01:10:00] * jcwacky has joined #silverstripe
173: [01:13:00] * SightUnseen has joined #silverstripe
174: [01:13:00] * SightUnseen has left #silverstripe
175: [01:46:00] <Pyromanik> fix that!
176: [01:46:00] <Pyromanik> urgh god he's using ?>
177: [01:47:00] <Stomach> lol
178: [01:52:00] <Marvanni> asiide the default fieldset that is present in Forms
179: [01:52:00] <Marvanni> Does SS actualy provide a way to wrap fields in a <fieldset> ?
180: [01:53:00] <Colin[pi]> does FieldGroup do it?
181: [01:57:00] <Marvanni> ty
182: [01:57:00] <Marvanni> hm, nope, but i can override the template to let it...
183: [02:02:00] * SightUnseen has joined #silverstripe
184: [02:03:00] * SightUnseen has left #silverstripe
185: [02:06:00] <Marvanni> well, border radius gives the same effect..
186: [02:24:00] <pippy> Pyromanik: I used ?> until i started using SS
187: [02:26:00] * popeshoe quit (Ping timeout: 260 seconds)
188: [02:28:00] <Pyromanik> pippy, so did most people I imagine
189: [02:29:00] <Pyromanik> Marvanni, mm, templates. There is no structural field that provides it.
190: [02:30:00] <ss23> I should get an award, so amazing
191: [02:30:00] <ss23> Wow, so I wrote this code at my last job - https://gist.github.com/ss23/34930237c468d1bb73ab
192: [02:31:00] * popeshoe has joined #silverstripe
193: [02:34:00] <ss23> XD
194: [02:34:00] <DrCuriosity> That made my brain hurt, ss23.
195: [02:36:00] <ss23> XD
196: [02:36:00] <irogue> dear god ss23. that looks like the kind of quality code gian and i were pumping out when developing for MR...
197: [02:36:00] <ss23> I had to make code that matched!
198: [02:39:00] <ss23> http://www.reddit.com/r/AskReddit/comments/1a5rkq/subway_employees_of_reddit_whats_the_most/c8uhswy
199: [02:39:00] <ss23> Everything is making me lol at the moment
200: [02:45:00] <Pyromanik> that date picker
201: [02:45:00] <ss23> I don't even know what I was thinking when Iw rote it XD
202: [02:45:00] <ss23> So fucking legit
203: [02:45:00] <ss23> ^^^
204: [02:45:00] <Pyromanik> looks legit
205: [02:48:00] * joelpittet has joined #silverstripe
206: [02:50:00] <ss23> https://docs.google.com/document/d/15QLjpf2ot1ercg92z49SsTd3OLPAitLKNlDhUFCGu4U/edit?usp=sharing k anyone got improvements for resume/cv thingy?
207: [02:51:00] <ss23> Pyromanik: o.o
208: [02:51:00] <Pyromanik> Your search - sniggle paggizzle applicizzles - did not match any documents.
209: [02:51:00] <Pyromanik> sadface
210: [02:51:00] <Pyromanik> google don't speak snoop dogg
211: [02:58:00] <Stomach> that CV doesnt tell me anything about you, what you want to be, where you are positioned currently and where you would like to be positioned in the future
212: [02:58:00] * priithansen quit (Quit: priithansen)
213: [02:59:00] * joelpittet quit (Read error: Connection reset by peer)
214: [03:00:00] <Stomach> in a CV its nice to have a 1 paragraph mashup of why you are doing what you're doing, and where you are going with it
215: [03:00:00] <ss23> Stomach: Is that something you want me to show?
216: [03:00:00] * joelpittet has joined #silverstripe
217: [03:01:00] <Stomach> shows intent to continue onward and upward etc
218: [03:16:00] * bob_ has joined #silverstripe
219: [03:17:00] <joelpittet> Just giving SS3b2 a go, anybody else have an issue inserting images?
220: [03:17:00] * Marvanni quit ()
221: [03:25:00] * Pigeon is now known as Guest86507
222: [03:25:00] * Pigeon has joined #silverstripe
223: [03:26:00] * PigeonFriend quit (Ping timeout: 264 seconds)
224: [03:45:00] <bob_> when using ModelAdmin to create record, is there a way to turn off Time & Date Format?
225: [03:51:00] <ss23> Microsoft Bob
226: [03:51:00] <Bollig|DesignCty> what do you mean bob?
227: [03:53:00] <bob_> Bollig: I'm using ModelAdmin to manage DataObject which allows me to do create/edit/delete records. When I want to create new record however, it displays a long list of Time Format & Date Format. I'd like to turn it off and set it to default EN_US
228: [03:54:00] <bob_> ss23: ss is sits on linux
229: [03:55:00] <bob_> I check documentation on ModelAdmin, but it doesn't include as how to turn these fields off
230: [03:55:00] * DigNZ quit (Quit: DigNZ)
231: [03:58:00] <bob_> the class that is managed by ModelAdmin is extended from Members (I guess that's why it's asking for Time Format & Date Format)
232: [04:00:00] <simon_w|air> bob_, getCMSFields() on the object
233: [04:00:00] * nickmolhoek quit (Quit: nickmolhoek)
234: [04:01:00] <joelpittet> seems after inserting an image in ss3b2 it just redirects to /admin/pages/edit/EditorToolbar/MediaForm which returns a 404
235: [04:02:00] <bob_> simon: how would you use that with ModelAdmin?
236: [04:08:00] <simon_w|air> bob_, $fields = parent::getCMSFields(); $fields->removeByName('Blah'); return $fields;
237: [04:12:00] <bob_> simon: thank you
238: [04:17:00] * aragonne has joined #silverstripe
239: [04:49:00] * Stomach quit (Quit: Leaving.)
240: [04:51:00] * willr quit (Quit: willr)
241: [04:57:00] * cloph_away1 has joined #silverstripe
242: [04:59:00] * cloph_away quit (Ping timeout: 245 seconds)
243: [05:14:00] * Shrike_Finland quit (Quit: Leaving.)
244: [05:36:00] <aragonne> -or- can I place the multiple join string in one leftJoin call?
245: [05:36:00] <aragonne> Hi guys, in the SS3 ORM, can I chain together many leftJoin calls? e.g., MyClass:get()->leftJoint(…) ->leftJoin(…)->lettJoin(…)?
246: [05:43:00] <simon_w|air> you chain them
247: [05:43:00] * LoveDuckie quit (Ping timeout: 240 seconds)
248: [05:50:00] * bob_ quit (Ping timeout: 245 seconds)
249: [06:18:00] * Shrike_Finland has joined #silverstripe
250: [06:32:00] * eikonos quit (Quit: Leaving.)
251: [06:36:00] * simon_w|air quit (Quit: This computer has gone to sleep)
252: [06:39:00] * toebu has joined #silverstripe
253: [06:41:00] * bti has joined #silverstripe
254: [06:42:00] <bti> hello
255: [06:43:00] * bti quit (Client Quit)
256: [07:09:00] * toebu quit (Ping timeout: 264 seconds)
257: [07:43:00] * simon_w|air has joined #silverstripe
258: [07:48:00] * ARNHOE has joined #silverstripe
259: [07:51:00] * ARNHOE quit (Remote host closed the connection)
260: [07:52:00] * ARNHOE has joined #silverstripe
261: [07:56:00] * aaron1245 quit (Quit: aaron1245)
262: [07:58:00] <ss23> What sort of date format is *that*?
263: [07:58:00] <ss23> Please enter a valid date format (MMM d, y)
264: [07:59:00] <ss23> Ah, I see, but still... wat
265: [08:01:00] <ss23> Someone really needs to fix up these tutorials. This one has one set of coed thats been mangled and spread over 3 differnet boxes...
266: [08:09:00] * Fritz_ quit (Ping timeout: 264 seconds)
267: [08:10:00] * LoveDuckie has joined #silverstripe
268: [08:13:00] <simon_w|air> ss23, that's jQuery UI/Zend date shenanigans for you
269: [08:14:00] <ss23> mm
270: [08:14:00] <ss23> simon_w|air: Silverstripe looks nice though :D
271: [08:15:00] <ss23> :P
272: [08:15:00] <simon_w|air> ss23, there's a reason PocketRent uses drop downs for date and time entry.
273: [08:15:00] <ss23> Cause you're hipsters?
274: [08:16:00] * openbees has joined #silverstripe
275: [08:16:00] <simon_w|air> Because validating free-form date input is a pain in the arse and is always going to break
276: [08:26:00] <ss23> For this 1day style site, I would have like... a Deals Holder which has allowed_children('DealsGroup'), where DealsGroup allowed_children('Deal') as well as the time where this group of deals ticks over from, then each deal has the individual stuff?
277: [08:26:00] <ss23> So simon_w|air, I have a question
278: [08:27:00] <ss23> Like, that is, I'm fine nesting it to be 3 things like that, two holders and one deal?
279: [08:28:00] <simon_w|air> Do the deals need to be explicitly grouped? Or can you just do it on when they go live?
280: [08:30:00] <ss23> well I'm not 100% sure, but I figured that deals would normally tick over in groups, like 1day, and there would be a limit so that only 1-3 deals can be visible at once, and a group seemed the best to enforce that
281: [08:30:00] <simon_w|air> yeah
282: [08:30:00] <ss23> simon_w|air: I guess, once I find out whether they want groups or not, is it fine to do either way on the silverstripe side?
283: [08:31:00] <ss23> Sweet
284: [08:32:00] <ss23> Is simon_w one of your broken boxes?
285: [08:32:00] * simon_w|air wants simon_w back :(
286: [08:33:00] * zfmf has joined #silverstripe
287: [08:33:00] <simon_w|air> simon_w is my MacBook Pro
288: [08:33:00] <ss23> Stop buying macs!
289: [08:33:00] <simon_w|air> Is currently getting its fans replaced
290: [08:33:00] <ss23> :D
291: [08:33:00] <simon_w|air> Pfft, then what would I run? NetBSD?
292: [08:34:00] <ss23> simon_w|air: Obviously Chrome book
293: [08:34:00] <ss23> Ps
294: [08:34:00] <ss23> psh*
295: [08:35:00] <ss23> She looks like the kind of girl to share her porn collectino, simon_w|air ;)
296: [08:35:00] <simon_w|air> Can't store pr0n on a lady!
297: [08:35:00] <simon_w|air> Or, I could get a 13" rMBP. Still have the graphics issues (seriously integrated on that sized display) but actually have space!
298: [08:35:00] <simon_w|air> Need space for all the pr0n or something
299: [08:35:00] <ss23> simon_w|air: I thought you had a lady for that!
300: [08:39:00] <hubertusanton> these files are not loaded in the cms it seems
301: [08:39:00] <hubertusanton> which results in empty javascript confirms
302: [08:39:00] <hubertusanton> https://github.com/silverstripe/sapphire/tree/3.0/admin/javascript/lang
303: [08:40:00] <hubertusanton> https://github.com/silverstripe/sapphire/blob/3.0/admin/javascript/LeftAndMain.EditForm.js
304: [08:41:00] <hubertusanton> or am i wrong? when i put LeftAndMain.CONFIRMUNSAVED in https://github.com/silverstripe/sapphire/tree/3.0/javascript/lang it is picked up
305: [08:44:00] * priithansen has joined #silverstripe
306: [08:50:00] <aragonne> simonw: what is the SS3 equivalent map() method of this SS2 statement: DataObject::get('ProductFinder')->map('ID', 'TitleWithProductGroup', 'Any Product Group')
307: [08:51:00] <aragonne> ProductFinder->get()->map() run SS3 eturns an SS_Map instead of an array as in SS2
308: [08:52:00] * ARNHOE_ has joined #silverstripe
309: [08:53:00] * chillu has joined #silverstripe
310: [08:55:00] <simon_w|air> yes, and?
311: [08:55:00] * ARNHOE quit (Ping timeout: 258 seconds)
312: [08:56:00] <simon_w|air> the empty string is now only an option on the dropdownfield, rather than on the map
313: [09:04:00] <simon_w|air> aragonne, so do the sort on the DataList. Is faster and more efficient.
314: [09:04:00] <aragonne> simon_w: in the SS2 version of our site, the resulting array returned from map() is passed to the PHP asort() function.
315: [09:05:00] <aragonne> when converting to SS3, when we use the refactored map() method, which returns an SS_Map object, so assort() barfs because it expects an array
316: [09:08:00] <simon_w|air> chillu, any idea on when travis will stop dying?
317: [09:08:00] <simon_w|air> Or what's causing it anyway
318: [09:08:00] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#266 (3.1 - 37bb86a : Ingo Schommer): The build was broken.
319: [09:08:00] * travis-ci has joined #silverstripe
320: [09:08:00] * travis-ci has left #silverstripe
321: [09:08:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/5464679
322: [09:08:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/a5e84c0a06d6...37bb86a92782
323: [09:08:00] * Andrew has joined #silverstripe
324: [09:08:00] * kinglozzer has joined #silverstripe
325: [09:08:00] * Andrew is now known as ajshort
326: [09:08:00] <ss23> lol, dat commit message
327: [09:09:00] <chillu> I've had a brief look into it, no freaking clue. The SQLite3PDODatabase class is definitely in the module
328: [09:09:00] <Colin[pi]> poor travis :c
329: [09:12:00] <ss23> (Hopefully that made sense. Imagine 1day with only one deal active at a time)
330: [09:12:00] * openbees has left #silverstripe
331: [09:12:00] <ss23> So, if instead I want to only display one deal at a time, and I want the home page to display this deal, would I have a Deal DataObject, then on HomePage_Controller, Deal::getCurrent() kinda thing to get the current deal then display it there, and not have a DealController, since I only need the deal as an object and never display a page dedicated to Deal, rather just use the Deal object in the HomePage_Controller?
332: [09:13:00] <ss23> Sweet
333: [09:13:00] <simon_w|air> ss23, yup
334: [09:13:00] * guci0 has joined #silverstripe
335: [09:14:00] <aragonne> simon_w: thanks!
336: [09:16:00] <[1]Pyromanik> hmm, left myself logged in again :<
337: [09:16:00] * aragonne has left #silverstripe
338: [09:16:00] * [1]Pyromanik has joined #silverstripe
339: [09:17:00] <ss23> With my dataobjects, I basically want to have it extend Page if I ever want the people in the CMS to be able to create a new thing of it in there like creating a new page, right? And if they never need to create a new "page", I don't extend page and just control it in another dataobject with the cms field stuff? Is that the right kind of idea?
340: [09:17:00] <Colin[pi]> ahem
341: [09:17:00] <Colin[pi]> HA HA
342: [09:18:00] <ss23> [1]Pyromanik: Hey, like I told everyone the other day, once in a blue moon I do work!
343: [09:18:00] * miiihi has joined #silverstripe
344: [09:18:00] <[1]Pyromanik> ss23 is talking aobut dataobjects
345: [09:18:00] <[1]Pyromanik> something must be wrong
346: [09:18:00] <[1]Pyromanik> is this Narnia?
347: [09:18:00] <Colin[pi]> D:
348: [09:18:00] * Mento has joined #silverstripe
349: [09:18:00] * svandragt has joined #silverstripe
350: [09:19:00] <[1]Pyromanik> NEWS TO ME
351: [09:19:00] <[1]Pyromanik> ss23, don't worry about the terms, just describe what you want to happen
352: [09:19:00] <ss23> [1]Pyromanik: Yeah well someone wanted a site made in Silverstripe
353: [09:19:00] <simon_w|air> ss23, have a look at ModelAdmin
354: [09:19:00] <[1]Pyromanik> but yeah, I think you want modeladmin
355: [09:19:00] <[1]Pyromanik> also, make sense ss23
356: [09:19:00] * lx-berlin has joined #silverstripe
357: [09:19:00] <[1]Pyromanik> ss23, yeah, but with SS?
358: [09:19:00] <ss23> [1]Pyromanik: Sorry, I'm not sure on all the terms and things yet...
359: [09:19:00] <ss23> I already quoted them, so I figure I should actually learn Silverstripe now...
360: [09:20:00] <ss23> Colin[pi]: I did one day, a long time ago
361: [09:20:00] <[1]Pyromanik> if he did, it was yonks ago
362: [09:20:00] <Colin[pi]> wat
363: [09:20:00] <[1]Pyromanik> you extend Page when you want them to be pages, that appear in the site tree, have URLS and all that jazz
364: [09:20:00] <ss23> Okay, I shall have a look at ModelADmin
365: [09:20:00] <Colin[pi]> woah woah woah.. ss23 doesn't actually silverstripe?
366: [09:20:00] <[1]Pyromanik> you extend DataObject directly when you want something abstract like image slides, etc.
367: [09:20:00] <[1]Pyromanik> Colin[pi], nup, lol.
368: [09:20:00] <Colin[pi]> SS2.3? lol
369: [09:20:00] <ss23> Colin[pi]: Although a long time ago I didn't do much internal stuff, I just mainly did front end stuff and simple module stuff
370: [09:20:00] <[1]Pyromanik> before he made his return
371: [09:20:00] <ss23> XD
372: [09:21:00] <Colin[pi]> ah k lol
373: [09:21:00] <[1]Pyromanik> he is the simplixtix
374: [09:21:00] <[1]Pyromanik> simplix, not to be confused with simplex
375: [09:21:00] <Colin[pi]> well I tried to roll my own LeftAndMain extension yesty
376: [09:22:00] <[1]Pyromanik> jokes bro, gosh
377: [09:22:00] <Colin[pi]> spent 30 mins and got promptly frightened
378: [09:22:00] <[1]Pyromanik> herpes simplex, just like ss23. ANNOYING AND NEVER FULLY GOES AWAY :<
379: [09:22:00] <Colin[pi]> then went to ModelAdmin :)
380: [09:22:00] <ss23> [1]Pyromanik: Ouch :<
381: [09:22:00] <[1]Pyromanik> <3
382: [09:22:00] <Colin[pi]> lol
383: [09:22:00] <simon_w|air> So many brackets!
384: [09:22:00] <[1]Pyromanik> dem brax
385: [09:22:00] <miiihi> @chillu hi, we have been translating ss on getlocalization, but can't get the new translated files. Shouldn't they be auto commited in translation-staging branch every hour? Is this broken?
386: [09:23:00] <ss23> So I think I want that instead of pages then, yes, since these deals don't really warrant pages...
387: [09:23:00] <[1]Pyromanik> (and get the client to pay the licence for the latter0
388: [09:23:00] <[1]Pyromanik> )
389: [09:23:00] <[1]Pyromanik> <{}>
390: [09:23:00] <Colin[pi]> hawt
391: [09:23:00] <ss23> Okay so like... I've had a quick read of http://doc.silverstripe.org/framework/en/reference/modeladmin and I think I get the idea. Products for example need to have rows in the DB and you want to search them etc, but you obviously don't want a page for each of them
392: [09:23:00] <[1]Pyromanik> ss23, yeh.
393: [09:23:00] <ss23> Thats right, right?
394: [09:23:00] <ss23> mm
395: [09:23:00] <ss23> Hmm
396: [09:23:00] * feejin has joined #silverstripe
397: [09:23:00] <[1]Pyromanik> or, just install shop or ecommerce or swipestripe
398: [09:24:00] <chillu> miiihi: Yes, its broken … again. I'll put it on my list, can't promise when I'll get around to it though.
399: [09:24:00] <Colin[pi]> is it a page? yes? sitetree. is it not? dataobject/modeladmin
400: [09:24:00] <ss23> Besides, I wanna learn it
401: [09:24:00] <ss23> I already quoted for building it! :P
402: [09:24:00] <ss23> lol
403: [09:24:00] <[1]Pyromanik> Chocolate Moose!
404: [09:24:00] * popeshoe quit (Quit: Leaving)
405: [09:24:00] <[1]Pyromanik> ss23, depends if you're making a shop or a simple checkout or just a catalogue really
406: [09:25:00] <ss23> [1]Pyromanik: you didn't!
407: [09:25:00] <Colin[pi]> pyromanik, you have one new message
408: [09:25:00] <chillu> No, for some annoying and unknown reason GL doesn't allow that for non-admins on the project
409: [09:25:00] <miiihi> @chillu: is there any other way, that I can retrieve yml files from getlocalization myself?
410: [09:25:00] <[1]Pyromanik> ss23, how did I know.
411: [09:25:00] <ss23> [1]Pyromanik: In this case, imagine 1-day
412: [09:25:00] <ss23> I would hoep you've picked up by now :P
413: [09:25:00] <[1]Pyromanik> I was going to make one of those once
414: [09:25:00] <ss23> I've been using 1day as the example for the past 48 hours!
415: [09:25:00] <ss23> lol
416: [09:25:00] <[1]Pyromanik> ss23, keep up, gosh> I figured that out when you said 'deals'
417: [09:25:00] <ss23> :P
418: [09:25:00] <[1]Pyromanik> but then the project fell through
419: [09:26:00] <[1]Pyromanik> ss23, yeah, seems odd for a millionaire
420: [09:26:00] <[1]Pyromanik> and it'll still be full of holes
421: [09:26:00] <ss23> XD
422: [09:26:00] <[1]Pyromanik> it'll be another year
423: [09:26:00] <[1]Pyromanik> NOPE LOL
424: [09:26:00] * ss23 wonders if wheedle is launched yet
425: [09:26:00] <ss23> [1]Pyromanik: Aww :<
426: [09:26:00] <chillu> Maybe write them a support email to ask for the feature?
427: [09:26:00] <[1]Pyromanik> chappy behind it didn't pay bills on time :<
428: [09:26:00] <[1]Pyromanik> but hey, that's what happened.
429: [09:26:00] <ss23> lol
430: [09:27:00] * popeshoe has joined #silverstripe
431: [09:27:00] <[1]Pyromanik> and beyond
432: [09:27:00] <ss23> There's infintity, yeah
433: [09:27:00] <[1]Pyromanik> so many
434: [09:27:00] <ss23> listselltrade, trademe, wheedle, geta
435: [09:27:00] <ss23> Another clone
436: [09:27:00] <[1]Pyromanik> geta?
437: [09:27:00] * ss23 wonders if geta fixed their "%"/"password" bug...
438: [09:27:00] <[1]Pyromanik> unelss they've changed up Indians for Malaysians.
439: [09:28:00] * chillu23 has joined #silverstripe
440: [09:28:00] <[1]Pyromanik> had another come through work the other day
441: [09:28:00] <[1]Pyromanik> not in SS
442: [09:28:00] * chillu23 quit (Changing host)
443: [09:28:00] * chillu23 has joined #silverstripe
444: [09:28:00] <[1]Pyromanik> we're like "give us source so we can see how to theme" and they just keep giving us the login to this 1996 relic of a monolithic heap of shit PHP pile of bad design.
445: [09:28:00] <ss23> XD
446: [09:28:00] <[1]Pyromanik> could honestly just be php nuke.
447: [09:29:00] <miiihi> @chillu: Ok. What are we talking about regarding repairing the sync - days, weeks , months?
448: [09:29:00] <Colin[pi]> JOOMLA, build it in joomla!Q
449: [09:30:00] <ss23> So the two things most / all of my code will extend from (if not doing my own OO stuff) is DataObject or Page?
450: [09:30:00] <Colin[pi]> yay
451: [09:30:00] <[1]Pyromanik> 40 items to click on
452: [09:30:00] <[1]Pyromanik> about
453: [09:30:00] <[1]Pyromanik> and there's literally
454: [09:30:00] <[1]Pyromanik> log in
455: [09:30:00] <[1]Pyromanik> probably more like phpBB v 1
456: [09:30:00] <[1]Pyromanik> yeah
457: [09:30:00] <[1]Pyromanik> or like, vB 2
458: [09:30:00] <Colin[pi]> D:
459: [09:30:00] <[1]Pyromanik> Colin[pi], looks like joomla 0.32
460: [09:31:00] <[1]Pyromanik> c
461: [09:31:00] <[1]Pyromanik> et
462: [09:31:00] <[1]Pyromanik> 'click here to define menus'
463: [09:31:00] <[1]Pyromanik> 'click here to add category to menu'
464: [09:31:00] <[1]Pyromanik> 'click here to assign products to categories'
465: [09:31:00] <Colin[pi]> ugh
466: [09:31:00] <[1]Pyromanik> 'click here to make category'
467: [09:31:00] <[1]Pyromanik> 'click here to make product'
468: [09:31:00] <[1]Pyromanik> just lists of links
469: [09:31:00] <[1]Pyromanik> Colin[pi], lol
470: [09:31:00] <[1]Pyromanik> (not real examples, it was too ugly to read so I didn't)
471: [09:31:00] <Colin[pi]> so it's like a dos app?
472: [09:32:00] <[1]Pyromanik> for now there are three
473: [09:32:00] <[1]Pyromanik> rejoice
474: [09:32:00] <[1]Pyromanik> spronk2_ is here!
475: [09:32:00] * spronk2_ has joined #silverstripe
476: [09:32:00] <[1]Pyromanik> dem spronks
477: [09:32:00] <[1]Pyromanik> 2 spronk2's
478: [09:33:00] <ss23> dw
479: [09:33:00] <ss23> Are all the docs for SS3 unless otherwise specified, or the other way around?
480: [09:33:00] <[1]Pyromanik> so anyway, excuse me while I refactor
481: [09:33:00] <ss23> Oh, it says there up the top :O
482: [09:34:00] <[1]Pyromanik> 3
483: [09:34:00] <[1]Pyromanik> unless you click 2
484: [09:34:00] <[1]Pyromanik> chocolate mouse or chocolate moose
485: [09:34:00] <[1]Pyromanik> that is the question
486: [09:34:00] <ss23> [1]Pyromanik: The tastier one
487: [09:34:00] <[1]Pyromanik> ss23, well I don't have any chocolate mouse, so chocolate moose it is I guess
488: [09:35:00] <ss23> More SS questions incoming!
489: [09:35:00] <[1]Pyromanik> dilushus porter
490: [09:36:00] <[1]Pyromanik> you're fucked
491: [09:36:00] <Colin[pi]> hahaha
492: [09:36:00] <ss23> I take it I use the relationship stuff, do I just has_many and put an artifical limit in or what?
493: [09:36:00] <ss23> Also, uh, each relationship needs to have a specific name
494: [09:36:00] <[1]Pyromanik> well then
495: [09:36:00] <ss23> What if I want each deal to have exactly 3 subdeals?
496: [09:36:00] * chillu23 is now known as chillu
497: [09:36:00] * spronk2 quit (*.net *.split)
498: [09:36:00] <ss23> So each deal has a "foo" subdeal, a "bar" subdeal, and a "cat" subdeal
499: [09:36:00] * chillu quit (*.net *.split)
500: [09:36:00] * ajshort quit (*.net *.split)
501: [09:37:00] <ss23> Oh, yesh, that makes sense, [1]Pyromanik. I just make 3 has_one's
502: [09:37:00] <[1]Pyromanik> dealDERP
503: [09:37:00] <Colin[pi]> should be a way to prevent adding more to a has_many though?
504: [09:37:00] <[1]Pyromanik> Colin[pi], yeah, but there isn't.
505: [09:37:00] <[1]Pyromanik> err, I mean dealN
506: [09:37:00] <[1]Pyromanik> not even with form fields
507: [09:37:00] <[1]Pyromanik> has_one deal1, deal2, deal3
508: [09:38:00] <ss23> Man, I'm basically a silverstripe pro now
509: [09:38:00] <Colin[pi]> no event handler or something?
510: [09:38:00] <[1]Pyromanik> ss23, yeh, because the relation is stored directly on the object, it works fine.
511: [09:38:00] <ss23> /nick simon_s
512: [09:38:00] <[1]Pyromanik> so long as you don't need to go backwards up the relations
513: [09:38:00] * waveydave has joined #silverstripe
514: [09:38:00] <[1]Pyromanik> but SSViewer now has $Up, so it's not that bad anymore
515: [09:39:00] <[1]Pyromanik> ss23, you should, but don't have to.
516: [09:39:00] <[1]Pyromanik> LOL not even a space.
517: [09:39:00] <ss23> Should I bother making a new file for SubDeal, or keep i tthe same?
518: [09:39:00] * DrCuriosity quit (Read error: Connection reset by peer)
519: [09:39:00] <[1]Pyromanik> \/crappy client?
520: [09:39:00] <ss23> Um
521: [09:39:00] <ss23> Is there any real difference, or is it just kind of only mattering for the autoloading stuff?
522: [09:39:00] * DrCuriosity has joined #silverstripe
523: [09:40:00] <[1]Pyromanik> afaik
524: [09:40:00] <[1]Pyromanik> unless they've been cleaned up, a fair few core files share classes
525: [09:40:00] <[1]Pyromanik> share class defs
526: [09:40:00] * ss23 is NOW a Silverstripe pro
527: [09:40:00] <[1]Pyromanik> f
528: [09:40:00] <[1]Pyromanik> no dif
529: [09:40:00] <ss23> Sweet
530: [09:40:00] <ss23> :D
531: [09:41:00] <ss23> nu uh
532: [09:41:00] <[1]Pyromanik> sif newbie
533: [09:41:00] <simon_w|air> Says the guy that isn't even a +v
534: [09:41:00] <ss23> :D
535: [09:41:00] * ss23 l33t
536: [09:42:00] <[1]Pyromanik> go write us some sweet <?php if($day == 1) echo 'Monday'; ?>
537: [09:42:00] <[1]Pyromanik> dat voice.
538: [09:42:00] <ss23> XD
539: [09:42:00] <ss23> [1]Pyromanik: hahahaha
540: [09:42:00] <ss23> simon_w|air: (Quick, +v me!)
541: [09:42:00] <ss23> Yeah, [1]Pyromanik!
542: [09:43:00] <ss23> aw
543: [09:43:00] <ss23> Okay, so I have a question about optimization kind of
544: [09:43:00] <simon_w|air> *optimisation
545: [09:43:00] <[1]Pyromanik> yes
546: [09:43:00] * [1]Pyromanik jealouses all over the screen.
547: [09:43:00] <simon_w|air> there, I +v-ed me!
548: [09:44:00] <simon_w|air> The database keeps a (usually) b-tree of start/end positions of values
549: [09:44:00] <simon_w|air> Which one did he mean?
550: [09:44:00] <[1]Pyromanik> ott?
551: [09:44:00] * [1]Pyromanik gets foiled by simon_w|air AGAIN
552: [09:44:00] <ss23> First of all, how does indexing work? I'll set about describing my issue in more depth while you guys answer that a little if you could
553: [09:44:00] <[1]Pyromanik> static $indexes = array('FieldName');
554: [09:45:00] <ss23> Yes, I think so, [1]Pyromanik
555: [09:45:00] <simon_w|air> For single column indexes, yes
556: [09:45:00] * [1]Pyromanik fists the air
557: [09:45:00] <Colin[pi]> kinky
558: [09:45:00] <[1]Pyromanik> :< that sounds ... yeah
559: [09:45:00] <ss23> I want the front page to display the current active deal, and that is the deal with the latest takesEffect value that is before the current day kind of thing. That is like... "where activeDate < NOW() ORDER BY activeDate LIMIT 1", if you get the idea
560: [09:45:00] <simon_w|air> you win this time
561: [09:45:00] <ss23> lol
562: [09:45:00] <[1]Pyromanik> YUS!
563: [09:45:00] <ss23> I was meaning how do you specify which DB fields are to be indexed
564: [09:45:00] * [1]Pyromanik wins
565: [09:45:00] <[1]Pyromanik> I think :<
566: [09:46:00] <ss23> Seems like the kind of thing that could be cached reasonbly easily, does Silverstripe have mechanisms for doing this? (If activeDate is a date, rather than a datetime)
567: [09:46:00] <[1]Pyromanik> get_one used to be cached, I dunno about 3.0 though
568: [09:46:00] <[1]Pyromanik> SS_Datetime::now()
569: [09:47:00] <[1]Pyromanik> thing
570: [09:47:00] <[1]Pyromanik> that's the one
571: [09:47:00] <[1]Pyromanik> partial cache
572: [09:47:00] <[1]Pyromanik> yes
573: [09:47:00] <[1]Pyromanik> or whatever that template thing is
574: [09:47:00] <simon_w|air> ss23, partial cache
575: [09:47:00] <[1]Pyromanik> or blocks
576: [09:47:00] <[1]Pyromanik> ss23, I think you want static publisher
577: [09:47:00] <ss23> But you get the kind of optimization it would be right?
578: [09:47:00] <[1]Pyromanik> also not sure about the between request
579: [09:47:00] <[1]Pyromanik> s
580: [09:47:00] <[1]Pyromanik> ss23, you could look at static publisher maybe
581: [09:48:00] <[1]Pyromanik> sif google
582: [09:48:00] * ss23 googles
583: [09:48:00] * [1]Pyromanik had the right idea
584: [09:48:00] <ss23> ty, I'll check it out ^.^
585: [09:48:00] <[1]Pyromanik> docs.silverstripe.org
586: [09:48:00] <[1]Pyromanik> newbie
587: [09:48:00] <[1]Pyromanik> GOSH
588: [09:49:00] <[1]Pyromanik> no shit
589: [09:49:00] <ss23> Google gave me a docs.ss link!
590: [09:50:00] <[1]Pyromanik> instead
591: [09:50:00] <[1]Pyromanik> then put the EXACT ADDRESS into the search box.
592: [09:50:00] <[1]Pyromanik> but that's like the reatards (everyone who isn't a webdev) who you SPELL OUT a URL to and they go... 'uhhh'
593: [09:50:00] <[1]Pyromanik> THEN click on the first result
594: [09:50:00] <[1]Pyromanik> OR
595: [09:50:00] <[1]Pyromanik> even better
596: [09:50:00] <[1]Pyromanik> GET CONFUSED between the first three results
597: [09:50:00] <ss23> How the fuck is it like that, bitch?
598: [09:50:00] <ss23> Think about it
599: [09:50:00] <[1]Pyromanik> go 'oh... uhh...'
600: [09:50:00] <[1]Pyromanik> then type "google.com"
601: [09:51:00] <[1]Pyromanik> fuck you and your shit chrome.
602: [09:51:00] <[1]Pyromanik> BECAUSE UNNECESSARY STEPS
603: [09:51:00] <[1]Pyromanik> AND RETARDERY
604: [09:51:00] <ss23> no
605: [09:51:00] <[1]Pyromanik> yes
606: [09:51:00] <ss23> My way -> alt + tab, ctrl + n, type "silverstripe partial cache", click on result
607: [09:51:00] <[1]Pyromanik> NO
608: [09:51:00] <ss23> Compare to your way -> alt + tab, ctrl + n, type "docs." then press enter, then tab / click to the search box, then partial cache, then click result
609: [09:51:00] <ss23> SO MANY MORE STEPS
610: [09:51:00] <ss23> My way many faster.
611: [09:51:00] <[1]Pyromanik> my way:
612: [09:51:00] <[1]Pyromanik> Ctrl+t
613: [09:51:00] <ss23> haha
614: [09:51:00] <[1]Pyromanik> 'd'
615: [09:51:00] <ss23> So mad
616: [09:52:00] <[1]Pyromanik> click docs in window
617: [09:52:00] <[1]Pyromanik> or even better
618: [09:52:00] <[1]Pyromanik> Ctrl+t
619: [09:52:00] <ss23> fuck
620: [09:52:00] <ss23> ctrl + t
621: [09:52:00] <[1]Pyromanik> done
622: [09:52:00] * Mento quit ()
623: [09:52:00] <[1]Pyromanik> speed dial
624: [09:52:00] <ss23> Sorry, I muscle memory it, don't often think about what I'm actually pressing
625: [09:52:00] <[1]Pyromanik> 'enter'
626: [09:52:00] <[1]Pyromanik> done
627: [09:52:00] <ss23> [1]Pyromanik is 10/10 mad right now
628: [09:52:00] <ss23> "simon_w sets mode +mad on Pyromanik"
629: [09:52:00] <[1]Pyromanik> SMASHED
630: [09:52:00] <ss23> :3
631: [09:52:00] <[1]Pyromanik> :S
632: [09:52:00] <simon_w|air> ss23 is showing how noob he is. crtl+n, really?
633: [09:53:00] <[1]Pyromanik> lol derp
634: [09:53:00] <ss23> I was like :<
635: [09:53:00] <ss23> Like earlier today when I did ctrl + 1 to change tabs and Youtube was like "Oh I moved in this hour long video for you, before you could check where you were up to!"
636: [09:53:00] <[1]Pyromanik> SPEEEEEEEEEEEED dial
637: [09:53:00] * simon_w|air just knows the answers, b-arches
638: [09:55:00] <ss23> damn
639: [09:55:00] <[1]Pyromanik> and then it was 11
640: [09:55:00] <[1]Pyromanik> :<
641: [09:55:00] <ss23> ^^
642: [09:55:00] <[1]Pyromanik> ps
643: [09:55:00] <[1]Pyromanik> you wildly underquoted ss23
644: [09:55:00] <[1]Pyromanik> bl buddy
645: [09:55:00] <ss23> lol
646: [09:55:00] <ss23> :P
647: [09:56:00] <[1]Pyromanik> factor of 6
648: [09:56:00] <ss23> 6
649: [09:56:00] <[1]Pyromanik> what were you thinking?
650: [09:56:00] * ss23 does math
651: [09:56:00] <ss23> THATS :O
652: [09:56:00] <[1]Pyromanik> :O that you do math tbh.
653: [09:56:00] <Colin[pi]> how much?
654: [09:56:00] <ss23> I said $400 for it
655: [09:56:00] <[1]Pyromanik> lolsif
656: [09:56:00] <Colin[pi]> ....
657: [09:56:00] <ss23> I'm not doing the design or anything
658: [09:56:00] <[1]Pyromanik> I mean like
659: [09:57:00] <[1]Pyromanik> but I thought you'd at least be in the $1000's
660: [09:57:00] <ss23> Yeah, [1]Pyromanik
661: [09:57:00] <[1]Pyromanik> ...
662: [09:57:00] <[1]Pyromanik> change your mind. NOW.
663: [09:57:00] <Colin[pi]> dude are you in mumbai?
664: [09:57:00] <ss23> lol
665: [09:57:00] <ss23> foff
666: [09:57:00] <[1]Pyromanik> I was going to say factor of 10
667: [09:57:00] <ss23> I work cheap~
668: [09:57:00] <ss23> Just the silverstripe side
669: [09:57:00] <[1]Pyromanik> wait, you're serious?
670: [09:58:00] <ss23> haha
671: [09:58:00] <ss23> [1]Pyromanik: I hope to spend ~10 hours on
672: [09:58:00] <Colin[pi]> not hard work?
673: [09:58:00] <ss23> XD
674: [09:58:00] <Colin[pi]> i hope cost of living is low where you live
675: [09:58:00] <[1]Pyromanik> $400 is...
676: [09:58:00] <ss23> I'm not working to live :P
677: [09:58:00] <[1]Pyromanik> I could spend a week full time on the project you're about to do
678: [09:58:00] <simon_w|air> A deals site is relatively easy
679: [09:58:00] <ss23> It's not hard work, I don't mind doing it for cheap
680: [09:58:00] <[1]Pyromanik> ss23, THAT'S WHAT SHE SAID
681: [09:58:00] <ss23> lol
682: [09:58:00] <[1]Pyromanik> 0.5 days.
683: [09:58:00] <Colin[pi]> want $400 for one simon_w?
684: [09:58:00] <[1]Pyromanik> 4 hours.
685: [09:58:00] <ss23> on it
686: [09:59:00] <Colin[pi]> that's my starting rate
687: [09:59:00] <ss23> The other site I'm looking out where they want that, I'm just like "I dopn't even know"
688: [09:59:00] <simon_w|air> It's not a proper commerce site, so none of the annoying things like product variations and specials and crap
689: [09:59:00] <Colin[pi]> standard
690: [09:59:00] <ss23> simon_w|air: ++
691: [09:59:00] <ss23> Well it's true I normally underquote, but stilll, I can't see it being to ohard...
692: [09:59:00] <[1]Pyromanik> Colin[pi], put your price up tbh
693: [09:59:00] <Colin[pi]> I charge $85 an hour
694: [09:59:00] <ss23> [1]Pyromanik: Me? No
695: [09:59:00] <[1]Pyromanik> simon_w|air, except he's already mentioned variations and crap
696: [10:00:00] <ss23> I did that!
697: [10:00:00] <Colin[pi]> basic rule is, whatever you think it will cost first, double that and add another half
698: [10:00:00] <ss23> You guys are hardasses
699: [10:00:00] <[1]Pyromanik> because a proper quote and spec should take about a day
700: [10:00:00] <Colin[pi]> that also
701: [10:00:00] <[1]Pyromanik> basic rule is: charge to quote properly and don't top down bullshit it
702: [10:00:00] <ss23> My first idea was 6 hours
703: [10:00:00] <Colin[pi]> because there is always, ALWAYS, crap that will pop up that was not anticipated
704: [10:01:00] <Colin[pi]> *money also
705: [10:01:00] <ss23> Remind me never to get you guys to work for me
706: [10:01:00] <[1]Pyromanik> probably more
707: [10:01:00] <ss23> :P
708: [10:01:00] <Colin[pi]> it's business
709: [10:01:00] <simon_w|air> Man, I just consult. So much easier.
710: [10:01:00] <[1]Pyromanik> ss23, I'm sorry, I can't hear you over the sound of all the poverty between us
711: [10:01:00] <Colin[pi]> ask yourself, are you in the business of making sites, or are you in the business of making money?
712: [10:01:00] <Colin[pi]> ALL businesses are in the business of making moeny
713: [10:01:00] <[1]Pyromanik> or more
714: [10:02:00] <[1]Pyromanik> ss23, yeah, but novice move matey
715: [10:02:00] <[1]Pyromanik> whores make moaney and money.
716: [10:02:00] <ss23> [1]Pyromanik: XD
717: [10:02:00] <[1]Pyromanik> moeny, whateves.
718: [10:02:00] <Colin[pi]> that said I'm not exactly retiring in Brazil any time soon
719: [10:02:00] <[1]Pyromanik> sounds like moany
720: [10:02:00] <ss23> Colin[pi]: I'm in the business of either
721: [10:02:00] <ss23> I'm in the business of filling time so I'm not bored ;)
722: [10:02:00] <ss23> Like I said, I don't need to live off this money
723: [10:02:00] <Colin[pi]> well I envy you, I need to do this to survive as it's my sole source of income :)
724: [10:03:00] <ss23> [1]Pyromanik: This is entertaining!
725: [10:03:00] <ss23> XD
726: [10:03:00] <[1]Pyromanik> :<
727: [10:03:00] <[1]Pyromanik> I mean meat
728: [10:03:00] <[1]Pyromanik> fuck
729: [10:03:00] <[1]Pyromanik> wait
730: [10:03:00] <ss23> [1]Pyromanik: But... I can meet you... <3
731: [10:03:00] <[1]Pyromanik> (pun actually intended)
732: [10:03:00] <simon_w|air> I should code from a lazy boy more often
733: [10:03:00] <ss23> Money is very over rated
734: [10:03:00] <[1]Pyromanik> ss23, I mean like meet girls -.-
735: [10:03:00] <ss23> If I cared anything about money I would've stayed at uni so I could get a degree and make proper money
736: [10:03:00] <[1]Pyromanik> you could have... like done stuff that entertained you if you didn't change such low amount
737: [10:04:00] <Colin[pi]> ss23 is your bitch now?
738: [10:04:00] <[1]Pyromanik> Colin[pi], bitches love money
739: [10:04:00] <Colin[pi]> boy, that escalated quickly
740: [10:04:00] <[1]Pyromanik> coz, y'know... bitches be crazy
741: [10:04:00] <[1]Pyromanik> Colin[pi], can't be. He don't like money at all.
742: [10:05:00] <ss23> lol
743: [10:06:00] <Colin[pi]> btw I might pop in and say hi from brazil next week, i'll need to be working from there unfortunately :(
744: [10:06:00] <[1]Pyromanik> is the official ss commit acceptance TABS ONLY BISH!?
745: [10:06:00] <[1]Pyromanik> Colin[pi], OH YOU
746: [10:07:00] <[1]Pyromanik> just outsource to manilla
747: [10:07:00] <simon_w|air> [1]Pyromanik, TABS FOR LYFE, BRO
748: [10:07:00] <[1]Pyromanik> or give tony abbot a shout
749: [10:07:00] <[1]Pyromanik> I'm sure he's got a list of boat people handy.
750: [10:07:00] <Colin[pi]> haha I'm sure
751: [10:08:00] <[1]Pyromanik> just be all "yo t-dawg, any coders in yo boat folk?"
752: [10:08:00] <[1]Pyromanik> then record the result
753: [10:08:00] <[1]Pyromanik> sell it to the news
754: [10:08:00] <[1]Pyromanik> no need to work in brazil
755: [10:08:00] <[1]Pyromanik> 2 birds, one stone.
756: [10:08:00] <[1]Pyromanik> or 1 bird, in brazil
757: [10:08:00] <Colin[pi]> already have that here :_
758: [10:08:00] <[1]Pyromanik> which every way you want it I guess.
759: [10:09:00] <Colin[pi]> LOL
760: [10:09:00] <ss23> Is this known issue?
761: [10:09:00] <Colin[pi]> :)
762: [10:09:00] <[1]Pyromanik> :P
763: [10:09:00] <Colin[pi]> OH and HAI cold, just in time for travel... fuck viruses
764: [10:09:00] <Colin[pi]> well that was fast
765: [10:09:00] <ss23> Help, my CMS interface broke and I can't see the tree anymore
766: [10:09:00] <[1]Pyromanik> LOL SUCKER
767: [10:10:00] <Colin[pi]> yes, it's called ss23
768: [10:10:00] <[1]Pyromanik> dat recirc air...
769: [10:10:00] <Colin[pi]> that's a very good point
770: [10:10:00] <ss23> wow, it came up now, it just took ~30 seconds
771: [10:10:00] <Colin[pi]> ...
772: [10:10:00] <[1]Pyromanik> Colin[pi], at least you'll be immune on the airplane instead of getting sick AFTER arriving
773: [10:10:00] <ss23> ;___;
774: [10:11:00] <Colin[pi]> first two times, I was fine, last time, mega cold when I arrived :(
775: [10:11:00] <[1]Pyromanik> f it
776: [10:11:00] <[1]Pyromanik> Colin[pi],yeh, it happens.
777: [10:11:00] <Colin[pi]> breathing the same shitty air for 20 hours
778: [10:11:00] * priithansen quit (Quit: priithansen)
779: [10:11:00] <[1]Pyromanik> another chocolate moose
780: [10:12:00] <[1]Pyromanik> that everyone else is feeding virii into constantly
781: [10:12:00] <ss23> Fuck, the word "deal" has gone all messed up now
782: [10:12:00] <ss23> Look at that stupid word. Who even invented the word "deal"
783: [10:12:00] <ss23> deal
784: [10:12:00] <ss23> fml
785: [10:12:00] <[1]Pyromanik> I don't get sick though because I'm just that awesome
786: [10:13:00] <[1]Pyromanik> though she just got married, not a deal any longer!
787: [10:13:00] <simon_w|air> You had a friend? :o
788: [10:13:00] <[1]Pyromanik> that is kinda funny :P
789: [10:13:00] <Colin[pi]> NO DEAL
790: [10:13:00] <[1]Pyromanik> deal's off
791: [10:13:00] <[1]Pyromanik> :P
792: [10:13:00] <[1]Pyromanik> wait
793: [10:13:00] <ss23> XD
794: [10:13:00] <ss23> lol
795: [10:13:00] <[1]Pyromanik> hey
796: [10:13:00] <[1]Pyromanik> had a friend in school called deal
797: [10:13:00] <ss23> :O
798: [10:14:00] <[1]Pyromanik> what do
799: [10:14:00] <hubertusanton> FulltextSearchable::enable('SiteTree');
800: [10:14:00] <hubertusanton> Object::add_extension('BlogPage',"FulltextSearchable('BlogPageAuthor')");
801: [10:14:00] <[1]Pyromanik> Feel like a creep :S
802: [10:14:00] <[1]Pyromanik> friend makes comment about penis on facebook. Coment on comment about penis mentioning penis also. Kills thread. :<
803: [10:14:00] <hubertusanton> hi in _config i did
804: [10:14:00] <Colin[pi]> btw pyromanik, I get to enjoy these trains again http://msnbcmedia.msn.com/j/MSNBC/Components/Photo/_new/pb-120607-saopaulo-9p.photoblog900.jpg
805: [10:15:00] <Colin[pi]> mm
806: [10:15:00] <[1]Pyromanik> I don't think it works like that
807: [10:15:00] <simon_w|air> hubertusanton, the SearchForm only searches SiteTree and File
808: [10:15:00] <[1]Pyromanik> field definitions*
809: [10:15:00] <hubertusanton> when searching BlogPageAuthor is not picked up
810: [10:15:00] <[1]Pyromanik> though it's been ages since I looked at it
811: [10:15:00] <[1]Pyromanik> pretty sure it only works for file and site tree
812: [10:15:00] <[1]Pyromanik> on hard coded fields
813: [10:16:00] <ss23> This model admin stuff looks sexy
814: [10:16:00] <simon_w|air> anything else requires a custom form
815: [10:16:00] <[1]Pyromanik> hubertusanton, SerachContext!
816: [10:16:00] <hubertusanton> is it posible to add fields which i added in db definitions?
817: [10:16:00] <simon_w|air> And battery is almost dead, so off to bed!
818: [10:16:00] <[1]Pyromanik> but last I looked that was 2.4
819: [10:16:00] <[1]Pyromanik> hubertusanton, I don't think so unfortunately
820: [10:16:00] <simon_w|air> hubertusanton, not to SearchForm
821: [10:16:00] <ss23> That is all
822: [10:17:00] <[1]Pyromanik> hubertusanton, you can make a search
823: [10:17:00] <hubertusanton> so i should use SearchContext, is there a good example somewhere?
824: [10:17:00] <hubertusanton> hmmm i promised my client :(
825: [10:17:00] <[1]Pyromanik> docs.silverstripe.org
826: [10:17:00] <[1]Pyromanik> hubertusanton, look at the docs?
827: [10:17:00] <[1]Pyromanik> just can't use the default $SearchForm
828: [10:18:00] <[1]Pyromanik> api.silverstripe.org
829: [10:18:00] * simon_w|air quit (Quit: This computer has gone to sleep)
830: [10:18:00] <[1]Pyromanik> if not there, check inline doc blocks
831: [10:19:00] <hubertusanton> $form->classesToSearch(array('SiteTree'));
832: [10:19:00] * [1]Colin[pi] has joined #silverstripe
833: [10:19:00] <[1]Colin[pi]> sigh
834: [10:19:00] <hubertusanton> ok i'll look into that thanks a lot!
835: [10:19:00] <[1]Pyromanik> hubertusanton, you're welcome
836: [10:19:00] <[1]Pyromanik> oh Colin[pi], welcome to the [1]Club!
837: [10:19:00] * Colin[pi] quit (Ping timeout: 256 seconds)
838: [10:19:00] <[1]Colin[pi]> oh there I go
839: [10:19:00] <[1]Colin[pi]> lol
840: [10:19:00] <hubertusanton> what about: $form = new SearchForm(....
841: [10:20:00] <[1]Pyromanik> hubertusanton, it doesn't support.
842: [10:20:00] <ss23> http://api.silverstripe.org/3.0/class-DataObject-%3EgetCMSFields.html -> 404\
843: [10:20:00] <ss23> (through customizing DataObject->getCMSFields).
844: [10:20:00] <[1]Pyromanik> sorry about that :<
845: [10:20:00] <[1]Pyromanik> yeh
846: [10:20:00] <hubertusanton> ok so searchcontext it is :)
847: [10:20:00] <[1]Pyromanik> (at least... yet)
848: [10:20:00] <[1]Pyromanik> it was a planned feature that never evenutated.
849: [10:20:00] <hubertusanton> and add more?
850: [10:21:00] <ss23> Take it this is just a typo in the docs?
851: [10:21:00] <[1]Pyromanik> nfi
852: [10:22:00] <[1]Pyromanik> api site is a bit borked atm though unfortunately
853: [10:22:00] <[1]Pyromanik> when you expand a field you need to manually unhide the content within
854: [10:22:00] * feejin quit (Remote host closed the connection)
855: [10:22:00] <[1]Pyromanik> http://api.silverstripe.org/3.0/source-class-DataObject.html#1931-1965
856: [10:23:00] * Guits has joined #silverstripe
857: [10:23:00] <[1]Pyromanik> http://api.silverstripe.org/3.0/class-DataObject.html#_getCMSFields
858: [10:23:00] <ss23> So I have a question about ModelADmin
859: [10:23:00] <[1]Pyromanik> is it a terrible question?
860: [10:23:00] <ss23> It talks about making the has_one a dropdown. Is there any mechanism for making, instead of a drop down, just putting all the fields there on the field for the class that owns the has_one thingy so that it can be all added in one interface?
861: [10:24:00] <ss23> So how do I go about hacking one up then? Can I override some of this getCMSFields stuff to make it work?
862: [10:24:00] <[1]Pyromanik> although I'm about to build one I think
863: [10:24:00] <[1]Pyromanik> no
864: [10:25:00] <[1]Colin[pi]> no I'm joking lol
865: [10:25:00] <ss23> Or is that like, super hard level Silverstripe?
866: [10:25:00] <[1]Pyromanik> pfft
867: [10:25:00] <[1]Colin[pi]> dat super hard
868: [10:25:00] <[1]Pyromanik> no
869: [10:25:00] <ss23> lame, kk
870: [10:26:00] <[1]Pyromanik> that handles a has_one
871: [10:26:00] <[1]Pyromanik> and only has_ones
872: [10:26:00] <[1]Pyromanik> extend FormField
873: [10:26:00] <[1]Pyromanik> and grabs them fields
874: [10:26:00] <[1]Pyromanik> <3
875: [10:26:00] <ss23> <3
876: [10:26:00] <ss23> lol
877: [10:26:00] <[1]Pyromanik> add a getCMSFields class that uses that field to your FUCK YOUR EXAMPLE
878: [10:26:00] <ss23> [1]Pyromanik: Got a code example? I have no idea what you're asying.
879: [10:26:00] <[1]Pyromanik> then
880: [10:26:00] <[1]Pyromanik> and puts them inline
881: [10:26:00] <[1]Pyromanik> make your field
882: [10:27:00] <[1]Pyromanik> nosrs
883: [10:27:00] <[1]Pyromanik> although IIRC that was with 2.4
884: [10:27:00] <[1]Pyromanik> even FrozenFire gave up
885: [10:27:00] <ss23> I can make it easy by not using a relationship, dw
886: [10:27:00] <[1]Pyromanik> because it hasn't been done yet
887: [10:27:00] <[1]Pyromanik> apparently
888: [10:27:00] <[1]Pyromanik> not that easy
889: [10:27:00] <[1]Pyromanik> just
890: [10:27:00] <[1]Pyromanik> not that hard
891: [10:27:00] <ss23> lol
892: [10:28:00] <[1]Pyromanik> ss23, that's usually the question one must ask if they're adding an object that's only ever with that one parent object for no reason other than fields.
893: [10:28:00] <ss23> Well I use it 3 times, so I thought it would be a lot less code duplication to use a relationship
894: [10:29:00] <ss23> Both are easy though
895: [10:29:00] <[1]Pyromanik> I agree
896: [10:29:00] <ss23> has_one (foo, bar, baz) rather than $db foo_name, foo_price, baz_name, baz_price etc
897: [10:30:00] * popeshoe has joined #silverstripe
898: [10:30:00] * popeshoe quit (Quit: Leaving)
899: [10:31:00] <[1]Pyromanik> shoudn't be too hard... just... yeah.
900: [10:31:00] <[1]Pyromanik> ss23, I commonly find implementations of things like home page action boxes (where there are those 3 boxes that sit across the home page under the heading/banner as calls to action for other sections of the site) done like that
901: [10:31:00] <[1]Pyromanik> nasty maintenance
902: [10:31:00] <[1]Pyromanik> in php and templates
903: [10:31:00] <ss23> Oh, the image stuff works just how I like it in ModelAdmin :D
904: [10:31:00] <[1]Pyromanik> but... sigh.
905: [10:31:00] <[1]Pyromanik> no better way as yet
906: [10:31:00] * g4b0 has joined #silverstripe
907: [10:32:00] <[1]Colin[pi]> and the women
908: [10:32:00] <[1]Colin[pi]> think of the glory
909: [10:32:00] <[1]Pyromanik> but can't be sure.
910: [10:32:00] <[1]Pyromanik> ss23, as I said, I think I might be thinking about it.
911: [10:32:00] <[1]Colin[pi]> DO IT
912: [10:32:00] <ss23> [1]Pyromanik: Sounds liek you're offering!
913: [10:32:00] <[1]Pyromanik> or release a module
914: [10:32:00] <ss23> lol
915: [10:32:00] <[1]Pyromanik> needs someone to think about it, design it, implement it, test it, submit it for pulls
916: [10:32:00] <[1]Pyromanik> at the moment I just use gridfield
917: [10:33:00] <[1]Colin[pi]> hahaha
918: [10:33:00] <[1]Pyromanik> everything sweet
919: [10:33:00] <[1]Pyromanik> add 3
920: [10:33:00] <[1]Pyromanik> their own derp
921: [10:33:00] <[1]Pyromanik> well
922: [10:33:00] <ss23> So mean :P
923: [10:33:00] <ss23> lol
924: [10:33:00] <[1]Pyromanik> $$$ if they want me to fix.
925: [10:33:00] <[1]Pyromanik> then they've fucked their design by their own accord and that's their fault.
926: [10:33:00] <[1]Pyromanik> and if the client adds more than three 'calltoactionboxes' to the homepage
927: [10:34:00] <r3v3rb> morning
928: [10:34:00] <[1]Pyromanik> have 2, looks stupid
929: [10:34:00] <[1]Pyromanik> have 4, breaks design
930: [10:34:00] <[1]Pyromanik> SO JUST DELETE ONE
931: [10:34:00] <[1]Pyromanik> so hard.
932: [10:34:00] <[1]Colin[pi]> can I offer a really lame but possible solution?
933: [10:34:00] <[1]Pyromanik> other than that
934: [10:34:00] <[1]Colin[pi]> widgetareas have a limit on maximum widgets *ducks*
935: [10:34:00] <[1]Pyromanik> it's "oh, we changed our minds, we want four accross rather than three"
936: [10:34:00] * r3v3rb has joined #silverstripe
937: [10:34:00] <[1]Pyromanik> so then it's $$ for redesign and $$ for implementation
938: [10:35:00] <[1]Pyromanik> google, why you fail me now?
939: [10:35:00] <[1]Colin[pi]> oh hai
940: [10:35:00] <[1]Pyromanik> even... midnightish
941: [10:35:00] <r3v3rb> Pyromanik: semantics :)
942: [10:35:00] <[1]Pyromanik> I can't find my articles module I plonked on the interwebs somewhere
943: [10:35:00] * [1]Pyromanik supplecation gestures
944: [10:36:00] <ss23> What error is this...?
945: [10:36:00] <[1]Pyromanik> supplication even.
946: [10:36:00] <[1]Pyromanik> could be
947: [10:36:00] <ss23> It's not a PHP error though?
948: [10:36:00] <[1]Pyromanik> or fuxxd your templates
949: [10:36:00] <[1]Pyromanik> made a typo
950: [10:36:00] <ss23> What is unexpected token. Never heard of it in PHP
951: [10:36:00] <ss23> SyntaxError: Unexpected token E
952: [10:36:00] <[1]Pyromanik> that is
953: [10:36:00] <[1]Pyromanik> you named something wron
954: [10:36:00] <[1]Pyromanik> an unexpected toeken error
955: [10:36:00] <ss23> Got it when trying to upload an image
956: [10:36:00] <[1]Pyromanik> probably isn't
957: [10:37:00] <ss23> Or what file it is
958: [10:37:00] <ss23> ANYWAY, HOW TO FIX, I don't know what line it's on
959: [10:37:00] <[1]Pyromanik> http://webspace.webring.com/people/vm/mutmainaa/dua1/dua_hands.jpg
960: [10:37:00] <ss23> I mean, PHP errors don't look liek that, right?
961: [10:37:00] <ss23> It's not a PHP error though?
962: [10:37:00] <[1]Pyromanik> ALL YOUR TOKENS
963: [10:37:00] <[1]Pyromanik> it's a php error
964: [10:37:00] <[1]Pyromanik> yes
965: [10:37:00] <[1]Pyromanik> a token is a token
966: [10:37:00] <ss23> I haven't touched templates, and this is the CMS interface
967: [10:38:00] <[1]Pyromanik> supplication, in case you're unaware of what it is.
968: [10:38:00] <ss23> a dev rebuild works fine, so I can't see how it would be an error
969: [10:38:00] <[1]Pyromanik> SYNTAX ERROR
970: [10:38:00] <[1]Pyromanik> with a syntax error
971: [10:38:00] <ss23> Thats literally the entire text I get when uploading it
972: [10:38:00] <[1]Pyromanik> if there is no styles or stack trace, then you've bung'd php
973: [10:38:00] <[1]Pyromanik> ss23, if it's not a php erorr then there's a stack trace to go with it
974: [10:38:00] <ss23> [1]Pyromanik: Just tell me how to get a proper error out plz
975: [10:38:00] * [1]Pyromanik glares at ss23
976: [10:39:00] <ss23> Syntax errors in PHP don't look like that
977: [10:39:00] <ss23> looks more like something javascripty or something...
978: [10:39:00] <[1]Pyromanik> OPEN YOUR DEV TOOLS FOOL
979: [10:39:00] <[1]Pyromanik> little black popup?
980: [10:39:00] <ss23> It wasn't a black popup
981: [10:39:00] <ss23> And even then, that error it gave isnt' a PHP error
982: [10:40:00] <ss23> It doesn't *look* like a JS error, the text sounds like a JS error
983: [10:40:00] <[1]Pyromanik> yes
984: [10:40:00] <[1]Pyromanik> ok
985: [10:40:00] <[1]Pyromanik> yes
986: [10:40:00] <[1]Pyromanik> no
987: [10:40:00] <[1]Pyromanik> yes
988: [10:40:00] <[1]Pyromanik> ok?
989: [10:40:00] <ss23> Let me upload an image
990: [10:40:00] <ss23> So you can see
991: [10:40:00] <ss23> It was red text in an image upload box thing
992: [10:40:00] <[1]Pyromanik> looks like JS erorr? IS PROBABLY JS ERROR
993: [10:40:00] <ss23> Let me screenshot
994: [10:40:00] <ss23> ;_;
995: [10:40:00] <ss23> meanie
996: [10:40:00] <ss23> bring back the [1]Pyromanik who loves me
997: [10:40:00] <ss23> plz
998: [10:40:00] <ss23> go away
999: [10:40:00] * [1]Pyromanik is blind
1000: [10:40:00] <ss23> Why?
1001: [10:40:00] <[1]Pyromanik> nope.
1002: [10:41:00] <[1]Pyromanik> by blind I don't mean I use a screen reader
1003: [10:41:00] <ss23> kk
1004: [10:41:00] <[1]Pyromanik> hurry up because I wanna rox some folk before bed
1005: [10:41:00] <[1]Pyromanik> <3
1006: [10:41:00] <[1]Pyromanik> M3
1007: [10:41:00] <[1]Pyromanik> I mean I alcohol
1008: [10:42:00] <ss23> http://i.imgur.com/6o1bv18.png
1009: [10:42:00] <[1]Pyromanik> because text is truncated fool
1010: [10:42:00] <[1]Pyromanik> open dev tools like I told you -.-
1011: [10:42:00] <ss23> It's not truncated
1012: [10:43:00] <[1]Pyromanik> then stop feeding it E
1013: [10:43:00] <ss23> That was the first thing I checked
1014: [10:43:00] <[1]Pyromanik> GOSH
1015: [10:43:00] <ss23> That is to say
1016: [10:43:00] <ss23> If it's truncated, it's before it gets to here (which makes me think it's JS or something being dodgy)
1017: [10:44:00] <[1]Pyromanik> well
1018: [10:44:00] <ss23> [1]Pyromanik: http://i.imgur.com/2uu1KPH.png
1019: [10:44:00] <ss23> I am really unsure how to debug this. As far as I can figure, it's not the PHP I wrote, since a dev/build works fine, and that checks for syntax errors in there
1020: [10:44:00] <[1]Pyromanik> PHP syntax errors generally look like "Error: unexpected token '(' expected ';'
1021: [10:44:00] <[1]Pyromanik> or soemthing like tha
1022: [10:45:00] <[1]Pyromanik> r3v3rb,yes
1023: [10:45:00] <[1]Pyromanik> tt
1024: [10:45:00] <ss23> I figure most other common typos would be caught there too.
1025: [10:45:00] <ss23> I get that 3 is kind of new, but it's frustrating to get an error with literally no useful information on how to fix the error....
1026: [10:45:00] <[1]Pyromanik> typos aren't caught until runtime
1027: [10:45:00] <r3v3rb> pants, do all buttons in the form-actions section fire the submit of a form?
1028: [10:45:00] <[1]Pyromanik> ss23, you're the only one who gets it
1029: [10:45:00] <[1]Pyromanik> hence 'actions'
1030: [10:45:00] <r3v3rb> anyway to override
1031: [10:46:00] <[1]Pyromanik> ;)
1032: [10:46:00] <r3v3rb> tricky, need to ensure the form works for those with and without JS enabled
1033: [10:46:00] <ss23> It has an error in PHP, just doesn't show you it
1034: [10:46:00] <ss23> Lame, but at least I can fix o/
1035: [10:46:00] <ss23> ERROR [Warning]: copy(/var/www/silverstripe/SilverStripe-cms-v3.0.5/assets/Uploads/snowman-square.png): failed to open stream: Permission denied
1036: [10:46:00] <ss23> [1]Pyromanik: Yes, it would seem so. Do you have any ideas? As you can see, I don't think I can coax any more information out on this side. Is there some other approach?
1037: [10:46:00] <r3v3rb> ;)
1038: [10:46:00] <[1]Pyromanik> r3v3rb, javascript return false?
1039: [10:46:00] <[1]Pyromanik> or, don't make them actions
1040: [10:46:00] <ss23> Aha, I see
1041: [10:46:00] <r3v3rb> ss23: only one arm?
1042: [10:47:00] <[1]Pyromanik> as if they were actions
1043: [10:47:00] <[1]Pyromanik> r3v3rb, then don't use actions.
1044: [10:47:00] <[1]Pyromanik> add buttons to a composite field
1045: [10:47:00] <r3v3rb> oh well if thats the only way
1046: [10:47:00] <r3v3rb> Pyromanik: yar, mucky though…
1047: [10:47:00] <[1]Pyromanik> or soemthing liek that
1048: [10:47:00] <ss23> r3v3rb: One arm, what? :O
1049: [10:47:00] <[1]Pyromanik> use that to style buttons
1050: [10:47:00] <[1]Pyromanik> give composite field a name and/or extra classes
1051: [10:48:00] <[1]Pyromanik> r3v3rb, indeed. But there aren't actions that aren't actions.
1052: [10:48:00] <[1]Pyromanik> so far as I'm aware.
1053: [10:48:00] <r3v3rb> Pyromanik: no, i think you are 100% correct
1054: [10:48:00] <[1]Pyromanik> actions are for actions, ie things that DO something with the form.
1055: [10:48:00] <[1]Pyromanik> r3v3rb, you could subclass formaction and make it render a button that isn't a submit
1056: [10:48:00] <[1]Pyromanik> or reset
1057: [10:49:00] <r3v3rb> aye
1058: [10:49:00] <[1]Pyromanik> r3v3rb, umm
1059: [10:49:00] <[1]Pyromanik> probably easier tbh
1060: [10:49:00] <r3v3rb> just makes it harder to have my submit and 'back' button next to each other
1061: [10:49:00] <r3v3rb> inline with my submit button
1062: [10:49:00] <[1]Pyromanik> a back button is all you want?
1063: [10:50:00] <r3v3rb> but it is firing the JS submit code in the JS version of the page
1064: [10:50:00] <[1]Pyromanik> new form blah blah $actions = new FieldList(submit action, new LiteralField('backbutton', '<a href="'.$this->BACKTHISTRUCKUP().'">go back</a>' .. blah blah end actions
1065: [10:51:00] <[1]Pyromanik> that(
1066: [10:51:00] <[1]Pyromanik> goddamn chocolate moose :<
1067: [10:51:00] <[1]Pyromanik> that*
1068: [10:51:00] <[1]Pyromanik> anyway, might be slightly not quite like htat
1069: [10:51:00] <[1]Pyromanik> iirc
1070: [10:51:00] <r3v3rb> gotcha
1071: [10:51:00] <[1]Pyromanik> same like LoginForm does it (forgot my password?)
1072: [10:51:00] <r3v3rb> good idea fella
1073: [10:51:00] <r3v3rb> hmm
1074: [10:52:00] <r3v3rb> chocolate moose in keyboard is not good
1075: [10:52:00] <[1]Pyromanik> (no I don't mean mouse)
1076: [10:53:00] <[1]Pyromanik> ctrl+f chocolate
1077: [10:53:00] <[1]Pyromanik> (pricks don't know what anchors are)
1078: [10:53:00] <[1]Pyromanik> r3v3rb, http://boundaryroadbrewery.co.nz/craft-beer-range
1079: [10:54:00] <ss23> :D
1080: [10:54:00] * ss23 anchors [1]Pyromanik to the ground
1081: [10:55:00] <[1]Pyromanik> SS_Datetime::now() ?
1082: [10:55:00] <[1]Pyromanik> ss23, huh?
1083: [10:55:00] <ss23> [1]Pyromanik: When working with dataobject and dates and filters and stuff, should I just use strings or what?
1084: [10:55:00] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
1085: [10:56:00] <ss23> [1]Pyromanik: Is there like an SS_Date for just dates or what? I'm using Date in my $db, but I' mtalking about for filters
1086: [10:56:00] <[1]Pyromanik> :P
1087: [10:56:00] <[1]Pyromanik> ss23, yeh.
1088: [10:56:00] <r3v3rb> ;)
1089: [10:56:00] <r3v3rb> got it
1090: [10:56:00] <r3v3rb> Pyromanik: that one you are working on?
1091: [10:56:00] <ss23> So use the SS_DAtetime object, kk
1092: [10:56:00] <ss23> Yeah, wasn't sure if date() or there was a Silverstripe object for it, [1]Pyromanik
1093: [10:56:00] <ss23> CAn you use either?
1094: [10:56:00] <[1]Pyromanik> r3v3rb, if by working on you mean drinking, yes.
1095: [10:56:00] <[1]Pyromanik> if you're asking if I made the site, no.
1096: [10:56:00] <[1]Pyromanik> date('alldemformats')
1097: [10:57:00] <ss23> lol
1098: [10:57:00] <[1]Pyromanik> or ss23, whichever listens.
1099: [10:57:00] <[1]Pyromanik> ss-log, Date
1100: [10:57:00] <[1]Pyromanik> mmhmm
1101: [10:57:00] <ss23> kk, I see, so Datei s a class
1102: [10:57:00] <ss23> This makes sense
1103: [10:59:00] * ajshort has joined #silverstripe
1104: [10:59:00] <ss23> Didn't ajshort used to be in NZ?
1105: [10:59:00] <ss23> [1]Pyromanik: Date doesn't seem to have a now()? looking at http://api.silverstripe.org/3.0/class-Date.html
1106: [11:00:00] <[1]Pyromanik> now deal with it.
1107: [11:00:00] <ss23> :<
1108: [11:00:00] <ajshort> not that I'm aware of
1109: [11:00:00] <ss23> Hmm, okay
1110: [11:00:00] <ss23> I'll let you off this time...
1111: [11:00:00] <ss23> [1]Pyromanik~
1112: [11:00:00] <[1]Pyromanik> ss23, that's right, glad you noticed.
1113: [11:01:00] * Shrike_Finland quit (Ping timeout: 252 seconds)
1114: [11:02:00] <ss23> how to deal with it [1]Pyromanik :<
1115: [11:02:00] <[1]Pyromanik> just use date()
1116: [11:02:00] <[1]Pyromanik> OR
1117: [11:02:00] <[1]Pyromanik> same like you would with date()
1118: [11:02:00] <[1]Pyromanik> gosh
1119: [11:07:00] <ss23> k I think I'll use date
1120: [11:07:00] <ss23> AHHHH PUSH IT
1121: [11:07:00] <ss23> AH PUSH IT, ss23 and [1]Pyromanik's HIT
1122: [11:10:00] <[1]Colin[pi]> i'm off lads, nn
1123: [11:11:00] <[1]Colin[pi]> lol
1124: [11:11:00] * [1]Colin[pi] quit (Quit: PANTS)
1125: [11:11:00] <ss23> nn [1]Pyromanik
1126: [11:11:00] <ss23> um
1127: [11:11:00] <ss23> nn [1]Colin[pi]*
1128: [11:11:00] <[1]Colin[pi]> :D
1129: [11:15:00] <Guits> What is the Status on SS3.1.. is it stable enough to use for a very basic site
1130: [11:17:00] <zfmf> woww is there a new api :D
1131: [11:19:00] <ajshort> but it really depends if you're comfortable running beta stuff
1132: [11:19:00] <ajshort> Guits: I would say yes
1133: [11:26:00] <ss23> There we are, think thats the first half of this 1day clone done. Next half is getting payments working
1134: [11:30:00] * feejin has joined #silverstripe
1135: [11:32:00] <[1]Pyromanik> ss23, payments module
1136: [11:37:00] <ss23> [1]Pyromanik: Wanna help me with templates too? :D. I have a method in HomePage_Controller that returns a DataObject. To see whether ti returned one, I just use "<% if $getThatObject %>" right? I'm a little confused on the usage of $ vs not, as I'm getting some strange behaviour and I suspect I'm not doing it right as it is
1137: [11:37:00] <ss23> http://doc.silverstripe.org/framework/en/reference/templates seems to imply you always use $ even with methods, but this behaviour isn't as I would expect so I'm not so sure
1138: [11:39:00] <onre> what is the default location for a translation table for a website? the templates use <% _t() %> but i can't figure out where i should put the .yml files so that they're actually read
1139: [11:40:00] <onre> i've tried lang/ and mysite/lang/ and neither seemed to work
1140: [11:40:00] <lx-berlin> i use mysite/lang/
1141: [11:41:00] <[1]Pyromanik> someone decided it would be good to put them into <% %>
1142: [11:41:00] <lx-berlin> did you use ?flush=1 ?
1143: [11:41:00] <[1]Pyromanik> ss23, $ is irrelevant
1144: [11:42:00] <[1]Pyromanik> so consistancy says $var and <% $var %>
1145: [11:42:00] <[1]Pyromanik> because apparently it's confusing to have $var and <% var %>
1146: [11:42:00] <ss23> [1]Pyromanik: And just to check, MySQL is smart and will cache the result of that function if I do an if then use it again right after? I don't have to do any extra logic in my templates? (OR at the least, will cache the result of that query for the request)
1147: [11:42:00] <ss23> lol [1]Pyromanik
1148: [11:42:00] <[1]Pyromanik> because I'm an old fart
1149: [11:42:00] <onre> lx-berlin, yes, but i seem to be doing something wrong. no translation occurs
1150: [11:42:00] <[1]Pyromanik> but I think it's stupid
1151: [11:43:00] <onre> lx-berlin, looks like _t() is 2.4 and <%t SomeThing "the string to translate" %> is 3.0
1152: [11:44:00] <[1]Pyromanik> also
1153: [11:44:00] <[1]Pyromanik> it looks like someone messed up the doc tags if that's in there
1154: [11:44:00] <[1]Pyromanik> no
1155: [11:45:00] <[1]Pyromanik> if yo'uve pulled bleedign edge
1156: [11:45:00] <[1]Pyromanik> trans is broken
1157: [11:48:00] <[1]Pyromanik> I thikn that's what I heard about an hour ago
1158: [11:48:00] <[1]Pyromanik> at least
1159: [11:49:00] <ss23> Any reason why modeladmin would put in a value of "1" into my HTMLVarchar field?
1160: [11:52:00] <[1]Pyromanik> you put it there
1161: [11:53:00] <ss23> nn
1162: [11:53:00] <ss23> Anyway, I shall sleep now and play around tommorrow
1163: [11:53:00] <ss23> <3
1164: [11:53:00] <ss23> Nope
1165: [11:53:00] <ss23> I apperciate all the help, [1]Pyromanik, really
1166: [11:53:00] <ss23> I evne tried overriding the $defaults with a value of '', still comes up with a 1
1167: [11:54:00] <[1]Pyromanik> unless NOT NULL started meaning something in dataobject
1168: [11:54:00] * [1]Pyromanik quit (Quit: HydraIRC -> http://www.hydrairc.com <- Would you like to know more?)
1169: [11:54:00] <[1]Pyromanik> no idea then
1170: [11:54:00] <[1]Pyromanik> :<
1171: [11:54:00] <[1]Pyromanik> laters all
1172: [12:05:00] * svandragt quit (Quit: Instantbird 1.3 -- http://www.instantbird.com)
1173: [12:05:00] * UndefinedOffset has joined #silverstripe
1174: [12:05:00] * priithansen has joined #silverstripe
1175: [12:07:00] <svandragt> hi all :)
1176: [12:07:00] * svandragt has joined #silverstripe
1177: [12:08:00] <svandragt> funny thing happened, permissions on a dataobject were derived from a main dataobject using get_one()->canView() etc which worked wonders until the content authors removed all the main dataobjects (testdata). None then could add any new ones due to internal server errors :D
1178: [12:10:00] <lx-berlin> i am happy that the TreeMultiselectField works so nice, but an additional button "select all" would be a nice feature
1179: [12:14:00] * UndefinedOffset quit (Quit: Leaving.)
1180: [12:14:00] * UndefinedOffset has joined #silverstripe
1181: [12:21:00] <r3v3rb> houston we have a problem… well I do!
1182: [12:22:00] <r3v3rb> ->setAttribute('type', 'button') does not set the attribute on a Button when using ->setUseButtonTag(true) to specify a button in the HTML and a type of 'Button'
1183: [12:22:00] <r3v3rb> UseButtonTag just outputs the input tag as a button tag, but then doesn't allow me to add the attribute to the element
1184: [12:25:00] <r3v3rb> any ideas?
1185: [12:26:00] * ajshort quit (Quit: ChatZilla 0.9.90-rdmsoft [XULRunner 18.0.2/20130201065344])
1186: [12:28:00] * micmania1 has joined #silverstripe
1187: [12:29:00] <micmania1> I want to submit a pull request to Silverstripe but I'm not sure which branch I should select as the base. Can anybody help?
1188: [12:31:00] <r3v3rb> oki, this http://api.silverstripe.org/3.0/source-class-FormAction.html#79-92 appears to be the problem as it will always set the type if one of two conditions are met and not allow for overridden 'types' on a FormAction
1189: [12:37:00] <r3v3rb> the problem being that a button in a page will get fired if a return key is pressed unless its type is button… sometimes its not necessary to fire the button when the return key is pressed...
1190: [12:44:00] <UndefinedOffset> micmania1 what type of change are you making? new feature? bug fix?
1191: [12:45:00] <micmania1> I'm making a bug fix.
1192: [12:46:00] <micmania1> I've made a branch for the issue here: https://github.com/azuredesign/sapphire/tree/8308-versioned-get-version-bug-fix
1193: [12:47:00] <UndefinedOffset> lol
1194: [12:47:00] <micmania1> I only changed one file model/Versioned.php
1195: [12:47:00] <UndefinedOffset> normally you should submit it to the branch your branch is based off, failing that you can always submit to say 3.0 and chillu can clean up the mess ;)
1196: [12:48:00] <UndefinedOffset> but if you know the branch you made your branch from the pull should go to that branch in the ss repo
1197: [12:48:00] <micmania1> ha! I branched off master. Is that correct or should I have branched off 3.0? (its an issue in 3.0)
1198: [13:02:00] <chillu> UndefinedOffset: Hey! :D
1199: [13:04:00] * jcwacky quit (Quit: jcwacky)
1200: [13:05:00] <micmania1> I've started again & branched off from 3.0. I've made my commit and pushed the branch to my repository.
1201: [13:06:00] <micmania1> https://github.com/azuredesign/sapphire/commit/284c1648b01cce138914054b27ad2165e8b4da21
1202: [13:06:00] <micmania1> I'm a noob at this :)
1203: [13:06:00] <micmania1> This is the commit. It seems something along the way has taken it upon itself to remove a lot of whitespace. Am I okay to send a pull request to the 3.0 branch?
1204: [13:10:00] * r3v3rb quit (Quit: r3v3rb)
1205: [13:11:00] * priithansen has joined #silverstripe
1206: [13:11:00] * priithansen has left #silverstripe
1207: [13:11:00] * Shrike_Finland has joined #silverstripe
1208: [13:26:00] * r3v3rb has joined #silverstripe
1209: [13:48:00] <svandragt> What are people using to integrate google maps? preferably through shortcodes in the content field or a seperate field in the cms
1210: [13:50:00] <onre> where does Translatable module store the information about which page's translated version a certain page is?
1211: [13:52:00] <kinglozzer> micmania: chillu won't accept it like that, with all the whitespace changes
1212: [13:53:00] <kinglozzer> micmania1 *
1213: [13:54:00] <onre> oh, it's the SiteTree_translationgroups table
1214: [14:27:00] <hubertusanton> or can it be in future
1215: [14:27:00] <hubertusanton> on dev/build i get Table File options not changed to ENGINE=InnoDB due to fulltextsearch index for a lot of tables
1216: [14:27:00] <hubertusanton> everything functions normally, is this a [problem?
1217: [14:28:00] * irogue quit ()
1218: [14:31:00] <UndefinedOffset> if you need full text search you have to tell SiteTree to use MyISAM as the engine http://doc.silverstripe.com/framework/en/tutorials/4-site-search
1219: [14:32:00] <UndefinedOffset> i think
1220: [14:32:00] <UndefinedOffset> adding FulltextSearchable::enable() to your _config should (if i remember right) switch the tables over to MyISAM that are being searched by full text search
1221: [14:33:00] * lx-berlin has left #silverstripe
1222: [14:46:00] * Shrike_Finland quit (Quit: Leaving.)
1223: [14:48:00] <svandragt> Any idea why does SiteTree::get_by_link not work for BlogEntries in the SilverStripe blog module?
1224: [14:49:00] <hubertusanton> UndefinedOffset: thanks, yes thats true they changed, now i switched to lucene search due to fact i couldnt seach in defined $db fields
1225: [14:50:00] <hubertusanton> UndefinedOffset: and every dev/build keeps telling not changed to ENGINE=InnoDB due to fulltextsearch index
1226: [14:50:00] <hubertusanton> svandragt: it should work i think
1227: [14:51:00] <hubertusanton> svandragt: blogentries extend pages or not
1228: [14:53:00] <UndefinedOffset> if your not using the indexes of course ;)
1229: [14:53:00] <UndefinedOffset> hubertusanton ah... in that case you need to drop the indexes manually :S
1230: [14:55:00] <svandragt> hubertusanton: yes blogentries extend pages but if I do in my template: loop Page('/blog').Children there are never entries
1231: [15:00:00] <svandragt> Oh well will try again some other time
1232: [15:05:00] * catcher has joined #silverstripe
1233: [15:12:00] <hubertusanton> svandragt: did you try loop ChildrenOf('blog') ?
1234: [15:13:00] * Pigeon is now known as Guest6604
1235: [15:13:00] * Pigeon has joined #silverstripe
1236: [15:15:00] * Guest86507 quit (Ping timeout: 260 seconds)
1237: [15:19:00] * r3v3rb has left #silverstripe
1238: [15:23:00] <hubertusanton> UndefinedOffset: thanks lets do that now, an empty dev/build is better
1239: [15:23:00] * Zauberfisch_ has joined #silverstripe
1240: [15:23:00] <Zauberfisch_> wahts the alternative to 2.4's $BaseHref ?
1241: [15:25:00] <Zauberfisch_> looks like its baseURL
1242: [15:26:00] <Zauberfisch_> and absoluteBaseURL
1243: [15:46:00] <svandragt> <% end_with %>) = 0
1244: [15:46:00] <svandragt> $Count
1245: [15:46:00] <svandragt> hubertusanton: yeah doesn't work either for me (<% with ChildrenOf('blog') %>
1246: [15:49:00] * Shrike_Finland has joined #silverstripe
1247: [15:50:00] * ARNHOE_ quit (Remote host closed the connection)
1248: [15:52:00] * miiihi quit (Ping timeout: 245 seconds)
1249: [16:14:00] * Zauberfisch_ quit (Ping timeout: 255 seconds)
1250: [16:18:00] <hubertusanton> svandragt: is the urlsegment in the cms 'blog' ?
1251: [16:19:00] <hubertusanton> svandragt: this needs to be 'blog'
1252: [16:19:00] <hubertusanton> svandragt: or you can create a custom method in your controller
1253: [16:20:00] <svandragt> hubertusanton: yes, and there is http://site/blog/new-blog-entry-page/
1254: [16:21:00] <svandragt> Means the template variables inside work within the context of ChildrenOf('blog')
1255: [16:21:00] <hubertusanton> svandragt: and what does 'with' do? isnt it loop (in ss3)?
1256: [16:22:00] <svandragt> <% with ChildrenOf('about') %>$Count<% end_with %> results in 4 because i have 4 pages in the about section
1257: [16:22:00] <svandragt> it works with unclecheese's eventcalender to list events; but not with the silverstripe blog module, I guess I will have to fix it.
1258: [16:22:00] <hubertusanton> svandragt: <% loop ChildrenOf('blog') %>$Title<br /><% end_loop %>
1259: [16:23:00] <hubertusanton> svandragt: just try is
1260: [16:23:00] <hubertusanton> svandragt: :)
1261: [16:23:00] <svandragt> is that a working example hubertusanton?
1262: [16:23:00] <svandragt> or theoretical?
1263: [16:23:00] <hubertusanton> svandragt: it works if the blog holder urlsegment \is called 'blog'
1264: [16:23:00] <svandragt> are you sure?
1265: [16:24:00] <hubertusanton> are you is ss2? -> <% control ChildrenOf('blog') %>$Title<br /><% end_control %>
1266: [16:24:00] <hubertusanton> ?flush=1
1267: [16:24:00] <svandragt> I have just created a blogholder at 'blog' and created a blog entry and your example isn't returning any titles :)
1268: [16:24:00] <svandragt> no ss3
1269: [16:25:00] <UndefinedOffset> i wonder if childrenof takes into account showinmenus? because blog entries do not appear in the menu
1270: [16:25:00] <hubertusanton> svandragt: <% loop ChildrenOf('blog') %>$Link<br /><% end_loop %>
1271: [16:26:00] <svandragt> will check UndefinedOffset
1272: [16:26:00] <svandragt> ah that's it
1273: [16:27:00] * eikonos has joined #silverstripe
1274: [16:27:00] <svandragt> thanks hubertusanton UndefinedOffset :) when I hide a regular page it's not listed under ChildrenOf
1275: [16:27:00] * eikonos quit (Changing host)
1276: [16:27:00] * eikonos has joined #silverstripe
1277: [16:27:00] <hubertusanton> svandragt: youre welcome and thanks for UndefinedOffset
1278: [16:28:00] <UndefinedOffset> something like that
1279: [16:28:00] <UndefinedOffset> you may need to do something like <% with $BlogHolder %> <% loop $BlogEntries %>
1280: [16:29:00] <UndefinedOffset> can't remember i usually have a getter :)
1281: [16:29:00] <hubertusanton> thats great if it is
1282: [16:29:00] <UndefinedOffset> nah you'd have to have a getter in your page
1283: [16:29:00] <UndefinedOffset> I can't remember but there is away to use the url segment to get a given page $Page('blog') maybe?
1284: [16:29:00] <hubertusanton> ah ok
1285: [16:29:00] <hubertusanton> is that posible? by classname?
1286: [16:32:00] <priithansen> Is there maybe some attributes or other magic in cms to have addons for textfields like bootstrap has?
1287: [16:32:00] <svandragt> See Breadcrumbs() has a $showhidden but childrenOf doesn't.
1288: [16:35:00] <svandragt> ah UndefinedOffset hubertusanton: <% loop Page('blog').AllChildren %>
1289: [16:35:00] <svandragt> $Title
1290: [16:35:00] <svandragt> <% end_loop %>
1291: [16:37:00] * zfmf has left #silverstripe
1292: [16:39:00] <catcher> Has anyone gotten UploadField working on the front end yet?
1293: [16:43:00] <catcher> Zauberfisch, I see a post from sminnee that it's possible to get it working, do you know how?
1294: [17:01:00] * svandragt quit (Read error: Connection reset by peer)
1295: [17:05:00] * g4b0 quit (Remote host closed the connection)
1296: [17:11:00] <catcher> huh, actually working smoother than I expected.
1297: [17:16:00] * kinglozzer quit (Remote host closed the connection)
1298: [17:16:00] * feejin quit (Remote host closed the connection)
1299: [17:22:00] * azureKnight has joined #silverstripe
1300: [17:31:00] <priithansen> What would be a smart way to get filtering between dates going in modeladmin? Something like that seems so close but http://www.sspaste.com/paste/show/5140b7a4bd23e
1301: [17:34:00] * aaron1245 has joined #silverstripe
1302: [17:34:00] * Nivery has joined #silverstripe
1303: [17:39:00] * Guest6604 quit (Ping timeout: 256 seconds)
1304: [17:40:00] * Pigeon is now known as Guest29947
1305: [17:40:00] * Pigeon has joined #silverstripe
1306: [17:55:00] * waveydave has left #silverstripe
1307: [18:14:00] <FrozenFire> priithansen, I think I've solved that in the past by augmenting the search context with two fields. One is the "after this date" field, and another is "before this date" field
1308: [18:15:00] <FrozenFire> Then I augment the getList to filter it
1309: [18:16:00] <FrozenFire> Yeah
1310: [18:16:00] * gelignite has joined #silverstripe
1311: [18:16:00] <priithansen> FrozenFire: so I should build on this http://doc.silverstripe.org/framework/en/reference/modeladmin#results-customization
1312: [18:17:00] <FrozenFire> Then the filter would be SomeDateField:GreaterThan => AfterField, SomeDateField:LessThan => BeforeField
1313: [18:19:00] <priithansen> Thanks for the info. Was hoping to keep everything together and simple with just a little help from scaffoldSearchFields but oh well
1314: [18:20:00] <FrozenFire> That shit's complicated, unfortunately.
1315: [18:20:00] <FrozenFire> Heh. Not for date range filtering.
1316: [18:21:00] <FrozenFire> I think I spent four or five hours getting it truly *right*
1317: [18:21:00] <FrozenFire> Since MySQL date filtering will also filter by time
1318: [18:22:00] <FrozenFire> So you have to set the AfterField time to be the first second of its day, and the BeforeField to be the last second of its day
1319: [18:22:00] <FrozenFire> Yep. I call is SilverStripe's beaten path.
1320: [18:22:00] <FrozenFire> If you wander off it, there be lions and tigers and bears, Oh My.
1321: [18:22:00] <priithansen> This is the story of me and silverstripe. Everything seems to be so easy until 95% and then a wild bug appears that takes ages
1322: [18:24:00] * simon_w|air has joined #silverstripe
1323: [18:24:00] <priithansen> :) luckily my fields are date only so maybe I don't have to mess with the time
1324: [18:25:00] <FrozenFire> So you need to set the time on the first field to be the first second of the day, and the time on the last field to be the last second of the day.
1325: [18:25:00] <FrozenFire> No, that's my point. You have to mess with time because the time of a "date" field will be arbitrary.
1326: [18:26:00] <FrozenFire> Since all MySQL datetime fields include the time.
1327: [18:26:00] * SightUnseen has joined #silverstripe
1328: [18:26:00] <FrozenFire> That way, you get all of those days inclusively.
1329: [18:26:00] <FrozenFire> Instead of starting at a certain point in time on those given days.
1330: [18:26:00] <Zauberfisch> hmmm, catcher it used to work when I created it
1331: [18:26:00] <FrozenFire> It's unavoidable.
1332: [18:26:00] <Zauberfisch> catcher so I guess it should be possible
1333: [18:26:00] <priithansen> oh damit more timesink
1334: [18:26:00] <Zauberfisch> not sure what the current status on it is
1335: [18:28:00] <catcher> Zauberfisch, I had a dependency on the request, which is just a bad idea. Also, I was using BootstrapForms, which isn't UploadField ready.
1336: [18:29:00] <catcher> working well now, ty
1337: [18:32:00] * kernelhunter92 has joined #silverstripe
1338: [18:32:00] * SightUnseen has left #silverstripe
1339: [18:35:00] <catcher> I need to display a checkboxsetfield in a custom template, and I'm unclear on how to access the Field->FieldHolder->items
1340: [18:43:00] * joelpittet is now known as joelpittet|work
1341: [18:44:00] <FrozenFire> I'm including jQuery from the thirdparty directory in the framework
1342: [18:44:00] * FrozenFire is having a really weird issue
1343: [18:44:00] <FrozenFire> Then I'm including a javascript file out of my theme
1344: [18:44:00] <FrozenFire> When I include that second script, the page blanks
1345: [18:44:00] <FrozenFire> All of the following content goes away.
1346: [18:47:00] <FrozenFire> Did something change in 3.1 recently, in that respect?
1347: [18:49:00] <FrozenFire> https://github.com/silverstripe/sapphire/commit/2f16951634e4ec9e35c240174a27843208bfd589#L1R663
1348: [18:49:00] <FrozenFire> Wonder if it's that
1349: [18:50:00] * ARNHOE has joined #silverstripe
1350: [18:50:00] <FrozenFire> Nope, seems not
1351: [18:52:00] <FrozenFire> Heh. Managed to cause the templating engine to error out
1352: [18:53:00] <FrozenFire> With it second, I get Uncaught SSTemplateParseException: Parse error in template on line 1. Error was: Unexpected problem parsing template
1353: [18:53:00] <FrozenFire> With the jQuery include first, it just blanks the page
1354: [18:53:00] * gelignite quit (Read error: Operation timed out)
1355: [18:53:00] <FrozenFire> <%�require javascript("themes/eteaching/javascript/init/embeddedplayerpage-preview.js") %>
1356: [18:53:00] <FrozenFire> <% require javascript("framework/thirdparty/jquery/jquery.js") %>
1357: [18:56:00] * Bollig|DesignCty has joined #silverstripe
1358: [19:03:00] <simon_w|air> FrozenFire, <% require
1359: [19:04:00] <FrozenFire> ?
1360: [19:05:00] <simon_w|air> You've got <%require
1361: [19:05:00] <FrozenFire> I do not
1362: [19:06:00] <FrozenFire> I think maybe your client is doing something odd for you
1363: [19:06:00] <FrozenFire> I have <% require
1364: [19:06:00] <FrozenFire> I pasted <% require
1365: [19:06:00] <simon_w|air> Then stop pasting inaccurate things
1366: [19:07:00] <simon_w|air> you most certainly did not
1367: [19:07:00] <simon_w|air> http://logs.simon.geek.nz/index.php?date=2013-03-14#7_53_1
1368: [19:08:00] <Shrike_Finland> Hi! Is there a good example how to make "Select from existing dataobjects" on gridfield that has many_many? I'd like to be able to pick up from excisting items to appear in new gridfield.
1369: [19:08:00] * gelignite has joined #silverstripe
1370: [19:08:00] <FrozenFire> Weird... there's a unicode character in there
1371: [19:08:00] <FrozenFire> I haven't a bloody clue how that happened
1372: [19:09:00] <FrozenFire> Shrike_Finland, The GridFieldConfig_RelationEditor should include a GridFieldAddExistingAutocompleter
1373: [19:10:00] <Shrike_Finland> Ah, ok. I saw some examples of it somewhere...
1374: [19:11:00] <FrozenFire> new GridField("MyRelation", "My Relation", $this->MyRelation(), new GridFieldConfig_RelationEditor())
1375: [19:14:00] <FrozenFire> Since I just typed it out by hand.
1376: [19:14:00] <FrozenFire> Hrmm, so there was indeed a unicode character in there
1377: [19:14:00] <FrozenFire> That was really, really weird.
1378: [19:16:00] * lerni has joined #silverstripe
1379: [19:16:00] <priithansen> What would be the most painless way to make some pdf's, wkhtmltopdf?
1380: [19:17:00] <FrozenFire> One cannot have the word "painless" and "pdf" in the same sentence
1381: [19:17:00] <FrozenFire> It just doesn't grok
1382: [19:17:00] <FrozenFire> That sentence makes no grammatical sense.
1383: [19:18:00] <priithansen> well with least amount of pain then :)
1384: [19:19:00] * kernelhunter92 quit (Quit: Leaving)
1385: [19:19:00] <FrozenFire> http://lmgtfy.com/?q=php+pdf
1386: [19:19:00] <priithansen> It's going to be rather controlled input just some dataobject data from modeladmin
1387: [19:20:00] <priithansen> yes there are mpdf, dompdf xhtmlrenderer.java ....
1388: [19:22:00] <priithansen> Ooh theres even couple of wrappers in github readymade for silverstripe
1389: [19:26:00] * ARNHOE quit (Remote host closed the connection)
1390: [19:29:00] * irogue has joined #silverstripe
1391: [19:32:00] <Pyromanik> priithansen, webkit html2pdf
1392: [19:32:00] <Pyromanik> I didn't even read the question, just saw FrozenFire's response.
1393: [19:33:00] <priithansen> Nice thanks, I'll see how far this thing will get me then https://github.com/heyday/silverstripe-wkhtmltopdf
1394: [19:33:00] <Pyromanik> <priithansen> What would be the most painless way to make some pdf's, wkhtmltopdf? <-- yes.
1395: [19:37:00] * DigNZ has joined #silverstripe
1396: [19:38:00] * nickmolhoek has joined #silverstripe
1397: [19:38:00] * nickmolhoek quit (Remote host closed the connection)
1398: [19:38:00] * nickmolhoek has joined #silverstripe
1399: [19:49:00] * FrozenFire is still not sure how he ended up with that unicode character...
1400: [19:50:00] <FrozenFire> Been sitting here trying to recreate that for the past few minutes
1401: [19:55:00] * Stomach has joined #silverstripe
1402: [19:57:00] <FrozenFire> Which was how I noticed. I pasted it in here and he said there was nothing there.
1403: [19:57:00] <FrozenFire> Looked like nothing to simon_w|air
1404: [19:57:00] <FrozenFire> Walked like a space, quacked like a space, but broke SS
1405: [19:57:00] <FrozenFire> No idea
1406: [19:57:00] <Pyromanik> which unicode character?
1407: [19:59:00] <FrozenFire> That's what it looks like in the logs
1408: [19:59:00] <FrozenFire> <%�require
1409: [20:00:00] <FrozenFire> Anyways, not a huge deal
1410: [20:00:00] <FrozenFire> Just wanted to avoid making the same mistake somehow again
1411: [20:00:00] <FrozenFire> Wouldn't be surprised if I accidentally hit my accent key and then something else
1412: [20:00:00] <Kolin> open the file in a hex editor?
1413: [20:00:00] <FrozenFire> I had, but I forgot to get a hex dump
1414: [20:01:00] * tankr has joined #silverstripe
1415: [20:07:00] * simon_w|air has joined #silverstripe
1416: [20:07:00] * simon_w|air quit (Read error: Connection reset by peer)
1417: [20:09:00] <Pyromanik> FrozenFire, I've had rando codes suddenly appear in my editor before
1418: [20:09:00] <FrozenFire> Yeah, that's the weird thing.
1419: [20:09:00] <Stomach> yeah, or any interaction with microsoft word
1420: [20:09:00] <FrozenFire> I didn't paste
1421: [20:09:00] <Pyromanik> I've had rando zero width characters appear before
1422: [20:09:00] <FrozenFire> I literally typed "<% require"
1423: [20:09:00] <FrozenFire> No reason to have pasted
1424: [20:09:00] <Pyromanik> tends to follow copy pastes
1425: [20:10:00] <Pyromanik> never have figured out how, I just figure it's an encoding issue on save or something
1426: [20:10:00] <Pyromanik> that's a real bitch to find
1427: [20:19:00] <Pyromanik> is 1 day out in regards to days of the week
1428: [20:19:00] <Pyromanik> jquery calendar plugin derp
1429: [20:19:00] <Pyromanik> calendar_events
1430: [20:19:00] * Pyromanik suddenly flies off the handle into fullmadrage
1431: [20:20:00] <Pyromanik> today is 14 of March, a Thursday. Calendar is telling me it's Wednesday -.-
1432: [20:20:00] <irogue> on the right year? :P
1433: [20:20:00] <Pyromanik> irogue, yep
1434: [20:20:00] <irogue> had to check ;)
1435: [20:21:00] <Pyromanik> irogue, if it's not, it's not my fault. It's displaying "March 2013" - but knowing the calendar_events module, that don't really mean F all.
1436: [20:21:00] * Pyromanik thinks this is bound to be some kind of UTC JS muddle messup
1437: [20:22:00] <Pyromanik> maybe the config is set to US
1438: [20:22:00] <Pyromanik> nup GB, so still likely UTC issues
1439: [20:22:00] <Pyromanik> possibly*
1440: [20:23:00] * UndefinedOffset quit (Quit: Leaving.)
1441: [20:27:00] * SightUnseen has left #silverstripe
1442: [20:27:00] * SightUnseen has joined #silverstripe
1443: [20:31:00] <Pyromanik> aneurysm o'clock.
1444: [20:36:00] <Pyromanik> it's not even jquery calendar
1445: [20:36:00] <Pyromanik> wtf is this shit?
1446: [20:36:00] * onre quit (Ping timeout: 252 seconds)
1447: [20:37:00] * onre has joined #silverstripe
1448: [20:37:00] * onre is now known as Guest72664
1449: [20:39:00] <Pyromanik> calDaysInMonth: [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31],
1450: [20:39:00] <Pyromanik> wut -.-
1451: [20:40:00] <simon_w|air> Broken!
1452: [20:41:00] <Pyromanik> right, true.
1453: [20:41:00] <tankr> lol
1454: [20:41:00] <Pyromanik> not really broken, just horrible.
1455: [20:41:00] <simon_w|air> Look at the second entry. Now look at last year.
1456: [20:42:00] <Pyromanik> was thinking something like that, but surely I thought it would instantiate on the current Date()
1457: [20:44:00] <Pyromanik> mmm var currentDate = new Date();
1458: [20:46:00] <Pyromanik> surely currentDate.getDay() should suffice? Returns correct in console, implemented since JS 1.0
1459: [20:46:00] <Pyromanik> I bet some derp has tried to figure it programmatically
1460: [20:50:00] <irogue> yeah
1461: [20:50:00] * lerni quit (Remote host closed the connection)
1462: [20:50:00] <irogue> certainly suggests to me that they haven't used any built-in date methods
1463: [20:50:00] <FrozenFire> Are you implementing a calendar using Javascript?
1464: [20:50:00] <irogue> and have implemented it all themselves, forgetting leap years
1465: [20:50:00] <irogue> FrozenFire: is someone else's module
1466: [20:50:00] <irogue> and is bad.
1467: [20:51:00] <FrozenFire> Apparently.
1468: [20:51:00] * lerni has joined #silverstripe
1469: [20:51:00] <Pyromanik> irogue, nah
1470: [20:51:00] <Pyromanik> FrozenFire, no
1471: [20:51:00] <Pyromanik> read up
1472: [20:51:00] <FrozenFire> Nah
1473: [20:51:00] <FrozenFire> :P
1474: [20:51:00] <Pyromanik> EventsCalendar
1475: [20:51:00] <Pyromanik> YES THAT ONE -.-
1476: [20:51:00] <Pyromanik> D:
1477: [20:51:00] <FrozenFire> I'm halfway inclined to make a calendaring module for SS.
1478: [20:52:00] <Pyromanik> anyway I see someone has recently committed to the js
1479: [20:52:00] <Pyromanik> so imma pull see if ezifix
1480: [20:52:00] <Pyromanik> irogue, see? https://github.com/unclecheese/EventCalendar/blob/master/javascript/calendar_widget.js#L34
1481: [20:52:00] * Motoservo quit (Quit: Motoservo)
1482: [20:52:00] <Pyromanik> LOLZ
1483: [20:55:00] * Motoservo has joined #silverstripe
1484: [20:56:00] <Pyromanik> :<
1485: [20:56:00] <tankr> I have a security permission fail - I want to display the page with a message "cannot access blah blah" - how to do this without rendering login form?
1486: [20:56:00] <Pyromanik> hooray, easy fix ONLY NOW THE STYLES ARE BUNGED
1487: [20:57:00] <catcher> Hm. How does one provide a front-end interface for adding to a has_many?
1488: [20:57:00] <Pyromanik> catcher, how so?
1489: [20:57:00] <Pyromanik> tankr, as in have Security/login display "nope" instead of "you can't, wanna try again *form*" ?
1490: [20:58:00] <Pyromanik> catcher, you give them arrays or live fields
1491: [20:58:00] * ARNHOE has joined #silverstripe
1492: [20:58:00] <Pyromanik> tankr, yeh, was going to suggest
1493: [20:58:00] <Pyromanik> and/or LoginForm => nope
1494: [20:58:00] <tankr> actually, guess I can just return array(Content=>nope) or something like that
1495: [20:58:00] <catcher> Pyromanik, my People have_many credentials, and they need to be able to add some more.
1496: [20:59:00] <catcher> Pyromanik, what kind of a field?
1497: [20:59:00] <Pyromanik> I've been told FieldName[] works
1498: [20:59:00] <Pyromanik> although I've personally had no luck with it
1499: [20:59:00] <Pyromanik> whatever field it's supposed to be I guess
1500: [20:59:00] <Pyromanik> repeat your form
1501: [20:59:00] <catcher> <- wishes for front-end gridfield
1502: [20:59:00] * Pyromanik shrugs
1503: [21:01:00] <catcher> simon_w|air, anything to add to what Pyro said?
1504: [21:05:00] * FrozenFire would hate a front-end GridField :P
1505: [21:05:00] * lerni has joined #silverstripe
1506: [21:05:00] * lerni quit (Remote host closed the connection)
1507: [21:06:00] <FrozenFire> But there are better solutions on the front-end
1508: [21:06:00] <FrozenFire> GridField is great in the back-end because it creates simple CRUD interfaces
1509: [21:07:00] <Pyromanik> only easier.
1510: [21:07:00] <Pyromanik> works just like gridfield.
1511: [21:07:00] <Pyromanik> errr, not form, table.
1512: [21:07:00] <Pyromanik> have an add action
1513: [21:07:00] <Pyromanik> catcher, build a form
1514: [21:07:00] <Pyromanik> but even then
1515: [21:07:00] <Pyromanik> trouble comes when you're repeating an entire form.
1516: [21:08:00] <Pyromanik> MyCredsPage/add add a cred
1517: [21:08:00] <Pyromanik> it's fine?
1518: [21:08:00] <Pyromanik> ...
1519: [21:08:00] <Pyromanik> so
1520: [21:08:00] <Pyromanik> grid field makes you fill the form out one at a time
1521: [21:08:00] <Pyromanik> MyCredsPage list all creds
1522: [21:09:00] <Pyromanik> doesn't even need to be a frame
1523: [21:09:00] <catcher> + editing via popup
1524: [21:09:00] <Pyromanik> meh?
1525: [21:09:00] <FrozenFire> Popup would be a frame of the form
1526: [21:09:00] <Pyromanik> load the action into the... yeh
1527: [21:09:00] <Pyromanik> just catch all the events with JS
1528: [21:09:00] <FrozenFire> Not a frame in the technical sense
1529: [21:09:00] <FrozenFire> Just a "frame"
1530: [21:09:00] <FrozenFire> E.g. an overlay
1531: [21:10:00] <catcher> mm, yeah, js..
1532: [21:10:00] <catcher> all free w/ GF! Ah well.
1533: [21:11:00] <FrozenFire> It's a leaky abstraction that just happens to work well in the CMS
1534: [21:11:00] <FrozenFire> GridField is not free. :P
1535: [21:14:00] * ARNHOE quit (Remote host closed the connection)
1536: [21:21:00] * Nivery has left #silverstripe
1537: [21:25:00] * Guits quit (Read error: Connection reset by peer)
1538: [21:25:00] * Martin__ has joined #silverstripe
1539: [21:27:00] * Stomach quit (Quit: Leaving.)
1540: [21:28:00] * eddiemonge has joined #silverstripe
1541: [21:29:00] * Stomach has joined #silverstripe
1542: [21:29:00] <eddiemonge> if i use Requirements::css ... how do i get that to actually output in the template?
1543: [21:32:00] <FrozenFire> Is there a particular reason you're calling it directly in your controller?
1544: [21:32:00] <FrozenFire> E.g. <% require css(path) %>
1545: [21:32:00] <FrozenFire> You can place the requirement in your template
1546: [21:32:00] * lerni quit (Remote host closed the connection)
1547: [21:33:00] <FrozenFire> Or <% require themedCSS(path) %> if you want a themed CSS file
1548: [21:34:00] <eddiemonge> will that work from Layouts?
1549: [21:35:00] <eddiemonge> and will it also concatenate them for live environments?
1550: [21:35:00] * Stomach has left #silverstripe
1551: [21:36:00] * willr has joined #silverstripe
1552: [21:37:00] <catcher> my has_many needs to embed in the middle of another form. 2 Form extensions with custom templates? Or should I not bother extending form on the has_many?
1553: [21:39:00] <FrozenFire> Browsers are weird.
1554: [21:40:00] <FrozenFire> http://afs.clients.mediadevils.com/ versus http://166.78.150.149/
1555: [21:40:00] <FrozenFire> I'm legitimately perplexed.
1556: [21:40:00] <FrozenFire> I have an absolutely minor but layout-breaking CSS difference between development and production
1557: [21:40:00] <FrozenFire> Specifically in Chrome for me. Going to have to try other browsers.
1558: [21:41:00] <FrozenFire> Same shit in FireFox
1559: [21:42:00] <FrozenFire> Hrmm, was letter-spacing
1560: [21:42:00] <FrozenFire> Still doesn't explain why it was different in the same browser between sites
1561: [21:42:00] <eddiemonge> looked the same to me
1562: [21:43:00] <FrozenFire> The menu letter-spacing was ever-so-slightly different
1563: [21:43:00] <FrozenFire> So it caused an overflow
1564: [21:43:00] <FrozenFire> Guess it was somehow interpreting 0.1em differently
1565: [21:43:00] <FrozenFire> Switched it to 1px instead
1566: [21:52:00] * EPIK has joined #silverstripe
1567: [21:52:00] <Pyromanik> FrozenFire, rule of thumb, don't touch letter spacing :P
1568: [21:52:00] <Pyromanik> if you do, use finite units
1569: [21:52:00] <Pyromanik> (as opposed to relative).
1570: [21:53:00] <Pyromanik> firefox and chrome put it to the right
1571: [21:53:00] <Pyromanik> eg odd px width image as background 50%
1572: [21:53:00] <Pyromanik> coz yeah, browsers have different rules around calculating/rounding
1573: [21:53:00] <Pyromanik> opera and IE have it 1px the other side (rounding down)
1574: [22:00:00] <eddiemonge> is there a way to create custom menus like wordpress? like have a main menu and a footer menu?
1575: [22:00:00] <FrozenFire> Same browser. Same exact site.
1576: [22:00:00] <FrozenFire> But that's the weird thing.
1577: [22:00:00] <FrozenFire> Except the domain
1578: [22:00:00] <FrozenFire> Different letter spacing between those two tabs.
1579: [22:00:00] <FrozenFire> And even with finite units... different.
1580: [22:01:00] <FrozenFire> eddiemonge, I put it in the SiteConfig.
1581: [22:01:00] <eddiemonge> FrozenFire: were the sites on the same server? same encodings?
1582: [22:02:00] <FrozenFire> Yes. Everything between the servers *should* be precisely the same.
1583: [22:02:00] <FrozenFire> Well, as precisely the same as could feasibly be affecting the rendering of a page.
1584: [22:02:00] <FrozenFire> E.g. class FooterMenuConfig extends DataExtension { public static $many_many = array( "FooterMenu" => "SiteTree"); public function updateCMSFields(FieldList $fields) { $fields->addFieldToTab("Root.FooterMenu", new TreeMultiDropdownField("FooterMenu", "Footer Menu", "SiteTree")); } }
1585: [22:03:00] <FrozenFire> You apply that extension to SiteConfig
1586: [22:03:00] <FrozenFire> That'll save the footer menu selections from the multi-select dropdown field into the many_many relation FooterMenu
1587: [22:03:00] <FrozenFire> Or rather, for that example, http://api.silverstripe.org/master/class-TreeMultiselectField.html
1588: [22:04:00] * zfmf has joined #silverstripe
1589: [22:04:00] <FrozenFire> And access it using SiteConfig.FooterMenu
1590: [22:04:00] <FrozenFire> Then you can edit it in the Settings admin in the CMS
1591: [22:08:00] * void_j has joined #silverstripe
1592: [22:16:00] <FrozenFire> Am I in a position to? :P
1593: [22:16:00] <ss23> fixing*
1594: [22:16:00] <ss23> FrozenFire: Lots of the tutorials on Silversripe are borked. Are you in the mood for foxing them?
1595: [22:16:00] <ss23> Dunno, are they on git?
1596: [22:17:00] <FrozenFire> Trying to cattle-prod projects out the door
1597: [22:17:00] <FrozenFire> Though not at the moment. Busy, busy, busy. :P
1598: [22:17:00] <ss23> If not, time for you to start campaining!
1599: [22:17:00] <FrozenFire> Possibly.
1600: [22:17:00] <FrozenFire> I'm making this a last 10% day.
1601: [22:18:00] <FrozenFire> https://github.com/silverstripe/sapphire/tree/3.0/docs/en/tutorials
1602: [22:19:00] <tankr> but*
1603: [22:19:00] <tankr> why does $CompanyID work in the template by $Company.ID does not?
1604: [22:20:00] <ss23> Oh I guess I can make a pull request then o/
1605: [22:20:00] <Pyromanik> )
1606: [22:20:00] <Pyromanik> AHAHAHHAHAH (read "recently released", bottom middle column"
1607: [22:20:00] <Pyromanik> http://www.expireddomains.co.nz/
1608: [22:20:00] <FrozenFire> tankr, Maybe a broken overloaded getter?
1609: [22:21:00] * Pyromanik lols
1610: [22:21:00] <ss23> anus.co.nz?
1611: [22:21:00] <ss23> There's two colums for me, no middle one
1612: [22:22:00] <Pyromanik> three columns
1613: [22:22:00] <Pyromanik> column 0, column 1, and column 2
1614: [22:22:00] <Pyromanik> then there are 2
1615: [22:22:00] <Pyromanik> unless you're a computer
1616: [22:22:00] <Pyromanik> recently released is at the bottom of column 1 (column 2 if you're a human).
1617: [22:22:00] <Pyromanik> -.-
1618: [22:22:00] <Pyromanik> the middle one
1619: [22:23:00] <ss23> no, definitly 2 for me
1620: [22:23:00] <simon_w|air> ss23, recently released has two, but it's in the middle column
1621: [22:23:00] <simon_w|air> at the bottom of it
1622: [22:23:00] <tankr> FrozenFire: there is no getter, hmm
1623: [22:24:00] <simon_w|air> tankr, does something with that ID actually exist?
1624: [22:24:00] <ss23> simon_w|air: I still don't understand
1625: [22:24:00] <ss23> Oh
1626: [22:24:00] <ss23> You mean in terms of position, it's in the center of that div?
1627: [22:24:00] <ss23> https://github.com/silverstripe/sapphire/pull/1286 o/
1628: [22:24:00] <catcher> How can I loop through the fields in a checkboxsetfield in a custom template?
1629: [22:25:00] <catcher> i.e. one level below FieldHolder
1630: [22:25:00] <ss23> Sending pull requests like I'm craycray #yolo
1631: [22:25:00] <Pyromanik> ss23, that website has THREE columns of content
1632: [22:26:00] <ss23> Yeah, I see. You suck at explaning shit, Pyromanik
1633: [22:26:00] <ss23> I thought you were meaning the middle column once inside the recently released part
1634: [22:26:00] <Pyromanik> right column has featured domains and a link to the parent company
1635: [22:26:00] <ss23> Oh I see what you mean, Pyromanik
1636: [22:26:00] <Pyromanik> middle has auctions ending soon and recently released
1637: [22:26:00] <Pyromanik> left has pictures with create account.
1638: [22:26:00] <ss23> lol
1639: [22:26:00] <tankr> simon_w|air: bingo. thanks
1640: [22:26:00] <Pyromanik> ss23, you suck at understanding the basics of web layout.
1641: [22:26:00] <ss23> LOL
1642: [22:26:00] * ss23 glares at Pyromanik
1643: [22:26:00] <Pyromanik> well no, there are only 2, obviously.
1644: [22:27:00] * FrozenFire is impressed by ss23's bleeding edge reverse engineering of the SilverStripe platform
1645: [22:27:00] <ss23> A lot of confused students that day, let me tell you
1646: [22:27:00] <irogue> ^_^
1647: [22:27:00] <ss23> FrozenFire: I'll tell you a secret: logs.
1648: [22:27:00] <ss23> irogue once registered invalidname.co.nz since it was an example used for my class at uni and redirected it to gay porn
1649: [22:27:00] <FrozenFire> LOLOL
1650: [22:27:00] <ss23> Bitch I'll have you know I'm a navy seal
1651: [22:27:00] <Pyromanik> hahahhaahhaha
1652: [22:27:00] <ss23> With over 9001 confirmed websites made in Silverstripe
1653: [22:27:00] <Pyromanik> anus diver?
1654: [22:27:00] <ss23> okay
1655: [22:27:00] <ss23> XD
1656: [22:28:00] <ss23> Especially cause according to the fucking kind of idiots who attend uni -- "but it has your name on it, and your address, so obviously it's you who registered it"
1657: [22:28:00] <ss23> YES FAGGOT
1658: [22:28:00] <ss23> Holy shit, that kind of idiocy...
1659: [22:28:00] <ss23> I took so much shit for it
1660: [22:28:00] <ss23> It was fucking retarded
1661: [22:28:00] * FrozenFire wonders why logs are a secret
1662: [22:28:00] <irogue> ss23 got upset cos i registered it in his name
1663: [22:28:00] <irogue> took so much shit
1664: [22:28:00] <irogue> just like the guys in the videos? :P{
1665: [22:29:00] <ss23> That feel when you send a support request asking if X supports Y, and they don't tell you anything about what you asked and just give a biolerplate copy/paste response instead
1666: [22:30:00] <FrozenFire> That's why you never contact tier 1 support
1667: [22:30:00] <FrozenFire> They're not allowed to answer questions
1668: [22:32:00] <simon_w|air> I emailed an australian bus company about their email validation not accepting + in the username. Got "we use a regular expression checker and +?s in emails are not common, therefore it is not covered and validated in our system" back
1669: [22:32:00] <ss23> lol simon_w|air
1670: [22:33:00] <simon_w|air> Google doesn't
1671: [22:33:00] <simon_w|air> can't have a + in your fallback email address
1672: [22:33:00] <irogue> causes me anger
1673: [22:33:00] <irogue> *so* many sites don't allow plus addressing
1674: [22:33:00] <irogue> have to use the gmail location-of-dot trick instead
1675: [22:33:00] <irogue> in order to know who's spamming you
1676: [22:33:00] <irogue> (or a catchall domain, of course)
1677: [22:34:00] <ss23> catchall for me
1678: [22:35:00] <simon_w|air> ss23, didn't even pass the tests. Don't know why I did that :p
1679: [22:35:00] <ss23> simon_w|air: In regards to teh branches, will that effect all branches or what?
1680: [22:35:00] <ss23> What do you mean didn't pass the tests!
1681: [22:35:00] <ss23> The change didn't break anything I swear ;_;
1682: [22:35:00] <ss23> I blame Travis
1683: [22:35:00] <ss23> Travis is a dick
1684: [22:35:00] <ss23> simon_w|air: ++
1685: [22:36:00] <ss23> sweet
1686: [22:36:00] <simon_w|air> ss23, 3.0 is merged into 3.1, is merged into master usually around once a week
1687: [22:36:00] <ss23> Just making sure it wouldn't get lost, simon_w|air
1688: [22:36:00] <ss23> How often is docs.silverstripe rebuilt / updated?
1689: [22:36:00] <simon_w|air> daily
1690: [22:36:00] <ss23> sweeeeet
1691: [22:36:00] <simon_w|air> at the least, sometimes hourly
1692: [22:36:00] <simon_w|air> can never remember :p
1693: [22:37:00] <ss23> yep yep ^.^
1694: [22:37:00] <ss23> Not too fussed
1695: [22:39:00] * azureKnight quit (Ping timeout: 264 seconds)
1696: [22:40:00] * azureKnight has joined #silverstripe
1697: [22:40:00] <simon_w|air> Okay, got the script that converts our database from NZT to UTC done
1698: [22:40:00] <simon_w|air> woo!
1699: [22:40:00] <azureKnight> Ah, I'm back.
1700: [22:41:00] <simon_w|air> stupid DST, ruining the current setup
1701: [22:41:00] <Pyromanik> irogue, hahahahaha
1702: [22:41:00] <simon_w|air> We originally were only in NZ :p
1703: [22:41:00] <ss23> Stupid simon_w|air for not anticipating DST issues :P
1704: [22:41:00] <ss23> Yay
1705: [22:42:00] <Pyromanik> <irogue> ss23 got upset cos i registered it in his name
1706: [22:42:00] <simon_w|air> Is almost as hilarious as me registering s.geek.nz in my name
1707: [22:42:00] <Pyromanik> god tier troll
1708: [22:43:00] <ss23> :O
1709: [22:43:00] <travis-ci> [travis-ci] silverstripe/sapphire#1632 (3.0 - 6931073 : Simon Welsh): The build is still failing.
1710: [22:43:00] * travis-ci has joined #silverstripe
1711: [22:43:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/30c0f82221c4...69310739565a
1712: [22:43:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/5484882
1713: [22:43:00] * travis-ci has left #silverstripe
1714: [22:43:00] <ss23> simon_w|air: Meh, ss23 is shorter than simon... etc
1715: [22:43:00] * simon_w|air got an email and it's all ss23's fault
1716: [22:44:00] <ss23> :<
1717: [22:44:00] <Pyromanik> lawl
1718: [22:44:00] <simon_w|air> Also, in almost every case, works as a drop-in replacement for the simon
1719: [22:44:00] <simon_w|air> And s is shorter than ss23 :p
1720: [22:44:00] <ss23> So is anyone going to fix Travis? Isn't CI useless if it gives build errors all the time?
1721: [22:44:00] <ss23> Train yourself to just ignore them etc
1722: [22:47:00] <simon_w|air> Hmm, burger fuel emailed me about their BBQ burger
1723: [22:47:00] <simon_w|air> maybe I should go get it
1724: [22:48:00] <ss23> simon_w|air: I want burger
1725: [22:48:00] * tractorcow has joined #silverstripe
1726: [22:48:00] <tractorcow> Hey all
1727: [22:48:00] <ss23> :,
1728: [22:49:00] <ss23> No car today.... have to eat food thats here at home :<
1729: [22:50:00] <simon_w|air> ss23, sucks to be you!
1730: [22:52:00] <ss23> Pyromanik: Fatty
1731: [22:52:00] <ss23> simon_w|air: Bring me lunch
1732: [22:52:00] <Pyromanik> I have no car every day
1733: [22:52:00] <irogue> i also have no car today
1734: [22:52:00] <irogue> no more loaner, Pyromanik?
1735: [22:52:00] <ss23> ;__;
1736: [22:53:00] <Pyromanik> irogue, nah, I just walk to work.
1737: [22:54:00] <irogue> quite a walk
1738: [22:54:00] <irogue> have walked home a couple of times
1739: [22:55:00] <Pyromanik> short pier?
1740: [22:55:00] <irogue> http://goo.gl/maps/BvvrQ
1741: [22:55:00] <ss23> long walk
1742: [22:58:00] <irogue> this dog is weird
1743: [22:58:00] <irogue> keeps trying to nom tree
1744: [22:59:00] <irogue> apparently it nommed a habanero plant yesterday
1745: [23:03:00] <Pyromanik> sounds like a walking poo jet
1746: [23:04:00] <simon_w|air> ss23, nah bro
1747: [23:04:00] * eddiemonge quit (Ping timeout: 245 seconds)
1748: [23:05:00] <ss23> simon_w|air: :<
1749: [23:10:00] * peter_ss has joined #silverstripe
1750: [23:10:00] <peter_ss> hello guys how can I call the many many object to my templates?
1751: [23:12:00] <Pyromanik> $ManyManyName
1752: [23:12:00] <Pyromanik> <% loop ^ %>
1753: [23:15:00] * ss23 cracks his knuckles
1754: [23:15:00] <simon_w|air> You put it there
1755: [23:15:00] <ss23> Any behaviour like that?
1756: [23:15:00] <ss23> So about that Silverstripe stuff. Anything that would make an HTMLVarchar in ModelAdmin have a 1 in it without me putting it there?
1757: [23:15:00] <ss23> OKay!
1758: [23:16:00] <simon_w|air> Or have a getter that puts it there
1759: [23:16:00] <ss23> Not that I can think of. Let me verify one more time then post some code I guess
1760: [23:17:00] <ss23> Okay, just verified it now. Clicked "New Deal" and it put in a 1 without me doing anything
1761: [23:18:00] <ss23> https://gist.github.com/ss23/5157419 This is my Deal.php. As I said in the comments, it does the same thing with regards to the 1 whether $defaults is commented out or not
1762: [23:19:00] <ss23> Anything there that might cause anything like that?
1763: [23:21:00] <simon_w|air> Doesn't look like it
1764: [23:22:00] <ss23> lol
1765: [23:22:00] <ss23> foff
1766: [23:22:00] <ss23> Hmm, guess I need to do some deeper debugging then. Any way for me to do that? Or does someone wanna take a look for me or what? Since that's all the code I have I'm guessing the issues is somewhere deeper, idk
1767: [23:22:00] <Pyromanik> hack the core
1768: [23:22:00] <irogue> go deep bro
1769: [23:22:00] <Pyromanik> reverse engineer the logs
1770: [23:23:00] <ss23> Pyromanik: What do you mean, sorry?
1771: [23:23:00] <Pyromanik> https://gist.github.com/ss23/5157419
1772: [23:23:00] <Pyromanik> no getCMSFields9)
1773: [23:23:00] <Pyromanik> ()*
1774: [23:23:00] <ss23> Pyromanik: Do I need a getCMSFields?
1775: [23:23:00] <ss23> I don't have one
1776: [23:23:00] <Pyromanik> lol
1777: [23:23:00] <Pyromanik> it would help.
1778: [23:23:00] <Pyromanik> derp
1779: [23:23:00] <Pyromanik> ss23, you showed me defs, but no fields
1780: [23:24:00] <ss23> I have a class DealAdmin extends ModelAdmin
1781: [23:24:00] <azureKnight> When in doubt, getCMSFields.
1782: [23:24:00] <Pyromanik> though not necessary
1783: [23:24:00] <ss23> But it seems to get all the field stuff by default?
1784: [23:25:00] <FrozenFire> Oh, you mean like that.
1785: [23:25:00] <ss23> Okay well, rather than debug, I'm just going to work around it by making $defaults for it be a space
1786: [23:25:00] <FrozenFire> ss23, DataObjects have a default form scaffolding
1787: [23:25:00] <ss23> Seems that if I explicitly define a space, it doesn't put in the 1
1788: [23:25:00] * zfmf has left #silverstripe
1789: [23:25:00] <FrozenFire> Which sucks.
1790: [23:26:00] <FrozenFire> I always define my fields explicitly.
1791: [23:26:00] <ss23> Can't be bothered finding where on earth the 1 comes from
1792: [23:26:00] <Pyromanik> pretty sure if you just define the field manually it won't show
1793: [23:26:00] <Pyromanik> look, 1 line
1794: [23:26:00] <ss23> FrozenFire: It seems to work fine though. Like, if I define it explicitily it'll just be the same as the scafolding
1795: [23:26:00] <FrozenFire> Yeah. Might be a difference between TextField and NumericField
1796: [23:27:00] <FrozenFire> I SAY IT IS
1797: [23:27:00] <Pyromanik> FOR SCIENCE
1798: [23:27:00] <Pyromanik> yes
1799: [23:27:00] <FrozenFire> No.
1800: [23:27:00] <Pyromanik> public function getCMSFields(){return new FieldList(new HTMLEditorField('Description'));}
1801: [23:27:00] <ss23> I would need to do that for every type, right?
1802: [23:27:00] <ss23> Which would be heaps as of them!
1803: [23:27:00] <Pyromanik> ss23, depends on how you go about it
1804: [23:27:00] <FrozenFire> public function getCMSFields() { $fields = new FieldList(new TabSet("Root")); ... return $fields; }
1805: [23:27:00] <ss23> I'll just use the space work around till I can actually find out where the issue is
1806: [23:27:00] <Pyromanik> FrozenFire, not necessary.
1807: [23:27:00] <Pyromanik> FOR TESTING AS I SAID
1808: [23:28:00] <azureKnight> I'm enjoying this little battle FrozenFire , Pyromanik
1809: [23:28:00] <FrozenFire> DON'T WRITE TESTING CODE
1810: [23:28:00] <FrozenFire> WRITE WORKING CODE
1811: [23:28:00] <Pyromanik> ss23, fffffff have to do everything for you
1812: [23:28:00] <Pyromanik> honestly
1813: [23:28:00] <ss23> lol
1814: [23:28:00] <ss23> I can test if you want, sure
1815: [23:28:00] <ss23> I just mean, I cbf writing out them ALL manually
1816: [23:28:00] * ss23 tests
1817: [23:29:00] <Pyromanik> getCMSFields() { $fields = parent::getCMSFields(); /*gets scaffolded stuff*/ $fields->remove/add/modify/dowhatever()'; return $fields; }
1818: [23:29:00] <FrozenFire> Pyromanik and I always battle like this
1819: [23:29:00] <FrozenFire> Because he's lazy and I'm a perfectionist.
1820: [23:29:00] <FrozenFire> :P
1821: [23:29:00] <ss23> Yes, Pyromanik. Doing that works fine too
1822: [23:29:00] <Pyromanik> I don't see the point is writing super complete code for the point of an 'I wonder' experiment.
1823: [23:29:00] <FrozenFire> I hate relying on the default form scaffolding in any way, shape or form.
1824: [23:29:00] <Pyromanik> if I wonder and it works and I like it, I'll expand into proper code FrozenFire.
1825: [23:29:00] <ss23> So the scafolding stuff by default somehow puts in a 1
1826: [23:29:00] <Pyromanik> ss23, MAYBE.
1827: [23:29:00] <FrozenFire> You must be a slow typer.
1828: [23:29:00] <Pyromanik> oh, you tested it already
1829: [23:30:00] <ss23> I do apperciate the help though
1830: [23:30:00] <Pyromanik> ss23, tough love, deal with it.
1831: [23:30:00] <FrozenFire> That's right. I went there.
1832: [23:30:00] <azureKnight> Which is funny, because you both are super helpful to me. I benefit from your genius and differences. :D
1833: [23:30:00] <Pyromanik> eys*
1834: [23:30:00] <Pyromanik> yes*
1835: [23:30:00] <Pyromanik> Variety is the spice of IRC.
1836: [23:30:00] <ss23> Pyromanik is too aggresive in hhis helping
1837: [23:30:00] <FrozenFire> azureKnight, Just always remember, what I say override what he says. :D
1838: [23:30:00] <Pyromanik> then ys, for some reason
1839: [23:30:00] <ss23> We need to get Pyromanik high before he comes on IRC
1840: [23:30:00] <Pyromanik> ss23, only for you <3
1841: [23:30:00] <azureKnight> Hahaha.
1842: [23:30:00] <ss23> Pyromanik: <3
1843: [23:31:00] <azureKnight> I feel more aided than ever aiding.
1844: [23:31:00] <ss23> ff, I think I will have to override getCMSFields
1845: [23:31:00] <Pyromanik> :P
1846: [23:31:00] <ss23> Maybe after this I'll be actualyl able to contribute help here instead of just witty remarks :D
1847: [23:31:00] <azureKnight> Welcome to the club ss23
1848: [23:31:00] <Pyromanik> just like I respect and appreciate FrozenFire's input. Doesn't stop us debating a point though.
1849: [23:32:00] <tractorcow> does anyone else have similar issues?
1850: [23:32:00] <ss23> :<
1851: [23:32:00] <Pyromanik> ss23, witty? more like random.
1852: [23:32:00] * FrozenFire pumps his fist in the air
1853: [23:32:00] * ss23 holds up spork
1854: [23:32:00] <ss23> ^.~
1855: [23:32:00] <Pyromanik> yes, do what we told you.
1856: [23:32:00] * Pyromanik rocks out to rage in his head
1857: [23:32:00] <ss23> XD
1858: [23:32:00] <Pyromanik> ratm that is
1859: [23:32:00] <Pyromanik> also, lunch
1860: [23:32:00] <tractorcow> I've spent all morning tracking down a nasty segfault in 3.1.... seems to come from https://github.com/silverstripe/sapphire/commit/e486574b31f0a3be1c9200593006f61e50311958
1861: [23:32:00] <Pyromanik> have fun
1862: [23:32:00] <ss23> Figured ratm
1863: [23:32:00] * ss23 rocks out to zts on his headphones
1864: [23:32:00] <Pyromanik> nice work tractorcow :)
1865: [23:33:00] <tractorcow> :)
1866: [23:33:00] <FrozenFire> Since it'd try calling $this->cachedResponse->setsetBody($content);
1867: [23:33:00] <ss23> tractorcow: segfaults are normally highly dependant on your PHP version + libraries, so unlikely someone would have the exact same bug I would think
1868: [23:33:00] <tractorcow> I hate debugging segfaults. The logs are like "there's an error, now go find it"
1869: [23:33:00] <FrozenFire> tractorcow, I can't imagine the code before that patch would actually work...
1870: [23:34:00] <FrozenFire> They might give you better insight.
1871: [23:34:00] <tractorcow> still, they are probably both tainted by me, so I'm not unfairly blaming the code
1872: [23:34:00] <ss23> Also, could be a curl bug?
1873: [23:34:00] <ss23> curl had those buffer overflows recently, could've shaken things up[
1874: [23:34:00] <FrozenFire> Yeah, I tend to suspect it's cURL
1875: [23:34:00] <tractorcow> I have the same issue on multiple servers setup with different configurations
1876: [23:34:00] <FrozenFire> Since it's trying to assign to setBody, as opposed to calling it
1877: [23:34:00] <FrozenFire> tractorcow, I'd check your SAPI logs, though
1878: [23:34:00] <ss23> tractorcow: Same PHP versions? Latest PHP in the branch? Lots of segfaults get fixed each version
1879: [23:35:00] <tractorcow> Thanks for the tip too FrozenFire
1880: [23:35:00] <tractorcow> Yeah, I'm about to investigate that now
1881: [23:35:00] * catcher quit (Quit: Leaving)
1882: [23:35:00] <peter_ss> Pyromanik yeah I call the many_many name in my tempalte and loop it but still no luck
1883: [23:37:00] <tractorcow> Is curl a SS server requirement?
1884: [23:37:00] <tractorcow> I don't believe it is,
1885: [23:39:00] <FrozenFire> E.g. accessing remote APIs
1886: [23:39:00] <FrozenFire> Not fundamentally
1887: [23:39:00] <FrozenFire> Though you should have curl nonetheless.
1888: [23:39:00] <FrozenFire> It's intrinsic to a lot of outbound operations in PHP
1889: [23:41:00] * void_j quit (Quit: Page closed)
1890: [23:51:00] * azureKnight quit (Quit: azureKnight)
1891: [23:52:00] * Colin[pi] has joined #silverstripe
1892: [23:54:00] * nickmolhoek quit (Ping timeout: 258 seconds)
1893: [23:56:00] * chillu quit (Quit: chillu)
1894: [23:59:00] * travis-ci has joined #silverstripe
1895: [23:59:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/5486559
1896: [23:59:00] * travis-ci has left #silverstripe
1897: [23:59:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/8b2a911c806f...a2845735b04a
1898: [23:59:00] <travis-ci> [travis-ci] silverstripe/sapphire#1634 (3.1 - a284573 : Hamish Friedlander): The build is still failing.

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