#silverstripe IRC Log

IRC log for 4 May 2017

All timestamps are in UTC.

1: [00:00:01] * ss-helper quit (Remote host closed the connection)
2: [00:00:16] * ss-helper has joined #silverstripe
3: [00:45:04] <ss-helper> Re: [silverstripe-dev] Re: New developer(s) required for PHPstorm SilverStripe plugin. - https://groups.google.com/d/msg/silverstripe-dev/d-uaYWg4uSY/Gtc3p3kLAQAJ
4: [03:02:30] * wmk_ has joined #silverstripe
5: [03:09:57] * Firesphere_ has joined #silverstripe
6: [03:09:58] * wmk_ quit (Read error: Connection reset by peer)
7: [03:10:38] * wmk_ has joined #silverstripe
8: [03:11:48] * ss-helper quit (*.net *.split)
9: [03:11:54] * wmk quit (*.net *.split)
10: [03:12:05] * Firesphere quit (*.net *.split)
11: [03:12:07] * Firesphere_ is now known as Firesphere
12: [04:50:28] * wmk_ quit (Ping timeout: 255 seconds)
13: [05:26:37] * wmk_ has joined #silverstripe
14: [05:28:26] * wmk__ has joined #silverstripe
15: [05:31:27] * wmk_ quit (Ping timeout: 240 seconds)
16: [05:59:14] * munk0r has joined #silverstripe
17: [05:59:20] * munk0r is now known as anfo
18: [06:01:18] <anfo> Hi, can anyone recommend a module for block / widget / row+column page composition?
19: [06:10:52] * wmk__ is now known as wmk
20: [06:11:14] <wmk> anfo, there are some around, each with different pros and cons. Didn't use them for some time now
21: [06:12:00] <anfo> right. i've used silverstripe-widgets fairly extensively
22: [06:12:23] <anfo> just curious to know if i'm not missing something
23: [06:13:47] <wmk> there has been some research about some modules, dunno how outdated this is: https://docs.google.com/document/d/1hffZFknysYi6tp55eOk4DzON4pjoEt7Xq4GGD-ZGah0
24: [06:14:16] <wmk> i used the bummzack and nobrainer module, both are ok.
25: [06:14:21] <wmk> Depends on what you need ;)
26: [06:14:22] <anfo> oh wow, thanks
27: [06:41:55] * saiyan quit (Quit: BYE)
28: [07:20:08] * mort has joined #silverstripe
29: [07:23:38] * mort quit (Client Quit)
30: [07:42:15] * TRB143 quit (Remote host closed the connection)
31: [07:47:37] * TRB143 has joined #silverstripe
32: [07:51:07] * kinglozzer has joined #silverstripe
33: [07:57:31] * Shrike_Finland has joined #silverstripe
34: [07:58:39] * Ani_ has joined #silverstripe
35: [07:59:38] <Ani_> Hello, I have two dataobjects Ecards and Category(Ecards have $many_many relation with category and category has $belongs_many_many relation)
36: [08:00:09] <Ani_> I'm trying to search with category on ecards here is the code https://codepaste.net/oggpgk
37: [08:00:32] <Ani_> https://codepaste.net/tckd6o
38: [08:01:14] <Ani_> https://snag.gy/imFUeY.jpg
39: [08:01:39] <Ani_> but, search is not filtering, could you please check the issue
40: [08:08:55] <Ani_> Is any there to help right now thanks
41: [08:27:34] * Shrike_Finland quit (Quit: Leaving.)
42: [09:16:14] <Ani_> I can filter successfully if I use dropdownfield, but doesn't work with multiselectfield
43: [10:05:56] * NETim quit (Ping timeout: 260 seconds)
44: [10:07:14] * NETim has joined #silverstripe
45: [10:09:17] <Ani_> Hello, I've been working hard to resolve that but couldn't solve yet
46: [10:16:28] * Shrike_Finland has joined #silverstripe
47: [10:55:16] * Shrike_Finland quit (Quit: Leaving.)
48: [11:13:08] * NETim_ has joined #silverstripe
49: [11:16:07] * NETim quit (Ping timeout: 255 seconds)
50: [11:17:48] * NETim_ quit (Ping timeout: 260 seconds)
51: [11:24:21] * NETim_ has joined #silverstripe
52: [11:24:44] <Ani_> NETim_: could you help me?
53: [11:24:49] <NETim_> Morning. Any way to get DataObjects and filter by static/config
54: [11:24:49] <NETim_> ?
55: [11:24:50] * DarjusIT has joined #silverstripe
56: [11:24:54] <NETim_> Ani_, what's up?
57: [11:26:26] <Ani_> Good and you
58: [11:26:43] <NETim_> Good. What's the problem you'd like help with?
59: [11:27:52] <Ani_> I have two dataobjects Ecards and Category(Ecards have $many_many relation with category and category has $belongs_many_many
60: [11:27:57] <Ani_> I'm trying to search with category on ecards here is the code https://codepaste.net/oggpgk
61: [11:28:03] <Ani_> https://codepaste.net/tckd6o
62: [11:28:08] <Ani_> https://snag.gy/imFUeY.jpg
63: [11:28:15] <Ani_> but, search is not filtering, could you please check the issue
64: [11:28:51] <NETim_> Is this the relation search to link an ECard to a category?
65: [11:29:12] <Ani_> please check the code and also the screenshot
66: [11:33:03] <NETim_> What does SS give you if you add Category.Name to the $searchable_fields array?
67: [11:34:28] <Ani_> A textfield, but can only search with single category name
68: [11:34:40] <Ani_> I want to use multiselectfield
69: [11:34:45] <Ani_> :(
70: [11:46:40] <NETim_> hm...
71: [11:46:48] <NETim_> Not sure I'm afraid.
72: [11:59:52] <Ani_> could anyone else can help?
73: [12:15:09] <cloph> you should start with explaining why you don't follow the example syntax from the developer documentation.. you likely don't need to touch the serch context at all in your model. if you think you need, you should state so why... https://docs.silverstripe.org/en/3/developer_guides/customising_the_admin_interface/modeladmin/
74: [12:15:18] <cloph> start simple, then go more custom...
75: [12:24:49] * UndefinedOffset has joined #silverstripe
76: [12:25:13] * Shrike_Finland has joined #silverstripe
77: [12:32:08] * Shrike_Finland quit (Ping timeout: 240 seconds)
78: [12:33:53] * Shrike_Finland has joined #silverstripe
79: [12:37:35] * filisko has joined #silverstripe
80: [13:29:29] * MrG_ has joined #silverstripe
81: [13:30:22] <MrG_> Is dot notation for multiple many_many / belongs_many_many posible ?
82: [13:31:58] * ethan_ has joined #silverstripe
83: [13:32:13] * ethan_ quit (Client Quit)
84: [13:34:05] * slievr has joined #silverstripe
85: [13:35:07] <wmk> MrG_, dunno... Sounds like you need to think about your data model
86: [13:38:32] <slievr> Hello, I have a rather strange issue. The LinkForm is not displaying fields, I've looked at the html and the fields are there. Has anyone encountered anything like this befroe?
87: [13:43:10] <MrG_> wmk : i have many customers and many ships Any customer can be interested to buy any ship and also rent any ship. should it not be possible to do that with multiple many_many?
88: [13:44:03] <wmk> you need multiple many_many relations between two dataobjects?
89: [13:44:13] <MrG_> i.e get a list from ship with possible buyers and possible "renters" -
90: [13:44:14] <MrG_> yes
91: [13:44:30] <wmk> ah. Somehow i thought you want to search / filter
92: [13:44:39] <wmk> yes, that's possible
93: [13:45:18] <wmk> $many_many = ['Foo' => 'DataObject.RelationName', 'Bar' => 'DataObject.Other']
94: [13:45:35] <wmk> afaik...
95: [13:45:57] * slievr quit (Ping timeout: 240 seconds)
96: [13:46:11] * slievr has joined #silverstripe
97: [13:50:45] * Shrike_Finland quit (Quit: Leaving.)
98: [13:54:43] <cloph> yeah, should work that way. Ship's many_many → 'Renter' => Customer , 'Buyer' => Customer and reverse on Customer's belongs_many_many would then be 'Rental' => 'Ship.Renter', 'Aqusition' => 'Ship.Customer'
99: [13:54:56] <cloph> MrG_: see e.g. https://docs.silverstripe.org/en/3/developer_guides/model/relations/#many-many
100: [13:55:35] * slievr quit (Ping timeout: 240 seconds)
101: [13:56:16] * slievr has joined #silverstripe
102: [13:57:03] * g4b0 has joined #silverstripe
103: [13:57:08] <g4b0> hi all
104: [13:58:00] <g4b0> does anybody use silverstripe-display-logic succesfully with SS 3.1?
105: [14:03:13] * g4b02 has joined #silverstripe
106: [14:03:48] <g4b02> who
107: [14:04:19] <cloph> no idea what that is, so "no" for me :-)
108: [14:04:51] * g4b0 has left #silverstripe
109: [14:04:57] * g4b02 quit (Client Quit)
110: [14:06:12] * g4b0_ has joined #silverstripe
111: [14:06:15] <g4b0_> https://github.com/unclecheese/silverstripe-display-logic
112: [14:06:37] <g4b0_> I'm using version 1.5, but it seems not working with SS 3.1
113: [14:06:47] <slievr> I've got it running on one of my sites
114: [14:06:59] <g4b0_> which version?
115: [14:07:04] <slievr> giimie a sec
116: [14:07:07] <g4b0_> tnx
117: [14:09:53] <slievr> I have some less than helpful information, it's dev master but an old version of it
118: [14:09:59] <slievr> I'll see if I can get an actual number for oyu
119: [14:10:42] <g4b0_> composer.lock have that information
120: [14:11:09] <g4b0_> I think that "reference"
121: [14:11:17] <g4b0_> is what I'm searching for
122: [14:13:25] <g4b0_> SS 3.1.?
123: [14:14:43] <slievr> 3.1.x-dev
124: [14:14:59] <slievr> got the reference: 051a860ebd65006493a19ce3381f9af3de8be875
125: [14:15:02] <slievr> hope that hleps
126: [14:22:38] <cloph> 1.2 branch of tha module has 3.1.x version in composer, so guess that's your safest bet
127: [14:26:23] <g4b0_> ok, thanks to both
128: [14:26:32] <g4b0_> will try with 1.2
129: [14:30:12] <g4b0_> strange... 1.2.x tags require ^3.2
130: [14:30:17] <cloph> guess this https://github.com/unclecheese/silverstripe-display-logic/pull/74 did break it, and just the commit before that the requirement was relaxed to 3.1 ( https://github.com/unclecheese/silverstripe-display-logic/commit/64b6d9c36f7a9fb40940e331d7e0b2c4f9a59bf5 )
131: [14:31:01] <cloph> oh, did mean branch, not tag, but yeah, interesting
132: [14:31:49] <g4b0_> 1.3.x still needs ^3.2
133: [14:32:28] <g4b0_> the same for 1.4.x
134: [14:32:44] <g4b0_> but 1.4.3 needs ^3.1
135: [14:32:56] <g4b0_> like 1.5.0
136: [14:33:25] <cloph> no idea how his release process works..
137: [14:35:23] <g4b0_> unfortunately unclecheese isn't on irc anymore...
138: [14:36:16] <g4b0_> in the far 2013/14 he would answer to the question :)
139: [14:36:31] <cloph> :-)
140: [14:39:20] <g4b0_> I will try version (tag) 1.0.8
141: [14:39:27] <g4b0_> it seems old enough
142: [14:41:29] <cloph> unnecessarily old though. I'd likely use https://github.com/unclecheese/silverstripe-display-logic/commit/64b6d9c36f7a9fb40940e331d7e0b2c4f9a59bf5
143: [14:43:11] * UndefinedOffset quit (Quit: Leaving.)
144: [14:43:17] <g4b0_> mmm
145: [14:43:27] <g4b0_> it seems to be the version tagged 1.5.0
146: [14:43:49] <g4b0_> it's the one I'm using right now
147: [14:45:37] <cloph> nope, 1.5.0 contains more than that, notably the one linked above already with the warning that it might break 3.1 compat
148: [14:45:43] <cloph> https://github.com/unclecheese/silverstripe-display-logic/commits/1.5.0
149: [14:45:47] <g4b0_> yep
150: [14:45:57] <g4b0_> I was reading right now the same commit :)
151: [14:46:13] <cloph> :-)
152: [14:46:54] * slievr quit (Ping timeout: 240 seconds)
153: [14:47:06] * slievr_ has joined #silverstripe
154: [14:48:11] <g4b0_> ok, I found it
155: [14:48:21] <g4b0_> 1.4.3 should do the trik
156: [14:48:44] <cloph> well, you can also just revert that javascript change
157: [14:49:05] <g4b0_> I'd prefer to work with composer
158: [14:49:26] <cloph> IIRC there is a way to have composer apply a patch
159: [14:50:19] <g4b0_> intresting
160: [14:51:07] <cloph> thinking harder I think it was yet another composer module that could do it
161: [14:51:55] <g4b0_> do it -> what?
162: [14:52:02] <g4b0_> apply a patch
163: [14:52:11] <g4b0_> or display-logic?
164: [14:53:45] <cloph> kinglozzer pointed me/the guy having a similar issue to https://github.com/netresearch/composer-patches-plugin last year
165: [14:54:41] <cloph> FYI: https://silverstripe.logged.nz/index.php?date=2016-10-27#log_1903947
166: [14:55:40] <g4b0_> wow
167: [15:00:41] * g4b0_ quit (Ping timeout: 268 seconds)
168: [15:02:45] * g4b0_ has joined #silverstripe
169: [15:02:55] <g4b0_> 1.4.3 still not working
170: [15:03:05] <g4b0_> 1.0.8 is working
171: [15:03:21] <g4b0_> maybe something in the middle should work
172: [15:03:35] <g4b0_> but I need a really basic functionality
173: [15:03:47] <g4b0_> I hope I will be good with 1.0.8
174: [15:05:23] <cloph> I guess instead of going back so far I'd have forked it and tweak that :-)
175: [15:05:36] <g4b0_> ahah, no time for that
176: [15:06:03] <g4b0_> the project is a 3.1.x
177: [15:06:27] <g4b0_> so a module from 2014 is good enough :D
178: [15:08:07] * Shrike_Finland has joined #silverstripe
179: [15:17:08] * slievr_ quit (Ping timeout: 240 seconds)
180: [15:17:28] * NETim_ quit (Quit: Leaving)
181: [15:17:29] * slievr_ has joined #silverstripe
182: [15:20:22] * NETim has joined #silverstripe
183: [15:26:04] * g4b0_ has reached the end of the day
184: [15:26:12] <g4b0_> goodbye to everybody
185: [15:26:21] <g4b0_> and thanks for your help
186: [15:29:48] * UndefinedOffset has joined #silverstripe
187: [15:32:03] * g4b0_ quit (Quit: Leaving)
188: [15:36:30] * Shrike_Finland quit (Quit: Leaving.)
189: [16:05:25] * UndefinedOffset quit (Quit: Leaving.)
190: [16:07:04] * UndefinedOffset has joined #silverstripe
191: [16:10:18] * slievr_ is now known as silevr_afk
192: [16:14:09] * Ani_ quit (Ping timeout: 260 seconds)
193: [16:35:54] * kinglozzer quit ()
194: [16:46:14] * MrG_ quit (Ping timeout: 260 seconds)
195: [16:57:55] * slievr has joined #silverstripe
196: [16:58:28] * silevr_afk quit (Ping timeout: 268 seconds)
197: [17:01:36] * DimiStripe quit (Quit: DimiStripe)
198: [17:02:01] * DimiStripe has joined #silverstripe
199: [17:10:48] * slievr quit (Ping timeout: 268 seconds)
200: [17:11:14] * slievr has joined #silverstripe
201: [17:11:15] * slievr is now known as silevr_afk
202: [17:20:28] * wmk quit (Ping timeout: 240 seconds)
203: [17:23:46] * wmk has joined #silverstripe
204: [19:50:09] * UndefinedOffset quit (Quit: Leaving.)
205: [19:52:59] * wmk quit (Ping timeout: 268 seconds)
206: [20:15:51] * UndefinedOffset has joined #silverstripe
207: [21:03:55] * UndefinedOffset quit (Quit: Leaving.)
208: [21:54:13] * gelignite has joined #silverstripe
209: [22:03:22] * filisko quit (Remote host closed the connection)
210: [22:52:23] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
211: [23:46:39] * slievr has joined #silverstripe
212: [23:46:55] * DarjusIT quit (Read error: Connection reset by peer)
213: [23:47:19] * silevr_afk quit (Ping timeout: 268 seconds)

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