#silverstripe IRC Log

IRC log for 11 March 2013

All timestamps are in UTC.

1: [00:05:00] * nickmolhoek quit (Read error: Connection reset by peer)
2: [00:23:00] <willr> clodeindustrie sorry, was in a meeting. To answer your #1 - yes. Look at the lock file if you want, it contains the specific commit
3: [00:24:00] * helenclarko has joined #silverstripe
4: [00:24:00] <clodeindustrie> no worries
5: [00:25:00] <willr> Running composer in prod is also slightly dodgy as you depend on that, at least have a 'staging' version that you can do composer install then sync to prod
6: [00:27:00] <willr> helenclarko because UDF still saves the fact that it's blank
7: [00:27:00] <helenclarko> hey all, does anyone know why I get all the editableFormFields emailed to me even when half of them are empty when using the Userforms module with SilverStripe 2.4.5?
8: [00:28:00] <helenclarko> ah, am I able to correct this?
9: [00:29:00] <willr> People might be more confused why they don't see that field rather than blank
10: [00:29:00] <willr> Well you can hide that form field from reports (if it's a value you don't want) but no you can't change it so it doesn't save a blank value
11: [00:31:00] <helenclarko> I mean when the form gets emailed back to me, it prints out EditableFormField36 or EditableFormField25 all the way down the email page for the blank fields
12: [00:31:00] * nickmolhoek quit (Remote host closed the connection)
13: [00:31:00] * nickmolhoek has joined #silverstripe
14: [00:31:00] * spronk has joined #silverstripe
15: [00:31:00] * nickmolhoek has joined #silverstripe
16: [00:32:00] <helenclarko> It seems to be in a completely random order.
17: [00:32:00] <willr> It should print the label of the form field, in the order of the form . E.g Your Name: Your Email: Message:
18: [00:33:00] <helenclarko> It could be because I edit the form with javascript though.
19: [00:33:00] <willr> should be the same as what's in the CMS
20: [00:33:00] <willr> How do you mean edit? reorg?
21: [00:34:00] <helenclarko> oh, I just do calculations for prices and such... no reordering.
22: [00:35:00] <helenclarko> are they ordered on the number value after EditableFormField?
23: [00:36:00] <clodeindustrie> @willr: thanks, that is giving some thinking to do :)
24: [00:39:00] <Stomach> hmmm - why are you running composer on a live server? seems redundant to commit changes to a composer.json file to <repository management> and not commit the changes that that induced in your codebase?
25: [00:40:00] * FrozenFire[alt] has joined #silverstripe
26: [00:41:00] * cloph_away has joined #silverstripe
27: [00:43:00] <clodeindustrie> well I wouldn't commit anything to a composer file in my situation
28: [00:44:00] * spronk quit (*.net *.split)
29: [00:44:00] * FrozenFire quit (*.net *.split)
30: [00:44:00] * SightUnseen has left #silverstripe
31: [00:44:00] <Stomach> whoops, my irc didnt scroll down :D
32: [00:44:00] <Stomach> willr already addressed that issue
33: [00:44:00] <clodeindustrie> the only changes in my codebase would be made in the modules
34: [00:44:00] * cloph_away1 quit (*.net *.split)
35: [00:44:00] * SightUnseen has joined #silverstripe
36: [00:45:00] <clodeindustrie> oh fair enough :)
37: [00:46:00] <willr> Stomach yeah only thing that is your own repo should be your 'app' folder and a composer.json, composer.lock file.
38: [00:46:00] <willr> it's a beautiful thing
39: [00:46:00] <Stomach> I run syncs from my master branches, so I commit _everything_
40: [00:46:00] <Stomach> including all modules
41: [00:47:00] <Stomach> it also means when other people come to dev time, they can check out the master branch and not have to do a composer update/install
42: [00:47:00] <Stomach> which sometimes would have version differences from what is actually in production
43: [00:48:00] <Stomach> (thanks to lazy developers and the * option :P)
44: [00:49:00] * FrozenFire has joined #silverstripe
45: [00:49:00] * FrozenFire[alt] is now known as FrozenFire
46: [00:49:00] * FrozenFire quit (Changing host)
47: [00:50:00] <helenclarko> @willr, Thanks for your time.
48: [00:52:00] * LoveDuckie quit (Ping timeout: 240 seconds)
49: [00:52:00] * spronk has joined #silverstripe
50: [01:00:00] <Pyromanik> pippy, take a look at how userforms manages to do it (store serialized objects)
51: [01:04:00] * eikonos quit (Quit: Leaving.)
52: [01:13:00] * chillu quit (Quit: chillu)
53: [01:18:00] <pippy> I should have used
54: [01:18:00] <pippy> Pyromanik: thanks! I was reading it wrong
55: [01:18:00] <pippy> $posts = unserialize ($do->Data);
56: [01:18:00] <pippy> I was using $posts = unserialize ($do->Data());
57: [01:31:00] * clodeindustrie quit (Quit: Textual IRC Client: www.textualapp.com)
58: [01:35:00] <Pyromanik> also
59: [01:35:00] <Pyromanik> ah
60: [01:35:00] <Pyromanik> this is probably old as hell, but I just found: http://vanilla-js.com/
61: [01:36:00] <Pyromanik> I laughed heartily (on the inside)
62: [01:41:00] <irogue> i laughed out loud, even
63: [01:48:00] * joelpittet|afk is now known as joelpittet
64: [01:51:00] <Pyromanik> it's jquery without the jquery bit.
65: [01:51:00] <Pyromanik> irogue, thought you might appreciate it. Also, along those lines: zeptojs.com
66: [01:51:00] <Pyromanik> pretty cool
67: [01:53:00] <Pyromanik> 60bazillion bytes of jQuery into 10Kb.
68: [01:53:00] <Pyromanik> because all vanilla base.
69: [01:53:00] <Colin[pi]> dammit the RootForm in SS doesn't trigger BeforeSave
70: [01:54:00] <Pyromanik> meanwhile I see jQuery have given up reporting the size of their lib all together
71: [01:54:00] <Pyromanik> however it does appear that they're culling out all old suppoet
72: [01:54:00] <Pyromanik> support
73: [01:54:00] <irogue> yeah
74: [01:54:00] <Pyromanik> so stepping closer to zepto by 2.0
75: [01:54:00] <irogue> old support was bloating it like a mofo
76: [01:54:00] <Pyromanik> mmm
77: [01:54:00] <Pyromanik> but
78: [01:55:00] <Pyromanik> and lazy
79: [01:55:00] <Pyromanik> is alway the reason people us it tbh.
80: [01:55:00] <Pyromanik> also*
81: [01:55:00] <Pyromanik> s/alway/also
82: [01:55:00] <irogue> i use it cos it's what i'm used to :P
83: [01:55:00] <Pyromanik> I use it because easy.
84: [01:55:00] <irogue> only need to support IE9+ for our site
85: [01:55:00] <Pyromanik> and I'm supposed to support IE7+
86: [01:55:00] <Pyromanik> although that's more often 8+ in practice
87: [01:56:00] <irogue> 2.4 was a nasty mix of prototype, jquery and vanilla js
88: [01:56:00] <Pyromanik> so anyway
89: [01:56:00] <Pyromanik> sminnee wrote that Behaviour js?
90: [01:56:00] <Pyromanik> in 2.4?
91: [01:56:00] <Pyromanik> I thought it was an external lib
92: [01:56:00] <Pyromanik> how the hell can I trigger one of it's handlers?
93: [01:57:00] <Pyromanik> I tried calling $(el).blur()
94: [01:57:00] <Pyromanik> mmm
95: [01:57:00] <Pyromanik> but that only calls jquery applied handlers
96: [01:57:00] <Pyromanik> like an eff'n gimp IMO.
97: [01:57:00] <Pyromanik> the hell use is that?
98: [01:58:00] <Pyromanik> bind it natively, call it natively, don't keep your own list of master race event handlers jQuery, you racist bastard.
99: [01:59:00] <irogue> is it bedtime yet?
100: [01:59:00] <irogue> can't wait for winter, will be able to get work done. brain just doesn't work when hot.
101: [02:01:00] * liam_ is now known as Guest91344
102: [02:01:00] * liam_ has joined #silverstripe
103: [02:02:00] <spronk> yo Pyromanik, you want to play another game of summah hockey at 7:30 tomorrow?
104: [02:05:00] <Guest91344> I am trying to run some tasks using sake in silverstripe 3 however I can't access any urls etc using Director. Also when I run the task I get PHP Notice: Undefined index: SERVER_NAME, PHP Notice: Undefined index: REQUEST_URI. I have setup an _ss_environment.php file in the site directory but it does not seem to work. Any ideas why this is happening?
105: [02:06:00] <willr> Guest91344 perhaps need to reinstall sake to make sure it's the latest version?
106: [02:07:00] <Guest91344> willr: Its a brand new installation of ss3? The same thing happens also when I run the task using php cli e.g. php framework/cli-script.php dev/tasks/TaksName
107: [02:08:00] <willr> oh, no idea then. Seems to work fine here. Got your _ss_environment.php file with the file_to_mapping setup?
108: [02:09:00] <Guest91344> $_FILE_TO_URL_MAPPING[dirname(__FILE__)] = 'http://url.com';
109: [02:09:00] <Guest91344> yes it has global $_FILE_TO_URL_MAPPING;
110: [02:10:00] <Colin[pi]> hnngggghh.. 30 mins to figure out why SiteConfig doesn't trigger a BeforeSave
111: [02:11:00] <Colin[pi]> (because it doesn't have an ID field in the form, the JS will not trigger with ID = undefined)
112: [02:13:00] <Guest91344> willr: any other ideas?
113: [02:13:00] <willr> Guest91344 no idea, though I haven't looked through sake. What OS / setup you on.
114: [02:14:00] <Guest91344> willr: ubuntu 12.04 with apache2
115: [02:14:00] <Guest91344> this is a live setup
116: [02:15:00] <willr> weird, pretty standard then.
117: [02:18:00] <Pyromanik> spronk, yes
118: [02:18:00] <Pyromanik> I might even try
119: [02:19:00] <Pyromanik> hehe
120: [02:19:00] <spronk> guys*
121: [02:19:00] <Pyromanik> wicked
122: [02:19:00] <spronk> phil ate rio
123: [02:19:00] <Pyromanik> so which one are you?
124: [02:19:00] <spronk> Pyromanik: leet. the two teams that share players are playing against eachother, so.. need more ugys :p
125: [02:20:00] <Pyromanik> spronk, yeh, I get that.
126: [02:20:00] <spronk> ... don't ask. apparently if you say it fast or something :P
127: [02:20:00] <Pyromanik> Guest91344, probably calling the wrong url
128: [02:20:00] <Pyromanik> though half the task controllers were deprecated
129: [02:21:00] <spronk> or Phil Ate Cheetos
130: [02:21:00] <spronk> Phil ate Theo might have been better
131: [02:22:00] <Pyromanik> yeh
132: [02:22:00] <Pyromanik> php -q framework/cli-script.php /TaskControllerName
133: [02:22:00] * Stomach quit (Quit: Leaving.)
134: [02:22:00] * spronk shrugs
135: [02:22:00] <Pyromanik> Guest91344, try with the -q option on PHP
136: [02:23:00] <Pyromanik> or quit
137: [02:23:00] <Pyromanik> you'll need to dev/build first
138: [02:23:00] <Pyromanik> also know that the CLI php keeps it's own manifest
139: [02:23:00] <Pyromanik> and/or flush=1
140: [02:23:00] * Guest91344 quit (Ping timeout: 248 seconds)
141: [02:23:00] <Pyromanik> and never learn the answer
142: [02:23:00] <Pyromanik> whichever
143: [02:24:00] <spronk> ugh
144: [02:24:00] <spronk> trying like 500000 connection strings to try and figure out what one to use for sql express 2k5. fml
145: [02:33:00] * Stomach has joined #silverstripe
146: [02:34:00] <Colin[pi]> simon_w: can you think of any reason a RootForm (i.e. SiteConfig) should not have a hidden ID field?
147: [02:42:00] <Pyromanik> my brain just exploded
148: [02:42:00] <Pyromanik> oh god oh god oh god oh god oh god
149: [02:42:00] <Pyromanik> spent all day finding out how to call an event listener in prototripe
150: [02:42:00] <Pyromanik> turns out
151: [02:42:00] <Pyromanik> it uses the super oldschool and handles it's own ovbserver
152: [02:43:00] * Pyromanik hernias
153: [02:43:00] <irogue> lol
154: [02:43:00] <irogue> lololol
155: [02:43:00] <irogue> lol
156: [02:43:00] <irogue> lolol
157: [02:43:00] <spronk> lolololol
158: [02:43:00] <Pyromanik> Y U DO DIS?
159: [02:43:00] <Pyromanik> SO IT'S JUST element.onblur() !!! FDFFDFFJGWEHIOJOGJQOEGJIOEGJ:JGL?SDJBL"J:
160: [02:44:00] * Pyromanik sighs
161: [02:44:00] <Pyromanik> https://github.com/silverstripe/sapphire/blob/2.4/thirdparty/behaviour/behaviour.js#L230
162: [02:51:00] * Stomach quit (Quit: Leaving.)
163: [02:51:00] * Stomach has joined #silverstripe
164: [03:03:00] <simon_w> Colin[pi], because there's only one SiteConfig object
165: [03:05:00] * liam_ has joined #silverstripe
166: [03:05:00] * liam_ is now known as Guest36294
167: [03:08:00] <Pyromanik> simon_w, no, that is untrue.
168: [03:08:00] <Pyromanik> Colin[pi], still using 2.4 I see?
169: [03:09:00] <Pyromanik> one*
170: [03:09:00] <Pyromanik> translatable and subsites both add more subsites.
171: [03:09:00] <Pyromanik> err, siteconfigs
172: [03:09:00] <simon_w> Pyromanik, SiteConfig::get()->Count() returns one
173: [03:09:00] <simon_w> The details are unimportant, there's one object
174: [03:09:00] <Pyromanik> unless there are more than once.
175: [03:10:00] <Pyromanik> depends if he's using 2.4 or not I guess
176: [03:10:00] <Pyromanik> because SiteConfig and ComplexTableField cause major headaches.
177: [03:10:00] <Pyromanik> when you have more than one siteconfig
178: [03:10:00] <simon_w> In which case, it's your code doing it and you're doing it wrong
179: [03:11:00] <Pyromanik> mmhmm
180: [03:11:00] <simon_w> ComplexTableField has problems when the parent form doesn't have an ID
181: [03:11:00] <Pyromanik> but then yeah, as you say, your code, just push an ID field on your decorator
182: [03:11:00] <Pyromanik> done
183: [03:13:00] * LoveDuckie has joined #silverstripe
184: [03:15:00] * BabySuperman has left #silverstripe
185: [03:28:00] * SightUnseen has left #silverstripe
186: [03:28:00] * SightUnseen has joined #silverstripe
187: [03:31:00] <Pyromanik> Celebrating that aussie holiday?
188: [03:31:00] * simon_w should take mondays off more often
189: [03:32:00] <simon_w> Kinda
190: [03:33:00] * mobiusnz has joined #silverstripe
191: [03:37:00] <mobiusnz> argh. this is driving me nuts. can anyone see what I'm doing wrong here?
192: [03:37:00] <mobiusnz> +-------+------------+
193: [03:37:00] <mobiusnz> | COUNT | Status |
194: [03:37:00] <mobiusnz> +-------+------------+
195: [03:37:00] <mobiusnz> | 1 | New |
196: [03:37:00] <mobiusnz> | 1 | Pending |
197: [03:37:00] <mobiusnz> | 1 | Registered |
198: [03:37:00] <mobiusnz> I'm only getting one result, wheras in mysql: mysql> SELECT COUNT(*) AS COUNT, Status FROM Person WHERE Status != 'Removed' GROUP BY Status;
199: [03:37:00] <mobiusnz> +-------+------------+
200: [03:37:00] <mobiusnz> 3 rows in set (0.00 sec)
201: [03:37:00] <mobiusnz> http://pastie.org/private/ehzgkova49tjmhynwepjgw
202: [03:38:00] <ss23> what if you just var_dump($result)?
203: [03:40:00] <mobiusnz> it does say rowNum = 3
204: [03:40:00] <mobiusnz> ss23: it gives the MySQLQuery object
205: [03:40:00] <simon_w> mobiusnz, see how they all have the same count value? Guess what that does to the map() array.
206: [03:41:00] <mobiusnz> just saw that
207: [03:41:00] <simon_w> Swap them around and you'll be all good
208: [03:41:00] <mobiusnz> yeah
209: [03:42:00] <mobiusnz> indeed I am. Thanks - was getting code blindness
210: [03:43:00] <Pyromanik> man I hate that.
211: [03:43:00] <Pyromanik> too deep in a problem, brain scattered all over the place
212: [03:46:00] * DrCuriosity has joined #silverstripe
213: [03:55:00] * Pyromanik quit (Quit: Leaving)
214: [03:55:00] <Pyromanik> HOME :>
215: [04:04:00] * helenclarko quit (Quit: Page closed)
216: [04:05:00] * nickmolhoek quit (Quit: nickmolhoek)
217: [04:09:00] * Guest36294 quit (Quit: Guest36294)
218: [04:10:00] * DigNZ quit (Quit: DigNZ)
219: [04:27:00] * Stomach quit (Quit: Leaving.)
220: [04:30:00] * DigNZ has joined #silverstripe
221: [04:42:00] * Martin__ has joined #silverstripe
222: [04:44:00] * MrGuits quit (Read error: Connection reset by peer)
223: [05:00:00] * cloph_away1 has joined #silverstripe
224: [05:01:00] * cloph_away quit (Ping timeout: 248 seconds)
225: [05:07:00] * SightUnseen has joined #silverstripe
226: [05:07:00] * SightUnseen has left #silverstripe
227: [05:10:00] * willr quit (Quit: willr)
228: [05:47:00] <spronk> http://www.stuff.co.nz/technology/digital-living/8410469/Eftpos-prank-unnoticed-for-weeks
229: [05:56:00] * DrCuriosity quit (Ping timeout: 260 seconds)
230: [06:19:00] * Shrike_Finland quit (Quit: Leaving.)
231: [06:19:00] * SightUnseen has joined #silverstripe
232: [06:21:00] * SightUnseen quit (Client Quit)
233: [06:29:00] * mobiusnz quit (Quit: Leaving.)
234: [06:30:00] * mobiusnz has joined #silverstripe
235: [06:31:00] * willr has joined #silverstripe
236: [06:34:00] * SightUnseen has joined #silverstripe
237: [06:34:00] * SightUnseen has left #silverstripe
238: [06:34:00] * mobiusnz quit (Client Quit)
239: [06:56:00] * Shrike_Finland has joined #silverstripe
240: [07:07:00] <guci0> Hello all!
241: [07:07:00] * guci0 has joined #silverstripe
242: [07:07:00] <guci0> Hello Monday!
243: [07:10:00] <willr> Howdey
244: [07:18:00] <willr> Awesome to see more grid field extensions.. https://github.com/smindel/silverstripe-GridFieldAddOns
245: [07:19:00] <Shrike_Finland> Wow, great
246: [07:37:00] * ajshort has joined #silverstripe
247: [07:45:00] * priithansen has joined #silverstripe
248: [07:47:00] <Colin[pi]> simon_w: thanks, understand it's supposed to be a singleton, just that BeforeSave event binds fail on SiteConfig due to no ID field
249: [07:50:00] * zfmf has joined #silverstripe
250: [08:06:00] <simon_w> Colin[pi], so add one in your extension
251: [08:10:00] <g4b0> hi all
252: [08:10:00] * g4b0 has joined #silverstripe
253: [08:12:00] <simon_w> Morning
254: [08:26:00] <g4b0> how can I run a single test case with sake?
255: [08:28:00] <g4b0> nice, thanks
256: [08:28:00] <simon_w> sake dev/tests/<ClassName>
257: [08:28:00] <simon_w> just like you would from a browser
258: [08:29:00] <simon_w> nope
259: [08:29:00] <g4b0> ok
260: [08:29:00] <g4b0> can I also run a single function?
261: [08:30:00] <g4b0> better than nothing :)
262: [08:33:00] * ocm has joined #silverstripe
263: [08:33:00] <ocm> howdy!
264: [08:34:00] * SightUnseen has left #silverstripe
265: [08:34:00] * SightUnseen has joined #silverstripe
266: [08:35:00] <ocm> when I am visiting the site, these are not loaded (not found)
267: [08:35:00] <ocm> I have my modernizer and jquery in /mysite/js/vendor/jquery.js (and modernizer.js)
268: [08:35:00] <ocm> funny issue I just encountered
269: [08:35:00] * DrCuriosity has joined #silverstripe
270: [08:36:00] <ocm> does the folder "vendor" break it or anything?
271: [08:36:00] <ocm> it gets found
272: [08:36:00] <ocm> when I move them to /mysite/js/jquery.js
273: [08:37:00] * hubertusanton has joined #silverstripe
274: [08:37:00] * aaron1245 quit (Quit: aaron1245)
275: [08:37:00] * Guits has joined #silverstripe
276: [08:38:00] * joelpittet is now known as joelpittet|zzz
277: [08:38:00] * Martin__ quit (Read error: Connection reset by peer)
278: [08:41:00] <ocm> RedirectMatch 403 /vendor(/|$)
279: [08:41:00] <ocm> hm, it seems to be this line in the .htaccess which breaks it
280: [08:42:00] <ocm> so that /mysite/js/vendor/ wont get a 403?
281: [08:42:00] <ocm> any htaccess master who can help me fixing this?
282: [08:48:00] <simon_w> ocm, easiest option is to rename vendor to thirdparty or somesuch
283: [08:48:00] <simon_w> Yay, composer. So good at not breaking things!
284: [08:49:00] * SightUnseen has joined #silverstripe
285: [08:51:00] * SightUnseen has left #silverstripe
286: [08:53:00] * chillu has joined #silverstripe
287: [09:01:00] * Friksel has joined #silverstripe
288: [09:09:00] * popeshoe has joined #silverstripe
289: [09:09:00] * kinglozzer has joined #silverstripe
290: [09:11:00] * DrCuriosity quit (Ping timeout: 245 seconds)
291: [09:26:00] <ocm> html5bp for example always puts a /js/vendor/ in het package
292: [09:26:00] <ocm> or basicly anywhere
293: [09:26:00] <ocm> maybe put it somewhere in the docs, to not use a vendor directory in mysite
294: [09:26:00] <ocm> I guessed so simon_w
295: [09:27:00] <g4b0> chillu: I had some testing on HTML5 and XHTML ampersand validation
296: [09:27:00] <g4b0> https://github.com/silverstripe/sapphire/pull/1267
297: [09:31:00] <chillu> g4b0: That looks better, thanks!
298: [09:32:00] <g4b0> I'm glad to help the project
299: [09:36:00] * willr quit (Quit: willr)
300: [09:40:00] * waveydave has joined #silverstripe
301: [09:42:00] <travis-ci> [travis-ci] silverstripe/sapphire#1594 (3.1 - 31bb601 : Ingo Schommer): The build is still failing.
302: [09:42:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/07886c3e61c4...31bb60199e3c
303: [09:42:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/5405311
304: [09:42:00] * travis-ci has joined #silverstripe
305: [09:42:00] * travis-ci has left #silverstripe
306: [09:50:00] * Zauberfisch|idle quit (Ping timeout: 256 seconds)
307: [09:51:00] <Colin[pi]> simon_w: thanks, pushed a hidden field in the extension and now it's working ^_^
308: [09:51:00] * joelpittet|zzz quit (Remote host closed the connection)
309: [09:52:00] * DrCuriosity has joined #silverstripe
310: [10:02:00] * hubertusanton quit (Quit: hubertusanton)
311: [10:03:00] * hubertusanton has joined #silverstripe
312: [10:04:00] <g4b0> is it possible in SS 3.1-beta2 that <a href='#'>aaa</a> is substituted with <a href='/absolute/url'>aaa</a> ?
313: [10:04:00] <hubertusanton> whats the problem exactly?
314: [10:06:00] <g4b0> in template I have some link with href='#'
315: [10:06:00] <g4b0> XHTML strict validation
316: [10:06:00] <hubertusanton> <a href='$Link'>aaa</a> ?
317: [10:07:00] <hubertusanton> you can avoid linking using js with return false onclick?
318: [10:07:00] <hubertusanton> or <a href="{$Link}#">aaa</a>
319: [10:07:00] <g4b0> sometimes it's needed to avoid linking
320: [10:08:00] <g4b0> workaround
321: [10:08:00] <g4b0> that's just a workaroung
322: [10:08:00] <g4b0> It's not possible to avoid # rewriting?
323: [10:08:00] <g4b0> I like to solve it :)
324: [10:09:00] <g4b0> I'm working on some bugfix to make SS XHTML strict compilant
325: [10:09:00] <kinglozzer> g4b0: <a href="javascript:void(0)">aaa</a> ?
326: [10:10:00] <g4b0> but it's a workaround againg :(
327: [10:10:00] <g4b0> why does Silverstripe replace # with current URL?
328: [10:10:00] <g4b0> kinglozzer: it should work
329: [10:10:00] * lx-berlin has joined #silverstripe
330: [10:11:00] <kinglozzer> That's what all browsers do with #
331: [10:11:00] <g4b0> mmm
332: [10:11:00] <kinglozzer> g4b0: It doesn't?
333: [10:12:00] <g4b0> but if I have this URL
334: [10:12:00] <g4b0> you right
335: [10:12:00] <kinglozzer> g4b0: A # will always just be added to the end of the URL, as they're used for anchors on a page
336: [10:13:00] <g4b0> without replacing & with &aom;
337: [10:13:00] <kinglozzer> When possible :)
338: [10:13:00] <kinglozzer> g4b0: If you're using JS to rewrite the link, or do ajax or something, we always try to make the URL link to a fallback for those with JS turned off
339: [10:13:00] <g4b0> aaa/il-comune/regolamenti/?sortWhat=Title+DESC&filtered=0&filteredT&filteredQ=&filteredM=
340: [10:13:00] <g4b0> browser replace links
341: [10:14:00] <g4b0> so it'a browser's issue
342: [10:14:00] <g4b0> &amp;
343: [10:14:00] <g4b0> breaking XHTML validation :(
344: [10:18:00] * Zauberfisch|idle has joined #silverstripe
345: [10:19:00] <g4b0> it still validate with w3c validator
346: [10:20:00] <g4b0> but it crash the DOM in strict mode
347: [10:23:00] * peter_ss quit (Quit: Leaving.)
348: [10:26:00] <Colin[pi]> http://i.imgur.com/ilNq5xO.jpg
349: [10:26:00] <Colin[pi]> so this hot air balloon took off in Canberra today
350: [10:28:00] * ajshort quit (Quit: Leaving)
351: [10:30:00] * Zauberfisch has joined #silverstripe
352: [10:45:00] * spronk quit (Ping timeout: 245 seconds)
353: [11:05:00] <zfmf> does someone uses kaspersky internet security :D
354: [11:07:00] * jcwacky has joined #silverstripe
355: [11:10:00] <jcwacky> i.e., I'd like a "Name" field which will search in both First Names & Surname.
356: [11:10:00] <jcwacky> Is it possible to have a single search field search multiple fields on DO? I've using SearchContext as per the docs.
357: [11:13:00] * Zauberfisch quit (Read error: Connection reset by peer)
358: [11:13:00] * Zauberfisch has joined #silverstripe
359: [11:20:00] * zfmf quit (Remote host closed the connection)
360: [11:21:00] * ARNHOE has joined #silverstripe
361: [11:23:00] * zfmf has joined #silverstripe
362: [11:32:00] <ocm> but what to use for onload/ready?
363: [11:32:00] <ocm> I am using onclick, onchange
364: [11:32:00] <ocm> onload is not the right thing
365: [11:32:00] <ocm> on what can I hook script on entwine?
366: [11:32:00] <ocm> :D
367: [11:33:00] * waveydave quit (Read error: Connection reset by peer)
368: [11:33:00] <ocm> jcwacky, you could create 2 hidden fields for name and surname, on which you post the searchquery for name before posting the form for your search
369: [11:35:00] * Friksel quit (Ping timeout: 245 seconds)
370: [11:36:00] <jcwacky> Prob not the best way, but it works!
371: [11:36:00] <jcwacky> Thanks, I decided just to create a "Name" db field, that automatically updates in onBeforeWrite, and hid it from the CMS!
372: [11:36:00] * Colin[pi] quit (Ping timeout: 260 seconds)
373: [11:37:00] <ocm> :D
374: [11:37:00] <ocm> its never a best way to have 2 fields containing the same data
375: [11:48:00] * DrCuriosity quit (Ping timeout: 252 seconds)
376: [11:53:00] <kinglozzer> ocm: onmatch
377: [12:12:00] * Zauberfisch quit (Read error: Connection reset by peer)
378: [12:17:00] * Boblakk has joined #silverstripe
379: [12:18:00] <Boblakk> Hey guys. Im just trying to get a board, gallery and a blog into the system. Do i need to take a earlier version to get the extensions to work for it? And when yes, where can i find that download? Thanks a lot
380: [12:34:00] * Boblakk quit (Quit: Page closed)
381: [12:41:00] <lx-berlin> can i adjust the width of the HTMLEditor in the CMS, that it fits to the width of the main content in the website ?
382: [12:42:00] <Guits> how do i resize images only if they are bigger than "X"?
383: [12:42:00] * UndefinedOffset has joined #silverstripe
384: [12:42:00] <ocm> cause of tables and stuff
385: [12:42:00] <ocm> though the buttons in the tinyMCE wont resize manually
386: [12:42:00] <ocm> you can adjust the width of the editor
387: [12:43:00] <ocm> javascript? :P
388: [12:44:00] <ocm> though I think resizing using the imagecontroller?
389: [12:45:00] <lx-berlin> $ContentField = $fields->fieldByName("Content");
390: [12:45:00] <kinglozzer> lx-berlin: "Root.Content" or "Root.Main.Content"
391: [12:45:00] <kinglozzer> Can't remember which
392: [12:45:00] <lx-berlin> let me try
393: [12:45:00] * ajshort has joined #silverstripe
394: [12:45:00] <lx-berlin> this doesnt work
395: [12:45:00] <kinglozzer> Guits: Write a function in your Controller. if ($image->getWidth() > 123) { return $image->SetWidth(122) } else { return $image }
396: [12:45:00] <lx-berlin> $fields = parent::getCMSFields();
397: [12:46:00] <lx-berlin> ahh
398: [12:46:00] <Guits> kinglozzer: where should i put that to make it work in my scope ?
399: [12:47:00] <lx-berlin> thanks kinglozzer
400: [12:47:00] <kinglozzer> Guits: If it's on the front end, in your Page controller
401: [12:48:00] <lx-berlin> but now i think there is a much easier way. I just need to set body { 600px; } in editor. css :)
402: [12:49:00] <kinglozzer> Yep :)
403: [12:50:00] <lx-berlin> the website is not responsive
404: [12:59:00] * Colin[pi] has joined #silverstripe
405: [13:20:00] * peter_ss has joined #silverstripe
406: [13:30:00] * Colin[pi] quit (Ping timeout: 255 seconds)
407: [13:30:00] * MiniZeka has joined #silverstripe
408: [13:31:00] <MiniZeka> is it possible to enable drag n drop sorting in DataObjectManager by default
409: [13:31:00] * ajshort quit (Read error: Connection reset by peer)
410: [13:31:00] <g4b0> chillu: I found this into the framework source code:
411: [13:31:00] <g4b0> class PurifierHTMLCleaner extends HTMLCleaner
412: [13:31:00] <MiniZeka> instead of having to click on checbox to enable it?
413: [13:32:00] <chillu> g4b0: … aand? ;)
414: [13:32:00] <g4b0> :)
415: [13:32:00] <g4b0> how about using it into ContentNegotiator::xhtml()?
416: [13:33:00] <chillu> To my knowledge, HTMLPurifier is for security purposes, rather than transformation between doctypes. And its going to be slow, since it has to run over the complete output, plus cause all kinds of trouble in its default settings (e.g. stripping <script> tags)
417: [13:33:00] <g4b0> yes, I can confirm it'a a performace killer
418: [13:34:00] <g4b0> but we are using it at onBeforeWrite
419: [13:34:00] <g4b0> and it transform everithing coming out from TinyMCE + SS
420: [13:34:00] <g4b0> in XHTML strict code :P
421: [13:35:00] <g4b0> I agree with you that it's not good for rendering pages
422: [13:35:00] <chillu> But in general, if you ensure the TinyMCE and Purifier rules match up, its a sensible approach
423: [13:35:00] <g4b0> it was just a rant :)
424: [13:35:00] <g4b0> of course
425: [13:35:00] <chillu> onBeforeWrite is called a couple of times on every page write, which is a tiny fraction of page renders
426: [13:36:00] <chillu> Not for core though, I think.
427: [13:36:00] <g4b0> yep
428: [13:37:00] <g4b0> so that "if" will always fail
429: [13:37:00] <g4b0> but ther is no HTMLPurifier in source code
430: [13:37:00] <g4b0> just a question: in HTMLCleaner::inst
431: [13:37:00] <g4b0> there is taht line of code
432: [13:37:00] <g4b0> if (class_exists('HTMLPurifier')) return new PurifierHTMLCleaner();
433: [13:38:00] <g4b0> do I have to install HTMLPurifier by hand?
434: [13:39:00] <UndefinedOffset> chillu g4b0 on the subject of xhtml, I have noticed that the data posted by tinymce is html5 not xhtml regardless of tiny's config, i.e. setting element_format to xhtml, any thoughts?
435: [13:39:00] <MiniZeka> no one noticed my question :(
436: [13:39:00] <MiniZeka> is it possible to enable drag n drop sorting in DataObjectManager by default instead of having to click on checbox to enable it?
437: [13:39:00] <g4b0> UndefinedOffset
438: [13:39:00] <UndefinedOffset> MiniZeka I don't think, I've never seen it done, maybe if UncleCheese is hanging around he maybe able to help :)
439: [13:40:00] <g4b0> We process the TinyMCE output with HTMLPurifier at onBeforeWrite
440: [13:40:00] <g4b0> in order to have xhtml code stored into the db
441: [13:40:00] <MiniZeka> thank you UndefinedOffset!
442: [13:42:00] <UndefinedOffset> ya, thats one way not the most efficient but it would work :), if i remember right the issue seems to be when the cms calls tinyMCE.triggerSave() the output to the textarea is different then if you retrieved the content of the editor via tinyMCE.get('content id').getContent()
443: [13:42:00] * Shrike_Finland quit (Quit: Leaving.)
444: [13:43:00] <g4b0> yep, not efficient but it works
445: [13:43:00] <UndefinedOffset> :S
446: [13:43:00] <UndefinedOffset> getContent() returns xhtml were as the triggerSave() does not
447: [13:43:00] <g4b0> in backend it doesn't matter
448: [13:44:00] <UndefinedOffset> i wonder if a simple change to HtmlEditorField.js would work...
449: [13:44:00] <g4b0> it's better to be inefficent in backend instead that in frontenf, isn't it?
450: [13:45:00] <g4b0> right
451: [13:45:00] <UndefinedOffset> well if you post the data correctly in the first place the inefficentcy wouldn't be in eather place right?
452: [13:45:00] <g4b0> you will have another problem, though:
453: [13:45:00] <g4b0> the problem is that if you store a <br /> into the DB
454: [13:46:00] <g4b0> you have to process it again throug ContentNegotiator
455: [13:46:00] <UndefinedOffset> 0_o
456: [13:46:00] <g4b0> SS3.1.0-beta2 will render a <br> instead of it :(
457: [13:46:00] <UndefinedOffset> fun... yay 3.0 stable lol
458: [13:47:00] <g4b0> but it has the side-effect to modify the Content-Type header in application/xhtml+xml
459: [13:47:00] <g4b0> that breaks a lot of js and trigger validation errors directly into the browser
460: [13:47:00] <UndefinedOffset> yep that it does
461: [13:47:00] <UndefinedOffset> i wonder if changing line 45 of HtmlEditorField to $(this).val(tinyMCE.get($(this).attr('id')).getContent()); something would produce the correct html in the database atleast
462: [13:48:00] <UndefinedOffset> don't think my suggestion would work exactly ;) but its an idea anyways
463: [13:49:00] <UndefinedOffset> its strange getContent() vs triggerSave() produces two different results :S
464: [13:49:00] <g4b0> :)
465: [13:50:00] <g4b0> with HTMLPurfier you are sure for the 99.9% that you have XHTML strict code
466: [13:50:00] <UndefinedOffset> mm
467: [13:50:00] <g4b0> also after cut/paste from the evil (Word)
468: [13:51:00] <g4b0> some clients can't understand it
469: [13:51:00] <UndefinedOffset> lol I see clients do that all the time, we just train to use paste as plain text then format in the editor
470: [13:51:00] <UndefinedOffset> works most of the time
471: [13:52:00] <g4b0> I prefer a little bit of overhead while storing into the db
472: [13:52:00] <g4b0> than a lot of headache trying to clean the code :D
473: [13:53:00] <UndefinedOffset> mm
474: [13:55:00] * MiniZeka quit (Ping timeout: 245 seconds)
475: [13:56:00] <UndefinedOffset> still would be kinda nice to figure out and correct tiny's posted data so its atleast some what xhtml oh well
476: [14:06:00] * Friksel has joined #silverstripe
477: [14:09:00] <Friksel> Hi all, anybody know how to not having the ?m=398359359 while loading javascript through the requirements class?
478: [14:10:00] <Friksel> I know what it's for, but it seems like it messes up IE8, although I don't know why
479: [14:15:00] <g4b0> are you writing and XHTML template?
480: [14:15:00] <g4b0> Friksel
481: [14:29:00] * feejin has joined #silverstripe
482: [14:30:00] * discorpia quit (*.net *.split)
483: [14:30:00] * mrzero quit (*.net *.split)
484: [14:30:00] * FrozenFire quit (*.net *.split)
485: [14:31:00] * discorpia has joined #silverstripe
486: [14:31:00] * mrzero has joined #silverstripe
487: [14:31:00] * FrozenFire has joined #silverstripe
488: [14:31:00] * mrzero has joined #silverstripe
489: [14:31:00] * mrzero quit (Changing host)
490: [14:33:00] * Friksel_ has joined #silverstripe
491: [14:35:00] * svandragt has joined #silverstripe
492: [14:35:00] * Friksel quit (Ping timeout: 245 seconds)
493: [14:36:00] <svandragt> Anyone knows how do I add methods that are both inherited by the Image and the Image_Cached class without modifying the core? (Image_Cached extends Image)
494: [14:44:00] <UndefinedOffset> svandragt try using an extension object
495: [14:46:00] * Shrike_Finland has joined #silverstripe
496: [14:49:00] * Friksel has joined #silverstripe
497: [14:52:00] * Friksel_ quit (Ping timeout: 245 seconds)
498: [14:53:00] <svandragt> UndefinedOffset: thanks that is what I'm doing :)
499: [14:58:00] * catcher has joined #silverstripe
500: [14:58:00] * catcher quit (Changing host)
501: [14:58:00] * catcher has joined #silverstripe
502: [15:04:00] <hubertusanton> anybody set the tinymce formats to only use h1, h2 and h3 (ss3)
503: [15:07:00] * Zauberfisch|idle quit (Ping timeout: 256 seconds)
504: [15:07:00] <hubertusanton> HtmlEditorConfig::get('cms')->setOption('theme_advanced_blockformats', 'p,h1,h2,h3');
505: [15:07:00] <hubertusanton> never mind
506: [15:11:00] <svandragt> $this->AddClass('left')->SetWidth(80);
507: [15:11:00] <svandragt> Added methods for adding html classes to Image class html if anyone is interested.
508: [15:12:00] <kinglozzer> It's something I've been meaning to look at for a while though :)
509: [15:12:00] <kinglozzer> svandragt: Cool, any reason you couldn't write out the tag like <img class="left" src="$Image.SetWidth(80).URL" /> in the template?
510: [15:13:00] * Pigeon has joined #silverstripe
511: [15:13:00] * Pigeon is now known as Guest53742
512: [15:13:00] <svandragt> Same reasoning behind including a getTag() function in the Image object :P
513: [15:14:00] <svandragt> kinglozzer: Ah I see, I can save image presets in the Image object extension so that I can change the preset wherever it's used.
514: [15:15:00] * Zauberfisch|idle has joined #silverstripe
515: [15:15:00] <svandragt> kinglozzer: It's handy to have all the image presets in the one file, rather than scattered all over your templates?
516: [15:15:00] <svandragt> kinglozzer: in the template I'd call $PageImage.StoryLeft which calls the StoryLeft preset image, which in turn sets the class and the width
517: [15:17:00] * micmania1 has joined #silverstripe
518: [15:17:00] * PigeonFriend quit (Ping timeout: 252 seconds)
519: [15:18:00] * joelpittet|zzz has joined #silverstripe
520: [15:18:00] <g4b0> chillu: oops, I found a regression with https://github.com/silverstripe/sapphire/pull/1267
521: [15:19:00] <chillu> OK, are yo uable to fix?
522: [15:19:00] <g4b0> I'm not a CMS guru :)
523: [15:19:00] <g4b0> it works well in frontend, but in backend the SiteTree is no more displayed...
524: [15:19:00] <g4b0> mmm, not sure
525: [15:20:00] <chillu> And what error are you getting in which browser?
526: [15:20:00] <chillu> works fine here though in default config. Do you have any customized requirements settings?
527: [15:21:00] <g4b0> chrome
528: [15:21:00] * UndefinedOffset quit (Read error: Connection reset by peer)
529: [15:21:00] <g4b0> also in Firefox
530: [15:21:00] <g4b0> but SiteTree not displayed
531: [15:21:00] <g4b0> do you think it's some non-standard config?
532: [15:21:00] <g4b0> no errors
533: [15:21:00] <kinglozzer> g4b0: Have you done a ?flush=all, when switching versions that's happened to me before
534: [15:22:00] <g4b0> flush=all no result
535: [15:23:00] <g4b0> mmm
536: [15:23:00] <g4b0> how can I debug it on my main installation?
537: [15:23:00] <g4b0> testing in a fresh install works fine
538: [15:23:00] <chillu> in dev or live mode? (= with/without compressed JS)
539: [15:25:00] <g4b0> it seems a js error
540: [15:25:00] <g4b0> both
541: [15:26:00] <g4b0> but SiteTree is not displayed
542: [15:26:00] <g4b0> no errors in console
543: [15:26:00] <g4b0> the 3 blue led are blinking
544: [15:32:00] <g4b0> now I'm trying de-commenting one by one to find
545: [15:32:00] <g4b0> and it works
546: [15:32:00] <kinglozzer> g4b0: Sorry to repeat myself, but that's exactly what happened to me - have you done /admin/pages?flush=all as well? The /dev/build?flush=all didn't work for me when switching CMS/Framework versions
547: [15:32:00] <g4b0> I'm trying commentig my config
548: [15:32:00] <g4b0> yep
549: [15:33:00] <g4b0> what's breaking my CMS
550: [15:36:00] <g4b0> I found it
551: [15:36:00] <g4b0> HtmlEditorConfig::get('cms')->enablePlugins('youtubeIframe');
552: [15:36:00] * joelpittet has joined #silverstripe
553: [15:36:00] <g4b0> for now I disabled it
554: [15:36:00] <g4b0> it was our custom plugin :)
555: [15:36:00] <g4b0> I wikk investigate...
556: [15:36:00] <g4b0> will*
557: [15:36:00] * joelpittet|zzz quit (Remote host closed the connection)
558: [15:39:00] <micmania1> If its the same youtube plugin I may have a fix for you
559: [15:39:00] <g4b0> It would be nice, micmania1
560: [15:40:00] <micmania1> http://www.sspaste.com/paste/show/513dfaf026629 - Try that.
561: [15:41:00] <micmania1> Obviously adjust the path to match your site.
562: [15:41:00] <micmania1> ps that's to go in your _config.php file.
563: [15:43:00] <g4b0> thanks a lot
564: [15:43:00] <g4b0> I willl have a try
565: [15:44:00] <micmania1> No Problem. It was a while ago now, but i'm pretty sure I had the same problem as you (although I only caught half your convo)
566: [15:51:00] * UndefinedOffset has joined #silverstripe
567: [15:51:00] <g4b0> Do you have youtubeIframe directory under /mysite/tinymce/youtubeIframe ?
568: [15:52:00] <micmania1> yes, but my "mysite" folder is just called "site"
569: [15:53:00] <kinglozzer> Hmm. I'm using UncleCheese's displaylogic module, but it's not picking up the new fieldholder templates :/
570: [16:04:00] <kinglozzer> Even if I name it zzz_silverstripe-display-logic it doesn't pick them up :(
571: [16:05:00] <g4b0> micmania1: I've got this error: GET http://comunemondovi31.zk/comunemondovi/tiny_mce_popup.js 404 (Not Found)
572: [16:06:00] <kinglozzer> It's not a problem with the module, it's just that SS isn't picking up the templates
573: [16:06:00] <g4b0> kinglozzer: never used displaylogic, sorry
574: [16:06:00] * Friksel quit (Ping timeout: 245 seconds)
575: [16:08:00] <g4b0> _config.php file is there?
576: [16:08:00] <kinglozzer> g4b0: Yep. The PHP is all okay, it's just the .ss templates it can't find
577: [16:09:00] <kinglozzer> Done that as well
578: [16:09:00] <micmania1> kinglozzer, try ?flush=all at the end of your URL
579: [16:10:00] <micmania1> g4b0, the path in your _config.php file must be wrong. Ensure its pointing to the JS file in its correct location.
580: [16:10:00] <kinglozzer> It seems to work for everyone else
581: [16:11:00] <g4b0> the prolem arise when I click it
582: [16:11:00] <g4b0> the path is correct, I see the red arrow
583: [16:13:00] <UndefinedOffset> is the popup js located where its looking for it?
584: [16:16:00] <hubertusanton> hi
585: [16:16:00] <g4b0> comunemondivi is my mysite renamed :/
586: [16:16:00] <g4b0> nope
587: [16:17:00] <hubertusanton> the right click in the cms (ss3) gives an empty popup
588: [16:17:00] <hubertusanton> anyone encountered this one as well?
589: [16:18:00] <g4b0> hubertysanton: allowed_children?
590: [16:20:00] <micmania1> g4b0: did you alter the path correctly in the _config.php?
591: [16:20:00] <g4b0> yes, I've checked it...
592: [16:21:00] <g4b0> now I'm trying to test it in a clean installation
593: [16:21:00] <hubertusanton> thanks, i didnt explain right, right click gives me (in a holderpage for example) two empty lines, second line has a pointer to right which lets me create the allowed children, wonder why this is all empty
594: [16:22:00] <hubertusanton> the right click duplicate page is not there in ss3 anymore right?
595: [16:25:00] <UndefinedOffset> hubertusanton ya they removed it
596: [16:35:00] <g4b0> micmania1: maybe i have some issue into the plugin, I will investigate further...
597: [16:39:00] <hubertusanton> thanks, i gues my empty right click has something to do with empty Tree.AddSubPage in js translation files but i 'll look further into this tomorrow, nobody had the same issue?
598: [16:43:00] * joelpittet quit (Remote host closed the connection)
599: [16:46:00] <hubertusanton> see http://test.30.nl/empty.png
600: [16:51:00] <micmania1> nope, never has that issue
601: [16:54:00] * azureKnight has joined #silverstripe
602: [16:55:00] * ocm quit ()
603: [16:59:00] <g4b0> bye
604: [16:59:00] * g4b0 quit (Quit: Sto andando via)
605: [17:05:00] * eikonos quit (Changing host)
606: [17:05:00] * eikonos has joined #silverstripe
607: [17:05:00] * eikonos has joined #silverstripe
608: [17:12:00] * joelpittet has joined #silverstripe
609: [17:18:00] * kinglozzer quit (Remote host closed the connection)
610: [17:18:00] * Zauberfisch|idle quit (Ping timeout: 256 seconds)
611: [17:19:00] <jcwacky> can someone point me in the direction of the code for the CMS notification box?
612: [17:22:00] * Zauberfisch|idle has joined #silverstripe
613: [17:23:00] <FrozenFire> http://code.google.com/p/jquery-notice/
614: [17:23:00] <FrozenFire> jcwacky, ^
615: [17:23:00] <FrozenFire> https://github.com/silverstripe/sapphire/blob/3.0/admin/javascript/LeftAndMain.js#L965
616: [17:23:00] * aaron1245 has joined #silverstripe
617: [17:24:00] <FrozenFire> It's not really coupled to the back-end like that
618: [17:24:00] <jcwacky> Ah, thanks! Are there any PHP helpers for it at all?
619: [17:25:00] <jcwacky> ok, no probs. I'll take look.
620: [17:26:00] <FrozenFire> So far as I'm aware, it'll show error messages and validation issues. Not sure how to get it to show arbitrary messages
621: [17:28:00] * feejin quit (Remote host closed the connection)
622: [17:29:00] <FrozenFire> So you can set the X-Status header to show arbitrary messages
623: [17:29:00] <FrozenFire> Ah wait
624: [17:29:00] <jcwacky> ahh
625: [17:29:00] <FrozenFire> https://github.com/silverstripe/sapphire/blob/3.0/admin/javascript/LeftAndMain.js#L78
626: [17:30:00] <jcwacky> cool, I'll have a play!
627: [17:30:00] <FrozenFire> https://github.com/silverstripe/sapphire/blob/3.0/admin/code/LeftAndMain.php#L865
628: [17:32:00] * Friksel has joined #silverstripe
629: [17:35:00] <jcwacky> Hmm, think it's a bit beyond me.
630: [17:35:00] <jcwacky> Was just hoping I could easily set a notification, at the end of an action, before doing a redirect back to the CMS.
631: [17:36:00] * Friksel quit (Ping timeout: 245 seconds)
632: [17:37:00] * toebu has joined #silverstripe
633: [17:38:00] * Friksel has joined #silverstripe
634: [17:40:00] <toebu> I am working with cli-script.php ... when I grab a page and try to 'createTranslation' silverstripe bombs out and tells me that Creating a new translation in locale "en_US" is not allowed for this user
635: [17:40:00] <toebu> how can I 'set' a user when running with cli-script.php
636: [17:45:00] * joelpitt_ has joined #silverstripe
637: [17:46:00] * Friksel_ has joined #silverstripe
638: [17:47:00] <FrozenFire> jcwacky, Yeah, it's not for the faint-hearted, I don't think.
639: [17:47:00] <FrozenFire> toebu, How are you using cli-script.php?
640: [17:48:00] * joelpittet quit (Ping timeout: 245 seconds)
641: [17:49:00] * Friksel quit (Ping timeout: 245 seconds)
642: [17:59:00] <lx-berlin> are there any plans to add a function to duplicate pages and trees in the CMS (as in SS2.4) ?
643: [17:59:00] * chillu quit (Quit: chillu)
644: [18:00:00] <Friksel_> @lx-berlin: I don't know about SS plans, but it's possible to create a CMS action to do it yourself
645: [18:01:00] <lx-berlin> that would be nice. I would like to copy subtrees. Any idea how to start working on this ? any tutorial ?
646: [18:04:00] <Friksel_> I don't thinkt there's a tutorial for that, but I found this one on google: http://www.silverstripe.org/data-model-questions/show/17342 . It's for v2, but I guess it will help you with v3 as well
647: [18:05:00] <Friksel_> Copying the relations on the page are the challenge part I guess ;)
648: [18:06:00] * eikonos quit (Ping timeout: 256 seconds)
649: [18:07:00] <FrozenFire> Not particularly.
650: [18:07:00] <FrozenFire> DataObject::duplicate already does everything, basically.
651: [18:07:00] <FrozenFire> has_one relations are obviously duplicated since they're just a field in the record
652: [18:07:00] <FrozenFire> has_many relations cannot be duplicated
653: [18:07:00] <FrozenFire> many_many relations are also duplicated
654: [18:08:00] * eikonos has joined #silverstripe
655: [18:08:00] * eikonos has joined #silverstripe
656: [18:08:00] * eikonos quit (Changing host)
657: [18:08:00] * azureKnight quit (Ping timeout: 252 seconds)
658: [18:09:00] * azureKnight has joined #silverstripe
659: [18:10:00] * onre quit (Ping timeout: 276 seconds)
660: [18:11:00] * onre has joined #silverstripe
661: [18:11:00] * simon_w quit (Quit: This computer has gone to sleep)
662: [18:12:00] * onre is now known as Guest63766
663: [18:13:00] <Friksel_> @FrozenFire: Nice
664: [18:16:00] <Friksel_> Anybody uses the translatable module? Translatable::set_current_locale($locale); switches the locale, but the site doesn't switch to the page of the according language. I tried ?locale=en_US, but it seems that isn't supported in SS3...
665: [18:17:00] <FrozenFire> The locale GET variable is definitely supported.
666: [18:20:00] * Friksel_ quit (Ping timeout: 245 seconds)
667: [18:20:00] * Zauberfisch|idle quit (Ping timeout: 256 seconds)
668: [18:24:00] * Friksel has joined #silverstripe
669: [18:26:00] * DigNZ quit (Quit: DigNZ)
670: [18:27:00] <Friksel> @FrozenFire: yes, you're right I see the page switching. Thanks. But the challenge I'm facing now is to switch language while it calls the same action with the same ID (www/games/game/play/39f67efb1da2116313e7ae5a8734e37fac22ede3?locale=nl_NL directs to: www/games-nl-nl/game-nl-nl)
671: [18:28:00] <Friksel> Is there any known solution for this?
672: [18:28:00] * joelpitt_ quit (Remote host closed the connection)
673: [18:30:00] * Zauberfisch|idle has joined #silverstripe
674: [18:33:00] * gelignite has joined #silverstripe
675: [18:34:00] <FrozenFire> Not that I'm aware of, though I don't often use the Translatable module, so you might get better support from the SS team later (they're just waking up, I think)
676: [18:36:00] * zfmf has left #silverstripe
677: [18:40:00] <lx-berlin> thanks for your answers Friksel and FrozenFire on the tree copy problem (i was afk)
678: [18:41:00] * Friksel quit (Ping timeout: 245 seconds)
679: [18:45:00] <azureKnight> Hmm. If I was trying to make the page know to link to itself but as a .xml would I have to hardcode that? I tried to use $AbsoluteLink.xml but it puts a slash after the final part of the link.
680: [18:45:00] <azureKnight> :/
681: [18:46:00] * ARNHOE quit (Read error: Connection reset by peer)
682: [18:46:00] <azureKnight> Yeah, it still includes the closing / of the url.
683: [18:46:00] <FrozenFire> {$AbsoluteLink}.xml
684: [18:47:00] <FrozenFire> That's how SiteTree::Link works
685: [18:47:00] * ARNHOE has joined #silverstripe
686: [18:47:00] <FrozenFire> I would, instead, suggest doing {$AbsoluteLink}?format=xml
687: [18:47:00] <azureKnight> Haha. So I noticed. ;)
688: [18:47:00] <FrozenFire> Yes.
689: [18:48:00] <azureKnight> I see what you're saying.
690: [18:48:00] <azureKnight> Oh?
691: [18:48:00] <FrozenFire> Placing the output format in the URL like that violates restfulness.
692: [18:48:00] <FrozenFire> Or at least, the restful URI scheme
693: [18:48:00] <FrozenFire> As opposed to being a routing parameter
694: [18:48:00] <FrozenFire> The format you want in return is a parameter to the endpoint
695: [18:48:00] <azureKnight> Hmm.
696: [18:49:00] <azureKnight> Seeing as in the controller i put public function xml() {return array();}
697: [18:49:00] <azureKnight> I'd have to figure out how to do that in my php then.
698: [18:49:00] * Stomach has joined #silverstripe
699: [18:49:00] <FrozenFire> if($this->Request->getVar("format") == "xml") { ... }
700: [18:50:00] <FrozenFire> As part of your action, whatever action it may be
701: [18:51:00] <FrozenFire> E.g. if($this->Request->getVar("format") == "xml") { return $this->renderWith("MyPage_xml"); } else return Array();
702: [18:52:00] * simon_w has joined #silverstripe
703: [18:53:00] * SightUnseen has joined #silverstripe
704: [18:53:00] * simon_w quit (Client Quit)
705: [18:53:00] * SightUnseen has left #silverstripe
706: [18:54:00] * SightUnseen has left #silverstripe
707: [18:54:00] * SightUnseen has joined #silverstripe
708: [18:55:00] * simon_w has joined #silverstripe
709: [18:56:00] <azureKnight> And now I realize I can't even use xml, I need to use rss. Why are video players difficult? Lol.
710: [18:56:00] <azureKnight> Hmm.
711: [18:57:00] <simon_w> RSS is XML
712: [18:58:00] <azureKnight> That's what I said. But apparently Jwplayer isn't happy with me using a .xml when trying to load a playlist? I'm trying to sort it with my coworker.
713: [18:59:00] <aaron1245> When inserting images through the CMS, is it possible to disable the system for resizing/resampling the image?
714: [19:00:00] <azureKnight> Hmm. Yeah. We wrote the values, etc. It should have all worked. But apparently jwplayer6 needs/wants the .rss extension?
715: [19:00:00] <FrozenFire> azureKnight, That being said, you can load the playlist as JSON for JWPlayer
716: [19:00:00] <FrozenFire> XML isn't magic.
717: [19:00:00] <FrozenFire> azureKnight, The player has to understand the structure of the XML
718: [19:01:00] <FrozenFire> http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/19824/playlist-support-in-the-jw-player/#Inline
719: [19:01:00] <azureKnight> I'll check on that.
720: [19:01:00] <FrozenFire> It probably wants Content-Type: application/rss+xml
721: [19:02:00] <FrozenFire> E.g. $this->response->addHeader("Content-Type", "application/rss+xml");
722: [19:02:00] * UndefinedOffset quit (Quit: Leaving.)
723: [19:04:00] <azureKnight> http://www.longtailvideo.com/support/jw-player/28843/loading-rss-feeds
724: [19:04:00] <azureKnight> It looks like everything of jwplayer 6 that wants a playlist doesn't want it to be calling an xml, but an rss. Even though it's the same.
725: [19:05:00] <FrozenFire> RSS is XML plus the RSS namespace
726: [19:05:00] <FrozenFire> http://doc.silverstripe.com/framework/en/reference/rssfeed
727: [19:05:00] <azureKnight> Yeah, I'll do that.
728: [19:05:00] <FrozenFire> http://api.silverstripe.org/master/class-RSSFeed.html
729: [19:05:00] <FrozenFire> Just create an RSS feed. It's easy in SS
730: [19:06:00] <azureKnight> Thanks.
731: [19:07:00] * micmania1 quit (Ping timeout: 245 seconds)
732: [19:07:00] * gelignite quit (Quit: http://bit.ly/nkczDT)
733: [19:11:00] <priithansen> I'm planning to make an Flot (http://www.flotcharts.org/) based chart to show some stats about my data objects. Ideally it would work in ModelAdmin, ReportAdmin and my custom pdf which I have not implemented yet. Can anyone tell me what should be a reasonable Silverstripe class to start building this on. I'm thinking extending ViewableData but not sure if I'm on the right tracks?
734: [19:11:00] <priithansen> custom pdf output of the dataobject*
735: [19:14:00] * mobiusnz has joined #silverstripe
736: [19:14:00] * Guest63766 has joined #silverstripe
737: [19:14:00] <onre> better
738: [19:14:00] <onre> sorry
739: [19:14:00] * Guest63766 quit (Changing host)
740: [19:14:00] <Guest63766> -nic-nick onre
741: [19:14:00] <Guest63766> damn
742: [19:14:00] * Guest63766 is now known as onre
743: [19:16:00] <simon_w> priithansen, is the object going to have persistent state?
744: [19:16:00] <onre> is there any way of allowing customer to use template functions in WYSIWYG editor?
745: [19:17:00] <priithansen> simon_w: not sure I understand the question fully
746: [19:17:00] <simon_w> Is any state the object is going to have going to need to be stored between multiple requests?
747: [19:18:00] <onre> looks like shortcodes will do what i want, if they work the same in 3.0 as in 2.4
748: [19:18:00] <priithansen> onre: short codes most definitely work in 3
749: [19:19:00] <onre> of course, replacing all the youtube bits and pieces with actual client code for my particular external service
750: [19:19:00] <priithansen> simon_w: I don't think so. I'm hoping I can tell it on construct what to look for and it'l do it's magic. No config parameters to save in db
751: [19:19:00] <onre> let's see how that goes
752: [19:19:00] <onre> great - i found this: http://www.ssbits.com/tutorials/2010/2-4-using-short-codes-to-embed-a-youtube-video/ and i'll probably be doing something similar
753: [19:20:00] <toebu> FrozenFire: php -c $HOME/.php sapphire/cli-script.php dev/tasks/UpgradePages
754: [19:21:00] <catcher> Is there any way to kick off an infinitely-looping task without exec() / sake?
755: [19:22:00] <simon_w> catcher, fork?
756: [19:24:00] <FrozenFire> toebu, Not sure in that case, then
757: [19:24:00] <simon_w> catcher, nope. Use sake with the daemon flag.
758: [19:24:00] <priithansen> onre: One thing to look out is short codes with underscores. If I remember correctly I had problems with [code_abc] and [code_def] being picked up by the same short code parser
759: [19:24:00] <catcher> simon_w, would you recommend that over exec in general? Specifically, this will kick off a process that will start filling my DB with external data.
760: [19:25:00] <catcher> simon_w, kk. Okay to start it with a front-end web control, or should I insist it's run by the OS on bootup?
761: [19:26:00] <simon_w> Why not just over SSH?
762: [19:26:00] <toebu> FrozenFire how would you go about it ?
763: [19:27:00] <FrozenFire> toebu, I'm not particularly familiar with running such operations through cli-script.php. simon_w may have further insight.
764: [19:28:00] <simon_w> catcher, then do that
765: [19:28:00] <catcher> simon_w, the process doesn't actually need to run until a web client is ready. I can start it independently, it'd just be more convenient & store less data to have the client stop/start it.
766: [19:29:00] <toebu> thanks will try
767: [19:29:00] <toebu> simon_w any hints on how to run a task from the commandline so that it does not get knocked on the head when it tries to create a translation page ? (ss 2.4)
768: [19:29:00] <simon_w> toebu, assuming you're running through your own controller, call Security::findAnAdministrator()->login(); at the start
769: [19:29:00] <catcher> cool, no major pitfalls? Trying to keep the php abuse to a minimum. :)
770: [19:31:00] <toebu> now it complains that Cookie 'alc_enc' can't be set
771: [19:31:00] <priithansen> So ViewableData and If I want state extend FormField?
772: [19:32:00] <simon_w> priithansen, just ViewableData
773: [19:32:00] <toebu> my class UpgradePages extends BuildTask
774: [19:32:00] * LoveDuckie quit (Ping timeout: 248 seconds)
775: [19:33:00] * nickmolhoek has joined #silverstripe
776: [19:33:00] * nickmolhoek has joined #silverstripe
777: [19:33:00] * nickmolhoek quit (Remote host closed the connection)
778: [19:33:00] <simon_w> toebu, Cookie::set_report_errors(false); before the login line
779: [19:33:00] * nickmolhoek quit (Remote host closed the connection)
780: [19:34:00] <toebu> thanks a lot
781: [19:34:00] * nickmolhoek has joined #silverstripe
782: [19:34:00] <priithansen> simon_w: thanks for the confirmation
783: [19:34:00] <toebu> perfect !
784: [19:35:00] * DigNZ has joined #silverstripe
785: [19:35:00] <Zauberfisch> how comes SiteTree->stageChildren is still that crapy old method?
786: [19:35:00] * Zauberfisch has joined #silverstripe
787: [19:35:00] * DigNZ quit (Remote host closed the connection)
788: [19:36:00] * DigNZ has joined #silverstripe
789: [19:36:00] <Zauberfisch> any takers? :P
790: [19:36:00] <Zauberfisch> the method is begging for refactoring
791: [19:37:00] <Zauberfisch> yeah, its on Hierachy
792: [19:37:00] <Zauberfisch> doesn't change the fact that it sucks
793: [19:37:00] <simon_w> Zauberfisch, it shouldn't be on SiteTree to start with :p
794: [19:37:00] <Zauberfisch> haha, fail
795: [19:37:00] <Zauberfisch> my mistake
796: [19:39:00] <onre> is there anything more to creating a shortcode handler than writing, say, Something class that has a SomethingShortCodeHandler method and then calling ShortcodeParser::get()->register('Something', array('Something', 'SomethingShortCodeHandler')) in _config.php?
797: [19:41:00] <simon_w> onre, nope
798: [19:41:00] <simon_w> Zauberfisch, like https://gist.github.com/simonwelsh/5137038?
799: [19:42:00] <onre> allright, then i must be doing something wrong. back to investigate :p
800: [19:42:00] <Zauberfisch> simon_w yeah, just did exactly the same thing
801: [19:43:00] <Zauberfisch> simon_w but you have one error though
802: [19:43:00] <Zauberfisch> it should be !$showAll in the if
803: [19:44:00] <Zauberfisch> simon_w lazy excuse :P
804: [19:44:00] <simon_w> Zauberfisch, yeah, it's too early to care enough :p
805: [19:45:00] <irogue> heh, and finally the reason for Herp-derp Eftpos comes out
806: [19:45:00] <Zauberfisch> hmmm, how can I pull request a gist?
807: [19:45:00] <Zauberfisch> hmm
808: [19:45:00] <Zauberfisch> can't seem to find that
809: [19:45:00] <simon_w> Zauberfisch, edit button on the file would be easiest
810: [19:46:00] <simon_w> Zauberfisch, as in, to fix the gist?
811: [19:46:00] <Zauberfisch> simon_w i did fork and edit the gist, but how to PR?
812: [19:46:00] <Zauberfisch> i guess its not possible
813: [19:46:00] * Pyromanik has joined #silverstripe
814: [19:46:00] <simon_w> Why not just https://github.com/silverstripe/sapphire/edit/3.1/model/Hierarchy.php?
815: [19:47:00] <Zauberfisch> well, deleting te gist then, you fix it simon_w, we can't let something wrong drift out into the wide world
816: [19:47:00] * spronk has joined #silverstripe
817: [19:47:00] <simon_w> gist? What gist? :p
818: [19:47:00] <Zauberfisch> ...
819: [19:48:00] <simon_w> Eh, if the tests past, I'll green button it
820: [19:48:00] <simon_w> Caffeine time!
821: [19:48:00] <Zauberfisch> well, then I'll bother ingo with a pull reuqest to 3.1
822: [19:49:00] <onre> i've basically duplicated this: https://github.com/gordonbanderson/weboftalent-youtube on a ss 3 install and not getting anything, even when i put 'exit;' as the first line of my handler method
823: [19:49:00] <irogue> http://www.itnews.com.au/News/336046,herp-derp-eftpos-update-goes-public.aspx
824: [19:49:00] <onre> do shortcodes need to be specifically enabled somewhere? i'm sorry, i've tried googling but haven't really hit much.
825: [19:50:00] <onre> the shortcode is just output literally on the page
826: [19:52:00] <Zauberfisch> simon_w but then again, if I refactor this one method, I kind of have to refactor the whole class
827: [19:53:00] <Zauberfisch> its a ugly mess in there
828: [19:53:00] <onre> priithansen, i've tried that besides just get() and can't get the handler to be recognized
829: [19:53:00] <priithansen> onre: My working short code config has default in the get like this ShortcodeParser::get('default')->…. < not sure if that could be the problem but that's one thing I noticed different from the Youtube tutorial code
830: [19:54:00] <simon_w> Zauberfisch, baby steps :)
831: [19:55:00] <simon_w> onre, IIRC, codes are case sensitive
832: [19:56:00] <onre> simon_w, i've matched case as well. just a sec, i collect a gist of my stuff...
833: [19:56:00] <Zauberfisch> https://github.com/silverstripe/sapphire/blob/3.1.0-beta2/model/Hierarchy.php#L386
834: [19:56:00] <Zauberfisch> what criminals have been unleashed upon this class
835: [19:56:00] <Zauberfisch> I can stand it
836: [19:56:00] <Zauberfisch> ahhhh
837: [19:56:00] <Zauberfisch> ...
838: [19:57:00] <Zauberfisch> line 389, where is this $attributes even coming from?
839: [19:57:00] <Pyromanik> brilliant
840: [19:57:00] <Pyromanik> hahahahahahahah irogue
841: [19:57:00] <simon_w> https://github.com/silverstripe/sapphire/blame/3.1.0-beta2/model/Hierarchy.php#L386
842: [19:57:00] <simon_w> Zauberfisch, blame!
843: [19:59:00] <irogue> have been seeing so many photos on twitter of it, was very curious as to the story behind it
844: [20:00:00] <onre> https://gist.github.com/onre/408a2859ab1d8a775fab here's what i have. this might be something very obvious, haven't done this before
845: [20:00:00] <onre> and the problem was shortcode not being parsed
846: [20:01:00] <simon_w> or just change blob to blame in the URL
847: [20:01:00] <simon_w> Zauberfisch, git blame from the command line, blame button at the top of the file in github
848: [20:01:00] <Zauberfisch> simon_w how do I blame, I have to admit I never did blame with git
849: [20:03:00] <Zauberfisch> simon_w is it just to view or can I actually rais an issue from there?
850: [20:04:00] <simon_w> It's just to view, though you can go to the commit and make a comment on it
851: [20:05:00] <priithansen> onre: isn't there an exit; in line 9 ?
852: [20:06:00] <onre> priithansen, that's just me trying out whether the method is even run
853: [20:06:00] <simon_w> onre, change the space in the input to a comma
854: [20:07:00] <onre> simon_w, nope, i changed the shortcode to [Sukutaulu,spnro=123456] and it's still just shown on page.
855: [20:09:00] <Pyromanik> irogue, also, just found out beiber went full retard(er). HILARIOUS
856: [20:12:00] <terryapodaca> does anyone else get an error when they go to that page?
857: [20:12:00] * terryapodaca has joined #silverstripe
858: [20:12:00] <terryapodaca> http://dairymax.org/tools-for-schools/about-fuel-up-to-play-60/success-stories-gallery
859: [20:13:00] <simon_w> Bad bad bad
860: [20:13:00] <simon_w> [Notice] Undefined index: sort
861: [20:13:00] <simon_w> yup
862: [20:13:00] <terryapodaca> what in the world is that telling me?
863: [20:13:00] <terryapodaca> this page worked yesterday
864: [20:13:00] <simon_w> 38 $sort = $_GET['sort'];
865: [20:13:00] <terryapodaca> and all the sudden it stopped working
866: [20:13:00] <simon_w> Use $this->request->getVar('sort')
867: [20:14:00] <simon_w> It's telling you someone stuck the site in dev mode :p
868: [20:14:00] <Stomach> lol
869: [20:14:00] <simon_w> (also bad bad bad)
870: [20:15:00] * UndefinedOffset has joined #silverstripe
871: [20:15:00] * UndefinedOffset quit (Client Quit)
872: [20:19:00] <priithansen> onre: the code works for me. Have you done /dev/build?flush=all
873: [20:20:00] <onre> priithansen, yes, and just in case, i just re-did it... i'm beginning to question my sanity :p
874: [20:21:00] <simon_w> onre, the field you're using is a HTMLText and you're not doing anything weird to display it?
875: [20:22:00] <onre> simon_w, it's the default $Content and it's displayed like this in Layout/Page.ss: <div class="content">$Content</div>
876: [20:22:00] <onre> i'd imagine this to be pretty standard setup
877: [20:25:00] <Zauberfisch> [User Error] Couldn't find field "ParentID" in any of SiteTree's tables.
878: [20:25:00] <Zauberfisch> DataList->filter("SiteTree"."ParentID",1)
879: [20:25:00] <Zauberfisch> how can this be invalid?
880: [20:26:00] <Zauberfisch> is it because I did "SiteTree"."ParentID" rather than ParentID ?
881: [20:27:00] <simon_w> yes
882: [20:29:00] <Zauberfisch> do you advise using ->filter('ParentID', $id) ?
883: [20:30:00] <Zauberfisch> am I not risking running into sql errors when there are n+ ParentIDs?
884: [20:30:00] <terryapodaca> yea yeah...i can be lazy..
885: [20:31:00] <terryapodaca> but I have no idea who turned the site to Dev mode, but I'm glad they did so I can address some of these bad coding habbits
886: [20:31:00] <simon_w> Shouldn't be, especially in 3.1
887: [20:31:00] * gelignite has joined #silverstripe
888: [20:33:00] * willr has joined #silverstripe
889: [20:34:00] * gelignite quit (Excess Flood)
890: [20:37:00] * gelignite has joined #silverstripe
891: [20:40:00] <Zauberfisch> https://github.com/silverstripe/sapphire/pull/1269
892: [20:40:00] <Zauberfisch> simon_w here you go
893: [20:41:00] <Zauberfisch> really?
894: [20:41:00] <onre> i think i've first been bitten by this around 2001
895: [20:41:00] <simon_w> Zauberfisch, also, try not to include whitespace changes
896: [20:41:00] <onre> simon_w, priithansen: i finally solved the issue. cause was my own stupidity. my class file didn't have a <?php opening tag...
897: [20:41:00] <simon_w> Zauberfisch, wrong target :)
898: [20:42:00] <simon_w> "Zauberfisch wants to merge 2 commits into silverstripe:3.1.0-beta2"
899: [20:42:00] <simon_w> At least 3.1
900: [20:42:00] <Zauberfisch> well, you want me to go for master?
901: [20:43:00] <simon_w> Don't know why there's a 3.1.0b2 branch rather than a tag
902: [20:43:00] <Zauberfisch> simon_w I think you have to change the target
903: [20:43:00] <priithansen> onre: nice to hear you figured it out. Once had a cryptic bug with dom and php closing tags
904: [20:44:00] <simon_w> API changes go to master
905: [20:44:00] <Zauberfisch> simon_w you lazy bastard :P
906: [20:44:00] <Zauberfisch> I can't see to change it after sending
907: [20:44:00] <simon_w> Zauberfisch, the API commit will probably need to go into master too
908: [20:44:00] <onre> priithansen, i've also hunted for an elusive '-' character that appeared randomly on pages. after not finding it from any of the application's view files, turned out that a dynamically loaded class file begun with -<?php :p
909: [20:44:00] <simon_w> You can close and reopen. Makes it easier for me :p
910: [20:44:00] <Zauberfisch> simon_w i thought 3.1 is merged into master anyway?
911: [20:44:00] <simon_w> 3.1 is for fixers
912: [20:45:00] <Zauberfisch> you are not making this fun
913: [20:45:00] <Zauberfisch> well, I could just rename that commit to say minor
914: [20:45:00] <simon_w> Also, drop the whitespace changes, or make it another commit :p
915: [20:45:00] <Zauberfisch> oh, come on
916: [20:45:00] <Zauberfisch> fml
917: [20:45:00] <simon_w> We're a picky bunch :p
918: [20:45:00] <Zauberfisch> :D
919: [20:46:00] <simon_w> Nor's having ranty emails from Ingo :p
920: [20:46:00] <Zauberfisch> haha
921: [20:47:00] <simon_w> The WS changes mainly make it more annoying to review
922: [20:47:00] <Zauberfisch> simon_w ?w=1
923: [20:48:00] <Zauberfisch> but https://github.com/silverstripe/sapphire/pull/1269/files?w=1 is
924: [20:48:00] <simon_w> https://github.com/silverstripe/sapphire/pull/1269.diff?w=1 no worky!
925: [20:49:00] <simon_w> :p
926: [20:49:00] <Zauberfisch> simon_w great, you are a buzz killer, now my env crashed and i can't be bothered to start it again
927: [20:49:00] <simon_w> Woo, I crashed things!
928: [20:50:00] <Zauberfisch> I'm going home now, way to late to be in office anyway
929: [20:50:00] <simon_w> Okay. I'll get emailed then :)
930: [20:50:00] <Zauberfisch> simon_w closed it, will resend it tomorrow without the spaces
931: [20:52:00] <simon_w> That's about dinner time
932: [20:52:00] <Zauberfisch> have a nice day
933: [20:52:00] <Zauberfisch> good, then i'll bug you with the PR tomorrow morning
934: [20:52:00] <Zauberfisch> simon_w will you still be up in 9 hours?
935: [20:52:00] <simon_w> Yeah
936: [20:53:00] <simon_w> I guess I did the same to willr
937: [20:53:00] <simon_w> and Matt and Sam and Ingo...
938: [20:55:00] * Zauberfisch quit (Remote host closed the connection)
939: [20:55:00] <willr> simon_w those were the days...
940: [20:57:00] * novaweb has joined #silverstripe
941: [20:58:00] * lx-berlin has left #silverstripe
942: [20:59:00] <Pyromanik> your idea of fxp seems to involve 0% fxp and 100% double ftp.
943: [20:59:00] <Pyromanik> gftp, you suck at fxp.
944: [21:02:00] <novaweb> Anyone have experience using SS3/Newsletter/MessageQueue? http://www.silverstripe.org/all-other-modules/show/23056
945: [21:03:00] <Pyromanik> that even runs on ss3?
946: [21:03:00] <Pyromanik> wow
947: [21:03:00] <ss23> ss23?
948: [21:03:00] <Pyromanik> no
949: [21:04:00] <Pyromanik> they upload low rest images which get all pixellated in the banner then add a heap of text to each banner that cannot be read because of the background.
950: [21:04:00] <Pyromanik> make site for client
951: [21:04:00] * chillu has joined #silverstripe
952: [21:04:00] <Pyromanik> rofl
953: [21:04:00] <novaweb> it's installable through Composer and looks pretty good.
954: [21:05:00] <Pyromanik> novaweb, hmm
955: [21:05:00] <Pyromanik> interesting
956: [21:05:00] <Pyromanik> and works?
957: [21:05:00] <Pyromanik> you sure it's not in composer for 2.4?
958: [21:06:00] <novaweb> hey pyromanik - it looks to be written for 3.x
959: [21:06:00] * Colin[pi] has joined #silverstripe
960: [21:06:00] <novaweb> commits in GitHub point to recent updates
961: [21:08:00] <Pyromanik> well give it a go then :>?
962: [21:08:00] <Pyromanik> ah yeh
963: [21:11:00] <novaweb> I have... hence why the forum post
964: [21:12:00] <Pyromanik> well, learn something new erry dae
965: [21:12:00] <Pyromanik> oic
966: [21:12:00] <Pyromanik> "Enabling FXP support can make a server vulnerable to an exploit known as FTP bounce. As a result of this, FTP server software often has FXP disabled by default."
967: [21:12:00] <Pyromanik> novaweb, oh, sorry, didn't see the link
968: [21:13:00] <Pyromanik> novaweb, are you actually running any message queue software?
969: [21:13:00] <novaweb> pyromanik - only the messagequeue module
970: [21:13:00] <novaweb> didn't realize there was any other "software" needed
971: [21:14:00] <novaweb> If you're talking about what's configured on my *Nix server - only god knows
972: [21:16:00] <Pyromanik> just like PHP tasks don't run by themselves, you need cron.
973: [21:16:00] <novaweb> hermmm derpa derpa
974: [21:16:00] <Pyromanik> similar
975: [21:16:00] <novaweb> Pyromanik... help me here... would this be like a cronjob or seomthing?
976: [21:16:00] <Pyromanik> etc.
977: [21:16:00] <Pyromanik> novaweb, well, something needs to come and actually process the queue
978: [21:17:00] <Pyromanik> do you have link to message queue module?
979: [21:17:00] <Pyromanik> messagequeue module is for queuing actions
980: [21:17:00] <Pyromanik> mm yeah, see
981: [21:17:00] <novaweb> and https://github.com/silverstripe-labs/silverstripe-newsletter
982: [21:17:00] <novaweb> https://github.com/silverstripe-labs/silverstripe-messagequeue
983: [21:18:00] <Pyromanik> spronk has experience in that area though I think, though probably not with SS
984: [21:18:00] <Pyromanik> I've not used messagequeues before (besides set them up following instructions for other software)
985: [21:18:00] <Pyromanik> well, pretty much.
986: [21:18:00] <Pyromanik> then it says "Use ApacheMQ"
987: [21:19:00] <Pyromanik> but it's be worth asking him or chillu (who wrote the module) to see what you need.
988: [21:20:00] <Pyromanik> novaweb, but I'd probably start here: https://github.com/silverstripe-labs/silverstripe-messagequeue#apachemq
989: [21:20:00] * Colin[pi] quit (Ping timeout: 260 seconds)
990: [21:27:00] <ss23> I hate how the bloody Telstraclear site breaks all the time. At the moment, log in to view how much of my cap I've used -> "Sorry, you are not authorized to view information for this account"
991: [21:28:00] <irogue> it's gonna be breaking even more soon
992: [21:29:00] <ss23> I just tweeted the fuck out of them,
993: [21:29:00] <simon_w> ANZ/National's merge was more "let's ditch all of ANZ's useful features and just use National's system"
994: [21:29:00] <ss23> Hope they reply...
995: [21:29:00] <irogue> bet they won't pull that off as smoothly as ANZ/National
996: [21:29:00] <irogue> when they merge all the systems
997: [21:30:00] <irogue> OOPS UR ACCOUNT GOT LOST IN BETWEEN SYSTEMS
998: [21:30:00] * azureKnight quit (Read error: Connection reset by peer)
999: [21:30:00] <irogue> simon_w: yep. but at least things didn't just go full-on belly-up, like they easily could have
1000: [21:31:00] <ss23> I don't even know how you handle a merge that big. My normal ways of doing it rely on "Oh fuck, we just deleted everyones data? Oh well, get them to sign up again"
1001: [21:31:00] <simon_w> irogue, well, both ANZ and TelstraClear do have experience in seamless merges
1002: [21:31:00] * azureKnight has joined #silverstripe
1003: [21:32:00] <irogue> yeah
1004: [21:32:00] <simon_w> I'd assume they'll merge VF's fixed-line stuff into Telstra, since that's why they were bought
1005: [21:32:00] <irogue> vodafone and ihug's systems are still mostly seperate
1006: [21:32:00] <irogue> simon_w: yeah, but vodafone don't, lol
1007: [21:32:00] <simon_w> With fancy glue
1008: [21:33:00] <irogue> so presumably ihug will move over there and be merged with telstraclear
1009: [21:33:00] <irogue> telstraclear's now Vodafone Fixed Ltd
1010: [21:34:00] <irogue> simon_w: nah, don't do any modem stuff
1011: [21:34:00] <irogue> telstraclear are a customer of ours
1012: [21:34:00] <irogue> they already refer to themselves as "Vodafone Fixed" when they call
1013: [21:34:00] <simon_w> So I can bug you when my modem breaks then? :p
1014: [21:34:00] <irogue> i have to remember to type TelstraClear since their account is still under that in our system
1015: [21:34:00] <irogue> just VoIP stuff
1016: [21:35:00] <simon_w> bah, killjoy
1017: [21:35:00] <simon_w> Bug you anyway!
1018: [21:35:00] <mobiusnz> hey, is it possible to import many-to-many relations via csv?
1019: [21:35:00] <irogue> if you buy one of our modems though you can bug me :P
1020: [21:35:00] <irogue> ISDN to SIP gateways
1021: [21:47:00] * ARNHOE quit (Remote host closed the connection)
1022: [21:53:00] <azureKnight> FrozenFire: so, after looking into the rss feed, I'm about ready to put a bullet in my head.
1023: [21:53:00] * DigNZ quit (Quit: DigNZ)
1024: [21:53:00] <azureKnight> I realized the problem with trying to use the rss feed with how much knowledge I have, I need the feed to be generated for each individual holder page of the audios. Since all the audios are housed on a single holder page. MediaPage has_many Audios. Audios has_one MediaPage
1025: [21:56:00] <FrozenFire> So do that?
1026: [21:56:00] <FrozenFire> Okay?
1027: [21:57:00] <azureKnight> Lol. Yeah, I did. So, now I need to figure out how to make it so that if you go to mysite/mediapage you can listen to them, but if you type in mysite/mediapage/rss then you get the same list just in rss format.
1028: [21:57:00] <azureKnight> Trying to figure out how to do that without having to make two copies of each page in the admin.
1029: [21:58:00] <azureKnight> Oh, and what I said before, I was saying that because the tutorials on using rssfeeds are all saying that your data object should have an absolute link, which I never intended for them to have.
1030: [22:00:00] <azureKnight> Rather than just /xml or /rss
1031: [22:00:00] <azureKnight> That's just speculation though.
1032: [22:00:00] <azureKnight> I think the reason the jwplayer didn't read it earlier when it was an xml is because it was .xml
1033: [22:03:00] <simon_w> Pyromanik, they moved ANZ's data to National's system. They were two different systems.
1034: [22:03:00] <Pyromanik> also, vodafone are fuckwits. Shit gon' hit fan. But don't panic, they'll claim it's the users fault then charge them for it.
1035: [22:03:00] <Pyromanik> simon_w, nup.
1036: [22:03:00] <Pyromanik> irogue, simon_w, actually ANZ and National already used the same systems. Which is why they did it. It was a merger of information rather than a migration of systems.
1037: [22:03:00] <Pyromanik> same shit.
1038: [22:03:00] <Pyromanik> which is why things didn't go missing.
1039: [22:04:00] <Pyromanik> Nationals not much better
1040: [22:04:00] <simon_w> So, different systems
1041: [22:04:00] <Pyromanik> different config perahps.
1042: [22:04:00] <Pyromanik> but all the same stuff internally.
1043: [22:04:00] <simon_w> Perhaps backend wise. But everything user facing, including teller-facing, was different
1044: [22:04:00] <Pyromanik> yeh
1045: [22:04:00] <Pyromanik> ANZ's shit was retarded anyway.
1046: [22:05:00] <Pyromanik> If I had to recommend an 'nz' bank, it'd be any other than those 'two'.
1047: [22:05:00] <priithansen> Anything exist in the silverstripe core to get page nesting level in theme?
1048: [22:06:00] <Pyromanik> Level() ?
1049: [22:06:00] <Pyromanik> well, not really I don't think, no.
1050: [22:06:00] <simon_w> priithansen, nope, but is really easy to write your own Depth method
1051: [22:06:00] <Pyromanik> You can check you're at a specific level
1052: [22:06:00] <Pyromanik> but not get the level you're no.
1053: [22:06:00] <Pyromanik> on*
1054: [22:07:00] <irogue> since ANZ owned National for a few years before merging the brands
1055: [22:07:00] <irogue> was just customer-facing stuff that changed at taht point
1056: [22:07:00] <Pyromanik> they were on the same systems.
1057: [22:07:00] <Pyromanik> yah, but when they said "we've been the same bank for ages now, now we're actually going to be the same bank'
1058: [22:07:00] <priithansen> jean just wanted to include that in boilerplate template and not have dependencies on other stuff
1059: [22:07:00] <irogue> they did, however, merge them slowly over time
1060: [22:07:00] <irogue> Pyromanik: ANZ and National systems were very different
1061: [22:07:00] <irogue> yep
1062: [22:08:00] <irogue> yes, by then
1063: [22:08:00] <Pyromanik> from way back though
1064: [22:08:00] <irogue> not always though :P
1065: [22:08:00] <Pyromanik> well, depends how far you go
1066: [22:08:00] <Pyromanik> Old mate of the family was high up in the ANZ like... 20 years ago
1067: [22:08:00] <irogue> they weren't compatible when they bought them
1068: [22:08:00] <Pyromanik> and they were compatible then.
1069: [22:08:00] <irogue> National's system was upgraded ~15 years ago
1070: [22:08:00] <Pyromanik> maybe not the system per-se, but their methodology and all that jazz
1071: [22:08:00] <Pyromanik> their systems were compatible
1072: [22:09:00] <irogue> so when ANZ bought them 10 years ago, they were totally different, and National's system was newer so they kept that
1073: [22:09:00] <Pyromanik> mm
1074: [22:09:00] <Pyromanik> shit always a chang'n
1075: [22:09:00] <Pyromanik> something vodafone and telecom don't seem to grasp
1076: [22:09:00] <irogue> ANZ AU still using the original ANZ system, and apparently struggling
1077: [22:10:00] <Pyromanik> yeah, don't surprise me
1078: [22:10:00] <Pyromanik> their client facing systems are so shit
1079: [22:10:00] <Pyromanik> I haven't used ANZ account in about 5 years because it's just too fucking hard.
1080: [22:10:00] <irogue> NZ's banks always have significantly newer systems than AU banks
1081: [22:10:00] <irogue> even though theyre AU-owned
1082: [22:10:00] <Pyromanik> mmm
1083: [22:10:00] <ss23> Yeah, AU banks are the worst
1084: [22:10:00] <Pyromanik> because we're awesome.
1085: [22:10:00] <Pyromanik> this is true ss23
1086: [22:10:00] <irogue> NZ banking regs don't allow shared system between AU/NZ
1087: [22:11:00] <mobiusnz> for like everything
1088: [22:11:00] <Pyromanik> because we're awesome.
1089: [22:11:00] <mobiusnz> we're guinea pigs
1090: [22:11:00] <Pyromanik> because we're awesome.
1091: [22:11:00] <irogue> ^
1092: [22:11:00] <irogue> the AU banks try new system for 5-10 years here first
1093: [22:11:00] <mobiusnz> eftpos
1094: [22:11:00] <irogue> herp-derp eftpos
1095: [22:11:00] <mobiusnz> saw that
1096: [22:11:00] <mobiusnz> lold
1097: [22:11:00] * gelignite quit (Read error: Operation timed out)
1098: [22:11:00] <irogue> kekeke
1099: [22:11:00] <Pyromanik> mobiusnz, we can only really be called guinea pigs if they actually up take the system... which they don't. It's like "HEY TEST THIS", "WORKS GOOD BRO", "OK, THAT'S NICE"
1100: [22:12:00] <Pyromanik> texting
1101: [22:12:00] <Pyromanik> 3g
1102: [22:12:00] <Pyromanik> but they miss out on everything
1103: [22:12:00] <Pyromanik> yeah
1104: [22:12:00] <irogue> we're used to it, since we're always guinea pigs
1105: [22:12:00] <irogue> americans are very resistant to change
1106: [22:12:00] <Pyromanik> americans are the worst
1107: [22:12:00] <mobiusnz> mm
1108: [22:12:00] <irogue> yep
1109: [22:12:00] <Pyromanik> and then nothing
1110: [22:12:00] <Pyromanik> GSM
1111: [22:13:00] <Pyromanik> EftPos
1112: [22:13:00] <Pyromanik> etc
1113: [22:13:00] <irogue> HAS WEB SCALE
1114: [22:13:00] <Pyromanik> "NEEDS TO BE SHAREPOINT BECAUSE THIS IS WHAT WE USE"
1115: [22:13:00] <mobiusnz> I mean WTF
1116: [22:13:00] <Pyromanik> and yeah, web scale, derp derp
1117: [22:13:00] <Pyromanik> but irogue beat me to that joke
1118: [22:13:00] <mobiusnz> they factored into their budget that they'd loose 30% of their customers by doing so
1119: [22:13:00] <irogue> IS ENTERPRISE
1120: [22:13:00] <simon_w> microsoft funding
1121: [22:13:00] <Pyromanik> mobiusnz, because derp.
1122: [22:13:00] <irogue> COS SHAREPOINT
1123: [22:13:00] <mobiusnz> one of our major suppliers decided to test NZ for their new ordering website, built on sharepoint for some nonunderstandable reason
1124: [22:13:00] <Pyromanik> "Welcome to the middle ages"
1125: [22:14:00] <ss23> WHICH MAKES ME RAGE
1126: [22:14:00] <ss23> I want mother fucking combined AU/NZ
1127: [22:14:00] <irogue> lol
1128: [22:14:00] <ss23> having two accounts sucks
1129: [22:14:00] <Pyromanik> because resistance to change
1130: [22:14:00] <Pyromanik> always win out
1131: [22:14:00] <Pyromanik> mobiusnz, inferior systems
1132: [22:14:00] <Pyromanik> and lies
1133: [22:14:00] <Pyromanik> and illusions of 'support'
1134: [22:14:00] <irogue> http://pjmedia.com/vodkapundit/files/2013/03/We-the-Sheeple.png
1135: [22:14:00] <ss23> 11:11:06 < irogue> NZ banking regs don't allow shared system between AU/NZ
1136: [22:15:00] <simon_w> You'd probably still need two accounts, what with that whole different currency thing
1137: [22:15:00] <Pyromanik> nah F that
1138: [22:15:00] <ss23> I really need to close my AU account, or at least change the addresss / contact info...
1139: [22:15:00] <mobiusnz> ha
1140: [22:15:00] <ss23> Well two accounts is fine as long as I can manage them centrally kind of thing
1141: [22:16:00] <ss23> fuck
1142: [22:16:00] * novaweb quit (Quit: novaweb)
1143: [22:16:00] <ss23> "sms required to update contact info"
1144: [22:16:00] <ss23> See, this is bullshit
1145: [22:16:00] <ss23> I don't have my phone in AU to do that
1146: [22:18:00] <Pyromanik> gotta walk into a branch for anything
1147: [22:18:00] <Pyromanik> ANZ so bad
1148: [22:19:00] <irogue> "go into branch: uh, we can't do that, you need to do it online"
1149: [22:19:00] <Pyromanik> westpac is opposite
1150: [22:19:00] * DigNZ has joined #silverstripe
1151: [22:19:00] <azureKnight> FrozenFire: got it. :)
1152: [22:19:00] * DigNZ quit (Remote host closed the connection)
1153: [22:19:00] <azureKnight> Finally figured out what the issue was.
1154: [22:19:00] * DigNZ has joined #silverstripe
1155: [22:19:00] <Pyromanik> go to internet banking and they're all "OK, now that you've set up this bill payment, just come into the branch and actually do it that way"
1156: [22:19:00] <ss23> haha Pyromanik
1157: [22:19:00] <irogue> kiwibank is opposite
1158: [22:19:00] <Pyromanik> ASB is opposite
1159: [22:20:00] <ss23> Banks need to be webscale. Lets rewrite banking systems into MongoDB
1160: [22:20:00] * mobiusnz has left #silverstripe
1161: [22:20:00] <Pyromanik> no couch
1162: [22:20:00] <irogue> ah yes
1163: [22:20:00] * Pyromanik has been a bank slut in the past
1164: [22:20:00] <Pyromanik> because then horizontal expansion
1165: [22:20:00] <Pyromanik> BNZ is... kinda inbetween IIRC
1166: [22:20:00] <ss23> Guys... I think I know the solution
1167: [22:20:00] <ss23> As long as it's fast as hell.
1168: [22:20:00] <Pyromanik> ic
1169: [22:20:00] <irogue> banking doesn't need ACID, right?
1170: [22:21:00] <irogue> node.js + redis
1171: [22:21:00] <ss23> o/
1172: [22:21:00] <irogue> very good
1173: [22:21:00] <irogue> let's do it
1174: [22:22:00] <ss23> hahaha
1175: [22:22:00] <irogue> @TelecomNZ: @simantics Hey Sim – we’re really excited to be partnering with the Kila Kokonut Krew and The Factory! It’s a really cool initiative ^HM.
1176: [22:22:00] <ss23> XD
1177: [22:22:00] <irogue> @simantics: Just received press release, which if I were a horrible journo I could title: @telecomnz sponsors KKK
1178: [22:23:00] <simon_w> Woo, I get to take my laptop in to get fixed
1179: [22:23:00] <simon_w> How fun
1180: [22:24:00] <ss23> If it's just a fan, can't you fix it yourself? :S
1181: [22:24:00] <simon_w> Stupid fan
1182: [22:25:00] * irogue is a unibody human
1183: [22:25:00] <simon_w> It's a unibody laptop.
1184: [22:25:00] <simon_w> Doesn't have to be :p
1185: [22:25:00] <ss23> simon_w: But it is!
1186: [22:25:00] <simon_w> Could be a dell!
1187: [22:25:00] <ss23> Oh Mac
1188: [22:25:00] <ss23> lol
1189: [22:25:00] <Pyromanik> translation: it's a mac
1190: [22:26:00] * simon_w quit (Quit: Leaving)
1191: [22:26:00] <ss23> I wish I could turn off time...
1192: [22:26:00] <ss23> simon_w: Are you a wizrd?
1193: [22:26:00] <ss23> simon_w: :O
1194: [22:26:00] <ss23> :<
1195: [22:26:00] <ss23> Althouhg, truth be told, I went to fix a fan in a latop and accidently tore off a ribbon
1196: [22:26:00] <simon_w> Anyway, turning off time
1197: [22:27:00] <ss23> (@TelstraClearNZ) is now following you on Twitter!
1198: [22:27:00] <ss23> ujelly?
1199: [22:27:00] <ss23> non followed plebs
1200: [22:28:00] <irogue> nope, not jelly
1201: [22:28:00] <irogue> @TelecomNZ FOLLOWS YOU
1202: [22:28:00] <irogue> @vodafoneNZ FOLLOWS YOU
1203: [22:28:00] <irogue> @SnapInternet FOLLOWS YOU
1204: [22:28:00] <irogue> @TelstraClearNZ FOLLOWS YOU
1205: [22:29:00] <ss23> how to dm
1206: [22:29:00] <Pyromanik> dm(derp)_
1207: [22:29:00] <irogue> @2degreesmobile FOLLOWS YOU
1208: [22:29:00] <ss23> help, whats the dm sytnax?
1209: [22:29:00] <irogue> d TelstraClearNZ blah blah
1210: [22:30:00] <ss23> Annoying how alt-tabbing from twitter then back resets the cursor in the textbox
1211: [22:31:00] <ss23> ty irogue and Pyromanik
1212: [22:32:00] <irogue> didn't eat much breakfasts
1213: [22:32:00] <catcher> CMS validation errors are giving me a blank screen with the little 'validation error' popup box, but no form. Nothing custom, just NumericField with a letter in the box. Shouldn't it show the form again with an inline message?
1214: [22:32:00] <irogue> might early lunch tbh
1215: [22:33:00] * simon_w|air has joined #silverstripe
1216: [22:34:00] <ss23> Could be worse
1217: [22:34:00] <willr> mmm lunch
1218: [22:34:00] <Pyromanik> I can't wait for lunch
1219: [22:34:00] <ss23> mmm willr
1220: [22:34:00] <Pyromanik> but I will
1221: [22:34:00] <ss23> lol
1222: [22:34:00] <simon_w|air> This screen is tiny and is what I get to work on :(
1223: [22:34:00] <willr> What is for lunch. That is the question
1224: [22:34:00] <ss23> someone could ask for lunch
1225: [22:35:00] <Pyromanik> WHY IS THIS HERE!?
1226: [22:35:00] <ss23> then not reply about what to get them
1227: [22:35:00] * ss23 glares at simon_w|air
1228: [22:35:00] <simon_w|air> Lunch! :p
1229: [22:35:00] <Pyromanik> siteconfig has tab "home page contact form"
1230: [22:35:00] <ss23> WHAT DOES THAT EVEN MEAN BRO ;_;
1231: [22:38:00] <ss23> HOOOOOOOOOOOOOO
1232: [22:38:00] <ss23> hoooooooooooo
1233: [22:38:00] <ss23> SHIT NIGGA FUCK
1234: [22:39:00] <ss23> Telstraclear just DM'd me the account password for this account without any auth
1235: [22:39:00] <ss23> Like "dm me account number" -> "I got in with this passsowrd XXXXXX"
1236: [22:43:00] <Pyromanik> can I email cc with spaces?
1237: [22:43:00] <Pyromanik> hey irogue
1238: [22:44:00] <Pyromanik> should dm them back "Suckers, I'm not the owner of this account"
1239: [22:44:00] <Pyromanik> ss23, lulz
1240: [22:44:00] <Pyromanik> ie, comma separated email addresses right, but what if space after comma?
1241: [22:46:00] <ss23> lol
1242: [22:53:00] <Pyromanik> placebo?
1243: [22:53:00] <FrozenFire> Can basic auth be used at any time?
1244: [22:53:00] <ss23> Pyromanik: Yeah
1245: [22:53:00] <FrozenFire> That is, it's not something you *have* to configure?
1246: [22:53:00] <ss23> Not sure if my arm is actually sore from getting the flu vaccine today, or placebo making it sore...
1247: [22:53:00] <Pyromanik> irogue, never mind, I exploded, trimmed and filtered because emailfield doesn't support multiple addresses
1248: [22:59:00] * SightUnseen has left #silverstripe
1249: [22:59:00] * SightUnseen has joined #silverstripe
1250: [23:00:00] * SightUnseen has left #silverstripe
1251: [23:00:00] <Pyromanik> nfi FrozenFire
1252: [23:00:00] * SightUnseen has joined #silverstripe
1253: [23:01:00] <ss23> I think I'm hungry
1254: [23:01:00] * ss23 climbs on Pyromanik
1255: [23:04:00] <spronk> ...did i miss something?
1256: [23:07:00] <Pyromanik> spronk, 7:30pm?
1257: [23:07:00] <Pyromanik> I am a jungle gym
1258: [23:08:00] <azureKnight> on*
1259: [23:08:00] <azureKnight> If I'm using the PaginatedList option, how do I make sure that the item getting paginated is related to the specific page?
1260: [23:08:00] <azureKnight> Such as, rather than getting all the data objects, I want to get the ones corresponding to the page I'm no?
1261: [23:11:00] * terryapodaca has left #silverstripe
1262: [23:15:00] <azureKnight> Rather than doing the object itself?
1263: [23:15:00] <azureKnight> I gotcha.
1264: [23:15:00] <catcher> azureKnight, specify it yourself - i.e. PaginatedList::create($YourSSList, $this->request);
1265: [23:16:00] <spronk> Pyromanik: yaya
1266: [23:23:00] <azureKnight> Wassat?
1267: [23:23:00] <Pyromanik> you pass it an existing list to create.
1268: [23:23:00] <Pyromanik> azureKnight, mmm, it's a decorator/wrapper around a normal list.
1269: [23:24:00] <Pyromanik> so public function paginatedDatas(){return new PaginatedList($this->Relations());}
1270: [23:24:00] <azureKnight> And that limits it.
1271: [23:24:00] <azureKnight> Since the audio and media pages are connected.
1272: [23:24:00] <azureKnight> I just wrote: <% if MediaPage.Title = $Top.Title %><% end_if %>
1273: [23:24:00] <azureKnight> Ah.
1274: [23:24:00] <azureKnight> I kinda cheated.
1275: [23:24:00] <Pyromanik> new PaginatedList($existingDataList)
1276: [23:25:00] <azureKnight> Oh, yeah. Super ugly.
1277: [23:25:00] <Pyromanik> yeh, but it's kinda ugly :<
1278: [23:25:00] <Pyromanik> :P
1279: [23:25:00] <azureKnight> Lol.
1280: [23:25:00] <azureKnight> I'd love to try your statement though.
1281: [23:25:00] <Pyromanik> (by that I mean it looks inefficient, but I'm not sure of the specifics because of lazy loading)
1282: [23:26:00] <azureKnight> Lol.
1283: [23:26:00] <azureKnight> No worries, I'll bother you on here when you're back sometime.
1284: [23:26:00] <azureKnight> Jk.
1285: [23:26:00] <Pyromanik> mmm, lunch!
1286: [23:26:00] <azureKnight> Wait! No! Haha. I need help. :'(
1287: [23:26:00] <azureKnight> Well.. Kinda.
1288: [23:26:00] <Pyromanik> I'll be back in half an hour
1289: [23:26:00] <Pyromanik> ish
1290: [23:27:00] <Pyromanik> uninstall chrome.
1291: [23:27:00] <azureKnight> Go to lunch, Pyromanik
1292: [23:27:00] <ss23> Help, I need HTML/CSS help, it's been too long since I've done it.
1293: [23:27:00] <ss23> http://jsfiddle.net/g8JYQ/2/ This looks good in Chrome, but shit in Firefox. How to make it work in both?
1294: [23:27:00] <ss23> fu
1295: [23:28:00] <ss23> ;_;
1296: [23:28:00] <ss23> NO
1297: [23:28:00] <ss23> HELP ME FIRST
1298: [23:30:00] <ss23> Meh, I got it, can make the li outside
1299: [23:31:00] <azureKnight> So, you got it?
1300: [23:33:00] <Stomach> just make the a tag an inline-block
1301: [23:33:00] <ss23> Stomach: That ruins the entire idea of being able to click on the entire <li>
1302: [23:33:00] <ss23> Yeah, probably...
1303: [23:33:00] <Stomach> o_O
1304: [23:34:00] <Stomach> lol
1305: [23:34:00] <azureKnight> instead?
1306: [23:34:00] <azureKnight> Yeah.
1307: [23:34:00] <Stomach> oh its an anchor
1308: [23:34:00] <azureKnight> Make the a {display: inline-block;}
1309: [23:35:00] <ss23> Switching the padding to the li makes the clickable area weird
1310: [23:35:00] * catcher quit (Quit: Leaving)
1311: [23:35:00] <ss23> Thats literally what Stomach just said
1312: [23:35:00] <azureKnight> Yeah.
1313: [23:35:00] <azureKnight> I was looking at my other screen.
1314: [23:35:00] <azureKnight> Also, switch the padding from the a to the li
1315: [23:35:00] <ss23> lol
1316: [23:35:00] <irogue> @NZPGenDuties: We came back from a foot patrol to find a man standing on the bonnet of our police car! FYI: not a good way to get our attention. #nzpolice
1317: [23:36:00] <azureKnight> It looks good to me.
1318: [23:36:00] <azureKnight> I get what you're saying. How the clickable area is now the text, not the block itself?
1319: [23:36:00] <azureKnight> ?
1320: [23:36:00] <azureKnight> Ah.
1321: [23:37:00] <ss23> So I'm playing around with making the list style be outside, but having trouble :<
1322: [23:37:00] <ss23> azureKnight: If you do the inline-block, yeah
1323: [23:37:00] <ss23> I kind of want it to be inside but pretend to be outside for stuff >.>
1324: [23:37:00] * ss23 wonders if there's an inside-outside rule...
1325: [23:37:00] <azureKnight> Then wrap the li in the a.
1326: [23:38:00] <ss23> So easy, azureKnight :D
1327: [23:38:00] <azureKnight> :)
1328: [23:38:00] <ss23> oh
1329: [23:38:00] <ss23> :O
1330: [23:38:00] <ss23> shiiit
1331: [23:39:00] <azureKnight> I love all things css, I'm not saying I'm good at it, but if there's something to solve, I love to try.
1332: [23:41:00] <ss23> ty ^.^
1333: [23:41:00] <azureKnight> Anytime. :)
1334: [23:45:00] <irogue> wee, Orcon's just been sold (again)
1335: [23:45:00] <irogue> nobody knows who to yet, though
1336: [23:46:00] * Bollig|DesignCty has joined #silverstripe
1337: [23:46:00] <simon_w|air> Telecom!
1338: [23:46:00] <simon_w|air> Since the government seems to like giving them things
1339: [23:47:00] * simon_w|air is guessing, of course
1340: [23:47:00] <spronk> o_O
1341: [23:48:00] <peter_ss> do you guys know any module or field that allow option as select2 for has_many
1342: [23:49:00] <irogue> but a company called Vivid Solutions, who seem to do videoconferencing, created a company called Orcon Holdings Ltd late last month
1343: [23:49:00] <irogue> the rumours have been CallPlus
1344: [23:49:00] * ss23 is hungrryyy
1345: [23:49:00] <ss23> I might go get McDonalds
1346: [23:49:00] <irogue> nobody's heard of them though, so it seems odd they'd be able to afford Orcon
1347: [23:50:00] <irogue> i had sweet and sour pork
1348: [23:50:00] <simon_w|air> ss23, mine was delicious
1349: [23:50:00] <ss23> simon_w|air: Burgerfuel? Or McDonalds?
1350: [23:50:00] <simon_w|air> the latter
1351: [23:50:00] <ss23> What did you get? :O
1352: [23:50:00] <simon_w|air> Mac attack and a BBQ chicken
1353: [23:50:00] <ss23> :O
1354: [23:50:00] <ss23> WOW
1355: [23:50:00] * ss23 pokes simon_w|air's belly
1356: [23:50:00] <ss23> I can tell...
1357: [23:51:00] * Stomach quit (Quit: Leaving.)
1358: [23:51:00] <ss23> Since I've got fatter I can't eat as much anymore :<
1359: [23:54:00] * azureKnight quit (Quit: azureKnight)
1360: [23:56:00] <ss23> OKAY TIME TO GET LUNCH
1361: [23:56:00] <ss23> Wish me luck deciding what to get...
1362: [23:57:00] <simon_w|air> ss23, BurgerFuel. Oh, wait...
1363: [23:59:00] * Colin[pi] has joined #silverstripe
1364: [23:59:00] <priithansen> any idea what could make this give js error in silverstripe but work just fine in original foundation boilerplate https://github.com/priithansen/silverstripe-foundation-boilerplate/blob/master/templates/Page.ss#L46-L52
1365: [23:59:00] <priithansen> comments excluded ofcourse

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