#silverstripe IRC Log

IRC log for 30 January 2013

All timestamps are in UTC.

1: [00:22:00] * SMaction quit ()
2: [00:25:00] <Pyromanik> [12:32] <@simon_w> Yeah, had some last week
3: [00:25:00] <Pyromanik> lucky you, I had some last when you were there too :<
4: [00:29:00] <simon_w> I had some then too!
5: [00:32:00] <Pyromanik> I had two of some then!
6: [00:38:00] <aznain> How can include dataobject into site search ? any example to follow ?
7: [00:40:00] <simon_w> You can't
8: [00:40:00] <simon_w> This using the normal SearchForm?
9: [00:40:00] <aznain> yes! same one in the tutorial
10: [00:41:00] <simon_w> Even getting that to search multiple data objects is rather difficult
11: [00:41:00] <aznain> then what are other option
12: [00:41:00] <aznain> ?
13: [00:41:00] <simon_w> Write your own search form
14: [00:42:00] <aznain> I am using ss3
15: [00:42:00] <aznain> will it work ? it is cached version of page http://webcache.googleusercontent.com/search?q=cache:g0vDU3Oryu8J:www.i-lateral.com/tutorials/extending-fulltextsearch-for-dataobjects/+&cd=4&hl=en&ct=clnk&gl=au
16: [00:44:00] <Jakx> is the blog module worth using? ss 3.0 project?
17: [00:49:00] * mwm_ has joined #silverstripe
18: [00:56:00] * chillu quit (Quit: chillu)
19: [00:58:00] * howardgrigg has joined #silverstripe
20: [01:07:00] * lurker quit (Read error: Connection reset by peer)
21: [01:07:00] * catcher quit (Quit: Leaving)
22: [01:12:00] * ray__ has joined #silverstripe
23: [01:13:00] <Jakx> Pyromanik, heh - sweet as.
24: [01:13:00] <Pyromanik> it really could use some work
25: [01:13:00] <Pyromanik> almost literally
26: [01:13:00] <Pyromanik> Jakx: same as it was in 2.4
27: [01:13:00] <Pyromanik> still has <% control %> blocks in it last I looked
28: [01:14:00] * Keks__ has joined #silverstripe
29: [01:14:00] <Pyromanik> it'll bring down your house if you add it to a page.
30: [01:14:00] <Pyromanik> Jakx: word of warning, do NOT attempt to use RSSWidget. Infact I recommend deleting it and it's template.
31: [01:15:00] <Pyromanik> like most of the ported modules, it's in need of some TLC
32: [01:15:00] <Pyromanik> hasn't changed much since it came out
33: [01:15:00] <Pyromanik> mm
34: [01:15:00] <Jakx> Pyromanik, ah ty. I shall do that
35: [01:16:00] <Keks__> Hi I'm trying to add a basic search using the Site Search Tutorial for 3.0. I copied across the details for Page_results.ss but get [Warning] htmlspecialchars(): Invalid multibyte sequence in argument on line 77 of root\framework\core\Convert.php
36: [01:16:00] <Pyromanik> Keks eh
37: [01:16:00] <Pyromanik> like pukeko, or like kekekekeke zergling rush?
38: [01:17:00] <Keks__> Haha, like neither.
39: [01:17:00] <Pyromanik> ok
40: [01:17:00] <Keks__> But foriegn people do pick me as a kiwi all the time
41: [01:17:00] <Pyromanik> that's a shame.
42: [01:17:00] <Pyromanik> Keks__: don't follow that tutorial
43: [01:17:00] <Pyromanik> or if you do, read VERY carefully
44: [01:17:00] <Jakx> Pyromanik, lol?
45: [01:18:00] <Keks__> Short for Keksters, but I digress.
46: [01:18:00] <Pyromanik> Because you're an Aussie?
47: [01:18:00] <Keks__> Because I am a Kiwi
48: [01:18:00] <Pyromanik> and they don't pick you as an Aussie?
49: [01:18:00] <Keks__> Nope.
50: [01:18:00] <Pyromanik> odd.
51: [01:19:00] <Keks__> What do I need to pay particular attention to? I have a sneaking suspicion that it has to do with the pagination class.
52: [01:19:00] <Pyromanik> actually I was just reading
53: [01:19:00] <Pyromanik> they've finally updated it
54: [01:19:00] <Pyromanik> it used to go on about how to put a search together manually
55: [01:19:00] <Keks__> As non successful searches such as gorilla yield a proper results page
56: [01:20:00] <Jakx> Pyromanik, I followed the search tut a few days ago - all went well.
57: [01:20:00] <Pyromanik> but there was one line that said something like "above version 2.4, just put FulltextSearchable::enable() into your config.php"
58: [01:20:00] <Keks__> Yup did that.
59: [01:20:00] <Pyromanik> and people would miss it
60: [01:20:00] <Keks__> That's a bummer.
61: [01:20:00] <Pyromanik> and go about manually building a search function with php
62: [01:20:00] <Jakx> Pyromanik, lol.
63: [01:20:00] <Pyromanik> because that's how you did it in 2.3
64: [01:20:00] * ray__ quit (Ping timeout: 244 seconds)
65: [01:21:00] <Pyromanik> what version of SS are you running?
66: [01:21:00] <Pyromanik> anyway
67: [01:21:00] <Pyromanik> we digress
68: [01:21:00] <Pyromanik> Keks__: are you working in a foreign language?
69: [01:21:00] <Keks__> No
70: [01:22:00] <Keks__> 3.0 not sure of quite what specific version. Lemme check
71: [01:22:00] <Pyromanik> also, what are you searching for?
72: [01:23:00] <Pyromanik> but none of those are multibyte :<
73: [01:23:00] <Keks__> So there a lots of hits which is why I think it is to do with pagination
74: [01:23:00] <Keks__> I am searching for esri which is a word practically used across the whole site.
75: [01:24:00] <Pyromanik> sspaste.com or pastie.org or something
76: [01:24:00] <Pyromanik> Content.FirstParagraph
77: [01:24:00] <Pyromanik> can you post the full stack trace?
78: [01:24:00] <Pyromanik> nah
79: [01:24:00] <Pyromanik> looks like it's to do with
80: [01:24:00] <Keks__> Yeah that's my confusion
81: [01:26:00] * liam quit (Quit: liam)
82: [01:26:00] <Keks__> http://sspaste.com/paste/show/5108769eea7fb
83: [01:27:00] <Keks__> Also the content is limited by $Content.LimitWordCountXML
84: [01:27:00] * liam has joined #silverstripe
85: [01:28:00] * mirrors quit (Quit: Page closed)
86: [01:28:00] <Pyromanik> mm, I see
87: [01:28:00] <Pyromanik> invalid chars are being passed
88: [01:29:00] <Keks__> No
89: [01:29:00] <Pyromanik> yup
90: [01:29:00] <Pyromanik> good good
91: [01:29:00] <Keks__> So potentially by the pages it's calling?
92: [01:29:00] <Keks__> Because there is one page that doesn't get fully rendered
93: [01:29:00] <Pyromanik> got a multibyte char or something on one of the pages
94: [01:29:00] <Pyromanik> and it's tripping php up
95: [01:29:00] <Pyromanik> Keks__: have you been copying from ms word?
96: [01:30:00] <Pyromanik> Keks__: seems likely
97: [01:30:00] <Keks__> Hmm.
98: [01:30:00] <Keks__> There may have been content copied from word by the people filling out the website while I make it
99: [01:30:00] <Pyromanik> change like 77 of Convert.php to have Debug::show($val)
100: [01:30:00] <Pyromanik> you could hack at the core for purpose of debugging
101: [01:31:00] <Pyromanik> word derps up everything
102: [01:31:00] <Pyromanik> more than discourage
103: [01:31:00] <Keks__> I'll note that in my documentation
104: [01:31:00] <Pyromanik> charge $600 fees for fixing word copies.
105: [01:31:00] <Pyromanik> or something like that :P
106: [01:31:00] <Keks__> So discourage that?
107: [01:32:00] <Keks__> That might explain some of the images acting funny.
108: [01:32:00] <Pyromanik> "we wrote everything out in word then employed someone to copy it from word into the website, just so we can pay twice as much to get something fucked up, so now we're going to pay you to fix it"
109: [01:32:00] <Pyromanik> Keks__: oh, they'll come back.
110: [01:32:00] <Keks__> Haha. I'm only employed to make the site. They're fending for themselves in two and a bit weeks =P
111: [01:32:00] <Pyromanik> word preserves it's own formatting, so you get <span style="color:#NOTYOURTYPOGRAPHYSTYLES" etc>
112: [01:33:00] <Pyromanik> so like 3x the cost, instead of just typing into the back end like you're supposed to.
113: [01:33:00] <Pyromanik> but mroe importantly
114: [01:33:00] <Keks__> But that's not idiot proof =P
115: [01:34:00] <Pyromanik> it preserves MSO style comments and propietary xml values
116: [01:34:00] <Pyromanik> so you get things like <!--[if MSO 10] ENTIRE REST OF WEBPAGE NOW COMMENTED OUT
117: [01:34:00] <Pyromanik> so then they get half a page and no footer
118: [01:35:00] <Pyromanik> and you just want to say "actually no, you're just retarded" but you can't, because then they won't pay you money,.
119: [01:35:00] <Pyromanik> yep.
120: [01:35:00] <Pyromanik> unless you click the HTML button
121: [01:35:00] <simon_w> Get them to use that
122: [01:35:00] <simon_w> There's a paste from word button that does a somewhat better job of stripping out that crap then normal pasting does
123: [01:35:00] <Pyromanik> and go "hey the website you built us broke"
124: [01:35:00] <Keks__> Is that visible when you go to edit the page?
125: [01:36:00] <Keks__> Okay. In the debug what should I be looking out for?
126: [01:36:00] <Pyromanik> instead of double entering all their stuffs.
127: [01:36:00] <Pyromanik> or just encourage them to work in the CMS
128: [01:36:00] <Pyromanik> mmm
129: [01:36:00] <Pyromanik> there should be some kind of illegal char
130: [01:36:00] <Pyromanik> just whatever the value is
131: [01:36:00] <simon_w> And then they can send all their spare moneys to me!
132: [01:37:00] <Pyromanik> as that's what htmlspecialchars is complaining about
133: [01:37:00] <Keks__> I have a page that starts with an image.
134: [01:37:00] <Pyromanik> that *shouldn't* matter
135: [01:37:00] <Keks__> So responds essentially with a blank.
136: [01:37:00] <Pyromanik> "[Warning] htmlspecialchars(): Invalid multibyte sequence in argument"
137: [01:38:00] <Pyromanik> yeh, but no whacked chars in an img tag
138: [01:38:00] <Pyromanik> whatever the last one is before the error will be your problem
139: [01:39:00] <Keks__> The last one before my error is a blog post =/
140: [01:40:00] <Pyromanik> there's something in there taht's making htmlspecialchars complain
141: [01:40:00] * DesignerX quit (Ping timeout: 252 seconds)
142: [01:40:00] <Pyromanik> I should imagine
143: [01:41:00] <Keks__> And now have a new error
144: [01:41:00] <irogue> https://pbs.twimg.com/media/BB0hQhBCIAAcbyl.jpg:large
145: [01:41:00] <Keks__> Well. I moved that picture
146: [01:42:00] * Pyromanik forwards irogue's link around the office
147: [01:42:00] <Keks__> Oh nope that seems to stem from the debug
148: [01:44:00] <Keks__> Limit by firstparagraph?
149: [01:44:00] <Pyromanik> or something ilke that
150: [01:44:00] <Pyromanik> the other thing you could do Keks__ is just NOT use Limitblah blah XML
151: [01:44:00] <Pyromanik> yeah, you could do FirstParagraph(html)
152: [01:46:00] <Pyromanik> mm
153: [01:46:00] <Pyromanik> not just the first block level tag
154: [01:46:00] <Keks__> That fixed it.
155: [01:46:00] <Pyromanik> sweet
156: [01:46:00] <Keks__> oooh. There appears to have been a misbehaving header
157: [01:46:00] <Pyromanik> first paragraph takes the first PARAGRAPH
158: [01:47:00] <Pyromanik> "this is the wrong summary"
159: [01:47:00] <Keks__> Aha.
160: [01:47:00] <Keks__> Yeah there's been a header tag copied across.
161: [01:47:00] <Pyromanik> come across that one before with designers sticking h2's in to bold up the intro paragraph
162: [01:47:00] <Pyromanik> and I have to go "actually no"
163: [01:48:00] <Pyromanik> Could have
164: [01:48:00] <Pyromanik> tags also get preserved when pasting html from a browser
165: [01:48:00] <Pyromanik> (ie, selecting in the rendered view also takes styles with it)
166: [01:48:00] <Pyromanik> from word?
167: [01:48:00] <Keks__> Maybe. I assumed it had come directly from the previous site.
168: [01:49:00] <Pyromanik> generally just copies html though, not actual styles
169: [01:49:00] <Keks__> Hmm. Noted.
170: [01:49:00] <Pyromanik> sometimes you get random divs and stuff come across like that
171: [01:49:00] <Keks__> Yeah I was having images with all this useless css coming across.
172: [01:49:00] <Pyromanik> mm
173: [01:49:00] <Pyromanik> style attributes and/or classnames
174: [01:49:00] <Keks__> Well thank you for solving that.
175: [01:49:00] <Pyromanik> You're welcome
176: [01:49:00] <Keks__> While I'm still here though
177: [01:50:00] <Keks__> I *think* I want to use pagination in one of my page types
178: [01:50:00] <Pyromanik> just idle in channel like the rest of us :P
179: [01:51:00] <Keks__> I want to control how many children are shown in one of my meta tags.
180: [01:51:00] <Keks__> *pages
181: [01:51:00] <Keks__> While also dynamically make one children display two lots of 3 different children.
182: [01:52:00] <Keks__> Man, words today.
183: [01:53:00] <Keks__> Okay. So I've basically made my own version of the StaffPage in which I have a ServiceMeta, ServiceHolder, ServicePage. ServicePage is the allowed child of ServiceHolder and ServiceHolder is the allowed child of ServiceMeta.
184: [01:54:00] * liam quit (Quit: liam)
185: [01:54:00] <Keks__> There are three ServiceHolder pages of which have different amounts of children - but I want to limit the children shown on the ServiceMeta page to 3 each which the last ServiceHolder displaying 6
186: [01:56:00] <Keks__> I want to control it front end?
187: [01:56:00] <Pyromanik> and you want to control that from the backend, or... ?
188: [01:56:00] <Pyromanik> ie, the number of per page?
189: [01:57:00] <Pyromanik> you'll need to return a paginated list
190: [01:57:00] <Pyromanik> if to control from front end, just follow the pagination tutorial
191: [01:57:00] <Keks__> So I would be correct in using pagination?
192: [01:57:00] <Pyromanik> just make a custom accessor
193: [01:57:00] <Pyromanik> http://api.silverstripe.org/3.0/framework/view/PaginatedList.html
194: [01:58:00] <Pyromanik> all gets and the like return lists
195: [01:58:00] <Keks__> I have had a readthrough of the Pagination Tutorial. It mentions using the SS_List but I'm unsure as to whether that's built in or I need to instigate it somewhere?
196: [01:58:00] <Pyromanik> so you can basically do something like public function PagedChildren() { return new PaginatedList($this->Children()); }
197: [01:58:00] <Pyromanik> mm
198: [01:58:00] <Pyromanik> DataList, ArrayList, etc.
199: [01:59:00] <Pyromanik> $this->Children() is a bit different, I think it's an ArrayList, not entirely sure, but it's still a list from memory
200: [01:59:00] <Pyromanik> if you do something like ServicePage::get() it returns a DataList
201: [01:59:00] <Keks__> Ah so I don't need to implement the SS_List manually?
202: [01:59:00] <Pyromanik> nope
203: [02:00:00] <Pyromanik> to set the per page
204: [02:00:00] <Pyromanik> or it defaults to 10 per page I think
205: [02:00:00] <Pyromanik> in the template that is
206: [02:00:00] <Pyromanik> anyway, after you apply the paginated list decorator, you're good to go with the same format as your results page
207: [02:00:00] <Pyromanik> http://api.silverstripe.org/3.0/framework/view/PaginatedList.html -> all available controls
208: [02:00:00] <Pyromanik> use setPageLimits
209: [02:01:00] <Pyromanik> setPageLength
210: [02:01:00] <Keks__> Hmm. I haven't done any.
211: [02:01:00] <Pyromanik> oh
212: [02:01:00] <Pyromanik> there's a new one
213: [02:01:00] <Pyromanik> nice
214: [02:01:00] <Pyromanik> (I haven't done much pagination with SS3 yet)
215: [02:02:00] <Keks__> return new PaginatedList($this->Children(), $this->request);
216: [02:02:00] <Pyromanik> I think you'll want to use Children
217: [02:02:00] <Keks__> public function PaginatedChildren() {
218: [02:02:00] <Keks__> I got as far as writing the php command into ServiceHolder.php
219: [02:03:00] <Pyromanik> sounds about right
220: [02:03:00] <Keks__> Is what I have.
221: [02:04:00] <Pyromanik> yeh
222: [02:04:00] <Keks__> So I would loop the paginated list instead of the grandchildren in my template
223: [02:04:00] <Pyromanik> should about do you right
224: [02:04:00] <Pyromanik> $list = new PaginatedList($this->Children()); $list->setPageLength(3); return $list;
225: [02:05:00] * liam has joined #silverstripe
226: [02:05:00] <Keks__> So I have that snippet instead of return new Paginatedetc?
227: [02:10:00] <Keks__> And it's returning my Meta empty
228: [02:10:00] <Keks__> http://sspaste.com/paste/show/5108811383470 is the code I have
229: [02:16:00] * DesignerX has joined #silverstripe
230: [02:18:00] * SightUnseen has joined #silverstripe
231: [02:18:00] <Keks__> Disregard the fact that my names didn't match up =/
232: [02:18:00] * SightUnseen has left #silverstripe
233: [02:20:00] <Keks__> Hmm. Okay. So it's looping through my paginated pages once.
234: [02:20:00] * robert__ quit (Changing host)
235: [02:20:00] * robert__ has joined #silverstripe
236: [02:20:00] * robert__ has joined #silverstripe
237: [02:20:00] <Keks__> But with no information.
238: [02:23:00] * robert_ quit (Ping timeout: 276 seconds)
239: [02:26:00] * robert__ is now known as robert_
240: [02:29:00] <Pyromanik> if it gets an empty list then it doesn't loop at all
241: [02:29:00] <Pyromanik> the whole 1 empty loop thing happens when no such method exists
242: [02:29:00] <Pyromanik> I think you might have a scope issue
243: [02:29:00] <Keks__> Hmm
244: [02:30:00] <Pyromanik> acts the same as <% if mylist %><% loop mylist %>
245: [02:32:00] * pex__ has left #silverstripe
246: [02:32:00] <Keks__> So I've set my php up wrong?
247: [02:32:00] <Keks__> Or could it stem that I'm trying to call a method from a class where the method doesn't exist?
248: [02:42:00] <Jakx> http://sunnysideup.co.nz/
249: [02:45:00] <aznain> I added public static $indexes = array( 'fulltext' => '(<MyName)' ); in dataobject class ... but i am getting this error The used table type doesn't support FULLTEXT indexes
250: [02:47:00] <simon_w> http://doc.silverstripe.org/framework/en/topics/search#fulltext-search-on-dataobjects
251: [02:55:00] <Keks__> Ooh. First experience of the blank page.
252: [03:02:00] * gelignite quit (Quit: http://bit.ly/nkczDT)
253: [03:03:00] <FrozenFire> So apparently I'm going to be doing some intensive ZF2 work.
254: [03:03:00] <FrozenFire> Just reading through it, SS has made me lazy.
255: [03:03:00] <FrozenFire> :P
256: [03:07:00] <perverse`w> currently doing a bit of a mini-audit on the state of each framework in the wild at the moment so i can choose the right one for my new job
257: [03:07:00] <perverse`w> im going through the same thing atm, FrozenFire
258: [03:08:00] <perverse`w> Yii looked ok
259: [03:08:00] <perverse`w> not g ood at all for churn and burn stuff, though
260: [03:08:00] <perverse`w> sf2 did not impress me at all... talk about re-inventing the wheel for no good reason... i think it might have a place in building massive applications that have a long shelf life
261: [03:09:00] <perverse`w> I haven't found a single framework that builds the database from the activerecord objects of the application yet like SS does :\
262: [03:10:00] <perverse`w> or so im told... I can't f ind any docs to that effect yet, though
263: [03:10:00] <perverse`w> allegedly Yii can go both ways and create your models from the DB or create your DB from the models
264: [03:10:00] <perverse`w> at the moment im checking out Laravel... which has a really, really nice ActiveRecord implementation... but it doesn't appear as though it can build schema from it
265: [03:11:00] * Jakx quit (Ping timeout: 256 seconds)
266: [03:12:00] <FrozenFire> Well, my preference for it is largely out of needing to get shit done yesterday
267: [03:12:00] <perverse`w> it really is a killer feature that sets SS apart a bit from everything else i've seen
268: [03:13:00] <perverse`w> it sure is
269: [03:13:00] <FrozenFire> That is, it's extremely fast to get a site up and running
270: [03:14:00] <perverse`w> using straight up php in templates seems to be the way the industry has shifted there
271: [03:14:00] <perverse`w> one thing i have noticed is that frameworks, by and large, have moved away from templating languages
272: [03:14:00] <perverse`w> something i wasn't really aware of whilst coding happily in SSland for the past few years
273: [03:15:00] <perverse`w> would love to see SS seperate that logic out far enough that this was possible in SS, too
274: [03:15:00] <FrozenFire> Yeah, it's the direction things are rightfully moving.
275: [03:16:00] <perverse`w> all my front end guys know php well enough to drop some tags in
276: [03:16:00] <FrozenFire> I agree that a templating language is nice to have, but SS's templating language can get in the way for certain tasks.
277: [03:16:00] <perverse`w> last time i checked out the template parsing stuff in SS, it was pretty brutal
278: [03:16:00] <FrozenFire> It's a good beginner's tool
279: [03:16:00] <perverse`w> yeah it's fine for beginners, I think it would be beneficial if it were optional in this day and age, though
280: [03:17:00] <FrozenFire> SS can use pure PHP, sfaik
281: [03:17:00] <perverse`w> and a custom templating language is considered a massive drawback when we look at SS
282: [03:17:00] <perverse`w> interesting, I've never actually looked into it
283: [03:17:00] <FrozenFire> It's just the default to use the templating language.
284: [03:18:00] <perverse`w> simon_w - can you confirm that/give me the heads up on how that's done?
285: [03:20:00] <perverse`w> ?
286: [03:20:00] <perverse`w> like - do you just drop php tags into a template and it works fine
287: [03:21:00] <FrozenFire> Can probably just name your templates accordingly, with .php
288: [03:21:00] <FrozenFire> I think there's nothing special that needs to be done, though I've actually never used PHP for templates.
289: [03:21:00] <perverse`w> and what context would you be in if you tried? like.. how would it handle which scope you're in and shit? referencing controller/model methods and properties etc
290: [03:21:00] <FrozenFire> Though don't quote me on that
291: [03:23:00] <perverse`w> hmm interesting
292: [03:25:00] <perverse`w> i guess i more mean... when you're in an SS template - you're in that ModelAsController (or whatever it's called) scope... and can reference methods on that controller and/or related model as through you were in that scope ($Title being the title of that page, etc)... but then if you cut into a loop, you change scopes into the scope of the object you're looping through
293: [03:25:00] <perverse`w> i just don't really get how any of that would work/be referenced in pure php
294: [03:25:00] <perverse`w> you'd have to use custom renderWith variables or some such
295: [03:33:00] * Keks__ quit (Quit: Page closed)
296: [03:35:00] * ec8or quit (Read error: Connection reset by peer)
297: [03:35:00] * ec8or has joined #silverstripe
298: [03:37:00] <Pyromanik> SS is currently pretty hard stuck into it's own template lingo
299: [03:37:00] <Pyromanik> You cannot put php into templates
300: [03:38:00] <Pyromanik> then you might see third party modules for using things like twig instead of .ss files
301: [03:38:00] * DesignerX quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/)
302: [03:38:00] <Pyromanik> or vanilla php
303: [03:38:00] <Pyromanik> do you have an example of such?
304: [03:38:00] <Pyromanik> perverse`w: I'm interested
305: [03:38:00] <Pyromanik> Decoupling for the purpose of decoupling has been mentioned though
306: [03:39:00] <Pyromanik> na I mean just some rando framework that does php templates?
307: [03:39:00] <perverse`w> nah, I've never implemented such a thing man, just speculating on how one might achieve it
308: [03:39:00] <perverse`w> oh
309: [03:40:00] <perverse`w> or Zend
310: [03:40:00] <perverse`w> actually, check out any php 5.3 framework that isn't SS, and you'll find pretty much pure php templates
311: [03:40:00] <Pyromanik> I'm also curious how one gets around separation of concerns
312: [03:40:00] <Pyromanik> while using vanilla php
313: [03:40:00] <perverse`w> have a look at Yii or Laravel
314: [03:40:00] <Pyromanik> and/or how does one keep it damn shit tidy
315: [03:40:00] <perverse`w> or sf2
316: [03:41:00] <Pyromanik> yeh
317: [03:41:00] <Pyromanik> true
318: [03:41:00] <Pyromanik> I've seen
319: [03:41:00] <Pyromanik> things like opencart
320: [03:41:00] <perverse`w> opencart isn't really a framework
321: [03:41:00] <Pyromanik> all just seems a bit... backwards to me.
322: [03:41:00] <Pyromanik> but has templates
323: [03:41:00] <perverse`w> but yeah it uses php in its views, too
324: [03:42:00] <perverse`w> ultimately, if you go back far enough, php was a language built as a templating language
325: [03:42:00] <Pyromanik> yeah
326: [03:42:00] <Pyromanik> I just thought
327: [03:42:00] <Pyromanik> we'd come further than that
328: [03:42:00] <perverse`w> i think it's a case of further not necessarily being better
329: [03:42:00] <Pyromanik> I mean
330: [03:43:00] <Pyromanik> I guess render time would go down to f-all
331: [03:43:00] <perverse`w> what's the point in parsing an entire new markup language when your native environment does it fine already
332: [03:43:00] <Pyromanik> mmm
333: [03:43:00] <Pyromanik> separation of concerns
334: [03:43:00] <Pyromanik> I guess is the biggest.
335: [03:43:00] <perverse`w> really depends on what you're trying to seperate out
336: [03:43:00] <Pyromanik> how do you stop some chump from making a template like <?php LOLHAXXOR THE CORE ?>
337: [03:44:00] <perverse`w> which chump?
338: [03:44:00] <Pyromanik> any
339: [03:44:00] <perverse`w> someone that hacks your server, or someone building an app?
340: [03:44:00] <Pyromanik> both
341: [03:45:00] <perverse`w> or whether they execute in their own jail
342: [03:45:00] <Pyromanik> advantage*
343: [03:45:00] <Pyromanik> but templates at least have the andvantage of being immutable
344: [03:45:00] <perverse`w> now, what im not sure about in these php templates is whether the templates actually have access to the entire userland of the framework, so to speak
345: [03:45:00] <Pyromanik> yeah
346: [03:45:00] <perverse`w> as for the building... well, stopping people from doing stupid thingsi n any framework is difficult
347: [03:45:00] <Pyromanik> or getting some dev going <?php thisFrameworkConfusesMeSoHereIReinventTheWheel(); ?>
348: [03:45:00] <perverse`w> well, i'd argue that if your server is hacked then they have access to your config files and dont need to muck around with hacking templates
349: [03:46:00] <perverse`w> not sure, i'd have to think about it
350: [03:46:00] <Pyromanik> how to jail PHP?
351: [03:46:00] <perverse`w> maybe not at all
352: [03:46:00] <perverse`w> from just within php itself, probably not very easily
353: [03:47:00] <Pyromanik> unless you tokenise the include file first
354: [03:47:00] <Pyromanik> <div class="<?php $var = new HerptyDerp('suddenly out of scope'); ?>
355: [03:47:00] <Pyromanik> and only if there aren't any include the file
356: [03:47:00] <Pyromanik> and check for tokens that aren't echo
357: [03:48:00] <Pyromanik> but then how loop
358: [03:48:00] <Pyromanik> how stop some rando reassigning a var they're supposed to just echo?
359: [03:48:00] <perverse`w> i've got an install of yii and an install of laravel sitting here in my IDE right now, ill throw some shit in some templates and see what it thinks
360: [03:48:00] * howardgrigg quit (Remote host closed the connection)
361: [03:48:00] <Pyromanik> how if
362: [03:50:00] <perverse`w> and, overall, there are many things i dislike about it
363: [03:50:00] <Pyromanik> also, symfony2 didn't impress?
364: [03:50:00] <perverse`w> it didn't impress me for our uses
365: [03:50:00] <Pyromanik> interesting
366: [03:51:00] <Pyromanik> same could be said for SS
367: [03:51:00] <perverse`w> there's quite a bit to like about it, too
368: [03:51:00] <perverse`w> absolutely, it's a personal preference thing
369: [03:52:00] <perverse`w> not because I don't see the point, but because compared to silverstripes automagic activerecord implementation it's very clunky to use
370: [03:52:00] <perverse`w> i don't particularly like the datamapper pattern that doctrine2 uses
371: [03:53:00] <perverse`w> I can see datamapper being useful on big apps that need to change db layers and whatnot, they're not the kind of things we build, though
372: [03:53:00] <perverse`w> and speed of development and ease of development are pretty important to us here
373: [03:54:00] <perverse`w> look into how many different ways you can declare routes, for example
374: [03:54:00] <perverse`w> I don't like the way sf2 has a thousand different ways to do things
375: [03:54:00] <perverse`w> convention is really important for us for RAD reasons, too... sf2 is really weak on convention
376: [03:54:00] <perverse`w> we build mostly promotional stuff that is published one day, then out the door the next
377: [03:55:00] <Pyromanik> oh really
378: [03:55:00] <Pyromanik> that's all very interesting to read
379: [03:55:00] <perverse`w> and i don't want to have to write our own internal set of conventions when it should be provided by the framework ideally
380: [03:55:00] <perverse`w> i don't like the PSR-0 format for autoloading, either
381: [03:56:00] <Pyromanik> psr-0?
382: [03:56:00] <perverse`w> https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md
383: [03:57:00] <perverse`w> it's the convention (one of symfony2's very few conventions, seemingly) of how files are included into your app via namespacing
384: [03:58:00] <perverse`w> I think they've missed the mark with namespacing in sf2 and overused the shit out of it for no good reason i can yet fathom
385: [03:59:00] <Pyromanik> talk to simon_w about php namespaces
386: [03:59:00] <Pyromanik> ouch
387: [03:59:00] <perverse`w> the bit in the middle that ties it together i guess is what you'd call the framework
388: [03:59:00] <perverse`w> it's their whole component-based ethos... realistically when i look at symfony2 i don't see much of a framework to speak of, it's a collection of unrelated (but complimentary) components tied together
389: [03:59:00] <Pyromanik> just not compulsory
390: [03:59:00] <Pyromanik> is*
391: [03:59:00] <Pyromanik> actually
392: [03:59:00] <Pyromanik> I think it already it
393: [03:59:00] <Pyromanik> I think he and sminee are working towards namespacing SS
394: [04:00:00] <Pyromanik> mmm, what irogue said. But that also means that one can namespace a module
395: [04:00:00] <Pyromanik> or bust
396: [04:00:00] <Pyromanik> SS
397: [04:00:00] <Pyromanik> but like meh
398: [04:00:00] <Pyromanik> though I suppose I'm bias
399: [04:00:00] <irogue> yeah, SS3 was mostly just namespaced to avoid complex with third-party libraries and core php classes etc
400: [04:00:00] <Pyromanik> yeah, but I can agree with what you've shared here.
401: [04:00:00] <perverse`w> none of these are necessarily bad things, though... it's just my opinion and perspective, I can see high-end enterprise use-cases in my mind where sf2 would be absolutely the best option
402: [04:00:00] <irogue> django! :-P
403: [04:01:00] <Pyromanik> in regards to Requirements
404: [04:01:00] <perverse`w> it seems excessive to me
405: [04:01:00] <perverse`w> I just hate in sf2 that when you write a class... you need to have a tonne of "use"'s at the top of your file just to access the libraries you are after
406: [04:01:00] <Pyromanik> not an uncommon include
407: [04:01:00] <Pyromanik> you make a module with a Sidebar.ss
408: [04:01:00] <Pyromanik> I was thinking around that today
409: [04:01:00] <perverse`w> yeah
410: [04:01:00] <Pyromanik> although no namespacing in templates afaik
411: [04:02:00] <Pyromanik> etc
412: [04:02:00] <perverse`w> yeah
413: [04:02:00] <Pyromanik> or php
414: [04:02:00] <perverse`w> and mooshed the concepts together
415: [04:02:00] <perverse`w> what i see in sf2 is they have gone out and grabbed everything they liked out of java, rails and a couple of others
416: [04:02:00] <Pyromanik> REQUIRE _ONCE
417: [04:02:00] <Pyromanik> vanilla
418: [04:02:00] <Pyromanik> though I guess that's up to the scrutiny of the dev.
419: [04:02:00] <Pyromanik> make sure they don't fuck up their own app
420: [04:02:00] <Pyromanik> perverse`w: sounds like C# to me.
421: [04:02:00] <Pyromanik> java
422: [04:03:00] <Pyromanik> so someone goes and builds a framework
423: [04:03:00] <Pyromanik> jsut to get namespacing around includes.
424: [04:03:00] <Pyromanik> lol
425: [04:03:00] <Pyromanik> sometimes
426: [04:03:00] <Pyromanik> things support things natively
427: [04:03:00] <Pyromanik> but miss one small thing like collision avoidance
428: [04:03:00] <Pyromanik> that takes about 30 seconds to run so requires cache and optimisation, etc.
429: [04:04:00] <perverse`w> for me it's just more namespace where you need to namespace, not everywhere, for everything
430: [04:04:00] <perverse`w> lol yeah
431: [04:05:00] <Pyromanik> mm
432: [04:05:00] <perverse`w> so yeah ultimately my thoughts on sf2 are - cool tech... probably more than a bit wanky, but I can see where they are coming from, and their ideas arn't bad
433: [04:06:00] <ss23> http://www.nbr.co.nz/sites/default/files/images/2013%20NZCOP%201%20-%20RAINZ%20v%20Teleom%20NZ%202592_1.pdf
434: [04:06:00] <Pyromanik> I'm all WHY?
435: [04:06:00] <Pyromanik> "oh ie, of course"
436: [04:06:00] <Pyromanik> other times I'm like
437: [04:06:00] <perverse`w> oh man, i havent seen dojo in yeaaaars
438: [04:06:00] <ss23> A+ good read
439: [04:06:00] <Pyromanik> perverse`w: I learnt about zepto.js the other day. SO COOL.
440: [04:06:00] <Pyromanik> sounds a bit like Dojo 1.7
441: [04:06:00] <Pyromanik> now they have dojo 1.8 it's nicer with AMD
442: [04:06:00] <Pyromanik> but...
443: [04:06:00] <Pyromanik> also kinda like jQuery
444: [04:06:00] <spronk> FUCK YEAH
445: [04:07:00] <Pyromanik> uses native methods instead of shims
446: [04:07:00] <Pyromanik> so no IE support
447: [04:07:00] <Pyromanik> jquery in 9kb instead of 78
448: [04:07:00] <Pyromanik> or something like that
449: [04:07:00] * DigNZ quit (Quit: DigNZ)
450: [04:07:00] <Pyromanik> because no IE
451: [04:07:00] <perverse`w> oh nice
452: [04:07:00] <perverse`w> that is very cool
453: [04:07:00] <Pyromanik> anyway, it's home time
454: [04:07:00] <Pyromanik> bye
455: [04:08:00] * ss23 runs away
456: [04:08:00] * Pyromanik has left #silverstripe
457: [04:08:00] <ss23> Fuck it, I'm going home too
458: [04:15:00] * nickmolhoek quit (Quit: nickmolhoek)
459: [04:16:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/56336c37587a...0ab76e8e11a5
460: [04:16:00] <travis-ci> [travis-ci] silverstripe/sapphire#1276 (3.1 - 0ab76e8 : Sean Harvey): The build has errored.
461: [04:16:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/4467479
462: [04:16:00] * travis-ci has joined #silverstripe
463: [04:16:00] * travis-ci has left #silverstripe
464: [04:30:00] <spronk> perverse`w: what are your thoughts on laravel? and, v4?
465: [04:30:00] <simon_w> People were trying to talk to me?
466: [04:30:00] * simon_w cbf reading backscroll
467: [04:32:00] <perverse`w> first impressions are good
468: [04:32:00] <perverse`w> simon_w - it's all good man, i was hitting you up for confirmation about native php in SS templates, but we moved past that in the discussion
469: [04:32:00] <perverse`w> spronk - im just going over laravel at the moment
470: [04:33:00] <simon_w> Well, you can't do that
471: [04:33:00] <simon_w> No :)
472: [04:33:00] <simon_w> SilverStripe isn't a component framework
473: [04:33:00] <perverse`w> please? :D
474: [04:33:00] <perverse`w> im aware of that
475: [04:33:00] <perverse`w> in short: hurry up and decouple the templating logic from SS :) lol
476: [04:34:00] <spronk> SS is a monolithic beast of beastliness
477: [04:34:00] <perverse`w> agreed
478: [04:34:00] <perverse`w> that doesn't make it a rule that everything needs to be tightly integrated either, though
479: [04:34:00] <spronk> ...but pure PHP templates would be baws
480: [04:35:00] <perverse`w> how do you mean, simon_w?
481: [04:35:00] <perverse`w> yeah spronk, im impressed with laravel, it's very tidy
482: [04:35:00] <simon_w> And it's rather easier to allow for them
483: [04:35:00] * spronk is waiting for a more final version of laravel 4, then might start migrating some of his current workplace's apps to it
484: [04:35:00] <simon_w> Subclass SSViewer, override process() to do whatever you want, override getViewer() in your controller to return an instance of your viewer class
485: [04:36:00] <spronk> when it was first out, I was a bit miffed at the lack of coupling between database and framework ORM
486: [04:36:00] <perverse`w> this is intersting, because im currently debating that myself
487: [04:36:00] <perverse`w> will keep that in mind, simon_w
488: [04:36:00] <spronk> but these days I advocate against heavy ORMs
489: [04:37:00] <spronk> IMO it depends on what you're doing with it
490: [04:37:00] <simon_w> Because you're lazy?
491: [04:37:00] <spronk> if you're building apps for the long haul, I would almost certainly recommend decoupling the working model from the ORM
492: [04:37:00] <simon_w> I still don't get why people want pure PHP templates, but whatever. Shoot your own foot :p
493: [04:37:00] <perverse`w> im a big fan of activerecord in most use cases, and SS's implementation is excellent, especially how it builds the schema for you
494: [04:37:00] <perverse`w> simon_w - there's any number of reasons ranging from arbitrary to reasonable
495: [04:38:00] <perverse`w> it doesn't matter for me, I don't do front end development
496: [04:38:00] <perverse`w> so no, not because im lazy
497: [04:38:00] <spronk> being locked in to a particular implementation of database becomes a huge headache down the track
498: [04:38:00] <simon_w> And there isn't any number :p
499: [04:38:00] <perverse`w> and i also know the SS templating language like the back of my hand
500: [04:39:00] <perverse`w> the main reason i can think of is that it seems heavy handed to me to parse an entirely seperate markup for your templates rather than just using what is there natively
501: [04:39:00] <perverse`w> spronk - that depends entirely on the type of applications you're building
502: [04:39:00] <spronk> php in the template lets you do silly little things that you would otherwise have to create controller methods for in SS
503: [04:39:00] <perverse`w> and most other frameworks post php5.3 seem to agree with me on that
504: [04:40:00] <perverse`w> the types of apps im building have a short lifespan, usually coupled to marketing campaigns
505: [04:40:00] <spronk> mm, in that sort of case you really want rapid rapid
506: [04:40:00] <perverse`w> ergo RAD is very relevant to me, and the thought of needing to switch db layers is just irrelevant, as any given app will only have a limited shelf life
507: [04:41:00] <spronk> so lack of schema coupling will probably piss you off a lot :)
508: [04:41:00] <perverse`w> definitely, and unfortunately i haven't found another framework that couples the schema with the activerecord implementation
509: [04:41:00] <perverse`w> i dont know that anyone else is doing it
510: [04:42:00] <perverse`w> someone told me that Yii can do it... but from what i've seen Yii works in the opposite direction, you build your schema and then Yii will produce your model classes for you
511: [04:43:00] <perverse`w> hardly ideal when you want to add methods to your models and then update your db later...
512: [04:43:00] <simon_w> Zauberfisch, is https://github.com/blueimp/jQuery-File-Upload what UploadField uses?
513: [04:43:00] <irogue> of course, being an OSS project, you could always fork silverstripe into another system with php templates
514: [04:43:00] <simon_w> irogue, you can do that with a module
515: [04:43:00] <Zauberfisch> yes
516: [04:43:00] <spronk> yeah
517: [04:44:00] <perverse`w> yeah irogue - it has crossed my mind... and once i move my pc down to Sydney from newcastle, i may just do that
518: [04:44:00] <perverse`w> I need to build up a nice healthy github account... would be a nice little starter project
519: [04:44:00] <simon_w> Zauberfisch, nah, need drag+drop uploading in a project and figured may as well use your research
520: [04:44:00] <Zauberfisch> simon_w you feel like updating?
521: [04:45:00] <Zauberfisch> simon_w ah, well, at the time of choosing, it was the best one with a license compatible to bsd
522: [04:45:00] <Zauberfisch> simon_w but since them the plugin has undergone several API changes (only good ones I assume ^^)
523: [04:45:00] * instabil has joined #silverstripe
524: [04:45:00] * cloph_away quit (Read error: Operation timed out)
525: [04:46:00] <Zauberfisch> simon_w like he changed a lot fo the api to make it more customize able, I had to hack over write a couple of methods to get it to do what I needed for ss3, those things are now possible without any hassle
526: [04:46:00] <perverse`w> i like eloquent, their controllers are robust... it's all very clean
527: [04:46:00] * cloph_away has joined #silverstripe
528: [04:46:00] <perverse`w> spronk - laravel is definitely worth a very close look at, im impressed with what has been put together there... they seem to have learned a lot from the sins of other frameworks
529: [04:46:00] <simon_w> Well, I'll have a poke when http://new.livestream.com/i-filmscience/tbl-internetnz stops distracting me
530: [04:47:00] <perverse`w> having said that, i'd still use silverstripe myself
531: [04:48:00] <perverse`w> lithium!
532: [04:48:00] <perverse`w> thank you, lol
533: [04:48:00] <spronk> ;D
534: [04:48:00] <perverse`w> i certainly use SS for everything i build outside of work... and im desperately trying to direct my workplace to use SS... but that's a long term goal
535: [04:48:00] <spronk> perverse`w: you could also look at something a bit more voodoo like Lithium
536: [04:48:00] <perverse`w> at the moment I just need to tow the line here and test out all the big frameworks to satisfy management
537: [04:48:00] <spronk> uses Mongo, schema stuff is seemingly... magic
538: [04:48:00] * instabil2 quit (Ping timeout: 256 seconds)
539: [04:48:00] <perverse`w> i was trying to think of the name of that yesterday
540: [04:49:00] <perverse`w> yeah, i had seen it somewhere once and thought oo... that's a bit different
541: [04:49:00] <spronk> lith has some pretty cool stuff
542: [04:49:00] <spronk> esp around handling multiple data sources
543: [04:49:00] <perverse`w> but couldnt for the life of me remember what it was called
544: [04:50:00] <spronk> not many of those around :)
545: [04:50:00] <spronk> though personally am looking for a framework designed with database stuff like different read/write sources and sharding
546: [04:51:00] <perverse`w> yeah true that
547: [04:52:00] <ss23> Hahaha, Tim Berners-lee talking in NZ, just started speaking maori
548: [04:52:00] <perverse`w> how do you mean different read/write sources, exactly?
549: [04:52:00] <perverse`w> like... having an activerecord implementation that will read it's record from one db, but save to another?
550: [04:52:00] <spronk> i.e. if i want to write to a master, and read from one of a few slaves
551: [04:52:00] <perverse`w> ah i see
552: [04:53:00] <spronk> but you have to DIY it hosting in NZ at the moment, and that takes time and effort
553: [04:53:00] <perverse`w> ah ok
554: [04:53:00] <perverse`w> couldn't you implement a more... invisible solution to that in hardware/server archetecture, rather than in your software?
555: [04:53:00] <spronk> well, you can
556: [04:53:00] <spronk> that's basically what cloud db services do
557: [04:53:00] <perverse`w> yeah, that was my thought
558: [04:54:00] <spronk> for the app I currently work on yeah
559: [04:54:00] <perverse`w> and you need local hosting?
560: [04:57:00] <perverse`w> ah yeah, rock and a hard place then, i guess
561: [04:57:00] <spronk> mm
562: [04:58:00] <spronk> just maens more work :P
563: [04:58:00] <aznain> I need exampe for link method for dataobject
564: [04:58:00] <perverse`w> lol indeed
565: [04:59:00] <aznain> I am doing it not proper way like return urldecode('/section/'.$this->ID.'/'.$this->SectionName);
566: [05:04:00] * slith1 has joined #silverstripe
567: [05:05:00] * slith1 has left #silverstripe
568: [05:08:00] * liam quit (Quit: liam)
569: [05:11:00] * DesignerX has joined #silverstripe
570: [05:21:00] * slith3 has left #silverstripe
571: [05:21:00] * slith3 has joined #silverstripe
572: [05:39:00] <ss23> simon_w: Did you just clap IRL?
573: [05:40:00] * Shrike_Finland quit (Quit: Leaving.)
574: [05:40:00] <simon_w> ss23, no, that would be silly
575: [05:40:00] <ss23> lol
576: [05:40:00] <ss23> I managed to resist, but the urge was strong
577: [05:41:00] * Shrike_Finland has joined #silverstripe
578: [05:43:00] * EPIK quit ()
579: [05:44:00] * Shrike_Finland quit (Client Quit)
580: [05:48:00] <ss23> simon_w: :<
581: [05:48:00] <ss23> simon_w: what about now?
582: [05:48:00] <simon_w> ss23, playing with my flash drives
583: [05:49:00] <simon_w> I think his mic's still on
584: [05:55:00] * congiii has joined #silverstripe
585: [05:55:00] <simon_w> And there's the video: http://new.livestream.com/i-filmscience/tbl-internetnz/videos/10448399
586: [05:59:00] <congiii> hi, does uploadfield work just as the same as how you implement it in CMS? I have this line in front-end ,$uploadField = new UploadField($name = 'Photo',$title = 'Photo') and the upload field is showing in front-end form but i get "SyntaxError: JSON.parse: unexpected character" the CMS uploading works ok though.. thanks
587: [06:09:00] <DesignerX> congiii: I think the uploadfield has some problems on teh frontend . I havet tested it my self but saw few posts on the forum
588: [06:16:00] <congiii> hmm.. yeah. i am also looking for solution in the forum but can't find one
589: [06:21:00] <congiii> I mean... FileField
590: [06:21:00] <congiii> fileUpload works though
591: [06:23:00] <DesignerX> does file field allow multiple files ?
592: [06:29:00] <congiii> i haven't multiple files
593: [06:30:00] <congiii> i haven't tested multiple files
594: [06:37:00] <DesignerX> http://homeserver.designerx.com.au/SS3Loaded/index.php/
595: [06:37:00] <DesignerX> I have enabled it, the insatller passes the check & confirm mod_rewrite is on, but I still get index.php in the domain .
596: [06:37:00] <DesignerX> I need help with mod rewrite again
597: [06:38:00] <DesignerX> any idea what could the problem be ?
598: [06:54:00] * mirrors has joined #silverstripe
599: [06:55:00] <mirrors> Hey everyone...I just upgraded one of my SS2.4 projects to SS3.0...yay...however now the left hand links do not work. If I am on pages and I click settings the blue loader appears however I am not redirected to settings
600: [06:57:00] <mirrors> i can see the different requests in the console
601: [06:57:00] <mirrors> but the page does not change
602: [06:57:00] <mirrors> and the response doesnt look like an error
603: [07:07:00] * Error404NotFound quit (Read error: Connection reset by peer)
604: [07:07:00] * aznain quit (Ping timeout: 245 seconds)
605: [07:10:00] * Error404NotFound has joined #silverstripe
606: [07:11:00] * simon_w|air has joined #silverstripe
607: [07:19:00] * Shrike_Finland has joined #silverstripe
608: [07:22:00] * willr_ quit (Quit: willr_)
609: [07:44:00] * liam has joined #silverstripe
610: [07:46:00] <DesignerX> i had similar problem when the backend didnt load correctly , the CMS didnt have access to the cache foilder
611: [07:46:00] <DesignerX> mirrors: hi, you have the correct permisstions on silverstripe-cache ?
612: [07:55:00] * Bollig|DesignCty has left #silverstripe
613: [07:56:00] * FinBoWa has joined #silverstripe
614: [07:57:00] <FinBoWa> any composer gurus here around to clarify me something :)
615: [07:57:00] <FinBoWa> good morning
616: [07:58:00] <FinBoWa> how in the world do I declare a package requirement so it doesn't leave it as a git submodule?
617: [08:06:00] <simon_w|air> Composer doesn't use submodules
618: [08:07:00] <FinBoWa> i mean that it leaves the .git folders in tack in the downloaded requirement
619: [08:08:00] <FinBoWa> "silverstripe/bootstrap-forms": "dev-master"
620: [08:08:00] <FinBoWa> },
621: [08:08:00] <FinBoWa> actually i havent
622: [08:08:00] <FinBoWa> if i declare a requirement "silverstripe/cms": "3.0.3" -> it strips out the git folders from that
623: [08:08:00] <simon_w|air> or whatever the flag is
624: [08:08:00] <FinBoWa> just a plain composer file
625: [08:08:00] <FinBoWa> "require": {
626: [08:08:00] <FinBoWa> "silverstripe/cms": "3.0.3",
627: [08:08:00] <simon_w|air> That's because you would've started your project with --keep-vcs
628: [08:08:00] <FinBoWa> "silverstripe/framework": "3.0.3",
629: [08:08:00] <FinBoWa> "silverstripe/userforms": "dev-master",
630: [08:09:00] <FinBoWa> "silverstripe/cms": "*" would leave the git package there
631: [08:09:00] <FinBoWa> "silverstripe/userforms": "dev-master" are left with the .git folder intact
632: [08:10:00] <simon_w|air> Most likely that you're allowing dev versions, rather than a set version
633: [08:10:00] <FinBoWa> I'm not just getting what is the magic in the lines that causes it strip the .git folders in the other :)
634: [08:13:00] <FinBoWa> hmm.. wouldn't that declaration cause the silverstripe packages to also be left with the git folder
635: [08:14:00] * liam quit (Quit: liam)
636: [08:14:00] <FinBoWa> as the default installer that Iv been testing also HAS that minim-dev but it won't leave the git folders for the frame and cms folder
637: [08:15:00] <FinBoWa> this SHOULDNT be that hard afaik but for some reason is..
638: [08:15:00] <simon_w|air> If the .git folders are around and you didn't use --keep-vcs with your composer create-project call, then it's most likely a bug in composer
639: [08:15:00] <FinBoWa> id suspect that there is something that one can add to the requirement clause but I just can't figure it out
640: [08:16:00] <simon_w|air> That option has nothing to do with the composer.json file
641: [08:18:00] <FinBoWa> but if i don't use and add new requirements to the "non vcs" installation it will leave the git folder for those
642: [08:18:00] <FinBoWa> if i use the composer and the silverstripe installer package with the --keep-vcs clause -> it will leave the git folders intact
643: [08:19:00] * liam has joined #silverstripe
644: [08:19:00] <simon_w|air> Oh right, yes. That's composer being stupid and not giving you the option anywhere beyond the create-project
645: [08:20:00] <FinBoWa> just looking at this https://packagist.org/packages/silverstripe/userforms
646: [08:21:00] <FinBoWa> less see what happens if i require the "silverstripe/userforms": "0.5.*@dev" :)
647: [08:21:00] <FinBoWa> i required that dev master..
648: [08:24:00] <FinBoWa> did a composer.json file with only the "require": {
649: [08:24:00] <FinBoWa> }
650: [08:24:00] <FinBoWa> "silverstripe/userforms": "0.5.*@dev"
651: [08:26:00] <FinBoWa> there must be a declaration somewhere for this!! but where :/
652: [08:26:00] <FinBoWa> started to download the frameworks and whatnots.. lets see what comes out of that
653: [08:27:00] <FinBoWa> that also left the git folders intact
654: [08:28:00] * zfmf has joined #silverstripe
655: [08:29:00] * congiii quit (Ping timeout: 245 seconds)
656: [08:34:00] <simon_w|air> There is no option to decide if you want the vcs files beyond the initial create-project
657: [08:34:00] <FinBoWa> at least really annoying :/
658: [08:34:00] <simon_w|air> Yes, that's a problem with composer
659: [08:36:00] <FinBoWa> seems so but the weirdest thing is that if i create a new packagist project and just require these "silverstripe/cms": "3.0.3", "silverstripe/framework": "3.0.3" and their git folders ARE removed.. but the user forms isn't :D
660: [08:36:00] <simon_w|air> That's because you're using create-project, rather than update
661: [08:37:00] <FinBoWa> don't follow you there.. in my option that would mean ALL of the either as the .git folder intack
662: [08:37:00] <FinBoWa> not only two of them
663: [08:37:00] <FinBoWa> intact
664: [08:38:00] <FinBoWa> called composer update..
665: [08:38:00] <FinBoWa> i did this by composer init
666: [08:38:00] <FinBoWa> added these: "silverstripe/cms": "3.0.3","silverstripe/framework": "3.0.3","silverstripe/userforms": "dev-master"
667: [08:39:00] <FinBoWa> seems that there is some logic in the madness but what is it
668: [08:39:00] <FinBoWa> cms and framework don't have the .git folder in them, but user forms has
669: [08:40:00] <FinBoWa> can it be something in their individual composer files o-O
670: [08:40:00] <FinBoWa> anyways.. annoying as hell :/
671: [08:45:00] * ARNHOFF has joined #silverstripe
672: [08:46:00] * ARNHOFF is now known as ARNHOE
673: [08:46:00] <FinBoWa> got this answer on composer-dev: wesleymason: versions come from tags and Composer will try to use the git HTTP API to download a tarball of the package for that tag rather than using git, while dev-* comes from branches, masters and SHA1 hashes, so it uses git to check then out.
674: [08:47:00] <FinBoWa> not sure what I can do with this answer yet but something there :D
675: [08:59:00] * lx-berlin has joined #silverstripe
676: [09:07:00] <liam> is it possible to render a form control from within code without it being in a form?
677: [09:09:00] * popeshoe quit (Quit: Leaving)
678: [09:10:00] * popeshoe has joined #silverstripe
679: [09:12:00] * kinglozzer has joined #silverstripe
680: [09:13:00] <simon_w|air> $field->forTemplate() ?
681: [09:19:00] * chillu has joined #silverstripe
682: [09:41:00] * lenix- quit (Read error: Connection reset by peer)
683: [09:42:00] <kinglozzer> Argh, decisions.
684: [09:42:00] * lenix has joined #silverstripe
685: [09:42:00] <kinglozzer> Managed cloud hosting or managed dedicated? We're struggling on shared hosting with 6 SilverStripe sites, hitting resource limits.
686: [09:45:00] <ss23> I would go with unmanaged VPS personally, but depends on if you have a sysadmin to keep your boxes running
687: [09:46:00] * DigNZ has joined #silverstripe
688: [09:46:00] * DigNZ quit (Remote host closed the connection)
689: [09:46:00] * DigNZ has joined #silverstripe
690: [09:47:00] <ss23> Cloud doesn't normally mean VPS
691: [09:47:00] <ss23> well, not single VPS
692: [09:47:00] <kinglozzer> We don't have anyone to keep ours running, so we want something managed. I assume by 'cloud' they mean VPS
693: [09:55:00] * funkygibbon has joined #silverstripe
694: [09:56:00] <simon_w|air> Cloud usually varies between being really shit and okay enough that it doesn't usually matter
695: [09:57:00] <simon_w|air> Dedicated is rather overkill for six sites
696: [10:03:00] <DesignerX> + they ususally expandable, so you can buy more resources when u need
697: [10:03:00] * DigNZ quit (Quit: DigNZ)
698: [10:03:00] <DesignerX> kinglozzer: managed VPS is good for small-medium amount of sites
699: [10:04:00] <ss23> Depending on the kidn of sites, static publishing can work well
700: [10:04:00] <kinglozzer> simon_w|air, ss23, DesignerX: Sorry I should've mentioned it's six sites currently, it will grow massively. We'd also be migrating another 90 or so non-SS sites to the new server
701: [10:07:00] <FinBoWa> cpanel to ease the admin woes + lighthttp to get the most out of the performance
702: [10:07:00] <ss23> If cpanel is the answer, then screw you
703: [10:07:00] <FinBoWa> lol
704: [10:08:00] <DesignerX> lol
705: [10:08:00] <DesignerX> CPanel is gooood
706: [10:08:00] <ss23> When someone makes an admin gui that doesn't suck really bad, I'll use it
707: [10:08:00] <FinBoWa> screw you back sir
708: [10:08:00] <ss23> :P
709: [10:08:00] <FinBoWa> if you want to do console work be my guest
710: [10:08:00] <ss23> I do, regulrarly, and I've never looked back
711: [10:09:00] <FinBoWa> but for majority of the admin rings that you do on a web server are quite normal tasks and ARE still easier to with a gui
712: [10:09:00] <lx-berlin> i never understood what "managed" means. Is it only installing os patches? Or can you ask to install aditional server ? what is all included in "managed" ?
713: [10:09:00] <ss23> Until then, just give me SSH access and be doen with it
714: [10:09:00] <ss23> lx-berlin: Everything.
715: [10:09:00] <ss23> lx-berlin: "Install and configure apache for me" "I need this site to work and PHP says that this module is bad, plz make it good"
716: [10:10:00] <ss23> lx-berlin: Thats why managed costs a lot more
717: [10:10:00] <FinBoWa> personally I'm 35 years old and really can't be bother log gin with ssh and doing a 2 minutes work with running amok in the console for 10 minutes
718: [10:10:00] <lx-berlin> ok. then this sounds good. But i am not shure every hoster would say that configuriing is included
719: [10:10:00] <DesignerX> lx-berlin: managed means they take care of setting up the server, updates & any problems
720: [10:10:00] <liam> if I have multiple datalists and each represents a column any ideas how I could join the datalists into one datalist so when I loop over the datalist the objects are in their correct columns?
721: [10:11:00] <lx-berlin> you better ask for it before you buy it :)
722: [10:11:00] <lx-berlin> I am not sure if every hoster who offers managed hostig will also install new software for you
723: [10:12:00] * svandragt quit (Quit: Instantbird 1.3 -- http://www.instantbird.com)
724: [10:12:00] <DesignerX> lx-berlin: for SS sites, HostGator seems to work very well, I have a VPS & nenver had any problems with it
725: [10:13:00] <lx-berlin> we are using german companies for hosting :) hetzner and host europe are the best in germany (imho)
726: [10:13:00] <ss23> simon_w|air: I kind of like webmin, definitly one of the better ones I've used, and the only one I would ever recommend if someone wanted one, but yeah, like you said, cli is normally faster, so I don't use it personally
727: [10:13:00] <FinBoWa> simon_w|air: don't bother.. I assume he uses vim also ;)
728: [10:13:00] <simon_w|air> Though, cp + nano is usually substantially faster
729: [10:13:00] <simon_w|air> ss23, webmin! :p
730: [10:14:00] <ss23> :3
731: [10:14:00] <ss23> I use NAT instead of iptables
732: [10:14:00] <simon_w|air> ss23, I mostly use it for iptables and user management
733: [10:14:00] <lx-berlin> managed server: 99?/month http://www.hetzner.de/hosting/produkte_managed/mx90
734: [10:15:00] <lx-berlin> another question: is anyone using a WAMP stack on his computer for developing SS sites ? Is it running without problems ? I am thinking about buying a laptop with Windows 8 preinstalled
735: [10:15:00] <simon_w|air> natd isn't a firewall :p
736: [10:16:00] <kinglozzer> lx-berlin: I've used WAMP on win7 for a while, no problems
737: [10:16:00] <lx-berlin> thanks. good to hear
738: [10:16:00] <DesignerX> lx-berlin: I have wamp portable, no problem ..
739: [10:16:00] <ARNHOE> lx-berlin: I am, its working perfectly
740: [10:16:00] <lx-berlin> that sound good
741: [10:16:00] <ss23> :D
742: [10:16:00] <ss23> simon_w|air: Oh yeah, try get around my lack of port fowarding?
743: [10:17:00] <simon_w|air> ss23, let's laugh at these people trying to develop with WAMP :D
744: [10:17:00] <lx-berlin> :)
745: [10:18:00] <lx-berlin> the other idea would be to buy a laptop with ubuntu preinstalled. I think dell offers some
746: [10:18:00] <simon_w|air> lx-berlin, or install a decent Linux flavour
747: [10:18:00] <ss23> simon_w|air: :D
748: [10:18:00] <ss23> simon_w|air: Although I'll admit, I did that back in the day
749: [10:18:00] <simon_w|air> ss23, did you also do what the AMP used to mean too?
750: [10:19:00] <ss23> AMP? :S
751: [10:19:00] <kinglozzer> I love my Mac, I was massively confused when wget wasn't available out the box though
752: [10:19:00] <simon_w|air> Was Perl
753: [10:19:00] <simon_w|air> Didn't use to be!
754: [10:19:00] <ss23> Apache MySQL PHP?
755: [10:20:00] <simon_w|air> kinglozzer, and curl isn't available out of the box on debian
756: [10:20:00] <FinBoWa> kinglozzer: curl
757: [10:21:00] <DesignerX> lol guys, I feel sooo coool now , I just finish my Ubuntu Server in VM , I can access from anywhere on my local network or over the internet (working on the static IP for the VM now )
758: [10:22:00] <DesignerX> 1st time I setup a server :)
759: [10:23:00] <DesignerX> thinking to install FTP , need to clone it 1st . if anyone needs a copy , I may clean it up a bit & upload it soon
760: [10:24:00] <ss23> simon_w|air: You kids all have a massive advantage over me with using a PC before me
761: [10:24:00] <simon_w|air> DesignerX, if you've got full control, please don't use FTP :)
762: [10:24:00] <ss23> simon_w|air: PERL! Gosh no, you gotta remember, I didn't start touching computers till like 15/16 :P
763: [10:25:00] <simon_w|air> DesignerX, enable SSH (probably already is) then use SFTP
764: [10:25:00] <DesignerX> simon_w: mm, FTP for only if I had to access over the innternet , I have it setup like homeserver.mydomain.com.au
765: [10:27:00] <simon_w|air> It's faster, more secure and handles lots of files a lot better. Also, if you're comfortable enough with SSH or have a decent enough client, you can upload a tar/zip and then untar/unzip on the server
766: [10:28:00] <DesignerX> been using gui all the time, but looking to learn more command line so this should be a good start
767: [10:29:00] <ss23> Have you tried turning it off and on again?
768: [10:45:00] <kinglozzer> simon_w|air, DesignerX: I've been zipping SS sites, FTP'ing them and unzipping them using cPanel. Does that make me the spawn of satan? :P
769: [10:46:00] <DesignerX> kinglozzer: I hAD SOME PROBLEMS DOING THAT, THE FILES GET OWNED BY THE WRONG USER
770: [10:47:00] <kinglozzer> I had no problems on mine, I only did it once in all honesty. Just to update the CMS & Framework. My only issue is that I had to delete the __MAC_OSX folder afterward :P
771: [10:47:00] <kinglozzer> No CLI access on our hosting at the moment though :(
772: [10:47:00] <DesignerX> ops, caps
773: [10:48:00] <kinglozzer> Zipping it did save me about half an hour of painful FTP'ing
774: [10:50:00] <kinglozzer> I've been missing out on that
775: [10:50:00] <kinglozzer> I discovered XCode and the iOS simulator yesterday
776: [10:50:00] <kinglozzer> Amazing.
777: [10:53:00] <DesignerX> lx-berlin: np p:)
778: [10:56:00] * simon_w|air quit (Quit: This computer has gone to sleep)
779: [10:57:00] <kinglozzer> Paginating DataObjects. How long will this take? The page etc is set up, just needs to be paginated. Nothing custom or fancy. 1 hour?
780: [10:59:00] * travis-ci has left #silverstripe
781: [10:59:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/38e930dfe6bd...c72ba4ecfb00
782: [10:59:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/4472071
783: [10:59:00] * travis-ci has joined #silverstripe
784: [10:59:00] <travis-ci> [travis-ci] silverstripe/sapphire#1280 (3.1 - c72ba4e : Ingo Schommer): The build has errored.
785: [11:03:00] * g4b0 has joined #silverstripe
786: [11:07:00] * bjrN has joined #silverstripe
787: [11:08:00] <bjrN> ?
788: [11:08:00] <bjrN> Anyone got experience with swiptestripe? i want to count items for the basket but really cant find any functions to do that. any suggestions
789: [11:11:00] * priithansen has joined #silverstripe
790: [11:26:00] * liam quit (Quit: liam)
791: [11:30:00] <Shrike_Finland> Has anyone a good link to comparison between Drupal and SilverSrtipe
792: [11:30:00] <FinBoWa> here: SS is better
793: [11:30:00] <Shrike_Finland> Stripe, even
794: [11:31:00] <FinBoWa> :P
795: [11:33:00] <FinBoWa> did find this now: http://vschart.com/compare/silverstripe/vs/drupal
796: [11:34:00] <FinBoWa> probably nothing that you are after :)
797: [11:34:00] <Shrike_Finland> heh
798: [11:35:00] <Shrike_Finland> I use SilverStripe at the moment, but we have a customer case, where we have to compare different platforms, their possibilities, support, scalability etc. in practise
799: [11:39:00] <FinBoWa> Can't say i remember a good comparison that you could use as reference for that
800: [11:40:00] <FinBoWa> hmm.. http://web-cms.findthebest.com/compare/6-17/SilverStripe-vs-concrete5
801: [11:47:00] <kinglozzer> Uhhh, if I click 'sync files' in the CMS, it deletes a load of images that still exist in the assets folder. It just removes them from the db. Anyone know why?
802: [11:55:00] <Marvanni> for Translatable
803: [11:55:00] <Marvanni> is it possible to add another Locale that does not exist in i18n
804: [12:04:00] <priithansen> Marvanni: https://github.com/silverstripe/silverstripe-translatable/blob/master/docs/en/index.md#adding-a-new-locale
805: [12:08:00] <Marvanni> sweet :) thanks
806: [12:10:00] * travis-ci has joined #silverstripe
807: [12:10:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/4473163
808: [12:10:00] * travis-ci has left #silverstripe
809: [12:10:00] <travis-ci> [travis-ci] silverstripe/sapphire#1282 (3.0 - 3dab996 : Ingo Schommer): The build passed.
810: [12:10:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/c9f728fefb0d...3dab996c907d
811: [12:20:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/b15b98345f96...74a44933b2e8
812: [12:20:00] * travis-ci has left #silverstripe
813: [12:20:00] * travis-ci has joined #silverstripe
814: [12:20:00] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#213 (3.0 - 74a4493 : Ingo Schommer): The build has errored.
815: [12:20:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/4473238
816: [12:23:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/4473269
817: [12:23:00] * travis-ci has left #silverstripe
818: [12:23:00] * travis-ci has joined #silverstripe
819: [12:23:00] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#214 (3.1 - 931b726 : Ingo Schommer): The build has errored.
820: [12:23:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/649de6e1bce0...931b7265890f
821: [12:31:00] * bjrN quit (Quit: Page closed)
822: [12:39:00] * zfmf has left #silverstripe
823: [12:56:00] * MrGuits has joined #silverstripe
824: [13:09:00] <MrGuits> How do i disable "Heading 1" from the dropdown in the editor ?
825: [13:10:00] * Guest7380 has joined #silverstripe
826: [13:11:00] * robert_ has joined #silverstripe
827: [13:11:00] * robert_ quit (Read error: Connection reset by peer)
828: [13:12:00] * irogue quit (Ping timeout: 256 seconds)
829: [13:14:00] * UndefinedOffset has joined #silverstripe
830: [13:15:00] <FinBoWa> umm.. should the GreaterThan etc filters work with the exclude clause?
831: [13:15:00] <FinBoWa> I'm getting Unknown column 'LastVisited:GreaterThan'
832: [13:16:00] <FinBoWa> 'LastVisited:GreaterThan' => '2011-01-01'
833: [13:16:00] <FinBoWa> ));
834: [13:16:00] <FinBoWa> with that call..
835: [13:16:00] <FinBoWa> just was snooping trough the model admin and it has the sample $list->exclude('Price:LessThan', '100');
836: [13:16:00] <FinBoWa> but that fails also
837: [13:16:00] <FinBoWa> $members->exclude(array(
838: [13:17:00] <FinBoWa> I mean i was snooping trough the model admin documentation -> http://doc.silverstripe.org/framework/en/reference/modeladmin :)
839: [13:20:00] * zfmf has joined #silverstripe
840: [13:24:00] <priithansen> MrGuits: http://www.ssbits.com/tutorials/2009/customising-the-wysywig-editor-in-v2-3-2-tinymce/
841: [13:39:00] * UncleCheese has joined #silverstripe
842: [14:09:00] * travis-ci has joined #silverstripe
843: [14:09:00] * travis-ci has left #silverstripe
844: [14:09:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/4475128
845: [14:09:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/b76f18e80883...ebe41cdadf77
846: [14:09:00] <travis-ci> [travis-ci] silverstripe/sapphire#1284 (3.1 - ebe41cd : uniun): The build passed.
847: [14:12:00] * Shrike_Finland quit (Quit: Leaving.)
848: [14:18:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/ebe41cdadf77...013f4cfe885e
849: [14:18:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/4475208
850: [14:18:00] * travis-ci has joined #silverstripe
851: [14:18:00] <travis-ci> [travis-ci] silverstripe/sapphire#1285 (3.1 - 013f4cf : Ingo Schommer): The build passed.
852: [14:18:00] * travis-ci has left #silverstripe
853: [14:24:00] * wmk has joined #silverstripe
854: [14:24:00] <wmk> hi,
855: [14:25:00] <wmk> is there a way to dynamically add or remove colums in gridfield or modeladmin on runtime? e.g. with a popup where you can choose of dataobjects fields?
856: [14:35:00] * MichaelDesignerX has joined #silverstripe
857: [14:37:00] * DesignerX quit (Ping timeout: 276 seconds)
858: [14:39:00] * travis-ci has joined #silverstripe
859: [14:39:00] * travis-ci has left #silverstripe
860: [14:39:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/4475293
861: [14:39:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/013f4cfe885e...0b44d8fbfb30
862: [14:39:00] <travis-ci> [travis-ci] silverstripe/sapphire#1286 (3.1 - 0b44d8f : Ingo Schommer): The build has errored.
863: [14:48:00] * ARNHOE quit (Quit: ( www.nnscript.com :: NoNameScript 4.22 :: www.esnation.com ))
864: [14:59:00] * chillu quit (Quit: chillu)
865: [15:00:00] * MichaelDesignerX quit (Ping timeout: 246 seconds)
866: [15:01:00] * UncleCheese quit (Quit: UncleCheese)
867: [15:05:00] * zfmf has left #silverstripe
868: [15:22:00] * chillu has joined #silverstripe
869: [15:29:00] * PigeonFriend has joined #silverstripe
870: [16:07:00] * lerni has joined #silverstripe
871: [16:10:00] <Marvanni> any experience with a manymany GridField and the GridFieldSOrtableRows?
872: [16:10:00] * zfmf has joined #silverstripe
873: [16:14:00] * FinBoWa quit (Quit: FinBoWa)
874: [16:19:00] * travis-ci has joined #silverstripe
875: [16:19:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/chillu/sapphire/builds/4477549
876: [16:19:00] <travis-ci> [travis-ci] Change view : https://github.com/chillu/sapphire/compare/4ce58eaf2d0a...1df9f2bce8c2
877: [16:19:00] <travis-ci> [travis-ci] chillu/sapphire#50 (pulls/remove-auto-controller-routing - 1df9f2b : Ingo Schommer): The build has errored.
878: [16:19:00] * travis-ci has left #silverstripe
879: [16:26:00] <g4b0> I'm getting this error: Unable to traverse to related object field [Published] on [DoProva]
880: [16:27:00] <g4b0> trying to access some DO through ModelAdmin
881: [16:27:00] <g4b0> The same DO are accessible through a page holder inside a GridField
882: [16:28:00] <g4b0> how cn I solve?
883: [16:28:00] <g4b0> it's*
884: [16:28:00] <g4b0> is a function inside an Extension
885: [16:28:00] <g4b0> Published isn't into $db array
886: [16:33:00] * gelignite has joined #silverstripe
887: [16:35:00] * travis-ci has joined #silverstripe
888: [16:35:00] <travis-ci> [travis-ci] silverstripe/sapphire#1288 (3.1 - f633a72 : Ingo Schommer): The build passed.
889: [16:35:00] * travis-ci has left #silverstripe
890: [16:35:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/0b44d8fbfb30...f633a72921f7
891: [16:35:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/4477271
892: [16:42:00] <PigeonFriend> Hi everyone / chillu ;) does anyone know why the restfulservice actively disables CURLOPT_SSL_VERIFYPEER ?
893: [16:45:00] <PigeonFriend> it also gets disabled and then checks for the error and re-disabled :P https://github.com/silverstripe/sapphire/blob/3.0/api/RestfulService.php#L211
894: [16:55:00] * catcher has joined #silverstripe
895: [16:56:00] <catcher> How can I do the whole security backURL thing? i.e. if they're not logged in, redirect them to security/login, then successful login brings them back?
896: [17:02:00] * UncleCheese has joined #silverstripe
897: [17:02:00] <FrozenFire> catcher, Security::permissionFailure will do it for you
898: [17:03:00] <catcher> ah, I like that better than my return $this->redirect('Security/login?BackURL='.$_SERVER['REQUEST_URI']);
899: [17:03:00] <FrozenFire> Indeed.
900: [17:04:00] * g4b0 quit (Quit: Sto andando via)
901: [17:05:00] <catcher> UncleCheese, with your bootstrap forms module, my mollom captcha failure message isn't showing up, any ideas?
902: [17:07:00] <UncleCheese> i'ver never used that module, but i'm not surprised
903: [17:08:00] <UncleCheese> it probably assumes the form html to be the native SS template
904: [17:22:00] <PigeonFriend> (this being my last comment)
905: [17:22:00] <PigeonFriend> Meh, added a nice pull request for this: https://github.com/silverstripe/sapphire/pull/1148
906: [17:27:00] <Marvanni> You can also set Session::set('BackURL', $this->Link()); ?
907: [17:28:00] * PigeonFriend quit ()
908: [17:28:00] <FrozenFire> But if it's not sensible, that's their own damn fault
909: [17:28:00] <FrozenFire> :P
910: [17:28:00] <FrozenFire> Which isn't always a good reliance
911: [17:28:00] <FrozenFire> Or just rely on the client's browser to be sensible.
912: [17:29:00] <FrozenFire> The next time they hit a controller that wants to redirect back, it'll have the BackURL in session
913: [17:29:00] <FrozenFire> Setting an explicit BackURL, especially in Session, can cause issues if down the line you decide to direct the user out of the normal flow for some reason
914: [17:30:00] <FrozenFire> Which would, I think, override any HTTP_REFERER
915: [17:31:00] * kinglozzer quit (Remote host closed the connection)
916: [17:32:00] <FrozenFire> Oh bugger... started this project with SS 3.0
917: [17:40:00] * lerni quit (Remote host closed the connection)
918: [17:43:00] <FrozenFire> Could've sworn it did
919: [17:43:00] <FrozenFire> Even more bugger...
920: [17:43:00] <FrozenFire> SS 3.1 doesn't fix this bug...
921: [17:46:00] <Marvanni> Security/LoginForm use it as well
922: [17:46:00] <Marvanni> I use it all the time without any problems
923: [18:10:00] <FrozenFire> So... how do I filter a DataList by a list of relational IDs?
924: [18:10:00] <UncleCheese> has anyone noticed that when you "restore" a page that has been deleted from draft, you only get the core SiteTree fields restored? Any custom fields you've added to the page type do not come back.
925: [18:10:00] <FrozenFire> Because every way I can think of results in an error
926: [18:10:00] <FrozenFire> Bordering on resorting to a DataList::where
927: [18:12:00] <UncleCheese> that seems odd, no?
928: [18:12:00] <UncleCheese> really?
929: [18:12:00] <FrozenFire> UncleCheese, Might have to apply Versioned to the descendants as well?
930: [18:12:00] <FrozenFire> It would suck, but yeah, perhaps?
931: [18:13:00] * mwm__ has joined #silverstripe
932: [18:13:00] <FrozenFire> Yeah, you're right
933: [18:13:00] <FrozenFire> I would assume that as well. Wasn't sure whether they did
934: [18:13:00] <UncleCheese> so i assume they are decorated
935: [18:13:00] <UncleCheese> well each site tree descendant gets its own _versions table
936: [18:13:00] * SMaction has joined #silverstripe
937: [18:15:00] <Marvanni> In a ModelAdmin managed DO i added a new FormAction in the DO's getCMSActions, but it does nog show up?
938: [18:16:00] <Marvanni> hm, it did in 2.x :(
939: [18:16:00] <UncleCheese> there's currently no api for that
940: [18:16:00] <Marvanni> is there a new way?
941: [18:16:00] <priithansen> I think the version thing is recorded bug
942: [18:16:00] <UncleCheese> no that won't work
943: [18:17:00] <UncleCheese> return parent::ItemEditForm()->getActions()->push($newAction);
944: [18:17:00] <UncleCheese> I'm guessing. See GridFieldDetailForm.php, line 283
945: [18:17:00] <UncleCheese> you would have to subclass GridFieldDetailForm
946: [18:17:00] <UncleCheese> and overload ItemEditForm
947: [18:17:00] <Marvanni> ouch
948: [18:18:00] <UncleCheese> OH!
949: [18:18:00] <UncleCheese> the actions are all hard coded
950: [18:18:00] <UncleCheese> score
951: [18:18:00] <UncleCheese> $this->extend("updateItemEditForm", $form);
952: [18:18:00] <UncleCheese> it takes a decorator!
953: [18:19:00] <Marvanni> little bit bloat for just adding a FormAction on a plain DO
954: [18:19:00] <Marvanni> yeah I found it...
955: [18:20:00] <priithansen> About the custom fields not showing versions http://open.silverstripe.org/ticket/8030 http://open.silverstripe.org/ticket/7934
956: [18:22:00] * FrozenFire is going crazy
957: [18:22:00] <UncleCheese> hey! i've been looking all over for a ticket
958: [18:22:00] <UncleCheese> i was using the wrong keywords, i guess
959: [18:23:00] <FrozenFire> Errors.
960: [18:23:00] <FrozenFire> foreach($listOfIDS as $id) $myList->exclude("Relation.ID:Not", $id);
961: [18:23:00] <FrozenFire> And no other way to make it work like that.
962: [18:27:00] <Marvanni> hmm updateEditForm, only works on the ListView
963: [18:27:00] <UncleCheese> what do you mean?
964: [18:29:00] <Marvanni> nvm, let me try, I might need to get the GridField from the $form
965: [18:30:00] <FrozenFire> I resort to hacks every time I try to do it
966: [18:30:00] <FrozenFire> Marvanni, Keep in mind that augmenting the GridFieldDetailForm is an extraordinarily frustrating, and ultimately nearly impossible task.
967: [18:31:00] <lx-berlin> if anyone wants to see the "problem" : http://www.secowarwick.com/en/investor-relations/share-price/
968: [18:31:00] * simon_w|air has joined #silverstripe
969: [18:31:00] <lx-berlin> is anyone familiar with google charts ? i just added some linecharts to our current project. It looks ok, but the tooltips do not show under the pointer but more to the right ?!
970: [18:32:00] <FrozenFire> simon_w, Oh wise one, bestow me with your insight.
971: [18:32:00] <FrozenFire> DataList filtered by a list of relation IDs.
972: [18:33:00] <simon_w|air> What sort of relation?
973: [18:33:00] <simon_w|air> ->filter('Relation.ID', $ids)
974: [18:33:00] <FrozenFire> Yeah, upgraded the project for that exact thought
975: [18:33:00] <simon_w|air> 3.1 yet?
976: [18:33:00] <FrozenFire> many_many
977: [18:35:00] <FrozenFire> IDs being an array?
978: [18:35:00] <simon_w|air> yup
979: [18:36:00] <FrozenFire> No dice
980: [18:37:00] <FrozenFire> http://www.sspaste.com/paste/show/5109685c610b1
981: [18:37:00] <simon_w|air> In what way?
982: [18:37:00] <FrozenFire> (Verified the contents)
983: [18:37:00] <FrozenFire> $categoryIDs ends up being an array of the relation IDs
984: [18:37:00] <FrozenFire> Doesn't filter anything
985: [18:38:00] <FrozenFire> Missed an s
986: [18:38:00] <FrozenFire> Shit
987: [18:38:00] <simon_w|air> Bus time!
988: [18:38:00] * simon_w|air quit (Quit: This computer has gone to sleep)
989: [18:38:00] <FrozenFire> Thanks
990: [18:38:00] <FrozenFire> Tricksy cloning behaviour
991: [18:38:00] <FrozenFire> :P
992: [18:38:00] <FrozenFire> It works
993: [18:43:00] <SMaction> Hi, I was asking yesterday about a problem sorting a DataObjectSet. It turns out that the set was being sorted but that was not my problem. My Photos are looped through here http://pastebin.com/gnL5f51n. The issue can best be explained by looking at these two images. The first shows the order they are in the database after they are entered. Screen shot is here: http://imgur.com/gukAHxJ
994: [18:43:00] <SMaction> However, when they are sorted by PageID (which I assume is how they are looped through) they are not in entry order. Screen shot here :http://imgur.com/43Ajuik How can I change the order that Photos are looped?
995: [18:44:00] * lerni has joined #silverstripe
996: [18:45:00] <Marvanni> hm.. not as easy as it seems... Anyone has a working example for adding a FormAction to a Modeladmin Edit view of DO ?
997: [18:53:00] <UncleCheese> so you can't just do updateItemEditForm() ?
998: [18:55:00] <Marvanni> updateEditForm does only adds a button in the Gridview
999: [18:57:00] <Marvanni> https://github.com/silverstripe/sapphire/pull/1072/files
1000: [18:57:00] <Marvanni> You mean this one
1001: [19:01:00] <Marvanni> dinerbreak!
1002: [19:01:00] <catcher> Any good way to test the http referrer without being tied to a possibly-changing url segment?
1003: [19:04:00] <catcher> Ah, I can search referrer for my controller's url seg
1004: [19:05:00] <UncleCheese> If I unpublish a page, why do all of its children go unpublished, too?
1005: [19:11:00] * DigNZ has joined #silverstripe
1006: [19:14:00] <FrozenFire> Keep in mind that the HTTP_REFERER header is unreliable.
1007: [19:14:00] <FrozenFire> catcher, Do you mean literally testing? Unit test?
1008: [19:15:00] <catcher> nah, just trying to determine the controller scope of my previous request.
1009: [19:16:00] * lerni quit (Remote host closed the connection)
1010: [19:17:00] <catcher> Anything more reliable available?
1011: [19:18:00] <FrozenFire> Depends on the context.
1012: [19:18:00] <catcher> Client wants to access an action directly from an email or from the site. When it's a site user, redirectBack() after action is what I want. When coming from the email, redirectBack() doesn't apply.
1013: [19:18:00] <FrozenFire> HTTP_REFERER will work 99/100 times
1014: [19:19:00] <catcher> It's only an admin action, so a very occasional incorrect redirect would be just fine.
1015: [19:19:00] <FrozenFire> Probably 99999/100000 times
1016: [19:19:00] <FrozenFire> It's just that, when it doesn't, you have to have a gameplan
1017: [19:20:00] <FrozenFire> Well, redirectBack will look for a request var BackURL, then it'll check the session, then the HTTP_REFERER, then it'll fall over to "/"
1018: [19:20:00] * lx-berlin has left #silverstripe
1019: [19:21:00] <catcher> hmm, so maybe I set the backurl in the email link..
1020: [19:22:00] <FrozenFire> What are you trying to accomplish?
1021: [19:22:00] <FrozenFire> That would certainly work.
1022: [19:24:00] <catcher> The email gives them links to delete/approve a certain message. Permissions are tested, and Security::permissionFailure(); on failure. I then need to direct them to the overview page after login.
1023: [19:25:00] <FrozenFire> Trust Security::permissionFailure to redirect them back to where the permission failure occurred
1024: [19:26:00] <FrozenFire> E.g. you shouldn't have a link that a user can visit to delete an item immediately.
1025: [19:26:00] <FrozenFire> Keep in mind that controller actions should not cause side effects.
1026: [19:26:00] <catcher> Security::permissionFailure is just leaving me at "you're logged in as --"
1027: [19:27:00] <FrozenFire> Otherwise, I could simply redirect you from my own site to that URL on your admin
1028: [19:27:00] <catcher> Yeah, I've been wondering about doing away with the actual action.
1029: [19:27:00] * lerni has joined #silverstripe
1030: [19:27:00] <FrozenFire> It should be a form
1031: [19:27:00] <catcher> I'm converting a site that behaved that way before, and I may just tell them it's a bad idea.
1032: [19:27:00] <FrozenFire> Deleting items
1033: [19:27:00] <FrozenFire> Or, if I get an XSS, I could redirect you from a given page to that URL
1034: [19:27:00] <catcher> sure, but that's why the permission check is in place.
1035: [19:27:00] <catcher> It's not even in the admin, it's front-end.
1036: [19:27:00] <FrozenFire> If the user is already logged in, it won't matter.
1037: [19:28:00] <catcher> Ah, true
1038: [19:29:00] <FrozenFire> That's the purpose of form SecurityID fields
1039: [19:30:00] <FrozenFire> They verify the origin of the request
1040: [19:38:00] * nickmolhoek has joined #silverstripe
1041: [19:38:00] * nickmolhoek quit (Remote host closed the connection)
1042: [19:38:00] * nickmolhoek has joined #silverstripe
1043: [19:40:00] * Guest7380 is now known as irogue
1044: [19:44:00] <simon_w> Good morning little people
1045: [19:49:00] <irogue> hey big guy
1046: [19:54:00] <FrozenFire> Lolproletariat
1047: [19:55:00] <simon_w> Huh, there's supposed to be a new silverscoop today
1048: [19:56:00] <FrozenFire> Thought that was tomorrow
1049: [19:56:00] * mrpink has joined #silverstripe
1050: [19:57:00] <simon_w> It happens on Thursdays
1051: [19:57:00] <FrozenFire> Whose Thursdays?
1052: [19:57:00] <simon_w> Mine! No one else's matters! :p
1053: [19:57:00] <FrozenFire> Thought it happened on my Thursday, your Friday
1054: [20:06:00] * priithansen quit (Remote host closed the connection)
1055: [20:06:00] * lerni quit (Remote host closed the connection)
1056: [20:06:00] * catcher_dev has joined #silverstripe
1057: [20:06:00] * lerni has joined #silverstripe
1058: [20:06:00] * priithansen has joined #silverstripe
1059: [20:07:00] * priithansen_ has joined #silverstripe
1060: [20:09:00] * liam has joined #silverstripe
1061: [20:09:00] * catcher quit (Ping timeout: 248 seconds)
1062: [20:10:00] * Marvanni_ has joined #silverstripe
1063: [20:11:00] * priithansen_ is now known as priithansen
1064: [20:11:00] * Marvanni_ has left #silverstripe
1065: [20:11:00] * lerni quit (Ping timeout: 276 seconds)
1066: [20:11:00] * Keksters has joined #silverstripe
1067: [20:11:00] * priithansen quit (Ping timeout: 245 seconds)
1068: [20:12:00] * Marvanni_ has joined #silverstripe
1069: [20:13:00] <Keksters> In Silverstripe 3.0, sorry
1070: [20:13:00] <Keksters> Has anyone here had much experience with pagination? I'm struggling to get my controller to match up to my page.
1071: [20:14:00] <simon_w> In your controller, return new PaginatedList($list, $this->request);
1072: [20:15:00] * catcherdev has joined #silverstripe
1073: [20:15:00] <Keksters> What does $list display?
1074: [20:16:00] <catcherdev> Keksters, $list is your SS_List
1075: [20:16:00] <FrozenFire> Disco ball
1076: [20:16:00] * lerni has joined #silverstripe
1077: [20:16:00] <FrozenFire> $list is your DataList (or any SS_List)
1078: [20:16:00] <simon_w> $list is the list you want to paginate
1079: [20:18:00] * catcher_dev quit (Ping timeout: 248 seconds)
1080: [20:18:00] <simon_w> What are you trying to paginate?
1081: [20:18:00] <simon_w> Yes
1082: [20:18:00] <Keksters> That's returning an empty loop. Do I need to define $list?
1083: [20:19:00] <simon_w> And you've built up a DataList containing them?
1084: [20:19:00] <Keksters> The grandchildren of a page
1085: [20:20:00] <simon_w> So what were you trying to paginate before?
1086: [20:20:00] <Keksters> I don't think so.
1087: [20:21:00] <Keksters> I was using the how to and return new PaginatedList($this->Children(), $this->request); as suggested in the comments
1088: [20:22:00] <simon_w> Though, if it's like the blog, you'll probably want $this->AllChildren() instead
1089: [20:22:00] <simon_w> And that'd be a paginated list of your children
1090: [20:23:00] * catcher_dev has joined #silverstripe
1091: [20:23:00] <Keksters> It's taken from the idea of Staff page. Except I have a meta holder for the holder and I'm trying to paginate the pages from the meta holder
1092: [20:24:00] <Keksters> I'm still getting empty loops.
1093: [20:26:00] * Pyromanik has joined #silverstripe
1094: [20:27:00] * catcherdev quit (Ping timeout: 248 seconds)
1095: [20:28:00] * popeshoe quit (Quit: This computer has gone to sleep)
1096: [20:30:00] <Pyromanik> how do I add those little page type descriptors into the CMS?
1097: [20:31:00] <simon_w> Pyromanik, static $description = 'Your momma so fat';
1098: [20:31:00] <Pyromanik> sweet, thanks simon_w
1099: [20:37:00] * Marvanni_ quit (Quit: Marvanni_)
1100: [20:38:00] * zfmf has left #silverstripe
1101: [20:38:00] <Pyromanik> what am I missing?
1102: [20:38:00] <Pyromanik> $treeDropdownField->setTreeBaseID($this->ID); -- no go?
1103: [20:40:00] * r3v3rb has joined #silverstripe
1104: [20:43:00] <simon_w> The answer?
1105: [20:44:00] * r3v3rb has left #silverstripe
1106: [20:47:00] <Pyromanik> this is true
1107: [20:48:00] <Pyromanik> this is also true: broken: https://github.com/silverstripe/sapphire/blob/3.0/forms/TreeDropdownField.php#L218
1108: [20:48:00] <Pyromanik> y 4 u no /li ?
1109: [20:48:00] <Pyromanik> catcher_dev: ?
1110: [20:48:00] * FrozenFire has left #silverstripe
1111: [20:48:00] * FrozenFire has joined #silverstripe
1112: [20:48:00] * FrozenFire mutters things at Gnome-Shell
1113: [20:48:00] <Pyromanik> hahahahahaha
1114: [20:48:00] <catcher_dev> I thought TreeBasing was illegal.
1115: [20:49:00] <Pyromanik> and what if I serve in xhtml?
1116: [20:49:00] <Pyromanik> whaaaaaaaaaaaaaat?
1117: [20:49:00] <FrozenFire> And syntax highlighting/autoindentation nightmare
1118: [20:49:00] <catcher_dev> anyone? treebasing illegal?
1119: [20:49:00] <simon_w> Pyromanik, closing li tags are only required in XHTML/XML
1120: [20:49:00] <FrozenFire> It is
1121: [20:49:00] <Pyromanik> and all kinds of maintainability / readibilty nightmare.
1122: [20:49:00] <FrozenFire> Indeed
1123: [20:49:00] <Pyromanik> sounds like lazy.
1124: [20:49:00] <FrozenFire> Sort of
1125: [20:50:00] <FrozenFire> o.O
1126: [20:50:00] <Pyromanik> or xml?
1127: [20:50:00] <simon_w> Then you're being stupid
1128: [20:50:00] <Pyromanik> catcher_dev: what
1129: [20:50:00] <Pyromanik> are
1130: [20:50:00] <Pyromanik> you
1131: [20:50:00] <Pyromanik> talking about?
1132: [20:50:00] <catcher_dev> you guys need to watch some tarentino films.
1133: [20:50:00] <simon_w> The main problem is that should be in a template :p
1134: [20:50:00] <FrozenFire> At the very least
1135: [20:50:00] <Pyromanik> FrozenFire: simon_w is too 1337 for synhilte
1136: [20:51:00] <Pyromanik> catcher_dev: just tell me what you're referencing if it's a reference.
1137: [20:51:00] <catcher_dev> not a reference to a particular film, just drugs in general.
1138: [20:51:00] <Pyromanik> I have no idea what that might mean.
1139: [20:51:00] <catcher_dev> http://en.wikipedia.org/wiki/Free_base
1140: [20:52:00] <Pyromanik> Freebasing is also the consumption by smoking of free base cocaine, crack cocaine, or heroin.
1141: [20:53:00] <Pyromanik> Just not in a while.
1142: [20:53:00] <Pyromanik> I've seen a few in my time
1143: [20:53:00] <catcher_dev> <catcher_dev> you guys need to watch some tarentino films.
1144: [20:53:00] <Pyromanik> Never heard it before
1145: [20:53:00] <Pyromanik> I see
1146: [20:54:00] <FrozenFire> I think this is a poorly-construed reference
1147: [20:54:00] <catcher_dev> I was going along just fine, and then my face.
1148: [20:54:00] * FrozenFire sports a moustache mohawk
1149: [20:54:00] * spronk is so mature
1150: [20:54:00] <spronk> YOUR FACE SPORTS A MOHAWK!
1151: [20:54:00] <catcher_dev> didn't you say you sport a mohawk?
1152: [20:54:00] <catcher_dev> ooh, got me
1153: [20:55:00] <catcher_dev> FrozenFire, like hitler??
1154: [20:55:00] <FrozenFire> Haha, that's one way of interpreting it. Was going to joke that it's horizontal
1155: [20:55:00] <FrozenFire> A good way to catch and collect sneezes
1156: [20:56:00] * wmk quit (Quit: nice to meet you ;))
1157: [20:56:00] <Pyromanik> oh
1158: [20:56:00] <Pyromanik> there's the answer
1159: [20:56:00] <Pyromanik> https://github.com/silverstripe/sapphire/blob/3.0/forms/TreeDropdownField.php#L228
1160: [20:56:00] <Pyromanik> TreeDropdownField::setTreeBaseID(ID) Is 100% completely useless.
1161: [20:56:00] <FrozenFire> YOU'RE COMPLETELY USELESS
1162: [20:56:00] <FrozenFire> Also, probably
1163: [20:57:00] <Pyromanik> mmm
1164: [20:57:00] <FrozenFire> Else it is used where?
1165: [20:57:00] <Pyromanik> it gets used in the else
1166: [20:57:00] <Pyromanik> I lied
1167: [20:57:00] <Pyromanik> also, not 100%
1168: [20:58:00] <FrozenFire> Used PPV as the basis for this project, and now find it's single-payment paywall
1169: [20:58:00] <Pyromanik> https://github.com/silverstripe/sapphire/blob/3.0/forms/TreeDropdownField.php#L240
1170: [20:58:00] <FrozenFire> Guh. I made the mistake of copying one style of paywalled video site project instead of another
1171: [20:58:00] <Pyromanik> But I cannot see the usecase
1172: [21:06:00] * AshKyd quit (Read error: Operation timed out)
1173: [21:08:00] <Marvanni> Is there an overview of build in CMS FormAction styling?
1174: [21:09:00] <FrozenFire> Heh. Always fun when a PR gets opened and closed multiple times
1175: [21:09:00] <Marvanni> For the logs : to add formActions in ModelAdmin I used this solution : https://github.com/silverstripe/sapphire/pull/526
1176: [21:09:00] <Marvanni> its in the comments
1177: [21:10:00] * AshKyd has joined #silverstripe
1178: [21:12:00] * UndefinedOffset quit (Quit: Leaving.)
1179: [21:16:00] * mrpink quit (Quit: Page closed)
1180: [21:17:00] <mirrors> Hey everyone...I just upgraded one of my SS2.4 projects to SS3.0...yay...however now the left hand links do not work. If I am on pages and I click settings the blue loader appears however I am not redirected to settings
1181: [21:17:00] <mirrors> and the response doesnt look like an error
1182: [21:17:00] <mirrors> but the page does not change
1183: [21:17:00] <mirrors> i can see the different requests in the console
1184: [21:18:00] <simon_w> Marvanni, a callback hook's already provided. No need to subclass :p
1185: [21:18:00] <mirrors> also the url changes
1186: [21:18:00] <simon_w> mirrors, JavaScript error? Extra whitespace at the start of the response?
1187: [21:19:00] <FrozenFire> mirrors, If you refresh at the new URL, what happens?
1188: [21:20:00] <mirrors> no js errors appear in the console
1189: [21:21:00] <mirrors> this is one response
1190: [21:21:00] <mirrors> i dont see extra whitespace
1191: [21:21:00] <mirrors> if i refresh the new url then the page loads properly
1192: [21:21:00] <mirrors> http://pastie.org/5973602
1193: [21:22:00] <FrozenFire> mirrors, Do you happen to know if you're running an nginx reverse proxy in front of Apache?
1194: [21:22:00] <Marvanni> I need to use updateItemEditForm in my DO?
1195: [21:22:00] <Marvanni> simon_w i tried, but got lost?
1196: [21:23:00] <FrozenFire> The issue that comes up all-too-often is that SS sends a *lot* of CMS state data back upstream to the server in AJAX loads
1197: [21:23:00] <mirrors> ooohhh i think there is an extra newline before the response
1198: [21:23:00] <FrozenFire> And the nginx reverse proxy buffer size is too small for that amount of data
1199: [21:23:00] <FrozenFire> So you get a 503
1200: [21:24:00] * mwm__ quit (Ping timeout: 245 seconds)
1201: [21:25:00] <mirrors> FrozenFire: I am not sure if a nginx reverse proxy is set up or not
1202: [21:25:00] <FrozenFire> If the CMS gets an error on an AJAX load, it should really forward the request normally through redirection
1203: [21:25:00] <FrozenFire> Graceful degradation
1204: [21:25:00] <simon_w> Marvanni, you're already doing something to change the component on the GridFieldConfig, just use $gf->confg->getCompoenntByType('GridFieldDetailForm')->setItemEditFormCallback(function($form) { // stuff with $form })
1205: [21:26:00] <FrozenFire> mirrors, What sort of hosting are you using?
1206: [21:27:00] * howardgrigg has joined #silverstripe
1207: [21:28:00] <Marvanni> Simon this is what I have now : http://sspaste.com/paste/show/510990770d2d4
1208: [21:30:00] <simon_w> Marvanni, oh right, the actual action handlers
1209: [21:31:00] <mirrors> FrozenFire: lamp stack..shared hosting
1210: [21:31:00] <Marvanni> is that the prefered way?
1211: [21:33:00] <Pyromanik> FrozenFire: you do get an error in the CMS in the nginx case though
1212: [21:33:00] <FrozenFire> mirrors, Alright, it's not *likely* to be that issue, though
1213: [21:33:00] <FrozenFire> Unless it's a shitty host
1214: [21:34:00] <FrozenFire> Pyromanik, Not in my experience always.
1215: [21:34:00] <simon_w> mirrors, so find the (most likely) _config.php that's sticking that in
1216: [21:34:00] <Pyromanik> FrozenFire: big black box comes up and goes "Error"
1217: [21:34:00] <FrozenFire> Pyromanik, Not an obvious error
1218: [21:34:00] <Pyromanik> shared hosting :<
1219: [21:34:00] <mirrors> simon_w: I just compared ss3 on my local (where it is working) and on the server and you were exactly right. There is extra whitespace at the beging of the response
1220: [21:34:00] <FrozenFire> But might've been another issue at play as well
1221: [21:34:00] <FrozenFire> E.g. wrong site mode
1222: [21:34:00] <Pyromanik> mm, perhaps
1223: [21:34:00] <Pyromanik> I'm not sure if it comes up in live mode
1224: [21:35:00] <FrozenFire> simon_w, I don't think _config.php would cause that behaviour
1225: [21:35:00] <mirrors> simon_w: how can my _config file stick white space in
1226: [21:35:00] <FrozenFire> Seems more likely to be a controller that's involved
1227: [21:35:00] <FrozenFire> Or maybe an include that only occurs in the CMS
1228: [21:35:00] <FrozenFire> That would affect everything
1229: [21:36:00] <FrozenFire> Unless there's something in play to prevent that
1230: [21:36:00] <FrozenFire> Any output before headers will be problematic
1231: [21:36:00] <simon_w> FrozenFire, it's the JSON parser that has issues
1232: [21:36:00] <FrozenFire> Such as a modeladmin
1233: [21:36:00] <simon_w> FrozenFire, for the most part, only the CMS AJAX cares about whitespace at the start
1234: [21:36:00] <simon_w> mirrors, whitespace before a <?php, having a ?>
1235: [21:36:00] <FrozenFire> simon_w, Whitespace *should* affect everything
1236: [21:37:00] <FrozenFire> Indeed. That'd fall under "Unless there's something in play to prevent that"
1237: [21:37:00] <mirrors> also the response is much smaller on the server
1238: [21:37:00] <simon_w> Production environment is likely to buffer the output
1239: [21:37:00] <mirrors> the json isnt closed properly
1240: [21:38:00] * instabil quit (Read error: Connection reset by peer)
1241: [21:39:00] <FrozenFire> Does Member::inGroups do an "any" check, or is it an all check?
1242: [21:39:00] <FrozenFire> Need to check if the member is in any of a set of groups
1243: [21:39:00] <mirrors> ok I cannot find an extra line the _config plus it all works on my localhost
1244: [21:39:00] <simon_w> FrozenFire, it's an any
1245: [21:40:00] <FrozenFire> Odd
1246: [21:40:00] <FrozenFire> That's what I thought (and the docs say)
1247: [21:40:00] <mirrors> the repsonse seems to be getting cut off half way
1248: [21:42:00] <mirrors> so would it be the server cutting off half my response
1249: [21:43:00] <FrozenFire> Unlikely. How are you determining that the response is truncated?
1250: [21:44:00] <FrozenFire> The data can be all there, but it might not show it all
1251: [21:44:00] <FrozenFire> Some browsers will truncate arbitrary data like that
1252: [21:44:00] <FrozenFire> In their inspector, that is
1253: [21:47:00] <simon_w> Is there a javascript key event that happens after the value of an input's been updated?
1254: [21:48:00] <mirrors> sorry*
1255: [21:48:00] <mirrors> i am not sure what you mean simon_w worry
1256: [21:48:00] <mirrors> i am using firebug and opening the response in a new tab which actually downloads it
1257: [21:49:00] <simon_w> yeah, but onchange usually fires onblur
1258: [21:49:00] <FrozenFire> simon_w, jQuery has the changed event
1259: [21:49:00] <FrozenFire> E.g. $("input").changed(function() {...});
1260: [21:49:00] <FrozenFire> err, -d
1261: [21:50:00] <simon_w> value hasn't been updated
1262: [21:50:00] <FrozenFire> simon_w, There's keypress
1263: [21:50:00] * liam quit (Quit: liam)
1264: [21:51:00] <Marvanni> simon can you confirm the way i added the FormAction is a correct one? or is it possible without adding a custom ItemRequest?
1265: [21:51:00] <Marvanni> and instead put the action in the MyModelAdmin?
1266: [21:51:00] <simon_w> I guess I'll just stick in a short timeout
1267: [21:51:00] <FrozenFire> It fires on the focused element
1268: [21:51:00] <FrozenFire> "A keypress event handler can be attached to any element, but the event is only sent to the element that has the focus. Focusable elements can vary between browsers, but form elements can always get focus so are reasonable candidates for this event type."
1269: [21:51:00] <simon_w> Yes, but $(this).val() is still the old value
1270: [21:52:00] <FrozenFire> That'll cause race conditions
1271: [21:52:00] <FrozenFire> I wouldn't use a timeout
1272: [21:52:00] <FrozenFire> Hrmm
1273: [21:52:00] <Marvanni> ke, ty
1274: [21:52:00] <simon_w> meh, it's just for display
1275: [21:52:00] <simon_w> This is so much easier in Cocoa
1276: [21:52:00] <simon_w> Marvanni, well, you can add a FormAction with just a callback. You can't add the actual handlers that way though, so your way works fine
1277: [21:52:00] <FrozenFire> simon_w, keyup, then
1278: [21:52:00] <simon_w> FrozenFire, same problem
1279: [21:53:00] <simon_w> on no, I hadn't refreshed. keyup's working
1280: [21:53:00] <FrozenFire> Was thinking that'd have to be the case
1281: [21:53:00] <FrozenFire> You say that now, but it's not a maintainable solution
1282: [21:53:00] <FrozenFire> Heh
1283: [21:54:00] <FrozenFire> Was thinking you had encountered a browser bug
1284: [21:54:00] <simon_w> Yeah, I tried keyup before asking my question but no refresh
1285: [21:54:00] * simon_w stops banging head now
1286: [21:54:00] <FrozenFire> :P
1287: [21:55:00] * mrpink has joined #silverstripe
1288: [21:56:00] <howardgrigg> Any topics you guys want covered on SilverScoop?
1289: [21:57:00] <simon_w> mirrors, yup, you need to find the file that's sticking that newline in
1290: [21:57:00] <simon_w> CMS-less installs!
1291: [21:57:00] <mirrors> Ok i have compared the two responses and the only difference between them is the resonse on the production server has a new line at the being and is missing the final } to close the JSON. The local host respsone does not have a new line at the start and has the closing } for the JSON
1292: [21:57:00] <simon_w> Dragons!
1293: [21:58:00] <simon_w> I've even deleted the CMS folder from PocketRent's 2.4 base
1294: [21:58:00] <howardgrigg> lol nice
1295: [21:58:00] <FrozenFire> mirrors, Environment. ;)
1296: [21:58:00] <mirrors> they are the same code
1297: [21:58:00] <simon_w> howardgrigg, oh, I'm well aware of how to do it :p
1298: [21:58:00] <mirrors> why would it not be happening in my local host, but be happening on my production
1299: [21:58:00] <howardgrigg> simon_w: as in installs of the framework only? create environment file and dev/build :p
1300: [21:58:00] <FrozenFire> howardgrigg, 3.1 is an obvious candidate in general
1301: [22:00:00] * micmania1 has joined #silverstripe
1302: [22:02:00] <simon_w> howardgrigg, late! :p
1303: [22:02:00] <howardgrigg> as usual...
1304: [22:02:00] <howardgrigg> :p
1305: [22:03:00] <mirrors> cheers everyone
1306: [22:03:00] <FrozenFire> Heh
1307: [22:03:00] <mirrors> FrozenFire: Environment was actually very correct
1308: [22:03:00] <mirrors> YES YES the new line was in my environment file
1309: [22:04:00] * FrozenFire debates listening to Silverscoop, or continue listening to classical music
1310: [22:04:00] <simon_w> FrozenFire, you can listen to silverscoop and laugh and them being wrong? :p
1311: [22:04:00] <FrozenFire> Having one of those rare days where classical music is my muse. :P
1312: [22:05:00] <FrozenFire> Are they often wrong?
1313: [22:06:00] <FrozenFire> You should guest on it, then. :P
1314: [22:06:00] <simon_w> Well, sometimes
1315: [22:07:00] <howardgrigg> we are never wrong!
1316: [22:09:00] * trxclint has joined #silverstripe
1317: [22:09:00] <howardgrigg> simon_w: I rely on you correcting us in the chatroom but we should have you on at some point if you are keen
1318: [22:10:00] <simon_w> Oh, I correct you. Even when I can't listen live :p
1319: [22:11:00] * liam has joined #silverstripe
1320: [22:13:00] <simon_w> So, go live time?
1321: [22:13:00] * liam quit (Client Quit)
1322: [22:13:00] * trxclint quit (Client Quit)
1323: [22:14:00] <howardgrigg> Aaron is just finishing something off
1324: [22:14:00] <howardgrigg> should be pretty soon...
1325: [22:14:00] <Pyromanik> oh, scoop is on now?
1326: [22:15:00] <FrozenFire> No
1327: [22:15:00] <simon_w> Whoa, Pyromanik refraining!
1328: [22:15:00] <howardgrigg> lol almost
1329: [22:15:00] <Pyromanik> too easy
1330: [22:15:00] * Pyromanik refrains from "finishing off" joke
1331: [22:16:00] <simon_w> Though 911 works too
1332: [22:16:00] <FrozenFire> Pyromanik, Is someone coercing you?
1333: [22:16:00] * FrozenFire wonders what's wrong
1334: [22:16:00] <simon_w> 111
1335: [22:16:00] <Pyromanik> because too many stupids
1336: [22:16:00] <Pyromanik> I am under duress.
1337: [22:16:00] <FrozenFire> What's the number there for 911?
1338: [22:17:00] <Pyromanik> when I was young we used to ring 911
1339: [22:17:00] <howardgrigg> Going live now http://silverscoop.org/live/
1340: [22:17:00] <Pyromanik> to listen to the operator
1341: [22:17:00] <simon_w> Pyromanik, also, tourists
1342: [22:17:00] * popeshoe has joined #silverstripe
1343: [22:17:00] <Pyromanik> "You have dialed the wrong number. Please hang up, and dial ONE, ONE, ONE"
1344: [22:17:00] <Pyromanik> or something like that
1345: [22:17:00] <Pyromanik> simon_w: yeh
1346: [22:17:00] <Pyromanik> shit excuse though.
1347: [22:17:00] <Pyromanik> from american TV shows
1348: [22:17:00] <FrozenFire> http://www.youtube.com/watch?v=KpPmIHQAP2Y
1349: [22:17:00] * trxclint has joined #silverstripe
1350: [22:18:00] <FrozenFire> So they only accept certain numbers
1351: [22:18:00] <Pyromanik> FrozenFire: still do.
1352: [22:18:00] <simon_w> Like, 999 works too
1353: [22:18:00] <FrozenFire> Also perhaps imported phones
1354: [22:18:00] <Keksters> All of the international emergency numbers work
1355: [22:18:00] <FrozenFire> Phones must allow emergency services calls even when locked
1356: [22:18:00] <Pyromanik> not like it's any use calling them though, they'll just order you a taxi.
1357: [22:18:00] <FrozenFire> Or at least, they did at some point
1358: [22:19:00] <Pyromanik> FrozenFire: I think it's vendor set
1359: [22:19:00] <Pyromanik> simon_w: I don't have one.
1360: [22:19:00] <howardgrigg> http://www.leftandmain.com/silverstripe-screencasts/2013/01/28/display-logic-module-for-silverstripe-3/
1361: [22:19:00] <simon_w> Do it live!
1362: [22:19:00] <FrozenFire> Do it now
1363: [22:19:00] * trxclint quit (Client Quit)
1364: [22:19:00] <FrozenFire> If it's imported, that number is probably only 911
1365: [22:19:00] <Pyromanik> these days with smart phones and no dial pad, I'm not sure how to dial without unlocking.
1366: [22:19:00] * mirrors quit (Quit: Page closed)
1367: [22:19:00] <simon_w> Pyromanik, emergency call button on unlock screen
1368: [22:21:00] <simon_w> Pyromanik, should just be CSS hide/show
1369: [22:21:00] <Pyromanik> hooks canview I guess.
1370: [22:21:00] <FrozenFire> Who's talking?
1371: [22:21:00] <simon_w> FrozenFire, UncleCheese
1372: [22:22:00] <FrozenFire> That way the action can know how to react no matter what
1373: [22:22:00] <Pyromanik> oh, so addExtraClass
1374: [22:22:00] <Pyromanik> mmm, true.
1375: [22:22:00] <FrozenFire> Yeah. With the exception of CMS fields, forms should always show all of their fields
1376: [22:23:00] <FrozenFire> Hiding is a presentation layer area
1377: [22:23:00] <FrozenFire> Not controller/view
1378: [22:24:00] * wolfv_ has joined #silverstripe
1379: [22:25:00] * FrozenFire snickers
1380: [22:25:00] <Pyromanik> xD
1381: [22:25:00] <FrozenFire> Hahaha
1382: [22:25:00] <simon_w> http://ss.org.nz/3
1383: [22:25:00] <Pyromanik> Evlauate all the porn!
1384: [22:26:00] <simon_w> Sam "Business Time" Minn?e
1385: [22:26:00] <Pyromanik> http://www.youtube.com/watch?v=WGOohBytKTU
1386: [22:27:00] <Keksters> Still getting blank loops with pagination. Even got someone who actually knows php in.
1387: [22:27:00] <Keksters> Well, knows more than me.
1388: [22:28:00] * FrozenFire missed it
1389: [22:28:00] * simon_w stabs UncleCheese
1390: [22:28:00] <Pyromanik> rofl
1391: [22:29:00] * wolfv_ quit (Ping timeout: 245 seconds)
1392: [22:29:00] <FrozenFire> :|
1393: [22:29:00] <FrozenFire> No..
1394: [22:29:00] <FrozenFire> Ctrl+w'd
1395: [22:29:00] <Pyromanik> FrozenFire: UC uses eval.
1396: [22:30:00] <FrozenFire> Don't produce code with code, is why not
1397: [22:30:00] <Pyromanik> http://www.leftandmain.com/silverstripe-screencasts/2013/01/28/display-logic-module-for-silverstripe-3/ <-- yes.
1398: [22:30:00] <FrozenFire> You know what I mean. :P
1399: [22:30:00] <Pyromanik> and use punch cards.
1400: [22:30:00] <Pyromanik> we should all write assembly.
1401: [22:30:00] <Pyromanik> FrozenFire: so like
1402: [22:30:00] <FrozenFire> :P
1403: [22:31:00] <simon_w> howardgrigg, says the guy that submitted one within two hours of a module going live :p
1404: [22:31:00] <FrozenFire> They're talking about creating new code through logic, as opposed to compiling well-defined code to machine language
1405: [22:32:00] <Pyromanik> so SS's templating is bad.
1406: [22:32:00] <FrozenFire> Yes.
1407: [22:32:00] <Pyromanik> it makes php from code
1408: [22:32:00] <simon_w> howardgrigg, it's local timezone
1409: [22:32:00] <simon_w> as in, yours not UncleCheese
1410: [22:33:00] <catcher_dev> Keksters, is this a controller method running this?
1411: [22:33:00] <simon_w> Yup
1412: [22:33:00] <FrozenFire> That's why DateTime
1413: [22:34:00] <simon_w> howardgrigg, your screen's too small.
1414: [22:34:00] <FrozenFire> Also why all your servers should be using UTC
1415: [22:34:00] <FrozenFire> They stack
1416: [22:34:00] <FrozenFire> That way you don't get weird string-based time differences
1417: [22:34:00] <Pyromanik> Keksters: did you change the template variable to loop to the name of the method that returns the paginated list?
1418: [22:34:00] <FrozenFire> Or too big
1419: [22:35:00] <FrozenFire> Mine screws up because it's high-res
1420: [22:36:00] <FrozenFire> I think panels would be ideal
1421: [22:36:00] <FrozenFire> http://designingwebinterfaces.com/designing-web-interfaces-12-screen-patterns
1422: [22:38:00] <howardgrigg> simon_w: i like it
1423: [22:38:00] <simon_w> I think ModelAdmin should be reworked into a neural interface
1424: [22:39:00] <Keksters> catcher_dev: yes, Pyromanik: yes
1425: [22:40:00] <Keksters> Have tried using http://www.silverstripe.org/template-questions/show/9244#post270379
1426: [22:40:00] <simon_w> UncleCheese, there's a reason I use cmd+shift+G a lot in Finder. That sort of view is really slow
1427: [22:41:00] <Pyromanik> "6 October 2009"
1428: [22:41:00] <Pyromanik> 2.4
1429: [22:41:00] <Keksters> Even running a foreach to get the grandchildren in an eloquent manner
1430: [22:41:00] <Pyromanik> Keksters: taht's old code
1431: [22:41:00] <Pyromanik> don't do that
1432: [22:41:00] <Keksters> Ahah.
1433: [22:43:00] <Pyromanik> then you click the tab on the top right
1434: [22:43:00] <simon_w> UncleCheese, I am! I have no problems with the tree on my 300+ node blog :p
1435: [22:43:00] <Pyromanik> #cms-content-listview
1436: [22:43:00] <Marvanni> nice excel importer : http://phpexcel.codeplex.com/
1437: [22:43:00] * Keksters quit (Quit: Page closed)
1438: [22:44:00] <Keksters> Whoops
1439: [22:44:00] <Pyromanik> nice Marvanni
1440: [22:44:00] * Keksters has joined #silverstripe
1441: [22:45:00] <FrozenFire> Yeah, I've used PHPExcel. It's absolutely horrendous as far as simple imports go
1442: [22:45:00] <FrozenFire> It's very feature-complete, but poorly documented
1443: [22:46:00] <simon_w> UncleCheese, just write your own CMS module already :p
1444: [22:46:00] <UncleCheese> already started
1445: [22:46:00] <Keksters> Even using just the howto's code is getting me blank loops
1446: [22:47:00] <Pyromanik> Because bootstrap is terrible.
1447: [22:47:00] <Keksters> Oh wait. Caching error.
1448: [22:47:00] <UncleCheese> :D
1449: [22:47:00] <FrozenFire> Because SS reinvents everything
1450: [22:47:00] <Marvanni> with this example I got imports out of the box http://stackoverflow.com/questions/4792543/phpexcel-reader-help-required
1451: [22:47:00] <FrozenFire> NIH
1452: [22:47:00] <Pyromanik> There, I said it.
1453: [22:47:00] <FrozenFire> It's okay for certain things.
1454: [22:48:00] <Pyromanik> I don't like being forced into something
1455: [22:48:00] <Pyromanik> I should be free to do as I wish with styles, html, etc.
1456: [22:48:00] <Pyromanik> Bootstrap isn't a revolution, it's boilerplate and grids.
1457: [22:48:00] <FrozenFire> It's like templating languages in PHP
1458: [22:48:00] <FrozenFire> Shit for anything complicated.
1459: [22:49:00] <FrozenFire> Yes. It can simplify things for new users
1460: [22:49:00] <FrozenFire> But CSS does what it needs to do well on its own.
1461: [22:49:00] <irogue> Zurb Foundation is good if you don't want everything forced on you like Bootstrap, but still want the responsive grid system
1462: [22:49:00] * pex__ has joined #silverstripe
1463: [22:49:00] <Pyromanik> ie, a crapload of faff to weigh down yuour site.
1464: [22:50:00] <simon_w> You usually don't see the jQuery UI stuff
1465: [22:50:00] <irogue> whereas bootstrap is designed to be "ALL BOOTSTRAP OR GTFO"
1466: [22:50:00] <irogue> css is written in such a way that it doesn't fuck with anything except its own explicit elements
1467: [22:51:00] <micmania1> Is anybody familiar with Ext JS? Its a brilliant UI but not sure of its support outside of webkit browsers.
1468: [22:52:00] <FrozenFire> It complicates certain tasks more than need be
1469: [22:52:00] <simon_w> micmania1, it's GPLed
1470: [22:52:00] <FrozenFire> SS's templating language is a leaky abstraction, though.
1471: [22:52:00] <Pyromanik> irogue: there are about 15987159017068129061-6-08 CSS grid 'frameworks'
1472: [22:53:00] <FrozenFire> Yeah, I hack SS internally a fair bit, but I'd never want to release the hacks
1473: [22:53:00] <Pyromanik> mm, esp. when cms involved.
1474: [22:53:00] <Pyromanik> 3.0 is MUCH cleaner though
1475: [22:53:00] <FrozenFire> Because SS has such unwieldy code in many cases, when it comes to the CMS
1476: [22:54:00] <Pyromanik> hahahhahaahah, twig guy
1477: [22:54:00] <UncleCheese> !!!!!!!!!
1478: [22:54:00] <Pyromanik> and still being tidied I find
1479: [22:54:00] <Pyromanik> starting to make good uses of interfaces.
1480: [22:54:00] <Pyromanik> that guy
1481: [22:56:00] <Pyromanik> they wanna see people building apps
1482: [22:57:00] <Pyromanik> though that technically is an app
1483: [22:57:00] <Pyromanik> not so much new cms's
1484: [22:57:00] <Pyromanik> if lightweight is your thing, go for it
1485: [22:57:00] <Pyromanik> so yeh
1486: [22:59:00] <Pyromanik> rofl, bag of hurt
1487: [22:59:00] <Marvanni> Do you also have this alignment in the gridfields? http://i46.tinypic.com/ek1dtl.jpg
1488: [22:59:00] <Pyromanik> Marvanni: yep.
1489: [22:59:00] <Pyromanik> I think that's fixed in 3.1
1490: [22:59:00] <irogue> any car people up in here?
1491: [22:59:00] <Pyromanik> irogue: I got a warrant this morning
1492: [22:59:00] <Pyromanik> not even a maybe.
1493: [22:59:00] <Pyromanik> it was great
1494: [22:59:00] <Pyromanik> so I guess I'm a car person
1495: [23:00:00] <irogue> lol
1496: [23:00:00] <irogue> need oil advice :P
1497: [23:01:00] <simon_w> Edit the YAML instead! :p
1498: [23:01:00] <Pyromanik> irogue: what about oil?
1499: [23:02:00] <irogue> haven't needed to put oil in the starlet yet. don't know what i should use. the various oil companys' online lube wizard thingees all give different suggestions
1500: [23:03:00] <Pyromanik> yellow one.
1501: [23:03:00] <Pyromanik> anything that isn't wordpress is a better option for a website that isn't just a blog
1502: [23:03:00] <Pyromanik> irogue: Shell helix.
1503: [23:03:00] <irogue> lol
1504: [23:04:00] <Pyromanik> black one is labeled "Diesel" - so don't use that
1505: [23:04:00] <simon_w> The US can't even get surname right :p
1506: [23:04:00] <Pyromanik> blue
1507: [23:04:00] <Pyromanik> unsure
1508: [23:04:00] <Pyromanik> but gold is good
1509: [23:04:00] <UncleCheese> +1
1510: [23:05:00] <Pyromanik> irogue: so according to google images, 15W-40
1511: [23:05:00] <irogue> yeah they've suggested 0W-40, 10W-30, 10W-40 and 15W-40
1512: [23:05:00] <howardgrigg> Thanks guys :)
1513: [23:06:00] <irogue> i assume the 0W-40 is just being retarded cos that's just stupid
1514: [23:06:00] * Emil_Blume has joined #silverstripe
1515: [23:07:00] <irogue> priithansen: hahaha
1516: [23:07:00] <priithansen> My friend tried to change oil himself. By accident let out the transmission oil instead then poured the new oil on top of the old motor oil then realized that and had to buy new transmission oil plus the motor oil for the second time.
1517: [23:07:00] * UncleCheese quit (Quit: UncleCheese)
1518: [23:15:00] * MichaelDesignerX has joined #silverstripe
1519: [23:17:00] <irogue> right, so two votes for shell helix. 'sgood.
1520: [23:17:00] <Pyromanik> irogue: can't go wrong with 15W-40
1521: [23:17:00] <Pyromanik> hahahah
1522: [23:18:00] <irogue> aka most common
1523: [23:18:00] <Pyromanik> most common ;)
1524: [23:18:00] <Pyromanik> mm
1525: [23:18:00] <Pyromanik> go Elf.
1526: [23:18:00] <Pyromanik> Shell isn't shell anymore, and Orica Chemnet are a bunch of gouging pricks.
1527: [23:18:00] <Pyromanik> doesn't particularly matter the brand I guess.
1528: [23:18:00] <Pyromanik> but yeh
1529: [23:18:00] <irogue> 15W-40 is definitely the cheapest
1530: [23:19:00] <Pyromanik> Castrol has the nickname castor oil, but I guess it's still god.
1531: [23:19:00] <irogue> lol
1532: [23:19:00] <Pyromanik> good*
1533: [23:20:00] <Pyromanik> mm
1534: [23:20:00] <irogue> yeah its a pity the oil side of Shell wasn't included in the sale
1535: [23:20:00] <Pyromanik> Orica tried to rip the old man off
1536: [23:20:00] <Pyromanik> so he flipped to Elf
1537: [23:20:00] <Pyromanik> and orica got mad
1538: [23:20:00] <Pyromanik> tried to lawyer up
1539: [23:21:00] <Pyromanik> and Elf gave him jackets.
1540: [23:21:00] <Pyromanik> "YOU HAVE TO PAY THE PRICE THAT WE JUST PUT UP BY 300% BECAUSE"
1541: [23:21:00] <Pyromanik> said "no fuckoff"
1542: [23:21:00] <Pyromanik> and then some shit happened
1543: [23:21:00] <Pyromanik> but in the end orica fucked off
1544: [23:21:00] <Pyromanik> and he paid them nothing
1545: [23:22:00] <irogue> where does one buy Elf though?
1546: [23:22:00] <Pyromanik> so that's cool
1547: [23:23:00] <Marvanni> I have several pagetypes with an $icon set, both somename-file.gif, but they dont always show
1548: [23:23:00] <Marvanni> hm this icons displayed before the PageTypes in the add page section does not always display th icon set with static $icon ?
1549: [23:37:00] <Marvanni> hm its posible to set a css class for $icon?
1550: [23:40:00] <Marvanni> ah, no just css rules :)
1551: [23:48:00] * lerni quit (Remote host closed the connection)
1552: [23:55:00] * popeshoe quit (Quit: This computer has gone to sleep)

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