#silverstripe IRC Log

IRC log for 22 April 2016

All timestamps are in UTC.

1: [00:00:02] * ss-helper quit (Remote host closed the connection)
2: [00:05:24] * BrewNaked quit (Remote host closed the connection)
3: [00:07:15] * _n8 has joined #silverstripe
4: [00:07:23] <_n8> Simple question
5: [00:07:48] <_n8> do I need to $item->write() after a $form->saveInto($item)
6: [00:09:51] <ss23> Test it and find out :P
7: [00:11:03] <_n8> was reading into the processes of form, dont have a current dev area open, may just hack something up now then lol
8: [00:19:12] * robbiea quit (Remote host closed the connection)
9: [00:21:52] * _n8 quit (Ping timeout: 250 seconds)
10: [00:33:57] * micmania1 quit (Quit: micmania1)
11: [00:59:09] * robbiea has joined #silverstripe
12: [01:00:53] * Tanger has joined #silverstripe
13: [01:02:54] * saysora quit (Quit: My Mac has gone to sleep. ZZZzzz…)
14: [01:20:42] * saysora has joined #silverstripe
15: [01:24:19] * saysora quit (Client Quit)
16: [01:26:01] * micmania1 has joined #silverstripe
17: [01:33:52] * robbiea quit (Remote host closed the connection)
18: [01:36:35] * robbiea has joined #silverstripe
19: [01:50:39] * cloph is now known as cloph_away
20: [01:51:53] * Admonish has joined #silverstripe
21: [01:54:05] <Admonish> Welcome back Tanger :D
22: [01:54:14] * BrewNaked has joined #silverstripe
23: [01:54:58] <Tanger> Admonish: Heyo!
24: [01:58:23] * BrewNaked quit (Ping timeout: 244 seconds)
25: [02:00:20] <Tanger> Admonish: Any luck with your ModelAdmin tabs?
26: [03:19:58] * jules0x has joined #silverstripe
27: [03:20:39] <jules0x> this might be a stupid question... but... How can I override a method provided by an included module?
28: [03:23:17] * julesx has joined #silverstripe
29: [03:23:31] <julesx> ugh
30: [03:23:37] <julesx> kicked off and locked out
31: [03:24:09] <julesx> so yeah
32: [03:24:26] <julesx> can I override a function provided by a module without forking? maybe dataextension?
33: [03:24:57] * jules0x quit (Ping timeout: 250 seconds)
34: [03:28:56] * robbiea quit (Remote host closed the connection)
35: [03:36:00] * robbiea has joined #silverstripe
36: [03:41:38] * julesx quit (Ping timeout: 250 seconds)
37: [03:43:06] * BrewNaked has joined #silverstripe
38: [03:44:16] * nanohard has joined #silverstripe
39: [03:47:29] * BrewNaked quit (Ping timeout: 250 seconds)
40: [04:09:50] * micmania1 quit (Quit: micmania1)
41: [04:28:26] * spronk quit (Quit: I may need a longer sleep timer...)
42: [04:29:24] * spronk has joined #silverstripe
43: [04:33:36] * spronk quit (Ping timeout: 240 seconds)
44: [04:55:51] * robbiea quit (Remote host closed the connection)
45: [05:00:50] * robbiea has joined #silverstripe
46: [05:02:26] * Admonish quit (Ping timeout: 265 seconds)
47: [05:02:51] * Hailwood quit (Remote host closed the connection)
48: [05:08:13] * robbiea quit (Ping timeout: 252 seconds)
49: [05:09:10] * marc_comia quit (Ping timeout: 250 seconds)
50: [05:31:59] * BrewNaked has joined #silverstripe
51: [05:36:11] * BrewNaked quit (Ping timeout: 250 seconds)
52: [05:45:53] * Agilix_ has joined #silverstripe
53: [05:47:20] * wmk has joined #silverstripe
54: [05:48:14] * Admonish has joined #silverstripe
55: [05:52:11] <Admonish> Tanger Sorry, I didn't see your question until now.
56: [05:52:41] <Admonish> Tanger I have temporarily moved on to other things (im procrastinating)
57: [05:53:36] <Admonish> Tanger Currently I am working on trying extend the siteConfig
58: [06:05:49] <Tanger> Admonish: Ah, yes, procrastination. My close friend. I dig
59: [06:06:02] <Admonish> Tanger lol
60: [06:08:15] * marvanni has joined #silverstripe
61: [06:09:09] * TRB143 quit (Remote host closed the connection)
62: [06:11:57] * marvanni quit (Client Quit)
63: [06:18:11] <wmk> Agilix_, did you see that swaiba recommended another, more generic module for facebook login?
64: [06:18:37] <wmk> [swaiba] Agilix_ - I vouch for https://github.com/BetterBrief/silverstripe-opauth
65: [06:19:36] <wmk> seems totally awsome, as it uses a generic login lib you can extend with any other login. There are many strategies, also for other more special logins
66: [06:29:44] * Eliseth has joined #silverstripe
67: [06:30:21] * Admonish quit (Read error: Connection reset by peer)
68: [06:38:06] * marvanni has joined #silverstripe
69: [06:40:10] * Agilix_ quit (Ping timeout: 250 seconds)
70: [07:02:08] * Agilix_ has joined #silverstripe
71: [07:02:17] <Agilix_> Hi all o/
72: [07:02:26] <Agilix_> wmk: I did not see it no, thanks!
73: [07:02:38] <Agilix_> And thanks swaiba :D
74: [07:02:39] <wmk> re
75: [07:02:46] <wmk> yup, that sounds totally awsome...
76: [07:06:43] * arnhoe has joined #silverstripe
77: [07:08:32] * Arjan__ has joined #silverstripe
78: [07:20:51] * BrewNaked has joined #silverstripe
79: [07:21:05] <wmk> in ORM: can't i sort pages by parent's title?
80: [07:23:44] * Arjan__ quit (Quit: Page closed)
81: [07:24:06] * Arjan__ has joined #silverstripe
82: [07:25:23] * BrewNaked quit (Ping timeout: 250 seconds)
83: [07:28:14] * robbiea has joined #silverstripe
84: [07:30:02] * marvanni quit (Quit: marvanni)
85: [07:30:12] * robbiea quit (Remote host closed the connection)
86: [07:30:25] * marvanni has joined #silverstripe
87: [08:03:47] * slievr has joined #silverstripe
88: [08:31:48] * swaiba has joined #silverstripe
89: [08:43:06] * Tanger quit (Quit: Tanger)
90: [08:47:48] <marvanni> its nog as busy as it has been in here right?
91: [08:48:03] <wmk> hm, no
92: [08:51:24] <marvanni> what happened?
93: [08:51:35] <wmk> dunno. holiday?
94: [08:54:49] <swaiba> morning all
95: [08:55:07] <swaiba> chrome://flags/ --> "Automatic tab discarding" and set it to Disable (browser restart required)
96: [08:55:14] <swaiba> OMG that has cheered me up
97: [08:55:21] * agent44 has joined #silverstripe
98: [08:55:39] <swaiba> I've been annoyed that dev build gets re-run in chrome by acciendent... now I know how to stop it
99: [08:55:45] * swaiba quit (Remote host closed the connection)
100: [08:56:04] * swaiba has joined #silverstripe
101: [09:09:44] * BrewNaked has joined #silverstripe
102: [09:10:29] * Sh4d03_ quit (Remote host closed the connection)
103: [09:11:03] * Sh4d03 has joined #silverstripe
104: [09:14:04] * BrewNaked quit (Ping timeout: 240 seconds)
105: [09:29:36] * Arjan__ quit (Ping timeout: 250 seconds)
106: [09:30:00] <Agilix_> hmm client has delivered whole set of images (organised in folders and sub folders). Besides that there are text files with copyright information. Now I know I have to do the copyright part with a homemade script. But is there something that can read the entire uploads folder and update the database?
107: [09:40:58] <marvanni> filesystem sync
108: [09:41:38] <marvanni> http://site.com/dev/tasks/FilesystemSyncTask
109: [09:41:57] <marvanni> This might use some memory….
110: [09:42:07] <marvanni> but there is a but
111: [09:42:56] <marvanni> if you upload a file with in silverstripe the filenames are normalized with FileNameFilter
112: [09:43:08] <marvanni> im not sure if it renames the files found on the server
113: [09:43:43] <Agilix_> I'll give it a go :) thanks marvanni This is standard in there?
114: [09:44:07] <marvanni> you might also want ?skipSyncLinkTracking=1
115: [09:44:17] <marvanni> check dev/tasks
116: [09:44:25] <Agilix_> k, thank you :)
117: [09:44:37] <marvanni> use the source luke… ;)
118: [09:44:51] <Agilix_> Haha :p
119: [09:53:53] * spekulatius2 quit (Quit: Leaving)
120: [09:57:18] * kinglozzer has joined #silverstripe
121: [10:00:54] * wmk quit (Ping timeout: 276 seconds)
122: [10:58:38] * BrewNaked has joined #silverstripe
123: [11:02:58] * BrewNaked quit (Ping timeout: 252 seconds)
124: [11:13:04] * marvanni quit (Quit: marvanni)
125: [11:22:20] * marvanni has joined #silverstripe
126: [11:26:54] * marvanni quit (Client Quit)
127: [12:06:32] * agent44 quit (Ping timeout: 276 seconds)
128: [12:36:36] * agent44 has joined #silverstripe
129: [12:47:31] * BrewNaked has joined #silverstripe
130: [12:52:04] * BrewNaked quit (Ping timeout: 268 seconds)
131: [13:10:36] * Agilix_ quit (Ping timeout: 250 seconds)
132: [13:36:35] * Teddy_ has joined #silverstripe
133: [13:37:09] <Teddy_> hey guys any idea what could cause an has_many obj to see only files in upload folder but no files in any of the other folders ?
134: [13:37:19] <Teddy_> the objest is a simple file extension
135: [13:37:42] <Teddy_> with a has_many from page and a has_one to page from the fileexteded obj
136: [13:46:18] <swaiba> Maybe the permissions the user has that is logged in when this is run Teddy_ ?
137: [13:47:04] <Teddy_> swaiba, it's admin user and i've overwritten all files as well to 777 anyway
138: [13:47:10] <Teddy_> still can't see it
139: [13:47:16] <swaiba> best I had...
140: [14:04:52] <swaiba> Anyone have a comercial theme store for silverstripe?
141: [14:10:04] * arnhoe quit ()
142: [14:36:23] * BrewNaked has joined #silverstripe
143: [14:41:03] * BrewNaked quit (Ping timeout: 276 seconds)
144: [14:50:35] * Eliseth quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
145: [15:41:13] * BrewNaked has joined #silverstripe
146: [16:03:35] * kinglozzer quit ()
147: [16:05:09] * UndefinedOffset has joined #silverstripe
148: [16:09:24] * swaiba quit (Remote host closed the connection)
149: [16:14:36] * TRB143 has joined #silverstripe
150: [16:15:45] * marvanni has joined #silverstripe
151: [16:25:41] * robbiea has joined #silverstripe
152: [16:30:22] * robbiea quit (Ping timeout: 268 seconds)
153: [16:31:34] * Teddy_ quit (Ping timeout: 240 seconds)
154: [16:33:30] * marvanni quit (Quit: marvanni)
155: [16:56:27] * agent44 quit (Quit: agent44)
156: [17:01:54] * r3v3rb has joined #silverstripe
157: [17:02:44] <r3v3rb> https://docs.silverstripe.org/en/3.3/developer_guides/forms/field_types/uploadfield/#multiple-fileupload << are these docs correct? Extension adds a belongs many many to the Page not the many many in the Page ?
158: [17:05:22] * UndefinedOffset quit (Disconnected by services)
159: [17:05:22] * UndefinedOffset1 has joined #silverstripe
160: [17:05:47] * UndefinedOffset1 is now known as UndefinedOffset
161: [17:06:04] * marvanni has joined #silverstripe
162: [17:06:10] <r3v3rb> I’m confused
163: [17:07:59] <r3v3rb> Product controller -> has_many = array (‘Images’ => ‘Image’) and then a dataextension that adds a has_one to the controller class not the image if I follow that example \o/ Wooot!
164: [17:08:45] <r3v3rb> so ProductImageExtension -> $has_one = array (?????? => ‘Product’ ) or ( ?????? => ‘Image’ )
165: [17:08:50] * r3v3rb confused
166: [17:11:34] <marvanni> Product => ‘Product’
167: [17:11:44] <marvanni> but i would use a many_many relation
168: [17:11:45] * gelignite has joined #silverstripe
169: [17:12:00] <marvanni> if you want to resuse some of the images
170: [17:12:01] <r3v3rb> just for the join table ?
171: [17:12:13] <r3v3rb> never they are created from uploaded PDF files ;)
172: [17:12:24] <r3v3rb> so they relate to the document only :D
173: [17:13:24] * Sh4d03 quit (Ping timeout: 244 seconds)
174: [17:14:01] * Sh4d03 has joined #silverstripe
175: [17:14:01] <r3v3rb> I’ll try Product => Product and see
176: [17:14:32] <r3v3rb> still early days on this project so I can drop the DB and start fresh if necessary
177: [17:16:22] <marvanni> You have pretty some experience with ss right?
178: [17:16:37] <marvanni> at least I have see you around here some times for some years?
179: [17:16:41] <r3v3rb> marvanni: some whys that :D
180: [17:16:57] <r3v3rb> I drop in and out and forget most of what I learnt
181: [17:17:02] <marvanni> ah ok :)
182: [17:17:25] * robbiea has joined #silverstripe
183: [17:17:43] <r3v3rb> and every job/task I seem to do changes what I did previously - never the same website or system twice!
184: [17:18:08] <r3v3rb> I just love the underlying framework too much to use anything else
185: [17:19:21] <marvanni> hehe, I recoginze that
186: [17:19:41] <marvanni> “Yeah I could use this fantastic abstracted feature for other projects”
187: [17:19:46] <marvanni> not gonna happen
188: [17:20:14] <r3v3rb> yep, always something different
189: [17:20:20] <marvanni> or you realize you did it wrong that time, and it needs to be coded from scratch again
190: [17:20:45] <r3v3rb> my current project is a personal one - no end client but something I have wanted to do for some time
191: [17:21:09] <r3v3rb> and I’m doing stuff a client wouldnt ask for on a ‘normal’ bog standard website
192: [17:21:12] <r3v3rb> soooooo....
193: [17:21:39] * robbiea quit (Ping timeout: 250 seconds)
194: [17:21:41] <marvanni> you want to do it good this time
195: [17:22:16] <r3v3rb> I don’t want to go round in circles at a later date or if I end up employing people having to explain my bad code!
196: [17:24:12] <marvanni> read this
197: [17:24:13] <marvanni> http://www.amazon.com/Clean-Code-Handbook-Software-Craftsmanship/dp/0132350882
198: [17:24:24] <r3v3rb> haha, I’m not that fussy!
199: [17:24:28] <marvanni> or learn laravel and watch these : laracasts.com
200: [17:24:47] <r3v3rb> My codes pretty tight most of the time and I’ve played with laravel but stil came back to SS
201: [17:25:19] <r3v3rb> lmao at the codes pretty tight… << mega exaggeration hehe!
202: [17:25:24] <marvanni> if laravel only had a ModelAdmin and SiteTree like Silverstripe…
203: [17:25:45] <marvanni> for websites with pages Silverstirpe is sill king for me
204: [17:25:56] <marvanni> for apps i pick laravel
205: [17:27:19] <r3v3rb> indeed, i tried silex too, thats nice for small apps
206: [17:27:34] <r3v3rb> really easy to setup controllers etc
207: [17:28:33] <marvanni> the code of laravel is just so pretty
208: [17:28:50] <marvanni> and the laravast movies are very good. even if you dont use laravel
209: [17:29:16] <r3v3rb> things is for this I need modeladmin for the admin backend and have built a user admin frontend using bootstrap so the app needed ss :D
210: [17:30:05] <marvanni> yeah, laravel lacks admins
211: [17:30:20] <marvanni> but ther are pretty nice boostrap admins available
212: [17:30:34] <marvanni> but no crud scaffolder like modeladmin
213: [17:30:40] <marvanni> not as good as that
214: [17:33:38] * krofek has joined #silverstripe
215: [17:35:41] <r3v3rb> that’s why we’re here ;0
216: [17:35:43] <r3v3rb> ;)
217: [17:35:45] <r3v3rb> even
218: [17:38:28] <marvanni> but it is not as busy as im used to a few years ago
219: [17:43:53] <r3v3rb> yeh, but its a good crowd of active users and friends now
220: [17:54:40] <r3v3rb> well, product => product worked so all good now
221: [18:20:25] * oddnoc has joined #silverstripe
222: [18:47:01] * oddnoc quit (Ping timeout: 250 seconds)
223: [18:54:20] * Zauberfisch quit (Read error: Connection reset by peer)
224: [18:59:50] * Zauberfisch has joined #silverstripe
225: [19:04:02] * DimiStripe quit (Quit: DimiStripe)
226: [19:57:23] * robbiea has joined #silverstripe
227: [19:59:34] * robbiea quit (Remote host closed the connection)
228: [20:24:05] * marvanni quit (Quit: marvanni)
229: [20:39:10] * UndefinedOffset quit (Quit: Leaving.)
230: [21:27:43] <BrewNaked> BEER DAY!! FINALLY!!
231: [22:20:22] <nanohard> is it normal for SilverStripe pages to take between 800ms and 1.8s to load?
232: [22:21:24] <nanohard> does anyone have a page that loads in less than 500ms?
233: [22:30:51] * r3verb has joined #silverstripe
234: [22:30:58] <r3verb> hi all
235: [22:31:13] <r3verb> assuming anyone is around ;)
236: [22:31:30] * Kimyeti has joined #silverstripe
237: [22:35:51] <Kimyeti> Hello guys. I have a noob question (I have googled a lot). My $ThemeDir variable isn't working as intended for some reason. The only way I can get it to work it to put my project folder in the link, like so: href="/project-base/$ThemeDir/css/style.css" />. Normally I don't have to put the folder name in the link also. Does anybody know how to resolve this? Thank you in advance.
238: [22:52:17] * r3verb quit (Quit: Leaving)
239: [23:51:06] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
240: [23:51:56] * Kimyeti quit (Ping timeout: 250 seconds)

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