#silverstripe IRC Log

IRC log for 16 February 2015

All timestamps are in UTC.

1: [00:00:01] * blueman_ has joined #silverstripe
2: [00:00:24] * blueman_ is now known as Guest35630
3: [00:07:47] * Colin[pi] has joined #silverstripe
4: [00:08:27] <Colin[pi]> seems legit http://i.imgur.com/R0UwwQM.png
5: [00:11:59] * micmania1 has joined #silverstripe
6: [00:15:34] <MichalKleiner> o ou
7: [00:17:07] <MichalKleiner> ay opinions about whether project repository root should be htdocs or one dir above for stuff that you don't want web accessible?
8: [00:23:41] * benjhocking has joined #silverstripe
9: [00:25:36] <micmania1> MichalKleiner: always one dir above. If PHP or apache failed, your passwords could be read in plain text via the web.
10: [00:25:45] * travis-ci has joined #silverstripe
11: [00:25:46] <travis-ci> dhensby/silverstripe-framework#149 (pulls/namespace-import-manifest-fix - a9ce7e5 : Daniel Hensby): The build has errored.
12: [00:25:46] <travis-ci> Change view : https://github.com/dhensby/silverstripe-framework/compare/d1fde2130240...a9ce7e5e2df1
13: [00:25:46] <travis-ci> Build details : http://travis-ci.org/dhensby/silverstripe-framework/builds/50884137
14: [00:25:46] * travis-ci has left #silverstripe
15: [00:26:16] <Colin[pi]> micmania1: if.... apache failed?
16: [00:26:18] <Colin[pi]> ;P
17: [00:26:25] <Colin[pi]> if it failed how is it web accessible?
18: [00:26:38] <MichalKleiner> micmania1 good point. We do it one dir above, just was more after any opposite opinions..
19: [00:26:47] <micmania1> Well a failure could mean that its unable to detect that it has PHP installed meaning they’d be served as plaintext
20: [00:26:52] <MichalKleiner> Colin[pi] maybe in a way to pass it to php or whatever else
21: [00:27:01] <Colin[pi]> micmania1: ah k :P
22: [00:28:13] <zippy> I agree, but the reason it's not default is because of shared hosting people?
23: [00:28:32] <Colin[pi]> eeuw, shared hosting
24: [00:28:43] <micmania1> Even shared hosting usually offers a folder above. If not then ditch them
25: [00:29:08] <zippy> assets, mysite, silverstripe-cache, themes, vendor
26: [00:29:16] <zippy> and, public
27: [00:29:22] <zippy> (or httpdocs)
28: [00:30:15] * jedateach has joined #silverstripe
29: [00:30:21] <zippy> cms, framework, and other module slike betterbuttons and SortableGridField all in the vendor folder
30: [00:38:19] * Guest35630 quit (Remote host closed the connection)
31: [00:46:59] * blueman_ has joined #silverstripe
32: [00:47:23] * blueman_ is now known as Guest74521
33: [00:55:22] <MichalKleiner> can you install ss modules in vendor folder?
34: [00:55:27] * joelpittet quit ()
35: [00:56:34] <Hailwood> So does anyone have some extensions or similar to make SS play nice with SVGs?
36: [00:56:48] <micmania1> MichalKleiner: I haven’t tried but i’m guessing the _config folder would be ignored and _config.php would probably be included at the wrong time.
37: [00:57:13] <MichalKleiner> micmania1 that's what I'd thought so as well
38: [00:57:54] <zippy> just merged all the config rules into a config.php which included in the mysite/_config.php
39: [00:58:00] <zippy> then can set the order how you want
40: [00:58:09] <zippy> and doesn't need to scan the folders so a little quicker
41: [00:58:28] <zippy> number of times need to change the config file, not many. number of times have to flush and dev/build - lots
42: [00:58:35] <micmania1> If you’re merging config in PHP then it will probably end up being slower.
43: [00:59:26] <zippy> the flush config builder uses php too right
44: [00:59:41] <MichalKleiner> it shouldn't be that hard to crawl all dirs for _config.php even within vendor folder..
45: [01:00:23] <micmania1> zippy: yeah, but it caches down to serialized files. Any php changes on a normal run will disturb that. The slowest part of SS is merging config which is what happens when you run Config::inst()->update()
46: [01:01:03] <zippy> yeap, but why does SS have to merge the config
47: [01:01:11] <zippy> if we have it in php in the order / settings that we want
48: [01:01:36] <micmania1> Because the Before and After blocks in yaml config
49: [01:02:08] <zippy> yea, but I would consider ditching the yaml as well
50: [01:02:09] <micmania1> Also, modules are on the same level so there’s no guarentee which _config.php will be included first
51: [01:02:50] <micmania1> I was looking at ZF2 on Friday to see how they done it. There’s is a LOT faster but i spent half of the day writing config files. You basically have to tell it everything to do.
52: [01:03:32] <micmania1> It seems as though most PHP frameworks face the same issue tbh
53: [01:03:39] <micmania1> I’m sure one of them does it well though
54: [01:03:49] <micmania1> hopefully.
55: [01:04:52] <zippy> playing around I've cut flush time in half which isn't to bad, I think it could be sped up further
56: [01:05:02] <MichalKleiner> I'd rather write a bit more config to be able to do what I want compared to having some magic but not be in control
57: [01:05:02] <zippy> but I think the whole config system really needs a change
58: [01:05:04] <zippy> 4.0 would be idea
59: [01:05:20] <zippy> MichalKleiner: agree, and for that magic to have to run and take a long time to run..
60: [01:06:07] <micmania1> Laravel just has files that return arrays. I haven’t looked beyond that though
61: [01:06:25] <micmania1> Gunna look at ZF2 some more first :D
62: [01:06:52] <zippy> micmania1: yea I do like laravels method of doing the config, just didn't want to mention the L word :P
63: [01:11:38] <micmania1> It would be good if we had a module folder which was separate to the framework and mysite folder.
64: [01:12:06] <micmania1> Then we could kind of define any specific order there so we wouldn’t have to even flush
65: [01:12:18] <micmania1> And just use php
66: [01:13:34] <zippy> the config system in ss does a lot eh
67: [01:13:39] <MichalKleiner> maybe fake it with numbered folders? something like 00_betterbuttons, 01_gridfieldextension etc
68: [01:13:52] <MichalKleiner> if it goes alphabetically
69: [01:14:11] <MichalKleiner> not a nice way
70: [01:14:15] <MichalKleiner> but..
71: [01:14:40] <micmania1> MichalKleiner: yeah, that’s fine until a module pulls in a dependency which started with 000_ to also try and fake it :p
72: [01:14:51] <MichalKleiner> true
73: [01:15:12] <MichalKleiner> let me have a look on the config system one day and maybe...
74: [01:15:19] <MichalKleiner> we could at least sneak in a custom path
75: [01:16:17] <micmania1> http://api.silverstripe.org/3.1/source-class-Config_LRU.html#681-788 - This is the kind of stuff you have to deal with
76: [01:16:41] <micmania1> I believe that’s only used for flushing though. Would be nice to get rid of flush=1
77: [01:19:26] <zippy> http://api.silverstripe.org/3.1/source-class-ManifestFileFinder.html#53
78: [01:20:26] <micmania1> interesting…
79: [01:20:51] <micmania1> That basically means you can have a _config folder in a theme right?
80: [01:21:11] <zippy> it's saying to include the themes folder even if it has no _config folder I believe
81: [01:21:29] <zippy> so, you could look around / patch this code to allow vendor folder, is what I was getting at
82: [01:22:20] <zippy> Stomach: getting more than I thought
83: [01:22:27] <Stomach> zippy - yeah man, way more
84: [01:22:30] <Stomach> thought it would be 260ish
85: [01:22:38] <zippy> 240 even
86: [01:25:27] <Hailwood> Righto - so I am trying to allow SVGs to be uploaded as images, I have a 'has_one' relation to 'Image' and I have set the _config.yml up (https://gist.github.com/hailwood/1c0240355925fd196b15) but for some reason even though the file is successfully uploading I am getting the error "Empty file upload result"
87: [01:26:37] <MichalKleiner> destination dir permissions?
88: [01:27:10] <MichalKleiner> maybe it has to be File rather than Image
89: [01:27:37] * camfindlay has joined #silverstripe
90: [01:27:44] <MichalKleiner> o/ cam
91: [01:27:55] <camfindlay> yo
92: [01:28:32] * greenman_ has joined #silverstripe
93: [01:28:38] <Hailwood> MichalKleiner, I don't believe it is a permission issue since the file is actually uploaded - it's just the response that comes back wrong. Yeah it could be that it has to be file...
94: [01:29:00] <MichalKleiner> Hailwood: just throwing ideas around
95: [01:32:52] * greenman_ quit (Ping timeout: 250 seconds)
96: [01:33:37] <zippy> Hailwood: in the assets/.htaccess file are .svg in there? doesn't seem to be on mine
97: [01:33:48] <zippy> Hailwood: check the assets fodler and see if the file is actually there
98: [01:37:53] <Hailwood> zippy, in this case there is actually no htaccess file there (there is on the live server!) - but yeah the file is actually uploaded.
99: [01:38:20] <Hailwood> I think it may be as MichalKleiner suggested - SS won't let you use an SVG as a 'Image' classed object since really they aren't typical images.
100: [01:39:48] <adrexia> true. You could put all sort of things in an svg
101: [01:39:57] <adrexia> huh. I wonder...
102: [01:46:51] * WandL has joined #silverstripe
103: [01:48:31] <camfindlay> question… should the link over to ‘addons’ be in the ‘community’ section of ss.org? It’s in the software section at the moment and I wonder if people miss it?
104: [01:51:08] <wracu> can a GridFieldConfig_RelationEditor have export to CSV buttons?
105: [01:52:39] <MichalKleiner> camfindlay: why not both..
106: [01:52:53] <MichalKleiner> it's community thing and it's software
107: [01:53:00] <adrexia> https://www.owasp.org/images/0/03/Mario_Heiderich_OWASP_Sweden_The_image_that_called_me.pdf interesting read
108: [01:53:58] <adrexia> camfindlay, I would look in software for it. But both sounds good
109: [01:54:14] <adrexia> or even more important - and make it a first level item
110: [01:54:52] <adrexia> wracu pretty sure you can add them, yeah]
111: [01:56:51] <wracu> adrexia: I'm using $config = GridFieldConfig_RelationEditor::create(); and $config->removeComponentsByType('GridFieldAddNewButton');
112: [01:57:02] <wracu> but I also want to add the export button back in
113: [01:57:25] <wracu> http://doc.silverstripe.org/en/3.0/reference/grid-field GridField_ActionProvider
114: [01:58:10] <adrexia> $config->addComponent($export = new GridFieldExportButton('before')); ?
115: [01:58:27] <adrexia> oh - you'll need the gridfield buttons thing too
116: [01:58:55] <adrexia> though, it's probably there already?
117: [01:59:16] <wracu> ahh... new GridFieldExportButton(
118: [01:59:21] <wracu> as opposed to...
119: [01:59:32] <wracu> $config->addComponents('GridFieldExportButton');.
120: [01:59:38] <adrexia> or GridFieldExportButton::create()
121: [01:59:44] <adrexia> but yep :)
122: [01:59:45] <wracu> yeah was treating it in the wrong way
123: [01:59:47] <wracu> ta
124: [02:00:20] * kerosene has joined #silverstripe
125: [02:02:23] * greenman_ has joined #silverstripe
126: [02:06:29] * greenman_ quit (Ping timeout: 245 seconds)
127: [02:15:28] * Guest74521 quit (Remote host closed the connection)
128: [02:21:26] * blueman has joined #silverstripe
129: [02:23:35] * blueman_ has joined #silverstripe
130: [02:23:35] * blueman quit (Read error: Connection reset by peer)
131: [02:23:59] * blueman_ is now known as Guest27368
132: [02:27:40] * antmas quit (Quit: Page closed)
133: [02:34:32] <zippy> anyone play Oil Rush ?
134: [02:35:05] <MichalKleiner> I don't play much... anyone play OpenTTD?
135: [02:52:32] * veb quit (Quit: veb-irc: &)
136: [03:00:53] * novaweb quit (Quit: Leaving)
137: [03:07:39] * travis-ci has joined #silverstripe
138: [03:07:40] <travis-ci> silverstripe/silverstripe-framework#4116 (3.1 - 49c4627 : Damian Mooyman): The build passed.
139: [03:07:40] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/bf0104644bd5...49c462710dfc
140: [03:07:40] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/50893271
141: [03:07:40] * travis-ci has left #silverstripe
142: [03:10:46] * joelpittet has joined #silverstripe
143: [03:12:32] * Guest27368 quit (Remote host closed the connection)
144: [03:15:43] * blueman has joined #silverstripe
145: [03:17:21] * camfindlay quit (Quit: camfindlay)
146: [03:17:48] <Colin[pi]> is it Friday yet?
147: [03:19:07] <zippy> nope. no-where in the world is it friday...
148: [03:19:13] <Colin[pi]> CURSES
149: [03:19:30] <Colin[pi]> going to be one of "those" weeks I think...
150: [03:19:34] <MichalKleiner> EasyCo: where do you deploy from Codeship to?
151: [03:20:00] <MichalKleiner> I'd need custom script probably so thinking about the best way how to transfer built files
152: [03:20:27] <EasyCo> MichalKleiner: I deploy to a cloud server
153: [03:21:44] <zippy> EasyCo: it deploy via scp or something?
154: [03:21:49] * travis-ci has joined #silverstripe
155: [03:21:50] <travis-ci> silverstripe/silverstripe-framework#4117 (3.1 - 1879b2e : Damian Mooyman): The build passed.
156: [03:21:50] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/49c462710dfc...1879b2ecf639
157: [03:21:50] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/50894010
158: [03:21:50] * travis-ci has left #silverstripe
159: [03:24:14] <MichalKleiner> hmm, I will need also manual deployment to production.. it's nice to have autodeployment to staging/uat but production should be 1-click manual
160: [03:24:25] <zippy> dploy.io ?
161: [03:25:21] <EasyCo> When a new commit to master happens, Codeship runs the tests and if all is good it then deploys using my capistrano config.
162: [03:27:38] <MichalKleiner> that's what I don't want for master.. other branches are ok.. but it seems I can trigger it from codeship too..
163: [03:28:34] <MichalKleiner> not sure if it's possible to choose tag.. I can do that with my fabric script.. but not sure if I want all the built tools on production..
164: [03:28:43] <EasyCo> You can pick what branch to monitor
165: [03:30:45] <MichalKleiner> I know, but what about tags? and still be able to deploy but not after push?
166: [03:31:55] <EasyCo> You can always just deploy from your own system by running `cap wherever deploy`
167: [03:32:34] <EasyCo> AFAIK you can't trigger a deploy through Codeship solely on a tag creation.
168: [03:35:03] <MichalKleiner> that's all clear to me..
169: [03:35:31] <MichalKleiner> I just need a combination of build and deployment for manual and automatic scenarios
170: [03:35:34] <MichalKleiner> will play around
171: [03:45:50] * travis-ci has joined #silverstripe
172: [03:45:51] <travis-ci> silverstripe/silverstripe-framework#4118 (3.1.10 - 1879b2e : Damian Mooyman): The build passed.
173: [03:45:52] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/3.1.10
174: [03:45:52] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/50895193
175: [03:45:52] * travis-ci has left #silverstripe
176: [03:47:59] * blueman quit (Disconnected by services)
177: [03:48:34] * blueman_ has joined #silverstripe
178: [03:48:59] * blueman_ is now known as Guest16886
179: [03:52:31] <zippy> 3.1.10?
180: [03:52:34] <zippy> orly
181: [03:54:24] <zauberfisch> apperently RC1
182: [03:58:47] * mobiusnz quit (Quit: Leaving.)
183: [03:59:17] * jedateach quit (Quit: jedateach)
184: [03:59:58] * jedateach has joined #silverstripe
185: [04:00:17] * travis-ci has joined #silverstripe
186: [04:00:18] <travis-ci> silverstripe/silverstripe-cms#1122 (3.1.10 - c7814cf : Damian Mooyman): The build passed.
187: [04:00:18] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-cms/compare/3.1.10
188: [04:00:18] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/50895206
189: [04:00:18] * travis-ci has left #silverstripe
190: [04:00:44] * Guest16886 quit ()
191: [04:04:19] * travis-ci has joined #silverstripe
192: [04:04:20] <travis-ci> silverstripe/silverstripe-framework#4119 (3.1.10 - 9a97cbc : Damian Mooyman): The build passed.
193: [04:04:21] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/1879b2ecf639...9a97cbc255d7
194: [04:04:21] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/50895678
195: [04:04:21] * travis-ci has left #silverstripe
196: [04:06:30] * jedateach quit (Quit: jedateach)
197: [04:07:56] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
198: [04:10:59] * veb has joined #silverstripe
199: [04:11:03] * veb quit (Client Quit)
200: [04:14:23] * travis-ci has joined #silverstripe
201: [04:14:24] <travis-ci> silverstripe/silverstripe-framework#4120 (3.1.10-rc1 - 9a97cbc : Damian Mooyman): The build passed.
202: [04:14:24] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/3.1.10-rc1
203: [04:14:24] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/50895707
204: [04:14:24] * travis-ci has left #silverstripe
205: [04:20:57] <MichalKleiner> zauberfisch good guess :)
206: [04:21:05] * joelpittet quit ()
207: [04:24:56] * Hailwood quit (Remote host closed the connection)
208: [04:26:33] * travis-ci has joined #silverstripe
209: [04:26:34] <travis-ci> silverstripe/silverstripe-cms#1123 (3.1.10-rc1 - c7814cf : Damian Mooyman): The build passed.
210: [04:26:34] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-cms/compare/3.1.10-rc1
211: [04:26:34] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/50895730
212: [04:26:34] * travis-ci has left #silverstripe
213: [04:30:34] * praveen_ quit (Ping timeout: 246 seconds)
214: [04:42:18] * veb has joined #silverstripe
215: [04:45:52] * veb quit (Client Quit)
216: [04:48:16] * Stomach quit (Quit: zzz)
217: [04:51:55] * cloph_away has joined #silverstripe
218: [04:52:03] * cloph quit (Ping timeout: 245 seconds)
219: [04:56:56] * mobiusnz has joined #silverstripe
220: [04:58:32] * Shrike_Finland has joined #silverstripe
221: [05:02:24] * MichalKleiner is now known as MichalKleiner|aw
222: [05:03:59] <WandL> Hi guys how do I only call some code if a record has just been created in onAfterWrite, only want to call this code once, so not when a DO is edited only on the intial write()?
223: [05:04:44] <ss23> Check if uh
224: [05:05:12] <ss23> There's a value for it
225: [05:05:18] <ss23> micmania1: What is it?
226: [05:05:48] <micmania1> WandL: requireDefaults() I think
227: [05:06:05] <WandL> be good if we had an onBeforeCreated and onAfterCreated
228: [05:06:37] <micmania1> WandL: Its populateDefaults
229: [05:07:32] <WandL> micmania1: okay thanks will look at that have used that to set defaults for itself but not write to another table that should work!
230: [05:08:13] <micmania1> You could also just use onAfterWrite. if($this->original[‘ID’] == 0) { //blah }
231: [05:11:00] <WandL> micmania1: hmm yeah think that may work better as am writing a Notification to another table...
232: [05:18:05] * Colin[pi] quit (Ping timeout: 252 seconds)
233: [05:21:18] * r_hector has joined #silverstripe
234: [05:21:18] <WandL> micmania1: yeah that works a charm thank you :)
235: [05:28:27] * mobiusnz quit (Quit: Leaving.)
236: [05:46:48] * Shrike_Finland quit (Quit: Leaving.)
237: [05:48:58] * Stomach has joined #silverstripe
238: [05:49:32] * mobiusnz has joined #silverstripe
239: [05:49:55] * Error404NotFound has joined #silverstripe
240: [06:02:27] * micmania1 quit (Quit: micmania1)
241: [06:11:37] * Colin[pi] has joined #silverstripe
242: [06:11:57] <ss23> ss23, master of getting other people to solve problems for people
243: [06:11:57] <ss23> o/
244: [06:15:50] * Colin[pi] quit (Ping timeout: 250 seconds)
245: [06:15:56] * mobiusnz quit (Quit: Leaving.)
246: [06:17:05] * Stomach quit (Quit: zzz)
247: [06:20:38] * Shrike_Finland has joined #silverstripe
248: [06:35:01] * zippy has joined #silverstripe
249: [06:51:51] * WandL quit (Quit: My Mac has gone to sleep. ZZZzzz…)
250: [07:00:23] * Tanger has joined #silverstripe
251: [07:07:26] * jedateach has joined #silverstripe
252: [07:07:29] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
253: [07:14:08] * elgabbu quit (Quit: Page closed)
254: [07:14:24] * elgabbu has joined #silverstripe
255: [07:15:11] * Stomach has joined #silverstripe
256: [07:17:02] * mobiusnz has joined #silverstripe
257: [07:18:46] * jedateach quit (Quit: jedateach)
258: [07:25:39] * Sticks quit (Ping timeout: 245 seconds)
259: [07:34:21] * Eliseth has joined #silverstripe
260: [07:38:42] <elgabbu> gd morning
261: [07:39:00] <elgabbu> i was wondering about the populateDefaults function
262: [07:40:25] <elgabbu> as i understand it ... one could utilise this function such that depending on some logic upon creation of a page one could set some default values of the properties of the page
263: [07:47:49] * Cramb has joined #silverstripe
264: [07:50:15] <Tanger> elgabbus: Yep, pretty much. You can set objects as default values inside it
265: [07:51:08] <Tanger> elgabbus: the $defaults array is for settings text, but if you need to set a default that needs to be initialised (such as a date object), then that needs to be done in populatedefaults
266: [07:55:22] * arnhoe has joined #silverstripe
267: [08:00:08] <elgabbu> Tanger ... Mhm than I am super confused why although I am setting the value of a property (Boolean) in the populatedDefaults function ... the respective checkbox still doesn't show up as checked :/
268: [08:03:29] <Tanger> elgabbu: Try setting the boolean in the normal $defaults array
269: [08:03:48] <Tanger> elgabbu: ie "isChecked" => 1
270: [08:05:45] <Tanger> Booleans are stored as 1 or 0 in the backend DB, so they can be instantiated with simple string/numeric values
271: [08:05:51] * Tanger has left #silverstripe
272: [08:05:59] * Tanger has joined #silverstripe
273: [08:08:26] * travis-ci has joined #silverstripe
274: [08:08:27] <travis-ci> silverstripe/silverstripe-framework#4121 (3.1 - 9e600e9 : Daniel Hensby): The build passed.
275: [08:08:27] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/1879b2ecf639...9e600e9e0c18
276: [08:08:27] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/50908125
277: [08:08:27] * travis-ci has left #silverstripe
278: [08:10:02] * mobiusnz quit (Quit: Leaving.)
279: [08:17:35] <elgabbu> hmmm setting the defaults property seems to have had some effect
280: [08:18:03] <elgabbu> the checkbox is finally checked
281: [08:18:22] <elgabbu> however using the property doesn't allow me to include the logic i need
282: [08:19:21] * jbrungar quit (Quit: ZNC - http://znc.in)
283: [08:19:34] * jbrungar has joined #silverstripe
284: [08:20:08] * zippy has joined #silverstripe
285: [08:23:46] <Tanger> elgabbu: can you pastebin the populate_defaults code you have? I can take alook if you want
286: [08:25:46] <elgabbu> i think i just figured it out
287: [08:26:18] <elgabbu> http://sspaste.com/paste/show/54e1a9482a510
288: [08:26:28] <elgabbu> i was missing the 'owner'
289: [08:27:06] <elgabbu> since this is being done in an extension
290: [08:29:36] <Tanger> elgabbu: Ah! yeah, that would do it. That's something I always forget to add
291: [08:30:19] <elgabbu> hehe glad to have finally figured it out :) ... thanks tanger
292: [08:44:42] * veb has joined #silverstripe
293: [08:44:49] * jbrungar quit (Ping timeout: 245 seconds)
294: [08:45:38] * bemusedrat has joined #silverstripe
295: [08:49:36] * jbrungar has joined #silverstripe
296: [08:53:55] * wmk has joined #silverstripe
297: [08:55:51] <wmk> A good carneval morning (ugt)
298: [08:56:20] <zippy> morning
299: [09:05:51] * gavro has joined #silverstripe
300: [09:07:15] * Motoservo has joined #silverstripe
301: [09:13:14] * Cramb quit (Quit: Cramb)
302: [09:19:52] * Stomach quit (Quit: zzz)
303: [09:20:13] * kinglozzer has joined #silverstripe
304: [09:29:35] * Shrike_Finland quit (Quit: Leaving.)
305: [09:30:28] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
306: [09:32:54] <wmk> kinglozzer, is ther also carneval in uk?
307: [09:33:52] * guci0 has joined #silverstripe
308: [09:33:55] <guci0> Morning!
309: [09:33:55] <kinglozzer> wmk: Carneval? Is that a specific thing, or do you mean carnivals in general?
310: [09:34:02] <kinglozzer> Never heard of it
311: [09:34:31] * Shrike_Finland has joined #silverstripe
312: [09:34:32] <wmk> well, some kind like street parades or carneval parties with masquerade
313: [09:36:24] <elgabbu> hi guys ... is it possible to extend an extension?
314: [09:36:41] <wmk> elgabbu, subclassing - of course
315: [09:37:08] * travis-ci has joined #silverstripe
316: [09:37:09] <travis-ci> dhensby/silverstripe-framework#150 (pulls/namespace-import-manifest-fix - 2542514 : Daniel Hensby): The build has errored.
317: [09:37:10] <travis-ci> Change view : https://github.com/dhensby/silverstripe-framework/compare/a9ce7e5e2df1...25425144131b
318: [09:37:10] <travis-ci> Build details : http://travis-ci.org/dhensby/silverstripe-framework/builds/50916134
319: [09:37:10] * travis-ci has left #silverstripe
320: [09:37:24] <wmk> extending.... well, you can define your own extension points, but i guess you'd need to call $this->owner->extend() instead
321: [09:37:38] <kinglozzer> Correct ^^ $this->owner->extend()
322: [09:37:43] <kinglozzer> Forum module does it IIRC
323: [09:37:59] <wmk> but beware: there is no given order how extensions are called
324: [09:38:02] <kinglozzer> wmk: There are some here, yeah. Not many though - I've never been to one
325: [09:38:16] <wmk> kinglozzer, ok. was just wondering.
326: [09:38:31] * wmk will go skiing with kids instead
327: [09:39:21] <wmk> quite funny when extension is called and another extension overwrites everything from scratch :(
328: [09:41:24] * Tanger quit (Quit: Tanger)
329: [09:42:27] * travis-ci has joined #silverstripe
330: [09:42:28] <travis-ci> dhensby/silverstripe-framework#151 (pulls/class-exists-fix - 3c10c36 : Daniel Hensby): The build has errored.
331: [09:42:29] <travis-ci> Change view : https://github.com/dhensby/silverstripe-framework/commit/3c10c3639f3d
332: [09:42:29] <travis-ci> Build details : http://travis-ci.org/dhensby/silverstripe-framework/builds/50916515
333: [09:42:29] * travis-ci has left #silverstripe
334: [09:47:03] <zauberfisch> yay, with 3.1.10 RC1 it now finds the _ss_env file in my vagrant VM
335: [09:47:41] <zauberfisch> wmk: if you update the VM to the newest version, and use 3.1.10, you don't have to create the _ss_environment.php file anymore, because its inside the box
336: [09:47:47] <zauberfisch> but its hidden from the vagrant share
337: [09:48:33] <wmk> zauberfisch, sounds good
338: [09:48:42] <wmk> just had the update notification
339: [09:49:33] <wmk> was mostly a copy/paste from one project to the next
340: [09:49:46] <wmk> where is it located? in / directly?
341: [09:49:50] <zauberfisch> yep
342: [09:49:52] <zauberfisch> /
343: [09:49:59] <zauberfisch> so its outside the vagrant share
344: [09:50:07] <wmk> that's ok for a dev vm
345: [09:50:19] <zauberfisch> I did it this way to avoid overwriting conflicts in case you want to define your own
346: [09:50:35] <wmk> yup. do you have the default database now in?
347: [09:50:38] <zauberfisch> if you put your own file in the vagrant root or in the www folder, that will overwrite the default file
348: [09:50:47] <wmk> of course
349: [09:50:51] <zauberfisch> so you can always overwrite it just by creating a file
350: [09:51:27] <zauberfisch> default values are: root:dont-use-in-production@localhost silverstripe
351: [09:51:51] <zauberfisch> also, I created a shortcut for mysql and mysql dump that already has the password configured
352: [09:52:11] <zauberfisch> so you can do "vagrant ssh -c 'mysql-client'" and it will put you right into the mysql command line
353: [09:52:11] <wmk> zauberfisch, any docs available?
354: [09:52:22] <zauberfisch> was about to say, I should probably write some dodcs
355: [09:52:30] <zauberfisch> or link to the IRC log from now :D
356: [09:52:38] <wmk> well...
357: [09:52:49] <zauberfisch> dump: "vagrant ssh -c 'mysql-dump silverstripe > my-db-backup.sql'"
358: [09:53:04] <zauberfisch> and that will put a my-db-backup.sql into your vagrant share folder
359: [09:53:58] <wmk> how the share? is vagrant ssh automatically in the share?
360: [09:54:31] * Stomach has joined #silverstripe
361: [09:55:01] <wmk> some bash script that outputs to dump-yyyymmdd-hhmm.sql possible?
362: [09:55:27] <wmk> so vagrant ssh -c 'dumpdb' would be enough?
363: [09:55:48] <zauberfisch> hmmm
364: [09:55:51] <zauberfisch> should be easy enough
365: [09:56:22] <wmk> of course
366: [09:56:35] <zauberfisch> will put it into the next release
367: [09:56:49] <wmk> and maybe a flagfile for generating the dump on vagrant halt
368: [09:57:00] <zauberfisch> I actually tried that
369: [09:57:04] <zauberfisch> but didn't got it working
370: [09:57:07] <wmk> and - ?
371: [09:57:08] <wmk> not?
372: [09:57:16] * Stomach quit (Client Quit)
373: [09:57:18] <zauberfisch> that was my first thought. would be a useful feature
374: [09:57:19] <elgabbu> wmk i modified it so im extending the SiteTree class directly ... basically I wanted to add some stuff to the populateDefaults function
375: [09:57:22] <wmk> should be possible in etc/init.d/
376: [09:57:40] <zauberfisch> it is possible in init.d, the problem is that the vagrant share is one of the first things that unmounts
377: [09:57:52] <zauberfisch> so by the time my dump script ran, the vagrant share was already gone
378: [09:58:15] <wmk> elgabbu, as long as the sitetree subclass doesn't have populatedefaults it's possible to plug this method in
379: [09:58:26] <wmk> afaik it doesn't call $this->extend(), could be wrong
380: [09:58:28] <zauberfisch> and not sure its any use if its not able to put it in the vagrant share
381: [09:58:37] <elgabbu> is there are proper way to check if a SiteTree object has a particular DB field?
382: [09:58:40] <wmk> but there are also some modules for generating defaults
383: [09:59:34] <wmk> zauberfisch, good point.
384: [09:59:48] <wmk> elgabbu, get it and check it
385: [10:01:01] * Pybgjoik has joined #silverstripe
386: [10:01:29] <wmk> elgabbu, there is a hook in DataExtension, http://api.silverstripe.org/3.1/class-DataExtension.html#_populateDefaults
387: [10:01:58] <wmk> though if a subclass doesn't call parent nor the extension point you may be lost
388: [10:03:43] * zippy has joined #silverstripe
389: [10:04:54] <zippy> Imagick just doesn't seem to want to do transparency.... $new->setBackgroundColor(new ImagickPixel('transparent')); -- no love
390: [10:13:11] <wmk> zauberfisch, dump has to be called very first on shutdown
391: [10:15:39] <zauberfisch> wmk: yes. but I haven't figured out how to
392: [10:15:40] <zauberfisch> D:
393: [10:31:23] * veb quit (Quit: veb-irc: quit)
394: [10:36:11] * Shrike_Finland quit (Quit: Leaving.)
395: [10:41:22] * travis-ci has joined #silverstripe
396: [10:41:23] <travis-ci> dhensby/silverstripe-framework#152 (pulls/namespace-import-manifest-fix - 3c6d152 : Daniel Hensby): The build has errored.
397: [10:41:24] <travis-ci> Change view : https://github.com/dhensby/silverstripe-framework/compare/25425144131b...3c6d152a65bc
398: [10:41:24] <travis-ci> Build details : http://travis-ci.org/dhensby/silverstripe-framework/builds/50922650
399: [10:41:24] * travis-ci has left #silverstripe
400: [10:54:09] <Pybgjoik> "Hi can you please ..."
401: [10:54:19] <zippy> sure
402: [10:54:30] <Pybgjoik> "Hi user, you can do this yourself! :D Just click this, then click that, and hey presto job done. Easy."
403: [10:54:39] <Pybgjoik> "Hi, we tried and it didn't work."
404: [10:54:49] <Pybgjoik> "... Don't lie to me."
405: [10:55:10] * Pybgjoik fuck'n gives up, does as originally requested. Closes ticket.
406: [10:55:27] <Pybgjoik> ticket reopens: "Hi it doesn't seem to have worked."
407: [10:55:29] * Pybgjoik checks
408: [10:55:34] <Pybgjoik> "Yes, it has."
409: [10:55:46] <Pybgjoik> Second user: "Hi, here is a screenshot."
410: [10:55:51] * Pybgjoik blows his fucking top
411: [10:56:45] <zauberfisch> Pybgjoik: haha
412: [10:56:48] <Pybgjoik> THERE IS A CLEAR PROCESS THAT YOU ARE ALL SUPPOED TO KNOW. IF YOU WANT TO CHANGE SOMETHING IN THIS SYSTEM IT IS CRITICAL THAT USER 1 DOES IT, YOU CAN NEVER AND NEVER HAVE BEEN ABLE TO DO IT YOURSELF, USER 2. FURTHERMORE UPON READING YOUR ORIGINAL HUGE REPLY CHAIN, YOU NEVER SUPPLIED THE NEW INFO
413: [10:57:14] <zauberfisch> customer support at its best
414: [10:57:14] <Pybgjoik> How is user1 even ever suppoed to be able to update it if you never give the info!?
415: [10:57:18] <Pybgjoik> YOU FUCKING MORONS
416: [10:57:23] * travis-ci has joined #silverstripe
417: [10:57:24] <travis-ci> dhensby/silverstripe-framework#153 (pulls/namespace-import-manifest-fix - 36cdf38 : Daniel Hensby): The build has errored.
418: [10:57:24] <travis-ci> Change view : https://github.com/dhensby/silverstripe-framework/compare/3c6d152a65bc...36cdf3854fcf
419: [10:57:24] <travis-ci> Build details : http://travis-ci.org/dhensby/silverstripe-framework/builds/50924337
420: [10:57:24] * travis-ci has left #silverstripe
421: [10:57:33] <Pybgjoik> I never ever needed to be involved.
422: [10:57:38] * Pybgjoik sighs.
423: [10:57:44] <Pybgjoik> yeh zauberfisch :/
424: [10:57:57] <Pybgjoik> these are "experienced professionals"
425: [10:58:18] <Pybgjoik> aka 'data entry monkeys, brains fully disengaged.'
426: [10:58:55] <Pybgjoik> One is pregnant, so I kept it quite toned down in my reply. I don't wanna cause an emotional breakdown and/or early labour, haha :P
427: [10:59:39] * wmk quit (Ping timeout: 244 seconds)
428: [11:00:37] <Pybgjoik> I even sent back screenshots proving it is done, and there's a great big "EDIT THIS INFO" button with a red circle around it in the image. At this point I can only assume it was never even looked at.
429: [11:34:40] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
430: [11:42:56] * Azure quit (Quit: My MBP went to sleep.)
431: [11:56:08] * bemusedrat quit (Quit: Leaving)
432: [12:00:20] * howardgrigg has joined #silverstripe
433: [12:01:48] <Pybgjoik> Remember kids, double for data, single for string!
434: [12:08:42] <Pybgjoik> backticks for bullshit
435: [12:27:37] <zauberfisch> Pybgjoik: woot?
436: [12:28:09] <Pybgjoik> hehe
437: [12:28:18] <Pybgjoik> make a 'model'
438: [12:28:24] <Pybgjoik> fill it full of raw queries.
439: [12:28:45] <Pybgjoik> extremely coupled to the controller, very specific to the data output requirements.
440: [12:29:13] <Pybgjoik> need something similar: MAKE A NEW MODEL, almost like the last model, change a few things, w00t that's MVC.
441: [12:29:31] <Pybgjoik> living the dream with understanding factor of 0.1
442: [12:30:11] <Pybgjoik> also, use a framework to decouple your queries. Then fill it full of raw sql as mentioned above, but speicifc to MySQL.
443: [12:30:16] * Pybgjoik sighs.
444: [12:30:26] <Pybgjoik> legacy apps! \o/
445: [12:30:28] <Pybgjoik> D:
446: [12:31:53] <Pybgjoik> So, I took a sociopath test in the weekend. Apparently I'm pretty much hannibal lecter.
447: [12:32:17] <Pybgjoik> But that's cool. That's the result I was trying to make it give me :P
448: [12:35:50] <kinglozzer> Guise: frontend HtmlEditorField. Anything I need to know?
449: [12:36:14] <Pybgjoik> Nope.
450: [12:36:16] <kinglozzer> I PASTE CODE IT NO WORK (guessing I'm missing some JS goodness, but yeah)
451: [12:36:32] <Pybgjoik> It's pretty self contained, as opposed to GridField.
452: [12:36:47] <Pybgjoik> the bitch part comes in configuring it.
453: [12:36:57] <kinglozzer> Oh wait that's my JS causing an error :D
454: [12:37:04] <kinglozzer> Yeah I'm just gonna disable pretty-much everything
455: [12:42:23] <Pybgjoik> I mean, there's HTMLEditorConfig, but I never quite figured out how to make it happen. It seemed like a good idea, but then it also seemed like a global thing that was a bit horrible overall.
456: [12:42:57] <Pybgjoik> I didn't care enough, basically just never put wysiwyg on frontend.
457: [12:43:58] <kinglozzer> Idk, I've always managed to avoid putting it on the frontend until now :(
458: [12:44:17] <kinglozzer> HtmlEditorConfig::set_active('frontend') seems to do the trick
459: [12:47:00] * kinglozzer lunch
460: [12:56:22] * Shrike_Finland has joined #silverstripe
461: [12:56:42] <Pybgjoik> kinglozzer: yeah, but I mean, it seems to be a bit stupidly global. Rather than supplying a config to an editor (or having it use the 'default' [specified] one), it seems to be a global 'active' instance which is used in all cases. You may want to check that it's not interfeering with your CMS or other editors.
462: [12:57:01] <Pybgjoik> Probably shoudln't be if it's in a controller, but... y'know :<
463: [12:57:31] <Pybgjoik> mind you, the last time I fiddled with it I think it was all done statically through calls in _config.php - which meant it affected about everything.
464: [12:58:29] * Shrike_Finland quit (Read error: Connection reset by peer)
465: [12:59:50] * travis-ci has joined #silverstripe
466: [12:59:52] <travis-ci> dhensby/silverstripe-framework#156 (pulls/namespace-import-manifest-fix - 2267bd7 : Daniel Hensby): The build has errored.
467: [12:59:52] <travis-ci> Change view : https://github.com/dhensby/silverstripe-framework/compare/9deb60c6248f...2267bd79e05d
468: [12:59:52] <travis-ci> Build details : http://travis-ci.org/dhensby/silverstripe-framework/builds/50936541
469: [12:59:52] * travis-ci has left #silverstripe
470: [13:00:13] * r_hector quit (Quit: Leaving.)
471: [13:02:56] * travis-ci has joined #silverstripe
472: [13:02:56] <travis-ci> dhensby/silverstripe-framework#157 (pulls/namespace-import-manifest-fix - 33e02ff : Daniel Hensby): The build has errored.
473: [13:02:57] <travis-ci> Change view : https://github.com/dhensby/silverstripe-framework/compare/2267bd79e05d...33e02ffe65be
474: [13:02:57] <travis-ci> Build details : http://travis-ci.org/dhensby/silverstripe-framework/builds/50936712
475: [13:02:57] * travis-ci has left #silverstripe
476: [13:16:40] * travis-ci has joined #silverstripe
477: [13:16:41] <travis-ci> dhensby/silverstripe-framework#158 (pulls/namespace-import-manifest-fix - e88d6da : Daniel Hensby): The build has errored.
478: [13:16:42] <travis-ci> Change view : https://github.com/dhensby/silverstripe-framework/compare/33e02ffe65be...e88d6da45a86
479: [13:16:42] <travis-ci> Build details : http://travis-ci.org/dhensby/silverstripe-framework/builds/50938251
480: [13:16:42] * travis-ci has left #silverstripe
481: [13:35:01] <elgabbu> so i am doing some work in 2.4 and i created a model admin ... built and flushed but the new menuitem is not showing up in the admin
482: [13:35:24] <elgabbu> http://www.sspaste.com/paste/show/54e1f1b8dc342
483: [13:35:45] <Pybgjoik> did you define the menu item?
484: [13:36:25] <Pybgjoik> elgabbu: when you say 'built and flushed' do you mean built, THEN flushed, or build?flush?
485: [13:36:49] <Pybgjoik> 2.4 - they are very separate things, which need to be done independently.
486: [13:37:07] <elgabbu> yeah first I did a build then i did flush with ?flush=all
487: [13:39:54] <Pybgjoik> should work then
488: [13:40:50] <elgabbu> after deleting the contents of silverstripe-cache it showed up
489: [14:13:51] * Error404NotFound quit (Ping timeout: 246 seconds)
490: [14:20:54] * travis-ci has joined #silverstripe
491: [14:20:55] <travis-ci> silverstripe/silverstripe-framework#4133 (3.1 - 5d35650 : Daniel Hensby): The build passed.
492: [14:20:55] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/9e600e9e0c18...5d35650cbb4c
493: [14:20:55] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/50943051
494: [14:20:55] * travis-ci has left #silverstripe
495: [14:21:54] * muskie9 has joined #silverstripe
496: [14:34:19] * travis-ci has joined #silverstripe
497: [14:34:20] <travis-ci> silverstripe/silverstripe-framework#4134 (3 - 3573075 : Daniel Hensby): The build passed.
498: [14:34:20] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/d5bb290b8e3d...3573075de0ff
499: [14:34:20] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/50943135
500: [14:34:20] * travis-ci has left #silverstripe
501: [14:44:56] * muskie9 is now known as muskie9_afk
502: [14:44:57] * muskie9_afk is now known as muskie9
503: [14:49:53] * travis-ci has joined #silverstripe
504: [14:49:54] <travis-ci> silverstripe/silverstripe-framework#4135 (master - e26d518 : Daniel Hensby): The build passed.
505: [14:49:54] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/18683079bcd1...e26d518c338a
506: [14:49:54] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/50943214
507: [14:49:54] * travis-ci has left #silverstripe
508: [15:00:04] * noname has joined #silverstripe
509: [15:01:39] <noname> I have a lot of traffic from russia. but the website is for the Netherlands.
510: [15:01:55] <noname> some1 know why this is?
511: [15:01:57] <Pybgjoik> so?
512: [15:02:25] <Pybgjoik> eg. I am from new zealand, but I host sites in america. Does anyone know why this is?
513: [15:03:07] <noname> is there a way to block the certain countries
514: [15:04:27] <Pybgjoik> Why would you want to?
515: [15:04:40] * babak has joined #silverstripe
516: [15:06:05] <Pybgjoik> sorry, my analogy is incomplete. If I were from NZ but I got a lot of traffic from Australia and Singapore...
517: [15:06:23] <Pybgjoik> it's probably because the internet knows no country.
518: [15:07:09] <Pybgjoik> now, if you're getting a LOT of traffic, I can understand blocking it only if it's costing you a lot of traffic usage (which you'd in turn pay for).
519: [15:07:27] <Pybgjoik> but this would only be a bad thing if you're sure that it's robotic.
520: [15:07:36] <Pybgjoik> ie, spam bots looking for forms.
521: [15:08:02] <Pybgjoik> but if you don't pay for traffic, or it doesn't impact your traffic allowance much, then there's no harm. Unless they're successful.
522: [15:08:25] <Pybgjoik> in which case it's more sensible to block spam bots better with more advanced captchas or something
523: [15:09:04] <Pybgjoik> but if you just hate russians and want to discriminate against them, then sure, you could block every russian assigned IP ever I guess. Just get a list from the internet and add rules to your webserver.
524: [15:15:10] <noname> haha no
525: [15:16:24] <Pybgjoik> So then I don't really get what you're asking, or why you're confused about where your traffic is coming from :<
526: [15:19:28] * noname quit (Ping timeout: 246 seconds)
527: [15:19:33] <Pybgjoik> lol
528: [15:19:45] <Pybgjoik> Probably one of the funniest requests I've ever seen.
529: [15:22:50] <muskie9> ya, unless it's spam not sure why u'd limit it...
530: [15:23:55] <Pybgjoik> I know there's a lot of generic rage in the Netherlands towards Russia at the moment because of the Malaysian air flight over Ukrainine ordeal, be it misdirected or not.
531: [15:24:13] <Pybgjoik> I guessed it's probably because of that. Could be well wrong though.
532: [15:26:05] <Pybgjoik> but yeh, in reality I'd guess it's all spam traffic.
533: [15:36:56] <kinglozzer> Just reading back O.o
534: [15:38:23] <Pybgjoik> yeh, ikr kinglozzer
535: [15:38:29] <Pybgjoik> liek wtf dude
536: [15:52:20] * joelpittet has joined #silverstripe
537: [15:58:19] * guci0 quit (Ping timeout: 246 seconds)
538: [16:02:40] * Shrike_Finland has joined #silverstripe
539: [16:05:39] * Eliseth quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
540: [16:07:54] * R\w\C has joined #silverstripe
541: [16:13:59] * r3v3rb has joined #silverstripe
542: [16:14:54] <r3v3rb> here’s a weird one, anyone know why loading a page with a transparent png shows nothing, but then changing the browser window makes it ‘pop’ into view?
543: [16:19:32] <elgabbu> another question ... working in v2.4 i have a simple model admin ... and I want some sort of drap and drop functionality that will maintain a sort order
544: [16:20:04] <elgabbu> is there some functionality OTB ... or do I need to use some module?
545: [16:21:11] * gavro_ has joined #silverstripe
546: [16:21:51] <kinglozzer> r3v3rb: Eh? You mean the site renders fine except the png, which only renders when switching between windows?
547: [16:22:09] <r3v3rb> yes, or changing the size of the window
548: [16:22:19] <r3v3rb> happens on ie, firefox etc etc
549: [16:22:31] <kinglozzer> Hmm, z-indexes/transforms?
550: [16:22:36] <r3v3rb> beginning to wonder if its a foundation5 thing
551: [16:22:57] <r3v3rb> kinglozzer: right so specify sizes maybe - could be
552: [16:24:02] * gavro quit (Ping timeout: 245 seconds)
553: [16:25:35] * gavro_ quit (Ping timeout: 252 seconds)
554: [16:26:31] * GioVdK has joined #silverstripe
555: [16:28:23] <GioVdK> Hello, is it possible to use PHP constants (define) in the yaml configuration files? I'm trying to set RestfulService.default_curl_options but if I use CURLOPT_SSL_VERIFYPEER: true it is being interpreted as a string
556: [16:28:36] <GioVdK> it works if I put the integer value of it, but it is not as readable
557: [16:28:50] * arnhoe quit ()
558: [16:30:24] <kinglozzer> GioVdK: I doubt that it's possible :(
559: [16:32:13] <GioVdK> kinglozzer: :p thanks, could I then set that from _config.php instead or would you go with the integer key?
560: [16:33:09] <kinglozzer> GioVdK: You can set it from _config.php. There's a slight performance hit, but not significant for just a one-off
561: [16:33:38] <kinglozzer> Config::inst()->update('RestfulService', 'default_curl_options', array(CURLOPT_SSL_VERIFYPEER)) or something
562: [16:34:22] <GioVdK> kinglozzer: thanks. maybe I can just use the integer key and add a comment with the constant name
563: [16:34:31] <GioVdK> (in the yaml)
564: [16:35:06] * jenniferaslan has joined #silverstripe
565: [16:35:06] * kinglozzer gotta go have someone put their fingers in my mouth
566: [16:35:08] <kinglozzer> (dentist)
567: [16:35:10] <kinglozzer> ciao!
568: [16:35:11] * kinglozzer quit ()
569: [16:36:20] * Shrike_Finland quit (Quit: Leaving.)
570: [16:41:12] <Pybgjoik> elgabbu: impossible.
571: [16:41:26] <Pybgjoik> modeladmin is 100% the wrong solution.
572: [16:42:26] * EasyCo quit (Quit: Connection closed for inactivity)
573: [16:51:25] <r3v3rb> Pybgjoik: evening
574: [16:58:31] * Shrike_Finland has joined #silverstripe
575: [17:01:58] <Pybgjoik> elgabbu: gidday r3v3rb
576: [17:02:42] <r3v3rb> how goes it fella
577: [17:04:42] <r3v3rb> elgabbu: not afaik, modeladmin used completablefields by default and sort ordering was handled by specifying a numeric order as an ‘int’ field and then returning the data sorted on that field - clunky but kind of worked
578: [17:04:59] <r3v3rb> complex*tablefields
579: [17:10:00] <Pybgjoik> r3v3rb: elgabbu yes, you need a module to get sortable. the one from ajshort is best.
580: [17:10:10] <r3v3rb> in 2.4 Pybgjoik ?
581: [17:10:17] <Pybgjoik> but it's NOT possible to sort in ModelAdmin, because of the way it works.
582: [17:10:33] <Pybgjoik> It could be possible, if you disable all sorting and suchlike.
583: [17:10:37] <r3v3rb> Pybgjoik: in 2.4 there was a sortable module?
584: [17:10:40] <Pybgjoik> but... that's a lot of faffing around
585: [17:10:46] <Pybgjoik> r3v3rb: 2.
586: [17:11:01] <r3v3rb> really
587: [17:11:10] <r3v3rb> how the fack did i miss tham
588: [17:11:14] <r3v3rb> buggas
589: [17:11:21] <r3v3rb> \me distraught
590: [17:11:29] * r3v3rb distraught even
591: [17:11:32] <r3v3rb> :P
592: [17:12:23] * Shrike_Finland quit (Quit: Leaving.)
593: [17:13:01] <Pybgjoik> r3v3rb: well, one of them was DoM
594: [17:13:13] <r3v3rb> :P DoM doesn’t count!
595: [17:14:43] <Pybgjoik> the other was from old mate ajshort, along with this gem (for 2.4) https://github.com/ajshort/silverstripe-itemsetfield
596: [17:15:05] <Pybgjoik> mmm yes, here it is. https://github.com/ajshort/silverstripe-orderable
597: [17:15:15] <Pybgjoik> I preferred orderable.
598: [17:15:21] <Pybgjoik> better usability
599: [17:15:39] <Pybgjoik> but, then you have vanilla CTF's (which weren't so visually appealing)
600: [17:15:47] <Pybgjoik> but worked better, etc.
601: [17:15:53] <Pybgjoik> and didn't require flash.
602: [17:19:45] <Pybgjoik> r3v3rb: elgabbu but the point is, how do you keep order when you can change the sort field & direction, and filter results with modeladmin?
603: [17:20:02] <Pybgjoik> it doesn't show all results all the time in a defined and unchangable order.
604: [17:25:10] * [Fate] quit (*.net *.split)
605: [17:29:06] <Pybgjoik> reet, hoom taem
606: [17:29:08] * Pybgjoik quit ()
607: [17:29:47] * joelpittet quit ()
608: [17:31:28] * joelpittet has joined #silverstripe
609: [17:31:29] * [Fate] has joined #silverstripe
610: [17:31:55] * gavro has joined #silverstripe
611: [17:36:25] * gavro quit (Ping timeout: 264 seconds)
612: [17:39:23] * travis-ci has joined #silverstripe
613: [17:39:24] <travis-ci> dhensby/silverstripe-framework#161 (pulls/namespace-import-manifest-fix - d97dd34 : Daniel Hensby): The build has errored.
614: [17:39:24] <travis-ci> Change view : https://github.com/dhensby/silverstripe-framework/compare/fd5fecc3ef2d...d97dd34473b8
615: [17:39:24] <travis-ci> Build details : http://travis-ci.org/dhensby/silverstripe-framework/builds/50971215
616: [17:39:24] * travis-ci has left #silverstripe
617: [17:45:12] * Shrike_Finland has joined #silverstripe
618: [18:04:13] * joelpittet quit ()
619: [18:04:26] * R\w\C quit (Quit: Textual IRC Client: www.textualapp.com)
620: [18:10:41] * Stomach has joined #silverstripe
621: [18:15:52] * GioVdK quit (Ping timeout: 246 seconds)
622: [18:23:09] * Shrike_Finland quit (Quit: Leaving.)
623: [18:25:05] * muskie9 is now known as muskie9_afk
624: [18:27:40] * Cramb has joined #silverstripe
625: [18:29:42] * Stomach quit (Quit: zzz)
626: [18:31:04] * Shrike_Finland has joined #silverstripe
627: [18:31:33] * Azure has joined #silverstripe
628: [18:45:18] * cloph has joined #silverstripe
629: [18:46:37] * cloph_away quit (Ping timeout: 256 seconds)
630: [18:48:42] * antmas has joined #silverstripe
631: [18:50:28] * Shrike_Finland quit (Quit: Leaving.)
632: [18:56:11] * Stomach has joined #silverstripe
633: [18:56:29] <antmas> hey Stomach
634: [18:56:30] <antmas> o/
635: [18:56:37] <Stomach> good morning
636: [18:56:38] <Stomach> \o
637: [18:56:51] <antmas> Stomach: watched your talk last night, excellent work :D
638: [18:57:18] <Stomach> oh is it up?
639: [18:57:20] <Stomach> thanks :)
640: [18:57:36] <antmas> yarp, was linked through the ss fb page
641: [18:59:43] * Cramb quit (Quit: Cramb)
642: [19:02:36] <Stomach> oh mint
643: [19:02:50] * muskie9_afk is now known as muskie9
644: [19:02:56] <Stomach> I sound weird
645: [19:02:57] <Stomach> :D
646: [19:03:30] <antmas> I hate hearing my own voice from a recording
647: [19:03:42] <antmas> I used to do podcasting and it was aweful :|
648: [19:04:41] <jenniferaslan> hi all. what's the best way of looping through child pages and displaying them on a parent page, even though they are hidden from menus?
649: [19:05:46] <jenniferaslan> Right now, I'm just looping $Children, but if they get hidden from the menu, they also disappear from their parent page.
650: [19:06:02] <Stomach> they shouldn't
651: [19:06:09] <Stomach> not if you loop $Children
652: [19:06:14] <Stomach> only if you loop $Menu
653: [19:06:17] * gelignite has joined #silverstripe
654: [19:08:07] <jenniferaslan> The fact remains that it is happening.
655: [19:08:15] <antmas> Stomach: you an 8am starter too?
656: [19:08:20] <Stomach> antmas sure am
657: [19:08:41] <antmas> :D
658: [19:08:58] <antmas> jenniferaslan: can we see your tempalte?
659: [19:09:00] <antmas> template*
660: [19:09:19] <jenniferaslan> one moment please
661: [19:09:49] <jenniferaslan> http://sspaste.com/paste/show/54e24019a0032
662: [19:10:04] <antmas> I read that in a HAL voice
663: [19:12:19] <jenniferaslan> Do I have to have some kind of function in my BiographyPage.php that actually gets them all whether they are hidden from menus or not, or is there something I can add to $Children that will force them to show regardless of their showing in menus or not?
664: [19:12:57] <jenniferaslan> BiographyPage extends Page.
665: [19:13:43] <jenniferaslan> Here's the outer template: http://sspaste.com/paste/show/54e240f70a6b9
666: [19:15:54] * R\w\C has joined #silverstripe
667: [19:17:45] <jenniferaslan> Anybody?
668: [19:18:54] <antmas> jenniferaslan: sorry, phone call
669: [19:18:58] <muskie9> just getting caught up on the thread... jenniferaslan $AllChildren ?
670: [19:19:04] <antmas> jenniferaslan: can I see your biography.php?
671: [19:19:15] <jenniferaslan> the first SSpaste is that one
672: [19:19:29] <jenniferaslan> oh
673: [19:19:30] <jenniferaslan> sorry
674: [19:19:36] <jenniferaslan> please stand by
675: [19:20:04] <jenniferaslan> http://sspaste.com/paste/show/54e242821a79f
676: [19:20:33] * Shrike_Finland has joined #silverstripe
677: [19:21:04] <jenniferaslan> And then I have this BioHolder page. That's what the first sspaste was.
678: [19:21:44] <antmas> <muskie9> just getting caught up on the thread... jenniferaslan $AllChildren ? -----> have you tried this?
679: [19:21:54] <jenniferaslan> not yet. I will now.
680: [19:23:01] <jenniferaslan> Seems that $AllChildren is working. Thanks!
681: [19:23:33] <antmas> jenniferaslan: :) hi5 o/
682: [19:24:14] * R\w\C quit (Quit: My Mac has gone to sleep. ZZZzzz…)
683: [19:25:35] <jenniferaslan> antmas: {fistbump}
684: [19:27:04] * mobiusnz has joined #silverstripe
685: [19:31:30] <r3v3rb> erm: Fatal error: Call to a member function LimitWordCount() on string <- Hello isnt string the owner of LimitWordCount() ??? Why?
686: [19:31:55] <r3v3rb> The string in question has data I have cheked so its not a non-object hence the ‘on string'
687: [19:32:16] <r3v3rb> isn’t LimitWordCount a function of a String?
688: [19:33:01] <r3v3rb> I’m only doing this: return $this->data()->Content->LimitWordCount(10, '…');
689: [19:33:02] <r3v3rb> It should be simple :(
690: [19:33:29] <r3v3rb> where Content is in $db and its a ‘Text’ object
691: [19:34:09] * jedateach has joined #silverstripe
692: [19:35:25] * kinglozzer has joined #silverstripe
693: [19:35:41] <kinglozzer> r3v3rb: return $this->data()->dbObject('Content')->LimitWordCount(10, '…')
694: [19:35:50] <kinglozzer> (was just logs-ing :P)
695: [19:35:52] <r3v3rb> noooooooooooooooooo
696: [19:35:55] <r3v3rb> kin
697: [19:35:58] <r3v3rb> kinglozzer: ta!
698: [19:36:08] <r3v3rb> forgot about dbObject!
699: [19:36:41] * Stomach quit (Quit: zzz)
700: [19:37:00] <r3v3rb> lol, nope actually that returns same error on null now!
701: [19:37:31] * R\w\C has joined #silverstripe
702: [19:37:45] * R\w\C quit (Client Quit)
703: [19:37:50] <r3v3rb> well lesson learn’t dont use string literals use quotes in dbObject(“”)
704: [19:37:59] <r3v3rb> learnt*
705: [19:38:20] <kinglozzer> :P
706: [19:38:26] <kinglozzer> dem fancy quote
707: [19:38:26] <kinglozzer> s
708: [19:39:47] * Olliepop has joined #silverstripe
709: [19:41:48] <r3v3rb> well actually is was dbObject(‘Content’) that was broke I had to use double quotes ( not those fancy fackers )
710: [19:42:03] * zippy has joined #silverstripe
711: [19:45:07] <r3v3rb> I want to go home...
712: [19:45:10] <antmas> zippy: o/
713: [19:45:37] <zippy> antmas: o/
714: [19:45:53] <r3v3rb> zippy: \o
715: [19:45:55] <antmas> zippy: is there another game on Thursday?
716: [19:45:58] <zippy> o/
717: [19:46:00] * Ryan-Toast has joined #silverstripe
718: [19:46:02] <antmas> r3v3rb: o/
719: [19:46:07] <zippy> there is a nz game on today
720: [19:46:08] <antmas> Ryan-Toast: \o
721: [19:46:08] <r3v3rb> antmas: \o/
722: [19:46:14] <r3v3rb> Ryan-Toast: \o
723: [19:46:29] <zippy> Ryan-Toast: what was the name of that online place for shoes
724: [19:46:38] <antmas> zippy: ASOS?
725: [19:46:50] * antmas used ASOS once
726: [19:46:58] <r3v3rb> Ryan-Toast: you are the foundation man aren’t you ?
727: [19:47:33] <zippy> i think it was more a shoe outlet store
728: [19:47:47] <antmas> oh ok
729: [19:47:58] * antmas could use some new kicks
730: [19:52:09] * camfindlay has joined #silverstripe
731: [19:52:18] <antmas> my shoes always get the heel fabric stuffed
732: [19:52:51] <zippy> my last pair of dvs only jusst last a year and fell apart. $120...
733: [19:53:05] * Cramb has joined #silverstripe
734: [19:53:10] <Ryan-Toast> antmas r3v3rb \o
735: [19:53:18] <r3v3rb> hurrah!
736: [19:53:34] <Ryan-Toast> r3v3rb, also no I mainly use bootstrap.
737: [19:53:38] <Ryan-Toast> Well a small portion of it.
738: [19:53:48] <Ryan-Toast> zippy: Which shoes?
739: [19:54:04] <r3v3rb> Ryan-Toast: okie, there is another Ryan! God damn it! Who said that is allowed!
740: [19:54:33] <Ryan-Toast> Foundation just released a new version I think/.
741: [19:54:54] <antmas> Foundation can look really nice sometimes
742: [19:55:03] <antmas> and then you get nelson.govt.nz
743: [19:55:06] <r3v3rb> Ryan-Toast: they did?
744: [19:55:10] * r3v3rb goes to check
745: [19:57:00] <Ryan-Toast> Foundation has less bloat, and i eless opinionated. But I pretty much only use bootstraps grid, and a couple of the js modules.
746: [19:57:44] <antmas> Ryan-Toast: in reality, is there really that much more to boostrap than grids and modules?
747: [19:57:54] <antmas> I know that's a very naive question, but still
748: [19:58:15] <Ryan-Toast> Components too.
749: [19:58:28] * JJ15 has joined #silverstripe
750: [19:58:38] * JJ15 has left #silverstripe
751: [19:58:48] <zippy> the footprint of foundation does seem smaller eh
752: [19:58:57] <antmas> Ryan-Toast: you don't use any componentry?
753: [19:59:06] <zippy> and foundation deals with ems where as bootstrap is px based isn't it?
754: [19:59:07] * MichalKleiner|aw is now known as MichalKleiner
755: [19:59:22] <Ryan-Toast> antmas: a couple of them.
756: [19:59:32] <Ryan-Toast> antmas: I use this: http://i.imgur.com/rn2MWnd.png
757: [19:59:51] <antmas> Ryan-Toast: that's a pretty good amount
758: [19:59:54] <zippy> Ryan-Toast: didn't you post a link to a shoes site last year...
759: [19:59:57] <antmas> and you can do a lot with that
760: [20:00:09] <Ryan-Toast> zippy: probs :D
761: [20:00:28] <antmas> zippy: I stopped buying DVS and went with lakai
762: [20:00:33] * Shrike_Finland quit (Quit: Leaving.)
763: [20:00:37] <Ryan-Toast> zippy: Were they kicks?
764: [20:00:44] <antmas> last way longer
765: [20:02:20] <antmas> zippy: I think a year is pretty long for sneakers/kicks
766: [20:03:12] <zippy> I would get closer to 2 years with globes... and was the heel that would wear out. In these dvs it's like the glue around the sole just died
767: [20:04:16] <zippy> i got 13's so that doesn't help
768: [20:04:22] <antmas> zippy: do you wear those bigger skate shoes?
769: [20:04:32] <antmas> they never last long
770: [20:05:17] <antmas> zippy: I get these and they typically last about 14 months before I replace them http://lakai.com/footwear/all-styles/griffin-mustard-suede/
771: [20:05:35] <zippy> I dunno about mustard
772: [20:05:50] <antmas> not that colour
773: [20:05:53] <antmas> specifically
774: [20:06:06] <zippy> where you get those from?
775: [20:06:37] <antmas> zippy: I got my last ones from Cheapskates, but probably way cheaper online somewhere
776: [20:06:47] <antmas> they were like $140 for 11s
777: [20:06:49] <antmas> I think
778: [20:07:51] <Ryan-Toast> I usually have Nike crosstrainers for my everyday walking/working
779: [20:07:56] <Ryan-Toast> they last for ages.
780: [20:11:52] <zippy> ah it was http://www.lastseason.co.nz/shoe-clearance
781: [20:12:06] <antmas> Ryan-Toast: like, those light running shoes?
782: [20:12:31] <antmas> zippy: woah cheap
783: [20:12:45] <zippy> irogue_ buys from there
784: [20:13:33] <antmas> those osiris shoes
785: [20:13:35] <antmas> ...
786: [20:13:40] <antmas> idek
787: [20:17:37] <antmas> git question
788: [20:18:03] <zippy> was 3.1.10 rc1 released?
789: [20:18:14] <zippy> yes
790: [20:18:19] <zippy> camfindlay: topic need update?
791: [20:18:46] <Ryan-Toast> antmas: can’t find them on thewir site.
792: [20:18:54] <Ryan-Toast> but they aren’t light ones.
793: [20:18:56] <zippy> http://www.silverstripe.org/software/download/ -- broken... -> http://doc.silverstripe.org/en/3.1/changelogs/rc/3.1.10-rc1?_ga=1.199652077.233021864.1389652125
794: [20:19:50] <camfindlay> http://doc.silverstripe.org/en/changelogs/rc/3.1.10-rc1
795: [20:20:24] <zippy> yea release notes on download page naffed
796: [20:20:39] <camfindlay> think the docsviewer doesn’t like including the 3.1 bit for a currently set stable set of docs - think I added an issue for this in the docs repo (might need someone to take a look at it).
797: [20:21:18] <zippy> is software/download part of the docs?
798: [20:21:43] <camfindlay> no I tihnk that is site content.
799: [20:21:56] <camfindlay> will update
800: [20:22:28] * Hailwood has joined #silverstripe
801: [20:22:43] <Hailwood> Morning Everyone
802: [20:22:57] <Ryan-Toast> Merning.
803: [20:23:14] * micmania1 has joined #silverstripe
804: [20:23:49] <zippy> hi
805: [20:25:30] <antmas> moin
806: [20:27:16] <camfindlay> think the real fix is to get docsviewer to properly allow the explicit reference to 3.1 (or whatever is current stable docs).
807: [20:29:39] <zippy> why doesn't it like it?
808: [20:31:17] * JJ15 has joined #silverstripe
809: [20:33:22] * gavro has joined #silverstripe
810: [20:35:33] * Stomach has joined #silverstripe
811: [20:35:40] <zippy> Stomach: o/
812: [20:35:49] <zippy> good game yesteterday eh
813: [20:35:51] <Stomach> hey zippy
814: [20:35:54] <Stomach> yeah fucking aye
815: [20:35:56] <Stomach> ireland ftw
816: [20:36:00] <Stomach> \o
817: [20:36:05] <antmas> not suprised they won
818: [20:36:10] <antmas> WI played like shit
819: [20:36:15] <zippy> yea
820: [20:36:33] <antmas> feel sorry for their new players, with all the internal BS they've had going on
821: [20:39:58] <Hailwood> Approximate time to upgrade a 2.4 site to 3.x if it has no major customizations?
822: [20:40:22] <zippy> large or small site? probably a few hours~
823: [20:40:31] <zippy> backup, and do it locally
824: [20:41:38] * travis-ci has joined #silverstripe
825: [20:41:39] <travis-ci> silverstripe/silverstripe-framework#4142 (3.1 - 0d3b556 : Damian Mooyman): The build passed.
826: [20:41:39] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/5d35650cbb4c...0d3b55645a59
827: [20:41:39] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/50991802
828: [20:41:39] * travis-ci has left #silverstripe
829: [20:41:43] <Hailwood> Small site.
830: [20:41:51] <zippy> yea couple of hours
831: [20:42:00] <Hailwood> Sweet. Thanks.
832: [20:49:35] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
833: [20:51:22] * Shrike_Finland has joined #silverstripe
834: [20:55:47] * kinglozzer quit ()
835: [20:59:28] <antmas> hmmmm my git push seems to get to 10% writing objects and then hangs
836: [20:59:32] <antmas> what would cause that?
837: [20:59:48] <zippy> [09:17:39] <antmas> git question
838: [20:59:54] <zippy> took you near 45 mins to write that
839: [20:59:55] <zippy> :)
840: [21:00:13] <antmas> zippy: oh that was for another question I answered right after I wrote that
841: [21:00:14] <antmas> :P
842: [21:02:04] * novaweb has joined #silverstripe
843: [21:02:48] <antmas> normally that would be a big file or something?
844: [21:03:43] <zippy> yeap could be a large unignored file
845: [21:04:20] <antmas> I can't find anything like that :/
846: [21:04:58] <antmas> the whole thing is only 40bm
847: [21:05:01] <antmas> mb*
848: [21:06:19] <zippy> antmas: you using https or ssh?
849: [21:06:25] <antmas> https
850: [21:06:33] * cws has joined #silverstripe
851: [21:07:04] <antmas> I'm ignoring all the obvious things at least
852: [21:07:59] <cws> Just installed googlesitemaps via composer, now my sitetree seems to have disappeared. Homepage shows 'Welcome to Silverstripe - Getting Started'.. assuming SS updated and something broke, any idea what?
853: [21:08:22] <cws> I'm not getting any errors or anything
854: [21:09:14] <zippy> cws: still got content in your database?
855: [21:09:51] <zippy> might of lost (reset) your mysite/_config.php
856: [21:11:13] <cws> config file is sweet, I'll check the DB
857: [21:11:40] <cws> Content is still in the DB
858: [21:15:51] <r3v3rb> hmm, added gridfieldextensions and code extension for orderablerows in gridfieldconfig but dragging and dropping doesn’t alter sort column, something wrong methinks!
859: [21:16:14] <zippy> r3v3rb: set the default sort on your object
860: [21:16:21] <zippy> ie SortOrder ASC;
861: [21:16:31] <zippy> and flush
862: [21:16:40] <r3v3rb> zippy: really? but it doesn’t even change the column when drag/dropping them
863: [21:17:04] <zippy> when you drag and drop does it move, and then flicks back when you untick the box?
864: [21:18:16] <r3v3rb> zippy: I drag, drop and then they flick back yes, checked the db and the sort column has the same numeric entry
865: [21:18:38] <zippy> did you tell it what column to use to save the sort in?
866: [21:18:40] <zippy> and you flushed
867: [21:19:02] <r3v3rb> aye
868: [21:19:41] <r3v3rb> just downloaded latest from github to see
869: [21:19:50] <r3v3rb> I might have had an out of date version
870: [21:20:06] <r3v3rb> thats better ;)
871: [21:20:14] <r3v3rb> best to keep up to date :D
872: [21:21:32] <antmas> what do most of you have in your gitignore for masters?
873: [21:21:35] <antmas> ooc
874: [21:23:18] * Shrike_Finland quit (Quit: Leaving.)
875: [21:23:18] * muskie9 has joined #silverstripe
876: [21:29:30] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
877: [21:29:37] * antmas needs some new music
878: [21:29:41] <Hailwood> Hi guys, in a ss template can you have variable properties? something like $Up.Block{$number}Image ?
879: [21:30:44] <zippy> antmas: http://open.spotify.com/album/3KWMHvauWZS4wPwN07SKlK
880: [21:31:16] * JJ15 quit (Quit: JJ15)
881: [21:33:45] <antmas> zippy: gave up on spotify, but listening to youtube version :)
882: [21:34:31] <MichalKleiner> Hailwood: no, you will need to write a controller function passing the $number as a parameter
883: [21:34:48] * camfindlay quit (Quit: camfindlay)
884: [21:35:06] <antmas> zippy: not bad :)
885: [21:38:26] * BrainStyle has joined #silverstripe
886: [21:39:32] <Hailwood> MichalKleiner, *sigh* Why must the SS template engine be so restricting
887: [21:39:46] <zippy> mm
888: [21:39:56] <MichalKleiner> it really is a simple one..
889: [21:39:57] <zippy> easier for designers or something
890: [21:40:27] <zippy> Stomach: bowling first eh, strange move
891: [21:40:29] <MichalKleiner> would be good if it had at least some hooks available so one could hook custom processing on it
892: [21:40:52] <zippy> I thought batting first would be better. so that way we can get a large score and beat them by lots (hopefully) which gives us a better net run rate
893: [21:41:03] <zippy> if they get say, 200, and we catch up it doesn't help our net run rate
894: [21:41:06] <zippy> I don't thikn
895: [21:42:49] <BrainStyle> I have a HTTP_HOST not set error in my nginx logs, not sure how to go about fixing it
896: [21:49:06] <zippy> BrainStyle: you might want to do the $_FILE_TO_URL_MAPPING - that might be cli only, but might help
897: [21:49:35] <BrainStyle> I'm looking at my _ss_env.php now but not sure where/how to do that
898: [21:50:48] <zippy> http://doc.silverstripe.org/en/getting_started/environment_management
899: [21:50:53] <zippy> scroll down for the example
900: [21:53:04] <BrainStyle> $_FILE_TO_URL_MAPPING['/usr/share/nginx/html/'] = 'http://simon.geek.nz';
901: [21:53:11] <BrainStyle> I don't have a TLD yet, what should I put there?
902: [21:53:55] * cws quit (Ping timeout: 246 seconds)
903: [21:57:53] <zippy> BrainStyle: what are you using, ip?
904: [21:58:03] <zippy> I assume you have http://something/
905: [21:58:07] <zippy> so put that something in there
906: [21:58:34] <Ryan-Toast> antmas: ODENZA
907: [21:58:40] <Ryan-Toast> Purity Ring
908: [21:58:44] <Ryan-Toast> Tycho
909: [22:00:39] <zippy> Stomach: game time!
910: [22:00:44] <Stomach> zippy :D :D :D
911: [22:00:52] <zippy> wicket first over...?
912: [22:01:19] <zippy> if Southee gets a wicket the first over... ss23 gets a haircut this week
913: [22:02:08] <antmas> Ryan-Toast: wat
914: [22:02:15] <antmas> Ryan-Toast: oh, music?
915: [22:02:24] <Ryan-Toast> antmas: yearp.
916: [22:04:36] <zippy> his hair is safe :)
917: [22:05:12] <antmas> Ryan-Toast: do you mean Odesza?
918: [22:05:42] * camfindlay has joined #silverstripe
919: [22:05:56] <Ryan-Toast> antmas: I do, yes.
920: [22:06:02] * Cws has joined #silverstripe
921: [22:06:14] <antmas> Ryan-Toast: it's good :)
922: [22:06:18] <zippy> safe by 2 balls :)
923: [22:07:55] <zippy> ...
924: [22:08:22] <zippy> on a hatrick!
925: [22:08:23] <antmas> zippy: https://gfycat.com/ConsiderateAnchoredDorado
926: [22:09:06] * Motoservo quit (Remote host closed the connection)
927: [22:09:40] <Hailwood> So, who has any tips for speeding up a /dev/build & flush inside a vagrant machine?
928: [22:13:16] <antmas> Ryan-Toast: <3 Purity Ring
929: [22:13:21] <antmas> that was realll good
930: [22:15:21] * EasyCo has joined #silverstripe
931: [22:16:44] <MichalKleiner> what's the safe way of doing dev build and flush from command line?
932: [22:17:36] <MichalKleiner> I found that when our project use symlinks for cache folder and few other folders and changing them the cache still points to old absolute path.. flush from browser helps, but from command line it's not working properly
933: [22:18:27] <zippy> you can use sake or even just php framework/cli-script.php / 'flush=all'
934: [22:18:41] <MichalKleiner> this is what I do now
935: [22:18:45] <MichalKleiner> php framework/cli-script.php dev/build "flush=all"
936: [22:18:46] <MichalKleiner> php framework/cli-script.php flush=all
937: [22:19:18] <zippy> Hailwood: command line flush is almost 2x faster
938: [22:19:18] <MichalKleiner> hmm, might be the / in second command missing
939: [22:19:45] <MichalKleiner> and remove flush from dev/build ey
940: [22:19:52] <MichalKleiner> or does it do anything there?
941: [22:19:59] <Hailwood> zippy, command line flushing?
942: [22:20:11] <zippy> yes, basically what we just said a few lines up
943: [22:20:13] <MichalKleiner> Hailwood: yes, that's what I do on my deploy
944: [22:20:27] <MichalKleiner> cd to project dir and execute php framework/cli-script.php / 'flush=all'
945: [22:20:37] * mobiusnz quit (Read error: Connection reset by peer)
946: [22:20:39] * mobiusnz1 has joined #silverstripe
947: [22:20:39] <zippy> also, use php > 5.3 - it juses close to half the ram
948: [22:20:43] <zippy> *uses
949: [22:20:47] <MichalKleiner> true
950: [22:20:50] <MichalKleiner> I'm on 5.5 now
951: [22:21:10] <zippy> I think it's marginally quicker also.... slight
952: [22:21:17] <antmas> zippy: is the cli flush really that much faster?
953: [22:21:26] <zippy> havn't checked 5.6
954: [22:21:31] <zippy> antmas: yes
955: [22:21:42] * antmas should be doing this then
956: [22:22:04] <zippy> on my machine I think browser flush is like 8 seconds, command line is 5 - which is good, but then the browser also does the redirect for the token so it's even longer
957: [22:22:12] <MichalKleiner> you can even do build/flush using grunt watch on ss and php files
958: [22:22:32] * MichalKleiner is just saying
959: [22:22:33] <zippy> I got a patch in the works which cuts the flush in half again, like 2 second flush, which is good for gulp/grunt
960: [22:22:33] <zippy> yea
961: [22:22:58] <MichalKleiner> and trigger browser reload from grunt/gulp too
962: [22:23:04] <zippy> Stomach: jesus....
963: [22:23:26] <antmas> zippy: score?
964: [22:23:34] <zippy> 12-4 with a review on the last one pending
965: [22:23:49] <zippy> 4th over
966: [22:24:56] * veb has joined #silverstripe
967: [22:25:08] <Hailwood> MichalKleiner, So should php framework/cli-script.php /dev/build 'flush=all' also work?
968: [22:25:09] <zippy> review stands. so 12-4 after 4.2 overs.
969: [22:25:44] * Sticks has joined #silverstripe
970: [22:26:55] <antmas> lel
971: [22:27:07] * Colin[pi] has joined #silverstripe
972: [22:27:32] * muskie9_ has joined #silverstripe
973: [22:27:38] <Colin[pi]> moin moin o/
974: [22:27:40] <MichalKleiner> Hailwood: I think for dev/build the flush is not working so I'll change my post-deploy to do dev/build and second will be / "flush=all"
975: [22:27:54] <MichalKleiner> o/ Colin[pi]
976: [22:28:00] * mobiusnz1 quit (Quit: Leaving.)
977: [22:28:12] <MichalKleiner> testing now
978: [22:28:25] <antmas> Colin[pi]: o/
979: [22:29:07] <Hailwood> is ./framework/sake the same as php ./framework/cli-script.php
980: [22:29:16] * Cws quit (Ping timeout: 246 seconds)
981: [22:29:34] <MichalKleiner> I guess so..
982: [22:30:03] <MichalKleiner> I just need a specific path for php so am using the longer version
983: [22:30:14] <MichalKleiner> aaaand it seems working, yeey
984: [22:30:14] * muskie9 quit (Ping timeout: 245 seconds)
985: [22:30:15] * mobiusnz has joined #silverstripe
986: [22:30:31] <BrainStyle> What folder should I put the _ss_environment.php in?
987: [22:30:32] <MichalKleiner> was strange when I removed previous deployments and the site stopped working
988: [22:30:57] <MichalKleiner> BrainStyle: one above webroot not to have it readable by webserver
989: [22:31:18] <BrainStyle> so if it's nginx/html then inside nginx?
990: [22:31:52] <MichalKleiner> yep
991: [22:31:53] <zippy> if /usr/share/nginx/html/ then yea, inside /usr/share/nginx/
992: [22:32:02] * MichalKleiner should really start looking into using nginx
993: [22:33:09] * muskie9_ quit (Ping timeout: 250 seconds)
994: [22:33:19] <antmas> zippy: know anyone looking for a not-really-IT-focussed job?
995: [22:33:52] <zippy> lol I read that as 'not-reall-focussed job' :)
996: [22:33:56] <zippy> possibly
997: [22:33:59] <zippy> got link?
998: [22:34:14] <antmas> zippy: not yet, person only just resigned today
999: [22:34:36] <antmas> will be advertising next week I'd say, if I get it early I'll flick it to you
1000: [22:34:48] <zippy> sweet, what doing?
1001: [22:34:56] <MichalKleiner> is it better to install bower globally or locally for each project? questions, sooo many questions
1002: [22:35:10] * mobiusnz1 has joined #silverstripe
1003: [22:35:10] * mobiusnz quit (Read error: Connection reset by peer)
1004: [22:35:18] <antmas> records/mail management, stationary monitoring etc
1005: [22:35:37] <zippy> maybe I need a change of scene...
1006: [22:35:37] * mobiusnz1 quit (Read error: Connection reset by peer)
1007: [22:35:38] <MichalKleiner> what city?
1008: [22:35:42] * mobiusnz has joined #silverstripe
1009: [22:36:06] <antmas> zippy: easy as job, 8.30-4.30 mon fri
1010: [22:36:24] <antmas> although... that department is under review so that could change in the next 6 months
1011: [22:36:56] <BrainStyle> Fatal error: SS_DATABASE_PASSWORD must be defined in your _ss_environment.php
1012: [22:36:57] <zippy> I feel like noddles
1013: [22:36:59] * mahfuz has joined #silverstripe
1014: [22:37:05] <BrainStyle> I get that after moving ss enviornment to nginx/
1015: [22:37:18] <zippy> BrainStyle: yeap, config details go in _ss_enronment file
1016: [22:37:32] <BrainStyle> It's configured as per-example shown
1017: [22:37:44] <zippy> and mysite/_config.php gets require_once('conf/ConfigureFromEnv.php');
1018: [22:37:47] * jedateach quit (Quit: jedateach)
1019: [22:38:23] <BrainStyle> It's giving me an error on line six of configurefromenv
1020: [22:38:42] <BrainStyle> er line 66
1021: [22:39:07] <antmas> zippy: 19/4 :P
1022: [22:39:15] <zippy> yap
1023: [22:39:17] <zippy> got my skygo
1024: [22:39:24] <zippy> BrainStyle: whats the error
1025: [22:39:38] * antmas is just using live score card
1026: [22:39:56] <BrainStyle> Just that SS_DATABASE_PASSWORD is not set, but I have it declared in _ss_environment.php
1027: [22:40:17] * muskie9 has joined #silverstripe
1028: [22:40:38] <antmas> zippy: lol did they use their appeal already?
1029: [22:41:06] <zippy> BrainStyle: have to added the require_once into the mysite/_config.php i mentioned?
1030: [22:41:11] <zippy> antmas: yes Scotland did
1031: [22:42:24] <antmas> wah wah waaaaaaah
1032: [22:44:04] <BrainStyle> zippy
1033: [22:44:06] <BrainStyle> http://pastebin.com/gxWgtaQX
1034: [22:44:32] <BrainStyle> _config.php is on bottom
1035: [22:44:41] <zippy> so looks like it's not finsing it
1036: [22:44:50] <zippy> move the _ss_config up a level, into the html folder and try
1037: [22:45:10] <Hailwood> MichalKleiner, So did your tests show the dev/build 'flush=all' did actually work?>
1038: [22:47:12] <BrainStyle> Hrm the site loads install.php when I remove _ss_environment.php, but if I add it, it goes back to the password not set error
1039: [22:47:37] <zippy> yea it will try to load isntall.php if no db details are set in the config file
1040: [22:48:06] <zippy> very strange..
1041: [22:48:35] <antmas> I think it's second coffee time
1042: [22:49:43] * jedateach has joined #silverstripe
1043: [22:50:26] <Colin[pi]> antmas: still on my first!
1044: [22:51:06] * muskie9 is now known as muskie9_afk
1045: [22:53:36] <Stomach> zippy - was in a meeting
1046: [22:53:38] <Stomach> wtf is going on
1047: [22:53:40] <Stomach> :D
1048: [22:53:43] <Stomach> we are killing them
1049: [22:54:01] <antmas> they're not letting up on bowling
1050: [22:54:08] <antmas> might as well make it a quick death I suppose
1051: [22:54:44] <BrainStyle> okay I've fixed the problem, now I just need to figure out how to access phpmyadmin
1052: [22:55:04] <zippy> what was the problem :)
1053: [22:55:25] <BrainStyle> I'll avoid answering that for the protection of my pride
1054: [22:55:31] <BrainStyle> lol
1055: [22:55:44] <zippy> ;-)
1056: [22:55:47] <BrainStyle> But you were definitely helpful in setting the proper ss_env
1057: [22:56:10] <BrainStyle> Now, I have phpmyadmin supposedly setup correctly, but when I go to /phpmyadmin I just get silverstripe page "Page not found"
1058: [22:57:18] <Colin[pi]> BrainStyle: might be a .htaccess thing
1059: [22:57:38] <zauberfisch> yep
1060: [22:57:50] * sittingtight has joined #silverstripe
1061: [22:57:59] <zauberfisch> you need to tell mod_rewrite to exclude /phpmyadmin from the rewrite rules
1062: [22:58:21] <BrainStyle> How can I do that?
1063: [22:58:31] <sittingtight> hey guys, not sure what's up, i am getting 'No current controller available' but not sure why
1064: [22:58:40] <sittingtight> this is when an image is requested
1065: [22:58:51] <BrainStyle> <IfModule mod_rewrite.c> in .htaccess?
1066: [22:59:05] <r3v3rb> zauberfisch: you’re still awake?!? It’s nearly midnight in Austria isn’t it?
1067: [22:59:30] * muskie9_afk is now known as muskie9
1068: [22:59:45] <zauberfisch> BrainStyle: add this line: RewriteCond %{REQUEST_URI} !phpmyadmin
1069: [23:00:36] <zauberfisch> before "RewriteRule .* framework/main.php?url=%1 [QSA]
1070: [23:00:38] <zauberfisch> "
1071: [23:00:45] <zauberfisch> so that is probably line 41
1072: [23:00:51] <zauberfisch> or 42
1073: [23:01:07] <zauberfisch> r3v3rb: just woke up actually. was sleeping in the afternoon
1074: [23:01:31] <r3v3rb> zauberfisch: lol, nice wish I could - buried in work at the moment so still working
1075: [23:01:32] * jedateach quit (Quit: jedateach)
1076: [23:01:40] <zauberfisch> r3v3rb: also, shouldn't you be in bed aswell? :P
1077: [23:01:51] <zauberfisch> I see
1078: [23:02:10] <r3v3rb> zauberfisch: I should but I have three projects all required by the weekend and I’m away from Thursday! Arghhhh, stupid school holidays
1079: [23:02:12] <zauberfisch> same for me actually, I just needed some sleep yesterday
1080: [23:04:45] * jedateach has joined #silverstripe
1081: [23:05:47] <Hailwood> Why does ArrayList::add() exist?
1082: [23:06:20] <sittingtight> looks like Multisites module is calling Controller::curr() and it can't find anything on the controller stack, not sure what would cause that
1083: [23:06:48] <zauberfisch> Hailwood: probably to stay compatible with DataList
1084: [23:06:49] <zauberfisch> idk
1085: [23:06:59] <sittingtight> the same code is working fine elsewhere, so not sure what would even be the cause
1086: [23:11:13] * micmania1 quit (Quit: micmania1)
1087: [23:12:46] <zauberfisch> BrainStyle: did it work?
1088: [23:13:16] <BrainStyle> so far no
1089: [23:13:46] <BrainStyle> I've added the line in .htaccess and also tried adding an .htaccess with RewriteEngine Off in the /phpmyadmin dir
1090: [23:13:59] <zauberfisch> no luck?
1091: [23:14:14] <zauberfisch> hmmm
1092: [23:14:24] <zauberfisch> I could have sworn that works
1093: [23:14:26] <zauberfisch> wait
1094: [23:14:28] <zauberfisch> let me try it
1095: [23:17:32] * gavro quit (Remote host closed the connection)
1096: [23:19:15] <sittingtight> no ideas why the controller stack would be jacked then?
1097: [23:19:21] <sittingtight> i am not even sure how to debug it
1098: [23:19:37] * UncleCheese has joined #silverstripe
1099: [23:19:43] <UncleCheese> holy crap.. Stomach is my hero
1100: [23:19:59] <Stomach> <3
1101: [23:20:03] <zauberfisch> BrainStyle: works for me
1102: [23:20:06] * irogue_ has joined #silverstripe
1103: [23:20:10] <Stomach> what did I do now
1104: [23:20:52] <zauberfisch> BrainStyle: here is the relevant part of my .htaccess that I just tried it with: http://paste2.org/_7aZfJxm7
1105: [23:22:46] <UncleCheese> this is the greatest SS talk i've ever seeen
1106: [23:22:55] <UncleCheese> only halfway through
1107: [23:23:02] <zauberfisch> UncleCheese: link
1108: [23:23:06] * gavro has joined #silverstripe
1109: [23:23:09] <novaweb> link
1110: [23:23:14] <antmas> UncleCheese: it's the beard that sells it
1111: [23:23:28] <UncleCheese> https://vimeo.com/119727130
1112: [23:24:51] <UncleCheese> finally, someone telling it like it is
1113: [23:25:03] <r3v3rb> arghhhh, 60000+ms waiting to deliver page :\ what went wrong!
1114: [23:26:01] <Colin[pi]> UncleCheese: you really hate sitetree don't you? :o
1115: [23:26:14] <UncleCheese> along with Stomach , yes
1116: [23:26:28] <UncleCheese> watch the video and you'll hate site tree, too
1117: [23:27:38] <r3v3rb> site only has 457 pages !? why would it take sooooo long for the server to respond
1118: [23:27:48] <Colin[pi]> UncleCheese: mm I might watch that over lunch
1119: [23:27:57] <UncleCheese> yes, yes, yes
1120: [23:28:06] <UncleCheese> Stomach i have several questions
1121: [23:29:31] <irogue_> UncleCheese: fyi, Sig was there and taking notes - seemed to be interested in Stomach's methods being more commonly used
1122: [23:30:00] <UncleCheese> i've got a catchup with sig in a moment.. i'll see if i can take his temperature on it :)
1123: [23:30:08] <UncleCheese> not like he makes any technical decisions about the cms anymore
1124: [23:30:50] <irogue_> no, but hopefully he talks to others that do :P
1125: [23:32:18] <zauberfisch> UncleCheese: while I don't per se hate sitetree, I generally agree with oyu
1126: [23:32:22] <zauberfisch> or stomach
1127: [23:32:29] <zauberfisch> and yeah, Stomach is the hero
1128: [23:32:33] <zauberfisch> lumberjack <3
1129: [23:32:59] <zauberfisch> (though I haven't gotten a chance to use it yet D: but really looking forward to)
1130: [23:34:37] <UncleCheese> i love that he just goes all out and pulls CMSMain
1131: [23:34:40] <UncleCheese> that's fucking balls, man
1132: [23:34:44] <UncleCheese> I love it
1133: [23:34:50] <zauberfisch> haha
1134: [23:36:59] * micmania1 has joined #silverstripe
1135: [23:37:03] * muskie9 is now known as muskie9_afk
1136: [23:37:31] <r3v3rb> micmania1: lumberjack?
1137: [23:37:43] <micmania1> r3v3rb: yep?
1138: [23:37:54] <r3v3rb> ss4.0 admin?
1139: [23:37:57] <r3v3rb> ;)
1140: [23:38:04] <micmania1> haha no. Not quite :p
1141: [23:38:11] <micmania1> Did you use my blog module?
1142: [23:38:35] <irogue_> micmania1: seen Stomach's talk yet?
1143: [23:38:59] <micmania1> yeah, watched it yesterday :) Looked interesting
1144: [23:39:02] <r3v3rb> I did micmania1 for Rift its that on steroids
1145: [23:39:28] <micmania1> r3v3rb: Lumberjack is basically the BlogPost in a GridField stuff, but ripped out into its own module
1146: [23:39:41] <r3v3rb> nice, I’ll be using that :D
1147: [23:39:55] <Stomach> UncleCheese - sig emailed me to talk to Paul and Cam about the ideas for integrating into the cms
1148: [23:40:00] <Stomach> haven't heard back from Paul yet
1149: [23:40:03] <Stomach> but yeah, have a chat to him
1150: [23:40:18] <UncleCheese> pretty awesome
1151: [23:40:21] <micmania1> I like the SiteTree :( Its just way overly used.
1152: [23:40:26] <UncleCheese> i take it all of this collides with betterbuttons?
1153: [23:40:33] <Stomach> not since I made that fix
1154: [23:40:39] <r3v3rb> micmania1: Stomach and clients like to clickety click
1155: [23:40:59] <Stomach> better buttons all works out of the box with our stuff now
1156: [23:41:11] <UncleCheese> awesome
1157: [23:41:12] <Stomach> silverstripe-blog from micmania1 forced me to update some stuff today though
1158: [23:41:14] <Stomach> :P
1159: [23:41:20] <Stomach> will be pushing it up later
1160: [23:41:22] <UncleCheese> so one thing i don't get is why you pulled all the versioning actions?
1161: [23:41:29] <Colin[pi]> you heard it here folks, micmania1, chief architect of SiteTree's destruction likes the SiteTree
1162: [23:41:30] <Colin[pi]> :D
1163: [23:41:31] <micmania1> Stomach: did it break things?
1164: [23:41:45] <Stomach> micmania1, just with out singlepageadmin because of the getcurrentid use
1165: [23:41:55] <Stomach> I just pushed that method into our leftandmain class and its all good
1166: [23:42:02] <micmania1> oh, that :(
1167: [23:42:22] <micmania1> I’m dealing with a problem like that right now from subsites :(
1168: [23:42:22] <Stomach> yeah I can see why its used, but it broke the API and wasnt a major release! :D
1169: [23:42:37] <Stomach> UncleCheese - we removed all the versioning because clients dont care
1170: [23:42:46] <Stomach> well, lots of ours dont
1171: [23:42:48] <UncleCheese> so what does "save" do?
1172: [23:42:54] <r3v3rb> Stomach: is that your video I’m watching then about little giant sitetree?
1173: [23:43:00] <Stomach> r3v3rb - yeah
1174: [23:43:04] <Stomach> UncleCheese - it saves the page
1175: [23:43:05] <r3v3rb> arh ha!
1176: [23:43:06] <micmania1> Stomach: that makes sense. It could be ‘sold’ as a simplified CMS
1177: [23:43:12] <UncleCheese> Stomach how do you publish?
1178: [23:43:16] <Stomach> if its published, it publishes the changes
1179: [23:43:23] <Stomach> if you dont want it published, you "disable" the page
1180: [23:43:24] <UncleCheese> hmm
1181: [23:43:27] <r3v3rb> Stomach: does your method remove the lovely preview panel now ?
1182: [23:43:27] <UncleCheese> oh!
1183: [23:43:47] <Stomach> r3v3rb - yeah, haven't worked out how to get that to work without copying a shitload of code
1184: [23:43:53] <r3v3rb> :)
1185: [23:43:57] <Stomach> UncleCheese - yeah, so rather than publish, unpublish, draft etc
1186: [23:44:04] <Stomach> you have "Enable/Disable" and "Save"
1187: [23:44:07] <micmania1> Stomach: I had preview working in moddleadmin once upon a time!
1188: [23:44:08] <UncleCheese> Stomach how come the Home Page admin only shows one field? Is your module smart enough to obscure all that stuff or do you have to deliberately expose only the field(s) you want?
1189: [23:44:19] <micmania1> I was building a blog. Then I decided ModelAdminw as a bad idea haha
1190: [23:44:23] <micmania1> And thus was born the blog module
1191: [23:44:28] <Stomach> UncleCheese - we deliberately disable all the other stuff for non admins
1192: [23:44:46] <UncleCheese> so as an admin, you can see the sitetree, right? because otherwise you can't build the IA
1193: [23:44:48] <r3v3rb> micmania1: love your blog versus the older blog module much nicer implementation :)
1194: [23:44:55] <zauberfisch> Stomach: good talk indeed
1195: [23:45:00] <Stomach> UncleCheese, yes as a full admin you can see the site tree
1196: [23:45:09] <micmania1> r3v3rb: My blod is about to consume the old blog module
1197: [23:45:11] <micmania1> blog*
1198: [23:45:26] <r3v3rb> sweet
1199: [23:45:31] <r3v3rb> apart time :D
1200: [23:45:34] <r3v3rb> congrats
1201: [23:45:44] <micmania1> r3v3rb: https://github.com/silverstripe/silverstripe-blog/tree/develop
1202: [23:45:49] <UncleCheese> and what about the tabs at the very top in your Single Page admins? do those still toggle models? seems weird to have the massive grouped nav AND the model toggles
1203: [23:45:51] <r3v3rb> did you add the author stuff
1204: [23:46:05] <UncleCheese> i.e. if you're using grouped nav, you should probably stick to single-model admins
1205: [23:46:12] <micmania1> r3v3rb: nah, there’s plans internally to ad it though.
1206: [23:46:16] <Stomach> yes, but thats up to you
1207: [23:46:27] <Stomach> the single page admin tabs are the page tabs
1208: [23:46:33] <Stomach> like "Main" "Images" etc
1209: [23:46:39] <UncleCheese> oh sweet as
1210: [23:46:43] <r3v3rb> micmania1: its gotta be in for a blog and also some google+ authorship integration would be handy
1211: [23:46:46] <Stomach> but no settings or history
1212: [23:46:47] <UncleCheese> how did you rig that up?
1213: [23:46:55] <UncleCheese> lots of template overrides?
1214: [23:47:02] <Stomach> UncleCheese - https://github.com/Little-Giant/silverstripe-singlepageadmin
1215: [23:47:04] <Stomach> it was simple
1216: [23:47:07] <r3v3rb> my little extension for the authors worked nicely for Rift
1217: [23:47:09] <micmania1> r3v3rb: Yep, Google Authorship can be added completely in templates though.
1218: [23:47:17] <r3v3rb> micmania1: true
1219: [23:47:34] <Hailwood> Hi guys, so I am trying to use https://github.com/sheadawson/silverstripe-linkable - I have 'BlockLink' => 'Link' in my has_one and done the dev/build so the field exists, I have added the field as LinkField::Create("BlockLinkID", 'Link') to the cms, and I can select the link correctly, but upon saving the field is empty - any ideas?
1220: [23:47:56] <UncleCheese> that's bad ass, dude.. you're a really good speaker, too
1221: [23:48:00] <UncleCheese> great talk
1222: [23:48:16] <Hailwood> I should note that the "Link" object is actually created and saved in the database - it's just the BlockLinkID field not being saved.
1223: [23:48:29] <Stomach> UncleCheese - you didn't expect that after all my drunk antics at heyday? :P
1224: [23:48:44] <Stomach> but thanks, its good to know that people liked it
1225: [23:48:56] <Stomach> I was worried I would just cause a shitstorm of people hating on me tbh
1226: [23:49:01] <Stomach> (apart from you :P)
1227: [23:49:08] <UncleCheese> hey, man, i'm just glad someone else can take bullets now
1228: [23:49:08] <r3v3rb> the drunkness or the video ?
1229: [23:49:08] <irogue_> lol
1230: [23:49:24] <irogue_> I think most people recognise that SiteTree isn't ideal for a lot of uses
1231: [23:49:37] <UncleCheese> you say it a lot more articulately than i do.. i think that's the difference
1232: [23:49:56] <r3v3rb> irogue_: Stomach I can think of a few sites I haven’t integrated it in and went controller/modeladmin only
1233: [23:49:58] <UncleCheese> it's true.. it's a UX hasard.. and at the end of the day, it's costing you time
1234: [23:50:20] <r3v3rb> UncleCheese: and sometimes its just ‘in the way’
1235: [23:52:10] <Stomach> r3v3rb - most of our sites dont give clients access to it anymore
1236: [23:52:11] <irogue_> hmmm
1237: [23:52:11] <irogue_> lunch
1238: [23:52:24] <Stomach> I've even been so far as to implement a LeftAndMain for editing metadata
1239: [23:52:35] <Colin[pi]> UncleCheese: what's the feel internally though? like, are you a lone voice of dissent or is SS starting to move away from it?
1240: [23:53:20] <r3v3rb> Stomach: my only concern looking at your setup is that clients would need to understand the concept of each ‘pagetype’ still because they wouldn’t see a visual representation of the site…
1241: [23:53:39] <antmas> clients should always have an understanding of page types imo
1242: [23:53:40] <UncleCheese> Colin[pi] it's hard to say.. you'd be amazed at how seldom at SS we talk about the CMS
1243: [23:53:42] <UncleCheese> ha
1244: [23:53:47] <r3v3rb> so they’d need to know each modeladmin tab and its requirements for the site
1245: [23:53:49] <Colin[pi]> r3v3rb: yeah in my experience most clients get hung up on the "sitemap"
1246: [23:53:55] <antmas> UncleCheese: is it the elephant in the room?
1247: [23:53:56] <Colin[pi]> UncleCheese: lol fair nuff
1248: [23:54:10] <Colin[pi]> antmas: the giant sluggish ajax-heavy elephant in the room
1249: [23:54:10] <r3v3rb> Colin[pi]: glad i’m not the only one to see that :D
1250: [23:54:11] <Stomach> r3v3rb - there is no need for them to understand what each pagetype is
1251: [23:54:12] <Colin[pi]> ;)
1252: [23:54:12] <UncleCheese> i mean from the outside it probably looks like this big think tank behind an open source product, but we're very focused on platform, CWP, bespoke work
1253: [23:54:25] <UncleCheese> and SS CMS is a thread running through all that
1254: [23:54:29] <Colin[pi]> mm
1255: [23:54:36] <Stomach> r3v3rb - you want a blog page, click "blog admin", you want a news page, click "news admin" etc
1256: [23:54:40] <UncleCheese> but really the ideas and direction are engendered by the community as much as anything
1257: [23:54:43] <Stomach> its much easier to grasp conceptually
1258: [23:54:49] <r3v3rb> Stomach: not in the strictess of terms no, but they like to ‘see’ where the pages falls in relation to each other
1259: [23:54:58] <irogue_> except damo. damo's thinking/talking about CMS pretty much permanently.
1260: [23:55:14] <Stomach> r3v3rb - thats where my point about better IA is key
1261: [23:55:30] <Stomach> if you don't know where a page is going when you're creating it, then you have an IA problem
1262: [23:55:33] <r3v3rb> sorry missed that - IA?
1263: [23:55:39] <Stomach> information architecture
1264: [23:55:42] <r3v3rb> got it
1265: [23:55:43] <Colin[pi]> r3v3rb: yeah I know a lot of clients that'd be confused as shit without some sort of "tree" to show the structure/sitemap
1266: [23:56:11] <Hailwood> Anyone used sheadawson/silverstripe-linkable?
1267: [23:56:17] <antmas> Stomach: I can see how your setup would be very useful for a CRM type scenario
1268: [23:56:33] <r3v3rb> Stomach: I’m not disagreeing just saying from experience they liek to ‘see’ the placement whether they understand or not :D
1269: [23:56:38] <r3v3rb> like*
1270: [23:56:48] <Stomach> yeah until they've never seen it before ;)
1271: [23:56:54] <Colin[pi]> antmas: I've made something very similar for a custom CRM yeah
1272: [23:57:21] <antmas> Stomach: what happens if the client wants to create a new page on the site? like outside of the blog or whatever
1273: [23:57:37] <antmas> say they didn't scope an About Us page and want one later?
1274: [23:57:45] <Stomach> OUT OF SCOPE
1275: [23:57:46] <Colin[pi]> also, what if they want to change order / reposition stuff to other parts of the site?
1276: [23:58:05] <Stomach> why is my client doing any of that
1277: [23:58:07] <Stomach> I'm the web expert
1278: [23:58:18] <Stomach> i don't just do something or order something "for shits and giggles"
1279: [23:58:27] <Stomach> its there for a reason, or its not there for a reason
1280: [23:58:30] <antmas> that would be a hard argument to make to a client I'd say
1281: [23:58:34] <Colin[pi]> lol
1282: [23:58:59] <Stomach> antmas - its not that hard
1283: [23:59:14] <antmas> I agree really; we all know what scope creep feels like
1284: [23:59:55] * micmania1 quit (Quit: micmania1)

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