#silverstripe IRC Log

IRC log for 10 March 2015

All timestamps are in UTC.

1: [00:02:21] * Azure has joined #silverstripe
2: [00:02:54] * Stomach quit (Quit: zzz)
3: [00:10:55] * mobiusnz quit (Quit: Leaving.)
4: [00:10:58] * zippy has joined #silverstripe
5: [00:11:27] <Hailwood> Anyone know where the code is that automatically converts a "has_one" type type SiteTree to automatically contain the parent page?
6: [00:13:01] <zippy> $this->Parent() ?
7: [00:13:03] <zippy> not sure what you mean
8: [00:17:01] <Hailwood> zippy, http://i.imgur.com/Bm9q1n2.png that field is normally a TreeDropdownField but because the DO is being created as a child of the Lining Services page then it can't be changed.
9: [00:17:15] <Hailwood> I'm wondering where the code is that makes that happen.
10: [00:17:53] <zippy> Hailwood: it will get scaffolded, you can remove it in the getCMSFields, or replace with with something else
11: [00:19:28] * zippy quit (Quit: Textual IRC Client: www.textualapp.com)
12: [00:19:52] <Hailwood> zippy, What I am trying to do is private static $has_one = array('SiteTree' => 'SiteTree', /*(should scaffold)*/ 'LinkSiteTree' => 'SiteTree' /*(shouldn't scaffold)*/); Possible?
13: [00:21:35] <zauberfisch> MichalKleiner: hey
14: [00:21:41] <MichalKleiner> o/
15: [00:23:11] * Azure quit (Read error: Connection reset by peer)
16: [00:24:02] * Azure has joined #silverstripe
17: [00:24:36] <zauberfisch> MichalKleiner: I should really write docs for the box :/
18: [00:24:43] <zauberfisch> for now, check out http://logs.simon.geek.nz/index.php?date=2015-02-16#log_1571102
19: [00:24:54] <zauberfisch> like 20-30 lines of conversation between wmk and me
20: [00:27:23] <MichalKleiner> cool.. thanks
21: [00:27:55] <spronk2> what the fuck are apple thinking
22: [00:27:55] <spronk2> sigh
23: [00:29:23] <antmas> spronk2: lel
24: [00:29:29] <antmas> shhhhh don't hate
25: [00:29:33] <antmas> only love
26: [00:30:25] <zauberfisch> spronk2: what happened?
27: [00:31:14] <antmas> zauberfisch: the watch and macbook
28: [00:31:18] * antmas is guessing
29: [00:31:19] <MichalKleiner> 1 usb port only shared for charging and external monitors? :-D
30: [00:31:40] <antmas> BUT IT'S SKINNIER
31: [00:33:12] <antmas> so is macbook air going to be replaced by the 'MacBook'?
32: [00:33:18] <antmas> is that how it works now?
33: [00:33:45] <zauberfisch> oh
34: [00:33:46] <zauberfisch> right
35: [00:33:59] <spronk2> lol
36: [00:34:00] <spronk2> no
37: [00:34:04] <spronk2> air is being sold alongside
38: [00:34:05] <spronk2> i dont get it
39: [00:34:06] <zauberfisch> so there is a new keynote
40: [00:34:08] <spronk2> its slow
41: [00:34:16] <spronk2> not all that much smaller than the air anyway
42: [00:34:18] <spronk2> but has a retina display..
43: [00:34:21] <spronk2> and is quite expensive
44: [00:34:21] <spronk2> o_O
45: [00:34:26] <ss-helper> Re: New Home Page on each build - http://www.silverstripe.org/community/forums/general-questions/show/101323#post400645
46: [00:34:28] <spronk2> kinda like the original macbook air
47: [00:34:48] <antmas> so skinny macbook = macbook and macbook air = same thing smaller res?
48: [00:34:50] <antmas> idek
49: [00:35:16] <MichalKleiner> and it's not titan anymore, just aluminium
50: [00:35:42] <MichalKleiner> I'm glad that I'm not an apple fanatic :-D
51: [00:35:46] <antmas> or gold if you're a douchecannon
52: [00:36:45] <MichalKleiner> nice post ss-helper :-D
53: [00:36:47] <MichalKleiner> magic!
54: [00:37:50] <MichalKleiner> I just saw the last comment and nothing else :-D
55: [00:38:20] * Stomach has joined #silverstripe
56: [00:47:33] * travis-ci has joined #silverstripe
57: [00:47:34] <travis-ci> tractorcow/sapphire#62 (pulls/4.0/fix-translations - 622ad54 : Damian Mooyman): The build has errored.
58: [00:47:34] <travis-ci> Change view : https://github.com/tractorcow/sapphire/compare/227ea8295334^...622ad54c5b21
59: [00:47:34] <travis-ci> Build details : http://travis-ci.org/tractorcow/sapphire/builds/53738217
60: [00:47:34] * travis-ci has left #silverstripe
61: [00:47:37] <Hailwood> So anyone know how to stop silverstripe automatically associating the parent with with any "has_one" to a siteTree? e.g. my DO has private static $has_one = array('SiteTree' => 'SiteTree', 'LinkSiteTree' => 'SiteTree'); where SiteTree is the parent that should be automatically associated, but LinkSiteTree should allow users to select a different page in the cms.
62: [00:47:48] <Hailwood> Currently they both get transformed and linked to the parent page..
63: [00:52:06] * Tanger has joined #silverstripe
64: [00:59:29] * travis-ci has joined #silverstripe
65: [00:59:30] <travis-ci> tractorcow/sapphire#63 (pulls/3.1/fix-translations - 9651889 : Damian Mooyman): The build has errored.
66: [00:59:30] <travis-ci> Change view : https://github.com/tractorcow/sapphire/compare/2af48738c9d9^...9651889f1bcb
67: [00:59:30] <travis-ci> Build details : http://travis-ci.org/tractorcow/sapphire/builds/53739133
68: [00:59:30] * travis-ci has left #silverstripe
69: [00:59:39] * Jakx quit (Quit: ~ Trillian Astra - www.trillian.im ~)
70: [01:10:12] * Stomach quit (Quit: zzz)
71: [01:10:13] * Colin[pi] has joined #silverstripe
72: [01:12:40] <Hailwood> Grr! Ok so now Silverstripe is only transforming one, but it's not the right one! If there are two has_one to a SiteTree how does SS pick which one it should associate the parent page to?
73: [01:13:17] <muskie9> Hailwood is your has_one the relation to the page?
74: [01:13:25] <Tanger> Morning guys!
75: [01:15:18] <Hailwood> muskie9, Page has_many Links => 'Link', Link has_one ParentPage => SiteTree & has_one PageToLinkTo => 'SiteTree'
76: [01:15:59] <muskie9> so the ParentPage is the reciprocal to the has_many links?
77: [01:16:16] <muskie9> that might need to go to Page rather than SiteTree
78: [01:16:21] <muskie9> not sure though
79: [01:16:36] <Hailwood> muskie9, Correct - What's the difference between linking to SiteTree vs Page?
80: [01:18:19] <muskie9> Page is the class that the has_many is set from... not sure if it makes a difference, but I generally set the has_one back to the class that declared the has_many
81: [01:19:32] <antmas> Tanger: o/
82: [01:20:50] <Hailwood> muskie9, I got it! On the Page I needed 'Links' => 'Link.ParentPage' (I also changed 'ParentPage' => 'Page' since what you said makes sense but idk if that made a difference)
83: [01:21:16] <muskie9> as long as it works that's all that matters :P
84: [01:22:00] <antmas> ^^^ pretty much how I develop anything :P
85: [01:22:21] <muskie9> for sure antmas
86: [01:22:22] <Hailwood> muskie9, Haha totally agreed.
87: [01:22:42] <Colin[pi]> antmas: o/
88: [01:22:48] <antmas> Colin[pi]: \o
89: [01:24:33] <Tanger> Aren't $casted objects meant to be filterable using filter()?
90: [01:24:39] <Tanger> So they seem like real DO's?
91: [01:28:48] * travis-ci has joined #silverstripe
92: [01:28:49] <travis-ci> silverstripe/silverstripe-framework#4394 (3.1 - d172720 : Ingo Schommer): The build passed.
93: [01:28:49] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/95deae8a69f7...d17272084a95
94: [01:28:49] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/53740080
95: [01:28:49] * travis-ci has left #silverstripe
96: [01:36:32] <Hailwood> the validate method on a DO is called before it's saved right?
97: [01:38:06] <Ryan-Toast> Hailwood: yes
98: [01:39:33] <Hailwood> Which Ryan-Toast So, in the validate method if I want to check if something has been selected for the relation the best bet is if(isset($this->SomeRelationID)) as $this->getComponent('SomeRelation')->exists() would always return false when the DO is first being created yeah?
99: [01:40:22] <muskie9> Hailwood if($this->SomeRelationID != 0)
100: [01:41:07] <muskie9> pretty much the same thing, I like to check against 0 though
101: [01:41:41] <Hailwood> So I should probably do a pull request against this then.. https://github.com/sheadawson/silverstripe-linkable/blob/master/code/dataobjects/Link.php#L203
102: [01:42:36] * travis-ci has joined #silverstripe
103: [01:42:37] <travis-ci> silverstripe/silverstripe-framework#4395 (master - a1d3978 : Ingo Schommer): The build passed.
104: [01:42:37] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/cf2089bc54ea...a1d39780d863
105: [01:42:37] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/53740236
106: [01:42:37] * travis-ci has left #silverstripe
107: [01:45:25] <muskie9> I think that works... I recall something about setting relations prior to a save for SS 3.x...
108: [01:48:32] * Stomach has joined #silverstripe
109: [01:54:01] <ss-helper> Re: [silverstripe-dev] Re: Translations in 3.1.11 - https://groups.google.com/d/msg/silverstripe-dev/PcGki_saaak/BYSu_xFOlk0J
110: [02:04:49] * Stomach quit (Quit: zzz)
111: [02:06:41] * Hailwood quit (Ping timeout: 252 seconds)
112: [02:07:46] * bemusedrat has joined #silverstripe
113: [02:07:51] * mobiusnz has joined #silverstripe
114: [02:08:05] * antmas has left #silverstripe
115: [02:08:09] * Stomach has joined #silverstripe
116: [02:10:44] * mobiusnz quit (Client Quit)
117: [02:12:05] * Hailwood has joined #silverstripe
118: [02:20:31] <veb> would anyone like this domain name? http://agriculturedrones.co.nz
119: [02:22:47] * antmas_ has joined #silverstripe
120: [02:23:33] * antmas_ quit (Client Quit)
121: [02:23:48] * antmas_ has joined #silverstripe
122: [02:25:34] * mobiusnz has joined #silverstripe
123: [02:35:24] * antmas_ quit (Quit: Page closed)
124: [02:40:47] <veb> bahaha
125: [02:40:48] <veb> https://www.dropbox.com/s/lioncfiulbltp04/Screenshot%202015-03-10%2015.40.38.png?dl=0
126: [02:40:59] * mobiusnz quit (Quit: Leaving.)
127: [02:50:08] * zaki has joined #silverstripe
128: [02:51:47] <veb> http://www.stuff.co.nz/national/67183655/police-reveal-threat-to-poison-baby-formula
129: [02:59:07] <Stomach> UncleCheese ON A RAMPAGE
130: [02:59:36] * cloph quit (Ping timeout: 246 seconds)
131: [03:01:32] * Ryan-Toast quit (Quit: Ryan-Toast)
132: [03:04:45] * Stomach quit (Quit: zzz)
133: [03:04:47] * zaki quit ()
134: [03:05:29] * muskie9 is now known as muskie9_afk
135: [03:05:34] * Stomach has joined #silverstripe
136: [03:13:23] <UncleCheese> Stomach ??
137: [03:13:32] <Stomach> just docs updates :P
138: [03:13:58] <UncleCheese> ohh
139: [03:14:00] <UncleCheese> you?
140: [03:14:52] <Stomach> nah you
141: [03:16:01] <UncleCheese> oh, my tutorial
142: [03:16:42] <UncleCheese> ha, yeah, i can't really do a proper preview, becuase it diffs it, and that's really annoying to read
143: [03:16:47] <UncleCheese> so i just make a bunch of blind commits
144: [03:17:27] <Stomach> thats the spirit!
145: [03:17:37] <Stomach> had a really positive feedback from the react meetup last night too
146: [03:17:43] <Stomach> more reactors incoming hopefully
147: [03:24:40] * mark_s has joined #silverstripe
148: [03:32:08] * mobiusnz has joined #silverstripe
149: [03:39:43] * mahfuz quit (Ping timeout: 246 seconds)
150: [03:40:08] * Chix_ has joined #silverstripe
151: [03:40:47] * Chix_ is now known as Chix
152: [03:48:25] * mark_s quit (Quit: Leaving)
153: [04:01:36] <Hailwood> Hmm, in a SS template if I want to say if $Something *and not* $SomethingElse what's the correct syntax?
154: [04:02:17] <Stomach> if $Something && not $SomethingElse
155: [04:02:18] <Stomach> ?
156: [04:05:08] <ss-helper> Re: Data - http://www.silverstripe.org/community/forums/customising-the-cms/show/101322#post400646
157: [04:13:56] <UncleCheese> Stomach did you video?
158: [04:14:02] <Stomach> UncleCheese - nah :(
159: [04:14:06] <Stomach> no video camera :(
160: [04:14:09] <UncleCheese> Noooooooooooooo.com
161: [04:14:50] <UncleCheese> I wish i had remembered.. i'd have asked for a plug: http://unclecheese.github.io/react-selectable/
162: [04:15:30] * Ryan-Toast has joined #silverstripe
163: [04:19:49] * Stomach quit (Quit: zzz)
164: [04:20:29] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
165: [04:20:50] * gordon__ has joined #silverstripe
166: [04:20:57] * gordon__ is now known as nontgor
167: [04:22:38] * UncleCheese has joined #silverstripe
168: [04:24:48] * UncleCheese quit (Client Quit)
169: [04:25:11] * simon_w|air has left #silverstripe
170: [04:29:46] * NETim quit (Ping timeout: 246 seconds)
171: [04:33:06] <Colin[pi]> Client sends 550px wide image... "That photo is really low resolution, I was hoping for something in the 1200px range?" Client sends 400px image........ http://i.imgur.com/GYPAkfh.gifv
172: [04:34:50] * spronk2 quit (Quit: I may need a longer sleep timer...)
173: [04:37:26] * Ryan-Toast quit (Quit: Ryan-Toast)
174: [04:37:57] * Hailwood quit (Ping timeout: 264 seconds)
175: [04:54:37] * veb quit (Quit: veb-irc: &)
176: [04:55:11] <mobiusnz> why might $Image.setWidth(310) not produce anything in a template?
177: [04:55:18] * veb has joined #silverstripe
178: [04:56:17] * veb quit (Client Quit)
179: [05:53:08] * mobiusnz quit (Quit: Leaving.)
180: [05:55:43] * muskie9_afk quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
181: [06:05:55] * veb has joined #silverstripe
182: [06:09:46] <nontgor> mobiusnz: I think it's SetWidth, not setWidth - or indeed maybe even just Width
183: [06:10:08] <nontgor> mobiusnz: SetWidth
184: [06:11:31] * veb quit (Quit: veb-irc: &)
185: [06:20:36] <ss-helper> Calling controller function always delivers error 403 - http://www.silverstripe.org/community/forums/general-questions/show/101334
186: [06:30:28] * veb has joined #silverstripe
187: [06:42:42] * veb quit (Quit: veb-irc: quit)
188: [07:14:23] * Hailwood has joined #silverstripe
189: [07:27:45] * Colin[pi] quit (Ping timeout: 244 seconds)
190: [07:29:44] * Shrike_Finland has joined #silverstripe
191: [07:39:39] <ss23> Someone should give the auth_external module some loving
192: [07:39:48] <ss23> I bet hundreds of people have given it 3.1 support by now :/
193: [07:47:39] * wmk has joined #silverstripe
194: [08:03:09] * wmk quit (Ping timeout: 264 seconds)
195: [08:15:19] * arnhoe has joined #silverstripe
196: [08:17:29] * Hailwood_About_T has joined #silverstripe
197: [08:17:44] * Hailwood quit (Disconnected by services)
198: [08:18:11] * Hailwood_About_T is now known as Hailwood
199: [08:18:47] <Hailwood> Hey guys, So. Frontend forms in modals. Is it worth trying it in SS?
200: [08:29:08] * elgabbu has joined #silverstripe
201: [08:29:32] <elgabbu> gd morning
202: [08:29:36] <elgabbu> got a question
203: [08:30:26] <elgabbu> i have a widget template that is currently located in \site\code\article\widgets\latest_articles_slider_widget\templates\LatestArticlesSliderWidget.ss
204: [08:30:41] <elgabbu> we are currently developing a mobile theme for the website
205: [08:31:08] <elgabbu> and I would like to overwrite that template
206: [08:31:50] <elgabbu> I tried creating LatestArticlesSliderWidget.ss in \themes\plmobile-redesign\templates\Includes\LatestArticlesSliderWidget.ss
207: [08:32:00] <elgabbu> but it doesn't seem to get loaded
208: [08:35:06] <nontgor> done a /dev/build?flush=1 on the site?
209: [08:36:21] <elgabbu> no let me try
210: [08:44:10] <elgabbu> nope still loading the other template after dev/build
211: [08:53:31] <elgabbu> mmmm http://doc.silverstripe.org/en/developer_guides/templates/template_inheritance/
212: [08:54:07] <elgabbu> it would seem that the site folder has a higher priority than the theme ... so I guess the one in site folder will always load regardless of the theme
213: [08:54:31] <elgabbu> i guess I need to move the template file to the other theme
214: [08:54:47] * r_hector has joined #silverstripe
215: [08:54:48] <ss-helper> Re: [silverstripe-dev] Re: Translations in 3.1.11 - https://groups.google.com/d/msg/silverstripe-dev/PcGki_saaak/o57eGolR3UUJ
216: [09:06:11] <ss-helper> Re: Calling controller function always delivers error 403 - http://www.silverstripe.org/community/forums/general-questions/show/101334#post400648
217: [09:09:27] * darjus01 has joined #silverstripe
218: [09:12:58] * kinglozzer has joined #silverstripe
219: [09:21:14] <ss-helper> Dynamically create TextField by creating different DataObject - http://www.silverstripe.org/community/forums/data-model-questions/show/101335
220: [09:25:49] <elgabbu> if I change the location of a template file ... running flash is giving an error
221: [09:25:54] * wmk has joined #silverstripe
222: [09:26:21] <elgabbu> bleh now it worked :/
223: [09:27:17] <wmk> hi all
224: [09:27:58] * NETim has joined #silverstripe
225: [09:29:18] * wmk wonders if you can see the last translated stings on transifex
226: [09:29:31] <wmk> i just see "someone translated some stuff some hours ago"
227: [09:29:55] <wmk> aahh, search "translated after" date
228: [09:29:57] <NETim> Anyone know how to purge the manifest? It seems to think it's built something that it hasn't.
229: [09:30:14] <wmk> !flush NETim
230: [09:30:15] <ss-helper> NETim: Have you flushed? Try doing a ?flush=all and /dev/build then see if it's sorted. Do it twice for good measure ;-)
231: [09:30:32] <wmk> or deletete the cache folder, either in your webroot or in /tmp/
232: [09:31:09] <NETim> cheers. I've tried the flush option with no joy.
233: [09:33:36] <NETim> Nope, no luck.
234: [09:33:51] * UncleCheese has joined #silverstripe
235: [09:33:52] <wmk> delete cache folder
236: [09:34:02] <NETim> done that too,
237: [09:34:08] <kinglozzer> NETim: What's the issue you're having?
238: [09:34:14] <NETim> If I add in a new object, it will build it (even if it doesn't exist) but it won't build the has_many that does
239: [09:34:14] <wmk> mine is in /tmp/silverstripe-path-to-my-site
240: [09:34:30] * cloph_away has joined #silverstripe
241: [09:34:38] <NETim> kinglozzer: got a module that extends page to have_many blocks, but it won't build the blocks (won't even pretend to build them )
242: [09:34:40] <wmk> NETim, has_many requires the has_one on the other side
243: [09:34:45] <kinglozzer> ^^
244: [09:35:13] <kinglozzer> http://2.bp.blogspot.com/-ufmGXTLfujE/U9AWMUAl8fI/AAAAAAAAUXY/BqXTuzIjaGM/s1600/he's+right+you+know.jpg
245: [09:35:17] <kinglozzer> :P
246: [09:35:33] <NETim> lol.
247: [09:35:50] <NETim> I'm basing this on the code for silverstripe-content-blocks
248: [09:36:13] <NETim> Also, there is a has_one from the linked objects.
249: [09:36:18] <ss-helper> Re: Calling controller function always delivers error 403 - http://www.silverstripe.org/community/forums/general-questions/show/101334#post400650
250: [09:36:29] <NETim> It's like it can't see the objects to build
251: [09:38:17] <wmk> typo somewhere? are objects added to DB?
252: [09:41:16] <darjus01> NETim: if it extends PageController try use not QuizController/function but page_url/function this way it works for me
253: [09:41:27] * zlinux has joined #silverstripe
254: [09:42:12] <darjus01> if you need based on quizcontroller then make routes.yml end describe routes to controller
255: [09:44:09] * Colin[pi] has joined #silverstripe
256: [09:44:37] * Pywghak has joined #silverstripe
257: [09:45:02] <darjus01> is any configs fo DateField that you can only select year?
258: [09:45:24] <Pywghak> It's just a javascript controlled thing
259: [09:45:37] <Pywghak> you could set dmyfields and then hide the first two
260: [09:45:45] <wmk> darjus01, not that i know of
261: [09:46:12] <wmk> darjus01, what date would you want to save when you just select the year?
262: [09:46:13] * Shrike_Finland quit (Quit: Leaving.)
263: [09:46:33] <wmk> i'd create a dropdown myself and some onBeforeWrite magic
264: [09:47:27] <NETim> wmk, the objects are not being created in the DB
265: [09:47:33] <darjus01> client whants to select only yers from 2005 to 2020, so I think date picker years mode would be perfect and not limited
266: [09:48:18] <Pywghak> NETim: what are today's issue?
267: [09:48:39] <wmk> NETim, is there a typo that the has_one / has_many doesn't link to the right class?
268: [09:48:54] <wmk> e.g. Foo instead of Fou
269: [09:49:09] <NETim> wmk: unfortunately not.
270: [09:49:10] <wmk> Pywghak, !!!
271: [09:49:17] <NETim> Pywghak: same as yesterday.
272: [09:49:21] <Pywghak> sup wmk :>
273: [09:49:36] <Eliseth> morning
274: [09:49:36] <Pywghak> NETim: so uhh... you have _config.php or _config in the module root?
275: [09:49:48] <Pywghak> ie. ssinstalldir/modulename/_config/ ?
276: [09:50:03] <NETim> yup.
277: [09:50:10] <Pywghak> and it picks up and builds db?
278: [09:50:14] <wmk> you can call MyDO::create() ???
279: [09:50:56] <NETim> Pywghak: nope. It will build imaginary objects though...
280: [09:51:00] <NETim> wmk: ?
281: [09:51:09] <wmk> does php know about your class?
282: [09:51:19] <Pywghak> NETim: so show me again the class definition plz?
283: [09:51:24] <wmk> can you create an object manually by calling ::create() or new ?
284: [09:52:02] <NETim> not tried that. but the related DB tables for the object don't exist.
285: [09:53:05] <Pywghak> NETim: so what do you mean by 'will build imaginary objects'?
286: [09:54:31] <wmk> NETim, could be a php parsing error, so dev/build crashes?
287: [09:54:34] <NETim> Pywghak: if i change the has_one to has_one "wibble" (which doesn't exist anywhere) it adds the link table/field
288: [09:54:48] <NETim> wmk, I get the build complete message.
289: [09:54:50] <wmk> does dev/build run without errors???
290: [09:54:52] <wmk> hmm
291: [09:54:54] <ss-helper> Re: [silverstripe-dev] Re: Translations in 3.1.11 - https://groups.google.com/d/msg/silverstripe-dev/PcGki_saaak/lGSDCZ_4y9AJ
292: [09:54:58] <wmk> but the DO isn't built - strange
293: [09:55:05] <Pywghak> NETim: what is the name of the class/
294: [09:55:10] <NETim> wmk: yup, strange
295: [09:55:17] <NETim> Pywghak: ContentBlockVertical
296: [09:55:22] <Pywghak> oh yeh
297: [09:55:31] <wmk> does it have any extra fields?
298: [09:55:39] <Pywghak> got another module installed with a declaration of the3 same class?
299: [09:55:51] <NETim> the blocks do, but the extension is just to link them to page.
300: [09:56:01] <NETim> Pywghak: nope. checked that.
301: [09:56:12] <Eliseth> Can I add fields to my already existing RequiredFields based on a condition?
302: [09:56:32] <Pywghak> yes
303: [09:56:36] <NETim> hell with it, unmodulify time.
304: [09:56:41] <wmk> NETim, do a singleton of ContentBlockVertical and run hasExtension('myext')
305: [09:56:47] <Pywghak> NETim: quitter! D:
306: [09:57:01] <Pywghak> you didn't even show us any code yet :<
307: [09:57:17] <wmk> Eliseth, when creating the form or in browser?
308: [09:57:22] <NETim> Been working on adding a relation for 3 hours, need to get some other work done.
309: [09:57:25] <Eliseth> When creating the form
310: [09:57:35] <wmk> of course...
311: [09:57:48] <wmk> just add the required fields when you need it
312: [09:58:26] <Eliseth> I have $validator = new RequiredFields('bla1', 'bla2', 'bla3');
313: [09:58:35] <Eliseth> These are always there
314: [09:59:04] <Eliseth> Now I want to add 'bla4' to it if a specific condition is met
315: [09:59:28] <wmk> oh, german translation has some flaws...
316: [09:59:33] <wmk> weird noone noticed
317: [10:00:08] <wmk> DateField.VALIDATEMINDATE and VALIDATEMAXDATE are vice versa
318: [10:00:15] <Pywghak> heh
319: [10:00:22] <wmk> m(
320: [10:00:24] <Pywghak> I guess those options aren't often used
321: [10:00:28] <Pywghak> I know I never have.
322: [10:00:29] <wmk> i think so
323: [10:00:51] <Pywghak> NETim: so why were you modulifying again?
324: [10:01:12] <NETim> because we use the code quite a bit and wanted to be able to just drop it in when needed.
325: [10:01:25] <wmk> Eliseth, i stumbled over https://github.com/sheadawson/silverstripe-zenvalidator/ the other day, it's nice and maybe it helps you
326: [10:02:12] <Eliseth> errr, my bad
327: [10:02:14] <Eliseth> not like that
328: [10:02:32] <Eliseth> Sorry, I'm explaining it wrong
329: [10:03:10] <Eliseth> I want the field added to the requiredfields if in admin a checkbox is set "bla4 is required".
330: [10:03:15] <Pywghak> NETim: and what does this module do?
331: [10:03:27] <Pywghak> just 'blockificate' the content?
332: [10:03:42] <Eliseth> I don't need to modify the constraints of the field itself
333: [10:04:12] <Pywghak> Eliseth: $validator->requireField('field')
334: [10:04:16] <Pywghak> iirc
335: [10:04:25] <Pywghak> api.ss.org.nz will check that for you
336: [10:04:57] <Eliseth> Learning something everyday... that page isn't working btw
337: [10:05:20] <Pywghak> hmm, seems not.
338: [10:05:26] <Pywghak> well you know the full url anyway hopefully
339: [10:05:34] <Pywghak> api.silverstripe.org
340: [10:06:24] <ss-helper> Re: Betterbuttons module installation - http://www.silverstripe.org/community/forums/customising-the-cms/show/101332#post400651
341: [10:09:01] * MattyBalaam has joined #silverstripe
342: [10:10:25] <wmk> Eliseth, depening how your form is created you can add it as require
343: [10:10:27] <wmk> d
344: [10:12:13] * travis-ci has joined #silverstripe
345: [10:12:14] <travis-ci> silverstripe/silverstripe-cms#1144 (3.1 - c0a44db : Damian Mooyman): The build passed.
346: [10:12:14] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-cms/compare/c238e1e15bd2...c0a44db56b95
347: [10:12:14] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/53775997
348: [10:12:14] * travis-ci has left #silverstripe
349: [10:13:08] <NETim> Pywghak: sort of, it allows the addition of preformated blocks on a page.
350: [10:14:01] <MattyBalaam> I have a quick question. I'm never quite sure what should, and what can - or should - be configured in config.php vs yml. For example is there a yml way to achieve the php: FulltextSearchable::enable(); ?
351: [10:15:08] <Pywghak> NETim: I think you're looking for one of the ~7 pre-existing modules ithen.
352: [10:15:30] <Pywghak> MattyBalaam: ignore config.php
353: [10:15:43] <Pywghak> unless it's something like fulltextsearchable.
354: [10:16:08] <Pywghak> in short, for the most part, if it's a function, it needs to be in php (for reasonably obvious reasons).
355: [10:16:35] <kinglozzer> Actually I think you can enable fulltextsearchable in YAML
356: [10:16:58] <kinglozzer> It's just... verbose
357: [10:17:08] <kinglozzer> I never bother, just do it in PHP, whatevs
358: [10:17:41] <Pywghak> kinglozzer: not like that. You'd have to manually apply all the extensions.
359: [10:17:48] <Pywghak> doable, yes.
360: [10:18:04] <Pywghak> but nothing equivalent to fulltextsearchable::enable()
361: [10:18:52] <kinglozzer> There are only two extensions to add (or three if you include File as well as SiteTree) but yeah, no one-liner to do it
362: [10:19:08] <Hailwood> Hey guys, how would I go about getting all pages that are not publicly accessible but are accessible by group X?
363: [10:19:33] * zlinux quit (Ping timeout: 246 seconds)
364: [10:22:29] * Tanger quit (Quit: sleep())
365: [10:23:06] <kinglozzer> Hailwood: Two options I can see. 1: loop through all pages and check permissions. 2: do an SQLQuery on the SiteTree_ViewerGroups table for all SiteTree IDs where GroupID is the ID of group X
366: [10:23:26] <kinglozzer> Or... perhaps...
367: [10:23:46] <Pywghak> kinglozzer: there's a table called viewergroups?
368: [10:23:54] <kinglozzer> SiteTree::get()->filter(array('CanViewType' => 'OnlyTheseUsers', 'ViewerGroups.ID' => $groupID));
369: [10:23:56] <kinglozzer> Maybe
370: [10:23:59] * Tanger has joined #silverstripe
371: [10:24:04] <kinglozzer> Pywghak: Yep
372: [10:24:19] <Hailwood> kinglozzer, Hmm that sounds like a decent idea. Cheers.
373: [10:24:57] <Pywghak> That's how I was thinking
374: [10:25:11] <Pywghak> great minds and all that eh kinglozzer :P
375: [10:25:53] <kinglozzer> Pywghak: ;)
376: [10:32:44] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
377: [10:49:17] <MattyBalaam> Sorry, went away for a bit, thanks for the config help/
378: [10:50:07] * GioVdK has joined #silverstripe
379: [10:51:34] <ss-helper> Re: Calling controller function always delivers error 403 - http://www.silverstripe.org/community/forums/general-questions/show/101334#post400652
380: [10:54:18] * Alboes has joined #silverstripe
381: [10:55:58] <Alboes> hi. has anybody an example how to handle file uploads in multiform?
382: [10:56:38] * slievr has joined #silverstripe
383: [10:58:35] <Eliseth> $validator->addRequiredField('field'); did the trick.
384: [10:59:57] <Pywghak> Alboes: should be the same I think.
385: [11:00:09] <Pywghak> Eliseth: that's the one :>
386: [11:02:13] <Alboes> well, i know how to add the field and that works, but after submit how have I to handle the file? How to upload?
387: [11:02:31] <Pywghak> hey, it's Mario on the forums!
388: [11:06:41] <wmk> Alboes, normally the file is automatically saved somewhere under assets, a File Dataobject is created and linked to your Dataobject
389: [11:06:49] <wmk> UPloadfield does that for you
390: [11:10:14] <Alboes> okay, i try, thanks
391: [11:10:56] * MattyBalaam quit (Quit: Page closed)
392: [11:13:03] * Shrike_Finland has joined #silverstripe
393: [11:20:23] <Alboes> well, after submit at the last step the file is not saved in assets / file dataobject
394: [11:22:50] <wmk> you need a has_one or has_many to File
395: [11:22:54] <wmk> !paste Alboes
396: [11:22:55] <ss-helper> Alboes: Please paste your code using something like http://kopy.io/ or http://www.sspaste.com/ or https://gist.github.com/ and then paste the link here.
397: [11:22:59] * travis-ci has joined #silverstripe
398: [11:23:00] <travis-ci> silverstripe/silverstripe-framework#4398 (3.1 - 2e31d08 : Daniel Hensby): The build passed.
399: [11:23:00] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/d17272084a95...2e31d08a2401
400: [11:23:00] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/53784400
401: [11:23:00] * travis-ci has left #silverstripe
402: [11:25:54] <Alboes> okay, moment
403: [11:26:18] * Hailwood quit (Quit: Leaving)
404: [11:27:47] * Liquide quit ()
405: [11:31:11] <nontgor> mmmm, recently switched to Apache 2.4 and just noticed the entire assets directory is forbidden.
406: [11:31:31] * travis-ci has joined #silverstripe
407: [11:31:32] <travis-ci> silverstripe/silverstripe-framework#4399 (3.1 - 791a846 : Daniel Hensby): The build passed.
408: [11:31:32] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/2e31d08a2401...791a846fbf20
409: [11:31:32] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/53784635
410: [11:31:32] * travis-ci has left #silverstripe
411: [11:32:35] <dhensby> nontgor: same problem that Pywghak had? I think you need to change your AllowedOverrides setting in the apache conf
412: [11:32:58] <Pywghak> nontgor: yeh, default in 2.4 is none
413: [11:33:01] <Pywghak> 2.2 was all
414: [11:33:10] <Pywghak> you need at least Options
415: [11:33:16] <Pywghak> (or all)
416: [11:33:16] <dhensby> nontgor https://github.com/silverstripe/silverstripe-installer/issues/67
417: [11:33:53] <Pywghak> nontgor: it's not forbidden as such, just 500's on everything in there.
418: [11:34:10] <nontgor> dhensby/Pywghak: Thanks
419: [11:35:38] <slievr> I have an issue that onBeforeWrite() is getting called twice on a save what's causing this?
420: [11:36:39] <Alboes> here is the code: http://www.sspaste.com/paste/show/54fed6993bd80
421: [11:37:07] * NETim quit (Ping timeout: 246 seconds)
422: [11:37:38] <wmk> Alboes, oh, multiform...
423: [11:37:46] <Alboes> yes
424: [11:38:25] * Shrike_Finland quit (Quit: Leaving.)
425: [11:39:00] <wmk> is it in the last step?
426: [11:39:22] * Azure quit (Ping timeout: 244 seconds)
427: [11:39:54] <Alboes> no, what you see is the first step
428: [11:41:59] <wmk> hmm, never used it
429: [11:42:04] <wmk> do you save after the first step?
430: [11:43:05] <wmk> https://github.com/silverstripe/silverstripe-multiform#7-finishing-it-up shows how to load data, maybe you get the file info from somewhere...
431: [11:43:40] <Alboes> no, everything is in a session and after submit in the last step you handle the data
432: [11:44:07] * Shrike_Finland has joined #silverstripe
433: [11:44:44] <Alboes> yes, like https://github.com/silverstripe/silverstripe-multiform#7-finishing-it-up , it works for the normal fields, but i have no idea how I do it for the uploadfield
434: [11:45:00] <wmk> Alboes, dunno if it's outdated, but Ingo explained years ago: http://www.silverstripe.org/community/forums/archive/show/3978
435: [11:45:15] <wmk> depending on what you want to do maybe don't use multiform
436: [11:45:24] <wmk> i tried it once and didn't get it
437: [11:45:57] * Azure has joined #silverstripe
438: [11:47:22] <Pywghak> I used it once... it was ok but I'd look for another solution.
439: [11:47:40] <wmk> Alboes, turn on your debugger and see what $step->loadData() returns
440: [11:48:00] <wmk> xdebug rules, var_dump($data) is ok, too
441: [11:48:28] <wmk> hmm, i guess we need a debugging techniques section in docs
442: [11:50:51] <Alboes> this: https://www.cl1p.net/10032015
443: [11:51:45] * Shrike_Finland quit (Quit: Leaving.)
444: [11:52:10] <kinglozzer> What's the issue? I'm doing multiform atm
445: [11:52:16] <wmk> Alboes, empty clip?
446: [11:52:22] <wmk> kinglozzer, multiform and filefield
447: [11:53:31] <kinglozzer> Ah, yes... fun
448: [11:54:16] <wmk> Alboes, i know this image ;)
449: [11:55:21] <Alboes> sorry this cl1p doesn't work well i guess: http://kopy.io/M8vwE
450: [11:55:43] <wmk> worked in IE, but that costs extra
451: [11:55:52] <kinglozzer> Alboes: Not sure how everything is set up for you, but I did this with Member has_one Avatar. I basically had to get the FileField instance ($this->Fields()... etc), then use $field->setValue($data['Avatar']); $field->saveInto($member);
452: [11:57:18] <kinglozzer> If that doesn't work, you may need to do it after the STEP, not after the entire form (perhaps the file is lost from $_FILES)
453: [12:00:42] * Colin[pi] quit (Ping timeout: 272 seconds)
454: [12:01:01] <Alboes> okay, thanks for now. Gonna out for lunch and will try after...
455: [12:05:37] * Shrike_Finland has joined #silverstripe
456: [12:06:48] <ss-helper> Re: Calling controller function always delivers error 403 - http://www.silverstripe.org/community/forums/general-questions/show/101334#post400653
457: [12:12:30] <darjus01> in SilverStripe is sitetree of pages, is any posibility to make sitetree oc categories, and make modeladmin just like pages to have that site tree look?
458: [12:15:45] * Shrike_Finland quit (Quit: Leaving.)
459: [12:21:03] * UndefinedOffset has joined #silverstripe
460: [12:27:01] <wmk> darjus01, you want to manage pages in modeladmin?
461: [12:27:37] <wmk> afaik the dynamic sitetree on the middle-left doesn't work in modeladmin
462: [12:27:38] <darjus01> nop I just want seperite sitetree for categories only
463: [12:27:59] <wmk> an aditional sitetree?
464: [12:28:06] <darjus01> yes
465: [12:28:12] <wmk> or do you want to exclude some page types from standard sitetree?
466: [12:28:26] <darjus01> nop
467: [12:28:47] <wmk> then i guess you'll have to subclass CMSMain
468: [12:28:51] <darjus01> is standart would be pages but categories have theyr own
469: [12:29:11] <wmk> category is not a page
470: [12:29:12] <wmk> ?
471: [12:29:33] <darjus01> is page but must be seperated
472: [12:29:41] <wmk> another admin?
473: [12:29:49] <darjus01> yes
474: [12:29:54] <wmk> then subclass CMSMain and filter the tree
475: [12:31:17] * greenma__ has joined #silverstripe
476: [12:32:05] <darjus01> ok thx
477: [12:32:58] <wmk> dunno if the tree is something you can cut out easily.
478: [12:33:15] <wmk> would be great for modeladmin for a DO with Hierarchy extension
479: [12:33:39] <darjus01> I will try and we will see :)
480: [12:34:03] * jeroenem has joined #silverstripe
481: [12:34:34] <jeroenem> Is there anyone with experience using https://github.com/sheadawson/silverstripe-zenvalidator ?
482: [12:34:59] <jeroenem> validation logic to be specific - https://github.com/sheadawson/silverstripe-zenvalidator#validation-logic-examples
483: [12:35:59] * Shrike_Finland has joined #silverstripe
484: [12:41:28] * Shrike_Finland quit (Quit: Leaving.)
485: [12:48:54] * Shrike_Finland has joined #silverstripe
486: [12:55:59] * r_hector quit (Quit: Leaving.)
487: [12:56:38] * Shrike_Finland quit (Quit: Leaving.)
488: [12:57:22] * Shrike_Finland has joined #silverstripe
489: [12:59:29] <Pywghak> jeroenem: that's not a question. Ask your actual question.
490: [13:00:01] <Pywghak> !ask
491: [13:00:54] * Shrike_Finland quit (Client Quit)
492: [13:01:47] * zlinux has joined #silverstripe
493: [13:01:54] * arnhoe quit (Remote host closed the connection)
494: [13:03:33] <jeroenem> Pywghak: sorry, got distracted by an email :-P
495: [13:06:41] * cloph_away is now known as cloph
496: [13:06:59] <ss-helper> Extending Image to generate greyscale. - http://www.silverstripe.org/community/forums/general-questions/show/101336
497: [13:09:51] * cloph is now known as cloph_away
498: [13:13:39] <jeroenem> here is something i would like to do: http://www.sspaste.com/paste/show/54feed6a47f1b
499: [13:14:50] <jeroenem> i want to add validation to the fields when ReceiveSample is set to Yes
500: [13:15:22] <jeroenem> when ReceiveSample is set to yes - a little bit of JS is making the SampleName and SampleAddress toggle
501: [13:23:43] <nontgor> any issues with sending email from silverstripe.org - wish to log in to the forums and have forgotten my password. Password reset email hasn't arrived
502: [13:24:25] <jeroenem> anyway - it doesnt seem to do anything with the validation logic - also i wonder how to set custom messages for fields validated by the validation logic but cant seem to find out how
503: [13:26:31] * zlinux quit (Ping timeout: 256 seconds)
504: [13:26:43] * Shrike_Finland has joined #silverstripe
505: [13:37:51] <Pywghak> nontgor: not that I'm aware of, but everyone in charge of it is well asleep by now m80 :<
506: [13:38:49] <Pywghak> jeroenem: are you writing php4 o.0
507: [13:39:24] <nontgor> Pywghak: It can wait till tomorrow
508: [13:42:51] <Pywghak> ffffff hhhhrrrrrrrrnnnnnnnnggggggggg: https://github.com/sheadawson/silverstripe-zenvalidator/blob/master/code/ZenValidatorFormFieldExtension.php#L29
509: [13:45:08] <Pywghak> jeroenem: change var blah to just $blah, and new ClassField to ClassField::create()
510: [13:45:17] <Pywghak> you might be missing some injector magic
511: [13:45:19] <Pywghak> idk
512: [13:45:23] <Pywghak> give it a go
513: [13:48:23] <jeroenem> i'll give it a shot =)
514: [13:48:33] * catcher has joined #silverstripe
515: [13:50:47] * cloph_away is now known as cloph
516: [13:51:54] * zlinux has joined #silverstripe
517: [13:53:34] * Shrike_Finland quit (Quit: Leaving.)
518: [13:55:56] * Shrike_Finland has joined #silverstripe
519: [13:57:31] * arnhoe has joined #silverstripe
520: [13:57:49] * muskie9 has joined #silverstripe
521: [13:58:38] * Alboes quit (Remote host closed the connection)
522: [13:59:02] * arnhoe quit (Client Quit)
523: [14:01:32] * arnhoe has joined #silverstripe
524: [14:04:57] <Pywghak> ! D: iforce is down!
525: [14:07:10] <ss-helper> Re: Calling controller function always delivers error 403 - http://www.silverstripe.org/community/forums/general-questions/show/101334#post400655
526: [14:22:13] <ss-helper> Re: Calling controller function always delivers error 403 - http://www.silverstripe.org/community/forums/general-questions/show/101334#post400656
527: [14:24:25] * Shrike_Finland quit (Quit: Leaving.)
528: [14:29:22] * cloph quit (Ping timeout: 240 seconds)
529: [14:34:25] * cloph_away has joined #silverstripe
530: [14:34:50] * cloph_away is now known as cloph
531: [14:37:16] <ss-helper> Re: Calling controller function always delivers error 403 - http://www.silverstripe.org/community/forums/general-questions/show/101334#post400659
532: [14:37:16] <ss-helper> Re: Adding css / javascript requirements in controller - http://www.silverstripe.org/community/forums/general-questions/show/101305#post400658
533: [14:37:16] <ss-helper> Re: Russian (cyrillic) URL addresses - http://www.silverstripe.org/community/forums/general-questions/show/101333#post400657
534: [14:39:09] * muskie9 is now known as muskie9_afk
535: [14:40:25] * headtrip has joined #silverstripe
536: [14:43:28] * muskie9_afk is now known as muskie9
537: [14:47:04] * nontgor quit (Ping timeout: 255 seconds)
538: [15:01:13] * Frans_Amsterdam has joined #silverstripe
539: [15:11:19] * darjus01 quit (Ping timeout: 246 seconds)
540: [15:12:14] * Azure quit (Ping timeout: 252 seconds)
541: [15:18:40] * Shrike_Finland has joined #silverstripe
542: [15:34:41] <elgabbu> is it possible to determine the the widget area name from within he widget itself?
543: [15:35:05] <elgabbu> so far if I do $this->Parent() in the widget
544: [15:35:13] * zlinux quit (Ping timeout: 264 seconds)
545: [15:35:51] <elgabbu> i get a PageWidgetArea class which extends WidgetArea
546: [15:36:48] * Azure has joined #silverstripe
547: [15:41:14] * Frans_Amsterdam quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
548: [15:41:58] <wmk> hmm... not really.
549: [15:42:48] <elgabbu> weird ey ... it would be nice to be able to add some logic depending in which widget area the widget is being added to
550: [15:42:54] <wmk> jeroenem, sounds like you want to use DisplayLogic module to toggle fields
551: [15:44:26] <wmk> elgabbu, does the WidgetArea have a Title?
552: [15:44:45] <wmk> or do you want it by Type?
553: [15:45:14] <wmk> e.g. FooWidget can only appear in Header widgetarea, not in Left area?
554: [15:46:52] <elgabbu> let me check
555: [15:47:59] <elgabbu> neh title just gives me #2660
556: [15:48:12] <jeroenem> wmk: the toggling is done by some JS but the validation is what i'm after :)
557: [15:48:31] <jeroenem> havent had time yet to try the suggestion of Pywghak but will dive into it tomorrow
558: [15:49:20] <elgabbu> what i want to achieve is say for example in the getCMSFields of the widget ... i want to add some more options to a dropdown field depending in which widget area the widget has been added to
559: [15:50:23] <wmk> jeroenem, unclecheeses's DisplayLogic module does the js for you
560: [15:50:30] <wmk> so you define it in your php
561: [15:51:12] <jeroenem> also for validation? Even in a frontend form?
562: [15:51:22] <wmk> even in frontend
563: [15:51:27] <Pywghak> no, it does display logic.
564: [15:51:39] <Pywghak> you use the zenthing to do the validation
565: [15:51:50] <Pywghak> the docs hint at it ;)
566: [15:52:31] <ss-helper> Help on Passowrd Encryption technique - http://www.silverstripe.org/community/forums/migrating-a-site-to-silverstripe/show/101337
567: [15:52:51] * bemusedrat quit (Quit: Leaving)
568: [15:58:08] * UndefinedOffset quit (Quit: Leaving.)
569: [16:00:10] * UndefinedOffset has joined #silverstripe
570: [16:04:58] <jeroenem> i know, thats why i got confused
571: [16:05:39] <jeroenem> the JS is litteraly 2 lines for this little task so no need for a whole module for now
572: [16:06:19] <Pywghak> no, not a necessity. Just an ease of development thing.
573: [16:08:29] <jeroenem> as a designer, i like to keep things tidy =)
574: [16:10:21] <Pywghak> indeed.
575: [16:10:28] <Pywghak> a good habit :>
576: [16:10:33] <wmk> yup
577: [16:10:48] <wmk> if you need it more often it may be easier
578: [16:22:37] <ss-helper> Re: Help on Passowrd Encryption technique - http://www.silverstripe.org/community/forums/migrating-a-site-to-silverstripe/show/101337#post400661
579: [16:27:02] * arnhoe quit ()
580: [16:44:02] * DimiStripe quit (Quit: DimiStripe)
581: [16:51:17] * jeroenem quit (Quit: Page closed)
582: [17:09:45] <ss-helper> Can Apache (or Nginx) allow 2 apps to selectively serve the same URLs? - http://stackoverflow.com/questions/28969745/can-apache-or-nginx-allow-2-apps-to-selectively-serve-the-same-urls
583: [17:18:52] * kinglozzer gotta run
584: [17:18:53] <kinglozzer> Ciao!
585: [17:18:55] * kinglozzer quit ()
586: [17:18:58] <Pywghak> lol "lets pretend it's silverstripe" - tags post as silverstripe. Pretty obvious at this point that 'it could be anything' is a bit of a false statement.
587: [17:19:15] * Pywghak gotta run
588: [17:19:18] <Pywghak> Ciao!
589: [17:19:20] * Pywghak quit ()
590: [17:21:09] * muskie9 is now known as muskie9_afk
591: [17:23:32] * headtrip quit (Quit: (null))
592: [17:25:58] * greenma__ quit (Remote host closed the connection)
593: [17:37:50] <ss-helper> Placeholder text on UserDefinedForm - http://www.silverstripe.org/community/forums/form-questions/show/101338
594: [17:45:14] * wmk quit (Ping timeout: 272 seconds)
595: [17:52:05] <GioVdK> Hello, does SecurityToken() saves the token in the session?
596: [18:00:12] * Liquide has joined #silverstripe
597: [18:03:37] * greenma__ has joined #silverstripe
598: [18:05:48] * muskie9_afk is now known as muskie9
599: [18:20:33] * GioVdK quit (Ping timeout: 252 seconds)
600: [18:22:59] <ss-helper> Re: Russian (cyrillic) URL addresses - http://www.silverstripe.org/community/forums/general-questions/show/101333#post400663
601: [18:25:29] * darianno has joined #silverstripe
602: [18:40:16] * Colin[pi] has joined #silverstripe
603: [18:45:03] * mobiusnz has joined #silverstripe
604: [18:49:48] * mobiusnz quit (Client Quit)
605: [18:53:48] * cloph is now known as cloph_away
606: [18:57:58] * Stomach has joined #silverstripe
607: [19:00:12] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
608: [19:05:33] * gelignite has joined #silverstripe
609: [19:08:07] <ss-helper> Re: Help on Passowrd Encryption technique - http://www.silverstripe.org/community/forums/migrating-a-site-to-silverstripe/show/101337#post400664
610: [19:16:04] * mobiusnz has joined #silverstripe
611: [19:16:34] * Stomach quit (Quit: zzz)
612: [19:17:32] * Stomach has joined #silverstripe
613: [19:20:59] * wmk has joined #silverstripe
614: [19:24:49] <ss-helper> Generate the password hash using php - http://stackoverflow.com/questions/28972182/generate-the-password-hash-using-php
615: [19:25:13] * muskie9 has joined #silverstripe
616: [19:34:35] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
617: [19:35:15] * greenma__ quit ()
618: [19:36:40] * muskie9 has joined #silverstripe
619: [19:38:13] <ss-helper> Re: Russian (cyrillic) URL addresses - http://www.silverstripe.org/community/forums/general-questions/show/101333#post400665
620: [19:39:22] * wandring-bark has joined #silverstripe
621: [19:40:42] * Ryan-Toast has joined #silverstripe
622: [19:41:15] <wandring-bark> Got a question about overriding a framework template. Currently I can do that by placing a file with the same name in mysite/templates. But I'd like to do it from a plugin that comes alphabetically before "framework". Any tips?
623: [19:42:39] <wandring-bark> *module* not plugin
624: [19:42:59] * mobiusnz1 has joined #silverstripe
625: [19:42:59] * mobiusnz quit (Read error: Connection reset by peer)
626: [19:47:05] * mobiusnz1 is now known as mobiusnz
627: [19:48:18] * muskie9 is now known as muskie9_afk
628: [19:48:40] * muskie9_afk is now known as muskie9
629: [19:49:50] * Ryan-Toast quit (Quit: Ryan-Toast)
630: [19:52:12] * antmas has joined #silverstripe
631: [19:52:29] * darianno quit (Quit: Computer has gone to sleep.)
632: [19:52:30] <antmas> morning all o/
633: [19:53:25] * Ryan-Toast has joined #silverstripe
634: [19:54:06] <antmas> Ryan-Toast: o/
635: [19:54:47] <Ryan-Toast> antmas: o/
636: [19:55:30] <Ryan-Toast> I ahave purchased like 10 icons packs for my phone, I think I have a problem.
637: [19:58:51] * muskie9 is now known as muskie9_afk
638: [19:59:27] <antmas> Ryan-Toast: :< I have 15 for cyanogenmod
639: [19:59:31] <antmas> I had to stop
640: [20:01:46] * muskie9_afk is now known as muskie9
641: [20:02:17] * darianno has joined #silverstripe
642: [20:03:12] <Ryan-Toast> antmas: It’s almost there: http://i.imgur.com/eKowVC7.png
643: [20:04:13] * kinglozzer has joined #silverstripe
644: [20:05:08] <wandring-bark> well turns out my problem solved itself. Love it when that happens ;-)
645: [20:05:19] * wandring-bark quit ()
646: [20:07:45] <antmas> Ryan-Toast: I have the same icons :D
647: [20:08:05] <antmas> don't like the asb one though
648: [20:08:30] <Ryan-Toast> antmas: Im using Click UI, Glim; and Moonshine atm
649: [20:08:38] <Ryan-Toast> ASB doesn’t have an icon :(
650: [20:08:45] <Ryan-Toast> Can’t find a nice one for the bank.
651: [20:08:55] <Ryan-Toast> any recommendations?
652: [20:09:55] <antmas> I just have it on a second page with the normal icon until I find something :O
653: [20:10:42] <antmas> I'm tempted just to make my own theme and upload it
654: [20:10:47] <Ryan-Toast> I only have one page, I like it like that
655: [20:10:56] <antmas> with icons for nz apps
656: [20:10:59] <Ryan-Toast> I’ll need to make an asb icon.
657: [20:11:06] <antmas> yeah 2 pages sucsk, but dat asb icon
658: [20:11:15] <Ryan-Toast> I’ll just make one.
659: [20:12:28] <antmas> I'd settle with just a yellow circle with a shadowed $
660: [20:13:27] * Shrike_Finland quit (Quit: Leaving.)
661: [20:16:52] <antmas> Ryan-Toast: you A 5.x?
662: [20:17:01] <Ryan-Toast> 4.4.4
663: [20:17:26] <antmas> might try click.ui, that looks nice
664: [20:19:02] <antmas> they're so close to my icon pack already
665: [20:26:46] <antmas> Colin[pi]: o/
666: [20:34:13] * darjus01 has joined #silverstripe
667: [20:34:57] <darjus01> Is any posibility to make variable in public function init() and call it in view?
668: [20:36:39] * Stomach quit (Quit: zzz)
669: [20:37:38] * Stomach has joined #silverstripe
670: [20:37:45] <antmas> Stomach: o/
671: [20:38:07] <Stomach> hey antmas
672: [20:39:56] <MichalKleiner> /o\
673: [20:40:05] <MichalKleiner> actually, the other way round
674: [20:40:13] <MichalKleiner> o\/o
675: [20:40:16] <MichalKleiner> owl
676: [20:42:19] <wmk> darjus01, with a getter variable sure...
677: [20:42:28] <wmk> but - why in init?
678: [20:43:17] <antmas> MichalKleiner: /o\ cyclops :D
679: [20:43:44] <MichalKleiner> cyclop holding his head :-D
680: [20:43:58] <wmk> MichalKleiner, reminds me of that Munch drawing
681: [20:44:26] <wmk> http://en.wikipedia.org/wiki/The_Scream
682: [20:48:20] * Cheddam quit (Quit: Textual IRC Client: www.textualapp.com)
683: [20:48:45] * Stomach quit (Quit: zzz)
684: [20:50:32] * UncleCheese has joined #silverstripe
685: [20:51:04] <MichalKleiner> wmk: ah dis one.. ok :-) so it's more \ö/
686: [20:51:36] <wmk> hi UncleCheese
687: [20:51:47] <wmk> unfortunatley i won't do a PR to the latest lession
688: [20:52:07] <wmk> everything perfect to me.
689: [20:52:18] * wmk even learned a bit
690: [20:52:24] <UncleCheese> hey, that's great
691: [20:52:55] <UncleCheese> feedback will become more vital as the lessons get more advanced
692: [20:53:04] * Cheddam has joined #silverstripe
693: [20:53:21] <UncleCheese> because there's a lot that i don't know
694: [20:53:38] <Ryan-Toast> UncleCheese: Please make a tutorial on how I can build something for minimal effort that will allow me to retire next week please.
695: [20:53:53] <wmk> i look forward reading about scaffolding and i18n best practice
696: [20:54:05] <UncleCheese> hmm... building a drug empire takes a long time, Ryan-Toast
697: [20:54:18] <Ryan-Toast> UncleCheese: I got out of the game for that reason.
698: [20:54:23] <UncleCheese> yeah
699: [20:54:27] <Ryan-Toast> Vegas, man.
700: [20:54:31] <Ryan-Toast> I used to run that town.
701: [20:54:37] <Ryan-Toast> Until my son was killed on the Strip.
702: [20:54:40] <Ryan-Toast> RIP Tupac
703: [20:54:45] * Stomach has joined #silverstripe
704: [20:54:52] <UncleCheese> there's a great TED talk by Steve Levitt about what an awful job being a drug dealer is
705: [20:55:14] <UncleCheese> the average drug dealer makes something like half of miminum wage
706: [20:55:33] <Ryan-Toast> UncleCheese: I highly doubt that/
707: [20:56:15] * UndefinedOffset quit (Quit: Leaving.)
708: [20:56:39] <UncleCheese> no, seriously
709: [20:56:50] <UncleCheese> you shoudl watch it.. only like 10 minutes.. it's really eye opening
710: [20:57:09] <UncleCheese> basically the way they work is like mcdonald's franchises
711: [20:57:11] <Ryan-Toast> I knew kids out of highschool that were just selling ecstacy on the weekends for like a grand or so.
712: [20:57:46] <UncleCheese> you've got like two guys at the top who are richer than god, and then all these franchise "store owners" who pay fees to use the gang's name, and get their protection, etc., and they make like.. maybe 100k
713: [20:57:58] <UncleCheese> but all the other lackeys who are our pushing every day.. they make shit
714: [20:58:08] <UncleCheese> they're just hoping for that promotion to franchise owner someday
715: [20:58:10] <Ryan-Toast> Pushers still make decent bank, depending on where they are.
716: [20:58:22] <Ryan-Toast> and how many friends they have
717: [20:58:51] <UncleCheese> probably a different economy in NZ because drugs are scarce and there's no real network of cartels
718: [20:59:03] <Ryan-Toast> And it’s so expensive here.
719: [20:59:18] <UncleCheese> but in these inner cities in the US, if you're selling drugs on some corner, that's not just an accident
720: [20:59:31] <UncleCheese> your gang owns that corner, and if anyone else stands on it, there's a bloodbath
721: [20:59:43] <Ryan-Toast> Oh yeah, USA would suck so bad.
722: [21:00:14] <Ryan-Toast> UncleCheese: Good movie on the topic is “Cannabis Kid"
723: [21:00:17] <Ryan-Toast> Would recommend
724: [21:00:21] <wmk> UncleCheese, ArrayLib::valuekey(range(1,10)) really blows my mind
725: [21:00:27] <UncleCheese> right?
726: [21:00:30] <Ryan-Toast> http://www.rottentomatoes.com/m/kid_cannabis/
727: [21:00:31] <UncleCheese> i just happened upon it recently
728: [21:00:35] <UncleCheese> and i was like, !!!!!!!!!!!!!
729: [21:00:48] <UncleCheese> i knew range(), but i always did array_combine(range() range())
730: [21:01:03] <wmk> range is sooo functional
731: [21:01:03] <Ryan-Toast> wmk: what do you use it for
732: [21:01:06] <UncleCheese> it is
733: [21:01:12] <UncleCheese> range('A','Z');
734: [21:01:20] <wmk> Ryan-Toast, DropdownField::create('Bathrooms')
735: [21:01:20] <wmk> ->setSource(ArrayLib::valuekey(range(1,10))),
736: [21:01:34] <wmk> ^^^^ (c) UncleCheese
737: [21:01:59] <Ryan-Toast> wmk: Ah, so it will create 10 options?
738: [21:02:05] <wmk> yup
739: [21:02:09] <Ryan-Toast> cool :D
740: [21:02:40] <UncleCheese> honestly there should be a native method for that
741: [21:02:41] <wmk> UncleCheese, ask sam for the "My code is elegant" badge...
742: [21:02:49] <UncleCheese> have one :)
743: [21:02:54] * wmk too
744: [21:04:57] <UncleCheese> why do people overwrite the browser global undefined?
745: [21:05:08] * kinglozzer quit ()
746: [21:05:16] <MichalKleiner> to be more undefined?
747: [21:06:54] <UncleCheese> it's weird.. a lot of times a library is wrapped in a closure like
748: [21:07:10] <UncleCheese> function ( undefined ) {
749: [21:07:19] <UncleCheese> so that you can define your own value for undefined
750: [21:07:26] <wmk> closed library? that doesn't make sense if you cant borrow books...
751: [21:10:32] * catcher quit (Quit: Leaving)
752: [21:11:03] * darianno quit (Quit: Computer has gone to sleep.)
753: [21:18:48] <MichalKleiner> UncleCheese: this article explains it
754: [21:18:49] <MichalKleiner> https://www.unleashed-technologies.com/blog/2010/09/07/how-closures-work-javascript-overview
755: [21:19:13] <MichalKleiner> it really is to make undefined be undefined within the closure otherwise some malicious js can redefine it
756: [21:19:39] <MichalKleiner> so say it's a good practice kinda thing
757: [21:21:16] <UncleCheese> yeah that's good
758: [21:21:26] <UncleCheese> so is it basically a way of protecting your undefined variable?
759: [21:21:35] <UncleCheese> in case someone changed it in the global space?
760: [21:22:01] <MichalKleiner> yep
761: [21:22:13] <UncleCheese> that makes sense
762: [21:22:18] <UncleCheese> so basically you go
763: [21:22:23] <UncleCheese> function ( window, undefined ) {
764: [21:22:28] <MichalKleiner> didn't know that before either, just googled it now
765: [21:22:30] <UncleCheese> }(window, 'undefined');
766: [21:23:17] <MichalKleiner> the end is just } (window) not assigning anything to undefined which will make it undefined by default from the JS perspective whatever it is in parent scope
767: [21:23:20] <UncleCheese> won't be a thing in ES6, as the undefined global is now unwritable
768: [21:23:38] <MichalKleiner> would be equal to php default parameter to be null when not assigned
769: [21:24:22] <MichalKleiner> function fn($a, $b=null) {}; fn(5)... $b is null
770: [21:24:47] <MichalKleiner> not exactly analogical but sort of
771: [21:25:13] <UncleCheese> you can do default assignment in ES6, too, though. :-)
772: [21:25:37] <UncleCheese> it's a bit shit in JS that you're allowed to drop arguments like that, i think
773: [21:26:46] <MichalKleiner> well I wouldn't say shit.. it's a specific of the language
774: [21:27:19] <MichalKleiner> but anything making it cleaner and less prone to errors and unexpected (or not well understood) behaviour is good
775: [21:27:34] * darjus01 quit (Ping timeout: 246 seconds)
776: [21:27:59] * mahfuz has joined #silverstripe
777: [21:28:10] * Hailwood has joined #silverstripe
778: [21:42:59] * wracu has joined #silverstripe
779: [21:43:17] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
780: [21:44:16] <wracu> aah, need to add some plugins to Silverstripe tinyMCE and declare some tings in init()
781: [21:44:54] <wracu> how can I modify init()?
782: [21:48:52] * onfire_ has joined #silverstripe
783: [21:49:44] <wmk> wracu, what init?
784: [21:50:04] <wmk> have you seen the docs on how to modify tinymce in ss?
785: [21:52:07] * veb has joined #silverstripe
786: [21:52:23] <onfire_> hi guys, I'm having a bit of a mind blank for something I feel should be very straight forward! I have two objects that both have $has_one to each other but when updating the object in the CMS, the ID's don't stay matching - whats the best fix for this?
787: [21:52:39] <onfire_> I need them to both have the has_one so I can call them from each other
788: [21:52:39] <wracu> @wmk so I've used tinymce customisations before outside the dms
789: [21:52:46] <wracu> things like $htmlEditorConfig->enablePlugins(array( *plugins*
790: [21:53:17] <muskie9> onfire_ has_one and belongs_to ?
791: [21:53:28] <wracu> howver, in the CSM I'm having to do something like tinymce.PluginManager.load(
792: [21:53:31] <wracu> oops vice versa
793: [21:53:31] <wmk> onfire_, DO A has_one B; DO B belongs_to A
794: [21:53:33] <onfire_> isnt there only a belongs_many_many
795: [21:53:52] <wracu> so OUTSIDE the DMS, I can load a plugin with JS like tinymce.PluginManager.load(
796: [21:54:11] <muskie9> onfire_ http://doc.silverstripe.org/en/developer_guides/model/relations/#belongs-to
797: [21:54:12] <wracu> and within the DMS I'm having to use $htmlEditorConfig->enablePlugins(array(.
798: [21:54:35] <wracu> however...
799: [21:54:55] <wmk> onfire_, http://api.silverstripe.org/3.1/class-DataObject.html#_belongs_to
800: [21:55:22] <wracu> i need to set an upload path varioble
801: [21:55:39] <wracu> but the example is js
802: [21:55:41] <onfire_> knew there was something simple! Blank today
803: [21:55:46] <wracu> ie. in the tinyMCE.init method
804: [21:56:09] * spronk2 has joined #silverstripe
805: [21:56:14] <wracu> how can I set the same(but in php?) for the CMS editor
806: [21:57:05] <wracu> lol... DMS = CMS
807: [21:58:11] <wmk> wracu, did you see http://api.silverstripe.org/3.1/class-HtmlEditorConfig.html#_enablePlugins
808: [21:58:39] <wmk> onfire_, well, a pure 1:1 relationship is quite uncommon
809: [21:58:51] <wmk> you won't have to deal with it every day
810: [21:59:26] <wracu> I had but perhaps I'm not understanding it..
811: [21:59:28] <wmk> wracu, https://github.com/jonom/silverstripe-tinytidy/blob/master/_config.php may also help
812: [21:59:43] <wracu> I have been able to activate the plugin, but I need to set a variable for it to use
813: [21:59:59] <wmk> wracu, which plugin?
814: [22:00:02] <wmk> what variable?
815: [22:00:06] <wracu> http://www.designsandcode.com/261/open-manager-tinymce-file-manager/
816: [22:00:07] <wmk> !paste wracu
817: [22:00:07] <ss-helper> wracu: Please paste your code using something like http://kopy.io/ or http://www.sspaste.com/ or https://gist.github.com/ and then paste the link here.
818: [22:00:39] <wmk> wracu, WHY?
819: [22:01:05] <wmk> cms has already possibilty to upload image in tiny
820: [22:01:16] <wracu> I want more than images
821: [22:01:16] <wmk> or to choose from existing image
822: [22:01:26] <wmk> wracu, in TINY ???
823: [22:01:41] * travis-ci has joined #silverstripe
824: [22:01:42] <travis-ci> silverstripe/silverstripe-framework#4402 (3.1 - c0b6619 : Damian Mooyman): The build passed.
825: [22:01:42] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/791a846fbf20...c0b6619c5ecc
826: [22:01:42] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/53863996
827: [22:01:42] * travis-ci has left #silverstripe
828: [22:01:46] <wracu> you seem concerned by this :)
829: [22:01:58] <wmk> well, i see the mess in a year or two
830: [22:02:19] * cloph_away is now known as cloph
831: [22:02:20] <wmk> though you're totally flexible with this approach, you have to be totally disciplined
832: [22:02:47] <wmk> ok, more general question: what do you want to acchive with this?
833: [22:04:18] <onfire_> yea it doesn't happn that often
834: [22:04:22] <onfire_> should know by now though!
835: [22:04:34] <wracu> currently adding a file attachment isn't part of the content field. Its uploaded separate and then referenced.
836: [22:04:39] <wracu> thsi would make the process more seamless
837: [22:05:05] * onfire_ quit (Quit: Page closed)
838: [22:05:28] <wmk> hmm, uploading in a seperate field using has_many or many_many you don't have to reference manually if you e.g. have a seperate section in template where it's outputted automatically
839: [22:05:36] <Colin[pi]> morning all o/
840: [22:06:07] <wmk> wracu, you could have page has_many Download where Download is a DataObject with Title, Description, File
841: [22:06:21] <wmk> if you need the same file in many pages then make a many_many
842: [22:06:37] <wracu> true, but if the file attachment is treated as part of the content, its more manual to include it inline.
843: [22:06:44] <wmk> with bulkupload module you can drag n drop a lot of files
844: [22:06:48] <wracu> this happens to be my requirement :B
845: [22:07:06] <wmk> which i tend to avoid
846: [22:07:10] <wmk> ...
847: [22:07:14] <wracu> it would be simple if it were just a bucket at the end of a page (or somewhere in the template) with a bunch of files
848: [22:07:28] <wracu> but it happens to be relevant to the content
849: [22:08:09] <wmk> well, does this tiny uploader also generate a File DO ?
850: [22:08:11] <wmk> i guess not
851: [22:08:32] <wmk> if you want to replace the file referenced in many pages it will be work without
852: [22:08:52] <wmk> afaik in 3.x links to files are shortcodes
853: [22:09:12] * Frans_Amsterdam has joined #silverstripe
854: [22:11:03] <antmas> Colin[pi]: o/
855: [22:11:19] <antmas> *waving intensifies*
856: [22:11:28] <veb> http://happymoose.nz
857: [22:11:49] <veb> go like the facebook page <3
858: [22:12:00] <veb> Android coming soon
859: [22:12:09] <Colin[pi]> antmas: ^.^ uguu antmas senpai
860: [22:12:25] <Colin[pi]> is it Friday yet?
861: [22:12:36] <wracu> yes. yes it is
862: [22:12:42] <Colin[pi]> SWEET
863: [22:12:48] <antmas> veb: so, automated photo printing?
864: [22:13:00] <veb> yeah
865: [22:13:16] <antmas> no android?
866: [22:13:16] <veb> i'm doing some website work right now
867: [22:13:23] <veb> antmas: did you read what I said!
868: [22:13:31] <veb> [11:12:03] <veb> Android coming soon
869: [22:13:39] <veb> developing it now
870: [22:13:57] <antmas> :P
871: [22:13:58] <veb> https://www.facebook.com/happymoosenz
872: [22:14:09] <antmas> web browser irc isn't nice at keeping history
873: [22:14:45] <veb> :)
874: [22:14:47] <antmas> hmmmm
875: [22:14:52] <antmas> what's the pricing like?
876: [22:15:04] <antmas> we use snapfish for photos
877: [22:15:52] <Hailwood> Hey guys, has anyone used the sunnysideup/silverstripe-ecommerce_discount_coupon module?
878: [22:16:03] * Frans_Amsterdam quit (Ping timeout: 246 seconds)
879: [22:17:36] <veb> snapfish is gonna go waaaaaay dead
880: [22:17:45] <veb> when we bring the web up
881: [22:18:01] <veb> anyway, gotta work bbl
882: [22:20:06] <antmas> veb: pricing brah, what is
883: [22:20:27] <veb> cheaper than snapfish, but it doesn't matter if you don't have an iphone right now
884: [22:20:36] <veb> so i'm running flat out
885: [22:20:45] <antmas> veb: ah round pricing on app store link
886: [22:20:49] <antmas> found*
887: [22:30:27] <antmas> 2 more months before our place is UFB ready :O
888: [22:31:02] <wmk> hmm, is there a possibility to cherrypick some commits before i make a PR ?
889: [22:31:27] <Colin[pi]> antmas: UFB?
890: [22:31:56] <antmas> Colin[pi]: fibre
891: [22:32:26] <Colin[pi]> antmas: ohhh... yeah I should be getting mine sometime around 2063
892: [22:32:33] <antmas> XD
893: [22:32:34] <Colin[pi]> THANKS ABBOTT
894: [22:33:04] <Colin[pi]> you'll be all... check out the latest wireless implant in my braim
895: [22:33:06] <Colin[pi]> *brain
896: [22:33:09] <Colin[pi]> I'll be all
897: [22:33:12] <Colin[pi]> CHECK OUT MY FIBER
898: [22:35:15] <antmas> I just want to be able to upload to youtube or twitch :O
899: [22:35:48] <Colin[pi]> antmas: mmm u reckon I could with 32KB/sec up?
900: [22:35:50] <Colin[pi]> :D
901: [22:36:18] <antmas> :P
902: [22:37:37] <veb> Colin[pi]: i havea wireless implant in my brain
903: [22:37:40] <veb> it's called a cochlear implant
904: [22:37:45] <veb> sux2bu
905: [22:38:07] <Colin[pi]> veb: can you get Netflix on it?
906: [22:38:26] <veb> I can have music wirelessly beamed into my brain
907: [22:38:28] <veb> beat that
908: [22:41:32] <antmas> you can probably get mindcontrolled by National too
909: [22:41:39] <antmas> RIGHT GUIS?
910: [22:41:41] <veb> nah.
911: [22:41:42] <antmas> #chemtrails
912: [22:41:58] <Colin[pi]> antmas: wake up sheeple
913: [22:42:01] <veb> though, the remote I have for it, uses radio, right?
914: [22:42:19] <veb> I got on a plane and I said, "this uses more powerful radiowaves than phones do"
915: [22:42:22] <veb> "hehe thats cool"
916: [22:42:24] <veb> ... lol
917: [22:42:25] <veb> wut
918: [22:42:39] <veb> so I used it heaps to turn my volume up and down, across and under
919: [22:42:45] <veb> didn't crash
920: [22:43:00] <antmas> who turns phones of in planes?
921: [22:43:07] <veb> yeah...
922: [22:43:15] <veb> but they still tell you to
923: [22:43:20] <antmas> true
924: [22:43:32] <veb> and they don't when you say you have an electronic device that has more electromagnetic crap than a laptop/phone
925: [22:43:40] <veb> i seriously giggled like a girl for an hour
926: [22:45:29] <veb> i guess they're OK with people flying drones inside the plane
927: [22:45:30] <veb> haha
928: [22:45:31] <veb> imagine that
929: [22:45:38] <veb> or... outside the plane, keeping up
930: [22:46:39] <Colin[pi]> veb: i guess they're OK with people flying drones inside the plane
931: [22:46:42] <Colin[pi]> yo dawg...
932: [22:46:45] <veb> hah
933: [22:52:48] <mahfuz> Hey guys. Can anyone tell me is uploadify usable with the latest version of SilverStripe? It seems quite old module.
934: [22:53:50] <antmas> UncleCheese: ^^^
935: [22:55:50] <UncleCheese> mahfuz: this is uploadify's big brother: https://github.com/unclecheese/silverstripe-dropzone
936: [22:58:21] * wmk quit (Ping timeout: 246 seconds)
937: [23:00:43] <mahfuz> Thanks UncleCheese
938: [23:01:37] * muskie9 is now known as muskie9_afk
939: [23:04:31] * antmas_ has joined #silverstripe
940: [23:06:37] * antmas quit (Ping timeout: 246 seconds)
941: [23:07:27] * wracu quit (Quit: Leaving)
942: [23:11:51] * antmas_ is now known as antmas
943: [23:12:03] * r_hector has joined #silverstripe
944: [23:24:50] * spronk2 quit (Quit: I may need a longer sleep timer...)
945: [23:29:44] <antmas> HODOR https://soundcloud.com/kristiannairn/knmarch153
946: [23:29:53] <mahfuz> UncleCheese: I am trying to use your bootstrap-forms modules. Created a page with the Kitchen Sink FancyForm code that you provided which looks like this - http://findmy.bbtdevelopment.com/test-form/ For your info, I am using bootstrap and jquery in my theme so I have used this in _config.php BootstrapForm::set_bootstrap_included(true); BootstrapForm::set_jquery_included(true);
947: [23:30:16] <UncleCheese> don't use static methods.. use the config
948: [23:30:28] <MichalKleiner> should documentation be linked directly from http://www.silverstripe.org/?
949: [23:32:19] <UncleCheese> yeah.. learn/developer doc
950: [23:32:56] <mahfuz> UncleCheese: sorry it was not clear to me what you meant?
951: [23:33:31] <UncleCheese> use jquery_included: false in your yaml.. those static methods are deprecated, i think
952: [23:34:00] <UncleCheese> https://github.com/unclecheese/silverstripe-bootstrap-forms/blob/master/_config/config.yml#L5
953: [23:34:59] * travis-ci has joined #silverstripe
954: [23:35:00] <travis-ci> silverstripe/silverstripe-framework#4403 (3 - 319b96b : Damian Mooyman): The build passed.
955: [23:35:00] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/c35b1c432f19...319b96b48b08
956: [23:35:00] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/53874021
957: [23:35:00] * travis-ci has left #silverstripe
958: [23:36:46] <mahfuz> UncleCheese: Should I just use this 2 lines or the whole content in the link file that you sent?
959: [23:36:52] <mahfuz> BootstrapForm: bootstrap_included: false jquery_included: false
960: [23:40:45] * Cramb has joined #silverstripe
961: [23:42:42] <Cramb> Hi I have installed a module which attaches to pagetypes via a dataextension. Now I need to extend that extension, how do I do that without messing about with the module itself.
962: [23:42:54] <mahfuz> UncleCheese: I have put this lines in my site config.yml file BootstrapForm: bootstrap_included: true jquery_included: true But still the form elements look like this - http://findmy.bbtdevelopment.com/test-form/
963: [23:50:04] * r_hector quit (Quit: Leaving.)
964: [23:53:24] <UncleCheese> did you flush?
965: [23:53:29] <UncleCheese> config is cached
966: [23:56:31] * spronk2 has joined #silverstripe

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