#silverstripe IRC Log

IRC log for 3 April 2015

All timestamps are in UTC.

1: [00:12:04] * jedateach has left #silverstripe
2: [00:35:59] <ss-helper> Re: Composer, git and Silverstripe themes - http://www.silverstripe.org/community/forums/installing-silverstripe/show/21500#post401061
3: [00:38:56] * Shrike_Finland quit (Quit: Leaving.)
4: [01:01:35] * hubertusanton quit (Ping timeout: 250 seconds)
5: [01:02:02] * Guest91437 quit (Ping timeout: 250 seconds)
6: [01:02:49] * madmatt has joined #silverstripe
7: [01:03:37] * madmatt is now known as Guest59334
8: [01:09:58] * hubertusanton has joined #silverstripe
9: [01:36:49] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
10: [01:39:30] * muskie9 has joined #silverstripe
11: [01:43:28] * UncleCheese has joined #silverstripe
12: [01:44:14] * benjhocking quit (Quit: Leaving.)
13: [01:54:49] * r_hector has joined #silverstripe
14: [02:07:01] * ocmnt quit (Ping timeout: 255 seconds)
15: [02:20:26] * benjhocking has joined #silverstripe
16: [02:25:50] <UncleCheese> php's support of anonymous functions is shit
17: [02:47:10] <muskie9> any reason why $value here would show one value, but when added as an option in the form it shows something else: https://gist.github.com/muskie9/964094a3e9c73830a6df#file-foxystripedropdownfield-php-L55
18: [02:49:08] <muskie9> i.e. the var dump for 'AL' => 'Alabama' as the key => val, after encrypted and var_dumped at 61 is https://gist.github.com/muskie9/27c0b5891914840f4002
19: [02:49:21] <ss-helper> How can I request it in the modeladmin gallery page that are in draft? - http://www.silverstripe.org/community/forums/customising-the-cms/show/101531
20: [02:49:35] * OxFF_ quit (Quit: See you then)
21: [02:49:37] <muskie9> but the value in the dropdown on the frontend is still 'AL' => 'Alabama'
22: [03:08:08] * catcher has joined #silverstripe
23: [03:12:31] * catcher quit (Client Quit)
24: [03:16:13] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
25: [03:22:40] * r_hector quit (Quit: Leaving.)
26: [03:40:32] * benjhocking quit (Quit: Leaving.)
27: [03:50:09] <ss-helper> Basic Spam Protection on a Basic Form - http://www.silverstripe.org/community/forums/form-questions/show/101532
28: [04:06:39] * UncleCheese has joined #silverstripe
29: [04:10:32] * bemusedrat has joined #silverstripe
30: [04:26:03] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
31: [04:28:09] * Stomach has joined #silverstripe
32: [04:37:12] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
33: [04:46:16] * Error404NotFound has joined #silverstripe
34: [04:47:52] * Err404NotFound quit (Ping timeout: 272 seconds)
35: [04:53:38] * Stomach quit (Quit: zzz)
36: [05:19:47] <ss-helper> Re: TinyMCE with syntax highlighting - http://www.silverstripe.org/community/forums/customising-the-cms/show/22144#post401064
37: [05:23:24] * benjhocking has joined #silverstripe
38: [06:03:09] * ocmnt has joined #silverstripe
39: [06:05:02] * Stomach has joined #silverstripe
40: [06:12:09] * Stomach quit (Quit: zzz)
41: [07:04:08] * Hailwood has joined #silverstripe
42: [07:04:54] * Shrike_Finland has joined #silverstripe
43: [07:11:32] * Eliseth has joined #silverstripe
44: [07:18:18] * nontgor quit (Ping timeout: 252 seconds)
45: [07:22:26] * babak has joined #silverstripe
46: [07:46:25] * Stomach has joined #silverstripe
47: [07:56:04] * Stomach quit (Quit: zzz)
48: [07:59:14] <Eliseth> morning
49: [08:52:04] * veb quit (Quit: veb-irc: &)
50: [08:55:13] * veb has joined #silverstripe
51: [09:20:30] <ss-helper> Re: SS 3.1.12 fresh installation issues - http://www.silverstripe.org/community/forums/installing-silverstripe/show/101505#post401065
52: [09:30:52] * Error404NotFound quit (Quit: User guilty of hitting the Big Red X...)
53: [09:58:03] * Shrike_Finland quit (Quit: Leaving.)
54: [10:20:08] <ss-helper> Re: Custom admin url - https://groups.google.com/d/msg/silverstripe-dev/gGVRd0wS0U8/AKEiX-W9wUwJ
55: [10:21:48] * gordon has joined #silverstripe
56: [10:22:11] * gordon is now known as Guest66999
57: [10:24:21] * Guest66999 is now known as nontgor
58: [10:35:10] <ss-helper> Re: [silverstripe-dev] new 404 page on SilverStripe,org looks fantastic - https://groups.google.com/d/msg/silverstripe-dev/uLjdxaYLFr4/C6Lh751ZPDAJ
59: [10:35:10] <ss-helper> Re: new 404 page on SilverStripe,org looks fantastic - https://groups.google.com/d/msg/silverstripe-dev/uLjdxaYLFr4/nf7xhcDu3hsJ
60: [10:35:10] <ss-helper> new 404 page on SilverStripe,org looks fantastic - https://groups.google.com/d/msg/silverstripe-dev/uLjdxaYLFr4/gTTxmwHP83gJ
61: [10:58:50] * babak quit (Quit: Connection closed for inactivity)
62: [10:59:17] * huberd has joined #silverstripe
63: [11:02:31] <huberd> Hey, I need to set several URLSegements of DataObjects (asPage) programatically by their Title -> if I do $obj->URLSegment = $obj->Title and publish it, will the blanks be replaced automatically?
64: [11:05:13] <ss-helper> Re: new 404 page on SilverStripe,org looks fantastic - https://groups.google.com/d/msg/silverstripe-dev/uLjdxaYLFr4/qFd5I1M1c6kJ
65: [11:06:54] <huberd> nevermind...
66: [11:53:10] <Eliseth> I'm trying to display a piece of HTML in my template for not logged in members only... <% if CurrentMember %><% else %>My HTML<% end_if %> works, but isn't there something like <% if !CurrentMember %> ?
67: [11:53:52] <huberd> <% if not $CurrentMember %>
68: [11:57:32] <Eliseth> I need vacation... thanks ><
69: [12:01:29] <DimiStripe> Hey guys ! Happy Easter ! :D I need a fix for my searchable field :)
70: [12:01:29] <DimiStripe> Whe-n I use private static $searchable_fields = array('VoteIP','Picture.ID' ); Where Picture.ID compes from has-one picture. The Picture Id in saerch appears as a dropdown. However I need it to be simple input field. How can i tune this to be an input textbox field ?
71: [12:45:35] * Hailwood quit (Ping timeout: 256 seconds)
72: [12:54:13] * Azure quit (Quit: My MBP went to sleep.)
73: [13:03:15] * NobrainerWeb has joined #silverstripe
74: [13:04:35] <NobrainerWeb> Hi guys - using import under a modeladmin, i want to import pages. It works well, but how do i define what parent a page is created under? If i make a ParentID column, pages are still added to root.
75: [13:06:08] <ss-helper> Can't resize png files - http://www.silverstripe.org/community/forums/general-questions/show/101545
76: [13:40:49] * catcher has joined #silverstripe
77: [13:43:37] <slievr> NobrainerWeb: you could create a dropdown field mapped to parentID to define it for each page
78: [13:44:29] <NobrainerWeb> slievr: I’m importing from CSV, trying to make the CSV bulkimporter set a ParentID for me
79: [13:53:17] * veb quit (Quit: veb-irc: &)
80: [14:01:02] * PigeonFriend quit ()
81: [14:10:39] * Shrike_Finland has joined #silverstripe
82: [14:10:52] <slievr> NobrainerWeb: have you tried Parent.ID. Sorry that I've not been much help, I'm not too familiar with CsvBulkLoader.
83: [14:11:11] <NobrainerWeb> slievr: I just did Parent.ID and that works
84: [14:11:40] <slievr> NobrainerWeb: great stuff.
85: [14:12:03] <NobrainerWeb> But now the CSV importer for some reason creates 2 records for each imported record one with classname SiteTree and one with ProductPage
86: [14:12:42] <NobrainerWeb> slievr: Thank you for answering btw :-)
87: [14:15:57] <slievr> NobrainerWeb: is this in the SiteTree table?
88: [14:16:07] <NobrainerWeb> slievr: It is yes
89: [14:17:33] <slievr> NobrainerWeb: what happens if you explicitly set the ClassName of the parent (assuming the dual records is for parent)
90: [14:18:06] <NobrainerWeb> slievr: As in creating a column with Parent.ClassName?
91: [14:18:27] <slievr> yeah
92: [14:26:30] <NobrainerWeb> The import then changes the parents classname to whatever i set in the column
93: [14:27:22] <NobrainerWeb> I did try to just specify the ClassName in a column, that still gives dublicate records
94: [14:31:52] <slievr> NobrainerWeb: just to clarify the duplicate record are created for the parent or the page?
95: [14:32:30] * cloph_away has joined #silverstripe
96: [14:32:47] * cloph quit (Ping timeout: 250 seconds)
97: [14:34:36] <NobrainerWeb> slievr: In the SiteTree table, for every record with a ProductPage, there is a SiteTree (ClassName) record. All fields except ClassName, created dates, sort, shoinmenus are just NULL
98: [14:35:16] <NobrainerWeb> slievr: I think i’m just stopping here, will just manually delete the duplicate records and move on
99: [14:36:47] <slievr> NobrainerWeb: fair enough, happy deleting.
100: [14:37:08] <NobrainerWeb> slievr: Thanks for helping me out !
101: [14:45:29] * NobrainerWeb quit (Quit: NobrainerWeb)
102: [14:51:38] * babak has joined #silverstripe
103: [15:05:06] * cloph_away quit (Ping timeout: 250 seconds)
104: [15:18:01] * Eliseth quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
105: [15:42:11] * Shrike_Finland quit (Quit: Leaving.)
106: [15:51:45] * zfmf has joined #silverstripe
107: [16:01:46] * huberd quit (Ping timeout: 246 seconds)
108: [16:51:22] * gelignite has joined #silverstripe
109: [16:51:50] <ss-helper> Passing image object to method in template - http://www.silverstripe.org/community/forums/general-questions/show/101546
110: [17:06:53] <ss-helper> Remove photo gallery and add video - http://www.silverstripe.org/community/forums/all-other-modules/show/101547
111: [17:30:41] * bemusedrat quit (Quit: Leaving)
112: [17:52:32] <ss-helper> Re: Passing image object to method in template - http://www.silverstripe.org/community/forums/general-questions/show/101546#post401081
113: [18:07:03] <ss-helper> Re: Remove photo gallery and add video - http://www.silverstripe.org/community/forums/all-other-modules/show/101547#post401082
114: [18:19:11] * emitor has joined #silverstripe
115: [18:22:06] <ss-helper> Re: Passing image object to method in template - http://www.silverstripe.org/community/forums/general-questions/show/101546#post401086
116: [18:22:06] <ss-helper> Re: Passing image object to method in template - http://www.silverstripe.org/community/forums/general-questions/show/101546#post401085
117: [18:22:06] <ss-helper> Re: Remove photo gallery and add video - http://www.silverstripe.org/community/forums/all-other-modules/show/101547#post401084
118: [18:22:06] <ss-helper> Re: Passing image object to method in template - http://www.silverstripe.org/community/forums/general-questions/show/101546#post401083
119: [18:22:37] <ss-helper> Re: Passing image object to method in template - http://www.silverstripe.org/community/forums/general-questions/show/101546#post401087
120: [18:23:31] * emitor quit (Ping timeout: 246 seconds)
121: [18:24:12] <ss-helper> Re: Passing image object to method in template - http://www.silverstripe.org/community/forums/general-questions/show/101546#post401088
122: [18:39:16] <ss-helper> Re: Passing image object to method in template - http://www.silverstripe.org/community/forums/general-questions/show/101546#post401089
123: [18:48:50] * babak quit (Quit: Connection closed for inactivity)
124: [19:06:13] * babak has joined #silverstripe
125: [19:22:16] <ss-helper> he world's fastest-growing faith - http://www.silverstripe.org/community/forums/hosting-requirements/show/101548
126: [19:23:07] * Stomach has joined #silverstripe
127: [19:31:29] * ocmnt quit (Ping timeout: 252 seconds)
128: [19:47:08] * muskie9 has joined #silverstripe
129: [19:47:27] * Shrike_Finland has joined #silverstripe
130: [19:53:41] <muskie9> anyone know if mathspamprotection module is usable for SS 3.0.5
131: [19:53:58] <muskie9> and if so what tag/branch/commit
132: [20:01:26] * Stomach quit (Quit: zzz)
133: [20:14:16] * Azure has joined #silverstripe
134: [20:20:34] * UncleCheese has joined #silverstripe
135: [20:21:48] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
136: [20:35:13] * zfmf quit (Remote host closed the connection)
137: [20:36:11] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
138: [20:45:32] * Stomach has joined #silverstripe
139: [21:01:05] * Stomach quit (Quit: zzz)
140: [21:16:35] * Liquide quit ()
141: [21:36:51] * Shrike_Finland quit (Quit: Leaving.)
142: [21:37:39] <ss-helper> Re: Remove photo gallery and add video - http://www.silverstripe.org/community/forums/all-other-modules/show/101547#post401091
143: [21:48:50] * babak quit (Quit: Connection closed for inactivity)
144: [22:09:12] * catcher quit (Quit: Leaving)
145: [22:14:14] * muskie9 is now known as muskie9_afk
146: [22:22:20] * Stomach has joined #silverstripe
147: [22:27:12] * Stomach quit (Client Quit)
148: [22:35:28] * muskie9_afk is now known as muskie9
149: [22:39:00] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
150: [22:52:52] <ss-helper> Validate image on save - http://www.silverstripe.org/community/forums/general-questions/show/101549
151: [23:18:03] * veb has joined #silverstripe
152: [23:18:55] * elgabbu quit (Ping timeout: 246 seconds)

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