#silverstripe IRC Log

IRC log for 19 June 2013

All timestamps are in UTC.

1: [00:00:32] <Colin[pi]> argh my local mysql is throwing ALTER TABLE "tablename" RENAME "TableName" errors again
2: [00:00:42] <ss23> That sounds annoying!
3: [00:01:04] <Colin[pi]> what's more annoying is I have: lower_case_table_names=0 in my.ini
4: [00:01:14] <Colin[pi]> which fixed it on winblows, or so I thought
5: [00:02:11] <AlphaCactus> in 3.x is there a mass publish or publish all children or something?
6: [00:02:56] <AlphaCactus> oh there is. excellent
7: [00:03:45] <Colin[pi]> andddd now the error is gone, no changes on my part
8: [00:03:53] <Colin[pi]> I hate intermittent errors
9: [00:04:30] <supernovah> Probably error with something cached
10: [00:04:41] <supernovah> That hadn't been updated for a bit
11: [00:04:59] <Colin[pi]> well the lowercase thing on Windows is annoying but I thought the lower_case_table_names=0 setting fixed it :(
12: [00:11:22] <AlphaCactus> I could never get those table names to work like I want
13: [00:12:02] <Colin[pi]> it works about 80% of the time, 20% it complains on /dev/build
14: [00:12:11] <Colin[pi]> and then it seemingly fixes itself
15: [00:18:07] <Colin[pi]> what is so good about this burgerfuel place anyway?
16: [00:18:57] <supernovah> Delicious burgers
17: [00:19:38] * joelpittet has joined #silverstripe
18: [00:19:47] <Colin[pi]> ah we do have one in AU, in Sydney
19: [00:19:48] <Colin[pi]> hmm
20: [00:19:51] <supernovah> So in SS, if you access a page /urlsegment/action/id/otherid, this is only going to call the actions function for a submitted form?
21: [00:20:13] <supernovah> How do I make a page /urlsegment/action/id that is just a page which allows me to display something unique because of the url
22: [00:22:19] <Colin[pi]> supernovah: "action" maps to the method name, so make a new method and add it to $allowed_actions
23: [00:22:45] <supernovah> My desire is to skip the controllers template and have a new one too though
24: [00:24:09] * Nivery quit ()
25: [00:24:21] <Colin[pi]> return $this->renderWith('TemplateName')
26: [00:24:31] <Colin[pi]> is that what you're after?
27: [00:24:32] <supernovah> Yeah... I'll have a go
28: [00:24:42] <supernovah> No I know that, I'm just going to test some things out
29: [00:25:01] <Colin[pi]> or $this->customise(array('Var'=>$value))->renderWith('template');
30: [00:27:42] <AlphaCactus> Anyone run into a problem where the [sitetree_link,id=23] links get the comma turned into a %20 and then it doesn't work? SS3.0.5
31: [00:29:32] <AlphaCactus> Perhaps when one of those pages isn't published after it is linked to ?
32: [00:29:55] <Colin[pi]> so the comma is replaced with an encoded space?
33: [00:30:49] <AlphaCactus> yeah
34: [00:31:00] * zippy__ quit (Quit: zippy__)
35: [00:31:26] <Colin[pi]> hmm that's weird, haven't experienced it before :\
36: [00:32:43] <AlphaCactus> seems like it might have been caused by 1. Links are creted to published pages 2. pages pointed to get unpubsliedh. 3. Something happens (maybe they update the pages with those links which now point to invalid page. 4. I come along and find them messed up.
37: [00:32:55] <AlphaCactus> but I haven't tested this scenario yet. will shortly.
38: [00:33:48] <supernovah> Colin[pi], in the case I use renderwith, what filename structure do I use to find my template in themes/mysite/templates/layout/file.css?
39: [00:34:30] <Colin[pi]> you mean file.ss ?
40: [00:34:35] <supernovah> er yeah lol
41: [00:35:13] <Colin[pi]> just enter the template name without the extension, and SS will search known locations (in a certain order) until it finds it
42: [00:35:21] <Colin[pi]> so make sure the template name is unique
43: [00:35:27] <supernovah> Oh without extension
44: [00:36:05] <Colin[pi]> yes :)
45: [00:36:15] <Colin[pi]> and do a flush=all
46: [00:36:24] <supernovah> Lol I would have found that out if I'd gone to ssviewer in the api
47: [00:38:12] * spronk has joined #silverstripe
48: [00:39:24] * mattybalaam quit (Quit: mattybalaam)
49: [00:39:25] <AlphaCactus> well my test didn't reproduce the issue so I have no idea how that happened
50: [00:39:37] <Colin[pi]> yay development
51: [00:39:38] <Colin[pi]> :)
52: [00:39:49] <AlphaCactus> yay
53: [00:39:53] <Colin[pi]> keep hitting code with a hammer until it works
54: [00:40:14] <AlphaCactus> crew this code, I'm going home
55: [00:40:20] <AlphaCactus> *screw
56: [00:40:45] <mobiusnz> wha? ModelAsController:getNestedController() returned bad object type 'MyCustomPage'
57: [00:41:45] <mobiusnz> ah, nevermind. Had named controller wrong
58: [00:41:56] * atmos has joined #silverstripe
59: [00:42:26] * mattybalaam has joined #silverstripe
60: [00:44:04] * mattybalaam quit (Client Quit)
61: [00:55:53] <ss23> dammit, more old code that won't run on my box cause PHP is too ol
62: [00:56:00] <ss23> uh, code too old, PHP too new
63: [00:56:04] <ss23> Guess it's time to get that VM working properl
64: [00:56:04] <ss23> y
65: [00:59:02] <spronk> mm.
66: [01:00:05] * IainKay has left #silverstripe
67: [01:00:41] <Colin[pi]> great so if I change the htmlID of a form, it breaks validation
68: [01:00:56] <simon_w> Doing it wrong!
69: [01:01:09] <Colin[pi]> HELP ME SIMON_W YOU'RE MY ONLY HOPE
70: [01:01:21] <supernovah> In an if block in a template can you do if property1==value || property2==value2?
71: [01:01:22] <simon_w> Do it right!
72: [01:01:28] <simon_w> supernovah, yes
73: [01:01:29] <Colin[pi]> BUT HOW SIR
74: [01:01:42] <simon_w> Colin[pi], depends on how you're doing it wrong :p
75: [01:01:52] <Colin[pi]> ;C
76: [01:02:11] <simon_w> Colin[pi], how are you changing the form ID? And is it just your JS validation that's broken?
77: [01:02:31] <atmos> can anyone tell me how many .js files they have in their /mysite/javascript/lang directory?
78: [01:02:32] <supernovah> simon_w in 2.4 though?
79: [01:02:50] <Colin[pi]> $form->setHTMLID('SubscribeWidgetForm'.$this->ID); (more than one widget per page potentially)
80: [01:03:20] <Colin[pi]> form is a Form instance, not a subclass
81: [01:03:29] <Colin[pi]> custom validator passed in to constructor
82: [01:04:09] <Colin[pi]> validator has a php() function which checks if $data['Email'] exists in the db
83: [01:04:21] <Colin[pi]> and sets: $this->validationError('Email','A subscriber already exists with this email address.');
84: [01:04:31] <Colin[pi]> but only works if I don't change the form's ID
85: [01:08:46] <simon_w> supernovah, nope, can only do literals
86: [01:09:11] <supernovah> >_>
87: [01:09:27] <supernovah> Oh well just makes my template look a little silly
88: [01:10:03] <ss23> Dammit apache.
89: [01:10:12] <ss23> It's serving up the wrong content for this vhost and I dunno why! :<
90: [01:10:21] <Colin[pi]> what am I doing wrong simon_w?
91: [01:14:43] <EasyCo> What're you guys using to debug/step-through SS execution? I use VIM and mainly develop in JS, so I just use chrome dev. tools. But I'd really like to step-through SS to get a better idea of execution order. Any IDE suggestions that are quick to setup with XDebug?
92: [01:18:12] <Colin[pi]> simon_w: found it, $this->FormName() in Form->setupFormErrors() is returning "Form_Form"
93: [01:18:44] <Pyromanik> supernovah: yeh, should work in 2.4
94: [01:18:57] <Pyromanik> or not
95: [01:19:07] <Pyromanik> pretty sure requires are if-conditional
96: [01:19:21] <supernovah> I had <% if Action == add || Action == remove %> and it didn't respond to either, put in separate ifs it does
97: [01:19:42] <Pyromanik> oh, I don't know that you can do complicated ifs like that in 2.4
98: [01:19:55] <supernovah> Yeah I think you can't based on trying :D
99: [01:19:59] <Pyromanik> mmm
100: [01:20:09] <irogue> heh, it has begun
101: [01:20:12] <Pyromanik> ?
102: [01:20:15] <Pyromanik> storm?
103: [01:20:22] <irogue> Oracle have started de-GPLing MySQL
104: [01:20:28] <Pyromanik> lol
105: [01:20:36] <Pyromanik> how is it possible without violating the GPL?
106: [01:20:48] <Colin[pi]> because fuck you
107: [01:20:51] <Pyromanik> replacing all code with their own stuff?
108: [01:20:54] <Colin[pi]> but seriously yeah :\
109: [01:20:59] <Pyromanik> re-engineer MySQL
110: [01:21:02] <Pyromanik> make it worse
111: [01:21:06] * ss23 cries
112: [01:21:07] <Pyromanik> etc
113: [01:21:08] <irogue> Pyromanik: started with the manpages
114: [01:21:13] <ss23> simon_w: Can you help me with apache / macports / whatever?
115: [01:21:17] <irogue> manpages are all copyrighted and now allowed to distribute now
116: [01:21:20] <Pyromanik> irogue: but GPL specifically states that you cannot unGPL
117: [01:21:28] <simon_w> ss23, maybe?
118: [01:21:31] <Pyromanik> irogue: wtf. They're MAN pages.
119: [01:21:31] <irogue> yes you can, as long as you own the copyrights
120: [01:21:41] <Pyromanik> really?
121: [01:21:44] <irogue> yup
122: [01:21:49] <irogue> you can't retrospectively tho
123: [01:21:55] <Pyromanik> that sounds a bit bis.
124: [01:21:57] <Pyromanik> bs*
125: [01:21:58] <ss23> simon_w: sudo port load apache2 -- 'works' as in doesn't error, and start a process, but doesn't start any httpd listening
126: [01:22:00] <irogue> as in, MariaDB is fine cos they forked from a version that was GPL
127: [01:22:02] <Pyromanik> but hey
128: [01:22:09] <Pyromanik> now maybe peopel will finally start using postgres
129: [01:22:12] <ss23> simon_w: I assume I messed up a config so it just never starts, but this command doesn't tell me the error that apache is having. How to fix?
130: [01:22:18] <simon_w> ss23, do you have Apple's apache running?
131: [01:22:24] <irogue> Pyromanik: nah, just MariaDB. 100% compatible, seamless switch
132: [01:22:33] <Pyromanik> irogue: I know.
133: [01:22:34] <ss23> simon_w: No, it was working the other day just fine. It won't start since I edited a config file
134: [01:22:42] <Pyromanik> but... it's just MySQL
135: [01:22:46] <ss23> (Edited many config files I should say)
136: [01:23:08] <simon_w> /opt/local/bin/apachectl -t
137: [01:23:21] <irogue> Pyromanik: it's actually much better
138: [01:23:21] <Pyromanik> I need to semi greyscale images
139: [01:23:23] <Pyromanik> I think
140: [01:23:25] <irogue> XtraDB > InnoDB
141: [01:23:34] <Pyromanik> is that the same as desaturating?
142: [01:23:44] <ss23> simon_w: ty <3
143: [01:24:11] <Pyromanik> irogue: hmm
144: [01:24:21] <Pyromanik> I don't particularly understand how DB's are structured
145: [01:24:51] <Pyromanik> just know that pgsql is apaprently more datasecure than mysql
146: [01:25:03] <irogue> https://kb.askmonty.org/en/about-xtradb/
147: [01:25:03] <Pyromanik> corruption free, or whatever
148: [01:25:28] <Pyromanik> what about all the bad shit that MySQL did/does ?
149: [01:25:38] <Pyromanik> is that actually Engine or interface?
150: [01:26:18] <Pyromanik> eg, how extremely bad RAND() is
151: [01:28:08] <irogue> XtraDB is storage engine
152: [01:28:23] <irogue> stuff like RAND() is up to MySQL/MariaDB itself
153: [01:29:32] <Pyromanik> right
154: [01:29:38] <Pyromanik> so engines manage the actual store
155: [01:29:52] <Pyromanik> and interface app handles querying?
156: [01:30:01] <Pyromanik> yeah, nah, don't get it.
157: [01:30:42] <simon_w> Man, something funky's going on with Mavericks. Out of disk space.
158: [01:30:46] * simon_w reboots
159: [01:30:51] * simon_w quit (Quit: This computer has gone to sleep)
160: [01:30:51] <supernovah> This is going to be funny, I have to go to the CBD and hacksaw off my bike lock lol
161: [01:30:52] * Pyromanik reads http://en.wikipedia.org/wiki/Database_engine
162: [01:31:02] <Pyromanik> supernovah: because?
163: [01:31:03] * simon_w has joined #silverstripe
164: [01:31:07] <supernovah> I lost my key
165: [01:31:11] <Pyromanik> also, I say no one looks or cares
166: [01:31:23] <Pyromanik> bet you don't get questioned once.
167: [01:31:31] <supernovah> I've done it once before, had about 10 peoeple stop and ask
168: [01:31:39] <supernovah> About a year ago when I lost my last key
169: [01:31:55] <supernovah> One even took a photo lol
170: [01:31:57] <ss23> my httpd took ~2 mins to generate phpinfo()
171: [01:31:57] * simon_w quit (Client Quit)
172: [01:32:17] <irogue> Pyromanik: yup. engine manages the storing and retrieving of data. MySQL etc. "translate" between SQL queries they're handed and the engine.
173: [01:32:33] <mobiusnz> how do I <% require %> google maps api?
174: [01:32:58] <mobiusnz> or make sure that my <% require javascript %> is inserted after the call to google maps api?
175: [01:33:37] <ss23> and my changes in php.ini aren't loading
176: [01:33:38] <ss23> :<
177: [01:33:42] <Colin[pi]> fixed simon_w! I needed to extend Form and set the HTMLID in the constructor
178: [01:33:53] <supernovah> simon_w is rebooting colin
179: [01:34:10] <Colin[pi]> LOL
180: [01:34:38] <Colin[pi]> instantly thought of this supernovah: http://www.youtube.com/watch?v=ms0CwcJlY5U
181: [01:35:36] <irogue> apparently MariaDB have fixed the performance of joins and subqueries
182: [01:35:38] <irogue> hallelujah
183: [01:38:28] <supernovah> ^_^
184: [01:38:38] <supernovah> Time to study
185: [01:38:50] <irogue> Pyromanik: https://kb.askmonty.org/en/mariadb-vs-mysql-features/
186: [01:40:00] * priithansen quit (Quit: priithansen)
187: [01:40:55] <mobiusnz> ARGH
188: [01:41:12] <mobiusnz> template: y u insert required js before external js?
189: [01:41:19] <Pyromanik> irogue: who is monty and why am I asking him questions?
190: [01:42:38] <Pyromanik> umm
191: [01:42:48] <Pyromanik> whaaaaat no-sql engines being added to mariadb
192: [01:42:51] <Pyromanik> HOW DOES IT WORK!?
193: [01:43:08] <irogue> Pyromanik: Monty was the original creator of MySQL
194: [01:43:09] <Pyromanik> nosql backend on an sql frontend WHAT, HEAD ASPLODE
195: [01:43:11] <irogue> before selling it to Sun
196: [01:43:13] <irogue> then regretting it
197: [01:43:20] <irogue> and now forking it back and calling it MariaDB
198: [01:43:24] <Pyromanik> forked it back right yeah
199: [01:43:25] <Pyromanik> cool
200: [01:43:52] * supernovah quit (Ping timeout: 276 seconds)
201: [01:43:52] <Pyromanik> why is innodb missing from that list of standard and supported enignes?
202: [01:45:06] <ajmitch_> because it says that xtradb is its replacement?
203: [01:46:16] <ss23> Fatal error: Allowed memory size of 2147483648 bytes exhausted (tried to allocate 523800 bytes)
204: [01:46:24] <ss23> Not sure if biggest Silverstripe site I have ever seen...
205: [01:46:25] <ss23> Or bug.
206: [01:46:26] <Pyromanik> yeah but
207: [01:46:27] <mobiusnz> anyone here good with SS3's new orm query syntax?
208: [01:46:37] <Pyromanik> what's up mobiusnz ?
209: [01:46:38] <mobiusnz> need to translate a sql query into ss
210: [01:46:44] <ajmitch_> ss23: obviously need more RAM
211: [01:46:44] <ss23> 2gb seems exessive, I think this must be a bug/issue.
212: [01:46:52] <Pyromanik> mobiusnz: you know the drill
213: [01:46:52] <ss23> lol
214: [01:46:53] <ss23> XD
215: [01:46:58] <Pyromanik> questions, not question questions
216: [01:47:14] <Pyromanik> in IRC encapsulation is bad!
217: [01:47:35] <spronk> xzibit
218: [01:47:44] <spronk> what's mariadb like on windaws
219: [01:47:58] <spronk> also, askmonty.org down for anyone else or just me?
220: [01:48:17] <ajmitch_> wfm
221: [01:49:14] <Pyromanik> spronk: you
222: [01:49:18] <Pyromanik> http://db-engines.com/en/ranking pretty boss
223: [01:49:45] <spronk> fuck you @vodafonenz
224: [01:49:49] <mobiusnz> Pyromanik: How would you go about querying this: http://localhost/phpmyadmin/url.php?url=http%3A%2F%2Fdev.mysql.com%2Fdoc%2Frefman%2F5.5%2Fen%2Fselect.html&token=13f028a93e05d42372f057eb729183f7 * , ( 6371 * ACOS( COS( RADIANS( - 36.863 ) ) * COS( RADIANS( Latitude ) ) * COS( RADIANS( Longitude ) - RADIANS( 174.865 ) ) + SIN(RADIANS( - 36.863 ) ) * SIN( RADIANS( Latitude ) ) ) ) AS distance
225: [01:49:49] <mobiusnz> FROM RestHome
226: [01:49:50] <mobiusnz> HAVING distance <25
227: [01:49:50] <mobiusnz> ORDER BY distance
228: [01:49:50] <mobiusnz> LIMIT 0 , 20
229: [01:49:57] <mobiusnz> gah
230: [01:50:01] <mobiusnz> that didn't paste well
231: [01:50:17] <mobiusnz> http://pastie.org/8057616
232: [01:50:20] <Pyromanik> RADIANS AND COSINE AND SINE AND RADIANS AND ALL THE THINGS
233: [01:50:25] <spronk> srs, how does oracle remain popular
234: [01:50:27] <spronk> it's godawfully shit
235: [01:50:33] <Pyromanik> spronk: enterprise
236: [01:50:36] <Pyromanik> no other reason
237: [01:50:39] <mobiusnz> Pyromanik: yeah, magical query to find close things
238: [01:50:40] <Pyromanik> entrenched enterprise.
239: [01:50:56] <Pyromanik> mobiusnz: well
240: [01:50:59] <Pyromanik> DB::query
241: [01:51:01] <spronk> mobiusnz: just use a custom query
242: [01:51:08] <spronk> no point trying to orm that
243: [01:51:12] <mobiusnz> :(
244: [01:51:13] <mobiusnz> ok
245: [01:51:15] <Pyromanik> and put that verbatim
246: [01:51:26] <Pyromanik> because no ORM for RAD and COS and SIN
247: [01:52:10] <mobiusnz> how do I get dataobjects from a custom query? Do I have to first query for IDs then query for DO's?
248: [01:53:22] <spronk> anyone here on vodafone dsl?
249: [01:54:05] <Pyromanik> mobiusnz: DB::Query will give you an SQLQuery I believe
250: [01:54:28] <Pyromanik> which can be given to something else which can be given to something else which makes DataObjects
251: [01:54:50] <mobiusnz> I thought DB::query just did things
252: [01:54:52] <Pyromanik> DataObjectSet used to do it, but now DataList is coupled to a query you might have to use something else.
253: [01:55:00] <Pyromanik> mobiusnz: kinda yes and now.
254: [01:55:01] <mobiusnz> like DB::query('TRUNCATE foo')
255: [01:55:02] <Pyromanik> no*
256: [01:55:06] <Pyromanik> yes
257: [01:55:10] <Pyromanik> but it returns stuff.
258: [01:55:43] <Pyromanik> SS_Query in fact
259: [01:55:47] <Colin[pi]> mobiusnz last time I did it, it was something like: $result = singleton('DataObjectName')->buildDataObjectSet($query->execute())
260: [01:55:59] <Pyromanik> Colin[pi]: yeah, but that's 2.4
261: [01:56:13] <Colin[pi]> aye, soz
262: [01:56:15] <Pyromanik> and using an SQLQuery, not DB::Query
263: [01:57:15] <irogue> [13:43] <Pyromanik> why is innodb missing from that list of standard and supported enignes?
264: [01:57:20] <irogue> Inno has never been opensource
265: [01:57:25] <Pyromanik> oic
266: [01:57:32] <irogue> is Oracle proprietary
267: [01:57:39] <Pyromanik> xtradb is rev.engineerd open?
268: [01:59:19] <spronk> man
269: [01:59:20] <spronk> oracle are idiots
270: [01:59:31] <irogue> Pyromanik: some weird pre-Oracle licensing shiz
271: [01:59:43] <Colin[pi]> I think a more accurate description is "oracle are arseholes"
272: [02:00:01] <Pyromanik> all of the above?
273: [02:00:08] <Colin[pi]> that too
274: [02:00:09] <spronk> ugh. vodafone dsl has been utterly useless since they bought telstraclear
275: [02:00:22] <irogue> Percona (who make XtraDB) bought some very special license for Inno back before Oracle bought it
276: [02:00:35] <irogue> so they had access to the code up to that point
277: [02:01:10] <irogue> Inno was made by a completely seperate company, not MySQL/Sun, but Oracle bought that company as well as MySQL/Sun
278: [02:01:55] <Pyromanik> oic
279: [02:01:58] <Pyromanik> recently?
280: [02:02:14] <irogue> nah, way back in 2005
281: [02:02:28] <Pyromanik> that's recentlyish
282: [02:02:35] <Pyromanik> when did they buy MySQL?
283: [02:03:19] <Pyromanik> mobiusnz: you can iterate an SS_Query and turn it into an ArrayList
284: [02:03:21] <irogue> oracle bought Sun in 2010
285: [02:03:26] <Pyromanik> ah
286: [02:03:34] <Pyromanik> so a little older
287: [02:03:49] <irogue> Sun bought MySQL in 2008
288: [02:04:12] <Colin[pi]> http://www.computing.co.uk/ctg/news/2271011/mysql-creator-monty-widenius-wants-it-to-disappear-from-the-earth
289: [02:04:48] <Colin[pi]> "I never thought that MySQL would be bought by a buyer that potentially wouldn't care about MySQL and would benefit by killing MySQL rather than keeping it alive" - really?
290: [02:05:20] <Colin[pi]> it's a company that had a very expensive commercial db and they bought a free alternative, and he didn't think that?
291: [02:05:43] <irogue> he never sold it to Oracle
292: [02:05:58] <irogue> read the next line :P
293: [02:06:01] <Pyromanik> he sold it to sun, who were good guys
294: [02:06:03] <irogue> "Indeed, Widenius had specifically stipulated when the company was sold to Sun that MySQL should never fall into the hands of Oracle."
295: [02:06:19] <Colin[pi]> ah that explains it lol
296: [02:06:42] <irogue> was in the contract that Sun couldn't sell MySQL to Oracle... but Oracle just bought the entirety of Sun instead
297: [02:07:15] <Colin[pi]> I get the distinct impression that larry ellison is quite the 'character'
298: [02:07:31] <Colin[pi]> read into that what you will :)
299: [02:07:37] <spronk> wow
300: [02:07:42] <spronk> larry is a fucking playboy
301: [02:09:13] <irogue> http://blog.wikimedia.org/2013/04/22/wikipedia-adopts-mariadb/
302: [02:10:39] <Colin[pi]> cool :)
303: [02:11:23] <irogue> Facebook have been running their own MySQL fork for a long time cos of Oracle's neglect and refusal to accept outside patches, and a ton of other folks used the Facebook fork
304: [02:12:30] <ss23> the Facebook MySQL devs are lols
305: [02:12:39] <ss23> Spend all their time finding parts of MySQL that are shit
306: [02:12:45] <ss23> submit a bug report -- "this is shit, make it not shit"
307: [02:12:46] <ss23> XD
308: [02:12:50] <irogue> yup, lol
309: [02:13:10] * zippy__ has joined #silverstripe
310: [02:14:38] <irogue> those guys are pro at pushing mysql to its limits
311: [02:20:01] <mobiusnz> woo!
312: [02:20:03] <mobiusnz> http://www.sspaste.com/paste/show/51c1150185982
313: [02:20:09] <mobiusnz> gives me dataobjects to play with
314: [02:20:10] <ss23> http://www.youtube.com/watch?v=9D-QD_HIfjA mysql @ facebook
315: [02:21:47] <spronk> lool
316: [02:25:16] <Pyromanik> omg omg wtf
317: [02:25:24] * MrJeremy has joined #silverstripe
318: [02:25:30] <Pyromanik> GD::greyscale is pixel by pixel
319: [02:25:32] <Pyromanik> WTF
320: [02:25:48] <ss23> what
321: [02:25:49] <ss23> dat mean
322: [02:25:49] <ss23> ?
323: [02:28:45] <Pyromanik> it means for($width = 0; $width < $this->width; $width++) for($height = 0; $height < $this->height; $height++) { $pxColour = getThisPixelsColour(); $amountOfGrey = calculateAColourPercentage($pxColour); makeThisPixelGrey($amountOfGrey); }
324: [02:29:04] <Pyromanik> then on to the next pixel
325: [02:29:08] <Pyromanik> and the next one
326: [02:29:14] <Pyromanik> for 1920x1280
327: [02:29:18] <Pyromanik> GG
328: [02:29:47] * dospuntocero has joined #silverstripe
329: [02:30:24] <mobiusnz> that's pretty much what your monitor does
330: [02:30:24] <Pyromanik> instead of: imagefilter($newimg, IMG_FILTER_GREYSCALE);
331: [02:30:30] * MrJeremy quit (Ping timeout: 268 seconds)
332: [02:30:38] <Pyromanik> mobiusnz: yes, but my monitor doesn't read high level scripting languages
333: [02:31:34] * MrJeremy has joined #silverstripe
334: [02:32:06] <Pyromanik> the best part is that GD::greyscale() takes three values.
335: [02:32:43] <Pyromanik> of which do not seem to affect a thing, and have no docs, comments, or any indication of what the hell they do.
336: [02:32:48] <Pyromanik> yaaaay magic numbers
337: [02:33:49] <mobiusnz> hah
338: [02:35:25] <mobiusnz> I'd imagine they do the same thing as imagefilter($image, IMG_FILTER_GRAYSCALE, $red, $green, $blue)
339: [02:36:06] <mobiusnz> that should be an easy patch to submit
340: [02:37:52] <ss23> Pyromanik: Check the source?
341: [02:39:44] <mobiusnz> is it possible to create a map of a datalist with several fields?
342: [02:40:08] <ss23> I feel like my normal technique of chmod 777 will annoy people on this shared dev server.
343: [02:40:11] <Bollig|DesignCty> yeah, I've had some fun manipulating images with GD in SS… anyone want to create a module to replace GD with ImageMagik?
344: [02:46:55] * MrJeremy quit (Ping timeout: 276 seconds)
345: [02:47:32] * MrJeremy has joined #silverstripe
346: [02:54:25] * simon_w has joined #silverstripe
347: [02:55:03] * simon_w quit (Client Quit)
348: [02:59:08] * simon_w has joined #silverstripe
349: [03:08:36] * mobiusnz quit (Quit: Leaving.)
350: [03:09:44] <simon_w> spronk, just <% require javascript('http://what-ever.com/blah.js') %>
351: [03:10:47] <simon_w> Bollig|DesignCty, that's in 3.1 at least, maybe even 3.0
352: [03:11:10] <Bollig|DesignCty> simon_w: what is, imagemagik?
353: [03:11:14] <simon_w> yes
354: [03:11:20] <Bollig|DesignCty> HOT DAMN!
355: [03:11:57] <Bollig|DesignCty> Image quality is 100% better with Image Magic. GD creates shitty quality images for file size.
356: [03:18:18] <irogue> yup
357: [03:18:54] <irogue> abstraction for Image class was put in 3.1 i believe, so that Imagick could be used instead of GD where the server has it
358: [03:19:59] * Jayden909090 has joined #silverstripe
359: [03:21:17] <Jayden909090> These docs seem to be incorrect: http://doc.silverstripe.org/framework/en/reference/typography#removing-the-typography-class
360: [03:21:41] <Jayden909090> no such thing as setCSSClass()
361: [03:24:42] <Bollig|DesignCty> irogue: does that mean someone can now write a module to use imagemagik, or that SS can be simply set to use either now?
362: [03:25:21] <Pyromanik> http://support.247hosting.co.nz/knowledgebase.php?action=displayarticle&id=4431
363: [03:25:25] <Pyromanik> MY HEAD IS FULL OF WHAT
364: [03:25:53] <irogue> Bollig|DesignCty: both
365: [03:25:57] <Pyromanik> Jayden909090: it's probably legacy code from 2.4 that hasn't been updated since the docs before the docs were
366: [03:26:17] <irogue> there's an Imagick class that's been made, making use of the abstraction layer allowing the use of any image libarary
367: [03:26:28] <Bollig|DesignCty> awesome.
368: [03:26:31] <irogue> https://github.com/silverstripe/silverstripe-framework/blob/3.1/filesystem/ImagickBackend.php
369: [03:26:33] <Bollig|DesignCty> thanks irogue :)
370: [03:26:33] <Pyromanik> anyways, UDAI/EPP codes are SUPPOSED to be emailed to the registrant/administrator
371: [03:26:58] <Pyromanik> Bollig|DesignCty: 3.1
372: [03:26:59] <Pyromanik> only
373: [03:27:35] * wmk has joined #silverstripe
374: [03:27:36] <Pyromanik> 14:37 < ss23> Pyromanik: Check the source? - that IS the source.
375: [03:27:37] <irogue> Pyromanik: that guy's a bit... dodge
376: [03:27:43] <Pyromanik> irogue: yeah right?
377: [03:27:45] <Bollig|DesignCty> Jayden909090: given it says it will be available in version 2.0.2, I'd say that's REALLY legacy lol
378: [03:27:59] <Pyromanik> rofl 2.0
379: [03:28:27] <irogue> Pyromanik: heard bad things about them, thought i'd try a VPS out anyway since so cheap
380: [03:28:31] <irogue> omg such bad performance
381: [03:28:32] <Pyromanik> irogue: so we go into the cp, follow the instructions, get an INVALID EPP code
382: [03:28:56] <Pyromanik> irogue: yeah, slow repsonse times too (to support)
383: [03:29:00] <irogue> downloading like 500KBps from within NZ
384: [03:29:07] <Pyromanik> lol
385: [03:29:16] <Pyromanik> Trying to transfer a .com away
386: [03:29:25] <irogue> tried to clone SS at the hackfest on that VPS
387: [03:29:32] <irogue> kept timing out
388: [03:29:38] <Pyromanik> EPP is not correct, choosing to 'Get EPP' via control panel just always returns the same one
389: [03:29:49] <Pyromanik> haha bad
390: [03:29:54] <Pyromanik> irogue: ISGL tbh
391: [03:29:57] <Pyromanik> $1 per day
392: [03:30:00] <ss23> I changed from 5.4 to 5.3 and now this site uses 2gb of ram
393: [03:30:00] <ss23> :<
394: [03:30:03] <Pyromanik> cloud server
395: [03:30:04] <ss23> and dies from using too much.
396: [03:30:13] <irogue> Pyromanik: AWS free tier ^_^
397: [03:30:24] <Pyromanik> hawt, did not know exist.
398: [03:30:28] <Pyromanik> is nz based?
399: [03:30:32] <irogue> nah, sydney
400: [03:30:37] <Pyromanik> :< aussie law
401: [03:30:46] <Pyromanik> american company
402: [03:30:49] <Pyromanik> naw.
403: [03:30:51] <irogue> lol
404: [03:30:52] <ss23> Do you guys know what would cause that? Silverstripe to nom 2gb of ram on framework/core/Config.php on line 569
405: [03:30:56] <Pyromanik> although... free server...
406: [03:31:00] <irogue> you think NZ is really any better these days, Pyromanik? :-P
407: [03:31:08] <Pyromanik> irogue: well...
408: [03:31:10] <Pyromanik> yes.
409: [03:31:17] <ss23> Line is config::get or something
410: [03:31:31] <irogue> Pyromanik: read the new interception law? :P
411: [03:31:31] <Pyromanik> the yanks might stick the fingers in, but we told them to F-off in the end.
412: [03:31:37] <Pyromanik> nup
413: [03:31:45] <irogue> GCSB can intercept ALL OF THE THINGS
414: [03:31:47] <irogue> including NZ citizens
415: [03:31:54] <Pyromanik> don't care, I use the net on the basis that all shit is intercepted anyway
416: [03:31:57] <Pyromanik> which it is.
417: [03:32:03] <ss23> simon_w ;__;
418: [03:32:10] <irogue> now legally has more power to intercept own people than the NSA does
419: [03:32:17] <Pyromanik> lol
420: [03:32:25] <irogue> ty uncle john
421: [03:32:35] <simon_w> ss23, infinite recursion?
422: [03:33:12] <ss23> Not sure, but a /dev/build fixed it :/
423: [03:33:29] <ss23> I would guess infinite recursion, but I don't know internals enough to know why a /dev/build would fix or why it would be a problem in teh first place
424: [03:33:32] <ss23> >.<
425: [03:35:20] * dospuntocero quit (Remote host closed the connection)
426: [03:35:22] <EasyCo> SS + phpstorm + xdebug = :)
427: [03:36:00] * dospuntocero has joined #silverstripe
428: [03:36:10] <zippy__> = :D
429: [03:38:37] <simon_w> Eh, just lldb it :p
430: [03:39:41] * dospunto_ has joined #silverstripe
431: [03:39:47] * dospuntocero quit (Read error: Connection reset by peer)
432: [03:50:57] * EasyCo quit (*.net *.split)
433: [03:50:57] * Guest90550 quit (*.net *.split)
434: [03:50:57] * Shrike_Finland quit (*.net *.split)
435: [03:50:57] * Kolin quit (*.net *.split)
436: [03:50:58] * dospunto_ quit (*.net *.split)
437: [03:50:58] * cloph_away quit (*.net *.split)
438: [03:50:58] * beko quit (*.net *.split)
439: [03:50:58] * AlphaCactus quit (*.net *.split)
440: [03:50:59] * wmk quit (*.net *.split)
441: [03:50:59] * zippy__ quit (*.net *.split)
442: [03:50:59] * DigNZ quit (*.net *.split)
443: [03:50:59] * simon_w|air quit (*.net *.split)
444: [03:51:00] * nepgear quit (*.net *.split)
445: [03:51:00] * Motoservo quit (*.net *.split)
446: [03:51:01] * discorpi1 quit (*.net *.split)
447: [03:51:01] * pippy quit (*.net *.split)
448: [03:51:01] * onre quit (*.net *.split)
449: [03:51:02] * Colin[pi] quit (*.net *.split)
450: [03:51:02] * trent001 quit (*.net *.split)
451: [03:51:03] * guzz_afk quit (*.net *.split)
452: [03:51:04] * robert_ quit (*.net *.split)
453: [03:51:05] * FrozenFire quit (*.net *.split)
454: [03:51:05] * abitran quit (*.net *.split)
455: [03:51:06] * MrJeremy quit (*.net *.split)
456: [03:51:06] * spronk quit (*.net *.split)
457: [03:51:06] * willr_ quit (*.net *.split)
458: [03:51:07] * Bollig|DesignCty quit (*.net *.split)
459: [03:51:07] * Zauberfisch^idle quit (*.net *.split)
460: [03:51:08] * Kapdap quit (*.net *.split)
461: [03:51:08] * nickmolhoek quit (*.net *.split)
462: [03:51:08] * Pyromanik quit (*.net *.split)
463: [03:51:09] * unsignedint quit (*.net *.split)
464: [03:51:09] * jrthomer quit (*.net *.split)
465: [03:51:09] * lewellyn quit (*.net *.split)
466: [03:51:10] * ec8or_ quit (*.net *.split)
467: [03:51:10] * ajmitch_ quit (*.net *.split)
468: [03:51:10] * ooystein_ quit (*.net *.split)
469: [03:51:10] * Jayden909090 quit (*.net *.split)
470: [03:51:10] * atmos quit (*.net *.split)
471: [03:51:10] * funkygibbon quit (*.net *.split)
472: [03:51:11] * ss-log quit (*.net *.split)
473: [03:51:11] * simon_w quit (*.net *.split)
474: [03:51:12] * kerosene quit (*.net *.split)
475: [03:51:13] * mrzero quit (*.net *.split)
476: [03:51:14] * lenix quit (*.net *.split)
477: [03:53:43] * peter_w has joined #silverstripe
478: [03:53:43] * dospunto_ has joined #silverstripe
479: [03:53:43] * wmk has joined #silverstripe
480: [03:53:43] * Jayden909090 has joined #silverstripe
481: [03:53:43] * simon_w has joined #silverstripe
482: [03:53:43] * MrJeremy has joined #silverstripe
483: [03:53:43] * zippy__ has joined #silverstripe
484: [03:53:43] * atmos has joined #silverstripe
485: [03:53:43] * spronk has joined #silverstripe
486: [03:53:43] * funkygibbon has joined #silverstripe
487: [03:53:43] * Colin[pi] has joined #silverstripe
488: [03:53:43] * EasyCo has joined #silverstripe
489: [03:53:43] * trent001 has joined #silverstripe
490: [03:53:43] * willr_ has joined #silverstripe
491: [03:53:43] * Guest90550 has joined #silverstripe
492: [03:53:43] * Pyromanik has joined #silverstripe
493: [03:53:43] * DigNZ has joined #silverstripe
494: [03:53:43] * lewellyn has joined #silverstripe
495: [03:53:43] * Shrike_Finland has joined #silverstripe
496: [03:53:43] * guzzlefry has joined #silverstripe
497: [03:53:43] * beko has joined #silverstripe
498: [03:53:43] * kerosene has joined #silverstripe
499: [03:53:43] * Bollig|DesignCty has joined #silverstripe
500: [03:53:43] * cloph_away has joined #silverstripe
501: [03:53:43] * Kolin has joined #silverstripe
502: [03:53:43] * AlphaCactus has joined #silverstripe
503: [03:53:43] * simon_w|air has joined #silverstripe
504: [03:53:43] * unsignedint has joined #silverstripe
505: [03:53:43] * robert_ has joined #silverstripe
506: [03:53:43] * jrthomer has joined #silverstripe
507: [03:53:43] * nepgear has joined #silverstripe
508: [03:53:43] * Zauberfisch^idle has joined #silverstripe
509: [03:53:43] * mrzero has joined #silverstripe
510: [03:53:43] * ec8or_ has joined #silverstripe
511: [03:53:43] * abitran has joined #silverstripe
512: [03:53:43] * ss-log has joined #silverstripe
513: [03:53:43] * lenix has joined #silverstripe
514: [03:53:43] * Kapdap has joined #silverstripe
515: [03:53:43] * FrozenFire has joined #silverstripe
516: [03:53:43] * ajmitch_ has joined #silverstripe
517: [03:53:43] * ooystein_ has joined #silverstripe
518: [03:53:46] <simon_w> PHP doesn't have any sort of inbuilt caching
519: [03:53:46] * nickmolhoek has joined #silverstripe
520: [03:53:46] * nickmolhoek quit (Remote host closed the connection)
521: [03:53:46] <Bollig|DesignCty> is that a 2.x or 3.x thing?
522: [03:53:46] <Bollig|DesignCty> because that's awesome.
523: [03:53:46] * nickmolhoek has joined #silverstripe
524: [03:54:03] <simon_w> I think it was in 2.x as well (I've got the 3.x ViewableData, so can
525: [03:54:06] <simon_w> 't check)
526: [03:54:21] * Motoservo has joined #silverstripe
527: [03:54:21] * discorpi1 has joined #silverstripe
528: [03:54:21] * pippy has joined #silverstripe
529: [03:54:21] * onre has joined #silverstripe
530: [03:54:37] * Motoservo quit (*.net *.split)
531: [03:54:38] * discorpi1 quit (*.net *.split)
532: [03:54:38] * pippy quit (*.net *.split)
533: [03:54:38] * onre quit (*.net *.split)
534: [03:54:40] * EasyCo quit (*.net *.split)
535: [03:54:40] * Guest90550 quit (*.net *.split)
536: [03:54:41] * Shrike_Finland quit (*.net *.split)
537: [03:54:41] * Kolin quit (*.net *.split)
538: [03:54:42] * dospunto_ quit (*.net *.split)
539: [03:54:43] * cloph_away quit (*.net *.split)
540: [03:54:43] * beko quit (*.net *.split)
541: [03:54:43] * AlphaCactus quit (*.net *.split)
542: [03:54:45] * wmk quit (*.net *.split)
543: [03:54:45] * zippy__ quit (*.net *.split)
544: [03:54:45] * DigNZ quit (*.net *.split)
545: [03:54:47] * simon_w|air quit (*.net *.split)
546: [03:54:47] * nepgear quit (*.net *.split)
547: [03:54:51] * Colin[pi] quit (*.net *.split)
548: [03:54:51] * trent001 quit (*.net *.split)
549: [03:54:55] * guzzlefry quit (*.net *.split)
550: [03:54:59] * robert_ quit (*.net *.split)
551: [03:55:00] * FrozenFire quit (*.net *.split)
552: [03:55:01] * abitran quit (*.net *.split)
553: [03:55:01] * MrJeremy quit (*.net *.split)
554: [03:55:02] * spronk quit (*.net *.split)
555: [03:55:02] * willr_ quit (*.net *.split)
556: [03:55:04] * Bollig|DesignCty quit (*.net *.split)
557: [03:55:06] * Zauberfisch^idle quit (*.net *.split)
558: [03:55:06] * Kapdap quit (*.net *.split)
559: [03:55:07] * nickmolhoek quit (*.net *.split)
560: [03:55:08] * Pyromanik quit (*.net *.split)
561: [03:55:09] * unsignedint quit (*.net *.split)
562: [03:55:09] * jrthomer quit (*.net *.split)
563: [03:55:11] * lewellyn quit (*.net *.split)
564: [03:55:12] * ec8or_ quit (*.net *.split)
565: [03:55:13] * ajmitch_ quit (*.net *.split)
566: [03:55:13] * ooystein_ quit (*.net *.split)
567: [03:55:13] * peter_w quit (*.net *.split)
568: [03:55:14] * Jayden909090 quit (*.net *.split)
569: [03:55:14] * atmos quit (*.net *.split)
570: [03:55:14] * funkygibbon quit (*.net *.split)
571: [03:55:16] * ss-log quit (*.net *.split)
572: [03:55:16] * simon_w quit (*.net *.split)
573: [03:55:19] * kerosene quit (*.net *.split)
574: [03:55:20] * mrzero quit (*.net *.split)
575: [03:55:23] * lenix quit (*.net *.split)
576: [03:56:45] * onre has joined #silverstripe
577: [03:56:45] * pippy has joined #silverstripe
578: [03:56:45] * discorpi1 has joined #silverstripe
579: [03:56:45] * Motoservo has joined #silverstripe
580: [03:56:45] * nickmolhoek has joined #silverstripe
581: [03:56:45] * peter_w has joined #silverstripe
582: [03:56:45] * dospunto_ has joined #silverstripe
583: [03:56:45] * wmk has joined #silverstripe
584: [03:56:45] * Jayden909090 has joined #silverstripe
585: [03:56:45] * simon_w has joined #silverstripe
586: [03:56:45] * MrJeremy has joined #silverstripe
587: [03:56:45] * zippy__ has joined #silverstripe
588: [03:56:45] * atmos has joined #silverstripe
589: [03:56:45] * spronk has joined #silverstripe
590: [03:56:45] * funkygibbon has joined #silverstripe
591: [03:56:45] * Colin[pi] has joined #silverstripe
592: [03:56:45] * EasyCo has joined #silverstripe
593: [03:56:45] * trent001 has joined #silverstripe
594: [03:56:45] * willr_ has joined #silverstripe
595: [03:56:45] * Guest90550 has joined #silverstripe
596: [03:56:45] * Pyromanik has joined #silverstripe
597: [03:56:45] * DigNZ has joined #silverstripe
598: [03:56:45] * lewellyn has joined #silverstripe
599: [03:56:45] * Shrike_Finland has joined #silverstripe
600: [03:56:45] * guzzlefry has joined #silverstripe
601: [03:56:45] * beko has joined #silverstripe
602: [03:56:45] * kerosene has joined #silverstripe
603: [03:56:45] * Bollig|DesignCty has joined #silverstripe
604: [03:56:45] * cloph_away has joined #silverstripe
605: [03:56:45] * Kolin has joined #silverstripe
606: [03:56:45] * AlphaCactus has joined #silverstripe
607: [03:56:45] * simon_w|air has joined #silverstripe
608: [03:56:45] * unsignedint has joined #silverstripe
609: [03:56:45] * robert_ has joined #silverstripe
610: [03:56:45] * jrthomer has joined #silverstripe
611: [03:56:45] * nepgear has joined #silverstripe
612: [03:56:45] * Zauberfisch^idle has joined #silverstripe
613: [03:56:45] * mrzero has joined #silverstripe
614: [03:56:45] * ec8or_ has joined #silverstripe
615: [03:56:45] * abitran has joined #silverstripe
616: [03:56:45] * ss-log has joined #silverstripe
617: [03:56:46] * lenix has joined #silverstripe
618: [03:56:46] * Kapdap has joined #silverstripe
619: [03:56:46] * FrozenFire has joined #silverstripe
620: [03:56:46] * ajmitch_ has joined #silverstripe
621: [03:56:46] * ooystein_ has joined #silverstripe
622: [03:56:47] * cloph has joined #silverstripe
623: [03:57:36] <Jayden909090> Pyromanik: Sorry, back from lunch. I assumed setCSSClass() never made it in. What are we supposed to use to get a custom class on a particular HTML HtmlEditorField for "Typography" purposes?
624: [03:58:03] * cloph_away quit (Ping timeout: 252 seconds)
625: [03:58:35] <Pyromanik> Jayden909090: typography.
626: [03:58:40] <ss23> someone is breaking the freenode
627: [04:00:09] <Jayden909090> Pyromanik: Not following, how do you mean?
628: [04:00:11] <Pyromanik> Jayden909090: editor.css gets pulled into the editor.
629: [04:00:24] <Pyromanik> you can use that to style something specifically in the editor
630: [04:00:37] <Pyromanik> like the background colour, etc.
631: [04:01:10] <Pyromanik> the normal editor.css looks like this: @import "typography.css";
632: [04:01:27] <Pyromanik> which is how it wysiwyg's.
633: [04:01:36] <Pyromanik> in regards to h1 size, etc.
634: [04:01:52] <Jayden909090> I have that working in a single instance, I need to use the same editor setup for multiple sections of the site to be styled according to each section type.
635: [04:03:08] <Pyromanik> Jayden909090: you might like to look at HTMLEditorConfig
636: [04:03:28] <Pyromanik> http://api.silverstripe.org/3.0/class-HtmlEditorConfig.html
637: [04:03:30] * atmos quit (Quit: Page closed)
638: [04:03:37] <Jayden909090> I have 2 HTML editor setups, Administrators currently receive the full default and Content Authors receive a "Restricted" version. This is set up in _Config.php
639: [04:04:50] <ss23> is it possible for a child page to be published, but it's parent page be unpublished? Or would it set all the children to Draft if you unpublish the parent?
640: [04:04:59] <ss23> (This is doing it programatically, not via the CMS)
641: [04:05:37] <Pyromanik> Jayden909090: so what is your question?
642: [04:05:38] * dospunto_ quit (Remote host closed the connection)
643: [04:05:47] * peter_w quit (Quit: Page closed)
644: [04:05:58] <Pyromanik> ss23: yes, that's possible
645: [04:06:24] <Pyromanik> the children will be viewable, but won't show up in the menus, etc
646: [04:07:15] <ss23> Hmm, okay
647: [04:07:26] <ss23> this is a weird bug. A script is randomly changing every page it touches to Draft...
648: [04:07:29] <ss23> like, unpublishing it
649: [04:07:38] <ss23> There's probably a logic bug in here somewhere, but I'm not 100%
650: [04:07:43] <ss23> None of the code looks complex though
651: [04:07:52] <ss23> Well, it'll be a fun bug to know what is going wrong when it's fixed!
652: [04:08:03] <ss23> Seems like one of those weird bugs that you're like "huh lol" when you find it...
653: [04:08:03] <Pyromanik> have fun ss23
654: [04:08:07] <ss23> lol
655: [04:08:16] <ss23> Pyromanik: I will. I'm powered by burgerfuel
656: [04:08:20] <ss23> me and simon_w had it for lunch
657: [04:08:20] <ss23> :3
658: [04:09:47] <Pyromanik> nice
659: [04:09:53] <Pyromanik> but it's simon_w and I
660: [04:10:03] <Jayden909090> Pyromanik: How to set a specific class for a HtmlEditorField when returning $fields for a page. So that the styles in the WYSIWYG reflect the styles of that particular page template.
661: [04:10:38] * zippy__ quit (Quit: zippy__)
662: [04:10:59] <Jayden909090> Pyromanik: Essentially the functionality described here: http://doc.silverstripe.org/framework/en/reference/typography#removing-the-typography-class
663: [04:11:31] <ss23> Pyromanik: lol, is it? I guess I was just glad that I got burgerfuel so I wasn't going to be that pedantic :D
664: [04:11:34] <ss23> Pyromanik: :D
665: [04:11:44] <ss23> Pyromanik: But hey, aren't you coming up for a conference?
666: [04:11:52] <ss23> Pyromanik: I can buy you burgerfuel then if you want <3
667: [04:11:58] <ss23> irogue can come too
668: [04:12:25] <Jayden909090> Which we had burgerfuel in Oz
669: [04:12:26] <Pyromanik> sounds good, yeh in July
670: [04:12:31] <Pyromanik> You do.
671: [04:12:48] <Jayden909090> * Wish
672: [04:12:54] <Pyromanik> You still do.
673: [04:13:23] <Pyromanik> Aus and even Dubai got Burgerfuel before the south island (which is still waiting)
674: [04:13:31] <ss23> XD
675: [04:13:39] <ss23> Of course, they gave it to the people who matter first
676: [04:13:39] <ss23> :3
677: [04:14:52] <ss23> So uh, about $page->doPublish() and $page->write(); and $obj->flushCache();
678: [04:15:11] <ss23> If you do a basically Page::get(), then $page->write();, will it unpublish it?
679: [04:15:22] <ss23> Like, what is the codepath / methods required to take a published page and unpublish it?
680: [04:15:36] <ss23> (Keep in mind this is a bug I'm looking at, so weird things that would cause that to happen are important too)
681: [04:15:39] <ss23> simon_w: ^^ <3
682: [04:15:48] <Jayden909090> None in Melbourne :(
683: [04:15:57] <simon_w> ss23, $page->deleteFromStage('Live');
684: [04:16:04] <ss23> Jayden909090: Ever thought of moving to an AU city that's not complete crap? ^.^
685: [04:16:17] <simon_w> ss23, that would require one to exist :p
686: [04:16:18] <ss23> simon_w: Literally only that? Cause this code never does a deleteFromStage, but still has something happen
687: [04:16:21] <ss23> lol simon_w, touche
688: [04:16:39] * unsignedint quit (Remote host closed the connection)
689: [04:16:41] <Pyromanik> boom!
690: [04:16:50] <ss23> simon_w: What about issues with creating a new page with the exact same data + title (expect for $page->Id I guess)
691: [04:16:54] <Pyromanik> awww, snap! etc.
692: [04:17:11] <simon_w> ss23, gets a different URL segment, all good
693: [04:17:13] <ss23> This code runs fine most of the time, so I'm thinking there's some obscure codepath/bug that causes this...
694: [04:17:16] <ss23> Hmmmm
695: [04:18:37] <ss23> simon_w: No wild ideas? It does a flushCache() too... could that somehow make the children become unpublished...? (I really am grasping at straws)
696: [04:18:51] <simon_w> Nope
697: [04:19:10] <ss23> well gosh darn, I think it must be time to re-release this script with extra logging in it then.
698: [04:19:21] <ss23> But it happens once every few months, and requires like an hour of work to fix
699: [04:19:24] <ss23> dammit
700: [04:20:06] <EasyCo> Best way to get a specific page by URLSegment in the controller. Page::get()->filter('URLSegment', 'AsparagusYo'); ??
701: [04:21:23] <ss23> Isn't it filter('URLSegment' => 'value');
702: [04:21:31] <ss23> But I would imagine that's best, EasyCo (unless you want a page type etc)
703: [04:22:22] <ss23> simon_w: What about if you changed what $page->Id was set to to something new and random? coudl that do something? Or any other $page->foo stuff?
704: [04:22:52] <EasyCo> both filter syntaxes are acceptable according to docs (http://api.silverstripe.org/3.0/source-class-DataList.html#340-371)
705: [04:23:31] <ss23> sweet then EasyCo
706: [04:24:41] <ss23> Hmm, what is the behaviour of $page->$foo = 'bar'; if $foo = '';
707: [04:24:49] <ss23> I need a simple Silverstripe framework playpen.
708: [04:27:23] * daniel_p has joined #silverstripe
709: [04:33:05] * travis-ci has joined #silverstripe
710: [04:33:06] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#338 (3.1 - 211a3e4 : Sam Minnée): The build passed.
711: [04:33:06] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/8bf4d417c630...211a3e4e77e3
712: [04:33:06] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/8223894
713: [04:33:06] * travis-ci has left #silverstripe
714: [04:36:54] <ss23> simon_w: Come on, there *has* to be another way that a page can be unpublished. What about if you chang ethe $obj but then don't call write, or you call write, or you call publish but not write, or what?
715: [04:37:18] <Jayden909090> Hmmmm. I still can't figure out a way to get custom HtmlEditorField typography CSS for certain page types.
716: [04:37:21] <simon_w> ss23, changing the ID would fake it
717: [04:37:49] <ss23> What does 'fake it' mean? Could it explain the apparent behaviour of making it look like the page was 'unpublished'/
718: [04:38:21] <simon_w> Well, it'll make it look like the Stage version's unpublished and the Live version's deleted from stage
719: [04:38:35] <ss23> Hmm
720: [04:38:43] <ss23> That will leave traces around in the DB, right? Like I could check for that?
721: [04:39:03] * travis-ci has joined #silverstripe
722: [04:39:03] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#339 (3.0 - 31a138b : Sam Minnée): The build passed.
723: [04:39:03] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/19e8f8f2495d...31a138b63683
724: [04:39:03] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/8223915
725: [04:39:03] * travis-ci has left #silverstripe
726: [04:40:39] <simon_w> yes
727: [04:40:57] <ss23> Okay, well, something like that is currently the best thing I have like a 'lead'
728: [04:41:58] <EasyCo> How do you get an instance of a Page_Controller with a URLSegment? Page::get() returns a datalist
729: [04:42:14] <EasyCo> Or what that URLsegments controller is
730: [04:42:21] <EasyCo> *what = whatever
731: [04:42:26] <Pyromanik> what's that technique for reviving stuck pixels?
732: [04:42:29] <Pyromanik> irogue: ?
733: [04:42:30] <ss23> EasyCo: ::first?
734: [04:42:35] <ss23> Pyromanik: Poking it.
735: [04:42:54] <Pyromanik> ss23: but I am :<
736: [04:43:04] <ss23> Pyromanik: It doesn't always work, but thats the 'technique'
737: [04:43:09] <Pyromanik> how hard?
738: [04:43:13] <ss23> not hard
739: [04:43:18] <ss23> lol
740: [04:43:25] <Pyromanik> yep, it's fucked :<
741: [04:43:29] <simon_w> Pyromanik, also, rapidly changing the surrounding pixels
742: [04:43:35] <Pyromanik> cyan, yay \o/ :<
743: [04:44:09] <Pyromanik> nup, still f'd :(
744: [04:44:30] <Pyromanik> I'll try clicking on it xD
745: [04:45:16] <Pyromanik> at least CRT's didn't get dead pixels :<
746: [04:45:27] <EasyCo> ss23: That'll return the class model not it's controller.
747: [04:45:30] <EasyCo> its
748: [04:46:43] <EasyCo> Basically I'm taking an $action (which is actually a page) and from that I need to get the corresponding page so I can render it.
749: [04:47:45] * travis-ci has joined #silverstripe
750: [04:47:46] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#340 (3.1 - 3428789 : Sam Minnée): The build passed.
751: [04:47:46] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/211a3e4e77e3...34287895ef8d
752: [04:47:46] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/8223958
753: [04:47:46] * travis-ci has left #silverstripe
754: [04:50:50] <spronk> rub it a bit
755: [04:50:53] <spronk> you know
756: [04:50:55] <spronk> like you'd rub a woman
757: [04:50:59] <Pyromanik> ...
758: [04:51:07] <lewellyn> spronk: or bacon?
759: [04:51:09] * spronk is vaguely serious
760: [04:51:10] <spronk> ooh
761: [04:51:11] <spronk> yeah
762: [04:51:12] <spronk> or bacon
763: [04:51:18] <Pyromanik> BAKON
764: [04:51:26] * spronk knows what he's cooking for dinner
765: [04:51:41] <Pyromanik> http://www.youtube.com/watch?v=F02I9vkOvrg
766: [04:52:48] <ss23> I don't like bacon
767: [04:52:50] <ss23> No.
768: [04:52:52] <ss23> I love it :D
769: [04:53:26] * DigNZ quit (Quit: DigNZ)
770: [04:53:54] <Colin[pi]> http://www.thinkgeek.com/product/e1d0/
771: [04:59:28] <ss23> simon_w: Okay so there are 14k in sitetree_versions with this particular pagetype of the kind I'm debugging. Can you think of a way to check for obvious signs of corruption in the form that I'm thinking of (Anything that might cause pages to become unpublished)
772: [04:59:41] <ss23> Looking by hand, Sitetree and Sitetree_live looks fine
773: [04:59:47] * Shrike_Finland quit (Quit: Leaving.)
774: [05:00:00] <ss23> actually...
775: [05:00:10] <ss23> 831 in SiteTree, 351 in Sitetree_Live
776: [05:00:19] <ss23> Does that mean it thinks there are... like 500 pages in 'draft' status?
777: [05:01:48] * DigNZ has joined #silverstripe
778: [05:02:09] * DigNZ quit (Client Quit)
779: [05:03:17] <Pyromanik> ss23: no, ID 831 in the SiteTree_versions table
780: [05:03:39] <ss23> Pyromanik: Sorry, I meant 831 *rows* in SiteTree, 351 rows in Sitetree_Live?
781: [05:03:43] <ss23> What about that?
782: [05:03:47] <Pyromanik> oh right
783: [05:03:49] <Pyromanik> yeah. I guess so
784: [05:03:52] <ss23> hmm
785: [05:03:54] <Pyromanik> well
786: [05:03:58] <Pyromanik> don't forget, delting
787: [05:04:07] <Pyromanik> but if that's a live total rather than the latest id
788: [05:04:11] <Pyromanik> ie a row count
789: [05:04:11] <ss23> does each delta/version get a new SiteTree?
790: [05:04:13] <Pyromanik> then yeh
791: [05:04:20] <ss23> The latest id is like 6k
792: [05:04:20] <ss23> :P
793: [05:04:23] <ss23> I'm going row count
794: [05:04:26] <Pyromanik> each version gets a new SiteTree_versions
795: [05:04:40] <ss23> But not a new Sitetree, so it looks like there's like 300 pages that aren't published
796: [05:04:48] <Pyromanik> SiteTree is the draft, 1 row per page
797: [05:05:02] <ss23> yep yep
798: [05:05:03] <Pyromanik> SiteTree_live is 1 row per published page.
799: [05:05:10] <Pyromanik> basically a copy of the _versions record
800: [05:05:16] <Pyromanik> makes querying easier
801: [05:05:20] <Pyromanik> or something like that
802: [05:05:26] * Pyromanik shrugs
803: [05:08:37] <ss23> Hmmmmmm
804: [05:08:52] <ss23> There are a bunch of rows in Sitetree with data like "2" for the title...
805: [05:11:28] <ss23> I give up on this ticket!
806: [05:12:36] <Pyromanik> client ticket or app ticket?
807: [05:14:41] * nickmolhoek quit (Quit: nickmolhoek)
808: [05:14:48] <EasyCo> Ok so when you do $page = Page::get()->first(); $page->renderWith('SomeTemplate
809: [05:14:56] <EasyCo> ');
810: [05:15:43] <EasyCo> You have access to model properties. But not controller methods. Supposedly cause SS doesn't know about the Controller.
811: [05:15:51] <EasyCo> What step am I missing here?
812: [05:17:26] <ss23> Pyromanik: Client... their site unpublished like 100 pages
813: [05:17:37] <ss23> Pyromanik: Someone has to go through manually on the CMS (and oyu know how hellishly slow it is) and click publish on them all
814: [05:18:37] <EasyCo> ss23: Couldn't you just do something like $row->publish('Stage', 'Live');
815: [05:18:46] <ss23> I could write a script to fix it, yes
816: [05:18:53] <ss23> I would prefer to fix the bug that caused it :P
817: [05:20:06] * guzzlefry quit (Quit: Leaving.)
818: [05:24:52] <simon_w> That's crazy talk!
819: [05:28:30] * simon_w leaves composer (hopefully) running and goes home
820: [05:39:54] <Colin[pi]> fool! you're trusting technology to work correctly?
821: [05:48:46] * Shrike_Finland has joined #silverstripe
822: [05:49:09] * trent001 quit (Remote host closed the connection)
823: [05:52:54] <ss23> XD
824: [05:56:46] <EasyCo> FYI: The answer to my above question: $page = new Page_Controller( Page::get()->first() ); $page->renderWith('SomeTemplate');
825: [05:57:17] <EasyCo> This'll give you access to Controller methods
826: [05:57:47] <EasyCo> Took me a while to figure out cause I was looking at Controller instead of ContentController which has a constructor that accepts params.
827: [05:59:22] <Colin[pi]> man
828: [05:59:31] <Colin[pi]> what did we ever do before things like firebug?
829: [05:59:59] <EasyCo> Same thing we did before the internet: played outside.
830: [06:00:11] <Colin[pi]> outside? what is this sorcery you speak of?
831: [06:00:40] <EasyCo> Sorry, I blacked out. What just happened?
832: [06:08:40] * Zauberfisch|idle has joined #silverstripe
833: [06:10:24] * DesignCity has joined #silverstripe
834: [06:10:35] * Bollig|DesignCty quit (Read error: Connection reset by peer)
835: [06:10:35] * DesignCity is now known as Bollig|DesignCty
836: [06:11:54] * Zauberfisch^idle quit (Ping timeout: 252 seconds)
837: [06:15:03] <simon_w|air> Colin[pi], built sites that worked first time! :p
838: [06:29:35] <Colin[pi]> lol of course :p
839: [06:49:42] * Liquide quit ()
840: [06:51:27] * MrJeremy has left #silverstripe
841: [07:03:36] * g4b0_ has joined #silverstripe
842: [07:09:05] * Jayden909090 quit (Ping timeout: 250 seconds)
843: [07:12:32] <g4b0_> hi all
844: [07:18:55] * DigNZ has joined #silverstripe
845: [07:21:15] * DigNZ quit (Client Quit)
846: [07:40:35] * azureKnight has joined #silverstripe
847: [07:49:12] * zippy__ has joined #silverstripe
848: [07:54:10] * Guest90550 is now known as elgrodo
849: [07:55:23] <elgrodo> How do I go about comparing Dates in SIlverStripe
850: [07:55:30] <elgrodo> I wish to check if a date is before now
851: [07:55:35] <elgrodo> ora fter
852: [07:57:27] * EasyCo quit (Quit: EasyCo)
853: [07:59:44] <simon_w|air> elgrodo, $this->dbObject('Date')->InPast()/InFuture()
854: [08:05:51] * kinglozzer has joined #silverstripe
855: [08:08:32] * willmorgan has joined #silverstripe
856: [08:12:13] * osterlaus has joined #silverstripe
857: [08:12:58] <elgrodo> simon_w|air: Cheers
858: [08:15:30] * Colin[pi] quit (Read error: Connection reset by peer)
859: [08:18:43] * azureKnight quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
860: [08:21:51] * lobarvaz has joined #silverstripe
861: [08:22:23] * supernovah has joined #silverstripe
862: [08:22:27] * popeshoe has joined #silverstripe
863: [08:27:34] * supernovah quit (Read error: Connection reset by peer)
864: [08:28:08] * supernovah has joined #silverstripe
865: [08:37:56] * travis-ci has joined #silverstripe
866: [08:37:57] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#350 (3.1 - b7a00ee : Ingo Schommer): The build passed.
867: [08:37:57] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/34287895ef8d...b7a00eea784e
868: [08:37:57] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/8228317
869: [08:37:57] * travis-ci has left #silverstripe
870: [08:39:29] * osterlaus quit (Quit: Leaving.)
871: [08:44:29] * guci0 has joined #silverstripe
872: [08:44:35] <guci0> Moto!
873: [08:44:39] <guci0> Hello!
874: [08:46:48] * travis-ci has joined #silverstripe
875: [08:46:48] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#351 (3.1 - d774bab : Simon Welsh): The build passed.
876: [08:46:48] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/b7a00eea784e...d774bab988c9
877: [08:46:48] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/8228606
878: [08:46:48] * travis-ci has left #silverstripe
879: [08:53:56] * mattybalaam has joined #silverstripe
880: [08:55:46] * mattybalaam quit (Client Quit)
881: [09:05:05] <ss23> simon_w|air: I work at SS, time for my +o
882: [09:05:07] <ss23> o/
883: [09:05:23] <simon_w|air> ss23, nup!
884: [09:06:31] <simon_w|air> None of the +o's in here work at SS! (Though I was offered a desk today)
885: [09:07:30] * micmania1 has joined #silverstripe
886: [09:12:33] <ss23> lol
887: [09:12:40] <ss23> simon_w|air: Come on man
888: [09:12:45] <ss23> GIMMIE DA GOOD STUFF
889: [09:12:50] <ss23> don't make me get sam to gimmie it instead
890: [09:12:56] <ss23> :D
891: [09:13:00] <ss23> :D
892: [09:13:02] * ss23 claps
893: [09:13:03] <ss23> ;_;
894: [09:13:04] * ss23 dies
895: [09:13:13] <ss23> wait
896: [09:13:15] <simon_w|air> You'll need to get Sam to do it anyway :p
897: [09:13:17] <ss23> ingo works at SS
898: [09:13:26] <simon_w|air> Is he in here?
899: [09:13:28] <ss23> simon_w|air: You can just +o me and I can idle with it and not DC
900: [09:13:31] <ss23> he is sometimes!
901: [09:13:32] <simon_w|air> (So does Sam, if you hadn't notice)
902: [09:13:35] <ss23> lol
903: [09:13:38] <ss23> true
904: [09:22:43] <simon_w|air> Your bio's boring! :p
905: [09:22:48] <ss23> My bio?!
906: [09:22:52] <ss23> I have't written one yet!
907: [09:23:09] <simon_w|air> http://www.silverstripe.com/about-us/team/development/stephen-shkardoon/
908: [09:23:11] <simon_w|air> Boring!
909: [09:23:16] <simon_w|air> No picture either!
910: [09:23:23] <ss23> oh yay I'm there! :D
911: [09:23:24] <lewellyn> i concur with simon_w|air
912: [09:23:26] <ss23> lol
913: [09:23:30] <ss23> I'm getting my picture taken and bio soon
914: [09:24:28] <simon_w|air> I'm all over the pocket rent site! :p
915: [09:25:49] <ss23> I don't see you on pocketrent site!
916: [09:26:04] <simon_w|air> http://www.whois.com/whois/pocketrent.com
917: [09:26:42] <ss23> lol, that doesn't count!
918: [09:26:50] <simon_w|air> So does!
919: [09:26:51] <Bollig|DesignCty> simon_w: no picture either!
920: [09:27:05] <simon_w|air> Bollig|DesignCty, look closer!
921: [09:27:20] <simon_w|air> (Also, http://www.silverstripe.org/oauth-server/)
922: [09:27:26] * Bollig|DesignCty cmd-+ cmd-+ cmd-+
923: [09:27:27] * Colin[pi] has joined #silverstripe
924: [09:27:45] <Bollig|DesignCty> beautiful bearded man!
925: [09:27:48] * travis-ci has joined #silverstripe
926: [09:27:49] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#352 (3.1 - 5c3809a : Ingo Schommer): The build passed.
927: [09:27:49] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/d774bab988c9...5c3809a165ed
928: [09:27:49] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/8229670
929: [09:27:49] * travis-ci has left #silverstripe
930: [09:28:03] <simon_w|air> That's me!
931: [09:28:27] <ss23> Oh a SUIT!
932: [09:28:28] <ss23> :P
933: [09:28:44] <simon_w|air> Paid for by SilverStripe!
934: [09:29:31] <ss23> <img src="" width="60" />
935: [09:29:38] <ss23> this on pocketrent site
936: [09:30:03] <simon_w|air> Yeah, no <% if %>, too much efforts
937: [09:30:07] <simon_w|air> Also, breaks the layout
938: [09:30:28] <ss23> The developers of SilverStripe attempt to be online as much as possible. We make a commitment for several of us to be there at once, with no other distractions, from 8.30 to 9.30 each Friday morning New Zealand time (GMT+12:00).
939: [09:30:32] <ss23> WHAT
940: [09:30:34] <ss23> Since when.
941: [09:30:39] * DigNZ has joined #silverstripe
942: [09:30:57] <simon_w|air> Since the GHOP!
943: [09:31:01] <simon_w|air> Didn't last long...
944: [09:33:03] <ss23> lol
945: [09:33:43] <simon_w|air> Now it's more Simon's in the channel like almost all the time. Just bug him!
946: [09:34:00] <Colin[pi]> I feel bad asking you questions :C
947: [09:34:15] <simon_w|air> Haha
948: [09:34:21] <Colin[pi]> I honestly try to Google like mad before I ask
949: [09:34:27] <simon_w|air> Woo, progress!
950: [09:34:35] <Colin[pi]> If Google fails, then I ask you :p
951: [09:34:45] <simon_w|air> I should really work on switching ss-log over to GoTest and building in some search
952: [09:35:09] <Colin[pi]> google site:logs.simon.geek.nz :P
953: [09:35:11] * funkygibbon quit (Read error: Connection reset by peer)
954: [09:35:12] <Colin[pi]> works ok
955: [09:35:17] <supernovah> So when I went out to hacksaw my bike lock off, it turns out it's too strong for my blade and just sat there sliding along the surface
956: [09:35:31] <simon_w|air> Colin[pi], if you're doing that, use the site-wide search on silverstripe.org :)
957: [09:35:36] * funkygibbon has joined #silverstripe
958: [09:35:37] <lewellyn> supernovah: that's kind of the idea of buying a good lock.
959: [09:35:42] <Colin[pi]> ya ya I know it does it now :p
960: [09:35:46] <elgrodo> How would I get a template called Test_show to render inside the master Page layout?
961: [09:35:48] <supernovah> ^_^
962: [09:35:48] <elgrodo> return $forTemplate->renderWith('Test_show', 'Page');
963: [09:35:49] <elgrodo> doesn't work
964: [09:35:50] <simon_w|air> supernovah, bolt cutters!
965: [09:36:01] <Colin[pi]> elgrodo, did you flush?
966: [09:36:02] <simon_w|air> elgrodo, array(...)
967: [09:36:08] <Colin[pi]> oh that too
968: [09:36:08] <Colin[pi]> lol
969: [09:36:17] <Colin[pi]> didn't notice the array was missing
970: [09:36:28] <supernovah> Thinking of disassembling the forks around the lock and leaving it to sit there for however many years to come
971: [09:36:44] <elgrodo> nope :(
972: [09:37:11] <simon_w|air> elgrodo, do you have a Layout/Test_show.ss?
973: [09:38:11] * travis-ci has joined #silverstripe
974: [09:38:11] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#353 (master - 94b4237 : Ingo Schommer): The build passed.
975: [09:38:11] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/d95f8a87ac55...94b4237372cc
976: [09:38:11] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/8230053
977: [09:38:11] * travis-ci has left #silverstripe
978: [09:38:33] <lewellyn> supernovah: that's why you lock up the frame :D
979: [09:38:55] <supernovah> Not practical, could just steal my wheels. Bike is worth $6K all up
980: [09:39:58] <lewellyn> supernovah: get locking wheels :)
981: [09:40:19] * priithansen has joined #silverstripe
982: [09:41:03] <lewellyn> supernovah: http://www.pitlock.com/
983: [09:41:59] <elgrodo> simon_w|air: Had it one dir up, fixed now, thanks
984: [09:42:05] <elgrodo> deadline nearing, stress levels rising...
985: [09:42:49] <simon_w|air> Was it you that was after the has one managing thingy with a GridField that thought my component would have the same scale problems as a dropdown?
986: [09:43:05] <elgrodo> simon_w|air: Yip
987: [09:43:18] <simon_w|air> Add a pagination component to the grid field :)
988: [09:43:24] <elgrodo> I was possibly using it wrong...
989: [09:43:25] <elgrodo> ha!
990: [09:43:46] <elgrodo> ended up writing a custom widget but when I get some time slack will go back to it
991: [09:46:27] <supernovah> lewellyn that looks irritating as hell. Doesn't work with quick release
992: [09:46:50] <lewellyn> supernovah: no. the point is that you use that instead of quick release so people don't steal your wheels/seat/etc.
993: [09:47:06] <lewellyn> it's the opposite of quick release ;)
994: [09:47:22] <supernovah> I see but I often need to pack my bike into cars or remove the front wheel for the roof racks...
995: [09:47:46] <lewellyn> ah. my bike is an XL MTB frame with 29" wheels. it won't fit in most places i'd remove a wheel anyhow.
996: [09:48:05] <lewellyn> i kinda wish i had gotten an XXL frame, but this one was almost $1000 cheaper on sale.
997: [09:49:59] <Bollig|DesignCty> lewellyn: where is the HOW IT WORKS page on that damn site??!
998: [09:50:29] <simon_w|air> Bollig|DesignCty, magnets. It must be magnets, maybe with some mirrors.
999: [09:51:04] <lewellyn> Bollig|DesignCty: look at resellers, like this: http://www.peterwhitecycles.com/pitlock.asp
1000: [09:51:06] <Bollig|DesignCty> yeah. Maybe levers too.
1001: [09:53:04] <lewellyn> this is the backside of a pitlock nut: http://www.peterwhitecycles.com/images/products/pitlock/Pit-nutrear.jpg
1002: [09:56:52] * DigNZ quit (Quit: DigNZ)
1003: [10:04:26] * funkygibbon quit (Quit: Leaving)
1004: [10:12:01] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
1005: [10:15:53] * Motoservo_ has joined #silverstripe
1006: [10:17:36] * Motoservo quit (Read error: Connection reset by peer)
1007: [10:17:37] * Motoservo_ is now known as Motoservo
1008: [10:28:41] * willmorgan quit (Quit: Ciao mateys.)
1009: [10:32:53] <elgrodo> in 3.0.5 is the correct template name when calling a controller method still as per here, http://www.ssbits.com/tutorials/2011/controllers-instead-of-pages/
1010: [10:33:30] <elgrodo> My controller is FreebiesPage_Controller and the method show is being called
1011: [10:33:40] * mattybalaam has joined #silverstripe
1012: [10:33:43] <elgrodo> but returning a 404
1013: [10:36:18] <mattybalaam> Longshot: Has anyone used https://github.com/unclecheese/silverstripe-zen-fields with https://github.com/chillu/silverstripe-tagfield ? I am getting an error on 3.1. I have reported an issue, but not sure which module is at fault https://github.com/unclecheese/silverstripe-zen-fields/issues/1
1014: [10:36:41] <elgrodo> given that template cannot be found, it seems to revert to the default template, FreebiesPage.ss, and running code it should not
1015: [10:36:49] <elgrodo> this is where the 404 is coming from
1016: [10:53:42] * willr_ quit (Ping timeout: 268 seconds)
1017: [10:54:30] <elgrodo> oh, no controller name in the template
1018: [10:56:12] * willr_ has joined #silverstripe
1019: [11:07:01] * osterlaus has joined #silverstripe
1020: [11:07:54] * osterlaus quit (Client Quit)
1021: [11:08:53] * supernovah_ has joined #silverstripe
1022: [11:10:58] * supernovah quit (Ping timeout: 268 seconds)
1023: [11:11:03] * supernovah_ is now known as supernovah
1024: [11:12:29] * mattybalaam quit (Quit: mattybalaam)
1025: [11:14:43] * trent001 has joined #silverstripe
1026: [11:19:08] * trent001 quit (Ping timeout: 264 seconds)
1027: [11:27:39] * travis-ci has joined #silverstripe
1028: [11:27:39] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#424 (3.1 - f2a9f9a : Ingo Schommer): The build passed.
1029: [11:27:39] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/8e7802f8a1be...f2a9f9aa0a44
1030: [11:27:39] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/8233004
1031: [11:27:39] * travis-ci has left #silverstripe
1032: [11:46:12] * zippy__ quit (Quit: zippy__)
1033: [11:58:12] * travis-ci has joined #silverstripe
1034: [11:58:13] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#354 (3.0 - c5a7193 : Ingo Schommer): The build passed.
1035: [11:58:13] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/31a138b63683...c5a719389689
1036: [11:58:13] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/8233678
1037: [11:58:13] * travis-ci has left #silverstripe
1038: [12:12:45] * UndefinedOffset has joined #silverstripe
1039: [12:27:24] * travis-ci has joined #silverstripe
1040: [12:27:25] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#425 (3.1 - f03f396 : Ingo Schommer): The build passed.
1041: [12:27:25] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/f2a9f9aa0a44...f03f396b354c
1042: [12:27:25] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/8234736
1043: [12:27:25] * travis-ci has left #silverstripe
1044: [12:33:14] * Colin[pi] quit (Ping timeout: 248 seconds)
1045: [12:40:55] * travis-ci has joined #silverstripe
1046: [12:40:55] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#356 (3.1 - 8769da5 : Ingo Schommer): The build passed.
1047: [12:40:55] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/2160fb8000e8...8769da562281
1048: [12:40:55] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/8235008
1049: [12:40:55] * travis-ci has left #silverstripe
1050: [12:42:40] * travis-ci has joined #silverstripe
1051: [12:42:40] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#355 (3.1 - 2160fb8 : Ingo Schommer): The build passed.
1052: [12:42:40] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/5c3809a165ed...2160fb8000e8
1053: [12:42:40] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/8234744
1054: [12:42:40] * travis-ci has left #silverstripe
1055: [12:46:34] * Liquide has joined #silverstripe
1056: [12:46:36] * osterlaus has joined #silverstripe
1057: [12:52:27] * osterlaus quit (Quit: Leaving.)
1058: [12:54:33] * travis-ci has joined #silverstripe
1059: [12:54:33] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#357 (3.1 - a4189a6 : Ingo Schommer): The build passed.
1060: [12:54:33] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/8769da562281...a4189a6744a2
1061: [12:54:33] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/8235110
1062: [12:54:33] * travis-ci has left #silverstripe
1063: [13:03:14] * trent001 has joined #silverstripe
1064: [13:07:22] * trent001 quit (Ping timeout: 248 seconds)
1065: [13:18:20] * Pete_ has joined #silverstripe
1066: [13:23:43] * Marvanni has joined #silverstripe
1067: [13:24:24] <Pete_> Help needed for ecommerce v3 with SS3.0.5
1068: [13:35:19] * Shrike_Finland quit (Quit: Leaving.)
1069: [14:15:00] * Pete_ quit (Quit: Page closed)
1070: [14:51:08] * feejin has joined #silverstripe
1071: [14:51:44] * trent001 has joined #silverstripe
1072: [14:56:31] * trent001 quit (Ping timeout: 264 seconds)
1073: [15:05:50] * RojoD has joined #silverstripe
1074: [15:05:50] * RojoD quit (Changing host)
1075: [15:05:50] * RojoD has joined #silverstripe
1076: [15:15:41] * catcher has joined #silverstripe
1077: [15:22:37] * mattybalaam has joined #silverstripe
1078: [15:24:24] * micmania1 quit (Ping timeout: 250 seconds)
1079: [15:54:30] * RojoD quit (Ping timeout: 240 seconds)
1080: [15:57:27] * g4b0_ quit (Quit: Sto andando via)
1081: [16:18:46] * feejin quit (Remote host closed the connection)
1082: [16:18:54] * kinglozzer quit (Remote host closed the connection)
1083: [16:34:40] * mattybalaam quit (Quit: mattybalaam)
1084: [16:48:09] * joelpittet quit (Remote host closed the connection)
1085: [17:00:42] * Colin[pi] has joined #silverstripe
1086: [17:16:06] * nepgear is now known as shakesoda
1087: [17:20:29] <elgrodo> why bother using /http://54.217.220.13/framework/thirdparty/jquery/jquery.min.js when you can use http://54.217.220.13/framework/thirdparty/jquery/jquery.js instead! #facepalm
1088: [17:20:37] <elgrodo> also with jquery ui
1089: [17:20:45] * mattybalaam has joined #silverstripe
1090: [17:20:47] <elgrodo> client wonders why site is slow, thats 440k sorted
1091: [17:22:51] * lobarvaz quit (Remote host closed the connection)
1092: [17:54:55] * micmania1 has joined #silverstripe
1093: [17:56:28] * abitran_ has joined #silverstripe
1094: [18:00:46] * abitran quit (*.net *.split)
1095: [18:03:29] <micmania1> Anybody ever done an ecommerce with Silverstripe? If so, did you use a module your can recommend?
1096: [18:04:19] * Colin[pi] quit (Ping timeout: 246 seconds)
1097: [18:14:18] * gelignite has joined #silverstripe
1098: [18:16:00] * mattybalaam quit (Quit: mattybalaam)
1099: [18:17:15] * azureKnight has joined #silverstripe
1100: [18:24:07] * Nivery has joined #silverstripe
1101: [18:25:05] * azureKnight quit (Quit: Textual IRC Client: www.textualapp.com)
1102: [18:25:16] <Nivery> why is there a $many_many and a $belongs_many_many instead of just a $many_many?
1103: [18:28:20] <micmania1> I think many_many creates a database table (Table1_Table2) whereas belongs_many doesn't.
1104: [18:28:49] <micmania1> so if you had 2 objects both with many_many relations, you'd end up with 2 tables.
1105: [18:28:56] <micmania1> *I think*
1106: [18:34:40] <Nivery> i guess it must be related to figuring out whether another table is built, but it's annoying when you're trying to add a bunch of relationships all at once… flipping back and forth between files to make sure the many_many is given a corresponding belongs_many_many, or doing it by some other system
1107: [18:36:10] * zfmf1 has joined #silverstripe
1108: [18:46:01] * mattybalaam has joined #silverstripe
1109: [18:55:41] <micmania1> Nivery, I think it helps figure out the Foreign ID field in the ManyMany table.
1110: [19:01:14] * pex has joined #silverstripe
1111: [19:04:41] <Nivery> micmania1, i was under the impression the IDs from both sides of the relationship were foreign ids in a ManyMany table
1112: [19:04:42] <catcher> hmm, how can I override comment module's CommentsInterface.ss? Custom theme version doesn't seem to get picked up, maybe because it's chosen with SSViewer->process()?
1113: [19:10:03] <micmania1> Nivery, erm... yeah lol I meant foreign ID of the foreign object. I've only ever worked with this stuff that in depth once when I was creating a field to handle many_many relations and I remember constantly getting issues detecting the foreign key & it was something to do with the relation type.
1114: [19:10:16] <micmania1> As you can tell, my memory is a little sketchy.
1115: [19:11:28] <Nivery> no problem at all, micmania1
1116: [19:11:34] <Nivery> i'm just being whiny anyway :)
1117: [19:11:36] <micmania1> catcher, make sure your own template is in the correct directory & you've flushed.
1118: [19:11:53] <catcher> indeed
1119: [19:12:05] <catcher> all the dirs, all the flushes
1120: [19:14:44] <micmania1> do you have an actual theme setup or is it stored in your project?
1121: [19:16:55] * jrthomer quit (Remote host closed the connection)
1122: [19:17:21] * jrthomer has joined #silverstripe
1123: [19:24:55] * DavidHastlehoff has joined #silverstripe
1124: [19:27:01] <DavidHastlehoff> Hi Guys. Need some help... Im new to coding silverstripe.. watching videos on how to do it.... Im working on my own template and just wanting to know how can i make the content automatically carry on in the white section rather than carrying over to the grey. http://ticklenetwork.co.nz/silverstripe/Security/login?BackURL=%2Fsilverstripe%2Fadmin%2Fpages
1125: [19:27:10] <DavidHastlehoff> Hope that makes sence
1126: [19:35:29] * MrJeremy has joined #silverstripe
1127: [19:56:35] <DavidHastlehoff> Can anyone help
1128: [20:01:09] <simon_w> DavidHastlehoff, looks like you're floating your content
1129: [20:03:55] * mattybalaam quit (Quit: mattybalaam)
1130: [20:06:52] * houleness has joined #silverstripe
1131: [20:08:30] <houleness> I'd like to hide certain page types from the creation menu in SS 3 (like virtual page). I've tried extended dataextension but no dice. Any suggestions? Or direction would be super helpful!
1132: [20:14:08] <simon_w> houleness, the only way to stop an admin from being able to create an inbuilt class, is something like: class HideVirtualPage extends VirtualPage { private static $hide_ancestor = true; public function canCreate($member = null) { return false; } }
1133: [20:14:15] <simon_w> (using public static if you're on 3.0)
1134: [20:15:34] <houleness> @simon_w so I have to create a new pagetype to hide a different page type?
1135: [20:15:45] <simon_w> Well, to hide an inbuilt one
1136: [20:15:57] <simon_w> To hide one of your own, just add the canCreate() method to it
1137: [20:16:06] <houleness> Right. Thanks!
1138: [20:17:11] <houleness> Yeah, it's to clean up the cms from pagetypes I don't think the content manager will fully understand. Like virtual page and pagetypes created from modules, but I don't want to mess w/ the core files
1139: [20:19:28] <DavidHastlehoff> Can anyone help me with my situation?
1140: [20:20:55] <simon_w> DavidHastlehoff, looks like you're floating your content
1141: [20:21:01] <simon_w> stop floating it
1142: [20:21:35] * MrJeremy quit (Quit: MrJeremy)
1143: [20:22:03] <DavidHastlehoff> How do i stop floating it
1144: [20:22:40] <simon_w> Remove the class that's adding the float
1145: [20:22:50] <simon_w> (This is all CSS, not SilverStripe specific)
1146: [20:24:32] <houleness> @simon_w - Needed static $hide_ancestor = 'VirtualPage'; on my custom page. Thanks again!
1147: [20:26:03] * houleness quit (Quit: Leaving.)
1148: [20:27:03] * mobiusnz has joined #silverstripe
1149: [20:35:36] * unsignedint has joined #silverstripe
1150: [20:39:37] * nickmolhoek has joined #silverstripe
1151: [20:39:38] * nickmolhoek quit (Remote host closed the connection)
1152: [20:39:52] * nickmolhoek has joined #silverstripe
1153: [20:40:31] * UndefinedOffset quit (Quit: Leaving.)
1154: [20:44:12] * travis-ci has joined #silverstripe
1155: [20:44:12] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#363 (3.0 - ac72906 : Simon Welsh): The build passed.
1156: [20:44:12] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/c5a719389689...ac729067cdec
1157: [20:44:12] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/8252518
1158: [20:44:12] * travis-ci has left #silverstripe
1159: [20:46:51] <Pyromanik> how does it work when I want all dates greater than today in 2.4?
1160: [20:47:17] <mobiusnz> Pyromanik: how does what work
1161: [20:47:18] * Peavers has joined #silverstripe
1162: [20:47:23] <simon_w> Pyromanik, DataObject::get('Blah', '"Date" > CURDATE()');
1163: [20:47:31] <Pyromanik> DataObject::get('BlogEntry', 'Date )
1164: [20:47:32] <Pyromanik> yes
1165: [20:47:35] <Pyromanik> that's the doofer
1166: [20:47:37] <Pyromanik> thanks simon_w
1167: [20:47:52] <Pyromanik> does that order current date -> future, or future -> current date?
1168: [20:48:01] <Pyromanik> always confuse with orders :<
1169: [20:48:03] <simon_w> Doesn't order it
1170: [20:48:24] <simon_w> But for cur -> future, you want "DATE" ASC
1171: [20:48:31] <simon_w> (bigger is further away)
1172: [20:48:36] <Pyromanik> asc, great, thanks simon_w :)
1173: [20:49:53] <Pyromanik> mobiusnz: it works kinda like DataObject::get('BlogEntry', 'Date > CURDATE()', 'Date ASC'); I guess
1174: [20:50:58] <jrthomer> simon_w: re: 2125 - that's what I figured you'd say :)
1175: [20:51:06] <jrthomer> what IDE do you use? does it have same problem?
1176: [20:51:06] * SightUnseen has joined #silverstripe
1177: [20:51:07] * SightUnseen has left #silverstripe
1178: [20:51:10] <Pyromanik> 2125?
1179: [20:51:19] <mobiusnz> Pyromanik: yeah, you just didn't make it clear if you were in template or whatev ;)
1180: [20:51:33] <jrthomer> Pyromanik: https://github.com/silverstripe/silverstripe-framework/pull/2125
1181: [20:51:33] <mobiusnz> gah, need to figure out how to speed up zfs resilvering
1182: [20:51:37] <mobiusnz> 416G scanned out of 4.83T at 5.81M/s, 222h2m to go
1183: [20:51:44] <mobiusnz> slow process is slow
1184: [20:51:52] <Peavers> thats very very slow
1185: [20:51:57] <shakesoda> that hurts
1186: [20:52:16] <Pyromanik> jrthomer: yeah just found it.
1187: [20:52:23] <Pyromanik> And yeah, nothing to do with SS :P
1188: [20:52:45] <Pyromanik> interpreting ?> at the end of an SS PHP file however...
1189: [20:52:52] <Pyromanik> still nothing to do with SS :P
1190: [20:52:59] <Pyromanik> people shouldn't be using them anyway
1191: [20:53:05] <Pyromanik> ever.
1192: [20:53:10] <Pyromanik> (in pure php files)
1193: [20:53:20] <Pyromanik> such as SS classes.
1194: [20:53:48] <AlphaCactus> what is the reason for that?
1195: [20:53:49] <simon_w> jrthomer, none of the editors I've used have tried doing file-level syntax highlighting inside a string :p
1196: [20:54:20] <Peavers> can I go from using _config.php for my database connection to using _ss_enviroment on a live site? Ive made the change but now getting a 500 error, wonder if its something that needs to be done before install?
1197: [20:54:22] <simon_w> Pyromanik, it's for things like '<?xml ?>'
1198: [20:54:37] <Pyromanik> mmm, right.
1199: [20:54:48] <Pyromanik> interesting fix though, if that works.
1200: [20:54:55] <simon_w> Peavers, including conf/ConfigureFromEnv.php in your _config.php?
1201: [20:54:58] <Pyromanik> did you see the diff?
1202: [20:55:10] <Peavers> yeah I did, copied almost line for line from the docs http://doc.silverstripe.org/framework/en/topics/environment-management
1203: [20:55:34] <Pyromanik> Peavers: check apache.log?
1204: [20:56:14] <Pyromanik> or rather apache's error.log?
1205: [20:56:26] <micmania1> Peavers, are you defining a database name? I had that issue recently.
1206: [20:56:35] <Peavers> yeah I am.. should I not be?
1207: [20:56:40] <Peavers> defining the name in _config.php
1208: [20:56:55] <micmania1> yeah you should be, but its not in the docs.
1209: [20:57:14] <simon_w> micmania1, yeah it is :p
1210: [20:57:48] <simon_w> Peavers, are you defining your database before or after the require_once?
1211: [20:58:00] <micmania1> the SS_DATABASE_NAME const isn't I mean
1212: [20:58:04] <Peavers> before,
1213: [20:58:07] <Peavers> require once is the last line in the file
1214: [20:58:46] <Peavers> global $database;
1215: [20:58:47] <Peavers> $database = '(databasename)';
1216: [20:58:50] <Peavers> thats defining it yeah?
1217: [20:58:58] <Peavers> obviously changing the databasename to suit
1218: [20:59:14] <simon_w> yeah
1219: [20:59:51] <simon_w> are you defining a database username and password and an environment type?
1220: [21:00:03] * RojoD has joined #silverstripe
1221: [21:00:03] <Peavers> yup in the _ss_ file
1222: [21:00:03] * RojoD quit (Changing host)
1223: [21:00:03] * RojoD has joined #silverstripe
1224: [21:00:21] <simon_w> Where did you put the _ss_environment file?
1225: [21:00:44] <Peavers> one level above the project folder, so /var/www
1226: [21:01:39] * micmania1 quit (Quit: Page closed)
1227: [21:02:00] * Nivery quit (Quit: Nivery)
1228: [21:02:06] <simon_w> Can you check your error logs? Or enable dev mode?
1229: [21:02:06] * micmania1 has joined #silverstripe
1230: [21:02:12] <Peavers> yeah looking at the mo
1231: [21:03:13] <Peavers> opps....
1232: [21:03:16] <Peavers> its workin now
1233: [21:03:17] <Peavers> ignore me
1234: [21:03:55] * simon_w fixed it!
1235: [21:04:55] <catcher> I can't get the comments/spamprotection to show me a captcha. I saw it for a moment, now it won't show again. I'm logged out, I'm updating the form, and verifying that SpamProtectorManager::update_form is indeed firing. Not sure how else to troubleshoot it.
1236: [21:04:58] <simon_w> Okay, back to this cwp stuff
1237: [21:05:16] <Peavers> whats happening with cwp stuff?
1238: [21:05:22] <Pyromanik> LOL
1239: [21:05:27] <Pyromanik> S.M.A.R.T. failure
1240: [21:05:55] <simon_w> Shhh, it's a secret!
1241: [21:09:59] <Peavers> oh I had a question for you simon_w about your comments mod which you didn't write but cleaned up
1242: [21:10:13] <simon_w> My 2.4 one?
1243: [21:10:25] <Peavers> the latest one that works just fine with 3.1?
1244: [21:10:50] <simon_w> I haven't done anything with comments for 3...
1245: [21:11:13] <Peavers> perhaps I'm using the old one.. whatever composer installed...
1246: [21:11:36] <Peavers> maybe you can still answer the question though ;)
1247: [21:11:44] <simon_w> willr_'s the one that's done the SS3 comments module :p
1248: [21:11:53] <simon_w> Never stopped in before :p
1249: [21:11:57] <Peavers> hmm that checky bugger...
1250: [21:12:22] <Peavers> In the controller there is the FieldList which creates the fields for name, email url, and comment
1251: [21:12:38] <Peavers> I want to hide the name, url, and email so its simple enough to change them to HiddenField type in the controller
1252: [21:12:50] <Peavers> but whats the proper way of doing this so I'm not changing the code in the module?
1253: [21:13:20] <Peavers> I think I asked this before, about overriding the field list in another file or something?
1254: [21:13:39] <simon_w> an Extension subclass, added to CommentingController with an alterCommentForm(Form $form) method
1255: [21:13:58] <Peavers> and I can put that file in mysite/code yeah?
1256: [21:14:58] * micmania1 quit (Ping timeout: 250 seconds)
1257: [21:17:46] <simon_w> yup
1258: [21:18:40] <Peavers> and the filename should match that of the CommentingController? or does it not matter?
1259: [21:19:01] <simon_w> Doesn't matter
1260: [21:25:52] <Peavers> So I can just copy the method and modify it in there?
1261: [21:25:58] <Peavers> Think I'm missing something :S
1262: [21:26:31] <simon_w> You're making an Extension. Like a DataExtension, but not on a DataObject
1263: [21:26:56] <simon_w> class CommentingControllerExtension extends Extension { public function alterCommentForm(Form $form) { ... } }
1264: [21:27:47] <Peavers> oh so it extends Extension, not CommentingController
1265: [21:29:42] <simon_w> gah, bloody composer. Forgot my --no-dev D:
1266: [21:30:52] <simon_w> Also, it's copying the entire packagist metadata store each time you do an update. That's just stupid.
1267: [21:31:08] <Peavers> Object::add_extension('CommentingController', 'CommentingControllerExtension'); or add something to config.yml instead?
1268: [21:31:26] <Peavers> and did composer forget or did you!?!?
1269: [21:31:50] <simon_w> CommentingController::add_extension('CommentingControllerExtension'); or a yaml thing
1270: [21:32:08] <simon_w> composer decided to make --dev the (completely stupid) default
1271: [21:32:39] <simon_w> Cause only developers of a project (and all its dependencies) will use composer
1272: [21:34:20] * gelignite quit (Quit: http://bit.ly/nkczDT)
1273: [21:35:46] * DavidHastlehoff quit (Ping timeout: 250 seconds)
1274: [21:40:38] * trent001 has joined #silverstripe
1275: [21:41:40] <Peavers> So my new class is being read, but when changing the method name from CommentForm to alterCommentForm it causes a 500 error
1276: [21:41:50] <Peavers> sorry, function name.. php..
1277: [21:42:15] <Peavers> but if I leave it as CommentForm it the page loads, but the modifications are ignored
1278: [21:42:17] <simon_w> It's still a method :p
1279: [21:42:39] <Peavers> lol
1280: [21:42:39] <simon_w> What's your alterCommentForm look like?
1281: [21:42:54] <Peavers> I've just copied the entier method from CommentForm
1282: [21:43:01] <simon_w> Yeah, you don't need to do that
1283: [21:43:09] <simon_w> You get passed in the form
1284: [21:43:22] <Peavers> so all I need is the fieldlist?
1285: [21:43:31] <simon_w> hence the signature I used
1286: [21:43:46] <simon_w> $form->Fields()->replaceByName(....)
1287: [21:44:16] <Peavers> lost on on that last bi
1288: [21:44:18] <Peavers> bit
1289: [21:45:01] <simon_w> $form is the complete Form object, $form->Fields() is the complete FieldList, you're then changing those fields
1290: [21:45:17] <Peavers> yup that makes sense
1291: [21:45:23] <Peavers> Do I then return the $form?
1292: [21:45:48] <Peavers> the fields sorry,
1293: [21:46:31] <simon_w> Nope, they're objects
1294: [21:46:45] <simon_w> Objects, as of PHP 5, are always passed by reference
1295: [21:48:33] <Peavers> so it might look something like this? http://www.sspaste.com/paste/show/51c226da5534c
1296: [21:48:49] <Peavers> and why does sspaste mess with my indentation?!
1297: [21:50:20] * mattybalaam has joined #silverstripe
1298: [21:51:57] * mattybalaam quit (Client Quit)
1299: [21:52:17] <simon_w> Well, you'll probably want $form->Fields()->replaceField('Name', HiddenField::create('Name', '', $form->Fields()->fieldByName('Name')->value);
1300: [21:52:30] <simon_w> Well, you'll probably want $form->Fields()->replaceField('Name', HiddenField::create('Name', '', $form->Fields()->fieldByName('Name')->value)->setForm($form));
1301: [21:53:08] * mattybalaam has joined #silverstripe
1302: [21:53:19] <Peavers> ha it worked!
1303: [21:53:24] <Peavers> good stuff dude
1304: [21:53:59] <Peavers> learnt more today in 15 minutes than the rest of the week ;)
1305: [22:04:25] * supernovah quit (Read error: Connection reset by peer)
1306: [22:05:16] * supernovah has joined #silverstripe
1307: [22:12:55] * Colin[pi] has joined #silverstripe
1308: [22:20:27] * EasyCo has joined #silverstripe
1309: [22:37:56] * pex quit (Quit: pex)
1310: [22:40:45] * zfmf1 has left #silverstripe
1311: [22:46:13] <Pyromanik> Peavers: define 'mess with my indentation' ?
1312: [22:53:11] * DigNZ has joined #silverstripe
1313: [22:53:12] * DigNZ quit (Read error: Connection reset by peer)
1314: [22:53:21] * RojoD quit (Ping timeout: 256 seconds)
1315: [22:53:26] * DigNZ has joined #silverstripe
1316: [22:55:23] <Pyromanik> irogue:
1317: [22:55:24] <Pyromanik> omg
1318: [22:55:28] <Pyromanik> 24/7 hosting
1319: [22:55:36] <Pyromanik> is a scam
1320: [22:55:44] <Pyromanik> literally.
1321: [22:55:52] <Pyromanik> http://tvnz.co.nz/fair-go/july-20-4315769
1322: [22:55:56] <Pyromanik> http://www.awaa.com.au/forums/affiliate-marketing-alerts/64-caleb-finlay-247hosting-scam-warning-flexihost.html
1323: [22:56:02] <Pyromanik> http://www.awaa.com.au/forums/affiliate-marketing-alerts/65-caleb-finlay-aka-caleb-carrington-klib.html
1324: [22:56:05] <Pyromanik> http://www.geekzone.co.nz/forums.asp?forumid=86&topicid=105457
1325: [22:57:11] <simon_w> Haha, poor Kim Dotcom. Should've paid his bills.
1326: [22:57:19] <Pyromanik> ?
1327: [22:57:41] <simon_w> One of the Megaupload hosters repurposed 630 servers
1328: [22:58:37] * Colin[pi] quit (Ping timeout: 260 seconds)
1329: [22:58:56] <simon_w> Around 18 months after last getting paid for them
1330: [23:00:08] * Jayden90 has joined #silverstripe
1331: [23:00:31] <Pyromanik> simon_w: so?
1332: [23:00:46] <Pyromanik> the site was taken down and his funds were frozen.
1333: [23:00:57] <Pyromanik> it's not like it was still in use...
1334: [23:01:09] <simon_w> He's having a massive bitch about it
1335: [23:01:11] <simon_w> Is hilarious
1336: [23:02:06] <ss23> lol
1337: [23:02:17] <ss23> Um guys, is there a 'standard' colorpicker module for Silverstripe/
1338: [23:02:27] <simon_w> *colour :p
1339: [23:02:29] <ss23> lol
1340: [23:02:32] <ss23> HTML has trained me
1341: [23:02:35] <simon_w> And you mean for tinyMCE or something else?
1342: [23:02:37] <ss23> Hmm
1343: [23:02:43] <ss23> For the CMS, not for TinyMCE though
1344: [23:03:01] <simon_w> Doubt it
1345: [23:03:18] <ss23> kk, I will just grab a random one and plonk in this project
1346: [23:05:22] <Pyromanik> simon_w: yes
1347: [23:05:24] <Pyromanik> ss23: yes
1348: [23:05:31] <Pyromanik> sec, I'll zip for you
1349: [23:05:50] <Pyromanik> ss23: 2.4 or 3.0?
1350: [23:08:17] <ss23> um
1351: [23:08:18] <ss23> Hmm
1352: [23:08:25] <ss23> looks old, I'll assume 2.4
1353: [23:08:29] <ss23> But if it works for both, that would be great
1354: [23:08:45] <Pyromanik> well it does, but in 2 versions.
1355: [23:08:52] <ss23> Is it on Github, Pyromanik?
1356: [23:08:58] <ss23> Cause I can just add it as a dependency
1357: [23:09:12] <ss23> So remind me... I have a Page has_one ('CountdownWidget')
1358: [23:09:18] <ss23> widget can now alter the cmsfields of Page, right?
1359: [23:09:52] <simon_w> Nope
1360: [23:10:13] <ss23> How can I give the user an interface for customizing the widget the page has? (It's actually a DataObject atm)
1361: [23:10:27] <Pyromanik> http://www.filedropper.com/showdownload.php/colourpickerfield-ss24
1362: [23:10:46] <Pyromanik> http://www.filedropper.com/colourpickerfield-ss24
1363: [23:10:50] <ss23> Like, how would you do it, simon_w? The current module is just like... edited into Page.php, but I would prefer a module
1364: [23:10:53] <ss23> Pyromanik: Github?
1365: [23:11:06] <Pyromanik> http://www.filedropper.com/colourpickerfield-ss30
1366: [23:11:09] <Pyromanik> ss23: nope
1367: [23:11:14] <ss23> Why not? :<
1368: [23:11:19] <Pyromanik> because f u
1369: [23:11:20] <simon_w> ss23, with great difficulty
1370: [23:11:27] <Jayden90> I wonder how hard it would be to modify the TinyMCE editor to pit a wrapper div around videos for responsive purposes
1371: [23:11:34] <Pyromanik> ss23: it might be on github, but terribad outdates
1372: [23:11:39] <ss23> simon_w: can you be more specific? If it's difficult, I could just edit it into Page.php, do you recommend?
1373: [23:11:47] <ss23> Pyromanik: Why didn't you just put it on github then?!
1374: [23:11:54] <Pyromanik> ss23: because
1375: [23:12:03] <Pyromanik> I s/color/colour the whole project
1376: [23:12:08] <ss23> haha
1377: [23:12:19] <Pyromanik> I got mad ok?
1378: [23:12:22] <simon_w> ss23, well, the widget'll need to be told what class it's been added to, then decorate it and add the fields
1379: [23:12:36] <ss23> Ah, I have had this issue before iirc...
1380: [23:12:50] <ss23> The module system is really bad for actually just being like "yo countdown, plz apply to this class I put you on" right
1381: [23:13:15] <ss23> kk, I will just add it to Page.php
1382: [23:13:23] <ss23> NO COUNTDOWN MODULE 4 U SILVERSTRIPE, CUZ UR API'S R TOO SHIT
1383: [23:13:42] * guci0 quit (Ping timeout: 250 seconds)
1384: [23:14:58] <Pyromanik> what
1385: [23:14:59] <Pyromanik> no
1386: [23:15:04] <Pyromanik> because you didn't structure module right.
1387: [23:15:15] <Pyromanik> "yo countdown, plz apply to this class I put you on"
1388: [23:15:16] <Pyromanik> it does
1389: [23:15:25] <Pyromanik> or I'm not understanding your issue properly
1390: [23:15:35] <ss23> I haven't written the module yet at all
1391: [23:15:45] <ss23> simon_w just asid it was hard to do it at all
1392: [23:15:58] <ss23> I remmeber having the same issue for my googlemaps module, I eneded up having to hard code half of it which made it not good as a module
1393: [23:19:20] * catcher quit (Quit: Leaving)
1394: [23:20:41] <Pyromanik> ss23: default getCMSFields() calls $this->extend('updateCMSFields', $fields)
1395: [23:21:00] <Pyromanik> so as long as you have a function on your decorator named updateCMSFields(FieldList $fields)
1396: [23:21:03] <Pyromanik> you're good.
1397: [23:21:29] <Pyromanik> I think you just messed up by saying 'widget' - which is a different thing entirely in SS.
1398: [23:21:52] <Pyromanik> https://github.com/silverstripe/silverstripe-widgets
1399: [23:24:26] <ss23> Yeah, I didn't mean that, but uh
1400: [23:24:30] <ss23> simon_w seemed to imply that wouldn't work?
1401: [23:24:34] <ss23> 11:12:14 <@simon_w> ss23, well, the widget'll need to be told what class it's been added to, then decorate it and add the fields
1402: [23:24:53] <simon_w> ss23, you just said you've got a has_one, not that it was a DataExtension
1403: [23:25:07] <simon_w> updateCMSFields() doesn't do has_ones
1404: [23:25:25] <ss23> Oh okay
1405: [23:25:32] <ss23> >.>
1406: [23:25:50] <ss23> simon_w: When I say "How would you do it", that's when you go "Not as a has_one, a dataextension is proper"
1407: [23:25:53] <ss23> :<
1408: [23:26:06] <ss23> dammit
1409: [23:26:11] <ss23> now to migrate all this code back to a module
1410: [23:26:16] * ss23 shakes his fist.
1411: [23:32:49] * willr__ has joined #silverstripe
1412: [23:33:07] <ss23> I blame willr__
1413: [23:33:14] <willr__> which one?
1414: [23:33:51] <willr__> ss23 was I buying you lunch today?
1415: [23:33:54] <simon_w> either
1416: [23:35:04] <ss23> willr__: Sure :D
1417: [23:35:07] <ss23> Fatal error: Class 'Dataextension' not found
1418: [23:35:12] * DigNZ quit (Quit: DigNZ)
1419: [23:35:17] <ss23> Now you tell me "Oh yeah, that doesn't exist in 2.4, you have to not make it a module"?
1420: [23:35:29] <AlphaCactus> try a capital E
1421: [23:35:34] <ss23> Tried that
1422: [23:35:49] <AlphaCactus> oh, ur working in 2.4
1423: [23:35:54] <ss23> Pyromanik: I swear
1424: [23:35:57] <willr__> Can you do outside SS in like 20 minutes then? I'll show you the fine dining of Oaks.
1425: [23:36:05] <ss23> Pyromanik: If you told me I could do it and made me change all of that shit and it turns out you were wrong
1426: [23:36:08] <ss23> I'M GOING TO BE MAD
1427: [23:36:19] <ss23> willr__: Just lemme check I have no tickets I said I would get done by midday, sec
1428: [23:36:22] <simon_w> ss23, DataObjectDecorator
1429: [23:37:02] <ss23> looks like it works
1430: [23:37:15] <ss23> willr__: kk, wanna gimmie a text when you're here? 0277263555
1431: [23:37:30] <ss23> simon_w: Is it equiv to 3.0 dataextensions?
1432: [23:37:36] <simon_w> pretty much
1433: [23:37:50] <Peavers> Does someone mind pointing out what file the code is in the Widgets mod that groups blog posts together by months?
1434: [23:38:23] <Peavers> I want to ninja it.
1435: [23:38:51] <simon_w> Peavers, it'll be in blog/code/widgets/
1436: [23:39:06] <ss23> http://api.silverstripe.org/2.4/class-DropdownField.html singleton('MyObject')->dbObject('Country')->enumValues()
1437: [23:39:11] <Peavers> explains why I can't find it in the widget code ;) chur chur
1438: [23:39:14] <ss23> Fatal error: Call to undefined method CountdownWidget::dbObject()
1439: [23:39:36] <ss23> Do I need to extend/implment something, or can I just not use this with DataObjectDecorators?
1440: [23:39:44] <simon_w> ss23, $this->owner->dbObject
1441: [23:39:56] <ss23> Thanking you
1442: [23:40:02] <ss23> I'm on my way to being SS pro
1443: [23:40:03] <ss23> :D
1444: [23:40:18] <simon_w> You ask the IRC channel, like everyone else? :p
1445: [23:40:37] <simon_w> Bah, DOMDocument::schemaValidate() isn'
1446: [23:40:42] <simon_w> isn't playing nice :(
1447: [23:41:03] <ss23> simon_w: Does $this->owner have the dbObject stuff of the extension?
1448: [23:41:08] <ss23> $fields->addFieldToTab('Root.CountdownWidget', new DropdownField('CountdownFormat', 'Countdown Format', $this->owner->dbObject('CountdownFormat')->enumValues()));
1449: [23:41:15] <Pyromanik> <% include HomeFeature imw=1100 imh=300 wide=1 %>
1450: [23:41:18] <Pyromanik> am I doing it wrong?
1451: [23:41:22] <ss23> and in that Countdown Widget, $db -- 'CountdownFormat' => "Enum('Vertical')",
1452: [23:41:24] <simon_w> ss23, well, it's the DataObject the extension's applied to
1453: [23:41:37] <ss23> Soi that code should work, right?
1454: [23:41:42] <ss23> Since after it's applied, it has those DB fields?
1455: [23:41:49] <ss23> Fatal error: Call to a member function enumValues() on a non-object
1456: [23:42:45] <simon_w> Pyromanik, comma separated
1457: [23:43:00] <simon_w> ss23, are you using extraStatics()?
1458: [23:43:08] <ss23> simon_w: Now, what is that? Should I use it?
1459: [23:43:16] <simon_w> It's what 2.4 needs :p
1460: [23:43:20] <ss23> lol
1461: [23:43:22] <ss23> linky / how to use?
1462: [23:43:35] <simon_w> http://doc.silverstripe.org/framework/en/2.4/reference/dataobjectdecorator
1463: [23:44:20] * willr__ quit (Quit: willr__)
1464: [23:44:28] <ss23> I see
1465: [23:46:30] <Pyromanik> simon_w: ah, thanks
1466: [23:46:49] <Pyromanik> simon_w: nup :<
1467: [23:46:56] <Pyromanik> [User Error] Uncaught SSTemplateParseException: Parse error in template on line 11. Error was: Unknown open block "loop" encountered. Perhaps you missed the closing tag or have mis-spelled it?
1468: [23:47:04] <ss23> A+ would buy simon_w burgerfuel again
1469: [23:47:05] <ss23> o/
1470: [23:47:06] <Pyromanik> if I remove the include line there, it works fine
1471: [23:47:29] <Pyromanik> ss23 is learning!
1472: [23:47:32] <ss23> :D
1473: [23:47:34] * willr__ has joined #silverstripe
1474: [23:47:34] * willr__ quit (Changing host)
1475: [23:47:34] * willr__ has joined #silverstripe
1476: [23:47:35] <Pyromanik> it's like watching your kids grow up...
1477: [23:47:36] <simon_w> Pyromanik, perhaps the include is broken?
1478: [23:47:42] <ss23> Pyromanik: ;_;
1479: [23:47:48] <Pyromanik> simon_w: wouldn't that error in the include parser though?
1480: [23:47:50] * daniel_p quit (Remote host closed the connection)
1481: [23:47:54] <ss23> willr__: So yep, good for lunch, gimmie a text when you're here? 0277263555
1482: [23:47:58] <Pyromanik> does ss3 parse each file separately?
1483: [23:48:09] <simon_w> Pyromanik, is it actually telling you which file?
1484: [23:48:11] <Pyromanik> or does it pull the include code into the 'main' template and render that?
1485: [23:48:34] <Pyromanik> simon_w: nope, but the only file with a loop on line 11 is the one with the include line in it
1486: [23:48:50] <simon_w> Pyromanik, what's your include line?
1487: [23:49:02] <Pyromanik> which co-incides with the string ouptut the trace is giving me
1488: [23:49:09] <Pyromanik> <% include HomeFeature, imw=1100, imh=300, wide=1 %>
1489: [23:49:21] <simon_w> drop the first comma
1490: [23:49:28] <simon_w> <% include HomeFeature imw=1100, imh=300, wide=1 %>
1491: [23:49:30] <Pyromanik> urgh :<
1492: [23:49:37] <Pyromanik> what a trap
1493: [23:49:47] <simon_w> ss23, you should deliver me lunch!
1494: [23:49:50] <Pyromanik> yeh, is working now, thanks :)
1495: [23:49:52] <simon_w> CBF going to get it
1496: [23:50:00] <Pyromanik> haha simon_w
1497: [23:50:04] <ss23> simon_w: If willr__ wants to... :P
1498: [23:50:05] <Pyromanik> but fresh air and leg muscles!
1499: [23:50:16] <ss23> simon_w: Does the default OSX sendmail work by default/
1500: [23:50:16] <simon_w> but lazy!
1501: [23:50:22] * willr__ quit (Client Quit)
1502: [23:50:23] <simon_w> ss23, yes
1503: [23:50:24] <ss23> Cause I think I acidently just spamme dlike 20 people at this site...
1504: [23:50:25] <ss23> fuck.
1505: [23:50:37] <simon_w> port 25 should be blocked though
1506: [23:50:43] <ss23> So that means it won't spam them?!
1507: [23:50:46] <simon_w> Try sending yourself an email using it?
1508: [23:51:29] <Pyromanik> guts, my include magic doesn't work
1509: [23:51:55] <Pyromanik> simon_w: .CroppedImage($imw, $imh) is a no goer. is it bug or am I just misunderstanding include vars?
1510: [23:52:10] <Pyromanik> or template vars in general?
1511: [23:52:15] <simon_w> Pyromanik, bug!
1512: [23:52:20] <Pyromanik> FFFFFFFFF :<
1513: [23:52:22] <simon_w> ss23, also, use something like Email::send_all_emails_to(exec('whoami') . '@pocketrent.com');
1514: [23:52:31] <Pyromanik> simon_w: is 3.0.5
1515: [23:52:37] <simon_w> Pyromanik, is what I was working on at the hackathon
1516: [23:52:38] <Pyromanik> is this what you fixed at hackfest?
1517: [23:52:41] <Pyromanik> yeh right
1518: [23:52:44] <Pyromanik> thought so
1519: [23:52:45] <Pyromanik> dammit
1520: [23:52:52] <simon_w> https://github.com/silverstripe/silverstripe-framework/pull/2028
1521: [23:52:59] <simon_w> Not finished yet, but does fix your case
1522: [23:53:08] <Pyromanik> nah, I think I'll just many <% if %>s
1523: [23:53:11] <simon_w> should just be able to apply it
1524: [23:53:16] <Pyromanik> probably
1525: [23:53:17] <Pyromanik> but
1526: [23:53:19] <Pyromanik> like urgh
1527: [23:53:24] <Pyromanik> core hack no good
1528: [23:53:39] <ss23> I can do that in ss environment, simon_w?
1529: [23:53:57] <simon_w> ss23, if you load the email class, yes
1530: [23:54:36] <simon_w> ss23, or, define('SS_SEND_ALL_EMAILS_TO', 'mummy@ss.geek.nz');
1531: [23:55:17] <ss23> lol
1532: [23:55:27] <ss23> I think you'll find her email address was mother@ss23.geek.nz, not mummy!
1533: [23:55:33] <ss23> willr_ never replied.
1534: [23:55:38] <ss23> Is he getting lunch?
1535: [23:56:25] <ss23> oh yay
1536: [23:56:30] <simon_w> hmm, w3.org is stopping my validation working
1537: [23:56:33] <ss23> simon_w: willr_ says "Ask simon_w if he wants to join
1538: [23:56:34] <ss23> "
1539: [23:56:34] * mattybalaam quit (Quit: mattybalaam)
1540: [23:56:45] <ss23> and he also says "ss23 rules simon_w is way lamer than ss23"
1541: [23:56:45] <simon_w> Might as well
1542: [23:56:58] <ss23> simon_w: Want to walk down here? willr_ will be here in ~15
1543: [23:57:09] <ss23> If we're going to burgerfuel, it'll work better that way
1544: [23:57:14] <ss23> (and it means I won't have ot walk :D)
1545: [23:57:14] <simon_w> He said Oaks
1546: [23:57:15] <ss23> wait no
1547: [23:57:17] <ss23> we're going to oaks, ya
1548: [23:57:19] <ss23> Where is that?
1549: [23:57:20] <Pyromanik> he said oaks
1550: [23:57:24] <ss23> Pyromanik: I HEARD
1551: [23:57:25] <ss23> ;_;
1552: [23:57:26] <Pyromanik> next to an oak tree?
1553: [23:57:26] * ss23 dies
1554: [23:57:28] <ss23> lol
1555: [23:57:31] <ss23> No, that would be Oak
1556: [23:57:37] <Pyromanik> I'm not even going and I know that, GOSH
1557: [23:57:38] <ss23> this one must be in between two or more
1558: [23:57:43] <simon_w> cuba, so should still walk that way
1559: [23:57:49] <ss23> lol kk
1560: [23:57:50] * DigNZ has joined #silverstripe
1561: [23:57:58] <ss23> Is Cuba the next one up for me, right? (or maybe 2 more up)?
1562: [23:58:09] <ss23> I recognize cuba, cause no cars, but dunno where I am in relation to it
1563: [23:58:10] <simon_w> It's the one with the bucket fountain!
1564: [23:58:14] <ss23> XD
1565: [23:58:18] <ss23> Yeah, I know which one it is!
1566: [23:58:23] <ss23> It has an indian place I went to on it once
1567: [23:58:23] <simon_w> first one after Taranaki
1568: [23:58:25] <ss23> And a kebab place
1569: [23:58:34] <ss23> sweet, so yep, next one up from me
1570: [23:59:19] <simon_w> And since I'm actually charging SS for today's hours, I should probably stop my tracker for once
1571: [23:59:25] <ss23> haha
1572: [23:59:29] <ss23> We can afford it!
1573: [23:59:36] <ss23> simon_w: So as for displaying this widget, in my Template, I should have in sidebar.ss, $CountdownWidget, then my extensions function CountdownWidget will be called?
1574: [23:59:48] <simon_w> yes

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