#silverstripe IRC Log

IRC log for 7 May 2015

All timestamps are in UTC.

1: [00:00:40] <Ryan-Toast> simon_w: Are there any other security pages besides login, and lost password that can be triggered from the front-end?
2: [00:00:48] <Ryan-Toast> by users?
3: [00:01:08] <simon_w|air> Ryan-Toast, the re-login form in the CMS
4: [00:01:21] <simon_w|air> And all the steps in forgotten password
5: [00:01:25] <Ryan-Toast> simon_w|air: How can I trigger that?"
6: [00:01:35] <simon_w|air> Open CMS, delete session cookie
7: [00:02:20] <Ryan-Toast> chur
8: [00:02:34] * travis-ci has joined #silverstripe
9: [00:02:35] <travis-ci> silverstripe/silverstripe-cms#1202 (3 - cded127 : Sean Harvey): The build passed.
10: [00:02:35] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-cms/compare/f4f226927d8c...cded12772cfd
11: [00:02:35] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/61538951
12: [00:02:35] * travis-ci has left #silverstripe
13: [00:05:31] <Ryan-Toast> simon_w|air: This is the thing, right? http://i.imgur.com/yzyG9Gr.png
14: [00:05:37] <simon_w|air> Ryan-Toast, yup
15: [00:05:59] <Ryan-Toast> simon_w|air: Sweet. I think just login, forgotpassword, and passwordsent are the only ones I need
16: [00:06:16] <simon_w|air> Ryan-Toast, and chanegpassword?
17: [00:06:48] <Ryan-Toast> simon_w|air: I thought that’s handled in the cms?
18: [00:06:55] <simon_w|air> Nope
19: [00:07:05] <simon_w|air> Follow the link in the forgot password email
20: [00:07:12] <Ryan-Toast> Oh right, the link when you get back from the email./
21: [00:08:58] * Sticks has joined #silverstripe
22: [00:11:21] <Ryan-Toast> simon_w|air: Yay, I can use my cms Security again :P
23: [00:13:07] <Colin[pi]> Oculus Rift consumer version announced eh? about frickin time
24: [00:15:50] <simon_w|air> Ugh, I hate working with this stored procudure
25: [00:16:18] <simon_w|air> 3-way union with the only difference in each the where conditions :(
26: [00:16:37] <zippy> Colin[pi]: will have to start saving my pennies
27: [00:17:20] <Ryan-Toast> simon_w|air: nods head
28: [00:17:45] <Ryan-Toast> zippy: Imagine setting it up so you have heaps of IDE windows ipen and you just look around to view them.
29: [00:17:48] <zippy> https://www.oculus.com/blog/first-look-at-the-rift-shipping-q1-2016/ lol @ comments
30: [00:18:06] <zippy> you mean, be INSIDE the code? O.o
31: [00:18:11] <zippy> I already dream about it enough
32: [00:18:42] <Ryan-Toast> zippy: No I mean instead of having three screens on your desk, you just look around in your occulus
33: [00:18:50] <Ryan-Toast> and back to your browser etc
34: [00:21:53] * r_hector has joined #silverstripe
35: [00:26:50] * Stomach quit (Quit: zzz)
36: [00:28:46] * shebangydangy has joined #silverstripe
37: [00:29:01] * shebangydangy has left #silverstripe
38: [00:31:26] <Colin[pi]> I've been asked to quote on a derppress api integration... you reckon I'd transition ok from ss?
39: [00:31:30] <Colin[pi]> I've never done derppress
40: [00:32:24] <simon_w|air> Nope
41: [00:32:33] <Colin[pi]> nope?
42: [00:32:47] <simon_w|air> WP is horrible to work with
43: [00:32:51] <Colin[pi]> :(
44: [00:32:54] <Colin[pi]> that was my worry
45: [00:33:25] <antmas> thought you meant derpal
46: [00:34:00] <Colin[pi]> I mean I could quote higher... or try to find off the shelf stuff
47: [00:34:02] <antmas> Colin[pi]: you could still quote on it though, just quote really high because you value your sanity
48: [00:34:03] <Colin[pi]> *shrug*
49: [00:34:07] <Colin[pi]> ^
50: [00:34:25] * Stomach has joined #silverstripe
51: [00:38:21] <UncleCheese> coming soon to BetterButtons -- Nested Forms: return of the DOM
52: [00:38:43] <Stomach> UncleCheese - react?
53: [00:38:45] <Stomach> REACT
54: [00:38:47] <Stomach> react.
55: [00:38:48] <UncleCheese> hahahaha
56: [00:38:50] <UncleCheese> nooooooo
57: [00:38:57] <UncleCheese> KickAssets 3 is in react, though
58: [00:38:59] <Stomach> hurry up and react the CMS
59: [00:39:08] <UncleCheese> working on it
60: [00:39:11] <Stomach> yeah I saw your cool select thing you were showing Cam the other day
61: [00:39:18] <UncleCheese> someone should bootstrap the cms first
62: [00:39:22] <MichalKleiner> Colin[pi]: I have no issues working with wp compared to ss
63: [00:39:35] <MichalKleiner> it's how you approach it.. the system itself is not as horrible as people say..
64: [00:40:07] <UncleCheese> while(ridiculously_verbose_procedural_function()):
65: [00:40:16] <Colin[pi]> MichalKleiner: http://i.imgur.com/S5xtV8f.jpg
66: [00:40:21] <MichalKleiner> hehe
67: [00:40:41] <Colin[pi]> not sure if shit or not shit
68: [00:41:13] <MichalKleiner> yes, there is tons of shitty plugins and themes and stuff.. but if you build a site from scratch you can do it properly even with [word you don't use here]
69: [00:41:25] <MichalKleiner> there are scaffolding tools
70: [00:41:29] <MichalKleiner> there is cli tool
71: [00:41:41] <Colin[pi]> so... what you're saying is that programmers can be good or shitty regardless of the platform ;)
72: [00:41:49] <MichalKleiner> yes
73: [00:42:32] <MichalKleiner> and it doesn't mean that when the ecosystem around something has more shit because of more volume in general that it's bad in its entirety
74: [00:42:53] <MichalKleiner> *end of philosophical window :-D
75: [00:44:17] <Colin[pi]> oh no, my gf dropped her phone running for the bus
76: [00:44:21] <Colin[pi]> cracked iPhone screen
77: [00:44:23] <Colin[pi]> \o/
78: [00:44:35] <MichalKleiner> sorry not sorry
79: [00:44:52] <Colin[pi]> was in a case too
80: [00:45:09] <MichalKleiner> I mean.. that's what I don't like about fancy phones.. too expensive to fix
81: [00:45:25] <Colin[pi]> just been paid off not long ago :(
82: [00:45:32] <Stomach> UncleCheese - http://www.meetup.com/ReactJS-Auckland/events/222360473/
83: [00:45:33] <Stomach> should come
84: [00:45:36] <Stomach> and do a talk
85: [00:45:38] <Stomach> do it...
86: [00:45:43] <MichalKleiner> do it!
87: [01:02:39] * willr has joined #silverstripe
88: [01:04:32] <Stomach> yeah... do it!
89: [01:06:01] * antmas votes do it
90: [01:06:25] <antmas> Colin[pi]: :O
91: [01:06:48] <antmas> although I've always been in the understanding that iphone screens are prone to breaking even when in a case
92: [01:07:20] <willr> antmas dropped my dozen times over 2 years and hasn’t broken yet *touches wood*
93: [01:07:20] * Tanger has joined #silverstripe
94: [01:07:48] <antmas> willr: may depend on which iphone I guess?
95: [01:09:54] <Colin[pi]> UncleCheese: uh is that lesson 16 supposed to be over the right side? http://www.silverstripe.org/learn/lessons
96: [01:11:03] <Ryan-Toast> Colin[pi]: <% if $MulltipleOf(3) %><div class=“clearfix”></div><!—/.clearfix—><% end_if %>
97: [01:11:17] <Ryan-Toast> it formatted my end comment :(
98: [01:11:39] <Ryan-Toast> PAgination still doesn’t go to the top of the page.
99: [01:11:41] <Tanger> Mornin'
100: [01:13:11] <antmas> from Snap "Checking with Chorus they have advised the fibre network is currently under build for your area but unfortunately could not give me an exact date of completion. They have noted latest by around June 2017."
101: [01:13:21] <antmas> JUne 2017?
102: [01:13:34] <antmas> fucking plebs
103: [01:18:14] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
104: [01:22:50] * veb quit (Quit: veb-irc: &)
105: [01:27:12] * r_hector quit (Quit: Leaving.)
106: [01:27:17] <Tanger> Grrr, this blog remake is frustrating
107: [01:27:45] * zippy quit (Ping timeout: 250 seconds)
108: [01:28:00] * zippy_ has joined #silverstripe
109: [01:28:05] * zippy_ quit (Remote host closed the connection)
110: [01:31:09] * UncleCheese has joined #silverstripe
111: [01:31:37] <UncleCheese> Colin[pi] on the right side?
112: [01:35:50] <Ryan-Toast> Unclecheese: There’s no clear on your grids, so if the last item is smaller than the rest the next item will float below it.
113: [01:36:10] <UncleCheese> i guess i'm not seeing the issue
114: [01:36:28] * Stomach quit (Quit: zzz)
115: [01:37:14] <Ryan-Toast> UncleCheese: http://i.imgur.com/jkenAkf.png
116: [01:37:34] <UncleCheese> huh
117: [01:37:36] <UncleCheese> need a fixed height
118: [01:37:41] * Stomach has joined #silverstripe
119: [01:37:54] <Ryan-Toast> no, just add a clearfix on multipleOf
120: [01:38:07] <Ryan-Toast> <% if $MulltipleOf(3) %><div class=“clearfix”></div><% end_if %>
121: [01:38:44] <Ryan-Toast> and another one with visible-sm on multipleof 2
122: [01:38:54] <Ryan-Toast> for your small tablet view
123: [01:39:22] <UncleCheese> ew!
124: [01:39:56] * babak has joined #silverstripe
125: [01:40:02] <Ryan-Toast> Fine, do a nth-child(3) :after clear both content table for all I care :P
126: [01:43:00] <UncleCheese> yikes!
127: [01:43:07] <UncleCheese> i'm allergic to css
128: [01:43:23] <UncleCheese> i'll ask our frontend guy here.. i'm sure either will work fine
129: [01:43:54] <Ryan-Toast> :P
130: [01:44:20] <Colin[pi]> Ryan-Toast: what about that pagination jump?
131: [01:44:24] <Colin[pi]> is that a target thing?
132: [01:45:26] <Ryan-Toast> Colin[pi]: ah, it replaces the content, so the screen retains it’s positioning.
133: [01:45:44] <Colin[pi]> oic makes sense
134: [01:45:50] <Colin[pi]> ajax?
135: [01:45:55] <Ryan-Toast> Yarp
136: [01:46:07] <Colin[pi]> so can you get it to replace and jump up?
137: [01:46:13] <Colin[pi]> via js right?
138: [01:46:23] <Ryan-Toast> You can yeah.
139: [01:46:40] <Ryan-Toast> they would just set the window to the #lesson-list container
140: [01:47:30] <Ryan-Toast> Also noi margin between the pagination items irks me more than it should.
141: [01:47:46] <UncleCheese> love cracking open the box of a brand new laptop :)
142: [01:47:52] <Colin[pi]> Ryan-Toast: they must never touch
143: [01:48:03] <Ryan-Toast> Colin[pi]: NEVER TOUCH
144: [01:48:09] <Colin[pi]> UncleCheese: dat feel
145: [01:48:16] <antmas> Colin[pi]: UncleCheese dat smell
146: [01:48:24] <Colin[pi]> antmas: dem carcinogens
147: [01:48:25] <Colin[pi]> :D
148: [01:48:36] <antmas> love me some carcinogens
149: [01:48:59] <antmas> haven't come across anything that smelt better than a brand new xbox 360 controller
150: [01:49:05] <UncleCheese> hahah
151: [01:49:08] <Colin[pi]> lol wat
152: [01:49:11] <UncleCheese> dat offgassing
153: [01:49:15] <antmas> don't judge
154: [01:49:19] <antmas> :D
155: [01:49:37] <Colin[pi]> I used to like the smell of new books
156: [01:49:41] <Colin[pi]> don't get that much anymore
157: [01:49:50] <antmas> took me the longest time to convince my partner that they do tailor that smell at the factory
158: [01:50:12] <Colin[pi]> antmas: new car smell is good too :)
159: [01:50:18] <antmas> Colin[pi]: indeed
160: [01:50:26] <Colin[pi]> antmas: mine still has it a bit
161: [01:50:32] <Colin[pi]> that new car smell mixed with leather
162: [01:50:35] <Ryan-Toast> Fruit loops smell great. Taste bad.
163: [01:50:38] <antmas> not smelling it is like telling someone NOT to take a big whiff of petrol when you're filling up the tank :P
164: [01:50:59] <UncleCheese> ugh
165: [01:50:59] <Colin[pi]> antmas: amateur, I drink it
166: [01:51:01] <UncleCheese> i have a headache now
167: [01:51:04] <antmas> lol
168: [01:51:07] <antmas> so pro
169: [01:51:08] <UncleCheese> seriously
170: [01:51:15] <Ryan-Toast> How can you Requirements::block a combined file? Doesn’t seem to work.
171: [01:51:17] <UncleCheese> why did you guys have to remind me
172: [01:51:35] <antmas> petrol smells great until it's ON something
173: [01:51:41] <antmas> then it's the worst
174: [01:51:55] <Colin[pi]> antmas: one of my favs is those little refresher sachets from KFC
175: [01:52:00] <Colin[pi]> rip *sniff*
176: [01:52:02] <Colin[pi]> ahhhh
177: [01:52:06] <antmas> Colin[pi]: :O omg
178: [01:52:12] <antmas> YES
179: [01:52:25] <antmas> those like damp wipe things?
180: [01:52:28] <Colin[pi]> yeah
181: [01:52:33] <Colin[pi]> always loved that smell lol
182: [01:52:37] <Colin[pi]> lemony fresh
183: [01:52:43] <antmas> haha
184: [01:53:03] <Colin[pi]> antmas: u realize everyone else here now is looking at us like http://i.imgur.com/nCZoEXs.gif
185: [01:53:27] <antmas> it's like the inside of a cigarette box :) smells like raisins
186: [01:53:39] <antmas> Colin[pi]: rofl
187: [01:54:03] <Colin[pi]> u know I have never smelled the inside of a durrie box in my life
188: [01:54:18] <antmas> lol durrie
189: [01:54:26] <Colin[pi]> it's not really on my bucket list though :P
190: [01:54:47] <antmas> durrie box sniffing
191: [01:54:50] <antmas> not even once
192: [01:55:06] <antmas> good talk Colin[pi]
193: [01:55:10] <Colin[pi]> ^_^
194: [01:55:15] <Colin[pi]> any time
195: [01:55:30] <antmas> :D
196: [01:55:36] <Colin[pi]> I cant stand ciggie smell, that said, I did walk past an old lady once at a bus stop, smoking what I assume were old lady durries, and my god, did they smell good
197: [01:56:10] <antmas> could have been menthol or clove ones maybe
198: [01:56:29] * Stomach quit (Quit: zzz)
199: [01:56:29] <Colin[pi]> I have no idea, but it was like the only time where I liked the smell of ciggie smoke :o
200: [01:58:04] * Motoservo quit (Quit: Motoservo)
201: [01:58:42] <Tanger> Hey guys, I'm trying to get the new Silverstripe-blog from https://github.com/silverstripe/silverstripe-blog working. Anybody got it running properly?
202: [02:00:45] <Colin[pi]> Tanger: I assume so, it's based on a working release I think?
203: [02:01:06] <antmas> tanger any errors/
204: [02:01:30] * Motoservo has joined #silverstripe
205: [02:02:46] * Liquide quit ()
206: [02:02:49] <Tanger> Yeah. I had to download the lumberjack module because a few classes extend from it. One of the classes calls a function that doesn't exist anywhere and, to top it off, whenever I try to add an archive widget I get hit with infinite redirection loops.
207: [02:03:05] <Tanger> On SS 3.1.12
208: [02:04:11] * micmania1 quit (Quit: micmania1)
209: [02:05:51] <antmas> lol ofc micmania quits now :P
210: [02:07:07] <Colin[pi]> lol
211: [02:07:20] <Tanger> Haha
212: [02:10:53] * Sticks quit (Quit: Leaving)
213: [02:14:21] * Stomach has joined #silverstripe
214: [02:19:58] * camfindlay quit (Quit: camfindlay)
215: [02:21:27] <MichalKleiner> Tanger: did you install using composer?
216: [02:21:41] * veb has joined #silverstripe
217: [02:21:50] <Tanger> Nah, I got the blog2.0 module, then the lumberjack module
218: [02:22:57] <Tanger> I think I've got most of it working now. Had to add a few bits though :D
219: [02:25:53] * Sticks has joined #silverstripe
220: [02:26:59] * Jakx has joined #silverstripe
221: [02:27:01] * micmania1 has joined #silverstripe
222: [02:38:16] <Jakx> Hey guys, working with
223: [02:38:32] <Jakx> GridFieldEditableColumns, and have a question. Heres some code
224: [02:38:33] <Jakx> http://sspaste.com/paste/show/554ad004b5fca
225: [02:39:49] <Jakx> Can I have CurrentPageID set, to a newly added record, similar to how GridFieldConfig_RelationEditor does?
226: [02:40:10] <Jakx> I'm hoping to have the dropbox of "MyOtherObjects" ready to chose from, for new records.
227: [02:41:43] <Ryan-Toast> How stable is GridFieldEditableColumns?
228: [02:41:50] <Ryan-Toast> Considered giving it a go.
229: [02:42:02] <Jakx> Ryan-Toast, has been working well thus far
230: [02:43:16] * willr quit (Quit: willr)
231: [02:47:23] <Jakx> dropbox = dropdown*
232: [02:51:55] <antmas> I should probably download Brutal Doom
233: [02:52:15] <Tanger> Jakx: I have an object that does what I think you're asking
234: [02:52:25] <Ryan-Toast> My cms-branding has a nice loader :3
235: [02:52:37] <antmas> Ryan-Toast: gif?
236: [02:52:39] <antmas> :D
237: [02:52:40] <Tanger> In the holder object, it creates a Point, which is a dataobject that it managed
238: [02:52:45] <Ryan-Toast> antmas: it’s acss
239: [02:52:48] <Ryan-Toast> loade
240: [02:53:17] <antmas> Ryan-Toast: what's it lookalike?
241: [02:53:22] <Ryan-Toast> antmas: one sec
242: [02:53:33] * willr has joined #silverstripe
243: [02:53:39] <Jakx> Tanger, yeah?
244: [02:54:34] <Tanger> http://sspaste.com/paste/show/554ad38853650
245: [02:54:51] <Tanger> When I add a point via the GridField, it comes with the PageID already set
246: [02:55:39] <Ryan-Toast> antmas: here’s a low res version: http://www.gfycat.com/FakeAjarErne
247: [02:56:01] <antmas> Ryan-Toast: mm nice
248: [02:57:11] <Jakx> Tanger, I'm not familiar with the DetailForm component. So when you add a new point, it redirects to the page of Point's CMS fields, and the Point's PageID is already set?
249: [02:59:04] <Ryan-Toast> antmas: If you want to try it out: https://github.com/Rhym/silverstripe-cms-theme/blob/master/scss/components/_loading-logo.scss
250: [02:59:18] <ss23> IT"S THE REMIX TO IGNITION
251: [02:59:22] <ss23> HOT AND FRESH OUT THE KITCHEN
252: [02:59:28] <Ryan-Toast> ss23: GIMME THAT TOOT TOOT
253: [02:59:38] <ss23> GIMMIE DAT BEEP BEEP
254: [02:59:43] <Tanger> Jakx: Yeah. Setting the DetailForms' Fields sets the View and Edit fields for it. So if you set the PageID on the Point Object, it's written into the CMSFields for that Point.
255: [02:59:49] <antmas> RUNNIN HER HANDS THROUGH MA FRO
256: [03:00:02] <Tanger> Similar to how you save data into an object and reload the page - it's still there.
257: [03:00:06] <Ryan-Toast> BOUNCING ON 24’S
258: [03:01:34] <antmas> aw man, only 1 more public holiday before the gap
259: [03:01:39] <antmas> :|
260: [03:04:32] * Nerijus has joined #silverstripe
261: [03:05:26] <Nerijus> Hello guys, maybe someone of you know, if there is simple way to have an Image as many_many_extraField ?
262: [03:09:34] * Shrike_Finland has joined #silverstripe
263: [03:15:25] <Jakx> Tanger, interesting.
264: [03:16:02] <Tanger> Nerijus: Is it possible to just add 'ImageID' or whatnot as an extraField
265: [03:18:04] * camfindlay has joined #silverstripe
266: [03:18:23] <Ryan-Toast> Anyone have a good example of a post-install-cmd script?
267: [03:18:31] * antmas quit (Ping timeout: 246 seconds)
268: [03:18:38] <Ryan-Toast> I want to run npm install > npm install -g grunt-cli .. etc
269: [03:18:42] <Ryan-Toast> one after the other.
270: [03:19:18] <Ryan-Toast> OR can you just chain them with commas?
271: [03:20:13] <Jakx> Tanger, so in theory, will that work if there's no page change in the CMS? These objects are added inline
272: [03:20:57] <camfindlay> Tanger: make sure and raise these on the module's github issues
273: [03:21:37] <camfindlay> module is in beta currently so they’ll want to tighten these things up I think
274: [03:22:55] <Tanger> Jakx: I think so. Setting the fields like that should set them for every created object. All you gotta do is make sure the objects call write() as the PageID isn't saved to the database.
275: [03:23:16] <Tanger> camfindlay: Will do!
276: [03:24:33] * willr_ has joined #silverstripe
277: [03:24:33] * willr_ quit (Changing host)
278: [03:24:33] * willr_ has joined #silverstripe
279: [03:24:36] * willr quit (Ping timeout: 240 seconds)
280: [03:24:36] * willr_ is now known as willr
281: [03:25:43] * Stomach quit (Quit: zzz)
282: [03:26:38] * Stomach has joined #silverstripe
283: [03:28:48] <Jakx> How can I reference the ID value given to a object added by the GridField_RelationEditor?
284: [03:29:38] <Tanger> Jakx: You mean the actual object's ID?
285: [03:30:27] <Jakx> Tanger, yeah, I think so
286: [03:30:56] <ss23> My module brings CMS users to our cause, and they're like, it's better than wordpress, damn right, it's better than wordpress
287: [03:30:58] <Tanger> Jakx: Once you write() the object, it gets assigned an ID. It doesn't have an ID until it's written to the DB
288: [03:31:26] <Jakx> Tanger, I think I mean the ID of the parent.
289: [03:32:45] <Jakx> When I create a new object with the GridField_RelationEditor config, that new object knows the ID of the parent object creating it right?
290: [03:32:57] <Jakx> How do I use that ID in that new objects getCMSFields()?
291: [03:33:24] <Jakx> Tanger, I couldn't get your trick to work in my scenario btw :(
292: [03:33:38] <Jakx> the df one that is
293: [03:35:10] <Tanger> Ah, dang. AFAIK that's the way I got the Parent ID through the gridfield. You could try looking through the URL parameters to see if the ID pops up anywhere
294: [03:35:58] <Jakx> Tanger, not a bad idea. Though I'd prefer not to scrape the uri
295: [03:37:16] <Tanger> Jakx: Does your object has a reverse relationship to the parent page?
296: [03:37:33] <Jakx> simon_w|air, is the relevant relationship ID available to cms fields of items added by the gridfield with config GridField_RelationEditor?
297: [03:37:41] * Kutten quit (Remote host closed the connection)
298: [03:42:45] <Jakx> Tanger, I'm gonna say... yes. BUT, I've nailed it, thanks for your help man, pointed me right to where I found the solution. Which was outside of the context of our conversation, so hard to explain.
299: [03:43:08] * Kutten has joined #silverstripe
300: [03:43:08] <Tanger> Haha, no worries man. Glad you figured it out
301: [03:43:53] <Jakx> Tanger, i used the ->setDisplayField() method, available to the GridFieldEditableColumns object, and handed it an instance of the parent with the use clause, so 'ParentID' => function(...) use ($instanceOfParent) { ...
302: [03:45:46] * Hailwood has joined #silverstripe
303: [03:46:40] <Hailwood> Hey guys, does SS have something to play around with the app in the terminal? Like Laravels tinker?
304: [03:48:58] <MichalKleiner> sake
305: [03:49:02] <MichalKleiner> ?
306: [03:49:23] * simon_w|air quit (Ping timeout: 264 seconds)
307: [03:52:39] <MichalKleiner> it's not a console as tinker is.. it's a console tool though
308: [04:07:42] <Ryan-Toast> 20 commits today. I’ve been busy.
309: [04:09:08] * simon_w|air has joined #silverstripe
310: [04:09:24] <Jakx> 20 amended commits today, I'm been... coding poorly?
311: [04:09:48] * zippy has joined #silverstripe
312: [04:09:55] <Ryan-Toast> Jakx: any progress is progresss
313: [04:09:57] <Ryan-Toast> I suppose :P
314: [04:10:08] <Jakx> _b
315: [04:10:40] * Nerijus quit (Ping timeout: 246 seconds)
316: [04:14:59] * fumakemesad is now known as tokamakeme
317: [04:28:35] * willr quit (Quit: willr)
318: [04:31:50] * Stomach quit (Quit: zzz)
319: [04:32:38] <Ryan-Toast> Does anyone know if this will break in windows? https://github.com/Rhym/silverstripe-boilerplate-installer/blob/master/composer.json#L32
320: [04:32:55] <Ryan-Toast> Not sure if the cmd will just ignore the —allow-root command
321: [04:33:38] * Jakx has left #silverstripe
322: [04:36:11] * willr has joined #silverstripe
323: [04:39:21] * Stomach has joined #silverstripe
324: [04:40:51] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
325: [04:48:16] <Tanger> Is there a way to disable widgets?
326: [04:48:54] * veb quit (Quit: veb-irc: &)
327: [04:49:42] <mahfuz> Hi guys. I have this code in <head> <% if $MetaTitle %>$MetaTitle<% else %>$Title<% end_if %> so its taking the title of the page here but how to set the value for $MetaTitle ?
328: [04:50:56] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
329: [04:51:49] * micmania1 quit (Quit: micmania1)
330: [04:55:54] <Stomach> mahfuz
331: [04:56:03] <Stomach> do you have the Metatitle module installed?
332: [04:56:09] <terryapodaca> Couple questions for anyone that might be able to give some input...
333: [04:56:20] <Stomach> https://packagist.org/packages/kinglozzer/metatitle
334: [04:56:26] <Stomach> sup terryapodaca
335: [04:57:25] <terryapodaca> First, does anyone know what file takes <% require themedCSS("styles") %> from the template and (re)writes it into the <head>?
336: [04:58:14] <mahfuz> No Stomach. I will install now. Thanks
337: [04:58:17] <terryapodaca> Second, same goes for the <% require javascript("") %> at the bottom of your template
338: [04:58:30] <Stomach> Requirements.php I assume
339: [04:58:43] * willr quit (Quit: willr)
340: [04:59:58] * micmania1 has joined #silverstripe
341: [05:01:40] * Shrike_Finland quit (Quit: Leaving.)
342: [05:06:44] * Nerijus has joined #silverstripe
343: [05:07:35] <Nerijus> Tanger: what do you mean by saying "Is it possible to just add 'ImageID' or whatnot as an extraField" ? Is it a question or statement ?
344: [05:08:27] <Ryan-Toast> It’s worded like a question.
345: [05:08:35] <Ryan-Toast> “Is it possible"
346: [05:08:56] <mahfuz> Stomach: that module should add MetaTitle in Metadata section of the page in back-end, right? But I did several /dev/build and flush as well but its not showing up.
347: [05:09:30] <Nerijus> Tanger: so, yeah, of course it is possible, however I need to have an Image on the many_many relation table
348: [05:10:24] * Stomach quit (Quit: zzz)
349: [05:11:22] * Stomach has joined #silverstripe
350: [05:12:03] <Stomach> mahfuz yes thats right
351: [05:15:20] * PapaBearNZ has joined #silverstripe
352: [05:15:49] <mahfuz> Its my bad Stomach. It happens while working with 2 sites. Thought I installed it one but actually did it the other. Thanks for your help
353: [05:15:54] <Stomach> :)
354: [05:18:03] <PapaBearNZ> HI all. Can anyone help me with a problem I've not been able to figure my way through. I have a build task that runs happily from the browser via dev/tasks/TaskName but won't run from the command line via cli-script. I get the error 'The build task "TaskName" could not be found'
355: [05:18:09] <PapaBearNZ> It's got me a bit stumped.
356: [05:20:08] <Stomach> PapaBearNZ - tried flush=all in the command line
357: [05:20:20] <Stomach> the manifests for command line and browser based viewing are different
358: [05:20:30] <Stomach> for some reason...
359: [05:21:05] <PapaBearNZ> Stomach: Thank you! That resolved it! cheers :)
360: [05:21:11] <Stomach> no worries buddy
361: [05:23:41] <adrexia> this is worth watching/listening to https://www.youtube.com/watch?v=JKYktDRoRxw
362: [05:24:30] <Tanger> Nerijus: So if you added 'ImageID' to your $many_many_extraFields declaration, it should be in your many_many table
363: [05:24:48] <Tanger> Then it's just a matter of writing the ID to that column
364: [05:26:25] <PapaBearNZ> Thanks again Stomach! Ciao for now everyone. Home time :)
365: [05:26:30] * PapaBearNZ quit ()
366: [05:28:34] * Ryan-Toast quit (Quit: Ryan-Toast)
367: [05:34:00] * Stomach quit (Quit: zzz)
368: [05:39:04] <Nerijus> Tanger: I know, that's what I am ready to do, just I thought, maybe, there is another way to do this. Anyway, thanks :)
369: [05:40:04] * camfindlay quit (Quit: camfindlay)
370: [05:49:44] * micmania1 quit (Quit: micmania1)
371: [05:57:21] <Nerijus> Tanger: doing this way, I need to do some stuff at onBeforeWrite() method. In short, let's say I have DataObject A, which has many_many relation with DataObject B . Is it possible to do this without changing DataObject B code ?
372: [05:57:41] * wmk has joined #silverstripe
373: [05:59:53] <Tanger> Nerijus: Without changing dataobject B, your best bet is to apply a DataExtension and specify onBeforeWrite
374: [06:00:22] <Tanger> I assume you mean without changing the actual code
375: [06:02:01] <Nerijus> Tanger: I just thought, that, maybe, there is some "onExtraFieldsWrite" or something
376: [06:05:21] <Nerijus> okay, then I guess, extension is truly the best option for me
377: [06:22:31] * spronk2 quit (Quit: I may need a longer sleep timer...)
378: [06:23:17] * Kutten quit (Ping timeout: 250 seconds)
379: [06:27:33] * Kutten has joined #silverstripe
380: [06:28:33] <wmk> is there some kind of "auto crop" method in GD to wipe away a thick white border?
381: [06:28:54] * Mike123 has joined #silverstripe
382: [06:29:00] <wmk> hey Mike123
383: [06:29:15] <Mike123> Morning :))
384: [06:29:34] * Hailwood quit (Remote host closed the connection)
385: [06:41:38] * tokamakeme is now known as fumakemesad
386: [06:46:04] * Eliseth has joined #silverstripe
387: [06:47:49] * fumakemesad is now known as Panth3r
388: [06:48:45] * Panth3r is now known as fumakemesad
389: [06:52:22] * mahfuz quit (Ping timeout: 246 seconds)
390: [07:02:10] * Mike123 quit (Ping timeout: 246 seconds)
391: [07:05:45] * Shrike_Finland has joined #silverstripe
392: [07:06:11] * Shrike_Finland1 has joined #silverstripe
393: [07:10:05] * Shrike_Finland quit (Ping timeout: 250 seconds)
394: [07:17:21] * Shrike_Finland1 quit (Quit: Leaving.)
395: [07:26:35] * Shrike_Finland has joined #silverstripe
396: [07:31:57] * veb has joined #silverstripe
397: [07:31:57] * r_hector has joined #silverstripe
398: [07:32:47] * Shrike_Finland quit (Ping timeout: 256 seconds)
399: [07:34:45] * Shrike_Finland has joined #silverstripe
400: [07:55:35] <terryapodaca> Any UserDefinedForm module guys here?
401: [07:55:43] <terryapodaca> I'm getting a js error
402: [07:55:54] <terryapodaca> Uncaught TypeError: $(...).validate is not a function
403: [07:56:01] <terryapodaca> http://tbc.stricklandapps.com/newsletter-sign-up/
404: [07:56:37] <Nerijus> it seems that you are missing some js files
405: [07:57:05] <Nerijus> or few instances of jquery is loaded
406: [07:57:12] <Nerijus> check that
407: [07:57:15] <terryapodaca> I looked...it seems that module adds jquery and jquery.validate
408: [07:57:26] <terryapodaca> but in my main template, I already include jquery
409: [07:57:37] <terryapodaca> for a lot of other things so it's loaded twice
410: [07:57:42] <Nerijus> so, if double jquery is loaded, then that's the problem
411: [07:58:29] <Nerijus> how you include another jquery in your template ?
412: [07:58:39] <Nerijus> copy/paste that line
413: [07:59:25] * Colin[pi] quit (Ping timeout: 256 seconds)
414: [08:00:19] <terryapodaca> <% require javascript("//ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js") %>
415: [08:00:22] <terryapodaca> at the bottom
416: [08:00:43] <terryapodaca> I don't use the Require in the php controller
417: [08:01:22] * kinglozzer has joined #silverstripe
418: [08:05:07] <Nerijus> try blocking userforms jquery , this way, leaving only yours
419: [08:05:46] <Nerijus> Requirements::block(PATH TO USERFORMS JQUERY);
420: [08:06:08] <Nerijus> terryapodaca:
421: [08:06:28] <terryapodaca> put that in Page.php?
422: [08:07:05] <Nerijus> you can put that on your template , just before loading your jquery
423: [08:08:45] <Nerijus> terryapodaca: let me know, if that solves the problem
424: [08:11:09] <terryapodaca> can't put that PHP code in the template
425: [08:11:54] <Nerijus> oh, so put it in Page.php then
426: [08:12:00] * Colin[pi] has joined #silverstripe
427: [08:12:15] <Nerijus> on init() method
428: [08:20:43] * zippy has joined #silverstripe
429: [08:22:38] <Nerijus> terryapodaca: it worked ?
430: [08:24:16] <wmk> you can block js in template
431: [08:25:01] <terryapodaca> Well, no because the userforms JS was still being included above my JS files
432: [08:25:17] <wmk> afaik <% require block(path/to/js) %>
433: [08:25:18] <terryapodaca> wmk: what's the syntax?
434: [08:25:44] * willr has joined #silverstripe
435: [08:25:52] <wmk> though $ThemeDir doesn't work with that...
436: [08:26:57] <terryapodaca> what I ended up doing (which might be the preferred or correct or best practice) is I move my JS require to the Page.ss init()
437: [08:27:21] <wmk> terryapodaca, that's a matter of taste
438: [08:27:36] <terryapodaca> I haven't been doing that, but IIRC, lots of people say you should remove that from the template and start using Requirements::
439: [08:28:04] <wmk> IMHO in templates it's better, cause some requirements are theme specific
440: [08:28:07] <wmk> e.g. what slider to use
441: [08:28:18] <wmk> don't want to mess up my controller with that code
442: [08:28:37] <wmk> only thing controller is good for: combine javascript
443: [08:28:53] <wmk> though with grunt it's easy to do that outside
444: [08:29:16] <terryapodaca> how can I get my template require to be written on top of any/all Module js?
445: [08:29:54] <terryapodaca> that's the problem...is since there were two references to jQuery...and if I remove the other reference...
446: [08:30:24] <wmk> define in header of your templates
447: [08:30:38] <wmk> they will be included in footer automatically (there's a config setting for that)
448: [08:30:46] * spronk2 has joined #silverstripe
449: [08:31:07] <wmk> though i haven't used userforms for a long time now
450: [08:38:03] <terryapodaca> is there a template equivalent to THIRDPARTY_DIR?
451: [08:40:38] <wmk> terryapodaca, no
452: [08:40:58] <wmk> not inside <% require () %>
453: [08:41:05] <wmk> :(
454: [08:45:11] * Shrike_Finland quit (Quit: Leaving.)
455: [08:46:06] * r_hector quit (Quit: Leaving.)
456: [08:48:30] <terryapodaca> Nerijus and wmk: thanks, I got it figured out. Ultimately the problem is the version of jQuery UserForms is referencing is wrong
457: [08:48:51] <wmk> ?
458: [08:49:02] <terryapodaca> so removing/blocking that thirdparty include fixed it
459: [08:49:04] * Error404NotFound has joined #silverstripe
460: [08:49:30] <wmk> jup, modules including jquery themselves without config param are a pit*
461: [08:49:49] * cupcake has joined #silverstripe
462: [08:49:59] <terryapodaca> yeah, and it kept my code cleaner
463: [08:50:06] <cupcake> is there a quick way of what permisions is required to view a particular page in admin in ss3?
464: [08:50:35] <cupcake> *a quick way to see
465: [08:51:39] * Pyhrk has joined #silverstripe
466: [08:52:26] * Tanger quit (Quit: sleep())
467: [08:53:29] <wmk> cupcake, in backend...? in code?
468: [08:53:58] <cupcake> in backend
469: [08:54:23] <cupcake> because i have a gridfield
470: [08:54:36] <cupcake> and for full admin rights i see records
471: [08:54:44] <cupcake> but then with restricted rights
472: [08:54:49] <cupcake> i dont see any records
473: [08:54:52] <cupcake> so i wanna know
474: [08:55:02] <cupcake> which permission needs to be granted wmk
475: [08:55:25] <wmk> canView()
476: [08:55:27] <zippy> be nice is the jquery was a bit newer.... 3 years old now..
477: [08:55:42] <wmk> cupcake, there is a userswitcher module for testing as another user in dev
478: [08:56:02] <cupcake> i created a dummy user
479: [08:56:10] <cupcake> with the same rights as the user complaining
480: [08:56:19] <cupcake> but im trying to add rights
481: [08:56:23] <cupcake> but still no luck
482: [08:56:30] <cupcake> so now i wanna see a list of rights per page
483: [08:56:33] <cupcake> if thats posible
484: [08:56:55] <wmk> well, grid manages what? dataobject? pages?
485: [08:57:05] <cupcake> dataobject
486: [08:57:23] <wmk> the related dataobject has to define the can* methods
487: [08:57:28] * Error404NotFound quit (Read error: Connection reset by peer)
488: [08:57:34] <wmk> canView, canEdit etc...
489: [08:57:43] <wmk> and allow for the user's group
490: [08:57:51] <wmk> best to setup permissions for this
491: [08:58:01] <cupcake> aa ok thanks
492: [08:58:13] <wmk> and test with https://packagist.org/packages/sheadawson/silverstripe-userswitcher
493: [08:58:32] <wmk> then you can switch to the user complaining (if you have the same DB dump on your test server)
494: [08:58:40] <wmk> without knowing his password
495: [08:58:50] <wmk> only enabled in dev mode
496: [08:59:15] * Error404NotFound has joined #silverstripe
497: [09:01:04] * spronk2 quit (Quit: I may need a longer sleep timer...)
498: [09:04:55] * Sticks quit (Quit: Leaving)
499: [09:05:41] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
500: [09:05:57] * zippy has joined #silverstripe
501: [09:10:02] * zippy quit (Client Quit)
502: [09:13:30] <cupcake> thanks wmk
503: [09:16:52] * Shrike_Finland has joined #silverstripe
504: [09:21:17] * mento has joined #silverstripe
505: [09:22:42] <mento> hey guys, in the LostPassword process - when you've changed your password via mail - you'll be redirected to a page: You are now logged in as <name>. Login as someone else. Is there a way to just redirect to the homepage? After changing the password?
506: [09:23:00] * Stomach has joined #silverstripe
507: [09:23:12] <ss23> Hmm
508: [09:23:36] <ss23> I doubt there is out of the box, but you could write some code to do something like "if currentURL == lostpassword && redirectURL isn't set { redirectURL = / }
509: [09:23:38] <ss23> "
510: [09:23:39] <ss23> But it's messy
511: [09:24:15] <mento> yes, it's kind of an odd page though. Especially when you are using the loginform for "frontend" users on your website
512: [09:26:03] <mento> I think setting a BackURL parameter will do most of the work in this case
513: [09:26:55] <ss23> Might be able to override the template or link so that it's like /Security/lostpassword?BackURL=foo
514: [09:27:00] <ss23> Or something
515: [09:27:04] * Stomach quit (Client Quit)
516: [09:27:06] <wmk> isn't there a param for backurl in lostpassword?
517: [09:27:33] <ss23> Yeah, you cna set it like that, right?
518: [09:31:47] <wmk> ChangePasswordForm doChangePassword action checks for $_REQUEST['BackURL']
519: [09:31:57] <wmk> no config setting for that availaible....
520: [09:32:07] <wmk> mento: want to make a patch?
521: [09:33:44] <wmk> mento, see https://github.com/silverstripe/silverstripe-framework/issues/3757
522: [09:33:52] * Shrike_Finland quit (Quit: Leaving.)
523: [09:40:02] * willr quit (Quit: willr)
524: [09:45:13] <mento> wmk: i will look into it
525: [09:45:34] <mento> i think the easiest way is to add the backurl parameter to the email template containing the change pasword link
526: [09:45:46] <mento> i'm gonna test that at first
527: [09:46:21] <wmk> i guess that'll work
528: [09:49:25] * joelpittet quit (Remote host closed the connection)
529: [09:54:41] * swaiba has joined #silverstripe
530: [10:01:15] * Error404NotFound quit (Ping timeout: 256 seconds)
531: [10:02:24] * Error404NotFound has joined #silverstripe
532: [10:03:05] <mento> another "issue" with the forgot password process - when you add your own template to themes/mytheme/templates/Email/ForgotPasswordEmail.ss it won't load for some reason
533: [10:03:08] * Colin[pi] quit (Ping timeout: 244 seconds)
534: [10:03:31] <mento> i have to replace the template in the core at /framework/templates/email/ForgotPasswordEmail.ss
535: [10:03:36] * wmk quit (Read error: Network is unreachable)
536: [10:03:49] * wmk has joined #silverstripe
537: [10:07:37] * Werner_2_ has joined #silverstripe
538: [10:07:38] * wmk quit (Read error: Connection reset by peer)
539: [10:07:40] * mento quit (Ping timeout: 246 seconds)
540: [10:10:31] * bemusedrat has joined #silverstripe
541: [10:13:18] * Shrike_Finland has joined #silverstripe
542: [10:18:59] * Robke has joined #silverstripe
543: [10:19:04] <Robke> hello :)
544: [10:21:20] * Shrike_Finland quit (Quit: Leaving.)
545: [10:23:05] * Shrike_Finland has joined #silverstripe
546: [10:25:05] * DimiStripe has joined #silverstripe
547: [10:33:29] <elgabbu> Data Object A has_one Data Object B .... when creating a new Data Object A .... in onAfterWrite ... $this->DataObjectB() is empty .... why?
548: [10:41:15] <Pyhrk> hello Robke :>
549: [10:41:33] <Robke> how are you doing guys? ;)
550: [10:42:06] <Pyhrk> elgabbu: are you setting the relation before saving?
551: [10:43:08] * veb quit (Quit: veb-irc: &)
552: [10:43:33] <elgabbu> Pykrk ... it goes through another function which those this $this->setField( 'ObjectBID', $obj->ID );
553: [10:43:45] <Pyhrk> Robke: not bad, but could be better. I'm at work, and I do not enjoy it enough.
554: [10:43:58] <Robke> why it is so? :)
555: [10:44:27] <Robke> need some rest or employee is badass?
556: [10:44:27] <Pyhrk> Bad boss, stupid clients, eternal struggle.
557: [10:44:58] <Pyhrk> But it's ok, I leave in a few months.
558: [10:45:01] <Robke> so thats why you are using so much bad words :D
559: [10:45:09] <Robke> why only in few months not now?
560: [10:45:18] <Pyhrk> denge!
561: [10:45:38] <Robke> uh :)
562: [10:45:59] <Pyhrk> pinigai
563: [10:46:13] <Pyhrk> google tells me so
564: [10:46:51] <Robke> well actually its kind of money but which was not paid in time :)
565: [10:51:38] <Pyhrk> elgabbu: hmm. When is that called?
566: [10:52:10] <Pyhrk> and more importantly, while $this->ObjectBRel() is empty, is $this->ObjectBRelID ?
567: [10:55:12] * wmk has joined #silverstripe
568: [10:55:13] * Werner_2_ quit (Read error: Connection reset by peer)
569: [10:56:17] <Robke> Pyhrk, i have url like this: basehref/etc/#ParentID-SlideIndex. ParentID and SlideIndex are generating via JS(fron end). basically what i need to get these thing in CMS htmlEditor. is it possible somehow to do it?
570: [10:58:45] * Werner_2_ has joined #silverstripe
571: [10:58:45] * wmk quit (Read error: Connection reset by peer)
572: [10:59:42] <Pyhrk> Yep, shoudl be.
573: [10:59:57] <Robke> any ideas how to reach this?
574: [10:59:58] <Pyhrk> when inserting a link, there are options for this from memory
575: [11:00:12] <Pyhrk> another page, another site, anchor on this page
576: [11:00:13] <Pyhrk> etc
577: [11:00:19] <Pyhrk> anchor is what you're after
578: [11:00:54] <Pyhrk> you can also go the long way with 'link to another site' and then just link to your own site anyway (with the anchor too)
579: [11:01:08] <Robke> wait a second
580: [11:01:32] <Robke> need to google about this thing
581: [11:03:27] * Werner_2_ is now known as wmk
582: [11:04:15] <wmk> hey Robke
583: [11:04:16] <Robke> hm...
584: [11:04:19] <Robke> wmk, ola ;)
585: [11:04:43] <Robke> but anchor link is like $BaseHref# :)
586: [11:04:56] <Robke> or could i insert anything before anchor?
587: [11:04:58] <wmk> Updating 2.4 -> 3.1 and wonder how simple some things became
588: [11:05:15] <Robke> wmk, which ones exactly?
589: [11:05:16] <wmk> anchor is the stuff after #
590: [11:05:26] <wmk> Robke, tweaking breadcrumbs e.g.
591: [11:05:31] <Robke> hehe
592: [11:05:42] <Robke> wmk, maybe you have ideas about my problem? :)
593: [11:05:45] <wmk> adding "home" or extra levels for categories ...
594: [11:06:00] <Robke> i have url like this: basehref/etc/#ParentID-SlideIndex. ParentID and SlideIndex are generating via JS(fron end). basically what i need to get these thing in CMS htmlEditor. is it possible somehow to do it?
595: [11:06:23] <wmk> so /etc/ is a page?
596: [11:06:37] <Robke> pages called via ajax :)
597: [11:06:41] <Robke> and loads like slides
598: [11:06:49] * cupcake quit (Ping timeout: 246 seconds)
599: [11:06:54] <Robke> depending on the tile which was clicked
600: [11:07:01] <wmk> yup. but in real word (aka cms), basehref is a page and /etc/ is a subpage?
601: [11:07:12] <Robke> yes
602: [11:07:20] <wmk> ok
603: [11:07:49] <Robke> for my example etc/#212-2
604: [11:07:52] <wmk> and anchor "foobar" would link to /basehref/etc#foobar
605: [11:08:21] <wmk> do you need the slash between etc and # ?
606: [11:08:29] <Robke> yes
607: [11:08:42] <Robke> because othervise page will reload
608: [11:09:52] <elgabbu> Pyhrk $this->ObjectBID has the value
609: [11:10:32] <elgabbu> I could store the object in a property and read it from afterwrite
610: [11:13:10] <wmk> Robke, is it a link on the same site or to another site?
611: [11:14:36] <bemusedrat> elgabbu, maybe try $this->dbObject(DataObjectBID); ???
612: [11:15:25] <wmk> Robke, you'd need to overwrite sitetree_link shortcode, it adds a trailing slash to the url
613: [11:16:43] <Robke> never heard anything like this
614: [11:16:43] <wmk> Robke, uses Page->Link()
615: [11:16:58] <Robke> its a link on the same site
616: [11:17:14] <wmk> ah, so only anchor on same page
617: [11:17:48] <wmk> cause link to another page is inserted like <a href="[sitetree_link,id=11]#foo">
618: [11:17:54] <Robke> well actually what i did :) before i added some js code my links was like: basehref/etc and then loading a slide
619: [11:18:03] <wmk> which will be href="/bar/baz/#foo"
620: [11:18:09] <Robke> now i have basehref/ect/#clickedTileID-slideindex
621: [11:19:28] <Robke> just in case if you missed that im loading (slides) pages via ajax call
622: [11:20:05] <wmk> and insert an "anchor on this page" in cms ... doesn't work?
623: [11:20:50] <Robke> maybe i didnt explained correctly :)
624: [11:20:58] <Robke> lets say i have a content in a slide
625: [11:21:17] <Robke> the real url is like: basehref/ect/slide
626: [11:21:32] <wmk> bashref is domain?
627: [11:21:46] <Robke> my custom url which is displayed for user interface will look like basehref/ect/#212-2
628: [11:21:48] <Robke> yes domain
629: [11:22:21] <wmk> how should it look?
630: [11:22:40] <Robke> where? in address bar?
631: [11:23:05] <Robke> address bar
632: [11:23:06] <Robke> http://192.168.56.101/program/#212-1
633: [11:23:23] <Robke> http://192.168.56.101/program/curriculum/small cms address
634: [11:24:02] <wmk> curriculum is a page, small is a subpage of curriculum in cms?
635: [11:24:12] <Robke> so what i want to do is: to add somehow http://192.168.56.101/program/#212-1 this address which is generating via JS, to my cms
636: [11:24:31] <Robke> yes
637: [11:24:38] <wmk> so all are pages
638: [11:24:40] <wmk> fine
639: [11:24:44] <Robke> yes
640: [11:24:53] <wmk> each page has a method Link() which generates the link,
641: [11:25:08] <Robke> mhm
642: [11:25:12] <wmk> this calls RelativeLink()
643: [11:25:25] <wmk> where you can define the standard link to a page.
644: [11:25:47] <wmk> so if you know that curriculum is always "212" and "small" is always "1" it should be easy
645: [11:26:05] <wmk> make a method in your Page to generate the link out of given information
646: [11:26:08] <wmk> and use in templates.
647: [11:26:22] <wmk> or overwrite Link(), better RelativeLink()
648: [11:26:47] <Robke> but lets say i want to redirect to another page like program/proff-staff/director?
649: [11:26:58] <Robke> i dont know that page ids
650: [11:27:11] <Robke> so how i should create this method then?
651: [11:27:34] <wmk> in CMS you know the page IDs
652: [11:28:21] <wmk> if you add a link in tinyMCE it's saved as <a href="[sitetree_link,id=11]">
653: [11:28:28] <wmk> this is a shortcode, which knows the ID
654: [11:28:59] <wmk> which calles the ID and generates the link (by calling all parents)
655: [11:29:03] <wmk> brb
656: [11:30:59] <Robke> hm...
657: [11:31:03] <Robke> nice idea
658: [11:36:04] * Err404NotFound has joined #silverstripe
659: [11:36:04] * Error404NotFound quit (Disconnected by services)
660: [11:40:52] <wmk> Robke, of course ;)
661: [11:41:13] <Robke> i will try to do it somehow
662: [11:52:24] * Shrike_Finland quit (Quit: Leaving.)
663: [11:55:25] * arnhoe has joined #silverstripe
664: [11:55:31] * arnhoe quit (Client Quit)
665: [11:57:18] <elgabbu> guys ... in getCMSFields .... if am creating a new Object A that has_one Object B ... is it possible to know the value of ObjectBID withing getCMSFields?
666: [11:58:39] <wmk> $this->ObjectBID ?
667: [11:58:51] <elgabbu> no its empty since its a new record
668: [12:01:09] <Robke> wmk, so should i rewrite Link() function?
669: [12:01:35] <wmk> Robke, better RelativeLink if you never need the original links
670: [12:01:39] <wmk> neither in menu or whereever
671: [12:04:44] <Robke> hm
672: [12:09:03] * babak quit (Quit: Connection closed for inactivity)
673: [12:09:43] * UndefinedOffset has joined #silverstripe
674: [12:18:43] * Kutten quit (Quit: Kutten)
675: [12:29:43] * Shrike_Finland has joined #silverstripe
676: [12:31:31] * Shrike_Finland quit (Client Quit)
677: [12:36:44] <swaiba> Pyhrk - http://www.silverstripe.org/community/forums/general-questions/show/101703#post401433
678: [12:36:54] <swaiba> serious response?
679: [12:38:17] <swaiba> or was it something else when you replied?
680: [12:38:44] <wmk> rofl swaiba
681: [12:39:05] <swaiba> just curious before i blast it as spam :)
682: [12:39:24] <wmk> swaiba, the post was edited
683: [12:40:07] <wmk> original date is formatted differently than edit date...
684: [12:40:23] <wmk> swaiba, no versioning on the posts?
685: [12:43:35] <Pyhrk> swaiba: o.0 dafuq?
686: [12:43:44] <Pyhrk> hilarious
687: [12:44:16] <Pyhrk> original post went along the lines of: "I recently moved my site, but now 404 happens" or something like that
688: [12:45:15] <kinglozzer> elgabbu: http://takeaway.bigfork.co.uk/silverstripe-tip-using-unsaved-relations-in-gridfield-edit-forms
689: [12:46:36] <elgabbu> i buddy of mine here in the office just gave me the same solution ... thank you so much kinglozzer
690: [12:46:43] <wmk> Pyhrk, nice spam strategy
691: [12:47:10] <kinglozzer> elgabbu: No problem :)
692: [12:47:13] <Pyhrk> wmk: no, because it went into detail on what they'd done, and what they'd edited.
693: [12:47:57] <wmk> hmm, either user hacked or some old post copied
694: [12:48:58] <Pyhrk> yeh
695: [12:49:13] <Pyhrk> Thinking the former, because STILL NO F'N SSL ON LOGIN PAGE
696: [12:49:21] * Pyhrk glares at ss23
697: [12:49:51] <wmk> F'N SSL <-- add this to my list of possible band names
698: [12:50:19] * swaiba quit (Remote host closed the connection)
699: [12:50:42] <wmk> Pyhrk, first song: "hack, hack hacking heavens door"
700: [12:50:59] <Pyhrk> haha
701: [12:51:46] <Pyhrk> Complete with a cover of Avenue Q's The internet is for ...?
702: [12:52:15] <ss23> Pyhrk: LIKE I CARE :O
703: [12:52:33] <Pyhrk> you said you'd fix it
704: [12:52:48] <wmk> hey, hacking breadcrumbs is really easy in 3.1
705: [12:53:03] <Pyhrk> does it have a hook?
706: [12:54:33] <ss23> Pyhrk: It's on my list :(
707: [12:55:07] <Pyhrk> imma change my pw
708: [12:55:17] <Pyhrk> dammitstephenstopbeinglazy
709: [12:55:51] <ss23> >lazy
710: [12:55:52] <ss23> BITCH PLS
711: [12:55:55] <Pyhrk> xD
712: [12:56:00] <ss23> You know how it is when there's lots of work to be done :O
713: [12:56:14] <Pyhrk> Yeh. Palm it off to someone else and continue doing fuck all
714: [12:56:21] <Pyhrk> Oh wait, I confused you with my manager.
715: [12:59:42] <ss23> XD
716: [13:04:03] <wmk> git checkout master
717: [13:04:10] <wmk> git merge migration-to-ss-31
718: [13:04:23] <wmk> yippie!
719: [13:07:43] * babak has joined #silverstripe
720: [13:15:24] <Pyhrk> kinglozzer: glass recycling not a thing in this country?
721: [13:15:52] <kinglozzer> Pyhrk: Depends on where you live
722: [13:16:06] <Pyhrk> Wherever I go if there's even recycling bins at all it's always PAPER AND PLASTIC ONLY
723: [13:16:13] <kinglozzer> Some places you have to go out and find somewhere to recycle it. Where I live I can just throw it in the recycling bin that gets collected
724: [13:16:26] <Pyhrk> and I'm standing there with my glass going all 'now what, you fuckers?'
725: [13:17:10] <Pyhrk> At home we have the recycling bin, then a separate bucket for glass.
726: [13:18:06] <Pyhrk> but like, everywhere else
727: [13:18:34] <Pyhrk> train stations are about the only place I ever see a recycling bin, and they're all "nah glass ta"
728: [13:22:25] <kinglozzer> Yeah true, but not many places sell *anything* contained in glass anymore except stuff you use at home
729: [13:22:32] <kinglozzer> Probably out of fear that we'd all bottle each other
730: [13:25:06] <Pyhrk> seems so
731: [13:25:14] <Pyhrk> I get the occasional drink in glass
732: [13:25:22] <Pyhrk> but most things plastic, yeh
733: [13:36:48] * bemusedrat quit (Quit: Leaving)
734: [13:42:03] * catcher has joined #silverstripe
735: [13:44:29] * Shrike_Finland has joined #silverstripe
736: [13:50:09] * Shrike_Finland quit (Quit: Leaving.)
737: [13:51:37] <Pyhrk> fuck'n, afternoon zeds, halp kinglozzer
738: [13:52:32] <zauberfisch> zeds?
739: [13:53:54] <Pyhrk> Z
740: [13:54:00] <Pyhrk> liek cartoon zzzzzzzzzzzzzzzzzzzzzzzzzzz
741: [13:54:52] * Err404NotFound quit (Ping timeout: 255 seconds)
742: [13:55:58] <Pyhrk> zauberfisch: Americans pronounce the letter 'zee', where English is 'Zed'
743: [13:56:28] <Pyhrk> basically, I'm struggling to keep my eyes open :< Not such a good look in the office, ha
744: [14:01:53] <zauberfisch> ah
745: [14:01:54] <zauberfisch> haha
746: [14:01:55] <zauberfisch> right
747: [14:02:06] <zauberfisch> I see
748: [14:02:41] <zauberfisch> sounds like you need some more caffeine
749: [14:03:33] <Pyhrk> It certainly does. But someone is mid-tea round already
750: [14:03:43] <Pyhrk> plus all the coffee isn't mine :<
751: [14:05:37] <kinglozzer> Pyhrk: I'm hitting the Zs too
752: [14:05:49] <kinglozzer> Gone off coffee though :/
753: [14:06:01] <kinglozzer> Might just grab a pepsi and some nuts
754: [14:06:40] <zauberfisch> https://en.wikipedia.org/wiki/Club-Mate
755: [14:06:45] <zauberfisch> thats the cure
756: [14:07:20] <zauberfisch> or http://flora-power.de/ which tastes a lot better, but is harder to get
757: [14:08:35] <kinglozzer> I've never seen either of those!
758: [14:09:03] <zauberfisch> the entire german hacker/dev sceene runs on that stuff
759: [14:10:04] <kinglozzer> wtf? My phone company just text me advertising "Trafficline", where you call a number (45p/ minute) to get traffic updates near you...
760: [14:10:16] <kinglozzer> I'm pretty sure that sort of info is available for free :P
761: [14:10:23] * ss31noob has joined #silverstripe
762: [14:15:35] <terryapodaca> Has anyone added a Pinterest pinit button to prettyPhoto in a Silverstripe site?
763: [14:28:42] <wmk> <% end_unached %> #epictypo
764: [14:31:16] <Pyhrk> kinglozzer: I tried chocolate bars - they weren't very effective :(
765: [14:32:26] <Pyhrk> kinglozzer: I've tried the Mate, Zauberfisch had some in the donation powered fridge when we were there. Quite nice, different from the usual sugar and chemicals flavour you get from most 'energy drinks'
766: [14:32:58] <Pyhrk> terryapodaca: nope, sorry.
767: [14:33:02] <Pyhrk> I don't do social buttons.
768: [14:33:13] <Pyhrk> The perks of looking after an internal tool.
769: [14:33:24] * joelpittet has joined #silverstripe
770: [14:34:05] <zauberfisch> Pyhrk: that certainly is a big perk
771: [14:34:18] <zauberfisch> oh god. how I hate those damn buttons
772: [14:34:27] <Pyhrk> Yeh. me too.
773: [14:35:13] <Pyhrk> Pretty sure if I ever make a website for myself it'll have a 'share this' link, which will go to a simple text page that says "if you want to share it, YOU share it. I'm not doing it for you, you lazy hua."
774: [14:35:19] * joelpittet quit (Client Quit)
775: [14:35:31] <terryapodaca> yeah, for some reason the prettyPhoto developer hasn't incorporated it into his jquery plugin, assume it's because it's hard to actually pinpoint the actual image
776: [14:35:33] <Robke> i would like to see it :D
777: [14:36:08] <terryapodaca> I'm not going to press it for now...it's just the client asked for it if it were possible
778: [14:36:19] <Pyhrk> oh fk - that unforutnate disease when you find out 'hua' apparently also means 'Chinese people' besides what you thought it meant (slovenly lazy person)
779: [14:37:10] <Pyhrk> terryapodaca: one of those times when you go 'yeah possible, most things are - GIVEN ENOUGH TIME AND MONEY' ;)
780: [14:37:21] <Pyhrk> then bring up the age old phrase 'cost benefit'
781: [14:37:28] <terryapodaca> correct
782: [14:37:29] <terryapodaca> :D
783: [14:37:38] * Error404NotFound has joined #silverstripe
784: [14:37:42] <Pyhrk> followed by 'so basically, no.'
785: [14:37:45] <Pyhrk> :P
786: [14:39:15] * joelpittet has joined #silverstripe
787: [14:40:09] * wmk quit (Ping timeout: 246 seconds)
788: [14:43:11] <elgabbu> if i want to validate the entries when adding/editing a dataobject in the CMS ... should I use the getCMSValidator or the validate method ?
789: [14:43:24] <elgabbu> *in the admin
790: [14:48:47] * Robke quit (Quit: Leaving)
791: [14:51:31] <Pyhrk> hard question.
792: [14:51:35] <Pyhrk> dunno the answer anymore.
793: [14:51:47] <Pyhrk> validate fires on every SAVE (as in, $object->write())
794: [14:52:00] <Pyhrk> getCMSValidator is probably more what you want
795: [14:52:07] <Pyhrk> but I'm not sure it's still a thing
796: [14:52:11] <Pyhrk> best to ask kinglozzer I think
797: [14:54:04] * derek-b has joined #silverstripe
798: [14:55:17] <kinglozzer> Yeah getCMSValidator
799: [15:00:47] <Pyhrk> does it work again now kinglozzer ?
800: [15:07:15] * NETim has joined #silverstripe
801: [15:07:38] <NETim> Morning. What's the best practice for front end form sanitisation?
802: [15:10:03] <elgabbu> yeah from what i read getCMSValidator ... trying to get the CustomRequiredFields validator working :)
803: [15:17:48] <kinglozzer> Pyhrk: Idk :P
804: [15:18:11] <kinglozzer> Man... Entwine is f'n with me
805: [15:19:02] <kinglozzer> This event doesn’t fire if there are more than like 100 nodes in the tree O.o https://github.com/silverstripe/silverstripe-framework/blob/5f5662b06979c04e7b958e15f8c7ee7b580cba64/admin/javascript/LeftAndMain.Tree.js#L135-L142
806: [15:26:01] * derek-b quit (Remote host closed the connection)
807: [15:27:55] * ss31noob quit (Ping timeout: 246 seconds)
808: [15:29:01] <Pyhrk> NETim: well...
809: [15:29:05] <Pyhrk> you mean like javascript?
810: [15:29:17] <Pyhrk> best practice is that you use a javascript library
811: [15:29:49] <Pyhrk> best practice for actual submission sanitation in the backend? That's what the form classes are for. It's automatic.
812: [15:30:56] <Pyhrk> Unless you have some extra stuff you want happening.
813: [15:31:20] <Pyhrk> in which case you can either make your own formfield, or make your own validator to attach to the form field you're using.
814: [15:31:31] <Pyhrk> or make your own form validator
815: [15:31:57] <Pyhrk> there are a few form validation libraries to make things like dependent field validation easier, etc.
816: [15:32:54] <Pyhrk> on addons.silverstripe.org
817: [15:35:02] <Pyhrk> ah fuck, got another hour left. I can't believe this shit D:
818: [15:36:20] <NETim> Pyhrk: I was sort of asking (the long way round) if SS3 does any kind of query sanitisation. From what I've found in the docs, it does.
819: [15:40:05] <Pyhrk> of course!
820: [15:40:32] <Pyhrk> always has :> Not doing it would kinda defeat the point in the whole system :P
821: [15:41:04] <Pyhrk> go the way of another derpy cms - store all the PHP in the database directly then EVAL() it
822: [15:41:06] <Pyhrk> xD
823: [15:41:37] <Pyhrk> That'd clean up all those messy module folders in the web root kinglozzer !
824: [15:41:51] <Pyhrk> zauberfisch: ^ xD
825: [15:45:28] <NETim> Pyhrk: Wasn't sure about the level of cleaning.
826: [15:45:48] <NETim> Also, you'd fit right in with the other bat shit crazy ideas that Magento devs come up with.
827: [15:46:04] <Pyhrk> well, you need to check for anything special, but it'll clean to the point where injection isn't a thing at least.
828: [15:46:10] <Pyhrk> as all good systems should
829: [15:46:26] <Pyhrk> NETim: oh, no, I was actually talking about a real CMS.
830: [15:46:31] <Pyhrk> MODx
831: [15:46:31] * Eliseth quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
832: [15:46:43] <Pyhrk> No shit, that's actually how it operates.
833: [15:48:00] <NETim> Wow, last place I worked for (a few years ago) thought that was the latest greatest thing and was starting to implement it. Managed to escape before I could be traumatized by looking at that.
834: [15:49:03] * babak quit (Quit: Connection closed for inactivity)
835: [15:49:45] <Pyhrk> I've never used it, but have taken over a few sites before.
836: [15:50:13] <NETim> I assume you killed it with fire?
837: [15:50:17] <Pyhrk> It's a horrible system.
838: [15:50:32] <Pyhrk> make a new page type - CODE DIRECTLY INTO A <textarea>!!
839: [15:50:37] <Pyhrk> HUUURAAAEEEE
840: [15:50:56] <Pyhrk> then they were all 'we make it the betters, mvc!'
841: [15:51:03] <Pyhrk> was basically the same shit, modern fuckup.
842: [15:52:11] <NETim> But MVC makes all the things moar better.
843: [15:52:29] <Pyhrk> Yeah, a pity about 80% of people who talk about it have no idea what it ACTUALLY is.
844: [15:52:48] <Pyhrk> 'thin controller' - fucking run.
845: [15:53:06] <NETim> MVC = Monkeys, very clever.
846: [15:53:12] <Pyhrk> lulz
847: [15:53:15] <Pyhrk> codemonkey
848: [15:54:14] <NETim> Suppose that makes an MVC framework more of a climbing frame then?
849: [15:57:53] <Pyhrk> if you're talking about crudigniter, it's more of a GLOBALSINGLETON ALLTHETHINGS
850: [16:10:11] * Shrike_Finland has joined #silverstripe
851: [16:17:23] * vanny has joined #silverstripe
852: [16:17:50] <vanny> Morning all!
853: [16:18:58] <vanny> Anyone had trouble accessing fields when using leftJoin
854: [16:19:16] <Pyhrk> Yeah, don't use left join.
855: [16:19:44] <Pyhrk> do not confuse the ORM with a crudigniter style query wrapper.
856: [16:19:57] <kinglozzer> vanny: DataList::leftJoin() or SQLQuery::addLeftJoin()?
857: [16:20:11] <Pyhrk> either use the orm, or use a query wrapper
858: [16:20:17] <vanny> $DataList = Tasting::get() ->leftJoin("Bid", "Bid.TastingID = Tasting.ID")
859: [16:20:18] <Pyhrk> ... like kinglozzer is alluding to.
860: [16:20:27] <Pyhrk> yeah, doing it wron.
861: [16:20:38] <Pyhrk> vanny: You're asking for a bunch of Tasting objects.
862: [16:20:43] <kinglozzer> vanny: What are you trying to do with that query?
863: [16:20:43] <Pyhrk> So Tasting objects you get.
864: [16:20:54] <Pyhrk> regardless of any extra fields used in the query.
865: [16:20:59] <vanny> they may or may not have bid on the item
866: [16:21:17] <Pyhrk> vanny: is 'bid' some kind of relation?
867: [16:21:27] <kinglozzer> So you want all the "Tastings" that have a bid?
868: [16:21:35] <vanny> yeah, none to many
869: [16:21:44] <kinglozzer> xD
870: [16:21:44] <Pyhrk> so it's a has_many?
871: [16:21:51] <vanny> yep
872: [16:21:58] <Pyhrk> do you want tasting or bids?
873: [16:22:20] <kinglozzer> Bid::get()->relation('Tasting'); ?
874: [16:22:25] <kinglozzer> Where "Tasting" is the has_one name
875: [16:22:33] <vanny> I can see the issue when I echo the SQL, and it is that the when the innerJoin is applied it works, but it doesnt add the fields to the SQL that is run
876: [16:22:44] <Pyhrk> what
877: [16:22:54] <Pyhrk> dude have you just ignored everything I said?
878: [16:23:04] <kinglozzer> vanny: Forget leftJoin, what info are you trying to get?
879: [16:23:09] <Pyhrk> ^^
880: [16:23:35] <Pyhrk> describe to us your desired outcome, not your supposed solution.
881: [16:23:54] <Pyhrk> Classic X=>Y issue.
882: [16:24:51] <vanny> ok, i didnt ignore, was still writing. I want all Tasting with some conditions. I need to check if the tasting has bids for a particular member, it it does not then show it. the member may or may not have a row in the bid table. Does that make sense
883: [16:25:13] <Pyhrk> kinda
884: [16:25:36] <kinglozzer> vanny: $tastings = Bid::get()->filter('MemberID', $member->ID)->relation('Tastings');
885: [16:25:38] <kinglozzer> probably
886: [16:25:44] <Pyhrk> probably
887: [16:26:56] <vanny> Ok, thanks i'll look at that. I tried this earlier $DataList = Tasting::get()->filter('Bid.MemberID:not' => Member::currentUserID())); but it wasnt happy :)
888: [16:27:18] <kinglozzer> Yeah I dunno if it can handle more than one '.'
889: [16:27:43] <kinglozzer> So I'd say... $tastings = Bid::get()->exclude('MemberID', Member::currentUserID())->relation('Tastings');
890: [16:27:44] <vanny> ok thanks, I'll work it out. sometimes I still get confused with the ORM, still learning
891: [16:27:44] <kinglozzer> That should do it
892: [16:28:06] <Pyhrk> vanny: :not is ... :not a thing.
893: [16:28:07] * Nerijus quit (Ping timeout: 246 seconds)
894: [16:28:08] <Pyhrk> use ->exclude
895: [16:28:18] <Pyhrk> gl!
896: [16:28:23] <Pyhrk> hometime :)
897: [16:28:24] * Pyhrk quit ()
898: [16:30:07] * kinglozzer me too!
899: [16:30:09] <kinglozzer> ciao
900: [16:30:09] * kinglozzer quit ()
901: [16:30:34] * Shrike_Finland quit (Quit: Leaving.)
902: [16:44:27] * PigeonFriend has joined #silverstripe
903: [18:14:01] * gelignite has joined #silverstripe
904: [18:17:09] * darjus01 has joined #silverstripe
905: [18:18:05] <darjus01> Hi is any posibility to remove other languages from translatable module dropdown?
906: [18:29:23] * Stomach has joined #silverstripe
907: [18:29:49] * babak has joined #silverstripe
908: [18:31:34] * travis-ci has joined #silverstripe
909: [18:31:35] <travis-ci> dhensby/silverstripe-framework#300 (pulls/having-count - 2e9a1f8 : Daniel Hensby): The build has errored.
910: [18:31:35] <travis-ci> Change view : https://github.com/dhensby/silverstripe-framework/compare/a4fff6302057^...2e9a1f8948db
911: [18:31:35] <travis-ci> Build details : http://travis-ci.org/dhensby/silverstripe-framework/builds/61656638
912: [18:31:35] * travis-ci has left #silverstripe
913: [18:38:08] <terryapodaca> Hey guys, I have a <div id="constant"> where constant means it's always going to be there, but it's child element can change
914: [18:38:49] <terryapodaca> how, with jQuery, can I get what kind of element that first child is...like if it's a <img> tag, <video> tag, etc....
915: [18:42:14] * Stomach quit (Quit: zzz)
916: [18:50:41] <catcher> terryapodaca, $('#constant:first-child').prop() or something
917: [18:57:55] * Stomach has joined #silverstripe
918: [19:02:12] * travis-ci has joined #silverstripe
919: [19:02:13] <travis-ci> dhensby/silverstripe-framework#301 (pulls/having-count - ae613a9 : Daniel Hensby): The build has errored.
920: [19:02:13] <travis-ci> Change view : https://github.com/dhensby/silverstripe-framework/compare/2e9a1f8948db...ae613a9607f9
921: [19:02:13] <travis-ci> Build details : http://travis-ci.org/dhensby/silverstripe-framework/builds/61656740
922: [19:02:13] * travis-ci has left #silverstripe
923: [19:06:19] * darjus01 quit (Ping timeout: 246 seconds)
924: [19:13:38] * CodeTrap has joined #silverstripe
925: [19:20:28] * Stomach quit (Quit: zzz)
926: [19:34:55] * travis-ci has joined #silverstripe
927: [19:34:56] <travis-ci> dhensby/silverstripe-framework#302 (pulls/having-count - b0594d7 : Aram Balakjian): The build has errored.
928: [19:34:56] <travis-ci> Change view : https://github.com/dhensby/silverstripe-framework/compare/ae613a9607f9...b0594d7dcb48
929: [19:34:56] <travis-ci> Build details : http://travis-ci.org/dhensby/silverstripe-framework/builds/61660007
930: [19:34:56] * travis-ci has left #silverstripe
931: [19:39:36] * Error404NotFound quit (Read error: Connection timed out)
932: [19:46:28] * camfindlay has joined #silverstripe
933: [19:46:28] * camfindlay quit (Client Quit)
934: [19:53:37] * Stomach has joined #silverstripe
935: [20:01:28] * CodeTrap quit (Quit: CodeTrap)
936: [20:02:03] * oetiker quit (Read error: Connection reset by peer)
937: [20:20:49] * antmas has joined #silverstripe
938: [20:22:42] <antmas> morning allo/
939: [20:25:04] * vanny quit (Ping timeout: 246 seconds)
940: [20:26:26] <Stomach> hey antmas \o
941: [20:27:31] <antmas> Stomach: :D it's friday!
942: [20:27:33] <antmas> \o/
943: [20:27:39] <Stomach> thank goodness
944: [20:27:41] <Stomach> :D
945: [20:27:47] <antmas> mmm been hanging out for this one
946: [20:28:23] * SphereSilver quit (Quit: Bye now!)
947: [20:29:34] <antmas> doing 2.5 peoples jobs suuuuuucks
948: [20:31:37] * Ryan-Toast has joined #silverstripe
949: [20:31:42] * SphereSilver has joined #silverstripe
950: [20:37:14] * Stomach quit (Quit: zzz)
951: [20:45:03] * Stomach has joined #silverstripe
952: [20:45:20] <Ryan-Toast> Morning
953: [20:45:36] <antmas> Ryan-Toast: o/
954: [20:45:47] <Ryan-Toast> Friday, aww yiss.
955: [20:52:37] * Motoservo quit (Quit: Over & out.)
956: [20:56:09] * UndefinedOffset quit (Quit: Leaving.)
957: [20:57:05] <terryapodaca> Any JS Ninjas online right now? <iframe src="http://www.youtube.com/embed/nG2rNBFzkGE?rel=1&amp;autoplay=1"></iframe>
958: [20:57:42] <terryapodaca> I need some JS/jQuery that will extract the "nG2rNBFzkGE" out of that iframe tag
959: [20:58:13] <Ryan-Toast> terryapodaca: regex, brah
960: [20:58:25] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
961: [20:59:00] <terryapodaca> I figured it would be some kind of regex...but the only regex code I've written, has been simply copy/paste
962: [20:59:55] <catcher> terryapodaca, slash join #regex :)
963: [21:00:23] <catcher> terryapodaca, if they're jerks about it, I'll look at it tomorrow.
964: [21:00:48] <Ryan-Toast> terrypodaca: does it have to be js?
965: [21:01:21] <catcher> Also consider that plugins may exist for your needs.
966: [21:01:46] <catcher> I'm out, ttys
967: [21:01:49] * catcher quit (Quit: Leaving)
968: [21:02:29] * travis-ci has joined #silverstripe
969: [21:02:30] <travis-ci> dhensby/silverstripe-framework#303 (pulls/having-count - 6954ce3 : Aram Balakjian): The build has errored.
970: [21:02:30] <travis-ci> Change view : https://github.com/dhensby/silverstripe-framework/compare/b0594d7dcb48...6954ce351482
971: [21:02:30] <travis-ci> Build details : http://travis-ci.org/dhensby/silverstripe-framework/builds/61672755
972: [21:02:30] * travis-ci has left #silverstripe
973: [21:02:33] <terryapodaca> yeah, I'm building a separate link string based on the youtube video ID, and the only way I can get the video ID is to use JS/jquery to grab it from the frontend
974: [21:03:24] <Ryan-Toast> Ah, right.
975: [21:13:34] <Ryan-Toast> terrypodaca: http://stackoverflow.com/questions/3452546/javascript-regex-how-to-get-youtube-video-id-from-url
976: [21:20:56] * travis-ci has joined #silverstripe
977: [21:20:57] <travis-ci> dhensby/silverstripe-framework#304 (pulls/having-count - be10d90 : Aram Balakjian): The build has errored.
978: [21:20:57] <travis-ci> Change view : https://github.com/dhensby/silverstripe-framework/compare/6954ce351482...be10d90cc593
979: [21:20:57] <travis-ci> Build details : http://travis-ci.org/dhensby/silverstripe-framework/builds/61676485
980: [21:20:57] * travis-ci has left #silverstripe
981: [21:29:34] * Hailwood has joined #silverstripe
982: [21:40:10] * Stomach quit (Quit: zzz)
983: [21:41:50] <terryapodaca> Ryan-Toast: I think I found my solution in that SO thread!
984: [21:41:55] <Ryan-Toast> terryapodaca: Cool :)
985: [21:41:57] <terryapodaca> thanks for searching
986: [21:42:03] <Ryan-Toast> No problem, man.
987: [21:42:12] <terryapodaca> I did my own search and that never showed up
988: [21:42:22] <Ryan-Toast> Got to ahve that googgle-foo
989: [21:44:40] * Stomach has joined #silverstripe
990: [21:44:58] * bobthedog has joined #silverstripe
991: [21:49:04] * bobthedog quit (Ping timeout: 246 seconds)
992: [21:50:53] * veb has joined #silverstripe
993: [22:02:59] * UncleCheese has joined #silverstripe
994: [22:02:59] * T8 has joined #silverstripe
995: [22:03:20] <T8> Hey guys, I have a question
996: [22:03:44] <T8> I have a route pointing to a controller and it works but it changes the URL to the controllers name
997: [22:03:53] <T8> Is there any way to prevent this? or change this?
998: [22:04:14] <T8> I have tried using Link but this seems to affect my form methods also
999: [22:05:01] * micmania1 has joined #silverstripe
1000: [22:09:03] <T8> Hey guys, When I set up a route 'blog' to point to 'BlogPage_Controller' the URL changes to BlogPage_Controller is there any way that I can prevent this?
1001: [22:09:37] <T8> Sorry this change happens on form submission
1002: [22:10:36] <T8> I end up with this... BlogPage_Controller/EmailForm
1003: [22:11:05] <adrexia> yep
1004: [22:11:40] <adrexia> I believe there is.
1005: [22:11:43] <adrexia> give me a sec
1006: [22:12:38] * travis-ci has joined #silverstripe
1007: [22:12:39] <travis-ci> silverstripe/silverstripe-framework#4743 (3 - d3f5d49 : Damian Mooyman): The build passed.
1008: [22:12:39] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/2a047133237f...d3f5d491e653
1009: [22:12:39] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/61680295
1010: [22:12:39] * travis-ci has left #silverstripe
1011: [22:14:17] <adrexia> wait, no I haven't had that specific problem. it's always just used the current url for me
1012: [22:16:34] * Stomach quit (Quit: zzz)
1013: [22:16:39] <adrexia> how are your routes set up? I think for things that are already pages you just need to add the form methods to allowed actions
1014: [22:17:17] <Ryan-Toast> what’s the link tot the swear logs?
1015: [22:17:23] <Ryan-Toast> simon_w ?
1016: [22:19:27] * Stomach has joined #silverstripe
1017: [22:20:44] <antmas> simon_w|air: ^^^
1018: [22:21:10] <antmas> Ryan-Toast: you looking for a particular word? :P
1019: [22:23:48] <adrexia> http://logs.simon.geek.nz/stats.php
1020: [22:26:33] <antmas> top speakers :|
1021: [22:28:27] <Ryan-Toast> Going to have to change my name soon and lose my stats :(
1022: [22:29:17] <antmas> do you HAVE to change name though?
1023: [22:29:25] <Ryan-Toast> No, but it would be a good idea.
1024: [22:29:28] <Ryan-Toast> Ryan-Potter
1025: [22:29:40] <Ryan-Toast> BUILD THAT BRAND IDENTITY, SON.
1026: [22:29:40] <antmas> just make it like Ryan-Toasty :P
1027: [22:31:09] <antmas> what about your git handle?
1028: [22:31:17] <antmas> rhympotts or whatever
1029: [22:31:39] <Ryan-Toast> I think my name so people can google me would be good.
1030: [22:32:42] * Stomach quit (Quit: zzz)
1031: [22:35:33] <Ryan-Toast> can you map csv imports to go to a certain field?
1032: [22:35:50] <Ryan-Toast> so if I had a csv with FULL_NAME I could map that to a name field in the database?
1033: [22:37:01] <antmas> Ryan-Toast: yeah but you know what happens when you google Ryan Potter... :P
1034: [22:37:13] <Ryan-Toast> antmas: I KNOW
1035: [22:37:21] <antmas> XD
1036: [22:38:38] * veb quit (Quit: veb-irc: &)
1037: [22:40:38] * Stomach has joined #silverstripe
1038: [22:41:19] <Ryan-Toast> Stomach: The old in-and-out today, huh?
1039: [22:41:49] <Stomach> the old meeeeeetings
1040: [22:43:40] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
1041: [22:45:03] <antmas> Stomach: I know those feels
1042: [22:45:10] <Stomach> its balls
1043: [22:45:15] <Stomach> no work will get done today
1044: [22:45:28] <antmas> kinda wish people didn't have access to my calendar and couldn't book time
1045: [22:45:35] <Ryan-Toast> Stomach: do you at least get sandwiches?
1046: [22:45:39] * antmas has 2 hours to do 'work'today - the rest, meetings.
1047: [22:45:47] <Stomach> Ryan-Toast nope :(
1048: [22:45:59] <Ryan-Toast> Stomach: Leave.
1049: [22:46:01] <Ryan-Toast> Just leave.
1050: [22:46:04] <Ryan-Toast> Never look back./
1051: [22:46:43] <antmas> kinda wish they'd hurry up and get cameras on all desks here so I can just remote into meetings and pretend like I'm present
1052: [22:49:04] * mahfuz has joined #silverstripe
1053: [22:49:29] <antmas> mahfuz: o/
1054: [22:50:45] * micmania1 quit (Quit: micmania1)
1055: [22:51:17] * Stomach quit (Quit: zzz)
1056: [22:53:19] * Stomach has joined #silverstripe
1057: [22:56:51] <antmas> need some new tunes
1058: [22:59:28] <mahfuz> antmas, Stomach: o/
1059: [23:02:52] * micmania1 has joined #silverstripe
1060: [23:04:43] * Stomach quit (Quit: zzz)
1061: [23:06:03] * veb has joined #silverstripe
1062: [23:09:04] * babak quit (Quit: Connection closed for inactivity)
1063: [23:10:11] * Stomach has joined #silverstripe
1064: [23:14:00] * terryapodaca has left #silverstripe
1065: [23:15:26] * Stomach quit (Quit: zzz)
1066: [23:18:04] * veb quit (Quit: veb-irc: &)
1067: [23:19:02] * Stomach has joined #silverstripe
1068: [23:19:19] <Stomach> mahfuz \o
1069: [23:20:40] <T8> @adrexia my routes are how the tutorial details them
1070: [23:20:59] <T8> Director: rules: 'blog//$Action/$ID/$Name': 'BlogPage_Controller'
1071: [23:21:05] <adrexia> T8, you probably don't need routes if you are just using it for form processing
1072: [23:21:18] <adrexia> just need the allowed actions bit
1073: [23:21:24] <adrexia> the route should be handled by sitetree
1074: [23:22:21] <MichalKleiner> o/
1075: [23:22:25] <MichalKleiner> Friday yeeeey
1076: [23:22:28] <adrexia> :D
1077: [23:22:28] <T8> I think I do
1078: [23:22:39] <T8> It is handling my blog posts also
1079: [23:22:41] <adrexia> oh?
1080: [23:22:43] <MichalKleiner> by the amount of productive work done this week it should be just like Wednesday
1081: [23:22:48] <T8> which are dataobjects that are pulled into the page
1082: [23:22:49] <adrexia> and it doesn't work without them?
1083: [23:22:50] <antmas> MichalKleiner: awwww yeah
1084: [23:23:12] <T8> I can't access my posts how I want to without the routes I don't think...
1085: [23:23:19] <adrexia> ahh
1086: [23:23:42] <T8> I still want to be able to go to /blog/post-name and have it render with the post
1087: [23:23:48] <T8> yeah
1088: [23:23:51] <T8> kinda annoying
1089: [23:24:15] <adrexia> is your blog sitetrtere short url blog? or soemthign difefrent?
1090: [23:24:18] <T8> It would be a shame if I had to rewrite the way my blog works just to let this form work...
1091: [23:24:34] <T8> Huh?
1092: [23:24:38] <adrexia> true, I tend to use ids for that ratehr than nice urls
1093: [23:24:46] <T8> oh
1094: [23:24:48] <T8> nice urls
1095: [23:24:50] <T8> not ids
1096: [23:25:03] <adrexia> and the form is on a blog post?
1097: [23:25:11] <T8> yes
1098: [23:28:01] * Colin[pi] has joined #silverstripe
1099: [23:29:27] * novaweb has joined #silverstripe
1100: [23:29:49] <novaweb> Stripers… has anyone used patternlab.io with SilverStripe?
1101: [23:30:03] <novaweb> Or any other atomic design solution?
1102: [23:31:24] <Colin[pi]> moin all o/
1103: [23:31:50] <adrexia> I've used it with drupul
1104: [23:31:55] <adrexia> :-/
1105: [23:32:02] <adrexia> I don't really like the idea
1106: [23:32:33] <adrexia> it means maintaining css and html in two seperate places
1107: [23:32:59] <adrexia> I think I prefer the idea of having a controller page within the codebase that renders frontend components
1108: [23:33:13] <adrexia> that benefit to that is that it doubles as a frontend testing suite
1109: [23:33:34] <antmas> Colin[pi]: so late
1110: [23:33:40] <antmas> SO late
1111: [23:33:49] <adrexia> and, well, you can use the php tyhat renders it to create actual copies of the new compoenents
1112: [23:34:00] <adrexia> rather than it just being html
1113: [23:36:36] <novaweb> @adrexia I hear what you’re saying. Thanks for the suggestion, i’ll look in to that.
1114: [23:38:20] <adrexia> I do think patternlab is useful as a tool for designers. Just not so much as an ongoing tool for a project. Or a tool for frontend devleopers
1115: [23:38:21] <adrexia> ;)
1116: [23:42:40] * spronk2 has joined #silverstripe
1117: [23:43:16] <antmas> spronk2: o/
1118: [23:43:22] <spronk2> \o
1119: [23:45:23] * micmania1 quit (Quit: micmania1)
1120: [23:46:37] <antmas> really want to try this new MS browser
1121: [23:46:41] <antmas> Edge or wahtever
1122: [23:48:34] * Ryan-Toast quit (Quit: Ryan-Toast)
1123: [23:49:33] <Colin[pi]> antmas: sounds like they removed a lot of shitty things
1124: [23:49:56] <antmas> 220k LoC removed, 300K added
1125: [23:50:15] <antmas> big changes http://www.winbeta.org/news/here-are-legacy-technologies-were-removed-microsoft-edge
1126: [23:50:54] <antmas> previews suggest it's crazy quick - but all browsers claim that
1127: [23:51:35] <antmas> SVG support
1128: [23:51:37] <antmas> \o/
1129: [23:52:43] * micmania1 has joined #silverstripe
1130: [23:54:03] <antmas> tis a littler concerning that a lot of screenshots are like 'look, the weather report on all the things!!!'
1131: [23:54:09] <antmas> little*
1132: [23:56:58] <adrexia> I love the code ample they use in that article
1133: [23:57:04] <adrexia> *sample
1134: [23:57:23] <adrexia> it says so much
1135: [23:57:26] * novaweb quit (Quit: novaweb)
1136: [23:58:08] <adrexia> I wonder who chose it.
1137: [23:58:30] <adrexia> they obviously don't have a whole lot of faith in mnicorsoft stuff
1138: [23:58:32] <adrexia> ;)
1139: [23:58:34] <antmas> lol yeah
1140: [23:58:51] <antmas> 'quick, find me something with javascript in it'
1141: [23:59:26] <adrexia> well, it references windows too
1142: [23:59:29] <adrexia> and browsers
1143: [23:59:42] <adrexia> but it is basically saying hat all tehir code is shit
1144: [23:59:43] * veb has joined #silverstripe
1145: [23:59:43] <adrexia> ;)
1146: [23:59:53] <adrexia> *that all their

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