#silverstripe IRC Log

IRC log for 8 May 2016

All timestamps are in UTC.

1: [00:00:01] * ss-helper quit (Remote host closed the connection)
2: [00:00:17] * ss-helper has joined #silverstripe
3: [00:02:26] * zlinux has joined #silverstripe
4: [00:15:36] * BrewNaked has joined #silverstripe
5: [00:20:03] * BrewNaked quit (Ping timeout: 240 seconds)
6: [00:30:16] * Stomach quit (Quit: zzz)
7: [00:32:55] * Stomach has joined #silverstripe
8: [00:54:08] * zlinux_ has joined #silverstripe
9: [00:55:33] * zlinux quit (Ping timeout: 240 seconds)
10: [01:00:21] * Stomach quit (Read error: Connection reset by peer)
11: [01:00:26] * Stomach_ has joined #silverstripe
12: [01:28:45] * spronk has joined #silverstripe
13: [02:04:26] * BrewNaked has joined #silverstripe
14: [02:09:05] * BrewNaked quit (Ping timeout: 276 seconds)
15: [02:11:06] * spronk quit (Quit: I may need a longer sleep timer...)
16: [02:24:54] * Stomach_ quit (Quit: zzz)
17: [03:00:34] * Stomach has joined #silverstripe
18: [03:53:18] * BrewNaked has joined #silverstripe
19: [03:57:45] * BrewNaked quit (Ping timeout: 246 seconds)
20: [04:54:27] * Stomach quit (Quit: zzz)
21: [05:24:01] * Stomach has joined #silverstripe
22: [05:42:13] * BrewNaked has joined #silverstripe
23: [05:46:57] * BrewNaked quit (Ping timeout: 260 seconds)
24: [06:35:31] * Stomach quit (Quit: zzz)
25: [06:36:45] * spronk has joined #silverstripe
26: [07:02:53] * zlinux_ quit (Ping timeout: 276 seconds)
27: [07:16:51] * Stomach has joined #silverstripe
28: [07:25:29] * spronk quit (Quit: I may need a longer sleep timer...)
29: [07:31:01] * BrewNaked has joined #silverstripe
30: [07:35:49] * BrewNaked quit (Ping timeout: 260 seconds)
31: [08:52:31] * gelignite has joined #silverstripe
32: [09:19:54] * BrewNaked has joined #silverstripe
33: [09:24:25] * BrewNaked quit (Ping timeout: 265 seconds)
34: [09:45:47] * Stomach quit (Quit: zzz)
35: [10:12:01] * ss23 quit (Remote host closed the connection)
36: [10:17:17] * ss23 has joined #silverstripe
37: [10:46:24] * Eliseth has joined #silverstripe
38: [10:46:30] * Eliseth quit (Client Quit)
39: [10:48:04] * zlinux has joined #silverstripe
40: [11:08:48] * BrewNaked has joined #silverstripe
41: [11:13:24] * BrewNaked quit (Ping timeout: 260 seconds)
42: [11:47:09] * wmk has joined #silverstripe
43: [11:54:10] * wmk quit (Ping timeout: 252 seconds)
44: [11:58:13] * zlinux_ has joined #silverstripe
45: [12:01:52] * zlinux quit (Ping timeout: 252 seconds)
46: [12:57:41] * BrewNaked has joined #silverstripe
47: [13:02:00] * BrewNaked quit (Ping timeout: 244 seconds)
48: [13:05:38] * zlinux_ quit (Ping timeout: 244 seconds)
49: [13:06:18] * zlinux has joined #silverstripe
50: [13:22:43] * zlinux quit (Ping timeout: 252 seconds)
51: [13:22:50] * zlinux_ has joined #silverstripe
52: [14:46:36] * BrewNaked has joined #silverstripe
53: [14:51:16] * BrewNaked quit (Ping timeout: 252 seconds)
54: [14:59:36] * Azure quit (Ping timeout: 246 seconds)
55: [15:03:06] * Azure has joined #silverstripe
56: [15:54:05] * zlinux_ quit (Ping timeout: 250 seconds)
57: [15:54:45] * zlinux has joined #silverstripe
58: [16:14:07] * arnhoe has joined #silverstripe
59: [16:35:22] * BrewNaked has joined #silverstripe
60: [16:39:33] * BrewNaked quit (Ping timeout: 240 seconds)
61: [16:44:34] * zlinux quit (Ping timeout: 252 seconds)
62: [18:05:25] * Admonish has joined #silverstripe
63: [18:05:40] <Admonish> Good afternoon everyone
64: [18:14:58] <Admonish> Is there a way to pass a variable into an array value? array('model' => $variable); I get a syntax error when I try to do this
65: [18:20:39] * Azure quit (Quit: My Mac has gone to sleep. ZZZzzz…)
66: [18:24:18] * BrewNaked has joined #silverstripe
67: [18:26:46] * Azure has joined #silverstripe
68: [18:28:47] * BrewNaked quit (Ping timeout: 260 seconds)
69: [18:55:45] <Admonish> Alright, I think my lack of php knowledge is really messing me up. Can some one please explain why I cannot use something like this in a class: private static $CurrentMember = Member::currentUserID();
70: [19:22:50] * eightythree has joined #silverstripe
71: [19:26:49] <eightythree> Hi guys I'm trying to get value from my dataobject field in page controller. I've got something like this ->setValue($this->data()->Items()->Title) where "Items" is dataobject
72: [19:27:43] <eightythree> Something like this get Title from actual page ->setValue($this->data()->Title) so how can I get that Title from DO ?
73: [19:39:09] * eightythree_ has joined #silverstripe
74: [19:39:09] <ss-helper> eightythree_: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
75: [19:43:06] * eightythree quit (Ping timeout: 250 seconds)
76: [19:43:35] * glenn-bautista1 quit (Quit: Leaving.)
77: [19:44:17] <DimiStripe> Hey ppl !
78: [19:44:35] <DimiStripe> IS there an easy way to debug/profile SS 3.1 to see which queries are taking time ?
79: [19:44:57] <DimiStripe> (asusming i can't install anything on server , only FTP that i've got)
80: [19:46:58] * Stomach has joined #silverstripe
81: [19:50:16] * arnhoe quit ()
82: [19:53:04] <Admonish> hey stomach I was wondering. Is it possible to pass an object in an array?
83: [19:53:23] <Admonish> Stomach A multi demensional array to be more exact
84: [19:59:39] * Stomach quit (Quit: zzz)
85: [20:13:20] * BrewNaked has joined #silverstripe
86: [20:18:14] * BrewNaked quit (Ping timeout: 260 seconds)
87: [20:42:02] * eightythree_ quit (Ping timeout: 250 seconds)
88: [20:52:53] * adrexia has joined #silverstripe
89: [20:53:08] * Stomach has joined #silverstripe
90: [20:55:43] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
91: [20:59:31] * glenn-bautista has joined #silverstripe
92: [21:10:50] * micmania1 has joined #silverstripe
93: [21:28:50] * DimiStripe quit (Quit: DimiStripe)
94: [21:40:42] * micmania1 quit (Quit: micmania1)
95: [21:43:55] * micmania1 has joined #silverstripe
96: [22:02:06] * BrewNaked has joined #silverstripe
97: [22:05:13] * Teddy_ has joined #silverstripe
98: [22:06:19] * BrewNaked quit (Ping timeout: 250 seconds)
99: [22:11:34] * Teddy_ quit (Ping timeout: 240 seconds)
100: [22:20:03] * Admonish quit (Quit: Going offline, see ya! (www.adiirc.com))
101: [22:39:00] * spronk has joined #silverstripe
102: [22:40:51] * kerozene quit (Ping timeout: 276 seconds)
103: [22:48:42] * kerozene has joined #silverstripe
104: [22:53:50] * Admonish has joined #silverstripe
105: [22:54:36] * Admonish quit (Client Quit)
106: [23:49:57] * robbiea has joined #silverstripe
107: [23:50:56] * BrewNaked has joined #silverstripe
108: [23:53:17] <robbiea> Morning all - I have a QQ about creating Page types. I want to add about 50 different page types, but they're really just 4 or 5 different types with small variations. I'd like to arrange them into a tree so for example the first 4 or 5 extend Page, then each of them might have two that extend them etc
109: [23:53:46] <robbiea> If I do that now, they all get added to the same level flat list when I click "Add page" - is there a built in configuration method or a module to use to display those as a tree?
110: [23:53:49] <spronk> dot hey need to be different page types? could you have a boolean flag or something that controls the minor variations?
111: [23:54:09] <spronk> AFAIK there's no built in way to display page types in a tree format
112: [23:54:26] <robbiea> For the sake of ease of content management for numpties who know nothing about content management we decided it would be easier to provide them with all the different templates to start with
113: [23:54:30] * Admonish has joined #silverstripe
114: [23:54:45] <robbiea> Ok, it doesn't look like a difficult thing to add in, just wondered if there was something already - Google didn't give me much
115: [23:55:20] <spronk> yeah... i can't say i'm aware of anything like that existing already
116: [23:55:30] * BrewNaked quit (Ping timeout: 250 seconds)
117: [23:55:32] <robbiea> Thanks
118: [23:56:50] <Admonish> Hey guys does anyone know how to do an AND using silverstripes ->filter()
119: [23:57:47] <Admonish> I know heard that there is a way of getting SQL OR to work using the filter() but I couldnt find anything on SQL's AND
120: [23:57:50] <micmania1> Admonish: filter uses `AND` anyway. Just add more filters or pass in an array as the parameter
121: [23:58:24] <Admonish> micmania1 could you please give me an example using the array as a perameter
122: [23:58:48] <micmania1> MyList::get()->filter([‘ColumnA’ => ‘blah’, ‘ColumnB’ => ‘otherblah’]);
123: [23:58:56] <Admonish> thanks :D

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