#silverstripe IRC Log

IRC log for 18 May 2014

All timestamps are in UTC.

1: [00:12:08] * DesignerX has joined #silverstripe
2: [01:21:39] * joelpittet quit (Remote host closed the connection)
3: [01:24:33] * UncleCheese quit (Quit: UncleCheese)
4: [01:27:15] * UncleCheese has joined #silverstripe
5: [01:35:58] * Ryan-Toast has joined #silverstripe
6: [01:36:09] <Ryan-Toast> Sup
7: [01:44:09] * simon_w isn't
8: [01:44:39] * Ryan-Toast Is
9: [02:06:41] * oskarholo quit (Quit: bye)
10: [02:08:18] <Ryan-Toast> simon_w: Do you know how to set the email that the reset password link comes from? Unknown sender is a little bad.
11: [02:08:32] <simon_w> Ryan-Toast, admin email setting on the Email class
12: [02:09:02] <Ryan-Toast> simon_w: Can I add that as a config?
13: [02:09:20] <simon_w> Depends what you mean by config
14: [02:09:30] <Ryan-Toast> config.yml or any equivilent
15: [02:10:00] <simon_w> yes
16: [02:10:40] <Ryan-Toast> So would be Email: admin_email: -email@email.com?
17: [02:11:44] <simon_w> Well, it's a string not an array
18: [02:11:58] <simon_w> And you'd probably want to check what the key's actually called
19: [02:12:38] <Ryan-Toast> simon_w: I meant like this: http://pastebin.com/L8Rj6ebG
20: [02:13:01] <simon_w> Like I said, it's a string, not an array
21: [02:13:12] <Ryan-Toast> Confuse.
22: [02:13:40] <simon_w> That syntax is treating Email.admin_email as an array and appending email@email.com to it
23: [02:13:48] <Ryan-Toast> Ah
24: [02:14:17] * joelpittet has joined #silverstripe
25: [02:14:38] <Ryan-Toast> simon_w: So like this? http://pastebin.com/piZfVcrY
26: [02:14:55] <simon_w> yes
27: [02:14:59] <simon_w> quotes are optional
28: [02:15:15] <Ryan-Toast> Swish, cheers :)
29: [02:19:54] * oskarholo has joined #silverstripe
30: [02:45:56] * oskarholo has left #silverstripe
31: [02:48:50] * Ryan-Toast quit (Quit: Leaving)
32: [03:06:46] * UncleCheese quit (Quit: UncleCheese)
33: [03:17:59] * CodeTrap quit (Ping timeout: 245 seconds)
34: [03:19:11] * CodeTrap has joined #silverstripe
35: [03:55:15] * cloph_away has joined #silverstripe
36: [03:55:26] * cloph quit (Ping timeout: 255 seconds)
37: [05:18:41] * camfindlay has joined #silverstripe
38: [05:57:25] * camfindlay quit (Quit: camfindlay)
39: [06:24:33] * camfindlay has joined #silverstripe
40: [06:47:40] * joelpittet quit ()
41: [07:18:07] * Error404NotFound has joined #silverstripe
42: [07:18:24] * camfindlay quit (Quit: camfindlay)
43: [07:43:56] * guci0 has joined #silverstripe
44: [07:44:05] <guci0> Hello all!
45: [08:32:19] * UncleCheese_ has joined #silverstripe
46: [08:32:26] * spronk2 has joined #silverstripe
47: [08:37:22] * SightUnseen has joined #silverstripe
48: [08:37:32] * SightUnseen has left #silverstripe
49: [08:38:56] * Shrike_Finland has joined #silverstripe
50: [08:41:49] * Error404NotFound quit (Quit: User guilty of hitting the Big Red X...)
51: [09:09:57] * Error404NotFound has joined #silverstripe
52: [09:20:15] * Error404NotFound quit (Ping timeout: 252 seconds)
53: [09:28:46] * Shrike_Finland quit (Quit: Leaving.)
54: [11:05:53] * UncleCheese_ quit (Quit: UncleCheese_)
55: [11:26:54] * Shrike_Finland has joined #silverstripe
56: [11:31:56] * Shrike_Finland quit (Quit: Leaving.)
57: [11:32:39] <oetiker> hello
58: [11:32:56] <oetiker> I am playing with the subsites module
59: [11:33:54] <oetiker> unless I modify the RewriteRule to include SubsiteID=1 all request get served by the Main site ... can I somehow make sure that the main site NOT gets the requests ?
60: [11:35:06] * Shrike_Finland has joined #silverstripe
61: [11:36:34] <oetiker> it seems I can define domains for the subsite but not for the main site ...
62: [11:52:08] * Shrike_Finland quit (Quit: Leaving.)
63: [12:01:38] * simon_w quit (Quit: This computer has gone to sleep)
64: [12:07:33] * Shrike_Finland has joined #silverstripe
65: [12:36:22] * lucido has joined #silverstripe
66: [12:57:07] * DesignerX quit (Ping timeout: 240 seconds)
67: [14:26:09] * spronk2 quit (Quit: spronk2)
68: [14:27:13] * Shrike_Finland quit (Quit: Leaving.)
69: [14:30:27] * lucido quit (Ping timeout: 252 seconds)
70: [14:34:33] * Shrike_Finland has joined #silverstripe
71: [14:39:45] * kerozene_ has joined #silverstripe
72: [14:44:20] * kerozene_ is now known as BarkChudson
73: [14:44:50] * BarkChudson is now known as Guest80721
74: [14:45:07] * Guest80721 quit (Changing host)
75: [14:45:07] * Guest80721 has joined #silverstripe
76: [14:45:07] * Guest80721 quit (Changing host)
77: [14:45:07] * Guest80721 has joined #silverstripe
78: [14:46:01] * Guest80721 is now known as BarkChudson
79: [15:28:46] * babak has joined #silverstripe
80: [15:57:24] * Shrike_Finland quit (Quit: Leaving.)
81: [16:03:53] * gelignite has joined #silverstripe
82: [16:19:11] * Error404NotFound has joined #silverstripe
83: [17:31:03] * Error404NotFound quit (Quit: User guilty of hitting the Big Red X...)
84: [17:36:38] * Shrike_Finland has joined #silverstripe
85: [17:47:32] * BarkChudson quit (Quit: Connection closed for inactivity)
86: [18:26:06] * anselmdk has joined #silverstripe
87: [18:56:12] * Error404NotFound has joined #silverstripe
88: [19:04:37] * anselmdk quit (Quit: anselmdk)
89: [19:10:27] * UncleCheese_ has joined #silverstripe
90: [19:10:52] * UncleCheese_ quit (Client Quit)
91: [19:15:30] * qlex has joined #silverstripe
92: [19:15:37] * qlex says hi
93: [19:24:54] <qlex> is there anyone here who could help me out with two things (l18n of a module that's not seems to be working and permission issues) ?
94: [19:41:48] <qlex> noone ?
95: [20:08:56] <qlex> i need tyo come back tomorrow. talk later !
96: [20:16:44] * anselmdk has joined #silverstripe
97: [20:25:33] * qlex has left #silverstripe
98: [20:25:48] * gelignite quit (Quit: http://bit.ly/nkczDT)
99: [20:28:52] * anselmdk quit (Quit: anselmdk)
100: [20:36:15] * nickmolhoek has joined #silverstripe
101: [20:39:23] * Ryan-Toast has joined #silverstripe
102: [20:51:59] <Ryan-Toast> Morning, chaps.
103: [20:52:02] <Stomach> how do
104: [20:52:14] <Ryan-Toast> Avergae, had like 10 minute dreams all nightg.
105: [20:52:56] <Stomach> good ones at least? :D
106: [20:53:27] <Ryan-Toast> One of them lightning strikes were exploding 4x4s into mushroom clouds. Was interesting.
107: [20:53:51] <Stomach> pretty sure that means you need to take more drugs
108: [20:54:30] <Ryan-Toast> Man, I had heaps but I can’t remmeber shit.
109: [20:54:54] <Stomach> I haven't remembered a dream in forever
110: [20:55:01] <Ryan-Toast> I remember driving to the mountain and shomeone sent me a snapchat video of there being no snow, and I was sad.
111: [21:01:48] <Stomach> weird :S
112: [21:08:20] * UncleCheese has joined #silverstripe
113: [21:11:32] * bridgetm has joined #silverstripe
114: [21:28:38] * babak quit (Quit: Connection closed for inactivity)
115: [21:31:08] <spronk> o_O
116: [21:41:43] <Stomach> O_o
117: [21:43:13] <Ryan-Toast> I have a many_many that wont save :(
118: [21:43:21] <Ryan-Toast> No errors, just doen’t do anything
119: [21:44:04] <Ryan-Toast> Is there a way I can force an error to tell me what I’m doing wrong?
120: [21:45:47] <UncleCheese> Ryan-Toast: PPRC
121: [21:46:00] <UncleCheese> i just invented a new acronym!
122: [21:46:04] <UncleCheese> i hope it catches on
123: [21:46:17] <UncleCheese> Please Post Relevant Code
124: [21:46:18] <UncleCheese> thoughts?
125: [21:46:27] <UncleCheese> eh, screw you guys. i'm using it
126: [21:46:31] <Ryan-Toast> UncleCheese: Lol, I googled it and it came up with Peer to Peer Remote Copy
127: [21:46:35] <UncleCheese> !!!!!
128: [21:47:08] <UncleCheese> woudl you be able to peer-to-peer remote copy me the code?
129: [21:47:27] <Ryan-Toast> Categories: http://pastebin.com/0VWWrM9X
130: [21:47:35] <Ryan-Toast> Products: http://pastebin.com/UGchmWAg
131: [21:47:48] <Ryan-Toast> The many_many that isn’t working is the productCategories
132: [21:48:05] <Ryan-Toast> The listbox works, and populates but on save doesn’t save the values
133: [21:48:14] <Ryan-Toast> on the productPage that is
134: [21:49:21] <UncleCheese> you've got a many_many on both sides of the relationship?
135: [21:49:36] <UncleCheese> yeah, dude, this is effed
136: [21:49:45] <UncleCheese> you've got a belongs_many_many product pages and a many_many product pages
137: [21:50:25] <Ryan-Toast> UncleCheese: That works fine, just not the categories :P
138: [21:50:43] <Ryan-Toast> S one sis ovverriding the other?
139: [21:50:57] <UncleCheese> not the categories, where?
140: [21:51:45] <Ryan-Toast> belongs 'ProductCategories' => 'ProductCategory'
141: [21:51:48] <UncleCheese> you can't manage a belongs_many_many
142: [21:52:16] <UncleCheese> belongs_many_many is for the other side of the relationship, and it essentially just creates a magic method for you
143: [21:52:26] <UncleCheese> but it doesn't do anything to the database
144: [21:52:30] <Ryan-Toast> So I don’t need the amany_many on the category?
145: [21:53:08] <Ryan-Toast> The category has a 'ProductPages' => 'ProductPage' which makes the databose rows, doesn’t it?
146: [21:53:24] <UncleCheese> the update you need to make is
147: [21:53:47] <UncleCheese> On ProductPage, move the productCategories relation from belongs_many_many to many_many
148: [21:54:00] <UncleCheese> and on ProductCategory, move ProductPages from many_many to belongs_many_many
149: [21:54:29] <UncleCheese> many_many is what alters the database.. belongs_ is just semantic
150: [21:55:10] <UncleCheese> incidentially, that's how you can create a many_many to a class that you don't control, e.g. File. Because it's not compulsory that File have a belongs_many_many
151: [21:55:53] <Ryan-Toast> UncleCheese: Ah, right. I see what you mean. I was doing it the wrong way around
152: [21:56:33] <UncleCheese> the belongs_ declaration will be useful to you, however, when you're on a category page and you want to get all the products
153: [21:57:31] <Ryan-Toast> UncleCheese: Database changed, but it doesn’t seem to save
154: [22:06:16] <Ryan-Toast> UncleCheese: Why is it that it works for industryPages, but not productCategories?
155: [22:06:20] <Ryan-Toast> So confuise.
156: [22:06:23] <Ryan-Toast> confuse.
157: [22:12:37] * antmas has joined #silverstripe
158: [22:13:33] * Zauberfisch quit (*.net *.split)
159: [22:13:33] * Giganaire quit (*.net *.split)
160: [22:13:33] * unsignedint quit (*.net *.split)
161: [22:13:33] * eagles0513875 quit (*.net *.split)
162: [22:13:34] * Error404NotFound quit (*.net *.split)
163: [22:13:35] * ezero quit (*.net *.split)
164: [22:13:36] * TRB143 quit (*.net *.split)
165: [22:13:37] * guzzlefry quit (*.net *.split)
166: [22:13:37] * Shrike_Finland quit (*.net *.split)
167: [22:13:37] * marvanni quit (*.net *.split)
168: [22:17:29] <Ryan-Toast> rabble rabble
169: [22:19:36] * Error404NotFound has joined #silverstripe
170: [22:19:36] * Shrike_Finland has joined #silverstripe
171: [22:19:36] * eagles0513875 has joined #silverstripe
172: [22:19:36] * unsignedint has joined #silverstripe
173: [22:19:36] * Giganaire has joined #silverstripe
174: [22:19:36] * Zauberfisch has joined #silverstripe
175: [22:19:36] * TRB143 has joined #silverstripe
176: [22:19:36] * guzzlefry has joined #silverstripe
177: [22:19:36] * ezero has joined #silverstripe
178: [22:19:36] * marvanni has joined #silverstripe
179: [22:21:44] * UncleCheese quit (Quit: UncleCheese)
180: [22:22:46] * ss23 quit (Read error: Operation timed out)
181: [22:24:01] * ss23 has joined #silverstripe
182: [22:32:06] <Ryan-Toast> if a product many_many 'AdditionalCategories' => 'ProductCategory' if I were to filter products in the category, would I: filter('AdditionalCategories.ID', $this->ID)?
183: [22:32:15] <Ryan-Toast> Because that seems to give me a sql error
184: [22:35:30] * an_Eskimo has joined #silverstripe
185: [22:38:14] * UncleCheese has joined #silverstripe
186: [22:38:15] <UncleCheese> Ryan-Toast: you get it sorted?
187: [22:38:33] <Ryan-Toast> UncleCheese: I got it to save, now just figuring out the filter :)
188: [22:38:59] <Ryan-Toast> UncleCheese: Turns out I just needed to rename the ‘RenamedtoThis’ -> ‘CategoryPage’
189: [22:39:31] <UncleCheese> oh there you go
190: [22:39:39] <ss23> Get sorted.org.nz!
191: [22:39:52] <Ryan-Toast> but now my mysql filter has an error, which I’m trying to debug.
192: [22:39:57] <Ryan-Toast> Fucking Mondays.
193: [22:40:12] <ss23> lol
194: [22:40:17] <Ryan-Toast> It doesn’t like this: ProductPage::get()->filter(array('AdditionalCategories.ID' => $this->ID)
195: [22:40:19] <ss23> #fuckmondays
196: [22:40:23] <ss23> I'm like garfield, but I hate every day.
197: [22:40:49] <Ryan-Toast> ss23: https://www.youtube.com/watch?v=LJeYnj2sc68
198: [22:41:21] <ss23> lol yeah
199: [22:41:27] * DesignerX has joined #silverstripe
200: [22:41:32] <ss23> gazorpazorp!
201: [22:41:53] <Ryan-Toast> I love hwow that whole episode was improv
202: [22:42:01] <ss23> lol
203: [22:42:02] <ss23> ikr
204: [22:42:34] <Ryan-Toast> UncleCheese: Any idea why this is not playing nice? ProductPage::get()->filter(array('AdditionalCategories.ID' => $this->ID)
205: [22:43:03] <UncleCheese> eh
206: [22:43:15] <UncleCheese> i don't think that's the correct syntad
207: [22:43:15] <UncleCheese> x
208: [22:43:34] * Shrike_Finland quit (Quit: Leaving.)
209: [22:43:45] <Ryan-Toast> Pretty sure it is, well it follows the syntax in the docs
210: [22:44:30] <UncleCheese> I think you want
211: [22:45:45] <UncleCheese> well
212: [22:45:46] <UncleCheese> why not
213: [22:46:08] <Ryan-Toast> I do indeed want.
214: [22:46:41] <UncleCheese> why can't you just do $this->ProductPages()?
215: [22:46:47] <UncleCheese> i'm assuming $this is a ProductCategory
216: [22:47:54] * Ryan-Toast opens mouth
217: [22:48:01] * Ryan-Toast closes mouth
218: [22:48:03] <Ryan-Toast> Oh.
219: [22:48:05] <Ryan-Toast> Right.
220: [22:48:08] <Ryan-Toast> :P
221: [22:48:14] <Ryan-Toast> FOR GLORY!
222: [22:48:47] <Ryan-Toast> + /u/UncleCheese 9 doge verify
223: [22:48:54] <Ryan-Toast> UncleCheese: Cheers, man :)
224: [22:48:56] <Ryan-Toast> <3
225: [22:49:39] <UncleCheese> what the flying fuck is doge verify?
226: [22:49:50] <ss23> lol
227: [22:49:54] <ss23> poor UncleCheese isn't hip enough
228: [22:50:29] <spronk> VERY MONEY
229: [22:50:31] <spronk> SUCH COIN!
230: [22:52:15] <Ryan-Toast> such UncleCheese help.
231: [22:52:16] <Ryan-Toast> wow
232: [22:54:22] <spronk> http://images.fineartamerica.com/images-medium-5/-dogue-vogue-matheo-montes.jpg
233: [22:58:15] * Colin[pi] has joined #silverstripe
234: [22:58:25] <spronk> https://www.youtube.com/watch?v=JofRc_qQCAs
235: [22:58:32] <Colin[pi]> morning all
236: [22:58:35] <Colin[pi]> HI ANTMAS
237: [23:01:12] <ss23> dude
238: [23:01:12] <ss23> 13 minutes of that, spronk?
239: [23:02:19] <spronk> its fucking hilaaaarious
240: [23:08:28] <Stomach> such cheese, much uncle
241: [23:09:03] <spronk> VERY STOMACH
242: [23:11:32] * simon_w has joined #silverstripe
243: [23:11:48] <antmas> Colin[pi]: Howdy!
244: [23:11:54] <antmas> morning all
245: [23:12:18] * guci0 quit (Ping timeout: 240 seconds)
246: [23:12:29] <simon_w> Whoa, Colin[pi] got in before me!
247: [23:12:39] <Colin[pi]> simon_w: not difficult ;P
248: [23:15:00] <Ryan-Toast> antmas: How did BP go?
249: [23:15:25] <Ryan-Toast> I noticed a bug with the cms, the Security extension is still pulling in main.min.css after a while.
250: [23:15:51] <Colin[pi]> spronk: lol good vid, that last woman was a bitch
251: [23:19:37] <Colin[pi]> my PC showed nothing on the screen this morning, sphincter clenching moment
252: [23:20:15] <Colin[pi]> seemed it got confused and was defaulting to sending the display to the blu-ray/tv
253: [23:21:48] <ss23> simon_w is slacking off
254: [23:21:53] <simon_w> Yup
255: [23:22:01] <simon_w> Getting out of bed is hard :p
256: [23:22:07] <ss23> Know that feeling
257: [23:26:19] <Colin[pi]> esp. winter in Canberra... cold out of bed.. "ehhh I'll just stay a bit longer"
258: [23:26:30] <Colin[pi]> 2 hours later... "well shit"
259: [23:26:31] <ss23> "SpaceX achieved orbital flight, with less capital than Pintrest has raised to allow people to pin photos ($764 million)."
260: [23:26:43] <Stomach> :D
261: [23:26:49] <Colin[pi]> ss23: wow, that's... um, hmm
262: [23:27:01] <simon_w> Oh, the cold's not the problem :p
263: [23:27:14] <Colin[pi]> simon_w: laziness?
264: [23:27:22] <simon_w> Cuddles!
265: [23:27:31] <Colin[pi]> oh, yeah I know what you mean ;P
266: [23:27:45] <Colin[pi]> "cuddles"
267: [23:27:46] <Colin[pi]> ;D
268: [23:27:58] <Ryan-Toast> Is it possible to set a url to generate breadcrumbs?
269: [23:28:34] <Stomach> what?
270: [23:28:48] * antmas quit (Ping timeout: 240 seconds)
271: [23:28:51] * antmas_ has joined #silverstripe
272: [23:29:14] <Ryan-Toast> I assume breadcrumbs are generated by url, so can you parse a url to the breadcrumbs function, or should I just make my own?
273: [23:29:16] <antmas_> Ryan-Toast: pretty good
274: [23:29:34] <antmas_> Ryan-Toast: the site will be pretty basic, with some funky back end things
275: [23:29:36] <Stomach> breadcrumbs are generated by the position in site tree
276: [23:30:48] <Ryan-Toast> Stomach: Ah, right.
277: [23:31:11] <Stomach> line 710 of SiteTree.php
278: [23:49:28] * babak has joined #silverstripe
279: [23:49:34] * UncleCheese quit (Quit: UncleCheese)
280: [23:56:12] <Giganaire> morning chaps
281: [23:56:59] <antmas_> Giganaire: le moin
282: [23:57:06] * antmas_ is now known as antmas
283: [23:57:39] * UncleCheese_ has joined #silverstripe

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