#silverstripe IRC Log

IRC log for 2 September 2013

All timestamps are in UTC.

1: [00:14:03] * spronk has joined #silverstripe
2: [00:14:38] <simon_w> chillu, you may want to do a clean pull on add-ons. I'm getting duplicate versions showing up.
3: [00:16:16] <chillu> simon_w: URL?
4: [00:17:03] <chillu> meh, just kicked off a clear=1 anyway
5: [00:18:05] <simon_w> Was http://addons.silverstripe.org/add-ons/simonwelsh/gridfieldrelationhandler and http://addons.silverstripe.org/add-ons/simonwelsh/hasoneedit
6: [00:20:04] * UncleCheese quit (Quit: UncleCheese)
7: [00:21:17] <simon_w> Hmm, did actually make it look a little like it always pulled in versions. Will check again later
8: [00:21:57] <chillu> Sweet, i'm off to bed! See ya!
9: [00:21:59] * chillu quit (Quit: chillu)
10: [00:23:29] * UncleCheese has joined #silverstripe
11: [00:28:21] * meow-- quit (Ping timeout: 245 seconds)
12: [00:28:54] * meow-- has joined #silverstripe
13: [00:29:15] * Jedateach has joined #silverstripe
14: [00:38:25] * UncleCheese quit (Quit: UncleCheese)
15: [00:44:42] * meow--- has joined #silverstripe
16: [00:46:50] * meow-- quit (Ping timeout: 256 seconds)
17: [00:49:56] <ss23> simon_w: Did you want lunch today/
18: [00:50:41] <simon_w> Has there been a day when I don't want lunch?
19: [00:50:47] <ss23> YES
20: [00:50:49] <ss23> Sometimes you're all
21: [00:50:53] <ss23> "GETTING LUNCH AT WORK"
22: [00:51:09] <simon_w> But I'm still having lunch
23: [00:51:13] <ss23> :<
24: [00:51:15] <ss23> You know what I mean, simon_w
25: [00:52:03] <simon_w> But pedantry is more fun!
26: [00:52:18] * ajmitch quit (Ping timeout: 264 seconds)
27: [00:53:01] * ajmitch has joined #silverstripe
28: [00:54:15] <ss23> simon_w: did you wanna get lunch...
29: [00:54:16] * ss23 blushes
30: [00:54:17] <ss23> With me?
31: [00:54:28] <simon_w> There we go!
32: [00:54:32] <simon_w> Might as well
33: [00:54:58] <ss23> :D
34: [00:55:07] <ss23> Do you have an ETA? ^.^
35: [00:58:38] <simon_w> Hmm, now-ish?
36: [00:59:19] <ss23> simon_w: Sounds good :D
37: [00:59:21] <simon_w> ss23, 5 minutes
38: [00:59:30] <ss23> schweeeeet
39: [01:02:13] * howardgrigg has joined #silverstripe
40: [01:03:35] * nickmolhoek quit (Ping timeout: 240 seconds)
41: [01:06:28] * howardgrigg quit (Ping timeout: 246 seconds)
42: [01:08:45] * Bollig|DesignCty has joined #silverstripe
43: [01:23:09] * UncleCheese has joined #silverstripe
44: [01:33:23] * Jedateach has left #silverstripe
45: [01:46:23] * meow--- quit (Remote host closed the connection)
46: [01:46:34] * meow-- has joined #silverstripe
47: [01:59:23] * meow--- has joined #silverstripe
48: [02:01:16] * meow-- quit (Ping timeout: 245 seconds)
49: [02:05:48] * Stomach quit (Quit: Leaving.)
50: [02:13:09] * Stomach has joined #silverstripe
51: [02:13:30] <DesignerX> wmk: Hi, I tried Phone instead of name with no luck, I still cant save objects .. The problems extends to saving pages 7 accessing many sections of the CMS ! I started a Topic at http://www.silverstripe.org/general-questions/show/24939 with a list of problems i'm having & more details
52: [02:15:14] * nickmolhoek has joined #silverstripe
53: [02:15:15] * nickmolhoek quit (Remote host closed the connection)
54: [02:15:29] * nickmolhoek has joined #silverstripe
55: [02:28:11] * Colin[pi] has joined #silverstripe
56: [02:28:34] <Colin[pi]> good afternoon folks
57: [02:29:43] <atmos> guten... argen?
58: [02:30:13] <Colin[pi]> close enough
59: [02:31:09] <Colin[pi]> just asked a client for their source logo file to mess around with in a new design... client saves the gif from their existing site and emails it >_<
60: [02:31:55] <ss23> hahaha Colin[pi] XD
61: [02:32:02] <Colin[pi]> sigh
62: [02:45:29] * Stomach quit (Quit: Leaving.)
63: [02:46:38] * swordsmanz quit (Quit: swordsmanz)
64: [02:50:55] <simon_w> Don't worry Colin[pi]! Come Saturday, that's all that'll be able to fit through the NBN :p
65: [02:56:19] <Colin[pi]> fffffuuuuuuuuu abbott
66: [02:57:10] * Stomach has joined #silverstripe
67: [02:57:24] <simon_w> Haha, good response
68: [02:58:43] <Colin[pi]> what I find so stupid, is that we'll have some people with the good NBN, and some with the shitty one
69: [02:59:10] <Colin[pi]> can't our two parties just agree together on one thing just to finish something that was started with some consistency?
70: [03:00:04] <ss23> The urge to rewrite certain pages to not use SilverStripe is so strong
71: [03:00:22] <ss23> Like... this page gets hit so often that it would be such a quick gain
72: [03:00:22] <ss23> ;_;
73: [03:02:01] <ss23> On a scale of "omg good idea" to "wtf that's as stupid as writing a browesr in Javascript", how bad of an idea of it would it be to add a RandomClass::atomic_add_one() { Query::query('update table ' . __CLASS__ . ' SET count = count + 1 WHERE ID = ' . $this->id); } stle?
74: [03:02:13] <ss23> That is, instead of a getbyid + read + write, do this?
75: [03:02:22] <ss23> It's already non atomic, so the stats are kind of fucked
76: [03:02:40] * howardgrigg has joined #silverstripe
77: [03:05:31] <simon_w> Hmm, not sure if the way that add ons is working now is better or worse than not having it pull in anything new...
78: [03:06:21] <simon_w> Check out all my versions! http://addons.silverstripe.org/add-ons/simonwelsh/gridfieldrelationhandler
79: [03:07:03] * atmos quit (Quit: Page closed)
80: [03:07:26] * howardgrigg quit (Ping timeout: 264 seconds)
81: [03:15:01] * drama quit (Ping timeout: 250 seconds)
82: [03:21:32] <Colin[pi]> does someone here have an android phone?
83: [03:22:59] * meow-- has joined #silverstripe
84: [03:23:30] * meow--- quit (Ping timeout: 264 seconds)
85: [03:34:21] <simon_w> Yes
86: [03:38:34] * cloph has joined #silverstripe
87: [03:38:38] * cloph_away quit (Ping timeout: 240 seconds)
88: [03:39:08] * aznain has joined #silverstripe
89: [03:40:11] <aznain> SS 2.4, When I try to open project, I am getting this error "[Warning] fopen(C:\wamp\www\azeem\sapphire\core\control/../../../logs/mem.log): failed to open stream: No such file or directory"
90: [03:42:21] <simon_w> Well, is there a logs folder in azeem?
91: [03:44:51] <aznain> Apprently no
92: [03:45:05] <aznain> I searched for logs folder but could not find ...
93: [03:45:35] <ss23> 7 seconds to generate a 404 page with this site
94: [03:45:36] <ss23> :<
95: [03:45:40] <ss23> I think more optimization is needed!
96: [03:45:53] <simon_w> ss23, like a static copy? :p
97: [03:46:40] <aznain> :). What should i do ?
98: [03:47:21] <aznain> Initially that project is using MSSQL but I changed it to used MySQL ... Can be that reason ?
99: [03:47:41] * Stomach quit (Quit: Leaving.)
100: [03:47:43] <simon_w> aznain, find the part of your code that's referencing that path and change it to one that exists?
101: [03:48:44] * Jayden90 quit (Quit: Jayden90)
102: [03:49:06] <aznain> simon_w: ok let me ..Can i get more detailed error ?
103: [03:49:52] <simon_w> Like, the call stack it provides you?
104: [03:51:24] <aznain> [Warning] fopen(C:\wamp\www\azeem\sapphire\core\control/../../../logs/mem.log): failed to open stream: No such file or directory GET /admin Line 152 in C:\wamp\www\azeem\sapphire\core\control\Director.php Source 143 144 // ?debug_memory=1 will output the number of bytes of memory used for this request 145 if(isset($_REQUEST['debug_memory']) && $_REQUEST['debug_memory']) { 146 Debug::message(sprintf( 147 "Peak
105: [03:55:51] <ss23> simon_w: Can't static copy of 404 page!
106: [03:56:01] <simon_w> ss23, why not?
107: [03:59:58] <ss23> simon_w: Needs to hit DB to tell if it's 404!
108: [04:00:16] <ss23> Unless you meant "STATIC PUBLISHER ALL THE THINGS", but doesn't work, cause needs to do a bunch of dynamic DB stuff for this site
109: [04:00:43] <simon_w> It takes 7 seconds to do two queries in SiteTree?
110: [04:00:53] <simon_w> Your server be screwed.
111: [04:00:53] <ss23> Takes 7 queries to do whatever it does
112: [04:02:17] <spronk> http://www.stuff.co.nz/oddstuff/9116168/Activists-hope-to-make-Dunedin-Cannabis-capital
113: [04:02:17] <spronk> so
114: [04:02:20] <spronk> who remembers euro trip?
115: [04:05:10] <ajmitch> for a second I thought I was in the dunedintech irc channel
116: [04:11:18] <simon_w> Screw it, home time!
117: [04:13:04] <Colin[pi]> what? it's like 9am
118: [04:13:08] <Colin[pi]> ;p
119: [04:13:29] <simon_w> Exactly! :p
120: [04:14:02] * zippy__ quit (Ping timeout: 268 seconds)
121: [04:14:06] <Colin[pi]> lol
122: [04:14:10] * Shrike_Finland quit (Quit: Leaving.)
123: [04:16:05] * Stomach has joined #silverstripe
124: [04:17:27] * openbees has joined #silverstripe
125: [04:32:35] * aznain quit (Ping timeout: 250 seconds)
126: [04:36:21] * Stomach quit (Read error: Connection reset by peer)
127: [04:36:34] * Stomach has joined #silverstripe
128: [04:37:05] * SightUnseen has joined #silverstripe
129: [04:40:27] <openbees> simon_w https://github.com/silverstripe/addons.silverstripe.org/commit/753c7b4
130: [04:51:03] * SightUnseen has left #silverstripe
131: [04:53:21] <simon_w|air> And are you able to push that and do a clean build?
132: [04:53:39] <ss23> Do you guys have access to push to the live site? :O
133: [04:53:50] * ss23 runs `write` on that server :D
134: [04:54:19] <openbees> No I can't :P
135: [04:55:32] <simon_w|air> ss23, while you're at it, start the queue processing? :p
136: [04:56:56] <ss23> Psh, Ingo is sorting it out!
137: [04:57:22] <ss23> He could give you guys access to push to it though, probably
138: [04:57:27] <ss23> Doubt he'll want to, but it's possible :D
139: [04:57:59] * simon_w|air is just QA-ing the live site! :p
140: [04:58:26] * openbees hiding
141: [04:59:17] <ss23> Man, this server hasn't been under 3 load barely all day :/
142: [04:59:37] <simon_w|air> Want to try that sentence again?
143: [04:59:53] <ss23> Man, this server has barely gone under 3 load all day :/
144: [04:59:53] <ss23> :D
145: [05:00:00] <ss23> Coherent sentences are hard!
146: [05:02:55] <ss23> oh well, real men just wait and see if it's better tomorrow
147: [05:03:04] <Colin[pi]> Has anyone really been far even as decided to use even go want to do look more like?
148: [05:03:11] <ss23> Colin[pi]: Are you kidding me?
149: [05:03:31] <Colin[pi]> your sentence reminded me of it
150: [05:03:33] <ss23> Colin[pi]: I've been far even as you want to do more like more like go even want
151: [05:03:36] <ss23> Colin[pi]: It's just common sense.
152: [05:03:36] <Colin[pi]> lol
153: [05:03:46] <Colin[pi]> lol
154: [05:03:58] * nickmolhoek quit (Quit: nickmolhoek)
155: [05:03:58] <ss23> woohoo, pushing 5.5 now!
156: [05:04:02] <ss23> Can I get to 10 again :D
157: [05:04:21] <ss23> psh, back to 5.3, come on!
158: [05:04:22] <ss23> :<
159: [05:04:25] <ss23> I need my fix of high load!
160: [05:05:05] <ss23> woohoo, 6.2!
161: [05:05:07] <ss23> OH MAN 6.8
162: [05:05:09] <ss23> :D
163: [05:05:12] * ss23 claps
164: [05:05:15] <ss23> 7.3!
165: [05:05:19] <ss23> 7.7!
166: [05:05:22] * coldblooded01 quit (Quit: coldblooded01)
167: [05:05:42] <ss23> aw, on its way back down, peaked at 7.9 or so :<
168: [05:05:52] <spronk> o_O
169: [05:05:55] <spronk> wtf are you doing
170: [05:06:00] <spronk> measuring the size of your friend's dick?
171: [05:06:02] <ss23> haha
172: [05:06:13] <ss23> spronk: Close, except my friend is a server, and his dick is his load average
173: [05:06:16] <ss23> :D
174: [05:06:25] <spronk> "I'll measure your load average. ;D"
175: [05:06:29] * DigNZ quit (Quit: DigNZ)
176: [05:06:29] <ss23> XD
177: [05:06:40] <ss23> "oh god, when I touch it, the load gets bigger~"
178: [05:06:56] <openbees> :D
179: [05:06:59] <ss23> "I'm going to `finger` it and see if it gets any bigger"
180: [05:07:05] <ss23> hmm
181: [05:07:08] <ss23> I'm using postgresql
182: [05:07:15] <ss23> I wonder if I should do that thing that does the stuff that makes it faster too
183: [05:10:03] <ss23> Okay, it's on its way up again :D
184: [05:11:03] <ss23> ouch, DB is taking ~20ms per query
185: [05:11:06] <ss23> This explains why slow
186: [05:14:14] * openbees quit (Ping timeout: 240 seconds)
187: [05:15:13] * willr quit (Quit: willr)
188: [05:21:06] * howardgrigg has joined #silverstripe
189: [05:26:37] * openbees has joined #silverstripe
190: [05:26:56] <ss23> SELECT DISTINCT "ClassName" FROM "Member" 65.8ms
191: [05:26:57] * ss23 cries
192: [05:30:04] <simon_w|air> Indexed column too!
193: [05:32:13] * Stomach quit (Quit: Leaving.)
194: [05:39:02] <ss23> woohoo!
195: [05:39:06] <ss23> A server at ~15 load
196: [05:39:07] <ss23> :D
197: [05:44:19] <simon_w|air> Eh, I got ours up to 70
198: [05:50:49] <ss23> Guess what server?
199: [05:50:51] <ss23> addons.silverstripe.com
200: [05:51:24] <simon_w|air> Haha
201: [05:51:37] <simon_w|air> And you mean .org, right? :p
202: [05:52:28] <ss23> yeah
203: [05:52:30] <ss23> friggin
204: [05:52:40] <ss23> someone broke it hard
205: [05:55:12] <simon_w|air> Wasn't me!
206: [05:55:53] * UncleCheese quit (Quit: UncleCheese)
207: [05:56:08] <simon_w|air> Ooh, I know!
208: [05:56:10] <simon_w|air> Blame openbees :p
209: [05:56:21] <ss23> lol
210: [05:56:26] <ss23> Sending out incident report now
211: [05:56:28] * ss23 glares
212: [05:57:10] * openbees scared and trying to hide
213: [05:58:17] <openbees> ss23 what is wrong with it btw ?
214: [05:58:55] <ss23> Not 100% sure what happened, but from a quick look, the cron task started taking longer and longer to complete, leading to it trying to run >5 at once or something, meaning ran out of ram, started swapping, and spiralled out of control from there
215: [05:59:10] <ss23> Just `killall php` and edit the cron file
216: [05:59:35] <spronk> HMM
217: [05:59:39] <spronk> my load averages are like 20%
218: [06:00:55] <spronk> this is windows though, so yknow
219: [06:00:58] <spronk> completely different metric
220: [06:01:20] <ss23> lol
221: [06:01:41] <spronk> load average of 20 on linux would be....... interesting
222: [06:01:44] <simon_w|air> Mine's currently at 3.4
223: [06:01:49] <ss23> 3.4 pretty big
224: [06:01:54] <ss23> spronk: This was over 20
225: [06:01:55] <ss23> :P
226: [06:02:02] <spronk> :|
227: [06:02:04] <spronk> jesus christ
228: [06:02:08] <spronk> how many cores on server?
229: [06:02:09] <simon_w|air> Here, I'll make it easier for you to understand
230: [06:02:11] <simon_w|air> 1.7 :p
231: [06:02:16] <simon_w|air> (and my laptop)
232: [06:02:25] <ss23> 1.7?
233: [06:02:54] <simon_w|air> Per-code load
234: [06:02:59] <simon_w|air> *core
235: [06:03:00] <ss23> idgi
236: [06:03:02] <ss23> oic
237: [06:03:03] <ss23> dude
238: [06:03:08] <spronk> ouch man
239: [06:03:08] <ss23> lol
240: [06:03:09] <spronk> that's not good
241: [06:03:21] <ss23> It's not easier to understand like that, because I was like "he made it in 2 CPU load?"
242: [06:03:26] <ss23> but 1.7 per core is pretty ouchy, yeah
243: [06:03:41] <simon_w|air> 1.7 per core on a non-server's fairly normal
244: [06:03:47] <openbees> ss23 : not sure what went wrong ... can you create an issue may be I can look it later
245: [06:03:50] <ss23> >nonserver
246: [06:03:50] <ss23> pleb
247: [06:03:51] <spronk> i dno
248: [06:03:55] <spronk> indicates to me you'd need more cpu :P
249: [06:04:02] <ss23> ^^^
250: [06:04:04] <ss23> GET MOAR CPUZ BROI
251: [06:04:17] <spronk> on my media pc, which gets a lot of use, load average is around 0.5
252: [06:04:18] <spronk> it's dual core
253: [06:04:29] <spronk> also acts as a basic fileserver for my network
254: [06:04:36] <simon_w|air> Run sudo du -sd1 / then :p
255: [06:05:18] <spronk> load average: 0.20, 1.02, 1.31 on SS webserver..
256: [06:05:24] <ss23> whats sd1 flag/
257: [06:05:31] <simon_w|air> summary, depth 1
258: [06:05:36] <simon_w|air> wait, I did -hd1
259: [06:05:38] <ss23> oic
260: [06:05:49] <simon_w|air> load averages: 0.96 1.01 0.82
261: [06:05:52] <simon_w|air> on simon_w
262: [06:05:57] <spronk> mac?
263: [06:06:08] <simon_w|air> (dual core, hyper-threaded i7)
264: [06:06:08] <simon_w|air> yes
265: [06:06:12] <spronk> mm
266: [06:06:15] <spronk> that's about what my mac gets
267: [06:06:24] <ss23> I'm checking how high the last reported load got for addons.silverstripe
268: [06:06:28] <ss23> It was over 40
269: [06:06:30] * spronk really needs a new mac..
270: [06:06:37] <ss23> ~45
271: [06:06:38] <ss23> :D
272: [06:06:39] <ss23> Not bad
273: [06:06:43] <spronk> :|
274: [06:06:49] <spronk> that's a linux load average?
275: [06:06:51] <spronk> unix*
276: [06:06:54] <ss23> Yeah, spronk
277: [06:06:58] <spronk> jesus christ
278: [06:07:04] <ss23> Believe me, getting in to even figure out wtf was going on was hard
279: [06:07:05] <ss23> :/
280: [06:07:09] <ss23> Was like "STOP APACHE"
281: [06:07:10] <ss23> *wait 5 mins*
282: [06:07:14] <ss23> fuckkkk
283: [06:07:19] <ss23> another server has shot up to ~2.5 load
284: [06:07:20] <ss23> ;_;
285: [06:07:24] * ss23 waits to see if its just a random spike
286: [06:07:57] <ss23> eh yeah, that one looks okay
287: [06:08:00] <simon_w|air> Oh, that's why it's taking so long. /Volumes/MobileBackups
288: [06:08:00] <ss23> going back down to 1.4 now
289: [06:08:06] <openbees> believe me it was not my code :D
290: [06:08:10] <ss23> hahaha openbees
291: [06:08:15] <ss23> This one probably wasn't
292: [06:08:16] <ss23> :P
293: [06:08:18] <ss23> BUT ADDONS
294: [06:08:20] <ss23> 40 LOAD!!!!!
295: [06:08:21] * travis-ci has joined #silverstripe
296: [06:08:21] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#907 (3.1 - 0a79595 : Will Rossiter): The build passed.
297: [06:08:21] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/5f0329c6f20a...0a795952b91e
298: [06:08:21] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/10881975
299: [06:08:21] * travis-ci has left #silverstripe
300: [06:08:33] <simon_w|air> ss23, wasn't it a shitton of cron jobs?
301: [06:08:42] <ss23> Probably
302: [06:08:46] <simon_w|air> Like, for the actual add ons?
303: [06:08:59] <ss23> I mean, the things running were php processes, I didn't check their parents, but there was a cron running very often
304: [06:09:08] <ss23> You guys understand the site more than me
305: [06:09:19] <ss23> Fact: There were lots of PHP proceses running, using all the CPU
306: [06:09:21] <ss23> You figure out the rest
307: [06:09:21] <ss23> :D
308: [06:09:41] <simon_w|air> Probably from the change openbees made suddenly taking a lot longer than when the crontab was set up
309: [06:09:53] <openbees> sadly I can't take a look until this weekend .. load of work :(
310: [06:10:02] <ss23> dw, get ingo to fix
311: [06:10:03] <ss23> :P
312: [06:10:14] <simon_w|air> Just change how often it runs :p
313: [06:10:15] <ss23> He works for us, if he takes our server down, he has to fix it :D
314: [06:10:19] <ss23> I did, simon_w|air
315: [06:10:21] <ss23> It now runs NEVER
316: [06:10:29] <simon_w|air> Bad choice!
317: [06:10:30] <openbees> :D
318: [06:13:42] <ss23> Damn it feels good to be a sysadmin
319: [06:13:49] <openbees> :P
320: [06:13:54] <spronk> hate sysadminwork
321: [06:14:11] <ss23> Why, it's fun?
322: [06:14:14] * ss23 takes down silverstripe.org
323: [06:14:15] <ss23> WAHAHAHAHA
324: [06:14:23] * ss23 gets hired at github and accidently takes down THE ENTIRE GITHUB
325: [06:14:24] <ss23> :D
326: [06:14:26] <ss23> FUN FUN FUN FUN
327: [06:14:30] <ss23> LOOKING FOWARD TO THE WEEKEND
328: [06:14:34] <simon_w|air> Sysadmin that doesn't understand what's running on the host. Sounds about right :p
329: [06:14:50] <spronk> indeed
330: [06:14:52] <ss23> simon_w|air: Believe me, with the other sysadmin guy here, be glad I know what MySQL is
331: [06:14:56] <ss23> :P
332: [06:15:03] <spronk> :S
333: [06:15:03] <spronk> wow
334: [06:15:04] <ss23> He seems fine as a sysadmin, but he's never been a dev
335: [06:15:10] <openbees> ss23 can you please create an issue regarding this server load problem on addons repo .. in this way it may get quick attention of ingo :D
336: [06:15:18] <ss23> openbees: Hmm
337: [06:15:20] <ss23> Now I'm torn
338: [06:15:22] <simon_w|air> Or, you know, email him
339: [06:15:31] <simon_w|air> Or wait for him to wake up and Skype him
340: [06:15:33] <ss23> Is an urgent email to his work address going to get his attention faster than an issue on github...
341: [06:15:36] <ss23> like
342: [06:15:42] <ss23> I'm actually torn, I don't know which would get him to work faster
343: [06:15:43] <ss23> :P
344: [06:16:06] <openbees> don't mention my commits though :P
345: [06:16:09] <ss23> haha
346: [06:16:34] <simon_w|air> Yaaay, missing 23 GB of space somewhere
347: [06:16:41] * simon_w|air tries a purge
348: [06:16:41] <ss23> "missing"?
349: [06:17:08] <simon_w|air> df -h says 97 GiB used. du -h / says 74.
350: [06:17:14] <ss23> lol
351: [06:17:35] <ss23> Free space is hard to define
352: [06:17:36] <ss23> :D
353: [06:17:42] <simon_w|air> Nope, wasn't just a headers thing
354: [06:18:06] <spronk> ..?
355: [06:18:33] <simon_w|air> The OS caches the headers on the drive to make things like df faster
356: [06:18:48] <spronk> yes yes
357: [06:18:52] <spronk> hmm
358: [06:19:02] <spronk> do the unix tools in osx use 1000 or 1024 these days?
359: [06:19:35] <simon_w|air> Seems to be GiB
360: [06:19:40] <ss23> Man
361: [06:19:44] <ss23> None of my work today has been billable
362: [06:19:46] <simon_w|air> Including the i
363: [06:19:52] <spronk> interesting
364: [06:20:49] <simon_w|air> Only 3 GiB of swap/sleepimage as well
365: [06:21:17] <spronk> trash?
366: [06:21:31] <ss23> trash should be counted in both of those maesures
367: [06:21:39] <simon_w|air> Also, is empty
368: [06:22:00] <ss23> I think more like,y df -h counts space used on the partition
369: [06:22:12] <ss23> That includes special files, reserved things, weird datastructures that don't give back free space etc
370: [06:22:26] <howardgrigg> openbees: it's only a couple of hours work so far but you asked too see it so... https://github.com/howardgrigg/simple-library
371: [06:22:26] <ss23> filesystem just like "NOM NOM NOM SPACE"
372: [06:23:44] * will_ has joined #silverstripe
373: [06:27:40] <simon_w|air> Ah well, back to build prisons
374: [06:30:54] <ss23> lol
375: [06:32:28] <wmk> anyone can help me with a i18nTextCollectorTask problem?
376: [06:32:29] <openbees> howardgrigg : thanks I will take a look this evening :)
377: [06:33:45] <howardgrigg> cool - it's got a way to go but if you want to build any features into it feel free :)
378: [06:34:04] <openbees> yaah sure I will !
379: [06:39:01] <will_> how can i log to file from a model method? struggling to debug my twitter feed function
380: [06:39:57] <wmk> will_, Debug::log('my message')
381: [06:48:20] * priithansen has joined #silverstripe
382: [06:48:23] * Jayden90 has joined #silverstripe
383: [07:05:27] * Shrike_Finland has joined #silverstripe
384: [07:05:40] * ARNHOE has joined #silverstripe
385: [07:09:27] * will_ quit (Ping timeout: 250 seconds)
386: [07:09:30] <Jayden90> Guys how do you create a global variable. I want to set a gridfield config in the _config.php so i can use it in any of the PHP files. Along with an array for something else.
387: [07:09:47] <Jayden90> using "global" then the variable name does not work
388: [07:21:11] <DesignerX> Jayden90: hi, are you trying to create a custom GridField config ?
389: [07:22:48] <simon_w|air> Jayden90, use a constant
390: [07:23:01] * violetina2 has joined #silverstripe
391: [07:26:20] <Jayden90> DesignerX: I have created it, and it works fine but It is not dry to copy and paste that thruought my php files
392: [07:26:36] <Jayden90> simon_w|air: Sorry for being a noob, how do you do that?
393: [07:27:02] <simon_w|air> http://php.net/constants
394: [07:27:06] * ARNHOE quit (Ping timeout: 264 seconds)
395: [07:28:34] <Jayden90> Awsome, working it now
396: [07:29:53] * Guits quit (Read error: Connection reset by peer)
397: [07:30:36] * Guits has joined #silverstripe
398: [07:30:45] * ARNHOE has joined #silverstripe
399: [07:31:14] * Guits quit (Read error: Connection reset by peer)
400: [07:34:30] <DesignerX> Jayden90: just to let you know, you can extend GridField_Config with your own class & have your own settings applied to it .
401: [07:35:40] <Jayden90> DesignerX: hmm that sounds a bit smarter
402: [07:36:33] * willr has joined #silverstripe
403: [07:36:38] * Guits has joined #silverstripe
404: [07:37:13] <DesignerX> Jayden90: thats how it "should" be done :)
405: [07:38:04] <Shrike_Finland> Hello silverstripers. Is there a good resource somewhere, how to customize own functionality buttons in SilverStripe TinyMCE-editor?
406: [07:38:07] <Jayden90> might pick this up tomorrow, time to scrurry home
407: [07:38:32] * meow-- quit ()
408: [07:38:36] <Jayden90> Shrike_Finland: You might not need to, what do you need to achieve?
409: [07:38:36] <DesignerX> Jayden90: Checkout the GridFieldConfig file , like 143 for an example
410: [07:38:54] <Jayden90> DesignerX: will do
411: [07:39:03] <DesignerX> line *
412: [07:39:54] <Shrike_Finland> Button, where you could make some lightbox stuff right away (display forms, images, html-content, etc. in lightbox)
413: [07:40:48] <wmk> Shrike_Finland, for the lightbox stuff Iv
414: [07:40:57] <wmk> I've done it with shortcodes
415: [07:41:10] <Jayden90> Shrike_Finland: ahh ok. I have not done that, although I saw a tutorial for it. it can't be achieved with the 'style_formats' tinymce option or shortcodes?
416: [07:41:22] <Shrike_Finland> wmk: Interesting…. any example.
417: [07:41:26] <Shrike_Finland> . = ?
418: [07:41:28] <DesignerX> Shrike_Finland: Hi, how do you plan to do that ? I would think creating a "shortcode" to do these things then using TinyMCE button to provide a UI for customizing & inserting that shortcode ?
419: [07:41:57] <wmk> at one project i parse html and if an image is applied a special css class, the thumbnail and bigger img is generated and frontend JS generates the fancybox
420: [07:42:01] <Shrike_Finland> DesignerX: hi! Yep, something like that would be nice.
421: [07:42:23] <Jayden90> oh, I thought you wanted the lightbox in the
422: [07:42:26] <Jayden90> CMS lol
423: [07:42:41] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
424: [07:42:42] <wmk> well, for shortcodes i had to put the image into an gallery, in my case has_one to the page
425: [07:43:26] * Jayden90 quit (Quit: Jayden90)
426: [07:47:57] * chillu has joined #silverstripe
427: [07:59:20] * kinglozzer has joined #silverstripe
428: [08:05:44] * ARNHOE_ has joined #silverstripe
429: [08:08:53] * ARNHOE quit (Ping timeout: 245 seconds)
430: [08:11:23] * nickspiel quit (Ping timeout: 260 seconds)
431: [08:31:07] * violetina2 quit (Remote host closed the connection)
432: [08:35:46] <Zauberfisch> chillu: foo/bar in composer is vendor/module-name
433: [08:35:47] <Zauberfisch> right?
434: [08:35:58] <Zauberfisch> so if I do silverstripe/mymodule that would be wrong
435: [08:36:11] <Zauberfisch> it should be zauberfisch/mymodule and silverstripe-module as type
436: [08:36:12] <Zauberfisch> right?
437: [08:36:23] <simon_w|air> Yes
438: [08:37:05] <Zauberfisch> if it has already been submitted as silverstripe/module, can one change that?
439: [08:37:21] <simon_w|air> Yes
440: [08:37:26] <Zauberfisch> good
441: [08:39:59] <openbees> simon_w|air it reminds me about an open issue in addons site ..considering Zauberfisch case now in current addons site it will display 2 module silverstripe/module and zauberfisch/mymodule .. we have to find a way to remove such modules
442: [08:40:36] <simon_w|air> Well, if he's quick, it'll be gone when chillu does a clean rebuild
443: [08:41:21] <openbees> :P what about future .. if someone changed name or deleted a module from packagist it will still show on site
444: [08:41:50] <simon_w|air> Yes, I noticed that locally. Doesn't help that packagist does the same
445: [08:41:56] <Zauberfisch> simon_w|air: in fact, I was not asking for myself, I was asking for a module that is on github for quiet some time
446: [08:41:59] <simon_w|air> Well, if you delete the repository
447: [08:42:07] <simon_w|air> Zauberfisch, fix it!
448: [08:42:21] <Zauberfisch> I just saw it already had a comment of chillu
449: [08:42:32] <Zauberfisch> I commented on it to ensure its not forgotten
450: [08:44:32] <simon_w|air> The main thing I've noticed with the SS community modules is just how many of them aren't available to use
451: [08:45:28] <openbees> exactly .. and with this new system .. there is no way to review them like old site
452: [08:46:13] <simon_w|air> I had to give UncleCheese a script to run before he made some of his more current modules usable
453: [08:47:16] <openbees> I mean if look into some other cms like drupal or wordpress they have very strict criteria for module submission .. and it seems me valid for preventing some standard on modules
454: [08:48:28] <simon_w|air> I guess it didn't help that the original setup didn't check for a license either
455: [08:48:54] <openbees> may be chillu have something to say about this
456: [08:50:10] <openbees> it can go into future feature list but we should start considering them :)
457: [08:50:43] <simon_w|air> With Packagist as your source and Composer as your base, have fun enforcing any sort of standards :p
458: [08:51:31] <openbees> :(
459: [08:57:08] <wmk> fork packagist for silverstripe? Composer afaik can handle more sources
460: [08:58:31] <openbees> wmk : I am afraid then first I need to learn symphony :D
461: [09:00:01] <simon_w|air> You also lose the ease that composer's supposed to bring, and github tie-ins
462: [09:01:26] <simon_w|air> Oh man, one of the main SS modules can't legally be used
463: [09:01:51] <Zauberfisch> make a list of shame for module developers that don't follow standards, and then ask the community to send them hate mails
464: [09:02:13] <simon_w|air> Starting with the blog module? :p
465: [09:02:35] <Zauberfisch> and of course we could make a weekly rant podcast where we just rant and bitch about the people on the list
466: [09:04:29] <simon_w|air> Ooh, can't use sortablegridfield either
467: [09:05:16] <Zauberfisch> oh, bad indeed
468: [09:05:39] <Zauberfisch> well, you can use https://packagist.org/packages/ajshort/silverstripe-gridfieldextensions for gridfield sorting
469: [09:05:42] * openbees can't imagine a project without sortablegridfield :D
470: [09:05:59] <Zauberfisch> meh, I always use the module of ajshort
471: [09:06:01] <Zauberfisch> better
472: [09:06:13] <simon_w|air> Of the top 15 modules (two of which are only there because of travis), 4 don't have licenses allowing public use
473: [09:06:59] <simon_w|air> chillu, for SilverStripe modules, is it fine to just copy the BSD-3-Clause directly from framework?
474: [09:08:09] <openbees> simone_w|air for those 4 .. are they expecting us to pay .. after a free download :D
475: [09:08:58] <simon_w|air> openbees, for those 4, you can't legally include the code in your projects at all as you don't have a license. Instead, you break copyright.
476: [09:09:59] <Shrike_Finland> What are those 4 modules?
477: [09:10:08] <openbees> yaah ... this is what I am concerned about they should not be in module listing at first place
478: [09:11:13] <simon_w|air> blog, sortablegridfield, sqlite3 and test session
479: [09:15:46] <openbees> Zauberfisch seems like I did a crime by using sortablegridfield :P
480: [09:16:53] <ss23> dammit
481: [09:16:55] <openbees> try this new license may be http://www.wtfpl.net/ :D
482: [09:16:58] <ss23> willr: You accepted simon_w|air's PR before I could
483: [09:16:59] <ss23> :<
484: [09:17:11] <willr> did it break a test?
485: [09:17:13] <willr> :D
486: [09:17:26] <willr> ss23. sped up fool.
487: [09:17:41] <ss23> I was in the lounge!
488: [09:17:44] <ss23> I ONLY JUST GOT BACK
489: [09:18:05] <simon_w|air> I would let you accept the one for sqlite3 or blog, but I have commit access on those so screw PRs :p
490: [09:18:11] <ss23> lol
491: [09:18:16] <ss23> simon_w|air: Nu uh!
492: [09:18:21] <ss23> I only have access for labs
493: [09:18:27] <simon_w|air> sqlite3's a lab
494: [09:18:31] <ss23> oic
495: [09:18:42] <simon_w|air> And making a PR on a repo I have commit access to is far too much effort
496: [09:19:46] <willr> ss23 lol only labs.
497: [09:20:22] <ss23> :<
498: [09:20:49] <openbees> simon_w|air : I got a lesson from ingo yesterday "Never merge your own pull request", which translates to "always get peer review" :P
499: [09:21:06] <simon_w|air> openbees, yeah, I know all about that :p
500: [09:22:16] <simon_w|air> There we go, sqlite3 and blog now have licenses too
501: [09:23:49] * simon_w|air has been tempted to GPL a module so no one else can use it
502: [09:24:14] <openbees> simon_w|air do you think license field in composer.json should be compulsory then ?
503: [09:24:52] <simon_w|air> I don't think the license field in composer.json is good enough, especially for things like BSD and GPL which require including the license
504: [09:25:25] <openbees> at-least it will remind them to include one :D
505: [09:25:36] <simon_w|air> No it wouldn't :p
506: [09:25:37] * PanPipes has joined #silverstripe
507: [09:25:46] <simon_w|air> Most people have that field, but no actual license
508: [09:26:53] <openbees> oops .. the only listed module with my name falls in that category :D
509: [09:27:41] <openbees> time to concentrate on work :D
510: [09:27:50] <openbees> see u all .. bye
511: [09:28:03] * openbees quit (Quit: Leaving)
512: [09:28:15] <simon_w|air> Pfft, work :p
513: [09:28:31] <simon_w|air> Man, so much lag
514: [09:29:04] * kinglozzer hangs head in shame at lack of licensing
515: [09:29:18] <kinglozzer> Will fix
516: [09:34:35] <simon_w|air> Zauberfisch, ajshort's module is also missing a license :p
517: [09:34:41] <willr> simon_w|air should auto raise a PR if no LICENSE is contained
518: [09:34:51] <willr> people just suck
519: [09:35:16] <simon_w|air> Yeah, I'm going to script it tomorrow. Just going through the top 30 modules at the moment
520: [09:37:06] <willr> nice
521: [09:37:08] * Error404NotFound has joined #silverstripe
522: [09:38:40] <chillu> simon_w|air fine to include BSD in your SS maintained modules? I don't get the question :)
523: [09:38:42] <simon_w|air> 1/3 don't have either a license file, the license in the read me or a link to the license text
524: [09:38:52] <simon_w|air> chillu, the SilverStripe maintained ones
525: [09:39:01] <simon_w|air> There's rather a lot of them missing licenses
526: [09:39:24] <chillu> WTF, that's really bad. Can you send me a list?
527: [09:40:01] <simon_w|air> https://github.com/silverstripe-labs/silverstripe-fulltextsearch https://github.com/silverstripe-labs/silverstripe-versionfeed https://github.com/silverstripe-labs/silverstripe-iframe https://github.com/silverstripe-labs/silverstripe-registry https://github.com/silverstripe/silverstripe-spamprotection
528: [09:40:17] <simon_w|air> Those are the ones in the top 30 in silverstripe[-labs] missing them
529: [09:40:22] <willmorgan> hmm
530: [09:40:29] <willmorgan> do we need to add the BSD license for our modules?
531: [09:40:31] <chillu> As for others without licenses or dubious quality, I don't want to start any kind of censoring on addons.ss.org. But we need ot make it clear if they don't have a license in the UI. And for rating: There's a bunch of tickets waiting to be fixed in github for addons codebase already
532: [09:41:00] <simon_w|air> Going to script searching the silverstripe-modules tomorrow
533: [09:41:08] <chillu> willmorgan: you need to add *some* kind of license, otherwise its proprietary/copright
534: [09:41:46] <willmorgan> i'll look at updating opauth now
535: [09:41:58] <willmorgan> opauth's core is MIT licensed
536: [09:42:05] <simon_w|air> willmorgan, there's no case law for this, but I doubt just having the name in the composer.json counts either especially for the licenses that want the text included
537: [09:42:06] <willmorgan> i think they're compatible
538: [09:42:15] <simon_w|air> Yeah, it's not GPL, you're fine :p
539: [09:43:28] <willmorgan> yeah
540: [09:43:42] <willr> simon_w|air never liked that with composer. Should link to a file path or actually contain the license. I think lawyers would have a field day in OS land.
541: [09:44:12] <simon_w|air> willr, heh, yeah. Luckily you usually have to actually own the copyright to enforce it
542: [09:44:23] <chillu> simon_w|air: I've just added BSD to all those modules
543: [09:44:40] <simon_w|air> chillu, sweet.
544: [09:45:07] <ss23> chillu: OHHHHHH
545: [09:45:12] <ss23> chillu: SOMEONE BROKE THE ADDONS SERVER :D
546: [09:45:42] <chillu> ss23: Yes, I did. Still need to investigate why the cronjobs took that long. How many concurrent PHP processes were there?
547: [09:46:14] <ss23> chillu: I didn't take an accurate look, but over 8
548: [09:46:37] <simon_w|air> chillu, also, looked like you didn't start the queue handling process either
549: [09:46:47] * DesignerX quit (Read error: Connection reset by peer)
550: [09:47:12] * DesignerX has joined #silverstripe
551: [09:47:40] <chillu> I did, but not properly as a background job. I've written a god daemon integration for our puppet setup months ago, but our infrastructure is … a bit slow at dealing with any puppet config changes
552: [09:47:43] <willmorgan> so - a license in the README is enough?
553: [09:48:02] <willmorgan> BSD 3 clause
554: [09:48:25] <simon_w|air> willmorgan, yeah, that's how framework/cms do it
555: [09:48:43] <ss23> chillu: I have puppet access now, by the way, so if it's a minor change (aka no one will mind, they're just too lazy to do it), feel free to hit me up
556: [09:49:10] <ss23> chillu: I also am now starting on the "I have no real work, so time to improve existing crap!" phase, so I have time normally :D
557: [09:49:40] <simon_w|air> Ooh, wouldn't Peavers like to here that :p
558: [09:49:59] <chillu> that's good to hear! I'll verify that the setup still works through my vagrant install today, and will ping you when you start your working day
559: [09:50:19] <simon_w|air> chillu, that's 12 hours away!
560: [09:50:27] <simon_w|air> (he's a slacker)
561: [09:50:31] <ss23> simon_w|air: I MEAN I HAVE SO MUCH WORK, CAN'T FIX OPENSOURCE! :P
562: [09:50:33] <ss23> oi!
563: [09:50:35] <ss23> I work late :<
564: [09:50:44] <willmorgan> looks like Dan already BSD licensed that module
565: [09:50:58] <willmorgan> I thought you were referring specifically to opauth about the license name in composer.json, simon_w|air
566: [09:51:10] <Mayzie> .
567: [09:51:23] <simon_w|air> willmorgan, nope, just in general
568: [09:54:31] <chillu> ss23: I've re-enabled the cron jobs and will keep an eye on it. Turns out I fail at writing cron ("* */30" instead of "*/30 *").
569: [09:55:44] <simon_w|air> chillu, you'll need to do a clean after deploying Vikas' latest changes to fix the duplicate versions
570: [09:56:03] <ss23> ahahaha
571: [09:56:17] <ss23> chillu: Sweet, no problems
572: [09:56:35] <ss23> chillu: Just be careful, like, the graphite graphs show it well, but it was 0 -> 20 load in less than 2 mins or so
573: [09:56:41] <ss23> chillu: Took a while to SSH back in and fix it
574: [09:56:53] <chillu> I'm monitoring top at the moment
575: [09:59:18] <ss23> Cool beans, I'm heading off to bed :D
576: [09:59:27] <ss23> I think it's time for another 10+ hour sleep, if I may have one~
577: [09:59:30] <ss23> nn guise
578: [10:00:35] * PanPipes quit (Quit: Computer went to sleep)
579: [10:04:50] * PanPipes has joined #silverstripe
580: [10:11:12] * Error404NotFound quit (Quit: User guilty of hitting the Big Red X...)
581: [10:16:12] * ocm has joined #silverstripe
582: [10:16:15] <ocm> howdy!
583: [10:25:39] <PanPipes> what's the best way to json encode the values of DataObjects in a DataList?
584: [10:25:52] * travis-ci has joined #silverstripe
585: [10:25:52] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#909 (3.1 - 1f84db1 : Ingo Schommer): The build passed.
586: [10:25:52] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/0a795952b91e...1f84db1c5434
587: [10:25:52] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/10888068
588: [10:25:52] * travis-ci has left #silverstripe
589: [10:26:15] <PanPipes> I have a DataList of Product objects and want to output them as json
590: [10:28:24] <kinglozzer> PanPipes: json_encode($list->toNestedArray()) I think
591: [10:32:05] <PanPipes> kinglozzer: spot on cheers
592: [10:32:50] <willmorgan> no more Convert::array2json for you? :o
593: [10:38:03] <kinglozzer> Meh, it just calls json_encode anyway :P
594: [10:39:20] * priithansen_ has joined #silverstripe
595: [10:39:31] * howardgrigg quit (Remote host closed the connection)
596: [10:40:50] * priithansen quit (Ping timeout: 245 seconds)
597: [10:40:50] * priithansen_ is now known as priithansen
598: [10:41:31] * violetina has joined #silverstripe
599: [10:41:47] * howardgrigg has joined #silverstripe
600: [10:42:17] <willmorgan> I saw something really stupid the other day, speaking of licenses
601: [10:42:29] <willmorgan> the JSON component of PHP had to be changed due to crockford's license
602: [10:42:39] <willmorgan> "this tool must be used for good, not evil" != FSF
603: [10:51:17] <kinglozzer> Yeah I saw that too
604: [10:51:43] <kinglozzer> Bizarre!
605: [10:59:56] * willr quit (Quit: willr)
606: [11:22:04] <Shrike_Finland> Guys, how can I check in menu, is there something at third level of page and based on that, draw submenu. I'm after special menu, where level 2 is ignored if there is pages at level 3.
607: [11:24:38] * violetina2 has joined #silverstripe
608: [11:42:25] * Shrike_Finland quit (Quit: Leaving.)
609: [11:45:51] * chillu quit (Quit: chillu)
610: [11:48:08] * chillu has joined #silverstripe
611: [11:55:23] * Colin[pi] quit (Ping timeout: 260 seconds)
612: [12:07:52] * PanPipes quit (Quit: Computer went to sleep)
613: [12:24:04] <wmk> in email templates: can i also <% include Header %> like in frontend templates?
614: [12:28:54] * Shrike_Finland has joined #silverstripe
615: [12:34:47] * howardgrigg quit (Remote host closed the connection)
616: [12:37:33] * PanPipes has joined #silverstripe
617: [12:40:51] * kerosene has joined #silverstripe
618: [12:41:33] <wmk> Shrike_Finland, still searching for a Menu level 3 solution?
619: [12:42:32] <Shrike_Finland> yep
620: [12:43:01] <wmk> how many level 2 do you have?
621: [12:43:15] * kinglozz_ has joined #silverstripe
622: [12:43:21] <wmk> cause when i'm on level 1 i can have multiple level 3
623: [12:44:02] * kinglozz_ is now known as kinglozzer_
624: [12:44:51] <PanPipes> is there a way to have a different template for mobile?
625: [12:45:14] <kinglozzer_> PanPipes: https://github.com/silverstripe/silverstripe-mobile
626: [12:45:35] <kinglozzer_> Serves a different theme to mobile devices
627: [12:45:42] * kinglozzer quit (Ping timeout: 264 seconds)
628: [12:46:06] <Shrike_Finland> Maybe I should open up a bit the idea first. I have special holderpage in level 1, which creates layout by rendering all level 2 child pages inside itself. Becoz of that, level 3 has to be threated like level2. With normal pagetypes in level 1, all the child levels should work as normal.
629: [12:47:17] <kinglozzer_> Shrike_Finland Still not really sure what you're trying to do, but you could override the Menu() function in your controller to return a list of child pages?
630: [12:47:51] * kinglozzer_ is now known as kinglozzer
631: [12:49:36] * wmk quit (Ping timeout: 276 seconds)
632: [12:49:48] * openbees has joined #silverstripe
633: [12:50:19] * swordsmanz has joined #silverstripe
634: [12:50:35] <Shrike_Finland> I'm trying to create submenu based on level1 pagetype and number of child levels in sitetree. If level 1 and pagetype is "LayoutHolder" AND it has children AND there is level 3 children THE print submenu WITHOUT level2 items but with Level3 items instead.
635: [12:51:21] <Shrike_Finland> THE= THEN
636: [12:52:22] * wmk has joined #silverstripe
637: [12:52:44] <wmk> re
638: [12:52:44] <Shrike_Finland> Currently I'm checking the pagetype inside template with $LayoutHolder = true
639: [12:54:00] <openbees> just loop through menu(level) .. show level 3rd only if $Up.Up.ClassName == LayoutHolder
640: [12:54:04] <openbees> should work
641: [12:54:48] <kinglozzer> I always try to avoid complicated logic like that in the template. I just create a method, for example 'ShowLevelThreeNav', then do all the logic in the controller and just return true or false
642: [12:54:49] <Shrike_Finland> Hmm, might be good way of doing it :) Up.Up is not so nice, but…
643: [12:55:12] <openbees> kinglozzer +1
644: [12:55:32] <wmk> So level 3 can be a subpage of any of this level 2 pages?
645: [12:55:39] <Shrike_Finland> yep
646: [12:56:01] <wmk> well, when you're on the subpage it's easy ;)
647: [12:56:26] <Shrike_Finland> But it has to work also on "mainpage"
648: [12:56:27] * werner_ has joined #silverstripe
649: [12:56:50] <wmk> in LayoutHolder_Controller i'd overwrite Menu() method, loop over all level2 and catch level3's
650: [12:57:09] <wmk> of course if $level = 2
651: [12:57:11] <wmk> ==
652: [12:57:24] <openbees> wmk yaah that's much cleaner way
653: [12:57:39] <wmk> so Level3 becomes Level2 by controller
654: [12:59:14] <Shrike_Finland> Interesting! There might be also possibility, that LayoutHolder could be used in Level3 also, so that way I could not use it in so deep, right?
655: [12:59:36] <Shrike_Finland> Without messing up the menu
656: [13:01:25] <wmk> OR: if you have the possibilty to make a seperate sidebar / menu include when using LayoutHolder put the Menu(3) stuff in a getSubMenu() method
657: [13:03:31] <wmk> have a look at getChildren(). Maybe it messes up the tree in CMS, dunno. If yes you'll have to overwrite Menu() using getMyChildren() instead
658: [13:03:32] <Shrike_Finland> In this case, menu3 replaces menu2 items as it's not needed to show the as separate pages. They are all rendered inside LayoutHolder page.
659: [13:03:48] <Shrike_Finland> the = them
660: [13:04:47] <Shrike_Finland> This represents visually, what I'm after: http://www.apple.com/iphone/
661: [13:06:00] <Shrike_Finland> Slider is child 1, Why You'll love an Iphone is child 2, All-new design child 3 on level 2 etc.
662: [13:06:48] <Shrike_Finland> "Why iPhone", "Features" etc. are level 3 under "Slider" page
663: [13:07:21] <Shrike_Finland> User sees them as level 2 but are actually level 3 for this technical reason.
664: [13:12:28] <wmk> the iphone example, a "level2" page ((Why you'll xxx an iphone) just links to ONE level 3 page
665: [13:12:49] <wmk> is kind of preview / teaser of ONE level3 page.
666: [13:12:53] <wmk> in your example also?
667: [13:13:08] <wmk> or can a level2 page have many children?
668: [13:13:31] <openbees> Shrike_Finland try this may be http://www.sspaste.com/paste/show/52248dc9d906b
669: [13:14:55] <wmk> Shrike_Finland, if you only have ONE page in level3, why not merge with level 2 and add some fields like PreviewImage, PreviewHTMLText etc.
670: [13:15:51] <wmk> At www.hallstatt.net nearly every page that can be listed in a holder has a PreviewHTML and PreviewPic especially for the Holders. Even a Holder has this fields, so i can nest my holders
671: [13:16:54] <Shrike_Finland> wmk: the links between pages are not needed -> they are just rendered as they are inside LayoutHolder. So they are not working like usual News-holder etc. , kind of… You can put level3 under any of level2 pages as they should appear in the menu without link to page they are. Every page in level3 should be included in the subnav.
672: [13:17:27] <Shrike_Finland> There can be many pages in level 3.
673: [13:17:36] <Shrike_Finland> openbees: checking...
674: [13:17:42] <wmk> then overwrite Menu() and/or Children()
675: [13:18:02] <wmk> you'll have to iterate over all children to get the grandchildren
676: [13:19:43] <Shrike_Finland> openbees: when you are on level3 page, submenu should work as in layoutholder page too, so I have to check if the grandparent page type is layoutholder, too. But I have already function for that too.
677: [13:19:59] * osterlaus has joined #silverstripe
678: [13:22:03] * Dedra has joined #silverstripe
679: [13:23:59] <openbees> Not sure what exactly you want :(
680: [13:24:20] <Shrike_Finland> :D It's a bit complicated, I know...
681: [13:25:00] <wmk> Shrike_Finland, LayoutHolder Children() and/or Menu() are your friends for a pretty simple solution
682: [13:26:48] * violetina2 quit (Ping timeout: 245 seconds)
683: [13:29:51] <Shrike_Finland> openbees: hope this example gives some idea… http://pastebin.com/RnTqLrm3
684: [13:30:16] <Shrike_Finland> wmk: yes, just need to put them in order inside my head :)
685: [13:31:01] <Shrike_Finland> openbees: actually! Forget the example, It needs the level3!!
686: [13:31:34] <wmk> Shrike_Finland, open head, put menu inside, close head
687: [13:31:47] <Shrike_Finland> :D
688: [13:31:48] <wmk> where's the problem? *duck*
689: [13:32:43] <Shrike_Finland> openbees: now the names are right: http://pastebin.com/JqQ5qYrV
690: [13:33:18] <openbees> ya guessed so :)
691: [13:33:47] <openbees> editing my paste
692: [13:33:47] * Shrike_Finland quit (Read error: Connection reset by peer)
693: [13:33:51] * ocm has joined #silverstripe
694: [13:33:53] <ocm> howdy!
695: [13:33:54] * Shrike_Finland has joined #silverstripe
696: [13:34:30] * violetina2 has joined #silverstripe
697: [13:39:26] <openbees> Shrike_Finland http://www.sspaste.com/paste/show/52248dc9d906b
698: [13:39:39] <openbees> try now .. new code in comments
699: [13:40:38] <Shrike_Finland> Yes, now we are getting close with this type of solution :)
700: [13:40:41] <wmk> openbees, Shrike_Finland does Menu(3) get all grandchildren?
701: [13:40:41] <openbees> ahh on edit .. Parent.Parent.ClassName this should be Top.Parent.Parent.ClassName
702: [13:43:13] <Shrike_Finland> And just add info for someone, who reads logs: here is case 3, where user are on subchild page and menu should be same as on LayoutHolder selected (of coz the active state is different on subchild 2)… http://pastebin.com/X3p4P1Zu
703: [13:43:24] <Shrike_Finland> add = added
704: [13:44:02] <openbees> so it works ?
705: [13:44:56] <Shrike_Finland> Testing it right now...
706: [13:47:22] * Guits quit (Quit: Leaving)
707: [13:54:01] <Shrike_Finland> Does not work in this case.
708: [13:55:16] <wmk> Shrike_Finland, and there is no other way to make level2 (which are no real pages afaik as they shouldn't be accessed directly by URL) than use a pagetype for it?
709: [13:55:29] <wmk> why not use has_many FancyDataObject for the listing?
710: [13:56:12] <wmk> a sortablegridfield, aj's plugin for adding subclasses to a grid and be happy
711: [13:56:59] <kinglozzer> That's what I was thinking ^^ if you don't want them to be pages, don't use pages :P
712: [13:57:44] <wmk> even for a event calendar dataobjects are better IMHO
713: [13:57:51] <wmk> where an event should be accessed as a page
714: [13:59:37] <Shrike_Finland> That is one soultions, yes. But in this case, I have about 10 different pagetypes with nice layouts already available as pages. It's quite easy to use them directly for "awesome" one page love, drag and drop the in different order, use same fields as they are used to use in pages etc.
715: [14:00:26] <Shrike_Finland> they -> meaning users
716: [14:02:20] <wmk> Shrike_Finland, well, i don't want to repeat myself
717: [14:02:25] <wmk> hm, i do
718: [14:02:45] <wmk> getMenu(), MyChildren()
719: [14:04:06] <Shrike_Finland> wmk: will try that next, just right after getting some food...
720: [14:04:31] <wmk> food is good
721: [14:04:41] <wmk> time for some coffee break
722: [14:04:44] <openbees> good night from India guys .. time to go home :)
723: [14:05:04] <Shrike_Finland> home is good too :)
724: [14:05:15] <wmk> n8
725: [14:05:52] * openbees quit (Quit: Leaving)
726: [14:35:14] * howardgrigg has joined #silverstripe
727: [14:39:26] * howardgrigg quit (Ping timeout: 240 seconds)
728: [14:42:35] * kerosene quit (Quit: leaving)
729: [14:44:00] * willmorgan quit (Quit: Ciao mateys.)
730: [15:02:17] * travis-ci has joined #silverstripe
731: [15:02:17] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#910 (3.0 - 62608a7 : Ingo Schommer): The build was fixed.
732: [15:02:17] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/71b987edb2c5...62608a7772da
733: [15:02:17] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/10896886
734: [15:02:17] * travis-ci has left #silverstripe
735: [15:23:18] * ARNHOE_ quit (Remote host closed the connection)
736: [15:29:25] <PanPipes> I have varible $SelectedType passed to a template. how do I reference that variable inside a loop like: <% loop $ProductTypes %>
737: [15:30:04] <kinglozzer> PanPipes: $Up.ProductTypes
738: [15:30:31] <kinglozzer> Or if it's another level deeper, instead of doing $Up.Up.SelectedType, you can do $Top.SelectedType
739: [15:30:45] <PanPipes> ok will give it a try
740: [15:30:46] <PanPipes> thanks
741: [15:41:58] * PanPipes quit (Remote host closed the connection)
742: [16:03:35] * kinglozzer quit ()
743: [16:03:43] * swordsmanz quit (Read error: Connection reset by peer)
744: [16:04:26] * swordsmanz has joined #silverstripe
745: [16:12:44] * ARNHOE has joined #silverstripe
746: [16:35:40] * howardgrigg has joined #silverstripe
747: [16:40:18] * howardgrigg quit (Ping timeout: 264 seconds)
748: [17:00:05] * Colin[pi] has joined #silverstripe
749: [17:02:57] <guzzlefry> guys help!
750: [17:03:33] * wmk quit (Quit: nice to meet you ;))
751: [17:06:19] * joelpittet has joined #silverstripe
752: [17:08:26] <guzzlefry> The action 'fliqzUpload' does not exist in class CourseAdmin <--- it's in there. CourseAdmin extends ModelAdmin by the way.
753: [17:09:37] * ARNHOE quit (Remote host closed the connection)
754: [17:10:33] * chillu quit (Quit: chillu)
755: [17:10:37] * Dedra quit (Read error: Connection reset by peer)
756: [17:11:02] * Dedra has joined #silverstripe
757: [17:12:49] * Colin[pi] quit (Ping timeout: 246 seconds)
758: [17:21:02] * joelpittet quit (Remote host closed the connection)
759: [17:21:18] * joelpittet has joined #silverstripe
760: [17:26:52] * joelpittet quit (Remote host closed the connection)
761: [17:53:49] * chillu has joined #silverstripe
762: [18:07:05] * gelignite has joined #silverstripe
763: [18:30:24] * jrthomer quit (Remote host closed the connection)
764: [18:46:47] * jrthomer has joined #silverstripe
765: [19:02:30] * SightUnseen has joined #silverstripe
766: [19:06:04] * SightUnseen has left #silverstripe
767: [19:28:49] * Liquide has joined #silverstripe
768: [19:45:29] * osterlaus quit (Quit: Leaving.)
769: [19:50:42] * CodeTrap has joined #silverstripe
770: [19:53:15] <simon_w|air> guzzlefry, is it in $allowed_actions?
771: [19:53:30] <guzzlefry> simon_w|air: it is.
772: [19:53:47] <guzzlefry> It wasn't prior, though.
773: [19:54:16] <guzzlefry> simon_w|air: Shouldn't that give a 'not allowed' error regardless?
774: [19:54:51] <simon_w|air> But the action doesn't exist
775: [19:54:59] <simon_w|air> Or didn't
776: [19:56:43] <guzzlefry> simon_w|air: There's a method fliqzUpload($request) in the CourseAdmin class.
777: [19:56:55] <simon_w|air> method != action
778: [19:57:30] <guzzlefry> What makes it a method?
779: [19:57:32] <guzzlefry> err
780: [19:57:34] <guzzlefry> sorry, action
781: [19:57:49] <simon_w|air> Being in allowed_actions
782: [19:57:55] <guzzlefry> oh :P
783: [19:59:44] <simon_w|air> And not being allowed to call an action is different from the action not existing
784: [20:03:02] <guzzlefry> oh god the typoes :(
785: [20:03:49] <guzzlefry> Sometimes I question my competence as a dev. :P
786: [20:19:09] * Liquide quit ()
787: [20:22:47] * CodeTrap quit (Quit: CodeTrap)
788: [20:35:33] * DigNZ has joined #silverstripe
789: [20:35:34] * DigNZ quit (Remote host closed the connection)
790: [20:35:47] * DigNZ has joined #silverstripe
791: [20:36:32] * howardgrigg has joined #silverstripe
792: [20:40:08] * nickmolhoek has joined #silverstripe
793: [20:40:09] * nickmolhoek quit (Remote host closed the connection)
794: [20:40:23] * nickmolhoek has joined #silverstripe
795: [20:40:55] * coldblooded01 has joined #silverstripe
796: [20:41:02] * howardgrigg quit (Ping timeout: 264 seconds)
797: [20:47:45] * Colin[pi] has joined #silverstripe
798: [21:00:18] * Stomach has joined #silverstripe
799: [21:04:15] <coldblooded01> Morning
800: [21:04:16] * UncleCheese has joined #silverstripe
801: [21:04:28] <coldblooded01> change $linkingmode to active from current
802: [21:04:39] <coldblooded01> how?
803: [21:06:45] <coldblooded01> right now $linkingmode is setting class name to current, But my css has active
804: [21:14:23] <guzzlefry> coldblooded01: <% $LinkingMode == "current"%> active <% end_if %> But it's probably better to change the CSS.
805: [21:14:45] <guzzlefry> Also, not sure if that above will actually work. :P
806: [21:14:58] <guzzlefry> Can't remember if the template system uses = or == for equality.
807: [21:17:29] <simon_w> Both
808: [21:27:18] * S69 has joined #silverstripe
809: [21:27:34] <S69> what's the proper sintax for public static $indexes?
810: [21:27:40] * gelignite quit (Quit: http://bit.ly/nkczDT)
811: [21:27:48] <simon_w> For what sort of index?
812: [21:28:00] <S69> FULLTEXT
813: [21:28:55] * mobiusnz has joined #silverstripe
814: [21:29:10] <simon_w> 'Name' => ['type' => 'full text', 'value' => 'columns']
815: [21:29:31] <simon_w> Without the space that autocorrect put in
816: [21:30:43] <S69> let me try it
817: [21:31:13] <S69> trim() expects parameter 1 to be string, array given
818: [21:32:00] <S69> Line 469 in framework/model/MySQLDatabase.php
819: [21:32:06] <simon_w> What did you use?
820: [21:32:34] <S69> 'Name' => array('type' => 'FULLTEXT', 'value' => 'columnName')
821: [21:32:45] <simon_w> lowercase type
822: [21:33:18] <S69> yes, lowercase
823: [21:33:31] <simon_w> As in fulltext, not FULLTEXT
824: [21:35:31] <S69> The used table type doesn't support FULLTEXT indexes
825: [21:35:52] <S69> is there a way to force MyISAM over InnoDB?
826: [21:35:53] <mobiusnz> what did ModelAdmin_RecordController get replaced with?
827: [21:36:33] <simon_w> http://doc.silverstripe.org/framework/en/topics/search#fulltext-search-on-dataobjects
828: [21:36:48] <S69> great :)
829: [21:37:01] <simon_w> mobiusnz, ModelAdmin? GridFieldDetailForm_ItemRequest?
830: [21:37:45] * Dedra quit (Quit: Bye guys, have to go!)
831: [21:39:15] <S69> yup, that's it simon_w
832: [21:39:19] * Stomach quit (Quit: Leaving.)
833: [21:39:22] <S69> works like a charm, thanks
834: [21:39:56] <S69> I have one more doubt now
835: [21:40:25] <S69> I have two DataObject, let's say named Tag and Post
836: [21:40:57] <S69> which have many_many relation
837: [21:42:12] <S69> is there a non complicated way to get a number of Posts which have at least one Tag in common with current Post, ordered by match count desc?
838: [21:43:13] <simon_w> Nope
839: [21:45:34] <simon_w> Well, you can pull out the DataQuery and add in a group by and having clause
840: [21:46:50] <S69> I'm quite skilled with raw SQL, but I really like the fact that in over a year I'm working with SS I wrote max. of 10 SQL queries :)
841: [21:46:56] <S69> all of them in phpMyAdmin :)
842: [21:48:23] * violetina quit (Remote host closed the connection)
843: [21:48:50] <coldblooded01> cheers guzzlefry
844: [21:51:45] * mdowton has joined #silverstripe
845: [21:52:39] <simon_w> S69, yeah, and then you go and do something that requires more clauses than just the WHERE one and you have to get a little lower that DataList, perhaps even down to SQLQuery. Start with the many_many list though and get the DataQuery off that, then the SQLQuery from that if needed. If you can do it all on the DataQuery, then there's the alterDataQuery method on DataList so you don't need to handle the object creation as well as the query co
846: [21:52:40] <simon_w> nstruction
847: [21:53:11] * Stomach has joined #silverstripe
848: [22:07:43] * Stomach quit (Quit: Leaving.)
849: [22:10:21] * nickspiel has joined #silverstripe
850: [22:18:06] * Stomach has joined #silverstripe
851: [22:20:41] * Colin[pi] quit (Read error: Connection reset by peer)
852: [22:20:58] * Colin[pi] has joined #silverstripe
853: [22:21:27] <Colin[pi]> morning all
854: [22:22:51] <simon_w> Back from holiday, straight back to showing up early I see
855: [22:27:55] <S69> simon_w how can I trigger custom sql query from string?
856: [22:28:06] <simon_w> DB::query?
857: [22:28:31] <S69> DB::query($sql)
858: [22:28:46] <S69> oh, you answered while I was typing it :)
859: [22:29:40] <ss23> lol
860: [22:30:25] <S69> what does it return?
861: [22:32:12] <Colin[pi]> indeed simon_w, then I can leave early like you ;)
862: [22:32:13] <S69> I mean, I see in the code @return SS_Query
863: [22:32:19] * Motoservo quit (Quit: Shhh. I'm trying to get some sleep here.)
864: [22:32:22] <S69> but how can I get results?
865: [22:32:41] <simon_w> S69, just loop over it (foreach)
866: [22:33:03] <S69> $results = DB::query($sql);
867: [22:33:35] <S69> foreach ($results as $result) { doSomethingWith($result['Title']); }
868: [22:33:42] <S69> right simon_w?
869: [22:34:15] <simon_w> yes
870: [22:35:16] <S69> and how can I test are there results?
871: [22:35:24] <S69> count($results)?
872: [22:35:30] <simon_w> $results->count()
873: [22:35:40] <simon_w> Might implement Countable as well
874: [22:36:13] <simon_w> $results->numRecords()
875: [22:36:54] <S69> and I get results as an array, not an object?
876: [22:36:57] * howardgrigg has joined #silverstripe
877: [22:37:12] <simon_w> Yes
878: [22:37:41] <simon_w> Hmm, something like COPY "table" FROM STDIN but with an update on unique key collision
879: [22:38:35] <simon_w> Ah well, just use UPDATE as needed
880: [22:39:30] * meow-- has joined #silverstripe
881: [22:41:15] * howardgrigg quit (Ping timeout: 245 seconds)
882: [22:52:02] * UncleCheese quit (Quit: UncleCheese)
883: [22:55:57] * willr has joined #silverstripe
884: [22:57:21] * batbadger is now known as ^batbadger
885: [22:57:34] * ^batbadger is now known as batbadger
886: [23:02:02] * tasdg has joined #silverstripe
887: [23:02:35] <tasdg> hello
888: [23:02:45] <tasdg> how can I enable iframe to be used through tinymce?
889: [23:04:57] <guzzlefry> tasdg: http://www.tinymce.com/wiki.php/Configuration valid_elements I think, although I could never get it to work correctly.
890: [23:05:14] <tasdg> guzzlefry, I will have a look at that
891: [23:05:17] <guzzlefry> Also, there's a way to set the config for the editor.
892: [23:05:20] <tasdg> did you found another workaround?
893: [23:05:42] <guzzlefry> It might work fine for iframes. I was trying to allow <script> :P
894: [23:07:16] <guzzlefry> tasdg: http://api.silverstripe.org/3.0/class-HtmlEditorConfig.html and I think HTMLEditorConfig::get()->setOption("valid_elements", "iframe");
895: [23:07:23] <guzzlefry> in your _config.php
896: [23:07:41] <tasdg> hm sounds plausible, let me try that
897: [23:08:02] <guzzlefry> eep, sorry
898: [23:08:02] <tasdg> get('cms') I make it
899: [23:08:05] <tasdg> since its for the cms
900: [23:08:12] <guzzlefry> yeah, I believe so.
901: [23:08:14] <guzzlefry> anyway
902: [23:08:32] <guzzlefry> tasdg: You want extended_valid_elements, which adds them to the existing rule set, valid_elements will overwrite them.
903: [23:09:51] <tasdg> it all seems to work
904: [23:10:00] <tasdg> doesnt it work the same for script?
905: [23:10:54] <guzzlefry> What do you mean?
906: [23:11:14] <tasdg> <script> as a valid element in tinymce?
907: [23:11:34] <guzzlefry> I couldn't figure it out. I may have been doing something silly though.
908: [23:11:43] <guzzlefry> Let me know if it does.
909: [23:11:58] <simon_w> tasdg, why do you want to allow iframes?
910: [23:12:16] <tasdg> client needs it
911: [23:12:23] <simon_w> For what?
912: [23:12:34] <tasdg> some third party thing
913: [23:12:51] <simon_w> So why not use short codes instead?
914: [23:13:24] <tasdg> I was looking in to that, but found just enabling iframe would be easier
915: [23:13:43] <guzzlefry> What are short codes?
916: [23:13:44] <tasdg> the example for shortcodes for ss3.0 didnt turn out to work as expected
917: [23:14:03] <guzzlefry> They sound like something I should know about. :P
918: [23:14:05] <tasdg> the googlemap thingy, it doesnt get the width and height
919: [23:14:34] <simon_w> guzzlefry, http://docs.silverstripe.org/framework/en/topics/shortcodes
920: [23:14:50] <simon_w> tasdg, well, if you're on 3.1 then the 3.0 docs won't work
921: [23:15:06] <tasdg> I am on 3.0
922: [23:15:15] <tasdg> and iframe is showing, but it strips the src away from it
923: [23:15:23] <tasdg> and resets the width.height :/
924: [23:15:36] <simon_w> yes, because you're trying to get tinyMCE to do things it shouldn't be used for
925: [23:16:11] <tasdg> do you have a working example of a shortcode with variables?
926: [23:16:38] <tasdg> the googlemaps example on the shortcodes page, doesnt use the width=/height= from the shortcode
927: [23:16:41] <tasdg> or is it supposed to?
928: [23:17:07] <simon_w> In the example, $args[ should be $arguments[
929: [23:17:20] * howardgrigg has joined #silverstripe
930: [23:17:21] <tasdg> aha :)
931: [23:17:44] * UncleCheese has joined #silverstripe
932: [23:22:02] <tasdg> shortcode now works :)
933: [23:22:05] <tasdg> thnx simon_w :)
934: [23:25:07] * chillu quit (Quit: chillu)
935: [23:25:11] * howardgr_ has joined #silverstripe
936: [23:26:10] * tasdg quit (Quit: Page closed)
937: [23:31:57] * zippy__ has joined #silverstripe
938: [23:32:09] <zippy__> Morning
939: [23:32:33] <aragonne> Hi, I have a custom form that does slightly different things base on the $Action URL param in the URL. It is able to detect the $Action param correctly on initial form load, when the url is /dashboard/application or /dashboard/service, where $Action = 'application' or 'service'. However, on form submission, when the url becomes /dashboard/SolutionForm, the $Action param becomes 'SolutionForm' so I can no longer detect
940: [23:32:34] <aragonne> 'application' or 'service'. Pls. refer to abbreviated code here: http://sspaste.com/paste/show/52251e2cb5eab
941: [23:35:01] <aragonne> Sorry, I detected small error in sample code, here is the re-paste with template code also added: http://sspaste.com/paste/show/52251f71096ec
942: [23:36:12] <simon_w> aragonne, add a HiddenField that holds the action you want
943: [23:39:21] * howardgr_ quit (Remote host closed the connection)
944: [23:44:03] <aragonne> simon_w: thanks! I tried that, but when the Controller goes back to SolutionForm() first, how do I detect the hidden field? i.e., similar to how $data is available in the form action method (processSolutionForm($data, $form)
945: [23:45:36] <simon_w> $this->request->postVar
946: [23:46:07] * S69 quit (Ping timeout: 250 seconds)
947: [23:55:05] <aragonne> simon_w: thanks! Learned another new SS technique today!

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