#silverstripe IRC Log

IRC log for 5 May 2013

All timestamps are in UTC.

1: [00:02:00] * howardgrigg has joined #silverstripe
2: [00:22:00] * travis-ci has joined #silverstripe
3: [00:22:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/simonwelsh/silverstripe-framework/builds/6889442
4: [00:22:00] <travis-ci> [travis-ci] Change view : https://github.com/simonwelsh/silverstripe-framework/compare/6a4645fb55ac^...6739c6b0037a
5: [00:22:00] <travis-ci> [travis-ci] simonwelsh/silverstripe-framework#14 (short-array-parse - 6739c6b : Simon Welsh): The build failed.
6: [00:22:00] * travis-ci has left #silverstripe
7: [00:28:00] <Colin[pi]> :(
8: [00:31:00] <simon_w> Oh, travis is broken. My tests aren't failing :p
9: [00:32:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/simonwelsh/silverstripe-framework/builds/6889605
10: [00:32:00] <travis-ci> [travis-ci] Change view : https://github.com/simonwelsh/silverstripe-framework/compare/6739c6b0037a...f20e61d645b5
11: [00:32:00] * travis-ci has left #silverstripe
12: [00:32:00] * travis-ci has joined #silverstripe
13: [00:32:00] <travis-ci> [travis-ci] simonwelsh/silverstripe-framework#16 (short-array-parse - f20e61d : Simon Welsh): The build is still failing.
14: [00:35:00] * willr_ quit (Changing host)
15: [00:35:00] * willr_ has joined #silverstripe
16: [00:35:00] * willr_ has joined #silverstripe
17: [00:39:00] <simon_w> Woo, I can get willr_ to merge my pull request once I get the tests working on 5.3.
18: [00:39:00] <willr_> gotta love travis
19: [00:39:00] <Colin[pi]> oh lol
20: [00:40:00] <simon_w> Well, if it worked
21: [00:43:00] <travis-ci> [travis-ci] simonwelsh/silverstripe-framework#17 (short-array-parse - fe6ecd8 : Simon Welsh): The build is still failing.
22: [00:43:00] * travis-ci has joined #silverstripe
23: [00:43:00] <willr_> simon_w rebase :P
24: [00:43:00] * travis-ci has left #silverstripe
25: [00:43:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/simonwelsh/silverstripe-framework/builds/6889687
26: [00:43:00] <travis-ci> [travis-ci] Change view : https://github.com/simonwelsh/silverstripe-framework/compare/f20e61d645b5...fe6ecd8a379c
27: [00:44:00] <willr_> githubs live updating is super frecky
28: [00:44:00] <simon_w> Yeah yeah :p
29: [00:44:00] <simon_w> Merge should've worked fine anyway
30: [00:45:00] * travis-ci has joined #silverstripe
31: [00:45:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/7fbb9e3a9602...fe2663a1404a
32: [00:45:00] <travis-ci> [travis-ci] silverstripe/sapphire#2128 (3.1 - fe2663a : Will Rossiter): The build passed.
33: [00:45:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/6889662
34: [00:45:00] * travis-ci has left #silverstripe
35: [00:46:00] * travis-ci has joined #silverstripe
36: [00:46:00] <simon_w> Stupid travis, can't even run my tests
37: [00:46:00] * travis-ci has left #silverstripe
38: [00:46:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/simonwelsh/silverstripe-framework/builds/6889756
39: [00:46:00] <travis-ci> [travis-ci] Change view : https://github.com/simonwelsh/silverstripe-framework/compare/fe6ecd8a379c...fe3390b3490c
40: [00:46:00] <travis-ci> [travis-ci] simonwelsh/silverstripe-framework#18 (short-array-parse - fe3390b : Simon Welsh): The build is still failing.
41: [00:47:00] <simon_w> Oh, I see. It's just silverstripe's hardcoded travis paths
42: [00:53:00] * simon_w|air has joined #silverstripe
43: [00:54:00] * simon_w quit (Read error: Connection reset by peer)
44: [00:57:00] * simon_w has joined #silverstripe
45: [00:57:00] <simon_w|air> Bah, did it really still fail after I had fixed that exact problem?
46: [01:13:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/simonwelsh/silverstripe-framework/builds/6890041
47: [01:13:00] <travis-ci> [travis-ci] Change view : https://github.com/simonwelsh/silverstripe-framework/compare/fe3390b3490c...448d6c5553a6
48: [01:13:00] * travis-ci has joined #silverstripe
49: [01:13:00] <travis-ci> [travis-ci] simonwelsh/silverstripe-framework#19 (short-array-parse - 448d6c5 : Simon Welsh): The build is still failing.
50: [01:13:00] * travis-ci has left #silverstripe
51: [01:14:00] * kerosene has joined #silverstripe
52: [01:25:00] <simon_w|air> willr_, I'm just running all tests locally to make sure they're actually fixed.
53: [01:31:00] * travis-ci has left #silverstripe
54: [01:31:00] * travis-ci has joined #silverstripe
55: [01:31:00] <travis-ci> [travis-ci] simonwelsh/silverstripe-framework#20 (short-array-parse - 835aefb : Simon Welsh): The build is still failing.
56: [01:31:00] <travis-ci> [travis-ci] Change view : https://github.com/simonwelsh/silverstripe-framework/compare/448d6c5553a6...835aefbe8340
57: [01:31:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/simonwelsh/silverstripe-framework/builds/6890255
58: [01:31:00] * kerosene quit (Ping timeout: 256 seconds)
59: [01:37:00] <simon_w|air> willr_, all green! https://github.com/silverstripe/sapphire/pull/1837
60: [01:37:00] * simon_w|air quit (Quit: This computer has gone to sleep)
61: [01:38:00] * Zauberfisch has joined #silverstripe
62: [01:39:00] * Zauberfisch quit (Remote host closed the connection)
63: [01:45:00] * Zauberfisch|idle quit (Ping timeout: 246 seconds)
64: [02:02:00] * Zauberfisch|idle has joined #silverstripe
65: [02:27:00] * kerosene has joined #silverstripe
66: [02:57:00] * howardgrigg quit (Remote host closed the connection)
67: [03:09:00] * howardgrigg has joined #silverstripe
68: [03:21:00] * gelignite quit (Quit: http://bit.ly/nkczDT)
69: [03:40:00] * cloph_away1 has joined #silverstripe
70: [03:42:00] * cloph_away quit (Ping timeout: 252 seconds)
71: [03:53:00] * howardgrigg quit (Remote host closed the connection)
72: [04:09:00] * maknz has joined #silverstripe
73: [04:09:00] * maknz quit (Changing host)
74: [04:09:00] * maknz has joined #silverstripe
75: [04:13:00] * willr_ quit (Quit: willr_)
76: [04:31:00] * maknz quit (Read error: Connection reset by peer)
77: [04:56:00] * howardgrigg has joined #silverstripe
78: [05:11:00] * simon_w quit (Read error: Connection reset by peer)
79: [05:11:00] * simon_w|air has joined #silverstripe
80: [05:14:00] * simon_w has joined #silverstripe
81: [05:15:00] * seth quit (Ping timeout: 245 seconds)
82: [05:47:00] * DesignerX has joined #silverstripe
83: [05:49:00] * wmk has joined #silverstripe
84: [05:50:00] * Werner_2_ quit (Client Quit)
85: [05:50:00] * Werner_2_ has joined #silverstripe
86: [06:06:00] * wmk quit (Ping timeout: 264 seconds)
87: [06:09:00] * howardgrigg quit (Remote host closed the connection)
88: [06:25:00] * simon_w|air quit (Quit: This computer has gone to sleep)
89: [07:08:00] * wmk has joined #silverstripe
90: [07:19:00] * howardgrigg has joined #silverstripe
91: [07:25:00] * howardgrigg quit (Ping timeout: 245 seconds)
92: [07:29:00] * DesignerX quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/)
93: [08:26:00] * Werner_2_ has joined #silverstripe
94: [08:29:00] * wmk quit (Ping timeout: 252 seconds)
95: [08:38:00] * Werner_2__ has joined #silverstripe
96: [08:42:00] * Werner_2_ quit (Ping timeout: 252 seconds)
97: [09:04:00] * priithansen has joined #silverstripe
98: [09:15:00] * SightUnseen has left #silverstripe
99: [09:15:00] * SightUnseen has joined #silverstripe
100: [09:17:00] * priithansen quit (Quit: priithansen)
101: [09:20:00] * howardgrigg has joined #silverstripe
102: [09:24:00] * howardgrigg quit (Ping timeout: 245 seconds)
103: [09:26:00] * priithansen has joined #silverstripe
104: [09:31:00] <K2> having an issue with the gridfield
105: [09:31:00] * K2 has joined #silverstripe
106: [09:35:00] * K2 quit (Ping timeout: 245 seconds)
107: [09:36:00] * priithansen quit (Quit: priithansen)
108: [09:40:00] * MiniZeka quit (Ping timeout: 245 seconds)
109: [09:52:00] * howardgrigg has joined #silverstripe
110: [10:03:00] * howardgrigg quit (Remote host closed the connection)
111: [10:08:00] * Jakx has joined #silverstripe
112: [10:09:00] <Jakx> Zauberfisch|idle, you on during the weekend?
113: [10:11:00] <Jakx> has anyone has success add Zend Gdata to SS3?
114: [10:11:00] <Jakx> should it be difficult?
115: [10:14:00] <simon_w> Assuming ZF1, then most likely given that it's ZF1
116: [10:15:00] <Jakx> simon_w, thx. I gave it a shot, but ended up with too many errors and didn't want to change the ss source
117: [10:17:00] <Jakx> trying to think of an intelligent way to display a google calendar feed on a website
118: [10:18:00] <Jakx> when I'm planning for recurring events and recurrence exceptions etc... seems better to follow the google calendar api documentation
119: [10:18:00] <Jakx> which calls for zend gdata
120: [10:26:00] * jon-shape quit (*.net *.split)
121: [10:26:00] * irogue quit (*.net *.split)
122: [10:26:00] * mrzero quit (*.net *.split)
123: [10:26:00] * ajmitch quit (*.net *.split)
124: [10:26:00] * onre quit (*.net *.split)
125: [10:26:00] * discorpia quit (*.net *.split)
126: [10:26:00] * ec8or quit (*.net *.split)
127: [10:26:00] <Jakx> ?
128: [10:26:00] <Jakx> simon_w, do you install zend extensions often
129: [10:26:00] <simon_w> Well, xdebug's the only one I've got installed
130: [10:26:00] <simon_w> Need to recompile it every so often
131: [10:26:00] * MattSS quit (*.net *.split)
132: [10:28:00] * ajmitch has joined #silverstripe
133: [10:28:00] * discorpia has joined #silverstripe
134: [10:28:00] * MattSS has joined #silverstripe
135: [10:28:00] * jon-shape has joined #silverstripe
136: [10:28:00] * irogue has joined #silverstripe
137: [10:28:00] * mrzero has joined #silverstripe
138: [10:28:00] * ec8or has joined #silverstripe
139: [10:28:00] * onre has joined #silverstripe
140: [10:33:00] <Jakx> simon_w, hmm - good to know. ty
141: [10:34:00] * jon-shape quit (*.net *.split)
142: [10:34:00] * Rojod quit (*.net *.split)
143: [10:34:00] * irogue quit (*.net *.split)
144: [10:34:00] * mrzero quit (*.net *.split)
145: [10:34:00] * ajmitch quit (*.net *.split)
146: [10:34:00] * onre quit (*.net *.split)
147: [10:34:00] * discorpia quit (*.net *.split)
148: [10:34:00] * ec8or quit (*.net *.split)
149: [10:34:00] * Kolin quit (*.net *.split)
150: [10:34:00] * MattSS quit (*.net *.split)
151: [10:34:00] * spronk quit (*.net *.split)
152: [10:34:00] * unsignedint quit (*.net *.split)
153: [10:34:00] * Kapdap quit (*.net *.split)
154: [10:34:00] * Zauberfisch|idle quit (*.net *.split)
155: [10:34:00] * Jakx quit (*.net *.split)
156: [10:34:00] * xyphoid quit (*.net *.split)
157: [10:34:00] * lewellyn quit (*.net *.split)
158: [10:34:00] * FrozenFire quit (*.net *.split)
159: [10:34:00] * Marvanni quit (*.net *.split)
160: [10:34:00] * Liquide quit (*.net *.split)
161: [10:41:00] * Kolin has joined #silverstripe
162: [10:41:00] * FrozenFire has joined #silverstripe
163: [10:41:00] * lewellyn has joined #silverstripe
164: [10:41:00] * xyphoid has joined #silverstripe
165: [10:41:00] * Kapdap has joined #silverstripe
166: [10:41:00] * Rojod has joined #silverstripe
167: [10:41:00] * spronk has joined #silverstripe
168: [10:41:00] * unsignedint has joined #silverstripe
169: [10:41:00] * Marvanni has joined #silverstripe
170: [10:41:00] * Liquide has joined #silverstripe
171: [10:41:00] * Zauberfisch|idle has joined #silverstripe
172: [10:41:00] * Jakx has joined #silverstripe
173: [10:41:00] * jon-shape has joined #silverstripe
174: [10:41:00] * irogue has joined #silverstripe
175: [10:41:00] * mrzero has joined #silverstripe
176: [10:41:00] * ajmitch has joined #silverstripe
177: [10:41:00] * discorpia has joined #silverstripe
178: [10:41:00] * ec8or has joined #silverstripe
179: [10:41:00] * onre has joined #silverstripe
180: [10:41:00] * MattSS has joined #silverstripe
181: [10:49:00] <Jakx> simon_w, did you install xdebug into the thirdparty/Zend folder? i.e did you modify the framework file set?
182: [10:52:00] * Jakx has left #silverstripe
183: [11:07:00] * osterlaus has joined #silverstripe
184: [11:13:00] * howardgrigg has joined #silverstripe
185: [11:18:00] * howardgrigg quit (Ping timeout: 252 seconds)
186: [11:36:00] * gelignite has joined #silverstripe
187: [11:51:00] * priithansen has joined #silverstripe
188: [12:15:00] * Colin[pi] quit ()
189: [12:15:00] * MiniZeka has joined #silverstripe
190: [12:35:00] <MiniZeka> this GF is killing me
191: [12:35:00] <MiniZeka> after I fixed one problem (had to edit JS in framework)
192: [12:35:00] <MiniZeka> another one pops in
193: [12:35:00] <MiniZeka> :(
194: [12:36:00] <MiniZeka> at least in my case
195: [12:36:00] <MiniZeka> paginated GF + sorting = now working
196: [12:38:00] <MiniZeka> anyone experienced this?
197: [12:40:00] * priithansen quit (Quit: priithansen)
198: [13:14:00] * howardgrigg has joined #silverstripe
199: [13:18:00] * howardgrigg quit (Ping timeout: 245 seconds)
200: [13:19:00] * osterlaus quit (Quit: Leaving.)
201: [13:26:00] * willmorgan has joined #silverstripe
202: [13:26:00] * willmorgan has joined #silverstripe
203: [13:26:00] * willmorgan has left #silverstripe
204: [13:31:00] * DesignerX has joined #silverstripe
205: [13:44:00] <DesignerX> hi, any idea why I get Action 'copy' isn't available on class GridFieldDetailForm_ItemRequest. SS3.1
206: [14:04:00] * howardgrigg has joined #silverstripe
207: [14:09:00] * howardgrigg quit (Ping timeout: 272 seconds)
208: [14:23:00] * priithansen has joined #silverstripe
209: [14:41:00] * Zauberfisch has joined #silverstripe
210: [14:53:00] * Zauberfisch quit (Remote host closed the connection)
211: [14:56:00] <DesignerX> GridFieldCopyButton does not work with 'GridFieldConfig_RecordEditor" ?
212: [15:21:00] * DesignerX quit (Ping timeout: 264 seconds)
213: [15:24:00] * Zauberfisch|idle quit (Ping timeout: 246 seconds)
214: [15:32:00] * priithansen quit (Quit: priithansen)
215: [15:50:00] * Zauberfisch|idle has joined #silverstripe
216: [16:38:00] * Motoservo has joined #silverstripe
217: [17:01:00] <MiniZeka> Is there an option to add message similar to "DataObject saved", but it should be visible always?
218: [17:06:00] <FrozenFire> Just call $form->sessionMessage() when you create the form. Not the best way about it, but that'd do it.
219: [17:16:00] <MiniZeka> FrozenFire in cms?
220: [17:16:00] <MiniZeka> within getCMSFields()?
221: [17:17:00] <FrozenFire> Ah. No.
222: [17:17:00] <FrozenFire> Why do you need this?
223: [17:18:00] <MiniZeka> I have IsActive flag on one DataObject
224: [17:18:00] <MiniZeka> but in order to set it on true, some other conditions should be met
225: [17:19:00] <MiniZeka> else - IsActive is set to false
226: [17:19:00] <MiniZeka> which is calculated in onBeforeWrite
227: [17:19:00] <MiniZeka> basicaly, if ALL conditions are met, your choice is taken
228: [17:20:00] <MiniZeka> and I want to warn user about that
229: [17:22:00] <MiniZeka> yes, I know that :) but I wanted to make sure that there is natural solution
230: [17:22:00] <FrozenFire> Uhh.. Suppose you could use LiteralField?
231: [17:23:00] <MiniZeka> before trying to hack it :)
232: [17:23:00] <FrozenFire> Meh. You want something that's not really "normal"
233: [17:23:00] <FrozenFire> LiteralField would be your best bet.
234: [17:25:00] <MiniZeka> why is that "not normal"?
235: [17:26:00] <MiniZeka> e.g you have IsActive field on Member (added with extension), which can be only set to true if member confirmed account by clicking on link sent to his email
236: [17:27:00] <MiniZeka> it can be a CheckboxField (it is already), but AFTER he/she confirmed email
237: [17:27:00] <FrozenFire> Uh huh. Not sure why that wouldn't just be a CheckboxField
238: [17:27:00] <FrozenFire> Anyways, LiteralField's your best bet if you're just wanting to display a message.
239: [17:28:00] <MiniZeka> until that, whatever you do - he/she is inactive member
240: [17:28:00] <FrozenFire> What if the admin just wants to set a user to active?
241: [17:29:00] <MiniZeka> what if project request says admin can't do that before confirming email?
242: [17:30:00] <FrozenFire> Then the project request is retarded, but you can still do it. :)
243: [17:31:00] <FrozenFire> :P
244: [17:31:00] <MiniZeka> :D
245: [17:31:00] <FrozenFire> Yup. LiteralField.
246: [17:31:00] <MiniZeka> I really don't care is is retarted as long as I get paid :D
247: [17:32:00] <MiniZeka> do you have some expirience with static publisher?
248: [17:33:00] <FrozenFire> You can't have any session-stateful data available on the page
249: [17:33:00] <FrozenFire> It's tricky to use.
250: [17:34:00] <FrozenFire> Or at least, the session-stateful data should be hidden during your publishing process
251: [17:35:00] <MiniZeka> real question is - can I call some methods BEFORE static content is server to user, but without messing with cms/framework?
252: [17:35:00] <MiniZeka> it's unrelated to previous question :)
253: [17:36:00] <MiniZeka> *served
254: [17:36:00] <MiniZeka> and that method(s) should insert something in database...
255: [17:38:00] <FrozenFire> The whole point of static publishing is that there is absolutely no PHP code involved.
256: [17:38:00] <FrozenFire> Then your webserver serves that instead of calling PHP
257: [17:38:00] <FrozenFire> It generates the HTML, and writes it out.
258: [17:38:00] * kerosene quit (Quit: leaving)
259: [17:38:00] <FrozenFire> You can call stuff during the static publishing process, but that's all done once, before any user is present.
260: [17:42:00] <MiniZeka> yes, I'm aware of that
261: [17:42:00] <MiniZeka> but what I'm talking about are methods that
262: [17:42:00] <MiniZeka> don't change content of existing rows
263: [17:43:00] <MiniZeka> and don't affect output of static content
264: [17:44:00] <MiniZeka> in order to explain it more simply, let's say I want to record visitors IP to a database, and then serve him static content
265: [17:44:00] <FrozenFire> Zero PHP.
266: [17:44:00] <FrozenFire> Nope.
267: [17:45:00] <FrozenFire> I mean, you could output PHP as part of your static publishing
268: [17:45:00] <FrozenFire> And you'd defeat the purpose of static publishing.
269: [17:45:00] <FrozenFire> But it'd have nothing of the SS framework.
270: [17:48:00] <MiniZeka> I was afraid of that :(
271: [18:07:00] <MiniZeka> noooooo.... it seems that I can't stop fighting with small but annoying bugs
272: [18:08:00] <MiniZeka> for some reason, tabs in cms lost it's styling
273: [18:08:00] <FrozenFire> Let me guess, they stack?
274: [18:08:00] <FrozenFire> Heh
275: [18:09:00] <MiniZeka> nope
276: [18:10:00] <MiniZeka> just plain text in ugly #00E color
277: [18:11:00] <MiniZeka> when I uploaded very same code to server
278: [18:11:00] <MiniZeka> and funny thing is that only occurs on localhost
279: [18:12:00] <MiniZeka> everything is ok
280: [18:13:00] <MiniZeka> only has this
281: [18:13:00] <MiniZeka> UL tag that should have this html
282: [18:13:00] <MiniZeka> <ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all" role="tablist">
283: [18:14:00] <MiniZeka> and I checked every single one PHP file within my_site folder for closing php tag
284: [18:14:00] <MiniZeka> and there is no single file with that
285: [18:14:00] <MiniZeka> <ul>
286: [18:15:00] <MiniZeka> it looks like some JS didn't fire
287: [18:18:00] <FrozenFire> How are you running it?
288: [18:18:00] <FrozenFire> PHP's built-in?
289: [18:18:00] <FrozenFire> A locale Apache webserver?
290: [18:18:00] <FrozenFire> Ah, that could be.
291: [18:20:00] <simon_w> Are you running in live mode with the server not able to write to the assets folder?
292: [18:25:00] <MiniZeka> dev mode, and windows outside Program Files doesn't have permissions set up
293: [18:25:00] <MiniZeka> local Apache on Windows
294: [18:46:00] * zfmf has joined #silverstripe
295: [18:57:00] * r3v3rb has joined #silverstripe
296: [19:22:00] * Zauberfisch|idle quit (Ping timeout: 246 seconds)
297: [19:28:00] * simon_w quit (Quit: This computer has gone to sleep)
298: [19:40:00] * Werner_2__ quit (Ping timeout: 276 seconds)
299: [19:45:00] * Zauberfisch|idle has joined #silverstripe
300: [19:56:00] * r3v3rb quit (Quit: r3v3rb)
301: [20:00:00] * simon_w has joined #silverstripe
302: [20:06:00] * r3v3rb has joined #silverstripe
303: [20:06:00] * Zauberfisch has joined #silverstripe
304: [20:17:00] <MiniZeka> I'm back
305: [20:18:00] <MiniZeka> is there any fix for missing tabs in cms?
306: [20:23:00] * r3v3rb quit (Quit: r3v3rb)
307: [20:31:00] <MiniZeka> anyone?
308: [20:32:00] <simon_w> Then there's something missing from your localhost setup
309: [20:32:00] <simon_w> You say it works fine on a server, just not on localhost?
310: [20:34:00] * mobiusnz has joined #silverstripe
311: [20:36:00] * r3v3rb has joined #silverstripe
312: [20:38:00] * nickmolhoek has joined #silverstripe
313: [20:38:00] * nickmolhoek quit (Remote host closed the connection)
314: [20:38:00] * nickmolhoek has joined #silverstripe
315: [20:40:00] <MiniZeka> yes simon_w
316: [20:41:00] <MiniZeka> and it worked until today afternoon
317: [20:41:00] <MiniZeka> ul which holds tabs doesn't get right css class
318: [20:41:00] <MiniZeka> problem is, is uploaded ALL files from localhost to web server
319: [20:42:00] <simon_w> That sounds like you've changed something that's gone and broken it
320: [20:44:00] <MiniZeka> on localhost there are no tabs :(
321: [20:44:00] <MiniZeka> all of code (cms, framework, my_site)
322: [20:44:00] <MiniZeka> on server it works fine
323: [20:44:00] <MiniZeka> I just added new GF
324: [20:44:00] <MiniZeka> uploaded to host
325: [20:45:00] <simon_w> What differences exist in the server setups?
326: [20:45:00] <simon_w> Getting anything in the error console?
327: [20:50:00] <MiniZeka> no difference
328: [20:50:00] <MiniZeka> [20:13] <MiniZeka> UL tag that should have this html [20:13] <MiniZeka> <ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all" role="tablist"> [20:13] <MiniZeka> only has this [20:14] <MiniZeka> <ul>
329: [20:50:00] <MiniZeka> just ul missing class
330: [20:50:00] <MiniZeka> no error in console
331: [20:52:00] <MiniZeka> nevermind... I (re)styled most of the admin, just added css rules for ul with missing class and it's fixed
332: [20:55:00] * eikonos quit (Read error: No route to host)
333: [20:57:00] * r3v3rb quit (Quit: r3v3rb)
334: [21:00:00] * r3v3rb has joined #silverstripe
335: [21:02:00] * priithansen has joined #silverstripe
336: [21:08:00] * zfmf has left #silverstripe
337: [21:43:00] <MiniZeka> I must say... despite all the troubles I had and still have going through this project
338: [21:44:00] <MiniZeka> I effin LOVE silverstripe :)
339: [21:46:00] * gumble has joined #silverstripe
340: [21:47:00] <gumble> why do most of the model functions always start like this: e.g. function mymodel starts with $return = parent::mymodel() I just don't get it
341: [21:53:00] <simon_w> I count 5 that'd do that (though 4 of them don't need to care about the return value). Hardly most.
342: [21:54:00] <gumble> simon_w, sorry then most of the functions you stumble across when you start reading through the docs of ss
343: [21:55:00] <simon_w> Usually, you do that when the return value of the method you're overriding still matters
344: [21:56:00] <gumble> simon_w, so that function doesn't just call itself in a static context? thats what I thought! how can it call the original function when it is overwriting it
345: [21:57:00] * eikonos has joined #silverstripe
346: [21:57:00] * eikonos has joined #silverstripe
347: [21:57:00] <simon_w> That's what parent:: does. http://php.net/manual/en/keyword.parent.php
348: [21:57:00] * eikonos quit (Changing host)
349: [21:58:00] * SightUnseen has joined #silverstripe
350: [21:58:00] <gumble> thanks
351: [21:59:00] * SightUnseen has left #silverstripe
352: [22:04:00] * Colin[pi] has joined #silverstripe
353: [22:06:00] * r3v3rb quit (Quit: r3v3rb)
354: [22:07:00] <Pyromanik> is it possible to put a ?BackURL=blah on a logout?
355: [22:08:00] <Pyromanik> yes :>
356: [22:10:00] <MiniZeka> how could I remove some fields from edit member?
357: [22:11:00] <simon_w> udpateCMSFields in a DataExtension on Member
358: [22:11:00] <MiniZeka> great :)
359: [22:11:00] <simon_w> *updateCMSFields
360: [22:12:00] <MiniZeka> did anybody made drag-n-drop layout editor for SS?
361: [22:14:00] * willr_ has joined #silverstripe
362: [22:15:00] <simon_w> Since that's not really SS's paradigm, I doubt it
363: [22:17:00] <MiniZeka> how come it's not SS paradigm?
364: [22:19:00] <irogue> "easiest" vs "most powerful". attempting to be both will almost always fail.
365: [22:19:00] <MiniZeka> "almost" is the keyword ;)
366: [22:20:00] <MiniZeka> but, unrelated to that
367: [22:20:00] <MiniZeka> why $this->ID in updateCMSFields on DataExtension for Member
368: [22:20:00] <MiniZeka> doesn't return anything?
369: [22:21:00] <Zauberfisch> the Member object that you extend with this DataExtension is stored in $this->owner
370: [22:21:00] <Zauberfisch> MiniZeka are your last 2 lines 1 question?
371: [22:21:00] <Zauberfisch> if so, its because $this is the DataExtension object, not the Member object
372: [22:22:00] <MiniZeka> isn't that 2.* code?
373: [22:22:00] <Zauberfisch> so the ID of the member inside the extension is to be accessed like this: $this->owner->ID
374: [22:22:00] <MiniZeka> yes, 2 lines = one question
375: [22:23:00] <Zauberfisch> $this->owner is still the way in 3.x
376: [22:24:00] <simon_w> Because I'm too lazy to write tests. :p
377: [22:24:00] <MiniZeka> lol
378: [22:24:00] <Zauberfisch> the only thing that changed is that you no longer use extraStatics()
379: [22:25:00] <simon_w> MiniZeka, also, the CMS paradigm in SS is one of editing content, and just the content. Layout is all done outside of that.
380: [22:25:00] <MiniZeka> ok
381: [22:26:00] <MiniZeka> simon_w: I have some ideas about building layout editor, but those are still ideas
382: [22:27:00] <MiniZeka> as LayoutEditor will use .ss files inside Includes directory to render content
383: [22:27:00] <MiniZeka> but that's far from even starting, let alone completing
384: [22:27:00] <MiniZeka> only thing that will be (kind of) left out are .ss files inside Layout folder
385: [22:28:00] <MiniZeka> just asked if anyone made it already, to avoid double work :)
386: [22:28:00] <MiniZeka> since almost everyone of them will find
387: [22:28:00] <irogue> [10:24] <@simon_w> Because I'm too lazy to write tests. :p
388: [22:28:00] <irogue> me in a nutshell
389: [22:28:00] <MiniZeka> btw irogue, lazy people are the best :)
390: [22:29:00] <MiniZeka> easiest way to complete complicated tasks :)
391: [22:29:00] <unsignedint> simon_w: Whats the recommended way of doing links in the CMS? I want a field that either links to a page in the same website or to an external url, and I want the user to be able to choose the page from a list. Is there something to Links like UploadField is to Images?
392: [22:29:00] <MiniZeka> I know. because I'm one of them :D
393: [22:30:00] <simon_w> unsignedint, why not ask everyone, rather than just me?
394: [22:30:00] <unsignedint> simon_w: Because you'd be the one to know about correct practices since you're one of the core developers I believe
395: [22:30:00] <willr_> MiniZeka, didn't see your original post but sounds similar to the goals of http://www.silverstripe.org/dynamic-templates-module/
396: [22:31:00] <MiniZeka> willr_ this is the first time I heard about that module :)
397: [22:32:00] <MiniZeka> to make our life easier :)
398: [22:32:00] <MiniZeka> we discuss different and crazy ideas that can extend SS even more
399: [22:32:00] <willr_> MiniZeka I haven't used it, not use how well supported it is but the idea was the closest thing to a layout manager / customize function
400: [22:32:00] <MiniZeka> during my free time in company I work (99% of our projects are based on SS)
401: [22:32:00] <simon_w> unsignedint, so? willr_ and sminnee's are core devs too, and others may now the answer.
402: [22:32:00] <simon_w> Anyway, the answer is no. You can copy with RedirectorPage does though
403: [22:33:00] <MiniZeka> which worked quite well
404: [22:33:00] <MiniZeka> I build LayoutEditor for my custom CMS (that was way before I found SS)
405: [22:34:00] <MiniZeka> inside SS
406: [22:34:00] <MiniZeka> still planing, but it will be made eventually
407: [22:34:00] * priithansen quit (Quit: priithansen)
408: [22:34:00] <MiniZeka> and we have three devs talking on a daily basis how to make it work
409: [22:34:00] <willr_> I'm sure people would love to be able too but I barely use the CMS for projects these days. Most of my projects are framework only
410: [22:35:00] <simon_w> willr_, do any of the core devs actually use the CMS any more?
411: [22:36:00] <willr_> chillu obviously. CWP team will be all over it
412: [22:36:00] <MiniZeka> for now, we have 2 different paths of making it - one will be available inside CMS, one on front-end (for logged-in admin users)
413: [22:37:00] <simon_w> Oh good, it's not going to end up like the installer
414: [22:37:00] <MiniZeka> but no matter how we make it, it will be published as a WTFPL module :)
415: [22:38:00] * MiniZeka is now known as Minizeka|Sleepin
416: [22:39:00] * Minizeka|Sleepin away, my wife is going to kill me :)
417: [22:40:00] * willmorgan quit (Read error: Connection reset by peer)
418: [22:46:00] <simon_w> Woo, time to delete most of the third party folder!
419: [22:47:00] <simon_w> Well, sapphire/thirdparty
420: [22:47:00] <simon_w> Yeah, stupid Zend
421: [22:47:00] <willr_> it's such a beast now..
422: [22:47:00] <willr_> simon_w framework/thirdparty ?
423: [22:47:00] <willr_> it's s
424: [22:48:00] <simon_w> Also, no cms so I can already ditch tinyMCE
425: [22:48:00] * EasyCo has joined #silverstripe
426: [22:49:00] <EasyCo> G'morning
427: [22:49:00] <Colin[pi]> morning
428: [22:50:00] <irogue> kia ora
429: [22:52:00] <simon_w> Mmm, I like pbcopy/pbpaste
430: [22:55:00] <ss23> JELLY DONUTS
431: [22:55:00] <ss23> http://www.offtheback.co.nz/
432: [22:55:00] <ss23> :D
433: [22:56:00] <EasyCo> Those are very unappealing jelly donuts
434: [22:56:00] <EasyCo> just sayin'
435: [22:57:00] <irogue> its cos they're honest
436: [22:58:00] <irogue> not shopped as hell pics that when you get them you're like WTF THESE DON'T LOOK LIKE ZE PACKAGING
437: [22:59:00] <ss23> They're made out of sugar, what's not to like?
438: [22:59:00] <ss23> lol
439: [23:03:00] <Colin[pi]> yeah that pic kinda makes them look like they're made out of plastic
440: [23:05:00] <ss23> delicious sugar plastic....
441: [23:05:00] <ss23> mm
442: [23:14:00] <irogue> IT'S RAINING MEN
443: [23:15:00] <ss23> HALLUGAH
444: [23:16:00] * Zauberfisch-idle has joined #silverstripe
445: [23:16:00] <xyphoid> or rubber
446: [23:16:00] <xyphoid> ugh
447: [23:19:00] * Zauberfisch|idle quit (Ping timeout: 246 seconds)
448: [23:23:00] * Bollig|DesignCty has joined #silverstripe
449: [23:36:00] * Zauberfisch quit (Remote host closed the connection)
450: [23:40:00] * Zauberfisch-idle quit (Ping timeout: 256 seconds)
451: [23:42:00] <EasyCo> I kind of asked this question late last week but didn't really resolve it. Is there a pattern for nesting layouts which respond to the URL? For example: site.com/mechanis/diesel would load the Page.ss -> Mechanics.ss -> Diesel.ss as grandparent->parent->child nesting relationship
452: [23:44:00] <EasyCo> or do you just do it manually in the Mechanics.ss template doing something like <% if Action = Diesel %><% include DieselPage.ss %><& end_if %>

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