#silverstripe IRC Log

IRC log for 18 March 2016

All timestamps are in UTC.

1: [00:05:34] * micmania1 quit (Quit: micmania1)
2: [00:23:08] <zippy> irogue: do you know, on the SS Stack can it be set so composer can run after a deploy?
3: [00:30:02] * Stomach quit (Quit: bye)
4: [00:30:59] * BrewNaked quit (Remote host closed the connection)
5: [00:39:23] * micmania1 has joined #silverstripe
6: [00:40:13] <zippy> micmania1: do you know, on the SS Stack can it be set so composer can run after a deploy?
7: [00:40:40] <micmania1> zippy: its a requirement. Its part of the deployment process.
8: [00:40:46] <zippy> ah yeap, sweet
9: [00:41:06] <micmania1> zippy: https://github.com/silverstripe/platform-project - example project
10: [00:42:16] <zippy> how do you populate the server _ss_environment, or is that done via environment varaibles
11: [00:42:52] <micmania1> environment variables in the platform dashboard. Some are pre-filled so you don’t have to worry about them (eg. database details)
12: [00:43:42] <micmania1> There’s a UI for it. We’re currently working on the UI for SSL certificates too :)
13: [00:54:12] * robbieaverill quit (Ping timeout: 252 seconds)
14: [01:00:25] <Audlex> excuse my bad description... i have a data extension but within the data extension i cannot call the Quality field which exists on the dataobject i am adding the extension to
15: [01:00:32] <Audlex> can someone please shed some light on this?
16: [01:03:06] <micmania1> Audlex: Do you have a code sample?
17: [01:03:16] <Audlex> nevermind -_-
18: [01:03:21] <Audlex> i missed owner->
19: [01:03:25] <micmania1> :)
20: [01:03:29] <Audlex> story of my life, thanx for replying micmania1
21: [01:07:50] * jules0x quit (Quit: Leaving)
22: [01:21:50] * DanaeNZ has joined #silverstripe
23: [01:23:17] * Tanger has joined #silverstripe
24: [01:36:15] * Stomach has joined #silverstripe
25: [01:56:34] * Phlunk3 quit (Remote host closed the connection)
26: [02:15:05] <ss-helper> How to Properly Setup Silvertripe Routes and Controllers and Templates - http://stackoverflow.com/questions/36074915/how-to-properly-setup-silvertripe-routes-and-controllers-and-templates
27: [02:19:49] * BrewNaked has joined #silverstripe
28: [02:24:31] * BrewNaked quit (Ping timeout: 252 seconds)
29: [02:32:22] * Firesphere_ has joined #silverstripe
30: [02:32:45] * Firesphere_ is now known as Firesphere
31: [02:55:42] * zippy quit (Quit: Textual IRC Client: www.textualapp.com)
32: [03:01:44] * Firesphere quit (Ping timeout: 260 seconds)
33: [03:10:18] * DanaeNZ quit (Quit: TIME TO FEED)
34: [03:13:37] * micmania1 quit (Quit: micmania1)
35: [03:19:36] * spronk quit (Quit: I may need a longer sleep timer...)
36: [03:22:13] * Stomach quit (Quit: zzz)
37: [03:39:05] * Stomach has joined #silverstripe
38: [03:39:38] * Firesphere_ has joined #silverstripe
39: [03:55:02] * Stomach quit (Quit: zzz)
40: [03:55:34] * irogue quit (Ping timeout: 240 seconds)
41: [03:59:31] * cheddam quit (Ping timeout: 248 seconds)
42: [04:08:42] * BrewNaked has joined #silverstripe
43: [04:13:40] * BrewNaked quit (Ping timeout: 264 seconds)
44: [04:15:21] * Firesphere_ quit (Ping timeout: 246 seconds)
45: [04:25:37] * Firesphere_ has joined #silverstripe
46: [04:31:15] * Azure|dc has joined #silverstripe
47: [04:34:52] * Azure quit (Ping timeout: 268 seconds)
48: [04:42:05] * Azure|dc quit (Remote host closed the connection)
49: [04:43:22] * Firesphere_ quit (Ping timeout: 244 seconds)
50: [04:44:16] * Hailwood quit (Remote host closed the connection)
51: [04:52:10] * Neomang quit (Ping timeout: 252 seconds)
52: [05:57:34] * BrewNaked has joined #silverstripe
53: [06:02:19] * BrewNaked quit (Ping timeout: 252 seconds)
54: [07:16:05] * Mike123 has joined #silverstripe
55: [07:46:45] * BrewNaked has joined #silverstripe
56: [07:51:13] * BrewNaked quit (Ping timeout: 252 seconds)
57: [07:56:32] * swaiba has joined #silverstripe
58: [08:11:29] * spronka has joined #silverstripe
59: [08:12:27] * arnhoe has joined #silverstripe
60: [08:16:11] * Audlex- has joined #silverstripe
61: [08:18:43] * Audlex quit (Ping timeout: 248 seconds)
62: [08:32:11] * Audlex has joined #silverstripe
63: [08:32:11] * Audlex quit (Changing host)
64: [08:32:11] * Audlex has joined #silverstripe
65: [08:32:27] * agilix_ has joined #silverstripe
66: [08:34:25] * Audlex- quit (Ping timeout: 240 seconds)
67: [08:36:31] * spronka quit (Max SendQ exceeded)
68: [08:37:28] * Frans_Amsterdam has joined #silverstripe
69: [08:56:17] * spronka has joined #silverstripe
70: [09:05:03] * kinglozzer has joined #silverstripe
71: [09:10:57] * Tanger quit (Quit: Tanger)
72: [09:12:08] * GioVdK has joined #silverstripe
73: [09:24:45] * DimiStripe has joined #silverstripe
74: [09:29:16] * Firesphere_ has joined #silverstripe
75: [09:30:43] * HARVS1789UK has joined #silverstripe
76: [09:35:21] * BrewNaked has joined #silverstripe
77: [09:36:28] <HARVS1789UK> Morning all, does anyone know if it is possible to set up some custom routing using routes.yml where the first part of the url is dynamic
78: [09:37:34] * zippy has joined #silverstripe
79: [09:37:45] <HARVS1789UK> i.e something like: '$SomePath/event/$EventID' : 'Event_Controller' where $SomePath might be /calendar/ or it might be /events/
80: [09:38:34] <HARVS1789UK> i.e. if /event/123/ exists in the URL slug at all (regardless of what comes before or after) it goes to Event_Controller
81: [09:39:48] * BrewNaked quit (Ping timeout: 246 seconds)
82: [09:44:14] * zippy quit (Quit: Textual IRC Client: www.textualapp.com)
83: [09:45:19] * wmk has joined #silverstripe
84: [09:46:33] * Teddy_ has joined #silverstripe
85: [09:47:09] <swaiba> this sounds like the nested routes Dan talked about at conference HARVS1789UK... https://vimeo.com/143149869
86: [09:48:42] <Teddy_> hey guys, i'm trying to build a simple db object in a website not build by me and i get this error http://i.imgur.com/CvHesav.png
87: [09:48:49] <Teddy_> any idea what could cause it ?
88: [09:50:53] <HARVS1789UK> swaiba time to relive 15 mins of the conference then :-)
89: [09:51:40] <swaiba> Teddy_ need to dev build?
90: [09:51:50] <Teddy_> swaiba, yep
91: [09:52:06] <swaiba> else Page.StucturedData isn't getting built!
92: [09:52:19] <swaiba> so you could add it manually
93: [09:52:51] <swaiba> just in case check the dev build again - it's often when I don't look for "Completed!" at the end that it actually failed
94: [09:53:05] <swaiba> I really think they should change that so the completed bit is at the top
95: [10:07:45] * spronka quit (Quit: My Mac has gone to sleep. ZZZzzz…)
96: [10:14:22] * Firesphere_ quit (Ping timeout: 248 seconds)
97: [10:16:37] <wmk> customer archivated a blog page, now all blog posts are also archivated.
98: [10:16:50] <wmk> how can i enable blogposts to be visible in the sitetree?
99: [10:17:48] <wmk> ah, $show_in_sitetree = true
100: [10:22:49] * Firesphere_ has joined #silverstripe
101: [10:28:56] * Azure|dc has joined #silverstripe
102: [10:33:39] * torican has joined #silverstripe
103: [10:42:03] * wmk quit (Ping timeout: 250 seconds)
104: [11:24:11] * BrewNaked has joined #silverstripe
105: [11:28:35] * BrewNaked quit (Ping timeout: 248 seconds)
106: [11:32:26] * agent44 has joined #silverstripe
107: [11:32:27] <ss-helper> agent44: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
108: [11:33:26] * GioVdK quit (Remote host closed the connection)
109: [11:34:57] <agent44> Hey all, I am new to Silverstripe, having a few problems setting up a FAQ page using $allowed_children. Have created a new page type as it needs its own template and a DataObject called FAQItem. The FAQ Page Type has $allowed_children set to FAQItem, but no children are produced on the page when I load it.
110: [11:37:37] <agent44> Hete is my code for reference, I am stumped right now and any advice appreciated https://gist.github.com/agent44/a31f6238a2fd7fd50197
111: [11:46:31] * HARVS1789UK quit (Remote host closed the connection)
112: [11:48:27] * arnhoe quit (Ping timeout: 276 seconds)
113: [11:51:58] * HARVS1789UK has joined #silverstripe
114: [11:54:56] * arnhoe has joined #silverstripe
115: [11:58:36] <swaiba> agent44 "no children are produced on the page" - does this mean you've created children in the CMS but they don't show when browsing the site?
116: [11:59:05] <swaiba> if so then it sounds like the menu or bread crumb ss templates are not being included
117: [12:00:15] <agent44> swaiba: Yeah, that’s correct. I’ve worked around it now by removing the $allowed_children and just adding a controller function that queries the database and that works. It’s not to do with missing templates, as I made sure I included template code to look the children and display their data.
118: [12:02:53] <swaiba> well it's good you have a work around
119: [12:03:00] <swaiba> I've got no other ideas
120: [12:06:34] * ss32noob has joined #silverstripe
121: [12:08:08] <ss32noob> hi. can anyone help me on this.. if i upgrade the site that are used to be in SS3.1 to SS3.2.. and in SS3.2, we are now using MysqlPDODatabase.. do i have to update something in the mysql setup in order for the performance to get better?
122: [12:10:19] <ss32noob> because the admin starts to really gets slow after i upgrade to SS3.2 so i am wondering if i have to check something in the MySql setup..
123: [12:19:08] * agilix_ quit (Ping timeout: 252 seconds)
124: [12:27:19] <swaiba> ss32noob how about trying ss 3.3?
125: [12:30:27] * UndefinedOffset has joined #silverstripe
126: [13:00:17] <ss-helper> Dynamically Update Manifest file based on image uploads in SilverStripe admin - http://stackoverflow.com/questions/36084893/dynamically-update-manifest-file-based-on-image-uploads-in-silverstripe-admin
127: [13:13:06] * BrewNaked has joined #silverstripe
128: [13:17:44] * BrewNaked quit (Ping timeout: 260 seconds)
129: [13:37:13] * arnhoe quit (Ping timeout: 240 seconds)
130: [13:38:20] * arnhoe has joined #silverstripe
131: [13:38:27] * muskie9 has joined #silverstripe
132: [13:56:27] * HARVS1789UK quit ()
133: [14:04:44] * ss32noob quit (Ping timeout: 252 seconds)
134: [14:13:18] * Teddy__ has joined #silverstripe
135: [14:14:05] * gamma quit (Quit: WeeChat 1.4)
136: [14:15:57] * Teddy_ quit (Ping timeout: 246 seconds)
137: [14:16:12] * jackoconnor has joined #silverstripe
138: [14:18:00] <jackoconnor> Does anybody know what replaced (if anything) SilverStripes DataList::getRange() ?
139: [14:19:37] <muskie9> jackoconnor it was deprecated in 3.1 http://api.silverstripe.org/3.1/source-class-DataList.html#787-797
140: [14:19:53] <muskie9> looks like limit($length, $offset) now
141: [14:20:44] <jackoconnor> Thanks muskie9, I must have missed that in the api docs
142: [14:38:22] * Azure|dc quit (Ping timeout: 248 seconds)
143: [15:01:56] * BrewNaked has joined #silverstripe
144: [15:04:30] * Mike123 quit (Ping timeout: 252 seconds)
145: [15:06:06] * BrewNaked quit (Ping timeout: 248 seconds)
146: [15:16:01] * arnhoe quit ()
147: [15:16:50] * arnhoe has joined #silverstripe
148: [15:20:08] * BrewNaked has joined #silverstripe
149: [15:20:28] * BrewNaked quit (Client Quit)
150: [15:28:22] * Frans_Amsterdam quit (Quit: Textual IRC Client: www.textualapp.com)
151: [15:29:10] * swaiba quit (Remote host closed the connection)
152: [15:43:51] * arnhoe quit ()
153: [16:23:08] * swaiba has joined #silverstripe
154: [16:23:27] * swaiba quit (Remote host closed the connection)
155: [16:28:09] * UndefinedOffset quit (Quit: Leaving.)
156: [17:00:51] * kinglozzer quit ()
157: [17:08:03] * UndefinedOffset has joined #silverstripe
158: [17:17:17] <agent44> Is there a way to check for the environment in a template?
159: [17:35:48] * jackoconnor quit (Quit: jackoconnor)
160: [17:35:57] <muskie9> agent44 what do you mean by check the environment?
161: [17:37:14] <agent44> muskie9 Wether test dev or live, so far I have exposed Director::isLive() etc through the Page_Controller but didn’t know if there was a better way. So far I have been unable to find it
162: [17:37:57] <muskie9> I think having a method like you're doing is the only way currently
163: [17:40:00] <agent44> muskie9: OK thanks :)
164: [17:42:38] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
165: [18:00:02] * agent44 has left #silverstripe
166: [18:27:19] * neomang has joined #silverstripe
167: [18:28:27] <neomang> I wanted to try and replicate the behavior of the Page type's urlsegment field in the CMS for a dataobject I am managing. Is there a field I can use that does so or do I need to fiddle with js?
168: [18:45:48] * UndefinedOffset quit (Quit: Leaving.)
169: [18:46:14] * UndefinedOffset has joined #silverstripe
170: [18:51:02] * UndefinedOffset quit (Ping timeout: 260 seconds)
171: [18:54:49] * UndefinedOffset has joined #silverstripe
172: [20:17:02] * UndefinedOffset quit (Quit: Leaving.)
173: [20:30:24] <ss-helper> Dynamically updating manifest cache file in SilverStripe - http://stackoverflow.com/questions/36093607/dynamically-updating-manifest-cache-file-in-silverstripe
174: [20:32:16] * arnhoe has joined #silverstripe
175: [20:32:58] * arnhoe quit (Client Quit)
176: [20:37:10] * gelignite has joined #silverstripe
177: [21:19:49] * ^pH quit (Read error: Connection reset by peer)
178: [21:20:05] * ^pH has joined #silverstripe
179: [21:24:18] * Embraden has joined #silverstripe
180: [21:25:24] * Blacklite quit (Ping timeout: 276 seconds)
181: [21:25:39] * Embraden_ quit (Ping timeout: 276 seconds)
182: [21:28:23] * Blacklite has joined #silverstripe
183: [21:42:47] * pixelboy has joined #silverstripe
184: [23:00:01] * ss-helper quit (Remote host closed the connection)
185: [23:00:16] * ss-helper has joined #silverstripe
186: [23:10:20] * torican quit (Ping timeout: 252 seconds)

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