#silverstripe IRC Log

IRC log for 12 March 2017

All timestamps are in UTC.

1: [00:56:39] * BackEndCoder quit (Excess Flood)
2: [00:58:51] * BackEndCoder has joined #silverstripe
3: [01:10:04] * Guest45610 has joined #silverstripe
4: [01:10:05] <ss-helper> Guest45610: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
5: [01:30:49] * Guest45610 quit (Quit: ...)
6: [02:39:55] * oldmols has joined #silverstripe
7: [02:44:43] * oldmols quit (Ping timeout: 268 seconds)
8: [02:53:43] * janneklouman-- has joined #silverstripe
9: [02:58:43] * janneklouman-- quit (Ping timeout: 260 seconds)
10: [03:43:22] * FrozenFire quit (Remote host closed the connection)
11: [03:43:26] * ss-helper quit (*.net *.split)
12: [03:43:26] * Azure quit (*.net *.split)
13: [03:43:27] * TRB143 quit (*.net *.split)
14: [03:43:27] * spronk quit (*.net *.split)
15: [03:43:27] * guzzlefry quit (*.net *.split)
16: [03:43:27] * Kapdap quit (*.net *.split)
17: [03:43:28] * BackEndCoder quit (*.net *.split)
18: [03:43:28] * Kolin quit (*.net *.split)
19: [03:43:28] * loki_nz quit (*.net *.split)
20: [03:43:28] * TombL quit (*.net *.split)
21: [03:43:28] * ajmitch quit (*.net *.split)
22: [03:43:28] * Guest64150 quit (*.net *.split)
23: [03:43:29] * bronlund quit (*.net *.split)
24: [03:43:29] * Zauberfisch quit (*.net *.split)
25: [03:43:29] * cloph quit (*.net *.split)
26: [03:43:29] * gamma quit (*.net *.split)
27: [03:43:29] * saiyan quit (*.net *.split)
28: [03:43:29] * z4j5 quit (*.net *.split)
29: [03:43:30] * kerosene quit (*.net *.split)
30: [03:43:30] * Firesphere quit (*.net *.split)
31: [03:43:30] * ss23 quit (*.net *.split)
32: [03:43:31] * jbrungar quit (*.net *.split)
33: [03:43:31] * xyphoid_ quit (*.net *.split)
34: [03:43:32] * Uitto quit (*.net *.split)
35: [03:49:44] * FrozenFire[alt] has joined #silverstripe
36: [03:49:44] * BackEndCoder has joined #silverstripe
37: [03:49:44] * ss-helper has joined #silverstripe
38: [03:49:44] * Zauberfisch has joined #silverstripe
39: [03:49:44] * loki_nz has joined #silverstripe
40: [03:49:44] * spronk has joined #silverstripe
41: [03:49:44] * kerosene has joined #silverstripe
42: [03:49:44] * Azure has joined #silverstripe
43: [03:49:44] * jbrungar has joined #silverstripe
44: [03:49:44] * TombL has joined #silverstripe
45: [03:49:44] * guzzlefry has joined #silverstripe
46: [03:49:44] * Firesphere has joined #silverstripe
47: [03:49:44] * TRB143 has joined #silverstripe
48: [03:49:44] * Kolin has joined #silverstripe
49: [03:49:44] * xyphoid_ has joined #silverstripe
50: [03:49:44] * Kapdap has joined #silverstripe
51: [03:49:44] * cloph has joined #silverstripe
52: [03:49:44] * ajmitch has joined #silverstripe
53: [03:49:44] * saiyan has joined #silverstripe
54: [03:49:44] * gamma has joined #silverstripe
55: [03:49:44] * bronlund has joined #silverstripe
56: [03:49:44] * Guest64150 has joined #silverstripe
57: [03:49:44] * ss23 has joined #silverstripe
58: [03:49:44] * z4j5 has joined #silverstripe
59: [03:49:44] * Uitto has joined #silverstripe
60: [03:58:15] * BackEndCoder quit (Excess Flood)
61: [03:58:21] * BackEndCoder has joined #silverstripe
62: [03:58:49] * BackEndCoder quit (Excess Flood)
63: [03:59:51] * BackEndCoder has joined #silverstripe
64: [04:11:02] * BackEndCoder quit (Excess Flood)
65: [04:12:21] * BackEndCoder has joined #silverstripe
66: [04:13:01] * BackEndCoder quit (Excess Flood)
67: [04:15:21] * BackEndCoder has joined #silverstripe
68: [04:38:12] * Audlex has joined #silverstripe
69: [04:41:12] * oldmols has joined #silverstripe
70: [04:45:22] * oldmols quit (Ping timeout: 246 seconds)
71: [06:28:44] * BackEndCoder quit (Excess Flood)
72: [06:29:51] * BackEndCoder has joined #silverstripe
73: [06:30:12] * BackEndCoder quit (Excess Flood)
74: [06:31:51] * BackEndCoder has joined #silverstripe
75: [06:42:26] * oldmols has joined #silverstripe
76: [06:46:48] * oldmols quit (Ping timeout: 260 seconds)
77: [07:51:09] * oldmols has joined #silverstripe
78: [08:05:07] <oldmols> good morning
79: [08:05:09] <oldmols> anybody here?
80: [08:07:48] <Zauberfisch> kind of
81: [08:07:52] <Zauberfisch> falling a sleep soon
82: [08:08:19] <Zauberfisch> oldmols: be quick
83: [08:08:22] <Zauberfisch> then I might answer
84: [08:08:56] <oldmols> haha
85: [08:08:57] <oldmols> ok
86: [08:09:12] <oldmols> i have a homepage where I want to have 5 restaurant menus displaying
87: [08:09:23] <oldmols> so no need for different page types
88: [08:09:29] <oldmols> is this possible to do?
89: [08:10:27] <oldmols> so I only make field tabs for main dish, special dish, side orders for each restaurant.
90: [08:10:46] <oldmols> oh sry, not for each restaurant.
91: [08:10:52] <oldmols> that's my problem.
92: [08:11:28] <oldmols> i don't know how to do this without making field tabs for each restaurant like I'dd normally do with other templates
93: [08:11:34] <oldmols> does it make sense?
94: [08:15:13] <oldmols> I have once made a website for a restaurant where I had a Layout for the menu page in which I looped each main dish, side orders etc... But I reckon this isn't possible to do, if I want to display 5 restaurant menus on the same page.
95: [08:24:46] * Shrike_Finland has joined #silverstripe
96: [08:31:27] <Zauberfisch> oldmols: do you have some code already?
97: [08:32:06] <oldmols> i have all the static coded
98: [08:32:32] <oldmols> can't figure out if I need to make the homepage the holder page for each restaurant
99: [08:35:26] <Zauberfisch> uhm
100: [08:35:27] <oldmols> or if I should make a model for a restaurant and menu. The menu can have many main dishes, side orders etc. Is this possible to be configured on the same page?
101: [08:35:33] <Zauberfisch> depends
102: [08:35:46] <oldmols> sry for the newb question
103: [08:35:47] <oldmols> :P
104: [08:36:25] <Zauberfisch> if you have a list of restaurants or menus on the website at other places?
105: [08:36:30] <Zauberfisch> or is it just on the homepage?
106: [08:36:42] <oldmols> It will only be displayed on the homepage
107: [08:36:43] <Zauberfisch> if it's just on the homepage, I would make fields in the HomePage class
108: [08:36:54] <oldmols> yeah?
109: [08:37:00] <Zauberfisch> 2 options I would consider:
110: [08:37:32] <Zauberfisch> a) Text Fields on the Home Page (Title1, Title2, Title3, Title4, Title5) and so on
111: [08:37:38] <Zauberfisch> with tabs for it
112: [08:37:51] <Zauberfisch> b) or create a DataObject for it and manage it via a gridfield
113: [08:37:59] <Zauberfisch> I would probably go for (b)
114: [08:38:26] <oldmols> why?
115: [08:39:54] <Zauberfisch> I don't like redundant fields
116: [08:40:00] <oldmols> me neither
117: [08:40:25] <oldmols> It also feels like a hack because of my lack of knowledge about silverstripe
118: [08:40:56] <oldmols> so I make two class?
119: [08:41:04] <oldmols> 1 for restaurant and 1 for menu's
120: [08:42:02] <oldmols> make the appropriate relationship which gives me the flexibility to add multiple restaurants with menus to the homepage
121: [08:42:20] <Zauberfisch> hmm, sorry, I am to tired :S
122: [08:42:27] <oldmols> No worries man
123: [08:42:36] <oldmols> Just glad to have somebody to speak to
124: [08:42:46] <oldmols> you know, sometimes your head doesn't answer back
125: [08:42:47] <oldmols> :P
126: [08:42:51] <Zauberfisch> poke me again in 20 hours
127: [08:43:43] <oldmols> I sure hope I have figured it out by then! :P
128: [08:43:48] <oldmols> but thanks man
129: [08:43:51] <oldmols> good night :)
130: [08:44:43] <Zauberfisch> well, you can also try it in 7 hours, but I suspect I will be rather busy right away when I wake up and won't have time until late in the night
131: [08:44:49] <Zauberfisch> (night EU time that is)
132: [08:45:47] <oldmols> Yeah, no problem!
133: [09:25:36] * janneklouman-- has joined #silverstripe
134: [09:30:24] * janneklouman-- quit (Ping timeout: 260 seconds)
135: [10:41:32] * gelignite has joined #silverstripe
136: [13:18:55] * Shrike_Finland quit (Quit: Leaving.)
137: [13:43:14] * Shrike_Finland has joined #silverstripe
138: [13:55:27] * Shrike_Finland quit (Quit: Leaving.)
139: [13:57:21] * Shrike_Finland has joined #silverstripe
140: [14:02:36] * DimiStripe has joined #silverstripe
141: [15:45:06] * Shrike_Finland quit (Quit: Leaving.)
142: [15:59:22] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
143: [16:20:51] <oldmols> isn't it possible to add a gridfield to a dataobject from a 1-to-many relationship?
144: [16:22:41] <Zauberfisch> good morning
145: [16:22:45] <Zauberfisch> it is possible
146: [16:23:02] <Zauberfisch> what's not working?
147: [16:26:28] <oldmols> When I add the restaurant I want to be able to go into that gridview and have 3 different tabs - each with its own gridview.
148: [16:31:46] * Shrike_Finland has joined #silverstripe
149: [16:32:00] <oldmols> http://www.sspaste.com/paste/show/58c577626d307
150: [16:32:09] <oldmols> http://www.sspaste.com/paste/show/58c577bd6d717
151: [16:34:52] <Zauberfisch> not quiet sure what your problem is
152: [16:34:59] <Zauberfisch> the gridfield should already be working
153: [16:35:05] <oldmols> it's not
154: [16:35:15] <Zauberfisch> it's not?
155: [16:35:21] <oldmols> nope
156: [16:35:22] <Zauberfisch> what happens?
157: [16:35:59] <oldmols> can I get some more info rather than SS error message in the upper right corner?
158: [16:37:07] <Zauberfisch> hmm, might be tags
159: [16:37:14] <Zauberfisch> you don't have a tabset and you try to add tabs
160: [16:38:49] <oldmols> don't understand, sry.
161: [16:40:05] <oldmols> thought I created a tab when using addFieldToTab();
162: [16:46:29] <Zauberfisch> not sure
163: [16:46:33] <Zauberfisch> anyway
164: [16:46:37] <Zauberfisch> your error message
165: [16:46:43] <Zauberfisch> is it cut of by the browser?
166: [16:46:56] <oldmols> nope
167: [16:47:08] <oldmols> ss just gives a small message in the upper right corner
168: [16:47:27] <Zauberfisch> open your browser dev tools
169: [16:47:30] <oldmols> Error at line 319 of /Applications/MAMP/htdocs/website/framework/forms/FieldList.php
170: [16:47:32] <Zauberfisch> and chek the network tab
171: [16:48:28] <oldmols> ah
172: [16:48:31] <oldmols> [User Error] FieldList::addFieldToTab() Tried to add a tab to object 'FieldList' - 'Root' didn't exist.
173: [16:49:15] <Zauberfisch> yep
174: [16:49:19] <Zauberfisch> you don't have a tabset
175: [16:49:29] <Zauberfisch> hold on a few minutes
176: [16:49:33] <Zauberfisch> will respond in a bit
177: [16:49:46] * Shrike_Finland quit (Quit: Leaving.)
178: [16:50:22] * UndefinedOffset has joined #silverstripe
179: [16:51:18] <oldmols> sure :)
180: [16:54:00] <Zauberfisch> instead of just " $fields = FieldList::create()";
181: [16:54:09] <oldmols> yeah?
182: [16:54:16] <Zauberfisch> do: $fields = FieldList::create(TabSet::create('Root'));
183: [16:54:26] <Zauberfisch> and then add all fields via ->addFieldsToTab()
184: [16:57:26] <oldmols> do you mean I should write that instead of Root.Starters or before that?
185: [17:03:19] <oldmols> You know what, it did the trick!!! I really happy now :D I have been struggling with this for tooo long now and felt stupid. Thanks man!!
186: [17:03:34] <oldmols> Really appreciate it!
187: [17:04:58] <Zauberfisch> oh, you figured it out?
188: [17:05:01] <Zauberfisch> was about to send you this: https://paste.debian.net/919384/
189: [17:06:24] * gelignite has joined #silverstripe
190: [17:09:26] <oldmols> Zauberfisch: your paste did it better than my attempt so it wasn't wasted after all :D
191: [17:17:17] * Shrike_Finland has joined #silverstripe
192: [17:21:16] * oldmols quit (Remote host closed the connection)
193: [17:21:42] * oldmols has joined #silverstripe
194: [17:25:01] * oldmols_ has joined #silverstripe
195: [17:25:01] <ss-helper> oldmols_: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
196: [17:25:11] * oldmols quit (Read error: Connection reset by peer)
197: [17:52:37] <oldmols_> So what I didn't do was to create the TabSet and then append the different tabs in an array on the Root Tab. Is that correct?
198: [18:46:24] * FrozenFire[alt] is now known as FrozenFire
199: [18:48:19] * oldmols_ is now known as oldmols
200: [19:25:42] * DimiStripe quit (Quit: DimiStripe)
201: [19:44:20] * Isaac_ has joined #silverstripe
202: [19:44:34] <Isaac_> hey guys, anyone up? Just curious how I would go about overriding GridField_Item on one particular gridfield
203: [19:48:11] * DanaeNZ has joined #silverstripe
204: [19:48:49] <Isaac_> hey danae, do you know how to change the look of a grid in the cms admin?
205: [19:49:00] * loki_nz quit (Ping timeout: 260 seconds)
206: [19:49:00] <Isaac_> specifically the background color of a row
207: [20:29:17] * filisko has joined #silverstripe
208: [20:41:08] * DanaeNZ quit (Remote host closed the connection)
209: [20:41:43] * DanaeNZ has joined #silverstripe
210: [20:46:00] * DanaeNZ quit (Ping timeout: 256 seconds)
211: [20:51:00] * UndefinedOffset quit (Quit: Leaving.)
212: [20:58:00] * filisko quit (Quit: Leaving)
213: [21:00:55] * DanaeNZ has joined #silverstripe
214: [21:01:29] * Shrike_Finland quit (Quit: Leaving.)
215: [22:02:15] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
216: [22:25:52] * filisko has joined #silverstripe
217: [22:53:44] * DanaeNZ quit (Remote host closed the connection)
218: [22:53:59] * DanaeNZ has joined #silverstripe
219: [22:54:03] * spronk quit (Quit: bleep bleep bloop bloop)
220: [22:54:57] * spronk has joined #silverstripe
221: [22:55:13] <spronk> sup guyssss
222: [23:00:01] * ss-helper quit (Remote host closed the connection)
223: [23:00:15] * ss-helper has joined #silverstripe
224: [23:06:05] <DanaeNZ> spronk: o/
225: [23:08:12] * spronk 's new stupid project: http://facemaker.racing
226: [23:11:08] <DanaeNZ> spronk: That's half terrifying half amazing
227: [23:11:11] <spronk> :D
228: [23:11:19] <spronk> ikr
229: [23:11:25] <spronk> (the terrifying part)
230: [23:13:04] <filisko> hi, I was thinking in starting a set of tutorials in spanish about SS, thing is, should I do them with version 3 or 4 ?
231: [23:13:06] <filisko> what would you do?
232: [23:15:57] <spronk> for now, probably 4
233: [23:16:10] <spronk> also, i need a cross browser implementation of display: unset :(
234: [23:21:11] <filisko> yes, so latest released alpha version was just 2 weeks ago and it already has a lot of things, so i dont know
235: [23:21:20] <filisko> should i go for v4 spronk _
236: [23:21:20] <filisko> ?
237: [23:21:24] <spronk> probably
238: [23:21:34] <spronk> depends entirely on your audience i guess
239: [23:22:23] <filisko> do you think it will change much until it's released?
240: [23:22:31] <filisko> how much more alpha versions will be released?
241: [23:28:00] <Zauberfisch> spronk: lol
242: [23:28:01] <Zauberfisch> dafuq
243: [23:28:05] <spronk> :D
244: [23:28:22] <Zauberfisch> hahaha
245: [23:28:24] <Zauberfisch> this is brilliant
246: [23:29:38] <spronk> :)
247: [23:34:38] * pippy has joined #silverstripe
248: [23:58:33] * filisko quit (Ping timeout: 258 seconds)
249: [23:59:36] <DanaeNZ> 3 MORE SLEEPS
250: [23:59:41] <DanaeNZ> AGH

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