#silverstripe IRC Log

IRC log for 21 June 2016

All timestamps are in UTC.

1: [00:00:01] * ss-helper quit (Remote host closed the connection)
2: [00:00:15] * ss-helper has joined #silverstripe
3: [00:05:27] <Stomach> pippy :D
4: [00:05:35] <Stomach> I'll get to that in about 30 mins I hope :)
5: [00:11:36] * janneklouman-- has joined #silverstripe
6: [00:16:04] * janneklouman-- quit (Ping timeout: 240 seconds)
7: [00:16:09] * Stomach quit (Quit: zzz)
8: [00:25:27] * phorloop has joined #silverstripe
9: [00:30:42] * Stomach has joined #silverstripe
10: [00:32:11] * janneklouman-- has joined #silverstripe
11: [00:36:31] * janneklouman-- quit (Ping timeout: 240 seconds)
12: [00:39:41] * novaweb has joined #silverstripe
13: [00:46:10] * micmania1 quit (Quit: micmania1)
14: [01:00:58] <Stomach> pippy - checked out your fix and it fails in firefox for drag/drop :(
15: [01:03:33] <pippy> Stomach: sweet, i'll have a look
16: [01:06:11] <Stomach> the other one I feel like I could merge but just have a question around the way we handle the "new-" state stuff, have replied on GH pippy :)
17: [01:13:12] * janneklouman-- has joined #silverstripe
18: [01:14:03] <pippy> heh, it's not everyday you find that firefox behaves differently from chrome and ie
19: [01:15:20] * novaweb quit (Remote host closed the connection)
20: [01:16:13] <Stomach> yeah I know right! :D
21: [01:17:11] <Stomach> if you have on opinion on https://github.com/silverstripe/silverstripe-widgets/pull/128 let us know also :)
22: [01:17:44] * phorloop quit (Quit: My laptop go to sleep. ZZZzzz…)
23: [01:17:50] * janneklouman-- quit (Ping timeout: 260 seconds)
24: [01:20:52] <Stomach> woo merged
25: [01:22:03] <Stomach> thats my first time installing widgets ever so hopefully I didn't fuck everything :D
26: [01:28:03] * Liquide quit ()
27: [01:29:05] * spronk has joined #silverstripe
28: [01:33:56] * micmania1 has joined #silverstripe
29: [01:34:03] <pippy> awesome! thanks
30: [01:34:07] * janneklouman-- has joined #silverstripe
31: [01:38:52] * janneklouman-- quit (Ping timeout: 264 seconds)
32: [01:54:06] <pippy> these widget htmleditor issues keep cropping up. i've just realised the image insert button keeps randomly dissappearing
33: [01:54:14] <pippy> expect another patch soon :/
34: [01:57:08] <Stomach> haha :D
35: [01:57:17] <Stomach> I knew there was a reason I didn't use widgets :P
36: [02:14:50] * janneklouman-- has joined #silverstripe
37: [02:19:34] * janneklouman-- quit (Ping timeout: 240 seconds)
38: [02:23:23] * spronk quit (Quit: I may need a longer sleep timer...)
39: [02:24:13] * spronk has joined #silverstripe
40: [02:41:03] * Hailwood quit (Remote host closed the connection)
41: [02:55:18] * spronk quit (Quit: I may need a longer sleep timer...)
42: [02:55:57] * janneklouman-- has joined #silverstripe
43: [03:00:22] * slievr has joined #silverstripe
44: [03:00:29] * janneklouman-- quit (Ping timeout: 244 seconds)
45: [03:16:29] * janneklouman-- has joined #silverstripe
46: [03:21:28] * janneklouman-- quit (Ping timeout: 264 seconds)
47: [03:30:07] <pippy> lamo i've got a fix for the editor
48: [03:30:12] <pippy> third one for the week
49: [03:31:25] * Azure quit (Remote host closed the connection)
50: [03:37:02] * janneklouman-- has joined #silverstripe
51: [03:41:31] * janneklouman-- quit (Ping timeout: 240 seconds)
52: [03:49:47] <pippy> https://github.com/silverstripe/silverstripe-widgets/pull/130
53: [03:57:36] * janneklouman-- has joined #silverstripe
54: [03:59:03] * Dedra has joined #silverstripe
55: [04:00:34] <Dedra> Hi, can someone help with this: http://www.silverstripe.org/community/forums/general-questions/show/117789 ? :)
56: [04:01:56] * janneklouman-- quit (Ping timeout: 244 seconds)
57: [04:03:00] <pippy> Dedra: it looks like SS 3.* looks a bit more simple: <% _t('CMSPageHistoryController_versions_ss.WHEN','When') %>
58: [04:03:21] <pippy> though if you're only making a site for one language I'd probally just put the text in the template
59: [04:03:48] <Dedra> Hey pippy, the main problem is, I don't know how to register my de / en yaml file. In SS2 i used a php file.
60: [04:04:03] <Dedra> I'll do ger / english
61: [04:05:37] <Dedra> i linked my files (pastie.org). But somethings missing. I have no acces to my de.yml and en.yml, where do I need to register them?
62: [04:06:00] <Dedra> I just nearly finished the ss3 tutorial, but there's no part about translations.
63: [04:07:40] <Stomach> pippyyou're a winner :D
64: [04:09:40] <pippy> Dedra: you don't have to register yml, though after changes you'll have to flush
65: [04:09:58] <pippy> Dedra: I haven't used the translate module before, so sadly I can't help much
66: [04:10:03] <pippy> Stomach: :)
67: [04:10:15] <Dedra> so /mysite/lang/en.yml is the right path for it?
68: [04:18:25] * janneklouman-- has joined #silverstripe
69: [04:18:56] <pippy> Dedra: yes that's right
70: [04:20:21] <Dedra> in my _config.php i use this: http://pastie.org/private/rqxhsas5ta0i4leklwgjdg
71: [04:20:36] <Dedra> is something depricated, well i will see it my own. Let me implement all my stuff first.
72: [04:22:36] * janneklouman-- quit (Ping timeout: 244 seconds)
73: [04:24:56] <Dedra> hmmm Translatable::enable(); the class dont exists anymore O.o
74: [04:25:00] <Dedra> in ss3
75: [04:25:44] <Dedra> someones here who did a translation in ss3 and can help me realise this: http://pastie.org/private/rqxhsas5ta0i4leklwgjdg it's my ss2 _config.php
76: [04:29:54] * pippy quit (Ping timeout: 250 seconds)
77: [04:38:44] * janneklouman-- has joined #silverstripe
78: [04:43:18] * janneklouman-- quit (Ping timeout: 244 seconds)
79: [04:59:31] * janneklouman-- has joined #silverstripe
80: [05:04:27] * janneklouman-- quit (Ping timeout: 276 seconds)
81: [05:23:03] * Stomach quit (Ping timeout: 244 seconds)
82: [05:33:56] * spekulatius has joined #silverstripe
83: [05:34:25] * novaweb has joined #silverstripe
84: [05:37:28] * spronk has joined #silverstripe
85: [05:40:21] * janneklouman-- has joined #silverstripe
86: [05:44:47] * janneklouman-- quit (Ping timeout: 244 seconds)
87: [05:44:59] * wmk has joined #silverstripe
88: [05:56:51] * micmania1 quit (Quit: micmania1)
89: [05:57:26] * adrexia quit (Quit: My Mac has gone to sleep. ZZZzzz…)
90: [06:02:20] * Mike123 has joined #silverstripe
91: [06:06:42] * Stomach has joined #silverstripe
92: [06:09:03] * Stomach quit (Client Quit)
93: [06:15:09] <Dedra> Hi, someone awake and can help me with this: http://www.silverstripe.org/community/forums/general-questions/show/117789 ?? :)
94: [06:21:38] * janneklouman-- has joined #silverstripe
95: [06:25:51] * janneklouman-- quit (Ping timeout: 240 seconds)
96: [06:30:27] * spronk quit (Quit: I may need a longer sleep timer...)
97: [06:35:00] * novaweb quit (Remote host closed the connection)
98: [06:45:52] * Stomach has joined #silverstripe
99: [06:52:28] * Dedra quit (Quit: Bye guys, have to go!)
100: [07:02:29] * janneklouman-- has joined #silverstripe
101: [07:07:22] * janneklouman-- quit (Ping timeout: 260 seconds)
102: [07:09:54] * deschebbs has joined #silverstripe
103: [07:12:20] * deschebbs quit (Client Quit)
104: [07:15:20] * deschebbs has joined #silverstripe
105: [07:16:52] * arnhoe has joined #silverstripe
106: [07:17:01] * DarjusIT has joined #silverstripe
107: [07:23:19] * janneklouman-- has joined #silverstripe
108: [07:24:50] <DarjusIT> Hi all. I have question. Without using any translation modules. I it possible: 1. Make TranslationHolder Page that exstends Page. 2. In TranslationHolder in int() function make loading locale depending on TranslationHolder language iso 2 field. 3. Other pages would not extend page but extend TranslationHolder. 4. so in pheory on going to pages that extends TranslationHolder, Holder init should change locale automaticly, because all are extends
109: [07:24:50] <DarjusIT> TranslationHolder? I know it sound strange, but I have own reasons. Just before doing it I think to ask you if SS will work as I think.
110: [07:25:15] * novaweb has joined #silverstripe
111: [07:27:25] * janneklouman-- quit (Ping timeout: 244 seconds)
112: [07:39:42] <deschebbs> DrajusIT: keep in mind, google expects translated pages to have any sort of flag in the url as far as i know.
113: [07:40:44] <deschebbs> ...and keep in mind that someone has to manage the translatione. This is easily done in the appropriate apps (modules), with your solution i dont know.
114: [07:41:07] <deschebbs> but why not just give it a try?
115: [07:42:06] <wmk> deschebbs, not flag in URL, but a locale meta data in html
116: [07:42:39] <deschebbs> sure, that too
117: [07:43:22] <wmk> i doubt it expects something in the url.
118: [07:43:41] <deschebbs> k maybee im wrong.
119: [07:44:23] <wmk> well, language prefix like domain.com/en/path/to/page has some advantages, but it's a matter of taste
120: [07:45:35] <deschebbs> check this:https://sites.google.com/site/webmasterhelpforum/en/faq-internationalisation
121: [07:46:30] <wmk> yup. every language should have it's own url
122: [07:46:55] <wmk> so hotel-foo.de/zimmer is fine for german and hotel-foo.de/rooms is fine for english
123: [07:47:22] <wmk> and in html you should note that both pages are related to each other
124: [07:48:01] <wmk> deschebbs, thanks for that link ;)
125: [07:48:41] <deschebbs> first one i found. probably trivial.
126: [07:50:05] <wmk> with silverstripe you know the relations of each language, so it's easy to build a lang switcher or to include the relevant meta data in the header
127: [07:50:13] <wmk> with both, translatable and fluent
128: [07:50:33] <wmk> typo of the day: git checkout amster
129: [07:50:55] <wmk> ...damn...
130: [07:51:36] * spronk has joined #silverstripe
131: [07:52:43] <DarjusIT> deschebbs: TranslationHolder will make url /lt /en /ru other will be nested inside
132: [07:53:53] <wmk> so you want a flat tree with this "holder", but no relations from /lt/rooms to /en/rooms ?
133: [07:54:16] <wmk> or how do you know that /lt/foo is a translation of /en/bar ?
134: [07:54:21] <wmk> google loves meta data
135: [07:57:01] <deschebbs> git checkout amstel ;) to early.
136: [07:59:33] <DarjusIT> wmk: relation to translation page from admin, similiar to translatable, only thing that we will se all languages trees at once.
137: [08:00:51] * kinglozzer has joined #silverstripe
138: [08:04:27] <DarjusIT> one thing is worries me it if I write locale change code in TranslationHolder controller init(); does other child pages will inherit and execute locale change by parent::init(); so /lt/some-form-page and /en/some-form-page will display form fields from lang files in code/lang directory
139: [08:04:56] * cloph is now known as cloph_away
140: [08:05:58] * janneklouman-- has joined #silverstripe
141: [08:13:40] <deschebbs> DarjusIT: yes, parent::init() in child class calls the init() functin of the holder it you extend it from the holder
142: [08:15:17] <DarjusIT> ok then. thx for info. I will make an experiment then :)
143: [08:16:36] <deschebbs> i guess i would place the language selection form into a template file, not into the init function of the controller
144: [08:17:12] <deschebbs> yes, go for it.
145: [08:22:27] <wmk> DarjusIT, well, then you have to tell Translatable NOT to augment the sitetree listing in backend
146: [08:25:23] <wmk> how can i invalidate memcached backend?
147: [08:26:07] * phorloop has joined #silverstripe
148: [08:40:13] * Agilix_ has joined #silverstripe
149: [08:41:39] * phorloop quit (Quit: My laptop go to sleep. ZZZzzz…)
150: [08:44:02] * spronk quit (Quit: I may need a longer sleep timer...)
151: [08:45:25] * Stomach quit (Quit: zzz)
152: [08:49:35] * darianno has joined #silverstripe
153: [08:55:17] * phorloop has joined #silverstripe
154: [08:58:51] * phorloop quit (Client Quit)
155: [09:10:06] * phorloop has joined #silverstripe
156: [09:14:26] * phorloop quit (Ping timeout: 240 seconds)
157: [09:15:16] * cloph_away is now known as cloph
158: [09:15:56] * novaweb quit (Remote host closed the connection)
159: [09:20:01] * elgabbu_ has joined #silverstripe
160: [09:21:32] * elgabbu quit (Ping timeout: 250 seconds)
161: [09:23:08] <Agilix_> Can you set fluent to only show the page that was translated? I f.e. have a blog but posts in nl_NL also appear in fr_FR even if not translated
162: [09:43:08] <wmk> Agilix_, afaik there is a helper method to see if a translation actually exists, see docs
163: [09:44:37] * SH__ has joined #silverstripe
164: [10:10:56] * Agilix_ quit (Ping timeout: 250 seconds)
165: [10:16:28] * novaweb has joined #silverstripe
166: [10:21:24] * novaweb quit (Ping timeout: 260 seconds)
167: [10:22:38] * SH__ quit (Ping timeout: 250 seconds)
168: [10:22:38] * elgabbu_ quit (Ping timeout: 250 seconds)
169: [10:22:38] * Mike123 quit (Ping timeout: 250 seconds)
170: [10:48:18] * DimiStripe quit (Ping timeout: 276 seconds)
171: [10:56:20] * arnhoe quit (Ping timeout: 244 seconds)
172: [10:59:20] * arnhoe has joined #silverstripe
173: [11:12:38] * DimiStripe has joined #silverstripe
174: [11:17:58] * novaweb has joined #silverstripe
175: [11:22:24] * novaweb quit (Ping timeout: 246 seconds)
176: [11:26:36] * slievr quit (Quit: Leaving.)
177: [11:38:22] <DarjusIT> from controller to change locale just need i18n::set_locale('lt_LT'); ?>
178: [11:38:25] * arnhoe quit (Remote host closed the connection)
179: [11:38:59] * arnhoe has joined #silverstripe
180: [11:58:12] * kinglozzer quit (Remote host closed the connection)
181: [12:18:49] * slievr has joined #silverstripe
182: [12:19:07] * UndefinedOffset has joined #silverstripe
183: [12:24:34] * slievr1 has joined #silverstripe
184: [12:26:00] * slievr quit (Ping timeout: 250 seconds)
185: [12:49:57] * kinglozzer has joined #silverstripe
186: [12:51:36] * WebDevB has joined #silverstripe
187: [12:51:57] <WebDevB> Hey everyone... I'm using .LimitWordCount() but it seems to remov
188: [12:52:16] <WebDevB> Hey everyone... I'm using .LimitWordCount() but it seems to remove any formatting for instance if a word is bold it replaced it with *
189: [12:57:30] * Agilix_ has joined #silverstripe
190: [12:57:55] <Agilix_> Found it: FluentFilteredExtension Thanks for the direction wmk
191: [13:09:42] <slievr1> WebDevB: was that an intentional joke?
192: [13:10:03] <WebDevB> slievr1 huh?
193: [13:10:17] <slievr1> You limited the word count the first time you typed it
194: [13:10:21] <WebDevB> haha
195: [13:10:30] <WebDevB> I wish I said Yea now
196: [13:10:30] <WebDevB> haha
197: [13:10:37] * slievr1 is now known as slievr
198: [13:12:28] <WebDevB> slievr any ideas?
199: [13:12:36] <slievr> WebDevB: I'd strip the tags then limit
200: [13:12:48] <DarjusIT> wmk and deschebbs thanks for help earlier today, locale switching and meta switching works perfectly on init() and gives all meta in needed language
201: [13:12:56] * Agilix_ quit (Ping timeout: 250 seconds)
202: [13:12:56] * neomang quit (Ping timeout: 250 seconds)
203: [13:15:31] * slievr1 has joined #silverstripe
204: [13:17:13] * slievr quit (Ping timeout: 252 seconds)
205: [13:17:25] * slievr1 is now known as slievr
206: [13:19:29] * novaweb has joined #silverstripe
207: [13:23:55] * novaweb quit (Ping timeout: 244 seconds)
208: [13:46:34] <wmk> DarjusIT, that's cool ;)
209: [14:06:22] * wmk quit (Quit: Leaving)
210: [14:12:59] * deschebbs quit (Quit: Konversation terminated!)
211: [14:16:57] * AlphaCactus quit (Read error: Connection reset by peer)
212: [14:17:26] * AlphaCactus has joined #silverstripe
213: [14:45:16] <ss-helper> Silverstripe search engine FullTextSearchable how enhance results - http://stackoverflow.com/questions/37947310/silverstripe-search-engine-fulltextsearchable-how-enhance-results
214: [14:54:30] * kerozene quit (Ping timeout: 246 seconds)
215: [15:03:10] * kerozene has joined #silverstripe
216: [15:03:57] * darianno quit (Quit: Computer has gone to sleep.)
217: [15:04:44] * HD|Laptop has joined #silverstripe
218: [15:04:51] <HD|Laptop> Hi all
219: [15:05:32] <HD|Laptop> Assuming I have a site with Versioning enabled, using "Stage" and "Live"... how do I set up a vhost that uses the same code and database as the existing site, but shows all pages in their "Stage" version?
220: [15:07:07] * Agilix_ has joined #silverstripe
221: [15:07:22] <Agilix_> my irc keeps crashing :/
222: [15:21:05] * novaweb has joined #silverstripe
223: [15:25:30] * novaweb quit (Ping timeout: 244 seconds)
224: [15:29:43] * janneklouman-- quit (Ping timeout: 250 seconds)
225: [15:36:21] * arnhoe quit (Ping timeout: 244 seconds)
226: [15:45:17] <ss-helper> Silverstripe was setup using an IP and I need it to use the actual domain now - http://stackoverflow.com/questions/37948716/silverstripe-was-setup-using-an-ip-and-i-need-it-to-use-the-actual-domain-now
227: [16:01:30] * Agilix_ quit (Ping timeout: 250 seconds)
228: [16:29:51] * WebDevB quit (Remote host closed the connection)
229: [16:30:22] * kinglozzer quit ()
230: [16:39:15] * muskie9 has joined #silverstripe
231: [16:49:02] * slievr quit (Quit: Leaving.)
232: [17:22:33] * novaweb has joined #silverstripe
233: [17:27:14] * novaweb quit (Ping timeout: 260 seconds)
234: [17:36:57] * XorPush has joined #silverstripe
235: [18:01:37] * HD|Laptop quit (Quit: Page closed)
236: [18:02:14] * gelignite has joined #silverstripe
237: [18:17:00] * UndefinedOffset quit (Quit: Leaving.)
238: [19:12:33] * Stomach has joined #silverstripe
239: [19:24:02] * novaweb has joined #silverstripe
240: [19:28:40] * novaweb quit (Ping timeout: 264 seconds)
241: [19:28:40] * ss-helper quit (Ping timeout: 264 seconds)
242: [19:30:29] * Firesphere quit (Ping timeout: 264 seconds)
243: [19:30:29] * Zauberfisch1 quit (Ping timeout: 264 seconds)
244: [19:30:48] * Stomach quit (Quit: zzz)
245: [19:31:17] * Firesphere has joined #silverstripe
246: [19:37:43] * Zauberfisch1 has joined #silverstripe
247: [19:38:55] * ss-helper has joined #silverstripe
248: [19:45:25] * UndefinedOffset has joined #silverstripe
249: [19:51:28] * XorPush quit (Quit: Page closed)
250: [19:56:05] * Stomach has joined #silverstripe
251: [20:18:52] * Stomach quit (Quit: zzz)
252: [20:21:02] * Stomach has joined #silverstripe
253: [20:44:34] * novaweb has joined #silverstripe
254: [20:46:59] * UndefinedOffset quit (Quit: Leaving.)
255: [20:55:46] * novaweb quit (Remote host closed the connection)
256: [20:58:08] * adrexia has joined #silverstripe
257: [21:00:47] * Hailwood has joined #silverstripe
258: [21:05:16] * Stomach quit (Quit: zzz)
259: [21:10:03] * pippy has joined #silverstripe
260: [21:26:46] * Stomach has joined #silverstripe
261: [21:40:03] * novaweb has joined #silverstripe
262: [21:45:52] * novaweb quit (Remote host closed the connection)
263: [21:46:15] * micmania1 has joined #silverstripe
264: [21:49:49] * novaweb has joined #silverstripe
265: [21:50:17] * novaweb quit (Remote host closed the connection)
266: [21:51:12] * pippy quit (Ping timeout: 250 seconds)
267: [21:52:31] * phorloop has joined #silverstripe
268: [21:55:41] * phorloop quit (Max SendQ exceeded)
269: [21:56:40] * phorloop has joined #silverstripe
270: [21:57:30] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
271: [21:59:41] * phorloop quit (Max SendQ exceeded)
272: [22:00:37] * phorloop has joined #silverstripe
273: [22:03:55] * coool has joined #silverstripe
274: [22:03:55] <ss-helper> coool: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
275: [22:09:16] * micmania1 quit (Quit: micmania1)
276: [22:14:14] * pippy has joined #silverstripe
277: [22:14:17] * micmania1 has joined #silverstripe
278: [22:24:44] * Azure has joined #silverstripe
279: [22:34:23] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
280: [22:55:16] * Stomach quit (Quit: zzz)
281: [22:58:22] * Stomach has joined #silverstripe
282: [23:13:06] * coool quit (Ping timeout: 250 seconds)
283: [23:13:38] * micmania1 quit (Quit: micmania1)
284: [23:14:04] * micmania1 has joined #silverstripe
285: [23:19:44] * DarjusIT quit (Quit: Leaving)
286: [23:25:28] * phorloop quit (Quit: My laptop go to sleep. ZZZzzz…)
287: [23:35:25] * novaweb has joined #silverstripe
288: [23:46:23] * Stomach quit (Quit: zzz)
289: [23:50:20] * novaweb quit (Remote host closed the connection)

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