#silverstripe IRC Log

IRC log for 17 October 2016

All timestamps are in UTC.

1: [00:00:29] * Stomach_ has joined #silverstripe
2: [00:00:58] * Stomach quit (Read error: Connection reset by peer)
3: [00:35:21] * DanaeNZ quit (Remote host closed the connection)
4: [00:35:56] * DanaeNZ has joined #silverstripe
5: [00:36:40] * Stomach_ quit (Quit: zzz)
6: [00:38:34] * Stomach has joined #silverstripe
7: [00:39:21] * DanaeNZ quit (Remote host closed the connection)
8: [00:39:37] * DanaeNZ has joined #silverstripe
9: [01:19:53] * Azure|dc has joined #silverstripe
10: [01:21:15] * Azure quit (Ping timeout: 250 seconds)
11: [01:26:06] <vitaly_> Is there an easy way to make Created date editable for DataObject?
12: [01:41:03] * Azure|dc is now known as Azure
13: [01:52:05] <DanaeNZ> vitaly_: why do you need to make it editable?
14: [01:56:27] <vitaly_> DanaeNZ: I have a page that displays latest video and I have page that displays previous videos. If I'll want to place video somewhere in the middle, I'll want to edit created date to slit this video in between other dates.
15: [01:57:47] <DanaeNZ> vitaly_: Hm, I guess normally I'd just create a new field called "PublishDate" or something. I haven't attempted to modify the Created value before
16: [02:00:44] <vitaly_> DanaeNZ: Thought about it as well. If you don't specify Fields for DataObject they'll be generated automatically for editing it in GridField. Is there a way to add additional field or I have to specify all the fields?
17: [02:04:01] <DanaeNZ> vitaly_: in the getCMSFields function? You can add them there
18: [02:05:46] <vitaly_> I'm too lazy to list all of them when I want to add just one -_-
19: [02:07:17] * cheddam quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
20: [02:08:53] * cheddam has joined #silverstripe
21: [02:10:37] * Azure|dc has joined #silverstripe
22: [02:11:15] <DanaeNZ> vitaly_: I think there's a scaffold form fields function somewhere...like getFrontendFields or something
23: [02:11:23] <DanaeNZ> it's not something I've looked very hard at though
24: [02:11:45] <vitaly_> DanaeNZ: Thanks anyway as always :)
25: [02:11:51] <DanaeNZ> haha np
26: [02:12:29] * Azure quit (Ping timeout: 260 seconds)
27: [02:29:17] * janneklouman-- has joined #silverstripe
28: [02:33:48] * janneklouman-- quit (Ping timeout: 245 seconds)
29: [02:39:53] <Guest43169> vitaly_: The normal way to do it is public function getCMSFields() { $fields = parent::getCMSFields(); $fields->addFieldToTab('Root.Main', new DateField('Created')); return $fields; }
30: [02:40:13] <Guest43169> That will get all the fields you'd normally see, and add the 'Created' field at the bottom of the 'Main' tab
31: [02:40:27] <Guest43169> but it depends if this is a Page object, or a DataObject or whatever
32: [02:40:43] <vitaly_> Guest43169: Hi, It's a DataObject
33: [02:43:10] * Stomach quit (Quit: zzz)
34: [02:50:36] <Guest43169> vitaly_: I see - in that case you should use public function updateCMSFields($fields) { $fields->push(new DateField('Created')); }
35: [02:51:03] <Guest43169> I'm unsure if you can change 'Created' like that or not though, given it's a built-in SS DataObject value :)
36: [02:51:18] * Guest43169 quit (Changing host)
37: [02:51:18] * Guest43169 has joined #silverstripe
38: [02:51:22] * Guest43169 is now known as madmatt
39: [03:01:41] * cheddam quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
40: [03:02:20] * cheddam has joined #silverstripe
41: [03:05:23] <vitaly_> madmatt: Approach for Page objects also works for DataObject apparently :) Thanks for the tip.
42: [03:12:57] <madmatt> ah sweet as :)
43: [03:13:06] <madmatt> np!
44: [03:22:45] * Stomach has joined #silverstripe
45: [03:54:03] * Phlunk3 quit (Quit: Leaving)
46: [03:59:20] * Stomach quit (Quit: zzz)
47: [04:15:13] * cheddam quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
48: [04:18:13] * janneklouman-- has joined #silverstripe
49: [04:23:06] * janneklouman-- quit (Ping timeout: 252 seconds)
50: [04:37:48] * Stomach has joined #silverstripe
51: [04:40:14] * Stomach quit (Read error: Connection reset by peer)
52: [04:40:39] * Stomach has joined #silverstripe
53: [04:57:05] * micmania1 quit (Quit: micmania1)
54: [05:02:12] * Stomach quit (Quit: zzz)
55: [05:06:40] * DanaeNZ quit (Quit: TIME TO FEED)
56: [05:19:11] * janneklouman-- has joined #silverstripe
57: [05:23:34] * janneklouman-- quit (Ping timeout: 252 seconds)
58: [05:35:44] * pweh has joined #silverstripe
59: [05:48:16] * Shrike_Finland has joined #silverstripe
60: [06:15:33] * wmk has joined #silverstripe
61: [06:16:18] * Stomach has joined #silverstripe
62: [06:34:04] * janneklouman-- has joined #silverstripe
63: [06:57:33] * Shrike_Finland quit (Quit: Leaving.)
64: [07:00:19] <wmk> everyone back home again?
65: [07:06:53] <wmk> btw: our slides are online: https://speakerdeck.com/wernerkrauss/debug-silverstripe-like-a-pro
66: [07:23:40] * cheddam has joined #silverstripe
67: [07:23:50] * janneklouman-- quit (Ping timeout: 256 seconds)
68: [07:35:19] * mrG_ has joined #silverstripe
69: [07:35:19] <ss-helper> mrG_: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
70: [07:36:10] * pweh is now known as poorsoft
71: [07:36:16] * poorsoft quit (Changing host)
72: [07:36:16] * poorsoft has joined #silverstripe
73: [07:36:52] * poorsoft quit (Changing host)
74: [07:36:52] * poorsoft has joined #silverstripe
75: [07:36:57] * poorsoft is now known as pweh
76: [07:41:02] <mrG_> I cannot seem to UpdateCmsFields in a DataExtension that extends Page
77: [07:41:54] * spronk quit (Quit: I may need a longer sleep timer...)
78: [07:44:01] * micmania1 has joined #silverstripe
79: [07:47:34] * cloph_away is now known as cloph
80: [07:56:00] * cheddam quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
81: [07:56:02] * Shrike_Finland has joined #silverstripe
82: [08:02:15] * kinglozzer has joined #silverstripe
83: [08:08:23] * Stomach quit (Quit: zzz)
84: [08:12:13] * janneklouman-- has joined #silverstripe
85: [08:50:30] * agent44 has joined #silverstripe
86: [08:52:50] * cheddam has joined #silverstripe
87: [08:55:06] * cheddam quit (Client Quit)
88: [08:55:48] * Shrike_Finland quit (Quit: Leaving.)
89: [09:16:16] * Shrike_Finland has joined #silverstripe
90: [09:26:02] <TombL> I'm unsure about what was said about Slack at Stripecon, is there a public Slack channel for Silverstripe?
91: [09:59:01] * agent44 quit (Quit: zzz)
92: [10:00:28] * agent44 has joined #silverstripe
93: [10:15:15] <ss-helper> SilverStripe return URLSegment from SiteTree relation - http://stackoverflow.com/questions/40083484/silverstripe-return-urlsegment-from-sitetree-relation
94: [10:20:12] * agent44 quit (Quit: zzz)
95: [10:21:21] * marvanni has joined #silverstripe
96: [10:21:27] * agent44 has joined #silverstripe
97: [10:56:18] * janneklouman-- quit (Ping timeout: 245 seconds)
98: [10:58:42] * janneklouman-- has joined #silverstripe
99: [11:33:34] * cheddam has joined #silverstripe
100: [11:45:59] * cupcake has joined #silverstripe
101: [11:46:21] <cupcake> heya o/
102: [11:47:09] * cupcake quit (Client Quit)
103: [11:48:16] * cupcake has joined #silverstripe
104: [11:49:24] * cheddam quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
105: [11:54:09] * ss32noob has joined #silverstripe
106: [12:21:51] * ss32noob quit (Ping timeout: 260 seconds)
107: [12:32:56] * Shrike_Finland quit (Quit: Leaving.)
108: [12:37:49] * UndefinedOffset has joined #silverstripe
109: [12:45:17] <ss-helper> How to override Security class in Silverstripe? - http://stackoverflow.com/questions/40086688/how-to-override-security-class-in-silverstripe
110: [12:46:49] * micmania1 quit (Quit: micmania1)
111: [13:18:51] * janneklouman-- quit (Ping timeout: 250 seconds)
112: [13:19:54] * terryapodaca has joined #silverstripe
113: [13:20:57] * janneklouman-- has joined #silverstripe
114: [13:22:36] * pweh quit (Read error: Connection reset by peer)
115: [13:25:57] * janneklouman-- quit (Ping timeout: 252 seconds)
116: [13:28:58] * terryapodaca has left #silverstripe
117: [13:32:34] * Shrike_Finland has joined #silverstripe
118: [13:33:08] * Shrike_Finland quit (Client Quit)
119: [13:33:13] * janneklouman-- has joined #silverstripe
120: [13:43:48] * UndefinedOffset quit (Quit: Leaving.)
121: [13:49:56] * mrG_ quit (Ping timeout: 260 seconds)
122: [13:56:16] * janneklouman-- quit (Ping timeout: 250 seconds)
123: [13:58:48] * janneklouman-- has joined #silverstripe
124: [14:04:45] * UndefinedOffset has joined #silverstripe
125: [14:25:21] * marvanni quit (Quit: marvanni)
126: [14:29:04] * janneklouman-- quit (Ping timeout: 260 seconds)
127: [14:33:09] * agent44 quit (Quit: zzz)
128: [14:46:26] * janneklouman-- has joined #silverstripe
129: [14:52:09] <wmk> TombL, afaik yes
130: [14:52:51] <wmk> TombL, afaik https://silverstripe-users.slack.com/messages/general/ but I personally stick to IRC
131: [15:01:51] <cupcake> hey wml
132: [15:01:53] <cupcake> *wmk
133: [15:01:56] <cupcake> how are u
134: [15:03:01] * muskie9 has joined #silverstripe
135: [15:06:09] * agent44 has joined #silverstripe
136: [15:33:51] * UndefinedOffset quit (Quit: Leaving.)
137: [15:41:09] * UndefinedOffset has joined #silverstripe
138: [15:44:59] * wmk quit (Read error: Connection reset by peer)
139: [15:54:37] * helenclarko has joined #silverstripe
140: [15:55:05] * helenclarko quit (Client Quit)
141: [15:56:48] * helenclarko has joined #silverstripe
142: [16:30:54] * kinglozzer quit ()
143: [17:05:26] * muskie9 quit (Read error: No route to host)
144: [17:09:12] * agent44 quit (Quit: zzz)
145: [17:10:01] * cupcake quit (Ping timeout: 260 seconds)
146: [17:17:49] * janneklouman-- quit (Ping timeout: 260 seconds)
147: [18:04:42] * DimiStripe quit (Remote host closed the connection)
148: [18:06:21] * janneklouman-- has joined #silverstripe
149: [18:08:15] * janneklouman-- quit (Read error: Connection reset by peer)
150: [18:09:18] * UndefinedOffset quit (Quit: Leaving.)
151: [18:11:45] * janneklouman-- has joined #silverstripe
152: [18:16:38] * muskie9 has joined #silverstripe
153: [18:19:17] * helenclark0 has joined #silverstripe
154: [18:20:26] * helenclarko quit (Ping timeout: 250 seconds)
155: [18:30:40] * UndefinedOffset has joined #silverstripe
156: [18:36:46] * lerni has joined #silverstripe
157: [18:49:28] * muskie9 quit (Ping timeout: 260 seconds)
158: [18:59:26] * Stomach has joined #silverstripe
159: [19:00:43] <Nightjar> I _MUCHLY_ dislike slack channels as 'communities'.
160: [19:00:59] <ss23> You and me both, buddy
161: [19:01:04] <ss23> But if it draws in the users *shrug*
162: [19:01:19] <Nightjar> No.
163: [19:01:43] <Nightjar> The users are wrong.
164: [19:02:45] <ss23> lol
165: [19:03:40] <Nightjar> People keep going on about 'public' slack channels. It's a gated community, you have to be invited before you can join.
166: [19:05:21] <ss23> There are bots to automate the invitation, which puts it roughly on par with signing up to a forum, or joining an IRC channel
167: [19:05:42] <Nightjar> No, you're wrong.
168: [19:11:50] <ss23> Man, wish there were less people on this floor, would make it so much more acceptable to blast dnb at 8am
169: [19:12:27] <ss23> stupid 130W sub annoys people :(
170: [19:15:02] <ss23> oh shit the i in loops is short for index
171: [19:38:45] <Nightjar> oh snap! who knew?
172: [19:40:19] <ss23> dude not me :(
173: [19:47:12] <Nightjar> jndex, kndex
174: [19:47:55] * gelignite has joined #silverstripe
175: [19:53:00] * janneklouman-- quit (Read error: Connection reset by peer)
176: [19:53:31] <xyphoid> the chch group were talking about setting up a FORUM
177: [19:53:33] <xyphoid> so retro
178: [19:53:40] <xyphoid> (they went with slack in the end though)
179: [19:58:42] * janneklouman-- has joined #silverstripe
180: [20:08:26] * janneklouman-- quit (Read error: Connection reset by peer)
181: [20:14:12] * janneklouman-- has joined #silverstripe
182: [20:20:48] * muskie9 has joined #silverstripe
183: [20:25:16] * lerni quit ()
184: [20:31:49] * UndefinedOffset quit (Quit: Leaving.)
185: [20:42:34] * DanaeNZ has joined #silverstripe
186: [20:47:18] <DanaeNZ> morning folks
187: [20:47:23] <ss23> moin moin
188: [20:47:54] <muskie9> o/
189: [20:57:37] * muskie9 quit (Ping timeout: 260 seconds)
190: [21:03:45] * UndefinedOffset has joined #silverstripe
191: [21:05:46] * muskie9 has joined #silverstripe
192: [21:06:29] * UndefinedOffset quit (Client Quit)
193: [21:08:48] * micmania1 has joined #silverstripe
194: [21:13:59] * Stomach quit (Quit: zzz)
195: [21:21:59] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
196: [21:32:09] * muskie9 quit (Ping timeout: 256 seconds)
197: [21:35:50] * Stomach has joined #silverstripe
198: [21:39:12] * janneklouman-- quit (Read error: Connection reset by peer)
199: [21:44:48] * Nightjar_ has joined #silverstripe
200: [21:48:52] * Nightjar quit (Ping timeout: 250 seconds)
201: [21:55:39] * Stomach quit (Quit: zzz)
202: [21:55:59] * janneklouman-- has joined #silverstripe
203: [22:00:29] * cheddam has joined #silverstripe
204: [22:00:53] <ss23> yo cheddam, whens that housewarming thing btw?
205: [22:01:06] <cheddam> 5 Nov :)
206: [22:01:16] <ss23> aw sweet ages away
207: [22:01:28] <ss23> cheddam: I don't have a calendar, so hmu that week? <3
208: [22:01:35] <ss23> I mean
209: [22:01:37] <ss23> if you want me to come
210: [22:01:38] * ss23 blushes
211: [22:01:42] <cheddam> Will do :D
212: [22:01:44] <ss23> its up to you, it's not like I want to go or anything, BAKA
213: [22:01:59] <cheddam> hahaha
214: [22:08:42] * Stomach has joined #silverstripe
215: [22:21:36] <DanaeNZ> lmao
216: [22:31:03] * spronk has joined #silverstripe
217: [22:31:13] <DanaeNZ> so I'm using the silverstripe Import/Export module. I'm working with Transforms right now, and the key piece I'm missing is how to get all the data of the current row. Anyone done this before?
218: [22:31:33] <DanaeNZ> https://github.com/burnbright/silverstripe-importexport#transform-incoming-record-data
219: [22:39:15] * janneklouman-- quit (Ping timeout: 252 seconds)
220: [23:00:01] * ss-helper quit (Remote host closed the connection)
221: [23:00:17] * ss-helper has joined #silverstripe
222: [23:04:42] * muskie9 has joined #silverstripe
223: [23:17:22] * Azure has joined #silverstripe
224: [23:18:29] * Azure|dc quit (Read error: Connection reset by peer)
225: [23:46:41] * Stomach quit (Quit: zzz)
226: [23:47:26] * Stomach has joined #silverstripe
227: [23:57:09] * Nightjar_ quit (Ping timeout: 250 seconds)

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