#silverstripe IRC Log

IRC log for 11 January 2013

All timestamps are in UTC.

1: [00:02:00] * Bollig|DesignCty has joined #silverstripe
2: [00:07:00] * catcher quit (Quit: Leaving)
3: [00:12:00] * guci0 quit (Ping timeout: 245 seconds)
4: [00:19:00] <Pyromanik> FrozenFire: I can do nothing but agree there.
5: [00:19:00] <Pyromanik> also, fix and commit the widgets for me.
6: [00:20:00] <Pyromanik> something to do with $blah =& new OhDear()
7: [00:20:00] <Pyromanik> just do what I do: tell them to get the f over it.
8: [00:20:00] <Pyromanik> rss widget fux yo shiz up
9: [00:20:00] <FrozenFire> I'm sure everyone would squawk over it being a BC breaker
10: [00:20:00] <Pyromanik> FrozenFire: neg.
11: [00:21:00] <FrozenFire> But it shouldn't require it
12: [00:21:00] <FrozenFire> I really don't see why the blog module needs widgets in the first place
13: [00:21:00] <FrozenFire> XD
14: [00:21:00] <Pyromanik> you can't just plonk SS3 into an ss2 install and expect it to work either.
15: [00:21:00] <FrozenFire> It's fine that it *defines* a widget
16: [00:21:00] <Pyromanik> so really the whole BC argument is a bit of a farce in my eyes
17: [00:22:00] <Pyromanik> well, the blog's inclusion of them
18: [00:22:00] <Pyromanik> if you don't install widgets
19: [00:22:00] <Pyromanik> only*
20: [00:22:00] <Pyromanik> ony
21: [00:22:00] <Pyromanik> they are
22: [00:22:00] <FrozenFire> If I were doing anything, I'd be removing widgets entirely from blog module as a dependency
23: [00:22:00] <Pyromanik> I don't think you'd need to break bc to fix widgets
24: [00:22:00] <Pyromanik> also
25: [00:23:00] <FrozenFire> BlogTree has_one WidgetArea
26: [00:23:00] <Pyromanik> blog still works fine, but SecurityAdmin borks
27: [00:23:00] <FrozenFire> Every time I install blog module, I find myself weeping over its requirement of widgets
28: [00:23:00] <Pyromanik> so it's not a hundy
29: [00:23:00] <Pyromanik> but it doesn't require widgets
30: [00:23:00] <FrozenFire> It does
31: [00:23:00] <Pyromanik> it makes SecurityAdmin require it
32: [00:23:00] <Pyromanik> no, it doesn't.
33: [00:24:00] <Pyromanik> if(class_exists)
34: [00:25:00] <terryapodaca> anyone from AUS?
35: [00:25:00] <Pyromanik> I've installed and run blog without widgets
36: [00:25:00] <Pyromanik> with no adaptations
37: [00:25:00] <Pyromanik> works fine
38: [00:25:00] <Pyromanik> until you click on the security tab in the admin.
39: [00:25:00] <Pyromanik> Bollig|DesignCty, dnz-, etc.
40: [00:25:00] <Pyromanik> yep
41: [00:26:00] <Bollig|DesignCty> sure, plenty. why terry?
42: [00:28:00] <Pyromanik> terryapodaca: ^
43: [00:28:00] <Bollig|DesignCty> feeling lonely, wanted to know where the closes hug was?
44: [00:31:00] <Pyromanik> Bollig|DesignCty: what does it mean when httpd.conf consists of: ""
45: [00:31:00] <Pyromanik> but he's Texan
46: [00:31:00] <Pyromanik> IN Texas.
47: [00:32:00] <terryapodaca> through it
48: [00:32:00] <terryapodaca> dust/dirt
49: [00:32:00] <terryapodaca> http://www.weather.com/news/dust-storm-australia-20130110
50: [00:32:00] <terryapodaca> was just going to ask if anyone on here had to sit
51: [00:32:00] <Pyromanik> dust?
52: [00:32:00] <terryapodaca> just saw the images and video of the huge dust storm
53: [00:33:00] <Pyromanik> that's like, the complete opposite side
54: [00:33:00] <Pyromanik> Oh it's WA
55: [00:33:00] <Pyromanik> mad
56: [00:33:00] <Bollig|DesignCty> in onslo: middle of no and where.
57: [00:34:00] <Bollig|DesignCty> I'm in WA! but still probably closer to the SA border than that dust storm ;)
58: [00:34:00] <Pyromanik> but that's just dnz-
59: [00:34:00] <Pyromanik> oh, i thought you were in Vic
60: [00:34:00] <Bollig|DesignCty> they're relatively common in the bush, that's just a particularly cool looking one passing the coast :)
61: [00:35:00] <Pyromanik> Bollig|DesignCty: you updated your site. nice. what is this high res image voodoo you've got going on!?
62: [00:36:00] <FrozenFire> Any hack I can use from an extension to completely override a function call?
63: [00:36:00] <Bollig|DesignCty> yeah pyro, updated about 11 months ago ;)
64: [00:36:00] <FrozenFire> Because I don't want to modify the rest of my application just because BlogTree has SideBar overloaded
65: [00:36:00] <FrozenFire> Uggh. The blog module is pissing me off...
66: [00:37:00] <FrozenFire> I am saddened
67: [00:37:00] <Pyromanik> FrozenFire: no, extnsions can't replace existing methods
68: [00:37:00] <Pyromanik> if it has an extension hook you could jimmy it
69: [00:37:00] <FrozenFire> It does not
70: [00:37:00] <Bollig|DesignCty> with all the 27" computers around these days we optimised the images for giant screens more than for iphones... the image sizes are relatively simple, getting it to work square with the bottom cropped off while the images could resize, that was the trick ;)
71: [00:37:00] <Pyromanik> but I doubt it does
72: [00:38:00] <Pyromanik> FrozenFire: nah, just extend BlogHolder and Entry
73: [00:38:00] <Pyromanik> and make Sidebar() do nothing.
74: [00:38:00] <FrozenFire> Screw that
75: [00:38:00] <Pyromanik> and hide the parents
76: [00:38:00] <Pyromanik> FrozenFire: as is my experience with about 100% of ss classes I want to hook.
77: [00:38:00] <FrozenFire> Now I get to go fuck with every other class that uses a sidebar
78: [00:38:00] <Pyromanik> classes that is
79: [00:38:00] <FrozenFire> Not to mention completely redefining my goddamn sidebar contents
80: [00:39:00] <FrozenFire> But there's no way to skip a parent
81: [00:39:00] <FrozenFire> Because I want to call Page::Sidebar
82: [00:39:00] <FrozenFire> That wouldn't even work
83: [00:40:00] <Pyromanik> :P
84: [00:40:00] <Pyromanik> MAD
85: [00:40:00] <FrozenFire> Nope
86: [00:40:00] <FrozenFire> Forwarding calls cannot happen like that
87: [00:40:00] <Pyromanik> prototype.prototype
88: [00:40:00] <Pyromanik> :P
89: [00:40:00] <Pyromanik> $blah = parent
90: [00:40:00] <Pyromanik> parent::parent::Sidebar()
91: [00:40:00] * Stomach has joined #silverstripe
92: [00:40:00] <FrozenFire> That is not valid syntax
93: [00:41:00] <Pyromanik> deal with it.
94: [00:41:00] <Pyromanik> hack core.
95: [00:41:00] <Pyromanik> make another function on page that calls page::sidebar then call taht
96: [00:41:00] <Pyromanik> fuck.
97: [00:41:00] <Pyromanik> commit changes.
98: [00:41:00] <Pyromanik> or ...
99: [00:41:00] <Pyromanik> or statics
100: [00:41:00] <Pyromanik> or something
101: [00:42:00] <Pyromanik> suddenly no longer a core hack
102: [00:42:00] <FrozenFire> :P
103: [00:42:00] <FrozenFire> I'm inclined just to fork blog
104: [00:42:00] <FrozenFire> Pretty sure I already have, actually
105: [00:43:00] * FrozenFire mumbles obscenities
106: [00:43:00] <FrozenFire> Just saddens me that it's such utter shit that I have to
107: [00:44:00] <FrozenFire> Wish you could pack smudge commits into a git repo
108: [00:47:00] <Pyromanik> no
109: [00:47:00] <FrozenFire> Happy?
110: [00:47:00] <FrozenFire> There, I said it
111: [00:47:00] <Pyromanik> why doesn't my vhost work?
112: [00:47:00] <FrozenFire> Because you're bad
113: [00:48:00] <Pyromanik> haha, true
114: [00:48:00] <FrozenFire> If we're talking about Apache, that's not a given
115: [00:48:00] <Pyromanik> correct answer as coined by the infamous simon_w is: because you're doing it wrong.
116: [00:51:00] * pippy_ is now known as pippy
117: [00:51:00] * gelignite quit (Quit: http://bit.ly/nkczDT)
118: [00:51:00] * FrozenFire is getting pissed at this thing
119: [00:51:00] <FrozenFire> I know that as soon as I start editing the blog module, I've opened up a Pandora's box of dependencies and having to maintain my fork properly
120: [00:51:00] <FrozenFire> It's not fair
121: [00:55:00] * travis-ci has left #silverstripe
122: [00:55:00] * travis-ci has joined #silverstripe
123: [00:55:00] <travis-ci> [travis-ci] silverstripe/sapphire#1143 (3.1 - 7306d02 : Ingo Schommer): The build was broken.
124: [00:55:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/58013cf36762...7306d02411c2
125: [00:55:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/4079028
126: [00:56:00] <FrozenFire> I worked around you!
127: [00:56:00] <FrozenFire> BUAHAHAHAHAHAHA
128: [00:56:00] <FrozenFire> Fuck you BlogTree
129: [00:57:00] <Stomach> lol
130: [00:57:00] <FrozenFire> <% if Sidebar.Items.exists %>$Sidebar<% else_if SiteConfig.Sidebar %>$SiteConfig.Sidebar<% end_if %>
131: [00:57:00] <FrozenFire> Eat that, bitch
132: [01:00:00] <Pyromanik> Paul Irish is coming to NZ
133: [01:00:00] <Pyromanik> good work FrozenFire :p
134: [01:01:00] <FrozenFire> Surprisingly, despite his being well-known, he still offers support in #jquery, I think
135: [01:01:00] <Pyromanik> although it appears you're all on holiday :<
136: [01:01:00] <Pyromanik> people from NZ feel free to chime in here
137: [01:01:00] <FrozenFire> Good guy
138: [01:01:00] <Pyromanik> wondering if it'd be worthwhile to go to webstock
139: [01:02:00] <Pyromanik> mmm
140: [01:02:00] <FrozenFire> Perhaps notoriety isn't the parameter to use
141: [01:02:00] <FrozenFire> Despite him being busy
142: [01:03:00] <Pyromanik> not too sure why exactly
143: [01:03:00] <FrozenFire> Lucky you
144: [01:03:00] <Pyromanik> boss just offered to fly me up to next ss meetup
145: [01:03:00] <Pyromanik> http://www.webstock.org.nz/
146: [01:03:00] <FrozenFire> Does that actually work?
147: [01:03:00] <Pyromanik> banking credits for a bigger more expensive trip perhaps.
148: [01:03:00] <FrozenFire> Haha
149: [01:03:00] <Pyromanik> yeh, only I said no :<
150: [01:04:00] <Pyromanik> well we looked at the website
151: [01:04:00] <Pyromanik> haha
152: [01:05:00] <Pyromanik> FrozenFire: I was doing it wrong
153: [01:05:00] <Pyromanik> oh there we go
154: [01:05:00] <spronk> webstock is a bit of a circlejerk now
155: [01:05:00] <FrozenFire> That website's perty
156: [01:05:00] <spronk> hm?
157: [01:06:00] <Pyromanik> (I know what you mean, but pros/cons plz)
158: [01:06:00] <Pyromanik> spronk: elaborate
159: [01:06:00] <Pyromanik> lololol
160: [01:06:00] <FrozenFire> That website uses an interesting him hack
161: [01:06:00] <FrozenFire> shim**
162: [01:06:00] <FrozenFire> Look at the <html>
163: [01:06:00] <Pyromanik> ServerName in my site's vhost wasn't correct.
164: [01:07:00] <FrozenFire> Nothing wrong with it
165: [01:07:00] <Pyromanik> I see it a bit
166: [01:07:00] <Pyromanik> haven't you?
167: [01:07:00] <Pyromanik> <!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
168: [01:07:00] <FrozenFire> Haven't seen that done before
169: [01:07:00] <FrozenFire> Just... interesting
170: [01:07:00] <terryapodaca> what's wrong with that <html>?
171: [01:08:00] <terryapodaca> probably used h5boiler plate
172: [01:08:00] <Pyromanik> mmm
173: [01:08:00] <FrozenFire> I see a lot of bad work, is a better way to put it
174: [01:08:00] <FrozenFire> I tend to work in a bit of a bubble
175: [01:08:00] <FrozenFire> :P
176: [01:08:00] <FrozenFire> I've not
177: [01:08:00] <Pyromanik> cool hack
178: [01:08:00] <Pyromanik> know that feel
179: [01:08:00] <FrozenFire> Never necessarily see other people's work
180: [01:08:00] <terryapodaca> and it's really not a 'hack'
181: [01:09:00] <terryapodaca> the default h5bp does the same thing, and uses Modernizr
182: [01:09:00] <FrozenFire> It is a hack, though
183: [01:09:00] <FrozenFire> It's not a bad hack
184: [01:09:00] <Pyromanik> yeh, probably
185: [01:09:00] <FrozenFire> Yes it is
186: [01:10:00] <FrozenFire> Things like Modernizr *are* hacks. :P
187: [01:10:00] <terryapodaca> nah
188: [01:10:00] <Pyromanik> yes and no
189: [01:10:00] <FrozenFire> Shimming in behaviour that isn't supposed to work
190: [01:11:00] <FrozenFire> But it's often used to load shims, is it not?
191: [01:11:00] <FrozenFire> Well, I suppose Modernizr doesn't modify the behaviour
192: [01:11:00] <Pyromanik> can be
193: [01:12:00] <FrozenFire> I tend to just target the last decade of browsers and hope for the best. :P
194: [01:12:00] <Pyromanik> I use overlabel
195: [01:12:00] <FrozenFire> Though I do load a few shims for stupid-that-it's-not-there shit like placeholders in IE9
196: [01:13:00] <FrozenFire> I use https://github.com/parndt/jquery-html5-placeholder-shim
197: [01:14:00] <terryapodaca> http://html5shim.googlecode.com/svn/trunk/html5.js
198: [01:14:00] <FrozenFire> That's because it's probably not possible
199: [01:14:00] <Pyromanik> the one and only shim I actually find myself wanting, but NEVER find, is for ::before and ::after
200: [01:14:00] <FrozenFire> Which is probably akin to overlabel
201: [01:14:00] <terryapodaca> that's all i use
202: [01:14:00] <FrozenFire> Before and after are *really* weird elements in a document, as far as behaviour goes
203: [01:15:00] <FrozenFire> Without the browser supporting the syntax, I don't know that you can select them
204: [01:15:00] <FrozenFire> That is, it's not a DOM manipulation
205: [01:15:00] <FrozenFire> They exist entirely in the rendering engine, sfaik
206: [01:16:00] <FrozenFire> It's not perfect, but it works
207: [01:16:00] <FrozenFire> Well, I've managed that purely in CSS at one point
208: [01:16:00] <Pyromanik> FrozenFire: nah, overlabel is like $('input').focus(function(){$('label[for='+this.id+']').hide()}
209: [01:16:00] <Pyromanik> and that's pretty much ti
210: [01:16:00] <Pyromanik> well, selectors are different, etc.
211: [01:16:00] <Pyromanik> input.overlabel-apply I think it is
212: [01:17:00] <Pyromanik> make example
213: [01:17:00] <Pyromanik> jsfiddle or something
214: [01:17:00] <FrozenFire> input[placeholder]:before { content: attr(placeholder); }
215: [01:17:00] <FrozenFire> Something like that
216: [01:17:00] <FrozenFire> There's more to it
217: [01:17:00] <FrozenFire> Nope
218: [01:17:00] <Pyromanik> show me css
219: [01:17:00] <Pyromanik> yes
220: [01:17:00] <FrozenFire> No...?
221: [01:17:00] <Pyromanik> FrozenFire: yeh, but you have to put the label after the input, and once the input loses focus the label comes back up
222: [01:18:00] <FrozenFire> Are you actually interested, or just making a point? :P
223: [01:18:00] <FrozenFire> I've stopped using it because it requires Javascript anyways
224: [01:18:00] <Pyromanik> how to keep 'label' hidden once text entered?
225: [01:18:00] <Pyromanik> both
226: [01:18:00] <Pyromanik> yeah
227: [01:18:00] <Pyromanik> ha!
228: [01:18:00] <Pyromanik> keep going
229: [01:18:00] <Pyromanik> pretty sure input doesn't obey:before
230: [01:18:00] <Pyromanik> but keep going
231: [01:19:00] <FrozenFire> Nah
232: [01:19:00] <spronk> people like Gruber? i mean what the fuck
233: [01:19:00] <spronk> Pyromanik: just the speakers they get
234: [01:19:00] <Pyromanik> etc
235: [01:19:00] <Pyromanik> hover
236: [01:19:00] <Pyromanik> beyond focus or blur
237: [01:19:00] <Pyromanik> css doesn't read state of input.
238: [01:19:00] <Pyromanik> all*
239: [01:19:00] <Pyromanik> al
240: [01:19:00] <FrozenFire> Older browsers
241: [01:19:00] <FrozenFire> Well, I think it's that it requires JS in some circumstances
242: [01:19:00] <Pyromanik> :P
243: [01:19:00] <Pyromanik> requires js
244: [01:19:00] <Pyromanik> you type into it, then remove focus
245: [01:20:00] <Pyromanik> spronk: don't even know who
246: [01:20:00] <FrozenFire> Biggest difficulty in demonstrating this is that the browser already supports placeholder. :P
247: [01:21:00] <FrozenFire> I think the trick is something like input[placeholder][value=]:before { content: attr(placeholder); }
248: [01:21:00] <FrozenFire> Guess I could do that
249: [01:21:00] <spronk> gruber? you know that idiot that runs daringfireball and commentates on everything apple
250: [01:21:00] <Pyromanik> name it flurpdydurp
251: [01:21:00] <Pyromanik> FrozenFire: well, don't use placeholder attribute then
252: [01:25:00] * terryapodaca has left #silverstripe
253: [01:27:00] <FrozenFire> Hrmm, not sure what I had before, then
254: [01:28:00] * DesignerX has joined #silverstripe
255: [01:29:00] <DesignerX> hi am having problem installin SS on my clients hosting . ...You may need to get your web host or server administrator to do this for you: mod_rewrite or other rewrite module is enabled on your web server , AllowOverride All is set for the directory where SilverStripe is installedz
256: [01:29:00] <FrozenFire> Maybe it was that I applied it to the wrapper of the field
257: [01:29:00] <FrozenFire> Anyways, meh
258: [01:30:00] <DesignerX> qill be removed in few min
259: [01:30:00] <FrozenFire> DesignerX, What problems?
260: [01:30:00] <DesignerX> & memory limit while http://northshoretreeloppers.com.au/phpinfo.php shows everything is enabled & set correctly
261: [01:30:00] <FrozenFire> DesignerX, Unwise to link to phpinfo
262: [01:31:00] <FrozenFire> Unwise to ever link to it
263: [01:31:00] <DesignerX> kk :( never again
264: [01:32:00] <FrozenFire> But, I'm still not sure what problem you're asking about
265: [01:33:00] <DesignerX> 1 - Fatal error: Allowed memory size of 33554432 bytes exhausted , while the limit is set to 128 mb
266: [01:33:00] <DesignerX> 2-mod_rewrite error in the installer while it is enabled as shopwn in phpinfo
267: [01:33:00] * Liquide quit ()
268: [01:34:00] <FrozenFire> Which version of SilverStripe?
269: [01:35:00] <FrozenFire> And, have you modified any of the files that came with SS?
270: [01:35:00] <FrozenFire> Could you pastebin your .htaccess file?
271: [01:35:00] <DesignerX> no havnt changed anything & its 3.0.2
272: [01:36:00] <DesignerX> -https://gist.github.com/4507268
273: [01:36:00] <Pyromanik> vhost still not display FrozenFire
274: [01:36:00] <Pyromanik> what do?
275: [01:36:00] <FrozenFire> Stop doing it wrong?
276: [01:37:00] <Pyromanik> spronk: but doesn't u know? mac IS the web!
277: [01:37:00] <DesignerX> Pyromanik: Hi there, long time no see :D happy new year
278: [01:38:00] <Pyromanik> HNY Mikel
279: [01:39:00] <DesignerX> kk , its shared hosting, dont th8ink I have access
280: [01:39:00] <DesignerX> FrozenFire: "Stop doing it wrong" , wah that to me ?
281: [01:39:00] <FrozenFire> DesignerX, Do you have access to a terminal?
282: [01:39:00] <FrozenFire> DesignerX, Nope, that wasn't
283: [01:39:00] <FrozenFire> Joke with Pyromanik
284: [01:39:00] * OxFF1 has left #silverstripe
285: [01:39:00] <FrozenFire> Or, alternatively
286: [01:40:00] <FrozenFire> In place of your phpinfo.php file's contents, put <?php echo ini_get("memory_limit");
287: [01:40:00] <FrozenFire> Just want to know what string exactly is coming out of that
288: [01:41:00] <FrozenFire> Alright, yeah
289: [01:41:00] <DesignerX> done
290: [01:41:00] * Stomach quit (Quit: Leaving.)
291: [01:41:00] <FrozenFire> Had a hunch, didn't pan out
292: [01:41:00] <DesignerX> returns 128M
293: [01:41:00] <FrozenFire> Hrmm
294: [01:45:00] <FrozenFire> You've definitely encountered a conundrum
295: [01:47:00] <FrozenFire> And nothing in your project's files is likely to be changing that value?
296: [01:48:00] <FrozenFire> What sort of gallery?
297: [01:48:00] <FrozenFire> That is, is it a fresh install, DesignerX?
298: [01:48:00] <FrozenFire> Or do you have project code already?
299: [01:48:00] <DesignerX> FrozenFire: few extra classes, gallery & testimonials but nothing other then that
300: [01:48:00] <FrozenFire> Just wonder if there isn't some configuration file or some library you're including that is being retarded and setting the memory limit
301: [01:49:00] <DesignerX> I can remove all my code & try it
302: [01:49:00] <DesignerX> no config files at all
303: [01:49:00] <DesignerX> basic, page has many images
304: [01:51:00] <FrozenFire> Well, what I'd be looking for is something that may be calling something like ini_set("memory_limit", "32M");
305: [01:52:00] <FrozenFire> That often happens when you're including a library into your project and it's making that call
306: [01:52:00] <FrozenFire> Because SS will run all PHP files in the code directory of your project
307: [01:53:00] <DesignerX> removed everything , the problem I remember having something like this before, but cant remember or find my docs now :(
308: [01:53:00] <FrozenFire> If it's just SS-specific code in general, that'd not likely to be the problem
309: [01:53:00] <FrozenFire> So if there's something like an image gallery script, that'd be what's amiss
310: [01:53:00] <FrozenFire> that's**
311: [01:54:00] <DesignerX> where should i add the php.ini file ?
312: [01:54:00] <FrozenFire> They might be putting a memory limit on your processes externally
313: [01:54:00] <DesignerX> question
314: [01:54:00] <FrozenFire> The other possibility is that it's a really stupid host
315: [01:55:00] <FrozenFire> Well, php.ini files can be added in several places
316: [01:55:00] <FrozenFire> http://php.net/manual/en/configuration.php
317: [01:55:00] <DesignerX> FrozenFire: adding it in /Framework seems to have solved it "so far" !
318: [01:56:00] * cloph_away1 has joined #silverstripe
319: [01:56:00] <DesignerX> is there another way to do it inside _config.php (i rmember there was one ? )
320: [01:56:00] <FrozenFire> php_value memory_limit 128M
321: [01:56:00] <FrozenFire> Well, that's actually something I'd put in .htaccess
322: [01:57:00] <FrozenFire> Best to set it before PHP starts running any code
323: [01:57:00] * cloph_away quit (Ping timeout: 260 seconds)
324: [01:57:00] <FrozenFire> That's a bit late in the process
325: [01:58:00] <DesignerX> ah kk, what I dont get is is this erro in the hosting or SS ? why does it pickup on the Framework/php.ini but not the one in the root ?
326: [01:59:00] <FrozenFire> https://github.com/silverstripe/silverstripe-installer/blob/3.0/.htaccess#L27
327: [01:59:00] <FrozenFire> It's executing framework/main.php
328: [01:59:00] <FrozenFire> Because it's not executing PHP in the root
329: [02:00:00] <FrozenFire> Using a php.ini is going to cause such problems
330: [02:00:00] <FrozenFire> Yeah, use .htaccess for that very reason
331: [02:00:00] <FrozenFire> Ah, so that's definitely your problem.
332: [02:00:00] <FrozenFire> So PHP looks wherever the script is that it first loads
333: [02:00:00] <FrozenFire> It won't always be loaded
334: [02:01:00] <DesignerX> kk, will do
335: [02:04:00] <DesignerX> I tried php_value memory_limit 128M but now I get a Internal Server Error 500
336: [02:05:00] <DesignerX> removed the php.ini from /Framework/ 7 added that above line in .htaccess
337: [02:09:00] <FrozenFire> Odd
338: [02:09:00] <FrozenFire> Maybe they've disabled php_value in htaccess on your server
339: [02:10:00] <FrozenFire> Guess the only real solution for you probably is to put it in framework
340: [02:10:00] <FrozenFire> E.g. putting an ini file in your home directory
341: [02:10:00] <FrozenFire> Unless your host has another way of loading PHP ini files
342: [02:10:00] <FrozenFire> Though that's less than ideal, definitely
343: [02:14:00] <DesignerX> Now its working, I usually use my VPS which works 100% but this clients has paid for his hosting already
344: [02:14:00] <DesignerX> hh, thanks anwyas,
345: [02:20:00] * Stomach has joined #silverstripe
346: [02:21:00] <FrozenFire> Heh
347: [02:21:00] <FrozenFire> I hate clients for that
348: [02:22:00] <FrozenFire> They make fundamental technical decisions before consulting you, which then you have to work around
349: [02:22:00] <ss23> s/that/everything/
350: [02:22:00] <ss23> Doing some stuff atm -- "We want it to be an iPad app" "Well, why not tell us what you want, and we'll tell you whether it needs to be an app, or could jsut be a website?" "NO IT NEEDS TO BE AN APP, WE WANT TO TOUCH IT"
351: [02:22:00] <ss23> YEs, FrozenFire
352: [02:23:00] <FrozenFire> "It's web hosting, right?"
353: [02:23:00] <ss23> like, f
354: [02:23:00] <FrozenFire> Well, my biggest peeve starts with Go
355: [02:23:00] <FrozenFire> Ends with Daddy
356: [02:23:00] <ss23> lol
357: [02:24:00] <FrozenFire> This client we're trying to close out a project with that's been running for several months had the gall to complain that our application was slow
358: [02:24:00] <FrozenFire> Running on GoDaddy economy shared hosting.
359: [02:24:00] <ss23> Nodaddy!
360: [02:24:00] <FrozenFire> It's our fault, apparently.
361: [02:24:00] <ss23> XD
362: [02:25:00] <FrozenFire> Client work--
363: [02:25:00] <FrozenFire> I wanted to wring her neck
364: [02:26:00] <DesignerX> How can I .LimitCharacters(50) on $Content in $summary_fields ?
365: [02:26:00] * cloph_away has joined #silverstripe
366: [02:27:00] <FrozenFire> DesignerX, In what context?
367: [02:27:00] * oddnoc quit (Quit: bye!)
368: [02:27:00] <DesignerX> yeop
369: [02:27:00] <DesignerX> I want the GiedField to show the 1st 50 words from $Content
370: [02:27:00] <FrozenFire> GridField?
371: [02:28:00] * cloph_away1 quit (Ping timeout: 248 seconds)
372: [02:29:00] <FrozenFire> Yeah. You'll need to do $gridFieldConfig->getComponentByType("GridFieldDataColumns")->setFieldFormatting(array("Content" => function($value, $obj) { return $obj->dbObject("Content")->LimitCharacters(50); }));
373: [02:29:00] <FrozenFire> I think
374: [02:30:00] <Pyromanik> LimitWordCount(50)
375: [02:31:00] <DesignerX> I though this limit is set on the object iteself in static $summary_fields = array(
376: [02:32:00] <FrozenFire> You can use dot notation for getting relations
377: [02:32:00] <FrozenFire> But LimitCharacters is a method
378: [02:32:00] <FrozenFire> I do not believe you can do complex manipulations on summary fields that way
379: [02:33:00] <Pyromanik> oh right, yeah nah.
380: [02:33:00] <DesignerX> Pyromanik: I thought I can do methods becase I remember customozing the Image Thumbnail that way back in 3.0.0
381: [02:33:00] <Pyromanik> pretty sure
382: [02:33:00] <DesignerX> FrozenFire: works like a charm :D ty
383: [02:33:00] <Pyromanik> you can do methods
384: [02:34:00] <Pyromanik> 'Thumbnail' => 'Icon',
385: [02:34:00] <Pyromanik> 'Link' => 'Link'
386: [02:34:00] <Pyromanik> );
387: [02:34:00] <Pyromanik> public function Thumbnail() {
388: [02:34:00] <Pyromanik> $image = $this->Icon();
389: [02:34:00] <Pyromanik> if($image && $image->exists() && ($image->getWidth() > 50 || $image->getHeight() > 50)) {
390: [02:34:00] <Pyromanik> return $image->SetRatioSize(50,50);
391: [02:34:00] <Pyromanik> you can call a method, but not dot notation a method.
392: [02:34:00] <Pyromanik> return null;
393: [02:34:00] <Pyromanik> }
394: [02:34:00] <DesignerX> oh, gotcha
395: [02:34:00] <FrozenFire> Oh, yeah
396: [02:34:00] <DesignerX> much better
397: [02:34:00] <FrozenFire> That'd also do
398: [02:34:00] <Pyromanik> }
399: [02:34:00] <FrozenFire> Yeah, has to be handled in the field formatting of the GridFieldDataColumns
400: [02:34:00] <Pyromanik> eg
401: [02:34:00] <Pyromanik> static $summary_fields = array(
402: [02:34:00] <Pyromanik> 'Title' => 'Title',
403: [02:35:00] <FrozenFire> And you might even need to manipulate the summary in a different way for a different GridField
404: [02:35:00] * Emil_Blume quit (Quit: Leaving.)
405: [02:35:00] <Pyromanik> well, not necessarily, you might want a thumbnail for other purposes too
406: [02:35:00] <FrozenFire> Just because it's just adding code for summary formatting
407: [02:35:00] <FrozenFire> Though personally, I'd prefer not using that style myself
408: [02:35:00] <DesignerX> Depends on what u need it for
409: [02:36:00] <DesignerX> Yep, 2 solutions :) cant be happier
410: [02:43:00] * Stomach quit (Quit: Leaving.)
411: [02:44:00] * Motoservo quit (Quit: Shhh. I'm trying to get some sleep here.)
412: [02:47:00] <Pyromanik> figured out the stuipd vhost
413: [02:47:00] <Pyromanik> turns out you can't have *:80
414: [02:47:00] <Pyromanik> ipaddress:80 works fine
415: [02:48:00] <Pyromanik> wonder why app check tells me it's not running when web server loads it fine :<
416: [02:48:00] <Pyromanik> also
417: [02:48:00] <spronk> o_O
418: [02:53:00] * Motoservo has joined #silverstripe
419: [02:57:00] <FrozenFire> http://www.youtube.com/watch?v=LBKbe-N4IvE
420: [02:58:00] <Pyromanik> someone updated the init script
421: [02:58:00] <Pyromanik> wonder why app check tells me it's not running when web server loads it fine :<
422: [02:58:00] <Pyromanik> oh
423: [02:58:00] <Pyromanik> must have made a derp of it :<
424: [03:00:00] * aznain has joined #silverstripe
425: [03:03:00] * dospuntocero has joined #silverstripe
426: [03:04:00] <dospuntocero> hey guys im facing something that could be a bug on ss3
427: [03:04:00] <dospuntocero> i have a page working on the cms but if i load the front instead of the page im getting the default controllerless page
428: [03:05:00] <FrozenFire> dospuntocero, Flush
429: [03:05:00] <Pyromanik> no page is controllerless
430: [03:05:00] <Pyromanik> you mean rendered with contentcontroller.ss ?
431: [03:05:00] <dospuntocero> i know... but no idea how to call that page..
432: [03:05:00] <dospuntocero> i think so, yes
433: [03:05:00] <FrozenFire> And make sure the theme you're selecting in your config exists
434: [03:06:00] <FrozenFire> And make sure Page.ss exists
435: [03:06:00] <dospuntocero> already flushed and all... all the other pages works
436: [03:07:00] <dospuntocero> it was working like 10 mins ago..
437: [03:07:00] <dospuntocero> with their respective templates
438: [03:07:00] <dospuntocero> only this one doesnt work
439: [03:07:00] <FrozenFire> Might be a bug in your controller, then?
440: [03:07:00] <dospuntocero> no idea...
441: [03:07:00] * instabil quit (Read error: Connection reset by peer)
442: [03:07:00] <dospuntocero> but i dont think so...
443: [03:07:00] <FrozenFire> Are you calling renderWith?
444: [03:08:00] <dospuntocero> nothing fancy
445: [03:08:00] <dospuntocero> just a regular page with some dataobjects on it.
446: [03:08:00] <dospuntocero> nope
447: [03:09:00] <Pyromanik> ?debug_request
448: [03:09:00] <FrozenFire> ?showtemplate=1
449: [03:09:00] <Pyromanik> althoguh I'm not sure they exist anymore
450: [03:09:00] <FrozenFire> That's what you're looking for
451: [03:09:00] <Pyromanik> ?debug
452: [03:09:00] <FrozenFire> And what does your page extend?
453: [03:09:00] <Pyromanik> ?debug_template
454: [03:09:00] <FrozenFire> dospuntocero, What does your controller extend?
455: [03:09:00] <Pyromanik> dospuntocero: do a... oh balls someone removed it
456: [03:10:00] <dospuntocero> i think thats the problem...
457: [03:10:00] <Pyromanik> nah showtemplate shows the actual template code.
458: [03:10:00] <FrozenFire> Yes
459: [03:10:00] <FrozenFire> Well, yeah
460: [03:10:00] <FrozenFire> I suppose that won't help
461: [03:10:00] <Pyromanik> it'll tell you what template it's using, but not WHY it chose that one
462: [03:10:00] <FrozenFire> It's not selecting any template
463: [03:10:00] <Pyromanik> well depends, I'm not convinced.
464: [03:10:00] <dospuntocero> it doesnt work...
465: [03:11:00] <dospuntocero> but im not sure why
466: [03:11:00] <dospuntocero> and multilingualpage extends page, sorry.
467: [03:11:00] <Pyromanik> dospuntocero: what FrozenFire said, what does your controller extend?
468: [03:11:00] <dospuntocero> yes
469: [03:11:00] <dospuntocero> MultilingualPage_Controller and then ContentController
470: [03:11:00] <dospuntocero> all correct on spellings
471: [03:11:00] <Pyromanik> spelt correctly?
472: [03:12:00] <FrozenFire> I'm inclined to think you might somehow be rendering without Page
473: [03:12:00] <Pyromanik> extends page, or page controller?
474: [03:12:00] <dospuntocero> page controller
475: [03:12:00] <dospuntocero> all my other pages extends the same one and all works
476: [03:12:00] <Pyromanik> visit yoursite.tld/MultilingualPage_Controller
477: [03:13:00] <dospuntocero> http://proposals.god.cl/%E2%80%8Ers_MultilingualPage_Controller_-20130111-001322.jpg
478: [03:13:00] <Pyromanik> just no <html></html>
479: [03:13:00] <Pyromanik> FrozenFire: but then it'd still render a partial
480: [03:13:00] <dospuntocero> nope, no renderwith on that page.
481: [03:13:00] <FrozenFire> Instead of array("MyPageType", "Page")
482: [03:13:00] <FrozenFire> That is, doing something like return $this->renderWith(array("MyPageType"));
483: [03:14:00] <dospuntocero> thats what im getting when i called the multilingualcontroller
484: [03:18:00] <Pyromanik> dospuntocero: is multilingualPage_Controller the one that isn't working or.. ?
485: [03:19:00] <dospuntocero> nope
486: [03:19:00] <dospuntocero> the one that doesnt work is the page branchesholder.php
487: [03:20:00] <Pyromanik> BranchesHolder_Controller extends MultilingualPage_Controller ?
488: [03:20:00] <dospuntocero> yes
489: [03:22:00] <Pyromanik> that's your problem
490: [03:22:00] <Pyromanik> nope
491: [03:22:00] <dospuntocero> yes i have
492: [03:22:00] <dospuntocero> ok.. i quit for today.. lol. thanks for your support ;)
493: [03:22:00] <Pyromanik> no
494: [03:22:00] <dospuntocero> im too tired to try other stuff.. hehe....
495: [03:22:00] <dospuntocero> thanks!!!
496: [03:22:00] <Pyromanik> you have no template
497: [03:23:00] <dospuntocero> it was working 5 mins before i did something.. dont remember what... lol
498: [03:23:00] <dospuntocero> too many hours in front of the computer...
499: [03:23:00] <Pyromanik> when you load rs/MultilingualPage_Controller it should still display in your theme, not in that "getting started with ss" info
500: [03:23:00] <Pyromanik> so that's somewhere to start
501: [03:23:00] <dospuntocero> too tired to realize im calling something wrong...
502: [03:23:00] * Stomach has joined #silverstripe
503: [03:23:00] <Pyromanik> MultilingualPage_controller doesn't pick it up.
504: [03:24:00] * dospuntocero quit (Remote host closed the connection)
505: [03:24:00] <Pyromanik> you might not have a renderwith in branchesholder, but you might have put one in the mulitlingualpage
506: [03:24:00] <dospuntocero> tomorrow i will let you know (2am here)
507: [03:24:00] <dospuntocero> no... tahts not the problem either.. lol
508: [03:24:00] <dospuntocero> well i will figure it out tomorrow
509: [03:24:00] <dospuntocero> ;D
510: [03:24:00] <dospuntocero> Zzzz...
511: [03:24:00] <dospuntocero> thankts for your help guys!
512: [03:25:00] <Pyromanik> beer o'clock!
513: [03:25:00] <Pyromanik> 4:30pm
514: [03:26:00] <dnz-> Pyromanik:
515: [03:26:00] <Pyromanik> i dyel fonez all da tiem
516: [03:26:00] <Pyromanik> Y
517: [03:26:00] <dnz-> DYEL
518: [03:27:00] <dnz-> el8
519: [03:27:00] <dnz-> kekekek
520: [03:27:00] <Pyromanik> one myte evn sae dat I play da dyelofone
521: [03:27:00] <Pyromanik> liek a pr0
522: [03:29:00] <dnz-> fff
523: [03:30:00] <Pyromanik> DAYM, DAS A KOLD AZ HONKEY
524: [03:31:00] <Pyromanik> white as the #fff
525: [03:34:00] <dnz-> im fukcin
526: [03:34:00] <dnz-> i told u guys i was hardcore
527: [03:37:00] * Stomach quit (Quit: Leaving.)
528: [03:38:00] <dnz-> stomach doesnt even lift
529: [03:42:00] <spronk> the
530: [03:42:00] <spronk> fuck
531: [03:42:00] <spronk> what
532: [03:47:00] <dnz-> da fuq is diz an d i am 12
533: [03:55:00] * priithansen quit (Quit: priithansen)
534: [03:56:00] <Pyromanik> http://codepen.io/chester1000/pen/oxLjh
535: [04:07:00] * DigNZ quit (Quit: DigNZ)
536: [04:08:00] * DigNZ has joined #silverstripe
537: [04:09:00] * DigNZ quit (Client Quit)
538: [04:13:00] <DesignerX> hi, is this the right <% if MetaTags.MetaDescription %>
539: [04:19:00] * cloph_away1 has joined #silverstripe
540: [04:20:00] * cloph_away quit (Ping timeout: 276 seconds)
541: [04:39:00] * guci0 has joined #silverstripe
542: [04:47:00] * DigNZ has joined #silverstripe
543: [04:49:00] * DigNZ quit (Client Quit)
544: [05:44:00] * cloph_away has joined #silverstripe
545: [05:44:00] <Pyromanik> DesignerX: no
546: [05:44:00] <Pyromanik> just <% if MetaDescription %>
547: [05:44:00] <DesignerX> ah kk
548: [05:44:00] <Pyromanik> Metatags returns processed HTML
549: [05:45:00] <Pyromanik> ie not an SS object that you can manipulate
550: [05:45:00] * cloph_away1 quit (Ping timeout: 248 seconds)
551: [05:50:00] * dendeffe has joined #silverstripe
552: [05:54:00] * nickmolhoek quit (Ping timeout: 246 seconds)
553: [05:56:00] <Pyromanik> weekend!
554: [05:56:00] * Pyromanik has left #silverstripe
555: [06:01:00] <guci0> :)
556: [06:02:00] <guci0> Friday ??? Morning
557: [06:05:00] * Error404NotFound quit (Quit: User guilty of hitting the Big Red X...)
558: [06:22:00] * iamss has joined #silverstripe
559: [06:38:00] * DigNZ has joined #silverstripe
560: [06:38:00] * DigNZ quit (Client Quit)
561: [06:39:00] * dendeffe quit (Quit: dendeffe)
562: [06:48:00] * Zauberfisch has joined #silverstripe
563: [06:48:00] * Zauberfisch quit (Ping timeout: 246 seconds)
564: [06:56:00] * stuckinrealtime quit (Quit: Leaving)
565: [07:01:00] * dendeffe has joined #silverstripe
566: [07:04:00] * aznain quit (Ping timeout: 245 seconds)
567: [07:29:00] * Guits quit (Quit: Leaving)
568: [07:55:00] * Error404NotFound has joined #silverstripe
569: [07:56:00] * ARNHOE has joined #silverstripe
570: [07:57:00] * chillu has joined #silverstripe
571: [08:02:00] * SightUnseen has joined #silverstripe
572: [08:02:00] * SightUnseen has left #silverstripe
573: [08:13:00] * iamss quit (Ping timeout: 245 seconds)
574: [08:14:00] * zfmf has joined #silverstripe
575: [08:24:00] * FinBoWa has joined #silverstripe
576: [08:38:00] * dendeffe quit (Quit: dendeffe)
577: [08:49:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/f922321287f6...212c4f1e5172
578: [08:49:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/4085514
579: [08:49:00] * travis-ci has left #silverstripe
580: [08:49:00] * travis-ci has joined #silverstripe
581: [08:49:00] <travis-ci> [travis-ci] silverstripe/sapphire#1145 (3.0 - 212c4f1 : Ingo Schommer): The build passed.
582: [08:50:00] <FinBoWa> hi guys.. has anyone experienced that the file do increments its ID "by it self"
583: [08:51:00] * cloph_away1 has joined #silverstripe
584: [08:51:00] <FinBoWa> with 2.4.x
585: [08:53:00] * cloph_away quit (Ping timeout: 264 seconds)
586: [08:54:00] <FinBoWa> I'm experiencing weird issues that seems to cause either the file object to be deleteded and created by an incremented id
587: [08:54:00] <FinBoWa> or the id of the original object gets incremented by one
588: [08:57:00] * dendeffe has joined #silverstripe
589: [08:58:00] * mrzero quit (Ping timeout: 255 seconds)
590: [09:00:00] * kinglozzer has joined #silverstripe
591: [09:00:00] * mrzero has joined #silverstripe
592: [09:05:00] * dendeffe_ has joined #silverstripe
593: [09:06:00] * dendeffe quit (Read error: Connection reset by peer)
594: [09:06:00] * dendeffe_ is now known as dendeffe
595: [09:13:00] * travis-ci has left #silverstripe
596: [09:13:00] <travis-ci> [travis-ci] silverstripe/sapphire#1146 (3.1 - 9e82d8e : Ingo Schommer): The build is still failing.
597: [09:13:00] * travis-ci has joined #silverstripe
598: [09:13:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/4085754
599: [09:13:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/7306d02411c2...9e82d8e857d4
600: [09:22:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/4085839
601: [09:22:00] * travis-ci has joined #silverstripe
602: [09:22:00] <travis-ci> [travis-ci] silverstripe/sapphire#1147 (3.1 - f3c0669 : Ingo Schommer): The build was fixed.
603: [09:22:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/9e82d8e857d4...f3c0669fec73
604: [09:22:00] * travis-ci has left #silverstripe
605: [09:48:00] * Bollig|DesignCty quit (Quit: Connection Reset by Mexicans with wirecutters)
606: [09:53:00] * DigNZ has joined #silverstripe
607: [09:53:00] * DigNZ quit (Client Quit)
608: [09:57:00] <travis-ci> [travis-ci] silverstripe/sapphire#1148 (3.0 - 4f39af1 : Ingo Schommer): The build passed.
609: [09:57:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/212c4f1e5172...4f39af1a85f0
610: [09:57:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/4086378
611: [09:57:00] * travis-ci has left #silverstripe
612: [09:57:00] * travis-ci has joined #silverstripe
613: [10:12:00] * feejin has joined #silverstripe
614: [10:13:00] * Shrike_Finland has joined #silverstripe
615: [10:15:00] * travis-ci has joined #silverstripe
616: [10:15:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/4f39af1a85f0...acc616b2ca87
617: [10:15:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/4086730
618: [10:15:00] <travis-ci> [travis-ci] silverstripe/sapphire#1149 (3.0 - acc616b : Ingo Schommer): The build passed.
619: [10:15:00] * travis-ci has left #silverstripe
620: [10:43:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/4087136
621: [10:43:00] * travis-ci has joined #silverstripe
622: [10:43:00] <travis-ci> [travis-ci] silverstripe/sapphire#1150 (3.0 - e7e6c45 : Ingo Schommer): The build passed.
623: [10:43:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/acc616b2ca87...e7e6c45aeebd
624: [10:43:00] * travis-ci has left #silverstripe
625: [11:08:00] * gelignite has joined #silverstripe
626: [11:23:00] * OxFF1 has joined #silverstripe
627: [11:25:00] * Cgull has joined #silverstripe
628: [11:26:00] <Cgull> hello, can someone help with installation problem on windows with WAMP?
629: [11:27:00] <Cgull> Tyring to istall ss first time on windows 7 with WAMP2.1 getting this error: Fatal error: require_once() [function.require]: Failed opening required 'view/TemplateGlobalProvider.php' (include_path='.;C:\wamp\www\clunysilver/framework;C:\wamp\www\clunysilver/framework/parsers;C:\wamp\www\clunysilver/framework/thirdparty;.;C:\php\pear') in C:\wamp\www\clunysilver\framework\core\Core.php on line 246
630: [11:28:00] <kinglozzer> Cgull: Does 'view/TemplateGlobalProvider.php' exist?
631: [11:29:00] <kinglozzer> It's in the framework folder
632: [11:29:00] * lx-berlin has joined #silverstripe
633: [11:29:00] <kinglozzer> so 'framework/view/TemplateGlobalProvider.php'
634: [11:29:00] <Cgull> no it doesn't that's what I was looking for, but just now found the problem, the unzipping of the package went wrong. thx
635: [11:29:00] <kinglozzer> No prob
636: [11:32:00] * Cgull quit (Quit: Page closed)
637: [11:56:00] * Emil_Blume has joined #silverstripe
638: [12:06:00] * dendeffe quit (Quit: dendeffe)
639: [12:07:00] * UncleCheese has joined #silverstripe
640: [12:15:00] * priithansen has joined #silverstripe
641: [12:45:00] * UncleCheese quit (Quit: UncleCheese)
642: [12:48:00] * priithansen quit (Quit: priithansen)
643: [12:48:00] * PigeonFriend has joined #silverstripe
644: [12:49:00] <PigeonFriend> Hey chillu, how you doing? Good new year and all that?
645: [12:53:00] * feejin quit (Remote host closed the connection)
646: [12:54:00] * zfmf has left #silverstripe
647: [12:55:00] * zfmf has joined #silverstripe
648: [13:08:00] * OxFF1 quit (Quit: Leaving.)
649: [13:12:00] * DesignerX quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/)
650: [13:16:00] * dendeffe has joined #silverstripe
651: [13:18:00] * UndefinedOffset has joined #silverstripe
652: [13:22:00] * feejin has joined #silverstripe
653: [13:22:00] * UncleCheese has joined #silverstripe
654: [13:40:00] * UncleCheese quit (Quit: UncleCheese)
655: [13:49:00] * OxFF1 has joined #silverstripe
656: [14:05:00] * FinBoWa has left #silverstripe
657: [14:24:00] * ARNHOE quit (Quit: ( www.nnscript.com :: NoNameScript 4.22 :: www.esnation.com ))
658: [14:29:00] * priithansen has joined #silverstripe
659: [14:32:00] * Shrike_Finland quit (Quit: Leaving.)
660: [14:33:00] * lx-berlin has left #silverstripe
661: [14:45:00] * lx-berlin has joined #silverstripe
662: [14:49:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/e7e6c45aeebd...7dda38742ea3
663: [14:49:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/4090616
664: [14:49:00] <travis-ci> [travis-ci] silverstripe/sapphire#1151 (3.0 - 7dda387 : Ingo Schommer): The build passed.
665: [14:49:00] * travis-ci has joined #silverstripe
666: [14:49:00] <PigeonFriend> hey everyone, does SS 2.4 require php short tags to be enabled?
667: [14:49:00] * travis-ci has left #silverstripe
668: [14:50:00] * dendeffe quit (Quit: dendeffe)
669: [15:00:00] * WilsonS has joined #silverstripe
670: [15:01:00] <WilsonS> Hi everyone. Anyone know how to convert from an SS_Query object to a DataObjectSet? I'm ultimately trying to convert to JSON.
671: [15:02:00] <travis-ci> [travis-ci] silverstripe/sapphire#1152 (3.0 - 9b42dec : Ingo Schommer): The build passed.
672: [15:02:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/4090631
673: [15:02:00] * travis-ci has joined #silverstripe
674: [15:02:00] * travis-ci has left #silverstripe
675: [15:02:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/7dda38742ea3...9b42dec93298
676: [15:06:00] <PigeonFriend> WilsonS: This will turn an SS_Query into a DOS: https://gist.github.com/4511316
677: [15:07:00] <PigeonFriend> but if you want it to go to JSON, you can skip putting it into a DOS.. there is no need.
678: [15:09:00] <WilsonS> Thanks PigeonFriend! Yes my goal was to use either the JSONDataFormatter or the Convert methods but looks like I should just build the JSON manually from the query results
679: [15:13:00] <PigeonFriend> WilsonS: If you want to go straight to JSON: https://gist.github.com/4511382
680: [15:14:00] <WilsonS> Thanks!
681: [15:15:00] <PigeonFriend> WilsonS: DISCLAIMER: That is untested, but is the theory.
682: [15:17:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/9b42dec93298...1dcd9514f983
683: [15:17:00] * travis-ci has joined #silverstripe
684: [15:17:00] <travis-ci> [travis-ci] silverstripe/sapphire#1153 (3.0 - 1dcd951 : Ingo Schommer): The build passed.
685: [15:17:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/4090757
686: [15:17:00] * travis-ci has left #silverstripe
687: [15:25:00] * Liquide has joined #silverstripe
688: [15:31:00] * UncleCheese has joined #silverstripe
689: [15:36:00] * travis-ci has left #silverstripe
690: [15:36:00] * travis-ci has joined #silverstripe
691: [15:36:00] <travis-ci> [travis-ci] silverstripe/sapphire#1154 (3.0 - 42a7371 : Ingo Schommer): The build passed.
692: [15:36:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/1dcd9514f983...42a73715cf95
693: [15:36:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/4090813
694: [15:42:00] * ivoba has joined #silverstripe
695: [15:50:00] * zfmf has joined #silverstripe
696: [15:50:00] * zfmf has left #silverstripe
697: [15:51:00] * WilsonS quit (Quit: Page closed)
698: [15:55:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/4090829
699: [15:55:00] * travis-ci has joined #silverstripe
700: [15:55:00] <travis-ci> [travis-ci] silverstripe/sapphire#1155 (3.0 - e66408b : Ingo Schommer): The build passed.
701: [15:55:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/42a73715cf95...e66408b0a7eb
702: [15:55:00] * travis-ci has left #silverstripe
703: [16:07:00] * kinglozzer quit (Remote host closed the connection)
704: [16:16:00] * kinglozzer has joined #silverstripe
705: [16:17:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/4090874
706: [16:17:00] * travis-ci has joined #silverstripe
707: [16:17:00] <travis-ci> [travis-ci] silverstripe/sapphire#1156 (3.0 - e020c7b : uniun): The build passed.
708: [16:17:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/e66408b0a7eb...e020c7be5722
709: [16:17:00] * travis-ci has left #silverstripe
710: [16:20:00] * UndefinedOffset has joined #silverstripe
711: [16:20:00] * UndefinedOffset quit (Read error: Connection reset by peer)
712: [16:20:00] * catcher has joined #silverstripe
713: [16:23:00] * UndefinedOffset quit (Client Quit)
714: [16:24:00] * UndefinedOffset has joined #silverstripe
715: [16:27:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/4090899
716: [16:27:00] * travis-ci has joined #silverstripe
717: [16:27:00] <travis-ci> [travis-ci] silverstripe/sapphire#1157 (post-2.4 - 27686a0 : Ingo Schommer): The build is still failing.
718: [16:27:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/a3df18ddade2...27686a04c489
719: [16:27:00] * travis-ci has left #silverstripe
720: [16:33:00] * feejin quit (Remote host closed the connection)
721: [16:35:00] * Nivery has joined #silverstripe
722: [16:56:00] * ARNHOFF has joined #silverstripe
723: [16:56:00] * travis-ci has joined #silverstripe
724: [16:56:00] <travis-ci> [travis-ci] silverstripe/sapphire#1158 (3.0 - 4b182d3 : Fred Condo): The build passed.
725: [16:56:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/e020c7be5722...4b182d3fad23
726: [16:56:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/4091151
727: [16:56:00] * travis-ci has left #silverstripe
728: [16:56:00] <kinglozzer> Using custom javascript in the CMS on Pages, when I click to edit another page and then go back, the javascript doesn't get reinitialised :(
729: [16:59:00] <PigeonFriend> kinglozzer: you probably need to make your JS hook into one of the events when a page is brought in
730: [16:59:00] <kinglozzer> Yeah that's what I'm now looking at: Behaviour.register - but the docs I've found are for 2.4. Hope it still applies to 3.0 :)
731: [17:00:00] <PigeonFriend> nope, the CMS is completely re-written in jQuery (I believe)
732: [17:01:00] <kinglozzer> Yep. Gotta use entwine I guess, docs haven't been updated yet
733: [17:01:00] <PigeonFriend> you want to look at jQuery entwine
734: [17:01:00] <PigeonFriend> as that is what the CMS is based on
735: [17:02:00] * UndefinedOffset quit (Quit: Leaving.)
736: [17:10:00] <PigeonFriend> kinglozzer you want to see http://doc.silverstripe.com/framework/en/topics/javascript
737: [17:10:00] <kinglozzer> Thanks that's what I'm looking at, the Javascript in the CMS section at the bottom is out of date though :(
738: [17:18:00] <kinglozzer> Aha! I've found the event I was looking for, onmatch
739: [17:20:00] * UndefinedOffset has joined #silverstripe
740: [17:24:00] * kinglozzer quit (Remote host closed the connection)
741: [17:29:00] * travis-ci has joined #silverstripe
742: [17:29:00] <travis-ci> [travis-ci] silverstripe/sapphire#1159 (2.4 - 78d21b5 : Fred Condo): The build passed.
743: [17:29:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/44c41085b97a...78d21b511c89
744: [17:29:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/4091256
745: [17:29:00] * travis-ci has left #silverstripe
746: [17:43:00] * Nivery quit (Quit: Nivery)
747: [17:47:00] * popeshoe quit (Quit: Leaving)
748: [17:53:00] * OxFF1 has left #silverstripe
749: [18:09:00] * priithansen_ has joined #silverstripe
750: [18:11:00] * priithansen quit (Ping timeout: 245 seconds)
751: [18:11:00] * priithansen_ is now known as priithansen
752: [18:16:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/4091328
753: [18:16:00] * travis-ci has joined #silverstripe
754: [18:16:00] <travis-ci> [travis-ci] silverstripe/sapphire#1160 (3.0 - 3a1df46 : Ingo Schommer): The build passed.
755: [18:16:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/4b182d3fad23...3a1df46743d2
756: [18:16:00] * travis-ci has left #silverstripe
757: [18:18:00] * ivoba quit (Quit: Leaving)
758: [18:23:00] <FrozenFire> Hrmm, here's an idea that I might put together: a tool for generating CMS css overload spreadsheets, to modify the colour scheme based on a base colour
759: [18:24:00] <FrozenFire> I tend to calculate the colours by hand and just paste them into a stylesheet I made, but something automatic would be handy
760: [18:25:00] * UncleCheese quit (Quit: UncleCheese)
761: [18:34:00] <catcher> Why is it so hard to generate a fittedResize image?
762: [18:36:00] <FrozenFire> SetRatioSize otherwise
763: [18:36:00] <FrozenFire> I prefer Image::CroppedImage
764: [18:36:00] <FrozenFire> Depending on the context, of course.
765: [18:56:00] * priithansen quit (Quit: priithansen)
766: [19:00:00] <catcher> Yeah, SetRatioSize was having no effect beyond making the image blurrier. After gutting GD & Image and writing my own fittedResize connector, I realized my responsive css was giving the image 100% width. ugh.
767: [19:02:00] * UncleCheese has joined #silverstripe
768: [19:13:00] * priithansen has joined #silverstripe
769: [19:21:00] <FrozenFire> catcher, You were having an issue with joining a descendant table yesterday, yes?
770: [19:21:00] * terryapodaca has joined #silverstripe
771: [19:22:00] <catcher> FrozenFire, yep, I manually joined the child table. :)
772: [19:22:00] <catcher> FrozenFire, yep, Child::get() queried Parent table, but not Child table.
773: [19:22:00] <terryapodaca> anyone have experience writing a php based web service
774: [19:22:00] <FrozenFire> catcher, Figure it out?
775: [19:22:00] <FrozenFire> I'm having the same issue
776: [19:22:00] <FrozenFire> I have a has_many to CartItem, but need to search on CartItem_CatalogItem's fields
777: [19:23:00] <catcher> CartItem_CatalogItem.WhateverID field not found?
778: [19:23:00] <FrozenFire> Where CartItem_CatalogItem extends CartItem
779: [19:23:00] <FrozenFire> Odd
780: [19:23:00] <FrozenFire> I tried joining and still got an error
781: [19:23:00] <FrozenFire> Couldn't find field ItemID in any of CartItem's tables.
782: [19:24:00] <catcher> "CartItem"."ItemID"
783: [19:24:00] <FrozenFire> $cart->Items()->innerJoin("CartItem_CatalogItem", '"CartItem_CatalogItem"."ID" = "Cart"."ItemID"')->filter(array("ItemID" => $catalogItem->ID, "MediumID" => $medium->ID))->exists()
784: [19:24:00] <catcher> CartItem_CatalogItem has_one Item, but CartItem doesn't?
785: [19:24:00] <FrozenFire> Yeah
786: [19:24:00] <FrozenFire> They're different sorts of CartItems
787: [19:24:00] <catcher> ?
788: [19:25:00] <FrozenFire> Could try that
789: [19:25:00] <FrozenFire> Well, maybe
790: [19:25:00] <FrozenFire> They're equivalent anyways
791: [19:25:00] <FrozenFire> Nope
792: [19:28:00] <FrozenFire> I think the issue is that it's not even making it to the database
793: [19:28:00] <catcher> Oh.
794: [19:28:00] <FrozenFire> It's getting stuck at SearchFilter
795: [19:28:00] <catcher> What's the actual mysql error?
796: [19:29:00] * C10ne has joined #silverstripe
797: [19:30:00] <FrozenFire> Maybe I'll just split my cart item relations out into multiple relations, and have a separate merge
798: [19:30:00] <FrozenFire> I suppose I'll want to do so anyways, but had planned to do it in filters
799: [19:34:00] <terryapodaca> or does SS have a simple way to create web services?
800: [19:35:00] <FrozenFire> terryapodaca, What sort of web services?
801: [19:36:00] <catcher> terryapodaca, I've had some luck with REST, better luck writing simple json publishers / consumers.
802: [19:36:00] <FrozenFire> Or maybe it was RestfulServer
803: [19:36:00] <FrozenFire> Can't remember
804: [19:36:00] <catcher> server publishes, service consumes, iirc
805: [19:36:00] * UncleCheese quit (Quit: UncleCheese)
806: [19:36:00] <FrozenFire> There's http://api.silverstripe.org/trunk/framework/integration/RestfulService.html
807: [19:37:00] <FrozenFire> https://github.com/silverstripe-labs/restassured
808: [19:37:00] <FrozenFire> terryapodaca, Yeah, if *you* get to choose the service type, use REST
809: [19:37:00] <terryapodaca> I don't think it will be publishing any data to the outside world...just updating a database
810: [19:37:00] <terryapodaca> well, I don't know the specifics yet...but it's basically to update a MySQL db
811: [19:37:00] <catcher> both are underdocumented.
812: [19:38:00] <FrozenFire> SOAP is a pain
813: [19:40:00] <catcher> terryapodaca, SS objects?
814: [19:41:00] <catcher> And even if it's the inside world, it's the same.
815: [19:42:00] <terryapodaca> catcher: not sure, it's still all in the planning stage
816: [19:42:00] <catcher> terryapodaca, if they're SS objects, rest is pretty slick.
817: [19:44:00] <FrozenFire> I want to return Currency for templates, and a decimal for code
818: [19:44:00] <FrozenFire> Gah. How does one manage having a method provide both a template-friendly return value and a code-friendly return value?
819: [19:44:00] <FrozenFire> Example: I have a getPrice() method
820: [19:46:00] <FrozenFire> Seems to work
821: [19:46:00] <FrozenFire> DataObject::$casting
822: [19:46:00] <FrozenFire> Aha
823: [19:46:00] <C10ne> why does <% loop $Children %> give me all the Level(2) pages, and not just the current page children?
824: [19:47:00] <catcher> C10ne, maybe you're in the context of the parent
825: [19:49:00] <catcher> Where is the Pos() method?
826: [19:54:00] <ARNHOFF> Is this error, [User Error] Uncaught Exception: Object->__call(): the method 'setcurrentpageid' does not exist on 'ProductViewer' because of 3.1 ?
827: [19:55:00] <FrozenFire> ARNHOFF, Using any sort of ecommerce package, or is ProductViewer your own deal?
828: [19:56:00] <C10ne> catcher, what do you mean "context of the parent"?
829: [19:57:00] <ARNHOFF> http://sspaste.com/paste/show/50f06eba01116
830: [19:57:00] <ARNHOFF> FrozenFire is my own deal, but I am not that good with the controller stuff yet
831: [19:57:00] <ARNHOFF> I used the method from one of the modules on github
832: [19:57:00] <FrozenFire> I'm presuming that ProductViewer extends ModelAdmin?
833: [19:58:00] <FrozenFire> I'm not familiar with SetCurrentPageID()
834: [19:58:00] <FrozenFire> I don't think that exists
835: [19:58:00] <ARNHOFF> its a mess now, but just trying to figure this out before I change everything properly
836: [19:58:00] <FrozenFire> Ah
837: [19:59:00] <ARNHOFF> but it works in 3.0.3, thats why
838: [19:59:00] <ARNHOFF> and I cant find naything in the changelogs about this subject
839: [20:00:00] <FrozenFire> Not sure what you're doing with that code, in any case.
840: [20:00:00] <ARNHOFF> do you have another method how you set your controller?
841: [20:00:00] <FrozenFire> Trying to render DataObjects and pages?
842: [20:00:00] <FrozenFire> as**
843: [20:00:00] <ARNHOFF> I have a menu item called FrozenFire, under that there are products from dataobjects. When I visit the product, I want FrozenFire to be active in the menu
844: [20:00:00] * dendeffe has joined #silverstripe
845: [20:00:00] <FrozenFire> I'm glad I'm that important to you
846: [20:01:00] <terryapodaca> LMAO
847: [20:01:00] <ARNHOFF> and I like working in the modeladmin much more then in the sitetree, np mate! You can be irreplaceable when you help me with this!
848: [20:03:00] <FrozenFire> Well, I believe there's a good tutorial somewhere on using DataObjects as pages
849: [20:03:00] <ARNHOFF> alright
850: [20:03:00] <FrozenFire> Using this SetCurrentPageID thing is less than ideal, I think
851: [20:07:00] <catcher> C10ne, are you really using the $ in loop, or is that an irc typo?
852: [20:09:00] <C10ne> It's pasted from the simple theme, SidebarMenu.ss
853: [20:09:00] <C10ne> I didn't change it
854: [20:16:00] * nickmolhoek has joined #silverstripe
855: [20:16:00] * nickmolhoek quit (Remote host closed the connection)
856: [20:17:00] * nickmolhoek has joined #silverstripe
857: [20:17:00] * nickmolhoek quit (Client Quit)
858: [20:18:00] * Shrike_Finland has joined #silverstripe
859: [20:26:00] * lx-berlin has left #silverstripe
860: [20:41:00] * SightUnseen has joined #silverstripe
861: [20:41:00] * SightUnseen has left #silverstripe
862: [20:59:00] * zfmf has left #silverstripe
863: [21:08:00] * UndefinedOffset quit (Read error: Connection reset by peer)
864: [21:17:00] * Shrike_Finland quit (Quit: Leaving.)
865: [21:29:00] * dendeffe quit (Quit: dendeffe)
866: [21:34:00] * C10ne quit (Ping timeout: 245 seconds)
867: [21:53:00] * Liquide quit (Ping timeout: 264 seconds)
868: [21:59:00] * Liquide has joined #silverstripe
869: [22:00:00] * SightUnseen has joined #silverstripe
870: [22:34:00] * ARNHOFF quit (Read error: Connection reset by peer)
871: [22:35:00] * liam_ has joined #silverstripe
872: [22:35:00] * liam_ is now known as Guest10642
873: [22:40:00] <Guest10642> how can I change the template used to render a page inside the page controller? possibly from the index function somehow?
874: [22:41:00] <catcher> Guest10642, $this->renderWith()
875: [22:41:00] <catcher> takes an array of templates by preference, and an optional array of Customised data
876: [22:43:00] * SightUnseen has left #silverstripe
877: [22:43:00] <Guest10642> catcher: where do I call it from?
878: [22:44:00] <catcher> Guest10642, Any controller action that's reachable..
879: [22:44:00] <catcher> index() included
880: [22:45:00] <Guest10642> catcher: ok... but I have to use return aswell right?
881: [22:46:00] <catcher> Yes, you still have to return from the action. return $this->renderWith(array('Template1', 'Template2'));
882: [22:47:00] <FrozenFire> E.g. Page
883: [22:47:00] <FrozenFire> Remember to include your base template
884: [22:48:00] <FrozenFire> Otherwise it won't render the header/footer/etc
885: [22:48:00] <FrozenFire> return $this->renderWith(array("MyOtherTemplate", "Page"))
886: [22:56:00] <Guest10642> FrozenFire: cheers that is what I was missing
887: [22:57:00] <FrozenFire> It's an option cascade for each level
888: [22:57:00] <catcher> ah right, it's additional, not preferential
889: [22:58:00] <FrozenFire> "Can I use a template with this name to render this level (e.g. Layout)?"
890: [23:19:00] <catcher> do you often talk to rendering functions?
891: [23:20:00] <FrozenFire> Usually in curses
892: [23:20:00] <FrozenFire> Yes
893: [23:20:00] <FrozenFire> ncurses even. LOLOLOLOL
894: [23:20:00] * FrozenFire digresses
895: [23:21:00] <catcher> oh man.
896: [23:39:00] * Emil_Blume quit (Quit: Leaving.)
897: [23:50:00] <catcher> happy weekend y'all
898: [23:51:00] <terryapodaca> I am not understanding the web service crap
899: [23:51:00] <terryapodaca> either of yall know a good tutorial?
900: [23:52:00] <catcher> terryapodaca, gotta roll for now, but I'll try to help more next time.
901: [23:52:00] * catcher quit (Quit: Leaving)
902: [23:53:00] * UncleCheese has joined #silverstripe
903: [23:56:00] * chillu quit (Quit: chillu)

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