#silverstripe IRC Log

IRC log for 23 May 2013

All timestamps are in UTC.

1: [00:07:35] <joern_> hey, @silverstripe! have you seen my framework issue at https://github.com/silverstripe/silverstripe-framework/issues/1973
2: [00:26:26] * catcher quit (Quit: Leaving)
3: [00:28:15] <FrozenFire> joern_, If the remote class doesn't have a has_one to fulfil the has_many with, then that could cause what you're seeing
4: [00:28:30] <FrozenFire> It's just assuming that when you define a has_many, that the has_one is defined
5: [00:33:07] <MrJeremy> Does anyone know how to add options to a report e.g. I would like a tickbox so that the report is customised
6: [00:33:07] * Bollig|DesignCty has joined #silverstripe
7: [00:34:50] <FrozenFire> By not using the reports function. :)
8: [00:34:57] <FrozenFire> It's so terribly broken
9: [00:35:15] <FrozenFire> I prefer to just put together a ModelAdmin
10: [00:36:12] <joern_> FrozenFire: have you seen the diff? It worked before this particular line changed and there is nothing about adding the reverse relation by hand in the docs http://doc.silverstripe.org/framework/en/trunk/topics/versioning
11: [00:37:47] <FrozenFire> Maybe I'm just missing something
12: [00:38:34] <FrozenFire> Just to be clear, you don't add a has_many to have versions on a DataObject
13: [00:38:57] <FrozenFire> Versioned uses some complex magic to make multiple versions happen
14: [00:38:58] <MrJeremy> FrozenFire: Cheers
15: [00:44:30] * joelpittet quit (Remote host closed the connection)
16: [00:49:43] * DrCuriosity quit (Ping timeout: 252 seconds)
17: [01:00:48] * joelpittet has joined #silverstripe
18: [01:01:02] * joelpittet quit (Remote host closed the connection)
19: [01:09:00] * joern_ quit (Ping timeout: 250 seconds)
20: [01:14:57] * DrCuriosity has joined #silverstripe
21: [01:15:22] * joelpittet has joined #silverstripe
22: [01:15:41] * joelpittet quit (Remote host closed the connection)
23: [01:17:07] * joelpittet has joined #silverstripe
24: [01:17:56] * joelpittet quit (Remote host closed the connection)
25: [01:22:04] * willr has joined #silverstripe
26: [01:24:15] <irogue> guess Holden just won the Holden vs Ford battle
27: [01:24:41] * ^pH has joined #silverstripe
28: [01:25:26] <willr> irogue toyota for life.
29: [01:26:53] <irogue> hell yes
30: [01:28:11] <Hippiee> Haha
31: [01:28:56] * zippy__ has joined #silverstripe
32: [01:31:35] <zippy__> Afternoon
33: [01:32:07] <Hippiee> gooday
34: [01:38:29] <Pyromanik> irogue: what?
35: [01:38:41] <Pyromanik> also, toyota yes yes.
36: [01:39:37] <simon_w> Pyromanik, Ford's pulling production out of Australia
37: [01:39:38] <Pyromanik> GM buys Ford?
38: [01:39:42] <Pyromanik> oh
39: [01:40:37] <Pyromanik> that's, actually pretty funny.
40: [01:40:49] <Pyromanik> v8 supercars is about to be v8supercar?
41: [01:41:16] <simon_w> Well, could just come from Europe or Asia instead
42: [01:41:30] <Colin[pi]> both are shitty cars anyway ;)
43: [01:41:53] <simon_w> Kenworth FTW
44: [01:42:04] <Pyromanik> simon_w: rules of V8 supercars specify must be V8 produced in Australia (is how they got rid of japanese & BMW's that kept demolishing the AU cars)
45: [01:42:22] <simon_w> Pyromanik, ah, then yup. No more Ford
46: [01:42:26] <simon_w> Well, from 2016
47: [01:42:29] <Pyromanik> Colin[pi]:oh
48: [01:42:32] <Pyromanik> err
49: [01:42:33] <Pyromanik> simon_w: oh
50: [01:42:41] <Pyromanik> plenty of time to change the rules then!
51: [01:43:01] <Pyromanik> (in such a fashion as to let other makes race, but not beat any Au produced vehicle)
52: [01:44:29] <simon_w> "exceptions on a case-by-case basis"
53: [01:44:30] <simon_w> Done!
54: [01:49:38] <Hippiee> Australians loove their australian products..
55: [01:50:48] <irogue> [13:40] <Pyromanik> v8 supercars is about to be v8supercar?
56: [01:50:48] <Colin[pi]> not really, I think they are shit ;D
57: [01:50:55] <irogue> they already have Nissan and Mercedes teams
58: [01:51:45] <irogue> they don't use actual cars for V8 Supercars any more, they have a reference car and the teams put plastic bodys on to make them look like a Falcon/Commodore/whatever
59: [01:52:38] <Colin[pi]> yeah the only similarity they have to the production cars is the chassis, that's it
60: [01:52:41] <irogue> and then drop in a custom-built engine made to V8 Supercars specs
61: [01:53:00] <irogue> so the engine is still made by Ford/Holden/whoever but to a reference design
62: [01:53:20] <irogue> Colin[pi]: it's a common chassis too now, just body kit to fake it
63: [01:53:50] <Colin[pi]> so lame
64: [01:54:34] * DigNZ has joined #silverstripe
65: [01:54:40] <irogue> so they can do aerodynamic stuff with the body kit, and tweaks to the engine as long as it stays within spec
66: [01:54:59] <irogue> so the main factors now are driver and tyres
67: [01:55:34] <zippy__> jet it can be hard to get motivated sometimes
68: [01:55:39] <zippy__> *jeez
69: [01:55:53] <zippy__> must be nap time
70: [01:56:17] <Colin[pi]> caffeine?
71: [01:56:24] <zippy__> had 3 already today
72: [01:56:44] <Colin[pi]> only 3?
73: [01:57:08] <zippy__> true, it might be the come down, need another to pick me back up
74: [01:57:26] <zippy__> go for triple shot and see if I can get the shakes
75: [01:57:46] <Colin[pi]> always fun when my heart does the hop skip and jump :o
76: [02:00:37] <irogue> dammit Colin[pi]
77: [02:00:42] <irogue> now you're making me want another redbull
78: [02:00:56] <Colin[pi]> :D
79: [02:17:25] * cloph_away quit (Ping timeout: 260 seconds)
80: [02:18:28] <Hippiee> is there a month between april and june?
81: [02:20:15] <xyphoid> maybe
82: [02:20:56] <Hippiee> :p
83: [02:25:20] * cloph_away has joined #silverstripe
84: [02:30:43] * Pat_TAS has joined #silverstripe
85: [02:31:11] <Pat_TAS> can anyone tell me why a file download link wouldn't be displaying file type and size? SS3
86: [02:34:24] <Pat_TAS> anyone?
87: [02:36:03] <zippy__> I had that issue a while ago, and it was because the file didn't exist
88: [02:36:24] <zippy__> I had uploaded it. but then deleted the file at some point
89: [02:36:40] <zippy__> so check it really exists where it should exist
90: [02:36:57] <zippy__> And what code are you calling to get the size?
91: [02:37:27] <Pat_TAS> it's where it should be as the file opens upon click
92: [02:38:07] <zippy__> Whats your code to get the file?
93: [02:38:12] <zippy__> file size
94: [02:41:17] <Pat_TAS> where would I find this?
95: [02:57:08] <MrJeremy> singleton("classNamehere")->stat("db") only gets from the current class. Is there any way to get array_merge of all siblings as well?
96: [02:57:20] <MrJeremy> * parents not siblings
97: [03:02:51] * Pat_TAS quit (Quit: Page closed)
98: [03:06:34] <simon_w> MrJeremy, ->db()
99: [03:06:46] * DigNZ quit (Quit: DigNZ)
100: [03:08:25] <simon_w> Or just Config::inst()->get('classNamehere', 'db')
101: [03:08:50] <zippy__> Ah i realised Pat meant the download dialog - apache must not have been reporting the content length, doh
102: [03:15:33] * travis-ci has joined #silverstripe
103: [03:15:33] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#386 (3.1 - 7f174f0 : Sean Harvey): The build passed.
104: [03:15:33] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/417bef994833...7f174f0a8dac
105: [03:15:33] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/7413573
106: [03:15:33] * travis-ci has left #silverstripe
107: [03:20:27] * cloph_away1 has joined #silverstripe
108: [03:21:28] * cloph_away quit (Ping timeout: 245 seconds)
109: [03:22:58] * DigNZ has joined #silverstripe
110: [03:22:59] * DigNZ quit (Remote host closed the connection)
111: [03:23:13] * DigNZ has joined #silverstripe
112: [03:23:29] <MrJeremy> oh cheers
113: [03:24:18] * chrisrio quit (Quit: Page closed)
114: [03:26:58] <unsignedint> Is it possible to extend the SS template engine? I basically want to create a section in an include that only gets "included" once no matter how many times the include is included. This is so I can keep relevant CSS/Javascript in the include file (next to the html it affects) but not have it included multiple times on the page
115: [03:29:12] <simon_w> unsignedint, use <% require %>
116: [03:30:01] * irogue quit (Remote host closed the connection)
117: [03:30:47] * irogue has joined #silverstripe
118: [03:31:14] <Colin[pi]> if I have a Order table with temporary orders for shopping carts, how do I clear out old carts? scheduled task?
119: [03:31:30] <simon_w> That'd be one way
120: [03:31:30] <zippy__> yea
121: [03:31:36] <unsignedint> simon_w: im trying to find it in the documentation but it doesnt seem to be explained on the Templates page
122: [03:31:41] <Colin[pi]> k ta ;)
123: [03:32:02] <simon_w> unsignedint, http://doc.silverstripe.org/framework/en/reference/requirements#including-inside-template-files
124: [03:32:08] <zippy__> Colin[pi]: What you could do, is first, send them an email (if you have their email) asking if they need any help, then, after 24 hours remove the oder
125: [03:32:26] <Colin[pi]> hmm good idea
126: [03:32:26] <zippy__> Automated of course
127: [03:32:43] <zippy__> It helps conversions
128: [03:33:29] <Colin[pi]> indeed
129: [03:33:51] <Colin[pi]> well first I need to get my cart working D:
130: [03:34:02] * travis-ci has joined #silverstripe
131: [03:34:03] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#56 (3.1 - ac2216d : Sean Harvey): The build passed.
132: [03:34:03] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/ee784c366343...ac2216dabc0f
133: [03:34:03] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/7413839
134: [03:34:03] * travis-ci has left #silverstripe
135: [03:36:40] <zippy__> Colin[pi]: not using an off the shelf module?
136: [03:36:51] <Colin[pi]> in this case, no
137: [03:37:18] <Colin[pi]> basically it's a small catalog of products with a cart, and order form.. but no checkout per se
138: [03:37:25] * zippy__ quit (Quit: zippy__)
139: [03:37:25] <Colin[pi]> it just records the details and sends an email
140: [03:37:55] <Colin[pi]> (this is how they wanted it, as it's a corporate-only sister site to their main site which has full e-comm)
141: [03:40:09] <Colin[pi]> also I'm using this project as a gentle e-comm intro to boost my ss fu
142: [03:40:21] <Colin[pi]> as I've done it on other platforms before but not SS yet
143: [03:41:51] <Colin[pi]> success! I have a cart object persisting across sessions :D
144: [03:42:04] <Colin[pi]> uh sessions = requests
145: [03:42:12] <Colin[pi]> ...using the session :$
146: [03:46:38] <Colin[pi]> forgot how fiddly e-comm stuff was
147: [04:00:56] <FrozenFire> I've hated doing ecommerce in SS
148: [04:01:03] <FrozenFire> Since it really is a reinvention of every wheel
149: [04:01:19] <FrozenFire> Well, depending on the type of ecommerce, anyways.
150: [04:01:28] <FrozenFire> Hardgood ecommerce is just atrocious.
151: [04:08:09] <Colin[pi]> :\
152: [04:12:27] * DigNZ quit (Quit: DigNZ)
153: [04:13:47] * cloph_away1 quit (Ping timeout: 252 seconds)
154: [04:18:53] * DigNZ has joined #silverstripe
155: [04:18:54] * DigNZ quit (Remote host closed the connection)
156: [04:19:08] * DigNZ has joined #silverstripe
157: [04:21:43] * guci0 has joined #silverstripe
158: [04:21:58] <guci0> Morning!
159: [04:22:05] <Colin[pi]> afternoon! :D
160: [04:22:10] <guci0> :)
161: [04:23:51] * cloph_away has joined #silverstripe
162: [04:24:25] <Colin[pi]> how long until you finish up FrozenFire?
163: [04:27:12] <FrozenFire> In what regarD?
164: [04:27:22] <Colin[pi]> your position, aren't you off somewhere else?
165: [04:29:56] <FrozenFire> Ah, right. There's no definitive date. I'll probably start working mostly-full-time for my new employer starting the first of next month.
166: [04:30:09] <FrozenFire> But I'll continue on a consultancy basis for my current employer indefinitely, as needed.
167: [04:30:22] <Colin[pi]> ah k.. looking forward to the change?
168: [04:30:40] * zippy__ has joined #silverstripe
169: [04:30:48] <FrozenFire> Somewhat, somewhat not.
170: [04:31:04] <FrozenFire> The stuff I'll be moving onto will be much dryer engineering.
171: [04:31:22] <FrozenFire> But, it pays drastically more, and puts my talents to better use.
172: [04:31:28] <Colin[pi]> more stability?
173: [04:31:34] <FrozenFire> Far more
174: [04:31:39] <Colin[pi]> good :)
175: [04:32:00] <FrozenFire> Indeed. That's one thing I certainly won't miss, is wondering whether I'll be paid on time. :P
176: [04:32:27] <Colin[pi]> ahhh.... yes that was my situation in the last job :(
177: [04:32:31] <Colin[pi]> not pleasant
178: [04:33:27] * DigNZ quit (Quit: DigNZ)
179: [04:38:24] * jrthomer quit (Remote host closed the connection)
180: [04:38:44] * jrthomer has joined #silverstripe
181: [04:38:59] * SightUnseen has joined #silverstripe
182: [04:39:02] * SightUnseen has left #silverstripe
183: [04:40:16] <Pyromanik> someone tweet wdcnz and ask what's up with not being able to get afterparty tickets?
184: [04:40:28] <Pyromanik> not out yet, sold out, what?
185: [04:41:04] <Pyromanik> randomly disabled tickbox for no reason?
186: [04:42:01] <Pyromanik> simon_w: irogue ?
187: [04:45:09] <simon_w> Pyromanik, I have a better idea. Home time!
188: [04:45:41] <Pyromanik> hmm
189: [04:52:58] <irogue> Pyromanik: no idea, am not WDCing
190: [04:58:42] * zippy__ quit (Quit: zippy__)
191: [05:00:19] * DigNZ has joined #silverstripe
192: [05:04:08] * DigNZ quit (Client Quit)
193: [05:06:29] * DigNZ has joined #silverstripe
194: [05:07:23] * DigNZ quit (Client Quit)
195: [05:09:40] * DigNZ has joined #silverstripe
196: [05:13:02] * DigNZ quit (Client Quit)
197: [05:25:00] * DigNZ has joined #silverstripe
198: [05:26:45] * Jedateach quit (Quit: Jedateach)
199: [05:37:30] * DigNZ quit (Quit: DigNZ)
200: [05:38:30] * Colin[pi] quit ()
201: [05:39:03] <guci0> Newest, rzucicie okiem - http://wodadest.pl/
202: [05:43:18] <guci0> I don't know hot to write it better - "You can have a look" - throw a eye :)
203: [05:51:14] * willr quit (Quit: willr)
204: [05:51:56] <simon__w|air> So, taking suggestions for what I could do with a new VPS
205: [05:51:59] * simon__w|air is now known as simon_w|air
206: [06:03:48] * simon_w quit (Read error: Connection reset by peer)
207: [06:04:06] * simon_w has joined #silverstripe
208: [06:05:37] * DrCuriosity quit (Ping timeout: 276 seconds)
209: [06:35:20] * Colin[pi] has joined #silverstripe
210: [06:41:49] * willr has joined #silverstripe
211: [06:44:10] <willr> @chillu been busy today I see.
212: [06:49:26] * travis-ci has joined #silverstripe
213: [06:49:26] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#57 (3.1 - 651c968 : Will Rossiter): The build passed.
214: [06:49:26] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/ac2216dabc0f...651c9689150e
215: [06:49:26] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/7416448
216: [06:49:26] * travis-ci has left #silverstripe
217: [06:49:46] * C10ne_ has joined #silverstripe
218: [06:51:06] <simon_w|air> chillu, sminnee, can one of you add silverstripe-framework to scrutinizer?
219: [06:51:18] <sminnee> ok
220: [06:51:38] <sminnee> simon_w|air: do you have a config for it?
221: [06:52:05] <simon_w|air> sminnee, a blank one should do it
222: [06:52:08] <simon_w|air> https://github.com/silverstripe/silverstripe-framework/blob/3.0/.scrutinizer.yml
223: [06:52:23] <sminnee> ok
224: [06:54:44] <C10ne_> How do I limit TreeDrpdownField to just one page type (Class) in SS 3.0? If I try with map(), I get an error "singleton() passed bad class_name".
225: [06:54:51] <simon_w|air> Hmm, that should probably be merged into at least 3.1
226: [06:55:23] <simon_w|air> C10ne_, you don't, since that class doesn't have hierarchy applied to it. You can use a DropdownField though
227: [07:01:09] * Hippiee quit (Ping timeout: 260 seconds)
228: [07:01:17] <C10ne_> @simon_w|air, yeah, good point. But is there a field for multiple selection like TreeMultiselectField?
229: [07:01:45] <simon_w|air> CheckboxSetField, ListboxField with multiple set
230: [07:03:24] <C10ne_> Cool, thanks!
231: [07:03:30] <sminnee> simon_w|air: https://scrutinizer-ci.com/g/silverstripe/silverstripe-framework/inspections/638b21ee-c840-4dd0-aa17-97c44a405612
232: [07:07:55] <simon_w|air> sminnee, woo, though it's trying to check a PNG for line endings. Hmm, though the sniff itself excluded those
233: [07:09:22] <sminnee> simon_w|air: hrm, not sure about that. i've enabled it for master, 3.0, and 3.1, and i've also merged 3.0 -> 3.1 and then 3.1 ->master.
234: [07:09:46] * travis-ci has joined #silverstripe
235: [07:09:46] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#58 (3.1 - 738581f : Sam Minnee): The build passed.
236: [07:09:46] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/651c9689150e...738581f0f55d
237: [07:09:46] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/7416744
238: [07:09:46] * travis-ci has left #silverstripe
239: [07:09:58] <sminnee> feel free to fiddle with .scrutinizer.yml to get it going, but i'd suggest that you get their CLI tool loaded locally first.
240: [07:09:58] <sminnee> and/or get it running in a pull request (it should run pull requests
241: [07:12:24] <sminnee> oh, good, it only scrutinises the files that are modified in a PR / commit.
242: [07:12:38] <simon_w|air> yeah, so PRs that don't include images should be fine
243: [07:13:05] <sminnee> can it be set to comment on the PRs with the scrutiniser results?
244: [07:13:28] <sminnee> anyway, catch ya later.
245: [07:14:17] <simon_w|air> You get that yellow box if it fails
246: [07:18:24] * travis-ci has joined #silverstripe
247: [07:18:24] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#59 (master - d97ca43 : Sam Minnee): The build passed.
248: [07:18:24] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/e48cdb676ba2...d97ca43cd0d0
249: [07:18:24] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/7416811
250: [07:18:24] * travis-ci has left #silverstripe
251: [07:21:57] * zfmf1 has joined #silverstripe
252: [07:25:08] * travis-ci has joined #silverstripe
253: [07:25:08] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#60 (3.1 - a531008 : Simon Welsh): The build passed.
254: [07:25:08] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/738581f0f55d...a5310080f6b5
255: [07:25:08] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/7416898
256: [07:25:08] * travis-ci has left #silverstripe
257: [07:37:09] * drugantibus has joined #silverstripe
258: [07:40:25] * joelpittet has joined #silverstripe
259: [07:40:32] * joelpittet quit (Remote host closed the connection)
260: [07:41:05] * joelpittet has joined #silverstripe
261: [07:45:14] * willr quit (Quit: willr)
262: [07:47:23] * Shrike_Finland has joined #silverstripe
263: [07:57:39] * C10ne_ quit (Ping timeout: 250 seconds)
264: [07:57:53] * zippy__ has joined #silverstripe
265: [08:03:06] * kinglozzer has joined #silverstripe
266: [08:07:24] * travis-ci has joined #silverstripe
267: [08:07:24] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#61 (master - 8b96db1 : Ingo Schommer): The build passed.
268: [08:07:24] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/d97ca43cd0d0...8b96db151f33
269: [08:07:24] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/7417942
270: [08:07:24] * travis-ci has left #silverstripe
271: [08:08:13] * Jedateach has joined #silverstripe
272: [08:10:35] * priithansen has joined #silverstripe
273: [08:14:22] * drugantibus quit (Quit: Page closed)
274: [08:14:23] * travis-ci has joined #silverstripe
275: [08:14:23] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#62 (3.1 - 6394eaf : Ingo Schommer): The build passed.
276: [08:14:23] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/a5310080f6b5...6394eaf6a38d
277: [08:14:23] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/7418022
278: [08:14:23] * travis-ci has left #silverstripe
279: [08:16:56] <MrJeremy> Can you has_one to DataObject?
280: [08:17:19] <kinglozzer> I've given up and am reinstalling MySQL :P got sick of trying to actually fix it
281: [08:18:08] * JohnnyJimJams has joined #silverstripe
282: [08:18:53] <MrJeremy> I want to try MariaDB some time
283: [08:21:00] <simon_w|air> MrJeremy, no.
284: [08:27:30] * DesignerX has joined #silverstripe
285: [08:37:54] <kinglozzer> Oh for f**k sake, my MySQL is still screwed
286: [08:38:31] <kinglozzer> It's caused by a 'sleep' process :/
287: [08:48:44] <DesignerX> kinglozzer: how could anything or anyone get screwed by "sleep' process ? I though getting enough sleep is healthy :D
288: [08:49:02] * Pyromanik__ has joined #silverstripe
289: [08:49:11] <Pyromanik__> hooraaaay
290: [08:49:14] <Pyromanik__> turns out I'm derp
291: [08:49:14] <kinglozzer> So did I :(
292: [08:49:37] <DesignerX> lol
293: [08:49:39] <Pyromanik__> simon_w: so it turns out that buying the afterparty ticket is for only if you're not actually going to WDC
294: [08:49:55] <Pyromanik__> after party included in wdc tix.
295: [08:51:36] <DesignerX> is there a way to know the TemplateName used to render a section in the template ? like $TemplateName ?
296: [08:52:31] * Jedateach quit (Quit: Jedateach)
297: [08:55:07] <Pyromanik__> fuck
298: [08:55:21] <Pyromanik__> no money for ticket though :<
299: [08:59:38] <Pyromanik__> well, have money, but then only $33 until next Rhursday :<
300: [09:05:33] * JohnnyJimJams quit (Ping timeout: 252 seconds)
301: [09:05:47] * JohnnyJimJams has joined #silverstripe
302: [09:07:47] * zippy__ quit (Quit: zippy__)
303: [09:07:48] * JohnnyJimJams quit (Read error: Connection reset by peer)
304: [09:08:46] * JohnnyJimJams has joined #silverstripe
305: [09:11:33] * g4b0 has joined #silverstripe
306: [09:11:57] <g4b0> hi all
307: [09:18:07] <Pyromanik__> hi
308: [09:19:40] <kinglozzer> New database fields aren't being picked up by a /dev/build any more for me.. I have to do a ?flush as well. Anyone else experiencing this?
309: [09:22:22] * C10ne_ has joined #silverstripe
310: [09:25:21] * openbees has joined #silverstripe
311: [09:26:25] <openbees> Can anyone know what's wrong with this code .. I am not getting selected values in dropdown .. $fields->addFieldToTab('Root.Main', new DropdownField('Waist', 'Waist', $arrWaist, $this->owner->Waist, '','Select'));
312: [09:27:11] <openbees> I am using this in CMS. Using debug I can see $this->owner->Waist value so I am sure that DB field is not empty
313: [09:28:00] <simon_w|air> openbees, is it a valid option in $arrWaist?
314: [09:28:19] <kinglozzer> openbees: It has to be a key of the $arrWaist array
315: [09:30:10] <openbees> simon_w|air kinglozzer thanks ... got it passing array without key !
316: [09:30:22] <C10ne_> Anyone tried silverstripe-ecommerce_3.0? I can't get it to work
317: [09:36:04] <openbees> C10ne_ I am having hard time with e-commerce module .. but can't really complain as never tried to improve it by contributing !
318: [09:36:25] <openbees> C10ne_ what's your problem btw ?
319: [09:37:33] <kinglozzer> simon_w|air: Should new fields on a class that's already in the DB be detected on a /dev/build? They're definitely not for me and I'm sure they're supposed to be
320: [09:37:34] * Pyromanik__ has left #silverstripe
321: [09:39:48] * MrJeremy quit (Quit: MrJeremy)
322: [09:53:56] * osterlaus has joined #silverstripe
323: [09:54:06] <DesignerX> kinglozzer: ->map ? to return the vlaues as a $key=>$value array for the dropdown ?
324: [09:55:29] <kinglozzer> DesignerX: Yep, I think it defaults to ->map('ID', 'Title');
325: [10:13:10] * ^pH- has joined #silverstripe
326: [10:15:41] * ^pH quit (Ping timeout: 252 seconds)
327: [10:17:12] * zippy__ has joined #silverstripe
328: [10:21:55] * osterlaus quit (Quit: Leaving.)
329: [10:24:09] * Pyromanik__ has joined #silverstripe
330: [10:36:28] * zippy__ quit (Quit: zippy__)
331: [10:50:10] * philo has joined #silverstripe
332: [10:50:23] * philo is now known as philopachem
333: [10:52:50] <philopachem> hi, i am having troubles with version 3.05. Can't search records in admin mode. anyone can help?
334: [10:55:00] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
335: [10:57:50] * priithansen quit (Quit: priithansen)
336: [11:00:05] * nikrolls quit (Ping timeout: 276 seconds)
337: [11:04:13] * ARNHOE has joined #silverstripe
338: [11:09:52] <openbees> philopachem can you give us more details ?
339: [11:10:04] <philopachem> yes..
340: [11:11:03] <philopachem> i posted this http://www.silverstripe.org/customising-the-cms/show/23335#post322125#post322125
341: [11:11:26] <philopachem> probably not in the right topic :)
342: [11:12:36] <philopachem> i created records form chess puzzles, everything looked cool, they apear, but now i need to search and i get an error message
343: [11:12:43] <openbees> do you have $Title field in Organisation
344: [11:12:45] <openbees> >
345: [11:12:47] <openbees> ?
346: [11:13:14] <philopachem> look for the second post :)
347: [11:14:03] <philopachem> <?php
348: [11:14:04] <philopachem> class Problema extends DataObject {
349: [11:14:04] <philopachem> static $db = array(
350: [11:14:04] <philopachem> 'Desc' => 'Varchar',
351: [11:14:04] <philopachem> 'FEN' => 'Varchar(90)',
352: [11:14:04] <philopachem> 'Lances' => 'Text',
353: [11:14:06] <philopachem> );
354: [11:14:08] <philopachem> static $has_one = array(
355: [11:14:10] <philopachem> 'TipoProblema' => 'TipoProblema'
356: [11:14:12] <philopachem> );
357: [11:14:14] <philopachem>
358: [11:14:16] <philopachem> static $searchable_fields = array(
359: [11:14:18] <philopachem> 'Desc' => array('Desc' => 'Desc')
360: [11:14:20] <philopachem> );
361: [11:14:20] <kinglozzer> Oh god
362: [11:14:24] <philopachem> }
363: [11:14:24] <ss23> philopachem: Use a pastebin in future...
364: [11:14:25] <openbees> not a write place to paste code
365: [11:14:26] <philopachem> i tried to add searchable but nothing
366: [11:14:42] <philopachem> pastebin?
367: [11:15:31] <openbees> http://www.sspaste.com/
368: [11:15:37] <philopachem> got it a site :)
369: [11:16:23] <openbees> add a $Title field in Problema . I guess Autocomplete only search for Title field
370: [11:17:52] <philopachem> so i replace my 'Desc' for a 'Title' ?
371: [11:18:05] <openbees> that's the easiest way I know
372: [11:19:12] * priithansen has joined #silverstripe
373: [11:19:14] <openbees> u can also overload getters ;)
374: [11:19:24] <philopachem> will database update with success?
375: [11:20:19] <openbees> ss never deletes a column but there will be no data in Title i think
376: [11:21:13] <philopachem> yes it append, but now it search lol
377: [11:21:25] <philopachem> *happend
378: [11:21:57] <philopachem> so i need to update 135,000 records hehe
379: [11:22:45] <philopachem> so i can not use the records i want :( :)
380: [11:23:03] <philopachem> and must always use a title
381: [11:30:43] <openbees> u can migrate them with a simple script
382: [11:31:20] * Pyromanik__ has left #silverstripe
383: [11:37:16] <openbees> philopachem here you go http://www.sspaste.com/paste/show/519dff404d7e8 make sure Desc field exist before running this
384: [11:38:43] * ARNHOE quit (Remote host closed the connection)
385: [11:49:29] <philopachem> column added, modified and Desc deleted, .ss updated and .php to, and it rocks MANY THANKS so simple a title lol
386: [11:50:03] <philopachem> and i wasted hours !!!! hehe
387: [11:50:14] <openbees> welcome ! SS is always simple that's why we love it ;)
388: [11:50:50] <Colin[pi]> well.. not always, but most of the time ;)
389: [11:50:58] <philopachem> yes i am loving it, but new at 3.x tested last year some 2.x and love it
390: [11:51:35] <philopachem> now i need to do this in production site ...
391: [11:53:10] <openbees> Colin[pi] ha ha .. sometime it become total pain but only because of ourselves :)
392: [11:53:56] <openbees> lack of proficiency u can say ;)
393: [11:54:19] <Colin[pi]> oh totally hehe
394: [11:54:28] <Colin[pi]> I'm still learning every day :)
395: [11:54:33] <Colin[pi]> takes time to get to know a system
396: [11:54:45] <philopachem> i like the simplicity... never a CMS was so cool with all all aspects
397: [11:54:56] <openbees> off-course !
398: [11:55:09] <Colin[pi]> yep it was the only system that made sense to me out of all the ones I evaluated
399: [11:55:19] <Colin[pi]> it 'clicked' with my thinking
400: [11:55:26] <openbees> :D same here !
401: [11:55:37] <philopachem> see we all agree hehe
402: [11:56:10] <Colin[pi]> it's not perfect, nothing is, but it'll do nicely :)
403: [11:56:22] <openbees> happy silverstripe family :D
404: [11:56:27] <Colin[pi]> :D
405: [11:58:08] <Colin[pi]> another thing is we have a small but very helpful community
406: [11:58:15] <philopachem> now let's get production working ... hehe
407: [11:58:41] <philopachem> i posted no answer.. but here was fast..
408: [11:58:47] <Colin[pi]> the guys in here are very helpful and I know some like simon_w give a LOT of free advice
409: [11:58:55] <philopachem> thanks to openbees
410: [11:59:15] <openbees> simon_w godfather of this channel :D
411: [11:59:33] <Colin[pi]> hehehe
412: [11:59:59] <philopachem> by the way i post the answer
413: [12:00:26] <openbees> cool that will help others ;)
414: [12:04:16] <philopachem> done http://www.silverstripe.org/customising-the-cms/show/23335#post322192
415: [12:04:31] <Colin[pi]> nn all, off to bed
416: [12:05:27] * UndefinedOffset has joined #silverstripe
417: [12:09:21] * Colin[pi] quit (Ping timeout: 276 seconds)
418: [12:19:58] <C10ne_> openbees, sorry, been afk
419: [12:21:09] <C10ne_> The problem is adding Product Category page, as it's trying to sort products by FullSiteTreeSort
420: [12:42:28] * openbees quit (Quit: Leaving)
421: [12:55:47] * C10ne_ quit (Ping timeout: 250 seconds)
422: [12:59:21] * gumble has joined #silverstripe
423: [13:13:34] * plopinou has joined #silverstripe
424: [13:13:40] <plopinou> hi guys
425: [13:16:54] <plopinou> I have a question about including dynamical template
426: [13:17:32] <plopinou> I tried so many things to get this working but no way
427: [13:20:16] <plopinou> I have one general template which contains inclusion of minors templates
428: [13:21:13] <plopinou> but the <% include myForm %> don't react like i want
429: [13:22:38] * sekjal has joined #silverstripe
430: [13:23:38] <plopinou> if a do something like that ( in php : $template = "myForm"; / and in template <% include $template %> ) when i execute the page i get that <% include myForm%> but there is no inclusion
431: [13:24:57] <plopinou> i tried to pass directly all the include ( PHP : $template = "<% include myForm %>"; / template : $template ) isn't working either
432: [13:25:30] <plopinou> tried with {$template} in template
433: [13:25:38] <plopinou> i don't know what do to more
434: [13:26:24] <plopinou> No one has an idea ? I really need this feature
435: [13:27:35] * DesignerX quit (Ping timeout: 240 seconds)
436: [13:27:35] * Shrike_Finland quit (Quit: Leaving.)
437: [13:29:08] * DesignerX has joined #silverstripe
438: [13:29:19] <sekjal> plopinou: so you've got an Include file that needs in include other Includes?
439: [13:29:49] <DesignerX> hi, when creating a new DataObject , which "controller" do I extend for MyObject_Controller ?
440: [13:31:50] <plopinou> sekjal : no is a template file ( in layout folder ) that need to include another template file ( in include folder )
441: [13:31:59] <sekjal> DesignerX: RestfulServer extends Controller, so perhaps that's the right one? I'm not really sure, but I'd try that first
442: [13:32:11] * sekjal is still a bit of a n00b with SS
443: [13:32:49] <DesignerX> so i'm not alone :)
444: [13:33:28] <plopinou> what i suppose to say me :p
445: [13:33:30] <sekjal> plopinou: could you do <% if $template = "myForm" %> <% include myForm %> <% end_if %>
446: [13:34:07] * feejin has joined #silverstripe
447: [13:34:19] <plopinou> sekjal : is the way i do now but isn't dynamical
448: [13:34:27] <plopinou> and i have too much if :p
449: [13:35:00] <sekjal> plopinou: yeah, that wouldn't really scale well... but you'd have to have the Includes defined anyway
450: [13:35:03] <kinglozzer> DesignerX: Page_Controller extends ContentController, so if you want it to behave like a page - I'd go for ContentController
451: [13:35:04] <sekjal> what about render_with?
452: [13:35:28] <plopinou> sekjal : i don't succeed to work with
453: [13:36:05] <kinglozzer> plopinou: I think renderWith() is what you need
454: [13:36:21] <DesignerX> kinglozzer: thanks, I been lazy & just put everything in the module for small modules/objects , not I plan to clean up my code a bit more
455: [13:36:31] <plopinou> i tried something like that :
456: [13:36:32] <DesignerX> now *
457: [13:36:36] <plopinou> in php : function IncludeTemplate() {
458: [13:36:36] <plopinou> return Director::get_current_page()->renderWith("monoForm");
459: [13:36:36] <plopinou> }
460: [13:36:50] <plopinou> and in template : $IncludeTemplate
461: [13:37:43] <plopinou> but no result and isnt what i need is more (IncludeTemplate($template) in PHP and $IncludeTemplate($template) in .ss
462: [13:38:03] <kinglozzer> plopinou: I'm not sure what you're trying to render, but try $this->renderWith() instead
463: [13:38:34] <sekjal> plopinou: you've probably already seen this, but it looks like you're not alone with this issue: http://www.silverstripe.org/template-questions/show/16794
464: [13:39:12] <plopinou> sekjal : yeah i read so many thread but i can't figure out
465: [13:39:33] <plopinou> kinglozzer : but i have to tell the renderWith which template i want
466: [13:39:47] <kinglozzer> Yeah, I meant $this->renderWith("monoForm");
467: [13:39:55] <g4b0> chillu: what do you think about giving this issue https://github.com/silverstripe/silverstripe-framework/issues/1783 milestone 3.1.0-rc1?
468: [13:40:04] * Hippiee has joined #silverstripe
469: [13:40:39] * DrCuriosity has joined #silverstripe
470: [13:40:53] <plopinou> kinglozzer : i will try it now but i think i already tried it ^^
471: [13:41:53] <sekjal> is anyone familiar with the Events Calendar module? I'm trying to get Recurrence and reading in external iCal feeds to work
472: [13:42:01] <kinglozzer> g4b0: There were similar issues before: https://github.com/silverstripe/silverstripe-framework/pull/1739/files
473: [13:42:21] <sekjal> finally figured out how Recurrence is working now, which seems a bit counter intuitive in my opinion
474: [13:43:26] <g4b0> kinglozzer: off course, but a blocking bug can't enter in rc1...
475: [13:43:28] <sekjal> Pyromanik indicated yesterday I should just avoid the module
476: [13:43:35] <kinglozzer> g4b0: I'd guess somewhere around here is causing it https://github.com/silverstripe/silverstripe-framework/blob/3.1/admin/javascript/LeftAndMain.EditForm.js#L88
477: [13:43:41] <sekjal> but I'd like to fix it if I can
478: [13:46:08] <plopinou> sekjal : good luck then :p
479: [13:46:08] <kinglozzer> g4b0: In fact, from the stack trace I think this line is causing it: clearCurrentTabState
480: [13:46:15] <kinglozzer> Damn, https://github.com/silverstripe/silverstripe-framework/blob/3.1/admin/javascript/LeftAndMain.EditForm.js#L95
481: [13:48:24] <DesignerX> For functions that uses renderWith() & functions that manages resutls of a search, shouldnt all this be in controller ?
482: [13:48:57] <g4b0> kinglozzer ???
483: [13:49:16] <kinglozzer> What?
484: [13:49:33] <g4b0> https://github.com/silverstripe/silverstripe-framework/blob/3.1/admin/javascript/LeftAndMain.EditForm.js#L95
485: [13:50:49] <kinglozzer> g4b0: I just tried to recreate it, I can't. Is it in a ModelAdmin interface?
486: [13:52:14] <g4b0> nope
487: [13:52:34] <g4b0> dataobject managed through GF inside a page
488: [13:53:43] <kinglozzer> Ah okay, I've got it
489: [14:00:18] <g4b0> nice
490: [14:03:44] <DesignerX> Question: shouldnt I be able to access functions in my ObjectName_Controller in my template ?
491: [14:05:54] <g4b0> not always
492: [14:06:22] <g4b0> you can reach the function of the controller actually rendered
493: [14:06:34] <g4b0> for example during a ChindrenOf loop
494: [14:06:37] <DesignerX> I know I'm doing something wrong, How do I create a basic ontroller for MyObject ? do I just clreate MyObject_Controller or is there more steps ?
495: [14:07:18] <g4b0> mmm
496: [14:07:33] <g4b0> don't know if you can have a controller for a DataObject
497: [14:07:40] <g4b0> that's not a page
498: [14:08:30] <DesignerX> so for functions that manages results & the rendering of the object , shoudnt this be in controller ?
499: [14:11:54] <jcwacky> getting an error when trying to install SilverStripe via Composer, presume it's due to the renaming of the Git repo from sapphire, is there anything I can do to get it to work? Or is it on packagist's side?
500: [14:15:09] <g4b0> DesignerX: I think so
501: [14:15:15] <g4b0> but I'm not really sure
502: [14:18:38] <jcwacky> ah, think my .lock was just out of date.
503: [14:22:36] <DesignerX> g4b0: kk thanks, I will have a look at the widget module & see how they done it
504: [14:22:50] <DesignerX> anyone knows of a good image/screen shot sharing website ?
505: [14:37:35] * Nivery has joined #silverstripe
506: [14:41:59] * Shrike_Finland has joined #silverstripe
507: [15:06:05] <kinglozzer> g4b0: https://github.com/silverstripe/silverstripe-framework/pull/1978
508: [15:07:04] <g4b0> nice work kinglozzer! chillu, please merge it!!
509: [15:08:19] * catcher has joined #silverstripe
510: [15:08:26] * tscole has joined #silverstripe
511: [15:09:08] <tscole> Hi
512: [15:09:32] <sekjal> how does one populate a has_many field programmatically? $obj = new Obj; $manyfield = new ManyField; $obj->manyfield = $manyfield; ?
513: [15:11:34] <tscole> where is your data coming from?
514: [15:11:44] <tscole> is it a form submission?
515: [15:11:56] <sekjal> tscole: I'm reading in a file and parsing it
516: [15:13:20] <tscole> sekjal: I'm just looking for some code I wrote a few weeks back
517: [15:13:54] <kinglozzer> sekjal: Try $obj->RelationName()->add($item);
518: [15:14:42] <tscole> sekjal: yep - thats what I did
519: [15:15:17] <tscole> sekjal: adding recipients to a mailing list: $recipient->MailingLists()->add($mailinglist);
520: [15:15:47] <sekjal> kinglozzer: manymanlist::add() can't be called until a foreign ID is set
521: [15:15:52] <sekjal> (so says the error msg)
522: [15:16:38] <tscole> sekjal: you have to do at least one write() first
523: [15:17:14] <tscole> to set the IDs
524: [15:18:41] <sekjal> tscole: ah, ok. I don't want to do that, since the information I'm parsing in shouldn't be saved into the database
525: [15:19:54] <sekjal> in specific, I'm looking to parse in an iCal feed from an external site, and mix those events in with the events native to my Events Calendar
526: [15:20:09] <kinglozzer> sekjal: You'll need to put them in an ArrayList then
527: [15:20:16] <sekjal> since I don't know how often the events on the external site change, I don't want to cache the data locally
528: [15:21:07] <sekjal> kinglozzer: so $arraylist = new ArrayList(); $obj->RelationName() = $arraylist; ?
529: [15:24:52] <tscole> I'm trying to get the newsletter module running with messagequeue on nginx
530: [15:25:18] <tscole> newsletter seems to send fine without messageqeueue
531: [15:27:16] <tscole> but when I add message queue (and put MessageQueue::set_onshutdown_option("phppath", "/usr/bin/php"); in _config) it sends the email but all the images and links become things like x-msg://1338/var/www/newsletterlinks/3933f33a4ce3cdc235da6b70b7e0b227
532: [15:27:50] <tscole> Am I missing another config option?
533: [15:28:50] * joelpittet quit (Remote host closed the connection)
534: [15:36:12] * ivoba has joined #silverstripe
535: [15:42:26] * g4b0 quit (Quit: Sto andando via)
536: [15:45:47] <sekjal> okay, I'm getting closer.... seem to be able to parse in the iCal feed and mix it with my local events. And when I go to a time period where I know I have an iCal event, the template shows the "add this to calendar" and "read more" links, but the title and content are both missing
537: [15:46:17] <sekjal> so, the system knows an event is happening at that time, but can't seem to display the values
538: [15:50:41] <tscole> sekjal: are you putting those details into the array?
539: [15:51:00] <tscole> Is this in a page controller or admin?
540: [15:52:49] * travis-ci has joined #silverstripe
541: [15:52:49] <travis-ci> [travis-ci] chillu/sapphire#161 (pulls/gridfield-filter-cols - c85c495 : Ingo Schommer): The build failed.
542: [15:52:49] <travis-ci> [travis-ci] Change view : https://github.com/chillu/sapphire/compare/433b883c6b64^...c85c49584855
543: [15:52:49] <travis-ci> [travis-ci] Build details : http://travis-ci.org/chillu/sapphire/builds/7431632
544: [15:52:49] * travis-ci has left #silverstripe
545: [15:53:15] <sekjal> tscole: this is directly in Calendar.php, in the getEventsList() function
546: [15:53:27] <sekjal> I return an ArrayList of FeedEvents
547: [15:53:39] <tscole> right
548: [15:53:41] <sekjal> then, if date criteria are met, push into the eventList
549: [15:53:47] <sekjal> which is also an ArrayList
550: [15:54:39] <tscole> do the keys match?
551: [15:54:53] <kinglozzer> sekjal: What are you pushing? ->push($data), is $data an array?
552: [15:55:06] <sekjal> $data is a CalendarEvent
553: [15:55:34] <kinglozzer> Try ->push(new ArrayData($data));
554: [15:55:49] <kinglozzer> That might only be necessary for regular arrays, but worth a try
555: [15:57:42] <sekjal> kinglozzer: nope, doesn't seem to work in this case
556: [15:58:18] <kinglozzer> sekjal: Can you paste your function?
557: [15:58:22] <kinglozzer> www.pastie.org
558: [16:11:28] * GoTest has joined #silverstripe
559: [16:12:51] <sekjal> how could I dump all the entries of $eventList to screen, so I can see if the structures are the same between the standard entries and the feed entries?
560: [16:14:10] <sekjal> ah!
561: [16:14:12] <sekjal> print_r
562: [16:14:43] <sekjal> comparing between a date range with just standard and one with just fed
563: [16:14:47] <sekjal> data structures are different
564: [16:15:06] <ivoba> hey how can i rename admin menu item: security ?
565: [16:15:10] <sekjal> standard is a list of CalendarDateTimes
566: [16:15:15] <sekjal> mine is a list of CalendarEvents
567: [16:18:10] * plopinou quit ()
568: [16:18:10] <ivoba> in SS 3.0 btw
569: [16:18:20] <ivoba> i tried with: CMSMenu::remove_menu_item('SecurityAdmin');
570: [16:18:21] <ivoba> CMSMenu::add_menu_item('SecurityAdmin', 'Mitglieder', 'admin/security');
571: [16:20:53] <UndefinedOffset> ivoba you could override the menutitle key in a language file
572: [16:20:57] * ss-log has joined #silverstripe
573: [16:20:58] * ss-log quit (Changing host)
574: [16:20:58] * ss-log has joined #silverstripe
575: [16:23:21] <ivoba> UndefinedOffset, yep actually pretty obvious, thx *facepalm
576: [16:23:31] <UndefinedOffset> np ;)
577: [16:24:37] * Kapdap has joined #silverstripe
578: [16:24:51] * feejin quit (Remote host closed the connection)
579: [16:25:25] <sekjal> ok, so the data structure of the events calendar module is preventing me from doing what I need
580: [16:26:11] <sekjal> since it allows multiple datetimes for a single event, and iCal does not, there's no way to bridge the gap without saving the title/content description somewhere, and referencing it
581: [16:27:04] <sekjal> so I could import an iCal feed and store it locally as a set of native Events
582: [16:27:05] * kinglozzer quit (Quit: going home)
583: [16:27:41] <sekjal> or I could write a new iCal Feed module which maintains the 1-1 nature of event description and timing
584: [16:28:37] <sekjal> something to ponder over lunch...
585: [16:35:53] * joelpittet has joined #silverstripe
586: [16:37:44] * wmk has joined #silverstripe
587: [16:38:09] * SightUnseen has joined #silverstripe
588: [16:42:23] * SightUnseen quit (Client Quit)
589: [16:49:08] * Nivery quit (Quit: Nivery)
590: [17:00:30] * Colin[pi] has joined #silverstripe
591: [17:04:05] * philopachem quit (Ping timeout: 276 seconds)
592: [17:07:45] * joelpittet quit (Remote host closed the connection)
593: [17:08:19] * joelpittet has joined #silverstripe
594: [17:16:49] * gelignite has joined #silverstripe
595: [17:17:04] * joelpittet quit (Remote host closed the connection)
596: [17:18:01] * DesignerX quit (Ping timeout: 256 seconds)
597: [17:22:39] * Nivery has joined #silverstripe
598: [17:23:14] <tscole> Is it possible to sort an enum drop down field alphatically?
599: [17:23:18] * Colin[pi] quit (Ping timeout: 276 seconds)
600: [17:26:58] <FrozenFire> Alphabetically by key, or alphabetically by title?
601: [17:27:20] <FrozenFire> Would probably be something like $source = $field->getSource(); sort($source); $field->setSource($source);
602: [17:27:44] <FrozenFire> Or simply sort it before giving the DropdownField the source in the first place.
603: [17:29:20] * ivoba quit (Quit: Leaving)
604: [17:32:07] * Nivery quit (Quit: Nivery)
605: [17:33:53] * joelpittet has joined #silverstripe
606: [17:45:15] * joelpittet quit (Remote host closed the connection)
607: [18:05:43] * joelpitt_ has joined #silverstripe
608: [18:14:35] * joelpitt_ quit (Read error: Connection reset by peer)
609: [18:28:33] * Nivery has joined #silverstripe
610: [18:32:03] * joelpittet has joined #silverstripe
611: [18:36:21] * joelpittet quit (Remote host closed the connection)
612: [18:37:19] * Nivery quit (Read error: Connection reset by peer)
613: [18:37:31] * Nivery has joined #silverstripe
614: [18:38:36] * joelpittet has joined #silverstripe
615: [18:42:13] * pex has joined #silverstripe
616: [18:55:56] * joelpittet quit (Remote host closed the connection)
617: [18:57:24] * joelpittet has joined #silverstripe
618: [18:58:32] * joelpittet quit (Remote host closed the connection)
619: [19:04:24] * joelpittet has joined #silverstripe
620: [19:05:30] * joelpittet quit (Remote host closed the connection)
621: [19:09:24] * joelpittet has joined #silverstripe
622: [19:10:18] * joelpittet quit (Remote host closed the connection)
623: [19:16:04] * joelpittet has joined #silverstripe
624: [19:18:02] <ss23> Pyromanik: Got a mobile I can contact you on if need be, and when are you getting into Wellington? :O
625: [19:27:50] * ^pH has joined #silverstripe
626: [19:30:38] * ^pH- quit (Ping timeout: 252 seconds)
627: [19:34:30] * wmk quit (Quit: nice to meet you ;))
628: [19:47:12] * zfmf1 has left #silverstripe
629: [20:02:28] <simon_w> Pyromanik, irogue, ss23, breakfast tomorrow. What's happening?
630: [20:05:26] * gumble quit (Ping timeout: 276 seconds)
631: [20:06:24] * openbees has joined #silverstripe
632: [20:07:56] * openbees is now known as vikas-s
633: [20:09:52] <ss23> simon_w: Sounds good to me! Not sure when Pyromanik gets in, but me and Ed should get in mega early
634: [20:11:35] <ss23> simon_w: Where is a good place to eat? Should we just bus or something into the CBD from airport?
635: [20:11:45] <simon_w> Yes you should
636: [20:11:52] <simon_w> I'm not coming out to the airport :p
637: [20:11:55] <ss23> lol
638: [20:12:05] <ss23> simon_w: I have a question...
639: [20:12:15] <ss23> So I booked the hotel, but you have to check in in the afternoon right?
640: [20:12:26] <simon_w> Yes
641: [20:12:32] <ss23> mmk
642: [20:12:33] <simon_w> Checkin is usually 1400
643: [20:12:36] <ss23> I am bat at hotels
644: [20:12:38] <ss23> bad*
645: [20:26:54] * tscole quit (Quit: tscole)
646: [20:28:51] * tscole has joined #silverstripe
647: [20:30:06] * UndefinedOffset quit (Quit: Leaving.)
648: [20:31:00] * tscole quit (Client Quit)
649: [20:36:35] * scpi has joined #silverstripe
650: [20:37:56] * DigNZ has joined #silverstripe
651: [20:37:57] * DigNZ quit (Remote host closed the connection)
652: [20:38:11] * DigNZ has joined #silverstripe
653: [20:38:36] * nickmolhoek has joined #silverstripe
654: [20:38:41] * nickmolhoek quit (Remote host closed the connection)
655: [20:38:52] * gelignite quit (Quit: http://bit.ly/nkczDT)
656: [20:38:56] * nickmolhoek has joined #silverstripe
657: [20:40:39] <FrozenFire> Is there a way to get the parent *scope* in a template loop?
658: [20:41:00] <simon_w> $Up?
659: [20:41:02] <vikas-s> $Up may be
660: [20:41:07] <vikas-s> ohh :)
661: [20:41:50] <FrozenFire> Doesn't seem to be working
662: [20:42:12] <simon_w> In an include?
663: [20:42:28] <FrozenFire> http://www.sspaste.com/paste/show/519e7f257ad38
664: [20:42:54] <FrozenFire> It's an ArrayList, to be clear
665: [20:42:56] * zippy__ has joined #silverstripe
666: [20:44:19] <FrozenFire> Ah, I think I'm not upping enough. :P
667: [20:45:08] <FrozenFire> $Up.Up.Up.Up.TMDBAssetURL
668: [20:45:09] <FrozenFire> :P
669: [20:45:16] <FrozenFire> I guess maybe Top is a better idea
670: [20:45:28] <FrozenFire> Or maybe not
671: [20:45:48] <FrozenFire> Aha. $Top.Item.yadayada
672: [20:45:50] * Jedateach has joined #silverstripe
673: [20:45:55] <FrozenFire> Since it's in a lower scope than top. :P
674: [20:46:35] <vikas-s> u look lost :P
675: [20:46:58] * Motoservo has joined #silverstripe
676: [20:47:11] <FrozenFire> Scope hopping is always confusing
677: [20:48:07] * gumble has joined #silverstripe
678: [20:48:36] <vikas-s> Is there any good reason we can't pass variables from templates ?
679: [20:49:05] <FrozenFire> Not even sure what that means. Do you mean, returning results from templates?
680: [20:49:10] <FrozenFire> If so, D:
681: [20:49:31] <vikas-s> <% with myFunction($somevariable) %>
682: [20:49:37] <FrozenFire> Oh, that.
683: [20:49:51] <FrozenFire> Not sure, myself. simon_w probably knows.
684: [20:49:59] <simon_w> You can?
685: [20:50:04] <FrozenFire> Since when?
686: [20:50:07] <simon_w> 3.0
687: [20:50:09] <FrozenFire> Wat
688: [20:50:23] <vikas-s> :O last time i tried 5 minute back with SS 3.05
689: [20:50:25] * SightUnseen has joined #silverstripe
690: [20:50:25] <irogue> ss23: when does bus arrive here?
691: [20:50:30] <FrozenFire> This. Changes. Everything.
692: [20:50:39] <simon_w> Just got to watch out for scope changes from chaining to get to the method
693: [20:51:01] <FrozenFire> Oh. That'd be why.
694: [20:51:12] <FrozenFire> You... have to reference the parent scope in the parameter?
695: [20:51:30] <simon_w> Yeah, the parameter should really be evaluated before the function is found
696: [20:51:41] <FrozenFire> E.g. <% loop Some.Set.Of.Descendents($Top.Param) %>
697: [20:52:12] <FrozenFire> And yeah, it really should.
698: [20:52:24] <simon_w> Yup, and it gets a lot harder if you're trying to do <% loop $Top.Blah($ID) %>
699: [20:52:45] <simon_w> I'll look into it tomorrow!
700: [20:52:56] <simon_w> Woo, something (properly) difficult to do! :)
701: [20:53:01] <FrozenFire> :P
702: [20:54:09] <ss23> irogue: I email you
703: [20:54:22] <ss23> irogue: whats your email?
704: [20:54:56] * MrJeremy has joined #silverstripe
705: [20:55:41] <vikas-s> simon_w this is my case <% loop $firstFunction %> $someField <% with $secondFunction($someField) %> <% end_with %><% end_loop %>
706: [20:55:54] * cjt has joined #silverstripe
707: [20:56:00] <Pyromanik> ss23: email me
708: [20:56:13] <Pyromanik> you too irogue
709: [20:56:18] <cjt> Morning good folks
710: [20:56:19] <simon_w> Hello 9am groupies! :p
711: [20:56:22] <Pyromanik> hi
712: [20:56:31] <Pyromanik> so what is deal with CWP?
713: [20:56:34] <ss23> Pyromanik: Um, I will foward hotel booking stuff?
714: [20:56:35] <Pyromanik> not an enforcement?
715: [20:56:44] <cjt> what do you mean Pyromanik
716: [20:56:46] <Pyromanik> is it a "oh keep making new sites in Drupal if you want"
717: [20:56:49] <simon_w> Pyromanik, strong recommendation
718: [20:57:05] <Pyromanik> simon_w: so basically ignored by anyone making a website in govt atm
719: [20:57:09] <ss23> I hear the government is good with strong recommendations
720: [20:57:15] <Pyromanik> ikr
721: [20:57:16] <Pyromanik> lol
722: [20:57:18] <simon_w> Well, I don't think CWP is ready yet
723: [20:57:19] <ss23> They're even better with "Don't do that, that's illegal"
724: [20:57:24] <ss23> gcsb is all pro at it at least
725: [20:57:31] <cjt> We're getting all set to move all our sites over to CWP
726: [20:57:31] <Pyromanik> have a govt dpt moving away because they want all the drupals.
727: [20:57:41] <cjt> No new sites should be created on any other platform from us
728: [20:57:43] <Pyromanik> after they forced us to make drupal site for them
729: [20:57:48] <Pyromanik> depsite our recommendations
730: [20:57:50] <ss23> lol
731: [20:57:56] <Pyromanik> then CWP being announced about 4 weeks later
732: [20:57:57] <ss23> You know why it's called Drupal, right?
733: [20:58:04] <ss23> Cause your morale will be droopy after using it!
734: [20:58:11] <cjt> lol
735: [20:58:17] <Pyromanik> and now it's 2 months after that and they're want moar droopalz
736: [20:58:27] <cjt> We're moving off sitecore 5.2....
737: [20:58:29] <cjt> can't wait
738: [20:58:31] <ss23> Pyromanik: What was the hotel we booked at?
739: [20:58:37] <Pyromanik> ss23: nfi, ask irogue
740: [20:58:43] <ss23> irogue: what was the hotel we booked at?
741: [20:58:47] <vikas-s> ss23 .. :D i have that experience .. wasted 3 years of my lide with drupal :D
742: [20:58:53] <vikas-s> lif*
743: [20:58:54] <ss23> lol
744: [20:59:03] <simon_w> ss23, prepared as shit
745: [20:59:06] <ss23> hahaha
746: [20:59:13] <ss23> simon_w: I just need the email! I know I *booked*...
747: [20:59:42] <irogue> ss23: west plaza
748: [21:00:23] <simon_w> Ooh, you could egg the council buildings from there!
749: [21:00:26] <ss23> oh yay found it :D
750: [21:00:39] <ss23> Pyromanik: Whats your email?
751: [21:01:16] <simon_w> Pyromanik, them to are getting in stupid early. When you getting in? (for breakfast plans)
752: [21:01:19] <ss23> Hmm, I should find out what I'm going to bring...
753: [21:01:36] <ss23> I probably want a change of clothes I guess...
754: [21:01:38] <irogue> yeah, might pay to pack :P
755: [21:01:39] <ss23> insulin would be nice too
756: [21:01:52] <irogue> ss23: http://www.jetstar.com/au/en/planning-and-booking/baggage/carry-on-baggage
757: [21:01:53] <simon_w> I guess I need to remember both my power bricks tomorrow too
758: [21:02:00] <ss23> simon_w: :D
759: [21:02:23] <ss23> irogue: A backpack is fine, right?
760: [21:02:46] <ss23> Does hotel provide towels n shit? They do right?
761: [21:02:51] * sminnee quit (Ping timeout: 256 seconds)
762: [21:02:52] <cjt> Yup
763: [21:02:56] <ss23> sweet
764: [21:03:02] <cjt> guys coming down for the hackfest?
765: [21:03:07] <ss23> cjt: Yeah :D
766: [21:03:09] <ss23> cjt: Are you?!
767: [21:03:16] <cjt> I'm already in welly ;)
768: [21:03:23] <ss23> cjt: Are you going to be participating?
769: [21:03:43] <cjt> Yeah prob - spent the last two days haning with Sam doing some SS dev training
770: [21:03:45] <irogue> ss23: backpack fine as long as its within size/weight limits
771: [21:03:48] <cjt> so should put it to good use
772: [21:03:48] <simon_w> We might even get a MattSS showing up, if he's allowed away from the housework
773: [21:04:02] <irogue> ss23: yeah hotel will have all that shit
774: [21:04:24] <Pyromanik> simon_w: stupid early :<
775: [21:04:28] <Pyromanik> 7am or someshit
776: [21:04:29] <ss23> cjt: I'm bad at SS dev too (simon_w can comfirm I am nooby at SS)
777: [21:04:32] <ss23> Pyromanik: Oh, us too :D
778: [21:04:37] <ss23> Pyromanik: Shall we all breakfast then?
779: [21:04:40] <Pyromanik> basically have to get up at 4am because fucking jetstar
780: [21:04:43] <ss23> hahha
781: [21:04:46] <simon_w> Well, you lot can wait. I'm not getting into town that early :p
782: [21:04:50] <ss23> irogue: What time do we have to wke up?
783: [21:04:52] <Pyromanik> too scared to miss flight because jetstar
784: [21:05:01] <ss23> Pyromanik: We're Jetstar too :P
785: [21:05:15] <Pyromanik> better get there at least 24 hours before th flight or they'll close the checkin on you
786: [21:05:20] <simon_w> Just travel GO Wellington. So much easier :p
787: [21:05:28] <ss23> lol Pyromanik
788: [21:05:42] * Pyromanik thinks about walking from airport to city
789: [21:06:05] <simon_w> Pyromanik, it's an hour walk, will be somewhat cold
790: [21:06:15] <ss23> Pyromanik: Well, if you wait for me and irogue (or we wait for you) we can all go in together?
791: [21:06:18] <ss23> Pyromanik: Also, EMIAL?!
792: [21:06:21] <Pyromanik> ss23: yeah, we should get towels and soap and stuff
793: [21:06:35] <Pyromanik> ss23: my email is: /msg Pyromanik <message>
794: [21:06:49] <ss23> /msg Pyromanik <message>
795: [21:06:50] <simon_w> Hmm, if you walk in I can probably do town at 8
796: [21:07:01] <ss23> simon_w: And if we bus in, when can you do town then? :O
797: [21:07:12] <simon_w> ss23, not that early :p
798: [21:07:22] <Pyromanik> ss23: usobad@irc
799: [21:07:46] <ss23> I don't mind walking, but I have to point out that I have barely got out of the house in the past 6 months or so and I walked 5 mins yesterday and was hurting all over and my skin was like "lol exercise? time to turn into horrible painy itchy death", so I might be a little slow :O
800: [21:07:51] <ss23> I sound fat...
801: [21:07:53] <ss23> I'm not really fat.
802: [21:07:54] <ss23> Just lazy
803: [21:07:57] <irogue> ss23: 4am wake up
804: [21:08:02] <ss23> irogue: oh well fuck
805: [21:08:05] <ss23> I was expecting 5am or 6am
806: [21:08:05] <ss23> :<
807: [21:08:12] <irogue> plane leaves at 6am :P
808: [21:08:16] <ss23> okay okay let me do math...
809: [21:08:21] <ss23> If I get in at 9pm... that's....
810: [21:08:27] <ss23> only 7 hours, oh god
811: [21:08:30] <ss23> I sleep like 12 hours normally
812: [21:08:33] <ss23> wait can sleep on flight
813: [21:08:40] <ss23> damn the flight is short
814: [21:08:41] <ss23> fuck
815: [21:08:42] <simon_w> irogue, prepare the bucket of water
816: [21:08:52] <ss23> can sleep on bus
817: [21:08:53] <ss23> hmm
818: [21:08:56] <ss23> can have a nap this afternoon
819: [21:09:00] <ss23> Hopefully I can make up the 12 hours I need >.<
820: [21:09:03] <simon_w> ss23, just get SS to provide caffeine
821: [21:09:10] <ss23> ^^^^
822: [21:09:13] <ss23> And Ritalin
823: [21:09:55] <simon_w> And the walk'll wake you up :p
824: [21:10:06] <ss23> Or kill me. Either way it won't be an issue anymore :O
825: [21:12:01] * Pyromanik plans to sleep early tonight
826: [21:12:11] <Pyromanik> ss23: you have Ritalin?
827: [21:12:43] <ss23> Pyromanik: I wish. Friend says he'll sell it to me, but at $10 a pill, screw that
828: [21:13:08] <ss23> I'd rather be sober and have cheeseburgers each night.
829: [21:13:48] * tscole has joined #silverstripe
830: [21:14:15] <tscole> I'm having problems with newsletter and messagequeue
831: [21:14:44] <ss23> So if a hotel says "with en suite bathroom", does that mean it has two bathrooms? The main one, plus an en suite one? Or does that just mean one bathroom and the normal ones have none, or is it just marketting and means nothing extra?
832: [21:15:19] <tscole> newsletter sends out emails fine if used on it's on. If I have try and use it with message queue module I need MessageQueue::set_onshutdown_option("phppath", "/usr/bin/php"); in _config.php
833: [21:15:27] <Pyromanik> ss23: probably just one
834: [21:15:33] <irogue> ss23: means it has a bathroom. you'll notice at that hotel all say they have ensuite
835: [21:15:49] <tscole> it then sends but all the URLs get turned into /var/www locations instead of real urls
836: [21:16:03] <irogue> cheaper "hotels" (that are really hostels/backpackers) have shared bathrooms
837: [21:16:41] <ss23> I know backpackers do
838: [21:17:00] * vikas-s was expecting some super technical discussion on Friday morning :D #TimeToSleep
839: [21:17:02] <zippy__> Moring
840: [21:17:26] <Pyromanik> vikas-s: hasn't happened in a while
841: [21:17:28] <Pyromanik> since last year
842: [21:17:28] <irogue> vikas-s: nah we're all leaving that until tomorrow :P
843: [21:17:44] <ss23> ^^^^
844: [21:17:45] * nikrolls has joined #silverstripe
845: [21:17:48] <irogue> today's just planning for tomorrow, haha
846: [21:18:03] <ss23> simon_w is about to experience a bombardment of questions like never before, and more importantly, he won;'t be able to act like he hasn't heard me or has gone AFK
847: [21:18:06] <ss23> :D
848: [21:18:21] <simon_w> ss23, headphones
849: [21:18:29] <vikas-s> ha ha .. i can't make it everyday till 4 am in morning .
850: [21:18:37] <ss23> simon_w: physical shoulder tap
851: [21:18:44] <ss23> oh headphones1
852: [21:18:46] <ss23> I should bring those
853: [21:19:16] <simon_w> tscole, do you have a _ss_environment.php with $_FILE_TO_URL_MAPPING set up?
854: [21:19:32] <simon_w> ss23, just bug Sam instead, or Will
855: [21:19:32] <ss23> oh damn, while I think of it... I'll be carrying insulin and needles. Will I need a letter saying it's okay?
856: [21:19:42] <simon_w> ss23, yes
857: [21:19:46] <simon_w> or a diabetes card
858: [21:19:50] <ss23> simon_w: Hackfest hasn't even started and you're trying to make me go to other people!
859: [21:19:51] <tscole> simon_w: no, I don't
860: [21:19:53] <ss23> dammit
861: [21:19:58] <ss23> simon_w: What about if I don't have any of those...?
862: [21:20:16] <Pyromanik> simon_w: will I actually be able to wireless this times?
863: [21:20:32] * irogue quit (Read error: Connection reset by peer)
864: [21:20:41] * irogue has joined #silverstripe
865: [21:20:44] * vikas-s quit (Quit: Leaving)
866: [21:21:08] <simon_w> tscole, you probably want to do that. http://doc.silverstripe.org/framework/en/topics/commandline#configuration
867: [21:21:26] <simon_w> Pyromanik, maybe? No one else has had problems
868: [21:22:15] <tscole> simon_w: excellent - thanks so much. I will give it a try later
869: [21:23:12] <irogue> ss23: to be safe, could just pop into doctors office and ask receptionist for a letter saying you have the diabetus
870: [21:24:21] <ss23> hmmm
871: [21:24:23] <ss23> yeah
872: [21:24:31] <ss23> fuck it, I'm going to nap now
873: [21:24:40] <ss23> I have a few hours free this afternoon, I'll ring them and find out then
874: [21:24:53] <irogue> swt
875: [21:24:55] <ss23> nap time! be back later
876: [21:26:04] * Nivery quit (Quit: Nivery)
877: [21:29:29] * willr has joined #silverstripe
878: [21:30:22] <simon_w> willr, why'd you have to let Metlink get away with wanting those horrible drop downs?
879: [21:31:14] <willr> heh simon_w then you'll hate what I'm working on now. DROPDOWNS EVERYWHERE
880: [21:31:34] <simon_w> More custom drop downs? But why??
881: [21:31:46] <willr> Because designers are designers
882: [21:32:42] * simon_w sobs into his hot chocolate
883: [21:33:11] <simon_w> You should join us for breakfast!
884: [21:33:16] <simon_w> tomorrow
885: [21:33:22] <willr> I should! is that an invite?
886: [21:33:31] <simon_w> Sure
887: [21:33:36] <willr> where and when?
888: [21:33:56] * scpi quit (Quit: scpi)
889: [21:34:07] <simon_w> I think irogue/Pyromanik are looking at reaching the CBD at around 8
890: [21:34:14] <simon_w> and that's all I've managed to find out
891: [21:35:57] <simon_w> Maybe if we aim for 8.30 at some cafe? Pyromanik irogue
892: [21:37:12] <simon_w> (maccas breakfast menu is full of meh)
893: [21:42:33] <irogue> yup
894: [21:42:35] <irogue> sounds like a plan
895: [21:43:13] <irogue> re: metlink, i tried to use it the other day
896: [21:43:19] <irogue> its biggest flaw seems to be data
897: [21:44:20] <irogue> e.g. it has "Airport", "Wellington Airport", "Wellington Airport," (with the comma), "Wellington Airport, Wellington City"
898: [21:44:31] <irogue> i chose one the other day, gave me nothing. chose another, gave me results
899: [21:44:36] <irogue> wtf is this shit?
900: [21:45:27] * FrozenFire loves installing his dataobjectcruft module after working on a project for a while and finding nothing in the way of cruft
901: [21:45:41] <FrozenFire> Almost as much as finding a lot of cruft on an older project. :P
902: [21:46:05] <FrozenFire> It's like "Ooh, my ears are so clean!" versus "Ooh, it feels so good to clean my ears!"
903: [21:46:06] <FrozenFire> :P
904: [21:50:23] <zippy__> argh the image functions are a pain!!
905: [21:51:02] <zippy__> want a way for it to stop resizing the image UP, as it makes the image look bad
906: [21:53:19] * r3v3rb has joined #silverstripe
907: [21:54:51] * pex quit (Quit: pex)
908: [21:55:00] * tscole quit (Quit: tscole)
909: [21:58:18] * priithansen quit (Quit: priithansen)
910: [21:58:47] * MrJeremy quit (Quit: MrJeremy)
911: [21:59:30] <r3v3rb> apache rewriterules over and above the default htaccess ones are allowed or will cause issues?
912: [22:02:13] * MrJeremy has joined #silverstripe
913: [22:03:47] <catcher> any issues with allowing front-end members to change their own email addresses?
914: [22:05:56] <simon_w> r3v3rb, they're fine
915: [22:06:15] <simon_w> catcher, just make sure to validate it first (for uniqueness)
916: [22:06:23] <catcher> kk
917: [22:08:22] <r3v3rb> simon_w: okay trying to get this working but it keeps giving the 404 instead: RewriteRule ^areas-we-cover/are/([^/]*)/([^/]*)/([^/]*)$ /area.php?town=$1&pc=$2&ct=$3 [L]
918: [22:09:21] <r3v3rb> when a page view of area.php?town=test&pc=BN1&ct=ABC the site doesnt rewrite it as /areas-we-cover/are/test/BN1/ABC
919: [22:18:28] * halkyon has joined #silverstripe
920: [22:18:29] * halkyon quit (Changing host)
921: [22:18:29] * halkyon has joined #silverstripe
922: [22:19:18] <catcher> is filter case sensitive?
923: [22:21:51] * travis-ci has joined #silverstripe
924: [22:21:51] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#68 (3.1 - 916de30 : Sean Harvey): The build passed.
925: [22:21:51] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/6394eaf6a38d...916de302045d
926: [22:21:51] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/7443644
927: [22:21:51] * travis-ci has left #silverstripe
928: [22:25:53] <zippy__> r3v3rb: That is not how the rule will work. It will take /areas-we-cover/are/test/BN1/ABC and rewrite it to area.php?town=test&pc=BN1&ct=ABC
929: [22:26:14] <r3v3rb> ah shoot, i need to reverse it then :D
930: [22:26:19] <r3v3rb> heh
931: [22:26:26] <zippy__> no I think you are on the right track
932: [22:26:38] <zippy__> as you want people to come to your site, and go to /areas-we-cover/are/test/BN1/ABC right?
933: [22:26:41] <zippy__> you want pretty urls
934: [22:27:02] * MrJeremy quit (Quit: MrJeremy)
935: [22:27:04] <r3v3rb> correct, well its taking an old sites url and redirecting to the new pages
936: [22:27:33] <zippy__> gotcha, because the new ones are handled by SS
937: [22:27:36] <r3v3rb> so they will find area.php?town etc etc in google
938: [22:27:40] <zippy__> so yea, reverse it
939: [22:27:53] <r3v3rb> and ss has areas-we-cover/are/ etc etc
940: [22:28:01] * zippy__ quit (Quit: zippy__)
941: [22:28:26] * gumble quit (Ping timeout: 260 seconds)
942: [22:34:26] * Colin[pi] has joined #silverstripe
943: [22:37:51] * halkyon quit (Read error: Connection reset by peer)
944: [22:38:15] * halkyon has joined #silverstripe
945: [22:38:15] * halkyon quit (Changing host)
946: [22:38:15] * halkyon has joined #silverstripe
947: [22:43:52] <simon_w> Whoa, it's a halkyon
948: [22:44:03] <simon_w> catcher, in MySQL, no
949: [22:45:18] <simon_w> r3v3rb, your best option is to actually create area.php and have it do a 301 redirect to the right place
950: [22:45:35] * helion has joined #silverstripe
951: [22:46:06] <r3v3rb> yep, thats quite an easy solution - better than screwing with the htaccess to be honest
952: [22:46:48] <simon_w> r3v3rb, also, means the order of the URL parameters don't matter (and you can actually match them)
953: [22:46:52] * MrJeremy has joined #silverstripe
954: [22:46:58] <r3v3rb> indeed
955: [22:47:19] <r3v3rb> simon_w: thanks for giving me the nudge in the right direction
956: [22:51:31] <r3v3rb> time to sleep
957: [22:51:32] <r3v3rb> :D
958: [22:51:34] * r3v3rb quit (Quit: r3v3rb)
959: [22:52:52] <simon_w> willr, know of any decent cafes down this end of town that are open that early? Was thinking the Jimmy, but that opens at 9
960: [22:53:32] <willr> this end? You mean courtney place.
961: [22:53:38] <willr> Mr Bun!
962: [22:53:38] <simon_w> Yeah, my end
963: [22:53:55] <Pyromanik> he means the end with the cafes that are open.
964: [22:54:21] <willr> Well my end has all the good bakeries that open at 6am
965: [22:54:44] <simon_w> On a Saturday?
966: [22:55:08] * irogue giggles at cities with shops that aren't open by 6am on a saturday
967: [22:55:45] * stevenT has joined #silverstripe
968: [22:56:24] <simon_w> Some are, some aren't. The ones that aren't are usually the ones with good food :p
969: [22:57:08] <irogue> lol
970: [22:57:08] <Pyromanik> irogue: all of them?
971: [22:57:31] <stevenT> Hi, I'm trying to make a conditional include on my homepage by URLsegment. However my home url doesn't have "home" in it's url even though it's defined in SS. Is that an .htaccess isue? I use the basic SS3 installation and haven't modified the .htaccess
972: [22:57:59] * SightUnseen quit (Quit: Leaving.)
973: [22:58:02] <simon_w> stevenT, /home redirects to /, that's how it's supposed to happen
974: [22:58:10] <irogue> there's a $2 shop in Takapuna (not even the CBD) that's open until 10pm. the Hamiltonian in me was extremely excited to discover this
975: [22:58:50] <stevenT> @simon - I generally won't have a problem with that but how do i make a conditionally include on the homepage then?
976: [22:59:34] <simon_w> stevenT, make a HomePage class, set the home page to that and then use HomePage.ss, or just <% if $ClassName == "HomePage" %>
977: [22:59:50] <simon_w> Basing things on URLs (which can change) isn't usually such a good idea
978: [23:00:15] <irogue> yeah, always do stuff by ClassName, or you're gonna have a bad time
979: [23:00:42] <stevenT> so the class is basically a page type?
980: [23:00:57] <simon_w> stevenT, yup
981: [23:01:01] <stevenT> sorry...kind of a SS beginner...
982: [23:01:04] <stevenT> ok ta
983: [23:04:13] <cjt> Getting a strange "Internal Server Error" when clicking on a page in the CMS (latest 3.1 build)
984: [23:04:23] <stevenT> Just out of interest, if I create an extra PageType for the homepage there's no need for a conditional include anymore becaus I can just put it in that .ss template. What if you have the same page type for many pages but only want to include something on certain pages? what would be the best practice there or am I missing something?
985: [23:04:48] <simon_w> cjt, dev mode, get the error from the body of the response
986: [23:05:47] <simon_w> stevenT, If the pages span multiple types, I'd add a checkbox to that page and then check that. Otherwise I'd create a new type for them
987: [23:06:38] <stevenT> ok, so you save it in the database...
988: [23:10:03] * nickmolhoek quit (Ping timeout: 248 seconds)
989: [23:10:38] <irogue> heads up for anyone with a Tenda router: http://www.geekzone.co.nz/forums.asp?forumid=49&topicid=119152
990: [23:10:44] <unsignedint> Hi guys, im having an issue with the ORM. I have a Page called "TilePage" which $has_many "Tile"s. Each "Tile" $has_one "ParentPage" (of type "Page") and "LinkToPage" (also of type Page). When creating a Tile in the cms, its putting the ParentPage ID in the LinkToPageID column in the database, instead of the ParentPageID. How can I force it to use the ParentPageID column?
991: [23:11:53] <unsignedint> I should mention that Tile extends DataObject directly and TilePage extends Page
992: [23:12:09] * helion quit (Quit: Page closed)
993: [23:12:51] * guci0 quit (Ping timeout: 250 seconds)
994: [23:13:25] <lewellyn> irogue: not loading in .us for whatever reason
995: [23:13:26] <simon_w> unsignedint, 'Tiles.ParentPage' => 'Tile'
996: [23:13:34] * SightUnseen has joined #silverstripe
997: [23:14:08] <unsignedint> simon_w: where does that go?
998: [23:14:16] <simon_w> the has_many
999: [23:15:36] * nickmolhoek has joined #silverstripe
1000: [23:15:37] * nickmolhoek quit (Remote host closed the connection)
1001: [23:15:51] * nickmolhoek has joined #silverstripe
1002: [23:16:18] * SightUnseen has left #silverstripe
1003: [23:16:38] <lewellyn> irogue: wow.
1004: [23:16:58] <unsignedint> simon_w: it didnt change anything (yes I ran /dev/build). http://pastebin.com/ya4hzMEC
1005: [23:17:19] <cjt> GET http://cwp.squandered.org/admin/pages/edit/show/2?locale=en_NZ 500 (Internal Server Error)
1006: [23:17:23] <simon_w> unsignedint, ditch the first one
1007: [23:18:06] <simon_w> cjt, dev mode! http://doc.silverstripe.org/framework/en/topics/debugging
1008: [23:18:46] <unsignedint> simon_w: that broke getCMSFields(): the method 'tiles' does not exist on 'TilePage
1009: [23:18:47] <Colin[pi]> know how I working on that sister site with e-commerce?
1010: [23:18:54] <Colin[pi]> I can enter negative quantities on the parent site in the cart
1011: [23:19:00] <Colin[pi]> (not programmed by me)
1012: [23:19:30] <Colin[pi]> that's just.. wow
1013: [23:19:36] <cjt> I'm already in dev mode!
1014: [23:20:32] <simon_w> cjt, then look at the body of the response
1015: [23:21:27] <simon_w> unsignedint, oops, wrong way around. 'Tiles' => 'Tile.ParentPage'
1016: [23:23:28] <unsignedint> simon_w: cheers, that worked
1017: [23:25:20] * helion has joined #silverstripe
1018: [23:28:21] * catcher quit (Quit: Leaving)
1019: [23:30:56] <helion> Would the absence of the FileInfo php module prevent UserForms from sending emails when a form is submitted? Or should I be looking at another cause?
1020: [23:35:42] * zippy__ has joined #silverstripe
1021: [23:35:50] * zippy__ quit (Client Quit)
1022: [23:36:20] <simon_w> helion, it shouldn't. If you don't attach any files does it still fail to send?
1023: [23:41:10] <helion> No files are being attached that I know of.
1024: [23:41:26] <helion> Just 3 text fields. Name, Email Adress, and Message.
1025: [23:43:39] * joelpittet quit (Remote host closed the connection)
1026: [23:52:23] <helion> I'm kind of lost on where to look for the possible cause.
1027: [23:56:17] <FrozenFire> Are you getting an errors in your error log?
1028: [23:56:43] <FrozenFire> It should be mentioned that if you haven't configured an SMTP mailer, it will probably be spammed pretty consistently.

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