#silverstripe IRC Log

IRC log for 4 July 2012

Logging sponsored by you? Get in touch!

All timestamps are in UTC.

1: [00:25:00] * Pyromanik|| has joined #silverstripe
2: [00:26:00] * Pyromanik quit (Remote host closed the connection)
3: [00:33:00] * Bollig|DesignCty has joined #silverstripe
4: [00:46:00] <spronk> anyone know any services similar to demoduck ?
5: [01:04:00] <Pyromanik||> what is a demoduck?
6: [01:05:00] <Pyromanik||> explanitory video creation experts. Sounds cool but not really.
7: [01:07:00] <Bollig|DesignCty> does sound cool.
8: [01:08:00] <spronk> we need something similar for our new site
9: [01:09:00] <spronk> mm, doing so. looking for others who do similar stuff
10: [01:09:00] <spronk> screencasts are too boring
11: [01:09:00] <Bollig|DesignCty> awesome! speak to them?
12: [01:10:00] <Bollig|DesignCty> spronk: http://topalternatives.com/companies-that-create-animated-explanation-videos yay!
13: [01:11:00] <spronk> http://arstechnica.com/tech-policy/2012/07/kim-dotcom-says-megaupload-shutdown-was-joe-bidens-idea/ omg, please let this blow up
14: [01:11:00] <spronk> pure evidence of corruption at the highest level in usgovt? about fucking time
15: [01:11:00] <spronk> also, cheer DC
16: [01:13:00] <spronk> handy stuff
17: [01:14:00] * catcher quit (Quit: Ex-Chat)
18: [01:25:00] * EMaster quit (Ping timeout: 245 seconds)
19: [01:38:00] * ajshort has joined #silverstripe
20: [01:58:00] * perverse` quit (Ping timeout: 252 seconds)
21: [01:59:00] * perverse` has joined #silverstripe
22: [02:15:00] <Pyromanik||> yay, dataz saved! \o/
23: [02:17:00] <Pyromanik||> D: SOMEONE DELETED OUR WEBSITE
24: [02:17:00] <spronk> :O
25: [02:18:00] <spronk> LOL
26: [02:18:00] <CIA-12> silverstripe: Sean Harvey silverstripe-postgresql/master * r6551128 / README.md : MINOR Updating installation instructions - http://git.io/Y_ZhTQ
27: [02:18:00] <spronk> install.php!
28: [02:19:00] <Pyromanik||> wtf
29: [02:19:00] <spronk> haxxed?
30: [02:19:00] <Pyromanik||> s
31: [02:19:00] <Pyromanik||> filesystem is a mes
32: [02:19:00] <Pyromanik||> wtf
33: [02:19:00] <spronk> o_O
34: [02:19:00] <Pyromanik||> user "501
35: [02:19:00] * SticksM quit (Quit: Leaving)
36: [02:19:00] <spronk> ruh roh
37: [02:21:00] <Pyromanik||> but
38: [02:21:00] <Pyromanik||> I has backup
39: [02:21:00] <Pyromanik||> perhaps
40: [02:21:00] <Pyromanik||> nup :<
41: [02:21:00] <Pyromanik||> to webdrive I call!
42: [02:21:00] <spronk> assets folder intact?
43: [02:21:00] <spronk> D:
44: [02:21:00] <Pyromanik||> backup doesn't include assets :<
45: [02:21:00] <spronk> YAYE!
46: [02:21:00] <Pyromanik||> just realised
47: [02:22:00] <Pyromanik||> It looks like someone has tried to use my install script
48: [02:22:00] <Pyromanik||> only it can't be
49: [02:22:00] <Pyromanik||> because that'd leave a clean install, not a marred hash of shit
50: [02:22:00] <spronk> :S
51: [02:22:00] <spronk> daaang
52: [02:24:00] <Pyromanik||> I wonder what UID 501 is
53: [02:25:00] <spronk> usually your first or second user user
54: [02:31:00] <Pyromanik||> naw, that's 1000 usually
55: [02:32:00] <Pyromanik||> but irc ports are blocked.
56: [02:32:00] <Pyromanik||> random.
57: [02:32:00] <Pyromanik||> wait wtf
58: [02:32:00] <Pyromanik||> our server has a user for irc
59: [02:41:00] <irogue> http://www.stuff.co.nz/entertainment/tv/7209897/A-handymans-TV-dream
60: [02:42:00] <irogue> i drive past these houses every day, lol. they're 30 seconds drive from my house
61: [02:42:00] <irogue> such shitholes
62: [02:43:00] <Pyromanik||> woah, who's the blonde?
63: [02:43:00] <spronk> Sarah Adams, 20
64: [02:43:00] <spronk> it says it right there man
65: [02:44:00] <irogue> i think my coworker is about to go postal
66: [02:45:00] <Pyromanik||> lol, why's that irogue?
67: [02:45:00] <spronk> nzpostal?
68: [02:45:00] <spronk> heh
69: [02:45:00] <Pyromanik||> I see one there for user 'plato'
70: [02:45:00] <Pyromanik||> all ips are our office.
71: [02:45:00] <spronk> Pyromanik||: ?
72: [02:45:00] <Pyromanik||> spronk: also, ran last command
73: [02:46:00] <Pyromanik||> so I'm the confuse.
74: [02:46:00] <Pyromanik||> but the site doesn't use that user.
75: [02:46:00] <irogue> Pyromanik||: just retarded customers
76: [02:47:00] <Pyromanik||> tells you when and for how long
77: [02:47:00] <irogue> trying to use 2x PicoStations to cover an entire school
78: [02:47:00] <Pyromanik||> last lists most recent logins from users
79: [02:47:00] <spronk> o o ic
80: [02:47:00] <Pyromanik||> last
81: [02:47:00] <spronk> Pyromanik||: what was the command?
82: [02:48:00] <Pyromanik||> also, I take it this isn't a rural school with 2 classrooms?
83: [02:48:00] <Pyromanik||> and from what IP
84: [02:48:00] <Pyromanik||> irogue: what's a picostation?
85: [02:48:00] <irogue> they're our lowest-power (as far as wireless output) AP, and only have 16MB RAM
86: [02:48:00] <irogue> they basically have the wireless output of a linksys router
87: [02:49:00] <Pyromanik||> how does someone log in but not issue any commands/
88: [02:49:00] <irogue> Pyromanik||: nope
89: [02:49:00] <Pyromanik||> ...
90: [02:49:00] <Pyromanik||> ?
91: [02:49:00] <irogue> http://www.ascent.co.nz/productspecification.aspx?ItemID=399964
92: [02:50:00] <Pyromanik||> .bash_history hasn't been modified since March
93: [02:50:00] * SticksM has joined #silverstripe
94: [02:50:00] <Pyromanik||> irogue: but schools aren't supposed to have wireless...
95: [02:50:00] <Pyromanik||> it'll damage the little kiddies!
96: [02:51:00] <Pyromanik||> guys, important question: when executing a command, does it only update bash_history if it was different from the command before it?
97: [02:51:00] <irogue> lol
98: [02:52:00] <Pyromanik||> oic
99: [02:52:00] <Pyromanik||> only commits to bash_history on log out
100: [02:56:00] <spronk> so person i sstill logged in?
101: [02:56:00] <spronk> hmm
102: [02:57:00] * gwatson has joined #silverstripe
103: [02:59:00] <gwatson> Hey..... SS 2.4.7 i have built a task that builds a .csv file...now at the end of task i want to SS_HTTPRequest::send_file but nothing happends
104: [03:00:00] <spronk> dang
105: [03:00:00] <Pyromanik||> spronk: nah, I think that the command that made the mess just wasn't recorded on the account due to the way it exited.
106: [03:00:00] <Pyromanik||> pretty sure that such a task already existed.
107: [03:00:00] <Pyromanik||> umm
108: [03:01:00] <Pyromanik||> shit gets restored, count it as a 1 off.
109: [03:01:00] <Pyromanik||> mebbe
110: [03:01:00] <spronk> got audit logs?
111: [03:01:00] * Pyromanik|| has carefactor 1/100
112: [03:01:00] <Pyromanik||> only app running is silverstripe
113: [03:01:00] <Pyromanik||> spronk: hope so too!
114: [03:01:00] <Pyromanik||> maybe it was an attack. Dunno.
115: [03:01:00] <spronk> hopefully not a hole in an app
116: [03:01:00] <Pyromanik||> maybe
117: [03:01:00] <Pyromanik||> if it happens again...
118: [03:02:00] <Pyromanik||> or soemthing
119: [03:02:00] <Pyromanik||> then carefactor will be 75/100
120: [03:02:00] <gwatson> Pyromanik: any idea where this is
121: [03:02:00] <Pyromanik||> or csv
122: [03:02:00] <Pyromanik||> gwatson: take a look at model admin, table list field, grep code base for CSV
123: [03:03:00] <Pyromanik||> oh wait, no no, i'm thinking of import, sorry.
124: [03:04:00] <Pyromanik||> it supports csv export of submissions
125: [03:04:00] <gwatson> oh the problem is with the .csv its the fact i am trying to do it in a task
126: [03:04:00] <gwatson> isnt*
127: [03:04:00] <Pyromanik||> gwatson: look at userforms.
128: [03:04:00] <Pyromanik||> it supports csv export of submissions
129: [03:05:00] * Colin[pi] has joined #silverstripe
130: [03:05:00] <Pyromanik||> gwatson: aren't tasks just run from /dev/tasks though?
131: [03:05:00] <Pyromanik||> or are you trying to script it from the cli?
132: [03:05:00] <Pyromanik||> huh, apparently the expression "csv export" appears on line 738 of ModelAdmin.php
133: [03:07:00] <Colin[pi]> hey all, any idea why SS3 would be giving me a timeout on "home/successfullyinstalled" after install?
134: [03:10:00] <Bollig|DesignCty> Colin[pi]: no idea... any errors in the logs?
135: [03:11:00] <Colin[pi]> php log?
136: [03:11:00] <Bollig|DesignCty> Colin[pi]: sure... otherwise apache i suppose
137: [03:12:00] <Colin[pi]> checking apache
138: [03:12:00] <Colin[pi]> nothing in php
139: [03:13:00] <Colin[pi]> i'll do a fresh install and watch the log
140: [03:15:00] <Colin[pi]> apache restarts after it shows the "Redirecting to your SS site" message
141: [03:15:00] <Colin[pi]> [mpm_winnt:notice] [pid 2828:tid 444] AH00428: Parent: child process exited with status 255 -- Restarting.
142: [03:15:00] <Bollig|DesignCty> mmmmm segfault maybe?
143: [03:16:00] <Colin[pi]> [Wed Jul 04 13:15:13.744411 2012] [mpm_winnt:notice] [pid 2828:tid 444] AH00428: Parent: child process exited with status 255 -- Restarting.
144: [03:16:00] <Colin[pi]> in fact it does it twice :\
145: [03:16:00] <Colin[pi]> [Wed Jul 04 13:14:59.518104 2012] [mpm_winnt:notice] [pid 2828:tid 444] AH00428: Parent: child process exited with status 255 -- Restarting.
146: [03:18:00] <Colin[pi]> ah ha: http://open.silverstripe.org/ticket/7514
147: [03:19:00] <Colin[pi]> will do
148: [03:19:00] <Colin[pi]> maybe I should go back to 2.4.7 :\
149: [03:19:00] <Bollig|DesignCty> Colin[pi]: yeah, looks like a rewrite thing maybe? better add your report to the ticket...
150: [03:20:00] <Bollig|DesignCty> Colin[pi]: the ticket says the site is completely installed with no issues, just the installer that crashes apache. The site should work perfectly well now.
151: [03:21:00] <Bollig|DesignCty> Colin[pi]: do you have the message 'Checking that friendly URLs work...' on the install screen?
152: [03:21:00] <Colin[pi]> yes it works following the apache crash
153: [03:21:00] * cloph_away1 has joined #silverstripe
154: [03:22:00] <Bollig|DesignCty> Colin[pi]: you should be able to visit home/successfullyinstalled?flush=1 yourself until the bug is fixed...
155: [03:22:00] <Colin[pi]> but it never reaches the delete install files step :\
156: [03:23:00] <Colin[pi]> [Wed Jul 04 13:23:05.493315 2012] [mpm_winnt:notice] [pid 2828:tid 444] AH00428: Parent: child process exited with status 255 -- Restarting
157: [03:23:00] <Colin[pi]> :D
158: [03:23:00] <Colin[pi]> so each time it crashes
159: [03:23:00] <Bollig|DesignCty> ooooh interesting
160: [03:23:00] * cloph_away quit (Ping timeout: 248 seconds)
161: [03:23:00] <Colin[pi]> I'll add that to the ticket
162: [03:23:00] <Colin[pi]> ok let's see
163: [03:26:00] <Bollig|DesignCty> so somewhere in https://github.com/silverstripe/silverstripe-cms/blob/master/code/controllers/ContentController.php successfullyinstalled() it's trashing your apache
164: [03:26:00] <Colin[pi]> would appear so yes
165: [03:27:00] <Bollig|DesignCty> Colin[pi]: try commenting out some buts and pieces, see if you can see what's causing the error... maybe the fopen part?
166: [03:28:00] <Colin[pi]> yes I was just looking at that, OK I will give it a try
167: [03:28:00] <Colin[pi]> mind you that part is only executed if I tell it to report to SS, isn't it?
168: [03:32:00] <Colin[pi]> so it's somewhere in there obviously
169: [03:32:00] <Colin[pi]> well that's interesting, if I comment out the contents of successfullyinstalled(), Apache doesn't crash :)
170: [03:36:00] <Colin[pi]> ok it's in the code block on the return
171: [03:37:00] <Colin[pi]> it's from this line:
172: [03:37:00] <Colin[pi]> "Content" => $data->renderWith('Install_successfullyinstalled')
173: [03:38:00] <Bollig|DesignCty> wtf...
174: [03:38:00] <Bollig|DesignCty> any smart people about? willr? sminnee? aj?
175: [03:38:00] <Colin[pi]> if not, apache crashes
176: [03:38:00] <Colin[pi]> confirmed... I comment that out, it redirects to the post-install template
177: [03:39:00] <Colin[pi]> I'll add it to the ticket also
178: [03:39:00] <willr> I'm working with Wordpress at the moment. I don't feel smart.
179: [03:39:00] <Bollig|DesignCty> heh :)
180: [03:39:00] <Pyromanik||> DERPPRESS
181: [03:39:00] <willr> more segfaults?
182: [03:39:00] <sminnee> Colin[pi]: first up, that URL isn't necessary so you could just ignore it :p
183: [03:40:00] <Bollig|DesignCty> sminnee: thought we'd try to look for the reason it's segfaulting in the first place?
184: [03:40:00] <Colin[pi]> not a good first start mhehe
185: [03:40:00] <willr> simon_w is the segfault expert now
186: [03:40:00] <sminnee> and delete the install files yourself.
187: [03:40:00] <Colin[pi]> yes but the first thing I see post install of SS3 is an error page LOL
188: [03:41:00] <Colin[pi]> ok I've updated the existing ticket:
189: [03:41:00] <Colin[pi]> urg
190: [03:41:00] <Bollig|DesignCty> *sniggers*
191: [03:41:00] <Colin[pi]> http://open.silverstripe.org/ticket/7514
192: [03:41:00] <sminnee> They're a pain to debug. The best way is to get a debug version of PHP compiled and use the GNU debugger on that. It's easy if you're familiar with debugging C: p
193: [03:41:00] <Pyromanik||> Bollig|DesignCty: seems to me that it's something to do with the renderer
194: [03:41:00] <sminnee> :p
195: [03:42:00] <Bollig|DesignCty> Pyromanik||: indeed. but why only there any nowhere else in the cms, that's the question :(
196: [03:42:00] <Colin[pi]> yeah what is happening right there, post install, causing Apache to crap itself?
197: [03:43:00] <spronk> ugh
198: [03:43:00] <sminnee> Alternatively, you can install xdebug with an interactive debugging UI (either your IDE or something standalone like http://www.bluestatic.org/software/macgdbp/help.php) and single step through until it falls over.
199: [03:43:00] <Colin[pi]> It's not a huge issue, I can ignore it, but yeah a segfault as the first thing post-install makes me sad
200: [03:43:00] <Colin[pi]> hehe
201: [03:43:00] <sminnee> Once you find it, a pretty common reason why a segfault will happen is that a new classfile is being included too deep in the call stack. I'm not sure if that's actually the cause, but in any case, the fix that I've found is putting a dummy class_exists('<classname>') at a shallower point in the callstack to trigger the auto-loader.
202: [03:43:00] <spronk> FUCK namespaces
203: [03:44:00] <sminnee> what now, spronk ? :P
204: [03:44:00] <sminnee> yeah, you can see the pain I got into at https://github.com/sminnee/sapphire/tree/introduce-namespaces
205: [03:44:00] <sminnee> spronk: lol.
206: [03:44:00] <sminnee> Bollig|DesignCty: don't try and understand the crashes from a rational perspective. they are heisenbugs.
207: [03:44:00] <spronk> more specifically, fuck namespaces not having some sort of easy way to automatically load themselves without needing 'use'
208: [03:44:00] <spronk> haha
209: [03:45:00] <sminnee> and then referring to Model\DataObject everywhere.
210: [03:45:00] <sminnee> and doing use SilverStripe\Framework\Model as Model;
211: [03:45:00] <sminnee> in the end I think the direction I was going in was having, say, SilverStripe\Framework\Model\DataObject
212: [03:45:00] <Bollig|DesignCty> sminnee: lol, hadn't heard heisenbug before, gold :)
213: [03:45:00] <spronk> :(
214: [03:46:00] <sminnee> yeh, this is why it didn't make it into 3.0 :|
215: [03:46:00] <spronk> bleh
216: [03:46:00] <spronk> :(
217: [03:47:00] <spronk> mm
218: [03:47:00] <Colin[pi]> i've never been a fan of the php namespace syntax :\
219: [03:51:00] <Colin[pi]> ok this segfault is happening in SSViewer->process()
220: [03:53:00] <Colin[pi]> digging deeper :)
221: [03:53:00] <Colin[pi]> $content = SSViewer::parseTemplateContent($content, $template);
222: [03:53:00] <Bollig|DesignCty> Colin[pi]: oh good, that doensn't sound like a complex function...
223: [03:54:00] <Colin[pi]> ok so off we go to SSTemplateParser::compileString()
224: [03:57:00] <tankr> Bollig|DesignCty: lol
225: [03:57:00] <Colin[pi]> now traced it to:
226: [03:57:00] <Colin[pi]> $result = $parser->match_TopTemplate();
227: [03:58:00] <Colin[pi]> oh jesus that's a scary method
228: [04:00:00] <Colin[pi]> quite possibly
229: [04:00:00] <Pyromanik||> Bollig|DesignCty: might be something in the template itself.
230: [04:01:00] <Bollig|DesignCty> Dear Microsoft, stop making Publisher. You're not helping anyone.
231: [04:01:00] <Bollig|DesignCty> An open letter to Microsoft:
232: [04:01:00] <Pyromanik||> lol
233: [04:01:00] <Bollig|DesignCty> Regards.
234: [04:02:00] <Pyromanik||> Dear Microsoft. Word is not a web page creator. Please stop confusing idiots into thinking it is.
235: [04:02:00] <Colin[pi]> hehe
236: [04:03:00] <Bollig|DesignCty> assholes.
237: [04:03:00] <Bollig|DesignCty> Pyromanik||: yes it is. It renders millions of html emails every day.
238: [04:03:00] <Pyromanik||> schr�dinbug - Ha, I get this one all the time.
239: [04:03:00] <Colin[pi]> "I pasted my Word document into the wysiwyg editors and now my site looks like shit? why?"
240: [04:05:00] <elgrodo> all thai webmasters seem to create in Word :(
241: [04:05:00] <elgrodo> use Docvert to clean up Word HTML
242: [04:05:00] * tankr quit (Ping timeout: 245 seconds)
243: [04:06:00] <elgrodo> https://github.com/holloway/docvert/
244: [04:07:00] * Bollig|DesignCty wants a free online service for docvert
245: [04:07:00] <elgrodo> it is quite resource intensive, thus suspect their will not be a freebie
246: [04:08:00] <Bollig|DesignCty> i can dream. :)
247: [04:09:00] <Colin[pi]> if I kill php before that break, it's fine... after, it crashes
248: [04:09:00] <Colin[pi]> uuuurg the segfault is coming from line 4108 in SSTemplateParser: $_705 = TRUE; break;
249: [04:09:00] <mobiusnz> teach them the 'paste as plaintext' option
250: [04:10:00] <Colin[pi]> updating ticket
251: [04:14:00] <Colin[pi]> mobiusnz: I have tried many times, they never remember :\
252: [04:16:00] * perverse` quit (Ping timeout: 255 seconds)
253: [04:16:00] * perverse` has joined #silverstripe
254: [04:18:00] <Colin[pi]> Pyromanik: think you are spot on
255: [04:20:00] <Colin[pi]> Pyromanik: it's something in the Install_successfullyinstalled.ss template :)
256: [04:25:00] <elgrodo> was wondering why my page links were not centering, I was centring
257: [04:25:00] * bones has joined #silverstripe
258: [04:31:00] * gwatson quit (Quit: Page closed)
259: [04:33:00] <Colin[pi]> Pyro yup you were right, removing: <a href="{link}" style="text-align: center;">Click here to delete the install files.</a> from the template stops Apache from crashing :S
260: [04:33:00] <Colin[pi]> in this case, yes
261: [04:33:00] <elgrodo> That is all it takes to break Windows apache?
262: [04:36:00] <spronk> TEXT-ALIGN: CENTAUR!
263: [04:36:00] <spronk> http://textaligncentaur.com/
264: [04:37:00] <Bollig|DesignCty> spronk: lols
265: [04:38:00] * Jedateach has left #silverstripe
266: [04:42:00] <Colin[pi]> erk, it's the length of the line :(
267: [04:53:00] <Colin[pi]> perhaps it's a memory issue?
268: [04:53:00] <Colin[pi]> ok this is weird, by changing the length of one line in that template, I can either make Apache crash, not-crash, or *sometimes* crash
269: [05:03:00] * irogue rocks out to some Stevie Wonder
270: [05:05:00] <irogue> :p
271: [05:05:00] <Colin[pi]> ;_;
272: [05:05:00] <irogue> because apache
273: [05:05:00] <irogue> srsly tho,i had the successfullyinstaled page crash out on me during an install too in the weekend
274: [05:05:00] <Colin[pi]> why the hell would Apache be crashing if I change the length of a template line by a few characters?
275: [05:06:00] <irogue> using nginx on linux
276: [05:06:00] * bones quit (Quit: Page closed)
277: [05:07:00] <Colin[pi]> even weirder, is if I keep the length of the line around 390 chars, sometimes it crashes, sometimes not :\
278: [05:08:00] <Colin[pi]> ugh I hate weird bugs like this
279: [05:31:00] <Bollig|DesignCty> what php version are you using?
280: [05:42:00] <Colin[pi]> 5.3.14
281: [05:47:00] <Colin[pi]> anyway I'll just ignore that weird bug for now lol
282: [05:48:00] <Bollig|DesignCty> yeah....
283: [05:48:00] <Colin[pi]> hope they fix that back button/gridfield one soon because it drives me mental
284: [05:48:00] * cuSSter has joined #silverstripe
285: [05:55:00] <spronk> ELO are awesome.
286: [05:56:00] <irogue> ELO?
287: [06:02:00] <spronk> :p
288: [06:02:00] <spronk> electric light orchestra
289: [06:04:00] <cuSSter> is it a band?
290: [06:04:00] <spronk> yeah
291: [06:04:00] <spronk> oldschool band
292: [06:05:00] <spronk> featured in the American Dad episode I watched last night
293: [06:05:00] <Colin[pi]> next month I'm booked to see someone I've been listening to since I was a kid, Tommy Emmanuel
294: [06:05:00] <Colin[pi]> guy is just incredible
295: [06:08:00] <SticksM> Seeing Jack White this month!
296: [06:08:00] <CIA-12> silverstripe: Andrew Short sapphire/master * rb44ff84 / (admin/css/screen.css admin/scss/_menu.scss): Allow multi-line application names. - http://git.io/uSlujA
297: [06:08:00] <CIA-12> silverstripe: Will Rossiter sapphire/master * r4a39ebe / (admin/css/screen.css admin/scss/_menu.scss): Merge pull request #615 from ajshort/multilineapplicationname - http://git.io/eu-dCg
298: [06:09:00] <SticksM> Hmm, I'll see if it made it over to Melbourne
299: [06:09:00] <SticksM> Never heard of ELO or Tommy Emmanuel
300: [06:09:00] <SticksM> Googling...
301: [06:09:00] <spronk> if you live in NZ and are >20, you've heard an ELO song
302: [06:09:00] <spronk> (specifically, probably, Don't Bring Me Down)
303: [06:10:00] <Colin[pi]> good lord, not heard of tommy? here, see what he is capable of: http://www.youtube.com/watch?v=cjquoPYtB-c
304: [06:11:00] <ajshort> thought it would be fun
305: [06:11:00] <Colin[pi]> widely regarded to be the greatest living acoustic guitarist in the world :o
306: [06:11:00] <willr> Never seen ?: used
307: [06:11:00] <CIA-12> silverstripe: Andrew Short sapphire/master * reb733de / forms/gridfield/GridField.php : NEW Add set config method to GridField. - http://git.io/HyRGAw
308: [06:11:00] <CIA-12> silverstripe: Will Rossiter sapphire/master * rdb4cb8d / forms/gridfield/GridField.php : Merge pull request #614 from ajshort/gridfieldsetconfig - http://git.io/-2Uo3w
309: [06:11:00] <spronk> fuck he's fast :|
310: [06:11:00] <ajshort> good merging there willr :)
311: [06:12:00] <spronk> HOW HE DO THAT ?!
312: [06:12:00] <willr> Just for laughs ay
313: [06:13:00] <willr> I could do a chillu and say WHERE R UR TESTS?
314: [06:13:00] <irogue> i think ?: was added in 5.3, so since ss3 is 5.3+, can use!
315: [06:13:00] <Colin[pi]> I don't think he's actually human lol
316: [06:16:00] * willr quit (Quit: willr)
317: [06:16:00] <irogue> <3 limiting things to new versions
318: [06:19:00] <spronk> yeahhhh REFACTORED!
319: [06:19:00] <spronk> ?: is balls on a can
320: [06:23:00] <SticksM> And ?: is Russian for...
321: [06:23:00] <irogue> i remember seeing the changelog adding ?: and threw a little party
322: [06:23:00] <SticksM> ??
323: [06:27:00] <spronk> in soviet russia, stripesilver.
324: [06:28:00] <SticksM> haha
325: [06:28:00] <Colin[pi]> hehe
326: [06:28:00] <SticksM> Grid fields you!
327: [06:29:00] <Colin[pi]> hey in SS3, should $SilverStripeNavigator automagically pull in the required CSS?
328: [06:30:00] <Colin[pi]> or is it deprecated now?
329: [06:33:00] * LinusN has joined #silverstripe
330: [06:39:00] <elgrodo> stripesilver might be a good vodka brand name
331: [06:40:00] <spronk> :D
332: [06:42:00] <spronk> hmm
333: [06:43:00] <spronk> defining an over the wire format is quite difficult i must say
334: [06:47:00] * OzziNL has joined #silverstripe
335: [06:49:00] * bones has joined #silverstripe
336: [06:50:00] <bones> #Shop - want to change the label of the country field, in the order form to region.
337: [06:53:00] <elgrodo> bones: In the language file perhaps?
338: [06:53:00] <bones> i have had a look and tryed changing all laungauage files but still no change on frontend :(
339: [06:58:00] <bones> I am thinking some sorter modifier to change the #countrydropdown label would work but no ida wherre to start
340: [07:03:00] * oscar_ has joined #silverstripe
341: [07:05:00] * Paltat has joined #silverstripe
342: [07:05:00] <Paltat> Hi Guys, how do you do the sorting if the property that you sort is from one relationship
343: [07:06:00] <Paltat> ??
344: [07:06:00] <Paltat> example ShoppingCart -> one relationship to Products
345: [07:06:00] <elgrodo> bones: by #shop do you mean the ecommerce module? Country appears on several forms, is it one in particular?
346: [07:06:00] <Paltat> how do I sort it by Product Name
347: [07:07:00] <Paltat> DataObject::get("ShoppingCart");
348: [07:07:00] <Paltat> needs to sort by Product.Name ASC
349: [07:07:00] <bones> yeah well the new ss-shop.org // when you goto checkout page that form when they fill out the order form
350: [07:13:00] * Paltat quit (Ping timeout: 245 seconds)
351: [07:18:00] * bones quit (Ping timeout: 245 seconds)
352: [07:24:00] * chillu has joined #silverstripe
353: [07:27:00] <spronk> pretty sure the higgs-boson is the force. Lucas was on to something
354: [07:28:00] <spronk> yay or nay
355: [07:28:00] <cuSSter> hahaha
356: [07:28:00] <spronk> factory methods inside exception
357: [07:28:00] <spronk> also
358: [07:28:00] <cuSSter> God particle
359: [07:29:00] * Pyromanik has joined #silverstripe
360: [07:33:00] * SticksM quit (Quit: Leaving)
361: [07:39:00] * hormy has joined #silverstripe
362: [07:39:00] <hormy> hi
363: [07:39:00] <hormy> I have a problem with duplicate pages for SEO
364: [07:40:00] <hormy> Google index this /index.php/hype-energy-news/hype-energy-gives-more-power-to-the-polish/
365: [07:41:00] <hormy> and this /hype-energy-news/hype-energy-gives-more-power-to-the-polish/
366: [07:41:00] <hormy> how can I stop the first one
367: [07:43:00] <hormy> some one can help me please
368: [07:47:00] <Pyromanik> no one likes index.php
369: [07:47:00] <Pyromanik> also, set up your server properly
370: [07:47:00] <Pyromanik> delete the page.
371: [07:48:00] * LePhil has joined #silverstripe
372: [07:52:00] <LePhil> morning
373: [07:57:00] <hormy> so how can I stop index.php
374: [07:57:00] <hormy> I use whm cpanel
375: [07:58:00] <hormy> and have ssh access
376: [08:06:00] * lx-berlin has joined #silverstripe
377: [08:07:00] * Marvanni quit (*.net *.split)
378: [08:09:00] * popeshoe has joined #silverstripe
379: [08:10:00] * Marvanni has joined #silverstripe
380: [08:13:00] * Marvanni quit (*.net *.split)
381: [08:15:00] * Marvanni has joined #silverstripe
382: [08:16:00] * PigeonFriend has joined #silverstripe
383: [08:16:00] * Jeroenem has joined #silverstripe
384: [08:29:00] <elgrodo> if you uploaded the files via FTP then the .htaccess file might have got missed
385: [08:29:00] <elgrodo> index.php showing is some issue with .htaccess and redirection
386: [08:29:00] <elgrodo> as it is a hidden file
387: [08:34:00] <Pyromanik> use the installer
388: [08:34:00] <Pyromanik> generally that's what it's for.
389: [08:43:00] <Pyromanik> oh wait, they're both the same page.
390: [08:43:00] <Pyromanik> .htaccess is probably set up correctly
391: [08:43:00] <Pyromanik> hormy, if both of those pages have the same content, turn one into a redirector page, and point it at the other.
392: [08:43:00] <Pyromanik> in which case...
393: [08:44:00] <Pyromanik> you can always re-upload it if the entire site breaks.
394: [08:44:00] <Pyromanik> just delete index.php and you're done.
395: [08:45:00] <LePhil> I have to click on "add a new element", then close the popup again to make it display all the elements: http://i.imgur.com/SBu5F.png
396: [08:45:00] <LePhil> ManyManyDataObjectManager from uncleCheese's DataObjectManager: when I open the Tab on a page in the CMS to display/choose/arrange elements, they don't get loaded. (http://i.imgur.com/4VnMg.png)
397: [08:46:00] <Pyromanik> oh wow, that must suck for you
398: [08:46:00] <Pyromanik> fancy that! uncleCheese's module causing problems!
399: [08:46:00] <LePhil> it sure does suck
400: [08:46:00] <Pyromanik> well I never, EVER would have guessed it.
401: [08:47:00] <Pyromanik> LePhil: solution; never install anything that comes from the UncleCheese camp unless you love headaches.
402: [08:47:00] <LePhil> the sarcasm is strong in this one... :P
403: [08:47:00] <Pyromanik> indeed
404: [08:48:00] <LePhil> oh noes
405: [08:48:00] <Pyromanik> yup
406: [08:48:00] <Pyromanik> too much debt.
407: [08:48:00] <Pyromanik> not enough monies!
408: [08:48:00] <Pyromanik> car is fucked and I'm out of money. Not in the best of moods :<
409: [08:48:00] <Pyromanik> Still
410: [08:49:00] <Pyromanik> the correct answer to your problem is a two parter
411: [08:49:00] <Pyromanik> 1: replace "ManyManyDataObjectManager" with "ManyManyComplexTableField"
412: [08:49:00] <Pyromanik> 2: patch ManyManyComplexTableField so it will work.
413: [08:49:00] <Pyromanik> well, work in both directions.
414: [08:50:00] <Pyromanik> it'll work fine so long as you place it in the fieldset of the object that lists the $many_many (as opposed to the converse $belongs_many_many
415: [08:50:00] <Pyromanik> )
416: [08:50:00] <Pyromanik> http://www.sspaste.com/paste/show/4e9672b6b9d86
417: [08:51:00] <Pyromanik> just beware that commented var_dump :P
418: [08:52:00] * DimiStripe has joined #silverstripe
419: [08:52:00] <LePhil> trying it right now
420: [08:54:00] <DimiStripe> Hi guys, could anyone advise - I'm on 2.4 working with newsletter module. My client has members DB with city field in it . What would be the best way of creating newsletter for specified city ? As they are all in one group, so I need kind of filter before it goes out . Maybe any module exsists for this ?
421: [08:55:00] <Bollig|DesignCty> newsletter isn't exactly the best example of well-written module.
422: [08:55:00] <Bollig|DesignCty> DimiStripe: nothing exists for that as far as I know. You should be able to extend the module and do it, I suppose.
423: [08:55:00] <Pyromanik> no idea sorry DimiStripe, I've never used the newsletter module
424: [08:55:00] <Bollig|DesignCty> never done that before, so not sure exactly where you'd start.
425: [08:55:00] <Pyromanik> although I hear that extending the newsletter module is quite horrible.
426: [08:56:00] <DimiStripe> maybe you can advice if its worse switching to some other script, and just grab the memebers from the DB ?
427: [08:57:00] <Bollig|DesignCty> I'd advise using mailchimp or campaign monitor, both of which automatically track the location of users as they subscribe and open each email.
428: [08:57:00] <Pyromanik> I dno't think there is another script.
429: [08:58:00] <DimiStripe> well mailchimp is costy for big dbs
430: [08:59:00] <Bollig|DesignCty> cost verses ease of use :)
431: [08:59:00] <ec8or_> Mailchimp is great but yes does cost a lot of you need big mailout
432: [08:59:00] <Bollig|DesignCty> otherwise, try screwing around with newsletter...
433: [08:59:00] <ec8or_> but to be honest, sending those quantities of mail should probably be avoided on your web server anyway
434: [08:59:00] <ec8or_> s
435: [09:00:00] <Bollig|DesignCty> DimiStripe: plenty. there are signup modules and sync modules.
436: [09:00:00] <DimiStripe> ok will research this closer
437: [09:00:00] <DimiStripe> :)
438: [09:00:00] <DimiStripe> are there any ways connecting mailchimp to silverstripe maybe ?
439: [09:00:00] <Bollig|DesignCty> yep, newsletter certainly isn't up to the task I don;t think.
440: [09:00:00] <ec8or_> DimiStripe: i think there is a module for syncing the dbs
441: [09:00:00] <Pyromanik> DimiStripe, CampaignMonitor is dearer than MailChimp for smaller databases, but cheaper overall for large ones IIRC
442: [09:01:00] <Pyromanik> ec8or_, I'm not sure about syncing DB's, but I do know that CampaignMonitor has a pretty fantastic API that makes integration quite easy
443: [09:01:00] <Bollig|DesignCty> the both do. Not sure of the state of available integrations for campaign monitor tho
444: [09:01:00] * Bollig|DesignCty has left #silverstripe
445: [09:01:00] <Bollig|DesignCty> I think they both have similar plans these days... both monthly, high volume and PAYG.
446: [09:01:00] * DimiStripe_ has joined #silverstripe
447: [09:02:00] <Bollig|DesignCty> *sigh*
448: [09:02:00] <DimiStripe_> Anyone had experience with http://www.phplist.com/ ?
449: [09:02:00] * Bollig|DesignCty has joined #silverstripe
450: [09:02:00] <DimiStripe_> sorry bad connection
451: [09:02:00] <Bollig|DesignCty> honestly...
452: [09:03:00] <ec8or_> Pyromanik: so does mailchimp
453: [09:03:00] <ec8or_> fight!
454: [09:05:00] * DimiStripe quit (Ping timeout: 245 seconds)
455: [09:06:00] <CIA-12> silverstripe: TeamCity silverstripe-cms/translation-staging * rec1f1ce / lang/nb.yml : MINOR Updated translations - http://git.io/JthNxw
456: [09:08:00] <DimiStripe_> test
457: [09:10:00] * Marvanni has joined #silverstripe
458: [09:10:00] * Marvanni quit (Read error: Connection reset by peer)
459: [09:13:00] <LePhil> ah damn, /admin keeps loading
460: [09:13:00] <dd1079> phplist had a lot of security problems over the years, not sure if they were able to tackle them
461: [09:14:00] <dd1079> Can't say anything about CampaignMonitor but am pretty satisfied with MailChimp for lists up to 5000 users
462: [09:14:00] <dd1079> the interface was also quite complex compared to hosted solutions like MailChimp
463: [09:23:00] <Pyromanik> ec8or_, yeah I don't doubt it, it's more of never having use MC before
464: [09:23:00] <Pyromanik> dd1079, phplist is complete balls.
465: [09:24:00] <Pyromanik> when you look at the quality of the systems, the price isn't actually at all that bad.
466: [09:32:00] <DimiStripe_> yah, mailchimp is good indeed however i need Lithuanian interface :)
467: [09:35:00] * DimiStripe_ quit (Quit: Page closed)
468: [09:40:00] <LePhil> ok, wtf. /admin/security, /admin/assets, /admin/comments works, but /admin just won't load.
469: [09:40:00] <LePhil> *work
470: [09:47:00] * LePhil quit (Quit: Page closed)
471: [09:51:00] * LePhil has joined #silverstripe
472: [09:52:00] <LePhil> it works again after a restart of windows. No idea what caused it.
473: [09:53:00] <Bollig|DesignCty> LePhil: windows might just be the problem ;)
474: [09:54:00] <LePhil> tell that my boss...
475: [09:54:00] <LePhil> "no, only windows and macs for work, linux is useless and sucks"
476: [09:55:00] <Bollig|DesignCty> os x is nix.... ;)
477: [09:56:00] <LePhil> our designers insisted on it
478: [09:57:00] <Bollig|DesignCty> knocking (seriously, wtf is wrong with me today...)
479: [09:57:00] <Bollig|DesignCty> I mean, os x is based on the same thing as linux... I'm working on so x right now, I'm not nocking it :)
480: [09:59:00] <LePhil> but yeah
481: [09:59:00] <LePhil> lay off the egg-nock, maybe
482: [09:59:00] <LePhil> I know
483: [10:01:00] <ec8or_> linux just isn't as nice to work in
484: [10:02:00] <ec8or_> getting there, slowly.. but still
485: [10:03:00] <ec8or_> depends what you do i guess
486: [10:06:00] <CIA-12> silverstripe: TeamCity silverstripe-cms/translation-staging * r3a8bc6d / lang/nb.yml : MINOR Updated translations - http://git.io/Jr4R7w
487: [10:09:00] * LePhil quit (Ping timeout: 245 seconds)
488: [10:12:00] * LePhil has joined #silverstripe
489: [10:13:00] <LePhil> re
490: [10:23:00] <Colin[pi]> haha they might have discovered the Higgs Boson and what do the nerds talk about? That they used Comic Sans in their presentation slides
491: [10:23:00] <Colin[pi]> but to be fair that is a travesty
492: [10:29:00] <LePhil> oh god...
493: [10:30:00] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
494: [10:31:00] * ocm has joined #silverstripe
495: [10:32:00] <LePhil> open.silverstripe.org
496: [10:32:00] <LePhil> where would I submit a bug I've found?
497: [10:32:00] <LePhil> next time google first, ok?
498: [10:32:00] <LePhil> thanks, self!
499: [10:39:00] <Zauberfisch> :P
500: [10:41:00] * samthejarvi has joined #silverstripe
501: [10:47:00] * LoveDuckie has joined #silverstripe
502: [10:50:00] * howardgrigg has joined #silverstripe
503: [10:50:00] <howardgrigg> anyones brain around that I can pick?
504: [10:54:00] <LePhil> depends with what :)
505: [10:55:00] * SStuck has joined #silverstripe
506: [10:55:00] <Pyromanik> I spend most of my time working in linux.
507: [10:55:00] <Pyromanik> ec8or_, whaaaaaaat?
508: [10:56:00] <spronk> linux isn't really that great
509: [10:56:00] <spronk> headless as a server, awesomenz
510: [10:56:00] <spronk> x11 is a piece of shit
511: [10:56:00] <Pyromanik> suddenly no main screen ... oh there we go, chat caught up.
512: [10:56:00] <Pyromanik> f'n hydrairc, y u suck so bad?
513: [10:57:00] <howardgrigg> i have an idea that when someone logs in or comes back to the website fter a few days a popup comes up and displays what dataobjects hav been added since they were last there
514: [10:57:00] <Pyromanik> I was having to read the lastest message in the status bar!
515: [10:57:00] <Pyromanik> spronk, yeh, x is certainly showing it's age.
516: [10:57:00] <Pyromanik> for sure
517: [10:57:00] <spronk> ooh, x11 crashes, oh fuck, ALL your gui apps die simultaneously
518: [10:57:00] <spronk> DAMN!
519: [10:58:00] <Pyromanik> like... ever.
520: [10:58:00] <howardgrigg> but itd be a cool feature
521: [10:58:00] * spronk has been stung by that too many times to consider linux a serious workstation desktop until x11 is gone
522: [10:58:00] <Pyromanik> howardgrigg, that sounds super inefficient :<
523: [10:58:00] <Pyromanik> spronk, I've never had X crash on me.
524: [10:59:00] <LePhil> grabbing some food
525: [10:59:00] <spronk> it shouldn't be too bad..
526: [10:59:00] <Pyromanik> yeah, except it entirely depends on how many object, which ones, what classes and the entire database pretty much.
527: [10:59:00] <howardgrigg> if you recorded the time of last visit and had the time added of each resource and just all the resources added since their last visit - would that be possible?
528: [11:00:00] <Pyromanik> oh, certainly possible. I just don't like the scalabilty
529: [11:00:00] <howardgrigg> the max users for my site is ~150
530: [11:00:00] <spronk> i wouldn't think it would be too bad, pyro
531: [11:00:00] <howardgrigg> oh only a certain dataobject class
532: [11:00:00] <Pyromanik> it'd take about 1000000000000billion hours to process if you had heaps.
533: [11:00:00] <spronk> howardgrigg: yeah, easily possible
534: [11:01:00] <Pyromanik> also
535: [11:01:00] <ajshort> It shouldn't be too hard - just filter where LastEdited > last visit time
536: [11:01:00] <spronk> exactly
537: [11:01:00] <Pyromanik> yeah
538: [11:01:00] <Pyromanik> that part easy
539: [11:01:00] <Pyromanik> though I suppose if you put a limit on it or something
540: [11:01:00] <Pyromanik> so you get say the last 20 obejcts that are newest edited
541: [11:01:00] <spronk> even 1000 wouldn't be super ridiculous
542: [11:01:00] <Pyromanik> it'd keep up effieciency
543: [11:01:00] <Pyromanik> nah, not until you start putting them in templates with a datalist
544: [11:02:00] <spronk> yeah, true
545: [11:02:00] <spronk> l
546: [11:02:00] <spronk> welcome to my world. although, luckily, our app isn't SS, so we don't have to deal with inefficiencies at that leve
547: [11:02:00] <howardgrigg> yea - would you run it with the init function or something…? I'm just not sure how best to approach it?
548: [11:02:00] <Pyromanik> ALL the memories!
549: [11:02:00] <Pyromanik> I can't imagine the pain of a 1000 data object datalist
550: [11:03:00] <spronk> "how big is that?"
551: [11:03:00] <Pyromanik> I'd make a 'dashboard' controller
552: [11:03:00] <spronk> "oh, 7000 people?"
553: [11:03:00] <spronk> cringe
554: [11:03:00] <howardgrigg> dashboard controller?
555: [11:03:00] <spronk> "oh we need to be able to send to our entire school community at once"
556: [11:03:00] <Pyromanik> spronk,yeh
557: [11:04:00] <Pyromanik> howardgrigg, yeah, like a "welcome back" screen
558: [11:05:00] <howardgrigg> then have that call the popup rather than on every page load :p
559: [11:05:00] <howardgrigg> I could have a banner saying - something has been added - click to see
560: [11:05:00] <Pyromanik> yeh
561: [11:05:00] <Pyromanik> working on your course facilitation thing?
562: [11:05:00] <howardgrigg> yup :)
563: [11:06:00] <Pyromanik> ec8or_, you can't really compare X to windows.
564: [11:06:00] <Pyromanik> hell you can't really compare it to ANYTHING in windows.
565: [11:06:00] <ec8or_> gnome/kde then
566: [11:06:00] <ec8or_> Pyromanik: yeah that's all i mean
567: [11:06:00] <howardgrigg> I keep thinking of new things to add :p
568: [11:06:00] <ec8or_> x compared to windows.. i much rather use windows :)
569: [11:07:00] <Pyromanik> but metacity runs on X, not an implementation of it.
570: [11:07:00] <Pyromanik> Metacity would be like DWM
571: [11:07:00] <ec8or_> i work a lot in linux every day, but only using ssh
572: [11:08:00] <spronk> but gnome and kde have gone batshit
573: [11:08:00] <ec8or_> used to run ubuntu and mint on my laptop and couldn't really bear it
574: [11:08:00] <spronk> gnome3 is like a clusterfuck of awful
575: [11:08:00] <spronk> especially gnome... what the fuck
576: [11:08:00] <Pyromanik> spronk, if you hate x so much there are always options like directfb.
577: [11:08:00] <spronk> that new wayland thing looks vaguely promising
578: [11:09:00] <spronk> http://wayland.freedesktop.org/
579: [11:09:00] <Pyromanik> not that i've used either tbh
580: [11:09:00] <Pyromanik> lol gnome3
581: [11:09:00] <Pyromanik> it's like a bastard child of aero and unity
582: [11:10:00] <spronk> even linux thinks gnome3 is hilarious
583: [11:10:00] <spronk> https://plus.google.com/102150693225130002912/posts/UkoAaLDpF4i
584: [11:10:00] <Pyromanik> being that X is the successor of W
585: [11:10:00] <Pyromanik> ha spronk, funny that they've gone back to W
586: [11:11:00] <CIA-12> silverstripe: TeamCity sapphire/translation-staging * r18636c4 / lang/pl.yml : MINOR Updated translations - http://git.io/jITeGw
587: [11:11:00] <spronk> ?
588: [11:11:00] <spronk> Pyromanik: what's your wm
589: [11:13:00] <Pyromanik> linus*
590: [11:13:00] <Pyromanik> linus bags the fuck out of gnome3, HILARITY ENSUES
591: [11:13:00] <spronk> Pyromanik: you .. KDE?
592: [11:13:00] <Pyromanik> spronk, I use gnome2 at work because I inherited an old ubuntu box of tankrs
593: [11:13:00] <spronk> ic
594: [11:13:00] <Pyromanik> and yeah, that's fucking wicked.
595: [11:14:00] <Pyromanik> I've use KDE traditionally in the past
596: [11:14:00] <Pyromanik> but I'm actually a blackbox user.
597: [11:14:00] <spronk> i used to like kde
598: [11:14:00] <spronk> then they did that plasma thing
599: [11:14:00] <spronk> and fucked around with the desktop
600: [11:14:00] <ec8or_> blackbox :)
601: [11:14:00] <Pyromanik> Oh, I should mention that I havn't been a KDE user since a fair time BEFORE they even relased 4.
602: [11:14:00] <Pyromanik> and yeah
603: [11:14:00] <Pyromanik> even Qt itself is becoming super bloated.
604: [11:14:00] <Pyromanik> that plasma shit
605: [11:14:00] <Pyromanik> wtf is it?
606: [11:15:00] <spronk> yeah.. it has some good ideas. it's probably the best xplatform toolkit around IMO
607: [11:15:00] <Pyromanik> I installed KDE for the first time in YEEEEEARS the other day
608: [11:15:00] <ec8or_> we're developing a torrent client/video player in Qt
609: [11:15:00] <Pyromanik> went full hog too
610: [11:15:00] <Pyromanik> as a windowing toolkit.
611: [11:15:00] <spronk> c2d 1.8 with 2gb ram, and it chugs like mad
612: [11:15:00] <Pyromanik> I have to say though, I do like Qt.
613: [11:15:00] <spronk> it chugged bad
614: [11:15:00] <spronk> i keep it around for miscellaneous shit
615: [11:15:00] <spronk> i installed kubuntu 12 on my thinkpad t60
616: [11:15:00] <Pyromanik> I don't even.
617: [11:15:00] <spronk> mmlol
618: [11:16:00] <hormy> hi
619: [11:16:00] <Pyromanik> entire KDE suite
620: [11:16:00] <Pyromanik> loaded it up
621: [11:16:00] <Pyromanik> went "WTF DO NOT WANT"
622: [11:16:00] * r3v3rb has joined #silverstripe
623: [11:16:00] <Pyromanik> couldn't be arsed reinstalling... compter still sitting in the corner of the lounge unused, lol
624: [11:16:00] <r3v3rb> lazy arse Pyromanik ;)
625: [11:16:00] <Pyromanik> ec8or_, sounds cool
626: [11:16:00] <Pyromanik> r3v3rb, you know it.
627: [11:17:00] <Pyromanik> spronk, I didn't play with the styles. I just coded a form for an emulator I was working on.
628: [11:17:00] <r3v3rb> :P
629: [11:17:00] <spronk> once upon a time I tried using windowmaker/gnustep
630: [11:17:00] <hormy> I have a problem with duplicate content
631: [11:17:00] <r3v3rb> arhhh, first 'real' coffee of the day!
632: [11:17:00] <Pyromanik> spronk, although I have used GTK2 too
633: [11:17:00] <Pyromanik> I didn't mind it
634: [11:17:00] <ec8or_> r3v3rb: i just had to buy instant :(
635: [11:17:00] <spronk> the styling engine of gtk is all weird
636: [11:17:00] <Pyromanik> I found it a bit more intuitive in that it's easier to conceptualise the layout
637: [11:17:00] <Pyromanik> not so many fiddly little flags.
638: [11:17:00] <ec8or_> Pyromanik: main interface is just a thin client to a web app
639: [11:17:00] <r3v3rb> ec8or_: nothing wrong with that, just prefer beans every now and then
640: [11:18:00] <ec8or_> r3v3rb: theoretically instant could be good.. but they tend to use shit beans
641: [11:18:00] <hormy> google webmastertools show duplicate for page name and Navigation label
642: [11:18:00] <r3v3rb> ec8or_: i have had mixed results with html5
643: [11:18:00] <Pyromanik> was my first experience with GUIs
644: [11:18:00] <spronk> tbh i used to quite enjoy CDE on Solaris
645: [11:18:00] <r3v3rb> Pyromanik: what emu ?
646: [11:18:00] <ec8or_> major pains getting html5 video to work, had to use flash in the end
647: [11:18:00] <r3v3rb> ec8or_: true, so true
648: [11:18:00] <hormy> example
649: [11:18:00] <Pyromanik> I did the Qt interface for it too
650: [11:19:00] * spronk can't believe how expensive freeze dried instant is
651: [11:19:00] <ec8or_> yep
652: [11:19:00] <Pyromanik> unforunately my patches never quite made it to inclusion before project lead redesigned the entire API
653: [11:19:00] <r3v3rb> profit margins my friend profit margins
654: [11:19:00] <r3v3rb> Mupen Mupen Mupen you worked on Mupen! Pyromanik
655: [11:19:00] <r3v3rb> they probably mix it with floor sweepings as one of my old work colleagues used to say about our boss and the Tea Bags he provided !
656: [11:19:00] <hormy> one is pagename and the other the Navigation label
657: [11:19:00] <spronk> it costs *more* than buying and grinding fresh beans
658: [11:19:00] <Pyromanik> r3v3rb, Mupen64plus, v1.5
659: [11:20:00] <Pyromanik> r3v3rb, yeah I did. About 4 years ago
660: [11:20:00] <r3v3rb> oh :(
661: [11:20:00] <r3v3rb> nice work fella - I would love to work on an emu - but am not clever enough
662: [11:20:00] <Pyromanik> lol
663: [11:20:00] <Pyromanik> I did some work in the RSP back when it was still compatible with the Zilmar spec.
664: [11:20:00] <Pyromanik> mmm, 5.
665: [11:20:00] <ec8or_> hah
666: [11:21:00] <Pyromanik> r3v3rb, oh don't get me wrong
667: [11:21:00] <r3v3rb> must admit I was a project64 lover
668: [11:21:00] <r3v3rb> and absolutely love how dolphin has evolved over the last year
669: [11:21:00] <Pyromanik> I althought I have basic knowledge of the internals of how computers work, I wasn't exactly coding the dynarec or anything, lol.
670: [11:22:00] <r3v3rb> playing ExiteTruck on my MBP is sooooooo awesome
671: [11:22:00] <r3v3rb> Dolphin supports wii now too
672: [11:22:00] <Pyromanik> no memory card though, lol.
673: [11:22:00] <Pyromanik> I have a real gamecube
674: [11:22:00] <Pyromanik> dolphin eh.
675: [11:22:00] <Pyromanik> just making small efficiency improvements where I saw they could be.
676: [11:23:00] <Pyromanik> they're pretty much the same system.
677: [11:23:00] <Pyromanik> r3v3rb, dolphin supported wii back when I was still active in #mupen64plus, lol.
678: [11:23:00] <r3v3rb> http://www.dolphin-emulator.com/
679: [11:24:00] <r3v3rb> just the way you mention GC rather than Wii
680: [11:24:00] <Pyromanik> except one has a fancy remote control
681: [11:24:00] <r3v3rb> did it :D
682: [11:24:00] <Pyromanik> r3v3rb, yeah, dolphin started as a GC emu
683: [11:24:00] <r3v3rb> erm yes, Super Mario runs at 60fps on my laptop
684: [11:24:00] <Pyromanik> r3v3rb, yeah, but I suspect that it's much better now than being able to load up menus
685: [11:24:00] <r3v3rb> excite truck is almost perfect
686: [11:25:00] <r3v3rb> just spent the morning at Toys R Us getting youngests birthday presents… wallet now officially lighter
687: [11:25:00] <r3v3rb> so i guess I had better do some work today ...
688: [11:27:00] <Pyromanik> lol
689: [11:27:00] <Colin[pi]> but
690: [11:27:00] <Pyromanik> Colin[pi], try #drupal?
691: [11:27:00] <Colin[pi]> has anyone here had much experience with drupal?
692: [11:27:00] <Colin[pi]> haha yes
693: [11:28:00] <Colin[pi]> I want to see from an SS user perspective :)
694: [11:28:00] <Colin[pi]> I guess everyone here is a little biased hehe
695: [11:28:00] <Pyromanik> BUT NOTHING
696: [11:28:00] <Pyromanik> BUT NOTHING
697: [11:28:00] <Pyromanik> Colin[pi], oh. Well see above comment.
698: [11:28:00] <r3v3rb> Colin[pi]: dont do it
699: [11:29:00] <r3v3rb> Colin[pi]: its like asking in #drupal whats Silverstripe like? or WordPress ( barfs )
700: [11:29:00] * r3v3rb goes and cleanses himself...
701: [11:30:00] <Colin[pi]> true true, I went to a meeting today and the guy was a drupal-head
702: [11:30:00] <Pyromanik> and are probably the very same that think that PHP has a well structured API, and that apache is the pinnacle of webservers.
703: [11:30:00] <Pyromanik> People who think that wordpress is "the business" have NO clue.
704: [11:30:00] <Colin[pi]> oh I already know wordpress is terrible
705: [11:30:00] <Colin[pi]> and I'm like "ehhh"
706: [11:31:00] <ec8or_> tell me about it
707: [11:31:00] <ec8or_> hehe
708: [11:31:00] <spronk> drupal is sick
709: [11:31:00] <spronk> Pyromanik: do you have multiple monitors hooked up to your linux machine(s)?
710: [11:31:00] <ec8or_> working on a drupal job right now
711: [11:31:00] <Colin[pi]> FULLY SICK
712: [11:31:00] <Pyromanik> Drupal has lots of hooks, thats what I heard. It's about the only good thing I've heard. Besides having the CCK, so you can dev a website in a website.
713: [11:31:00] <r3v3rb> spronk: no he has fourteen iPads wirelessly synced
714: [11:31:00] <Colin[pi]> yo dog
715: [11:31:00] <Pyromanik> indeed Colin[pi]
716: [11:31:00] <spronk> and not in the good way.
717: [11:31:00] <Colin[pi]> haha
718: [11:31:00] <r3v3rb> lmao
719: [11:32:00] <ec8or_> seems like you can do a lot of things with drupal, but to me it is just too confusing
720: [11:32:00] <Colin[pi]> because I heard you liked websites, dawg
721: [11:32:00] <r3v3rb> please explain why you would dev a website in a website ?
722: [11:33:00] <spronk> INCEPTION!
723: [11:33:00] <Pyromanik> r3v3rb, yes.
724: [11:33:00] <Pyromanik> Google "CCK"
725: [11:33:00] <Colin[pi]> in all honesty, SS is one of the only frameworks/CMS's I've used which actually (for the most part) makes sense
726: [11:33:00] <Pyromanik> or "Content Creation Kit"
727: [11:33:00] <Pyromanik> Yo (dawg|bro), I heard you like $1 and $2, so I put a $1 in your $2 so you can VERB($1) while you VERB($2)!
728: [11:34:00] <ec8or_> joomla uses cck as well
729: [11:34:00] <Colin[pi]> oh god joomla
730: [11:34:00] <Pyromanik> Colin[pi],
731: [11:34:00] <Pyromanik> DID SOMEONE JUST SAY THE J WORD!?
732: [11:34:00] <Pyromanik> zing!
733: [11:34:00] <Colin[pi]> joomla is basically a swear word in our office
734: [11:34:00] <Pyromanik> oh really?
735: [11:34:00] <Pyromanik> it's basically like going "I need 6 derp boxes and 1 derpdown list, give me dataz"
736: [11:34:00] <howardgrigg> Pyromanik: im just adding a scoring system to encourage people to contribute to my site :p
737: [11:34:00] <Colin[pi]> haha derpdown
738: [11:35:00] <spronk> fuck, man
739: [11:36:00] <ec8or_> but they're not proper developers
740: [11:36:00] <ec8or_> i know some good people who use joomla
741: [11:36:00] <Colin[pi]> it is so full of holes it's like swiss cheese
742: [11:36:00] <Colin[pi]> basically anyone i've known who's advocated joomla is like "OMG I HAZ A WEB SITES ON TEH INTERNET LOL"
743: [11:36:00] <spronk> which was bad waaay back
744: [11:36:00] <spronk> joomla was bad when they forked it from mambo
745: [11:37:00] <Pyromanik> but about 134597 of them do the same thing as another one.
746: [11:37:00] <ec8or_> i can see how people are able to deliver functional sites using both joomla and drupal though
747: [11:37:00] <Pyromanik> it's kinda retarded.
748: [11:37:00] <ec8or_> just a bit sad..
749: [11:37:00] <ec8or_> yeah, makes your head spin
750: [11:37:00] <Colin[pi]> :\
751: [11:37:00] <Pyromanik> Joomla has about 353678920 extensions
752: [11:38:00] <Pyromanik> Colin[pi], so do I
753: [11:38:00] <Colin[pi]> like I said, it makes SENSE
754: [11:38:00] <ec8or_> i really like what i've seen of django as well
755: [11:38:00] <spronk> the only cms i consider these days are SS, c5, and modx
756: [11:38:00] <Colin[pi]> I've been pushing SS on everyone I know now hehe
757: [11:38:00] <Pyromanik> OHAI, so you want to make a template?
758: [11:38:00] <Pyromanik> right
759: [11:38:00] <Pyromanik> I hope you have a spare week.
760: [11:38:00] <ec8or_> i really can't believe how good silverstripe is, compared to how many people actually use it
761: [11:38:00] <Colin[pi]> i know :(
762: [11:38:00] <Pyromanik> AND THEN YOU CAN START MAKING THE TEMPLATE
763: [11:38:00] * DimiStripe has joined #silverstripe
764: [11:38:00] <Pyromanik> LOLOLOL
765: [11:38:00] <Pyromanik> and you'd be surprised at some of the answers I get man
766: [11:38:00] <Colin[pi]> not many systems do nowadays
767: [11:39:00] <Pyromanik> I choke on vomit.
768: [11:39:00] <ec8or_> like expression engine
769: [11:39:00] <r3v3rb> oh nooooo who mentioned modx!
770: [11:39:00] <Pyromanik> "oh nah man, modx is fucking way better"
771: [11:39:00] <Colin[pi]> php... in the db?
772: [11:39:00] <r3v3rb> bunch of goons
773: [11:39:00] <ec8or_> yeah.. odd
774: [11:39:00] <ec8or_> modx has that weird approach of an online editor
775: [11:39:00] <Pyromanik> "Oh nah, the new version 'REvolution' is full MVC"
776: [11:39:00] <ec8or_> i really don't get it
777: [11:39:00] <Pyromanik> yes
778: [11:39:00] <Pyromanik> ikr
779: [11:39:00] <Colin[pi]> hehe
780: [11:39:00] <Pyromanik> YEAH BUT IT STILL STORES PHP IN THE FUCKING DATABASE!
781: [11:40:00] <Colin[pi]> :(
782: [11:40:00] <Colin[pi]> oh man, that's just... omg
783: [11:40:00] <Pyromanik> like hey, I heard you like php, so I put your php in our php so you can php while you EVAL MOTHERFUCKER!
784: [11:40:00] <Colin[pi]> *using
785: [11:40:00] <r3v3rb> Colin[pi]: what have you done to the channel!
786: [11:40:00] <ec8or_> if you're able to code php by hand why wouldn't you use a stand-alone editor?
787: [11:40:00] <Colin[pi]> so it's used eval() ?
788: [11:40:00] <r3v3rb> lmao
789: [11:41:00] * Colin[pi] writes down these CMS's on my "Avoid at all costs" list
790: [11:41:00] <Pyromanik> mind you, I don't know if they actually use eval... but the chances are high once you get to the level of derp of storing strings of php in the db
791: [11:41:00] <Colin[pi]> high derp factor
792: [11:41:00] <r3v3rb> i have just switched a client from modx - thank god for that
793: [11:41:00] <Pyromanik> heh
794: [11:41:00] <r3v3rb> poor fools
795: [11:41:00] <Pyromanik> on the bright side I do like it when a client comes to me with changes to their modx site.
796: [11:41:00] <Pyromanik> LOG IN
797: [11:41:00] <DimiStripe> Hoj guys, maybe someone would advise how can I get all pages of one pagetype from the 6 levels having tree which has lots of mixed pagetypes ? (I mean I need getting all products from all categories/subcategories/subsubcategories) ?
798: [11:41:00] <Pyromanik> EDIT TEMPLATE DIRECTLY IN EDITOR
799: [11:42:00] <r3v3rb> got led down a garden path by a 'night time' web developer
800: [11:42:00] <ec8or_> DimiStripe: yeah i know, but don't understand what you want to do :)
801: [11:42:00] * r3v3rb shudders J word again - will you stop
802: [11:42:00] <DimiStripe> ec8or_: just a question not related to the conversation :)
803: [11:42:00] <Pyromanik> no but no.
804: [11:42:00] <spronk> modx isn't nearly as bad as joomla
805: [11:42:00] <ec8or_> DimiStripe: ?
806: [11:42:00] <Pyromanik> PROFIT
807: [11:42:00] <Pyromanik> ???
808: [11:42:00] <Pyromanik> USE STYLE ATTRIBUTE ALL OVER THE PLACE
809: [11:43:00] <r3v3rb> simon_w will love the logs for this session!!
810: [11:43:00] <Pyromanik> r3v3rb, Joint?
811: [11:43:00] <r3v3rb> pleaseeeeeee
812: [11:43:00] <Pyromanik> oh right, you're a pom, you wierdos spliff everything.
813: [11:43:00] <r3v3rb> muhahahaha
814: [11:43:00] <Colin[pi]> sorry guys I've tarnished the channel too much, no more discussing other POS CMS's :D
815: [11:43:00] <r3v3rb> its just how we roll doooooode
816: [11:43:00] <Pyromanik> it's terrible!
817: [11:43:00] <ec8or_> when did we start talking drugs?
818: [11:43:00] <Pyromanik> even when people aren't smoking ciggarettes they're smoking cigarettes! wtf is up with that!
819: [11:44:00] <r3v3rb> smoking whilst smoking whilst dragging on a toke
820: [11:44:00] <Pyromanik> ec8or_, just after r3v3rb mentioned "The J word"
821: [11:44:00] <r3v3rb> who knows Pyromanik - its all in your name man
822: [11:44:00] <Pyromanik> what?
823: [11:44:00] <DimiStripe> ec8or_: I've got a 6 level depth tree in SS 2.4 - categories/subcategories/subsub... someof categories/subcategoreis/etc would hold Product pages which I need showing alltogether on the subcategory page and below
824: [11:44:00] <ec8or_> DimiStripe: you want to get all pages underneath a parent page?
825: [11:45:00] <Colin[pi]> S M O K E C E P T I O N
826: [11:45:00] <Colin[pi]> me too
827: [11:45:00] <Pyromanik> nonsense
828: [11:45:00] <r3v3rb> right I got to get out of lala land and do some work fellas
829: [11:45:00] <DimiStripe> ec8or_: basically yes , but it should get these pages recursivly
830: [11:45:00] <spronk> yo dawg.
831: [11:45:00] <Pyromanik> -.-
832: [11:46:00] <Pyromanik> err, nearly 10pm
833: [11:46:00] <r3v3rb> Colin[pi]: please don't do that to us again
834: [11:46:00] <Pyromanik> Colin[pi], you're an aussie. It's 9pm. GIVE UP.
835: [11:46:00] <r3v3rb> Pyromanik: I just start at 10pm
836: [11:46:00] <Pyromanik> ec8or_, there's some cool stuff on vodo these days.
837: [11:46:00] <Pyromanik> except...
838: [11:47:00] <Pyromanik> spronk, Opera; y u no torrentz?
839: [11:47:00] <ec8or_> DimiStripe: and you can't just use nested controls? you want a flat list?
840: [11:47:00] <r3v3rb> but thats this kind of shizzle : http://whydoidoit.com/2012/04/06/unity-curved-path-following-with-easing/ not html/php/css
841: [11:47:00] * Colin[pi] apologises profusely ^_^
842: [11:47:00] <Colin[pi]> yeah my gf will be online soon, so I have limited time
843: [11:47:00] <Pyromanik> it says "download with opera" and I'm all "cool", and then it just goes "HO, Where do you want me to save a copy of this torrent file you're trying to open as a download>"
844: [11:47:00] <DimiStripe> ec8or_: yes, I need a flat list and nested controls are too complex to handle
845: [11:48:00] <ec8or_> Pyromanik: it says that on vodo? "download with opera"?
846: [11:48:00] <Pyromanik> ec8or_, no
847: [11:48:00] <Pyromanik> opera tells me it can download bittorrents.
848: [11:48:00] <spronk> hmm
849: [11:48:00] <spronk> opera torrents ok for me
850: [11:48:00] <ocm> gooooodday
851: [11:49:00] <ec8or_> but not sure, might be a better way
852: [11:49:00] <Pyromanik> ocm,no.
853: [11:49:00] <r3v3rb> Pyromanik: use something that actually has ipfilters not bloody opera!
854: [11:49:00] <Pyromanik> but then when it tries, it just goes "LOL, saving a copy of the .torrent, LOLOLOLOL"
855: [11:49:00] <r3v3rb> whats that about !
856: [11:49:00] <ocm> guys, I got some weird IE problem, that I do not understand
857: [11:49:00] <Pyromanik> r3v3rb, I have bit torrent on my other computer, I was just being lazy
858: [11:49:00] <ec8or_> DimiStripe: i think you will have to create a custom function for that.. loop through all children and their children
859: [11:49:00] <ocm> anyone up for the challange? :P
860: [11:49:00] <r3v3rb> Pyromanik: well don't it'll get you into trouble
861: [11:50:00] <Pyromanik> yeah.
862: [11:50:00] <Pyromanik> yeh I know
863: [11:50:00] <ocm> and I got the login thing worked out, I think you helped me with some bits and piecess
864: [11:50:00] <Pyromanik> 7
865: [11:50:00] <ocm> :D
866: [11:50:00] <Pyromanik> ocm, because you've put up 6 lines of text so far and NONE of them actually contain a problem to solve.
867: [11:50:00] <ec8or_> Pyromanik: maybe the file headers are wrong
868: [11:50:00] <ocm> obviously
869: [11:50:00] <ocm> well I got a website running on silverstripe
870: [11:50:00] <r3v3rb> fack off spronk
871: [11:50:00] <spronk> or is this page fucking inception?!
872: [11:50:00] <Pyromanik> but but but
873: [11:50:00] <spronk> is it just me
874: [11:50:00] <spronk> http://develop.modx.com/develop/revolution/quickstart/
875: [11:50:00] <ocm> Pyromanik, why not? :P
876: [11:50:00] <r3v3rb> ocm spill it
877: [11:51:00] <samthejarvi> lol pyro
878: [11:51:00] <r3v3rb> why not just have good clean classes and functions ffs
879: [11:51:00] <Pyromanik> 8
880: [11:51:00] <ocm> but now
881: [11:51:00] <r3v3rb> TV, Chunks, Snippets I mean WTF!
882: [11:51:00] <Pyromanik> 1
883: [11:51:00] <Pyromanik> 12
884: [11:51:00] <r3v3rb> lmao
885: [11:51:00] <ocm> and it redirects to a page
886: [11:51:00] <Pyromanik> 13
887: [11:51:00] <r3v3rb> 13
888: [11:51:00] <Pyromanik> 1
889: [11:51:00] <ec8or_> Pyromanik: there will be some big things happening on VODO in a couple of months
890: [11:51:00] <ocm> it logs in by a user
891: [11:51:00] <r3v3rb> oh i know what it is and how digusting they make me feel using them
892: [11:51:00] <Pyromanik> 10
893: [11:51:00] <Pyromanik> 9
894: [11:51:00] <ocm> if true
895: [11:51:00] <ocm> the login thing checks external for a true or false
896: [11:51:00] <Pyromanik> r3v3rb, TV, contraire to what you might think, means "Template Variable"
897: [11:52:00] <Pyromanik> wait, was comment 13 actually a problem?
898: [11:52:00] <r3v3rb> 14
899: [11:52:00] <ocm> page not found
900: [11:52:00] <ocm> but in IE, when the redirection is done, I get the msg
901: [11:52:00] <r3v3rb> ;)
902: [11:52:00] <ocm> or start counting again
903: [11:52:00] <samthejarvi> that's an odd one
904: [11:52:00] <Pyromanik> ocm, you might have better luck if you just tell us your problem.
905: [11:52:00] <r3v3rb> 18
906: [11:52:00] <r3v3rb> 19
907: [11:52:00] <howardgrigg> ajshort: do you know what causes LastVisited to be recorded - is it login, page view?
908: [11:52:00] <ajshort> there isn't one by default
909: [11:52:00] <ocm> Pyromanik, I got to the problem, so stop counting my lines
910: [11:52:00] <samthejarvi> hm
911: [11:52:00] <r3v3rb> 17
912: [11:52:00] <r3v3rb> 16
913: [11:52:00] <ocm> but not with the redirect
914: [11:52:00] <Pyromanik> 16
915: [11:52:00] <ocm> when I refresh it works, when I go to the url it works
916: [11:52:00] <Pyromanik> oh, no.
917: [11:52:00] <r3v3rb> 15
918: [11:53:00] <howardgrigg> yes there is...
919: [11:53:00] <ajshort> so it's only for logged in members?
920: [11:53:00] <howardgrigg> yup
921: [11:53:00] <ocm> well I just told the problem pyromanik. IE says the target redirectpage doesnt exists
922: [11:53:00] <ajshort> i think it's in an init method somewhere
923: [11:53:00] <Pyromanik> hooray!
924: [11:53:00] <ajshort> probly contentcontroller
925: [11:53:00] <Pyromanik> a problem!
926: [11:53:00] <howardgrigg> so thatd be every page load?
927: [11:53:00] <ocm> whooowhoopwhoop
928: [11:53:00] <Pyromanik> IE doesn't like your redirect.
929: [11:53:00] <howardgrigg> rather than session?
930: [11:53:00] <ajshort> unless you mean member->lastvisited
931: [11:53:00] <howardgrigg> yea
932: [11:54:00] <Pyromanik> "Hooray! Dinner is served!
933: [11:54:00] <ocm> Me doesnt like IE neither
934: [11:54:00] * Pyromanik feels like zoidberg
935: [11:54:00] <Pyromanik> ocm, now for the details part
936: [11:54:00] <r3v3rb> Pyromanik: what you been smoking this afternoon?
937: [11:54:00] <Pyromanik> r3v3rb, I don't smoke.
938: [11:54:00] <ocm> I rather ask what didnt he smoke
939: [11:55:00] <Pyromanik> ocm, so like... are we talking a RedirectorPage?
940: [11:55:00] <ajshort> howardgrigg: yep
941: [11:55:00] <Pyromanik> ?
942: [11:55:00] <Pyromanik> the /Security/login?BackURL=XYZ
943: [11:55:00] <ocm> no, not a redirector page
944: [11:56:00] <ocm> which lets me check for a true or false
945: [11:56:00] <ocm> noo noo, I am using a 3th party for login
946: [11:56:00] <Pyromanik> ok
947: [11:56:00] <ocm> wait, let me get you the code I use for it so you might understand
948: [11:56:00] <ocm> on which I do an action
949: [11:57:00] <Pyromanik> omg awesome
950: [11:57:00] <ocm> the funny thing is
951: [11:57:00] <Pyromanik> your redirect is relative.
952: [11:57:00] <ocm> or doest happen
953: [11:57:00] <ocm> http://sspaste.com/paste/show/4ff4334a89e89
954: [11:57:00] <ocm> this is where the magicx happens
955: [11:57:00] * Pyromanik severely hopes that that statement will be followed by a URL
956: [11:58:00] <ocm> and why dont other browsers say so?
957: [11:58:00] <Pyromanik> $this->redirect('/members');
958: [11:58:00] <ocm> next problem: why does IE gives the perfect URL in the browser, says page not found but after refresh shows the right page? (which wasnt there before the F5..)
959: [11:58:00] <Pyromanik> don't do that.
960: [11:58:00] <Pyromanik> problem solved!
961: [11:58:00] <ocm> the url in the browser is: domain.com/members
962: [11:58:00] <Pyromanik> hooray! on to the next one!
963: [11:59:00] <Pyromanik> because basetag.
964: [11:59:00] <Pyromanik> maybe
965: [11:59:00] <samthejarvi> <% base_tag %> in your <head/>
966: [11:59:00] <Pyromanik> unknown.
967: [11:59:00] * ocm hmmm, not sure if just stupid or Pyromanik supersmart..
968: [11:59:00] <Pyromanik> ocm, happens to the best of us
969: [11:59:00] <Pyromanik> I feel like a winner!
970: [12:01:00] <r3v3rb> erm, can anyone translate this: الي حاط رقمه يختار بنات ولاعيال
971: [12:01:00] <LoveDuckie> can someone explain to me how to use getField?
972: [12:01:00] <LoveDuckie> trying to display my custom form on my page
973: [12:01:00] <Pyromanik> r3v3rb, what did you just call my mother!?
974: [12:01:00] <ocm> r3v3rb, you have to speak it out loud in reverse
975: [12:01:00] <ocm> or hold it in front of a mirror
976: [12:01:00] <r3v3rb> wha...
977: [12:02:00] <LoveDuckie> and made my own ContactForm class
978: [12:02:00] <samthejarvi> oooh, what app?
979: [12:02:00] <LoveDuckie> yeah
980: [12:02:00] <Pyromanik> it returns the actual form field
981: [12:02:00] <LoveDuckie> I extended Forms
982: [12:02:00] <Pyromanik> you what?
983: [12:02:00] <r3v3rb> its a user comment on my app on Samsung App store
984: [12:02:00] * UndefinedOffset has joined #silverstripe
985: [12:02:00] <LoveDuckie> extended Form
986: [12:02:00] <Pyromanik> userforms?
987: [12:02:00] <r3v3rb> samthejarvi: its nonsense isn't it
988: [12:02:00] <samthejarvi> "Hat to choose his own daughters and Aial" is what gtranslate says :D
989: [12:02:00] <Pyromanik> getField on what?
990: [12:02:00] <Pyromanik> LoveDuckie, getField?
991: [12:02:00] <r3v3rb> Pyromanik: close… google botches
992: [12:02:00] <samthejarvi> rofl google translate's response
993: [12:03:00] <LoveDuckie> went off this tutorial
994: [12:03:00] <Pyromanik> LoveDuckie, but that has nothing to do with userforms!
995: [12:03:00] <LoveDuckie> http://doc.silverstripe.org/framework/en/topics/forms/
996: [12:03:00] <LoveDuckie> and $dataByFieldName is apparently outdated
997: [12:03:00] <LoveDuckie> so I am a little confused as to how I am suppose to return a field back to the template
998: [12:03:00] <Pyromanik> r3v3rb, change your page encoding.
999: [12:03:00] <r3v3rb> samthejarvi: Asteroid 2012 3D
1000: [12:04:00] * samthejarvi quit (Quit: Page closed)
1001: [12:04:00] <r3v3rb> if only it were making me a living
1002: [12:04:00] <Pyromanik> if only.
1003: [12:04:00] <r3v3rb> if if if only
1004: [12:04:00] <Pyromanik> iff
1005: [12:04:00] <Pyromanik> in fact, ctrl+f tells me that there's not even a mention of getField on that page at all!
1006: [12:04:00] <samthejarvi> r3v3rb: that looks awesome!
1007: [12:04:00] <r3v3rb> thank you samthejarvi :D
1008: [12:05:00] <LoveDuckie> I am confused.
1009: [12:05:00] <Pyromanik> LoveDuckie, are you working in userforms or not?
1010: [12:05:00] <LoveDuckie> I am using the class "Form"
1011: [12:05:00] <r3v3rb> right poxy list-style why you no love me today...
1012: [12:05:00] <Pyromanik> ok
1013: [12:05:00] <LoveDuckie> A basic form on my site
1014: [12:05:00] <LoveDuckie> Yeah
1015: [12:05:00] <LoveDuckie> I'll dig deeper.
1016: [12:05:00] <Pyromanik> a form?
1017: [12:05:00] <Pyromanik> for what?
1018: [12:05:00] <LoveDuckie> based on that tutorial above
1019: [12:06:00] <LoveDuckie> OK, so I am trying to get fields from my form
1020: [12:06:00] <Pyromanik> typo3, isn't that payfor spronk?
1021: [12:06:00] <LoveDuckie> But what if I want to position each field?
1022: [12:06:00] <Pyromanik> <% loop Fields %> ?
1023: [12:06:00] <spronk> typo3 got prettier while i wasn't looking
1024: [12:06:00] <LoveDuckie> I have actions displaying OK
1025: [12:06:00] <spronk> huh
1026: [12:06:00] <LoveDuckie> to appear on their own custom template
1027: [12:06:00] <LoveDuckie> that enables me to enter data into a dataobject.
1028: [12:06:00] <Pyromanik> and what's your actual problem?
1029: [12:07:00] <Pyromanik> or using, or whatever that other template thing is
1030: [12:07:00] <LoveDuckie> Hmm okay.
1031: [12:07:00] <Pyromanik> or, with the fancy new SS3, maybe, MAYBE you can <% with Fields %> ?
1032: [12:07:00] <spronk> surprisingly similar to ss3 lol
1033: [12:07:00] <Pyromanik> LoveDuckie, create them in the right order -.-
1034: [12:07:00] <CIA-12> silverstripe: TeamCity silverstripe-cms/translation-staging * r2ecd5a5 / lang/nb.yml : MINOR Updated translations - http://git.io/723PpA
1035: [12:07:00] <spronk> Pyromanik: nahh gpl and .. apache licences i thikn
1036: [12:07:00] <LoveDuckie> How?
1037: [12:07:00] <Pyromanik> oh
1038: [12:07:00] <Pyromanik> LoveDuckie, in php!
1039: [12:07:00] <spronk> http://typo3.org/about/the-backend/
1040: [12:07:00] <LoveDuckie> You mean instantiate them in the main Form object?
1041: [12:07:00] <r3v3rb> spronk: indeed
1042: [12:09:00] <Pyromanik> but
1043: [12:09:00] <Pyromanik> what
1044: [12:09:00] <LoveDuckie> "[Warning] Missing argument 1 for ViewableData::getField(), called in C:\wamp\www\poco\framework\view\ViewableData.php on line 106 and defined"
1045: [12:09:00] <Pyromanik> but
1046: [12:09:00] <LoveDuckie> http://pastie.org/4198520
1047: [12:10:00] <Pyromanik> but using that new ss3 one would be better
1048: [12:10:00] <LoveDuckie> What would the new SS3 one be?
1049: [12:10:00] <CIA-12> silverstripe: Ingo Schommer sapphire/3.0 * r9c71c22 / (cli-script.php tests/bootstrap.php): CLI bootstrap: Merge existing $_GET and $_REQUEST data - http://git.io/u3Pq-w
1050: [12:10:00] <Pyromanik> you could
1051: [12:10:00] <LoveDuckie> <% control Form %>?
1052: [12:10:00] <Pyromanik> or whatever
1053: [12:10:00] <Pyromanik> with ContactForm
1054: [12:10:00] <r3v3rb> spronk best part of typo3 that appears to be missing out-of-the-box in SS3 is front end page edits
1055: [12:10:00] <LoveDuckie> That is my template for "ContactForm" which is an php object that inherits "Form"
1056: [12:10:00] <Pyromanik> you didn't control Form !
1057: [12:10:00] <Pyromanik> yeah
1058: [12:11:00] <r3v3rb> for some of my really retarded clients
1059: [12:11:00] <spronk> r3v3rb: i reckon front end page edits could be done rather nicely with js
1060: [12:11:00] <r3v3rb> indeed, it would be a killer addition to the CMS
1061: [12:12:00] <Pyromanik> I was right, hooray!
1062: [12:12:00] <r3v3rb> who can't grasp this whole admin thing!
1063: [12:12:00] <Pyromanik> LoveDuckie, it is "with"!
1064: [12:12:00] <LoveDuckie> so <% with Fields instead of loop?
1065: [12:12:00] <LoveDuckie> haha
1066: [12:13:00] <Pyromanik> <% with ContactForm %> <% with Fields %> $field name?
1067: [12:13:00] <CIA-12> silverstripe: Ingo Schommer silverstripe-installer/3.0 * rc8dbcf7 / (3 files): PHPUnit XML configs for other db drivers on TeamCity - http://git.io/c27-EQ
1068: [12:14:00] <Pyromanik> yup
1069: [12:14:00] <LoveDuckie> http://pastie.org/4198546
1070: [12:14:00] <LoveDuckie> heh
1071: [12:14:00] <LoveDuckie> [User Error] Uncaught SSTemplateParseException: Parse error in template on line 3. Error was: Unknown open block "with" encountered. Perhaps you missed the closing tag or have mis-spelled it?
1072: [12:14:00] <LoveDuckie> do I close with "end_with"?
1073: [12:15:00] <LoveDuckie> Not working D:
1074: [12:15:00] * r3v3rb quit (Quit: r3v3rb)
1075: [12:16:00] <LoveDuckie> XD
1076: [12:16:00] <Pyromanik> you know 'control' still works
1077: [12:16:00] <LoveDuckie> But fields still aren't showing.
1078: [12:16:00] <Pyromanik> oh silly you
1079: [12:16:00] <Pyromanik> http://doc.silverstripe.org/framework/en/trunk/reference/templates
1080: [12:16:00] <LoveDuckie> I was closing with end_control on fields
1081: [12:16:00] <LoveDuckie> got it
1082: [12:16:00] <LoveDuckie> Wait
1083: [12:16:00] <Pyromanik> I dunno what scope you're in
1084: [12:16:00] <Pyromanik> well did you $Me?
1085: [12:17:00] <LoveDuckie> for the method you're after
1086: [12:17:00] <LoveDuckie> Check the API documentation LePhil
1087: [12:17:00] <LePhil> can we use arrays with removeByName? e.g. $fields->removeByName(array("field1", "field2"));
1088: [12:17:00] <LoveDuckie> Well it's a custom template made for the ContactForm
1089: [12:17:00] <Pyromanik> http://api.silverstripe.org/3.0/forms/fields-structural/FieldList.html#methodfieldByName
1090: [12:17:00] <LoveDuckie> Should have all appropriate params in there
1091: [12:18:00] <LePhil> says only "string $fieldName - The name of the field or tab "
1092: [12:18:00] <Pyromanik> being that the api page you're after is pasted 2 comments above yours :P
1093: [12:18:00] <Pyromanik> LePhil, no.
1094: [12:19:00] <LePhil> yes
1095: [12:19:00] <LePhil> oh
1096: [12:19:00] <Pyromanik> LePhil, add another 10
1097: [12:19:00] <LePhil> ciao
1098: [12:19:00] <Pyromanik> ciao
1099: [12:19:00] <LePhil> aren't you in GMT+2?
1100: [12:19:00] <Pyromanik> try not to make it explode.
1101: [12:19:00] <LePhil> good night to that guy
1102: [12:19:00] * Pyromanik wishes y'all the best of luck.
1103: [12:19:00] <Pyromanik> this guy is going to bed.
1104: [12:19:00] <Pyromanik> this guy though
1105: [12:19:00] <Pyromanik> is what it actually said
1106: [12:19:00] <Pyromanik> "String"
1107: [12:19:00] <Pyromanik> and it said no.
1108: [12:20:00] <Pyromanik> :P
1109: [12:20:00] * LePhil tips to the hat
1110: [12:20:00] * Pyromanik quit (Quit: HydraIRC -> http://www.hydrairc.com <- \o/)
1111: [12:20:00] <LePhil> carry on, then
1112: [12:20:00] <LePhil> ok
1113: [12:21:00] <Colin[pi]> i hate you internet explorer
1114: [12:21:00] <SStuck> hi guys, apologies for thick n00b question. I have a little jquery function which I found (as I have zero js knowledge) to try to get my SideBar and Content divs the same height (am basically using blackcandy theme) I've put in a file heights.js in mysite/javascript/. I gather requirements should go in the template rather than the controller init function so in the head of page.ss along with the css requirments I have <% require javascript(mysite/javascri
1115: [12:21:00] <SStuck> do next?! :-p
1116: [12:22:00] <SStuck> or indeed, what did I get wrong so far
1117: [12:22:00] <LoveDuckie> lol I have no idea what you are trying to achieve or what you have.
1118: [12:23:00] <LoveDuckie> if require javascript() doesn't working, you could always use <script type="text/javascript" src="">
1119: [12:23:00] <SStuck> yeah sorry meant to put link in! This is the function: http://www.sspaste.com/paste/show/4ff437c8292d6
1120: [12:24:00] * zfmf has joined #silverstripe
1121: [12:24:00] <SStuck> in theory should that just work witht he requirement in the template?
1122: [12:24:00] <LoveDuckie> Yeah, if it's with document on load then it should work fine
1123: [12:24:00] <LoveDuckie> make sure though
1124: [12:24:00] <LoveDuckie> that
1125: [12:25:00] * Colin[pi] quit (Quit: balls)
1126: [12:25:00] <LoveDuckie> it's like this
1127: [12:25:00] <SStuck> thanks for the patience and help LoveDuckie :-)
1128: [12:25:00] <LoveDuckie> hold on
1129: [12:25:00] <LoveDuckie> <% require javascript({$ThemeDir}/themename/javascript/filename.js) %>
1130: [12:26:00] <LoveDuckie> there
1131: [12:26:00] <LoveDuckie> ({$ThemeDir}/javascript/filename.js) %>
1132: [12:26:00] <LoveDuckie> And don't mention it, I come on here asking for help all the time. I ought to give back.
1133: [12:26:00] <LoveDuckie> wait
1134: [12:27:00] <SStuck> cool
1135: [12:27:00] <LoveDuckie> at least it doesn't looke that way
1136: [12:27:00] <SStuck> oh it needs to be inside my themes directory I will move it. Sorry but whay did you mean when you said Yeah, if it's with document on load then it should work fine - do I need to add anything to make sure it's called?
1137: [12:27:00] <LoveDuckie> If that doesn't work you can always go the plain HTML route.
1138: [12:27:00] <LoveDuckie> nope.
1139: [12:36:00] <SStuck> hmm so created directory Themes/backcandy/javascript (alonside css and template directoroes for theme), put my heights.js file in there and <% require javascript({$ThemeDir}/javascript/heights.js) %> in page.ss but no joy :-( I wonder why... will maybe give the <script> tag route a go
1140: [12:37:00] <LoveDuckie> If you're using Chrome
1141: [12:37:00] <LoveDuckie> and find out if it has been included in the page properly.
1142: [12:37:00] <LoveDuckie> hit F12
1143: [12:40:00] * UndefinedOffset quit (Disconnected by services)
1144: [12:40:00] <LoveDuckie> At least then you can see if it's 404ing and it's a bad URL or something
1145: [12:40:00] * UndefinedOffset1 is now known as UndefinedOffset
1146: [12:40:00] <SStuck> yeah I am using chrome, but it doesn't work in ff either :-( ... no sign of it in scripts in chrome inspector or firebug. Firebug reports no js on this page
1147: [12:40:00] * UndefinedOffset1 has joined #silverstripe
1148: [12:42:00] <SStuck> in chrome inspector in the html the <% require appears in quotes after the body tag even though it's with the css requirements in the head of the template. Confused :-s
1149: [12:43:00] <UndefinedOffset> SStuck: try <% require javascript(themes/blackcandy/javascript/heights.js) %>
1150: [12:44:00] <UndefinedOffset> its possible that the {$ThemeDir} is causing the template parser to miss the require block
1151: [12:46:00] <SStuck> script being included now :-)
1152: [12:46:00] <LoveDuckie> interesting D: works fine on my Page.ss for a couple of scripts that I am using
1153: [12:46:00] <LoveDuckie> glad to hear that its OK now
1154: [12:47:00] <SStuck> d'oh
1155: [12:47:00] <SStuck> hmm. Only thing is the script isn't actually doing what I want! neither idebar nor content being expanded to match the height of the other!
1156: [12:48:00] <LoveDuckie> I bet that you haven't included jQuery properly?
1157: [12:48:00] <SStuck> okay chrome inspector is showing uncaught reference error jquery is not defined... now what did I muck up?!
1158: [12:48:00] <ss23> Not sure if I decided to get a Sitehost VPS at precisely the wrong time, or they always have 4x downtimes in a month :/
1159: [12:49:00] <LoveDuckie> Linode seems to always take my node down for "maintenance"
1160: [12:49:00] <LoveDuckie> Seems to be common for VPS hosts to have downtimes quite regularly.
1161: [12:50:00] * cuSSter has left #silverstripe
1162: [12:53:00] <ss23> Pretty good
1163: [12:53:00] <ss23> Hmm, guuess it depends on a lot of factors. I've got a linode that I manage fro a friend thats been down once in the last 6 months
1164: [12:54:00] <SStuck> most likely LoveDuckie... although I have a lightbox on youtube gallery working but I guess jquery is just included there and not for the site as a wole
1165: [12:56:00] <SStuck> hmm do I need to download jquery separately to my installation? I thought it was included (2.4.7) but can't see a relevant file in my cms/javascript dir
1166: [12:58:00] <SStuck> oh, found mysite/jquery.js
1167: [13:04:00] <SStuck> sorry fr the running commentary... so now I have jquery included - <% require javascript(mysite/javascript/jquery.js) %> and it is showing in the inspector but the following script <% require javascript(themes/blackcandy/javascript/heights.js) %> isn't!
1168: [13:06:00] * webguest has joined #silverstripe
1169: [13:07:00] <webguest> im stuck at something. im using the dataobjects-as-pages module. created 3 files to make it work, i can add dataobjects to my ProjectsAdmin in the CMS ... when i extend the Project dataobjectAsPage with an $db =array ('klant' => 'text'); .. and i hit save and publish... i get an error: Unknown column 'ClassName' in 'field list' [14:57:34] rob.van.eck1: chrome says: POST http://url/admin/projects/Project/4/EditForm?action_
1170: [13:07:00] <webguest> any idea's?
1171: [13:08:00] <SStuck> oh dear, nightmare. Both scripts now included but heights function isn't working and jquery requirement is mucking up my lightwindows in the youtube gallery :-(
1172: [13:13:00] <CIA-12> silverstripe: TeamCity silverstripe-cms/translation-staging * rdf4ada2 / lang/nb.yml : MINOR Updated translations - http://git.io/JhIYcA
1173: [13:15:00] * xmem has joined #silverstripe
1174: [13:19:00] <webguest> any one?
1175: [13:20:00] <CIA-12> silverstripe: Ingo Schommer sapphire/3.0 * r8548014 / (cli-script.php tests/bootstrap.php): CLI bootstrap: Merge existing $_GET and $_REQUEST data - http://git.io/bBP07Q
1176: [13:25:00] <SStuck> webguest this may be of some use: http://www.silverstripe.org/all-other-modules/show/7392
1177: [13:41:00] <webguest> SStuck: yeah, deleting the tables in the database, and dev/build .. worked!
1178: [13:41:00] <webguest> ty
1179: [13:43:00] * Jeroenem quit ()
1180: [13:45:00] * LinusN has left #silverstripe
1181: [13:48:00] <SStuck> np, db equivalent of switch it off and back on again!
1182: [13:58:00] * DimiStripe quit (Quit: Page closed)
1183: [14:14:00] <ocm> ssstuck
1184: [14:15:00] <ocm> in the <head></head> ? or before </body>?
1185: [14:15:00] <ocm> where do your js get loaded?
1186: [14:18:00] <ec8or_> no pictures at all displayed on roman
1187: [14:19:00] <ocm> the roman empire?
1188: [14:21:00] <ec8or_> wrong window :)
1189: [14:22:00] <ocm> haha
1190: [14:23:00] <ocm> no matter what I choose
1191: [14:23:00] <ocm> btw, anyone else has the tinyMCE bug on image alignment?
1192: [14:23:00] <ocm> the image class keeps being left
1193: [14:23:00] <ocm> or does it check the css first before adding a class?
1194: [14:25:00] * ajshort quit (Quit: ChatZilla 0.9.88-rdmsoft [XULRunner 1.9.2.12/20101026201539])
1195: [14:25:00] <LePhil> how hard on a scale from 1 to hard is it to implement this: have a dropdown-box in the CMS with values 1-4, and upon changing that value, a number of fields get generated. e.g. choose 3 from dropdownbox --> 3 fields get created
1196: [14:26:00] <ocm> hm
1197: [14:26:00] <ocm> about 474rd
1198: [14:26:00] <ocm> using 2.4.7 or 3.0 rc2?
1199: [14:26:00] <ocm> :P
1200: [14:26:00] <LePhil> pretty hard, then :P
1201: [14:26:00] <ocm> it depens on what kind of fields you want
1202: [14:26:00] <LePhil> or a button to add another field
1203: [14:27:00] <LePhil> 2.4.7. and textfields
1204: [14:27:00] <ocm> depending on your skill it is about 4 hardness
1205: [14:27:00] <LePhil> I just did something with that yesterday
1206: [14:27:00] <ocm> and go for the Complex Table Field
1207: [14:27:00] <ocm> get uncle cheese's dataobjectmanager
1208: [14:27:00] <LePhil> basic stuff
1209: [14:28:00] <ocm> without the DOM it adds +ard
1210: [14:28:00] <LePhil> uncle cheese's stuff automagically adds +5 to that value
1211: [14:28:00] <ocm> :P
1212: [14:29:00] <LePhil> I don't need to manage them, really.
1213: [14:29:00] <LePhil> just don't want to add 4 fields when the user can use only 1 or 2 if he fancies that
1214: [14:30:00] <ocm> and also put some content in it
1215: [14:30:00] <LePhil> but I want him to have the possibility to go up to 4
1216: [14:30:00] <ocm> then you call it managing your fields
1217: [14:30:00] <ocm> ;)
1218: [14:30:00] <ocm> and even delete some
1219: [14:30:00] <ocm> well, if you need to be able to add more
1220: [14:30:00] <LePhil> or 11
1221: [14:30:00] <LePhil> or 5
1222: [14:31:00] <LePhil> but not backend-managing :P
1223: [14:31:00] <ocm> messing the view up
1224: [14:31:00] <ocm> otherwise you could just write some js code that prompts random fields on click
1225: [14:31:00] <LePhil> crap.
1226: [14:31:00] <LePhil> yeah
1227: [14:31:00] <LePhil> true
1228: [14:31:00] <LePhil> hm that's probably not really easier
1229: [14:31:00] <LePhil> thanks :)
1230: [14:31:00] <ocm> but clear again on f5 :P
1231: [14:31:00] <LePhil> i'll try it with DOM
1232: [14:32:00] <ocm> np
1233: [14:33:00] <LePhil> maybe managing them on the backend isn't that stupid of an idea, actually
1234: [14:33:00] <ocm> what is the function of these fields?
1235: [14:34:00] <LePhil> especially considering translatability
1236: [14:34:00] <LePhil> just to print 4 texts
1237: [14:35:00] <LePhil> but with fancy styling
1238: [14:35:00] <LePhil> so no TinyMCE
1239: [14:36:00] <ocm> print text from the cms into content?
1240: [14:39:00] * Arno has joined #silverstripe
1241: [14:39:00] <Arno> Im trying to add a style to tinymce, but for some reason it doesnt show up, im using HtmlEditorConfig::get('cms')->setOption('theme_advanced_styles', 'Name 1=class1;Name 2=class2'); in _config.php
1242: [14:40:00] <LePhil> yes
1243: [14:40:00] * webguest quit (Quit: Page closed)
1244: [14:40:00] <ocm> replace Name with the right dom-element
1245: [14:40:00] <ocm> atleast, I think :P
1246: [14:40:00] <ocm> and you are set arno
1247: [14:40:00] <ocm> like this for img:
1248: [14:40:00] <ocm> HtmlEditorConfig::get('cms')->setOption('theme_advanced_styles', 'None=none;Image left=left;Image center=center;Image right=right;Image left alone=leftAlone;Image right alone=rightAlone');
1249: [14:41:00] <Arno> hmpf doesnt show up still, im adding it to editor.css
1250: [14:41:00] <Arno> the style
1251: [14:42:00] <LePhil> arno, if you find out, please tell us. I tried that before and didn't get it to work
1252: [14:42:00] <Arno> is it possible to do such a set up? or you can only use get once
1253: [14:42:00] <Arno> HtmlEditorConfig::get('cms')->setOption('theme_advanced_styles', 'None=none;Groot Groen=BigGreen');
1254: [14:42:00] <Arno> HtmlEditorConfig::get('cms')->setOptions(array('content_css'=>'cms/css/editor.css, '.(SSViewer::current_theme() ? THEMES_DIR . "/" . SSViewer::current_theme() : project()) . "/css/editor.css"));
1255: [14:43:00] <Arno> doesnt work ocm
1256: [14:44:00] <ocm> I think you should put it in one string all together
1257: [14:44:00] <ocm> though I not really worked that much with that
1258: [14:44:00] <ocm> as a gigantic array or something
1259: [14:45:00] <ocm> I only use the string I just showed, so the right class gets added when a user adds an image
1260: [14:46:00] <ocm> maybe it helps a bit
1261: [14:46:00] <Arno> well thanks anyway
1262: [14:46:00] <ocm> what happens if you add the style to typography.css?
1263: [14:46:00] <Arno> aha oke
1264: [14:47:00] <LoveDuckie> Anyone know how to loop through fields in a forma
1265: [14:47:00] <LoveDuckie> <% with Fields %>
1266: [14:47:00] <LoveDuckie> and display them in their own template?
1267: [14:48:00] <LoveDuckie> ?
1268: [14:48:00] <LoveDuckie> <% end_with %>
1269: [14:52:00] <LePhil> what do you mean with "loop through fields"?
1270: [14:54:00] <ss23> Now your shoes are looking cool.
1271: [14:54:00] <LoveDuckie> but it's outdated apparently.
1272: [14:54:00] <LoveDuckie> lolwat.
1273: [14:54:00] <ss23> http://www.youtube.com/watch?v=ZvMUlywpYr8
1274: [14:54:00] <LoveDuckie> essentially yeah
1275: [14:54:00] <ss23> You do the loop'de'loop then pull
1276: [14:54:00] <LoveDuckie> I found some documentation on the silverstripe
1277: [14:55:00] <ss23> Gets the point across
1278: [14:55:00] <ss23> YOU MAKE A LOOP DE LOP AND PULL
1279: [14:55:00] <LoveDuckie> WOAH OKAY.
1280: [14:55:00] <ss23> AND YOUR SHOES ARE LOOKING COOL
1281: [14:55:00] <ss23> wow bad quality
1282: [14:55:00] <LoveDuckie> lol still don't get your point.
1283: [14:56:00] <LoveDuckie> "[Warning] Missing argument 1 for ViewableData::getField(), called in C:\wamp\www\poco\framework\view\ViewableData.php on line 106 and defined"
1284: [14:56:00] <LoveDuckie> GAWD DAMMIT
1285: [14:56:00] <LoveDuckie> http://pastie.org/4199261
1286: [14:57:00] * xmem quit (Quit: Verlassend)
1287: [15:03:00] * OzziNL quit (Ping timeout: 252 seconds)
1288: [15:03:00] * oscar_ quit (Ping timeout: 246 seconds)
1289: [15:19:00] * EMaster has joined #silverstripe
1290: [15:20:00] * EMaster is tired of reading all the entries in the logfile
1291: [15:20:00] <EMaster> Is there any documentation on replacing Director::AddRules() with yml?
1292: [15:22:00] * EMaster goes back to thinking about Stacey's mom
1293: [15:41:00] <CIA-12> silverstripe: Ingo Schommer silverstripe-translatable/master * r319a7fa / code/controller/TranslatableCMSMainExtension.php : Merge pull request #32 from blu42media/patch-1 - http://git.io/yYh4IA
1294: [15:41:00] <CIA-12> silverstripe: BLU42 Media silverstripe-translatable/master * r01a61f4 / code/controller/TranslatableCMSMainExtension.php : fixed typo in function call - http://git.io/PAhGeg
1295: [15:45:00] * perverse` has joined #silverstripe
1296: [15:45:00] * perverse` quit (Read error: Connection reset by peer)
1297: [15:47:00] <LePhil> anyone knows how to count the number of items (like $TotalItems) but OUTSIDE of the control?
1298: [15:54:00] <Arno> LePhil: mabye two dataobjects? one for control one for count?
1299: [15:54:00] <ocm> or by hand
1300: [15:54:00] <ocm> javascript
1301: [15:55:00] <Arno> but mabye he wants to use it dynamically?
1302: [15:55:00] <ocm> LePhil, maybe this helps?
1303: [15:55:00] <ocm> http://www.wateenspeelgoed.nl/contents/media/houten%20-speelgoed-houten-telraam.jpg
1304: [15:55:00] <LePhil> hehe
1305: [15:55:00] <ocm> anyway
1306: [15:55:00] <Arno> ah oke, loving the trolling
1307: [15:55:00] <ocm> I go now
1308: [15:55:00] <LePhil> just thought of that too :)
1309: [15:55:00] <LePhil> maybe there's a template function
1310: [15:55:00] <LePhil> but it doesn't look that way
1311: [15:55:00] <ocm> I would prefer counting them manual
1312: [15:55:00] <ocm> or on your fingers
1313: [15:56:00] <ocm> cheers
1314: [15:56:00] <ocm> and I got to swim
1315: [15:56:00] <ocm> before rain starts falling down on me
1316: [15:56:00] <LePhil> prefer that one http://i.istockimg.com/file_thumbview_approve/3204474/2/stock-illustration-3204474-counting-on-fingers.jpg
1317: [15:58:00] <Arno> and you made the .Total in your function
1318: [15:58:00] <Arno> one for <% control %> and then one as like $Function.Total
1319: [15:58:00] <Arno> LePhil: I wonder if you can use two functions in one
1320: [15:58:00] <Arno> hehe
1321: [15:58:00] <Arno> but thats just me talking without having any real php skills :)
1322: [15:59:00] <LePhil> seems easier
1323: [15:59:00] <LePhil> no we're doing the additional dataObject way now
1324: [15:59:00] <LePhil> hehe
1325: [15:59:00] * zfmf has left #silverstripe
1326: [15:59:00] <Arno> ah oke :)
1327: [16:00:00] * ocm quit (Ping timeout: 245 seconds)
1328: [16:00:00] * zfmf has joined #silverstripe
1329: [16:00:00] <CIA-12> silverstripe: Ingo Schommer silverstripe-translatable/master * r1a4b284 / code/controller/TranslatableCMSMainExtension.php : Fixed deprecated function usage (#33) - http://git.io/H3qCTA
1330: [16:07:00] * hormy quit (Ping timeout: 245 seconds)
1331: [16:08:00] <CIA-12> silverstripe: jakr sapphire/3.0 * r2069695 / forms/gridfield/GridFieldDataColumns.php : FIX: Ticket #7592 GridFieldDataColumns: Wrong documentation for getFieldCasting Moved documentation to the appropriate function, added note about the two parameter callback function. - http://git.io/Vr5z4A
1332: [16:17:00] * elgrodo quit (Read error: Connection reset by peer)
1333: [16:18:00] <CIA-12> silverstripe: jakr sapphire/3.0 * r2b5214b / docs/en/changelogs/3.0.0.md : Summarized 3.0 changes in changelog - http://git.io/YQ_NLw
1334: [16:18:00] <FrozenFire> Any tips for dealing with SilverStripe being in a subfolder of the webroot?
1335: [16:29:00] <Arno> change the webroot of .htaccess to the right subfolders
1336: [16:32:00] * webdoc has joined #silverstripe
1337: [16:33:00] <webdoc> giving this error when i use 2nd paragraph line in simpletinymce field
1338: [16:33:00] <FrozenFire> Why hello there, good sir.
1339: [16:33:00] <webdoc> can some one help with http://www.silverstripe.org/dataobjectmanager-module-forum/show/20185
1340: [16:33:00] <webdoc> hi
1341: [16:33:00] <FrozenFire> webdoc, What are the Security permissions for your current user?
1342: [16:34:00] <FrozenFire> As well, do you have the .htaccess file properly installed?
1343: [16:34:00] <webdoc> admin
1344: [16:34:00] <webdoc> in ss
1345: [16:34:00] <webdoc> looking it right now
1346: [16:36:00] <webdoc> yep
1347: [16:36:00] <EMaster> I know this might sound stupid... but you are definitely still logged into the CMS?
1348: [16:36:00] <webdoc> maybe its problem with silverstripe cache
1349: [16:37:00] <webdoc> i have installed it in not root folder but in folder called top
1350: [16:37:00] <webdoc> looks like its ok
1351: [16:37:00] <webdoc> and the rewritebase is set to /top/
1352: [16:38:00] <LoveDuckie> FieldList()->getField("name")?
1353: [16:38:00] <LoveDuckie> Been ripping out my hair here.
1354: [16:38:00] <LoveDuckie> btu that's not what I want.
1355: [16:38:00] <LoveDuckie> I know how to get them all appearing at once
1356: [16:38:00] <webdoc> <IfModule mod_alias.c> RedirectMatch 403 /silverstripe-cache(/|$) </IfModule>
1357: [16:38:00] <webdoc> also have this line
1358: [16:38:00] <LoveDuckie> Ergh, OK I am making a template for a custom Form object called ContactForm
1359: [16:38:00] <LoveDuckie> HOW do I make one particular field appear?
1360: [16:39:00] <FrozenFire> webdoc, If at all possible, modify your vhost configuration to place the webroot at /top/, instead of rewriting the base.
1361: [16:39:00] <webdoc> but what happens if i remove the silverstripe cache
1362: [16:39:00] <webdoc> its test web and going up soon on root
1363: [16:40:00] <EMaster> just rename it
1364: [16:40:00] <zfmf> .
1365: [16:40:00] <EMaster> but to be safe
1366: [16:40:00] <EMaster> a new one should magically appear (providing file/dir permissions are right)
1367: [16:41:00] * zfmf quit (Read error: Connection reset by peer)
1368: [16:42:00] <CIA-12> silverstripe: Ingo Schommer sapphire/3.0 * rde73db9 / docs/en/changelogs/3.0.0.md : Restructured 3.0 changelog - http://git.io/hZp0Dg
1369: [16:44:00] <FrozenFire> LoveDuckie, That's... tricky.
1370: [16:46:00] <FrozenFire> LoveDuckie, I'm pretty sure that it's all or nothing, in terms of outputting the form. If you only output part of the form, you're liable to cause errors in the form handling.
1371: [16:46:00] <FrozenFire> LoveDuckie, The best bet is to hide unwanted fields with CSS.
1372: [16:47:00] <FrozenFire> If you need to get a field for another purpose, in your controller, you can do $form->Fields()->fieldByName('name');
1373: [16:48:00] * openbees has joined #silverstripe
1374: [16:49:00] <LoveDuckie> I mean, I am literally doing it for the sake of positioning.
1375: [16:49:00] <LoveDuckie> That's it.
1376: [16:50:00] <FrozenFire> LoveDuckie, Best to use CSS
1377: [16:50:00] <LoveDuckie> Hmkay.
1378: [16:52:00] <openbees> sminnee : need to fix i think ! I was just checking silverstripe.com and on this page "http://www.silverstripe.com/our-work/westpac/" link below "Westpac" title (www.westpac.co.nz) is sending users to "http://www.silverstripe.com/www.westpac.co.nz"
1379: [16:52:00] <LoveDuckie> I managed to get the fields returning separately
1380: [16:52:00] <LoveDuckie> I made a function named "returnField($name)"
1381: [16:52:00] <LoveDuckie> which then calls the forms Fields()->fieldByName
1382: [16:52:00] <LoveDuckie> I'll let you know if it works even if called separately.
1383: [16:52:00] <FrozenFire> :\ I'd recommend against that, LoveDuckie
1384: [16:52:00] <LoveDuckie> Just because of bad standards or?
1385: [16:52:00] <FrozenFire> I've hacked at forms pretty intensely, and I can tell you that you're likely to break it ;)
1386: [16:53:00] <LoveDuckie> That's where it is
1387: [16:53:00] <FrozenFire> LoveDuckie, Keep your presentation in your view.
1388: [16:53:00] * EMaster quit (Ping timeout: 245 seconds)
1389: [16:53:00] <LoveDuckie> I call $returnField from the template
1390: [16:53:00] <LoveDuckie> ContactForm.ss
1391: [16:53:00] <LoveDuckie> that calls "$FormAttributes"
1392: [16:53:00] <LoveDuckie> within the form
1393: [16:54:00] <FrozenFire> http://ubiquitycorp.com/contact/ There's an example of where I've styled the form nicely.
1394: [16:54:00] * lx-berlin has left #silverstripe
1395: [16:54:00] <LoveDuckie> so surely as long as I include the fields within the form and field set, it should be OK?
1396: [16:54:00] <LoveDuckie> I see.
1397: [16:54:00] * slith quit (Quit: Leaving.)
1398: [16:54:00] <FrozenFire> It's actually not very difficult to style forms. Modifying the rendering of the form is a bad idea.
1399: [16:56:00] * PigeonFriend quit ()
1400: [16:58:00] * slith has joined #silverstripe
1401: [16:59:00] <CIA-12> silverstripe: ARNHOE sapphire/3.0 * rb6c59f2 / (admin/css/screen.css admin/scss/_forms.scss): Restricting input.time width - http://git.io/wazNbw
1402: [17:00:00] <LoveDuckie> FrozenFire, how do I add labels to a field?
1403: [17:00:00] * LePhil quit (Ping timeout: 245 seconds)
1404: [17:02:00] <FrozenFire> LoveDuckie, In the field definition
1405: [17:03:00] * r3v3rb has joined #silverstripe
1406: [17:03:00] <openbees> sminnee : oops same here "http://www.silverstripe.com/our-work/plunket/" on left side of content area below "Plunket" title !!
1407: [17:03:00] <FrozenFire> Title being the label contents.
1408: [17:03:00] <FrozenFire> new TextField('fieldname', 'title', 'value')
1409: [17:04:00] * theorytank has joined #silverstripe
1410: [17:06:00] <LoveDuckie> Yeah, I got those params filled out
1411: [17:06:00] <LoveDuckie> but nothing appearing on top.
1412: [17:07:00] <FrozenFire> Also, are you using SS3?
1413: [17:07:00] <FrozenFire> Check the HTML output
1414: [17:07:00] <FrozenFire> You sure you're not accidentally hiding the label elements?
1415: [17:09:00] <LoveDuckie> Yeah I am
1416: [17:10:00] <FrozenFire> There may be some differences there. I've not done anything more than installed it thusfar
1417: [17:10:00] <LoveDuckie> OK
1418: [17:11:00] <LoveDuckie> I'll check it out some more
1419: [17:11:00] <LoveDuckie> But there's no hidden labels that's for sure.
1420: [17:13:00] * chillu quit (Quit: chillu)
1421: [17:17:00] <FrozenFire> :P
1422: [17:17:00] <FrozenFire> Anyone have a translated version of this talk?: http://vimeo.com/37216649
1423: [17:17:00] <FrozenFire> (Grid Field)
1424: [17:17:00] <FrozenFire> I have a really hard time understanding the New Zealand accent
1425: [17:21:00] * gelignite has joined #silverstripe
1426: [17:22:00] * SStuck has left #silverstripe
1427: [17:24:00] * openbees quit (Quit: Leaving)
1428: [17:26:00] <LoveDuckie> Looks interesting
1429: [17:33:00] <webdoc> it still the same
1430: [17:36:00] <webdoc> and used the same stuff
1431: [17:36:00] <webdoc> but still in 2nd paragraph it gives error
1432: [17:36:00] <webdoc> installed in subdomain
1433: [17:40:00] * chillu has joined #silverstripe
1434: [17:41:00] <FrozenFire> webdoc, It really does sound like an error in routing the requests. That'd be related to have SS installed not in the site root
1435: [17:41:00] <FrozenFire> http://doc.silverstripe.org/framework/en/topics/environment-management
1436: [17:41:00] <FrozenFire> You might need an _ss_environment.php file in your SS root, with a FILE_TO_URL_MAPPING
1437: [17:55:00] * apk26 quit (Ping timeout: 245 seconds)
1438: [18:04:00] <webdoc> all ok with it
1439: [18:04:00] <webdoc> if i add second it gives error
1440: [18:04:00] <webdoc> if i write on line 1 paragraph it lets me save
1441: [18:05:00] <webdoc> something with detailform
1442: [18:05:00] <webdoc> yes
1443: [18:05:00] <FrozenFire> webdoc, Do you have access to your server's error log?
1444: [18:06:00] <FrozenFire> Have you checked the contents of that?
1445: [18:07:00] * subaru_ has joined #silverstripe
1446: [18:08:00] <subaru_> come estas
1447: [18:08:00] <subaru_> ola senor y senoras
1448: [18:09:00] * subaru_ quit (Client Quit)
1449: [18:10:00] <FrozenFire> webdoc, From the looks of the error message you PM'd me, your rewritebase is incorrect
1450: [18:10:00] <FrozenFire> You need a trailing slash on the /top
1451: [18:10:00] <FrozenFire> .../topseadmed/admin/EditForm/field/...
1452: [18:22:00] <FrozenFire> webdoc, Are you sure that your file permissions are correct?
1453: [18:23:00] <webdoc> yep
1454: [18:34:00] <Arno> chillu: countrydropdownfield is added on master, but not on 3.0 (on github)
1455: [18:36:00] * Nemitz has joined #silverstripe
1456: [18:37:00] <Nemitz> Hi ppl :o)
1457: [18:43:00] <Nemitz> Anyone knows how to make urls like index.php?id=1 fail? I'm trying to use ajshorts module linkmapping, to redirect old links to new pages. Old links are in the format index.php?id=xx and that unfortunately also works in SS.
1458: [18:44:00] <Nemitz> Actually that is actually something that should always happen from a SEO perspective (or better redirect with 301 to correct url /page/subpage/)
1459: [18:48:00] <FrozenFire> But since SS uses the url parameter for its internal redirect, it was... very difficult.
1460: [18:48:00] <FrozenFire> Nemitz, That's actually quite tricky. I had a similar problem, where I needed a page to accept a url=foo parameter
1461: [18:49:00] <FrozenFire> And it's still pretty buggy.
1462: [18:50:00] * theorytank quit (Quit: Page closed)
1463: [18:50:00] <Nemitz> hmm yeah that's also another problem regarding SEO
1464: [18:50:00] <Nemitz> so many different urls that will give you the same content
1465: [18:52:00] <Nemitz> I hoped there was just somewhere i could ad some check if url contained index.php, if so then fail and thereby go to the method in linkmapping module that handles redirects
1466: [18:55:00] <FrozenFire> It might be possible with a rewriterule
1467: [18:57:00] <Nemitz> tried messing around with rewrite rules last week for something else - did not work out for me :-) i just don't understand
1468: [18:57:00] <FrozenFire> You'd have to check if it was a first-order request (not an internal request)
1469: [18:59:00] <FrozenFire> The issue is that if you try to rewrite accesses to index.php, you are interfering with SilverStripe's routing scheme.
1470: [18:59:00] <FrozenFire> It directs all requests to index.php
1471: [19:05:00] <FrozenFire> Nemitz, I think it may be possible to use something like: RewriteRule ^/index.php?id=(.*) /wherever/linkmapping/is/index.php?id=$1 [NS]
1472: [19:06:00] <Nemitz> yeah ok, i guess i'm in over my head here - think i will just try to implement the Legacy URL rewrites from the SS Book
1473: [19:06:00] <FrozenFire> [NS] means "no subrequests"
1474: [19:08:00] <Nemitz> FrozenFire: must admit i would not know where to start with that stuff, so i will leave it for now. Maybe use the Legacy URL or just do htaccess rewrites
1475: [19:09:00] <FrozenFire> (Taking care to make sure RewriteEngine On is called)
1476: [19:09:00] <Nemitz> what does /wherever/linkmapping/is mean?
1477: [19:09:00] <FrozenFire> Nemitz, It *should* be as simple as placing that rewrite in your .htaccess prior to the SilverStripe rewrites.
1478: [19:11:00] <FrozenFire> How are you wanting to map these IDs to your new URLs?
1479: [19:12:00] <Nemitz> link mapping module kicks in when no page is found, so if a url is not found in filesystem or as a SS page, the module will look for a "link mapping"
1480: [19:13:00] <FrozenFire> You may be able to completely avoid using the linkmapping module for this
1481: [19:13:00] <Nemitz> https://github.com/ajshort/silverstripe-linkmapping/blob/master/code/controllers/LinkMappingFrontController.php
1482: [19:13:00] <FrozenFire> For instance, if you wanted index.php?id=<x> to map to /yourcontroller/<x>/, you'd use: RewriteRule ^/index.php?id=(.*) /yourcontroller/$1/ [NS]
1483: [19:14:00] <FrozenFire> The linkmapping module is for simple mappings, not complex ones like this, where you're wanting to override index.php
1484: [19:17:00] <Nemitz> ok, to bad - that form of redirects would be a very common use case, never mind, i will go with the Legacy URL solution from the book, as it seems to be able to handle this
1485: [19:22:00] * dospuntocero has joined #silverstripe
1486: [19:38:00] <chillu> Arno: We'll merge master back to 3.0 at some point soon
1487: [19:39:00] * webdoc quit (Ping timeout: 245 seconds)
1488: [19:43:00] <dospuntocero> what do i need to do in templates on SS3 to getting the dates in spanish?
1489: [19:43:00] <dospuntocero> hey guys.. quick question
1490: [19:44:00] <Nemitz> $Date.Nice if i18n::set_locale is set to Spanish i think
1491: [19:47:00] <dospuntocero> mmm Nemitz i think it doesnt work...
1492: [19:48:00] <r3v3rb> has fooked up everything, SS doesn't even run on it!
1493: [19:48:00] <dospuntocero> but didnt worked either.
1494: [19:48:00] <dospuntocero> i tried with .FormatI18N(%A %e de %B de %Y)
1495: [19:48:00] <r3v3rb> arggggghhhhhhh stooopid italians wanting to get their own hosting!
1496: [19:49:00] <dospuntocero> i know the feeling
1497: [19:49:00] <dospuntocero> lol r3v3rb
1498: [19:50:00] <r3v3rb> dospuntocero: not funny - test site on my server works perfectly - can't even get their host to run the installer!
1499: [19:50:00] <r3v3rb> why they can't just host with me i do not know!
1500: [19:50:00] <r3v3rb> tried bypassing by uploading all correct files etc and boom Error 500 Internal Server
1501: [19:50:00] <dospuntocero> cant they just change to another italian server?
1502: [19:50:00] <dospuntocero> LMAO.
1503: [19:51:00] <dospuntocero> or something simliar
1504: [19:51:00] <r3v3rb> its not like I am even expensive - their hosting cost more than mine
1505: [19:51:00] <dospuntocero> or awfully cheap?
1506: [19:51:00] <dospuntocero> is it yours free?
1507: [19:51:00] <dospuntocero> then offer the first year free.
1508: [19:52:00] <Nemitz> r3v3rb: can it be something with the rewrite path in .htaccess?
1509: [19:52:00] <r3v3rb> well I have the default .htaccess but it bails
1510: [19:52:00] <r3v3rb> its already been on there 6 months whilst they fannyed about uploading all their content!
1511: [19:53:00] <r3v3rb> the host is weird for a start
1512: [19:53:00] <r3v3rb> Nemitz: what might you suggest...
1513: [19:54:00] <Nemitz> Ok, don't know, i juts had problems with server not doing anything, also on my localhost on mac, an i added: RewriteBase /~tn/developer/somesite.com
1514: [19:54:00] <r3v3rb> root -> domainname_as_folder_for_public_html -> files
1515: [19:55:00] <Nemitz> hate it when customers wan't to host on some sh.. server, so much problems
1516: [19:57:00] <r3v3rb> quatro de julio de 2012
1517: [19:57:00] <dospuntocero> damn... i cant put the date in spanish..
1518: [19:57:00] <dospuntocero> r3v3rb: close
1519: [19:57:00] <r3v3rb> ;)
1520: [19:57:00] <dospuntocero> :C
1521: [19:58:00] <dospuntocero> well i just need to return julio
1522: [19:58:00] <dospuntocero> LMAO
1523: [19:58:00] <r3v3rb> sorry my Galician wife would beat me for that
1524: [19:58:00] <dospuntocero> hehe
1525: [19:58:00] <dospuntocero> yeah.
1526: [19:58:00] <r3v3rb> cuatro
1527: [19:58:00] <dospuntocero> LMAO
1528: [19:59:00] <dospuntocero> return date('M', strtotime($this->Date)); returns Jun
1529: [19:59:00] <dospuntocero> yes Nemitz
1530: [19:59:00] <dospuntocero> haha
1531: [19:59:00] <Nemitz> dospuntocero: is the field defined as date?
1532: [19:59:00] <r3v3rb> only one wife thank the lord above!
1533: [19:59:00] <dospuntocero> that is almost ok..
1534: [19:59:00] <dospuntocero> that returns Apr
1535: [19:59:00] <dospuntocero> return date('M', strtotime($this->Date));
1536: [19:59:00] <dospuntocero> and how many wifes you have?
1537: [20:00:00] <dospuntocero> i18n::set_locale('es_ES');
1538: [20:00:00] <r3v3rb> pah!
1539: [20:00:00] <dospuntocero> and setlocale(LC_ALL, 'es_ES');
1540: [20:00:00] <dospuntocero> also
1541: [20:00:00] <dospuntocero> but no luck.
1542: [20:00:00] <r3v3rb> but isnt date(… just a php function
1543: [20:00:00] <dospuntocero> and i need Abr
1544: [20:00:00] <dospuntocero> i have this in my config
1545: [20:00:00] <r3v3rb> dospuntocero: change the default locale
1546: [20:01:00] <dospuntocero> because i just needed that for an article module im working on
1547: [20:01:00] <r3v3rb> etc etc
1548: [20:01:00] <r3v3rb> see if when passing the international date it gets transmogrified to es_ES
1549: [20:01:00] <r3v3rb> nothing to do with SS
1550: [20:01:00] <r3v3rb> $date = new Date();
1551: [20:01:00] <dospuntocero> http://doc.silverstripe.org/framework/en/trunk/howto/grouping-dataobjectsets
1552: [20:01:00] <dospuntocero> yes
1553: [20:01:00] <dospuntocero> im following this example
1554: [20:02:00] <dospuntocero> how can i know that?
1555: [20:03:00] <r3v3rb> dospuntocero: you could always bash this in there http://snipplr.com/view/3644/
1556: [20:03:00] <Nemitz> i18n::set_locale('da_DK');
1557: [20:04:00] <r3v3rb> not seen LC_TIME before
1558: [20:04:00] <Nemitz> setlocale (LC_TIME, "da_DK.UTF-8");
1559: [20:04:00] <r3v3rb> good to know Nemitz
1560: [20:04:00] <r3v3rb> ;)
1561: [20:04:00] <Nemitz> ofcourse not da_DK :-)
1562: [20:04:00] <Nemitz> that's what you need in config
1563: [20:04:00] <Nemitz> setlocale(LC_ALL, 'da_DK');
1564: [20:05:00] <r3v3rb> i'll shove it in this fooken Italian site - if it ever runs
1565: [20:05:00] <dospuntocero> yes but that is scary...
1566: [20:06:00] <dospuntocero> i18n::set_locale('es_ES');
1567: [20:06:00] <dospuntocero> setlocale(LC_ALL, 'es_ES');
1568: [20:06:00] <r3v3rb> this site is hosted as 'www.twpwines.com'
1569: [20:06:00] <Nemitz> well, i just have that in one site where i had to work with dates, remember having big problems also, but with that in config, i can do $StartDate.Nice
1570: [20:06:00] <r3v3rb> sheesh, got to love webmasters!
1571: [20:06:00] <dospuntocero> // Set the site locale
1572: [20:06:00] <dospuntocero> lctime is not working either... :C
1573: [20:06:00] <dospuntocero> setlocale(LC_TIME, 'es_ES');
1574: [20:07:00] <r3v3rb> place index.html in there - runs
1575: [20:07:00] <r3v3rb> place SS in there - fail
1576: [20:07:00] <r3v3rb> '/ root directory on ftp shows 3 folders
1577: [20:07:00] <r3v3rb> one being www.twpwines.com
1578: [20:08:00] <dospuntocero> easy then. just export the site in plain html
1579: [20:08:00] <r3v3rb> so error log shows this:
1580: [20:08:00] <r3v3rb> nice
1581: [20:08:00] <dospuntocero> haha
1582: [20:08:00] <dospuntocero> is it even running php?
1583: [20:08:00] <r3v3rb> '/web/htdocs/twpwines.com/home/
1584: [20:08:00] <r3v3rb> yeh phpinfo() works and return 5.3.1 or something
1585: [20:08:00] <r3v3rb> [Wed Jul 04 21:42:10 2012] [error] [client 88.108.174.191] File does not exist: /web/htdocs/www.twpwines.com/home/$ThemeDir, referer: http://www.twpwines.com/
1586: [20:09:00] * r3v3rb is going to delete everything again
1587: [20:09:00] <r3v3rb> start over
1588: [20:10:00] <r3v3rb> I wonder if my redirect for Rewritebase should be /twpwines.com/home/
1589: [20:11:00] <r3v3rb> hmmm
1590: [20:12:00] * dospuntocero stress level up... FormatI18N lost
1591: [20:15:00] <Nemitz> maybe this is relevant regarding dates: http://mikenovember.com/blog/why-your-dates-in-silverstripe-pages-never-show-up-as-expected/
1592: [20:16:00] <dospuntocero> no luck.. :(
1593: [20:17:00] <dospuntocero> lol
1594: [20:17:00] <dospuntocero> returns es_ES
1595: [20:17:00] <dospuntocero> Debug::show($member->Locale);
1596: [20:18:00] <r3v3rb> i think you will win the stress game tonight dospuntocero
1597: [20:18:00] <Nemitz> crap, ok i have to go - work early in the morning. Good luck with the problems guys
1598: [20:18:00] <dospuntocero> xD!!!!
1599: [20:18:00] <dospuntocero> but the damned date still returns in english
1600: [20:18:00] * Nemitz quit (Quit: Nemitz)
1601: [20:23:00] <irogue> Passengers: no buses 9-2 due to industrial action. Drivers: get to bar early for good seat of strippers, I mean "union delegates" -- AuckTransport
1602: [20:27:00] * chillu quit (Quit: chillu)
1603: [20:30:00] * dospuntocero damned locales.... :(
1604: [20:32:00] * vbeing has joined #silverstripe
1605: [20:34:00] * dospuntocero quit (Read error: Connection reset by peer)
1606: [20:34:00] * dospuntocero has joined #silverstripe
1607: [20:40:00] <irogue> damned IE9
1608: [20:40:00] <FrozenFire> Pyromanik||, http://try.github.com/levels/1/challenges/1 This may interest you
1609: [20:43:00] <irogue> i like IE9 cos i don't have to test my sites in it anymore, they tend to just work
1610: [20:43:00] <Pyromanik||> oh yeah FrozenFire
1611: [20:43:00] <Pyromanik||> maybe
1612: [20:43:00] <ss23> irogue: BET YUO MISS IE6 NOW
1613: [20:43:00] <ss23> Wait...
1614: [20:43:00] <irogue> no, thats goign too far :P
1615: [20:43:00] <Pyromanik||> LOLSIF
1616: [20:43:00] <Pyromanik||> what's wrong with IE9?
1617: [20:44:00] <Pyromanik||> FrozenFire: I see a big white screen... is that normal?
1618: [20:44:00] <irogue> but for some reason it breaks on 50% of router/switch/firewall etc Web UIs, where IE8, FF and Chrome all work fine
1619: [20:44:00] <Pyromanik||> apart from the fact that it carries the same bugs as 7 & 8 when it comes to the 2.4 cms?
1620: [20:45:00] <ss23> IE9 -- Still not HTML5
1621: [20:45:00] <irogue> Pyromanik||: thats not what i see!
1622: [20:45:00] <Pyromanik||> irogue: yeah. It fixed a hell of a lot of render bugs. All g. But some JS ones still exist, along with shit like that.
1623: [20:45:00] <Pyromanik||> irogue: hmm, maybe it's because I'm in opera
1624: [20:45:00] <Pyromanik||> ss23: don't say that around MS too loud, they advocate it's awesome HTML5yness
1625: [20:46:00] <FrozenFire> Pyromanik||, Probably not normal
1626: [20:46:00] <Pyromanik||> well site works in ff
1627: [20:46:00] <Pyromanik||> hmm
1628: [20:46:00] <irogue> yeah, my first question now when someone calls and says "i can't log into my router!" is "are you using IE9?"
1629: [20:47:00] <Pyromanik||> haha, irogue. Wondered why my mouse felt sluggish this morning
1630: [20:47:00] <ss23> irogue: Do you guys end up chucking out any working products
1631: [20:47:00] <FrozenFire> Pop-up blocker, javascript blocker, etc?
1632: [20:47:00] <Pyromanik||> after I whitelist cloudfront with noscript
1633: [20:47:00] <Pyromanik||> FrozenFire: not in opera
1634: [20:48:00] <ss23> irogue: Thats cool too! How much non working stuff, and do you know why not working? Like, if I took all the non working stuff, I could fix right? :D
1635: [20:48:00] <Pyromanik||> lifted it up, wet as fuck. Ran it through a puddle on my desk, lol..
1636: [20:48:00] <ss23> ew, Pyromanik|| ;_;
1637: [20:48:00] <irogue> ss23: nah, but lots of non-working ones!
1638: [20:48:00] <ss23> lol
1639: [20:48:00] <irogue> FrozenFire: presumably cos its actually made by codeschool not github
1640: [20:48:00] <FrozenFire> Hah, funny thing is, apparently this thing isn't open-sourced on github
1641: [20:49:00] <ss23> Well, if you have more than one thing of the same product, that would be best, so I could just like, try mix it all up etc :D
1642: [20:49:00] <Pyromanik||> lol
1643: [20:49:00] <irogue> ss23: lol, probably. i'll have to find out what we've got around
1644: [20:49:00] <ss23> "what if I use this thing with this thing? :O"
1645: [20:49:00] <Pyromanik||> gitstatus still works apparently
1646: [20:49:00] <ss23> I have a soldering iron, an IRC network that deals with electronics, and some spare time
1647: [20:50:00] <Pyromanik||> ss23: it really depends on what's wrong with it
1648: [20:50:00] <ss23> lol
1649: [20:50:00] <Pyromanik||> and how fine the point on your soldering iron is
1650: [20:50:00] <ss23> Yeah, true that
1651: [20:50:00] <Pyromanik||> and how steady your hand is
1652: [20:50:00] <ss23> My soldering iron is crap
1653: [20:50:00] <Pyromanik||> along with how good your solder skills are
1654: [20:51:00] <irogue> yeah, the type of stuff we sell will all be very finely soldered
1655: [20:51:00] <ss23> ;_;
1656: [20:51:00] <ss23> Yeah I know the type, irogue :<
1657: [20:51:00] <Pyromanik||> yeh, true
1658: [20:51:00] <FrozenFire> The worst is trying to use a manual solder sucker
1659: [20:51:00] <ss23> :<
1660: [20:51:00] <ss23> BLARUGH
1661: [20:51:00] <ss23> I try
1662: [20:51:00] <ss23> "and just drag along here etc"
1663: [20:51:00] <ss23> They make it so easy
1664: [20:51:00] <ss23> Watched a bunch of soldering videos on Youtube once
1665: [20:51:00] <ss23> But hey, not like I have anything to lose?
1666: [20:51:00] <ss23> :D
1667: [20:52:00] <FrozenFire> I was trying to replace a module in a plasma TV, and I absolutely could not, due to the way it was mounted on the board.
1668: [20:52:00] <ss23> Getting my mother to bring some broken walkie talkies so I can try scavange some RC stuff to put in my RC car project o/
1669: [20:52:00] <FrozenFire> It was a 20-pin through-hole, with each pin soldered heavily to the board
1670: [20:53:00] <ss23> lol Pyromanik||
1671: [20:53:00] <Pyromanik||> (sic)
1672: [20:53:00] <FrozenFire> I spent days with desoldering wire, a solder sucker, and a bunch of lead solder
1673: [20:53:00] <Pyromanik||> git log
1674: [20:53:00] <Pyromanik||> git log gives out "Added all the octocat txt files"
1675: [20:53:00] <ss23> rm -rf /
1676: [20:53:00] <Pyromanik||> LOL this code school shit is fucking hilarious
1677: [20:53:00] <Pyromanik||> git commit -m "penis
1678: [20:54:00] <Pyromanik||> it wants me to make a github account
1679: [20:54:00] <Pyromanik||> this is retarded.
1680: [20:54:00] <Pyromanik||> I know how to do the easy shit.
1681: [20:54:00] <ss23> tbh should just include jslinux and give us a real enviroment!
1682: [20:54:00] <Pyromanik||> I DIDN"T KNOW THAT WAS A SYNONYM FOR PENIS
1683: [20:54:00] <FrozenFire> Heh. Of course it's not an actual environment
1684: [20:54:00] <ss23> -no-preserve-root
1685: [20:54:00] <FrozenFire> Out of habit, I used git add -A
1686: [20:54:00] <Pyromanik||> I used *
1687: [20:54:00] <FrozenFire> Oddly, it gave me an interesting error
1688: [20:54:00] <Pyromanik||> urgh
1689: [20:55:00] <Pyromanik||> I was just a bit confused as to how to deal with a conflict, since up until recently I was the sole dev.
1690: [20:55:00] <Pyromanik||> on the projects I had in a repo
1691: [20:55:00] <FrozenFire> ss23, Hah, good luck getting git working on that :P
1692: [20:55:00] <ss23> skip to a higher level, Pyromanik||?
1693: [20:56:00] <Pyromanik||> even a monkey can figure out git commit.
1694: [20:56:00] <FrozenFire> Yeah, it obviously suffers for tutorialitis.
1695: [20:56:00] <FrozenFire> from**
1696: [20:56:00] <Pyromanik||> http://try.github.com/levels/2/challenges/1 "the page you're looking for doesn't exist"
1697: [20:56:00] <Pyromanik||> yeah, it's a heap of shit.
1698: [20:57:00] <FrozenFire> I've been doing all of his version control for him :P
1699: [20:57:00] <FrozenFire> My boss can't
1700: [20:57:00] <Pyromanik||> along with add & status
1701: [20:57:00] <Pyromanik||> FrozenFire: probably because he's too used to svn.
1702: [20:57:00] <FrozenFire> He's the designer on the team, and he's completely confused by version control
1703: [20:57:00] <Pyromanik||> this add business sent me out for a little bit.
1704: [20:57:00] <FrozenFire> git commit -a -m "DeSoto's shit"
1705: [20:58:00] <FrozenFire> Designer/front-end dev
1706: [20:58:00] <Pyromanik||> FrozenFire: well yeah. Version control doesn't make all that much sense for pictures.
1707: [20:58:00] <Pyromanik||> although it does have the advantage of logging it in a nice fashion, but otherwise it's just complete copies of the file
1708: [20:58:00] <FrozenFire> He does the HTML/CSS work
1709: [21:00:00] <Pyromanik||> no ss3 for me :<
1710: [21:00:00] <Pyromanik||> urgh f-balls
1711: [21:00:00] <Pyromanik||> php 5.2
1712: [21:01:00] <FrozenFire> Interesting, your mentioning binary files had me doing some digging on ways to manage large binary files in git. I found this: http://git-annex.branchable.com/
1713: [21:02:00] <FrozenFire> I think using that, you could feasibly configure your assets as git remote on an S3 bucket
1714: [21:02:00] <FrozenFire> (Not SS's type of assets, but rather your theme images or something)
1715: [21:10:00] * willr has joined #silverstripe
1716: [21:13:00] * UndefinedOffset quit (Quit: Leaving.)
1717: [21:14:00] * gelignite quit (Quit: http://bit.ly/nkczDT)
1718: [21:21:00] * Ryoken|0D is now known as Ryoken|Desktop
1719: [21:21:00] * Ryoken|0D has joined #silverstripe
1720: [21:21:00] * Ryoken|Desktop quit (Disconnected by services)
1721: [21:24:00] * vbeing quit (Quit: Page closed)
1722: [21:42:00] <Pyromanik||> how to .deb repository?
1723: [22:01:00] * dospuntocero quit (Remote host closed the connection)
1724: [22:03:00] <irogue> *install
1725: [22:03:00] <irogue> /etc/apt/sources.list iirc
1726: [22:03:00] <ss23> looks about right
1727: [22:03:00] <ss23> vim /etc/something.sources
1728: [22:03:00] <irogue> Pyromanik||: add a repo to apt, or instakk a .deb file?
1729: [22:04:00] <irogue> yup
1730: [22:04:00] <irogue> tested!
1731: [22:10:00] <Pyromanik||> yeah
1732: [22:10:00] <Pyromanik||> I know
1733: [22:10:00] <Pyromanik||> but
1734: [22:11:00] <Pyromanik||> http://archives.dotdeb.org/dists/lenny/
1735: [22:11:00] <Pyromanik||> Is NOT a repository :(
1736: [22:11:00] <ss23> dude
1737: [22:11:00] <ss23> Don't they give instructions?
1738: [22:11:00] <ss23> http://www.dotdeb.org/instructions/
1739: [22:11:00] <ss23> Pyromanik||: ^^
1740: [22:11:00] <Pyromanik||> ss23: derp less please.
1741: [22:12:00] <ss23> I'm so confused
1742: [22:12:00] <Pyromanik||> it's just a list of .deb files.
1743: [22:12:00] <Pyromanik||> it cannot be used as a repo.
1744: [22:12:00] <Pyromanik||> no repo info contained within archive list.
1745: [22:12:00] <ss23> ;_;
1746: [22:12:00] <Pyromanik||> IS NOT A REPOSITORY
1747: [22:13:00] <irogue> iirc they do dependency checks but no auto resolving
1748: [22:13:00] <Pyromanik||> ?
1749: [22:13:00] <Pyromanik||> which leads me to my next question... do deb packages still do dependency checks if attempted to manually install>
1750: [22:14:00] <Pyromanik||> ss23: W: Failed to fetch http://archives.dotdeb.org/dists/lenny/all/binary-amd64/Packages 404 Not Found [IP: 88.190.17.153 80]
1751: [22:14:00] <Pyromanik||> man I so can't be f'd with manually installing packages
1752: [22:14:00] <Pyromanik||> irogue: yeh
1753: [22:14:00] <Pyromanik||> only option for ss3 :(
1754: [22:14:00] <Pyromanik||> HAPPY!?
1755: [22:14:00] <Pyromanik||> but...
1756: [22:15:00] <Pyromanik||> irogue: IKR
1757: [22:15:00] <ss23> NU UH
1758: [22:15:00] <irogue> Y U LENNY
1759: [22:16:00] <Pyromanik||> system up and running in as long as it took for me to l2nginx
1760: [22:16:00] <Pyromanik||> SO MUCH WINNING
1761: [22:16:00] <Pyromanik||> recently set up a vps with arch for a mate
1762: [22:16:00] <Pyromanik||> more importantly, why can't I arch :<
1763: [22:17:00] <Pyromanik||> time for a drink
1764: [22:18:00] <Pyromanik||> irogue: nuh uh
1765: [22:18:00] <irogue> would be like that with debian too if you didnt use fuckin old versions :P
1766: [22:18:00] <ss23> lol
1767: [22:18:00] <Pyromanik||> god I wish that meant a 'strong' drink, but i'll probably just be tea.
1768: [22:19:00] <irogue> :P
1769: [22:19:00] <irogue> aptitude install php5-fpm php5-gd nginx
1770: [22:19:00] <irogue> DONE
1771: [22:20:00] <ss23> irogue is so hipster he doesn't even like GIRLS
1772: [22:20:00] <ss23> wow hipster
1773: [22:20:00] <ss23> apt-get install apache-php
1774: [22:20:00] <irogue> im too hipster for apache
1775: [22:21:00] <irogue> lies
1776: [22:21:00] <irogue> hipsters are all bi
1777: [22:30:00] * howardgrigg quit (Ping timeout: 240 seconds)
1778: [22:32:00] * r3v3rb quit (Quit: r3v3rb)
1779: [22:38:00] <Pyromanik||> no
1780: [22:38:00] <Pyromanik||> no
1781: [22:38:00] * howardgrigg has joined #silverstripe
1782: [22:38:00] <Pyromanik||> no
1783: [22:39:00] <Pyromanik||> pacman -S nginx mariadb php-fpm php-gd
1784: [22:39:00] <Pyromanik||> hipsters are all over the rails
1785: [22:39:00] <Pyromanik||> no even
1786: [22:39:00] <Pyromanik||> psh
1787: [22:39:00] <ss23> I'm surprised you're not using django
1788: [22:39:00] <ss23> mega hipster
1789: [22:39:00] <ss23> mariadb too
1790: [22:39:00] <ss23> yes!
1791: [22:40:00] <ss23> lol
1792: [22:40:00] <Pyromanik||> they love getting railed
1793: [22:40:00] * howardgrigg quit (Client Quit)
1794: [22:40:00] <Pyromanik||> by ruby
1795: [22:40:00] <Pyromanik||> it's so non-conformist
1796: [22:40:00] <Pyromanik||> GOSH
1797: [22:53:00] <Pyromanik||> ah, show
1798: [22:53:00] <Pyromanik||> irogue: how to get package info from apt?
1799: [23:04:00] * dospuntocero has joined #silverstripe
1800: [23:05:00] * lenix- has joined #silverstripe
1801: [23:05:00] * Zauberfisch_ has joined #silverstripe
1802: [23:06:00] * lenix quit (Read error: Connection reset by peer)
1803: [23:08:00] * Zauberfisch quit (Ping timeout: 264 seconds)
1804: [23:17:00] * SticksM has joined #silverstripe
1805: [23:38:00] * Arno quit (Quit: Instantbird 1.1)
1806: [23:51:00] <CIA-12> silverstripe: Sam Minnee silverstripe-installer/demo-site * r1dfc722 / dependent-modules.default : Added frameworktest to demo site (+16 more commits...) - http://git.io/TvJF2g
1807: [23:56:00] <CIA-12> silverstripe: Sam Minnee silverstripe-installer/demo-site * r4c00b45 / tools/deploy-demo-site : Added demo site deploy script - http://git.io/MzONTw
1808: [23:56:00] <CIA-12> silverstripe: Sam Minnee silverstripe-installer/demo-site * raeb279b / .gitignore : Ignore git subcheckouts - http://git.io/pgVo0Q
1809: [23:57:00] <Pyromanik||> omg
1810: [23:57:00] <Pyromanik||> just came across a site
1811: [23:58:00] <Pyromanik||> anyone running an adblocker cannot log in.
1812: [23:58:00] <Pyromanik||> GW CHAPS
1813: [23:58:00] <Pyromanik||> customer login form is inside a div id'd as "AdArea"
1814: [23:58:00] <spronk> lool

Logging sponsored by you? Get in touch!

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