#silverstripe IRC Log

IRC log for 1 December 2016

All timestamps are in UTC.

1: [00:00:03] <ss-helper> how to render each form fieldlist like contactdetails form, billingaddress form to a custom template in Silvershop multi-step checkout - http://stackoverflow.com/questions/40900372/how-to-render-each-form-fieldlist-like-contactdetails-form-billingaddress-form
2: [00:01:03] <Tron> Ahhh that actually makes a lot of sense. So im turning off ssl redirection in yaml fullstop. Then enable it for the live environment in _config.php. That should work right
3: [00:01:06] <DanaeNZ> Tron: you can use the conditional headers
4: [00:01:12] <DanaeNZ> Only: environment: dev
5: [00:01:43] <DanaeNZ> Tron: https://docs.silverstripe.org/en/3.1/developer_guides/configuration/configuration/#exclusionary-rules
6: [00:02:00] <Tron> Yea I tried that and it doesnt work for this. and as Jakx stated its probably for a good reason
7: [00:02:50] <Firesphere> Tron: It's possible to set it on the CWP maybe in Yaml, that I'm not sure of
8: [00:03:04] <Firesphere> But without CWP, I'm sure it's not possible
9: [00:03:52] <Tron> well when i did a header of Only for environment type of dev, It didnt pick any of it up
10: [00:04:42] <Tron> Your way seems to work well with using both yaml and _config.php file
11: [00:05:19] <DanaeNZ> Are you using CWP?
12: [00:07:09] * Stomach has joined #silverstripe
13: [00:09:07] * spronk has joined #silverstripe
14: [00:12:35] * janneklouman-- quit (Ping timeout: 258 seconds)
15: [00:14:16] <samsam> anyone has a clue on this? http://www.sspaste.com/paste/show/583f6b41d2980
16: [00:18:56] <DanaeNZ> samsam: browse to the URL with ?debug_request=1
17: [00:19:03] <DanaeNZ> It should tell you where it's trying to go
18: [00:19:09] <DanaeNZ> I find url_handlers tricky th
19: [00:21:13] <samsam> same :/
20: [00:21:24] <samsam> well it's matching with viewCategory function instead of viewProduct
21: [00:26:48] * bubaphex has joined #silverstripe
22: [00:31:30] <samsam> bye o/
23: [00:31:59] * spronk quit (Read error: Connection reset by peer)
24: [00:35:40] * spronk has joined #silverstripe
25: [00:36:11] * samsam quit (Ping timeout: 260 seconds)
26: [00:48:43] <Tron> DanaeNZ I am using CWP
27: [00:49:25] <DanaeNZ> Tron: your example above should work, use environment instead of environment_type
28: [00:49:50] <DanaeNZ> and then, ssl_redirection_enabled instead of what you have there
29: [00:50:37] <DanaeNZ> Tron: http://www.sspaste.com/paste/show/583f73d8eaa7c
30: [00:51:24] <Tron> I will give that a try
31: [00:53:41] * trash__ quit (Ping timeout: 260 seconds)
32: [00:56:53] * bubaphex quit (Quit: bubaphex)
33: [01:01:32] <Tron> DanaeNZ works perfectly
34: [01:03:05] <DanaeNZ> Sweet
35: [01:06:26] * Nightjar has joined #silverstripe
36: [01:06:37] <Nightjar> Jakx, sup
37: [01:06:50] <Nightjar> long time no see holmes
38: [01:11:12] <Jakx> Yo Nightjar, yeah man, where does the year go?
39: [01:18:28] <Nightjar> https://www.youtube.com/watch?v=cdB9lTUyshM
40: [01:22:30] * Azure quit (Remote host closed the connection)
41: [01:24:00] * Azure has joined #silverstripe
42: [01:27:50] <Nightjar> any sweet beats for us to groove to Jakx ?
43: [01:28:05] <spronk> FLY LIKE AN EAGLE
44: [01:28:06] <spronk> fuc yeh
45: [01:28:25] <Nightjar> Nothing quite like a bit of SuperMarioBrothers eh spronk
46: [01:28:39] <spronk> lul
47: [01:28:40] <spronk> mm
48: [01:32:54] <Jakx> Nightjar, nothing fresh sadly. I haven't really indulged lately.
49: [01:32:59] <Nightjar> :/
50: [01:33:10] <spronk> o noes
51: [01:33:12] <spronk> i think one of my tubes has gone
52: [01:33:17] <spronk> D:
53: [01:33:19] <Nightjar> :O
54: [01:33:26] <spronk> fffff
55: [01:33:56] <spronk> yeeep
56: [01:33:58] <spronk> channel is wacked
57: [01:34:22] <Nightjar> keh?
58: [01:34:40] <spronk> ?
59: [01:34:50] <Nightjar> tube channel?
60: [01:35:10] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
61: [01:37:34] <spronk> on my hp amp
62: [01:38:06] <Nightjar> HYGC?
63: [01:38:15] <Nightjar> Have You Gone Corporate!?
64: [01:38:18] <spronk> lul
65: [01:38:21] <spronk> headphone amp bro
66: [01:38:23] <Nightjar> what even are these acronyms
67: [01:38:29] <Nightjar> oic, guts
68: [01:40:51] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
69: [01:42:52] * Stomach quit (Ping timeout: 244 seconds)
70: [01:44:21] <spronk> :(
71: [01:47:45] <Nightjar> what kinda amp?
72: [01:47:51] <Nightjar> one of those peppermint can ones?
73: [01:48:20] <Nightjar> I wanna try build one one day... but I think a new set of cans might have to come first, my 555s have burst their band... again :(
74: [01:48:50] <Nightjar> or maybe I'll finally upgrade from superglue to araldite :>
75: [01:49:14] <Jakx> lol
76: [01:50:01] * bubaphex has joined #silverstripe
77: [01:50:12] <spronk> this one is a hifiman ef2a
78: [01:50:31] <spronk> Nightjar join massdrop and hope they re-drop the Sennheiser HD-6XX
79: [01:50:39] <spronk> $199 for an hd650, bargain and a half
80: [01:50:47] <Nightjar> ooh
81: [01:50:55] <Nightjar> but 555s still so good!
82: [01:51:01] <spronk> yeeahahhh
83: [01:51:05] <spronk> but they aren't an hd650
84: [01:51:24] <Nightjar> that's the part that shits me the most. Sounds quality still great, but the plastic joining to the band has snapped (from torquing on the head)
85: [01:51:30] <spronk> :(
86: [01:51:36] <Nightjar> ie, natural wear
87: [01:51:53] <spronk> the 5xxs aren't quite as modular as the 6s either, so you can't just go and buy a replacement thing
88: [01:52:04] * spronk has replaced the headband on his hd600s once
89: [01:52:18] <spronk> expensive process, but cheaper than a new pair
90: [01:52:22] <spronk> <3 HD600s
91: [01:52:31] <Nightjar> I thought about bending some ali, but then I considered the sublte curves that I'd never get quite right :<
92: [01:52:38] <spronk> mm....
93: [01:52:40] <Nightjar> Might be about time for a new pair anyway :>
94: [01:54:02] <spronk> :D
95: [02:00:38] * Phlunk3 has joined #silverstripe
96: [02:02:07] * bubaphex quit (Quit: bubaphex)
97: [02:03:48] * Stomach has joined #silverstripe
98: [02:11:04] * UncleCheese has joined #silverstripe
99: [02:15:47] <Nightjar> Righto, well, good chat folks.
100: [02:15:50] <spronk> kekk
101: [02:15:54] <Jakx> +1
102: [02:18:39] <Nightjar> o/
103: [02:18:49] <Jakx> \o
104: [02:18:50] <Nightjar> It feels like Friday :<
105: [02:19:09] <Jakx> SS hack day tomorrow, and Christmas party? Pretty much is Friday.
106: [02:20:01] <Nightjar> So I hear... for some ;)
107: [02:20:14] <adrexia> Thursdays are the new Fridays anyway
108: [02:20:31] <Nightjar> says she who works 4 long days to take the last off every week :P
109: [02:21:04] <adrexia> not every week. Some projects barely let you take time off to sleep
110: [02:21:22] <adrexia> but I tend to work from home on Friday's anyway :)
111: [02:21:22] <Nightjar> haha, truth.
112: [02:21:26] <spronk> long days pwn
113: [02:21:30] <spronk> gj adrexia
114: [02:21:31] <Nightjar> Yeah, that's a nice reprieve.
115: [02:24:03] * bubaphex has joined #silverstripe
116: [02:32:01] <Nightjar> home time!
117: [02:32:05] * Nightjar quit (Quit: Leaving)
118: [02:39:27] * Stomach quit (Quit: zzz)
119: [02:41:17] * Stomach has joined #silverstripe
120: [02:45:06] <ss-helper> Filtering a single field in a DataObject with multiple values - http://stackoverflow.com/questions/40884491/filtering-a-single-field-in-a-dataobject-with-multiple-values
121: [02:48:22] <Firesphere> Why do you go home that early Nighjar :(
122: [02:50:46] <Navid> Hi Experts! I am trying to customize the SS CMS Admin page... For that I found to make an override file in the Layout/Security_Login... But I am unable to render individual field by using $Form obj...
123: [02:53:05] <Navid> Sorry, I am customizing the SS CMS Admin Login page....
124: [02:53:48] * bubaphex quit (Quit: bubaphex)
125: [03:00:06] <ss-helper> Scheduled Tasks using Silverstripe - http://stackoverflow.com/questions/40901871/scheduled-tasks-using-silverstripe
126: [03:00:58] * Isaac_ has joined #silverstripe
127: [03:05:31] * Isaac_ quit (Ping timeout: 260 seconds)
128: [03:06:41] <Firesphere> What do you mean by "render individual field"?
129: [03:09:04] <spronk> fuck yeah
130: [03:09:06] <spronk> oldschool fatboy slim
131: [03:13:18] <Snowman23> spronk: I was under the influence
132: [03:13:22] <spronk> ??
133: [03:13:44] <Firesphere> ??
134: [03:13:46] <Snowman23> Isn't that fatboy slim?
135: [03:13:47] <Snowman23> fuck
136: [03:14:03] <Snowman23> dammit who is it
137: [03:14:06] <Snowman23> oh chemical brothers
138: [03:14:07] <Snowman23> lol
139: [03:14:08] <Snowman23> MY BAD LOL
140: [03:14:25] <Snowman23> Easy to get them confused, rihgT?
141: [03:15:09] <ss-helper> Re: [silverstripe-dev] Re: websites slow? what module is to blame? - https://groups.google.com/d/msg/silverstripe-dev/IqkH5UPMRuI/Dv_eKu4ICgAJ
142: [03:17:32] <Navid> @Firesphere: Means if you use $Form Object it renders all the form fields using the default template (don't know which file it is using to render the form). I want to create a custom layout as per site design and then render each field (Email, Password) at their custom places without any label on top of them.... I hope now you understand the query....
143: [03:18:04] <spronk> yeah
144: [03:18:04] <spronk> :p
145: [03:19:46] <Firesphere> Ahhh, right
146: [03:20:11] <Firesphere> Well, basically, look at framework/templates/Includes/Form.ss on how the fields are build
147: [03:20:17] <Firesphere> And go from there ;)
148: [03:20:38] <Firesphere> Copy that one to your themes/Includes folder, and you're ready to go
149: [03:21:10] <Navid> I already tried to override the Form.ss by placing it in my templates/Include directory but it didn't work :(
150: [03:21:52] <Navid> template/Includes* directory
151: [03:22:11] <Firesphere> Copy the templates for the textfield etc. to Includes as well
152: [03:22:32] <Firesphere> framework\templates\forms
153: [03:22:53] <Firesphere> That's where the field templates are being put together. So with those, you should be able to get somewhere.
154: [03:23:14] <Firesphere> But you couldn't use some custom classnames to reposition/style them?
155: [03:24:10] <Navid> OK I will try to do and then see how it will go... thanks for the information....
156: [03:25:25] <Firesphere> You can use $fieldName->addExtraClass('myclass'); to add customised classnames
157: [03:43:54] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
158: [03:48:07] * DanaeNZ quit (Quit: TIME TO FEED)
159: [03:51:37] * Phlunk3 quit (Remote host closed the connection)
160: [03:56:51] * Navid quit (Ping timeout: 260 seconds)
161: [04:01:26] * Stomach quit (Quit: zzz)
162: [04:02:31] <spronk> grrrrrr
163: [04:02:33] <spronk> y u no work bitbucket
164: [04:04:37] <Firesphere> https://status.bitbucket.org/
165: [04:04:39] <Firesphere> That's why
166: [04:04:46] <spronk> oh.
167: [04:04:46] <spronk> lame
168: [04:12:58] * Stomach has joined #silverstripe
169: [04:22:53] * Stomach quit (Quit: bye)
170: [04:24:16] * Tron quit (Ping timeout: 260 seconds)
171: [04:28:12] <Firesphere> Should be resolved by now.
172: [04:29:39] <Snowman23> spronk: Tried using A REAL dcvs host?!
173: [04:29:56] <Firesphere> What's wrong with bitbucket Snowman23?
174: [04:30:02] <Snowman23> It just went down
175: [04:30:05] <Snowman23> Also, it's not Github!
176: [04:30:15] <Firesphere> Github isn't that great either.
177: [04:30:23] <Snowman23> Github is the best
178: [04:30:34] <Snowman23> I see people all the time, they always say to me, you know what? Git hub is the best, everyone knows it's the best
179: [04:42:48] * janneklouman-- has joined #silverstripe
180: [04:45:38] <adrexia> its true. its the best
181: [04:45:54] * adrexia quit (Quit: My Mac has gone to sleep. ZZZzzz…)
182: [04:47:09] * janneklouman-- quit (Ping timeout: 246 seconds)
183: [04:52:07] * micmania1 quit (Quit: micmania1)
184: [04:55:45] * spronk quit (Quit: I may need a longer sleep timer...)
185: [05:05:37] * Jakx quit (Quit: Leaving)
186: [05:33:36] * janneklouman-- has joined #silverstripe
187: [05:37:37] * janneklouman-- quit (Ping timeout: 240 seconds)
188: [05:40:50] * muskie9 has joined #silverstripe
189: [06:04:02] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
190: [06:10:06] <Firesphere> Hello world
191: [06:21:11] * pweh has joined #silverstripe
192: [06:27:27] * wmk quit (Quit: Leaving)
193: [06:27:45] * helenclarko quit (Ping timeout: 268 seconds)
194: [06:43:58] * Shrike_Finland has joined #silverstripe
195: [07:04:39] * wmk has joined #silverstripe
196: [07:17:13] * Shrike_Finland quit (Quit: Leaving.)
197: [07:22:51] * pweh quit (Ping timeout: 260 seconds)
198: [07:29:44] * pweh has joined #silverstripe
199: [07:49:19] <Firesphere> Snowman23: Do you still need Voice status? Or do you just like talking? :P
200: [08:03:24] * janneklouman-- has joined #silverstripe
201: [08:03:45] * Shrike_Finland has joined #silverstripe
202: [08:08:15] * janneklouman-- quit (Ping timeout: 265 seconds)
203: [08:15:35] * Doniz has joined #silverstripe
204: [09:00:08] * pweh quit (Read error: Connection reset by peer)
205: [09:03:03] * janneklouman-- has joined #silverstripe
206: [09:03:12] * kinglozzer has joined #silverstripe
207: [09:16:16] * gelignite has joined #silverstripe
208: [09:35:31] * samsam has joined #silverstripe
209: [09:39:51] * samsam quit (Ping timeout: 260 seconds)
210: [09:40:55] * agent44 has joined #silverstripe
211: [09:50:03] * cupcake has joined #silverstripe
212: [10:00:23] * samsam has joined #silverstripe
213: [10:00:24] <samsam> hey guys, suppose you have a pagetype that has no children, but you want to artificially create children for it, this should do the trick right? http://www.sspaste.com/paste/show/583ff3ecc4ef7
214: [10:00:24] * vitaly__ has joined #silverstripe
215: [10:00:24] * vitaly quit (Read error: Connection reset by peer)
216: [10:00:25] <samsam> that code should create one child for the page, right? Also it should display it in the template menu (loop $Children)
217: [10:00:25] <wmk> samsam, hmm...
218: [10:00:25] <wmk> normally Children() returns a list that can be looped over
219: [10:00:25] <samsam> rather than a single object as I coded?
220: [10:00:25] <wmk> yup
221: [10:00:25] <samsam> return ProductCategory::get();
222: [10:00:25] <kinglozzer> Foo::get()->limit(1)
223: [10:00:25] <kinglozzer> If you only want 1
224: [10:00:25] <samsam> no children shown in menu :/
225: [10:00:25] <wmk> if you want to "symlink" another page you can use a VirtualPage as Child in sitetree
226: [10:00:25] <wmk> is Foo a subclass of Page?
227: [10:00:25] <samsam> the thing is, I want to display all dataobjects beloning to that page, as children
228: [10:00:29] <samsam> Foo is a belongs_many_many to the page
229: [10:00:55] <samsam> Foo also has a Link method so it's correctly linked
230: [10:01:16] <wmk> if it's a relation, then $this->NameOfManyManyRelation()->limit(1) should work
231: [10:01:34] * DimiStripe_alt has joined #silverstripe
232: [10:01:34] * samsam runs a test
233: [10:02:14] <samsam> Still, not displayed in menu
234: [10:02:39] <samsam> FYI, other pages that have "normal" children (pages) are shown in menu correctly
235: [10:03:05] <samsam> return $this->RelationName(), doesn't work either
236: [10:03:58] <wmk> you have the correct data in db?
237: [10:04:10] <wmk> run xdebug and check if the method is called correctly and what happens
238: [10:04:17] <wmk> and of course: disable partial caching for that ;)
239: [10:04:24] * DimiStripe quit (Ping timeout: 260 seconds)
240: [10:04:25] * DimiStripe_alt is now known as DimiStripe
241: [10:08:09] <samsam> alright I'll give it a go
242: [10:26:53] <wmk> phew, new server is lightning fast... cool
243: [10:27:00] <samsam> specs?
244: [10:33:47] <wmk> samsam, https://www.hetzner.de/gb/hosting/produkte_managed/mx151ssd
245: [10:34:06] <wmk> 500G SSD, corei7, 64G ram
246: [10:34:19] <samsam> 16 cores, nice
247: [10:34:31] <wmk> 6 cores
248: [10:34:36] <samsam> oh
249: [10:34:42] <samsam> avarage page load speed?
250: [10:34:45] <wmk> but enough
251: [10:34:51] <samsam> SS page of course
252: [10:35:07] <wmk> samsam, avarage i'd say about 500ms, depends if the partial caching is warm or not
253: [10:35:18] <wmk> www.hallstatt.net (if you want to have a look)
254: [10:35:36] <wmk> maybe average 750, but it feels a lot faster
255: [10:35:55] <wmk> funny how sensible i get when i visit other sites that are just slow
256: [10:36:10] <samsam> https://tools.pingdom.com/#!/nmuzq/www.hallstatt.net
257: [10:37:57] * cloph_away is now known as cloph
258: [10:47:25] <Shrike_Finland> Hi, where I can check all available sprite icons on SilverStripe?
259: [10:48:17] <wmk> Shrike_Finland, frontend? backend? you can of course define your own icon for e.g. modeladmin
260: [10:49:45] <Shrike_Finland> Backend: if there is a good one already available, I'd like to use it. But custom is an option also.
261: [10:49:54] <samsam> Shrike_Finland: a lot found here: /framework/images/
262: [10:50:06] <Shrike_Finland> Thanx, checking...
263: [10:51:13] <samsam> there is even a MSN icon there, don't ask me why
264: [10:51:35] <kinglozzer> lol
265: [10:51:37] <kinglozzer> retro
266: [10:51:37] <kinglozzer> :D
267: [10:51:45] * agent44 quit (Ping timeout: 250 seconds)
268: [10:52:10] <Shrike_Finland> :D
269: [10:52:24] * agent44 has joined #silverstripe
270: [11:00:14] <ss-helper> SilverStripe DataObjects as Children - http://stackoverflow.com/questions/40908629/silverstripe-dataobjects-as-children
271: [11:00:48] <samsam> ^^
272: [11:15:05] * Shrike_Finland quit (Quit: Leaving.)
273: [11:49:24] * Doniz_ has joined #silverstripe
274: [11:49:35] * Shrike_Finland has joined #silverstripe
275: [11:52:58] * Doniz quit (Ping timeout: 245 seconds)
276: [12:16:43] * Shrike_Finland quit (Quit: Leaving.)
277: [12:27:37] <cupcake> allo !
278: [12:27:55] <cupcake> is there a quick way to check if a dataobject has a relationship to a specific class?
279: [12:28:10] <cupcake> without having to loop all classes in a has_one()
280: [12:35:16] <cupcake> hello?
281: [12:46:54] <samsam> cupcake: http://api.silverstripe.org/3.4/class-DataObject.html#_getRelationClass
282: [12:46:58] <samsam> maybe that helps
283: [12:54:26] * wmk quit (Quit: Leaving)
284: [12:57:04] * lerni has joined #silverstripe
285: [13:05:19] * kinglozz_ has joined #silverstripe
286: [13:05:39] * kinglozzer quit (Ping timeout: 250 seconds)
287: [13:27:53] * Shrike_Finland has joined #silverstripe
288: [13:30:19] * cloph quit (Remote host closed the connection)
289: [13:33:16] * cloph_away has joined #silverstripe
290: [13:33:38] * cloph_away is now known as cloph
291: [13:35:22] <samsam> when you delete a Page by code SomePage::get()->delete();
292: [13:36:01] <samsam> it leaves some "residue", ie a concept page
293: [13:36:05] <samsam> any idea how to completely remove it?
294: [13:36:43] <cloph> you unpublish, delete from draft, and to really get rid of all also remove all saved versions
295: [13:39:03] <samsam> $page->deleteFromStage("Live"); $page->deleteFromStage("Stage");
296: [13:39:10] <samsam> that did it ;D
297: [13:41:28] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
298: [13:41:46] * kerozene quit (Ping timeout: 252 seconds)
299: [13:43:35] * kerozene has joined #silverstripe
300: [13:51:20] * Shrike_Finland quit (Quit: Leaving.)
301: [13:55:21] * samsam quit (Ping timeout: 260 seconds)
302: [14:19:21] * darianno has joined #silverstripe
303: [14:25:53] <cupcake> how do u add a hidden column in a report?
304: [14:26:55] * kinglozz_ is now known as kinglozzer
305: [14:55:53] * samsam has joined #silverstripe
306: [15:28:41] * samsam quit (Ping timeout: 260 seconds)
307: [15:30:19] <ss-helper> SilverStripe properly removing page by code - http://stackoverflow.com/questions/40914256/silverstripe-properly-removing-page-by-code
308: [15:49:28] * helenclarko has joined #silverstripe
309: [16:20:10] * gelignite has joined #silverstripe
310: [16:39:49] <Snowman23> Firesphere: I require voice so everyone knows I'm important ^.^
311: [17:16:30] * janneklouman-- quit (Ping timeout: 246 seconds)
312: [17:21:18] * agent44 quit (Quit: zzz)
313: [17:21:50] * kinglozzer quit ()
314: [18:12:12] * samsam has joined #silverstripe
315: [18:35:45] <samsam> is there a way to rebuild the cache like ?flush but through code?
316: [19:12:17] * lerni quit (Quit: Connection closed for inactivity)
317: [19:17:50] * janneklouman-- has joined #silverstripe
318: [19:24:56] * samsam quit (Ping timeout: 260 seconds)
319: [19:40:44] * bubaphex has joined #silverstripe
320: [19:53:35] * darianno quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
321: [20:18:45] * bubaphex quit (Quit: bubaphex)
322: [20:25:41] * bubaphex has joined #silverstripe
323: [20:30:05] * bubaphex quit (Client Quit)
324: [20:30:39] * DanaeNZ has joined #silverstripe
325: [20:35:32] * Doniz_ quit (Remote host closed the connection)
326: [20:35:49] * Doniz has joined #silverstripe
327: [20:36:21] * Doniz quit (Remote host closed the connection)
328: [20:36:41] * Doniz has joined #silverstripe
329: [20:37:09] * Doniz quit (Remote host closed the connection)
330: [20:37:24] * Doniz has joined #silverstripe
331: [20:37:57] * Doniz quit (Remote host closed the connection)
332: [20:38:15] * Doniz has joined #silverstripe
333: [20:38:45] * Doniz quit (Remote host closed the connection)
334: [20:39:05] * Doniz has joined #silverstripe
335: [20:39:33] * Doniz quit (Remote host closed the connection)
336: [20:39:50] * Doniz has joined #silverstripe
337: [20:40:21] * Doniz quit (Remote host closed the connection)
338: [20:40:37] * Doniz has joined #silverstripe
339: [20:41:09] * Doniz quit (Remote host closed the connection)
340: [20:41:25] * Doniz has joined #silverstripe
341: [20:41:57] * Doniz quit (Remote host closed the connection)
342: [20:47:50] * bubaphex has joined #silverstripe
343: [20:50:42] * Doniz has joined #silverstripe
344: [20:51:40] * Doniz_ has joined #silverstripe
345: [20:54:54] * Doniz quit (Ping timeout: 246 seconds)
346: [20:57:01] * micmania1 has joined #silverstripe
347: [20:59:14] * bubaphex quit (Quit: bubaphex)
348: [20:59:17] * janneklouman-- quit (Ping timeout: 248 seconds)
349: [21:01:11] * janneklouman-- has joined #silverstripe
350: [21:11:18] * bubaphex has joined #silverstripe
351: [21:11:28] * neomang has joined #silverstripe
352: [21:14:58] * bubaphex quit (Client Quit)
353: [21:16:25] * bubaphex has joined #silverstripe
354: [21:18:36] <neomang> If I wanted to display data on one object from an RSS feed, would it make sense to extract the wanted data, put it in an arraydata, then return that to the template to extract the elements?
355: [21:19:09] <neomang> I'm currently doing so, and it's just giving me the error the method 'fortemplate' does not exist on 'ArrayData'
356: [21:21:09] * janneklouman-- quit (Ping timeout: 246 seconds)
357: [21:22:50] * darianno has joined #silverstripe
358: [21:23:32] * janneklouman-- has joined #silverstripe
359: [21:34:59] * spronk has joined #silverstripe
360: [21:37:47] * bubaphex quit (Quit: bubaphex)
361: [21:39:12] * bubaphex has joined #silverstripe
362: [21:44:06] * micmania1 quit (Quit: micmania1)
363: [21:45:06] * micmania1 has joined #silverstripe
364: [21:45:19] <Firesphere> Makes sense to not have "ArrayData" having a template method ;)
365: [21:45:22] <Firesphere> You need to loop the data.
366: [21:48:39] <neomang> Even if there's only one element in the ArrayList?
367: [21:49:12] <Firesphere> Yep, ArrayData is an iteratable
368: [21:52:04] <neomang> http://www.sspaste.com/paste/show/58409b7ca00d9
369: [21:52:18] <neomang> I have this implemented, and still get the same error message.
370: [22:02:36] <neomang> Is there anything I'm doing wrong there?
371: [22:06:49] <DanaeNZ> Looks fine. What does your template look like?
372: [22:07:08] <DanaeNZ> You need to use $Channel, $Channel-Link, $Title etc in your template neomang
373: [22:08:50] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
374: [22:09:11] <neomang> http://www.sspaste.com/paste/show/58409f80c4db1
375: [22:09:19] <neomang> That's what my template looks like
376: [22:09:21] <neomang> at the moment
377: [22:09:30] <neomang> I've also used with and control instead of loop
378: [22:09:43] <neomang> depending on whether i was using a single ArrayData or an ArrayList
379: [22:12:42] <helenclarko> o/
380: [22:13:26] * Nightjar has joined #silverstripe
381: [22:13:44] <Firesphere> You'll always need to use loop
382: [22:13:49] <Firesphere> control is 2.4 syntax
383: [22:13:56] <Firesphere> and with is for has_one relations
384: [22:14:09] * bubaphex quit (Quit: bubaphex)
385: [22:17:13] <neomang> Yeah, I knew that control was old but still worked for certain things, but I'm glad I got that clarification on with
386: [22:27:24] <Nightjar> it only still worked in early versions of 3.0 I think.
387: [22:28:03] * bubaphex has joined #silverstripe
388: [22:29:15] * Doniz_ quit (Remote host closed the connection)
389: [22:29:58] <neomang> So does anything look wrong with my template?
390: [22:30:15] <Nightjar> I dunno, I can't see it.
391: [22:32:58] * micmania1 quit (Quit: micmania1)
392: [22:33:27] * bubaphex quit (Quit: bubaphex)
393: [22:33:33] * micmania1 has joined #silverstripe
394: [22:52:00] <spronk> bah
395: [22:52:02] <spronk> ffs APNS
396: [22:52:04] <spronk> y u break today
397: [22:52:37] <Nightjar> haha A PNS
398: [22:52:43] <spronk> lulz
399: [22:54:38] * trash_ has joined #silverstripe
400: [22:55:02] * janneklouman-- quit (Ping timeout: 268 seconds)
401: [22:59:41] <spronk> YUSUSS
402: [22:59:43] <spronk> ITS WERKING
403: [22:59:45] <spronk> https://cdn.meme.am/cache/instances/folder603/52823603.jpg
404: [23:00:01] * ss-helper quit (Remote host closed the connection)
405: [23:00:16] * ss-helper has joined #silverstripe
406: [23:08:52] * bubaphex has joined #silverstripe
407: [23:26:35] * bubaphex quit (Quit: bubaphex)
408: [23:32:47] * darianno quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
409: [23:34:48] * darianno has joined #silverstripe
410: [23:49:25] * micmania1 quit (Quit: micmania1)

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