#silverstripe IRC Log

IRC log for 17 March 2015

All timestamps are in UTC.

1: [07:14:27] * ss-log has joined #silverstripe
2: [07:19:38] <ss23> ^.^
3: [07:20:54] * nontgor quit (Ping timeout: 272 seconds)
4: [07:22:04] * willr quit (Quit: willr)
5: [07:25:45] * willr has joined #silverstripe
6: [07:29:56] * willr quit (Client Quit)
7: [07:30:28] * wmk has joined #silverstripe
8: [07:32:13] * spronk2 quit (Quit: I may need a longer sleep timer...)
9: [07:32:58] * nontgor has joined #silverstripe
10: [07:35:03] * Sticks quit (Quit: Leaving)
11: [07:42:48] * willr has joined #silverstripe
12: [07:46:56] * Guits has joined #silverstripe
13: [07:51:53] * Werner_2_ has joined #silverstripe
14: [07:53:04] * wmk quit (Ping timeout: 264 seconds)
15: [07:57:02] * Werner_2_ is now known as wmk
16: [08:02:53] * wmk quit (Ping timeout: 240 seconds)
17: [08:05:02] * Shrike_Finland quit (Quit: Leaving.)
18: [08:05:13] * markcl quit (Quit: Leaving.)
19: [08:09:07] * g4b0_ has joined #silverstripe
20: [08:09:14] <g4b0_> hi all
21: [08:19:20] <Tanger> Hi g4b0_
22: [08:34:46] <g4b0_> Is it possible to redirect a user to a page
23: [08:35:11] <g4b0_> if validation fails in a form that is inside a modal
24: [08:43:40] <g4b0_> ?
25: [08:52:17] * veb quit (Quit: veb-irc: &)
26: [08:53:42] * irogue_ has joined #silverstripe
27: [08:54:11] * ss31noob has joined #silverstripe
28: [08:57:34] <ss31noob> hi guys, have someone encountered the issue with TreeDropDownField that whenever there are a lot of pages, it returns "Too Many Pages" and if you try to search a url.. it doesnt return anything?
29: [08:58:41] <zauberfisch> ss31noob: no, I haven't. though I don't have sites that are that large in terms of pages I suppose
30: [08:59:10] <zauberfisch> ss31noob: or wait, do you actually have a lot of pages, or do you have little pages and still get that message?
31: [08:59:44] <zauberfisch> g4b0_: what a coincidence
32: [08:59:49] * UncleCheese has joined #silverstripe
33: [08:59:49] <ss31noob> i have a lot of pages
34: [09:00:02] <zauberfisch> g4b0_: I have just open sourced my small form validation module
35: [09:00:16] * cupcake has joined #silverstripe
36: [09:00:22] <zauberfisch> ss31noob: how many may I ask?
37: [09:00:44] <ss31noob> but even just by typing the url and searching it, it doesnt return anything
38: [09:00:58] <zauberfisch> g4b0_: but inside a model? as in "the model throws an validation exception when ->write()?"
39: [09:01:03] <ss31noob> i tried to do it in the "link" in htmleditor field for example
40: [09:01:08] <ss31noob> so its a silverstripe core already
41: [09:01:18] <ss31noob> more than a thousand
42: [09:01:32] <zauberfisch> ss31noob: wait. so in the htmleditorfield it works, but when using the field on its own it doesn't?
43: [09:02:09] * kinglozzer has joined #silverstripe
44: [09:02:29] <ss31noob> zauberfisch, no it doesnt work there either
45: [09:02:50] <zauberfisch> I see
46: [09:05:15] <ss31noob> i was thinking if someone encountered this issue already and know how to fix it
47: [09:06:14] <cupcake> hi all, i want to perform an ajax call from within the the Upload Image dialog in the tinymce editor in silverstripe 3... but when i try to perform the ajax call it is telling me to either leave the page or stay on the page... does anybody know the solution to this?
48: [09:08:37] <zauberfisch> ss31noob: I see there is a config option for the amount of pages
49: [09:08:39] <g4b0_> zauberfisch: I just solved using javascript :D
50: [09:08:53] <zauberfisch> ss31noob: not sure if its a solution to your problem. performance might suck, but give it a try:
51: [09:09:17] <zauberfisch> put this in your yml config:
52: [09:09:24] <zauberfisch> Hierarchy:
53: [09:09:34] <zauberfisch> node_threshold_leaf: 2000
54: [09:10:34] * GioVdK has joined #silverstripe
55: [09:10:39] <ss31noob> Config::inst()->update('Hierarchy', 'node_threshold_leaf', 50); <-- thats what i was using before
56: [09:10:46] <zauberfisch> ah, yeah
57: [09:10:47] <ss31noob> will try to increase it to 2000 and lets see
58: [09:10:49] <zauberfisch> that will do it
59: [09:10:57] <Pyl8k> I maked it
60: [09:11:16] * Pyl8k is now known as Pyerlyk
61: [09:11:32] <ss31noob> what did you made Pyerlyk?
62: [09:12:21] <Pyerlyk> I made the work on time.
63: [09:12:36] <ss31noob> hehe okie :)
64: [09:15:02] <ss31noob> zauberfisch, increasing the leaf works :)
65: [09:15:05] <ss31noob> thanks a lot
66: [09:15:05] <zauberfisch> ss31noob: this threshold is not "do not show more than 50" its a "do not show anything if its more than 50"
67: [09:15:32] <zauberfisch> and using yml file of Config::inst()->update() is the same thing
68: [09:15:40] <zauberfisch> or almost the same thing
69: [09:15:52] <zauberfisch> ->update() has higher priority, but is slower
70: [09:15:55] <ss31noob> im also using this one.. Config::inst()->update('Hierarchy', 'node_threshold_total', 20);
71: [09:16:20] * r_hector quit (Quit: Leaving.)
72: [09:17:53] <zauberfisch> cupcake: how do you make that ajax call?
73: [09:17:55] <Pyerlyk> g4b0_: should be pretty easy, yeah.
74: [09:17:59] * Shrike_Finland has joined #silverstripe
75: [09:18:51] <Pyerlyk> on failure (presuming it'll return 403 or something) redirect. If it doesn't use status codes, then do some detection on the returned infos.
76: [09:23:21] <cupcake> i am overriding HTMLEditorTooolbar.js
77: [09:23:39] <cupcake> more specifically this entwine function
78: [09:23:40] <cupcake> $('form.htmleditorfield-mediaform .ss-htmleditorfield-file.image').entwine(
79: [09:23:46] <cupcake> and within it
80: [09:23:53] <cupcake> in insertHTML function
81: [09:24:00] <cupcake> i am performing an ajax call
82: [09:26:28] <cupcake> any idea zauberfisch?
83: [09:26:52] * glenn-bautista1 quit (Quit: Leaving.)
84: [09:27:45] <ss-helper> Re: Gridfield across all pages - https://groups.google.com/d/msg/silverstripe-dev/OpIVTq2GWjQ/dBOLba4dNw8J
85: [09:29:17] * wmk has joined #silverstripe
86: [09:30:27] * darjus01 has joined #silverstripe
87: [09:34:04] <darjus01> Hi all, maybe is any way to remove dublicates in ArrayList after margint objects? here is my code http://codepad.org/Wx1iBCpn and $set return dublicating objects
88: [09:38:15] * Shrike_Finland quit (Quit: Leaving.)
89: [09:39:14] <ss-helper> Re: Weather API Call not producing data or completing function - http://www.silverstripe.org/community/forums/general-questions/show/101357#post400737
90: [09:40:23] * g4b0_ quit (Ping timeout: 240 seconds)
91: [09:41:33] <Pyerlyk> look'n good ss23 https://www.flickr.com/photos/4nitsirk/16276114371/
92: [09:42:21] <wmk> darjus01, ain't there a removeduplicates in ArrayList?
93: [09:42:39] * swaiba has joined #silverstripe
94: [09:42:47] <ss-helper> Re: Gridfield across all pages - https://groups.google.com/d/msg/silverstripe-dev/OpIVTq2GWjQ/jFDeyZjkbd0J
95: [09:43:39] <wmk> Pyerlyk, *G*
96: [09:44:00] <wmk> i guess that's how most of us look all the day?
97: [09:44:24] <zauberfisch> I don't see whats funny in that picture
98: [09:44:30] <wmk> darjus01, http://api.silverstripe.org/3.1/class-ArrayList.html#_removeDuplicates
99: [09:44:50] <wmk> zauberfisch, i bet, if i place a mirror on my desk i'll see this all the time.
100: [09:44:54] * irogue_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
101: [09:45:16] <Pyerlyk> zauberfisch: it's not supposed to be funny so far as I understand it... :<
102: [09:46:38] <ss23> ty Pyerlyk ;)
103: [09:47:25] <zauberfisch> ah I see
104: [09:47:35] <zauberfisch> thought we where cyber-mobbing someone
105: [09:47:42] <zauberfisch> boring :|
106: [09:47:53] * Stomach has joined #silverstripe
107: [09:48:08] <Pyerlyk> haha, 'cyber-mobbing'?
108: [09:48:42] <zauberfisch> that not a buzz word where you are from?
109: [09:49:27] <Pyerlyk> ah yeah, de.wikipedia has enlightened me :P
110: [09:49:40] <zauberfisch> ah, perhaps is called "cyber-bulling"
111: [09:49:41] <darjus01> wmk: it removed every thing
112: [09:49:46] <Pyerlyk> basically just what I thought it was, only when you click 'English' it becomes a bit more serious.
113: [09:49:58] <wmk> darjus01, ?
114: [09:50:24] <Pyerlyk> zauberfisch: yeah. Bullying I deem to be a bit more... 'harsh' - but I suppose jestful teasing is still technically bullying.
115: [09:50:32] <wmk> return $set->removeDuplicates($fieldName) ?
116: [09:50:42] <darjus01> return $set->removeDuplicates(); removed all data , wmk
117: [09:50:52] <wmk> zauberfisch, uh no, no mobbing intended!
118: [09:50:59] <wmk> darjus01, sounds strange
119: [09:51:25] <wmk> you have to pass the field to check on the item to determine if it's a duplicate or not.
120: [09:51:29] <wmk> so depending on your data...
121: [09:54:16] <Pyerlyk> o.0 http://www.silverstripe.org/community/forums/general-questions/show/101352#post400733 :<
122: [09:54:21] <Pyerlyk> poor guy.
123: [09:54:35] <wmk> darjus01, can't you just merge both lists?
124: [09:54:46] * g4b0_ has joined #silverstripe
125: [09:54:47] <Pyerlyk> Needs to read up on web development and 'best practice' for the most part I think.
126: [09:54:59] <wmk> e.g. $set = $additional_procucts->merge($member->Products()) ?
127: [09:55:00] <Pyerlyk> JonoM fellow seems to be on to it though :>
128: [09:55:11] <wmk> as both are a SS_List
129: [09:57:09] <Tanger> What'cha doing darjus01?
130: [09:57:30] <darjus01> wmk, $set = $additional_products->merge($member->Products()); return $set; gives server eroro
131: [09:57:33] <darjus01> wmk, $set = $additional_products->merge($member->Products()); return $set; gives server eror
132: [09:57:49] <ss-helper> Re: [silverstripe-dev] Re: Block editing modules - https://groups.google.com/d/msg/silverstripe-dev/3kC1-iG1nYw/pl9YQih4QWcJ
133: [09:58:26] <wmk> darjus01, can you paste the error?
134: [09:58:27] * Stomach quit (Quit: zzz)
135: [09:58:31] <Tanger> darjus01: If you don't mind operating on an arrayList, use $al = array_filter(array_unique($dataList->toArray()))
136: [09:58:33] <darjus01> [User Error] Can't call DataList::merge() because its data comes from a specific query.
137: [09:58:51] <zauberfisch> I don't think array_unique would work
138: [09:58:53] <Tanger> Sorry, array, not array list
139: [09:59:04] <zauberfisch> because array-unique would check the objects
140: [09:59:11] <wmk> hmm...
141: [09:59:25] <zauberfisch> but I don't think that Product::get()->first() === Product::get()->first()
142: [09:59:42] <zauberfisch> because even though they are the same data, the php objects are 2 different ones I think
143: [10:00:03] <zauberfisch> so you probably have to loop the list and compare IDs
144: [10:00:07] <wmk> zauberfisch, so, what's the best way to merge a DataList and a HasManyList?
145: [10:00:54] <zauberfisch> $list = $list->filterByCallback(function($obj) use ($list) { return $list->filter('ID', $this->ID)->count() > 1; });
146: [10:00:59] <zauberfisch> something like this I guess
147: [10:01:28] * Stomach has joined #silverstripe
148: [10:03:10] <wmk> darjus01, yup, in your loop where you add the Member->Products() you have to check if the item is already in the list
149: [10:03:47] <wmk> or convert both to an ArrayList before and merge them
150: [10:04:47] <wmk> darjus01, ArrayList::removeDuplicates doesn't return a new list!
151: [10:04:55] <wmk> so...
152: [10:05:02] <wmk> $set->removeDuplicates()
153: [10:05:04] <wmk> return $set
154: [10:05:16] <darjus01> removes every thing
155: [10:05:47] <wmk> how do you call it?
156: [10:06:32] * Tanger quit (Quit: sleep())
157: [10:07:18] <darjus01> http://codepad.org/2HiVZ8cW
158: [10:07:53] <wmk> darjus01, did you read the lines above?
159: [10:08:05] <darjus01> yes
160: [10:08:07] <wmk> DONT RETURN $set->removeDuplicates()
161: [10:08:12] <wmk> as it returns nothing
162: [10:08:40] <wmk> 1) $set->removeDuplicates(); //this is not chainable :(
163: [10:08:50] <wmk> 2) return $set; //should be unique now
164: [10:09:48] <darjus01> dah so silly mistake of mine
165: [10:09:58] <darjus01> thx all it works
166: [10:10:30] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
167: [10:10:56] <darjus01> can i change sorting after merge?
168: [10:11:37] <wmk> afaik yes, as it's still an ArrayList
169: [10:12:03] <wmk> darjus01, i'm also confused... sometimes you can daisy-chain the calls, sometimes not...
170: [10:12:13] <wmk> in doubt look at api docs or even better: code
171: [10:13:20] * willr quit (Quit: willr)
172: [10:13:21] * Stomach quit (Quit: zzz)
173: [10:14:07] <wmk> zauberfisch, did you ever try to mount a usb drive from a vagrant box?
174: [10:16:00] * Shrike_Finland has joined #silverstripe
175: [10:19:53] * swaiba quit (Remote host closed the connection)
176: [10:24:07] <zauberfisch> wmk: can't say I have
177: [10:24:14] <zauberfisch> wmk: though I am sure its not that hard
178: [10:24:25] <zauberfisch> wmk: easiest way is probably to start the vm with GUI
179: [10:24:42] <zauberfisch> and then in the gui press that usb button to connect the stick to the vm
180: [10:24:55] <wmk> probably. does your vm have a gui installed?
181: [10:25:13] <zauberfisch> no, but whith gui I mean virtualbox guy
182: [10:25:18] <zauberfisch> *gui
183: [10:25:21] <wmk> ah...
184: [10:25:32] <zauberfisch> it will open the virtualbox window that just shows you the linux terminal
185: [10:25:46] <wmk> yup, i know.
186: [10:25:49] <wmk> the classical way...
187: [10:27:51] <ss-helper> Re: Gridfield across all pages - https://groups.google.com/d/msg/silverstripe-dev/OpIVTq2GWjQ/oO041YWNxbYJ
188: [10:28:54] <cupcake> hi all, i want to perform an ajax call from within the the Upload Image dialog in the tinymce editor in silverstripe 3... but when i try to perform the ajax call it is telling me to either leave the page or stay on the page... does anybody know the solution to this?
189: [10:35:24] <g4b0_> zauberfisch: do you know why my FormField validationError are persistent across pages?
190: [10:36:25] <g4b0_> I've got a check on email validity, and If it fails the validationError is displayed correctly
191: [10:36:40] <zauberfisch> g4b0_: yes
192: [10:36:48] <g4b0_> but on a successive page load (F5) it's still there!
193: [10:36:51] <zauberfisch> they are saved into session
194: [10:36:58] <zauberfisch> and displayed on next page load
195: [10:37:04] <zauberfisch> and then the session is cleared
196: [10:37:20] <g4b0_> it seems that the session is not cleared...
197: [10:42:09] <g4b0_> Is it possible to manually clear it?
198: [10:46:14] <g4b0_> If you try to register here: http://tribedistribution.zirak.it/
199: [10:46:26] <g4b0_> using for example a 2char login
200: [10:46:50] <g4b0_> it will fail because I check the minimum lenght of Login field
201: [10:47:15] <g4b0_> but also after a succesful login, you will continue to see the validation error!
202: [10:50:39] <Pyerlyk> form should clear it's on validation errors on submit
203: [10:50:56] <Pyerlyk> if not, session::clear('identifier')
204: [10:50:57] <Pyerlyk> or something
205: [10:51:35] <Pyerlyk> g4b0_: the validation error remains on F5 because you pressed F5.
206: [10:51:44] <Pyerlyk> click in title bar and press enter. Does still show?
207: [10:52:04] <wmk> zauberfisch, thanks for the tip with virtualbox console
208: [10:52:36] * R\w\C has joined #silverstripe
209: [10:52:58] <Pyerlyk> Pressing F5 (on average) resubmits form data used to load that page in the first place.
210: [10:53:11] <R\w\C> hey guys im trying to save html to a field in cms
211: [10:53:13] <cupcake> hi all, i want to perform an ajax call from within the the Upload Image dialog in the tinymce editor in silverstripe 3... but when i try to perform the ajax call it is telling me to either leave the page or stay on the page... does anybody know the solution to this?
212: [10:53:24] <R\w\C> but i dont want to use the WYSYWYF
213: [10:53:25] <g4b0_> Pyerlyk: yep, it still show also changing page///
214: [10:53:28] <g4b0_> ...
215: [10:53:40] <R\w\C> i just want a plain text field to paste a <iframe> link into
216: [10:53:40] <Pyerlyk> R\w\C: use HTMLText, or HTMLVarchar, not Text nor Varchar.
217: [10:53:48] <R\w\C> yes but i get a wyswyg
218: [10:53:52] <R\w\C> in those cases
219: [10:54:02] <R\w\C> i just want plain textfield
220: [10:54:03] <wmk> R\w\C, just define the formfield yourself
221: [10:54:05] <Pyerlyk> R\w\C: oh, well in that case use TextareaField
222: [10:54:08] <R\w\C> ah ok
223: [10:54:09] <R\w\C> :)
224: [10:54:15] <Pyerlyk> not HTMLEditorField
225: [10:54:18] <wmk> i guess you can tell scaffolder what field to use
226: [10:54:26] <Pyerlyk> (which scaffolder will use if you're not defining your own getCMSFields)
227: [10:56:51] <wmk> R\w\C, define $this->fieldClasses('MyHTMLField' => 'Textarea'); before calling parent::getCMSFields()
228: [10:57:14] <wmk> form scaffolder should have a look at it and use the defined formfield instead of the default field
229: [10:57:42] <Pyerlyk> oh, that's a thing wmk?
230: [10:57:46] <Pyerlyk> o.0 since when?
231: [10:58:46] <wmk> hmm... mom
232: [11:00:43] <wmk> used this for getFrontendFields... http://sspaste.com/paste/show/55080954ca005
233: [11:01:03] <g4b0_> Pyerlyk & zauberfisch: I solved clearing $_SESSION['FormInfo']['SubscribeForm_SubscribeForm']['errors']
234: [11:01:22] <g4b0_> but I's a really strange SS behaviousr
235: [11:01:33] <wmk> damn, getCMSFields() doesn't respect $params
236: [11:01:46] <Pyerlyk> g4b0_: no, :(
237: [11:01:58] <Pyerlyk> use Session::clear() ! :<
238: [11:02:11] <wmk> R\w\C, if you subclass DataObject directly, just overwrite it and define the params for scaffolder like done in http://sspaste.com/paste/show/55080954ca005
239: [11:03:34] <g4b0_> How can I clear it using Session::clear() ? Which syntax?
240: [11:04:06] <g4b0_> But the real question is: why does SS don't clear the form session?
241: [11:04:30] <Pyerlyk> http://api.silverstripe.org/3.1/class-Session.html
242: [11:04:35] <Pyerlyk> g4b0_: pretty sure it does.
243: [11:04:47] <Pyerlyk> but not 100%, obviously.
244: [11:05:21] <Pyerlyk> Session::clear('FormInfo.SubscribeForm_SubscribeForm'); iirc
245: [11:05:31] <Pyerlyk> or at least
246: [11:05:37] <Pyerlyk> Session::clear('FormInfo.SubscribeForm_SubscribeForm.errors');
247: [11:05:42] <Pyerlyk> somethnig like that
248: [11:05:51] <g4b0_> ok, that's what I was searching for...
249: [11:06:39] <Pyerlyk> :)
250: [11:07:54] <g4b0_> The only thing that is different from the normal flow is that I'm overwriting the form template
251: [11:08:22] <g4b0_> Maybe I'm missing something in template that is preventing SS from clearing the session?
252: [11:09:31] <ss-helper> file previews - http://www.silverstripe.org/community/forums/general-questions/show/101358
253: [11:09:48] <Pyerlyk> g4b0_: and that you've subclassed Form.
254: [11:10:04] <g4b0_> yep
255: [11:10:11] <g4b0_> maybe I fuond the bug
256: [11:10:18] <g4b0_> let me check...
257: [11:20:06] <g4b0_> I was overriding Form::forTemplate
258: [11:20:20] <g4b0_> without clearing sessions Values :)
259: [11:23:37] <g4b0_> Speaking about sessions, I noticed that my Session is filled with array gf_randomstring
260: [11:23:51] <g4b0_> They are some sort of GridField management
261: [11:24:05] <g4b0_> But are the garbage collected?
262: [11:24:55] <g4b0_> Second question: why GridField sort/search are not persistent after ad DO edit, if the session is polluted with this data?
263: [11:28:27] <zauberfisch> g4b0_: when you say the session is not cleard, does it by any chance only happen when that validation error occures?
264: [11:30:41] <g4b0_> zauberfisch: it was me
265: [11:30:50] <g4b0_> I was overriding fotTemplate()
266: [11:31:02] <g4b0_> that's where the session is cleared :D
267: [11:35:35] * g4b0_ quit (Ping timeout: 244 seconds)
268: [11:46:29] <cupcake> hi all, i want to perform an ajax call from within the the Upload Image dialog in the tinymce editor in silverstripe 3... but when i try to perform the ajax call it is telling me to either leave the page or stay on the page... does anybody know the solution to this?
269: [11:46:32] <cupcake> someone?
270: [11:48:31] * arnhoe has joined #silverstripe
271: [11:50:03] * Azure has joined #silverstripe
272: [11:52:36] <elgabbu> i m trying to pass a parameter to an include .. <% include SocialMedia UrlSegment=$getVideoURL, Locale=$Locale %>
273: [11:53:01] * Cheddam quit (Ping timeout: 250 seconds)
274: [11:53:15] <elgabbu> however in the SocialMedia.ss ... {$UrlSegment} doesn't output the parameter passed
275: [11:53:52] * adrexia quit (Ping timeout: 256 seconds)
276: [11:56:24] * adrexia has joined #silverstripe
277: [11:57:28] <elgabbu> ok it was a scope issue
278: [12:00:16] * R\w\C quit (Ping timeout: 264 seconds)
279: [12:00:53] <ss31noob> is there a way on how will i get what the user is trying to do in the admin in silverstripe 3? like if he is unpublishing a page or saving a page
280: [12:00:54] <ss31noob> ?
281: [12:01:18] * Shrike_Finland quit (Quit: Leaving.)
282: [12:15:38] * UndefinedOffset has joined #silverstripe
283: [12:19:51] <Pyerlyk> g4... yeah gridfield tends to spam the shit out of the session :<
284: [12:20:04] <Pyerlyk> not even just one per gridfield... one per LOAD.
285: [12:20:10] <Pyerlyk> but anyway, that's just another thing.
286: [12:21:38] <ss31noob> hi Pyerlyk, do you know how can i get the action of the user in the admin?
287: [12:21:58] <Pyerlyk> action of the user?
288: [12:23:57] <ss31noob> yeah.. i wanted to disable the custom cmsvalidator, if the action of the user is to unpublish or delete a page
289: [12:24:20] <Pyerlyk> well they just call the relevant options on the model
290: [12:24:32] <Pyerlyk> dounpublish
291: [12:24:33] <Pyerlyk> delete()
292: [12:24:37] <Pyerlyk> etc
293: [12:24:56] <Pyerlyk> and what do you mean by cmsvalidator?
294: [12:25:03] <Pyerlyk> js boxes?
295: [12:25:23] <Pyerlyk> because that'd just be a case of binding a more specific entwine selector
296: [12:25:32] * Colin[pi] quit (Ping timeout: 272 seconds)
297: [12:26:03] <ss31noob> there's a custom cmsvalidator that if metadata arent present.. the page cannot be published.. but we're having a problem that if there's no metadata present.. you cannot unpublished a page
298: [12:27:01] <Pyerlyk> ss31noob: well how is that checked for?
299: [12:27:25] <Pyerlyk> it sounds a bit counterintuitive until you think about it, but unpublishing makes a write() too.
300: [12:30:43] <ss31noob> SiteTree extends this.. http://sspaste.com/paste/show/55081e44749e2
301: [12:32:47] <ss31noob> i mean this is being used when SiteTree is initiated..
302: [12:33:48] <Pyerlyk> hmm, do that in validate() perhaps so you can put conditionals around changed or something
303: [12:34:03] <Pyerlyk> I dunno what the answer there might be sorry chap
304: [12:34:13] <Pyerlyk> I've not played with cms validators much
305: [12:34:22] <ss31noob> where is that validate()?
306: [12:34:30] <Pyerlyk> dataobject
307: [12:39:47] <ss-helper> Forms, UploadField, frontend valiadation - http://www.silverstripe.org/community/forums/form-questions/show/101359
308: [12:45:48] * adrexia quit (Ping timeout: 272 seconds)
309: [12:46:51] * adrexia has joined #silverstripe
310: [12:53:22] * headtrip has joined #silverstripe
311: [12:56:15] <ss31noob> still cant make it work :(
312: [13:16:59] * adrexia quit (Ping timeout: 246 seconds)
313: [13:18:00] * headtrip quit (Quit: (null))
314: [13:19:06] * adrexia has joined #silverstripe
315: [13:28:14] * g4b0_ has joined #silverstripe
316: [13:34:19] <ss31noob> i saw this log somewhere.. https://github.com/silverstripe/silverstripe-cms/pull/863
317: [13:34:48] <ss31noob> does anyone know how to use setValidationExemptActions method from CMSForm class?
318: [13:35:06] <ss31noob> kinglozzer, do you have any idea on this since i saw that you were the one reported this
319: [13:35:07] <ss31noob> :)
320: [13:37:00] * adrexia quit (Ping timeout: 256 seconds)
321: [13:37:24] * adrexia has joined #silverstripe
322: [13:41:59] * lerni_ has joined #silverstripe
323: [13:42:17] * nontgor quit (Ping timeout: 252 seconds)
324: [13:43:27] <ss-helper> decluttering UI, order Extension gets applied - http://stackoverflow.com/questions/29100499/decluttering-ui-order-extension-gets-applied
325: [13:46:46] * gordon has joined #silverstripe
326: [13:47:10] * gordon is now known as Guest75087
327: [13:58:07] <kinglozzer> ss31noob: Looks like a bug to me - the unpublish action should be exempt from validation
328: [13:58:20] <kinglozzer> Probably just needs to be added to that array from the PR
329: [13:58:46] <kinglozzer> You should be able to do it with an extension applied to CMSMain, though. Use the updateEditForm() method
330: [14:02:01] * Shrike_Finland has joined #silverstripe
331: [14:02:08] * catcher has joined #silverstripe
332: [14:05:54] <ss31noob> kinglozzer, do i need to instantiate a new form?
333: [14:06:09] * muskie9 has joined #silverstripe
334: [14:06:12] <ss31noob> like $form = CMSForm::create( $this, "EditForm", $fields, $actions, $validator )->setHTMLID('Form_EditForm');
335: [14:06:49] <kinglozzer> ss31noob: If you just want to fix "unpublish" causing validation errors on pages, no you don't need a new form
336: [14:07:16] <kinglozzer> something like public function updateEditForm($form) { $form->setValidationExemptActions(array('restore', 'revert', 'deletefromlive', 'rollback', 'unpublish')); } should do the trick I think
337: [14:07:41] <ss31noob> what should i call inside the updateeditform() then?
338: [14:07:51] <ss31noob> ahhaaa okie
339: [14:07:53] <ss31noob> will try
340: [14:17:46] <ss31noob> kinglozzer, its working. thanks a lot :)
341: [14:19:40] <kinglozzer> Cool :) looks like that needs to be fixed in core too then
342: [14:20:46] <ss31noob> yup. i also included "delete" in the exemption
343: [14:21:31] * Guest75087 quit (Read error: Connection reset by peer)
344: [14:35:10] <zauberfisch> just started using nfs for vagrant/virtualbox shared folders
345: [14:36:42] <zauberfisch> on ssd not much difference, but my collegue reports a performance increase of up to 50% on a mid spec pc with hdd
346: [14:40:11] <ss-helper> Re: Simple POST method with SS_HTTPrequest example ? Any official Tutorial ? - http://www.silverstripe.org/community/forums/template-questions/show/101346#post400742
347: [14:40:12] <ss-helper> Re: [SOLVED] Partial Cache of Pagianted List - http://www.silverstripe.org/community/forums/template-questions/show/101356#post400741
348: [14:40:12] <ss-helper> Pagination and Ajax Calls - http://www.silverstripe.org/community/forums/template-questions/show/101360
349: [14:42:32] * Shrike_Finland quit (Quit: Leaving.)
350: [14:55:14] <ss-helper> Re: Extend Page.ss on module - http://www.silverstripe.org/community/forums/template-questions/show/100905#post400743
351: [15:15:10] * darjus01 quit (Quit: Page closed)
352: [15:53:04] <wmk> ouch, DataList::remove() to clean up the result...
353: [15:55:27] <ss-helper> Re: Pagination and Ajax Calls - http://www.silverstripe.org/community/forums/template-questions/show/101360#post400744
354: [15:58:55] <wmk> !royalflush
355: [16:09:42] * NETim has joined #silverstripe
356: [16:10:08] <NETim> Morning, setTemplate for an email sent from the CMS? can't find the template.
357: [16:10:31] <ss-helper> Re: Extend Page.ss on module - http://www.silverstripe.org/community/forums/template-questions/show/100905#post400746
358: [16:10:31] <ss-helper> Re: Simple POST method with SS_HTTPrequest example ? Any official Tutorial ? - http://www.silverstripe.org/community/forums/template-questions/show/101346#post400745
359: [16:10:55] <wmk> which one NETim
360: [16:10:56] <wmk> ?
361: [16:12:22] <NETim> Custom template. Sending an email onBeforeWrite.
362: [16:12:32] <wmk> oh, and it's not found?
363: [16:12:48] <wmk> so cms doesn't find the template
364: [16:12:54] <NETim> Nope. Had this issue before (I think.) just trying out an old fix.
365: [16:13:03] <wmk> well, in cms the theme isn't set
366: [16:13:08] <wmk> where is your template located?
367: [16:13:15] <NETim> in the theme folder.
368: [16:13:29] <wmk> any chance to put it into mysite?
369: [16:13:31] <wmk> and flush?
370: [16:13:38] <NETim> can do, if that will resolve the issue.
371: [16:13:44] <NETim> mysite->Email?
372: [16:14:39] <wmk> mysite/templates or mysite/templates/Email
373: [16:14:57] <wmk> or set theme in config before sending email and set false after sending email
374: [16:15:48] <NETim> Moving the templates worked. Thanks.
375: [16:15:56] <wmk> you're welcome
376: [16:24:49] * ss31noob quit (Ping timeout: 246 seconds)
377: [16:28:48] <NETim> Any way to nab the date picker from the CMS for use on the front end?
378: [16:29:10] <wmk> why not?
379: [16:29:40] <NETim> ?
380: [16:29:56] <wmk> DateField::create()
381: [16:30:16] <NETim> The form is defined in the HTML. I assume there's a class then?
382: [16:30:18] <wmk> and enable showcalendar...
383: [16:30:48] <wmk> ah, you don't have the form defined in php?
384: [16:31:18] <NETim> wmk, no. I've just had a quick skim through and it's just using jquery UI.
385: [16:31:21] <wmk> Then you have to add it manually... It's jqueryUI datepicker
386: [16:31:30] <wmk> yup.
387: [16:31:51] <wmk> why don't you generate the form using Form and FieldList?
388: [16:32:49] * arnhoe quit (Ping timeout: 256 seconds)
389: [16:34:24] * Shrike_Finland has joined #silverstripe
390: [16:38:54] <NETim> It's complicated.
391: [16:39:04] <wmk> layout?
392: [17:00:40] * muskie9 is now known as muskie9_afk
393: [17:00:41] * lerni_ quit (Remote host closed the connection)
394: [17:01:23] * catcher quit (Ping timeout: 240 seconds)
395: [17:08:10] * catcher has joined #silverstripe
396: [17:11:04] * Guits quit (Ping timeout: 245 seconds)
397: [17:13:15] * g4b0_ quit (Quit: Sto andando via)
398: [17:14:46] * kinglozzer quit ()
399: [17:21:08] * stnvh quit (Quit: quit)
400: [17:28:52] <Pyerlyk> reet, it's that time.
401: [17:28:53] * Pyerlyk quit ()
402: [17:30:47] <NETim> wmk: sorry, missed your response. It's just a filter field. Sorted now though.
403: [17:30:52] <NETim> Home time.
404: [17:35:10] * NETim quit (Ping timeout: 246 seconds)
405: [17:41:29] * Shrike_Finland quit (Quit: Leaving.)
406: [17:49:01] * travis-ci has joined #silverstripe
407: [17:49:02] <travis-ci> silverstripe/silverstripe-framework#4446 (3.1 - de2aa47 : Daniel Hensby): The build passed.
408: [17:49:02] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/67ff1cf486e2...de2aa472508d
409: [17:49:02] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/54748566
410: [17:49:02] * travis-ci has left #silverstripe
411: [17:54:33] * Shrike_Finland has joined #silverstripe
412: [18:04:04] * muskie9_afk is now known as muskie9
413: [18:08:01] * oddnoc has joined #silverstripe
414: [18:11:55] <oddnoc> doc.silverstripe.org is down
415: [18:14:00] * Guits has joined #silverstripe
416: [18:15:56] * Stomach has joined #silverstripe
417: [18:34:06] <muskie9> api's down too: http://api.silverstripe.org
418: [18:36:18] * Stomach quit (Quit: zzz)
419: [18:36:38] <oddnoc> Looks like both domains are on a single server
420: [18:46:55] * dhensby quit ()
421: [18:49:05] * mobiusnz has joined #silverstripe
422: [18:53:43] * lerni_ has joined #silverstripe
423: [18:56:03] <ss-helper> Re: Pagination and Ajax Calls - http://www.silverstripe.org/community/forums/template-questions/show/101360#post400747
424: [18:56:06] * gelignite has joined #silverstripe
425: [19:01:59] * lerni__ has joined #silverstripe
426: [19:02:14] * mobiusnz quit (Quit: Leaving.)
427: [19:04:03] * lerni_ quit (Ping timeout: 244 seconds)
428: [19:07:42] * Stomach has joined #silverstripe
429: [19:13:01] * jghazally has joined #silverstripe
430: [19:13:11] * jghazally quit (Client Quit)
431: [19:14:37] * lerni__ quit (Ping timeout: 265 seconds)
432: [19:19:31] * Kapdap has joined #silverstripe
433: [19:21:05] * willr has joined #silverstripe
434: [19:23:58] * mobiusnz has joined #silverstripe
435: [19:25:16] * mobiusnz quit (Client Quit)
436: [19:25:46] * muskie9 quit (Read error: Connection reset by peer)
437: [19:26:36] * muskie9 has joined #silverstripe
438: [19:27:13] * lerni_ has joined #silverstripe
439: [19:28:00] * mobiusnz has joined #silverstripe
440: [19:34:39] * Sj0hn has joined #silverstripe
441: [19:39:00] * lerni__ has joined #silverstripe
442: [19:42:45] * lerni_ quit (Ping timeout: 250 seconds)
443: [19:44:41] * Shrike_Finland quit (Quit: Leaving.)
444: [19:49:41] * MichalKleiner has joined #silverstripe
445: [19:50:30] * Ryan-Toast has joined #silverstripe
446: [19:51:47] * MichalKleiner quit (Remote host closed the connection)
447: [19:56:54] * GioVdK quit (Ping timeout: 245 seconds)
448: [19:57:09] <Ryan-Toast> Stomach: how’re you feeling?
449: [19:57:39] * MrGuits has joined #silverstripe
450: [19:57:51] <Stomach> Ryan-Toast - fantastic :D
451: [19:57:55] <Stomach> didn't drink much :P
452: [19:58:06] <Ryan-Toast> Stomach: I’m dying Stevie.
453: [19:58:17] <Stomach> did you go a bit nuts? :D
454: [19:58:39] * Guits quit (Read error: Connection reset by peer)
455: [19:58:49] <Ryan-Toast> Stomach: I wasn’t even in towen long.
456: [19:58:53] <Ryan-Toast> I’m just an old man now
457: [20:01:31] <Stomach> haha
458: [20:01:36] <Stomach> we got home at like 10pm
459: [20:01:45] <Stomach> the scottish and irish were drunk as fuck but we kept it casual
460: [20:02:24] <Ryan-Toast> Stomach: It weas lucky opne of the girls was feeling really ill, I had started to get into the swing of things and was about to get a whole bunch of shots.
461: [20:03:00] <Stomach> haha one of the scottish dudes bought a round of shots just as 3 of us left
462: [20:03:10] <Stomach> luckily we were already gone by the time he got back
463: [20:03:17] <Stomach> otherwise I could have been at a tipping point
464: [20:03:23] <Ryan-Toast> haha, “escape escape!”
465: [20:05:25] <Stomach> hard out :D
466: [20:07:51] <Ryan-Toast> …I thiunk I’m going to vomit.
467: [20:08:02] * oddnoc quit (Quit: beer:30)
468: [20:08:24] <Stomach> hahahahaha
469: [20:12:10] * Cheddam has joined #silverstripe
470: [20:13:09] * irogue_ has joined #silverstripe
471: [20:13:50] * Hailwood has joined #silverstripe
472: [20:16:28] * antmas has joined #silverstripe
473: [20:18:13] * Ryan-Toast quit (Quit: Ryan-Toast)
474: [20:19:37] * Ryan-Toast has joined #silverstripe
475: [20:20:57] <Stomach> irogue_
476: [20:20:59] <Stomach> you're alive!
477: [20:21:09] <irogue_> I am!
478: [20:21:24] <Ryan-Toast> !seen irogue_
479: [20:21:25] <ss-helper> Ryan-Toast: They're in the channel now....
480: [20:21:30] <Ryan-Toast> ss-helper: gooood
481: [20:21:33] * [3dgoo] has joined #silverstripe
482: [20:21:38] <irogue_> :P
483: [20:22:22] <irogue_> been on a super high priority project, doin' 10-12 hour days 6 days a week. IRC was well and truly forgotten about
484: [20:23:22] <Stomach> that sounds like a fun life :P
485: [20:24:20] * [3dgoo] quit (Client Quit)
486: [20:24:42] <antmas> o/
487: [20:24:45] <antmas> morning all
488: [20:28:59] * MichalKleiner has joined #silverstripe
489: [20:31:33] <irogue_> mornin' antmas
490: [20:34:29] <antmas> irogue_: o/
491: [20:34:34] <antmas> irogue_: dat steak
492: [20:35:25] <irogue_> it was goood
493: [20:38:36] * MrGuits quit (Ping timeout: 244 seconds)
494: [20:39:54] * UndefinedOffset quit (Quit: Leaving.)
495: [20:42:46] <MichalKleiner> o/
496: [20:46:30] <antmas> hehe, love it when people accidentally put an S infront of laughter
497: [20:47:16] * Colin[pi] has joined #silverstripe
498: [20:47:52] <antmas> Colin[pi]: o/
499: [20:49:27] * stefanovic72 has joined #silverstripe
500: [20:50:47] <stefanovic72> hello. I have a problem with a TreeMultiselectField on a frontend form.
501: [20:51:03] <stefanovic72> $radio = new TreeMultiselectField('CountryOfBirth', 'Country of birth', array( 'NZ' => 'New Zealand', 'US' => 'United States', 'GEM'=> 'Germany'));
502: [20:51:13] <stefanovic72> this is the example code
503: [20:51:33] <stefanovic72> when i add that to a form the field is being dispayed
504: [20:51:42] <stefanovic72> but the data is not loaded
505: [20:51:57] <stefanovic72> the error is see in the console is:
506: [20:52:10] <stefanovic72> Failed to load resource: the server responded with a status of 403 (Forbidden)
507: [20:52:32] <Colin[pi]> hey antmas o/
508: [20:53:08] <antmas> stefanovic72: when you say the data is not being loaded, do you mean when the data is submitted?
509: [20:54:18] <Stomach> does anyone know an easy way to use utf-8 characters in the URLSegment
510: [20:54:24] <irogue_> TreeMultiselectField is only designed to work with many-many relationships AFAIK
511: [20:54:31] <Stomach> i.e. turn off transliteration and instead utf-8 encode strings for URL segments?
512: [20:54:34] <muskie9> stefanovic72 I've never used the field before, but sounds like it's doing an ajax call that's not working
513: [20:55:20] <muskie9> from the API... "CAVEAT: for search to work properly $labelField must be a database field, or you need to setSearchFunction."
514: [20:55:34] <antmas> could be his allowed_actions isn't set properly
515: [20:55:39] <antmas> if it happens on submit
516: [20:55:40] <stefanovic72> no, it's a drop down box. In the box i see '(Select)'
517: [20:55:49] <muskie9> http://api.silverstripe.org/master/class-TreeMultiselectField.html#___construct
518: [20:55:52] <stefanovic72> when i open it the data must be loaded
519: [20:56:03] <irogue_> stefanovic72: yes, but it has to reference a many-many relationship
520: [20:56:11] <irogue_> it isn't designed for hardcoded values
521: [20:56:18] <muskie9> sourceObject The object-type to list in the tree. Must be a Hierarchy subclass. Alternatively, you can set this to an array of key/value pairs, like a DropdownField source. In this case, the field will act like show a flat list of tree items, without any hierarchy. This is most useful in conjunction with TreeMultiselectField, for presenting a set of checkboxes in a compact view.
522: [20:56:38] <stefanovic72> the docs says: you can set this to an array of key/value pairs
523: [20:57:01] <stefanovic72> so, that means I can test it with static data
524: [20:57:08] <stefanovic72> or the docs are wrong
525: [20:57:16] * antmas votes the latter
526: [20:57:31] <irogue_> hmm. well the fact it's pulling a 403 would suggest it is trying to do an AJAX lookup to grab the values
527: [20:58:09] <stefanovic72> yes.
528: [20:58:40] <stefanovic72> this is the error i get now. There was indeed something wrong with the allowed actions
529: [20:58:43] <stefanovic72> GET http://www.silverstripetest.hst3.nl/home/OfferForm/field/CountryOfBirth/tree 403 (Forbidden)
530: [20:59:15] <stefanovic72> jQuery.ajaxTransport.send
531: [20:59:16] <irogue_> yep, so it is trying to access a many-many relationship called CountryOfBirth, which presumably doesn't exist
532: [20:59:16] <antmas> hmm
533: [20:59:27] <antmas> stefanovic72: this ^^^
534: [21:00:08] <muskie9> would he need to set the search function: http://api.silverstripe.org/master/source-class-TreeDropdownField.html#131
535: [21:03:44] * micmania1 has joined #silverstripe
536: [21:03:53] * wmk quit (Ping timeout: 240 seconds)
537: [21:05:17] <irogue_> ok
538: [21:05:33] <irogue_> so, weirdly, it still uses an AJAX request for getting the tree even if it is a flat key/value array
539: [21:07:37] <irogue_> stefanovic72: what did you add to allowed_actions
540: [21:08:05] <stefanovic72> OfferForm
541: [21:09:14] <irogue_> hmm, that should be enough
542: [21:11:02] <stefanovic72> i also tried with a many-many relationship
543: [21:11:50] <stefanovic72> same problem, same error
544: [21:14:13] * micmania1 quit (Quit: micmania1)
545: [21:15:01] * micmania1 has joined #silverstripe
546: [21:16:12] <stefanovic72> it has something to do with the allowed_actions
547: [21:16:22] <stefanovic72> when i call http://www.silverstripetest.hst3.nl/home/OfferForm/
548: [21:16:36] <stefanovic72> i get this error: Action 'OfferForm' isn't allowed on class Page_Controller.
549: [21:16:57] <stefanovic72> so, that points me in the right direction
550: [21:17:36] <stefanovic72> even OfferForm is in the allowed_actions it's not allowed. I will find out what the cause of that is
551: [21:26:30] <ss-helper> Re: FIXED! - "Add" button pointing to "WebsiteURL/#" - NoBrainerWeb / Silverstripe-Content-Blocks - http://www.silverstripe.org/community/forums/all-other-modules/show/101304#post400748
552: [21:31:03] <stefanovic72> it works now for static data (an array)
553: [21:32:04] <stefanovic72> when i test with real data ( a many-many relation) i get thsi error:
554: [21:32:05] <stefanovic72> Uncaught Exception: Object->__call(): the method 'markpartialtree' does not exist on 'Bm4uCountry'
555: [21:32:29] <stefanovic72> this error occurs when this url is called: http://www.silverstripetest.hst3.nl/home/OfferForm/field/CountryOfBirth/tree
556: [21:35:01] <Sj0hn> any1 here tried sheadawsons multisite and tractorcows fluent together?
557: [21:35:18] <Sj0hn> modules that is obviously
558: [21:36:35] * UncleCheese has joined #silverstripe
559: [21:39:43] <Stomach> default_allow_multibyte: true
560: [21:39:50] <Stomach> thanks for the help IRC
561: [21:39:51] <Stomach> :(
562: [21:40:26] <stefanovic72> got it.
563: [21:41:07] <stefanovic72> i had to extend the Hierarchy decorator to enable the creation of a Bm4uCountry
564: [21:41:17] <stefanovic72> static $extensions = array( "Hierarchy" );
565: [21:41:22] <antmas> stefanovic72: ha!
566: [21:41:27] <stefanovic72> thanks for the help!
567: [21:41:27] <antmas> stefanovic72: hi5 o/
568: [21:41:41] * mahfuz has joined #silverstripe
569: [21:45:03] * muskie9 is now known as muskie9_afk
570: [21:45:18] <UncleCheese> is CSS development the most thankless job in web?
571: [21:45:53] <antmas> 'development'
572: [21:46:45] <antmas> UncleCheese: but yeah probably
573: [21:47:14] <antmas> source control would be a close second
574: [21:48:46] * lerni__ quit ()
575: [21:50:33] <UncleCheese> So i really want to rejoice over the news that Microsoft will be "killing" the Internet Explorer brand
576: [21:50:55] * muskie9_afk is now known as muskie9
577: [21:51:01] <UncleCheese> feels like 15+ years of rage all coming to a glorious end, with good prevailing over evil
578: [21:51:46] <antmas> UncleCheese: isn't Spartan just IE anyway though?
579: [21:51:51] <UncleCheese> but then i realise, it's just same shit different day. "We're killing our backward, bullshit proprietary rendering engine so that we can..."
580: [21:51:54] <UncleCheese> "Use webkit?"
581: [21:52:03] <UncleCheese> "Ahem, no.. umm.. release a new proprietary bullshit engine."
582: [21:52:06] <UncleCheese> "Yaaaay!!!!!!!!!"
583: [21:52:25] * veb has joined #silverstripe
584: [21:55:07] <antmas> their argument is that it will be faster to build a new rendering engine and a browser for it
585: [21:55:19] <antmas> who the fuck decided that is faster than using an already built one?
586: [21:55:27] <antmas> OPPOSITE DAY
587: [21:55:37] <adrexia> <UncleCheese> is CSS development the most thankless job in web?
588: [21:55:38] <adrexia> nah
589: [21:55:40] <adrexia> content migration
590: [21:55:43] <adrexia> :P
591: [21:55:48] <UncleCheese> ha
592: [21:56:09] <adrexia> Clients love css, even if most of them don't know it from a bar of soap
593: [21:56:39] * nimeso has joined #silverstripe
594: [21:56:44] <antmas> clients love js more
595: [21:56:53] * antmas *shudders*
596: [21:57:01] * Hailwood quit (Ping timeout: 265 seconds)
597: [21:57:04] <adrexia> clients love all frontend, lets be honest
598: [21:57:12] <adrexia> they can see it
599: [21:57:17] <adrexia> and play with it
600: [21:57:29] <antmas> mm
601: [21:58:06] <adrexia> but the best you can do with content migration is replicate what they had before perfectly. and perfect is a hard goal
602: [21:58:07] <catcher> "Your site has been recoded for 100% efficiency gain, and it now has a CMS." "ah." "and the buttons are now blue." "OOH!"
603: [21:58:22] <adrexia> lol
604: [21:58:42] <adrexia> actually the cms part of that is a frontend they can play with - so that makes a difference ;)
605: [21:59:03] <catcher> adrexia, I have clients who are too scared to look at it.
606: [21:59:08] <adrexia> oh
607: [21:59:10] <adrexia> :-/
608: [21:59:28] <adrexia> to they have post drupal stress syndrome?
609: [21:59:32] <nimeso> Hey all.... I'm trying to make a simple 'Page Hit' counter... I've added $this->write(); to the Page controller init function but it does not work... I can create and write() other objects in the init function, just can 'save it self' if ya follow. Any ways to get around this?
610: [22:00:51] <antmas> Colin[pi]: ^^^^^
611: [22:00:53] <nimeso> 'post drupal stress syndrome' bahahaha
612: [22:01:18] <Colin[pi]> nimeso antmas: yep there is a module for that, one sec
613: [22:01:24] * travis-ci has joined #silverstripe
614: [22:01:25] <travis-ci> tractorcow/silverstripe-cms#42 (pulls/3.1/fix-page-create - 6f86b6d : Damian Mooyman): The build passed.
615: [22:01:25] <travis-ci> Change view : https://github.com/tractorcow/silverstripe-cms/compare/68d65843bc25...6f86b6d1246e
616: [22:01:25] <travis-ci> Build details : http://travis-ci.org/tractorcow/silverstripe-cms/builds/54784461
617: [22:01:25] * travis-ci has left #silverstripe
618: [22:01:37] <Colin[pi]> nimeso: http://addons.silverstripe.org/add-ons/chillu/viewcounter
619: [22:01:41] <nimeso> :)
620: [22:02:27] <Colin[pi]> nimeso: works ok, just keeps a simple hit counter per tracked page, and tries to avoid bots etc.
621: [22:02:46] * muskie9 is now known as muskie9_afk
622: [22:04:34] * veb quit (Quit: veb-irc: &)
623: [22:04:36] <nimeso> Thanks C!
624: [22:04:43] * muskie9_afk is now known as muskie9
625: [22:04:51] * catcher quit (Quit: Leaving)
626: [22:05:04] <Colin[pi]> np
627: [22:12:59] <Colin[pi]> adrexia: post drupal stress syndrome, I like it
628: [22:13:09] <Colin[pi]> adrexia: UncleCheese I believe now suffers from PMS
629: [22:13:18] <Colin[pi]> adrexia: post Magento stress
630: [22:13:49] <UncleCheese> Nah, I just got a Magentectomy
631: [22:14:13] <Colin[pi]> UncleCheese: is it reversible? I mean, if you could again, would you want to?
632: [22:14:16] * Hailwood has joined #silverstripe
633: [22:14:46] <adrexia> hahaha
634: [22:15:30] <UncleCheese> i wouldn't. ever again
635: [22:15:38] <adrexia> The only people I have worked with who were terrified to even use their CMS were using Drupal. And after looking at it I could totally understand why
636: [22:15:43] <UncleCheese> fortunately, i'm just going to codementor.io my way through it
637: [22:15:44] <Colin[pi]> Magento, not even once
638: [22:16:01] <UncleCheese> found a nutjob in Illinois who loves to work with this bullshit
639: [22:16:02] <antmas> Derpal, Magento, Jword, Concrete5
640: [22:16:04] <antmas> all of them
641: [22:16:06] <antmas> never again
642: [22:16:18] <Colin[pi]> jword, haha
643: [22:16:30] <UncleCheese> worderp has to be on there, too
644: [22:16:42] <adrexia> oh? I had heard Concrete5 was good?
645: [22:17:07] <antmas> might be now
646: [22:17:14] <adrexia> wordpress is fine if you never have to customize the functionality
647: [22:18:10] <antmas> same goes for Sharepoint
648: [22:18:12] <Colin[pi]> adrexia: looked at the source of wordderp once.... shudder
649: [22:18:17] <Colin[pi]> it's..... hideous
650: [22:19:03] <adrexia> yep
651: [22:19:25] <adrexia> it's not the sort of p;lace anyway really wants to look
652: [22:19:43] <adrexia> *anyone
653: [22:20:07] <Colin[pi]> this is why I say that SS is like a pretty woman... I fight with her sometimes but at the end of the day it's like "oh baby, lets not fight... I still love you"
654: [22:20:45] <adrexia> So... you're basically married to SS
655: [22:20:48] <adrexia> :P
656: [22:20:51] <antmas> lol
657: [22:21:07] <Colin[pi]> adrexia: she doesn't even put out for me anymore!! p)
658: [22:21:12] <Colin[pi]> ;(
659: [22:21:12] <antmas> I dunno about pretty woman
660: [22:21:13] <adrexia> lol
661: [22:21:21] <antmas> I'd say SS is a handsome woman
662: [22:21:23] <antmas> sturdy
663: [22:21:24] <Colin[pi]> antmas: mildly attractive?
664: [22:21:36] <adrexia> I'd say SS is not a woman at all :P
665: [22:21:46] <antmas> adrexia: how would you personify it?
666: [22:21:49] <Colin[pi]> adrexia: hey, whatever floats your boat
667: [22:21:54] <adrexia> 99% of it is built by men :P
668: [22:22:04] <Ryan-Toast> Show me the most beautiful person in the world, and I’ll show you someone who’s tired of… coding them.
669: [22:22:06] <Colin[pi]> realdolls are built by men
670: [22:22:19] <antmas> yeah but 99% of boats are built by men and they call themm woman :P
671: [22:22:24] <adrexia> ...and they are certainly not women :P
672: [22:22:29] <adrexia> hahaha
673: [22:22:30] <Ryan-Toast> Vehicles too.
674: [22:22:49] <Colin[pi]> adrexia: maybe they're compensating
675: [22:22:51] <Ryan-Toast> I call my bike a woman, because I don’t think I’d be comfortable with a man making me feel that way.
676: [22:23:11] <antmas> SS = Sassy Steve
677: [22:23:13] <adrexia> err, where are you getting your vechile and boats stats from
678: [22:23:15] <adrexia> I think you
679: [22:23:22] <adrexia> 're making shit up, you see ;)
680: [22:23:34] <Colin[pi]> Ryan-Toast: what, you're not comfortable with a man putting something hard up your butt while you ride it?
681: [22:23:45] <Ryan-Toast> Colin[pi]: Vibrates too.
682: [22:23:50] <Colin[pi]> :O
683: [22:24:17] <Colin[pi]> Ryan-Toast: http://upload.wikimedia.org/wikipedia/en/7/79/IT_%28South_Park%3B_The_Entity%29.jpeg
684: [22:24:30] <Ryan-Toast> Colin[pi]: Still ebetter than airtravel.
685: [22:24:33] <Colin[pi]> LOL!!!
686: [22:25:42] <antmas> <Colin[pi]> Ryan-Toast: what, you're not comfortable with a man putting something hard up your butt while you ride it?
687: [22:25:48] <antmas> http://i.imgur.com/ZqGlQ0M.gif
688: [22:26:03] <Ryan-Toast> antmas: http://i.imgur.com/nuLCX.gif
689: [22:26:08] <adrexia> I think SS is a horse.
690: [22:26:22] <antmas> adrexia: ok way to make it weird
691: [22:26:28] <Ryan-Toast> lol
692: [22:26:35] <adrexia> yeah, now Colin[pi] is married to a horse ;)m
693: [22:26:40] <Colin[pi]> antmas: that damn gif, lol
694: [22:27:04] <Colin[pi]> adrexia: why the long face?
695: [22:27:09] <adrexia> hehe
696: [22:27:22] * UncleCheese quit (Ping timeout: 245 seconds)
697: [22:27:34] <antmas> lol UC's had enough
698: [22:27:39] <Colin[pi]> ahahaha
699: [22:27:57] <adrexia> Useful animal, stubborn at times, but much better than a cow if you actually want to get somewhere
700: [22:28:02] <antmas> adrexia: so ss is like this? https://gfycat.com/WarpedFlatCaribou it is when I use it
701: [22:28:02] <Colin[pi]> antmas: UC: http://i.imgur.com/rYIGcrl.gif
702: [22:28:25] <adrexia> antams - that's amazing
703: [22:28:26] <adrexia> :D
704: [22:28:37] <Colin[pi]> lol
705: [22:28:47] <antmas> that horse is having so much fun
706: [22:28:53] <adrexia> totally is
707: [22:29:14] <adrexia> that's silverstripe after some dev gets it drunk
708: [22:29:31] <Colin[pi]> looks like the SS site launch
709: [22:29:35] <adrexia> logic errors everywhere
710: [22:29:40] <adrexia> hahahahaha
711: [22:30:00] <Colin[pi]> still too soon?
712: [22:30:00] <Colin[pi]> :D
713: [22:30:10] <Colin[pi]> fuck that day was funny
714: [22:30:42] <adrexia> Lol
715: [22:31:04] <adrexia> you just like the pain and suffering of others
716: [22:31:07] <antmas> Colin[pi]: see it's ok to say that when UC is gone :P
717: [22:31:12] <adrexia> all I remember is a very angry Simon
718: [22:32:10] <Colin[pi]> adrexia: no you see, I like laughing about it, simon was like "yess... YESSSSS...."
719: [22:32:12] <antmas> and a sweaty ss23
720: [22:32:13] <Colin[pi]> ;D
721: [22:32:29] <ss23> >.<
722: [22:32:38] <Colin[pi]> thanks for that image antmas
723: [22:33:12] <antmas> is that day still in the logs?
724: [22:33:22] <Colin[pi]> loool deleted you reckon?
725: [22:33:27] <ss23> I wasn't sweaty, I'll have you know it's nice and air conditioned in here ^.^
726: [22:33:37] <antmas> :D
727: [22:33:56] <antmas> ss23: what was the launch date?
728: [22:34:06] <ss23> idk man
729: [22:34:07] <ss23> :S
730: [22:34:23] <antmas> :|
731: [22:34:48] <Colin[pi]> ss23 on launch day: http://i.imgur.com/EfASbXH.gif
732: [22:34:55] <ss23> lol
733: [22:35:02] <ss23> I thought the launch went quite well
734: [22:35:20] <ss23> I seriously can't remember what happened, but I thought it was along the lines of "Site is actually really good but there were a few small issues"
735: [22:35:23] <ss23> Oh, and performance
736: [22:35:24] <ss23> I forgot about that
737: [22:35:25] <ss23> :D
738: [22:35:34] <antmas> #neverforget
739: [22:35:44] <adrexia> yeah, the painful slowness
740: [22:35:48] <ss23> #forgettoremember
741: [22:36:55] <Colin[pi]> the main site was off the air for quite a while too iirc
742: [22:37:19] <Colin[pi]> but its funny because I've been through the exact same shit before
743: [22:37:24] <Colin[pi]> fucking computers
744: [22:44:17] * spronk2 has joined #silverstripe
745: [22:47:30] <antmas> spronk2: o/
746: [22:47:37] <spronk2> hello.
747: [22:50:32] <ss23> moin moin
748: [22:57:37] <Hailwood> Doing a dev/build?flush=all - Time to get lunch
749: [22:58:59] * Hailwood comes back with lunch. dev/build?flush=all still running.
750: [23:00:08] * wmk has joined #silverstripe
751: [23:01:15] <ss23> My static publisher queue thing is giving 404s
752: [23:01:19] <ss23> That's a bad description
753: [23:01:34] <ss23> The pages are entered into the queue as /the-url/, I presume correctly, but the task itself says they're 404ing
754: [23:02:41] * muskie9 is now known as muskie9_afk
755: [23:05:05] * wmk quit (Ping timeout: 264 seconds)
756: [23:06:00] <ss23> Anyone had this?
757: [23:06:53] * muskie9_afk quit (Ping timeout: 240 seconds)
758: [23:09:30] <antmas> what's the diff between a + and an @ in this channel?
759: [23:09:34] <antmas> infront of nicks
760: [23:11:10] <irogue_> @ is op, they have all the powerz. + is voice, means sfa unless the chan gets put into moderated mode, but is mostly used as a symbol that you're better than everyone else but not quite cool enough to be an op
761: [23:11:22] <Colin[pi]> lol
762: [23:11:45] <antmas> irogue_: :P
763: [23:11:53] <ss-helper> Re: Changing the way content editors work with silverstripe - http://www.silverstripe.org/community/forums/general-questions/show/101271#post400749
764: [23:11:58] * antmas looks at ss23
765: [23:12:01] <antmas> >.>
766: [23:12:04] <antmas> dat +
767: [23:18:00] <ss23> + is prettier
768: [23:20:13] <spronk2> man the ORM joins are yucky
769: [23:20:29] <ss23> yeah
770: [23:20:30] <ss23> :(
771: [23:20:31] <ss23> No good ORMs
772: [23:20:39] <ss23> Just varying degrees of bad
773: [23:21:50] * veb has joined #silverstripe
774: [23:23:08] <spronk2> also
775: [23:23:11] <spronk2> why do the docs use " "s
776: [23:23:12] <spronk2> and lots of \
777: [23:25:45] <Hailwood> In silverstripe templates is a Filter classed as a scope?
778: [23:26:28] * veb quit (Client Quit)
779: [23:27:26] <Hailwood> Since if I have <% loop $DataList %> $Up.SomeFuncOnPage <% end_loop %> will work fine, but if it's $DataList.Filter('Something', 'Value') then it needs to be $Top.SomeFunOnPage or $Up.Up.SomeFuncOnPage ..
780: [23:27:52] <Colin[pi]> ss23: don't worry, object databases will solve all of our problems.... amirite? *sound of crickets*
781: [23:28:22] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
782: [23:29:29] <spronk2> Passing a $join statement to will filter results further by the JOINs performed against the foreign table. It will not return the additionally joined data.
783: [23:29:30] <spronk2> what the fuck
784: [23:29:31] <spronk2> does that mean
785: [23:29:36] * Sj0hn quit ()
786: [23:30:12] <ss23> lol Colin[pi]
787: [23:41:04] * travis-ci has joined #silverstripe
788: [23:41:05] <travis-ci> silverstripe/silverstripe-framework#4450 (3.1 - c1a7a8d : Daniel Hensby): The build passed.
789: [23:41:05] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/de2aa472508d...c1a7a8d7bdeb
790: [23:41:05] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/54798302
791: [23:41:05] * travis-ci has left #silverstripe
792: [23:41:58] <ss-helper> Re: Simple POST method with SS_HTTPrequest example ? Any official Tutorial ? - http://www.silverstripe.org/community/forums/template-questions/show/101346#post400750

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