#silverstripe IRC Log

IRC log for 27 April 2016

All timestamps are in UTC.

1: [00:00:02] * ss-helper quit (Remote host closed the connection)
2: [00:00:16] * ss-helper has joined #silverstripe
3: [00:02:37] * saysora has joined #silverstripe
4: [00:03:22] * BrewNaked quit (Remote host closed the connection)
5: [00:14:05] * saysora quit (Quit: Leaving)
6: [00:14:52] * saysora has joined #silverstripe
7: [00:15:03] <ss-helper> JS Unexpected token error in silverstripe-module yeoman generator - http://stackoverflow.com/questions/36475624/js-unexpected-token-error-in-silverstripe-module-yeoman-generator
8: [00:15:20] <saysora> Is there a good way to use static publisher for a dataobject loop to produce a feed?
9: [00:18:07] * saysora quit (Client Quit)
10: [00:18:29] * saysora has joined #silverstripe
11: [00:18:57] * ^pH quit (Ping timeout: 240 seconds)
12: [00:20:36] * saysora quit (Client Quit)
13: [00:51:25] * Stomach quit (Quit: zzz)
14: [00:53:56] * micmania1 quit (Quit: micmania1)
15: [01:12:54] * ^pH has joined #silverstripe
16: [01:25:31] * micmania1 has joined #silverstripe
17: [01:26:12] * Stomach has joined #silverstripe
18: [01:52:13] * BrewNaked has joined #silverstripe
19: [01:56:45] * BrewNaked quit (Ping timeout: 250 seconds)
20: [01:58:13] * novaweb_ quit (Remote host closed the connection)
21: [02:35:45] * Stomach quit (Ping timeout: 250 seconds)
22: [02:38:43] * Stomach has joined #silverstripe
23: [02:40:09] * micmania1 quit (Quit: micmania1)
24: [02:41:22] <Admonish> I was reading through the modelAdmin code and found that for each of the managed model (array) key value pairs there is $forms->push(new ArrayData(...));
25: [02:41:51] <Admonish> This is the only code I can attribute with the creation of the tabs for the modelAdmin
26: [02:42:04] * Stomach quit (Client Quit)
27: [02:42:16] * novaweb has joined #silverstripe
28: [02:42:31] <Admonish> so my question is, what does ArrayData display by defualt?
29: [02:43:11] <Admonish> I know its a child of ViewableData
30: [02:43:22] * Stomach has joined #silverstripe
31: [02:44:11] * novaweb_ has joined #silverstripe
32: [02:47:49] * novaweb quit (Ping timeout: 260 seconds)
33: [03:10:20] <Admonish> Stomach Do you happen to know if modelAdmin adds in tab functionality or if its build directly into LeftAndMain?
34: [03:10:30] * adrexia quit (Quit: My Mac has gone to sleep. ZZZzzz…)
35: [03:11:08] <Stomach> its in LeftAndMain
36: [03:11:35] <Stomach> LeftAndMain::MainMenu() is where it comes from
37: [03:14:27] <Admonish> Stomach Thanks :D
38: [03:15:02] <Stomach> :)
39: [03:17:01] <Admonish> Stomach Do you happen to know where in the LeftAndMain.php file that it adds it? I searched for the word tab and couldn't find any creations of tab instances (or tabsets)
40: [03:17:16] <Stomach> oh you mean the actual tabs for the admin?
41: [03:17:26] <Stomach> like 'MyObjectOne" and "MyObjectTwo" ?
42: [03:17:37] <Stomach> and then they are in the model admin up the top?
43: [03:18:18] <Admonish> yea
44: [03:18:21] <Admonish> yeah*
45: [03:19:19] <Admonish> I know that the data for the tab titles and such is in the modelAdmin itself (or at least part of it) but I dont see where its using that data to create actual tabs
46: [03:22:20] <Admonish> Stomach I have to go eat some dinner so I will be AFK but if you fint the answer out while im gone please feel free to pist it and I will read it when I return. Sorry about the bad timing :(
47: [03:22:29] * Admonish quit (Quit: Going offline, see ya! (www.adiirc.com))
48: [03:33:29] <Hailwood> Hey folks, this pull request has been merged, anyone know when a release with it in will be published? Anyone using SS3.3 and SS-shop's sites are currently broken until this is released https://github.com/silverstripe/silverstripe-framework/pull/5218
49: [03:35:58] <Hailwood> It was merged into the 3.3 branch, so presumably the next release, but the best information I can get for when that would be is "No due date" based on the milestones https://github.com/silverstripe/silverstripe-framework/milestones
50: [03:41:10] * BrewNaked has joined #silverstripe
51: [03:45:33] * BrewNaked quit (Ping timeout: 246 seconds)
52: [03:48:48] <Hailwood> anyone @silverstripe?
53: [03:55:47] * Phlunk3 quit (Remote host closed the connection)
54: [04:04:13] * micmania1 has joined #silverstripe
55: [04:04:38] * Admonish has joined #silverstripe
56: [04:06:00] <Admonish> Stomach Im back. I might have missed your answer (not sure) my IRC client logged out
57: [04:10:02] <Stomach> @Hailwood there is a security release happening soon, it might get bundled in that
58: [04:10:13] <Stomach> Admonish - sorry I didn't end up looking
59: [04:14:09] <Admonish> Stomach Np :D
60: [04:14:27] <Stomach> will if I get time shortly!
61: [04:16:00] <Admonish> I appreciate that.
62: [04:16:25] * spronk quit (Quit: I may need a longer sleep timer...)
63: [04:18:03] * novaweb_ quit (Remote host closed the connection)
64: [04:27:00] * muskie9 has joined #silverstripe
65: [04:30:51] * adrexia has joined #silverstripe
66: [04:42:06] * spronk has joined #silverstripe
67: [04:56:14] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
68: [05:13:51] * micmania1 quit (Quit: micmania1)
69: [05:27:56] * Hailwood quit (Remote host closed the connection)
70: [05:29:57] * BrewNaked has joined #silverstripe
71: [05:33:45] * UncleCheese has joined #silverstripe
72: [05:34:17] * BrewNaked quit (Ping timeout: 250 seconds)
73: [05:39:50] * Stomach quit (Ping timeout: 276 seconds)
74: [06:16:38] * adrexia quit (Quit: My Mac has gone to sleep. ZZZzzz…)
75: [06:17:45] * spronk quit (Quit: bleep bleep bloop bloop)
76: [06:17:53] * marvanni has joined #silverstripe
77: [06:19:02] * wmk has joined #silverstripe
78: [06:19:31] * spronk has joined #silverstripe
79: [06:21:10] * Liquide quit ()
80: [06:22:51] <wmk> more ning! (whatever ning might be)
81: [06:26:14] <Admonish> lol
82: [06:29:17] * ^pH quit (Ping timeout: 240 seconds)
83: [06:54:41] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
84: [06:57:29] <marvanni> I remember that there is a Content template sctructure like Layout. but I cant find it?
85: [06:59:10] * swaiba has joined #silverstripe
86: [06:59:46] <wmk> marvanni, ??
87: [06:59:59] * wmk gives more ning to swaiba
88: [07:00:29] <marvanni> Like we have a Layout folder in templates
89: [07:00:37] <wmk> yup. we have
90: [07:00:37] * swaiba is puzzled by "ning", but glady accepts :)
91: [07:00:37] <marvanni> you can have a Content folder in templates
92: [07:01:00] <wmk> well, we have "Layout" for pages / page_controller stuff
93: [07:01:06] <wmk> and Include for includes
94: [07:01:21] <wmk> but if you want to overwrite something from a module, you need to place it in the same path like the module.
95: [07:01:41] <wmk> so when in the module it's directly in templates/, you have to pollute your theme's templates/ folder :(
96: [07:03:33] <marvanni> i know that
97: [07:05:49] <marvanni> Ah, this is what i was looking for :
98: [07:06:06] <marvanni> In addition to a full template in the templates/ folder, a template in
99: [07:06:06] <marvanni> templates/Content or templates/Layout will be rendered into $Content and
100: [07:06:07] <marvanni> $Layout, respectively
101: [07:06:18] <marvanni> but it is not in the online documentation
102: [07:11:21] <marvanni> but it does not work either
103: [07:18:50] * BrewNaked has joined #silverstripe
104: [07:20:01] * Admonish quit (Ping timeout: 244 seconds)
105: [07:20:28] * novaweb has joined #silverstripe
106: [07:23:15] * BrewNaked quit (Ping timeout: 246 seconds)
107: [07:23:55] <wmk> marvanni, you have to flush when you add new templates to your theme or module
108: [07:24:16] <wmk> marvanni, please explain a bit more "what" is not working
109: [07:32:37] <marvanni> to have templates/Content/Page.ss replace the $Content in templates/Layout/Page.ss
110: [07:37:18] * novaweb quit (Ping timeout: 276 seconds)
111: [07:39:29] * Agilix_ has joined #silverstripe
112: [07:39:38] <Agilix_> Morning o/
113: [07:45:53] * novaweb has joined #silverstripe
114: [07:46:56] <swaiba> \o Agilix_ novaweb
115: [07:48:13] * novaweb_ has joined #silverstripe
116: [07:48:18] * novaweb quit (Read error: Connection reset by peer)
117: [07:49:59] * novaweb has joined #silverstripe
118: [07:52:35] * novaweb_ quit (Ping timeout: 250 seconds)
119: [07:58:22] * DarjusIT has joined #silverstripe
120: [08:00:43] * kinglozzer has joined #silverstripe
121: [08:06:41] * slievr_ has joined #silverstripe
122: [08:14:17] * slievr_ is now known as slievr
123: [08:27:42] * Stomach has joined #silverstripe
124: [08:31:45] <wmk> marvanni, ah, then you need a getContent() method in your controller - but be aware, it might conflict with $Content saved in DB
125: [08:32:23] <marvanni> thats too hacky for a simple change for me :)
126: [08:32:35] <marvanni> i stay with the layouts for now
127: [08:32:38] <marvanni> thanks
128: [08:32:47] <wmk> well, a variable in a template references to a method or a variable
129: [08:34:02] <marvanni> but Page has $Content in db
130: [08:34:33] <marvanni> so i can imagine ss has a hard time to figure out if it needs to render a template or the $Content from db
131: [08:34:47] <marvanni> and what with the $Content in the Content tempalte
132: [08:35:15] <marvanni> that will probably never work, but maybe I misunderstand the feature
133: [08:35:26] <wmk> well, you mix up $Layout and $Content
134: [08:35:33] * Stomach quit (Read error: Connection reset by peer)
135: [08:36:13] <marvanni> I have a rather complex Content part withing Layout, so I was hoping to move that to a Content template.
136: [08:38:50] <wmk> you can include any template
137: [08:38:57] <wmk> <% include MyTemplateName %>
138: [08:39:48] <marvanni> yes. but that wont inherit
139: [08:39:56] * eightythree has joined #silverstripe
140: [08:40:32] * novaweb quit (Ping timeout: 276 seconds)
141: [08:40:35] <eightythree> Hello
142: [08:40:52] * Teddy_ has joined #silverstripe
143: [08:42:46] <eightythree> I'm looking for help with search functionality. Is there any good tutorial how to use solr and fulltextsearch module for SilverStripe?
144: [08:43:33] <eightythree> After hit search button I get that generic welcome page, and I don't know why
145: [08:44:12] <wmk> phew.. siverstripe and search... a hard topic. There is an elasicsearch module around if you're interested, eightythree
146: [08:44:56] * Stomach has joined #silverstripe
147: [08:44:58] <wmk> marvanni, templates won't inherit? You can when looping over Dataobjects just use $Me and the DO will render itself (calls forTemplate(), there you can tell the DO which template to use)
148: [08:45:04] <marvanni> yes. go elastic search
149: [08:45:08] <eightythree> How come so common funcionality as search is so difficult to implement with SS?
150: [08:45:27] * Stomach quit (Read error: Connection reset by peer)
151: [08:45:27] <wmk> eightythree, cause mysql fulltext is not the best search engine?
152: [08:45:32] <marvanni> because good search is hard. ask google
153: [08:45:38] <eightythree> @wmk oh, ok
154: [08:45:43] <wmk> and it's very individual, depends on your model
155: [08:45:54] <marvanni> and within SS you just dont know the database structure upfront besides the pages
156: [08:45:56] <wmk> for simple search i also used searchabledataobjects module, it's nice
157: [08:46:10] <eightythree> @wmk about elasticsearch...shouldn't I have server for that?
158: [08:46:18] <wmk> it saves the searchable content in an extra search table
159: [08:46:28] <wmk> eightythree, you should have a server for solr also..?
160: [08:46:31] <eightythree> I mean thirparty soft
161: [08:46:49] <marvanni> yes
162: [08:46:57] <wmk> eightythree, https://packagist.org/packages/zirak/searchable-dataobjects is nice for simpler stuff.
163: [08:47:02] <marvanni> these instructions are very good https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-elasticsearch-on-ubuntu-14-04
164: [08:47:13] <marvanni> but it requires some effort
165: [08:47:27] <marvanni> i think the searchable do is a better start for simple search
166: [08:47:34] <wmk> someone should make elastic as a service...
167: [08:47:50] <wmk> but then you can buy google search for your homepage...
168: [08:48:37] <eightythree> I see
169: [08:49:06] <marvanni> there is
170: [08:49:13] <wmk> eightythree, on 3.3. it seems to have an issue with indexes, so be aware when you run deb/build all the time...
171: [08:49:30] <wmk> https://github.com/g4b0/silverstripe-searchable-dataobjects/issues/36
172: [08:50:23] <eightythree> Ok, thanks for great insights, I appreciated it
173: [08:51:17] <eightythree> Oh, is there a way to customize that search from SS lessons to get my result in result page?
174: [08:51:19] <eightythree> That
175: [08:51:19] * Stomach has joined #silverstripe
176: [08:51:29] <wmk> did you
177: [08:51:33] <wmk> !flush eightythree
178: [08:51:33] <ss-helper> eightythree: Have you flushed? Try doing a ?flush=all and /dev/build then see if it's sorted. Do it twice for good measure ;-)
179: [08:51:46] * Stomach quit (Client Quit)
180: [08:52:20] <eightythree> I'm always flushing couple of times ... for good measure ;)
181: [08:53:28] <eightythree> Ok, thanks guys I'll check that info of yours :) It's been a pleasure, hope I make it working it's a milestone in my project
182: [08:55:17] <eightythree> Btw, I love SilverStripe but isn't bit lame that such common funcionality as search is too hard to implement in project? Shame there isn't a good tutorial, I mean step by step with explamantions and everything.
183: [08:56:08] * Stomach has joined #silverstripe
184: [08:56:48] <marvanni> Its not THAT hard…
185: [08:56:57] <marvanni> Forms are harder
186: [08:57:07] <marvanni> and joins
187: [08:57:10] <eightythree> For example how to enable indexing ... I'm designer/front-end developer myself and it's preety hard to me to get usefull informations :(
188: [08:57:36] <eightythree> Or informations that I can actually use
189: [08:57:56] <wmk> marvanni, Forms are not that hard. and you get used to join when it doesn't work automatically
190: [08:58:12] <eightythree> Those SS lessons are great, they should continue that
191: [08:58:22] <wmk> eightythree, do you have a single language site?
192: [08:58:55] <marvanni> Simple forms not. but as soon as you need a little more advacned that average silverstripe forms are hard
193: [08:59:10] <eightythree> Bilanguage, but I don't have translation for second language lol
194: [08:59:23] <eightythree> @wmk why?
195: [08:59:26] <marvanni> and select a field from a joined table as an alias is impossible wihtout subclassing datalist
196: [08:59:44] <eightythree> Is there a good solution for single language site?
197: [08:59:48] <wmk> well, that zirak module works fine with one language, i guess it also works good with translatable
198: [08:59:52] <marvanni> which is fixed in 4 btw
199: [09:01:55] * Stomach quit (Read error: No route to host)
200: [09:01:56] <eightythree> I'll check that out
201: [09:02:18] <eightythree> For now any working solution will be great solution lol
202: [09:03:37] <eightythree> I've tried this too http://stackoverflow.com/questions/14483880/silverstripe-dataobject-searchable but I've got "1 Argument" error
203: [09:06:56] <wmk> can you paste the error eightythree ?
204: [09:06:59] <wmk> !paste eightythree
205: [09:06:59] <ss-helper> eightythree: 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.
206: [09:07:06] <wmk> ss-helper, i love you ;)
207: [09:07:42] * BrewNaked has joined #silverstripe
208: [09:08:37] * spronk quit (Max SendQ exceeded)
209: [09:08:44] <eightythree> @wmk sorry I can't. I'm in work now ;/ I'll be in home for about 5 hours and then I can provide more information ;/
210: [09:09:40] * Stomach has joined #silverstripe
211: [09:09:40] <wmk> ;)
212: [09:11:11] <eightythree> yea ;)
213: [09:12:08] * BrewNaked quit (Ping timeout: 244 seconds)
214: [09:12:18] <eightythree> So, I'll try solutions you posted here and then I'll log in here, maybe you'll be online too
215: [09:12:33] <eightythree> Or maybe we exchange e-mails?
216: [09:12:54] <eightythree> If you have time of course ;)
217: [09:13:05] * Stomach quit (Client Quit)
218: [09:14:04] <eightythree> Or I could post that issue on SS forums
219: [09:14:14] <eightythree> Possibilites are endless lol
220: [09:16:24] <eightythree> Anyways thanks for your time and help, I need to get back to work ;) Cheers
221: [09:20:04] * agent44 has joined #silverstripe
222: [09:29:35] <Agilix_> so...many...blocks
223: [09:29:45] <Agilix_> Don't know what to call my new ones anymore :p
224: [09:32:37] <wmk> NewBlock...?
225: [09:33:08] <marvanni> is there another way to do a groupby that I dont know ?
226: [09:33:09] <marvanni> https://github.com/silverstripe/silverstripe-framework/issues/3262
227: [09:52:46] <swaiba> Agilix_ NewKidsOnTheSilverStripeBlock ?
228: [10:00:33] <Agilix_> :p
229: [10:04:03] * agent44 quit (Quit: agent44)
230: [10:08:00] * agent44 has joined #silverstripe
231: [10:43:09] <wmk> swaiba, Agilix_ BlocksAndRoses?
232: [10:43:26] <wmk> HerbieHanblock
233: [10:43:38] <swaiba> SilverStripeBlockParty
234: [10:45:13] <ss-helper> SilverStripe Fluent automatic translation behaviour - http://stackoverflow.com/questions/36887328/silverstripe-fluent-automatic-translation-behaviour
235: [10:52:31] * slievr_ has joined #silverstripe
236: [10:53:43] * slievr quit (Ping timeout: 250 seconds)
237: [10:56:39] * BrewNaked has joined #silverstripe
238: [11:00:18] * MichalKleiner quit ()
239: [11:01:05] * BrewNaked quit (Ping timeout: 250 seconds)
240: [11:23:22] * r3v3rb has joined #silverstripe
241: [11:25:43] <r3v3rb> hi all
242: [11:25:59] <r3v3rb> having fun fun fun with htaccess again :D
243: [11:26:21] <r3v3rb> need: site.co.nz goes to main.com/nz whereas all other requests need to end up at main.com/us
244: [11:26:35] <cloph> r3v3rb: use nginx, then no messing around with .htaccess anymore :-P
245: [11:26:55] <r3v3rb> cloph: maybe I’ll hit it up with next server upgrade
246: [11:27:36] <cloph> that is something I'd do in the vhost definition with both apache or nginx
247: [11:30:07] <r3v3rb> cloph: yeh? never thought of that, always hacked around with htaccess instead
248: [11:31:05] <cloph> checking for domain name is ugly in htaccess, at least with all the fallback rules I tend to mess up and create loops :-)
249: [11:31:39] <r3v3rb> :D
250: [11:46:23] <r3v3rb> fixed it
251: [11:49:05] <wmk> cloph, no htaccess, but other config fun
252: [11:49:30] <wmk> anyone managed to run livereload on a nginx vagrant box? i cannot connect from my browsers to the VM
253: [11:56:14] <r3v3rb> kinglozzer: have you been looking at my website from a github link?
254: [11:56:21] * r3v3rb has left #silverstripe
255: [11:56:29] * r3v3rb has joined #silverstripe
256: [11:56:33] <r3v3rb> poops!
257: [12:33:24] * UndefinedOffset has joined #silverstripe
258: [12:44:41] <kinglozzer> r3v3rb: Nope
259: [12:45:28] * BrewNaked has joined #silverstripe
260: [12:47:28] * marvanni quit (Quit: marvanni)
261: [12:50:36] * BrewNaked quit (Ping timeout: 276 seconds)
262: [12:53:48] * marvanni has joined #silverstripe
263: [13:09:20] * marvanni quit (Quit: marvanni)
264: [13:10:49] * marvanni has joined #silverstripe
265: [13:12:50] * eightythree quit (Quit: Page closed)
266: [13:13:42] * marvanni quit (Client Quit)
267: [13:16:02] * marvanni has joined #silverstripe
268: [13:19:10] * ^pH has joined #silverstripe
269: [13:24:27] * x4j5 has joined #silverstripe
270: [13:28:58] <r3v3rb> dang nabbit, who’s been viewing my stuff in Norwich!
271: [13:29:04] <r3v3rb> kinglozzer: ^^
272: [13:29:17] <r3v3rb> if its not you - who who who else uses SS up there!
273: [13:30:32] * marvanni quit (Quit: marvanni)
274: [13:32:02] <kinglozzer> r3v3rb: I think there are a few agencies round our way that do
275: [13:32:07] <kinglozzer> It may have been me and I just forgot :P
276: [13:32:48] <r3v3rb> hehe, I’m up on Saturday, make surethe weather is nice for me will you!
277: [13:33:16] <kinglozzer> I'll try!
278: [13:34:55] <r3v3rb> ta, you have a big match saturday then at the emirates… you need a win
279: [13:39:24] * x4j5 quit (Ping timeout: 260 seconds)
280: [13:49:36] <kinglozzer> r3v3rb: Aye, I'm going
281: [13:49:49] <kinglozzer> Might be the last chance I get to see Norwich play there for a while... :P
282: [13:50:18] * Agilix_ quit (Ping timeout: 250 seconds)
283: [13:51:15] <r3v3rb> :( mebbe
284: [13:51:40] <r3v3rb> then again look at Leicester - nowhere to top of the league in a season
285: [13:52:51] <kinglozzer> mmm, I can dream
286: [13:54:25] * muskie9 has joined #silverstripe
287: [14:01:11] * marvanni has joined #silverstripe
288: [14:10:23] <r3v3rb> LP
289: [14:10:25] <r3v3rb> :P even
290: [14:12:17] <wmk> oh, network error, putty crashed... my collegue: what? Putin crashed?
291: [14:28:43] * marvanni quit (Quit: marvanni)
292: [14:34:17] * Mike123 has joined #silverstripe
293: [14:34:19] * BrewNaked has joined #silverstripe
294: [14:39:07] * BrewNaked quit (Ping timeout: 260 seconds)
295: [15:00:42] * ^pH quit (Read error: Connection reset by peer)
296: [15:09:39] * BrewNaked has joined #silverstripe
297: [15:23:02] * Mike123 quit (Ping timeout: 250 seconds)
298: [15:24:35] * UncleCheese has joined #silverstripe
299: [15:25:22] * Werner_2_ has joined #silverstripe
300: [15:28:40] * wmk quit (Ping timeout: 252 seconds)
301: [15:28:56] * UncleCheese quit (Client Quit)
302: [15:45:13] * Werner_2_ is now known as wmk
303: [15:46:17] * UncleCheese has joined #silverstripe
304: [15:48:30] <r3v3rb> morning UncleCheese
305: [15:48:47] <UncleCheese> hi
306: [15:48:59] <r3v3rb> does your modeladmin hacking two part document hold true for 3.3.1?
307: [15:49:10] <UncleCheese> modeladmin hacking?
308: [15:49:31] <r3v3rb> you ran an article about extending modeladmin a couple of years ago
309: [15:49:57] <UncleCheese> for 2.4?
310: [15:50:16] <r3v3rb> i can’t remember now, i’m just looking for it
311: [15:50:28] <UncleCheese> do you remember what it did?
312: [15:51:09] <r3v3rb> ugh, http://www.leftandmain.com/ gone
313: [15:51:19] <r3v3rb> :(
314: [15:51:35] <r3v3rb> way back here i come
315: [15:53:57] <r3v3rb> << https://web.archive.org/web/20121017064114/http://www.leftandmain.com/uncategorized/2011/02/25/taming-the-beast-remodeling-modeladmin/
316: [15:54:04] <r3v3rb> I’m gussing its 2.4 mainly
317: [15:55:38] <muskie9> would that stuff be in versioned dataobjects? looks like it's mainly versioning
318: [15:56:32] <r3v3rb> muskie9: arhh, probably - I seem to think it was more to do with changing modeladmin but maybe I remember incorrectly
319: [15:58:35] <muskie9> I think there was a follow up article possibly
320: [16:00:37] * eightythree has joined #silverstripe
321: [16:03:08] <muskie9> here's the part 2 https://web.archive.org/web/20121029165749/http://www.leftandmain.com/silverstripe-tutorials/2011/03/15/taming-the-beast-remodeling-modeladmin-part-2/
322: [16:10:00] <wmk> afaik most of the hacks are obsolete now, aren't they. r3v3rb what do you want to do? manage pages?
323: [16:13:00] <r3v3rb> wmk, much more :D
324: [16:23:51] <kinglozzer> r3v3rb: If it's entirely custom, most people take inspiration from SecurityAdmin and the dashboard module
325: [16:30:46] * kinglozzer quit (Quit: home time!)
326: [16:35:34] * Teddy_ quit (Ping timeout: 240 seconds)
327: [16:38:40] <r3v3rb> ok, kinglozzer
328: [16:53:49] * slievr_ quit (Ping timeout: 250 seconds)
329: [16:58:52] * agent44 quit (Quit: zzz)
330: [16:59:42] <eightythree> hi there, could someone help with https://packagist.org/packages/zirak/searchable-dataobjects to get this work? I've installed module and did exact as Installation note says, but I get no results just generic welcome page from silverstripe
331: [17:03:01] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
332: [17:05:54] * UncleCheese has joined #silverstripe
333: [17:05:57] * slievr_ has joined #silverstripe
334: [17:06:20] <eightythree> Here's my DataObject: http://kopy.io/I0BO3 , HolderPage: http://kopy.io/fRV8E , part of config.yml: http://kopy.io/Cz7hn
335: [17:06:34] <eightythree> In template.ss it's just $SearchForm
336: [17:08:42] <muskie9> eightythree you ran dev/build and dev/tasks/PopulateSearch as well?
337: [17:09:23] <eightythree> Yes
338: [17:09:58] <eightythree> I don't know what to do
339: [17:10:04] * wmk quit (Ping timeout: 240 seconds)
340: [17:10:15] <muskie9> I'm not sure you need to apply the extension to the holder page... the example has page as it combines Page class results with DataObject class type results (or their dependents) if that makes sense
341: [17:11:45] <eightythree> Ok, i'll check that
342: [17:11:54] <eightythree> You mean in config.yml right?
343: [17:12:07] <muskie9> yes
344: [17:12:38] <muskie9> it might be erroring since you applied the extension, but your holder page doesn't have the getTitleFields() or getContentFields() like your DO has
345: [17:13:13] <eightythree> Should I make dev/tasks/PopulateSearch again?
346: [17:13:27] <muskie9> after a dev/build?flush=all yes
347: [17:13:31] * krofek_ quit (Quit: Leaving)
348: [17:13:52] * krofek has joined #silverstripe
349: [17:14:29] <eightythree> Nope .. it's just "Welcome to SilverStripe! This is the default homepage. You can edit this page by opening the CMS." yada yada yada
350: [17:15:56] <muskie9> that's what you get after running a search?
351: [17:16:08] <eightythree> Yes
352: [17:16:36] <muskie9> what's the url segment (i.e. /home/results)
353: [17:16:55] <muskie9> ** after you run the search
354: [17:16:58] <eightythree> http://localhost/Alpinus/home/SearchForm?Search=dezynfekcja&action_results=Go
355: [17:17:33] <muskie9> do you have a Page_results.ss layout in your theme? if you're using simple it's likely in there
356: [17:18:17] <eightythree> Yea I have it, since i'm usimg custom template i've copied all content from simple template
357: [17:20:31] <eightythree> I don't know if you've noticed but I have different code in holderpage controller
358: [17:21:25] <muskie9> yes, saw that... so to view an item it'd be /your-holder-page/show/id-number
359: [17:21:34] <eightythree> Indeed
360: [17:22:12] <muskie9> have you checked if the new table that holds the searchable records (created by the searchable data objects module) has data in it?
361: [17:22:49] <eightythree> Umm, give me a sec I'll check that
362: [17:29:04] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
363: [17:29:56] <eightythree> Ok, it's only SearchableDataObjects there
364: [17:30:32] <muskie9> as long as there's data then we know it's populating the table at least
365: [17:30:34] <eightythree> It's form different module isn't it?
366: [17:30:38] <eightythree> Oh
367: [17:31:27] <muskie9> create a SearchPage maybe... that page type is included in the module I think
368: [17:32:28] <muskie9> although the extension applied to ContentController by the module should allow you to use $SearchForm from any page type
369: [17:34:10] * UncleCheese has joined #silverstripe
370: [17:34:29] <eightythree> Done, still no results although no more default welcome page
371: [17:40:30] <muskie9> do you have the site in dev mode with error reporting turned on?
372: [17:40:47] <muskie9> wondering if there'd be an error but might not be showing if in live mode
373: [17:41:38] <eightythree> Director::set_environment_type("dev"); check
374: [17:43:52] <eightythree> You know what, I think the SearchableDataObjects in DB is leftovers from FulltextSearchable
375: [17:44:36] <muskie9> that table is created by the module... the data in it is updated (added, deleted) when the task is run
376: [17:45:28] <eightythree> I see
377: [17:46:17] <eightythree> Why it's so hard lol. It's the last thing to end my project ... fraking search funcionality ...
378: [17:47:32] <muskie9> I used it a few months ago and it took me a while to get it fully integrated and working... but I had some additional filter checks for the objects as not all the values were stored but calculated...
379: [17:49:42] <eightythree> Ok, maybe there is a different way http://kopy.io/JmGGt
380: [17:49:58] <eightythree> This is the code from SS lesson about search/filter content
381: [17:50:56] <eightythree> And the function was working but I couldn't get my results into external SerachPage
382: [17:51:15] <eightythree> Is tehre an easy way to do this with this code?
383: [17:51:18] <muskie9> you could do that, the code posted though will only query the Page page types, so your data objects won't be included
384: [17:55:24] <eightythree> There is another module to dataobject search and it seems easer to implement, maybe those two can work at the same time, what do you think?
385: [17:55:42] <eightythree> It's my last option
386: [17:56:34] <eightythree> another module = https://github.com/i-lateral/silverstripe-searchable
387: [17:59:07] <muskie9> that could be worth trying... although you should remove the other module first I think so there's no crossover
388: [18:01:01] <eightythree> Ok I'll try that then :) Could you only help me with taht results on external page? I think i need to change this 'Results' => $elements but no idea what's next
389: [18:03:42] * UndefinedOffset quit (Quit: Leaving.)
390: [18:05:06] <muskie9> there are templates/layouts included in the modules, and I think the results should be handled automatically if you have everything setup properly per the usage in the README https://github.com/i-lateral/silverstripe-searchable#usage
391: [18:05:25] <muskie9> I've never used that particular module, so I'm not 100% sure on that
392: [18:07:27] <eightythree> Ok muskie9, thank you for your time hope I get this to work
393: [18:08:06] <muskie9> no problem, I'll have to try that second module sometime and compare the two
394: [18:08:19] <eightythree> Great :)
395: [18:10:56] * neomang has joined #silverstripe
396: [18:37:20] * UndefinedOffset has joined #silverstripe
397: [18:37:21] * gelignite has joined #silverstripe
398: [18:41:23] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
399: [18:46:26] <eightythree> @muskie9 are you still here?
400: [18:50:45] <eightythree> Module https://github.com/i-lateral/silverstripe-searchable is working :) I got results which is nice :) I just wanted to my results display always on SearchPage is that will be a hard thing to do?
401: [18:51:13] <eightythree> Now i get unstyled page
402: [18:55:01] <muskie9> I think you would set the custom controller in that case https://github.com/i-lateral/silverstripe-searchable#custom-results-controller
403: [18:55:23] <muskie9> to (I think, if your page is SearchPage) 'SearchPage_Controller'
404: [18:56:43] <eightythree> So in summary, I just need to create SearchPage.ss and SearchPage.php (with controller) and style SearchPage.ss ?
405: [18:56:59] <eightythree> SearchPage_Controller could be empty ? As a placeholder?
406: [19:03:55] <eightythree> And one more thing is there a way to "generalize" fields, I mean I have lots od custom fields and search results got $Content variable which I'm not always using. So is there possibility to "tell" to SilverStripe to treat some of my cutom fileds as $Content for example?
407: [19:05:29] <eightythree> Like 'MyCustomField' => $this->$Content ?
408: [19:06:19] <eightythree> The best solution would be to get arrays of fieds so I don't need to write 3123123 lines of code lol
409: [19:06:47] * wmk has joined #silverstripe
410: [19:07:02] <eightythree> Like 'MyCustomField_one', 'MyCustomField_two' => $this->$Content or something like that
411: [19:09:01] <muskie9> I think you're correct on the page/controller, but I'm not sure on the custom fields... it seems we'll likely be trying the module out in the near future... so hopefully I can be more helpful with the more in depth stuff
412: [19:10:48] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
413: [19:10:57] <eightythree> You are golden mate, I'm looking forward to it
414: [19:11:25] * wmk quit (Ping timeout: 252 seconds)
415: [19:13:25] * muskie9 has joined #silverstripe
416: [19:14:59] * saysora has joined #silverstripe
417: [19:27:08] <eightythree> I did that page/controller stuff and i get 404 after submit i get weird url: SearchPage_Controller/?Search=something&action_results=Go
418: [19:27:29] <muskie9> did you dev/build and flush
419: [19:28:01] <eightythree> yes
420: [19:28:07] <eightythree> even ?flush=all
421: [19:28:15] <muskie9> hmmmm, that's odd
422: [19:28:44] <eightythree> in config got this: Searchable::config()->template_class = 'SearchPage_Controller';
423: [19:28:55] <eightythree> Ad the controller is empty
424: [19:29:04] <muskie9> I would think it would do a url segment for the search page rather than the controller itself
425: [19:29:26] <muskie9> try 'SearchPage' or whatever your model is called for that page type
426: [19:31:16] <eightythree> Hmm, page is refreshing withour results, url looks like this ?Search=something&action_results=Go
427: [19:44:46] * saysora quit (Quit: My Mac has gone to sleep. ZZZzzz…)
428: [19:48:11] * Stomach has joined #silverstripe
429: [19:51:10] * Phlunk3 has joined #silverstripe
430: [19:53:59] * saysora has joined #silverstripe
431: [19:56:26] * saysora quit (Client Quit)
432: [20:06:43] * r3v3rb quit (Quit: r3v3rb)
433: [20:19:06] * muskie9 quit (Quit: My Mac has gone to sleep. ZZZzzz…)
434: [20:21:10] * eightythree quit (Ping timeout: 250 seconds)
435: [20:23:01] * muskie9 has joined #silverstripe
436: [20:25:41] * muskie9 quit (Client Quit)
437: [20:30:26] <ss-helper> run rywa/silverstripe-foundation-forms - http://stackoverflow.com/questions/36900177/run-rywa-silverstripe-foundation-forms
438: [20:31:06] * saysora has joined #silverstripe
439: [20:46:04] * TRB143 quit (Ping timeout: 240 seconds)
440: [20:46:46] * TRB143 has joined #silverstripe
441: [20:57:00] * novaweb has joined #silverstripe
442: [20:59:57] * novaweb quit (Client Quit)
443: [21:01:52] <DimiStripe> Hey guys,
444: [21:01:53] <DimiStripe> is there any fast way of knowing if GIF is animated or not in SS 3.1?
445: [21:02:20] * adrexia has joined #silverstripe
446: [21:06:47] <cloph> http://stackoverflow.com/questions/1412529/how-do-i-programmatically-check-whether-a-gif-image-is-animated http://stackoverflow.com/questions/280658/can-i-detect-animated-gifs-using-php-and-gd
447: [21:07:59] <DimiStripe> cloph: thanks
448: [21:08:39] * MichalKleiner has joined #silverstripe
449: [21:21:36] * micmania1 has joined #silverstripe
450: [21:29:24] * muskie9 has joined #silverstripe
451: [21:44:35] * thesaysora has joined #silverstripe
452: [21:45:01] * Stomach quit (Quit: zzz)
453: [21:45:27] <ss-helper> Silverstripe solr search files, pages, and dataobjects - http://stackoverflow.com/questions/35978504/silverstripe-solr-search-files-pages-and-dataobjects
454: [21:45:53] * Stomach has joined #silverstripe
455: [21:52:16] <thesaysora> Has anybody used the static publisher functionality for a loop of dataobjects?
456: [21:52:45] * UndefinedOffset quit (Quit: Leaving.)
457: [21:52:50] <thesaysora> I'm creating multiple xml feeds, and using the xml function to load the different feeds seems to kill my server. :(
458: [21:54:33] <thesaysora> I was thinking that if I could write a static publishing function, I could have the page update each time a new object is added.
459: [21:54:37] <thesaysora> Just not sure how to do it.
460: [22:00:53] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
461: [22:01:04] <thesaysora> Is it possible in the DataObject php to write a call onAfterWrite that makes the parent holder page re-cache?
462: [22:04:20] <MichalKleiner> thesaysora: you can definitely create onAfterWrite function to create a xml or any sort of cached output and then return it from the controller when it's needed instead of generating it on demand
463: [22:10:47] <thesaysora> MichalKleiner, that's great to know. That will seriously save my butt.
464: [22:10:51] <thesaysora> I just need to figure out how now. XD
465: [22:10:52] * micmania1 quit (Quit: micmania1)
466: [22:12:13] * Stomach quit (Quit: zzz)
467: [22:17:31] <thesaysora> Wouldn't I have to use the onAfterWrite in the object? I'm building the xml on the page_controller not the object. Perhaps that's bad.
468: [22:22:57] <MichalKleiner> wherever you need it. It can be a static function on the controller called from multiple onAfterWrite anywhere
469: [22:26:11] * Stomach has joined #silverstripe
470: [22:32:34] <thesaysora> Ok. I'm looking into it more. Thanks again.
471: [22:36:30] * spronk has joined #silverstripe
472: [22:37:34] * spronk quit (Max SendQ exceeded)
473: [22:37:56] * UndefinedOffset has joined #silverstripe
474: [22:41:09] * PapaBearNZ has joined #silverstripe
475: [22:41:31] <PapaBearNZ> Good morning all!
476: [22:42:39] * Kolin has joined #silverstripe
477: [22:43:04] <thesaysora> Morning PapaBearNZ
478: [22:53:15] <PapaBearNZ> Trying to upgrade a site from 3.1.2 to 3.1.16 (don't ask, really) and having some trouble with the silverstripe-wkhtml module. In the 3.1.2 site the pdf works well. In the 3.1.16 branch I'm getting "Fatal error: Class 'Heyday\SilverStripe\WkHtml\Output\Browser' not found."
479: [22:53:22] * micmania1 has joined #silverstripe
480: [22:53:34] <PapaBearNZ> Can anyone offer any suggestions?
481: [23:02:26] * adrexia quit (Quit: My Mac has gone to sleep. ZZZzzz…)
482: [23:09:16] * UndefinedOffset quit (Quit: Leaving.)
483: [23:21:30] * muskie9 quit (Quit: My Mac has gone to sleep. ZZZzzz…)
484: [23:37:47] * muskie9 has joined #silverstripe
485: [23:43:43] * BrewNaked quit (Remote host closed the connection)
486: [23:48:08] * cloph is now known as cloph_away

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