#silverstripe IRC Log

IRC log for 2 November 2015

All timestamps are in UTC.

1: [00:00:34] * ss23 sips coke
2: [00:04:26] <DanaeNZ> i had a gander at the skyrim stuff Mighty Ape is selling
3: [00:04:36] <DanaeNZ> I want that Daedric statuette so bad
4: [00:04:44] <DanaeNZ> https://www.mightyape.co.nz/product/Skyrim-Daedric-Armor-Statue/24025916
5: [00:04:48] <DanaeNZ> but hot. damn.
6: [00:04:50] <DanaeNZ> that price
7: [00:05:03] * Azure quit (Ping timeout: 255 seconds)
8: [00:31:26] * pbnj4640 has joined #silverstripe
9: [00:33:30] <pbnj4640> does anyone know of a way to remove parts of the url segment on all the links?
10: [00:33:51] * pbnj4640 quit (Client Quit)
11: [00:34:06] * pbnj4640 has joined #silverstripe
12: [00:34:09] <pbnj4640> i have my htaccess setup to rewrite my url from www.mywebsite.com/silverstripe/ to www.mywebsite.com/
13: [00:34:30] <pbnj4640> but any links i click on take me to www.mywebsite.com/silverstripe/link
14: [00:37:51] * pbnj4640 quit (Client Quit)
15: [00:38:11] * pbnj4640 has joined #silverstripe
16: [00:39:17] * Azure has joined #silverstripe
17: [00:41:56] * pbnj4640 quit (Client Quit)
18: [00:42:14] * pbnj4640 has joined #silverstripe
19: [00:45:59] * pbnj4640 quit (Client Quit)
20: [00:46:18] * pbnj4640 has joined #silverstripe
21: [00:47:00] * pbnj4640 quit (Client Quit)
22: [00:47:14] * pbnj4640 has joined #silverstripe
23: [00:47:15] * pbnj4640 quit (Client Quit)
24: [00:47:33] * pbnj4640 has joined #silverstripe
25: [00:47:34] * pbnj4640 quit (Client Quit)
26: [00:48:06] * pbnj4640 has joined #silverstripe
27: [00:49:24] * pbnj4640 quit (Client Quit)
28: [00:49:39] * pbnj4640 has joined #silverstripe
29: [00:51:25] * pbnj4640 quit (Client Quit)
30: [00:51:46] * pbnj4640 has joined #silverstripe
31: [00:53:28] * pbnj4640 quit (Client Quit)
32: [00:53:58] * pbnj4640 has joined #silverstripe
33: [00:55:28] * pbnj4640 quit (Client Quit)
34: [00:55:46] * pbnj4640 has joined #silverstripe
35: [00:55:47] * pbnj4640 quit (Client Quit)
36: [00:56:03] * pbnj4640 has joined #silverstripe
37: [00:57:30] * pbnj4640 quit (Client Quit)
38: [00:57:51] * pbnj4640 has joined #silverstripe
39: [00:59:25] * pbnj4640 quit (Client Quit)
40: [00:59:44] * pbnj4640 has joined #silverstripe
41: [00:59:44] * pbnj4640 quit (Client Quit)
42: [00:59:58] * pbnj4640 has joined #silverstripe
43: [01:04:22] * pbnj4640 quit (Client Quit)
44: [01:05:07] * pbnj4640 has joined #silverstripe
45: [01:05:19] * pbnj4640 quit (Client Quit)
46: [01:05:34] * pbnj4640 has joined #silverstripe
47: [01:06:30] * pbnj4640 quit (Client Quit)
48: [01:06:47] * pbnj4640 has joined #silverstripe
49: [01:07:01] * pbnj4640 quit (Client Quit)
50: [01:07:39] * pbnj4640 has joined #silverstripe
51: [01:09:08] * joelpittet has joined #silverstripe
52: [01:19:50] * pbnj4640 has joined #silverstripe
53: [01:20:29] * pbnj4640 quit (Client Quit)
54: [01:20:35] * joelpittet quit (Remote host closed the connection)
55: [01:20:43] * pbnj4640 has joined #silverstripe
56: [01:29:32] * pbnj4640 has joined #silverstripe
57: [01:33:49] <DanaeNZ> pbnj4640 pls
58: [01:34:53] * pbnj4640 has joined #silverstripe
59: [01:35:25] * pbnj4640 quit (Client Quit)
60: [01:35:42] <ss23> Fixed
61: [01:35:43] <ss23> ^.^
62: [01:35:54] <DanaeNZ> woohhoo
63: [01:36:12] * novaweb quit ()
64: [01:36:21] * spronk quit (Quit: I may need a longer sleep timer...)
65: [01:37:54] * spronk has joined #silverstripe
66: [01:44:58] * antons has joined #silverstripe
67: [01:49:57] <antons> Question - if I have a FieldList from $fields = parent::getCMSFields(), can I change the order of the FormFields? I can't see an obvious way to do this in the API
68: [01:55:06] <antons> Never mind, found the function http://api.silverstripe.org/3.2/source-class-FieldList.html#_changeFieldOrder
69: [02:00:27] * antons quit (Quit: Page closed)
70: [02:10:35] * spronk quit (Quit: I may need a longer sleep timer...)
71: [02:29:43] * r_hector has joined #silverstripe
72: [02:32:06] * spronk has joined #silverstripe
73: [02:34:01] * covalent has joined #silverstripe
74: [02:34:29] <covalent> Hi, all! I have a quick question about deleting pages in v3.2. How???
75: [02:36:29] <spronk> bang bang
76: [02:36:32] <spronk> covalent ask away
77: [02:36:44] <spronk> oh
78: [02:36:45] <spronk> how?
79: [02:36:53] <covalent> That's the one. lol
80: [02:36:58] <spronk> from the ui?
81: [02:37:43] <spronk> in the cms ui, there's a more options button
82: [02:37:46] <spronk> that opens up a couple of buttons
83: [02:37:52] <spronk> where you can archive and unpublish
84: [02:38:13] <spronk> once you've unpublsihed i think it'll give you a delete from draft site option
85: [02:39:01] <covalent> Yes. Archive is the only option I have ( I never actually published the page). Do I need to publish, unpublish, and then see if there is a delete from draft site option?
86: [02:39:56] <spronk> ohh
87: [02:40:05] <spronk> maybe archive replaced delete from draft site?
88: [02:40:06] * spronk shrugfs
89: [02:42:21] <covalent> I guess... Do you know if there is a way to delete it from the archive?
90: [02:50:35] <spronk> well
91: [02:50:45] <spronk> ss hasn't really ever had a proper full get rid of it completely style delete..
92: [02:52:53] * nontgor quit (Ping timeout: 268 seconds)
93: [03:05:11] * nontgor has joined #silverstripe
94: [03:19:21] <Stomach_> anyone noticed the "overwrite" button not coming up on sites recently?
95: [03:50:11] * Stomach_ is now known as Stomach
96: [04:00:27] * covalent quit (Ping timeout: 246 seconds)
97: [04:00:53] * jules0x quit (Quit: Leaving)
98: [04:05:08] * micmania1 quit (Quit: micmania1)
99: [04:34:36] * AlphaCactus quit (Read error: Connection reset by peer)
100: [04:35:48] * AlphaCactus has joined #silverstripe
101: [05:02:10] * ss23 quit (Ping timeout: 240 seconds)
102: [05:03:05] * ss23 has joined #silverstripe
103: [05:27:29] * Stomach quit (Quit: zzz)
104: [05:52:57] * DanaeNZ quit (Remote host closed the connection)
105: [05:54:33] * mahfuz quit (Ping timeout: 246 seconds)
106: [06:03:56] * Stomach has joined #silverstripe
107: [06:30:26] * r_hector quit (Ping timeout: 240 seconds)
108: [06:39:28] * Stomach quit (Quit: zzz)
109: [06:41:44] * Motoservo quit (Quit: Shhh. I'm trying to get some sleep here.)
110: [06:43:25] * joelpittet has joined #silverstripe
111: [06:51:47] * Motoservo has joined #silverstripe
112: [06:52:21] * Stomach has joined #silverstripe
113: [06:54:24] * micmania1 has joined #silverstripe
114: [06:57:19] * Tanger has joined #silverstripe
115: [07:12:39] * Stomach quit (Quit: bye)
116: [07:16:34] * spronk quit (Quit: I may need a longer sleep timer...)
117: [07:20:28] * Mike123 has joined #silverstripe
118: [07:20:34] <Mike123> Morning
119: [07:20:55] * spronk has joined #silverstripe
120: [07:34:39] * AlphaCactus quit (Read error: Connection reset by peer)
121: [07:35:09] * AlphaCactus has joined #silverstripe
122: [07:35:52] * Eliseth has joined #silverstripe
123: [07:40:51] <Tanger> Oooh boy, something looks like it's overwriting Parent on one of my classes. getParent() seems to work fine though -_-
124: [07:41:29] * DanaeNZ has joined #silverstripe
125: [07:45:51] * DanaeNZ quit (Ping timeout: 255 seconds)
126: [07:52:39] * joelpittet quit (Remote host closed the connection)
127: [07:56:41] * arnhoe has joined #silverstripe
128: [08:05:42] * Eliseth quit (Quit: Textual IRC Client: www.textualapp.com)
129: [08:12:39] * spronk quit (Quit: I may need a longer sleep timer...)
130: [08:13:10] * swaiba has joined #silverstripe
131: [08:17:17] * Eliseth has joined #silverstripe
132: [08:21:28] * Eliseth quit (Client Quit)
133: [08:22:34] * micmania1 quit (Ping timeout: 260 seconds)
134: [08:22:51] * micmania1 has joined #silverstripe
135: [08:26:11] <Tanger> ss23: Hey man, I have an odd situation where something's overriding Parent. getParent() works fine and Parent seems to call getParent at some point, but they both return different results from the same object. I'm using SS 3.2 and lumberjack. Any ideas?
136: [08:26:42] <ss23> Hmm
137: [08:27:21] <ss23> Not really sorry. All I can think is just like... var_dump or xdebug etc to find out what it's calling really? Could be an extension or something I gues?
138: [08:28:44] * Motoservo quit (Quit: Shhh. I'm trying to get some sleep here.)
139: [08:28:46] <swaiba> yeah possibly a method called "Parent" or "GetParent" knocking about would cause problems Tanger
140: [08:29:02] <Tanger> swaiba: My first thought. Can't for the life of me find anything
141: [08:29:32] <swaiba> well it's all int he grep
142: [08:29:55] <swaiba> but if nothing then, turn debugging to the max!
143: [08:30:17] <swaiba> a good place is where the "magic" is handled
144: [08:30:29] <swaiba> i.e. where it checks for the method, then the relationships, etc
145: [08:30:54] * zippy has joined #silverstripe
146: [08:37:02] <zippy> eveni
147: [08:41:20] <swaiba> zippy o/
148: [08:43:12] <zippy> got a weird issue with a site
149: [08:43:21] <zippy> the base tag has index.php in it, so it's all broken
150: [08:43:38] <zippy> if I remove the index.php file from root, then I get an 404 - but I can access /admin/etc
151: [08:43:42] <zippy> freaking weird
152: [08:43:50] <zippy> tried doing RewriteBase / but no good
153: [08:45:29] <Tanger> zippy: New server? Missing a php module or two
154: [08:45:48] <zippy> which module? mod rewrite is installed and working because /admin/ works
155: [08:55:09] * Mike123 quit (Ping timeout: 246 seconds)
156: [08:58:10] * Eliseth has joined #silverstripe
157: [09:00:38] * Mike123 has joined #silverstripe
158: [09:01:54] * Guits quit (Ping timeout: 255 seconds)
159: [09:05:45] <zippy> what causes the index.php to be there...
160: [09:06:00] <micmania1> zippy: do you have an .htaccess?
161: [09:06:08] <zippy> yes
162: [09:06:30] <micmania1> what version of ss you using?
163: [09:06:33] <zippy> I've read that you can delete it, which is fun, but why does it sometimes show and sometimes not
164: [09:06:36] <zippy> 3.1.6
165: [09:07:14] <micmania1> Try updatig the .htaccess to this: https://github.com/silverstripe/silverstripe-installer/blob/3.1.15/.htaccess
166: [09:07:38] <micmania1> See if that works. There was an issue with apache 2.4 where it read index.php before .htaccess rewrite rules which has since been fixed.
167: [09:08:03] <micmania1> I used to just delete index.php to fix it
168: [09:10:20] <zippy> yea that sorts it, just turning off that DirectoryIndex sorted it
169: [09:12:05] * micmania1 quit (Quit: micmania1)
170: [09:32:29] * kinglozzer has joined #silverstripe
171: [09:34:26] * DimiStripe has joined #silverstripe
172: [09:45:00] * r_hector has joined #silverstripe
173: [09:45:14] * zippy quit (Quit: Textual IRC Client: www.textualapp.com)
174: [09:49:33] * Copperis has joined #silverstripe
175: [09:52:21] * r_hector quit (Remote host closed the connection)
176: [09:55:37] * stnvh has joined #silverstripe
177: [09:56:43] * Otterpocket has joined #silverstripe
178: [10:36:24] * Kapdap quit (Remote host closed the connection)
179: [11:00:50] * jadajada has joined #silverstripe
180: [11:01:34] <jadajada> Hi, how can I get the current page name inside a controller? $page->Name does not seem to work.
181: [11:05:37] <swaiba> jadajada - Director::get_current_page( )->Name ?
182: [11:07:45] <swaiba> SQL Question!
183: [11:08:20] * jadajada quit (Quit: jadajada)
184: [11:08:33] <swaiba> if I have an arbitrary week start (e.g. Tuesday) how can I translate all date fields to week start date / week end date?
185: [11:09:01] <swaiba> Assuming just ability to get the week start, the weekend should be just + INTERVAL DAY 6
186: [11:09:23] <swaiba> Currently I'm looking at a case statement and I'd prefer something more elegant
187: [11:30:01] * jadajada has joined #silverstripe
188: [11:30:05] <jadajada> swaiba: thank you.
189: [11:33:45] * jadajada quit (Client Quit)
190: [11:36:33] * r_hector has joined #silverstripe
191: [11:41:22] * r_hector quit (Ping timeout: 268 seconds)
192: [11:41:50] * r_hector has joined #silverstripe
193: [11:45:31] * jadajada has joined #silverstripe
194: [11:51:09] * Copperis quit (Quit: Leaving)
195: [12:04:38] <jadajada> swaiba: Director::get_current_page()->Title
196: [12:04:42] <jadajada> But thanks anyway :-)
197: [12:05:50] <swaiba> jadajada sure, I did think that!
198: [12:10:02] * Tanger quit (Quit: Tanger)
199: [12:14:29] * MarkGuinn has joined #silverstripe
200: [12:21:23] * jadajada quit (Quit: jadajada)
201: [12:22:54] * jadajada has joined #silverstripe
202: [12:29:12] * r_hector quit (Remote host closed the connection)
203: [13:12:39] * cloph_away is now known as cloph
204: [13:29:45] * UndefinedOffset has joined #silverstripe
205: [13:35:37] * jadajada quit (Quit: jadajada)
206: [13:37:11] * jadajada has joined #silverstripe
207: [13:41:41] * SH__ has joined #silverstripe
208: [13:42:15] <SH__> Hey guys ive got a module which adds a page type to my project. I dont want this, but i dont want to edit directly in the module either. Any ideas on how to remove this pagetype from being created, by using a DataExtension maybe?
209: [13:42:40] * jadajada quit (Quit: jadajada)
210: [13:50:44] * hmm has joined #silverstripe
211: [13:50:44] <ss-helper> hmm: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
212: [13:53:40] * hmm quit (Client Quit)
213: [13:54:49] <swaiba> SH__ you'll need to find the requireDefaultRecords function making the page
214: [13:55:07] <swaiba> then sub class it, set silverstripe to use this class instead of the orginial
215: [13:55:16] <swaiba> and in the subclass change the requiredefault records
216: [13:57:21] <swaiba> for more detail on how to do this, please see kinglozzer talk on it here https://vimeo.com/143267909
217: [14:04:12] * Mike123 quit (Ping timeout: 246 seconds)
218: [14:16:21] <SH__> swaiba: Thanks, funny I was actually there for the talk..
219: [14:27:53] * jadajada has joined #silverstripe
220: [14:30:27] * jadajada quit (Client Quit)
221: [14:52:39] * jadajada has joined #silverstripe
222: [14:52:43] * jadajada quit (Client Quit)
223: [15:15:49] * Motoservo has joined #silverstripe
224: [15:22:03] * Motoservo quit (Quit: Shhh. I'm trying to get some sleep here.)
225: [15:24:14] <kinglozzer> oh boy
226: [15:24:31] <kinglozzer> site with multiform, never set up the "purge" cron task
227: [15:24:43] <kinglozzer> 50,000 rows of session data... oops :P
228: [15:32:03] * Kingy[a] quit (Ping timeout: 255 seconds)
229: [15:32:48] * Kingy[a] has joined #silverstripe
230: [15:35:19] * Otterpocket quit (*.net *.split)
231: [15:35:21] * Zauberfisch quit (*.net *.split)
232: [15:35:21] * neilf_ quit (*.net *.split)
233: [15:41:28] * Otterpocket has joined #silverstripe
234: [15:41:28] * Otterpocket quit (Changing host)
235: [15:41:28] * Otterpocket has joined #silverstripe
236: [15:44:19] * neilf_ has joined #silverstripe
237: [15:45:19] * Zauberfisch has joined #silverstripe
238: [16:05:29] <Otterpocket> anybody here used this https://github.com/patjnr/silverstripe-owlcarousel ?
239: [16:09:50] * Eliseth quit (Ping timeout: 240 seconds)
240: [16:12:17] * joelpittet has joined #silverstripe
241: [16:12:39] <Otterpocket> Anyway, my question is, how do you use it?
242: [16:13:07] <swaiba> Otterpocket best to ask the author in this case I think
243: [16:13:19] <swaiba> and if anything comes up maybe help him add it ot the readme
244: [16:13:27] * Kingy[a] quit (Ping timeout: 255 seconds)
245: [16:14:21] * Kingy[a] has joined #silverstripe
246: [16:14:57] <Otterpocket> I just wondered if it is incomplete or a standard way to load stuff on SS https://github.com/patjnr/silverstripe-owlcarousel/blob/master/code/OwlCarousel.php
247: [16:15:27] <Otterpocket> Oh actually I see I just need to add it as an Extension
248: [16:34:20] * arnhoe quit ()
249: [16:48:59] * Embraden quit (Read error: Connection reset by peer)
250: [16:49:19] * Embraden has joined #silverstripe
251: [16:49:20] * Embraden quit (Changing host)
252: [16:49:20] * Embraden has joined #silverstripe
253: [16:53:57] * SH__ quit (Ping timeout: 246 seconds)
254: [17:06:45] * swaiba quit (Remote host closed the connection)
255: [17:14:17] * Motoservo has joined #silverstripe
256: [17:26:51] * Motoservo quit (Read error: Connection reset by peer)
257: [17:29:43] * Motoservo has joined #silverstripe
258: [17:30:33] * kinglozzer quit ()
259: [17:31:34] * stnvh quit (Quit: quit)
260: [17:32:54] * Otterpocket quit (Quit: Leaving)
261: [17:38:24] * Motoservo quit (Read error: Connection reset by peer)
262: [17:40:15] * joelpittet quit (Remote host closed the connection)
263: [18:34:50] * DanaeNZ has joined #silverstripe
264: [18:39:10] * DanaeNZ quit (Ping timeout: 250 seconds)
265: [18:52:12] * Guits has joined #silverstripe
266: [18:55:45] <Guits> Help! I suddenly cannot add fields (db) to a class onDev/build .. the fields are printed in green but then I get " Unknown column 'CustomerGroup.HasSocialActive'" and no fields are created in DB
267: [18:56:07] <Guits> When I create a new class with exactly same code, there is no error
268: [19:01:52] * joelpittet has joined #silverstripe
269: [19:12:06] * Stomach has joined #silverstripe
270: [19:30:46] * helenclarko has joined #silverstripe
271: [19:35:03] * gelignite has joined #silverstripe
272: [19:50:57] * AlphaCactus quit (Remote host closed the connection)
273: [19:51:06] * Stomach quit (Quit: zzz)
274: [19:51:26] <Firesphere> Hello folks
275: [19:52:02] <Firesphere> Sounds like an issue with dependencies Guits
276: [19:52:27] <Firesphere> The fetch is done before the actual build probably.
277: [19:52:28] <Guits> How do you meen?
278: [19:52:55] <Firesphere> Build tries to set a relation, on a field that doesn't exist yet.
279: [19:53:12] <Firesphere> Easiest solution is to add the field to your database manually and then run a dev/build.
280: [19:53:44] <Guits> Yes, that works but I still cannot understand why
281: [19:55:01] * Stomach has joined #silverstripe
282: [19:56:08] <Firesphere> The field appearantly has a relation. SilverStripe tries to build the relation, before the field exists.
283: [19:56:17] <Firesphere> This causes an SQL error (obviously)
284: [19:56:45] <Firesphere> There are multiple reasons, but a relation-error is the most common.
285: [19:57:40] <Firesphere> I do not have a better explanation, since I have encountered the same issue as well and do not have any further answers.
286: [20:03:07] <Guits> ...it works when I am not logged in ..
287: [20:17:02] * micmania1 has joined #silverstripe
288: [20:17:56] * novaweb has joined #silverstripe
289: [20:26:22] <Firesphere> Hey micmania1, novaweb
290: [20:26:29] <novaweb> Yow yow yow
291: [20:26:32] <micmania1> Firesphere: areet
292: [20:26:56] <novaweb> gwan then
293: [20:29:20] <Firesphere> You guys all seen the videos from StripeCon? Very informative, even though I might not be the one to promote them :P
294: [20:29:24] * PapaBearNZ has joined #silverstripe
295: [20:30:10] <Firesphere> ss23, madmatt, could either one of you update the URL for "EU Conf: {link}" to "StripeCon EU: https://stripecon.eu"?
296: [20:33:22] * DanaeNZ has joined #silverstripe
297: [20:37:20] <PapaBearNZ> Good morning! I'm trying to find the code snippet that lets me add a message to the top of the edit form in the cms - The technique the CMS uses to put the "Saved %classname% "%instancename%" message on save. My google-fu is lacking this morning.
298: [20:38:10] <PapaBearNZ> I've currently been using the http_respose header which triggers the small black error message that flashes up briefly and then disappears. But this is not suitable for the requirement.
299: [20:38:29] <PapaBearNZ> Could someone point me in the right direction please? SS3.1.x
300: [20:45:03] * MarkGuinn quit (Ping timeout: 260 seconds)
301: [20:49:29] * spronk has joined #silverstripe
302: [20:51:34] * micmania1 quit (Quit: micmania1)
303: [20:59:15] * micmania1 has joined #silverstripe
304: [21:07:18] * DanaeNZ quit (Remote host closed the connection)
305: [21:08:28] * DanaeNZ has joined #silverstripe
306: [21:10:07] * UndefinedOffset quit (Quit: Leaving.)
307: [21:16:58] * jadajada has joined #silverstripe
308: [21:17:54] * muskie9 has joined #silverstripe
309: [21:18:15] <jadajada> Hi, I’ve upgraded to SS 3.1.6 and switched to Nginx. I’m using the SS Nginx config, but for some reason my images aren’t being resampled anymore, so no thumbs in the CMS etc. File upload completes though, but it’s odd that it’s not working anymore. Anyone has an idea?
310: [21:21:45] <jadajada> SS 3.1.6. does not seem to be the issue. On my dev machine it’s working. Must be something in Nginx or it affects something. I’ve tried adding the _resampled directory to the directory where the files are uploaded to, but still no luck.
311: [21:21:58] <PapaBearNZ> Never mind everyone - I found it. I got the current controller - used getEditForm() to get the form and then set the error message on the form. Done :)
312: [21:28:50] * Stomach quit (Quit: zzz)
313: [21:35:12] * mine has joined #silverstripe
314: [21:35:13] <ss-helper> mine: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
315: [21:38:54] * jadajada quit (Quit: jadajada)
316: [21:39:01] * Stomach has joined #silverstripe
317: [21:40:25] * jadajada has joined #silverstripe
318: [21:43:45] * mine quit (Ping timeout: 246 seconds)
319: [21:49:20] <ss-helper> Re: [silverstripe-dev] Re: RFC: Adding ReactJS to SilverStripe CMS - https://groups.google.com/d/msg/silverstripe-dev/WcjutNP-raQ/p3zY3XgdAgAJ
320: [21:52:06] * jadajada quit (Quit: jadajada)
321: [21:54:42] * jadajada has joined #silverstripe
322: [21:57:18] <DanaeNZ> \o
323: [21:59:59] * mahfuz has joined #silverstripe
324: [22:15:34] * Stomach quit (Quit: zzz)
325: [22:16:30] * jadajada quit (Quit: jadajada)
326: [22:18:20] * jadajada has joined #silverstripe
327: [22:19:21] <ss-helper> Re: [silverstripe-dev] Re: RFC: Adding ReactJS to SilverStripe CMS - https://groups.google.com/d/msg/silverstripe-dev/WcjutNP-raQ/Dop1wfQeAgAJ
328: [22:23:53] * cloph is now known as cloph_away
329: [22:23:53] * jadajada quit (Quit: jadajada)
330: [22:35:29] * jadajada has joined #silverstripe
331: [22:36:09] * jadajada quit (Client Quit)
332: [22:43:01] * zippy has joined #silverstripe
333: [22:43:43] <zippy> best scss variable name ever. $yellowish
334: [22:43:46] <zippy> Ryan would be proud
335: [22:43:59] <zippy> ss-helper: you ever leave?
336: [22:45:59] <muskie9> anyone ever do translations or fluent with subsites
337: [22:48:03] <DanaeNZ> muskie9: what do you need to know?
338: [22:48:32] <muskie9> if anyone's had issues having subsites where each subsite had translations
339: [22:48:48] <muskie9> scoping a project, just don't want to back myself into a corner
340: [22:49:41] <DanaeNZ> oh i don't know if I've done both at once
341: [22:49:46] <DanaeNZ> CWP has both though
342: [22:49:50] <DanaeNZ> find the CWP peeps
343: [23:03:59] <micmania1> muskie9: I’ve done it before. It worked out ok I guess. It was a ss 2.4 site though so not sure if anything has changed
344: [23:04:41] <muskie9> thanks, I'm gonna look through subsites, translatable and fluent to see if there are any glaring tickets
345: [23:05:29] <micmania1> I think you can set the language per subsite. Not 100% sure though - probably easiest to just setup a test site and see whats there.
346: [23:14:27] * justanidiot has joined #silverstripe
347: [23:14:27] <ss-helper> justanidiot: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
348: [23:15:02] <justanidiot> Hey all - I have a stupid problem. I just want to be able to print $Pos+1 and $Pos+2 inside a loop
349: [23:15:14] <justanidiot> I've been banging my head against a wall
350: [23:15:24] <justanidiot> I tried $Pos(1) and $Pos(2)
351: [23:15:32] <justanidiot> but each item in the loop just prints the same thing
352: [23:19:27] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
353: [23:20:37] <justanidiot> hmm figured it out
354: [23:20:47] <justanidiot> I actually needed to use $Pos(2) and $Pos(3)
355: [23:21:11] <justanidiot> and now I want to be able to save the last state of what $Pos(3) was
356: [23:21:13] <justanidiot> ...
357: [23:21:16] <justanidiot> so i can use it later
358: [23:21:26] * micmania1 quit (Quit: micmania1)
359: [23:22:06] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
360: [23:22:27] <DanaeNZ> justanidiot: sounds like it would be easier to move this logic to your controller
361: [23:22:34] <DanaeNZ> or javascript
362: [23:28:03] * PapaBearNZ quit (Ping timeout: 246 seconds)
363: [23:30:44] <justanidiot> Thanks DanaeNZ
364: [23:30:52] <justanidiot> I ended up doing some bad things
365: [23:30:57] <justanidiot> but got it working
366: [23:31:08] <justanidiot> not enough time to refactor this inherited code to get it working
367: [23:31:37] <DanaeNZ> i know that feel
368: [23:35:24] * justanidiot quit (Ping timeout: 246 seconds)
369: [23:37:59] * Stomach has joined #silverstripe
370: [23:45:27] * jules0x has joined #silverstripe
371: [23:56:23] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
372: [23:57:05] * micmania1 has joined #silverstripe

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