#silverstripe IRC Log

IRC log for 2 July 2014

All timestamps are in UTC.

1: [00:00:26] <Stomach> np
2: [00:00:33] <simon_w|work> Bah, being in Australia is really screwing with my timezone conversions
3: [00:01:49] <Colin[pi]> so my gf's package from Brazil arrived..... in Israel
4: [00:01:59] <Colin[pi]> dont know wtf happened there
5: [00:02:29] <antmas> Colin[pi]: intercepted by ISIS no doubt
6: [00:02:31] <antmas> :P
7: [00:02:47] <Colin[pi]> it was largely a box full of women's underwear
8: [00:02:49] <Colin[pi]> PERVERTS
9: [00:02:50] <simon_w|work> Does anyone else think of Archer every time ISIS gets mentioned in the news?
10: [00:03:02] <antmas> simon_w|work: yeah
11: [00:03:14] * camfindlay has joined #silverstripe
12: [00:03:18] <simon_w|work> They should've picked a better name
13: [00:03:19] <Colin[pi]> simon_w|work: I think of the Egyptian god
14: [00:03:22] <antmas> someone needs to read a news story about it in Archer's voice
15: [00:04:14] <antmas> didn't they change their name just recently anyway?
16: [00:04:14] <simon_w|work> Colin[pi], everyone knows SG1 killed Isis though
17: [00:04:57] <Colin[pi]> ahh SG-1, would love to watch that again
18: [00:11:44] <simon_w|work> Also, must also be time for the crew on the Destiny to wake up again
19: [00:11:48] <simon_w|work> *almost
20: [00:17:12] <antmas> goddamn nerds
21: [00:17:13] <antmas> :P
22: [00:19:55] <Colin[pi]> antmas: what what what? you never watched the stargate series? :o
23: [00:20:08] <antmas> Colin[pi]: ofc I did :P
24: [00:20:14] <Colin[pi]> lol :P WHEW
25: [00:20:22] <antmas> SG1 was the only good one though
26: [00:20:27] <antmas> IMO
27: [00:20:28] <Colin[pi]> SGA was ok
28: [00:20:34] <Colin[pi]> Universe was WTF
29: [00:20:43] <simon_w|work> SGU season 2 was a lot better
30: [00:21:07] <Colin[pi]> I liked this character: http://www.themarysue.com/wp-content/uploads/2010/04/stargate-pic-365x550.jpg#geekosystem ;)
31: [00:21:24] <antmas> I WONDER WHY
32: [00:21:24] <antmas> lol
33: [00:21:27] <Colin[pi]> ;)
34: [00:21:37] <simon_w|work> Cause she gets banged in the first episode?
35: [00:21:48] <Colin[pi]> what's funny is I couldnt remember her name, so I googled "SG universe boobs" and found her instantly
36: [00:34:56] * azureknight has joined #silverstripe
37: [00:39:40] * azureknight quit (Ping timeout: 260 seconds)
38: [00:56:17] * Phlunk3 has joined #silverstripe
39: [01:14:10] * krofek_ quit (Ping timeout: 264 seconds)
40: [01:26:03] * krofek_ has joined #silverstripe
41: [01:28:30] <antmas> ohhhh uncleCheese video up?
42: [01:28:44] <Ryan-Toast> has been for 4 days :)
43: [01:29:15] <antmas> oh
44: [01:29:21] * antmas crawls out from under rock
45: [01:30:24] <Colin[pi]> this happens to me often: http://theoatmeal.com/comics/fruit
46: [01:31:11] <antmas> Colin[pi]: lol yes, me too
47: [01:31:54] <antmas> omg this .org video
48: [01:31:59] <mobiusnz> is it possible to have a form automatically create related dataobjects?
49: [01:32:01] <antmas> SQUEEKY FLOOR
50: [01:33:30] <Ryan-Toast> http://i.imgur.com/l0xqlk6.jpg
51: [01:34:16] <antmas> Ryan-Toast: see the fruit comic above ^^^ it applies to unit tests :P
52: [01:34:19] <camfindlay> simon_w|work hackfest on Sat, shall we skype you in for a bit? ;)
53: [01:34:51] <Ryan-Toast> antmas: lol
54: [01:35:08] <simon_w|work> camfindlay, you realise I have basically no upstream, right?
55: [01:35:20] <Colin[pi]> gg aussie internets
56: [01:35:20] <simon_w|work> And my downstream's only a little better
57: [01:35:28] <simon_w|work> Colin[pi], work internets are awesome! :p
58: [01:35:33] <antmas> camfindlay: is there actually a way to participate from afar?
59: [01:35:38] <Colin[pi]> solution, skype from work :P
60: [01:35:41] <antmas> I wouldn't mind watching/chiming in
61: [01:35:46] <simon_w|work> Don't have building access
62: [01:36:53] <ss23> Get building access
63: [01:36:54] <ss23> o/
64: [01:37:48] <jordanmk> hey, in SS 2.4, to override the CMS fields for a Widget, you can do function CMSEditor() { ... }
65: [01:38:12] <jordanmk> anyone know what the equivalent is for Pages?
66: [01:38:42] <mobiusnz> Can I make a form field with a name like RelatedObject.FirstName and expect it to make/edit that related object?
67: [01:38:58] <Colin[pi]> jordanmk: getCMSFields() ?
68: [01:39:31] <simon_w|work> mobiusnz, you can with my module!
69: [01:39:33] <simon_w|work> HasOneEdit
70: [01:39:38] <camfindlay> antmas yes, pretty much if you can work out the time difference perhaps I can skpye you in and at least say Hello! then pretty much we’ll be on IRC during the day and working on issues and other OSS things
71: [01:39:52] <mobiusnz> simon_w|work: 0.o
72: [01:40:00] <simon_w|work> camfindlay, Tasman isn't in another timezone :p
73: [01:40:22] <camfindlay> I might track down the open google doc we use too that @chillu set up
74: [01:40:28] * novaweb quit (Quit: novaweb)
75: [01:40:43] <camfindlay> I need a map with everyones nicknames on lol
76: [01:41:00] <Stomach> Stomach => Stevie Mayhew
77: [01:41:14] <simon_w|work> There's basically a 90% chance that it's either NZ or AU
78: [01:41:39] <Stomach> mobiusnz, you control the form action right? so can you not do the creation of the object yourself?
79: [01:41:55] <jordanmk> Colin[pi], yeah managed to do what i was trying to achieve using getCMSFields. what tricked me was that the widget had both getCMSFields() and CMSEditor() so i figured there would be an equivalent for Page
80: [01:42:07] <mobiusnz> Stomach: yeah, but I don't want to have to deal with restoring it on validation errors etc
81: [01:42:53] <camfindlay> in advance if you want to skype me on the day my username is cam_silverstripe
82: [01:43:09] <Stomach> the form action doesnt happen on a validation error - so you should be able to assume that after your validate() function has run that it is correct data and the dataobject write wouldnt stop?
83: [01:43:09] <camfindlay> add me and I’ll approve you ahead of time
84: [01:44:00] <mobiusnz> Stomach: yeah, but then the user looses all their data with the related objects
85: [01:45:22] <Stomach> but the relatedobjects aren't created unless the validation passes? if the validation doesnt pass then it should repopulate the form?
86: [01:45:27] <Stomach> sorry, I might be confused
87: [01:46:07] * novaweb has joined #silverstripe
88: [01:47:35] <mobiusnz> hey simon_w|work, what's that thing about adding extensions to the controller?
89: [01:47:46] <simon_w|work> What thing?
90: [01:48:42] * nicob has joined #silverstripe
91: [01:49:02] <mobiusnz> "To add support to your own forms, you need to add the `sgn_hasoneedit_UpdateFormExtension` extension to your controller and call `$this->extend('updateEditForm', $form)` before returning the form to the template"
92: [01:49:35] <simon_w|work> private static $extensions = array('sgn_hasoneedit_UpdateFormExtension');
93: [01:49:48] <Ryan-Toast> Stomach: just bought my tickets to the Pubstomp at Vector for TI4
94: [01:50:00] <mobiusnz> cheers
95: [01:50:24] <Stomach> Ryan-Toast, I'm working :(
96: [01:50:56] <antmas> Ryan-Toast: they live streaming that?
97: [01:51:56] <Ryan-Toast> antmas: of course
98: [01:52:05] <Ryan-Toast> Stomach: starts at 5pm
99: [01:52:27] <Stomach> oh its not 16 hour marathons this year is it
100: [01:52:45] <Ryan-Toast> It will be, but they will be streaming end dof semi’s and finals I guess?
101: [01:54:08] <Stomach> meh, I'll probably just watch at home
102: [01:54:47] <Ryan-Toast> Hype trailer: https://www.youtube.com/watch?v=Jyj_Js-tUiE&feature=youtu.be
103: [01:54:58] <antmas> Ryan-Toast: nice, I might watch in
104: [01:55:00] <antmas> what day?
105: [01:55:06] <Ryan-Toast> Tuesday 22nd
106: [01:55:09] <Ryan-Toast> for the finalks.
107: [01:55:17] <Ryan-Toast> but the tournament is 18-22
108: [01:55:19] <antmas> i'll be... in Auckland
109: [01:55:20] <antmas> :O
110: [01:56:07] <Ryan-Toast> Nvm, shitty video.
111: [01:56:22] <Stomach> yeah, dendi yelling is always good to watch though
112: [01:56:30] <antmas> fuck, I might even be able to go
113: [01:57:09] <antmas> wait, nope, conference finishes at 5 :(
114: [02:01:54] <Colin[pi]> some days my javascript sucks so bad, other days it sucks less
115: [02:02:02] <mobiusnz> hey simon_w|work, should $this->extend('updateEditForm', $form) be called in the function that creates the form, or the function that handles the submit (or both?)
116: [02:02:02] <Colin[pi]> today is the latter \o/
117: [02:02:56] <simon_w|work> mobiusnz, the function that creates it
118: [02:03:15] <mobiusnz> hmm, it doesn't seem to be creating the related object
119: [02:04:47] <antmas> Colin[pi]: what are you js-ing?
120: [02:05:10] <Colin[pi]> antmas: writing a front end form that takes a few params, loads other via ajax, and then renders a highchart also via ajax
121: [02:05:21] <Colin[pi]> I fucking hate ajax, but it's useful >_<
122: [02:06:20] <Ryan-Toast> Colin[pi]: that actually sounds really fun :P
123: [02:06:40] <Colin[pi]> Ryan-Toast: mm it's ok, just my js/ajax fu is low so it results in a lot of swearing
124: [02:07:01] <Ryan-Toast> Colin[pi]: Fair enough, been a while since I’ve done any serious ajax biz
125: [02:07:28] <antmas> yeah my ajax is ok, but basic
126: [02:07:33] <antmas> never really had a need for it yet
127: [02:07:34] <Colin[pi]> my ajax development process: http://i.imgur.com/4W6a7sg.gif
128: [02:07:48] <Ryan-Toast> LOL
129: [02:07:50] <antmas> Colin[pi]: lol
130: [02:08:01] <Ryan-Toast> That’s perfect for js development
131: [02:08:11] <Colin[pi]> prolly applies to all dev lol
132: [02:08:24] <Colin[pi]> *starts coding* *six hours later* FIRST TRY
133: [02:08:41] <antmas> Colin[pi]: it's true
134: [02:09:06] <antmas> most of my dev ends up working ONLY when I go back to my first attempt and just do it better lol
135: [02:09:10] <spronk> Colin[pi]: FIRST TRY
136: [02:09:58] * camfindlay quit (Quit: camfindlay)
137: [02:11:16] * wracu has joined #silverstripe
138: [02:11:29] * wracu quit (Client Quit)
139: [02:11:56] * wracu has joined #silverstripe
140: [02:13:32] <wracu> Afternoon... wonder if someone might be able to point me in the right direction...
141: [02:13:35] <wracu> I've got a function that returns a HTML field from a DataObject, but I want to filter it before returning it. Ie. i want to replace 'john' with 'james'
142: [02:13:37] <antmas> wracunamutata
143: [02:13:41] <wracu> not quite sure where to start :S
144: [02:13:43] <mobiusnz> simon_w|work: does your code only work if the has_one already exists?
145: [02:14:17] <simon_w|work> mobiusnz, shouldn't. I tested it successfully in a CMS context on a new object
146: [02:14:36] <simon_w|work> wracu, getFieldname()
147: [02:14:47] <simon_w|work> wracu, and use $this->getField('Fieldname') to get the value
148: [02:15:11] <wracu> already have that part...
149: [02:15:11] <wracu> return $template->getField("Body");
150: [02:15:35] <wracu> but I want to replace some of the content of the field temporarily
151: [02:15:44] <simon_w|work> wracu, so str_replace
152: [02:15:45] <mobiusnz> ah, looks like it's working now. not sure what I changed haha but oh well.
153: [02:16:18] <wracu> derp. really ok that works on the content of whatever variable I assign getField("Body"); to?
154: [02:16:29] <Colin[pi]> <mobiusnz> ah, looks like it's working now. not sure what I changed haha but oh well. <--- 90% of coding is this right here
155: [02:18:48] <wracu> thanks Simon :)
156: [02:20:18] <Colin[pi]> omg teh ajax is working :o no wai
157: [02:23:55] <antmas> Ryan-Toast: I can't stop listening to that song
158: [02:24:01] <Ryan-Toast> antmas: which one?
159: [02:24:07] <antmas> Seeya
160: [02:24:11] <antmas> Ryan-Toast: ^
161: [02:24:20] <Ryan-Toast> Link again, I had it on repeat yesterday
162: [02:24:33] <antmas> Ryan-Toast: you spotify?
163: [02:24:36] <Ryan-Toast> nope
164: [02:24:47] * zippy__ has joined #silverstripe
165: [02:24:50] <antmas> Ryan-Toast: https://www.youtube.com/watch?v=8jL2DPylmhE
166: [02:25:47] <Ryan-Toast> chur
167: [02:25:56] <Ryan-Toast> could almost cut out the first minute.
168: [02:26:01] <zippy__> On pages where I only want a single instance created (like homepage or contactpage) I add some code to the canCreate to check if there is already a copy, and return false if soo. It seems though that settting canCreate to false prevents being able to move a page in the CMS :(
169: [02:26:21] <antmas> Ryan-Toast: I dig the intro
170: [02:26:24] <antmas> dat funk
171: [02:26:38] <simon_w|work> zippy__, known issue
172: [02:27:14] <zippy__> dang
173: [02:29:12] <antmas> Ryan-Toast: 4.55 mins
174: [02:29:14] <antmas> love that
175: [02:29:28] <antmas> bleepbleep bleepbleep
176: [02:30:03] <Ryan-Toast> :P
177: [02:31:37] <Ryan-Toast> This video is just a ripoff of Carrie ahaha https://www.youtube.com/watch?v=wmJ06K9v_Dc&list=PL016DF490B141ECBD&index=193
178: [02:32:26] <antmas> Ryan-Toast: hah, so is
179: [02:32:58] <Ryan-Toast> Protip: don’t cheat on the chick with telekinetic powers.
180: [02:35:36] * zippy__ note that down in his life tips book
181: [02:36:21] <antmas> there is a joke in there somewhere
182: [02:36:31] <antmas> is it ss23 abuse time yet?
183: [02:36:36] <ss23> :(
184: [02:36:37] <antmas> XD
185: [02:36:37] <ss23> NEVER
186: [02:36:38] * ss23 cries
187: [02:38:05] <Stomach> abuse Stomach go!
188: [02:42:43] <antmas> Stomach: ummm
189: [02:42:45] <antmas> ummmm
190: [02:42:46] <antmas> umm
191: [02:42:52] <antmas> Stomach: your beard sucks!
192: [02:42:53] <antmas> BOOM
193: [02:43:14] <Stomach> nah, I got a bro-beard stroke of appreciation from a guy yesterday
194: [02:43:25] <antmas> Stomach: LOL
195: [02:44:12] <antmas> my beard has reached prime dirty hobo stage
196: [02:45:51] <ss23> lol
197: [02:45:52] <ss23> nice
198: [02:46:00] <ss23> let the mustache grow and go for the scummy mexican
199: [02:48:35] <antmas> ss23: I have that right now
200: [02:48:43] <antmas> currently combed into a cop slug
201: [02:53:02] <antmas> omg just text-align:left you ASSHOLE!
202: [02:55:06] <Ryan-Toast> antmas: NO
203: [02:55:48] <ss23> lol antmas
204: [02:57:30] <antmas> Ryan-Toast: lolwut?
205: [02:57:51] <Ryan-Toast> no left align for you.
206: [02:58:23] <antmas> dumb aspx control forced me to use...
207: [02:58:31] * antmas gasps
208: [02:58:34] <antmas> HeaderStyle-HorizontalAlign="Left"
209: [02:58:51] <Ryan-Toast> the fuck? :P
210: [03:03:08] <antmas> WHY ARE YOU MY CLARITY??
211: [03:04:46] <spronk> Hmm.. Statements : 82.95% ( 107/129 )
212: [03:04:50] <spronk> NOT GOOD ENOUGH SPRONK
213: [03:07:39] <antmas> spronk: what is?
214: [03:09:01] <ss23> IF OUR CSS IS SCSS WHY ARE YOU A DEVELOPER
215: [03:09:02] <ss23> or something
216: [03:11:50] <Ryan-Toast> ss23: wat?
217: [03:12:03] <antmas> ss23: I'll call that ticket resolved after I get a successful clone
218: [03:12:10] <antmas> ss23: fyi
219: [03:13:23] <ss23> antmas: naw naw
220: [03:13:26] <ss23> antmas: We need to do more stuff
221: [03:13:27] <ss23> :P
222: [03:13:34] <ss23> antmas: Because all the modules e.g. framework are still in Gitorious
223: [03:13:41] <ss23> We're completely removing gitorious, so we need to remove it properly
224: [03:13:50] <ss23> (And we need to make it read-only to prevent people getting confused)
225: [03:13:53] <ss23> So for now, use Gitorious
226: [03:16:01] <antmas> ss23: oh all good, I know, just fyi :)
227: [03:16:58] <ss23> sweet
228: [03:17:02] <ss23> You know when someone says something
229: [03:17:08] <ss23> and you think of the most offensive possible thing to reply back to them
230: [03:17:22] <ss23> and you're like "on one hand, this will cause lots of people to hate me forever, but on the other, this is the perfect most offensive reply ever"
231: [03:17:41] <simon_w|work> And then all you can come up with is "Your face"?
232: [03:17:47] <antmas> ss23: are you saving that for a reply to me? ;O
233: [03:17:59] * antmas hides in fear
234: [03:18:27] <antmas> ss23: thinking about it, I did this last week
235: [03:18:28] <antmas> :P
236: [03:20:25] <ss23> haha
237: [03:20:29] <ss23> naw, this is on twitter
238: [03:20:37] <ss23> https://twitter.com/writehandedgirl/status/484173314667991040
239: [03:20:38] <ss23> this one right
240: [03:20:39] * antmas goes to twitter
241: [03:20:44] <antmas> ss23: OMG
242: [03:20:48] <ss23> You know her, she's the one who made the blogpost calling out WINZ
243: [03:20:55] <antmas> ss23: writehandedgirl is a bitch
244: [03:20:58] <ss23> lol
245: [03:21:05] <ss23> She seems fine to me, but of a SJW, but over all she makes sense
246: [03:21:07] <antmas> I know her personally
247: [03:21:09] <ss23> Anyway, point is
248: [03:21:11] <ss23> The perfect response...
249: [03:21:14] <ss23> "Is she hot?"
250: [03:21:19] <antmas> LOL
251: [03:21:21] <ss23> I literally can't imagine the shitstorm it would crease
252: [03:21:22] <ss23> create
253: [03:21:28] <antmas> goddamn feminazi
254: [03:21:58] <Ryan-Toast> Maybe she could get a job.
255: [03:22:07] <Ryan-Toast> like the rest of us did when we studied.
256: [03:22:10] <antmas> also, half of her 'pills' she takes are placebos
257: [03:22:24] <mobiusnz> what would be the best way to get a single array of IDs from multiple columns?
258: [03:22:49] <antmas> ss23: nice, now I'm raging about her all over again
259: [03:22:51] <antmas> LOL
260: [03:23:31] <ss23> Ryan-Toast: Hey, I didn't! :P
261: [03:23:35] <mobiusnz> I want to get all DelegateIDs from a table that contains rows like GoldDelegateID and SilverDelegateID
262: [03:23:47] <ss23> scholarship lyfe
263: [03:23:52] <Colin[pi]> ss23: DO EEET
264: [03:23:52] <Ryan-Toast> ss23: Nice
265: [03:24:00] <antmas> Ryan-Toast: she had a job and then quit so she could be a full time complainer
266: [03:24:01] <Ryan-Toast> I worked the corner
267: [03:24:03] <ss23> It's the NEET thing to do
268: [03:24:49] <simon_w|work> mobiusnz, foreach(DB::query('SELECT "ColA", "ColB", "ColC" FROM "Table") as $row) { $ids[] = $row['ColA']; $ids[] = $row['ColB']; ... }
269: [03:24:56] <Colin[pi]> antmas ss23: some backstory on this rage?
270: [03:25:46] <ss23> Colin[pi]: I have no rage
271: [03:25:48] <ss23> :P
272: [03:26:08] <Colin[pi]> well, backstory on this calling out WINZ stuff?
273: [03:26:26] <antmas> Colin[pi]: LONG story
274: [03:26:32] <Colin[pi]> in a nutshell?
275: [03:26:55] <antmas> Colin[pi]: basically, she's calling out WINZ and every other govt. body because she got denied money when she got sick
276: [03:27:13] <Colin[pi]> ok and what is WINZ?
277: [03:27:17] <antmas> Colin[pi]: my rage is I know her and she's not sick
278: [03:27:28] <Colin[pi]> antmas: oh... ohhhh. well shit
279: [03:27:48] <antmas> Colin[pi]: WINZ = Work and Income NZ (beneficiary dept.)
280: [03:28:12] <Colin[pi]> welfare dept for NZ?
281: [03:28:17] <antmas> Colin[pi]: yeah
282: [03:28:19] <Colin[pi]> ah k k
283: [03:28:38] <antmas> and she refuses to pay back her student loan
284: [03:28:44] <Colin[pi]> so, uh, how come she's not in jail for fraud?
285: [03:29:03] <antmas> Colin[pi]: she didn't get anything from them, that's the thing
286: [03:29:16] <Colin[pi]> oic
287: [03:30:14] <antmas> ss23: you HAVE to say that now :P
288: [03:30:18] <Colin[pi]> lol
289: [03:30:31] <wracu> refusing to pay it back? but you're not even require to pay it back untill your income breaks a certain threshold... :S ??
290: [03:30:50] <antmas> wracu: that's true
291: [03:31:10] <wracu> ohh entitlement
292: [03:31:11] <antmas> when I say 'refusing', I mean she screams about it on twitter
293: [03:31:16] <wracu> lol
294: [03:35:05] <ss23> antmas: That doesn't make sense though
295: [03:35:13] <ss23> Do you think a sane and not sick person would do what she does?
296: [03:35:19] <ss23> IF not, then yes she's sick
297: [03:35:31] <ss23> Even if you just say "she's crazy", that's sick
298: [03:35:32] <ss23> Right?
299: [03:36:18] <antmas> ss23: oh, I was only referring to physical sickness
300: [03:36:53] <antmas> ss23: I know what you mean though
301: [03:37:24] <ss23> Lots of really life crippling illnesses aren't just physical
302: [03:37:42] <ss23> Even if it's all in your head, if you really aren't able to do basic things, in constant pain for example, that's definitly still an illness
303: [03:37:49] <antmas> ss23: that's not why she went to WINZ in the first place
304: [03:44:47] * novaweb quit (Quit: novaweb)
305: [03:46:21] * Bosie has joined #silverstripe
306: [03:47:03] * nickmolhoek quit (Quit: nickmolhoek)
307: [03:47:17] <Bosie> Hey guys. Could anyone help quick? This line of code gets me the next sibling page in 2.4 but not in 3.1 - I can't work it out from the docs. Anyone help? DataObject::get("SiteTree", "ParentID = {$this->ParentID} AND Sort > {$this->Sort}", "Sort", "", 1)
308: [03:48:18] <simon_w|work> Bosie, SiteTree::get()->filter('ParentID', $this->ParentID)->filter('Sort:GreaterThan', $this->Sort)->first()
309: [03:48:27] <mobiusnz> is it possible to traverse a $belongs_to relationship?
310: [03:48:42] <simon_w|work> mobiusnz, works the same way a has_one does
311: [03:50:43] <mobiusnz> simon_w|work: ok, but if I've got $belongs_to = array("Foo" => "Foo.Bar") do I call $this->Bar() or $this->Foo.Bar()?
312: [03:50:54] <simon_w|work> mobiusnz, $this->Foo()
313: [03:51:10] <mobiusnz> hmm
314: [03:51:34] <mobiusnz> now I'm wondering how I even managed to get it to work this far
315: [03:51:53] <mobiusnz> I've got lots of Foos with different Foo.x
316: [03:52:11] <mobiusnz> but looking at it again that's not even valid for an array
317: [03:54:33] <Bosie> simon_w|work thank you - strangely doesn't work. I wonder if it has anything to do with the fact that I duplicated this sitetree structure from another part of the sitetree. Getting all SiteTree objects with same parentid works, but the sort seems to break it?
318: [03:55:12] <simon_w|work> Bosie, when you did that, did you then Save&Publish all the pages you moved?
319: [03:55:55] <Bosie> yeah i did. just looked in the DB, they all have 6 as the value for sort. not sure what that does...?
320: [03:56:11] <simon_w|work> Breaks your code :p
321: [03:56:19] <simon_w|work> Try moving one then save+publish
322: [03:58:55] * cloph_away has joined #silverstripe
323: [03:58:57] <Bosie> I've moved them all, and that's updated the sort values which now look sensible. but I still get nothing for the query
324: [03:59:23] * cloph quit (Ping timeout: 272 seconds)
325: [04:00:50] * novaweb has joined #silverstripe
326: [04:05:30] <Bosie> ha that did the trick
327: [04:06:03] <Bosie> just moving one worked - but I got an infitine loop notice, too quick to see
328: [04:06:10] <Bosie> but now the code works
329: [04:06:58] <Bosie> that cloning is a little flaky then. I need to do that a few more times - what should I save/move/publish?
330: [04:07:03] <Bosie> thanks heaps btw ;)
331: [04:14:33] * novaweb quit (Quit: novaweb)
332: [04:16:38] * novaweb has joined #silverstripe
333: [04:34:13] * wracu quit (Ping timeout: 246 seconds)
334: [04:38:17] * novaweb quit (Quit: novaweb)
335: [04:50:22] <spronk> lols
336: [04:50:29] <spronk> just spent the last 10 minutes trying to figure out what was wrong with
337: [04:50:31] <spronk> console.log($variable()
338: [04:50:33] <spronk> -(
339: [04:50:42] <spronk> suddenly realised php is not javascript
340: [04:51:05] <simon_w|work> Depending on your framework
341: [04:51:24] <spronk> o_O
342: [04:51:49] <simon_w|work> There are frameworks that match JS's Console object for their logging
343: [04:52:06] <spronk> but
344: [04:52:09] <spronk> lowercase console
345: [04:52:10] <spronk> dot?
346: [04:52:21] <spronk> that shit ain't never gonna work
347: [04:52:22] <simon_w|work> Oh right, concat no work
348: [04:52:33] <simon_w|work> Lowercase will though
349: [04:52:47] <spronk> if the dev is a numbnuts
350: [04:53:00] <spronk> sigh
351: [04:53:04] <zippy__> I like this, https://github.com/barryvdh/laravel-debugbar -> https://camo.githubusercontent.com/345c15c168a85add12f5e74e9dedbad7216cbd8e/687474703a2f2f692e696d6775722e636f6d2f566d754e4134772e706e67 but of course, wrong framework (a not console.log)
352: [04:53:05] <simon_w|work> Class/function names are case-insensitive
353: [04:53:11] <ss23> guis
354: [04:53:11] <ss23> guis
355: [04:53:14] <ss23> hackfest this weekend
356: [04:53:16] <ss23> http://i.imgur.com/z4fELfc.jpg
357: [04:53:22] <simon_w|work> Also, you could make console a constant of "" and then a log() function
358: [04:53:28] <simon_w|work> Then console.log will work!
359: [04:53:31] <spronk> they are, but no self respecting php developer would make a class console {}
360: [04:53:41] <spronk> haha
361: [04:53:52] <zippy__> ss23: are you going to enlist people to help you write the docs?
362: [04:54:02] <ss23> zippy__: I choose you, write the docs.
363: [04:54:07] <spronk> ss23: are you gonna fix all the issues with subsites!?
364: [04:54:59] <ss23> spronk: I CHOOSE YOU, FIX THE SUBSITES!
365: [04:55:06] <spronk> NO I DON'T WANNA
366: [04:55:13] <ss23> :D
367: [04:55:19] <ss23> spronk: Uncle Sam wants you to hack!
368: [04:55:27] <ss23> we'll have webcam set up etc I guess, so you can join us
369: [04:56:11] <Colin[pi]> lol just imagine spronk chained to a desk forced to work on subsites
370: [04:56:23] <Colin[pi]> spronk: "NOOOOOOOOOOOOOO!!!"
371: [04:56:24] * spronk would break freeeeee
372: [04:56:33] <ss23> XD
373: [04:56:39] <ss23> Oh lord I want to break freeeeeeeeeeeeeee
374: [04:57:11] * novaweb has joined #silverstripe
375: [04:57:16] <simon_w|work> Well, looks like ss23 has volunteered to fix the docs and subsites and the hackfest!
376: [04:57:22] <ss23> haha
377: [04:57:23] <ss23> You wish! :P
378: [04:57:26] <ss23> I dunno what I'll work on yet
379: [04:57:31] <ss23> Maybe some infrastructure stuff
380: [04:57:40] <simon_w|work> Docs and subsites! Weren't you listening to yourself? :p
381: [04:57:52] <Colin[pi]> ss23: how about fixing the flush/redirect infinite loop that occurs post-install? ;P
382: [04:58:06] <ss23> Colin[pi]: Cannot reproduce -- please send a test :)
383: [04:58:17] <Colin[pi]> I can, every time I install SS3 :P
384: [04:58:17] <ss23> simon_w|work: But those are already assigned to zippy__ and spronk!
385: [04:58:21] <ss23> simon_w|work: Wouldn't wanna double up :P
386: [04:58:28] <ss23> Colin[pi]: Great! Sounds like you hve something to work on
387: [04:58:29] <ss23> :D
388: [04:58:30] <spronk> nah bro
389: [04:58:35] <Colin[pi]> :P
390: [04:58:36] <spronk> i ain't not gonna fix subsites
391: [04:58:37] <simon_w|work> "ss23: Cannot reproduce"
392: [04:58:42] <ss23> ;_;
393: [04:58:45] <simon_w|work> What does your lack of a sex life have to do with anything?
394: [04:58:46] <ss23> "I cannot create the same bug"
395: [04:58:48] <ss23> FINE
396: [04:58:49] <ss23> ASDFASDFASDF
397: [04:58:51] <ss23> So mean
398: [04:58:52] <ss23> :(
399: [04:58:58] <spronk> HAI FAIVIVE
400: [04:59:04] <spronk> YAGSHEMASH
401: [04:59:20] <Colin[pi]> spronk: beyond fixing, make a new one!
402: [04:59:27] * spronk concurs
403: [04:59:29] <ss23> GIRUGAMESH
404: [04:59:34] <spronk> i did start work on a possible syncsites module a whilea go
405: [04:59:49] <Colin[pi]> there you go! you got a headstart!
406: [05:00:00] <spronk> but i got bored and looked at gifs instead.
407: [05:00:24] <Colin[pi]> cat gifs?
408: [05:00:40] <simon_w|work> Boob gifs?
409: [05:01:10] <Colin[pi]> cat boob gifs?
410: [05:01:25] * Phlunk3 quit (Quit: Leaving)
411: [05:01:37] <spronk> http://www.youtube.com/watch?v=SBirGHHzXOM&list=PL117F8E6E078F21AF
412: [05:01:39] <Ryan-Toast> there is a good subreddit for that
413: [05:02:30] * mobiusnz quit (Quit: Leaving.)
414: [05:03:14] <simon_w|work> tittycats.com
415: [05:04:22] <Colin[pi]> there is a subreddit for everything
416: [05:04:44] <Colin[pi]> found out the other day there is a subreddit for people who can make that rumbling noise in their head with their face muscles while lying in bed
417: [05:05:08] <ss23> o.o
418: [05:05:17] <ss23> One thing I hate is the earlobe wedged so you can hear your pulse
419: [05:05:18] <ss23> :()
420: [05:05:19] <Colin[pi]> http://www.reddit.com/r/earrumblersassemble/
421: [05:05:33] <Colin[pi]> ss23: RAEG.. I hate that too
422: [05:08:25] * novaweb quit (Quit: novaweb)
423: [05:09:19] * zippy__ can rumble his ears
424: [05:09:35] <Colin[pi]> I thought everyone would be able to
425: [05:13:07] <Stomach> what is it
426: [05:13:09] <Stomach> how does it work
427: [05:13:12] <Stomach> I dont know what it is
428: [05:13:13] <simon_w|work> Nah, you're just broken
429: [05:13:14] <Stomach> so maybe I cant
430: [05:14:28] <Colin[pi]> dat generated chart (might need to work on my x-axis label spacing :P) http://i.imgur.com/ZcqCIVo.png
431: [05:14:46] <zippy__> makes total sense
432: [05:15:04] <Colin[pi]> highcharts is awesome
433: [05:15:08] <ss23> Colin[pi]: http://chart.googleapis.com/chart?chs=300x225&cht=p&chd=s:9&chdl=Ambiguity&chtt=Your+question
434: [05:15:12] <ss23> look at this sweet chart
435: [05:15:15] <Colin[pi]> lol
436: [05:15:46] <Colin[pi]> as long as the data is right, they can do what they like with the charts
437: [05:15:51] <Colin[pi]> ¯\_(ツ)_/¯
438: [05:16:29] <Stomach> http://forums-cdn.appleinsider.com/3/3c/3cde1e23_Pac_man_pie_chart.jpeg
439: [05:16:45] <Colin[pi]> lol
440: [05:17:09] <Colin[pi]> http://i.imgur.com/Pbdf82f.jpg
441: [05:18:33] <Stomach> ahhhhhhhhhh university
442: [05:18:42] <Colin[pi]> or this: http://www.statschat.org.nz/wp-content/uploads/2013/02/BDfKL0jCMAA9NH_.jpeg
443: [05:19:16] <ss23> holy shit Colin[pi]
444: [05:19:16] <ss23> rofl
445: [05:19:27] <ss23> Seriously, Murdoch has the most fucked up shit
446: [05:19:38] <Colin[pi]> I feel sorry for people that read that shit
447: [05:19:40] <ss23> Real life super villan
448: [05:20:16] * caamic30 has joined #silverstripe
449: [05:20:25] <Colin[pi]> this video explains how he fucked over our internet: https://www.youtube.com/watch?v=eWf63PIrZaE
450: [05:21:39] <caamic30> Hello SS! what is the equivalent of this in SS3
451: [05:21:40] <caamic30> $tag_ids = array(1,2,3,4); $things = Thing::get(); $things->filter('Tags.ID:ExactMatchMulti', array($tag_ids));
452: [05:22:16] <simon_w|work> caamic30, 3.0 or 3.1?
453: [05:22:24] <caamic30> 3.1
454: [05:22:33] <caamic30> ExactMatchMulti is depracated already
455: [05:22:45] <simon_w|work> $things = Things::get()->filter('Tags.ID', $tag_ids)
456: [05:24:17] <caamic30> aha! I didn’t know that it can automatically do a multiple checking
457: [05:24:26] <caamic30> that’s really cool. thanks simon_w|work
458: [05:26:38] <zippy__> yea that will do an IN query
459: [05:26:57] * zippy__ quit (Quit: zippy__)
460: [05:27:02] <Stomach> lol
461: [05:27:51] <simon_w|work> 1:47
462: [05:27:58] <simon_w|work> That's what I need to get back down to
463: [05:29:39] <simon_w|work> Hmm, I got 1:35
464: [05:29:42] <simon_w|work> Well, that backfired
465: [05:31:19] <Stomach> what are you talking about you crazy bastard
466: [05:31:59] <simon_w|work> Adding the php.ini made the release server slow down
467: [05:32:04] <simon_w|work> But it made mine speed up
468: [05:32:07] <simon_w|work> I'm confused
469: [05:32:40] <Stomach> oh environment configuration!
470: [05:32:42] <Stomach> have fun!
471: [05:32:49] * novaweb has joined #silverstripe
472: [05:33:22] <simon_w|work> Also, the release server's being used to test releases for the rest of the week, so I can't use that again!
473: [05:33:25] * mobiusnz has joined #silverstripe
474: [05:35:22] * Ryan-Toast quit (Quit: Ryan-Toast)
475: [05:38:19] <Stomach> you should probably just boot up a Connection Machine and have at it
476: [05:39:16] * mobiusnz quit (Quit: Leaving.)
477: [05:42:45] <simon_w|work> Okay, 1:32 base
478: [05:42:52] <simon_w|work> With the same code now
479: [05:44:47] <simon_w|work> Hmm, I wonder if the slow stuff was happening because a deploy was going on
480: [05:45:28] * mobiusnz has joined #silverstripe
481: [05:45:33] * Ryan-Toast has joined #silverstripe
482: [05:47:19] * novaweb quit (Quit: novaweb)
483: [06:03:21] <nicob> Hey SS people, I'm reading the docs on building search forms and I've run into a small pagination problem
484: [06:03:36] <nicob> http://doc.silverstripe.org/framework/en/reference/searchcontext talks about an unlimitedRowCount() function
485: [06:04:09] <nicob> but the api doesn't list the returned query as having it
486: [06:04:27] * Ryan-Toast quit (Quit: Ryan-Toast)
487: [06:04:35] <nicob> just wondering how I should go about getting the total # results?
488: [06:06:58] * Bosie quit (Ping timeout: 246 seconds)
489: [06:10:39] * willr quit (Quit: willr)
490: [06:13:22] <simon_w|work> nicob, $query->limit(null, null)->count()
491: [06:15:24] <nicob> Thanks Simon! =D
492: [06:23:52] * novaweb has joined #silverstripe
493: [06:31:05] <jordanmk> hey
494: [06:31:21] <jordanmk> what do you guys think would be the best way to create something like this in SS: http://www.simplystirred.com.au/retailers/
495: [06:32:15] <jordanmk> i.e. what would be the best way to create a DataObject of Retailer with a couple of properties which is categorised by state -> area/city -> suburb -> retailer
496: [06:39:39] * r_hector has joined #silverstripe
497: [06:44:36] * Colin[pi] quit (Ping timeout: 260 seconds)
498: [06:48:58] * Liquide has joined #silverstripe
499: [06:53:36] * willr has joined #silverstripe
500: [07:40:06] * ocm has joined #silverstripe
501: [07:40:08] <ocm> howdy!
502: [08:06:03] * kinglozzer has joined #silverstripe
503: [08:09:05] * Knirk has joined #silverstripe
504: [08:10:37] * Pyfffk has joined #silverstripe
505: [08:17:18] * Fisix_AIX has joined #silverstripe
506: [08:18:48] * Liquide quit ()
507: [08:20:44] <kinglozzer> So, uh, what do you guys think of the mockups for the new ss.org? http://vimeo.com/99377272 (7:30 ish)
508: [08:24:04] <ocm> seems neath!
509: [08:24:08] <ocm> is that sublime I see there?
510: [08:24:55] <ocm> Wow, how did you guys manage to get Tom Cruise as the marketingmanager? x'D
511: [08:25:34] <ocm> kinglozzer, the mockups look quite inspirational. especially for the unknown people (of silverstripe)
512: [08:27:23] <kinglozzer> ocm: I think it looks pretty, but once you get past that it's lacking imo. Like, if you're a new developer and you want to download SS, spot the download button
513: [08:27:30] <kinglozzer> It's pretty well hidden :/
514: [08:28:29] <kinglozzer> Plus the link to the docs etc also well hidden away in learn > then 2/3rds of the way down the page
515: [08:28:50] <kinglozzer> But hey, these are just mockups :) it's a big improvement anyway!
516: [08:30:26] <ocm> true that, all call to actions are way below the fold
517: [08:30:43] <ocm> though the overal feeling is more inspiring
518: [08:30:54] <ocm> allmost puts me into action to search for a download/readmore/doshit-button
519: [08:31:48] <ocm> the mockups give a profesional/enterprise look to silverstripe
520: [08:34:04] <kinglozzer> ocm: Yeah I agree, visually it looks great!
521: [08:34:13] * Fisix_AIX quit (Quit: Leaving)
522: [08:39:05] * mobiusnz1 has joined #silverstripe
523: [08:42:20] * mobiusnz quit (Ping timeout: 240 seconds)
524: [08:43:03] * mobiusnz1 quit (Ping timeout: 240 seconds)
525: [08:44:37] * mobiusnz has joined #silverstripe
526: [09:04:57] <kinglozzer> General PHP question: you can typehint array, right?
527: [09:05:03] <ss23> kinglozzer: nope
528: [09:05:06] <kinglozzer> Damn
529: [09:05:12] <kinglozzer> Thought it was just string, int etc that you couldn't
530: [09:05:19] <ss23> wait
531: [09:05:19] <ss23> yes
532: [09:05:21] <ss23> I take it back, you can
533: [09:05:26] <kinglozzer> :D
534: [09:06:53] <ss23> not scalars though
535: [09:12:14] <Pyfffk> your face is a scalar
536: [09:12:17] <ss23> Anyone got a bug where if you open a folder in the files tab, it just shows the edit form of the name and you can't actually upload anything?
537: [09:12:41] <Pyfffk> ss23: framework only.
538: [09:12:50] <ss23> o.o
539: [09:12:52] <ss23> framework only?
540: [09:12:53] <ss23> What do you mean?
541: [09:13:01] <Pyfffk> yes, I don't have a files tab.
542: [09:13:41] <kinglozzer> ss23: I don't think that's a bug, I think that's just the edit form :P
543: [09:13:45] <ss23> Hmm
544: [09:13:49] <ss23> You are right, I guess the bug is
545: [09:13:53] <Pyfffk> firefox2kx: http://logs.simon.geek.nz/index.php?date=2014-07-02#log_1330269
546: [09:13:53] <kinglozzer> At least, that's why I assumed :/
547: [09:14:04] <Pyfffk> firefox2kx: you're performing operations on the wrong object.
548: [09:14:11] <ss23> Anyone have the bug where when you clik on "Files", then select a folder, it brings up the edit form instead of the standard show form?
549: [09:14:35] <Pyfffk> ss23: show 'form' ?
550: [09:14:37] <ss23> It's a little tricky to reproduce, but I can debug itg like this I guess
551: [09:14:41] <ss23> um
552: [09:14:46] <ss23> the standard "Yo sure, upload files here!"
553: [09:14:53] <Pyfffk> oh right
554: [09:14:58] <Pyfffk> so actually a form.
555: [09:14:59] <ss23> e.g. http://site/admin/assets/show/FOLDERID
556: [09:15:10] <ss23> But instead ot brings up admin/assets/edit/form/i/hate/my/life/
557: [09:15:11] <ss23> or something
558: [09:15:13] * cloph_away is now known as cloph
559: [09:16:01] <ss23> hmm
560: [09:16:05] <ss23> where is the URL set for that link?
561: [09:16:13] <ss23> In a gridfield, where you just click on the row, not one of the buttons
562: [09:16:16] <ss23> In the HTML, I don't see wher eit's set
563: [09:16:44] <kinglozzer> ss23: I only get that if I click the edit button :/
564: [09:16:48] <kinglozzer> Any custom JS?
565: [09:16:53] <ss23> Don't think so
566: [09:17:17] <ss23> Teh bug is that for some reason, clicking the folder itself, like, randomly on the gridfield, will sometimes (it looks like only if it's a brand new session) link to the edit form instead of the main thing
567: [09:17:21] <ss23> :/
568: [09:17:29] <ss23> I'll update to latest version of SilverStripe I guess and see if that fixes
569: [09:17:34] <ss23> I'll verify whether any custom JS too I guess
570: [09:18:09] * spronk2 has joined #silverstripe
571: [09:20:43] <kinglozzer> Anyone use Chrome and have a bug where if you open a new tab then visit http://mysite.dev/dev/build nothing happens? The request just finishes and it sits there on the new tab page :/
572: [09:23:03] <Zauberfisch> kinglozzer: define nothing happens?
573: [09:23:05] <ss23> I've had similar bugs like that with Chrome, I nromally just click on the URL and press enter to load it again
574: [09:23:45] <Zauberfisch> do you mean it does not process the request or that dev build is not doing its thinkg?
575: [09:24:16] <kinglozzer> Zauberfisch: Well, nothing happens :P. The spinner where the favicon sits spins for a minute, then it stops and reverts to the Google logo for the favicon. URL is still in the input, but it stays on the new tab page
576: [09:24:45] <kinglozzer> Zauberfisch: dev/build does it's thing (I checked once when it happens), but it never loads the build "results" page
577: [09:24:57] <kinglozzer> So the request is fine, it's like it just ignores the response
578: [09:26:22] <ss23> Sounds like Chrome tbh
579: [09:26:23] <ss23> :P
580: [09:26:33] <Pyfffk> ss23: are you still at work?
581: [09:27:07] <ss23> Yeah
582: [09:27:13] <Pyfffk> kinglozzer: use a better browser.
583: [09:27:13] <ss23> Left early to go to a thing, finishing off some stuff now
584: [09:27:21] <ss23> What, like failfox, Pyfffk? :3
585: [09:27:31] <Pyfffk> superiorfox
586: [09:28:08] <ss23> wahaha
587: [09:28:10] <ss23> Doesn't exist!
588: [09:28:11] <ss23> :P
589: [09:28:21] <Pyfffk> Better than ghomefox
590: [09:28:33] <kinglozzer> Pyfffk: I used to use firefox, but now it's a crashy piece of shit I switched to Chrome :P
591: [09:28:43] <Pyfffk> crashy piece of shit?
592: [09:28:52] <Pyfffk> Never crashed on me.
593: [09:29:09] <ss23> I managed to install Chrome and get used to it in the time it took Firefox to open
594: [09:29:25] <Pyfffk> although I did hear recently that recent version has js bugs. but usually it's an extension at fault, and people are stupid and blame the browser proper.
595: [09:29:47] <ss23> That's another shitty thing about FF, need infinity extensions to get the shit Chrome does out of box
596: [09:29:51] <Pyfffk> chrome bogs down computer like nothing ever before.
597: [09:30:03] <Pyfffk> obviously the correct answer is Opera 12.
598: [09:30:05] <Pyfffk> eh spronk
599: [09:30:13] <kinglozzer> Pyfffk: Versions 29 & 30 constantly crash with SilverStripe open :(
600: [09:30:18] <kinglozzer> Apparently 31 beta is fine
601: [09:30:21] <ss23> yeah, we know about that bug
602: [09:30:22] <Pyfffk> kinglozzer: yeah, I'll ceed that fact.
603: [09:30:23] <ss23> Fucking Failfox
604: [09:30:27] <ocm> kinglozzer, 28 gives probles aswell
605: [09:30:36] <Zauberfisch> ss23: yeah, firefox > chrome
606: [09:30:36] <ss23> Bah! Upgraded to latest SilverStripe and still this bug persists! Strange :O
607: [09:30:39] <ocm> firebugz
608: [09:30:40] <ss23> Zauberfisch: NU UH
609: [09:30:41] <Zauberfisch> whoever, firefox does have its problems
610: [09:30:52] <Pyfffk> Zauberfisch: <3 HIGH FIBE
611: [09:30:55] <Pyfffk> FIVE*
612: [09:31:05] <Zauberfisch> like that nasty js bug that creshes it all the time since v29 D:
613: [09:31:08] <Pyfffk> but yeh, every browser has issues.
614: [09:31:23] <Pyfffk> but I just browse without js on.
615: [09:31:28] <Pyfffk> FIXES THE ENTIRE WEB
616: [09:31:44] <kinglozzer> Pyfffk: I bet it doesn't fix the SilverStripe CMS :P
617: [09:31:51] <Pyfffk> kinglozzer: bet it does.
618: [09:31:55] <Zauberfisch> also, firebug is pretty much the only browser dev tool I can work with
619: [09:32:14] <Pyfffk> firefox's internal tools are getting better too, finally
620: [09:32:36] <Zauberfisch> in theory chrome dev tools would pe superior, but their usabillity / interface sucks
621: [09:32:49] <Pyfffk> also the fact that tthey're shit.
622: [09:32:56] <Pyfffk> and by shit I mean exactly the same.
623: [09:33:01] <Zauberfisch> yeah
624: [09:33:20] <Pyfffk> people rant on about superiority, but really it's just a load of nonsense
625: [09:33:30] <Pyfffk> however firebug does run slow, and dev tools don't.
626: [09:33:36] <Pyfffk> but other than that...
627: [09:33:44] <Zauberfisch> yeah, but I am still faster with firebug
628: [09:33:54] <Pyfffk> mmhmm
629: [09:33:57] <Zauberfisch> beccause it does things they way I need them done
630: [09:34:03] <ss23> No
631: [09:34:05] <Pyfffk> oh, and I like ::before and ::after support. But other than that.
632: [09:34:15] <Pyfffk> same
633: [09:34:18] <ss23> You're confusing "I know this tool" with "This tool is better", Zauberfisch
634: [09:34:18] <Zauberfisch> yeah, missing that in firebug D:
635: [09:34:25] <Pyfffk> ss23: no YOU are.
636: [09:34:30] <Zauberfisch> ss23: NU UH!?
637: [09:34:32] <ss23> Pyfffk: AM I SAYING ONE IS BETTER?
638: [09:34:34] <ss23> NO, I'M NOT
639: [09:34:38] <Pyfffk> yes, you are.
640: [09:34:42] <ss23> Pyfffk: where?
641: [09:34:53] <Zauberfisch> ss23: you are implying it
642: [09:35:02] <ss23> Chrome is better, which is obviously subjective, but
643: [09:35:05] <ss23> 21:33:45 < Zauberfisch> yeah, but I am still faster with firebug
644: [09:35:07] <ss23> 21:33:59 < Zauberfisch> beccause it does things they way I need them done
645: [09:35:10] <ss23> is clearly wron
646: [09:35:11] <ss23> wrong
647: [09:35:17] <Pyfffk> you're getting all butthurt because we said chrome dev is same like firebug, and you're saying firebug is INFERIOR, which is logically equivalent to saying chrome dev tools are better.
648: [09:35:19] <ss23> that should be "I'm used to Firebug so I'm faster with it"
649: [09:35:22] <Pyfffk> so yeah, you are and you're wrong.
650: [09:35:30] <ocm> chrome devtools _are_ better
651: [09:35:30] <ss23> Don't make me kick you
652: [09:35:31] <ss23> :D
653: [09:35:36] <Zauberfisch> ss23: no, I am faster with firebug because the interface doesn'T suck
654: [09:35:37] <ocm> more functionality, less resource hungry
655: [09:35:41] <ss23> Zauberfisch: No, wrong
656: [09:35:42] <ss23> BZZZZZZ
657: [09:35:43] <Pyfffk> ss23: try, because you're still wrong.
658: [09:35:47] <ss23> lol
659: [09:35:56] <ocm> haha, kick him
660: [09:36:01] <ocm> that implies you are wrong anyway
661: [09:36:02] <ocm> :D
662: [09:36:02] <Pyfffk> yeah, go on.
663: [09:36:05] <ss23> Anyway, whether you say one is beter than the other, that is fine, since obviously that's subjective
664: [09:36:07] <ocm> like any dictator would do
665: [09:36:08] <Pyfffk> we'll have a beer afterwards.
666: [09:36:12] <ss23> XD
667: [09:36:13] <Pyfffk> with MickRip
668: [09:36:18] <Pyfffk> err micmania1
669: [09:36:21] <ss23> haha
670: [09:36:25] <Pyfffk> who isn't here atm -.-
671: [09:36:26] <ss23> I was like "wait who is mickrip..."
672: [09:36:34] <Pyfffk> the dangers of tab complete
673: [09:36:40] <Pyfffk> and habit
674: [09:36:43] <Zauberfisch> Pyfffk: haha, yeah
675: [09:37:09] <ss23> Man, we upgraded the server we do deployments on
676: [09:37:13] <Pyfffk> chrome dev tools don't let me see a website in 3d, therefore, inferior.
677: [09:37:15] <ss23> DEployments take like 30 seconds now instead of 2 minutes, so nice
678: [09:37:16] <ss23> :D
679: [09:37:25] * zippy__ has joined #silverstripe
680: [09:37:28] <Pyfffk> ss23: how do you deploy?
681: [09:37:31] <Pyfffk> deploynaut
682: [09:37:37] <Zauberfisch> as a matter of fact, I don't even know the names of people, even ones I know in real live, I only know the first 2 letters of their name, because that usually enough for tab complete :D
683: [09:37:38] <ss23> yeah, of course
684: [09:37:49] <Pyfffk> ss23: but how does that work?
685: [09:37:52] <ss23> capistrano
686: [09:37:55] <Pyfffk> is it just an interface for capistrano or something?
687: [09:37:57] <Pyfffk> mm
688: [09:37:59] <ss23> mm
689: [09:38:01] <Pyfffk> damn rails
690: [09:38:03] <Pyfffk> err
691: [09:38:04] <ss23> lol
692: [09:38:06] <ss23> ruby?
693: [09:38:09] <Pyfffk> yeah ruby#
694: [09:38:12] <ss23> I mean, we aint doing any rails stuff :P
695: [09:38:17] <Pyfffk> RUBY SHARP, I invented a new language.
696: [09:38:22] <Pyfffk> 'coz I'm badass
697: [09:38:30] <ss23> XD
698: [09:38:41] <Pyfffk> ss23: yeah you are.
699: [09:38:47] <Pyfffk> you're pretty much all rails devs.
700: [09:39:01] <ss23> ouch! :(
701: [09:39:05] <Pyfffk> becuase cap, sass, allthetoolsexcept core
702: [09:39:21] <ss23> It isn't me that likes sass!
703: [09:39:26] <ss23> besides, our new deployment tool is in Go!
704: [09:39:26] <ss23> :D
705: [09:39:27] <Zauberfisch> well, I think we should give rails some credit
706: [09:39:39] <Pyfffk> NOPE
707: [09:39:42] <Zauberfisch> after all silverstripe is pretty much rails flavoured
708: [09:39:46] <Pyfffk> Not happening xD
709: [09:39:54] <Pyfffk> Zauberfisch: which is Django flavoured
710: [09:40:05] <ss23> Pyfffk: I'm serious btw
711: [09:40:10] <ss23> We do have a new deployment tool in Go
712: [09:40:15] <ss23> But I can't share the secret special parts about it
713: [09:40:16] <ss23> :D
714: [09:40:22] <ss23> Well no one said I couldn't, but it would spoil the fun
715: [09:40:57] <Zauberfisch> Pyfffk: but from what I understand, the ActiveRecord pattern came from the rails people
716: [09:41:08] <Zauberfisch> which is essentially what our DataObjects are
717: [09:41:25] <Zauberfisch> (I have to admit though, I have never seen django in action)
718: [09:41:33] <Pyfffk> ss23: did someone at SS write it?
719: [09:41:51] <Pyfffk> Zauberfisch: I don't think it did, but they sure made it popular.
720: [09:42:01] * novaweb quit (Quit: novaweb)
721: [09:42:04] <ss23> Pyfffk: Yeah
722: [09:42:08] <Pyfffk> I think Django is older. However I'm not sure of the speifics, yeh.
723: [09:42:13] <kinglozzer> ss23: Open source your capistrano stuff so I don't have to write our deploy script :D
724: [09:42:19] <ss23> lol
725: [09:42:21] <ss23> I want to, believe me
726: [09:42:29] <Pyfffk> ss23: basically, what he said. But first alter it
727: [09:42:34] <ss23> But there's some existing issues to fix up first (*cough* please don't hack us *cough*)
728: [09:42:39] <zippy__> http://ftploy.com/ ?
729: [09:43:56] * r_hector quit (Quit: Leaving.)
730: [09:47:13] <Pyfffk> wow zippy__
731: [09:47:27] <Pyfffk> I suppose it's ok for shit servers with no shell access
732: [09:48:03] <ss23> Pyfffk: Hmmm? SSH deployment method requires shell access
733: [09:48:03] <ss23> :S
734: [09:48:12] <ss23> I would like a continious deployment tool like that tbh
735: [09:48:21] <Pyfffk> ss23: how would it not?
736: [09:48:30] <Pyfffk> sftp?
737: [09:48:36] <ss23> yeah, or regular FTP
738: [09:48:38] <Pyfffk> that's basically ftp though right?
739: [09:48:53] <ss23> sftp normally means either ssh or https ftp
740: [09:48:55] <ss23> but yeah
741: [09:48:55] <Pyfffk> but with ssl
742: [09:49:05] <Pyfffk> ssh ftp
743: [09:49:07] <Pyfffk> that's a bit.. wut
744: [09:49:10] <ss23> either way, point is, your "it's okay for shit servers with no shell access"
745: [09:49:14] <ss23> um
746: [09:49:14] <ss23> you know
747: [09:49:21] <ss23> http://en.wikipedia.org/wiki/SSH_File_Transfer_Protocol
748: [09:49:26] * Kapdap quit (Quit: leaving)
749: [09:49:27] <Pyfffk> yeah but to ssh in and do extractions and shit
750: [09:49:31] <Pyfffk> you need shell access
751: [09:49:35] <Pyfffk> pulls, etc.
752: [09:49:35] <ss23> mm
753: [09:49:41] <ss23> idk what you're really saying by
754: [09:49:41] <ss23> 21:47:28 < Pyfffk> I suppose it's ok for shit servers with no shell access
755: [09:49:50] * willmorgan has joined #silverstripe
756: [09:50:01] <Pyfffk> well having an FTP based deployment tool is only good in certain crap situations
757: [09:50:07] <Pyfffk> eg locked down shared hosting
758: [09:50:13] <ss23> That's not an FTP based deployment tool, it's just a tool that can use FTP
759: [09:50:29] <Pyfffk> FTPloy
760: [09:50:35] <ss23> and?
761: [09:50:37] <Pyfffk> -loy = FTP
762: [09:50:40] <ss23> lol
763: [09:50:49] <Pyfffk> FTP DEPLOY
764: [09:50:55] <ss23> WHO CARES WHAT THE NAME IS?
765: [09:51:02] <Pyfffk> everyone.
766: [09:51:06] <ss23> q
767: [09:51:09] <ss23> qq
768: [09:51:21] <Pyfffk> name implies it's based all around FTP only.
769: [09:51:38] <ss23> idgaf
770: [09:51:39] <ss23> :D
771: [09:51:42] <Pyfffk> so using that instead of something like travis, or capistrano....
772: [09:51:45] <Pyfffk> why would you?
773: [09:52:06] <Pyfffk> gonaut
774: [09:52:17] <ss23> capistrano isn't continious deployment?
775: [09:52:25] <Pyfffk> I know
776: [09:52:27] <ss23> so...
777: [09:52:28] <Pyfffk> but, could be with a few hooks
778: [09:52:30] <ss23> it's not an alternative
779: [09:52:33] <ss23> so you wouldn't use it instead
780: [09:52:33] <ss23> :S
781: [09:52:40] <Pyfffk> yes you could
782: [09:52:55] <Pyfffk> it's different in that it's not SaaS though
783: [09:54:16] * R\w\C has joined #silverstripe
784: [09:54:17] * R\w\C quit (Changing host)
785: [09:54:17] * R\w\C has joined #silverstripe
786: [09:55:14] * UncleCheese has joined #silverstripe
787: [09:56:25] <zippy__> I use springloops myself, but same sort of deal with ftploy - it just makes it easy to push changes up, especially for the non tech people - if there are a bunch of you distributed, the designer can make a tweak and deploy live without having to run a shell script or get someone else to do the deploy for them
788: [09:56:44] <Pyfffk> that's what CI is.
789: [09:56:57] * Pyfffk finally learnt that on Monday
790: [09:58:56] <ss23> Not exactly, continious deployment is more like added stuff on top of CI
791: [09:59:39] <ss23> So much of my time is spent dealing with how shitty the CMS is with all it's fucking javascript entwine bullshit
792: [09:59:45] <ss23> buggy fucking peice of shit
793: [10:01:11] <Pyfffk> better entwine than vanilla
794: [10:01:23] <Pyfffk> spagetti ALL the things!
795: [10:02:33] * novaweb has joined #silverstripe
796: [10:02:35] <Zauberfisch> did you guys ever encounter a bug where pressing "save & publish" in the CMS di not write changes to the database?
797: [10:02:51] <Zauberfisch> *did
798: [10:03:00] * Kapdap has joined #silverstripe
799: [10:03:57] <ss23> Zauberfisch: Not really, that one sounds pretty major
800: [10:07:44] <zippy__> Zauberfisch: sometimes I have an issue I have to click Save twice, like the first click sets focus or something (like flash used to)
801: [10:08:34] <zippy__> Pyfffk: when you have a small project, you don't need CI, just need something to handle deploys for the team. A rsync script is fine (what I normally use for own things) each to their own, was just pointing it out
802: [10:08:35] <ss23> mm ^ I have this one
803: [10:08:55] <Pyfffk> I used to have a deployment script
804: [10:09:10] <Zauberfisch> zippy__: probably not the problem. tried it on multiple devices and browsers
805: [10:09:20] <Pyfffk> in bash
806: [10:09:36] <Pyfffk> double click a putty shortcut, type shit in, problem solved
807: [10:09:55] <Pyfffk> shit being user and pass.
808: [10:10:01] <Pyfffk> and site
809: [10:10:09] <Pyfffk> not hard.
810: [10:10:16] <Pyfffk> team did alright with it.
811: [10:10:37] <Pyfffk> apart from the lack of ctrl+v in putty for pasting
812: [10:10:54] <ocm> pyfffk
813: [10:10:57] <ocm> use ctrl+ins
814: [10:10:58] <ocm> or
815: [10:11:01] <ocm> right mousebutton
816: [10:11:03] <ocm> to paste in putty
817: [10:11:05] <Pyfffk> ocm: right mouse click, yeh
818: [10:11:13] <Pyfffk> I know, also this was 2 years ago.
819: [10:11:21] <Pyfffk> before I forced them to git.
820: [10:11:36] <ocm> the git console
821: [10:11:43] <ocm> cannot copy paste when you ssh :(
822: [10:11:53] <Pyfffk> nah, putty still
823: [10:12:01] <Pyfffk> taught them how to not fuck that up as part of it all
824: [10:15:27] <ss23> Seriously, this bug is messed up. If I go to /admin/assets/ directly, it doesn't have the weird bug. If I go to /admin directly (e.g. get taken to /pages), then click Files, I get the bug
825: [10:15:30] <Pyfffk> hopefully they're still all using it
826: [10:15:31] <ss23> HOW EVEN :/
827: [10:15:47] <Pyfffk> jss23
828: [10:16:13] <ss23> Maybe, but I think it's HTML
829: [10:16:20] <ss23> It's fucking hard to tell cause the HTML is stuffed with behavioural shit
830: [10:16:28] <ss23> data-url-template-form="foobar%sfuck"
831: [10:16:30] <ss23> or some shit
832: [10:16:31] <ss23> bah
833: [10:16:32] <Pyfffk> probably some selector that is loaded to do page edits, but someoen's f'd up an dput the selector on the filegridfield too
834: [10:16:35] <ss23> This is why I hate all this JS shit
835: [10:16:41] <ss23> Because it makes debugging a goddam nightmare
836: [10:16:44] <Pyfffk> because you're backwards
837: [10:16:49] <Pyfffk> also I can agree with that though.
838: [10:16:58] <Pyfffk> it's the definition of spagetti really.
839: [10:17:11] <Pyfffk> SS UI isn't modular enough :<
840: [10:17:20] <Pyfffk> fuckit, going for a mars bar
841: [10:25:02] * Colin[pi] has joined #silverstripe
842: [10:30:08] <Pyfffk> ok question
843: [10:30:11] <Pyfffk> I have an arraylist
844: [10:30:14] <Pyfffk> I sort it
845: [10:30:27] * ed has joined #silverstripe
846: [10:30:33] <Pyfffk> sorting it injects another column @_SortColumn0@
847: [10:30:36] <Pyfffk> err
848: [10:30:42] <Pyfffk> "_SortColumn0"
849: [10:30:50] <Pyfffk> wtf
850: [10:30:51] * ed is now known as Guest61414
851: [10:30:53] <Pyfffk> how to rid myself of it?
852: [10:31:07] <Pyfffk> fuck yeah question time, mint
853: [10:39:16] * Guest61414 quit (Ping timeout: 246 seconds)
854: [10:40:53] <willmorgan> should have done the CMS in backbone
855: [10:41:17] * simon_w has joined #silverstripe
856: [10:41:23] <willmorgan> all I need is ~free time~ and it could happen
857: [10:41:34] <willmorgan> or if someone wants to kickstarter me, i'll totally quit my job
858: [10:41:41] <Pyfffk> willmorgan: mmm, HFriedlander is a fan of the backbone
859: [10:41:48] <Pyfffk> willmorgan: but aren't you the director?
860: [10:42:00] <Pyfffk> no wait that's Dan, right?
861: [10:42:03] <Pyfffk> idk#
862: [10:42:10] <Pyfffk> I lose track of everyone.
863: [10:47:13] <R\w\C> how do you build frontend forms for silverstripe?
864: [10:48:40] * simon_w quit (Ping timeout: 260 seconds)
865: [10:52:37] <Marvanni2> I really like this for FrontendForms : https://github.com/ryanwachtl/silverstripe-foundation-forms
866: [10:52:38] * caamic30 quit (Quit: caamic30)
867: [10:59:54] <Pyfffk> R\w\C: same way you build back end forms.
868: [10:59:58] <Pyfffk> see tutorial 3
869: [11:01:22] * novaweb quit (Quit: novaweb)
870: [11:08:14] <R\w\C> ty
871: [11:21:25] * cloph is now known as cloph_away
872: [11:21:54] * zippy__ quit (Quit: zippy__)
873: [11:23:39] * novaweb has joined #silverstripe
874: [11:26:27] * caamic30 has joined #silverstripe
875: [11:40:08] * novaweb quit (Quit: novaweb)
876: [11:40:32] * novaweb has joined #silverstripe
877: [11:40:46] * UncleCheese quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
878: [11:41:11] * novaweb quit (Client Quit)
879: [11:45:12] * simon_w has joined #silverstripe
880: [12:02:17] * willr quit (Quit: willr)
881: [12:16:55] * UndefinedOffset has joined #silverstripe
882: [12:25:45] * simon_w quit (Quit: This computer has gone to sleep)
883: [12:33:15] <caamic30> hello SS! I can’t find a module to create a shortcode for vimeo, anyone knows please where I could find one?
884: [12:36:28] <ocm> why not make your own shortcode for it?
885: [12:37:00] <ocm> shouldn't need a module for just a simple shortcode parser imho
886: [12:39:01] * bouba has joined #silverstripe
887: [12:40:57] <caamic30> I see, thanks ocm. I just read the SS Shortcode documentation
888: [12:41:03] <UndefinedOffset> caamic30 are you using silverstripe 3.1 or 3.0?
889: [12:41:11] <caamic30> yes 3.1
890: [12:41:32] <UndefinedOffset> then you don't need a short code :)
891: [12:41:40] <ocm> does it do vimeo aswell? not just YT?
892: [12:41:51] <UndefinedOffset> vimeo supports oembed so just paste the url into the insert media > from web
893: [12:42:23] <UndefinedOffset> ocm 3.1 supports the majority of oembed providers
894: [12:42:55] <ocm> Ah, nice one :)
895: [12:43:03] <ocm> I really should read changedocs moer
896: [12:43:49] <caamic30> really? well that’s great news then
897: [12:44:00] <UndefinedOffset> 3.0 did as well, oembed support was introduced then. if a particular oembed provider isn't working it's pretty easy to add it to your _config.yml
898: [12:44:02] <UndefinedOffset> :)
899: [12:45:44] <bouba> Hello folks! Is there a way to get the url's action parameter ID "/Action/ID" inside the template to compare it with returned data from de page controller? I wish to change an element style inside the template f.e. like class="current" but depending on the param.
900: [12:55:59] <caamic30> thanks UndefinedOffset, it works perfectly
901: [12:58:01] <UndefinedOffset> caamic30 no problem :)
902: [13:13:01] * bouba quit (Quit: Page closed)
903: [13:13:47] * bouba has joined #silverstripe
904: [13:14:04] * Colin[pi] quit (Ping timeout: 240 seconds)
905: [13:17:58] * aclffrd has joined #silverstripe
906: [13:26:16] * NETim has joined #silverstripe
907: [13:27:09] <NETim> Hi all. Trying to change the classes that TinyMCE uses to align images in content to add img-responsive for bootstrap. Any ideas?
908: [13:28:54] <Pyfffk> NETim: yep! Give up.
909: [13:29:18] <Pyfffk> or use JS to apply the class when the page loads.
910: [13:29:25] <ocm> NETim I use this for my imageclasses
911: [13:29:27] <ocm> HtmlEditorConfig::get('cms')->setOption('theme_advanced_styles', 'Links - text rondom=left; Rechts - text rondom=right; In lijn met tekst=inline; Gecentreerd - losstaand=centered', '[img]');
912: [13:29:30] <NETim> Thanks Pyfffk. I was aiming more along the not give up and succeed route though
913: [13:29:38] <Pyfffk> bit of a hack but it'll be better and easier than fiddling with tinymce
914: [13:29:49] <Pyfffk> NETim: giving up is succeeding.
915: [13:29:51] <ocm> pyfffk, what is wrong with my solution?
916: [13:30:00] <Pyfffk> Only pain and suffering lies the TinyMCE modification route.
917: [13:30:16] <ocm> now in tinyMCE, if I click an image I can select my classes using the dropdown
918: [13:30:29] <Pyfffk> or since ocm seems to have a solution, do what he did, only in whatever lang you use, rather than Dutch.
919: [13:30:36] <Pyfffk> if necessary
920: [13:30:46] <NETim> ocm, Thanks. I'm assuming i'll need to translate the german though?
921: [13:30:54] <Pyfffk> Dutch.
922: [13:31:04] <NETim> Sorry, Dutch
923: [13:31:08] <Pyfffk> and yes.
924: [13:31:35] <Pyfffk> It'll probably need to be whatever your locale is set to in _config.php, but I dunno *shrug*
925: [13:32:08] <Pyfffk> caamic30: you don't need a shortcode for vimeo.
926: [13:32:22] <Pyfffk> click the media button, you can paste the video link righ tin there and it should just work.
927: [13:32:24] <ocm> yo ucan replace all content to custom values
928: [13:32:29] <Pyfffk> repeat, no short codes.
929: [13:32:34] <Pyfffk> don't reinvent wheel.
930: [13:32:43] <ocm> like , 'Bootstrap Img=img-responsive';
931: [13:32:47] <caamic30> yup, I was advised already
932: [13:32:51] <Pyfffk> hmm, should probably read more first, UndefinedOffset already said that :<
933: [13:32:52] <caamic30> many thanks. guys
934: [13:32:54] <Pyfffk> heh :P
935: [13:33:13] <ocm> pyfffk, you are getting slow
936: [13:33:18] <ocm> and I am getting lungcancer
937: [13:33:21] <ocm> brb, out for a smoke!
938: [13:33:29] <NETim> ocm, Thanks, is there any way to have 2 classes applied?
939: [13:33:33] * catcher has joined #silverstripe
940: [13:33:41] <ocm> 2 classes at the same element?
941: [13:33:46] <NETim> yep
942: [13:33:52] <ocm> dunno, try something like
943: [13:33:55] <Pyfffk> NETim: check docs on TinyMCE (as in, not SS docs, but moxiecode docs)
944: [13:33:59] <NETim> so it would be left aligned and img-responsive
945: [13:34:04] <ocm> 'something double=one-class second-class';
946: [13:34:10] <ocm> but, brb
947: [13:34:11] <NETim> exactly
948: [13:34:12] <NETim> ok.
949: [13:34:23] <Pyfffk> above is the way to set things through PHP in SS, but the things you're setting are basically vanilla TinyMCE options.
950: [13:34:44] <Pyfffk> so hopefully if you format things right it should just work.
951: [13:34:58] <Pyfffk> bouba: $Action
952: [13:35:25] <Pyfffk> will get the $Action param on the controller, as it's set as a property on page controller load.
953: [13:36:03] <NETim> The issue is that the site is responsive using Bootstrap, which will resize images with the img-responsive class. That class doesn't do anything else and Bootstrap won't resize it without the img-responsive tag
954: [13:36:10] <Pyfffk> but you should probably just use php and GET vars
955: [13:36:19] <Pyfffk> and set a session variable
956: [13:36:34] <Pyfffk> check it on load (controller::init())
957: [13:36:50] <Pyfffk> use Requirements::whatever() to load the appropriate files.
958: [13:36:55] <Pyfffk> from PHP rather than template.
959: [13:37:14] <Pyfffk> or set the theme, or whatever.
960: [13:37:49] <Pyfffk> NETim: you could of course always just modify bootstrap.
961: [13:38:29] <NETim> Trying to avoid that.
962: [13:38:48] <NETim> Also, Turns out you can just provide a list of styles to theme_advanced_styles, it will add them as is
963: [13:38:49] * bouba quit (Ping timeout: 246 seconds)
964: [13:39:02] <Pyfffk> NETim: cool.
965: [13:39:28] <Pyfffk> Sometimes things are easy, sometimes things are stuipdly difficult when it comes to TinyMCE. It's a bit of roulette to see what situation is what.
966: [13:39:32] <NETim> Any idea though how to add them to the add image dialogue format styles? at the moment the styles are added to the text styles menu
967: [13:39:51] <Pyfffk> urgh gawd
968: [13:39:56] <Pyfffk> what are you doing?
969: [13:40:15] <NETim> the customer needs to be able to add an image to content that is responsive.
970: [13:40:27] <Pyfffk> any .class style in your typography.css will (should) be added to the styles dropdown automatically.
971: [13:40:42] <Pyfffk> you're adding things the hard way?
972: [13:40:59] <Pyfffk> I thought you were modifying how it speicifically injects an img tag
973: [13:41:07] <Pyfffk> by default it applies .left iirc.
974: [13:41:24] <Pyfffk> check how that happens is probably better soution, so you can target it specifically
975: [13:41:55] <NETim> when you add/edit an image with the little tree painting icon, it gives a choice of positioning styles, what I'm trying to do is get it to add an img-responsive tag to any image added
976: [13:48:28] <Pyfffk> yep, check the docs
977: [13:48:54] <Pyfffk> http://www.tinymce.com/wiki.php/Configuration
978: [13:49:07] <NETim> Thanks
979: [13:56:57] <catcher> Is there a boolean available to the template to test if the user is logged in?
980: [13:57:07] <ocm> currentUser?
981: [13:57:09] <ocm> uh
982: [13:57:09] <ocm> member
983: [13:57:18] <catcher> That's not boolean
984: [13:57:41] <ocm> <% if currentUser %> should work
985: [13:57:53] <catcher> ocm, I need a boolean
986: [13:57:56] <catcher> cache key
987: [13:59:13] * caamic30 quit (Quit: caamic30)
988: [13:59:58] <ocm> think it is not available as boolean
989: [14:00:58] <catcher> Just checking before I threw one in Page_Controller
990: [14:07:42] <Pyfffk> catcher: why boolean?
991: [14:07:53] <Pyfffk> <% if currentMemberID %>
992: [14:08:00] <Pyfffk> will give int, but deal with it.
993: [14:08:04] <Pyfffk> int IS boolean
994: [14:08:11] <Pyfffk> you've got 0 and !0
995: [14:08:24] <Pyfffk> :P
996: [14:08:32] <Pyfffk> quite literally when you're talking about C
997: [14:08:44] <ocm> literal?
998: [14:08:51] <ocm> that is neither boolean nor integer :P
999: [14:09:01] <Pyfffk> only if you import stdLang or whatever the header is.
1000: [14:09:50] <Pyfffk> ocm: well, all ints are literal in C, as there is no Integer construct. They're primitive and declared as it in code.
1001: [14:10:07] <Pyfffk> arrays and strings on the other hand, are constructs.
1002: [14:10:24] <ocm> integers are primitive?
1003: [14:10:30] <ocm> I think Pythagoras wont agree
1004: [14:10:32] <ocm> all is number
1005: [14:10:34] <Pyfffk> a string being nothing more than an array of char, but you can define it literal in code by "string"
1006: [14:10:52] <Pyfffk> ocm: real natural integer, etc.
1007: [14:10:56] <Pyfffk> stop being picky :P
1008: [14:10:58] <ocm> hahaha
1009: [14:11:06] <ocm> though a string is not an array of characters
1010: [14:11:10] <ocm> it is an array of words
1011: [14:11:20] <ocm> which in their place are an array of characters
1012: [14:11:22] <ocm> :P
1013: [14:11:30] <Pyfffk> nope, char array.
1014: [14:11:31] <ocm> in fact we have some kind of lon
1015: [14:11:35] <ocm> language object notation
1016: [14:11:42] <Pyfffk> in C
1017: [14:11:48] <ocm> in C perhaps, but C is wrong
1018: [14:11:49] <Pyfffk> char*
1019: [14:11:59] <Pyfffk> no it's not, C is everything RIGHT in the world.
1020: [14:12:06] <ocm> right?
1021: [14:12:08] <ocm> like fascism? :P
1022: [14:12:31] <Pyfffk> LEFT RIGHT LEFT RIGHT LEFT!
1023: [14:12:36] <ocm> march!
1024: [14:12:44] <Pyfffk> the march of politics
1025: [14:12:49] <ocm> march of the pigs?
1026: [14:12:54] <ocm> step right up
1027: [14:12:56] <Pyfffk> every couple of elections the vote will swing the other way.
1028: [14:13:02] <Pyfffk> generally.
1029: [14:13:07] <ocm> that is called lobbyism
1030: [14:13:27] <ocm> democracy is a lie anyway
1031: [14:13:59] <Pyfffk> nope, lobbyism is appealing for a law to be passed/created on behalf of another/others
1032: [14:14:15] <Pyfffk> http://en.wikipedia.org/wiki/Lobbying
1033: [14:14:35] <ocm> but eventually lobbyist have great stacks of money used to buy politics
1034: [14:14:43] <ocm> and then you got the Whips (atleast in the UK and the USA)
1035: [14:14:48] <ocm> the most nasty of all politics
1036: [14:15:49] <Pyfffk> NETim: probably this is what you're after if you haven't found a solution yet. If you have please tell us so it goes on record for future reference: http://www.tinymce.com/wiki.php/Configuration:image_class_list
1037: [14:16:07] <Pyfffk> ocm: whips?
1038: [14:16:13] <ocm> the Whip yes
1039: [14:16:14] <Pyfffk> not WASP?
1040: [14:16:24] <ocm> wasp?!
1041: [14:16:39] <ocm> http://en.wikipedia.org/wiki/Whip_(politics)
1042: [14:16:52] <Pyfffk> yeh, racist folks being racist: http://en.wikipedia.org/wiki/White_Anglo-Saxon_Protestant
1043: [14:16:57] <Pyfffk> generally.
1044: [14:17:04] <ocm> lke the minutemens?
1045: [14:17:05] <Pyfffk> "America is for Americans!" etc.
1046: [14:17:19] <ocm> sounds like stupid people to me
1047: [14:17:33] <Pyfffk> "The term applies to a group believed to control disproportionate social and financial power"
1048: [14:17:39] <Pyfffk> (from wiki above)
1049: [14:18:07] <ocm> I see
1050: [14:18:21] <Pyfffk> not technically racist, but applies directly to whities in charge, so yeh.
1051: [14:18:54] <ocm> define 'in charge'
1052: [14:19:04] <ocm> don't forget the illuminati
1053: [14:19:19] <ocm> they think they are in charge, but even they have puppeteers commanding them
1054: [14:19:32] <ocm> however I don't think the concept of the illuminati is a single entity
1055: [14:19:44] <ocm> or even sees itself as _the_ illuminati
1056: [14:20:23] <Pyfffk> I always thought that was an urban ledgend
1057: [14:20:29] <ocm> yes and no
1058: [14:20:36] <Pyfffk> myth, for things like dan brown books.
1059: [14:20:48] <ocm> well, even he has some facts straight
1060: [14:20:54] <ocm> highly covered with myts
1061: [14:20:57] <ocm> myths
1062: [14:21:13] <ocm> there are quite a few culti alive with a great amount of power
1063: [14:21:25] <ocm> the most common example is the cultus that meet at the bohemian groove for example
1064: [14:21:43] <ocm> or the cultus running some chambers in the legislationbuilding in winnipeg
1065: [14:25:45] <ocm> legislative building*
1066: [14:40:25] * muskie9 has joined #silverstripe
1067: [14:41:55] <Pyfffk> come on all you vampires with your blood sucking ways come on and turn me out, oooh, when the lights go out, how you gonna find your way?
1068: [14:54:46] <NETim> pyfffk, Thanks. I've already tried that one. I'm just going to give them some classes in the content alignment box. They seem smart enough to figure it out
1069: [14:56:48] <NETim> Anyone here used the subsites module?
1070: [14:58:30] <ocm> I do
1071: [14:59:42] <NETim> Have you found a way of getting the site change drop down to work all the time?
1072: [15:00:11] <NETim> We've found that you have to be on the 'Pages' section when changing site or it just drops you onto the same site you were on
1073: [15:03:03] <ocm> hm, I have not
1074: [15:03:22] <ocm> the client who has the subsites module only has access to the Pages section and Assets
1075: [15:03:24] <ocm> the rest is hidden
1076: [15:03:36] <ocm> so never bumped into that problem
1077: [15:04:50] <NETim> Ah, what about when you log in? do you have access to the rest of the CMS?
1078: [15:05:28] <ocm> yes, administrators have full rights
1079: [15:05:57] <ocm> content authors/editors/publishers only get pages, assets/custom modeladmins (which are used on all subsites)
1080: [15:06:11] <NETim> Have you encountered the jump as an admin with full rights?
1081: [15:07:38] <ocm> I am having a look at it now
1082: [15:09:06] <ocm> as far as I can see I can change from site to site using the dropdown from any place in the cms
1083: [15:09:14] <NETim> Odd.
1084: [15:09:20] <ocm> i tried some modeladmin, subsites itself, security
1085: [15:09:40] <ocm> though, it is 3.0
1086: [15:09:41] <NETim> Whenever we try it from anywhere other than pages, it stays on the current subsite but sends you to pages
1087: [15:10:08] <ocm> even if I edit a page on site A
1088: [15:10:11] <ocm> save it (or not)
1089: [15:10:11] <NETim> ah, we're on a slightly newer one. Can't remember which.
1090: [15:10:13] <ocm> go to site B
1091: [15:10:22] <ocm> it gives me the pages of site B
1092: [15:11:28] <NETim> if we are on settings on site a, click site b, goes to pages site a, click site b, goes to site b
1093: [15:11:57] <NETim> It's not a major issue, just annoying if you're trying to do something in a hurry
1094: [15:15:50] * scpi has joined #silverstripe
1095: [15:17:28] <ocm> weird, dunon why it would do so
1096: [15:18:34] <NETim> Neither do I, can't see anything in the code.
1097: [15:18:51] * cloph_away is now known as cloph
1098: [15:19:32] <Pyfffk> NETim: get a newer version probably. I have experienced that in the past... but only in certain situations.
1099: [15:19:36] <Pyfffk> eg editing settings, not pages.
1100: [15:19:48] <NETim> that sounds like what we're having.
1101: [15:19:52] <Pyfffk> but by 'in the past' I mean version 2.4, about 2 years ago.
1102: [15:20:05] <NETim> we're on 3.something at the moment.
1103: [15:20:38] <Pyfffk> you can try updating, and/or check your issue. is it specific to any particular section of the admin?
1104: [15:20:56] <NETim> nope. anwhere except pages, and sometimes even in there too.
1105: [15:21:23] <Pyfffk> so basically files, settings & modeladmin only?
1106: [15:21:35] <NETim> yep, I'm hoping to not have to upgrade it though, we're a very long way down the line
1107: [15:21:47] <Pyfffk> load pages, (click in title bar, press enter, do a fresh load, not a refresh or browing to it).
1108: [15:21:54] <Pyfffk> see if it happesn.
1109: [15:22:02] <Pyfffk> then load settings admin, see what happens
1110: [15:22:18] <Pyfffk> NETim: upgrading isn't a big deal.
1111: [15:22:20] <NETim> um, that worked...
1112: [15:22:30] <Pyfffk> unless you've committed the ultimate sin and edited core files.
1113: [15:22:36] <Pyfffk> NETim: what worked?
1114: [15:22:37] <NETim> the first bit, not upgrading, I'm not that fast.
1115: [15:22:48] <Pyfffk> which 'first bit'?
1116: [15:22:52] <NETim> Don't think we've changed anything
1117: [15:22:58] <Pyfffk> yes but tell me
1118: [15:22:59] <NETim> "load pages, (click in title bar, press enter, do a fresh load, not a refresh or browing to it)"
1119: [15:23:06] <Pyfffk> right.
1120: [15:23:10] <Pyfffk> now do the same for settings
1121: [15:23:18] <Pyfffk> see if it exhibits the issue.
1122: [15:23:23] <Pyfffk> I'm guessing it might.
1123: [15:23:46] <NETim> works fine that way. without the refresh though, it goes weird.
1124: [15:23:47] <Pyfffk> then, load settings fresh, browse to pages using the menu, then try the language switch.
1125: [15:24:21] <Pyfffk> yes, it's to do with the javascript or something weird. Most things in the admin load through ajax & update the history stack & address.
1126: [15:24:21] * jenniferaslan has joined #silverstripe
1127: [15:24:35] <Pyfffk> so it'll probably just be a JS issue.
1128: [15:24:47] <Pyfffk> check on github, see if there's an issue logged.
1129: [15:24:49] <Pyfffk> if not, make one.
1130: [15:25:07] <Pyfffk> also, if you load pages and edit only pages, it should work ifne.
1131: [15:25:11] <NETim> Will do. Thanks. A fresh perspective can make a difference sometimes.
1132: [15:25:12] <Pyfffk> it's when you change section it gets messy.
1133: [15:25:19] <NETim> yeah
1134: [15:25:50] <Pyfffk> because it loads your first section's js, then replaces page content to get to the other section.
1135: [15:26:02] <Pyfffk> which doesn't work too well for some reason.
1136: [15:26:07] <Pyfffk> I dunno *shrug*
1137: [15:26:16] <Pyfffk> tell spronk, he loves subsites.
1138: [15:26:33] <NETim> is he not here? it says he is
1139: [15:26:40] <Pyfffk> he is not.
1140: [15:26:50] <Pyfffk> spronk2: sleeps.
1141: [15:26:54] <Pyfffk> zzzzz
1142: [15:27:05] <Pyfffk> Probably having a nightmare about subsites right now though.
1143: [15:27:06] <NETim> ah, different timezone?
1144: [15:27:16] <Pyfffk> yup, 12hr out.
1145: [15:27:24] <NETim> from GMT?
1146: [15:27:29] <Pyfffk> mmhmm
1147: [15:27:29] <ocm> NETim in what browser does the problem occur? FireFox and Chrome?
1148: [15:27:36] <NETim> chrome
1149: [15:27:40] <Pyfffk> all browsers.
1150: [15:30:02] <ocm> hm weird
1151: [15:30:09] <NETim> actually, pyfffk, just tried it in FireFox and it doesn't happen
1152: [15:30:27] <Pyfffk> you sure/
1153: [15:30:28] <Pyfffk> ?
1154: [15:30:33] <Pyfffk> try all the scenarios above?
1155: [15:30:37] <NETim> yep
1156: [15:30:40] <Pyfffk> random.
1157: [15:30:51] <NETim> very
1158: [15:30:57] <NETim> do I dare try IE?
1159: [15:31:42] <NETim> hm... works in IE (didn't think I'd ever write that)
1160: [15:34:34] <ocm> try chrome incognito mode
1161: [15:34:37] <ocm> does it work then?
1162: [15:34:45] <ocm> it might be a chrome plugin being nasty there
1163: [15:35:01] * Pyfffk quit (Ping timeout: 246 seconds)
1164: [15:35:12] <NETim> hm... does seem to work
1165: [15:35:26] * Shrike_Finland has joined #silverstripe
1166: [15:35:47] <NETim> It's been used on several different PCs in different offices on different browsers and consistently failed
1167: [15:35:48] <ocm> does seem like a pluginproblem
1168: [15:35:57] <ocm> hm, weird
1169: [15:36:02] <NETim> would have to be a base plugin
1170: [15:36:21] <ocm> do you use antivirus?
1171: [15:36:25] <ocm> web-protection stuff?
1172: [15:36:30] <NETim> yes
1173: [15:36:36] <ocm> on all the different pc's you tested it with?
1174: [15:37:04] <NETim> on all of my machines yes. Don't know about the client but i would assume so (I would hope so)
1175: [15:37:12] <ocm> I guess that is the problem
1176: [15:37:29] <ocm> might be because the CMS uses a lot of ajax
1177: [15:37:48] <NETim> possibly, but we haven't had any other AJAX related issues
1178: [15:38:41] <ocm> probably the js-request that gets blocked
1179: [15:42:04] <NETim> I'll have to investigate that if the client reports it as an issue.
1180: [15:57:25] * Knirk quit (Ping timeout: 246 seconds)
1181: [15:57:35] * eagles0513875_ quit (Ping timeout: 272 seconds)
1182: [16:00:07] <ocm> prfft
1183: [16:00:13] <ocm> why did they invent derppress?
1184: [16:01:46] * spronk2 quit (Quit: spronk2)
1185: [16:04:47] * eagles0513875_ has joined #silverstripe
1186: [16:09:53] * Shrike_Finland quit (Quit: Leaving.)
1187: [16:23:48] * ocm quit (Remote host closed the connection)
1188: [16:28:45] * stnvh_ quit ()
1189: [16:31:50] * kinglozzer quit ()
1190: [16:38:16] * Shrike_Finland has joined #silverstripe
1191: [16:43:06] * Shrike_Finland quit (Client Quit)
1192: [16:48:14] * R\w\C quit (Quit: Textual IRC Client: www.textualapp.com)
1193: [16:48:18] * jenniferaslan quit (Quit: jenniferaslan has left the room)
1194: [16:49:13] * NETim quit (Ping timeout: 246 seconds)
1195: [16:51:58] * jenniferaslan has joined #silverstripe
1196: [16:58:39] * jenniferaslan quit (Quit: jenniferaslan has left the room)
1197: [16:59:11] * zfmf has joined #silverstripe
1198: [17:00:50] * jenniferaslan has joined #silverstripe
1199: [17:06:54] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
1200: [17:19:59] * UndefinedOffset quit (Quit: Leaving.)
1201: [17:21:00] * shellbackpacific has joined #silverstripe
1202: [17:23:42] * UndefinedOffset has joined #silverstripe
1203: [17:24:42] * daslicht has joined #silverstripe
1204: [17:25:59] <shellbackpacific> i'm getting this "http://david.nccs.innismaggiore.org/%5Bsitetree_link,id=29%5D#my%20link"" when trying to render a link in a template from an HTMLText field in my CMS…any ideas?
1205: [17:26:09] <shellbackpacific> err
1206: [17:26:49] <shellbackpacific> i'm getting this: [sitetree_link,id=29]#my%20link for the href of an HTMLText field
1207: [17:26:52] <shellbackpacific> rather than the link
1208: [17:35:37] * daslicht has left #silverstripe
1209: [17:39:48] * willmorgan quit (Ping timeout: 260 seconds)
1210: [17:53:06] * gelignite has joined #silverstripe
1211: [17:57:43] * joelpittet has joined #silverstripe
1212: [18:08:26] <shellbackpacific> [sitetree_link,id=29]#my%20link …from a richtext cms field…anyone know what to escape/fix that?
1213: [18:16:44] * zfmf quit ()
1214: [18:25:53] * Shrike_Finland has joined #silverstripe
1215: [18:28:14] * Colin[pi] has joined #silverstripe
1216: [18:49:40] * joelpittet quit ()
1217: [18:52:08] * R\w\C has joined #silverstripe
1218: [18:58:37] * joelpittet has joined #silverstripe
1219: [19:04:03] * joelpittet quit ()
1220: [19:18:10] * ARNHOE has joined #silverstripe
1221: [20:02:32] * willmorgan has joined #silverstripe
1222: [20:02:55] * muskie9 has joined #silverstripe
1223: [20:09:36] * mobiusnz quit (Quit: Leaving.)
1224: [20:26:35] * UndefinedOffset quit (Quit: Leaving.)
1225: [20:26:48] * Shrike_Finland quit (Quit: Leaving.)
1226: [20:27:19] * Shrike_Finland has joined #silverstripe
1227: [20:30:09] * mobiusnz has joined #silverstripe
1228: [20:32:23] * Shrike_Finland quit (Quit: Leaving.)
1229: [20:33:41] * camfindlay has joined #silverstripe
1230: [20:37:16] * r_hector has joined #silverstripe
1231: [20:39:52] * ARNHOE quit (Remote host closed the connection)
1232: [20:40:35] * Ryan-Toast has joined #silverstripe
1233: [20:44:28] * r_hector quit (Quit: Leaving.)
1234: [20:45:47] * nickmolhoek has joined #silverstripe
1235: [20:46:14] * r_hector has joined #silverstripe
1236: [20:51:39] * novaweb has joined #silverstripe
1237: [20:53:03] * zippy__ has joined #silverstripe
1238: [20:53:30] <zippy__> Mornings
1239: [20:53:58] <Ryan-Toast> merning
1240: [20:55:25] <camfindlay> hey
1241: [20:56:45] * willr has joined #silverstripe
1242: [20:57:33] <zippy__> o/
1243: [20:59:47] * Azure quit (Quit: Blue Sky Fish)
1244: [21:00:55] <Stomach> howdy
1245: [21:01:37] <willr> how is everyone
1246: [21:03:27] * Azure has joined #silverstripe
1247: [21:03:35] <Stomach> tired >_<
1248: [21:06:26] * shellbackpacific quit (Quit: Leaving.)
1249: [21:06:31] <Ryan-Toast> Sore. Decided it was a good idea to go for a run last night. Oh how wrong I was. Why does anyone do that?
1250: [21:06:49] <Ryan-Toast> Running is like the worst thing to ever happen to me.
1251: [21:08:10] * willmorgan quit (Ping timeout: 264 seconds)
1252: [21:08:57] <catcher> Ryan-Toast, I think most people go through that same process. So why did you decide it was a good idea?
1253: [21:09:43] * R\w\C quit (Quit: ^^ Watch this Space)
1254: [21:09:43] <Ryan-Toast> catcher: I started going to the gym again and I don’t want to be one of those guys who just pickes things up and puts them down without doing cardio.
1255: [21:09:50] <Ryan-Toast> picks**
1256: [21:10:03] <catcher> Ryan-Toast, sure you do.
1257: [21:10:40] <Ryan-Toast> Also isn’t the rule #1 for zombie apocolypse cardio?
1258: [21:10:52] <Ryan-Toast> double tap, check the back seat etc
1259: [21:13:29] * micmania1 has joined #silverstripe
1260: [21:16:32] * harv3st has joined #silverstripe
1261: [21:18:53] * novaweb quit (Quit: novaweb)
1262: [21:22:56] * tankr has joined #silverstripe
1263: [21:30:59] * an_Eskimo has joined #silverstripe
1264: [21:32:24] * novaweb has joined #silverstripe
1265: [21:35:28] * camfindlay quit (Quit: camfindlay)
1266: [21:39:49] * r_hector quit (Quit: Leaving.)
1267: [21:45:50] * shellbackpacific has joined #silverstripe
1268: [21:46:07] * shellbackpacific quit (Client Quit)
1269: [21:50:42] * catcher quit (Quit: Leaving)
1270: [21:50:51] * ARNHOE has joined #silverstripe
1271: [21:53:01] * shellbackpacific has joined #silverstripe
1272: [21:54:00] * scpi quit (Ping timeout: 255 seconds)
1273: [21:54:00] * shellbackpacific has left #silverstripe
1274: [21:55:25] * ARNHOE quit (Ping timeout: 272 seconds)
1275: [22:05:27] * muskie9 quit (Ping timeout: 244 seconds)
1276: [22:08:35] * marvanni has joined #silverstripe
1277: [22:09:42] * novaweb quit (Quit: novaweb)
1278: [22:10:12] * Marvanni2 quit (Ping timeout: 245 seconds)
1279: [22:23:51] * harv3st quit ()
1280: [22:26:37] * novaweb has joined #silverstripe
1281: [22:28:44] * Phlunk3 has joined #silverstripe
1282: [22:33:06] * muskie9 has joined #silverstripe
1283: [22:33:57] * ss23 beeps
1284: [22:37:51] * muskie9 quit (Ping timeout: 272 seconds)
1285: [22:41:37] * Ryan-Toast boops
1286: [22:46:03] * UncleCheese has joined #silverstripe
1287: [22:54:40] * zippy__ squeeks
1288: [22:55:40] * Stomach squaks
1289: [22:58:29] * muskie9 has joined #silverstripe
1290: [23:00:08] * muskie9 quit (Read error: Connection reset by peer)
1291: [23:00:14] * muskie9_ has joined #silverstripe
1292: [23:04:39] * muskie9_ quit (Ping timeout: 255 seconds)
1293: [23:08:19] * harv3st has joined #silverstripe
1294: [23:17:36] * cloph is now known as cloph_away
1295: [23:20:49] <simon_w|work> Colin[pi], so, Sydney meetup then?
1296: [23:29:41] * novaweb quit (Quit: novaweb)
1297: [23:36:43] <simon_w|work> Mmm, delicious cookies
1298: [23:50:00] * novaweb has joined #silverstripe
1299: [23:50:03] <zippy__> why, why footer will you not sit on the bottom properly!
1300: [23:50:15] <simon_w|work> Because CSS doesn't let you do that?
1301: [23:50:49] <zippy__> but I say… get DOWN!
1302: [23:51:18] <zippy__> why will the green not sit at the bottom! http://jsfiddle.net/69CDq/3/
1303: [23:53:32] * kerosene quit (Ping timeout: 245 seconds)
1304: [23:54:21] <simon_w|work> zippy__, absolute is based on when the screen loads
1305: [23:54:46] <simon_w|work> You could use fixed if you always want it to show and don't care about older browsers
1306: [23:55:07] <zippy__> don't want it to always show, just always be at the bototm if there is a single line of text
1307: [23:55:28] <simon_w|work> Fairly sure you'll need JS for that
1308: [23:55:55] <harv3st> You can set it to fixed
1309: [23:56:06] <harv3st> But it will ontop of other content
1310: [23:56:54] <harv3st> http://jsfiddle.net/69CDq/3/
1311: [23:57:57] <zippy__> sure i've done it before...
1312: [23:58:03] <zippy__> Ryan-Toast: nudge
1313: [23:58:09] <Ryan-Toast> hmm?
1314: [23:58:13] <zippy__> maybe I need another div to wrap the content
1315: [23:58:39] <harv3st> what're you trying to achieve? always at bottom of screen, or page?
1316: [23:58:54] <zippy__> bottom of the page
1317: [23:59:05] <zippy__> but if the page has 2 lines of text, it's at the bottom of the screen
1318: [23:59:20] <Ryan-Toast> zippy__: change it to padding
1319: [23:59:24] <harv3st> yep just wrap both bits, the body content and the footer. set the footer to position: relative
1320: [23:59:29] <Ryan-Toast> margin doesn’t add to the object
1321: [23:59:37] <Ryan-Toast> body padding, not margin

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