#silverstripe IRC Log

IRC log for 27 June 2016

All timestamps are in UTC.

1: [00:00:01] * ss-helper quit (Remote host closed the connection)
2: [00:00:13] * ss-helper has joined #silverstripe
3: [00:37:01] * Stomach quit (Quit: zzz)
4: [00:52:20] <DanaeNZ> uggghhhh
5: [00:52:39] <DanaeNZ> it still feels like morning, time for another coffee
6: [00:52:46] <DanaeNZ> if it feels like morning, it's coffee time
7: [00:56:53] * spronk agrees
8: [00:57:03] * spronk hands DanaeNZ another coffee
9: [00:57:13] * DanaeNZ sips coffee
10: [00:57:15] * spronk hands his self another coffee
11: [00:57:26] <DanaeNZ> IT'S RAW
12: [00:57:29] * spronk 's self drops it and it spills
13: [00:57:31] * DanaeNZ throws it on the ground
14: [00:57:33] <spronk> FUCCCCKKKK
15: [00:57:53] <spronk> i'm struggling with the grind on my new beands
16: [00:57:55] <spronk> beans
17: [00:57:58] <spronk> they are finicky little shits
18: [00:58:16] <DanaeNZ> I know pretty much nothing about coffee
19: [00:58:27] <spronk> apparently
20: [00:58:29] <spronk> it comes from beans
21: [00:58:38] <spronk> mind blown, amirite
22: [00:58:44] <spronk> magic fucking beans
23: [00:59:02] <DanaeNZ> hol
24: [00:59:02] <DanaeNZ> y
25: [00:59:04] <DanaeNZ> shit
26: [01:00:04] <spronk> omfggggg
27: [01:00:08] <spronk> game of throenessssssss sooon
28: [01:00:10] <spronk> THEN AGES
29: [01:00:12] <spronk> WITHOUT
30: [01:00:13] <spronk> :'(
31: [01:05:00] * Stomach has joined #silverstripe
32: [01:10:31] <DanaeNZ> I started reading the books yesterday
33: [01:10:37] <DanaeNZ> never watched the show
34: [01:31:52] <spronk> zoomggg
35: [01:31:55] <spronk> when you do
36: [01:31:57] <spronk> because you will
37: [01:32:00] <spronk> you'll be like
38: [01:32:03] <spronk> holy boobs
39: [01:32:07] <DanaeNZ> hahahhaa
40: [01:33:32] <spronk> there are many boobs. Some pretty good ones too. Even Mrs spronk was impressed.
41: [01:35:30] * pippy quit (Ping timeout: 250 seconds)
42: [01:40:10] <DanaeNZ> bewbs
43: [01:40:17] <spronk> blewbs
44: [01:40:22] <DanaeNZ> I'm like 5 chapters in
45: [01:40:22] <spronk> <honest trailer guy voice>
46: [01:40:24] <spronk> hmm
47: [01:40:27] <DanaeNZ> there are already bewbs
48: [01:40:29] <DanaeNZ> haahahah
49: [01:40:33] <spronk> yeah
50: [01:40:40] <spronk> definitely makes you wonder wtf goes on in the mind of grrm
51: [01:41:06] * spronk is currently listening to the s06 soundtrack
52: [01:41:08] <spronk> awesome
53: [01:57:55] * UncleCheese has joined #silverstripe
54: [02:05:33] * Stomach quit (Quit: zzz)
55: [02:09:01] * Stomach has joined #silverstripe
56: [02:15:51] * Stomach quit (Quit: zzz)
57: [02:42:59] * Phlunk3 has joined #silverstripe
58: [02:48:19] * Stomach has joined #silverstripe
59: [03:00:07] <ss-helper> RFC-6 Namespace: State of change and ORM namespace introduction - https://groups.google.com/d/msg/silverstripe-dev/Ig3ODKBEaT4/Vm5href0AgAJ
60: [03:01:04] * MichalKleiner has joined #silverstripe
61: [03:25:27] * Kolin quit (Ping timeout: 276 seconds)
62: [03:34:01] * Kolin has joined #silverstripe
63: [03:52:57] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
64: [03:54:13] * spekulatius has joined #silverstripe
65: [04:04:58] * grg quit ()
66: [04:41:35] * spekulatius quit (Quit: Leaving)
67: [05:43:58] * glenn-bautista quit (Quit: Leaving.)
68: [05:51:01] * wmk has joined #silverstripe
69: [06:06:39] * TombL quit (Ping timeout: 276 seconds)
70: [06:18:31] * spronk quit (Quit: I may need a longer sleep timer...)
71: [06:20:59] <ss23> https://twitter.com/skooooch/status/747308496580812800 tfw you accidently pop shells at mcdonalds
72: [06:30:39] <DanaeNZ> ss23: did you get free mcd's?
73: [06:31:08] <ss23> that is somewhat illegal, so decided not to
74: [06:33:24] * Stomach quit (Ping timeout: 246 seconds)
75: [06:38:25] * Eliseth has joined #silverstripe
76: [06:55:34] * Stomach has joined #silverstripe
77: [06:55:43] * wmk quit (Read error: Connection reset by peer)
78: [07:05:04] * Stomach quit (Quit: zzz)
79: [07:05:58] * arnhoe has joined #silverstripe
80: [07:18:55] * Stomach has joined #silverstripe
81: [07:20:05] * UncleCheese has joined #silverstripe
82: [07:23:35] * Azure|dc has joined #silverstripe
83: [07:24:52] * DanaeNZ sips wine
84: [07:25:31] * Azure quit (Ping timeout: 240 seconds)
85: [07:25:50] <ss23> I could go for a bottle of wine right now
86: [07:26:28] <DanaeNZ> I never really drank wine til this one project
87: [07:26:37] <DanaeNZ> by a travel site I shall not mention
88: [07:27:06] <DanaeNZ> I am on glass number 2
89: [07:27:08] <DanaeNZ> It's a monday
90: [07:27:20] <ss23> lol
91: [07:29:53] * Azure has joined #silverstripe
92: [07:31:40] * Azure|dc quit (Ping timeout: 264 seconds)
93: [07:38:39] * DanaeNZ heavily sculls wine
94: [07:40:11] * micmania1 quit (Read error: Connection reset by peer)
95: [07:44:08] * Azure|dc has joined #silverstripe
96: [07:45:28] * Azure quit (Ping timeout: 272 seconds)
97: [07:47:44] * irogue quit (Ping timeout: 260 seconds)
98: [07:48:52] * swaiba has joined #silverstripe
99: [07:51:17] * deschebbs has joined #silverstripe
100: [07:56:41] * wmk has joined #silverstripe
101: [07:57:26] * slievr has joined #silverstripe
102: [07:58:57] * Azure|dc quit (Remote host closed the connection)
103: [07:59:27] <swaiba> wmk o/
104: [08:00:10] <wmk> hey ho
105: [08:01:29] * spronk has joined #silverstripe
106: [08:01:52] * DanaeNZ finishes the wine bottle
107: [08:02:52] * DanaeNZ quit (Remote host closed the connection)
108: [08:03:24] * DanaeNZ has joined #silverstripe
109: [08:03:28] * micmania1 has joined #silverstripe
110: [08:05:52] * kinglozzer has joined #silverstripe
111: [08:08:12] * DanaeNZ quit (Ping timeout: 276 seconds)
112: [08:12:13] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
113: [08:20:41] * UncleCheese has joined #silverstripe
114: [08:32:27] * spronk quit (Quit: I may need a longer sleep timer...)
115: [08:36:10] <deschebbs> hi, some brain cells idle out there?
116: [08:37:30] <deschebbs> well, I have a Page thas has_many Films(DO) that has_one Photo (DO) that has_one Image.
117: [08:39:18] <deschebbs> , I try to get one specific Image in the Page GridFiled. When i do
118: [08:40:33] <deschebbs> whe i fetch the image with a call to a function on the Film DO (i call the function in the setDisplayFields on the Page) i get a data list of a Film
119: [08:43:07] * irogue has joined #silverstripe
120: [08:43:07] * irogue quit (Changing host)
121: [08:43:07] * irogue has joined #silverstripe
122: [08:43:08] <deschebbs> sorry, wrong: I call a function on Film to get the related Photo objects.
123: [08:43:16] * kinglozzer quit (Remote host closed the connection)
124: [08:43:33] <deschebbs> From this dataList of the Photo i get i can not get the related Image object. I can not call any methods on the Photo Object as i only have a dataList.
125: [08:43:59] <deschebbs> how can i solve this? Sorry, is a bit much...
126: [08:45:33] <deschebbs> sorry,my threeandahalf finger typing is horrible, i know...
127: [08:47:32] <deschebbs> if this is not a beating arround the bush approach, it might boildown to the question: How can i get a DO from a DataList?
128: [08:52:08] <swaiba> $list->first();
129: [08:52:15] <swaiba> will get teh first one
130: [08:52:32] <deschebbs> does it return da DO
131: [08:52:45] <swaiba> yep
132: [08:52:58] <swaiba> also $list->offsetGet($x);
133: [08:53:10] <deschebbs> sounds dimpe, lets see
134: [08:53:12] <swaiba> will get the $x'th item from the list
135: [08:53:21] <deschebbs> "simple"
136: [08:55:12] <swaiba> I'm trebblies a pilling two
137: [08:55:21] <deschebbs> no, guess its not what i am looking for. I dont want to get an element from the list. i want to get a DO that is related to the DO that is representet by the list.
138: [08:55:37] <swaiba> that was supposed to be funny way of saying I'm terrible at spelling too
139: [08:56:03] * kinglozzer has joined #silverstripe
140: [08:56:04] <swaiba> then you want $list()->MyItem()->MyotherItem()
141: [08:56:17] <swaiba> just keep chaining
142: [08:57:03] <swaiba> where a has one, use the relationship name, where has many/many many, use the relationship name AND something from http://api.silverstripe.org/3.0/class-DataList.html
143: [08:57:15] <swaiba> something like, first, last, offsetGet...
144: [08:59:08] <deschebbs> well okay, with $list->get() i get a DO and on this one i could do a get on chaining. i try that.
145: [09:04:00] * micmania1 quit (Ping timeout: 272 seconds)
146: [09:12:31] * irogue quit (Ping timeout: 240 seconds)
147: [09:19:22] <wmk> kinglozzer, that keyframe tip was good, thanks
148: [09:19:39] <kinglozzer> wmk: No problem :)
149: [09:35:17] <deschebbs> swaiba, got it. thanks for your help!
150: [09:36:21] <deschebbs> i dont have netbeans configured properly to show object api everywherein silverstripe. is there a plugin for that?
151: [09:36:57] <swaiba> I think most people have phpstorm setup for that
152: [09:37:32] <deschebbs> yeah, header of that. But it costsright?.And is it realy any better?
153: [09:40:21] <deschebbs> "heard" of that. omg!
154: [09:40:43] * slievr quit (Quit: Leaving.)
155: [09:43:04] * pinkp has joined #silverstripe
156: [09:43:51] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
157: [09:47:01] <pinkp> Anyone one know how to link to the page of a data object rather than the object it self? So I have <% loop $children %><% loop $dataobjects %><a href=$LINKTOCHILDPAGE?><img src="$URL"> etc
158: [09:48:00] <pinkp> $link gives the data object link and $top.link the top page not the child that is in the loop
159: [09:48:12] * Stomach quit (Quit: zzz)
160: [09:48:55] * slievr has joined #silverstripe
161: [09:52:00] <wmk> deschebbs, yes, phpstorm costs a bit. but imho it's worth the money. a personal licence is very affordable
162: [09:54:08] <swaiba> deschebbs even though I still don't use it all that often - it's the one I recommend
163: [09:54:15] <swaiba> and I used to use netbeans too
164: [09:56:37] * UncleCheese has joined #silverstripe
165: [09:59:31] <wmk> best pro for phpstorm (still): silverstripe template highlighting
166: [10:00:05] <deschebbs> swaiba: download running...
167: [10:01:17] <deschebbs> ja, templates are screwed up in Netbeans thoug i have an extension installed .
168: [10:02:08] <wmk> really? I spent an hour to find an error in netbeans, then someone made me switch to phpstorm in 2013
169: [10:02:25] <deschebbs> wmk: janetbeans does not hightlight closing tagsin ...at leastmy config
170: [10:04:12] * DanaeNZ has joined #silverstripe
171: [10:04:38] <wmk> janet beans? o la la la... https://www.youtube.com/watch?v=qpXeahpWZgI
172: [10:05:32] <wmk> deschebbs, ^^^
173: [10:09:14] * DanaeNZ quit (Ping timeout: 272 seconds)
174: [10:17:39] <deschebbs> dont you have work to do buddy? you google misspelling. what is this!!!!! but hey! lemme check your link...
175: [10:18:24] <deschebbs> to bad: "Unfortunately, this video is not available in your country "
176: [10:19:30] <wmk> deschebbs, come to austria...
177: [10:19:39] <wmk> damn gema
178: [10:20:50] <deschebbs> moved to tor. okay, kölsch oldies again. neat!
179: [10:22:04] <deschebbs> makes me look forward to my holiday
180: [10:22:27] <wmk> Tor?
181: [10:24:39] <deschebbs> Tor
182: [10:25:04] <wmk> Toooooor!
183: [10:25:13] <deschebbs> thevegierouter
184: [10:25:32] <wmk> aaah, that stuff...
185: [10:26:38] <deschebbs> everybody thinks of other tors thes days, i know. National hysteria.
186: [10:28:20] <wmk> btw deschebbs https://twitter.com/BR_quer/status/746598504303300608 cool video about monads ;)
187: [10:29:19] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
188: [10:29:41] * UncleCheese has joined #silverstripe
189: [10:33:23] <deschebbs> for me today is more a dogs day.
190: [10:35:18] * DimiStripe quit (Quit: DimiStripe)
191: [10:46:47] * Azure has joined #silverstripe
192: [10:50:11] * Saj has joined #silverstripe
193: [10:50:52] <Saj> Hey guys! Can anyone point me into the right direction to learn how to use the Silverstripe Omnipay Module to create a donation form?
194: [10:53:52] <swaiba> Hey Saj, as I've not used it I'm not sure I can
195: [10:54:08] <swaiba> however I'd advise you get the ecommerce module and omnipay
196: [10:54:27] <swaiba> and they should work together - so all answers contained wtihin there
197: [10:54:57] <swaiba> else look for plain omnipay intergration tutorials if you don't want to include with something like ecommerce
198: [10:55:10] <wmk> Saj, there is also https://gitter.im/silverstripe/silverstripe-omnipay for asking.
199: [10:56:19] <Saj> Cheers guys! I'll try my luck on gitter
200: [10:59:09] <swaiba> wmk is that why it is so quiet here... everyone using slack or glitter now?
201: [11:02:11] * Saj has left #silverstripe
202: [11:07:41] * metaspike has joined #silverstripe
203: [11:07:41] <ss-helper> metaspike: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
204: [11:16:30] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
205: [11:22:17] <wmk> swaiba well, on that gitter / slack channels i'm in it's also quite quiet
206: [11:22:23] <wmk> maybe cause it's finally summer?
207: [11:22:53] <swaiba> just curious
208: [11:30:07] * slievr quit (Read error: Connection reset by peer)
209: [11:30:19] * DarjusIT has joined #silverstripe
210: [11:30:48] <DarjusIT> Hi is any tutorials how to make my own views in admin area?
211: [11:30:56] * slievr has joined #silverstripe
212: [11:31:44] * slievr quit (Read error: Connection reset by peer)
213: [11:32:22] * slievr has joined #silverstripe
214: [11:33:31] * DimiStripe has joined #silverstripe
215: [11:40:28] * metaspike quit (Quit: Leaving)
216: [11:53:45] * Azure|dc has joined #silverstripe
217: [11:55:38] * Azure quit (Ping timeout: 272 seconds)
218: [11:56:22] * kinglozzer quit (Remote host closed the connection)
219: [12:10:47] <swaiba> DarjusIT I'm sure there is a tutorial on that, if not take a module you like and cut it back until it is just "a view in the admin area" and then build up again
220: [12:11:04] * Azure|dc quit (Remote host closed the connection)
221: [12:20:50] * UndefinedOffset has joined #silverstripe
222: [12:21:58] * cupcake has joined #silverstripe
223: [12:23:50] <cupcake> ola 0/
224: [12:23:59] <slievr> Ello o/
225: [12:24:17] <cupcake> has anyone managed to work with updated Instagram API >
226: [12:24:35] <slievr> Never worked with instagram sry
227: [12:25:36] * kinglozzer has joined #silverstripe
228: [12:26:31] <cupcake> damn cant get it to connect :(
229: [12:30:03] * kinglozzer quit (Ping timeout: 246 seconds)
230: [12:43:42] * pinkp quit (Ping timeout: 250 seconds)
231: [12:44:25] * kinglozzer has joined #silverstripe
232: [12:46:00] * darianno has joined #silverstripe
233: [13:05:51] * brasileric has joined #silverstripe
234: [13:17:01] * muskie9 has joined #silverstripe
235: [13:22:41] * swaiba quit (Remote host closed the connection)
236: [13:23:11] * janneklouman-- has joined #silverstripe
237: [13:43:22] * brasileric quit (Remote host closed the connection)
238: [13:53:34] * wmk quit (Ping timeout: 240 seconds)
239: [14:00:35] * DanaeNZ has joined #silverstripe
240: [14:29:29] * deschebbs quit (Quit: Konversation terminated!)
241: [14:34:59] * [Fate] has left #silverstripe
242: [14:41:10] * Giank has joined #silverstripe
243: [14:41:10] <ss-helper> Giank: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
244: [14:41:11] * janneklo1man-- has joined #silverstripe
245: [14:41:19] <Giank> Hi to all. Thank you for being there.
246: [14:41:44] * janneklouman-- quit (Read error: Connection reset by peer)
247: [14:42:03] <Giank> I've got a little problem with SilverStripe that I think relates to a bug in the framework. Where do you think it is the best to report it and start a discussion?
248: [14:42:51] <kinglozzer> Giank: https://github.com/silverstripe/silverstripe-framework/issues :)
249: [14:43:35] <Giank> Thank you very much. As I am using the 3.3.2, and I see the 3.4.0 has been released, is it sufficient to update the composer.json and issue an update to try if that solves my issue?
250: [14:43:58] <Giank> The official website doesn't seem to report it yet, I'm discovering it here
251: [14:44:04] <kinglozzer> Giank: That's probably a good idea, yes
252: [14:52:09] <Giank> Wow the upgrade process is very straightforward. Unfortunately it v3.4 doesn't seem to have my issue solved. I will have to check GitHub!
253: [15:00:28] <Giank> Added my problem to an existing issue
254: [15:02:20] <Giank> Would you check if I posted to the right issue? https://github.com/silverstripe/silverstripe-framework/pull/5384
255: [15:04:27] <kinglozzer> Yes that looks right Giank
256: [15:04:50] <Giank> Fine, thank you for taking the time to look that up!
257: [15:05:07] <kinglozzer> No problem Giank, Github issues is basically my home page ;)
258: [15:05:37] <Giank> I learned git this month just to start contributing to SilverStripe. I love this project
259: [15:08:00] <Giank> I felt a little upright when they excluded the Admin Generator from Symfony Core on v2.0 and didn't felt at home with third party solutions. I tried Drupal and Joomla but found their codebase to be basically garbage and I think Wordpress needs to be used for blogs only. So when I heard about SilverStripe, I could not end talking about that. I was up and running in a week straight!
260: [15:09:06] <Giank> I am learning it by developing a website for a client, I basically wired up all the backend functionalities I needed and just need to develop the front end theme.
261: [15:10:10] <kinglozzer> Nice Giank :D
262: [15:11:22] <Giank> Once the site launches, as it uses all advanced functionalities of the framework, will be elegible for a spotlight in the dev network site?
263: [15:11:51] <Giank> I would like to post a showcase and add me as in the dev directory
264: [15:11:52] * Eliseth quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
265: [15:12:52] <kinglozzer> Giank: I believe you can add yourself to the developer directory and add the site to the showcase yourself too
266: [15:13:09] <kinglozzer> They may need to be "approved" first, but I'm pretty sure you can submit them
267: [15:13:42] <kinglozzer> To be "featured" on the showcase, I think you may need to email SilverStripe
268: [15:13:53] <Giank> I hope they will like it, then! ;) Technically speaking, I think is a good use case, I read other ones and found them inspiring and have a word or two about my personal experience.
269: [15:17:03] <Giank> What is your stance on SilverStripe 4.0 and AngularJS?
270: [15:18:01] <kinglozzer> Giank: I'm not sure what you mean - you can use whichever JS framework you like
271: [15:18:16] <kinglozzer> I've never used "new" Angular so I can't really comment :P
272: [15:19:05] <Giank> Sorry I meant ReactJS, as per https://www.silverstripe.org/4/
273: [15:19:20] <Giank> they want to integrate this library down to the framework, I heard
274: [15:19:23] <kinglozzer> Ah, I see
275: [15:19:30] <kinglozzer> Yes that's well underway now
276: [15:20:06] <Giank> Yes, what is your stance on that? Do you use it?
277: [15:20:37] <kinglozzer> Some parts of the admin area will be run in ReactJS, some parts will still use the old "jQuery Entwine" code until they're eventually updated
278: [15:20:39] <Giank> My first impression, as I discovered it trough SilverStripe news, it is that it remembers ASP.net strange code
279: [15:21:13] <Giank> however it could be fun to use it in frontend too, it looks scary but exciting!
280: [15:21:32] <DarjusIT> Hi all I have manage to make my own crm admin view, but I have problem: after I go to /admin/pages first it loads all page perfectly but if I go /admin/website_config at start when I see only content data no left menu no CRM styling? Any ideas why?
281: [15:21:56] <Giank> Did you /flush?1 ?
282: [15:22:33] <kinglozzer> React is certainly quite different to other libraries.. I'm not a very experienced JS dev so I can't really comment on the pros/cons of it :P
283: [15:22:46] <kinglozzer> You can check out some of the components that are currently being worked on here: https://github.com/silverstripe/silverstripe-framework/tree/master/admin/client/src/components
284: [15:23:51] <DarjusIT> code: http://www.sspaste.com/paste/show/577144cdc95f1
285: [15:24:44] <Giank> @kinglozzer I felt in love in the past with http://apostrophenow.org v1 (v2 uses node.js so I abandoned it: also it was difficult to work on) ability to change content in line.
286: [15:25:32] <kinglozzer> DarjusIT: Your index() function is only ever returning that snippet of HTML
287: [15:25:58] <kinglozzer> It works via ajax because that's all it needs to load (that one "fragment"), but for non-ajax requests you need to return the rest of the HTML too
288: [15:27:12] <kinglozzer> DarjusIT: Does it work if you just remove index() completely?
289: [15:27:34] * arnhoe quit ()
290: [15:28:13] <Giank> So you need to use something like
291: [15:28:14] <Giank> public function index(SS_HTTPRequest $request) { //... if($request->isAjax()) { return "Ajax response!"; } return array ( 'Results' => $paginatedProperties ); }
292: [15:28:24] <Giank> or something like that?
293: [15:29:07] <DarjusIT> kinglozzer: not it not work it dont show any content then
294: [15:30:28] <Giank> @DarjusIT what if you just comment out return $this->renderWith('WebsiteAdmin'); ?
295: [15:31:24] <DarjusIT> Giank: white screen
296: [15:31:29] <kinglozzer> DarjusIT: Try removing index() and naming your template WebsiteAdmin_Content.ss
297: [15:31:35] <kinglozzer> And ?flush of course
298: [15:32:55] <kinglozzer> DarjusIT: If that fails, look at LeftAndMain::getResponseNegotiator()
299: [15:33:33] <kinglozzer> It returns fragments of HTML based on what the AJAX request asks for (or if it's not an AJAX request, it just returns the 'default' option)
300: [15:33:43] <DarjusIT> kinglozzer: it worked :)
301: [15:33:48] <kinglozzer> Cool :)
302: [15:34:33] <DarjusIT> It bit hard to make own admin side pages in SS :(
303: [15:35:35] <kinglozzer> Yeah, it can be difficult. I usually point people to https://github.com/unclecheese/silverstripe-dashboard. It either does what they need, or works as a good example on building custom things ;)
304: [15:36:26] <Giank> I was looking to this example too, but It looks a bit difficult to understand. Also, no index() function!
305: [15:38:33] * wmk has joined #silverstripe
306: [15:41:50] <Giank> What about this gist? https://gist.github.com/nickspiel/c9706fd1cc136679a830
307: [15:42:15] <Giank> This seems simpler to understand. It uses no index() but has also a custom tree class
308: [15:42:47] <Giank> Oh, you said it worked just 15 minutes ago! I didn't see it! Ah ah ah, sorry wanted to understand too!
309: [15:43:43] <Giank> Thank you for the nice chat!
310: [15:44:01] <Giank> Have a nice day!
311: [15:44:51] * Giank quit (Quit: Page closed)
312: [15:54:53] * janneklo1man-- quit (Ping timeout: 250 seconds)
313: [15:59:07] <DarjusIT> is it hard to make gridfield table rows with colored background, depending on object statys? for example if status is off make red row if is on then white row?
314: [16:00:18] <ss-helper> Silverstripe 3.1: Link to page of data object from inside loop - http://stackoverflow.com/questions/38058219/silverstripe-3-1-link-to-page-of-data-object-from-inside-loop
315: [16:17:32] * slievr has left #silverstripe
316: [16:17:43] * slievr has joined #silverstripe
317: [16:21:39] * kinglozzer quit ()
318: [16:34:31] * DanaeNZ quit (Ping timeout: 240 seconds)
319: [16:59:19] <wmk> DarjusIT, i _guess_ not...
320: [16:59:50] <wmk> i once added a button to a row (publish/unpublish), but adding a css to the row should be simple.
321: [17:04:34] * wmk quit (Ping timeout: 240 seconds)
322: [17:14:37] * janneklouman-- has joined #silverstripe
323: [18:07:41] * neomang has joined #silverstripe
324: [18:24:23] * DarjusIT_ has joined #silverstripe
325: [18:24:23] <ss-helper> DarjusIT_: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
326: [18:27:25] * DarjusIT quit (Ping timeout: 244 seconds)
327: [18:47:47] * janneklouman-- quit (Ping timeout: 250 seconds)
328: [18:48:46] * Stomach has joined #silverstripe
329: [18:50:19] * janneklouman-- has joined #silverstripe
330: [18:51:12] * slievr quit (Quit: Leaving.)
331: [18:53:30] <neomang> Is there a way to call a function from a page multiple times with dynamic data from either the template or somewhere else on the page?
332: [18:53:37] * Stomach quit (Client Quit)
333: [18:54:32] <neomang> Or if not, a way to call a simple php script to get the required output? I've tried calling it from the static directory but just get the base page template
334: [19:22:52] <DarjusIT_> have anybody tried this plugin? https://github.com/marijnkampf/GridField-Icon-Row-Class
335: [19:32:13] * em_ has joined #silverstripe
336: [19:33:16] <em_> Hello everyone :) Anybody here? I need some help about SS CMS...
337: [19:33:57] <muskie9> em_ some here, ask away and hopefully someone has an answer for you
338: [19:38:36] * Stomach has joined #silverstripe
339: [19:40:34] <em_> I have 2 DataObject - Event and EventType. Event has_one EventType. In CMS I want to add a Tab EventTypes to Event... When I want to create a new Event but new EventType does not exist I just click to another Tab (called EventTypes) and create it (new EventType). I think about this - in Event.php in override getCMSFields() and do sth like $eventTypesTab = new Tab('EventTypes') and then sth like $eventTypesTab->manageModel('EventTy
340: [20:01:41] <DarjusIT_> Hi all how I can extend GridField.php to rewrite newRowClasses function that all gridfields could use it?
341: [20:03:35] <muskie9> DarjusIT_ extend GridField and overwrite the methods you need to adjust... then see if the injector will allow you to override the gridfield usage globally
342: [20:04:19] <muskie9> https://docs.silverstripe.org/en/3.3/developer_guides/extending/injector/
343: [20:18:45] * UncleCheese has joined #silverstripe
344: [20:31:44] * DanaeNZ has joined #silverstripe
345: [20:36:52] * DanaeNZ quit (Ping timeout: 272 seconds)
346: [20:39:11] <em_> I have 2 DataObjects - Event and EventType. Event has_one EventType. In CMS I want to add a Tab EventTypes to Event... When I want to create a new Event but new EventType does not exist I just click to another Tab (called EventTypes) and create it (new EventType). I think about this - in Event.php in override getCMSFields() and do sth like $eventTypesTab = new Tab('EventTypes') and then sth like $eventTypesTab->manageModel('EventT
347: [20:49:52] * UndefinedOffset quit (Quit: Leaving.)
348: [20:52:07] <neomang> Is there a way to make sure a controller action renders without a template? I'm only using it to provide a url i can call within javascript to return just the information i need. Would a completely blank .ss file suffice or would some sort of explicit statement of how to render it be needed?
349: [20:54:25] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
350: [20:58:23] * glenn-bautista has joined #silverstripe
351: [21:17:22] * gelignite has joined #silverstripe
352: [21:32:19] * Azure has joined #silverstripe
353: [21:57:06] * muskie9 quit (Quit: My Mac has gone to sleep. ZZZzzz…)
354: [21:59:14] * em_ quit (Ping timeout: 250 seconds)
355: [22:01:57] * UncleCheese has joined #silverstripe
356: [22:09:49] * UncleCheese quit (Quit: Textual IRC Client: www.textualapp.com)
357: [22:16:11] * Stomach quit (Ping timeout: 240 seconds)
358: [22:19:14] * Stomach has joined #silverstripe
359: [22:21:31] * DanaeNZ has joined #silverstripe
360: [22:33:34] * irogue has joined #silverstripe
361: [22:33:34] * irogue quit (Changing host)
362: [22:33:34] * irogue has joined #silverstripe
363: [22:39:06] * grg has joined #silverstripe
364: [22:40:20] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
365: [22:50:22] * janneklouman-- quit (Ping timeout: 260 seconds)
366: [22:56:07] <AlphaCactus> neomang: have you tried using a controller that extends Controller and not Page_Controller and just echoing or printing your output within your action and returning nothing?
367: [22:58:11] * spronk has joined #silverstripe
368: [23:01:01] <AlphaCactus> or even just return a string?
369: [23:01:28] * janneklouman-- has joined #silverstripe
370: [23:02:43] * Hailwood_Ghost has joined #silverstripe
371: [23:02:46] * Hailwood_Ghost has left #silverstripe
372: [23:03:18] * hailwood has joined #silverstripe
373: [23:06:20] * janneklouman-- quit (Ping timeout: 272 seconds)
374: [23:19:21] <spronk> ommgggg
375: [23:19:23] <spronk> who saw thrones
376: [23:21:20] * Stomach quit (Quit: zzz)
377: [23:22:24] * Stomach has joined #silverstripe
378: [23:25:22] * adrexia quit (Quit: My Mac has gone to sleep. ZZZzzz…)
379: [23:27:44] * hailwood quit (Quit: Leaving)
380: [23:39:09] * Stomach quit (Quit: zzz)
381: [23:45:25] * geekdenz_ has joined #silverstripe
382: [23:45:26] <ss-helper> geekdenz_: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
383: [23:46:03] <DanaeNZ> no one saw thrones
384: [23:46:47] * geekdenz__ has joined #silverstripe
385: [23:46:47] <ss-helper> geekdenz__: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
386: [23:47:12] * geekdenz_ quit (Client Quit)
387: [23:48:26] <geekdenz__> Hi, I would like to know: In SS 3.2, how do I render a Form with AJAX using a template? When I call $form->renderWith($template, array('LoginForm'));
388: [23:48:42] <geekdenz__> it doesn't render the form but the rest of the template
389: [23:52:54] <geekdenz__> $form->renderWith($template, array('Form' => $form));
390: [23:52:57] <geekdenz__> did it
391: [23:56:57] * adrexia has joined #silverstripe

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