#silverstripe IRC Log

IRC log for 18 April 2013

All timestamps are in UTC.

1: [00:00:00] <MichaelinWelling> I caved and wrote an extra function in the FormField class that allows me to set a required field (defaults to false)
2: [00:01:00] <MichaelinWelling> I doubt it would pass for a pull request but I'm sure if the guys at ss wanted to write it in they would have by now
3: [00:02:00] * novaweb has joined #silverstripe
4: [00:04:00] <novaweb> Can't see it here: http://doc.silverstripe.org/framework/en/reference/image
5: [00:04:00] <novaweb> Greetings fellow stripers. How does one get the Original (not resized) $URL of an image when using <& control Image %>?
6: [00:06:00] <FrozenFire> Just use your existing RequiredFields?
7: [00:06:00] <FrozenFire> MichaelinWelling, foreach($required->Required as $fieldName) $fields->dataFieldByName($fieldName)->setAttribute("required", true);
8: [00:07:00] <novaweb> 3.*
9: [00:07:00] <FrozenFire> Though yeah, I agree, RequiredFields should perform a modification of the FieldList
10: [00:07:00] <FrozenFire> Or at least, have an option to do so automatically
11: [00:07:00] <FrozenFire> novaweb, SS 2.4?
12: [00:07:00] <FrozenFire> Then why are you using control?
13: [00:08:00] <FrozenFire> Also, not sure what your question really is. Image::Link exists
14: [00:08:00] <FrozenFire> Use with or loop
15: [00:08:00] * gelignite quit (Quit: http://bit.ly/nkczDT)
16: [00:08:00] <MichaelinWelling> sorry FrozenFire is $required part of the form or the field?
17: [00:09:00] <MichaelinWelling> oh right
18: [00:09:00] <FrozenFire> $required would be your RequiredFields
19: [00:09:00] <FrozenFire> E.g. $required = new RequiredFields(array("Field1", "Field2", "Field3"));
20: [00:09:00] <MichaelinWelling> gotcha
21: [00:10:00] <novaweb> FrozenFire: because I'm using Shadowbox on the image and need to add rel="shadowbox"
22: [00:11:00] <FrozenFire> What's that got to do with using <% control %>?
23: [00:11:00] <novaweb> http://sspaste.com/paste/show/516f3a2aa9a57
24: [00:11:00] <FrozenFire> In SS3, <% with %> and <% loop %> replace <% control %> for scope change and iteration, respectively.
25: [00:12:00] <FrozenFire> Don't use <% control %> in SS3.
26: [00:12:00] <FrozenFire> Irrespective of your current problem.
27: [00:12:00] <novaweb> I need to reflect the original Image URL in the first $URL variable
28: [00:12:00] <FrozenFire> Yes. First, I'm just trying to clear something up for you.
29: [00:13:00] <FrozenFire> <a rel="shadowbox" href="$MainImage.URL" title="$MainImage.Title">$MainImage.SetHeight(220)</a>
30: [00:14:00] <FrozenFire> Err, classes
31: [00:14:00] <FrozenFire> Or
32: [00:14:00] <FrozenFire> <a rel="shadowbox" href="$MainImage.URL" title="$MainImage.Title"><img class="left" src="$MainImage.SetHeight(220).URL" /></a>
33: [00:14:00] <FrozenFire> If need be
34: [00:14:00] <FrozenFire> Though I hate "left" attributes like that
35: [00:51:00] * jerry_ has joined #silverstripe
36: [00:55:00] <FrozenFire> ModelAdmin, and LeftAndMain that underlies it, are not meant to be exposed to the front-end
37: [00:55:00] <jerry_> is there a way to create menu-item for ModelAdmin page? i.e. instead of showing up on "admin" area, I want non-logged-in users to be able to see it as well
38: [00:55:00] <FrozenFire> It'd be a bad idea to do so
39: [00:56:00] <jerry_> what's the alternative?
40: [00:57:00] <jerry_> for those logged-in users, how do I create a menu-item for ModelAdmin page?
41: [00:58:00] <simon_w> ModelAdmin isn't going to work in the frontend. You need to build your own form instead.
42: [00:58:00] <FrozenFire> It'd be up to you to roll out your own CRUD interface on the front-end
43: [00:59:00] <jerry_> ok
44: [01:01:00] <jerry_> what about adding a menu-item for a page in admin (left column) area? e.g. under the Help menu-item
45: [01:03:00] <jerry_> menu item for normal "Page" type
46: [01:08:00] <ss23> Question
47: [01:08:00] <ss23> http://i.imgur.com/XnE2dFF.png Is that meant to look like that?
48: [01:08:00] <ss23> talking about the date format stuff
49: [01:10:00] * spronk quit (Ping timeout: 264 seconds)
50: [01:12:00] <EasyCo> ss23: Yep
51: [01:13:00] <ss23> Wanna stab them
52: [01:13:00] <irogue> dear god thats fugly
53: [01:13:00] <ss23> Who the hell designed that screen
54: [01:13:00] <EasyCo> You can always just style it yourself?
55: [01:14:00] <irogue> looks like it shouldve been in a hover-over thingee or something
56: [01:14:00] <irogue> ss23: plz patch
57: [01:15:00] <ss23> :D
58: [01:15:00] <ss23> u patch me too lazy.
59: [01:15:00] <ss23> EasyCo: I could also write my own CMS
60: [01:15:00] <EasyCo> I can't wait to try it out then :)
61: [01:16:00] <EasyCo> Yah I'mon3.0
62: [01:16:00] <simon_w> ss23, should look like http://s.geek.nz/p/4t
63: [01:16:00] <ss23> simon_w: 3.0, not 3.1. Assume thats 3.1, since EasyCo said it looked normal?
64: [01:16:00] <simon_w> Nope, demo runs on 3.0
65: [01:16:00] <ss23> Then why does mine and EasyCo's look retarded and not demo?
66: [01:18:00] <EasyCo> I've got 4 different sites on 3.0 and they all look like that
67: [01:18:00] <ss23> ASsume some JS stuff?
68: [01:18:00] <simon_w> 3.1 looks like http://s.geek.nz/p/4u
69: [01:18:00] <ss23> Then why does mine and EasyCo's look retarded and not demo, simon_w?
70: [01:18:00] <ss23> I don't care too much, but it's weird?
71: [01:18:00] <simon_w> Because you broke something?
72: [01:19:00] <ss23> simon_w: Does demo run on the tarball release of 3.0? Because thats what I'm running. Could it have been fixed in a different release that demo is on but not us?
73: [01:19:00] <ss23> simon_w: I would believe that if it was just me, but EasyCo too?
74: [01:19:00] <EasyCo> No console errors and no CSS hidding the date tempaltes
75: [01:19:00] <EasyCo> They're all from here though: http://www.silverstripe.org/assets/releases/SilverStripe-cms-v3.0.5.tar.gz
76: [01:20:00] <simon_w> No idea
77: [01:20:00] <ss23> Yeah, me too
78: [01:20:00] <ss23> simon_w: Do you know who would?
79: [01:21:00] <ss23> fuck
80: [01:21:00] <ss23> Just wanna make sure it's not the server or something I did being retarded
81: [01:21:00] <simon_w> Someone that actually works for SS
82: [01:21:00] * ss23 names
83: [01:21:00] <ss23> dunno why I put /me in front of that
84: [01:21:00] <ss23> Iv'e realised I don't know the nicks of people who work at SS, so this won't work
85: [01:22:00] <simon_w> Sam, Ingo, Sean, Julian, maybe Will
86: [01:22:00] <ss23> I meant nicks :P
87: [01:23:00] <ss23> ty simon_w
88: [01:23:00] * ss23 dies
89: [01:23:00] <ss23> none of them are here
90: [01:23:00] <ss23> ;_:
91: [01:23:00] <simon_w> sminnee, chillu, halkyon, no idea, willr
92: [01:24:00] * mobiusnz quit (Read error: Connection reset by peer)
93: [01:26:00] * jerry_ quit (Ping timeout: 245 seconds)
94: [01:27:00] * mobiusnz has joined #silverstripe
95: [01:35:00] * novaweb quit (Quit: novaweb)
96: [02:02:00] * joelpittet quit (Remote host closed the connection)
97: [02:05:00] * mobiusnz quit (Ping timeout: 245 seconds)
98: [02:07:00] * spronk has joined #silverstripe
99: [02:08:00] * SticksM has joined #silverstripe
100: [02:17:00] <EasyCo> If you do $results - Subject::get(); and then $results->renderWith('AjaxTest');
101: [02:17:00] <EasyCo> What would you be looping over? <% loop results %> ??
102: [02:28:00] <simon_w> $Me
103: [02:30:00] <EasyCo> You beautiful man. Couldn't find that anywhere in the docs
104: [02:33:00] <SticksM> Hi all, I'm using the snippet from http://doc.silverstripe.org/framework/en/reference/grid-field to show a gridfield on the frontend. When clicking the 'Page Name' button to sort the grid by page name i receive a "NetworkError: 404 Not Found - http://domain.com/events-page/AllPages/field/pages"
105: [02:34:00] <SticksM> There's probably something simple I'm missing here. Any ideas why it wouldn't be sorting?
106: [02:41:00] * mobiusnz has joined #silverstripe
107: [02:46:00] <SticksM> Is this just part of the bigger problem where gridfield doesn't really work well on the front end? Or should this sorting work and it's more the editing that's buggered?
108: [03:09:00] <SticksM> Adding the AllPages function to the allowed_actions array looks to work. I think this should be updated on the Docs unless I'm doing it wrong. Can I flag that somewhere?
109: [03:12:00] <simon_w> That's basic $allowed_actions stuff
110: [03:12:00] <simon_w> You need the form method in it for the form to work
111: [03:13:00] <SticksM> Strikes me as odd that it's not in the code snippet though.If it confused me it can confuse others. simon_w
112: [03:14:00] <simon_w> Scroll down to the bottom of the page, click the edit button
113: [03:18:00] <SticksM> Cool. I'm on it.
114: [03:38:00] * MichaelinWelling has left #silverstripe
115: [03:42:00] * aragonne has joined #silverstripe
116: [03:51:00] * guci0 has joined #silverstripe
117: [03:52:00] <aragonne> Hi guys, anyone know what the difference is for adding a FormAction fieldset to a form vs. using Form->setFormAction()?
118: [03:53:00] <simon_w> setFormAction() changes the action="Blah/Form" on the actual form element
119: [03:53:00] <simon_w> adding a FormAction adds one of those buttons, and goes through the normal form process
120: [03:56:00] * unsignedint has joined #silverstripe
121: [03:59:00] * cloph_away has joined #silverstripe
122: [03:59:00] <unsignedint> Hello, is it possible to pass actual objects instead of strings to template includes? Or better yet, get access to the current controller within an include? For example, I have created a template called 'WeatherWidget.ss' that needs to read data out of the session to prepopulate values. I have a method on my controller that returns this data as a DataObject. However, I cant pass the DataObject to my template because it says '
123: [03:59:00] <unsignedint> Injected property x does't have a value or callable value source provided'
124: [03:59:00] <unsignedint> I assume this is because of the caching process
125: [03:59:00] <unsignedint> So, is there a way to get access to the controller inside an include?
126: [03:59:00] * jerry_ has joined #silverstripe
127: [04:00:00] <jerry_> question ... where and how should I use LeftAndMain::ForceReload ?
128: [04:01:00] * cloph_away1 quit (Ping timeout: 276 seconds)
129: [04:02:00] <unsignedint> there isnt a stable version of 3.1 is there
130: [04:02:00] <simon_w> unsignedint, not in 3.0, is in 3.1
131: [04:02:00] <unsignedint> ok
132: [04:02:00] <simon_w> Well, for passing objects in
133: [04:03:00] <unsignedint> also, if you pass in an object, and then the object changes on the next request, will the first request's template get cached?
134: [04:03:00] <simon_w> nope
135: [04:04:00] <simon_w> No
136: [04:04:00] <unsignedint> Okay, thanks for the info
137: [04:04:00] <unsignedint> So theres definitely no way for an include to access the parent scope?
138: [04:05:00] <simon_w> Nope
139: [04:05:00] <unsignedint> or rather, controller of the page including it?
140: [04:05:00] <unsignedint> Ah bugger
141: [04:05:00] <unsignedint> oh well
142: [04:05:00] <simon_w> includes are an entirely new scope stack
143: [04:06:00] <unsignedint> oh right, understood
144: [04:06:00] <unsignedint> I must say, Silverstripes templating engine is extremely limited, im suprised you guys didnt go with Smarty or something
145: [04:09:00] <irogue> should've used Twig tbh
146: [04:12:00] <unsignedint> yeah Twig is good too
147: [04:12:00] <mobiusnz> any idea why I get: [User Error] Uncaught Exception: Object->__call(): the method 'xml_val' does not exist on 'RequiredFields'
148: [04:12:00] <unsignedint> Nope
149: [04:13:00] <simon_w> or a field on it
150: [04:13:00] <unsignedint> are you trying to do something with forms on SS 3.1 beta?
151: [04:13:00] <simon_w> mobiusnz, you're trying to output a validator
152: [04:16:00] <simon_w> <ul>PHPUnit_Framework_Assert::assertEquals(<p><b>Blah</b>'<em>blah</em>'</p>,<p><b>Blah</b><b>blah</b></p>)
153: [04:16:00] <simon_w> Dammit. I do have to step through the line character by character
154: [04:17:00] <simon_w> or I could just redefine the patterns so they don't overlap. That sounds easier.
155: [04:21:00] <mobiusnz> I was just adding RequiredFields('Foo', 'Bar') into my form constructor
156: [04:22:00] <simon_w> What's your form constructor?
157: [04:22:00] <mobiusnz> is that not the way to do it any more?
158: [04:25:00] <mobiusnz> http://www.sspaste.com/paste/show/516f75bf5fd25
159: [04:29:00] <simon_w> Hmm, can you do a ?showtemplate=1 and pastie the template the error's from? (look at the call stack for the name)
160: [04:33:00] <mobiusnz> and the requiredfields were in formactions
161: [04:33:00] <simon_w> That'd do it
162: [04:33:00] <mobiusnz> found it
163: [04:33:00] <mobiusnz> I had my brackets incorrect
164: [04:33:00] <mobiusnz> ah
165: [04:34:00] <mobiusnz> should required fields automatically get a '*'?
166: [04:34:00] <EasyCo> Are controller methods allowed by default? I don't have $allowed_actions in my controller and I can access the methods through the URL no probs.
167: [04:35:00] <simon_w> mobiusnz, nope
168: [04:35:00] <simon_w> EasyCo, 3.0 yes, 3.1 no
169: [04:36:00] <mobiusnz> simon_w: :( then why does the default template (Simple) say * indicates a required field?
170: [04:36:00] <simon_w> Because it's common for people to do that when constructing forms?
171: [04:36:00] <EasyCo> Gotcha, makes more sense to have them denied by default is you have an $allowed_actions property.
172: [04:39:00] * guci0 quit (Ping timeout: 245 seconds)
173: [04:39:00] <simon_w> EasyCo, most people don't realise what they're opening themselves up to with an empty (or no) $allowed_actions, hence the change in 3.1
174: [04:49:00] <simon_w> All controller methods are allowed unless you set something in $allowed_actions
175: [04:49:00] <EasyCo> simon_w: So by default (in 3.0) all controller methods are allowed unless you set a more restrictive permission level in $allowed_actions?
176: [04:50:00] <simon_w> As soon as you have something in there, everything else isn't allowed
177: [04:52:00] <EasyCo> Ah ok! So if you only had one action/method and you didn't want it to be allowed you'd just give it a array('');
178: [04:54:00] <simon_w> Yeah
179: [05:00:00] <EasyCo> According to the 3.1 docs the functionality is the same? http://doc.silverstripe.org/framework/en/3.1/topics/controller
180: [05:00:00] <EasyCo> Unless they jus haven't been fully updated to what you said yet.
181: [05:01:00] <simon_w> http://doc.silverstripe.org/framework/en/3.1/changelogs/3.1.0#deny-url-access-if-controller-allowed-actions-is-undefined-or-empty-array
182: [05:02:00] <EasyCo> Boss.
183: [05:03:00] * EasyCo backs away slowly
184: [05:04:00] <simon_w> Bah, I don't want to write tests for my table syntax
185: [05:06:00] * mobiusnz quit (Quit: Leaving.)
186: [05:08:00] <ss23> Is there any way to specifically allow *all* actions with 3.1?
187: [05:08:00] <ss23> Or do you have to list each method?
188: [05:08:00] <ss23> Wait
189: [05:09:00] * ss23 snuggles simon_w
190: [05:09:00] <ss23> lol
191: [05:09:00] <ss23> mm
192: [05:09:00] <ss23> simon_w: I sometimes feel like you don't get thanked enough for all the help you give here. So, here is me saying, I really do apperciate all the help you give here!
193: [05:09:00] <ss23> kk ty
194: [05:09:00] <simon_w> You have to list each method
195: [05:09:00] <simon_w> It's like we're finally realising whitelists are a heck of a lot safer than blacklists
196: [05:10:00] * nickmolhoek quit (Quit: nickmolhoek)
197: [05:11:00] <simon_w> Luckily there isn't a blacklist, since I'm fairly sure the actionAllowed (or whatever) check is case sensitive
198: [05:12:00] <SticksM> Hi again, my frontend GridField comes up empty when not logged in. Is there a way to make it public as it's basically a sortable, filterable table? (I use the snippet from: http://doc.silverstripe.org/framework/en/reference/grid-field#creating-a-base-gridfield)
199: [05:12:00] <simon_w> Nope, I'm remembering wrong. It does do it case insensitively
200: [05:13:00] <simon_w> SticksM, public function canView() { return true; } in your DataObject
201: [05:13:00] <simon_w> (canView defaults to Permission::checkMember(Member::currentUser(), 'ADMIN'); }
202: [05:13:00] <SticksM> Ah, yes. Thanks simon_w. Damn it, should of thought of that one.
203: [05:14:00] <simon_w> *)
204: [05:14:00] <simon_w> ss23, is also a good way to tell if I can be bothered working or not :p
205: [05:14:00] <SticksM> Cool. Good to know.
206: [05:15:00] <ss23> haha
207: [05:16:00] <simon_w> Yeah, I'm write test cases. Time to check in here more often.
208: [05:18:00] <simon_w> Though I am actually rather pleased with my basic markup parser
209: [05:19:00] <simon_w> But I've got to write user-level documentation on the syntax sometime :(
210: [05:23:00] <ooboo> does anyone know whats up with SS3's site reports docs? http://doc.silverstripe.org/framework/en/reference/site-reports
211: [05:23:00] <ooboo> hello
212: [05:23:00] * ooboo has joined #silverstripe
213: [05:24:00] <ooboo> the steps it provides don't seem to do anything
214: [05:25:00] <ooboo> the class SideReport doesn't seem to exist anywhere in SS3...
215: [05:27:00] <simon_w> That's because it doesn't
216: [05:29:00] * robert__ has joined #silverstripe
217: [05:29:00] <ooboo> yeah, i guess i need to extend SS_Report?
218: [05:32:00] <simon_w> yup
219: [05:36:00] <ooboo> simon_w: where would i setup the columns for the export to csv functionaliy for a report? right now it just returns a csv file with the ID column
220: [05:38:00] <simon_w> ooboo, either, summary fields on the DO, or setExportColumns() on the GridFieldExportButton in getReportField() in you SS_Report subclass
221: [05:40:00] <ooboo> simon_w: cool, thanks. is there a way to make SS_Report's columns() function use the DO's summary_fields?
222: [05:40:00] <ooboo> i want to combine a couple of fields (address, state, city, etc..) into one column
223: [05:41:00] * unsignedint quit (Remote host closed the connection)
224: [05:42:00] * ooboo quit (Quit: Page closed)
225: [05:42:00] <simon_w> return singleton('DataObject')->summaryFields()
226: [05:48:00] * Shrike_Finland has joined #silverstripe
227: [06:12:00] <EasyCo> I'm a bit confused. I've got a custom $url_handlers and it looks fine when I debug with debug_request=1. However when I do $this->getURLParams() in my controller method it returns the default fields Action, ID, otherId...
228: [06:16:00] <EasyCo> Nevermind, $this->request->params() seems to be the solution.
229: [06:23:00] * zfmf has joined #silverstripe
230: [06:31:00] * dendeffe has joined #silverstripe
231: [06:47:00] * ARNHOE has joined #silverstripe
232: [06:51:00] * unsignedint has joined #silverstripe
233: [06:52:00] * Zauberfisch has joined #silverstripe
234: [06:55:00] * SightUnseen1 has joined #silverstripe
235: [06:55:00] * guci0 has joined #silverstripe
236: [06:55:00] * SightUnseen1 has left #silverstripe
237: [06:56:00] * unsignedint quit (Ping timeout: 248 seconds)
238: [06:56:00] <guci0> Hello Moto!
239: [07:02:00] * guci0 quit (Ping timeout: 245 seconds)
240: [07:02:00] * dendeffe quit (Read error: Connection reset by peer)
241: [07:04:00] * EasyCo quit (Quit: EasyCo)
242: [07:09:00] * priithansen has joined #silverstripe
243: [07:21:00] * ferge has joined #silverstripe
244: [07:22:00] * ferge quit (Remote host closed the connection)
245: [07:28:00] * ferge has joined #silverstripe
246: [07:44:00] * SticksM quit (Read error: Connection reset by peer)
247: [07:49:00] * osterlaus has joined #silverstripe
248: [07:49:00] * Liquide quit ()
249: [08:17:00] * kinglozzer has joined #silverstripe
250: [08:23:00] * chillu has joined #silverstripe
251: [08:26:00] * waveydave has joined #silverstripe
252: [08:34:00] <svandragt1> My very simple dataextension is not taking effect, does anyone know why as I am not getting feedback from the CMS (http://www.sspaste.com/paste/show/516fafde0d8f0) thanks in advance, I have used searches but no luck.
253: [08:36:00] * svandragt1 is now known as svandragt
254: [08:38:00] * funkygibbon has joined #silverstripe
255: [08:41:00] * qlex1 has joined #silverstripe
256: [08:41:00] <qlex1> i managed to get the ss3.0.5 be installed on this hosting that i struggled with yesterday
257: [08:41:00] <qlex1> a new smaller (i hope!) thing showed up...
258: [08:41:00] * qlex1 says hi
259: [08:42:00] <qlex1> so, when opening http://serwer1348075.home.pl/ptap/ and going to "kontakt", im getting a URL:
260: [08:42:00] <qlex1> this addition of index.php causes CSS to remove
261: [08:42:00] <qlex1> http://serwer1348075.home.pl/ptap/index.php/kontakt/ instead of http://serwer1348075.home.pl/ptap/kontakt/
262: [08:42:00] <qlex1> for some reason, in the created URL /index.php/ adds itself
263: [08:45:00] <Zauberfisch> chillu why is sam no longer joining IRC? :/
264: [08:46:00] <Zauberfisch> :(
265: [08:46:00] * travis-ci has joined #silverstripe
266: [08:46:00] <travis-ci> [travis-ci] silverstripe/sapphire#2024 (3.0 - e13ce9b : Will Rossiter): The build passed.
267: [08:46:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/9a17e3494fa3...e13ce9b98fbe
268: [08:46:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/6436209
269: [08:46:00] * travis-ci has left #silverstripe
270: [08:46:00] <chillu> Your best shot at getting a response is the mailinglist, and it its really something he needs to look at personally, write him to sam at ss com
271: [08:46:00] <chillu> Because he's busy? :)
272: [08:47:00] <svandragt> qlex1: make sure you have .htaccess file in your silverstripe installation folder and that your apache webserver is picking it up. search google for ".htaccess not taking effect"
273: [08:47:00] <Zauberfisch> but it's to early for mailing list
274: [08:47:00] <Zauberfisch> and stig is not writing back on skype :/
275: [08:47:00] <Zauberfisch> I need someone to talk about gridfield
276: [08:48:00] <chillu> Why too early for mailinglist? It sounds like you're putting artificial bottlenecks in place here.
277: [08:48:00] <chillu> Posting an idea to the mailinglist doesn't mean it needs to be 100% fleshed out, or that you'd commit to actually implementing it
278: [08:49:00] <Zauberfisch> I don't have it all figured out yet, I need someone to have a conversation with me to brainstorm over it
279: [08:52:00] * unsignedint has joined #silverstripe
280: [08:52:00] * aragonne quit (Quit: aragonne)
281: [08:52:00] <qlex1> in ss dir, so ptap subfolder
282: [08:52:00] <qlex1> its here
283: [08:52:00] <qlex1> svandrgt: if my ss installation is in subdir (ptap), should the htaccess be in that ptap or in / (root) ?
284: [08:53:00] <qlex1> an another quiestion, if we want the HomePage type to be the /home main, starting page
285: [08:53:00] <qlex1> is it enough to give it /home/ in the URL section of page ?
286: [08:54:00] * EasyCo has joined #silverstripe
287: [08:54:00] * EasyCo quit (Client Quit)
288: [08:55:00] <svandragt> qlex1: that's correct (htaccess). Just edit the home page, change to settings and change the pagetype from Page to HomePage
289: [08:56:00] * unsignedint quit (Ping timeout: 245 seconds)
290: [08:57:00] * Jedateach has joined #silverstripe
291: [08:57:00] <Jedateach> anyone know how to use Table aliases for filtering in ss3 data queries?
292: [08:59:00] <Jedateach> eg via $set->innerJoin('OtherObj','ThisObj.ID = AliasObj.ThisID','AliasObj')
293: [09:01:00] <svandragt> Jedateach: read this? http://www.silverstripe.org/customising-the-cms/show/13252
294: [09:02:00] <Jedateach> thanks svandragt
295: [09:02:00] * osterlaus quit (Quit: Leaving.)
296: [09:02:00] * gelignite has joined #silverstripe
297: [09:02:00] * simon_w|air quit (Quit: Leaving)
298: [09:03:00] * simon_w|air has joined #silverstripe
299: [09:03:00] <svandragt> Jedateach: i went to my search http://silversearch.vandragt.com/ and searched for table alias if that helps, I haven't had to do what you're asking :)
300: [09:03:00] <Jedateach> svandragt: however, that is for 2.4 . I'm trying to do similar in ss3.
301: [09:04:00] <svandragt> Jedateach: if you open SqlQuery.php and look at the innerjoin method though there's now an alias parameter: public function innerjoin($table, $onPredicate, $tableAlias = null, $order = 20) {
302: [09:04:00] <Jedateach> yes, as in my first example
303: [09:07:00] <Jedateach> the problem is that my join isn't showing up in the SQL
304: [09:09:00] <Jedateach> yep
305: [09:09:00] <Jedateach> 3.1
306: [09:09:00] <simon_w|air> And you're doing $set = $set->innerJoin?
307: [09:09:00] <qlex1> one step further:
308: [09:09:00] <simon_w|air> Jedateach, 3.1 or 3.0?
309: [09:10:00] <simon_w|air> And what class is $set?
310: [09:10:00] <qlex1> http://www.pt-ap.pl opens incorretly, but if i load http://www.pt-ap.pl/main it opens ok
311: [09:10:00] * lx-berlin_ has joined #silverstripe
312: [09:11:00] <Jedateach> simon_w|air: I've just noticed it makes a differece if I chain directly to my DataList::create("Class")->innerJoin(...)
313: [09:11:00] <simon_w|air> That makes it sound like you're not doing the assignment
314: [09:16:00] <Jedateach> $x = DataList::create("Class")->innerJoin(???); //this works
315: [09:16:00] <Jedateach> $x = DataList::create("Class");
316: [09:16:00] <Jedateach> hmm
317: [09:17:00] <simon_w|air> DataList is immutable
318: [09:17:00] <Jedateach> $x->innerJoin(???); //this doesn't work
319: [09:17:00] <simon_w|air> Yeah, you need to do $x = $x->innerJoin()
320: [09:18:00] <Jedateach> I see
321: [09:18:00] <Jedateach> thanks :)
322: [09:29:00] <Jedateach> has the way routes work changed in 3.1?
323: [09:30:00] <simon_w|air> Well, you should stick them in a yaml file
324: [09:30:00] <simon_w|air> But that's the same of 3.0
325: [09:31:00] <simon_w|air> Oh, the thing that's changed is the iffy way that actions used to be handle is now more definite
326: [09:31:00] <simon_w|air> you probably want blah//$Action/$ID/$OtherID
327: [09:31:00] <Jedateach> hmm, so the same afaik
328: [09:32:00] <Jedateach> my rule: 'shoppingcart/$Action/$Buyable/$ID' : 'ShoppingCart_Controller'
329: [09:32:00] <Jedateach> is giving me 404: page not found
330: [09:32:00] <simon_w|air> Yeah, you want shoppingcart//
331: [09:33:00] <simon_w|air> or, just shoppingcart and then a $url_handler = [ '$Action/$Buyable/$ID' => 'handleAction' ] on the controller
332: [09:36:00] <Jedateach> cheers simon_w|air!
333: [09:43:00] * Pyromanik__ has joined #silverstripe
334: [09:44:00] <Jedateach> simon_w|air: another issue I have is needing to add a join for a has_many relation, so that I can access subclass data
335: [09:45:00] <Jedateach> Order has_many OrderItem , but to get ProductOrderItem, I had to innerJoin it to $order->Items()
336: [09:45:00] <Jedateach> ???which isn't ss2.4 behaviour
337: [09:51:00] * ferge1 has joined #silverstripe
338: [09:53:00] <jcwacky> Is there an easy way to give a GridField a maximum number of allowed records?
339: [09:53:00] * jcwacky has joined #silverstripe
340: [09:55:00] * ferge quit (Ping timeout: 252 seconds)
341: [09:56:00] * ajshort has joined #silverstripe
342: [09:58:00] <svandragt> jcwacky: set GridFieldPaginator's setItemsPerPage($num)
343: [09:59:00] <svandragt> $config = GridFieldConfig_RecordViewer::create(); $config->getComponentByType('GridFieldPaginator')->setItemsPerPage(999);
344: [09:59:00] <jcwacky> I want to actually limit the number of records that can be added, as opposed to changing how many are displayed per page.
345: [10:03:00] <simon_w|air> public function canCreate() { return static::get()->Count() < MaxNumber; }
346: [10:03:00] <Pyromanik__> jcwacky: not really.
347: [10:03:00] <Pyromanik__> but that doesn't stop the add button from appearing.
348: [10:03:00] <Pyromanik__> you could check to see the number of existing items in the item's onbeforewrite
349: [10:04:00] <Pyromanik__> really?
350: [10:04:00] * ARNHOE quit (Remote host closed the connection)
351: [10:04:00] <Pyromanik__> afaik
352: [10:04:00] <Pyromanik__> yeh, what simon_w said.
353: [10:04:00] <Pyromanik__> I mean cancreate, not onbeforewrite :<
354: [10:04:00] <Pyromanik__> but I still don't think that stops the add button from rendering
355: [10:04:00] <simon_w|air> It should
356: [10:05:00] <Pyromanik__> that's cool, I was not aware.
357: [10:05:00] <Pyromanik__> however it relies on a specific number of items, not items per parent, etc.
358: [10:05:00] <simon_w|air> if(!$singleton->canCreate()) return array();
359: [10:06:00] <Pyromanik__> that way people can reorder instead of unlink (and forever lose the record in the dangling soup
360: [10:06:00] <Pyromanik__> I tend to just go for "make as many as you want, but the template $ManyVar.Limit(3) haha"
361: [10:06:00] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
362: [10:14:00] * lx-berlin_ quit (Ping timeout: 245 seconds)
363: [10:21:00] <jcwacky> Ah! Of course! Thanks!
364: [10:26:00] * lx-berlin_ has joined #silverstripe
365: [10:26:00] <priithansen> How is it tahat members -> LastVisited SS_DateTime field obeys date and time formatting set in users profile but when I show Created in modeladmin it's not. Can't see anything special in Members.php being done with Lastvisited field either.
366: [10:30:00] * gelignite quit (Ping timeout: 264 seconds)
367: [10:37:00] <Pyromanik__> no idea
368: [10:38:00] <Pyromanik__> if it's set or scaffolded
369: [10:38:00] <Pyromanik__> could be to do with the setting on the summary field used by modeladmin
370: [10:41:00] * Pyromanik__ has left #silverstripe
371: [10:48:00] * qlex1 has left #silverstripe
372: [10:48:00] * qlex1 says thanx for suggestions and says seeya
373: [10:52:00] <priithansen> does not work in literalfield either :S
374: [11:00:00] * Shrike_Finland quit (Read error: Operation timed out)
375: [11:01:00] <kinglozzer> chillu: I'd love to write some tests for my pull request but I've no idea how. Never written one before, don't even have PHPUnit installed
376: [11:02:00] <chillu> kinglozzer: which PR? I assume you know where to find the testing docs?
377: [11:02:00] <kinglozzer> Doesn't seem like the easiest sort of test to get started on, either :P
378: [11:03:00] <kinglozzer> chillu: https://github.com/silverstripe/sapphire/pull/1770. Yeah I can find them, just don't know what I'd be testing for and whether I'll have enough time any time soon!
379: [11:04:00] <kinglozzer> I'll try to fit it in if I can
380: [11:05:00] <chillu> ClassManifestTest should give you enough hints. You just need to add a module foder with the _config/ dir but no _config.php in fixtures/classmanifest
381: [11:07:00] <kinglozzer> chillu: Yeah I was just looking at the docs, will definitely use composer
382: [11:07:00] <chillu> If you don't have phpunit yet, it might be easier to get it running throuch composer than through pear I found. You'll have to run it as vendor/bin/phpunit then though.
383: [11:07:00] <kinglozzer> chillu: I did have a brief look at that test earlier. So I'd update testGetModules() to add a test for the folrer?
384: [11:07:00] <chillu> Pear is still a mess, although with recent updates its getting less painful (not as bad as PHPUnit 3.4 to 3.5 upgrade)
385: [11:09:00] <chillu> Yep, and add a new test for getConfigDirs()
386: [11:09:00] <kinglozzer> chillu: Should I actually add that method to SS_ClassManifest as well? :P. I didn't add it originally, didn't think it'd be much use for anyone
387: [11:10:00] <chillu> Oh sorry, I thought you had that already. Nah all good, no need for a public api
388: [11:10:00] * SightUnseen has joined #silverstripe
389: [11:11:00] <kinglozzer> chillu: Okay thanks. Doesn't seem like it'll be too hard on reflection. Will let you know how I get on (and ask how I can squash commits, because I can never remember). Thanks for the help
390: [11:14:00] <kinglozzer> General question: What sort of page load time would you expect on a 2.4 home page, with around 5 different types of DataObject, a couple of forms. A site we've been asked to look at is taking around 2 seconds to load, is that unusually poor?
391: [11:15:00] * SightUnseen2 has joined #silverstripe
392: [11:15:00] * SightUnseen quit (Read error: Connection reset by peer)
393: [11:26:00] <kinglozzer> packagist.org is down D:
394: [11:29:00] * feejin has joined #silverstripe
395: [11:47:00] * Jedateach quit (Quit: Jedateach)
396: [11:47:00] * DesignerX has joined #silverstripe
397: [11:55:00] <svandragt> back up
398: [11:56:00] * SightUnseen has joined #silverstripe
399: [12:00:00] * SightUnseen quit (Ping timeout: 248 seconds)
400: [12:09:00] * UndefinedOffset has joined #silverstripe
401: [12:11:00] * ARNHOE has joined #silverstripe
402: [12:21:00] * ARNHOE quit (Remote host closed the connection)
403: [12:22:00] * feejin quit (Remote host closed the connection)
404: [12:24:00] <kinglozzer> chillu: Should I also add my test to NamespacedClassManifestTest?
405: [12:24:00] <chillu> Yep :)
406: [12:31:00] * MikeT|2 has joined #silverstripe
407: [12:32:00] <kinglozzer> chillu: Git doesn't seem to like empty folders :/
408: [12:32:00] <kinglozzer> Should I add a .gitignore so it's detected, or something else?
409: [12:33:00] <MikeT|2> Hi All ... Have just installed SS v3.0.5 and am wondering where I can download some themes from?
410: [12:33:00] <MikeT|2> Have looked on http://www.silverstripe.org/themes/ but they all seem to be for older version?
411: [12:35:00] <svandragt> kinglozzer: .gitgnore or any other empty file
412: [12:36:00] <kinglozzer> svandragt: Yeah I'm going for an empty .txt file, like the filesystem tests use :)
413: [12:47:00] * lx-berlin_ quit (Ping timeout: 252 seconds)
414: [12:48:00] <kinglozzer> So chillu, how do I squash commits? :P
415: [12:49:00] <chillu> git rebase -i
416: [12:49:00] <chillu> and read our contribution docs
417: [12:50:00] <MikeT|2> I'll take that as a no then :-)
418: [12:51:00] * MikeT|2 quit (Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/)
419: [12:54:00] * unsignedint has joined #silverstripe
420: [12:59:00] * unsignedint quit (Ping timeout: 276 seconds)
421: [13:03:00] <kinglozzer> Damnit. chillu I goofed it up https://github.com/silverstripe/sapphire/pull/1770/commits :(
422: [13:03:00] <kinglozzer> Followed the instructions >.<
423: [13:05:00] * ARNHOE has joined #silverstripe
424: [13:08:00] <kinglozzer> Zauberfisch: Yeah. Added another commit, did git rebase -i to squash them
425: [13:08:00] <Zauberfisch> kinglozzer you tryed add changes to an already done commit?
426: [13:08:00] <kinglozzer> Pushed and they're appearing as two commits :/
427: [13:10:00] * qlex1 says hi again
428: [13:10:00] * qlex1 has joined #silverstripe
429: [13:10:00] <qlex1> does any1 know why home page is being created everytime i do dev/build ?
430: [13:11:00] <qlex1> as home page we have created a custom page and set it url as /home/
431: [13:11:00] <kinglozzer> Aha! Fixed it :)
432: [13:11:00] <qlex1> but everytime i rebuild db, i can see a new one being created
433: [13:12:00] <Zauberfisch> ohai oskarholo
434: [13:12:00] * ss23 has joined #silverstripe
435: [13:12:00] <oskarholo> hi zauberfisch
436: [13:12:00] <kinglozzer> qlex1: I think it's because it's added in SiteTree->requireDefaultRecords()
437: [13:12:00] <Zauberfisch> -7
438: [13:12:00] * ss23 quit (Ping timeout: 245 seconds)
439: [13:12:00] * oskarholo has joined #silverstripe
440: [13:12:00] <Zauberfisch> qlex1 do you have multiple languages on your website?7
441: [13:13:00] <Zauberfisch> yes requireDefaultRecords does that, the question is why. one of the possible reasons is a translateable filter that alters the sql
442: [13:13:00] * UncleCheese has joined #silverstripe
443: [13:13:00] <Zauberfisch> or basicly anything that alters the queryies
444: [13:13:00] <Zauberfisch> qlex1 ss23, ss24 or ss3?
445: [13:16:00] <qlex1> the problem i had before with .htaccess not being picked up is described here:
446: [13:16:00] <qlex1> http://www.silverstripe.org/installing-silverstripe/show/15192
447: [13:16:00] <qlex1> 3.0.5
448: [13:16:00] <Zauberfisch> qlex1 running translateable or subsites?
449: [13:17:00] <qlex1> none of those installed
450: [13:17:00] <Zauberfisch> possible but unlikely
451: [13:17:00] <qlex1> Zauberfisch: nope
452: [13:17:00] <qlex1> could that be linked to that new problem of home page being created ?
453: [13:17:00] <qlex1> basically the hosting company does not you apache and thus treat .htaccess differently
454: [13:17:00] <Zauberfisch> qlex1 what is the url segment of newly created home pages?
455: [13:17:00] <qlex1> good that the golive on that hosting is scheduled for monday/tuesday
456: [13:17:00] <qlex1> its driving me nuts
457: [13:18:00] <qlex1> maybe we should have left the original home page and just cahnged it behaviour to HomePage
458: [13:18:00] <Zauberfisch> s/hume/home
459: [13:18:00] <Zauberfisch> qlex1 is the url segment in DB actually /home/ or just hume?
460: [13:18:00] <qlex1> we created that page and gave it /home/ url segment
461: [13:19:00] <svandragt> qlex1: take the homepage that is being created and change it's pagetype in the settings tab rather than create your own new page
462: [13:22:00] <qlex1> trying it now
463: [13:22:00] * hubertusant has joined #silverstripe
464: [13:23:00] * kinglozzer quit (Remote host closed the connection)
465: [13:25:00] * Kapdap has joined #silverstripe
466: [13:25:00] * Kapdap quit (Ping timeout: 276 seconds)
467: [13:26:00] * kinglozzer has joined #silverstripe
468: [13:30:00] <chillu> simon_w: You destroyer of dreams *shakes fist* ;)
469: [13:30:00] <qlex1> ok, didnt create a new homepage after dev/build
470: [13:31:00] * SightUnseen has joined #silverstripe
471: [13:31:00] <Zauberfisch> poor you
472: [13:31:00] <Zauberfisch> chillu haha :D
473: [13:36:00] * SightUnseen quit (Ping timeout: 264 seconds)
474: [13:37:00] * qlex1 has left #silverstripe
475: [13:38:00] * geust has joined #silverstripe
476: [13:39:00] <geust> isnt working
477: [13:39:00] <geust> how do i create a one translation _t value for multiple templates? --> $lang['nl_NL']['Page']['VISIT'] = 'Bezoek ';
478: [13:39:00] <geust> but will also be used for Layout/Page.ss on buttons
479: [13:39:00] <geust> it is used for Navigation.ss and Footer.ss
480: [13:41:00] * ajshort quit (Quit: ChatZilla 0.9.90-rdmsoft [XULRunner 18.0.2/20130201065344])
481: [13:42:00] <Zauberfisch> is your lang file loaded?
482: [13:42:00] <Zauberfisch> have you flushed?
483: [13:42:00] <geust> $lang['nl_NL']['Page']['VISIT'] = 'Bezoek ';
484: [13:42:00] <Zauberfisch> have you set the correct local?
485: [13:42:00] <Zauberfisch> how do you use it in template?
486: [13:42:00] <Zauberfisch> geust uhm, that should work
487: [13:43:00] <Zauberfisch> ?
488: [13:43:00] <geust> yeah all the other _t value's are working
489: [13:43:00] <geust> in the same fiel
490: [13:43:00] <Zauberfisch> Oo
491: [13:43:00] <geust> Or do i need to use Page.ss
492: [13:44:00] <geust> no :P
493: [13:44:00] <Zauberfisch> <% _t('Page.VISIT','Visit') %>
494: [13:44:00] <Zauberfisch> really?
495: [13:44:00] <geust> $lang['nl_NL']['Page.ss']['VISIT'] = 'Bezoek ';
496: [13:44:00] <Zauberfisch> yeah
497: [13:44:00] <geust> <% _t('VISIT','Visit') %> innovativecycling.com
498: [13:44:00] <geust> both aren't working
499: [13:44:00] <Zauberfisch> how do you use it in template?
500: [13:44:00] <Zauberfisch> thats template
501: [13:47:00] <geust> thx zaub, it works! :)
502: [13:50:00] * travis-ci has joined #silverstripe
503: [13:50:00] <travis-ci> [travis-ci] chillu/sapphire#125 (experiments/datetime-1373 - d2512d0 : a2nt): The build failed.
504: [13:50:00] <travis-ci> [travis-ci] Change view : https://github.com/chillu/sapphire/compare/17bd8733d0a5^...d2512d04e83d
505: [13:50:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/chillu/sapphire/builds/6444906
506: [13:50:00] * travis-ci has left #silverstripe
507: [13:50:00] * UncleCheese quit (Quit: UncleCheese)
508: [13:50:00] * osterlaus has joined #silverstripe
509: [13:55:00] * osterlaus quit (Client Quit)
510: [14:00:00] * dangerdan has joined #silverstripe
511: [14:02:00] <dangerdan> however if the template simply says hello within html tags, the message arrives in my inbox
512: [14:02:00] <dangerdan> Trying to set up emails for my SS site, but whenever i use a template, along with variables and the populateTemplate method, the email always ends up in junk
513: [14:04:00] * Nivery has joined #silverstripe
514: [14:15:00] <Zauberfisch> dangerdan does your template include viagra advertisement?
515: [14:17:00] <dangerdan> yes
516: [14:18:00] <dangerdan> I had an <a> tag in that i think was what was causing outlook to send it to junk
517: [14:32:00] * hubertusant quit (Remote host closed the connection)
518: [14:34:00] * ivoba has joined #silverstripe
519: [14:39:00] <travis-ci> [travis-ci] chillu/sapphire#126 (pulls/composer-require-docs - f86ca42 : Ingo Schommer): The build passed.
520: [14:39:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/chillu/sapphire/builds/6446121
521: [14:39:00] * travis-ci has left #silverstripe
522: [14:39:00] <travis-ci> [travis-ci] Change view : https://github.com/chillu/sapphire/compare/9a17e3494fa3^...f86ca423ca73
523: [14:39:00] * travis-ci has joined #silverstripe
524: [14:42:00] <ivoba> what do i have to put in composer require for silverstripe-widgets and SS3.0.* ?
525: [14:43:00] <ivoba> i tried "silverstripe/widgets": "dev-0.1" or "silverstripe/widgets": "0.1" but it could not be found
526: [14:44:00] <jcwacky> "silverstripe/widgets": "0.1.*@dev"
527: [14:44:00] <jcwacky> ?
528: [14:51:00] <ivoba> thx
529: [14:51:00] <ivoba> jcwacky: yes thats it (facepalm)
530: [14:52:00] <jcwacky> I just copy the "require:" line from https://packagist.org/packages/silverstripe/widgets
531: [14:52:00] <dangerdan> does anyone know how you change the max length of PhoneNumberField ? its maximum digits of 10, but i need 11...
532: [14:53:00] * jon-shape quit (Read error: Connection reset by peer)
533: [14:53:00] * ivoba quit (Quit: Leaving)
534: [14:54:00] <jcwacky> dangerdan: Doesn't look promising: https://github.com/simonwelsh/silverstripe-framework/blob/master/forms/PhoneNumberField.php#L48
535: [14:56:00] <dangerdan> yeh looking at that now, spose i could just change the hard coding, though i would have to do it again if i upgraded SS
536: [14:57:00] <dangerdan> might just use a text field
537: [14:58:00] <jcwacky> I believe you could copy that file into MyPhoneNumberField.php and then change the values
538: [14:59:00] <jcwacky> which would avoid having to "hack the core"
539: [14:59:00] <dangerdan> yeh true enough
540: [15:07:00] * DimiStripe has joined #silverstripe
541: [15:08:00] <DimiStripe> Hi guys, in 2.4 - how can I add and edit a has_many value for a page ?
542: [15:08:00] <DimiStripe> from the PHP code
543: [15:09:00] * ARNHOE quit (Remote host closed the connection)
544: [15:10:00] <dangerdan> you cant override a class in php can you?
545: [15:16:00] <DimiStripe> Anyone ? I need an ability of adding an object and set porperties which is had_many for a page when I save a page ? ANyone can help me ? I'm running this in onBeforeWrite .
546: [15:20:00] * dangerdan quit (Ping timeout: 245 seconds)
547: [15:21:00] <chillu> Anybody keen on retina-fying the CMS UI with http://fortawesome.github.io/Font-Awesome ? Sorry, Retina MBP not included ;)
548: [15:28:00] * zfmf has joined #silverstripe
549: [15:28:00] * zfmf quit (Read error: Connection reset by peer)
550: [15:32:00] * SightUnseen has joined #silverstripe
551: [15:34:00] * priithansen quit (Quit: priithansen)
552: [15:36:00] * UncleCheese has joined #silverstripe
553: [15:36:00] * Zauberfisch quit (Remote host closed the connection)
554: [15:36:00] * SightUnseen quit (Ping timeout: 240 seconds)
555: [15:37:00] * UncleCheese quit (Client Quit)
556: [15:41:00] * joelpittet has joined #silverstripe
557: [15:46:00] * catcher has joined #silverstripe
558: [15:48:00] * DesignerX quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/)
559: [15:55:00] * UncleCheese has joined #silverstripe
560: [16:00:00] * UncleCheese quit (Client Quit)
561: [16:02:00] * ZauberfischIPad has joined #silverstripe
562: [16:02:00] * svandragt quit (Quit: Instantbird 1.3 -- http://www.instantbird.com)
563: [16:03:00] * UncleCheese has joined #silverstripe
564: [16:05:00] * ZauberfischIPad quit (Remote host closed the connection)
565: [16:05:00] * UncleCheese quit (Client Quit)
566: [16:10:00] * mrzero quit (Read error: Operation timed out)
567: [16:11:00] * kinglozzer quit (Remote host closed the connection)
568: [16:12:00] * ZauberfischIPad has joined #silverstripe
569: [16:12:00] * ZauberfischIPad quit (Remote host closed the connection)
570: [16:20:00] * DimiStripe quit (Quit: Page closed)
571: [16:29:00] <catcher> is there a way to get actual field objects back from getChangedFields, or another method that will return them?
572: [16:32:00] * Liquide has joined #silverstripe
573: [16:37:00] <FrozenFire> DataObject::dbObject?
574: [16:40:00] <catcher> form->saveInto($object), need the list of fields on $object that are different
575: [16:40:00] * waveydave has left #silverstripe
576: [16:40:00] <FrozenFire> Changed from what?
577: [16:40:00] <catcher> FrozenFire, I need to know which have changed though, on a form submission
578: [16:41:00] <catcher> submission vs. previous DB vals
579: [16:42:00] <FrozenFire> foreach($object->ChangedFields as $fieldName => $change) { $field = $object->dbObject($fieldName); ... }
580: [16:43:00] <FrozenFire> The docblock for that method is much more useful
581: [16:43:00] <FrozenFire> Indeed. The doc viewer still sucks pretty bad
582: [16:43:00] <catcher> ty
583: [16:43:00] <catcher> Just noticed the key on the return val.
584: [16:43:00] <FrozenFire> I always look at the method sources
585: [16:44:00] <catcher> Yep, good call
586: [16:55:00] * unsignedint has joined #silverstripe
587: [16:59:00] * unsignedint quit (Ping timeout: 256 seconds)
588: [17:02:00] * Nivery quit (Quit: Nivery)
589: [17:02:00] * geust quit (Ping timeout: 245 seconds)
590: [17:05:00] <catcher> hm, getChangedFields returning 2 false positives out of ~30 fields, consistently.
591: [17:06:00] <catcher> textfields, varchars
592: [17:09:00] <catcher> level 2 param set
593: [17:24:00] * dangerdan has joined #silverstripe
594: [17:33:00] * SightUnseen has joined #silverstripe
595: [17:34:00] * priithansen has joined #silverstripe
596: [17:37:00] * SightUnseen quit (Ping timeout: 240 seconds)
597: [17:37:00] * dangerdan quit (Ping timeout: 245 seconds)
598: [17:38:00] * mrzero has joined #silverstripe
599: [17:38:00] * mrzero quit (Changing host)
600: [17:38:00] * mrzero has joined #silverstripe
601: [17:39:00] * mrzero quit (Client Quit)
602: [17:43:00] * sekjal has joined #silverstripe
603: [17:44:00] * travis-ci has joined #silverstripe
604: [17:44:00] <travis-ci> [travis-ci] silverstripe/sapphire#2029 (3.1 - d877c10 : Ingo Schommer): The build was fixed.
605: [17:44:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/7f6671628d47...d877c1063df4
606: [17:44:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/6448888
607: [17:44:00] * travis-ci has left #silverstripe
608: [17:48:00] <sekjal> are there best practices for how to create a template specifically for a homepage? It seems I could either make a new child of Page.php, or I could use InSection(home). Is one way better than the other?
609: [18:30:00] * robert__ has left #silverstripe
610: [18:36:00] * UncleCheese has joined #silverstripe
611: [18:40:00] <simon_w|air> Make a new child page, then you can have page specific control/model features too
612: [18:45:00] <catcher> I have a front-end form with an UploadField for a profile image. How can I tell if that field has changed on the previous submission?
613: [18:46:00] <catcher> well, on the submission that just occurred
614: [18:50:00] <catcher> The relationship is already written by the time I process the action.
615: [18:52:00] <catcher> simon_w|air, is this possible?
616: [18:53:00] * nhorstmeier has joined #silverstripe
617: [19:02:00] * nhorstme_ has joined #silverstripe
618: [19:04:00] * nhorstmeier quit (Ping timeout: 272 seconds)
619: [19:06:00] <r3v3rb> hello all
620: [19:06:00] * r3v3rb has joined #silverstripe
621: [19:08:00] <r3v3rb> any idea why my translated pages I can't change the pagetype on them (2.4.10)
622: [19:21:00] * jerry_ quit (Ping timeout: 245 seconds)
623: [19:24:00] * travis-ci has joined #silverstripe
624: [19:24:00] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#340 (3.1 - c922d08 : Ingo Schommer): The build passed.
625: [19:24:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/c6d6e2435e7d...c922d08fb7d4
626: [19:24:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/6449030
627: [19:24:00] * travis-ci has left #silverstripe
628: [19:25:00] * mrzero has joined #silverstripe
629: [19:25:00] * mrzero quit (Changing host)
630: [19:25:00] * mrzero has joined #silverstripe
631: [19:25:00] <simon_w> chillu, sorry :p Couldn't have you using something that was taking more effort to compile than I could be bothered putting in :p
632: [19:26:00] <r3v3rb> simon_w: any idea why I only see a read-only field for a translations 'page type'?
633: [19:27:00] <simon_w> r3v3rb, because it's linked to the original page's type
634: [19:27:00] <r3v3rb> this is 2.4.10 a legacy site :\ is there any way to detach it
635: [19:28:00] <r3v3rb> the translation shows a different page type though
636: [19:29:00] <catcher> Zauberfisch|idle, when you're around, do you know of a way to see if there's been a change to an UploadField from a form action?
637: [19:34:00] * SightUnseen has joined #silverstripe
638: [19:34:00] <chillu> simon_w: Yeah, I don't want *anyone* using SS in a reasonable way to compile shit
639: [19:34:00] <catcher> hmm, maybe a hidden field can work
640: [19:38:00] <r3v3rb> sooooo, is there a way to decouple the translations page type in 2.4.10?
641: [19:38:00] <r3v3rb> from its original translation?
642: [19:39:00] * SightUnseen quit (Ping timeout: 245 seconds)
643: [19:43:00] * SightUnseen has joined #silverstripe
644: [19:44:00] * SightUnseen has left #silverstripe
645: [19:52:00] <simon_w> chillu, blog post coming soon?
646: [19:53:00] <r3v3rb> :D
647: [19:53:00] <r3v3rb> simon_w: ??? can I detach the pagetype in the translations in 2.4.10?
648: [19:53:00] <simon_w> r3v3rb, no idea
649: [19:54:00] * simon_w changed the topic to 'Welcome to #silverstripe discussion - IRC logs available at http://logs.silverstripe.org || 3.1.0-beta3 (bleeding edge) released 19/04/2013: http://www.silverstripe.org/pre-releases/ || 3.0.5 released 20/02/2013: http://ss.org.nz/3.0.5 || 2.4.10 security release 18/02/2013: http://ss.org.nz/2.4.10 || Development mailing list: http://ss.org.nz/ss-dev'
650: [19:54:00] <r3v3rb> do you know who was responsible for the translation module by any chance?
651: [19:55:00] <r3v3rb> released 19/4 thats not fair I can't download it yet - its still the 18/4 here :(
652: [19:55:00] <r3v3rb> chillu: do you have any dealings with 'translatable' in SS ?
653: [19:55:00] <chillu> simon_w: I'll need to talk to Brooke, but assume so, yes
654: [19:56:00] <chillu> Yes, but I don't have much time for it at the moment
655: [19:56:00] <simon_w> r3v3rb, DELETE FROM "SiteTree_translationgroups" WHERE "OriginalID" = %d
656: [19:56:00] <r3v3rb> :) okay will try to catch up with you later if thats okay?
657: [19:57:00] <r3v3rb> simon_w: thats a bit drastic isn't it? that completely removes the translation effectively :P
658: [19:57:00] * SightUnseen has joined #silverstripe
659: [19:57:00] <simon_w> %d is the ID of the specific page
660: [19:57:00] <simon_w> No, it removes the translation group
661: [19:58:00] <r3v3rb> thats going to be painful for a client to deal with :D but I'll look into it
662: [19:58:00] <simon_w> It'll become a page that only exists in its locale
663: [19:59:00] * SightUnseen has left #silverstripe
664: [19:59:00] <Zauberfisch|idle> catcher idk sorry
665: [19:59:00] <simon_w> Well, my 2.4 install doesn't have the CMS folder so I can't check if there's some interface that calls removeTranslationGroup() on a SiteTree object
666: [20:00:00] <r3v3rb> thanks though
667: [20:00:00] <simon_w> catcher, just use FileField?
668: [20:00:00] <catcher> Zauberfisch|idle, np, thanks anyway. hiddenfield actually works like a charm since the imageID is set before the first write.
669: [20:00:00] <catcher> simon_w, I thought FileField was going away in favor of UploadField, no?
670: [20:00:00] <simon_w> Nope
671: [20:00:00] <r3v3rb> simon_w: no worries, i'll keep looking
672: [20:01:00] <Zauberfisch|idle> or might not be possible
673: [20:01:00] <Zauberfisch|idle> catcher no, it stays, there are some cases where a fancy upload might not be what you need
674: [20:02:00] <simon_w> FileIFrameField is gone in favour of UploadField, the image versions are gone in favour of just configuring the validator yourself
675: [20:02:00] * zfmf has left #silverstripe
676: [20:03:00] <catcher> gotcha
677: [20:08:00] * nhorstme_ quit (Remote host closed the connection)
678: [20:09:00] * nhorstmeier has joined #silverstripe
679: [20:11:00] * nhorstme_ has joined #silverstripe
680: [20:11:00] * nhorstmeier quit (Read error: Connection reset by peer)
681: [20:12:00] * nhorstme_ quit (Read error: Connection reset by peer)
682: [20:12:00] * nhorstmeier has joined #silverstripe
683: [20:20:00] * oddnoc has joined #silverstripe
684: [20:28:00] * SightUnseen2 quit (Quit: Leaving.)
685: [20:28:00] * unsignedint has joined #silverstripe
686: [20:34:00] * zfmf has joined #silverstripe
687: [20:36:00] * UndefinedOffset quit (Quit: Leaving.)
688: [20:37:00] * xini has joined #silverstripe
689: [20:42:00] * nickmolhoek quit (Remote host closed the connection)
690: [20:42:00] * nickmolhoek has joined #silverstripe
691: [20:42:00] * nickmolhoek has joined #silverstripe
692: [20:47:00] * priithansen quit (Quit: priithansen)
693: [20:49:00] <simon_w> Yay! All tests are pink :)
694: [20:50:00] * r3v3rb quit (Quit: r3v3rb)
695: [20:51:00] * gelignite has joined #silverstripe
696: [20:51:00] * Zauberfisch has joined #silverstripe
697: [20:51:00] <Zauberfisch> blubb
698: [20:52:00] <irogue> g'day Zauberfisch
699: [20:53:00] * eikonos has joined #silverstripe
700: [20:53:00] * eikonos quit (Changing host)
701: [20:53:00] * eikonos has joined #silverstripe
702: [20:54:00] <simon_w> And that last test method only found three bugs. I guess it's time to work on the variable parsing then.
703: [20:54:00] * sekjal quit (Quit: Leaving)
704: [20:54:00] <Zauberfisch> simon_w worst thing about uploadfield
705: [20:54:00] <Zauberfisch> go, hit me
706: [20:54:00] * simon_w hits Zauberfisch
707: [20:54:00] <Zauberfisch> -.-
708: [20:54:00] <simon_w> :p
709: [20:54:00] <Zauberfisch> not this way
710: [20:54:00] * Pyromanik has joined #silverstripe
711: [20:55:00] <simon_w> Not passing the IDs through to the form submit handler, which leads to making it rather difficult to have it work on unsaved objects
712: [20:55:00] <Pyromanik> spronk: spronk2: lol KF. Terribad.
713: [20:55:00] <Pyromanik> who was the chob that thought animating the text selection process in chrome would be a good idea?
714: [20:55:00] * Zauberfisch slaps simon_w around a bit with a large trout
715: [20:55:00] * mobiusnz has joined #silverstripe
716: [20:57:00] <Zauberfisch> ok, good point, but unlikely that I will fix it in my current project
717: [20:57:00] <Zauberfisch> next thing
718: [20:59:00] <simon_w> Frontend support is apparently fiddly
719: [20:59:00] <simon_w> and I think it was Pyromanik that was complaining about not being able to turn off the remove/delete button
720: [21:00:00] <Zauberfisch> :O
721: [21:00:00] <simon_w> I actually haven't used UploadField... :p
722: [21:01:00] <simon_w> Yeah, most of my SS3 projects have been framework only too, so I actually have rather limited experience with user-facing stuff
723: [21:01:00] <Zauberfisch> ok, well, remove delete button is on the list of things I am certainly implementing
724: [21:02:00] <Zauberfisch> you have any more major points?
725: [21:02:00] <Zauberfisch> frontend support is on the maybe list
726: [21:02:00] <Zauberfisch> or anyone else?
727: [21:03:00] <nimeso> Morning all!
728: [21:03:00] * nimeso has joined #silverstripe
729: [21:03:00] <nimeso> Frriday! yippie!
730: [21:04:00] <nimeso> Anyone here?
731: [21:04:00] <Pyromanik> yes
732: [21:04:00] <Pyromanik> just busy
733: [21:04:00] * irogue is currently implementing Cheese's uploadify stuff
734: [21:04:00] <nimeso> busy... tell me about it ;)
735: [21:04:00] <nimeso> Hey Pyro! whr are you in the world?
736: [21:04:00] <Zauberfisch> irogue u mad?
737: [21:05:00] * sminnee has joined #silverstripe
738: [21:05:00] <irogue> holy shit its a sminnee
739: [21:05:00] * sminnee quit (Changing host)
740: [21:05:00] * sminnee has joined #silverstripe
741: [21:06:00] <sminnee> yeah i've been off IRC for a while, eh, irogue :|
742: [21:06:00] <nimeso> I'm having issues with installing latest 3.1 on my local server doing a dev/build. My system does not like private static $db = array( in ErrorPage.php... error says Fatal error: Access level to ErrorPage::$db must be public (as in class Page) in C:\wamp\www\merinooutlet\cms\code\model\ErrorPage.php on line 310
743: [21:07:00] <ss23> sminnee: http://i.imgur.com/XnE2dFF.png Why does my 3.0 (from the tarball) look like that
744: [21:07:00] <Zauberfisch> yay sminnee is IRC again <3
745: [21:07:00] <sminnee> ss23: you mean the preview text blowing out?
746: [21:07:00] <nimeso> nice! thanks guys!
747: [21:07:00] <ss23> sminnee: Confirmed with someone else here that theirs looks like that too. Demo doesn't
748: [21:07:00] <nimeso> ahhhh/ ok ...follow you
749: [21:07:00] <simon_w> otherwise, http://doc.silverstripe.org/framework/en/3.1/changelogs/3.1.0#statics-in-custom-page-classes-need-to-be-private
750: [21:07:00] <simon_w> nimeso, if you're the one that just opened the issue, read my reply :p
751: [21:07:00] <oddnoc> nimeso: change the access in Page.php to private
752: [21:07:00] <sminnee> yes?
753: [21:07:00] <ss23> sminnee: I have a question
754: [21:08:00] <ss23> sminnee: Yeah
755: [21:08:00] <nimeso> rock on... Friday!!!!
756: [21:08:00] <sminnee> and then if you're all lucky i forget to log out of IRC for a few weeks :p
757: [21:08:00] <sminnee> simon_w: yeah there's an event in all our calendars that sometimes we pay attention to
758: [21:08:00] <Zauberfisch> that is perfect, I was just complaining to chillu why sminnee is not around
759: [21:08:00] <nimeso> lol
760: [21:08:00] <simon_w> Ooh, it's that Friday morning dev chat thingy!
761: [21:08:00] <sminnee> well, it's nice to feel needed, Zauberfisch ;)
762: [21:09:00] <sminnee> irogue ss23 simon_w shall we lock it in?
763: [21:09:00] <sminnee> i remember I set 18th and then brooke came along and said "so??? 25th" a few days later :P
764: [21:09:00] <sminnee> hey - great work on the ticket migration btw :D
765: [21:09:00] <irogue> sminnee: is 25th may written in ink yet?
766: [21:09:00] <sminnee> not yet
767: [21:10:00] <simon_w> I'd prefer the 18th, but either works
768: [21:10:00] <irogue> yeah, that confused me a bit, but i rolled with it
769: [21:11:00] <irogue> Pyromanik, you gonn' come up? :P
770: [21:11:00] <sminnee> did you have a preference? it hasn't been confirmed yet.
771: [21:11:00] <sminnee> I'll create the meet up group now.
772: [21:11:00] <irogue> i say we lock it in. ss23?
773: [21:12:00] <chillu> 25th works for me, same with the saturday before and after
774: [21:12:00] <sminnee> So, just hold it in WG or in AK too?
775: [21:12:00] <irogue> my preference is definitely the 25th, but i can do either
776: [21:13:00] <sminnee> ss23: you like 25?
777: [21:13:00] <irogue> sminnee: well i'll be heading down to WG, so whether or not AK is open doesn't bother me :P
778: [21:14:00] <irogue> lol
779: [21:14:00] <irogue> may
780: [21:14:00] <ss23> 25th of March?
781: [21:14:00] <ss23> um
782: [21:14:00] <ss23> April?
783: [21:14:00] <ss23> wait
784: [21:14:00] <ss23> lol
785: [21:14:00] <ss23> May?
786: [21:14:00] <ss23> fuck
787: [21:14:00] <ss23> um yeah that's fine, I don't have anything going on
788: [21:14:00] <simon_w> Next month, not next week :p
789: [21:16:00] <irogue> lock it in!
790: [21:17:00] * eikonos quit (Quit: Leaving.)
791: [21:18:00] * nhorstmeier quit (Remote host closed the connection)
792: [21:19:00] <ss23> sminnee aka eddie
793: [21:19:00] <ss23> LOCK IT IN EDDIE
794: [21:28:00] * UncleCheese quit (Quit: UncleCheese)
795: [21:29:00] * oskarholo quit (Quit: oskarholo)
796: [21:33:00] * irogue has calendarised it
797: [21:33:00] <irogue> it's official now
798: [21:34:00] <irogue> BREAKING NEWS RT @waikatotimes: Cambridge KFC closed due to power outage.
799: [21:34:00] <ss23> lol
800: [21:34:00] <ss23> Breaking news
801: [21:34:00] <ss23> XD
802: [21:34:00] <irogue> what will the population of cambridge have for lunch?
803: [21:43:00] <unsignedint> Hello, I am trying to use SS_Cache and am having a few issues. Namely, the item im trying to cache isnt saving (this cache is missed on every method call). The docs are confusing, you can load an item based on a key, but you cant save an item to a key?? My code is here: http://pastebin.com/kcDGxG8P
804: [21:44:00] <unsignedint> Actually nevermind, I am a retard, I had ?flush=1 hidden in the url
805: [21:45:00] <ss23> haha
806: [21:56:00] * SightUnseen1 has joined #silverstripe
807: [21:56:00] * SightUnseen1 has left #silverstripe
808: [21:57:00] <FrozenFire> Man, composer is a sonofabitch
809: [21:57:00] <FrozenFire> Just did a major rework of a library I maintain for a particular SOAP API, to get it composer-capable (and PSR-0-ish)
810: [21:58:00] <FrozenFire> I suppose the more accurate thing to say is that PSR-0 is a huge sonofabitch
811: [21:58:00] <simon_w> Oh, both those statements are true :p
812: [22:04:00] * waveydave has joined #silverstripe
813: [22:07:00] <Zauberfisch> simon_w, sminnee just told me you have been working on something to allow unsaved relations?
814: [22:07:00] <simon_w> Zauberfisch, UnsavedRelationList
815: [22:08:00] <Zauberfisch> could it be used for GridField and UploadField?
816: [22:08:00] <Zauberfisch> intresting
817: [22:08:00] * zfmf has left #silverstripe
818: [22:09:00] <simon_w> Well, not ones that don't end up saving the object
819: [22:09:00] <simon_w> So, it can't be used with AJAX requests
820: [22:09:00] <Pyromanik> 25th?
821: [22:09:00] <Pyromanik> probably can't make that
822: [22:09:00] <Pyromanik> irogue: ^
823: [22:10:00] <FrozenFire> Is UnsavedRelationList transient per-request, or just transient per-session?
824: [22:10:00] <Pyromanik> sminnee: what happened to ask a dev Friday?
825: [22:10:00] <simon_w> It's stored on the unsaved object
826: [22:11:00] <Pyromanik> oh
827: [22:11:00] <Pyromanik> I checked calendar
828: [22:12:00] <Zauberfisch> simon_w I don't have to time left today, but I am going to poke you about that topic again within the next weeks
829: [22:12:00] <Pyromanik> I might be able to make that irogue
830: [22:13:00] <Pyromanik> simon_w: linkorsection, returns section for current?
831: [22:13:00] <simon_w> Pyromanik, yes
832: [22:14:00] <Pyromanik> cool, thank you
833: [22:26:00] * Zauberfisch quit (Remote host closed the connection)
834: [22:27:00] <sminnee> good time! :)
835: [22:27:00] <sminnee> Pyromanik: i got stuck talking to Zauberfisch|idle :p
836: [22:27:00] <sminnee> It was good though, we worked out some stuff for GridField -> refactoring to GridFieldTableView.
837: [22:27:00] <Zauberfisch|idle> yeah, the 5min talk turned into a 50 min talk ^^
838: [22:28:00] <Zauberfisch|idle> sminnee don't spoil it :P we don't want to make pormisses yet that we might not be able to keep
839: [22:33:00] <simon_w> Too late!
840: [22:33:00] <simon_w> I expect a GridFieldGridView for images by the end of the week! :p
841: [22:40:00] <sminnee> GridFieldTableView.
842: [22:40:00] <sminnee> TableField
843: [22:40:00] <sminnee> sorry
844: [22:40:00] <sminnee> GridFieldGridView is too reflexive.
845: [22:42:00] <pippy> de/w 4
846: [22:43:00] <Pyromanik> sminnee: I've no idea what you're talking about, but it sounds good.
847: [22:45:00] <simon_w> Magic
848: [22:45:00] <simon_w> I would assume that GridField's going to end up something like UICollectionView, which would be just awesome
849: [22:45:00] <Pyromanik> simon_w: and what is UICollectionView?
850: [22:45:00] <Pyromanik> (and where is it from)?
851: [22:46:00] <Pyromanik> o
852: [22:46:00] <simon_w> Cocoa Touch, UIKit
853: [22:46:00] <Pyromanik> so I can't see it :<
854: [22:46:00] <simon_w> There may be a NSCollectionView too
855: [22:46:00] <Pyromanik> :<
856: [22:46:00] <simon_w> iOS
857: [22:48:00] <simon_w> Add some spacing, make a grid
858: [22:48:00] <simon_w> Or change it to a flip-book
859: [22:48:00] <simon_w> You have a set of things, that get put in boxes (arbitrary sized) and then the layout engine decides how to lay them out
860: [22:48:00] <simon_w> So, you could make it so the boxes are all the same sized and make a table
861: [22:49:00] <ss23> So how a bout this: Where can I put something in memroy so that a program can acess it, thats not an enviroment variable or an argument?
862: [22:51:00] <Pyromanik> plugin styles
863: [22:51:00] <ss23> Hmm
864: [22:51:00] <Pyromanik> that or use a messaging system like dbus
865: [22:51:00] <ss23> Nope, can't modify the program at all, Pyromanik
866: [22:51:00] <Pyromanik> ss23: linked lib
867: [22:51:00] <Pyromanik> ?
868: [22:53:00] <Pyromanik> o
869: [22:54:00] <Pyromanik> code cave
870: [22:54:00] <Pyromanik> well then you're f'd
871: [22:54:00] <ss23> lol
872: [22:54:00] <ss23> mmm
873: [22:54:00] <Pyromanik> code a hack
874: [22:54:00] <Pyromanik> hook
875: [22:54:00] <ss23> IT's for a game, hoping there was a way to do it easily :<
876: [22:54:00] <Pyromanik> all dat stuffs
877: [22:54:00] <Pyromanik> yeh, I know it's for a game, you dirty hacker
878: [22:55:00] <ss23> It's fun
879: [22:55:00] <ss23> Play with me, Pyromanik
880: [22:55:00] * ss23 hacks Pyromanik :D
881: [22:55:00] <ss23> Pyromanik: http://io.smashthestack.org/
882: [22:55:00] <ss23> come on
883: [22:55:00] <ss23> :D
884: [22:55:00] <Pyromanik> stop making aimbots
885: [22:58:00] <ss23> lol
886: [22:58:00] <simon_w> http://uplink.co.uk/
887: [22:59:00] <ss23> Remember playing it at my grandmothers, brought it with me on a disk since I didn't have internet there
888: [22:59:00] <FrozenFire> Uplink is still maintained
889: [22:59:00] <FrozenFire> It's on Steam, iirc
890: [22:59:00] <FrozenFire> http://store.steampowered.com/app/1510/?snr=1_7_15__13
891: [22:59:00] <ss23> also fun :P
892: [22:59:00] <ss23> Yeah, along with DEFCON etc
893: [23:00:00] <FrozenFire> http://store.steampowered.com/app/1530/?snr=1_7_15__13
894: [23:00:00] <simon_w> Well, maybe not Multiwinia, if that's still around anywhere
895: [23:00:00] <FrozenFire> It's actually much better than when I originally played it
896: [23:00:00] <simon_w> All Introversion games are on Steam
897: [23:00:00] * waveydave has left #silverstripe
898: [23:01:00] <simon_w> Woo, pink again
899: [23:12:00] <FrozenFire> I often do $something->renderWith(..., array( "Title" => "My Custom-ass Title"));
900: [23:12:00] <FrozenFire> It occurs to me why I keep getting issues with injected titles...
901: [23:13:00] <FrozenFire> But the injector for that probably has a bug where it supercedes "Title" on *everything*
902: [23:13:00] <FrozenFire> Whereas I just want it injected into the top scope, it injects into things like SiteConfig as well
903: [23:15:00] <simon_w> $something->customise(['Title' => 'My Title'])->renderWith()
904: [23:16:00] <ss23> Handy, but it always throws me off
905: [23:16:00] <FrozenFire> simon_w, See, that's tricky.
906: [23:16:00] <FrozenFire> One would expect the second parameter to renderWith to do exactly that
907: [23:16:00] <FrozenFire> Heh. I always want it, but can never have it
908: [23:16:00] <ss23> That array syntax is weird to get used to, simon_w
909: [23:17:00] <simon_w> It passes in an overlay to the template
910: [23:17:00] <simon_w> Just in case, or some such
911: [23:17:00] <simon_w> It also calls customise, and passes it in as an underlay
912: [23:18:00] * SightUnseen1 has joined #silverstripe
913: [23:19:00] * SightUnseen1 has left #silverstripe
914: [23:19:00] <FrozenFire> I would not expect it to override SiteConfig.Title
915: [23:19:00] <FrozenFire> Yeah. I would expect that.
916: [23:29:00] * catcher quit (Quit: Leaving)
917: [23:32:00] <FrozenFire> How to?
918: [23:32:00] <FrozenFire> In-template more-than-one-item-in-DataList
919: [23:33:00] <Pyromanik> I use !=
920: [23:33:00] <FrozenFire> $Items.Count > 1 is obviously out the door, I think
921: [23:33:00] <Pyromanik> FrozenFire: yeh, not yet.
922: [23:33:00] <Pyromanik> <% if Items %>
923: [23:34:00] * travis-ci has joined #silverstripe
924: [23:34:00] <Pyromanik> means there is more than 0
925: [23:34:00] <Pyromanik> then <% if Items.Count != 1 %> nested inside means more than 1
926: [23:34:00] <FrozenFire> -.-
927: [23:34:00] <travis-ci> [travis-ci] Change view : https://github.com/chillu/sapphire/compare/fe3b787a6648...14ecbf386ee7
928: [23:34:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/chillu/sapphire/builds/6459322
929: [23:34:00] * travis-ci has left #silverstripe
930: [23:34:00] <Pyromanik> >, <, <=, >=
931: [23:34:00] <Pyromanik> yeh, I know.
932: [23:34:00] <simon_w> FrozenFire, 3.1.
933: [23:34:00] <FrozenFire> I'm using 3.1
934: [23:34:00] <Pyromanik> but no > or < until... ^ yeh, 3.1
935: [23:34:00] <FrozenFire> Does it work, there?
936: [23:34:00] <travis-ci> [travis-ci] chillu/sapphire#127 (3.1.0-beta4 - 14ecbf3 : Ingo Schommer): The build has errored.
937: [23:34:00] <Pyromanik> well then yeah
938: [23:34:00] <Pyromanik> yes
939: [23:35:00] <Pyromanik> but it should work.
940: [23:35:00] <simon_w> It matches the standard way of doing weak inequalities
941: [23:35:00] <Pyromanik> I don't know.
942: [23:35:00] <simon_w> Should just need the two SSViewerParser (or whatever) files
943: [23:35:00] <simon_w> Update!
944: [23:35:00] <FrozenFire> Might need to update the framework...
945: [23:35:00] <Pyromanik> or is it => =< ?
946: [23:35:00] <Pyromanik> or does it matter?
947: [23:35:00] <FrozenFire> Seems definitely not to work for me
948: [23:36:00] * liam_ is now known as Guest65289
949: [23:36:00] * liam_ has joined #silverstripe
950: [23:37:00] <Guest65289> any ideas why I am getting this error suddenly on every page? Undefined variable: _SESSION
951: [23:37:00] <travis-ci> [travis-ci] chillu/sapphire#128 (3.1.0-beta3 - 7de2f0d : Ingo Schommer): The build has errored.
952: [23:37:00] * travis-ci has joined #silverstripe
953: [23:37:00] <Guest65289> hi
954: [23:37:00] * travis-ci has left #silverstripe
955: [23:37:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/chillu/sapphire/builds/6459371
956: [23:37:00] <travis-ci> [travis-ci] Change view : https://github.com/chillu/sapphire/compare/6e3a150424ac...7de2f0d1cd7e
957: [23:38:00] <FrozenFire> That shouldn't really happen, even if he is
958: [23:38:00] <FrozenFire> Unless SS is a greedy douche and unsets it
959: [23:38:00] <simon_w> Guest65289, because you're accessing $_SESSION directly somewhere instead of going through the Session class?
960: [23:39:00] <travis-ci> [travis-ci] chillu/sapphire#129 (3.1.0-beta3 - 360caf5 : Ingo Schommer): The build passed.
961: [23:39:00] * travis-ci has joined #silverstripe
962: [23:39:00] <FrozenFire> Is blog module not updated for the latest giant 3.1 BC break?
963: [23:39:00] <simon_w> Which one?
964: [23:39:00] <simon_w> $_SESSION isn't set until session_start()
965: [23:39:00] <Guest65289> simon_w: i didnt write any particular code that made this happen. But the error is occurring in the facebook connect module.
966: [23:39:00] <travis-ci> [travis-ci] Change view : https://github.com/chillu/sapphire/compare/7de2f0d1cd7e...360caf538c01
967: [23:39:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/chillu/sapphire/builds/6459393
968: [23:39:00] * travis-ci has left #silverstripe
969: [23:40:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/chillu/sapphire/builds/6459585
970: [23:40:00] * travis-ci has left #silverstripe
971: [23:40:00] <FrozenFire> Oh wait, it is
972: [23:40:00] <travis-ci> [travis-ci] chillu/sapphire#131 (3.1.0-beta3 - 876e2d6 : Ingo Schommer): The build has errored.
973: [23:40:00] * travis-ci has joined #silverstripe
974: [23:40:00] <FrozenFire> It's just that 3.1 is being douchey. That's what it is. :P
975: [23:40:00] <travis-ci> [travis-ci] Change view : https://github.com/chillu/sapphire/compare/5a6de8446681...876e2d6acf5c
976: [23:42:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/chillu/sapphire/builds/6459523
977: [23:42:00] * FrozenFire goes through and rewrite his whole project so that he can update
978: [23:42:00] * travis-ci has joined #silverstripe
979: [23:42:00] * travis-ci has left #silverstripe
980: [23:42:00] <travis-ci> [travis-ci] chillu/sapphire#130 (3.1.0-beta3 - 5a6de84 : Ingo Schommer): The build passed.
981: [23:42:00] <travis-ci> [travis-ci] Change view : https://github.com/chillu/sapphire/compare/360caf538c01...5a6de8446681
982: [23:47:00] * travis-ci has joined #silverstripe
983: [23:47:00] <travis-ci> [travis-ci] chillu/sapphire#132 (3.1.0-beta3 - ec2a7ce : Ingo Schommer): The build passed.
984: [23:47:00] <travis-ci> [travis-ci] Change view : https://github.com/chillu/sapphire/compare/876e2d6acf5c...ec2a7ce7f6a7
985: [23:47:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/chillu/sapphire/builds/6459598
986: [23:47:00] * travis-ci has left #silverstripe
987: [23:53:00] <FrozenFire> Check your error log
988: [23:53:00] <FrozenFire> Whatever's there would
989: [23:53:00] <Pyromanik> what would cause dev/build to WSOD ?
990: [23:54:00] <Pyromanik> but display errors is on
991: [23:55:00] <FrozenFire> Some errors preclude display
992: [23:55:00] <simon_w> A content-length being sent that's 0

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