#silverstripe IRC Log

IRC log for 20 April 2017

All timestamps are in UTC.

1: [00:00:01] * ss-helper quit (Remote host closed the connection)
2: [00:00:17] * ss-helper has joined #silverstripe
3: [00:00:18] * bubaphex quit (Quit: bubaphex)
4: [00:23:36] * spronk has joined #silverstripe
5: [00:54:42] * DanaeNZ quit (Remote host closed the connection)
6: [01:12:41] * bubaphex has joined #silverstripe
7: [01:28:49] * DanaeNZ has joined #silverstripe
8: [02:04:55] * bubaphex quit (Quit: bubaphex)
9: [02:11:33] * bubaphex has joined #silverstripe
10: [03:05:38] * bubaphex quit (Quit: bubaphex)
11: [03:14:14] * bubaphex has joined #silverstripe
12: [03:28:42] <DanaeNZ> Anyone know how to set the results set for GridFieldAddExistingAutoCompleter?
13: [03:29:01] <DanaeNZ> setSearchList appears not to work
14: [03:55:50] <DanaeNZ> Ah. Looking at the wrong gridfield. That would do it!
15: [04:47:27] * Shrike_Finland has joined #silverstripe
16: [05:21:11] * Shrike_Finland quit (Quit: Leaving.)
17: [05:35:20] * DanaeNZ quit (Quit: TIME TO FEED)
18: [05:55:35] * spronk quit (Quit: I may need a longer sleep timer...)
19: [06:11:32] * Mike123 has joined #silverstripe
20: [07:45:14] <ss-helper> Silverstripe 3.0.5 upgrade to 4.0.0-alpha6 - http://stackoverflow.com/questions/43513069/silverstripe-3-0-5-upgrade-to-4-0-0-alpha6
21: [07:54:15] * Mike123 quit (Ping timeout: 260 seconds)
22: [08:03:45] * kinglozzer has joined #silverstripe
23: [08:28:30] * agent44 has joined #silverstripe
24: [08:32:31] * Shrike_Finland has joined #silverstripe
25: [08:58:47] * filisko has joined #silverstripe
26: [09:05:20] * deschebbs has joined #silverstripe
27: [09:10:12] <deschebbs> hi, I'd like to have a delete confirm for GridFiled data rows. Maybe something using with JavaScript / JQuery / entwine. Has anybody an idea, where i could look for a solution? GridFieldDeleteAction does not seem be useful for this.
28: [09:29:40] * agent44 quit (Quit: zzz)
29: [09:32:58] * samsamek has joined #silverstripe
30: [09:53:55] * agent44 has joined #silverstripe
31: [09:55:56] * Guits has joined #silverstripe
32: [09:57:15] <Guits> Would having silverstripe-cache directory in a ram drive be a good option for performance?
33: [09:58:22] * MrG has joined #silverstripe
34: [09:58:28] * MrG has left #silverstripe
35: [09:59:10] * Guits quit (Client Quit)
36: [09:59:12] * MrGuits has joined #silverstripe
37: [10:00:12] <MrGuits> Would having silverstripe-cache directory in a ram drive be a good option for performance?
38: [10:01:02] <cloph> I'd rather use xcache or apc cache backends for that, ramdisk not really necessary, as the stuff should be in your OS' drive cache for the most part.
39: [10:01:34] <cloph> or otherwise put: if you have performance issues, putting the filesystem cache into ramdisk won't make a huge difference/won't save you.
40: [10:24:53] <MrGuits> thank you cloph
41: [10:25:04] <MrGuits> I have problem with disk i/o -
42: [10:42:59] * filisko quit (Ping timeout: 260 seconds)
43: [10:47:13] * samsamek quit (Quit: samsamek)
44: [10:57:38] * filisko has joined #silverstripe
45: [11:00:07] * Shrike_Finland quit (Quit: Leaving.)
46: [12:02:37] * Shrike_Finland has joined #silverstripe
47: [12:16:24] * Kapdap quit (Quit: Lost terminal)
48: [12:18:02] * deschebbs quit (Quit: Konversation terminated!)
49: [12:26:41] * Kapdap has joined #silverstripe
50: [12:28:21] * UndefinedOffset has joined #silverstripe
51: [12:31:06] * tt_ has joined #silverstripe
52: [12:31:08] <tt_> do we have image gallery inbult?
53: [12:31:14] <tt_> do we have image gallery inbult?
54: [12:32:46] * ss23 quit (Ping timeout: 264 seconds)
55: [12:34:16] <cloph> no, but you can have a loop over images quite simple and use your lightbox or whatever plugin you want.
56: [12:34:32] <cloph> There are various gallery modules available though if one fits your needs..
57: [12:39:43] * kinglozz_ has joined #silverstripe
58: [12:41:24] * kinglozzer quit (Ping timeout: 260 seconds)
59: [12:42:18] <tt_> your first solution seems good to me , looping over images , so here is what seems to me a good one-- adds has_many static variable to dataobject, then upload various images via CMS, then render them in template and using jquery to make it a gallery
60: [12:45:01] <cloph> or upload to specific folder layout and use images from that folder as opposed to adding it to a has_many in additional step. But many ways to do it, not one right way. Depends on who edits your site/what other requirements you have.
61: [12:51:35] * samsamek has joined #silverstripe
62: [12:52:03] <tt_> thanx cloph
63: [12:57:43] * filisko quit (Quit: Leaving)
64: [13:10:12] * Shrike_Finland quit (Quit: Leaving.)
65: [13:33:45] * tt_ quit (Ping timeout: 260 seconds)
66: [13:37:34] * deschebbs has joined #silverstripe
67: [13:59:22] * samsamek quit (Quit: samsamek)
68: [14:03:03] * samsamek has joined #silverstripe
69: [14:16:50] * deschebbs quit (Quit: Konversation terminated!)
70: [14:37:07] * Mike123 has joined #silverstripe
71: [14:44:15] * kinglozz_ is now known as kinglozzer
72: [15:24:07] * DarjusIT has joined #silverstripe
73: [15:25:00] <DarjusIT> Hi all is it posible to make this field like dropdown with search http://pasteboard.co/6BGSSwNsP.png ?
74: [15:30:00] <kinglozzer> DarjusIT: I don't think so, but GridFieldExtensions can change it to a button with a form like this: https://github.com/silverstripe-australia/silverstripe-gridfieldextensions/blob/1/docs/en/_images/add-existing-search.png
75: [15:31:00] <DarjusIT> but it makes same thing just popup
76: [15:31:15] <DarjusIT> I would liek to show
77: [15:31:33] <DarjusIT> or it gives at firs all list
78: [15:31:34] <DarjusIT> ?
79: [15:35:04] * Mike123 quit (Ping timeout: 260 seconds)
80: [15:36:13] <DarjusIT> kinglozzer, thx its most to that I need
81: [15:56:17] * Brew-Jay has joined #silverstripe
82: [15:58:23] <Brew-Jay> I have done $ListOfObjects = Object::get(); - Then I am doing $ListOfObjects->remove($Object); To remove it from the list. but its actually deleting it from the database.
83: [15:58:32] <Brew-Jay> Is there anyway I can just remove it from the list. Rather than the database?
84: [16:13:41] <kinglozzer> Brew-Jay: Use ->exclude()?
85: [16:13:58] <Brew-Jay> I've been trying that, but can't seem to get it to work.
86: [16:14:04] <Brew-Jay> its two ArrayLists
87: [16:14:08] <Brew-Jay> one has all my objects in
88: [16:14:10] <Brew-Jay> and the other has some
89: [16:14:22] <Brew-Jay> I need an array with the ones that aren't in my second.
90: [16:14:25] <Brew-Jay> so the 'Left overs'
91: [16:14:41] <kinglozzer> Calling ->remove() on an ArrayList won't delete from the database
92: [16:14:49] <kinglozzer> Are you sure it's an ArrayList and not still a DataList?
93: [16:14:57] <Brew-Jay> Ahh it maybe a DataList
94: [16:15:03] <Brew-Jay> $AllCourses = Course::get();
95: [16:15:10] <Brew-Jay> And my members have courses
96: [16:15:24] <Brew-Jay> so I want to be left with an ArrayList which is courses that my member doesn't have
97: [16:16:18] <kinglozzer> Course::get()->exclude('ID', $member->Courses()->column('ID'));
98: [16:16:21] <kinglozzer> Maybe :P
99: [16:25:09] * kinglozzer quit ()
100: [16:27:34] * MrGuits_ has joined #silverstripe
101: [16:27:35] <ss-helper> MrGuits_: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
102: [16:29:07] * Brew-Jay quit (Quit: Page closed)
103: [16:31:29] * MrGuits quit (Ping timeout: 255 seconds)
104: [16:32:15] * MrGuits has joined #silverstripe
105: [17:04:41] * agent44 quit (Quit: zzz)
106: [17:16:29] * DarjusIT quit (Ping timeout: 255 seconds)
107: [17:41:20] * DarjusIT has joined #silverstripe
108: [17:52:43] * gelignite has joined #silverstripe
109: [17:58:23] * samsamek quit (Quit: samsamek)
110: [18:05:31] * samsamek has joined #silverstripe
111: [19:40:16] * samsamek quit (Quit: samsamek)
112: [20:20:33] * MrGuits quit (Ping timeout: 255 seconds)
113: [20:20:54] * MrGuits_ quit (Ping timeout: 268 seconds)
114: [20:33:36] * UndefinedOffset quit (Quit: Leaving.)
115: [20:56:39] * bubaphex quit (Read error: Connection reset by peer)
116: [20:59:46] * bubaphex has joined #silverstripe
117: [20:59:51] * bubaphex quit (Client Quit)
118: [21:00:17] * DarjusIT quit (Quit: Leaving)
119: [21:01:54] * bubaphex has joined #silverstripe
120: [21:55:18] * samsamek has joined #silverstripe
121: [22:26:04] * bubaphex_ has joined #silverstripe
122: [22:26:05] * bubaphex quit (Read error: Connection reset by peer)
123: [22:28:54] * bubaphex_ quit (Client Quit)
124: [22:33:21] * samsamek quit (Quit: samsamek)
125: [22:35:28] * bubaphex has joined #silverstripe
126: [22:44:01] * zippy has joined #silverstripe
127: [22:53:46] * bubaphex quit (Remote host closed the connection)
128: [23:05:59] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
129: [23:21:16] * munk0r quit (Quit: Textual IRC Client: www.textualapp.com)
130: [23:29:41] * DanaeNZ has joined #silverstripe
131: [23:50:54] * madpumpkin has joined #silverstripe
132: [23:50:55] <ss-helper> madpumpkin: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
133: [23:51:08] * zippy quit (Quit: Textual IRC Client: www.textualapp.com)
134: [23:52:07] <madpumpkin> hi guys! is there a tutorial/guide for SS for activating HTTPS? It looks like SS provides Director::forceSSL() - is that considered best practice vs an .htaccess solution? :)

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