#silverstripe IRC Log

IRC log for 26 December 2013

All timestamps are in UTC.

1: [00:32:49] * simon_w quit (Quit: Leaving)
2: [00:56:21] * abitran quit (Ping timeout: 252 seconds)
3: [00:56:33] * abitran has joined #silverstripe
4: [01:50:24] * arnsoda has joined #silverstripe
5: [01:51:40] * arnsoda has left #silverstripe
6: [02:04:46] * iamss has joined #silverstripe
7: [02:05:48] <iamss> Good Day SilverStripe! how do I upgrade a 2.4.12 SS version to 2.4.13 , should I replace the whole cms/ saphire and the index.php and add the vendor as well?
8: [02:24:17] * jrthomer_ has joined #silverstripe
9: [02:27:43] * Avrocept1r has joined #silverstripe
10: [02:28:07] * Snowman24 has joined #silverstripe
11: [02:31:01] * mrzero_ has joined #silverstripe
12: [02:31:06] * mrzero quit (Remote host closed the connection)
13: [02:31:09] * mrzero_ is now known as mrzero
14: [02:33:59] * jrthomer quit (*.net *.split)
15: [02:33:59] * Snowman23 quit (*.net *.split)
16: [02:33:59] * Avroceptyr quit (*.net *.split)
17: [02:37:51] <Snowman24> I split!
18: [02:37:51] <Snowman24> :(
19: [02:37:51] * oskarholo quit (Ping timeout: 240 seconds)
20: [02:37:56] * Snowman24 is now known as Snowman23
21: [02:38:18] <Snowman23> iamss: That will probably work, yes! Make sure to do it locally or on a test server first, just in case :)
22: [02:40:07] * oskarholo has joined #silverstripe
23: [02:41:27] <iamss> @Snowman24: alright thanks :)
24: [02:48:33] * iamss quit (Ping timeout: 272 seconds)
25: [02:57:02] * oskarholo quit (Ping timeout: 240 seconds)
26: [02:59:09] * oskarholo has joined #silverstripe
27: [04:28:31] * cloph quit (Ping timeout: 240 seconds)
28: [04:32:21] * openbees has joined #silverstripe
29: [04:33:35] * cloph_away has joined #silverstripe
30: [04:34:08] <openbees> is there any way to redirect user to home page after logout from admin ? by default it redirects to login page !
31: [04:51:14] <openbees> overwriting LeftAndMain_Menu.ss works !
32: [07:52:08] * Azure quit (Quit: My MBP went to sleep.)
33: [08:05:37] * openbees quit (Ping timeout: 240 seconds)
34: [08:21:44] * abitran quit (Ping timeout: 260 seconds)
35: [08:21:58] * abitran has joined #silverstripe
36: [08:45:09] * new_learner has joined #silverstripe
37: [08:45:28] <new_learner> Action 'gerar_info_praia' isn't allowed on class Page_Controller.....what can be the solution to this error?
38: [09:37:08] * Avrocept1r quit (Changing host)
39: [09:37:08] * Avrocept1r has joined #silverstripe
40: [09:37:14] * Avrocept1r is now known as Avroceptyr
41: [09:57:26] * oskarholo quit (Ping timeout: 240 seconds)
42: [09:58:37] * oskarholo has joined #silverstripe
43: [10:39:11] * zippy__ has joined #silverstripe
44: [10:39:37] * gcoderre has joined #silverstripe
45: [10:45:19] * gcoderre quit (Quit: gcoderre)
46: [11:19:35] * xylone_x has joined #silverstripe
47: [11:20:55] * xylone_x quit (Client Quit)
48: [11:39:46] * zippy__ quit (Quit: zippy__)
49: [11:44:14] <new_learner> what does this function do :$arrUrlData = $this->getURLParams(); ?
50: [12:06:15] * new_learner quit (Quit: Page closed)
51: [12:35:04] * ARNHOE has joined #silverstripe
52: [12:38:40] * SphereSilverNL has joined #silverstripe
53: [12:48:36] * Pyromanik has joined #silverstripe
54: [12:59:08] <SphereSilverNL> What's the quickest way, preferably in template, to detect if an object has a specific many_many relation to another?
55: [13:19:10] <SphereSilverNL> Nevermind, got it.
56: [14:23:03] * oskarholo quit (Ping timeout: 240 seconds)
57: [14:38:35] * zfmf has joined #silverstripe
58: [15:08:10] * ARNHOE quit (Ping timeout: 240 seconds)
59: [15:14:25] * guzzlefry has joined #silverstripe
60: [15:27:03] * catcher has joined #silverstripe
61: [15:30:13] <SphereSilverNL> Hmmm, Forum module gives errors on SS3.1, anyone got any experience with it?
62: [15:35:31] * tester has joined #silverstripe
63: [15:35:36] <tester> Hi
64: [15:35:42] <guzzlefry> hello
65: [15:36:52] <tester> i installed the cms on xampp, but the login admin / test which i set does not work?
66: [15:37:18] * ARNHOE has joined #silverstripe
67: [15:38:53] <tester> when i copy the cms on the shop bundle and call the Migration Task it shows : Fatal error: Call to undefined method MemberTableField::addPermissions() in C:\xampp\htdocs\silverstripe\sapphire\_config.php on line 17
68: [15:39:00] <tester> beside that, that login does not work
69: [15:39:06] <tester> is thecms maybe not compatible with xampp?
70: [15:41:51] * tester quit (Quit: Page closed)
71: [15:42:31] <guzzlefry> 0.o
72: [15:46:07] <guzzlefry> Snowman23: Are you around?
73: [15:46:28] <guzzlefry> Or any devs.
74: [15:47:57] <guzzlefry> I've found some inconsistencies within the API docs that I'd like to fix. What's the preferred way to handle this? Should I fork and PR a single commit or throw up bugs on GitHub and fix them in bulk?
75: [15:48:47] <SphereSilverNL> tester: did you do a dev/build?flush=all
76: [15:49:13] <SphereSilverNL> guzzlefry: Via github: silverstripe-framework/docs/yourtopic/yourfile.md
77: [15:49:20] <SphereSilverNL> edit it and send a pull request
78: [15:50:05] * mojo5000 has joined #silverstripe
79: [15:50:24] <SphereSilverNL> Anyone know of an extremely simple Silverstripe forum module? The official is a bit too much overkill, plus it's gonna take me weeks of editing to get in in line with my design.
80: [15:50:25] <guzzlefry> SphereSilverNL: There are the PHPDoc tags.
81: [15:50:33] <guzzlefry> These*
82: [15:50:46] <SphereSilverNL> than, edit them in the actual file
83: [15:50:50] <SphereSilverNL> and send a pull request
84: [15:51:13] <SphereSilverNL> Method:
85: [15:51:17] <SphereSilverNL> 1. Create fork
86: [15:51:25] <SphereSilverNL> 2. Create a feature-branch
87: [15:51:30] <SphereSilverNL> 3. Make your changes
88: [15:51:43] <SphereSilverNL> 4. Send pull-request on your feature-branch to the 3.1 master
89: [15:52:50] <guzzlefry> ah, got it
90: [15:52:51] <guzzlefry> thanks
91: [15:52:52] <SphereSilverNL> *FROM your feature-branch, ofcourse
92: [15:53:05] <guzzlefry> So that way my 8 billion commits will turn into a single one when merged?
93: [15:53:52] <SphereSilverNL> Try to keep it in 1 commit, if they're all just PHPDoc edits, just commiting them as 1 "UPDATE: PHPDoc improvements" is better
94: [15:54:10] <SphereSilverNL> (Or whatever you like, just stick to the commit-message-rules ;) )
95: [15:54:26] <guzzlefry> yep, I'll have to read over that stuff.
96: [15:54:34] <SphereSilverNL> Or, commit them all separately, but squash them before requesting the pull
97: [15:55:18] <SphereSilverNL> I'm still having issues with how to properly describe the pull-request I add, even after hundreds of times reading the "how to send a pull request" docs ;)
98: [15:56:18] <guzzlefry> docs need work... :P
99: [15:56:45] <SphereSilverNL> Orly
100: [15:58:01] <guzzlefry> yah
101: [15:58:03] <guzzlefry> srsly
102: [15:58:20] * guzzlefry has flashbacks to his teenage years.
103: [15:58:32] <SphereSilverNL> I did update/write some docs, but I'm really bad at communicating or documentation.
104: [15:58:41] <SphereSilverNL> I usually end up including a ASCII cow :/
105: [15:59:35] <SphereSilverNL> Something like this, scroll to the bottom: https://github.com/Firesphere/silverstripe-newsmodule/blob/master/README.md
106: [15:59:52] <guzzlefry> haha
107: [15:59:53] <guzzlefry> awesome
108: [16:24:47] * zfmf quit (Remote host closed the connection)
109: [16:39:00] <guzzlefry> Does anyone have an example of using FileField?
110: [17:19:06] * Azure has joined #silverstripe
111: [17:25:28] * zfmf has joined #silverstripe
112: [17:26:15] * Azure quit (Ping timeout: 245 seconds)
113: [17:28:59] <guzzlefry> How is the OwnerID in the File table used?
114: [17:29:36] <guzzlefry> Seems to correspond to the ID of the Member that uploaded the file, but that isn't reflected in the CMS.
115: [17:30:04] * zfmf quit (Ping timeout: 272 seconds)
116: [17:30:59] * nhorstmeier has joined #silverstripe
117: [17:43:03] * mojo5000 quit (Ping timeout: 240 seconds)
118: [17:52:55] <guzzlefry> Upload::load() is doing some funky stuff.
119: [17:54:00] <guzzlefry> it's versioning directories...
120: [18:01:57] * zfmf has joined #silverstripe
121: [18:06:15] * zfmf quit (Ping timeout: 246 seconds)
122: [18:14:35] * nhorstmeier quit ()
123: [18:14:49] * mojo5000 has joined #silverstripe
124: [18:16:23] * mojo5000 quit (Remote host closed the connection)
125: [18:16:50] * mojo5000 has joined #silverstripe
126: [18:18:51] * mojo5000_ has joined #silverstripe
127: [18:18:52] * mojo5000 quit (Read error: Connection reset by peer)
128: [18:47:51] * Azure has joined #silverstripe
129: [19:02:42] * zfmf has joined #silverstripe
130: [19:07:11] * zfmf quit (Ping timeout: 252 seconds)
131: [19:17:53] * zippy__ has joined #silverstripe
132: [19:25:32] * zfmf has joined #silverstripe
133: [19:29:43] * zfmf quit (Ping timeout: 246 seconds)
134: [19:42:56] * ARNHOE quit ()
135: [19:46:47] * zippy__ quit (Quit: zippy__)
136: [21:03:39] * gelignite has joined #silverstripe
137: [21:04:38] * zfmf has joined #silverstripe
138: [21:18:28] * zfmf quit ()
139: [21:25:40] * SphereSilverNL quit (Quit: bye)
140: [22:04:41] * nimeso has joined #silverstripe
141: [22:06:01] <nimeso> Anyone know how to print out $Created as a time stamp in a template? eg: $Created.TimeStamp ?
142: [22:06:22] <guzzlefry> nimeso: timestamp?
143: [22:06:32] <guzzlefry> unix epoch?
144: [22:08:51] <nimeso> Hey Guzzle :) happy xmas and all that BTW... yer, timestamp as in big arse number... not formated to a readable date
145: [22:10:04] <nimeso> if you go $Created in a template it formats the timestamp by default. but I just need the raw timestamp... I'm just gonna write my own method in Page.php me thinks
146: [22:10:11] <guzzlefry> nimeso: $Created.format("U")
147: [22:10:13] <guzzlefry> I think...
148: [22:10:23] <nimeso> Ohhhh AhhhH! will try :)
149: [22:10:27] <guzzlefry> format will take all of the arguments that http://www.php.net/manual/en/function.date.php does.
150: [22:11:41] <nimeso> Thanks heaps G! jez, why did I not think of that... I owe you a beer!
151: [22:12:07] <guzzlefry> no problem. :P
152: [22:12:15] <guzzlefry> These things aren't that obvious.
153: [22:12:24] <nimeso> You in NZ guzzle?
154: [22:12:43] <guzzlefry> nope, U.S.
155: [22:12:51] <guzzlefry> Florida
156: [22:14:33] <nimeso> Wow! :) why the hell are you working at 5pm just after xmas! lol. Cold?
157: [22:15:24] <guzzlefry> heh
158: [22:15:27] <guzzlefry> I was working yesterday too :P
159: [22:15:38] <guzzlefry> I think it's only around 50F right now.
160: [22:41:25] * Azure quit (Quit: My MBP went to sleep.)
161: [22:52:12] * Pyromanik has joined #silverstripe
162: [23:00:53] * catcher quit (Quit: Leaving)
163: [23:20:57] * Azure has joined #silverstripe
164: [23:24:44] * abitran quit (Ping timeout: 272 seconds)
165: [23:24:58] * abitran has joined #silverstripe
166: [23:28:05] * Pyromanik quit (Ping timeout: 246 seconds)
167: [23:31:12] * Pyromanik has joined #silverstripe
168: [23:47:08] * SphereSilverNL has joined #silverstripe
169: [23:59:12] <SphereSilverNL> It's 1AM, 2nd day of christmast, aka Boxing day.
170: [23:59:16] <SphereSilverNL> Guess what I'm doing :/

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