#silverstripe IRC Log

IRC log for 8 April 2015

All timestamps are in UTC.

1: [00:27:43] * Sticks has joined #silverstripe
2: [00:29:18] * Tanger has joined #silverstripe
3: [00:32:02] <antmas> Tanger: hey frank :D o/
4: [00:32:10] <Tanger> :P
5: [00:32:12] <Tanger> Hey Antmas
6: [00:42:53] <Tanger> Boooo! My shell plugin has replaced my command key with shift in VI
7: [00:45:45] <Tanger> It's gonna be ONE OF THOSE DAYS
8: [01:38:29] * helenclarko has joined #silverstripe
9: [01:39:58] <helenclarko> Has Unclecheese moved to New Zealand yet? His Moving to New Zealand posts on Left and Main are quite the interesting read.
10: [01:40:00] * UncleCheese quit (Read error: Connection reset by peer)
11: [01:40:54] <Ryan-Toast> helenclarko: he moved ages ago.
12: [01:41:29] <helenclarko> Oh haha, these posts dont have years.
13: [01:41:43] <Ryan-Toast> :P
14: [01:47:34] <Stomach> yeah like 2 years ago
15: [01:48:46] <Hailwood> Hey guys, is there an easy way to replace a file in SS 3?
16: [01:52:10] <Stomach> what kind of file
17: [01:52:42] <Stomach> Object::useCustomClass() can be used to replace most things with a custom class for use in php land
18: [01:54:05] <Ryan-Toast> When you realise you’ve been listening to the same song on repeat for the last twenty minutes.
19: [01:54:50] <antmas> Ryan-Toast: I do that all the time :/
20: [01:55:01] <antmas> then I have an earworm for a week :C
21: [01:57:36] <Hailwood> Stomach, Ah, I meant like an image you've uploaded but I just realized that in files if you upload a file with the same name it should ask you if you want to override it.
22: [01:59:17] <Hailwood> Stomach, Looks like there must be a config setting somewhere, or it's a difference between 3.0 and 3.1 the 3.1 site is asking to override, the 3.0 site is just appending an incrementing number if they're duplicates.
23: [01:59:25] <Hailwood> Any ideas where I can find this value?
24: [02:02:42] * helenclarko quit (Quit: Page closed)
25: [02:02:52] <antmas> Ryan-Toast: check your pics for home screen layout - looks good!
26: [02:03:04] <Ryan-Toast> antmas: Hmm?
27: [02:03:17] <antmas> Ryan-Toast: you posted some pics, I couldn't view them
28: [02:03:19] <Hailwood> Hmm, what is up with the sidebar on the SS docs 404 page... http://doc.silverstripe.org/en/404
29: [02:03:20] <antmas> now I can, looks good
30: [02:03:24] <Ryan-Toast> antmas: Ah, right :D
31: [02:03:51] <Ryan-Toast> Hailwood: It’s looping Menu(1)
32: [02:03:55] <Ryan-Toast> what;’s the issue?
33: [02:09:56] <ss-helper> Re: Set CheckboxField to checked as default - http://www.silverstripe.org/community/forums/general-questions/show/8965#post401147
34: [02:17:01] <Hailwood> Ok, so can anyone tell me what I need to stick in the config.yml to enable or disable the ability to override files when uploading them via the assets admin?
35: [02:23:10] <Stomach> Hailwood - you need 3.1
36: [02:23:26] <Stomach> not sure if you can enable or disable it even
37: [02:29:33] <antmas> ss23: hey are you able to add someone to our gitlab setup?
38: [02:29:43] <antmas> or do I need to ticketytickety
39: [02:29:49] <ss23> Uh, needa do a ticket, but it's fast
40: [02:29:56] <ss23> So I mean, I can do it a soon as you make the ticket if you want
41: [02:31:02] <antmas> ss23: chur, will put one through
42: [02:32:14] <Hailwood> *client: can you please debug this issue on my site - no you cannot have access to the server or the code*
43: [02:33:17] <Hailwood> Anyone know if in SS 3.0 if you delete a file - does it actually delete it? client is complaining that if they delete one of their files and then upload a file with the same name then it's ending up getting the incrementing number appended.
44: [02:33:19] <adrexia> <Stomach> Hailwood - you need 3.1
45: [02:33:24] <adrexia> yep that came in 3.1
46: [02:34:02] <antmas> ss23: #10313 Add users to GitLab :D
47: [02:34:10] <adrexia> you could probably back port it, but better just to upgrade :D
48: [02:34:34] <Hailwood> Ha, that's what I'm trying to tell the client!
49: [02:34:42] <adrexia> good luck!
50: [02:34:51] <adrexia> 3.1 is a whole lot less buggy
51: [02:34:57] <adrexia> and the upgrade isn't hard
52: [02:35:07] <adrexia> (or shouldn't be)
53: [02:35:41] <adrexia> really I think 3.0 is just the alpha version of 3.1 ;)
54: [02:36:24] <Hailwood> Are there any security fixes in 3.1 that I could use to persuade the client?
55: [02:36:36] <adrexia> hmm, most security fixed have been backported
56: [02:37:58] <adrexia> potentially moving statics to private? And umm... there was the thing that meant pages were filtered by published outside the sitetree that broke a bunch of my stuff. But that may have been backported
57: [02:38:20] <adrexia> it has side-by-side, and marginally better ux. Plus the design is more polished
58: [02:39:11] <adrexia> + hundreds of little bug fixes
59: [02:39:37] <adrexia> ...and it'll be easier to upgrade in the future if you at least move it to 3.1
60: [02:46:24] <ss23> side-by-side causes me nothihng but problems
61: [02:46:27] <ss23> Not that I'm a content editor
62: [02:46:35] <ss23> But the number of bugs with it means I don't think it's worth it
63: [02:49:05] <Ryan-Toast> ss23: I wish it wasn’t the default.
64: [02:49:18] <Ryan-Toast> I always create accounts for my clients and they use it and get confused.
65: [02:49:57] <antmas> we have 1 person that uses it
66: [02:50:04] <antmas> the other 50 users hate it
67: [02:58:45] <antmas> is this cwp? https://github.com/silverstripe/deploynaut
68: [02:58:56] <antmas> bah, meant this https://www.govt.nz/
69: [02:58:56] <ss23> It's both CWP and non CWP
70: [02:59:04] <ss23> lol
71: [02:59:13] <ss23> Hmm
72: [02:59:23] <antmas> trying to work out what it is :O
73: [02:59:30] <ss23> I don't think there's a way to tell if something is on CWP exactly, but if it's on SilverStripe and Incapsula, there's a good chance it is
74: [03:00:00] <antmas> yeah I did see Incapsula
75: [03:01:06] <Stomach> yeah I hate side by side
76: [03:01:11] <Stomach> so annoying
77: [03:01:32] <Stomach> especially when content editor hasn't bought something so you redirect them somewhere else and it fucks it all and confuses everyone
78: [03:01:36] <Stomach> stupid ecommerce platforms
79: [03:03:14] <ss23> mm, the redirect bugs in side by side suck
80: [03:03:14] <ss23> :(
81: [03:03:20] <ss23> No fix either, beyond "Don't use side by side"
82: [03:03:48] * UncleCheese has joined #silverstripe
83: [03:06:34] <adrexia> <ss23> But the number of bugs with it means I don't think it's worth it
84: [03:06:41] <adrexia> mostly I've found those are caused by developers
85: [03:06:46] <ss23> All bugs are
86: [03:06:46] <ss23> :P
87: [03:06:59] <adrexia> I mean - custom code
88: [03:07:14] <ss23> I deal with more bugs than you probably :P
89: [03:07:17] <adrexia> certain page types aren't made to view before they have certain fields on them
90: [03:07:25] <ss23> There are just a lot of edge cases with split view
91: [03:07:34] <adrexia> and the way of disabling the view is complicated
92: [03:08:00] <adrexia> really, it should be configurable
93: [03:08:56] <adrexia> ss23 - I hit side-by-side related bugs a lot because I'm often the only dev who has it open :P
94: [03:09:50] <adrexia> everyone else closes it and forgets to check whether their fancy new page type kills the cms :P
95: [03:12:01] <adrexia> <ss23> I don't think there's a way to tell if something is on CWP exactly, but if it's on SilverStripe and Incapsula, there's a good chance it is
96: [03:12:23] <adrexia> or if it redirects to a cwp domain when you try going to the admin
97: [03:12:31] <adrexia> :D
98: [03:13:01] <ss23> oh yeah ^^^ :O
99: [03:13:02] <ss23> that one
100: [03:14:07] <adrexia> but that site actually has https, so you just get the Incapsula denial there
101: [03:34:02] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
102: [03:40:11] * nontgor quit (Read error: Connection reset by peer)
103: [03:50:46] * Error404NotFound has joined #silverstripe
104: [04:05:57] * Error404NotFound quit (Quit: User guilty of hitting the Big Red X...)
105: [04:14:49] * Error404NotFound has joined #silverstripe
106: [04:35:04] * UncleCheese has joined #silverstripe
107: [04:35:04] <UncleCheese> Does anyone here have experience with WordDerp?
108: [04:35:12] <UncleCheese> Does anyone here have experience with WordDerp?
109: [04:35:25] <MichalKleiner> yes
110: [04:35:31] <UncleCheese> Have you built sites with it?
111: [04:35:35] <MichalKleiner> yes
112: [04:35:41] <UncleCheese> do you like ss more?
113: [04:36:46] <MichalKleiner> depends on the project.. generally yes, easier hacking in ss.. I don't use much plugins in wp if I don't have to, rather inspect the code and reuse it in my customisation
114: [04:36:56] <MichalKleiner> WP has much wider options shop-wise
115: [04:36:59] <MichalKleiner> ecommerce
116: [04:37:14] <MichalKleiner> if you need a content site combined with eshop it's ok
117: [04:37:35] * antmas quit (Quit: Page closed)
118: [04:37:41] <UncleCheese> how do you sell ss to clients over wordpress?
119: [04:38:47] <MichalKleiner> I'm just a dev, that's PMs and bosses job :)
120: [04:39:08] <MichalKleiner> we don't sell SS as such.. clients don't care that much what system it will run on
121: [04:39:09] * Freebird69 has joined #silverstripe
122: [04:39:31] <MichalKleiner> so it's a historical thing that we use SS as well..
123: [04:39:41] * Freebird69 quit (Client Quit)
124: [04:40:03] <MichalKleiner> but for gov departments it's kinda mandatory to go with SS and CWP
125: [04:40:08] <MichalKleiner> and that's what sells
126: [04:40:20] <MichalKleiner> to other clients I mean.. gov has SS so it must be good
127: [04:42:32] <UncleCheese> thx
128: [04:43:40] * r_hector has joined #silverstripe
129: [04:43:58] <MichalKleiner> depends on client's previous experience with CMS as well.. sometimes they ask for SS because they know it from somewhere else.. or so.. or WP because the person that will be managing the content used it in the previous job
130: [04:44:00] <MichalKleiner> stuff like that
131: [04:44:54] <MichalKleiner> from skilled dev's perspective is SS better to code in, WP is easier to click through plugins and somehow make it work if you don't know what you're doing
132: [04:45:16] <MichalKleiner> serious wp development takes same amount of time as ss development
133: [04:45:28] <MichalKleiner> there are scaffolding tools, deployment tools, hostings for wp
134: [04:45:36] <MichalKleiner> it's not a bad system in general
135: [04:45:43] * MichalKleiner shouldn't be saying this here :-D
136: [05:00:21] * Shrike_Finland has joined #silverstripe
137: [05:00:29] * mobiusnz quit (Quit: Leaving.)
138: [05:02:28] <Colin[pi]> MichalKleiner: GTFO
139: [05:02:29] <Colin[pi]> ;P
140: [05:03:19] <MichalKleiner> on my way
141: [05:03:38] <MichalKleiner> :-P
142: [05:03:58] <UncleCheese> cool, thanks MichalKleiner .. we're doing a little exercise to figure out how to pitch SS vs WP, and you're mentinoing a lot of things we suspected
143: [05:04:52] <MichalKleiner> that will be a hard one UncleCheese, good luck
144: [05:05:03] <Colin[pi]> the CWP thing works as a selling point for SS here in AU as well
145: [05:05:36] <MichalKleiner> but definitely will be interested in the outcomes
146: [05:09:26] <adrexia> WP seems to get hacked more often. But it's more popular so you'd expect that.
147: [05:09:29] * Hailwood quit (Remote host closed the connection)
148: [05:10:23] * Shrike_Finland quit (Quit: Leaving.)
149: [05:14:27] * gordon has joined #silverstripe
150: [05:14:35] * gordon is now known as nontgor
151: [05:17:26] <ss-helper> Re: CSV / BulkLoading Rewrite - https://groups.google.com/d/msg/silverstripe-dev/tabbsJxzGqg/TUdgCabTqNIJ
152: [05:21:09] * Ryan-Toast quit (Quit: Ryan-Toast)
153: [05:21:59] <MichalKleiner> adrexia if you compare the number of installations it makes sense.. and often people just install heaps of crappy plugins not knowing shit about which doesn't help either..
154: [05:22:18] <MichalKleiner> I'd say SS is for more skilled devs as bad wp can do any monkey
155: [05:22:50] <MichalKleiner> I guess the initial barrier is a bit lower for wp.. heaps of tutorials, bad practises around etc.
156: [05:22:59] <MichalKleiner> more money in the ecosystem in general
157: [05:23:11] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
158: [05:23:16] <MichalKleiner> we had the same pitch a fw/cms issue with the czech fw Nette..
159: [05:23:24] <MichalKleiner> I mean the creator had it :-D
160: [05:23:53] <MichalKleiner> pretty big local community but weak docs, mostly one-man show
161: [05:24:26] <MichalKleiner> advantage for SS is that it's actually backed up by an existing company that uses it
162: [05:29:05] <mahfuz> Can anyone tell my why my changes are not visible in the Title field of a Page when I manually replaced part of the Title for misspelling? But when I open the page and save it doing things in other field just to save, it works.
163: [05:32:34] <MichalKleiner> flushed?
164: [05:32:50] * Shrike_Finland has joined #silverstripe
165: [05:41:47] * FMateo has joined #silverstripe
166: [05:43:48] * r_hector quit (Quit: Leaving.)
167: [05:48:22] * Ryan-Toast has joined #silverstripe
168: [05:49:56] * Nicole_SilverStr has joined #silverstripe
169: [05:59:09] <Tanger> Hey guys, what's the deal with methods inheriting static functions? Do I have to redeclare static functions on everything that extends from a class if I want it to function the exact same way on each class?
170: [06:00:19] * Nicole_SilverStr quit (Ping timeout: 246 seconds)
171: [06:07:48] * Ryan-Toast quit (Quit: Ryan-Toast)
172: [06:18:45] <MichalKleiner> Tanger: do you mean classes inheriting static methods? you redeclare and reimplement only what you want to behave differently
173: [06:19:02] <MichalKleiner> the rest will bubble up to the parent and to the parent of parent etc until it's either found or not found
174: [06:19:52] <Tanger> MichaelKleiner: I have a method that grabs an image from yaml config. public static function(), yet it doesn't seem to bubble up
175: [06:20:00] <Tanger> Does it need to be protected or something?
176: [06:21:40] * mahfuz quit (Ping timeout: 246 seconds)
177: [06:25:02] <nontgor> mmm it looks like chart.js uses the same template syntax as SilverStripe, name <%= - how can output those in a template?
178: [06:36:34] <Tanger> Ah, I just had to check for parent::static_method call that on it
179: [06:37:57] <Colin[pi]> please composer, please download just a little slower, that'd be great
180: [06:38:49] <nontgor> ah ok it's just backspaces
181: [06:38:57] <nontgor> Colin[pi]: I feel your pain
182: [07:02:49] <Colin[pi]> nontgor: so it's not just my shitty internet... man it's so slow at the moment
183: [07:07:32] <nontgor> Colin[pi]: If there are a lot of git repos it is even slower, sometimes takes me 10 mins to install a module now
184: [07:19:23] * Sticks quit (Quit: Leaving)
185: [07:21:30] * Colin[pi] quit (Ping timeout: 272 seconds)
186: [07:54:26] * swaiba has joined #silverstripe
187: [07:55:25] <swaiba> Morning All
188: [08:06:25] * cloph quit (Ping timeout: 264 seconds)
189: [08:10:37] <ss-helper> Re: Can't resize png files - http://www.silverstripe.org/community/forums/general-questions/show/101545#post401148
190: [08:17:14] * nontgor quit (Ping timeout: 272 seconds)
191: [08:31:39] * jarordz has joined #silverstripe
192: [08:31:54] <Tanger> Morning swaiba
193: [08:32:46] * Shrike_Finland quit (Quit: Leaving.)
194: [08:33:39] * Shrike_Finland has joined #silverstripe
195: [08:35:38] <Tanger> Hey, is entwine decent for front-end dev?
196: [08:42:34] <ss-helper> Re: Can't resize png files - http://www.silverstripe.org/community/forums/general-questions/show/101545#post401149
197: [08:46:17] <swaiba> Hey Tanger - it is indeed
198: [08:46:21] * Stomach quit (Quit: zzz)
199: [08:53:58] <Tanger> swaiba: Thanks. Was looking at using it for a django project - I like it a lot better than normal jquery
200: [08:57:18] * nontgor has joined #silverstripe
201: [09:02:44] * nontgor is now known as nongor
202: [09:02:47] * nongor is now known as nontgor
203: [09:24:46] * Colin[pi] has joined #silverstripe
204: [09:34:57] * Tanger quit (Quit: sleep())
205: [09:36:29] * Tanger has joined #silverstripe
206: [09:40:46] <ss-helper> Re: SilverStripe and multi level subscriptions. - http://www.silverstripe.org/community/forums/general-questions/show/101564#post401150
207: [09:51:20] * Stomach has joined #silverstripe
208: [10:00:48] * FMateo quit (Read error: Connection reset by peer)
209: [10:10:50] <ss-helper> Re: How to use Controller::handleRequest() correctly - http://www.silverstripe.org/community/forums/general-questions/show/101429#post401151
210: [10:14:09] * Stomach quit (Quit: zzz)
211: [10:22:01] * travis-ci has joined #silverstripe
212: [10:22:02] <travis-ci> chillu/silverstripe-framework#167 (pulls/osx-install-docs - 7676c0e : Ingo Schommer): The build has errored.
213: [10:22:02] <travis-ci> Change view : https://github.com/chillu/silverstripe-framework/compare/6c6c0cc6305c^...7676c0e963a5
214: [10:22:02] <travis-ci> Build details : http://travis-ci.org/chillu/silverstripe-framework/builds/57622313
215: [10:22:02] * travis-ci has left #silverstripe
216: [10:25:52] <ss-helper> Re: How to use Controller::handleRequest() correctly - http://www.silverstripe.org/community/forums/general-questions/show/101429#post401152
217: [10:38:36] * Shrike_Finland1 has joined #silverstripe
218: [10:41:28] * Shrike_Finland quit (Ping timeout: 264 seconds)
219: [10:44:26] * travis-ci has joined #silverstripe
220: [10:44:27] <travis-ci> chillu/silverstripe-framework#168 (pulls/osx-install-docs - 452a34d : Ingo Schommer): The build has errored.
221: [10:44:27] <travis-ci> Change view : https://github.com/chillu/silverstripe-framework/compare/7676c0e963a5...452a34dbd1a0
222: [10:44:27] <travis-ci> Build details : http://travis-ci.org/chillu/silverstripe-framework/builds/57624906
223: [10:44:27] * travis-ci has left #silverstripe
224: [11:21:29] * swaiba quit (Remote host closed the connection)
225: [11:25:49] * Azure quit (Read error: Connection reset by peer)
226: [11:26:55] * Azure has joined #silverstripe
227: [11:29:15] * cloph_away has joined #silverstripe
228: [11:30:09] * adrexia_ has joined #silverstripe
229: [11:34:22] * huberd has joined #silverstripe
230: [11:36:23] * jarordz quit (Quit: My Mac has gone to sleep. ZZZzzz…)
231: [11:41:41] * huberd quit ()
232: [11:46:38] * jarr0dsz has joined #silverstripe
233: [11:56:04] <ss-helper> Remove Groups field in creating new Member - http://www.silverstripe.org/community/forums/general-questions/show/101585
234: [11:59:02] * Eliseth has joined #silverstripe
235: [12:07:15] * Tanger quit (Quit: sleep())
236: [12:11:47] <ss-helper> Silverstripe static publisher breaking form submissions - http://stackoverflow.com/questions/21153250/silverstripe-static-publisher-breaking-form-submissions
237: [12:15:33] * UndefinedOffset has joined #silverstripe
238: [12:28:15] * nontgor quit (Ping timeout: 250 seconds)
239: [12:34:02] <elgabbu> $widgetArea = new WidgetArea(); $page->MobileWidgetAreaID = $widgetArea->write(); $page->write();
240: [12:34:58] <elgabbu> the above code ... updates the MobileWidgetAreaID field in the pages table successfully ... however the change is not reflected in the _Live table
241: [12:35:24] <elgabbu> i have tried doing $page->doPublish() after the write but its still not updated
242: [12:36:39] * Shrike_Finland1 quit (Quit: Leaving.)
243: [12:36:53] * darjus01 has joined #silverstripe
244: [12:37:58] <darjus01> hi all is I want to extend sitetree, I made extention file and in function MetaTags() i must make this parent::MetaTags();?
245: [12:43:01] * Shrike_Finland has joined #silverstripe
246: [12:48:48] * swaiba has joined #silverstripe
247: [12:51:59] * Colin[pi] quit (Ping timeout: 244 seconds)
248: [13:12:32] * adrexia_ quit (Quit: Textual IRC Client: www.textualapp.com)
249: [13:14:09] * cloph_away is now known as cloph
250: [13:28:40] * catcher has joined #silverstripe
251: [13:30:38] * swaiba quit (Remote host closed the connection)
252: [13:35:50] * ThePeach has joined #silverstripe
253: [13:37:56] <ThePeach> hi all
254: [13:38:39] <ThePeach> I am rendering a view using renderWith() and I need to format a number as a currency value. Is there a guide somewhere that details how to do that?
255: [13:38:50] <ThePeach> can anyone point me to the right direction?
256: [13:41:29] <catcher> ThePeach, is it coming from a currency field?
257: [13:44:00] <ThePeach> nope, it's just some data in an array that needs to be printed
258: [13:44:10] <ThePeach> just a float number
259: [13:45:51] * Shrike_Finland quit (Quit: Leaving.)
260: [13:49:57] <ThePeach> catcher: I've read there's no "currency formatter", so I'll have to create one myself, but I'm not particularly sure how. That's the reason why I'm asking here now :)
261: [13:50:02] <catcher> ThePeach, see the casting section: http://doc.silverstripe.org/en/developer_guides/model/data_types_and_casting
262: [13:50:06] <catcher> sure there is
263: [13:50:48] <catcher> ThePeach, http://api.silverstripe.org/master/class-Currency.html
264: [13:51:25] * darjus01 quit (Ping timeout: 246 seconds)
265: [13:52:14] <ThePeach> catcher: what I'm trying to avoid is to iterate over the array I receive from an external endpoint and just format it in the template. By the look of the links you just gave me it seems that's not possible. Is that correct?
266: [13:53:54] <ThePeach> ideally what I'm asking should be covered in the "castin viewableData" section, although that's not clear to me as well. The whole concept of the ViewableData for templates seems a bit overengineered IMO
267: [13:57:17] * muskie9 has joined #silverstripe
268: [14:06:12] * gordon has joined #silverstripe
269: [14:06:19] * gordon is now known as nontgor
270: [14:14:10] * Spliff has joined #silverstripe
271: [14:18:53] * babak quit (Quit: Connection closed for inactivity)
272: [14:33:02] <catcher> ThePeach, ViewableData instances in the template can call any public methods defined within their object scope. I believe you'll have to cast it at the controller level.
273: [14:33:32] <catcher> ThePeach, on the upside, it gives you a chance to cache it since it's external.
274: [14:35:43] * UndefinedOffset quit (Quit: Leaving.)
275: [14:41:19] * cloph quit (Ping timeout: 252 seconds)
276: [14:47:06] * UndefinedOffset has joined #silverstripe
277: [14:56:30] <ThePeach> catcher: I'll try to implement it as a method, I'll see what I can do. Pity there isn't enough documentation on this bit
278: [14:56:32] * swaiba has joined #silverstripe
279: [14:56:38] <ThePeach> catcher: thanks in the meantime
280: [14:58:20] <ss-helper> Re: DuplicateChecks in CsvBulkLoader isn't working - http://www.silverstripe.org/community/forums/general-questions/show/101506#post401154
281: [14:58:26] <catcher> ThePeach, np, good luck. You can always extend ViewableData as another option.
282: [15:01:15] <ThePeach> yup saw that one, thanks
283: [15:08:59] * jarr0dsz quit (Quit: My Mac has gone to sleep. ZZZzzz…)
284: [15:09:56] * cloph_away has joined #silverstripe
285: [15:11:28] <ss-helper> Basic Overview: not showing all sections - http://www.silverstripe.org/community/forums/general-questions/show/101586
286: [15:23:18] * Shrike_Finland has joined #silverstripe
287: [15:24:10] * jcwacky has joined #silverstripe
288: [15:31:49] * easher has joined #silverstripe
289: [15:32:20] <easher> Hello
290: [15:32:28] <catcher> 'ello
291: [15:33:29] * phillprice has joined #silverstripe
292: [15:33:34] <phillprice> hi - I'm having "fun" with behat
293: [15:35:39] <easher> How are you guys doing? I need to port a wordpress plugin to a silverstripe plugin. Does anyone have any advice. I have been looking for an example of a plugin that exists between the two. I dont have any experience with silverstripe.
294: [15:36:59] <muskie9> easher what does the plugin do in wordpress?
295: [15:37:49] <muskie9> you can find popular addons for Silver Stripe that cover a range of functionality at http://addons.silverstripe.org
296: [15:40:19] * stnvh quit (Read error: Connection reset by peer)
297: [15:40:56] * Shrike_Finland quit (Quit: Leaving.)
298: [15:41:36] <easher> It installs tracking urls to each page in the site, and provides a hand full of forms that can be drag and dropped into the cms. The forms are all automatically configured to an API. It is basically an analytics platform. All via php and javascript pretty much
299: [15:43:53] <muskie9> easher do you know the version of SS the site uses?
300: [15:44:49] <muskie9> 3.1.12 is the latest stable version... these modules would work with that version: http://addons.silverstripe.org/add-ons?search=analytics&type=&compatibility%5B%5D=3.1&sort=
301: [15:45:48] <muskie9> this is the form module used by pretty much everyone for dynamically created forms: http://addons.silverstripe.org/add-ons/silverstripe/userforms
302: [15:48:00] <swaiba> @phillprice - good man me too
303: [15:48:48] <easher> Oh great! That is helpful. There is no specific site at the moment that this is being made for. It is just for future clients. Thanks so much
304: [15:49:59] * UndefinedOffset quit (Quit: Leaving.)
305: [15:53:43] <muskie9> no problem easher. the addons site pulls data from packagist iirc, so there are additional modules out there not listed on that site...
306: [15:56:34] <ss-helper> Error: Cannot redeclare class sfyamlinline - http://www.silverstripe.org/community/forums/general-questions/show/101587
307: [16:00:05] * Eliseth quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
308: [16:03:43] * easher quit (Ping timeout: 246 seconds)
309: [16:09:08] * UndefinedOffset has joined #silverstripe
310: [16:14:14] <phillprice> @swaiba - having fun picking up the framework's tests - they seem to be ignored (steps liek 'given a page' are yellow for some reason, sigh
311: [16:14:59] <swaiba> well I've not really looked at their tests as much as focus on writing my own
312: [16:15:41] <swaiba> there is a large amount of complexity in the system(s) I write - and the choice in my view is to focus on controller only tests or the full stack including the view
313: [16:16:14] <swaiba> anything that uses the presentation (i.e. selenium) is dramatically slower than just testing controller fucntions
314: [16:18:25] * phillprice quit (Ping timeout: 246 seconds)
315: [16:30:54] * ThePeach quit (Quit: leaving)
316: [16:41:40] <ss-helper> Re: How to use Controller::handleRequest() correctly - http://www.silverstripe.org/community/forums/general-questions/show/101429#post401157
317: [17:00:58] * Eddy has joined #silverstripe
318: [17:01:28] <Eddy> Hello )
319: [17:02:03] <Eddy> I urgently need a help with silverstripe , who can help me explain few things?
320: [17:03:22] <Eddy> anyone ? :/
321: [17:04:05] * Eddy quit (Client Quit)
322: [17:04:30] * Eddy123 has joined #silverstripe
323: [17:05:01] <Eddy123> Is there anybody ?
324: [17:06:37] <swaiba> Eddy123 someone is here, but I'll not comit to helping with everything right now, it's way past quitting time here :)
325: [17:07:45] <Eddy123> when can i get help when ? )
326: [17:08:11] * muskie9 is now known as muskie9_afk
327: [17:08:34] <Eddy123> it is easy for someone who understands
328: [17:13:38] <swaiba> there might be formal hours silverstripe staff are here, check out the logs (http://logs.silverstripe.org/) for an idea of what is dicussed and when it is busy
329: [17:14:49] * muskie9_afk is now known as muskie9
330: [17:14:50] <swaiba> it can be, but it is also fun to learn :)
331: [17:15:46] <catcher> Eddy123, just ask your q
332: [17:16:15] <swaiba> @catcher he has asked me privately, but I'll repost!
333: [17:16:16] <swaiba> so maybe you can explain me some things, i have silverstripe project running, i need to do login form on front-end ,so that members with specific group can log in to UserZone and see their stuff... all i need now is to know how to put this form to one of the pages in fronend,i have made MemberLogin extend with dologin function
334: [17:16:37] <swaiba> ^^ asay Eddy123
335: [17:16:58] <Eddy123> yes )
336: [17:17:54] <swaiba> I'd ask if you've done the tutorials - as thisshould just be a case of returning the from in the controller and adding it to the relevant ss tempalte
337: [17:18:09] <catcher> ^
338: [17:19:32] <Eddy123> i have read developers guide, but nothing about login form found there, if there is any other tutorial, can u link it ?
339: [17:21:18] <Eddy123> i will be making a controller for displaying content for each logged member individually
340: [17:23:18] <Eddy123> but all i need to know is what to do next exactly, 1,extend MemberLoginForm with doLogin() and redirectByGroup() 2, ??? , 3. ??
341: [17:24:16] <catcher> Eddy123, make a controller action that returns the form (public function MyLoginForm()), then put $MyLoginForm in the template
342: [17:25:38] <swaiba> well it's really easy just add $LoginForm to ther relevant layout template.ss
343: [17:25:47] <Eddy123> where does controller should be placed ? in mysite ?
344: [17:26:12] * muskie9 is now known as muskie9_afk
345: [17:26:31] <swaiba> well if you dont' need to change the login form then you don't need a controller :)
346: [17:26:51] <swaiba> only change your ss template(S)
347: [17:27:06] * Spliff quit (Quit: See you then)
348: [17:27:24] <Eddy123> well... in fact, login form will be given specific css design
349: [17:27:31] <swaiba> but if you do add a controller, I'd advise looking at how the tutorials / several well used modules do it for an example or two
350: [17:27:50] <swaiba> css - ain't my thang ;-P
351: [17:28:27] <Eddy123> css will be making designers, my job is to put the login form in fornend page
352: [17:29:01] * Shrike_Finland has joined #silverstripe
353: [17:29:39] <Eddy123> in my doLogin() user will be redirected to page where he will see upload files my admin
354: [17:30:35] <swaiba> so firstly please ensure you've added $LoginForm to a template - anyone will do - even Layout/Page.ss just to test
355: [17:31:44] <Eddy123> ok, first things first but one more question before this... where do i need to put the extended memberloginform ?
356: [17:32:22] <Eddy123> because i was working in seperate module , and login ,i think, its a part of it
357: [17:33:11] <swaiba> Eddy123 - the login form must be extended? it must be unique in some way?
358: [17:35:05] <Eddy123> well...i think yes, it will derirect user to fronend page where they will see some content related to them by admin,only one group of members can log in
359: [17:35:58] <swaiba> the action it perfoms != the form itself
360: [17:37:30] <swaiba> for security I'd advise using the same stuff, but modifying some code that processes their landing direction but extending the login form and changing the next url in an extension
361: [17:38:03] * Liquide has joined #silverstripe
362: [17:38:55] <Eddy123> hmmm can u give an example then MemberLoginForm must be extended ?
363: [17:41:18] <Eddy123> coz as i understand , if i need to perform other action , i need to extend it for different redirect for example..
364: [17:41:45] * muskie9_afk is now known as muskie9
365: [17:41:55] <swaiba> Well, I'm not sure I can work though an entire example with you (*disclamier previously sent about it geting on...)
366: [17:42:02] <swaiba> but I fully recommend this...
367: [17:42:02] <swaiba> https://github.com/axyr/silverstripe-adminlogin
368: [17:42:38] <swaiba> gives you full example of creating customer login forms and adding extra processing to them :)
369: [17:43:35] <Eddy123> thank you )
370: [17:49:03] * swaiba quit (Remote host closed the connection)
371: [17:52:27] * muskie9 is now known as muskie9_afk
372: [18:11:41] * muskie9_afk is now known as muskie9
373: [18:13:02] * MichalKl_ has joined #silverstripe
374: [18:13:30] * MichalKleiner quit (Ping timeout: 276 seconds)
375: [18:15:55] * Shrike_Finland quit (Quit: Leaving.)
376: [18:16:58] * muskie9 quit (Ping timeout: 244 seconds)
377: [18:19:36] * muskie9 has joined #silverstripe
378: [18:28:14] * Shrike_Finland has joined #silverstripe
379: [18:31:45] * Eddy123 quit (Quit: Page closed)
380: [18:34:41] <ss-helper> SilverStripe Payment Module: 0.4.2 and 0.3.2 security release - https://groups.google.com/d/msg/silverstripe-announce/qFOFfvWBNe8/GBYNgOacmwgJ
381: [18:39:10] * UndefinedOffset quit (Ping timeout: 272 seconds)
382: [18:47:55] * Stomach has joined #silverstripe
383: [18:48:15] * Liquide quit ()
384: [18:49:40] <ss-helper> SilverStripe 3.0.6 Security Release - https://groups.google.com/d/msg/silverstripe-announce/m4vmXYmV0CE/EfSzp3t6mvsJ
385: [18:53:21] * NobrainerWeb has joined #silverstripe
386: [18:54:38] * Stomach quit (Quit: zzz)
387: [19:00:24] * jarr0dsz has joined #silverstripe
388: [19:00:25] * NobrainerWeb quit (Quit: NobrainerWeb)
389: [19:00:50] * Shrike_Finland quit (Quit: Leaving.)
390: [19:03:42] * Stomach has joined #silverstripe
391: [19:11:57] <ss-helper> Silverstripe accessing has_many data from a separate page type - http://stackoverflow.com/questions/29523078/silverstripe-accessing-has-many-data-from-a-separate-page-type
392: [19:17:57] * Stomach quit (Quit: zzz)
393: [19:26:58] <ss-helper> Displaying files from assets/CustomFolder - http://www.silverstripe.org/community/forums/template-questions/show/101588
394: [19:44:35] * Colin[pi] has joined #silverstripe
395: [19:53:39] * jarr0dsz quit (Read error: Connection reset by peer)
396: [19:54:52] * Stomach has joined #silverstripe
397: [20:01:24] * [1]MischaK has joined #silverstripe
398: [20:04:34] * MischaK quit (Read error: Connection reset by peer)
399: [20:04:35] * [1]MischaK is now known as MischaK
400: [20:09:44] * antmas has joined #silverstripe
401: [20:23:48] * mobiusnz has joined #silverstripe
402: [20:27:05] <ss-helper> Why there is no Printscreen in the Themes gallery ? - http://www.silverstripe.org/community/forums/template-questions/show/101589
403: [20:48:40] * Ryan-Toast has joined #silverstripe
404: [20:51:07] * DimiStripe quit (Quit: DimiStripe)
405: [20:57:08] <ss-helper> He had to pay the iron price - http://www.silverstripe.org/community/forums/hosting-requirements/show/101590
406: [20:57:44] <antmas> lol ss-helper
407: [21:02:28] <catcher> haha
408: [21:06:43] * babak has joined #silverstripe
409: [21:08:30] <Ryan-Toast> Lol, dat spam.
410: [21:09:52] <antmas> Ryan-Toast: babak catcher o/
411: [21:09:56] <antmas> and morning all o/
412: [21:11:30] <Ryan-Toast> Hai
413: [21:22:47] * r_hector has joined #silverstripe
414: [21:24:19] * r_hector quit (Client Quit)
415: [21:24:49] * muskie9 is now known as muskie9_afk
416: [21:24:54] * muskie9_afk is now known as muskie9
417: [21:29:08] * DimiStripe has joined #silverstripe
418: [21:29:29] * DimiStripe quit (Client Quit)
419: [21:30:33] * DimiStripe has joined #silverstripe
420: [21:39:16] * catcher quit (Quit: Leaving)
421: [21:51:18] * Stomach quit (Ping timeout: 265 seconds)
422: [21:51:59] * MichalKl_ is now known as MichalKleiner
423: [21:52:53] * Stomach has joined #silverstripe
424: [22:19:49] <ss-helper> SilverStripe Payment Module: 0.4.2 and 0.3.2 security release - https://groups.google.com/d/msg/silverstripe-announce/qFOFfvWBNe8/GBYNgOacmwgJ
425: [22:19:50] <ss-helper> SilverStripe 3.0.6 Security Release - https://groups.google.com/d/msg/silverstripe-announce/m4vmXYmV0CE/EfSzp3t6mvsJ
426: [22:19:50] <ss-helper> SilverStripe Payment Module: 0.4.2 and 0.3.2 security release - https://groups.google.com/d/msg/silverstripe-announce/qFOFfvWBNe8/GBYNgOacmwgJ
427: [22:19:50] <ss-helper> SilverStripe 3.0.6 Security Release - https://groups.google.com/d/msg/silverstripe-announce/m4vmXYmV0CE/EfSzp3t6mvsJ
428: [22:19:50] <ss-helper> SilverStripe Payment Module: 0.4.2 and 0.3.2 security release - https://groups.google.com/d/msg/silverstripe-announce/qFOFfvWBNe8/GBYNgOacmwgJ
429: [22:20:08] * travis-ci has joined #silverstripe
430: [22:20:09] <travis-ci> chillu/silverstripe-framework#169 (pulls/osx-install-docs - 4809902 : Ingo Schommer): The build has errored.
431: [22:20:09] <travis-ci> Change view : https://github.com/chillu/silverstripe-framework/compare/452a34dbd1a0...4809902e37be
432: [22:20:09] <travis-ci> Build details : http://travis-ci.org/chillu/silverstripe-framework/builds/57721982
433: [22:20:09] * travis-ci has left #silverstripe
434: [22:21:41] * mahfuz has joined #silverstripe
435: [22:23:58] * travis-ci has joined #silverstripe
436: [22:23:59] <travis-ci> chillu/silverstripe-framework#170 (pulls/osx-install-docs - 79c9786 : Ingo Schommer): The build has errored.
437: [22:23:59] <travis-ci> Change view : https://github.com/chillu/silverstripe-framework/compare/4809902e37be...79c9786fd2d8
438: [22:23:59] <travis-ci> Build details : http://travis-ci.org/chillu/silverstripe-framework/builds/57722142
439: [22:23:59] * travis-ci has left #silverstripe
440: [22:28:45] * Ryan-Toast quit (Quit: Ryan-Toast)
441: [22:33:08] <Stomach> lol adrexia
442: [22:34:49] <ss-helper> SilverStripe 3.0.6 Security Release - https://groups.google.com/d/msg/silverstripe-announce/m4vmXYmV0CE/EfSzp3t6mvsJ
443: [22:35:12] <Stomach> ss-helper you tard
444: [22:35:25] <Stomach> thats 2 years old
445: [22:36:08] * spronk2 quit (Quit: bleep bleep bloop bloop)
446: [22:36:43] <muskie9> ss-helper !helping
447: [22:37:30] <Stomach> so helpful
448: [22:37:50] <Stomach> I freaked out yesterday morning when he posted an urgent security release for payment module from like 2 years ago
449: [22:38:09] * spronk2 has joined #silverstripe
450: [22:38:20] <muskie9> seems most posts are old stuff recently
451: [22:39:14] * Ryan-Toast has joined #silverstripe
452: [22:44:40] * travis-ci has joined #silverstripe
453: [22:44:41] <travis-ci> chillu/silverstripe-framework#171 (pulls/osx-install-docs - 0b32af6 : Ingo Schommer): The build has errored.
454: [22:44:41] <travis-ci> Change view : https://github.com/chillu/silverstripe-framework/compare/79c9786fd2d8...0b32af629310
455: [22:44:41] <travis-ci> Build details : http://travis-ci.org/chillu/silverstripe-framework/builds/57725088
456: [22:44:41] * travis-ci has left #silverstripe
457: [22:48:10] * travis-ci has joined #silverstripe
458: [22:48:11] <travis-ci> chillu/silverstripe-framework#172 (pulls/osx-install-docs - 7e4b845 : Ingo Schommer): The build has errored.
459: [22:48:11] <travis-ci> Change view : https://github.com/chillu/silverstripe-framework/compare/0b32af629310...7e4b8458b0e7
460: [22:48:11] <travis-ci> Build details : http://travis-ci.org/chillu/silverstripe-framework/builds/57725442
461: [22:48:11] * travis-ci has left #silverstripe
462: [22:51:02] * antmas quit (Quit: Page closed)
463: [22:57:24] * travis-ci has joined #silverstripe
464: [22:57:25] <travis-ci> silverstripe/silverstripe-framework#4535 (3.1 - 385c2a7 : Damian Mooyman): The build passed.
465: [22:57:25] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/d34c39bc8546...385c2a75d3b7
466: [22:57:25] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/57724673
467: [22:57:25] * travis-ci has left #silverstripe
468: [23:00:15] * muskie9 is now known as muskie9_afk
469: [23:01:33] * muskie9_afk is now known as muskie9
470: [23:05:43] <Colin[pi]> morning all!
471: [23:06:09] <Colin[pi]> jesus h christ it's like the travis-ci and ss-helper show in here
472: [23:06:42] <Stomach> hi Colin[pi]
473: [23:07:02] <Colin[pi]> Stomach: o/
474: [23:07:10] <Stomach> how goes it \o
475: [23:07:44] <Colin[pi]> not too bad o/
476: [23:08:20] <Stomach> thats good \o
477: [23:08:49] <Colin[pi]> how about you? o/
478: [23:09:09] <Stomach> yeah pretty good, working on CMS admin for a large site which was fucked up and unusable \o
479: [23:09:45] <Colin[pi]> nice work, why are our arms still in the air? o/
480: [23:09:57] <Ryan-Toast> Stomach: you adding notes and stuff to the cms?
481: [23:10:20] <Stomach> I don't know Colin[pi] \o
482: [23:10:33] <Stomach> Ryan-Toast - and converting it all to singlepage/catalog managed administration
483: [23:10:44] <Ryan-Toast> Stomach: Dataobject biz?
484: [23:10:49] <Ryan-Toast> instead of sitetree
485: [23:11:01] <Stomach> and removing all the fields they dont need, adding sortability etc, just making it client proof basically
486: [23:11:03] <Stomach> yeah that stuff
487: [23:11:07] <Ryan-Toast> Coolio
488: [23:11:25] <Colin[pi]> "client proof" lol
489: [23:11:34] <Colin[pi]> show me this mystical client proof you speak of
490: [23:12:06] * muskie9 is now known as muskie9_afk
491: [23:12:14] * DimiStripe quit (Ping timeout: 256 seconds)
492: [23:12:23] * DimiStripe has joined #silverstripe
493: [23:12:24] <ss-helper> Is this a bug or was it designed to work like this? - http://www.silverstripe.org/community/forums/general-questions/show/101591
494: [23:12:31] * antmas has joined #silverstripe
495: [23:12:37] <Colin[pi]> antmas: o/
496: [23:12:44] <Stomach> Colin[pi] - sure, gonna write a blog post about it for SS on the weekend hopefully
497: [23:13:00] <antmas> Colin[pi]: o/
498: [23:13:02] <Colin[pi]> Stomach: nice
499: [23:13:04] * Hailwood has joined #silverstripe
500: [23:13:44] <Stomach> antmas you fucked it up!
501: [23:14:16] <Colin[pi]> Stomach: clients be like http://imgur.com/X17puIB.gif
502: [23:14:20] <ss-helper> Re: Is this a bug or was it designed to work like this? - http://www.silverstripe.org/community/forums/general-questions/show/101591#post401162
503: [23:14:24] <antmas> Stomach: what now?
504: [23:14:37] <Stomach> the high five was the wrong way :(
505: [23:14:41] <Stomach> Colin[pi] lol :D
506: [23:14:52] <antmas> oh
507: [23:14:53] <antmas> :D
508: [23:14:55] <antmas> \o
509: [23:15:57] <Stomach> Colin[pi] - that went straight into internal chat at work ahaha
510: [23:16:24] * DimiStripe_alt has joined #silverstripe
511: [23:16:38] * DimiStripe quit (Ping timeout: 252 seconds)
512: [23:17:06] <Colin[pi]> Stomach: love it, so apt for 99% of clients
513: [23:17:13] <Ryan-Toast> Stomach: Boom, client-proof http://i.imgur.com/0J4GCxP.png
514: [23:17:26] <Stomach> hahahaha
515: [23:17:31] <Stomach> they can still get into setings
516: [23:17:32] <Colin[pi]> Ryan-Toast: dat minimalism
517: [23:17:33] <Stomach> and delete it
518: [23:17:34] <Stomach> which is bad
519: [23:17:45] <Ryan-Toast> Stomach: this is true.
520: [23:17:46] <Colin[pi]> Ryan-Toast: yeah they'll still find a way to fuck something up
521: [23:18:00] <Ryan-Toast> Colin[pi]: I find clients never go into settings.
522: [23:18:09] <Colin[pi]> like, one of mine one day called in a panic, she had managed to delete have the site somehow
523: [23:18:14] <Colin[pi]> I don't even know how she did it
524: [23:18:19] <Colin[pi]> *half
525: [23:18:43] <Ryan-Toast> I removed pretty much all the buttons from the WYSIWYG, and people keep sheepishly asking if they can have the Image button back. NO, NO IMAGES FOR YOU
526: [23:19:04] <Ryan-Toast> YOU WILL HAVE THE IMAGES IN THE SPOTS I HAVE ALLOWED YOU TO HAVE
527: [23:19:11] <Colin[pi]> Ryan-Toast: remove anything related to font formatting/colour/size as well
528: [23:19:39] <Colin[pi]> in fact, just give them a textarea
529: [23:19:59] <Colin[pi]> at least that would fix any paste from word bullshit :D
530: [23:20:12] <Ryan-Toast> Colin[pi]: This is what they get: http://i.imgur.com/GtYj7yi.png
531: [23:20:28] <Colin[pi]> ohh me likey
532: [23:20:33] <Colin[pi]> nice and simple
533: [23:20:47] <Ryan-Toast> Colin[pi]: https://github.com/Rhym/silverstripe-cms-theme
534: [23:23:11] <Colin[pi]> Ryan-Toast: ta
535: [23:23:19] <Stomach> Ryan-Toast - client proof: http://imgur.com/7VuuLJS
536: [23:23:56] <Ryan-Toast> Stomach: I like it, and I’ve been meaning to do something like you had in your slides. I just don’t like incluing so many dependancies :(
537: [23:23:57] * cloph_away quit (Remote host closed the connection)
538: [23:24:51] <Stomach> Ryan-Toast - why not? :P
539: [23:25:13] <Colin[pi]> speaking of dependencies, is it me or has the std SS install started also pulling down phpunit?
540: [23:25:27] <Ryan-Toast> Stomach: dunno :P
541: [23:25:49] <Stomach> Ryan-Toast - we have 32 dependencies in our base install
542: [23:25:49] <Ryan-Toast> Stomach: That and most of the clients we have need pages all the time, and I cbf adding them :P
543: [23:26:47] <Stomach> Ryan-Toast - http://imgur.com/hmEnSGw :P
544: [23:27:02] <Ryan-Toast> Stomach: Ah, nice :D
545: [23:28:53] * babak quit (Quit: Connection closed for inactivity)
546: [23:29:55] <Colin[pi]> Stomach: what is that accordion style menu on the left? that's not standard is it?
547: [23:31:47] * muskie9_afk is now known as muskie9
548: [23:32:09] <Stomach> Colin[pi] - nope
549: [23:32:21] <Stomach> https://github.com/silverstripe-australia/silverstripe-grouped-cms-menu
550: [23:32:29] * nimeso has joined #silverstripe
551: [23:32:34] <Colin[pi]> nice, thanks
552: [23:32:43] <Ryan-Toast> Colin[pi]: http://stevie-mayhew.github.io/sitetree-less-sites-talk/
553: [23:33:33] <Colin[pi]> sweet
554: [23:33:41] <Colin[pi]> colin likey
555: [23:34:06] <Colin[pi]> oh jesus that rabbit at the end, dafuq
556: [23:35:29] <Stomach> hahaha
557: [23:35:33] <nimeso> Paid help needed :( I'm having issues with $LoginForm in the main Page.ss. It logs the user in fine BUT does not redirect to the admin section also the logout link redirects to home/LoginForm and it's just a blank screen. Has anyone had these issues before? any help would be great.
558: [23:36:51] <Stomach> nimeso - is LoginForm an allowed action on home page?
559: [23:37:46] <adrexia> <Colin[pi]> Stomach: what is that accordion style menu on the left? that's not standard is it?
560: [23:37:59] <adrexia> it was actually in the original design, and the css for it is still in core
561: [23:38:00] <adrexia> :D
562: [23:38:21] <Stomach> yeah, I implemented my own one using the core code ages ago before starting to use the ss aus one
563: [23:38:21] <adrexia> js too I think
564: [23:38:27] <Stomach> yup adrexia its all there
565: [23:38:40] <Stomach> no need to do shit, just update LeftAndMain_Menu or whatever it is
566: [23:38:42] <Stomach> and it runs fine
567: [23:39:21] <adrexia> yep :D
568: [23:39:36] <adrexia> I wish that menu had a better api
569: [23:39:45] <Colin[pi]> adrexia: really? why did they pull it out?
570: [23:39:49] <adrexia> currently it basically works by overriding templates
571: [23:40:06] <adrexia> Colin[pi], it was only used for the files area, and the use was confusing
572: [23:40:09] <Stomach> yeah adrexia I'd like to be able to nest deeper
573: [23:40:16] <Colin[pi]> adrexia: I think it looks awesome :D
574: [23:40:22] <adrexia> it was hard coded into the template
575: [23:40:31] <Colin[pi]> oic
576: [23:40:46] <Colin[pi]> Stomach: nestception
577: [23:41:07] <Stomach> Pages > About Pages > About Us, What We Do, Who We Are
578: [23:41:08] <Stomach> etc
579: [23:41:39] <adrexia> https://github.com/silverstripe/silverstripe-design/blob/master/Design/ss3-ui_reports-detail.jpg
580: [23:41:54] <nimeso> Thanks Stomach ... yes I have added 'LoginForm' as an allowed_action ... that is why I'm just getting a blank screen :(
581: [23:42:11] <adrexia> I think if you are nesting deeper you should probably use the sitetree :P
582: [23:42:26] <Stomach> adrexia - why use the site tree! :P
583: [23:42:27] <ss-helper> Re: $LoginForm in SS3.x - http://www.silverstripe.org/community/forums/general-questions/show/23659#post401164
584: [23:42:28] <ss-helper> Re: Is this a bug or was it designed to work like this? - http://www.silverstripe.org/community/forums/general-questions/show/101591#post401163
585: [23:42:32] <Stomach> sitetree in sidebar go!
586: [23:42:38] <Stomach> nimeso - what error are you receiving then
587: [23:42:39] <adrexia> but it works pretty well for flat heirachgies with limited pages
588: [23:42:46] <adrexia> lols
589: [23:42:46] <Stomach> nimeso - check your php error log
590: [23:42:58] <nimeso> No errors... just blank screen :(
591: [23:44:00] * muskie9 is now known as muskie9_afk
592: [23:44:25] <nimeso> I even tried doing class Page_Controller extends Security { ... no luck... dev build flipped out lol
593: [23:45:05] <Stomach> nimeso - there will be an error in a log somewhere if you are logging it
594: [23:45:13] <Stomach> can you pastie your code somewhere so we can look at it
595: [23:45:20] <nimeso> It's almost like I would have to copy/paste everything from Security.php in to my page controller which sucks balls
596: [23:45:41] <nimeso> yip... not much code really though bro... all pretty simple
597: [23:46:39] <Stomach> yes so lets get it working :P
598: [23:47:11] <Stomach> the simple way is probably to extends MemberLoginForm and then set a different backurl if the user you log in is in the administrators group
599: [23:47:21] <Stomach> and then use /Security/logout as the logout link
600: [23:48:00] <nimeso> Stomach! Ta heaps! http://www.sspaste.com/paste/show/5525be01b4335
601: [23:48:25] <nimeso> Yes... I'll try extending the MemberLoginForm and see if that sorts it.... grrrrr
602: [23:48:49] <Stomach> nimeso - you need to add the forms to the controller do
603: [23:48:50] <Stomach> to*
604: [23:49:06] <Ryan-Toast> nimeso: I have a registration form that I use that you can put anywhere in the site: https://github.com/Rhym/silverstripe-boilerplate/blob/master/code/Modules/Registration/code/forms/RegistrationForm.php
605: [23:49:29] <Stomach> nimeso - posted a comment
606: [23:49:33] <Stomach> or use Ryan-Toast stuff
607: [23:49:39] <Ryan-Toast> nimeso: then just call it like so: https://github.com/Rhym/silverstripe-boilerplate/blob/master/code/Modules/Registration/code/RegistrationPage.php#L20
608: [23:50:01] <nimeso> Ta Ryan bro! I have registration sorted :) that all works fine... just login is the bitch
609: [23:50:16] <Ryan-Toast> nimeso: ah, rioght :D
610: [23:50:50] <Ryan-Toast> nimeso: maybe have a look how that form handles the redirect?
611: [23:51:22] <Ryan-Toast> nvm, I have a custom page type for that :P
612: [23:51:49] <nimeso> Ta guys! I'll try extending the MemberLoginForm and hard code the logout link... sigh... I'll update you soon dudes, thanks heaps for your help
613: [23:57:29] <ss-helper> Re: Is this a bug or was it designed to work like this? - http://www.silverstripe.org/community/forums/general-questions/show/101591#post401165

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