#silverstripe IRC Log

IRC log for 2 June 2014

All timestamps are in UTC.

1: [00:00:20] * joelpittet quit (Remote host closed the connection)
2: [00:12:00] <DesignerX> good morning
3: [00:12:35] <DesignerX> any idea how can I customize the "Add Eexisitng" popup on GridField ?
4: [00:12:52] <Zauberfisch> popup? :O
5: [00:13:01] <Zauberfisch> there is a popup for gridfield?
6: [00:13:27] <DesignerX> when you click "Add Exisintg" button
7: [00:14:03] <DesignerX> you get a small popup/lightboxc with search options to find an exisitng item & add it to GF
8: [00:15:06] * UncleCheese has joined #silverstripe
9: [00:15:33] <Zauberfisch> uhm, not in the default setup. its just a dropdown in which you can search, and then it just adds the row
10: [00:15:34] <DesignerX> oh .. wait, I think it's not in GridField, its from a GF extention
11: [00:15:39] <Zauberfisch> I have never seen a popup
12: [00:15:45] <Zauberfisch> yeah, must be an extension
13: [00:16:08] <DesignerX> GridFieldAddExistingSearchButton
14: [00:32:56] <Colin[pi]> it is quiet in here today or just me?
15: [00:34:09] <simon_w> Public holiday in NZ
16: [00:34:59] <Colin[pi]> ah ha, thought as much
17: [00:37:16] <simon_w> Oh man, debugging this isn't going to be fun
18: [00:37:32] <simon_w> There's a crashing bug in the iOS app I wrote to teach myself iOS development
19: [00:40:02] * auto9 quit (Read error: Connection reset by peer)
20: [00:40:20] * auto9_ has joined #silverstripe
21: [00:51:57] * sminnee has joined #silverstripe
22: [00:52:37] <Colin[pi]> simon_w: yay! doesn't it make some sort of log you can check?
23: [00:52:52] <Colin[pi]> log of the exception or something?
24: [00:52:54] <simon_w> Yeah, but I can't reproduce the crash
25: [00:52:59] <Colin[pi]> ah :\
26: [00:53:09] <Colin[pi]> the most annoying kind
27: [00:53:12] <simon_w> Plus, I'd need to completely redesign the app to get a new build out anyway
28: [00:53:17] <Colin[pi]> :(
29: [00:56:49] * cloph is now known as cloph_away
30: [01:04:48] <Zauberfisch> oh, yay
31: [01:05:08] <Zauberfisch> apache2.4 does not fail to start if the document root is not mounted yet
32: [01:05:13] <Zauberfisch> makes my life easier
33: [01:28:02] * [SD]LoveDuckie quit (Read error: Connection reset by peer)
34: [01:42:17] * UncleCheese quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
35: [01:48:00] * Ryan-Toast has joined #silverstripe
36: [01:48:11] <Ryan-Toast> Sup
37: [01:48:28] <Colin[pi]> yo Ryan-Toast
38: [01:48:43] <Ryan-Toast> good weekend?
39: [01:48:48] <Colin[pi]> eh ok I guess
40: [01:49:04] <Ryan-Toast> do you know how to ad the filter sidebar thing to Security?
41: [01:49:08] <Ryan-Toast> add**
42: [01:49:50] <Colin[pi]> neg
43: [01:52:15] * auto9 has joined #silverstripe
44: [01:53:21] <Ryan-Toast> Hmmmmm.
45: [01:53:42] <Ryan-Toast> Can't even make a custom modeladmin for it, as I still couldn't put the summary fields anywhere.
46: [01:53:57] <Ryan-Toast> I have a MemberDecorator, but summary_fields seem to do nothing.
47: [01:54:34] * auto9_ quit (Ping timeout: 240 seconds)
48: [01:58:11] * sminnee quit (Quit: sminnee)
49: [02:26:44] * joelpittet has joined #silverstripe
50: [02:27:33] <Ryan-Toast> simon_w: Hey, man. Do you know how I can filter Users in the security gridfield?
51: [02:32:07] <simon_w> Ryan-Toast, the grid field has a search header
52: [02:32:36] <Ryan-Toast> The security gridfield is made in the core though. Can I extendit with a DataExtension?
53: [02:32:57] <simon_w> Yes. There's a editForm or some such hook
54: [02:33:14] <Ryan-Toast> will that also add the filter sidebar thing?
55: [02:33:57] <simon_w> No
56: [02:34:10] <simon_w> You're not getting the sidebar. You've got a header.
57: [02:34:51] <Ryan-Toast> Hmm, and how can I add the sidebar?
58: [02:37:03] <simon_w> You can't
59: [02:37:20] <Ryan-Toast> Could I make a custom modelAdmin?
60: [02:37:30] <simon_w> Yes
61: [02:38:37] <Ryan-Toast> And jst do this, right? http://doc.silverstripe.org/framework/en/3.1/reference/modeladmin#gridfield-customization
62: [02:39:44] <simon_w> If you want to customise the grid field, though that's not what generates the sidebar
63: [02:40:03] <Ryan-Toast> is it searchable_fields that do?
64: [02:40:38] <simon_w> That's what it's built from, yes
65: [02:40:45] <Ryan-Toast> Coolio.
66: [02:52:01] <Ryan-Toast> simon_w: I can add the fields to the gridfield. But I can seem to add summary_fields. Which mean the export csv, and the filter only have the firstname, surname, and email.
67: [02:52:37] <simon_w> Ryan-Toast, private static $summary_fields on a DataExtension should do it
68: [02:52:52] <Ryan-Toast> a data extension of member?
69: [02:53:16] <simon_w> yes
70: [02:53:31] <Ryan-Toast> simon_w: no dice.
71: [02:53:56] <Ryan-Toast> It's extending MemberDecorator, is that wrong?
72: [02:54:08] <Ryan-Toast> derp
73: [02:54:09] <Ryan-Toast> wait
74: [02:54:13] <Ryan-Toast> It's extending Member.
75: [02:54:20] <Ryan-Toast> MemberDecorator is my class.
76: [02:54:25] <Ryan-Toast> but yeah, doesn't work.
77: [03:20:30] * auto9_ has joined #silverstripe
78: [03:20:30] * auto9 quit (Read error: Connection reset by peer)
79: [03:24:11] * joelpittet quit ()
80: [03:31:47] * Error404NotFound has joined #silverstripe
81: [03:32:59] * Error404NotFound quit (Read error: Connection reset by peer)
82: [03:33:26] * Error404NotFound has joined #silverstripe
83: [03:38:26] * cloph has joined #silverstripe
84: [03:38:51] * cloph_away quit (Ping timeout: 252 seconds)
85: [03:40:37] <Colin[pi]> Ryan-Toast: there's something unnerving about a class called "MemberDecorator"
86: [03:50:19] * spronk2 has joined #silverstripe
87: [03:55:33] * willagain has joined #silverstripe
88: [03:55:38] <willagain> hello again
89: [03:56:18] <willagain> i'm trying to allow a group in ss to access a model admin. i've ticked the box in the groups tab & assigned the user to the group.
90: [03:56:30] <willagain> they can get to the model admin, but no records show up
91: [03:57:01] <willagain> i tried addmin in canView etc in the model class, but to no avail
92: [03:57:21] <willagain> if i set canView($member = nul){return true;}
93: [03:57:28] <willagain> the records all show up.
94: [03:57:42] <willagain> but what have i done? allowed the whole world to edit the model?
95: [03:58:22] * dog has left #silverstripe
96: [04:02:02] * spronk2 quit (Quit: spronk2)
97: [04:13:07] * jordanmmmkayyy has joined #silverstripe
98: [04:13:14] <jordanmmmkayyy> hey
99: [04:13:24] <jordanmmmkayyy> anyone here used the SilverStripe Shop module? http://ss-shop.org/
100: [04:24:17] * babak has joined #silverstripe
101: [04:24:22] <Colin[pi]> jordanmmmkayyy: yes I have
102: [04:25:01] <jordanmmmkayyy> would you happen to have a link to a website that you've used it on?
103: [04:25:24] <Colin[pi]> jordanmmmkayyy: this one is running on it: http://www.justritestore.com.au/
104: [04:25:25] <jordanmmmkayyy> we're using the module for a website and just want to show our designer an example of it so that she has an idea of its functionality
105: [04:26:25] <Colin[pi]> also jedateach sometimes drops by the IRC channel, he's the author of ss-shop
106: [04:26:59] <jordanmmmkayyy> ah cool
107: [04:27:03] <jordanmmmkayyy> cheers for the link, that will help :)
108: [04:28:11] <Colin[pi]> no worries.. it was um... interesting to work on :o
109: [04:28:16] * Error404NotFound quit (Quit: User guilty of hitting the Big Red X...)
110: [04:28:22] <Colin[pi]> most here recommend swipestripe for ss e-commerce these days
111: [04:30:59] <jordanmmmkayyy> ah okay
112: [04:31:01] * Ryan-Toast quit (Quit: Leaving)
113: [04:33:45] <jordanmmmkayyy> any particular reason? better documented? more functionality?
114: [04:40:09] <Zauberfisch> jordanmmmkayyy: it has good design ideas
115: [04:40:33] * mobiusnz has joined #silverstripe
116: [04:40:57] <jordanmmmkayyy> Zauberfisch, not sure what you mean by that
117: [04:41:07] <Zauberfisch> but honestly, it still needs a lot of work until its usable
118: [04:42:29] <Zauberfisch> jordanmmmkayyy: it mostly follows the silverstripe way of doing things / feels well designed
119: [04:42:47] <Zauberfisch> but if you use swipestripe, you will need to fix a couple of things yourself before you can properly use it
120: [04:43:50] <jordanmmmkayyy> ah okay
121: [04:44:28] <jordanmmmkayyy> anywhere to find what things need fixing? or anywhere that it's documented?
122: [04:44:46] <jordanmmmkayyy> or even better, is there a fixed version of it uploaded anywhere?
123: [04:50:41] <DesignerX> hi guys, anyone here has used Symfony ?
124: [04:54:10] * auto9_ quit (Ping timeout: 240 seconds)
125: [04:57:58] <Zauberfisch> jordanmmmkayyy: not really, all people that I konw that run swipestripe have hack fixed their version
126: [04:58:09] <Zauberfisch> none of which could be realeased just like that
127: [05:00:58] <jordanmmmkayyy> Zauberfisch: hmm, so you don't know of anything i could look at (public repos etc.) to see how people have fixed SwipeStripe? i'd have to just find the issues and then find the fixes myself?
128: [05:03:52] * bjkb has joined #silverstripe
129: [05:04:07] <bjkb> Hi all
130: [05:05:50] * mobiusnz quit (Quit: Leaving.)
131: [05:05:51] <bjkb> Anyone around with experience with adding the versioned extension to dataobjects?
132: [05:05:57] <bjkb> I'm getting this error:
133: [05:06:37] <bjkb> [User Error] Couldn't run query: SELECT CASE WHEN "Product_Stage"."Version"="Product_Live"."Version" THEN 1 ELSE 0 END FROM "Product_Stage" INNER JOIN "Product_Live" ON "Product_Stage"."ID" = "Product_Live"."ID" AND "Product_Stage"."ID" = 1 Table 'ss_vpe.product_stage' doesn't exist
134: [05:08:39] <DesignerX> bjkb: Table 'ss_vpe.product_stage' doesn't exist did you dev/build ?
135: [05:08:49] <bjkb> I have.
136: [05:09:03] <bjkb> The thing I'm seeing though is versioned doesn't create a *_stage table
137: [05:09:19] <bjkb> staged records are just in the parent table, 'product' in my instance.
138: [05:09:59] <DesignerX> sorry, never used that module :(
139: [05:10:59] <bjkb> no worries, thanks for the suggestion!
140: [05:14:23] <bjkb> for what it's worth, I'm running betterbuttons and also just added the versioned model admin as otherwise modeladmin doesn't display records
141: [05:24:18] * willagain quit (Ping timeout: 240 seconds)
142: [05:38:37] <bjkb> @simon_w - you around mate?
143: [05:39:23] <Zauberfisch> jordanmmmkayyy: I am afraid, yes. as far as I know its not documented anywhere
144: [05:39:36] <Zauberfisch> jordanmmmkayyy: and the fixes I did are very specific to my usecase
145: [05:40:56] <Zauberfisch> jordanmmmkayyy: perhaps ask micmania1, he might
146: [05:41:09] <Zauberfisch> he just started using/looking at swipestripe I think
147: [05:44:48] * Shrike_Finland has joined #silverstripe
148: [05:49:10] * Shrike_Finland1 has joined #silverstripe
149: [05:50:43] * Shrike_Finland2 has joined #silverstripe
150: [05:51:09] * Shrike_Finland1 quit (Read error: Connection reset by peer)
151: [05:52:03] * Shrike_Finland quit (Ping timeout: 252 seconds)
152: [05:54:53] * Shrike_Finland2 quit (Ping timeout: 245 seconds)
153: [05:59:56] * Shrike_Finland has joined #silverstripe
154: [06:07:25] * simon_w|air has joined #silverstripe
155: [06:08:15] <simon_w|air> bjkb, I might be
156: [06:09:03] <bjkb> simon_w - if you have a sec, do you have any thoughts on what I posted above related to versioned?
157: [06:22:11] * Shrike_Finland1 has joined #silverstripe
158: [06:23:41] * Shrike_Finland quit (Ping timeout: 264 seconds)
159: [06:24:28] * Shrike_Finland1 quit (Client Quit)
160: [06:39:00] <bjkb> Note to self - "State" !== "Stage"
161: [06:39:39] <bjkb> Answered my own question - caused by fat fingers
162: [06:53:32] * ocm has joined #silverstripe
163: [06:53:34] <ocm> howdy
164: [06:54:55] <Colin[pi]> hey ocm
165: [07:00:15] * oetiker quit (Remote host closed the connection)
166: [07:02:16] * ARNHOE has joined #silverstripe
167: [07:04:03] * wmk has joined #silverstripe
168: [07:24:26] * guci0 has joined #silverstripe
169: [07:29:14] <guci0> Hello World!
170: [07:31:29] <simon_w|air> Goodbye world!
171: [07:32:19] <guci0> ;)))
172: [07:32:30] * simon_w|air quit (Quit: This computer has gone to sleep)
173: [07:42:36] * simon_w quit (Quit: This computer has gone to sleep)
174: [07:45:14] * stnvh has joined #silverstripe
175: [07:45:41] * simon_w|air has joined #silverstripe
176: [07:49:04] * anselmdk has joined #silverstripe
177: [07:51:18] * bjkb quit (Ping timeout: 240 seconds)
178: [08:01:49] * anselmdk quit (Quit: anselmdk)
179: [08:04:04] * anselmdk has joined #silverstripe
180: [08:06:39] * kinglozzer has joined #silverstripe
181: [08:13:19] * micmania1 has joined #silverstripe
182: [08:14:31] * anselmdk quit (Quit: anselmdk)
183: [08:15:57] * Pyyayk has joined #silverstripe
184: [08:20:07] <Pyyayk> beautiful walk up the river this morning micmania1
185: [08:20:15] <Pyyayk> saw all sorts of things
186: [08:20:25] <micmania1> I had a walk over it
187: [08:20:32] <Pyyayk> had mated ducks with 10 ducklings paddling around
188: [08:20:34] <Pyyayk> white swans
189: [08:20:44] <Pyyayk> an old CRT TV
190: [08:20:59] <micmania1> haha
191: [08:21:11] <Pyyayk> yep, that was pretty much my reaction too
192: [08:21:23] <Pyyayk> next to "oh, rude"
193: [08:23:23] * anselmdk has joined #silverstripe
194: [08:23:24] * anselmdk quit (Client Quit)
195: [08:25:51] * mobiusnz has joined #silverstripe
196: [08:39:23] <wmk> anyone has an idea how to sync a (silverstripe) blog / news section with facebook? automatically publish new entries etc...
197: [08:39:51] * anselmdk has joined #silverstripe
198: [08:39:52] <simon_w|air> wmk, find an automated RSS publisher
199: [08:40:31] <wmk> hmm, i used networkedblogs, but it claims it needs permissins renewed every 60 days (or when the password changes)
200: [08:40:57] * Liquide has joined #silverstripe
201: [08:48:37] * simon_w|air quit (Quit: This computer has gone to sleep)
202: [08:53:11] <kinglozzer> Guise, if a site can have 4 feature boxes on the home page, and each is a DataObject, how d'you limit it to 4? canCreate()? Something on the GridField?
203: [08:58:28] * qlex has joined #silverstripe
204: [09:01:39] * Shrike_Finland has joined #silverstripe
205: [09:04:18] <wmk> kinglozzer, i guess canCreate() should check this
206: [09:04:31] <micmania1> kinglozzer: Maybe validate on the Page or canCreate on the DataObject
207: [09:05:13] <kinglozzer> I usually use canCreate(), just curious how others would do it. Might to an if statement in getCMSFields to show a message indicating why the 'add new' has disappeared
208: [09:05:20] <kinglozzer> Thanks :)
209: [09:05:46] <micmania1> kinglozzer: Normally I don't build them as DataObjects
210: [09:06:05] <micmania1> I just give them their own tab, then section out how ever many sections I need with nice titles.
211: [09:06:45] <micmania1> Add a getter method or something so you can loop through them as if they were DataObjects
212: [09:07:03] <kinglozzer> micmania1: That's a good idea, might see if I can get away with that
213: [09:09:29] * oetiker has joined #silverstripe
214: [09:09:56] <micmania1> Anybody heard of this happening? http://stackoverflow.com/questions/23988952/silverstripe-3-uploadfield-stop-upload-popup-appearing-when-enter-is-pressed
215: [09:18:29] * richwest_ has joined #silverstripe
216: [09:18:37] * richwest_ is now known as richwestcoast
217: [09:18:57] * mobiusnz quit (Quit: Leaving.)
218: [09:21:38] <guci0> micmania1: I didn't notice
219: [09:21:53] * spronk quit (Ping timeout: 264 seconds)
220: [09:47:05] * qlex says hi
221: [09:47:24] <Pyyayk> kinglozzer: yeh I usually go for cancreate... when I can be bothered.
222: [09:47:36] <Pyyayk> "don't be a derp" otherwise.
223: [09:47:45] <qlex> guys, if i login as content author to cms, i have no "add attachment" button in "attachment" tab - where do i look for clues on making this button availalbe ?
224: [09:47:53] * hubertusanton has joined #silverstripe
225: [09:47:59] <qlex> of cousre admin has access to this button
226: [09:48:46] <kinglozzer> Pyyayk, micmania1: I went for removing the add new button from GF config and adding a warning message after the GF - just in case they're added to other parts of the site in future, canCreate wouldn't cut it then
227: [09:49:18] <Pyyayk> qlex: probably maybe something to do with file permissions (in the user/group permissions that is, not filesystem)
228: [09:50:04] <Pyyayk> kinglozzer: yeh, I've done that kinda thing too. Just seemed too hard after a certain point, so I just went with "stop being a moron."
229: [09:50:36] <Pyyayk> urrrgh, our site was designed with four feature boxes, and when I added a fifth everything broke! - SO TAKE OFF THE FIFTH THEN DERP DERP
230: [09:50:49] <Pyyayk> organise your content better, etc.
231: [09:51:19] <Pyyayk> works a charm when 80% of your clients are too lazy to put their own content in, and a designer is never going to compromise their own design, so no troubles.
232: [09:51:45] <micmania1> Pyyayk: Marketing will though
233: [09:51:52] <micmania1> THey'll make it thier only aim
234: [09:52:01] <micmania1> To fucking ruin your day with stupid changes.
235: [09:52:08] <Pyyayk> But I'd usually do the front end in such a way that eg. 3 is in the design, 4 looks stupid, 6 looks good again.
236: [09:52:25] <Pyyayk> micmania1: marketing respected and understood at my old job.
237: [09:52:54] <Pyyayk> but if 'marketing' are morons, then yeah I'd just educate them. Brashly.
238: [09:53:27] <Pyyayk> "we can change it, sure. But it will cost you an extra 10 hours in development."
239: [09:54:26] <Pyyayk> revise the design, make requested alterations on it, get it signed off, make the necessary back end changes with a developer, get a front end guy to integrate the design changes and allow for the new boxes in a sensible manner, test, delivery.
240: [09:54:49] <Pyyayk> when they hear it all listed out like that they tend to go '... oh... right... yeah... I guess that can wait'.
241: [09:55:24] <Pyyayk> when compared to "or you can work with our copy writer to structure your content better"
242: [09:55:48] <Pyyayk> we're the marketing guys here, you hired us for a reason, etc.
243: [10:04:30] <micmania1> Pyyayk: your formula doesn't take into account total fucking idiots.
244: [10:08:23] <Pyyayk> micmania1: yeah I know. I let the account managers deal with them.
245: [10:08:37] <micmania1> They're just as bad.
246: [10:08:59] <Pyyayk> sounds like there's quite a vaccuum of respect in your workplace :/
247: [10:09:13] <Pyyayk> get out, get out while you... oh wait :P
248: [10:09:18] <Pyyayk> good work!
249: [10:09:55] <wmk> qlex, sounds like a permission problem.
250: [10:10:39] <wmk> does the edtor has permissions set in can_add() in your Attachment object?
251: [10:20:10] * micmania1 quit (Ping timeout: 240 seconds)
252: [10:22:41] * micmania1 has joined #silverstripe
253: [10:27:46] * spronk2 has joined #silverstripe
254: [10:48:43] * simon_w|air has joined #silverstripe
255: [10:50:50] * UncleCheese has joined #silverstripe
256: [10:51:26] * richwestcoast quit (Quit: My iMac has gone to sleep. ZZZzzz…)
257: [10:52:49] * richwestcoast has joined #silverstripe
258: [11:07:39] * Shrike_Finland quit (Quit: Leaving.)
259: [11:29:33] * Shrike_Finland has joined #silverstripe
260: [11:34:11] * simon_w|air quit (Quit: This computer has gone to sleep)
261: [11:55:02] * UncleCheese quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
262: [12:13:36] * richwestcoast quit (Quit: My iMac has gone to sleep. ZZZzzz…)
263: [12:20:50] * micmania2 has joined #silverstripe
264: [12:22:12] * micmania2 quit (Read error: Connection reset by peer)
265: [12:22:17] <Pyyayk> http://stackoverflow.com/questions/7748518/run-cron-now-without-changing-its-settings
266: [12:22:23] * micmania1 quit (Ping timeout: 245 seconds)
267: [12:22:23] <Pyyayk> ALL the stupid!
268: [12:22:40] * micmania2 has joined #silverstripe
269: [12:22:49] * micmania2 is now known as micmania1
270: [12:35:29] * qlex has left #silverstripe
271: [12:43:59] * Shrike_Finland quit (Quit: Leaving.)
272: [12:48:31] <Pyyayk> omg, code igniter. Parent classes that call methods defined only in subclasses.
273: [12:48:34] <Pyyayk> you WUT.
274: [12:48:36] <Pyyayk> -.-
275: [12:48:38] * anselmdk quit (Quit: anselmdk)
276: [12:50:28] <kinglozzer> Pyyayk: lololol
277: [12:51:07] * richwestcoast has joined #silverstripe
278: [12:51:17] <Pyyayk> best part: "This class will not be called directly"
279: [12:51:36] <Pyyayk> HAVE YOU NOT HEARD OF ABSTRACT KEYWORD YOU FUCKING GROUP OF BADS
280: [12:55:43] <Pyyayk> I think the best part is how there are no subclasses.
281: [12:56:22] <micmania1> Our internet is going so slow today
282: [12:56:24] <Pyyayk> because eval('class lolwtf extends parentClass');
283: [12:56:32] <micmania1> I've been uploading a 2mb file for 10mins and its only at 48%
284: [12:56:44] <Pyyayk> then the classes that actually implement the 'abstract' method are extends lolwtf
285: [12:56:47] <Pyyayk> SERIOUSLY
286: [12:56:54] <Pyyayk> WHO EVEN>>
287: [12:58:17] * Shrike_Finland has joined #silverstripe
288: [12:58:19] <Pyyayk> micmania1: beause it's clogged up with wordderp right?
289: [12:58:39] * babak quit (Quit: Connection closed for inactivity)
290: [12:58:41] <micmania1> probably
291: [12:58:45] <micmania1> it timed out in the end
292: [13:04:41] * Shrike_Finland quit (Quit: Leaving.)
293: [13:05:38] * spronk2 quit (Quit: spronk2)
294: [13:06:31] <micmania1> ping: unknown host google.com - Might as well go home.
295: [13:22:20] * Ferg_ has joined #silverstripe
296: [13:22:33] <Ferg_> Hi all
297: [13:22:55] <Ferg_> I have an issue regarding drag and drop reordering
298: [13:23:37] <micmania1> Ferg_: What's the problem/
299: [13:23:37] <micmania1> ?
300: [13:23:51] <Ferg_> when the list spans multiple pages it is not possible to drage a item on one page to another
301: [13:25:24] <micmania1> What module are you using?
302: [13:25:30] <Ferg_> When i add an item it appears at the bottom of page 2 and i want to easily promote up to the top of page one
303: [13:26:16] <Ferg_> good question.
304: [13:26:39] <Ferg_> An outside company set up the silverstripe templates etc for us
305: [13:26:59] <Ferg_> 2secs - i'll go dig into their code and get your answer
306: [13:30:41] <Ferg_> GridField?
307: [13:32:11] <Ferg_> addComponent(new GridFieldSortableRows('SortOrder'));
308: [13:33:09] <Ferg_> is that enough info?
309: [13:34:03] <micmania1> Ferg_: https://github.com/UndefinedOffset/SortableGridField
310: [13:34:19] <micmania1> That's the module. It might be worth upgrading to see if its been fixed.
311: [13:34:44] <micmania1> https://github.com/UndefinedOffset/SortableGridField#appending-to-the-top-instead-of-the-bottom - How to append to top
312: [13:36:21] <Ferg_> Thanks that's helpful
313: [13:39:21] <Ferg_> Cool i found the trick - https://github.com/UndefinedOffset/SortableGridField/issues/33
314: [13:39:36] <Ferg_> you have to drag the item to the page arrow
315: [13:40:00] <Ferg_> Thanks again for pointing me in the right direction
316: [13:44:06] * Ferg_ quit (Quit: Page closed)
317: [13:46:02] <Pyyayk> cool, good to know that's been 'fixed' (feature was added)
318: [13:46:17] <Pyyayk> so anyway, kinglozzer my mind just got blown. How about you? http://www.regular-expressions.info/recurse.html#balanced
319: [13:47:25] <kinglozzer> Pyyayk: wat
320: [13:47:26] * catcher has joined #silverstripe
321: [13:47:31] <kinglozzer> blown
322: [13:47:40] <kinglozzer> That's awesome
323: [13:52:50] <kinglozzer> Wrote a PHPCS sniff for SilverStripey if statements: https://gist.github.com/kinglozzer/d77f1107ff6fbda45298
324: [13:53:11] <kinglozzer> if ($foo === $bar) {} // bad, if($foo === $bar) {} // good
325: [13:53:15] <kinglozzer> nospace4u
326: [13:57:53] <catcher> cool
327: [14:09:10] * richwestcoast quit (Quit: My iMac has gone to sleep. ZZZzzz…)
328: [14:13:03] * richwestcoast has joined #silverstripe
329: [14:22:46] <Pyyayk> kinglozzer: cool, if I sniff the SQLQuery will it go "who fucked this up so bad?"
330: [14:24:35] * Shrike_Finland has joined #silverstripe
331: [14:25:43] <kinglozzer> Pyyayk: Unfortunately it can't detect shitty code in general :(
332: [14:27:56] <Pyyayk> It's not shitty code as such, but it's a bit... hickildy pickledy
333: [14:29:51] <kinglozzer> Gee, thanks Apple http://stackoverflow.com/questions/3062968/remove-textarea-inner-shadow-on-mobile-safari-iphone
334: [14:30:35] * cloph is now known as cloph_away
335: [14:33:59] <kinglozzer> Pyyayk, micmania1: You'll love this: http://grahamcluley.com/2014/06/seo-plugin-wordpress-security/
336: [14:34:43] <Pyyayk> is it a joke page? Otherwise I ain't click'n it.
337: [14:35:21] <kinglozzer> Pyyayk: 'fraid not
338: [14:35:31] <Pyyayk> wait what? seo security
339: [14:35:32] <Pyyayk> ?
340: [14:35:34] <Pyyayk> dafuq
341: [14:35:41] <kinglozzer> It's an SEO plugin for wordderp
342: [14:36:02] <kinglozzer> S'okay though, only 18 million installs so not too many vulnerable websites
343: [14:36:05] <kinglozzer> ...
344: [14:36:49] <Pyyayk> kinglozzer: oh wait, you mean there's an seo plugin with a major security hole?
345: [14:36:50] <Pyyayk> lulz
346: [14:37:13] <kinglozzer> Pyyayk: Yep :P
347: [14:37:37] <Pyyayk> IT'S IMPORTANT I GET FOUND ON THE INTERNET SO EVEYRONE CAN HAVE A CHANCE TO EDIT MY CONTENT AND DRAW DICKS ON MY PAGE
348: [14:42:25] <micmania1> wordpress is a constant battle in avoiding people's shit code.
349: [14:43:35] <micmania1> http://grahamcluley.com/2014/06/seo-plugin-wordpress-security/#comments
350: [14:52:33] * richwestcoast quit (Quit: My iMac has gone to sleep. ZZZzzz…)
351: [14:56:34] * UndefinedOffset has joined #silverstripe
352: [15:00:29] * DesignerX quit (Ping timeout: 252 seconds)
353: [15:18:58] * ARNHOE quit ()
354: [15:29:21] * gelignite has joined #silverstripe
355: [15:32:09] * joelpittet has joined #silverstripe
356: [15:34:15] * richwestcoast has joined #silverstripe
357: [15:35:22] * cloph_away is now known as cloph
358: [15:37:17] * jenniferaslan has joined #silverstripe
359: [15:39:25] * joelpittet quit (Remote host closed the connection)
360: [15:40:11] * srixon has joined #silverstripe
361: [15:42:13] <srixon> Server Error : Hi to all. I am in dev mode. Here is the error. Someone can help me decifer it? //// [User Deprecated] SSTemplateParser->ClosedBlock_Handle_Control is deprecated. is deprecated. Use or instead. Called from SSTemplateParser->ClosedBlock__finalise. POST /membres-acmq/RegisterForm Line 172 in /home/acmq/public_html/framework/dev/Deprecation.php
362: [15:42:49] <kinglozzer> srixon: I'd guess you, or a module you're using, is using <% control %> instead of <% loop %>
363: [15:45:06] * richwestcoast quit (Quit: My iMac has gone to sleep. ZZZzzz…)
364: [15:47:55] * richwestcoast has joined #silverstripe
365: [15:52:21] <srixon> kinglozzer => prolly. Is there a way to know which file is causing this? I mean the template used by this page has no loop or control.
366: [15:53:10] <kinglozzer> Sorry, dunno. I'd just search the entire project for "<% control"
367: [15:53:27] <micmania1> srixon: The error should give you a stack trace and tell you which template its in
368: [15:55:41] <srixon> kinglozzer => there is no <% control.... Funny, is that it ws showing no error on the previous server.
369: [15:56:32] <kinglozzer> It's not an error, it's a deprecation notice, probably different settings on the different servers of something
370: [15:57:14] <kinglozzer> srixon: There's definitely a <% control somewhere
371: [15:57:27] <kinglozzer> It's the only thing that could trigger that notice
372: [15:59:00] <catcher> srixon, flush your template cache. If you still get the notice, grep -RiI "control" themes/yourheme/templates/
373: [15:59:37] <micmania1> srixon: did you check the stack trace? It'll tell you which file the control block is in.
374: [15:59:39] <catcher> srixon, if that doesn't turn anything up, you probably have an SS2.4 module installed
375: [16:00:00] * joelpittet has joined #silverstripe
376: [16:00:13] <srixon> Ok ive got the whole error Message. Including TRACE. Where to look for the problematic file?
377: [16:01:03] <micmania1> You're looking for templates. Something with a name like .cache.template.MyTemplate.ss
378: [16:01:45] <micmania1> srixon: can you paste your stack trace here?
379: [16:01:46] <micmania1> http://pastie.org/
380: [16:02:26] <srixon> Here it is. http://pastie.org/9250590
381: [16:03:56] * joelpittet quit (Remote host closed the connection)
382: [16:04:44] <micmania1> srixon: /home/acmq/public_html/memberprofiles/templates/Email/MemberRequiresApprovalEmail.ss
383: [16:05:08] <kinglozzer> srixon: That probably means you're using the wrong version of the module ^^
384: [16:05:09] * Martimiz has joined #silverstripe
385: [16:06:11] <micmania1> Nah, https://github.com/ajshort/silverstripe-memberprofiles/blob/master/templates/Email/MemberRequiresApprovalEmail.ss - that's the 3.1 branch
386: [16:06:27] <kinglozzer> Oh, it just hasn't been updated
387: [16:06:30] <srixon> Here is the code of that page °/// http://pastie.org/9250600
388: [16:07:09] <micmania1> srixon: change the control block to a with block
389: [16:07:22] <srixon> loop block?
390: [16:08:16] <micmania1> with block I think. <% loop %><% end_loop %> if its multiple members. <% with %> <% end_with %> if its one.
391: [16:09:01] <micmania1> https://github.com/ajshort/silverstripe-memberprofiles/pull/59 - There's a PR to fix it
392: [16:09:18] * Martimiz quit (Ping timeout: 240 seconds)
393: [16:09:57] <srixon> After changin control for loop this.... http://pastie.org/9250610
394: [16:10:47] <micmania1> What did you change it to?
395: [16:12:06] <srixon> control for loop. But its related to this id guess => <%t MemberProfiles.APPROVALREQUIRED 'Un nouveau membre a été ajouté pour {siteTitle}, et requiert une approbation avant de pouvoir se connecter à:' siteTitle=$SiteConfig.Title %>
396: [16:12:21] * Martimiz has joined #silverstripe
397: [16:13:44] * Martimiz quit (Client Quit)
398: [16:14:11] * Martimiz has joined #silverstripe
399: [16:15:22] * scpi has joined #silverstripe
400: [16:18:16] * Martimiz has left #silverstripe
401: [16:25:29] * ^pH quit (Ping timeout: 264 seconds)
402: [16:25:58] * Error404NotFound has joined #silverstripe
403: [16:28:34] * kinglozzer quit ()
404: [16:28:51] * Pyyayk quit ()
405: [16:29:24] * stnvh quit ()
406: [16:35:23] * ^pH has joined #silverstripe
407: [16:43:02] * Shrike_Finland quit (Quit: Leaving.)
408: [16:44:51] * pyregexqlk has joined #silverstripe
409: [16:45:03] <pyregexqlk> I want this later: http://codepad.viper-7.com/3PRsee
410: [16:45:07] * pyregexqlk has left #silverstripe
411: [16:52:53] * richwestcoast quit (Quit: Textual IRC Client: www.textualapp.com)
412: [16:57:55] * joelpittet has joined #silverstripe
413: [17:05:48] * Azure quit (Quit: Blue Sky Fish)
414: [17:15:19] * Error404NotFound quit (Read error: Connection reset by peer)
415: [17:24:42] * wmk quit (Quit: nice to meet you ;))
416: [17:30:47] * Error404NotFound has joined #silverstripe
417: [17:33:03] * Error404NotFound quit (Read error: Connection reset by peer)
418: [17:43:44] * clint_ has joined #silverstripe
419: [17:45:25] * UndefinedOffset quit (Quit: Leaving.)
420: [17:45:43] * UndefinedOffset has joined #silverstripe
421: [17:49:49] * Error404NotFound has joined #silverstripe
422: [17:51:18] * srixon quit (Ping timeout: 240 seconds)
423: [17:54:24] * Error404NotFound quit (Ping timeout: 252 seconds)
424: [18:06:07] * Error404NotFound has joined #silverstripe
425: [18:12:04] * Error404NotFound quit (Ping timeout: 276 seconds)
426: [18:15:18] * clint_ quit (Ping timeout: 240 seconds)
427: [18:24:13] * Error404NotFound has joined #silverstripe
428: [18:29:28] * Error404NotFound quit (Ping timeout: 245 seconds)
429: [18:41:58] * Error404NotFound has joined #silverstripe
430: [18:47:50] * Error404NotFound quit (Quit: User guilty of hitting the Big Red X...)
431: [19:01:12] * muskie9 has joined #silverstripe
432: [19:23:05] * wmk has joined #silverstripe
433: [19:28:18] * guci0 quit (Ping timeout: 240 seconds)
434: [19:42:29] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
435: [19:43:00] * muskie9 has joined #silverstripe
436: [19:45:26] * Azure has joined #silverstripe
437: [19:47:12] * stnvh has joined #silverstripe
438: [19:50:28] * gelignite quit (Quit: http://bit.ly/nkczDT)
439: [19:55:21] * Shrike_Finland has joined #silverstripe
440: [19:56:23] * terryapodaca has joined #silverstripe
441: [19:57:27] <terryapodaca> how can I make the HTMLEditor (SS2.4) stop removing the download="" attribute from my <a href=""></a>
442: [19:59:15] <wmk> add it to the allowed attributes. it's a tinymce config
443: [20:07:37] <catcher> Anyone have success with GridFieldOrderableRows & many_many_extraFields SortOrder?
444: [20:08:15] <catcher> Reordering on one relationship updates the order for all of them.
445: [20:24:00] <Stomach> catcher - we use sortablegridfield instead of the gridfieldextensions orderablerows for sorting in a gridfield
446: [20:24:36] <catcher> I'm considering the switch to the extensions. Luckily, there's a pull request from a few days ago that patches the many_many_extraFields issue I just mentioned.
447: [20:25:37] * UndefinedOffset quit (Quit: Leaving.)
448: [20:25:39] <Stomach> ah handy
449: [20:26:14] <terryapodaca> wmk: I tried HtmlEditorConfig::get('cms')->setOption('extended_valid_elements', 'a[href|download|ping|rel|hreflang|type]'); and it's still removing 'download' from my <a> tags
450: [20:26:27] <terryapodaca> is it something else for SS 2.4?
451: [20:26:36] * Azure quit (Quit: My MBP went to sleep.)
452: [20:26:39] <catcher> Yeah.. leads me to believe it may not be as battle-tested as SortableGridField, but seems pretty slick.
453: [20:27:02] <catcher> SGF gives my clients trouble when switching pages over arrows, that's my only real complaint.
454: [20:27:10] <wmk> terryapodaca, is it sent to the browser? can you see the config somewhere with firebug?
455: [20:29:24] <terryapodaca> sent to the browser? in the CMS I open the html editor for tinymce and add the download attribute by hand and click insert
456: [20:29:39] * mobiusnz has joined #silverstripe
457: [20:29:44] <terryapodaca> i assume tinymce parses the html and removes that attribute
458: [20:30:09] <terryapodaca> because every time i open the html editor again, it's always gone
459: [20:31:50] <wmk> terryapodaca, yes, tinyMCE cleans the html
460: [20:32:30] <terryapodaca> so basically, I want to be able to add the download attribute and that config setting I added to _config isn't working
461: [20:33:01] <wmk> hmm...
462: [20:33:25] <catcher> terryapodaca, you could always shortcode around it
463: [20:33:49] <terryapodaca> catcher: hmmm, how would i go about that?
464: [20:33:54] * Azure has joined #silverstripe
465: [20:34:30] <catcher> terryapodaca, http://doc.silverstripe.org/framework/en/reference/shortcodes
466: [20:34:36] <catcher> terryapodaca, easier than it sounds at first
467: [20:34:39] * nickmolhoek has joined #silverstripe
468: [20:34:46] <wmk> nah, shortcode is the second solution if tiny config fails
469: [20:35:50] <wmk> i mean, shortcodes are cool, but in this case...
470: [20:35:52] <catcher> I thought it had failed for him, no?
471: [20:36:18] <catcher> but yeah, config would be better if possible.
472: [20:36:37] <terryapodaca> catcher: that link says i can't use shortcodes in <a>
473: [20:36:53] <catcher> terryapodaca, your shortcode would include the <a>
474: [20:40:55] <wmk> terryapodaca, in the html page where your htmleditor is, there should be the ssTinyMceConfig included
475: [20:41:54] <terryapodaca> I think I figured it out
476: [20:43:20] * Ryan-Toast has joined #silverstripe
477: [20:43:21] <wmk> works now?
478: [20:45:33] * irogue_ has joined #silverstripe
479: [20:48:29] <terryapodaca> Kind of
480: [20:48:50] <wmk> using tiny config?
481: [20:49:53] * an_Eskimo has joined #silverstripe
482: [20:50:38] * superspring has joined #silverstripe
483: [20:56:18] * sminnee has joined #silverstripe
484: [20:56:51] <Ryan-Toast> Got excited when I saw Bethesa had a 30 minute slot at E3 to announce a new game, but it’s fucking battlecry.
485: [20:57:01] <Ryan-Toast> NO ONE GIVE SA SHIT ABOUT BATTLECRY
486: [20:57:13] <terryapodaca> wmk: i was leaving the attribute blank and tinymce removes blank attributes
487: [20:57:16] <Ryan-Toast> WHERE’S MY FALLOUT4?
488: [20:57:35] <terryapodaca> so i put the file name in there that was to be downloaded and now it works fine
489: [20:57:46] <wmk> ah
490: [21:05:04] * UncleCheese has joined #silverstripe
491: [21:08:04] * travis-ci has joined #silverstripe
492: [21:08:04] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#902 (master - cba0061 : Damian Mooyman): The build was broken.
493: [21:08:04] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/6a69134fb045...cba0061fe2cf
494: [21:08:04] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/26610103
495: [21:08:04] * travis-ci has left #silverstripe
496: [21:15:59] * auto9 has joined #silverstripe
497: [21:17:15] * srikanth has joined #silverstripe
498: [21:33:45] * bridgetm has joined #silverstripe
499: [21:35:27] * Shrike_Finland quit (Quit: Leaving.)
500: [21:38:21] * wmk quit (Quit: nice to meet you ;))
501: [21:40:57] * sminnee quit (Quit: sminnee)
502: [21:41:20] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
503: [21:42:15] * Kingy[a] is now known as Kingy
504: [21:42:38] <Kingy> morning
505: [21:44:33] * catcher quit (Quit: Leaving)
506: [21:45:50] * scpi quit (Quit: scpi)
507: [21:48:00] <Stomach> hey Kingy
508: [21:48:06] <ss23> moin moin
509: [21:48:18] <Kingy> you must be on countdown ss23
510: [21:48:57] <ss23> More like... tired down... because I woke up early today
511: [21:48:57] <ss23> :O
512: [21:49:45] <Stomach> me too
513: [21:49:53] <Stomach> fucking day off ruining my sleeping
514: [21:50:09] * UncleCheese has joined #silverstripe
515: [21:50:10] <Kingy> yeah I have a cold
516: [21:50:18] <Kingy> snot running down the throat all night
517: [21:50:21] <Kingy> sucks
518: [21:52:20] <irogue_> naturally, builders stop making a huge racket just as the meeting finishes
519: [21:53:12] <ss23> Ewwww >.<
520: [21:53:13] <ss23> haha irogue_
521: [21:54:13] * joelpittet quit (Remote host closed the connection)
522: [21:55:10] * oetiker_ has joined #silverstripe
523: [21:58:49] * joelpittet has joined #silverstripe
524: [22:03:28] * simon_w|air has joined #silverstripe
525: [22:03:42] * Ryan-Toast quit (Quit: Ryan-Toast)
526: [22:04:02] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
527: [22:07:58] * mrzero_ has joined #silverstripe
528: [22:09:46] * mrzero quit (Ping timeout: 240 seconds)
529: [22:09:46] * mrzero_ is now known as mrzero
530: [22:11:04] * muskie9 quit (Ping timeout: 252 seconds)
531: [22:11:58] * auto9 quit (Ping timeout: 240 seconds)
532: [22:14:01] * UncleCheese has joined #silverstripe
533: [22:15:15] * auto9 has joined #silverstripe
534: [22:16:06] * auto9_ has joined #silverstripe
535: [22:18:48] * joelpittet quit (Remote host closed the connection)
536: [22:20:05] * auto9 quit (Ping timeout: 264 seconds)
537: [22:23:40] * sminnee has joined #silverstripe
538: [22:24:52] * joelpittet has joined #silverstripe
539: [22:38:40] * muskie9 has joined #silverstripe
540: [22:39:48] * muskie9 quit (Read error: Connection reset by peer)
541: [22:40:25] * muskie9 has joined #silverstripe
542: [22:43:54] * joelpittet quit (Remote host closed the connection)
543: [22:44:53] * muskie9 quit (Ping timeout: 245 seconds)
544: [22:53:47] * simon_w|air quit (Quit: This computer has gone to sleep)
545: [22:59:13] * muskie9 has joined #silverstripe
546: [23:01:04] * muskie9_ has joined #silverstripe
547: [23:03:15] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
548: [23:03:55] * muskie9 quit (Ping timeout: 276 seconds)
549: [23:05:46] * muskie9_ quit (Ping timeout: 265 seconds)
550: [23:07:39] <Colin[pi]> moin moin
551: [23:07:40] * Azure quit (Remote host closed the connection)
552: [23:08:16] * Azure has joined #silverstripe
553: [23:09:28] <Kingy> hey Colin[pi]
554: [23:13:53] * simon_w has joined #silverstripe
555: [23:28:08] * Ryan-Toast has joined #silverstripe
556: [23:35:49] * UncleCheese has joined #silverstripe
557: [23:35:51] <Colin[pi]> heh virgin australia trying to get me to bid for an upgrade to business class, that's cute
558: [23:53:18] * superspring quit (Ping timeout: 240 seconds)
559: [23:57:03] * USER has joined #silverstripe

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