#silverstripe IRC Log

IRC log for 6 January 2017

All timestamps are in UTC.

1: [00:09:21] * DanaeNZ quit (Remote host closed the connection)
2: [00:24:56] * samsamek quit (Quit: samsamek)
3: [00:34:02] * DanaeNZ has joined #silverstripe
4: [00:40:53] * micmania1 has joined #silverstripe
5: [01:13:52] * Zauberfisch quit (*.net *.split)
6: [01:13:52] * Uitto quit (*.net *.split)
7: [01:13:53] * TombL_ quit (*.net *.split)
8: [01:13:53] * BackEndCoder quit (*.net *.split)
9: [01:13:59] * saiyan quit (*.net *.split)
10: [01:14:03] * Uitto_ has joined #silverstripe
11: [01:14:03] * Uitto_ is now known as Uitto
12: [01:14:07] * TombL has joined #silverstripe
13: [01:16:37] * BackEndCoder has joined #silverstripe
14: [01:16:38] * saiyan has joined #silverstripe
15: [01:27:37] * Zauberfisch has joined #silverstripe
16: [01:53:17] * filisko quit (Ping timeout: 255 seconds)
17: [02:09:46] * jarard01 has joined #silverstripe
18: [02:13:09] * jarard quit (Ping timeout: 240 seconds)
19: [04:15:27] * DanaeNZ quit (Quit: TIME TO FEED)
20: [06:41:56] * micmania1 quit (Ping timeout: 248 seconds)
21: [07:00:30] * pweh has joined #silverstripe
22: [08:00:20] * pweh quit (Ping timeout: 248 seconds)
23: [08:25:56] * Uitto quit (Ping timeout: 248 seconds)
24: [08:26:01] * Kapdap_ quit (Ping timeout: 245 seconds)
25: [08:26:45] * Kapdap has joined #silverstripe
26: [08:26:45] * Uitto has joined #silverstripe
27: [08:31:29] * trash__ quit (*.net *.split)
28: [08:31:29] * DimiStripe quit (*.net *.split)
29: [08:31:30] * Guest6470 quit (*.net *.split)
30: [08:31:31] * cloph_away quit (*.net *.split)
31: [08:31:31] * ajmitch_ quit (*.net *.split)
32: [08:31:31] * FrozenFire quit (*.net *.split)
33: [08:31:32] * ss23 quit (*.net *.split)
34: [08:31:35] * gamma quit (*.net *.split)
35: [08:31:37] * TRB143 quit (*.net *.split)
36: [08:31:37] * jbrungar quit (*.net *.split)
37: [08:34:09] * Zauberfisch quit (Ping timeout: 240 seconds)
38: [08:37:37] * ss23 has joined #silverstripe
39: [08:37:38] * DimiStripe has joined #silverstripe
40: [08:37:38] * Guest6470 has joined #silverstripe
41: [08:37:38] * cloph_away has joined #silverstripe
42: [08:37:38] * trash__ has joined #silverstripe
43: [08:37:38] * TRB143 has joined #silverstripe
44: [08:37:38] * ajmitch_ has joined #silverstripe
45: [08:37:38] * FrozenFire has joined #silverstripe
46: [08:37:38] * jbrungar has joined #silverstripe
47: [08:40:18] * gamma has joined #silverstripe
48: [08:51:33] * pweh has joined #silverstripe
49: [08:51:52] * Zauberfisch has joined #silverstripe
50: [08:58:54] * kinglozzer has joined #silverstripe
51: [09:09:44] * slievr1 has joined #silverstripe
52: [10:41:05] * samsamek has joined #silverstripe
53: [10:49:05] * slievr1 quit (Read error: Connection reset by peer)
54: [11:34:27] * filisko has joined #silverstripe
55: [12:27:55] * swaiba has joined #silverstripe
56: [13:20:38] * pweh quit (Read error: Connection reset by peer)
57: [13:28:32] * UndefinedOffset has joined #silverstripe
58: [13:45:26] * mike_ has joined #silverstripe
59: [13:45:27] <ss-helper> mike_: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
60: [13:45:51] * mike_ is now known as Guest50897
61: [13:49:17] <Guest50897> I am new to silverstripe and added a field to mysite/code/DataObjects/**.php file. I did a /dev/build and I can access the field from templates. When i try to edit a record from the CMS I get an error (Notice at line 1048 of framework/thirdparty/Zend/Locale/Format.php).
62: [13:50:32] <Guest50897> In the DataObject class I've added the field to the $db array as 'FieldName' => 'Varchar(255)', Anything else i should do?
63: [13:54:46] * samsamek quit (Quit: samsamek)
64: [13:55:22] * samsamek has joined #silverstripe
65: [13:59:50] * samsamek quit (Read error: No route to host)
66: [14:25:19] * Guest50897 quit (Ping timeout: 260 seconds)
67: [14:43:54] * DimiStripe quit (Read error: Connection reset by peer)
68: [15:19:44] * DimiStripe has joined #silverstripe
69: [15:22:25] * DimiStripe quit (Client Quit)
70: [15:22:42] * DimiStripe has joined #silverstripe
71: [15:53:25] * trash__ quit (Ping timeout: 260 seconds)
72: [16:01:38] * samsamek has joined #silverstripe
73: [16:12:26] * filisko quit (Ping timeout: 258 seconds)
74: [16:25:15] * filisko has joined #silverstripe
75: [16:46:04] * filisko quit (Ping timeout: 272 seconds)
76: [17:14:07] * kinglozzer quit ()
77: [17:55:37] * filisko has joined #silverstripe
78: [18:58:10] * UndefinedOffset quit (Quit: Leaving.)
79: [19:01:41] * UndefinedOffset has joined #silverstripe
80: [21:47:58] * terryapodaca has joined #silverstripe
81: [21:48:38] <terryapodaca> Got a UserDefinedForm module question for anyone that might be more experienced with it than I am...and if anyone is online right now too
82: [21:56:11] * UndefinedOffset quit (Read error: Connection reset by peer)
83: [22:01:03] * trash_ has joined #silverstripe
84: [22:01:32] <samsamek> terryapodaca: always best to shoot your question
85: [22:01:49] <samsamek> I have a small bit of experience with it
86: [22:05:18] <trash_> hi all
87: [22:08:30] <samsamek> hi
88: [22:09:57] <trash_> what is the correct way to get only published pages
89: [22:11:44] <trash_> do I need always to do something like Versioned::get_by_stage('MyRecord', 'Live')->filter($filter);
90: [22:13:51] <trash_> this one is working fine as I can see
91: [22:14:09] <trash_> but is there a direct way to get them using MyRecord::get()
92: [22:14:10] <trash_> ?
93: [22:29:50] <trash_> in the CMS when I unpublish top page all sub-pages are unpublished
94: [22:30:06] <terryapodaca> sorry samsamek (and others), I got a call from a client...stopped me mid commenting
95: [22:30:22] <trash_> but is there a way to publish all sub-pages on one go?
96: [22:31:25] <samsamek> trash_: Why not SiteTree::get()->find(‘ID’, $id) ? That’s always the published version
97: [22:31:39] <samsamek> filter* instead of find
98: [22:33:06] <trash_> samsamek: this is not what I need, or I do not get it
99: [22:33:19] <terryapodaca> In the UDF, under the Submissions tab, you click on and individual submission from the Grid, the top form field is Submitted By with a DropdownField that is disabled and unpopulated. Client uses this page often if he gets overwhelmed with emails...and he's wanting to know what the field is for or does, and if it's not relevant, can it be removed.
100: [22:33:54] <trash_> I have class CategoryHolder extends Page
101: [22:34:16] <samsamek> trash_: the SiteTree mysql table stores all the published pages, unpublished pages and draft pages are stored in different mysql tables
102: [22:34:19] <trash_> now I want to show all CategoryHolders that are published
103: [22:34:31] <trash_> aaaa yeah
104: [22:35:12] <trash_> but I will need to set the ClassName in the filter
105: [22:35:17] <trash_> I get you now
106: [22:35:30] <samsamek> CategoryHolder pages are stored in CategoryHolder, the other stages are stored in CategoryHolder_Versions (I believe)
107: [22:35:59] <samsamek> Check your phpmyadmin, you’ll get a better picture
108: [22:36:38] <trash_> yes this is correct but you can not use CategoryHolder_Versions::get() :)
109: [22:36:41] <terryapodaca> IMage of what I am talking about: http://i.imgur.com/s52jLVU.png
110: [22:37:02] <samsamek> terryapodaca: anything can be removed from the module, I haven’t used it for a long time so I couldn’t tell you how right now. Also, this is the reason why I’m building my own UserForm module, the ones out there are not user friendly enough IMO
111: [22:37:06] <trash_> thank you samsamek
112: [22:37:10] <samsamek> cheers mate
113: [22:38:22] <samsamek> terryapodaca: the list of form submissions?
114: [22:38:35] <samsamek> terryapodaca: you want to simplify it?
115: [22:39:11] <terryapodaca> Submissions tab, the list of submissions in the grid on that page/tab...top form field in the image seems non functional
116: [22:39:18] <terryapodaca> where is says Submitted By
117: [22:39:29] <terryapodaca> the dropdown is empty and disabled
118: [22:40:17] <terryapodaca> and I can't find documentation on what that field is for, and client wants to know what it is for or does, and if it doesn't do anything he wants it removed
119: [22:40:21] <samsamek> I see, it’s a filter that filters the list by sender. Strange that it’s not working, I have no idea why :/
120: [22:41:13] <samsamek> removing it should be peace of cake if you have basic CMS page editing experience
121: [22:41:20] <samsamek> piece* lol
122: [22:41:57] <terryapodaca> yeah, I can hide it, simple enough, but I don't want to break anything else if it's dependent on something or something depends on it
123: [22:42:13] <samsamek> it’s probably just a filter, try it. I don’t think it will break anything
124: [22:45:25] <terryapodaca> Could it be, kind of a filter, but when someone builds a site that the user has to log in (member) and then they submit forms? But since we don't require login on this site, people just submit this form on "best behavior and good faith" so there are no Member Objects associated to the submissions?
125: [22:46:54] <samsamek> terryapodaca: can you link me to the specific module download page?
126: [22:47:01] <samsamek> github*
127: [22:49:31] <terryapodaca> so that field is looking for Member::currentMemberID() and there is none so it's blank all the time
128: [22:49:33] <terryapodaca> https://github.com/silverstripe/silverstripe-userforms
129: [22:50:00] <terryapodaca> samsamek: I probably have an older version installed because I've had this client since early 2015
130: [22:51:49] * gelignite has joined #silverstripe
131: [23:00:01] * ss-helper quit (Remote host closed the connection)
132: [23:00:18] * ss-helper has joined #silverstripe
133: [23:13:28] <samsamek> terryapodaca: can’t browse through the code right now unfortunately, but I’d remove it, do a few tests and see if it’s safe
134: [23:14:43] <terryapodaca> samsamek: yeah, it's Friday 5:15 PM my time (Texas) so I need to quit anyway. I'll dig into it more myself either over the weekend or Monday. It's nothing urgent or ASAP really so it's all good
135: [23:14:47] <terryapodaca> thanks for the feedback though
136: [23:15:13] <samsamek> It’s 00:15 am here (amsterdam) lol
137: [23:15:22] <samsamek> welcome mate, gl
138: [23:15:54] <terryapodaca> dang! still working that late/early? dedication right there
139: [23:16:07] <samsamek> work hard play hard :p
140: [23:16:07] <terryapodaca> or are you just messing around and offering help if seeing it?
141: [23:16:15] <samsamek> both!
142: [23:18:11] <terryapodaca> well go have a pint or two before the pubs close
143: [23:26:11] <samsamek> actually, was about to do just that :p
144: [23:31:50] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
145: [23:55:16] * samsamek quit (Quit: samsamek)

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