#silverstripe IRC Log

IRC log for 26 October 2016

All timestamps are in UTC.

1: [00:23:45] * sminnee_ quit (Quit: sminnee_)
2: [00:25:55] <DanaeNZ> fucckkkk I hate it when GitLab.com goes down
3: [00:26:09] <DanaeNZ> kind of reinforces motivation to move to a private GitLab server
4: [00:26:11] <ss23> >hosting anything on gitlab.com
5: [00:26:16] <DanaeNZ> but then I'd have to play server admin
6: [00:26:24] <ss23> DanaeNZ: who cares if it goes down, you know you can like, push and pull to people directly right?
7: [00:26:30] <ss23> add remote DanaeNZ yourshit
8: [00:26:31] <ss23> push DanaeNZ
9: [00:26:32] <ss23> done
10: [00:26:35] <DanaeNZ> holy shit
11: [00:26:40] <DanaeNZ> no I didn't know that
12: [00:26:42] <ss23> um
13: [00:26:47] <ss23> The D in DCVS, distributed
14: [00:26:50] <ss23> you don't need a server
15: [00:27:02] <DanaeNZ> ok I need to try this out
16: [00:27:03] <ss23> like the way all linux kernel development happens is people just push/pull from each others remotes as required
17: [00:27:11] <ss23> pull request used to be emailing someone saying "hey pull in my changes"
18: [00:27:22] <DanaeNZ> So would the remote url be..
19: [00:27:23] <DanaeNZ> like
20: [00:27:35] <DanaeNZ> danae@whatever.git
21: [00:28:05] <DanaeNZ> "whatever" being the original git url?
22: [00:31:02] * sminnee_ has joined #silverstripe
23: [00:31:50] <ss23> um
24: [00:31:57] <ss23> well you need like a transport to transfer it over
25: [00:32:00] <ss23> so http or ssh normally
26: [00:32:27] <ss23> http://stackoverflow.com/questions/5884784/how-to-pull-remote-branch-from-somebody-elses-repo that's a local one
27: [00:32:32] <ss23> you can use ssh too
28: [00:32:35] <ss23> or http if you set itu p
29: [00:32:41] <ss23> but I haven't set one up
30: [00:35:58] * micmania1 quit (Quit: micmania1)
31: [00:51:05] * micmania1 has joined #silverstripe
32: [01:06:08] <DanaeNZ> ah ok
33: [01:06:21] <DanaeNZ> Seems like something to set up for urgent things
34: [01:07:40] * sminnee_ quit (Quit: sminnee_)
35: [01:21:58] * sminnee_ has joined #silverstripe
36: [01:34:25] * micmania1 quit (Quit: micmania1)
37: [01:51:23] * Phlunk3 quit (Remote host closed the connection)
38: [01:57:30] * Azure|dc has joined #silverstripe
39: [01:57:31] * Azure quit (Read error: Connection reset by peer)
40: [02:04:00] * pweh quit (Ping timeout: 260 seconds)
41: [02:10:23] * sminnee_ quit (Quit: sminnee_)
42: [02:36:21] * sminnee_ has joined #silverstripe
43: [02:50:14] * swss has joined #silverstripe
44: [02:50:14] <ss-helper> swss: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
45: [02:51:42] <swss> Hi All. Just wondering if there is any way to run code when the manifests (class, template etc) are being generated?
46: [02:51:59] <swss> Would like to implement my own manifest for custom functionality but can't seem to find a way to do it?
47: [02:53:24] <swss> Hoping I won't have to modify main.php
48: [02:57:08] <Hailwood> swss: What exactly are you trying to do?
49: [02:57:34] <Hailwood> YOu can add the Flushable interface to a class and then add a flush method.
50: [02:59:28] <swss> I am implementing a way to store possible settings
51: [02:59:33] <swss> Much like how Permissions work...
52: [03:00:35] <swss> Currently, it seems that permissions uses Permission::get_codes to generate a list of the codes. I was hoping it would build a manifest like structure.
53: [03:06:45] <Hailwood> swss: Why not just use the config like normal? You don't actually need to have a class exist to use config for it so you can create keys to just store settings
54: [03:10:40] * Stomach quit (Quit: zzz)
55: [03:11:35] <swss> Potentially.
56: [03:11:57] <swss> Won't be storing the actual setting values, however.
57: [03:12:08] <swss> (They will be stored in the database)
58: [03:15:07] <ss-helper> Custom routing without overriding core CMS routing - http://stackoverflow.com/questions/40253087/custom-routing-without-overriding-core-cms-routing
59: [03:15:19] * Stomach has joined #silverstripe
60: [03:16:24] * micmania1 has joined #silverstripe
61: [03:43:57] * spronk has joined #silverstripe
62: [03:47:01] * sminnee_ quit (Quit: sminnee_)
63: [03:49:00] * sminnee_ has joined #silverstripe
64: [04:08:05] * Hailwood quit (Quit: Konversation terminated!)
65: [04:11:12] * micmania1 quit (Quit: micmania1)
66: [04:16:05] * pweh has joined #silverstripe
67: [04:42:00] * tmro quit (Ping timeout: 256 seconds)
68: [04:44:05] * tmro has joined #silverstripe
69: [04:46:03] * micmania1 has joined #silverstripe
70: [04:47:35] * DanaeNZ quit (Quit: TIME TO FEED)
71: [04:51:11] * tmro quit (Ping timeout: 256 seconds)
72: [04:51:50] * micmania1 quit (Quit: micmania1)
73: [04:56:42] * tmro has joined #silverstripe
74: [04:59:35] * swss quit (Ping timeout: 260 seconds)
75: [05:00:28] * Stomach quit (Ping timeout: 245 seconds)
76: [05:02:13] * Shrike_Finland has joined #silverstripe
77: [05:02:37] * Shrike_Finland quit (Client Quit)
78: [05:04:36] * pweh quit (Ping timeout: 260 seconds)
79: [05:06:38] * sminnee_ quit (Ping timeout: 244 seconds)
80: [05:08:12] * spronk quit (Quit: I may need a longer sleep timer...)
81: [05:30:14] * Shrike_Finland has joined #silverstripe
82: [05:37:33] * Robdgreat has joined #silverstripe
83: [05:58:10] * Shrike_Finland quit (Quit: Leaving.)
84: [06:07:14] * cheddam quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
85: [06:11:18] * Shrike_Finland has joined #silverstripe
86: [06:11:32] * Shrike_Finland quit (Client Quit)
87: [07:07:47] * samsam has joined #silverstripe
88: [07:15:07] * darianno has joined #silverstripe
89: [07:15:58] <samsam> Anyone using GridFieldExtensions module?
90: [07:16:16] <samsam> for drag-n-drop reordering of dataobjects?
91: [07:16:44] <samsam> trying to translate the field label for the sort field (on top of the gridfield)
92: [07:27:40] <swaiba> hey samsam
93: [07:27:41] <swaiba> http://stackoverflow.com/questions/38426401/setting-a-title-for-the-sort-column-with-summary-fields/38426869#38426869
94: [07:28:03] <swaiba> I'm sure you could change that static in a similar hacky way that I think we have discussed before
95: [07:28:50] * neilf__ has joined #silverstripe
96: [07:31:44] <samsam> nice find, I've seen that post. I tried everything but I couldn't seem to translate it
97: [07:32:02] * pweh has joined #silverstripe
98: [07:32:02] <samsam> Just used this symbol instead: ↕
99: [07:32:10] <samsam> so now it doesn't need to be translated lol
100: [07:32:42] <swaiba> I thought we had discussed putting something to update that config in _congif.php
101: [07:32:55] <samsam> I can't remember
102: [07:33:52] * Tron_ has joined #silverstripe
103: [07:37:07] <swaiba> like... $config=Config::inst(); $labels=$config->get('MyClass','field_labels'); $labels['Reorder']='NAMEHERE'; $config->update('MyClass','field_labels',$labels);
104: [07:37:29] <swaiba> NAMEHERE is based on whatever locale is detected
105: [07:39:36] <samsam> interesting, thanks! Will give it a shot later
106: [07:39:50] <samsam> although I hate to write stuff in config.php
107: [07:48:41] <Tron_> does anyone know much about the silverstripe module and markguinn/silverstripe-shop-ajax
108: [07:50:37] <Tron_> sorry silvershop ecomm module
109: [07:54:09] * tmro quit (Read error: Connection reset by peer)
110: [08:00:46] * kinglozzer has joined #silverstripe
111: [08:01:30] <swaiba> Tron_ I don't and your main issue is that mark has left the community now :(
112: [08:01:38] <swaiba> so I wouldn't expect it to ne fully up to date
113: [08:02:02] <swaiba> samsam - I agree but sometimes you have to do bad things to get good things
114: [08:02:42] <samsam> how do you leave the SS community?
115: [08:03:03] <swaiba> he had a job that gave one day a week on open source
116: [08:03:13] <samsam> bummer
117: [08:03:15] <swaiba> he left the job... and... welll... he ain't here no more
118: [08:04:21] <samsam> Is there a shop module for SS that works well and hasn't been abandoned?
119: [08:04:57] <swaiba> many
120: [08:05:08] <swaiba> and his wasn't abandoned bumzack took it over
121: [08:05:17] <swaiba> silvercart is the other big open source one
122: [08:05:33] <swaiba> both had great talks at the conference, should be up on vimeo soon
123: [08:05:41] <samsam> nice
124: [08:15:24] <ss-helper> SilverStripe hardcode permission setting - http://stackoverflow.com/questions/40256775/silverstripe-hardcode-permission-setting
125: [08:20:43] * Stomach has joined #silverstripe
126: [08:22:40] * lerni has joined #silverstripe
127: [08:26:13] * Stomach quit (Quit: zzz)
128: [08:36:46] * Shrike_Finland has joined #silverstripe
129: [09:01:29] <Zauberfisch> hey guys
130: [09:02:01] <Zauberfisch> I need some advise on handling releases of a module
131: [09:03:58] <Zauberfisch> we always say modules should be using semver. But with 4 in alpha now I already want to build for 4 but still also bring releases for 3
132: [09:04:27] <Zauberfisch> so I might end up with a major release for both 3 and 4.
133: [09:04:45] <Zauberfisch> But in my understanding of semver there is no good way to represent that
134: [09:07:24] * slievr has joined #silverstripe
135: [09:07:31] * Tron_ quit (Ping timeout: 260 seconds)
136: [09:08:44] * micmania1 has joined #silverstripe
137: [09:20:19] * Shrike_Finland quit (Quit: Leaving.)
138: [09:20:27] * tmro has joined #silverstripe
139: [09:21:43] <samsam> bit offtopic, but what module are you releasing?
140: [09:23:48] <Zauberfisch> question is not directly tied to one module
141: [09:23:57] <Zauberfisch> basically I just want to do it better in the future
142: [09:24:14] <samsam> ah
143: [09:24:17] <Zauberfisch> right now my modules are all just git repos without releases
144: [09:24:35] <Zauberfisch> but there is in fact a module that I am about to release as alpha. a content block module
145: [09:24:57] <Zauberfisch> about meaning some when "soon"
146: [09:27:02] <kinglozzer> Zauberfisch: Well if you release 1.x for version 3, create a "1" branch and reserve master for 4
147: [09:27:18] <kinglozzer> You'll need separate major releases anyway as there will be breaking changes
148: [09:27:20] <lerni> Zauberfisch: i'm no expert but for me a mayor-version of your module for both ss3 & 4 sounds logical
149: [09:27:57] <lerni> loz said the same :)
150: [09:28:21] <Zauberfisch> yes, of course. But my problem is what if I make 1.x => 3 and 2.x => 4. What if I now want to make breaking changes to the 3 compatible version of the module?
151: [09:28:38] <Zauberfisch> I can't release a new major version because 2.x is already for ss4
152: [09:29:04] <Zauberfisch> and making 1.x+1 the new major release for ss3 conflicts with what I understand semver should be
153: [09:30:25] <ss-helper> SilverStripe adding announcements / warnings to admin pages - http://stackoverflow.com/questions/40258488/silverstripe-adding-announcements-warnings-to-admin-pages
154: [09:30:26] <Zauberfisch> and because ss4 has a lot of breaking changes I will most likely have to support and even work on ss3 projects for a while. so I might need to release a new version of a module for both, ss4 and ss3
155: [09:31:47] <Zauberfisch> the easiest solution I can think of is making the releases ss3.1.0.0 and ss4.1.0.0, so just prefix it with the ss version and have 4 instead of 3 numbers
156: [09:32:28] <Zauberfisch> but I am wondering how other module maintainers solve this issue
157: [09:32:45] <madmatt> Zauberfisch: yeah semver doesn't have a way of dealing with that nicely
158: [09:33:03] <madmatt> Until SS4 is stable, I'd suggest using master for ss4 compat, and tagged versions for SS3, but that has it's own complications
159: [09:33:24] <madmatt> Alternatively you could have a 4 branch for SS4 compat, and use your normal process for 3.x
160: [09:34:35] <Zauberfisch> I considered that
161: [09:35:05] <Zauberfisch> but realisitcly I will release new versions of that module even after 4 is stable but still need to support 3
162: [09:35:20] <Zauberfisch> so I would really like to decide on a way now that works well later on
163: [09:38:20] <Zauberfisch> I haven't really been active on the dev mailing list in the past year, has there been any discussion on how to version modules? Is it worth raising this question to the community?
164: [09:40:21] * Shrike_Finland has joined #silverstripe
165: [09:40:41] * neilf__ quit (Quit: Connection closed for inactivity)
166: [09:42:08] <samsam> is there an easy way to remove the "search" functionality for ModelAdmin sections?
167: [09:42:29] <Zauberfisch> samsam: no
168: [09:42:44] <samsam> so is there a hard way? :p
169: [09:42:47] <Zauberfisch> yes
170: [09:42:49] <Zauberfisch> hold on
171: [09:43:13] * samsam holds on
172: [09:43:49] <Zauberfisch> oh, wait
173: [09:43:55] <Zauberfisch> that changed in 3.4 or something
174: [09:45:29] <samsam> darn!
175: [09:45:31] <ss-helper> Re: [silverstripe-dev] Member Profile extendable area - https://groups.google.com/d/msg/silverstripe-dev/mD1GzF5aZH0/9DnGTal4BgAJ
176: [09:45:31] <ss-helper> Re: [silverstripe-dev] Member Profile extendable area - https://groups.google.com/d/msg/silverstripe-dev/mD1GzF5aZH0/wTKRMUx4BgAJ
177: [09:50:10] <samsam> Spamming stackoverflow today
178: [09:50:55] <Zauberfisch> samsam: just looked into it
179: [09:50:58] <Zauberfisch> you still have to use css
180: [09:51:37] <samsam> lol really, damn
181: [09:52:47] <samsam> well, works for now
182: [09:53:52] <samsam> thanks for the suggestion
183: [09:54:57] <Zauberfisch> Technically you can remove the search form by overwriting the method SearchForm() and returning a falseish value
184: [09:55:08] <Zauberfisch> then the form and the headline will not appear
185: [09:55:16] <Zauberfisch> but the search icon in the header bar is still there
186: [09:55:37] <Zauberfisch> https://www.irccloud.com/pastebin/CsAg8HD7/
187: [09:55:42] <samsam> which in turn makes clients contact me "why is this not working"
188: [09:55:52] <Zauberfisch> yep
189: [09:55:57] <Zauberfisch> so you still need css anyway
190: [09:56:06] <samsam> combine this with css would be good enough I think
191: [09:59:24] <Zauberfisch> samsam: or we could make a pull request and finally fix this
192: [10:00:25] <ss-helper> SilverStripe remove ModelAdmin search - http://stackoverflow.com/questions/40258995/silverstripe-remove-modeladmin-search
193: [10:00:32] <samsam> There we go
194: [10:30:10] <madmatt> Zauberfisch: I haven't been active on the -dev mailinglist either, but I'd suggest you raise it, it's something that would be awesome to get a standard for if possible
195: [10:40:00] <samsam> http://addons.silverstripe.org/add-ons?search=notice&type=&sort=
196: [10:40:12] <samsam> "compatible SilverStripe versions"
197: [10:40:15] <samsam> ... 3.5?
198: [10:43:00] <samsam> what blasphemy is this
199: [10:44:52] <madmatt> Might be a way of ensuring people don't install the module via composer yet, if it's incomplete or something like that?
200: [10:46:39] * Azure|dc is now known as Azure
201: [10:50:03] <madmatt> Although it makes more sense to not list the module at all
202: [10:54:24] <samsam> but there is no silverstripe 3.5 afaik lol
203: [10:54:48] <madmatt> Yeah that's what I mean, it would mean composer won't let you install it
204: [10:55:19] <madmatt> oh wait sorry
205: [10:55:27] <madmatt> I see you mean in the checkboxes at the top
206: [10:55:29] <samsam> hehe yes
207: [10:55:40] <samsam> search result was irelevant
208: [10:55:59] <madmatt> yeah sorry, misunderstood hehe
209: [10:56:19] <samsam> I'll just add this to the list of weird stuff on the .org site
210: [10:56:22] <madmatt> yeah I dunno why it's doing that tbh
211: [10:56:38] <madmatt> the modules listed all seem to have >=3.1 as their requirement as far as I've seen
212: [11:15:27] <ss-helper> SilverStripe adding announcements / warnings to CMS pages - http://stackoverflow.com/questions/40258488/silverstripe-adding-announcements-warnings-to-cms-pages
213: [11:29:05] * kinglozzer quit ()
214: [11:33:35] * micmania1 quit (Quit: micmania1)
215: [11:35:06] * Lau_ quit (Ping timeout: 260 seconds)
216: [11:35:10] <samsam> does ->map() return an indexed array or an associative array? (numerical or literal)
217: [11:36:21] <swaiba> samsam do you mean toMap() ?
218: [11:36:22] <swaiba> http://api.silverstripe.org/3.1/source-class-DataObject.html#787-795
219: [11:36:34] <swaiba> and assoc i think
220: [11:38:37] <Zauberfisch> I am back
221: [11:38:39] <Zauberfisch> since a bit
222: [11:38:51] <Zauberfisch> samsam: fixed the ModelAdmin SearchForm thing
223: [11:38:52] <Zauberfisch> https://github.com/silverstripe/silverstripe-framework/pull/6237
224: [11:39:18] <Zauberfisch> samsam: careful with ->map(), it might also return an SS_Map object
225: [11:39:47] <samsam> i think that's what's causing my issues
226: [11:40:15] <Zauberfisch> damn, kinglozzer wen't offline D:
227: [11:42:15] <samsam> nice commit, gonna check it out :O
228: [11:43:44] <Zauberfisch> samsam: keep an eye on that pull request, once it's merged you should be able to require "silverstripe/framework": "^3.4.2" which will install dev-3.4 (the git branch) until 3.4.2 is released
229: [11:45:04] <samsam> will do mate
230: [11:45:29] <samsam> meanwhile, this is killing me:
231: [11:45:31] <Zauberfisch> hmm, wait. it might also install dev-3
232: [11:45:38] <Zauberfisch> which might not be what you want
233: [11:45:46] <samsam> honestly, I've never used composer yet :') gonna do manual edit anyway
234: [11:45:56] <Zauberfisch> oh
235: [11:45:57] <Zauberfisch> nvm then
236: [11:46:09] <Zauberfisch> then just install the 3.4 branch
237: [11:46:15] <samsam> Object::get()->filter('PageID', $this->ID)->map('ID', 'Label');
238: [11:46:16] <Zauberfisch> once it's merged
239: [11:46:22] <Zauberfisch> try:
240: [11:46:29] <Zauberfisch> ->toArray()
241: [11:46:33] <samsam> omg
242: [11:46:33] <Zauberfisch> at the end
243: [11:46:37] <samsam> of course *facepalm*
244: [11:46:39] <Zauberfisch> SS_Map has a toArray method
245: [11:47:27] <samsam> testing
246: [11:47:53] <samsam> Solved it!
247: [11:49:22] <samsam> if I would have an IDE I could just read the return type right?
248: [11:53:22] <Zauberfisch> mostly, yes
249: [11:53:43] <Zauberfisch> since php is weaktyped, the IDE has to kind of guess or read the php doc blocks
250: [11:53:58] <Zauberfisch> and if the php doc block is wrong, it shows the wrong info
251: [11:54:01] <Zauberfisch> but generally, yes
252: [11:54:06] <Zauberfisch> IDE makes a lot of things easier
253: [12:00:04] <swaiba> and IDE should be PHPStorm :)
254: [12:00:31] <samsam> hehe license costs are horrible though
255: [12:00:47] <swaiba> then make an open source project and ask for free
256: [12:01:01] <swaiba> I mean, I understand, but I think it's excellent value
257: [12:01:39] <swaiba> if you want free then netbeans is ok and aptana is ok as well I hear
258: [12:03:19] <samsam> it's free for open source projects?
259: [12:03:31] <swaiba> phpstorm is yes
260: [12:03:41] <swaiba> and the others I've mentioned are free regardless
261: [12:03:53] <samsam> thats cool
262: [12:09:53] <madmatt> PHP Storm is great, well worth the cost for the single user licence if you're doing a significant amount of PHP dev
263: [12:09:53] <Zauberfisch> samsam: but those 100 EUR a year or what ever it was is _nothing_ compared to the time you save
264: [12:09:59] <madmatt> ^^
265: [12:10:12] * samsam pulls his wallet out
266: [12:10:20] <samsam> fine, buying it
267: [12:10:25] <madmatt> SS could get better / more accurate docblocks which would help pstorm further, but it's pretty good at inferring things
268: [12:10:40] <Zauberfisch> yep
269: [12:10:48] <Zauberfisch> better than any other IDE I've used
270: [12:10:49] <madmatt> The most annoying part is using Inject::inst()->get('ClassName'), where you have to do /** @var ClassName $obj **/ before it always
271: [12:10:56] <Zauberfisch> yeah
272: [12:12:17] <madmatt> It'd be nice if that was in some way supported by docblock/phpDocumentor
273: [12:13:08] <Zauberfisch> yeah, as in "@return new $param1" or something to indicate that it's an instance of the first argument passed or something
274: [12:14:11] <madmatt> Exactly yeah
275: [12:25:27] <swaiba> madmatt Zauberfisch any changes like that would be good on https://github.com/axyr/silverstripe-ideannotator
276: [12:25:47] <swaiba> which is great to create the docs for undocumneted code
277: [12:25:51] * b440 has joined #silverstripe
278: [12:27:30] * UndefinedOffset has joined #silverstripe
279: [12:30:28] <ss-helper> Silverstripe 3.4 sqlquery many-many - http://stackoverflow.com/questions/40262343/silverstripe-3-4-sqlquery-many-many
280: [12:47:31] <samsam> I discovered an ancient artifact in SS
281: [12:47:58] <samsam> cms/images/tree-icons/user-file.gif
282: [12:56:09] * cupcake has joined #silverstripe
283: [13:06:20] <swaiba> if you are sure samsam then maybe a pull request ?
284: [13:06:48] <samsam> ah no I was just ridiculing the msn icon
285: [13:07:17] <cloph> there are quite a few in there (and .gif when actually a .png)
286: [13:07:31] <swaiba> yeah it's like straight out of the 90's, but I'm serious in terms of the pull request
287: [13:07:48] <swaiba> if those bytes are sitting on servers for no reason...
288: [13:08:35] <samsam> they sure seem to be indeed
289: [13:08:59] <samsam> but how sure are we that they're not used
290: [13:10:41] <cloph> git log/blame to see what it was added for, then watch whether the use of it was removed without removing the image would be my take (if the obvious git grep doesn't show up something useful)
291: [13:13:16] <cloph> they're no longer in master btw
292: [13:15:21] <samsam> this is weird
293: [13:15:23] <cloph> but there are client/dist/images and client/src/images that contain identical images
294: [13:15:29] <ss-helper> SilverStripe change page type icon - http://stackoverflow.com/questions/40263274/silverstripe-change-page-type-icon
295: [13:15:32] <cloph> so still room for improvement :-)
296: [13:16:13] <samsam> I have 3.4.1 on my server and it has framework/images
297: [13:16:21] <samsam> whereas the master doesnt have this folder
298: [13:19:22] * cloph quit (Remote host closed the connection)
299: [13:22:05] * cloph_away has joined #silverstripe
300: [13:22:24] * cloph_away is now known as cloph
301: [13:28:37] * pweh quit (Read error: Connection reset by peer)
302: [13:29:15] <Zauberfisch> swaiba: well, such a feature does not yet exist, as far as I know D:
303: [13:29:25] <Zauberfisch> (talking about @return new $param
304: [13:29:27] <Zauberfisch> )
305: [13:30:31] <swaiba> Zauberfisch are you talking doesn't exist in current ss docs, ideanotator module or phpstorm?
306: [13:31:03] <Zauberfisch> phpdoc block specs
307: [13:31:06] <Zauberfisch> and therefore phpstorm
308: [13:31:18] <swaiba> got it, my mistake
309: [13:45:59] * b440 quit (Quit: Page closed)
310: [13:49:16] * Shrike_Finland quit (Quit: Leaving.)
311: [14:02:35] <samsam> .
312: [14:07:21] * samsam quit (Ping timeout: 260 seconds)
313: [14:15:00] * muskie9 has joined #silverstripe
314: [14:28:17] * swaiba quit (Remote host closed the connection)
315: [14:47:40] <lerni> samsam: if you addstatic $icon = "mysite/images/icons/foobar.png";
316: [14:49:43] <lerni> does this answer your question
317: [14:57:18] <Zauberfisch> lerni: probably not. as he left 50 minutes ago :P
318: [14:58:21] <lerni> Zauberfisch: ahh thx just thoght this is him... http://stackoverflow.com/questions/40263274/silverstripe-change-page-type-icon
319: [14:58:39] <Zauberfisch> it is
320: [15:11:39] * muskie9 quit (Ping timeout: 250 seconds)
321: [15:19:19] * darianno quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
322: [15:19:46] <Zauberfisch> lerni: you should probably anwser on stackoverflow then :P
323: [15:19:52] <Zauberfisch> answer*
324: [15:29:14] * samsam has joined #silverstripe
325: [15:29:30] <slievr> He's back!
326: [15:29:34] <samsam> supp
327: [15:29:41] <slievr> lerni answered your question
328: [15:29:45] <samsam> no wai
329: [15:29:49] * samsam checking logs
330: [15:31:16] <lerni> slievr: he did as well on SO
331: [15:31:26] <samsam> hmm darn, I'll have to cut out the form icon from the sprite then
332: [15:31:38] <slievr> Oh, I checked but didn't see.
333: [15:31:46] <lerni> samsam: you can add you own style
334: [15:32:24] <lerni> LeftAndMain:
335: [15:32:25] <lerni> extra_requirements_css:
336: [15:32:25] <lerni> - mysite/style/fixCMSstyle.css
337: [15:33:28] <samsam> Hmm good suggestion yes, but too much of a hassle I think
338: [15:33:39] <samsam> also changing the icon would require me to edit css
339: [15:33:47] <samsam> I'm just gonna cut it out lol
340: [15:34:51] <samsam> I remember in an old SS install (3.4) I named a page type "FormPage"
341: [15:35:02] <samsam> and SS automatically added the form page icon to it
342: [15:45:42] <ss-helper> Re: [silverstripe-dev] Member Profile extendable area - https://groups.google.com/d/msg/silverstripe-dev/mD1GzF5aZH0/vS8Ru8mLBgAJ
343: [15:49:02] * leomeloxp quit (Quit: Connection closed for inactivity)
344: [15:52:15] <gamma> Hi - Has anyone used UserDefinedForms here? Is there a way to make a character limit on a field in it?
345: [15:56:40] * lerni quit ()
346: [16:01:16] <Zauberfisch> gamma: yes, most people have used it at some point
347: [16:02:24] * guzzlefry has left #silverstripe
348: [16:03:42] <Zauberfisch> gamma: not sure about the length thing though
349: [16:05:00] <Zauberfisch> oh, wait
350: [16:05:07] <Zauberfisch> it looks like this is already built in
351: [16:05:11] * cupcake quit (Ping timeout: 260 seconds)
352: [16:05:13] <Zauberfisch> https://github.com/silverstripe/silverstripe-userforms/blob/master/code/model/editableformfields/EditableTextField.php#L19
353: [16:05:33] <Zauberfisch> so I assume there is a field in the CMS somewhere to set the max length
354: [16:06:29] <Zauberfisch> samsam: btw, you asked about ss4. the CMS is still broken in many aeras
355: [16:07:50] <Zauberfisch> https://usercontent.irccloud-cdn.com/file/YcwvGYWY/ss4-aplha-cms.png
356: [16:16:47] <gamma> Zauberfisch: Hm. I thought that was the case. I'll poke at it some more, because the field which seems to be the MaxLength field doesn't appear to be working properly.
357: [16:21:31] * samsam quit (Ping timeout: 260 seconds)
358: [16:42:03] * gelignite has joined #silverstripe
359: [16:45:45] <ss-helper> Re: [silverstripe-dev] Member Profile extendable area - https://groups.google.com/d/msg/silverstripe-dev/mD1GzF5aZH0/BdzoevCOBgAJ
360: [17:03:10] * Azure quit (Ping timeout: 250 seconds)
361: [17:29:42] * Azure has joined #silverstripe
362: [17:52:03] * Azure quit (Ping timeout: 256 seconds)
363: [18:07:46] * darianno has joined #silverstripe
364: [18:08:03] * darianno quit (Client Quit)
365: [18:19:44] * Stomach has joined #silverstripe
366: [18:38:51] * terryapodaca has joined #silverstripe
367: [18:47:33] * Shrike_Finland has joined #silverstripe
368: [19:28:52] * Shrike_Finland quit (Quit: Leaving.)
369: [19:31:15] * Kapdap_ quit (Quit: Lost terminal)
370: [19:31:53] * Kapdap has joined #silverstripe
371: [20:04:05] * adrexia has joined #silverstripe
372: [20:33:56] * sminnee_ has joined #silverstripe
373: [20:34:08] * UndefinedOffset quit (Quit: Leaving.)
374: [21:05:22] * DanaeNZ has joined #silverstripe
375: [21:12:26] * Stomach quit (Quit: zzz)
376: [21:19:00] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
377: [21:20:31] * Stomach has joined #silverstripe
378: [21:28:05] <DanaeNZ> who fucked up this repo while I was gone
379: [21:28:15] <Quatrepee> me
380: [21:28:30] <DanaeNZ> file status: 19810 files modified/added/deleted
381: [21:28:36] <DanaeNZ> dammit Quatrepee
382: [21:33:13] * sminnee_ quit (Ping timeout: 276 seconds)
383: [21:36:31] * pippy quit (Ping timeout: 260 seconds)
384: [21:38:49] * helenclarko has joined #silverstripe
385: [21:38:55] <helenclarko> Hey all
386: [21:39:07] <DanaeNZ> helenclarko: \o
387: [21:39:15] <helenclarko> Can someone help me out, I have a problem.
388: [21:39:17] <helenclarko> so...
389: [21:39:49] <helenclarko> I have this link http://gsjojee3tjkha1el.myfritz.net/about-us/ but it doesn't seem to pull the layout from page.ss
390: [21:40:03] <helenclarko> However this link works fine http://gsjojee3tjkha1el.myfritz.net/about-us
391: [21:40:10] * Hailwood has joined #silverstripe
392: [21:40:19] <Hailwood> Hey folks
393: [21:40:56] <helenclarko> Just me? or same thing for everyone else
394: [21:41:11] <DanaeNZ> helenclarko: where yo base tag at
395: [21:41:31] <DanaeNZ> also hi Hailwood
396: [21:41:40] <DanaeNZ> helenclarko: and maybe check your .htaccess
397: [21:42:01] <helenclarko> Oh Hi to DanaeNZ and Hailwood
398: [21:42:04] <helenclarko> o/
399: [21:43:16] <helenclarko> DanaeNZ, YOU FIXED IT!
400: [21:43:22] <DanaeNZ> yey
401: [21:43:28] <helenclarko> I removed the Base Tag by mistake
402: [21:43:35] <helenclarko> What an idiot!
403: [21:44:08] <Hailwood> helenclarko: What issue are you running into without the base tag?
404: [21:44:20] * Azure has joined #silverstripe
405: [21:44:45] <helenclarko> The page wouldnt load CSS
406: [21:45:08] <Hailwood> helenclarko: I take it you don't prefix your links with / then huh
407: [21:45:14] <helenclarko> Well weirdly, it wouldnt load CSS if the link ended in a /
408: [21:45:41] <Hailwood> ended in a /? what kind of link is that? /css/somefile.css/ ? lol what
409: [21:46:13] <helenclarko> haha no all the page links, not file links
410: [21:47:06] <helenclarko> Soo pages might be www.domain.com/contact/ which wouldnt load CSS
411: [21:47:07] <Hailwood> Oh, it was proabably being treated as a directory so /about/ would try to load /about/file.css instead of /file.css
412: [21:47:21] <helenclarko> Removing the last / would allow CSS to load
413: [21:47:38] <helenclarko> Right
414: [21:47:51] <helenclarko> That makes makes sense
415: [22:00:22] * Azure quit (Ping timeout: 252 seconds)
416: [22:32:13] * Tron_ has joined #silverstripe
417: [22:34:05] <Tron_> thought I would just throw this out there. Anyone know of any companies hiring silverstripe developers in Wellington?
418: [22:50:33] <DanaeNZ> What's the best way to get the config for an object? Config::inst()->get()?
419: [22:50:56] <DanaeNZ> What about if it's for the current class? I'm pretty sure there's a function like self::config or something
420: [22:51:26] <DanaeNZ> you know what there is a function called self::config()
421: [22:52:25] * micmania1 has joined #silverstripe
422: [23:00:01] * ss-helper quit (Remote host closed the connection)
423: [23:00:15] * ss-helper has joined #silverstripe
424: [23:02:16] * Tron_ quit (Ping timeout: 260 seconds)
425: [23:06:34] * micmania1 quit (Quit: micmania1)
426: [23:07:11] * micmania1 has joined #silverstripe
427: [23:17:50] * micmania1 quit (Quit: micmania1)
428: [23:41:56] * Stomach quit (Quit: zzz)
429: [23:42:54] * Stomach has joined #silverstripe
430: [23:53:36] * Phuong quit (Ping timeout: 260 seconds)
431: [23:59:41] * micmania1 has joined #silverstripe

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