#silverstripe IRC Log

IRC log for 15 April 2016

All timestamps are in UTC.

1: [00:00:00] * micmania1 quit (Quit: micmania1)
2: [00:10:04] * muskie9 quit (Ping timeout: 264 seconds)
3: [00:11:06] * BrewNaked quit (Read error: Connection reset by peer)
4: [00:19:36] * robbiea quit (Ping timeout: 276 seconds)
5: [00:30:44] * UncleCheese quit (Quit: Textual IRC Client: www.textualapp.com)
6: [00:31:38] * UncleCheese has joined #silverstripe
7: [00:37:35] * micmania1 has joined #silverstripe
8: [00:52:41] * micmania1 quit (Quit: micmania1)
9: [00:53:38] * Stomach quit (Quit: zzz)
10: [01:02:53] * Stomach has joined #silverstripe
11: [01:03:29] * Admonish has joined #silverstripe
12: [01:03:55] <Admonish> Hey yall, Does anyone know how to make 1 and 0 in a grid column desplay as true and false
13: [01:04:13] <Admonish> I thought there was a way to do this through $summary_fields
14: [01:05:58] <Admonish> NVM I found it lol
15: [01:06:24] <Admonish> You have to add .Nice to it in the summer_fields
16: [01:06:52] <Admonish> summary_fields*
17: [01:11:46] * muskie9 has joined #silverstripe
18: [01:13:23] * Stomach quit (Quit: zzz)
19: [01:16:07] * robbiea has joined #silverstripe
20: [01:16:26] * Tanger has joined #silverstripe
21: [01:17:09] * oddnoc quit (Quit: beer:30)
22: [01:20:08] * muskie9 quit (Ping timeout: 268 seconds)
23: [01:20:40] * robbiea quit (Ping timeout: 252 seconds)
24: [01:38:16] <Admonish> So I have a has_one relationship (called Mode) in one of my modals and I wish to display it in the grid. So I used summery_fields to add it in. But, due to it being a has one relationship, the value that shows up is an Id for the record in the relationship. I need it to be the name of the other record. Is there a way to set something like Mode::get()->byID($this->ModeID) as the key in the Summery_fields array?
25: [01:43:45] * Stomach has joined #silverstripe
26: [01:44:12] * robbiea has joined #silverstripe
27: [01:47:03] * micmania1 has joined #silverstripe
28: [01:49:31] * spronk quit (Quit: I may need a longer sleep timer...)
29: [01:52:35] * spronk has joined #silverstripe
30: [01:59:47] * BrewNaked has joined #silverstripe
31: [02:03:55] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
32: [02:04:32] * BrewNaked quit (Ping timeout: 268 seconds)
33: [02:09:35] * micmania1 quit (Quit: micmania1)
34: [02:09:55] * micmania1 has joined #silverstripe
35: [02:11:27] * Stomach quit (Quit: zzz)
36: [02:16:20] <Admonish> So I have a has_one relationship (called Mode) in one of my modals and I wish to display it in the grid. So I used summery_fields to add it in. But, due to it being a has one relationship, the value that shows up is an Id for the record in the relationship. I need it to be the name of the other record. Is there a way to set something like Mode::get()->byID($this->ModeID) as the key in the Summery_fields array?
37: [02:17:10] <Admonish> Also does anyone know how to remove the unlinkrelation action from the GridField relation editor?
38: [02:37:00] * Stomach has joined #silverstripe
39: [02:41:41] * robbiea quit (Remote host closed the connection)
40: [02:50:45] <Admonish> Stomach Do you happen to know how to remove the unlink action from the relationship grid field
41: [02:51:21] <Stomach> $config->removeComponentsByType('GridFieldAddNewButton'); $config->addComponent(new GridFieldAddNewButton());
42: [02:51:33] <Stomach> something like that
43: [02:51:57] <Admonish> Yeah I just don't know the name of the unlink button
44: [02:52:04] <Stomach> GridFieldAddExistingAutocompleter
45: [02:52:10] <Stomach> ohhhh the unlink
46: [02:52:13] <Stomach> yeah I know that
47: [02:52:17] <Stomach> GridFieldDeleteAction
48: [02:52:18] <Admonish> wooties
49: [02:52:32] <Admonish> oh
50: [02:52:35] <Admonish> weird
51: [02:52:47] <Admonish> so that is for both the unlink and the delete button?
52: [02:52:53] <Stomach> yeah if you pass true into new GridFieldDeleteAction(true) it becomes unlink
53: [02:52:57] * robbiea has joined #silverstripe
54: [02:54:19] <Admonish> ahh ok. Thank you so much :D
55: [02:54:36] <Stomach> no worries :_
56: [02:54:39] <Stomach> :) event
57: [02:54:41] <Stomach> :) even
58: [02:54:42] <Stomach> bah
59: [02:54:44] <Stomach> fridays
60: [02:55:07] <Admonish> :D
61: [03:14:34] <robbiea> Anyone here familiar-ish with Will Rossiter's module dnadesign/silverstripe-elemental?
62: [03:15:06] <Admonish> Not me :(
63: [03:17:35] * spronk quit (Quit: I may need a longer sleep timer...)
64: [03:23:20] <robbiea> :) How about tractorcow/silverstripe-fluent? I've got a yarn to spin
65: [03:25:51] * Admonish quit (Ping timeout: 265 seconds)
66: [03:31:13] * Stomach_ has joined #silverstripe
67: [03:32:34] * Stomach quit (*.net *.split)
68: [03:32:37] * Hailwood quit (*.net *.split)
69: [03:35:09] * robbiea quit (Ping timeout: 250 seconds)
70: [03:35:45] * robbiea has joined #silverstripe
71: [03:36:19] * spronk has joined #silverstripe
72: [03:38:52] * Hailwood has joined #silverstripe
73: [03:48:21] * Stomach_ quit (Quit: zzz)
74: [03:56:24] * robbiea quit (Remote host closed the connection)
75: [03:56:31] * Stomach has joined #silverstripe
76: [04:02:58] * micmania1 quit (Quit: micmania1)
77: [04:03:49] * micmania1 has joined #silverstripe
78: [04:05:36] * robbiea has joined #silverstripe
79: [04:20:45] * spronk quit (Quit: I may need a longer sleep timer...)
80: [04:51:19] * robbiea quit (Ping timeout: 252 seconds)
81: [04:51:38] * Agilix_ has joined #silverstripe
82: [04:53:03] * Admonish has joined #silverstripe
83: [04:55:36] <Agilix_> Morning o?
84: [04:55:42] <Agilix_> o/
85: [04:59:55] <Tanger> Agilix_: Morning
86: [05:25:29] * micmania1 quit (Quit: micmania1)
87: [05:26:02] * Stomach quit (Quit: zzz)
88: [05:28:09] * cloph_away quit (Ping timeout: 264 seconds)
89: [05:28:28] * Tanger_ has joined #silverstripe
90: [05:28:40] * Tanger quit (Ping timeout: 264 seconds)
91: [05:28:42] * Tanger_ is now known as Tanger
92: [05:33:19] * cloph_away has joined #silverstripe
93: [05:37:31] * BrewNaked has joined #silverstripe
94: [05:38:34] * guci0 has joined #silverstripe
95: [05:41:55] * BrewNaked quit (Ping timeout: 252 seconds)
96: [05:44:00] * Stomach has joined #silverstripe
97: [05:50:22] * wmk has joined #silverstripe
98: [05:56:22] * Stomach quit (Ping timeout: 260 seconds)
99: [06:06:58] * Admonish quit (Quit: Has left the building)
100: [06:13:06] * Mike123 has joined #silverstripe
101: [06:45:49] * Stomach has joined #silverstripe
102: [06:51:48] * Agilix_ quit (Quit: Page closed)
103: [06:52:03] * Agilix_ has joined #silverstripe
104: [06:57:30] * arnhoe has joined #silverstripe
105: [07:03:35] * Tanger quit (Ping timeout: 250 seconds)
106: [07:05:17] <wmk> hmm, i cannot write a static method in an extension?
107: [07:05:39] <wmk> e.g. if i want a method Foo::getSomethingForMe(), i have to place this in Foo class directly and cannot put it in a DataExtension instead?
108: [07:09:19] * Tanger has joined #silverstripe
109: [07:11:48] <TombL> I think you must call it by DataExtensionClass::method() in that case
110: [07:11:54] <swaiba_> wmk you can put it int he extension, but you then have to call FooExtension::getSomethingForMe()
111: [07:16:20] <wmk> swaiba_, yup, thought of that.
112: [07:16:39] <swaiba_> yeah I'm sure it hadn't escaped you :)
113: [07:20:57] * Stomach quit (Quit: zzz)
114: [07:26:24] * BrewNaked has joined #silverstripe
115: [07:31:12] * BrewNaked quit (Ping timeout: 276 seconds)
116: [07:34:22] <wmk> oh, it's still april... git commit --amend maysite
117: [07:42:09] * cloph_away quit (Ping timeout: 250 seconds)
118: [07:44:22] * cloph_away has joined #silverstripe
119: [07:50:59] <Agilix_> Haha, wondering why my items aren't showing up. Didn't add them to the page #tgif :p
120: [07:51:21] * DimiStripe has joined #silverstripe
121: [07:55:36] * Eliseth has joined #silverstripe
122: [07:56:48] * Teddy has joined #silverstripe
123: [07:56:52] * qlex has joined #silverstripe
124: [07:57:30] * qlex says hi
125: [07:58:10] <qlex> could some1 remind me what was the commmand to check when a given user was last seen here on this channel ? lastseen ?
126: [08:04:23] * UncleCheese has joined #silverstripe
127: [08:16:15] * kinglozzer has joined #silverstripe
128: [08:16:23] <qlex> !help
129: [08:17:27] <qlex> i just checked the logs - did really DesignerX log in to that irc channel last time at 13aug2014 ??
130: [08:19:54] <wmk> hmm, ss-helper is not here :(
131: [08:24:06] <qlex> in the meantime, when he's not here, i have a question
132: [08:24:22] <qlex> as im not a dev 100% myself, but know a bit about silverstripe
133: [08:24:41] <qlex> i was wondering if i would be able to get the grip on modifying html templates to ss themes
134: [08:25:10] <qlex> i was able to modify existing themes, but now, cant really see any good examples apart from a couple of bootstrap themes available through addons.silverstripe.org
135: [08:25:30] <qlex> i need to make one of my sports-society ss-pwoered websites a bit more modern
136: [08:25:50] <qlex> how would i start, if i found "inspirational" html template that i could use to replace current ss theem ?
137: [08:26:12] <qlex> any good tutorials - or would you guys point me to the vids made by unclecheese i believe, on ss website
138: [08:26:57] <wmk> lessons are very fine...
139: [08:27:16] <wmk> well, a theme is a bunch of html templates that are split in several files mostly to be reusable
140: [08:31:04] <wmk> so for a good theme you need to know html and css very well, setting up something like grunt||gulp/scss/livereload might help you
141: [08:31:54] <qlex> its relatively easy for me to handle the html/js -> ss part
142: [08:32:21] <qlex> but more difficult to handle the php part - where i would need to be able to "design" several places that one can then edit via cms
143: [08:32:52] <qlex> the thing about grunt/gulp/scss is something new to me - i was used to just making a theme using html and css knowledge
144: [08:34:35] <UncleCheese> grunt/gulp is dead.. use webpack :)
145: [08:35:47] <Mike123> if member has some relations and i will call destroy() on member, will this delete all relations too ?
146: [08:35:54] <wmk> UncleCheese, npm-scripts?
147: [08:36:04] <UncleCheese> well, that's just a wrapper
148: [08:36:08] <UncleCheese> but yes
149: [08:36:20] <UncleCheese> Mike123 no
150: [08:36:45] <Mike123> ok thanks
151: [08:36:47] <wmk> Mike123, not automatically
152: [08:37:17] <UncleCheese> the assumption is that any records that were related to a parent could conceivably be assigned a new one
153: [08:39:56] * agent44 has joined #silverstripe
154: [08:42:04] <Firesphere> Ow yeah, CodingPlayground IRC ZNC Bouncer is back!
155: [08:42:37] <Firesphere> Hello world.
156: [08:45:26] <Firesphere> Shameless promotion, IDEAnnotator 2 has just been released. https://github.com/axyr/silverstripe-ideannotator
157: [09:03:30] <swaiba_> hey Firesphere
158: [09:03:38] <swaiba_> how is the secruity refactor going?
159: [09:03:50] <swaiba_> is there a target for it - or just extraction from core?
160: [09:11:16] <wmk> Firesphere, tss tss, no Changelog for anotator2? that costs score!
161: [09:11:29] <wmk> oops, didn't see it
162: [09:11:37] <wmk> between all the uppercase files
163: [09:15:18] * BrewNaked has joined #silverstripe
164: [09:20:16] * BrewNaked quit (Ping timeout: 264 seconds)
165: [09:20:20] * Tanger quit (Quit: Tanger)
166: [09:22:55] * Sentro has joined #silverstripe
167: [09:23:12] <Sentro> hi Silverstripe ! Is there a quick edit to gridfield in the model admin?
168: [09:31:01] <swaiba_> Sentro you mean like make it liek a excel spreadsheet?
169: [09:31:11] <Sentro> yes
170: [09:31:36] <swaiba_> https://github.com/smindel/silverstripe-GridFieldAddOns
171: [09:31:44] <swaiba_> https://github.com/smindel/silverstripe-GridFieldAddOns/blob/master/docs/en/GridFieldEditableCells.md
172: [09:32:11] <kinglozzer> swaiba_: Don't you mean GridFieldExtensions? ;)
173: [09:32:43] <swaiba_> kinglozzer wouldn't both be valid answers? or you know someting I don't about the above
174: [09:32:50] <swaiba_> column chooser from above is nice BTW
175: [09:34:36] <qlex> just a quick question - did any1 see DesignerX recently? i lost contact with him
176: [09:35:00] <kinglozzer> swaiba_: Yeah you're right, I'm just being a code snob (gridfieldextensions is more actively maintained and has tests)
177: [09:35:11] <kinglozzer> That column chooser does look really useful though... had no idea that existed
178: [09:35:24] <qlex> it would be great if somebody could reach out to me - regarding small websites to be done on silverstripe
179: [09:41:00] <Sentro> works like a charm @swaiba_
180: [09:41:07] <Sentro> many thanks!
181: [09:41:15] <swaiba_> very welcome
182: [09:42:17] <wmk> qlex, you might post your job offers to https://groups.google.com/group/silverstripe-small-business
183: [09:45:51] <qlex> wmpk: cool, didnt' know of this group
184: [09:48:44] * jackoconnor has joined #silverstripe
185: [09:50:06] * agent44 quit (Quit: zzz)
186: [09:53:19] * agent44 has joined #silverstripe
187: [10:01:28] * Mike123 quit (Ping timeout: 250 seconds)
188: [10:06:40] * Sentro quit (Quit: Sentro)
189: [10:11:15] * Sentro has joined #silverstripe
190: [10:16:18] * Sentro quit (Ping timeout: 276 seconds)
191: [10:23:26] <wmk> qlex, not that much activity but interesting posts
192: [10:27:56] <Firesphere> Hey swaiba_
193: [10:28:12] <Firesphere> Well, ehm, you can follow my progress on github. It's under CasaLaguna's name
194: [10:28:21] <Firesphere> And it's A LOT OF WORK
195: [10:28:28] <Firesphere> But I think I'm getting there :)
196: [10:28:45] <swaiba_> cool Firesphere
197: [10:28:47] <Firesphere> I've pulled Security out of the framework, for refactor/rewrite/update sake.
198: [10:29:03] <swaiba_> ah so it will be updated?
199: [10:29:05] <Firesphere> Eventually, when done, I'll move it back in ofcourse.
200: [10:29:13] <swaiba_> is there a target design and eta?
201: [10:29:23] <Firesphere> ETA is SS4 Beta 2
202: [10:29:41] <Firesphere> Target design, not really anything but that what's in my head.
203: [10:30:13] <Firesphere> Bring everything up to code. Remove unused code. Update the code to SS4. Add namespaces.
204: [10:30:18] <Firesphere> Those kind of things.
205: [10:33:45] <Firesphere> It's slowly getting to a point where I will actually update methods and such. Most of the refactoring towards a more readable Security is done I think.
206: [10:35:35] <Firesphere> Here's the repo: https://github.com/CasaLaguna/silverstripe-security
207: [10:37:22] <Firesphere> When I'm done, I'll move it back into the framework with less stupid commit messages :P
208: [10:37:24] * qlex quit (Read error: Connection reset by peer)
209: [10:38:03] * qlex has joined #silverstripe
210: [10:46:50] * qlex1 has joined #silverstripe
211: [10:47:09] <swaiba_> thanks Firesphere - it's just we have a refactored this as users are terrible folk to have "power" access to the current security
212: [10:47:17] * qlex1 says bye
213: [10:47:29] * qlex1 has left #silverstripe
214: [10:47:39] <Firesphere> Well, feedback! ;)
215: [10:47:59] <swaiba_> there are far too many checkboxes...
216: [10:48:28] * qlex quit (Ping timeout: 264 seconds)
217: [10:48:32] <swaiba_> the approach we have taken is that...is that permissions are cascading from the high level model admins
218: [10:48:40] <swaiba_> and also from other objects
219: [10:48:53] <swaiba_> some objects are marked "internal" and dont' appear at all
220: [10:49:22] <swaiba_> meaning it is very quick to give someone read only access to a section
221: [10:49:44] <swaiba_> but then you can also add that they have full access to a certain object within there
222: [10:49:54] <swaiba_> so read only, except this one object
223: [10:50:34] <swaiba_> and then if that object has a manymany, then it is likely that that object would inhert permissions and also have full edit
224: [10:51:03] <swaiba_> and for this we are using tags like "MyAdmin_FULL" or "MyDataObject_READ"
225: [10:51:32] <swaiba_> and the whole thing is then limited to not allow messing with Administrators
226: [10:58:21] <swaiba_> if any of the above is of interest and it's something you'd like to include Firesphere we should maybe talk some more
227: [10:58:33] * agent44 quit (Ping timeout: 276 seconds)
228: [11:00:45] * agent44 has joined #silverstripe
229: [11:01:36] * kinglozzer quit ()
230: [11:03:34] <Firesphere> Sounds interesting swaiba_
231: [11:04:06] <Firesphere> If you look at where I'm heading, you'll see my intention is to separate the encryption itself from the security. (somewhat)
232: [11:04:13] * BrewNaked has joined #silverstripe
233: [11:04:32] <Firesphere> If you have time. I'd love to see a pull request, or an issue raised on GitHub or the Dev board?
234: [11:05:21] <Firesphere> I prefer to keep the whole process as open as possible. But feedback, improvements, etc. are very wanted. And your concept of "internal vs external" sounds very interesting.
235: [11:05:52] <Firesphere> Not only for Security, but I think it could be even an SS4-wide implemented concept
236: [11:08:52] * BrewNaked quit (Ping timeout: 264 seconds)
237: [11:09:48] <swaiba_> sure it would be great to have our model at the core of ss
238: [11:10:05] <swaiba_> especially as this would be kind the first big SS contribution
239: [11:10:26] <swaiba_> I'll discuss with the devs and look to raise something on https://github.com/CasaLaguna/silverstripe-security
240: [11:16:29] * agent44 quit (Quit: zzz)
241: [11:18:09] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
242: [11:25:05] * agent44 has joined #silverstripe
243: [11:26:12] * DimiStripe quit (Quit: DimiStripe)
244: [11:27:24] * UncleCheese has joined #silverstripe
245: [12:04:17] * jackoconnor quit (Quit: jackoconnor)
246: [12:06:19] * arnhoe quit ()
247: [12:12:30] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
248: [12:25:19] * UndefinedOffset has joined #silverstripe
249: [12:27:40] * UndefinedOffset1 has joined #silverstripe
250: [12:27:40] * UndefinedOffset quit (Disconnected by services)
251: [12:28:29] * ShannonPatterson has joined #silverstripe
252: [12:30:22] * UndefinedOffset1 is now known as UndefinedOffset
253: [12:30:32] * Agilix_ quit (Ping timeout: 250 seconds)
254: [12:31:05] * Eliseth quit (Ping timeout: 264 seconds)
255: [12:34:45] * wmk quit (Ping timeout: 276 seconds)
256: [12:53:22] * BrewNaked has joined #silverstripe
257: [12:57:37] * BrewNaked quit (Ping timeout: 250 seconds)
258: [12:59:51] * cloph_away is now known as cloph
259: [13:03:17] * EasyCo quit (Quit: Connection closed for inactivity)
260: [13:08:54] * TRB143 quit (Remote host closed the connection)
261: [13:09:02] * TRB143 has joined #silverstripe
262: [13:12:30] * jackoconnor has joined #silverstripe
263: [13:14:16] * ShannonPatterson quit (Read error: Connection reset by peer)
264: [13:19:08] * ShannonPatterson has joined #silverstripe
265: [14:00:01] * UndefinedOffset quit (Ping timeout: 250 seconds)
266: [14:03:47] * UndefinedOffset has joined #silverstripe
267: [14:07:06] * muskie9 has joined #silverstripe
268: [14:11:57] * UndefinedOffset quit (Quit: Leaving.)
269: [14:11:59] * kinglozzer has joined #silverstripe
270: [14:30:47] * wmk has joined #silverstripe
271: [14:31:04] * swaiba_ quit (Remote host closed the connection)
272: [14:35:39] * wmk quit (Ping timeout: 276 seconds)
273: [14:35:45] * cloph is now known as cloph_away
274: [14:41:53] * BrewNaked has joined #silverstripe
275: [14:46:25] * BrewNaked quit (Ping timeout: 252 seconds)
276: [14:56:49] * UndefinedOffset has joined #silverstripe
277: [15:24:29] * ShannonPatterson quit (Quit: Leaving)
278: [15:25:51] * muskie9 quit (*.net *.split)
279: [15:26:15] * ajmitch quit (*.net *.split)
280: [15:28:32] * muskie9_test has joined #silverstripe
281: [15:30:39] * BrewNaked has joined #silverstripe
282: [15:30:49] * ajmitch has joined #silverstripe
283: [15:31:17] * jsirish has joined #silverstripe
284: [15:32:36] * muskie9 has joined #silverstripe
285: [15:33:01] * muskie9_test quit (Client Quit)
286: [15:34:09] * jsirish quit (Client Quit)
287: [15:36:45] * ajmitch quit (Ping timeout: 276 seconds)
288: [15:37:03] * ajmitch has joined #silverstripe
289: [15:37:04] * ajmitch quit (Changing host)
290: [15:37:04] * ajmitch has joined #silverstripe
291: [15:57:34] <muskie9> anyone ever implemented multiple filterByCallback() instances on a model admin list? I keep hitting [User Error] Uncaught LogicException: GridField doesn't have a modelClassName, so it doesn't know the columns of this grid.
292: [16:02:11] * jackoconnor quit (Quit: jackoconnor)
293: [16:34:46] * Teddy quit (Ping timeout: 252 seconds)
294: [16:53:27] * muskie9 quit (Quit: My Mac has gone to sleep. ZZZzzz…)
295: [16:58:19] * gelignite has joined #silverstripe
296: [17:00:01] * gelignite quit (Max SendQ exceeded)
297: [17:01:01] * agent44 quit (Quit: zzz)
298: [17:01:40] * gelignite has joined #silverstripe
299: [17:04:03] * muskie9 has joined #silverstripe
300: [17:09:11] * muskie9 quit (Ping timeout: 268 seconds)
301: [17:27:47] * gelignite quit (*.net *.split)
302: [17:32:38] * x4j5 has joined #silverstripe
303: [17:34:21] <BrewNaked> That's weird... I was looking at that same error 15 minutes ago.
304: [17:56:36] * slievr__ quit (Ping timeout: 244 seconds)
305: [18:34:36] * marvanni has joined #silverstripe
306: [18:40:15] <marvanni> So I rm-rf’ed my cache dirs. moved classes to different folders. but still ClassInfo::subclassesFor('TestObject'); does not get the subclasses…
307: [18:40:43] <marvanni> now when i let TestObject extends Object it works.
308: [18:41:22] <marvanni> is it really true that to get ClassInfo a class needs to extend Object ???
309: [18:44:11] * cass_ has joined #silverstripe
310: [18:45:15] <cass_> I need help creating my controller for a theme template. i have the site created to Page.ss but Im not sure how to tell the controllers in the framework to use it. i've seen the videos and researched. i may need a walkthrough
311: [18:45:28] <cass_> pretty please help
312: [18:50:15] <marvanni> just name your template like the controller and you be fine
313: [18:50:31] <marvanni> class MyController : template MyController.ss
314: [18:52:59] <cass_> trying that now
315: [18:54:25] <cass_> still is not working. i have the files in the correct location i believe bc the site shows up when i go to it by file source but not showing up inside the cms
316: [18:54:56] <marvanni> code / link ?
317: [18:55:25] <cass_> http://pastie.org/private/vl50ijstgdxpjpssnuqg
318: [18:55:48] <cass_> im very new at controllers with php. sorry learning curve for me
319: [18:56:29] <cass_> That is what the silverstripe tutorial said to put. i replaced with file names.
320: [18:56:36] <marvanni> nah
321: [18:56:37] * muskie9 has joined #silverstripe
322: [18:56:46] <marvanni> HomePage extends Page
323: [18:56:58] <marvanni> the Page is the model
324: [18:57:17] <marvanni> and your template will be HomePage.ss
325: [18:57:51] <marvanni> or : Home extends Page and Home_Controller extends Page_Controller
326: [18:58:24] <marvanni> you always need to name the controller for a page type like PageClassName_Controller
327: [18:59:08] <cass_> okay that may be my issue. its just HomePage.php
328: [18:59:12] <cass_> as well
329: [18:59:15] <cass_> testing both ways now
330: [19:01:22] <cass_> I am still getting the same page that says this after i've flushed it ....Getting Started To get started with the SilverStripe framework: Create a Controller subclass (doc.silverstripe.org/framework/en/topics/controller) Setup the routes.yml to your Controller (doc.silverstripe.org/framework/en/reference/director#routing). Create a template for your Controller (doc.silverstripe.org/framework/en/reference/templates)
331: [19:02:00] <cass_> http://pastie.org/private/lngngzuaipomrttfpxn7a
332: [19:03:27] <marvanni> http://sspaste.com/paste/show/57113af8c97f4
333: [19:03:39] <marvanni> that should work what you have
334: [19:04:04] <marvanni> did you run domain.com/dev/build?flush=all ?
335: [19:04:18] <muskie9> cass_ did you set the theme in the cms's site settings and change one of the pages in the cms to your new page type?
336: [19:04:47] <muskie9> the Controller message generally shows when no theme is set
337: [19:05:03] <cass_> Please excuse that i am sooo new to some of this. i tried to set up the _ss_enviorment but i kept getting an error. once again trying what silverstripe told me to do
338: [19:05:23] <cass_> yes i did do that
339: [19:05:58] <cass_> i wish i could just share my screen and have someone just tlk me through this. i know im not dumb i just for some reason am overthinking it
340: [19:06:26] <cass_> I kind of got thrown into more front end dev but sometimes i just cant get it.
341: [19:06:37] <marvanni> you dont need a _ss_enviorment.php if you have your mysite/_config.php setup
342: [19:06:56] <marvanni> every start is hard
343: [19:07:04] <marvanni> we have all been there
344: [19:07:23] <cass_> http://pastie.org/private/jajwexqmlgax5dpajg8zsq
345: [19:07:35] <cass_> that is my _config.php file not sure where to add or what to add
346: [19:07:58] <muskie9> that looks like it's setup correctly
347: [19:07:59] <marvanni> that seems fine
348: [19:08:14] <marvanni> did you create a Homepage in your cms?
349: [19:08:59] <cass_> not really it precreated it for me. should i try to delete those out. it still has the home. about . etc
350: [19:09:17] <cass_> i just assumed it would fill that void
351: [19:10:32] <marvanni> you need to change the Page type in the settings tab if you have addeda new Page type
352: [19:10:39] * Admonish has joined #silverstripe
353: [19:11:38] <cass_> well now my theme is gone from the settings area...ugg
354: [19:12:05] <Admonish> Hey yall
355: [19:12:47] <marvanni> you need a new theme for just a HomePage template
356: [19:12:55] <marvanni> have you tried thes series?
357: [19:12:55] <marvanni> http://www.silverstripe.org/learn/lessons/working-with-multiple-templates?ref=hub
358: [19:13:02] <marvanni> its all there
359: [19:18:11] <cass_> yes. i did i undersand it up until a point. i can get my html and everything converted to page.ss and i can get the files in the correct order and everything placed properly and now that i have the proper code for the controller...i just don't get why its not working. .. thank you..
360: [19:19:26] * Stomach has joined #silverstripe
361: [19:22:09] * BrewNaked quit (Remote host closed the connection)
362: [19:23:03] * x4j5 quit (Ping timeout: 276 seconds)
363: [19:29:05] * x4j5 has joined #silverstripe
364: [19:29:37] * Stomach quit (Quit: zzz)
365: [19:33:28] * cass_ quit (Ping timeout: 250 seconds)
366: [19:35:49] * BrewNaked has joined #silverstripe
367: [19:40:24] <neomang> I'm having trouble, my page fails to load when I try to access values from a function in the template. The functions should work, I don't know why it's being difficult
368: [19:44:11] * Stomach has joined #silverstripe
369: [19:49:52] * Stomach quit (Quit: zzz)
370: [19:55:14] * Admonish quit (Ping timeout: 265 seconds)
371: [20:05:51] * x4j5 quit (Ping timeout: 276 seconds)
372: [20:14:46] * Admonish has joined #silverstripe
373: [20:23:19] * muskie9 quit (Ping timeout: 264 seconds)
374: [20:23:40] * muskie9 has joined #silverstripe
375: [20:33:36] <Admonish> Does anyone know how the silverstripe blog team managaed to use TreeDropdownField for multiple items for the category and tag fields? The documentation seems to suggest That you can only select one item and not mulitple
376: [20:34:45] <Admonish> I would like to do something similar as the TreeDropdownField uses ajax while the TreeMultiselectField does not
377: [20:34:56] <ss23> Can you check the code?
378: [20:35:11] <ss23> Blog is opensource iirc, micmania wrote it
379: [20:35:59] <Admonish> Yeah I was looking through it but when i searched for TreeDropdownField it did not come up. But I know its using it as I inspected it with the SS inspector
380: [20:36:15] <Admonish> Fill keep looking though
381: [20:36:20] <Admonish> Ill*
382: [20:36:24] <muskie9> Admonish are you talking about TreeMultiselectField
383: [20:38:18] <Admonish> If you use the inspector to select the cateogry field in the blog right "Post Options" panel you will see that it is in fact using TreeDropdownField and not the multi select. I even checked for ajax requests when using the fielod and found that indeed it did use them. Therefor it cannot be multiselect as it does not use ajax
384: [20:39:41] <Admonish> I could be wrong and if so then I would love to know how they made the multi select field use ajax
385: [20:41:04] <muskie9> are you talking about the latest version of the blog? and the field on a BlogPost?
386: [20:42:07] <muskie9> when I check the source code, I see TagField: https://github.com/silverstripe/silverstripe-blog/blob/master/code/model/BlogPost.php#L258
387: [20:43:50] <Admonish> Weird. I guess then it must be a child of TreeDropdownField. Or the ctrl+~ console is broken
388: [20:43:54] <Admonish> But yes that is it
389: [20:44:35] <muskie9> https://github.com/silverstripe-labs/silverstripe-tagfield
390: [20:44:38] * UndefinedOffset quit (Quit: Leaving.)
391: [20:44:47] <Admonish> muskie9 Thanks for clearing that up for me
392: [20:44:48] <muskie9> extends DropdownField
393: [20:44:54] <muskie9> no problem
394: [20:45:01] <muskie9> we've used that before on other projects
395: [20:45:40] <Admonish> Yeah that addon will be a big help to me
396: [20:46:13] <Admonish> Not sure why something like this isn't native. But I guess there are bigger issues for the core SS team to work on right now :D
397: [20:47:25] <muskie9> ya, SS4 being in the works kinda keeps'm busy
398: [20:48:46] <Admonish> For sure.
399: [20:49:46] * gelignite has joined #silverstripe
400: [20:50:29] <Admonish> I did wonder however why the TreeMultiselectField wasn't made to useajax in the first place. If you are making an ajax dropdown field for single items why not do the same with multi? Oh well, I am grateful that someone came out with theat tagfield in the mean time
401: [20:51:57] <Admonish> Why is it that my spelling is terrible when I im taling with people online, but when im just doing a write up its great....
402: [20:52:07] <Admonish> talking*
403: [20:52:20] <Admonish> I rest my case :(
404: [20:58:07] * Stomach has joined #silverstripe
405: [21:00:25] <Admonish> Welcome back Stomach
406: [21:01:39] <Stomach> good morning :)
407: [21:02:08] * Stomach quit (Client Quit)
408: [21:05:19] * Admonish quit (Ping timeout: 265 seconds)
409: [21:27:17] * UncleCheese has joined #silverstripe
410: [21:46:12] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
411: [21:48:50] * Admonish has joined #silverstripe
412: [21:51:05] * Azure|dc has joined #silverstripe
413: [21:51:48] * Azure quit (Ping timeout: 276 seconds)
414: [21:53:29] <Admonish> muskie9 The tagfield will work with any model right? not just a tag model?
415: [21:53:52] <muskie9> correct, we call our model Category most of the time and use it for that
416: [21:54:08] <Admonish> awesome
417: [21:54:09] <Admonish> thanks
418: [22:05:14] * UncleCheese has joined #silverstripe
419: [22:09:54] <marvanni> does anyone know how to really clear the manifest cache in code
420: [22:10:00] <Admonish> muskie9 can you take a look at a small sampl of my code https://gist.github.com/mooror/cc70826cdeb12b007bfc40afcf8ff60c . Im trying to use the tagfield in this model and it shows up ffine but when I click on a small popup error appears on the top right corner
421: [22:10:12] <marvanni> i found this one, but it does not seem to work
422: [22:10:13] <marvanni> https://github.com/heyday/silverstripe-cacheclear/blob/master/src/functions.php
423: [22:10:41] <Admonish> muskie9 This is the error : Error at line 55 of F:\Ampps\www\StoreProvisioner\framework\model\connect\DBConnector.php
424: [22:12:03] <marvanni> that is a database query error
425: [22:12:18] <marvanni> is it not visible in you browser console?
426: [22:12:28] <marvanni> or error log
427: [22:13:02] <Admonish> fill check
428: [22:13:07] <Admonish> ill*
429: [22:13:11] <muskie9> your gist looks correct
430: [22:14:07] <marvanni> maybe you need to use Member::get()->map()->toArray() ?
431: [22:15:20] <Admonish> I will try that out. If it doesn't work I could post the (rather large) console error here
432: [22:17:12] <Admonish> I tried your suggestion. No dice. It appears to need an object passed in and not an array. But thanks for the suggestion :D
433: [22:17:35] <Admonish> what is the paste command for the IRC?
434: [22:17:44] <marvanni> no no
435: [22:17:44] <Admonish> !paste or somethign
436: [22:17:46] <marvanni> use a poster
437: [22:17:48] <marvanni> a
438: [22:18:01] <Admonish> another gist?
439: [22:18:08] <marvanni> or sspaste.co
440: [22:18:08] <marvanni> m
441: [22:18:17] <Admonish> actually I could use the same gist
442: [22:18:56] <Admonish> I thought ss pastes where supposed to be for helpful code segments
443: [22:20:22] <Admonish> Here we go
444: [22:20:23] <Admonish> https://gist.github.com/mooror/cc70826cdeb12b007bfc40afcf8ff60c
445: [22:20:41] <Admonish> I updated my gist with a ERROR.txt file that contains the error and trace
446: [22:21:03] * krofek__ has joined #silverstripe
447: [22:22:25] <Admonish> hmm I see this "WHERE ("Title" LIKE ?)" and im wondering if the tagfield was tested only on models with a title field
448: [22:22:41] <marvanni> Unknown column 'Title' in 'field list'
449: [22:22:49] <Admonish> most have one but I don't think the Member has one
450: [22:23:10] <marvanni> so you need Member::get()->map(‘ID’, ‘FirstName’);
451: [22:24:17] * krofek_ quit (Ping timeout: 244 seconds)
452: [22:24:37] <Admonish> When I use that field I get : Fatal error: Call to undefined method SS_Map::dataClass() in F:\Ampps\www\StoreProvisioner\tagfield\code\TagField.php on line 207
453: [22:24:52] <Admonish> code* not field
454: [22:25:51] <Admonish> I may have to post an issue on the github page for that module.
455: [22:27:28] <marvanni> guess so, this seems not to work for dataobejcts without a Title field
456: [22:27:39] <marvanni> hm\
457: [22:27:41] <marvanni> getTitleField
458: [22:27:54] <marvanni> setTitleField($titleField)
459: [22:27:59] <marvanni> that should work
460: [22:28:17] <marvanni> $tagField->setTitleField(‘FirstName’);
461: [22:28:36] <Admonish> I will try it :D
462: [22:30:32] <Admonish> That worked very well, Thank you sir/madam for all your help :)
463: [22:31:33] <marvanni> no problem
464: [22:33:20] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
465: [22:39:21] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
466: [22:51:24] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
467: [23:03:24] <Admonish> btw does anyone know how to set the defualt tab on a modelAdmin? When I access one of my models it is automatically switching to the third tab instead of the main tab
468: [23:11:51] <Admonish> Nvm, I had some weird stuff going on in my modelAdmin
469: [23:12:19] <Admonish> Once that was taken care of everything went ok
470: [23:27:25] <Admonish> Has anyone here worked with GridFields newCell?
471: [23:40:20] * Kimyeti has joined #silverstripe
472: [23:40:24] * Azure|dc is now known as Azure
473: [23:42:55] * Stomach has joined #silverstripe
474: [23:43:58] * Stomach quit (Client Quit)
475: [23:47:27] <Kimyeti> I'm hoping there is a kind person out there who has time to help a noob :) I've just installed a fresh copy of SS, but the admin area is really buggy. When I click "save and publish" nothing happends. No page reloads or anything, and when I click on something else an alert box appears and says "the changes has not been saved". Any ideas on how to fix this? Thank you
476: [23:52:32] <Kimyeti> The same issue occurs in 3 browers and I've tried to reinstall SS multiple times.

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