#silverstripe IRC Log

IRC log for 9 March 2014

All timestamps are in UTC.

1: [00:07:08] * violetina quit (Remote host closed the connection)
2: [00:24:08] * howardgrigg has joined #silverstripe
3: [00:28:58] * howardgrigg quit (Ping timeout: 264 seconds)
4: [00:34:04] * howardgrigg has joined #silverstripe
5: [00:38:29] * howardgrigg quit (Ping timeout: 240 seconds)
6: [00:43:36] * joelpittet has joined #silverstripe
7: [00:48:01] * joelpittet quit (Ping timeout: 240 seconds)
8: [00:50:22] * opalfroot quit (Quit: Page closed)
9: [00:51:54] * gelignite quit (Quit: http://bit.ly/nkczDT)
10: [00:55:51] * DesignerX has joined #silverstripe
11: [01:05:13] * howardgrigg has joined #silverstripe
12: [01:09:18] * howardgrigg quit (Ping timeout: 240 seconds)
13: [01:42:23] * k_fish has joined #silverstripe
14: [01:43:05] * LoveDuckie quit (Read error: Connection reset by peer)
15: [01:43:06] * howardgrigg has joined #silverstripe
16: [01:47:30] * boytikz quit (Quit: Leaving.)
17: [02:32:36] * joelpittet has joined #silverstripe
18: [02:37:12] * joelpittet quit (Ping timeout: 244 seconds)
19: [02:39:22] * EasyCo has joined #silverstripe
20: [03:13:35] * SightUnseen has joined #silverstripe
21: [03:13:40] * SightUnseen has left #silverstripe
22: [03:28:43] * k_fish quit (Quit: Leaving)
23: [03:49:34] * howardgrigg quit (Remote host closed the connection)
24: [03:50:01] * howardgrigg has joined #silverstripe
25: [03:54:46] * howardgrigg quit (Ping timeout: 264 seconds)
26: [04:07:58] * nbezzala quit (Ping timeout: 264 seconds)
27: [04:13:08] * sukirti has joined #silverstripe
28: [04:20:23] * howardgrigg has joined #silverstripe
29: [04:21:29] * joelpittet has joined #silverstripe
30: [04:26:12] * joelpittet quit (Ping timeout: 240 seconds)
31: [04:41:19] * CodeTrap1 has joined #silverstripe
32: [04:47:33] * cloph has joined #silverstripe
33: [04:48:06] * cloph_away quit (Ping timeout: 265 seconds)
34: [04:51:05] * UncleCheese has joined #silverstripe
35: [05:06:53] * UncleCheese quit (Quit: UncleCheese)
36: [05:24:36] * howardgrigg quit (Excess Flood)
37: [05:24:51] * CodeTrap quit (Ping timeout: 240 seconds)
38: [05:25:01] * howardgr_ has joined #silverstripe
39: [05:25:24] * nbezzala has joined #silverstripe
40: [05:25:34] * UncleCheese has joined #silverstripe
41: [05:25:35] * UncleCheese quit (Quit: UncleCheese)
42: [05:40:41] * howardgr_ quit (Remote host closed the connection)
43: [05:43:37] * ri0ter quit (Quit: Page closed)
44: [05:45:38] * HeartlandTechie quit (Ping timeout: 245 seconds)
45: [06:10:22] * joelpittet has joined #silverstripe
46: [06:11:26] * howardgrigg has joined #silverstripe
47: [06:14:59] * joelpittet quit (Ping timeout: 240 seconds)
48: [06:15:38] * howardgrigg quit (Ping timeout: 240 seconds)
49: [06:22:49] * volsars quit (Remote host closed the connection)
50: [06:26:20] * UncleCheese has joined #silverstripe
51: [06:32:48] * UncleCheese quit (Ping timeout: 244 seconds)
52: [06:44:55] * howardgrigg has joined #silverstripe
53: [07:09:38] * howardgr_ has joined #silverstripe
54: [07:09:38] * howardgrigg quit (Read error: Connection reset by peer)
55: [07:49:00] * ocm has joined #silverstripe
56: [07:59:15] * joelpittet has joined #silverstripe
57: [08:03:18] * joelpittet quit (Ping timeout: 240 seconds)
58: [08:04:36] * violetina has joined #silverstripe
59: [08:08:03] * howardgr_ quit (Ping timeout: 252 seconds)
60: [08:08:20] * zippy__ has joined #silverstripe
61: [08:13:20] * DesignerX quit (Quit: Konversation terminated!)
62: [08:14:49] * howardgrigg has joined #silverstripe
63: [08:16:35] * DesignerX has joined #silverstripe
64: [08:40:47] * EasyCo quit (Quit: Connection closed for inactivity)
65: [09:02:58] * nbezzala quit (Remote host closed the connection)
66: [09:23:26] * Colin[pi] quit ()
67: [09:48:13] * joelpittet has joined #silverstripe
68: [09:48:54] * howardgrigg quit (Remote host closed the connection)
69: [09:49:22] * howardgrigg has joined #silverstripe
70: [09:53:05] * joelpittet quit (Ping timeout: 265 seconds)
71: [09:53:29] * howardgrigg quit (Ping timeout: 240 seconds)
72: [09:57:08] * zippy__ quit (Quit: zippy__)
73: [09:58:49] * howardgrigg has joined #silverstripe
74: [10:20:49] * zfmf has joined #silverstripe
75: [10:32:59] * SightUnseen has joined #silverstripe
76: [10:33:11] * SightUnseen has left #silverstripe
77: [11:13:38] * howardgrigg quit (Remote host closed the connection)
78: [11:14:38] <DesignerX> hi, anyone has an example of how to get GridField many_many and GridFieldOrderableRows working ? I know I need to use "$many_many_extraFields" 7 add "SortID" field to save the sorting of the many_many relation . Any tips, sample code or links to existing modules that does this would be nice :)
79: [11:23:45] * Shrike_Finland has joined #silverstripe
80: [11:31:57] * henkpoley has joined #silverstripe
81: [11:35:27] * Alfirin has joined #silverstripe
82: [11:36:05] * zfmf_ has joined #silverstripe
83: [11:37:04] * joelpittet has joined #silverstripe
84: [11:39:11] * zfmf quit (Ping timeout: 244 seconds)
85: [11:39:19] * sukirti quit (Ping timeout: 252 seconds)
86: [11:39:58] <Alfirin> good day, gents
87: [11:41:02] <Alfirin> I have this blog-type thing on my site, and I'd like the date and author fields to fill automatically with the current information
88: [11:41:09] * zfmf has joined #silverstripe
89: [11:41:29] * joelpittet quit (Ping timeout: 240 seconds)
90: [11:44:16] * zfmf_ quit (Ping timeout: 252 seconds)
91: [11:44:27] * howardgrigg has joined #silverstripe
92: [11:46:14] * zfmf_ has joined #silverstripe
93: [11:48:38] * howardgrigg quit (Ping timeout: 240 seconds)
94: [11:49:58] * zfmf quit (Ping timeout: 264 seconds)
95: [11:51:18] * zfmf has joined #silverstripe
96: [11:52:21] <Alfirin> So, no one's working on a sunday? I can hardly blame you
97: [11:54:46] * zfmf_ quit (Ping timeout: 264 seconds)
98: [11:57:12] <DesignerX> Alfirin: hi, you can maybe use "onBeforeWrite()" on the BlogEntry to check if the details have not been filled to use the Member::curr() details ?
99: [11:58:57] <DesignerX> Alfirin: but no, not sure how to pre-fill the details :( maybe there is a method you can call on the FormField to set default value ?
100: [11:59:35] * Shrike_Finland quit (Quit: Leaving.)
101: [12:02:41] <Alfirin> I copied a few lines from the blog module, since I figured it might work, but so far I only got the date to work
102: [12:07:23] <Alfirin> Haha I think I'm onto something! Now it changed the textfield label into the current user's name
103: [12:08:39] * howardgrigg has joined #silverstripe
104: [12:11:06] * zfmf quit ()
105: [12:13:15] <Alfirin> Yay it works now|
106: [12:18:33] <Zauberfisch> Alfirin: there is a populateDefaults method or something
107: [12:18:38] * howardgr_ has joined #silverstripe
108: [12:18:46] <Zauberfisch> also hacking it in getCMSFields works in most cases
109: [12:20:06] <Alfirin> Aye Zauberfisch, I noticed the populateDefaults thing as well, and that was what worked
110: [12:20:20] <Alfirin> I don't know why it didn't work with the name at first, but it works now
111: [12:21:17] * sukirti has joined #silverstripe
112: [12:25:32] * DesignerX quit (Ping timeout: 252 seconds)
113: [12:26:17] * henkpoley quit (Quit: henkpoley)
114: [12:27:20] <Alfirin> I think SS can see the future
115: [12:27:32] <Alfirin> it claims my latest visit happened on 26th of september, 2014
116: [12:29:16] * dizzystuff has joined #silverstripe
117: [12:29:58] * dizzystuff quit (Client Quit)
118: [12:32:42] <Alfirin> No wait.... 27 is the month
119: [12:32:46] <Alfirin> *26
120: [12:33:53] <Alfirin> Hah, nvm, it put minutes in the place of month
121: [12:37:09] * howardgrigg quit (Remote host closed the connection)
122: [12:43:04] * Shrike_Finland has joined #silverstripe
123: [12:52:04] * howardgrigg has joined #silverstripe
124: [13:13:30] * howardgrigg quit ()
125: [13:18:47] * gelignite has joined #silverstripe
126: [13:25:45] * joelpittet has joined #silverstripe
127: [13:27:46] * Sj0hn has joined #silverstripe
128: [13:30:46] * joelpittet quit (Ping timeout: 264 seconds)
129: [14:06:16] * howardgr_ quit (Remote host closed the connection)
130: [14:06:42] * howardgrigg has joined #silverstripe
131: [14:11:05] * howardgrigg quit (Ping timeout: 244 seconds)
132: [14:11:34] * Shrike_Finland quit (Quit: Leaving.)
133: [14:40:41] * Shrike_Finland has joined #silverstripe
134: [14:41:03] * Alfirin quit (Ping timeout: 245 seconds)
135: [15:07:09] * howardgrigg has joined #silverstripe
136: [15:11:37] * howardgrigg quit (Ping timeout: 265 seconds)
137: [15:14:44] * joelpittet has joined #silverstripe
138: [15:14:52] * Shrike_Finland quit (Quit: Leaving.)
139: [15:15:49] * Shrike_Finland has joined #silverstripe
140: [15:17:18] * howardgrigg has joined #silverstripe
141: [15:19:13] * joelpittet quit (Ping timeout: 240 seconds)
142: [15:21:53] * howardgrigg quit (Ping timeout: 244 seconds)
143: [15:24:57] * stripemonkey has joined #silverstripe
144: [15:25:02] <stripemonkey> Hi o/
145: [15:26:05] <stripemonkey> Very quick question - I want to intercept the rendering of all pages and filter it, what (and where) is the best way of capturing the rendered templates?
146: [15:27:01] <stripemonkey> (The reason being I need to allow for users to insert references to constants and session variables, and have those replaced with the current refs and vars on the server)
147: [15:28:44] * CodeTrap1 quit (Ping timeout: 252 seconds)
148: [15:40:10] <stripemonkey> I'm trying to override renderWith() from my Page class but it doesn't seem to be being called. What makes a SiteTree node actually render?
149: [15:40:36] <Zauberfisch> stripemonkey: are you sure hooking into the renderer is the right way to go?
150: [15:40:50] <stripemonkey> Nope :-)
151: [15:40:58] <Zauberfisch> perhaps what you are trying to do can be done with just parsing the content
152: [15:41:01] <stripemonkey> That's why I came here, seeking higher wisdom!
153: [15:41:01] <Zauberfisch> or a shortcode parser
154: [15:41:15] <stripemonkey> Oh right, where would that belong?
155: [15:41:46] <Zauberfisch> stripemonkey: do your users write that variables into the HTMLEditor?
156: [15:41:56] <Zauberfisch> the WYSIWYG editor
157: [15:42:19] <stripemonkey> Yep, they probably will do, they don't know it yet though
158: [15:42:44] <Zauberfisch> if they just write it into content, its as easy as doing:
159: [15:42:55] <stripemonkey> They need to be able to create links to a legacy system that carry GET vars across that have been temporarily stored in a session var
160: [15:45:29] <stripemonkey> Zauberfisch: are you still there? I hope you have a little example for me coming up :-)
161: [15:45:59] <Zauberfisch> http://paste2.org/NC3yAkst
162: [15:46:38] <Zauberfisch> if you want more advanced stuff, take a look at the silverstripe shortcode stuff:
163: [15:46:41] <Zauberfisch> http://doc.silverstripe.org/framework/en/reference/shortcodes
164: [15:48:27] * howardgrigg has joined #silverstripe
165: [15:48:42] <stripemonkey> Perfect, thank you - can shortcodes be applied to dataobjects just as easily?
166: [15:48:49] <Zauberfisch> yes
167: [15:48:59] <Zauberfisch> also my example code can be aplied to anything
168: [15:49:01] <stripemonkey> eg, I have some banners and buttons that are dataobjects
169: [15:49:05] <Zauberfisch> I called it 'Content'
170: [15:49:09] <stripemonkey> Thanks again, I'll use that :-D
171: [15:49:15] <stripemonkey> I saw
172: [15:49:23] <Zauberfisch> if you rename that method to 'Foo' then it will do that for the DB value Foo
173: [15:49:27] <stripemonkey> I need it to apply to other HTML fields but that's easy enough
174: [15:49:31] <stripemonkey> Yup
175: [15:49:34] <Zauberfisch> yeah, just rename it
176: [15:49:40] <stripemonkey> tvm!
177: [15:52:59] * howardgrigg quit (Ping timeout: 240 seconds)
178: [15:58:08] * stripemonkey quit (Ping timeout: 245 seconds)
179: [15:59:32] <Sj0hn> Hi, im getting the following error: Strict Standards: Declaration of ConfigExtention::extraStatics() should be compatible with that of DataExtension::extraStatics() in /mysite/code/ConfigExtention.php on line 85
180: [16:00:39] <Sj0hn> what did i do wrong here.. http://paste2.org/0JdEp1vG
181: [16:02:02] <Sj0hn> oh wait its deprecated?
182: [16:02:55] <Sj0hn> How can i set defaults for and dataextension?
183: [16:12:00] * Shrike_Finland quit (Quit: Leaving.)
184: [16:13:15] <Sj0hn> any1?
185: [16:17:59] <Zauberfisch> Sj0hn: what SS version are you using?
186: [16:23:15] <Sj0hn> 3.1.3
187: [16:36:10] <Sj0hn> Zauberfisch
188: [16:45:41] <Zauberfisch> Sj0hn: then extraStatis is deprecated anyway
189: [16:45:44] <Zauberfisch> just use statics
190: [16:47:38] <Zauberfisch> http://paste2.org/6HKbex5Y
191: [16:47:41] <Zauberfisch> like this
192: [16:49:28] * howardgrigg has joined #silverstripe
193: [16:49:41] <Sj0hn> Does it set the default records when dev/build?
194: [16:50:33] <Sj0hn> also i have this in the config: Object::add_extension('SiteConfig', 'ConfigExtention');
195: [16:51:26] <Zauberfisch> Sj0hn: I don't know what you mean
196: [16:51:41] <Zauberfisch> but extraStatics() has been replaced by just using real php static variables
197: [16:51:42] * McLovin123 has joined #silverstripe
198: [16:51:47] <Zauberfisch> they work exacly the same way
199: [16:52:04] * OxFF1 has joined #silverstripe
200: [16:52:47] <McLovin123> Hey, anyone know how to fix "Action 'Security' isn't available on class Security." error? I was missing my <% base_tag %>, have since added it in and I keep trying to flush, but I can't flush the cache. Any way to manually clear it?
201: [16:53:56] <McLovin123> Pretty sure it's giving me cached pages, but have tried ?flush=1, ?flush=all and /dev/build/flush=1 :(
202: [16:54:05] * howardgrigg quit (Ping timeout: 265 seconds)
203: [16:55:00] <Sj0hn> Zauberfisch, im just trying to set a default value for some fields i've added, but it's not really working.
204: [16:55:48] <Sj0hn> when does it populate the default value? only once when created/added the extention?
205: [16:56:39] <Zauberfisch> yes, $defaults is applied when creating a new record
206: [16:57:24] <Zauberfisch> if you want to check if a value is empty on every write
207: [16:57:34] <Zauberfisch> then hook into onebforeWrite
208: [17:00:26] <Sj0hn> k, that's what i need. Do you have a quick example? if not ill figure it out myself, but it would be helpfull
209: [17:03:18] <Zauberfisch> Sj0hn: something like this: http://paste2.org/LPyhfgkb
210: [17:03:39] * joelpittet has joined #silverstripe
211: [17:03:53] <Zauberfisch> not a 100% sure about the syntax though
212: [17:06:43] <Sj0hn> You are super awesome, the menutitle confirmed it
213: [17:06:53] <Sj0hn> ^^ thnx
214: [17:07:59] * joelpittet quit (Ping timeout: 240 seconds)
215: [17:10:35] <Zauberfisch> very good :D
216: [17:29:13] * OxFF1 quit (Ping timeout: 240 seconds)
217: [17:50:19] * howardgrigg has joined #silverstripe
218: [17:52:06] <Sj0hn> How come you can't call $SiteConfig.WidgetArchiveTitle inside a widget template?
219: [17:54:29] * howardgrigg quit (Ping timeout: 240 seconds)
220: [18:00:32] * nbezzala has joined #silverstripe
221: [18:05:29] * nbezzala quit (Ping timeout: 240 seconds)
222: [18:07:22] * nbezzala has joined #silverstripe
223: [18:19:18] <Sj0hn> nvm, solved it
224: [18:19:48] <Sj0hn> Willr helped me out : http://www.silverstripe.org/widgets-2/show/18440
225: [18:25:50] * simon_w quit (Quit: This computer has gone to sleep)
226: [18:34:06] * OxFF1 has joined #silverstripe
227: [18:34:25] * OxFF1 has left #silverstripe
228: [18:41:33] * DesignerX has joined #silverstripe
229: [18:49:03] * DesignerX quit (Ping timeout: 244 seconds)
230: [18:51:27] * howardgrigg has joined #silverstripe
231: [18:52:02] * Stevie has joined #silverstripe
232: [18:52:29] * joelpittet has joined #silverstripe
233: [18:55:38] * howardgrigg quit (Ping timeout: 240 seconds)
234: [18:57:19] * joelpittet quit (Ping timeout: 244 seconds)
235: [19:02:05] * simon_w has joined #silverstripe
236: [19:06:17] * SightUnseen has joined #silverstripe
237: [19:06:20] * SightUnseen has left #silverstripe
238: [19:10:12] * guttmann has joined #silverstripe
239: [19:16:18] * sukirti quit (Ping timeout: 240 seconds)
240: [19:27:02] <simon_w> Hmm, 8 sherbet fizzes may not have been the best breakfast
241: [19:35:11] <Stevie> you probably want to round that up to a prime number
242: [19:37:19] <simon_w> But they come in packs of 2
243: [19:38:31] <Stevie> well then a letter to the editor is probably in order
244: [19:39:37] <simon_w> Screw that
245: [19:46:23] * Sj0hn quit ()
246: [19:51:15] * sukirti has joined #silverstripe
247: [19:52:19] * sukirti quit (Remote host closed the connection)
248: [19:52:29] * howardgrigg has joined #silverstripe
249: [19:57:13] * howardgrigg quit (Ping timeout: 252 seconds)
250: [20:02:04] * UncleCheese_ has joined #silverstripe
251: [20:02:10] * guttmann quit ()
252: [20:02:27] * guttmann has joined #silverstripe
253: [20:02:53] * gelignite quit (Quit: http://bit.ly/nkczDT)
254: [20:05:36] * darksnatch has joined #silverstripe
255: [20:09:27] * zippy___ has joined #silverstripe
256: [20:09:30] * zippy___ is now known as Guest46941
257: [20:09:56] * antmas has joined #silverstripe
258: [20:10:50] * Guest46941 quit (Client Quit)
259: [20:11:42] * willr has joined #silverstripe
260: [20:11:49] <antmas> morning all
261: [20:12:44] * Ryan-Toast has joined #silverstripe
262: [20:13:08] <Ryan-Toast> Mornin
263: [20:13:41] * zippy____ has joined #silverstripe
264: [20:14:10] <zippy____> morning
265: [20:15:07] <Ryan-Toast> Hey
266: [20:16:45] <Ryan-Toast> what's the difference between $MenuTitle, and $MenuTitle.XML?
267: [20:17:05] <zippy____> The .XML escapes the HTML
268: [20:17:07] <willr> yay monday morning
269: [20:17:14] <Ryan-Toast> Ah, cool :)
270: [20:17:15] <UncleCheese_> ugh
271: [20:17:20] <simon_w> Well, I've got a SilverStripe running with HHVM and Postgres
272: [20:17:32] <Ryan-Toast> I had a three day weekend so feeling pretty good :)
273: [20:17:41] <zippy____> so if someones menu was Foo<b> Hi</b> - then if you don't escape you will get a bold Hi - if you use the .XML then you will actually see the <b> tags
274: [20:17:52] <zippy____> XSS and what not
275: [20:17:54] <antmas> I got sunburnt yesterday, SO FEELING AWESOME
276: [20:18:09] <UncleCheese_> ss23 recommends using .RAW most of the time
277: [20:18:19] <simon_w> zippy____, Ryan-Toast, as of 3.1, there's no difference
278: [20:18:30] <Ryan-Toast> Oh really?
279: [20:18:31] <simon_w> Well, there's probably no difference in 3.0 too
280: [20:18:38] <Ryan-Toast> SoI can take ut the XML then?
281: [20:19:02] <zippy____> UncleCheese_: I was going to use your mock objects, but I had to install the faker via composer, but I had a non composer project - argh! I downloaded the master zip and added the faker to the vendor folder, but I guess the autoload needed to be updated as well..
282: [20:19:05] * simon_w does a quick check...
283: [20:19:06] <UncleCheese_> does that have to do with the new default_cast, simon_w?
284: [20:19:13] <simon_w> Yup, MenuTitle and Title are both Varchar
285: [20:19:16] <simon_w> UncleCheese_, nope
286: [20:19:24] <simon_w> It has to do with them not being HTML fields
287: [20:19:57] <UncleCheese_> zippy____: the dependencies should install automatically
288: [20:20:07] <zippy____> UncleCheese_: I wasn't using composer
289: [20:20:10] <UncleCheese_> oh, jesus
290: [20:20:20] <zippy____> existing project
291: [20:20:27] <UncleCheese_> still, though
292: [20:20:35] <simon_w> That reminds me. I need to post a retort about the emphasis on composer
293: [20:20:38] <UncleCheese_> shouldn't make a difference
294: [20:21:53] <UncleCheese_> simon_w I think the biggest problem with composer right now is that module developers don't declare their requirements correctly. Either too specific or too loose
295: [20:22:04] <simon_w> UncleCheese_, nope
296: [20:22:09] <UncleCheese_> and you end up with unrecoverable errors
297: [20:22:09] <zippy____> UncleCheese_: Yes, because if you don't use composer then the autoload files wont update so SS wont pull in the classes I believe
298: [20:22:24] <simon_w> zippy____, just stick a _config.php in vendor
299: [20:22:29] <zippy____> ah
300: [20:23:00] <zippy____> I love how _config.php is still the best way - even with the xml ho thingy
301: [20:23:23] <simon_w> zippy____, git doesn't let you have empty folders
302: [20:23:27] <zippy____> well.. maybe not the best way, but it gets stuff down
303: [20:23:33] <simon_w> if you're not using git, a _config folder works too
304: [20:23:39] <UncleCheese_> i think you can just have a _config directory
305: [20:23:41] <Stevie> UncleCheese_ - this biggest problem I see at the moment is that composer authors dont tag releases and everyone relies on dev_master
306: [20:23:54] <UncleCheese_> yeah
307: [20:23:59] <simon_w> Stevie, still nope
308: [20:24:11] <Stevie> what then?
309: [20:24:18] <UncleCheese_> i'm going to write a bot that keeps daily totals of simon_w 's "nopes" in IRC
310: [20:24:18] <simon_w> It requires the command line
311: [20:25:02] <UncleCheese_> Composer GUI!
312: [20:25:06] <simon_w> Unlike things like Laravel and Symfony, SilverStripe is targeting non-developers too
313: [20:25:08] <Stevie> haha, snap
314: [20:25:17] <simon_w> Or entry level developers
315: [20:25:19] <UncleCheese_> Shouldn't be
316: [20:25:46] <simon_w> Yes it should. It's a CMS, not a framework
317: [20:25:55] <UncleCheese_> It's more a framework than a CMS, though
318: [20:26:00] <Stevie> and it works as a CMS out of the box
319: [20:26:02] <simon_w> HAHAHAHA
320: [20:26:12] <UncleCheese_> I think their efforts to make it end-user friendly are not appropriately placed
321: [20:26:36] <simon_w> I think their efforts to decouple the framework from the CMS have utterly failed
322: [20:26:40] <UncleCheese_> I just think that's where its strengths are
323: [20:26:46] <UncleCheese_> i don't think the CMS is a strength… at all
324: [20:27:01] <zippy____> UncleCheese_: Really? Thats all I use it for… for other things I use laravel
325: [20:27:02] <UncleCheese_> it's not user-friendly
326: [20:27:11] <UncleCheese_> the UI is just not competative
327: [20:27:13] <UncleCheese_> it's not fast
328: [20:27:22] <zippy____> It's better than Wordpress
329: [20:27:26] <UncleCheese_> i use it because I can build pretty much anything with it
330: [20:27:29] <Ryan-Toast> Not faster though.
331: [20:27:30] <antmas> zippy____: low bar
332: [20:27:34] <UncleCheese_> anything the client wants, i can build it with SS
333: [20:27:40] <UncleCheese_> but that doesn't mean it's done elegantly
334: [20:27:52] <UncleCheese_> the code is elegant, but the user experience is clunky
335: [20:28:01] <simon_w> I'm moving away from SilverStripe because the framework is shit
336: [20:28:05] * Stevie is now known as Stomach
337: [20:28:27] <UncleCheese_> compared to laravel and symfony, you'll get no argument from me there
338: [20:28:29] <antmas> if you couldn't use SS for whatever reason, what is your go-to?
339: [20:28:30] <simon_w> I end up fighting it way more than I should
340: [20:28:51] <simon_w> antmas, currently, Laravel and BeatBox
341: [20:29:10] <UncleCheese_> For me, all I have is a hammer, so everything looks like a nail, so that's why I continue with SS
342: [20:29:23] <UncleCheese_> I haven't hit such a wall with it that i would move away
343: [20:29:36] * simon_w quit (Quit: Leaving)
344: [20:29:54] * simon_w has joined #silverstripe
345: [20:30:01] <Ryan-Toast> Does Laravel have a cms?|
346: [20:30:09] <antmas> Ryan-Toast: don't think so
347: [20:30:09] <simon_w> No
348: [20:30:24] <antmas> Ryan-Toast: you can add ones though
349: [20:30:26] * r3v3rb has joined #silverstripe
350: [20:30:28] <Ryan-Toast> their website is really nice.
351: [20:30:29] <antmas> like Pongo
352: [20:30:54] <simon_w> Ryan-Toast, Laravel's a framework built to be a framework. SilverStripe's a CMS that pretends to have a framework
353: [20:31:03] <r3v3rb> hi silverstripers
354: [20:31:05] <UncleCheese_> Ryan-Toast: it's not really a fair question to ask, because unlike SS, Laravel doesn't offer you this bundled product.. they're offering something that you USE to make a great CMS, but they're not in the CMS business
355: [20:31:23] <r3v3rb> simon_w: laravel was not a nice experience
356: [20:31:26] <UncleCheese_> A good comparison is Expression Engine
357: [20:31:33] <Ryan-Toast> UncleCheese_: I used to do the same thing with CakePHP, which was good.
358: [20:31:40] <Ryan-Toast> Haven't tried Laravel though.
359: [20:31:42] <UncleCheese_> their framework has been pretty successful
360: [20:31:48] <UncleCheese_> or it was
361: [20:32:05] <UncleCheese_> codeignitor was it?
362: [20:32:06] <r3v3rb> laravel is good if you dont mind creating your whole admin/management system
363: [20:32:08] <UncleCheese_> ugh
364: [20:32:23] <antmas> r3v3rb: yeah, no thnks
365: [20:32:34] <UncleCheese_> I think SS has a few good things to offer, like that it comes with the /admin/ module and member management, etc
366: [20:32:40] <antmas> aint nobody got tiiiiime for dat
367: [20:32:57] <simon_w> r3v3rb, so, it wasn't nice because you don't have a CMS?
368: [20:33:02] <UncleCheese_> and as much as everyone complains about the templating engine, it's pretty nice, and most importantly, it's their own
369: [20:33:19] <simon_w> Most of what I'm building currently doesn't need a CMS, so Laravel is so much nicer to use than SilverStripe
370: [20:33:22] <UncleCheese_> i just don't think you can sell people on a great framework if all you are is bits and pieces of other tools
371: [20:33:29] <r3v3rb> simon_w: no it wasn't nice as the framework wasn't as intuitive as SS imho
372: [20:33:36] <UncleCheese_> just use Rails
373: [20:33:55] <simon_w> r3v3rb, every framework has a learning curve. SilverStripe's isn't intuitive either.
374: [20:34:17] <simon_w> I help write it and still have regular WTF moments from it being stupid
375: [20:35:09] <r3v3rb> simon_w: maybe not, but results are seen quicker when working with the SS framework as it has modeladmin etc whereas Laravel is a bloody BIG blank canvas when starting out
376: [20:35:13] <antmas> I wouldn't mind trying a Rails cms
377: [20:35:26] <simon_w> r3v3rb, exactly. It's a framework, not a CMS.
378: [20:36:06] * SightUnseen has joined #silverstripe
379: [20:36:09] <r3v3rb> simon_w: I would argue that SS is not so much a CMS as a framework with a utility backend now - the CMS is optional
380: [20:36:17] <r3v3rb> to a degree
381: [20:36:33] <simon_w> r3v3rb, like I said earlier, their attempts to separate the CMS from the framework have utterly failed
382: [20:36:55] <r3v3rb> oh, missed that. why?
383: [20:37:08] <simon_w> Because it forces you to think as if there's a CMS
384: [20:37:16] <r3v3rb> and, question: I have a modeladmin cmsAction - I want it to open a new browser tab with the url I pass from the function
385: [20:37:55] <UncleCheese_> hmm
386: [20:38:00] <r3v3rb> is it possible to get the function to pass a URL to a director and have that open in a new browser tab?
387: [20:38:02] <simon_w> I've got a couple of CMS-less (no ModelAdmin either) SilverStripe sites. They are horrible to develop.
388: [20:38:25] <simon_w> r3v3rb, opening in a new tab requires the target attribute
389: [20:38:26] <UncleCheese_> r3v3rb: long shot, but if you have a FormAction object, you can probably do ->setAttribute('target','_blank') ??
390: [20:38:29] <simon_w> Nothing PHP side
391: [20:38:48] <r3v3rb> UncleCheese_: simon_w thanks
392: [20:39:31] <r3v3rb> simon_w: I've produced two, both using only the framework, reporting module and lots of yaml routes - I started the original design in Laravel but just felt happier in SS when I got to a certain point
393: [20:39:55] <r3v3rb> ie, the missing functional backend to Laravel
394: [20:40:05] <simon_w> So, the CMS
395: [20:40:25] <r3v3rb> not the CMS because it didn;t have any pages
396: [20:40:29] * SightUnseen quit (Ping timeout: 240 seconds)
397: [20:40:38] * simon_w face palms
398: [20:40:42] <r3v3rb> lol
399: [20:40:46] <simon_w> You can have a CMS manage content that isn't pages
400: [20:41:18] <r3v3rb> I would call it a backend admin framework
401: [20:41:23] * joelpittet has joined #silverstripe
402: [20:41:28] <simon_w> Doesn't stop it being a CMS
403: [20:41:38] <simon_w> It's a system to manage content
404: [20:41:42] <r3v3rb> simon_w: I'll agree to disagree
405: [20:42:47] <r3v3rb> simon_w: nope, it was a system to build reports based on forms being submitted to sites and output email responses - no content being managed by the client at all, just a visual backend to get the reports
406: [20:43:00] <r3v3rb> :)
407: [20:43:12] <antmas> Anyone ever used Concrete 5?
408: [20:43:18] <McLovin123> sorry, I know this is basic but anyone know how to include include some html on a specific page only? im a bit confused by the templating docs
409: [20:43:19] <Stomach> simon_w - I agree though, you do start to think of components in terms of their editability, not their function
410: [20:43:22] <r3v3rb> antmas: don't so it
411: [20:43:51] <simon_w> McLovin123, <% if $ClassName = 'MyClassType' %>
412: [20:43:52] <Stomach> McLovin123 - if it has its own class, put a ClassName.ss file in the templates/Layout/ folder
413: [20:43:52] <r3v3rb> McLovin123: <% if ClassName = "PageType" %>
414: [20:44:00] <Stomach> or what they said
415: [20:44:25] <r3v3rb> simon_w: sorry I missed the newly required $ there ;)
416: [20:44:37] <simon_w> r3v3rb, not required, just good practice :)
417: [20:44:38] <McLovin123> simon_w, r3v3rb thanks :)
418: [20:45:01] <zippy____> McLovin123: and if it's a bunch of HTML, put that into a include and include that in your If - so you don't have a <% if > big block of HTML <% endif
419: [20:45:48] <r3v3rb> zippy____: +1 that <% if %><% include %><% end_if %>
420: [20:45:49] * joelpittet quit (Ping timeout: 244 seconds)
421: [20:47:39] * SightUnseen has joined #silverstripe
422: [20:48:44] * SightUnseen has left #silverstripe
423: [20:50:02] <antmas> client = "oh, my mate's going to do it now, he's got some new software and can build the site for $200"
424: [20:50:12] <antmas> me = "what's the software?"
425: [20:50:17] <antmas> client = "Wix"
426: [20:50:27] * antmas dies inside
427: [20:50:42] <Ryan-Toast> Oh god.
428: [20:53:29] <r3v3rb> hmm, why does my form action result in 'Not Found' popping up, afaik all necessary parts are setup, my other fa, works fine :\
429: [20:53:31] * howardgrigg has joined #silverstripe
430: [20:56:52] <antmas> r3v3rb: allowed_actions?
431: [20:57:42] * howardgrigg quit (Ping timeout: 244 seconds)
432: [20:59:01] * joelpittet has joined #silverstripe
433: [20:59:13] * joelpittet quit (Remote host closed the connection)
434: [21:01:25] <r3v3rb> antmas: its listed, but afaik not necessary for a form action in modeladmin
435: [21:01:47] <antmas> r3v3rb: ah, modeladmin, didn't see that part :P
436: [21:01:55] <r3v3rb> antmas: :D
437: [21:02:08] <antmas> fuck
438: [21:02:25] <antmas> hat how some bands have all albums on spotify, but not one of them
439: [21:02:34] <antmas> hate*
440: [21:03:20] <zippy____> yeap I need my crystal method!
441: [21:03:57] <antmas> no Black Dahlia Murder love for the new album that came out last year
442: [21:03:58] <antmas> :(
443: [21:06:15] * UncleCheese_ quit (Quit: UncleCheese_)
444: [21:11:29] <simon_w> Fair enough too
445: [21:13:04] * joelpittet has joined #silverstripe
446: [21:18:26] <antmas> simon_w: ?
447: [21:18:49] <simon_w> Artists get so much more money from album sales than spotify
448: [21:19:14] <antmas> lol, album sales
449: [21:27:48] * nbezzala quit (Remote host closed the connection)
450: [21:29:20] <ss23> MOTHER FUCKER UNCLECHEESE
451: [21:29:26] <ss23> 10:18:48 <@simon_w> Artists get so much more money from album sales than spotify
452: [21:29:35] <ss23> "Yay, you get 2c instead of 1c! that's double!!!!!"
453: [21:29:36] <ss23> :P
454: [21:30:30] <simon_w> More like $1 (and going up) instead of 0.01c (and going down)
455: [21:30:46] <simon_w> And then it's even better if you buy direct from the artist
456: [21:45:20] <antmas> meh, if an artist decides to join a record label that jips them on sales, it's their own fault
457: [21:45:24] <antmas> aka Lorde
458: [21:45:36] <ss23> >their own fault
459: [21:45:41] <ss23> I mean
460: [21:46:00] <ss23> On some level you're right, but when 99% of the industry is in that situation, it's a strech
461: [21:46:08] <antmas> true
462: [21:46:15] <ss23> Once they're already in the situation and no money is the norm, it's hard to get out
463: [21:46:39] <ss23> End of the day, if none of the big labels are going to push you, your chances of ever making it "big" are so much less, that you have to chose to take the shitty money, or just hope like hell
464: [21:46:41] * Jakx has joined #silverstripe
465: [21:46:50] <antmas> lots of bands I follow have joined a record label, but take of care of distribution and sales themselves and do VERY well from it
466: [21:47:10] <antmas> besides, most bands get vastly more money from tours than record sales
467: [21:47:27] <Jakx> ^
468: [21:47:28] <ss23> Gotta get someone to help set up and pay for tours + gear + everything etc though
469: [21:47:58] <antmas> lots of bands are using IndieGoGo too
470: [21:48:02] <ss23> Not that I've checked, but I presume most unsigned people don't get to play at Vector Arena
471: [21:48:06] <ss23> Only very recently though :P
472: [21:48:11] <ss23> I mean, I hope the situation will get better, for sure
473: [21:48:21] <antmas> yeah, hopefully
474: [21:48:34] <ss23> I would prefer everyone could just make music if they wanted to and not worry about money
475: [21:48:37] <ss23> :D
476: [21:48:38] <Jakx> ss23, yeah but that's not to say the independents don't have the promotional capacity to get a vector arena gig.
477: [21:48:48] <antmas> would you rather someone pirate your music? or get 1c per play on Spotify?
478: [21:49:04] * UncleCheese_ has joined #silverstripe
479: [21:49:08] <ss23> antmas: I'm an opensource zealot, we already know I would prefer people pirate it
480: [21:49:11] <ss23> :P
481: [21:49:16] <ss23> I like sharing things, music included
482: [21:49:17] <antmas> :D
483: [21:49:21] <Jakx> distribute for cheap and cash in on ticket sales imo. That's what record companies do these days with their "360" contracts.
484: [21:49:23] <antmas> yeah, me too
485: [21:50:11] <antmas> but from a bands perspective, some money is always better than no money
486: [21:51:00] <antmas> ss23: do you use spotify?
487: [21:53:10] <Jakx> Amanda Palmer is a great example of someone who fulfills the role of a record label through the way that she extrovertedly connects with her audience. She supplements the crucial role of what would be a record label by intensively promoting herself and building incredibly strong relationships with her fans. Record labels are really just paying you so they can churn you through their networks for profit. If you're prepared to do the incre
488: [21:53:27] <Jakx> Anyway, what password encryption does SS use by default?
489: [21:53:34] <zippy____> UncleCheese_: I watched that video of your testing thing at SS - I saw this on the weekend as well… https://github.com/Huddle/PhantomCSS http://tldr.huddle.com/blog/css-testing/
490: [21:53:49] <simon_w> Jakx, blowfish
491: [21:53:50] <ss23> antmas: Naw
492: [21:54:00] <Jakx> simon_w, ty :)
493: [21:54:01] <antmas> are the SS videos up yet?
494: [21:54:10] <ss23> antmas: I prefer to use my own downloaded music, but due to the fucking horrors of being on Telecom Bigpipe, I'm using Google Music at work
495: [21:54:29] * howardgrigg has joined #silverstripe
496: [21:54:33] <ss23> Jakx: Hashing, not encryption!
497: [21:54:39] <antmas> ss23: is Google Music a paid service?
498: [21:54:46] <zippy____> antmas: nop
499: [21:54:47] <antmas> never tried it myself
500: [21:54:53] <ss23> antmas: Free and paid, but if you want to use their library, paid
501: [21:54:54] <zippy____> http://vimeo.com/silverstripe
502: [21:55:05] <ss23> antmas: Upload your own music is free
503: [21:55:06] <Jakx> ss23, noted.
504: [21:55:07] <antmas> ss23: wait, so what part is free?
505: [21:55:09] <antmas> oh
506: [21:55:13] <McLovin123> simon_w, quick q: Say I have 3 pages (Page 1, Page 2 and Page 3). I want my homepage to include Page 1 & Page 2 (which are editable in the CMS), but have some specific html code inserted between the two.. I've got the if statements working but have no idea how to insert content from diff pages into diff parts of the template?
507: [21:55:49] <simon_w> McLovin123, <% with Page("url-of-page") %>$field<% end_with %>
508: [21:56:41] <zippy____> The only issue with that, is if the page url changes (unlikely) it could break. What you could do is setup a relationship on the home page - like "PageForXContent" => Page - and then in the CMS select that page.
509: [21:56:53] <simon_w> Mmm, L&P Sour
510: [21:56:55] <simon_w> Delicious
511: [21:57:07] <antmas> ss23: zippy____ so it's just like Gdocs and Gbooks then?
512: [21:57:25] <zippy____> antmas: I don't use it
513: [21:58:20] * wracu has joined #silverstripe
514: [21:58:21] <simon_w> antmas, it seems to be the opposite of iTunes Match
515: [21:58:49] * howardgrigg quit (Ping timeout: 240 seconds)
516: [21:59:15] <wracu> elementary question for most... how can I loop through all DataObjects of a certain type in my template? The dataobject type has no relationship to anything else (belongs to etc)
517: [22:00:12] <simon_w> wracu, <% loop $List('Type') %>
518: [22:00:25] <wracu> thanks ;-)
519: [22:00:41] <wracu> often its the simple stuff eh..
520: [22:00:48] <McLovin123> simon_w, Ok i think I got ya now. Last question, is there any way to stop the wysig editor from tidying html? I'm wrapping an anchor around a div (which is valid in html5) and the wysig editor removes it :(
521: [22:01:11] * nbezzala has joined #silverstripe
522: [22:05:09] <Ryan-Toast> McLovin123: Could you not just use the TimyMCE link tool?
523: [22:05:30] <Ryan-Toast> or won't it let you wrap divs?
524: [22:05:36] <zippy____> simon_w: cool, didn't know you could do that, I would always add a function to page or siteconfig to access the object
525: [22:05:54] <ss23> McLovin123: Not really
526: [22:06:13] <ss23> McLovin123: There are some tinymce customization options, but SilverStripe itself is going to parse the shit out of your HTML and correct it lots
527: [22:06:20] <ss23> McLovin123: Best option is to search for like "tinymce don't remove div"
528: [22:06:33] <ss23> It's probably got a config option for it, but it's not SilverStripe specific probably
529: [22:07:30] <McLovin123> ss23 I think I found it (pasting in case anyone in future reads the irc logs): http://stackoverflow.com/questions/14597219/how-to-configure-tinymce-to-allow-block-level-elements-inside-anchor-a-tag
530: [22:09:58] <ss23> sweet :D
531: [22:12:29] <simon_w> Does someone else want to write this TradeMe integration for me?
532: [22:12:49] <ss23> lol
533: [22:12:53] <ss23> What language?
534: [22:12:55] * simon_w does not like this code base, or the API
535: [22:13:00] <simon_w> PHP
536: [22:13:06] <Jakx> trademe API is bleh.
537: [22:13:13] <ss23> Coworker who worked on it said most of their API stuff was *really* old/amatuear
538: [22:13:17] <ss23> Though that was ~3 years ago
539: [22:13:27] <ss23> iirc they made is upload shit via FTP
540: [22:13:39] <ss23> us*
541: [22:13:43] * spronk has left #silverstripe
542: [22:14:02] <simon_w> They've got an oauth API now
543: [22:14:07] <ss23> oh
544: [22:14:10] <ss23> and you love oath!
545: [22:14:18] <ss23> oauth*
546: [22:14:24] <simon_w> But instead of telling you what the fields are for each category, they have an API for that!
547: [22:14:32] <simon_w> So the fields can change underneath you!
548: [22:14:34] * simon_w rages
549: [22:15:00] <ss23> lol
550: [22:15:07] <simon_w> Also, they can be different for different users
551: [22:15:11] <Ryan-Toast> Mmmm, I think I have to make a trade me integration soon.
552: [22:15:15] <ss23> Hmm
553: [22:15:17] <Ryan-Toast> not looking forward to it now.
554: [22:15:19] <ss23> That sounds not great, simon_w
555: [22:15:27] <simon_w> Is horrible
556: [22:15:49] <Ryan-Toast> antmas: portfolio done yet?
557: [22:17:34] <ss23> The colors on one of my monitors are so fucking bad
558: [22:17:43] <ss23> have to make sure to use the shitty one for code, or I won't be able to see this design
559: [22:17:46] <ss23> :/
560: [22:18:44] <antmas> Ryan-Toast: nope, haven't touched it all weekend :(
561: [22:18:47] <simon_w> Sucks to be you!
562: [22:19:04] <Ryan-Toast> antmas: I drove an Audi RS6 on the weekend, was fun
563: [22:19:12] <Ryan-Toast> the 5L v10
564: [22:19:21] <antmas> lucky bastard
565: [22:19:28] <antmas> one of my dream wagons
566: [22:19:39] <Ryan-Toast> It's so fucking fast, it's not even funny.
567: [22:20:04] <Ryan-Toast> I tried my hardest to get it to valve bounce, but no dice :P
568: [22:20:42] <antmas> instalicenceloss
569: [22:20:43] <antmas> :P
570: [22:21:09] <Ryan-Toast> haha, most definetly
571: [22:21:26] * spronk has joined #silverstripe
572: [22:22:28] * simon_w really doesn't like the PocketRent code base
573: [22:22:37] <antmas> mmmmm
574: [22:22:38] <antmas> damn
575: [22:23:00] <antmas> anyone know of a way to open a local .exe via html?
576: [22:23:03] <simon_w> But SilverStripe doesn't let us make it better!
577: [22:23:25] <simon_w> antmas, a file:// link?
578: [22:23:26] <Ryan-Toast> antmas: that would be a huuuge security exploit
579: [22:24:05] <antmas> Ryan-Toast: naw, its local intranet
580: [22:24:11] <Ryan-Toast> oh, local
581: [22:24:13] <Ryan-Toast> nvm
582: [22:24:21] <antmas> simon_w: tries to download the file
583: [22:24:29] <simon_w> Good browser!
584: [22:24:34] <simon_w> antmas, ActiveX? :p
585: [22:24:36] <antmas> http://www.codeproject.com/Articles/113678/How-to-execute-a-Local-File-using-HTML-Application this sorta works
586: [22:24:40] <antmas> simon_w: ^^^^ yeah
587: [22:25:19] <antmas> but problem is, it can't find the local file (c://)
588: [22:25:36] <simon_w> Well, your slashes are the wrong way
589: [22:25:47] <antmas> simon_w: :P I know
590: [22:26:40] <antmas> WshShell.Run("file here", 1, false); won't work
591: [22:27:21] <antmas> I'll keep looking :D
592: [22:27:47] <simon_w> Just use a remote-code execution exploit? :p
593: [22:28:00] <antmas> wait
594: [22:28:18] <antmas> wshshell does work :P, that's where you need file://
595: [22:28:27] <antmas> when on a hosted server
596: [22:28:30] <antmas> herpdep
597: [22:28:39] * simon_w fixed it!
598: [22:28:59] <antmas> XD
599: [22:29:06] <simon_w> Now, next thing that means I don't have to deal with TradeMe's API?
600: [22:29:51] * travis-ci has joined #silverstripe
601: [22:29:52] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2095 (3.0 - 6b4864e : Damian Mooyman): The build passed.
602: [22:29:52] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/c94c26faef60...6b4864eabf70
603: [22:29:52] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/20418527
604: [22:29:52] * travis-ci has left #silverstripe
605: [22:33:50] <antmas> damnit, still can't find the file :(
606: [22:34:18] * an_Eskimo has joined #silverstripe
607: [22:34:27] <simon_w> Did you check behind the other couch?
608: [22:35:15] <antmas> I actually did check the couch for coins this morning and found $5 :D
609: [22:38:34] <simon_w> Wanna donate it to the "Simon's Wedding" fund? :p
610: [22:39:01] <antmas> simon_w: pfffft BK Change Range maaaafuckaaaaar!
611: [22:43:29] <antmas> works for .exes stored on a file server, but not on a local machine :(
612: [22:50:29] * joelpittet quit ()
613: [22:55:31] * howardgrigg has joined #silverstripe
614: [22:56:42] <antmas> oh, it doesn't like spaces in the file path?
615: [22:56:44] <antmas> fffffff
616: [22:59:12] <Ryan-Toast> you need to use % don't you?
617: [22:59:31] <simon_w> ~1? Is that still a thing Windows does?
618: [22:59:47] <Stomach> hmm - is it just me or does the BrokenLinksReport not get passed any parameters anymore
619: [22:59:59] * howardgrigg quit (Ping timeout: 240 seconds)
620: [23:00:14] <antmas> Ryan-Toast: %20 you mean?
621: [23:00:18] <Ryan-Toast> ye
622: [23:00:27] <antmas> tried it, no dice
623: [23:00:34] <Stomach> $params always seems to be false, and the checking of $_REQUEST is searching for the wrong key too?
624: [23:01:00] * r3v3rb quit (Quit: r3v3rb)
625: [23:02:53] <simon_w> Stomach, FIX IT
626: [23:02:57] <Stomach> or any reports actually
627: [23:03:09] <Stomach> just checking its not just me going crazy
628: [23:05:35] * violetina quit (Remote host closed the connection)
629: [23:09:12] <simon_w> Well, there's that too. Probably not related though.
630: [23:09:38] <Stomach> SilverStripe is quite often the source of the questions though
631: [23:19:02] <antmas> oh good
632: [23:19:09] <antmas> didn't realise Activex is IE only :(
633: [23:19:12] <wracu> speaking of questions... earlier I asked about looping through all Dataobjects ( <% loop $List('Type') %> ).. now I want to use a URL parameter to do the same, but filtered based on the value one of the mandatory fields...
634: [23:19:34] <ss23> That sounds scary
635: [23:19:43] <wracu> any tips on how to implement a URL [paramter to filter or display a different list of DataObjects?
636: [23:20:46] <wracu> ie.... mysite.com/somepage?value=type1 mysite.com/somepage?value=type2
637: [23:21:06] <wracu> The result would be the same template but the list of DataObjects would differ...
638: [23:22:16] <antmas> anyone used XPCOM before?
639: [23:22:49] <UncleCheese_> wracu: you're trying to do waaaay too much controller logic on the template
640: [23:23:05] <ss23> ^^
641: [23:23:08] <ss23> MVC, yo
642: [23:23:09] <UncleCheese_> the $List(something) is just a shortcut that really shouldn't be used in most cases
643: [23:23:23] <UncleCheese_> keep your view and controller logic separate by creating a custom getter
644: [23:23:23] <ss23> wracu: Instead, have a getMyObjects or something method and just call that
645: [23:23:58] <UncleCheese_> public function filteredThings() { return Thing::get()->filter("SomeField", $this->request->getVar('SomeParam')) }
646: [23:24:12] <UncleCheese_> <% loop $FilteredThings %>
647: [23:26:43] * simon_w goes and closes some feature requests
648: [23:27:55] <ss23> lol
649: [23:28:59] * irogue_ tries to decide whether to do work or play The Stick of Truth today
650: [23:30:28] <antmas> irogue_: I read that game is super buggy at the moment
651: [23:31:08] <antmas> then again, what game isn't at launch these days?
652: [23:36:39] <wracu> yeah I figured this is not template stuff.
653: [23:36:41] <wracu> thanks for the tip
654: [23:36:51] <wracu> i"ll have a go at it on those lines
655: [23:40:38] <irogue_> antmas: there's been an update which has fixed *most* things
656: [23:40:46] <irogue_> there's still the occasional bit where it gets stuck
657: [23:41:07] <irogue_> just have to re-load last save and it's usually fine
658: [23:41:22] <irogue_> autosaves often enough to not be too annoying :P
659: [23:44:04] <ss23> Not like Minimetro!
660: [23:44:07] <ss23> Which is perfect
661: [23:48:46] * Jakx quit (Quit: ~ Trillian Astra - www.trillian.im ~)
662: [23:49:10] <simon_w> Going by Cam's response, I volunteer him to deal with all people that are being forced into learning composer and a CLI
663: [23:50:43] * Bollig|DesignCty has joined #silverstripe
664: [23:50:44] * UncleCheese_ quit (Quit: UncleCheese_)
665: [23:52:11] <irogue_> ss23: that goddamn game
666: [23:52:23] <irogue_> ss23: stole most of cole and i's weekend
667: [23:52:26] <ss23> XD
668: [23:52:39] <ss23> irogue_: But uh, I said to Cole, probably don't wanna install the webplayer on anything you don't want hacked
669: [23:52:42] <ss23> just fyi
670: [23:52:43] <ss23> :P
671: [23:52:48] <irogue_> yeah
672: [23:52:49] <ss23> (the unity webplayer that is)
673: [23:52:57] <irogue_> trust me, i wasn't gonna install the webplayer
674: [23:52:59] <irogue_> fuck that
675: [23:53:01] <ss23> XD
676: [23:53:42] <simon_w> You're enough of a player already?
677: [23:54:35] <ss23> AW
678: [23:54:38] <ss23> #boomheadshot
679: [23:55:52] * kim__ has joined #silverstripe
680: [23:56:25] * howardgrigg has joined #silverstripe
681: [23:57:33] <simon_w> Turns out I have one free Saturday left before I move
682: [23:58:02] <kim__> HI Hopefully someone can help me. I have what I think is a very easy question. I have a has_one dataobject in one of my classes but do not know how to create that in the cmsFields
683: [23:58:04] <ss23> simon_w: are we getting buergerfuel at some point?
684: [23:58:16] <simon_w> Maybe?
685: [23:58:51] <antmas> you guys anr your Burger Fuel
686: [23:58:51] <simon_w> kim__, is there a reason why the fields need to be in the dataobject and not on your page?
687: [23:58:54] <antmas> and*
688: [23:59:11] <simon_w> antmas, Caitlin got a free burger from showing up on their screen!
689: [23:59:47] <irogue_> i had burgerfuel last night
690: [23:59:49] <kim__> It is a dataobject that represents a video file so has many fields
691: [23:59:51] <antmas> :(

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