#silverstripe IRC Log

IRC log for 24 July 2016

All timestamps are in UTC.

1: [00:00:02] * ss-helper quit (Remote host closed the connection)
2: [00:00:19] * ss-helper has joined #silverstripe
3: [00:00:47] * janneklouman-- has joined #silverstripe
4: [00:05:42] * janneklouman-- quit (Ping timeout: 260 seconds)
5: [00:24:41] * janneklouman-- has joined #silverstripe
6: [00:28:24] * pweh has joined #silverstripe
7: [00:29:52] * janneklouman-- quit (Ping timeout: 264 seconds)
8: [00:36:48] * janneklouman-- has joined #silverstripe
9: [00:40:01] * muskie9 has joined #silverstripe
10: [00:41:22] * janneklouman-- quit (Ping timeout: 258 seconds)
11: [00:49:11] * janneklouman-- has joined #silverstripe
12: [00:53:39] * janneklouman-- quit (Ping timeout: 250 seconds)
13: [01:12:59] * janneklouman-- has joined #silverstripe
14: [01:17:31] * janneklouman-- quit (Ping timeout: 240 seconds)
15: [01:17:49] * pweh quit (Ping timeout: 252 seconds)
16: [01:37:11] * janneklouman-- has joined #silverstripe
17: [01:41:40] * janneklouman-- quit (Ping timeout: 244 seconds)
18: [01:49:17] * janneklouman-- has joined #silverstripe
19: [01:54:09] * janneklouman-- quit (Ping timeout: 258 seconds)
20: [02:01:40] * janneklouman-- has joined #silverstripe
21: [02:06:01] * janneklouman-- quit (Ping timeout: 250 seconds)
22: [02:25:31] * janneklouman-- has joined #silverstripe
23: [02:30:36] * janneklouman-- quit (Ping timeout: 276 seconds)
24: [02:37:52] * janneklouman-- has joined #silverstripe
25: [02:42:24] * janneklouman-- quit (Ping timeout: 260 seconds)
26: [02:49:38] * janneklouman-- has joined #silverstripe
27: [02:53:59] * muskie9 quit (Quit: My Mac has gone to sleep. ZZZzzz…)
28: [02:54:37] * janneklouman-- quit (Ping timeout: 252 seconds)
29: [03:13:49] * janneklouman-- has joined #silverstripe
30: [03:18:28] * janneklouman-- quit (Ping timeout: 264 seconds)
31: [03:20:24] * muskie9 has joined #silverstripe
32: [03:25:55] * janneklouman-- has joined #silverstripe
33: [03:30:11] * janneklouman-- quit (Ping timeout: 240 seconds)
34: [03:31:26] * muskie9 quit (Quit: My Mac has gone to sleep. ZZZzzz…)
35: [03:50:06] * janneklouman-- has joined #silverstripe
36: [03:54:34] * janneklouman-- quit (Ping timeout: 240 seconds)
37: [04:14:12] * janneklouman-- has joined #silverstripe
38: [04:18:52] * janneklouman-- quit (Ping timeout: 260 seconds)
39: [04:26:19] * janneklouman-- has joined #silverstripe
40: [04:30:51] * janneklouman-- quit (Ping timeout: 240 seconds)
41: [04:50:26] * janneklouman-- has joined #silverstripe
42: [04:55:03] * janneklouman-- quit (Ping timeout: 244 seconds)
43: [05:01:58] * Hailwood quit (Remote host closed the connection)
44: [05:26:41] * janneklouman-- has joined #silverstripe
45: [05:27:09] * pweh has joined #silverstripe
46: [05:31:04] * janneklouman-- quit (Ping timeout: 244 seconds)
47: [05:38:48] * janneklouman-- has joined #silverstripe
48: [05:43:08] * janneklouman-- quit (Ping timeout: 244 seconds)
49: [06:02:56] * janneklouman-- has joined #silverstripe
50: [06:07:25] * janneklouman-- quit (Ping timeout: 244 seconds)
51: [06:15:19] * janneklouman-- has joined #silverstripe
52: [06:15:52] * hewp has joined #silverstripe
53: [06:19:13] * pweh quit (Ping timeout: 252 seconds)
54: [06:19:38] * janneklouman-- quit (Ping timeout: 244 seconds)
55: [06:22:17] * TombL has joined #silverstripe
56: [06:39:12] * janneklouman-- has joined #silverstripe
57: [06:43:36] * janneklouman-- quit (Ping timeout: 250 seconds)
58: [07:03:17] * janneklouman-- has joined #silverstripe
59: [07:08:16] * janneklouman-- quit (Ping timeout: 264 seconds)
60: [07:15:20] * Uitto has joined #silverstripe
61: [07:54:22] * hewp quit (Ping timeout: 252 seconds)
62: [08:24:28] * pweh has joined #silverstripe
63: [09:07:45] * kerozene quit (Ping timeout: 276 seconds)
64: [09:08:10] * keroberos has joined #silverstripe
65: [09:28:40] * gelignite has joined #silverstripe
66: [10:03:26] * janneklouman-- has joined #silverstripe
67: [12:34:12] * pweh quit (Read error: Connection reset by peer)
68: [20:53:22] * Stomach has joined #silverstripe
69: [21:01:48] * vitaly_ has joined #silverstripe
70: [21:05:04] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
71: [21:05:17] * Hailwood has joined #silverstripe
72: [21:12:10] * CodeTrap has joined #silverstripe
73: [21:16:10] * Nightjar has joined #silverstripe
74: [21:22:17] * Stomach quit (Quit: zzz)
75: [21:24:17] * Stomach has joined #silverstripe
76: [21:25:07] * micmania1 has joined #silverstripe
77: [21:33:29] * DanaeNZ has joined #silverstripe
78: [21:43:46] * Nightjar quit (Ping timeout: 252 seconds)
79: [21:45:59] * micmania1 quit (Quit: micmania1)
80: [21:54:42] * micmania1 has joined #silverstripe
81: [21:56:00] * DanaeNZ quit (Remote host closed the connection)
82: [22:14:33] * zippy has joined #silverstripe
83: [22:15:31] <zippy> Hi
84: [22:20:31] * Nightjar has joined #silverstripe
85: [22:23:51] * Azure quit (Ping timeout: 240 seconds)
86: [22:26:50] <MichalKleiner> Hi
87: [22:29:44] * Stomach quit (Quit: zzz)
88: [22:30:30] * Stomach has joined #silverstripe
89: [22:32:25] <zippy> Hi :)
90: [22:33:04] <zippy> Here is a funny question
91: [22:33:18] <zippy> in my template, I want to repeat a block 4 times..
92: [22:33:20] <zippy> ie
93: [22:33:40] <zippy> <?php foreach(range(0,3) as $i): do something <? endforeach; ?>
94: [22:34:39] <MichalKleiner> yep
95: [22:36:42] * DanaeNZ has joined #silverstripe
96: [22:39:29] <zippy> how can I do that. I think I am going to need a controller function
97: [22:43:48] <Nightjar> zippy, yeh and nah
98: [22:44:13] <Nightjar> mebbe
99: [22:44:14] <Nightjar> idk
100: [22:49:04] <Nightjar> zippy, by 'repeat a block'... is it in a list?
101: [22:49:21] <Nightjar> <% loop $DatDataList.limit(4) %>
102: [22:49:57] <zippy> Not a data list. Want to show either 1 or 4 name fields on a form based on a condition. But I think I will just set the fields in the $field list of the form might be best
103: [22:50:05] <Nightjar> if not, then yeh, controller function imma say. Or just 4x <% include DatBlock %> in the template :P
104: [22:50:31] <Nightjar> there's that DisplayLogic module
105: [22:50:36] <Nightjar> might help0
106: [22:50:37] <Nightjar> idk
107: [22:50:42] <Nightjar> look it up
108: [22:59:21] <Hailwood> Morning folks
109: [22:59:22] * janneklouman-- quit (Read error: Connection reset by peer)
110: [23:06:01] <Nightjar> hihi
111: [23:06:45] <Hailwood> Hey Nightjar, have you used the font awesome icon pickers in SS before?
112: [23:09:35] * Azure has joined #silverstripe
113: [23:11:09] <zippy> anyone use a good "flash" messages module
114: [23:11:17] <zippy> setting a message which shows on other pages
115: [23:12:18] <zippy> man I can't wait for PSR-2... I always over the show with my $Member and $member
116: [23:13:03] * Tron has joined #silverstripe
117: [23:13:58] * Azure quit (Ping timeout: 252 seconds)
118: [23:13:59] <Tron> Hi guys, just wondering if cwp/silverstripe has some sort of "button" in the cms for reindexing solr?
119: [23:16:21] * Azure has joined #silverstripe
120: [23:23:33] <Hailwood> Any comments/suggestions based on this gif before I open source it? http://imgur.com/gallery/2BO3x
121: [23:29:28] <zippy> thats pretty cool
122: [23:33:04] <Hailwood> zippy, I got annoyed with the current offerings that just show that out-of-place looking bootstrap style popup and then just put the icon name (e.g. fa-money) in the field
123: [23:34:43] <Hailwood> The package itself is also self maintaining, unlike the other packages it doesn't contain a list of the icons, instead you specify the version and it parses the yml provided by fontawesome (e.g. if you say you want 4.6.3 it reads https://raw.githubusercontent.com/FortAwesome/Font-Awesome/v4.6.3/src/icons.yml)
124: [23:34:55] * spronk has joined #silverstripe
125: [23:35:31] <Hailwood> Then it includes the relevant assets from the cdn (on the frontend of your website as well if you set the config option)
126: [23:36:13] * Hailwood has left #silverstripe
127: [23:36:23] * Hailwood has joined #silverstripe
128: [23:37:01] <zippy> nice :)
129: [23:37:19] <zippy> I wish FA was ligher than what it is, only pulling in the couple of icons you use
130: [23:37:38] <zippy> I know there are some services out there, but it feels quiet tedious
131: [23:38:32] <Hailwood> Yeah I know what you mean, that's why I use CDN's idea being people should have it cached since it's used everywhere!
132: [23:43:44] <Stomach> self plug: https://github.com/stevie-mayhew/silverstripe-svg
133: [23:43:45] <Stomach> :D
134: [23:45:59] <DanaeNZ> wow what a monday
135: [23:47:20] <Stomach> whats up
136: [23:47:52] <Hailwood> Stomach, I've looked at that a few times, I was wondering if there was a way to apply it as some form of extension over image e.g. an ImageOrSVG DataObject or something that would detect if it was an Image or an SVG and do the appropriate thing?
137: [23:48:12] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
138: [23:48:16] <Stomach> https://github.com/micschk/silverstripe-svg-images/
139: [23:49:37] <Hailwood> Too good
140: [23:55:07] <Nightjar> Tron, can be a long thing, so if there is I'd be a queued jobs thing.
141: [23:55:20] * Tron quit (Ping timeout: 250 seconds)
142: [23:55:28] <Nightjar> I don't think so, but I'm not a cwp guy so don't really know.
143: [23:56:30] <Nightjar> Hailwood, seems cool, but why pages need icons?
144: [23:56:53] <Nightjar> I mean, different icons - loses relation between page type & icon
145: [23:57:29] <MichalKleiner> Tron, no button, but there's a dev task and on CWP it creates a queued job
146: [23:57:31] <Nightjar> I thought they were for helping content authors visually distinguish between types, having multiple icons disassociates that.
147: [23:57:47] <Nightjar> MichalKleiner, he timed out. Can't see.
148: [23:57:55] <Nightjar> but good to know :>
149: [23:58:03] <Nightjar> I thought that was the caswe
150: [23:58:05] <Nightjar> case*
151: [23:58:16] <MichalKleiner> recently CWP's solr was quite shoit
152: [23:58:33] <MichalKleiner> timing out, not indexing even content pages after save.. something going on there
153: [23:59:00] <MichalKleiner> best to raise a support ticket if you're experiencing something similar
154: [23:59:46] <Hailwood> Nightjar, Oh "Page Icon" in this case is just the field name, I haven't actually used in there, for for things like "call to action" blocks that have an icon it's useful there.

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