#silverstripe IRC Log

IRC log for 5 February 2016

All timestamps are in UTC.

1: [00:00:09] * DanaeNZ has joined #silverstripe
2: [00:06:30] * bjbk has joined #silverstripe
3: [00:06:44] <bjbk> hey all
4: [00:08:37] <bjbk> Does anyone know if there is a way to designate a portion of the template should not be attempted to be processed by SS's template renderer?
5: [00:09:10] <bjbk> Specifically I have a JS plugin which uses moustache templates - but they use the same sort of syntax that SS templates do - so if I include it, SS tries to render it and cries
6: [00:15:01] * muskie9 has joined #silverstripe
7: [00:25:32] * vitaly_ has joined #silverstripe
8: [00:27:01] * Stomach quit (Quit: zzz)
9: [00:29:17] * camfindlay has joined #silverstripe
10: [00:35:52] * AliAlamshahi quit (Quit: Leaving)
11: [00:37:35] <muskie9> if I have a controller that runs a task I built (didn't have cli access initially) and I have a Permission::check('ADMIN') for restricting who can run it, is there an alternative to check if it's being accessed via cli/sake?
12: [00:37:50] * Phlunk3 has joined #silverstripe
13: [00:39:29] * Stomach has joined #silverstripe
14: [00:50:13] * mahfuz has joined #silverstripe
15: [01:05:54] <muskie9> found it... Director::is_cli()
16: [01:06:17] * Ali_Alamshahi has joined #silverstripe
17: [01:07:49] * Mondi has joined #silverstripe
18: [01:11:05] * Mondi quit (Client Quit)
19: [01:11:36] * Mondi has joined #silverstripe
20: [01:12:25] * Mondi quit (Client Quit)
21: [01:20:05] * Mondi has joined #silverstripe
22: [01:22:01] * Mondi quit (Client Quit)
23: [01:22:24] * Tanger has joined #silverstripe
24: [01:22:28] * Mondi has joined #silverstripe
25: [01:31:59] * Mondi_ has joined #silverstripe
26: [01:40:26] <Mondi_> not working
27: [01:41:48] <Mondi_> Sorry - connection seems to be fickle here. Could anyone help with a blog issue please - no delete/publish/save?
28: [01:54:18] * Azure|dc quit (Ping timeout: 272 seconds)
29: [01:56:26] * Azure has joined #silverstripe
30: [02:11:49] * Mondi quit (Quit: Page closed)
31: [02:26:10] * spronk quit (Quit: I may need a longer sleep timer...)
32: [02:34:14] * whatever has joined #silverstripe
33: [02:34:38] * whatever is now known as Guest95584
34: [02:34:44] <Guest95584> Hey guys!
35: [02:34:55] * Guest95584 is now known as Something
36: [02:34:58] <Something> Hey
37: [02:42:55] * gordon has joined #silverstripe
38: [02:43:19] * gordon is now known as Guest88462
39: [02:48:28] * Guest88462 is now known as nontgor
40: [02:52:02] * kerozene quit (Read error: Connection reset by peer)
41: [02:56:10] * kerozene has joined #silverstripe
42: [03:16:30] * spekulatius has joined #silverstripe
43: [03:31:13] <DanaeNZ> it's cider time
44: [03:31:15] <DanaeNZ> what a week
45: [03:31:30] <DanaeNZ> I realised halfway through the day that I was a bit hungover
46: [03:31:37] * spekulatius quit (Quit: Leaving)
47: [03:31:50] * helenclarko quit (Read error: Connection reset by peer)
48: [03:34:30] <vitaly_> I just reloaded my computer and mysql stopped working. Love it
49: [03:34:50] <DanaeNZ> my favbe
50: [03:34:53] <DanaeNZ> fave* even
51: [03:35:05] <DanaeNZ> you know what you gotta do?
52: [03:35:07] <DanaeNZ> restart again
53: [03:36:01] <vitaly_> Actually will do that, have nothing to lose anyway haha
54: [03:36:06] * spronk has joined #silverstripe
55: [03:36:23] <DanaeNZ> unless it doesn't turn on again
56: [03:38:08] * vitaly_ quit (Quit: Leaving...)
57: [03:40:15] * bjbk quit (Ping timeout: 252 seconds)
58: [03:43:09] * vitaly_ has joined #silverstripe
59: [03:50:18] * kerozene quit (Read error: Connection reset by peer)
60: [03:50:23] * bjbk has joined #silverstripe
61: [03:53:56] * Tanger quit (Ping timeout: 256 seconds)
62: [03:54:47] * Tanger has joined #silverstripe
63: [03:54:51] * Phlunk3 quit (Quit: Leaving)
64: [03:56:00] * micmania1 quit (Quit: micmania1)
65: [03:58:24] * kerozene has joined #silverstripe
66: [04:01:54] * DanaeNZ quit (Quit: TIME TO FEED)
67: [04:03:16] * kerozene quit (Ping timeout: 248 seconds)
68: [04:10:44] * vitaly_ quit (Quit: Leaving...)
69: [04:12:56] * kerozene has joined #silverstripe
70: [04:15:29] * spronk quit (Quit: I may need a longer sleep timer...)
71: [04:19:18] * mahfuz quit (Ping timeout: 252 seconds)
72: [04:25:21] * bjbk quit (Ping timeout: 252 seconds)
73: [04:34:26] * camfindlay quit (Quit: camfindlay)
74: [04:52:00] * Ali_Alamshahi quit (Quit: Leaving)
75: [05:04:42] * kerozene quit (Read error: Connection reset by peer)
76: [05:15:46] * kerozene has joined #silverstripe
77: [05:45:18] * Liquide has joined #silverstripe
78: [06:07:51] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
79: [06:19:12] * Mondi_ quit (Ping timeout: 252 seconds)
80: [06:22:05] * Liquide quit ()
81: [06:32:21] * wmk has joined #silverstripe
82: [06:36:19] * Stomach quit (Quit: zzz)
83: [06:45:42] <Tanger> Before I go down the rabbit hole, does anybody know why DataObject::get would cause PopulateDefaults to be triggered?
84: [06:49:51] * spronk has joined #silverstripe
85: [07:00:19] * Stomach has joined #silverstripe
86: [07:12:18] <wmk> Tanger, what?
87: [07:12:53] <wmk> sounds like some misconfiguration in your code or some module, but normally it should be triggered by dev/build, not by ::get()
88: [07:13:12] <Tanger> wmk: I was calling ListObject::get() in populateDefaults(), where ListObject is my DataObject. And I kept getting max recursion errors.
89: [07:13:27] <Tanger> Because it kept calling populateDefaults
90: [07:13:29] <Tanger> Yeah
91: [07:13:51] <wmk> in ListObject::populateDefaults() ?
92: [07:14:12] * Something quit (Ping timeout: 252 seconds)
93: [07:14:14] <wmk> maybe you should check if the DB table is existing etc...
94: [07:16:18] <Tanger> Yeah, in ListObject::populateDefaults(). The table exists, but I hadn’t dev/built after adding in populatedefaults()
95: [07:16:34] <wmk> !debug Tanger
96: [07:16:45] <wmk> hey - where is helper?
97: [07:16:53] <wmk> well, Tanger, xdebug is your friend in this case
98: [07:17:44] <Tanger> Yeah, I guess I might do me some delving to see what I’ve buggered up. Thanks wmk!
99: [07:17:59] <wmk> ;)
100: [07:33:50] * Eliseth has joined #silverstripe
101: [07:38:28] * spronk quit (Quit: I may need a longer sleep timer...)
102: [07:41:58] * Stomach quit (Quit: zzz)
103: [08:17:20] * arnhoe has joined #silverstripe
104: [08:41:44] <Firesphere> Hello world
105: [09:00:56] * Tanger quit (Quit: Tanger)
106: [09:39:31] * Frans_Amsterdam has joined #silverstripe
107: [09:39:57] * swaiba has joined #silverstripe
108: [09:43:44] <Frans_Amsterdam> Hi, What is the best approach to perform a custom action on a dataObject from within the CMS?
109: [09:49:13] <swaiba> Frans_Amsterdam - http://api.silverstripe.org/master/class-GridFieldButtonRow.html ?
110: [09:51:47] <Frans_Amsterdam> swaiba That a possibilty I did not think of. But I would like to trigger the action from within the edit form of the DataObject. Is that possible?
111: [09:52:20] <swaiba> Frans_Amsterdam - everything is possible, they are form actions you'll be after then
112: [09:52:35] <swaiba> also I often do what I can an "on after write hack"
113: [09:53:08] <swaiba> which means I have a check box and a bunch of fields added to the edit form, then on before write if that item is checked I can use the data from teh fields to perform an action
114: [09:53:19] <swaiba> but I'm not sure it's like, everyones taste
115: [09:54:44] <Frans_Amsterdam> swaiba yes, every thing is possible. That why I like to extend my skills. But on after write is always triggered. I would like to the content of the dataObject by mail. Optional.
116: [09:55:11] <swaiba> Frans_Amsterdam - form actions you'll be after then
117: [09:55:35] <swaiba> http://api.silverstripe.org/3.1/class-FormAction.html
118: [09:56:37] * kinglozzer has joined #silverstripe
119: [09:57:38] <kinglozzer> Bug of the day award goes to https://github.com/silverstripe/silverstripe-framework/issues/5014#issuecomment-180278298
120: [09:59:29] <swaiba> OMFG
121: [10:00:36] <Frans_Amsterdam> swaiba I have tried this, but I could not add the button. I used te function getCMSActions. No Button appears.
122: [10:06:22] <swaiba> !paste Frans_Amsterdam
123: [10:09:27] <Frans_Amsterdam> swaiba I've sis a past: http://www.sspaste.com/paste/show/56b4747342ff5 At the bottom I'm trying to add the button that should trigger the action.
124: [10:13:22] <wmk> swaiba, seems helper is on a carneval party
125: [10:13:24] <wmk> !party
126: [10:14:24] <wmk> 🎉
127: [10:34:43] <wmk> anyone has an idea if we can make an <a href="tel:"> easily in cms? the ui doesn't cover this yet
128: [10:41:17] * MarkGuin_ has joined #silverstripe
129: [10:41:54] <swaiba> sorry Frans_Amsterdam - as I said I do something else - my way of saying I know about this, but you'll need someone elses help to actaully get it working
130: [10:42:05] <swaiba> wmk party? where?
131: [10:42:51] <wmk> ain't carneval this weekend?
132: [10:51:24] <swaiba> wmk I don't know of any here in brizzle, there must be one somewhere tho
133: [10:51:36] * Werner_2_ has joined #silverstripe
134: [10:51:39] * Werner_2_ quit (Client Quit)
135: [11:12:13] * FrozenFire quit (Ping timeout: 264 seconds)
136: [11:17:07] * FrozenFire has joined #silverstripe
137: [11:22:01] * wmk quit (Ping timeout: 245 seconds)
138: [11:51:08] * MarkGuin_ quit ()
139: [11:52:31] * m-re has joined #silverstripe
140: [12:46:20] <nontgor> top bug kinglozzer :)
141: [12:54:46] * nontgor quit (Ping timeout: 252 seconds)
142: [12:59:49] * shellbackpacific has joined #silverstripe
143: [13:00:46] * ^pH has joined #silverstripe
144: [13:05:15] * DimiStripe quit (Quit: DimiStripe)
145: [13:20:16] * UndefinedOffset has joined #silverstripe
146: [13:45:07] * swaiba quit (Remote host closed the connection)
147: [13:48:39] * wmk has joined #silverstripe
148: [13:55:41] * ss32noob has joined #silverstripe
149: [13:56:50] <ss32noob> hi everyone. has someone encountered an issue in silverstripe assets wherein you upload an image.. and instead of putting it in assets/Uploads.. it created different assets/Uploads-1.. assets/Uploads-2 etc.. folder in every image you upload?
150: [14:03:09] * ss32noob_ has joined #silverstripe
151: [14:04:18] <ss32noob_> <ss32noob> hi everyone. has someone encountered an issue in silverstripe assets wherein you upload an image.. and instead of putting it in assets/Uploads.. it created different assets/Uploads-1.. assets/Uploads-2 etc.. folder in every image you upload?
152: [14:09:18] * gordon has joined #silverstripe
153: [14:09:42] * gordon is now known as Guest98602
154: [14:12:01] * Guest98602 is now known as nontgor
155: [14:14:27] * kinglozzer quit ()
156: [14:19:11] * kinglozzer has joined #silverstripe
157: [15:00:05] * micmania1 has joined #silverstripe
158: [15:06:40] * micmania1 quit (Ping timeout: 250 seconds)
159: [15:07:06] * micmania1 has joined #silverstripe
160: [15:17:34] * micmania1 quit (Quit: micmania1)
161: [15:17:52] * Mike123 has joined #silverstripe
162: [15:48:27] * Mike123 quit (Ping timeout: 252 seconds)
163: [15:59:04] * cloph quit (Ping timeout: 250 seconds)
164: [16:00:31] * cloph_away has joined #silverstripe
165: [16:00:40] * Frans_Amsterdam quit (Quit: Textual IRC Client: www.textualapp.com)
166: [16:05:18] * UndefinedOffset quit (Disconnected by services)
167: [16:05:18] * UndefinedOffset1 has joined #silverstripe
168: [16:14:31] * Eliseth quit (*.net *.split)
169: [16:14:37] * arnhoe quit ()
170: [16:16:44] * r_hector has joined #silverstripe
171: [16:17:29] * kinglozzer quit ()
172: [16:33:00] * ss32noob quit (Ping timeout: 252 seconds)
173: [16:34:06] * ss32noob_ quit (Ping timeout: 252 seconds)
174: [16:36:13] * UndefinedOffset1 quit (Quit: Leaving.)
175: [16:36:20] * cloph_away quit (Remote host closed the connection)
176: [16:38:30] * BrewNaked quit ()
177: [16:38:34] * CodeTrap has joined #silverstripe
178: [16:54:13] * UndefinedOffset has joined #silverstripe
179: [17:09:24] * CodeTrap quit (Ping timeout: 248 seconds)
180: [17:09:35] * r3v3rb has joined #silverstripe
181: [17:09:36] * cloph_away has joined #silverstripe
182: [17:09:41] <r3v3rb> evening
183: [17:15:01] * cloph_away is now known as cloph
184: [17:25:38] * Ali_Alamshahi has joined #silverstripe
185: [17:25:50] * CodeTrap has joined #silverstripe
186: [17:26:03] * CodeTrap quit (Client Quit)
187: [17:30:35] <r3v3rb> if I have a setup like this: http://imgur.com/K0uEMUs
188: [17:31:37] <r3v3rb> how can I show when viewing the donations of an individual a supporter the ‘clients’ associated to that donation?
189: [17:32:19] <r3v3rb> so i clicked on a supporter and then on the donations tab then the donation itself - the supporters appears blank!
190: [17:34:15] * m-re quit (Ping timeout: 240 seconds)
191: [17:58:54] <r3v3rb> actually its this model : http://imgur.com/VWpGIBI
192: [18:15:56] <r3v3rb> ignore above waffle - i have fixed this! lmao
193: [18:16:05] <r3v3rb> been a long day… with no coffee
194: [18:16:06] * gelignite has joined #silverstripe
195: [18:16:10] * r3v3rb quit (Quit: r3v3rb)
196: [18:29:26] * BrewNaked has joined #silverstripe
197: [18:36:38] <BrewNaked> Morning/afternoon/evening all...
198: [18:37:36] * Ali_Alamshahi quit (Ping timeout: 252 seconds)
199: [19:15:42] * Stomach has joined #silverstripe
200: [19:27:02] * krofek quit (Read error: Connection reset by peer)
201: [19:29:52] * krofek has joined #silverstripe
202: [19:31:11] * Ali_Alamshahi has joined #silverstripe
203: [19:36:56] * muskie9 has joined #silverstripe
204: [19:40:44] * captain_carrots has joined #silverstripe
205: [19:41:42] <captain_carrots> am i the only one experiencing a problem adding site search functionality?
206: [19:42:20] <captain_carrots> when i rebuild the database, it errors out before finishing
207: [19:58:52] <Ali_Alamshahi> hello everyone
208: [19:59:26] <Ali_Alamshahi> I'm creating a module, can someone help me?
209: [20:02:20] <Ali_Alamshahi> I need a developer to check a few things and provide me with solutions
210: [20:03:09] <cloph> you should alwasy state what you tried, what error you get/what exactly you want to know. broad questions such as "why doesn't xy work" or "I need help" are unlikely to get any reply.
211: [20:08:30] <captain_carrots> i for one have included FulltextSearchable::enable(); into my _config.php. But when i rebuild the database it gives me a server error when it would normally begin adding database tables.
212: [20:15:04] * Stomach quit (Quit: zzz)
213: [20:18:01] <Ali_Alamshahi> Hello cloph
214: [20:18:54] <cloph> no implication that I'd answer personally, but even if someone wanted to offer help, without providing the actual problem there's nothing to do.
215: [20:19:36] <cloph> Experience shows that helping users that don't tell the actual error message is very time consuming.. That's why many wait until there's an actual question before replying...
216: [20:23:52] <Ali_Alamshahi> thanks, I have many problems, dont know which one to point to! can you please check https://github.com/alialamshahi/silverstripe-directory
217: [20:24:12] <Ali_Alamshahi> trying to create a directory module
218: [20:24:45] <Ali_Alamshahi> I've managed to create interfaces to define categories and listings
219: [20:25:05] <Ali_Alamshahi> and a template which shows a paginated result
220: [20:25:43] <Ali_Alamshahi> now I want to move forward with letting people browse the categories and see the listings in each of them
221: [20:26:05] <Ali_Alamshahi> I'm not a developer, I'm just a designer in need of such module
222: [20:26:44] <Ali_Alamshahi> so I need someone with PHP expertise to check my code, and just guide me through how I can achive what I want
223: [20:26:55] <Ali_Alamshahi> I'll then build it myself
224: [20:31:25] * Stomach has joined #silverstripe
225: [21:15:14] * Stomach quit (Quit: zzz)
226: [21:22:33] * micmania1 has joined #silverstripe
227: [22:08:23] * UndefinedOffset quit (Quit: Leaving.)
228: [22:13:06] * micmania1 quit (Quit: micmania1)
229: [22:14:07] * micmania1 has joined #silverstripe
230: [22:16:25] * Ali_Alamshahi quit (Quit: Leaving)
231: [22:24:41] * Embraden quit (Read error: Connection reset by peer)
232: [22:26:07] * Embraden has joined #silverstripe
233: [22:30:21] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
234: [22:53:15] <Firesphere> woah, no log for the whole evening?
235: [22:53:53] <Firesphere> Hmmm....
236: [22:54:05] <Firesphere> Ah, scrolling was broken again
237: [22:54:07] <Firesphere> Hello world
238: [23:15:55] * joelpittet has joined #silverstripe
239: [23:23:08] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
240: [23:41:22] * Stomach has joined #silverstripe
241: [23:41:53] * micmania1 quit (Quit: micmania1)
242: [23:46:04] * Stomach quit (Read error: Connection reset by peer)
243: [23:47:47] * micmania1 has joined #silverstripe
244: [23:52:55] * Stomach has joined #silverstripe
245: [23:58:28] * Stomach quit (Ping timeout: 248 seconds)
246: [23:59:42] <Firesphere> I guess nobody here again. Not even the sofa moving

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