#silverstripe IRC Log

IRC log for 17 May 2016

All timestamps are in UTC.

1: [00:00:01] * ss-helper quit (Remote host closed the connection)
2: [00:00:18] * ss-helper has joined #silverstripe
3: [00:06:06] * Stomach has joined #silverstripe
4: [00:07:51] <irogue> http://iforce.co.nz/i/r1d2lbwo.byu.jpg
5: [00:20:25] <Stomach> thanks for your help last night :)
6: [00:34:34] * Azure quit (Remote host closed the connection)
7: [00:35:13] * Azure has joined #silverstripe
8: [00:39:05] <irogue> Stomach: I gave the cloudbusters headaches this morning :P
9: [00:40:07] <Stomach> share some cake with them :D
10: [01:45:05] <ss-helper> Re: Looking for a replacement FIG rep - https://groups.google.com/d/msg/silverstripe-dev/mj5GlYJ2Pco/vkFAQnsTAQAJ
11: [01:55:48] * Stomach quit (Quit: zzz)
12: [01:56:05] * spronk has joined #silverstripe
13: [02:00:06] <ss-helper> Re: [silverstripe-dev] Re: Looking for a replacement FIG rep - https://groups.google.com/d/msg/silverstripe-dev/mj5GlYJ2Pco/V3rRF0oUAQAJ
14: [02:01:47] * Stomach has joined #silverstripe
15: [02:05:46] * micmania1 quit (Quit: micmania1)
16: [02:06:04] * micmania1 has joined #silverstripe
17: [02:11:04] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
18: [02:15:06] <ss-helper> Re: [silverstripe-dev] Re: Looking for a replacement FIG rep - https://groups.google.com/d/msg/silverstripe-dev/mj5GlYJ2Pco/B97MAwIVAQAJ
19: [02:15:07] <ss-helper> Re: [silverstripe-dev] Re: Looking for a replacement FIG rep - https://groups.google.com/d/msg/silverstripe-dev/mj5GlYJ2Pco/y3NI_-kUAQAJ
20: [02:15:07] <ss-helper> Re: [silverstripe-dev] Re: Looking for a replacement FIG rep - https://groups.google.com/d/msg/silverstripe-dev/mj5GlYJ2Pco/NF3OJ58UAQAJ
21: [02:15:07] <ss-helper> Re: [silverstripe-dev] Re: Looking for a replacement FIG rep - https://groups.google.com/d/msg/silverstripe-dev/mj5GlYJ2Pco/L1vQoY4UAQAJ
22: [02:30:06] <ss-helper> Re: [silverstripe-dev] Re: Looking for a replacement FIG rep - https://groups.google.com/d/msg/silverstripe-dev/mj5GlYJ2Pco/xvAqrJEVAQAJ
23: [02:45:07] <ss-helper> Re: [silverstripe-dev] Re: Looking for a replacement FIG rep - https://groups.google.com/d/msg/silverstripe-dev/mj5GlYJ2Pco/ttUQt7oWAQAJ
24: [03:08:02] * muskie9 has joined #silverstripe
25: [03:14:17] <muskie9> anyone ever manage external data with a gridfield? thinking ViewableData rather than DO's and the viewable data class has casting and what not... or would it just be easier to sync local and external data onAfterWrite/Delete
26: [03:39:09] * Stomach quit (Quit: zzz)
27: [03:40:43] * UncleCheese has joined #silverstripe
28: [03:48:05] * Stomach has joined #silverstripe
29: [03:51:53] * zippy has joined #silverstripe
30: [03:52:17] <zippy> afternoons
31: [04:04:38] <irogue> yo
32: [04:07:02] <zippy> Is it possible to have a DataObject which is in a seperate database
33: [04:09:09] <Firesphere> Yes, probably. but why?
34: [04:09:19] <zippy> I have a table I want to share with two sites
35: [04:10:14] <Firesphere> Ehm, I have done this, but it's not a good idea. You have 1 DO, that's used on 2 sites?
36: [04:10:19] <Firesphere> Why not sync the table?
37: [04:10:54] <zippy> Isn't that making it more complex?
38: [04:11:14] <Firesphere> Simple cronjob and SQL script that says duplicate table
39: [04:14:40] <Firesphere> Or make an SQL procedure on both sides, that syncs on change.
40: [04:17:40] <Stomach> hey zippy \o
41: [04:17:55] <zippy> o/
42: [04:18:05] <zippy> watching basket ball is pretty frustrating eh
43: [04:18:43] <zippy> 5 minutes to go, but then they have a good 6-7 time out's, which is I guess is OK but then your watching it on tv and they put on 4-5 ads on each timeout.. chris, it's pretty bad
44: [04:18:50] <Stomach> yeah its stupid
45: [04:18:54] <Stomach> like NFL
46: [04:19:20] <zippy> they can play for 30 seconds and then, timeout
47: [04:19:39] <zippy> hard to get into. if they stayed at the game you keep the atmospehre, but shit when you get ads it's like why bother
48: [04:31:06] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
49: [04:31:13] <zippy> :(
50: [04:31:33] <zippy> calling ->toArray() on my ArrayList gives me. [{"class":"ArrayData"},{"class":"ArrayData"},{"class":"ArrayData"}]
51: [04:31:34] <zippy> lol
52: [04:36:21] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
53: [04:38:06] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
54: [05:15:12] * Dedra has joined #silverstripe
55: [05:18:30] * irogue quit (Quit: My Mac has gone to sleep. ZZZzzz…)
56: [05:22:09] * cheddam quit (Ping timeout: 260 seconds)
57: [05:36:26] * Stomach quit (Quit: zzz)
58: [05:44:49] * Olliepop has joined #silverstripe
59: [05:54:28] * irogue has joined #silverstripe
60: [05:59:14] * cheddam has joined #silverstripe
61: [06:02:28] * adrexia quit (Quit: My Mac has gone to sleep. ZZZzzz…)
62: [06:11:56] * Stomach has joined #silverstripe
63: [06:13:18] * Stomach quit (Client Quit)
64: [06:14:49] * Stomach has joined #silverstripe
65: [06:24:13] * marvanni has joined #silverstripe
66: [06:26:22] * Dedra2 has joined #silverstripe
67: [06:27:21] * Stomach quit (Quit: zzz)
68: [06:29:48] * Dedra quit (Ping timeout: 246 seconds)
69: [06:46:34] * Eliseth has joined #silverstripe
70: [06:47:31] * UncleCheese has joined #silverstripe
71: [06:59:33] * r3v3rb quit (Ping timeout: 246 seconds)
72: [07:05:20] * micmania1 quit (Quit: micmania1)
73: [07:05:53] * arnhoe has joined #silverstripe
74: [07:09:23] * irogue quit (Quit: My Mac has gone to sleep. ZZZzzz…)
75: [07:13:46] * cheddam quit (Read error: No route to host)
76: [07:35:40] * Olliepop quit (Ping timeout: 250 seconds)
77: [07:36:44] * cheddam has joined #silverstripe
78: [07:54:23] * irogue has joined #silverstripe
79: [07:54:23] * irogue quit (Changing host)
80: [07:54:23] * irogue has joined #silverstripe
81: [07:54:51] <Dedra2> where can i find free bootstrap3 themes for ss3?
82: [08:19:38] * kinglozzer has joined #silverstripe
83: [08:19:53] * Agilix_ has joined #silverstripe
84: [08:20:16] * guci0 has joined #silverstripe
85: [08:20:17] <guci0> Hello World!
86: [08:30:15] <ss-helper> RFC: Remove the very old BBCodeParser in favour of Golanka/BBCodeParser - https://groups.google.com/d/msg/silverstripe-dev/GDlVknhWQFo/QTphfekoAQAJ
87: [08:36:27] * slievr_ has joined #silverstripe
88: [08:39:34] * slievr quit (Ping timeout: 240 seconds)
89: [08:40:44] * Werner__ has joined #silverstripe
90: [08:41:25] * zippy has joined #silverstripe
91: [08:41:28] <zippy> hi
92: [08:42:50] * spronk quit (Quit: I may need a longer sleep timer...)
93: [08:43:53] * agent44 has joined #silverstripe
94: [08:43:58] <Agilix_> what a stupid mistake with fluent. Add the extension to the page dataobject to translate certain aspects => crashes all over the place
95: [08:44:11] <Agilix_> anyways, now to look for a workaround
96: [08:44:56] <kinglozzer> Agilix_: Huh? What's wrong with it? You definitely can use it to translate fields on pages
97: [08:52:28] * irogue quit (Quit: My Mac has gone to sleep. ZZZzzz…)
98: [08:58:54] * zippy quit (Quit: Textual IRC Client: www.textualapp.com)
99: [08:59:31] * cheddam quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
100: [09:01:09] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
101: [09:01:35] * r3v3rb has joined #silverstripe
102: [09:02:32] * r3v3rb quit (Client Quit)
103: [09:03:18] <Dedra2> how does the html editor (backend) knows that the editor.css is taken for the backend?
104: [09:04:57] * cheddam has joined #silverstripe
105: [09:07:45] * cheddam quit (Client Quit)
106: [09:12:32] * Agilix_ quit (Quit: Page closed)
107: [09:21:27] <marvanni> naming convention
108: [09:21:33] <marvanni> and theme setting
109: [09:25:53] * Agilix_ has joined #silverstripe
110: [09:27:14] * UncleCheese has joined #silverstripe
111: [09:34:00] * zippy has joined #silverstripe
112: [09:36:49] * Stomach has joined #silverstripe
113: [09:37:35] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
114: [09:41:33] * Werner__ quit (Ping timeout: 240 seconds)
115: [09:56:36] <Agilix_> anyone experience with proj4php ?
116: [09:57:45] <cloph_away> Dedra2: well, that's defined in the php that loads the editor :-)
117: [10:00:39] <cloph_away> https://github.com/silverstripe/silverstripe-framework/blob/master/admin/code/LeftAndMain.php#L433-L459
118: [10:03:09] <Dedra2> kk thx :)
119: [10:03:58] <Dedra2> So for a bootstrap3 standard template I need to make a typography.css and editor.css and put all the standard tags like h1 h2 and so on into typography.css I cant import that bootstrap-min.css right?
120: [10:04:03] <Dedra2> for the backend editor in ss3?
121: [10:04:25] <zippy> you'll mess up the admin area
122: [10:04:37] <zippy> which is why you have .typography h1 etc
123: [10:04:44] <zippy> or some other "namespace" class at the start
124: [10:04:54] <Dedra2> yes, that's why I just added all the standard CSS from the bootstrap3 into an extra css file only for the editor in the backend.
125: [10:05:32] * Firesphere quit (Quit: Bye now)
126: [10:05:33] <Dedra2> oh, that means in my editor.css i cant use simple:
127: [10:05:44] <Dedra2> ul, ol { ... } i need to set .typography in front?
128: [10:05:58] <Dedra2> because I would fuck up the backend css?
129: [10:06:30] <cloph_away> typography.css and editor.css are used by convention, to make sure your templates for frontend don't mess up display in the backend..
130: [10:06:53] <Dedra2> so the answer is yes?
131: [10:06:59] <Dedra2> .h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
132: [10:07:00] <Dedra2> font-family:inherit;
133: [10:07:00] <Dedra2> font-weight:500;
134: [10:07:00] <Dedra2> line-height:1.1;
135: [10:07:00] <Dedra2> color:inherit;
136: [10:07:01] <Dedra2> }
137: [10:07:09] <Dedra2> needs to be changed to .typography h1 and so on?
138: [10:07:10] <cloph_away> so no, h1 should be in editor.css (from my POV), since at least that's something you can easily map in backend as well.
139: [10:07:12] * Firesphere has joined #silverstripe
140: [10:07:47] <Dedra2> ok, but my question is, the editor.css dont affect the normal H1 in the admin menu? Only the h1 in the editor field?
141: [10:07:59] <cloph_away> you can use that editor.css both in frontend and backend.
142: [10:08:13] <cloph_away> editor.css affects h1,... in the tinyMCE editor
143: [10:08:18] <Dedra2> yes I know. Right now I have to seperate that because of bootstrap3
144: [10:08:24] <Dedra2> ok thanks :)
145: [10:16:28] * Firesphere quit (Quit: Bye now)
146: [10:17:20] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
147: [10:22:14] * Firesphere has joined #silverstripe
148: [10:30:21] * zippy has joined #silverstripe
149: [10:34:18] <Dedra2> hmmm, but how do i get those things: http://getbootstrap.com/components/#thumbnails
150: [10:34:32] <Dedra2> into the tinyMCE editor?
151: [10:34:48] <Dedra2> If I do not import the bootstrap css file into the editor.css O.o?
152: [10:42:29] * Stomach quit (Quit: zzz)
153: [11:09:22] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
154: [11:10:28] <Dedra2> does silverstripe have something like this: http://codecanyon.net/item/tinymce-bootstrap-plugin/10086522
155: [11:10:29] <Dedra2> ?
156: [11:12:24] <Agilix_> Anyone know why my admin is looking for /companyname-boilerplate/styles/wysiwyg/ ? I get a 404 on the call and a blank screen in the content area. It's when I publish something that was reverted from history
157: [11:13:11] * marvanni quit (Quit: marvanni)
158: [11:14:03] * marvanni has joined #silverstripe
159: [11:14:05] * zippy has joined #silverstripe
160: [11:14:44] * marvanni quit (Client Quit)
161: [11:15:02] <Agilix_> Ah it should be companyname-boilerplate/styles/wysiwyg.css instead of the /
162: [11:51:40] * SH__ has joined #silverstripe
163: [11:52:29] <SH__> Hey guys, if I have a hook defined at the top of a Form action method, can I do something with the hook to stop the rest of the Form action method from executing?
164: [12:09:13] * marvanni has joined #silverstripe
165: [12:18:27] * UndefinedOffset has joined #silverstripe
166: [12:30:20] <ss-helper> Re: Better support for testing out of the box - https://groups.google.com/d/msg/silverstripe-dev/YQ9ru7UuUV0/2N_I2UM2AQAJ
167: [12:30:32] * lerni has joined #silverstripe
168: [12:51:06] <kinglozzer> SH__: Well if you return something, it'll stop the rest of it executing
169: [12:51:25] <kinglozzer> if (!$this->hook()) { return $this->redirectBack(); } for example
170: [12:54:29] * Werner__ has joined #silverstripe
171: [13:07:34] * Werner__ quit (Ping timeout: 240 seconds)
172: [13:08:35] * zippy quit (Quit: Textual IRC Client: www.textualapp.com)
173: [13:39:59] <Agilix_> Anyone have experience with silverstripe-australia/silverstripe-memberprofiles ? I need to know how to hook into the register and the update profile code blocks. When one of those happens I need to write to a third party :) I already have a member extension to add extra fields
174: [13:51:48] <Agilix_> Let me put this in another way: onAfterWrite always return changedFields. How do I know when something is truly changed? Loggin in and loggin out triggers this block as well. But I only need on register or update (and if possible I need to know which of the two)
175: [13:55:46] * Audlex has joined #silverstripe
176: [13:59:33] * Werner__ has joined #silverstripe
177: [14:01:43] * micmania1 has joined #silverstripe
178: [14:06:13] * muskie9 has joined #silverstripe
179: [14:06:22] * micmania1 quit (Ping timeout: 252 seconds)
180: [14:09:01] * muskie9 quit (Client Quit)
181: [14:15:34] * Werner__ quit (Ping timeout: 240 seconds)
182: [14:28:08] <Agilix_> Anyone know when hooking into members onAfterWrite how I can tell wether it's a registration or a profile update? I'm using the silverstripe-australia/silverstripe-memberprofiles if that helps. It's for a third party call.
183: [14:30:09] * muskie9 has joined #silverstripe
184: [14:38:47] * plaerzen has joined #silverstripe
185: [14:38:47] <ss-helper> plaerzen: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
186: [14:40:29] <plaerzen> wow, I just guessed at the name of the channel. Love irc. Anyway - I've installed silverstripe addon userforms using composer (I did not install silverstripe itself using composer) and when I do dev/build - I do not see the addon or the new page type. But.... looking in $webroot I do not see "userforms" folder either, so I'm unsure if composer worked.
187: [14:42:34] <Agilix_> plaerzen: what is the output of composer itself?
188: [14:42:42] <Agilix_> Hi btw :) :p
189: [14:45:23] <plaerzen> Agilix_: http://pastebin.com/1pZWiSkT
190: [14:55:08] <Agilix_> plaerzen: it does the install when running composer install?
191: [14:57:06] <plaerzen> to do the install I did "composer require silverstripe/userforms:*"
192: [14:57:17] <plaerzen> but I don't have the scrollback log for that
193: [14:58:58] * SH__ quit (Ping timeout: 250 seconds)
194: [14:59:19] <Agilix_> plaerzen: and in the directory there is no mention of the userforms?
195: [14:59:38] <Agilix_> if not what does "composer update" give you as log?
196: [15:03:27] <plaerzen> in /var/www/html there is no userform folder.... doing composer update now
197: [15:04:58] <plaerzen> http://pastebin.com/PhH1jWdS
198: [15:07:01] <muskie9> plaerzen it's not in your vendor dir is it?
199: [15:07:07] <muskie9> shouldn't be, but who knows
200: [15:07:37] * UndefinedOffset quit (Quit: Leaving.)
201: [15:07:51] <plaerzen> oh I was in /var/www/html - I should be in ~ right?
202: [15:08:16] <plaerzen> I mean for composer update
203: [15:08:41] <plaerzen> I did a " find / -name "*userforms*" and got nothing (except for the manual DL I did of the targz package)
204: [15:08:56] <muskie9> you should be running it from your webroot
205: [15:09:14] <muskie9> **installing SS and running composer commands from the webroot
206: [15:09:21] <plaerzen> right
207: [15:09:43] <plaerzen> ok. So that's one thing I did wrong. When I did the install for userforms with composer, it was erroring in webroot, so I did it in ~
208: [15:10:59] <plaerzen> now when I do composer require "silverstripe/userforms:*" in webroot I get that unit test error 3
209: [15:11:03] <plaerzen> [RuntimeException]
210: [15:11:03] <plaerzen> Could not scan for classes inside "cms//tests/behat/" which does not appear
211: [15:11:03] <plaerzen> to be a file nor a folder
212: [15:11:47] <plaerzen> full paste: http://pastebin.com/mN1KzLWj
213: [15:13:48] * krofek_ has joined #silverstripe
214: [15:15:08] <muskie9> plaerzen is this project something you just setup? or is existing and you're adding userforms now
215: [15:15:37] * UndefinedOffset has joined #silverstripe
216: [15:15:47] <muskie9> I'm wondering if you start from scratch in your webroot and do "composer create-project silverstripe/installer ."
217: [15:16:16] <muskie9> that will start your project with the SS installer via composer in case something's not quite right
218: [15:17:42] * krofek quit (Ping timeout: 276 seconds)
219: [15:21:00] <plaerzen> muskie9: it's an already-live / running install
220: [15:21:22] <plaerzen> muskie9: I could try the manual userform install..... I'll do that now and see if it works
221: [15:22:05] <muskie9> plaerzen check the module's composer.json file for dependencies as you'll need those as well... and if the dependency isn't an SS module it usually goes in the vendor dir
222: [15:22:29] * lerni quit ()
223: [15:22:43] <muskie9> I would suggest trying the installations on a local/dev env if you have one and backup your db just in case
224: [15:23:31] <plaerzen> yeah.... good call.... I should make a dev env
225: [15:24:57] <muskie9> you could start your dev env from a composer install, and once everything is working then you can deploy the now composer driven setup to your production and utilize composer moving forward without hedaches
226: [15:29:30] <plaerzen> so I suppose composer had installed the pre-reqs but not userforms. I just untargz'd the package and moved it in, ran dev/build and it seems to have worked.
227: [15:29:44] * arnhoe quit ()
228: [15:29:47] <muskie9> that could be
229: [15:33:05] <muskie9> it's still a good idea to get a dev env setup to test things... bad experiences with working right on production
230: [15:36:40] * Agilix_ quit (Ping timeout: 250 seconds)
231: [15:37:04] * jamal_ has joined #silverstripe
232: [15:37:04] <ss-helper> jamal_: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
233: [15:37:28] <jamal_> is there a way to filter the first 3 items inside a loop within a template?
234: [15:38:02] <jamal_> in my case i have a function returning newsarticles, i want the first 3 articles to be displayed bigger and "featured"
235: [15:38:04] <kinglozzer> jamal_: <% loop $Items.Limit(3) %>
236: [15:38:26] <jamal_> thanks kinglozzer
237: [15:38:28] <kinglozzer> Or <% if $Pos < 3 %> class="featured"<% end_if %>
238: [15:38:37] <kinglozzer> Either could work :)
239: [15:39:06] <jamal_> i think the second options is the way to go, since i also want to displayed the other articles as "non" featured
240: [15:39:14] <jamal_> display*
241: [15:39:38] <plaerzen> muskie9: yeah for sure I should have a dev env. For now though I just did a vm snapshot as a precaution.
242: [15:40:03] <muskie9> cool, can never be too careful if working on prod ;P
243: [15:40:09] <plaerzen> yeah for sure
244: [15:50:13] * DimiStripe quit (Quit: DimiStripe)
245: [15:50:14] * DimiStripe_alt is now known as DimiStripe
246: [15:52:13] * Eliseth quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
247: [16:06:28] * cloph_away is now known as cloph
248: [16:15:26] <ss-helper> Re: [silverstripe-dev] Re: Looking for a replacement FIG rep - https://groups.google.com/d/msg/silverstripe-dev/mj5GlYJ2Pco/HYAfAN5CAQAJ
249: [16:15:26] <ss-helper> Re: RFC: Remove the very old BBCodeParser in favour of Golanka/BBCodeParser - https://groups.google.com/d/msg/silverstripe-dev/GDlVknhWQFo/-V366U5CAQAJ
250: [16:15:30] * Dedra2 quit (Quit: Bye guys, have to go!)
251: [16:20:31] * jamal_ quit (Quit: Page closed)
252: [16:25:05] * gelignite has joined #silverstripe
253: [16:30:09] * kinglozzer quit ()
254: [16:31:08] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
255: [17:13:01] * agent44 quit (Quit: zzz)
256: [17:30:28] <ss-helper> Re: [silverstripe-dev] Re: RFC: Remove the very old BBCodeParser in favour of Golanka/BBCodeParser - https://groups.google.com/d/msg/silverstripe-dev/GDlVknhWQFo/RFDaWHhGAQAJ
257: [18:04:11] * micmania1 has joined #silverstripe
258: [18:08:45] * micmania1 quit (Ping timeout: 260 seconds)
259: [18:45:30] <ss-helper> Re: [silverstripe-dev] Re: Better support for testing out of the box - https://groups.google.com/d/msg/silverstripe-dev/YQ9ru7UuUV0/yPWDhHlKAQAJ
260: [19:12:16] * Stomach has joined #silverstripe
261: [19:22:48] * muskie9 has joined #silverstripe
262: [19:29:45] * Stomach quit (Quit: zzz)
263: [19:36:46] * r3v3rb has joined #silverstripe
264: [19:49:18] * guci0 quit (Ping timeout: 250 seconds)
265: [19:54:38] * Stomach has joined #silverstripe
266: [19:57:29] * Phlunk3 has joined #silverstripe
267: [20:05:45] * micmania1 has joined #silverstripe
268: [20:10:34] * micmania1 quit (Ping timeout: 260 seconds)
269: [20:14:17] * DimiStripe quit (Quit: DimiStripe)
270: [20:21:25] <r3v3rb> anyone around still?
271: [20:21:33] <muskie9> what's up r3v3rb
272: [20:21:56] <r3v3rb> is it possible to get a list of fields in entwine to use in a function
273: [20:22:39] <r3v3rb> i'm guessing i need to call an ajax function to return a set ?
274: [20:22:41] <muskie9> if the fields are all in a similar holder of some kind and/or have a similar class then probably
275: [20:23:05] <muskie9> I guess it depends... are you looking for values in cms fields? or data from the db?
276: [20:23:19] <r3v3rb> muskie9, they are stored on a dataobject at the moment
277: [20:23:57] <r3v3rb> dataobjects first and foremost, i need to 'pull' a list of them into a function in entwine to generate canvas objects
278: [20:24:17] <r3v3rb> on-the-fly so to speak
279: [20:25:11] <muskie9> I'm guessing an ajax call then
280: [20:25:51] <r3v3rb> :D fun, my first outing into entwine and lots to learn
281: [20:26:58] <muskie9> ya, my first go around was a ball too ;P
282: [20:28:01] <r3v3rb> fortunately this isn't client related but a personal project so I can ditch it if necessary :P
283: [20:28:15] <r3v3rb> and work it a different way instead
284: [20:28:33] <r3v3rb> but it would be nice to automate as much as possible
285: [20:29:12] <muskie9> from what I remember entwine wraps what you would normally write in js/jQuery... so it should be fairly smiilar
286: [20:30:44] * UndefinedOffset quit (Quit: Leaving.)
287: [20:30:52] <r3v3rb> yeh, looks no different - I have some entwine code already running in onmatch and onchange just need to figure the url path now
288: [20:31:11] <r3v3rb> to return the dataset
289: [20:31:25] <muskie9> nice
290: [20:33:11] <r3v3rb> then with fingers crossed and a tail wind I have the basics of a drag and drop editor working using canvas and fabric.js
291: [20:33:46] <r3v3rb> setting elements as dataobjects and then spitting them into the fabric canvas using entwine ;)
292: [20:34:12] <r3v3rb> after defining their core parameters
293: [20:35:16] <muskie9> making a module out of it???!!!
294: [20:37:24] <r3v3rb> unfortunately not as it'll form part of the basis of a larger product
295: [20:37:37] * UndefinedOffset has joined #silverstripe
296: [20:37:53] <muskie9> we've had a couple of those... one still in the works
297: [20:38:37] <r3v3rb> hmm, url: './getFields' is called on the baseURL not the current product I'm viewing... time to work out the current dataobject path in ajax calls
298: [20:42:18] <r3v3rb> any ideas?
299: [20:43:18] <muskie9> parse it out of the url?
300: [20:47:58] <r3v3rb> hmm, maybe i could just throw in hidden fields and target them instead :D
301: [20:48:09] <r3v3rb> on the cms tab
302: [20:48:34] * slievr_ quit (Ping timeout: 240 seconds)
303: [21:00:34] <ss-helper> SS_HTTPRequest in SilverStripe - http://stackoverflow.com/questions/37285958/ss-httprequest-in-silverstripe
304: [21:02:12] <muskie9> that's probably easier
305: [21:06:29] * micmania1 has joined #silverstripe
306: [21:07:40] <r3v3rb> muskie9, true but there is always the what if - what if some user adds 1000 fields! that a 1000 hiddenfields to parse
307: [21:08:48] <r3v3rb> i admit that the admin is very alien to me apart from getCMSFields etc
308: [21:09:07] <r3v3rb> hacking the LeftAndMain and abusing entwine is new stuff
309: [21:11:18] * micmania1 quit (Ping timeout: 276 seconds)
310: [21:12:13] * adrexia has joined #silverstripe
311: [21:15:54] <muskie9> you could cap the max
312: [21:18:32] * micmania1 has joined #silverstripe
313: [21:25:35] * UncleCheese has joined #silverstripe
314: [21:49:43] * UndefinedOffset quit (Quit: Leaving.)
315: [21:58:13] * irogue has joined #silverstripe
316: [21:58:13] * irogue quit (Changing host)
317: [21:58:13] * irogue has joined #silverstripe
318: [21:59:17] * cheddam has joined #silverstripe
319: [22:00:08] <r3v3rb> UncleCheese, :) canvasfield is coming together nicely
320: [22:00:15] <UncleCheese> nice
321: [22:00:28] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
322: [22:00:49] <Firesphere> UncleCheese: how's your google-problem going?
323: [22:00:50] <r3v3rb> one question if i may, in an ajax call from entwine being loaded with the canvasfield how can I target the current dataobject?
324: [22:01:41] <UncleCheese> you'll have to refresh my memory.. i'm not sure i remember the context of what you were doing
325: [22:11:11] * micmania1 quit (Quit: micmania1)
326: [22:17:19] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
327: [22:18:22] * micmania1 has joined #silverstripe
328: [23:05:49] * r3v3rb quit (Quit: Leaving)
329: [23:12:05] * Hailwood quit (Remote host closed the connection)
330: [23:13:03] * Hailwood has joined #silverstripe
331: [23:14:53] * theSaysora has joined #silverstripe
332: [23:15:31] <theSaysora> Hey guys, I'm using Director::setBaseURL() in my _config.php and whenever I set it, it suddenly puts me in an infinite loop error when trying to access the admin, anybody know why?
333: [23:18:36] * saysora has joined #silverstripe
334: [23:18:40] * theSaysora has left #silverstripe
335: [23:19:32] * marvanni quit (Quit: marvanni)
336: [23:20:08] <saysora> I'm using a function to write an xml file, but it's writing the urls as relative for the image I'm including
337: [23:20:36] <saysora> I tried to set Director::setBaseURL() in the _config.php but that put me in an infinite redirect error when trying to access the admin.
338: [23:20:38] <saysora> Any ideas?
339: [23:21:29] <saysora> Sorry, not relative, it's writing them with the full path of my file directory.
340: [23:21:42] <saysora> When it should be using the site url instead.
341: [23:27:27] * saysora_ has joined #silverstripe
342: [23:27:28] <ss-helper> saysora_: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
343: [23:28:01] * saysora_ quit (Client Quit)
344: [23:29:12] * saysora quit (Quit: Leaving)
345: [23:29:31] * thesaysora has joined #silverstripe
346: [23:31:16] <thesaysora> Woo. Love forgetting to setup my irc app before I need to use it. XD
347: [23:34:05] <thesaysora> https://github.com/silverstripe/silverstripe-framework/issues/5109
348: [23:34:21] <thesaysora> I saw this, wondering if that's the same sort of error I'm encountering.
349: [23:45:37] <ss-helper> How to make browser auto flush? - http://stackoverflow.com/questions/37287815/how-to-make-browser-auto-flush
350: [23:56:22] <Hailwood> ^ That question tho

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