#silverstripe IRC Log

IRC log for 7 June 2016

All timestamps are in UTC.

1: [00:00:01] * ss-helper quit (Remote host closed the connection)
2: [00:00:14] * ss-helper has joined #silverstripe
3: [00:29:15] * Stomach quit (Quit: zzz)
4: [00:34:41] * Stomach has joined #silverstripe
5: [00:39:38] * robbiea quit (Remote host closed the connection)
6: [01:09:17] * g-n0m3 quit (Read error: No route to host)
7: [01:13:57] * g-n0m3 has joined #silverstripe
8: [01:41:06] * Tanger has joined #silverstripe
9: [01:41:52] * slievr quit (Ping timeout: 260 seconds)
10: [01:45:04] <ss-helper> Silverstripe continuous/dynamic Form - http://stackoverflow.com/questions/37669174/silverstripe-continuous-dynamic-form
11: [02:07:47] * Stomach quit (Quit: zzz)
12: [02:21:19] * Stomach has joined #silverstripe
13: [03:13:30] * Stomach quit (Quit: zzz)
14: [03:17:19] * Stomach has joined #silverstripe
15: [04:27:46] * robjingram quit (Ping timeout: 250 seconds)
16: [04:31:21] * Liquide quit ()
17: [05:19:59] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
18: [05:29:59] * Stomach quit (Ping timeout: 244 seconds)
19: [05:51:50] * g-n0m3 quit (Remote host closed the connection)
20: [05:57:25] * g-n0m3 has joined #silverstripe
21: [06:02:07] * Agilix_ has joined #silverstripe
22: [06:04:21] * micmania1 quit (Quit: micmania1)
23: [06:05:38] * Stomach has joined #silverstripe
24: [06:06:07] * cheddam quit (Ping timeout: 260 seconds)
25: [06:12:20] * adrexia quit (Quit: My Mac has gone to sleep. ZZZzzz…)
26: [06:25:22] <Agilix_> mornin o/
27: [06:30:55] * slievr has joined #silverstripe
28: [06:32:00] * spronk quit (Quit: I may need a longer sleep timer...)
29: [06:38:16] * Eliseth has joined #silverstripe
30: [07:04:08] * arnhoe has joined #silverstripe
31: [07:05:33] * Stomach quit (Quit: zzz)
32: [07:24:48] * Stomach has joined #silverstripe
33: [07:25:15] * Stomach quit (Client Quit)
34: [07:31:20] * spronk has joined #silverstripe
35: [07:37:12] * Stomach has joined #silverstripe
36: [07:42:25] * Nordtro has joined #silverstripe
37: [07:42:25] <ss-helper> Nordtro: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
38: [07:42:34] <Nordtro> hello :)
39: [07:43:26] <Nordtro> im been messing around with concrete5 for a bit.. its somewhat nice. allowing you to directly change stuff on the page. and drag things around as block.
40: [07:43:38] <Nordtro> but the hole framework is a big bole of spagetti
41: [07:43:51] <Nordtro> how is silverstripe compared to c5 ?
42: [07:47:38] <Agilix_> Any way I can set all blocks to published? Can be in query form :p
43: [07:50:16] * lerni has joined #silverstripe
44: [07:51:11] <Nordtro> i want to hear your thought about silverstripe vs c5. i need a desent farmework. i tried ss 2.4 some time agot. it was not that bad. but at the time i used it i felt a bit outdated compated to what other frameworks that where out there.
45: [07:51:36] <Nordtro> erm.. cant type
46: [07:52:11] * agent44 has joined #silverstripe
47: [07:56:07] <Nordtro> u all dead..?
48: [08:00:08] * swaiba has joined #silverstripe
49: [08:04:34] * wmk has joined #silverstripe
50: [08:06:45] <lerni> Nordtro: yes its truth - you are to only one, last man standing - me I'm just an artefact
51: [08:07:50] <lerni> Nordtro: but honestly cannot really tell you what to choose execpt that I myself prefer silverstripe. last c5 instance i saw - the front-end editing made everything to weird for my taste. I would say If you like organised/structured data silverstipe is from what I can tell a good choice.
52: [08:09:27] <lerni> Nordtro: 2.4 is longe time ago. Have a go with the demo http://demo.silverstripe.org/
53: [08:22:16] * cheddam has joined #silverstripe
54: [08:23:57] * agent44 quit (Quit: zzz)
55: [08:26:21] * arnhoe quit (Ping timeout: 246 seconds)
56: [08:27:35] * agent44 has joined #silverstripe
57: [08:27:52] * arnhoe has joined #silverstripe
58: [08:28:32] * cheddam_ has joined #silverstripe
59: [08:28:42] * spronk quit (Quit: I may need a longer sleep timer...)
60: [08:28:51] * cheddam quit (Ping timeout: 258 seconds)
61: [08:37:33] <Nordtro> lerni, thanks.. will test out the demo.. i am starting to get C5 up my throat.
62: [08:38:43] * kinglozzer has joined #silverstripe
63: [08:45:55] * g-n0m3 quit (Ping timeout: 250 seconds)
64: [09:00:14] * kinglozzer quit (Read error: Connection reset by peer)
65: [09:01:00] * kinglozzer has joined #silverstripe
66: [09:05:12] * cheddam_ quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
67: [09:43:57] * Tanger quit (Quit: Tanger)
68: [10:07:43] * Stomach quit (Quit: zzz)
69: [10:20:08] * cheddam has joined #silverstripe
70: [10:37:36] * cheddam_ has joined #silverstripe
71: [10:39:48] * cheddam quit (Ping timeout: 244 seconds)
72: [11:11:26] * swaiba quit (Remote host closed the connection)
73: [11:33:33] * Mike123 has joined #silverstripe
74: [11:39:44] * WebDevB has joined #silverstripe
75: [11:39:53] <WebDevB> kinglozzer you around?
76: [11:44:18] * ss23 quit (Remote host closed the connection)
77: [11:53:20] * ss23 has joined #silverstripe
78: [11:57:08] * kinglozzer quit (Remote host closed the connection)
79: [11:57:35] * kinglozzer has joined #silverstripe
80: [12:15:01] * wmk quit (Read error: Connection reset by peer)
81: [12:19:01] * UndefinedOffset has joined #silverstripe
82: [12:19:40] * Nordtro quit (Quit: Leaving)
83: [12:30:56] * Mike123 quit (Ping timeout: 250 seconds)
84: [12:37:56] * cheddam_ quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
85: [12:47:08] * kinglozzer quit (Remote host closed the connection)
86: [12:47:14] * kinglozzer has joined #silverstripe
87: [12:50:57] * sh__ has joined #silverstripe
88: [12:51:27] <sh__> Hey guys, does anyone know how to remove a certain modeladmin added by a module?
89: [13:17:24] <UndefinedOffset> sh__ you could use CMSMenu::remove_menu_item('NameOfController'); in your _config.php
90: [13:18:15] <sh__> UndefinedOffset, Cool, thanks. What about specific tabs on a ModelAdmin?
91: [13:22:54] <UndefinedOffset> hmm that would be a bit more complex, you basically have to remove the item from the MyModelAdmin.managed_models configuration option, which atm I'm not 100% sure without playing with it how to pull it off easily :S
92: [13:23:04] <UndefinedOffset> easily/quickly
93: [13:24:13] <sh__> I see. Its not super important right now, just more of a "nice to have" kind of thing. It should be some kind of option IMO
94: [13:29:00] * Teddy_ has joined #silverstripe
95: [13:29:47] <Teddy_> guys if i have declared a db field Email and i want to access that value in a enquiry function in the controller to send to that email is $this->Email the correct way to call it ?
96: [13:30:38] <sh__> Teddy_ , as far as I know, it is
97: [13:32:02] * Agilix_ quit (Ping timeout: 250 seconds)
98: [13:33:05] * lerni quit ()
99: [13:46:37] <WebDevB> Is there away to debug silverstripe... I've got a weird one basically a page doesn't display the main content but displays the header & footer on the live server on the staging it works fine...
100: [13:46:44] <WebDevB> is it possible to debug this or the best way?
101: [13:50:33] * muskie9 has joined #silverstripe
102: [14:04:56] <Teddy_> any idea what i could have done wrong in this page http://pastebin.com/HWmeTV7p that makes compleating the form go to /Register
103: [14:05:16] <Teddy_> instead of completing the form and going to success=1
104: [14:17:33] * UndefinedOffset quit (Quit: Leaving.)
105: [14:20:56] * UndefinedOffset has joined #silverstripe
106: [14:40:24] <arnhoe> Teddy_: Telephone is a required field, but there is no field with Telephone
107: [14:41:15] <arnhoe> thus validation fails and doesn't send out a email or redirects the page
108: [14:41:27] <Teddy_> arnhoe, dam, that's right
109: [14:41:34] <Teddy_> thx for caching that
110: [14:42:28] <arnhoe> (Y)
111: [14:43:47] <arnhoe> btw you should set Email to Varchar(254), rather then Text
112: [14:45:10] <kinglozzer> I *really* don't envy people who have to work with AWS all day every day... it's so damn complicated D:
113: [14:53:04] * sh__ quit (Ping timeout: 250 seconds)
114: [15:12:48] * arnhoe quit ()
115: [15:50:30] * Eliseth quit (Ping timeout: 246 seconds)
116: [15:50:31] * micmania1 has joined #silverstripe
117: [15:54:37] * micmania1 quit (Ping timeout: 244 seconds)
118: [16:05:18] * agent44 quit (Quit: agent44)
119: [16:29:59] * kinglozzer quit ()
120: [16:30:22] <ss-helper> SilverStripe - Find by ID, display Title and it's Children - http://stackoverflow.com/questions/37684587/silverstripe-find-by-id-display-title-and-its-children
121: [16:30:23] * WebDevB quit (Remote host closed the connection)
122: [16:32:24] * Teddy_ quit (Ping timeout: 276 seconds)
123: [16:43:01] * XorPush has joined #silverstripe
124: [16:43:29] <XorPush> hi
125: [16:45:22] <XorPush> has anyone experience with tractorcows silverstripe-autocomplete module? when I am using it on my page I get 404 when jquery sends it to the url the modul generates
126: [17:00:22] <ss-helper> Silverstripe Customising the behaviour of GridFieldExportButton - http://stackoverflow.com/questions/37169926/silverstripe-customising-the-behaviour-of-gridfieldexportbutton
127: [17:36:58] * Agilix_ has joined #silverstripe
128: [17:45:22] <ss-helper> SilverStripe - Create pagination based on dropdown selection - http://stackoverflow.com/questions/37685842/silverstripe-create-pagination-based-on-dropdown-selection
129: [17:50:53] * XorPush quit (Quit: Page closed)
130: [17:51:48] * gelignite has joined #silverstripe
131: [18:05:44] * Agilix_ quit (Quit: Leaving)
132: [19:05:22] * Stomach has joined #silverstripe
133: [19:18:50] * UndefinedOffset quit (Quit: Leaving.)
134: [19:28:36] * micmania1 has joined #silverstripe
135: [19:33:13] * micmania1 quit (Ping timeout: 250 seconds)
136: [19:35:37] * Stomach quit (Quit: zzz)
137: [19:36:51] * neomang has joined #silverstripe
138: [19:37:34] <neomang> I've got a dataobject that relates to a page in a has_one relationship
139: [19:38:13] <neomang> I'm trying to create a CMSField for it that takes the name of the possible page to relate as well as that page's parent
140: [19:38:26] <neomang> since there may be multiple pages with the same name under different parents
141: [19:38:51] <neomang> Is there an easy way to map that or otherwise quickly retrieve it without a custom function?
142: [20:05:47] * Stomach has joined #silverstripe
143: [20:17:32] <ss-helper> How to define composite primary key in Silverstripe ORM/Dataobject - http://stackoverflow.com/questions/37325001/how-to-define-composite-primary-key-in-silverstripe-orm-dataobject
144: [20:43:52] * micmania1 has joined #silverstripe
145: [20:48:00] * micmania1 quit (Ping timeout: 246 seconds)
146: [20:54:51] * UndefinedOffset has joined #silverstripe
147: [20:56:26] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
148: [21:07:47] * adrexia has joined #silverstripe
149: [21:09:06] * UndefinedOffset quit (Quit: Leaving.)
150: [21:17:30] * adrexia quit (Quit: Textual IRC Client: www.textualapp.com)
151: [21:23:07] * cheddam has joined #silverstripe
152: [21:24:26] * adrexia has joined #silverstripe
153: [21:28:10] * cheddam quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
154: [21:45:44] * micmania1 has joined #silverstripe
155: [21:57:40] * zippy has joined #silverstripe
156: [22:05:47] * robbiea has joined #silverstripe
157: [22:06:09] <robbiea> Morning all - does anyone know if there are plans to loosen the version constraints on PHPUnit in the SS framework?
158: [22:06:22] <zippy> o/
159: [22:07:18] <zippy> well... SS4 is using "phpunit/PHPUnit": "~4.8", which is a step up from 3.4 which uses "phpunit/PHPUnit": "~3.7"
160: [22:08:01] <robbiea> haha, answered. thanks
161: [22:08:03] <zippy> 5.x series only been out for 6 months..
162: [22:08:18] <zippy> so give it 2 years and ss will be on 5.x :)
163: [22:08:32] <robbiea> yeah - considering PHPUnit follows PHP's release schedule the 3.7 restriction is pretty behind the times now
164: [22:08:56] <zippy> yea. If you install via composer however then you'll find 3.7 in the vendor/bin folder
165: [22:09:01] <micmania1> robbiea: doesn’t master already use 4.x?
166: [22:09:08] <zippy> micmania1: yes, thats what I said..
167: [22:09:15] <micmania1> oh, my bad
168: [22:09:36] <zippy> repent... ;-)
169: [22:09:52] <zippy> robbiea: so just run your tests like vendor/bin/phpunit
170: [22:10:08] <robbiea> doesn't help if you're running 3.3/3.4 via composer, because it prevents me from using anything other than 3.7 myself via composer. of course, i could just install it globally
171: [22:10:19] <robbiea> micmania1: I'm not running the master branch
172: [22:10:38] <zippy> robbiea: how does it stop you?
173: [22:10:52] <zippy> I have phpunit 5 global (in my ~/bin/ folder)
174: [22:10:59] <zippy> and then have that old one in the vendor/bin folder..
175: [22:11:05] <zippy> you just have to call it explicitily
176: [22:11:10] <zippy> ./vendor/bin/phpunit
177: [22:11:48] <zippy> mm irc is good for procrastination
178: [22:12:19] <robbiea> zippy: `composer require phpunit/phpunit ^4.8` returns "The requested package phpunit/phpunit ^4.8 exists as phpunit/phpunit[3.7.38] but these are rejected by your constraint."
179: [22:12:45] <zippy> for the silverstripe project you'll have to leave it at the 3.7 version
180: [22:12:50] <robbiea> yeah
181: [22:12:53] <zippy> yes..
182: [22:13:08] <robbiea> and wait for 4.x to be able to use cool little features like ->withConsecutive() :)
183: [22:13:25] <zippy> 4.x wont even run the tests with older ss
184: [22:13:30] <zippy> I tried and got all sorts of errors
185: [22:13:38] <zippy> so you can't even use it globally
186: [22:15:02] <zippy> hm at least I thought it did... just used phpunit 4.7 and it ran some fine. Maybe it's certain asserts / test helpers in SS don't work
187: [22:16:53] <robbiea> bit of a shame anyway... I'm assuming that even running my own module with a higher version in a CI environment won't work because it'll need the framework too, which has its own constraint, even if I'm not running the framework tests
188: [22:17:21] <robbiea> NVM - 4.x will bring all sorts of goodies... up-to-date (ish) PHPUnit, namespacing, PSR-2
189: [22:17:28] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
190: [22:17:29] <robbiea> plus that frontend stuff.....
191: [22:17:51] <zippy> could always fork the 3.x and then update composer.json and pull that in
192: [22:18:03] <zippy> bit of effort thoug
193: [22:18:47] <zippy> active support for PHP 5.5 ended on June 20, 2015
194: [22:18:51] <zippy> things moving so fast it feels lol
195: [22:20:33] <micmania1> namespacing… I’m still not quite sure how that will turn out
196: [22:20:54] <robbiea> micmania1: in what regard?
197: [22:21:38] <micmania1> silverstripe’s logic and functionality is tied quite tightly to class names. You change the class names, and you end up changing everything
198: [22:21:50] <micmania1> eg. table names, template names
199: [22:22:07] <micmania1> Config options that are hardcoded to class names...
200: [22:22:24] <robbiea> perhaps naively, I assume that's the core team's job to resolve - we'd probably be more concerned with every SS module needing an update to cope with namespacing right?
201: [22:25:54] <micmania1> robbiea: yeah, mostly.
202: [22:46:19] * Phlunk3 has joined #silverstripe
203: [23:00:26] * Stomach quit (Quit: zzz)
204: [23:01:43] * Stomach has joined #silverstripe
205: [23:02:43] * cheddam has joined #silverstripe
206: [23:29:42] * Stomach quit (Quit: bye)
207: [23:41:00] * robbiea quit ()
208: [23:41:31] * Stomach has joined #silverstripe
209: [23:47:42] * zippy quit (Quit: Textual IRC Client: www.textualapp.com)
210: [23:49:47] * spronk has joined #silverstripe
211: [23:51:46] * Stomach quit (Quit: zzz)
212: [23:57:05] * Stomach has joined #silverstripe

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