#silverstripe IRC Log

IRC log for 10 May 2013

All timestamps are in UTC.

1: [00:05:00] * SphereLaptop quit (Quit: ChatZilla 0.9.90 [Firefox 20.0/20130326150557])
2: [00:22:00] * EasyCo quit (Quit: EasyCo)
3: [00:33:00] * EasyCo has joined #silverstripe
4: [00:34:00] * tankr quit (Quit: Leaving.)
5: [00:38:00] * pex quit (Ping timeout: 260 seconds)
6: [00:45:00] <priithansen> Any way to make gridfield add columns from dataobject property containing arrays http://www.sspaste.com/paste/show/518c42b132b39
7: [00:46:00] <priithansen> That is an example of the dataobject gridfield lists but would like to add columns based on 'Vastavused' properties content
8: [00:54:00] * tractorcow has joined #silverstripe
9: [00:54:00] * SightUnseen has joined #silverstripe
10: [00:55:00] <solva> hi everyone,
11: [00:55:00] * solva has joined #silverstripe
12: [00:55:00] <solva> im trying to get the subsite module to work
13: [00:56:00] <solva> i dont get any JS errors on the console, nor any 500 errors on the network tab.
14: [00:56:00] <solva> does anyone have any ideas?
15: [00:56:00] <solva> ive got it installed, but now when i try and add pages, i click the green "Create Page", which normally takes me to the content entry page
16: [00:56:00] <solva> but instead i just get returned to the standard site tree view; with the Add New buttons, and the site hierarchy underneath
17: [00:57:00] * Bollig|DesignCty has joined #silverstripe
18: [00:58:00] * joelpittet quit (Remote host closed the connection)
19: [00:59:00] * SightUnseen has left #silverstripe
20: [00:59:00] * nickmolhoek has joined #silverstripe
21: [00:59:00] * nickmolhoek quit (Remote host closed the connection)
22: [00:59:00] * nickmolhoek has joined #silverstripe
23: [01:05:00] * ^pH- has joined #silverstripe
24: [01:06:00] <Pyromanik> solva: did you follow the readme?
25: [01:06:00] <Pyromanik> there's more to it than that
26: [01:06:00] <Pyromanik> when all they did was put it in the ss root and dev/build
27: [01:06:00] <Pyromanik> lots of people ask about taht module saying they've installed it
28: [01:07:00] <solva> well, i've followed https://github.com/silverstripe/silverstripe-subsites
29: [01:07:00] <Pyromanik> OR getting a stable version of the module, as opposed to the github/master
30: [01:07:00] <solva> the Installation section
31: [01:07:00] <Pyromanik> if you have
32: [01:07:00] <Pyromanik> ok, should be good then
33: [01:07:00] <Pyromanik> then I suggest looking for white space in your classes or something like that
34: [01:08:00] <solva> In step 5, i go to the pages section, i see my second site
35: [01:08:00] * EasyCo quit (Quit: EasyCo)
36: [01:08:00] <solva> next step, "add a page"? that's where it's failing
37: [01:08:00] * ^pH quit (Ping timeout: 276 seconds)
38: [01:08:00] <Pyromanik> you'd be surprised the number of times people come in here and haven't.
39: [01:08:00] <solva> i'm on a fresh install of 3.0.5
40: [01:08:00] <solva> nothing else custom
41: [01:08:00] <solva> i've also tried 3.1 because the docs say Requirements: Silverstripe 3.1
42: [01:09:00] <solva> well, i got the zip file from the modules page on silverstripe
43: [01:09:00] <solva> although when i tried it with 3.1 it gave a whole ton of "outdated calls"
44: [01:09:00] <Pyromanik> yeah
45: [01:09:00] <Pyromanik> you've grabbeed the wrong version of the module it sounds like
46: [01:09:00] <solva> arrr
47: [01:09:00] <Pyromanik> try 0.4
48: [01:10:00] <Pyromanik> Home it works out for you
49: [01:10:00] <solva> i was using silverstripe-subsites-master-1.0-beta1.tar.gz
50: [01:10:00] <Pyromanik> https://github.com/silverstripe/silverstripe-subsites/tree/0.4
51: [01:10:00] <Pyromanik> yeah, not the best idea
52: [01:10:00] <Pyromanik> most of those ss.org listings are way out of date
53: [01:10:00] <solva> righto i'll give it a go, thanks
54: [01:10:00] <solva> thanks mate :)
55: [01:12:00] <Pyromanik> if you can't get it to work I have an older archived version here that I can put up somewhere for you
56: [01:12:00] <Pyromanik> it's 3.0, but probably out of date as it's listed as master and I didn't have any issues.
57: [01:13:00] <solva> well, thats a good sign? i got to the Content entry page!!
58: [01:13:00] <solva> ...
59: [01:18:00] * EasyCo has joined #silverstripe
60: [01:19:00] * Jeremy_ is now known as clodeindustrie
61: [01:19:00] * EasyCo quit (Client Quit)
62: [01:19:00] * Jeremy_ has joined #silverstripe
63: [01:21:00] * tankr has joined #silverstripe
64: [01:22:00] <solva> alright, thats enough experimenting for now, thanks Pyromanik!
65: [01:26:00] * SeriousMatters quit (Ping timeout: 256 seconds)
66: [01:33:00] * gelignite quit (Quit: http://bit.ly/nkczDT)
67: [01:39:00] <Pyromanik> :)
68: [01:39:00] <Pyromanik> you're welcome solva
69: [01:43:00] <ss23> http://apache.slashdot.org/story/13/04/29/1258205/sophisticated-apache-backdoor-in-the-wild
70: [01:43:00] <ss23> DAE <3 cpanel?
71: [01:43:00] <ss23> ^.^
72: [01:46:00] * SightUnseen has joined #silverstripe
73: [01:46:00] * tankr quit (Quit: Leaving.)
74: [01:46:00] * tractorcow quit (Quit: Leaving.)
75: [01:58:00] * SightUnseen has left #silverstripe
76: [01:59:00] <irogue> ss23: check out this pro web design http://www.krs.ac.nz/About_Us.html
77: [01:59:00] * SightUnseen has joined #silverstripe
78: [02:00:00] <ss23> omg that's literally a picture
79: [02:00:00] <ss23> oh god so good
80: [02:00:00] <ss23> ;_;
81: [02:01:00] * Peavers has joined #silverstripe
82: [02:03:00] * SightUnseen has left #silverstripe
83: [02:04:00] <Peavers> Afternoon good folks, I've got a small install issue using the latest beta3 of 3.1 and using composer...
84: [02:05:00] <Peavers> I'm getting the following error at the install page: Warning: realpath(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (/var/www/clients/client1/web16/web:/var/www/clients/client1/web16/private:/var/www/clients/client1/web16/tmp:/var/www/sandbox.squandered.org/web:/srv/www/sandbox.squandered.org/web:/usr/share/php5:/usr/share/php:/tmp:/usr/share/phpmyad
85: [02:05:00] <Peavers> I think its more related to my server using ISPConfig than to the silverstripe installer, but if anyone could shine a bit of light on it, would be much appreciated
86: [02:05:00] <Peavers> min:/etc/phpmyadmin:/var/lib/phpmyadmin:/usr/share/php) in /var/www/clients/client1/web16/web/framework/dev/install/install.php5 on line 51
87: [02:06:00] <simon_w> popeshoe, create an empty _ss_environment.php file in the base dir
88: [02:06:00] <simon_w> I should tell that Sean off for that commit
89: [02:11:00] <Pyromanik> does it default to / ?
90: [02:11:00] <simon_w> Pyromanik, depends on the server
91: [02:11:00] <Pyromanik> ic
92: [02:11:00] <Pyromanik> simon_w: what happens if rewritebase isn't set?
93: [02:11:00] <simon_w> It really breaks in user dirs
94: [02:13:00] * EasyCo has joined #silverstripe
95: [02:13:00] <simon_w> popeshoe, I've opened an issue about that: https://github.com/silverstripe/sapphire/issues/1866
96: [02:13:00] <Pyromanik> I just noticed my dev server doesn't mind it not being there, but production collapses last I checked
97: [02:14:00] <simon_w> Some default to the current request path, others default to the filesystem path
98: [02:23:00] <simon_w> Sheesh, flushing in 3.1 is horrible
99: [02:27:00] <FrozenFire> http://www.forbes.com/sites/reuvencohen/2013/05/08/new-zealand-government-announces-that-software-will-no-longer-be-patentable/
100: [02:28:00] * SightUnseen1 has joined #silverstripe
101: [02:28:00] <FrozenFire> Wowsa
102: [02:28:00] <FrozenFire> Good on you Kiwis
103: [02:28:00] <Peavers> _b
104: [02:31:00] <Peavers> ?
105: [02:31:00] <Peavers> possible to create a project with composer in a non-empty directory/
106: [02:32:00] <simon_w> It's so set up for git
107: [02:32:00] <Peavers> yeah just figured that out, all good though
108: [02:32:00] <simon_w> nope
109: [02:33:00] <Peavers> While I'm here hassling people - Anyone recommend a grid framework for themes in ss?
110: [02:33:00] <Peavers> using sass and compass
111: [02:34:00] <FrozenFire> simon_w, Huh? Unless I'm mistaken, you can just init a composer.json with the requirements, then install, no?
112: [02:34:00] <discorpia> does ss3 have new ways to extend siteconfig or is it the same approach as 2.x?
113: [02:34:00] <simon_w> discorpia, same approach
114: [02:34:00] <discorpia> thx
115: [02:34:00] <FrozenFire> Or am I missing something?
116: [02:35:00] <simon_w> FrozenFire, create-project silverstripe/installer path requires path to not exist or be empty
117: [02:35:00] <Peavers> cheers, checking it out now
118: [02:35:00] <priithansen> Peavers: zurb foundation
119: [02:36:00] <FrozenFire> Meh. It's only mildly stupid
120: [02:36:00] <FrozenFire> simon_w, Yeah, but that doesn't mean one can't create a composer-managed project using an existing directory.
121: [02:36:00] <FrozenFire> You just can't clone into a non-empty directory.
122: [02:36:00] <FrozenFire> Which is what create-project is
123: [02:36:00] <priithansen> Peavers: here is my take on it for ss https://github.com/priithansen/silverstripe-foundation-boilerplate
124: [02:36:00] <FrozenFire> A git clone
125: [02:36:00] <simon_w> Which is stupid
126: [02:37:00] <FrozenFire> It then asks if you want rid of the .git directory it created
127: [02:37:00] <FrozenFire> It has the revision information, so a git clone makes sense.
128: [02:37:00] <Peavers> awsome priithansen <3
129: [02:37:00] <simon_w> Yes, I know how it works
130: [02:37:00] <simon_w> Doesn't stop it from being stupid
131: [02:37:00] <FrozenFire> How would you suggest it get the files?
132: [02:38:00] <simon_w> CocoaPods does it by cloning into a temporary directory
133: [02:38:00] <simon_w> Some way with pointless restrictions
134: [02:38:00] <Peavers> priithansen do you have any sites you've done with it I can take a peek at?
135: [02:39:00] <FrozenFire> There's no sensible way to resolve conflicts.
136: [02:39:00] <FrozenFire> That's exactly *why* git doesn't permit cloning into non-empty directories.
137: [02:39:00] <simon_w> *without pointless restrictions
138: [02:39:00] <FrozenFire> Eww.
139: [02:40:00] <Peavers> yup
140: [02:40:00] <Peavers> always keen for dat information
141: [02:40:00] <FrozenFire> Anyways, my whole point in remarking is that Peavers may have meant something else.
142: [02:40:00] <FrozenFire> Which is to start managing an existing project using composer
143: [02:40:00] <FrozenFire> Which you can do
144: [02:40:00] <Peavers> Cheers for the insight into the details though
145: [02:41:00] <FrozenFire> Otherwise you can simply run composer init and define the silverstripe/framework and silverstripe/cms requires
146: [02:41:00] <FrozenFire> And then composer install
147: [02:41:00] <FrozenFire> Or composer update, perhaps
148: [02:41:00] <FrozenFire> If you're just wanting to manage an existing silverstripe/installer clone, you can pretty-well just copy and paste the composer.json from silverstripe/installer into your project
149: [02:42:00] <Peavers> was actually just trying to install into my default web directory but its got a few folders and files for logging and other things, which ISPConfig creates for each site. Would have just been easier if I could have just done composer [..] ./ but not really a big deal
150: [02:43:00] <FrozenFire> Ah
151: [02:44:00] <FrozenFire> Yeah, I would typically recommend setting your webroot up one level below that directory, then.
152: [02:44:00] <Peavers> yeah thats what I did
153: [02:44:00] <FrozenFire> You shouldn't have extraneous files like your logs in the webroot
154: [02:44:00] * SightUnseen1 quit (Read error: Connection reset by peer)
155: [02:44:00] <Peavers> but its only on a "throw away" dev server, so wasn't really worried about that
156: [02:44:00] <FrozenFire> That's a big reason I hate Bluehost and its ilk
157: [02:45:00] <FrozenFire> They throw an arseload of files, including subdomains, into the top domain webroot
158: [02:45:00] <FrozenFire> Makes a mess of everything
159: [02:46:00] <simon_w> willr, nice job on the sitemap stylesheet
160: [02:47:00] <willr> why do I think you're taking the piss?
161: [02:48:00] <simon_w> I don't know?
162: [02:48:00] <simon_w> But https://pocketrent.com/sitemap.xml/sitemap/SiteTree/1 looks so much nicer than a raw XML tree
163: [02:58:00] * willr quit (Quit: willr)
164: [03:07:00] * DesignerX has joined #silverstripe
165: [03:08:00] <DesignerX> hi, is it possiblke to bring GridField to the front end ?
166: [03:09:00] <DesignerX> possible *
167: [03:19:00] <FrozenFire> DesignerX, Possible, yes. A good idea? No.
168: [03:19:00] * clodeindustrie quit (Quit: Textual IRC Client: www.textualapp.com)
169: [03:21:00] <FrozenFire> So make your own CRUD interface
170: [03:21:00] <Pyromanik> FrozenFire: you're here today
171: [03:21:00] <Pyromanik> heh
172: [03:21:00] <simon_w> The last one wins
173: [03:21:00] <DesignerX> FrozenFire: I need a member to edit a list of objects & dont wanna give them access to the backend
174: [03:21:00] <Pyromanik> simon_w: what happens if I have 2 decorators applying the same field?
175: [03:22:00] <FrozenFire> Ah, yeah. Been working on ZF stuff
176: [03:22:00] <Pyromanik> sweet.
177: [03:22:00] <simon_w> yeah
178: [03:22:00] <Pyromanik> (apart from field order in the CMS)
179: [03:22:00] <FrozenFire> Pyromanik, Am I not supposed to be? :P
180: [03:22:00] <Pyromanik> FrozenFire: nah, you've just been very quiet all day
181: [03:22:00] <Pyromanik> simon_w: so basically it doesn't matter?
182: [03:26:00] <Pyromanik> also composer could use --git-dir= and whatever that tree command is
183: [03:26:00] <Pyromanik> but... it'd also have it's downsides
184: [03:34:00] * cloph_away has joined #silverstripe
185: [03:35:00] * cloph_away1 quit (Ping timeout: 245 seconds)
186: [03:41:00] <discorpia> hmm, i've been using the BulkImageUpload module with great success the entire night, now all of a sudden all uploads via it returns an error now, it tries to create an reflection class of an empty class name
187: [03:42:00] <discorpia> any idea what i might have done to cause that? (pastebin: http://pastebin.com/Zmic7cXc)
188: [03:42:00] <discorpia> i've added som siteconfig, a few new pagetypes etc but nothing out of the ordinary
189: [03:42:00] <discorpia> on all pages, even the ones where i used it just a few hours ago
190: [04:01:00] <elgrodo> I'm doing an SS2 to SS3 upgrade, mostly winning but seeing weirdness in the editing. If I choose another item to edit it does not work, but the URL changes. If I hard refresh the browser I can edit the page linked to
191: [04:03:00] <elgrodo> I am still getting a JSON response
192: [04:03:00] <elgrodo> ooh, leading line break might be an issue
193: [04:21:00] * Colin[pi] quit (Ping timeout: 260 seconds)
194: [04:27:00] * simon_w quit (Quit: This computer has gone to sleep)
195: [04:30:00] <DesignerX> FrozenFire: I got a basic GridField to the front end, but no css seems to be included & maybe some JS files are not includes too, any idea what to include ?
196: [04:46:00] <Pyromanik> http://api.silverstripe.org/3.0/source-class-Email.html#180-194
197: [04:46:00] <Pyromanik> but my mailserver is sending to=<the address I put in the form>
198: [04:46:00] <Pyromanik> from should be $data[Email]
199: [04:46:00] <Pyromanik> I put in a test
200: [04:51:00] <Pyromanik> oh
201: [04:51:00] <Pyromanik> ig
202: [04:52:00] <Pyromanik> to=1, so smtp is switching them, lol
203: [04:56:00] <FrozenFire> DesignerX, Truly. Don't.
204: [04:56:00] <FrozenFire> Almost all of what you love about GridField is baked into the CMS
205: [04:57:00] <FrozenFire> You will write at least ten times as much code, trying to make GridField work on the front-end
206: [04:57:00] <Pyromanik> edit actions and things are an issue
207: [04:57:00] <Pyromanik> mmm
208: [04:57:00] <Pyromanik> ^^
209: [04:57:00] <Pyromanik> DesignerX: form paths dont' work from front end.
210: [04:57:00] * Peavers quit (Ping timeout: 264 seconds)
211: [04:57:00] <Pyromanik> baking up your own 'gridfield' isn't hard.
212: [04:57:00] <FrozenFire> It is trivial to make a simple paginated CRUD interface
213: [04:57:00] <Pyromanik> for front end.
214: [04:58:00] * Pyromanik quit (Quit: leaving)
215: [04:58:00] <Pyromanik> weekend!~
216: [04:59:00] <DesignerX> FrozenFire: this is for testing only . I got the GF on frontend but missing the Back buttons, it shows all tabs & fields as expected ( need more testing)
217: [05:00:00] * Romulus_ has joined #silverstripe
218: [05:00:00] <ss23> Anyone worked with blog module before? Nomming a crazy amount of CPU. Is easiest option just to upgrade to latest 3.0.5 + blog module and hope it's fixed or what?
219: [05:01:00] * FrozenFire bails
220: [05:01:00] <FrozenFire> :P
221: [05:01:00] * FrozenFire shudders
222: [05:01:00] <FrozenFire> Front-end GridField *and* blog module, tonight?
223: [05:01:00] <DesignerX> but i get what you saying FrozenFire , just wantes to play around with it & see how far i can get, lol
224: [05:02:00] <ss23> My problems with blog module are "make it us less CPU"
225: [05:02:00] <FrozenFire> The bootstrap to make GridField work as an interface is heavy, though
226: [05:02:00] <FrozenFire> It's a pipe dream
227: [05:02:00] <FrozenFire> GridField is good because it's a general-purpose CRUD interface
228: [05:03:00] * nickmolhoek quit (Quit: nickmolhoek)
229: [05:04:00] <DesignerX> FrozenFire: creting something new means I have to creat new fields, sorting, all the CSS & JS .. I may do that & make a lighter "GF" module later, but not now for testing :D .. trying to see how much I can get to the front end .
230: [05:05:00] <FrozenFire> Most everyone falls into the first category.
231: [05:05:00] <FrozenFire> Mmhmm
232: [05:05:00] <FrozenFire> If you're doing a lot of CRUD on the front-end, you're either doing it wrong, or you're doing something sophisticated enough that putting the time in to get GridField working might actually be worthwhile.
233: [05:06:00] <DesignerX> or a very basic list of items at the most
234: [05:06:00] <DesignerX> nah, I may not even use it lol
235: [05:07:00] <FrozenFire> Yeah. PaginatedList and a basic Form does most everything you'll want.
236: [05:09:00] <DesignerX> well, this is my weekend game for me, get the most i can of GF on the front end :D
237: [05:10:00] <FrozenFire> :P
238: [05:10:00] * FrozenFire grumbles
239: [05:34:00] * Romulus_ quit (Quit: Page closed)
240: [06:10:00] * wmk has joined #silverstripe
241: [06:36:00] * Colin[pi] has joined #silverstripe
242: [06:43:00] * wmk quit (Ping timeout: 252 seconds)
243: [06:45:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/7ecf56490a40...d766af542d30
244: [06:45:00] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#361 (3.1 - d766af5 : Will Rossiter): The build passed.
245: [06:45:00] * travis-ci has joined #silverstripe
246: [06:45:00] * travis-ci has left #silverstripe
247: [06:45:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/7044179
248: [06:51:00] * EasyCo quit (Quit: EasyCo)
249: [06:58:00] * SphereLaptop has joined #silverstripe
250: [06:59:00] * willmorgan has joined #silverstripe
251: [07:07:00] * SphereLaptop is now known as SphereSilver
252: [07:11:00] <SphereSilver> morning folks
253: [07:11:00] <ss23> moin
254: [07:14:00] * wmk has joined #silverstripe
255: [07:16:00] * howardgrigg has joined #silverstripe
256: [07:19:00] <DesignerX> ss23: moin
257: [07:21:00] * SphereSilver quit (Remote host closed the connection)
258: [07:22:00] * SphereSilver has joined #silverstripe
259: [07:24:00] * PigeonFriend has joined #silverstripe
260: [07:24:00] <willmorgan> hey
261: [07:24:00] <PigeonFriend> hey willmorgan
262: [07:26:00] <DesignerX> Anyone has any plugin (even if still in development ) that manages a list of object on the front end ? or any links to existing one /
263: [07:29:00] * chillu has joined #silverstripe
264: [07:29:00] <elgrodo> DesignerX: Do you mean some sort of CRUD type interface that is skinned as the public website, not the internal CMS?
265: [07:29:00] <DesignerX> elgrodo: yep
266: [07:31:00] <elgrodo> DesignerX: I don't have an example right now but I was looking at something like this whilst trying to scope the price of a project
267: [07:31:00] <elgrodo> or at least some insight
268: [07:31:00] <elgrodo> Maybe https://github.com/chillu/silverstripe-genericviews has somethng useful?
269: [07:32:00] * wmk quit (Ping timeout: 256 seconds)
270: [07:32:00] <elgrodo> http://www.silverstripe.org/generic-views-module/
271: [07:32:00] <elgrodo> "Supported by: Not supported" *sad face*
272: [07:33:00] <DesignerX> elgrodo: its 2.3 :( , but at least will give me an idea .. 1st time at this
273: [07:34:00] <elgrodo> I realise it's old but it's the best I can find from a quick google
274: [07:34:00] <elgrodo> hey converting a module to SS3 is easier than a whole site!
275: [07:34:00] <DesignerX> :) ty
276: [07:35:00] <discorpia> is there any standard way to replicate an entire sitetree to another language? i.e. instead of manually creating translations of each page
277: [07:41:00] * solva quit (Quit: Leaving)
278: [07:43:00] * Liquide quit ()
279: [07:53:00] * lx-berlin_ has joined #silverstripe
280: [07:54:00] * kinglozzer has joined #silverstripe
281: [07:55:00] <SphereSilver> Doesn't translatable have a "clone to new language" feature?
282: [07:57:00] <discorpia> SphereSilver: hmm, i'll look around for it, thanks for the tip
283: [08:05:00] * ^pH- has joined #silverstripe
284: [08:05:00] * ^pH- quit (Read error: Connection reset by peer)
285: [08:07:00] * willr has joined #silverstripe
286: [08:15:00] <ss23> grr, the designer for this site used a background pattern that doesn't tile properly
287: [08:16:00] <DesignerX> ss23: thats called art with a unique finish ..
288: [08:17:00] <DesignerX> what website is it ? wanna have a look lol :D
289: [08:18:00] <ss23> It's not public yet, still doing HTML/CSS
290: [08:27:00] <SphereSilver> Upgrading a 2.4 to 3.1. What could possibly go wrong?
291: [08:29:00] <ss23> SphereSilver: Well, for starters, it's not possible to have modules that work for pre 3.1 and 3.1
292: [08:29:00] <ss23> They made BC changes that mean every module has to maintain two branches
293: [08:29:00] <ss23> So there's that
294: [08:29:00] <SphereSilver> I know ;)
295: [08:29:00] <ss23> I, too, am going to be upgrading from 2.4 to 3
296: [08:29:00] <ss23> 3.0.5 though probably
297: [08:30:00] <SphereSilver> First I'm upgrading to 3.0.5, to prevent the static deprecation notices
298: [08:31:00] <SphereSilver> Then I'm gonna continue to 3.1 probably
299: [08:35:00] * wmk has joined #silverstripe
300: [08:35:00] <ss23> lol
301: [08:35:00] <chillu> Ah the willr ticket crusher is at it again :D
302: [08:36:00] <willr> Actually gonna try and fix a few this time
303: [08:36:00] <willr> 73 tickets left, so close!
304: [08:39:00] <willr> and plus, went out last night. Can't do too much of this social shit. Gets in the way
305: [08:39:00] <ss23> lol
306: [08:41:00] * Ian_Harris has joined #silverstripe
307: [08:45:00] <willr> chillu I'm going to give the ORM pull request a work through at some point too. Probably easier than going through line by line code review
308: [08:45:00] <willr> good to see such massive improvements / pieces of work
309: [08:46:00] * popeshoe quit (*.net *.split)
310: [08:46:00] <chillu> yeah, its pretty crazy
311: [08:46:00] * Colin[pi] quit (*.net *.split)
312: [08:46:00] * Colin[pi] has joined #silverstripe
313: [08:49:00] * micmania1 quit (Ping timeout: 245 seconds)
314: [08:53:00] * abitran_ has joined #silverstripe
315: [08:58:00] <willr> Assume this functions a little bung - https://github.com/silverstripe/sapphire/blob/3.1/model/Versioned.php#L110
316: [08:59:00] * abitran quit (*.net *.split)
317: [09:00:00] <SphereSilver> Here at the office, "Requirements Document" is auto-corrected by the Apple dictionary to "Reutemeteut-document", which is Dutch for "Caboodle document" _O-
318: [09:01:00] * abitran quit (Ping timeout: 246 seconds)
319: [09:01:00] * abitran has joined #silverstripe
320: [09:04:00] <SphereSilver> Where did the class GridFieldBulkEditingTools go?
321: [09:10:00] * WillM has joined #silverstripe
322: [09:10:00] <willr> https://github.com/colymba/GridFieldBulkEditingTools
323: [09:11:00] * Zauberfisch|idle has joined #silverstripe
324: [09:18:00] * chillu23 has joined #silverstripe
325: [09:18:00] * chillu23 quit (Changing host)
326: [09:18:00] * chillu23 has joined #silverstripe
327: [09:20:00] * lx-berlin_ is now known as lx-berlin
328: [09:20:00] * Kapdap_ has joined #silverstripe
329: [09:21:00] * Kapdap quit (Ping timeout: 264 seconds)
330: [09:21:00] * chillu quit (Ping timeout: 264 seconds)
331: [09:21:00] * chillu23 is now known as chillu
332: [09:21:00] * Zauberfisch-idle quit (Ping timeout: 264 seconds)
333: [09:21:00] * willmorgan quit (Ping timeout: 264 seconds)
334: [09:25:00] * r3v3rb has joined #silverstripe
335: [09:26:00] <r3v3rb> morning all, can someone call me stupid...
336: [09:27:00] <lx-berlin> glad to help
337: [09:27:00] <lx-berlin> stupid :)
338: [09:27:00] <r3v3rb> thanks lx-berlin :)
339: [09:28:00] <r3v3rb> I have tried = false too but that also outputs a blank page...
340: [09:28:00] <r3v3rb> in 2.4.10 if I have boolean that I want as negative by default and in the template I want to only output if that variable is still negative - I would have done <% !hideFromList %> but I get an error??? negatives are not supported in 2.4.10?
341: [09:28:00] <willr> Negatives were supported?
342: [09:29:00] <r3v3rb> willr: even^^
343: [09:29:00] <r3v3rb> willlr i thought so, but i get a php error :\
344: [09:29:00] <r3v3rb> I shall take a look again
345: [09:29:00] <r3v3rb> as soon as I put the negativity test in I get : PHP Parse error: syntax error, unexpected '}'
346: [09:30:00] <willr> you have to use <% if not hideFromList %>
347: [09:30:00] <r3v3rb> 2.4.10 not was not supported either from my test
348: [09:30:00] <lx-berlin> or try <% if hideFromList %><% else%>....
349: [09:31:00] <r3v3rb> but would work
350: [09:31:00] * SphereSilver quit (Read error: Connection reset by peer)
351: [09:31:00] <r3v3rb> lx-berlin: ugly...
352: [09:31:00] <lx-berlin> yep
353: [09:32:00] * Bollig|DesignCty quit (Quit: Connection Reset by Mexicans with wirecutters)
354: [09:35:00] * techquila has joined #silverstripe
355: [09:35:00] * zfmf has joined #silverstripe
356: [09:36:00] <willr> Ah sorry, thought you were on 3.0. Yep not was 3.0 introduced
357: [09:37:00] * SphereSilver has joined #silverstripe
358: [09:38:00] * Zauberfisch has joined #silverstripe
359: [09:38:00] * Zauberfisch_ has joined #silverstripe
360: [09:38:00] * Zauberfisch_ quit (Remote host closed the connection)
361: [09:39:00] <r3v3rb> willr: and I love it in 3.0 but this little site only goes online for a month and its not worth upgrading to 3.0 for the clients budget :D
362: [09:40:00] <travis-ci> [travis-ci] silverstripe/sapphire#2190 (3.0 - f45621b : Will Rossiter): The build passed.
363: [09:40:00] * travis-ci has joined #silverstripe
364: [09:40:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/ced199b877ea...f45621b07ee1
365: [09:40:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/7047220
366: [09:40:00] * travis-ci has left #silverstripe
367: [09:42:00] * willr hugs travis-ci
368: [09:42:00] <SphereSilver> willr: I noticed without deprecation-notice, the Tools-class has been removed ;)
369: [09:48:00] <kinglozzer> Anyone seen this before? http://i.imgur.com/1lDUhwa.jpg
370: [09:49:00] <kinglozzer> Can't for the life of me work out where they're coming from
371: [09:49:00] <DesignerX> what is this ?
372: [09:50:00] <kinglozzer> The little red squares
373: [09:53:00] * travis-ci has joined #silverstripe
374: [09:53:00] <travis-ci> [travis-ci] silverstripe/sapphire#2192 (3.1 - 3b72432 : Ingo Schommer): The build passed.
375: [09:53:00] * travis-ci has left #silverstripe
376: [09:53:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/7047381
377: [09:53:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/d47b2026971d...3b72432c407e
378: [09:56:00] * lx-berlin quit (Ping timeout: 272 seconds)
379: [10:10:00] <chillu> kinglozzer: I've seen those appear in Chrome Canary as well when oembed stuff loads in TinyMCE
380: [10:11:00] <kinglozzer> chillu: It's bizarre. They're appearing in Firefox as well. My colleague just went through every image that there was a request for and they aren't in any of them
381: [10:12:00] * Ludovic_ has joined #silverstripe
382: [10:12:00] <chillu> Yeah, can't say for certain its a new Chrome thing - I actually thought it was something in TinyMCE. Weird!
383: [10:15:00] * Ludovic_ has left #silverstripe
384: [10:19:00] <kinglozzer> chillu: Found the cause. We're using simple at the moment while we build the back end, .typography img { background: transparent url(../images/ajax-loader.gif) no-repeat center center; }
385: [10:27:00] * techquila quit (Ping timeout: 256 seconds)
386: [10:28:00] * Zauberfisch quit (Remote host closed the connection)
387: [10:30:00] * wmk quit (Quit: nice to meet you ;))
388: [10:30:00] <simon_w|air> SphereSilver, what tools class?
389: [10:31:00] <SphereSilver> GridFieldBulkEditingTools has been removed from the bulkeditor
390: [10:31:00] <SphereSilver> hadn't noticed, scared the shit outta me :P
391: [10:31:00] <simon_w|air> BulkEditor isn't core
392: [10:31:00] <SphereSilver> I know :)
393: [10:32:00] * Zauberfisch|idle quit (Ping timeout: 252 seconds)
394: [10:32:00] <simon_w|air> So don't expect any sort of deprecation cycle :p
395: [10:33:00] <SphereSilver> Valid point :D
396: [10:35:00] <elgrodo> kinglozzer: Good catch, I have the same issue likes of here http://demo.weboftalent.asia/mappable/map-layers/
397: [10:36:00] <SphereSilver> Eh, I thought they needed to be private?
398: [10:36:00] * ^pH has joined #silverstripe
399: [10:36:00] <kinglozzer> elgrodo: Yeah it had been bugging us all morning!
400: [10:36:00] <SphereSilver> can't run dev/build this way
401: [10:36:00] <SphereSilver> Fatal error: Access level to ErrorPage::$db must be public
402: [10:37:00] <simon_w|air> SphereSilver, Page needs to be changed to private
403: [10:37:00] <SphereSilver> Ah, ofcourse, that's what you get when you upgrade from 2.4
404: [10:38:00] <simon_w|air> Well, when you upgrade
405: [10:39:00] <SphereSilver> Just running through everything, but forgot the private/public in pages
406: [10:39:00] * ^pH- quit (Ping timeout: 276 seconds)
407: [10:39:00] <SphereSilver> thus, 3-2-1 boom
408: [10:48:00] <Colin[pi]> should I use Money or Currency? which class is generally preferred?
409: [10:51:00] <simon_w|air> Especially if you only need one currency
410: [10:51:00] <simon_w|air> It's a lot easier to use
411: [10:51:00] <Colin[pi]> reason being..?
412: [10:51:00] <simon_w|air> Currency
413: [10:52:00] <Colin[pi]> what if they want to support multiple currencies in the future? will it be a pita to refactor?
414: [10:52:00] <simon_w|air> Oh, it only matters if they want something other than a $
415: [10:52:00] <Colin[pi]> k on this project it'll be just AUD afaik
416: [10:53:00] <Colin[pi]> k I'll just use Currency for now :)
417: [10:53:00] <Colin[pi]> 99% sure they'll be sticking with AUD$ for the foreseeable future
418: [10:57:00] <Colin[pi]> oic what you mean, CurrencyField inserts the $ symbol
419: [11:12:00] * Ian_Harris quit (Quit: Leaving)
420: [11:18:00] * Zauberfisch|idle has joined #silverstripe
421: [11:18:00] <priithansen> Can I pick you guises brains? My dObjectA has_many dObjectB's. dObjectB has couple of fields that should be recalculated on every initiation. At the moment every B does the calc itself on construct. But It would be way more efficient if A would to the calc with one swoop for all B's. But then I would have to make sure that I call the function manually everytime before using B's. What would be a good OO way oout of this pickle?
422: [11:21:00] * Colin[pi] quit (Ping timeout: 255 seconds)
423: [11:21:00] <priithansen> I'm thinking B's tell A to make the calc and A stores it in static so every call after that get's the allready processed data.
424: [11:35:00] * popeshoe has joined #silverstripe
425: [11:38:00] <priithansen> ???or a reallly good book about doing OO right
426: [11:59:00] * Colin[pi] has joined #silverstripe
427: [12:04:00] * willr quit (Quit: willr)
428: [12:09:00] <discorpia> when traversing Menu(1) while visiting a level 2 page, how do i check which level 1 entry the current page is a child of? (in the template. i.e. i want to put an active class on both the Menu(1) and the Menu(2)
429: [12:09:00] * Zauberfisch|idle quit (Ping timeout: 252 seconds)
430: [12:12:00] * Colin[pi] quit (Ping timeout: 252 seconds)
431: [12:16:00] <elgrodo> $Parent.Menu(2) mean
432: [12:16:00] <elgrodo> discorpia: Maybe Parent.Menu(2) when you are in level 3?
433: [12:17:00] <elgrodo> and my I key doesn't always work :(
434: [12:19:00] * osterlaus has joined #silverstripe
435: [12:22:00] * Zauberfisch|idle has joined #silverstripe
436: [12:23:00] * r3v3rb quit (Quit: r3v3rb)
437: [12:30:00] <discorpia> forgot about that one
438: [12:30:00] <discorpia> oh, i was looking for $LinkingMode == section
439: [12:34:00] * travis-ci has left #silverstripe
440: [12:34:00] * r3v3rb has joined #silverstripe
441: [12:34:00] * travis-ci has joined #silverstripe
442: [12:34:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/7050581
443: [12:34:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/3b72432c407e...03aa3391a62a
444: [12:34:00] <travis-ci> [travis-ci] silverstripe/sapphire#2197 (3.1 - 03aa339 : Ingo Schommer): The build passed.
445: [12:35:00] * r3v3rb quit (Client Quit)
446: [12:42:00] * travis-ci has joined #silverstripe
447: [12:42:00] * travis-ci has left #silverstripe
448: [12:42:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/7050625
449: [12:42:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/03aa3391a62a...d6733caf14ad
450: [12:42:00] <travis-ci> [travis-ci] silverstripe/sapphire#2198 (3.1 - d6733ca : Ingo Schommer): The build passed.
451: [12:48:00] <SphereSilver> that has to be the strangest request I've ever heard of.
452: [12:48:00] <SphereSilver> http://programmers.stackexchange.com/questions/110487/my-customer-wants-me-to-record-a-video-of-how-i-develop-his-software-product
453: [13:00:00] <DesignerX> lol
454: [13:03:00] <travis-ci> [travis-ci] Change view : https://github.com/chillu/sapphire/compare/2e36e450ca40^...363025c1a344
455: [13:03:00] * travis-ci has left #silverstripe
456: [13:03:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/chillu/sapphire/builds/7051420
457: [13:03:00] <travis-ci> [travis-ci] chillu/sapphire#149 (pulls/cmsform - 363025c : Ingo Schommer): The build failed.
458: [13:03:00] * travis-ci has joined #silverstripe
459: [13:06:00] <travis-ci> [travis-ci] Change view : https://github.com/chillu/silverstripe-cms/compare/babdcc9eea64^...189d272fd35a
460: [13:06:00] * travis-ci has joined #silverstripe
461: [13:06:00] <travis-ci> [travis-ci] chillu/silverstripe-cms#38 (pulls/cmsform - 189d272 : Ingo Schommer): The build failed.
462: [13:06:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/chillu/silverstripe-cms/builds/7051427
463: [13:06:00] * travis-ci has left #silverstripe
464: [13:12:00] <kinglozzer> chillu: Quick question - as I noticed DatetimeField has a broken class. Any issues with doing Convert::raw2att($class); on each class that's fetched through FormField->extraClass()? That solves the issue
465: [13:13:00] <kinglozzer> raw2attr just calls raw2xml, so is there likely to be a problem with xml escaping class names?
466: [13:13:00] * spronk has left #silverstripe
467: [13:14:00] * cloph_away is now known as cloph
468: [13:38:00] * Nivery has joined #silverstripe
469: [13:48:00] * UncleCheese has joined #silverstripe
470: [13:48:00] <UncleCheese> error-404.html doesn't seem to respect localization?
471: [13:49:00] <WillM> and they didn't
472: [13:49:00] <WillM> to my knowledge they are just function aliases as they need to do the same thing
473: [13:49:00] <WillM> kinglozzer: i looked at this as someone raised it as an issue on trac
474: [13:49:00] <WillM> i did a little bit of testing and made sure that they didn't screw up any attribute code, or XML
475: [13:50:00] <kinglozzer> WillM: Ah okay cool
476: [13:50:00] * WillM is now known as willmorgan
477: [13:51:00] <willmorgan> kinglozzer: I'm going to bump the issue anyway, in case someone more knowledgeable knows better
478: [13:52:00] <kinglozzer> willmorgan: It was just one of a few issues with the DatetimeField that made me notice it
479: [13:52:00] <willmorgan> yeah - someone else also noticed it
480: [13:54:00] <willmorgan> https://github.com/silverstripe/sapphire/issues/1690
481: [13:54:00] <kinglozzer> I swear there used to be a search function on the Github issues page
482: [13:54:00] <willmorgan> yeah, the usability is a bit of a dive eh
483: [13:55:00] <willmorgan> except for searching
484: [13:55:00] <willmorgan> you can still search in the top box though
485: [13:55:00] <willmorgan> beats bugzilla tho
486: [13:55:00] <willmorgan> that's how i found that issue above
487: [13:56:00] <kinglozzer> Ahhh the search has been moved up there
488: [13:56:00] <kinglozzer> There used to be another search box just above the list of issues
489: [13:56:00] <willmorgan> https://github.com/search/advanced
490: [13:56:00] <willmorgan> "Issues options" nearer the bottom
491: [14:20:00] * ARNHOE has joined #silverstripe
492: [14:22:00] * ARNHOE quit (Remote host closed the connection)
493: [14:27:00] <zfmf> is there any hook after dev/build
494: [14:29:00] <SphereSilver> like "onAfterBuild" or something?
495: [14:35:00] <zfmf> yes
496: [14:36:00] <zfmf> or is there a way to say dont add this to the manifest, but not with __exclude_manifest file
497: [14:37:00] <SphereSilver> Almost weekend :D https://www.dropbox.com/s/wo0rox7ynbaa5e5/2013-05-10%2016.26.24.jpg
498: [14:37:00] <SphereSilver> that's what it's for....
499: [14:37:00] <elgrodo> kinglozzer: Fixed my mapping demo thanks to your ajax animated gif spot http://demo.weboftalent.asia/mappable/map-layers/ #nomoreredsquares
500: [14:37:00] <SphereSilver> why not using exclude manifest?
501: [14:37:00] * Zauberfisch|idle quit (Ping timeout: 264 seconds)
502: [14:38:00] <zfmf> SphereSilver: i want to en - disable modules from the cms
503: [14:38:00] * jcwacky has joined #silverstripe
504: [14:39:00] <SphereSilver> ahhhhh, hmmmm
505: [14:40:00] <SphereSilver> I can't really think of anything
506: [14:40:00] <jcwacky> I've got a form on an SS2.4 site, which is using the built in DateField Calendar, and also the built in JS validation. But when you click on a date in the calendar, onBlur appears to be being called before it updates the field, meaning that the "Please fill out???" error appears even though a date has been entered. Anyone able to suggest a work around?
507: [14:43:00] * Zauberfisch|idle has joined #silverstripe
508: [14:44:00] * ARNHOE has joined #silverstripe
509: [14:45:00] * UncleCheese quit (Quit: UncleCheese)
510: [14:45:00] * ARNHOE quit (Remote host closed the connection)
511: [14:53:00] * Zauberfisch has joined #silverstripe
512: [14:54:00] * sekjal has joined #silverstripe
513: [14:56:00] <sekjal> anyone available to help me ponder out a complex data model?
514: [14:59:00] <sekjal> I've got a dataobject that has three separate relationships with it's own class
515: [15:00:00] <sekjal> object is Term, and relationships are BroaderTerm (BT), NarrowerTerm (NT) and RelatedTerm (RT).
516: [15:00:00] <sekjal> BT and NT are inverses, that is, if A NT B, then B BT A
517: [15:00:00] <sekjal> but RT is it's own inverse: if A RT B, then B RT A
518: [15:01:00] <sekjal> it's easy enough to represent BT and NT, but I'm stuck on how to represent RT
519: [15:12:00] * SphereSilver quit (Remote host closed the connection)
520: [15:13:00] * Zauberfisch quit (Remote host closed the connection)
521: [15:25:00] * DesignerX quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/)
522: [15:26:00] * ARNHOE has joined #silverstripe
523: [15:32:00] * ARNHOE quit (Remote host closed the connection)
524: [15:45:00] * ocm has joined #silverstripe
525: [15:45:00] <ocm> howdy!
526: [15:45:00] <ocm> little question about the UserDefinedForms: is it possible to have a extended UserDefinedForm on which I prepopulate some formfields?
527: [15:48:00] * UndefinedOffset has joined #silverstripe
528: [15:53:00] <ocm> any thoughts on that? :)
529: [16:01:00] * Zauberfisch|idle quit (Read error: Connection reset by peer)
530: [16:02:00] * Zauberfisch has joined #silverstripe
531: [16:04:00] * SphereSilver has joined #silverstripe
532: [16:08:00] * Zauberfisch^idle has joined #silverstripe
533: [16:10:00] * kinglozzer quit (Remote host closed the connection)
534: [16:10:00] * Nivery quit (Quit: Nivery)
535: [16:11:00] * priithansen quit (Quit: priithansen)
536: [16:18:00] * ocm quit (Read error: Connection reset by peer)
537: [16:22:00] * Zauberfisch_ has joined #silverstripe
538: [16:27:00] <willmorgan> override getCMSFields and then you can set the values on the fields if they have none yet
539: [16:27:00] <willmorgan> ocm: Yes, it's possible I think, by overriding getCMSFields
540: [16:33:00] * osterlaus has left #silverstripe
541: [16:37:00] * joelpittet has joined #silverstripe
542: [16:40:00] * Zauberfisch_ quit (Ping timeout: 245 seconds)
543: [16:46:00] * zfmf has left #silverstripe
544: [16:46:00] * priithansen has joined #silverstripe
545: [17:00:00] * Colin[pi] has joined #silverstripe
546: [17:03:00] * willmorgan quit (Quit: Ciao mateys.)
547: [17:17:00] * UncleCheese has joined #silverstripe
548: [17:24:00] <SphereSilver> Any yaml-experts here?
549: [17:25:00] <SphereSilver> If so, is it possible to rewrite "LeftAndMain::require_css('silverstripe-newsmodule/css/news_icon.css');" to yaml? (this is currently in _config.php)
550: [17:25:00] <SphereSilver> Or, is this one Yamalable? "ShortcodeParser::get()->register('tweet',array('NewsHolderPage','TweetHandler'));"
551: [17:26:00] <FrozenFire> It's bad enough that some people think that CSS requirements should be in the controller.
552: [17:26:00] <SphereSilver> Yamlable I guess it is...
553: [17:26:00] <FrozenFire> You're going to make me throw up
554: [17:26:00] <FrozenFire> CSS requirements in the YAML config?
555: [17:26:00] <SphereSilver> I want an empty _config ;)
556: [17:26:00] <SphereSilver> Just asking IF it is possible ;)
557: [17:27:00] <FrozenFire> Requirements should not be in the config.
558: [17:27:00] <SphereSilver> I want to include a tiny bit of CSS to set a simple icon in the CMS
559: [17:27:00] <SphereSilver> where else should it be set than?
560: [17:27:00] <FrozenFire> So hook LeftAndMain
561: [17:27:00] <SphereSilver> This is for the backend, to set the icon
562: [17:27:00] <FrozenFire> At all.
563: [17:27:00] <FrozenFire> class LeftAndMainHook extends Extension { public function onAfterInit() { ... } }
564: [17:30:00] <SphereSilver> That actually works? Never thought of that....
565: [17:31:00] * PigeonFriend quit ()
566: [17:38:00] * priithansen quit (Quit: priithansen)
567: [17:45:00] <UncleCheese> I know it has to go under Injector:
568: [17:45:00] <UncleCheese> does anyone know how to use the config layer to do the equivalent of Object::useCustomClass()?
569: [17:49:00] * SphereSilver quit (Remote host closed the connection)
570: [17:49:00] <FrozenFire> WHY YOU NOT WORKING
571: [17:49:00] * FrozenFire is angry at silverstripe-comments
572: [17:50:00] * SphereSilver has joined #silverstripe
573: [17:50:00] <FrozenFire> Err, ProvideComments, rather
574: [17:50:00] <FrozenFire> ProvidesComments is true
575: [17:50:00] <FrozenFire> $CommentsForm in template of BlogEntry
576: [17:58:00] <FrozenFire> WORK
577: [17:58:00] * FrozenFire smashes on his keyboard
578: [18:01:00] * wmk has joined #silverstripe
579: [18:03:00] * Zauberfisch quit (Remote host closed the connection)
580: [18:06:00] <FrozenFire> I think silverstripe-comments may be broken with the latest 3.1
581: [18:06:00] <FrozenFire> At least on SiteTree
582: [18:06:00] <FrozenFire> When it renders $CommentsForm it apparently botches $CommentsEnabled
583: [18:07:00] * curtosis has joined #silverstripe
584: [18:20:00] <FrozenFire> Oh god.
585: [18:20:00] <FrozenFire> Fucking versioned.
586: [18:20:00] * FrozenFire is getting sick of this shit...
587: [18:21:00] <SphereSilver> What did you do?
588: [18:22:00] <FrozenFire> I updated that field in the database
589: [18:22:00] <FrozenFire> But forgot about Versioned
590: [18:22:00] <FrozenFire> ProvideComments defaults to false
591: [18:23:00] <FrozenFire> Forgot to publish the change to all of those pages
592: [18:23:00] <SphereSilver> I know the feeling :)
593: [18:37:00] * willmorgan has joined #silverstripe
594: [18:47:00] * Zauberfisch has joined #silverstripe
595: [18:48:00] * UncleCheese quit (Quit: UncleCheese)
596: [18:53:00] * Zauberfisch quit (Ping timeout: 252 seconds)
597: [19:38:00] * FrozenFire proceeds to cry at having to go back to trying to figure out this many-many field override
598: [19:39:00] <FrozenFire> Goddamnit
599: [19:39:00] * FrozenFire doesn't use a hack
600: [19:39:00] * FrozenFire uses a hack
601: [19:40:00] <FrozenFire> It'd require so much change in code to switch this undirectional many-many to a bidirectional many-many
602: [19:45:00] * zfmf has joined #silverstripe
603: [19:49:00] * ^pH- has joined #silverstripe
604: [19:52:00] * ^pH quit (Ping timeout: 276 seconds)
605: [20:17:00] <SphereSilver> ShortcodeParser::get()->register('slideshow', array('NewsHolderPage','createSlideshow'));
606: [20:17:00] <SphereSilver> FrozenFire puked, so... how to fix this via YAML and extensions FrozenFire ?
607: [20:18:00] <FrozenFire> You'd not
608: [20:19:00] <FrozenFire> I don't think ShortcodeParser is set up to work with the Config system yet
609: [20:19:00] <FrozenFire> Even the framework doesn't try to do it using YAML
610: [20:23:00] * gelignite has joined #silverstripe
611: [20:26:00] * UndefinedOffset quit (Quit: Leaving.)
612: [20:35:00] <SphereSilver> bummer :)
613: [20:36:00] <FrozenFire> Make it happen and make a PR ;)
614: [20:36:00] <SphereSilver> That's gonna be next week, fix stuff that makes the bankaccount happy first :P
615: [20:38:00] <FrozenFire> No doubt
616: [20:39:00] <SphereSilver> Kinda pondering how to fix it, but I really, really need to fix stuff that pays for the stuff and such :)
617: [20:39:00] <SphereSilver> Why am I even here :/
618: [20:43:00] * OldTom quit (Ping timeout: 256 seconds)
619: [21:07:00] * FrozenFire angrily yells at SS
620: [21:08:00] * SightUnseen has joined #silverstripe
621: [21:08:00] * SightUnseen has left #silverstripe
622: [21:09:00] <FrozenFire> Ordinarily I'd assume I was just doing something wrong
623: [21:09:00] <FrozenFire> It's just screwing with me at this point
624: [21:09:00] * micmania1 has joined #silverstripe
625: [21:10:00] <FrozenFire> One text field.
626: [21:10:00] <micmania1> Anybody know anything about setters and getters? I've got a method named "setTheme" which is being called by the CMS when I save because I have a db field called 'Theme'.
627: [21:10:00] <FrozenFire> But this is so clearly fucked that even two days of trying have been unfruitful.
628: [21:10:00] <FrozenFire> micmania1, Yes
629: [21:11:00] <SphereSilver> If the get/set method exists, it'll override the fieldname
630: [21:11:00] * wmk quit (Ping timeout: 252 seconds)
631: [21:11:00] <micmania1> Although unintentional, its actually quite useful but I don't know how to use it. Is there any documentation of these special methods?
632: [21:11:00] <FrozenFire> http://doc.silverstripe.org/framework/en/topics/datamodel#properties
633: [21:12:00] <micmania1> Perfect! Cheers.
634: [21:20:00] * EasyCo has joined #silverstripe
635: [21:33:00] * SphereSilver quit (Remote host closed the connection)
636: [21:38:00] * priithansen has joined #silverstripe
637: [21:43:00] * pex has joined #silverstripe
638: [21:51:00] * priithansen quit (Quit: priithansen)
639: [22:02:00] <FrozenFire> Anyone know if the blog module supports scheduling of sorts?
640: [22:03:00] <FrozenFire> Setting the Date to the future to have it show then, that is.
641: [22:04:00] <willmorgan> i'm sure it would be easy FrozenFire
642: [22:04:00] <willmorgan> just change the display query
643: [22:04:00] <willmorgan> so it looks for published <= now()
644: [22:05:00] <willmorgan> though it may well be in there now
645: [22:05:00] <FrozenFire> Yep. Just wondering if the blog module does it
646: [22:05:00] * FrozenFire should probably just try checking
647: [22:11:00] * willr has joined #silverstripe
648: [22:15:00] * willmorgan quit (Quit: Leaving.)
649: [22:16:00] * UncleCheese has joined #silverstripe
650: [22:23:00] * zfmf has left #silverstripe
651: [22:28:00] * UncleCheese quit (Quit: UncleCheese)
652: [22:34:00] <willr> @chillu still awake?
653: [22:40:00] * micmania1 quit (Ping timeout: 245 seconds)
654: [22:59:00] * joelpittet quit (Remote host closed the connection)
655: [23:01:00] * Zauberfisch has joined #silverstripe
656: [23:11:00] <jcwacky> Are there any basic examples of using the SS Framework without the CMS that I can use to learn the basics of creating an app with SS?
657: [23:21:00] * chillu quit (Quit: chillu)
658: [23:32:00] * curtosis quit (Quit: Textual IRC Client: http://www.textualapp.com/)
659: [23:45:00] * Pyromanik__ has joined #silverstripe
660: [23:46:00] <Pyromanik__> ss23:
661: [23:46:00] <Pyromanik__> http://www.straitreservations.com/Reservations/Search.aspx?PropertyID=4481&ChangeDate=25-May-2013
662: [23:47:00] * Zauberfisch quit (Remote host closed the connection)
663: [23:47:00] <ss23> Pyromanik__: Are you getting one alone, or did you want to go halfs?
664: [23:49:00] <Pyromanik__> I was thinking $50 for a single or $55 for a double split... probably just go with the single.
665: [23:49:00] * pex quit (Quit: pex)
666: [23:50:00] <Pyromanik__> then again, meh
667: [23:50:00] <Pyromanik__> oh they have lockers
668: [23:50:00] <Pyromanik__> hmm
669: [23:50:00] <Pyromanik__> could put computer in there
670: [23:53:00] <Pyromanik__> what you reckon?
671: [23:54:00] <Pyromanik__> where is irogue staying?
672: [23:54:00] <Pyromanik__> ss23:
673: [23:54:00] <Pyromanik__> are we meeting up for breakfast or anythnig?
674: [23:55:00] <ss23> Irogue is staying at a hotel, but the hotel is $55 each for a room, Pyromanik__
675: [23:55:00] <ss23> Pyromanik__: Oh the day me and irogue fly in, I think we're going to get breafkast with simon_w|air
676: [23:55:00] <ss23> like
677: [23:55:00] <ss23> each
678: [23:55:00] <ss23> a double room, two beds and ensuite == $55
679: [23:56:00] <willr> ss23 where was my invite. I know who's your favourite...
680: [23:56:00] <ss23> willr: It's just, I thought you would be busy
681: [23:56:00] <ss23> I didn't want to seem desperate, willr <3
682: [23:56:00] <Pyromanik__> which hotel ss23?
683: [23:56:00] <ss23> On the morning after, no idea
684: [23:56:00] <simon_w|air> On the morning after, I'm sleeping :p
685: [23:56:00] * ss23 blushes
686: [23:56:00] <ss23> willr: YOU CAN COME TOO
687: [23:57:00] <FrozenFire> $55 for two beds?
688: [23:57:00] <ss23> will just check, Pyromanik__
689: [23:57:00] <FrozenFire> Christ.
690: [23:57:00] <ss23> FrozenFire: $55 each
691: [23:58:00] <Pyromanik__> it won't be anything flash
692: [23:58:00] <Pyromanik__> you can fit a young family in there
693: [23:58:00] <Pyromanik__> yeh
694: [23:58:00] <FrozenFire> Each bed?
695: [23:58:00] <Pyromanik__> no
696: [23:58:00] <Pyromanik__> as in 110 for a room
697: [23:58:00] <ss23> well, $110 for the room, with 2 beds
698: [23:58:00] <ss23> and ensuite
699: [23:58:00] <FrozenFire> Yeah, so effectively, $55/bed, unless it's a couple
700: [23:58:00] <Pyromanik__> yeh, basically
701: [23:58:00] <FrozenFire> That's still pretty minimal
702: [23:58:00] <Pyromanik__> double bed + single
703: [23:58:00] <FrozenFire> If it's remotely nice
704: [23:59:00] <ss23> No I take it back.
705: [23:59:00] <ss23> Turns out I accidently 50%'d it again
706: [23:59:00] <Pyromanik__> ?
707: [23:59:00] <ss23> wait no
708: [23:59:00] <ss23> I'm right
709: [23:59:00] <Pyromanik__> what
710: [23:59:00] <ss23> Turns out I just read the wrong price this time
711: [23:59:00] <Pyromanik__> just f'n link
712: [23:59:00] <FrozenFire> Where I worked, it was $165/night *starting* for two beds.
713: [23:59:00] <FrozenFire> :P
714: [23:59:00] <ss23> FrozenFire: It's normally $220. Guessing they make it cheap so that people who would normally go to packpackers can go to a nice place when they have spare beds
715: [23:59:00] <FrozenFire> $195/night for three beds
716: [23:59:00] <ss23> $110, $55 each, yes - https://www.thebookingbutton.com.au/properties/westplazadirect?currency=NZD&locale=en&start_date=2013-05-25
717: [23:59:00] <ss23> lol
718: [23:59:00] <ss23> No point in having empty rooms, so might as well make them cheap

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