#silverstripe IRC Log

IRC log for 11 December 2014

All timestamps are in UTC.

1: [00:01:24] * flyklr quit ()
2: [00:07:21] * Shrike_Finland quit (Quit: Leaving.)
3: [00:09:43] * Olliepop has joined #silverstripe
4: [00:11:10] * wracu quit (Quit: Leaving)
5: [00:16:26] * antmas has joined #silverstripe
6: [00:18:28] * Liquide quit ()
7: [00:27:17] * glenn-bautista quit (Remote host closed the connection)
8: [00:27:47] * glenn-bautista has joined #silverstripe
9: [00:31:47] * glenn-bautista quit (Remote host closed the connection)
10: [00:33:40] * glenn-bautista has joined #silverstripe
11: [00:39:41] <simon_w|work> Oh no, their parents are dying!
12: [00:39:48] <simon_w|work> Because they didn't build any snowmen!
13: [00:40:03] * Ryan-Toast quit (Quit: Ryan-Toast)
14: [00:40:16] * micmania1 quit (Quit: micmania1)
15: [00:41:32] <Colin[pi]> simon_w|work: wat
16: [00:41:44] <simon_w|work> Colin[pi], DO YOU WANT TO BUILD A SNOWMAN?
17: [00:41:52] <simon_w|work> The parents die in the middle
18: [00:42:24] <Colin[pi]> jesus one year on and people are still talking about frozen?
19: [00:42:26] <Colin[pi]> ;P
20: [00:43:48] <mahfuz> Hey guys. Can anyone have a look in my code and suggest me on how should I make the CSV file so that it successfully imports through ModelAdmin - http://www.sspaste.com/paste/show/5488e32ab9402
21: [00:48:52] * Ryan-Toast has joined #silverstripe
22: [00:50:11] <antmas> wow Frozen is a year old?
23: [00:52:00] <simon_w|work> Depending on your country
24: [00:52:51] <antmas> Tangled was better
25: [00:54:09] * micmania1 has joined #silverstripe
26: [00:56:08] <mahfuz> Can any one give any idea on how should the CSV file look like for import to work through ModelAdmin?
27: [00:59:08] <JeremyRoundill> mahfuz: Export some to CSV and take the format from there.
28: [00:59:48] <JeremyRoundill> mahfuz: It's the old reverse engineering trick. Works every time 40% of the time.
29: [01:00:57] <antmas> JeremyRoundill: lol
30: [01:01:08] <antmas> it's true though, I do ti :D
31: [01:01:10] <antmas> it*
32: [01:04:28] <mahfuz> JeremyRoundill: Thanks for your reply. I did try that before asking the question to you guys. My Dataobject Code and ModelAdmin Code is in here if you could have quick look - http://www.sspaste.com/paste/show/5488e32ab9402
33: [01:04:52] <antmas> mahfuz: when you tried it, what happened?
34: [01:05:07] <antmas> nevermind, I see it
35: [01:05:40] <mahfuz> I also do the same thing for importing woocommerce products in wordpress. Export and then use the format for future importing
36: [01:06:37] <mahfuz> Do I have to do something more in the ModelAdmin?
37: [01:08:32] * jenniferaslan quit (Remote host closed the connection)
38: [01:16:16] * antmas quit (Quit: Page closed)
39: [01:19:19] <mahfuz> any suggestion for my issue above ^
40: [01:28:42] * micmania1 quit (Quit: micmania1)
41: [01:29:16] * micmania1 has joined #silverstripe
42: [01:34:00] * DimiStripe quit (Quit: DimiStripe)
43: [01:34:31] <Ryan-Toast> Anyone added a checkbox to gridField actions before so you can do something with whatever you’ve selected?
44: [01:39:22] <Tanger> mahfuz: You may need to make your own CSVBulkLoader to specify how the data is imported into the models
45: [01:39:33] <Tanger> mahfuz: Maybe, JUST maybe, it
46: [01:39:50] <Tanger> s having trouble deciding which kind of DataObject to import the data into
47: [01:40:51] <simon_w|air> Ryan-Toast, my GridFieldRelationHandler does
48: [01:41:56] <Ryan-Toast> simon_w|air: cheers, I’ll take a look :)
49: [01:42:10] <Ryan-Toast> simon_w|air: oh, module?
50: [01:42:21] <simon_w|air> Ryan-Toast, yes
51: [01:43:27] <Ryan-Toast> simon_w|air: looks good, brobeans
52: [01:43:41] * zippy has joined #silverstripe
53: [01:44:25] <zippy> UncleCheese: fyi, our rates are$2,471 rates year + $96 house insurance is month = so weekly would be $47 + $24 = $71. So really $515 rent vs $444 mortgage + addons. And then would have to factor in a rate rise as well.
54: [01:44:56] <simon_w|air> And your own maintenance costs
55: [01:45:04] <zippy> yup
56: [01:46:07] <zippy> don't get a weatherboard house :) otherwise you'll be buying sanders and paint and shit
57: [01:46:38] <Ryan-Toast> simon_w: I see you’re a fan of code commenting :/
58: [01:46:41] <zippy> still, owning a house has certainly improved my powertool selection :)
59: [01:46:42] <Ryan-Toast> :P **
60: [01:46:51] <Blacklite> owning a house lets you make more permanent changes
61: [01:47:05] <Kingy> yeah fuck that wall knock it down
62: [01:47:16] <zippy> Kingy: kid at work buy machine?
63: [01:47:27] <Kingy> I can't find her
64: [01:47:41] <zippy> imagination eh
65: [01:47:46] * zippy j/k
66: [01:47:49] <Kingy> rofl will ask now
67: [01:48:04] <Kingy> i'm going to go with no otherwise she would've said something
68: [01:50:22] <zippy> jezus, skype using 1gb of ram, whats going on with software these days
69: [01:50:58] <Kingy> zippy: telling you it needs a new computer :D
70: [01:51:11] <zippy> heh, game machine wouldn't replace my dev machine
71: [01:57:19] * mahfuz quit (Ping timeout: 246 seconds)
72: [01:58:14] <Colin[pi]> zippy: something very wrong there, mine is at 91MB
73: [01:58:21] <zippy> Colin[pi]: mmm
74: [01:58:29] <Kingy> zippy: her reply was 'forgot'
75: [01:58:42] <Colin[pi]> firefox is like ~900MB, but "lol firefox"
76: [01:58:58] <zippy> mm still a ram gobbler eh
77: [02:03:45] * veb quit (Quit: veb-irc: &)
78: [02:05:01] <Ryan-Toast> simon_w: using the GridFieldManyRelationHandler normally I’d pass in a relationlist to the gridfield, what would I pass to show all of the DO’s so I can checkbox them?
79: [02:05:25] <Ryan-Toast> since GF don’t like DataLists i.e MyDataObject::get()
80: [02:05:55] <simon_w|air> Ryan-Toast, you still pass in the RelationList. When setting the relation, it removes the relation filter
81: [02:06:18] <Kingy> couch is finishing on Trademe in 10min
82: [02:06:21] <Kingy> 8 watches
83: [02:06:27] <Kingy> BUY ITTTTT COME ONNNN
84: [02:06:31] <Ryan-Toast> simon_w|air: How can I view all dataobjects of that type in the gridfield, and use the checkbox to add the relationship?
85: [02:06:50] <simon_w|air> Ryan-Toast, should be a button below the grid field to toggle that
86: [02:06:51] <Ryan-Toast> Kingy: link?
87: [02:07:15] <Kingy> http://www.trademe.co.nz/Browse/Listing.aspx?id=816995238
88: [02:10:37] <Ryan-Toast> simon_w|air: `ah right, I see how that works now
89: [02:10:40] <zippy> Kingy: need to edit it - comes with free cmputer
90: [02:10:41] <zippy> :D
91: [02:10:47] <Kingy> rofl
92: [02:10:56] <Kingy> free blowjob
93: [02:11:01] <Kingy> about how im feeling right now
94: [02:11:19] <zippy> aren't you coming back thou?
95: [02:11:31] <Kingy> maybe, maybe not
96: [02:11:45] <Kingy> not for 2 1/2 years minimum
97: [02:12:13] * veb has joined #silverstripe
98: [02:13:23] <hailwood> Hey guys, Does anyone have a small example of using $Mod in a loop? basically I want "if $First, or every 3th iteration after that ( so $Pos = 1, 4, 7, 10) then output 'start' - if $Last or we are on a third iteration (so $Pos = 3,6,9) then output 'last' - I know the logic of it I'm just having a mind blank as to how to write it!
99: [02:14:30] <zippy> hailwood: , there is an xample in the docs
100: [02:15:21] <Kingy> 10se
101: [02:15:22] <Kingy> c
102: [02:15:59] <Ryan-Toast> simon_w|air: I do get this when creating a new DO though: http://www.sspaste.com/paste/show/5488f913166ee
103: [02:16:27] <simon_w|air> Ryan-Toast, so stop trying to manage a relation that doesn't exist yet
104: [02:16:56] <Ryan-Toast> simon_w|air: so run an if statement to check if there are any dos before running the config?
105: [02:17:15] <simon_w|air> Ryan-Toast, check to see if the current object has been written
106: [02:17:53] <simon_w|air> There's a reason the default scaffolder doesn't include to many relation handlers on unwritten objects
107: [02:17:54] <Ryan-Toast> simon_w|air: run an if id exists?
108: [02:18:05] <simon_w|air> if ($this->ID) { // do shit }
109: [02:18:10] <Ryan-Toast> sweet
110: [02:22:22] * Marvanni quit ()
111: [02:27:44] <Tanger> Help! Adobe is trying to eat my swap file?
112: [02:28:10] <Zauberfisch> I am having a weird issue
113: [02:28:37] <Zauberfisch> when I subclass a namespaced class, silverstripe does not recognise the subclasses
114: [02:28:48] <Zauberfisch> :O
115: [02:28:56] <Zauberfisch> simon_w|air: did you ever run into something like this?
116: [02:29:31] <zippy> is the subclass in a namespace as well?
117: [02:30:08] <Zauberfisch> yes
118: [02:30:09] * mahfuz has joined #silverstripe
119: [02:30:11] <Zauberfisch> but a different one
120: [02:30:30] <Zauberfisch> namespace A; class Foo extends \DataObject {}
121: [02:30:30] <simon_w|air> Zauberfisch, are you using an alias for the parent class?
122: [02:30:48] <mahfuz> Can any one shed some light on my problem with CSV file import? My code is here - http://www.sspaste.com/paste/show/5488e32ab9402
123: [02:30:52] <Zauberfisch> namespace B; use A\Foo; class Bar extends Foo {}
124: [02:31:00] <simon_w|air> Zauberfisch, can't use use
125: [02:31:07] <Zauberfisch> ok
126: [02:31:23] <Zauberfisch> figured as much, and tried class Bar extends \A\Foo {}
127: [02:31:29] <Zauberfisch> didn't work either as far as I can tell
128: [02:31:37] <Zauberfisch> oh, yes it did
129: [02:31:42] <Zauberfisch> just missed something
130: [02:32:21] <Zauberfisch> oddly enough ClassInfo registers all 3 versions: 'Foo', 'A\Foo' and '\A\Foo' but only 'A\Foo' returns the correct value
131: [02:33:01] <Zauberfisch> simon_w|air: so wait, does that mean that ClassInfo actually goes through files and parses them to get a list of subclasses?
132: [02:33:08] <simon_w|air> Yes
133: [02:33:13] <Zauberfisch> :S
134: [02:33:15] <Zauberfisch> scary
135: [02:33:24] <zippy> hence, super speedy :D
136: [02:33:27] <Zauberfisch> but that explains that
137: [02:34:12] <Zauberfisch> thanks a lot simon_w|air
138: [02:34:42] <Zauberfisch> but I am afraid this will be subject of my nightmares for the days to come
139: [02:34:46] <Zauberfisch> or nights
140: [02:35:06] <Zauberfisch> I didn't realize manifast was this ugly ^^
141: [02:36:12] <Stomach> Zauberfisch - its a scary beast
142: [02:36:19] <Stomach> the PEG for templates is worse
143: [02:38:49] <Zauberfisch> damn it, now I see how much work it is actually going to be to implement proper namespace support in ss
144: [02:39:07] * r_hector has joined #silverstripe
145: [02:51:04] <Colin[pi]> guise... I have two 5 page forms that need to be "made electronic"... has a lot of checkboxes, feedback in terms of Yes/No/Unsure etc...
146: [02:51:13] <Colin[pi]> should I userforms or just built a form from scratch?
147: [02:51:17] <Colin[pi]> *build
148: [02:51:32] * veb quit (Quit: veb-irc: &)
149: [02:52:44] <Stomach> build it from scratch
150: [02:52:48] <Stomach> ongoing maintenance
151: [02:52:50] <Colin[pi]> mm that's my feel too
152: [02:52:53] <Stomach> look after future Colin[pi]
153: [02:53:01] <Colin[pi]> mm and possibly show results in modeladmin
154: [02:53:16] <Colin[pi]> or reports, or something
155: [02:54:52] <Zauberfisch> Colin[pi]: I also prefer hand crafted forms over userforms
156: [02:55:19] <Colin[pi]> Zauberfisch: yeah, me too
157: [02:55:25] <Colin[pi]> these guys have a LOT of forms though
158: [02:55:33] <Colin[pi]> for some of the more simple ones, we're going with userforms
159: [02:55:41] <Colin[pi]> which seems to be going quite well
160: [02:55:51] <Colin[pi]> but these two are fairly hefty in size
161: [02:55:58] <Colin[pi]> and possibly need a little more workflow
162: [03:10:33] <mahfuz> JeremyRoundill and all others, I found the problem in importing from CSV file. As I was using the exported file as the format, the column names had spaces in between which didn't match with db fields.
163: [03:24:50] <hailwood> Hey guys, I have a class ContactPage extends UserDefinedForm{} and ContactPage_Controller extends UserDefinedForms_Controller{} I also have /themes/theme-name/templates/layouts/ContactPage.ss I've done a dev/build dev/build?flush=all ?flush=all from the /contact page and ?flush=all from the root - but nothing is making it pick up the new template any ideas?
164: [03:25:29] <hailwood> * /templates/Layout/ContactPage.ss
165: [03:29:36] * Ryan-Toast quit (Quit: Ryan-Toast)
166: [03:30:13] * muskie9 quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
167: [03:32:27] * spekulatius quit (Quit: Leaving)
168: [03:35:14] <Kingy> JeremyRoundill Colin[pi] Blacklite: dem train changes
169: [03:35:21] <Colin[pi]> ?
170: [03:35:34] <Kingy> www.counter-strike.net/reintroducing_train
171: [03:35:47] <Kingy> CZ has also been nerfed
172: [03:35:55] <Kingy> LDLCZ no more
173: [03:37:24] <Colin[pi]> oh they're changing train again?
174: [03:37:45] <JeremyRoundill> Train changes? :O
175: [03:37:51] <Kingy> yep
176: [03:37:53] <Kingy> massive as well
177: [03:38:25] <JeremyRoundill> Holy dicks
178: [03:38:29] <JeremyRoundill> Looks way different.
179: [03:38:52] <Kingy> people already complaining that it's too simple lol
180: [03:38:54] <JeremyRoundill> Who did they have help them do this, any good map creators?
181: [03:39:01] <JeremyRoundill> Jeez.
182: [03:39:04] <JeremyRoundill> Come off it, eh?
183: [03:39:27] <JeremyRoundill> You've got to play it a bit to see if it's enjoyable.
184: [03:39:31] <Colin[pi]> wow B has changed a bunch
185: [03:39:47] <Kingy> yeah
186: [03:40:01] <Kingy> not sure who did it JeremyRoundill but it's 3 months worth of work aparently
187: [03:40:03] <Kingy> apparently
188: [03:40:25] <JeremyRoundill> Hmm
189: [03:40:28] <JeremyRoundill> Looks alright anyway/
190: [03:40:34] <JeremyRoundill> I just wonder what the angles are like.
191: [03:40:44] <JeremyRoundill> I never played train too much because I didn't find it too fun.
192: [03:55:47] <mahfuz> JeremyRoundill: I found the problem in importing from CSV file. As I was using the exported file as the format, the column names had spaces in between which didn't match with db fields
193: [03:55:55] * wilsonstaff has joined #silverstripe
194: [03:56:51] <wilsonstaff> Hi to all, is there still such a thing as SimpleHTMLField? I dont need full capabilities of HTMLEditorField, just a textfield where i could insert some HTML tags.
195: [03:58:34] <Zauberfisch> I don't think there ever was in core
196: [03:58:45] <Zauberfisch> was probably I a module
197: [03:59:00] <Zauberfisch> I think I remember there was something from UncleCheese in 2.4
198: [03:59:07] <Zauberfisch> but I am pretty sure thats no longer the case
199: [04:00:02] <wilsonstaff> <Zauberfisch>So what are my options apart modifying the HTMLEditorField options? I remember i inserted some HTML tags into a textfield. TextareaField?
200: [04:08:19] * mirrors has joined #silverstripe
201: [04:09:33] <mirrors> hey there UncleCheese . Does your module DisplayLogic support the comparison ->isNotChecked() ....or is there way I can use the other comparisons for this check
202: [04:12:20] * kerosene quit (Read error: Connection reset by peer)
203: [04:14:27] * kerosene has joined #silverstripe
204: [04:18:04] * Ryan-Toast has joined #silverstripe
205: [04:20:22] * hailwood quit (Remote host closed the connection)
206: [04:23:25] * cloph has joined #silverstripe
207: [04:23:49] * cloph_away quit (Ping timeout: 250 seconds)
208: [04:26:16] * Stomach_ has joined #silverstripe
209: [04:26:17] * simon_w|air quit (Excess Flood)
210: [04:26:54] * simon_w|air has joined #silverstripe
211: [04:26:55] * Stomach_ quit (Client Quit)
212: [04:29:03] * Stomach quit (Ping timeout: 265 seconds)
213: [04:31:40] * wilsonstaff quit (Ping timeout: 246 seconds)
214: [04:34:08] * glenn-bautista quit (Quit: Leaving.)
215: [04:35:40] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
216: [04:41:19] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
217: [04:44:02] * Ryan-Toast quit (Quit: Ryan-Toast)
218: [04:52:53] * micmania1 quit (Quit: micmania1)
219: [04:53:24] * mirrors quit (Quit: Page closed)
220: [05:03:57] * r_hector quit (Quit: Leaving.)
221: [05:10:52] * Pylsrk quit (Ping timeout: 246 seconds)
222: [05:49:49] * MichalKleiner is now known as MK_away
223: [05:51:47] * Colin[pi] quit (Ping timeout: 250 seconds)
224: [06:25:43] * Olliepop_ has joined #silverstripe
225: [06:25:46] * Olliepop quit (Ping timeout: 246 seconds)
226: [06:26:08] * Error404NotFound has joined #silverstripe
227: [06:28:44] * Kingy is now known as Kingy[a]
228: [06:41:37] * micmania1 has joined #silverstripe
229: [06:51:54] * micmania1 quit (Quit: micmania1)
230: [06:56:33] * hailwood has joined #silverstripe
231: [06:57:57] <hailwood> Hey guys, I have a strange issue here - If I upload images via the Files manager then the original file gets uploaded - which tells me that SS can write to the directory. I can also click "New Folder" and create a folder - which tells me it can create directories there as well. But when I upload images the _resampled directory is not getting created, and requests to resampled images are throwing a 403. Any ideas?
232: [06:58:59] * Stomach has joined #silverstripe
233: [07:00:05] <hailwood> Hey Stomach
234: [07:00:10] <Stomach> hey hey
235: [07:00:32] <hailwood> Hows it going tonight?
236: [07:03:13] * veb has joined #silverstripe
237: [07:07:01] <simon_w> hailwood, Files manager, as in AssetAdmin?
238: [07:07:11] <hailwood> simon_w, Yep
239: [07:11:19] <hailwood> simon_w, Also php is being run as www-data, and the folders created/files uploaded are owned by www-data:www-data directories being drwxr-xr-x and files being -rw-r--r-- so it doesn't seem likely that it's a permission error. perhaps a missing requirement for the image resizing?
240: [07:14:08] * veb quit (Quit: veb-irc: &)
241: [07:15:43] * veb has joined #silverstripe
242: [07:20:47] <hailwood> simon_w, Any ideas?
243: [07:24:14] * Error404NotFound quit (Quit: User guilty of hitting the Big Red X...)
244: [07:35:04] * Olliepop_ quit (Ping timeout: 246 seconds)
245: [07:40:28] <hailwood> Got it - php5-gd needed to be installed
246: [07:40:52] * Guits has joined #silverstripe
247: [07:48:31] * wmk has joined #silverstripe
248: [07:55:45] * Shrike_Finland has joined #silverstripe
249: [08:06:10] * arnhoe has joined #silverstripe
250: [08:10:34] * zippy has joined #silverstripe
251: [08:25:21] * veb quit (Read error: Connection reset by peer)
252: [08:25:58] * veb has joined #silverstripe
253: [08:33:10] * Error404NotFound has joined #silverstripe
254: [08:35:39] * DimiStripe has joined #silverstripe
255: [08:45:27] * simon_w|air quit (Max SendQ exceeded)
256: [08:46:18] * simon_w|air has joined #silverstripe
257: [08:55:17] * micmania1 has joined #silverstripe
258: [08:56:45] * hailwood quit (Quit: Leaving)
259: [08:57:23] * kinglozzer has joined #silverstripe
260: [08:58:11] * jeroenem has joined #silverstripe
261: [08:59:25] <jeroenem> i'm looking for a feedback tool for a live website - where users can drag an overlay and add comments, does anyone have experience with one of those systems? There are tons available, but most only work with website screenshots (JPG) instead of live-websites
262: [09:03:12] <jeroenem> http://notableapp.com/ seems nice
263: [09:05:46] <wmk> jeroenem, there is also a free plan for that
264: [09:06:29] <jeroenem> I remember SilverStripe used a similar tool for the new community site, does anyone remember what tool they used?
265: [09:09:14] <simon_w> jeroenem, if you're talking about the thing still on the new site, usable
266: [09:11:46] * veb quit (Quit: veb-irc: &)
267: [09:13:42] * Stomach quit (Quit: zzz)
268: [09:26:44] <Zauberfisch> btw, what is currently the reccomended composer require version for framework/cms?
269: [09:26:49] <Zauberfisch> and don't tell me self.version :P
270: [09:26:55] <Zauberfisch> *@stable ?
271: [09:27:57] <Zauberfisch> given that we have semver now, 3 => 4 might be what previously was considered to be 3.1 => 3.2, so it might not be that breaking
272: [09:28:05] <Zauberfisch> or is 3.x@stable still recommended?
273: [09:31:17] * arnhoe quit ()
274: [09:35:17] <jeroenem> simon_w: thanks
275: [09:35:33] * Colin[pi] has joined #silverstripe
276: [09:35:56] * Pycrnk has joined #silverstripe
277: [09:48:54] * willmorgan has joined #silverstripe
278: [09:49:41] * praveen_ has joined #silverstripe
279: [09:56:28] * Shrike_Finland quit (Quit: Leaving.)
280: [09:57:14] * zippy quit (Quit: Textual IRC Client: www.textualapp.com)
281: [10:03:22] <willmorgan> mornin
282: [10:05:47] * Kolin_ quit (Remote host closed the connection)
283: [10:05:55] * Kolin has joined #silverstripe
284: [10:06:39] <micmania1> Zauberfisch: 3.1.*@stable?
285: [10:09:25] * Colin[pi] quit ()
286: [10:10:46] <Zauberfisch> micmania1: 3.1.* :O
287: [10:10:49] <Zauberfisch> who would do that?
288: [10:10:58] <Zauberfisch> thats like ... super boring
289: [10:12:06] <micmania1> haha erm...
290: [10:18:40] * Shrike_Finland has joined #silverstripe
291: [10:43:05] <wmk> Zauberfisch, 3.1.* downloads latest dev-master afaik
292: [10:43:10] <wmk> not the latest release
293: [10:51:29] <kinglozzer> wmk: 3.1.*@dev would download the 3.1 branch I think, 3.1.* is the same as >=3.1, <3.2 so it should only match tags
294: [10:51:48] * kinglozzer tests
295: [10:52:05] <kinglozzer> Yeah, 3.1.* gets 3.1.8
296: [10:53:19] <kinglozzer> willmorgan: Are you aware of any way of specifying running tests against the '3' branch with travis / silverstripe travis support?
297: [10:53:46] <kinglozzer> I tried CORE_RELEASE=3 and CORE_RELEASE=3.2 but neither work :(
298: [11:00:33] * ThePeach has joined #silverstripe
299: [11:10:28] <Pycrnk> g'morn'n willmorgan
300: [11:10:45] <Pycrnk> Zauberfisch: haha, living on the wild side?
301: [11:15:39] <micmania1> Zauberfisch: https://github.com/micmania1/silverstripe-lumberjack :O SO CLOSEEEE
302: [11:16:04] * Guits quit (Ping timeout: 245 seconds)
303: [11:16:12] <micmania1> Zauberfisch: I need to clean a few things up then will push tomorrow for you to test
304: [11:16:49] <micmania1> Zauberfisch: The blog is still reliant on it as it directly extends the classes to provide further functionality.
305: [11:18:55] <micmania1> anyway, bed
306: [11:18:56] <micmania1> cya
307: [11:20:52] * Error404NotFound quit (Ping timeout: 256 seconds)
308: [11:21:24] <willmorgan> kinglozzer: not sure, i'd have to look
309: [11:22:48] <kinglozzer> willmorgan: No worries, was just checking in case you'd done it before
310: [11:24:00] <kinglozzer> Can't see any way of getting it through this section of code as 3.x-dev: https://github.com/silverstripe-labs/silverstripe-travis-support/blob/master/travis_setup.php#L67-L77
311: [11:35:32] * praveen__ has joined #silverstripe
312: [11:35:37] <praveen__> Hi
313: [11:36:07] <praveen__> Virtualpage does not loop throug the DataObjects of the copiedpage
314: [11:37:02] <praveen__> In every page I have added Loop Tags DataObject .It does not work on the virtual Page
315: [11:37:24] <praveen__> Is there a another way to do it?
316: [12:15:36] <Zauberfisch> wmk: no, now that we have semver dev-master is actually silverstripe 4.x
317: [12:15:59] <Zauberfisch> wmk: so 3.x will fetch branch 3
318: [12:16:06] <Zauberfisch> 3.1.x will fetch branch 3.1
319: [12:17:23] * lerni_ has joined #silverstripe
320: [12:23:15] * Guits has joined #silverstripe
321: [12:29:55] * MrGuits has joined #silverstripe
322: [12:30:35] * Guits quit (Ping timeout: 272 seconds)
323: [12:31:31] * arnhoe has joined #silverstripe
324: [12:32:12] * MrGuits quit (Read error: No route to host)
325: [12:32:29] * Guits has joined #silverstripe
326: [12:34:14] <wmk> Zauberfisch, you're absolutely right. not dev master but lastest 3.1
327: [12:34:30] <wmk> via git clone. no cached download of a release
328: [12:36:00] <Zauberfisch> well, depends. if you do @stable then it will be a release
329: [12:36:07] <Zauberfisch> at least I think
330: [12:36:13] <Zauberfisch> if you do @dev then its git clone
331: [12:37:12] <wmk> cool.
332: [12:37:12] * Robke has joined #silverstripe
333: [12:37:23] <Robke> hello
334: [12:37:26] <wmk> i wondered how to update to latest ss release without changing composer.json
335: [12:37:28] <wmk> hi Robke
336: [12:37:39] <Robke> how are you? :)
337: [12:37:43] <wmk> fine, 10x.
338: [12:37:55] <wmk> just building a new site.
339: [12:38:00] <wmk> with some online management
340: [12:38:06] <wmk> and xlsx export. was quite easy
341: [12:38:22] <Robke> nice :)
342: [12:38:33] <Pycrnk> wmk: what did you use for xlsx creation?
343: [12:38:59] <praveen_> Hi
344: [12:39:01] <praveen_> virtual page not inheriting allowed children from the copied page
345: [12:39:10] <Pycrnk> Are using PHPExcel here, but it's SUPER memory intensive :<
346: [12:39:11] <wmk> Pycrnk, https://github.com/axyr/silverstripe-phpexcel
347: [12:39:17] <Pycrnk> oh, pah :<
348: [12:39:24] <wmk> which is basically using phpexcel
349: [12:39:24] <Pycrnk> works well enough, but OMG the memories!
350: [12:39:24] <Robke> i have an issue :) im building web with users and i want to have settings page which extend userdefined forms :) everything works fine but now i need to let user to upload picture, show it in front and and save it in CMS :) are there any examples? :)
351: [12:39:39] <Pycrnk> wmk: have had to push limit up to 600M recently, still climbing.
352: [12:39:51] <wmk> Pycrnk, how many records do you export?
353: [12:39:57] <Pycrnk> All of them :<
354: [12:40:00] <wmk> i think it will be 500 - 1000 records
355: [12:40:01] <Pycrnk> (30k)
356: [12:40:07] <Pycrnk> ish
357: [12:40:08] <wmk> subscriptions for a half marathon
358: [12:40:21] <Pycrnk> oh yeah, cool. Shouldn't be too bad then.
359: [12:40:44] <Pycrnk> Robke: not from userforms, no sorry.
360: [12:40:48] <wmk> though i want to export xlsx from reports on another site
361: [12:40:56] <Robke> damn :(
362: [12:40:57] <Pycrnk> it sounds though that userforms isn't really the best fit for this kind of thing though.
363: [12:41:06] <Robke> maybe :/
364: [12:41:19] <Zauberfisch> I don't get it
365: [12:41:19] <Robke> but maybe there are some examples without userdefined forms? :)
366: [12:41:24] <Pycrnk> Zauberfisch: ?
367: [12:41:30] <wmk> Robke, there was a module around for useres managing their profile
368: [12:41:34] <Pycrnk> Robke: you make your own form.
369: [12:41:35] <Zauberfisch> why does 3.x@dev fetch 3.1.x-dev and not 3.2.x-dev ?
370: [12:41:38] <Pycrnk> but yes, there is member-profiles
371: [12:41:43] <wmk> ah
372: [12:41:43] <Pycrnk> (module)
373: [12:41:45] <wmk> yes.
374: [12:41:57] <wmk> Robke, memberprofiles module could be a good start
375: [12:41:57] <Pycrnk> Zauberfisch: is there a 3.2.x ?
376: [12:41:58] <Robke> ok i will google thanks
377: [12:42:22] <wmk> Robke, https://github.com/silverstripe-australia/silverstripe-memberprofiles
378: [12:42:35] <Robke> im cheking it thanks
379: [12:42:44] <Zauberfisch> Pycrnk: yes
380: [12:42:47] <wmk> have fun ;)
381: [12:42:53] <praveen_> Is it possible to restrict allowed childrens on the ViritualPage?
382: [12:42:55] * Guits quit (Read error: No route to host)
383: [12:42:57] <Pycrnk> Oh, the times move so fast.
384: [12:43:07] * Guits has joined #silverstripe
385: [12:43:08] <Pycrnk> praveen_: virtual pages don't get their own infos.
386: [12:43:19] <Zauberfisch> praveen_: yes. you can specify it in yml I believe
387: [12:43:24] <wmk> praveen_, aint it the same restrictions as the origin page?
388: [12:43:30] <Zauberfisch> VirtualPage:
389: [12:43:35] <Zauberfisch> allowed_children:
390: [12:43:43] <Zauberfisch> - 'FooPage'
391: [12:43:51] <Zauberfisch> - '*Page'
392: [12:44:07] <praveen_> Can I have the allowed children based on the copied page
393: [12:44:18] <Pycrnk> dunno
394: [12:44:27] <Zauberfisch> this will allow FooPage and Page (but no subclasses of Page) to be created on the page
395: [12:44:28] <Pycrnk> I'd have thought that to be the case already.
396: [12:44:32] <Zauberfisch> praveen_: pretty sure you can't
397: [12:44:46] * MrGuits has joined #silverstripe
398: [12:45:06] <Pycrnk> Zauberfisch: so are you keen for a teleconf early next year?
399: [12:45:13] <Zauberfisch> that stuff is config level, so doing it on a per page case will probably be a lot of work
400: [12:45:21] <Zauberfisch> teleconf? :O
401: [12:45:29] <Pycrnk> yeah, Anselm tweeted the idea out
402: [12:45:48] <Pycrnk> after that Hack.Summit was a thing
403: [12:45:55] <Zauberfisch> haven't spoken to anyone in the ss community recently, have just been to busy D:
404: [12:46:02] <Pycrnk> I've noticed :<
405: [12:46:02] <Zauberfisch> Hack.Summit? :O
406: [12:46:06] <Pycrnk> yeah, haha
407: [12:46:17] <Zauberfisch> have I been gone this long? :O
408: [12:46:19] <Pycrnk> there was this huge online conference from Hack.Hands
409: [12:46:29] <praveen_> Thanks anyway
410: [12:46:31] <Zauberfisch> link?
411: [12:46:37] <Pycrnk> apparently. It's been a couple of months at least that I've noticed.
412: [12:46:52] <Pycrnk> Zauberfisch: https://hacksummit.org/
413: [12:48:05] * Guits quit (Ping timeout: 258 seconds)
414: [12:51:37] <Zauberfisch> Pycrnk: its not a terrible idea
415: [12:52:22] <Zauberfisch> especially given the somewhat smaller community of silverstripe that is scattered around the workd
416: [12:52:57] <Pycrnk> quite
417: [12:53:13] * praveen__ quit (Ping timeout: 246 seconds)
418: [12:53:13] * praveen_ quit (Ping timeout: 246 seconds)
419: [12:53:19] <Pycrnk> Anselm suggested getting in a group skype session or something in the new year :)
420: [12:53:29] <wmk> sounds useful ;)
421: [12:53:30] <Pycrnk> with kinglozzer and I
422: [12:53:43] <Robke> Pycrnk: maybe you can share example of uploading fiel from front end to backend? :)
423: [12:54:00] <Pycrnk> Robke: simpleuploadfield maybe
424: [12:54:06] <Pycrnk> err, simplefilefield
425: [12:54:08] <Pycrnk> something like that
426: [12:54:14] <Robke> ok thanks
427: [12:55:45] <Pycrnk> Zauberfisch: https://github.com/micmania1/silverstripe-lumberjack/issues
428: [12:55:54] <Pycrnk> did I miss something?
429: [12:56:53] <Pycrnk> omg I went to log into a local SS install (for the first time in about 4 months) and went to automatically type the old company's access details in on autopilot (where I haven't worked for over a year)
430: [12:56:59] <Pycrnk> lulz
431: [12:58:03] <wmk> Pycrnk, well, THAT's an issue...
432: [12:58:16] <wmk> you can raise nearly everywhere
433: [13:01:41] * Werner_2_ has joined #silverstripe
434: [13:04:37] * wmk quit (Ping timeout: 240 seconds)
435: [13:05:31] * arnhoe quit (Remote host closed the connection)
436: [13:08:54] <Pycrnk> wmk: hmm?
437: [13:10:50] * Werner_2_ is now known as wmk
438: [13:10:58] <Pycrnk> wmk: hmm?
439: [13:11:06] <wmk> the issue you raised at the lumberjack module
440: [13:11:19] <Pycrnk> why I should use Y over X?
441: [13:11:24] <wmk> yup
442: [13:11:42] * Shrike_Finland quit (Quit: Leaving.)
443: [13:11:44] <Pycrnk> A lot of functionality some modules provide isn't baked in, or provides something extra that other similar modules do not.
444: [13:11:58] <Pycrnk> however this one (thus far at least) sounds just like clicking the list view button.
445: [13:12:04] <Pycrnk> Maybe it's a joke. IDK.
446: [13:12:10] <wmk> ;)
447: [13:12:11] <Pycrnk> it's not april fools :P
448: [13:12:21] <wmk> no, it's december
449: [13:12:31] <Pycrnk> install that module, click the list view button, and boom, sitetrees in a gridfield! :D
450: [13:12:33] <Pycrnk> xD
451: [13:12:59] <wmk> there are some modules like that, e.g. catalogmanager
452: [13:13:09] * willmorgan quit (Ping timeout: 245 seconds)
453: [13:13:13] * willmorgan1 has joined #silverstripe
454: [13:13:22] <wmk> modeladmin subclass with some sitetree related functionality
455: [13:13:30] <Pycrnk> Some are specific to a use case, like they manage subpages of a type (news page holding articles, etc)
456: [13:14:03] * UndefinedOffset has joined #silverstripe
457: [13:14:17] <wmk> well, afaik it's a more general version of the blogmanager
458: [13:18:08] <Robke> anyone uses irc in ubuntu not on browser? :)
459: [13:19:54] * arnhoe has joined #silverstripe
460: [13:20:00] <wmk> Robke, i prefer xchat
461: [13:20:09] <wmk> on linux and windows
462: [13:27:54] <Zauberfisch> irssi - the client of the future!
463: [13:28:00] <Zauberfisch> http://www.irssi.org/
464: [13:29:01] <wmk> Zauberfisch, why should i use it?
465: [13:29:24] <Zauberfisch> because it works in a terminal over ssh
466: [13:29:34] <wmk> that's neat
467: [13:29:43] <Zauberfisch> thats how I am online 24/7
468: [13:29:54] <Zauberfisch> irssi is running in a screen on a server
469: [13:30:15] <Zauberfisch> and when I want to chat I ssh to that server
470: [13:30:40] <Zauberfisch> this even allows me to have the same chat window on multiple PCs
471: [13:43:16] <Pycrnk> Robke: hexchat
472: [13:43:35] <Pycrnk> wmk: yeah, irssi + screen :>
473: [13:43:56] <Pycrnk> or if you're not a fan, there's a newer thing called weechat which is console based.
474: [13:44:10] <Pycrnk> never used it though.
475: [13:51:44] * headtrip has joined #silverstripe
476: [14:14:24] * Guits has joined #silverstripe
477: [14:16:37] * MrGuits quit (Ping timeout: 250 seconds)
478: [14:18:58] * Robke quit (Ping timeout: 246 seconds)
479: [14:20:01] <Zauberfisch> Pycrnk: looking at the weechat screenshot it looks pretty much like irssi
480: [14:28:03] * muskie9 has joined #silverstripe
481: [14:43:22] * mento has joined #silverstripe
482: [14:43:53] * mento quit (Client Quit)
483: [14:45:58] <Pycrnk> Zauberfisch: yeah, but it's not a fork (afaik)
484: [14:54:35] * Shrike_Finland has joined #silverstripe
485: [15:12:47] * catcher has joined #silverstripe
486: [15:17:40] <Eliseth> Hello
487: [15:17:42] <Eliseth> (again)
488: [15:19:10] <Eliseth> Question: I have a large member database that I need to convert to silverstripe. These members logon using a login ID (number) and password (MD5 hashed) which has to be maintained.
489: [15:19:23] <Eliseth> I read the following in the reference: Basic rule: Class Member should just be extended for entities who have some kind of login. If you have different types of Members in the system, you have to make sure that those with login-capabilities have unique email-addresses (as this is used for login-credentials).
490: [15:19:32] <Eliseth> Half of these members don't have an e-mail address
491: [15:19:50] <Eliseth> Any pointers to where I must look to create what I need? :)
492: [15:25:06] <willmorgan1> The "email" field in the database can just be repurposed to store the username
493: [15:25:41] <willmorgan1> until you force them to update it to use their email address, and update their password to use silverstripe's password strategy (which uses bcrypt + salts)
494: [15:26:16] <Eliseth> They won't be able to change it, this information will be synced from a custom backoffice system
495: [15:26:16] <willmorgan1> sounds like the other stuff is quite basic - you just need a couple of flags... like "have they migrated their password", and "what kind of user is this?"
496: [15:26:32] <willmorgan1> right
497: [15:26:40] <Eliseth> So it's static import (daily) and they must be able to logon using their ID and password
498: [15:26:51] <willmorgan1> in that case I wouldn't bother storing the password in md5 at all, I'd just have them passwordless and then forward the logon request to the backoffice
499: [15:27:40] <Eliseth> Also not an option, since the login must be availabe even when backoffice isn't :)
500: [15:28:16] <willmorgan1> fun
501: [15:28:26] <Eliseth> Yeah... I know
502: [15:28:39] <willmorgan1> what specifically are you stuck on?
503: [15:29:59] <Eliseth> How to extend member (should I?) with number of custom fields including a "LoginID" and "passWord" and how to use those fields for login
504: [15:30:28] <willmorgan1> you can get away with using a MemberExtension object
505: [15:30:44] <willmorgan1> class BackofficeMemberExtension extends DataExtension
506: [15:30:44] <willmorgan1> {
507: [15:30:44] <willmorgan1> }
508: [15:31:12] <willmorgan1> then add it in YML:
509: [15:31:26] <willmorgan1> Member:
510: [15:31:26] <willmorgan1> extensions:
511: [15:31:26] <willmorgan1> - BackofficeMemberExtension
512: [15:32:45] <Eliseth> Yes, but that's where I got confused, because of the reference that email address is used as login by silverstripe, and I don't want that (even if email is present)
513: [15:32:45] * Shrike_Finland quit (Quit: Leaving.)
514: [15:33:16] <willmorgan1> okay, so in the BackofficeMemberExtension, you want to add a field called "Username" (or similar)
515: [15:33:35] <Eliseth> correct
516: [15:33:35] <willmorgan1> and you want to override the unique_identifier_field, to Username
517: [15:33:47] <willmorgan1> and then add a database unique index to the Username field
518: [15:33:57] <willmorgan1> have a look at Member.php's unique_identifier_field
519: [15:34:10] <willmorgan1> you can simply override this in the BackofficeMemberExtension too
520: [15:34:41] <Eliseth> I did not know that, thank you
521: [15:34:53] <willmorgan1> I would suggest that you use BackofficePassword instead of Password here, because SilverStripe has a lot of useful functionality around automatically hashing passwords
522: [15:35:08] <willmorgan1> so if you were to do:
523: [15:35:08] <willmorgan1> $member->Password = '<md5 hash>';
524: [15:35:13] <willmorgan1> it would double hash it
525: [15:35:26] <willmorgan1> so keep the Password field empty
526: [15:35:37] <willmorgan1> the only caveat is that you'll need to write your own Authenticator
527: [15:35:54] <willmorgan1> which is quite easy... but you'll need to disable the default MemberAuthenticator
528: [15:37:02] <willmorgan1> if you have a look at Authenticator and MemberAuthenticator, you basically need to extend and re-implement some of the functions there, to look at the different password field
529: [15:37:40] <willmorgan1> as for the importing of the back office data... you could do it via CSV and use a CSV importer
530: [15:39:17] <Eliseth> Using a custom task
531: [15:40:33] <Eliseth> Thanks for the pointers. Kinda much to take in as I'm just a beginner in all of this, but I appreciate the help. Hopefully I get it fixed :D
532: [15:41:12] <willmorgan1> it's fine. good luck
533: [15:44:14] * wilsonstaff has joined #silverstripe
534: [15:45:16] <wilsonstaff> Hi to all, I've been searching for hours..... There must be a way to create a textfield that accepts HTML tags <br/><strong> without having to deal with the TinyCME beast????
535: [15:45:47] <wilsonstaff> I mean, i need BOTH TinyCME and that special textfield.
536: [15:46:16] <willmorgan1> like I said, wilsonstaff, have you considered customising an instance of the HTMLEditorField to restrict controls?
537: [15:49:41] <wilsonstaff> <willmorgan1>Read that. But can i customize only ONE TinyCME? ID guess yes? But its not less easier/shorter/bearable than using a stock TinyCME..... I really miss that SimpleHTMLField instance that i used to use.. Where is it?
538: [15:50:06] <willmorgan1> no... you can customise an *instance*
539: [15:52:22] <willmorgan1> it's a bit convoluted
540: [15:52:27] <willmorgan1> but it's possible to use HtmlEditorConfig
541: [15:52:36] <wilsonstaff> <willmorgan1>Having to modify that instance is more work that i am willing to do to create such a simple thing as a TextField.....
542: [15:52:49] <willmorgan1> well then
543: [15:52:56] <wmk> how can i exclude all DO where a field is NOT set?
544: [15:53:33] <willmorgan1> I guess you could wait until someone builds it for you
545: [15:53:40] <willmorgan1> or you could simply copy the SimpleHTMLEditorField
546: [15:53:46] <willmorgan1> or you could pay someone to do it for you
547: [15:54:05] <willmorgan1> wmk: $dataList->exclude('FieldName', '');
548: [15:54:10] <wmk> ->exclude(array('FieldName' =>null)) ....
549: [15:54:18] <wmk> willmorgan1, thanks, had a typo
550: [15:54:20] <willmorgan1> oh, you mean SQL null?
551: [15:54:27] <wmk> which threw an odd error
552: [15:54:28] <willmorgan1> ahh, cool
553: [15:54:29] <wilsonstaff> <willmorgan1>I think it came up from Uncle Cheese DataManagerObject
554: [15:55:19] <willmorgan1> is this 2.4 or 3.x you're using wilsonstaff?
555: [15:55:56] <wmk> omg
556: [15:55:57] <wmk> good ol' times ;)
557: [15:56:17] <wilsonstaff> <willmorgan1>Using SS3.1.2
558: [15:56:22] <willmorgan1> okay
559: [15:56:26] <willmorgan1> yeah, no more DataObjectManager there
560: [15:56:37] * jamesbrowne has joined #silverstripe
561: [15:56:38] <willmorgan1> you can try copying and modifying SimpleHTMLEditorField to your requirements
562: [15:56:49] <willmorgan1> that's the laziest way of doing it
563: [15:57:23] <wilsonstaff> <willmorgan1>Okay, as i said, i remember «using» it in an older project, probably a 2.4.x one using DataObject.
564: [15:57:55] <willmorgan1> ok
565: [15:58:06] <willmorgan1> so, go and find it ;P
566: [15:59:00] <wilsonstaff> <willmorgan1>Thanks!
567: [16:02:55] * arnhoe quit ()
568: [16:03:16] * wilsonstaff quit (Ping timeout: 246 seconds)
569: [16:04:46] * wilsonstaff has joined #silverstripe
570: [16:05:26] <wilsonstaff> <willmorgan1>What is the difference between HTMLVarchar and HTMLText and Text when creating in public static $db = array ?
571: [16:06:45] <willmorgan1> you know the difference between Varchar and Text right?
572: [16:07:48] <willmorgan1> Varchar has a field length limit of 255 chars, Text is a mediumtext field in MySQL
573: [16:08:00] <willmorgan1> (mediumtext allows a lot of storage compared to Varchar(255))
574: [16:08:19] <willmorgan1> to be honest if it's HTML, I would use HTMLText every time
575: [16:08:41] <wilsonstaff> <willmorgan1>Yes but that from the SS site have me think one can put HTML tags into a HTMLVarCHar => From SS Site HTMLVarCHar : A variable-length string of up to 255 characters, designed to store HTML
576: [16:08:43] <willmorgan1> using HTMLVarchar means that you could have a string longer than 255 chars, and it would be truncated on save (and break the HTML string)
577: [16:09:02] <willmorgan1> you can, but don't. it's a bad idea and should be deprecated IMHO
578: [16:09:03] <willmorgan1> use HTMLText
579: [16:09:25] <willmorgan1> adding "HTML" in front of "Text" or "Varchar" simply casts that DBField accordingly, so when it is rendered, HTML isn't escaped
580: [16:09:44] <wilsonstaff> <willmorgan1>So using HTMLText will enable HTML tags into the textfield?
581: [16:10:16] <willmorgan1> erm
582: [16:10:37] <willmorgan1> HTMLText is a storage method for SilverStripe
583: [16:10:41] <willmorgan1> it doesn't "enable" anything per se
584: [16:11:32] <wilsonstaff> <willmorgan1>Well replace enable but accepts....
585: [16:12:01] <wilsonstaff> <willmorgan1>I mean: do HTMLText will accept HTML tags into its TextField?
586: [16:12:19] <willmorgan1> yes, HTMLText will "accept" HTML tags into the database. but so will Text. it's simply how the field is cast when outputting a field directly into a template
587: [16:12:42] <wilsonstaff> <willmorgan1>If not, it should. So many times we dont need the cumbersome HTMLEditorField.
588: [16:13:11] <wilsonstaff> <willmorgan1>When you say casting, you mean => $fields->addFieldToTab('Root.Content.Main', new HTMLTextField
589: [16:14:09] <willmorgan1> well, if that's your opinion....
590: [16:18:45] * wmk quit (Quit: nice to meet you ;))
591: [16:19:05] <wilsonstaff> <willmorgan1>I hear a bit of derision..... I mean, i am no expert, thats a sure thing. But sometimes novice (which i am not exactly) always thrive for the simplest solution. And modifying an instance of HTMLEditorField simply for having a deceptively simple text field that renders HTML tags is everything BUT a simple solution.
592: [16:20:27] <willmorgan1> from a "getting things done" standpoint, you asked yesterday and are no closer to a solution
593: [16:20:46] <willmorgan1> seriously, the last thing I have to say is go and copy SimpleHTMLEditorField into your mysite folder and use that
594: [16:21:22] <willmorgan1> your DB casting for whatever field you want to save the data into should be HTMLText, but that doesn't change the functionality of the field you're using to insert the data into
595: [16:21:39] <wilsonstaff> <willmorgan1>Will try. Thanks for your patience.
596: [16:22:19] * arnhoe has joined #silverstripe
597: [16:22:19] * arnhoe quit (Client Quit)
598: [16:22:48] * lerni_ quit (Remote host closed the connection)
599: [16:24:10] * lerni has joined #silverstripe
600: [16:25:27] * willmorgan1 has left #silverstripe
601: [16:25:50] <Eliseth> Hmm, I did as you said but it throws the following error: class 'BackofficeMemberExtension' does not have a method 'add_to_class'
602: [16:26:18] <Eliseth> damn, he just left :D
603: [16:28:44] * lerni quit (Ping timeout: 272 seconds)
604: [16:34:25] * wilsonstaff quit (Ping timeout: 246 seconds)
605: [16:36:17] * jeroenem quit (Quit: Page closed)
606: [16:56:31] <muskie9> anyone have an idea on how I could disable validation on a multiform step if the user hits "Back"
607: [17:27:26] <Pycrnk> don't let them, going back still saves the info.
608: [17:28:03] <Pycrnk> if they hit back and you don't validate, you will also need to drop everything from that part of the form.
609: [17:28:12] <Pycrnk> or suffer errors
610: [17:28:15] <Pycrnk> iirc
611: [17:28:23] <Pycrnk> in short: don't bother.
612: [17:28:54] * Pycrnk quit ()
613: [17:29:49] * kinglozzer quit ()
614: [17:37:19] * Stomach has joined #silverstripe
615: [17:48:01] * ThePeach quit (Quit: leaving)
616: [18:01:20] * srixon has joined #silverstripe
617: [18:01:44] <srixon> gday.... i have this public function getSliderFiles() { $folder = Folder::find_or_make('slider'); return $folder->Children(); }
618: [18:02:20] <srixon> in the template i have this <% loop getSliderFiles %> $Image <% end_loop %> images aren't showing. is it $Image.URL $Image.SRC ?
619: [18:03:03] <srixon> The problem is in the template. I can get $Filename but not $Image
620: [18:09:04] * srixon quit (Quit: Page closed)
621: [18:10:56] * Stomach quit (Quit: zzz)
622: [18:12:18] * jamesbrowne quit (Quit: My Mac has gone to sleep. ZZZzzz…)
623: [18:33:52] * gelignite has joined #silverstripe
624: [18:39:06] * CodeTrap has joined #silverstripe
625: [18:47:44] * Samus has joined #silverstripe
626: [18:48:02] <Samus> Hey guys. Looking for some urgent help here.
627: [18:48:35] <Samus> A SilverStripe site has been live a while now and all of a sudden one of the pagetype's template stopped working.
628: [18:48:38] * Olliepop has joined #silverstripe
629: [18:48:56] <Samus> Its showing the standard Blue header, and grey background "Getting Started"
630: [18:49:25] <Samus> The PageType Names are all the same. I do have a top PageType in the templates folder and a Layout template.
631: [18:49:51] <Samus> As I said its only happened all of a sudden and no other page type is affected.
632: [18:50:11] <Samus> Just wondering what is the best way to debug this situation.
633: [18:50:35] <Samus> I know when people say its urgent... well unfortunately this page brings in alot of money for them...
634: [18:50:58] * lerni has joined #silverstripe
635: [18:51:49] * Stomach has joined #silverstripe
636: [18:58:07] <Samus> WOuld be great if someone could help if possible.
637: [18:58:52] * Kingy[a] is now known as Kingy
638: [19:04:58] <catcher> Samus, have you tried a /dev/build and ?flush=all?
639: [19:06:06] <catcher> Samus, & check the page type selected in the CMS
640: [19:10:56] * veb has joined #silverstripe
641: [19:12:09] * veb_veb_VEB has joined #silverstripe
642: [19:13:24] <Samus> Hi catcher.
643: [19:13:46] <Samus> I didn't do /dev/build as its a live site and its during peak business hours.
644: [19:13:55] <Samus> I did ?flush=all
645: [19:13:55] <JeremyRoundill> Samus: Have you checked the logs?
646: [19:14:05] <Samus> Yeah. But nothing from the logs.
647: [19:14:28] <Samus> WOuld deleting the cache from the folder?
648: [19:14:41] <Samus> I am just wondering what could have caused this...
649: [19:14:50] <Samus> Like, it just happened all of a sudden.
650: [19:14:59] <catcher> Samus, no file uploads, no CMS changes?
651: [19:15:18] <Samus> CMS changes, but they shouldn't of caused this.
652: [19:15:30] <catcher> If someone changes a page type, it could.
653: [19:15:59] * veb quit (Ping timeout: 272 seconds)
654: [19:16:30] <JeremyRoundill> Plus there's always the chance of a bug in your code which occurs only in certain circumstances (possibly relating to the content)
655: [19:16:31] <Samus> !!!!!!!!!
656: [19:16:38] <Samus> Really?
657: [19:16:50] <Samus> Someone did a pagetype change either today or yesterday...
658: [19:17:10] <Samus> Can I ask why that would have an affect?
659: [19:17:29] * veb_veb_VEB quit (Quit: veb-irc: &)
660: [19:18:41] <Samus> So, if that is the most likely cause how would I go in and fix it? Is it a caching issue or a database issue?
661: [19:19:39] <JeremyRoundill> Is it an incorrect page type?
662: [19:19:40] <catcher> Samus, when you change page types, it ...uses a different page.
663: [19:19:48] <JeremyRoundill> catcher, +1 :P
664: [19:20:16] * veb has joined #silverstripe
665: [19:20:25] <Samus> Oh sorry.
666: [19:20:30] <catcher> Samus, change it back. Maybe flush.
667: [19:20:32] <Samus> It wasn't the page itself that was turned.
668: [19:20:38] * veb quit (Client Quit)
669: [19:20:40] <Samus> Let me explain it more.
670: [19:20:53] <Samus> The issue page is called CoursePage
671: [19:21:14] <Samus> The page that was turned was a BlogTree Page... it was turned into a normal Page.
672: [19:21:29] <Samus> The CoursePages were all affected.
673: [19:21:50] <Samus> However, we can not pinpoint that the CoursePage went down before or after this pagetype change
674: [19:22:09] <catcher> Samus, did you change it back & flush? Results?
675: [19:22:23] <Samus> The previous BlogTree page was a parent of some of the CoursePages (a second parent)
676: [19:23:00] <catcher> Samus, maybe they inherited functions or properties that ceased to exist.
677: [19:23:57] <catcher> Or maybe a custom render. Impossible to say without seeing the custom code.
678: [19:24:56] <Samus> I don't think so. Because... (me explaining it more).
679: [19:25:41] <Samus> Ok. Imagine we have two CourseHolders (which hold the CoursePages) ...one is for the UK and one is for US
680: [19:26:08] <Samus> Only one parent was aletred.
681: [19:27:07] <Samus> So, before everything hit the fan. One parent (twice up) (US) was a normal Page type.
682: [19:27:35] <Samus> The Other Parent (which was changed and was previously a BlogTree) (UK) was altered
683: [19:29:36] <Samus> So I don't think that would cause the break down.
684: [19:32:30] <Samus> Ok... I changed the PageType back to BlogTree and ?flush=all
685: [19:32:33] <Samus> and it didn't work.
686: [19:34:02] * Ryan-Toast has joined #silverstripe
687: [19:35:03] * Shrike_Finland has joined #silverstripe
688: [19:36:34] <Samus> I did a debug_request on the URL and got this back...
689: [19:36:57] <Samus> Rule '$Action//$ID/$OtherID' matched to action 'handleAction' on CoursePage_Controller. Latest request params: array ( 'Action' => NULL, 'ID' => NULL, 'OtherID' => NULL, )
690: [19:37:06] <Samus> Action not set; using default action method name 'index'
691: [19:40:12] <Kingy> fucking car sold bitches
692: [19:40:29] <JeremyRoundill> Yay
693: [19:40:32] <JeremyRoundill> How much?
694: [19:40:42] <Kingy> took a bit of hit
695: [19:40:43] <Kingy> 6.5k
696: [19:40:58] <Kingy> really didn't want to go below 7 but she offered it in cash today
697: [19:40:59] <Kingy> so fuck it
698: [19:43:00] <catcher> Samus, is index the action you're hoping to hit in this case?
699: [19:43:01] <JeremyRoundill> True
700: [19:43:03] <JeremyRoundill> That's all good
701: [19:45:43] <Kingy> yeah, it pays the loan off and gives me a good chuck in hand so can't complain
702: [19:49:04] * antmas has joined #silverstripe
703: [19:50:27] <antmas> morning all
704: [19:52:19] <Kingy> hey matey
705: [19:52:46] <JeremyRoundill> o/
706: [19:53:47] <Kingy> apparently if you pay off loan early you get some of the interest back
707: [19:53:49] <Kingy> so that's also good
708: [19:54:00] <Kingy> paying it off 2 years early so fantastic
709: [19:56:34] <antmas> paying off loans is awesome
710: [19:56:57] <Kingy> yes!
711: [19:57:17] <Kingy> and with the rest of the money + my bonus I can say tata to the student loan
712: [19:58:01] <Kingy> JeremyRoundill: I'm watching pasha on twitch
713: [19:58:02] <Kingy> he's hilarious
714: [19:58:10] <Kingy> dem english sentences
715: [19:58:27] <antmas> Kingy: student loan payed off too?
716: [19:58:28] * headtrip quit (Quit: (null))
717: [19:58:36] <Kingy> antmas: will be soon
718: [19:58:50] <antmas> Kingy: fucking A+
719: [19:58:58] <Kingy> pretty good really
720: [19:59:05] <Kingy> 30k paid off in 3 1/2 years
721: [19:59:12] <Kingy> \o/
722: [19:59:17] <Samus> Hey Catcher...
723: [19:59:20] <Samus> I have NO IDEA.
724: [19:59:27] <Samus> it was the first time using it...
725: [19:59:28] <JeremyRoundill> Kingy: Ha
726: [19:59:38] <Samus> The template should be named CoursePage.ss
727: [20:00:00] <Samus> Wow Kingy: well done.
728: [20:01:49] <Kingy> thanks mate :D
729: [20:02:03] <catcher> Samus, did you upgrade SS or any modules?
730: [20:02:42] * travis-ci has joined #silverstripe
731: [20:02:43] <travis-ci> silverstripe/silverstripe-framework#3767 (3.1 - 644f38f : Damian Mooyman): The build passed.
732: [20:02:43] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/03bf7324a952...644f38f2d6cd
733: [20:02:43] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/43755242
734: [20:02:43] * travis-ci has left #silverstripe
735: [20:03:30] <Samus> Catcher: Nope... all that happen was that change pagetype.
736: [20:03:38] <Samus> *to the parent page
737: [20:04:08] <Samus> What would you guys usually do when a ClassName and ClassName's template is not recognised?
738: [20:04:38] <catcher> Samus, it's using your controller, according to your debug request. What does ?showtemplate=1 say?
739: [20:07:32] <Kingy> haha pasha... ok my friends acceptation... go go go my friends
740: [20:08:15] <Kingy> ahaha they got put in an american server
741: [20:08:27] <Kingy> that ping
742: [20:10:41] <Samus> Catcher: /var/www/aurumgroup.com/public_html/silverstripe-cache/algiz/.cache.framework.templates.Controller.ss
743: [20:10:45] <Samus> Shit.
744: [20:10:49] <Samus> ^_^;;
745: [20:10:52] <catcher> Samus, yep
746: [20:11:22] <Samus> It just shows the standard controller template.
747: [20:11:34] <JeremyRoundill> Kingy: Nice to hear your English, I need to learn English from you
748: [20:11:38] * pippy quit (Quit: Page closed)
749: [20:11:41] <Kingy> ^ haha
750: [20:11:49] <catcher> Samus, is that the correct site root?
751: [20:12:25] <JeremyRoundill> Kingy: My friend
752: [20:12:31] <JeremyRoundill> Kingy: Let's do it my friend
753: [20:12:39] <JeremyRoundill> Kingy: My friend.
754: [20:12:41] <JeremyRoundill> :P
755: [20:12:59] <Kingy> haha 'my friend' and biceps are the two english words he knows best
756: [20:13:05] <simon_w> Samus, that usually happens when the class doesn't have a matching controller
757: [20:13:07] <JeremyRoundill> :D
758: [20:13:25] <Kingy> what was hilarious was he was streaming one day and his wife called out to him 'YES MY FRIEND.. oh shit brb guys"
759: [20:13:44] <JeremyRoundill> Haha
760: [20:14:01] <JeremyRoundill> "Welcome, thank you my friend"
761: [20:15:21] <Ryan-Toast> We always give my mate shit because she went on this huge rant about only hooking into guys who she can have good conversations with, then I wingmanned her into this french guy who could say like three words.
762: [20:16:00] <Kingy> yeah well are you surprised
763: [20:16:23] <Ryan-Toast> To be fair he was like a french greek god
764: [20:16:35] <Ryan-Toast> I would have gone there
765: [20:16:39] <Kingy> yeah and that's slightly different to nz guys not speaking english properly lolol
766: [20:16:59] <Kingy> hurr durr nek minnnit
767: [20:17:13] <Ryan-Toast> CAN’T GRAB YOUR GHOST DRINKS, HURR HURR
768: [20:18:42] <Ryan-Toast> Ponsomby is the worst, a bunch of kids trying to impress each other with immature shit.
769: [20:18:50] <Ryan-Toast> Ponsonby
770: [20:22:52] * micmania1 has joined #silverstripe
771: [20:24:04] <Kingy> JeremyRoundill: hahahaha
772: [20:24:26] <JeremyRoundill> Eet's impossiblah
773: [20:24:39] <Kingy> wastes like 50 bullets trying to shoot chicken and still can't haha
774: [20:24:50] <JeremyRoundill> Yeah :D
775: [20:25:03] <JeremyRoundill> Boom, hs
776: [20:25:07] <Kingy> that lag haha
777: [20:25:13] <JeremyRoundill> :D
778: [20:25:16] <JeremyRoundill> Enough for me :)
779: [20:25:18] <Kingy> bang bang *hide*.. dies
780: [20:28:21] <Kingy> JeremyRoundill: they're doing well to be only 5-6 down
781: [20:29:44] * veb has joined #silverstripe
782: [20:30:14] <JeremyRoundill> Yeah, they are
783: [20:30:32] * veb is now known as vebb
784: [20:30:33] * vebb is now known as veb
785: [20:36:37] <Samus> catcher and simon_w: The classname and controller are the same.
786: [20:36:38] * DimiStripe quit (Quit: DimiStripe)
787: [20:36:39] * jamesbrowne has joined #silverstripe
788: [20:38:03] <Olliepop> hey guys, you know $formField->addExtraClass('classname') adds classname to the formfield and its container, is there a way to make it only add to the formfield?
789: [20:38:17] <Olliepop> as in the actual <input> element
790: [20:38:47] * MK_away is now known as MichalKleiner
791: [20:39:17] <MichalKleiner> Olliepop: can you really not live with the class on the container? in CSS that should be easily targetable as well..
792: [20:39:26] <MichalKleiner> but to you question - I don't know
793: [20:39:28] * veb_veb_VEB has joined #silverstripe
794: [20:39:46] <catcher> Olliepop, I don't think so, but you can write the markup yourself or target. ^
795: [20:40:22] <Olliepop> Yeah. I just want to have more control. I guess that can be a pull request :)
796: [20:40:44] <Olliepop> ->addExtraFieldClass or something
797: [20:43:16] * spekulatius has joined #silverstripe
798: [20:43:23] * veb quit (Ping timeout: 272 seconds)
799: [20:46:34] <Ryan-Toast> Olliepop: I override the input holder template
800: [20:47:42] <antmas> dat feeling when you delete someone's 50+ css rules and everything lines up better
801: [20:47:50] <Ryan-Toast> antmas: aww yiss
802: [20:48:18] <antmas> Ryan-Toast: hi5 o/
803: [20:48:27] <Ryan-Toast> \o
804: [20:48:30] * antmas is on a culling rampage
805: [20:48:36] <antmas> RRRRRRRR ampage
806: [20:49:27] <antmas> JeremyRoundill: was it you that mentioned Run the jewels?
807: [20:49:54] <JeremyRoundill> antmas, Yeah buddy!
808: [20:50:01] <antmas> JeremyRoundill: I like it :D
809: [20:50:06] <JeremyRoundill> Sweet :)
810: [20:50:09] <antmas> JeremyRoundill: do you like Atmosphere?
811: [20:50:18] <JeremyRoundill> I just heard the speech from Killer Mike and decided that I wanted to be a fan of them :)
812: [20:50:22] <JeremyRoundill> I haven't heard of them
813: [20:50:52] <Ryan-Toast> Olliepop: I just add “-group” to the extraclass on the FieldGroup: http://www.sspaste.com/paste/show/5489fe45d16bd
814: [20:51:38] <antmas> JeremyRoundill: https://www.youtube.com/watch?v=FV9nM_pmAz0
815: [20:55:22] <JeremyRoundill> antmas: Interesting.
816: [20:55:24] <JeremyRoundill> Pretty chill rap
817: [20:55:41] <JeremyRoundill> Have you heard of The Uncluded?
818: [20:55:42] * adrexia quit (Ping timeout: 258 seconds)
819: [20:55:51] <JeremyRoundill> Sorta fits nicely between rap and anti-folk. :)
820: [20:56:03] <Kingy> i'm an albatraoz
821: [20:56:08] <JeremyRoundill> It's a project of Kimya Dawson and Aesop Rock.
822: [20:56:08] <antmas> JeremyRoundill: yeah they're awesome
823: [20:56:18] <antmas> yeah those guys are awesome
824: [20:56:28] <antmas> Aesop is a genius
825: [20:56:46] <JeremyRoundill> Yeah, he's great
826: [20:57:27] <antmas> POLITICAL RAP
827: [20:57:33] <antmas> uh uh uh
828: [20:57:52] * Samus quit (Quit: Page closed)
829: [20:58:42] <antmas> anyone here with ANZ?
830: [20:58:58] <Kingy> yes me
831: [20:59:07] <JeremyRoundill> :)
832: [20:59:18] <antmas> Kingy: they any good?
833: [20:59:25] * antmas is with ASB
834: [20:59:30] <Kingy> yeah I like them
835: [20:59:37] <Kingy> never had any issues at all
836: [21:00:03] <antmas> we have a mortgage broker who thinks we should switch
837: [21:00:11] <antmas> but his reasons were like 'because reasons'
838: [21:00:38] <Kingy> if I were to get a loan it'd be with ANZ
839: [21:00:50] <Kingy> mortgage I mean
840: [21:01:00] <Kingy> I got a 10k loan for my car a couple of years back
841: [21:01:05] <Kingy> was easy as
842: [21:02:17] * Ryan-Toast been with ASB for 10 years
843: [21:03:19] <JeremyRoundill> https://www.youtube.com/watch?v=uHYhzg8QWbI
844: [21:05:31] * MichalKleiner is with ANZ
845: [21:05:37] <MichalKleiner> no problem so far
846: [21:06:11] <MichalKleiner> but I didn't need anything special apart from debit account and credit card
847: [21:06:16] <MichalKleiner> but raising my limit was also easy
848: [21:06:36] <MichalKleiner> and they gave me credit card even being on working holiday visa
849: [21:07:00] * adrexia has joined #silverstripe
850: [21:07:09] <antmas> yeah see everything with ASB seems easy
851: [21:07:32] <antmas> I'd switch though if anyone was else was better but most differences seems subjective
852: [21:08:00] * antmas has had 3 10K loans from ASB
853: [21:08:03] <antmas> was easy
854: [21:08:39] * jamesbrowne quit (Quit: Textual IRC Client: www.textualapp.com)
855: [21:09:33] <Kingy> yeah
856: [21:09:41] <Kingy> i don't really see the point in moving if you're happy
857: [21:10:01] <Kingy> like if the broker said if you go to ANZ you can get X more and pay Y less then sure
858: [21:12:04] * UndefinedOffset quit (Quit: Leaving.)
859: [21:15:46] * lerni quit (Remote host closed the connection)
860: [21:16:10] * hailwood has joined #silverstripe
861: [21:18:06] <hailwood> Hi guys, I have class ContactPage extends UserDefinedForm{} class ContactPage_Controller extends UserDefinedForms_Controller{}. I have a page in the CMS that is an ContactPage. I have themes/theme-name/templates/Layout/ContactPage.ss but SS is refusing to pick up that template.
862: [21:18:59] <hailwood> I've done dev/build?flush=all dev/build?flush=1 dev/build /contact-us?flush=all /contact-us?flush=1 and manually cleared the cache from /tmp/...
863: [21:19:10] * lerni_ has joined #silverstripe
864: [21:20:07] * veb_veb_VEB is now known as veb
865: [21:23:35] <Olliepop> Ryan-Toast cheers for the sspaste!
866: [21:23:44] <Ryan-Toast> Olliepop: no probs :)
867: [21:23:59] <Ryan-Toast> Olliepop: I would recommend just using the “>” operators in css though
868: [21:24:21] <JeremyRoundill> James Shaw is a beast. https://www.youtube.com/watch?v=bPzceA6RNZM
869: [21:25:42] * KF5WYX has joined #silverstripe
870: [21:25:50] <KF5WYX> Afternoon all.
871: [21:25:59] <Kingy> morning
872: [21:26:08] <JeremyRoundill> Morena, e hoa!
873: [21:26:17] <KF5WYX> I just installed module tcpdf and followed the very simple instructions - but when I try to save a pdf I find it's empty. Any ideas why?
874: [21:27:07] <Kingy> me pehea e koe
875: [21:27:26] <JeremyRoundill> Kei te pai ahau, me koe?
876: [21:27:32] <MichalKleiner> antmas: I think the reason might be a bonus for the broker to make you switch
877: [21:27:36] <MichalKleiner> that's how it works in Czech
878: [21:28:07] <MichalKleiner> you have same conditions but just for the sake of getting new customer broker gets some money out of it and you're even
879: [21:28:15] <MichalKleiner> or marginally better
880: [21:28:18] <Kingy> me koe haha
881: [21:28:47] <Kingy> no wait
882: [21:28:49] <MichalKleiner> same with life insurance and house insurance and car insurance..
883: [21:29:18] <JeremyRoundill> You mean kei te pai. :P
884: [21:30:41] <JeremyRoundill> Or kei te π. :P
885: [21:31:15] * muskie9 quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
886: [21:32:42] <Kingy> yeah i've run out lol
887: [21:32:47] <Kingy> was going to say fine my friend
888: [21:34:28] <antmas> MichalKleiner: yeah I think it will be
889: [21:35:01] <antmas> Kingy: sold the box yet?
890: [21:35:09] <Kingy> nah
891: [21:35:16] <Kingy> where's zippy when you need him
892: [21:36:06] * Shrike_Finland quit (Quit: Leaving.)
893: [21:37:16] <JeremyRoundill> Haha, e hoa is the equivalent of my friend.
894: [21:37:37] <JeremyRoundill> Kei te pai, e hoa = good, my friend
895: [21:37:46] <JeremyRoundill> Strictly kei te pai ahau, e hoa
896: [21:37:47] <JeremyRoundill> I thin
897: [21:37:48] <JeremyRoundill> k
898: [21:38:18] <Kingy> sounds about right
899: [21:38:26] <Kingy> haven't done maori in about 12 years
900: [21:39:59] <JeremyRoundill> I've been building tewhanake.vo2.co.nz
901: [21:40:04] <JeremyRoundill> So I've picked a bit up
902: [21:41:05] <Kingy> oh nice lol
903: [21:43:27] * muskie9 has joined #silverstripe
904: [22:09:25] * pippy has joined #silverstripe
905: [22:14:08] <antmas> Ryan-Toast: I think I've been through the playlist 5-6 times end to end now
906: [22:14:12] <antmas> good times
907: [22:14:18] <Ryan-Toast> antmas: :)
908: [22:14:19] * catcher quit (Quit: Leaving)
909: [22:14:27] <Ryan-Toast> I just put it on shuffle.
910: [22:14:37] <antmas> yeah same
911: [22:18:30] * lerni_ quit (Remote host closed the connection)
912: [22:21:10] * Colin[pi] has joined #silverstripe
913: [22:22:53] * KF5WYX quit (Quit: Page closed)
914: [22:23:01] * antmas quit (Ping timeout: 246 seconds)
915: [22:28:22] * antmas has joined #silverstripe
916: [22:40:17] * Ryan-Toast quit (Quit: Ryan-Toast)
917: [22:51:16] * Ryan-Toast has joined #silverstripe
918: [22:51:34] * R\w\C has joined #silverstripe
919: [22:54:01] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
920: [22:54:19] <antmas> Friday
921: [23:01:19] * r_hector has joined #silverstripe
922: [23:03:59] <Ryan-Toast> antmas: http://i.imgur.com/nISaUWx.jpg
923: [23:05:16] <antmas> haha just saw that on FB
924: [23:05:20] <antmas> Ryan-Toast: ^^
925: [23:05:38] <Ryan-Toast> antmas: We have decided to get drunk instead of working today.
926: [23:05:47] <antmas> LUCKY FOR SOME
927: [23:05:51] <Ryan-Toast> TIS THE SEASON
928: [23:06:14] <antmas> our customer relations database decided that old employers went full retard when setting a limit on the number of records
929: [23:06:22] <antmas> SO THAT'S WHAT WE'RE DOING TODAY
930: [23:06:41] <Ryan-Toast> I CAN’T HEAR YOU OVER THE BIG BOTTLES POPPIN'
931: [23:07:29] <antmas> http://www.neemantools.com/en/products/longbows
932: [23:07:32] <antmas> so much want
933: [23:08:12] * Guits quit (Ping timeout: 245 seconds)
934: [23:12:27] <antmas> Ryan-Toast: also booo Heinekin
935: [23:12:44] <Ryan-Toast> antmas: we have lots of different types here.
936: [23:16:05] * oetiker quit (Ping timeout: 264 seconds)
937: [23:17:21] * r_hector quit (Quit: Leaving.)
938: [23:17:23] <antmas> Kylo Ren
939: [23:17:26] <antmas> dunno about that name
940: [23:19:04] * r_hector has joined #silverstripe
941: [23:21:05] * wracu has joined #silverstripe
942: [23:21:13] <wracu> hi
943: [23:22:45] <wracu> I'm duplicating a DataObject, but there are several other DataObjects which have different types of relationships to it.
944: [23:22:56] <wracu> I want to prevent the $many_many relationship from being duplicated
945: [23:23:37] <MichalKleiner> wracu: how do you duplicate it? with clone?
946: [23:24:27] <wracu> wuth duplicate (function in DataObject.php
947: [23:24:30] <wracu> *with
948: [23:25:13] <wracu> ah... i now spot that there is a specific call in duplicate() which sets the relationship... $this->duplicateManyManyRelations($this, $clone);
949: [23:26:01] * pippy quit (Ping timeout: 246 seconds)
950: [23:26:03] <wracu> I'm guessing I should override the function and just leave this part out...
951: [23:26:49] <MichalKleiner> maybe have a look on merge() function on DO
952: [23:27:25] <MichalKleiner> if you merge empty DO with the one cloned you can set $includeRelations to false
953: [23:27:45] <MichalKleiner> I mean empty with existing to the resulting one
954: [23:28:00] <wracu> ok thanks I'll take a look
955: [23:29:25] * lerni has joined #silverstripe
956: [23:33:53] * lerni quit (Ping timeout: 250 seconds)
957: [23:39:24] * Ryan-Toast quit (Quit: Ryan-Toast)
958: [23:40:41] * glenn-bautista has joined #silverstripe
959: [23:41:23] * glenn-bautista1 has joined #silverstripe
960: [23:41:23] * glenn-bautista quit (Read error: Connection reset by peer)
961: [23:48:54] <mahfuz> Hey guys, how can I get a column of a dataobject as an array so that I can use it in filter of another dataobject retrieval?
962: [23:51:56] * Vanny has joined #silverstripe
963: [23:52:21] * Colin[pi] waves at Vanny
964: [23:52:27] * Vanny hi colin
965: [23:52:46] <Colin[pi]> hay guise, Vanny is a mate of mine, he's just starting out with SS.. be gentle
966: [23:53:17] * antmas looks at Colin[pi]
967: [23:53:20] <antmas> o.o
968: [23:53:22] <Colin[pi]> ^.^
969: [23:54:02] <Colin[pi]> I've been trying to convince him to install it for the past month or so
970: [23:54:11] <Colin[pi]> looks like he's taking the plunge :D
971: [23:54:22] <Vanny> should i be scared :P
972: [23:54:26] <Colin[pi]> Vanny: naw
973: [23:54:30] <Colin[pi]> you'll be fine
974: [23:54:35] * Colin[pi] lets out an evil laugh
975: [23:55:18] * veb is now known as vebb
976: [23:55:20] <Colin[pi]> antmas: what server do you run SS on again?
977: [23:55:23] <antmas> Vanny: WE'RE ALL SUPER HELPFUL IN HERE AND DON'T EVER GO OFF TOPIC
978: [23:55:30] <Colin[pi]> haha no never
979: [23:55:31] * vebb is now known as veb
980: [23:55:38] <antmas> Colin[pi]: server?
981: [23:55:43] <antmas> debian
982: [23:55:48] <Colin[pi]> no web server
983: [23:56:02] <Colin[pi]> apache?
984: [23:56:07] <antmas> oh
985: [23:56:08] <antmas> yup
986: [23:56:19] <Colin[pi]> ah k, Vanny will be going with IIS
987: [23:56:26] <antmas> ...
988: [23:56:32] <Colin[pi]> I thought you might have been using that since you're a MS head
989: [23:56:35] <antmas> good luck?
990: [23:56:38] <antmas> :P
991: [23:56:38] <Colin[pi]> lol
992: [23:56:51] <antmas> we may be going IIS next year
993: [23:56:58] <Colin[pi]> o rly? hmm
994: [23:56:59] <Vanny> IIS for now, if I like it I will build an apache server
995: [23:57:03] <Colin[pi]> kk
996: [23:57:19] <antmas> IIS is fine really
997: [23:57:20] <Colin[pi]> Vanny: apache is pretty easy to setup on windows if you need to
998: [23:57:23] <antmas> just a pain to debug
999: [23:57:53] <Vanny> I need both as I support so legacy systems and would prefer to keep seperate
1000: [23:58:08] <Colin[pi]> ah k
1001: [23:58:08] <antmas> mmm yeah legacy :/
1002: [23:58:14] <Colin[pi]> that old chestnut
1003: [23:58:17] <antmas> we do everything on IIS
1004: [23:58:19] <antmas> apart from SS
1005: [23:58:40] <Colin[pi]> what was the reason behind that antmas?
1006: [23:58:51] <Colin[pi]> was it just that it works better with apache overall?
1007: [23:58:53] <antmas> not sure, long before I cam here
1008: [23:58:56] <Colin[pi]> ah k

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