#silverstripe IRC Log

IRC log for 15 September 2015

All timestamps are in UTC.

1: [00:01:13] <Colin[pi]> antmas: I know I've seen that before :o
2: [00:01:36] <antmas> mm same
3: [00:03:44] <Colin[pi]> is it a permission failure then?
4: [00:03:49] <Colin[pi]> any error message shown?
5: [00:03:59] <antmas> no messages
6: [00:04:06] <antmas> just Forbidden in the black box popup
7: [00:04:47] <Colin[pi]> antmas: because it seems LeftAndMain will throw a forbidden if canCreate() returns false for a particular page type
8: [00:06:27] <antmas> ahhhh
9: [00:06:30] <antmas> lemme check page type
10: [00:08:19] <antmas> hmm nothing obvious
11: [00:09:20] <antmas> ah ok
12: [00:09:20] <antmas> so
13: [00:09:46] <antmas> it's for News page when trying to create it under a NewsList page
14: [00:09:53] <antmas> fuck you NewsPage
15: [00:10:03] <Colin[pi]> NewsList is the holder?
16: [00:10:37] <antmas> yarp
17: [00:11:39] * David___ has joined #silverstripe
18: [00:12:28] <David___> is Model::get() better to use over DataObject::get("Model")?
19: [00:14:05] <Colin[pi]> David___: they basically do the same thing, I usually use ClassName::get()
20: [00:16:01] * David____ has joined #silverstripe
21: [00:16:10] <David____> sorry, dropped out
22: [00:16:27] <David____> does DataObject::get() lazy load until loops like ClassName::get()?
23: [00:18:47] * spronk has joined #silverstripe
24: [00:18:48] * David___ quit (Ping timeout: 246 seconds)
25: [00:21:00] <antmas> :O
26: [00:21:09] <antmas> NewsPage had a ?> lol
27: [00:30:26] * mahfuz has joined #silverstripe
28: [00:34:55] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
29: [00:42:24] * irogue has joined #silverstripe
30: [00:42:33] * muskie9 has joined #silverstripe
31: [00:43:12] * MichaelHabib quit (Ping timeout: 268 seconds)
32: [00:44:00] * David____ quit (Ping timeout: 246 seconds)
33: [00:44:01] * novaweb quit (Remote host closed the connection)
34: [00:44:27] * novaweb has joined #silverstripe
35: [00:47:27] * MichaelHabib has joined #silverstripe
36: [00:49:29] <ss-helper> SilverStripe 3.1.14 Security Release Announcement - https://groups.google.com/d/msg/silverstripe-announce/xu3CM4ujAA0/a_j81ihGCgAJ
37: [00:56:41] * jonners99 has joined #silverstripe
38: [00:57:17] * camfindlay has joined #silverstripe
39: [00:58:15] <camfindlay> best SilverStripe conspiracy…. go…
40: [00:58:53] <Colin[pi]> camfindlay: o_O
41: [00:59:42] <camfindlay> Our sprints are named after memes currently… we are up to… Conspiracy Keanu sprint :P Generating the meme for our demo later today :D
42: [01:00:27] * jonners9_ has joined #silverstripe
43: [01:01:02] * jonners99 quit (Read error: Connection reset by peer)
44: [01:02:03] <spronk> hey irogue, any recommendations on hosted pbx?
45: [01:04:17] * novaweb quit (Remote host closed the connection)
46: [01:04:35] <Colin[pi]> camfindlay: that's really tricky :P
47: [01:05:10] <camfindlay> yeah I know… this one is leading at present… http://cdn.meme.am/instances2/500x/1872601.jpg
48: [01:05:35] <spronk> wut
49: [01:05:51] * zippy has joined #silverstripe
50: [01:05:54] * joelpittet quit (Remote host closed the connection)
51: [01:06:24] * jonners9_ quit (Ping timeout: 264 seconds)
52: [01:12:45] * zippy quit (Quit: Textual IRC Client: www.textualapp.com)
53: [01:17:54] <pline> having a bit of a moment here
54: [01:17:59] <pline> how do I achieve something like this?
55: [01:18:11] <pline> MyObject::get()->filter(array("Status:Not" => 'FooBar'))
56: [01:18:32] <muskie9> MyObject::get()->exclude('Status', 'FooBar');
57: [01:18:38] <Colin[pi]> camfindlay: http://imgur.com/QIym3YS
58: [01:18:45] <pline> excellent (mr.burns)
59: [01:18:45] <muskie9> sorry, probably not that pline
60: [01:18:51] <pline> d'oh
61: [01:18:55] <muskie9> lol
62: [01:18:58] <camfindlay> Colin[pi]: +1
63: [01:19:11] <muskie9> so you want where status isn't foobar?
64: [01:19:14] <pline> yeah
65: [01:19:21] <pline> there are about 12 statuses and I want all but one
66: [01:19:58] <muskie9> if you want 11/12 then exclude('status', 'theOneYouDontWant')
67: [01:20:03] * novaweb has joined #silverstripe
68: [01:20:14] <muskie9> that'll return anything that's not the one you don't want
69: [01:20:50] <muskie9> so actually, ya... my first one should work
70: [01:20:52] <muskie9> been a long day
71: [01:21:05] <pline> Thanks, did the trick
72: [01:22:25] <pline> performance is a bit shit
73: [01:22:29] <pline> might need to index that field
74: [01:24:39] <pline> once I add an index, is it just a dev/build that's needed?
75: [01:26:11] * madmatt_ quit (Changing host)
76: [01:26:11] * madmatt_ has joined #silverstripe
77: [01:26:19] * madmatt_ is now known as madmatt
78: [01:26:29] <muskie9> I'd also flush just to be safe
79: [01:26:35] <pline> yep that too ;-)
80: [01:26:36] * madmatt changed the topic to ' Welcome to #silverstripe | Latest Stable (3.1.14): http://www.silverstripe.org/software/download/ | Dev Mailing List: http://silverstripe.org/dev-list | IRC Logs: http://silverstripe.org/irc-logs | Feature requests: http://silverstripe.uservoice.com | EU Conf: http://silverstripe-europe.org | SS 3.2.0 RC1: http://goo.gl/7b0Ybm'
81: [01:27:59] <pline> is there any reason why I shouldn't over-index? There are already a few fields indexed, but I can see a few more that are not that are using for filtering get()'s here and there. Number of objects is quite high...
82: [01:28:58] <pline> seems like a good place to get a few small gains
83: [01:29:07] * Tanger has joined #silverstripe
84: [01:29:34] <muskie9> I should probably index more... really depends on the situation I guess
85: [01:30:21] <MichalKleiner> pline: in general it shouldn't do any harm.. only can be a performance issue when you have gazillion of rows and the index is for example poorly paginated in a relation to the data etc..
86: [01:30:33] <madmatt> pline: Yes, adding to static $indexes, you just dev/build?flush=1. You should see the index being applied when it builds the tables
87: [01:31:12] <MichalKleiner> also when there is a significantly higher write than read
88: [01:31:17] <irogue> spronk: as in, remotely hosted?
89: [01:31:29] <spronk> ja
90: [01:31:33] <irogue> 2talk
91: [01:31:40] <pline> ahh yep. Index created. Cheers for the advice
92: [01:31:56] <muskie9> anyone ever use https://github.com/g4b0/silverstripe-searchable-dataobjects/tree/2.0
93: [01:32:10] <irogue> as much as I hate to say it cos they're owned by callplus who are incompetent fools, the 2talk engineers themselves are some of the smartest Asterisk people in the country
94: [01:32:17] <spronk> nice
95: [01:33:01] <pline> yay. shaved 5 seconds of page load
96: [01:33:04] <Colin[pi]> ugh, asterisk... shudder
97: [01:33:08] <pline> +1 for indexing
98: [01:33:46] <irogue> Colin[pi]: ikr. thats why I can so highly appreciate people who are able to actually tame that beast
99: [01:33:57] <spronk> been looking at vodafone's cloud pbx shit
100: [01:34:00] <spronk> $70/user/month
101: [01:34:02] <spronk> kinda pricey
102: [01:34:03] <Colin[pi]> irogue: I did some work on it last year, would not recommend
103: [01:34:15] <spronk> but that is a full pckage, phone included, fibre included etc
104: [01:34:17] * veb has left #silverstripe
105: [01:34:19] * veb has joined #silverstripe
106: [01:34:26] <irogue> spronk: bahaha, you will cry when you see 2talk's pricing then
107: [01:35:46] <spronk> $80 + $6 + $5 + $12 + phone costs + fibre costs with 2talk by the looks of it
108: [01:37:29] <spronk> not that much cheaper than voda, tbh
109: [01:37:41] <spronk> once you factor in fibre
110: [01:37:44] <spronk> and phones
111: [01:37:57] <spronk> fucktons cheaper than the samsung system we have now though
112: [01:38:58] * Hailwood quit (Remote host closed the connection)
113: [01:41:58] <Colin[pi]> so apparently our new PM can't be sworn in because no one has heard from Abbott about what his plans are, wtf
114: [01:42:14] <micmania1> Colin[pi]: I’ll do it
115: [01:42:15] <Colin[pi]> dickhead til the end eh
116: [02:05:12] <antmas> so what blew up in Manukau?
117: [02:05:19] <antmas> I love the quotes in this http://www.nzherald.co.nz/nz/news/article.cfm?c_id=1&objectid=11513378
118: [02:05:26] <antmas> "wow massive bang"
119: [02:05:33] <antmas> "big bang".
120: [02:05:40] <antmas> "going crazy"
121: [02:05:41] <antmas> LOL
122: [02:05:49] <antmas> such boom
123: [02:05:50] <Colin[pi]> lol
124: [02:12:51] <MichalKleiner> omg... how would you explain to a colleague not to do end of the day WIP commits? he says it's to push it to the cloud as a backup.. he thinks that if his hdd failed at least he would have a backup..
125: [02:13:30] <MichalKleiner> I know you can squash commits or amend commits but that works when not pushed yet.. I don't want him to learn force push to overwrite the history as that's bad
126: [02:13:32] <antmas> has anyone else had fake phone calls from MS lately?
127: [02:13:43] <Colin[pi]> antmas: ..
128: [02:13:46] <Colin[pi]> no?
129: [02:13:56] <antmas> Colin[pi]: lol, it's a thing in NZ at the mo
130: [02:13:59] <Colin[pi]> oh
131: [02:14:08] <antmas> people scamming by saying it's MS and your computer is borked
132: [02:14:27] <antmas> had some Indian lady ring me yesterday claiming to be from MS
133: [02:14:48] <antmas> I trolled her by saying I worked for Apple
134: [02:15:49] <Colin[pi]> lol
135: [02:17:05] <micmania1> MichalKleiner: tell him to work in his own branch?
136: [02:17:38] * chocolatemoose quit (Ping timeout: 272 seconds)
137: [02:18:05] <antmas> it's this http://www.consumeraffairs.govt.nz/scam-news/scam-alert-41
138: [02:18:15] <MichalKleiner> we have feature branches.. only if he created a wip branch, pushed there, then soft reset back to the working branch and deleted the wip branch..
139: [02:18:32] <antmas> just tell him that
140: [02:18:52] * chocolatemoose has joined #silverstripe
141: [02:18:55] <MichalKleiner> what a hassle.. I have uncommitted code or unpushed code sometimes for couple days and I'm ok with that :-D what people did when there was no cloud :-D
142: [02:19:30] <MichalKleiner> I thought something like - how to convince him he doesn't have to push every night if it's not finished and no once can use it anyway
143: [02:19:58] <MichalKleiner> or I will just have to live with it :-D
144: [02:22:56] <DanaeNZ> ugh too many api endpoints
145: [02:23:05] <DanaeNZ> my allowed_actions is going to blow up
146: [02:23:30] <Colin[pi]> DanaeNZ: is there a disallowed_actions you can use instead?
147: [02:23:31] <Colin[pi]> ;)
148: [02:23:47] * DanaeNZ smacks Colin[pi]
149: [02:23:50] <Colin[pi]> OW
150: [02:23:53] <DanaeNZ> XD
151: [02:23:57] <Colin[pi]> :(
152: [02:24:45] <MichalKleiner> just move it to the nginx config..
153: [02:26:30] <antmas> you need an endpoint for your endpoints
154: [02:27:41] <Colin[pi]> yo dawg
155: [02:27:56] <MichalKleiner> !nippys
156: [02:28:04] <MichalKleiner> how was that?
157: [02:28:23] <chocolatemoose> !notes nippys
158: [02:28:24] <ss-helper> https://github.com/ss-irc/notes/wiki/nippys
159: [02:28:25] <antmas> Nippys = Endpoints?
160: [02:28:26] <antmas> LOL
161: [02:28:46] <antmas> people need to get on that nippy's page
162: [02:29:19] <Stomach> https://github.com/ss-irc/notes/wiki/blue-v
163: [02:31:14] <antmas> :O
164: [02:31:22] <antmas> do you shave your bottom lip Stomach ?
165: [02:32:27] <Colin[pi]> antmas: you don't?
166: [02:33:04] <Stomach> antmas - nope
167: [02:33:33] <Stomach> dont shave anything
168: [02:33:33] <antmas> I shave the sides but leave the centre
169: [02:33:44] <camfindlay> Colin[pi]: http://i.imgur.com/L6E2hOH.jpg
170: [02:33:49] <antmas> a landing strip if you will
171: [02:34:00] <Colin[pi]> ( ͡° ͜ʖ ͡°)
172: [02:34:02] <antmas> camfindlay: omg
173: [02:34:06] <antmas> get out
174: [02:34:08] * UncleCheese has joined #silverstripe
175: [02:34:16] <Colin[pi]> camfindlay: booo
176: [02:34:30] * antmas throws cabbage and tomatoes at camfindlay
177: [02:35:10] <UncleCheese> i deserve 50% of that tomato blast
178: [02:35:27] <UncleCheese> throw the cabbage at cam, and i'll take the tomatoes, actually
179: [02:38:08] <DanaeNZ> omg so many new nip pics
180: [02:38:09] <DanaeNZ> :D
181: [02:44:03] <antmas> :D
182: [02:44:42] <antmas> I always find it weird when you put faces to text etc
183: [02:44:55] <antmas> like some of you I NEVER thought would look the way I expected :O
184: [02:46:07] <Colin[pi]> lol abbott basically blamed the media for his downfall
185: [02:46:09] <Colin[pi]> what a tit
186: [02:49:41] <antmas> link?
187: [02:49:41] <DanaeNZ> antmas: now I can spot you guys in the street
188: [02:49:45] <antmas> is he speaking about it?
189: [02:49:46] * DanaeNZ used scary look
190: [02:49:54] <antmas> DanaeNZ: :D
191: [02:49:54] * DanaeNZ it's super effective
192: [02:50:02] <DanaeNZ> mean look ** * * *
193: [02:50:04] * antmas recoils in fear
194: [02:50:16] <Colin[pi]> antmas: just finished his speech
195: [02:58:07] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
196: [02:58:11] * samlander has joined #silverstripe
197: [02:58:27] <samlander> hello happy and friendly helpful people :)
198: [02:59:10] <antmas> harro
199: [03:00:26] <samlander> i am attempting to add a button to my cms under the site settings (i already have a site settings extension class registered) that will effectively call /dev/build?flush=all
200: [03:00:42] <samlander> could someone point me in the right direction on how i would add an action into the cms ?
201: [03:01:35] <samlander> is it as simple as $fields->addtotab('Root.main', new formaction('doRefresh','Refresh Cache') .. but then where would i drop the action code? etc
202: [03:01:37] <samlander> im lost
203: [03:02:19] * jonners99 has joined #silverstripe
204: [03:06:24] * chocolatemoose quit (Ping timeout: 264 seconds)
205: [03:07:09] <samlander> given the response im going to guess Im either innovative, or completely retarded :/
206: [03:07:17] * jonners99 quit (Ping timeout: 265 seconds)
207: [03:08:56] * chocolatemoose has joined #silverstripe
208: [03:09:12] * DanaeNZ quit (Remote host closed the connection)
209: [03:09:23] * Dedra has joined #silverstripe
210: [03:10:07] <Dedra> Hi, could someome help me with a javascript url parameter question? I know it's not directly related to SS but still important for me :)
211: [03:10:51] <Dedra> I just try to figure out (with JS) if the url contains: http://www.amazon.de/?tag=dedra-21 the tag=dedra-21 or tag=whatEver.
212: [03:10:55] * DanaeNZ has joined #silverstripe
213: [03:11:30] <Dedra> if there is NO tag=dedra-21 i want to add it to the url. If there is a tag=BLA i want to replace it. Or if there is an emty tag= i want to replace it too. Any quick solution for that?
214: [03:11:39] <samlander> dedra: https://css-tricks.com/snippets/javascript/get-url-variables/
215: [03:12:00] <Dedra> http://pastie.org/private/h98spqzkmlrye3eqbap9bq thats what i tried so far
216: [03:12:29] <samlander> dedra: the function i gave you will parse your get vars
217: [03:13:04] <Dedra> samlander, i used that. Kinda similar to my test right now. The problem is i only get tag=BLA (its not dedra-21) but i cant clearly if the tag= is empty, or simply not set.
218: [03:13:38] <samlander> you're talking about basic string manipulation in javascript
219: [03:13:50] * micmania1 quit (Quit: micmania1)
220: [03:13:59] <Dedra> yes. I'm not that good in js at the moment, so yeah. Just basics :\
221: [03:14:07] <samlander> there are all sorts of ways to test what you're talking about
222: [03:14:14] <Dedra> you can see my pastie what i did until now
223: [03:14:15] <samlander> and you're right it has nothing to do with silverstripe
224: [03:14:37] <samlander> because if it were, you'd be asking what objects in php held the get vars
225: [03:14:40] <Dedra> it's related to my ss project later. So it's not related to ss yes :(
226: [03:15:20] <samlander> seriously though, just using pseudo code... how would you test if a tag were empty?
227: [03:15:20] <Dedra> yeah, i have no problem with php to do what i want. :-\
228: [03:16:41] * Guest87330 is now known as nontgor
229: [03:18:39] <samlander> oh, how would you test in php if a variable were empty?
230: [03:19:36] <Dedra> i just would test with exists if the get variable is there. so i know that the url contains a ?tag= or just test with empty()
231: [03:19:42] <Dedra> or just with == "" however
232: [03:19:47] <samlander> ding
233: [03:20:26] <Dedra> but i have no clue how to check if a ?tag is set, or not. I can check if it's empty or not. But i have to be clear in that JS
234: [03:21:06] <samlander> take a look at that function i gave you.
235: [03:21:15] <samlander> it returns false if it doesnt find the tag.
236: [03:21:27] <samlander> if returns the value if it exists.
237: [03:21:55] <samlander> is this for class or soemthing?
238: [03:22:01] * antmas quit (Quit: Page closed)
239: [03:22:19] <Dedra> i tested that function. If i set ?tag= it's not false. lets test it again wait
240: [03:22:41] <samlander> of course it wouldnt be false, it parses just fine if the tag exists
241: [03:23:05] <samlander> like i said, YOU could easily add a test to determine if the tag's value is empty aka ?tag= <nothing here>
242: [03:23:14] <samlander> and return null or false or whatever floats your boat
243: [03:23:50] <Dedra> it returns false with: www.amazon.de and with www.amazon.de?tag= (means empty)
244: [03:24:10] <samlander> im done dedra, this is intro to programming stuff
245: [03:24:12] <Dedra> i see
246: [03:24:25] <Dedra> i understood what you meant. lets try it
247: [03:30:33] * DanaeNZ quit (Remote host closed the connection)
248: [03:31:19] * MichaelHabib quit (Ping timeout: 252 seconds)
249: [03:33:25] * DanaeNZ has joined #silverstripe
250: [03:34:48] * DanaeNZ sips coffee
251: [03:36:35] <samlander> can you help me with my cms extending question danae?
252: [03:36:41] * spronk also sips coffee
253: [03:36:48] <samlander> how to add a simple button onto a page that will call an action
254: [03:37:13] <DanaeNZ> samlander: haven't done it before but there's quite as bit involved
255: [03:37:24] <DanaeNZ> entwine and js etc
256: [03:37:36] <DanaeNZ> maybe look at the betterbuttons module
257: [03:37:49] <samlander> thanks
258: [03:37:49] <DanaeNZ> it has custom buttons in gridfield
259: [03:39:30] <irogue> so, y'all heard of Glucina's shitfest Scout website?
260: [03:40:21] <DanaeNZ> what a strange combination of words
261: [03:40:25] <DanaeNZ> I'm interested
262: [03:40:54] <irogue> Rachel Glucina, who used to be NZ Herald's gossip columnist until she got the boot for being *too* skeevy, is now working for MediaWorks
263: [03:41:05] <irogue> running a website for them that's aiming to be NZ's equivalent of TMZ
264: [03:41:34] <DanaeNZ> mm hmm mm hmm yeah I know some of these words
265: [03:41:37] <DanaeNZ> what's TMZ?
266: [03:41:40] <irogue> tmz.com
267: [03:41:48] <irogue> pure gossip trash
268: [03:42:00] <DanaeNZ> ah
269: [03:42:01] <samlander> ah
270: [03:42:05] <DanaeNZ> lol
271: [03:42:12] <DanaeNZ> warning, butts
272: [03:42:15] <irogue> paparazzi "look we got a pic of some celeb's snatch as they got out of a car" website
273: [03:42:34] <DanaeNZ> ugh I despise that sort of thing
274: [03:42:42] <samlander> because the 'accidentally' dont wear panties
275: [03:42:47] <irogue> MediaWorks (who run TV3, The Edge etc) want to get in that business
276: [03:43:03] <irogue> hence employing Glucina and starting this website Scout
277: [03:43:19] <irogue> which so far has had such amazing scoops as "look at this paparazzi shot we got of Mike Hosking vacuuming his ferarri"
278: [03:43:23] * joelpittet has joined #silverstripe
279: [03:43:28] <irogue> i kid you not
280: [03:43:53] * camfindlay quit (Quit: camfindlay)
281: [03:43:59] <irogue> anyway, they've named the site Scout, which it turns out under an obscure 1967 law might be illegal
282: [03:43:59] <samlander> i love how they call it 'news'
283: [03:44:58] <irogue> http://www.legislation.govt.nz/act/private/1956/0002/latest/DLM4551701.html
284: [03:45:01] <samlander> oHhhers.. bella finds a fella... that's quality stuff.
285: [03:45:04] <samlander> xD
286: [03:45:11] <irogue> Except with the consent of the Governor-General in Council and subject to the provisions of this section, no association of persons, whether incorporated or not, shall exercise the functions for which it is formed under the name “Scout Association” or under a name that contains those words or the words “Scout” or “Boy Scout”.
287: [03:45:42] <samlander> irogue: betcha 5 quid they did it on purpose
288: [03:45:54] <irogue> https://twitter.com/ScoutsNZ/status/643549913070985216
289: [03:46:00] <samlander> for when they finally get busted, they will get a ton of free publicity on how they had to change their name.
290: [03:47:13] <irogue> "It shall not be lawful for any person who is not an officer or member of the Corporation to wear any uniform or badge defined as provided by this section, or any colourable imitations of such uniform or badges, or to pretend in any manner to be entitled to wear such uniform or badge."
291: [03:47:21] <samlander> im just looking at their website thinking god who designed this mess
292: [03:47:23] <irogue> TIL it is illegal to wear a scout uniform if you're not a member
293: [03:47:39] <irogue> sorry people with weird fetishes
294: [03:48:58] <irogue> samlander: I know people who work in I.T. at MediaWorks, and from what I hear it's an impressively incompetent place
295: [03:50:10] <spronk> you can say that about most places, really
296: [03:52:07] <irogue> his team got ordered to spend 2 months doing something to save something like $300/mo on printing costs across the business
297: [04:00:16] <irogue> "Hey everyone - can you please all remember to put the milk away after you use it? I have already had to put it away a few times today and it should really stay in the fridge (obvs)"
298: [04:00:32] <irogue> dear god how depressing is it that we have to remind a bunch of developers that milk belongs in the fridge
299: [04:01:03] <Colin[pi]> irogue: that grinds my gears
300: [04:01:21] <novaweb> Hey frands... I'm being told that if you have a typography.css stylesheet, you can add new styles and they'll automagically appear in the styles dropdown in tinyMCE. is this true and if so, can you point me to the appropriate docs?
301: [04:02:40] <irogue> novaweb: that'd be editor.css, and docs are here: https://docs.silverstripe.org/en/3.1/developer_guides/customising_the_admin_interface/typography/
302: [04:02:58] <novaweb> Thanks irogue, perfect
303: [04:03:01] <irogue> not that there's much to document :P
304: [04:03:11] <novaweb> I was on this page https://docs.silverstripe.org/en/3.1/developer_guides/forms/field_types/htmleditorfield/
305: [04:03:13] <novaweb> :)
306: [04:03:38] <novaweb> Shit, that makes things easy
307: [04:03:44] <novaweb> I heart SilverStripe
308: [04:05:19] * micmania1 has joined #silverstripe
309: [04:09:22] <chocolatemoose> anyone else listen to the Converting Vegetarians II?
310: [04:10:37] * Hailwood has joined #silverstripe
311: [04:11:03] <Hailwood> Hey folks, has anyone used silverstripe/blog (2.*) with multiple blogs?
312: [04:11:10] <Hailwood> Seems to be some issues with the categories
313: [04:12:04] <Hailwood> Ah, there's already an issue for it :)
314: [04:12:42] <novaweb> Whatchu running 2 faw :D
315: [04:15:12] <irogue> Hailwood: complain to micmania1 :-P
316: [04:15:34] <micmania1> I don’t have a released 2.x version I’m afraid :p
317: [04:15:46] <irogue> haha
318: [04:16:46] <Stomach> its all damians fault
319: [04:16:49] <irogue> micmania1: you should probably make them replace you as the author :P https://github.com/silverstripe/silverstripe-blog/blob/2.0.5/composer.json
320: [04:17:23] <irogue> you're gonna get blamed for all of the open sausages' bugs
321: [04:17:40] <Hailwood> Ha, I was actually using micmania1's version, till I was suggested to switch back. Tis ok, it's actually a bug in TagField I believe
322: [04:17:56] <Stomach> I blame you for not separating out the right side bar micmania1
323: [04:18:06] <Stomach> thats a totally swish module idea
324: [04:18:21] <micmania1> :O
325: [04:18:35] <micmania1> Totally did.
326: [04:19:40] <micmania1> Scary thing is I done it in one night as PoC and the code didn’t change between then and release :/
327: [04:19:50] <micmania1> Didn’t even test it.
328: [04:20:44] * camfindlay has joined #silverstripe
329: [04:20:57] <irogue> and you were probably drunk on brown ale the whole time you were developing it too micmania1
330: [04:21:01] <Stomach> micmania1 - is it seperate? where? give me the goodies
331: [04:21:19] <micmania1> Stomach: oh, no its not separate. easy enough to do though - I built it as a class.
332: [04:21:25] <Stomach> yeah :P
333: [04:21:26] <micmania1> and irogue I rpobably was.
334: [04:21:34] <Stomach> I might do that this week, we've used it a lot
335: [04:21:44] <Stomach> although you and UncleCheese forced this code upon me micmania1 :D http://pastie.org/10420560
336: [04:22:15] <Stomach> http://pastie.org/10420561
337: [04:23:22] * camfindlay quit (Client Quit)
338: [04:23:23] <micmania1> Stomach: https://github.com/silverstripe/silverstripe-blog/blob/master/code/forms/BlogAdminSidebar.php & https://github.com/silverstripe/silverstripe-blog/blob/master/templates/BlogAdminSidebar_holder.ss & https://github.com/silverstripe/silverstripe-blog/blob/master/js/cms.js#L90
339: [04:24:38] <micmania1> oh, and don’t forget the css: https://github.com/silverstripe/silverstripe-blog/blob/master/scss/cms.scss#L24
340: [04:25:00] * MichaelHabib has joined #silverstripe
341: [04:26:06] * novaweb quit (Remote host closed the connection)
342: [04:29:16] <pline> I want to know what performance gains I got from indexing a particular field, so I want to delete the DB index I created.
343: [04:29:32] <pline> DROP INDEX `FieldName` ON Tablename;
344: [04:29:50] <pline> appeared to be succesful...
345: [04:30:21] <pline> Does anyone know if there is an easy way to check which fields are indexed in Mysql?
346: [04:30:46] <chocolatemoose> SHOW INDEX FROM tbl
347: [04:31:51] <pline> *facepalm* thanks
348: [04:38:33] <Hailwood> Can anyone see any reason this line https://github.com/silverstripe-labs/silverstripe-tagfield/blob/master/code/TagField.php#L312 shouldn't just read $query = $source - so it ends up as $query = $source->filter($titleField . ':PartialMatch:nocase', $term)->...
349: [04:45:05] <Hailwood> Next question - SomeDataObject::get() - can we filter by canView? e.g. SomeDataObject::get()->filter('canView', true)->limit(10) - I need to get 10 "SomeDataObject"'s that the user can view, rather than grabbing 10 and only returning what of those 10 the user can view..
350: [04:45:53] <Hailwood> Only way I've found so far is to grab them all, then loop over them and return the first 10 that pass canView(), which doesn'
351: [04:45:58] <Hailwood> t scale well
352: [04:49:34] <chocolatemoose> talking about SiteTree objects specifically?
353: [04:50:19] <irogue> Hailwood: canView is a really complex thing, and there's been a lot of discussion around how to fix it. but right now AFAIK there's no easy way to do that in a scalable way
354: [04:50:38] <chocolatemoose> SiteTree:get()->filter('ViewerGroups.GroupID', $groupID) ??
355: [04:50:45] * mahfuz quit (Ping timeout: 246 seconds)
356: [04:52:40] * Stomach quit (Ping timeout: 250 seconds)
357: [04:55:18] <Hailwood> irogue, chocolatemoose that makes sense, chocolatemoose it's for the BlogRecentPostsWidget - some of our posts are protected, so we don't want those showing up in the the feed
358: [04:55:24] * pline quit (Quit: Leaving)
359: [04:55:48] <Hailwood> Side note - Hawke's Bay is not Amalgamating :)
360: [05:00:21] <helenclarko> I'm Done!
361: [05:00:24] * helenclarko quit (Quit: Leaving)
362: [05:03:05] * jonners99 has joined #silverstripe
363: [05:05:07] * Hailwood quit (Remote host closed the connection)
364: [05:07:44] * jonners99 quit (Ping timeout: 246 seconds)
365: [05:11:41] * DedraSC2 has joined #silverstripe
366: [05:11:41] <ss-helper> DedraSC2: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
367: [05:13:27] <DedraSC2> Well, everythings running now :)
368: [05:13:33] <DedraSC2> thanks for the help anyways :)
369: [05:14:44] * Dedra quit (Ping timeout: 252 seconds)
370: [05:19:20] <ss-helper> RFC-5: JavaScript Module Management - https://groups.google.com/d/msg/silverstripe-dev/RbTENuAJK9w/L-J1e6NcMQAJ
371: [05:31:28] <terryapodaca> I've been developing for a long while now, and most of my IDEs are 4 spaces = tab size, which is the default indent for code block
372: [05:31:58] <terryapodaca> why is SS EditorConfig doing the old school two spaces for indent/tab ?
373: [05:32:16] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
374: [05:40:11] <irogue> terryapodaca: its 4 width tabs
375: [05:40:30] <irogue> except for yaml where it follows the yaml spec
376: [05:41:20] <terryapodaca> my other ones are, but I just downloaded the latest version of SS and this is what the editor config show:
377: [05:41:26] <terryapodaca> indent_size = 2
378: [05:41:27] <terryapodaca> indent_style = tab
379: [05:41:37] <terryapodaca> and thats under [*]
380: [05:41:58] <terryapodaca> the *.yml one is fine and still says 2
381: [05:42:47] <terryapodaca> unless for some reason it was changes by one of my guys after I downloaded the zip file
382: [05:42:53] <irogue> yeah, I think it must have been
383: [05:42:54] <irogue> https://github.com/silverstripe/silverstripe-framework/blob/3.1.14/.editorconfig#L8-L9
384: [05:43:02] <irogue> definitely hasn't changed since Dec 2014
385: [05:43:21] <terryapodaca> that is so weird
386: [05:43:35] <terryapodaca> i'll change it just for consistency, just weird
387: [05:43:46] <terryapodaca> but then again, weirder things have happened with SS before
388: [05:43:47] <terryapodaca> :D
389: [05:43:58] <terryapodaca> btw, how is the Flag debate going in NZ?
390: [05:44:08] <irogue> humerously
391: [05:55:33] * irogue quit (Quit: My Mac has gone to sleep. ZZZzzz…)
392: [06:00:15] * wmk has joined #silverstripe
393: [06:00:15] * chocolatemoose quit (Remote host closed the connection)
394: [06:12:27] <Colin[pi]> terryapodaca: most people still want the old flag iirc
395: [06:12:54] <terryapodaca> I couldn't imagine changing our flag
396: [06:13:02] <terryapodaca> and I rather like the original NZ flag
397: [06:13:12] <Colin[pi]> terryapodaca: lol you'd have riots in the streets
398: [06:13:27] <terryapodaca> even though it's so similar to AU, they have enough differences
399: [06:13:57] <terryapodaca> Colin[pi]: no kidding, it almost came to that with the Confederate flag a couple months ago
400: [06:14:05] <Colin[pi]> yeah I saw about that :o
401: [06:14:27] <terryapodaca> matter of fact, I think there were some small riots in the deep south where they still fly that flag with pride
402: [06:14:47] <Colin[pi]> ah the deep south
403: [06:15:10] <terryapodaca> :D
404: [06:16:32] * DanaeNZ quit (Remote host closed the connection)
405: [06:20:42] * darjus01 has joined #silverstripe
406: [06:26:56] * micmania1 quit (Quit: micmania1)
407: [06:30:36] * Eliseth has joined #silverstripe
408: [06:45:52] * joelpittet quit (Remote host closed the connection)
409: [07:03:50] * jonners99 has joined #silverstripe
410: [07:04:24] * MichaelHabib quit (Ping timeout: 250 seconds)
411: [07:04:46] * swaiba has joined #silverstripe
412: [07:08:23] * jonners99 quit (Ping timeout: 252 seconds)
413: [07:08:25] * Mike123 has joined #silverstripe
414: [07:16:32] * Kingy[a] quit (Ping timeout: 246 seconds)
415: [07:20:32] * novaweb has joined #silverstripe
416: [07:23:34] * novaweb quit (Remote host closed the connection)
417: [07:24:44] * elgabbu has joined #silverstripe
418: [07:28:01] * Kingy[a] has joined #silverstripe
419: [07:36:35] * spronk quit (Quit: I may need a longer sleep timer...)
420: [07:55:48] * kinglozzer has joined #silverstripe
421: [08:05:08] * DanaeNZ has joined #silverstripe
422: [08:05:46] * dev1 has joined #silverstripe
423: [08:05:46] <ss-helper> dev1: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
424: [08:07:05] <dev1> Hi
425: [08:07:25] <wmk> Ho
426: [08:07:34] <dev1> 1 question for stripe. All card_error are safe to display to end user, right ?
427: [08:07:44] <dev1> but other error types, are they safe to display to end user ?
428: [08:07:47] <wmk> card_error?
429: [08:07:52] <wmk> payment?
430: [08:07:54] <dev1> invalid_request_error, api_error ?
431: [08:08:06] <dev1> when you make a payment, and the request fails
432: [08:08:12] <wmk> ok.
433: [08:08:25] <dev1> you get an error, which can be one of 3 types invalid_request_error, api_error, or card_error.
434: [08:08:48] <dev1> Are all of them safe to display to end user ? or only card_error types should be displayed
435: [08:09:00] <wmk> dev1, dunno, i'm no payment expert...
436: [08:09:09] <wmk> card error sounds like user has given wrong data
437: [08:09:10] * DanaeNZ quit (Ping timeout: 240 seconds)
438: [08:09:16] <dev1> :D
439: [08:09:19] <dev1> yep, it did
440: [08:09:31] <wmk> and other errors i guess should be shown as "servce currently unavailable"
441: [08:09:45] <Audlex> what is the issue here? TimeField::create('Time')->setConfig('timeformat', 'hh:mm A')
442: [08:09:50] <wmk> invalid request: log them for you ;)
443: [08:10:00] <dev1> yea
444: [08:10:03] <Audlex> I try setting it to 04:00AM and it saves as this: 04:00 14400000
445: [08:10:03] <dev1> i though so
446: [08:10:52] <wmk> Audlex, Time format compatible with Zend_Date
447: [08:11:39] * jonners99 has joined #silverstripe
448: [08:15:38] * g4b0_ has joined #silverstripe
449: [08:17:44] <wmk> hi g4b0_
450: [08:22:34] <ss-helper> silverstripe starting page in db level - http://stackoverflow.com/questions/32580900/silverstripe-starting-page-in-db-level
451: [08:22:43] <g4b0_> hi wmk
452: [08:22:53] <g4b0_> and hi all :)
453: [08:23:09] <g4b0_> I'm experimenting with DevBuildController
454: [08:23:24] <g4b0_> but it's not good to use it inside a module
455: [08:23:44] <g4b0_> since two modules implementing it will conflict
456: [08:28:06] <wmk> yup.
457: [08:28:11] <wmk> guessed so
458: [08:28:24] <wmk> g4b0_, and alterDatabase()... as i suggested in my comment?
459: [08:30:00] <g4b0_> argumentDatabase() ?
460: [08:30:38] <g4b0_> the problem is that I think it's executed once for each DO extended
461: [08:33:11] <wmk> well, versioned uses it
462: [08:33:19] <wmk> check if table exists
463: [08:33:23] <wmk> create it if not
464: [08:44:12] * samlander quit (Ping timeout: 246 seconds)
465: [08:46:09] * novaweb has joined #silverstripe
466: [08:51:09] * slievr has joined #silverstripe
467: [08:53:17] * spronka has joined #silverstripe
468: [09:00:56] * chocolatemoose has joined #silverstripe
469: [09:05:21] * chocolatemoose quit (Ping timeout: 252 seconds)
470: [09:09:05] <terryapodaca> Colin[pi]: ping me if you get this tonight...well, it's 4 am my time
471: [09:14:29] * MichaelHabib has joined #silverstripe
472: [09:21:19] * MichaelHabib1 has joined #silverstripe
473: [09:21:19] <ss-helper> MichaelHabib1: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
474: [09:23:19] * MichaelHabib quit (Ping timeout: 256 seconds)
475: [09:30:51] * GioVdK has joined #silverstripe
476: [09:31:57] <dev1> In Stripe Test account, all test charges have Origin : United States. Why is that ?
477: [09:32:22] <dev1> I don't send it, or at least i don't how do i send it. I reviewed my code and apparently is not there
478: [09:33:14] <dev1> hmm
479: [09:33:17] <dev1> maybe i do
480: [09:34:59] <dev1> if i set address_country: "RO", origin is still US. any help ?
481: [09:37:54] <wmk> what is "Origin", dev1 ?
482: [09:38:26] <dev1> in Stripe
483: [09:38:31] <dev1> when you go on a charge
484: [09:38:44] <dev1> it renders credit card info
485: [09:38:45] <wmk> ah, still payment. sorry
486: [09:39:02] <wmk> dev1, maybe someone can help you if you say what payment module you use
487: [09:39:20] <dev1> well i integrated Stripe by my own. No payment module used
488: [09:39:37] <wmk> well, then
489: [09:39:43] <wmk> !paste dev1
490: [09:39:43] <ss-helper> dev1: Please paste your code using something like http://kopy.io/ or http://www.sspaste.com/ or https://gist.github.com/ and then paste the link here.
491: [09:41:11] * DedraSC2 quit (Quit: Bye guys, have to go!)
492: [09:43:02] <dev1> This is what i send to stripe : http://kopy.io/WFQbk
493: [09:44:23] <dev1> and a charge object is created with Address set by me. However, the Origin is always United States
494: [09:44:48] <dev1> i can't figure it out, what does Origin means, and how do i change it
495: [09:48:04] * Tanger quit (Quit: sleep())
496: [09:52:35] <ss-helper> Silverstripe save data to external table - http://stackoverflow.com/questions/32582566/silverstripe-save-data-to-external-table
497: [09:56:31] <terryapodaca> Origin sounds like Location to me
498: [09:56:34] <terryapodaca> like US
499: [09:56:43] <terryapodaca> or NZ
500: [09:56:45] <terryapodaca> or AU
501: [10:24:58] * Eliseth quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
502: [10:31:01] * spekulatius quit (*.net *.split)
503: [10:32:15] * spekulatius has joined #silverstripe
504: [10:36:59] * g4b0_ quit (Ping timeout: 256 seconds)
505: [10:52:37] * NobrainerWeb has joined #silverstripe
506: [10:54:54] <NobrainerWeb> Hi guys, need a bit of help. I write an image relation to a page like this: $page->Images()->add($detailimage); which works fine. Problem is, that my Images relation have a private static $many_many_extraFields = array('Images' => array('SortOrder' => 'Int')); and i need to set the SortOrder value for every image i add with $page->Images()->add($detailimage);
507: [10:55:00] <NobrainerWeb> How can this be done?
508: [10:55:47] <NobrainerWeb> On SS 3.1.13
509: [11:13:36] <dev1> terryapodaca : yep, it si like location, but is always US, no matter what i send in address_country field
510: [11:17:43] <Mike123> can i get objects created month by locale ? i mean in my language ...
511: [11:22:40] * ssg has joined #silverstripe
512: [11:28:59] <swaiba> Mike123 - http://www.silverstrip.es/blog/dates-formatted-based-on-locale
513: [11:29:14] * cupcake has joined #silverstripe
514: [11:29:30] <Mike123> thanks swaiba
515: [11:30:37] <swaiba> NobrainerWeb - $page->Images()->add($detailimage,array('SortOrder' => 1));
516: [11:32:02] <NobrainerWeb> swaiba: thanks m8, just found it http://api.silverstripe.org/3.1/source-class-ManyManyList.html#179-261 - so god damn nice :-)
517: [11:48:28] * novaweb quit (Remote host closed the connection)
518: [12:02:29] * lerni_ has joined #silverstripe
519: [12:15:42] * g4b0_ has joined #silverstripe
520: [12:17:02] * spronka quit (Quit: My Mac has gone to sleep. ZZZzzz…)
521: [12:18:46] * spronk has joined #silverstripe
522: [12:20:43] * Colin[pi] quit (Ping timeout: 244 seconds)
523: [12:28:57] * r_hector quit (Remote host closed the connection)
524: [12:29:31] * DimiStripe quit (Quit: DimiStripe)
525: [12:38:43] * jonners99 quit (Remote host closed the connection)
526: [12:54:49] * DimiStripe has joined #silverstripe
527: [13:09:23] * jonners99 has joined #silverstripe
528: [13:10:12] * Mike123 quit (Ping timeout: 246 seconds)
529: [13:10:39] * ssg quit (Quit: Page closed)
530: [13:25:33] * NobrainerWeb quit (Quit: NobrainerWeb)
531: [13:27:28] * muskie9 has joined #silverstripe
532: [13:28:26] * slievr quit (Ping timeout: 240 seconds)
533: [13:41:59] <g4b0_> bye all
534: [13:43:34] * g4b0_ quit (Quit: Sto andando via)
535: [13:46:42] * Pyvweaopik has joined #silverstripe
536: [13:46:43] <ss-helper> Pyvweaopik: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
537: [13:47:04] <Pyvweaopik> hellow ss-helper
538: [13:50:37] <wmk> hell hi Pyvweaopik
539: [13:51:19] * EasyCo quit (Quit: Connection closed for inactivity)
540: [13:51:30] <swaiba> Pyvweaopik o/
541: [14:01:38] * slievr has joined #silverstripe
542: [14:08:44] <Pyvweaopik> hihi wmk swaiba
543: [14:08:50] <Pyvweaopik> I booked train and hotel last night
544: [14:09:03] <Pyvweaopik> Just a casual £401
545: [14:09:06] <swaiba> for conference?
546: [14:09:12] <Pyvweaopik> yeh
547: [14:09:14] <swaiba> JE-SUS
548: [14:09:18] <Pyvweaopik> yup
549: [14:09:22] <Pyvweaopik> fuck you RWC
550: [14:09:27] <wmk> rwc?
551: [14:09:32] <Pyvweaopik> rugby world cup
552: [14:09:43] <Pyvweaopik> Happens to be on at the same time.
553: [14:09:58] <swaiba> oh dear, glad I reserved my hotel ages ago
554: [14:10:10] <wmk> hmm...
555: [14:10:18] <swaiba> I'll get train sorted soon or just get the [oozing with class] megabus
556: [14:11:07] <Pyvweaopik> east coast had a sale, so the return trip only £101
557: [14:11:24] <Pyvweaopik> hotel is the arse part
558: [14:11:41] <Pyvweaopik> My fault for not getting organised sooner
559: [14:12:23] <swaiba> still it is london, I'm not exactly on the doorstep of the conf
560: [14:12:35] <Pyvweaopik> I'm in Vauxhall
561: [14:12:50] <Pyvweaopik> I like the Vauxhall travelodge
562: [14:13:43] <Pyvweaopik> Right outside the tube stop
563: [14:13:54] <Pyvweaopik> only 1hr walk to tower
564: [14:13:59] <Pyvweaopik> down river
565: [14:14:02] <Pyvweaopik> so not all bad :>
566: [14:15:53] <swaiba> pft, get a speed boat :)
567: [14:16:51] <Pyvweaopik> I'll put some heat in the pins and get there in 40 mins, maybe 30 if I'm feeling especially speedy :>
568: [14:18:06] <Pyvweaopik> Just a few stops and one change on the tube from memory. But I don't particularly fancy it in the rush hours
569: [14:35:26] * slievr quit (Ping timeout: 240 seconds)
570: [14:40:01] * wmk quit (Ping timeout: 268 seconds)
571: [14:40:46] * spronk quit (Quit: I may need a longer sleep timer...)
572: [14:42:30] <cupcake> heya o/
573: [14:42:41] <cupcake> i have an issue with this field : https://github.com/sheadawson/silverstripe-dependentdropdownfield
574: [14:42:52] <cupcake> trying to load saved value
575: [14:42:59] <cupcake> but im getting weird options
576: [14:43:46] <swaiba> cupcake - nice module, whats the issue?
577: [14:45:44] <cupcake> http://sspaste.com/paste/show/55f82f128fd8e
578: [14:45:45] * MichaelHabib1 quit (Read error: Connection reset by peer)
579: [14:46:02] <cupcake> i have that situation
580: [14:46:07] <cupcake> initially its fine
581: [14:46:17] <cupcake> when i change state
582: [14:46:22] <cupcake> the cities load fine
583: [14:46:29] <cupcake> when i save the selected state and city
584: [14:46:58] <cupcake> the dropdown loads
585: [14:47:08] <cupcake> ID CityName Array Array
586: [14:47:10] <cupcake> as options
587: [14:48:43] * darjus01 quit (Read error: Connection reset by peer)
588: [14:51:28] * slievr has joined #silverstripe
589: [14:52:13] <swaiba> cupcake hmmm and what is the actuall BassCity::get() returning in those cases?
590: [14:52:32] <swaiba> [btw cool stuff "Bass City" I coudl live there]
591: [14:55:03] * Copperis has joined #silverstripe
592: [14:55:35] * joelpittet has joined #silverstripe
593: [14:58:12] <cupcake> lol
594: [14:58:19] <cupcake> a list of cities
595: [14:58:31] <cupcake> which have has one bassstate
596: [15:00:09] <cupcake> swaiba should i loop myself through the cities and create a simple array for it?
597: [15:02:20] <swaiba> cupcake I'd saying var_dump the plain get() and look what it is
598: [15:03:10] <swaiba> it seems that the CityName (or getCityName) is return good data or bad data, but I'd look what objects its found and then investigate the making of them into the array
599: [15:11:40] * the_sandman has joined #silverstripe
600: [15:15:02] <the_sandman> Hi all. Can someone help with a noob question? I need to resize an image and write both the new and old versions to disk. Can't seem to work it out from the docs :(
601: [15:19:45] <muskie9> the_sandman if you use the resampling functions it generates a new version of the image and keeps the original... just have to have functions that return the generated versions... e.g. https://gist.github.com/muskie9/9ad52db37832bdc8db11
602: [15:20:41] * DanaeNZ has joined #silverstripe
603: [15:25:03] * DanaeNZ quit (Ping timeout: 260 seconds)
604: [15:26:12] <swaiba> the_sandman - this is also a good option if you just want it scaled on uploadhttps://github.com/i-lateral/silverstripe-scaled-uploads
605: [15:26:54] <muskie9> that module is really nice too, used it on a couple projects where end users would be uploading images
606: [15:27:29] <the_sandman> muskie9: If I did it myself on upload, should I be doing it in onBeforeWrite in my DataObject, or should I be extending Image in some way?
607: [15:28:10] <the_sandman> swaiba: Thanks for that. Will take a look at it too.
608: [15:28:16] * lerni_ quit (Remote host closed the connection)
609: [15:29:35] <muskie9> the_sandman I've never been able to figure out a good way to do multiple sizes of an image at upload and storing them all, I'd look at the module and see how they're doing it, that'll probably be a good starting point if you're going to write something custom
610: [15:31:49] <the_sandman> muskie9: Ok cool.
611: [15:32:01] <the_sandman> Thanks for info both!
612: [15:35:07] <muskie9> the_sandman I think this is where the overwriting of the original happens in the module, the rest of ScaleUpload() preps the new image: https://github.com/i-lateral/silverstripe-scaled-uploads/blob/master/code/ScaledUploads.php#L67
613: [15:37:07] <the_sandman> muskie9: Looks like it. My Silverstripe knowledge is minimal at the moment, so first stop - look up installation of DataExtensions :)
614: [15:37:35] <muskie9> https://docs.silverstripe.org/en/3.1/developer_guides/extending/extensions/
615: [15:38:38] <the_sandman> thx
616: [15:40:53] <muskie9> the_sandman there are some good video lessons that help get going with SS as well if you haven't checked them out: http://www.silverstripe.org/learn/lessons
617: [15:41:24] * dev1 quit (Ping timeout: 246 seconds)
618: [15:43:40] <the_sandman> muskie9: Ah, more bedtime viewing! Thx.
619: [15:43:54] <muskie9> sure
620: [15:44:51] * jonners99 quit (Remote host closed the connection)
621: [15:59:18] * jonners99 has joined #silverstripe
622: [16:03:31] * the_sandman quit (Quit: My Mac has gone to sleep. ZZZzzz…)
623: [16:11:18] <Pyvweaopik> reet, phpne time
624: [16:11:23] <Pyvweaopik> ciao
625: [16:11:39] <Pyvweaopik> see you there kinglozzer ?
626: [16:11:39] * Pyvweaopik quit ()
627: [16:11:48] * Copperis quit (Ping timeout: 264 seconds)
628: [16:15:59] * Copperis has joined #silverstripe
629: [16:26:26] * slievr quit (Ping timeout: 240 seconds)
630: [16:27:51] * swaiba quit (Remote host closed the connection)
631: [16:28:11] * kinglozzer quit ()
632: [16:39:47] * jonners99 quit (Remote host closed the connection)
633: [17:25:21] * cupcake quit (Ping timeout: 246 seconds)
634: [17:27:11] * GioVdK quit (Ping timeout: 264 seconds)
635: [17:40:30] * jonners99 has joined #silverstripe
636: [17:43:32] * lerni_ has joined #silverstripe
637: [17:45:08] * jonners99 quit (Ping timeout: 246 seconds)
638: [18:10:37] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
639: [19:19:34] * Copperis quit (Quit: Leaving)
640: [19:23:23] * Arcax has joined #silverstripe
641: [19:30:19] <Arcax> Hello, ¿someone can help me a bit?
642: [19:30:21] <Arcax> When i create an ItemPage, this have a relation has_one with HomeBlogHolder, not save the key on his table (only save 0).
643: [19:30:22] <Arcax> Thanks for help.
644: [19:30:24] <Arcax> HomeBlogHolder: http://kopy.io/1WSuR
645: [19:30:25] <Arcax> ItemPage: http://kopy.io/9qFYv
646: [19:40:51] * Colin[pi] has joined #silverstripe
647: [19:41:16] * jonners99 has joined #silverstripe
648: [19:43:40] * novaweb has joined #silverstripe
649: [19:45:42] * jonners99 quit (Ping timeout: 246 seconds)
650: [19:49:55] * joelpittet is now known as joelpittet|food
651: [19:56:51] * novaweb quit (Remote host closed the connection)
652: [20:09:26] * vanny has joined #silverstripe
653: [20:09:51] <vanny> hi all. Been a couple of weeks since I have been online
654: [20:11:37] * Stomach has joined #silverstripe
655: [20:12:27] * lerni__ has joined #silverstripe
656: [20:13:56] * lerni_ quit (Ping timeout: 250 seconds)
657: [20:19:39] <vanny> been playing with leftandmain, i create a permission group for users just to give them access to a particular table, but when I login as them it is all empty? any ideas?
658: [20:25:18] * lerni has joined #silverstripe
659: [20:26:03] * lerni__ quit (Ping timeout: 260 seconds)
660: [20:32:54] * darjus01 has joined #silverstripe
661: [20:39:01] * lerni_ has joined #silverstripe
662: [20:40:33] * lerni quit (Ping timeout: 252 seconds)
663: [20:42:00] * jonners99 has joined #silverstripe
664: [20:46:33] * jonners99 quit (Ping timeout: 250 seconds)
665: [20:46:47] * lerni has joined #silverstripe
666: [20:48:06] * lerni_ quit (Ping timeout: 240 seconds)
667: [20:49:29] * joelpittet|food quit ()
668: [20:50:37] * Olliepop has joined #silverstripe
669: [20:51:06] * lerni quit (Ping timeout: 255 seconds)
670: [20:51:12] * lerni_ has joined #silverstripe
671: [20:53:21] * lerni_ quit (Remote host closed the connection)
672: [20:54:49] * lerni has joined #silverstripe
673: [20:58:19] * chocolatemoose has joined #silverstripe
674: [20:59:13] * chocolatemoose quit (Client Quit)
675: [21:01:21] * helenclarko has joined #silverstripe
676: [21:01:36] <helenclarko> Morning o/
677: [21:03:19] * antmas has joined #silverstripe
678: [21:03:28] <antmas> morning all
679: [21:03:46] <antmas> can anyone tell me a quick way of checking what template a page is using?
680: [21:05:37] <Stomach> ?showtemplate=1
681: [21:05:43] <antmas> chur
682: [21:05:44] <Stomach> antmas \o
683: [21:06:30] <antmas> Stomach: ah, will that work on a 3.0 site?>
684: [21:06:53] <Stomach> should do
685: [21:07:18] * Hailwood has joined #silverstripe
686: [21:09:42] * Olliepop quit (Ping timeout: 246 seconds)
687: [21:10:43] * micmania1 has joined #silverstripe
688: [21:11:11] <Audlex> does this look right? RewriteRule ^/project/westland-milk-products-genuine$ /our-work/westland-genuine-branding/ [R=301,NC,L]
689: [21:11:41] <antmas> Audlex, you working on westland milk products site eh?
690: [21:12:57] <antmas> Stomach: I don't see anythings using that param :O
691: [21:13:14] <Stomach> ruts
692: [21:13:14] <Stomach> https://docs.silverstripe.org/en/3.1/developer_guides/debugging/url_variable_tools/
693: [21:13:31] <Stomach> you have to be in development mode
694: [21:14:05] * lerni quit (Ping timeout: 246 seconds)
695: [21:14:08] <antmas> ah
696: [21:14:12] <antmas> might explain it
697: [21:15:11] <Stomach> https://github.com/silverstripe/silverstripe-framework/blob/3/docs/en/04_Changelogs/3.0.4.md
698: [21:15:14] <Stomach> definitely was there
699: [21:15:25] <Stomach> been there since 2.something
700: [21:15:27] <antmas> my env type is set to dev
701: [21:16:09] <Audlex> antmas, not technically.
702: [21:16:15] <Audlex> did you originally do it?
703: [21:16:32] <antmas> Audlex: nah, I just know the business :)
704: [21:16:37] <antmas> I've *used* the site
705: [21:16:48] <Audlex> I am doing westgolds new site
706: [21:17:37] <antmas> nice
707: [21:17:52] * micmania1 quit (Quit: micmania1)
708: [21:18:13] <antmas> Audlex: oh that's the new butter brand of theirs yeah?
709: [21:18:26] <antmas> Stomach: got it :)
710: [21:18:29] <Audlex> it sure is
711: [21:18:46] <antmas> I applied for work there as a business analyst
712: [21:18:59] <antmas> but they've just gone through massive layoffs :O
713: [21:19:21] <Audlex> to pay for the website? ;P
714: [21:19:40] <antmas> lol likely
715: [21:21:02] * DanaeNZ has joined #silverstripe
716: [21:27:46] * novaweb has joined #silverstripe
717: [21:39:28] * zippy has joined #silverstripe
718: [21:40:51] * novaweb quit ()
719: [21:47:09] * UncleCheese has joined #silverstripe
720: [21:54:34] <darjus01> Hi all is somehow possible in cms admin put collors on dropdown options?
721: [21:55:00] <darjus01> like public green, private red
722: [21:55:14] <antmas> urgh, trying to get this thing to sort is annying af
723: [22:00:32] <antmas> n00b qn, how do I sort in a DatObject::get?
724: [22:00:37] <antmas> Data*
725: [22:03:19] <DanaeNZ> antmas: DataObject::get()->sort('Blah DESC') usually but there's this use case where it doesn't sort in the template and you gotta be like $MyObjectLoop.Sort('Blah')
726: [22:03:52] <antmas> DanaeNZ: awesome, thankya kindly
727: [22:03:58] <darjus01> Hi all is somehow possible in cms admin put colors on dropdown options?
728: [22:04:10] <DanaeNZ> darjus01: do you mean like visual colours?
729: [22:04:18] <darjus01> yes
730: [22:04:23] <DanaeNZ> darjus01: CSS I imagine
731: [22:04:38] <DanaeNZ> darjus01: I would first look up how to acheive it just using CSS
732: [22:04:50] <DanaeNZ> Then look at sticking it in the CMS
733: [22:05:08] <darjus01> is it possible to add visual style to specifik field parts in databoject file?
734: [22:05:53] * jules0x has joined #silverstripe
735: [22:07:21] * EasyCo has joined #silverstripe
736: [22:08:22] * joelpittet has joined #silverstripe
737: [22:08:59] <darjus01> LeftAndMain:
738: [22:08:59] <darjus01> extra_requirements_css:
739: [22:08:59] <darjus01> - mysite/css/BookmarkedPages.css if I place databoject name in place of leftandmain, does css work in that dataobject?
740: [22:17:25] <vanny> is there a details leftandmain information out there, I watched the tutorial and started playing with it, just want to learn/read more "correct" information
741: [22:29:59] <zippy> darjus01: there is a module for that dropdown color select thing)
742: [22:30:29] <darjus01> I dont need color picker
743: [22:30:58] <darjus01> I need way to modify dropdown css on my own
744: [22:40:55] <DanaeNZ> darjus01: that just comes down to basic CSS doesn't it? Being able to target a dropdown and colour it?
745: [22:41:09] <DanaeNZ> Have a look at the HTML that the CMS outputs for the dropdown
746: [22:41:14] <DanaeNZ> Then you can target it that way
747: [22:42:11] <darjus01> yes if I make set attribute style font 20px; it adds font but it adds in hidden select not generated by admin theme.
748: [22:42:45] * jonners99 has joined #silverstripe
749: [22:43:30] * joelpittet quit (Remote host closed the connection)
750: [22:44:58] <zippy> man, I can't believe the storage on the sitehost plans is soo fuck all... http://www.sitehost.co.nz/hosting/cloud-hosting
751: [22:45:21] <DanaeNZ> darjus01: maybe you should paste in your code:
752: [22:45:22] <DanaeNZ> !paste
753: [22:45:23] <ss-helper> Please paste your code using something like http://kopy.io/ or http://www.sspaste.com/ or https://gist.github.com/ and then paste the link here.
754: [22:47:21] * jonners99 quit (Ping timeout: 246 seconds)
755: [22:47:44] <darjus01> its basicly nothing to paste, I just looking for a way to add costum css on specific Dataobjects
756: [22:48:42] <darjus01> that dataobject add form or grid table would have diffrent colors or font sizes and so on
757: [22:50:07] * antmas quit (Quit: Page closed)
758: [22:50:38] <zippy> you can add a custom class to a field
759: [22:50:42] <zippy> and then add in your own css
760: [22:56:31] <darjus01> http://www.sspaste.com/paste/show/55f8a1660da93 code; and seee to inspect http://snag.gy/cbpWw.jpg
761: [22:56:46] * Stomach quit (Ping timeout: 265 seconds)
762: [22:57:15] <darjus01> I cannot style the dropdown because its putting on original html nots generated by admin theme
763: [22:58:03] * antmas has joined #silverstripe
764: [22:58:33] * mahfuz has joined #silverstripe
765: [23:00:13] * Stomach has joined #silverstripe
766: [23:04:27] * Hailwood quit (Quit: Leaving)
767: [23:04:40] * Hailwood has joined #silverstripe
768: [23:04:48] * irogue has joined #silverstripe
769: [23:06:02] <antmas> Tycho is so good
770: [23:07:41] <ss-helper> What generates the .holder-required class in SilverStripe forms - http://stackoverflow.com/questions/32574997/what-generates-the-holder-required-class-in-silverstripe-forms
771: [23:09:29] * zippy quit (Quit: Textual IRC Client: www.textualapp.com)
772: [23:09:44] <antmas> anyone know where to get latest FF offline installers?
773: [23:12:31] <antmas> nvm, found it
774: [23:14:43] <antmas> urgh, my slider image isn't appearing in Firefox
775: [23:16:15] <darjus01> maybe some once can see mistake i am giving to my custom controller customize data to template file http://www.sspaste.com/paste/show/55f8a67ab0d3e and getting error: Uncaught Exception: Object->__call(): the method 'customize' does not exist on 'ProductCategoryController'
776: [23:20:32] * slievr has joined #silverstripe
777: [23:20:42] * darjus01 quit (Quit: Leaving)
778: [23:21:16] <irogue> oh god make it stop
779: [23:21:19] <irogue> too much babby
780: [23:23:38] <antmas> bah
781: [23:23:41] <antmas> anyone have 403 issues with FF lately?
782: [23:24:10] <antmas> I get 403s on my fonts, combined js and images
783: [23:24:30] * Hailwood quit (Ping timeout: 240 seconds)
784: [23:27:42] * Stomach quit (Quit: zzz)
785: [23:32:46] * Stomach has joined #silverstripe
786: [23:35:56] * Hailwood has joined #silverstripe
787: [23:36:23] <irogue> antmas: HTTP vs HTTPS issues perhaps? both Chrome and FF have recently implemented hard blocking on loading HTTP resources from HTTPS sites (rather than just a warning)
788: [23:36:37] <antmas> irogue: yeah I think it is
789: [23:36:51] <antmas> our nazi web marshall doesn't help :/
790: [23:39:51] * spronk has joined #silverstripe
791: [23:42:31] * slievr_ has joined #silverstripe
792: [23:46:06] * slievr quit (Ping timeout: 240 seconds)
793: [23:46:37] <Colin[pi]> o/
794: [23:47:43] <antmas> Colin[pi]: spronk o/
795: [23:48:21] <DanaeNZ> ~o~
796: [23:48:24] <DanaeNZ> wavy arms
797: [23:48:30] <spronk> yoyo
798: [23:48:50] <antmas> ~o~
799: [23:48:58] <spronk> ~o~ a wigglewigglewigglewigglewiggle yeahh
800: [23:49:02] * spronk LMFAOs
801: [23:49:29] <antmas> o.O
802: [23:51:13] <irogue> hahahaha
803: [23:51:33] <irogue> that music video is so disturbingly great
804: [23:53:30] <spronk> ikr
805: [23:54:06] * slievr_ quit (Ping timeout: 240 seconds)

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