#silverstripe IRC Log

IRC log for 14 April 2015

All timestamps are in UTC.

1: [00:00:49] * Stomach has joined #silverstripe
2: [00:03:40] * veb quit (Quit: veb-irc: &)
3: [00:17:05] <MichalKleiner> Ryan-Toast modules are loaded alphabetically so anything that goes after mysite overrides it. It's just a name, nothing special about mysite directory. You can rename it zzzzz and it will get processed last.
4: [00:17:30] <Ryan-Toast> MichalKleiner: I suppose mysite technically is a module
5: [00:17:43] <MichalKleiner> yes
6: [00:18:02] <Ryan-Toast> So since my “mysite“ folder starts with “d” it’s being loaded before some of the framework configs?
7: [00:18:18] <MichalKleiner> I'd guess so
8: [00:18:27] <Ryan-Toast> Lol, that’s pretty annoying.
9: [00:18:48] <MichalKleiner> if you don't use yaml and it's before and after syntax
10: [00:19:06] <MichalKleiner> basic php things in _config will work that 'alphabetical' way
11: [00:19:15] <MichalKleiner> _config.php
12: [00:20:01] <Ryan-Toast> MichalKleiner: You can’t HtmlEditorConfig::get('cms')->setButtonsForLine in the yml file though, can you?
13: [00:20:28] <MichalKleiner> haven't needed that so don't know, sorry
14: [00:20:40] <MichalKleiner> but I'd guess there would be way
15: [00:21:01] <Ryan-Toast> MichalKleiner: It’s pretty handy. Lets you get rid of all the shit that lets clients fuck your content up :P
16: [00:21:50] * DimiStripe quit (Quit: DimiStripe)
17: [00:32:45] * veb has joined #silverstripe
18: [00:37:19] * veb quit (Ping timeout: 245 seconds)
19: [00:38:47] * veb has joined #silverstripe
20: [00:42:28] * Azure quit (Ping timeout: 245 seconds)
21: [00:48:12] * camfindlay quit (Quit: camfindlay)
22: [00:49:47] * camfindlay has joined #silverstripe
23: [01:08:00] * Tanger has joined #silverstripe
24: [01:08:14] <Tanger> Morning!
25: [01:11:19] <Colin[pi]> Tanger: o/
26: [01:13:52] * camfindlay quit (Quit: camfindlay)
27: [01:18:23] <antmas> omg UC pronouces varchar as 'var car'
28: [01:18:24] <antmas> :|
29: [01:18:37] <antmas> I can't unhear that now
30: [01:25:32] * travis-ci has joined #silverstripe
31: [01:25:33] <travis-ci> tractorcow/sapphire#77 (pulls/3.1/fix-togle - 8caaae6 : Damian Mooyman): The build has errored.
32: [01:25:33] <travis-ci> Change view : https://github.com/tractorcow/sapphire/compare/636cddb4bc94^...8caaae601baf
33: [01:25:33] <travis-ci> Build details : http://travis-ci.org/tractorcow/sapphire/builds/58371608
34: [01:25:33] * travis-ci has left #silverstripe
35: [01:26:28] * Liquide has joined #silverstripe
36: [01:26:32] <MichalKleiner> haha antmas
37: [01:27:22] <Colin[pi]> lol, but yeah "character" has the same pronounciation, so I guess he's right technically!
38: [01:27:30] <MichalKleiner> I read it with soft ch, basically in Czech, does it have some special pronunciation?
39: [01:27:35] <Colin[pi]> I've always varCHar though
40: [01:27:37] <Colin[pi]> like cheese
41: [01:27:54] <Colin[pi]> whoops I dropped my "said"
42: [01:27:55] * camfindlay has joined #silverstripe
43: [01:30:23] * adrexia quit (Ping timeout: 245 seconds)
44: [01:40:37] * WandL quit (Ping timeout: 248 seconds)
45: [01:42:00] * adrexia has joined #silverstripe
46: [02:01:18] <MichalKleiner> on that pronunciation topic - http://awads.net/wp/2006/01/18/char-or-car/ :-D
47: [02:01:26] <MichalKleiner> plastic squirrel :-D
48: [02:01:29] <MichalKleiner> PL/SQL
49: [02:01:51] <antmas> ugh
50: [02:02:11] <antmas> one of our network guys CONSTANTLY calls mysql 'mysqueekwill'
51: [02:15:20] <spronk2> plastic squirrel
52: [02:15:20] <spronk2> awesome
53: [02:15:22] <spronk2> mysquirrel
54: [02:15:32] * spronk2 is going to start using that
55: [02:34:29] * novaweb quit (Ping timeout: 248 seconds)
56: [02:35:03] * novaweb has joined #silverstripe
57: [02:38:15] * WandL has joined #silverstripe
58: [02:44:47] * jedateach quit (Ping timeout: 250 seconds)
59: [02:58:57] <MichalKleiner> haha https://twitter.com/sadserver/status/581073160193228800
60: [03:02:42] <antmas> Ryan-Toast: you ever had to do a 1 page ss site using BP?
61: [03:02:51] <Ryan-Toast> antmas: yup
62: [03:02:55] <Ryan-Toast> antmas: doing one atm
63: [03:03:03] <antmas> Ryan-Toast: does BP lend itself to it?
64: [03:03:10] <Ryan-Toast> antmas: Yes and no
65: [03:03:37] <antmas> because a client just said 'I saw this 1 page site and now I wan't that'
66: [03:03:38] <antmas> :|
67: [03:03:45] <Ryan-Toast> antmas: It’s not hard to do.
68: [03:04:25] <antmas> Ryan-Toast: what'd you do? just a new pagetype and a template?
69: [03:04:44] <Ryan-Toast> antmas: Jsust used a HomePAge pagetype, and used dataobeject to make the rest of the biz
70: [03:05:00] <antmas> Ryan-Toast: dataobjects for each of the 'sections'?
71: [03:05:27] <Ryan-Toast> antmas: http://i.imgur.com/6NTlLPg.png
72: [03:06:50] * veb quit (*.net *.split)
73: [03:06:52] * BackEndCoder_ quit (*.net *.split)
74: [03:07:09] <Ryan-Toast> antmas: like thgat ^
75: [03:07:23] <antmas> Ryan-Toast: nice
76: [03:07:36] <antmas> Ryan-Toast: I'll go for that then, chur
77: [03:08:25] <MichalKleiner> http://fws.co.nz/ powered by joomla
78: [03:08:28] <antmas> Ryan-Toast: heh, that logo works perfectly with the cms look :P
79: [03:08:58] <Ryan-Toast> MichalKleiner: currently rebuildingf their site
80: [03:09:34] <MichalKleiner> ok.. so sections are DOs has_many on homepage and that's it?
81: [03:09:51] <antmas> even though it's jword... that site isn't that bad - why the rebuild?
82: [03:10:04] <Ryan-Toast> MichalKleiner: They’re owned by the SiteConfig
83: [03:10:32] <Ryan-Toast> backend was a nightmare for them
84: [03:10:43] <Ryan-Toast> antmas: pretty much just rebuilding in SS
85: [03:10:49] <MichalKleiner> fair enough
86: [03:10:54] <Ryan-Toast> http://server.webdough.co.nz/~fwscon/
87: [03:11:43] <MichalKleiner> looks good
88: [03:11:59] <Ryan-Toast> Meh
89: [03:13:01] * veb has joined #silverstripe
90: [03:13:01] * BackEndCoder_ has joined #silverstripe
91: [03:14:59] * camfindlay quit (Quit: camfindlay)
92: [03:15:19] <antmas> Ryan-Toast: if you clicked on 'Partners' on the left, what exactly do you set in there that is not already in the 'Sections' config?
93: [03:16:11] <Ryan-Toast> antmas: http://i.imgur.com/lnXPYMi.png
94: [03:16:37] <antmas> Ryan-Toast: ah, I see. Nice.
95: [03:17:00] <antmas> sections are just for headings/text etc
96: [03:17:19] <Ryan-Toast> antmas: Yeah, pretty much
97: [03:17:24] * travis-ci has joined #silverstripe
98: [03:17:25] <travis-ci> silverstripe/silverstripe-framework#4548 (3.1 - 67e0a6b : Ingo Schommer): The build passed.
99: [03:17:25] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/9ab61e9e951f...67e0a6b5cc7c
100: [03:17:25] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/58378981
101: [03:17:25] * travis-ci has left #silverstripe
102: [03:21:36] <antmas> hmmm, might go to WDCNZ again
103: [03:21:43] <antmas> have some free conference time
104: [03:23:20] * antmas quit (Quit: Page closed)
105: [03:35:56] * Shrike_Finland has joined #silverstripe
106: [03:38:05] <Stomach> when is wdcnz
107: [03:40:21] * Shrike_Finland quit (Ping timeout: 251 seconds)
108: [03:43:56] * Liquide quit ()
109: [03:44:38] <Ryan-Toast> Stomach: 22 - 23 July 2015
110: [03:44:46] <Stomach> thats my birthday :(
111: [03:44:54] <Ryan-Toast> Mine’s the 28th :D
112: [03:49:14] <MichalKleiner> unfortunately not in NZ during that time
113: [03:49:31] <MichalKleiner> luckily not in NZ during that time
114: [03:49:43] <MichalKleiner> either applies :-D
115: [04:03:19] * camfindlay has joined #silverstripe
116: [04:26:18] * novaweb quit (Quit: Leaving)
117: [04:32:04] * wmk has joined #silverstripe
118: [04:37:32] * Vedran__ has joined #silverstripe
119: [04:44:23] <ss-helper> 010-2712-3993 빨래골출장안마↗사랑하고픈이뿐걸∩_∩❣빨래골출장마사지⑫ - http://www.silverstripe.org/community/forums/general-questions/show/101622
120: [04:46:08] * Colin[pi] has left #silverstripe
121: [04:46:33] <camfindlay> new korean love gurus?
122: [04:47:14] * wmk quit (Quit: nice to meet you ;))
123: [04:49:35] * Phlunk3 quit (Quit: Leaving)
124: [04:50:07] <MichalKleiner> haha, nice 404 seal
125: [04:51:28] * mahfuz quit (Ping timeout: 246 seconds)
126: [04:59:25] <ss-helper> Re: 3.1.10 DataObject / onAfterWrite / in_array - http://www.silverstripe.org/community/forums/general-questions/show/101594#post401194
127: [05:13:43] * Hailwood quit (Quit: Leaving)
128: [05:15:51] * Shrike_Finland has joined #silverstripe
129: [05:36:50] * Ryan-Toast quit (Quit: Ryan-Toast)
130: [05:46:27] * Shrike_Finland quit (Ping timeout: 276 seconds)
131: [05:50:59] * camfindlay quit (Quit: camfindlay)
132: [05:51:28] * Stomach quit (Quit: zzz)
133: [06:06:32] * lerni_ has joined #silverstripe
134: [06:17:11] * mobiusnz quit (Quit: Leaving.)
135: [06:18:24] * Shrike_Finland has joined #silverstripe
136: [06:20:14] <WandL> Hey Ryan-Toast: meant to ask how do you theme the CMS? did you have to edit the core SaSS files, or do you add a custom CSS file to the CMS?
137: [06:23:10] * Guits has joined #silverstripe
138: [06:26:58] * MischaK quit (Ping timeout: 272 seconds)
139: [06:38:51] * Eliseth has joined #silverstripe
140: [06:41:27] * mobiusnz has joined #silverstripe
141: [06:42:01] * babak has joined #silverstripe
142: [06:52:25] * mobiusnz quit (Quit: Leaving.)
143: [06:59:06] * Shrike_Finland quit (Quit: Leaving.)
144: [07:06:32] * mobiusnz has joined #silverstripe
145: [07:11:06] * oetiker quit (Ping timeout: 250 seconds)
146: [07:11:26] * oetiker has joined #silverstripe
147: [07:17:16] * Shrike_Finland has joined #silverstripe
148: [07:23:27] * jarr0dsz has joined #silverstripe
149: [07:23:45] * jarr0dsz quit (Client Quit)
150: [07:37:12] * Shrike_Finland quit (Quit: Leaving.)
151: [07:39:18] * Vedran__ quit (Remote host closed the connection)
152: [07:41:22] * Vedran__ has joined #silverstripe
153: [07:44:45] <ss-helper> Re: Dynamically add custom field with setField() on DataList Items - http://www.silverstripe.org/community/forums/data-model-questions/show/96480#post401260
154: [07:46:50] * Sticks quit (Quit: Leaving)
155: [07:48:50] * swaiba has joined #silverstripe
156: [07:56:01] * Vedran__ quit (Ping timeout: 307 seconds)
157: [07:57:08] * Shrike_Finland has joined #silverstripe
158: [07:58:16] * WandL quit (Quit: Textual IRC Client: www.textualapp.com)
159: [08:07:28] * Guits quit (Ping timeout: 245 seconds)
160: [08:09:03] * kinglozzer has joined #silverstripe
161: [08:11:46] * Guits has joined #silverstripe
162: [08:12:42] * stnvh has joined #silverstripe
163: [08:13:28] <ss-helper> Re: [silverstripe-dev] Module path clean-up! - https://groups.google.com/d/msg/silverstripe-dev/wKVrc0vQ3Zc/5MUXkNR11DcJ
164: [08:13:28] <ss-helper> Module path clean-up! - https://groups.google.com/d/msg/silverstripe-dev/wKVrc0vQ3Zc/ER0Nx5xoOs4J
165: [08:28:30] <ss-helper> Additional Breaking Change in FormAction since 3.1.10? - https://groups.google.com/d/msg/silverstripe-dev/mEZVDDurUwM/WN38a6guFzYJ
166: [08:28:31] <ss-helper> Re: [silverstripe-dev] Module path clean-up! - https://groups.google.com/d/msg/silverstripe-dev/wKVrc0vQ3Zc/bphMCwa_dRIJ
167: [08:28:31] <ss-helper> Re: [silverstripe-dev] Module path clean-up! - https://groups.google.com/d/msg/silverstripe-dev/wKVrc0vQ3Zc/f-QW4jWWFJMJ
168: [08:39:08] * Frans_Amsterdam has joined #silverstripe
169: [08:39:33] * GioVdK has joined #silverstripe
170: [08:43:31] <ss-helper> Re: [silverstripe-dev] Module path clean-up! - https://groups.google.com/d/msg/silverstripe-dev/wKVrc0vQ3Zc/Ofp-VY63L8sJ
171: [08:43:31] <ss-helper> Re: Module path clean-up! - https://groups.google.com/d/msg/silverstripe-dev/wKVrc0vQ3Zc/kdvFpqlliHcJ
172: [08:43:31] <ss-helper> Re: Additional Breaking Change in FormAction since 3.1.10? - https://groups.google.com/d/msg/silverstripe-dev/mEZVDDurUwM/55SyZ2qD23EJ
173: [08:44:34] <Frans_Amsterdam> Hi all, I have a question about login authentiction. It is more an idea that I would like to use. Is it possible to use the login (session) to access another application. Once logged in on a site the user can be redirected to another site and is logged in there also?
174: [08:45:19] * cloph_away is now known as cloph
175: [08:47:14] <zauberfisch> Frans_Amsterdam: basically yes
176: [08:47:27] <zauberfisch> though it might be tricky to actually implement it
177: [08:47:35] <zauberfisch> depends a lot on the details
178: [08:49:27] <Frans_Amsterdam> zauberfisch OK, the situation is this: multple sub-domains with member sections and the main domain. Not all using Silverstripe yet. I'm exploring the possibilities.
179: [08:50:10] * veb quit (Quit: veb-irc: &)
180: [08:51:03] <zauberfisch> Frans_Amsterdam: well, silverstripe based it can be pretty straight forward
181: [08:51:45] <zauberfisch> or is it
182: [08:51:46] <zauberfisch> let me think
183: [08:52:09] <zauberfisch> can www.foo.com write cookies for bar.foo.com?
184: [08:52:39] <Frans_Amsterdam> zauberfisch Please do, I like to have some directions before a suggest it.
185: [08:53:51] <Frans_Amsterdam> zauberfisch I think so.
186: [08:56:08] <zauberfisch> not so sure, I know that www.foo.com can set foo.com, but not sure about this one
187: [08:56:32] <zauberfisch> if its possible, then its easy. you just set the auto login cookie for that domain and then redirect the user
188: [08:57:52] <Frans_Amsterdam> zauberfisch I will google on that thought
189: [08:58:32] <ss-helper> Re: [silverstripe-dev] Module path clean-up! - https://groups.google.com/d/msg/silverstripe-dev/wKVrc0vQ3Zc/p1k0RixpC5EJ
190: [08:59:38] * Phil has joined #silverstripe
191: [09:00:02] * Phil is now known as Guest14919
192: [09:03:08] <Guest14919> I'm having an issue with FormField_holder.ss as i need to override it, when i copy the template into the mysite templates directory composite fields only renders the input html without the labels and divs. Does anyone have an idea what might cause this?
193: [09:09:25] * cloph quit (Ping timeout: 264 seconds)
194: [09:09:42] * r_hector has joined #silverstripe
195: [09:10:25] * veb has joined #silverstripe
196: [09:12:59] * r_hector quit (Remote host closed the connection)
197: [09:14:06] * r_hector has joined #silverstripe
198: [09:27:18] * swaiba quit (Remote host closed the connection)
199: [09:28:34] <ss-helper> Re: [silverstripe-dev] Module path clean-up! - https://groups.google.com/d/msg/silverstripe-dev/wKVrc0vQ3Zc/R_M4sR03slQJ
200: [09:29:56] * Tanger quit (Quit: sleep())
201: [09:43:28] <Guits> How can i use LimitCharacters() in a php function. $html.= " " . $v->Title->LimitCharacters(15); generates error Call to a member function LimitCharacters() on a non-object
202: [09:51:10] * jarr0dszzz has joined #silverstripe
203: [09:57:49] * MischaK has joined #silverstripe
204: [09:58:24] * cupcake has joined #silverstripe
205: [10:02:28] * DimiStripe has joined #silverstripe
206: [10:05:04] * Stomach has joined #silverstripe
207: [10:07:54] * lerni_ quit (Remote host closed the connection)
208: [10:18:04] <kinglozzer> Guits: $v->dbObject('Title')->LimitCharacters(15)
209: [10:21:26] * Stomach quit (Quit: zzz)
210: [10:28:37] <ss-helper> Re: [silverstripe-dev] Module path clean-up! - https://groups.google.com/d/msg/silverstripe-dev/wKVrc0vQ3Zc/--BmWjRV-MwJ
211: [10:28:37] <ss-helper> Re: [silverstripe-dev] Re: CSV / BulkLoading Rewrite - https://groups.google.com/d/msg/silverstripe-dev/tabbsJxzGqg/xmIlydr3jegJ
212: [10:34:27] * Pydocsk has joined #silverstripe
213: [10:43:38] <ss-helper> Re: [silverstripe-dev] Module path clean-up! - https://groups.google.com/d/msg/silverstripe-dev/wKVrc0vQ3Zc/E6icvV8iw5AJ
214: [10:45:15] * veb quit (Quit: veb-irc: &)
215: [10:47:26] * jarr0dszzz quit (Quit: My Mac has gone to sleep. ZZZzzz…)
216: [11:04:02] * Eliseth quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
217: [11:11:12] * praveen has joined #silverstripe
218: [11:11:36] <praveen> Hello
219: [11:14:23] <praveen> I have defined static variable to set the background image http://www.sspaste.com/paste/show/552cf67147c89
220: [11:15:20] <praveen> If I created a page I use $this->stat('background').'.jpg';
221: [11:15:48] <praveen> But When the page is opend from the Rules
222: [11:16:43] <Pydocsk> because wrong.
223: [11:16:52] <praveen> it does not fecthes current Background Image
224: [11:16:53] <Pydocsk> $this->config->background
225: [11:16:59] <Pydocsk> or something like that
226: [11:17:28] <Pydocsk> $this->config()->background perhaps.
227: [11:17:59] <Pydocsk> http://doc.silverstripe.org/en/developer_guides/configuration/configuration/
228: [11:18:33] <Pydocsk> kinglozzer: this fucking thing again! D: https://groups.google.com/forum/#!msg/silverstripe-dev/wKVrc0vQ3Zc/E6icvV8iw5AJ
229: [11:18:48] <Pydocsk> like, HHHHRRRRRRRNNNNNGGGGGGGGGGGGGGGGG FUCKOFF
230: [11:21:00] <praveen> http://www.sspaste.com/paste/show/552cf8022d0b3
231: [11:21:00] * jarr0dsz has joined #silverstripe
232: [11:21:05] <praveen> here is the code
233: [11:21:15] <praveen> I call $pageBackground in template
234: [11:22:03] <kinglozzer> Pydocsk: Huh, what's wrong with that? :P
235: [11:22:08] <kinglozzer> All the tidies
236: [11:22:27] <kinglozzer> Plus .gitignore modules/ instead of forgetting and fucking submodules initialised everywhere
237: [11:22:45] <Pydocsk> 'urgh, my ss root is so messy, I can't find my module' - YOU WONT EITHER IF YOU HAVE THAT MANY ALL UNDER THE SAME LOCATION /modules or /vendor
238: [11:22:55] <Pydocsk> the gitignore bit I can agree with for the most part, I guess.
239: [11:24:32] <Pydocsk> and the people who always whinge on and fucking on about it don't understand the complexities involved, generally aren't module authors at all (at least the kind of moudle that provides some default template stuff I guess - eg required JS for a form field, etc)
240: [11:24:50] <Pydocsk> unless you go through some kind of derp derp fuckery 'module install' process...
241: [11:25:28] <Pydocsk> moving all images, css & js to a web accessible folder or dynamically modifying the route using PHP on every hit...
242: [11:25:43] <Pydocsk> which means you can't bypass the system for statics
243: [11:25:54] <Pydocsk> load all the things on every request! YAY EFFICIENCY
244: [11:26:15] <Pydocsk> I just want a fuck'n 3 line JS file, I DON'T CARE ABOUT YOUR CONFIG LOADER
245: [11:27:09] <Pydocsk> so then it comes down to sacrificing encapsulation/simplicity for the sake of someone not liking the ASTHETICS of the ss root WHICH ULTIMATELY MEANS FUCK ALL
246: [11:27:48] <Pydocsk> if you're going to whinge so fucking much about how SS isn't like Laravel, just fuckoff and use laravel.
247: [11:28:00] * praveen quit (Quit: Page closed)
248: [11:28:01] <zauberfisch> Pydocsk kinglozzer :D
249: [11:28:04] <zauberfisch> thought the same thing
250: [11:28:15] <zauberfisch> its nice that someone wants to put effort into it
251: [11:28:25] <Pydocsk> Yeah, but that's one HELL of a change!
252: [11:28:28] <zauberfisch> but that is something andrew worked on for a while and never completed
253: [11:28:41] <Pydocsk> imo if ajshort can't fix it, don't even try.
254: [11:28:43] <zauberfisch> so that's more than proove that its not a simple matter of moving folders
255: [11:28:45] <Pydocsk> :P
256: [11:28:47] <zauberfisch> yeah
257: [11:28:51] * veb has joined #silverstripe
258: [11:29:04] * veb quit (Client Quit)
259: [11:29:13] <kinglozzer> I say once we namespace, we FORCE modules to be namespaced and autoloaded with composer :D
260: [11:29:33] <Pydocsk> yeah people don't understand that modules also house static assets
261: [11:30:01] * cupcake quit (Quit: Page closed)
262: [11:30:09] <Pydocsk> simply moving a folder ain't gonna help nobody.
263: [11:30:13] <ss-helper> Getting framework/main path in url after auto redirect to sub domain - http://www.silverstripe.org/community/forums/general-questions/show/101623
264: [11:30:21] * lerni has joined #silverstripe
265: [11:30:36] <Pydocsk> and, to be actually technical about it, there's NOTHING AT ALL stopping people from moving modules into a /modules dir RIGHT NOW
266: [11:30:41] <Pydocsk> autoloader scans ALL dirs.
267: [11:30:44] <Pydocsk> including subdirs.
268: [11:30:55] <Pydocsk> hell you can put a module in /mysite/code
269: [11:31:13] <Pydocsk> it'll fuck everything up in some occasions, but for the most part work fine.
270: [11:32:07] <Pydocsk> the issue here isn't hiding shit away.
271: [11:32:12] <Pydocsk> the issue here is getting to the static assets.
272: [11:33:38] <Pydocsk> I feel like running off and proving it with a screencast
273: [11:34:24] <Pydocsk> if a module has no static assets, I think it should work just fine (depending on flexibility written by module author around module dir name if it references itself)
274: [11:35:24] <Pydocsk> I mean, for CSS and JS, one has Requirements::include(MODULEBASE.'blah/blah/.[cs|j]s)
275: [11:35:44] <Pydocsk> which would be fine. IF THEY'RE WEB ACCESSIBLE
276: [11:36:13] <Pydocsk> which becomes an issue if you go hiding everything because people whinge the fuck out about not being able to configure their servers too much.
277: [11:36:21] <Pydocsk> Don't be a derp, it's safe as houses.
278: [11:36:31] <Pydocsk> (php under webroot)
279: [11:36:49] <Pydocsk> 2 topics that wind me right up (if you couldn't tell)
280: [11:37:03] <Pydocsk> at what point do you stop pandering to morons?
281: [11:37:28] <Pydocsk> I mean sure, if there's some evidence about security behind it all, then I'm keen to change my mind.
282: [11:38:10] <zauberfisch> Pydocsk: :D
283: [11:38:18] <zauberfisch> Pydocsk: I am absolutely with you
284: [11:38:35] <zauberfisch> well, actually, I think it would be great to move the modules
285: [11:38:49] <zauberfisch> but when doing it, it has to be done properly.
286: [11:38:56] <zauberfisch> which I fear is not going to happen in 3.x
287: [11:39:16] <zauberfisch> what kinglozzer said actually
288: [11:39:30] <zauberfisch> namespaces. then let composer autoload
289: [11:40:28] <Pydocsk> I like the SS autoloader :<
290: [11:40:40] <kinglozzer> zauberfisch: It does work now (if you can hack around poor namespace support in SilverStripe)
291: [11:40:54] <zauberfisch> kinglozzer: well. it "works"
292: [11:40:58] <zauberfisch> but it doesn't really work
293: [11:41:01] <zauberfisch> I used namespace
294: [11:41:04] <zauberfisch> to give it a try
295: [11:41:11] <Pydocsk> I heard the composer autoloader autoloads by including ALL the things on every request
296: [11:41:15] <kinglozzer> Yeah, I've tried it before and given up and removed it :P
297: [11:41:16] <zauberfisch> and it all works. but it defeats the purpose
298: [11:41:35] <kinglozzer> Pydocsk: Nah it doesn't
299: [11:41:41] <kinglozzer> It registers an autoloader
300: [11:42:03] <zauberfisch> there are so many issues that will just simply make the site fail silently
301: [11:42:03] <Pydocsk> so basically it does a ?flush on every composer install/remove/update/whatever ?
302: [11:42:16] <kinglozzer> Pydocsk: Essentially yeah
303: [11:42:25] <Pydocsk> righto
304: [11:42:29] <kinglozzer> Only it's *waaay* faster than SilverStripe's
305: [11:42:37] <kinglozzer> Though it's not doing as much tbf
306: [11:42:38] <Pydocsk> heh, understandable
307: [11:42:47] <Pydocsk> yeah, how much more does SS's do?
308: [11:43:07] <Pydocsk> I mean, building the manifest is one thing, but then ClassInfo becomes... irrelevant.
309: [11:43:10] <zauberfisch> ss builds the class tree for example. where you can say is_subclass_of and stuff
310: [11:43:15] <Pydocsk> or rather, relevant, but non-existant
311: [11:43:22] <zauberfisch> yep
312: [11:43:32] <Pydocsk> so then everything fails.
313: [11:43:34] <zauberfisch> but I guess we could patch that in at some point
314: [11:43:38] <Pydocsk> which seems ... silly.
315: [11:43:42] <Pydocsk> perhaps.
316: [11:43:47] <Pydocsk> but wouldn't that mean patching composer?
317: [11:43:53] <Pydocsk> to get the infos out of it
318: [11:45:08] <kinglozzer> > Pydocsk: yeah, how much more does SS's do?
319: [11:45:36] <kinglozzer> IIRC composer autoload only supports PSR-4 / PSR-0, SS autoload will find any class in any file structure
320: [11:46:08] * kinglozzer lunches
321: [11:50:30] * Shrike_Finland quit (Quit: Leaving.)
322: [11:52:11] <zauberfisch> Pydocsk: just had a look at the composer class loader
323: [11:52:23] <zauberfisch> yeah, I fear we would need to patch composer
324: [11:53:27] <zauberfisch> or, if I am not mistaken, the class loader is mostly treated as a composer module, it might be possible to replace it
325: [11:53:46] <zauberfisch> or just registern an additonal installer kind of thing that builds the class info stuff
326: [11:54:13] <zauberfisch> only problem: we still need our own class loader for mystie
327: [12:00:19] <Pydocsk> yep
328: [12:00:46] <Pydocsk> I think it's far better explaining WHY things are done this way, and if you don't like it, harden the fuck up.
329: [12:01:03] <Pydocsk> (reference: www.youtube.com/watch?v=unkIVvjZc9Y)
330: [12:02:32] <Pydocsk> for the most part it's purely asthetical. You drop a SINGLE folder if you move to a /modules subdir. (cms)
331: [12:02:57] <Pydocsk> you still need assets, framework, themes (and presumably mysite) right where they are.
332: [12:03:11] * Vedran__ has joined #silverstripe
333: [12:04:00] <Pydocsk> if you're having a whinge because it looks messy or you can't locate a module you're trying to dev or see if it's installed or something... then you'll have the SAME problem in modules/243installed
334: [12:04:24] <Pydocsk> the webroot thing is a separate issue IMO.
335: [12:05:09] <Pydocsk> and using composer as the loader for all the things... at current you get a nice division between SS modules and *
336: [12:05:21] <Pydocsk> ie, system relevant vs not so relevant.
337: [12:06:05] <Pydocsk> but then using my own arguement against me, that's just asthetics. So it doesn't _really_ matter. I'm certainly not so fussed about it as I am about the whole sub dir thing.
338: [12:06:57] <Pydocsk> If I had a blog, I'd write a post about this.
339: [12:07:06] <Pydocsk> But I do not.
340: [12:07:52] <Vedran__> Hello, I am am trying to set up a has_one has_many relation ship. I can can populate a dropdown box with the correct data, however I cant get a tab to manage the many side http://pastebin.com/A3jDk87F
341: [12:08:02] <Pydocsk> tab?
342: [12:08:26] <Vedran__> Pydocsk: addFieldToTab
343: [12:08:35] <Pydocsk> does the tab exist?
344: [12:08:41] <Vedran__> $fields->addFieldToTab('Root.TeamTypes', GridField::create(
345: [12:08:46] <Vedran__> yes
346: [12:08:51] <Vedran__> there is no data in there though
347: [12:09:08] <Pydocsk> no relations then.
348: [12:09:20] * UndefinedOffset has joined #silverstripe
349: [12:09:32] <Pydocsk> select * from Team where TeamTypeID = <int>
350: [12:09:43] <Vedran__> the 'tab' should only have the data though right? The relationship is irrelevant?
351: [12:09:44] <Pydocsk> probably returns null result set
352: [12:09:50] <Pydocsk> no
353: [12:09:57] <Pydocsk> the relationship is the entire point of the tab
354: [12:10:08] <Pydocsk> it should however have an empty gridfield.
355: [12:10:19] <Vedran__> there is an empty gridfield
356: [12:10:24] <Pydocsk> then it's working fine.
357: [12:10:24] <Vedran__> so its behaving correctly
358: [12:10:29] <Pydocsk> yep.
359: [12:10:54] <Pydocsk> It sounds like you have objects (on both sides), but you have no /relationships/ between them.
360: [12:11:02] <Vedran__> ok, so if I wanted to add TeamTypes without it being a page, how should I go about it?
361: [12:11:15] <Pydocsk> click the add button on the gridfield?
362: [12:11:24] <Vedran__> In the dropdown box
363: [12:11:28] <Pydocsk> what?
364: [12:11:31] <Vedran__> $field = DropdownField::create(
365: [12:11:39] <Vedran__> I get the TeamTypes though
366: [12:11:55] <Vedran__> maybe they were created when relationship was in correct
367: [12:11:56] <Pydocsk> right. You have some relationships set then?
368: [12:12:01] <Vedran__> ill run the sql statement
369: [12:12:10] <Pydocsk> well loading a page should tell you
370: [12:12:20] <Pydocsk> the correct value will show in the dropdownfield, or it won't.
371: [12:13:14] <Vedran__> well the dropdown field has the correct data from the TeamType table
372: [12:13:32] <Vedran__> I would have thought
373: [12:13:48] <Vedran__> when looking at the Tab, it would show all the data from TeamType table
374: [12:15:11] <Pydocsk> what list do you give the gridfield then>?
375: [12:15:18] <Pydocsk> you didn't show me the constructor
376: [12:15:24] <Pydocsk> just the start.
377: [12:15:27] <Pydocsk> and your paste doesn't have it.
378: [12:16:15] <Vedran__> lines 18 - 25 are the constructor arent they?
379: [12:16:21] <Pydocsk> no.
380: [12:16:30] <Pydocsk> no where on the paste do you have the gridfield code.
381: [12:16:46] <Pydocsk> oh
382: [12:16:47] <Pydocsk> I see
383: [12:16:58] <Pydocsk> you've got it in the wrong class :<
384: [12:17:14] <Vedran__> wrong class?
385: [12:17:50] <Pydocsk> you're trying to manage TeamType's relation to Team on the Team class. That makes no sense.
386: [12:18:12] <Pydocsk> That's like you trying to dictate who my friends are.
387: [12:18:23] <Vedran__> great analogy ;)
388: [12:18:23] <Pydocsk> without even knowing who I'm friends with.
389: [12:18:36] <Pydocsk> :)
390: [12:19:13] <Vedran__> So TeamTypes need to extend page as opposed to dataobject?
391: [12:19:14] <Pydocsk> Just as you manage the Team relationship to teamtypes on Team, so must you manage TeamType's relationships to Team on TeamTypes.
392: [12:19:17] <Pydocsk> no
393: [12:19:23] <Pydocsk> just define getCMSFields
394: [12:19:25] <Pydocsk> same as Page
395: [12:19:31] <Pydocsk> well, not exactly the same.
396: [12:19:38] <Vedran__> oh ok
397: [12:19:39] <Pydocsk> Page is just a DataObject too.
398: [12:19:45] <Pydocsk> when you get down to it.
399: [12:19:53] <Vedran__> thank you for the help btw
400: [12:19:55] <Pydocsk> Just has a bit more structure around it for it's special purpose
401: [12:20:05] <Pydocsk> you're welcome, that's why we all hang out here :>
402: [12:20:31] <Vedran__> I'm (obviously) new to Silverstripe
403: [12:20:39] <Pydocsk> Cool
404: [12:20:55] <Vedran__> so I appreciate any help I can get
405: [12:20:56] <Pydocsk> And up late it seems.
406: [12:21:07] <Pydocsk> That probably doesn't help :P
407: [12:21:40] <Vedran__> aren't most devs? lol
408: [12:21:48] <Pydocsk> haha, true.
409: [12:22:14] <Guits> thank you kinglozzer :) ($v->dbObject('Title')->LimitCharacters(15))
410: [12:22:15] <Pydocsk> But most of us know that learning new things as such a time can be... a struggle (not always though) :P
411: [12:22:58] <Pydocsk> Vedran__: have you seen the docs and tutorials?
412: [12:23:20] <Vedran__> Ive gone through the vids on the Silverstripe site
413: [12:23:28] <Vedran__> well... getting through them
414: [12:23:47] <Pydocsk> I know that it says that the old written tutorials are deprecated... but they're really not.
415: [12:23:54] <Vedran__> oh..
416: [12:23:58] <Vedran__> thats good to know
417: [12:24:02] <Pydocsk> 5 quick (very quick) tutorials in written word that can be VERY helpful.
418: [12:24:18] <Pydocsk> ie, give nice diagrams explaining some concepts.
419: [12:24:24] <Pydocsk> etc.
420: [12:24:39] <Vedran__> link?
421: [12:24:42] <Pydocsk> Most of the stuff you've probably already covered in the videos, but reading it can help reinforce the concepts I think.
422: [12:24:52] <Pydocsk> same link as the videos, just ignore the big red box.
423: [12:25:10] <Pydocsk> It's not very obvious at virst (took me forever to realise) but there's actually a submenu on the left
424: [12:25:22] <Pydocsk> (ie, the normal submenu expands out further)
425: [12:26:16] <Vedran__> http://www.silverstripe.org/learn/lessons/ ?
426: [12:26:42] <Pydocsk> http://doc.silverstripe.org/en/tutorials/
427: [12:27:19] <Vedran__> thanks again
428: [12:27:22] <Pydocsk> sorry, I didn't realise there was a _separate_ section *sigh, why'd they do that*
429: [12:27:36] <Vedran__> hahah I just got the 404
430: [12:27:41] <Vedran__> havent seen that before
431: [12:27:41] <Pydocsk> ??
432: [12:27:49] <Vedran__> http://www.silverstripe.org/learn/lessons/lesson-3-adding-dynamic-content/
433: [12:28:06] <Pydocsk> yeah, look to the left
434: [12:28:12] <Pydocsk> Building a basic site
435: [12:28:15] <Pydocsk> Extending a basic site
436: [12:28:16] <Pydocsk> Forms
437: [12:28:18] <Pydocsk> etc
438: [12:28:21] <Vedran__> yep
439: [12:28:48] <Vedran__> ohhh
440: [12:28:50] <Pydocsk> cool :)
441: [12:28:52] <Vedran__> lol
442: [12:29:24] <Pydocsk> You should breeze through 1 & 2 (building & extending basic)
443: [12:29:36] <Pydocsk> and probably 3 (Forms), you have that down it seems
444: [12:29:51] <Pydocsk> 4 (site search) is mostly defunct (these tutorials are very old)
445: [12:30:11] <Pydocsk> but is a good example on forms in practice
446: [12:30:22] <Pydocsk> and 5 is probably more relevant to what you're up to now (relationships, etc)
447: [12:30:39] <Vedran__> great. Thanks again for the info
448: [12:30:58] <Pydocsk> Vedran__: but long and short of it is...
449: [12:31:05] <ss23> ༼ つ ◕_◕ ༽つ give book recommendations ༼ つ ◕_◕ ༽つ
450: [12:31:36] <Vedran__> I've gotten half way through
451: [12:31:40] <Pydocsk> the GridField doesn't work because $this->TeamTypes() isn't a list - it is a has_one so returns a single DataObject. I'm actually surprised the page is loading without error
452: [12:31:54] <Vedran__> ... pulling up title
453: [12:31:56] <Pydocsk> ss23: what like, song of fire and ice?
454: [12:32:00] <ss23> um
455: [12:32:01] <ss23> Probably not
456: [12:32:11] <ss23> I'm not fussed exactly on what books I guess, something you think other people might enjoy
457: [12:32:12] <Vedran__> SilverStripe: The Complete Guide to CMS Development
458: [12:32:12] <Pydocsk> then that one about functional programming then?
459: [12:32:23] <Pydocsk> ss23: why? You up next at book club?
460: [12:32:36] <Pydocsk> Vedran__: hmm?
461: [12:32:47] <Vedran__> I thought ss23 was talking to me
462: [12:32:50] <ss23> Pydocsk: I ran out of books is why :O
463: [12:32:53] * Vedran__ got confused
464: [12:32:54] <Pydocsk> oh, lol. He works for ss.
465: [12:32:57] <ss23> lol, sorry Vedran__ :D
466: [12:33:04] <Vedran__> LMAO
467: [12:33:06] <ss23> Yeah, if I wanna know about that book, I'll just ask Ingo myself!
468: [12:33:14] <Vedran__> ohhh thats gold
469: [12:33:16] <Pydocsk> book is very out of date anyway
470: [12:33:22] <Pydocsk> it's about 2.3 iirc
471: [12:33:27] <Vedran__> thats what I found
472: [12:33:32] <Vedran__> started doing things and got stuck
473: [12:33:40] <Pydocsk> yeah, that's... 5-7 years ago
474: [12:34:06] <Pydocsk> mmm, 6 probably. It's 2015 now.
475: [12:34:12] <Vedran__> Anyway, thank you all for the Help! I be off reading.
476: [12:34:20] <Pydocsk> areet, glhf!
477: [12:34:58] * MrGuits has joined #silverstripe
478: [12:37:03] * Guits quit (Ping timeout: 245 seconds)
479: [12:37:13] <Pydocsk> ss23: is it true?
480: [12:37:37] <ss23> Um
481: [12:37:38] <ss23> Is what true?
482: [12:37:55] <Pydocsk> product dev team wanna move to segregated core & docs
483: [12:38:03] <Pydocsk> err, statics*
484: [12:38:20] <ss23> Which word were replacing with statics there...
485: [12:38:34] <Pydocsk> ie ssroot/, webroot/, webroot/assets, webroot/css, webroot/js, etc
486: [12:38:48] <Pydocsk> docs
487: [12:39:22] <ss23> Oh um
488: [12:39:35] <ss23> That seems like it could have advantages, but I'm wary of it being done poorly
489: [12:39:45] <ss23> I think that we should invest time into getting all modules installed into /vendor first
490: [12:40:04] <ss23> Not that they're directly related, but they're both "clean up structure", and the modules one seems like it'll be more well recieved, easier to do, etc etc
491: [12:40:16] <Pydocsk> like basically: http://logs.simon.geek.nz/index.php?date=2015-04-14#log_1618103
492: [12:40:21] <Pydocsk> kicking off, and lasting over an hour
493: [12:40:39] <Pydocsk> Pyro rants, zauberfisch agrees, Pyro raves
494: [12:41:02] <Pydocsk> kinglozzer is a casual bystander
495: [12:41:25] <ss23> *shrug*
496: [12:41:31] <ss23> And I'm a sleepy ss23!
497: [12:41:46] <kinglozzer> (^_^)/
498: [12:41:56] <ss23> :D
499: [12:42:06] <ss23> Hey kinglozzer, I forget, do you know um
500: [12:42:08] <ss23> whats his face
501: [12:42:09] <ss23> IRL
502: [12:42:13] <ss23> goddam it I can't think of his nick
503: [12:42:14] <ss23> Mr Strong
504: [12:42:16] <ss23> it's um...
505: [12:42:18] <ss23> micmania!
506: [12:42:22] <kinglozzer> Nope, Pydocsk does
507: [12:42:29] <ss23> Ah yep yep
508: [12:42:37] <ss23> He's been in the UK for a while now, just wondering ^.^
509: [12:42:41] <ss23> Pydocsk: Yeah, you hanging out with him?
510: [12:43:00] <kinglozzer> They're all the way up north on the wall (probably)
511: [12:43:06] <kinglozzer> GOT REFERENCE
512: [12:43:29] <ss23> lol
513: [12:43:41] <ss23> It always messed me up how they were like "south == warmer, north == colder"
514: [12:43:46] <ss23> I'm like NO IT'S THE OPPOSITE OF THAT
515: [12:45:30] <kinglozzer> Ha, yeah shit I'd never thought of that :|
516: [12:46:01] <Pydocsk> ss23: comes back this friday or something.
517: [12:46:20] <Pydocsk> ss23: yeah we hit the town owa easter. Neither of us remember much
518: [12:46:31] * Shrike_Finland has joined #silverstripe
519: [12:46:33] <Pydocsk> Me less than him though it seems, haha
520: [12:46:57] <Pydocsk> ss23: still messes me the fuck up too
521: [12:47:27] <Pydocsk> I generally think 'mediterranian warm, uk germany & russia (etc) cold'
522: [12:47:42] <Pydocsk> but the fact that the med is south from here... blows my mind man.
523: [12:48:44] <Pydocsk> kinglozzer: zauberfisch for reference, I think this is a stupid idea.
524: [12:48:44] <Pydocsk> http://laravel.com/docs/4.2/packages#package-assets
525: [12:49:08] <ss23> lol
526: [12:49:09] <Pydocsk> requiring an out of env build tool specifically to make shit work... the beauty of SS is that you drop it in a folder and go.
527: [12:49:37] <Pydocsk> In fact without using SS I know people who hate the fact that you have to use a CLI tool to get laravel shit up and running.
528: [12:49:57] <Pydocsk> (without them having used SS)
529: [12:50:04] <kinglozzer> Pydocsk: Mm, I don't mind composer for getting Laravel installed, but I fucking hate artisan
530: [12:50:22] <kinglozzer> Want a new model? LOL GO TO COMMAND LINE
531: [12:50:25] <Pydocsk> also, it removes encapsulation, dumping a dickload of files into a messy assets dir.
532: [12:50:49] <Pydocsk> kinglozzer: thus, by extension, it's a fucking retarded idea to introduce the concept to SS.
533: [12:51:30] * jarr0dsz quit (Quit: My Mac has gone to sleep. ZZZzzz…)
534: [12:51:34] * cloph_away has joined #silverstripe
535: [12:54:19] * jarr0dsz has joined #silverstripe
536: [12:54:25] <Pydocsk> symfony has something similar http://symfony.com/doc/current/cookbook/bundles/best_practices.html#installation-instructions
537: [12:54:35] <Pydocsk> Web Resources Resources/public/
538: [12:55:09] <Pydocsk> but the docs seem to omit the part where you make them accessible. Perhaps it's automatic.
539: [12:55:33] <Pydocsk> dunno enough about symfony. But again afaik (not much) it's another framework that needs a CLI tool to do shit before you even get started.
540: [12:56:40] <Vedran__> Does ss have CLI?
541: [12:57:30] <zauberfisch> yeah, I agree, we can't force the usage of some tool to move assets
542: [12:57:38] <zauberfisch> its ok to force people to use composer if you ask me
543: [12:57:50] <zauberfisch> but more would be to much
544: [12:57:53] * Guits has joined #silverstripe
545: [12:58:30] <zauberfisch> Vedran__: yes. however its not as sophisticated as the cli tools of other frameworks
546: [12:58:48] <Vedran__> is it like ruby's console?
547: [12:58:52] <zauberfisch> no
548: [12:58:54] <zauberfisch> not at all
549: [12:58:54] <Pydocsk> http://symfony.com/doc/current/cookbook/assetic/asset_management.html#including-images
550: [12:59:16] <Vedran__> thanks zauberfisch
551: [12:59:18] <zauberfisch> from the results you get, its pretty much the same as using curl. just without http requests
552: [12:59:18] <Pydocsk> Vedran__: SS has CLI - but it's basically an interface to web accessible stuff. It's not _required_ to do anything
553: [12:59:45] <zauberfisch> and pretty much anything you can do in the cli, you can also do via webbrowser/curl request
554: [12:59:54] <Pydocsk> symfony has it's console more like rails' - as does laravel afaik.
555: [13:00:00] * Vedran__ nods
556: [13:00:04] <zauberfisch> so instead of visiting foo.com/dev/build in your borwser, you can run "sake dev/build"
557: [13:00:16] <Pydocsk> ss's cli is basically php runthisfile
558: [13:00:20] <Pydocsk> err
559: [13:00:25] * MrGuits quit (Ping timeout: 264 seconds)
560: [13:00:28] <Vedran__> i get you
561: [13:00:30] <Pydocsk> $ php -e filename
562: [13:00:31] <Pydocsk> or whateve
563: [13:00:34] <Pydocsk> r
564: [13:00:36] <Pydocsk> something like taht
565: [13:01:16] <Pydocsk> You can block web requests using routes, or by explicitly only accepting CLI commands. But generally people don't.
566: [13:01:37] <Pydocsk> by default everything is accessible via web (ie. dev/build and ?flush)
567: [13:02:38] <MischaK> I just added a new image field but when i try to access it from the template like Flyer.URL it just shows "/assets/" if it''s filled or not
568: [13:02:45] <MischaK> I don't get it
569: [13:02:56] <MischaK> SS 3.1.9
570: [13:02:59] <Pydocsk> zauberfisch: I don't think it's ok to force composer use. For the most part it's the 'main' way of doing things, sure. But I like being able to grab files and whatnot and have stuff just work.
571: [13:03:35] <Pydocsk> MischaK: $Flyer is the name of the Image field?
572: [13:04:03] <Pydocsk> and you're _sure_ the relation is being saved correctly?
573: [13:04:37] <Pydocsk> kinglozzer: zauberfisch: http://symfony.com/doc/current/cookbook/assetic/asset_management.html#including-images
574: [13:05:11] <Pydocsk> this kinda thing is OK I think, in the same way we have $ThemeDir, $ProjectDir and $ModuleDir should be exposed too I think.
575: [13:05:33] <Pydocsk> $ModuleDir poses a problem in how to set it dynamically, etc.
576: [13:05:40] <Pydocsk> But I think it's a much better solution.
577: [13:05:44] <MischaK> Pydocsk, i just copied all i could find in the .php file with 2 working image fields and copied it
578: [13:05:44] <MischaK> only difference is the asset path
579: [13:06:01] <Pydocsk> MischaK: I dunno what you just said.
580: [13:06:59] <MischaK> copy pasted from something else which was working -> should work -> don't know why it doesnt
581: [13:07:00] <kinglozzer> Pydocsk: Somewhat unrelated, but stricter template language would help - any unquoted strings inside <% %> tags treated as PHP constants, modules could then define their own constants
582: [13:07:10] <Pydocsk> kinglozzer: zauberfisch: but the above is more to do with module subfolder-isation, rather than webroot/core separation
583: [13:07:28] <Pydocsk> kinglozzer: nah, just globals should do it.
584: [13:07:38] <Pydocsk> template globals. Same like ThemeDir
585: [13:08:34] <kinglozzer> Pydocsk: Trouble is you have to adjust the template parser for every use case where you wanna use template globals... e.g. <% require javascript($TemplateGlobal/js/somemodule.js) %>
586: [13:08:35] <Pydocsk> kinglozzer: the constants thing is an interesting idea though.
587: [13:08:42] <Pydocsk> but I think it could expose a world of hurt.
588: [13:09:07] <kinglozzer> Upgrading would be a fucking nightmare :P
589: [13:09:18] <Pydocsk> kinglozzer: no, I don't think so.
590: [13:09:30] <Pydocsk> I think javascript() shoud be a bit smarter about how it does things.
591: [13:09:40] <Pydocsk> but that's a different story.
592: [13:09:49] <kinglozzer> (I mean if we changed so unquoted strings were treated as constants, that'd be a nightmare)
593: [13:09:59] <Pydocsk> probably something zauberfisch is currently attempting to address by looking at his github forks.
594: [13:10:02] <kinglozzer> Pydocsk: It *should*, definitely, but no one understands the template parser :P
595: [13:10:04] <Pydocsk> err, things
596: [13:10:37] <Pydocsk> kinglozzer: haha, because too complicated for the most part. It's generated, you have to learn to write in whatever definition lang the template lang is defined in.
597: [13:10:45] <Pydocsk> not overly hard.
598: [13:10:53] <Pydocsk> but... certainly a learning curve.
599: [13:11:57] <Pydocsk> but in theory once you sort out the assets call, there's no reason modules can't ALREADY be in a subfolder.
600: [13:12:00] <kinglozzer> Pydocsk: Yeah I know, PHP-PEG, but damn... PEG is a pretty huge learning curve on its own!
601: [13:12:13] <Pydocsk> the issue is more about telling composer where to put them. because by default they go in the root.
602: [13:12:15] <kinglozzer> Yeah, that's what the module linked in the group was trying to do
603: [13:12:20] <Pydocsk> if that was configurable, that'd be cool.
604: [13:12:34] <kinglozzer> uh.. https://github.com/axyr/silverstripe-modulefolder that one
605: [13:12:45] <kinglozzer> Maybe
606: [13:12:56] <kinglozzer> Wait no, I don't have a clue what that module does
607: [13:13:20] <Pydocsk> kinglozzer: PEG is a description, not the language itself.
608: [13:13:22] <kinglozzer> oic, MODULES_DIR thing
609: [13:13:22] <Pydocsk> "modules/{$name}/": ["type:silverstripe-module"]
610: [13:13:24] <Pydocsk> ah yeh
611: [13:13:29] <Pydocsk> under extra.
612: [13:13:30] * lerni quit (Remote host closed the connection)
613: [13:13:34] <Pydocsk> see, that's perfectly acceptable IMO.
614: [13:13:47] <Pydocsk> but then at current you'd have to set up a rewrite for every module you install.
615: [13:15:22] <Pydocsk> But it's a very good proof of concept I think
616: [13:18:33] * lerni_ has joined #silverstripe
617: [13:18:56] <MischaK> Pydocsk, ok I was looking at the wrong event i hate it when that happens :(
618: [13:25:06] * Vedran__ quit ()
619: [13:25:33] * Shrike_Finland quit (Quit: Leaving.)
620: [13:25:56] * lerni_ quit (Remote host closed the connection)
621: [13:28:48] <ss-helper> SiteTree::canCreate Doesn't Hide Pages since 3.1.11 - https://groups.google.com/d/msg/silverstripe-dev/dNa9riK5e-o/1tZntju6Fp0J
622: [13:30:44] <Pydocsk> ^ lol wtf
623: [13:31:00] <Pydocsk> of course it's intended, they're all disabled & greyed out!
624: [13:31:17] <Pydocsk> I don't see why it's an issue :<
625: [13:38:11] * Spliff has joined #silverstripe
626: [13:38:55] * babak quit (Quit: Connection closed for inactivity)
627: [13:39:05] <zauberfisch> Pydocsk: well, I can see the point
628: [13:39:13] <zauberfisch> sometimes you want to complete hide a page from creation
629: [13:39:20] <zauberfisch> lets say you have a HomePage
630: [13:39:31] <zauberfisch> you don't want a user to created that once you already have a homepage
631: [13:43:16] * lerni_ has joined #silverstripe
632: [13:45:30] <ss-helper> Re: Admin Login Refreshes, Does Not Redirect - http://www.silverstripe.org/community/forums/general-questions/show/101621#post401262
633: [13:48:00] * r_hector quit (Quit: Leaving.)
634: [13:57:48] * veb has joined #silverstripe
635: [13:58:00] * muskie9 has joined #silverstripe
636: [14:04:48] <Pydocsk> zauberfisch: they'll never be able to, but yeah I agree it can open a world of pain by way of 'why not?'
637: [14:05:35] <Pydocsk> ie, by having it visible.
638: [14:05:57] * catcher has joined #silverstripe
639: [14:12:11] <zauberfisch> Pydocsk: meh
640: [14:12:16] <zauberfisch> Pydocsk: they are noobs
641: [14:12:20] <zauberfisch> they have to suffer
642: [14:25:05] * phillprice has joined #silverstripe
643: [14:25:44] <phillprice> ANyone got behat and subsites to play nice? I keep getting 404 on the pages, and not sure why?
644: [14:29:53] * Guits quit (Ping timeout: 256 seconds)
645: [14:31:53] * veb quit (Quit: veb-irc: &)
646: [14:34:49] <zauberfisch> Pydocsk: sometimes the question to me is more like: has anyone ever got subsites to play nice
647: [14:34:53] <zauberfisch> oh
648: [14:34:54] <zauberfisch> I mean
649: [14:34:57] <zauberfisch> phillprice
650: [14:37:08] * cupcake has joined #silverstripe
651: [14:37:49] * jarr0dsz quit (Quit: My Mac has gone to sleep. ZZZzzz…)
652: [14:39:50] * jarr0dsz has joined #silverstripe
653: [14:44:28] * MischaK quit (Ping timeout: 256 seconds)
654: [14:46:49] * phillprice quit (Ping timeout: 246 seconds)
655: [14:48:31] * cloph_away is now known as cloph
656: [14:49:10] * phillprice has joined #silverstripe
657: [15:02:01] * cloph quit (Ping timeout: 264 seconds)
658: [15:02:59] * lerni_ quit ()
659: [15:08:45] * cloph_away has joined #silverstripe
660: [15:09:25] * cloph_away is now known as cloph
661: [15:13:51] * Frans_Amsterdam quit (Quit: Textual IRC Client: www.textualapp.com)
662: [15:13:54] <ss-helper> Re: [silverstripe-dev] SiteTree::canCreate Doesn't Hide Pages since 3.1.11 - https://groups.google.com/d/msg/silverstripe-dev/dNa9riK5e-o/8p1keOByaHMJ
663: [15:20:57] * jarr0dsz quit (Quit: My Mac has gone to sleep. ZZZzzz…)
664: [15:24:02] * arnhoe has joined #silverstripe
665: [15:24:02] * arnhoe quit (Client Quit)
666: [15:52:16] * phillprice quit (Ping timeout: 246 seconds)
667: [15:58:42] <ss-helper> SilverStripe Payment Module: 0.4.2 and 0.3.2 security release - https://groups.google.com/d/msg/silverstripe-announce/qFOFfvWBNe8/GBYNgOacmwgJ
668: [16:13:43] <ss-helper> SilverStripe 3.0.6 Security Release - https://groups.google.com/d/msg/silverstripe-announce/m4vmXYmV0CE/EfSzp3t6mvsJ
669: [16:17:49] * cupcake quit (Ping timeout: 246 seconds)
670: [16:18:31] * elgabbu quit (Ping timeout: 246 seconds)
671: [16:26:35] * veb has joined #silverstripe
672: [16:28:59] <ss-helper> Re: [silverstripe-dev] SiteTree::canCreate Doesn't Hide Pages since 3.1.11 - https://groups.google.com/d/msg/silverstripe-dev/dNa9riK5e-o/uq1ppo2YkMAJ
673: [16:29:33] <Pydocsk> haha zauberfisch I guess that was phillprice from http://phillprice.com
674: [16:29:59] <Pydocsk> anyway, time to leave, see you soonish :>
675: [16:30:01] * Pydocsk quit ()
676: [16:30:52] * kinglozzer quit ()
677: [16:49:43] * Guits has joined #silverstripe
678: [16:57:54] * MischaK has joined #silverstripe
679: [16:58:57] * muskie9 is now known as muskie9_afk
680: [17:03:49] * Guits quit (Ping timeout: 244 seconds)
681: [17:10:00] * gelignite has joined #silverstripe
682: [17:11:31] * muskie9_afk is now known as muskie9
683: [17:21:33] * Shrike_Finland has joined #silverstripe
684: [17:22:29] * muskie9 is now known as muskie9_afk
685: [17:27:44] * GioVdK quit (Ping timeout: 245 seconds)
686: [17:46:50] <ss-helper> Have all pages appear as top level - http://www.silverstripe.org/community/forums/general-questions/show/101624
687: [17:48:09] * Liquide has joined #silverstripe
688: [17:51:52] * wmk has joined #silverstripe
689: [17:52:17] <wmk> hi all,
690: [17:52:28] <wmk> anyone can check for me if a website works?
691: [17:59:04] <ss-helper> Re: [silverstripe-dev] Module path clean-up! - https://groups.google.com/d/msg/silverstripe-dev/wKVrc0vQ3Zc/wdJRZDy4DboJ
692: [18:00:42] * ankit has joined #silverstripe
693: [18:02:52] <ankit> hi
694: [18:03:01] <wmk> ho
695: [18:03:09] <catcher> wmk, if it works?
696: [18:03:18] <ankit> I need to ask u about stripe connect in php
697: [18:03:19] <wmk> catcher, yup
698: [18:03:25] <catcher> sure
699: [18:03:49] <ankit> During linking bank account wwith the managed account
700: [18:04:01] <ankit> its giving an error invalid token id
701: [18:04:37] <ankit> r u still there
702: [18:04:45] <ankit> ??
703: [18:05:39] <ankit> should I attach some code snip lets
704: [18:07:21] <wmk> catcher, see PM
705: [18:14:05] <ss-helper> Re: [silverstripe-dev] Module path clean-up! - https://groups.google.com/d/msg/silverstripe-dev/wKVrc0vQ3Zc/LTFSboikSIIJ
706: [18:14:38] * muskie9_afk is now known as muskie9
707: [18:15:25] * Guest14919 quit (Ping timeout: 246 seconds)
708: [18:19:58] * alexwijn has joined #silverstripe
709: [18:20:32] <ankit> hi
710: [18:20:33] <alexwijn> Hi there, I got weird symbols on my admin reports page. I think the html entities are not getting propely displayed. Any fix for that?
711: [18:20:44] <ankit> can u solve my stripe connect problem
712: [18:22:04] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
713: [18:22:21] <alexwijn> Depends, if you elaborate the problem more
714: [18:22:43] * Liquide quit ()
715: [18:24:52] * ankit quit (Ping timeout: 246 seconds)
716: [18:29:06] <ss-helper> Re: [silverstripe-dev] SiteTree::canCreate Doesn't Hide Pages since 3.1.11 - https://groups.google.com/d/msg/silverstripe-dev/dNa9riK5e-o/ZZKMIt2GSlYJ
717: [18:29:16] * superspring quit (Quit: No Ping reply in 180 seconds.)
718: [18:29:31] * superspring has joined #silverstripe
719: [18:33:00] * Guits has joined #silverstripe
720: [18:42:28] * Guits quit (Ping timeout: 256 seconds)
721: [18:51:43] * muskie9 has joined #silverstripe
722: [18:57:57] * MischaK quit (Ping timeout: 246 seconds)
723: [18:59:08] <ss-helper> Re: [silverstripe-dev] SiteTree::canCreate Doesn't Hide Pages since 3.1.11 - https://groups.google.com/d/msg/silverstripe-dev/dNa9riK5e-o/zDaktTnAFrAJ
724: [19:01:59] <ss-helper> Re: Relation between member and guest(visitor) - http://www.silverstripe.org/community/forums/customising-the-cms/show/101603?start=8#post401264
725: [19:08:52] * Stomach has joined #silverstripe
726: [19:10:04] * alexwijn quit ()
727: [19:29:10] <ss-helper> Re: [silverstripe-dev] CSV / BulkLoading Rewrite - https://groups.google.com/d/msg/silverstripe-dev/tabbsJxzGqg/S0X3exrq8GAJ
728: [19:29:10] <ss-helper> Re: [silverstripe-dev] Module path clean-up! - https://groups.google.com/d/msg/silverstripe-dev/wKVrc0vQ3Zc/ZXvjRy5arkcJ
729: [19:32:06] * Stomach quit (Quit: zzz)
730: [19:47:05] <ss-helper> Wesley set out to galvanise the complacent - http://www.silverstripe.org/community/forums/installing-silverstripe/show/101625
731: [19:56:16] * Spliff quit (Quit: See you then)
732: [20:01:04] * mobiusnz quit (Quit: Leaving.)
733: [20:05:20] * Stomach has joined #silverstripe
734: [20:20:45] * UndefinedOffset quit (Quit: Leaving.)
735: [20:22:26] * antmas has joined #silverstripe
736: [20:23:58] * UndefinedOffset has joined #silverstripe
737: [20:24:10] * UndefinedOffset quit (Client Quit)
738: [20:26:16] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
739: [20:32:10] <ss-helper> Re: Fix 500 Internal Server Error for subdomain using htaccess - http://www.silverstripe.org/community/forums/general-questions/show/101599#post401199
740: [20:36:09] * mobiusnz has joined #silverstripe
741: [20:44:14] <ss-helper> Re: [silverstripe-dev] CSV / BulkLoading Rewrite - https://groups.google.com/d/msg/silverstripe-dev/tabbsJxzGqg/NbMlxq4hSmoJ
742: [20:44:14] <ss-helper> Re: [silverstripe-dev] CSV / BulkLoading Rewrite - https://groups.google.com/d/msg/silverstripe-dev/tabbsJxzGqg/SMXmc_SCey4J
743: [20:47:32] * wmk quit (Ping timeout: 244 seconds)
744: [20:49:25] <antmas> morning all o/
745: [20:59:14] <ss-helper> Re: [silverstripe-dev] CSV / BulkLoading Rewrite - https://groups.google.com/d/msg/silverstripe-dev/tabbsJxzGqg/KbE5QpmWJxsJ
746: [20:59:15] <ss-helper> A wild Roadmap appears! - https://groups.google.com/d/msg/silverstripe-dev/to20Nu-x8iI/4HytiFe97toJ
747: [21:01:39] <antmas> Responsive CMS
748: [21:01:54] <antmas> good luck with that :P
749: [21:02:14] <ss-helper> Re: Admin Login Refreshes, Does Not Redirect - http://www.silverstripe.org/community/forums/general-questions/show/101621#post401266
750: [21:10:12] * muskie9 is now known as muskie9_afk
751: [21:10:34] * muskie9_afk is now known as muskie9
752: [21:11:26] <Stomach> antmas - http://www.nasa.gov/multimedia/nasatv/
753: [21:11:27] <Stomach> !!
754: [21:12:27] <antmas> Stomach: I saw it this morning! It landed and then fell over
755: [21:12:43] <Stomach> but its live
756: [21:12:44] <Stomach> what
757: [21:12:45] <Stomach> is
758: [21:12:46] <Stomach> going
759: [21:12:46] <Stomach> on
760: [21:12:56] <antmas> :P
761: [21:13:17] <antmas> http://livestream.com/accounts/142499/events/3959775/player_pop_out?lsa_type=LS_EVENT_PAGE&lsa_referrer=
762: [21:13:57] <antmas> no video yet of the landing, only pictures
763: [21:14:15] <ss-helper> Re: [silverstripe-dev] A wild Roadmap appears! - https://groups.google.com/d/msg/silverstripe-dev/to20Nu-x8iI/cKvWEK8-yOsJ
764: [21:14:26] <antmas> Stomach: https://twitter.com/elonmusk/status/588082574183903232/photo/1
765: [21:14:41] <Stomach> :D
766: [21:14:49] <Stomach> elon musk is the hero of the new generation
767: [21:15:14] <antmas> even though it fell over, that is an outstanding feat of engineering and tech
768: [21:20:52] * muskie9 is now known as muskie9_afk
769: [21:22:45] * muskie9_afk is now known as muskie9
770: [21:25:54] * MischaK has joined #silverstripe
771: [21:26:22] * Hailwood has joined #silverstripe
772: [21:35:27] * Phlunk3 has joined #silverstripe
773: [21:43:57] * Ryan-Toast has joined #silverstripe
774: [21:44:39] <antmas> Hailwood: Phlunk3 Ryan-Toast o/
775: [21:46:08] <Ryan-Toast> Hai
776: [21:46:53] <antmas> Ryan-Toast: you gonna get GTAV now?
777: [21:47:02] <Ryan-Toast> antmas: Haven’t done any research yet.
778: [21:47:06] <antmas> sounds like the port is pretty solid
779: [21:48:12] * Azure has joined #silverstripe
780: [21:49:20] * Colin[pi] has joined #silverstripe
781: [21:51:00] <antmas> Colin[pi]: Azure o/
782: [21:51:25] <Colin[pi]> antmas: o/ o/ o/
783: [21:52:15] * muskie9 is now known as muskie9_afk
784: [21:52:49] <Ryan-Toast> antmas: I thought you had it?
785: [21:53:10] <antmas> Ryan-Toast: it's still downloading :P
786: [21:53:18] <Ryan-Toast> antmas: lol./
787: [21:53:23] <antmas> 60gb, has taken over 19 hours :P
788: [21:54:01] <antmas> Ryan-Toast: I almost bought it just for this http://gfycat.com/LiquidDistantArabianhorse
789: [21:54:12] * catcher quit (Quit: Leaving)
790: [21:54:53] <Ryan-Toast> antmas: you don’t have that keyboard
791: [21:55:18] <Ryan-Toast> DON’T YOU LIE TO ME
792: [21:55:24] <antmas> my current one is compatible, but yeah I want that G910
793: [21:55:58] <Colin[pi]> dem popo lights
794: [21:56:10] * muskie9_afk is now known as muskie9
795: [22:00:11] * Ryan-Toast quit (Quit: Ryan-Toast)
796: [22:01:42] * Ryan-Toast has joined #silverstripe
797: [22:05:12] <Ryan-Toast> I want to play GTV in like 2 years with all the mods.
798: [22:05:16] <Ryan-Toast> GTAV
799: [22:05:46] <Colin[pi]> Ryan-Toast: then it'll just look like Saints Row
800: [22:06:00] <Ryan-Toast> I mean wep and car mods.
801: [22:06:01] <Colin[pi]> people running around hitting each other with giant floppy dildos, amirite?
802: [22:06:10] <Ryan-Toast> Always some great additions to vehicles.
803: [22:06:23] <Ryan-Toast> Colin[pi]: Nah, I get enough of that in real life.
804: [22:07:03] <Colin[pi]> Ryan-Toast: hey look, what you like in the bedroom is your own business
805: [22:07:24] <Ryan-Toast> Mine, and all my cam subscribers.
806: [22:07:28] <antmas> <Colin[pi]> people running around hitting each other with giant floppy dildos, amirite?
807: [22:08:17] <Colin[pi]> antmas: Super Ethical Reality Climax!
808: [22:08:22] <antmas> see most people would be worried about that ^^^
809: [22:08:29] <antmas> but not in #ssirc
810: [22:08:38] <Colin[pi]> antmas: you never played saints row?
811: [22:08:46] <antmas> I did :D
812: [22:08:48] <antmas> only the first one though
813: [22:08:51] <Colin[pi]> genkibowl!
814: [22:08:59] <Ryan-Toast> Colin[pi]: San andreas had dildos.
815: [22:09:03] <Colin[pi]> lol
816: [22:09:39] <Colin[pi]> saints row IV was some funny shit
817: [22:10:03] <Colin[pi]> no wait, III was the one I played
818: [22:10:08] <Colin[pi]> I haven't tried IV yet
819: [22:12:09] <Colin[pi]> antmas: I would link you a video but prolly nsfw
820: [22:12:10] <antmas> omg the servers are so clogged
821: [22:12:31] <Ryan-Toast> antmas: what did you expect, haha
822: [22:12:44] * antmas should have preloaded
823: [22:13:34] * spronk2 quit (Quit: I may need a longer sleep timer...)
824: [22:13:43] <Colin[pi]> antmas: when I first bought Elite Dangerous, it came down at 0.01Mb/sec
825: [22:13:56] <Colin[pi]> took all day
826: [22:13:57] <Colin[pi]> :(
827: [22:14:02] <antmas> mmm, this is at 12.3kb right now
828: [22:14:06] <antmas> 3gb to go
829: [22:14:11] <Ryan-Toast> Colin[pi]: http://i.imgur.com/mCyF4kB.gifv
830: [22:14:43] <Colin[pi]> Ryan-Toast: lol, my 3.5G mobile broadband is faster than my home ADSL2 :(
831: [22:14:53] <Ryan-Toast> Colin[pi]: I meant for the nsfw video.
832: [22:14:57] <Colin[pi]> oh :P
833: [22:15:00] <antmas> lol
834: [22:15:01] <Ryan-Toast> Colin[pi]: also, same here :|P
835: [22:16:01] * mahfuz has joined #silverstripe
836: [22:16:37] <Colin[pi]> Ryan-Toast: got even worse after Netflix
837: [22:16:38] <antmas> would be nice if you could transfer the data onto the mobile and still pay as you are
838: [22:16:48] <antmas> then just hotspot your phone
839: [22:17:29] <Ryan-Toast> antmas: I tethered my phone to my 3DS so I could download a 2gig game when I was down at the mount :P
840: [22:17:44] <antmas> haha
841: [22:18:07] <Colin[pi]> Ryan-Toast antmas: I downloaded OS X Yosemite on my mobile broadband while waiting at Honda for my car to be finished
842: [22:18:20] <Ryan-Toast> I have an issue guys./
843: [22:18:20] <Colin[pi]> it expired the same day and I still had 5GB remaining
844: [22:18:25] <Ryan-Toast> An actual work question.
845: [22:18:30] <antmas> Ryan-Toast: woah
846: [22:18:32] <Ryan-Toast> okay.
847: [22:18:32] <antmas> slow down
848: [22:18:35] <Ryan-Toast> you ready?
849: [22:18:37] <Colin[pi]> Ryan-Toast: what is this madness
850: [22:18:38] <antmas> DO IT
851: [22:18:40] <antmas> YOLO
852: [22:18:44] <Colin[pi]> #SWAG
853: [22:18:50] <Ryan-Toast> I have two dataobjects, one extends the other.
854: [22:18:56] <Ryan-Toast> and I have two gridfields
855: [22:18:57] * muskie9 is now known as muskie9_afk
856: [22:19:03] <Ryan-Toast> one for each dataobject type
857: [22:19:05] * muskie9_afk is now known as muskie9
858: [22:19:25] <Ryan-Toast> unfortuntely they’re populated by both dataobjects for some reason1
859: [22:19:32] <Ryan-Toast> what do?
860: [22:19:40] <antmas> Ryan-Toast: fixit
861: [22:19:46] <antmas> :D
862: [22:19:50] <Colin[pi]> Ryan-Toast: the gridfields are defined where?
863: [22:20:47] <antmas> Ryan-Toast: wait, both gridfields are population by both dataobjects?
864: [22:20:50] <Ryan-Toast> One second, just trying something.
865: [22:20:54] <antmas> populated*
866: [22:21:07] <Colin[pi]> antmas: yeah one is extending the other
867: [22:21:12] <Colin[pi]> antmas: but the gf is showing both
868: [22:21:17] <Colin[pi]> I think?
869: [22:21:39] <antmas> yeah I got that, just wondering if BOTH gfs are doing the same
870: [22:21:42] <Ryan-Toast> Two gridfields
871: [22:21:53] <Colin[pi]> One cup
872: [22:21:58] <antmas> XD
873: [22:22:04] <Ryan-Toast> so there are two DO’s Foo, and Bar
874: [22:22:06] <Ryan-Toast> Bar extends the Foo DO
875: [22:22:14] <antmas> FooDoo
876: [22:22:17] <Ryan-Toast> the gridfield that’s supposed to show Bar
877: [22:22:25] <Ryan-Toast> works as expected.
878: [22:22:32] <Ryan-Toast> but the Foo gridfield displays bth
879: [22:22:35] <Ryan-Toast> both
880: [22:22:36] <antmas> oh
881: [22:22:37] <antmas> OH
882: [22:22:53] <Ryan-Toast> Which is not what should be happening.
883: [22:22:55] <antmas> so it's 1/2 working
884: [22:23:05] <Colin[pi]> Ryan-Toast: is the Foo gridfield definitely being populated by a list which is JUST Foo?
885: [22:23:40] <Ryan-Toast> Colin[pi]: http://www.sspaste.com/paste/show/552d936766800
886: [22:24:19] <Colin[pi]> producttabs and servicetabs
887: [22:24:20] <Colin[pi]> ?
888: [22:24:31] <Ryan-Toast> Yeah
889: [22:25:14] <Colin[pi]> if you dump out the contents of the relation, it's also showing both objects?
890: [22:25:18] <antmas> Ryan-Toast: this is the one that is displaying both?
891: [22:25:35] <Ryan-Toast> antmas: ServiceTab extends ProductTab
892: [22:26:23] <antmas> hmm
893: [22:26:30] <antmas> 'Tabs'?
894: [22:26:43] <Ryan-Toast> antmas: yes.
895: [22:26:52] <Ryan-Toast> Fuck it, I’ll just hardcode a filter.
896: [22:27:04] <Colin[pi]> it sounds like a quirk of the hierarchy/extension
897: [22:27:10] <Colin[pi]> and the ORM getting it's head up it's arse
898: [22:27:17] <antmas> mmm
899: [22:27:20] <antmas> that looks fine to me
900: [22:27:20] <Ryan-Toast> Colin[pi]: Yeah, may be a legit bug.
901: [22:27:32] <Ryan-Toast> antmas: I disagree.
902: [22:27:46] <Ryan-Toast> ss23: you want to weigh in?
903: [22:27:54] <antmas> Ryan-Toast: you think it just looks wrong the way you're doing it?
904: [22:27:55] <Colin[pi]> Ryan-Toast: can you just check though if you dump out the relation, do you see both classes or just one?
905: [22:28:08] <Ryan-Toast> antmas: No I think it’s a bug :P
906: [22:28:14] <antmas> oh right
907: [22:28:17] <Ryan-Toast> Colin[pi]: one second
908: [22:28:42] <antmas> other people will be doing this
909: [22:28:44] <antmas> surely
910: [22:28:56] <Colin[pi]> Ryan-Toast: thanks, I want to see if it's the relation, or if it's the gridfield
911: [22:29:11] * muskie9 is now known as muskie9_afk
912: [22:29:34] <Ryan-Toast> Colin[pi]: http://www.sspaste.com/paste/show/552d94c8ef2e8
913: [22:30:32] <Colin[pi]> right so I only see ProductTab there
914: [22:30:36] <antmas> only one
915: [22:30:39] <Ryan-Toast> Yeah.
916: [22:31:00] <Ryan-Toast> Colin[pi]: The template renders them all as well :P
917: [22:31:14] <antmas> Ryan-Toast: filter it :P
918: [22:31:20] <Ryan-Toast> antmas: I have
919: [22:31:20] <antmas> live the dream
920: [22:31:32] <Colin[pi]> just doesn't seem right though
921: [22:31:37] <Colin[pi]> something's fucky
922: [22:32:39] <Ryan-Toast> Colin[pi]: Agreed.
923: [22:32:41] <antmas> Ryan-Toast: nothing else besides the fact your extending in ServiceTab DO?
924: [22:32:48] <Ryan-Toast> antmas: nope.
925: [22:33:12] <antmas> mmm
926: [22:33:14] <antmas> bug
927: [22:33:56] <Colin[pi]> Ryan-Toast: wait, what's in the $has_ones for the tab classes?
928: [22:34:20] <Ryan-Toast> Colin[pi]: PAge
929: [22:34:23] <Ryan-Toast> Page**
930: [22:34:51] <Colin[pi]> I wonder if it's the has_one that's fucking up somehow?
931: [22:35:02] <Colin[pi]> idek
932: [22:35:19] <Ryan-Toast> Colin[pi]: Shrug. I would like to ask a core contributor
933: [22:35:34] * Shrike_Finland quit (Quit: Leaving.)
934: [22:35:35] <antmas> how do I get selected value of a ddl in a gridfield as opposed to index?
935: [22:35:43] * Colin[pi]_2 has joined #silverstripe
936: [22:35:47] <Colin[pi]_2> dat alt-F4 in the wrong window
937: [22:35:48] <Ryan-Toast> ddl?
938: [22:35:53] <antmas> drop down list
939: [22:36:11] <Ryan-Toast> antmas: $summary_fields
940: [22:36:22] <antmas> Ryan-Toast: got that
941: [22:36:31] <antmas> field is returning the index, not value
942: [22:36:35] <Ryan-Toast> antmas: Should work then.
943: [22:36:39] <antmas> hmmm
944: [22:36:51] <Ryan-Toast> Unless you’re setting the summary fields in your gridfield
945: [22:37:07] <Ryan-Toast> do you have ‘GridFieldDataColumns’ in your gridfield?
946: [22:37:11] <Ryan-Toast> If so, remove it.
947: [22:37:19] <antmas> drop down field rather
948: [22:37:25] <MichalKleiner> the roadmap is nice but can be stuck like that for ever without milestones or some at least vague dates set
949: [22:38:02] <Colin[pi]_2> MichalKleiner: better than nothing :\
950: [22:38:29] <antmas> Ryan-Toast: nope, don't have it
951: [22:38:43] <MichalKleiner> yeah but.. a bit disappointed
952: [22:38:49] <Ryan-Toast> antmas: Shrug, they work for me.
953: [22:39:03] <antmas> Ryan-Toast: just a DO, admin for exporting to csv and form itself
954: [22:39:12] * veb quit (Quit: veb-irc: &)
955: [22:39:34] * Colin[pi] quit (Ping timeout: 255 seconds)
956: [22:39:45] <Ryan-Toast> MichalKleiner: Where’s the roadmap?
957: [22:39:46] <antmas> MichalKleiner: agreed, I'dv liked to see a Q1, Q2, Q3, Q4 at least
958: [22:40:01] <antmas> Ryan-Toast: tinymce 4 is on there :D
959: [22:40:36] * Colin[pi]_2 is now known as Colin[pi]
960: [22:41:08] <Ryan-Toast> antmas: Yesss.
961: [22:41:24] <antmas> 'Planned'
962: [22:42:24] <MichalKleiner> Ryan-Toast: http://www.silverstripe.org/software/roadmap/
963: [22:42:40] <Colin[pi]> "responsive cms"
964: [22:43:35] <Ryan-Toast> Namespaced classes, yay.
965: [22:43:44] <Ryan-Toast> Hopefully that means that the template engine gets a tweak.
966: [22:43:54] <Ryan-Toast> Since it’s a curnt to deal with namespaced classes.
967: [22:44:10] <Colin[pi]> Ryan-Toast: ss template engine, also known as "here be dragons"
968: [22:44:18] <Ryan-Toast> “files versioned"
969: [22:44:20] <Ryan-Toast> yesss.
970: [22:45:16] <antmas> see
971: [22:45:20] <antmas> good stuff in there
972: [22:45:25] <antmas> but wheeeeennnnnnn?
973: [22:45:34] <Colin[pi]> antmas: "soon"
974: [22:46:41] * Vedran__ has joined #silverstripe
975: [22:46:48] * antmas throws toys
976: [22:49:07] <Ryan-Toast> antmas: My cms editing has sated me for now.
977: [22:49:08] <MischaK> is there some kind of setting somewhere to make the template engine spit out less empty lines when you have an if statement on a line and the code just below it?
978: [22:49:23] <antmas> Ryan-Toast: :D
979: [22:49:28] <Ryan-Toast> MischaK: Nah, you just have to make them inline generally.
980: [22:50:52] <MischaK> ok ill just have to live with the whitespaces then :p
981: [22:51:18] <Ryan-Toast> MischaK: Yeah, it’s a little annoying, but it does fuck all for performance.
982: [22:51:23] <Ryan-Toast> so not too bad :P
983: [22:51:23] <MischaK> I value my templates readability more then whitelines
984: [22:51:57] <antmas> Ryan-Toast: found it, was doing array("1"=>'my list item name', '2'=>'my next item name') etc etc
985: [22:52:03] <antmas> herpaderpa
986: [22:52:06] <MischaK> if templates are cached then it shouldn't really matter right :)
987: [22:52:32] <Ryan-Toast> MischaK: White-space in html doesn’t do anything to performance… within reason :)
988: [22:53:16] <MischaK> true especially when gzipped across the line
989: [22:54:40] * muskie9_afk is now known as muskie9
990: [22:54:51] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
991: [22:58:31] * veb has joined #silverstripe
992: [23:01:09] * Vedran___ has joined #silverstripe
993: [23:03:56] * Vedran__ quit (Ping timeout: 240 seconds)
994: [23:05:10] <antmas> being cold sucks
995: [23:05:18] <antmas> y u so early winter?
996: [23:06:54] <Ryan-Toast> L2 scarff, brah
997: [23:07:47] <antmas> mmm bout time I got mine back out
998: [23:13:24] <Ryan-Toast> antmas: http://i.imgur.com/MX3BXNH.jpg
999: [23:13:51] <antmas> needs more skulls!
1000: [23:13:52] <antmas> :P
1001: [23:14:08] <antmas> that could have been chickenbutt and I still would have clicked
1002: [23:14:12] <Ryan-Toast> antmas: haha, I have one of those actually.
1003: [23:19:07] <antmas> tempted to go to WDCNZ this year, anyone else?
1004: [23:20:27] * veb quit (Quit: veb-irc: &)
1005: [23:22:26] <antmas> Ryan-Toast: gonna start on this soon, apparently it's pretty damn good http://io9.com/ken-lius-grace-of-kings-is-the-bold-epic-fantasy-weve-b-1697843114
1006: [23:22:53] <Ryan-Toast> antmas: Looks interesting.
1007: [23:24:40] <MichalKleiner> anyone using React for some SilverStripe related things? Or unrelated interesting use cases?
1008: [23:25:03] <Ryan-Toast> MichalKleiner: Stomach does.
1009: [23:25:09] <Stomach> hi
1010: [23:25:15] <antmas> MichalKleiner: a couple of people do, I think UncleCheese is using it at the moment
1011: [23:25:16] <Ryan-Toast> Why hello there.
1012: [23:25:31] <Colin[pi]> Stomach: o/
1013: [23:25:37] <MichalKleiner> o/ Stomach
1014: [23:26:11] <Stomach> \o
1015: [23:26:11] <Stomach> \o
1016: [23:26:16] <MichalKleiner> thinking if React can be useful for me to look into it, do you have some nice use for it?
1017: [23:26:46] <MichalKleiner> at the moment I move async or long running task to workers via RabbitMQ
1018: [23:26:56] <Stomach> yeah we use it for product categories and stuff all the time
1019: [23:27:08] <Stomach> and big complicated forms
1020: [23:27:16] <antmas> it's awesome for forms
1021: [23:28:03] <MichalKleiner> some ss module?
1022: [23:28:05] * novaweb has joined #silverstripe
1023: [23:28:42] <antmas> mmmm MS are adding it to VS2015
1024: [23:28:45] <antmas> fuck yeah
1025: [23:29:22] <novaweb> Alright team, onAfterPublish... how do I generate a copy of a pages source output (everything in between the <html> tags inclusive)
1026: [23:29:31] <novaweb> Assuming this is a built in function in SilverStripe
1027: [23:29:37] <novaweb> Director somewhere?
1028: [23:29:44] <Stomach> MichalKleiner - no SS modules for it yet
1029: [23:30:01] <Stomach> novaweb - you'd need to render it
1030: [23:30:14] <MichalKleiner> novaweb: maybe look into static publisher?
1031: [23:30:57] <MichalKleiner> Stomach: antmas: can you please share a short code example e.g. for the form?
1032: [23:31:00] * nimeso has joined #silverstripe
1033: [23:31:04] <MichalKleiner> using react
1034: [23:31:10] <Stomach> MichalKleiner - there is no such thing as a short example :D
1035: [23:31:19] <antmas> this ^^^
1036: [23:31:19] <Stomach> this shop is all in react
1037: [23:31:19] <Stomach> http://www.labonic.com/shop
1038: [23:32:33] <ss-helper> Inheritance and Classes - http://www.silverstripe.org/community/forums/customising-the-cms/show/101626
1039: [23:34:46] <MichalKleiner> I meant http://reactphp.org/, not https://facebook.github.io/react/
1040: [23:35:01] <MichalKleiner> why do they name it the same :-/
1041: [23:35:21] <antmas> oh LOL
1042: [23:35:28] <antmas> slightly different
1043: [23:35:42] <novaweb> MichalKleiner - thanks, trying to do it without additional dependencies
1044: [23:36:02] <novaweb> Stomach, can I render it in PHP, instead of literally rendering a page on the front end?
1045: [23:36:13] <Stomach> hahahaha
1046: [23:36:20] <Stomach> novaweb - yes
1047: [23:36:23] <MichalKleiner> novaweb I meant more like have a look how static publisher works and take just the parts you need
1048: [23:36:35] <Stomach> Controller::current()->render() should do it?
1049: [23:36:37] <MichalKleiner> novaweb: sake
1050: [23:36:46] <MichalKleiner> or from command line
1051: [23:36:49] <Stomach> or somethign like that
1052: [23:36:53] <novaweb> Stomach ok I thought you meant render in the front end sense
1053: [23:36:55] <novaweb> All good.
1054: [23:38:08] <MichalKleiner> sake yoururl "getparam1=cde&getparam2=abc" > yourpage.html
1055: [23:38:43] <Stomach> MichalKleiner - no haven't used reactphp yet
1056: [23:41:15] <MichalKleiner> good, sorry for the confusion :)
1057: [23:41:20] <Vedran___> Im a bit confused with which relationship I need to go with for my Model. I want to have a 'Team' model. I would also like to have a TeamType (this will be the category of the Team). Each Team will only be assigned one Type.
1058: [23:41:43] <MichalKleiner> hasOne team
1059: [23:41:45] <Vedran___> So: team has_one TeamType
1060: [23:41:53] <Vedran___> TeamType has_many
1061: [23:41:54] <Vedran___> right?
1062: [23:41:54] <MichalKleiner> ^dat
1063: [23:42:16] <Vedran___> ok. I thought that was correct. Now am I able to (via the Team Page)
1064: [23:42:21] <Vedran___> add new TeamTypes?
1065: [23:43:07] <MichalKleiner> yeah, we have that in one project, let me have a look.. or you can create TeamType model admin
1066: [23:44:05] * Vedran___ looks up model admin
1067: [23:45:54] <MichalKleiner> Vedran___: http://www.silverstripe.org/learn/lessons/introduction-to-modeladmin
1068: [23:46:32] * Ryan-Toast quit (Quit: Ryan-Toast)
1069: [23:47:24] <Vedran___> I think this is what I need :)
1070: [23:48:43] <MichalKleiner> cool
1071: [23:49:00] <Hailwood> antmas \o - Only just saw your message!
1072: [23:49:20] <MichalKleiner> otherwise we're using GridFieldRelationHandler module
1073: [23:49:40] <MichalKleiner> and a bit of getCMSFields code
1074: [23:49:53] <MichalKleiner> model admin will be safer to start with
1075: [23:50:02] <Colin[pi]> <3 model admin
1076: [23:50:06] <Colin[pi]> saves so much times
1077: [23:51:42] <antmas> Hailwood: :D all good
1078: [23:53:57] <Vedran___> I think GridFieldRelationHandler is more suited to this task
1079: [23:55:34] <Vedran___> *may be
1080: [23:55:36] <Vedran___> lol
1081: [23:55:52] <Vedran___> so I have
1082: [23:56:13] <Vedran___> hrm... best way to paste code?
1083: [23:56:17] <Vedran___> pastebin?
1084: [23:57:18] <novaweb> yes
1085: [23:57:21] <novaweb> or sspaste
1086: [23:57:25] <novaweb> or pastie
1087: [23:57:43] <Vedran___> http://pastebin.com/VZwHU8YA
1088: [23:57:57] <Vedran___> cool @ sspaste
1089: [23:58:08] <Vedran___> def use that one next :)
1090: [23:59:26] * Ryan-Toast has joined #silverstripe
1091: [23:59:36] <Vedran___> so I would like to (from Team page) be able to add TeamTypes in a $fields->addFieldToTab()

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