#silverstripe IRC Log

IRC log for 5 September 2013

All timestamps are in UTC.

1: [00:00:46] <simon_w> http://api.logs.simon.geek.nz/2.4/class-SiteTree.html
2: [00:01:02] <ss23> I still blame your PR.
3: [00:02:36] <ss23> So like
4: [00:02:41] <ss23> how does the URLSegment work for the home page?
5: [00:02:50] <ss23> URLSegment == "", or "/"?
6: [00:03:03] <Colin[pi]> or /home ?
7: [00:03:17] <ss23> /home doesn't work, I don't think. On this site, going to /home redirects to /
8: [00:03:39] <ss23> hmm
9: [00:03:42] <ss23> /index works :D
10: [00:04:26] <Colin[pi]> urlsegment on my current site for home is 'home' ;P
11: [00:04:30] <Colin[pi]> but whatever works
12: [00:05:18] <ss23> omg it won't generate it still
13: [00:05:18] <ss23> fml
14: [00:05:20] <ss23> y
15: [00:05:23] * ss23 cries
16: [00:06:03] * ss23 tries '/' instead
17: [00:06:23] <ss23> phew
18: [00:06:24] <ss23> works now
19: [00:07:26] <Colin[pi]> wait did you break a live site?
20: [00:07:29] <Colin[pi]> not a staging site?
21: [00:07:36] <ss23> lol
22: [00:07:40] <ss23> I didn't break it!
23: [00:07:43] <ss23> I just *found* it
24: [00:07:45] <Colin[pi]> lol
25: [00:07:54] <ss23> I can only imagine it's always been broken, and completely unrelated to the release I did that it started breaking after
26: [00:07:58] <ss23> THE BUG
27: [00:07:59] <ss23> I JUST NOTICED IT
28: [00:08:00] <ss23> ;_;
29: [00:08:03] <ss23> AWLAYS EXISTED
30: [00:08:29] <Colin[pi]> excuses, excuses :D
31: [00:08:56] <ss23> luckily I can fix this bug on dev, check on staging, then go to live
32: [00:09:04] <ss23> in the mean time, they'll just have to take updates every day instead of 15 mins
33: [00:09:07] <ss23> :/
34: [00:09:08] <guzzlefry> So, subscripts in the HTMLEditor?
35: [00:09:11] <ss23> or I could hotfix...
36: [00:09:14] <ss23> PRobably will hotfix
37: [00:11:22] * nhorstmeier has joined #silverstripe
38: [00:15:51] <guzzlefry> oh good, there's a "squared" character.
39: [00:17:52] * atmos has joined #silverstripe
40: [00:37:10] * atmos quit (Quit: Page closed)
41: [00:42:01] * cloph_away has joined #silverstripe
42: [00:42:27] * cloph quit (Ping timeout: 256 seconds)
43: [00:43:47] * Stomach quit (Quit: Leaving.)
44: [00:49:30] <ss23> simon_w: Let me know if you want to get lunch with me today ^.^
45: [00:58:23] <simon_w> Okay
46: [01:00:23] * Stomach has joined #silverstripe
47: [01:05:25] <ss23> I don't know xpath
48: [01:05:25] <ss23> :<
49: [01:05:47] <zippy__> chrome/firefox have little xpaths in the inspector which can help
50: [01:06:12] <zippy__> including 'Copy XPath'
51: [01:07:48] <ss23> Doesn't quite help me enough
52: [01:07:54] <ss23> You can though if you liek, zippy__ :D
53: [01:08:08] <ss23> $xml->xpath('//td[@class="middle"]//div[@class="content"]//p//a[@title]/..');
54: [01:08:18] <ss23> I need to change this so it ignores the first <a>
55: [01:08:37] <ss23> It can either be "don't do the first a", or "don't do the a with an ID attribute"
56: [01:09:01] <ss23> I tried //td[@class="middle"]//div[@class="content"]//p//a[@title and @id != "ID of the thing"]/.. but it didn't work
57: [01:09:48] <zippy__> $xml->xpath('(//td[@class="middle"]//div[@class="content"]//p//a[@title]/)[1]'); ?
58: [01:12:15] <zippy__> ss23: //td[@class="middle"]//div[@class="content"]//p//a[@title and not (@id="ID of the thing")] ?
59: [01:12:49] <Colin[pi]> ah the old open source paradox... download code so you don't need to write it, spend hours fixing it so it actually works
60: [01:17:42] <ss23> zippy__: Needs to be every a *apart* from the first, but I'll try the second
61: [01:20:56] * DigNZ has joined #silverstripe
62: [01:22:24] <zippy__> any jquery gurus about?
63: [01:23:05] <zippy__> I am trying to do something a better way :) I am wondering if it's possible to attach a function to an element.
64: [01:23:18] <zippy__> like a plugin I guess, but they seem to be 'one shots'....
65: [01:23:41] <zippy__> maybe I should join #jquery..
66: [01:26:00] <ss23> k
67: [01:26:15] <ss23> turns out my xpath was failing because the XML I was looking at wasn't the real XML the script ran on >.<
68: [01:26:17] <zippy__> ss23: any luck with the xpath?
69: [01:26:27] <zippy__> nuts!
70: [01:26:28] <ss23> hopefully there will be now :P
71: [01:34:39] <ss23> rage
72: [01:34:48] <ss23> this is hard because I can't find a good way to view the document
73: [01:34:49] <ss23> :<
74: [01:35:22] <ss23> I take it back, Chroem can
75: [01:35:23] <ss23> :D
76: [01:40:47] <Zauberfisch> zippy__: you mean something like this: $('.foo').bind('myMethod', function() { ... });
77: [01:41:13] <Zauberfisch> and then call $('#myFoo').myMethod on <div class=foo id=myFoo/> ?
78: [01:42:23] <zippy__> Zauberfisch: yea like that, but apparently that way it's true blue jquery nice - so looking over this ; http://bililite.com/blog/understanding-jquery-ui-widgets-a-tutorial/
79: [01:42:47] <Zauberfisch> zippy__: forget #jquery
80: [01:42:51] <Zauberfisch> zippy__: you are perfect here
81: [01:43:25] <Zauberfisch> hamish (the one from silverstripe ltd) made a JS lib for the silverstripe CMS that does exactly that
82: [01:43:42] <zippy__> uses $('.foo').bind('myMethod', function() { . ?
83: [01:43:52] <Zauberfisch> its called entwine.js (formerly/or still known as: jquery.entwine)
84: [01:44:04] <Zauberfisch> syntax is a bit different (better if you ask me)
85: [01:44:55] <Zauberfisch> $('.foo').entwine({ myMethod: function() { this.css({border: '1px solid red'}) }})
86: [01:45:57] <zippy__> yea I wonder if that is going to hose up other plugins
87: [01:46:08] <Zauberfisch> also nice to bind events (I love entwine, I have jquery bindings, because jquery becomes spagethi code really quick, entwine keeps it a bit cleaner)
88: [01:46:52] <Zauberfisch> zippy__: no, entwine has namespace support, so you could just wrap it into a namespace
89: [01:47:07] <Zauberfisch> (fake namespaces of course, since JS has no such thing)
90: [01:47:34] <Zauberfisch> and no need to download it, its already in silverstripe
91: [01:47:53] <Zauberfisch> Requirements::javascript(THIRDPARTY_DIR . '/jquery-entwine/dist/jquery.entwine-dist.js');
92: [01:48:13] <Zauberfisch> and before that you should include jquery if you haven't already:
93: [01:48:20] <Zauberfisch> Requirements::javascript(THIRDPARTY_DIR . '/jquery/jquery.min.js');
94: [01:49:17] <Zauberfisch> zippy__: here is a good example of how you can use entwine: https://github.com/Zauberfisch/silverstripe-boilerplate/blob/master/mysite/javascript/plugins.js#L22
95: [01:49:36] * xyz123 has joined #silverstripe
96: [01:49:39] <Zauberfisch> everything from line 22 and down
97: [01:51:23] <zippy__> mmm that is what I am after really...
98: [01:51:37] <zippy__> thanks verymuch
99: [01:52:37] <ss23> Hmm
100: [01:53:10] <xyz123> Hi, I'm having some trouble installing the multiform module. I have copied the module to my root folder, but whenever I go to mysite/dev/build, the page loads up and I get to the "Creating database tables" heading, but I never get a message saying that the build has completed... I have no idea why this is - please help!!
101: [01:53:13] <Zauberfisch> zippy__: always happy to get people to use entwine
102: [01:53:26] <zippy__> ss23: broke?
103: [01:53:27] <Zauberfisch> zippy__: if you have any entwine questions, feel free to poke me
104: [01:53:32] <ss23> I'm doing <% if NewsAggregator.Feed %> in 2.4, and it seems to imply that the NewsAggregator, which comes from HomePage.php, doens't exist
105: [01:53:47] <ss23> object(Page)#246 (15) { ["destroyed"]=> bool(false) ["record":protected]=> array(8) { ["ID"]=> int(0)
106: [01:53:53] <ss23> when I var_dump it from the template
107: [01:54:17] <Zauberfisch> xyz123: which ss version? ss23, ss24 or ss3?
108: [01:54:21] <ss23> 24
109: [01:54:21] <Zauberfisch> or ss31
110: [01:54:39] <Zauberfisch> no one is talking to you ss23 :P
111: [01:55:06] <xyz123> Zauberfisch: ss3.05 from http://www.silverstripe.org/stable-download/
112: [01:55:30] <xyz123> sorry, 3.0.5
113: [01:55:36] <Zauberfisch> got it
114: [01:55:49] <Zauberfisch> hmmm,
115: [01:56:17] <Zauberfisch> i think the dev/build flush bug is only in 3.1, but to be sure try running /dev/build?flush=1
116: [01:57:02] <Zauberfisch> ss23: so you are still maintaining 24 sites?
117: [01:57:25] <xyz123> Zauberfisch: trying now
118: [01:58:09] <xyz123> same result
119: [01:58:19] <Zauberfisch> then no idea
120: [01:58:43] <simon_w> xyz123, sounds like display_errors is Off
121: [01:58:44] * Bollig|DesignCty has joined #silverstripe
122: [01:58:47] <xyz123> Zauberfisch: it's as if there is an error/exception thrown but not reported... is there a way to crank up the error reporting
123: [01:59:01] <xyz123> simon_w: just what I was thinking
124: [02:00:31] <simon_w> so turn it on and try again
125: [02:00:38] <Zauberfisch> xyz123: well, I am actually to busy to provide support at the moment, I just wanted to mention the flush issue in 3.1, since this is a common problem at the moment
126: [02:01:07] <xyz123> Zauberfisch: I understand - thanks for the help
127: [02:01:44] <xyz123> perhaps someone else can help - now with error reporting on, I get the following:
128: [02:01:46] <xyz123> Fatal error: Access level to MultiFormSession::$db must be public (as in class DataObject) in /var/www/sportvine/multiform/code/model/MultiFormSession.php on line 68
129: [02:02:02] * UncleCheese quit (Quit: UncleCheese)
130: [02:02:19] <guzzlefry> Will SS work when accessing the page directly through the IP?
131: [02:02:37] <ss23> Zauberfisch: Uh, yes, most clients don't have the $10k or w/e required to upgrade :P
132: [02:02:54] <spronk> fucking
133: [02:02:54] <spronk> 10k?!
134: [02:03:18] <spronk> i need to charge more.
135: [02:03:21] <ss23> lol
136: [02:03:23] <ss23> :D
137: [02:03:32] <ss23> k guise figured it out
138: [02:03:36] <ss23> a page wasn't published
139: [02:03:40] * spronk was down to like 80/hour for his last project. Sigh
140: [02:03:41] <ss23> I still have 0 idea how it got *unpublished*
141: [02:03:47] <spronk> bit rot
142: [02:03:50] <spronk> drives are fucked bro
143: [02:04:27] <guzzlefry> hrm, anyone?
144: [02:04:38] <spronk> guzzlefry: prooobably not
145: [02:04:43] <guzzlefry> ah :/
146: [02:05:05] <spronk> well
147: [02:05:20] <spronk> you might be able to configure it to work
148: [02:05:25] <spronk> in fact you probably can
149: [02:05:41] <spronk> just as long as whatever vhost it is on is the default for that IP
150: [02:06:17] <Colin[pi]> well I must say adapting ss-shop for my default install is going better than I hoped
151: [02:06:39] <Colin[pi]> there is the usual "HHNNNNGGGGGGG" clash of templates and css, but otherwise ok
152: [02:07:00] <spronk> h2n4g7
153: [02:07:03] <spronk> interesting compound
154: [02:07:08] * spronk isn't sure wtf a G is
155: [02:07:48] <simon_w> ss23, four minutes
156: [02:07:55] <ss23> mmk
157: [02:07:59] <ss23> Time to deploy a release, right guise? :D
158: [02:08:27] <Colin[pi]> DO EEET
159: [02:08:29] <spronk> ABSOLUTELY
160: [02:08:32] <ss23> TRYING
161: [02:08:33] <ss23> TRYING
162: [02:08:41] <spronk> DO OR DO NOT
163: [02:08:55] <spronk> there is no try.
164: [02:08:59] <ss23> idk how this page got unpublished, annoying
165: [02:09:02] <spronk> Also, side note, there is no spoon.
166: [02:09:57] <ss23> urgh
167: [02:10:00] <ss23> client just made some angry tickets
168: [02:10:04] <ss23> fuck fixing their bugs, I'm going to lunch
169: [02:10:04] <Zauberfisch> xyz123: have you gotten a reply yet?
170: [02:10:05] <ss23> bbiab
171: [02:10:24] <xyz123> nope
172: [02:11:00] <Zauberfisch> xyz123: ok, then I guess its on me
173: [02:11:25] <Zauberfisch> xyz123: in 3.0.5 public static $db = array(); has been changed to private static $db = array();
174: [02:11:36] <xyz123> I'm grep'ing and sed'ing all the "private static" variables to "public static" - that seems to have done the trick
175: [02:11:48] <xyz123> ok, so that makes sense
176: [02:11:53] <Zauberfisch> that means that all statics (like $db, $has_one, $has_many, $allowed_actions, ......) have to be changed from public to private
177: [02:12:04] <Zauberfisch> this also means that from 3.0 to 3.0.5 many modules and website break
178: [02:12:16] <Zauberfisch> I guess the module you are using has not been upgraded to 3.0.5
179: [02:12:27] <xyz123> yup, I just figured this out and got multiform to work!
180: [02:12:29] <Zauberfisch> I suggest you fork the module, and simply replace the public static with private static
181: [02:12:42] <xyz123> right
182: [02:12:47] <xyz123> will do
183: [02:12:48] <xyz123> thanks
184: [02:14:24] <Zauberfisch> and a pull request to the module would be cool
185: [02:15:56] <xyz123> sure, as soon as I get a chance - I wish I'd have logged on here 3 hrs ago ;)
186: [02:16:38] <Zauberfisch> (:
187: [02:17:28] <xyz123> woop! it works now!
188: [02:18:59] <xyz123> Zauberfisch: now that I have managed to install a module, how do I actually access it?
189: [02:19:33] <xyz123> for example, I just installed eventmanagement - how do I see the event manager?
190: [02:21:13] <spronk> Guilty pleasures: The Fast and The Furious.
191: [02:21:42] <xyz123> Zauberfisch: never mind - I think I've worked it out
192: [02:22:19] <Zauberfisch> xyz123: really depends on the module
193: [02:22:29] <Zauberfisch> some modules you will never notice in the CMS
194: [02:22:36] <Zauberfisch> others change everything completely
195: [02:22:47] <xyz123> cool - will keep that in mind
196: [02:23:16] <Zauberfisch> really depends on the module, or actually, on what the module tries to do
197: [02:23:47] * UncleCheese has joined #silverstripe
198: [02:23:58] <Zauberfisch> ohai UncleCheese
199: [02:26:35] <spronk> anyone got a good deployment checklist for ss3?
200: [02:26:45] <Zauberfisch> UncleCheese: any reason why the "save and new" got replaced by 2 buttons one "save" and one "new record"?
201: [02:27:16] <Zauberfisch> (not criticizing, just curious)
202: [02:27:39] <Zauberfisch> spronk:
203: [02:27:46] <Zauberfisch> - grep for your test email
204: [02:27:50] <Zauberfisch> - grep for TODO
205: [02:27:58] <Zauberfisch> - switch to live mode
206: [02:28:12] <Zauberfisch> - check if Requirements::combined_files works correctly
207: [02:28:17] <Zauberfisch> - check file permissions
208: [02:28:30] <Zauberfisch> - check that file upload in the CMS works
209: [02:29:38] <Zauberfisch> hmmm
210: [02:30:39] <Zauberfisch> - remove phpMyAdmin should you have it exposed to public access
211: [02:36:46] <guzzlefry> Which apache modules are required for the rewrite rules to work without index.php?
212: [02:37:53] * UncleCheese quit (Quit: UncleCheese)
213: [02:39:33] <spronk> hmm
214: [02:39:40] <spronk> need this stuff in a checklist
215: [02:42:11] * swordsmanz quit (Quit: swordsmanz)
216: [02:43:18] <guzzlefry> Has anyone here used SilverStripe on a fresh Ubuntu Rackspace instance?
217: [02:43:30] <guzzlefry> I don't think my .htaccess is getting read at all.
218: [02:43:49] * UncleCheese has joined #silverstripe
219: [02:44:21] <Zauberfisch> guzzlefry: default unbuntu apache ignores .htaccess files
220: [02:44:29] <UncleCheese> Zauberfisch: Good question. I had heaps of users submitting requests to change the buttons in a way that better suited their own workflows and projects
221: [02:44:30] <Zauberfisch> you have to set AllowOverride All
222: [02:44:38] <guzzlefry> Why would it do that?! :P
223: [02:44:38] <UncleCheese> so I just made the whole thing configurable in the YAML
224: [02:44:49] <Zauberfisch> UncleCheese: its configureable, cool
225: [02:44:52] <UncleCheese> You can add your save and add new button very easily
226: [02:45:00] <UncleCheese> it's all in the readme
227: [02:45:11] <Zauberfisch> I guess I sould read the readmes then :D
228: [02:46:41] <guzzlefry> Zauberfisch: thank you sir
229: [02:48:19] <Zauberfisch> UncleCheese: shame on me I guess, and this is not the only case, recently my collegue started naming the readmes "README OR DIE"
230: [02:48:30] <UncleCheese> haha
231: [02:48:56] <Zauberfisch> and created a issue with the same name and the file attached to it assigned to me^^
232: [02:53:15] * xyz123 quit (Ping timeout: 250 seconds)
233: [03:32:52] * priithansen quit (Quit: priithansen)
234: [03:35:11] * cloph has joined #silverstripe
235: [03:35:31] * cloph_away quit (Ping timeout: 260 seconds)
236: [03:40:42] * UncleCheese quit (Read error: Connection reset by peer)
237: [03:40:55] * UncleCheese has joined #silverstripe
238: [03:49:54] * zippy__ quit (Ping timeout: 264 seconds)
239: [03:52:07] * nhorstmeier quit (Remote host closed the connection)
240: [03:58:57] * Stomach quit (Quit: Leaving.)
241: [04:13:59] <spronk> ew
242: [04:14:02] <spronk> you guys seen yahoo's new logo?
243: [04:14:26] <spronk> http://www.theverge.com/2013/9/5/4696274/yahoo-reveals-its-new-logo
244: [04:14:39] <lewellyn> it hit the site some hours ago, yes. :
245: [04:14:44] <lewellyn> :/
246: [04:15:00] <spronk> yikes.
247: [04:17:01] <Colin[pi]> um so that 3d beveling is part of the logo?
248: [04:17:34] <spronk> apparently so
249: [04:17:38] <spronk> looks like a fucking perfume company
250: [04:17:57] <Colin[pi]> um yeah that's not going to go so well as a web banner resolution file
251: [04:18:17] <lewellyn> note that they animate the logo...
252: [04:18:39] <lewellyn> http://l.yimg.com/rz/l/ai_large_purple.png is the spritesheet for it.
253: [04:18:54] <spronk> :|
254: [04:19:22] <Colin[pi]> sheesh
255: [04:19:53] <ss23> guys.
256: [04:19:54] <lewellyn> i actually liked the first day's "new" logo better than anything they did since.
257: [04:20:09] <lewellyn> http://media.tumblr.com/6817831d974ed4cbf4749851dcb929e2/tumblr_inline_mr5658AZ8H1qz4rgp.jpg
258: [04:20:14] <ss23> When something is managed by modeladmin, and it has a has_one relationship with something, modeladmin is the thing that gives you the dropdown box to select hte thing you're linked to, right?
259: [04:20:18] <ss23> Or is that custom code?
260: [04:20:58] <lewellyn> day 25 wasn't bad though. http://media.tumblr.com/cb041913c7f16d9a6fc4e44eb16f1a78/tumblr_inline_msdo4bRz351qz4rgp.jpg
261: [04:22:24] <spronk> i liked 1 and 10
262: [04:22:24] <spronk> but
263: [04:22:30] <spronk> their old logo still wins easily
264: [04:22:34] * nhorstmeier has joined #silverstripe
265: [04:22:48] * henly has joined #silverstripe
266: [04:23:01] <simon_w> ss23, that's FormScaffolder
267: [04:23:13] <henly> hi
268: [04:23:20] <simon_w> Afternoon
269: [04:24:14] <henly> i need to populate a cms field with sequential ID for wxample ane employee ID from 1 to 90 is there , and a user goes to add a new employeer the id should automatically show to him as 91
270: [04:24:25] <henly> in the employeed id text box
271: [04:24:40] <lewellyn> spronk: the new one just make me think "oprah" for some reason
272: [04:24:52] <simon_w> henly, look at the populateDefaults method on DataObject
273: [04:25:00] <Colin[pi]> the full range of logos: http://www.yahoo.com/dailylogo
274: [04:25:40] <ss23> ty simon_w
275: [04:26:05] <Colin[pi]> out of all the logos, if I was yahoo, I would have picked 10 or 23
276: [04:26:07] <ss23> simon_w: Is there any customisation? I want it to only display possible things in the dropdown where they meet conditions. Guess I have to do that myself in getCMSFields?
277: [04:26:17] <simon_w> yes
278: [04:26:22] <spronk> LOL lewellyn yes
279: [04:27:27] <ss23> :q
280: [04:27:29] <ss23> fff
281: [04:27:55] <henly> okay simon
282: [04:29:19] * nhorstmeier quit (Remote host closed the connection)
283: [04:30:26] <ss23> dammit
284: [04:30:26] <ss23> :<
285: [04:30:37] <ss23> There was a BC break between 2.4.x and 2.4.11
286: [04:30:37] <ss23> ;_;
287: [04:30:54] <simon_w> 2.4.3/4 IIRC
288: [04:31:03] <Colin[pi]> responsive design + shopping cart = frowny face
289: [04:31:09] <spronk> lolz
290: [04:31:16] <ss23> Do you know it off hand? There's a chance where it looks like it's now only displaying some things in the has_one dropdown
291: [04:31:17] <Colin[pi]> need to do some css hax0ring
292: [04:31:31] <ss23> specifically, like doing a unique(title), so it onyl displays the *first* ID
293: [04:32:58] * Dilshan has joined #silverstripe
294: [04:34:22] * DigNZ quit (Quit: DigNZ)
295: [04:44:41] * openbees has joined #silverstripe
296: [04:47:34] <ss23> Looks like I can stat doing work for atmos again
297: [04:47:34] <ss23> :D
298: [04:48:22] <openbees> ss23 how's servers today ? :D
299: [04:49:03] <ss23> Presume okay, I've been busy with other things
300: [04:49:26] <ss23> Like "By the way, we're going to do a press relase tomorrow about how you guys have made our website shit and won't fix bugs"
301: [04:49:28] <ss23> *sigh*
302: [04:49:57] <openbees> :O
303: [04:50:03] * openbees finished :(
304: [04:50:40] <simon_w> You should've let them! Then charge them with slander.
305: [04:51:42] <ss23> Eh
306: [04:51:55] <ss23> Doubt they would do a press release that would get them in trouble *shrug
307: [04:52:00] <ss23> It's just annoying
308: [04:52:03] * ss23 quits
309: [04:52:35] <spronk> o_O
310: [04:53:00] <spronk> LOTTO?
311: [04:53:00] <spronk> :p
312: [04:53:10] * Dilshan quit (Quit: Page closed)
313: [04:53:38] <ss23> Lotto isn't ours anymore!
314: [04:53:42] <ss23> But they seem like the client to do it too :P
315: [04:53:43] <ss23> But uh
316: [04:53:47] <ss23> Obviously, I can't even say who they are
317: [04:53:58] * dilshan has joined #silverstripe
318: [04:54:03] <spronk> wasn't it a while back that lotto put out a press release being like
319: [04:54:05] <spronk> our new site is shit
320: [04:54:05] <spronk> sorry
321: [04:54:45] <spronk> guys
322: [04:54:51] <spronk> best jquery plugin for drop in table sorting?
323: [04:55:00] * openbees quit (Quit: Leaving)
324: [04:59:55] <ss23> oh ya lol spronk
325: [04:59:56] <ss23> But wasn't us
326: [04:59:57] <ss23> :D
327: [05:05:56] <spronk> that's what they told you to say isn't it.
328: [05:06:10] * Stomach has joined #silverstripe
329: [05:08:02] <spronk> also
330: [05:08:04] <spronk> these rice crackers
331: [05:08:06] <spronk> are SO FUCKING TASTY
332: [05:08:38] <spronk> http://www.feelingpeckish.co.nz/
333: [05:08:41] <spronk> like CRACK in a CRACKER
334: [05:08:55] <spronk> and now they are gone
335: [05:08:55] <spronk> :(
336: [05:09:12] <UncleCheese> some bloke just came round asking us to change power companies
337: [05:09:21] <UncleCheese> seriously, NZ?
338: [05:09:54] <Colin[pi]> yeah that happens here in AU too
339: [05:09:58] <UncleCheese> what is that about
340: [05:10:10] <UncleCheese> door-to-door sales? is there any less efficient use of resources?
341: [05:10:16] <Colin[pi]> spronk: had these? laced with crack also: http://www.starryasianmarket.co.uk/images/wantwant_shelly.jpg
342: [05:10:37] <dilshan> Hi everyone this is my first day in IRC
343: [05:10:46] <spronk> oo
344: [05:10:48] <Colin[pi]> UncleCheese: must be generating revenue for them or they wouldn't be doing it :\
345: [05:10:49] <spronk> i have not
346: [05:11:04] <Colin[pi]> spronk: they're damn good, like salty but also sweet
347: [05:11:23] <Colin[pi]> have them in most asian supermarkets
348: [05:11:41] <spronk> NOMNOMNOM
349: [05:11:44] <Colin[pi]> welcome dilshan
350: [05:12:04] <dilshan> I'm a newbie to SS..can anybody help me ? i installed phpUnit via PEAR on windows
351: [05:12:38] <dilshan> but when i try to access localhost/sssite/dev/tests it says "Please install PHPUnit using pear"
352: [05:13:00] <dilshan> what seems to be the problem ?
353: [05:13:12] * simon_w quit (Ping timeout: 276 seconds)
354: [05:14:07] <Stomach> did you restart you apache conf
355: [05:15:29] * nickmolhoek quit (Quit: nickmolhoek)
356: [05:16:01] <dilshan> well i restarted the wamp server all services
357: [05:16:16] <dilshan> is that what you asked ?
358: [05:16:46] <spronk> hmmm
359: [05:16:47] <spronk> windows
360: [05:16:50] <spronk> i'm going to guess it's a PATH thing
361: [05:17:04] <spronk> PEAR on windows is a bit crap
362: [05:17:58] * simon_w has joined #silverstripe
363: [05:18:13] <dilshan> i know windows is a crap for open source things...
364: [05:18:18] <Colin[pi]> PEAR is a bit crap...
365: [05:19:03] <dilshan> anyone got idea ? or do i have to shift to Linux ??
366: [05:19:10] <dilshan> :p
367: [05:19:33] <spronk> dilshan: is your server on the same OS as your PEAR install?
368: [05:19:36] <spronk> you're not using a virtual machine or anything?
369: [05:20:08] <spronk> dilshan: go through this here: http://pear.php.net/manual/en/installation.checking.php
370: [05:20:11] <spronk> make sure pear is actually working
371: [05:20:31] <spronk> you may have to adjust your php.ini depending on how you've got your server setup
372: [05:22:04] <dilshan> well spronk pear is working because i installed phpunit via PEAR
373: [05:22:46] <dilshan> and when i type phpunit --version in CMD it echos the phpunit version
374: [05:22:56] <dilshan> as a success message
375: [05:23:44] <spronk> k
376: [05:23:45] <spronk> but
377: [05:23:50] <spronk> what kind of server have you installed?
378: [05:23:53] <spronk> baremetal apache? WAMP?
379: [05:24:41] <dilshan> WAMP
380: [05:24:57] <Stomach> http://nishutayaltech.blogspot.in/2011/04/installing-phpunit-on-windows.html
381: [05:25:19] <dilshan> yes thats the tutorial i followed
382: [05:25:24] <dilshan> its working
383: [05:25:36] <dilshan> good tut
384: [05:25:41] * Stomach quit (Quit: Leaving.)
385: [05:25:50] <spronk> so
386: [05:25:55] <spronk> check your WAMP's php.ini
387: [05:25:59] <spronk> to see hwether it's got PEAR in the include paths
388: [05:26:31] <dilshan> yes i has already included
389: [05:26:41] <spronk> hmm
390: [05:26:42] <spronk> :S
391: [05:28:18] <Colin[pi]> ahh if I had a dollar every time a client asked "how do I get to the top of google?"
392: [05:28:28] <Colin[pi]> (was just asked for the 2nd time today)
393: [05:28:32] <spronk> lulz
394: [05:28:33] <Colin[pi]> I would have $2!
395: [05:28:37] <spronk> answer:
396: [05:28:38] <spronk> YOU DONT
397: [05:28:48] <Colin[pi]> well you can pay for it..
398: [05:28:56] <spronk> but even then it's not assured
399: [05:28:57] <spronk> sigh
400: [05:28:59] <Colin[pi]> or you can.. actually put content onto the damn site
401: [05:30:14] <ss23> Colin[pi]: How do you get to the top of Google?
402: [05:31:16] <spronk> questions like that are why i refuse to do full sites for clients these days
403: [05:32:35] <dilshan> thank you so your time guys
404: [05:32:37] <dilshan> see ya
405: [05:32:39] <ss23> spronk: Why is it taking so long? Don't you just write out some code and then it's done? I'm not paying you if you don't get it done this week.
406: [05:32:45] <ss23> Cya, dilshan ^.^
407: [05:33:08] <spronk> heh
408: [05:33:09] <spronk> yeah..
409: [05:33:37] * dilshan quit (Quit: Page closed)
410: [05:36:30] <Colin[pi]> haha ss23, we had one client one time send us a furious email because it was "taking too long" and I quote "I don't understand why it takes so long, it's ALL JUST HTML!!!11!"
411: [05:37:44] <spronk> i maintain pretty strict timesheets for client worki
412: [05:37:49] <ss23> XD
413: [05:37:53] <spronk> if they complain
414: [05:38:02] <spronk> i send them 3-4 pages of timesheet
415: [05:38:26] <Colin[pi]> yeah spronk I do the same, any time I'm performing work, the clock is ticking
416: [05:38:30] <spronk> quite often this reveals all those "little changes" they ask for end up taking half the time
417: [05:38:49] <Bollig|DesignCty> we try to head that off with a little website development 101 upfront :)
418: [05:39:52] <Colin[pi]> some clients have absolutely no idea what's involved
419: [05:40:04] <Colin[pi]> they think it's just as easy as writing a Word doc
420: [05:40:16] <ss23> Colin[pi]: But Word has a "Convert to HTML" function
421: [05:40:19] <ss23> So it *is* that easy
422: [05:40:20] <ss23> :)
423: [05:40:23] <Colin[pi]> YES EXACTLY
424: [05:40:29] <Colin[pi]> "make web site go now" button
425: [05:40:34] <Colin[pi]> SO EASY
426: [05:40:37] <ss23> :D
427: [05:40:40] <spronk> yeah
428: [05:40:46] <spronk> one of the funny ones i find is time for deployment
429: [05:41:26] <spronk> not too many clients seem to understand that one
430: [05:47:13] <Colin[pi]> the other one is "consultation" time
431: [05:47:33] <Colin[pi]> yeah if you want to talk to me about crap when that time can be spent actually working, that's gonna cost
432: [05:48:17] <spronk> mmlol
433: [05:48:29] <spronk> i gave up on consultation time a while ago
434: [05:48:34] <Bollig|DesignCty> …like how I can get to the top of Google? You said you can help with with SEO Colin[pi], WHY IS MY SITE NOT NUMBER ONE YET???
435: [05:48:39] <spronk> just massively increased my hourly rate :p
436: [05:48:55] <Colin[pi]> factor it in someone spronk :)
437: [05:48:58] <Colin[pi]> *somehow
438: [05:49:05] <spronk> mm
439: [05:49:05] <spronk> :P
440: [05:49:06] <Colin[pi]> my brain no worky today
441: [05:49:40] <Colin[pi]> bollig: yeah I had one client call me 2 hours after their site went live complaining it wasn't at the top of Google
442: [05:49:54] <Bollig|DesignCty> oh yeah, just the once? :)
443: [05:49:55] <Colin[pi]> "um... it kinda takes a bit longer than 2 hours"
444: [05:51:16] * UncleCheese quit (Quit: UncleCheese)
445: [05:58:04] <Colin[pi]> oh no, big SS screen of SQL'y death
446: [05:58:15] <Colin[pi]> and you were going so well ss-shop
447: [06:18:18] <simon_w|air> You broke it!
448: [06:18:54] <Colin[pi]> nah it was trying to order by Price instead of BasePrice and MySQL was going HNNNGGGGG
449: [06:20:24] <spronk> what is this HNNNGGGG noise
450: [06:20:31] * spronk can't audiolise it
451: [06:20:34] <DesignerX> Hi, is there a way to manage has_one with GF ? need to provide a way to search existing recods, link to one of them or create a new record if required .
452: [06:20:43] <Colin[pi]> generic retarded sound
453: [06:20:53] <spronk> you mean.... DERP
454: [06:20:53] <spronk> :P
455: [06:20:57] <Colin[pi]> that also
456: [06:21:01] <spronk> DesignerX: there's a has_one config thing isn't there?
457: [06:21:24] <Colin[pi]> though HNNNNGGGGG is more of a "I'm trying to do something really hard but failing" sound
458: [06:21:35] <DesignerX> spronk: has_one config ? as in a GridField_Config for has_one relations ?
459: [06:21:39] * lerni has joined #silverstripe
460: [06:21:53] <spronk> yeah
461: [06:22:24] <DesignerX> I will look again to be sure ..
462: [06:22:56] <spronk> just use a RelationEditor
463: [06:23:20] * Marvanni_ has joined #silverstripe
464: [06:23:37] <simon_w|air> DesignerX, http://addons.silverstripe.org/add-ons/simonwelsh/gridfieldrelationhandler
465: [06:25:14] * Marvanni_ quit (Client Quit)
466: [06:26:24] <DesignerX> simon_w|air: perfect :) ty
467: [06:26:43] <DesignerX> now time to test it
468: [06:28:12] <ss23> https://github.com/ss23/silverstripe-newsletter/tree/3.1-fixes
469: [06:28:23] <ss23> It's been "calculating information" for 24 hours
470: [06:29:09] <simon_w|air> And?
471: [06:29:17] <ss23> I thnk it broke
472: [06:29:20] <ss23> it was like a 5 line changeset
473: [06:29:25] <ss23> I hope I have the commit somewhere to fix it
474: [06:30:37] * Marvanni_ has joined #silverstripe
475: [06:36:19] <ss23> There we are, new push and it works
476: [06:37:59] * Colin[pi] hi-fives ss23
477: [06:38:04] <ss23> :D
478: [06:38:10] <ss23> Travis tests are...
479: [06:38:13] <ss23> PASSED! :D
480: [06:38:22] <ss23> Can Ig et someone to review https://github.com/silverstripe-labs/silverstripe-newsletter/pull/56?
481: [06:38:32] <ss23> Just some 3.1 fixes, should be fairly standard, just want to make sure no obvious mistakes
482: [06:39:42] <ss23> COME ON Colin[pi] READ MY CHANGES
483: [06:39:44] * ss23 climbs on Colin[pi]
484: [06:39:46] <ss23> ARE THEY GOOD Y/N?
485: [06:40:19] <ss23> :<
486: [06:40:20] <ss23> Fine, I merge
487: [06:40:22] * ss23 glares
488: [06:40:23] <simon_w|air> ss23, you need to restore
489: [06:40:32] <ss23> awww
490: [06:40:37] <ss23> hmm
491: [06:40:46] <ss23> simon_w|air: on the config stuff?
492: [06:40:50] <simon_w|air> yup
493: [06:40:51] <ss23> hmm
494: [06:40:54] <ss23> I can do the nest stuff
495: [06:41:15] <simon_w|air> Or just cache the current value and set to that
496: [06:43:33] <henly> hi
497: [06:43:41] <ss23> hai henly ^.^
498: [06:43:51] * Shrike_Finland has joined #silverstripe
499: [06:44:18] <henly> i need a help in poulating a dropdown of employee ids while adding and editting i need it to be selected
500: [06:44:23] <henly> in csm
501: [06:45:03] <henly> im cms
502: [06:47:08] <henly> i need a help in populating a dropdown of employee ids while adding and editting i need it to be selected in cms
503: [06:49:12] * maknz has joined #silverstripe
504: [06:49:12] * maknz quit (Changing host)
505: [06:49:12] * maknz has joined #silverstripe
506: [06:50:02] <ss23> simon_w|air: uguu, better? https://github.com/ss23/silverstripe-newsletter/commit/f6073aa296c83d842e8ffc634821c030d31757ca
507: [06:50:23] <henly> i need a help in populating a dropdown of employee ids while adding and editting i need it to be selected in cms
508: [06:50:37] <simon_w|air> yup
509: [06:50:37] <spronk> henly: what's the prob
510: [06:55:01] <henly> actually when i come to add an sub emplyee in cms , i need to c the main emplyeed id in a dropdown so that i can select and addd the sub emplyee
511: [06:55:20] <henly> in editting time i need main employeeid to be preselcted
512: [06:55:31] <henly> in cms
513: [07:00:26] * openbees has joined #silverstripe
514: [07:03:14] <openbees> I am facing strange issue with CMS section left hand menus .. when I click on any item its not loading content until I refresh the page .. using 3.1.0-rc1 .. and its happening only with a specific server .. any ideas what's happening here ?
515: [07:03:57] <openbees> in debugger I can see response .. no js error .. no server error
516: [07:07:49] <openbees> ok found it .. some CMS js were not loading .. because of permission issue .. thanks anyway :P
517: [07:11:06] <henly> when i come to add an sub emplyee in cms , i need to c the main emplyeed id in a dropdown so that i can select and addd the sub emplyee .in editting time i need main employeeid to be preselcted in cms
518: [07:26:03] * Error404NotFound has joined #silverstripe
519: [07:38:46] * willr has joined #silverstripe
520: [07:43:50] * itwasntme has joined #silverstripe
521: [07:44:04] * itwasntme has left #silverstripe
522: [07:44:27] * Guits quit (Quit: Leaving)
523: [07:48:42] * lerni quit (Ping timeout: 264 seconds)
524: [07:49:44] * lerni has joined #silverstripe
525: [07:52:25] <wmk> I have a strange issue with ModelAdmin
526: [07:52:46] <wmk> a model admin with 4 tabs where one cannot add a new item.
527: [07:53:35] <wmk> (nearly) nothing happens when clicking the add button. The URL in the browser changes, but no httprequest or error on konsole, no error logged
528: [07:54:20] <DesignerX> wmk: a space before <?php in your ModelAdmin class or the clesses it manages ?
529: [07:54:53] <wmk> DesignerX, hm, no
530: [07:54:58] <wmk> looking for ?>...
531: [07:55:42] <DesignerX> wmk: I had this problem last weekend, the ModelAdmin tabs dont work correctly & I cant create new objcts, as if the Create button is frozen
532: [07:56:03] <wmk> DesignerX, how many tabs did you have?
533: [07:56:16] <DesignerX> 5 or 5
534: [07:56:20] <DesignerX> 5 or 6 *
535: [07:56:26] <wmk> i have 4 tabs
536: [07:56:46] <wmk> but moving the bad tab doesn't seem to help
537: [07:56:58] <DesignerX> & not just the Tabs, moving between CMS sections doesnt work all the time . try moving to Files, Security & settings ..
538: [07:57:07] <wmk> it's just a dataobject without anything els
539: [07:57:10] <wmk> e
540: [07:58:22] <DesignerX> I started with 5 tabs, then started removing the models one by one till I was down to one Object with one Text field on it & still had the problem, till i removed that extra line/whitespace in my file
541: [08:00:41] <wmk> if there was one...
542: [08:02:02] * chillu has joined #silverstripe
543: [08:03:45] <wmk> hmm, DesignerX, was the whitespace in the class which didn't work? or anywhere else?
544: [08:04:11] <DesignerX> wmk: in my case was on the MyModelAdmin class i created
545: [08:04:23] * kinglozzer has joined #silverstripe
546: [08:06:25] * kinglozzer quit (Client Quit)
547: [08:06:35] * kinglozzer has joined #silverstripe
548: [08:07:05] * gcoderre has joined #silverstripe
549: [08:11:38] * gcoderre quit (Client Quit)
550: [08:11:49] <wmk> DesignerX, do you know a regex for scanning for files, that don't start with <?php
551: [08:12:37] <DesignerX> wmk: no sorry
552: [08:12:47] <DesignerX> how many new ModelAdmin sections you created ?
553: [08:12:52] <simon_w|air> grep -r '.<?php' *
554: [08:13:12] <simon_w|air> may need egrep, can't remove if . is in normal regex
555: [08:14:27] <simon_w|air> And, if you do need egrep, then you want '.<\?php'
556: [08:21:46] <wmk> simon_w, thanks, this doesn't cover if a whole line is before <?php but is a good step
557: [08:25:45] <simon_w|air> wmk, for FILE in `find * -name '*.php' `; do LINE=$(head -n 1 $FILE); if ! grep -q '^<?php' <<<"$LINE"; then echo $FILE; fi; done
558: [08:26:39] <simon_w|air> Will break if you have spaces in paths anywhere, but that's what you get for having spaces in paths
559: [08:26:48] <wmk> ;)
560: [08:27:46] <simon_w|air> And I don't have grep aliased to egrep on this laptop, so that should all work fine
561: [08:29:05] <wmk> simon_w, widgets/_config.php was just empty without <?php at the beginning.
562: [08:29:11] <wmk> could this be a problem?
563: [08:29:14] <simon_w|air> Nope
564: [08:29:20] <wmk> hmm
565: [08:29:40] <simon_w|air> Now, a _config.php with a <?php but no newline is
566: [08:29:47] <simon_w|air> But then that shows in the HTML on every page
567: [08:30:12] * mento has joined #silverstripe
568: [08:30:55] * Error404NotFound quit (Ping timeout: 260 seconds)
569: [08:36:26] <wmk> but WHY does this special dataobject not work with modeladmin? http://sspaste.com/paste/show/5228414fe9582
570: [08:37:04] * ARNHOE has joined #silverstripe
571: [08:37:22] <willr> Those are in separate files right in your project?
572: [08:37:29] <wmk> yes
573: [08:37:43] <wmk> i upgraded silverstripe-uniads to 3.1
574: [08:37:48] <wmk> can push if you want
575: [08:39:28] <simon_w|air> If the Add button's disabled, you're probably not logged in as an admin
576: [08:39:45] <wmk> it's not disabled, it updates the URL in browser and nothing else happens
577: [08:39:56] * howardgrigg quit (Read error: Connection reset by peer)
578: [08:39:59] <wmk> no http request, no console log, no error in ss_errors.txt or apache error.log
579: [08:40:22] * howardgrigg has joined #silverstripe
580: [08:44:02] * ocm has joined #silverstripe
581: [08:45:28] * ss-log has joined #silverstripe
582: [08:46:21] <wmk> simon_w, willr any hints?
583: [08:46:22] * Error404NotFound has joined #silverstripe
584: [08:46:37] * Error404NotFound quit (Changing host)
585: [08:46:37] * Error404NotFound has joined #silverstripe
586: [08:46:37] * Error404NotFound quit (Remote host closed the connection)
587: [08:46:37] <simon_w|air> wmk, extra whitespace
588: [08:47:04] <simon_w|air> I'd look in the AdCampaign class too
589: [08:47:10] * kerosene has joined #silverstripe
590: [08:47:10] <willr> or check for a _config.php file without any content in it
591: [08:47:33] * kerosene quit (Client Quit)
592: [08:47:43] <wmk> but why do the others (commented) work?
593: [08:47:47] <wmk> only one
594: [08:47:50] * kerosene has joined #silverstripe
595: [08:48:14] <willr> tried removing the has_many and seeing if it works?
596: [08:50:27] <wmk> hmm, no
597: [08:50:46] * kerosene_ has joined #silverstripe
598: [08:52:40] * kerosene_ quit (Disconnected by services)
599: [08:52:51] * Error404NotFound has joined #silverstripe
600: [08:53:25] <simon_w|air> Huh, lsgn wasn't running xcache
601: [08:53:25] * simon_w|air fixed that
602: [08:55:20] * priithansen has joined #silverstripe
603: [09:04:17] * priithansen quit (Quit: priithansen)
604: [09:07:48] <ss23> lsgn == ??
605: [09:15:13] <simon_w|air> logs.simon.geek.nz
606: [09:16:25] * micmania1 has joined #silverstripe
607: [09:31:15] * Marvanni_ quit (Quit: Marvanni_)
608: [09:40:25] <wmk> argh
609: [09:40:45] <wmk> renaming the dataobject from AdClient to AdClients helps WTF
610: [09:44:42] <wmk> i don't get it
611: [09:58:03] <openbees> wmk .. may be you have misspelled relation name ... RelationName => AdClients instead of RelationName => AdClient .. just a thought ;)
612: [09:59:42] * Shrike_Finland quit (Quit: Leaving.)
613: [10:00:11] <wmk> no, even renaming to AdClientx works
614: [10:00:21] <wmk> i only changed the classname and the name in ManagedModels
615: [10:00:36] <wmk> and commented out the relation for now
616: [10:09:14] * Error404NotFound quit (Ping timeout: 256 seconds)
617: [10:16:09] * Error404NotFound has joined #silverstripe
618: [10:24:53] * drakon_ has joined #silverstripe
619: [10:25:47] <drakon_> hello everyone. i wish to make something like http://bootsnipp.com/forms as a panel in silverstripe admin, is there anything like that available or should i build it from scratch?
620: [10:35:31] <Bollig|DesignCty> drakon_: have you seen the user forms module?
621: [10:39:08] <wmk> could it be possible, that Client is a reserved word in modeladmins or gridfields javascript?
622: [10:40:48] * pevjan has joined #silverstripe
623: [10:41:31] <pevjan> I'm trying to expose page contents through restfulservice, like this: https://github.com/chillu/silverstripe-book/blob/master/11_recipes_flash/mysite/code/Page.php
624: [10:41:53] <pevjan> But I keep getting "PHP Warning: No current controller available in .../Controller.php"
625: [10:42:03] <wmk> pevjan, what version of Silverstripe?
626: [10:42:05] <pevjan> When I try to hit http://localhost/api/v1/Page/1.json
627: [10:42:07] <pevjan> wmk: 3.0
628: [10:42:14] <wmk> the book was for 2.3
629: [10:42:26] <wmk> at least the printed version.
630: [10:42:37] <pevjan> wmk: Ah, so the restful stuff has changed since then
631: [10:43:25] <wmk> http://doc.silverstripe.org/framework/en/reference/restfulservice
632: [10:43:35] <wmk> the online docs should be better
633: [10:44:36] * Marvanni_ has joined #silverstripe
634: [10:45:05] <pevjan> wmk: Yeah, I read those. But that document only talks about consuming services, whereas I want to expose
635: [10:47:42] <pevjan> And looking through the source code, I see that $api_access exists on DataObject
636: [10:49:10] * Colin[pi] quit (Ping timeout: 245 seconds)
637: [10:54:15] * henly quit (Ping timeout: 250 seconds)
638: [10:56:17] <Marvanni_> it should be possible to feed a GridField with a self constructed ArrayList of ArrayData Objects or not??
639: [11:02:45] * travis-ci has joined #silverstripe
640: [11:02:45] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#915 (3.1 - 9872a52 : Ingo Schommer): The build passed.
641: [11:02:45] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/daa0b3cb7903...9872a52a8dcd
642: [11:02:45] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/11011053
643: [11:02:45] * travis-ci has left #silverstripe
644: [11:07:22] * swordsmanz has joined #silverstripe
645: [11:07:39] <drakon_> Bollig|DesignCty: oh sorry, i just meant the interface. it will be used for calendar schedules/planning of school days
646: [11:08:17] <drakon_> but turns out Bootstrap-Form-Builder is open sourced on github, so i'll just implement it as a template with some ajax controller
647: [11:08:43] <Bollig|DesignCty> drakon_: user forms has a not dissimilar interface for building forms, might be useful as a yardstick. :)
648: [11:09:12] <drakon_> Bollig|DesignCty: aha, sorry, i should have checked it out before replying. thanks for the tip!
649: [11:09:18] <Bollig|DesignCty> sounds like an interesting piece of code drakon_, hope you get the opportunity to release it :)
650: [11:09:41] <Bollig|DesignCty> drakon_: no worries at all. Sounds like you got a handle on it anyway :)
651: [11:14:24] * drakon_ quit (Quit: Page closed)
652: [11:15:20] <kinglozzer> Marvanni_ It can be done
653: [11:15:49] <kinglozzer> It might throw an error about not knowing the modelClassName, you should be able to provide it with one manually
654: [11:16:23] <Marvanni_> Yeah, I have it. I create an ArrayList with new DataObject($data)
655: [11:16:31] * willr quit (Quit: willr)
656: [11:16:33] <Marvanni_> where data is coming from a SOAP call
657: [11:16:57] <kinglozzer> Similar to what I've done recently
658: [11:17:02] * lerni quit (Ping timeout: 240 seconds)
659: [11:17:17] <kinglozzer> Marvanni_ If there's a large amount of data, you might hit memory issues as you can't paginate correctly that way
660: [11:17:38] <kinglozzer> It has to get a full list of data and then paginate it with PHP
661: [11:17:52] <kinglozzer> Rather than paginating it database-side (or API-side in your case)
662: [11:18:04] <Marvanni_> well it won't be that much data fro the webservice
663: [11:18:33] <Marvanni_> I need it to have simple backend test views for SOAp results
664: [11:18:38] * travis-ci has joined #silverstripe
665: [11:18:38] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#916 (3.1 - ef2fc46 : Ingo Schommer): The build passed.
666: [11:18:38] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/9872a52a8dcd...ef2fc46eb26c
667: [11:18:38] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/11011423
668: [11:18:38] * travis-ci has left #silverstripe
669: [11:19:38] <kinglozzer> It should be fine then. When I did it, the third-party API calls supported limit/offset, so I created a new SS_List class similar to DataList that works with the API instead of the database
670: [11:20:02] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
671: [11:24:59] * priithansen has joined #silverstripe
672: [11:47:19] * Error404NotFound quit (Ping timeout: 264 seconds)
673: [11:48:24] * Marvanni_ quit (Quit: Marvanni_)
674: [11:54:53] * chillu quit (Quit: chillu)
675: [12:01:58] * pevjan quit (Remote host closed the connection)
676: [12:02:10] * chillu has joined #silverstripe
677: [12:07:38] * UndefinedOffset has joined #silverstripe
678: [12:12:14] * openbees quit (Ping timeout: 246 seconds)
679: [12:26:00] * openbees has joined #silverstripe
680: [12:33:35] * jcwacky quit (Quit: jcwacky)
681: [12:35:39] * jcwacky has joined #silverstripe
682: [12:36:55] * openbees quit (Quit: Leaving)
683: [12:57:57] <wmk> today is a crazy day.
684: [12:58:12] <wmk> in img src: "url could not be loaded"
685: [12:58:23] <wmk> if i copy the url and try to get manually i see the image
686: [13:08:42] * lerni has joined #silverstripe
687: [13:12:28] * pevjan has joined #silverstripe
688: [13:12:28] * Marvanni_ has joined #silverstripe
689: [13:15:18] * Marvanni_ quit (Client Quit)
690: [13:16:38] * pevjan quit (Ping timeout: 246 seconds)
691: [13:17:43] * violetina2 has joined #silverstripe
692: [13:18:39] * violetina2 quit (Remote host closed the connection)
693: [13:22:37] * micmania1 quit (Read error: Connection reset by peer)
694: [13:25:19] * violetina2 has joined #silverstripe
695: [13:42:04] * feejin has joined #silverstripe
696: [13:49:31] * priithansen quit (Quit: priithansen)
697: [14:00:17] * feejin_ has joined #silverstripe
698: [14:00:18] * feejin quit (Remote host closed the connection)
699: [14:00:26] * violetina2 quit (Ping timeout: 256 seconds)
700: [14:00:47] * violetina2 has joined #silverstripe
701: [14:19:29] * Nivery has joined #silverstripe
702: [14:24:37] * violetina2 quit (Remote host closed the connection)
703: [14:29:39] <UndefinedOffset> wmk perchance is it going ssl to non-ssl?
704: [14:29:51] <UndefinedOffset> i.e is the page ssl and the image not?
705: [15:08:02] * r3v3rb has joined #silverstripe
706: [15:11:10] * feejin_ quit (Remote host closed the connection)
707: [15:11:58] * Nivery quit (Read error: Connection reset by peer)
708: [15:12:09] * Nivery has joined #silverstripe
709: [15:15:30] * chillu quit (Quit: chillu)
710: [15:26:44] * Marvanni_ has joined #silverstripe
711: [15:27:14] <Marvanni_> This is bullshit right? : Convert::raw2sql((int)$this->ID);
712: [15:29:11] * ARNHOE quit (Ping timeout: 240 seconds)
713: [15:34:09] * r3v3rb quit (Quit: r3v3rb)
714: [15:37:36] * priithansen has joined #silverstripe
715: [15:38:57] * violetina has joined #silverstripe
716: [15:49:45] * Error404NotFound has joined #silverstripe
717: [15:53:23] * priithansen_ has joined #silverstripe
718: [15:55:04] * priithansen quit (Ping timeout: 264 seconds)
719: [15:55:04] * priithansen_ is now known as priithansen
720: [15:57:36] * chillu has joined #silverstripe
721: [16:01:36] * lietzmk has joined #silverstripe
722: [16:12:57] * r3v3rb has joined #silverstripe
723: [16:15:21] * kinglozzer quit (Remote host closed the connection)
724: [16:40:27] * catcher has joined #silverstripe
725: [16:54:41] * FrozenFire quit (Ping timeout: 246 seconds)
726: [16:57:27] * jcwacky quit (Quit: jcwacky)
727: [17:00:55] * FrozenFire has joined #silverstripe
728: [17:13:26] * laighued quit (Ping timeout: 240 seconds)
729: [17:14:59] * Nivery quit (Quit: Nivery)
730: [17:22:54] * Marvanni_ quit (Quit: Marvanni_)
731: [17:35:03] * Error404NotFound quit (Ping timeout: 260 seconds)
732: [17:41:45] * gelignite has joined #silverstripe
733: [17:45:49] * lerni1 has joined #silverstripe
734: [17:46:07] * lerni quit (Ping timeout: 264 seconds)
735: [17:53:03] * FrozenFire quit (Ping timeout: 276 seconds)
736: [17:59:48] * ARNHOE has joined #silverstripe
737: [17:59:54] * FrozenFire has joined #silverstripe
738: [18:09:18] * Marvanni_ has joined #silverstripe
739: [18:09:24] * chillu quit (Quit: chillu)
740: [18:10:31] * FrozenFire quit (Ping timeout: 260 seconds)
741: [18:11:55] * FrozenFire has joined #silverstripe
742: [18:23:23] * joelpittet has joined #silverstripe
743: [18:23:56] * joelpittet quit (Remote host closed the connection)
744: [18:24:09] * joelpittet has joined #silverstripe
745: [18:24:26] <wmk> UndefinedOffset, no, i forgot to turn of adblockplus
746: [18:24:40] <wmk> it got filtered :(
747: [18:28:02] <UndefinedOffset> ah lol
748: [18:28:54] <UndefinedOffset> wmk you can add @@http://example.com/* rules :) that will allow ads on that domain
749: [18:38:30] * chillu has joined #silverstripe
750: [18:40:58] * spronk quit (Ping timeout: 245 seconds)
751: [18:43:39] * lerni1 quit (Ping timeout: 260 seconds)
752: [18:46:15] <wmk> yup, disabled it for localhost
753: [18:46:28] <wmk> and i wondered, where this crazy css class was coming from
754: [18:57:22] * Marvanni_ quit (Quit: Marvanni_)
755: [18:57:45] * SightUnseen has joined #silverstripe
756: [18:58:38] * SightUnseen has left #silverstripe
757: [18:58:56] * maknz quit (Ping timeout: 246 seconds)
758: [18:59:41] * Marvanni_ has joined #silverstripe
759: [19:14:58] * lerni has joined #silverstripe
760: [19:25:26] * lerni quit (Ping timeout: 245 seconds)
761: [19:46:07] * Marvanni_ quit (Quit: Marvanni_)
762: [19:55:26] * lerni has joined #silverstripe
763: [20:02:05] * atmos has joined #silverstripe
764: [20:02:50] <atmos> can anyone help me with a document link issue?
765: [20:05:36] * DigNZ has joined #silverstripe
766: [20:05:36] * DigNZ quit (Remote host closed the connection)
767: [20:05:51] * DigNZ has joined #silverstripe
768: [20:07:22] <wmk> atmos, what's your problem?
769: [20:09:38] * lerni quit (Ping timeout: 246 seconds)
770: [20:12:37] * UndefinedOffset quit (Quit: Leaving.)
771: [20:18:12] * Werner_2_ has joined #silverstripe
772: [20:18:48] * Werner_2_ quit (Client Quit)
773: [20:19:41] <atmos> we've got a document management system where documents can be access through manual links, since we updated the system, the document_link,id=xxxxx no longer point at the document we linked. Would there be anything I could do to reset them all with updated IDs?
774: [20:19:52] * joelpittet is now known as joelpittet|food
775: [20:24:38] * lerni has joined #silverstripe
776: [20:24:50] <wmk> what kind of update?
777: [20:25:07] <wmk> there was afaik a change in the shortcut from SS2.4 to SS3
778: [20:34:01] * UncleCheese has joined #silverstripe
779: [20:41:09] <atmos> yeah that was fine
780: [20:45:16] * r3v3rb quit (Quit: r3v3rb)
781: [20:48:40] <wmk> atmos, what kind of update?
782: [20:53:44] * UncleCheese quit (Quit: UncleCheese)
783: [20:54:00] <atmos> new document managment system database
784: [20:58:49] * atmos quit (Quit: Page closed)
785: [21:00:52] * ARNHOE quit (Remote host closed the connection)
786: [21:00:53] * gelignite quit (Quit: http://bit.ly/nkczDT)
787: [21:34:12] * Dedra has joined #silverstripe
788: [21:40:38] * howardgrigg quit (Ping timeout: 240 seconds)
789: [21:53:40] * Marvanni_ has joined #silverstripe
790: [21:53:54] * Marvanni_ quit (Client Quit)
791: [22:16:28] * howardgrigg has joined #silverstripe
792: [22:25:49] * lietzmk quit (Quit: Leaving)
793: [22:32:26] * violetina quit (Remote host closed the connection)
794: [22:36:06] * lerni quit (Remote host closed the connection)
795: [22:47:00] * joelpittet|food quit (Read error: No route to host)
796: [22:47:22] * joelpittet|food has joined #silverstripe
797: [22:51:27] <ss23> New Riddick movie? :D
798: [22:51:45] <ss23> Dammit, atmos came in at like 8 and left by 9 :/
799: [22:51:48] <ss23> I wanted to ask him a question :<
800: [22:52:27] <simon_w> Well, too bad
801: [22:54:31] <Dedra> do you saw the new riddik one?
802: [22:54:47] <Dedra> o.O is it a real 3rd or like a remake of the 1st?
803: [22:55:25] * tankr has joined #silverstripe
804: [22:57:48] <ss23> Dedra: No idea, just saw a poster for it this morning
805: [22:57:59] <Dedra> ah i see
806: [22:58:54] <Dedra> hmm, i sit in ss chat for so long XD now i got the idea, that i could change my 2.4 to a 3.0 hmmm i like my website like it is, but why not ^^ i guess i start tomorrow with it :D
807: [22:59:25] <Dedra> or hmm, is it worth it, do upgrade, or only really for new projects?
808: [23:01:16] <ss23> Dedra: Hmmm, depends
809: [23:01:35] <ss23> Dedra: I think in general, if you're planning to build any new fixes or maintain it, it's worth updating. If you plan to leave it and not touch it, just keep it on the latest 2.4
810: [23:01:47] <ss23> Dedra: (Make sure you're on the latest 2.4 version, it was a critical security update)
811: [23:01:48] <Dedra> yeah, it's just my own project, you know. www.dedra-sc.com and i have no problem with 2.4 right now, so dont know if it really worth it for 3.0
812: [23:02:10] <Dedra> esp. that i have to customize the commentate a page function, right? i never test 3.0 so, dunno
813: [23:02:15] * catcher quit (Quit: Leaving)
814: [23:02:58] <Dedra> oh, ok then i should perhaps update, to the newest 2.4 i guess its like 2 years ago that i touched the programm code
815: [23:04:02] <Dedra> how different is it (programmer site) to use 3.0 instead of 2.4? It was my first and only 2.4 project, so ^^ but it was fun, easy and fast :) with some custom stuff, reaaaally fun, i love SS :) <3
816: [23:04:09] <Dedra> *side
817: [23:04:51] <ss23> Umm
818: [23:05:01] <ss23> It's not much different in archetecture, but you'll have to leanr some new things
819: [23:05:50] <Dedra> yeah, that shouldnt be a big thing, like to learn so ^^
820: [23:06:29] <Dedra> i used the standard comment system of 2.4, is there something similar, or exactly similar so that i just can use my old comments when im upgrading to 3.0?
821: [23:06:56] <Dedra> or i need to customize it all on my own? ^^
822: [23:09:00] <Dedra> I just made this whole tutorial: http://doc.silverstripe.org/framework/en/tutorials/1-building-a-basic-site and bought the 2.4 book, but i got no time to read it for real. I used SS as my final examp project XD i got 3x 1.0 so I'm happy with it ^^
823: [23:09:20] <Dedra> *exam
824: [23:10:28] <ss23> Um, I'm not sure about comments sorry. You can likely use the same code? Not sure
825: [23:10:47] <Dedra> hmm, i guess it wsa framework based. i cant remember right now
826: [23:11:04] <Dedra> and i read something about, that 3.0 dont have it anymore. perhaps as an "addon" dunno for real ^^
827: [23:11:31] <Dedra> so i was like, ok dont go for 3.0 because you are good right now with 2.4 ^^ new projects, sure 3.0 ^^
828: [23:19:41] * pevjan has joined #silverstripe
829: [23:19:43] * pevjan quit (Remote host closed the connection)
830: [23:20:59] <simon_w> Dedra, the comments module will convert your existing comments across
831: [23:21:25] <Dedra> oh, good to know, thx simon_w !
832: [23:21:54] <Dedra> do you know where i can see which 2.4 version i really have, i have no readme left. SO im searching the php files right now, to see if i have the security fix right now
833: [23:22:11] <Dedra> because, if i dont switch right now to 3.0 i should fix it at least for 2.4,right ^^
834: [23:22:43] <simon_w> Have you updated since the start of August?
835: [23:23:18] <Dedra> ahm, i would love to know that :D i made my site like 2 years ago so this year, nope
836: [23:23:32] <Dedra> i wasnt changing anything this year. then i have my answer :)
837: [23:23:37] <simon_w> Then you don't have the security fixes
838: [23:23:52] <Dedra> yep ^^ ill change it :)
839: [23:24:14] <Dedra> i totally totally love SS. even when i wasnt be able to do real much with it, it's just... so good :-[
840: [23:24:32] * SightUnseen has joined #silverstripe
841: [23:24:34] <Dedra> thats why i used it for my final exams XD
842: [23:25:02] <Dedra> like 4 years ago ^^
843: [23:25:46] * SightUnseen has left #silverstripe
844: [23:27:02] <Dedra> just one last short question, i bought the ss 2.4 book (http://www.amazon.de/SilverStripe-umfassende-Handbuch-Installation-Konfiguration/dp/3836212951/ref=sr_1_1?ie=UTF8&qid=1378423563&sr=8-1&keywords=silverstripe) would you recomment to still go though it, before starting with 3.0? or just go for 3.0 after the tutorial i did?
845: [23:27:22] <ss23> Dedra: Eh, it might help in general, but I wouldn't bother
846: [23:28:37] <simon_w> Well, it'll be a lot more useful than the tutorials
847: [23:28:43] <Dedra> i guess too, that it helps to understand in general. But you just can learning by doing too. And the short tutorial is really really good made. Got the stuff real fast. But for detail the book could be good i guess. then 3.0 came out and yeah ^^
848: [23:29:29] <Dedra> ok, then Ill fix my 2.4 (update) and just go through the 2.4 book in total with 2.4. and then I'll try to find something about the changes to 3.0. then i guess im fine. thx guys :)
849: [23:32:12] <Dedra> Oh, btw. I found my mysite/page.php Content() method, and i remembered that I needed a while to do it like that: http://pastie.org/private/qseqsibfs3xm4v6k8fq is this a dirty shit, or a common way to do it? I just tried to get a CSS class set by the editor, so that i can adjust the HTML code then.
850: [23:32:33] <Dedra> For like, i set a CSS class "popup" on an IMG and so i get the jquery fancybox popup XD
851: [23:34:45] <Dedra> working fine, if you click on the image here http://www.dedra-sc.com/tutorials-en/part-1/ but somehow feels dirty :P
852: [23:56:30] * unsignedint quit (Remote host closed the connection)
853: [23:56:45] * unsignedint has joined #silverstripe

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