#silverstripe IRC Log

IRC log for 25 March 2016

All timestamps are in UTC.

1: [00:00:54] * Azure quit (Ping timeout: 260 seconds)
2: [00:03:53] * Azure has joined #silverstripe
3: [00:15:36] * MichalKleiner has joined #silverstripe
4: [00:20:18] * MichalKleiner quit (Ping timeout: 276 seconds)
5: [00:20:40] * oddnoc quit (Quit: yawn!)
6: [00:39:37] * torican has joined #silverstripe
7: [00:40:31] * oddnoc has joined #silverstripe
8: [00:53:53] * oddnoc quit (Quit: yawn!)
9: [01:19:59] * Azure|dc has joined #silverstripe
10: [01:21:30] * Azure quit (Ping timeout: 244 seconds)
11: [01:22:34] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
12: [02:01:42] * JackOconnor quit (Quit: Leaving)
13: [02:13:38] * sunzofman has joined #silverstripe
14: [02:16:15] * MichalKleiner has joined #silverstripe
15: [02:20:25] * MichalKleiner quit (Ping timeout: 244 seconds)
16: [02:38:59] * Azure|dc is now known as Azure
17: [02:50:34] * Firesphere_ has joined #silverstripe
18: [03:03:00] * Firesphere_ quit (Read error: No route to host)
19: [03:04:07] * Firesphere_ has joined #silverstripe
20: [03:15:10] <ss-helper> A <% wrap %> method for template parser - https://groups.google.com/d/msg/silverstripe-dev/S2fAgIh49IQ/U5kidc8GBwAJ
21: [03:21:08] * Firesphere_ quit (Ping timeout: 240 seconds)
22: [03:23:24] * Firesphere_ has joined #silverstripe
23: [03:23:36] <Firesphere_> Hello world\
24: [03:24:48] <vanny> hey fire
25: [03:28:25] * Firesphere_ quit (Remote host closed the connection)
26: [03:40:37] * UncleCheese has joined #silverstripe
27: [03:42:30] * UncleCheese quit (Client Quit)
28: [03:45:10] <ss-helper> Difference between created response in Silverstripe - http://stackoverflow.com/questions/36213660/difference-between-created-response-in-silverstripe
29: [04:00:11] <ss-helper> Re: A <% wrap %> method for template parser - https://groups.google.com/d/msg/silverstripe-dev/S2fAgIh49IQ/iGbtEVQJBwAJ
30: [04:16:58] * MichalKleiner has joined #silverstripe
31: [04:21:28] * MichalKleiner quit (Ping timeout: 264 seconds)
32: [04:45:11] <ss-helper> Adding member to a group when registering them? - http://stackoverflow.com/questions/36214098/adding-member-to-a-group-when-registering-them
33: [05:17:43] * MichalKleiner has joined #silverstripe
34: [05:22:19] * MichalKleiner quit (Ping timeout: 244 seconds)
35: [06:27:49] * UncleCheese has joined #silverstripe
36: [06:39:35] * Stomach has joined #silverstripe
37: [06:49:26] * Agilix_ has joined #silverstripe
38: [06:59:58] * marvanni has joined #silverstripe
39: [07:04:56] * torican quit (Ping timeout: 250 seconds)
40: [07:07:46] * Mike123 has joined #silverstripe
41: [07:30:12] * BrewNaked quit (Read error: Connection reset by peer)
42: [07:30:49] * BrewNaked has joined #silverstripe
43: [07:33:53] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
44: [07:35:27] * UncleCheese has joined #silverstripe
45: [07:49:07] * arnhoe has joined #silverstripe
46: [07:53:02] <Mike123> hey guys
47: [08:19:02] * MichalKleiner has joined #silverstripe
48: [08:23:41] * MichalKleiner quit (Ping timeout: 268 seconds)
49: [08:36:34] * marvanni has left #silverstripe
50: [08:40:05] * UncleCheese quit (Quit: Textual IRC Client: www.textualapp.com)
51: [09:14:05] <Agilix_> Anyone have an idea: https://github.com/silverstripe/silverstripe-blog/issues/389 ?
52: [09:31:33] * Mike123 quit (Quit: Page closed)
53: [09:31:51] * Mike123 has joined #silverstripe
54: [09:34:08] * Stomach quit (Quit: zzz)
55: [09:39:50] * Blacklite quit (Ping timeout: 240 seconds)
56: [09:46:19] * Blacklite has joined #silverstripe
57: [09:58:11] * brasileric has joined #silverstripe
58: [09:59:58] <brasileric> good morning
59: [10:03:12] <brasileric> I'm looking to a way to get the id of the parent dataobject in a has_one relation child dataobject before write for the first time. It is in the url (...EditForm/field/PresetProgram/item/1/ItemEditForm...) so I can parse, but maybe there is a cleaner way?
60: [10:11:24] <arnhoe> $this->Parent()->ID should do ?
61: [10:11:34] <arnhoe> or the name of the has_one relation
62: [10:11:42] <arnhoe> $this->DataObject()->ID
63: [10:19:59] * MichalKleiner has joined #silverstripe
64: [10:20:22] <brasileric> tried that already, but doesn't give the id, only after saving
65: [10:24:42] * MichalKleiner quit (Ping timeout: 260 seconds)
66: [10:35:39] <Agilix_> anyone have experience with integrating magnews
67: [10:54:34] <arnhoe> brasileric: through onbeforewrite you could get the ID
68: [10:56:20] <brasileric> yes, but i need it in the form, so before the user clicks Save
69: [10:57:03] <Agilix_> is it to specify a child or?
70: [11:03:06] <brasileric> to get a value from the parent in the form
71: [11:04:37] <brasileric> well, gonna try with a session set in the parent. Maybe later i find a cleaner solution
72: [11:19:38] * Azure quit (Quit: My Mac has gone to sleep. ZZZzzz…)
73: [11:20:37] <Mike123> firstDay : 1 , on DateField doesnt work , SS 3.3.1
74: [11:21:00] <Mike123> how can i overwrite settings file ?
75: [11:28:14] <brasileric> then next question :) : how can i get the id of the new written dataobject in onAfterWrite? just $this->ID doesn't give me the new id
76: [11:34:58] <brasileric> excuse: i had i mistake in my code $this->ID works well in onAfterWrite
77: [11:53:00] * brasileric quit (Remote host closed the connection)
78: [12:07:41] * Copperis has joined #silverstripe
79: [12:11:35] * MichalKleiner has joined #silverstripe
80: [12:15:58] * MichalKleiner quit (Ping timeout: 248 seconds)
81: [12:32:29] * CodeTrap has joined #silverstripe
82: [13:11:56] * muskie9 has joined #silverstripe
83: [14:12:21] * MichalKleiner has joined #silverstripe
84: [14:16:33] * MichalKleiner quit (Ping timeout: 240 seconds)
85: [14:19:18] * darjus01 has joined #silverstripe
86: [14:30:01] * muskie9 quit (Quit: My Mac has gone to sleep. ZZZzzz…)
87: [14:30:50] * muskie9 has joined #silverstripe
88: [14:38:12] * Agilix_ quit (Ping timeout: 250 seconds)
89: [14:57:12] * CodeTrap quit (Quit: CodeTrap)
90: [15:25:01] * vanny quit (Quit: Page closed)
91: [15:26:08] * arnhoe quit ()
92: [15:26:31] * Azure has joined #silverstripe
93: [15:28:05] * MichalKleiner has joined #silverstripe
94: [15:31:20] * wilson has joined #silverstripe
95: [15:31:43] * wilson is now known as Guest32036
96: [15:32:00] <Guest32036> Hi to all, i want to send an email to all members/groups. Is this the right place to look for infos? => https://docs.silverstripe.org/en/3.3/developer_guides/email/
97: [15:32:53] * MichalKleiner quit (Ping timeout: 268 seconds)
98: [15:35:07] <muskie9> Guest32036 that'll get you started with setting up the actual email
99: [15:35:58] <Guest32036> <muskie9>What do you suggest? Building a separate page (protected) where the owner of the site would build his text and send mail to all members? Or other?
100: [15:36:48] <muskie9> we've used this before: https://github.com/silverstripe-labs/silverstripe-newsletter
101: [15:38:06] <muskie9> would likely handle what you're going for... otherwise, ya... you could build a page to put in the content for the email, then loop through the members and send the email to each of them, something like this: https://gist.github.com/muskie9/5048a2385af8cbff1771
102: [15:38:34] <Guest32036> <muskie9>Hummm... remember this module. I dont need such a fancy thing. Just a plain PHP class that would look thru all members, get their emails, add a message and send it.
103: [15:38:56] <muskie9> check my gist then... that's pretty much what you just said
104: [15:39:34] <Guest32036> <muskie9>Great! Thanks!
105: [15:39:38] <muskie9> sure
106: [15:39:48] * gelignite has joined #silverstripe
107: [15:40:05] * Guest32036 quit (Quit: Page closed)
108: [15:43:18] * Azure quit (Read error: Connection reset by peer)
109: [16:11:01] * oddnoc has joined #silverstripe
110: [16:14:19] * darjus01 quit (Read error: Connection reset by peer)
111: [16:15:42] * Mike123 quit (Ping timeout: 250 seconds)
112: [16:20:10] * Azure has joined #silverstripe
113: [16:40:08] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
114: [16:41:03] * Azure quit (Quit: My Mac has gone to sleep. ZZZzzz…)
115: [16:59:10] * muskie9 has joined #silverstripe
116: [17:15:23] <ss-helper> Actions of Conrollers not working in SIlverstripe - http://stackoverflow.com/questions/36224495/actions-of-conrollers-not-working-in-silverstripe
117: [17:21:10] * muskie9 quit (Quit: My Mac has gone to sleep. ZZZzzz…)
118: [17:28:52] * MichalKleiner has joined #silverstripe
119: [17:33:23] * MichalKleiner quit (Ping timeout: 248 seconds)
120: [17:49:25] * oddnoc quit (Quit: yawn!)
121: [17:58:45] * muskie9 has joined #silverstripe
122: [18:06:19] * oddnoc has joined #silverstripe
123: [19:07:17] * oddnoc quit (Quit: yawn!)
124: [19:29:37] * MichalKleiner has joined #silverstripe
125: [19:34:15] * MichalKleiner quit (Ping timeout: 244 seconds)
126: [19:35:05] * Stomach has joined #silverstripe
127: [19:45:46] * UncleCheese has joined #silverstripe
128: [20:16:16] * oddnoc has joined #silverstripe
129: [20:30:27] * MichalKleiner has joined #silverstripe
130: [20:34:45] * MichalKleiner quit (Ping timeout: 244 seconds)
131: [20:45:27] <ss-helper> Actions of Controllers not working in SIlverstripe - http://stackoverflow.com/questions/36224495/actions-of-controllers-not-working-in-silverstripe
132: [20:56:43] * Stomach quit (Quit: zzz)
133: [21:00:27] <ss-helper> How do I access status code and body inside my default template? - http://stackoverflow.com/questions/36227894/how-do-i-access-status-code-and-body-inside-my-default-template
134: [21:10:38] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
135: [21:50:37] * BrewNake_ has joined #silverstripe
136: [21:51:47] * Azure has joined #silverstripe
137: [21:54:06] * BrewNaked quit (Ping timeout: 246 seconds)
138: [21:54:46] * BrewNake_ quit (Ping timeout: 252 seconds)
139: [22:01:31] * CodeTrap has joined #silverstripe
140: [22:03:15] * CodeTrap quit (Client Quit)
141: [22:04:29] * BrewNaked has joined #silverstripe
142: [22:40:38] * UncleCheese has joined #silverstripe
143: [22:53:54] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
144: [23:00:02] * ss-helper quit (Remote host closed the connection)
145: [23:00:18] * ss-helper has joined #silverstripe
146: [23:05:50] * Azure quit (Quit: My Mac has gone to sleep. ZZZzzz…)
147: [23:22:32] * kerozene is now known as tay
148: [23:50:15] * UncleCheese quit (Read error: Connection reset by peer)

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