#silverstripe IRC Log

IRC log for 14 January 2015

All timestamps are in UTC.

1: [00:01:39] <Stomach> false
2: [00:01:43] <Stomach> muskie9 ^
3: [00:03:48] * benjhocking1 has joined #silverstripe
4: [00:09:20] * benjhocking quit (Ping timeout: 264 seconds)
5: [00:09:50] * aragonne has joined #silverstripe
6: [00:16:19] * babak has joined #silverstripe
7: [00:17:23] <muskie9> thanks Stomach, ended up doing a round about way of in_array($ID, Foo::get()->column('ID'))... but knowing it
8: [00:17:29] <muskie9> I'll probably switch it
9: [00:19:06] <antmas> anyone from Stripetheweb here?
10: [00:19:55] * mirrors has joined #silverstripe
11: [00:22:14] <mirrors> does anyone know how I can easily loop through the $db array in a .ss template
12: [00:22:57] <Stomach> muskie9 - actually I think I'm wrong
13: [00:23:00] <Ryan-Toast> mirrors: you can call anything from the $db in the template?
14: [00:23:14] <muskie9> I thought maybe an empty Foo object
15: [00:23:26] <Stomach> yeah, it looks like thats actually the case
16: [00:23:41] <mirrors> Ryan-Toast: in the template I do not know what $db keys there are...so I want to loop the $db array
17: [00:23:56] <Stomach> or even just the query which gets the object
18: [00:23:56] <muskie9> the in_array might work well enough for the time being... thanks though
19: [00:24:03] <Stomach> simon_w|work might know
20: [00:24:34] <Stomach> mirrors - can you loop $db
21: [00:24:34] <Stomach> ?
22: [00:24:59] <adrexia> can you loop $Top ?
23: [00:25:38] <Stomach> there are db(), has_one() and has_many() functions on controllers
24: [00:25:40] <adrexia> though I'm not sure what exactly you could call things
25: [00:25:51] <Stomach> so you should be able to do <% loop $db %>$Me<% end_loop %>
26: [00:26:05] <adrexia> oh $Me
27: [00:26:07] <adrexia> that's right
28: [00:26:54] <mirrors> Stomach: that is great if I can use <% loop $db %>$Me<% end_loop %> however i want it to be more like <% loop $db %>db[key']: $Me<% end_loop %>
29: [00:27:13] <Stomach> $Name $Val
30: [00:27:14] <Stomach> ?
31: [00:27:43] <antmas> bah, stupid carousel not saving order from drag and drop :(
32: [00:27:59] <zippy> antmas: is the order saved... but you haven't applied a default sort
33: [00:28:15] <antmas> zippy: ahhh, good point
34: [00:28:31] * lerni has joined #silverstripe
35: [00:28:35] <Stomach> or set up a custom function that does like: $stuff = ArrayList::create(); foreach($this->db() as $db) {$stuff->push(ArrayData::create(array('Name') => $db->Name, 'Value' => $db->Value()));} return $stuff;
36: [00:28:38] <adrexia> mirrors you might need to prep it in the php layer then
37: [00:28:46] <antmas> the order doesn't save, but when you select 'allow drag and blah', the order is the one you set
38: [00:28:56] <adrexia> the registry module essentially does that
39: [00:29:07] <Stomach> antmas - is it versioned
40: [00:29:20] <antmas> Stomach: ah, could be
41: [00:29:29] <Stomach> if so you will need to write the versioned table
42: [00:29:43] <Stomach> public function onAfterGridFieldRowSort($items)
43: [00:29:43] <Stomach> {
44: [00:29:43] <Stomach> foreach ($items as $item) {
45: [00:29:43] <Stomach> if ($item->isPublished()) {
46: [00:29:43] <Stomach> $item->doPublish();
47: [00:29:44] <Stomach> }
48: [00:29:44] <Stomach> }
49: [00:29:45] <Stomach> }
50: [00:29:45] <Stomach> or some shit
51: [00:30:00] <adrexia> https://github.com/silverstripe-labs/silverstripe-registry/blob/master/code/RegistryPage.php#L263
52: [00:30:41] <antmas> Stomach: nope, not staged
53: [00:30:54] <Stomach> is it just in a model admin?
54: [00:31:12] * aragonne quit (Quit: aragonne)
55: [00:31:14] <zippy> antmas: your DO you have set a default sort for the sort order asc and flushed?
56: [00:31:19] <Stomach> you could override getList() to getList() { return parent::getList()->sort('CustomSort');}
57: [00:31:31] <antmas> lemme check sorting
58: [00:32:58] * lerni quit (Ping timeout: 255 seconds)
59: [00:33:54] <Stomach> WELL WHAT IS IT ANTMAS
60: [00:34:00] <Stomach> way to leave a guy hanging
61: [00:34:03] <antmas> Stomach: ON PHONE
62: [00:34:08] <Stomach> TALK FASTER
63: [00:35:12] <zippy> antmas: don't make me drive down there
64: [00:36:26] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
65: [00:37:52] <Stomach> zippy
66: [00:37:54] <Stomach> sick him!
67: [00:37:55] <antmas> hah, no sorting
68: [00:38:25] <Stomach> amateur hour up in here!
69: [00:38:38] <ss23> Stomach: DON'T SPAM CODE IN HERE LAMER
70: [00:38:40] <ss23> Use a pastebin
71: [00:38:51] <Stomach> or what
72: [00:40:00] * ss23 glares
73: [00:40:05] <ss23> I have +o
74: [00:40:11] <zippy> Stomach: ss23 will 'swish' his hair at you
75: [00:40:22] <ss23> Believe me, getting flicked in the face with my hair will hurt
76: [00:41:08] <Stomach> ill catch it in my beard and fuck you up
77: [00:41:32] <ss23> lol
78: [00:42:31] <antmas> ss23: why would it hurt?
79: [00:43:08] <Stomach> because its full of animal juices
80: [00:43:18] <antmas> o.O
81: [00:43:27] * r3v3rb quit (Quit: r3v3rb)
82: [00:43:40] <Stomach> ss23 you're lucky that https://github.com/silverstripe/silverstripe-framework/pull/3775 isn't in effect yet
83: [00:43:52] <Stomach> or I would run crying to camfindlay about you!
84: [00:43:53] <Stomach> hehehe
85: [00:44:15] <ss23> lol
86: [00:44:22] <ss23> Because it's hefty, antmas
87: [00:44:30] <ss23> Like flicking a towel at someoen
88: [00:44:47] * willr has joined #silverstripe
89: [00:44:58] <zippy> heh
90: [00:45:20] <zippy> "how would you describe your haircut?" hefty
91: [00:45:46] <ss23> hahahhahaaha
92: [00:46:36] <zippy> wonder if that'd make a good pickup line...
93: [00:46:56] <zippy> "mmm, your hair looks hefty... wanna go for a coffee"
94: [00:47:07] <zippy> 'coffee'
95: [00:47:24] <Stomach> https://www.youtube.com/watch?v=ymKLymvwD2U
96: [00:48:25] <zippy> Stomach: I think ss23 was used in that video for the hair, sure he's in the credits somewhere
97: [00:48:53] <ss23> When you have hefty hair
98: [00:48:55] <ss23> you must whip it
99: [00:48:57] <ss23> whip it good
100: [00:50:02] <Stomach> cool whip
101: [00:50:48] <antmas> you should come to work with it braided
102: [00:50:53] <antmas> or corn rows
103: [00:52:46] <ss23> Or CuT OFF
104: [00:52:46] <ss23> :O
105: [00:55:32] * jenniferaslan quit (Quit: jenniferaslan has left the room)
106: [00:55:58] * spekulatius has joined #silverstripe
107: [01:05:17] <Stomach> you mean CUTE OFF
108: [01:05:22] <Stomach> lololol
109: [01:05:28] * Stomach needs to do his job today
110: [01:05:29] <Stomach> >_<
111: [01:06:23] <zippy> ^
112: [01:06:26] <zippy> tell me about it
113: [01:08:19] <zippy> Lightwave Home Ultimatedata. 1,000/500Mbps, $99
114: [01:08:34] <zippy> damn.. why couldnt Richmond have won the gigatown.. :(
115: [01:08:59] <zippy> or.. 200/200 with 80gb of data is $140, stupid
116: [01:09:16] <nontgor> I've upgraded my version of Mappable, https://github.com/gordonbanderson/Mappable , to include POI (Point of Interest) layers editable in Model Admin. Oh and fixed the lack of icons
117: [01:10:18] <zippy> gj Gordon
118: [01:16:09] <Stomach> starred!
119: [01:17:01] <nontgor> :)
120: [01:17:36] <nontgor> need to update the readme mind you :)
121: [01:23:49] * micmania1 quit (Quit: micmania1)
122: [01:35:49] * vebb has joined #silverstripe
123: [01:36:53] * veb is now known as devveb
124: [01:39:13] * antmas quit (Ping timeout: 246 seconds)
125: [01:45:02] * micmania1 has joined #silverstripe
126: [01:53:00] <Stomach> code reviews are so much fun
127: [01:53:02] <Stomach> >_<
128: [01:53:13] <simon_w|work> I know!
129: [01:53:23] * simon_w|work does the code reviews here :D
130: [01:54:27] <Stomach> they always take so much more time than I think they will
131: [01:56:50] * r_hector has joined #silverstripe
132: [01:59:19] * micmania1 quit (Quit: micmania1)
133: [01:59:34] <ss23> Stop hiring people who don't write perfect code!
134: [02:01:05] <Ryan-Toast> Can you display HTML in a DropDownField?
135: [02:01:07] * Stomach fires himself
136: [02:01:27] <Ryan-Toast> i.e in the array array(‘foo’ => ‘Herp &amp; Derp’)
137: [02:01:27] <Stomach> Ryan-Toast - sure! probably not
138: [02:01:36] <Stomach> did you try it?
139: [02:01:43] <Ryan-Toast> yeah, no dice by default.
140: [02:02:01] * micmania1 has joined #silverstripe
141: [02:03:37] <Stomach> just create your own DropdownField.ss
142: [02:03:41] <Stomach> and remove $Title.XML
143: [02:03:50] <Stomach> well, change it
144: [02:03:55] <Ryan-Toast> Yeah, may just do that. Chur
145: [02:05:33] * antmas has joined #silverstripe
146: [02:05:56] <Stomach> ->setSource(array('HELLYEAH' => '<img src="http://i.imgur.com/Ktp1Nyd.gif" alt="pls"/>'))
147: [02:09:11] <antmas> I feel midweek beers coming on
148: [02:09:54] * mobiusnz has joined #silverstripe
149: [02:14:44] <Stomach> antmas - its my brothers birthday oh yeah beers time
150: [02:15:02] <antmas> Stomach: :D
151: [02:15:10] <antmas> Stomach: hi5 o/
152: [02:15:16] <Stomach> \o
153: [02:15:21] <Stomach> I need to go get him a present
154: [02:15:39] <Stomach> he never replies when I ask him what he wants
155: [02:15:41] <Stomach> and he is turning 30
156: [02:15:49] <Stomach> so he might just end up with 30 dollar mixes
157: [02:15:51] <Stomach> useless cockbag
158: [02:16:23] <antmas> lol
159: [02:17:24] <Stomach> irogue you beast
160: [02:17:26] <Stomach> changing venues
161: [02:17:29] <Stomach> what a badass
162: [02:18:04] <antmas> I should go to wellington again soon
163: [02:21:58] * r_hector quit (Ping timeout: 264 seconds)
164: [02:22:47] * antmas quit (Quit: Page closed)
165: [02:26:55] <zippy> Ryan-Toast: http://semantic-ui.com/ u?
166: [02:27:53] <Olliepop> any idea why Security::getPasswordResetLink is sending me to a page requesting the OLD password along with the expected 2 new password fields?
167: [02:28:09] <Olliepop> How can I get rid of the old password field requirement?
168: [02:28:32] <micmania1> Olliepop: sounds like you’re already logged in
169: [02:28:34] <Olliepop> I'm doing $token = $member->generateAutologinTokenAndStoreHash(); then Security::getPasswordResetLink($member, $token)
170: [02:28:58] <Ryan-Toast> zippy: they need to learn how to hide sidebars in webkit.
171: [02:28:59] <Olliepop> micmania1 you are correct
172: [02:29:03] <Olliepop> micmania1 thanks hahaha
173: [02:29:08] <Ryan-Toast> zippy: but pretty nice either way.
174: [02:29:33] <micmania1> Olliepop: i’ve done exactly the same
175: [02:47:46] * SphereSilver quit (Ping timeout: 265 seconds)
176: [02:48:44] * adrexia quit (Ping timeout: 265 seconds)
177: [02:49:03] * willr quit (Quit: willr)
178: [02:50:09] * SphereSilver has joined #silverstripe
179: [02:50:12] * adrexia has joined #silverstripe
180: [02:50:48] * babak quit (Ping timeout: 244 seconds)
181: [02:51:58] * babak has joined #silverstripe
182: [02:52:47] <nontgor> Stomach: If he's turning 30 get him health insurance :-P
183: [02:53:05] <Stomach> got him $30 in one dollar coins for dollar mixes
184: [02:53:13] <Stomach> and the inflation for that amount since he was born
185: [02:54:18] * mobiusnz quit (Read error: Network is unreachable)
186: [02:54:31] * mobiusnz has joined #silverstripe
187: [03:01:06] * willr has joined #silverstripe
188: [03:03:42] * SphereSilver quit (Ping timeout: 245 seconds)
189: [03:03:57] * mirrors quit (Quit: Page closed)
190: [03:05:09] * SphereSilver has joined #silverstripe
191: [03:06:37] * antmas has joined #silverstripe
192: [03:06:56] * antmas_ has joined #silverstripe
193: [03:10:55] * antmas quit (Ping timeout: 246 seconds)
194: [03:13:05] * vebb quit (Quit: veb-irc: quit)
195: [03:17:39] * SphereSilver quit (Ping timeout: 244 seconds)
196: [03:18:18] * antmas_ quit (Quit: Page closed)
197: [03:25:16] * nameless has joined #silverstripe
198: [03:25:45] * nameless has left #silverstripe
199: [03:26:46] * ghostcheese_ has joined #silverstripe
200: [03:30:31] * ghostcheese quit (Ping timeout: 246 seconds)
201: [03:31:53] <pippy> what's the deal with dancing monkey gifs?
202: [03:32:39] <Colin[pi]> pippy: better than spankin the monkey gifs
203: [03:33:25] <pippy> only 90's kids will remember dancing hamster gifs
204: [03:34:05] <Colin[pi]> pippy: haha my son was showing me this great new song he found on youtube, the hamster dance
205: [03:34:16] <Colin[pi]> I'm like dude... I saw that before you were even a twinkle in my eye
206: [03:34:45] <pippy> lol
207: [03:35:27] <pippy> reminds me of that xkcd comic of the kid scaring the parent about how he was born after 9/11
208: [03:36:09] * SphereSilver has joined #silverstripe
209: [03:37:28] <Colin[pi]> couple of years and kids born after 9/11 will be adults
210: [03:37:30] <Colin[pi]> that's scary
211: [03:39:33] <zippy> we are as close to the year 2030 as the year 2000.
212: [03:40:30] <Colin[pi]> :o
213: [03:40:35] <Colin[pi]> didnt think of that
214: [03:40:46] <Colin[pi]> where is my flying car?
215: [03:41:58] <Colin[pi]> zippy: how bout this one... toy story came out 20 years ago
216: [03:42:32] <Stomach> urgh
217: [03:42:34] <Stomach> stop it
218: [03:42:38] <zippy> no-one was alive back then!!
219: [03:42:40] <Colin[pi]> jurassic park, 22 years ago
220: [03:44:12] * aragonne has joined #silverstripe
221: [03:46:10] <Colin[pi]> I think I might start using Komodo Edit
222: [03:46:27] <Colin[pi]> I quite like it after having another mess around in it
223: [03:46:58] <simon_w|work> That's nothing. LoTR came out 60 years ago
224: [03:47:07] <Colin[pi]> simon_w|work: LIES.. wait
225: [03:47:42] <simon_w|work> Fellowship first released in July 1954
226: [03:48:14] <Colin[pi]> it did indeed
227: [03:48:24] <Colin[pi]> which meant my dad was 13
228: [03:48:27] <Colin[pi]> that's nuts
229: [03:48:39] * SphereSilver quit (Ping timeout: 244 seconds)
230: [03:48:59] <irogue> <Colin[pi]> which meant my dad was 13
231: [03:49:23] * Colin[pi] waits
232: [03:49:25] <irogue> OLD
233: [03:49:39] * SphereSilver has joined #silverstripe
234: [03:49:43] <zippy> irogue: was that some two finger typing there or what?
235: [03:49:50] <irogue> my mum was -15 :P
236: [03:49:53] <zippy> someone stole my L key
237: [03:49:55] <Colin[pi]> zippy: one handed typing ;)
238: [03:49:57] <zippy> oh there it is :P
239: [03:50:09] * SphereSilver quit (Read error: Connection reset by peer)
240: [03:50:46] * SphereSilver has joined #silverstripe
241: [03:51:52] <Colin[pi]> i wonder if I should get one of these: http://www.globalpc.co.nz/prodimages/KB06015.jpg
242: [03:51:52] * ghostcheese_ quit (Ping timeout: 246 seconds)
243: [03:52:33] <OldBigBeak> looks fucking terrible
244: [03:52:41] <OldBigBeak> for a guy that went LEEL DVOROKROAHKK yesterday
245: [03:53:19] <Colin[pi]> OldBigBeak: just for gaming stuff, handy for elite dangerous thrusters/key bindings
246: [03:54:01] <Colin[pi]> OldBigBeak: plus would match my existing razer thingies :D
247: [03:56:02] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
248: [03:57:33] * aragonne quit (Quit: aragonne)
249: [04:00:31] * spekulatius quit (Quit: Leaving)
250: [04:02:05] * SphereSilver quit (Ping timeout: 243 seconds)
251: [04:02:17] * willr quit (Quit: willr)
252: [04:04:16] * hailwood quit (Read error: Connection reset by peer)
253: [04:06:40] <simon_w|work> It's a good start to the freeze cycle when the tests relating to the financial side of things fail
254: [04:14:56] <Kingy> morning
255: [04:15:43] * SphereSilver has joined #silverstripe
256: [04:16:12] <Colin[pi]> hey Kingy!
257: [04:16:23] <Kingy> sup Colin[pi]
258: [04:17:47] <Colin[pi]> Kingy: not much.. having motivational troubles after coming back from holidays :(
259: [04:17:58] <Kingy> haha I know those feels
260: [04:18:28] * Olliepop quit (Ping timeout: 246 seconds)
261: [04:20:14] <Stomach> irogue - your mum was born in '69?
262: [04:20:15] <Stomach> hehehe
263: [04:20:27] * wracu quit (Ping timeout: 264 seconds)
264: [04:21:48] * Colin[pi] sniggers
265: [04:23:36] * Ryan-Toast quit (Quit: Ryan-Toast)
266: [04:23:39] * r_hector has joined #silverstripe
267: [04:25:41] * camfindlay quit (Quit: camfindlay)
268: [04:42:10] * jedateach quit (Quit: jedateach)
269: [04:48:29] <Stomach> and RFC-1 has landed
270: [04:48:34] <Stomach> https://github.com/silverstripe/silverstripe-framework/issues/3792
271: [04:48:41] <Stomach> with a view for a 3.x release
272: [04:48:51] <Stomach> why do they insist on supporting 5.3
273: [04:48:52] <Stomach> >_<
274: [04:49:13] * Ryan-Toast has joined #silverstripe
275: [04:52:53] * Stomach quit (Ping timeout: 240 seconds)
276: [04:56:39] <nontgor> In what country would you start a tourism festival on busy roads just as rush hour begins? You got it, Thailand! http://www.thaitravelblogs.com/2015/01/thailand-tourism-festival-2015-in-lumpini-park-from-14-18-january/
277: [04:58:00] * cloph_away has joined #silverstripe
278: [04:58:17] * cloph quit (Ping timeout: 252 seconds)
279: [05:00:28] * babak quit (Ping timeout: 244 seconds)
280: [05:03:00] * babak has joined #silverstripe
281: [05:08:44] * Ryan-Toast quit (Quit: Ryan-Toast)
282: [05:10:16] * benjhocking has joined #silverstripe
283: [05:13:23] * benjhocking1 quit (Ping timeout: 244 seconds)
284: [05:36:39] * Colin[pi] quit (Ping timeout: 244 seconds)
285: [05:56:15] <irogue> <Stomach> irogue - your mum was born in '69?
286: [05:56:18] <irogue> yep, summer of
287: [06:05:57] * babak quit (Read error: Connection reset by peer)
288: [06:06:56] * babak has joined #silverstripe
289: [06:07:19] * willr has joined #silverstripe
290: [06:16:36] * aragonne has joined #silverstripe
291: [06:19:31] * SphereSilver quit (Ping timeout: 244 seconds)
292: [06:29:10] * SphereSilver has joined #silverstripe
293: [06:31:16] * willr quit (Quit: willr)
294: [06:39:11] * WandL quit (Quit: Textual IRC Client: www.textualapp.com)
295: [06:45:01] * micmania1 quit (Quit: micmania1)
296: [06:47:25] * SphereSilver quit (Ping timeout: 244 seconds)
297: [06:47:40] * SphereSilver has joined #silverstripe
298: [06:54:00] * Colin[pi] has joined #silverstripe
299: [07:00:39] * Error404NotFound has joined #silverstripe
300: [07:00:59] * aragonne quit (Quit: aragonne)
301: [07:03:53] * Colin[pi] quit ()
302: [07:14:04] <Kingy> hey how would I go about resizing an image based on orientation?
303: [07:20:49] <ss23> Elaborate
304: [07:20:56] <ss23> Orientation of what?
305: [07:23:59] <nontgor> I guess he means whether it is a landscape or a portrait image
306: [07:24:25] <nontgor> I tend to use the focuspoint module now and crop images to the same size for neatness
307: [07:25:03] <nontgor> what's the business logic here Kingy?
308: [07:32:18] * glenn-bautista quit (Quit: Leaving.)
309: [07:38:11] * lerni_ has joined #silverstripe
310: [07:41:30] * lerni_ quit (Client Quit)
311: [07:46:23] * jedateach has joined #silverstripe
312: [08:10:47] * willr has joined #silverstripe
313: [08:11:48] <irogue> <Kingy> hey how would I go about resizing an image based on orientation?
314: [08:12:25] <irogue> "View this site in: Desktop | Mobile | Gay"
315: [08:13:18] <Kingy> irogue: Basically on an article people upload images of random sizes, and I need to resize them accordingly
316: [08:13:27] <Kingy> if portrait then resize to xx,yy
317: [08:13:41] <Kingy> if landscape then resize to x,y
318: [08:21:33] <irogue> Kingy: http://api.silverstripe.org/3.1/source-class-Image.html#647-661
319: [08:25:16] * aragonne has joined #silverstripe
320: [08:30:46] * simon_w has joined #silverstripe
321: [08:43:41] * zippy__ has joined #silverstripe
322: [08:50:06] * zippy__ quit (Quit: Textual IRC Client: www.textualapp.com)
323: [08:51:46] * willr quit (Quit: willr)
324: [09:03:09] * lawrencenz quit (Remote host closed the connection)
325: [09:05:02] * kinglozzer has joined #silverstripe
326: [09:05:04] <Eliseth> Morning
327: [09:05:55] <kinglozzer> Morning Eliseth
328: [09:05:55] * jedateach quit (Quit: jedateach)
329: [09:32:52] * travis-ci has joined #silverstripe
330: [09:32:52] <travis-ci> silverstripe/silverstripe-framework#3873 (3.1 - dae4de1 : Loz Calver): The build passed.
331: [09:32:52] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/cf9c6666dd54...dae4de116984
332: [09:32:52] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/46959717
333: [09:32:52] * travis-ci has left #silverstripe
334: [09:41:26] * travis-ci has joined #silverstripe
335: [09:41:26] <travis-ci> silverstripe/silverstripe-framework#3874 (3.1 - 7b12fb9 : Loz Calver): The build passed.
336: [09:41:26] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/dae4de116984...7b12fb9a60d3
337: [09:41:26] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/46960797
338: [09:41:26] * travis-ci has left #silverstripe
339: [09:58:07] * travis-ci has joined #silverstripe
340: [09:58:08] <travis-ci> silverstripe/silverstripe-framework#3876 (3.1 - c18bf62 : Loz Calver): The build passed.
341: [09:58:08] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/7b12fb9a60d3...c18bf6222be7
342: [09:58:08] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/46961491
343: [09:58:08] * travis-ci has left #silverstripe
344: [09:58:33] <kinglozzer> MOAR BUILDS
345: [10:01:41] * SphereSilver quit (Ping timeout: 244 seconds)
346: [10:02:57] * Pynmxjk has joined #silverstripe
347: [10:03:07] <Pynmxjk> ah shit.
348: [10:03:16] * Pynmxjk quit (Client Quit)
349: [10:03:41] * Pynmxjk has joined #silverstripe
350: [10:03:44] * SphereSilver has joined #silverstripe
351: [10:03:55] <Pynmxjk> beh-ah.
352: [10:04:06] <Pynmxjk> https all the things!
353: [10:08:55] * Error404NotFound quit (Ping timeout: 244 seconds)
354: [10:18:00] * r_hector quit (Quit: Leaving.)
355: [10:21:50] * babak quit (Ping timeout: 244 seconds)
356: [10:22:10] * babak has joined #silverstripe
357: [10:35:46] * Otterpocket has joined #silverstripe
358: [10:36:22] <Otterpocket> kinglozzer: You know Greggs site is built on Silverstripe?
359: [10:38:48] <Pynmxjk> Otterpocket: yes, willmorgan and dhensby made it.
360: [10:38:55] <Pynmxjk> et. al.
361: [10:39:07] <Pynmxjk> PigeonFriend ^
362: [10:39:15] <Pynmxjk> #iirc.
363: [10:39:19] <Otterpocket> ahh
364: [10:39:40] <Otterpocket> I stumbled onto this page https://wappalyzer.com/applications/silverstripe
365: [10:39:41] <Pynmxjk> that is, PigeonFriend == dhensby
366: [10:39:52] <Pynmxjk> , iirc.
367: [10:41:50] <Pynmxjk> Otterpocket: hahahahaaha, I like how that site lists a comany's dev for their client.
368: [10:41:54] <Pynmxjk> http://www.shca.web02.xtools.net.nz/
369: [10:42:57] <Otterpocket> I was going to see if I could find a Fingerprint for Silverstripe to run through Shodan
370: [10:43:04] <Pynmxjk> also, I like how the growth over time has no scale on the growth axis
371: [10:43:14] <Pynmxjk> Otterpocket: generator meta tag
372: [10:43:29] <Pynmxjk> by default, comes out with $MetaTags
373: [10:44:25] <elgabbu> hi guys .... so i have created a controller that has an action show (/tags/show/<tag-name>)
374: [10:44:58] <elgabbu> i was wondering how to build the tag name part and how to read it in the action to retrieve the coresponding record
375: [10:47:21] <Pynmxjk> elgabbu: https://github.com/NightJar/ssrigging-slug
376: [10:47:53] <Pynmxjk> not no readme, but examples are hiding in comments somewhere
377: [10:49:13] <Pynmxjk> mmm, example in the _config.php
378: [10:49:17] <Pynmxjk> for controller
379: [10:49:44] * Kingy is now known as Kingy[a]
380: [10:50:24] * Kingy[a] is now known as Kingy
381: [10:52:01] <elgabbu> Pynmxjk but SS already those this for pages ... do i still need to use this module?
382: [10:52:32] <Pynmxjk> elgabbu: you misunderstand the usage.
383: [10:52:38] <Pynmxjk> yes, ss does this for pages.
384: [10:52:57] <Pynmxjk> the example is of a thing (eg Tag) associated with a Page.
385: [10:53:04] <Pynmxjk> ie, Page man_many Tags
386: [10:53:27] <Pynmxjk> but you could use the controller part without it being a Page, it's just an example.
387: [10:55:10] <Pynmxjk> You need not use the module if you don't want to, but it is an example of how to do just what you're asking about.
388: [10:55:21] <Pynmxjk> well, it contains examples.
389: [10:58:03] <elgabbu> public function Link() { return $this->Parent()->Link().$this->URLSlug,'/'; }
390: [10:58:29] <Pynmxjk> yes, because that example is related to a page. Page has Link() on it.
391: [10:58:39] <Pynmxjk> Parent is the Page relation name.
392: [10:58:59] <elgabbu> but $this in that case is a dataObject
393: [10:59:12] <elgabbu> he has a value in that property because he is uing the extension right?
394: [10:59:15] <Pynmxjk> this (tag) parent (page relation) link(get the link of the page) concatenate this(tag) slug(text field)
395: [10:59:32] <Pynmxjk> yes.
396: [10:59:41] <Pynmxjk> the extension applies the URLSlug field, iirc.
397: [11:00:00] <Pynmxjk> https://github.com/NightJar/ssrigging-slug/blob/master/code/Slug.php#L6
398: [11:00:00] <Pynmxjk> yes
399: [11:01:04] <Pynmxjk> that commented exmple has 3 classes. The Tag (or whatever it is in the example), the Page tags are related to (simple relation declaration) and the controller (which has all the more important methods that you're interested in)
400: [11:02:08] * Error404NotFound has joined #silverstripe
401: [11:02:39] * aragonne quit (Quit: aragonne)
402: [11:07:12] * wmk has joined #silverstripe
403: [11:15:07] * nonconformatevi has joined #silverstripe
404: [11:16:34] * ThePeach has joined #silverstripe
405: [11:18:17] <nonconformatevi> Hi everybody, I have a question: in order to translate a template website, where I have to create the "lang" folder? In themes/mytemplatename/lang or in themes/mytemplatename/templates/lang? Thanks very much!
406: [11:22:13] * Shrike_Finland has joined #silverstripe
407: [11:26:02] <wmk> nonconformatevi, in your theme
408: [11:26:13] <wmk> but use i18ntranslationcollector task
409: [11:26:26] <wmk> will generate the source lang file for you automatically
410: [11:27:13] <nonconformatevi> ok, thanks. now I try
411: [11:27:27] <nonconformatevi> vmk ok, thanks. now I try
412: [11:27:51] <wmk> nonconformatevi, see http://doc.silverstripe.org/framework/en/topics/i18n#collecting-text
413: [11:28:22] <wmk> (and maybe use english words in the template, but that's just my opinion)
414: [11:28:56] <nonconformatevi> wmk, ok thanks
415: [11:29:14] <wmk> should be something like /dev/tasks/i18nTextCollectorTask/?module=themes/mytheme&lang=it
416: [11:30:00] <nonconformatevi> wmk, ok very good
417: [11:30:21] * cloph_away is now known as cloph
418: [11:34:47] * huberd has joined #silverstripe
419: [12:00:41] <kinglozzer> https://github.com/silverstripe/silverstripe-framework/issues/3792
420: [12:01:01] <kinglozzer> Pretty well written imo ^^
421: [12:04:04] <Pynmxjk> kinglozzer: what happened to the thing micmania1 was working on?
422: [12:05:23] <kinglozzer> Pynmxjk: It gets a mention in there, dunno what's gonna happen to it tbh
423: [12:05:29] <Pynmxjk> https://github.com/micmania1/silverstripe-framework/tree/filesystem-abstraction
424: [12:05:46] <Pynmxjk> Doesn't seem to have worked on it since last year.
425: [12:06:00] <kinglozzer> Looks like if that RFC gets approval it might just be rejected (which would suck, since I know he put a lot of work into it)
426: [12:06:29] <Pynmxjk> yeah, it would indeed.
427: [12:06:58] <Pynmxjk> I wonder what the design differences between what he's done vs what hamish wants are, and whether they're completely incompatible or not
428: [12:08:26] * PigeonFriend quit (Ping timeout: 265 seconds)
429: [12:08:52] <Pynmxjk> hmm, the RFC does have a whole 'rejected' section...
430: [12:09:05] * PigeonFriend has joined #silverstripe
431: [12:10:13] <Pynmxjk> kinglozzer: at the base to references it does list Michael's fork. ... well... PR aobut it at least.
432: [12:11:07] <kinglozzer> Mm, my only real objection to any of it is putting it in a 3.x branch
433: [12:13:08] <Pynmxjk> mmm
434: [12:14:09] <kinglozzer> I may be wrong, but I don't see how such a massive change can guarantee full backwards compatibility
435: [12:14:24] <Pynmxjk> It can't really, the RFC covers this.
436: [12:14:41] <Pynmxjk> micmania1's might be able to. It's an incrementive step.
437: [12:15:10] * PigeonFriend quit ()
438: [12:15:13] <Pynmxjk> in terms of... can support the current file layout. However the internals are changed ehough it might not be fully 'bc' as such.
439: [12:15:47] <Pynmxjk> ie, if someone references the file class wanting this that or the other, if the file class is changed / no longer all that relevant, it might stop returning as expected/erroring
440: [12:15:52] <Pynmxjk> I dunno.
441: [12:16:31] * Shrike_Finland quit (Quit: Leaving.)
442: [12:17:06] <kinglozzer> Pynmxjk: there's a aptly named section "Backwards-incompatible changes"
443: [12:17:09] <kinglozzer> +n
444: [12:17:57] <Pynmxjk> to pr or rfc?
445: [12:18:19] <kinglozzer> Pynmxjk: rfc
446: [12:18:37] <Pynmxjk> ah yeh, as expected though
447: [12:20:24] <kinglozzer> Yeah I just mean that it's kinda a list of reasons why it can't be in a 3.x release
448: [12:20:30] <kinglozzer> Unless they can be worked around
449: [12:21:08] <kinglozzer> Can leave the constants ASSET_DIR/ASSET_PATH alone, perhaps add some magic setters for accessing the old DB fields that fetch data from the new API or something
450: [12:27:54] * wmk quit (Ping timeout: 244 seconds)
451: [12:31:22] * PigeonFriend has joined #silverstripe
452: [12:43:45] * masnun has joined #silverstripe
453: [12:51:02] * masnun_ has joined #silverstripe
454: [12:52:46] * masnun quit (Ping timeout: 255 seconds)
455: [12:53:24] <elgabbu> hi guys ... so I crated myself a controller class TagsController extends Controller { with an action 'show' in it
456: [12:54:01] <elgabbu> in this action a query the database for some article pages
457: [12:54:27] <elgabbu> now i m kinda confused about how to render this list of pages in a view
458: [12:54:47] * Shrike_Finland has joined #silverstripe
459: [12:54:50] <elgabbu> from the documenation i read that SS will try to render a template Tags_Show.ss
460: [12:58:57] * lerni_ has joined #silverstripe
461: [12:59:11] * Guits quit (Ping timeout: 265 seconds)
462: [13:00:35] <Pynmxjk> elgabbu: yes.
463: [13:01:03] <Pynmxjk> Tags_show.ss, if that doesn't exist: Tags.ss, if that doesn't exist: Controller.ss
464: [13:01:53] <Pynmxjk> first it will look in the project (mysite), then it will look in the theme, then it will look in the module (if applicable).
465: [13:02:03] <Pynmxjk> iirc
466: [13:07:41] * masnun_ quit (Read error: Connection reset by peer)
467: [13:11:07] * masnun has joined #silverstripe
468: [13:12:43] * travis-ci has joined #silverstripe
469: [13:12:43] <travis-ci> dhensby/silverstripe-framework#53 (pulls/default-form-attributes - 9636b03 : Daniel Hensby): The build has errored.
470: [13:12:43] <travis-ci> Change view : https://github.com/dhensby/silverstripe-framework/compare/27880c8e2266^...9636b0343909
471: [13:12:43] <travis-ci> Build details : http://travis-ci.org/dhensby/silverstripe-framework/builds/46980750
472: [13:12:43] * travis-ci has left #silverstripe
473: [13:16:12] <elgabbu> Pynmxjk problem is that like that I loose all the menus and footers and stuff
474: [13:16:25] <elgabbu> it becomes a completly blank canvas
475: [13:24:49] * UndefinedOffset has joined #silverstripe
476: [13:34:01] * DimiStripe has joined #silverstripe
477: [13:38:34] * Shrike_Finland quit (Quit: Leaving.)
478: [13:47:11] * Error404NotFound quit (Ping timeout: 264 seconds)
479: [13:58:56] * Error404NotFound has joined #silverstripe
480: [14:00:08] <elgabbu> anyone has any suggestions?
481: [14:24:20] * masnun_ has joined #silverstripe
482: [14:25:28] * masnun quit (Ping timeout: 255 seconds)
483: [14:25:43] * mahfuz quit (Ping timeout: 246 seconds)
484: [14:28:49] <kinglozzer> elgabbu: Can you paste your controller code where you trigger the render somewhere?
485: [14:30:36] <nontgor> elgabbu: First place for blankness to go is the apache error logs
486: [14:30:48] * Kingy is now known as Kingy[a]
487: [14:30:56] <nontgor> elgabbu: Or checking the content of AJAX requests for PHP errors
488: [14:31:15] * Kingy[a] is now known as Kingy
489: [14:40:34] * cloph quit (Ping timeout: 264 seconds)
490: [14:47:43] <elgabbu> is it correct to assume that the use of creating ones own controllers is for an ajax request and not for rendering an entire page
491: [14:47:45] <elgabbu> ?
492: [14:48:15] <elgabbu> let me throw in sspaste what i did so far
493: [14:51:09] <elgabbu> http://www.sspaste.com/paste/show/54b6823239e80
494: [14:51:44] <elgabbu> my first question here would be how to pass the $articlePages to the view so that I can display them
495: [14:52:41] <kinglozzer> elgabbu: $this->customise(array('ArticlePages' => $articlePages))->renderWith(... then in template <% loop ArticlePages %>
496: [14:54:02] <elgabbu> ok that worked great
497: [14:54:11] <kinglozzer> You're not getting your menu etc because Controller (you're extending Controller) doesn't have any logic for getting menus. Try changing it to TagsController extends Page_Controller
498: [14:54:33] <elgabbu> when i do that routing doesn't work
499: [14:54:35] * stefanovic72 has joined #silverstripe
500: [14:55:42] <elgabbu> i do get the menus and stuff ... but in the middle it says Log in You must log in with your CMS password in order to view the draft or archived content. <a href="/TagsController/?stage=Live">Click here to go back to the published site.</a>
501: [14:59:29] <stefanovic72> Hello. I have defined a DataObject. This Object has two columns: startIndex and endIndex, the datatype is Int.
502: [14:59:36] <stefanovic72> The colums are being created in the database as INT(11) NOT NULL DEFAULT '0'
503: [14:59:42] <stefanovic72> Is there a way to make a column nullable?
504: [14:59:46] <stefanovic72> The endindex columns is not mandatory so I want this column to allow null values.
505: [14:59:52] <stefanovic72> I cannot find how to do this
506: [14:59:59] * Kingy is now known as Kingy[a]
507: [15:00:09] * Kingy[a] is now known as Kingy
508: [15:01:38] <kinglozzer> elgabbu: Visit http://mysite.com?stage=Live, then try again
509: [15:01:49] <kinglozzer> It might just be stuck in the "draft" stage or something
510: [15:05:49] <elgabbu> errr now its extending Page_Controller
511: [15:06:06] <Pynmxjk> elgabbu: inherit from page_controller perhaps. IDK.
512: [15:06:12] <Pynmxjk> oh you just did+.+
513: [15:06:29] <elgabbu> but only the template is rendering ... no menus and stuff
514: [15:06:41] <Pynmxjk> return $this
515: [15:06:53] <Pynmxjk> ->render with (array('temp
516: [15:07:04] <Pynmxjk> late', 'Page'))
517: [15:07:16] <Pynmxjk> also, never put another keybo
518: [15:07:19] <Pynmxjk> ard on to
519: [15:07:22] <Pynmxjk> p of a keyboa
520: [15:07:23] <Pynmxjk> Rd
521: [15:08:05] <kinglozzer> elgabbu: That's because you're telling it to just use the tags template, not the page as well
522: [15:08:16] <kinglozzer> elgabbu: ->renderWith(array('Tags_Show', 'Page'));
523: [15:08:22] * cloph_away has joined #silverstripe
524: [15:08:28] <elgabbu> return $this->customise(array('ArticlePages' => $articlePages))->renderWith('Tags_Show', 'Page');
525: [15:08:33] <elgabbu> still no rendering
526: [15:08:42] <Pynmxjk> no
527: [15:08:43] <Pynmxjk> A
528: [15:08:43] <Pynmxjk> RRA
529: [15:08:44] <Pynmxjk> Y
530: [15:08:49] <elgabbu> oh god sry
531: [15:09:15] * muskie9 has joined #silverstripe
532: [15:09:48] <elgabbu> right now i have menus and footer ... but the Tags_Show is not showing anywher
533: [15:10:10] * huberd quit (Ping timeout: 246 seconds)
534: [15:10:15] <kinglozzer> elgabbu: And you've definitely got a template /Layout/Tags_Show.ss and flushed?
535: [15:10:23] <elgabbu> yes
536: [15:11:01] <elgabbu> ok now it worked
537: [15:11:27] <elgabbu> i had the template file in another folder because i was messing around with trying something else
538: [15:11:29] * SphereSilver is now known as Sphere
539: [15:11:44] <Pynmxjk> Sphere: !
540: [15:12:42] <Pynmxjk> elgabbu: yeah, you'll need to define 'subfolder/Tags_show.ss' in that case
541: [15:12:45] * Sphere is now known as SphereSilver
542: [15:15:26] <Pynmxjk> stefanovic72: I don't think it is, not by default at least. By default it will store 0 though, which is 'falsy'.
543: [15:17:05] <Pynmxjk> there is always the option of subclassing Int and altering that behaviour.
544: [15:17:27] <Pynmxjk> then endIndex => NullableInt
545: [15:17:36] <Pynmxjk> (where NullableInt extends Int)
546: [15:18:21] <stefanovic72> ok, clear. Thanks Pynmxjk
547: [15:19:52] <Pynmxjk> https://github.com/silverstripe/silverstripe-framework/blob/3.1/model/fieldtypes/Int.php#L31
548: [15:20:11] * cloph_away is now known as cloph
549: [15:23:56] <kinglozzer> IIRC the ORM has trouble distinguishing null
550: [15:24:31] <kinglozzer> https://github.com/silverstripe/silverstripe-framework/issues/3621 ^^
551: [15:25:32] <elgabbu> thanks for the assistance guys
552: [15:27:03] <Pynmxjk> oh yeah, forgots about that sillyness kinglozzer
553: [15:27:10] <Pynmxjk> maddening.
554: [15:27:16] <Pynmxjk> null !== ''
555: [15:27:18] <Pynmxjk> etc
556: [15:32:30] <nontgor> good to know that issue exists, I didn't before :)
557: [15:35:57] <Pynmxjk> 'ow ya ge'en on nontgor ?
558: [16:01:49] <nontgor> fed up shepherding cats, one previously injured one back from vet last night and I've been coding in about 3 minute intervals :(
559: [16:02:03] <nontgor> Trying to get this to a usable state https://github.com/silverstripe/silverstripe-comments/issues/28
560: [16:05:28] * Guits has joined #silverstripe
561: [16:08:17] * Error404NotFound quit (Ping timeout: 272 seconds)
562: [16:12:23] * nonconformatevi quit (Quit: Sto andando via)
563: [16:25:21] * joelpittet has joined #silverstripe
564: [16:31:10] * muskie9 quit (Read error: Connection reset by peer)
565: [16:31:46] * stefanovic72 quit (Remote host closed the connection)
566: [16:31:48] * muskie9 has joined #silverstripe
567: [16:36:49] * wilson has joined #silverstripe
568: [16:38:20] <wilson> Hi to all, i have a question for you all. We build our sites using SS as we need to use a CMS that hopefully our clients will use to edit create their content. No matter how good you do your job, does your client REALLY edit all their content OR do you end up doing it yourself?
569: [16:38:59] * jenniferaslan has joined #silverstripe
570: [16:46:37] <muskie9> wilson, in my experience it depends on the client... we customize the cms with the client in mind, but end up doing the content updates in some cases.
571: [16:49:38] <wilson> <muskie9>Thats a question i am juggling with. We end up doing most of the updates ourselves, even if we build the customize with the client wishes. TinyCME can be very intimidating..... So my question is: if the CMS are at the most 50% edited by the ones who should, should we (coders) still use CMS as opposite to other tools?
572: [16:50:05] <Zauberfisch> wilson: I agree with muskie9, it really depends on the client
573: [16:50:48] <Zauberfisch> wilson: many of our clients use the CMS, and they love how easy it is. we usually don't even need to make a training for them
574: [16:51:07] <wilson> <Zauberfisch>Could you put a % on this?
575: [16:51:18] <Zauberfisch> (we do basic training over the phone though, but thats usually like 30 min)
576: [16:51:28] <muskie9> I tend to keep it in the cms as our team has people who would handle updating content rather than having the developers do it. so their ability to login and make changes easily out weighs dev using other tools... and I tend to push off content updates to others :P
577: [16:51:30] <Zauberfisch> wilson: I'd say around 70%
578: [16:51:53] <Zauberfisch> wilson: and the other 30% say, "please edit the content for us, we don't have the time to do it ourselves"
579: [16:52:14] <Zauberfisch> wilson: but obviously we bill the client if we manage the content for them.
580: [16:52:23] <wilson> I am not questioning/arguing the easiness of SS as a development tool and as a CMS/client - i am sold.
581: [16:53:09] <wilson> But as i said, if we (or our team) ends up doing the content update ourselves, what good it is to use a CMS?
582: [16:53:24] <Zauberfisch> wilson: I avoid tinyMCE for most content though
583: [16:53:38] <Zauberfisch> so I only use tinyMCE for simple text blocks
584: [16:53:44] <Pynmxjk> "TinyMCE can be very intimidating" - I hate clients like this.
585: [16:53:53] <Pynmxjk> It's built to be as close as can be to MS WORD
586: [16:54:01] <Zauberfisch> and for the rest I use gridfields, uploadfields, checkboxes and so on
587: [16:54:07] <Pynmxjk> Clients who say that are just "cbf" thinkers.
588: [16:54:14] <Zauberfisch> cbf?
589: [16:54:18] <Pynmxjk> ie. Don't even try.
590: [16:54:24] <Pynmxjk> Zauberfisch: Can't Be F...d
591: [16:54:25] <wilson> <Pynmxjk>Close to MS Word is in no way an advantage....
592: [16:54:32] <Pynmxjk> wilson: yes it is.
593: [16:55:02] <Pynmxjk> in fact, in my experience, about 98.8% of clients (even when told not to) will type up all their content in MS word, then copy and paste it directly into the editor.
594: [16:55:16] <Zauberfisch> Pynmxjk: haha. yeah
595: [16:55:16] <wilson> <Pynmxjk> MS Word is one of the worst piece of software created. Even if 150% people are using it.
596: [16:55:19] <Zauberfisch> every single time
597: [16:55:21] <Pynmxjk> without using the 'paste from word' option.
598: [16:55:34] <Pynmxjk> wilson: regardless, that's what people want.
599: [16:55:36] <muskie9> lol, Pynmxjk I was just typing about the cpy/pst from word w/out using the button lol
600: [16:55:47] <wilson> <Pynmxjk>People also want PowerPoint....
601: [16:56:10] <Pynmxjk> Just like how I currently maintain software for generating reports for the entire group of companies. The very first (and only) thing anyone does when getting a live report, is export the fucking thing to MS EXCEL
602: [16:56:10] <wilson> <Pynmxjk>And they also want The Voice....
603: [16:56:27] <Pynmxjk> wilson: Just press p y tab
604: [16:57:02] <wilson> <Pynmxjk> p y tab ???
605: [16:57:34] <Pynmxjk> yes, press the p key, then the y key, then the tab key on your keyboard.
606: [16:57:45] <Pynmxjk> instead of select with the mouse, copy and paste.
607: [16:57:57] <Pynmxjk> also, to answer your REAL question : [16:53] <wilson> But as i said, if we (or our team) ends up doing the content update ourselves, what good it is to use a CMS?
608: [16:57:59] <Pynmxjk> Yes, it is.
609: [16:58:02] <Pynmxjk> It's a time saver.
610: [16:58:26] <Pynmxjk> No matter which way you look at it, if you get paid to update content or the client is savvy enough to do it themselves...
611: [16:58:58] <Zauberfisch> wilson: I agree with Pynmxjk here. using a CMS like silverstripe is usually always a win
612: [16:59:06] <Pynmxjk> If you're doing it, clicking a few buttons and uploading images is faster than resizing, renaming, uploading, checking paths, typing out <img> tags, etc.
613: [16:59:15] <Zauberfisch> wilson: even if we edit the content ourselves, we are fasater doing it using the cms
614: [16:59:33] <Pynmxjk> It's a productivity tool for you, it's a selling point for customers.
615: [16:59:39] <Zauberfisch> and, it does not require technical skills. so our graphic designers and marketing people can also do it
616: [16:59:48] <Pynmxjk> At the end of the day clients pay you to make all the modifications you do when you build the site.
617: [17:00:07] <Pynmxjk> so even if you build it and they barely (never) use it, so be it.
618: [17:00:34] <wilson> <Pynmxjk>I agree to, i usually build my sites using SS even if the client dont need a CMS!!!! My question was: do you (or your team) do the updates OR do the clients do it (because they're not able to / or have no time to)? Seems like its a 505/50
619: [17:01:45] <Pynmxjk> wilson: In my experience, clients tend not to use the CMS. But neither do they ask for any updates.
620: [17:01:57] <Pynmxjk> Some update, but very seldomly.
621: [17:02:17] <Pynmxjk> Some ask to update, but I'd put the percentage fromof completed sites
622: [17:02:38] <wilson> <Pynmxjk>So you use SS more as a development tool than a CMS?
623: [17:02:41] <Pynmxjk> the percentage of completed sites that then come back for simple content updates would be about 10%
624: [17:03:11] <Pynmxjk> some come back for more functionality updates, which then means modifying the site structure/cms maintenance tools, etc.
625: [17:03:35] <wilson> <Pynmxjk>What do you think of tools like Muse, Reflow, Weebly, Spacesquare, Webflow?
626: [17:03:43] <Pynmxjk> lolwutno.
627: [17:03:55] <wilson> <Pynmxjk>Whick means?
628: [17:04:00] <Pynmxjk> Not even once.
629: [17:05:20] <wilson> <Pynmxjk>I will precise my question: i am wondering if web design students should REALLY learn hard coding HTML/CSS, or learn a CMS, or learn a framework. I lean toward all of this. It will make them better designers.
630: [17:06:06] <Pynmxjk> wilson: no, web DESIGN students should learn colour palettes, contrast, balance, the constraints of their chosen medium, etc.
631: [17:06:46] <Pynmxjk> regardless of using a cms or not, they'll (probably) still have to make templates, so they should (probably) learn HTML and CSS along with it.
632: [17:07:03] <Pynmxjk> along with keeping an eye on JS libraries and the like to know what is and isn't possible.
633: [17:07:13] <wilson> <Pynmxjk>Dont you think a little coding abilities will help them?
634: [17:07:31] <Pynmxjk> And dabble in user experience and such - because usability is something that (print) graphic design folk generally don't have to worry about.
635: [17:07:56] <Pynmxjk> wilson: yes, of course. This is what I'm saying. But my pet annoyance is people confusing design and development.
636: [17:08:02] <Pynmxjk> being a web designer does not mean learning PHP.
637: [17:08:08] <Pynmxjk> being a web DEVELOPER does.
638: [17:08:34] <Pynmxjk> there is a cross section of course, but it depends on the person's goals etc as to what they ultimately end up learning.
639: [17:09:01] <Pynmxjk> also, learn the ways of the tab completion :<
640: [17:09:20] <Pynmxjk> p y <tab>
641: [17:09:23] <Pynmxjk> m u <tab>
642: [17:09:24] <kinglozzer> wilson: Your earlier question about who updates the CMS. For us, 95% of the time clients update content themselves. Those that don't pay us a monthly fee to do it
643: [17:09:24] <Pynmxjk> etc
644: [17:09:53] <Pynmxjk> kinglozzer: nice, whether you do it or not? What if they make you do 120 hours of updates in a month?
645: [17:10:22] <wilson> <Pynmxjk>I agree. I am trying to delimit a line: where to stop code speaking. I think HTML5/CSS3/Jquery along some CMS and boilerplate understanding is a good base.
646: [17:10:36] <kinglozzer> Pynmxjk: It's not just for updating content, it's for other marketing too but it covers content. I dunno, never had anyone ask for huge updates!
647: [17:11:48] <wilson> <kinglozzer>The problem is that when the clients update their content themselves (mostly using TinyCME) it ends up like a pizza box, like a MS Word document with 25 styles, point-form, etc
648: [17:12:06] * jenniferaslan1 has joined #silverstripe
649: [17:12:58] <kinglozzer> wilson: That's a client education issue: tell them not to paste from word, only give them h2, h3, h4 (h1 automatically comes from page title) etc
650: [17:12:59] * jenniferaslan quit (Ping timeout: 264 seconds)
651: [17:13:19] <kinglozzer> It's always worked for us, part of our CMS training
652: [17:14:16] <wilson> <kinglozzer>Thats the way i word too - i create custom CSS style for them to work with. But still. When they are alone, they do what they want!!
653: [17:14:25] <Pynmxjk> [17:10] <wilson> <Pynmxjk>I agree. I am trying to delimit a line: where to stop code speaking. I think HTML5/CSS3/Jquery along some CMS and boilerplate understanding is a good base.
654: [17:14:27] <Pynmxjk> I'd agree with that.
655: [17:14:49] <kinglozzer> wilson: Let them then! If they ruin the website by ignoring your advice about not pasting from word, that's their problem
656: [17:15:20] <wilson> <kinglozzer>I even try to limit the use of HTMLEditorField (TinyCME) to its lowest use.
657: [17:15:31] <Pynmxjk> wilson: I used to work for a full service graphic design studio. Which means that when we did someone's website, often we'd be doing their branding and/or logo, etc also.
658: [17:16:08] <Pynmxjk> which means along with the resulting site, we'd supply them with a set of guidelines as to not waste all the effort put into their branding (phrase it as 'wasting money' as clients start to listen when this comes up)
659: [17:16:44] <Pynmxjk> ie, why pay for a nice brand, new stationary, website, etc. if they then are going to go out and ignore it all, making a mess, polluting their 'look and feel' etc.
660: [17:17:31] <Pynmxjk> so if you supply them with a guidelines document along with the website with things like "don't use bright pink 25pt comic sans headers" - then when they do do it, you can just shrug and get paid to correct it.
661: [17:17:51] <Pynmxjk> or, simply remove their site from your portfolio (or only include it as a snapshot)
662: [17:18:08] <Pynmxjk> ie, when completed, before ruined, take screenshots, use them in portfolio, etc.
663: [17:18:37] <Pynmxjk> The secret is to simply work with good people. Ignore the morons if possible.
664: [17:18:49] <Pynmxjk> They ask you to do all the work for free anyway, so it's simply not worth the time.
665: [17:24:45] * kinglozzer quit ()
666: [17:25:01] <Pynmxjk> home time!
667: [17:25:02] * Pynmxjk quit ()
668: [17:29:47] <wilson> Thanks guys! Nice reading.
669: [17:34:01] * wilson quit (Ping timeout: 246 seconds)
670: [17:38:39] <muskie9> is there a way to include a custom css file to LeftAndMain IF the site is in dev mode... already including one additional stylesheet to left and main using yml configuration... but need the second to only be included in dev mode
671: [17:38:40] <muskie9> LeftAndMain:
672: [17:38:40] <muskie9> extra_requirements_css: [mysite/css/leftandmainextracss.css]
673: [17:38:46] * Otterpocket quit (Quit: Otterpocket)
674: [17:39:26] <muskie9> I was thinking of using onAfterInit for LeftAndMain but I'm not sure if onAfterInit works anymore
675: [17:42:53] <muskie9> nvm, I had a typo in the extension
676: [17:57:51] * lerni_ quit (Remote host closed the connection)
677: [18:00:17] * [Fate] quit (Ping timeout: 245 seconds)
678: [18:03:01] * ThePeach quit (Quit: leaving)
679: [18:07:41] * [Fate] has joined #silverstripe
680: [18:09:34] * Stomach has joined #silverstripe
681: [18:11:06] * Stomach quit (Client Quit)
682: [18:11:57] * catcher has joined #silverstripe
683: [18:43:39] * lerni_ has joined #silverstripe
684: [18:46:26] * gelignite has joined #silverstripe
685: [18:58:25] * Stomach has joined #silverstripe
686: [19:15:43] <masnun_> Guys
687: [19:15:49] * mobiusnz quit (Quit: Leaving.)
688: [19:16:07] <masnun_> is it possible to add html to GridFieldDataColumns ?
689: [19:20:29] * muskie9 quit (Read error: Connection reset by peer)
690: [19:21:24] * antmas has joined #silverstripe
691: [19:21:32] <antmas> morning all
692: [19:22:05] * muskie9 has joined #silverstripe
693: [19:24:17] * lerni_ quit (Remote host closed the connection)
694: [19:25:53] * muskie9_ has joined #silverstripe
695: [19:27:53] * muskie9 quit (Ping timeout: 245 seconds)
696: [19:28:48] * muskie9_ is now known as muskie9
697: [19:28:48] * mobiusnz has joined #silverstripe
698: [19:30:18] * flyklr has joined #silverstripe
699: [19:34:02] * Ryan-Toast has joined #silverstripe
700: [19:39:05] <simon_w> masnun_, if you return a HTMLText object instead of just a string, yes
701: [19:39:42] <masnun_> hey, thanks simon_w :)
702: [19:40:06] <masnun_> I tried overriding forTemplate method
703: [19:40:25] <masnun_> that worked for me, for future references, I shall try HTMLText
704: [19:40:58] * lerni_ has joined #silverstripe
705: [19:48:22] <flyklr> In SS 3.1.6, HTML editor in TinyMCE in CMS stopped working. Pop-up loads "not found" error page. Any others having this problem, or suggestions about what's causing it?
706: [19:48:58] <Ryan-Toast> flyklr: set it to dev mode and see what errors ou’re getting.
707: [19:49:17] * Kingy is now known as Kingy[a]
708: [19:49:54] <flyklr> It is in dev mode. Only error I get is in Firebug. Says there's an error in line one of history.js.
709: [19:50:11] <Ryan-Toast> flyklr: anything in the logs?
710: [19:52:26] * jedateach has joined #silverstripe
711: [19:53:19] <flyklr> Nothing in error log related this problem.
712: [19:54:14] <Ryan-Toast> flyklr: time to composer update :P
713: [19:54:44] <flyklr> Ran it a few minutes ago to see if that would help.
714: [19:55:19] <Ryan-Toast> wouldn’t you be on 3.1.8 then?
715: [19:55:25] * wracu has joined #silverstripe
716: [19:57:01] <flyklr> composer.json set to use 3.1.6 for this site. I think there was a conflict with a MOD a few weeks ago, with newer version. I'll see if I can update now to 3.1.8
717: [19:58:28] * glenn-bautista has joined #silverstripe
718: [19:58:30] <pippy> hai
719: [20:02:13] * Olliepop has joined #silverstripe
720: [20:02:26] <Olliepop> morning all
721: [20:04:02] <flyklr> I was able to update, flushed, including manually dumping /silverstripe-cache, but the HTML button still loads "not found" page.
722: [20:07:13] * cloph is now known as cloph_away
723: [20:17:39] * jedateach quit (Ping timeout: 246 seconds)
724: [20:18:09] <Stomach> flyklr - is your assets path writeable?
725: [20:18:19] <flyklr> Yes
726: [20:18:32] * novaweb has joined #silverstripe
727: [20:19:09] * em has joined #silverstripe
728: [20:19:58] <em> hi, is there any willing soul which want to help me fix some problem?
729: [20:20:11] <catcher> em, depends on the question, go for it
730: [20:20:13] <flyklr> The site has been working for almost a year now. The "HTML" button stopped working on both dev and live versions a few days ago. One error message in Firebug Sunday mentioned outdated TinyMCE. Haven't seen that since.
731: [20:21:03] * simon_w has left #silverstripe
732: [20:21:56] * Colin[pi] has joined #silverstripe
733: [20:22:17] * blahblah24 has joined #silverstripe
734: [20:24:24] <em> I have PageType News... I have there some additionals fields, but when I click on save and publish I see blank admin page...I create some screenshots
735: [20:24:28] * lerni_ quit (Remote host closed the connection)
736: [20:24:57] <em> I filled all fields: http://ftp.6f.sk/files/screen1.png
737: [20:25:22] <glenn-bautista> em: you probably named the fields in the $db array and the getCMSFields function inconsistently
738: [20:25:40] <em> And after save n publich I see this: http://ftp.6f.sk/files/screen2.png
739: [20:26:22] <catcher> em, probably a code error. Check error logs, or server response with a debugger.
740: [20:26:53] <glenn-bautista> after seeing the images, yeah, it's probably a code error
741: [20:27:30] * _hschillig has joined #silverstripe
742: [20:28:20] <em> what kind of problem it can be... because on local machine it works correctly, now I upload it to my hosting - connect to imported database and now I find out that is not working
743: [20:28:27] <_hschillig> Hey I have a question with the routing in SS.. I have category/category-name URLs.. I want all the categories BESIDES recipes to point to a controller, but if it has recipes in it, I want it to point to a different one. http://pastebin.com/9UKTy4wn How do I go about this?
744: [20:29:57] <glenn-bautista> em: there could be a lot of different reasons. the only way to find out for sure is to read through the error logs or if you open your browsers inspector to see what the server response is as catcher just mentioned
745: [20:31:24] <em> only one error in inspector: 'KeyboardEvent.keyLocation' is deprecated. Please use 'KeyboardEvent.location' instead.
746: [20:31:37] <catcher> em, that's a javascript error.
747: [20:31:51] <catcher> You want the net response of what's likely a 500.
748: [20:32:10] <catcher> _hschillig, SS gives an impressive amount of control over custom routes considering there's a CMS to deal with; that said, I'm not sure if you can get that detailed.
749: [20:32:36] <catcher> _hschillig, the quickest route is to test the param in the action & 301 if it's 'recipes'.
750: [20:33:39] * lerni_ has joined #silverstripe
751: [20:33:58] <_hschillig> 301? What do you mean by that? I am fine doing an if test.. but I dont know how to make it point to another method since a redirect would just end up in an infinite loop
752: [20:34:17] <catcher> _hschillig, it'll only loop if you redirect to itself.
753: [20:34:29] <_hschillig> whats a 301 tho?
754: [20:34:32] <catcher> redirect
755: [20:34:43] <em> all responses are 200 OK
756: [20:34:45] <_hschillig> i want the url to stay the same tho.. i rather it be consistent. =/
757: [20:35:05] <_hschillig> Looks like I'll have to render a separate template in the if statement then.
758: [20:35:07] <catcher> _hschillig, you said you wanted to point it to a different controller
759: [20:35:27] <_hschillig> I do.. but I want the url to stay the same. category/category-name whether its recipes or not..
760: [20:35:42] <_hschillig> A redirect would .. redirect to the same url.. which woul dcause an infinite loop
761: [20:35:46] <_hschillig> because i want the url to stay the same.
762: [20:35:49] <catcher> That's still the category controller then, and it should be handled by the category method. As you said, different view.
763: [20:37:00] <_hschillig> ok
764: [20:37:49] * micmania1 has joined #silverstripe
765: [20:39:15] * ghostcheese has joined #silverstripe
766: [20:39:33] * elliot_ has joined #silverstripe
767: [20:43:17] <catcher> em, it won't show up until after you've done the save & publish
768: [20:44:33] <em> I start logging network communication in inspector and then click save & publish ... but no 5xx or 4xx response
769: [20:44:53] <catcher> em, check the response of the save action anyway
770: [20:46:22] <em> EditForm (/admin/pages/edit) Method POST status: 200 OK Type text/html
771: [20:47:01] <em> I dont know if you wanted this... I am only advanced beginner :)
772: [20:48:27] * antmas quit (Quit: Page closed)
773: [20:49:47] <em> cactcher I can create new accout in administrator and I give you a login information, I think it could be faster
774: [20:52:44] <catcher> em, what's the response from the post?
775: [20:52:45] <catcher> meeting time, bbs.
776: [20:53:20] <em> this is the response: {"CurrentForm":"<form id=\"Form_EditForm\" action=\"admin\/pages\/edit\/EditForm\" method=\"post\" enctype=\"application\/x-www-form-urlencoded\" class=\"cms-edit-form center CMSPageEditController CMSMain LeftAndMain cms-previewable\" data-pjax-fragment=\"CurrentForm\" data-layout-type=\"border\">\n\n\t<div class=\"cms-content-fields center\">\n\t\t\n\t\t<p id=\"Form_EditForm_error\" class=\"message \" style=\
777: [20:54:01] <catcher> em, your goal is to find out what that error is.
778: [20:54:13] * willr has joined #silverstripe
779: [20:54:38] <em> and how? some tip?
780: [20:55:34] <catcher> em, server error log
781: [20:57:11] <em> I have never saw it ... could I use this? SS_Log::add_writer(new SS_LogEmailWriter('emMail@me.com'), SS_Log::WARN, '<=');
782: [20:57:36] <catcher> em, it's important that you're able to view your server logs
783: [20:59:06] <em> I used only environment_type: 'dev'... how can I display errors? php.ini set show_error or ...?
784: [21:09:35] <willr> ss23 CWP’s mime type validator is all sorts of fail
785: [21:09:50] <em> I will google it and hope I fix it... thanks for your time...
786: [21:13:58] <_hschillig> Why won't this url point to the right method: http://blog.localhost/category/recipes/view/cheesy-squash-zucchini-casserole/2 In my routes, I have 'category/$Category//$Action/$Slug/$ID' : 'BlogCategory_Controller' ... then in my url_handler in that controller I have: 'category/$Category/view/$Slug/$ID/$OtherID' => 'view'
787: [21:14:01] <_hschillig> But it wont hit that method
788: [21:14:41] <_hschillig> I even erased it from the url handler.. but that wasnt the thing messing it up
789: [21:15:04] <adrexia> I love how all cwp problems get directed at ss23 :D
790: [21:15:31] <micmania1> adrexia: I’ve dealt with 1,000,001 tickets for that.
791: [21:15:51] <micmania1> Might as well just get rid of it. It works differently on different environments.
792: [21:15:54] <adrexia> for people blaming ss23 for cwp ?
793: [21:16:01] <adrexia> lol
794: [21:16:05] <elliot_> it's always ss23's fault
795: [21:16:06] <micmania1> nah, the mime type stuff. We all blame ss23 too
796: [21:16:09] <adrexia> yeah, that's fair
797: [21:16:15] <adrexia> hehe
798: [21:16:34] <adrexia> <elliot_> it's always ss23's fault
799: [21:16:37] <adrexia> ^this
800: [21:17:22] * UndefinedOffset quit (Quit: Leaving.)
801: [21:18:22] * em quit (Ping timeout: 246 seconds)
802: [21:25:55] <Stomach> poor ss23
803: [21:25:56] <Stomach> :(
804: [21:28:19] <ss23> pls
805: [21:28:20] <ss23> help
806: [21:28:21] <ss23> whats going on
807: [21:28:36] <ss23> willr: Blame micmania1, he worked on that last!
808: [21:28:53] <ss23> urghhh
809: [21:28:55] <ss23> going to work
810: [21:28:55] <ss23> @sux
811: [21:28:58] <ss23> bah
812: [21:28:59] <ss23> #sux
813: [21:29:08] <_hschillig> can anybody help me with my routing issue?
814: [21:29:40] <micmania1> ss23: willr I made it suck less. My advice: remove it.
815: [21:29:52] <willr> Yep just did that
816: [21:30:03] <willr> Yay for YAML After
817: [21:30:17] <willr> doesn’t like text/csv
818: [21:30:26] <ss23> lol
819: [21:30:33] <micmania1> its the php finfo extension. It works differently on almost every environment.
820: [21:30:33] <ss23> It's those fucking government cunts I tell ya
821: [21:30:43] <ss23> "We want retarded features that make our security worse, in the name of compliance!"
822: [21:31:18] <micmania1> So I had to make a change where you could add multiple mimetypes for a single extension. Totally pointless really though if its not a recognized type.
823: [21:31:31] <willr> I’ll submit a patch and update the error messaging in the CMS. You basically just get ‘Failed’ so users are shit out of luck
824: [21:32:23] <willr> CWP going to support naut-cli any time soon? Would be handy +1
825: [21:32:29] <ss23> What is naut-cli?
826: [21:32:35] * antmas has joined #silverstripe
827: [21:32:39] <ss23> I despise how bloated the default CWP shit is
828: [21:32:44] <ss23> It should be opt-in to "make your site suck"
829: [21:32:47] <ss23> anyway bbl going 2 work
830: [21:33:22] <willr> https://github.com/sminnee/naut-cli
831: [21:34:00] <antmas> anyone here deal with screen readers much?
832: [21:35:22] <_hschillig> Ok.. guess I'll check back later when the others are here that help.
833: [21:35:29] <Colin[pi]> antmas: you mean like TTS?
834: [21:35:34] <Stomach> _hschillig - whats the issue
835: [21:35:48] <Stomach> I thought that you had it solved earlier by using the category controller and having a route for recipes
836: [21:36:01] <antmas> Colin[pi]: yeah more or less
837: [21:36:11] <Colin[pi]> antmas: not really no :P
838: [21:36:19] <antmas> Colin[pi]: :|
839: [21:36:21] <Colin[pi]> what do you need to do?
840: [21:36:22] <antmas> dat help
841: [21:36:39] <antmas> we're making a form, but the form is external aka iframe
842: [21:36:52] <antmas> just want to make sure screen readers can actually read iframe content
843: [21:37:18] <_hschillig> My routing isn't working.. I solved that part, but now I'm trying to do it where they view a blog post in this format: www.site.com/category/category-name/view/post-slug-name/2 where 2 = the Post ID. I'm trying to get it to point to the view() method, but it wont. I have 'category/$Category/view/$Slug/$ID' : 'BlogCategory_Controller'... then in the url_handlers I have 'category/$Category/view/$Slug/$ID' => 'view'
844: [21:37:22] <_hschillig> But it just keeps saying Page not found
845: [21:37:39] <Ryan-Toast> antmas: they can.
846: [21:37:48] <antmas> Ryan-Toast: chur :)
847: [21:37:58] <Colin[pi]> yeah I think iframes should be fine
848: [21:38:52] <Colin[pi]> antmas: http://stackoverflow.com/questions/6948793/can-i-use-iframe-on-ada-compliant-page
849: [21:39:36] * aragonne has joined #silverstripe
850: [21:40:53] <antmas> Colin[pi]: perfect cheers
851: [21:42:29] <_hschillig> basically i just want a category landing page and a post detail page... i dont really care about the urls right now.. i just want it to work. I would prefer the format category-name/post-name/ID.. but I dont care if it has view in it or not. I just can't get it to work.
852: [21:45:30] <Stomach> _hschillig - can you post your code so far somewhere
853: [21:46:07] <Stomach> you can probably write a couple of conditions into the action of /category/<name> which checks if its a category name and then checks if there is another action trailing to display the post rather than the category
854: [21:46:56] * simon_w|air has left #silverstripe
855: [21:47:20] * simon_w|work has left #silverstripe
856: [21:48:12] * simon_w|work has joined #silverstripe
857: [21:48:21] * simon_w|work has left #silverstripe
858: [21:48:34] <_hschillig> http://pastebin.com/Bsqmg2Qz
859: [21:48:59] <_hschillig> seems like a lot of if statements... is SilverStripe's routing really that bad?.. it should be able to handle a landing page and a post detail page..
860: [21:49:30] <Stomach> _hschillig - usually you would handle that via the site tree
861: [21:49:45] <_hschillig> Yeah this is using data objects.. they arent actual pages.
862: [21:49:45] <Stomach> so that a blog_controller has many children of blog_type
863: [21:49:49] <_hschillig> didnt give me enough freedom.
864: [21:49:57] <_hschillig> because recipes has a whole set of functionality
865: [21:49:58] <Stomach> or blog -> category -> posts
866: [21:50:02] <_hschillig> whereas the other categories do not
867: [21:50:07] * masnun_ quit (Quit: Signing out.)
868: [21:50:28] <Stomach> could you not have made the recipes a special type of blog category instead?
869: [21:50:54] <_hschillig> i mean i could of.. but i already did all the programming for the admin part of this.. so it seems like a waste to just throw it away and go down the route i didnt want to go down
870: [21:51:34] <_hschillig> can silverstripe not handle this routing? it seems rather simple. in laravel it was just a simple two lines..
871: [21:52:39] <_hschillig> i even tried category/$Category/view/$Slug/$ID.. category/$Category points to the BlogCategory_Controller.. shouldn't the view point to the view() method?
872: [21:53:03] * mahfuz has joined #silverstripe
873: [21:55:35] <willr> _hschillig so you want /categories/foo/something and /categories/foo/bar/1 to work?
874: [21:55:57] <_hschillig> categories/view/post-name/1
875: [21:56:02] <_hschillig> or categories/post-name/1
876: [21:56:17] <_hschillig> anything liek that... but its just categories/category-name shows the landing page with all the posts under that category
877: [21:56:25] <_hschillig> whereas categories/category-name/post-name/1 would show the detailed post
878: [21:56:29] <_hschillig> sorry those first two routes were wrong
879: [21:56:44] <willr> right was going to say, that’s not what routes.yml thinks
880: [21:56:48] <_hschillig> i forgot the category-name. SO either categories/category-name/view/post-name/1 or categories/category-name/post-name/1
881: [21:57:17] <_hschillig> i have categories/category-name working fine..
882: [21:57:20] <_hschillig> just the detailed post wont show
883: [21:59:55] <_hschillig> well i have to head out =/ i wish there was a way to log this message to see the responses...
884: [22:00:07] <Stomach> logs.simon.geek.nz
885: [22:00:17] <_hschillig> if anybody has a solution.. my email is haleybuggs6@gmail.com.. I would really appreciate if somebody could help me out!
886: [22:00:20] <catcher> _hschillig, ^
887: [22:00:51] <willr> Potentially you want your routes.yml to simply be ‘category’: ‘BlogCategory_Controller’ then put everything else in $url_handler on the class. That array would look like ‘$Category/$Action/$ID’ => ‘view’ and ‘$Category’ => ‘index’
888: [22:01:02] <_hschillig> Oh neat.
889: [22:01:20] <_hschillig> Ok willr, I will try that tomorrow! Thank you!!
890: [22:04:21] * hailwood has joined #silverstripe
891: [22:07:22] <hailwood> Hey guys, what's the most logical way to do a "has_many_though" relationship in SS? Basically A Company has_one Category, A Category has_many Services, A Company has_many Services - but are only allowed to be linked to Services that are also linked to the companies category.
892: [22:15:35] * travis-ci has joined #silverstripe
893: [22:15:35] <travis-ci> tractorcow/sapphire#33 (pulls/3.1/fix-basicauth-resetlogin - 220bdf3 : Will Rossiter): The build has errored.
894: [22:15:35] <travis-ci> Change view : https://github.com/tractorcow/sapphire/compare/9d78eb7fe6f6...220bdf342c64
895: [22:15:35] <travis-ci> Build details : http://travis-ci.org/tractorcow/sapphire/builds/47048253
896: [22:15:35] * travis-ci has left #silverstripe
897: [22:16:49] <MichalKleiner> oh willr broke it
898: [22:22:44] <catcher> hailwood, I'd say the exclusions are the model's job, not the DB structure.
899: [22:23:05] <catcher> hailwood, you can restrict it in how you build the interfaces, and/or checks in onBeforeWrite().
900: [22:27:46] * aragonne quit (Quit: aragonne)
901: [22:28:25] <hailwood> catcher, That was my thoughts too.
902: [22:31:02] <hailwood> with the example I described above do these relations look correct? https://gist.github.com/hailwood/997ab612f157e70b48ee
903: [22:35:19] * gelignite quit (Quit: http://bit.ly/nkczDT)
904: [22:37:38] <catcher> hailwood, line 11: private static $many_many = array(
905: [22:37:59] <catcher> Looks good to me otherwise
906: [22:39:38] <hailwood> Oh, good catch. cheers.
907: [22:39:48] <hailwood> That pun was totally not intentional..
908: [22:42:48] * aragonne has joined #silverstripe
909: [22:45:21] * spekulatius has joined #silverstripe
910: [22:47:42] * DimiStripe quit (Read error: Connection reset by peer)
911: [22:48:01] * DimiStripe has joined #silverstripe
912: [22:48:39] * Colin[pi] quit (Ping timeout: 264 seconds)
913: [22:49:28] <hailwood> in the cms validator, for required fields, do I want "CategoryID" or "Category", or "Category.ID" ?
914: [22:56:28] <Stomach> whatever the field is called
915: [22:56:41] <Stomach> so probably "Category"
916: [23:00:23] * travis-ci has joined #silverstripe
917: [23:00:23] <travis-ci> silverstripe/silverstripe-framework#3881 (3.1.9 - 7b20f77 : Damian Mooyman): The build passed.
918: [23:00:23] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/db314b2a766c...7b20f775f2b3
919: [23:00:23] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/47052480
920: [23:00:23] * travis-ci has left #silverstripe
921: [23:07:14] * catcher quit (Quit: Leaving)
922: [23:11:59] * novaweb quit (Quit: Leaving)
923: [23:12:51] * travis-ci has joined #silverstripe
924: [23:12:51] <travis-ci> silverstripe/silverstripe-framework#3882 (3.1.9 - 87d6250 : Damian Mooyman): The build passed.
925: [23:12:51] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/7b20f775f2b3...87d6250ea75f
926: [23:12:51] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/47053779
927: [23:12:51] * travis-ci has left #silverstripe
928: [23:13:32] <ss23> willr: No idea, why doesn't it work already? API might be disabled on it
929: [23:13:39] <ss23> Looks like it's just an HTTP endpoint though
930: [23:17:01] * willr quit (Quit: willr)
931: [23:20:20] <flyklr> Thanks for all the suggestions. If anyone else has a problem with TinyMCE in the CMS, my error was due to a RewriteRule that rewrote all .htm urls.
932: [23:21:55] * blahblah24 quit (Ping timeout: 246 seconds)
933: [23:22:44] * zippy has joined #silverstripe
934: [23:23:34] <zippy> AU got no internet?
935: [23:23:41] <zippy> no simon's, no Colin..
936: [23:23:56] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
937: [23:26:03] <antmas> thuthpithuth!
938: [23:26:34] * aragonne quit (Quit: aragonne)
939: [23:27:01] <antmas> anyone used paradigm PCs for bits?
940: [23:30:48] <zippy> antmas: seems ok http://pricespy.co.nz/shop.php?f=7731 - use the credit card so you can charge back if it goes tits up
941: [23:31:41] <antmas> zippy: chur
942: [23:34:45] * vebb has joined #silverstripe
943: [23:34:46] * vebb quit (Changing host)
944: [23:34:46] * vebb has joined #silverstripe
945: [23:38:51] <antmas> free shipping is awesome
946: [23:39:57] * flyklr quit ()
947: [23:42:41] * travis-ci has joined #silverstripe
948: [23:42:41] <travis-ci> silverstripe/silverstripe-framework#3883 (3.1.9 - 87d6250 : Damian Mooyman): The build passed.
949: [23:42:41] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/3.1.9
950: [23:42:41] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/47056670
951: [23:42:41] * travis-ci has left #silverstripe
952: [23:53:18] * lerni_ quit ()

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