#silverstripe IRC Log

IRC log for 28 October 2013

All timestamps are in UTC.

1: [00:39:09] * kerosene has joined #silverstripe
2: [01:17:08] <simon_w> No Colin[pi]? How am I supposed to get a free lunch!
3: [01:34:31] * kerosene quit (Quit: leaving)
4: [01:44:38] * SightUnseen has joined #silverstripe
5: [01:44:55] * SightUnseen has left #silverstripe
6: [01:49:31] * Zauberfisch23 quit (Ping timeout: 246 seconds)
7: [01:51:40] * Zauberfisch__ has joined #silverstripe
8: [01:53:05] * Zauberfisch23 has joined #silverstripe
9: [01:55:28] * Colin[pi] has joined #silverstripe
10: [01:55:38] <Colin[pi]> hey y'all
11: [01:55:41] * kerosene has joined #silverstripe
12: [01:58:09] * Zauberfisch23 quit (Remote host closed the connection)
13: [02:04:06] * Nightjar quit (Quit: Nightjar)
14: [02:09:23] <Colin[pi]> well fine no one say hi ;_;
15: [02:09:35] <guzzlefry> hey colin!
16: [02:09:38] <Colin[pi]> HAI
17: [02:09:49] <Colin[pi]> so I'm not alone
18: [02:09:51] <Colin[pi]> ^_^
19: [02:10:03] <guzzlefry> It's been eerily quiet here. :P
20: [02:10:21] <Colin[pi]> hmm SS still in business?
21: [02:10:37] <guzzlefry> probably
22: [02:10:42] * Zauberfisch23 has joined #silverstripe
23: [02:10:44] <guzzlefry> it's just the weekend I think
24: [02:10:53] <guzzlefry> well, I think it's monday in the other hemisphere...
25: [02:11:08] <Colin[pi]> it is here yes
26: [02:11:15] <simon_w> It's Labour Day
27: [02:11:22] <guzzlefry> oh
28: [02:11:26] <Colin[pi]> ohhh that's why
29: [02:11:28] <guzzlefry> that explains it :P
30: [02:11:35] <Colin[pi]> you're over here aren't you simon_w?
31: [02:11:36] <guzzlefry> labor day...
32: [02:11:38] * guzzlefry hides.
33: [02:11:42] <simon_w> Yup
34: [02:11:49] <Colin[pi]> how was your trip?
35: [02:12:01] <simon_w> Long :p
36: [02:12:12] <Colin[pi]> pfft lon
37: [02:12:15] <Colin[pi]> *long
38: [02:12:19] <Colin[pi]> what like 3 hours?
39: [02:13:01] <simon_w> 4 to Melbourne
40: [02:13:12] <Colin[pi]> you flew directly?
41: [02:13:32] <simon_w> I can't fly direct to Canberra
42: [02:13:44] <Colin[pi]> no I mean to Melbourne
43: [02:13:52] <Colin[pi]> from NZ
44: [02:13:57] <Colin[pi]> or did you arrive in Syd?
45: [02:14:00] <simon_w> Yes
46: [02:14:03] <Colin[pi]> ah k
47: [02:14:12] <simon_w> Why would I go Syd -> Melbourne -> Canberra? :p
48: [02:14:17] <Colin[pi]> LOL I DONT KNOW
49: [02:14:28] <Colin[pi]> maybe it's just your thing!
50: [02:14:30] <Colin[pi]> ;P
51: [02:18:54] <simon_w> Hmm, I should probably have some lunch
52: [02:19:35] <ss23> Me too!
53: [02:19:44] <simon_w> Bring me some!
54: [02:21:57] <ss23> You bring me some!
55: [02:21:58] <ss23> :D
56: [02:22:06] <simon_w> Yeah, nah :p
57: [02:31:11] * EasyCo has joined #silverstripe
58: [02:31:59] <EasyCo> 'afternoon trendsetters
59: [02:35:03] * guzzlefry stops coding Scala.
60: [02:35:09] <guzzlefry> afternoon
61: [02:37:22] <EasyCo> So I asked this last week, then got distracted. So I'll ask once more before I start building it myself: Are there any SS modules out there that let you update an asset in the Silverstripe file manager?
62: [02:54:24] <DaShiVaDan> Hmm sounds like a nice module :)
63: [02:57:21] <DaShiVaDan> Anyone have any idea why I'm getting the following error?: I just started getting errors emailed to me stating that, actually, i'll paste the email up: http://codepad.viper-7.com/aXtsPa - basically what it comes down to is it's telling me it can't find Entrant.eWAY however when I run the 'error' query in phpmyadmin, it works (no results, cause it's searching for an old profile from last year that has been removed) but I keep
64: [02:57:29] <DaShiVaDan> (i assume) people hit up profile pages.
65: [02:57:55] <DaShiVaDan> The weirdest part: If I go to the page myself, it just says 'entrant not found' like it's sposed to, but sends no error email to me...
66: [02:58:58] <DaShiVaDan> Regardless, though, the field is in the database, there is no misspelling. Entrant.php has it as a varchar db field, and the build put it in way back when I added it, it just suddenly with a host of other updates, started sending me the error emails.
67: [03:00:29] * kerosene quit (Quit: leaving)
68: [03:25:44] <ss23> simon_w: https://github.com/silverstripe/silverstripe-cms/pull/887 Merge! (travis failure is unrelated, change is literally a typo)
69: [03:29:33] <DaShiVaDan> ^^ Nevermind the above issue: Turns out the error emails were coming from teh live server from last years event, it was just coincidental that I was working on new site just before they started coming through.
70: [03:39:09] * Zauberfisch__ quit (Quit: Page closed)
71: [03:45:28] * DesignerX has joined #silverstripe
72: [03:47:15] <Colin[pi]> omg I just met simon_w
73: [03:47:18] <Colin[pi]> :D
74: [03:47:37] <DaShiVaDan> was he taller IRL?
75: [03:47:43] <EasyCo> Grammatical & spelling police on the job :)
76: [03:47:53] <Colin[pi]> he was!
77: [03:55:52] <simon_w> Oh man, it's like a Wellington summer out there
78: [03:55:58] * simon_w is overheating
79: [03:56:08] <EasyCo> Isn't it great!
80: [03:56:15] <simon_w> No!
81: [03:57:02] <EasyCo> Haha, ok then.
82: [03:57:11] <Colin[pi]> dude this is not hot
83: [03:57:13] <simon_w> ss23, holiday!
84: [03:57:19] <Colin[pi]> try in summer when it's like 35+ :P
85: [03:57:34] <EasyCo> What is the temp and where are you?
86: [03:57:45] <DaShiVaDan> this bloody office building is like a refrigerator :/
87: [03:57:58] <simon_w> Apparently 21 degrees, high of 26
88: [03:58:33] <EasyCo> Hahaha
89: [03:58:42] <simon_w> Currently something like 12 degrees at home
90: [03:58:52] * simon_w is in the same city as Colin[pi]!
91: [03:58:56] <EasyCo> I suppose it's all relative to what you're used to
92: [03:59:16] <EasyCo> Oh, you're in Camberra!
93: [03:59:32] <simon_w> Also, in a house
94: [03:59:39] <EasyCo> I was gonna suggest a nice dip in the ocean.
95: [03:59:53] <simon_w> Screw going outside again :p
96: [04:00:16] <EasyCo> Dangers lurk out there. Like snakes and spiders and drop bears.
97: [04:02:19] <Colin[pi]> and bogans
98: [04:02:39] <DaShiVaDan> drop bears aren't a problem if you know how to deal with them. people keep getting worried about them but all you need to do is
99: [04:02:42] <simon_w> In this part of Canberra? :p
100: [04:03:03] <Colin[pi]> simon_w: have you been to the bus interchange? BOGANVILLE
101: [04:03:06] * peter_w has joined #silverstripe
102: [04:03:15] <simon_w> Colin[pi], only passing through :p
103: [04:03:30] <Colin[pi]> it's close to the drug rehab place, so ya, some quality characters
104: [04:06:11] <peter_w> I think I have found a problem in the DataQuery->column() method....if this method is called on a data query for a Page class and defined the default_sort on the Page class is "Date" . The column method returns an error like this Couldn't run query: SELECT DISTINCT "SiteTree"."ID", "Date" FROM "SiteTree" WHERE ("SiteTree"."ClassName" IN ('CalendarEvent')) ORDER BY "Date" DESC LIMIT 30 Unknown column 'Date' in 'field list'
105: [04:07:27] <peter_w> the column method on DataQuery calls this method ensureSelectContainsOrderbyColumns() that adds the "Date" select, but "Date" is on the Page table and not the SiteTree table
106: [04:10:10] <peter_w> this seems like a pretty big issue.....has nobody else come across it or am I doing something very wrong
107: [04:19:17] * kerosene has joined #silverstripe
108: [04:20:44] <peter_w> anyone?
109: [04:26:08] * cloph quit (Ping timeout: 240 seconds)
110: [04:26:28] * cloph_away has joined #silverstripe
111: [04:27:54] <madmatt> peter_w: I haven't come across that - are you doing SiteTree::get(), or Page::get()?
112: [04:32:54] * nayeema has joined #silverstripe
113: [04:34:09] <nayeema> hello everyone this is Nayeema
114: [04:35:12] <nayeema> i'm new to silver stripe
115: [04:36:29] <peter_w> madmatt: I am using CalanderPage in a model admin
116: [04:36:55] <peter_w> sorry CalendarEvent and I have the default_sort set to "Start" ASC
117: [04:37:09] <EasyCo> hello nayeema
118: [04:37:20] <nayeema> i'm trying to use zend search lucene ... my task is when i create a new a new page index should be reindexed
119: [04:37:35] * spronk2 has joined #silverstripe
120: [04:37:48] <nayeema> i'm following steps from this url :https://code.google.com/p/lucene-silverstripe-plugin/
121: [04:38:31] <nayeema> but it is now working for the create_index_callback function
122: [04:39:46] <nayeema> can any one please advice me how can i overcome this problem
123: [04:40:44] <nayeema> hi EasyCo
124: [04:42:13] <EasyCo> What version of SS are you using?
125: [04:44:11] <nayeema> i'm using ss 2.4
126: [04:45:17] <EasyCo> I've not experience with ss 2.4 per-se but if you tell us what error you're getting somebody might be able to help
127: [04:49:05] <nayeema> i'm trying to do for every new index , my create_index_callback() function will reindex the new index... follow the steps from the link, but until i rebuild my site its not showing up in my search result
128: [04:50:22] <nayeema> i added create_index_callback() to my _config but no result
129: [04:52:07] <madmatt> peter_w: Ah I see, interesting. What does CalendarEvent extend from - Page?
130: [05:02:13] <peter_w> yup it extends from page
131: [05:03:07] <peter_w> the column method on dataquery changes the query so it selects the "ID" from the baseclass
132: [05:03:41] <peter_w> but doesnt care that I am ordering by a field that is not on the basevlass
133: [05:17:45] * kerosene quit (Ping timeout: 256 seconds)
134: [05:18:43] * spronk2 quit (Quit: spronk2)
135: [05:28:32] <EasyCo> I'm getting: Action 'view' isn't allowed on class GridFieldDetailForm_ItemRequest in SS 3.0.8
136: [05:28:39] <EasyCo> and I can't seem to find the source
137: [05:29:06] <EasyCo> GridFieldDetailForm_ItemRequest has no allowed_actions so everything should be allowed by default
138: [05:33:33] * nayeema quit (Ping timeout: 250 seconds)
139: [05:35:29] * travis-ci has joined #silverstripe
140: [05:35:30] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#635 (3.1 - a24d84a : Will Rossiter): The build was broken.
141: [05:35:30] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/79c0b6cf28fa...a24d84a6dffc
142: [05:35:30] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/13138838
143: [05:35:30] * travis-ci has left #silverstripe
144: [05:38:38] * kerosene has joined #silverstripe
145: [05:39:35] * Shrike_Finland1 quit (Quit: Leaving.)
146: [05:47:31] * eceer has joined #silverstripe
147: [05:48:29] <eceer> Hi have a, crosses fingers, quick question in regards to the ecommerce plugin
148: [05:48:49] <eceer> when I try to run dev/build I get this error...
149: [05:49:08] <eceer> "Fatal error: Access level to Order::$singular_name must be public silverstripe"
150: [05:49:31] <eceer> In past I have gone through and changed private to public and it works
151: [05:49:52] <eceer> Pretty certain this is not the right approach
152: [05:50:16] <eceer> any suggestions on how I should be approaching it?
153: [05:51:54] <DesignerX> ec8or_: hi, in SS3.1 , they should be private, check out the DataObject class :)
154: [05:52:10] <eceer> I'm using 3.0
155: [05:53:02] <DesignerX> the changes may have been applied from 3.0 , best way is to check the DataObject class
156: [05:54:00] <eceer> nope DataObject class has them as being public :(
157: [05:54:08] <eceer> public static $singular_name = null;
158: [05:54:09] <DesignerX> mm strange
159: [05:54:26] <DesignerX> ah wait
160: [05:54:39] <DesignerX> I think the ECommerce is up to date
161: [05:55:29] <DesignerX> its asking to change it to public which means its currently set to private => how it should be for the latest version
162: [05:55:47] <DesignerX> update SS or user an older version of the ECom
163: [05:55:51] <DesignerX> use *
164: [05:56:48] * kerosene is now known as biodiesel
165: [05:59:09] <eceer> thanks DesignerX currently trying the upgrade SS option
166: [06:04:09] <eceer> far out
167: [06:04:22] <eceer> just run dev/build and got this
168: [06:04:24] <eceer> "Fatal error: Access level to CartPage::$db must be public (as in class Page) "
169: [06:04:40] <eceer> surely I must be doing something wrong
170: [06:06:24] <eceer> hmmm I just used same folder in fresh install and it worked
171: [06:09:21] * Nightjar has joined #silverstripe
172: [06:09:43] <Nightjar> hi Colin[pi]
173: [06:09:53] <Colin[pi]> Heya
174: [06:13:53] <EasyCo> Anybody understand how gridFieldAlterAction works? GridField has 2 allowed_actions: index and gridfieldAtlerAction that seems to handle actions like 'edit'
175: [06:13:59] <EasyCo> But where is this defined?
176: [06:23:29] * Shrike_Finland has joined #silverstripe
177: [06:37:10] * EasyCo quit (Quit: EasyCo)
178: [06:42:04] * peter_w quit (Quit: Page closed)
179: [06:42:54] <Nightjar> eas...oh
180: [06:43:02] <Nightjar> probably on the alter action itself.
181: [06:50:48] * Shrike_Finland quit (Quit: Leaving.)
182: [07:21:15] * simon_w quit (Quit: This computer has gone to sleep)
183: [07:27:28] * EasyCo has joined #silverstripe
184: [07:29:45] * SightUnseen1 has joined #silverstripe
185: [07:29:51] * SightUnseen1 has left #silverstripe
186: [07:37:40] * EasyCo quit (Quit: We can't stop here, this is bat country)
187: [08:09:16] * skorp has joined #silverstripe
188: [08:16:48] * Sjohn has joined #silverstripe
189: [08:18:08] <Sjohn> Goodmorning/evening
190: [08:19:13] <Sjohn> I got a question about the default search of silverstripe. Is it possible to make the search resulst bij the last updated/added item?
191: [08:19:23] <Sjohn> by*
192: [08:26:17] * ARNHOE has joined #silverstripe
193: [08:29:57] <DesignerX> Sjohn: hi, you should be able to do $results->sort('Created') or LastEdited
194: [08:30:21] <DesignerX> all DataObjects have these 2 fields in by default
195: [08:31:34] <Sjohn> Ok, thanks. I can do that in the template?
196: [08:32:12] <DesignerX> in the PHP code .. let me seeif I can get mroe details
197: [08:33:30] <Sjohn> Would be great :)
198: [08:35:14] <DesignerX> Sjohn: http://doc.silverstripe.org/framework/en/tutorials/4-site-search
199: [08:35:31] <DesignerX> scrol;l down to "Showing the results"
200: [08:38:48] <Sjohn> so this will be like $form->getResults()->sort('Created'),
201: [08:39:06] <Sjohn> or does that go in the return?
202: [08:39:55] <DesignerX> thats looks correct
203: [08:40:10] <DesignerX> $form->getResults()->sort('Created'),
204: [08:40:29] <Sjohn> Ill give it a shot, thank you
205: [08:47:36] * simon_w has joined #silverstripe
206: [08:48:59] <Sjohn> almost worked, added the DESC attribute to it, to get the latest created
207: [08:49:11] <Sjohn> $form->getResults()->sort('Created', 'DESC')
208: [08:51:19] <DesignerX> Sjohn: :)
209: [08:58:30] * svandragt has joined #silverstripe
210: [09:03:53] * kinglozzer has joined #silverstripe
211: [09:18:18] * MiniZeka has joined #silverstripe
212: [09:19:03] <MiniZeka> Hi guys
213: [09:19:26] <MiniZeka> I'm working with framework only for the first time, and I'm having problems with rendering html
214: [09:20:16] <MiniZeka> is there a difference of output rendering compared with framework + cms option?
215: [09:26:56] <Nightjar> Sjohn or does that go in the return?
216: [09:26:56] <Nightjar> DesignerX thats looks correct
217: [09:26:56] <Nightjar> 09:40 DesignerX $form->getResults()->sort('Created'),
218: [09:26:58] <Nightjar> WTF NO
219: [09:27:03] <Nightjar> don't go hacking core code.
220: [09:28:05] <Nightjar> MiniZeka: if your content isn't being rendered as HTML, then there's an error causing that behaviour.
221: [09:28:24] <Nightjar> by default errors are served with plain text mime I think.
222: [09:32:42] <MiniZeka> no, there is no error
223: [09:33:01] <MiniZeka> I simply cannot call renderWith with my custom theme
224: [09:33:10] <MiniZeka> which is basically copied "simple" theme
225: [09:33:22] <Nightjar> no page types
226: [09:33:50] <MiniZeka> $this->renderWith('Page') works if "simple" theme is chosen
227: [09:33:58] <Nightjar> yeah
228: [09:34:06] <Nightjar> so what's the problem?
229: [09:34:11] <MiniZeka> but it doesn't work when I call it with my theme is chosen
230: [09:34:27] <Nightjar> because there's no such class as Page.
231: [09:34:32] <MiniZeka> None of these templates can be found in theme 'test': Page.ss
232: [09:34:45] <Nightjar> flush
233: [09:35:01] <MiniZeka> tried with =1 and with =all
234: [09:35:03] <MiniZeka> no luck
235: [09:35:12] <Nightjar> can I see your code?
236: [09:35:44] <MiniZeka> which part?
237: [09:35:57] <Nightjar> controller
238: [09:39:22] <MiniZeka> http://www.sspaste.com/paste/show/526e2efe6e865
239: [09:40:55] <MiniZeka> and routes.yml
240: [09:40:55] <MiniZeka> http://www.sspaste.com/paste/show/526e2f5333d1d
241: [09:40:58] * Colin[pi] quit (Ping timeout: 246 seconds)
242: [09:47:17] <Nightjar> MiniZeka: and what is the output if you die(SSViewer::config()->theme) ?
243: [09:47:47] <DesignerX> Nightjar: just got back, for above, I was only talking about how to sort the data and NOt modifing core file. He should be able to copy that method into Page_Controller and customize it ?
244: [09:48:28] <Nightjar> DesignerX: I suppose he could, but you didn't make that clear.
245: [09:50:29] <DesignerX> Sjohn: Nightjar forgot to mention rule #1 , dont modify core files
246: [09:50:59] <Nightjar> Site Search is a bit meh at best.
247: [09:51:21] <MiniZeka> Nightjar: don't know now, I deleted my theme, copied simple again, renamed it, run dev/build and flush=all (2 rquestes) and somehow it started to work
248: [09:51:50] * Colin[pi] has joined #silverstripe
249: [09:51:51] <MiniZeka> it's kind of http://bit.ly/YRSbPp situation :)
250: [09:51:55] <Nightjar> MiniZeka: hmm. Oh well, profit!
251: [10:01:28] <Nightjar> MiniZeka: tip: name the templates the same as the controllers. Easier.
252: [10:01:37] <Nightjar> no renderWiths.
253: [10:01:54] * Nightjar has left #silverstripe
254: [10:02:28] <MiniZeka> I do it everytime, but that was faster for testing
255: [10:23:24] * simon_w quit (Quit: This computer has gone to sleep)
256: [11:09:49] * MiniZeka quit (Ping timeout: 250 seconds)
257: [11:26:27] * DesignerX has joined #silverstripe
258: [11:31:06] * Shrike_Finland has joined #silverstripe
259: [11:44:15] * Alexwijn has joined #silverstripe
260: [11:44:27] <Alexwijn> Hi, does anyone know how to update a project with PHP Composer?
261: [11:44:28] <Sjohn> Ill copy the function to the Page
262: [11:44:32] <Alexwijn> So the root package
263: [11:46:29] <ec8or_> anyone in australia?
264: [11:46:47] <Alexwijn> I'm sure there are people in Australia right now
265: [11:46:59] <DryerLintPurple> good chance, yes.
266: [11:47:10] <ec8or_> need help with testing geo-blocking
267: [11:48:18] <Alexwijn> Just put a australian IP in $_SERVER['REMOTE_ADDR'] at index.php
268: [11:48:35] <Alexwijn> Just before SS starts
269: [11:50:41] <DryerLintPurple> hmm, at exactly what line is SS considered to have 'started'? :)
270: [11:51:05] <Alexwijn> Just use _config.php in your main project folder
271: [11:51:47] <Alexwijn> The main project will be started right after SS
272: [11:52:08] <Alexwijn> And I assume the geo-blocker is a module that launch itself after the main project
273: [11:52:36] <DesignerX> ec8or_: i'm
274: [11:52:59] <DryerLintPurple> Alexwijn: for all the info he's giving us, he might be blocking at the firewall :P
275: [11:53:30] <Alexwijn> Well I just assume that coz it's a SS chat, but sure that's also possible
276: [11:54:36] <Alexwijn> But does nobody knows how to updata a Composer Project?
277: [11:55:29] <DryerLintPurple> sure: 'composer update' :)
278: [11:55:43] <Alexwijn> That update the requiments, not the project itself
279: [11:55:51] <Alexwijn> I used create-project
280: [11:59:42] * Masayoshi has joined #silverstripe
281: [12:01:25] <Alexwijn> Is this impossible what I want?
282: [12:01:42] <Alexwijn> You create-project with composer and then you get stuck with that version?
283: [12:06:44] * violetina has joined #silverstripe
284: [12:14:10] <Masayoshi> Hi can anyone help me with a TinyMCE problem ?
285: [12:23:16] <Alexwijn> What seems to be the problem?
286: [12:24:31] <DesignerX> Q : How can I set a limit on GridField to have a max of 10 objects/relations ?
287: [12:29:25] * Alexwijn quit ()
288: [12:29:49] * svandragt quit (Ping timeout: 272 seconds)
289: [12:30:51] <Zauberfisch23> DesignerX: there is no propper validator for it yet I think
290: [12:31:01] <Zauberfisch23> but there is an easy way to do it
291: [12:31:25] <Zauberfisch23> since the gridfield always reloads, you can just check in the getCMSFields
292: [12:32:09] <Zauberfisch23> actually, thats a question that I had several times, do you have a stackoverflow account? would you mind posting it as question there, so I can answer it there and just link to that in future?
293: [12:32:20] <Masayoshi> When i add widgets with a HtmlEditorField the Tinymce doesnt load correctly
294: [12:32:28] <DesignerX> Zauberfisch23: there is already a similar question
295: [12:32:33] <Zauberfisch23> link
296: [12:32:34] <Zauberfisch23> plx
297: [12:32:41] <DesignerX> http://stackoverflow.com/questions/19005633/silverstripe-limiting-the-number-of-many-relations-a-dataobject-can-have
298: [12:34:14] <DesignerX> Masayoshi: I think its a known error with Widget + TinyMCE .. i remember is from SS2.4 .. but I dont use widgets anymore so not sure if its the same problem or if there is a fix for it
299: [12:34:53] <Masayoshi> Hmm ok thanks anyways
300: [12:35:11] <Masayoshi> i think its a javascript thing but cant exactly place my finger on it
301: [12:36:32] <DesignerX> Zauberfisch23: and asked here again :) http://logs.simon.geek.nz/index.php?date=2013-03-08#log_927806
302: [12:37:37] <DesignerX> so basic $this->relationname()->count then remove components based on that ? lets hope this works
303: [13:04:18] * Colin[pi] quit (Ping timeout: 252 seconds)
304: [13:07:35] * UndefinedOffset has joined #silverstripe
305: [13:23:32] <Zauberfisch23> DesignerX: http://stackoverflow.com/a/19635952/1119263
306: [13:26:07] * skorp has left #silverstripe
307: [13:54:24] * ARNHOE_ has joined #silverstripe
308: [13:54:26] * ARNHOE quit (Read error: Connection reset by peer)
309: [14:01:50] * svandragt has joined #silverstripe
310: [14:05:59] <DesignerX> Zauberfisch23: ty :)
311: [14:06:40] * ARNHOE_ quit (Ping timeout: 260 seconds)
312: [14:09:51] * pathum has joined #silverstripe
313: [14:11:34] * ARNHOE has joined #silverstripe
314: [14:18:31] * DesignerX quit (Ping timeout: 245 seconds)
315: [14:30:52] * r3v3rb has joined #silverstripe
316: [14:31:00] <r3v3rb> helllllooooooo
317: [14:35:13] * Masayoshi quit (Ping timeout: 250 seconds)
318: [14:41:11] <Sjohn> Is there a module which allows you to publish an article/page on a specific date/time?
319: [14:41:12] * ARNHOE quit (Read error: Connection reset by peer)
320: [14:41:31] * ARNHOE has joined #silverstripe
321: [15:00:25] * Sjohn quit ()
322: [15:08:51] * skorp has joined #silverstripe
323: [15:11:11] * catcher has joined #silverstripe
324: [15:15:41] <r3v3rb> hmm, when trying to loop through members in a group $thismember->destroy(); doesn't appear to remove the member at all (ss2.4.12) any ideas?
325: [15:17:16] * Shrike_Finland quit (Quit: Leaving.)
326: [15:34:25] <catcher> r3v3rb, you're just trying to kill the member?
327: [15:34:49] <catcher> r3v3rb, for that, I believe you want delete() instead.
328: [15:34:51] <r3v3rb> yes and its relation in the groups too
329: [15:35:11] <r3v3rb> tried delete makes no difference the members still exist :(
330: [15:35:14] <r3v3rb> strange
331: [15:36:36] <r3v3rb> however delete_by_id("Member", $thismember->ID) works
332: [15:41:03] <r3v3rb> its a bit wonky but works
333: [15:44:53] <catcher> r3v3rb, strange, glad you've got it worked out.
334: [15:45:40] <r3v3rb> its probably my code mixed with the newsletter causing it - I needed to delete all records associated to a mailing lists group ID
335: [15:45:55] <r3v3rb> prior to importing a new list of email addresses
336: [15:46:22] <r3v3rb> the module could probably do with a 'wipe entry list before upload'
337: [15:52:36] * Shrike_Finland has joined #silverstripe
338: [15:56:32] * pathum quit (Read error: Connection reset by peer)
339: [16:00:23] * Colin[pi] has joined #silverstripe
340: [16:08:45] * skorp has left #silverstripe
341: [16:19:48] * guci0 has joined #silverstripe
342: [16:20:01] <guci0> hello
343: [16:21:23] * pathum has joined #silverstripe
344: [16:21:34] <catcher> hello
345: [16:24:50] * ARNHOE quit (Remote host closed the connection)
346: [16:32:30] * pathum quit (Read error: Connection reset by peer)
347: [16:44:25] * AlphaCactus quit (Ping timeout: 272 seconds)
348: [16:50:45] * AlphaCactus has joined #silverstripe
349: [16:57:43] * r3v3rb quit (Ping timeout: 272 seconds)
350: [17:03:28] * kinglozzer quit (Remote host closed the connection)
351: [17:05:55] * AlphaCactus quit (Ping timeout: 263 seconds)
352: [17:25:16] * AlphaCactus has joined #silverstripe
353: [17:26:17] * Shrike_Finland quit (Quit: Leaving.)
354: [17:36:59] * svandragt quit (Ping timeout: 272 seconds)
355: [18:06:48] * ARNHOE has joined #silverstripe
356: [18:13:43] * SightUnseen has joined #silverstripe
357: [18:13:44] * SightUnseen has left #silverstripe
358: [18:15:40] <AlphaCactus> is this thing on
359: [18:16:09] * Colin[pi] quit (Ping timeout: 272 seconds)
360: [18:17:30] * razzi has joined #silverstripe
361: [18:30:08] <catcher> loud & clear.
362: [18:38:00] * skorp has joined #silverstripe
363: [18:48:06] <catcher> Anyone know how to customize the usage text on searchable_fields?
364: [18:50:12] * Liquide has joined #silverstripe
365: [19:01:46] * razzi quit ()
366: [19:09:57] <AlphaCactus> what usage text
367: [19:13:33] <catcher> AlphaCactus, for example, Date field have the sample format filled inside the textfield, and as a rightTitle underneath. Both are incorrect in my case.
368: [19:15:15] <AlphaCactus> I haven't had a searchable date field. I know what you are talking about in the main area, but are you saying that stuff also appears in the filter area? or just want to fix it in the main area.
369: [19:15:51] <AlphaCactus> oh wait I do have one of those
370: [19:16:06] <catcher> AlphaCactus, 2 usage messages appear in the filter area.
371: [19:16:19] <catcher> more accurately, formatting messages.
372: [19:16:43] <catcher> Easy to fix in CMSFields, not sure in searchable/filter.
373: [19:17:37] <AlphaCactus> have you tried tinkering with scaffoldSearchFields yet?
374: [19:20:15] <catcher> Not yet, seems like a good place to start though.
375: [19:24:29] <catcher> Golden, thanks AlphaCactus
376: [19:25:57] <AlphaCactus> oh good. can you provide answer so I can change mine too :)
377: [19:30:11] * antmas has joined #silverstripe
378: [19:30:41] <antmas> mornin
379: [19:33:22] * Shrike_Finland has joined #silverstripe
380: [19:35:07] * nickmolhoek has joined #silverstripe
381: [19:36:12] <catcher> AlphaCactus, https://gist.github.com/clyonsEIS/7203158
382: [19:36:37] <AlphaCactus> thx
383: [19:40:13] <catcher> AlphaCactus, now revised to accept other field names
384: [19:40:32] <AlphaCactus> did yours have the right title right aligned? I can only see the first couple of characters.
385: [19:41:00] <AlphaCactus> ah good fix, i had just changed the hardcoded names
386: [19:41:35] * antmas quit (Ping timeout: 250 seconds)
387: [19:42:09] <AlphaCactus> how does createDatePickerField get $fieldName cause its not being passed in scaffoldSearchFields?
388: [19:42:24] * Ryan_ has joined #silverstripe
389: [19:44:39] <catcher> AlphaCactus, that was updated too, it's the first (required) param
390: [19:45:12] <AlphaCactus> on line 14 of your example, you aren't passing in $fieldName?
391: [19:46:44] <catcher> AlphaCactus, maybe refresh the gist?
392: [19:47:39] <catcher> typo on 13 though, I'll clean it up
393: [19:48:54] * Pyromanik has joined #silverstripe
394: [19:49:24] <AlphaCactus> hm, it went away
395: [19:49:42] <AlphaCactus> no matter, I got it already
396: [19:49:51] * Liquide quit ()
397: [19:50:16] * antmas has joined #silverstripe
398: [19:50:46] <catcher> cool, here's an update for anyone else: https://gist.github.com/clyonsEIS/7203403
399: [19:52:05] <AlphaCactus> I had to add .cms-content-tools .field label.right { margin-left: 0; } to my custom additional css for the CMS to get the description to not be pushed too far to the right
400: [19:54:53] * Shrike_Finland quit (Quit: Leaving.)
401: [19:55:31] <catcher> AlphaCactus, awesome, thanks for sharing
402: [19:56:36] * SightUnseen1 has joined #silverstripe
403: [19:56:59] <Pyromanik> guys guys guys
404: [19:57:06] <Pyromanik> I had a bit of an epiphany in the weekend right
405: [19:57:14] <catcher> did it involve guys guys guys?
406: [19:57:23] <Pyromanik> and it was that entwine isn't actually the C for your MV
407: [19:57:36] * SightUnseen1 has left #silverstripe
408: [19:57:37] <Pyromanik> it's more of the M-V for your MV
409: [19:57:43] <Pyromanik> VM
410: [19:57:45] <Pyromanik> V-M
411: [19:57:47] <Pyromanik> whatever
412: [19:58:05] <Pyromanik> since it's pretty much entirely concerned with teh front end
413: [19:58:12] <Pyromanik> what happens on page
414: [19:58:16] * r3v3rb has joined #silverstripe
415: [19:58:17] * osterlaus has joined #silverstripe
416: [19:58:30] <r3v3rb> hi
417: [19:58:41] <Pyromanik> no catcher, no men involved, but I did have a dream about your mum last night
418: [19:58:44] <Pyromanik> hi r3v3rb
419: [19:58:52] <catcher> hahaha
420: [19:58:56] <antmas> hmmmm anyone used a mock feed for RSS before?
421: [19:59:03] <r3v3rb> Pyromanik: hello
422: [19:59:30] <r3v3rb> is it possible to remove the labels in an optionsetfield?
423: [19:59:36] <Pyromanik> umm
424: [19:59:42] <r3v3rb> for each option not the wrapper
425: [19:59:45] <Pyromanik> not entirely sure why you'd want to
426: [19:59:52] <r3v3rb> because I'm wierd
427: [19:59:57] <Pyromanik> then you'd just have a maze of checkboxes
428: [20:00:02] <Pyromanik> noted.
429: [20:00:06] <Pyromanik> use JS?
430: [20:00:23] <r3v3rb> aye, but the form has a header in a table to look more like a printed form
431: [20:00:27] <Pyromanik> use your source array like 'Key=>''
432: [20:00:39] * ARNHOE quit (Ping timeout: 272 seconds)
433: [20:00:58] <r3v3rb> but then the selected data wouldn't have the correct key/value in the $_POST
434: [20:01:02] <Pyromanik> r3v3rb: I'm not sure I follow the use case
435: [20:01:19] <Pyromanik> r3v3rb: nah, it's Value=>Label
436: [20:01:25] <Pyromanik> value should still be ok
437: [20:01:45] <Pyromanik> you'll probably still have label tags though
438: [20:01:50] <r3v3rb> imagine a printed form - header with a question, then for answers across the top 'fair,middle,good,excellent'
439: [20:02:01] <Pyromanik> you could .optionset label {display:none} ?
440: [20:02:02] <r3v3rb> then under that four rows in a table with four questions
441: [20:02:22] <r3v3rb> Pyromanik: maybe but would prefer no markup at all
442: [20:02:26] <Pyromanik> r3v3rb: ah, right now I'm with you
443: [20:02:40] <Pyromanik> r3v3rb: subclass optionsetfield, make a new template, use that
444: [20:02:41] <Pyromanik> or
445: [20:02:41] <r3v3rb> so the user just clicks in the box for each answer
446: [20:02:44] <Pyromanik> just make a new template
447: [20:02:55] <Pyromanik> and use that with ->setFieldHolderTemplate()
448: [20:02:55] <r3v3rb> yep, that'll probs be easiest
449: [20:03:42] <Pyromanik> yeh
450: [20:03:47] <Pyromanik> fo' sho'.
451: [20:03:50] * AlphaCactus quit (Ping timeout: 240 seconds)
452: [20:03:53] * AlphaCactus_ has joined #silverstripe
453: [20:03:57] * AlphaCactus_ is now known as AlphaCactus
454: [20:05:51] * osterlaus has left #silverstripe
455: [20:05:51] <r3v3rb> lol, you gone all 'in da hood'
456: [20:06:08] <Pyromanik> correction, I dun gone all in da hood
457: [20:06:17] <Pyromanik> (you missed a dun bruv.)
458: [20:06:39] <Pyromanik> or should that be "you is miss'n a dun, bruv"?
459: [20:06:46] * Stomach has joined #silverstripe
460: [20:06:47] <Pyromanik> idek
461: [20:07:06] <guzzlefry> What is this idek?
462: [20:07:27] <catcher> you don't even know?
463: [20:07:46] * gelignite has joined #silverstripe
464: [20:08:30] * nhorstmeier has joined #silverstripe
465: [20:08:38] * stecman has joined #silverstripe
466: [20:08:40] <r3v3rb> Pyromanik: catcher lmao
467: [20:08:42] * Colin[pi] has joined #silverstripe
468: [20:08:47] <r3v3rb> stop this malarkey!
469: [20:09:02] <r3v3rb> okay 2.4.12 where the fack are the form templates for overriding
470: [20:09:11] <Pyromanik> 09:07 < guzzlefry> What is this idek?
471: [20:09:12] <Pyromanik> 09:07 < catcher> you don't even know?
472: [20:09:14] <Pyromanik> TOUCHE!
473: [20:09:28] <Pyromanik> guzzlefry: well it could be idk
474: [20:09:29] <nhorstmeier> anyone know how I would go about setting relations in the config.yml file, no issues setting extensions and db
475: [20:09:34] <Pyromanik> but it's far less effective.
476: [20:09:47] <Pyromanik> nhorstmeier: you don't.
477: [20:10:01] <Pyromanik> you should define db and such in your model
478: [20:10:04] <Pyromanik> but
479: [20:10:31] <Pyromanik> you can, if you so wish (but you still shouldn't), you do it just like you've set db
480: [20:10:34] <Pyromanik> has_one:
481: [20:10:38] <Pyromanik> has_many:
482: [20:10:42] <Pyromanik> many_many:
483: [20:10:46] <r3v3rb> noooooo, 2.4.12 doesn't do setFieldHolderTemplate!
484: [20:10:48] <Pyromanik> belongs_to:
485: [20:10:57] <Pyromanik> r3v3rb: AHAHAHAHAHAHAHAHAHAHAHAH
486: [20:11:01] <Pyromanik> in that case, you're fux'd
487: [20:11:02] <r3v3rb> fak off!
488: [20:11:21] <nhorstmeier> Pyro: anything special as far as RelationName: Object
489: [20:11:22] <Pyromanik> belongs_many_many:
490: [20:11:23] <r3v3rb> stop that maniacal laughing
491: [20:11:29] <nhorstmeier> for db it's FieldName: FieldType
492: [20:11:35] * unsignedint quit (Remote host closed the connection)
493: [20:11:40] <Pyromanik> nhorstmeier: exactly the same as it would be in the PHP, yes.
494: [20:11:52] * unsignedint has joined #silverstripe
495: [20:11:53] <Pyromanik> many_many_extraFields:
496: [20:11:59] <Pyromanik> RelationName:
497: [20:12:01] * travis-ci has joined #silverstripe
498: [20:12:02] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1431 (master - 328a98d : Ingo Schommer): The build has errored.
499: [20:12:02] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/e6cdf095198f...328a98dd2570
500: [20:12:02] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/13173418
501: [20:12:02] * travis-ci has left #silverstripe
502: [20:12:07] <Pyromanik> FieldName: Object
503: [20:12:16] <Pyromanik> etc
504: [20:12:27] <nhorstmeier> guessing most of the statics that can be set in the model can be set in yml
505: [20:12:28] * UncleCheese has joined #silverstripe
506: [20:12:37] <Pyromanik> ALL of them an.
507: [20:12:38] <Pyromanik> can*
508: [20:12:43] <Pyromanik> oh
509: [20:12:44] <Pyromanik> unless
510: [20:12:46] <Pyromanik> unless
511: [20:12:48] <nhorstmeier> heard it's better for performance so figured I'd play with it
512: [20:12:49] <Pyromanik> I did find one bug
513: [20:13:05] <Pyromanik> extensions don't pick them up.
514: [20:13:13] <Pyromanik> but concrete dataobjects do just fine.
515: [20:13:32] <nhorstmeier> I think I ran into that, makes sense
516: [20:13:55] <Pyromanik> I did this
517: [20:14:23] <Pyromanik> http://sspaste.com/paste/show/526ec3d04dc67
518: [20:18:49] <Pyromanik> nhorstmeier: so you can sorta hack straight around it
519: [20:19:42] * wilr_ has joined #silverstripe
520: [20:21:17] <nhorstmeier> right, got it working, missed one of my relations still attached to an extension. is it still better to do it in php?
521: [20:22:19] * eceer quit (Ping timeout: 250 seconds)
522: [20:28:48] * violetina quit (Remote host closed the connection)
523: [20:30:07] * violetina has joined #silverstripe
524: [20:32:46] * UndefinedOffset quit (Quit: Leaving.)
525: [20:33:05] <Pyromanik> nhorstmeier: yes.
526: [20:33:08] <Pyromanik> do it in PHP.
527: [20:33:21] <Pyromanik> It's the same thing, but it's cleaner from a development perspective.
528: [20:33:41] <Pyromanik> You're not switching back and forth all over the show with files and stuff.
529: [20:34:20] <Pyromanik> eg. you call a DB field from a template, and then call a formatting function on the model. You don't have a succinct list of all the things.
530: [20:34:38] <Pyromanik> mind you, if you're going up the heirarchy same sorta deal.
531: [20:35:05] <Pyromanik> but in essence, the reason for things becoming private is that they're actually just default values for the config system.
532: [20:35:15] <Pyromanik> and they don't get inherited, so performance is better
533: [20:36:15] <Pyromanik> iirc php definitions get loaded first, then yml, then _config.php, then inline assignments (eg $this->config()->property)
534: [20:36:30] <Pyromanik> not 100% on that though
535: [20:43:17] <guzzlefry> protip: When overloading getCMSFields(), but sure to return actual fields.
536: [20:43:56] * guzzlefry ponders a SilverStripe Confusius website.
537: [20:45:49] <guzzlefry> Also, there really needs to be an "Add another" button when adding things from gridfield. :/
538: [20:47:28] * DigNZ has joined #silverstripe
539: [20:51:04] * r3v3rb quit (Quit: r3v3rb)
540: [20:52:57] * simon_w has joined #silverstripe
541: [20:55:24] * unsigned_ has joined #silverstripe
542: [20:55:58] * Ryan_ has left #silverstripe
543: [20:56:41] * osterlaus1 has joined #silverstripe
544: [20:56:53] * osterlaus1 quit (Client Quit)
545: [20:57:21] * unsignedint quit (Ping timeout: 246 seconds)
546: [20:57:37] <Colin[pi]> hai guise
547: [20:58:00] <guzzlefry> evening sir
548: [20:58:14] <Colin[pi]> morning simon_w, ready for a sweltering 20C today?
549: [20:58:19] <Colin[pi]> hey guzzlefry
550: [20:58:27] <simon_w> Morning Colin[pi]
551: [20:58:34] <guzzlefry> 20C sounds high...
552: [20:58:36] <simon_w> I'm probably even going to go biking in it!
553: [20:58:42] <Colin[pi]> omg!
554: [20:58:55] <simon_w> And ss23 broke requireDefaultRecords!
555: [20:59:02] <Colin[pi]> :C
556: [20:59:29] <guzzlefry> ss23 breaking something? :P
557: [20:59:33] * guzzlefry hides.
558: [21:01:25] * simon_w totally called it too
559: [21:01:28] <Pyromanik> guzzlefry: yeh, 68f
560: [21:01:34] <guzzlefry> oh...
561: [21:01:55] <guzzlefry> so, sarcasm :P
562: [21:02:08] <Pyromanik> well if you're from Miami, perhaps.
563: [21:02:15] <Pyromanik> but if you're from Wellington...
564: [21:02:28] <Pyromanik> 20 is a good temp.
565: [21:02:31] <UncleCheese> HI I HAVE A QUESTION
566: [21:02:36] <UncleCheese> EXCUSE ME
567: [21:02:37] * nhorstmeier quit (Ping timeout: 250 seconds)
568: [21:02:39] <UncleCheese> I HAVE A QUESTION
569: [21:02:44] <Pyromanik> UncleCheese: is it about asking questions?
570: [21:02:48] <UncleCheese> YES
571: [21:02:52] <Pyromanik> fantastic
572: [21:02:57] <UncleCheese> CAN I ASK QUESTIONS IN ALL CAPITAL LETTERS SO THEY GET NOTICED
573: [21:02:58] <guzzlefry> EVERYONE PAY ATTENTION THIS IS IMPORTANT
574: [21:03:01] <UncleCheese> WITHOUT PUNCTUATION
575: [21:03:08] <Pyromanik> WILL SOMONE HELP ME?
576: [21:03:18] <simon_w> Well, I can give you the notice they get you...
577: [21:03:20] <Colin[pi]> LOUD NOISES
578: [21:03:26] <Pyromanik> NO ANSWER, FINE I'LL QUIT INSTEAD OF WAITING FOR ONE TO COME WITH THE TAB IN THE BACKGROUND
579: [21:03:33] <guzzlefry> UncleCheese: Don't ask to ask to ask, just ask to ask!
580: [21:03:39] <UncleCheese> GridField doesn't seem to export CSVs with the correct escaping
581: [21:03:40] <UncleCheese> ?
582: [21:03:45] <Pyromanik> IM IMPATIENT SO 2 MINS IS THE MAX TIME I CAN WAIT
583: [21:03:51] <UncleCheese> "This is a \"field\" value"
584: [21:03:55] <UncleCheese> versus the correct one:
585: [21:03:59] <UncleCheese> "This is a ""field"" value"
586: [21:04:08] <Pyromanik> it does, I imported one the other day
587: [21:04:19] <UncleCheese> when i import the former into excel or numbers, it shits itself and the backslashes show up in the data
588: [21:04:20] <Pyromanik> ps, no real standard on csv
589: [21:04:27] <Pyromanik> oh
590: [21:04:28] <UncleCheese> sure there is
591: [21:04:35] <Pyromanik> that's just because excel blows at csv
592: [21:04:51] <simon_w> Screw it, I'm merging my own pull request
593: [21:05:00] <Pyromanik> haha, good one :D
594: [21:05:02] <guzzlefry> :O
595: [21:05:25] <guzzlefry> ^ looks like the "imma chargin" guy.
596: [21:06:42] <simon_w> I guess I should start working
597: [21:07:47] <UncleCheese> so what does everyone use for going CSV -> something the client can edit
598: [21:07:57] <UncleCheese> and then export and import back into modeladmin
599: [21:08:10] <Colin[pi]> simon_w: ignore sim city's beckoning siren call
600: [21:08:10] <UncleCheese> excel seems to blow at UTF-8, too
601: [21:08:23] <Zauberfisch23> excel sucks big time with encoding
602: [21:08:27] <ss23> 09:59 #silverstripe: <@simon_w> And ss23 broke requireDefaultRecords!
603: [21:08:29] <ss23> NU UH
604: [21:08:29] <Zauberfisch23> google drive works well there
605: [21:08:34] <simon_w> ss23, yup!
606: [21:08:39] <ss23> the only commit I did was the one that ajshort did
607: [21:08:43] <ss23> If ajshort broke it, say that!
608: [21:09:14] <simon_w> Your pull request, you broke it!
609: [21:10:43] <simon_w> FIX IT FIX IT FIX IT FIX IT FIX IT FIX IT FIX IT
610: [21:11:11] <guzzlefry> :X
611: [21:11:33] <guzzlefry> Does Silverstripe have a field for a multiple selection <select> dropdown?
612: [21:11:49] * guzzlefry wonders if he can word that in a more confusing way.
613: [21:11:51] <Avroceptyr> want to buy a wcm that doesn't have a broken build
614: [21:11:55] <simon_w> ListboxField with setMultiple(true)
615: [21:12:02] <guzzlefry> thank you sir
616: [21:15:08] <simon_w> ss23, so, bringing me lunch today?
617: [21:15:19] * stecman has left #silverstripe
618: [21:15:22] <ss23> simon_w: It sounds like you're requesting someone fix a bug introduced by there being no tests for it! Would you like to a) write a test, or b) fix it yourself
619: [21:15:34] <ss23> simon_w: Are you in NZ yet? :O
620: [21:15:59] <simon_w> ss23, you try writing a test for the bootstrap process and nope :p
621: [21:16:04] <wilr_> guzzlefry listbox or something?
622: [21:16:21] <simon_w> wilr_, too slow!
623: [21:16:41] <wilr_> Your face is slow
624: [21:16:53] <wilr_> I've only been up 30 hours on flights.
625: [21:16:56] <simon_w> Yes, yes it is
626: [21:17:03] <simon_w> Excuses :p
627: [21:17:04] <ss23> simon_w: You better restructure to make it easier to test!
628: [21:17:16] <simon_w> ss23, you broke it
629: [21:18:01] <ss23> Green? I MERGE.
630: [21:24:02] * mirrors has joined #silverstripe
631: [21:24:20] <Pyromanik> simon_w: I thought you were on holiday?
632: [21:24:26] <simon_w> Yeah, I am
633: [21:24:35] <Pyromanik> Avroceptyr: define wcm?
634: [21:24:36] <simon_w> But making my holiday pay last longer!
635: [21:24:51] <mirrors> Hey can anyone tell me how I can create a gridfield that shows a list of items in a manymany relation
636: [21:25:23] <simon_w> mirrors, GridField::create('Name', 'Title', $this->Relation(), $config)
637: [21:25:29] <Avroceptyr> Pyromanik: web content management; Silverstripe + modules that enable edit/review/approve/publish workflows, digital asset management for images & documents, publishing from and to dates, etc.
638: [21:26:06] <simon_w> So, the AdvancedWorkflow module?
639: [21:26:07] <guzzlefry> uh oh
640: [21:26:11] <Pyromanik> 10:16 < wilr_> I've only been up 30 hours on flights.
641: [21:26:15] <Pyromanik> Where did you go wilr_ ?
642: [21:26:31] <simon_w> For some lols, https://groups.google.com/d/msg/nzphpug/nhopatKpJQw/av41B_SFOTkJ
643: [21:26:32] <wilr_> HK. 12 hour flight but was 7pm local time
644: [21:26:40] <Avroceptyr> simon_w: WCM is characterised 'out of the box', so while all the modules, if put together, could comprise WCM, then sure, yes
645: [21:26:43] <Pyromanik> Avroceptyr: 10:26 <@simon_w> So, the AdvancedWorkflow module?
646: [21:26:57] <Avroceptyr> However until someone does that, it's still modules
647: [21:27:04] <Pyromanik> wut
648: [21:27:13] <simon_w> So, the CWP?
649: [21:27:22] <Avroceptyr> yep, perfect example of it
650: [21:27:45] <Pyromanik> not seeing the difference between cwp and SS with modules.
651: [21:28:04] <Pyromanik> 'out of the box' is a bullshit statement
652: [21:28:07] <Avroceptyr> SS with modules requires a developer
653: [21:28:11] <Pyromanik> no it doesn't
654: [21:28:17] <Avroceptyr> okay, a technical person
655: [21:28:17] <Pyromanik> it requires someone to install a module.
656: [21:28:26] <simon_w> And SS doesn't?
657: [21:28:27] <Pyromanik> so does setting up a webserver
658: [21:28:30] <Pyromanik> for SS
659: [21:28:34] <Pyromanik> or ANY system.
660: [21:28:57] <Pyromanik> modules mean that without touching code one can have all the things.
661: [21:28:58] <guzzlefry> [Warning] array_keys() expects parameter 1 to be array, object given
662: [21:28:59] <guzzlefry> http://sspaste.com/paste/show/526ed54b45078
663: [21:29:04] <Pyromanik> no dev required.
664: [21:29:10] <simon_w> guzzlefry, missing the has_one
665: [21:29:13] <Pyromanik> guzzlefry: give it an array
666: [21:29:17] <Avroceptyr> Think of a person who writes policy documents for a living and needs to publish the outcomes of those documents (a bit of commentary and a PDF) to the web
667: [21:29:22] <Avroceptyr> How do they go about doing that?
668: [21:29:26] <simon_w> Oh, different place
669: [21:29:43] <Avroceptyr> They have a) no idea about web, b) no idea what makes web pages work, c) want something to point and click
670: [21:29:55] <ss23> simon_w: R U BACK IN NZ NOW LOL?
671: [21:29:56] <guzzlefry> simon_w: It's a many-many relation. And that's a non-CMS form field.
672: [21:30:05] <simon_w> ss23, already told you
673: [21:30:10] <Avroceptyr> WCM is more than just software, it's also the whole process a person goes from start to finish
674: [21:30:19] <ss23> oic
675: [21:30:20] <ss23> and nope
676: [21:30:23] <ss23> simon_w: NO LUNCH 4 U
677: [21:30:39] <Avroceptyr> SS + modules is a perfect fit for the software part of WCM, there also needs to be a 'this is how you do things' part
678: [21:31:50] <Pyromanik> sif, no project ever has that.
679: [21:32:01] <Pyromanik> NONE.
680: [21:32:03] <Pyromanik> EVER.
681: [21:32:40] <simon_w> Eww, need to install WordPress on Jarjar
682: [21:32:49] <Pyromanik> urgh never ever.
683: [21:33:27] * travis-ci has joined #silverstripe
684: [21:33:27] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1432 (3.1 - 60bb9d8 : Simon Welsh): The build passed.
685: [21:33:27] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/91e96ec1c047...60bb9d81c574
686: [21:33:27] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/13176538
687: [21:33:27] * travis-ci has left #silverstripe
688: [21:33:53] * r3v3rb has joined #silverstripe
689: [21:34:48] <DaShiVaDan> Morning
690: [21:34:53] <DaShiVaDan> Just read a little catchup
691: [21:35:53] <guzzlefry> guys, I'm still confused.
692: [21:36:02] * EasyCo has joined #silverstripe
693: [21:36:06] <DaShiVaDan> but this SS+ modules thing sounds like whoever it is wants a custom install, like you can customise your linux distros, have a SS 3.1 'Workflow' or something build, that you install, with the necessary modules, and it's already pre-set up to that point? Then they don't really have to know more than any other platform to install and use?
694: [21:36:07] <EasyCo> Morning
695: [21:36:13] <Colin[pi]> hey EasyCo
696: [21:36:35] <Pyromanik> DaShiVaDan: they want SaaS
697: [21:36:38] <Pyromanik> or PaaS
698: [21:36:39] <DaShiVaDan> or do i need to drink my morning coffee before having ideas? :P
699: [21:36:43] <DaShiVaDan> ahh
700: [21:36:52] <Pyromanik> CWP is PaaS
701: [21:37:00] <DaShiVaDan> give me a second while i google that :)
702: [21:37:03] <Colin[pi]> ARGH TOO MANY LAME ACRONYMS
703: [21:37:17] <Pyromanik> your face is a lame acronym
704: [21:37:20] <DaShiVaDan> ok, i now have it figured out
705: [21:37:27] <Colin[pi]> YO MOMMA
706: [21:37:32] <DaShiVaDan> Concealed Weapons Permit is Pregnant and a Slut
707: [21:37:36] <DaShiVaDan> google to teh rescue
708: [21:37:40] <Colin[pi]> lol
709: [21:37:55] <Colin[pi]> I despise lame acronyms and buzzwords
710: [21:38:20] <DaShiVaDan> I do whenever I don't remember what they stand for, otherwise I love them for talking to my boss
711: [21:39:56] <Colin[pi]> hey guise if I want to override a CMS template, do I just paste one with the same name into another folder? or do I need special sauce of some kind?
712: [21:40:14] <Avroceptyr> DaShiVaDan: I was just bemoaning the lack of out of the box WCM solutions
713: [21:40:19] * catcher quit (Quit: Leaving)
714: [21:40:19] <Avroceptyr> or rather, open source ones
715: [21:40:33] <Pyromanik> DaShiVaDan: cwp.govt.nz
716: [21:40:51] <Avroceptyr> because SiteCore and Adobe WEM have some good stuff, but they're closed, expensive, and clunky
717: [21:40:55] <Pyromanik> Avroceptyr: if you go open source you're DEFINITELY not getting any help docs.
718: [21:41:08] <EasyCo> Colin[pi]: Yep
719: [21:41:12] <Avroceptyr> haha yup
720: [21:41:13] <Pyromanik> and they're ALWAYS clunky, no matter open source or not
721: [21:41:13] <simon_w> Colin[pi], if it's for inside the CMS, it needs to be in your project folder which has to be alphabetically after cms. Otherwise, stick it in your theme
722: [21:41:13] <EasyCo> No special sauce required
723: [21:41:26] <Colin[pi]> great, thanks
724: [21:41:28] <EasyCo> What simon_w said
725: [21:41:58] <Colin[pi]> it works, huzzah
726: [21:42:06] <EasyCo> simon_w: Aren't you on holidays?
727: [21:42:07] * zagoodwin has joined #silverstripe
728: [21:42:10] <simon_w> Now to wait for site host to propagate their DNS stuff
729: [21:42:11] <Colin[pi]> LOL AGAIN
730: [21:42:21] <guzzlefry> OH
731: [21:42:23] <simon_w> [08:24:21] <Pyromanik> simon_w: I thought you were on holiday?
732: [21:42:24] <simon_w> [08:24:27] <simon_w> Yeah, I am
733: [21:42:24] <simon_w> [08:24:36] <simon_w> But making my holiday pay last longer!
734: [21:42:26] <Colin[pi]> simon_w does not take holidays, holidays take simon_w
735: [21:42:29] <guzzlefry> ->toArray() after i get the map :
736: [21:42:52] <mirrors> I am trying to get a coloured box to appear in a gridfield row...however the gridfield just show the html. Can anyone tell me how to get this to work>
737: [21:43:40] <EasyCo> Gotcha
738: [21:43:41] <simon_w> mirrors, return a HTMLVarchar object
739: [21:43:51] <Pyromanik> or cast it?
740: [21:43:58] <Pyromanik> oh, casting is only for templates though huh?
741: [21:44:07] <simon_w> Yeah
742: [21:44:14] <Pyromanik> mm
743: [21:44:15] <Pyromanik> :<
744: [21:44:29] <guzzlefry> ugh
745: [21:45:02] <guzzlefry> Why can I pass a map to DropdownField's constructor but not ListboxField's?
746: [21:45:08] <simon_w> Woo, time to do what I was actually planning on doing this week!
747: [21:45:09] <mirrors> simon_w: thankyou so much....that was super easy...i knew there would be a simple way
748: [21:46:37] <simon_w> Come on James, I need you to get into work so you can update the firewall for me
749: [21:47:17] <Colin[pi]> Classic James
750: [21:47:29] <simon_w> Indeed. Usually isn't in for another half hour
751: [21:47:39] <Pyromanik> dat James.
752: [21:48:06] <antmas> Crhist James, sort it out
753: [21:50:15] <simon_w> stupid VM just had to go and change its IP address
754: [21:51:05] <simon_w> Oh, I see. It took the other VM's IP address since that one isn't running at the moment
755: [21:51:55] <antmas> awesome, one wisdom tooth decides to come through black, and then another comes through on a 45 degree angle
756: [21:51:58] <antmas> :<
757: [21:53:19] <simon_w> Amputate at the neck!
758: [21:54:02] <guzzlefry> yay, using the wrong form control for job.
759: [21:54:04] <EasyCo> What class takes care of parsing the config.yml and doing shit with it?
760: [21:54:14] <simon_w> ConfigManifest and then Config
761: [21:54:30] <EasyCo> Tks
762: [21:54:53] * marvanni has joined #silverstripe
763: [21:55:47] <simon_w> nagios installs samba? Bah!
764: [21:56:40] <AlphaCactus> i thot this was simon_w's 12 day weekend, not a holiday
765: [21:56:53] <AlphaCactus> no kidding? our vms all changed their ips today too
766: [22:04:12] <EasyCo> UncleCheese: You kicking' around?
767: [22:04:29] <UncleCheese> hi
768: [22:04:45] <EasyCo> hi
769: [22:04:58] <EasyCo> I've been using your better buttons module for a while and it's awesome, so firstly thanks.
770: [22:05:39] <UncleCheese> no worries
771: [22:08:10] * gelignite quit (Quit: http://bit.ly/nkczDT)
772: [22:10:48] <EasyCo> But I think I might have found a problem when using it in SS3.0.x. The GridFieldBetterButtonsItemRequest extension for GridFieldDetailForm_ItemRequest sets $allowed_actions. Since it does that all other actions are disabled by default, so for example, the view action is now no longer permitted.
773: [22:11:41] <EasyCo> Sorry if I'm a bit unclear, just trying to figure it out myself.
774: [22:12:02] <Pyromanik> upgrade to 3.1!
775: [22:12:27] <EasyCo> Pyromanik: Impossible, but thanks for the suggestion. I'll keep it for later.
776: [22:14:18] <guzzlefry> hm
777: [22:14:23] <Pyromanik> impossible?
778: [22:14:24] <Pyromanik> :<
779: [22:14:35] <simon_w> Impossibro!
780: [22:14:53] <guzzlefry> For a has_one field, I can just assign it by $object->hasOneField = IDNumber; $object->write();
781: [22:14:54] <guzzlefry> correct?
782: [22:15:29] <EasyCo> Big site, would take time, time == money. !money.
783: [22:15:31] <Pyromanik> EasyCo: sounds like you want to add an extension to GridFieldBetterButtonsItemRequest to add some allowed_actions
784: [22:15:38] <simon_w> guzzlefry, hasOneFieldID
785: [22:15:45] <guzzlefry> derp, thanks
786: [22:15:48] <Pyromanik> EasyCo: so not impossible, client doesn't want to pay.
787: [22:15:52] <guzzlefry> I should know these things by now. :P
788: [22:15:59] <EasyCo> Therefore impossible :)
789: [22:16:02] <Pyromanik> EasyCo: have you tried adding an extension?
790: [22:16:12] <Pyromanik> to add allowed_actions
791: [22:16:26] <Pyromanik> ermm, add to
792: [22:17:38] <EasyCo> Pyromanik: Yah I can just add the extension, I just thought it counter intuitive to add allow_actions in a 3.0 module that extends GridFieldBetterButtonsItemRequest when the default is no defined allowed_actions
793: [22:18:19] <EasyCo> I mean GridFieldDetailForm_ItemRequest not GridFieldBetterButtonsItemRequest
794: [22:19:00] * r3v3rb quit (Quit: r3v3rb)
795: [22:19:10] <guzzlefry> hm
796: [22:19:24] <guzzlefry> Does a dataobject need to exist in the database before I can assign relations?
797: [22:19:30] <guzzlefry> somethin' ain't right!
798: [22:19:46] <EasyCo> guzzlefry: afaik yes
799: [22:22:40] <zagoodwin> Im using SS 3.1, is there any way for me to do like a drag / drop to re-arrange images that i have upoades. For example a slide show i upload 5 images and want to be able to change the order in which they appear
800: [22:23:23] <Zauberfisch23> zagoodwin: 2 ways:
801: [22:23:52] <Zauberfisch23> - use a gridfield with dataobjects (this can be made sortable with a module) and then let this dataobject have 1 image
802: [22:24:35] <Zauberfisch23> - use just an uploadfield, and use the sortablefile module that allows sorting in the uploadfield (however I can not guarantie that this module works as well as the module for gridfield)
803: [22:24:39] <Zauberfisch23> links:
804: [22:24:58] <Zauberfisch23> - gridfield sorting: https://github.com/ajshort/silverstripe-gridfieldextensions
805: [22:25:06] <Zauberfisch23> - uploadfield sorting: https://github.com/bummzack/sortablefile
806: [22:35:01] <guzzlefry> Does anyone here use TDD with SilverStripe?
807: [22:35:38] <EasyCo> I should
808: [22:35:48] <guzzlefry> I'm wondering how well it actually works.
809: [22:37:19] <antmas> TDD?
810: [22:37:28] <EasyCo> test driven dev
811: [22:37:38] <antmas> ah
812: [22:39:29] <Colin[pi]> correct location for one of these books in particular: http://i.imgur.com/ivJtnYh.jpg
813: [22:40:05] <antmas> that is a huge book for CSS :P
814: [22:40:32] <guzzlefry> Definitive Guide! :P
815: [22:41:05] <guzzlefry> Colin[pi]: Is that yours?
816: [22:41:05] <EasyCo> Haha
817: [22:41:12] <Colin[pi]> haha no I found it on reddit
818: [22:41:19] <guzzlefry> ah
819: [22:41:28] <guzzlefry> Amazon usually pays of those things. :P
820: [22:41:30] <guzzlefry> covers shipping
821: [22:41:36] <guzzlefry> at least in the U.S.
822: [22:42:02] <guzzlefry> meh
823: [22:42:06] <guzzlefry> I need to code up Javascript now.
824: [22:42:19] <Colin[pi]> or amazon shipping to Australia: "When we feel like it."
825: [22:42:39] <guzzlefry> oh
826: [22:42:55] <guzzlefry> That's like buying cheap Hong Kong electronics from Ebay while you're in the U.S. :P
827: [22:43:10] <guzzlefry> "Delivery Estimate: End of Time"
828: [22:43:16] <antmas> hahah
829: [22:43:16] <Colin[pi]> "ETA: some time around 2027"
830: [22:43:17] <antmas> :O
831: [22:43:18] <Colin[pi]> hehe
832: [22:43:46] <guzzlefry> On a side note, I'm always expecting the quality to be much worse than it actually is.
833: [22:43:47] <antmas> just watched someone driving a circus van crunch a parked car in our lot
834: [22:44:08] <guzzlefry> antmas: pictures for evidence!
835: [22:44:16] <antmas> the guy in the parked car just yelled "fuckin clown!"
836: [22:44:23] <guzzlefry> hahaha
837: [22:44:27] <Colin[pi]> lol
838: [22:44:41] <antmas> he's driven off, but left some bits of headlight\
839: [22:51:10] * DesignerX has joined #silverstripe
840: [22:55:09] <Pyromanik> 11:35 < guzzlefry> Does anyone here use TDD with SilverStripe?
841: [22:55:15] <Pyromanik> well, all of SilverStripe.
842: [22:55:32] <simon_w> That's what they want you to think :p
843: [22:55:39] <Pyromanik> yeh
844: [22:55:40] <Pyromanik> I know
845: [22:55:50] <Pyromanik> but they're the only example I have
846: [22:55:58] <guzzlefry> well
847: [22:56:12] <guzzlefry> I mean, for actually implementing websites with it.
848: [22:56:47] <Pyromanik> well, Sam told me they do that.
849: [22:56:55] <Pyromanik> I don't work there, ask ss23.
850: [22:58:14] <Pyromanik> antmas: so the guy who got hit just drove off? Isn't it suppoed to be the other way around?
851: [22:58:36] <Zauberfisch23> I do to much frontend dev stuff, so tdd doesn't really work for me
852: [22:58:36] <ss23> 11:55:55 < Pyromanik> well, all of SilverStripe.
853: [22:58:40] <ss23> dude what, we don't use TDD
854: [22:58:49] <ss23> Not most of us anyway
855: [22:58:52] <ss23> I think people play with the idea
856: [23:01:05] <simon_w> TDD is great until you try to use it for user-facing things
857: [23:02:27] <DaShiVaDan> OK, I have what has to be a noob question :) :
858: [23:03:17] <antmas> Pyromanik: both drove off, but the clown car has come back as we got him on camera and called the number on the side of his van :P
859: [23:03:33] <guzzlefry> "How is my driving?"
860: [23:03:34] <antmas> and got the guy who got hit via his customer service record :P
861: [23:03:58] <guzzlefry> wiat so
862: [23:04:08] <guzzlefry> Why did the guy that got hit drive off?
863: [23:04:11] <DaShiVaDan> Modified themes/default/templates/Includes/MainBanner.ss which contains the template to write out 6 slides to display in the homepage slider. Client wants last slide 'gone' - I tried deleting it's info out of the admin backend, but it didn't work. I added (I thought) SS comments around the 6th <%-- -->
864: [23:04:26] <antmas> guzzlefry: he didn't realise he'd been hit
865: [23:04:26] <DaShiVaDan> it started putting <%11 --> on the page when it rendered
866: [23:04:33] <DaShiVaDan> i mean the right code, i typoed there
867: [23:04:41] <Zauberfisch23> DaShiVaDan: its <%-- --%>
868: [23:04:44] <guzzlefry> how do you....nevermind :P
869: [23:04:55] <DaShiVaDan> Zauberfisch23: yeah, that's what I had, just typoed there :P
870: [23:04:56] <antmas> guzzlefry: yeah, we said the same thing :P
871: [23:04:59] <Zauberfisch23> and it can only be 1 line
872: [23:05:05] <Zauberfisch23> there is no multiline SS comment
873: [23:05:06] <DaShiVaDan> anyhows, didn't work, at this point I've done teh following:
874: [23:05:14] <DaShiVaDan> deleted the entire 6th item from the SS template.
875: [23:05:18] <DaShiVaDan> Uploaded the new template
876: [23:05:21] <Zauberfisch23> DaShiVaDan: have you flushed, just to make sure?
877: [23:05:27] <DaShiVaDan> verified the uploaded version is indeed missing that section
878: [23:05:45] <DaShiVaDan> and even cleaned out the silverstripe-cache folder and rebuilt
879: [23:05:58] <Zauberfisch23> do ?flush=all
880: [23:06:03] <DaShiVaDan> Zauberfisch23: done it all so far as I know, about 3 times just to be sure for each attempt to fix
881: [23:06:07] <DaShiVaDan> yup done that
882: [23:06:11] <DaShiVaDan> even deleted teh cache folder
883: [23:06:16] <DaShiVaDan> then run flush=all again
884: [23:06:21] <DaShiVaDan> bloody slide is still showing up
885: [23:06:44] <Zauberfisch23> visit the site with ?showtemplate=1
886: [23:06:45] <DaShiVaDan> and those <%-- --> are still showing up on teh page, even though I've completely erased them from teh template file, flushed, cleared, etc, etc
887: [23:06:47] <Zauberfisch23> and look at the source
888: [23:06:55] <DaShiVaDan> yeah good idea with eth showtemplate, give it a shot
889: [23:06:55] <Avroceptyr> have you done it to the correct version of the website, i.e. dev/stage/prod
890: [23:07:05] <Zauberfisch23> it should display messages what templates are used
891: [23:07:16] <DaShiVaDan> yeah checked and rechecked all that, i wouldn't have asked without exhausting the obvious, but I know you gotta ask :)
892: [23:07:34] <Zauberfisch23> anyway, I'll be afk now
893: [23:07:37] <Zauberfisch23> cya later
894: [23:08:01] <DaShiVaDan> thanks, hopefully will help me find whats up :)
895: [23:08:03] <DaShiVaDan> take it easy
896: [23:08:14] <DaShiVaDan> (still waiting for showtemplate to load, our internet is crawling today)
897: [23:10:39] <DaShiVaDan> ok... logged in as admin, tried in both FF and chrome, and showtemplate=1 is being ignored (ss 2.4) page loads as usual
898: [23:12:11] <guzzlefry> hrm
899: [23:12:20] <guzzlefry> Is it best to use the jquery library in the CMS?
900: [23:12:38] <guzzlefry> If so, which of the 5 versions? :P
901: [23:12:59] <guzzlefry> err, not CMS, framework
902: [23:13:39] <guzzlefry> oh wait, I see it...
903: [23:13:49] <simon_w> In a module, yes. And just the jquery.js one
904: [23:13:49] <guzzlefry> IDE was missing it for some reason
905: [23:16:47] <guzzlefry> Feels dirty writing javascript >_>
906: [23:19:49] <DaShiVaDan> Quick solution for the next noob with this problem: showtemplate=1 (or whatever) not working. Just realised that as the live server is not set to dev mode, I need to chain the query with: ?isDev=1&showtemplate=1 (or whatever) or it won't work (I know all you guys probably know this without thinking, but tripped me up a bit there)
907: [23:19:52] * skorp has left #silverstripe
908: [23:21:43] * chrisrio has joined #silverstripe
909: [23:21:47] <guzzlefry> Is there a way to throw an error when <% require javascript() %> fails?
910: [23:22:04] * pippy has joined #silverstripe
911: [23:24:01] <guzzlefry> oh wtf
912: [23:24:23] <guzzlefry> <% require javascript("themes/mysite/javascript/categoryFilter.js") %> works
913: [23:24:35] <guzzlefry> <% require javascript("/themes/mysite/javascript/categoryFilter.js") %> doesn't work
914: [23:25:00] <chrisrio> shrug
915: [23:25:08] <DesignerX> guzzlefry: hi,should be /themes/MyTheme/... ?
916: [23:25:30] <wilr_> Shouldn't need / unless you don't have a base tag
917: [23:25:35] <guzzlefry> ah
918: [23:25:37] * pippy_ quit (Ping timeout: 268 seconds)
919: [23:25:43] <guzzlefry> So why would adding / cause it to break?
920: [23:25:45] <chrisrio> cant merge DataLists in 3.* eh
921: [23:26:20] <guzzlefry> chrisrio: maybe ArrayLists?
922: [23:26:52] <DesignerX> guzzlefry: + U should be able to do ("{$themedir}/javascript/....")
923: [23:27:16] <guzzlefry> ah, didn't think of that, thanks
924: [23:28:33] <DaShiVaDan> also, really strange, but logged in as admin on live site, running /dev/build?flush=all (or whichever it is, the usual one) and deleting the silverstripe-cache folder, etc, doesn't rebuild the pages, but if I go to the homepage and add: ?isDev=1&flush=1 then suddenly the page is fixed and working like I've been trying to make it work for the last 20m
925: [23:29:36] <DesignerX> DaShiVaDan: 1st, are you logged in as an admin & is DevMode on ?
926: [23:30:46] <DesignerX> DaShiVaDan: U can enable dev mode while you build your site with this in you _config.php Director::set_environment_type("dev");
927: [23:43:34] <guzzlefry> why
928: [23:44:57] <guzzlefry> Exporting CSV then importing fails miserably.
929: [23:45:44] <guzzlefry> oh
930: [23:46:46] <guzzlefry> So, the headings are exported with the magical spacing, i.e. the property CatDescription gets exported as "Cat Description", while the importer is expecting "CatDescription"
931: [23:48:33] <ss23> This enterprise VPN in browser solution seems to insantly (e.g. less than 20ms) tell me if my SMS 2fa token was correct or not... really not sure if it's checksummed or what >.>
932: [23:49:21] <marvanni> After haveing trouble with csv over and over again, I now always use PHPExcel en write my own importers and exporters.
933: [23:49:28] <guzzlefry> ss23: That's just the power of the cloud, bro!
934: [23:49:30] <ss23> lol
935: [23:50:21] <marvanni> Most clients understand an excel fil emuch better then csv imports, and you don't have to deal with differences in seperators etc.
936: [23:51:27] <simon_w> Yay! All green! https://files.app.net/zc467Pwi.png
937: [23:52:04] * wilr_ quit (Quit: wilr_)
938: [23:53:30] <DaShiVaDan> DesignerX: sorry, was in other windows for a sec.Yeah, I realise the issue now, was just sharing for if you hear another noob with my sort of problem :) (The live site is live, ran this years events, I'm making changes for next years event on teh dev server, but as this years event is over they were asking for changes to the current live site to reflect that, etc)
939: [23:54:14] <DaShiVaDan> so, what is the best way to achieve the following: well, basically I want to echo out PHP constants inside the .ss template files. I assume there's a 'best practice' for this?
940: [23:57:37] * UncleCheese quit (Quit: UncleCheese)
941: [23:58:45] <DaShiVaDan> Anyone: best way to get PHP constant values into an .ss template file?

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