#silverstripe IRC Log

IRC log for 23 December 2013

All timestamps are in UTC.

1: [00:00:54] <New> Hmm, how to get the result of handleAction to popup?
2: [00:00:56] <simon_w> Also, screw going to Mt Vic
3: [00:01:02] <Snowman23> :D
4: [00:03:06] <New> ok, what I mean is that say the result is "Sample result 45"" after handleAction() executed when custom action button is clicked. How can I display the result? For example, on popup.
5: [00:12:02] * willr quit (Quit: willr)
6: [00:29:52] * camfindlay has joined #silverstripe
7: [00:29:55] <New> @willr, thanks it works. how to place the custom action button before edit (it defaults to appear after delete button) and add an icon to it?
8: [00:37:48] * camfindlay quit (Quit: camfindlay)
9: [00:39:26] * Jakx has joined #silverstripe
10: [00:39:30] <Jakx> yo
11: [00:40:29] <Jakx> updating from 3.1.1 to 3.1.2...
12: [00:40:33] <Jakx> Fatal error: Access level to ErrorPage::$db must be public (as in class Page) in...
13: [00:46:02] <Jakx> Solution: needed to change my Page.php $db and other relationships to private variables
14: [00:48:56] * Kolin quit (Quit: Changing server)
15: [01:04:00] <simon_w> Jakx, you sure that's from 3.1.1? That change was needed to go from 3.0 to 3.1
16: [01:04:27] * unsignedint quit ()
17: [01:24:22] * gelignite quit (Quit: http://bit.ly/nkczDT)
18: [01:42:23] * iamss has joined #silverstripe
19: [01:42:37] <iamss> hi SilverStripe!
20: [01:43:09] <iamss> I keep on getting Currency is not supported when I installed the eCommerce Module & paypal express checkout
21: [01:43:31] <iamss> although I am using the default currency which is dollars
22: [01:43:36] <iamss> USD
23: [01:43:54] <iamss> can someone shed some light to my problem please ?
24: [01:59:18] <iamss> Arrrgg! I found out that eCommerce Module default data sets the currency to usd, should be USD uppercase. Aarrrg!
25: [02:11:27] * zippy__ has joined #silverstripe
26: [02:24:25] * zippy__ quit (Quit: zippy__)
27: [02:52:32] <New> Hi, dows anyone know why javascript code is stripped off in renderwith?
28: [02:53:15] <New> <h2>test</h2> <script>alert(hi); </script> when I do in CMS (ajax), I receive html part but javascript is not there
29: [03:31:53] * camfindlay has joined #silverstripe
30: [03:51:29] * SightUnseen has joined #silverstripe
31: [03:52:09] * SightUnseen has left #silverstripe
32: [04:02:26] * openbees has joined #silverstripe
33: [04:05:52] <New> It seems because of ajax render with doesnt load javascript
34: [04:08:53] * openbees quit (Quit: Leaving)
35: [04:20:33] * mobiusnz quit (Quit: Leaving.)
36: [04:32:56] * cloph has joined #silverstripe
37: [04:33:36] * cloph_away quit (Ping timeout: 260 seconds)
38: [04:56:53] * camfindlay quit (Quit: camfindlay)
39: [05:06:39] * iamss quit (Ping timeout: 272 seconds)
40: [05:17:32] * zippy__ has joined #silverstripe
41: [05:21:17] * mobiusnz has joined #silverstripe
42: [05:22:49] * mobiusnz1 has joined #silverstripe
43: [05:22:49] * mobiusnz quit (Read error: Connection reset by peer)
44: [05:29:27] * New quit (Ping timeout: 272 seconds)
45: [06:01:05] * zippy__ quit (Quit: zippy__)
46: [06:10:41] * mobiusnz has joined #silverstripe
47: [06:10:42] * mobiusnz1 quit (Read error: Connection reset by peer)
48: [06:13:02] * mobiusnz quit (Client Quit)
49: [07:09:30] * zippy__ has joined #silverstripe
50: [07:13:44] * mobiusnz has joined #silverstripe
51: [07:18:10] * mobiusnz quit (Ping timeout: 246 seconds)
52: [07:21:49] * Shrike_Finland quit (Quit: Leaving.)
53: [07:24:12] * variab1e quit (Quit: Leaving)
54: [07:33:26] * travis-ci has joined #silverstripe
55: [07:33:27] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1739 (3.1 - 88c59ef : Will Rossiter): The build passed.
56: [07:33:27] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/3f6db0ddae5d...88c59ef0a72f
57: [07:33:27] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/15875207
58: [07:33:27] * travis-ci has left #silverstripe
59: [07:41:57] * Shrike_Finland has joined #silverstripe
60: [08:14:36] * mobiusnz has joined #silverstripe
61: [08:19:17] * mobiusnz quit (Ping timeout: 248 seconds)
62: [08:21:59] * ARNHOE has joined #silverstripe
63: [08:47:12] * Azure quit (Quit: My MBP went to sleep.)
64: [08:51:31] * vogels has joined #silverstripe
65: [08:58:25] <vogels> anyone online?
66: [09:04:21] * chillu has joined #silverstripe
67: [09:05:53] * kinglozzer has joined #silverstripe
68: [09:05:54] * chillu quit (Read error: Connection reset by peer)
69: [09:06:42] * chillu has joined #silverstripe
70: [09:09:49] <vogels> can any one help me with spam protection in comments
71: [09:15:29] * mobiusnz has joined #silverstripe
72: [09:16:13] * zippy__ quit (Quit: zippy__)
73: [09:20:08] * mobiusnz quit (Ping timeout: 260 seconds)
74: [09:25:06] * SightUnseen has joined #silverstripe
75: [09:25:29] * SightUnseen quit (Client Quit)
76: [09:37:14] * chillu quit (Quit: chillu)
77: [10:07:14] * irogue_ quit (Remote host closed the connection)
78: [10:07:31] * irogue23 has joined #silverstripe
79: [10:18:24] * gelignite has joined #silverstripe
80: [10:38:23] * Shashitechno has joined #silverstripe
81: [10:38:48] <Shashitechno> Hello everyone,
82: [10:39:18] <Shashitechno> I want to fire a Sql query with between clause any API method ?
83: [11:21:21] * opalfoot has joined #silverstripe
84: [11:21:32] <opalfoot> does anyone know how to manually log stuff in SS?
85: [11:23:47] <kinglozzer> Debug::log()
86: [11:23:52] <kinglozzer> opalfoot ^
87: [11:24:16] <opalfoot> ah ok
88: [11:24:37] <opalfoot> thinking I need to write logs at various points and was wondering how to do it
89: [11:25:19] <opalfoot> does that work even on production sites?
90: [11:26:30] <kinglozzer> opalfoot: Yep
91: [11:26:48] * micmania1 has joined #silverstripe
92: [11:27:40] <kinglozzer> It'll write to docroot/debug.log
93: [11:27:46] <kinglozzer> So make sure you block it with .htaccess
94: [11:27:56] * Shashitechno quit (Quit: Page closed)
95: [11:28:35] <opalfoot> excellent! is there a way of changing the path at all?
96: [11:30:10] * chillu has joined #silverstripe
97: [11:30:24] * chillu quit (Client Quit)
98: [11:38:18] <kinglozzer> opalfoot: Unfortunately not, it's a very simple function though - you could just copy it to your own class and change the path
99: [11:38:43] <kinglozzer> https://github.com/silverstripe/silverstripe-framework/blob/3.1/dev/Debug.php#L195-L206
100: [11:39:32] * openbees has joined #silverstripe
101: [11:59:37] * Pyromanik has joined #silverstripe
102: [12:00:13] <Pyromanik> How is everyone on the other side of the world today?
103: [12:01:18] <opalfoot> I made a simple function to write logs so its all good
104: [12:09:39] <openbees> snow here :D
105: [12:15:02] * openbees quit (Ping timeout: 248 seconds)
106: [12:17:07] * openbees has joined #silverstripe
107: [12:23:43] * openbees quit (Ping timeout: 246 seconds)
108: [12:33:26] * Pyromanik quit (Ping timeout: 240 seconds)
109: [12:36:39] * openbees has joined #silverstripe
110: [12:37:29] <vogels> how can i check my silverstripe version?
111: [12:37:36] <vogels> i used to be in te right bottom corner
112: [12:39:39] <vogels> found it :)
113: [13:00:18] * opalfoot quit (Quit: Page closed)
114: [13:17:49] * mobiusnz has joined #silverstripe
115: [13:22:49] * mobiusnz quit (Ping timeout: 272 seconds)
116: [13:30:49] * openbees quit (Quit: Leaving)
117: [13:52:01] * ocm has joined #silverstripe
118: [13:58:12] * qlex has joined #silverstripe
119: [13:58:16] * qlex says hi
120: [13:58:39] <qlex> what is the easiest way to have 1 page which is only visible to registered users on ss ?
121: [13:59:03] <qlex> never used this functionality, but i think it exists by default in ss rite ?
122: [14:06:37] <micmania1> qlex, if yo go to the settings tab on a page you will see the options there.
123: [14:11:17] * Pyromanik has joined #silverstripe
124: [14:13:54] <Pyromanik> kinglozzer, you can set the log file in the config iirc
125: [14:14:25] <kinglozzer> Not for Debug::log()
126: [14:14:29] <kinglozzer> For SS_Log I think you cna
127: [14:14:31] <kinglozzer> can*
128: [14:15:04] * toebu has joined #silverstripe
129: [14:16:24] <kinglozzer> Pyromanik: Debug::log() is hard coded to BASE_PATH, unless maybe that's not defined in core - it sounds familiar though
130: [14:17:32] <Pyromanik> hmm
131: [14:17:48] <Pyromanik> maybe it's just the path within the base, I dunno. I don't much log.
132: [14:17:57] <Pyromanik> I just had the sneaky feeling it was settable
133: [14:18:19] <Pyromanik> Rain I can do.
134: [14:18:40] <Pyromanik> Wind... fuck this wind man. Fuck your rain on > 45 degree angles.
135: [14:18:54] <Pyromanik> xD
136: [14:19:03] <Pyromanik> What's it like in your corner kinglozzer?
137: [14:19:36] <kinglozzer> Pyromanik: You're in the UK?
138: [14:19:40] <kinglozzer> Blowy as fuck
139: [14:19:41] <kinglozzer> :P
140: [14:20:18] <kinglozzer> IT'S RAININ SIDEWAYS
141: [14:20:44] <Pyromanik> IKR
142: [14:21:02] <Pyromanik> Reminds me of that scene from forrest gump
143: [14:22:59] <Pyromanik> vogels, are you here?
144: [14:23:34] <kinglozzer> Has anyone else still not finished their Christmas shopping? D:
145: [14:24:36] <Pyromanik> kinglozzer, all of the UK it would seem.
146: [14:25:13] <Pyromanik> I was going to go shopping today, but then without wind resistent rain protection I thought fuckit.
147: [14:25:15] * guzzlefry has joined #silverstripe
148: [14:25:56] <Pyromanik> I hope it's not like this tomorrow too, or that there's at least a wee break so I can go and get food :P
149: [14:26:05] <Pyromanik> Then again, pizza gets delivered right? xD
150: [14:26:39] <guzzlefry> How can I redirect to a new page, but send previous form data?
151: [14:28:51] <guzzlefry> Basically doing this: 1) User submits form 2) If current customer, redirect to next form, if new customer display thank you page, then redirect to next form
152: [14:28:57] <guzzlefry> Kind of convulted. :/
153: [14:30:17] <Pyromanik> very
154: [14:30:28] <Pyromanik> and no simple answer
155: [14:30:34] <Pyromanik> store in session is one
156: [14:30:52] <Pyromanik> Session::set, get, clear
157: [14:31:17] * qlex has left #silverstripe
158: [14:31:42] <Pyromanik> another is perhaps putting a form render in your action.
159: [14:31:54] <Pyromanik> you basically have to have your actions call a factory method, etc.
160: [14:32:05] <Pyromanik> gets a bit of a pain, can be a maintenance nightmare.
161: [14:32:18] <Pyromanik> but doable
162: [14:36:41] <kinglozzer> Whoa, just got those messages through all at once
163: [14:37:30] <kinglozzer> Yeah I intend to do all my shopping tomorrow afternoon :P
164: [14:39:49] <guzzlefry> yeah, not looking forward to implementing this...
165: [14:40:21] * torstein_ quit (Read error: Connection reset by peer)
166: [14:40:30] <Pyromanik> haha kinglozzer, kinglagger
167: [14:41:22] <kinglozzer> guzzlefry: It'll be fine :P, Session::set('CustomerData', $data);... move to next page $form->loadDataFrom(Session::get('CustomerData'));
168: [14:41:34] <kinglozzer> Easy peasy (it'll never be that easy) :D
169: [14:41:59] * kinglozzer blames office internet for lag
170: [14:43:29] * guzzlefry is now confused. :P
171: [14:44:15] <Pyromanik> oh you, guzzlefry
172: [14:44:33] <guzzlefry> also
173: [14:44:55] <guzzlefry> need to figure out this File stuff. :/
174: [14:45:41] <kinglozzer> http://0-media-cdn.foolz.us/ffuuka/board/tg/image/1368/21/1368215696954.jpg
175: [14:45:56] <kinglozzer> Ahh that still makes me chuckle
176: [14:46:08] <guzzlefry> hah
177: [14:46:09] <kinglozzer> guzzlefry: What File stuff? :)
178: [14:47:11] <guzzlefry> Well, I need to let users upload a file. It might end up being simple. I'm just concerned about filename collisions and restricting access to uploaded files.
179: [14:48:41] <kinglozzer> guzzlefry: Use FileField
180: [14:48:54] <kinglozzer> IIRC filename collisions are handled automatically (-1, -2 appended etc)
181: [14:49:35] <guzzlefry> ah, nice
182: [14:49:53] <guzzlefry> thanks :)
183: [14:50:36] <kinglozzer> Restricting access is a little more tricky
184: [14:50:48] <kinglozzer> They won't be able to delete them or anything, though
185: [14:51:03] <guzzlefry> yeah, I'm hoping it's a non-issue.
186: [14:51:35] <guzzlefry> Does SilverStripe have anything built-in to do something like redirect after x seconds?
187: [14:52:38] * Azure has joined #silverstripe
188: [14:55:29] <kinglozzer> Nope, but you can add a meta tag to the page to do it <META http-equiv="refresh" content="5;URL=http://mysite.com/something">
189: [14:55:42] <kinglozzer> Though you have to hard-code the URL, so that sucks :/
190: [14:57:05] <kinglozzer> If it were me, I'd use Requirements::customScript('// some JS to redirect');
191: [14:57:24] * Error404NotFound has joined #silverstripe
192: [14:58:11] <Pyromanik> what the hell, since when did Pizza hutt stop doing deliveries?
193: [14:58:28] <kinglozzer> Or, you could override MetaTags: function MetaTags($includeTitle = true) { $tags = parent::MetaTags($includeTitle); $tags .= '<META http-equiv="refresh" content="5;URL=' . $this->Link('mypage') . '">'; return $tags }
194: [15:00:00] <kinglozzer> What?!
195: [15:00:03] <kinglozzer> They stopped?!
196: [15:00:09] <guzzlefry> 0.o
197: [15:13:19] * Shrike_Finland quit (Quit: Leaving.)
198: [15:19:00] * mobiusnz has joined #silverstripe
199: [15:21:12] <Marvanni2> Where is CurrentMember set ?
200: [15:21:31] <Marvanni2> nvm
201: [15:21:50] <Marvanni2> Member::get_template_global_variables() ...
202: [15:23:38] * mobiusnz quit (Ping timeout: 264 seconds)
203: [15:29:34] <kinglozzer> FUUU
204: [15:29:37] <kinglozzer> I hate emails.
205: [15:29:48] <kinglozzer> Images won't show, the path is definitely 100% correct
206: [15:34:33] <kinglozzer> Works on gmail, not in Mail.app
207: [15:34:36] <kinglozzer> Ffffff
208: [15:46:03] * toebu quit (Remote host closed the connection)
209: [15:46:41] <Pyromanik> lol .app
210: [15:46:52] <Pyromanik> are you still at work kinglozzer?
211: [15:46:59] <micmania1> anybody know if theres an issue with children loading in the site tree? (3.1.2)
212: [15:47:23] <micmania1> More specifically, for pages 3 levels down.
213: [15:47:28] <Pyromanik> nope
214: [15:47:38] <Pyromanik> (dunno)
215: [15:47:54] <kinglozzer> Pyromanik: I don't know what else to call it :P
216: [15:47:57] <kinglozzer> Yeah, still at work
217: [15:49:43] <Pyromanik> kinglozzer, when do Christmas holidays happen?
218: [15:49:55] <kinglozzer> micmania1: It's working for me 3 levels down
219: [15:50:04] <kinglozzer> Pyromanik: Midday tomorrow - 2nd Jan
220: [15:50:34] <Pyromanik> micmania1, maybe try searching logs, I seem to think someone has experienced similar before
221: [15:50:50] <Pyromanik> kinglozzer, that's just the way your boss has laid things out I take it?
222: [15:50:54] <Pyromanik> is that normal?
223: [15:51:07] <micmania1> will do. When I refresh the page it works fine. I was messing with the ?stage earlier so something might have screwed up there
224: [15:51:29] <micmania1> kinglozzer: you're lucky. I'm in full day tomorrow
225: [15:51:32] <Pyromanik> micmania1, hmm, odd indeed.
226: [15:51:48] <Pyromanik> D:
227: [15:52:06] <Pyromanik> most folks in offices back home stop around... probably last Friday.
228: [15:52:22] <Pyromanik> my old job stopped 21 and restarts 12 or so.
229: [15:52:25] <vogels> he Pyromanik
230: [15:52:33] <Pyromanik> hi vogels
231: [15:52:43] <micmania1> I haven't worked xmas eve for a while. Its just the way the days fall this year I think
232: [15:52:43] <vogels> it's the same vogels
233: [15:52:46] <vogels> :)
234: [15:52:56] <Pyromanik> Thought so :)
235: [15:52:58] <kinglozzer> Pyromanik: Yeah, depends on how the days fall like micmania1 said ^^
236: [15:53:12] <kinglozzer> Last year I had much longer off, I had some left over holiday as well
237: [15:53:39] <Pyromanik> the down side is that with such a long break that's coming out of personal annual leave.
238: [15:54:06] <Pyromanik> but many days are holidays, so they're not deducted.
239: [15:54:45] <micmania1> I've only taken about half of my holidays this year so they're carried into next year :D
240: [15:54:58] <micmania1> For when the toon are in europe again haha
241: [15:56:51] <kinglozzer> Ahh good thinking
242: [15:57:28] <kinglozzer> CL or Europa?
243: [15:59:51] * Pyromanik quit (Ping timeout: 240 seconds)
244: [16:00:33] * Pyromanik has joined #silverstripe
245: [16:11:02] <Pyromanik> Am I connected?
246: [16:11:12] <kinglozzer> Yep
247: [16:11:29] <Pyromanik> wifi D:
248: [16:11:33] <Pyromanik> also
249: [16:11:39] <Pyromanik> internet filtering in UK, wtf.
250: [16:12:02] <Pyromanik> "No you can't watch videos on your social network"
251: [16:12:07] * ARNHOE quit ()
252: [16:12:10] <micmania1> kinglozzer, CL obviously lol
253: [16:12:14] <kinglozzer> Yeah my wifi sucks. I had to buy a second router and install it upstairs
254: [16:12:46] <Pyromanik> nah I mean wifi as internet, not personal wireless router to adsl connection
255: [16:13:18] <micmania1> Pyromanik, where are you at the moment?
256: [16:18:10] <Pyromanik> micmania1, UK, you?
257: [16:18:55] * Pyromanik facepalms - the correct answer is obviously "at home", duh.
258: [16:19:46] * mobiusnz has joined #silverstripe
259: [16:24:02] * mobiusnz quit (Ping timeout: 240 seconds)
260: [16:25:37] * jrthomer_ is now known as jrthomer
261: [16:30:05] <micmania1> Pyromanik: aye, UK. Is this where ur originally from? (ps I've always thought you were from NZ)
262: [16:33:06] * kim____ has joined #silverstripe
263: [16:34:28] <kim____> Wondering is someone can help with a problem haven't been able to find an answer to. When trying to save or publish a page status never updates. It appears save actually happens but status text does not reflect this.
264: [16:35:23] <kim____> Also using firebug there are no errors. Version is 2.4.9
265: [16:44:03] <Pyromanik> micmania1, your assumption is correct.
266: [16:45:12] <Pyromanik> kim____, check the return value and make sure it's what is expectd.
267: [16:46:34] <kim____> Response is 200 ok to the post
268: [16:47:28] <kim____> this is also in the response : $('Form_EditForm').updateStatus('Saved (update)');
269: [16:47:50] <Pyromanik> yeah well that needs to actually execute
270: [16:48:20] <kim____> and it does not seem to be
271: [16:50:01] <kim____> do you have any idea what can be preventing this code from executing
272: [16:52:26] <Pyromanik> yes
273: [16:52:36] <Pyromanik> that's not how javascript works.
274: [16:52:42] <Pyromanik> something else is failing somewhere
275: [16:52:53] <Pyromanik> perhaps missing <script> tags around the statement
276: [16:52:56] <Pyromanik> might work
277: [16:52:59] <Pyromanik> dunno, sorry.
278: [16:53:04] <Pyromanik> gotta go out for dinner.
279: [16:54:47] * Error404NotFound quit (Quit: User guilty of hitting the Big Red X...)
280: [16:55:27] * gelignite quit (Ping timeout: 240 seconds)
281: [16:58:08] * Pyromanik quit (Ping timeout: 250 seconds)
282: [17:15:34] * gelignite has joined #silverstripe
283: [17:17:05] * kinglozzer home
284: [17:17:07] <kinglozzer> ciao
285: [17:17:08] * kinglozzer quit ()
286: [17:58:29] * micmania1 quit (Ping timeout: 248 seconds)
287: [18:29:40] * kim____ quit (Quit: Page closed)
288: [18:45:04] * Pyromanik has joined #silverstripe
289: [18:46:25] * micmania1 has joined #silverstripe
290: [18:46:27] * micmania1 quit (Client Quit)
291: [18:59:22] * mojo5000 has joined #silverstripe
292: [19:00:17] <guzzlefry> Do actually automatically render with PageType_action.ss templates if they exist?
293: [19:00:47] <guzzlefry> oh god, my brain is deteriorating...
294: [19:01:04] <guzzlefry> Do actions automatically render with PageType_action.ss templates if they exist? * fixed :P
295: [19:02:43] * mojo5000 quit (Read error: Connection reset by peer)
296: [19:03:04] * mojo5000 has joined #silverstripe
297: [19:06:23] <vogels> Pyromanik you back here /
298: [19:12:13] * travis-ci has joined #silverstripe
299: [19:12:14] <travis-ci> [travis-ci] guttmann/silverstripe-framework#7 (patch-1 - 9c9e5c0 : James Goodman): The build passed.
300: [19:12:14] <travis-ci> [travis-ci] Change view : https://github.com/guttmann/silverstripe-framework/compare/88c59ef0a72f...9c9e5c065686
301: [19:12:14] <travis-ci> [travis-ci] Build details : http://travis-ci.org/guttmann/silverstripe-framework/builds/15898658
302: [19:12:14] * travis-ci has left #silverstripe
303: [19:18:25] * mrzero_ has joined #silverstripe
304: [19:20:32] * andylock1an has joined #silverstripe
305: [19:21:38] * mobiusnz has joined #silverstripe
306: [19:22:06] <simon_w> guzzlefry, yes
307: [19:26:23] * gelignite quit (*.net *.split)
308: [19:26:24] * andylockran quit (*.net *.split)
309: [19:26:25] * mrzero quit (*.net *.split)
310: [19:26:25] * mrzero_ is now known as mrzero
311: [19:27:09] <guzzlefry> yay, thanks
312: [19:32:22] * gelignite has joined #silverstripe
313: [19:33:57] * Jakx quit (Ping timeout: 272 seconds)
314: [19:55:30] <Pyromanik> NOO ZULLAND!
315: [19:55:33] <Pyromanik> gidday
316: [19:55:40] <Pyromanik> good morning.
317: [19:57:23] <simon_w> Morning Pyromanik
318: [19:57:36] <simon_w> Got working internets then?
319: [19:58:39] * SightUnseen has joined #silverstripe
320: [19:59:07] * SightUnseen has left #silverstripe
321: [20:05:49] * [1]Pyromanik has joined #silverstripe
322: [20:06:00] <[1]Pyromanik> haha simon_w - as you see, no.
323: [20:06:19] <[1]Pyromanik> public wifi.
324: [20:06:23] <[1]Pyromanik> well...
325: [20:06:26] * Pyromanik quit (Ping timeout: 246 seconds)
326: [20:06:26] * [1]Pyromanik is now known as Pyromanik
327: [20:06:26] <Pyromanik> 'public'
328: [20:09:18] * pippy__ has joined #silverstripe
329: [20:10:25] * pippy quit (Ping timeout: 245 seconds)
330: [20:11:17] <Pyromanik> turns out they've got this kinda almost cool 'global' wifi network.
331: [20:11:36] <Pyromanik> where a whole bunch of routers and other hot points provide access
332: [20:12:05] <Pyromanik> and if you have a login (which you can get by connecting to the unsecured network) you can just use it like normal webs.
333: [20:12:19] <Pyromanik> except for the part where UK filters the shit out of their interwebs
334: [20:13:24] <Avroceptyr> Pyromanik: you on a junket to the mother country?
335: [20:13:28] <Pyromanik> so kinda like a tomizone I guess but all over the country
336: [20:13:33] <Pyromanik> Avroceptyr, yeh.
337: [20:13:41] <Pyromanik> colonist returned.
338: [20:13:42] <Pyromanik> etc.
339: [20:13:44] <Avroceptyr> Cool haha
340: [20:13:58] <Avroceptyr> If you were Australian, you'd have to stay clear of Old Bailey
341: [20:13:59] <Pyromanik> Avroceptyr, yeh the idea is cool.
342: [20:14:21] <Avroceptyr> I always have a hard time going back there - they keep sending me out :P
343: [20:14:23] * mojo5000 quit (Remote host closed the connection)
344: [20:14:51] * mojo5000 has joined #silverstripe
345: [20:14:59] <Pyromanik> but in reality... I'm not really convinced of this 'nation wide' business. I doubt I'd be able to connect up in almost any location I'd like, but so long as I'm near a BT customer using their default router or one of the commercial providers, I should be good.
346: [20:15:11] <Pyromanik> Avroceptyr, hahaha
347: [20:15:36] <Pyromanik> Avroceptyr, I'm here for 2 years or so.
348: [20:15:48] <Avroceptyr> oh wow, pretty serious then, hey
349: [20:15:59] <Avroceptyr> What do you do to keep out of trouble?
350: [20:16:07] <Pyromanik> Avroceptyr, nfi, just got here.
351: [20:16:17] <Pyromanik> probably go to the pub.
352: [20:16:26] <Avroceptyr> are you going to be working ?
353: [20:16:28] <Pyromanik> although that's likely to get me into a different kind of trouble.
354: [20:16:31] <Avroceptyr> I guess that was the gist :P
355: [20:16:35] <Pyromanik> Avroceptyr, yeh, hence 2 years :P
356: [20:16:52] <Pyromanik> old 'working holiday' visa, now called 'youth mobility'.
357: [20:16:54] <Avroceptyr> haha, okay, more bluntly this time: What are you going to be doing for work :P
358: [20:17:19] <Pyromanik> So the idea is work, travel the shit out of Poland (UK's most hated eu member from what I gather), etc. :P
359: [20:17:29] <Avroceptyr> oh right, sweet
360: [20:17:35] <Pyromanik> Avroceptyr, nfi. Got work for me?
361: [20:18:04] <Pyromanik> Avroceptyr, I came here with only 2 plans.
362: [20:18:12] <Avroceptyr> If you need work, you could have a chat with Wunderkraut - they've offices all over EU. They do web work similar to Silverstripe except with that other CMS that starts with D.
363: [20:18:13] <Pyromanik> 1) get job, 2) start rowing.
364: [20:18:25] <Pyromanik> Fucked shoulder means I can't do the latter or any sort of manual of the former.
365: [20:18:30] <Avroceptyr> They might have some contract work to keep yourself busy
366: [20:18:32] <Pyromanik> so then that pretty much leaves web dev.
367: [20:18:45] <Pyromanik> But the cunts want this thing called a "See Vee"
368: [20:18:49] <Pyromanik> so I dunno what to do.
369: [20:18:56] <Avroceptyr> Do you have a portfolio?
370: [20:19:00] <Pyromanik> nup
371: [20:19:06] * mojo5000 quit (Ping timeout: 252 seconds)
372: [20:19:13] <Avroceptyr> What's your github repo looking like? Write some modules with great care and put them there
373: [20:19:19] <Pyromanik> also, just like everyone else, you've mentioned contract work :P
374: [20:19:30] <Pyromanik> which I understand is a pretty awesome way to do things if you're in London.
375: [20:19:35] <Pyromanik> I'm... not in London.
376: [20:19:38] <Avroceptyr> Well, contract work is the easiest given you want spare time
377: [20:19:45] <Pyromanik> yeh
378: [20:19:56] <Avroceptyr> Permanent work is usually full time or part time
379: [20:19:58] <Pyromanik> I get that, but not too much of it going on in small town northland.
380: [20:20:03] <Avroceptyr> Haha, fair call
381: [20:20:13] <Avroceptyr> Contract means you don't have to be tied to a place
382: [20:20:20] <Pyromanik> yeh I know
383: [20:20:32] <Avroceptyr> I've a friend who is currently on a shitty connection in Vietnam doing dev for a US company
384: [20:20:42] <Avroceptyr> he'll be in Hong Kong soon
385: [20:20:45] <Avroceptyr> etc etc
386: [20:20:50] <Pyromanik> but Missus' research fellowship means she is. Which in turn means I am. Which in turn means... well a few less job ops.
387: [20:21:13] <Avroceptyr> yeah, true - with web dev and internet, your office is in any city you want it to be :)
388: [20:21:25] <Pyromanik> Avroceptyr, that'd be quite Ideal for me, but I'm not sure on the whole working visa and not working in the uk, etc.
389: [20:21:54] <Avroceptyr> Hmm...I've never run into that problem before
390: [20:22:05] <Pyromanik> The only thing I really know for sure is that the bacon here is ABSOLUTELY SHITE.
391: [20:22:17] <Pyromanik> Tastes like dried fish.
392: [20:22:21] <Avroceptyr> I've got an australian business number, and all my web dev work internationally has been through that business
393: [20:22:35] <Avroceptyr> So I've never had to deal with visas, etc
394: [20:22:38] <Pyromanik> I thought you were a Kiwi (in NZ)
395: [20:22:48] <Avroceptyr> Aussie exported to Wellington :)
396: [20:23:02] <Avroceptyr> Been here 2 years, company is starting to make sounds about moving me back
397: [20:23:06] <Pyromanik> Avroceptyr, yeah that'd be ideal. There's an entreprenurial visa
398: [20:23:25] <Pyromanik> where you get to come over here and charge around doing the fuck you want for however long it takes.
399: [20:23:35] <Avroceptyr> haha, perfect :D
400: [20:23:44] <Pyromanik> but you gotta prove provitable companies in the past and all kinds of shit.
401: [20:24:07] <Avroceptyr> You got family, etc at home (NZ)?
402: [20:25:54] <Pyromanik> yeh
403: [20:26:04] <Pyromanik> fucking arseholes all over the fucking internet.
404: [20:26:37] <Pyromanik> CUNT I GET THAT YOU LIKE DOING REVIEWS, BUT TRY NOT TO SPOIL AN __ENTIRE FUCKING SEASON__ In the very TITLE of your blog post, at number THREE on google for "homeland"
405: [20:26:46] <Avroceptyr> hahaha
406: [20:26:47] <Avroceptyr> perfect
407: [20:27:18] <Pyromanik> indeed. Arsehat.
408: [20:38:39] <Snowman23> Woah
409: [20:38:40] <Snowman23> Relax, Pyromanik :O
410: [20:38:46] <Snowman23> Yuo needa chillax and eat some burgerfuel bro...
411: [20:47:24] * gelignite quit (Quit: http://bit.ly/nkczDT)
412: [20:51:59] <guzzlefry> rawr
413: [20:52:25] <simon_w> Yay, BurgerFuel on Thursday :)
414: [20:53:03] <guzzlefry> hrm
415: [20:53:16] <guzzlefry> Is there a way to trigger a redirect inside of a Layout template?
416: [20:53:37] <Snowman23> guzzlefry: Couild do a meta tag I guess?
417: [20:53:50] <guzzlefry> That probably needs to be in <head> though. :/
418: [20:54:02] <simon_w> guzzlefry, you should rethink your approach rather than doing that
419: [20:54:05] <guzzlefry> Can I inject meta tags within the controller?
420: [20:54:37] <guzzlefry> simon_w: like a new page type?
421: [20:54:42] <simon_w> You can do a $this->redirect() within the controller
422: [20:54:59] <simon_w> guzzlefry, no, like so you redirect before hitting the template
423: [20:55:14] <guzzlefry> simon_w: Client is silly and wants a "thank you" page between form steps...
424: [20:55:27] <simon_w> Yes, and?
425: [20:55:28] <guzzlefry> with automagic redirection
426: [20:55:59] <guzzlefry> Wouldn't $this->redirect() be a bit too quick for them to notice the message?
427: [20:56:09] <simon_w> You know you can override Metatags(), right?
428: [20:56:25] <guzzlefry> no
429: [20:56:30] <guzzlefry> I just asked that! :P
430: [20:56:37] <guzzlefry> well, maybe I asked incorrectly.
431: [20:56:47] <guzzlefry> anyway, that's probably the way to go then.
432: [20:56:51] <guzzlefry> Thank you good sir
433: [21:12:50] <Pyromanik> [09:52] <@simon_w> Yay, BurgerFuel on Thursday :)
434: [21:12:52] <Pyromanik> wut?
435: [21:13:06] <simon_w> I'm having BurgerFuel on Thursday
436: [21:13:14] <Pyromanik> Why Thursday?
437: [21:13:30] <simon_w> Because that's when Caitlin arrives
438: [21:13:42] <Pyromanik> oic
439: [21:13:45] <Pyromanik> winning
440: [21:13:50] <Pyromanik> windy new year?
441: [21:13:52] <Pyromanik> http://www.youtube.com/watch?v=Fa13mQ1uK-0&t=7m23s
442: [21:13:55] <Pyromanik> this happened
443: [21:13:59] <Pyromanik> there was a fuck'n maccas
444: [21:14:04] <Pyromanik> a GIRAFFE!
445: [21:14:08] <Pyromanik> but no burger fuel :<
446: [21:14:14] <Pyromanik> I was a little dark.
447: [21:21:37] * Marvanni has joined #silverstripe
448: [21:23:08] <Marvanni> question on canEdit/canView on a PageType.
449: [21:23:48] * Shrike_Finland has joined #silverstripe
450: [21:23:56] * Shrike_Finland1 has joined #silverstripe
451: [21:24:28] <Marvanni> nvm…. thinking out loud gives me the answer I think...
452: [21:27:50] <Pyromanik> :D love/hate it when that happens :<
453: [21:27:52] * Shrike_Finland quit (Ping timeout: 240 seconds)
454: [21:29:30] <Marvanni> it happens me lot :)… when starting to ask the question, forces me to define the problem more accurate, which brings me to the real problem
455: [21:29:38] <Marvanni> most of the time a design flaw...
456: [21:31:22] <Marvanni> still… I would expect that as a Member can't View a Page, but is allowed to Edit it (I know sounds as a weird situation), in the CMS the page should be accesible
457: [21:31:59] <Marvanni> I need to hide some pages in the frontend for admins
458: [21:32:32] * guzzlefry has left #silverstripe
459: [21:45:03] <Pyromanik> Marvanni, I think there's a shortcut in Permission::is_admin() or something like that
460: [21:45:10] <Pyromanik> probably Member::is_admin()
461: [21:45:16] * Pyromanik shrugs
462: [21:45:21] <Pyromanik> poke around the api a little
463: [21:45:41] <Marvanni> the thing is… ADMIN has always all permissions
464: [21:46:21] <Marvanni> so Permission::check('SomeuserPermission'); will rerurn true for admins as well
465: [21:47:46] <simon_w> Marvanni, I would expect you have to be able to view something to be able to view it to edit. You can do a context-aware canView()
466: [21:48:25] <Marvanni> yeah i thought of that as well.. based on current controller, but seems a bit overkill...
467: [21:49:10] <Marvanni> I think I have to rethink the frontend…. the main problem is, to show/hide menus based on canView..
468: [21:49:35] <Marvanni> and some items need to be hidden when you are logged in as an Admin
469: [21:49:37] * mojo5000 has joined #silverstripe
470: [21:52:39] <Marvanni> probably trying to abstract an edge case too much :)
471: [21:52:47] <Marvanni> I hate that
472: [21:58:02] * Shrike_Finland1 quit (Quit: Leaving.)
473: [22:17:17] * blindMoe has joined #silverstripe
474: [22:17:30] <blindMoe> anyone know the url to rebuild the static cache in a 2.4.x installation?
475: [22:17:43] <blindMoe> can't seem to find the article that relates to the 2.4.x branch for static cache that used to have the link in it
476: [22:18:59] <simon_w> blindMoe, go to dev/ and it should be there, otherwise it's in dev/tasks
477: [22:19:21] <blindMoe> simon_w: thanks.. didn't know /dev listed out the available tasks
478: [22:21:10] * willr has joined #silverstripe
479: [22:26:56] * Azure quit (Ping timeout: 260 seconds)
480: [23:00:22] * micmania1 has joined #silverstripe
481: [23:01:08] * willr quit (Quit: willr)
482: [23:04:11] * Marvanni_ has joined #silverstripe
483: [23:04:55] * Marvanni quit (Read error: Operation timed out)
484: [23:05:41] * willr has joined #silverstripe
485: [23:05:44] * willr quit (Changing host)
486: [23:05:44] * willr has joined #silverstripe
487: [23:15:04] <Pyromanik> Happy lunch time y'all.
488: [23:15:09] <Pyromanik> Bed time :<
489: [23:15:23] <Pyromanik> too much wine :/
490: [23:22:31] <willr> Pyromanik is in the wrong timezone.
491: [23:24:55] <simon_w> Turns out the error handler can't email you about warnings thrown in the error handler
492: [23:30:35] <spronk> he is indeed
493: [23:30:42] <spronk> we are in the superior timezone
494: [23:30:46] <spronk> ahead of everyone else
495: [23:31:02] <spronk> as far as they are concerned we're pretty much futuristic
496: [23:38:51] * nickmolhoek has joined #silverstripe
497: [23:39:11] <vogels> hello ppl
498: [23:39:48] <spronk> hello tasty bread
499: [23:39:53] <spronk> OM NOM NOM NOM
500: [23:39:55] <vogels> I have added recapcha on the comment field in SS
501: [23:40:11] <vogels> but want to align it differently
502: [23:40:29] <vogels> to the right i.s.o. to the left
503: [23:40:49] <vogels> http://deouwskuur.gijsvogels.nl/gastenboek/
504: [23:41:23] <vogels> i tryed to do that in my site CSS but it keeps sticking to the right
505: [23:42:00] <vogels> any ideas
506: [23:43:47] <willr> so you want it on the right? currently left aligned? div#recaptcha_widget_div.recaptcha_nothad_incorrect_sol.recaptcha_isnot_showing_audio { float: right; }
507: [23:45:42] <vogels> damn
508: [23:45:46] <vogels> why is this wotking
509: [23:45:52] <vogels> i dit the same
510: [23:49:00] <vogels> whoops.....
511: [23:49:02] <vogels> typo
512: [23:49:04] <vogels> :)
513: [23:49:10] <vogels> thanks willlr
514: [23:49:14] <vogels> -l
515: [23:50:42] <vogels> i'm of
516: [23:52:26] <willr> Web Inspector tool FTW
517: [23:55:16] * nickmolhoek quit (Quit: nickmolhoek)
518: [23:55:53] * vogels quit (Ping timeout: 272 seconds)

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