#silverstripe IRC Log

IRC log for 29 March 2017

All timestamps are in UTC.

1: [01:16:08] * Azure|dc is now known as Azure
2: [01:32:01] * samsamek has joined #silverstripe
3: [01:52:09] * samsamek quit (Quit: samsamek)
4: [01:57:58] <helenclarko> has anyone used milkyway-multimedia/ss-shop-checkout-extras
5: [02:26:19] * zippy has joined #silverstripe
6: [02:40:53] <Nightjar> nup, sorry.
7: [02:41:05] <Nightjar> you're in a different timezone now though right helenclarko ?
8: [02:41:21] <helenclarko> Yeah, I'm in Toronto
9: [02:41:28] <Nightjar> wait up and see if any of the EU folk drop by, they tend to be more involved with shop developments AFAIK.
10: [03:03:26] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
11: [03:06:27] <helenclarko> Yeah haha
12: [03:45:09] <Nightjar> welp, ggs
13: [03:45:12] * Nightjar quit (Quit: Leaving)
14: [03:52:01] * helenclarko quit (Read error: Connection reset by peer)
15: [04:29:27] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
16: [05:39:20] * Shrike_Finland has joined #silverstripe
17: [06:46:31] * zippy has joined #silverstripe
18: [06:59:30] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
19: [07:00:46] * saiyan quit (Quit: BYE)
20: [07:01:17] * saiyan has joined #silverstripe
21: [07:12:52] * zippy has joined #silverstripe
22: [07:23:34] * Shrike_Finland quit (Quit: Leaving.)
23: [08:03:53] * kinglozzer has joined #silverstripe
24: [08:36:59] * zippy quit (Quit: Textual IRC Client: www.textualapp.com)
25: [08:48:43] * deschebbs has joined #silverstripe
26: [09:09:12] * UncleCheese has joined #silverstripe
27: [09:16:03] * Shrike_Finland has joined #silverstripe
28: [09:42:34] * DimiStripe quit (Quit: DimiStripe)
29: [09:57:22] * DimiStripe has joined #silverstripe
30: [09:59:46] * samsamek has joined #silverstripe
31: [10:01:26] * filisko has joined #silverstripe
32: [10:19:44] * samsamek quit (Quit: samsamek)
33: [10:46:03] * slievr has joined #silverstripe
34: [10:46:38] * slievr1 quit (Ping timeout: 258 seconds)
35: [11:08:46] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
36: [11:08:57] * UncleCheese has joined #silverstripe
37: [11:09:32] * UncleCheese quit (Client Quit)
38: [11:09:45] * UncleCheese has joined #silverstripe
39: [11:10:20] * UncleCheese quit (Client Quit)
40: [11:10:35] * UncleCheese has joined #silverstripe
41: [11:11:07] * jen_ has joined #silverstripe
42: [11:11:08] <ss-helper> jen_: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
43: [11:11:09] * UncleCheese quit (Client Quit)
44: [11:11:21] * UncleCheese has joined #silverstripe
45: [11:11:56] * UncleCheese quit (Client Quit)
46: [11:13:24] * wmk has joined #silverstripe
47: [11:13:55] * slievr quit (Ping timeout: 246 seconds)
48: [11:13:59] <jen_> hello, I have a situation using gridfield, I want to see all fields but its not showing in gridfield summary fields
49: [11:14:11] <jen_> https://snag.gy/dFcBWX.jpg
50: [11:14:24] <jen_> Is there any way I can see all the fields
51: [11:14:31] * slievr has joined #silverstripe
52: [11:14:42] * slievr has left #silverstripe
53: [11:14:54] <wmk> jen_, all datasets?
54: [11:15:06] <jen_> yes
55: [11:15:11] <wmk> !paste jen_
56: [11:15:11] <ss-helper> jen_: Please paste your code using something like http://kopy.io/ or http://www.sspaste.com/ or https://gist.github.com/ and then paste the link here.
57: [11:15:33] <jen_> ok sure
58: [11:15:54] <wmk> depends on your data... from the screenshot i guess you just have two rows in your table
59: [11:17:33] <kinglozzer> All fields? Don't you just need to update summary_fields to include them all?
60: [11:17:44] <kinglozzer> Ohhh, it's overflowing
61: [11:17:49] <kinglozzer> Is that the issue?
62: [11:18:51] <wmk> kinglozzer, but even if it's overflowing... i guess grid isn't made for that scenario.
63: [11:19:09] <wmk> something like excel export would be better IMHO
64: [11:19:56] <kinglozzer> Yep
65: [11:20:32] <kinglozzer> It's just not designed to display that much data... if you're desperate, you could push some extra CSS for overflow-x (so you can scroll left/right), or to override whitespace-nowrap on the headers
66: [11:20:50] <kinglozzer> But it's still going to be very hard to read like that
67: [11:21:48] <jen_> here is the code http://kopy.io/27Sd2
68: [11:22:27] <jen_> Yes I have added all fields to summary fields
69: [11:22:45] <kinglozzer> jen_: You could shorten the titles? e.g. $summary_fields = array('InputEnergyEi' => 'Input', 'EnergybilledE1' => 'Energy E1'... etc
70: [11:23:28] <jen_> Isn't there any other way?
71: [11:23:51] <jen_> also I want to show total bottom of each column how can I get that
72: [11:24:15] <wmk> jen_, this is a nice extension to download the data as excel: https://github.com/firebrandhq/excel-export
73: [11:24:29] <kinglozzer> jen_: If you need that sort of thing, you should really just export to CSV/excel and do it in Excel
74: [11:24:33] <kinglozzer> ^^
75: [11:24:40] <wmk> jen_, do you need to edit the data? if yes, gridfield is a nice thing
76: [11:24:51] <wmk> if not, a Report might be better
77: [11:25:07] <kinglozzer> Data analysis is out of GridField's capabilities really
78: [11:25:07] <wmk> Report is for showing/reporting stuff, no edit/delete
79: [11:25:34] <jen_> ok, I need also to show total below each field
80: [11:25:54] <wmk> kinglozzer, do you know if Report can handle total, average etc...?
81: [11:26:20] <kinglozzer> wmk: Nope, I've never used reports!
82: [11:28:29] <jen_> or I can enable overflow in gridfield so that I can scroll to right
83: [11:31:39] <wmk> jen_, do you need CRUD stuff? or just analysis?
84: [11:32:01] <jen_> analysis
85: [11:34:33] <wmk> how about generating a simple html table and output this instead?
86: [11:34:57] <wmk> you won't need ModelAdmin
87: [11:35:03] <jen_> how to do that?
88: [11:35:14] <wmk> ok, maybe for filtering the data you want to analyse
89: [11:38:59] <wmk> jen_, see SS_Report and subclasses
90: [11:40:21] <wmk> seems it's a very hidden gem in SilverStripe. Nearly no documentation available
91: [11:41:49] <jen_> ok thanks, I have two type of site users one can only edit and add dataobject and the other can also delete how can I do this
92: [11:42:08] <jen_> I tried can create, delete, edit but no luck
93: [11:42:37] <jen_> also different users seeing different data, why isn't it showing all the data
94: [11:42:43] <wmk> jen_, is this another question or related to the first one?
95: [11:42:57] <jen_> another question
96: [11:44:18] <wmk> jen_, see https://docs.silverstripe.org/en/3/developer_guides/security/permissions/
97: [11:44:43] <wmk> you have canCreate() canView() canEdit() and canDelete() in your DataObjects
98: [11:44:58] <wmk> and you can add "Permissions" you define in your code to a user or usergroup
99: [11:45:22] <wmk> this way you can say you can edit and delete them and i can just add and edit them
100: [11:45:31] <wmk> and kinglozzer cannot view any of the records
101: [11:45:42] <kinglozzer> :(
102: [11:45:55] <kinglozzer> ;D
103: [11:46:38] <wmk> jen_, a common pitfall that admin can do anything but a logged in user without admin role can't delete stuff or see that gallery images etc...
104: [11:47:31] <wmk> I made this DataExtension for this reason: https://gist.github.com/wernerkrauss/34238007031ef9ea8b79
105: [11:48:03] <wmk> you could copy/paste the code in your dataobject and adjust it to your needs
106: [11:51:14] * samsamek has joined #silverstripe
107: [11:56:40] * jen_ quit (Ping timeout: 260 seconds)
108: [12:00:07] * samsamek quit (Quit: samsamek)
109: [12:04:40] * filisko quit (Ping timeout: 256 seconds)
110: [12:28:06] * UndefinedOffset has joined #silverstripe
111: [12:42:24] * tt_ has joined #silverstripe
112: [12:42:24] <ss-helper> tt_: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
113: [12:45:01] <tt_> guys, what does CloudFileExtension is added to File. mean?
114: [12:45:18] <tt_> technically i am not able to understand this sentence
115: [12:50:09] * samsamek has joined #silverstripe
116: [12:58:34] <wmk> tt_ it's a DataExtension class for File
117: [12:59:06] <wmk> tt_, see also: https://docs.silverstripe.org/en/3.1/developer_guides/extending/extensions/
118: [13:15:50] * Shrike_Finland quit (Quit: Leaving.)
119: [13:18:32] * Shrike_Finland has joined #silverstripe
120: [13:19:41] * Shrike_Finland quit (Client Quit)
121: [13:36:25] * tt_ quit (Ping timeout: 260 seconds)
122: [13:42:31] * samsamek quit (Quit: samsamek)
123: [13:49:18] * wmk quit (Quit: Leaving)
124: [13:54:41] * filisko has joined #silverstripe
125: [14:00:18] <ss-helper> Silverstripe - Adding 2 TreeDropdownFields, only one works - http://stackoverflow.com/questions/43095692/silverstripe-adding-2-treedropdownfields-only-one-works
126: [14:34:40] * Shrike_Finland has joined #silverstripe
127: [14:43:54] * jcwacky has joined #silverstripe
128: [15:02:26] * Shrike_Finland quit (Quit: Leaving.)
129: [15:05:19] * samsamek has joined #silverstripe
130: [15:39:32] <jcwacky> Hi all. Getting “Fatal error: Call to undefined method SilverStripe\Config\Collections\CachedConfigCollection::setPool() in XXX/framework/src/Core/Config/CoreConfigFactory.php on line 51” when installing 4.0.0-alpha4 or 4.0.0-alpha5 via composer. Anyone else come across this?
131: [15:42:17] <kinglozzer> jcwacky: https://github.com/silverstripe/silverstripe-framework/issues/6737
132: [15:43:34] <jcwacky> Gah, why didn’t I find that. Cheers Loz!
133: [16:25:10] * kinglozzer quit ()
134: [16:27:54] * jcwacky quit (Quit: jcwacky)
135: [16:36:29] * samsamek quit (Quit: samsamek)
136: [16:50:46] * Shrike_Finland has joined #silverstripe
137: [16:50:48] * Shrike_Finland quit (Client Quit)
138: [18:18:33] * deschebbs quit (Quit: Konversation terminated!)
139: [18:21:35] * Shrike_Finland has joined #silverstripe
140: [18:22:54] * Shrike_Finland quit (Client Quit)
141: [18:45:13] * Shrike_Finland has joined #silverstripe
142: [18:49:01] * Shrike_Finland quit (Client Quit)
143: [18:49:10] * Shrike_Finland has joined #silverstripe
144: [18:49:49] * Shrike_Finland quit (Client Quit)
145: [18:49:58] * Shrike_Finland has joined #silverstripe
146: [18:50:37] * Shrike_Finland quit (Client Quit)
147: [18:50:48] * Shrike_Finland has joined #silverstripe
148: [18:51:27] * Shrike_Finland quit (Client Quit)
149: [18:51:36] * Shrike_Finland has joined #silverstripe
150: [18:52:14] * Shrike_Finland quit (Client Quit)
151: [18:52:23] * Shrike_Finland has joined #silverstripe
152: [18:53:02] * Shrike_Finland quit (Client Quit)
153: [18:53:11] * Shrike_Finland has joined #silverstripe
154: [18:53:50] * Shrike_Finland quit (Client Quit)
155: [20:07:32] * helenclarko has joined #silverstripe
156: [20:09:45] <helenclarko> Can anyone help me with a PXPay setup on SilverShop?
157: [20:20:00] * gelignite has joined #silverstripe
158: [20:32:47] * UndefinedOffset quit (Quit: Leaving.)
159: [20:45:25] <ss-helper> Silverstripe random order from ArrayList() possible? - http://stackoverflow.com/questions/43103588/silverstripe-random-order-from-arraylist-possible
160: [20:50:04] * UndefinedOffset has joined #silverstripe
161: [20:51:04] * UndefinedOffset quit (Client Quit)
162: [21:01:41] * UncleCheese has joined #silverstripe
163: [21:23:18] * Azure quit (Quit: Oops.)
164: [21:24:36] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
165: [21:30:57] * Azure has joined #silverstripe
166: [21:46:45] * UncleCheese has joined #silverstripe
167: [22:48:29] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
168: [23:00:01] * ss-helper quit (Remote host closed the connection)
169: [23:00:14] * ss-helper has joined #silverstripe
170: [23:15:03] <ss-helper> SS3 and PHP7 - RFC - https://groups.google.com/d/msg/silverstripe-dev/IXgn8CmmddA/73ORKbjDEgAJ
171: [23:33:50] * Audlex- quit ()
172: [23:34:42] * Audlex has joined #silverstripe

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